Eee PC reboot / shutdown hang.

I’m on Milestone 4, and still suffering the same bug that I’ve had since 11.0, and frankly it’s driving me nuts. It happens on several other distros too, and I’ve found fixes on some of them (all due thanks to EeeUser and the ArchWiki), so I’m hoping a bit of brute force and ignorance will do it on SUSE.

Basically, it seems that the snd_hda_intel module hangs when attempting to unload itself, putting the eee in an unbootable state. You have to pull the plug out and put it back in to reset it - needless to say this gets boring quickly.

I tried fixing it on zenwalk, and didn’t get too far, but I did find logs indicating that various things were segfaulting during shutdown. I can’t find similar on SUSE - the only thing seeming to record the shutdown is /var/log/messages, and there’s nothing particularly threatening looking in there.

At the moment I’ve got the following in /etc/rc.d/halt.local

/etc/rc.d/alsasound stop
sleep 3
echo -n "0000:00:1b.0" > /sys/bus/pci/drivers/HDA\ Intel/unbind
sleep 3
rmmod snd_hda_intel
sleep 3

Can anyone tell me if there are other logs anywhere that might help? Or if there’s a way to redirect the output of the above commands to the terminal visible during shutdown? Or record dmesg, or something…?

Cheers. >:(

Ah! Ok. Slightly embarrassed. :shame:

You can actually just put “dmesg > /var/log/dmesg.txt” in a shutdown script, and it’ll work. It’s putting “dmesg > /log/dmesg.txt” or a thousand varieties thereof that doesn’t do anything. :slight_smile:

Anyway… Hopefully this’ll help.

Argh! Even blacklisting snd_hda_intel doesn’t cure it completely. Driving me nuts. I’ve found some info on logging, but not a great deal on recording detailed stuff on shutdown. I’ll keep plugging away, maybe update my BIOS, and see if that does anything…

But any suggestions are still entirely welcome.

I’m happy to say this seems to be fixed.

Hats off to the devs. :slight_smile: