Kernel oops on pcmcia compact flash insert
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Linux |
New
|
Undecided
|
Unassigned |
Bug Description
I get this this oops in my logs when I insert a flash card in my pcmcia slot on a dell M70, uname -r is: 2.6.15-26-386
I have vmware-player installed but not running
All is fine if I boot up with the card already installed.
[17327099.572000] usb 5-5: new high speed USB device using ehci_hcd and address 5
[17327100.096000] Initializing USB Mass Storage driver...
[17327100.096000] scsi2 : SCSI emulation for USB Mass Storage devices
[17327100.096000] usb-storage: device found at 5
[17327100.096000] usb-storage: waiting for device to settle before scanning
[17327100.096000] usbcore: registered new driver usb-storage
[17327100.096000] USB Mass Storage support registered.
[17327105.096000] Vendor: memory Model: USB2.0 Rev: 1.00
[17327105.096000] Type: Direct-Access ANSI SCSI revision: 02
[17327105.096000] SCSI device sdb: 1017088 512-byte hdwr sectors (521 MB)
[17327105.100000] sdb: Write Protect is off
[17327105.100000] sdb: Mode Sense: 03 00 00 00
[17327105.100000] sdb: assuming drive cache: write through
[17327105.104000] SCSI device sdb: 1017088 512-byte hdwr sectors (521 MB)
[17327105.104000] sdb: Write Protect is off
[17327105.104000] sdb: Mode Sense: 03 00 00 00
[17327105.104000] sdb: assuming drive cache: write through
[17327105.104000] sdb: sdb4
[17327105.104000] sd 2:0:0:0: Attached scsi removable disk sdb
[17327105.104000] sd 2:0:0:0: Attached scsi generic sg2 type 0
[17327105.108000] usb-storage: device scan complete
[17327106.364000] FAT: utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive!
[17327191.816000] usb 5-5: USB disconnect, address 5
[17334829.308000] pccard: PCMCIA card inserted into slot 0
[17334829.308000] pcmcia: registering new device pcmcia0.0
[17334829.448000] Probing IDE interface ide0...
[17334829.740000] hda: SAMSUNG CF/ATA, CFA DISK drive
[17334830.076000] ide0 at 0x2100-
[17334830.076000] hda: max request size: 128KiB
[17334830.076000] hda: 8211168 sectors (4204 MB) w/0KiB Cache, CHS=8146/16/63
[17334830.076000] hda: cache flushes not supported
[17334830.076000] hda: hda1 hda2
[17334830.080000] Unable to handle kernel NULL pointer dereference at virtual address 00000070
[17334830.080000] printing eip:
[17334830.080000] c01a2bc0
[17334830.080000] *pde = 00000000
[17334830.080000] Oops: 0002 [#1]
[17334830.080000] PREEMPT
[17334830.080000] Modules linked in: usb_storage arc4 ieee80211_crypt_wep isofs udf vmnet vmmon binfmt_misc rfcomm l2cap bluetooth nbd ipv6 ppdev lp autofs4 speedstep_centrino cpufreq_powersave cpufreq_stats cpufreq_userspace cpufreq_ondemand cpufreq_
[17334830.080000] CPU: 0
[17334830.080000] EIP: 0060:[<c01a2bc0>] Tainted: P VLI
[17334830.080000] EFLAGS: 00210286 (2.6.15-26-386)
[17334830.080000] EIP is at create_
[17334830.080000] eax: f7d9b888 ebx: f456f3d0 ecx: f456f3d0 edx: 00000000
[17334830.080000] esi: f456f3d0 edi: f7f79b50 ebp: dd347a18 esp: dd3479f0
[17334830.080000] ds: 007b es: 007b ss: 0068
[17334830.080000] Process sh (pid: 12810, threadinfo=dd346000 task=eccd7550)
[17334830.080000] Stack: f7f79ac0 f456f3d0 f456f3d0 f7f79b50 f7f79ac0 c01a2db8 f456f3d0 f7d9b888
[17334830.080000] f456f3d4 dd347a18 00000000 f456f3d0 c01d9aa2 f456f3d0 f456f3d0 f456f3c0
[17334830.080000] c01d9d01 f456f3d0 f456f3d0 f456f3c0 f7f79b58 c01d9d86 f456f3d0 f456f3d0
[17334830.080000] Call Trace:
[17334830.080000] [<c01a2db8>] sysfs_create_
[17334830.080000] [<c01d9aa2>] create_
[17334830.080000] [<c01d9d01>] kobject_
[17334830.080000] [<c01d9d86>] kobject_
[17334830.080000] [<c019c09c>] add_partition+
[17334830.080000] [<c019c298>] rescan_
[17334830.080000] [<c0168769>] do_open+0x309/0x370
[17334830.080000] [<c0168838>] blkdev_
[17334830.080000] [<c019c199>] register_
[17334830.080000] [<c01cf98e>] add_disk+0x2e/0x40
[17334830.080000] [<c01cf930>] exact_match+
[17334830.080000] [<c01cf940>] exact_lock+0x0/0x20
[17334830.080000] [<f8bdb18a>] ide_disk_
[17334830.080000] [<c024457b>] driver_
[17334830.080000] [<c0244600>] __device_
[17334830.080000] [<c0243d78>] bus_for_
[17334830.080000] [<c0244664>] device_
[17334830.080000] [<c0244600>] __device_
[17334830.080000] [<c0243eb1>] bus_add_
[17334830.080000] [<c0242ead>] device_
[17334830.080000] [<c0255d1b>] probe_hwif_
[17334830.080000] [<c024f1e9>] ide_register_
[17334830.080000] [<c0255750>] ide_undecoded_
[17334830.080000] [<f8ba31cf>] idecs_register+
[17334830.080000] [<c0255750>] ide_undecoded_
[17334830.080000] [<f8ba3707>] ide_config+
[17334830.080000] [<f8b868ef>] pccard_
[17334830.080000] [<f8ba396a>] ide_event+0xda/0xe0 [ide_cs]
[17334830.080000] [<f8be060c>] pcmcia_
[17334830.080000] [<c01a1af4>] sysfs_setattr+
[17334830.080000] [<c01491d1>] kzalloc+0x11/0x40
[17334830.080000] [<f8ba3083>] ide_attach+
[17334830.080000] [<c01d9f02>] kobject_
[17334830.080000] [<f8bdf46b>] pcmcia_
[17334830.080000] [<c024457b>] driver_
[17334830.080000] [<c0244600>] __device_
[17334830.080000] [<c0243d78>] bus_for_
[17334830.080000] [<c02441c0>] bus_rescan_
[17334830.080000] [<c0244664>] device_
[17334830.080000] [<c0244600>] __device_
[17334830.080000] [<c02441e6>] bus_rescan_
[17334830.080000] [<c0243c58>] bus_for_
[17334830.080000] [<c0244203>] bus_rescan_
[17334830.080000] [<c02441c0>] bus_rescan_
[17334830.080000] [<f8be02bc>] pcmcia_
[17334830.080000] [<c01a22f7>] flush_write_
[17334830.080000] [<c01a233f>] sysfs_write_
[17334830.080000] [<c015fed6>] vfs_write+
[17334830.080000] [<c0160048>] sys_write+0x38/0x80
[17334830.080000] [<c0102feb>] sysenter_
[17334830.080000] Code: 80 8c 00 00 00 c0 bc 33 c0 31 c0 c3 eb 0d 90 90 90 90 90 90 90 90 90 90 90 90 90 55 57 56 53 55 8b 6c 24 24 8b 44 24 1c 8b 50 08 <ff> 4a 70 0f 88 ae 0c 00 00 31 c0 b9 ff ff ff ff 8b 7c 24 20 f2
[17334830.080000]
I can stop this oops occuring if I do:
sudo cardctl eject
sudo rmmod ide_cs
before I remove the card, or, if having ejected the card I do
rmmod ide_cs
before I insert the card
ide_cs gets reloaded for me.