Ticket #2364 (closed defect: invalid)
i2c-dev lines in modprobe.conf now trigger WARNING
| Reported by: | ticket | Owned by: | khali |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | misc | Version: | |
| Keywords: | Cc: |
Description
Tyan S2466 mobo. Somewhere between kernels 2.6.19.3 and 2.6.24.7 a major change in i2c took place, such that 2 lines that were needed in modprobe.conf before are now ignored. Older kernel's modprobe.conf:
alias char-major-89 i2c-dev options w83781d force_w83782d=0,0x2d force_subclients=0,0x2d,0x4c,0x4d ignore=0,0x2c init=0 alias eth0 3c59x blacklist audio blacklist snd-usb-audio
Newer kernel's:
alias char-major-89 i2c-dev options w83781d force_w83782d=0,0x2d force_subclients=0,0x2d,0x48,0x49 alias eth0 3c59x install ide-controller /sbin/modprobe amd74xx; /bin/true alias pci:v000010B7d00009200sv000010F1sd00002466bc02sc00i00 3c59x blacklist audio blacklist snd-usb-audio
On the newer kernel there are warnings in /var/log/messages:
Nov 18 11:11:17 monkey01 modprobe: WARNING: /etc/modprobe.conf line 1: ignoring bad line starting with 'alias' Nov 18 11:11:17 monkey01 modprobe: WARNING: /etc/modprobe.conf line 2: ignoring bad line starting with 'i2c-dev'
and dmesg shows: i2c-adapter i2c-0: Client creation failed at 0x2d (-16)
The modules are slightly different too. New:
i2c_amd756 6340 0 i2c_core 19360 3 eeprom,w83781d,i2c_amd756
Old:
i2c_isa 5696 2 w83627hf,w83781d i2c_amd756 7620 0 i2c_core 19328 5 w83627hf,eeprom,w83781d,i2c_isa,i2c_amd756
The "alias char-marjor-89" was from the original sensors.conf from Tyan. The "i2c-dev options" line was put in place to force selection of certain devices (which otherwise were a bit random, so that sensors did not come up the same each time), and to eliminate a warning at startup in previous kernels:
w83781d 0-002c: Subclient 0 registration at address 0x49 failed.
But now seems to be enough (or rather, since it is ignored), this happens:
i2c-adapter i2c-0: Client creation failed at 0x2d (-16)
Suggestions?
Thanks
