Subject: Hangs during shutdown; Via Chipset problem?
To: NetBSD i386 port <port-i386@netbsd.org>
From: Greywolf <greywolf@starwolf.com>
List: port-i386
Date: 03/26/2002 14:24:28
Greetings, all, and yes I will be send-pr'ing this shortly.

I just upgraded my MoBo to an IWill KK266plus, and my processor to a
smooth 800MHz AMD Thunderbird; chipset is VIA KT133.

I now suffer the hanging-while-shutting down bug I thought I'd seen
bandied about a while ago, and I'm interested to know if
	a) Anyone else has encountered this;
	b) anyone else with a *different* hardware setup has encountered this;
    and	c) there is a fix available.

If I type "shutdown -r" or "shutdown -h", eventually it does so, but
before doing so it is unable to sync the disks and all the filesystems
end up being marked dirty (hence a 6-minute reboot while waiting for
fsck to finish).

If I type simply "shutdown" [all shutdowns with appropriate time
parameters], my X server goes poof (yea), my rc.shutdown runs (yea),
taking with it just about everything...

...and then it hangs.

When I break to ddb and ps, I note that there are random things hanging
on a vplock or a vnlock; syslogd seems to be one of them, but rpcbind
was the one hanging before I added "KEYWORD: shutdown" to it (and others
in hopes of avoiding the hang).  The process(es) do not respond to a
kill from ddb, and I never reach single-user mode.

Yes, I have NFS mounts when the machine goes down; I expect that it will
be able to umount them.

Interestingly enough, if I do a 'kill 1', it seems to eventually get to
single-user mode, but I had to make sure I ran rc.shutdown by hand first
and then kill off some other things.

				--*greywolf;
--
NetBSD: daemonic power.