Promise SATA300/TX4 and SATA DVD

Keith Mitchell kmitch at guru.org
Tue Oct 2 12:24:11 PDT 2007


I'm trying to get a SATA DVD-ROM drive in an older system (Athlon-XP 
vintage) and can't seem to get anything that works 100% correct.  I've 
tried connecting the drive to various SiL chipset sata controllers (they 
have builtin raid0/1) and the card bios sees the drive and freebsd sees 
the drive fine.  But the system bios always tries to boot off of the 
drive whether there is a drive in there or not.  I think this is because 
these cards list the DVD drive in the bios list before my actual hard drive.

So, then I bought a Promise SATA300/TX4 card that doesn't do RAID and it 
seems to interact with the system bios just fine.  But... FreeBSD 
doesn't detect the DVD drive on the controller even though FreeBSD sees 
the controller and the card bios sees the drive and can boot off it.

I'm running 6.2-STABLE from about 2 weeks ago.  I looked and didn't see 
any ata driver updates so I think I have the latest on the RELENG_6 
tree.  I also booted in verbose mode and didn't see anything too obvious 
but the messages are below...  Does the driver for this card not support 
atapi devices?


atapci0: <Promise PDC40718 SATA300 controller> port 
0xc400-0xc47f,0xc800-0xc8ff mem 0xe9825000-0xe9825fff,
0xe9800000-0xe981ffff irq 17 at device 9.0 on pci1
pci1: child atapci0 requested type 4 for rid 0x20, but the BAR says it 
is an memio
atapci0: [MPSAFE]
atapci0: Reserved 0x20000 bytes for rid 0x20 type 3 at 0xe9800000
atapci0: Reserved 0x1000 bytes for rid 0x1c type 3 at 0xe9825000
atapci0: [MPSAFE]
ata2: <ATA channel 0> on atapci0
ata2: SATA connect ready time=0ms
ata2: sata_connect devices=0x1<ATA_MASTER>
ata2: [MPSAFE]
ata3: <ATA channel 1> on atapci0
ata3: SATA connect status=00000000
ata3: [MPSAFE]
ata4: <ATA channel 2> on atapci0
ata4: SATA connect status=00000000
ata4: [MPSAFE]
ata5: <ATA channel 3> on atapci0
ata5: SATA connect status=00000000

I think the DVD drive is connected to Port3... not sure how that 
corresponds to the ATA channels.  My gues is that ata2 is where it 
should be since it mentions "sata connect devices = 0x1".




More information about the freebsd-stable mailing list