Kernel oops on pcmcia compact flash insert

Bug #61636 reported by Sam Liddicott
0
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-0x2107,0x210e on irq 3
[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_conservative freq_table tc1100_wmi video acpi_sbs battery i2c_acpi_ec container button pcc_acpi sony_acpi ac dev_acpi hotkey nls_utf8 ntfs nls_iso8859_1 nls_cp437 vfat fat ext3 jbd dm_mod md_mod ide_disk ide_cs pcmcia af_packet ipw2200 ieee80211 ieee80211_crypt ieee80211_1_1_13 ieee80211_1_1_13_crypt yenta_socket rsrc_nonstatic pcmcia_core snd_intel8x0 snd_ac97_codec snd_ac97_bus snd_pcm_oss snd_mixer_oss snd_pcm snd_timer snd soundcore snd_page_alloc tsdev joydev parport_pc parport usbhid pcspkr rtc nvidia i2c_core psmouse serio_raw tg3 intel_agp agpgart shpchp pci_hotplug sg evdev reiserfs ide_generic ehci_hcd uhci_hcd usbcore sr_mod cdrom sd_mod ata_piix ahci libata scsi_mod generic thermal processor fan fbcon tileblit font bitblit softcursor capability commoncap
[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_dir+0x10/0x1c0
[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_dir+0x28/0x70
[17334830.080000] [<c01d9aa2>] create_dir+0x12/0x50
[17334830.080000] [<c01d9d01>] kobject_add+0x71/0xe0
[17334830.080000] [<c01d9d86>] kobject_register+0x16/0x60
[17334830.080000] [<c019c09c>] add_partition+0xac/0xd0
[17334830.080000] [<c019c298>] rescan_partitions+0xe8/0x140
[17334830.080000] [<c0168769>] do_open+0x309/0x370
[17334830.080000] [<c0168838>] blkdev_get+0x68/0x80
[17334830.080000] [<c019c199>] register_disk+0x99/0xb0
[17334830.080000] [<c01cf98e>] add_disk+0x2e/0x40
[17334830.080000] [<c01cf930>] exact_match+0x0/0x10
[17334830.080000] [<c01cf940>] exact_lock+0x0/0x20
[17334830.080000] [<f8bdb18a>] ide_disk_probe+0x10a/0x13f [ide_disk]
[17334830.080000] [<c024457b>] driver_probe_device+0x3b/0xc0
[17334830.080000] [<c0244600>] __device_attach+0x0/0x10
[17334830.080000] [<c0243d78>] bus_for_each_drv+0x48/0x80
[17334830.080000] [<c0244664>] device_attach+0x54/0x60
[17334830.080000] [<c0244600>] __device_attach+0x0/0x10
[17334830.080000] [<c0243eb1>] bus_add_device+0x21/0xa0
[17334830.080000] [<c0242ead>] device_add+0xdd/0x140
[17334830.080000] [<c0255d1b>] probe_hwif_init_with_fixup+0x6b/0x90
[17334830.080000] [<c024f1e9>] ide_register_hw_with_fixup+0x189/0x1a0
[17334830.080000] [<c0255750>] ide_undecoded_slave+0x0/0xa0
[17334830.080000] [<f8ba31cf>] idecs_register+0x6f/0xb0 [ide_cs]
[17334830.080000] [<c0255750>] ide_undecoded_slave+0x0/0xa0
[17334830.080000] [<f8ba3707>] ide_config+0x4f7/0x620 [ide_cs]
[17334830.080000] [<f8b868ef>] pccard_read_tuple+0x4f/0xa0 [pcmcia_core]
[17334830.080000] [<f8ba396a>] ide_event+0xda/0xe0 [ide_cs]
[17334830.080000] [<f8be060c>] pcmcia_register_client+0x1dc/0x2c0 [pcmcia]
[17334830.080000] [<c01a1af4>] sysfs_setattr+0x174/0x2a0
[17334830.080000] [<c01491d1>] kzalloc+0x11/0x40
[17334830.080000] [<f8ba3083>] ide_attach+0x83/0xc0 [ide_cs]
[17334830.080000] [<c01d9f02>] kobject_get+0x12/0x20
[17334830.080000] [<f8bdf46b>] pcmcia_device_probe+0x6b/0x120 [pcmcia]
[17334830.080000] [<c024457b>] driver_probe_device+0x3b/0xc0
[17334830.080000] [<c0244600>] __device_attach+0x0/0x10
[17334830.080000] [<c0243d78>] bus_for_each_drv+0x48/0x80
[17334830.080000] [<c02441c0>] bus_rescan_devices_helper+0x0/0x30
[17334830.080000] [<c0244664>] device_attach+0x54/0x60
[17334830.080000] [<c0244600>] __device_attach+0x0/0x10
[17334830.080000] [<c02441e6>] bus_rescan_devices_helper+0x26/0x30
[17334830.080000] [<c0243c58>] bus_for_each_dev+0x48/0x80
[17334830.080000] [<c0244203>] bus_rescan_devices+0x13/0x20
[17334830.080000] [<c02441c0>] bus_rescan_devices_helper+0x0/0x30
[17334830.080000] [<f8be02bc>] pcmcia_store_allow_func_id_match+0x4c/0x60 [pcmcia]
[17334830.080000] [<c01a22f7>] flush_write_buffer+0x27/0x30
[17334830.080000] [<c01a233f>] sysfs_write_file+0x3f/0x60
[17334830.080000] [<c015fed6>] vfs_write+0x96/0x150
[17334830.080000] [<c0160048>] sys_write+0x38/0x80
[17334830.080000] [<c0102feb>] sysenter_past_esp+0x54/0x79
[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]

Revision history for this message
Sam Liddicott (sam-liddicott) wrote :

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.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.