where is the address from?

Holger Schurig <[email protected]> Fri, 31 Jan 2003 14:09:01 +0100
Newsgroups gmane.linux.pcmcia.devel
Message-ID <[email protected]>
I have two systems here, one is a developer board with Linux 2.4.18-rmk7-pxa3, 
one is a roll-your-own-board with Linux 2.4.19-rmk4-pxa2.

In many aspects the boards have similar hardware. However, at this point of 
time not all hardware components of our own board have been tested.


One problem I have now is when I insert some ATA compact flash PCMCIA card 
into the (working) developer board, I see:

cardmgr[212]: initializing socket 0
cardmgr[212]: socket 0: ATA/IDE Fixed Disk
cardmgr[212]:   product info: "KINGSTON TECHNOLOGY ATA CARD", "V1.00"
cardmgr[212]:   manfid: 0x0007, 0x0000  function: 4 (fixed disk)
cardmgr[212]: executing: 'modprobe ide-cs'
cardmgr[212]: + Trying to free nonexistent resource <f6000000-f600000f>
hda: Hitachi CV 6.1.2, ATA DISK drive
ide0 at 0xf6000008-0xf600000f,0xf600000e on irq 41
hda: 47232 sectors (24 MB) w/1KiB Cache, CHS=369/4/32
Partition check:
 /dev/ide/host0/bus0/target0/lun0: p1
ide_cs: hda: Vcc = 5.0, Vpp = 0.0
cardmgr[212]: executing: './ide start hda'
...

Now, when I insert the same card into our own board, I see almost the same....  
but note that first the addresses (after "ide 0 at 0x...") are different. And 
that secondly it did not read any partition table:

cardmgr[256]: initializing socket 0
cardmgr[256]: socket 0: ATA/IDE Fixed Disk
cardmgr[256]:   product info: "KINGSTON TECHNOLOGY ATA CARD", "V1.00"
cardmgr[256]:   manfid: 0x0007, 0x0000  function: 4 (fixed disk)
cardmgr[256]: executing: 'modprobe ide-cs'
probing for hda: present=0, media=32, probetype=ATA
hda: Hitachi CV 6.1.2, ATA DISK drive
ide0 at 0xf6000000-0xf6000007,0xf600000e on irq 41
ide_cs: hda: Vcc = 3.3, Vpp = 0.0
cardmgr[256]: executing: './ide start hda'
...

As you see, the range of the working environment is from 8..f and from the 
not-working from 0-7. So, where does the address come?  I don't have any idea 
on how I can debug this one.



-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com