Bug 26009

Summary: Powerdown IDE disks?
Product: Base System Reporter: Sven Berkvens-Matthijsse <sven>
Component: kernAssignee: Søren Schmidt <sos>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.2-STABLE   
Hardware: Any   
OS: Any   

Description Sven Berkvens-Matthijsse 2001-03-22 21:30:00 UTC
I'd like to be able to powerdown (after unmounting all filesystems
perhaps, if that's necessary) one or more IDE harddisks attached
to my system. Currently, this does not seem to be possible in
FreeBSD. apm is not a solution for me, because my BIOS (old) does
not support APM stuff and I want to be able use to machine normally
after a power-down command to the IDE harddrive. I've tried to hack
in support for this feature myself by sending ATA command 0xe6. The
disk powers down, but then FreeBSD hangs, and that's not what I
wanted :-) Of course, this wish is not high-priority at all. If anyone
knows how to create this functionality, I'd greatly appreciate it.
Comment 1 Peter Pentchev freebsd_committer freebsd_triage 2001-03-23 09:37:52 UTC
Responsible Changed
From-To: freebsd-bugs->sos

Soren is Mr. ATA ;)  Besdes, this sounds like a nice candidate for 
adding to the upcoming atacontrol utility.
Comment 2 Søren Schmidt freebsd_committer freebsd_triage 2001-04-02 20:41:34 UTC
State Changed
From-To: open->closed


The atacontrol util that has just been brought into -current 
will have this kind of functionality "soon". 
However there is not much purpose in shutting down your 
only drive, the kernel wont be able to work for long 
that way :)