NetBSD Problem Report #7939

Received: (qmail 26684 invoked from network); 8 Jul 1999 00:09:24 -0000
Message-Id: <199907080006.CAA00354@labitzke.isdn.cs.tu-berlin.de>
Date: Thu, 8 Jul 1999 02:06:00 +0200 (CEST)
From: Bjoern Labitzke <hermit@labitzke.isdn.cs.tu-berlin.de>
Reply-To: Bjoern Labitzke <hermit@cs.tu-berlin.de>
To: gnats-bugs@gnats.netbsd.org
Subject: Usage of ulpt0 crashs the system
X-Send-Pr-Version: 3.95

>Number:         7939
>Category:       kern
>Synopsis:       Usage of ulpt0 crashs the system
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    kern-bug-people
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jul 07 17:20:00 +0000 1999
>Closed-Date:    Thu Oct 21 16:17:27 +0000 1999
>Last-Modified:  Thu Oct 21 16:17:59 +0000 1999
>Originator:     Bjoern Labitzke
>Release:        last -current before ELF-change (Friday I guess) <NetBSD-current source date>
>Organization:
Bjoern Labitzke  <hermit@cs.tu-berlin.de>
   Use PGP! (Don't you use envelopes for your letters?)
>Environment:

System: NetBSD labitzke.isdn.cs.tu-berlin.de 1.4D NetBSD 1.4D (LABITZKE) #88: Sun Jul 4 22:26:26 CEST 1999 root@labitzke.isdn.cs.tu-berlin.de:/usr/src/sys/arch/i386/compile/LABITZKE i386


>Description:
Excerpt from my dmesg:
uhci0 at pci0 dev 4 function 2: Intel 82371AB USB Host Controller (PIIX4) (rev.
0x01)
uhci0: interrupting at irq 10
uhci0: USB version 1.0
usb0 at uhci0
uhub0 at usb0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
ulpt0 at uhub0 port 1 configuration 1 interface 0
ulpt0: Brother Industries Corp. HL-1050 laser printer, rev 1.00/1.00, addr 2, ic
lass 7/1

Printing to this device with ghostscript or other tools crashs the system
and produces the following message:

kernel: page fault trap, code=0
Stopped in usb0 at _usbd_close_pipe+0x7  movl 0xc(%ebx),%eax

A trace shows:

_usbd_close_pipe
_ulptclose
_spec_close
_ufsspec_close
_vclean
_vgonel
_genfs_revoke
_vdevgone
_ulpt_detach
_config_detach
_uhub_disconnect_port
_uhub_explore
_usb_discover
_usb_event_thread
Bad frame pointer 0xf0299ea8

(According to Lennart Augustsson those names suffice.)

This fault is reproducable.

>How-To-Repeat:
Try to print to ulpt0.

>Fix:
Wish I knew one...

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: augustss 
State-Changed-When: Wed Jul 14 16:51:55 PDT 1999 
State-Changed-Why:  
One bug has been fixed, is it the right one? 
State-Changed-From-To: feedback->closed 
State-Changed-By: augustss 
State-Changed-When: Thu Oct 21 09:17:27 PDT 1999 
State-Changed-Why:  
It works now. 
>Unformatted:

NetBSD Home
NetBSD PR Database Search

(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.