From owner-freebsd-bugs@FreeBSD.ORG Fri Dec 26 21:10:10 2003 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AA2C516A4CE for ; Fri, 26 Dec 2003 21:10:10 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 08EDB43D3F for ; Fri, 26 Dec 2003 21:10:08 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) hBR5A7FR025946 for ; Fri, 26 Dec 2003 21:10:07 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id hBR5A7GM025945; Fri, 26 Dec 2003 21:10:07 -0800 (PST) (envelope-from gnats) Resent-Date: Fri, 26 Dec 2003 21:10:07 -0800 (PST) Resent-Message-Id: <200312270510.hBR5A7GM025945@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, j_guojun@lbl.gov Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5B2F116A4CE for ; Fri, 26 Dec 2003 21:02:05 -0800 (PST) Received: from adsl-63-198-35-122.dsl.snfc21.pacbell.net (adsl-63-198-35-122.dsl.snfc21.pacbell.net [63.198.35.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id 88F0043D1D for ; Fri, 26 Dec 2003 21:02:03 -0800 (PST) (envelope-from jin@adsl-63-198-35-122.dsl.snfc21.pacbell.net) Received: from adsl-63-198-35-122.dsl.snfc21.pacbell.net (localhost.pacbell.net [127.0.0.1])ESMTP id hBR3mNs0008264 for ; Fri, 26 Dec 2003 19:48:23 -0800 (PST) (envelope-from jin@adsl-63-198-35-122.dsl.snfc21.pacbell.net) Received: (from jin@localhost)id hBR3mM5S008263; Fri, 26 Dec 2003 19:48:23 -0800 (PST) (envelope-from jin) Message-Id: <200312270348.hBR3mM5S008263@adsl-63-198-35-122.dsl.snfc21.pacbell.net> Date: Fri, 26 Dec 2003 19:48:23 -0800 (PST) From: "Jin Guojun[VFF]" To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: kern/60602: Dynamic attach UBS device can cause 5.2-RC system malfunction X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: j_guojun@lbl.gov List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Dec 2003 05:10:10 -0000 >Number: 60602 >Category: kern >Synopsis: Dynamic attach UBS device can cause 5.2-RC system malfunction >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Dec 26 21:10:07 PST 2003 >Closed-Date: >Last-Modified: >Originator: Jin Guojun[VFF] >Release: FreeBSD 5.2-RC >Organization: >Environment: System: FreeBSD 5.2-RC FreeBSD 5.2-RC2 root@wv1u.btc.adaptec.com:/usr/obj/usr/src/sys/GENERIC Preloaded elf kernel "/boot/kernel/kernel" at 0xc0a2c000. Preloaded elf module "/boot/kernel/acpi.ko" at 0xc0a2c21c. Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Pentium III/Pentium III Xeon/Celeron (463.55-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x673 Stepping = 3 Features=0x383fbff real memory = 536858624 (511 MB) avail memory = 511819776 (488 MB) MPTable: FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 1 cpu1 (AP): APIC ID: 0 ioapic0: Assuming intbase of 0 ioapic0 irqs 0-23 on motherboard Pentium Pro MTRR support enabled npx0: [FAST] >Description: Dynamicallt attaching Sony DRX-510UL USB CD-RW drive to 5.2-RC system can cause system malfunction: Attach DRX-510UL USB CD-RW drive to system USB port: (1) power the drive on and reboot system -- run command -- cdrecord -scanbus it shows that the drive is at SCSI 0,0,0 run command -- cdrecord -v dev=0,0,0 image.iso everything is Okey. (2) power off the drive on and reboot system -- After system is up, then power on the USB CD-RW drive and run command -- cdrecord -scanbus it shows that the drive is at SCSI 1,0,0 run command -- cdrecord -v dev=1,0,0 image.iso # ls bus error # halt bus error # shutdown -h now bus error # some command may work >How-To-Repeat: I do not have other USB drive, so I cannot tell if this is DRX-510UL specific. Hopefully, developer may verify this issue by attaching a differnt USB CD-RW drive. >Fix: >Release-Note: >Audit-Trail: >Unformatted: