All of lore.kernel.org
 help / color / mirror / Atom feed
From: frodol@dds.nl (Frodo Looijaard)
To: lm-sensors@vger.kernel.org
Subject: [alexander@all-2.com: i2c-piix4 oops]
Date: Thu, 19 May 2005 06:24:49 +0000	[thread overview]
Message-ID: <20040325121102.GA704@arda.frodo.local> (raw)

----- Forwarded message from Alexander Oltu <alexander@all-2.com> -----

From: Alexander Oltu <alexander@all-2.com>
To: frodol@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≈e92000 task≈ebabc0)
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@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@lifebook root]# i2cdetect 0
Segmentation fault

[root@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@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@lifebook etc]# i2cdetect 0
Error: Could not get the adapter functionality maxtrix: Inappropriate ioctl for device

[root@lifebook busses]# i2cdetect -v
i2cdetect version 2.8.5



----- End forwarded message -----

-- 
Frodo Looijaard <frodol@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.

                 reply	other threads:[~2005-05-19  6:24 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040325121102.GA704@arda.frodo.local \
    --to=frodol@dds.nl \
    --cc=lm-sensors@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.