|
SmartMedia Adaptor causes Kernel Oops
When the card is inserted, everything locks up for several seconds, and the following is logged in kern.log:
===========================================================================
Jan 22 20:21:31 nermal kernel: hdc: , ATA DISK drive
Jan 22 20:21:31 nermal kernel: hdd: no response (status = 0xa1), resetting drive
Jan 22 20:21:31 nermal kernel: hdd: no response (status = 0xa1)
Jan 22 20:21:31 nermal kernel: ide2: ports already in use, skipping probe
Jan 22 20:21:31 nermal kernel: ide1 at 0x100-0x107,0x10e on irq 10
Jan 22 20:21:31 nermal kernel: hdc: , 7MB w/1kB Cache, CHS=250/4/16
Jan 22 20:21:31 nermal kernel: hdc: hdc1
Jan 22 20:21:31 nermal kernel: ide_cs: hdc: Vcc = 5.0, Vpp = 12.0
Jan 22 20:21:32 nermal kernel: VFS: Disk change detected on device ide1(22,0)
Jan 22 20:21:32 nermal kernel: hdc: hdc1
Jan 22 20:21:32 nermal kernel: hdc: drive_cmd: status=0x51 { DriveReady SeekComplete Error }
Jan 22 20:21:32 nermal kernel: hdc: drive_cmd: error=0x04 { DriveStatusError }
Jan 22 20:22:04 nermal kernel: VFS: Disk change detected on device ide1(22,1)
Jan 22 20:22:04 nermal kernel: hdc: hdc1
Jan 22 20:22:04 nermal kernel: VFS: Disk change detected on device ide1(22,1)
Jan 22 20:22:04 nermal kernel: hdc: hdc1
Jan 22 20:28:31 nermal kernel: VFS: Disk change detected on device ide1(22,0)
Jan 22 20:28:31 nermal kernel: hdc: hdc1
Jan 22 20:28:31 nermal kernel: VFS: Disk change detected on device ide1(22,0)
Jan 22 20:28:31 nermal kernel: hdc: hdc1
===========================================================================
Shortly after the SmartMedia Adaptor is ejected, programs start crashing or locking up randomly and one or more kernel Oopses are logged (occasionally this does not happen - probably less than 10% of the time):
===========================================================================
Jan 22 20:28:42 nermal kernel: Unable to handle kernel paging request at virtual address 01ee77f8
Jan 22 20:28:42 nermal kernel: current->tss.cr3 = 006a3000, %cr3 = 006a3000
Jan 22 20:28:42 nermal kernel: *pde = 00000000
Jan 22 20:28:42 nermal kernel: Oops: 0000
Jan 22 20:28:42 nermal kernel: CPU: 0
Jan 22 20:28:42 nermal kernel: EIP: 0010:[free_wait+44/108]
Jan 22 20:28:42 nermal kernel: EFLAGS: 00010007
Jan 22 20:28:42 nermal kernel: eax: 00004000 ebx: 01ee77f4 ecx: c1fbc000 edx: 80000400
Jan 22 20:28:42 nermal kernel: esi: 01ee77f0 edi: c1fbc000 ebp: 00000207 esp: c06a5f38
Jan 22 20:28:42 nermal kernel: ds: 0018 es: 0018 ss: 0018
Jan 22 20:28:42 nermal kernel: Process kfm (pid: 282, process nr: 38, stackpage=c06a5000)
Jan 22 20:28:42 nermal kernel: Stack: 00000007 00000000 c012d6e0 c1fbc000 00000004 00000001 c0e1fbf8 00000000
Jan 22 20:28:42 nermal kernel: 00000040 00000304 c06a4000 00000000 00000000 c1fbc000 c012da69 00000007
Jan 22 20:28:42 nermal kernel: c06a5fa8 c06a5fa4 c06a4000 00000000 40309c48 bffffabc c012d050 c06a5fa8
Jan 22 20:28:42 nermal kernel: Call Trace: [do_select+512/536] [sys_select+881/1176] [sys_ioctl+420/444] [system_call+52/56]
Jan 22 20:28:42 nermal kernel: Code: 8b 4e 08 89 ca 8b 41 04 39 d8 74 09 89 c2 8b 42 04 39 d8 75
Jan 22 20:28:55 nermal kernel: Unable to handle kernel paging request at virtual address 006c5000
Jan 22 20:28:55 nermal kernel: current->tss.cr3 = 00eb9000, %cr3 = 00eb9000
Jan 22 20:28:55 nermal kernel: *pde = 00000000
Jan 22 20:28:55 nermal kernel: Oops: 0000
Jan 22 20:28:55 nermal kernel: CPU: 0
Jan 22 20:28:55 nermal kernel: EIP: 0010:[__wake_up+30/72]
Jan 22 20:28:55 nermal kernel: EFLAGS: 00013216
Jan 22 20:28:55 nermal kernel: eax: c16e10a8 ebx: 80001000 ecx: c12f5080 edx: 006c5000
Jan 22 20:28:55 nermal kernel: esi: c16e10a4 edi: 00000001 ebp: c0ebde6c esp: c0ebde68
Jan 22 20:28:55 nermal kernel: ds: 0018 es: 0018 ss: 0018
Jan 22 20:28:55 nermal kernel: Process XF86_SVGA (pid: 221, process nr: 30, stackpage=c0ebd000)
Jan 22 20:28:55 nermal kernel: Stack: 00000020 c0ebdea0 c014b329 c0814f40 c0172a81 c12f4dc0 00000020 c0ebded0
Jan 22 20:28:55 nermal kernel: c0ebdf00 c0172844 00003246 00000000 c12f5080 c08140e0 c16e0f7c c014901e
Jan 22 20:28:55 nermal kernel: c16e0f7c c0ebdf00 00000020 c0ebded0 c16e0f7c c16e0f7c 00000020 00000001
Jan 22 20:28:55 nermal kernel: Call Trace: [sock_def_readable+25/44] [unix_stream_sendmsg+573/604] [unix_stream_sendmsg+0/604] [sock_sendmsg+138/176] [unix_stream_sendmsg+0/604] [sock_readv_writev+136/148] [do_readv_writev+326/496]
Jan 22 20:28:55 nermal kernel: [schedule+334/636] [sys_writev+106/144] [system_call+52/56]
Jan 22 20:28:55 nermal kernel: Code: 8b 02 85 c7 74 f1 39 f3 74 0c 89 d0 e8 29 f9 ff ff eb e4 8d
===========================================================================
I have checked:
* The Card is unmounted before ejecting * I use cardinfo or cardctl to eject the card before removing it * The card operates correctly in a Windoze 98 machine * The card operates correctly with the 2.0.38 kernel & version 3.0.5 of the PCMCIA modules I am currently using a custom 2.2.14 kernel, however the problem seems to have existed with all 2.2 series kernels I have tried with the card (I started with 2.2.10). The laptop is a Dell Latitude XPi P133ST. This problem is known to exist with version 3.1.8 and 3.1.10 of PC Card Services.
|
Messages