NetBSD Problem Report #39050
From leo@marco.de Fri Jun 27 09:18:57 2008
Return-Path: <leo@marco.de>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
by narn.NetBSD.org (Postfix) with ESMTP id E1D4863B880
for <gnats-bugs@gnats.netbsd.org>; Fri, 27 Jun 2008 09:18:57 +0000 (UTC)
Message-Id: <20080627091851.E8A36748494@hera.dachau.marco.de>
Date: Fri, 27 Jun 2008 11:18:51 +0200 (CEST)
From: leo@marco.de
Reply-To: leo@marco.de
To: gnats-bugs@gnats.NetBSD.org
Subject: kernel crash on disconnect of umodem device
X-Send-Pr-Version: 3.95
>Number: 39050
>Category: kern
>Synopsis: kernel crash on disconnect of umodem device
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: kern-bug-people
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Jun 27 09:20:00 +0000 2008
>Closed-Date: Wed Aug 20 13:09:57 +0000 2008
>Last-Modified: Wed Aug 20 13:09:57 +0000 2008
>Originator: Matthias Pfaller
>Release: NetBSD 4.99.67, last cvs update on 2008-06-26
>Organization:
Matthias Pfaller Software Entwicklung
marco Systemanalyse und Entwicklung GmbH Tel +49 8131 5161-41
Hans-Böckler-Str. 2, D 85221 Dachau Fax +49 8131 5161-66
http://www.marco.de/ Email leo@dachau.marco.de
>Environment:
System: NetBSD joghurt 4.99.67 NetBSD 4.99.67 (JOGHURT) #6: Thu Jun 26 19:16:20 CEST 2008
Architecture: i386
Machine: i386
>Description:
When disconnecting umodem devices, the kernel crashes.
>How-To-Repeat:
Connect an umodem device (e.g. a Nokia 6110) to your NetBSD system.
Disconnect it and your computer will crash.
>Fix:
>Release-Note:
>Audit-Trail:
From: Matthias Drochner <drochner@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/39050 CVS commit: src/sys/dev/usb
Date: Fri, 27 Jun 2008 16:05:59 +0000 (UTC)
Module Name: src
Committed By: drochner
Date: Fri Jun 27 16:05:59 UTC 2008
Modified Files:
src/sys/dev/usb: ukyopon.c umodem.c
Log Message:
kill some abuse of __strong_alias which is not compatible with
split device/softc, this might fix crashes on umodem disconnect
reported by some people (eg PR kern/39050 from Matthias Pfaller)
To generate a diff of this commit:
cvs rdiff -r1.10 -r1.11 src/sys/dev/usb/ukyopon.c
cvs rdiff -r1.58 -r1.59 src/sys/dev/usb/umodem.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
State-Changed-From-To: open->feedback
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Sat, 28 Jun 2008 19:21:20 +0000
State-Changed-Why:
Did that help?
From: Matthias Pfaller <leo@marco.de>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: kern/39050 (kernel crash on disconnect of umodem device)
Date: Mon, 30 Jun 2008 08:22:14 +0200
dholland@NetBSD.org wrote:
> Synopsis: kernel crash on disconnect of umodem device
>
> State-Changed-From-To: open->feedback
> State-Changed-By: dholland@NetBSD.org
> State-Changed-When: Sat, 28 Jun 2008 19:21:20 +0000
> State-Changed-Why:
> Did that help?
Yes, disconnect/reconnect works fine again.
Thank's for the quick fix, Matthias
--
Matthias Pfaller Software-Entwicklung
marco Systemanalyse und Entwicklung GmbH Tel +49 8131 5161 41
Hans-Böckler-Str. 2, D 85221 Dachau Fax +49 8131 5161 66
http://www.marco.de/ Email leo@marco.de
Geschäftsführer Martin Reuter HRB 171775 Amtsgericht München
From: Matthias Pfaller <leo@marco.de>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: kern/39050 (kernel crash on disconnect of umodem device)
Date: Tue, 01 Jul 2008 13:24:37 +0200
dholland@NetBSD.org wrote:
> Synopsis: kernel crash on disconnect of umodem device
>
> State-Changed-From-To: open->feedback
> State-Changed-By: dholland@NetBSD.org
> State-Changed-When: Sat, 28 Jun 2008 19:21:20 +0000
> State-Changed-Why:
> Did that help?
NetBSD 4.99.67 (JOGHURT) #10: Mon Jun
#0 0xc02cf0e9 in cpu_reboot ()
#1 0xc027019f in panic ()
#2 0xc02d119e in trap ()
#3 0xc010cd1f in calltrap ()
#4 0xc0193f4e in ehci_timeout ()
#5 0xc0262894 in callout_softclock ()
#6 0xc025902e in softint_dispatch ()
#7 0xc0100e0d in Xsoftintr ()
#8 0x00000000 in ?? ()
A traceback from my latest crash.
Matthias
--
Matthias Pfaller Software-Entwicklung
marco Systemanalyse und Entwicklung GmbH Tel +49 8131 5161 41
Hans-Böckler-Str. 2, D 85221 Dachau Fax +49 8131 5161 66
http://www.marco.de/ Email leo@marco.de
Geschäftsführer Martin Reuter HRB 171775 Amtsgericht München
From: Manuel Bouyer <bouyer@antioche.eu.org>
To: gnats-bugs@NetBSD.org
Cc: kern-bug-people@NetBSD.org, gnats-admin@NetBSD.org, netbsd-bugs@NetBSD.org,
leo@marco.de
Subject: Re: kern/39050 (kernel crash on disconnect of umodem device)
Date: Tue, 1 Jul 2008 21:14:35 +0200
On Tue, Jul 01, 2008 at 11:25:03AM +0000, Matthias Pfaller wrote:
> The following reply was made to PR kern/39050; it has been noted by GNATS.
>
> From: Matthias Pfaller <leo@marco.de>
> To: gnats-bugs@NetBSD.org
> Cc:
> Subject: Re: kern/39050 (kernel crash on disconnect of umodem device)
> Date: Tue, 01 Jul 2008 13:24:37 +0200
>
> dholland@NetBSD.org wrote:
> > Synopsis: kernel crash on disconnect of umodem device
> >
> > State-Changed-From-To: open->feedback
> > State-Changed-By: dholland@NetBSD.org
> > State-Changed-When: Sat, 28 Jun 2008 19:21:20 +0000
> > State-Changed-Why:
> > Did that help?
>
> NetBSD 4.99.67 (JOGHURT) #10: Mon Jun
> #0 0xc02cf0e9 in cpu_reboot ()
> #1 0xc027019f in panic ()
> #2 0xc02d119e in trap ()
> #3 0xc010cd1f in calltrap ()
> #4 0xc0193f4e in ehci_timeout ()
The offset of the faulting instruction within ehci_timeout() would be
usefull.
--
Manuel Bouyer <bouyer@antioche.eu.org>
NetBSD: 26 ans d'experience feront toujours la difference
--
From: Matthias Pfaller <leo@marco.de>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: kern/39050 (kernel crash on disconnect of umodem device)
Date: Wed, 20 Aug 2008 08:18:22 +0200
The original problem seems to be solved. Sometimes my machine still
crashes when disconnecting the ucom device, but this seems to be an ehci
issue and should get a new pr#.
Regards, Matthias
--
Matthias Pfaller Software-Entwicklung
marco Systemanalyse und Entwicklung GmbH Tel +49 8131 5161 41
Hans-Böckler-Str. 2, D 85221 Dachau Fax +49 8131 5161 66
http://www.marco.de/ Email leo@marco.de
Geschäftsführer Martin Reuter HRB 171775 Amtsgericht München
State-Changed-From-To: feedback->closed
State-Changed-By: bouyer@NetBSD.org
State-Changed-When: Wed, 20 Aug 2008 13:09:57 +0000
State-Changed-Why:
Original issue solved; there's an ehci issue left wich will get a new PR.
thanks !
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.