Skip to contentSkip to conversation

: Under 2.4.X hdparm displays device names backwards? ;)

PROBLEM Shawn Starr 3 participants 4 messages Jan 27, 2001

lore
Share & tools
lore
#0 lore raw

This is what the device names are:

hda: FUJITSU MPE3064AT, ATA DISK drive
hdb: WDC AC32500H, ATA DISK drive

here's what they are with hdparm:

dev/hda:

Model=UFIJST UPM3E60A4 T , FwRev=DE0--380,
SerialNo= 50256499

/dev/hdb:

Model=DW CCA2305H0 , FwRev=210.H721,
SerialNo=DWW-3T06418895 2

hehe, might wanna fix that ;-)

Shawn.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/

#1 lore raw
Quoted 8 lines · Shawn Starr

This is what the device names are:
hda: FUJITSU MPE3064AT, ATA DISK drive
hdb: WDC AC32500H, ATA DISK drive
here's what they are with hdparm:
Model=UFIJST UPM3E60A4 T , FwRev=DE0--380,
Model=DW CCA2305H0 , FwRev=210.H721,

hehe, might wanna fix that ;-)

This is correct behaviour.
You want hdparm -i not hdparm -I which reads info from the drive without doing endian changes.

regards,

Davej.

Signature · 7 lines
| Dave Jones.        http://www.suse.de/~davej
| SuSE Labs

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/
#2 lore raw

Re: [NOT PROBLEM]: Under 2.4.X hdparm displays device names backwards?;)

Oh, I never noticed that though. Yes, -i does display it correctly.

Quoted 15 lines · [email protected] wrote:
Quoted 8 lines · Shawn Starr

This is what the device names are:
hda: FUJITSU MPE3064AT, ATA DISK drive
hdb: WDC AC32500H, ATA DISK drive
here's what they are with hdparm:
Model=UFIJST UPM3E60A4 T , FwRev=DE0--380,
Model=DW CCA2305H0 , FwRev=210.H721,

hehe, might wanna fix that ;-)

This is correct behaviour.
You want hdparm -i not hdparm -I which reads info from the drive without doing endian changes.

Quoted 7 lines

regards,

Davej.

--
| Dave Jones. http://www.suse.de/~davej
| SuSE Labs

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/

#3 lore raw
In reply to Shawn Starr

-I is what is read directly off the drive, -i interprets it. IIRC, it's been this way for a while..or it's just that I've used 2.4 for a while :) In any case, it's byte swap issue. WD becomes "WDC AC" would become "DW CCA" , i.e. "WD", "C ", and "AC" etc.

-d

Quoted 17 lines · Shawn Starr

This is what the device names are:

hda: FUJITSU MPE3064AT, ATA DISK drive
hdb: WDC AC32500H, ATA DISK drive

here's what they are with hdparm:

dev/hda:

Model=UFIJST UPM3E60A4 T , FwRev=DE0--380,
SerialNo= 50256499

/dev/hdb:

Model=DW CCA2305H0 , FwRev=210.H721,
SerialNo=DWW-3T06418895 2

Quoted 8 lines

hehe, might wanna fix that ;-)

Shawn.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/

--
There is a natural aristocracy among men. The grounds of this are virtue and talents. Thomas Jefferson The good thing about standards is that there are so many to choose from. Andrew S. Tanenbaum

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/