Re: 2.6.22-rc2 and libata/shutdown

From: Henrique de Moraes Holschuh
Date: Thu May 24 2007 - 19:00:13 EST


On Thu, 24 May 2007, Damien Wyart wrote:
> After trying 2.6.22-rc2, I noticed the warning message from libata about
> upgrading shutdown(8). First, I have two SATA disks, and get the warning for
> only one of them. Second, I double-checked the source of shutdown for my
> distro (Debian unstable), and do not see anything related to issueing
> STANDBYNOW.

It is done inside the halt binary. You can disable that STANDBYNOW by
editing /etc/init.d/halt and removing the -h the initscript passes to halt.
Look for a line that has something like hddown="-h".

But if you do, make sure the kernel is configured to shutdown all SCSI and
SATA disks first!

--
"One disk to rule them all, One disk to find them. One disk to bring
them all and in the darkness grind them. In the Land of Redmond
where the shadows lie." -- The Silicon Valley Tarot
Henrique Holschuh
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/