couple of dumb questions
Ric Moore
wayward4now
Sun Dec 31 13:10:23 PST 2006
On Sun, 2006-12-31 at 11:46 -0800, Bill Campbell wrote:
> On Sun, Dec 31, 2006, Ric Moore wrote:
> >On Wed, 2006-12-27 at 19:23 +0800, Man-wai CHANG wrote:
> >> Bob Hemus wrote:
> >> > Seems to mew with Open Linux e2.4 all i had to do was drop a cd into the
> >> > tray and the music played?? Not so with SuSE 10.1. What do I need to
> >> > do except download each tune, extract it and then play with embedded
> >> > player? The other is to make /dev/hdc belong to me and not root. I
> >> > need to get to SU and mount /dev/hdc /mnt to get the tunes out of the
> >>
> >> I found that most DVD/CD automount doesn't usually work....
> >
> >I >think< I might have a clue on this...
> >It's the new kernel bunch having a go with us that have sata drives and
> >instead of being /dev/sda it's being turned into /dev/hda somehow
> >through udev or the kernel or something. This does sound kinda lame, but
> >I'm not an expert on the underpinnings of the kernel devel.
>
> This may have something to do with the BIOS as well. I've seen 64-bit
> Asus main boards that treat SATA drives as IDE, thus appear as /dev/hde
> and /dev/hdf to Linux. One of our systems is running SLES9-SP3 an Asus
> K8N where the SATA drives appear as /dev/hde and /dev/hdf while another
> is running SLES10 on an Asus A8N SLI Deluxe shows the SATA drives as
> /dev/sda, etc.
>
> I took me a while to figure out the /dev/hde stuff on the K8N as I was
> expecting the pseudo-scsi designations.
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:
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.
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
ata1.00: tag 0 cmd 0xb0 Emask 0x1 stat 0x51 err 0x4 (device error)
ata1: EH complete
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
ata1.00: tag 0 cmd 0xb0 Emask 0x1 stat 0x51 err 0x4 (device error)
ata1: EH complete
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
ata1.00: tag 0 cmd 0xb0 Emask 0x1 stat 0x51 err 0x4 (device error)
ata1: EH complete
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
ata1.00: tag 0 cmd 0xb0 Emask 0x1 stat 0x51 err 0x4 (device error)
ata1: EH complete
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
ata1.00: tag 0 cmd 0xb0 Emask 0x1 stat 0x51 err 0x4 (device error)
ata1: EH complete
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
ata1.00: tag 0 cmd 0xb0 Emask 0x1 stat 0x51 err 0x4 (device error)
ata1: EH complete
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
I'm a little confused by all of this. Whatever happened to plain
vanilla /etc/fstab running the show??? It's like being in the Twilight
Zone, while seated comfortably in an old Electra-Turbo Prop, looking out
on the wing and seeing some hairy figure ripping off the engine hatch
making sparks fly.
Even with dmesg, I don't know what to believe. I guess I could grab the
Sky Marshall's gun, open the emergency wing door hatch and shoot it. But
then I'd have to take the strapped down gurney ride and miss New Years,
so I'll refrain. I'll unlock this door with the key of imagination.
Beyond it is another dimension. A dimension of sound. A dimension of
sight. A dimension of mind. I'm moving into a land of both shadow and
substance... of things and ideas. I've just crossed over into
the ...Twilight Zone. <dah! dah! dah! daddada-duh!>
http://youtube.com/watch?v=NzlG28B-R8Y
<cackles> Happy New Years! Ric
--
================================================
My father, Victor Moore (Vic) used to say:
"There are two Great Sins in the world...
..the Sin of Ignorance, and the Sin of Stupidity.
Only the former may be overcome." R.I.P. Dad.
Linux user# 44256 Sign up at: http://counter.li.org/
http://www.sourceforge.net/projects/oar
http://www.wayward4now.net
================================================
More information about the Linux-users
mailing list