Re: PCI device driver vs SCSI device driver

From: Josef Möllers (josef.moellers_at_fujitsu-siemens.com)
Date: 03/16/04


Date: Tue, 16 Mar 2004 08:58:22 +0100

tcs wrote:

> Can you show me some links to sources where PCI/SCSI drivers reside in
> the the driver? Or, this sentence is ill framed. If you get what I mean,
> please show me where to find related sources.

If we add your question about PCI vs SCSI, then:
you're talking about three different levels. Simply speaking:

PCI is the thingy where you plug SCSI host adapters (the whitish slots
on the motherboard) There are motherboards which support hotplugging on
the PCI bus. It requires powering down the PCI slot as well as isolating
the entire slot from the PCI bus.

SCSI is the bus which comes out of the SCSI host adapter. Although not
standardized (AFAIK), you can often hotplug SCSI devices (e.g. hard disk
drives) and this is used by most if not all SCSI-RAID controllers to
implement hotswappable devices (if a drive fails, the controller
replaces it by another, spare drive, and the broken drive can be
extracted and replaced by a new drive without stopping the system or
halting the RAID subsystem. The controller will (autonomously or with
manual intervention) detect the replacement and mark the new drive as
spare). The SCSI bus is pretty robust and the SCSI protocol is capable
of handling short interruptions on the bus.

E.g. a floppy drive, an MO disk, a CDROM drive attached to the SCSI bus
are removable media. While the drives themselves stay on the SCSI bus
(and continue to respond to SCSI commands), the media can be removed and
inserted more or less at will and the drives will respond with
appropriate status messages.

HTH,

Josef

-- 
Josef Möllers (Pinguinpfleger bei FSC)
	If failure had no penalty success would not be a prize
						-- T.  Pratchett


Relevant Pages

  • Re: Problem with U320 drive, high byte termination required?
    ... I only use my PC's SCSI cards to perform maintenance upon ... the drives I fit to samplers. ... termination was only required when connecting narrow devices to wide SCSI ... If you connect a narrow device to a wide bus there ...
    (comp.periphs.scsi)
  • Re: Dual hosting SCSI devices
    ... The requirement on adapters is that your adapters must allow specifying ... the SCSI id of the adapter itself. ... So, a SCSI bus is a single, unbranched ... There was an SCSI driver that you needed to do it with SCSI rather than DSSI or RA type drives to use DSSI or RA if I recall correctly) ...
    (comp.os.linux.setup)
  • Re: Ultra 5/10 vs Ultra 60 for workstation.
    ... max 2 drives per channel, with one drive on a channel you get 33MB/s for that drive, which is definately not U320 performance, but more than many IDE hard disks more than two years old can manage. ... In fact, I have a dual Sun SCSI card here, which I had to remove from my Ultra 80 when I run out of PCI slots. ... More RAM slots, so you are less likely to need to get rid of ram in order to add RAM. ...
    (comp.sys.sun.hardware)
  • Re: how to make fixed Direct Access device (da) ID
    ... For example, boot system with a SCSI drive, will have a ... If boot system with both drives online, ... This assigns SCSI bus number 0 to the ahd1 driver instance. ...
    (freebsd-questions)
  • Re: Compaq SCSI drives, Convertors and AHA-2940 PCI cards HELP??!
    ... board) connector lead. ... Compaq 9.1 GB Wide Ultra Scsi3 Drives, ... it provides a power connector, configuration jumpers (for the SCSI ID, ... a narrow bus and one for a wide bus. ...
    (comp.periphs.scsi)