couple of dumb questions
Mike Reinehr
cmr
Tue Jan 2 09:14:18 PST 2007
Ric,
On Sunday 31 December 2006 16:07, Ric Moore wrote:
> On Sun, 2006-12-31 at 16:19 -0500, Net Llama! wrote:
> > On Sun, 31 Dec 2006, Ric Moore wrote:
> > > Mine are defined by the bios as sata drives, but have no clue if they
> > > are being treated as pseudo SCSI drives or what. When I am at the
> > > kernel boot stage I see /dev/sda and /dev/sdb flash by. Check this from
> > > dmesg:
> > >
> > > SCSI device sda: 398294975 512-byte hdwr sectors (203927 MB)
> > > sda: Write Protect is off
> > > sda: Mode Sense: 00 3a 00 00
> > > SCSI device sda: drive cache: write back
> > > SCSI device sda: 398294975 512-byte hdwr sectors (203927 MB)
> > > sda: Write Protect is off
> > > sda: Mode Sense: 00 3a 00 00
> > > SCSI device sda: drive cache: write back
> > > sda: sda1 sda2
> > > sd 0:0:0:0: Attached scsi disk sda
> > >
> > > See?? This is what is first found.... although the order is buggered
> > > up, then I get this later on:
> >
> > What order is buggered up?
> >
> > > hda: ATAPI 48X DVD-ROM DVD-R CD-R/RW drive, 2048kB Cache, UDMA(66)
> > >
> > > at the last I see this, where the harddrive is still labeled as the
> > > first SATA device, instead of being the second.
> >
> > hda is your DVD drive. That looks normal to me.
>
> It's supposed to be /dev/sda and the harddrive /dev/sdb. That's the
> order they were installed as. When I first installed FC6 from scratch,
> the installer saw this and worked with it. No problems. Post install,
> the harddrive is treated as /dev/sda and the CD/DvD treated as /dev/hda/
> <boggles> Using the hd* scheme of things, the CD/DvD IS treated
> correctly as the first drive. Under FC5, everything was normal for
> awhile until a kernel upgrade and then it went into the dustbin. It's
> been like this ever since and Xine has a fit finding the Dvd as /dev/hda
> although the auto-mount pops up and asks what I want to do. Back when
> Xine saw /dev/sda and it all worked just fine. Ric
I gather from your replies that your HD is a sata drive, but it's not clear to
me whether your cd/dvd is sata or pata. In any case, I just came across an
article that may help us understand what your system is doing:
http://www.dell.com/downloads/global/power/ps1q07-20060392-Domsch.pdf
It's my understanding that all sata devices now (libata) are being treated as
scsi devices (as far as device naming & management) because they all support
the scsi command set. If your dvd drive is a PATA then it's device name will
continue to be hdx. The order in which devices are "discovered" will depend
upon whether your drivers are compiled in or loaded as modules, whether you
are using an initrd image, and your udev rules.
HTH!
cmr
--
Debian 'Etch': Registered Linux User #241964
"More laws, less justice." -- Marcus Tullius Ciceroca, 42 BC
More information about the Linux-users
mailing list