hdparm oder Kernel - wer sagt die Wahrheit?
Hallo miteinander,
zwei hdparm-Aufrufe - zwei Ergebnisse - soweit es die Plattengeometrie
betrifft:
root@gitti:~# hdparm /dev/hda
/dev/hda:
multcount = 16 (on)
IO_support = 1 (32-bit)
unmaskirq = 1 (on)
using_dma = 1 (on)
keepsettings = 0 (off)
readonly = 0 (off)
readahead = 256 (on)
geometry = 65535/16/63, sectors = 78165361, start = 0
root@gitti:~# hdparm -I /dev/hda
/dev/hda:
ATA device, with non-removable media
Model Number: ST340823A
Serial Number: 7EF0Y1ET
Firmware Revision: 3.05
Standards:
Supported: 4 3 2
Likely used: 6
Configuration:
Logical max current
cylinders 16383 4047
heads 16 16
sectors/track 63 255
--
CHS current addressable sectors: 16511760
LBA user addressable sectors: 78165360
Anlass der Nachforschung: Diese Fehlermeldung hier taucht nur beim Booten
auf:
ide1 at 0x170-0x177,0x376 on irq 15
hda: max request size: 128KiB
hda: Host Protected Area detected.
current capacity is 78165360 sectors (40020 MB)
native capacity is 78165361 sectors (40020 MB)
hda: Host Protected Area disabled.
hda: 78165361 sectors (40020 MB) w/1024KiB Cache, CHS=65535/16/63, UDMA(100)
hda: hda1 hda2
hdc: ATAPI 48X DVD-ROM drive, 512kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.20
hda: dma_intr: status=0x51 { DriveReady SeekComplete Error }
hda: dma_intr: error=0x10 { SectorIdNotFound }, LBAsect=78165360, sector=78165360
ide: failed opcode was: unknown
Die Platte hat 0 reallocated Blocks, badblocks findet nichts, es ist ein
80-poliges Kabel an der Platte, sie ist das einzige Gerät am Bus und
eigentlich ist alles bestens.
Das Board ist ein ASROCK K7S8X Bios 2.60. Der Kernel ein 2.6.17
plain vanilla und das System Debian-Etch.
Bei der Angabe "sector=78165360" wird man stutzig. Das ist der letzte vom
User benutzbare Sektor der Platte - vorausgesetzt man fängt bei 1 zu
zählen an. Irgendwer sagt hier also dem Kernel nicht ganz die Wahrheit.
Oder ist hier noch ein Kernel-Bug beim Abschalten der HPA vergraben?
t++
Reply to: