Trouble with 4GB Kingston CF and Ricoh RL5c476 Cardbus

David Pat Shui Fong vkelim at bigpond.com
Fri Jul 7 09:34:06 EDT 2006


Dear PCMCIA list,

I am having trouble with using my 4GB compact flash (Kingston Ultimate 100x)
in the compact flash slot of my Sharp Muramasa CV-50 (Ricoh RL5c476 Cardbus).

This has happened with the default SuSE kernel 2.6.16.13, and happens with 2.6.17.1,
2.6.17-mm5 and pcmciautils-013. The same problem does not seem to occur with a
Sandisk 512 MB card. The following error messages occur in /var/log/messages ...

 Jun 29 22:06:12 muramasa kernel: pccard: PCMCIA card inserted into slot 0
 Jun 29 22:06:12 muramasa kernel: cs: memory probe 0xa0000000-0xa0ffffff: clean.
 Jun 29 22:06:12 muramasa kernel: pcmcia: registering new device pcmcia0.0
 Jun 29 22:06:13 muramasa kernel: Probing IDE interface ide2...
 Jun 29 22:06:13 muramasa kernel: hde: CF500, CFA DISK drive
 Jun 29 22:06:13 muramasa kernel: hdf: probing with STATUS(0x50) instead of ALTSTATUS(0x0a)
 Jun 29 22:06:14 muramasa kernel: hdf:
  ......(variable number of blank lines)........
                   , ATA DISK drive
 Jun 29 22:06:14 muramasa kernel: ide2 at 0x3e0-0x3e7,0x3ee on irq 11
 Jun 29 22:06:14 muramasa kernel: hde: max request size: 128KiB
 Jun 29 22:06:14 muramasa kernel: hde: 8060928 sectors (4127 MB) w/1KiB Cache, CHS=15744/16/32
 Jun 29 22:06:14 muramasa kernel:  hde: hde1
 Jun 29 22:06:14 muramasa kernel: hdf: max request size: 512KiB
 Jun 29 22:06:44 muramasa kernel: hdf: lost interrupt

The kernel repeatedly reports 'hdf: lost interrupt'. 'hdf' does not really exist, of course.
Sometimes /proc/partitions shows that hde1 exists, but it cannot be mounted to a mountpoint.

I also tried to patch 2.6.17.1 with PCMCIA patches (published on this list in late June) and pcmciautils-014.

 Jul  7 22:12:46 muramasa kernel: spurious 8259A interrupt: IRQ7.
 Jul  7 22:13:40 muramasa kernel: pccard: PCMCIA card inserted into slot 0
 Jul  7 22:13:40 muramasa kernel: cs: memory probe 0xa0000000-0xa0ffffff: clean.
 Jul  7 22:13:40 muramasa kernel: pcmcia: registering new device pcmcia0.0
 Jul  7 22:13:40 muramasa kernel: ide2: I/O resource 0xCF59A00E-0xCF59A00E not free.
 Jul  7 22:13:40 muramasa kernel: ide2: ports already in use, skipping probe
  .... (many similar lines)
 Jul  7 22:13:41 muramasa kernel: ide2: I/O resource 0xCF59A01E-0xCF59A01E not free.
 Jul  7 22:13:41 muramasa kernel: ide2: ports already in use, skipping probe
 Jul  7 22:13:41 muramasa kernel: ide-cs: ide_register() at 0xcf59a000 & 0xcf59a00e, irq 4 failed
 Jul  7 22:13:41 muramasa kernel: pcmcia: Detected deprecated PCMCIA ioctl usage from process: hald.
 Jul  7 22:13:41 muramasa kernel: pcmcia: This interface will soon be removed from the kernel; please expect breakage unless you upgrade to new tools.
 Jul  7 22:13:41 muramasa kernel: pcmcia: see http://www.kernel.org/pub/linux/utils/kernel/pcmcia/pcmcia.html for details.
 Jul  7 22:14:08 muramasa kernel: pccard: card ejected from slot 0

And what follows is what I hope is the relevant section of lspci -vv ....

 00:09.0 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev 8d)
	Subsystem: Sharp corporation Unknown device 1043
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
	Latency: 168
	Interrupt: pin A routed to IRQ 11
	Region 0: Memory at 14000000 (32-bit, non-prefetchable) [size=4K]
	Bus: primary=00, secondary=03, subordinate=06, sec-latency=176
	Memory window 0: 10000000-11fff000 (prefetchable)
	Memory window 1: 12000000-13fff000
	I/O window 0: 00001800-000018ff
	I/O window 1: 00001c00-00001cff
	BridgeCtl: Parity- SERR- ISA- VGA- MAbort- >Reset- 16bInt+ PostWrite+
	16-bit legacy interface ports at 0001

 00:09.1 Class 0805: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 13)
	Subsystem: Sharp corporation Unknown device 1043
	Control: I/O- Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B-
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
	Interrupt: pin B routed to IRQ 3
	Region 0: Memory at e0004000 (32-bit, non-prefetchable) [size=256]
	Capabilities: [80] Power Management version 2
		Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0+,D1+,D2+,D3hot+,D3cold+)
		Status: D0 PME-Enable- DSel=0 DScale=2 PME-

I tried fiddling with /etc/pcmcia/config.opts, but to no avail. On the other hand,
I have little idea what I am doing! Any help would be appreciated!

Cheerio, David.

-- 
David Fong : Ivanhoe, 3079, Victoria, Australia.
http://www.users.bigpond.com/vkelim --- ICQ and PGP available
http://vkelim.smugmug.com (photo-gallery) --- SuSE 10.1



More information about the linux-pcmcia mailing list