From owner-freebsd-stable@FreeBSD.ORG Mon Apr 26 22:21:06 2004 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 2B06216A4CE for ; Mon, 26 Apr 2004 22:21:06 -0700 (PDT) Received: from mailout06.sul.t-online.com (mailout06.sul.t-online.com [194.25.134.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id AC28743D53 for ; Mon, 26 Apr 2004 22:21:05 -0700 (PDT) (envelope-from M.Santhoff@t-online.de) Received: from fwd06.aul.t-online.de by mailout06.sul.t-online.com with smtp id 1BIL1k-0004bf-00; Tue, 27 Apr 2004 07:21:04 +0200 Received: from localhost.das.netz (bNl9XGZ-QeA4qm0+xt+f6AKOf0+6ZPYwLiEclWIE5a8pnGrnXyeJ8W@[62.156.32.76]) by fwd06.sul.t-online.com with esmtp id 1BIL1S-0iR30C0; Tue, 27 Apr 2004 07:20:46 +0200 Received: from [10.0.0.3] (zaphod.das.netz [10.0.0.3]) by localhost.das.netz (8.12.10/8.12.10) with ESMTP id i3R5K8kf067361 for ; Tue, 27 Apr 2004 07:20:08 +0200 (CEST) (envelope-from M.Santhoff@t-online.de) From: M.Santhoff@t-online.de (Marc Santhoff) To: "FreeBSD stable (Liste)" In-Reply-To: References: Content-Type: text/plain Message-Id: <1083043043.1855.42.camel@zaphod.das.netz> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Tue, 27 Apr 2004 07:17:23 +0200 Content-Transfer-Encoding: 7bit X-Seen: false X-ID: bNl9XGZ-QeA4qm0+xt+f6AKOf0+6ZPYwLiEclWIE5a8pnGrnXyeJ8W Subject: Re: freebsd-stable Digest, Vol 57, Issue 3 - umass no working after mfc 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: Tue, 27 Apr 2004 05:21:06 -0000 Hi! Some more information: I gave the USB stick the chance to think about it by forgetting to plug it off and this happens after some minutes: umass0: USB Flash Disk, rev 2.00/2.00, addr 2, SCSI over Bulk-Only umass0:1:0:-1: Attached to scbus1 as device 0 usb_block_allocmem: in interrupt context, size=4096 usb_block_allocmem: in interrupt context, failed usb_block_allocmem: in interrupt context, size=4096 usb_block_allocmem: in interrupt context, failed usb_block_allocmem: in interrupt context, size=4096 usb_block_allocmem: in interrupt context, failed usb_block_allocmem: in interrupt context, size=4096 usb_block_allocmem: in interrupt context, failed usb_block_allocmem: in interrupt context, size=4096 usb_block_allocmem: in interrupt context, failed da0 at umass-sim0 bus 0 target 0 lun 0 da0: Removable Direct Access SCSI-2 device da0: 650KB/s transfers da0: 62MB (128000 512 byte sectors: 64H 32S/T 62C) Appears to me as if this is some sort of timing problem or the like ... The /dev/da0 device appears at the bus: # usbdevs -v Controller /dev/usb0: addr 1: full speed, self powered, config 1, OHCI root hub(0x0000), (0x10de)(0x0000), rev 1.00 port 1 powered port 2 addr 2: full speed, power 200 mA, config 1, Flash Disk(0x2168), USB(0x0ea0), rev 2.00 port 3 powered # camcontrol devlist at scbus0 target 2 lun 0 (pass0,cd0) at scbus1 target 0 lun 0 (da0,pass1) but mounting it fails with this syslog output: usb_block_allocmem: in interrupt context, size=4096 usb_block_allocmem: in interrupt context, failed umass0: BBB reset failed, TIMEOUT usb_block_allocmem: in interrupt context, size=4096 usb_block_allocmem: in interrupt context, failed umass0: BBB reset failed, TIMEOUT usb_block_allocmem: in interrupt context, size=4096 usb_block_allocmem: in interrupt context, failed umass0: BBB reset failed, TIMEOUT usb_block_allocmem: in interrupt context, size=4096 usb_block_allocmem: in interrupt context, failed umass0: BBB reset failed, TIMEOUT usb_block_allocmem: in interrupt context, size=4096 usb_block_allocmem: in interrupt context, failed umass0: BBB reset failed, TIMEOUT da0: reading primary partition table: error reading fsbn 0 The last line might result from the fact that I forgot to tell mount that it should use "-r -t msdos" in my excitement (write protect switch set to "on") ... after that the device was busy until I gave up. Any change in state takes long time, approx. between one to three minutes. Hopefully this helps catching some errors, Marc Am Mi, den 21.04.2004 schrieb Julian Elischer um 21:16: > AAARRRGGHHHHHHHHHH!!!! > we have already branched 4.10 > > It is a pitty that you could not report this a couple of > weeks ago.. > > I will try send you some patches to try in the next week or so, but they > will not be in 4.10. > > Thanks for the report... > > I'll get back to you on this... > > julian > > > > > > > Date: Wed, 21 Apr 2004 13:13:21 +0200 > > From: M.Santhoff@t-online.de (Marc Santhoff) > > Subject: USB device broken since big mfc > > To: "FreeBSD stable (Liste)" > > Message-ID: <1082546001.255.16.camel@zaphod.das.netz> > > Content-Type: text/plain > > > > > Hi! > > > > Now that i find the time: > > > > After the last big MFC for the USB code two devices are not (more) > > working: > > > > 1. CompactFlash card adapter with Genesys-Chip > > > > Worked a while ago (no old logs available) and now shows at plugging in > > > > umass0: Genesys Logic USB Storage Device, rev 1.10/1.13, addr 2, SCSI > > over > > Bulk-Only > > umass0: Get Max Lun not supported (STALLED) > > umass0:1:0:-1: Attached to scbus1 as device 0 > > > > and on plugging out > > > > umass0: at uhub0 port 2 (addr 2) disconnected > > ohci_freex: xfer=0xc2375900 not busy, 0x4f4e5155 > > usb_insert_transfer: xfer=0xc28e3d00 not busy 0x46524545 > > umass0: detached > > > > usbdevs -v > > > > Controller /dev/usb0: > > addr 1: full speed, self powered, config 1, OHCI root hub(0x0000), > > (0x10de)(0x0000), rev 1.00 > > port 1 powered > > port 2 addr 2: full speed, power 96 mA, config 1, USB Storage > > Device(0x0700), > > Genesys Logic(0x05e3), rev 1.13 > > port 3 powered > > > > 2. Sharkoon USB stick > > > > This one is new after the code change > > > > > > umass0: USB Flash Disk, rev 2.00/2.00, addr 2, SCSI over Bulk-Only > > umass0:1:0:-1: Attached to scbus1 as device 0 > > > > umass0: at uhub0 port 2 (addr 2) disconnected > > umass0: detached > > > > > > usbdevs -v > > > > Controller /dev/usb0: > > addr 1: full speed, self powered, config 1, OHCI root hub(0x0000), > > (0x10de)(0x0000), rev 1.00 > > port 1 powered > > port 2 addr 2: full speed, power 200 mA, config 1, Flash Disk(0x2168), > > USB(0x0ea0), rev 2.00 > > port 3 powered > > > > Some info about the system: > > > > ohci0: mem 0xea083000-0xea083fff irq 11 > > at > > device 2.1 on pci0 > > usb0: OHCI version 1.0, legacy support > > usb0: SMM does not respond, resetting > > usb0: on ohci0 > > > > > > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" >