Subject: Re: uvisor interaction breaks assertion in sys/kern/sys_generic.c
To: Aleksej Saushev <asau@hotbox.ru>
From: Andrew Doran <ad@netbsd.org>
List: current-users
Date: 09/25/2007 15:16:19
Hi,

On Mon, Sep 10, 2007 at 06:47:14PM +0400, Aleksej Saushev wrote:

> I use pilot-xfer package (from pkgsrc's comms/pilot-link)
> to communicate to Palm device. But since few weeks ago I'm unable to.
> 
> I've rebuilt kernel with DIAGNOSIC, DEBUG, UVISOR_DEBUG,
> USB_DEBUG, and LOCKDEBUG.  Now I find that pilot-xfer call
> results in
> 
> panic: kernel diagnostic assertion "sip->sel_lwp == l" failed;
> file "/usr/src/sys/kern/sys_generic.c", line 1215
> 
> According to the source sys_generic.c 1.106 is used.
> 
> In messages I see this:
> 
> ehci0: handing over full speed device on port 7 to uhci3
> uhub4: port 7, device disappeared after reset
> uvisor0 at uhub3 port 1
> <empty message>
> uvisor0: Palm, Inc. Palm-Handheld, rev 1.00/1.00, addr 3
> ucom0 at uvisor0 portno 0: sync
> uvisor0: at uhub3 port 1 (addr 3) disconnected
> ucom0 detached
> uvisor0 detached
> 
> Panic occurs after "uvisor0 detached" message.
> 
> Unfortunately I cannot provide more information, because system
> hangs after DDB "sync" command (is it intentional?).
> Any help is appreciated.
> 
> Please, CC me when answering, I'm not subscribed to the list.

I believe this should be fixed with sys_generic 1.107, and matching
kernel source. Unfortunately I don't have hardware to test with.

Thanks,
Andrew