V-antena and Tanimoto's page

谷本の備忘録・雑記帳・work

>

カテゴリー: Troubles errors

CATEGORY ARCHIVE

WordPressで画面を遷移しようとした時に、「サイトに重大なエラーがありました」と表示されたので、原因を調べる際に行った事。

対応方針:デバッグモードにして問題個所を調べた。

sudo nano /var/www/html/wordpress/wp-config.php
にて、configファイル内容を変更してデバッグモードにして調べた。

変更前: define( 'WP_DEBUG', false );

変更後: define( 'WP_DEBUG', true );

恵安の2inタブレット(32GB)でのwindows10 update

恵安の2inタブレット(KBM100K windows10 64bit emmc 32GB)を使っているが、容量が少なくてどうしても大型のwindows updateが出来なかった。それで、windows10のクリーンインストールしたところwifi用のデバイスBroadcom 802.11ac WDI SDIO Adapterがcode 10で開始しない。
 いろいろネットで調べたがなかなかわからなかったが、最終的に対処できたので、記録として残す。

I have a Keian's tablet PC KBM100K (windows 10 64bit ,emmc 32GB). And it had encounterd a difficulty of majar windows update by shortage of storage capacity of C drive. So I did clean installtion of windows 10 into my tablet.

But unfortunately a code 10 error occured at the wifi device driver for Broadcom 802.11ac WDI SDIO Adapter.

After many struggles, I could fix that problem. So Irecord the measures.

1.タブレット
  KEIAN KBM100K windows10 64bit 64bit emmc 32GB

  1. My tablet PC
    KEIAN KBM100K windows10 64bit 64bit emmc 32GB
  1. トラブルの内容
    Broadcom 802.11ac WDI SDIO Adapte (code 10)
    ※This Device Cannot start (Code 10)
  1. Description of the trouble.
    Broadcom 802.11ac WDI SDIO Adapte (code 10)
    ※This Device Cannot start (Code 10)
  1. 対処
    3.1 Fix of problem 3.1 デバイスドライバーを1.596.12.1にするMicrosoft Update カタログ(*1)から Broadcom 802.11ac WDI SDIO Adapterで検索し、 「Windows 10 and Later Servicing Drivers for testing, Windows 10 Anniversary Update and Later Servicing Drivers 」 バージョン 1.596.12.1 をダウンロードし、デバイスマネージャーを 使ってドライバを更新する。 (*1) https://www.catalog.update.microsoft.com/Home.aspx

3.1 Update the device driver to version 1.596.12.1
Access the Microsoft Update catalog(*1) and search the corresponding drivers with 'Broadcom 802.11ac WDI SDIO Adapter'. Then download the driver ( Windows 10 and Later Servicing Drivers for testing, Windows 10 Anniversary Update and Later Servicing Drivers) version 1.596.12.1 and update the device driver with the downloaded driver by using Device Manager.
(*1) https://www.catalog.update.microsoft.com/Home.aspx

3.2 4345r6nvram.txtを入手し、c:\windows/system32/drivers フォルダーに入れ、windowsを再起動する
もしかしたら、元のマシンにあったかも知れないが、クリーンインストール後であったので、私の場合、恵安のwebサイトから入手した。

https://www.keian.co.jp/support/download/ にアクセスし、windows製品, KBM100K, ドライバーを選択し、KBM100K、KBM85B WiFi,Bluetooth ドライバーをダウンロードすると、KBM100K-KBM85B-WIFI-BT-driver.zip が、得られるので、その中にある 4345r6nvram.txt をコピペで c:\windows/system32/drivers に入れる事で対処した。 再起動したらwifiが繋がるようになった

3.2 Get 4345r6nvram.txt, insert it into the c:\windows/system32/drivers folder and restart the windows.

I forgot to check the file in the tablet. So I got it from KEIAN's web site.
Access https://www.keian.co.jp/support/download/ and select windows製品, KBM100K, ドライバー.
(Only Japanese languaage available )
Then download KBM100K、KBM85B WiFi,Bluetooth ドライバー.
At this point, You got the KBM100K-KBM85B-WIFI-BT-driver.zip file, and You can take the '4345r6nvram.txt' file from the zip.file.

Finally insert it into the 'c:\windows/system32/drivers' folder, and restart the windows.
In my case, the my tablet works well. Success!!

  1. 参考 windows 10のクリーンインストール (USBメモリを使用)
    4. for ref. Clean installation of windows 10 (by USB memory)

4.1 タブレット中のデバイスドライバーを退避する。これは、デバイスドライバーが簡単に手に入らないことや、デバイスとドライバーの対応付けが難しいことから行う。

'4.1 Save device drivers inside of the tablet PC in backup. This will be helpful for recovery the device drivers,
because it might be difficult that these drivers will be got from another places.

   例: windowsにあるdismコマンドで退避
   e.g. Save them by using windows' 'dism' command.

   mkdir D:\DriversBackup
   dism /online /export-driver /destination:"D:\DriversBackup"

   ※ https://news.mynavi.jp/article/win10tips-137/ の記事を参考にした。

'4.2 windowsをmicrosoftのサイト(*2)の手順通りにツールを使ってクリーンインストールする。なお、この時、購入時と構成が変わっているとproduct keyが必要になったりするので、SDHCカードを入れてあれば、抜いて行う。
(*2) https://www.microsoft.com/ja-jp/software-download/windows10
このツールを使用して、別のPCにwindows 10 をインストールするためにインストールメディアを作成するのところの手順に従う。

'4.2 Clean installation of windows 10 according to the instructions on the microsoft website(*2). You may remove a SDHC card to prevent a mismatch between the original configuration and the current configuration, especially storage configration.
(*2) https://www.microsoft.com/ja-jp/software-download/windows10
follow the part of "Using the tool to create installation media to install Windows 10 on a different PC".

'4.3 windows をインストールし起動後、4.1で退避したドラバーを、デバイスマネージャーからインストールする。 デバイスマネージャーから、エラーになっているデバイスのところをデバイスマネージャーの更新を使ってインストールする。Broadcom 802.11ac WDI SDIO Adapter のところともう一ケ所はエラーになるかも知れない。

'4.3 After restart the installed Windows 10, restore the device drivers from the media that you have saved by 4.1.
Restore the drivers on error marked drivers by the device manager.
You may encouter the error on Broadcom 802.11ac WDI SDIO Adpter and another one error. You can fix these with 3.1 and 3.2

以上は、終わったあと記憶に基づいて記述しているので、細部の表現等で正確でない部分があるかもしれません。 そこは容赦ねがいます。

yy_buffer_state, yy_current_bufferやyy_scan_bufferなどは、flexの第3セクションでしか使えないとの事なので、これらを扱う関数をflexの第3セクションで定義し、他のところからこの関数を呼び出しする様にしたところエラーは消えた。

ubuntu上のcheeseで、デバイスが見つかりませんのエラーは

sudo apt-get install libsbigudrv2 libsbigudrv0
sudo reboot


したら、解決した。

下記の記事の中の対策を試していたら、自分の場合は上記だった。

https://askubuntu.com/questions/461657/integrated-webcam-not-detected-after-update-to-14-04

s I had encountered errors when I tried to install cupy,on Ubuntu 18.04

I upgrade cudnn. Then I succeeded installation of cupy.

The following is a notes on the procedure.

  1. after uninstallation of existing pip, reinstall pip

curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
python3 get-pip.py -user -vv
python get-pip.py -user -vv

  1. install a recent cuda-toolkit

2-1. download the cuda toolkit from https://developer.nvidia.com/cuda-toolkit-archive

2.2 install cuda-toolkit
sudo dpkg -i cuda-repo-ubuntu1804-10-0-local-10.0.130-410.48_1.0-1_amd64.deb
sudo apt-key add /var/cuda-repo-10-0-local-10.0.130-410.48/7fa2af80.pub
sudo apt-get update

sudo apt-get install cuda

  1. install cudnn
    3-1 download packages for ubuntu18.04 from https://developer.nvidia.com/rdp/cudn
    n-download

3-2. install cudnn packages
sudo dpkg -i libcudnn7_7.3.1.20-1+cuda10.0_amd64.deb
sudo dpkg -i libcudnn7-dev_7.3.1.20-1+cuda10.0_amd64.deb
sudo dpkg -i libcudnn7-doc_7.3.1.20-1+cuda10.0_amd64.deb

3-3. replace the old cuda path with cuda-10.0 path
nano ~/.bashrc
' NVIDIA CUDA Toolkit
export PATH=/usr/local/cuda-10.0/bin:$PATH
export LD_LIBRARY_PATH=/usr/local/cuda-10.0/lib64:$LD_LIBRARY_PATH

source ~/.bashrc
echo $PATH |grep cuda

  1. install cupy

pip3 install -user cupy

python3
import cupy
import cupy.cudnn

failed.
modulenotfounderror: no module named ‘cupy.cudnn’

so I did the following
pip3 uninstall cupy

set $CUDA_PATH as /usr/local/cuda

pip3 -v install -user cupy -no-cache-dir

python3
import cupy
import cupy.cudnn

No error.

As I had encountered errors when I tried to install cupy,
I upgrade cudnn. Then I succeeded installation of cupy.

The following is a notes on the procedure.

  1. after uninstallation of existing pip, reinstall pip

curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
python3 get-pip.py -user -vv
python get-pip.py -user -vv

  1. install a recent cuda-toolkit

2-1. download the cuda toolkit from https://developer.nvidia.com/cuda-toolkit-archive

2.2 install cuda-toolkit
sudo dpkg -i cuda-repo-ubuntu1804-10-0-local-10.0.130-410.48_1.0-1_amd64.deb
sudo apt-key add /var/cuda-repo-10-0-local-10.0.130-410.48/7fa2af80.pub
sudo apt-get update
sudo apt-get install cuda

  1. install cudnn

3-1 download packages for ubuntu18.04 from https://developer.nvidia.com/rdp/cudnn-download
3-2. install cudnn packages
sudo dpkg -i libcudnn7_7.3.1.20-1+cuda10.0_amd64.deb
sudo dpkg -i libcudnn7-dev_7.3.1.20-1+cuda10.0_amd64.deb
sudo dpkg -i libcudnn7-doc_7.3.1.20-1+cuda10.0_amd64.deb

3-3. replace the old cuda path with cuda-10.0 path
nano ~/.bashrc

NVIDIA CUDA Toolkit

export PATH=/usr/local/cuda/bin:$PATH
export LD_LIBRARY_PATH=/usr/local/cuda/lib64:$LD_LIBRARY_PATH
export CPATH=/usr/local/cuda/include:$CPATH

source ~/.bashrc
echo $PATH |grep cuda

  1. install cupy

pip3 install -user cupy

python3
import cupy
import cupy.cudnn

failed.
modulenotfounderror: no module named ‘cupy.cudnn’

I don’t know why CPATH didn’t work well, but I did the following

pip3 uninstall cupy

set $CUDA_PATH as /usr/local/cuda
(export CUDA_PATH=/usr/local/cuda:$CUDA_PATH on .bashrc)

pip3 -v install -user cupy -no-cache-dir

python3
import cupy
import cupy.cudnn

No error.

V-antena and Tanimoto's page

あなたはIPv4でアクセスしています