2003-11-21 02:27:15

by Russell Coker

[permalink] [raw]
Subject: 2.4.0-test9 and HDD LED

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


Attachments:
(No filename) (732.00 B)
config-2.6.0.gz (8.66 kB)
Download all attachments

2003-11-21 08:20:34

by Russell King

[permalink] [raw]
Subject: Re: 2.4.0-test9 and HDD LED

On Fri, Nov 21, 2003 at 01:27:00PM +1100, Russell Coker wrote:
> 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.

--
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

2003-11-21 08:30:40

by Russell Coker

[permalink] [raw]
Subject: Re: 2.4.0-test9 and HDD LED

On Fri, 21 Nov 2003 19:20, Russell King <[email protected]> wrote:
> On Fri, Nov 21, 2003 at 01:27:00PM +1100, Russell Coker wrote:
> > 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).

> 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.

> 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.

--
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