Bug 5680 - endless loop/kernel crash after memory card insert into 6-in-1 pcmcia memory card reader reader
Summary: endless loop/kernel crash after memory card insert into 6-in-1 pcmcia memory ...
Status: REJECTED DUPLICATE of bug 5678
Alias: None
Product: IO/Storage
Classification: Unclassified
Component: IDE (show other bugs)
Hardware: i386 Linux
: P2 normal
Assignee: Bartlomiej Zolnierkiewicz
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-29 18:09 UTC by Khashayar Naderehvandi
Modified: 2005-12-05 18:43 UTC (History)
1 user (show)

See Also:
Kernel Version: 2.6.13*, 2.6.14*
Subsystem:
Regression: ---
Bisected commit-id:


Attachments

Description Khashayar Naderehvandi 2005-11-29 18:09:02 UTC
Most recent kernel where this bug did not occur: Not sure; it might have worked
with 2.6.12 :-/

Distribution: ArchLinux

Hardware Environment: 

00:1f.1 IDE interface: Intel Corp.: Unknown device 24ca (rev 03) (prog-if 8a
[Master SecP PriP])
	Subsystem: Citicorp TTI: Unknown device 11ab
	Flags: bus master, medium devsel, latency 0, IRQ 11
	I/O ports at <unassigned>
	I/O ports at <unassigned>
	I/O ports at <unassigned>
	I/O ports at <unassigned>
	I/O ports at 2420 [size=16]
	Memory at 34000000 (32-bit, non-prefetchable) [size=1K]
</snip>
1:0a.0 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev ab)
	Subsystem: Citicorp TTI: Unknown device 1254
	Flags: bus master, medium devsel, latency 168, IRQ 11
	Memory at d0203000 (32-bit, non-prefetchable) [size=4K]
	Bus: primary=01, secondary=02, subordinate=05, sec-latency=176
	Memory window 0: 30000000-31fff000 (prefetchable)
	Memory window 1: 36000000-37fff000
	I/O window 0: 00003400-000034ff
	I/O window 1: 00003800-000038ff
	16-bit legacy interface ports at 0001

01:0a.1 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev ab)
	Subsystem: Citicorp TTI: Unknown device 1254
	Flags: bus master, medium devsel, latency 168, IRQ 11
	Memory at d0204000 (32-bit, non-prefetchable) [size=4K]
	Bus: primary=01, secondary=06, subordinate=09, sec-latency=176
	Memory window 0: 32000000-33fff000 (prefetchable)
	Memory window 1: 38000000-39fff000
	I/O window 0: 00003c00-00003cff
	I/O window 1: 00001000-000010ff
	16-bit legacy interface ports at 0001

Software Environment:
GNU bash, version 3.00.16(1)-release (i686-pc-linux-gnu)
KDE/Gnome/E17 - any software environment really

Problem Description:

I have been trying this with various 2.6.13 and 2.6.14
kernels including (archck/ck/kanotix/vanilla etc). 

I start the pcmcia services with /etc/rc.d/pcmcia start, after
which dmesg gives this:

------------------------------------------
Yenta: CardBus bridge found at 0000:01:0a.0 [10cf:1254]
Yenta: ISA IRQ mask 0x04b8, PCI irq 11
Socket status: 30000006
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
ACPI: PCI Interrupt 0000:01:0a.1[B] -> Link [LNKB] ->
GSI 11 (level, low) -> IRQ 11
Yenta: CardBus bridge found at 0000:01:0a.1 [10cf:1254]
Yenta: ISA IRQ mask 0x04b8, PCI irq 11
Socket status: 30000006
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
---------------------------------------------

Now, if I would insert a memory card (I have only tried this
with SD-cards, as those are the only ones I have at the
moment), I get this:

---------------------------------------------
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

ide-cs: hde: Vcc = 3.3, Vpp = 0.0
hde:
hde:
hde:
hde:
hde:
hde:
hde:
hde:
-------------------------------------------------

and 'hde:' continues endlessly, sometimes causing a
very noticeable overall slowdown of the entire system.
Rarely, it even causes a kernel crash and a forced cold
reboot.

Steps to reproduce:
1) start pcmcia service
2) insert SD-memory card

(Note: This bugreport was written a while back but I never posted it. Just to
make sure, I tried it with 2.6.15-rc2-mm1 right now and the results were even
worse. After services are started I get a message saying "no pcmcia driver in
/proc/devices", and after card insertion the kernel will oops badly and then crash)
Comment 1 Adrian Bunk 2005-12-05 18:43:14 UTC

*** This bug has been marked as a duplicate of 5678 ***

Note You need to log in before you can comment on or make changes to this bug.