Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Help for PR kern/46606 is needed



Hi,

From: Roy Marples <roy%marples.name@localhost>, Date: Mon, 25 Nov 2013 14:38:15 
+0000

> Hi
> 
> On 25/11/2013 10:33, Ryo ONODERA wrote:
>> pulseaudio needs pkgsrc/sysutils/hal, and running hal causes
>> PR kern/46606 kernel panic when the NetBSD system is shutdown.
>> See http://gnats.netbsd.org/46606 (and duplicated bug
>> http://gnats.netbsd.org/47012 ).
>> How to debug this problem?
>> This problem is observed even on NetBSD/amd64 6.99.27
>> of Tue Nov 19 06:16:01 JST 2013.
> 
> I have had this for months on i386.
> I am running the attached patch from christos@ which stops the crash,
> but probably Does Bad Things.
> 
> The actual error seems to be when hal starts, but only causes a
> problem when hal stops.
> This happens for you at shutdown, because hal is stopped then.

Thanks for your output.
I feel that this problem may be solved by decreasing gcc's optimization level
for hal, if your second start is bad case.

Now I cannot restart my machine.
I will try to run hal with provided patches.

Thank you.

> Here's the output from a run:
> 1st start
> /usr/src/sys/kern/kern_lwp.c,731: hald[2231]: [uid=0] (0/1)
> /usr/src/sys/kern/kern_prot.c,357: hald[2231]: [uid=0] (1/-1)
> /usr/src/sys/kern/kern_prot.c,361: hald[2231]: [uid=1005] (0/1)
> /usr/src/sys/kern/kern_prot.c,381: hald[2231]: [uid=1005] (1/0)
> /usr/src/sys/kern/kern_prot.c,386: hald[2231]: [uid=1005] (1/0)
> /usr/src/sys/kern/kern_lwp.c,731: hald-runner[1965]: [uid=0] (0/1)
> 
> 1st stop
> /usr/src/sys/kern/kern_lwp.c,1128: hald[2231]: [uid=0] (1/-1)
> /usr/src/sys/kern/kern_lwp.c,1128: hald-runner[1965]: [uid=0] (0/-1)
> 
> 2nd start
> /usr/src/sys/kern/kern_lwp.c,731: hald[1209]: [uid=0] (4294967295/1)
> /usr/src/sys/kern/kern_prot.c,357: hald[1209]: [uid=0] (0/-1)
> /usr/src/sys/kern/kern_prot.c,361: hald[1209]: [uid=1005] (1/1)
> /usr/src/sys/kern/kern_prot.c,381: hald[1209]: [uid=1005] (2/0)
> /usr/src/sys/kern/kern_prot.c,386: hald[1209]: [uid=1005] (2/0)
> /usr/src/sys/kern/kern_lwp.c,731: hald-runner[738]: [uid=0]
> (4294967295/1)
> 
> 2nd stop
> /usr/src/sys/kern/kern_lwp.c,1128: hald[1209]: [uid=1005] (2/-1)
> /usr/src/sys/kern/kern_lwp.c,1128: hald-runner[738]: [uid=0] (0/-1)
> 
> Thanks
> 
> Roy

--
Ryo ONODERA // ryo_on%yk.rim.or.jp@localhost
PGP fingerprint = 82A2 DC91 76E0 A10A 8ABB  FD1B F404 27FA C7D1 15F3


Home | Main Index | Thread Index | Old Index