Problems with init of Marvell PCI Express SATA Card
I am running a relatively recent 2.6.20 Linux kernels running on both an Intel x86 (XEON) as well as one a embedded powerPC target (MPC8548E).
I believe my PCI Express interface is working correctly on both the embedded target as well as - of course - on the XEON platform (I have other cards that I have working correctly).
The problem is that this Marvell PCI Express SATA Card is NOT being probed and thus, the SATA/ATA host interface is NOT being initialized, and thus the drive is NOT being detected/added able to be mounted...
I have more (in)sight into the embedded platform, and the SATA module is being built into /loaded by the kernel (it does a pci_device_register()), but nothing happens after that - I see before that the card IS being seen on the BUS - I can do a "lspci" after that - and the device is on the PCI bus...
I should also add that I have the identical card on the PCI bus (6042 chip) and the driver works flawlessly...
What am I doing wrong? Do I need to have the PCI ids in the kernel match identically what is on pci express sata card device?
Heck, if there is a PCI device register - why isn't there an associated probe - no matter what?
I apologze if my question is a little naive, I am not a PCI expert - I was hoping that this would go smoothly enough that I wouldn't need to become one!
thanks in advance for all your wisdom!
Sincerely,
Tom Morrison
Principal Software Engineer
EMPIRIX
20 Crosby Drive - Bedford, MA 01730
p: 781.266.3567 f: 781.266.3670
email: [email protected] www.empirix.com
Quoted 3 lines
What am I doing wrong? Do I need to have
the PCI ids in the kernel match identically
what is on pci express sata card device?
And driver support which may or may not be present depending on the card.
Alan
Alan,
Where do I look in the kernel to see if there is 'driver support' present based upon the card?
As I mentioned as well, the same driver is used for the PCI Driver (using 6042 chip). So, at some level, the support is there.
The key is does Linux *Kernel* support for PCI Express have support for this card? Which goes back to the initial question - where/how do I look to see if it does????
thanks Alan for any more insight!
Tom
-----Original Message-----
Quoted 8 lines
Quoted 8 lines
Alan Wrote:
Quoted 4 lines
Tom Wrote:
What am I doing wrong? Do I need to have
the PCI ids in the kernel match identically
what is on pci express sata card device?And driver support which may or may not be present depending on the card.
Quoted 5 lines · On Fri, 23 Feb 2007 18:21:26 -0500 "Tom Morrison" <[email protected]>…
Alan,
Where do I look in the kernel to see if there is 'driver support' present based upon the card?
Quoted 8 lines
As I mentioned as well, the same driver is used for the PCI Driver (using 6042 chip). So, at some level, the support is there.
The key is does Linux *Kernel* support for PCI Express have support for this card? Which goes back to the initial question - where/how do I look to see if it does????
PCI Express looks like PCI so generally there isn't specific support needed. The Marvell driver supports the 6101 and 6145 chipsets for PATA and for SATA the sata_mv driver supports the 5040, 5041, 5080, 5081, 6040, 6041, 6042, 6080, 6081.
Alan
Alan,
Where are you looking for sata_mv driver support.
if you look in the sata_mv.c it has support for the 7042 throughout it (exactly the same as PCI in fact - its the same core chip - just different bus interface)...
but agreed an unknown device in the pci ids...or is there another place where I should be looking for 7042 support?
or does it look in pci ids & if it doesn't know the registered device type (chip) - it doesn't probe it - even if it does a pci_register_device()?
????
I am sorry for being so Naive here - but obviously there is a disconnect here (there is some PEBKAC...:-)
t
-----Original Message-----
From: Alan [mailto:[email protected]]
Quoted 5 lines
Quoted 5 lines
PCI Express looks like PCI so generally there isn't specific support needed. The Marvell driver supports the 6101 and 6145 chipsets for PATA and for SATA the
sata_mvdriver supports the 5040, 5041, 5080, 5081, 6040, 6041, 6042, 6080, 6081.
Alan
Quoted 3 lines
if you look in the
sata_mv.cit has support for the 7042 throughout it (exactly the same as PCI in fact - its the same core chip - just different bus interface)...
For the 7042 with the TTI PCI identifier but not one with a Marvell ID - what vendor/device does your device show up ?
The probe code uses the table in each driver to do matches. For the 7042 the only version it knows is
{ PCI_VDEVICE(TTI, 0x2310), chip_7042 },
got it! thank you for showing the error of my way... and being so patient with me! damm, that means I gotta work this weekend...:-)...
-----Original Message-----
From: Alan [mailto:[email protected]]
Sent: Friday, February 23, 2007 8:18 PM
To: [email protected]
Cc: [email protected]
Subject: Re: Problems with init of Marvell PCI Express SATA Card
Quoted 3 lines
if you look in the
sata_mv.cit has support for the 7042 throughout it (exactly the same as PCI in fact - its the same core chip - just different bus interface)...
For the 7042 with the TTI PCI identifier but not one with a Marvell ID - what vendor/device does your device show up ?
The probe code uses the table in each driver to do matches. For the 7042 the only version it knows is
{ PCI_VDEVICE(TTI, 0x2310), chip_7042 },