Skip to contentSkip to conversation

2.6.22-rc2 and libata/shutdown

DISCUSSION Miquel van Smoorenburg 1 participant 1 message May 24, 2007 2 messages not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw

In article <[email protected]> you write:

Quoted 13 lines

Hello Damien, people...

Quoted 7 lines · Damien Wyart

Hello,

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.

The warning is pretty important, and you can check it at

Quoted 7 lines

http://linux-ata.org/shutdown.html

I have been checking the sysvinit sources and I cannot see the portions on scanning SCSI or SATA
disks. I only see the IDE scanning and standby-related code at src/hddown.c. Does anybody know
how in the world are the SATA disks put to sleep in userspace?

Standard sysvinit doesn't do this, but many distributions have patched it so that it does.

Debian has patched it as well; if you unpack the debian sources you won't see it right away though. The extra patches are applied by the build process, patches are under debian/

Mike.