From owner-freebsd-usb@FreeBSD.ORG Sun Feb 6 02:05:29 2011 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3E35C1065670 for ; Sun, 6 Feb 2011 02:05:29 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id EF18C8FC0C for ; Sun, 6 Feb 2011 02:05:28 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.4/8.14.4) with ESMTP id p1625R94032299 for ; Sat, 5 Feb 2011 19:05:27 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.4/8.14.4/Submit) with ESMTP id p1625Rvt032296; Sat, 5 Feb 2011 19:05:27 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Sat, 5 Feb 2011 19:05:27 -0700 (MST) From: Warren Block To: Benjamin In-Reply-To: <4D4DC06B.3070708@clear.net.nz> Message-ID: References: <4D4DC06B.3070708@clear.net.nz> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; CHARSET=US-ASCII; FORMAT=flowed Content-ID: X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.6 (wonkity.com [127.0.0.1]); Sat, 05 Feb 2011 19:05:28 -0700 (MST) Cc: freebsd-usb@freebsd.org Subject: Re: FTDI device "Olimex AVRISP-500" does not show up under FreeBSD. Linux driver source code available, translating this to changes in FreeBSD uftdi kern module? 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: Sun, 06 Feb 2011 02:05:29 -0000 On Sun, 6 Feb 2011, Benjamin wrote: > The Olimex is a programmer for AVR microcontrollers. It is apparently an FTDI > device and works under Linux. The product page at > http://www.olimex.com/dev/avr-isp500.html provides source code for a Linux > FTDI kernel module. > > I have the looked through the Linux FTDI driver source code and have even > been given a patch by a helpful member at the FreeBSD forums (wblock) but so > far no luck. Pointer to the forum thread: http://forums.freebsd.org/showthread.php?t=21577 From owner-freebsd-usb@FreeBSD.ORG Sun Feb 6 07:56:53 2011 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D0CEF1065670; Sun, 6 Feb 2011 07:56:53 +0000 (UTC) (envelope-from doconnor@gsoft.com.au) Received: from cain.gsoft.com.au (cain.gsoft.com.au [203.31.81.10]) by mx1.freebsd.org (Postfix) with ESMTP id 5134C8FC08; Sun, 6 Feb 2011 07:56:52 +0000 (UTC) Received: from ur.dons.net.au (ppp203-122-198-167.lns6.adl6.internode.on.net [203.122.198.167]) (authenticated bits=0) by cain.gsoft.com.au (8.14.4/8.14.3) with ESMTP id p167uiIk051444 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Sun, 6 Feb 2011 18:26:45 +1030 (CST) (envelope-from doconnor@gsoft.com.au) Mime-Version: 1.0 (Apple Message framework v1082) Content-Type: text/plain; charset=us-ascii From: "Daniel O'Connor" In-Reply-To: <41EB5AAB-ADE7-4241-82FA-6208B9CE5186@gsoft.com.au> Date: Sun, 6 Feb 2011 18:26:44 +1030 Content-Transfer-Encoding: quoted-printable Message-Id: References: <200912251137.43667.doconnor@gsoft.com.au> <200912252058.58879.doconnor@gsoft.com.au> <200912251244.46651.hselasky@c2i.net> <201001071454.47314.doconnor@gsoft.com.au> <7A41C2A4-8569-462F-9A39-E799623AF452@gsoft.com.au> <20110205053138.GC20095@server.vk2pj.dyndns.org> <41EB5AAB-ADE7-4241-82FA-6208B9CE5186@gsoft.com.au> To: "Daniel O'Connor" X-Mailer: Apple Mail (2.1082) X-Spam-Score: 0.163 () BAYES_00,RDNS_DYNAMIC X-Scanned-By: MIMEDefang 2.67 on 203.31.81.10 Cc: gnome@freebsd.org, freebsd-usb@freebsd.org Subject: Re: libusb-config missing? 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: Sun, 06 Feb 2011 07:56:53 -0000 On 05/02/2011, at 16:11, Daniel O'Connor wrote: >> The correct solution is 'USE_LIBUSB=3Dyes' with relevant magic in = bsd.port.mk >> Unfortunately this is unlikely to occur because it's only needed for = 7.x >> which will be dying within the next few years. >=20 > USE_LIBUSB=3D would be nice, I will see if I can author such a thing.. I have.. http://www.dons.net.au/~darius/libusb-8.diff I only did a few ports because I wasn't sure if it was the correct = approach and it's quite tedious :) -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C From owner-freebsd-usb@FreeBSD.ORG Sun Feb 6 09:12:32 2011 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 37DE8106566B for ; Sun, 6 Feb 2011 09:12:32 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms16-1.1blu.de (ms16-1.1blu.de [89.202.0.34]) by mx1.freebsd.org (Postfix) with ESMTP id B15A68FC16 for ; Sun, 6 Feb 2011 09:12:31 +0000 (UTC) Received: from [93.104.77.134] (helo=localhost.my.domain) by ms16-1.1blu.de with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1Pm0fU-00011A-9f for freebsd-usb@freebsd.org; Sun, 06 Feb 2011 10:12:29 +0100 Received: from localhost.my.domain (localhost [127.0.0.1]) by localhost.my.domain (8.14.4/8.14.3) with ESMTP id p169CMKZ052609 for ; Sun, 6 Feb 2011 10:12:22 +0100 (CET) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by localhost.my.domain (8.14.4/8.14.3/Submit) id p169CMU6052601 for freebsd-usb@freebsd.org; Sun, 6 Feb 2011 10:12:22 +0100 (CET) (envelope-from guru@unixarea.de) X-Authentication-Warning: localhost.my.domain: guru set sender to guru@unixarea.de using -f Date: Sun, 6 Feb 2011 10:12:21 +0100 From: Matthias Apitz To: freebsd-usb@freebsd.org Message-ID: <20110206091221.GA50007@tinyCurrent> References: <20110111085451.GA1953@current.Sisis.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20110111085451.GA1953@current.Sisis.de> X-Operating-System: FreeBSD 8.0-CURRENT (i386) User-Agent: Mutt/1.5.21 (2010-09-15) X-Con-Id: 51246 X-Originating-IP: 93.104.77.134 Subject: Re: microSD card in FreeBSD 8-CURRENT and 9-CURRENT X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Feb 2011 09:12:32 -0000 El día Tuesday, January 11, 2011 a las 09:54:51AM +0100, Matthias Apitz escribió: > > Hello, > > Inserting a microSD card (with an adapter) into my Dell M4400 laptop > gives no messages in /var/log/messages, even after kldload'ing mmc.ko > and mmcsd.ko... What I am missing? The card itself works fine in some > other Linux laptop. I also checked the BIOS and the slot is enabled. > > Thanks > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" With more time I did some tests on my netbooks, the Acer D250 which runs a 9-CURRENT and with the EeePC which still is on 8-CURRENT; When I insert and remove the microSD card in 9-CURRENT the device attaches fine and can be mounted: Feb 6 09:57:33 tinyCurrent kernel: ugen4.3: at usbus4 (disconnected) Feb 6 09:57:33 tinyCurrent kernel: umass0: at uhub4, port 8, addr 3 (disconnected) Feb 6 09:57:33 tinyCurrent kernel: (da0:umass-sim0:0:0:0): lost device Feb 6 09:57:33 tinyCurrent kernel: (da0:umass-sim0:0:0:0): removing device entry Feb 6 09:57:35 tinyCurrent kernel: ugen4.3: at usbus4 Feb 6 09:57:35 tinyCurrent kernel: umass0: on usbus4 Feb 6 09:57:35 tinyCurrent kernel: umass0: SCSI over Bulk-Only; quirks = 0x0000 Feb 6 09:57:35 tinyCurrent guru: Unknown USB device: vendor 0x0bda product 0x0159 bus uhub4 Feb 6 09:57:36 tinyCurrent kernel: umass0:0:0:-1: Attached to scbus0 Feb 6 09:57:37 tinyCurrent kernel: (probe0:umass-sim0:0:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 Feb 6 09:57:37 tinyCurrent kernel: (probe0:umass-sim0:0:0:0): CAM status: SCSI Status Error Feb 6 09:57:37 tinyCurrent kernel: (probe0:umass-sim0:0:0:0): SCSI status: Check Condition Feb 6 09:57:37 tinyCurrent kernel: (probe0:umass-sim0:0:0:0): SCSI sense: UNIT ATTENTION asc:28,0 (Not ready to ready change, medium may have changed) Feb 6 09:57:37 tinyCurrent kernel: da0 at umass-sim0 bus 0 scbus0 target 0 lun 0 Feb 6 09:57:37 tinyCurrent kernel: da0: Removable Direct Access SCSI-0 device Feb 6 09:57:37 tinyCurrent kernel: da0: 40.000MB/s transfers Feb 6 09:57:37 tinyCurrent kernel: da0: 486MB (996352 512 byte sectors: 64H 32S/T 486C) Feb 6 09:57:38 tinyCurrent kernel: GEOM: da0: partition 1 does not start on a track boundary. Feb 6 09:57:38 tinyCurrent kernel: GEOM: da0: partition 1 does not end on a track boundary. Feb 6 09:57:41 tinyCurrent kernel: ugen4.3: at usbus4 (disconnected) Feb 6 09:57:41 tinyCurrent kernel: umass0: at uhub4, port 8, addr 3 (disconnected) Feb 6 09:57:41 tinyCurrent kernel: (da0:umass-sim0:0:0:0): lost device Feb 6 09:57:41 tinyCurrent kernel: (da0:umass-sim0:0:0:0): removing device entry in 8-CURRENT it is only available when the card is inserted before booting; then the device is seen and mountable: Feb 6 09:37:31 tiny kernel: umass0: on usbus4 Feb 6 09:37:31 tiny kernel: umass0: SCSI over Bulk-Only; quirks = 0x0000 Feb 6 09:37:31 tiny kernel: Root mount waiting for: usbus4 Feb 6 09:37:31 tiny kernel: umass0:0:0:-1: Attached to scbus0 Feb 6 09:37:31 tiny kernel: Trying to mount root from ufs:/dev/ad2s1a Feb 6 09:37:31 tiny kernel: (probe0:umass-sim0:0:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 Feb 6 09:37:31 tiny kernel: (probe0:umass-sim0:0:0:0): CAM Status: SCSI Status Error Feb 6 09:37:31 tiny kernel: (probe0:umass-sim0:0:0:0): SCSI Status: Check Condition Feb 6 09:37:31 tiny kernel: (probe0:umass-sim0:0:0:0): UNIT ATTENTION asc:28,0 Feb 6 09:37:31 tiny kernel: (probe0:umass-sim0:0:0:0): Not ready to ready change, medium may have changed Feb 6 09:37:31 tiny kernel: (probe0:umass-sim0:0:0:0): Retrying Command (per Sense Data) Feb 6 09:37:31 tiny kernel: da0 at umass-sim0 bus 0 target 0 lun 0 Feb 6 09:37:31 tiny kernel: da0: Removable Direct Access SCSI-0 device Feb 6 09:37:31 tiny kernel: da0: 40.000MB/s transfers Feb 6 09:37:31 tiny kernel: da0: 486MB (996352 512 byte sectors: 64H 32S/T 486C) Feb 6 09:37:31 tiny kernel: GEOM: da0: partition 1 does not start on a track boundary. Feb 6 09:37:31 tiny kernel: GEOM: da0: partition 1 does not end on a track boundary. and one can even eject the card, re-insert it and re-mount it again; when the card is not inserted at boot, it is not detected later on insert: Feb 6 09:43:26 tiny kernel: umass0: on usbus4 Feb 6 09:43:26 tiny kernel: umass0: SCSI over Bulk-Only; quirks = 0x0000 Feb 6 09:43:26 tiny kernel: Root mount waiting for: usbus4 Feb 6 09:43:26 tiny kernel: umass0:0:0:-1: Attached to scbus0 Feb 6 09:43:26 tiny kernel: (probe0:umass-sim0:0:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 Feb 6 09:43:26 tiny kernel: (probe0:umass-sim0:0:0:0): CAM Status: SCSI Status Error Feb 6 09:43:26 tiny kernel: (probe0:umass-sim0:0:0:0): SCSI Status: Check Condition Feb 6 09:43:26 tiny kernel: (probe0:umass-sim0:0:0:0): NOT READY asc:3a,0 Feb 6 09:43:26 tiny kernel: (probe0:umass-sim0:0:0:0): Medium not present Feb 6 09:43:26 tiny kernel: (probe0:umass-sim0:0:0:0): Unretryable error Feb 6 09:43:26 tiny kernel: da0 at umass-sim0 bus 0 target 0 lun 0 Feb 6 09:43:26 tiny kernel: da0: Removable Direct Access SCSI-0 device Feb 6 09:43:26 tiny kernel: da0: 40.000MB/s transfers Feb 6 09:43:26 tiny kernel: da0: Attempt to query device size failed: NOT READY, Medium not present As well a camcontrol(8) does not help. Any ideas? Thanks matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/ From owner-freebsd-usb@FreeBSD.ORG Sun Feb 6 09:18:54 2011 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DCCE0106564A for ; Sun, 6 Feb 2011 09:18:54 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe03.c2i.net [212.247.154.66]) by mx1.freebsd.org (Postfix) with ESMTP id 69F268FC12 for ; Sun, 6 Feb 2011 09:18:54 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.1 cv=0KkIQGagYCvnrzE3Z2Lmid87OPdbX6VLcZYwAuLMZ50= c=1 sm=1 a=TBm2-QTcs5sA:10 a=Q9fys5e9bTEA:10 a=CL8lFSKtTFcA:10 a=i9M/sDlu2rpZ9XS819oYzg==:17 a=TrLAQggYAAAA:8 a=HOcC2C60dDQkzVDtIu8A:9 a=cQeRBy5MF-yaZQVnc6nLUmiFCRsA:4 a=PUjeQqilurYA:10 a=oNu6B_0C1CkA:10 a=i9M/sDlu2rpZ9XS819oYzg==:117 Received: from [188.126.198.129] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe03.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 84246351; Sun, 06 Feb 2011 10:18:52 +0100 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Sun, 6 Feb 2011 10:18:49 +0100 User-Agent: KMail/1.13.5 (FreeBSD/8.2-PRERELEASE; KDE/4.4.5; amd64; ; ) References: <4D4DC06B.3070708@clear.net.nz> In-Reply-To: <4D4DC06B.3070708@clear.net.nz> X-Face: *nPdTl_}RuAI6^PVpA02T?$%Xa^>@hE0uyUIoiha$pC:9TVgl.Oq, NwSZ4V"|LR.+tj}g5 %V,x^qOs~mnU3]Gn; cQLv&.N>TrxmSFf+p6(30a/{)KUU!s}w\IhQBj}[g}bj0I3^glmC( :AuzV9:.hESm-x4h240C`9=w MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201102061018.49161.hselasky@c2i.net> Cc: Benjamin Subject: Re: FTDI device "Olimex AVRISP-500" does not show up under FreeBSD. Linux driver source code available, translating this to changes in FreeBSD uftdi kern module? 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: Sun, 06 Feb 2011 09:18:54 -0000 On Saturday 05 February 2011 22:26:03 Benjamin wrote: > The Olimex is a programmer for AVR microcontrollers. It is apparently an > FTDI device and works under Linux. The product page at > http://www.olimex.com/dev/avr-isp500.html provides source code for a > Linux FTDI kernel module. > > I have the looked through the Linux FTDI driver source code and have > even been given a patch by a helpful member at the FreeBSD forums > (wblock) but so far no luck. > > Here is what it is identified as when plugged in to USB: > > Feb 5 13:30:07 blackbox kernel: ugen1.2: at usbus1 > > It should ideally show up as cuaU0 or ttyUSB0 as far as I understand. > > A quick search through the Linux driver source code to find all > > instances of OLIMEX: > > grep OLIMEX ftdi_*.[c,h] > > ftdi_sio.c: { USB_DEVICE(OLIMEX_VID, OLIMEX_ARM_USB_OCD_PID), > ftdi_sio.c: { USB_DEVICE(OLIMEX_VID, OLIMEX_AVR_ISP500_ISO_PID) }, > ftdi_sio_ids.h:#define OLIMEX_VID 0x15BA > ftdi_sio_ids.h:#define OLIMEX_ARM_USB_OCD_PID 0x0003 > ftdi_sio_ids.h:#define OLIMEX_AVR_ISP500_ISO_PID 0x000B > > Note that the above is Linux kernel module source. Myself and wblock > have tried to hack the FreeBSD uftdi kernel module to no avail. He > offered the attached patch which did not seem to work. > > The Linux driver source is available here: > http://www.olimex.com/dev/soft/avr/AVR-ISP500/AVR-ISP500_linux_driver.zip > > Does this look like something that could easily be changed in the > FreeBSD uftdi kern module? > > Cheers, > Benjamin Your patch looks OK. Can you create a PR so that your patch doesn't get lost? --HPS From owner-freebsd-usb@FreeBSD.ORG Sun Feb 6 11:11:58 2011 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D9760106573F for ; Sun, 6 Feb 2011 11:11:58 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe07.c2i.net [212.247.154.194]) by mx1.freebsd.org (Postfix) with ESMTP id 403418FC12 for ; Sun, 6 Feb 2011 11:11:57 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.1 cv=118a5bn0tGnRZbUa9ClBty6BTuM1bA5mUZqmf2RHYp4= c=1 sm=1 a=cPsIwEILHTkA:10 a=8nJEP1OIZ-IA:10 a=CL8lFSKtTFcA:10 a=i9M/sDlu2rpZ9XS819oYzg==:17 a=Oa9OBgwLAAAA:8 a=cHUB5xqwwUB4dX2RhngA:9 a=TYdzYDiCZJFuYqFQMU2N4QQ9Zv0A:4 a=wPNLvfGTeEIA:10 a=i9M/sDlu2rpZ9XS819oYzg==:117 Received: from [188.126.198.129] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe07.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 84243375; Sun, 06 Feb 2011 12:11:50 +0100 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Sun, 6 Feb 2011 12:11:49 +0100 User-Agent: KMail/1.13.5 (FreeBSD/8.2-PRERELEASE; KDE/4.4.5; amd64; ; ) References: <200912251137.43667.doconnor@gsoft.com.au> <41EB5AAB-ADE7-4241-82FA-6208B9CE5186@gsoft.com.au> In-Reply-To: X-Face: *nPdTl_}RuAI6^PVpA02T?$%Xa^>@hE0uyUIoiha$pC:9TVgl.Oq, NwSZ4V"|LR.+tj}g5 %V,x^qOs~mnU3]Gn; cQLv&.N>TrxmSFf+p6(30a/{)KUU!s}w\IhQBj}[g}bj0I3^glmC( :AuzV9:.hESm-x4h240C`9=w MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201102061211.49085.hselasky@c2i.net> Cc: gnome@freebsd.org Subject: Re: libusb-config missing? 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: Sun, 06 Feb 2011 11:11:58 -0000 On Sunday 06 February 2011 08:56:44 Daniel O'Connor wrote: > On 05/02/2011, at 16:11, Daniel O'Connor wrote: > >> The correct solution is 'USE_LIBUSB=yes' with relevant magic in > >> bsd.port.mk Unfortunately this is unlikely to occur because it's only > >> needed for 7.x which will be dying within the next few years. > > > > USE_LIBUSB= would be nice, I will see if I can author such a thing.. > > I have.. > http://www.dons.net.au/~darius/libusb-8.diff > > I only did a few ports because I wasn't sure if it was the correct approach > and it's quite tedious :) FYI: libusb in FreeBSD base depends on libpthread . --HPS From owner-freebsd-usb@FreeBSD.ORG Sun Feb 6 12:17:41 2011 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D2845106564A; Sun, 6 Feb 2011 12:17:41 +0000 (UTC) (envelope-from doconnor@gsoft.com.au) Received: from cain.gsoft.com.au (cain.gsoft.com.au [203.31.81.10]) by mx1.freebsd.org (Postfix) with ESMTP id 557018FC15; Sun, 6 Feb 2011 12:17:40 +0000 (UTC) Received: from ur.dons.net.au (ppp203-122-198-167.lns6.adl6.internode.on.net [203.122.198.167]) (authenticated bits=0) by cain.gsoft.com.au (8.14.4/8.14.3) with ESMTP id p16CHQ0t066002 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Sun, 6 Feb 2011 22:47:28 +1030 (CST) (envelope-from doconnor@gsoft.com.au) Mime-Version: 1.0 (Apple Message framework v1082) Content-Type: text/plain; charset=us-ascii From: "Daniel O'Connor" In-Reply-To: <201102061211.49085.hselasky@c2i.net> Date: Sun, 6 Feb 2011 22:47:26 +1030 Content-Transfer-Encoding: quoted-printable Message-Id: <539F9A39-5BDB-441A-B50C-242D3FF2F8AC@gsoft.com.au> References: <200912251137.43667.doconnor@gsoft.com.au> <41EB5AAB-ADE7-4241-82FA-6208B9CE5186@gsoft.com.au> <201102061211.49085.hselasky@c2i.net> To: Hans Petter Selasky X-Mailer: Apple Mail (2.1082) X-Spam-Score: 0.163 () BAYES_00,RDNS_DYNAMIC X-Scanned-By: MIMEDefang 2.67 on 203.31.81.10 Cc: gnome@freebsd.org, freebsd-usb@freebsd.org Subject: Re: libusb-config missing? 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: Sun, 06 Feb 2011 12:17:41 -0000 On 06/02/2011, at 21:41, Hans Petter Selasky wrote: >> I have.. >> http://www.dons.net.au/~darius/libusb-8.diff >>=20 >> I only did a few ports because I wasn't sure if it was the correct = approach >> and it's quite tedious :) >=20 > FYI: libusb in FreeBSD base depends on libpthread . OK, easy fixed. -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C From owner-freebsd-usb@FreeBSD.ORG Sun Feb 6 14:45:25 2011 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 40C72106566B for ; Sun, 6 Feb 2011 14:45:25 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id D97048FC12 for ; Sun, 6 Feb 2011 14:45:24 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.4/8.14.4) with ESMTP id p16EjF5b034664; Sun, 6 Feb 2011 07:45:15 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.4/8.14.4/Submit) with ESMTP id p16EjEiH034661; Sun, 6 Feb 2011 07:45:15 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Sun, 6 Feb 2011 07:45:14 -0700 (MST) From: Warren Block To: Hans Petter Selasky In-Reply-To: <201102061018.49161.hselasky@c2i.net> Message-ID: References: <4D4DC06B.3070708@clear.net.nz> <201102061018.49161.hselasky@c2i.net> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.6 (wonkity.com [127.0.0.1]); Sun, 06 Feb 2011 07:45:15 -0700 (MST) Cc: Benjamin , freebsd-usb@freebsd.org Subject: Re: FTDI device "Olimex AVRISP-500" does not show up under FreeBSD. Linux driver source code available, translating this to changes in FreeBSD uftdi kern module? 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: Sun, 06 Feb 2011 14:45:25 -0000 On Sun, 6 Feb 2011, Hans Petter Selasky wrote: > On Saturday 05 February 2011 22:26:03 Benjamin wrote: >> The Olimex is a programmer for AVR microcontrollers. It is apparently an >> FTDI device and works under Linux. The product page at >> http://www.olimex.com/dev/avr-isp500.html provides source code for a >> Linux FTDI kernel module. >> >> I have the looked through the Linux FTDI driver source code and have >> even been given a patch by a helpful member at the FreeBSD forums >> (wblock) but so far no luck. >> >> Here is what it is identified as when plugged in to USB: >> >> Feb 5 13:30:07 blackbox kernel: ugen1.2: at usbus1 >> >> It should ideally show up as cuaU0 or ttyUSB0 as far as I understand. >> >> A quick search through the Linux driver source code to find all >> >> instances of OLIMEX: >> > grep OLIMEX ftdi_*.[c,h] >> >> ftdi_sio.c: { USB_DEVICE(OLIMEX_VID, OLIMEX_ARM_USB_OCD_PID), >> ftdi_sio.c: { USB_DEVICE(OLIMEX_VID, OLIMEX_AVR_ISP500_ISO_PID) }, >> ftdi_sio_ids.h:#define OLIMEX_VID 0x15BA >> ftdi_sio_ids.h:#define OLIMEX_ARM_USB_OCD_PID 0x0003 >> ftdi_sio_ids.h:#define OLIMEX_AVR_ISP500_ISO_PID 0x000B >> >> Note that the above is Linux kernel module source. Myself and wblock >> have tried to hack the FreeBSD uftdi kernel module to no avail. He >> offered the attached patch which did not seem to work. >> >> The Linux driver source is available here: >> http://www.olimex.com/dev/soft/avr/AVR-ISP500/AVR-ISP500_linux_driver.zip >> >> Does this look like something that could easily be changed in the >> FreeBSD uftdi kern module? > > Your patch looks OK. Can you create a PR so that your patch doesn't get lost? I was going to also patch the uftdi man page and submit a PR with all three patches if it worked. But unfortunately, it doesn't. Only vendor ID seems verified so far. From owner-freebsd-usb@FreeBSD.ORG Sun Feb 6 23:48:52 2011 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CAA0D106567A for ; Sun, 6 Feb 2011 23:48:52 +0000 (UTC) (envelope-from freebsd_user@guice.ath.cx) Received: from guice.ath.cx (wsip-98-191-59-226.ri.ri.cox.net [98.191.59.226]) by mx1.freebsd.org (Postfix) with ESMTP id 7F6028FC0A for ; Sun, 6 Feb 2011 23:48:52 +0000 (UTC) Received: from wtp1.ath.cx (localhost [127.0.0.1]) by guice.ath.cx (8.14.4/8.14.4) with ESMTP id p16Nmoo2042594; Sun, 6 Feb 2011 18:48:51 -0500 (EST) (envelope-from freebsd_user@guice.ath.cx) Received: from 98.191.59.226 (SquirrelMail authenticated user email) by wtp1.ath.cx with HTTP; Sun, 6 Feb 2011 18:48:51 -0500 Message-ID: <58f11367517fc6acc039e186d7c24b5c.squirrel@wtp1.ath.cx> Date: Sun, 6 Feb 2011 18:48:51 -0500 From: freebsd_user@guice.ath.cx To: Duane.Hesser@gmail.com User-Agent: SquirrelMail/1.4.21 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Cc: freebsd-usb@freebsd.org Subject: Re: mount and umount large capacity external USB HDD (fstab) 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: Sun, 06 Feb 2011 23:48:52 -0000 > On Sat, 29 Jan 2011 18:24:42 -0500 > freebsd_user@guice.ath.cx wrote: >> Hope we are posting to the correct list ... >> We__re using a laptop for our temp mail-server and would like to attach a >> two (2) or three (3) TB external USB HDD for back-up purposes. Would someone be kind enough to point us to a step-by-step article on what needs >> to be entered in the /etc/fstab to allow us to leave the drive connected >> and facilitate auto mount/umount across system reboots; the results Google >> are presenting isn__t sufficient. Perhaps it__s or search terms that aren__t >> on point. >> Thanks. > The following link provides a 'recipe' for using gpart to partition the disk. > http://scratching.psybermonkey.net/2010/06/freebsd-how-to-format-partition.html If you use the '-L' flag to newfs after creating one or more partitions, e.g. > newfs -L "image" daXp1 > This will create a device node in /dev/ufs (/dev/ufs/image). > You may then create fstab entries as usual, but using the label device, e.g. > /dev/ufs/image /usr/image ufs rw 2 2 > Unless you add "noauto" to the options (rw,noauto) the system will fsck and mount the partition on boot. > You can, of course, create several partitions on the disk, using a separate label (-L) for each. > Is this what you needed? Thank you for your prompt reply. This appears to be what we were looking for, however, the gpart method has opened up another list of speed-bumps (so to speak), meaning, while reading about 'gpart' on our fbsd-7.3-P1 system; the command 'gpart show' yields no results. We have shelved the gpart suggestion and will try and do this with itemized commands from the CLI; something that we have never needed to do in the past --first time for everything. (smile) - Currently our USB drive is seen as: da0 at umass-sim0 bus 0 target 0 lun 0 da0: Fixed Direct Access SCSI-4 device da0: 40.000MB/s transfers da0: 2861588MB (732566645 4096 byte sectors: 255H 63S/T 45600C) we are considering using the following: # dd if=/dev/zero of=/dev/da0 bs=1k count=1 # fdisk -BI da0 #Initialize your new disk # bsdlabel -B -w da1s1 auto #Label it. # bsdlabel -e da0s1 # Edit the bsdlabel just created and add any partitions. # mkdir -p /mnt/drv-e # mkdir -p /mnt/drv-f # mkdir -p /mnt/drv-g # mkdir -p /mnt/drv-h # newfs /dev/da0s1e # Repeat this for every partition you created. # newfs /dev/da0s1f # newfs /dev/da0s1g # newfs /dev/da0s1h # mount /dev/da1s1e /mnt/drv-e # Mount the partition(s) # mount /dev/da1s1f /mnt/drv-f # mount /dev/da1s1g /mnt/drv-g # mount /dev/da1s1h /mnt/drv-h - # vi /etc/fstab # Add the appropriate entry/entries to your /etc/fstab. Is our thinking 'sane' when doing the above? Initial example taken/borrowed from the FreeBSD Handbook 18.3.2.1 Using Slices. - - Lastly, we don't fully understand, nor have we found an article or man page that explains (in a way we can understand), how to use the 'bs= ' to the 'dd' command. Within the 'man dd' the examples show 'bs=512' however, in the FreeBSD Handbook 18.3.2.1 Using Slices, they demonstrate dd using 'bs=1k'; we continue to be confused. Should we take this confusion to another list? Thanks in advance ... From owner-freebsd-usb@FreeBSD.ORG Mon Feb 7 03:34:09 2011 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6D7721065673; Mon, 7 Feb 2011 03:34:09 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 433F98FC17; Mon, 7 Feb 2011 03:34:09 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p173Y9Kv011218; Mon, 7 Feb 2011 03:34:09 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p173Y9jS011214; Mon, 7 Feb 2011 03:34:09 GMT (envelope-from linimon) Date: Mon, 7 Feb 2011 03:34:09 GMT Message-Id: <201102070334.p173Y9jS011214@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-amd64@FreeBSD.org, freebsd-usb@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: usb/154506: [umass] Copying dir with large files makes FreeBSD load above 4.00 and is rather slow 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: Mon, 07 Feb 2011 03:34:09 -0000 Old Synopsis: Copying dir with large files makes FreeBSD load above 4.00 and is rather slow New Synopsis: [umass] Copying dir with large files makes FreeBSD load above 4.00 and is rather slow Responsible-Changed-From-To: freebsd-amd64->freebsd-usb Responsible-Changed-By: linimon Responsible-Changed-When: Mon Feb 7 03:32:44 UTC 2011 Responsible-Changed-Why: reclassify. http://www.freebsd.org/cgi/query-pr.cgi?pr=154506 From owner-freebsd-usb@FreeBSD.ORG Mon Feb 7 06:17:57 2011 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 606991065670 for ; Mon, 7 Feb 2011 06:17:57 +0000 (UTC) (envelope-from email@guice.ath.cx) Received: from guice.ath.cx (wsip-98-191-59-226.ri.ri.cox.net [98.191.59.226]) by mx1.freebsd.org (Postfix) with ESMTP id E60BB8FC08 for ; Mon, 7 Feb 2011 06:17:56 +0000 (UTC) Received: from wtp1.ath.cx (localhost [127.0.0.1]) by guice.ath.cx (8.14.4/8.14.4) with ESMTP id p175d888044086; Mon, 7 Feb 2011 00:39:08 -0500 (EST) (envelope-from email@guice.ath.cx) Received: from 98.191.59.226 (SquirrelMail authenticated user email) by wtp1.ath.cx with HTTP; Mon, 7 Feb 2011 00:39:08 -0500 Message-ID: Date: Mon, 7 Feb 2011 00:39:08 -0500 From: email@guice.ath.cx To: Duane.Hesser@gmail.com User-Agent: SquirrelMail/1.4.21 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Cc: freebsd-usb@freebsd.org Subject: Re: mount and umount large capacity external USB HDD (fstab) 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: Mon, 07 Feb 2011 06:17:57 -0000 This is a corrected version of my last post -- typo discovered -- > On Sat, 29 Jan 2011 18:24:42 -0500 > freebsd_user@guice.ath.cx wrote: >> Hope we are posting to the correct list ... >> We__re using a laptop for our temp mail-server and would like to attach a >> two (2) or three (3) TB external USB HDD for back-up purposes. Would someone be kind enough to point us to a step-by-step article on what needs >> to be entered in the /etc/fstab to allow us to leave the drive connected >> and facilitate auto mount/umount across system reboots; the results Google >> are presenting isn__t sufficient. Perhaps it__s or search terms that aren__t >> on point. >> Thanks. > The following link provides a 'recipe' for using gpart to partition the disk. > http://scratching.psybermonkey.net/2010/06/freebsd-how-to-format-partition.html If you use the '-L' flag to newfs after creating one or more partitions, e.g. > newfs -L "image" daXp1 > This will create a device node in /dev/ufs (/dev/ufs/image). > You may then create fstab entries as usual, but using the label device, e.g. > /dev/ufs/image /usr/image ufs rw 2 2 > Unless you add "noauto" to the options (rw,noauto) the system will fsck and mount the partition on boot. > You can, of course, create several partitions on the disk, using a separate label (-L) for each. > Is this what you needed? Thank you for your prompt reply. This appears to be what we were looking for, however, the gpart method has opened up another list of speed-bumps (so to speak), meaning, while reading about 'gpart' on our fbsd-7.3-P1 system; the command 'gpart show' yields no results. We have shelved the gpart suggestion and will try and do this with itemized commands from the CLI; something that we have never needed to do in the past --first time for everything. (smile) - Currently our USB drive is seen as: da0 at umass-sim0 bus 0 target 0 lun 0 da0: Fixed Direct Access SCSI-4 device da0: 40.000MB/s transfers da0: 2861588MB (732566645 4096 byte sectors: 255H 63S/T 45600C) we are considering using the following: # dd if=/dev/zero of=/dev/da0 bs=1k count=1 # fdisk -BI da0 #Initialize your new disk # bsdlabel -B -w da0s1 auto #Label it. # bsdlabel -e da0s1 # Edit the bsdlabel just created and add any partitions. # mkdir -p /mnt/drv-e # mkdir -p /mnt/drv-f # mkdir -p /mnt/drv-g # mkdir -p /mnt/drv-h # newfs /dev/da0s1e # Repeat this for every partition you created. # newfs /dev/da0s1f # newfs /dev/da0s1g # newfs /dev/da0s1h # mount /dev/da1s1e /mnt/drv-e # Mount the partition(s) # mount /dev/da1s1f /mnt/drv-f # mount /dev/da1s1g /mnt/drv-g # mount /dev/da1s1h /mnt/drv-h - # vi /etc/fstab # Add the appropriate entry/entries to your /etc/fstab. Is our thinking 'sane' when doing the above? Initial example taken/borrowed from the FreeBSD Handbook 18.3.2.1 Using Slices. - - Lastly, we don't fully understand, nor have we found an article or man page that explains (in a way we can understand), how to use the 'bs= ' to the 'dd' command. Within the 'man dd' the examples show 'bs=512' however, in the FreeBSD Handbook 18.3.2.1 Using Slices, they demonstrate dd using 'bs=1k'; we continue to be confused. Should we take this confusion to another list? Thanks in advance ... From owner-freebsd-usb@FreeBSD.ORG Mon Feb 7 06:21:12 2011 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C12A9106566B for ; Mon, 7 Feb 2011 06:21:12 +0000 (UTC) (envelope-from email@guice.ath.cx) Received: from guice.ath.cx (wsip-98-191-59-226.ri.ri.cox.net [98.191.59.226]) by mx1.freebsd.org (Postfix) with ESMTP id 80C748FC18 for ; Mon, 7 Feb 2011 06:21:12 +0000 (UTC) Received: from wtp1.ath.cx (localhost [127.0.0.1]) by guice.ath.cx (8.14.4/8.14.4) with ESMTP id p176LBSC044271; Mon, 7 Feb 2011 01:21:11 -0500 (EST) (envelope-from email@guice.ath.cx) Received: from 98.191.59.226 (SquirrelMail authenticated user email) by wtp1.ath.cx with HTTP; Mon, 7 Feb 2011 01:21:11 -0500 Message-ID: Date: Mon, 7 Feb 2011 01:21:11 -0500 From: email@guice.ath.cx To: Duane.Hesser@gmail.com User-Agent: SquirrelMail/1.4.21 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Cc: freebsd-usb@freebsd.org Subject: Re: mount and umount large capacity external USB HDD (fstab) 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: Mon, 07 Feb 2011 06:21:12 -0000 I really hope we aren't as ignorant as what these articles are making us appear to be ... We will try and not be long winded on this. OUR GOAL: To add a USB 3TB drive, with a UFS2 fs, to an already running x86 FreeBSD 7.3-p1 system. PROBLEMS – The following sections from the FBSD Handbook are erroneous and/or not properly working with this device. 18.3.1 Using sysinstall(8) – After all is said and done, we are only left with da0s1, da0s2 and da0s3 within /dev. 18.3.2 Using Command Line Utilities 18.3.2.1 Using Slices – some of the commands in this section do not yield positive results and fail. Example, as seen in the handbook: WORKSTATION# dd if=/dev/zero of=/dev/da0 bs=1k count=1 dd: /dev/da0: Invalid argument 1+0 records in 0+0 records out 0 bytes transferred in 0.000108 secs (0 bytes/sec) When we edit the ‘bs=1k’ to ‘bs=512k’ this appears to complete successfully. Another example: WORKSTATION# fdisk -BI da0 ******* Working on device /dev/da0 ******* fdisk: /boot/mbr: length must be a multiple of sector size Honestly, how does this stuff make it in to the handbook? Lets look at a final example from the handbook; how is a novice suppose to know what to do in the resulting file after using the following command, bsdlabel -e da0s1 The system we are working on/with … - WORKSTATION# uname -r 7.3-RELEASE-p1 - WORKSTATION# df -h Filesystem Size Used Avail Capacity Mounted on /dev/ad4s1a 484M 412M 33M 93% / devfs 1.0K 1.0K 0B 100% /dev /dev/ad4s1f 3.4G 168K 3.2G 0% /tmp /dev/ad4s1d 106G 23G 74G 23% /usr /dev/ad4s1e 29G 4.3G 22G 16% /var - USB DEVICE: (3TB) da0 at umass-sim0 bus 0 target 0 lun 0 da0: Fixed Direct Access SCSI-4 device da0: 40.000MB/s transfers da0: 2861588MB (732566645 4096 byte sectors: 255H 63S/T 45600C) Everyone says read the handbook, then when we do, this is what we get. From owner-freebsd-usb@FreeBSD.ORG Mon Feb 7 07:56:43 2011 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 86722106566C for ; Mon, 7 Feb 2011 07:56:43 +0000 (UTC) (envelope-from nagilum@nagilum.org) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.17.9]) by mx1.freebsd.org (Postfix) with ESMTP id F05948FC12 for ; Mon, 7 Feb 2011 07:56:42 +0000 (UTC) Received: from cakebox.homeunix.net (ip-109-85-29-116.web.vodafone.de [109.85.29.116]) by mrelayeu.kundenserver.de (node=mreu2) with ESMTP (Nemesis) id 0LqpCY-1QPHXc15la-00eYO6; Mon, 07 Feb 2011 08:56:34 +0100 Received: from cakebox.homeunix.net (localhost [127.0.0.1]) by cakebox.homeunix.net (Postfix) with ESMTP id D0454678DC; Mon, 7 Feb 2011 08:56:27 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on cakebox.tis X-Spam-Level: X-Spam-Status: No, score=-2.9 required=3.0 tests=ALL_TRUSTED,BAYES_00 autolearn=failed version=3.3.1 Received: by cakebox.homeunix.net (Postfix, from userid 80) id 03AF6678D4; Mon, 7 Feb 2011 08:56:25 +0100 (CET) Received: from cakebox.tis (cakebox.tis [10.1.1.1]) by 10.1.1.1 (Horde Framework) with HTTP; Mon, 07 Feb 2011 08:56:25 +0100 Message-ID: <20110207085625.66671jlvqglhs0bo@10.1.1.1> Date: Mon, 07 Feb 2011 08:56:25 +0100 From: Nagilum To: email@guice.ath.cx References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-2; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Dynamic Internet Messaging Program (DIMP) H3 (1.1.6) X-Provags-ID: V02:K0:ZUuQf0fs2sAahbQzPceBuvkgKf53ux27C60q0PeV+86 fWucYFNA7oNF5fS/PVhPa+7lvsJF7dXb1CqTrxobF8LPOqkkeZ 7RzMfighCxfCYBIyxbzIrgldHybdZWuRfVVXAr//U08bdkA512 wMY+CXzXMTm6xkb/j0a1xSsgkmJY2jGMf7qQJV9bc+vaKWXDYM IiYGTzDl7mREQoSXHL6dnrPT8BX4FVLGDmx9rTLS/Q= Cc: freebsd-usb@freebsd.org, Duane.Hesser@gmail.com Subject: Re: mount and umount large capacity external USB HDD (fstab) 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: Mon, 07 Feb 2011 07:56:43 -0000 ----- Message from email@guice.ath.cx --------- Date: Mon, 7 Feb 2011 00:39:08 -0500 From: email@guice.ath.cx Subject: Re: mount and umount large capacity external USB HDD (fstab) To: Duane.Hesser@gmail.com Cc: freebsd-usb@freebsd.org > Lastly, we don't fully understand, nor have we found an article or man > page that explains (in a way we can understand), how to use the 'bs= ' to > the 'dd' command. > > Within the 'man dd' the examples show 'bs=512' however, in the FreeBSD > Handbook 18.3.2.1 Using Slices, they demonstrate dd using 'bs=1k'; we > continue to be confused. Should we take this confusion to another list? > bs is the block size for the transfers. If you want to fill a harddisk you want to use a big blocksize such as bs=1m. When you have a smaller block size dd will be more busy pushing the blocks around which will only increase CPU load and lower your transfer rate. As for the unit following the number: Where sizes are specified, a decimal, octal, or hexadecimal number of bytes is expected. If the number ends with a ``b'', ``k'', ``m'', ``g'', or ``w'', the number is multiplied by 512, 1024 (1K), 1048576 (1M), 1073741824 (1G) or the number of bytes in an integer, respectively. Two or more numbers may be separated by an ``x'' to indicate a product. ----- End message from email@guice.ath.cx ----- ======================================================================== # _ __ _ __ http://www.nagilum.org/ \n icq://69646724 # # / |/ /__ ____ _(_) /_ ____ _ nagilum@nagilum.org \n +491776461165 # # / / _ `/ _ `/ / / // / ' \ Amiga (68k/PPC): AOS/NetBSD/Linux # # /_/|_/\_,_/\_, /_/_/\_,_/_/_/_/ Mac (PPC): MacOS-X / NetBSD /Linux # # /___/ x86: FreeBSD/Linux/Solaris/Win2k ARM9: EPOC EV6 # ======================================================================== ---------------------------------------------------------------- cakebox.homeunix.net - all the machine one needs.. From owner-freebsd-usb@FreeBSD.ORG Mon Feb 7 11:07:11 2011 Return-Path: Delivered-To: freebsd-usb@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A93D51065746 for ; Mon, 7 Feb 2011 11:07:11 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 9730C8FC24 for ; Mon, 7 Feb 2011 11:07:11 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p17B7BYD027899 for ; Mon, 7 Feb 2011 11:07:11 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p17B7Avl027897 for freebsd-usb@FreeBSD.org; Mon, 7 Feb 2011 11:07:10 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 7 Feb 2011 11:07:10 GMT Message-Id: <201102071107.p17B7Avl027897@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-usb@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-usb@FreeBSD.org 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: Mon, 07 Feb 2011 11:07:11 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o usb/154506 usb [umass] Copying dir with large files makes FreeBSD loa o usb/154192 usb In Garmin Oregon GPS, only the first umass device is v o usb/154127 usb device IDs for MC547 u3g modem o usb/153929 usb The umodem driver doesn't support the MTK 3329 GPS chi o usb/153703 usb My USB keyboard does not use in 8-STABLE o usb/153609 usb [zyd] [panic] kernel: Fatal trap 12: page fault while o usb/153599 usb [patch] Feiya Elango USB MicroSD reader synchronize ca o usb/153149 usb USB stick quirk regression o usb/152892 usb Not updating /etc files in installer FreeBSD-8.2-BETA1 o usb/152075 usb [usb8] [ehci] Add quirk for CS5536 USB o usb/150989 usb [patch] Add Netgear WG111V2_2 support to upgt(4) o usb/150892 usb [zyd] Whenever network contacted in any shape, way or p usb/150546 usb libusb(3) libusb_control_transfer() prototype is incor o usb/150401 usb [umass] [usb8] Errors from USB drives mixed between UF o usb/150189 usb [run] [usb8] [patch] if_run appears to corrupt IP traf p usb/149934 usb [patch] [usb8] Transcend JetFlash V85 poor performance o usb/149900 usb [uftdi] [patch] FreeBSD 8.1 uftdi patch to support usb p usb/149764 usb [u3g] [patch] usbdevs update: Huawei K3765 3G modem o usb/149675 usb [uftdi] [usb_serial] doesn't react to break properly o usb/149528 usb [zyd] Wireless USB stick not detected - vendor id 0x08 o usb/149283 usb [uftdi] avrdude unable to talk to Arduino board (via u o usb/149162 usb [ural] ASUS WL-167g doesn't work in 8.1 (continue of 1 s usb/148702 usb [usb8] [request] IO DATA USB-RSAQ5 support on FreeBSD- o usb/148080 usb usbconfig(8) sometimes does not turn off the device o usb/147516 usb [umass] [usb67] kernel unable to deal with Olympus USB o i386/147475 usb [install] FreeBSD 8.x does not install on ASUS K8N4-E p usb/146871 usb [usbdevs] [usb8] [patch] provide descriprive string fo o usb/146840 usb [hang] FreeBSD 7.2 / 7.3 / 8.0 hang at startup after e o usb/146153 usb [axe] [usb8] Hosts in network doesn't receive any pack o usb/146054 usb [urtw] [usb8] urtw driver potentially out of date f usb/145513 usb [usb8] New USB stack: no new devices after forced usb p usb/145455 usb [usb8] [patch] USB debug support cannot be disabled o usb/145415 usb [umass] [usb8] USB card reader does not create slices a usb/145184 usb GENERIC can't mount root from USB on Asus EEE o usb/145165 usb [keyboard] [usb8] ukbd_set_leds_callback: error=USB_ER f kern/144938 usb [keyboard] [boot] Boot Failure with Apple (MB869LL/A) o usb/144387 usb [run] [panic] if_run panic o usb/144043 usb [umass] [usb8] USB DLT tape drive throws random errors a usb/143790 usb [boot] [cam] can not boot from usb hdd f usb/143620 usb [cdce] [usb8] the module if_cdce doesn't support my Op f usb/143294 usb [usb8] copying process stops at some time (10 - 50 sec o usb/143286 usb [ukbd] [usb8] [boot] boot failures on RELENG_8 system p usb/143186 usb [usbdevs] [usb8] [patch] add USB device IDs for Google a usb/143139 usb [umass] [usb8] [patch] Quirk for Century EX35SW4_SB4 J o usb/143045 usb [umass] [usb8] [patch] mounting Fujitsu 2600Z camera d o usb/142991 usb [uftdi] [usb67] [patch] Patch to add Crystalfontz 533 f usb/142989 usb [usb8] canon eos 50D attaches but detaches after few s f usb/142957 usb [umass] [usb8] [patch] patch for USB disk SYNCHRONIZE o usb/142719 usb [urtw] [usb8] AirLive WL-1600USB (RTL8187L chipset) fa o usb/142713 usb [usb67] [panic] Kernel Panik when connecting an IPhone f usb/142276 usb [umass] [usb8] Cache Synchronization Error with Olympu o usb/142229 usb [ums] [usb8] [hang] connecting a USB mouse to a Dell P o usb/141777 usb [usb8] [usbdevs] [rum] [patch] Support usbdevs / rum(4 f usb/141680 usb [uath] [usb8] Netgear WG111T not working with uath dri o usb/141664 usb [pcm] [usb8] Logitech USB microphone failure [regressi o usb/141474 usb [boot] [usb8] FreeBSD 8.0 can not install from USB CDR o usb/141327 usb [ukbd] [usb67] USB kbd not working with 7.1+PAE on IBM o usb/141212 usb [ukbd] [usb8] ukbd_set_leds_callback:700: error=USB_ER o kern/141011 usb [usb8] Encrypted root, geli password at boot; enter ke o usb/140920 usb [install] [usb8] USB based install fails on 8.0-RELEAS o usb/140893 usb [urtw] [usb8] WPA2 not working on rtl8187b o kern/140849 usb [ums] [usb8] USB mouse doesn't work under FreeBSD 8.0- a usb/140810 usb [uftdi] [usb8] 8.X copy and paste problem / tty overfl o usb/140477 usb [umass] [usb8] [patch] allow boot-time attachment of d o usb/140236 usb [msdosfs] [usb8] Labels wiped on external Journaled US o usb/140160 usb [usb8] [acpi] USB ports are no longer "active" after A s usb/139990 usb [panic] [patch] [usb67] Kernel frequently panics after a usb/139598 usb [umass] [usb8] CAM reports "xptioctl: put "device pass o usb/139243 usb [uhci] [usb67] unplug prolific USB serial -> uhci_abor a usb/138904 usb [rum] [panic] [usb67] unpluging USB wifi card panics s f usb/138882 usb [ohci] [panic] [usb67] Can't install FreeBSD 7.2 due t o usb/138798 usb [boot] [usb8] 8.0-BETA4 can't boot from USB flash driv o usb/138659 usb [usb8][uftdi] driver broken in RELENG_8/CURRENT s usb/138570 usb [usb67] [panic] USB mass device panics current 7.2-STA o usb/138175 usb [usb67] [boot] System cannot boot, when USB reader wit o usb/138124 usb [snd_uaudio] [usb8] Axed uaudio functionality in the u o usb/138119 usb [usb67] [usb8] MultiBay CDROM (probably on USB bus) is o usb/137872 usb [usb67] [boot] slow booting on usb flash drive o usb/137806 usb [ukbd] [usb67] USB keyboard doesn't work until it's un o usb/137763 usb [usb67][ukbd] Logitech wireless keyboard media keys no o usb/137377 usb [usb8] request support for Huawei E180 o usb/137341 usb [usb8][rum] driver if_rum doesn't work at all and thro f usb/137190 usb [usb8][patch] inhibit spurious button releases for som o usb/137189 usb [usb8][patch] create and use sysctl nodes for HID repo p usb/137188 usb [usb8][patch] correctly handle USB report descriptors o usb/137129 usb [ums] [usb8] SteelSeries Ikari USB laser mouse not att p usb/136761 usb [usbdevs][usb67][patch] Teach usbdevs / u3g(4) about H o usb/135938 usb [aue] [usb67] aue driver only passes traffic in promis o usb/135542 usb [keyboard] boot loader does not work with a usb keyboa o usb/135348 usb [umass] [patch] USB Drive Hangs with ZFS (JMicron USB2 o usb/135206 usb machine reboots when inserted USB device f usb/135200 usb SAMSUNG i740 usb mass: Synchronize cache failed, statu o usb/135182 usb UMASS quirk - Olympus FE20 camera o usb/134950 usb Lowering DTR for USB-modem via ubsa is not possible o usb/134299 usb Kernel Panic plugging in MF626 USB UMTS Stick u3g o usb/134193 usb System freeze on usb MP3 player insertion o usb/134085 usb [umass] Adding usb quirk for Sony USB flash drive o usb/133989 usb [usb8] [ukbd] USB keyboard dead at mountroot> prompt o usb/133712 usb [ural] [patch] RE: Fixed an issue with ural(4) that wa o usb/133390 usb umass crashes system in 7.1 when Olympus D-540 attache o usb/133296 usb [rum] driver not working properly in hostap mode o usb/132594 usb USB subsystem causes page fault and crashes o usb/132312 usb [hang] Xorg 7.4 halts USB controller o usb/132080 usb [patch] [usb] [rum] [panic] Kernel panic after NOMEM c o usb/132066 usb [ukbd] Keyboard failure USB keyboard DELL 760 o usb/132036 usb [panic] page fault when connecting Olympus C740 camera o usb/131583 usb [umass] Failure when detaching umass Device o usb/131576 usb [aue] ADMtek USB To LAN Converter can't send data o usb/131521 usb Registering Belkin UPS to usb_quirks.c p usb/131123 usb [patch] [usb67] re-add UQ_ASSUME_CM_OVER_DATA USB quir o usb/131074 usb no run-time detection of usb devices plugged into exte o usb/130736 usb Page fault unplugging USB stick o usb/130230 usb [patch] [quirk] [usb67] [usb] [cam] [umass] Samsung El o usb/130208 usb Boot process severely hampered by umass0 error o usb/130122 usb [usb8] DVD drive detects as 'da' device f usb/129766 usb [usb] [panic] plugging in usb modem HUAWEI E226 panics o usb/129673 usb [uhci] uhci (uhub) confused on replugging USB 1.1 scan o usb/129500 usb [umass] [panic] FreeBSD Crashes when connecting SanDis o usb/129311 usb [usb] [panic] Instant crash with an USB card reader s usb/128990 usb [usb] u3g does not handle RTS/CTS available on for exa o usb/128977 usb [usb67] [patch] uaudio is not full duplex p usb/128803 usb [usbdevs] [patch] Quirk for I-Tuner Networks USBLCD4X2 o usb/128485 usb [umodem] [patch] Nokia N80 modem support o usb/128425 usb [umass] Cannot Connect Maxtor Onetouch 4 USB drive o usb/128418 usb [panic] [rum] loading if_rum causes panic, looks like o usb/127926 usb [boot] USB Timeout during bootup s usb/127453 usb [request] ubsa, uark, ubser, uftdi, and friends should p docs/127406 usb [patch] update umodem man page: Sony Ericsson W810i o usb/127342 usb [boot] [panic] enabling usb keyboard and mouse support o usb/127248 usb [ucom] panic while uplcom devices attach and detach o usb/127222 usb [ohci] Regression in 7.0 usb storage generic driver o usb/126884 usb [ugen] [patch] Bug in buffer handling in ugen.c o usb/126848 usb [usb]: USB Keyboard hangs during Installation o usb/126740 usb [ulpt] doesn't work on 7.0-RELEASE, 10 second stall be o usb/126519 usb [usb] [panic] panic when plugging in an iphone o kern/126396 usb [panic] kernel panic after unplug USB Bluetooth device o usb/125631 usb [ums] [panic] kernel panic during bootup while 'Logite o usb/125510 usb [panic] repeated plug and unplug of USB mass storage d o usb/125450 usb [panic] Removing USB flash card while being accessed c o usb/125238 usb [ums] Habu Mouse turns off in X o usb/125088 usb [keyboard] Touchpad not detected on Adesso AKB-430UG U o usb/124980 usb [panic] kernel panic on detaching unmounted umass devi o kern/124777 usb [ucom] USB cua devices don't revert to tty devices whe o usb/124758 usb [rum] [panic] rum panics SMP kernel o usb/124708 usb [panic] Kernel panic on USB KVM reattach f usb/124604 usb [ums] Microsoft combo wireless mouse doesn't work o kern/124130 usb [usb] gmirror fails to start usb devices that were pre o usb/123969 usb [usb] Supermicro H8SMi-2 usb problem: port reset faile o usb/123714 usb [usb] [panic] Panic when hald-storage-probe runs with o usb/123691 usb usbd(8): usbd hangs o usb/123690 usb [usb] [panic] Panic on USB device insertion when usb l o usb/123611 usb [usb] BBB reset failed, STALLED from Imation/Mitsumi U o usb/122992 usb [umass] [patch] MotoROKR Z6 Phone not recognised by um o usb/122936 usb [ucom] [ubsa] Device does not receive interrupt o usb/122905 usb [ubsa] [patch] add Huawei E220 to ubsa s usb/122819 usb [usb67] [patch] Patch to provide dynamic additions to o usb/122813 usb [udbp] [request] udbp driver should be removed in favo o usb/122547 usb [ehci] USB Printer not being recognized after reboot o usb/122539 usb [ohci] [panic] AnyDATA ADU-E1000D - kernel panic: ohci o usb/122483 usb [panic] [ulpt] Repeatable panic in 7.0-STABLE o usb/122119 usb [umass] umass device causes creation of daX but not da o usb/121755 usb [ohci] [patch] Fix panic after ohci/uhub cardbus devic o usb/121734 usb [ugen] ugen HP1022 printer device not working since up o usb/121708 usb [keyboard] nforce 650i mobo w/ usb keyboard infinite k o usb/121474 usb [cam] [patch] QUIRK: SAMSUNG HM250JI in LaCie usb hard o usb/121275 usb [boot] [panic] FreeBSD fails to boot with usb legacy s f usb/121232 usb [usb67] [panic] USB CardBus card removal causes reboot o usb/121169 usb [umass] Issues with usb mp3 player o usb/121045 usb [uftdi] [patch] Add support for PC-OP-RS1 and KURO-RS f usb/120786 usb [usb] [panic] Kernel panic when forced umount of a det o usb/120729 usb [panic] fault while in kernel mode with connecting USB o usb/120572 usb [usb67] [umass] [patch] quirk to support ASUS P535 as o usb/120321 usb [hang] System hangs when transferring data to WD MyBoo o usb/120283 usb [panic] Automation reboot with wireless keyboard & mou o usb/120034 usb [hang] 6.2 & 6.3 hangs on boot at usb0: OHCI with 1.5 o usb/119977 usb [ums] Mouse does not work in a Cherry-USB keyboard/mou o usb/119653 usb [cam] [patch] iriver s7 player sync cache error patch o usb/119633 usb [umass] umass0: BBB reset failed, IOERROR [regression] o usb/119513 usb [irq] inserting dlink dwl-g630 wireless card results i o usb/119509 usb [usb] USB flaky on Dell Optiplex 755 o usb/119481 usb [hang] FreeBSD not responding after connecting USB-Mas o usb/119389 usb [umass] Sony DSC-W1 CBI reset failed, STALLED [regress o usb/119227 usb [ubsa] [patch] ubsa buffer is too small; should be tun o usb/119201 usb [cam] [patch] Quirks for Olympus FE-210 camera, LG and o usb/118480 usb [umass] Timeout in USB mass storage freezes vfs layer o usb/118353 usb [panic] [ppp] repeatable kernel panic during ppp(4) se o usb/118141 usb [ucom] usb serial and nokia phones ucomreadcb ucomread o usb/118140 usb [ucom] [patch] quick hack for ucom to get it behave wi o usb/118098 usb [umass] 6th gen iPod causes problems when disconnectin o usb/117955 usb [umass] [panic] inserting minolta dimage a2 crashes OS o usb/117946 usb [panic] D-Link DUB-E100 rev. B1 crashes FreeBSD 7.0-BE o usb/117938 usb [ums] [patch] Adding support for MS WL Natural and MS o usb/117911 usb [ums] [request] Mouse Gembird MUSWC not work o usb/117893 usb [umass] Lacie USB DVD writing failing o usb/117613 usb [uhci] [irq] uhci interrupt storm & USB leaked memory o usb/117598 usb [snd_uaudio] [patch] Not possible to record with Plant o usb/117313 usb [umass] [panic] panic on usb camera insertion o usb/117200 usb [ugen] ugen0 prints strange string on attach if detach o usb/117183 usb [panic] USB/fusefs -- panic while transferring large a p usb/116947 usb [ukbd] [patch] [regression] enable boot protocol on th p usb/116699 usb [usb] [usb67] USB HID devices do not initialize at sys o usb/116561 usb [umodem] [panic] RELENG_6 umodem panic "trying to slee o usb/116282 usb [ulpt] Cannot print on USB HP LJ1018 or LJ1300 o usb/115935 usb [usbdevs] [patch] kernel counterproductively attaches o usb/115933 usb [uftdi] [patch] RATOC REX-USB60F (usb serial converter o usb/115400 usb [ehci] Problem with EHCI on ASUS M2N4-SLI o usb/115298 usb [ulpt] [panic] Turning off USB printer panics kernel o usb/114916 usb [umass] [patch] USB Maxtor drive (L300RO) requires qui o kern/114780 usb [uplcom] [panic] Panics while stress testing the uplco o usb/114682 usb [umass] generic USB media-card reader unusable o usb/114310 usb [libusb] [patch] [panic] USB hub attachment panics ker o usb/114068 usb [usb67] [usb8] [umass] [patch] Problem with connection o conf/114013 usb [patch] WITHOUT_USB allow to compil a lot of USB stuff s usb/113060 usb [usb67] [ulpt] [patch] Samsung printer not working in o usb/110856 usb [usb67] [ugen] [patch] interrupt in msgs are truncated o usb/107827 usb [usb67] [ohci] [panic] ohci_add_done addr not found o usb/107388 usb [usb67] [usb8] [new driver] [patch] add utoppy device o usb/106041 usb [usb67] [usb8] [request] FreeBSD does not recognise Mu o usb/105361 usb [usb67] [panic] Kernel panic during unmounting mass st s usb/103917 usb [usb67] [uhub] USB driver reports "Addr 0 should never o usb/103418 usb [usb67] [usb8] [patch] [request] usbhidctl(8) add abil o usb/103046 usb [usb67] [ulpt] [patch] ulpt event driven I/O with sele p usb/101775 usb [usb67] [libusbhid] [patch] possible error in report d o usb/101761 usb [usb67] [patch] [request] usb.h: increase maximal size o usb/100746 usb [usb67] [ukbd] system does not boot due to USB keyboar o usb/99431 usb [keyboard] FreeBSD on MSI 6566E (Intel 845E motherboar o kern/99200 usb [usb67] SMP-Kernel crashes reliably when Bluetooth con o usb/98343 usb [boot] BBB reset failed errors with Creative Muvo MP3 o usb/97472 usb [cam] [patch] add support for Olympus C150,D390 s usb/97286 usb [mouse] [request] MS Wireless Intellimouse Explorer 2. o usb/97175 usb [umass] [hang] USB cardreader hangs system o usb/96457 usb [umass] [panic] fatback on umass = reboot o usb/96381 usb [cam] [patch] add a quirk table entry for a flash ram o usb/96224 usb [usb] [msdosfs] mount_msdosfs cause page fault in sync s usb/96120 usb [ums] [request] USB mouse not always detected s usb/95636 usb [umass] [boot] 5 minute delay at boot when using VT620 o usb/95562 usb [umass] Write Stress in USB Mass drive causes "vinvalb s usb/95348 usb [keyboard] USB keyboard unplug causes noise on screen o usb/95037 usb [umass] USB disk not recognized on hot-plug. o usb/94897 usb [panic] Kernel Panic when cleanly unmounting USB disk o usb/94717 usb [ulpt] Reading from /dev/ulpt can break work of a UHCI o usb/94384 usb [panic] kernel panic with usb2 hardware o usb/93872 usb [cam] [patch] SCSI quirk required for ELTA 8061 OL USB o usb/93828 usb [ohci] [panic] ohci causes panic on boot (HP Pavillion o usb/93389 usb [umass] [patch] Digital Camera Pentax S60 don't work o usb/92852 usb [ums] [patch] Vertical scroll not working properly on o usb/92171 usb [panic] panic unplugging Vodafone Mobile Connect (UMTS o usb/92142 usb [uhub] SET_ADDR_FAILED and SHORT_XFER errors from usb o usb/92083 usb [ural] [panic] panic using WPA on ural NIC in 6.0-RELE o usb/92052 usb [ulpt] usbd causes defunct process with busy file-hand o usb/91906 usb [ehci] [hang] FreeBSD hangs while booting with USB leg f usb/91896 usb camcontrol(8): Serial Number of USB Memory Sticks is n o usb/91811 usb [umass] Compact Flash in HP Photosmart 2610 return " o usb/91546 usb [umodem] [patch] Nokia 6630 mobile phone does not work o usb/91538 usb [ulpt] [patch] Unable to print to EPSON CX3500 o usb/91283 usb [boot] [regression] booting very slow with usb devices o usb/91238 usb [umass] USB tape unit fails to write a second tape fil o usb/90700 usb [umass] [panic] Kernel panic on connect/mount/use umas o usb/89954 usb [umass] [panic] USB Disk driver race condition? s usb/89003 usb [request] LaCie Firewire drive not properly supported o usb/88743 usb [hang] [regression] USB makes kernel hang at boot (reg o usb/88408 usb [axe] axe0 read PHY failed o usb/87648 usb [mouse] Logitech USB-optical mouse problem. f usb/87224 usb [usb] Cannot mount USB Zip750 o usb/86767 usb [umass] [patch] bogus "slice starts beyond end of the o usb/86298 usb [mouse] Known good USB mouse won't work with correct s s usb/85067 usb [uscanner] Cannot attach ScanJet 4300C to usb device s usb/84336 usb [usb] [reboot] instant system reboot when unmounting a o usb/83977 usb [ucom] [panic] ucom1: open bulk out error (addr 2): IN o usb/83863 usb [ugen] Communication problem between opensc/openct via o usb/83756 usb [ums] [patch] Microsoft Intellimouse Explorer 4.0A doe o usb/83563 usb [umass] [panic] Page Fault while detaching Mpman Usb d o usb/83504 usb [kernel] [patch] SpeedTouch USB stop working on recent s usb/82569 usb [umass] [panic] USB mass storage plug/unplug causes sy o usb/82520 usb [udbp] [reboot] Reboot when USL101 connected o usb/82350 usb [ucom] [panic] null pointer dereference in USB stack o usb/81621 usb [ehci] [hang] external hd hangs under load on ehci o usb/80935 usb [uvisor] [patch] uvisor.c is not work with CLIE TH55. o usb/80854 usb [patch] [request] suggestion for new iface-no-probe me s usb/80777 usb [request] usb_rem_task() should wait for callback to c s usb/80776 usb [udav] [request] UDAV device driver shouldn't use usb_ o usb/80774 usb [patch] have "usbd_find_desc" in line with the other " o usb/80361 usb [umass] [patch] mounting of Dell usb-stick fails f usb/80040 usb [sound] [hang] Use of sound mixer causes system freeze o usb/79723 usb [usb] [request] prepare for high speed isochronous tra o usb/78984 usb [umass] [patch] Creative MUVO umass failure f usb/77294 usb [ucom] [panic] ucom + ulpcom panic o usb/76732 usb [ums] Mouse problems with USB KVM Switch o usb/76653 usb [umass] [patch] Problem with Asahi Optical usb device f usb/76395 usb [uhci] USB printer does not work, usbdevs says "addr 0 s usb/75928 usb [umass] [request] Cytronix SmartMedia card (SMC) reade o usb/75800 usb [ucom] ucom1: init failed STALLED error in time of syn f usb/75797 usb [sound] [regression] 5.3-STABLE(2005 1/4) detect USB h o usb/75764 usb [umass] [patch] "umass0: Phase Error" - no device for f usb/75705 usb [umass] [panic] da0 attach / Optio S4 (with backtrace) f usb/74771 usb [umass] [hang] mounting write-protected umass device a s usb/74453 usb [umass] [patch] Q-lity CD-RW USB ECW-043 (ScanLogic SL o usb/74211 usb [umass] USB flash drive causes CAM status 0x4 on 4.10R o usb/73307 usb [panic] Kernel panics on USB disconnect s usb/72733 usb [ucom] [request] Kyocera 7135 Palm OS connection probl o usb/71455 usb [umass] Slow USB umass performance of 5.3 o usb/71417 usb [ugen] Cryptoflex e-gate USB token (ugen0) communicati o usb/71416 usb [ugen] Cryptoflex e-gate USB token (ugen0) detach is n o usb/71280 usb [aue] aue0 device (linksys usb100tx) doesn't work in 1 o usb/71155 usb [ulpt] misbehaving usb-printer hangs processes, causes o usb/70523 usb [umct] [patch] umct sending/receiving wrong characters o usb/69006 usb [usbdevs] [patch] Apple Cinema Display hangs USB ports o usb/68232 usb [ugen] [patch] ugen(4) isochronous handling correction o usb/67301 usb [uftdi] [panic] RTS and system panic o usb/66547 usb [ucom] Palm Tungsten T USB does not initialize correct o usb/63621 usb [umass] [panic] USB MemoryStick Reader stalls/crashes s usb/62257 usb [umass] [request] card reader UCR-61S2B is only half-s o usb/59698 usb [keyboard] [patch] Rework of ukbd HID to AT code trans s bin/57255 usb [patch] usbd(8) and multi-function devices s usb/52026 usb [usb] [request] umass driver support for InSystem ISD2 s usb/51958 usb [urio] [patch] update for urio driver o usb/40948 usb [umass] [request] USB HP CDW8200 does not work o usb/30929 usb [usb] [patch] use usbd to initialize USB ADSL modem 318 problems total. From owner-freebsd-usb@FreeBSD.ORG Mon Feb 7 14:38:07 2011 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A4E9A1065673 for ; Mon, 7 Feb 2011 14:38:07 +0000 (UTC) (envelope-from infocard@security.ca) Received: from sportscenter280.com (adsl-068-213-092-063.sip.bhm.bellsouth.net [68.213.92.63]) by mx1.freebsd.org (Postfix) with ESMTP id 65BA48FC14 for ; Mon, 7 Feb 2011 14:38:07 +0000 (UTC) Received: from security.ca ([206.221.225.226]) by sportscenter280.com with Microsoft SMTPSVC(6.0.3790.4675); Mon, 7 Feb 2011 07:07:04 -0600 From: VISA To: freebsd-usb@freebsd.org Date: 07 Feb 2011 08:09:09 -0500 Message-ID: <20110207080909.A896DE9798028A16@security.ca> Content-Transfer-Encoding: quoted-printable X-OriginalArrivalTime: 07 Feb 2011 13:07:05.0400 (UTC) FILETIME=[EB05AB80:01CBC6C7] MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Your Card is Limited for Online Services. 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: Mon, 07 Feb 2011 14:38:07 -0000 Dear Visa Cardholder, Continuous Monitoring is an integral part of Visa's multiple layer= s of security. In addition to other fraud monitoring tools, we can often spo= t fraud based upon transactions on the card that are outside of cardholde= rs typical purchasing pattern. This allows us to spot fraudulent activity= as quickly as possible and acts as an early-warning system to identify frau= dulent activity. During a recent checkout we detected suspicious activity and your Visa card = may have been compromised. Fraudulent activity made it necessary to limit= your card for online services. Your Case ID Number is: AY09GP32DD= 06 Conform to our security requirements and in order to continue = online services with your card, we must validate your identity. Pleas= e use our link below to proceed: [1]https://www.verif= ied.visa.com/ca/personal/security/vbv/index.jsp?ep=3Dv_sym_verified&ss l-= 128 Visa takes online security= very seriously so that you can shop safely on the Internet. As part of our = commitment to fighting fraud we have the right to investigate, prevent, or take action regarding illegal activities, = suspected fraud, situations involving potential threats to the physical safe= ty of any person, or violations of the terms and conditions for using Vis= a. =A9 Copyright 1996-2011 Visa. All Rights Reserved. References 1. 3D"http://base.hostnetworks.com/.www2.ssl/personal/security/visa-sec= From owner-freebsd-usb@FreeBSD.ORG Mon Feb 7 18:53:53 2011 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BB172106564A for ; Mon, 7 Feb 2011 18:53:53 +0000 (UTC) (envelope-from duane.hesser@gmail.com) Received: from mail-yi0-f54.google.com (mail-yi0-f54.google.com [209.85.218.54]) by mx1.freebsd.org (Postfix) with ESMTP id 6DED98FC1C for ; Mon, 7 Feb 2011 18:53:53 +0000 (UTC) Received: by yie19 with SMTP id 19so1946364yie.13 for ; Mon, 07 Feb 2011 10:53:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:to:cc:subject:in-reply-to :references:reply-to:x-mailer:mime-version:content-type :content-transfer-encoding; bh=exGUKC1kUBqmgSpxL9Uf1OCuNRFgW9kCT0S7XFDz42c=; b=lLkIho5HBkPJywJ6TR/cRHfnwaVtTLd0rYHd9fGANvj8+lqWBqL6EJ18M1lwmtSQHg GVQoI0/XKg1qFClSDeqjJKRg6d2+P3Or39/ogdmOWr/vYabBRmaIExJCrJ0TE6F39hYz pGyze6EDFfXxXew6HE05MhAlTEN7Jr8nSZEpg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:cc:subject:in-reply-to:references:reply-to :x-mailer:mime-version:content-type:content-transfer-encoding; b=TaQmE2fOXEsUPERoS22bi3ExE5udWruxhZAtlNe4JxXOL0vSZDveyqC9Y3wxBD0Dps +MpXcRhJ9lhl00NoD4Q2SmtO4FpQ2jp8FHHgs1UX64WbunnPWrD7lqnyNg/Fzercqivy pklC3SsVsRdW3yh7X3XrfnB9shzpASO8F5Qpw= Received: by 10.100.233.33 with SMTP id f33mr9743035anh.213.1297104832577; Mon, 07 Feb 2011 10:53:52 -0800 (PST) Received: from belinda.androcles.org ([199.204.207.9]) by mx.google.com with ESMTPS id 37sm5952849anr.4.2011.02.07.10.53.49 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 07 Feb 2011 10:53:50 -0800 (PST) Received: from belinda.androcles.org (localhost [127.0.0.1]) by belinda.androcles.org (8.14.4/8.14.4/8.13.3/1) with SMTP id p17IrlhC009850; Mon, 7 Feb 2011 10:53:48 -0800 (PST) (envelope-from duane.hesser@gmail.com) Message-Id: <201102071853.p17IrlhC009850@belinda.androcles.org> Date: Mon, 7 Feb 2011 10:53:47 -0800 From: "Duane H. Hesser" To: email@guice.ath.cx In-Reply-To: References: X-Mailer: Sylpheed 3.0.3 (GTK+ 2.22.1; i386-portbld-freebsd8.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-usb@freebsd.org, Duane.Hesser@gmail.com Subject: Re: mount and umount large capacity external USB HDD (fstab) X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Duane.Hesser@gmail.com List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Feb 2011 18:53:53 -0000 On Mon, 7 Feb 2011 01:21:11 -0500 email@guice.ath.cx wrote: > I really hope we aren't as ignorant as what these articles are making us > appear to be ... > > We will try and not be long winded on this. > > OUR GOAL: > To add a USB 3TB drive, with a UFS2 fs, to an already running x86 FreeBSD > 7.3-p1 system. > > PROBLEMS __ The following sections from the FBSD Handbook are erroneous > and/or not properly working with this device. > > 18.3.1 Using sysinstall(8) __ After all is said and done, we are only left > with da0s1, da0s2 and da0s3 within /dev. > > 18.3.2 Using Command Line Utilities > 18.3.2.1 Using Slices __ some of the commands in this section do not yield > positive results and fail. Example, as seen in the handbook: > > WORKSTATION# dd if=/dev/zero of=/dev/da0 bs=1k count=1 > dd: /dev/da0: Invalid argument > 1+0 records in > 0+0 records out > 0 bytes transferred in 0.000108 secs (0 bytes/sec) > > When we edit the __bs=1k__ to __bs=512k__ this appears to complete > successfully. Another example: > > WORKSTATION# fdisk -BI da0 > ******* Working on device /dev/da0 ******* > fdisk: /boot/mbr: length must be a multiple of sector size > > Honestly, how does this stuff make it in to the handbook? Lets look at a > final example from the handbook; how is a novice suppose to know what to > do in the resulting file after using the following command, > > bsdlabel -e da0s1 > > The system we are working on/with __ > - > WORKSTATION# uname -r > 7.3-RELEASE-p1 > - > WORKSTATION# df -h > Filesystem Size Used Avail Capacity Mounted on > /dev/ad4s1a 484M 412M 33M 93% / > devfs 1.0K 1.0K 0B 100% /dev > /dev/ad4s1f 3.4G 168K 3.2G 0% /tmp > /dev/ad4s1d 106G 23G 74G 23% /usr > /dev/ad4s1e 29G 4.3G 22G 16% /var > - > USB DEVICE: (3TB) > da0 at umass-sim0 bus 0 target 0 lun 0 > da0: Fixed Direct Access SCSI-4 device > da0: 40.000MB/s transfers > da0: 2861588MB (732566645 4096 byte sectors: 255H 63S/T 45600C) > > > Everyone says read the handbook, then when we do, this is what we get. > I believe there are 2 limits you may be encountering. The disk is larger than 2TiB and is low-level formatted with 4096 bytes sectors. The 2TiB limit results from clculations with 32 bit integers and 512 byte sectors. The large sector size is almost certainly the problem with "dd"...you can read less than a sector, but an attempt to write less than a sector will fail. Try bs=4k. I'm running 8 Stable as of a few days ago. The "fdisk" sources on this system were updated 11/22/2010, but appear to handle sector sizes only up to 2048 bytes. I haven't checked to see if it handles disk or partition sizes above 2TiB, but it doesn't matter, it won't handle your disk properly, and I doubt that the FBSD 7.3 fdisk would either. There is no option for sector size, it's a hard-coded limit which is too small. Bsdlabel may have similar limits. The version on this system was last modified 09/26/2010. It reads the sectorsize from the disk and therefore should have no trouble with a 3tb disk. I don't know whether the 7.3 fdisk has these modifications, but with fdisk failing, it doesn't matter. If you are using the disk only under freebsd you might try using 'bsdlabel' on the entire disk (da0), but check I suspect your bsdlabel may not be upgraded yet (check sbin/bsdlabel). The manual page for 'gpart' claims that it was introduced in 7.0, and I would think it would be working reasonably by 7.3. It should be able to handle large disks and partitions with no trouble, and is much easier to use than the old stuff. You said in your last email that 'gpart show' showed nothing, but that may be because it had nothing intelligible to show. If you haven't tried it yet, and the disk contains no data which you might lose, then try the recipe from the link I gave you. Create a couple of partitions, then try 'gpart show'. Alternately, you may try getting recent versions of fdisk and bsdlabel from cvs or svn, increase the sector size limit in fdisk, and try that route again. -- Duane H. Hesser From owner-freebsd-usb@FreeBSD.ORG Tue Feb 8 01:23:21 2011 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3DD3C106564A for ; Tue, 8 Feb 2011 01:23:21 +0000 (UTC) (envelope-from freebsd_user@guice.ath.cx) Received: from guice.ath.cx (wsip-98-191-59-226.ri.ri.cox.net [98.191.59.226]) by mx1.freebsd.org (Postfix) with ESMTP id E62C68FC0A for ; Tue, 8 Feb 2011 01:23:20 +0000 (UTC) Received: from wtp1.ath.cx (localhost [127.0.0.1]) by guice.ath.cx (8.14.4/8.14.4) with ESMTP id p181NI1N048992; Mon, 7 Feb 2011 20:23:18 -0500 (EST) (envelope-from freebsd_user@guice.ath.cx) Received: from 98.191.59.226 (SquirrelMail authenticated user email) by wtp1.ath.cx with HTTP; Mon, 7 Feb 2011 20:23:19 -0500 Message-ID: <4afb11a2cba1286de56928b6b8c61c00.squirrel@wtp1.ath.cx> In-Reply-To: <201102071853.p17IrlhC009850@belinda.androcles.org> References: <201102071853.p17IrlhC009850@belinda.androcles.org> Date: Mon, 7 Feb 2011 20:23:19 -0500 From: freebsd_user@guice.ath.cx To: freebsd-usb@freebsd.org User-Agent: SquirrelMail/1.4.21 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Cc: nagilum@nagilum.org, Duane.Hesser@gmail.com Subject: Re: mount and umount large capacity external USB HDD (fstab) 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: Tue, 08 Feb 2011 01:23:21 -0000 > > I believe there are 2 limits you may be encountering. The disk is larger > than 2TiB and is low-level formatted with 4096 bytes sectors. The 2TiB > limit results from clculations with 32 bit integers and 512 byte sectors. > > The large sector size is almost certainly the problem with "dd"...you > can read less than a sector, but an attempt to write less than a sector > will fail. Try bs=4k. > > I'm running 8 Stable as of a few days ago. The "fdisk" sources on > this system were updated 11/22/2010, but appear to handle sector sizes > only > up to 2048 bytes. I haven't checked to see if it handles disk or > partition > sizes above 2TiB, but it doesn't matter, it won't handle your disk > properly, > and I doubt that the FBSD 7.3 fdisk would either. There is no option for > sector size, it's a hard-coded limit which is too small. > > Bsdlabel may have similar limits. The version on this system was last > modified 09/26/2010. It reads the sectorsize from the disk and therefore > should have no trouble with a 3tb disk. I don't know whether the 7.3 > fdisk has these modifications, but with fdisk failing, it doesn't matter. > If you are using the disk only under freebsd you might try using > 'bsdlabel' > on the entire disk (da0), but check I suspect your bsdlabel may not be > upgraded yet (check sbin/bsdlabel). > > The manual page for 'gpart' claims that it was introduced in 7.0, and I > would think it would be working reasonably by 7.3. It should be able > to handle large disks and partitions with no trouble, and is much easier > to use than the old stuff. You said in your last email that 'gpart show' > showed nothing, but that may be because it had nothing intelligible to > show. If you haven't tried it yet, and the disk contains no data which > you might lose, then try the recipe from the link I gave you. Create > a couple of partitions, then try 'gpart show'. > > Alternately, you may try getting recent versions of fdisk and bsdlabel > from cvs or svn, increase the sector size limit in fdisk, and try that > route again. > > -- > Duane H. Hesser > Thank you all for your input. We must admit, we have a bit more reading to do to fully understand what "Nagilum" was providing. On the other hand, we do understand more of what Mr. Hesser was saying, however, we aren't prepared to upgrade to to 8.x or start playing around by replacing/updating individual utilities on this 'live 7.3 system'. Perhaps on a test machine 'first'. Until then we will have to take the whimp way out and format the 3TB USB device with NTFS and mount it until we are better versed on exactly where Freebsds' support is for these HDD's that are greater than @-TB in size. We really would like at least one (1) FreeBSD machine that is all, dedicated so to speak, BSD. We will read that recipe. Should anyone make additions to this thread we are all eyes_&_ears. From owner-freebsd-usb@FreeBSD.ORG Tue Feb 8 02:00:43 2011 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 77F6B1065696 for ; Tue, 8 Feb 2011 02:00:43 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from vps1.elischer.org (vps1.elischer.org [204.109.63.16]) by mx1.freebsd.org (Postfix) with ESMTP id 553A78FC15 for ; Tue, 8 Feb 2011 02:00:43 +0000 (UTC) Received: from julian-mac.elischer.org (home-nat.elischer.org [67.100.89.137]) (authenticated bits=0) by vps1.elischer.org (8.14.4/8.14.4) with ESMTP id p1820a71049624 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Mon, 7 Feb 2011 18:00:41 -0800 (PST) (envelope-from julian@freebsd.org) Message-ID: <4D50A3CB.9030301@freebsd.org> Date: Mon, 07 Feb 2011 18:00:43 -0800 From: Julian Elischer User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10.4; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: freebsd_user@guice.ath.cx References: <201102071853.p17IrlhC009850@belinda.androcles.org> <4afb11a2cba1286de56928b6b8c61c00.squirrel@wtp1.ath.cx> In-Reply-To: <4afb11a2cba1286de56928b6b8c61c00.squirrel@wtp1.ath.cx> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: nagilum@nagilum.org, Duane.Hesser@gmail.com, freebsd-usb@freebsd.org Subject: Re: mount and umount large capacity external USB HDD (fstab) 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: Tue, 08 Feb 2011 02:00:43 -0000 >> I believe there are 2 limits you may be encountering. The disk is larger >> than 2TiB and is low-level formatted with 4096 bytes sectors. The 2TiB >> limit results from clculations with 32 bit integers and 512 byte sectors. >> >> The large sector size is almost certainly the problem with "dd"...you >> can read less than a sector, but an attempt to write less than a sector >> will fail. Try bs=4k. >> >> I'm running 8 Stable as of a few days ago. The "fdisk" sources on >> this system were updated 11/22/2010, but appear to handle sector sizes >> only >> up to 2048 bytes. I haven't checked to see if it handles disk or >> partition >> sizes above 2TiB, but it doesn't matter, it won't handle your disk >> properly, >> and I doubt that the FBSD 7.3 fdisk would either. There is no option for >> sector size, it's a hard-coded limit which is too small. >> >> Bsdlabel may have similar limits. The version on this system was last >> modified 09/26/2010. It reads the sectorsize from the disk and therefore >> should have no trouble with a 3tb disk. I don't know whether the 7.3 >> fdisk has these modifications, but with fdisk failing, it doesn't matter. >> If you are using the disk only under freebsd you might try using >> 'bsdlabel' >> on the entire disk (da0), but check I suspect your bsdlabel may not be >> upgraded yet (check sbin/bsdlabel). >> >> The manual page for 'gpart' claims that it was introduced in 7.0, and I >> would think it would be working reasonably by 7.3. It should be able >> to handle large disks and partitions with no trouble, and is much easier >> to use than the old stuff. You said in your last email that 'gpart show' >> showed nothing, but that may be because it had nothing intelligible to >> show. If you haven't tried it yet, and the disk contains no data which >> you might lose, then try the recipe from the link I gave you. Create >> a couple of partitions, then try 'gpart show'. >> >> Alternately, you may try getting recent versions of fdisk and bsdlabel >> from cvs or svn, increase the sector size limit in fdisk, and try that >> route again. >> >> -- >> Duane H. Hesser >> > Thank you all for your input. We must admit, we have a bit more reading > to do to fully understand what "Nagilum" was providing. On the other > hand, we do understand more of what Mr. Hesser was saying, however, we > aren't prepared to upgrade to to 8.x or start playing around by > replacing/updating individual utilities on this 'live 7.3 system'. > Perhaps on a test machine 'first'. Until then we will have to take the > whimp way out and format the 3TB USB device with NTFS and mount it until > we are better versed on exactly where Freebsds' support is for these HDD's > that are greater than @-TB in size. > > We really would like at least one (1) FreeBSD machine that is all, > dedicated so to speak, BSD. > > We will read that recipe. Should anyone make additions to this thread we > are all eyes_&_ears. > As was mentioned before, the limitationcomes from the defintion of the partition structures. Firstly the fdisk structure introduced with the IBM PC (I think) has onlt room for 32 bits on its sector tables. secondly the bsd 'label' structure introduced in the 80s has a similar limitiation. The new structure to get around this is the GPT structure. you need to partition the drive with a gpt capable partitioning tool.. gpart claims to do this (though I have never done it as I don't have a need (yet)). This limitiation will affect any system which you wil use to write those partition types and is indepenent of file system. In addition Once you have made a partition big enough, you will need to populate it wirth a filesystem capable of representing data to that scale. UFS2 and ZFS are two candidates for this. If you take a modern Windows, it will probably partitionthe drive using a GPT table or some similar modern structure.(I don't have any modern windows system so I can't tell you exactly what they do, but they MUST have done the same thingif they didn't use GPT itself.) This is a separate step from puting the file system on, though the windows tools may present it as a single step. I hope y'all will find this useful. > _______________________________________________ > freebsd-usb@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-usb > To unsubscribe, send any mail to "freebsd-usb-unsubscribe@freebsd.org" > > From owner-freebsd-usb@FreeBSD.ORG Tue Feb 8 03:31:15 2011 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AF3B8106566C for ; Tue, 8 Feb 2011 03:31:15 +0000 (UTC) (envelope-from freebsd_user@guice.ath.cx) Received: from guice.ath.cx (wsip-98-191-59-226.ri.ri.cox.net [98.191.59.226]) by mx1.freebsd.org (Postfix) with ESMTP id 68DEA8FC16 for ; Tue, 8 Feb 2011 03:31:15 +0000 (UTC) Received: from wtp1.ath.cx (localhost [127.0.0.1]) by guice.ath.cx (8.14.4/8.14.4) with ESMTP id p183VD78049521; Mon, 7 Feb 2011 22:31:14 -0500 (EST) (envelope-from freebsd_user@guice.ath.cx) Received: from 98.191.59.226 (SquirrelMail authenticated user email) by wtp1.ath.cx with HTTP; Mon, 7 Feb 2011 22:31:14 -0500 Message-ID: In-Reply-To: <4D50A3CB.9030301@freebsd.org> References: <201102071853.p17IrlhC009850@belinda.androcles.org> <4afb11a2cba1286de56928b6b8c61c00.squirrel@wtp1.ath.cx> <4D50A3CB.9030301@freebsd.org> Date: Mon, 7 Feb 2011 22:31:14 -0500 From: freebsd_user@guice.ath.cx To: "Julian Elischer" User-Agent: SquirrelMail/1.4.21 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Cc: freebsd-usb@freebsd.org Subject: Re: mount and umount large capacity external USB HDD (fstab) 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: Tue, 08 Feb 2011 03:31:15 -0000 ... snip snip .... >> >> We will read that recipe. Should anyone make additions to this thread >> we >> are all eyes_&_ears. >> > > As was mentioned before, the limitationcomes from the defintion of the > partition > structures. Firstly the fdisk structure introduced with the IBM PC (I > think) has onlt room for > 32 bits on its sector tables. secondly the bsd 'label' structure > introduced > in the 80s has a similar limitiation. > The new structure to get around this is the GPT structure. you need to > partition > the drive with a gpt capable partitioning tool.. gpart claims to do > this (though > I have never done it as I don't have a need (yet)). This limitiation > will affect > any system which you wil use to write those partition types and is > indepenent > of file system. In addition Once you have made a partition big > enough, you > will need to populate it wirth a filesystem capable of representing > data to that scale. > UFS2 and ZFS are two candidates for this. > > If you take a modern Windows, it will probably partitionthe drive > using a GPT table > or some similar modern structure.(I don't have any modern windows > system so I can't tell > you exactly what they do, but they MUST have done the same thingif > they didn't use GPT itself.) > This is a separate step from puting the file system on, though the > windows tools may > present it as a single step. > > I hope y'all will find this useful. > Thank you. As Mr. Hesser pointed out earlier; it must be time for us to learn gpart and friends :-) From owner-freebsd-usb@FreeBSD.ORG Tue Feb 8 16:00:20 2011 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 868891065672 for ; Tue, 8 Feb 2011 16:00:20 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 3CBB68FC13 for ; Tue, 8 Feb 2011 16:00:20 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p18G0Krt019532 for ; Tue, 8 Feb 2011 16:00:20 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p18G0KtG019519; Tue, 8 Feb 2011 16:00:20 GMT (envelope-from gnats) Resent-Date: Tue, 8 Feb 2011 16:00:20 GMT Resent-Message-Id: <201102081600.p18G0KtG019519@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, Artem Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B8735106566C for ; Tue, 8 Feb 2011 15:52:10 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id A6A718FC12 for ; Tue, 8 Feb 2011 15:52:10 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id p18FqA3L097413 for ; Tue, 8 Feb 2011 15:52:10 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id p18FqA8D097389; Tue, 8 Feb 2011 15:52:10 GMT (envelope-from nobody) Message-Id: <201102081552.p18FqA8D097389@red.freebsd.org> Date: Tue, 8 Feb 2011 15:52:10 GMT From: Artem To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: usb/154593: Input/output error writing to external USB drive 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: Tue, 08 Feb 2011 16:00:20 -0000 >Number: 154593 >Category: usb >Synopsis: Input/output error writing to external USB drive >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-usb >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Feb 08 16:00:19 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Artem >Release: 8.1-RELEASE >Organization: >Environment: FreeBSD storage.lan 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Mon Jul 19 02:36:49 UTC 2010 root@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 >Description: When writing to an external USB driver using dd, it fails with Input/output error. It seems the smaller the block the faster it fails, so could be some kind of race condition. Tried # usbconfig add_quirk UQ_MSC_NO_SYNC_CACHE, but it did not have any effect. The same USB driver works fine under Windows XP and Linux 64bit. # dd if=/dev/random of=/dev/da2 dd: /dev/da2: Input/output error 50+0 records in 49+0 records out 25088 bytes transferred in 0.610338 secs (41105 bytes/sec) # dd if=/dev/random of=/dev/da2 dd: /dev/da2: Input/output error 5+0 records in 4+0 records out 2048 bytes transferred in 0.591235 secs (3464 bytes/sec) # dd if=/dev/random of=/dev/da2 bs=8192 dd: /dev/da2: Input/output error 2779+0 records in 2778+0 records out 22757376 bytes transferred in 23.276072 secs (977715 bytes/sec) # dd if=/dev/random of=/dev/da2 bs=65536 dd: /dev/da2: Input/output error 2067+0 records in 2066+0 records out 135397376 bytes transferred in 32.066219 secs (4222430 bytes/sec) relevant /var/log/messages Feb 8 07:04:13 storage root: Unknown USB device: vendor 0x2116 product 0x0320 bus uhub4 Feb 8 07:04:13 storage kernel: ugen4.4: at usbus4 Feb 8 07:04:13 storage kernel: umass2: on usbus4 Feb 8 07:04:13 storage kernel: umass2: SCSI over Bulk-Only; quirks = 0x0000 Feb 8 07:04:15 storage kernel: umass2:2:2:-1: Attached to scbus2 Feb 8 07:04:15 storage kernel: da2 at umass-sim2 bus 2 scbus2 target 0 lun 0 Feb 8 07:04:15 storage kernel: da2: Fixed Direct Access SCSI-0 device Feb 8 07:04:15 storage kernel: da2: 40.000MB/s transfers Feb 8 07:04:15 storage kernel: da2: 156334MB (320173057 512 byte sectors: 255H 63S/T 19929C) Feb 8 07:06:28 storage kernel: (da2:umass-sim2:2:0:0): AutoSense failed Feb 8 07:09:09 storage kernel: (da2:umass-sim2:2:0:0): AutoSense failed Feb 8 07:10:29 storage last message repeated 2 times relevant device is ugen4.4: at usbus4, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON, the other one is usb flash, which seems to work fine. # usbconfig ugen0.1: at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON ugen1.1: at usbus1, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON ugen2.1: at usbus2, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON ugen3.1: at usbus3, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON ugen4.1: at usbus4, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON ugen4.2: at usbus4, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON ugen4.3: at usbus4, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON ugen4.4: at usbus4, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON >How-To-Repeat: >Fix: Patch attached with submission follows: Copyright (c) 1992-2010 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 is a registered trademark of The FreeBSD Foundation. FreeBSD 8.1-RELEASE #0: Mon Jul 19 02:36:49 UTC 2010 root@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Genuine Intel(R) CPU 230 @ 1.60GHz (1596.01-MHz K8-class CPU) Origin = "GenuineIntel" Id = 0x106c2 Family = 6 Model = 1c Stepping = 2 Features=0xbfe9fbff Features2=0x40e31d AMD Features=0x20100800 AMD Features2=0x1 TSC: P-state invariant real memory = 2147483648 (2048 MB) avail memory = 2044645376 (1949 MB) ACPI APIC Table: <091908 APIC1843> FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs FreeBSD/SMP: 1 package(s) x 1 core(s) x 2 HTT threads cpu0 (BSP): APIC ID: 0 cpu1 (AP/HT): APIC ID: 1 ioapic0: Changing APIC ID to 2 ioapic0 irqs 0-23 on motherboard kbd1 at kbdmux0 acpi0: <091908 XSDT1843> on motherboard acpi0: [ITHREAD] acpi0: Power Button (fixed) acpi0: reservation of 0, a0000 (3) failed acpi0: reservation of 100000, 7f700000 (3) failed Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0 cpu0: on acpi0 cpu1: on acpi0 acpi_hpet0: iomem 0xfed00000-0xfed003ff on acpi0 Timecounter "HPET" frequency 14318180 Hz quality 900 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 vgapci0: port 0xdc00-0xdc07 mem 0xfe980000-0xfe9fffff,0xe0000000-0xefffffff,0xfe940000-0xfe97ffff irq 16 at device 2.0 on pci0 agp0: on vgapci0 agp0: detected 7932k stolen memory agp0: aperture size is 256M hdac0: mem 0xfe938000-0xfe93bfff irq 16 at device 27.0 on pci0 hdac0: HDA Driver Revision: 20100226_0142 hdac0: [ITHREAD] pcib1: irq 16 at device 28.0 on pci0 pci1: on pcib1 re0: port 0xe800-0xe8ff mem 0xfeaff000-0xfeafffff,0xfdff0000-0xfdffffff irq 16 at device 0.0 on pci1 re0: Using 1 MSI messages re0: Chip rev. 0x3c000000 re0: MAC rev. 0x00400000 miibus0: on re0 rgephy0: PHY 1 on miibus0 rgephy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto re0: Ethernet address: 00:21:85:9c:63:23 re0: [FILTER] pcib2: irq 17 at device 28.1 on pci0 pci2: on pcib2 iwn0: mem 0xfebfe000-0xfebfffff irq 17 at device 0.0 on pci2 iwn0: MIMO 2T3R, MoW1, address 00:21:5c:5f:89:87 iwn0: [ITHREAD] iwn0: 11a rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps iwn0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps iwn0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps pcib3: irq 18 at device 28.2 on pci0 pci3: on pcib3 pcib4: irq 19 at device 28.3 on pci0 pci4: on pcib4 uhci0: port 0xd880-0xd89f irq 23 at device 29.0 on pci0 uhci0: [ITHREAD] usbus0: on uhci0 uhci1: port 0xd800-0xd81f irq 19 at device 29.1 on pci0 uhci1: [ITHREAD] usbus1: on uhci1 uhci2: port 0xd480-0xd49f irq 18 at device 29.2 on pci0 uhci2: [ITHREAD] usbus2: on uhci2 uhci3: port 0xd400-0xd41f irq 16 at device 29.3 on pci0 uhci3: [ITHREAD] usbus3: on uhci3 ehci0: mem 0xfe937c00-0xfe937fff irq 23 at device 29.7 on pci0 ehci0: [ITHREAD] usbus4: EHCI version 1.0 usbus4: on ehci0 pcib5: at device 30.0 on pci0 pci5: on pcib5 isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xffa0-0xffaf at device 31.1 on pci0 ata0: on atapci0 ata0: [ITHREAD] atapci1: port 0xd080-0xd087,0xd000-0xd003,0xcc00-0xcc07,0xc880-0xc883,0xc800-0xc80f irq 19 at device 31.2 on pci0 atapci1: [ITHREAD] ata2: on atapci1 ata2: [ITHREAD] ata3: on atapci1 ata3: [ITHREAD] ichsmb0: port 0x400-0x41f irq 19 at device 31.3 on pci0 ichsmb0: [ITHREAD] smbus0: on ichsmb0 acpi_button0: on acpi0 atrtc0: port 0x70-0x71 irq 8 on acpi0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 atkbdc0: at port 0x60,0x64 on isa0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] atkbd0: [ITHREAD] ppc0: cannot reserve I/O port range p4tcc0: on cpu0 p4tcc1: on cpu1 ZFS NOTICE: Prefetch is disabled by default if less than 4GB of RAM is present; to enable, add "vfs.zfs.prefetch_disable=0" to /boot/loader.conf. ZFS filesystem version 3 ZFS storage pool version 14 Timecounters tick every 1.000 msec usbus0: 12Mbps Full Speed USB v1.0 usbus1: 12Mbps Full Speed USB v1.0 usbus2: 12Mbps Full Speed USB v1.0 usbus3: 12Mbps Full Speed USB v1.0 usbus4: 480Mbps High Speed USB v2.0 ata0: DMA limited to UDMA33, controller found non-ATA66 cable ad0: 7695MB at ata0-master UDMA33 ugen0.1: at usbus0 uhub0: on usbus0 ugen1.1: at usbus1 uhub1: on usbus1 ugen2.1: at usbus2 uhub2: on usbus2 ugen3.1: at usbus3 uhub3: on usbus3 ugen4.1: at usbus4 uhub4: on usbus4 ad4: 476940MB at ata2-master UDMA100 SATA ad6: 476940MB at ata3-master UDMA100 SATA hdac0: HDA Codec #0: Realtek ALC888 pcm0: at cad 0 nid 1 on hdac0 pcm1: at cad 0 nid 1 on hdac0 SMP: AP CPU #1 Launched! Root mount waiting for: usbus4 usbus3 usbus2 usbus1 usbus0 uhub1: 2 ports with 2 removable, self powered uhub0: 2 ports with 2 removable, self powered uhub2: 2 ports with 2 removable, self powered uhub3: 2 ports with 2 removable, self powered Root mount waiting for: usbus4 Root mount waiting for: usbus4 Root mount waiting for: usbus4 uhub4: 8 ports with 8 removable, self powered ugen4.2: at usbus4 umass0: on usbus4 umass0: SCSI over Bulk-Only; quirks = 0x0000 Root mount waiting for: usbus4 umass0:0:0:-1: Attached to scbus0 Root mount waiting for: usbus4 (probe0:umass-sim0:0:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 (probe0:umass-sim0:0:0:0): CAM status: SCSI Status Error (probe0:umass-sim0:0:0:0): SCSI status: Check Condition (probe0:umass-sim0:0:0:0): SCSI sense: NOT READY asc:3a,0 (Medium not present) da0 at umass-sim0 bus 0 scbus0 target 0 lun 0 da0: Removable Direct Access SCSI-0 device da0: 40.000MB/s transfers da0: Attempt to query device size failed: NOT READY, Medium not present ugen4.3: at usbus4 umass1: on usbus4 umass1: SCSI over Bulk-Only; quirks = 0x0000 Root mount waiting for: usbus4 umass1:1:1:-1: Attached to scbus1 Trying to mount root from ufs:/dev/gpt/sdc0 da1 at umass-sim1 bus 1 scbus1 target 0 lun 0 da1: Removable Direct Access SCSI-0 device da1: 40.000MB/s transfers da1: 1946MB (3985408 512 byte sectors: 255H 63S/T 248C) ipfw2 (+ipv6) initialized, divert loadable, nat loadable, rule-based forwarding disabled, default to deny, logging disabled re0: link state changed to UP ugen4.4: at usbus4 umass2: on usbus4 umass2: SCSI over Bulk-Only; quirks = 0x4000 umass2:2:2:-1: Attached to scbus2 da2 at umass-sim2 bus 2 scbus2 target 0 lun 0 da2: Fixed Direct Access SCSI-0 device da2: 40.000MB/s transfers da2: 156334MB (320173057 512 byte sectors: 255H 63S/T 19929C) >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-usb@FreeBSD.ORG Tue Feb 8 17:10:12 2011 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E02471065693 for ; Tue, 8 Feb 2011 17:10:12 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id B518F8FC0C for ; Tue, 8 Feb 2011 17:10:12 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p18HACTL096896 for ; Tue, 8 Feb 2011 17:10:12 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p18HAC3o096895; Tue, 8 Feb 2011 17:10:12 GMT (envelope-from gnats) Date: Tue, 8 Feb 2011 17:10:12 GMT Message-Id: <201102081710.p18HAC3o096895@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: CDP Cc: Subject: Re: usb/154593: Input/output error writing to external USB drive X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: CDP List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Feb 2011 17:10:13 -0000 The following reply was made to PR usb/154593; it has been noted by GNATS. From: CDP To: Artem Cc: freebsd-gnats-submit@FreeBSD.org Subject: Re: usb/154593: Input/output error writing to external USB drive Date: Tue, 08 Feb 2011 18:33:48 +0200 I think this is the same problem as bug #150401. Please see: http://www.freebsd.org/cgi/query-pr.cgi?pr=usb/150401 I've posted a patch for 8.2-RC2, maybe it applies on 8.1 too. -- Claudiu Dragalina-Paraipan From owner-freebsd-usb@FreeBSD.ORG Sat Feb 12 16:30:08 2011 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 14EF11065673 for ; Sat, 12 Feb 2011 16:30:08 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id E14C68FC15 for ; Sat, 12 Feb 2011 16:30:07 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p1CGU7t6037721 for ; Sat, 12 Feb 2011 16:30:07 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p1CGU7HW037719; Sat, 12 Feb 2011 16:30:07 GMT (envelope-from gnats) Resent-Date: Sat, 12 Feb 2011 16:30:07 GMT Resent-Message-Id: <201102121630.p1CGU7HW037719@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, Benedikt Niessen Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5F6CD106566C for ; Sat, 12 Feb 2011 16:22:51 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 4E8698FC0C for ; Sat, 12 Feb 2011 16:22:51 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id p1CGMnJj051924 for ; Sat, 12 Feb 2011 16:22:49 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id p1CGMnx9051920; Sat, 12 Feb 2011 16:22:49 GMT (envelope-from nobody) Message-Id: <201102121622.p1CGMnx9051920@red.freebsd.org> Date: Sat, 12 Feb 2011 16:22:49 GMT From: Benedikt Niessen To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: usb/154710: Conexant USB Modem is not working in 8.x. In 7.x it works. 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: Sat, 12 Feb 2011 16:30:08 -0000 >Number: 154710 >Category: usb >Synopsis: Conexant USB Modem is not working in 8.x. In 7.x it works. >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-usb >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Feb 12 16:30:07 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Benedikt Niessen >Release: 8.1 >Organization: >Environment: FreeBSD faxgw01.niessen.ch 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Mon Jul 19 02:36:49 UTC 2010 root@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 >Description: I have a Conexant USB 56k Modem. I freshly installed FreeBSD 8.1 AMD64. When I plugged in my Conexant USB Modem I get the message usb_alloc_device: set address 2 failed (USB_ERR_TIMEOUT, ignored) usb_alloc_device: getting device descriptor at addr 2 failed, USB_ERR_STALLED usbd_req_re_enumerate: addr=2, set address failed! (USB_ERR_STALLED, ignored) usbd_req_re_enumerate: getting device descriptor at addr 2 failed, USB_ERR_STALLED I reinstalled a FreeBSD 7.3 AMD64 system. When I plugged in my USB Modem I get the message ugen0: on uhub0 >How-To-Repeat: Install FreeBSD 8.1 and plug in the Conexant 56k USB Modem >Fix: >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-usb@FreeBSD.ORG Sat Feb 12 21:18:44 2011 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E97BD1065698; Sat, 12 Feb 2011 21:18:44 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe03.c2i.net [212.247.154.66]) by mx1.freebsd.org (Postfix) with ESMTP id 4A9608FC12; Sat, 12 Feb 2011 21:18:43 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.1 cv=0KkIQGagYCvnrzE3Z2Lmid87OPdbX6VLcZYwAuLMZ50= c=1 sm=1 a=ihKjtcK91EgA:10 a=Q9fys5e9bTEA:10 a=CL8lFSKtTFcA:10 a=i9M/sDlu2rpZ9XS819oYzg==:17 a=VJg6tvjHML0FUH-IqNYA:9 a=MSJGlqH0Nl48nzCjOM4A:7 a=T6gCq9VU-3_DMBstzrBG0Mk95S0A:4 a=PUjeQqilurYA:10 a=i9M/sDlu2rpZ9XS819oYzg==:117 Received: from [188.126.198.129] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe03.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 87209551; Sat, 12 Feb 2011 22:18:41 +0100 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Sat, 12 Feb 2011 22:18:34 +0100 User-Agent: KMail/1.13.5 (FreeBSD/8.2-PRERELEASE; KDE/4.4.5; amd64; ; ) References: <201102121622.p1CGMnx9051920@red.freebsd.org> In-Reply-To: <201102121622.p1CGMnx9051920@red.freebsd.org> X-Face: *nPdTl_}RuAI6^PVpA02T?$%Xa^>@hE0uyUIoiha$pC:9TVgl.Oq, NwSZ4V"|LR.+tj}g5 %V,x^qOs~mnU3]Gn; cQLv&.N>TrxmSFf+p6(30a/{)KUU!s}w\IhQBj}[g}bj0I3^glmC( :AuzV9:.hESm-x4h240C`9=w MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201102122218.34069.hselasky@c2i.net> Cc: Benedikt Niessen , freebsd-gnats-submit@freebsd.org Subject: Re: usb/154710: Conexant USB Modem is not working in 8.x. In 7.x it works. 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: Sat, 12 Feb 2011 21:18:45 -0000 On Saturday 12 February 2011 17:22:49 Benedikt Niessen wrote: > >Number: 154710 > >Category: usb > >Synopsis: Conexant USB Modem is not working in 8.x. In 7.x it works. > >Confidential: no > >Severity: non-critical > >Priority: medium > >Responsible: freebsd-usb > >State: open > >Quarter: > >Keywords: > >Date-Required: > >Class: sw-bug > >Submitter-Id: current-users > >Arrival-Date: Sat Feb 12 16:30:07 UTC 2011 > >Closed-Date: > >Last-Modified: > >Originator: Benedikt Niessen > >Release: 8.1 > >Organization: > Could you try FreeBSD 8.2-RELEASE ? --HPS From owner-freebsd-usb@FreeBSD.ORG Sat Feb 12 21:20:10 2011 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9F69D106566B for ; Sat, 12 Feb 2011 21:20:10 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 8E7E58FC12 for ; Sat, 12 Feb 2011 21:20:10 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p1CLKAOt052474 for ; Sat, 12 Feb 2011 21:20:10 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p1CLKABM052471; Sat, 12 Feb 2011 21:20:10 GMT (envelope-from gnats) Date: Sat, 12 Feb 2011 21:20:10 GMT Message-Id: <201102122120.p1CLKABM052471@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: Hans Petter Selasky Cc: Subject: Re: usb/154710: Conexant USB Modem is not working in 8.x. In 7.x it works. X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Hans Petter Selasky List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Feb 2011 21:20:10 -0000 The following reply was made to PR usb/154710; it has been noted by GNATS. From: Hans Petter Selasky To: freebsd-usb@freebsd.org Cc: Benedikt Niessen , freebsd-gnats-submit@freebsd.org Subject: Re: usb/154710: Conexant USB Modem is not working in 8.x. In 7.x it works. Date: Sat, 12 Feb 2011 22:18:34 +0100 On Saturday 12 February 2011 17:22:49 Benedikt Niessen wrote: > >Number: 154710 > >Category: usb > >Synopsis: Conexant USB Modem is not working in 8.x. In 7.x it works. > >Confidential: no > >Severity: non-critical > >Priority: medium > >Responsible: freebsd-usb > >State: open > >Quarter: > >Keywords: > >Date-Required: > >Class: sw-bug > >Submitter-Id: current-users > >Arrival-Date: Sat Feb 12 16:30:07 UTC 2011 > >Closed-Date: > >Last-Modified: > >Originator: Benedikt Niessen > >Release: 8.1 > >Organization: > Could you try FreeBSD 8.2-RELEASE ? --HPS From owner-freebsd-usb@FreeBSD.ORG Sat Feb 12 22:54:21 2011 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 842FB106566B; Sat, 12 Feb 2011 22:54:21 +0000 (UTC) (envelope-from ports@niessen.ch) Received: from imap.niessen.in (sv55.ip.nec-town.de [80.79.224.55]) by mx1.freebsd.org (Postfix) with ESMTP id 4034F8FC0C; Sat, 12 Feb 2011 22:54:20 +0000 (UTC) Received: from imap.niessen.in (localhost [10.0.0.1]) by imap.niessen.in (Postfix) with ESMTP id 75B9286954; Sat, 12 Feb 2011 23:36:37 +0100 (CET) Received: from macbook.fritz.box (178-82-205-140.dynamic.hispeed.ch [178.82.205.140]) by imap.niessen.in (Postfix) with ESMTPSA id B1AC586951; Sat, 12 Feb 2011 23:36:36 +0100 (CET) Mime-Version: 1.0 (Apple Message framework v1082) Content-Type: text/plain; charset=us-ascii From: Benedikt Niessen In-Reply-To: <201102122218.34069.hselasky@c2i.net> Date: Sat, 12 Feb 2011 23:36:35 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: References: <201102121622.p1CGMnx9051920@red.freebsd.org> <201102122218.34069.hselasky@c2i.net> To: Hans Petter Selasky X-Mailer: Apple Mail (2.1082) X-Virus-Scanned: by a virusscanner at [niessen.in] Cc: freebsd-gnats-submit@freebsd.org, freebsd-usb@freebsd.org Subject: Re: usb/154710: Conexant USB Modem is not working in 8.x. In 7.x it works. 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: Sat, 12 Feb 2011 22:54:21 -0000 FreeBSD 8.2-RC2 shows the same error message. Am 12.02.2011 um 22:18 schrieb Hans Petter Selasky: > On Saturday 12 February 2011 17:22:49 Benedikt Niessen wrote: >>> Number: 154710 >>> Category: usb >>> Synopsis: Conexant USB Modem is not working in 8.x. In 7.x it = works. >>> Confidential: no >>> Severity: non-critical >>> Priority: medium >>> Responsible: freebsd-usb >>> State: open >>> Quarter: >>> Keywords: >>> Date-Required: >>> Class: sw-bug >>> Submitter-Id: current-users >>> Arrival-Date: Sat Feb 12 16:30:07 UTC 2011 >>> Closed-Date: >>> Last-Modified: >>> Originator: Benedikt Niessen >>> Release: 8.1 >>> Organization: >>=20 >=20 > Could you try FreeBSD 8.2-RELEASE ? >=20 > --HPS From owner-freebsd-usb@FreeBSD.ORG Sat Feb 12 23:00:24 2011 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7B309106564A for ; Sat, 12 Feb 2011 23:00:24 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 685248FC15 for ; Sat, 12 Feb 2011 23:00:24 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p1CN0Oan056757 for ; Sat, 12 Feb 2011 23:00:24 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p1CN0OdA056747; Sat, 12 Feb 2011 23:00:24 GMT (envelope-from gnats) Date: Sat, 12 Feb 2011 23:00:24 GMT Message-Id: <201102122300.p1CN0OdA056747@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: Benedikt Niessen Cc: Subject: Re: usb/154710: Conexant USB Modem is not working in 8.x. In 7.x it works. X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Benedikt Niessen List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Feb 2011 23:00:24 -0000 The following reply was made to PR usb/154710; it has been noted by GNATS. From: Benedikt Niessen To: Hans Petter Selasky Cc: freebsd-usb@freebsd.org, freebsd-gnats-submit@freebsd.org Subject: Re: usb/154710: Conexant USB Modem is not working in 8.x. In 7.x it works. Date: Sat, 12 Feb 2011 23:36:35 +0100 FreeBSD 8.2-RC2 shows the same error message. Am 12.02.2011 um 22:18 schrieb Hans Petter Selasky: > On Saturday 12 February 2011 17:22:49 Benedikt Niessen wrote: >>> Number: 154710 >>> Category: usb >>> Synopsis: Conexant USB Modem is not working in 8.x. In 7.x it = works. >>> Confidential: no >>> Severity: non-critical >>> Priority: medium >>> Responsible: freebsd-usb >>> State: open >>> Quarter: >>> Keywords: >>> Date-Required: >>> Class: sw-bug >>> Submitter-Id: current-users >>> Arrival-Date: Sat Feb 12 16:30:07 UTC 2011 >>> Closed-Date: >>> Last-Modified: >>> Originator: Benedikt Niessen >>> Release: 8.1 >>> Organization: >>=20 >=20 > Could you try FreeBSD 8.2-RELEASE ? >=20 > --HPS