All of lore.kernel.org
 help / color / mirror / Atom feed
* pcmcia problem
@ 2002-11-19  6:14 Li Xiangrong
  0 siblings, 0 replies; 2+ messages in thread
From: Li Xiangrong @ 2002-11-19  6:14 UTC (permalink / raw)
  To: mlocke@mvista.com; +Cc: linuxppc-embedded@lists.linuxppc.org


Hello, mlocke,
    I am now porting the hhl to a custom board with pcmcia. However, I have trouble dealing with pcmcia and i write the mail for ur help.
	I configed the kernel with pcmcia module and then I compiled the kernel. I ported the kernel on my board and inserted the pcmcia card(a intel series 2+ flash card). Having started the cardmgr, i checked the stab of socket and got information that 'anonymous memory'.I checked the schematics of Powerpc 860 and pcmcia socket carefully and confirmed that the hardware platform is ok. Surely the problem happens on the drivers(or illegal kernel configuration).
	I checked in the maillist of ppclinux-embedded and got tips there. People discussed the same issue before. From the maillist, I got that:
		1. hhl should be patched: there's 2 hhl patch for pcmcia:'hhl-8xx_pcmcia-3.1.19.patch'and 'hhl-8xx-kernel_pcmcia.patch' .
		2. a conf file should be changed.'/etc/sysconfig/pcmcia' should be changed the i82365 to m8xx_pcmica.
	 I then checked the target system but found no sysconfig under the directory of /etc. And I can not find the patches on my hhl disk or on the monta vista zone. My question is :
	1. Are these two patches indispensable? Since I have configed the kernel with pcmcia support, must I re-install these 2 patches?
	2. How can I get these 2 patches? I have checked the disk and the hhl zone with no results. Where r they?
	Any suggestion is appreciated.


Best regards.

Li Xiangrong
lixiangrong@china.com
2002-11-19

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 2+ messages in thread
* PCMCIA problem
@ 2003-08-22  0:18 Stian Jordet
  0 siblings, 0 replies; 2+ messages in thread
From: Stian Jordet @ 2003-08-22  0:18 UTC (permalink / raw)
  To: Linux kernel

Hi,

I don't really know wether this is kernel problem, pcmcia-cs problem or
a hardware problem. I have a very, very cheap mmc/sc card -> pcmcia
converter. When I insert it, I get these messages:

cs: IO port probe 0x0c00-0x0cff: clean.
cs: IO port probe 0x0800-0x08ff: clean.
cs: IO port probe 0x0100-0x04ff: excluding 0x170-0x177 0x370-0x37f
0x3c0-0x3df 0x4d0-0x4d7
cs: IO port probe 0x0a00-0x0aff: clean.
hde: PCMCIA/SD ADAPTER, CFA DISK drive
hdf: probing with STATUS(0x50) instead of ALTSTATUS(0x0a)
hdf: PCMCIA/SD ADAPTER, CFA DISK drive
ide2 at 0x100-0x107,0x10e on irq 18
hde: max request size: 128KiB
hde: 125440 sectors (64 MB) w/1KiB Cache, CHS=490/8/32
 hde: hde1
hdf: max request size: 128KiB
hdf: 125440 sectors (64 MB) w/1KiB Cache, CHS=490/8/32
 hdf:hdf: status error: status=0x78 { DriveReady DeviceFault
SeekComplete DataRequest }
 
hdf: drive not ready for command
ide2: reset: success
hdf: status error: status=0x79 { DriveReady DeviceFault SeekComplete
DataRequest Error }
hdf: status error: error=0x79 { UncorrectableError SectorIdNotFound
AddrMarkNotFound }, LBAsect=7991417, sector=0
hdf: drive not ready for command
ide2: reset: success
hdf: status error: status=0x79 { DriveReady DeviceFault SeekComplete
DataRequest Error }
hdf: status error: error=0x79 { UncorrectableError SectorIdNotFound
AddrMarkNotFound }, LBAsect=7991417, sector=0
end_request: I/O error, dev hdf, sector 0
Buffer I/O error on device hdf, logical block 0
hdf: drive not ready for command
hdf: status timeout: status=0xe1 { Busy }
 
hdf: drive not ready for command
ide2: reset: success
hdf: status error: status=0x79 { DriveReady DeviceFault SeekComplete
DataRequest Error }
hdf: status error: error=0x79 { UncorrectableError SectorIdNotFound
AddrMarkNotFound }, LBAsect=7991417, sector=0
hdf: drive not ready for command
ide2: reset: success
hdf: status error: status=0x79 { DriveReady DeviceFault SeekComplete
DataRequest Error }
hdf: status error: error=0x79 { UncorrectableError SectorIdNotFound
AddrMarkNotFound }, LBAsect=7991417, sector=0
end_request: I/O error, dev hdf, sector 0
Buffer I/O error on device hdf, logical block 0
hdf: drive not ready for command
 unable to read partition table
ide-cs: hde: Vcc = 3.3, Vpp = 0.0
 hde: hde1

It seems to work perfect, but why on earth does it seem to try hdf for
anything? There is no card in the other slot? Anyone knows? It's the
same with 2.4.22-rc2 and 2.6.0-test3-latest-bk.

Best regards,
Stian


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-08-22  0:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-11-19  6:14 pcmcia problem Li Xiangrong
  -- strict thread matches above, loose matches on Subject: below --
2003-08-22  0:18 PCMCIA problem Stian Jordet

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.