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

2007-09-09 Thread Rafael J. Wysocki
On Sunday, 9 September 2007 11:20, Maciek Rutecki wrote: > Rafael J. Wysocki pisze: > >> Shutdown is completely broken on HP NX6??? laptops. > > > > It's not completely broken, it just handles disks incorrectly and we are not > > sure whether or not there are any serious consequences of that. Mor

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

2007-09-09 Thread Maciek Rutecki
Rafael J. Wysocki pisze: >> Shutdown is completely broken on HP NX6??? laptops. > > It's not completely broken, it just handles disks incorrectly and we are not > sure whether or not there are any serious consequences of that. Moreover, > it has happened for a long time now, AFAICT, so that's not

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

2007-09-08 Thread Rafael J. Wysocki
On Saturday, 8 September 2007 17:32, Michal Piotrowski wrote: > Hi, > > On 05/08/2007, Michał sed <[EMAIL PROTECTED]> wrote: > > Greetings > > > > I'm experiencing double disk spin down issue on my HP nx6310 laptop > > during shut down and suspend to disk. The drive is power down on "Will > > now

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

2007-08-10 Thread Robert Hancock
Thomas Renninger wrote: On Thu, 2007-08-09 at 15:16 +, Pavel Machek wrote: Hi! firmwarekit-discuss <[EMAIL PROTECTED]> (added to CC list) see: http://linuxfirmwarekit.org/ But if I understand this problem right, this won't be easy. The ACPI tables are just parsed with system ("iasl ...")

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

2007-08-09 Thread Rafael J. Wysocki
On Wednesday, 8 August 2007 14:24, Rafael J. Wysocki wrote: > On Wednesday, 8 August 2007 04:56, Tejun Heo wrote: > > Rafael J. Wysocki wrote: > > > Well, on my box (nx6325) with the appended (experimental) patch applied > > > on top of 2.6.23-rc1 with the patchset from > > > http://www.sisk.pl/ker

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

2007-08-09 Thread Rafael J. Wysocki
On Thursday, 9 August 2007 17:06, Pavel Machek wrote: > Hi! > > > >> 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'. > >

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

2007-08-09 Thread Thomas Renninger
On Thu, 2007-08-09 at 15:16 +, Pavel Machek wrote: > Hi! > > > > firmwarekit-discuss <[EMAIL PROTECTED]> (added to CC list) > > > see: http://linuxfirmwarekit.org/ > > > > > > But if I understand this problem right, this won't be easy. > > > The ACPI tables are just parsed with system ("iasl

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

2007-08-09 Thread Pavel Machek
Hi! > > firmwarekit-discuss <[EMAIL PROTECTED]> (added to CC list) > > see: http://linuxfirmwarekit.org/ > > > > But if I understand this problem right, this won't be easy. > > The ACPI tables are just parsed with system ("iasl ...") and syntactical > > errors/warnings are printed out. > > I also

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

2007-08-09 Thread Pavel Machek
Hi! > >> 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'. > > > > I know that my Compaq X1000-series laptop does do some kin

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

2007-08-08 Thread Al Boldi
Tejun Heo wrote: > Mark Lord wrote: > > Heh.. I haven't instrumented it yet, but I did discover a bit more about > > it: > > > > The Power-Off_Retract_Count incrmenents *only* when there's data in the > > on-drive write-cache. So if I haven't written anything significantly > > large before suspen

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

2007-08-08 Thread Mark Lord
Tejun Heo wrote: Mark Lord wrote: Further to this, if I have an active-writer running at the time of suspend, then even my scripted "sleep 1" is not good enough, as additional writes are still happening before/after the flush. Now I'll reboot and try it with the "sleep 1" hardcoded inside sd_su

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

2007-08-08 Thread Tejun Heo
Mark Lord wrote: > Further to this, if I have an active-writer running at the time of suspend, > then even my scripted "sleep 1" is not good enough, as additional writes > are still happening before/after the flush. > > Now I'll reboot and try it with the "sleep 1" hardcoded inside > sd_suspend().

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

2007-08-08 Thread Mark Lord
Mark Lord wrote: My suspend script now has this little chunk of code at the point where it actually does the suspend-to-RAM: sync; sync hdparm -F /dev/sda ## flush drive write cache sleep 1 ## allow time for the flush to complete echo mem > /sys/power/state ## suspen

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

2007-08-08 Thread Mark Lord
Mark Lord wrote: Tejun Heo wrote: Mark Lord wrote: .. FWIW, Tejun, with 2.6.22, my new Seagate 160GB SATA drive (notebook) increments the "Power-Off_Retract_Count" on each suspend-to-RAM operation. It does not do any double spin-up/spin-down things though. Hmmm.. It shouldn't. libata now is

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

2007-08-08 Thread Tejun Heo
Mark Lord wrote: > Heh.. I haven't instrumented it yet, but I did discover a bit more about > it: > > The Power-Off_Retract_Count incrmenents *only* when there's data in the > on-drive write-cache. So if I haven't written anything significantly large > before suspending, then it often does NOT in

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

2007-08-08 Thread Mark Lord
Tejun Heo wrote: Mark Lord wrote: > Tejun Heo wrote: >> Michael Sedkowski wrote: >>> 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 do

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

2007-08-08 Thread Tejun Heo
Mark Lord wrote: > Tejun Heo wrote: >> Michael Sedkowski wrote: >>> 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 tes

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

2007-08-08 Thread Mark Lord
Tejun Heo wrote: Michael Sedkowski wrote: 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

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

2007-08-08 Thread Rafael J. Wysocki
On Wednesday, 8 August 2007 02:23, Robert Hancock wrote: > Henrique de Moraes Holschuh wrote: > > On Tue, 07 Aug 2007, Tejun Heo wrote: > >> Henrique de Moraes Holschuh wrote: > >>> On Tue, 07 Aug 2007, Tejun Heo wrote: > Michael Sedkowski wrote: > >> Hmmm... If the problem only shows up o

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

2007-08-08 Thread Rafael J. Wysocki
On Wednesday, 8 August 2007 04:56, Tejun Heo wrote: > Rafael J. Wysocki wrote: > > Well, on my box (nx6325) with the appended (experimental) patch applied > > on top of 2.6.23-rc1 with the patchset from > > http://www.sisk.pl/kernel/hibernation_and_suspend/2.6.23-rc2/patches/ , the > > double spin

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 Robert Hancock
Henrique de Moraes Holschuh wrote: On Tue, 07 Aug 2007, Robert Hancock wrote: You *do* have to worry about it in any box you turn off daily. Desktop HDs will croak fast in that scenario, laptop HDs less so, but still too fast. A very good laptop HD can last about 20k emergency unloads (this is

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

2007-08-07 Thread Henrique de Moraes Holschuh
On Tue, 07 Aug 2007, Robert Hancock wrote: >> You *do* have to worry about it in any box you turn off daily. Desktop >> HDs will croak fast in that scenario, laptop HDs less so, but still too >> fast. A very good laptop HD can last about 20k emergency unloads (this >> is a unit that can do about

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

2007-08-07 Thread Tejun Heo
Rafael J. Wysocki wrote: > Well, on my box (nx6325) with the appended (experimental) patch applied > on top of 2.6.23-rc1 with the patchset from > http://www.sisk.pl/kernel/hibernation_and_suspend/2.6.23-rc2/patches/ , the > double spin down doesn't occur during hibernation and the system is shut d

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

2007-08-07 Thread Tejun Heo
Michael Sedkowski wrote: > 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 s

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

2007-08-07 Thread Robert Hancock
Henrique de Moraes Holschuh wrote: On Tue, 07 Aug 2007, Tejun Heo wrote: Henrique de Moraes Holschuh wrote: On Tue, 07 Aug 2007, Tejun Heo wrote: Michael Sedkowski wrote: Hmmm... If the problem only shows up on nx6325, it might be that ACPI is pulling unnecessary stunt. Please apply the atta

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

2007-08-07 Thread Robert Hancock
Henrique de Moraes Holschuh wrote: On Tue, 07 Aug 2007, Tejun Heo wrote: emergency unload. Emergency unload does shorten the lifespan of the disk but you don't have to worry too much about it. Disks are designed to withstand certain number of emergency unloads. You *do* have to worry about i

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

2007-08-07 Thread Rafael J. Wysocki
On Tuesday, 7 August 2007 23:28, Maciej Rutecki wrote: > > > 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: > > 1. Before: > rut

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

2007-08-07 Thread Maciej Rutecki
> > 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: 1. Before: rutek:/home/maciek# /usr/sbin/smartctl --all -d ata /dev/sda | grep Power-Off_

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

2007-08-07 Thread Rafael J. Wysocki
On Tuesday, 7 August 2007 22:33, Rafael J. Wysocki wrote: > On Tuesday, 7 August 2007 22:09, Maciej Rutecki wrote: > > 2007/8/7, Michael Sedkowski <[EMAIL PROTECTED]>: > > > I did some additional checking today... > > > On kernels prior to 2.6.22 line, the bug exists and manifests itself > > > exac

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

2007-08-07 Thread Rafael J. Wysocki
On Tuesday, 7 August 2007 22:09, Maciej Rutecki wrote: > 2007/8/7, Michael Sedkowski <[EMAIL PROTECTED]>: > > 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 /et

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

2007-08-07 Thread Maciej Rutecki
2007/8/7, Michael Sedkowski <[EMAIL PROTECTED]>: > 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" > m

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 Thomas Renninger
On Tue, 2007-08-07 at 15:41 +0900, Tejun Heo wrote: > Robert Hancock wrote: > > Tejun Heo wrote: > >> Michael Sedkowski wrote: > Hmmm... If the problem only shows up on nx6325, it might be that > ACPI is > pulling unnecessary stunt. Please apply the attached patch and report >

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

2007-08-07 Thread Tejun Heo
Robert Hancock wrote: > Tejun Heo wrote: >> Yeah, that seems to be what's going on. I don't think we have any other >> choice than blacklisting those notebooks. This is a mess. How does the >> other OS cope with this? > > Quite possible that it gets a double spindown with these laptop/drive > c

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

2007-08-07 Thread Robert Hancock
Tejun Heo wrote: Robert Hancock wrote: Tejun Heo wrote: Michael Sedkowski wrote: Hmmm... If the problem only shows up on nx6325, it might be that ACPI is pulling unnecessary stunt. Please apply the attached patch and report when the disk spins down and up. Disk spins down on "Pre-shutdown pr

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

2007-08-07 Thread Tejun Heo
Thomas Renninger wrote: >>> I'd also suggest adding a FAIL to the Linux firmware toolkit to any DSDT >>> doing this. Who should we prod to add that check? >> Dunno how the firmware toolkit works but this one can be pretty >> difficult to test (if it were easy, we could test it in libata) as it >>

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

2007-08-07 Thread Thomas Renninger
On Tue, 2007-08-07 at 22:32 +0900, Tejun Heo wrote: > Henrique de Moraes Holschuh wrote: > > On Tue, 07 Aug 2007, Tejun Heo wrote: > >> Henrique de Moraes Holschuh wrote: > approximately translates into "if you have too many boatmen on a ship, > it goes to mountain". We also have a bunch

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

2007-08-07 Thread Tejun Heo
Thomas Renninger wrote: Any chances of changing things so that we inspect/snoop all tasks sent to the device, and filter them out, or react to them accordingly? >>> No, we can't unless we snoop ACPI method execution and detect accesses >>> to IO ports or iomem regions. It's not goin

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

2007-08-07 Thread Tejun Heo
Henrique de Moraes Holschuh wrote: > On Tue, 07 Aug 2007, Tejun Heo wrote: >> Henrique de Moraes Holschuh wrote: approximately translates into "if you have too many boatmen on a ship, it goes to mountain". We also have a bunch of Toshiba laptops which >>> Yeah, that's a problem. But we

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

2007-08-07 Thread Henrique de Moraes Holschuh
On Tue, 07 Aug 2007, Tejun Heo wrote: > Henrique de Moraes Holschuh wrote: > >> approximately translates into "if you have too many boatmen on a ship, > >> it goes to mountain". We also have a bunch of Toshiba laptops which > > > > Yeah, that's a problem. But we can avoid it if we start snooping

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

2007-08-07 Thread Tejun Heo
Hello, Henrique. Henrique de Moraes Holschuh wrote: >> approximately translates into "if you have too many boatmen on a ship, >> it goes to mountain". We also have a bunch of Toshiba laptops which > > Yeah, that's a problem. But we can avoid it if we start snooping what ACPI > is asking us to d

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

2007-08-07 Thread Thomas Renninger
On Tue, 2007-08-07 at 09:51 -0300, Henrique de Moraes Holschuh wrote: > On Tue, 07 Aug 2007, Tejun Heo wrote: > > Henrique de Moraes Holschuh wrote: > > > On Tue, 07 Aug 2007, Tejun Heo wrote: > > >> Michael Sedkowski wrote: ---snip--- > > > Any chances of changing things > > > so that we inspect/s

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

2007-08-07 Thread Henrique de Moraes Holschuh
On Tue, 07 Aug 2007, Tejun Heo wrote: > emergency unload. Emergency unload does shorten the lifespan of the > disk but you don't have to worry too much about it. Disks are designed > to withstand certain number of emergency unloads. You *do* have to worry about it in any box you turn off daily.

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

2007-08-07 Thread Henrique de Moraes Holschuh
On Tue, 07 Aug 2007, Tejun Heo wrote: > Henrique de Moraes Holschuh wrote: > > On Tue, 07 Aug 2007, Tejun Heo wrote: > >> Michael Sedkowski wrote: > Hmmm... If the problem only shows up on nx6325, it might be that ACPI is > pulling unnecessary stunt. Please apply the attached patch and r

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

2007-08-07 Thread Tejun Heo
Michael Sedkowski wrote: > 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 butto

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 Tejun Heo
Michael Sedkowski wrote: > 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 te

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

2007-08-06 Thread Tejun Heo
Henrique de Moraes Holschuh wrote: > On Tue, 07 Aug 2007, Tejun Heo wrote: >> Michael Sedkowski wrote: Hmmm... If the problem only shows up on nx6325, it might be that ACPI is pulling unnecessary stunt. Please apply the attached patch and report when the disk spins down and up. >>>

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

2007-08-06 Thread Tejun Heo
Robert Hancock wrote: > Tejun Heo wrote: >> Michael Sedkowski wrote: Hmmm... If the problem only shows up on nx6325, it might be that ACPI is pulling unnecessary stunt. Please apply the attached patch and report when the disk spins down and up. >>> Disk spins down on "Pre-shutd

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

2007-08-06 Thread Henrique de Moraes Holschuh
On Tue, 07 Aug 2007, Tejun Heo wrote: > Michael Sedkowski wrote: > >> Hmmm... If the problem only shows up on nx6325, it might be that ACPI is > >> pulling unnecessary stunt. Please apply the attached patch and report > >> when the disk spins down and up. > > > > Disk spins down on "Pre-shutdown

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

2007-08-06 Thread Robert Hancock
Tejun Heo wrote: Michael Sedkowski wrote: Hmmm... If the problem only shows up on nx6325, it might be that ACPI is pulling unnecessary stunt. Please apply the attached patch and report when the disk spins down and up. Disk spins down on "Pre-shutdown prepare" and then goes up and down on "Powe

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 Rafael J. Wysocki
On Monday, 6 August 2007 20:43, Tejun Heo wrote: > Michael Sedkowski wrote: > >> Hmmm... If the problem only shows up on nx6325, it might be that ACPI is > >> pulling unnecessary stunt. Please apply the attached patch and report > >> when the disk spins down and up. > > > > Disk spins down on "Pr

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

2007-08-06 Thread Rafael J. Wysocki
On Monday, 6 August 2007 20:21, Michael Sedkowski wrote: > 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://

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

2007-08-06 Thread Tejun Heo
Michael Sedkowski wrote: >> Hmmm... If the problem only shows up on nx6325, it might be that ACPI is >> pulling unnecessary stunt. Please apply the attached patch and report >> when the disk spins down and up. > > Disk spins down on "Pre-shutdown prepare" and then goes up and down on > "Power dow

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 Tejun Heo
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 probably have to ask Sidux what changes they made that could cause >> the double s

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: > > > > Cc'ing Henrique. Any

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

2007-08-06 Thread Rafael J. Wysocki
On Monday, 6 August 2007 17:01, Henrique de Moraes Holschuh wrote: > 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: > > > > Cc'ing Henrique. Any ideas? > > > > >

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

2007-08-06 Thread Henrique de Moraes Holschuh
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: > > > Cc'ing Henrique. Any ideas? > > > > Check if /etc/init.d/halt is calling halt(8) with the -h flag. If it is, > >

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 Henrique de Moraes Holschuh
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 that holds it, you just need to get rid of it. I don't know anything about a Sidux, though. --

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-kernel" in the body o

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

2007-08-05 Thread Tejun Heo
Cc'ing Henrique. Any ideas? Michał sed wrote: > Greetings > > I'm experiencing double disk spin down issue on my HP nx6310 laptop > during shut down and suspend to disk. The drive is power down on "Will > now halt message" then turned back on and off again with the laptop > itself. I'm using the