Harddrive lockup

James W. Perry (jperry@orion.ac.hmc.edu)
Tue, 3 Aug 1999 19:47:19 -0700 (PDT)


I'm not on the mailing list, so please CC anything to my email address...

Ran into a weird bug today in the latest kernel (2.2.10).. I've been
running 2.2.5-15smp for a while now (came with RedHat 6), and finally
decided to upgrade (I'm hoping the networking bugs I hit are fixed).
Anyway, when I reboot into 2.2.10 the kernel halted at the line listed
below. Can't figure out why, I compiled everything into the kernel that
should be there. This computer doesn't quite support LBA mode, and my
harddrive's 5.1gb, so I'm using a bootdisk with LDLINUX.SYS. Anyway,
here's the line (note that this log is from my 2.2.5-15 kernel, since I
can't write to disk on the 2.2.10. I'm pretty sure they look exactly the
same, though.)

PIIX3: IDE controller on PCI bus 00 dev 39
PIIX3: not 100% native mode: will probe irqs later
ide0: BM-DMA at 0xfcb0-0xfcb7, BIOS settings: hda:pio, hdb:pio
hda: Maxtor 85120A8, ATA DISK drive
hdb: probing with STATUS(0x00) instead of ALTSTATUS(0x50)
hdb: probing with STATUS(0x00) instead of ALTSTATUS(0x50)
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hda: Maxtor 85120A8, 4884MB w/256kB Cache, CHS=10585/15/63
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
md driver 0.90.0 MAX_MD_DEVS=256, MAX_REAL=12
raid5: measuring checksumming speed
8regs : 219.075 MB/sec
32regs : 159.639 MB/sec
using fastest function: 8regs (219.075 MB/sec)
scsi : 0 hosts.
scsi : detected total.
md.c: sizeof(mdp_super_t) = 4096
Partition check:
hda: (computer freezes here)

In the 2.2.5-15 kernel, that last line reads "hda: hda1 hda2 hda3" (as it
should).

fdisk dump:
Using /dev/hda as default device!

The number of cylinders for this disk is set to 10585.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., LILO)
2) booting and partitioning software from other OSs
(e.g., DOS FDISK, OS/2 FDISK)

Command (m for help): p

Disk /dev/hda: 15 heads, 63 sectors, 10585 cylinders
Units = cylinders of 945 * 512 bytes

Device Boot Start End Blocks Id System
/dev/hda1 1 3 1386 83 Linux
/dev/hda2 4 281 131355 82 Linux swap
/dev/hda3 282 10585 4868640 83 Linux

/dev/hda3 is my boot partition. /dev/hda1 is for experimental stuff, but
I mount it manually so it can't be causing this mess.

I'm not on the mailing list, so please CC anything to my email address...

-jim

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/