Re: Disk spin down issue on shut down/suspend to disk

2007-08-08 Thread Michael Sedkowski
Dnia 07-08-2007, Wt o godzinie 23:28 +0200, Maciej Rutecki napisał(a): > > > Well, on my box (nx6325) with the appended (experimental) patch applied > > > on top of 2.6.23-rc1 with the patchset from > > > > s/2.6.23-rc1/2.6.23-rc2/ > > > > HP nx 6310, _old_ shutdown 2.6.23-rc2+above patches: > >

Re: Disk spin down issue on shut down/suspend to disk

2007-08-07 Thread Michael Sedkowski
I did some additional checking today... On kernels prior to 2.6.22 line, the bug exists and manifests itself exactly the same way. However, when I removed the "-h" flag from /etc/init.d/halt, the drive spins down only once on "Power down" message and there is no sign of the bug and the emergency un

Re: Disk spin down issue on shut down/suspend to disk

2007-08-07 Thread Michael Sedkowski
Dnia 07-08-2007, Wt o godzinie 15:56 +0900, Tejun Heo napisał(a): > You can test it by forcefully powering off the > machine (press power button for several secs or disconnect AC and > battery) and see whether the count increases. Forgot to mention that double spin down does not happen when the l

Re: Disk spin down issue on shut down/suspend to disk

2007-08-07 Thread Michael Sedkowski
Dnia 07-08-2007, Wt o godzinie 15:56 +0900, Tejun Heo napisał(a): > 192 Power-Off_Retract_Count 0x0032 100 100 000Old_age > Always - 388 > > I think this is the one. You can test it by forcefully powering off > the > machine (press power button for several secs or disconnect

Re: Disk spin down issue on shut down/suspend to disk

2007-08-06 Thread Michael Sedkowski
Dnia 07-08-2007, Wt o godzinie 03:43 +0900, Tejun Heo napisał(a): > Does emergency unload count increase > after each power down? I think I got it. Using smartctl I've done a test and shut down, then repeted the test. The only values that where diffrent are temperatures and Hardware_ECC_Recovered

Re: Disk spin down issue on shut down/suspend to disk

2007-08-06 Thread Michael Sedkowski
Dnia 07-08-2007, Wt o godzinie 03:43 +0900, Tejun Heo napisał(a): > Oh... crap, so acpi wants to sync cache on shutdown. I wonder whether > it spins down the disk correctly. Does emergency unload count increase > after each power down? Also, please post the result of 'dmidecode'. > > Thanks. >

Re: Disk spin down issue on shut down/suspend to disk

2007-08-06 Thread Michael Sedkowski
Dnia 07-08-2007, Wt o godzinie 02:03 +0900, Tejun Heo napisał(a): > Rafael J. Wysocki wrote: > >>> Sidux is a Debian Unstable based distro with it's own set of patches > >>> including the shut down patch provided here: > >>> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=426224 > >> You'll probab

Re: Disk spin down issue on shut down/suspend to disk

2007-08-06 Thread Michael Sedkowski
Dnia 06-08-2007, Pn o godzinie 12:01 -0300, Henrique de Moraes Holschuh napisał(a): > On Mon, 06 Aug 2007, Michael Sedkowski wrote: > > Dnia 06-08-2007, Pn o godzinie 11:23 -0300, Henrique de Moraes Holschuh > > napisa??(a): > > > On Mon, 06 Aug 2007, Tejun Heo wrote: >

Re: Disk spin down issue on shut down/suspend to disk

2007-08-06 Thread Michael Sedkowski
Dnia 06-08-2007, Pn o godzinie 11:23 -0300, Henrique de Moraes Holschuh napisał(a): > On Mon, 06 Aug 2007, Tejun Heo wrote: > > Cc'ing Henrique. Any ideas? > > Check if /etc/init.d/halt is calling halt(8) with the -h flag. If it is, > remove that -h flag. Usually, there is a hddown variable tha

Re: Disk spin down issue on shut down/suspend to disk

2007-08-06 Thread Michael Sedkowski
Some additional info: As I stated before I'm using a patched sysvinit package with patch from Debian bug 426224 with provide a patched hddown.c. http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=426224 Michael - To unsubscribe from this list: send the line "unsubscribe linux-ide" in the body of