Skip to contentSkip to conversation

2.4.0-test9 and HDD LED

DISCUSSION Russell Coker 2 participants 3 messages Nov 21, 2003

lore
Share & tools
lore
#0 lore raw

When running 2.4.0-test9 on my Thinkpad T20 the HDD LED usually stays on all the time. It seems random, some boots the LED will operate normally, but most boots the LED will go on continually.

The system otherwise operates normally (all the data is correctly read and written on the hard disk).

I have an IDE hard disk using DMA. I have attached the kernel config I am using (no patches were applied to the kernel source).

2.4.x kernels work perfectly on the same machine.

--

http://www.coker.com.au/selinux/   My NSA Security Enhanced Linux packages
http://www.coker.com.au/bonnie++/  Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/    Postal SMTP/POP benchmark
http://www.coker.com.au/~russell/  My home page
#1 lore raw
Quoted 3 lines · Russell Coker

When running 2.4.0-test9 on my Thinkpad T20 the HDD LED usually stays on all the time. It seems random, some boots the LED will operate normally, but most boots the LED will go on continually.

Is the HDD led separate from the floppy LED? On my thinkpad, they're one of the same.

If yes, I'd guess that you've built a kernel without floppy support built in. The kernel used to turn the floppy motor off itself even without floppy support, but this has been removed. IIRC it is now the responsibility of the boot loader to do this.

Signature · 4 lines
Russell King
 Linux kernel    2.6 ARM Linux   - http://www.arm.linux.org.uk/
 maintainer of:  2.6 PCMCIA      - http://pcmcia.arm.linux.org.uk/
                 2.6 Serial core
#2 lore raw
Quoted 7 lines · Russell King
Quoted 3 lines · Russell Coker

When running 2.4.0-test9 on my Thinkpad T20 the HDD LED usually stays on all the time. It seems random, some boots the LED will operate normally, but most boots the LED will go on continually.

Is the HDD led separate from the floppy LED? On my thinkpad, they're one of the same.

You are so smart! I never even looked at the side to see whether the floppy disk access light was on.

The floppy disk access light (that's part of the floppy drive) was on as well as the system disk access light (I almost never use the floppy drive).

Quoted 2 lines

If yes, I'd guess that you've built a kernel without floppy support built in.

You are correct. "modprobe floppy" restored the operation of the disk access light to normal.

Quoted 3 lines

The kernel used to turn the floppy motor off itself even without floppy support, but this has been removed. IIRC it is now the responsibility of the boot loader to do this.

Hmm. LILO bug then I guess.

Signature · 4 lines
http://www.coker.com.au/selinux/   My NSA Security Enhanced Linux packages
http://www.coker.com.au/bonnie++/  Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/    Postal SMTP/POP benchmark
http://www.coker.com.au/~russell/  My home page