Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Recent kernel crashes at shutdown
On Feb 12, 5:24pm, dtyson%anduin.org.uk@localhost (Dave Tyson) wrote:
-- Subject: Re: Recent kernel crashes at shutdown
| I compiled and tested a kernel from today's sources with and without the
| patch.
| Without the patch the kernel paniced and then hung. With the patch shutdown
| worked perfectly. The patch applied cleanly...
Perfectly because I commented the assertion I guess.
| The following messages appeared on startup/shutdown:
|
| Feb 12 16:19:20 darkstar /netbsd: /usr/src/sys/kern/kern_lwp.c,787:
| hald[773]: [uid=0] (7/1)
hald lwp_create()
| Feb 12 16:19:20 darkstar /netbsd: /usr/src/sys/kern/kern_prot.c,357:
| hald[773]: [uid=0] (8/-1)
| Feb 12 16:19:20 darkstar /netbsd: /usr/src/sys/kern/kern_prot.c,361:
| hald[773]: [uid=1002] (0/1)
| Feb 12 16:19:20 darkstar /netbsd: /usr/src/sys/kern/kern_prot.c,381:
| hald[773]: [uid=1002] (1/0)
| Feb 12 16:19:20 darkstar /netbsd: /usr/src/sys/kern/kern_prot.c,386:
| hald[773]: [uid=1002] (1/0)
Ok, we ran setuid() on the hald process and root lost one count, and 1002
gained one. ok.
| Feb 12 16:19:20 darkstar console-kit-daemon[757]: WARNING: Error waiting
| for native console 7 activation: Device not configured
| Feb 12 16:19:20 darkstar console-kit-daemon[757]: WARNING: Error waiting
| for native console 6 activation: Device not configured
| Feb 12 16:19:24 darkstar /netbsd: /usr/src/sys/kern/kern_lwp.c,787:
| hald-runner[727]: [uid=0] (6/1)
hald lwp_create()
| Feb 12 16:20:13 darkstar /netbsd: /usr/src/sys/kern/kern_lwp.c,1195:
| hald[773]: [uid=0] (7/-1)
hald lwp_destroy() matching the first one.
| Feb 12 16:20:13 darkstar /netbsd: /usr/src/sys/kern/kern_lwp.c,1195:
| hald-runner[727]: [uid=0] (6/-1)
I guess it renamed itself to hald-runner... Ok.
| The UID for hal was as expected.
Yes, it was. So with the debugging you did not see the problem. Some
kind of race?
christos
Home |
Main Index |
Thread Index |
Old Index