From owner-freebsd-bugs@FreeBSD.ORG Thu Feb 9 08:40:05 2006 Return-Path: X-Original-To: freebsd-bugs@hub.freebsd.org 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 3364D16A420 for ; Thu, 9 Feb 2006 08:40:05 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8D04343D48 for ; Thu, 9 Feb 2006 08:40:04 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k198e4J9062790 for ; Thu, 9 Feb 2006 08:40:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k198e43S062789; Thu, 9 Feb 2006 08:40:04 GMT (envelope-from gnats) Resent-Date: Thu, 9 Feb 2006 08:40:04 GMT Resent-Message-Id: <200602090840.k198e43S062789@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, Gerhard Schmidt Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7129516A420 for ; Thu, 9 Feb 2006 08:36:02 +0000 (GMT) (envelope-from estartu@etustar.ze.tum.de) Received: from etustar.ze.tum.de (etustar.ze.tum.de [129.187.39.96]) by mx1.FreeBSD.org (Postfix) with ESMTP id D776343D45 for ; Thu, 9 Feb 2006 08:36:01 +0000 (GMT) (envelope-from estartu@etustar.ze.tum.de) Received: from etustar.ze.tum.de (localhost [127.0.0.1]) by etustar.ze.tum.de (8.13.4/8.13.4) with ESMTP id k198a065006740 for ; Thu, 9 Feb 2006 09:36:00 +0100 (CET) (envelope-from estartu@etustar.ze.tum.de) Received: (from estartu@localhost) by etustar.ze.tum.de (8.13.4/8.13.4/Submit) id k198a048006739; Thu, 9 Feb 2006 09:36:00 +0100 (CET) (envelope-from estartu) Message-Id: <200602090836.k198a048006739@etustar.ze.tum.de> Date: Thu, 9 Feb 2006 09:36:00 +0100 (CET) From: Gerhard Schmidt To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: kern/93083: Detach of Firewire Harddisk not recognied properly X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Feb 2006 08:40:05 -0000 >Number: 93083 >Category: kern >Synopsis: Detach of Firewire Harddisk not recognied properly >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Feb 09 08:40:03 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Gerhard Schmidt >Release: FreeBSD 6.1-PRERELEASE i386 >Organization: Augsburger Computer Forum e.V. >Environment: System: FreeBSD etustar.ze.tum.de 6.1-PRERELEASE FreeBSD 6.1-PRERELEASE #1: Wed Feb 8 15:31:25 CET 2006 root@etustar.ze.tum.de:/usr/src/sys/i386/compile/ETUSTAR i386 >Description: I have an external USB/Firewire Harddisk. When i attach it via Firewire I gets attached as da0. So far everything is all right. Console reports the follwing: fwohci0: BUS reset fwohci0: node_id=0xc800ffc1, gen=2, CYCLEMASTER mode firewire0: 2 nodes, maxhop <= 1, cable IRM = 1 (me) firewire0: bus manager 1 (me) firewire0: New S400 device ID:0090a95000000665 sbp0:0:1 login failed da0 at sbp0 bus 0 target 0 lun 0 da0: Fixed Simplified Direct Access SCSI-4 device da0: 50.000MB/s transfers da0: 305245MB (625142448 512 byte sectors: 255H 63S/T 38913C) When I detach the device the device records are not removed and camcontrol devlist still lists the device at scbus0 target 0 lun 0 (probe0,da0,pass1) On the console there is the following output fwohci0: BUS reset fwohci0: node_id=0xc800ffc0, gen=13, CYCLEMASTER mode firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me) firewire0: bus manager 0 (me) I tried to do a rescan with camcontrol rescan 0 camcontrol never returned. Even when I reattach the device it still doesn't work. The same Harddisk on USB works without problem. here the dmesg of my system Copyright (c) 1992-2006 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 6.1-PRERELEASE #1: Wed Feb 8 15:31:25 CET 2006 root@etustar.ze.tum.de:/usr/src/sys/i386/compile/ETUSTAR Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: AMD Athlon(tm) 64 Processor 3000+ (1802.32-MHz 686-class CPU) Origin = "AuthenticAMD" Id = 0x20ff0 Stepping = 0 Features=0x78bfbff Features2=0x1 AMD Features=0xe2500800,LM,3DNow+,3DNow> real memory = 1073414144 (1023 MB) avail memory = 1041494016 (993 MB) ACPI APIC Table: MADT: Forcing active-low polarity and level trigger for SCI ioapic0 irqs 0-23 on motherboard npx0: [FAST] npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard acpi0: Power Button (fixed) Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0 cpu0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 agp0: mem 0xce000000-0xcfffffff at device 0.0 on pci0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at device 0.0 (no driver attached) pci1: at device 0.1 (no driver attached) fwohci0: port 0x8400-0x847f mem 0xfb500000-0xfb5007ff irq 16 at device 7.0 on pci0 fwohci0: OHCI version 1.0 (ROM=1) fwohci0: No. of Isochronous channels is 4. fwohci0: EUI64 00:11:d8:00:00:12:47:bd fwohci0: Phy 1394a available S400, 2 ports. fwohci0: Link S400, max_rec 2048 bytes. firewire0: on fwohci0 fwe0: on firewire0 if_fwe0: Fake Ethernet address: 02:11:d8:12:47:bd fwe0: Ethernet address: 02:11:d8:12:47:bd fwe0: if_start running deferred for Giant sbp0: on firewire0 fwohci0: Initiate bus reset fwohci0: node_id=0xc800ffc1, gen=1, CYCLEMASTER mode firewire0: 2 nodes, maxhop <= 1, cable IRM = 1 (me) firewire0: bus manager 1 (me) atapci0: port 0x9400-0x943f,0x9000-0x900f,0x8800-0x887f mem 0xfb700000-0xfb700fff,0xfb600000-0xfb61ffff irq 18 at device 8.0 on pci0 ata2: on atapci0 ata3: on atapci0 ata4: on atapci0 skc0: port 0x9800-0x98ff mem 0xfb900000-0xfb903fff irq 17 at device 10.0 on pci0 skc0: Marvell Yukon Lite Gigabit Ethernet rev. (0x9) sk0: on skc0 sk0: Ethernet address: 00:11:d8:92:8a:49 miibus0: on sk0 e1000phy0: on miibus0 e1000phy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX-FDX, auto ahc0: port 0xa000-0xa0ff mem 0xfba00000-0xfba00fff irq 19 at device 14.0 on pci0 ahc0: [GIANT-LOCKED] aic7850: Single Channel A, SCSI Id=7, 3/253 SCBs atapci1: port 0xc000-0xc007,0xb800-0xb803,0xb400-0xb407,0xb000-0xb003,0xa800-0xa80f,0xa400-0xa4ff irq 20 at device 15.0 on pci0 ata5: on atapci1 ata6: on atapci1 atapci2: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xfc00-0xfc0f at device 15.1 on pci0 ata0: on atapci2 ata1: on atapci2 uhci0: port 0xc400-0xc41f irq 21 at device 16.0 on pci0 uhci0: [GIANT-LOCKED] usb0: on uhci0 usb0: USB revision 1.0 uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1: port 0xc800-0xc81f irq 21 at device 16.1 on pci0 uhci1: [GIANT-LOCKED] usb1: on uhci1 usb1: USB revision 1.0 uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered uhci2: port 0xd000-0xd01f irq 21 at device 16.2 on pci0 uhci2: [GIANT-LOCKED] usb2: on uhci2 usb2: USB revision 1.0 uhub2: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered uhci3: port 0xd400-0xd41f irq 21 at device 16.3 on pci0 uhci3: [GIANT-LOCKED] usb3: on uhci3 usb3: USB revision 1.0 uhub3: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub3: 2 ports with 2 removable, self powered ehci0: mem 0xfbc00000-0xfbc000ff irq 21 at device 16.4 on pci0 ehci0: [GIANT-LOCKED] usb4: waiting for BIOS to give up control usb4: EHCI version 1.0 usb4: companion controllers, 2 ports each: usb0 usb1 usb2 usb3 usb4: on ehci0 usb4: USB revision 2.0 uhub4: VIA EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 uhub4: 8 ports with 8 removable, self powered uhub5: vendor 0x04e1 product 0x0201, class 9/0, rev 2.00/0.02, addr 2 uhub5: multiple transaction translators uhub5: 4 ports with 4 removable, self powered ums0: Kensington Kensington Expert Mouse, rev 1.10/1.00, addr 3, iclass 3/1 ums0: 4 buttons and Z dir. isab0: at device 17.0 on pci0 isa0: on isab0 pcm0: port 0xd800-0xd8ff irq 22 at device 17.5 on pci0 pcm0: pcm0: acpi_button0: on acpi0 acpi_button1: on acpi0 atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] psm0: irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: model IntelliMouse, device ID 3 fdc0: port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0 fdc0: [FAST] fd0: <1440-KB 3.5" drive> on fdc0 drive 0 ppc0: port 0x378-0x37f,0x778-0x77b irq 7 drq 3 on acpi0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/9 bytes threshold ppbus0: on ppc0 plip0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 sio0: configured irq 3 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 flags 0x10 on acpi0 sio0: type 16550A sio1: configured irq 4 not in bitmap of probed irqs 0 sio1: port may not be enabled sio1: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 on acpi0 sio1: type 16550A orm0: at iomem 0xc0000-0xccfff on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Timecounter "TSC" frequency 1802318066 Hz quality 800 Timecounters tick every 1.000 msec Waiting 15 seconds for SCSI devices to settle acd0: DVDR at ata0-master UDMA33 ad4: 152627MB at ata2-master SATA150 cd0 at ata0 bus 0 target 0 lun 0 cd0: Removable CD-ROM SCSI-0 device cd0: 33.000MB/s transfers cd0: Attempt to query device size failed: NOT READY, Medium not present Trying to mount root from ufs:/dev/ad4s1a >How-To-Repeat: attach firewire device and detach it. >Fix: n/k >Release-Note: >Audit-Trail: >Unformatted: