Skip to contentSkip to conversation

hdparm lockup

IDE bug Andrew Morton 3 participants 3 messages Jul 25, 2002

lore
Share & tools
lore
#0 lore raw

2.5.28, uniprocessor

00:0f.1 IDE interface: Intel Corporation 82371AB PIIX4 IDE (rev 01)

quad:/home/akpm> 0 hdparm -i /dev/hdc

/dev/hdc:
HDIO_GETGEO_BIG failed: Invalid argument
(what's this?)

Model=Maxtor 96147H6, FwRev=ZAH814Y0, SerialNo=V60JT12C Config={ Fixed }
RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=57 BuffType=DualPortCache, BuffSize=2048kB, MaxMultSect=16, MultSect=off CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=120064896 IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120} PIO modes: pio0 pio1 pio2 pio3 pio4
DMA modes: mdma0 mdma1 mdma2 udma0 udma1 *udma2 udma3 udma4 udma5 Drive Supports : Reserved : ATA-1 ATA-2 ATA-3 ATA-4 ATA-5 ATA-6 Kernel Drive Geometry LogicalCHS=7473/255/63

The command

	hdparm -d1 -A1 -m16 -u1 -a64 /dev/hdc

freezes the machine.

#1 lore raw
Quoted 9 lines · Andrew Morton

2.5.28, uniprocessor

00:0f.1 IDE interface: Intel Corporation 82371AB PIIX4 IDE (rev 01)

quad:/home/akpm> 0 hdparm -i /dev/hdc

/dev/hdc:
HDIO_GETGEO_BIG failed: Invalid argument
(what's this?)

Please don't call every bug out there IDE. Thanks. Becouse this one is acutally most likely due to the ioctl() handling changes between 27 and 28...

Quoted 12 lines

Model=Maxtor 96147H6, FwRev=ZAH814Y0, SerialNo=V60JT12C Config={ Fixed }
RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=57 BuffType=DualPortCache, BuffSize=2048kB, MaxMultSect=16, MultSect=off CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=120064896 IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120} PIO modes: pio0 pio1 pio2 pio3 pio4
DMA modes: mdma0 mdma1 mdma2 udma0 udma1 *udma2 udma3 udma4 udma5 Drive Supports : Reserved : ATA-1 ATA-2 ATA-3 ATA-4 ATA-5 ATA-6 Kernel Drive Geometry LogicalCHS=7473/255/63

Quoted 3 lines

The command

	hdparm -d1 -A1 -m16 -u1 -a64 /dev/hdc

Maybe indeed IDE or maybe as well the READA code or simple related to the above error. I will recheck after I get 2.5.28 up and running.

#2 lore raw
In reply to Andrew Morton
Quoted 5 lines · Andrew Morton

quad:/home/akpm> 0 hdparm -i /dev/hdc

/dev/hdc:
HDIO_GETGEO_BIG failed: Invalid argument
(what's this?)

Your hdparm uses an ioctl that doesnt exist (anymore). Change to HDIO_GETGEO.

Quoted 5 lines

The command

	hdparm -d1 -A1 -m16 -u1 -a64 /dev/hdc

freezes the machine.

There I cannot help.