----- Forwarded message from Alexander Oltu <alexander at all-2.com> ----- From: Alexander Oltu <alexander at all-2.com> To: frodol at dds.nl Subject: i2c-piix4 oops X-Spam-Status: No, hits=0.0 required=5.0 tests= version=2.20 X-Spam-Level: Hello, Sorry if I'm wrong writing you. I have Fujitsu Lifebook based on I440MX, then I'm trying to use i2c-piix4 on kernel 2.6.4, it loads successfully, but then I'm testing it with for example i2cdetect from lm_sensors package it goes in oops like: Mar 25 08:39:44 lifebook kernel: Unable to handle kernel NULL pointer dereference at virtual address 00000000 Mar 25 08:39:44 lifebook kernel: printing eip: Mar 25 08:39:44 lifebook kernel: cca313c6 Mar 25 08:39:44 lifebook kernel: *pde = 00000000 Mar 25 08:39:44 lifebook kernel: Oops: 0000 [#1] Mar 25 08:39:44 lifebook kernel: PREEMPT Mar 25 08:39:44 lifebook kernel: CPU: 0 Mar 25 08:39:44 lifebook kernel: EIP: 0060:[__crc_shrink_dcache_sb+1822801/5636579] Not tainted Mar 25 08:39:44 lifebook kernel: EIP: 0060:[<cca313c6>] Not tainted Mar 25 08:39:44 lifebook kernel: EFLAGS: 00010246 Mar 25 08:39:44 lifebook kernel: EIP is at i2cdev_ioctl+0x56/0x7c0 [i2c_dev] Mar 25 08:39:44 lifebook kernel: eax: 00000000 ebx: bffff918 ecx: 00000000 edx: c78e4400 Mar 25 08:39:44 lifebook kernel: esi: 00000705 edi: 00000705 ebp: c78e4470 esp: c5e93ef0 Afterwords if I try to rescan buss it writes: Error: Could not get the adapter functionality maxtrix: Inappropriate ioctl for device I've tried to load with fix_hstcfg=1, it doesn't help me. I tested this on kernel 2.4.22 and all goes ok (no oops, and buss function properly) I have more messages in attachment. PS. If I'm wrong, or shouldn't write to you and should write to somebody other please say me. Thank you -- Alexander Oltu. Mar 25 08:39:16 lifebook kernel: i2c /dev entries driver Mar 25 08:39:33 lifebook kernel: piix4-smbus 0000:00:07.3: Found 0000:00:07.3 device Mar 25 08:39:44 lifebook kernel: Unable to handle kernel NULL pointer dereference at virtual address 00000000 Mar 25 08:39:44 lifebook kernel: printing eip: Mar 25 08:39:44 lifebook kernel: cca313c6 Mar 25 08:39:44 lifebook kernel: *pde = 00000000 Mar 25 08:39:44 lifebook kernel: Oops: 0000 [#1] Mar 25 08:39:44 lifebook kernel: PREEMPT Mar 25 08:39:44 lifebook kernel: CPU: 0 Mar 25 08:39:44 lifebook kernel: EIP: 0060:[__crc_shrink_dcache_sb+1822801/5636579] Not tainted Mar 25 08:39:44 lifebook kernel: EIP: 0060:[<cca313c6>] Not tainted Mar 25 08:39:44 lifebook kernel: EFLAGS: 00010246 Mar 25 08:39:44 lifebook kernel: EIP is at i2cdev_ioctl+0x56/0x7c0 [i2c_dev] Mar 25 08:39:44 lifebook kernel: eax: 00000000 ebx: bffff918 ecx: 00000000 edx: c78e4400 Mar 25 08:39:44 lifebook kernel: esi: 00000705 edi: 00000705 ebp: c78e4470 esp: c5e93ef0 Mar 25 08:39:46 lifebook kernel: ds: 007b es: 007b ss: 0068 Mar 25 08:39:46 lifebook kernel: Process i2cdetect (pid: 2273, threadinfo=c5e92000 task=c5ebabc0) Mar 25 08:39:46 lifebook kernel: Stack: c34d9394 c3196400 c78e4470 00000000 00000705 bffff918 c5ebabc0 c011bf5c Mar 25 08:39:46 lifebook kernel: c5eb2b00 c63b3a80 400e5dc0 00000000 00000000 400e5dc0 00000000 c5e23080 Mar 25 08:39:46 lifebook kernel: 00030002 00000001 c78e4400 c015bcc0 c358ee38 c5e23080 c5eb2b00 00000002 Mar 25 08:39:46 lifebook kernel: Call Trace: Mar 25 08:39:46 lifebook kernel: [do_page_fault+828/1326] do_page_fault+0x33c/0x52e Mar 25 08:39:46 lifebook kernel: [<c011bf5c>] do_page_fault+0x33c/0x52e Mar 25 08:39:46 lifebook kernel: [dentry_open+336/528] dentry_open+0x150/0x210 Mar 25 08:39:46 lifebook kernel: [<c015bcc0>] dentry_open+0x150/0x210 Mar 25 08:39:46 lifebook kernel: [filp_open+104/112] filp_open+0x68/0x70 Mar 25 08:39:46 lifebook kernel: [<c015bb68>] filp_open+0x68/0x70 Mar 25 08:39:46 lifebook kernel: [sys_ioctl+284/672] sys_ioctl+0x11c/0x2a0 Mar 25 08:39:46 lifebook kernel: [<c01701bc>] sys_ioctl+0x11c/0x2a0 Mar 25 08:39:46 lifebook kernel: [syscall_call+7/11] syscall_call+0x7/0xb Mar 25 08:39:46 lifebook kernel: [<c010b35b>] syscall_call+0x7/0xb Mar 25 08:39:46 lifebook kernel: Mar 25 08:39:46 lifebook kernel: Code: 8b 00 c7 04 24 e8 1e a3 cc 89 44 24 04 e8 98 14 6f f3 8d 86 [root at lifebook root]# i2cdetect Error: No i2c-bus specified! Syntax: i2cdetect I2CBUS I2CBUS is an integer i2cdetect -l lists installed busses only Installed I2C busses: i2c-0 unknown SMBus PIIX4 adapter at ff80 Algorithm unavailable [root at lifebook root]# i2cdetect 0 Segmentation fault [root at lifebook root]# lsmod Module Size Used by i2c_piix4 9232 1 i2c_dev 11264 2 i2c_core 25860 2 i2c_piix4,i2c_dev binfmt_misc 10888 1 parport_pc 38464 1 lp 11432 0 parport 42440 2 parport_pc,lp autofs4 16384 1 snd_pcm_oss 54820 0 snd_seq_oss 34944 0 snd_seq_midi_event 7936 1 snd_seq_oss snd_seq 55696 4 snd_seq_oss,snd_seq_midi_event snd_mixer_oss 20352 2 snd_pcm_oss snd_intel8x0 34344 1 snd_ac97_codec 63236 1 snd_intel8x0 snd_pcm 101640 2 snd_pcm_oss,snd_intel8x0 snd_timer 26244 2 snd_seq,snd_pcm gameport 4992 1 snd_intel8x0 snd_page_alloc 12420 2 snd_intel8x0,snd_pcm snd_mpu401_uart 8064 1 snd_intel8x0 snd_rawmidi 25120 1 snd_mpu401_uart snd_seq_device 8328 3 snd_seq_oss,snd_seq,snd_rawmidi snd 54756 12 snd_pcm_oss,snd_seq_oss,snd_seq_midi_event,snd_seq,snd_mixer_oss,snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer,snd_mpu401_uart,snd_rawmidi,snd_seq_device soundcore 10080 2 snd irlan 31760 0 irda 138044 1 irlan eepro100 29836 0 mii 5376 1 eepro100 hid 34048 0 usbmouse 5888 0 uhci_hcd 32656 0 ohci_hcd 19716 0 ehci_hcd 27140 0 usbcore 104924 7 hid,usbmouse,uhci_hcd,ohci_hcd,ehci_hcd joydev 10432 0 evdev 9600 1 tsdev 7296 0 lbtouch 7940 0 thermal 13200 0 processor 17584 1 thermal button 6296 0 battery 9100 0 ac 5004 0 rtc 12984 0 reiserfs 239476 1 [root at lifebook etc]# i2cdetect Error: No i2c-bus specified! Syntax: i2cdetect I2CBUS I2CBUS is an integer i2cdetect -l lists installed busses only Installed I2C busses: i2c-0 unknown SMBus PIIX4 adapter at ff80 Algorithm unavailable [root at lifebook etc]# i2cdetect 0 Error: Could not get the adapter functionality maxtrix: Inappropriate ioctl for device [root at lifebook busses]# i2cdetect -v i2cdetect version 2.8.5 ----- End forwarded message ----- -- Frodo Looijaard <frodol at dds.nl> PGP key and more: http://huizen.dds.nl/~frodol Defenestration n. (formal or joc.): The act of removing Windows from your computer in disgust, usually followed by the installation of Linux or some other Unix-like operating system.