From owner-freebsd-usb@FreeBSD.ORG Sun Dec 4 00:21: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 6B0CD106566B; Sun, 4 Dec 2011 00:21:08 +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 42E548FC13; Sun, 4 Dec 2011 00:21:08 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id pB40L7u2084270; Sun, 4 Dec 2011 00:21:07 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id pB40L6PL084114; Sun, 4 Dec 2011 00:21:06 GMT (envelope-from linimon) Date: Sun, 4 Dec 2011 00:21:06 GMT Message-Id: <201112040021.pB40L6PL084114@freefall.freebsd.org> To: Gabor@Zahemszky.HU, linimon@FreeBSD.org, freebsd-usb@FreeBSD.org, hselasky@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: usb/161798: [patch] usbdevs / if_run.c modification 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, 04 Dec 2011 00:21:08 -0000 Synopsis: [patch] usbdevs / if_run.c modification State-Changed-From-To: open->patched State-Changed-By: linimon State-Changed-When: Sun Dec 4 00:20:42 UTC 2011 State-Changed-Why: Over to committer as MFC reminder. Responsible-Changed-From-To: freebsd-usb->hselasky Responsible-Changed-By: linimon Responsible-Changed-When: Sun Dec 4 00:20:42 UTC 2011 Responsible-Changed-Why: http://www.freebsd.org/cgi/query-pr.cgi?pr=161798 From owner-freebsd-usb@FreeBSD.ORG Sun Dec 4 00:23:59 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 9AE0E1065676; Sun, 4 Dec 2011 00:23:59 +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 726638FC1A; Sun, 4 Dec 2011 00:23:59 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id pB40NxIU086028; Sun, 4 Dec 2011 00:23:59 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id pB40Nw4W086024; Sun, 4 Dec 2011 00:23:58 GMT (envelope-from linimon) Date: Sun, 4 Dec 2011 00:23:58 GMT Message-Id: <201112040023.pB40Nw4W086024@freefall.freebsd.org> To: jl@nanoteq.com, linimon@FreeBSD.org, freebsd-usb@FreeBSD.org, hselasky@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: usb/162307: [uslcom][patch] cp2103 usb-to-serial driver does not support modem control lines 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, 04 Dec 2011 00:23:59 -0000 Synopsis: [uslcom][patch] cp2103 usb-to-serial driver does not support modem control lines State-Changed-From-To: open->closed State-Changed-By: linimon State-Changed-When: Sun Dec 4 00:23:39 UTC 2011 State-Changed-Why: MFCed back to 8. Responsible-Changed-From-To: freebsd-usb->hselasky Responsible-Changed-By: linimon Responsible-Changed-When: Sun Dec 4 00:23:39 UTC 2011 Responsible-Changed-Why: Over to committer. http://www.freebsd.org/cgi/query-pr.cgi?pr=162307 From owner-freebsd-usb@FreeBSD.ORG Mon Dec 5 11:07:10 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 8FDEB106567F for ; Mon, 5 Dec 2011 11:07:10 +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 7D1028FC2B for ; Mon, 5 Dec 2011 11:07:10 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id pB5B7Ajx081343 for ; Mon, 5 Dec 2011 11:07:10 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id pB5B79Cm081341 for freebsd-usb@FreeBSD.org; Mon, 5 Dec 2011 11:07:09 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 5 Dec 2011 11:07:09 GMT Message-Id: <201112051107.pB5B79Cm081341@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, 05 Dec 2011 11:07:10 -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/162712 usb added device on if_run. o usb/162306 usb usb devices cant get address asignation, no memories, o usb/162054 usb usbdump just hangs on 9.0-RC1 o usb/161793 usb poor EHCI usb2 i/o performance o usb/160911 usb The usb flash drive JetFlash Transcend 16GB 1100 doesn o usb/160436 usb ucom wedges machine on parity error ? o usb/160299 usb MicroSDHC-to-USB adapters do not work in FreeBSD 8.x o usb/160192 usb [install] Installation from USB-Stick doesn't find the o usb/159274 usb USB 3.0 Etron EJ168A does not work. f usb/159191 usb [fusefs-ntfs] write on fusefs-ntfs mounted partition r o usb/157376 usb LaCie USB disk not recognized o usb/157074 usb [boot] [usb8] vfs_mountroot_ask is called when no usb o usb/156898 usb [keyboard] usb keyboard does not work while boot (ps2 o usb/156735 usb Need Quirk for Goflex USB Disk Drives o usb/156725 usb USB stack stall cause complete system input loss o usb/156596 usb [ehci] Extremely high interrupt rate on ehci/uhci IRQ1 o usb/156000 usb rum(4) Fatal trap 18: integer divide fault while in ke o usb/155996 usb NanoBSD not booted as Disk o usb/155784 usb Problem with Transcend StoreJet 25M3 (2AJ1) on Asus M2 o usb/154710 usb [ugen] Conexant USB Modem is not working in 8.x. In 7. o usb/154506 usb [umass] Copying dir with large files makes FreeBSD loa o usb/154192 usb [umass] In Garmin Oregon GPS, only the first umass dev o i386/153851 usb [keyboard] keyboard issues on new Intel Mother boards. o usb/153703 usb [keyboard] My USB keyboard can not be used in 8-STABLE o usb/153609 usb [zyd] [panic] kernel: Fatal trap 12: page fault while o usb/153149 usb [umass] USB stick quirk regression [regression] o usb/152075 usb [usb8] [ehci] [request] Add quirk for CS5536 USB o usb/150892 usb [zyd] Whenever network contacted in any shape, way or 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 p 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/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 f 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 p 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 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 o usb/139243 usb [uhci] [usb67] unplug prolific USB serial -> uhci_abor 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 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 f 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 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/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/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 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/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 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/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 f usb/125450 usb [panic] Removing USB flash card while being accessed c 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 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/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 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/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/119509 usb [usb] USB flaky on Dell Optiplex 755 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 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 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 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 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 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/83504 usb [kernel] [patch] SpeedTouch USB stop working on recent 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. 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/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 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/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/69006 usb [usbdevs] [patch] Apple Cinema Display hangs USB ports 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 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 295 problems total. From owner-freebsd-usb@FreeBSD.ORG Tue Dec 6 02:57:34 2011 Return-Path: Delivered-To: usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 18B95106564A; Tue, 6 Dec 2011 02:57:34 +0000 (UTC) (envelope-from jhs@berklix.com) Received: from tower.berklix.org (tower.berklix.org [83.236.223.114]) by mx1.freebsd.org (Postfix) with ESMTP id 8E2268FC08; Tue, 6 Dec 2011 02:57:32 +0000 (UTC) Received: from mart.js.berklix.net (p5DCBCC93.dip.t-dialin.net [93.203.204.147]) (authenticated bits=0) by tower.berklix.org (8.14.2/8.14.2) with ESMTP id pB62ZIbP093247; Tue, 6 Dec 2011 02:35:19 GMT (envelope-from jhs@berklix.com) Received: from fire.js.berklix.net (fire.js.berklix.net [192.168.91.41]) by mart.js.berklix.net (8.14.3/8.14.3) with ESMTP id pB62Z7Z3021020; Tue, 6 Dec 2011 03:35:07 +0100 (CET) (envelope-from jhs@berklix.com) Received: from fire.js.berklix.net (localhost [127.0.0.1]) by fire.js.berklix.net (8.14.4/8.14.4) with ESMTP id pB62Ym7B064077; Tue, 6 Dec 2011 03:34:55 +0100 (CET) (envelope-from jhs@fire.js.berklix.net) Message-Id: <201112060234.pB62Ym7B064077@fire.js.berklix.net> To: usb@freebsd.org, amd64@freebsd.org From: "Julian H. Stacey" Organization: http://www.berklix.com BSD Linux Unix Consultancy, Munich Germany User-agent: EXMH on FreeBSD http://www.berklix.com/free/ X-URL: http://www.berklix.com/~jhs/cv/ Date: Tue, 06 Dec 2011 03:34:48 +0100 Sender: jhs@berklix.com Cc: np@bsn.com, Gary Jennejohn Subject: Death of "Ernst W. Winter", a periodic poster to this list. 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, 06 Dec 2011 02:57:34 -0000 We regret to announce "Ernst W. Winter" died 29.11.2011. He was an intermittent poster to these & other FreeBSD lists, He is listed by his obsolete address of "Ernst Winter" in http://www.freebsd.org/doc/en/articles/contributors/contrib-additional.html http://www.freebsd.org/doc/en/articles/contributors/index.html Gary announced to local Munich BSD group http://berklix.org/bim/ See Also: http://www.ewinter.org & http://berklix.org/~jhs/ewinter/ Cheers, Julian -- Julian Stacey, BSD Unix Linux C Sys Eng Consultants Munich http://berklix.com Reply below not above, cumulative like a play script, & indent with "> ". Format: Plain text. Not HTML, multipart/alternative, base64, quoted-printable. From owner-freebsd-usb@FreeBSD.ORG Tue Dec 6 07:11:34 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 07E85106566B; Tue, 6 Dec 2011 07:11:34 +0000 (UTC) (envelope-from eadler@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id D46888FC1C; Tue, 6 Dec 2011 07:11:33 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id pB67BX0d007673; Tue, 6 Dec 2011 07:11:33 GMT (envelope-from eadler@freefall.freebsd.org) Received: (from eadler@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id pB67BX4f007664; Tue, 6 Dec 2011 07:11:33 GMT (envelope-from eadler) Date: Tue, 6 Dec 2011 07:11:33 GMT Message-Id: <201112060711.pB67BX4f007664@freefall.freebsd.org> To: eadler@FreeBSD.org, freebsd-usb@FreeBSD.org, eadler@FreeBSD.org From: eadler@FreeBSD.org Cc: Subject: Re: usb/135348: [umass] [patch] USB Drive Hangs with ZFS (JMicron USB2/eSata) 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, 06 Dec 2011 07:11:34 -0000 Synopsis: [umass] [patch] USB Drive Hangs with ZFS (JMicron USB2/eSata) Responsible-Changed-From-To: freebsd-usb->eadler Responsible-Changed-By: eadler Responsible-Changed-When: Tue Dec 6 07:11:33 UTC 2011 Responsible-Changed-Why: I'll take it. http://www.freebsd.org/cgi/query-pr.cgi?pr=135348 From owner-freebsd-usb@FreeBSD.ORG Thu Dec 8 07:13:01 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 E66FA106564A for ; Thu, 8 Dec 2011 07:13:00 +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 82B698FC12 for ; Thu, 8 Dec 2011 07:13:00 +0000 (UTC) Received: from [88.217.23.127] (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 1RYXbW-0004M7-O5; Thu, 08 Dec 2011 07:37:15 +0100 Received: from localhost.my.domain (localhost [127.0.0.1]) by localhost.my.domain (8.14.4/8.14.3) with ESMTP id pB86bC5s006496; Thu, 8 Dec 2011 07:37:13 +0100 (CET) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by localhost.my.domain (8.14.4/8.14.3/Submit) id pB86bC3M006495; Thu, 8 Dec 2011 07:37:12 +0100 (CET) (envelope-from guru@unixarea.de) X-Authentication-Warning: localhost.my.domain: guru set sender to guru@unixarea.de using -f Date: Thu, 8 Dec 2011 07:37:12 +0100 From: Matthias Apitz To: freebsd-questions@freebsd.org Message-ID: <20111208063711.GA6482@tinyCurrent> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Operating-System: FreeBSD 9.0-CURRENT r214444 (i386) User-Agent: Mutt/1.5.21 (2010-09-15) X-Con-Id: 51246 X-Originating-IP: 88.217.23.127 Cc: freebsd-usb@freebsd.org Subject: restore(8) to UFS on USB key: terrible slow 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: Thu, 08 Dec 2011 07:13:01 -0000 Hello, I encounter the following problem with UFS file systems on USB keys, i.e. the problem is not only with one key, but with all I have; the key in question here is: Dec 7 22:17:47 tinyCurrent kernel: umass0: on usbus4 Dec 7 22:17:47 tinyCurrent kernel: umass0: SCSI over Bulk-Only; quirks = 0x4101 Dec 7 22:17:47 tinyCurrent root: Unknown USB device: vendor 0x058f product 0x6387 bus uhub4 Dec 7 22:17:48 tinyCurrent kernel: umass0:0:0:-1: Attached to scbus0 Dec 7 22:17:48 tinyCurrent kernel: da0 at umass-sim0 bus 0 scbus0 target 0 lun 0 Dec 7 22:17:48 tinyCurrent kernel: da0: Removable Direct Access SCSI-2 device Dec 7 22:17:48 tinyCurrent kernel: da0: 40.000MB/s transfers Dec 7 22:17:48 tinyCurrent kernel: da0: 7650MB (15667200 512 byte sectors: 255H 63S/T 975C) and the system is: $ uname -a FreeBSD tinyCurrent 9.0-CURRENT FreeBSD 9.0-CURRENT #1 r214444: Thu Oct 28 10:56:32 CEST 2010 The key was formatted the usual way for receiving a complete FreeBSD system for installation purpose: # fdisk -I da0 # fdisk -B da0 # bsdlabel -w da0s1 auto # bsdlabel -B da0s1 # bsdlabel -e da0s1 # newfs /dev/da0s1a # mount /dev/da0s1a /mnt When I now bulk write a big file to the file system, the write performance is reasonable fast, even with blocks of 512 bytes, it gives 2 MByte / sec: # dd if=usb.dmp of=/mnt/byte 10926520+0 records in 10926520+0 records out 5594378240 bytes transferred in 2538.942585 secs (2203428 bytes/sec) the file of ~5 GByte was written and I removed it again; to be sure that the file system is synced, I do an unmount(8) and mount(8) it again before: # df -kh /mnt Filesystem Size Used Avail Capacity Mounted on /dev/da0s1a 7.2G 5.2G 1.4G 79% /mnt tinyCurrent# umount /mnt tinyCurrent# mount /dev/da0s1a /mnt tinyCurrent# df -kh /mnt Filesystem Size Used Avail Capacity Mounted on /dev/da0s1a 7.2G 5.2G 1.4G 79% /mnt tinyCurrent# rm /mnt/byte tinyCurrent# df -kh /mnt Filesystem Size Used Avail Capacity Mounted on /dev/da0s1a 7.2G 24M 6.6G 0% /mnt when I now restore a DUMP into the filesystem, the restore(8) creates first the directory tree: # cd /mnt # restore rvf /home/guru/usb.dmp this goes very fast (as far as I see from the lines scrolling) for the first few thousand dirs: ... Make node ./src/src/contrib/sendmail/.svn Make node ./src/src/contrib/sendmail/.svn/tmp Make node ./src/src/contrib/sendmail/.svn/tmp/text-base Make node ./src/src/contrib/sendmail/.svn/tmp/prop-base Make node ./src/src/contrib/sendmail/.svn/tmp/props Make node ./src/src/contrib/sendmail/.svn/prop-base Make node ./src/src/contrib/sendmail/.svn/props Make node ./src/src/contrib/sendmail/.svn/text-base after a while it get stuck and only does create the dirs with a frequence of one per second; also the used space is growing very slow: # df -kh /mnt Filesystem Size Used Avail Capacity Mounted on /dev/da0s1a 7.2G 42M 6.6G 1% /mnt this is after an hour or so: only 42 MBytes are written now; Any idea, what is broken with this? Thanks matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/ UNIX since V7 on PDP-11 | UNIX on mainframe since ESER 1055 (IBM /370) UNIX on x86 since SVR4.2 UnixWare 2.1.2 | FreeBSD since 2.2.5 From owner-freebsd-usb@FreeBSD.ORG Thu Dec 8 09:13:14 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 6AF45106564A for ; Thu, 8 Dec 2011 09:13:14 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe09.c2i.net [212.247.155.2]) by mx1.freebsd.org (Postfix) with ESMTP id BF8608FC0C for ; Thu, 8 Dec 2011 09:13:13 +0000 (UTC) X-T2-Spam-Status: No, hits=-0.2 required=5.0 tests=ALL_TRUSTED, BAYES_50 Received: from [188.126.198.129] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe09.swip.net (CommuniGate Pro SMTP 5.4.2) with ESMTPA id 39706571; Thu, 08 Dec 2011 10:13:10 +0100 From: Hans Petter Selasky To: freebsd-usb@freebsd.org, Matthias Apitz Date: Thu, 8 Dec 2011 10:10:36 +0100 User-Agent: KMail/1.13.5 (FreeBSD/8.2-STABLE; KDE/4.4.5; amd64; ; ) References: <20111208063711.GA6482@tinyCurrent> In-Reply-To: <20111208063711.GA6482@tinyCurrent> 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: <201112081010.36695.hselasky@c2i.net> Cc: freebsd-questions@freebsd.org Subject: Re: restore(8) to UFS on USB key: terrible 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: Thu, 08 Dec 2011 09:13:14 -0000 On Thursday 08 December 2011 07:37:12 Matthias Apitz wrote: > Hello, > > I encounter the following problem with UFS file systems on USB keys, > i.e. the problem is not only with one key, but with all I have; the key > in question here is: > > Dec 7 22:17:47 tinyCurrent kernel: umass0: 0/0, rev 2.00/1.02, addr 3> on usbus4 Dec 7 22:17:47 tinyCurrent kernel: > umass0: SCSI over Bulk-Only; quirks = 0x4101 Dec 7 22:17:47 tinyCurrent > root: Unknown USB device: vendor 0x058f product 0x6387 bus uhub4 Dec 7 > 22:17:48 tinyCurrent kernel: umass0:0:0:-1: Attached to scbus0 Dec 7 > 22:17:48 tinyCurrent kernel: da0 at umass-sim0 bus 0 scbus0 target 0 lun 0 > Dec 7 22:17:48 tinyCurrent kernel: da0: > Removable Direct Access SCSI-2 device Dec 7 22:17:48 tinyCurrent kernel: > da0: 40.000MB/s transfers > Dec 7 22:17:48 tinyCurrent kernel: da0: 7650MB (15667200 512 byte sectors: > 255H 63S/T 975C) > > and the system is: > > $ uname -a > FreeBSD tinyCurrent 9.0-CURRENT FreeBSD 9.0-CURRENT #1 r214444: Thu Oct 28 > 10:56:32 CEST 2010 > > The key was formatted the usual way for receiving a complete FreeBSD > system for installation purpose: > > # fdisk -I da0 > # fdisk -B da0 > # bsdlabel -w da0s1 auto > # bsdlabel -B da0s1 > # bsdlabel -e da0s1 > # newfs /dev/da0s1a > # mount /dev/da0s1a /mnt > > When I now bulk write a big file to the file system, the write > performance is reasonable fast, even with blocks of 512 bytes, > it gives 2 MByte / sec: > > # dd if=usb.dmp of=/mnt/byte > 10926520+0 records in > 10926520+0 records out > 5594378240 bytes transferred in 2538.942585 secs (2203428 bytes/sec) > Hello! The default block size of dd is 512 bytes. Try setting bs=65536 :-) --HPS From owner-freebsd-usb@FreeBSD.ORG Thu Dec 8 09:19:47 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 F2677106566B; Thu, 8 Dec 2011 09:19:47 +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 B1A0C8FC15; Thu, 8 Dec 2011 09:19:47 +0000 (UTC) Received: from [88.217.23.127] (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 1RYa8o-0004qJ-8m; Thu, 08 Dec 2011 10:19:46 +0100 Received: from localhost.my.domain (localhost [127.0.0.1]) by localhost.my.domain (8.14.4/8.14.3) with ESMTP id pB89Ji1h007026; Thu, 8 Dec 2011 10:19:44 +0100 (CET) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by localhost.my.domain (8.14.4/8.14.3/Submit) id pB89JhsI007025; Thu, 8 Dec 2011 10:19:43 +0100 (CET) (envelope-from guru@unixarea.de) X-Authentication-Warning: localhost.my.domain: guru set sender to guru@unixarea.de using -f Date: Thu, 8 Dec 2011 10:19:43 +0100 From: Matthias Apitz To: Hans Petter Selasky Message-ID: <20111208091943.GA7014@tinyCurrent> References: <20111208063711.GA6482@tinyCurrent> <201112081010.36695.hselasky@c2i.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <201112081010.36695.hselasky@c2i.net> X-Operating-System: FreeBSD 9.0-CURRENT r214444 (i386) User-Agent: Mutt/1.5.21 (2010-09-15) X-Con-Id: 51246 X-Originating-IP: 88.217.23.127 Cc: freebsd-questions@freebsd.org, freebsd-usb@freebsd.org Subject: Re: restore(8) to UFS on USB key: terrible slow 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: Thu, 08 Dec 2011 09:19:48 -0000 El día Thursday, December 08, 2011 a las 10:10:36AM +0100, Hans Petter Selasky escribió: > > # fdisk -I da0 > > # fdisk -B da0 > > # bsdlabel -w da0s1 auto > > # bsdlabel -B da0s1 > > # bsdlabel -e da0s1 > > # newfs /dev/da0s1a > > # mount /dev/da0s1a /mnt > > > > When I now bulk write a big file to the file system, the write > > performance is reasonable fast, even with blocks of 512 bytes, > > it gives 2 MByte / sec: > > > > # dd if=usb.dmp of=/mnt/byte > > 10926520+0 records in > > 10926520+0 records out > > 5594378240 bytes transferred in 2538.942585 secs (2203428 bytes/sec) > > > > Hello! > > The default block size of dd is 512 bytes. Try setting bs=65536 :-) Hello Hans, I know (as I said) that dd(1) per default writes in blocks of 512 bytes; but this is not the problem; the problem is the poor performance of restore(8); the dd(1) was just to see if the USB key performs fast enough in general; please read my post again :-) Thanks matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/ UNIX since V7 on PDP-11 | UNIX on mainframe since ESER 1055 (IBM /370) UNIX on x86 since SVR4.2 UnixWare 2.1.2 | FreeBSD since 2.2.5 From owner-freebsd-usb@FreeBSD.ORG Thu Dec 8 10:50: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 3A4801065670; Thu, 8 Dec 2011 10:50:25 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe06.c2i.net [212.247.154.162]) by mx1.freebsd.org (Postfix) with ESMTP id 89E7D8FC0A; Thu, 8 Dec 2011 10:50:23 +0000 (UTC) X-T2-Spam-Status: No, hits=-0.2 required=5.0 tests=ALL_TRUSTED, BAYES_50 Received: from [188.126.198.129] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe06.swip.net (CommuniGate Pro SMTP 5.4.2) with ESMTPA id 213018888; Thu, 08 Dec 2011 11:50:20 +0100 From: Hans Petter Selasky To: Matthias Apitz Date: Thu, 8 Dec 2011 11:47:46 +0100 User-Agent: KMail/1.13.5 (FreeBSD/8.2-STABLE; KDE/4.4.5; amd64; ; ) References: <20111208063711.GA6482@tinyCurrent> <201112081010.36695.hselasky@c2i.net> <20111208091943.GA7014@tinyCurrent> In-Reply-To: <20111208091943.GA7014@tinyCurrent> X-Face: *nPdTl_}RuAI6^PVpA02T?$%Xa^>@hE0uyUIoiha$pC:9TVgl.Oq,NwSZ4V" =?iso-8859-1?q?=7CLR=2E+tj=7Dg5=0A=09=25V?=,x^qOs~mnU3]Gn; cQLv&.N>TrxmSFf+p6(30a/{)KUU!s}w\IhQBj}[g}bj0I3^glmC( =?iso-8859-1?q?=0A=09=3AAuzV9=3A=2EhESm-x4h240C=609=3Dw?= MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Message-Id: <201112081147.46641.hselasky@c2i.net> Cc: freebsd-questions@freebsd.org, freebsd-usb@freebsd.org Subject: Re: restore(8) to UFS on USB key: terrible 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: Thu, 08 Dec 2011 10:50:25 -0000 On Thursday 08 December 2011 10:19:43 Matthias Apitz wrote: > El d=EDa Thursday, December 08, 2011 a las 10:10:36AM +0100, Hans Petter= =20 Selasky escribi=F3: > > > # fdisk -I da0 > > > # fdisk -B da0 > > > # bsdlabel -w da0s1 auto > > > # bsdlabel -B da0s1 > > > # bsdlabel -e da0s1 > > > # newfs /dev/da0s1a > > > # mount /dev/da0s1a /mnt > > >=20 > > > When I now bulk write a big file to the file system, the write > > > performance is reasonable fast, even with blocks of 512 bytes, > > > it gives 2 MByte / sec: > > >=20 > > > # dd if=3Dusb.dmp of=3D/mnt/byte > > > 10926520+0 records in > > > 10926520+0 records out > > > 5594378240 bytes transferred in 2538.942585 secs (2203428 bytes/sec) > >=20 > > Hello! > >=20 > > The default block size of dd is 512 bytes. Try setting bs=3D65536 :-) >=20 > Hello Hans, >=20 > I know (as I said) that dd(1) per default writes in blocks of 512 bytes; > but this is not the problem; the problem is the poor performance of > restore(8); the dd(1) was just to see if the USB key performs fast > enough in general; please read my post again :-) Hi, The "restore" utility also has a -b option for blocksize. Did you try that? =2D-HPS From owner-freebsd-usb@FreeBSD.ORG Thu Dec 8 11:24:23 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 A5AC41065679; Thu, 8 Dec 2011 11:24:23 +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 387558FC14; Thu, 8 Dec 2011 11:24:23 +0000 (UTC) Received: from [88.217.23.127] (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 1RYc5N-0003MT-8g; Thu, 08 Dec 2011 12:24:21 +0100 Received: from localhost.my.domain (localhost [127.0.0.1]) by localhost.my.domain (8.14.4/8.14.3) with ESMTP id pB8BOJJZ002402; Thu, 8 Dec 2011 12:24:19 +0100 (CET) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by localhost.my.domain (8.14.4/8.14.3/Submit) id pB8BOITM002401; Thu, 8 Dec 2011 12:24:19 +0100 (CET) (envelope-from guru@unixarea.de) X-Authentication-Warning: localhost.my.domain: guru set sender to guru@unixarea.de using -f Date: Thu, 8 Dec 2011 12:24:18 +0100 From: Matthias Apitz To: Hans Petter Selasky Message-ID: <20111208112418.GA2370@tinyCurrent> References: <20111208063711.GA6482@tinyCurrent> <201112081010.36695.hselasky@c2i.net> <20111208091943.GA7014@tinyCurrent> <201112081147.46641.hselasky@c2i.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <201112081147.46641.hselasky@c2i.net> X-Operating-System: FreeBSD 9.0-CURRENT r214444 (i386) User-Agent: Mutt/1.5.21 (2010-09-15) X-Con-Id: 51246 X-Originating-IP: 88.217.23.127 Cc: freebsd-questions@freebsd.org, freebsd-usb@freebsd.org Subject: Re: restore(8) to UFS on USB key: terrible slow 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: Thu, 08 Dec 2011 11:24:23 -0000 El día Thursday, December 08, 2011 a las 11:47:46AM +0100, Hans Petter Selasky escribió: > > I know (as I said) that dd(1) per default writes in blocks of 512 bytes; > > but this is not the problem; the problem is the poor performance of > > restore(8); the dd(1) was just to see if the USB key performs fast > > enough in general; please read my post again :-) > > Hi, > > The "restore" utility also has a -b option for blocksize. Did you try that? Hi, I know, but I think this does not make any diff, because at the moment restore(8) is only creating (empty) dirs and not storing files to the disk; if one watches the restore(8) with truss(1) it looks like this: # truss -p 2123 write(1,"Make node ./home/guru/myThings/F"...,80) = 80 (0x50) lseek(4,0x0,SEEK_CUR) = 4517312 (0x44edc0) lseek(4,0x44ec98,SEEK_SET) = 4517016 (0x44ec98) read(4,"7t\^W\0\f\0\^D\^A.\0\0\0(t\^W\0"...,1024) = 1024 (0x400) lseek(4,0x0,SEEK_CUR) = 4518040 (0x44f098) mkdir("./home/guru/myThings/FreeBSD/9-CURRENT/src/secure/libexec/sftp-server/.svn",0777) = 0 (0x0) write(1,"Make node ./home/guru/myThings/F"...,85) = 85 (0x55) lseek(4,0x0,SEEK_CUR) = 4518040 (0x44f098) lseek(4,0x44ece0,SEEK_SET) = 4517088 (0x44ece0) read(4,"8t\^W\0\f\0\^D\^A.\0\0\0007t\^W"...,1024) = 1024 (0x400) lseek(4,0x0,SEEK_CUR) = 4518112 (0x44f0e0) i.e. it goes through the DUMP and makes the directories; and any mkdir(2) takes seconds!!! one can even see this with: # truss -d mkdir /mnt/foo ... 0.012703011 sigprocmask(SIG_SETMASK,0x0,0x0) = 0 (0x0) 9.774846524 mkdir("/mnt/foo",0777) = 0 (0x0) 9.775744404 sigprocmask(SIG_BLOCK,SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2,0x0) = 0 (0x0) it takes so long to do mkdir(2) until now there are no files below /mnt, only dirs; matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/ UNIX since V7 on PDP-11 | UNIX on mainframe since ESER 1055 (IBM /370) UNIX on x86 since SVR4.2 UnixWare 2.1.2 | FreeBSD since 2.2.5 From owner-freebsd-usb@FreeBSD.ORG Thu Dec 8 14:38:36 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 AA316106566B; Thu, 8 Dec 2011 14:38:36 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe04.c2i.net [212.247.154.98]) by mx1.freebsd.org (Postfix) with ESMTP id 150468FC0C; Thu, 8 Dec 2011 14:38:35 +0000 (UTC) X-T2-Spam-Status: No, hits=-0.2 required=5.0 tests=ALL_TRUSTED, BAYES_50 Received: from [188.126.198.129] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe04.swip.net (CommuniGate Pro SMTP 5.4.2) with ESMTPA id 213700629; Thu, 08 Dec 2011 15:38:33 +0100 From: Hans Petter Selasky To: Matthias Apitz Date: Thu, 8 Dec 2011 15:35:59 +0100 User-Agent: KMail/1.13.5 (FreeBSD/8.2-STABLE; KDE/4.4.5; amd64; ; ) References: <20111208063711.GA6482@tinyCurrent> <201112081147.46641.hselasky@c2i.net> <20111208112418.GA2370@tinyCurrent> In-Reply-To: <20111208112418.GA2370@tinyCurrent> X-Face: *nPdTl_}RuAI6^PVpA02T?$%Xa^>@hE0uyUIoiha$pC:9TVgl.Oq,NwSZ4V" =?iso-8859-1?q?=7CLR=2E+tj=7Dg5=0A=09=25V?=,x^qOs~mnU3]Gn; cQLv&.N>TrxmSFf+p6(30a/{)KUU!s}w\IhQBj}[g}bj0I3^glmC( =?iso-8859-1?q?=0A=09=3AAuzV9=3A=2EhESm-x4h240C=609=3Dw?= MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Message-Id: <201112081535.59262.hselasky@c2i.net> Cc: freebsd-questions@freebsd.org, freebsd-usb@freebsd.org Subject: Re: restore(8) to UFS on USB key: terrible 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: Thu, 08 Dec 2011 14:38:36 -0000 On Thursday 08 December 2011 12:24:18 Matthias Apitz wrote: > El d=EDa Thursday, December 08, 2011 a las 11:47:46AM +0100, Hans Petter= =20 Selasky escribi=F3: > > > I know (as I said) that dd(1) per default writes in blocks of 512 > > > bytes; but this is not the problem; the problem is the poor > > > performance of restore(8); the dd(1) was just to see if the USB key > > > performs fast enough in general; please read my post again :-) > >=20 > > Hi, > >=20 > > The "restore" utility also has a -b option for blocksize. Did you try > > that? >=20 > Hi, >=20 > I know, but I think this does not make any diff, because at the moment > restore(8) is only creating (empty) dirs and not storing files to the > disk; if one watches the restore(8) with truss(1) it looks like this: >=20 > # truss -p 2123 > write(1,"Make node ./home/guru/myThings/F"...,80) =3D 80 (0x50) > lseek(4,0x0,SEEK_CUR) =3D 4517312 (0x44edc0) > lseek(4,0x44ec98,SEEK_SET) =3D 4517016 (0x44ec98) > read(4,"7t\^W\0\f\0\^D\^A.\0\0\0(t\^W\0"...,1024) =3D 1024 (0x400) > lseek(4,0x0,SEEK_CUR) =3D 4518040 (0x44f098) > mkdir("./home/guru/myThings/FreeBSD/9-CURRENT/src/secure/libexec/sftp-ser= ve > r/.svn",0777) =3D 0 (0x0) > write(1,"Make node ./home/guru/myThings/F"...,85) =3D 85 (0x55) > lseek(4,0x0,SEEK_CUR) =3D 4518040 (0x44f098) > lseek(4,0x44ece0,SEEK_SET) =3D 4517088 (0x44ece0) > read(4,"8t\^W\0\f\0\^D\^A.\0\0\0007t\^W"...,1024) =3D 1024 (0x400) > lseek(4,0x0,SEEK_CUR) =3D 4518112 (0x44f0e0) >=20 > i.e. it goes through the DUMP and makes the directories; and any > mkdir(2) takes seconds!!! >=20 > one can even see this with: >=20 Hi, If it is a umass problem you will see USB timeouts. Else it is not a USB=20 problem. Try setting hw.usb.ehci.lostintrbug=3D1 in /boot/loader.conf. =2D-HPS From owner-freebsd-usb@FreeBSD.ORG Thu Dec 8 14:42:45 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 795981065676; Thu, 8 Dec 2011 14:42:45 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe09.c2i.net [212.247.155.2]) by mx1.freebsd.org (Postfix) with ESMTP id C65F58FC1A; Thu, 8 Dec 2011 14:42:44 +0000 (UTC) X-T2-Spam-Status: No, hits=-0.2 required=5.0 tests=ALL_TRUSTED, BAYES_50 Received: from [188.126.198.129] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe09.swip.net (CommuniGate Pro SMTP 5.4.2) with ESMTPA id 39902073; Thu, 08 Dec 2011 15:42:39 +0100 From: Hans Petter Selasky To: Matthias Apitz Date: Thu, 8 Dec 2011 15:40:06 +0100 User-Agent: KMail/1.13.5 (FreeBSD/8.2-STABLE; KDE/4.4.5; amd64; ; ) References: <20111208063711.GA6482@tinyCurrent> <201112081147.46641.hselasky@c2i.net> <20111208112418.GA2370@tinyCurrent> In-Reply-To: <20111208112418.GA2370@tinyCurrent> X-Face: *nPdTl_}RuAI6^PVpA02T?$%Xa^>@hE0uyUIoiha$pC:9TVgl.Oq,NwSZ4V" =?iso-8859-1?q?=7CLR=2E+tj=7Dg5=0A=09=25V?=,x^qOs~mnU3]Gn; cQLv&.N>TrxmSFf+p6(30a/{)KUU!s}w\IhQBj}[g}bj0I3^glmC( =?iso-8859-1?q?=0A=09=3AAuzV9=3A=2EhESm-x4h240C=609=3Dw?= MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201112081540.06066.hselasky@c2i.net> Cc: freebsd-questions@freebsd.org, freebsd-usb@freebsd.org Subject: Re: restore(8) to UFS on USB key: terrible 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: Thu, 08 Dec 2011 14:42:45 -0000 BTW: Check USB traffic with "usbdump" utility. --HPS From owner-freebsd-usb@FreeBSD.ORG Thu Dec 8 14:52:09 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 C35A1106566B; Thu, 8 Dec 2011 14:52:09 +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 807BB8FC0C; Thu, 8 Dec 2011 14:52:09 +0000 (UTC) Received: from [88.217.23.127] (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 1RYfKR-0007i3-La; Thu, 08 Dec 2011 15:52:08 +0100 Received: from localhost.my.domain (localhost [127.0.0.1]) by localhost.my.domain (8.14.4/8.14.3) with ESMTP id pB8Eq5xL014176; Thu, 8 Dec 2011 15:52:05 +0100 (CET) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by localhost.my.domain (8.14.4/8.14.3/Submit) id pB8Eq4Wv014175; Thu, 8 Dec 2011 15:52:04 +0100 (CET) (envelope-from guru@unixarea.de) X-Authentication-Warning: localhost.my.domain: guru set sender to guru@unixarea.de using -f Date: Thu, 8 Dec 2011 15:52:04 +0100 From: Matthias Apitz To: Hans Petter Selasky Message-ID: <20111208145204.GA12923@tinyCurrent> References: <20111208063711.GA6482@tinyCurrent> <201112081147.46641.hselasky@c2i.net> <20111208112418.GA2370@tinyCurrent> <201112081540.06066.hselasky@c2i.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <201112081540.06066.hselasky@c2i.net> X-Operating-System: FreeBSD 9.0-CURRENT r214444 (i386) User-Agent: Mutt/1.5.21 (2010-09-15) X-Con-Id: 51246 X-Originating-IP: 88.217.23.127 Cc: freebsd-questions@freebsd.org, freebsd-usb@freebsd.org Subject: Re: restore(8) to UFS on USB key: terrible slow 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: Thu, 08 Dec 2011 14:52:09 -0000 El día Thursday, December 08, 2011 a las 03:40:06PM +0100, Hans Petter Selasky escribió: > BTW: > > Check USB traffic with "usbdump" utility. I don't see this 'usbdump', neither in the system nor in ports; BTW: I've checked the dump, it contains 50.000 dirs and 200.000 files (because of complete /usr/src and /usr/obl files incl. .svn dirs); Is this (50.000 x mkdir(2)) to much for USB? matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/ UNIX since V7 on PDP-11 | UNIX on mainframe since ESER 1055 (IBM /370) UNIX on x86 since SVR4.2 UnixWare 2.1.2 | FreeBSD since 2.2.5 From owner-freebsd-usb@FreeBSD.ORG Thu Dec 8 15:01:19 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 1AAE51065673; Thu, 8 Dec 2011 15:01:19 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe05.c2i.net [212.247.154.130]) by mx1.freebsd.org (Postfix) with ESMTP id 6989B8FC14; Thu, 8 Dec 2011 15:01:18 +0000 (UTC) X-T2-Spam-Status: No, hits=-0.2 required=5.0 tests=ALL_TRUSTED, BAYES_50 Received: from [188.126.198.129] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe05.swip.net (CommuniGate Pro SMTP 5.4.2) with ESMTPA id 211950569; Thu, 08 Dec 2011 16:01:16 +0100 From: Hans Petter Selasky To: Matthias Apitz Date: Thu, 8 Dec 2011 15:58:42 +0100 User-Agent: KMail/1.13.5 (FreeBSD/8.2-STABLE; KDE/4.4.5; amd64; ; ) References: <20111208063711.GA6482@tinyCurrent> <201112081540.06066.hselasky@c2i.net> <20111208145204.GA12923@tinyCurrent> In-Reply-To: <20111208145204.GA12923@tinyCurrent> X-Face: *nPdTl_}RuAI6^PVpA02T?$%Xa^>@hE0uyUIoiha$pC:9TVgl.Oq,NwSZ4V" =?iso-8859-1?q?=7CLR=2E+tj=7Dg5=0A=09=25V?=,x^qOs~mnU3]Gn; cQLv&.N>TrxmSFf+p6(30a/{)KUU!s}w\IhQBj}[g}bj0I3^glmC( =?iso-8859-1?q?=0A=09=3AAuzV9=3A=2EhESm-x4h240C=609=3Dw?= MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Message-Id: <201112081558.42947.hselasky@c2i.net> Cc: freebsd-questions@freebsd.org, freebsd-usb@freebsd.org Subject: Re: restore(8) to UFS on USB key: terrible 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: Thu, 08 Dec 2011 15:01:19 -0000 On Thursday 08 December 2011 15:52:04 Matthias Apitz wrote: > El d=EDa Thursday, December 08, 2011 a las 03:40:06PM +0100, Hans Petter= =20 Selasky escribi=F3: > > BTW: > >=20 > > Check USB traffic with "usbdump" utility. >=20 > I don't see this 'usbdump', neither in the system nor in ports; >=20 > BTW: I've checked the dump, it contains 50.000 dirs and 200.000 files > (because of complete /usr/src and /usr/obl files incl. .svn dirs); > Is this (50.000 x mkdir(2)) to much for USB? Hi, USB can at maximum do 8000/3 512byte R/W READ_10 or WRITE_10. Usbdump is available in 8-stable and 9-stable. =2D-HPS From owner-freebsd-usb@FreeBSD.ORG Thu Dec 8 15:02: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 BD86C106566B; Thu, 8 Dec 2011 15:02:15 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe08.c2i.net [212.247.154.226]) by mx1.freebsd.org (Postfix) with ESMTP id 16CB88FC0A; Thu, 8 Dec 2011 15:02:14 +0000 (UTC) X-T2-Spam-Status: No, hits=-0.2 required=5.0 tests=ALL_TRUSTED, BAYES_50 Received: from [188.126.198.129] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe08.swip.net (CommuniGate Pro SMTP 5.4.2) with ESMTPA id 214855062; Thu, 08 Dec 2011 16:02:13 +0100 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Thu, 8 Dec 2011 15:59:39 +0100 User-Agent: KMail/1.13.5 (FreeBSD/8.2-STABLE; KDE/4.4.5; amd64; ; ) References: <20111208063711.GA6482@tinyCurrent> <20111208145204.GA12923@tinyCurrent> <201112081558.42947.hselasky@c2i.net> In-Reply-To: <201112081558.42947.hselasky@c2i.net> X-Face: *nPdTl_}RuAI6^PVpA02T?$%Xa^>@hE0uyUIoiha$pC:9TVgl.Oq,NwSZ4V" =?iso-8859-1?q?=7CLR=2E+tj=7Dg5=0A=09=25V?=,x^qOs~mnU3]Gn; cQLv&.N>TrxmSFf+p6(30a/{)KUU!s}w\IhQBj}[g}bj0I3^glmC( =?iso-8859-1?q?=0A=09=3AAuzV9=3A=2EhESm-x4h240C=609=3Dw?= MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Message-Id: <201112081559.39762.hselasky@c2i.net> Cc: freebsd-questions@freebsd.org Subject: Re: restore(8) to UFS on USB key: terrible 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: Thu, 08 Dec 2011 15:02:15 -0000 On Thursday 08 December 2011 15:58:42 Hans Petter Selasky wrote: > On Thursday 08 December 2011 15:52:04 Matthias Apitz wrote: > > El d=EDa Thursday, December 08, 2011 a las 03:40:06PM +0100, Hans Petter >=20 > Selasky escribi=F3: > > > BTW: > > >=20 > > > Check USB traffic with "usbdump" utility. > >=20 > > I don't see this 'usbdump', neither in the system nor in ports; > >=20 > > BTW: I've checked the dump, it contains 50.000 dirs and 200.000 files > > (because of complete /usr/src and /usr/obl files incl. .svn dirs); > > Is this (50.000 x mkdir(2)) to much for USB? >=20 > Hi, >=20 > USB can at maximum do 8000/3 512byte R/W READ_10 or WRITE_10. Per second. >=20 > Usbdump is available in 8-stable and 9-stable. >=20 =2D-HPS From owner-freebsd-usb@FreeBSD.ORG Thu Dec 8 16:11:35 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 75054106564A for ; Thu, 8 Dec 2011 16:11:35 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from email2.allantgroup.com (email2.emsphone.com [199.67.51.116]) by mx1.freebsd.org (Postfix) with ESMTP id 16A348FC19 for ; Thu, 8 Dec 2011 16:11:34 +0000 (UTC) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by email2.allantgroup.com (8.14.4/8.14.4) with ESMTP id pB8FvEUL058970 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 8 Dec 2011 09:57:15 -0600 (CST) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (smmsp@localhost [127.0.0.1]) by dan.emsphone.com (8.14.5/8.14.5) with ESMTP id pB8FvEbT048342 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 8 Dec 2011 09:57:14 -0600 (CST) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.14.5/8.14.5/Submit) id pB8FvEDa048341; Thu, 8 Dec 2011 09:57:14 -0600 (CST) (envelope-from dan) Date: Thu, 8 Dec 2011 09:57:13 -0600 From: Dan Nelson To: Matthias Apitz Message-ID: <20111208155713.GC53453@dan.emsphone.com> References: <20111208063711.GA6482@tinyCurrent> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20111208063711.GA6482@tinyCurrent> X-OS: FreeBSD 8.2-STABLE User-Agent: Mutt/1.5.21 (2010-09-15) X-Virus-Scanned: clamav-milter 0.97.2 at email2.allantgroup.com X-Virus-Status: Clean X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.6 (email2.allantgroup.com [199.67.51.78]); Thu, 08 Dec 2011 09:57:15 -0600 (CST) X-Scanned-By: MIMEDefang 2.68 on 199.67.51.78 Cc: freebsd-questions@freebsd.org, freebsd-usb@freebsd.org Subject: Re: restore(8) to UFS on USB key: terrible 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: Thu, 08 Dec 2011 16:11:35 -0000 In the last episode (Dec 08), Matthias Apitz said: > I encounter the following problem with UFS file systems on USB keys, i.e. > the problem is not only with one key, but with all I have; the key in > question here is: > > Dec 7 22:17:47 tinyCurrent kernel: umass0: on usbus4 > Dec 7 22:17:47 tinyCurrent kernel: umass0: SCSI over Bulk-Only; quirks = 0x4101 > Dec 7 22:17:47 tinyCurrent root: Unknown USB device: vendor 0x058f product 0x6387 bus uhub4 > Dec 7 22:17:48 tinyCurrent kernel: umass0:0:0:-1: Attached to scbus0 > Dec 7 22:17:48 tinyCurrent kernel: da0 at umass-sim0 bus 0 scbus0 target 0 lun 0 > Dec 7 22:17:48 tinyCurrent kernel: da0: Removable Direct Access SCSI-2 device > Dec 7 22:17:48 tinyCurrent kernel: da0: 40.000MB/s transfers > Dec 7 22:17:48 tinyCurrent kernel: da0: 7650MB (15667200 512 byte sectors: 255H 63S/T 975C) [...] > after a while it get stuck and only does create the dirs with > a frequence of one per second; also the used space is growing very > slow: > > # df -kh /mnt > Filesystem Size Used Avail Capacity Mounted on > /dev/da0s1a 7.2G 42M 6.6G 1% /mnt > > this is after an hour or so: only 42 MBytes are written now; > > Any idea, what is broken with this? Cheap USB thumb drives aren't really optimized for small random-I/O writes. Can you try mounting the filesystem async? that might help a little. A workaround would be to use mdconfig to create a block device (backed by either swap or a file on your hard drive) the same size as your flash drive, newfs and restore to that, then umount the filesystem and dd the raw image directly to your flash drive. -- Dan Nelson dnelson@allantgroup.com From owner-freebsd-usb@FreeBSD.ORG Fri Dec 9 06:21:27 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 A05D8106564A; Fri, 9 Dec 2011 06:21:27 +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 5E5E38FC12; Fri, 9 Dec 2011 06:21:27 +0000 (UTC) Received: from [93.104.92.80] (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 1RYtpl-0004kj-BV; Fri, 09 Dec 2011 07:21:25 +0100 Received: from localhost.my.domain (localhost [127.0.0.1]) by localhost.my.domain (8.14.4/8.14.3) with ESMTP id pB96LNn5048138; Fri, 9 Dec 2011 07:21:23 +0100 (CET) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by localhost.my.domain (8.14.4/8.14.3/Submit) id pB96LLKn048136; Fri, 9 Dec 2011 07:21:21 +0100 (CET) (envelope-from guru@unixarea.de) X-Authentication-Warning: localhost.my.domain: guru set sender to guru@unixarea.de using -f Date: Fri, 9 Dec 2011 07:21:21 +0100 From: Matthias Apitz To: Dan Nelson Message-ID: <20111209062121.GA39981@tinyCurrent> References: <20111208063711.GA6482@tinyCurrent> <20111208155713.GC53453@dan.emsphone.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20111208155713.GC53453@dan.emsphone.com> X-Operating-System: FreeBSD 9.0-CURRENT r214444 (i386) User-Agent: Mutt/1.5.21 (2010-09-15) X-Con-Id: 51246 X-Originating-IP: 93.104.92.80 Cc: freebsd-questions@freebsd.org, freebsd-usb@freebsd.org Subject: Re: restore(8) to UFS on USB key: terrible slow 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: Fri, 09 Dec 2011 06:21:27 -0000 El día Thursday, December 08, 2011 a las 09:57:13AM -0600, Dan Nelson escribió: > Cheap USB thumb drives aren't really optimized for small random-I/O writes. > Can you try mounting the filesystem async? that might help a little. A > workaround would be to use mdconfig to create a block device (backed by > either swap or a file on your hard drive) the same size as your flash drive, > newfs and restore to that, then umount the filesystem and dd the raw image > directly to your flash drive. Hello Dan, Thanks for your hints. I tend to add that those USB thum drives aren't good for anything. I have a certain number of them containing each a complete bootable FreeBSD (including 'src', 'obj' and binary packages) to install my laptops and netbooks from them; after some time these USB keys tend to loose data: files are corrupt a bit, dirs are missing and so on; that's why I wanted to make dump(8) nackups of them, to restore them from time to time; I will drop the idea and will just make dd(1) backups of the full /dev/da0; thanks matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/ UNIX since V7 on PDP-11 | UNIX on mainframe since ESER 1055 (IBM /370) UNIX on x86 since SVR4.2 UnixWare 2.1.2 | FreeBSD since 2.2.5 From owner-freebsd-usb@FreeBSD.ORG Fri Dec 9 17:57:47 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 197FF106564A for ; Fri, 9 Dec 2011 17:57:47 +0000 (UTC) (envelope-from jhs@berklix.com) Received: from tower.berklix.org (tower.berklix.org [83.236.223.114]) by mx1.freebsd.org (Postfix) with ESMTP id 927CC8FC0A for ; Fri, 9 Dec 2011 17:57:46 +0000 (UTC) Received: from mart.js.berklix.net (p5DCBD9C9.dip.t-dialin.net [93.203.217.201]) (authenticated bits=0) by tower.berklix.org (8.14.2/8.14.2) with ESMTP id pB9HeFQA063303; Fri, 9 Dec 2011 17:40:16 GMT (envelope-from jhs@berklix.com) Received: from fire.js.berklix.net (fire.js.berklix.net [192.168.91.41]) by mart.js.berklix.net (8.14.3/8.14.3) with ESMTP id pB9He4H0042161; Fri, 9 Dec 2011 18:40:04 +0100 (CET) (envelope-from jhs@berklix.com) Received: from fire.js.berklix.net (localhost [127.0.0.1]) by fire.js.berklix.net (8.14.4/8.14.4) with ESMTP id pB9Hdkmh036599; Fri, 9 Dec 2011 18:39:52 +0100 (CET) (envelope-from jhs@fire.js.berklix.net) Message-Id: <201112091739.pB9Hdkmh036599@fire.js.berklix.net> To: Matthias Apitz From: "Julian H. Stacey" Organization: http://www.berklix.com BSD Unix Linux Consultancy, Munich Germany User-agent: EXMH on FreeBSD http://www.berklix.com/free/ X-URL: http://www.berklix.com In-reply-to: Your message "Fri, 09 Dec 2011 07:21:21 +0100." <20111209062121.GA39981@tinyCurrent> Date: Fri, 09 Dec 2011 18:39:46 +0100 Sender: jhs@berklix.com Cc: Dan Nelson , freebsd-questions@freebsd.org, freebsd-usb@freebsd.org Subject: Re: restore(8) to UFS on USB key: terrible 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: Fri, 09 Dec 2011 17:57:47 -0000 Matthias Apitz wrote: > El día Thursday, December 08, 2011 a las 09:57:13AM -0600, Dan Nelson escribió: > > > Cheap USB thumb drives aren't really optimized for small random-I/O writes. > > Can you try mounting the filesystem async? that might help a little. A > > workaround would be to use mdconfig to create a block device (backed by > > either swap or a file on your hard drive) the same size as your flash drive, > > newfs and restore to that, then umount the filesystem and dd the raw image > > directly to your flash drive. > > Hello Dan, > > Thanks for your hints. I tend to add that those USB thum drives aren't > good for anything. I have a certain number of them containing each a > complete bootable FreeBSD (including 'src', 'obj' and binary packages) > to install my laptops and netbooks from them; > > after some time these USB keys tend to loose data: > files are corrupt a bit, dirs are missing and so on; that's > why I wanted to make dump(8) nackups of them, to restore them from time > to time; I will drop the idea and will just make dd(1) backups of the > full /dev/da0; Additional to all the other good points others wrote earlier, may I mention: ... I've found some sticks are slower than others. Sometimes I do a performance & integrity test with my http://berklix.com/~jhs/src/bsd/jhs/bin/public/testblock One (free promo) stick I found lies, see this comment in my http://berklix.com/~jhs/src/bsd/fixes/FreeBSD/src/jhs/etc/devd/jhs.conf # The end of it is write only memory ! # It lets one write the last chunck, # It even lets one read that last chunk, # but the content of the last chunck is all zeroes. Another 2G stick was particularly slow: (marked as) Sony, bought at a computer Sunday 'flea' market in Croydon England, in retrospect I wonder if manufacturer Sony might have withdrawn them from sale, marked the batch for destruction, & possibly some criminal 'liberated' them for resale again ? (Such things do happen, eg In Germany years back, pre USB era, CT Mag reported reported Betruger/Placebo cache chips. They were just ceramic with no silicon in, it was reported importers (in Munich I think) were afraid to sue chinese exporters, fear of Triads! maybe last bit was speculation, but wan't My speculation, I read it, whatever, can't remember more now) Block Sizes: Maybe USB sticks may have different size/ speed front end cache chips on USB sticks ? Hans would know I suppose. ? Apart from soft updates, one can also choose the block sizes newfs creates, I recall FFS is larger than UFS ?. Maybe we should send-pr some suggested size for man newfs if targeting images for USB sticks. (is that a question to consider jointly with fs@ list ? ) Voltages: I've recently been bitten by appalling problems on a bunch of 2 of my externals discs, using 2 different laptops, 2/3 hubs, & 3 power supplies. Various combinations come back to bad voltage regulation, usually too low, some too high. But I assume discs will be more susceptible than sticks. However next time a motherboard fails for any of you, I suggest don't discard, first hacksaw off the double USB socket, solder wires across, add extra wires for a meter, so you can monitor voltage & current. Mastering first on hard disc (per Dan's suggestion, mdconfig etc) is a good idea, I was considering this earlier when building a new stick/ extended Live-FS. .. using mdconfig etc, but it's heavy & slow after the initial image create, to keep rewriting, even if at large dd bs= So I use incremental writes I keep personal backups & bins & Live FS & mp3 to play etc all on USB sticks. Still usable though 'cos I rarely change too much at one time. & rdist6 updates what's changed. (would also correct odd corruption Matthias) I even sue gbde encrypted FS (ie more performance degradation) .. and updates still happens acceptably if not exactly fast. Others could use rsync if they dont fancy rdist6. Cheers, Julian -- Julian Stacey, BSD Unix Linux C Sys Eng Consultants Munich http://berklix.com Reply below not above, cumulative like a play script, & indent with "> ". Format: Plain text. Not HTML, multipart/alternative, base64, quoted-printable. From owner-freebsd-usb@FreeBSD.ORG Fri Dec 9 18:10: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 CEA921065670 for ; Fri, 9 Dec 2011 18:10:32 +0000 (UTC) (envelope-from kudzu@tenebras.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id A2F2F8FC17 for ; Fri, 9 Dec 2011 18:10:32 +0000 (UTC) Received: by iafi7 with SMTP id i7so7701575iaf.13 for ; Fri, 09 Dec 2011 10:10:32 -0800 (PST) MIME-Version: 1.0 Received: by 10.42.159.72 with SMTP id k8mr3340778icx.14.1323452687199; Fri, 09 Dec 2011 09:44:47 -0800 (PST) Received: by 10.50.216.234 with HTTP; Fri, 9 Dec 2011 09:44:47 -0800 (PST) In-Reply-To: <20111209062121.GA39981@tinyCurrent> References: <20111208063711.GA6482@tinyCurrent> <20111208155713.GC53453@dan.emsphone.com> <20111209062121.GA39981@tinyCurrent> Date: Fri, 9 Dec 2011 09:44:47 -0800 Message-ID: From: Michael Sierchio To: Matthias Apitz Content-Type: text/plain; charset=ISO-8859-1 Cc: Dan Nelson , freebsd-questions@freebsd.org, freebsd-usb@freebsd.org Subject: Re: restore(8) to UFS on USB key: terrible 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: Fri, 09 Dec 2011 18:10:32 -0000 Cheap USB drives, and even many CF drives, aren't much good as random read-write devices. On my Soekris boxen I run FreeBSD, and mount the root filesystem rw,noatime. And I don't write to it. ;-) /var is a memory filesystem, there /var/db/... contain symbolic links to /usr/local/db/.. because the package database can grow quite large. /tmp is a symlink to /var/tmp. Configured this way, these machines are trouble-free.