From owner-freebsd-stable@FreeBSD.ORG Fri Oct 3 02:45:00 2003 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3BBC816A4B3 for ; Fri, 3 Oct 2003 02:45:00 -0700 (PDT) Received: from smtp1.adl2.internode.on.net (smtp1.adl2.internode.on.net [203.16.214.181]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1D84443FDD for ; Fri, 3 Oct 2003 02:44:59 -0700 (PDT) (envelope-from smckay@internode.on.net) Received: from dungeon.home (ppp190-128.lns1.bne1.internode.on.net [150.101.190.128])h939itTK079769; Fri, 3 Oct 2003 19:14:55 +0930 (CST) Received: from dungeon.home (localhost [127.0.0.1]) by dungeon.home (8.12.8p1/8.11.6) with ESMTP id h939isJW010930; Fri, 3 Oct 2003 19:44:55 +1000 (EST) (envelope-from mckay) Message-Id: <200310030944.h939isJW010930@dungeon.home> To: freebsd-stable@freebsd.org Date: Fri, 03 Oct 2003 19:44:54 +1000 From: Stephen McKay cc: Stephen McKay Subject: 4.9-rc + usb + asus a7n8x == bad news X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Oct 2003 09:45:00 -0000 Hi! Just before we start, this is not the "USB hang on boot" problem. OK? This post got rather long, so I'll summaries it all in a sentence here: With FreeBSD 4.9-rc on an ASUS A7N8X with a cheapo memory stick, simply plugging it in and taking it out a couple of times is a guaranteed panic. I use only one USB device, a cheapo USB memory stick, which I recently bought on a whim. When things work, it identifies as: umass0: IMGSYS-3 Security X-Disk V1.02 , rev 1.10/2.01, addr 3 da0 at umass-sim0 bus 0 target 0 lun 0 da0: Removable Direct Access SCSI-0 device da0: 650KB/s transfers da0: 15MB (32000 512 byte sectors: 64H 32S/T 15C) I tried it on a 4.7 machine and although it probes and attaches OK, it can't be read (returns EIO) and the console prints "da0: reading primary partition table: error reading fsbn 0". For no particular reason, I unplugged it and plugged it in again a few times relatively quickly. I was rewarded with a kernel panic. So, USB on 4.7 is not robust even if I could ever get it to work. 4.9-rc isn't any improvement, as you can read below. For my subsequent tests, I used an Asus A7N8X Deluxe based machine that I have installed first 4.9-prerelease, now 4.9-rc on. It probes like this (I'll go the ultra-verbose route in case any of the extra fluff matters): Copyright (c) 1992-2003 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 4.9-RC #1: Fri Oct 3 12:17:38 EST 2003 mckay@water.home:/usr/obj/usr/4.9-rc/sys/GENERIC Timecounter "i8254" frequency 1193182 Hz CPU: AMD Athlon(tm) XP 2600+ (2079.56-MHz 686-class CPU) Origin = "AuthenticAMD" Id = 0x681 Stepping = 1 Features=0x383fbff AMD Features=0xc0400000 real memory = 1073676288 (1048512K bytes) avail memory = 1039683584 (1015316K bytes) Preloaded elf kernel "kernel" at 0xc053e000. Pentium Pro MTRR support enabled md0: Malloc disk Using $PIR table, 11 entries at 0xc00fdeb0 npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard pci0: on pcib0 pci0: (vendor=0x10de, dev=0x01eb) at 0.1 pci0: (vendor=0x10de, dev=0x01ee) at 0.2 pci0: (vendor=0x10de, dev=0x01ed) at 0.3 pci0: (vendor=0x10de, dev=0x01ec) at 0.4 pci0: (vendor=0x10de, dev=0x01ef) at 0.5 isab0: at device 1.0 on pci0 isa0: on isab0 pci0: (vendor=0x10de, dev=0x0064) at 1.1 ohci0: mem 0xeb080000-0xeb080fff irq 11 at device 2.0 on pci0 usb0: OHCI version 1.0, legacy support usb0: SMM does not respond, resetting usb0: on ohci0 usb0: USB revision 1.0 uhub0: (0x10de) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 3 ports with 3 removable, self powered ohci1: mem 0xeb083000-0xeb083fff irq 11 at device 2.1 on pci0 usb1: OHCI version 1.0, legacy support usb1: SMM does not respond, resetting usb1: on ohci1 usb1: USB revision 1.0 uhub1: (0x10de) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 3 ports with 3 removable, self powered pci0: at 2.2 irq 5 pci0: (vendor=0x10de, dev=0x0066) at 4.0 irq 5 pci0: (vendor=0x10de, dev=0x006b) at 5.0 irq 5 pci0: (vendor=0x10de, dev=0x006a) at 6.0 irq 11 pcib1: at device 8.0 on pci0 pci1: on pcib1 atapci0: port 0xb000-0xb00f,0xac00-0xac03,0xa800-0xa807,0xa400-0xa403,0xa000-0xa007 mem 0xe8000000-0xe800ffff irq 11 at device 7.0 on pci1 ata2: at 0xa000 on atapci0 ata3: at 0xa800 on atapci0 pci1: at 10.0 irq 5 atapci1: port 0xf000-0xf00f at device 9.0 on pci0 ata0: at 0x1f0 irq 14 on atapci1 ata1: at 0x170 irq 15 on atapci1 pcib2: at device 12.0 on pci0 pci2: on pcib2 xl0: <3Com 3c920B-EMB Integrated Fast Etherlink XL> port 0xc000-0xc07f mem 0xea000000-0xea00007f irq 11 at device 1.0 on pci2 xl0: Ethernet address: 00:26:54:0e:71:f1 miibus0: on xl0 ukphy0: on miibus0 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto fwohci0: vendor=10de, dev=6e fwohci0: <1394 Open Host Controller Interface> mem 0xeb087000-0xeb08703f,0xeb086000-0xeb0867ff irq 11 at device 13.0 on pci0 fwohci0: OHCI version 1.10 (ROM=0) fwohci0: No. of Isochronous channel is 4. fwohci0: EUI64 00:e0:18:00:00:22:9b:d0 fwohci0: Phy 1394a available S400, 2 ports. fwohci0: Link S400, max_rec 2048 bytes. firewire0: on fwohci0 if_fwe0: on firewire0 if_fwe0: Fake Ethernet address: 02:e0:18:22:9b:d0 sbp0: on firewire0 fwohci0: Initiate bus reset fwohci0: BUS reset fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me) firewire0: bus manager 0 (me) pcib3: at device 30.0 on pci0 pci3: on pcib3 orm0: