NetBSD Problem Report #39131
From apb@cequrux.com Fri Jul 11 17:34:28 2008
Return-Path: <apb@cequrux.com>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
by narn.NetBSD.org (Postfix) with ESMTP id 0820763B9AA
for <gnats-bugs@gnats.NetBSD.org>; Fri, 11 Jul 2008 17:34:28 +0000 (UTC)
Message-Id: <20080711172931.C8B9DE93086@apb-laptoy.apb.alt.za>
Date: Fri, 11 Jul 2008 17:29:31 +0000 (UTC)
From: apb@cequrux.com
To: gnats-bugs@gnats.NetBSD.org
Subject: drvctl -d com1 crashes the system
X-Send-Pr-Version: 3.95
>Number: 39131
>Category: kern
>Synopsis: drvctl -d com1 crashes the system
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Jul 11 17:35:00 +0000 2008
>Originator: Alan Barrett
>Release: NetBSD 4.99.69
>Organization:
Not much
>Environment:
System: NetBSD 4.99.69
Architecture: i386
Machine: i386
>Description:
I wanted to unplug a pcmcia modem card. Due to the problem in
PR 39035, I decided to try "drvctl -u pcmcia0" before physically
removing the card. That didn't work, so I tried "drvctl -u com1"
(where com1 is one of the two com ports on this pcmcia card).
The system paniced.
>How-To-Repeat:
Start with a pcmcia card that has com1 at pcmcia0 and com2 at
pcmcia0.
$ sudo drvctl -d pcmcia0
drvctl: DRVDETACHDEV: Not supported
$ sudo drvctl -d com1
com1: detached
WARNING: SPL NOT LOWERED ON SYSCALL EXIT
panic: cpu_switchto: switching above IPL_SCHED (8)
fatal breakpoint trap in supervisor mode
trap type 1 code 0 eip c04ff34c cs 8 eflags 246 cr2 bbbb4904 ilevel 8
stopped in pid 25663.1 (drvctl) at netbsd:breakpoint+0x5: popl %ebp
db{1}>
>Fix:
Unknown
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.