2005-04-12 13:31:25

by Andreas Steinmetz

[permalink] [raw]
Subject: 2.6.12rc2: Oops with pcmcia ide flash disk

Apr 12 14:22:45 gringo kernel: cs: memory probe 0x0c0000-0x0fffff: excluding 0xc0000-0xd3fff 0xd8000-0xdffff 0xe4000-0xfffff
Apr 12 14:22:45 gringo kernel: ttyS16: detected caps 00000700 should be 00000100
Apr 12 14:22:45 gringo kernel: ttyS16 at I/O 0x100 (irq = 17) is a 16C950/954
Apr 12 14:22:45 gringo kernel: ttyS17 at I/O 0x108 (irq = 17) is a 8250
Apr 12 14:22:45 gringo kernel: cs: memory probe 0x0c0000-0x0fffff: excluding 0xc0000-0xd3fff 0xd8000-0xdffff 0xe4000-0xfffff
Apr 12 14:22:45 gringo kernel: hde: 16MB CTS, CFA DISK drive
Apr 12 14:22:45 gringo kernel: ide2 at 0x110-0x117,0x11e on irq 18
Apr 12 14:22:45 gringo kernel: hde: max request size: 128KiB
Apr 12 14:22:45 gringo kernel: hde: 32000 sectors (16 MB) w/4KiB Cache, CHS=500/2/32
Apr 12 14:22:45 gringo kernel: hde: cache flushes not supported
Apr 12 14:22:45 gringo kernel: hde: hde1
Apr 12 14:22:45 gringo kernel: ide-cs: hde: Vcc = 3.3, Vpp = 0.0
Apr 12 14:22:45 gringo kernel: hde: hde1
Apr 12 14:22:45 gringo kernel: Unable to handle kernel NULL pointer dereference at 0000000000000020 RIP:
Apr 12 14:22:45 gringo kernel: <ffffffff802dcaf5>{ide_drive_remove+21}
Apr 12 14:22:45 gringo kernel: PGD 3f76a067 PUD 3f708067 PMD 0
Apr 12 14:22:45 gringo kernel: Oops: 0000 [1]
Apr 12 14:22:45 gringo kernel: CPU 0
Apr 12 14:22:45 gringo kernel: Modules linked in:
Apr 12 14:22:45 gringo kernel: Pid: 1066, comm: cardctl Not tainted 2.6.12-rc2-gringo
Apr 12 14:22:45 gringo kernel: RIP: 0010:[<ffffffff802dcaf5>] <ffffffff802dcaf5>{ide_drive_remove+21}
Apr 12 14:22:45 gringo kernel: RSP: 0000:ffff81003f6afa28 EFLAGS: 00010296
Apr 12 14:22:45 gringo kernel: RAX: ffffffff805d5050 RBX: ffffffff805d51c0 RCX: ffffffff805d5198
Apr 12 14:22:45 gringo kernel: RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff805d5050
Apr 12 14:22:45 gringo kernel: RBP: ffffffff805d5178 R08: 0000000000000117 R09: 0000000000000001
Apr 12 14:22:45 gringo kernel: R10: 00000000ffffffff R11: ffffffff80182c10 R12: ffffffff80511cf0
Apr 12 14:22:45 gringo kernel: R13: 0000000000000001 R14: 0000000000000002 R15: ffffffff805115a0
Apr 12 14:22:45 gringo kernel: FS: 00002aaaaae0aae0(0000) GS:ffffffff805ee340(0000) knlGS:0000000000000000
Apr 12 14:22:45 gringo kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b
Apr 12 14:22:45 gringo kernel: CR2: 0000000000000020 CR3: 000000003f072000 CR4: 00000000000006e0
Apr 12 14:22:45 gringo kernel: Process cardctl (pid: 1066, threadinfo ffff81003f6ae000, task ffff81000237c820)
Apr 12 14:22:45 gringo kernel: Stack: 0000000000000001 ffffffff802b5f67 ffffffff805d5178 ffffffff805113a0
Apr 12 14:22:45 gringo kernel: ffff81003fa17000 ffffffff802b6194 ffffffff805d5178 ffffffff805d5738
Apr 12 14:22:45 gringo kernel: ffff81003fa17000 ffffffff802b4fc8
Apr 12 14:22:45 gringo kernel: Call Trace:<ffffffff802b5f67>{device_release_driver+119} <ffffffff802b6194>{bus_remove_device+180}
Apr 12 14:22:45 gringo kernel: <ffffffff802b4fc8>{device_del+88} <ffffffff802b5009>{device_unregister+9}
Apr 12 14:22:45 gringo kernel: <ffffffff802db012>{ide_unregister+546} <ffffffff80311590>{send_event_callback+0}
Apr 12 14:22:45 gringo kernel: <ffffffff802edcd5>{ide_release+37} <ffffffff802edf5e>{ide_event+174}
Apr 12 14:22:45 gringo kernel: <ffffffff8021af5e>{avc_has_perm_noaudit+574} <ffffffff80311590>{send_event_callback+0}
Apr 12 14:22:45 gringo kernel: <ffffffff802b5afd>{__bus_for_each_dev+109} <ffffffff80311590>{send_event_callback+0}
Apr 12 14:22:45 gringo kernel: <ffffffff802b5b88>{bus_for_each_dev+72} <ffffffff8031162d>{send_event+93}
Apr 12 14:22:45 gringo kernel: <ffffffff80311ae7>{ds_event+103} <ffffffff8030bef5>{send_event+69}
Apr 12 14:22:45 gringo kernel: <ffffffff8030c05d>{socket_shutdown+13} <ffffffff8030bef5>{send_event+69}
Apr 12 14:22:45 gringo kernel: <ffffffff8030c5e9>{socket_remove+9} <ffffffff8030e12d>{pcmcia_eject_card+93}
Apr 12 14:22:45 gringo kernel: <ffffffff803125fe>{ds_ioctl+1278} <ffffffff8021be6a>{inode_has_perm+106}
Apr 12 14:22:45 gringo kernel: <ffffffff801e2813>{do_get_write_access+1203} <ffffffff8021aa18>{avc_alloc_node+56}
Apr 12 14:22:45 gringo kernel: <ffffffff8021e86a>{selinux_file_ioctl+762} <ffffffff8021b0ea>{avc_has_perm+90}
Apr 12 14:22:45 gringo kernel: <ffffffff801e1d30>{journal_stop+480} <ffffffff8021bdc1>{task_has_capability+97}
Apr 12 14:22:45 gringo kernel: <ffffffff8017b62e>{do_ioctl+78} <ffffffff8017b8bd>{vfs_ioctl+637}
Apr 12 14:22:45 gringo kernel: <ffffffff8017b94a>{sys_ioctl+106} <ffffffff8010d696>{system_call+126}
Apr 12 14:22:45 gringo kernel:
Apr 12 14:22:45 gringo kernel:
Apr 12 14:22:45 gringo kernel: Code: ff 52 20 31 c0 48 83 c4 08 c3 90 41 54 48 8d 87 38 01 00 00
Apr 12 14:22:45 gringo kernel: RIP <ffffffff802dcaf5>{ide_drive_remove+21} RSP <ffff81003f6afa28>
Apr 12 14:22:45 gringo kernel: CR2: 0000000000000020


Attachments:
oops.txt (4.83 kB)
config.gz (8.80 kB)
Download all attachments

2005-05-26 05:27:25

by Andrew Morton

[permalink] [raw]
Subject: Re: 2.6.12rc2: Oops with pcmcia ide flash disk

Andreas Steinmetz <[email protected]> wrote:
>
> 2.6.12rc2 oopses during eject of a pcmcia ide flash disk on x86_64.
> 2.6.11.2 works fine.

Can you please test 2.6.12-rc5?

If that is still buggy, please test 2.6.12-rc5-mm1, or
2.6.12-rc5+ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.12-rc5/2.6.12-rc5-mm1/broken-out/mystery-ide-fix.patch

Thanks.