2003-06-29 14:42:26

by Michael Buesch

[permalink] [raw]
Subject: IDE-disk spindown fails

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi.

I have a problem spinning down my Western Digital 80GB harddisk.
root@server:~> cat /proc/ide/hdc/model
WDC WD800BB-00CAA1

Neither hdparm -S nor noflushd is able to spin down this disk.

The machine is a very old Pentium 1 machine. It's BIOS doesn't
recognize this new (I've bought it a few days ago) harddisk.
So I've set this IDE-channel to "none" in the BIOS to avoid
very long searches on this channel from BIOS while booting.

Reading and writing on the disk works quite fine.

/dev/hda is the drive, the system is installed on.
It's a very old 2GB Quantum drive.
root@server:~> cat /proc/ide/hda/model
QUANTUM FIREBALL_TM2110A

The BIOS recognizes it and I'm able to spindown it.


Does linux depend on the BIOS when spinning down?

root@server:~> cat /proc/version
Linux version 2.4.21 (mb@lfs) (gcc-Version 3.3.1 20030519 (prerelease)) #2 Son Jun 15 13:08:42 CEST 2003

If you want me to run any tests on the machine, or if you
want some information, I've not given, just ask, please.

- --
Regards Michael B?sch
http://www.8ung.at/tuxsoft
16:45:47 up 5:54, 4 users, load average: 1.05, 1.04, 1.08

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+/v4goxoigfggmSgRAmnuAJ9z+ih7RLTZm4xPvk2k0a8Ia4wz9QCfckcI
onkajeTZ37uxFsjmSBmgVIc=
=PgqV
-----END PGP SIGNATURE-----


2003-06-29 17:58:38

by John Bradford

[permalink] [raw]
Subject: Re: IDE-disk spindown fails

> I have a problem spinning down my Western Digital 80GB harddisk.
> root@server:~> cat /proc/ide/hdc/model =20
> WDC WD800BB-00CAA1
>
> Neither hdparm -S nor noflushd is able to spin down this disk.

I've seen disks that don't spin down when set with a timeout using
hdparm -S, that do spin down when given an hdparm -y command,
(I.E. they spin down immediately).

Does hdparm -y cause your disk to spin down?

> The machine is a very old Pentium 1 machine. It's BIOS doesn't
> recognize this new (I've bought it a few days ago) harddisk.
> So I've set this IDE-channel to "none" in the BIOS to avoid
> very long searches on this channel from BIOS while booting.

Good idea.

> Reading and writing on the disk works quite fine.

Good.

> /dev/hda is the drive, the system is installed on.
> It's a very old 2GB Quantum drive.
> root@server:~> cat /proc/ide/hda/model=20
> QUANTUM FIREBALL_TM2110A
>
> The BIOS recognizes it and I'm able to spindown it.
>
>
> Does linux depend on the BIOS when spinning down?

No.

> root@server:~> cat /proc/version=20
> Linux version 2.4.21 (mb@lfs) (gcc-Version 3.3.1 20030519 (prerelease))=
> #2 Son Jun 15 13:08:42 CEST 2003
>
> If you want me to run any tests on the machine, or if you
> want some information, I've not given, just ask, please.

Test whether hdparm -y works - it should spin the disk down
immediately.

John.

2003-06-29 18:25:49

by Michael Buesch

[permalink] [raw]
Subject: Re: IDE-disk spindown fails

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Sorry, I found out, that it's not a kernel problem.
It's a problem with the userspace noflushd daemon.

On Sunday 29 June 2003 16:56, Michael Buesch wrote:
> Hi.
>
> I have a problem spinning down my Western Digital 80GB harddisk.
> root@server:~> cat /proc/ide/hdc/model
> WDC WD800BB-00CAA1
>
> Neither hdparm -S nor noflushd is able to spin down this disk.
>
> The machine is a very old Pentium 1 machine. It's BIOS doesn't
> recognize this new (I've bought it a few days ago) harddisk.
> So I've set this IDE-channel to "none" in the BIOS to avoid
> very long searches on this channel from BIOS while booting.
>
> Reading and writing on the disk works quite fine.
>
> /dev/hda is the drive, the system is installed on.
> It's a very old 2GB Quantum drive.
> root@server:~> cat /proc/ide/hda/model
> QUANTUM FIREBALL_TM2110A
>
> The BIOS recognizes it and I'm able to spindown it.
>
>
> Does linux depend on the BIOS when spinning down?
>
> root@server:~> cat /proc/version
> Linux version 2.4.21 (mb@lfs) (gcc-Version 3.3.1 20030519 (prerelease)) #2
> Son Jun 15 13:08:42 CEST 2003
>
> If you want me to run any tests on the machine, or if you
> want some information, I've not given, just ask, please.

- --
Regards Michael B?sch
http://www.8ung.at/tuxsoft
20:38:10 up 9:47, 2 users, load average: 0.00, 0.00, 0.00

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+/zJ8oxoigfggmSgRAo5YAJ4pZSWP+P6TIaBPeMZD5/8WywUiMQCfSDhu
156C96aWSa6ayS3E65WKtzA=
=FA5h
-----END PGP SIGNATURE-----