Thanks very much Joe for keeping us posted on that bug.
I created the udev rule and it seems to work.

I say "seems to work" because I actually found I was having 2 different
problems at the same time :

1- this sata_nv bug
2- a vendor tuned (and bugged) firmware on my Ubuntu 12.10 boot disk (HP 
VB0250EAVER 250GB hard drive), that kernel seems unable to manage as a boot disk

But wait .... it got worse ...

HP's firmware update for THAT SPECIFIC DRIVE refused to update mine,
with an unbelievable "drive not supported" message.

Seeing that one of HP's changes in that new firmware was disabling write
cache by default, it occured to me that maybe kernel couldn't stop that
boot drive because it couldn't flush that cache ... OK, let's turn that
thing off at boot time with hdparm !

BANG ... another bug (Ubuntu bug) : hdparm.conf stanza not executed when disk 
name mentioned is a symlink and not the explicit device file !
There we go, information search, loads of googling, forums reading, posting bug 
on Launchpad, etc .... to finally get an answer a few days ago : you're 
experiencing bug #222458, just fixed with 13.04 release.

Fix not back-ported to 12.10 => port fix myself or update to 13.04 => fix being 
actually a 6 lines add in a script, I fixed it manually => drive finally comes 
up with write cache off as expected .... but that damn thing still won't 
suspend or reboot !
So there I was, back to square one.

Then I observed more carefully hdparm identification report for this
drive and discovered really weird messages :

    Model=VB0250EAVER, FwRev=HPG0, SerialNo=9VMTTK1M
    .......
    BuffType=unknown, BuffSize=8192kB, MaxMultSect=16, MultSect=off
    .......
    Drive conforms to: unknown:  ATA/ATAPI-4,5,6,7

So I finally decided to do myself a favor and dump that crap.


I'll post here if the udev rule trick is working when I have installed a more 
classic hard drive as 12.10 boot disk.

BOTTOM LINE : never try to recycle vendor specific hard drives as boot
disks, never again a motherboard with an nvidia chipset.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1065840

Title:
  12.10 suspend wakes right back up

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+bug/1065840/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to