Bug 5678
Summary: | endless loop/kernel crash after memory card insert into 6-in-1 pcmcia memory card reader reader | ||
---|---|---|---|
Product: | IO/Storage | Reporter: | Khashayar Naderehvandi (khashayar.lists) |
Component: | IDE | Assignee: | Bartlomiej Zolnierkiewicz (bzolnier) |
Status: | REJECTED WILL_NOT_FIX | ||
Severity: | normal | ||
Priority: | P2 | ||
Hardware: | i386 | ||
OS: | Linux | ||
Kernel Version: | 2.6.13*, 2.6.14* | Subsystem: | |
Regression: | --- | Bisected commit-id: | |
Attachments: | logs+config; 2.6.14.3-vanilla |
Description
Khashayar Naderehvandi
2005-11-29 15:31:18 UTC
Please post: - OOPS from 2.6.15-rc2-mm1 - kernel configs for -mm and vanilla 2.6.14 - full dmesgs for -mm and vanilla 2.6.14 Could you also try if 2.6.12 (or some earlier kernel) works? This is gonna take some time for me; I will most probably need to make a clean installation of some distro in order to try the vanilla kernels since my root file system runs on reiser4. However, I've tried using the card reader under a session of Damn Small Linux, since it runs a 2.4 kernel. That gave no problems with card reader whatsoever. Do you want me to try it with an earlier kernel in the 2.6 branch as well? Last but no least; how do do I capture the OOPS? The kernel does crash seriously, so there's really not much I can do after the crash. (Hmm.. just realized I could boot with a live disk and grab the log-file, that way it won't be overwritten). I'll get to these things, but unortunately, it's gonna take some time.. Created attachment 6725 [details]
logs+config; 2.6.14.3-vanilla
I hope this helps. These are all the logs from 2.6.14.3. I tried first with a
2.6.13.4-ARCH, and it led to oops+kernel crash. But there were no logs
containing those messages. These aren't in /var/log/kernel.log?
Anyway, I'm a bit in a confusion here. The pcmcia-cs packages isn't supposed to
be used? Cause that's what I've been trying with. If I don't start the pcmcia
services (with /etc/rc.d/pcmcia; part of pcmcia-cs), the kernel gives
absolutely no reaction on my insertion of a memory card.
Am I missing something here?
OK, upon removing pcmcia-cs the result really is that nothing happens whatsoever. I insert a card and there's no response from anything anywhere. Also, I don't have the /sys/bus/pcmcia directory. But : ---------------------------------- [khashayar@nightfrost ~]$ dmesg | grep -i pcmc pcmcia: parent PCI bridge I/O window: 0x3000 - 0x3fff pcmcia: parent PCI bridge Memory window: 0xd0200000 - 0xd02fffff pcmcia: parent PCI bridge Memory window: 0x30000000 - 0x33ffffff pcmcia: parent PCI bridge I/O window: 0x3000 - 0x3fff pcmcia: parent PCI bridge Memory window: 0xd0200000 - 0xd02fffff pcmcia: parent PCI bridge Memory window: 0x30000000 - 0x33ffffff ---------------------------------- Anything? The easiest way to capture OOPS is to take photo of the screen with digital camera :), the more time consuming method is to use serial console (or netcosole). -mm contains bugfix for registering removable devices but it seems it is something different (unsupported command causes device to hang? - we should try to find which command causes ECC error), anyway kernel shouldn't OOPS in such situation. *** Bug 5680 has been marked as a duplicate of this bug. *** To get PCMCIA working now, you need to issue these two commands: modprobe pcmcia modprobe yenta_socket Also, see http://kernel.org/pub/linux/utils/kernel/pcmcia/pcmcia.html for more information on the pcmcia-cs -> pcmicautils change It seems I have had two problems. Firstly, the 'pcmcia' module was not being loaded. Secondly, udev 068. With udev 068 (the version I used when originally reporting the bug) the kernel would oops. But with udev 076 there is no such problem. I'm still getting this in the logs though: ------------------------- cs: memory probe 0x0c0000-0x0fffff: excluding 0xc0000-0xcffff 0xdc000-0xfffff cs: memory probe 0x30000000-0x33ffffff: excluding 0x30000000-0x33ffffff cs: memory probe 0x60000000-0x60ffffff: clean. cs: memory probe 0xa0000000-0xa0ffffff: clean. cs: memory probe 0xd0200000-0xd02fffff: excluding 0xd0200000-0xd020ffff Probing IDE interface ide2... hde: Memory Card Adapter, CFA DISK drive ide2 at 0x3100-0x3107,0x310e on irq 11 hde: max request size: 128KiB hde: 29120 sectors (14 MB) w/1KiB Cache, CHS=455/2/32 hde: cache flushes not supported hde:hde: status error: status=0x7f { DriveReady DeviceFault SeekComplete DataRequest CorrectedError Index Error } hde: status error: error=0x00 { } ide: failed opcode was: unknown hde: drive not ready for command ide2: reset: master: ECC circuitry error hde1 ide-cs: hde: Vcc = 3.3, Vpp = 0.0 hde: hde1 ----------------------------------------- But the last output of "hde: hde1" only shows once (sometimes twice or thrice, but no more), and I can mount the card no problem. So, the question is: is this a bug with udev 068, and do you guys still want me to post the oops (still looking for a digi-cam)? It seems to me that this bug is solved? Original IDE bug - yes but it seems that there are two other problems: - udev-0.68 shouldn't OOPS the kernel - IDE shouldn't send the unsupported command to the device Khashayar, could you close this bug and open two new ones (one for udev OOPS-ing kernel and one for IDE error messages). Thanks! Closing as pushed to other bugs (Master ECC is the flash card hardware crashing usually) |