From owner-freebsd-usb@FreeBSD.ORG Fri Apr 28 10:20:18 2006 Return-Path: X-Original-To: freebsd-usb@hub.freebsd.org Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0417A16A406 for ; Fri, 28 Apr 2006 10:20:18 +0000 (UTC) (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 314E843D53 for ; Fri, 28 Apr 2006 10:20:17 +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 k3SAKHmd038113 for ; Fri, 28 Apr 2006 10:20:17 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k3SAKGQG038112; Fri, 28 Apr 2006 10:20:17 GMT (envelope-from gnats) Resent-Date: Fri, 28 Apr 2006 10:20:17 GMT Resent-Message-Id: <200604281020.k3SAKGQG038112@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-usb@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Peter Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4CF0E16A402 for ; Fri, 28 Apr 2006 10:16:41 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0E3FF43D49 for ; Fri, 28 Apr 2006 10:16:41 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id k3SAGeav001447 for ; Fri, 28 Apr 2006 10:16:40 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id k3SAGeaH001446; Fri, 28 Apr 2006 10:16:40 GMT (envelope-from nobody) Message-Id: <200604281016.k3SAGeaH001446@www.freebsd.org> Date: Fri, 28 Apr 2006 10:16:40 GMT From: Peter To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Cc: Subject: usb/96457: fatback on umass = reboot X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Apr 2006 10:20:18 -0000 >Number: 96457 >Category: usb >Synopsis: fatback on umass = reboot >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-usb >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Apr 28 10:20:16 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Peter >Release: 6.0-RELEASE #0 >Organization: >Environment: FreeBSD f6.my.domain 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Thu Nov 3 09:36:13 UTC 2005 root@x64.samsco.home:/usr/obj/usr/src/sys/GENERIC i386 >Description: Useing a program called: http://sourceforge.net/project/showfiles.php?group_id=46038&package_id=44988&release_id=84491 Fatback v1.3 (c) 2000-2001 DoD Computer Forensics Lab fatback: ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), for FreeBSD 5.0.2, statically linked, stripped Useing fatback on a flashcard reader with a 2GB flashcard on FreeBSD 6.0/i386 causes the machine to reboot with the following command: fatback -o . -a /dev/da2 Seems usb + storage is still not stable. Dmesg: Copyright (c) 1992-2005 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.0-RELEASE #0: Thu Nov 3 09:36:13 UTC 2005 root@x64.samsco.home:/usr/obj/usr/src/sys/GENERIC Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Pentium Pro (199.74-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x617 Stepping = 7 Features=0xf9ff real memory = 83881984 (79 MB) avail memory = 72499200 (69 MB) npx0: [FAST] npx0: on motherboard npx0: INT 16 interface cpu0 on motherboard pcib0: pcibus 0 on motherboard pci0: on pcib0 isab0: at device 4.0 on pci0 isa0: on isab0 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x500-0x50f at device 4.1 on pci0 ata0: on atapci0 ata1: on atapci0 uhci0: port 0xfce0-0xfcff irq 9 at device 6.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 0xfcc0-0xfcdf irq 11 at device 6.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 ehci0: mem 0xfedffc00-0xfedffcff irq 10 at device 6.2 on pci0 ehci0: [GIANT-LOCKED] usb2: EHCI version 1.0 usb2: companion controllers, 2 ports each: usb0 usb1 usb2: on ehci0 usb2: USB revision 2.0 uhub2: VIA EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 uhub2: 4 ports with 4 removable, self powered fwohci0: mem 0xfedfe000-0xfedfefff irq 9 at device 6.3 on pci0 fwohci0: OHCI version 1.10 (ROM=1) fwohci0: No. of Isochronous channels is 4. fwohci0: EUI64 00:00:4c:01:07:00:5c:71 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:00:4c:00:5c:71 fwe0: Ethernet address: 02:00:4c:00:5c:71 fwe0: if_start running deferred for Giant sbp0: on firewire0 fwohci0: Initiate bus reset fwohci0: node_id=0xc000ffc0, gen=1, CYCLEMASTER mode firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me) firewire0: bus manager 0 (me) fxp0: port 0xfca0-0xfcbf mem 0xfedfd000-0xfedfdfff,0xfec00000-0xfecfffff irq 5 at device 10.0 on pci0 miibus0: on fxp0 inphy0: on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto fxp0: Ethernet address: 00:60:b0:68:26:66 pci0: at device 13.0 (no driver attached) pmtimer0 on isa0 orm0: at iomem 0xc0000-0xc7fff on isa0 ep0: <3Com 3C509-TPO EtherLink III> at port 0x300-0x30f irq 10 on isa0 ep0: No irq?! device_attach: ep0 attach returned 6 atkbdc0: at port 0x60,0x64 on isa0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] fdc0: at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0 fdc0: [FAST] fd0: <1440-KB 3.5" drive> on fdc0 drive 0 ppc0: at port 0x378-0x37f irq 7 on isa0 ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode ppbus0: on ppc0 plip0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A sio1 at port 0x2f8-0x2ff irq 3 on isa0 sio1: type 16550A vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 unknown: can't assign resources (port) unknown: can't assign resources (port) unknown: can't assign resources (port) unknown: can't assign resources (port) unknown: can't assign resources (memory) unknown: can't assign resources (port) uaudio0: Creative Technology SB Live! 24-bit External, rev 1.10/1.00, addr 2 uaudio0: audio rev 1.00 pcm0: on uaudio0 Timecounter "TSC" frequency 199740157 Hz quality 800 Timecounters tick every 1.000 msec Syslog: Apr 27 21:26:49 f6 kernel: da2 at umass-sim0 bus 0 target 0 lun 2 Apr 27 21:26:49 f6 kernel: da2: Removable Direct Ac cess SCSI-0 device Apr 27 21:26:49 f6 kernel: da2: 40.000MB/s transfers Apr 27 21:26:49 f6 kernel: da2: 1962MB (4019200 512 byte sectors: 255H 63S/T 250 C) >How-To-Repeat: Setup a freebsd6.0 i386 system. Download & compile fatback. Run it with a flashcards main device (/dev/da2). >Fix: Don't use fatback? =) >Release-Note: >Audit-Trail: >Unformatted: