最新版はこちら。 突っ込みは各日付の BBS エントリのほか、 メール (nakano@st.seikei.ac.jp) や フォーム からどうぞ。 なおスパム除けのため、BBS 機能には 緩い認証を入れて います。 検索エンジンから来た方は、エンジンの方のキャッシュを見るか、 下の簡易検索を試してみてください。
|
Namazu for hns による簡易全文検索 詳しくは 詳細指定/ヘルプを参照して下さい |
||||||||||||||||||||||||||||||||||||||||||||||
PCIC=yenta_socketになってるようだったら
PCIC=i82365と書き変えては?と教えていただき、実行して成功。 ありがとうございます。
The greatest mistake you can make in life is to be continually fearing you will make one
--Elbert Hubbard (1856-1915)
A life spent in making mistakes is not only more honorable but more useful than a life spent doing nothing.
--George Barnard Shaw (1856-1950)
Netinst
Here are some special net install CDs of boot-floppies 3.0.23 for i386. These CDs include the kernel, rootfs, drivers and messages in 18 languages. Once you have configured your hardware the rest of the install can be completed over the network. Note: don't use CD-R media for a one-time install, use CD-RW.
The greatest problem in communication is the illusion that it has been accomplished.
--George Bernard Shaw (1856-1950)
A lot of disappointed people have been left standing on the street corner waiting for the bus marked Perfection.
--Donald Kennedy (1931-)
The 50-50-90 rule: Any time you have a 50-50 chance of getting something right, there's a 90 percent probability you'll get it wrong.
apt-get install lm-sensors lm-sensors-source cd /usr/src tar zxf lm-sensors.tar.gzして、カーネルの make menuconfig で Character Devices -> I2C 以下のオプションを全部 M に。
make-kpkg --revision tiger.4 kernel-image modules-image dpkg -i kernel-image-2.4.18_tiger.4_i386.deb \ lm-sensors-2.4.18_2.6.3-5+tiger.4_i386.debして reboot。
Driver `w83781d' (should be inserted): Detects correctly: * Bus `SMBus AMD7X6 adapter at 80e0' (Non-I2C SMBus adapter) Busdriver `i2c-amd756', I2C address 0x2d (and 0x48 0x49) Chip `Winbond W83782D' (confidence: 8) Driver `lm75' (may not be inserted): Misdetects: * Bus `SMBus AMD7X6 adapter at 80e0' (Non-I2C SMBus adapter) Busdriver `i2c-amd756', I2C address 0x48 Chip `National Semiconductor LM75' (confidence: 3) * Bus `SMBus AMD7X6 adapter at 80e0' (Non-I2C SMBus adapter) Busdriver `i2c-amd756', I2C address 0x49 Chip `National Semiconductor LM75' (confidence: 3) Driver `eeprom' (should be inserted): Detects correctly: * Bus `SMBus AMD7X6 adapter at 80e0' (Non-I2C SMBus adapter) Busdriver `i2c-amd756', I2C address 0x50 Chip `Serial EEPROM (PC-100 DIMM)' (confidence: 8) * Bus `SMBus AMD7X6 adapter at 80e0' (Non-I2C SMBus adapter) Busdriver `i2c-amd756', I2C address 0x54 Chip `Serial EEPROM (PC-100 DIMM)' (confidence: 1)となる。引き続き
To load everything that is needed, edit /etc/modules and add the modules listed here to it: #----cut here---- # I2C adapter drivers i2c-amd756 # modprobe unknown adapter Philips Parallel port adapter using Bit-shift algorithm # I2C chip drivers w83781d eeprom #----cut here---- Then, run /etc/init.d/modutils To make the sensors modules behave correctly, add these lines to /etc/modutils/local and run update-modules: #----cut here---- # I2C module options alias char-major-89 i2c-dev #----cut here----のように表示される。
apt-get install i2c-source cd /usr/src tar zxf i2c.tar.gzして、make menuconfig でカーネル側の i2c サポートは殺す *1 。 もう一回 rebuild して再起動。
modprobe w83781d ignore_range=0,0x00,0x28,0,0x2a,0x7f init=0などというパラメータを追加すれば、w83781d も無事に入る。 このときの dmesg は
i2c-core.o: i2c core module version 2.6.2 (20011118) i2c-amd756.o version 2.6.3 (20020322) i2c-core.o: adapter SMBus AMD7X6 adapter at 80e0 registered as adapter 0. i2c-amd756.o: AMD756/766 bus detected and initialized i2c-proc.o version 2.6.2 (20011118) w83781d.o version 2.6.3 (20020322) i2c-core.o: driver W83781D sensor driver registered. eeprom.o version 2.6.3 (20020322) i2c-core.o: driver EEPROM READER registered. i2c-core.o: client [EEPROM chip] registered to adapter [SMBus AMD7X6 adapter at 80e0](pos. 0). i2c-core.o: client [EEPROM chip] registered to adapter [SMBus AMD7X6 adapter at 80e0](pos. 1).というかんじ。この状態で lsmod すると
Module Size Used by Not tainted eeprom 3520 0 (unused) w83781d 18784 0 (unused) i2c-proc 6368 0 [eeprom w83781d] i2c-amd756 3236 0 (unused) i2c-core 13480 0 [eeprom w83781d i2c-proc i2c-amd756]で、 sensors -s ; sensors すると
eeprom-i2c-0-50 Adapter: SMBus AMD7X6 adapter at 80e0 Algorithm: Non-I2C SMBus adapter eeprom-i2c-0-54 Adapter: SMBus AMD7X6 adapter at 80e0 Algorithm: Non-I2C SMBus adapterとなる。ふむぅ。
# apt-get isntall lm-sensors lm-sensors-source i2c-source # cd /usr/src # tar zxf lm-sensors.tar.gz # tar zxf i2c.tar.gz # cd /usr/src/kernel-source-2.4.18 # make-kpkg modules_image # cd .. # dpkg -i i2c-2.4.18*.deb lm-sensors-2.4.18*.deb # depmod -a # sensors-detect [←以下はこの表示を見て] (/etc/modutils/local 編集) # update-modules # modprobe i2c-piix4 # modprobe lm78までが作業。結果。
% sensors lm79-i2c-0-2d Adapter: SMBus PIIX4 adapter at 5000 Algorithm: Non-I2C SMBus adapter VCore 1: +2.01 V (min = +1.90 V, max = +2.09 V) VCore 2: +1.48 V (min = +1.90 V, max = +2.09 V) ALARM +3.3V: +3.26 V (min = +3.13 V, max = +3.45 V) +5V: +5.11 V (min = +4.72 V, max = +5.24 V) +12V: +11.40 V (min = +11.36 V, max = +12.58 V) -12V: -11.82 V (min = -12.55 V, max = -11.33 V) -5V: -4.98 V (min = -5.24 V, max = -4.74 V) fan1: 2743 RPM (min = 3000 RPM, div = 2) ALARM fan2: 0 RPM (min = 3000 RPM, div = 2) ALARM fan3: 3835 RPM (min = 3000 RPM, div = 2) temp: +35.0庵 (limit = +60庵, hysteresis = +50庵) vid: +2.00 V eeprom-i2c-0-50 Adapter: SMBus PIIX4 adapter at 5000 Algorithm: Non-I2C SMBus adapter Memory type: SDRAM DIMM SPD SDRAM Size (MB): 128 eeprom-i2c-0-51 Adapter: SMBus PIIX4 adapter at 5000 Algorithm: Non-I2C SMBus adapter Memory type: SDRAM DIMM SPD SDRAM Size (MB): 128
Driver `w83781d' (should be inserted but causes problems): Detects correctly: * Bus `SMBus AMD7X6 adapter at 80e0' (Non-I2C SMBus adapter) Busdriver `i2c-amd756', I2C address 0x2c (and 0x48 0x49) Chip `Winbond W83627HF' (confidence: 8) Misdetects: * Bus `SMBus AMD7X6 adapter at 80e0' (Non-I2C SMBus adapter) Busdriver `i2c-amd756', I2C address 0x2d (and 0x48 0x49) Chip `Winbond W83782D' (confidence: 8) Driver `lm75' (may not be inserted): Misdetects: * Bus `SMBus AMD7X6 adapter at 80e0' (Non-I2C SMBus adapter) Busdriver `i2c-amd756', I2C address 0x48 Chip `National Semiconductor LM75' (confidence: 3) * Bus `SMBus AMD7X6 adapter at 80e0' (Non-I2C SMBus adapter) Busdriver `i2c-amd756', I2C address 0x49 Chip `National Semiconductor LM75' (confidence: 3) Driver `eeprom' (should be inserted): Detects correctly: * Bus `SMBus AMD7X6 adapter at 80e0' (Non-I2C SMBus adapter) Busdriver `i2c-amd756', I2C address 0x50 Chip `Serial EEPROM (PC-100 DIMM)' (confidence: 8) * Bus `SMBus AMD7X6 adapter at 80e0' (Non-I2C SMBus adapter) Busdriver `i2c-amd756', I2C address 0x54 Chip `Serial EEPROM (PC-100 DIMM)' (confidence: 1)のように探索結果がちょっと変わった。 しかし option なしで modprobe w83781d するとやっぱ落ちる。
modprobe w83781d ignore_range=0,0x00,0x2c,0,0x2e,0x7f init=0してみたところ、
% sensors w83782d-i2c-0-2d Adapter: SMBus AMD7X6 adapter at 80e0 Algorithm: Non-I2C SMBus adapter VCore 1: +1.74 V (min = +1.64 V, max = +2.04 V) VCore 2: +2.08 V (min = +1.64 V, max = +2.04 V) ALARM +3.3V: +1.53 V (min = +2.81 V, max = +3.79 V) +5V: +4.84 V (min = +4.50 V, max = +5.48 V) +12V: +4.71 V (min = +10.79 V, max = +13.11 V) -12V: -2.01 V (min = -13.21 V, max = -10.90 V) -5V: +2.71 V (min = -5.51 V, max = -4.51 V) V5SB: +4.27 V (min = +4.50 V, max = +5.48 V) VBat: +3.29 V (min = +2.70 V, max = +3.29 V) fan1: 0 RPM (min = 3000 RPM, div = 2) fan2: 0 RPM (min = 3000 RPM, div = 2) fan3: 2860 RPM (min = 3000 RPM, div = 2) temp1: +78庵 (limit = +60庵, hysteresis = +50庵) sensor = thermistor temp2: +77.5庵 (limit = +80庵, hysteresis = +75庵) sensor = thermistor temp3: +76.0庵 (limit = +80庵, hysteresis = +75庵) sensor = thermistor vid: +1.85 V alarms: beep_enable: Sound alarm enabledのように無事表示された。
* init=[0,1] (default 1) Use 'init=0' to bypass initializing the chip. Try this if your computer crashes when you load the module.ということらしい。 ignore_range はハングアップに関係ないみたいだ。 あほな回り道をした。
W8378* PROBLEMS ----------------- Known problems: - Some chips are misidentified. This is caused by the chip having the wrong WCHIPID register value, so there is no fix. The workaround is to use the force_CHIP parameter. (modprobe w83781d force_CHIP=BUS,0x2d where CHIP is the chip name and BUS is your i2c bus number - cat /proc/bus/i2c to see a list of bus numbers)ということのようなので、 最初の sensors-detect の結果 を見て
modprobe w83781d force_w83627hf=0,0x2c init=0で入れてみた。すると
% sensors w83627hf-i2c-0-2c Adapter: SMBus AMD7X6 adapter at 80e0 Algorithm: Non-I2C SMBus adapter VCore 1: +1.72 V (min = +1.64 V, max = +2.04 V) ALARM VCore 2: +1.72 V (min = +1.64 V, max = +2.04 V) ALARM +3.3V: +3.23 V (min = +2.81 V, max = +3.79 V) +5V: +4.86 V (min = +4.50 V, max = +5.48 V) +12V: +9.42 V (min = +10.79 V, max = +13.11 V) ALARM -12V: -12.39 V (min = -13.21 V, max = -10.90 V) -5V: -0.05 V (min = -5.51 V, max = -4.51 V) ALARM V5SB: +5.43 V (min = +4.50 V, max = +5.48 V) VBat: +3.23 V (min = +2.70 V, max = +3.29 V) fan1: 4655 RPM (min = 3000 RPM, div = 2) fan2: 4720 RPM (min = 3000 RPM, div = 2) fan3: 0 RPM (min = 3000 RPM, div = 2) ALARM temp1: +77庵 (limit = +60庵, hysteresis = +50庵) sensor = thermistor ALARM temp2: +78.5庵 (limit = +80庵, hysteresis = +75庵) sensor = thermistor temp3: +77.0庵 (limit = +80庵, hysteresis = +75庵) sensor = thermistor vid: +1.85 V alarms: beep_enable: Sound alarm enabledという感じで、電圧表示もまともになったっぽい。 いや、まだ -5V がおかしいか。
People learn from their failures. Seldom do they learn anything from success.
--Harold Geneen (1910-97)
I don't know the key to success, but the key to failure is trying to please everybody.
-- Bill Cosby (1937-)