View Single Post
  #4   (View Single Post)  
Old 18th May 2011
shep shep is offline
Real Name: Scott
Arp Constable
 
Join Date: May 2008
Location: Dry and Dusty
Posts: 1,503
Default

From a March 9 Post

Quote:
BSDfan666's Avatar
BSDfan666 BSDfan666 is offline
Real Name: N/A, this is the interweb.
Helpful companion

Join Date: Apr 2008
Location: Ontario, Canada
Posts: 2,024
Thanked 193 Times in 184 Posts
Default
OpenBSD has a single PCI IDE driver for multiple vendors/chipsets, this includes SATA controllers in PCI IDE mode (..instead of AHCI).

The driver is full of quirks for initilizating all sorts devices, setting up channels, etc.. and there are buggy/undocumented chipsets out there that don't work properly as-is.

If you want to get this resolved, send a bug report using sendbug(1) or send an email to bugs@ or even tech@.

This is not an issue with documentation, it is an issue with your chipset.
Quote:
ATAPISCSI(4) OpenBSD Programmer's Manual ATAPISCSI(4)

NAME
atapiscsi - ATAPI<->SCSI adapter

SYNOPSIS
atapiscsi* at wdc? flags 0x0000
atapiscsi* at pciide? flags 0x0000
scsibus* at atapiscsi?

DESCRIPTION
The atapiscsi driver supports ATAPI (also called IDE) devices such as CD-
ROMs, ZIP drives, LS-120 floppy drives, and tape drives. All ATAPI
devices talk a subset of the SCSI protocol.

The atapiscsi driver acts like a SCSI adapter. Thus, the ATAPI devices
connected to the system will appear as SCSI devices. ATAPI CD-ROMs will
appear as cd(4) devices, ATAPI tape drives as st(4) devices, and ATAPI
floppies as sd(4) devices.

For performance reasons, one should avoid putting an ATAPI device and a
hard disk on the same cable. The driver does not support bus release
and, even if it did, many ATAPI devices do not support it. There is only
one command outstanding on a cable at a time. For example, if a hard
disk and a CD drive are placed on the same cable, the hard disk requests
may get queued behind slower CD operations.

The flags are used only with controllers that support DMA operations and
mode settings (like some pciide(4) controllers). The lowest order
(rightmost) nibble of the flags define the PIO mode to use. The next
four bits indicate the DMA mode and the third nibble the UltraDMA mode.

For each set of four bits, the 3 lower bits define the mode to use and
the last bit must be set to 1 for this setting to be used. For DMA and
UltraDMA, 0xf (1111) means ``disable''. For example, a flags value of
0x0fac (1111 1010 1100) means ``use PIO mode 4, DMA mode 2, disable
UltraDMA''. The special setting 0x0000 means ``use whatever the drive
claims to support''.

SEE ALSO
cd(4), intro(4), pciide(4), scsi(4), sd(4), st(4), wdc(4)

BUGS
Slow devices, like tape drives, could do a better job of sharing the
channel. For now, we recommend you put the tape device on its own
channel.

OpenBSD 4.9 May 31, 2007 OpenBSD 4.9

The original poster did not give information on his motherboards chipset but having struggled with this previously and finding the bios settings were the key to making the install I gave the advice I did.
__________________
Reply With Quote