From owner-freebsd-usb@FreeBSD.ORG Sun Nov 2 04:00:11 2008 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 CAF061065672 for ; Sun, 2 Nov 2008 04:00:11 +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 A00428FC1D for ; Sun, 2 Nov 2008 04:00:11 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id mA240BSL037566 for ; Sun, 2 Nov 2008 04:00:11 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id mA240BTR037565; Sun, 2 Nov 2008 04:00:11 GMT (envelope-from gnats) Date: Sun, 2 Nov 2008 04:00:11 GMT Message-Id: <200811020400.mA240BTR037565@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: "Kevin Downey" Cc: Subject: Re: usb/128418: [panic] [rum] loading if_rum causes panic, looks like in usb stack X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Kevin Downey List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Nov 2008 04:00:11 -0000 The following reply was made to PR usb/128418; it has been noted by GNATS. From: "Kevin Downey" To: bug-followup@freebsd.org Cc: Subject: Re: usb/128418: [panic] [rum] loading if_rum causes panic, looks like in usb stack Date: Sat, 1 Nov 2008 20:59:26 -0700 Gar. I had to rebuild the kernel with all the debugging stuffs. Then loading the usb modules just locked up the laptop, no dumps, so now the usb modules are compiled into the kernel. #0 doadump () at pcpu.h:246 #1 0xc05927ae in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:420 #2 0xc0592a82 in panic (fmt=Variable "fmt" is not available. ) at /usr/src/sys/kern/kern_shutdown.c:576 #3 0xc048a287 in db_panic (addr=Could not find the frame base for "db_panic". ) at /usr/src/sys/ddb/db_command.c:478 #4 0xc048a8b1 in db_command (last_cmdp=0xc08a8e9c, cmd_table=0x0, dopager=1) at /usr/src/sys/ddb/db_command.c:445 #5 0xc048aa0a in db_command_loop () at /usr/src/sys/ddb/db_command.c:498 #6 0xc048c86d in db_trap (type=12, code=0) at /usr/src/sys/ddb/db_main.c:229 #7 0xc05bf686 in kdb_trap (type=12, code=0, tf=0xc3bc0bbc) at /usr/src/sys/kern/subr_kdb.c:534 #8 0xc07ddd3f in trap_fatal (frame=0xc3bc0bbc, eva=56) at /usr/src/sys/i386/i386/trap.c:920 #9 0xc07ddf60 in trap_pfault (frame=0xc3bc0bbc, usermode=0, eva=56) at /usr/src/sys/i386/i386/trap.c:842 #10 0xc07de923 in trap (frame=0xc3bc0bbc) at /usr/src/sys/i386/i386/trap.c:522 #11 0xc07c334b in calltrap () at /usr/src/sys/i386/i386/exception.s:165 #12 0xc05110f4 in ehci_idone (ex=0xc3fca600) at /usr/src/sys/dev/usb/ehci.c:914 #13 0xc0511a9a in ehci_softintr (v=0xc4012000) at /usr/src/sys/dev/usb/ehci.c:802 #14 0xc052a1e2 in usb_schedsoftintr (bus=0xc4012000) at /usr/src/sys/dev/usb/usb.c:848 #15 0xc051362e in ehci_intr1 (sc=0xc4012000) at /usr/src/sys/dev/usb/ehci.c:631 #16 0xc0514105 in ehci_intr (v=0xc4012000) at /usr/src/sys/dev/usb/ehci.c:590 #17 0xc0573ee5 in intr_event_execute_handlers (p=0xc3d617d4, ie=0xc3da0b00) at /usr/src/sys/kern/kern_intr.c:1134 #18 0xc0574b5f in ithread_loop (arg=0xc4056be0) at /usr/src/sys/kern/kern_intr.c:1147 #19 0xc0571ca8 in fork_exit (callout=0xc0574ac0 , arg=0xc4056be0, frame=0xc3bc0d38) at /usr/src/sys/kern/kern_fork.c:815 #20 0xc07c33c0 in fork_trampoline () at /usr/src/sys/i386/i386/exception.s:270 -- The Mafia way is that we pursue larger goals under the guise of personal relationships. Fisheye From owner-freebsd-usb@FreeBSD.ORG Sun Nov 2 08:16:20 2008 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 41F4A1065672 for ; Sun, 2 Nov 2008 08:16:20 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe07.swip.net [212.247.154.193]) by mx1.freebsd.org (Postfix) with ESMTP id 5BC568FC0A for ; Sun, 2 Nov 2008 08:16:19 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=ZDOhuv1H6FQA:10 a=Pc5hXlA98aEA:10 a=JaMsEuWvuubvilQL9CAA:9 a=sSyNChuGt7NkCjBf-vgA:7 a=Fh3298Hh6Pj3JnkN0_boygSfooEA:4 a=LY0hPdMaydYA:10 Received: from [193.217.167.134] (account mc467741@c2i.net HELO [10.0.0.186]) by mailfe07.swip.net (CommuniGate Pro SMTP 5.2.6) with ESMTPA id 1134512479; Sun, 02 Nov 2008 09:16:16 +0100 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Sun, 2 Nov 2008 09:18:25 +0100 User-Agent: KMail/1.9.7 References: <115856.33908.qm@web30603.mail.mud.yahoo.com> In-Reply-To: <115856.33908.qm@web30603.mail.mud.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200811020918.26260.hselasky@c2i.net> Cc: Ferry Syafei Sapei Subject: Re: USB speaker does not output any sound even though recognized 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, 02 Nov 2008 08:16:20 -0000 On Saturday 01 November 2008, Ferry Syafei Sapei wrote: > I have just installed PC-BSD 7.0.1 on my notebook. Having finished the > installation, I deactivated the automatic sound card detection by > commenting snddetect_enable=3D"YES" in /etc/rc.conf. Afterwards I added t= he > line snd_uaudio_load=3D"YES" to /boot/loader.conf to output the sound to = an > external USB speaker. > > After reboot, I could see clearly in the middle of the initialization pha= se > that PC-BSD recognized my USB speaker. However at the end of the > initialization phase, PC-BSD tried to set the value of > dev.pcm.0.play.vchans and I saw an error message as follows: sysctl: > dev.pcm.0.play.vchans : operation not supported by device. > > Then I opened an audio file to test the USB speaker and I did not hear any > sound at all. > > Could someone please help me to solve this problem? > > Below you can find some output from different commands: > > # dmesg > Copyright (c) 1992-2008 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 7.1-PRERELEASE #1: Tue Oct 7 09:17:14 EDT 2008 > root@pcbsdx32-7:/usr/obj/pcbsd-build/cvs/7.0.1-src/sys/PCBSD > Timecounter "i8254" frequency 1193182 Hz quality 0 > CPU: Intel(R) Core(TM)2 CPU T7200 @ 2.00GHz (1997.34-MHz 686-cla= ss > CPU) Origin =3D "GenuineIntel" Id =3D 0x6f6 Stepping =3D 6 > =20 > Features=3D0xbfebfbffA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE> > Features2=3D0xe3bd > AMD Features=3D0x20100000 > AMD Features2=3D0x1 > Cores per package: 2 > real memory =3D 2145988608 (2046 MB) > avail memory =3D 2081918976 (1985 MB) > ACPI APIC Table: > FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs > cpu0 (BSP): APIC ID: 0 > cpu1 (AP): APIC ID: 1 > ioapic0: Changing APIC ID to 2 > ioapic0 irqs 0-23 on motherboard > kbd1 at kbdmux0 > ath_hal: 0.10.5.6 (AR5210, AR5211, AR5212, AR5416, RF5111, RF5112, RF2413, > RF5413, RF2133, RF2425, RF2417) acpi0: on motherboard > acpi0: [ITHREAD] > Timecounter "HPET" frequency 14318180 Hz quality 900 > acpi0: reservation of 0, 9fc00 (3) failed > acpi0: reservation of 100000, 7fd93400 (3) failed > Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 > acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0 > acpi_acad0: on acpi0 > battery0: on acpi0 > acpi_lid0: on acpi0 > acpi_button0: on acpi0 > acpi_button1: on acpi0 > pcib0: port 0xcf8-0xcff on acpi0 > pci0: on pcib0 > pcib1: at device 1.0 on pci0 > pci1: on pcib1 > vgapci0: mem > 0xed000000-0xedffffff,0xd0000000-0xdfffffff,0xee000000-0xeeffffff irq 16 = at > device 0.0 on pci1 nvidia0: on vgapci0 > vgapci0: child nvidia0 requested pci_enable_busmaster > vgapci0: child nvidia0 requested pci_enable_io > nvidia0: [GIANT-LOCKED] > nvidia0: [ITHREAD] > pci0: at device 27.0 (no driver attached) > pcib2: at device 28.0 on pci0 > pci11: on pcib2 > pcib3: at device 28.1 on pci0 > pci12: on pcib3 > wpi0: mem 0xecfff000-0xecffffff irq 17 at > device 0.0 on pci12 wpi0: Ethernet address: 00:19:d2:d5:ec:3e > wpi0: [ITHREAD] > pcib4: at device 28.3 on pci0 > pci13: on pcib4 > uhci0: port 0xbf80-0xbf9f irq 20 at device > 29.0 on pci0 uhci0: [GIANT-LOCKED] > uhci0: [ITHREAD] > usb0: on uhci0 > usb0: USB revision 1.0 > uhub0: on usb0 > uhub0: 2 ports with 2 removable, self powered > uhci1: port 0xbf60-0xbf7f irq 21 at device > 29.1 on pci0 uhci1: [GIANT-LOCKED] > uhci1: [ITHREAD] > usb1: on uhci1 > usb1: USB revision 1.0 > uhub1: on usb1 > uhub1: 2 ports with 2 removable, self powered > uhci2: port 0xbf40-0xbf5f irq 22 at device > 29.2 on pci0 uhci2: [GIANT-LOCKED] > uhci2: [ITHREAD] > usb2: on uhci2 > usb2: USB revision 1.0 > uhub2: on usb2 > uhub2: 2 ports with 2 removable, self powered > uhci3: port 0xbf20-0xbf3f irq 23 at device > 29.3 on pci0 uhci3: [GIANT-LOCKED] > uhci3: [ITHREAD] > usb3: on uhci3 > usb3: USB revision 1.0 > uhub3: on usb3 > uhub3: 2 ports with 2 removable, self powered > ehci0: mem > 0xffa80000-0xffa803ff irq 20 at device 29.7 on pci0 ehci0: [GIANT-LOCKED] > ehci0: [ITHREAD] > usb4: EHCI version 1.0 > usb4: companion controllers, 2 ports each: usb0 usb1 usb2 usb3 > usb4: on ehci0 > usb4: USB revision 2.0 > uhub4: on usb4 > uhub4: 8 ports with 8 removable, self powered > pcib5: at device 30.0 on pci0 > pci3: on pcib5 > bfe0: mem 0xecbfe000-0xecbfffff irq 17 > at device 0.0 on pci3 miibus0: on bfe0 > bmtphy0: PHY 1 on miibus0 > bmtphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto > bfe0: Ethernet address: 00:18:8b:c9:d0:71 > bfe0: [ITHREAD] > fwohci0: <1394 Open Host Controller Interface> mem 0xecbfd800-0xecbfdfff > irq 19 at device 1.0 on pci3 fwohci0: [FILTER] > fwohci0: OHCI version 1.10 (ROM=3D0) > fwohci0: No. of Isochronous channels is 4. > fwohci0: EUI64 39:4f:c0:00:10:ea:ec:50 > fwohci0: Phy 1394a available S400, 1 ports. > fwohci0: Link S400, max_rec 2048 bytes. > firewire0: on fwohci0 > fwe0: on firewire0 > if_fwe0: Fake Ethernet address: 3a:4f:c0:ea:ec:50 > fwe0: Ethernet address: 3a:4f:c0:ea:ec:50 > fwip0: on firewire0 > fwip0: Firewire address: 39:4f:c0:00:10:ea:ec:50 @ 0xfffe00000000, S400, > maxrec 2048 sbp0: on firewire0 > dcons_crom0: on firewire0 > dcons_crom0: bus_addr 0x7d928000 > fwohci0: Initiate bus reset > fwohci0: BUS reset > fwohci0: node_id=3D0xc800ffc0, gen=3D1, CYCLEMASTER mode > pci3: at device 1.1 (no driver attached) > pci3: at device 1.2 (no driver attached) > pci3: at device 1.3 (no driver attached) > pci3: at device 1.4 (no driver attached) > isab0: at device 31.0 on pci0 > isa0: on isab0 > atapci0: port > 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xbfa0-0xbfaf irq 17 at device 31.2 on > pci0 ata0: on atapci0 > ata0: [ITHREAD] > ata1: on atapci0 > ata1: [ITHREAD] > pci0: at device 31.3 (no driver attached) > acpi_tz0: on acpi0 > atkbdc0: port 0x60,0x64,0x62,0x66 irq 1 on > acpi0 atkbd0: irq 1 on atkbdc0 > kbd0 at atkbd0 > atkbd0: [GIANT-LOCKED] > atkbd0: [ITHREAD] > psm0: flags 0x1000 irq 12 on atkbdc0 > psm0: [GIANT-LOCKED] > psm0: [ITHREAD] > psm0: model Generic PS/2 mouse, device ID 0 > cpu0: on acpi0 > est0: on cpu0 > p4tcc0: on cpu0 > cpu1: on acpi0 > est1: on cpu1 > p4tcc1: on cpu1 > pmtimer0 on isa0 > orm0: at iomem 0xc0000-0xcffff pnpid ORM0000 on isa0 > ppc0: parallel port not found. > sc0: at flags 0x100 on isa0 > sc0: VGA <16 virtual consoles, flags=3D0x300> > sio0: configured irq 4 not in bitmap of probed irqs 0 > sio0: port may not be enabled > sio0: configured irq 4 not in bitmap of probed irqs 0 > sio0: port may not be enabled > sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 > sio0: type 8250 or not responding > sio0: [FILTER] > sio1: configured irq 3 not in bitmap of probed irqs 0 > sio1: port may not be enabled > vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 > ums0: on uhub0 > ums0: 16 buttons and Z dir. > uhid0: on uhub0 > ukbd0: 2.00/1.73, addr 3> on uhub0 kbd2 at ukbd0 > uhid1: 2.00/1.73, addr 3> on uhub0 uhub5: 2.00/1.00, addr 2> on uhub1 uhub5: 3 ports with 0 removable, bus powered > ugen0: on uhu= b5 > ukbd1: on > uhub5 kbd3 at ukbd1 > ums1: on > uhub5 ums1: 3 buttons. > uaudio0: > on uhub2 uaudio0: audio rev 1.00 > pcm0: on uaudio0 > uaudio1: 2> on uhub3 uaudio1: audio rev 1.00 > pcm1: on uaudio1 > uhid2: > on uhub3 Timecounters tick every 1.000 msec > ipfw2 (+ipv6) initialized, divert enabled, nat loadable, rule-based > forwarding firewire0: 1 nodes, maxhop <=3D 0, cable IRM =3D 0(me) firewir= e0: > bus manager 0 (me) > disabled, default to accept, logging disabled > ad0: 95396MB at ata0-master SATA150 > acd0: DVDR at ata1-master UDMA33 > GEOM_LABEL: Label for provider ad0s1 is ntfs/Win'XP. > GEOM_LABEL: Label for provider ad0s2 is msdosfs/ . > acd0: FAILURE - INQUIRY ILLEGAL REQUEST asc=3D0x24 ascq=3D0x00 sks=3D0x40= 0x00 > 0x01 acd0: FAILURE - INQUIRY ILLEGAL REQUEST asc=3D0x24 ascq=3D0x00 sks= =3D0x40 > 0x00 0x01 cd0 at ata1 bus 0 target 0 lun 0 > cd0: Removable CD-ROM SCSI-0 device > cd0: 33.000MB/s transfers > cd0: Attempt to query device size failed: NOT READY, Medium not present > SMP: AP CPU #1 Launched! > Trying to mount root from ufs:/dev/ad0s3a > wpi0: timeout resetting Tx ring 1 > wpi0: timeout resetting Tx ring 3 > wpi0: timeout resetting Tx ring 4 > wpi0: timeout resetting Tx ring 1 > wpi0: timeout resetting Tx ring 3 > wpi0: timeout resetting Tx ring 4 > wpi0: timeout resetting Tx ring 1 > wpi0: timeout resetting Tx ring 3 > wpi0: timeout resetting Tx ring 4 > wpi0: timeout resetting Tx ring 1 > wpi0: timeout resetting Tx ring 3 > wpi0: timeout resetting Tx ring 4 > wpi0: link state changed to UP > pid 15638 (npviewer.bin), uid 1001: exited on signal 11 > GEOM_LABEL: Label msdosfs/ removed. > acd0: WARNING - unknown CMD (0xac) read data overrun 8>0 > acd0: WARNING - unknown CMD (0xac) read data overrun 8>0 > > > # usbdevs -v > Controller /dev/usb0: > addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), > Intel(0x0000), rev 1.00 port 1 addr 2: low speed, power 98 mA, config 1, > USB Receiver(0xc518), Logitech(0x046d), rev 42.04 port 2 addr 3: low spee= d, > power 100 mA, config 1, Natural=EF=BF=BD Ergonomic Keyboard 4000(0x00db), > Microsoft(0x045e), rev 1.73 Controller /dev/usb1: > addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), > Intel(0x0000), rev 1.00 port 1 addr 2: full speed, self powered, config 1, > BCM2045B2(0x4500), Broadcom(0x0a5c), rev 1.00 port 1 addr 3: full speed, > self powered, config 1, BCM2045(0x8126), Broadcom Corp(0x413c), rev 1.00 > port 2 addr 4: full speed, self powered, config 1, product 0x4502(0x4502), > Broadcom Corp(0x0a5c), rev 1.00 port 3 addr 5: full speed, self powered, > config 1, product 0x4503(0x4503), Broadcom Corp(0x0a5c), rev 1.00 port 2 > powered > Controller /dev/usb2: > addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), > Intel(0x0000), rev 1.00 port 1 addr 2: full speed, power 500 mA, config 1, > product 0x08c6(0x08c6), vendor 0x046d(0x046d), rev 80.05 port 2 powered > Controller /dev/usb3: > addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), > Intel(0x0000), rev 1.00 port 1 powered > port 2 addr 2: full speed, self powered, config 1, Bose USB Audio(0x1020= ), > Bose Corporation(0x05a7), rev 1.00 Controller /dev/usb4: > addr 1: high speed, self powered, config 1, EHCI root hub(0x0000), > Intel(0x0000), rev 1.00 port 1 powered > port 2 powered > port 3 powered > port 4 powered > port 5 powered > port 6 powered > port 7 powered > port 8 powered > > > # cat /dev/sndstat > FreeBSD Audio Driver (newpcm: 32bit 2007061600/i386) > Installed devices: > pcm0: at ? kld snd_uaudio [GIANT] (0p:0v/1r:4v channels > default) mode 3:(input) 1ch, 16/16bit, pcm, 16000Hz > pcm1: at ? kld snd_uaudio [GIANT] (mixer only) > > > # sysctl hw.snd dev.pcm > hw.snd.latency_profile: 1 > hw.snd.latency: 5 > hw.snd.report_soft_formats: 1 > hw.snd.compat_linux_mmap: 0 > hw.snd.feeder_buffersize: 16384 > hw.snd.feeder_rate_round: 25 > hw.snd.feeder_rate_max: 2016000 > hw.snd.feeder_rate_min: 1 > hw.snd.verbose: 1 > hw.snd.maxautovchans: 16 > hw.snd.default_unit: 0 > hw.snd.version: 2007061600/i386 > hw.snd.default_auto: 0 > dev.pcm.0.%desc: USB Audio > dev.pcm.0.%driver: pcm > dev.pcm.0.%parent: uaudio0 > dev.pcm.0.rec.vchans: 4 > dev.pcm.0.rec.vchanrate: 16000 > dev.pcm.0.rec.vchanformat: s16le > dev.pcm.0.buffersize: 16384 > dev.pcm.1.%desc: USB Audio > dev.pcm.1.%driver: pcm > dev.pcm.1.%parent: uaudio1 > dev.pcm.1.buffersize: 16384 > > What does the mixer settings look like ? =2D-HPS From owner-freebsd-usb@FreeBSD.ORG Sun Nov 2 14:18:01 2008 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 E161A1065673 for ; Sun, 2 Nov 2008 14:18:01 +0000 (UTC) (envelope-from pei7@yahoo.com) Received: from web30607.mail.mud.yahoo.com (web30607.mail.mud.yahoo.com [68.142.200.130]) by mx1.freebsd.org (Postfix) with SMTP id 8CA708FC13 for ; Sun, 2 Nov 2008 14:18:01 +0000 (UTC) (envelope-from pei7@yahoo.com) Received: (qmail 8206 invoked by uid 60001); 2 Nov 2008 14:18:01 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:MIME-Version:Content-Type:Message-ID; b=2Gx0eLi+9sAuQzBZjpV/BK4QmF7FjLqp3jNmk6BBf06zi2sif8A1iI2hVHp6f4AJ128LAG3EGAyxtFIbk+Pvel5Nydii7Rf8DXCI4LIFKtSUYqlgkJq78+HIjS25F9thrG0dabU5FhLJnjrYeJCFfICT0RFOWZ3nm4BZYKOZUNI=; X-YMail-OSG: YPnwiOIVM1lEIbK_7t_cGu0XJ.GdMAWiP23Q.wGY3RQyC3zoV.r_hN.iZ2z2tuCkv34N5JsHfuYWb9k2ZQkUL_jS3QzQsylGnVuc9WPbhZHiLTfBQdazlJwwzaeYbeCprcdztk8U_iojnC4daoY9hyCWxon0C.MMKesOSMM- Received: from [77.176.95.204] by web30607.mail.mud.yahoo.com via HTTP; Sun, 02 Nov 2008 06:18:00 PST X-Mailer: YahooMailRC/1155.20 YahooMailWebService/0.7.260.1 References: <115856.33908.qm@web30603.mail.mud.yahoo.com> <200811020918.26260.hselasky@c2i.net> Date: Sun, 2 Nov 2008 06:18:00 -0800 (PST) From: Ferry Syafei Sapei To: freebsd-usb@freebsd.org MIME-Version: 1.0 Message-ID: <5632.7969.qm@web30607.mail.mud.yahoo.com> X-Mailman-Approved-At: Sun, 02 Nov 2008 15:28:43 +0000 Content-Type: text/plain; charset=us-ascii X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: USB speaker does not output any sound even though recognized 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, 02 Nov 2008 14:18:02 -0000 The mixer settings could be seen below: # mixer Mixer vol is currently set to 100:100 Mixer pcm is currently set to 100:100 Mixer mic is currently set to 0:0 Best regards, Ferry From owner-freebsd-usb@FreeBSD.ORG Sun Nov 2 17:04:49 2008 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 88F261065670 for ; Sun, 2 Nov 2008 17:04:49 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe10.swipnet.se [212.247.155.33]) by mx1.freebsd.org (Postfix) with ESMTP id 1F1318FC19 for ; Sun, 2 Nov 2008 17:04:48 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=ZDOhuv1H6FQA:10 a=Pc5hXlA98aEA:10 a=JQaMaFabLF_EHFw29n4A:9 a=_CeTs41p51xfmDHzkd0f60eO2K0A:4 a=LY0hPdMaydYA:10 Received: from [193.217.167.134] (account mc467741@c2i.net HELO [10.0.0.186]) by mailfe10.swip.net (CommuniGate Pro SMTP 5.2.6) with ESMTPA id 967164897; Sun, 02 Nov 2008 18:04:47 +0100 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Sun, 2 Nov 2008 18:06:54 +0100 User-Agent: KMail/1.9.7 References: <115856.33908.qm@web30603.mail.mud.yahoo.com> <200811020918.26260.hselasky@c2i.net> <5632.7969.qm@web30607.mail.mud.yahoo.com> In-Reply-To: <5632.7969.qm@web30607.mail.mud.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200811021806.54970.hselasky@c2i.net> Cc: Ferry Syafei Sapei Subject: Re: USB speaker does not output any sound even though recognized 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, 02 Nov 2008 17:04:49 -0000 On Sunday 02 November 2008, Ferry Syafei Sapei wrote: > The mixer settings could be seen below: > > # mixer > Mixer vol is currently set to 100:100 > Mixer pcm is currently set to 100:100 > Mixer mic is currently set to 0:0 > > > Best regards, > Ferry > Try increasing the microphone volume. --HPS From owner-freebsd-usb@FreeBSD.ORG Sun Nov 2 19:12:06 2008 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 3D70F106567A for ; Sun, 2 Nov 2008 19:12:06 +0000 (UTC) (envelope-from bruce@cran.org.uk) Received: from muon.cran.org.uk (muon.cran.org.uk [66.246.138.153]) by mx1.freebsd.org (Postfix) with ESMTP id 11A1A8FC14 for ; Sun, 2 Nov 2008 19:12:06 +0000 (UTC) (envelope-from bruce@cran.org.uk) Received: from muon.cran.org.uk (localhost [127.0.0.1]) by muon.cran.org.uk (Postfix) with ESMTP id 26F631905E; Sun, 2 Nov 2008 13:53:11 -0500 (EST) X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on muon X-Spam-Level: X-Spam-Status: No, score=0.2 required=5.0 tests=AWL,RDNS_NONE autolearn=no version=3.2.5 Received: from tau.draftnet (unknown [66.45.161.67]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by muon.cran.org.uk (Postfix) with ESMTPSA; Sun, 2 Nov 2008 13:53:11 -0500 (EST) Date: Sun, 2 Nov 2008 10:53:02 -0800 From: Bruce Cran To: Hans Petter Selasky Message-ID: <20081102105302.40af66f6@tau.draftnet> In-Reply-To: <200810261633.22020.hselasky@c2i.net> References: <200810251925.47273.hselasky@c2i.net> <20081025181603.GD83037@elvis.mu.org> <200810261633.22020.hselasky@c2i.net> X-Mailer: Claws Mail 3.5.0 (GTK+ 2.12.11; amd64-portbld-freebsd7.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Alfred Perlstein , freebsd-usb@freebsd.org Subject: Re: USB4BSD release candidate number 3 - request for review 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, 02 Nov 2008 19:12:06 -0000 On Sun, 26 Oct 2008 16:33:20 +0100 Hans Petter Selasky wrote: > Hi, > > A new USB release is available: > > http://www.selasky.org/hans_petter/usb4bsd/for_review/ > > %md5 usb2_release_003.* > MD5 (usb2_release_003.diff) = e31a032d0234bb7d72eb968c33118d84 > MD5 (usb2_release_003.tar.gz) = 0a0d9dd44e93ba2ceaa849c577f6fecf > %sha256 usb2_release_003.* > SHA256 (usb2_release_003.diff) = > 9b4359f76eeef43d9b6c0c524198e529f2debff14e6158ebac8f35d51efb211b > SHA256 (usb2_release_003.tar.gz) = > 3040714546fc21bc2943c2e7aec1734150845271664aad44639ff5c553e3ed31 I untarred usb2_release_003.tar.gz into /usr/src but am having problems building it: it seems libusb20 needs /usr/src/sys in the include path, but after installing libusb20 the modules won't build: > cd /sys/modules/usb2 > make ===> bluetooth (all) Warning: Object directory not changed from original /usr/src/sys/modules/usb2/bluetooth make: don't know how to make usb2_if.h. Stop *** Error code 2 Stop in /usr/src/sys/modules/usb2. If I use the copy of /sys/conf/files from perforce then I get a compile error in the ata driver during buildkernel because I guess things have moved on and the references are no longer valid. What's the proper way to build the new usb stack? -- Bruce Cran From owner-freebsd-usb@FreeBSD.ORG Sun Nov 2 20:40:13 2008 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 BCAA1106567A for ; Sun, 2 Nov 2008 20:40:13 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe02.swip.net [212.247.154.33]) by mx1.freebsd.org (Postfix) with ESMTP id 5317C8FC0C for ; Sun, 2 Nov 2008 20:40:12 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=bdeZpJpNa0wA:10 a=SER6hIBTabIA:10 a=d6BVkb5LuPPVEe4iNQMLyA==:17 a=ndaoGXS1AAAA:8 a=zrbGDAtnjZpn5Nr9ZSEA:9 a=_IhCkLhwVmxPvvMGkCUA:7 a=jcbAWeAIl4bWz0d4DA9RMaG21HwA:4 a=9aOQ2cSd83gA:10 a=LY0hPdMaydYA:10 Received: from [62.113.135.6] (account mc467741@c2i.net [62.113.135.6] verified) by mailfe02.swip.net (CommuniGate Pro SMTP 5.2.6) with ESMTPA id 1139607092; Sun, 02 Nov 2008 21:40:10 +0100 From: Hans Petter Selasky To: Bruce Cran Date: Sun, 2 Nov 2008 21:42:11 +0100 User-Agent: KMail/1.9.7 References: <200810251925.47273.hselasky@c2i.net> <200810261633.22020.hselasky@c2i.net> <20081102105302.40af66f6@tau.draftnet> In-Reply-To: <20081102105302.40af66f6@tau.draftnet> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200811022142.12653.hselasky@c2i.net> Cc: Alfred Perlstein , freebsd-usb@freebsd.org Subject: Re: USB4BSD release candidate number 3 - request for review 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, 02 Nov 2008 20:40:13 -0000 On Sunday 02 November 2008, Bruce Cran wrote: > On Sun, 26 Oct 2008 16:33:20 +0100 > > Hans Petter Selasky wrote: > > Hi, > > > > A new USB release is available: > > > > http://www.selasky.org/hans_petter/usb4bsd/for_review/ > > > > %md5 usb2_release_003.* > > MD5 (usb2_release_003.diff) = e31a032d0234bb7d72eb968c33118d84 > > MD5 (usb2_release_003.tar.gz) = 0a0d9dd44e93ba2ceaa849c577f6fecf > > %sha256 usb2_release_003.* > > SHA256 (usb2_release_003.diff) = > > 9b4359f76eeef43d9b6c0c524198e529f2debff14e6158ebac8f35d51efb211b > > SHA256 (usb2_release_003.tar.gz) = > > 3040714546fc21bc2943c2e7aec1734150845271664aad44639ff5c553e3ed31 > > I untarred usb2_release_003.tar.gz into /usr/src but am having > problems building it: it seems libusb20 needs /usr/src/sys in the > > include path, but after installing libusb20 the modules won't build: > > cd /sys/modules/usb2 > > make > > ===> bluetooth (all) > Warning: Object directory not changed from > original /usr/src/sys/modules/usb2/bluetooth make: don't know how to > make usb2_if.h. Stop *** Error code 2 > > Stop in /usr/src/sys/modules/usb2. > > If I use the copy of /sys/conf/files from perforce then I get a compile > error in the ata driver during buildkernel because I guess things have > moved on and the references are no longer valid. What's the proper way > to build the new usb stack? Did you apply the patches in the diff file ? --HPS From owner-freebsd-usb@FreeBSD.ORG Sun Nov 2 20:32:13 2008 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 398A41065672 for ; Sun, 2 Nov 2008 20:32:13 +0000 (UTC) (envelope-from pei7@yahoo.com) Received: from web30603.mail.mud.yahoo.com (web30603.mail.mud.yahoo.com [68.142.200.126]) by mx1.freebsd.org (Postfix) with SMTP id D4D798FC0C for ; Sun, 2 Nov 2008 20:32:12 +0000 (UTC) (envelope-from pei7@yahoo.com) Received: (qmail 88966 invoked by uid 60001); 2 Nov 2008 20:32:12 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:MIME-Version:Content-Type:Message-ID; b=ISF0mYR+FMfHK23LPbvPLQEko+sq3RNJpmRxeahOOWjX11zttGXhMdP13ZSFm2+YAvrCc2KmzxD1f2xjjWqtGGGTNDfQI5TAqLNlE8g3eAWSTG27EN1Z6kgUVdwuZjQqYhTbI6lF/wqQ6mSPsDM0DnezQm5K8biLZEj/TkRV2ww=; X-YMail-OSG: To85ZOsVM1kzbF0uTCD9KmJ61w.kUpTqeq6pNlF17oovrhLEl5JCXV8Egvj7Bj67LPoffhBdUTGV9YYWtsrwgvdLZMKWEtTrIh5eTQ26O0FcYjU0hutcbjZdNVu.iiJ9lkjlkgshVt8e.d3.jHRIAnhu.Y_vnKi5x26xyto- Received: from [77.176.95.204] by web30603.mail.mud.yahoo.com via HTTP; Sun, 02 Nov 2008 12:32:12 PST X-Mailer: YahooMailRC/1155.20 YahooMailWebService/0.7.260.1 References: <115856.33908.qm@web30603.mail.mud.yahoo.com> <200811020918.26260.hselasky@c2i.net> <5632.7969.qm@web30607.mail.mud.yahoo.com> <200811021806.54970.hselasky@c2i.net> Date: Sun, 2 Nov 2008 12:32:12 -0800 (PST) From: Ferry Syafei Sapei To: freebsd-usb@freebsd.org MIME-Version: 1.0 Message-ID: <225889.87935.qm@web30603.mail.mud.yahoo.com> X-Mailman-Approved-At: Sun, 02 Nov 2008 21:48:54 +0000 Content-Type: text/plain; charset=us-ascii X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: USB speaker does not output any sound even though recognized 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, 02 Nov 2008 20:32:13 -0000 I've set microphone volume to 100, but there was still no sound at all. What else should I do? Ferry From owner-freebsd-usb@FreeBSD.ORG Sun Nov 2 22:06:34 2008 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 735431065673 for ; Sun, 2 Nov 2008 22:06:34 +0000 (UTC) (envelope-from jhs@berklix.org) Received: from flat.berklix.org (flat.berklix.org [83.236.223.115]) by mx1.freebsd.org (Postfix) with ESMTP id F181C8FC0C for ; Sun, 2 Nov 2008 22:06:33 +0000 (UTC) (envelope-from jhs@berklix.org) Received: from js.berklix.net (p549A6511.dip.t-dialin.net [84.154.101.17]) (authenticated bits=0) by flat.berklix.org (8.13.8/8.13.8) with ESMTP id mA2M6VtJ068495; Sun, 2 Nov 2008 23:06:31 +0100 (CET) (envelope-from jhs@berklix.org) Received: from fire.js.berklix.net (fire.js.berklix.net [192.168.91.41]) by js.berklix.net (8.13.8/8.13.8) with ESMTP id mA2M69sr006292; Sun, 2 Nov 2008 23:06:09 +0100 (CET) (envelope-from jhs@berklix.org) Received: from fire.js.berklix.net (localhost [127.0.0.1]) by fire.js.berklix.net (8.13.8/8.13.8) with ESMTP id mA2M5xn9014731; Sun, 2 Nov 2008 23:06:04 +0100 (CET) (envelope-from jhs@fire.js.berklix.net) Message-Id: <200811022206.mA2M5xn9014731@fire.js.berklix.net> To: Ferry Syafei Sapei From: "Julian Stacey" Organization: http://berklix.com BSD Unix Linux Consultancy, Munich Germany User-agent: EXMH on FreeBSD http://berklix.com/free/ X-URL: http://berklix.com In-reply-to: Your message "Sun, 02 Nov 2008 12:32:12 PST." <225889.87935.qm@web30603.mail.mud.yahoo.com> Date: Sun, 02 Nov 2008 23:05:59 +0100 Sender: jhs@berklix.org Cc: freebsd-usb@freebsd.org Subject: Re: USB speaker does not output any sound even though recognized 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, 02 Nov 2008 22:06:34 -0000 Hi, Reference: > From: Ferry Syafei Sapei > Date: Sun, 2 Nov 2008 12:32:12 -0800 (PST) > Message-id: <225889.87935.qm@web30603.mail.mud.yahoo.com> Ferry Syafei Sapei wrote: > I've set microphone volume to 100, but there was still no sound at all. > > What else should I do? mixer 100 man mixer http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/sound-setup.html Cheers, Julian -- Julian Stacey: BSDUnixLinux C Prog Admin SysEng Consult Munich www.berklix.com Mail plain ASCII text. HTML & Base64 text are spam. www.asciiribbon.org From owner-freebsd-usb@FreeBSD.ORG Sun Nov 2 22:16:10 2008 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 D86A11065677 for ; Sun, 2 Nov 2008 22:16:10 +0000 (UTC) (envelope-from bruce@cran.org.uk) Received: from muon.cran.org.uk (muon.cran.org.uk [66.246.138.153]) by mx1.freebsd.org (Postfix) with ESMTP id 94F558FC08 for ; Sun, 2 Nov 2008 22:16:10 +0000 (UTC) (envelope-from bruce@cran.org.uk) Received: from muon.cran.org.uk (localhost [127.0.0.1]) by muon.cran.org.uk (Postfix) with ESMTP id 5091F1905E; Sun, 2 Nov 2008 17:16:09 -0500 (EST) X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on muon X-Spam-Level: X-Spam-Status: No, score=0.2 required=5.0 tests=AWL,RDNS_NONE autolearn=no version=3.2.5 Received: from tau.draftnet (unknown [66.45.161.67]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by muon.cran.org.uk (Postfix) with ESMTPSA; Sun, 2 Nov 2008 17:16:09 -0500 (EST) Date: Sun, 2 Nov 2008 14:15:58 -0800 From: Bruce Cran To: Hans Petter Selasky Message-ID: <20081102141558.582958ba@tau.draftnet> In-Reply-To: <200811022142.12653.hselasky@c2i.net> References: <200810251925.47273.hselasky@c2i.net> <200810261633.22020.hselasky@c2i.net> <20081102105302.40af66f6@tau.draftnet> <200811022142.12653.hselasky@c2i.net> X-Mailer: Claws Mail 3.5.0 (GTK+ 2.12.11; amd64-portbld-freebsd7.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Alfred Perlstein , freebsd-usb@freebsd.org Subject: Re: USB4BSD release candidate number 3 - request for review 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, 02 Nov 2008 22:16:10 -0000 On Sun, 2 Nov 2008 21:42:11 +0100 Hans Petter Selasky wrote: > On Sunday 02 November 2008, Bruce Cran wrote: > > On Sun, 26 Oct 2008 16:33:20 +0100 > > > > Hans Petter Selasky wrote: > > > Hi, > > > > > > A new USB release is available: > > > > > > http://www.selasky.org/hans_petter/usb4bsd/for_review/ > > > > > > %md5 usb2_release_003.* > > > MD5 (usb2_release_003.diff) = e31a032d0234bb7d72eb968c33118d84 > > > MD5 (usb2_release_003.tar.gz) = 0a0d9dd44e93ba2ceaa849c577f6fecf > > > %sha256 usb2_release_003.* > > > SHA256 (usb2_release_003.diff) = > > > 9b4359f76eeef43d9b6c0c524198e529f2debff14e6158ebac8f35d51efb211b > > > SHA256 (usb2_release_003.tar.gz) = > > > 3040714546fc21bc2943c2e7aec1734150845271664aad44639ff5c553e3ed31 > > > > I untarred usb2_release_003.tar.gz into /usr/src but am having > > problems building it: it seems libusb20 needs /usr/src/sys in the > > > > include path, but after installing libusb20 the modules won't build: > > > cd /sys/modules/usb2 > > > make > > > > ===> bluetooth (all) > > Warning: Object directory not changed from > > original /usr/src/sys/modules/usb2/bluetooth make: don't know how to > > make usb2_if.h. Stop *** Error code 2 > > > > Stop in /usr/src/sys/modules/usb2. > > > > If I use the copy of /sys/conf/files from perforce then I get a > > compile error in the ata driver during buildkernel because I guess > > things have moved on and the references are no longer valid. > > What's the proper way to build the new usb stack? > > Did you apply the patches in the diff file ? > That was the problem: after applying the patches and updating kmod.mk the build works. -- Bruce Cran From owner-freebsd-usb@FreeBSD.ORG Mon Nov 3 11:07:01 2008 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 B006E106567A for ; Mon, 3 Nov 2008 11:07:01 +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 9D1AB8FC28 for ; Mon, 3 Nov 2008 11:07:01 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id mA3B71JI011081 for ; Mon, 3 Nov 2008 11:07:01 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id mA3B7192011077 for freebsd-usb@FreeBSD.org; Mon, 3 Nov 2008 11:07:01 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 3 Nov 2008 11:07:01 GMT Message-Id: <200811031107.mA3B7192011077@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, 03 Nov 2008 11:07:01 -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/128485 usb Nokia N80 modem support o usb/128425 usb Cannot Connect Maxtor Onetouch 4 USB drive f usb/128418 usb [panic] [rum] loading if_rum causes panic, looks like o usb/128324 usb [uplcom] remove baud rate restriction for PL2303X chip p usb/128115 usb [uplcom] [patch] USB-RS232 circuets on chip PL2303HX n o usb/128093 usb [ohci] panic in ohci_softintr: OXFER(xfer)->xfer.pipe o usb/127980 usb [QUIRK] Fix Samsung YP U2 MP3 player on 7.x and 8.x o usb/127926 usb [boot] USB Timeout during bootup o usb/127549 usb [umass] [patch] Meizu MiniPlayer M6 (SL) requires some f usb/127516 usb after csup src-all RELENG_7 s usb/127453 usb [request] ubsa, uark, ubser, uftdi, and friends should o usb/127423 usb [boot] BTX halted on Gigabyte GA-MA69VM-S2 / AMD Sempr o usb/127342 usb [boot] cannot enable usb keyboard and mouse support in o kern/127222 usb [ohci]: Regression in 7.0 usb storage generic driver o usb/126884 usb [patch] Bug in buffer handling in ugen.c f kern/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/125736 usb [ukbd] [hang] system hangs after AT keyboard detect if o usb/125631 usb [usb][ums] kernel panic during bootup while 'Logitech o usb/125510 usb repeated plug and unplug of USB mass storage devices l o usb/125450 usb [panic] Removing USB flash card while being accessed c o usb/125264 usb [patch] sysctl for set usb mouse rate (very useful for o usb/125238 usb Habu Mouse turns off in X o usb/125088 usb Touchpad not detected on Adesso AKB-430UG USB kbd/pad o usb/125072 usb [uplcom] [patch] add Mobile Action MA-620 Infrared Ada 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 panics SMP kernel o usb/124708 usb [panic] Kernel panic on USB KVM reattach o usb/124604 usb Wireless Mouse doesn't work o usb/123969 usb Supermicro H8SMi-2 usb problem o usb/123714 usb Panic when hald-storage-probe runs with umass device i o usb/123691 usb usbd(8): usbd hangs o usb/123690 usb Panic on USB device insertion when usb loaded as a mod o usb/123611 usb [usb] BBB reset failed, STALLED from Imation/Mitsumi U o usb/123509 usb [umass] continuous reset Samsung SGH-G600 phone o usb/123352 usb Add Option GTMAX3.6/7.2 and Quallcomm MMC module devic o usb/123351 usb Add Reiner SCT cyberJack, Omnikey [26]020, Fujitsu Sie p usb/123211 usb [udav] if_udav driver doesn't support Davicom 9601 USB p usb/123148 usb [uscanner] [patch] Epson DX8400/50 needs uscanner to s o usb/122992 usb MotoROKR Z6 Phone not recognised by umass as USB disk. o usb/122956 usb Support for Novatel Wireless XU870 3G Card o usb/122936 usb [ucom][ubsa] Device does not receive interrupt o usb/122905 usb [ubsa] [patch] add Huawei E220 to ubsa o usb/122819 usb Patch to provide dynamic additions to the usb quirks t o usb/122813 usb [udbp] [request] udbp driver should be removed in favo o usb/122621 usb [patch] [request] New driver for Sierra Wireless 3G US p usb/122610 usb Add Verizon v740 support to ubsa(4) 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/122025 usb [patch] uscanner does not attach to Epson RX620 printe 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/121426 usb [patch] [uscanner] add HP ScanJet 3570C o usb/121275 usb [boot] FreeBSD fails to boot with usb legacy support e o usb/121232 usb USB CardBus card removal causes reboot sometimes o usb/121184 usb [uipaq] [patch] add ids from linux ipaq driver (plus a 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 o usb/120786 usb Kernel panic when forced umount of a dettached USB Har o usb/120729 usb [panic] fault while in kernel mode with connecting USB o usb/120572 usb [umass] [patch] quirk to support ASUS P535 as umass (a 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/120017 usb [ehci] [patch] CS5536 (AMD Geode) USB 2.0 quirk o usb/119981 usb [axe] [patch] add support for LOGITEC LAN-GTJ/U2 gigab 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 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/119150 usb [usbdevs] [patch] new usbdevs for CDMA 1xEVDO devices o usb/118686 usb [usbdevs] [patch] teach usbdevs / ubsa(4) about Huawei o usb/118485 usb [usbdevs] [patch] Logitech Headset Workaround 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 [uaudio] [patch] Not possible to record with Plantroni o usb/117546 usb [uftdi] [patch] Add MaxStream ZigBee product ID to uft o usb/117313 usb [umass] [panic] panic on usb camera insertion o usb/117205 usb [uscanner] [patch] uscanner support for HP ScanJet 447 o usb/117200 usb [ugen] ugen0 prints strange string on attach if detach o usb/117185 usb [umodem] [patch] Add support for UNION interface descr o usb/117183 usb [panic] USB/fusefs -- panic while transferring large a o usb/117075 usb [scsi_da] [patch] quirk: USB Samsung YP-U3 MP3 o usb/116947 usb [ukbd] [patch] [regression] enable boot protocol on th o usb/116699 usb [usbhid] USB HID devices do not initialize at system b 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 [umass] [patch] Problems with connection of the umass o conf/114013 usb [patch] WITHOUT_USB allow to compil a lot of USB stuff s usb/113977 usb [request] Need a way to set mode of USB disk's write c o usb/113672 usb [ehci] [panic] Kernel panic with AEWIN CB6971 s usb/113629 usb [ukbd] Dropped USB keyboard events on Dell Latitude D6 o usb/113432 usb [ucom] WARNING: attempt to net_add_domain(netgraph) af a usb/113060 usb [usbdevs] [patch] Samsung printer not working in bidir o usb/112944 usb [ulpt] [patch] Bi-directional access to HP LaserJet 10 o usb/112640 usb [usb] [hang] Kernel freezes when writing a file to an o usb/112631 usb [panic] Problem with SONY DSC-S80 camera on umount s usb/112568 usb [umass] [request] USB mode may wrong when mounting Pla o usb/112463 usb [umass] problem with Samsung USB DVD writer, libscg an o usb/112461 usb [ehci] [request] ehci USB 2.0 doesn't work on nforce4 o usb/111753 usb [uhid] [panic] Replicable system panic involving UHID s usb/110991 usb [usbdevs] [patch] QUIRK: Super Top IDE DEVICE (depends o usb/110988 usb [umass] [patch] Handling of quirk IGNORE_RESIDUE is um o usb/110856 usb [ugen] [patch] interrupt in msgs are truncated when bu o usb/110197 usb [umass] Sony PSP umass device does not detach from EHC o usb/109397 usb [panic] on boot from USB flash o usb/109274 usb [usb] MCP55 USB Controller fails to attach in AMD64 Cu o usb/108513 usb [umass] Creative MuVo TX FM fails in 6.2-RELEASE [regr s usb/108344 usb [panic] kernel with atausb panics when unplugging USB o usb/108056 usb [ohci] Mouse gets powered off during device probe when o usb/107935 usb [uplcom] [panic] panic while accessing /dev/cuaU0 o usb/107924 usb [patch] usbd(8) does not call detach o usb/107848 usb [umass] [request] cannot access Samsung flash disk o usb/107827 usb [ohci] [panic] ohci_add_done addr not found o usb/107496 usb [uhub] USB device problem on RELENG_6_2 (SHORT_XFER) [ o usb/107446 usb [umass] umass problems (usb and fw disks) o usb/107388 usb [patch] [request] new driver: add utoppy device from N o usb/107248 usb [umass] [patch] scsi_da.c quirk for Cowon iAUDIO X5 MP o usb/107243 usb [cam] [patch] Apacer USB Flash Drive quirk o usb/106861 usb [usbdevs] [patch]: usbdevs update: Add product ACER Ze s usb/106832 usb USB HP printer is not detected by kernel when ACPI ena o usb/106648 usb [umass] [hang] USB Floppy on D1950 10 min Hang on Inse o usb/106621 usb [axe] [patch] DLINK DUB-E100 support broken o usb/106615 usb [uftdi] uftdi module does not automatically load with o usb/106041 usb [usb] [request] FreeBSD does not recognise Mustek Bear o usb/105361 usb [panic] Kernel panic during unmounting mass storage (C o usb/105186 usb [ehci] [panic] USB 2.0/ehci on FreeBSD 6.2-PRE/AMD64 c o usb/105065 usb [ata] SATA - USB Bridge o usb/104830 usb [umass] system crashes when copying data to umass devi o usb/104645 usb [umass] [request] Rave C-201 MP3 player does not commu o usb/104352 usb [ural] [patch] ural driver doesnt work o usb/104292 usb [umass] [hang] system lockup on forced umount of usb-s o usb/104290 usb [umass] [patch] quirk: TOSHIBA DVD-RAM drive (libretto o usb/103917 usb [uhub] USB driver reports "Addr 0 should never happen" o usb/103418 usb usbhidctl(1): [patch] [request] usbhidctl: add ability o usb/103289 usb [request] USB 2.0 problems on AMD LX-800 CPU and CS-55 o usb/103046 usb [ulpt] [patch] ulpt event driven I/O with select(2) an o usb/103025 usb [uhub] [panic] wrong detection of USB device for FreeB o usb/102976 usb [panic] Casio Exilim Digital Camera causes panic on in o usb/102678 usb [keyboard] Dell PowerEdge DRAC5 USB Keyboard does not f usb/102096 usb [patch] usbd(8) does not handle multiple devices in on o usb/102066 usb [ukbd] usb keyboard and multimedia keys don't work o usb/101775 usb [libusbhid] [patch] possible error in report descripto o usb/101761 usb [usb] [patch] [request] usb.h: increase maximal size o o usb/101752 usb [umass] [panic] 6.1-RELEASE kernel panic on usb device o usb/101448 usb [ohci] FBSD 6.1-STABLE/AMD64 crashes under heavy USB/O o usb/101096 usb [ural] [panic] USB WLAN occasionally causes kernel-pan o usb/100746 usb [keyboard] system does not boot due to USB keyboard pr o usb/99538 usb [keyboard] while using USB keyboard default params of o usb/99431 usb [keyboard] FreeBSD on MSI 6566E (Intel 845E motherboar 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/93408 usb [mouse] hw.acpi.cpu.cx_lowest=C3 on AMD Turion causes o usb/93389 usb [umass] [patch] Digital Camera Pentax S60 don't work o usb/93155 usb [ulpt] /dev/ulpt0: device busy, USB printer does not w 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 o 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/91629 usb usbd_abort_pipe() may result in infinite loop 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. o usb/87224 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 f usb/84750 usb [hang] 6-BETA2 reboot/shutdown with root_fs on externa s usb/84336 usb [usb] [reboot] instant system reboot when unmounting a o usb/84326 usb [umass] Panic trying to connect SCSI tape drive via US 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 f usb/83677 usb [usb] [request] usb controller often not detected (Sun 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 o usb/82660 usb [ehci] [panic] EHCI: I/O stuck in state 'physrd'/panic 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/80862 usb [patch] USB locking issues: missing some Giant calls o usb/80854 usb [patch] [request] suggestion for new iface-no-probe me o usb/80829 usb [modules] [panic] possible panic when loading USB-modu 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 o usb/80040 usb [hang] Use of sound mixer causes system freeze with ua o usb/79723 usb [usb] [request] prepare for high speed isochronous tra o usb/79722 usb [ehci] wrong alignments in ehci.h a usb/79656 usb [ehci] RHSC interrupts lost o usb/79524 usb [ulpt] printing to Minolta PagePro 1[23]xxW via USB fa o usb/79287 usb [uhci] [hang] UHCI hang after interrupt transfer o usb/79269 usb [ohci] USB ohci da0 plug/unplug causes crashes and loc o usb/78984 usb [umass] [patch] Creative MUVO umass failure o usb/77294 usb [ucom] [panic] ucom + ulpcom panic o usb/77184 usb [umass] [panic] kernel panic on USB device disconnect, o usb/76732 usb Mouse problems with USB KVM Switch o usb/76653 usb [umass] [patch] Problem with Asahi Optical usb device o usb/76461 usb [umass] disklabel of umass(4)-CAM(4)-da(4) not used by o 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/75797 usb [sound] 5.3-STABLE(2005 1/4) detect USB headset, But c o usb/75764 usb [umass] [patch] "umass0: Phase Error" - no device for o usb/75705 usb [umass] [panic] da0 attach / Optio S4 (with backtrace) o 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 o bin/57255 usb 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 i386/46371 usb USB controller cannot be initialized on IBM Netfinity o usb/40948 usb [umass] [request] USB HP CDW8200 does not work o conf/30929 usb [usb] [patch] use usbd to initialize USB ADSL modem 287 problems total. From owner-freebsd-usb@FreeBSD.ORG Tue Nov 4 04:02:46 2008 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 90E6E106567E for ; Tue, 4 Nov 2008 04:02:46 +0000 (UTC) (envelope-from bruce@cran.org.uk) Received: from muon.cran.org.uk (muon.cran.org.uk [66.246.138.153]) by mx1.freebsd.org (Postfix) with ESMTP id 4B0A08FC12 for ; Tue, 4 Nov 2008 04:02:46 +0000 (UTC) (envelope-from bruce@cran.org.uk) Received: from muon.cran.org.uk (localhost [127.0.0.1]) by muon.cran.org.uk (Postfix) with ESMTP id D87871905E; Mon, 3 Nov 2008 23:02:44 -0500 (EST) X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on muon X-Spam-Level: X-Spam-Status: No, score=0.2 required=5.0 tests=AWL,RDNS_NONE autolearn=no version=3.2.5 Received: from tau.draftnet (unknown [66.45.161.67]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by muon.cran.org.uk (Postfix) with ESMTPSA; Mon, 3 Nov 2008 23:02:44 -0500 (EST) Date: Mon, 3 Nov 2008 20:02:33 -0800 From: Bruce Cran To: Bruce Cran Message-ID: <20081103200233.33d81de1@tau.draftnet> In-Reply-To: <20081102141558.582958ba@tau.draftnet> References: <200810251925.47273.hselasky@c2i.net> <200810261633.22020.hselasky@c2i.net> <20081102105302.40af66f6@tau.draftnet> <200811022142.12653.hselasky@c2i.net> <20081102141558.582958ba@tau.draftnet> X-Mailer: Claws Mail 3.5.0 (GTK+ 2.12.11; amd64-portbld-freebsd7.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Alfred Perlstein , freebsd-usb@freebsd.org Subject: Re: USB4BSD release candidate number 3 - request for review 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, 04 Nov 2008 04:02:46 -0000 On Sun, 2 Nov 2008 14:15:58 -0800 Bruce Cran wrote: > On Sun, 2 Nov 2008 21:42:11 +0100 > Hans Petter Selasky wrote: > > > On Sunday 02 November 2008, Bruce Cran wrote: > > > On Sun, 26 Oct 2008 16:33:20 +0100 > > > > > > Hans Petter Selasky wrote: > > > > Hi, > > > > > > > > A new USB release is available: > > > > > > > > http://www.selasky.org/hans_petter/usb4bsd/for_review/ > > > > > > > > %md5 usb2_release_003.* > > > > MD5 (usb2_release_003.diff) = e31a032d0234bb7d72eb968c33118d84 > > > > MD5 (usb2_release_003.tar.gz) = 0a0d9dd44e93ba2ceaa849c577f6fecf > > > > %sha256 usb2_release_003.* > > > > SHA256 (usb2_release_003.diff) = > > > > 9b4359f76eeef43d9b6c0c524198e529f2debff14e6158ebac8f35d51efb211b > > > > SHA256 (usb2_release_003.tar.gz) = > > > > 3040714546fc21bc2943c2e7aec1734150845271664aad44639ff5c553e3ed31 > > > > > > I untarred usb2_release_003.tar.gz into /usr/src but am having > > > problems building it: it seems libusb20 needs /usr/src/sys in the > > > > > > include path, but after installing libusb20 the modules won't > > > build: > > > > cd /sys/modules/usb2 > > > > make > > > > > > ===> bluetooth (all) > > > Warning: Object directory not changed from > > > original /usr/src/sys/modules/usb2/bluetooth make: don't know how > > > to make usb2_if.h. Stop *** Error code 2 > > > > > > Stop in /usr/src/sys/modules/usb2. > > > > > > If I use the copy of /sys/conf/files from perforce then I get a > > > compile error in the ata driver during buildkernel because I guess > > > things have moved on and the references are no longer valid. > > > What's the proper way to build the new usb stack? > > > > Did you apply the patches in the diff file ? > > > > That was the problem: after applying the patches and updating kmod.mk > the build works. > It's working now and I've been able to read back data from my Garmin GPS device on FreeBSD for the first time! I've noticed a couple of issues while getting it working. The first is that I get a message when I plug the GPS in, but not when I unplug it - I'd expect to see something like "ugen3.1: at usbus3 disconnected". It gets attached on the ohci hub; usbconfig reports it as: ugen3.1: at usbus3, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON ugen3.2: at usbus3, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON I've built the stack as modules, and just 'kldload usb2_controller_ohci'. The other issue I bumped into was when I was trying to get gpsbabel working. I tracked it down to the code that selected an endpoint address: my Garmin has addresses 0x81, 0x2 and 0x83 but the USB stack wasn't happy with gpsbabel sending the result of those addresses ANDed with USB_ENDPOINT_ADDRESS_MASK. When I passed the addresses themselves, gpsbabel sprang into life and read data back from the device. -- Bruce Cran From owner-freebsd-usb@FreeBSD.ORG Tue Nov 4 18:37:57 2008 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 48F52106564A for ; Tue, 4 Nov 2008 18:37:57 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe13.swipnet.se [212.247.155.129]) by mx1.freebsd.org (Postfix) with ESMTP id CF3F88FC18 for ; Tue, 4 Nov 2008 18:37:56 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=bdeZpJpNa0wA:10 a=SER6hIBTabIA:10 a=d6BVkb5LuPPVEe4iNQMLyA==:17 a=qriqSe1YN2yNG2r63ZwA:9 a=W93fJdnOYTXTRINQ_xsA:7 a=1mL9sxuJHWWkpN7xenBdcAJGSrUA:4 a=LY0hPdMaydYA:10 Received: from [62.113.135.6] (account mc467741@c2i.net [62.113.135.6] verified) by mailfe13.swip.net (CommuniGate Pro SMTP 5.2.6) with ESMTPA id 749614869; Tue, 04 Nov 2008 19:37:55 +0100 From: Hans Petter Selasky To: Bruce Cran Date: Tue, 4 Nov 2008 19:40:01 +0100 User-Agent: KMail/1.9.7 References: <200810251925.47273.hselasky@c2i.net> <20081102141558.582958ba@tau.draftnet> <20081103200233.33d81de1@tau.draftnet> In-Reply-To: <20081103200233.33d81de1@tau.draftnet> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200811041940.02969.hselasky@c2i.net> Cc: Alfred Perlstein , freebsd-usb@freebsd.org Subject: Re: USB4BSD release candidate number 3 - request for review 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, 04 Nov 2008 18:37:57 -0000 On Tuesday 04 November 2008, Bruce Cran wrote: ... Hi Bruce, This issue should be fixed now in P4 and my private SVN. How to override existing libusb-0.1.12 by using symbolic links: /usr/local/lib/libusb-0.1.so.8 -> /usr/lib/libusb20.so.1 /usr/local/lib/libusb.a -> /usr/lib/libusb20.a Thanks for reporting! --HPS From owner-freebsd-usb@FreeBSD.ORG Tue Nov 4 19:31:17 2008 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 2000D1065676 for ; Tue, 4 Nov 2008 19:31:17 +0000 (UTC) (envelope-from bahamasfranks@gmail.com) Received: from yw-out-2324.google.com (yw-out-2324.google.com [74.125.46.30]) by mx1.freebsd.org (Postfix) with ESMTP id BF6368FC19 for ; Tue, 4 Nov 2008 19:31:16 +0000 (UTC) (envelope-from bahamasfranks@gmail.com) Received: by yw-out-2324.google.com with SMTP id 9so1209523ywe.13 for ; Tue, 04 Nov 2008 11:31:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:reply-to :sender:to:subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references :x-google-sender-auth; bh=wskQakm9JAJS7GdOiBBuhtSEK4WJExHz5SpquYNm44U=; b=GmvfCpjukG1jNenoM1u7ao8DBkp4uOLfkMso7FF7FMze4RYnvvVJ6JEdF7SM7kzEkq wdpeXScixIa5vSFD7DioeLdBmUF/628qPJKuK/aBz4vUejNfXsFeaWHXnFq/jZAasskC iwn6nL9mmAjdilCfdsbsRVRYyXjT0ALszZ0lE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:sender:to:subject:cc:in-reply-to :mime-version:content-type:content-transfer-encoding :content-disposition:references:x-google-sender-auth; b=ZWgpbidV8AHJVQuBq+y6Lld3qYkNyWln6x6wB10ieObooZRoN8ptEF0fejeqJzTaez K733oqxqmrDXPfVA0Owt9WNhITQ/yypCSNvjgYE/jqwLtxt7cybK7ABWWcKXg9GfBr9s ueCEg2JtnsnojRBqNlSpajmWO7PtpWArjOPcQ= Received: by 10.100.46.10 with SMTP id t10mr957119ant.136.1225827075857; Tue, 04 Nov 2008 11:31:15 -0800 (PST) Received: by 10.100.132.8 with HTTP; Tue, 4 Nov 2008 11:31:15 -0800 (PST) Message-ID: <539c60b90811041131h5a45ab8ev397e84cf3a0cf489@mail.gmail.com> Date: Tue, 4 Nov 2008 12:31:15 -0700 From: "Steve Franks" Sender: bahamasfranks@gmail.com To: "M. Warner Losh" In-Reply-To: <539c60b90810301354h10c9a411tdbad75880a8448@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <539c60b90810291648l7567b974h8e0999a66971495b@mail.gmail.com> <20081029.183134.1650439445.imp@bsdimp.com> <539c60b90810301354h10c9a411tdbad75880a8448@mail.gmail.com> X-Google-Sender-Auth: ed68530e40bfcbeb Cc: freebsd-usb@freebsd.org Subject: Re: ucom panic X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: stevefranks@ieee.org List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Nov 2008 19:31:17 -0000 On Thu, Oct 30, 2008 at 1:54 PM, Steve Franks wrote: > On Wed, Oct 29, 2008 at 5:31 PM, M. Warner Losh wrote: >> In message: <539c60b90810291648l7567b974h8e0999a66971495b@mail.gmail.com> >> "Steve Franks" writes: >> : Perhaps someone can make sense of my backtrace, this is a ucom causes >> : a panic, but only when I open it from one specific program. If I talk >> : to the ucom with minicom, no issues. That aside, a panic when talking >> : to any serial port with any program would be considered a bug, right? >> >> Is there any way you could boot a -current kernel? I think this is a >> bug I fixed in -current, but maybe didn't back merge to 7... >> >> Warner >> > > I have a rather older amd64 kernel that didn't do it until I rebuilt > the day before yesterday (now that's bad luck), and my internal umass > drive seems to panic both (amd64 & i386) pretty reliably...is there a > fresbie for current? I suppose the regular snapshot CD would be > sufficient as well, right? > > How about the stability of the rest of current? This is my work > desktop, and all my files are offsite, so I'm not too concerned about > weekly reliability, if I get better hw support day-to-day...do you run > current on any of your workstations? > > Alternatively, is there a patch for 7-stable? My work is as an OEM, > and all our devices get programmed over a ucom bootloader. I'm pretty > much stuck until this is fixed... > > Steve > So, no real luck installing 8, I don't have an extra disk at the moment to put it on. I'm really interested in this patch, however. Is this the same as the new USB4BSD, or USB2 that I've been hearing about? Can I patch my 7.1 with it? That would be easier for me to test out. Steve From owner-freebsd-usb@FreeBSD.ORG Tue Nov 4 19:55:23 2008 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 E5D581065672 for ; Tue, 4 Nov 2008 19:55:23 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe14.swipnet.se [212.247.155.161]) by mx1.freebsd.org (Postfix) with ESMTP id 4DA358FC14 for ; Tue, 4 Nov 2008 19:55:22 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=d6BVkb5LuPPVEe4iNQMLyA==:17 a=ekFrb3239OE0hOTvgD0A:9 a=kEPXseiqTXpooPsuFl6v2YNaiTgA:4 a=ZrMMMnaxNC4A:10 a=cvZW9r6VXHAA:10 a=LY0hPdMaydYA:10 Received: from [62.113.135.6] (account mc467741@c2i.net [62.113.135.6] verified) by mailfe14.swip.net (CommuniGate Pro SMTP 5.2.6) with ESMTPA id 397588094; Tue, 04 Nov 2008 20:55:21 +0100 From: Hans Petter Selasky To: freebsd-usb@freebsd.org, stevefranks@ieee.org Date: Tue, 4 Nov 2008 20:57:25 +0100 User-Agent: KMail/1.9.7 References: <539c60b90810291648l7567b974h8e0999a66971495b@mail.gmail.com> <539c60b90810301354h10c9a411tdbad75880a8448@mail.gmail.com> <539c60b90811041131h5a45ab8ev397e84cf3a0cf489@mail.gmail.com> In-Reply-To: <539c60b90811041131h5a45ab8ev397e84cf3a0cf489@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200811042057.27556.hselasky@c2i.net> Cc: Subject: Re: ucom panic 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, 04 Nov 2008 19:55:24 -0000 On Tuesday 04 November 2008, Steve Franks wrote: > On Thu, Oct 30, 2008 at 1:54 PM, Steve Franks wrote: > > On Wed, Oct 29, 2008 at 5:31 PM, M. Warner Losh wrote: > >> In message: > >> <539c60b90810291648l7567b974h8e0999a66971495b@mail.gmail.com> > >> > >> "Steve Franks" writes: > >> : Perhaps someone can make sense of my backtrace, this is a ucom causes > >> : a panic, but only when I open it from one specific program. If I talk > >> : to the ucom with minicom, no issues. That aside, a panic when talking > >> : to any serial port with any program would be considered a bug, right? > >> > >> Is there any way you could boot a -current kernel? I think this is a > >> bug I fixed in -current, but maybe didn't back merge to 7... > >> > >> Warner > > > > I have a rather older amd64 kernel that didn't do it until I rebuilt > > the day before yesterday (now that's bad luck), and my internal umass > > drive seems to panic both (amd64 & i386) pretty reliably...is there a > > fresbie for current? I suppose the regular snapshot CD would be > > sufficient as well, right? > > > > How about the stability of the rest of current? This is my work > > desktop, and all my files are offsite, so I'm not too concerned about > > weekly reliability, if I get better hw support day-to-day...do you run > > current on any of your workstations? > > > > Alternatively, is there a patch for 7-stable? My work is as an OEM, > > and all our devices get programmed over a ucom bootloader. I'm pretty > > much stuck until this is fixed... > > > > Steve > > So, no real luck installing 8, I don't have an extra disk at the > moment to put it on. I'm really interested in this patch, however. > Is this the same as the new USB4BSD, or USB2 that I've been hearing > about? Can I patch my 7.1 with it? That would be easier for me to > test out. > > Steve Hi, If you compile a FreeBSD 8 kernel with: options COMPAT_FREEBSD7 It should pretty much work if you then copy the resulting kernel and modules to your FreeBSD 7 /boot/kernel directory. --HPS From owner-freebsd-usb@FreeBSD.ORG Tue Nov 4 20:57:52 2008 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 0668010656B9 for ; Tue, 4 Nov 2008 20:57:52 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe10.tele2.se [212.247.155.33]) by mx1.freebsd.org (Postfix) with ESMTP id 8FD948FC08 for ; Tue, 4 Nov 2008 20:57:51 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=aLuXZACbfXsA:10 a=oZiCTezpAAsA:10 a=d6BVkb5LuPPVEe4iNQMLyA==:17 a=sanNIr4Z5tmYexo-ItkA:9 a=Z9ZhbLfjAe3C9ZNV5yk1mhK1mD4A:4 a=LY0hPdMaydYA:10 Received: from [62.113.135.6] (account mc467741@c2i.net [62.113.135.6] verified) by mailfe10.swip.net (CommuniGate Pro SMTP 5.2.6) with ESMTPA id 969993081; Tue, 04 Nov 2008 21:57:49 +0100 From: Hans Petter Selasky To: Yuri Pankov Date: Tue, 4 Nov 2008 21:59:55 +0100 User-Agent: KMail/1.9.7 References: <20081104203806.GA1801@darklight.homeunix.org> In-Reply-To: <20081104203806.GA1801@darklight.homeunix.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200811042159.56731.hselasky@c2i.net> Cc: freebsd-usb@freebsd.org Subject: Re: weird USB keyboard behavior with new USB stack 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, 04 Nov 2008 20:57:52 -0000 On Tuesday 04 November 2008, Yuri Pankov wrote: > Hi, > > I'm testing new USB stack as part of -CURRENT. My USB keyboard > occasionally locks up (and I need to re-plug it), sends wrong modifiers > keys, etc. which didn't happen with old USB stack. Are there any > settings/options which I can use to debug this problem further? > Yes, try: sysctl hw.usb2.ukbd.debug=15 And see what it outputs. I'm also using a USB-keyboard and I have not experienced such problems, though it might not be related to the USB keyboard. Have you got any other USB devices working at FULL speed USB ? --HPS > Info from usbconfig: > ugen0.1: at usbus0, cfg=0 md=HOST spd=FULL > (12Mbps) pwr=ON > ugen1.1: at usbus1, cfg=0 md=HOST spd=HIGH > (480Mbps) pwr=ON > ugen0.2: at usbus0, cfg=0 md=HOST > spd=FULL (12Mbps) pwr=ON > ugen0.5: at usbus0, cfg=0 > md=HOST spd=LOW (1.5Mbps) pwr=ON > ugen0.3: at usbus0, cfg=0 md=HOST > spd=FULL (12Mbps) pwr=ON > ugen0.4: at usbus0, cfg=0 md=HOST spd=FULL > (12Mbps) pwr=ON > > from dmesg: > ukbd0: on > usbus0 From owner-freebsd-usb@FreeBSD.ORG Tue Nov 4 21:03:33 2008 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 397FB1065674 for ; Tue, 4 Nov 2008 21:03:33 +0000 (UTC) (envelope-from yuri.pankov@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.185]) by mx1.freebsd.org (Postfix) with ESMTP id B4AD08FC21 for ; Tue, 4 Nov 2008 21:03:32 +0000 (UTC) (envelope-from yuri.pankov@gmail.com) Received: by nf-out-0910.google.com with SMTP id h3so1404298nfh.33 for ; Tue, 04 Nov 2008 13:03:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:received :x-authentication-warning:date:from:to:cc:subject:message-id :mime-version:content-type:content-disposition:user-agent; bh=U2ok7/z6HWEUWLCI/yX5H5oTD1pl/PFQUzi/Z4vSnik=; b=ihlzznBWgh57CvOKyxP2kH3omRlAgtml7KI/oK711YhBvjeOciYFFwFznRdifYNYoc p+z+O1j4uOiiCx1ZMA9uHYh9p5BafYj3eKg7hOuSgVYMK+bOCc/NtUhVAhoM53fc/vnP Hp6G2CkINiS2UexQi/DObd77ty/AHoi6BYomU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=x-authentication-warning:date:from:to:cc:subject:message-id :mime-version:content-type:content-disposition:user-agent; b=ameGrnUDR0l8r8utR2apuB3xKWM6blrpDoW7I7ZkTWT05eMy6iMMH41pDRn12fQX3q QVw/T996k5N9WPtz//rNVKMbrG/nuZP1duN8qX9NrvUSw99eQ5ugcAerqyb8vBTVmjYm gLh8AuXIwrdGjCKyycMXlW+HpLaQpCjY2m4oE= Received: by 10.210.16.16 with SMTP id 16mr29851ebp.81.1225831089950; Tue, 04 Nov 2008 12:38:09 -0800 (PST) Received: from darklight.homeunix.org ([85.175.24.53]) by mx.google.com with ESMTPS id 5sm12653388eyh.2.2008.11.04.12.38.08 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 04 Nov 2008 12:38:09 -0800 (PST) Received: from darklight.homeunix.org (yuri@darklight.homeunix.org [127.0.0.1]) by darklight.homeunix.org (8.14.3/8.14.3) with ESMTP id mA4Kc7mW001833; Tue, 4 Nov 2008 23:38:07 +0300 (MSK) (envelope-from yuri.pankov@gmail.com) Received: (from yuri@localhost) by darklight.homeunix.org (8.14.3/8.14.3/Submit) id mA4Kc63Q001832; Tue, 4 Nov 2008 23:38:06 +0300 (MSK) (envelope-from yuri.pankov@gmail.com) X-Authentication-Warning: darklight.homeunix.org: yuri set sender to yuri.pankov@gmail.com using -f Date: Tue, 4 Nov 2008 23:38:06 +0300 From: Yuri Pankov To: freebsd-usb@freebsd.org Message-ID: <20081104203806.GA1801@darklight.homeunix.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.18 (2008-05-17) Cc: Subject: weird USB keyboard behavior with new USB stack 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, 04 Nov 2008 21:03:33 -0000 Hi, I'm testing new USB stack as part of -CURRENT. My USB keyboard occasionally locks up (and I need to re-plug it), sends wrong modifiers keys, etc. which didn't happen with old USB stack. Are there any settings/options which I can use to debug this problem further? Info from usbconfig: ugen0.1: at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON ugen1.1: at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON ugen0.2: at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON ugen0.5: at usbus0, cfg=0 md=HOST spd=LOW (1.5Mbps) pwr=ON ugen0.3: at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON ugen0.4: at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON from dmesg: ukbd0: on usbus0 TIA, Yuri From owner-freebsd-usb@FreeBSD.ORG Tue Nov 4 21:06:34 2008 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 2C0F8106567D for ; Tue, 4 Nov 2008 21:06:34 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe02.swip.net [212.247.154.33]) by mx1.freebsd.org (Postfix) with ESMTP id 83DDF8FC1D for ; Tue, 4 Nov 2008 21:06:33 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=aLuXZACbfXsA:10 a=oZiCTezpAAsA:10 a=d6BVkb5LuPPVEe4iNQMLyA==:17 a=Nkf-YjMrVEgmxIoiwlgA:9 a=niqnPnmdzSez_UaZd-9QCBltujsA:4 a=50e4U0PicR4A:10 Received: from [62.113.135.6] (account mc467741@c2i.net [62.113.135.6] verified) by mailfe02.swip.net (CommuniGate Pro SMTP 5.2.6) with ESMTPA id 1142256938; Tue, 04 Nov 2008 22:06:32 +0100 From: Hans Petter Selasky To: Yuri Pankov Date: Tue, 4 Nov 2008 22:08:40 +0100 User-Agent: KMail/1.9.7 References: <20081104203806.GA1801@darklight.homeunix.org> In-Reply-To: <20081104203806.GA1801@darklight.homeunix.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200811042208.41145.hselasky@c2i.net> Cc: freebsd-usb@freebsd.org Subject: Re: weird USB keyboard behavior with new USB stack 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, 04 Nov 2008 21:06:34 -0000 Hi, Some other tips: Try using kbdcontrol to re-set the layout on your keyboard. What platform are you using? x86 comatible? AMD64? Dual/Single core? Is the "weird behaviour" seen under "X11" ? --HPS From owner-freebsd-usb@FreeBSD.ORG Tue Nov 4 21:22:56 2008 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 860FE1065674; Tue, 4 Nov 2008 21:22:56 +0000 (UTC) (envelope-from lars@e.0x20.net) Received: from mail.0x20.net (mail.0x20.net [IPv6:2001:aa8:fffb::3]) by mx1.freebsd.org (Postfix) with ESMTP id 0E1828FC13; Tue, 4 Nov 2008 21:22:55 +0000 (UTC) (envelope-from lars@e.0x20.net) Received: by mail.0x20.net (Postfix, from userid 1002) id 574B2368DD; Tue, 4 Nov 2008 22:22:54 +0100 (CET) Date: Tue, 4 Nov 2008 22:22:54 +0100 From: Lars Engels To: Thomas Sparrevohn Message-ID: <20081104212254.GB8256@e.0x20.net> Mail-Followup-To: Lars Engels , Thomas Sparrevohn , freebsd-current@freebsd.org, Olivier SMEDTS , Alfred Perlstein , current@freebsd.org, freebsd-usb@freebsd.org, Hans Petter Selasky References: <200810251925.47273.hselasky@c2i.net> <367b2c980810310828q2f4f0ecfmdb8cae313c91e8c8@mail.gmail.com> <200810311656.44467.hselasky@c2i.net> <200810311716.10165.Thomas.Sparrevohn@btinternet.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ZjLa2K+dB9SFbrgo" Content-Disposition: inline In-Reply-To: <200810311716.10165.Thomas.Sparrevohn@btinternet.com> X-Editor: VIM - Vi IMproved 7.1 X-Operation-System: FreeBSD 5.5-RELEASE-p19 User-Agent: mutt-ng/devel-r804 (FreeBSD) Cc: current@freebsd.org, Alfred Perlstein , freebsd-current@freebsd.org, freebsd-usb@freebsd.org Subject: Re: USB4BSD release candidate number 3 - request for review X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Lars Engels List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Nov 2008 21:22:56 -0000 --ZjLa2K+dB9SFbrgo Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Oct 31, 2008 at 05:16:09PM +0000, Thomas Sparrevohn wrote: > On Friday 31 October 2008 15:56:42 Hans Petter Selasky wrote: > > On Friday 31 October 2008, Olivier SMEDTS wrote: > > > Hello, > > > > > > Each device driver has been splitted since RC3. > > > Look in /boot/kernel/usb2_*. You can use modules. > > > For example, for my usb mouse, I use usb2_input_ums. > >=20 > > Hi, > >=20 > > Looks like I made a small typo there. The module is named "usb2_input_m= s"=20 > > while the kernel option is named "usb2_input_ums". The kernel option sh= ould=20 > > be named "usb2_input_ms". > >=20 >=20 > Is this the same issue? >=20 > config: Error: device "usb2_controller_uss820dci" is unknown > config: Error: device "usb2_ethernet_dav" is unknown >=20 device usb2_ethernet_dav is still unknown in the commit version in HEAD. --ZjLa2K+dB9SFbrgo Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkkQvS4ACgkQKc512sD3afi0vQCgjJi5Q1RIhIGNJFaVis7A8Zt2 aIQAnAsr4VkY8rQUlWWxJe5i42uPYexW =2kyZ -----END PGP SIGNATURE----- --ZjLa2K+dB9SFbrgo-- From owner-freebsd-usb@FreeBSD.ORG Tue Nov 4 22:07:27 2008 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 05A211065689; Tue, 4 Nov 2008 22:07:27 +0000 (UTC) (envelope-from lars@e.0x20.net) Received: from mail.0x20.net (mail.0x20.net [IPv6:2001:aa8:fffb::3]) by mx1.freebsd.org (Postfix) with ESMTP id 65D538FC16; Tue, 4 Nov 2008 22:07:26 +0000 (UTC) (envelope-from lars@e.0x20.net) Received: by mail.0x20.net (Postfix, from userid 1002) id 5ED533A581; Tue, 4 Nov 2008 23:07:25 +0100 (CET) Date: Tue, 4 Nov 2008 23:07:25 +0100 From: Lars Engels To: Renato Botelho Message-ID: <20081104220725.GC8256@e.0x20.net> Mail-Followup-To: Lars Engels , Renato Botelho , Thomas Sparrevohn , freebsd-current@freebsd.org, Olivier SMEDTS , Alfred Perlstein , current@freebsd.org, freebsd-usb@freebsd.org, Hans Petter Selasky References: <200810251925.47273.hselasky@c2i.net> <367b2c980810310828q2f4f0ecfmdb8cae313c91e8c8@mail.gmail.com> <200810311656.44467.hselasky@c2i.net> <200810311716.10165.Thomas.Sparrevohn@btinternet.com> <20081104212254.GB8256@e.0x20.net> <747dc8f30811041356j72b3507cxbcdc077cf6f7ff12@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="mmR5Tf+WJGm+vTLg" Content-Disposition: inline In-Reply-To: <747dc8f30811041356j72b3507cxbcdc077cf6f7ff12@mail.gmail.com> X-Editor: VIM - Vi IMproved 7.1 X-Operation-System: FreeBSD 5.5-RELEASE-p19 User-Agent: mutt-ng/devel-r804 (FreeBSD) Cc: current@freebsd.org, Alfred Perlstein , freebsd-current@freebsd.org, freebsd-usb@freebsd.org Subject: Re: USB4BSD release candidate number 3 - request for review X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Lars Engels List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Nov 2008 22:07:27 -0000 --mmR5Tf+WJGm+vTLg Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Nov 04, 2008 at 07:56:47PM -0200, Renato Botelho wrote: > On Tue, Nov 4, 2008 at 7:22 PM, Lars Engels wrote: > > On Fri, Oct 31, 2008 at 05:16:09PM +0000, Thomas Sparrevohn wrote: > >> On Friday 31 October 2008 15:56:42 Hans Petter Selasky wrote: > >> > On Friday 31 October 2008, Olivier SMEDTS wrote: > >> > > Hello, > >> > > > >> > > Each device driver has been splitted since RC3. > >> > > Look in /boot/kernel/usb2_*. You can use modules. > >> > > For example, for my usb mouse, I use usb2_input_ums. > >> > > >> > Hi, > >> > > >> > Looks like I made a small typo there. The module is named "usb2_inpu= t_ms" > >> > while the kernel option is named "usb2_input_ums". The kernel option= should > >> > be named "usb2_input_ms". > >> > > >> > >> Is this the same issue? > >> > >> config: Error: device "usb2_controller_uss820dci" is unknown > >> config: Error: device "usb2_ethernet_dav" is unknown > >> > > > > device usb2_ethernet_dav is still unknown in the commit version in HEAD. >=20 > I believe it was just a typo, the correct is usb2_ethernet_udav Good point. :) After changing it to _udav I am getting this: In file included from /usr/src/sys/dev/sound/pcm/sound.h:94, from /usr/src/sys/dev/usb2/sound/uaudio2.c:79: /usr/src/sys/dev/sound/pcm/channel.h:216:24: error: channel_if.h: No such file or directory /usr/src/sys/dev/usb2/sound/uaudio2.c:81:23: error: feeder_if.h: No such file or directory In file included from /usr/src/sys/dev/sound/pcm/sound.h:94, from /usr/src/sys/dev/usb2/sound/uaudio2_pcm.c:31: /usr/src/sys/dev/sound/pcm/channel.h:216:24: error: channel_if.h: No such file or directory /usr/src/sys/dev/usb2/sound/uaudio2_pcm.c:36:22: error: mixer_if.h: No such file or directory mkdep: compile failed --mmR5Tf+WJGm+vTLg Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkkQx50ACgkQKc512sD3afhyuwCfcEkxQew3HvRj5UP2GNFtnqu+ 6zMAmwa5WG5itp3SJMIbVq0z7qM6D0Ox =E0j8 -----END PGP SIGNATURE----- --mmR5Tf+WJGm+vTLg-- From owner-freebsd-usb@FreeBSD.ORG Tue Nov 4 22:24:40 2008 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 41269106567E for ; Tue, 4 Nov 2008 22:24:40 +0000 (UTC) (envelope-from rbgarga@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.178]) by mx1.freebsd.org (Postfix) with ESMTP id CF0F58FC20 for ; Tue, 4 Nov 2008 22:24:39 +0000 (UTC) (envelope-from rbgarga@gmail.com) Received: by wa-out-1112.google.com with SMTP id m34so625749wag.27 for ; Tue, 04 Nov 2008 14:24:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=69zhpklh+J7r1Z7BUTcoKH77ClnhWs+QJNBsbyQkqjc=; b=vR8dHk7h0XnvHC0iCd8sMbc9kvFGKaJ+8fZYAfIXHzBp8xjAFJ6/pFCHbx7dkEI9ar KxFKfzDSabo7cR6t8Y9RlljnSF4/7gBLkGqZwLO2uh0nJmI7iI1a/c81Fm0zkpDg19JQ Ucd0LpsdicH+1X5IXJZ/YIQN19NBKGzeD6hog= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=lioTZxA4fBvJl5Jb6pcYaTMPTRm2TmB97sC0DecVe8R9dwUqt3Hqc0aG4XFVwgfPCg oXNrl011RXPp8n0jSKiHjX5FcxeS6DYO7udzplUDvA+eiCb0bc9xSDuLmcSeBe49xPsG wD9Za9rtBpAwfAYk6YtW29gtg3dxGyNsMh2a8= Received: by 10.114.77.1 with SMTP id z1mr84661waa.8.1225835807480; Tue, 04 Nov 2008 13:56:47 -0800 (PST) Received: by 10.114.161.8 with HTTP; Tue, 4 Nov 2008 13:56:47 -0800 (PST) Message-ID: <747dc8f30811041356j72b3507cxbcdc077cf6f7ff12@mail.gmail.com> Date: Tue, 4 Nov 2008 19:56:47 -0200 From: "Renato Botelho" To: "Lars Engels" , "Thomas Sparrevohn" , freebsd-current@freebsd.org, "Olivier SMEDTS" , "Alfred Perlstein" , current@freebsd.org, freebsd-usb@freebsd.org, "Hans Petter Selasky" In-Reply-To: <20081104212254.GB8256@e.0x20.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200810251925.47273.hselasky@c2i.net> <367b2c980810310828q2f4f0ecfmdb8cae313c91e8c8@mail.gmail.com> <200810311656.44467.hselasky@c2i.net> <200810311716.10165.Thomas.Sparrevohn@btinternet.com> <20081104212254.GB8256@e.0x20.net> Cc: Subject: Re: USB4BSD release candidate number 3 - request for review 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, 04 Nov 2008 22:24:40 -0000 On Tue, Nov 4, 2008 at 7:22 PM, Lars Engels wrote: > On Fri, Oct 31, 2008 at 05:16:09PM +0000, Thomas Sparrevohn wrote: >> On Friday 31 October 2008 15:56:42 Hans Petter Selasky wrote: >> > On Friday 31 October 2008, Olivier SMEDTS wrote: >> > > Hello, >> > > >> > > Each device driver has been splitted since RC3. >> > > Look in /boot/kernel/usb2_*. You can use modules. >> > > For example, for my usb mouse, I use usb2_input_ums. >> > >> > Hi, >> > >> > Looks like I made a small typo there. The module is named "usb2_input_ms" >> > while the kernel option is named "usb2_input_ums". The kernel option should >> > be named "usb2_input_ms". >> > >> >> Is this the same issue? >> >> config: Error: device "usb2_controller_uss820dci" is unknown >> config: Error: device "usb2_ethernet_dav" is unknown >> > > device usb2_ethernet_dav is still unknown in the commit version in HEAD. I believe it was just a typo, the correct is usb2_ethernet_udav -- Renato Botelho From owner-freebsd-usb@FreeBSD.ORG Tue Nov 4 23:04:04 2008 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 95A801065708; Tue, 4 Nov 2008 23:04:04 +0000 (UTC) (envelope-from lars@e.0x20.net) Received: from mail.0x20.net (mail.0x20.net [IPv6:2001:aa8:fffb::3]) by mx1.freebsd.org (Postfix) with ESMTP id 020E58FC21; Tue, 4 Nov 2008 23:04:04 +0000 (UTC) (envelope-from lars@e.0x20.net) Received: by mail.0x20.net (Postfix, from userid 1002) id 050EE3A6C6; Wed, 5 Nov 2008 00:04:02 +0100 (CET) Date: Wed, 5 Nov 2008 00:04:02 +0100 From: Lars Engels To: Renato Botelho , Thomas Sparrevohn , freebsd-current@freebsd.org, Olivier SMEDTS , Alfred Perlstein , current@freebsd.org, freebsd-usb@freebsd.org, Hans Petter Selasky Message-ID: <20081104230402.GD8256@e.0x20.net> Mail-Followup-To: Lars Engels , Renato Botelho , Thomas Sparrevohn , freebsd-current@freebsd.org, Olivier SMEDTS , Alfred Perlstein , current@freebsd.org, freebsd-usb@freebsd.org, Hans Petter Selasky References: <200810251925.47273.hselasky@c2i.net> <367b2c980810310828q2f4f0ecfmdb8cae313c91e8c8@mail.gmail.com> <200810311656.44467.hselasky@c2i.net> <200810311716.10165.Thomas.Sparrevohn@btinternet.com> <20081104212254.GB8256@e.0x20.net> <747dc8f30811041356j72b3507cxbcdc077cf6f7ff12@mail.gmail.com> <20081104220725.GC8256@e.0x20.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="WjpOG6URjntW8FAF" Content-Disposition: inline In-Reply-To: <20081104220725.GC8256@e.0x20.net> X-Editor: VIM - Vi IMproved 7.1 X-Operation-System: FreeBSD 5.5-RELEASE-p19 User-Agent: mutt-ng/devel-r804 (FreeBSD) Cc: Subject: Re: USB4BSD release candidate number 3 - request for review X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Lars Engels List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Nov 2008 23:04:04 -0000 --WjpOG6URjntW8FAF Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Nov 04, 2008 at 11:07:25PM +0100, Lars Engels wrote: > On Tue, Nov 04, 2008 at 07:56:47PM -0200, Renato Botelho wrote: > > On Tue, Nov 4, 2008 at 7:22 PM, Lars Engels wrote: > > > device usb2_ethernet_dav is still unknown in the commit version in HE= AD. > >=20 > > I believe it was just a typo, the correct is usb2_ethernet_udav >=20 > Good point. :) After changing it to _udav I am getting this: > In file included from /usr/src/sys/dev/sound/pcm/sound.h:94, > from /usr/src/sys/dev/usb2/sound/uaudio2.c:79: > /usr/src/sys/dev/sound/pcm/channel.h:216:24: error: channel_if.h: No > such file or directory > /usr/src/sys/dev/usb2/sound/uaudio2.c:81:23: error: feeder_if.h: No such > file or directory > In file included from /usr/src/sys/dev/sound/pcm/sound.h:94, > from /usr/src/sys/dev/usb2/sound/uaudio2_pcm.c:31: > /usr/src/sys/dev/sound/pcm/channel.h:216:24: error: channel_if.h: No > such file or directory > /usr/src/sys/dev/usb2/sound/uaudio2_pcm.c:36:22: error: mixer_if.h: No > such file or directory >=20 > mkdep: compile failed >=20 Now I just removed everything but usb2_core from the kernel config and load the modules manually. So far it runs pretty good. Mounting a umass device, removing it and doing an 'ls' on the mountpoint freezes the system, I thought this should not happen with the new stack? sysctl hw.usb2.uscanner.uscanner: 0 ^^^^^^^^ Could it be that this should be "debug"? --=20 Lars Engels E-Mail: lars.engels@0x20.net =09 --WjpOG6URjntW8FAF Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkkQ1OIACgkQKc512sD3afhvTACeI0dcyDfvZKRXUwF+Xzyi//VY pLgAnAx4Rz8XoWzGO5YxVMaftKFrwQdL =+WMj -----END PGP SIGNATURE----- --WjpOG6URjntW8FAF-- From owner-freebsd-usb@FreeBSD.ORG Tue Nov 4 23:05:48 2008 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 C48FD1065674; Tue, 4 Nov 2008 23:05:48 +0000 (UTC) (envelope-from lars@e.0x20.net) Received: from mail.0x20.net (mail.0x20.net [IPv6:2001:aa8:fffb::3]) by mx1.freebsd.org (Postfix) with ESMTP id 766D48FC19; Tue, 4 Nov 2008 23:05:48 +0000 (UTC) (envelope-from lars@e.0x20.net) Received: by mail.0x20.net (Postfix, from userid 1002) id A0FCE3A6D8; Wed, 5 Nov 2008 00:05:47 +0100 (CET) Date: Wed, 5 Nov 2008 00:05:47 +0100 From: Lars Engels To: Renato Botelho , Thomas Sparrevohn , freebsd-current@freebsd.org, Olivier SMEDTS , Alfred Perlstein , current@freebsd.org, freebsd-usb@freebsd.org, Hans Petter Selasky Message-ID: <20081104230547.GE8256@e.0x20.net> Mail-Followup-To: Lars Engels , Renato Botelho , Thomas Sparrevohn , freebsd-current@freebsd.org, Olivier SMEDTS , Alfred Perlstein , current@freebsd.org, freebsd-usb@freebsd.org, Hans Petter Selasky References: <200810251925.47273.hselasky@c2i.net> <367b2c980810310828q2f4f0ecfmdb8cae313c91e8c8@mail.gmail.com> <200810311656.44467.hselasky@c2i.net> <200810311716.10165.Thomas.Sparrevohn@btinternet.com> <20081104212254.GB8256@e.0x20.net> <747dc8f30811041356j72b3507cxbcdc077cf6f7ff12@mail.gmail.com> <20081104220725.GC8256@e.0x20.net> <20081104230402.GD8256@e.0x20.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="xd9y+pRso0hzCdjI" Content-Disposition: inline In-Reply-To: <20081104230402.GD8256@e.0x20.net> X-Editor: VIM - Vi IMproved 7.1 X-Operation-System: FreeBSD 5.5-RELEASE-p19 User-Agent: mutt-ng/devel-r804 (FreeBSD) Cc: Subject: Re: USB4BSD release candidate number 3 - request for review X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Lars Engels List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Nov 2008 23:05:48 -0000 --xd9y+pRso0hzCdjI Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Nov 05, 2008 at 12:04:02AM +0100, Lars Engels wrote: >=20 >=20 > Now I just removed everything but usb2_core from the kernel config and > load the modules manually. So far it runs pretty good. >=20 > Mounting a umass device, removing it and doing an 'ls' on the mountpoint > freezes the system, I thought this should not happen with the new stack? >=20 > sysctl hw.usb2.uscanner.uscanner: 0 > ^^^^^^^^ > Could it be that this should be "debug"? And one last thing: # usbdevs -v usbdevs: no USB controllers found Huh? :) --xd9y+pRso0hzCdjI Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkkQ1UsACgkQKc512sD3afg5zwCfaTQ7Tnyw67zFlJkw+Iy6dspU KRsAnAzMRqKtG71iJiQLsbqY5V8XO1Qo =sUU9 -----END PGP SIGNATURE----- --xd9y+pRso0hzCdjI-- From owner-freebsd-usb@FreeBSD.ORG Tue Nov 4 23:38:27 2008 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 16F71106568C; Tue, 4 Nov 2008 23:38:27 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from pele.citylink.co.nz (pele.citylink.co.nz [202.8.44.226]) by mx1.freebsd.org (Postfix) with ESMTP id C771F8FC08; Tue, 4 Nov 2008 23:38:26 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from localhost (localhost [127.0.0.1]) by pele.citylink.co.nz (Postfix) with ESMTP id 05DA02BC47; Wed, 5 Nov 2008 12:11:40 +1300 (NZDT) X-Virus-Scanned: Debian amavisd-new at citylink.co.nz Received: from pele.citylink.co.nz ([127.0.0.1]) by localhost (pele.citylink.co.nz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id tqY9x-IF9fIC; Wed, 5 Nov 2008 12:11:36 +1300 (NZDT) Received: from citylink.fud.org.nz (unknown [202.8.44.45]) by pele.citylink.co.nz (Postfix) with ESMTP; Wed, 5 Nov 2008 12:11:36 +1300 (NZDT) Received: by citylink.fud.org.nz (Postfix, from userid 1001) id AD7F61142E; Wed, 5 Nov 2008 12:11:35 +1300 (NZDT) Date: Tue, 4 Nov 2008 15:11:35 -0800 From: Andrew Thompson To: Lars Engels , Renato Botelho , Thomas Sparrevohn , freebsd-current@freebsd.org, Olivier SMEDTS , Alfred Perlstein , current@freebsd.org, freebsd-usb@freebsd.org, Hans Petter Selasky Message-ID: <20081104231135.GB840@citylink.fud.org.nz> References: <200810251925.47273.hselasky@c2i.net> <367b2c980810310828q2f4f0ecfmdb8cae313c91e8c8@mail.gmail.com> <200810311656.44467.hselasky@c2i.net> <200810311716.10165.Thomas.Sparrevohn@btinternet.com> <20081104212254.GB8256@e.0x20.net> <747dc8f30811041356j72b3507cxbcdc077cf6f7ff12@mail.gmail.com> <20081104220725.GC8256@e.0x20.net> <20081104230402.GD8256@e.0x20.net> <20081104230547.GE8256@e.0x20.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20081104230547.GE8256@e.0x20.net> User-Agent: Mutt/1.5.17 (2007-11-01) Cc: Subject: Re: USB4BSD release candidate number 3 - request for review 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, 04 Nov 2008 23:38:27 -0000 On Wed, Nov 05, 2008 at 12:05:47AM +0100, Lars Engels wrote: > On Wed, Nov 05, 2008 at 12:04:02AM +0100, Lars Engels wrote: > > > > > > Now I just removed everything but usb2_core from the kernel config and > > load the modules manually. So far it runs pretty good. > > > > Mounting a umass device, removing it and doing an 'ls' on the mountpoint > > freezes the system, I thought this should not happen with the new stack? > > > > sysctl hw.usb2.uscanner.uscanner: 0 > > ^^^^^^^^ > > Could it be that this should be "debug"? > > And one last thing: > # usbdevs -v > usbdevs: no USB controllers found usbdevs does not work with it, there is a new usbconfig util that should do what you want. Andrew From owner-freebsd-usb@FreeBSD.ORG Wed Nov 5 00:50:43 2008 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 67BBE106568B; Wed, 5 Nov 2008 00:50:43 +0000 (UTC) (envelope-from bruce@cran.org.uk) Received: from muon.cran.org.uk (muon.cran.org.uk [66.246.138.153]) by mx1.freebsd.org (Postfix) with ESMTP id 1CD728FC2A; Wed, 5 Nov 2008 00:50:42 +0000 (UTC) (envelope-from bruce@cran.org.uk) Received: from muon.cran.org.uk (localhost [127.0.0.1]) by muon.cran.org.uk (Postfix) with ESMTP id BF5D31905E; Tue, 4 Nov 2008 19:50:40 -0500 (EST) X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on muon X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=AWL,BAYES_00,RDNS_NONE autolearn=no version=3.2.5 Received: from tau.draftnet (unknown [66.45.161.67]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by muon.cran.org.uk (Postfix) with ESMTPSA; Tue, 4 Nov 2008 19:50:40 -0500 (EST) Date: Tue, 4 Nov 2008 16:50:29 -0800 From: Bruce Cran To: Lars Engels Message-ID: <20081104165029.225511d8@tau.draftnet> In-Reply-To: <20081104230402.GD8256@e.0x20.net> References: <200810251925.47273.hselasky@c2i.net> <367b2c980810310828q2f4f0ecfmdb8cae313c91e8c8@mail.gmail.com> <200810311656.44467.hselasky@c2i.net> <200810311716.10165.Thomas.Sparrevohn@btinternet.com> <20081104212254.GB8256@e.0x20.net> <747dc8f30811041356j72b3507cxbcdc077cf6f7ff12@mail.gmail.com> <20081104220725.GC8256@e.0x20.net> <20081104230402.GD8256@e.0x20.net> X-Mailer: Claws Mail 3.5.0 (GTK+ 2.12.11; amd64-portbld-freebsd7.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Wed, 05 Nov 2008 01:01:28 +0000 Cc: current@freebsd.org, Alfred Perlstein , freebsd-current@freebsd.org, freebsd-usb@freebsd.org, Olivier, Renato Botelho Subject: Re: USB4BSD release candidate number 3 - request for review 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: Wed, 05 Nov 2008 00:50:43 -0000 On Wed, 5 Nov 2008 00:04:02 +0100 Lars Engels wrote: > Now I just removed everything but usb2_core from the kernel config and > load the modules manually. So far it runs pretty good. > > Mounting a umass device, removing it and doing an 'ls' on the > mountpoint freezes the system, I thought this should not happen with > the new stack? > I seem to remember the problem was tracked back to something in the cam layer not liking surprise removals? -- Bruce Cran From owner-freebsd-usb@FreeBSD.ORG Wed Nov 5 01:32:17 2008 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 5100C106568E; Wed, 5 Nov 2008 01:32:17 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id 0BD8C8FC14; Wed, 5 Nov 2008 01:32:16 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.14.2/8.14.1) with ESMTP id mA51TbiW015380; Tue, 4 Nov 2008 18:29:37 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Tue, 04 Nov 2008 18:30:51 -0700 (MST) Message-Id: <20081104.183051.689649421.imp@bsdimp.com> To: bruce@cran.org.uk From: "M. Warner Losh" In-Reply-To: <20081104165029.225511d8@tau.draftnet> References: <20081104220725.GC8256@e.0x20.net> <20081104230402.GD8256@e.0x20.net> <20081104165029.225511d8@tau.draftnet> X-Mailer: Mew version 5.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: current@freebsd.org, Olivier@freebsd.org, bright@mu.org, rbgarga@gmail.com, freebsd-current@freebsd.org, freebsd-usb@freebsd.org, lme@freebsd.org Subject: Re: USB4BSD release candidate number 3 - request for review 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: Wed, 05 Nov 2008 01:32:17 -0000 In message: <20081104165029.225511d8@tau.draftnet> Bruce Cran writes: : On Wed, 5 Nov 2008 00:04:02 +0100 : Lars Engels wrote: : > Now I just removed everything but usb2_core from the kernel config and : > load the modules manually. So far it runs pretty good. : > : > Mounting a umass device, removing it and doing an 'ls' on the : > mountpoint freezes the system, I thought this should not happen with : > the new stack? : > : : I seem to remember the problem was tracked back to something in the cam : layer not liking surprise removals? For msdos filesystem, there were a number of minor tweaks that were made to make this suck less. Some were in the old usb layer, but most were in the buffer cache of FreeBSD to make it more resilient to errors from the device... But it wasn't totally fixed... Hans' stack did have a period of time when card removal was working better than the stock FreeBSD stack, but that got cleaned up before 7.0. Warner From owner-freebsd-usb@FreeBSD.ORG Wed Nov 5 07:57:09 2008 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 E07B3106567F; Wed, 5 Nov 2008 07:57:08 +0000 (UTC) (envelope-from kevinxlinuz@163.com) Received: from m12-16.163.com (m12-16.163.com [220.181.12.16]) by mx1.freebsd.org (Postfix) with SMTP id 36F048FC13; Wed, 5 Nov 2008 07:57:06 +0000 (UTC) (envelope-from kevinxlinuz@163.com) Received: from [127.0.0.1] (unknown [60.191.86.3]) by smtp12 (Coremail) with SMTP id EMCowLA74yo_ThFJff7qDg--.47173S2; Wed, 05 Nov 2008 15:41:51 +0800 (CST) Message-ID: <49114E3D.9080201@163.com> Date: Wed, 05 Nov 2008 15:41:49 +0800 From: kevin User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Hans Petter Selasky References: <200810251925.47273.hselasky@c2i.net> <20081025181603.GD83037@elvis.mu.org> <200810261633.22020.hselasky@c2i.net> In-Reply-To: <200810261633.22020.hselasky@c2i.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Coremail-Antispam: 1Uf129KBjvJXoW3GF4kCF17Cr4UKr48tr4rGrg_yoW3Gw15pa 1DGFyktw4UtFZ3KrWDJr15Wa9FvrZIqryrGFykJ34a9FWrXa4fKFyqgw4kWw1UKw4kAw18 Gw48Xw4fXFyDtrJanT9S1TB71UUUUUUv73VFW2AGmfu7bjvjm3AaLaJ3UjIYCTnIWjp_UU U8d7k042IEFTZYmTnxM7k0a2IF6r1UM7kC6x804xWl14x267AKxVWUJVW8JwAFxVCF77xC 6IxKo4kEV4yl1I0EscIYIxCEI4klw4CSwwAFIxvE14AKwVWUJVWUGwAawVAYYI1S6c8GOV WUur45Jrylnx0Ec2IEnICE548m6r1DJrWUZwAqx4xG64xvF2IEw4CE5I8CrVC2j2WlYx0E 2Ix0cI8IcVAFwI0_Jr0_Jr4lYx0Ex4A2jsIE14v26r4j6F4UM4IEnf9ElVAFpTB2q-sK64 9IAas0WaI_GwAC6xAIw28IcVAK0I8IjxAxMx02cVAKzwCY02Avz4vE14v_GF4lc2IjII80 xcxEwVWxJVW3JwCF72vE52k0Y41lx4CE17CEb7AF67AKxVWUAVWUtbIYCTnIWIevJa73Uj IFyTuYvj4RX3kuDUUUU Cc: Alfred Perlstein , current@freebsd.org, freebsd-usb@freebsd.org, freebsd-current@freebsd.org Subject: Re: USB4BSD release candidate number 3 - request for review 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: Wed, 05 Nov 2008 07:57:09 -0000 Hans Petter Selasky wrote: > Hi, > > A new USB release is available: > > http://www.selasky.org/hans_petter/usb4bsd/for_review/ > > %md5 usb2_release_003.* > MD5 (usb2_release_003.diff) = e31a032d0234bb7d72eb968c33118d84 > MD5 (usb2_release_003.tar.gz) = 0a0d9dd44e93ba2ceaa849c577f6fecf > %sha256 usb2_release_003.* > SHA256 (usb2_release_003.diff) = > 9b4359f76eeef43d9b6c0c524198e529f2debff14e6158ebac8f35d51efb211b > SHA256 (usb2_release_003.tar.gz) = > 3040714546fc21bc2943c2e7aec1734150845271664aad44639ff5c553e3ed31 > > Changes since 002 release: > I try to compile kernel with usb2. Link error: cc -c -O2 -frename-registers -pipe -fno-strict-aliasing -march=nocona -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone -mfpmath=387 -mno-sse -mno-sse2 -mno-sse3 -mno-mmx -mno-3dnow -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector -Werror vers.c ctfconvert -L VERSION vers.o linking kernel ng_ubt2.o(.text+0x38): In function `ubt_detach': : undefined reference to `ng_rmnode_self' ng_ubt2.o(.text+0x488): In function `ubt_attach': : undefined reference to `ng_make_node_common' ng_ubt2.o(.text+0x4be): In function `ubt_attach': : undefined reference to `ng_name_node' ng_ubt2.o(.text+0x52b): In function `ubt_attach': : undefined reference to `ng_unref_node' ng_ubt2.o(.text+0xc02): In function `ubt_modevent': : undefined reference to `ng_newtype' ng_ubt2.o(.text+0xde0): In function `ubt_bulk_read_complete': : undefined reference to `ng_package_data' ng_ubt2.o(.text+0xdfb): In function `ubt_bulk_read_complete': : undefined reference to `ng_address_hook' ng_ubt2.o(.text+0xe39): In function `ubt_bulk_read_complete': : undefined reference to `ng_snd_item' ng_ubt2.o(.text+0xfce): In function `ubt_intr_read_complete': : undefined reference to `ng_package_data' ng_ubt2.o(.text+0xfe9): In function `ubt_intr_read_complete': : undefined reference to `ng_address_hook' ng_ubt2.o(.text+0x1027): In function `ubt_intr_read_complete': : undefined reference to `ng_snd_item' ng_ubt2.o(.text+0x105d): In function `ng_ubt_rcvdata': : undefined reference to `ng_free_item' ng_ubt2.o(.text+0x10a7): In function `ng_ubt_rcvdata': : undefined reference to `ng_free_item' ng_ubt2.o(.text+0x124e): In function `ng_ubt_rcvmsg': : undefined reference to `ng_free_item' ng_ubt2.o(.text+0x12b3): In function `ng_ubt_rcvmsg': : undefined reference to `ng_free_item' ng_ubt2.o(.text+0x12bf): In function `ng_ubt_rcvmsg': : undefined reference to `M_NETGRAPH_MSG' ng_ubt2.o(.text+0x1314): In function `ng_ubt_rcvmsg': : undefined reference to `M_NETGRAPH_MSG' ng_ubt2.o(.text+0x1413): In function `ng_ubt_rcvmsg': : undefined reference to `ng_address_ID' ng_ubt2.o(.text+0x142a): In function `ng_ubt_rcvmsg': : undefined reference to `ng_snd_item' ng_ubt2.o(.text+0x1480): In function `ng_ubt_rcvmsg': : undefined reference to `M_NETGRAPH_MSG' ng_ubt2.o(.text+0x1561): In function `ng_ubt_rcvmsg': : undefined reference to `M_NETGRAPH_MSG' ng_ubt2.o(.text+0x162e): In function `ng_ubt_rcvmsg': : undefined reference to `M_NETGRAPH_MSG' ng_ubt2.o(.text+0x1a7a): In function `ng_ubt_shutdown': : undefined reference to `ng_unref_node' ng_ubt2.o(.text+0x1ab5): In function `ng_ubt_shutdown': : undefined reference to `ng_make_node_common' ng_ubt2.o(.text+0x1acc): In function `ng_ubt_shutdown': : undefined reference to `ng_name_node' ng_ubt2.o(.text+0x1b6b): In function `ng_ubt_shutdown': : undefined reference to `ng_unref_node' ng_ubt2.o(.text+0x1c28): In function `ubt_isoc_read_complete': : undefined reference to `ng_package_data' ng_ubt2.o(.text+0x1c43): In function `ubt_isoc_read_complete': : undefined reference to `ng_address_hook' ng_ubt2.o(.text+0x1d01): In function `ubt_isoc_read_complete': : undefined reference to `ng_snd_item' ng_ubt2.o(.text+0x1eaf): In function `ubt_bulk_read_callback': : undefined reference to `ng_send_fn' ng_ubt2.o(.text+0x20cd): In function `ubt_intr_read_callback': : undefined reference to `ng_send_fn' ng_ubt2.o(.text+0x242c): In function `ubt_isoc_read_callback': : undefined reference to `ng_send_fn' ng_ubt2.o(.text+0xc36): In function `ubt_modevent': : undefined reference to `ng_rmtype' ng_ubt2.o(.rodata+0x5f0): undefined reference to `ng_parse_uint16_type' ng_ubt2.o(.rodata+0x618): undefined reference to `ng_parse_uint16_type' ng_ubt2.o(.rodata+0x6c0): undefined reference to `ng_parse_struct_type' ng_ubt2.o(.rodata+0x700): undefined reference to `ng_parse_struct_type' ng_ubt2.o(.rodata+0x748): undefined reference to `ng_parse_int32_type' ng_ubt2.o(.rodata+0x760): undefined reference to `ng_parse_int32_type' ng_ubt2.o(.rodata+0x7a8): undefined reference to `ng_parse_uint32_type' ng_ubt2.o(.rodata+0x7c0): undefined reference to `ng_parse_uint32_type' ng_ubt2.o(.rodata+0x7d8): undefined reference to `ng_parse_uint32_type' ng_ubt2.o(.rodata+0x7f0): undefined reference to `ng_parse_uint32_type' ng_ubt2.o(.rodata+0x808): undefined reference to `ng_parse_uint32_type' ng_ubt2.o(.rodata+0x820): more undefined references to `ng_parse_uint32_type' follow *** Error code 1 I removed all old usb config. any other depends for usb2_bluetooth_ng? # USB core support device usb2_core # USB controller support device usb2_controller device usb2_controller_ehci device usb2_controller_ohci device usb2_controller_uhci # USB mass storage support device usb2_storage device usb2_storage_mass # USB ethernet support, requires miibus #device usb2_ethernet #device usb2_ethernet_aue #device usb2_ethernet_axe #device usb2_ethernet_cdce #device usb2_ethernet_cue #device usb2_ethernet_kue #device usb2_ethernet_rue #device usb2_ethernet_dav # USB wireless LAN support #device usb2_wlan #device usb2_wlan_rum #device usb2_wlan_ral #device usb2_wlan_zyd # USB serial device support #device usb2_serial #device usb2_serial_ark #device usb2_serial_bsa #device usb2_serial_bser #device usb2_serial_chcom #device usb2_serial_cycom #device usb2_serial_foma #device usb2_serial_ftdi #device usb2_serial_gensa #device usb2_serial_ipaq #device usb2_serial_lpt #device usb2_serial_mct #device usb2_serial_modem #device usb2_serial_moscom #device usb2_serial_plcom #device usb2_serial_visor #device usb2_serial_vscom # USB bluetooth support device usb2_bluetooth device usb2_bluetooth_ng # USB input device support device usb2_input device usb2_input_hid device usb2_input_kbd device usb2_input_ms # USB sound and MIDI device support #device usb2_sound Thanks, kevin From owner-freebsd-usb@FreeBSD.ORG Wed Nov 5 08:05:42 2008 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 BCF911065673; Wed, 5 Nov 2008 08:05:42 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe07.swip.net [212.247.154.193]) by mx1.freebsd.org (Postfix) with ESMTP id B2A488FC13; Wed, 5 Nov 2008 08:05:41 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=bdeZpJpNa0wA:10 a=SER6hIBTabIA:10 a=d6BVkb5LuPPVEe4iNQMLyA==:17 a=c0plqr2N5KriG_s1UQ0A:9 a=a7gIhbFEOFAg539h3_f7uxn0ZKQA:4 a=LY0hPdMaydYA:10 Received: from [62.113.135.6] (account mc467741@c2i.net [62.113.135.6] verified) by mailfe07.swip.net (CommuniGate Pro SMTP 5.2.6) with ESMTPA id 1137997553; Wed, 05 Nov 2008 09:05:39 +0100 From: Hans Petter Selasky To: Lars Engels Date: Wed, 5 Nov 2008 09:07:48 +0100 User-Agent: KMail/1.9.7 References: <200810251925.47273.hselasky@c2i.net> <200810311716.10165.Thomas.Sparrevohn@btinternet.com> <20081104212254.GB8256@e.0x20.net> In-Reply-To: <20081104212254.GB8256@e.0x20.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200811050907.49411.hselasky@c2i.net> Cc: current@freebsd.org, Alfred Perlstein , freebsd-current@freebsd.org, freebsd-usb@freebsd.org Subject: Re: USB4BSD release candidate number 3 - request for review 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: Wed, 05 Nov 2008 08:05:42 -0000 On Tuesday 04 November 2008, Lars Engels wrote: > On Fri, Oct 31, 2008 at 05:16:09PM +0000, Thomas Sparrevohn wrote: > > On Friday 31 October 2008 15:56:42 Hans Petter Selasky wrote: > > > On Friday 31 October 2008, Olivier SMEDTS wrote: > > > > Hello, > > > > > > > > Each device driver has been splitted since RC3. > > > > Look in /boot/kernel/usb2_*. You can use modules. > > > > For example, for my usb mouse, I use usb2_input_ums. > > > > > > Hi, > > > > > > Looks like I made a small typo there. The module is named > > > "usb2_input_ms" while the kernel option is named "usb2_input_ums". The > > > kernel option should be named "usb2_input_ms". > > > > Is this the same issue? > > > > config: Error: device "usb2_controller_uss820dci" is unknown > > config: Error: device "usb2_ethernet_dav" is unknown > > device usb2_ethernet_dav is still unknown in the commit version in HEAD. Hi, It is going to be named usb2_ethernet_dav in the future. Currently it is named usb2_ethernet_udav . --HPS From owner-freebsd-usb@FreeBSD.ORG Wed Nov 5 08:06:33 2008 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 0E3891065679; Wed, 5 Nov 2008 08:06:33 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe04.swip.net [212.247.154.97]) by mx1.freebsd.org (Postfix) with ESMTP id 0341E8FC08; Wed, 5 Nov 2008 08:06:31 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=bdeZpJpNa0wA:10 a=SER6hIBTabIA:10 a=d6BVkb5LuPPVEe4iNQMLyA==:17 a=ndaoGXS1AAAA:8 a=GjHsUfTjf87N78UItdcA:9 a=rqlxGWuo5WKbkXBD_tMA:7 a=6AWfdf5F5SBKugEIbLZgfNmkF7wA:4 a=LY0hPdMaydYA:10 Received: from [62.113.135.6] (account mc467741@c2i.net [62.113.135.6] verified) by mailfe04.swip.net (CommuniGate Pro SMTP 5.2.6) with ESMTPA id 1139261938; Wed, 05 Nov 2008 09:06:30 +0100 From: Hans Petter Selasky To: freebsd-current@freebsd.org Date: Wed, 5 Nov 2008 09:08:34 +0100 User-Agent: KMail/1.9.7 References: <200810251925.47273.hselasky@c2i.net> <200810261633.22020.hselasky@c2i.net> <49114E3D.9080201@163.com> In-Reply-To: <49114E3D.9080201@163.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200811050908.35744.hselasky@c2i.net> Cc: kevin , Alfred Perlstein , current@freebsd.org, freebsd-usb@freebsd.org Subject: Re: USB4BSD release candidate number 3 - request for review 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: Wed, 05 Nov 2008 08:06:33 -0000 On Wednesday 05 November 2008, kevin wrote: > Hans Petter Selasky wrote: > > Hi, > > > > A new USB release is available: > > > > http://www.selasky.org/hans_petter/usb4bsd/for_review/ > > > > %md5 usb2_release_003.* > > MD5 (usb2_release_003.diff) = e31a032d0234bb7d72eb968c33118d84 > > MD5 (usb2_release_003.tar.gz) = 0a0d9dd44e93ba2ceaa849c577f6fecf > > %sha256 usb2_release_003.* > > SHA256 (usb2_release_003.diff) = > > 9b4359f76eeef43d9b6c0c524198e529f2debff14e6158ebac8f35d51efb211b > > SHA256 (usb2_release_003.tar.gz) = > > 3040714546fc21bc2943c2e7aec1734150845271664aad44639ff5c553e3ed31 > > > > Changes since 002 release: > > I try to compile kernel with usb2. > Link error: > cc -c -O2 -frename-registers -pipe -fno-strict-aliasing -march=nocona > -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes > -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef > -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/usr/src/sys > -I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS > -include opt_global.h -fno-common -finline-limit=8000 --param > inline-unit-growth=100 --param large-function-growth=1000 > -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone -mfpmath=387 > -mno-sse -mno-sse2 -mno-sse3 -mno-mmx -mno-3dnow -msoft-float > -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector > -Werror vers.c > ctfconvert -L VERSION vers.o > linking kernel > > ng_ubt2.o(.text+0x38): In function `ubt_detach': > : undefined reference to `ng_rmnode_self' > > ng_ubt2.o(.text+0x488): In function `ubt_attach': > : undefined reference to `ng_make_node_common' > > ng_ubt2.o(.text+0x4be): In function `ubt_attach': > : undefined reference to `ng_name_node' > > ng_ubt2.o(.text+0x52b): In function `ubt_attach': > : undefined reference to `ng_unref_node' > > ng_ubt2.o(.text+0xc02): In function `ubt_modevent': > : undefined reference to `ng_newtype' > > ng_ubt2.o(.text+0xde0): In function `ubt_bulk_read_complete': > : undefined reference to `ng_package_data' > > ng_ubt2.o(.text+0xdfb): In function `ubt_bulk_read_complete': > : undefined reference to `ng_address_hook' > > ng_ubt2.o(.text+0xe39): In function `ubt_bulk_read_complete': > : undefined reference to `ng_snd_item' > > ng_ubt2.o(.text+0xfce): In function `ubt_intr_read_complete': > : undefined reference to `ng_package_data' > > ng_ubt2.o(.text+0xfe9): In function `ubt_intr_read_complete': > : undefined reference to `ng_address_hook' > > ng_ubt2.o(.text+0x1027): In function `ubt_intr_read_complete': > : undefined reference to `ng_snd_item' > > ng_ubt2.o(.text+0x105d): In function `ng_ubt_rcvdata': > : undefined reference to `ng_free_item' > > ng_ubt2.o(.text+0x10a7): In function `ng_ubt_rcvdata': > : undefined reference to `ng_free_item' > > ng_ubt2.o(.text+0x124e): In function `ng_ubt_rcvmsg': > : undefined reference to `ng_free_item' > > ng_ubt2.o(.text+0x12b3): In function `ng_ubt_rcvmsg': > : undefined reference to `ng_free_item' > > ng_ubt2.o(.text+0x12bf): In function `ng_ubt_rcvmsg': > : undefined reference to `M_NETGRAPH_MSG' > > ng_ubt2.o(.text+0x1314): In function `ng_ubt_rcvmsg': > : undefined reference to `M_NETGRAPH_MSG' > > ng_ubt2.o(.text+0x1413): In function `ng_ubt_rcvmsg': > : undefined reference to `ng_address_ID' > > ng_ubt2.o(.text+0x142a): In function `ng_ubt_rcvmsg': > : undefined reference to `ng_snd_item' > > ng_ubt2.o(.text+0x1480): In function `ng_ubt_rcvmsg': > : undefined reference to `M_NETGRAPH_MSG' > > ng_ubt2.o(.text+0x1561): In function `ng_ubt_rcvmsg': > : undefined reference to `M_NETGRAPH_MSG' > > ng_ubt2.o(.text+0x162e): In function `ng_ubt_rcvmsg': > : undefined reference to `M_NETGRAPH_MSG' > > ng_ubt2.o(.text+0x1a7a): In function `ng_ubt_shutdown': > : undefined reference to `ng_unref_node' > > ng_ubt2.o(.text+0x1ab5): In function `ng_ubt_shutdown': > : undefined reference to `ng_make_node_common' > > ng_ubt2.o(.text+0x1acc): In function `ng_ubt_shutdown': > : undefined reference to `ng_name_node' > > ng_ubt2.o(.text+0x1b6b): In function `ng_ubt_shutdown': > : undefined reference to `ng_unref_node' > > ng_ubt2.o(.text+0x1c28): In function `ubt_isoc_read_complete': > : undefined reference to `ng_package_data' > > ng_ubt2.o(.text+0x1c43): In function `ubt_isoc_read_complete': > : undefined reference to `ng_address_hook' > > ng_ubt2.o(.text+0x1d01): In function `ubt_isoc_read_complete': > : undefined reference to `ng_snd_item' > > ng_ubt2.o(.text+0x1eaf): In function `ubt_bulk_read_callback': > : undefined reference to `ng_send_fn' > > ng_ubt2.o(.text+0x20cd): In function `ubt_intr_read_callback': > : undefined reference to `ng_send_fn' > > ng_ubt2.o(.text+0x242c): In function `ubt_isoc_read_callback': > : undefined reference to `ng_send_fn' > > ng_ubt2.o(.text+0xc36): In function `ubt_modevent': > : undefined reference to `ng_rmtype' > > ng_ubt2.o(.rodata+0x5f0): undefined reference to `ng_parse_uint16_type' > ng_ubt2.o(.rodata+0x618): undefined reference to `ng_parse_uint16_type' > ng_ubt2.o(.rodata+0x6c0): undefined reference to `ng_parse_struct_type' > ng_ubt2.o(.rodata+0x700): undefined reference to `ng_parse_struct_type' > ng_ubt2.o(.rodata+0x748): undefined reference to `ng_parse_int32_type' > ng_ubt2.o(.rodata+0x760): undefined reference to `ng_parse_int32_type' > ng_ubt2.o(.rodata+0x7a8): undefined reference to `ng_parse_uint32_type' > ng_ubt2.o(.rodata+0x7c0): undefined reference to `ng_parse_uint32_type' > ng_ubt2.o(.rodata+0x7d8): undefined reference to `ng_parse_uint32_type' > ng_ubt2.o(.rodata+0x7f0): undefined reference to `ng_parse_uint32_type' > ng_ubt2.o(.rodata+0x808): undefined reference to `ng_parse_uint32_type' > ng_ubt2.o(.rodata+0x820): more undefined references to > `ng_parse_uint32_type' follow > *** Error code 1 > > I removed all old usb config. any other depends for usb2_bluetooth_ng? Hi, Try to load the module instead of having bluetooth in the kernel. Then all dependancies are loaded automatically. Depends on some bluetooth stuff. --HPS From owner-freebsd-usb@FreeBSD.ORG Wed Nov 5 08:12:37 2008 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 0B2C61065687; Wed, 5 Nov 2008 08:12:37 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe11.swip.net [212.247.155.65]) by mx1.freebsd.org (Postfix) with ESMTP id EFD7D8FC1C; Wed, 5 Nov 2008 08:12:35 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=bdeZpJpNa0wA:10 a=SER6hIBTabIA:10 a=d6BVkb5LuPPVEe4iNQMLyA==:17 a=fAKvkXu-oL8sAwJDumEA:9 a=nCTi6LTMBhLPWDjVf_nK5OgHu8YA:4 a=LY0hPdMaydYA:10 Received: from [62.113.135.6] (account mc467741@c2i.net [62.113.135.6] verified) by mailfe11.swip.net (CommuniGate Pro SMTP 5.2.6) with ESMTPA id 967526863; Wed, 05 Nov 2008 09:12:34 +0100 From: Hans Petter Selasky To: Lars Engels Date: Wed, 5 Nov 2008 09:14:42 +0100 User-Agent: KMail/1.9.7 References: <200810251925.47273.hselasky@c2i.net> <20081104220725.GC8256@e.0x20.net> <20081104230402.GD8256@e.0x20.net> In-Reply-To: <20081104230402.GD8256@e.0x20.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200811050914.44225.hselasky@c2i.net> Cc: current@freebsd.org, Alfred Perlstein , freebsd-current@freebsd.org, freebsd-usb@freebsd.org, Renato Botelho Subject: Re: USB4BSD release candidate number 3 - request for review 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: Wed, 05 Nov 2008 08:12:37 -0000 On Wednesday 05 November 2008, Lars Engels wrote: Hi Lars, > Now I just removed everything but usb2_core from the kernel config and > load the modules manually. So far it runs pretty good. > > Mounting a umass device, removing it and doing an 'ls' on the mountpoint > freezes the system, I thought this should not happen with the new stack? It is not a USB problem. It is the CAM layer that is hanging on the disk. > > sysctl hw.usb2.uscanner.uscanner: 0 > ^^^^^^^^ > Could it be that this should be "debug"? Fixed in P4 now. Will soon sync my private SVN. --HPS From owner-freebsd-usb@FreeBSD.ORG Wed Nov 5 08:13:51 2008 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 4DC0F106567A; Wed, 5 Nov 2008 08:13:51 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe02.swip.net [212.247.154.33]) by mx1.freebsd.org (Postfix) with ESMTP id 249808FC13; Wed, 5 Nov 2008 08:13:49 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=bdeZpJpNa0wA:10 a=SER6hIBTabIA:10 a=d6BVkb5LuPPVEe4iNQMLyA==:17 a=3U4ogkKAi6j4k9biiJ0A:9 a=3wcmhzcBZQaKmXCyccvh4YVU94IA:4 a=50e4U0PicR4A:10 Received: from [62.113.135.6] (account mc467741@c2i.net [62.113.135.6] verified) by mailfe02.swip.net (CommuniGate Pro SMTP 5.2.6) with ESMTPA id 1142636524; Wed, 05 Nov 2008 09:13:48 +0100 From: Hans Petter Selasky To: Lars Engels Date: Wed, 5 Nov 2008 09:15:52 +0100 User-Agent: KMail/1.9.7 References: <200810251925.47273.hselasky@c2i.net> <20081104230402.GD8256@e.0x20.net> <20081104230547.GE8256@e.0x20.net> In-Reply-To: <20081104230547.GE8256@e.0x20.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200811050915.54175.hselasky@c2i.net> Cc: current@freebsd.org, Alfred Perlstein , freebsd-current@freebsd.org, freebsd-usb@freebsd.org, Renato Botelho Subject: Re: USB4BSD release candidate number 3 - request for review 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: Wed, 05 Nov 2008 08:13:51 -0000 Hi, > And one last thing: > # usbdevs -v > usbdevs: no USB controllers found > That command is no longer supported. Use "usbconfig" instead. I'm not sure if it is currently installed by default. --HPS From owner-freebsd-usb@FreeBSD.ORG Wed Nov 5 09:07:13 2008 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 82199106567A; Wed, 5 Nov 2008 09:07:13 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe12.tele2.se [212.247.155.97]) by mx1.freebsd.org (Postfix) with ESMTP id B3D608FC1C; Wed, 5 Nov 2008 09:07:12 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=bdeZpJpNa0wA:10 a=SER6hIBTabIA:10 a=d6BVkb5LuPPVEe4iNQMLyA==:17 a=CGtgju_7YC4mmNYeEUIA:9 a=P4LcQY9LHHKYZKPf98AA:7 a=L3_I9TtkfmQJYZz5Reng3jCM7QkA:4 a=SV7veod9ZcQA:10 a=LY0hPdMaydYA:10 Received: from [62.113.135.6] (account mc467741@c2i.net [62.113.135.6] verified) by mailfe12.swip.net (CommuniGate Pro SMTP 5.2.6) with ESMTPA id 967354977; Wed, 05 Nov 2008 09:07:09 +0100 From: Hans Petter Selasky To: freebsd-current@freebsd.org, Lars Engels Date: Wed, 5 Nov 2008 09:09:13 +0100 User-Agent: KMail/1.9.7 References: <200810251925.47273.hselasky@c2i.net> <747dc8f30811041356j72b3507cxbcdc077cf6f7ff12@mail.gmail.com> <20081104220725.GC8256@e.0x20.net> In-Reply-To: <20081104220725.GC8256@e.0x20.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200811050909.14866.hselasky@c2i.net> Cc: current@freebsd.org, Alfred Perlstein , freebsd-usb@freebsd.org, Renato Botelho Subject: Re: USB4BSD release candidate number 3 - request for review 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: Wed, 05 Nov 2008 09:07:13 -0000 On Tuesday 04 November 2008, Lars Engels wrote: > On Tue, Nov 04, 2008 at 07:56:47PM -0200, Renato Botelho wrote: > > On Tue, Nov 4, 2008 at 7:22 PM, Lars Engels wrote: > > > On Fri, Oct 31, 2008 at 05:16:09PM +0000, Thomas Sparrevohn wrote: > > >> On Friday 31 October 2008 15:56:42 Hans Petter Selasky wrote: > > >> > On Friday 31 October 2008, Olivier SMEDTS wrote: > > >> > > Hello, > > >> > > > > >> > > Each device driver has been splitted since RC3. > > >> > > Look in /boot/kernel/usb2_*. You can use modules. > > >> > > For example, for my usb mouse, I use usb2_input_ums. > > >> > > > >> > Hi, > > >> > > > >> > Looks like I made a small typo there. The module is named > > >> > "usb2_input_ms" while the kernel option is named "usb2_input_ums". > > >> > The kernel option should be named "usb2_input_ms". > > >> > > >> Is this the same issue? > > >> > > >> config: Error: device "usb2_controller_uss820dci" is unknown > > >> config: Error: device "usb2_ethernet_dav" is unknown > > > > > > device usb2_ethernet_dav is still unknown in the commit version in > > > HEAD. > > > > I believe it was just a typo, the correct is usb2_ethernet_udav > > Good point. :) After changing it to _udav I am getting this: > In file included from /usr/src/sys/dev/sound/pcm/sound.h:94, > from /usr/src/sys/dev/usb2/sound/uaudio2.c:79: > /usr/src/sys/dev/sound/pcm/channel.h:216:24: error: channel_if.h: No > such file or directory > /usr/src/sys/dev/usb2/sound/uaudio2.c:81:23: error: feeder_if.h: No such > file or directory > In file included from /usr/src/sys/dev/sound/pcm/sound.h:94, > from /usr/src/sys/dev/usb2/sound/uaudio2_pcm.c:31: > /usr/src/sys/dev/sound/pcm/channel.h:216:24: error: channel_if.h: No > such file or directory > /usr/src/sys/dev/usb2/sound/uaudio2_pcm.c:36:22: error: mixer_if.h: No > such file or directory > > mkdep: compile failed Hi, Dependancy towards "device sound" I think. Try loading the module instead of having the device in the kernel. --HPS From owner-freebsd-usb@FreeBSD.ORG Wed Nov 5 09:17:26 2008 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 B46761065674 for ; Wed, 5 Nov 2008 09:17:26 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id 7539A8FC12 for ; Wed, 5 Nov 2008 09:17:26 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.14.2/8.14.1) with ESMTP id mA59H5xB019545; Wed, 5 Nov 2008 02:17:05 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Wed, 05 Nov 2008 02:18:17 -0700 (MST) Message-Id: <20081105.021817.-332174942.imp@bsdimp.com> To: hselasky@c2i.net From: "M. Warner Losh" In-Reply-To: <200811050914.44225.hselasky@c2i.net> References: <20081104220725.GC8256@e.0x20.net> <20081104230402.GD8256@e.0x20.net> <200811050914.44225.hselasky@c2i.net> X-Mailer: Mew version 5.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: current@freebsd.org, bright@mu.org, rbgarga@gmail.com, freebsd-current@freebsd.org, freebsd-usb@freebsd.org, lme@freebsd.org Subject: Re: USB4BSD release candidate number 3 - request for review 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: Wed, 05 Nov 2008 09:17:26 -0000 In message: <200811050914.44225.hselasky@c2i.net> Hans Petter Selasky writes: : On Wednesday 05 November 2008, Lars Engels wrote: : : Hi Lars, : : > Now I just removed everything but usb2_core from the kernel config and : > load the modules manually. So far it runs pretty good. : > : > Mounting a umass device, removing it and doing an 'ls' on the mountpoint : > freezes the system, I thought this should not happen with the new stack? : : It is not a USB problem. It is the CAM layer that is hanging on the disk. Sure it is CAM layer and not buffer cache or filesystem code? Warner From owner-freebsd-usb@FreeBSD.ORG Wed Nov 5 10:21:46 2008 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 9AE961065694 for ; Wed, 5 Nov 2008 10:21:46 +0000 (UTC) (envelope-from rink@rink.nu) Received: from mx1.rink.nu (gloom.rink.nu [213.34.49.2]) by mx1.freebsd.org (Postfix) with ESMTP id 5A0368FC1A for ; Wed, 5 Nov 2008 10:21:46 +0000 (UTC) (envelope-from rink@rink.nu) Received: from localhost (localhost [127.0.0.1]) by mx1.rink.nu (Postfix) with ESMTP id 770646D439; Wed, 5 Nov 2008 11:04:37 +0100 (CET) X-Virus-Scanned: amavisd-new at rink.nu Received: from mx1.rink.nu ([213.34.49.2]) by localhost (gloom.rink.nu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id O6cUQTZFNn5H; Wed, 5 Nov 2008 11:04:33 +0100 (CET) Received: by mx1.rink.nu (Postfix, from userid 1000) id B72EA6D42B; Wed, 5 Nov 2008 11:04:33 +0100 (CET) Date: Wed, 5 Nov 2008 11:04:33 +0100 From: Rink Springer To: "M. Warner Losh" Message-ID: <20081105100433.GA43232@rink.nu> References: <20081104220725.GC8256@e.0x20.net> <20081104230402.GD8256@e.0x20.net> <200811050914.44225.hselasky@c2i.net> <20081105.021817.-332174942.imp@bsdimp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20081105.021817.-332174942.imp@bsdimp.com> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: current@freebsd.org, bright@mu.org, lme@freebsd.org, freebsd-current@freebsd.org, freebsd-usb@freebsd.org, rbgarga@gmail.com Subject: Re: USB4BSD release candidate number 3 - request for review 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: Wed, 05 Nov 2008 10:21:46 -0000 On Wed, Nov 05, 2008 at 02:18:17AM -0700, M. Warner Losh wrote: > In message: <200811050914.44225.hselasky@c2i.net> > Hans Petter Selasky writes: > : On Wednesday 05 November 2008, Lars Engels wrote: > : > Mounting a umass device, removing it and doing an 'ls' on the mountpoint > : > freezes the system, I thought this should not happen with the new stack? > : > : It is not a USB problem. It is the CAM layer that is hanging on the disk. > > Sure it is CAM layer and not buffer cache or filesystem code? Well, the CAM layer problem will immediately first - it does not like CAM busses disappearing. Once this is fixed or avoided and the problem still shows up, we can blame buffer cache / filesystem code. As I suggested before, a good fix is to create one CAM bus per USB root hub, and use that to attach all umass devices to. This will also get rid of the one-bus-per-umass-device which is visually unappealling. Regards, Rink -- Rink P.W. Springer - http://rink.nu "Anyway boys, this is America. Just because you get more votes doesn't mean you win." - Fox Mulder From owner-freebsd-usb@FreeBSD.ORG Wed Nov 5 10:41:26 2008 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 748A91065672; Wed, 5 Nov 2008 10:41:26 +0000 (UTC) (envelope-from kevinxlinuz@163.com) Received: from m12-14.163.com (m12-14.163.com [220.181.12.14]) by mx1.freebsd.org (Postfix) with SMTP id 511668FC23; Wed, 5 Nov 2008 10:41:25 +0000 (UTC) (envelope-from kevinxlinuz@163.com) Received: from [127.0.0.1] (unknown [60.191.86.3]) by smtp10 (Coremail) with SMTP id DsCowLDrj01IeBFJ5gfCDg--.63822S2; Wed, 05 Nov 2008 18:41:17 +0800 (CST) Message-ID: <49117846.9080301@163.com> Date: Wed, 05 Nov 2008 18:41:10 +0800 From: kevin User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Hans Petter Selasky References: <200810251925.47273.hselasky@c2i.net> <200810261633.22020.hselasky@c2i.net> <49114E3D.9080201@163.com> <200811050908.35744.hselasky@c2i.net> In-Reply-To: <200811050908.35744.hselasky@c2i.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Coremail-Antispam: 1Uf129KBjvJXoWrKr45KF4rKry8XrW5KF15Jwb_yoW8JryUpr Wrta1vyr4ktFs5tF9rt3W29rZavF1agw13WF1vyryayF9YqrnrZr10kw1Sk39rZa4Ikw45 Xa1UX347X3WqgrDanT9S1TB71UUUUUUv73VFW2AGmfu7bjvjm3AaLaJ3UjIYCTnIWjp_UU U0w7k042IEFTZYmTnxM7k0a2IF6r1UM7kC6x804xWl14x267AKxVWUJVW8JwAFxVCF77xC 6IxKo4kEV4yl1I0EscIYIxCEI4klw4CSwwAFIxvE14AKwVWUJVWUGwAawVAYYI1S6c8GOV WUur45Jrylnx0Ec2IEnICE548m6r1DJrWUZwAqx4xG64xvF2IEw4CE5I8CrVC2j2WlYx0E 2Ix0cI8IcVAFwI0_Jr0_Jr4lYx0Ex4A2jsIE14v26r4j6F4UM4IEnf9ElVAFpTB2q-sK64 9IAas0WaI_GwAC6xAIw28IcVAK0I8IjxAxMx02cVAKzwCY0x0Ix7I2Y4AK6F4j6FyUMxCj nVAqn7xvrwC2zVAF1VAY17CE14v26r126r1DMIIF0xvEx4A2jsIE14v26r1j6r4UMIIF0x vEx4A2jsIEc7CjxVAFwI0_Jr0_GrUvcSsGvfC2KfnxnUUI43ZEXa7xRMEfO3UUUUU== Cc: freebsd-current@freebsd.org, Alfred Perlstein , current@freebsd.org, freebsd-usb@freebsd.org Subject: Re: USB4BSD release candidate number 3 - request for review 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: Wed, 05 Nov 2008 10:41:26 -0000 Hans Petter Selasky wrote: > On Wednesday 05 November 2008, kevin wrote: > >> Hans Petter Selasky wrote: >> >>> Hi, >>> >>> A new USB release is available: >>> >>> http://www.selasky.org/hans_petter/usb4bsd/for_review/ >>> >>> %md5 usb2_release_003.* >>> MD5 (usb2_release_003.diff) = e31a032d0234bb7d72eb968c33118d84 >>> MD5 (usb2_release_003.tar.gz) = 0a0d9dd44e93ba2ceaa849c577f6fecf >>> %sha256 usb2_release_003.* >>> SHA256 (usb2_release_003.diff) = >>> 9b4359f76eeef43d9b6c0c524198e529f2debff14e6158ebac8f35d51efb211b >>> SHA256 (usb2_release_003.tar.gz) = >>> 3040714546fc21bc2943c2e7aec1734150845271664aad44639ff5c553e3ed31 >>> >>> Changes since 002 release: >>> >> I try to compile kernel with usb2. >> >> > Hi, > > Try to load the module instead of having bluetooth in the kernel. Then all > dependancies are loaded automatically. > > Depends on some bluetooth stuff. > > --HPS > > I build kernel without usb2_bluetooth_ng successfully. i notice that fingerpring and bluetooth mouse nolonger work now. in dmesg: ugen0.2: at usbus0 ugen0.3: at usbus0 maybe /etc/rc.d/bthidd and fprint package need update now. Thanks, kevin From owner-freebsd-usb@FreeBSD.ORG Wed Nov 5 12:36:46 2008 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 C79E71065677 for ; Wed, 5 Nov 2008 12:36:46 +0000 (UTC) (envelope-from Thomas.Sparrevohn@btinternet.com) Received: from smtp816.mail.ird.yahoo.com (smtp816.mail.ird.yahoo.com [77.238.189.16]) by mx1.freebsd.org (Postfix) with SMTP id B88548FC2B for ; Wed, 5 Nov 2008 12:36:45 +0000 (UTC) (envelope-from Thomas.Sparrevohn@btinternet.com) Received: (qmail 43794 invoked from network); 5 Nov 2008 12:36:44 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=btinternet.com; h=Received:X-YMail-OSG:X-Yahoo-Newman-Property:From:To:Subject:Date:User-Agent:Cc:References:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Content-Disposition:Message-Id; b=4uacgMp7Izixsgnjk0Syq/ScO6ygLi0LcOt5WC9bFzOHNviPZ9gMMPdvE7vi+UWaYhqM1/87/eUkE/L5DU2AloHFbcw3zgZ8jJu7nzSiPqKzPBvci1KNn34f9xqgCmqP28oDnLJcUP4vOYcbx/aL6IrXLvStsO2/EKJUM6ntebk= ; Received: from unknown (HELO w2fzz0vc03.aah-go-on.com) (thomas.sparrevohn@btinternet.com@86.147.161.222 with login) by smtp816.mail.ird.yahoo.com with SMTP; 5 Nov 2008 12:36:43 -0000 X-YMail-OSG: vmzux3kVM1kPNJ2wUVsMfzef4CxgRYKj7f589ILf2oqlTLUMV1TSf7PldqfktKKYjM9hr0k3wZMfP8ANjbKZPSSjGNRgBAmkSH8RuLpQO7GYLoQnWVS8NOj_tyjxfmiSLJflDBD0A1k4ZbnwahQ9DYEgYFC8p1kfQkztOGs- X-Yahoo-Newman-Property: ymail-3 From: Thomas Sparrevohn To: Hans Petter Selasky Date: Wed, 5 Nov 2008 12:36:40 +0000 User-Agent: KMail/1.9.10 References: <200810251925.47273.hselasky@c2i.net> <20081104230547.GE8256@e.0x20.net> <200811050915.54175.hselasky@c2i.net> In-Reply-To: <200811050915.54175.hselasky@c2i.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200811051236.41450.Thomas.Sparrevohn@btinternet.com> Cc: current@freebsd.org, Alfred Perlstein , Renato Botelho , freebsd-current@freebsd.org, freebsd-usb@freebsd.org, Lars Engels Subject: Re: USB4BSD release candidate number 3 - request for review 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: Wed, 05 Nov 2008 12:36:46 -0000 On Wednesday 05 November 2008 08:15:52 Hans Petter Selasky wrote: > Hi, > > > And one last thing: > > # usbdevs -v > > usbdevs: no USB controllers found > > > > That command is no longer supported. Use "usbconfig" instead. I'm not sure if > it is currently installed by default. > > --HPS > usbconfig does not install per default - it does not even seem to compile - From owner-freebsd-usb@FreeBSD.ORG Wed Nov 5 16:02:59 2008 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 74ABF1065670; Wed, 5 Nov 2008 16:02:59 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id 308FF8FC27; Wed, 5 Nov 2008 16:02:59 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.14.2/8.14.1) with ESMTP id mA5G15NH030821; Wed, 5 Nov 2008 09:01:06 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Wed, 05 Nov 2008 09:02:18 -0700 (MST) Message-Id: <20081105.090218.1678770569.imp@bsdimp.com> To: kevinxlinuz@163.com From: "M. Warner Losh" In-Reply-To: <49117846.9080301@163.com> References: <49114E3D.9080201@163.com> <200811050908.35744.hselasky@c2i.net> <49117846.9080301@163.com> X-Mailer: Mew version 5.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org, bright@mu.org, current@freebsd.org, freebsd-usb@freebsd.org Subject: Re: USB4BSD release candidate number 3 - request for review 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: Wed, 05 Nov 2008 16:02:59 -0000 In message: <49117846.9080301@163.com> kevin writes: : Hans Petter Selasky wrote: : > On Wednesday 05 November 2008, kevin wrote: : > : >> Hans Petter Selasky wrote: : >> : >>> Hi, : >>> : >>> A new USB release is available: : >>> : >>> http://www.selasky.org/hans_petter/usb4bsd/for_review/ : >>> : >>> %md5 usb2_release_003.* : >>> MD5 (usb2_release_003.diff) = e31a032d0234bb7d72eb968c33118d84 : >>> MD5 (usb2_release_003.tar.gz) = 0a0d9dd44e93ba2ceaa849c577f6fecf : >>> %sha256 usb2_release_003.* : >>> SHA256 (usb2_release_003.diff) = : >>> 9b4359f76eeef43d9b6c0c524198e529f2debff14e6158ebac8f35d51efb211b : >>> SHA256 (usb2_release_003.tar.gz) = : >>> 3040714546fc21bc2943c2e7aec1734150845271664aad44639ff5c553e3ed31 : >>> : >>> Changes since 002 release: : >>> : >> I try to compile kernel with usb2. : >> : >> : > Hi, : > : > Try to load the module instead of having bluetooth in the kernel. Then all : > dependancies are loaded automatically. : > : > Depends on some bluetooth stuff. : > : > --HPS : > : > : I build kernel without usb2_bluetooth_ng successfully. i notice that : fingerpring and bluetooth mouse nolonger work now. : in dmesg: : ugen0.2: at usbus0 : ugen0.3: at usbus0 : maybe /etc/rc.d/bthidd and fprint package need update now. Almost certainly... And they will likely have to deal with both stacks for a while... Warner From owner-freebsd-usb@FreeBSD.ORG Wed Nov 5 16:03:02 2008 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 4A4FF1065695; Wed, 5 Nov 2008 16:03:02 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id 07B808FC08; Wed, 5 Nov 2008 16:03:01 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.14.2/8.14.1) with ESMTP id mA5Fxwsl030798; Wed, 5 Nov 2008 08:59:58 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Wed, 05 Nov 2008 09:01:11 -0700 (MST) Message-Id: <20081105.090111.-861032299.imp@bsdimp.com> To: rink@freebsd.org From: "M. Warner Losh" In-Reply-To: <20081105100433.GA43232@rink.nu> References: <200811050914.44225.hselasky@c2i.net> <20081105.021817.-332174942.imp@bsdimp.com> <20081105100433.GA43232@rink.nu> X-Mailer: Mew version 5.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: current@freebsd.org, bright@mu.org, lme@freebsd.org, freebsd-current@freebsd.org, freebsd-usb@freebsd.org, rbgarga@gmail.com Subject: Re: USB4BSD release candidate number 3 - request for review 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: Wed, 05 Nov 2008 16:03:02 -0000 In message: <20081105100433.GA43232@rink.nu> Rink Springer writes: : On Wed, Nov 05, 2008 at 02:18:17AM -0700, M. Warner Losh wrote: : > In message: <200811050914.44225.hselasky@c2i.net> : > Hans Petter Selasky writes: : > : On Wednesday 05 November 2008, Lars Engels wrote: : > : > Mounting a umass device, removing it and doing an 'ls' on the mountpoint : > : > freezes the system, I thought this should not happen with the new stack? : > : : > : It is not a USB problem. It is the CAM layer that is hanging on the disk. : > : > Sure it is CAM layer and not buffer cache or filesystem code? : : Well, the CAM layer problem will immediately first - it does not like : CAM busses disappearing. Once this is fixed or avoided and the problem : still shows up, we can blame buffer cache / filesystem code. : : As I suggested before, a good fix is to create one CAM bus per USB root : hub, and use that to attach all umass devices to. This will also get rid : of the one-bus-per-umass-device which is visually unappealling. That might work. It might also be useful to see if the DragonFly patches to allow this port over or not... Warner From owner-freebsd-usb@FreeBSD.ORG Wed Nov 5 16:17:30 2008 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 33F531065673; Wed, 5 Nov 2008 16:17:30 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe06.swip.net [212.247.154.161]) by mx1.freebsd.org (Postfix) with ESMTP id D6A538FC14; Wed, 5 Nov 2008 16:17:28 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=bdeZpJpNa0wA:10 a=SER6hIBTabIA:10 a=d6BVkb5LuPPVEe4iNQMLyA==:17 a=trMMR0braKzLU2WKjEgA:9 a=tDSluKevbQ2ZOlGICIyAjUXvPzwA:4 a=9aOQ2cSd83gA:10 a=LY0hPdMaydYA:10 Received: from [62.113.135.6] (account mc467741@c2i.net [62.113.135.6] verified) by mailfe06.swip.net (CommuniGate Pro SMTP 5.2.6) with ESMTPA id 1140792857; Wed, 05 Nov 2008 17:17:26 +0100 From: Hans Petter Selasky To: "M. Warner Losh" Date: Wed, 5 Nov 2008 17:19:29 +0100 User-Agent: KMail/1.9.7 References: <20081104220725.GC8256@e.0x20.net> <200811050914.44225.hselasky@c2i.net> <20081105.021817.-332174942.imp@bsdimp.com> In-Reply-To: <20081105.021817.-332174942.imp@bsdimp.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200811051719.30962.hselasky@c2i.net> Cc: current@freebsd.org, bright@mu.org, rbgarga@gmail.com, freebsd-current@freebsd.org, freebsd-usb@freebsd.org, lme@freebsd.org Subject: Re: USB4BSD release candidate number 3 - request for review 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: Wed, 05 Nov 2008 16:17:30 -0000 On Wednesday 05 November 2008, M. Warner Losh wrote: > In message: <200811050914.44225.hselasky@c2i.net> > > : It is not a USB problem. It is the CAM layer that is hanging on the disk. > > Sure it is CAM layer and not buffer cache or filesystem code? > No, I'm not sure, except it is not an USB problem. I currently keep the CAM instance around after that the device has been removed from USB, returning an error on all subsequent SCSI requests. --HPS From owner-freebsd-usb@FreeBSD.ORG Wed Nov 5 16:19:24 2008 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 A811D106564A; Wed, 5 Nov 2008 16:19:24 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe14.swip.net [212.247.155.161]) by mx1.freebsd.org (Postfix) with ESMTP id B0FC38FC2A; Wed, 5 Nov 2008 16:19:23 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=bdeZpJpNa0wA:10 a=SER6hIBTabIA:10 a=d6BVkb5LuPPVEe4iNQMLyA==:17 a=RAtyKtXV71dsEDNy_IQA:9 a=9rcUGQ0kfy_9A2swIYI_LwYYX7IA:4 a=9aOQ2cSd83gA:10 a=LY0hPdMaydYA:10 Received: from [62.113.135.6] (account mc467741@c2i.net [62.113.135.6] verified) by mailfe14.swip.net (CommuniGate Pro SMTP 5.2.6) with ESMTPA id 398506628; Wed, 05 Nov 2008 17:19:21 +0100 From: Hans Petter Selasky To: Rink Springer Date: Wed, 5 Nov 2008 17:21:24 +0100 User-Agent: KMail/1.9.7 References: <20081104220725.GC8256@e.0x20.net> <20081105.021817.-332174942.imp@bsdimp.com> <20081105100433.GA43232@rink.nu> In-Reply-To: <20081105100433.GA43232@rink.nu> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200811051721.26082.hselasky@c2i.net> Cc: current@freebsd.org, bright@mu.org, lme@freebsd.org, freebsd-current@freebsd.org, freebsd-usb@freebsd.org, rbgarga@gmail.com Subject: Re: USB4BSD release candidate number 3 - request for review 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: Wed, 05 Nov 2008 16:19:24 -0000 On Wednesday 05 November 2008, Rink Springer wrote: > On Wed, Nov 05, 2008 at 02:18:17AM -0700, M. Warner Losh wrote: > > In message: <200811050914.44225.hselasky@c2i.net> > > > > Hans Petter Selasky writes: > > : On Wednesday 05 November 2008, Lars Engels wrote: > > : > Mounting a umass device, removing it and doing an 'ls' on the > > : > mountpoint freezes the system, I thought this should not happen with > > : > the new stack? > > : > > : It is not a USB problem. It is the CAM layer that is hanging on the > > : disk. > > > > Sure it is CAM layer and not buffer cache or filesystem code? > > Well, the CAM layer problem will immediately first - it does not like > CAM busses disappearing. Once this is fixed or avoided and the problem > still shows up, we can blame buffer cache / filesystem code. > > As I suggested before, a good fix is to create one CAM bus per USB root > hub, and use that to attach all umass devices to. This will also get rid > of the one-bus-per-umass-device which is visually unappealling. > I've temporarily created one CAM bus per module, and release it when the usb2_storage_mass module is unloaded. --HPS From owner-freebsd-usb@FreeBSD.ORG Wed Nov 5 16:20:42 2008 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 12D411065670; Wed, 5 Nov 2008 16:20:42 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe03.swip.net [212.247.154.65]) by mx1.freebsd.org (Postfix) with ESMTP id 42DCB8FC19; Wed, 5 Nov 2008 16:20:41 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=bdeZpJpNa0wA:10 a=SER6hIBTabIA:10 a=d6BVkb5LuPPVEe4iNQMLyA==:17 a=ndaoGXS1AAAA:8 a=hTUq4LJpMFZPBGP5cPIA:9 a=hicpzbrmCtKxf891j08jR1mVpLMA:4 a=LY0hPdMaydYA:10 Received: from [62.113.135.6] (account mc467741@c2i.net [62.113.135.6] verified) by mailfe03.swip.net (CommuniGate Pro SMTP 5.2.6) with ESMTPA id 1144756125; Wed, 05 Nov 2008 17:20:39 +0100 From: Hans Petter Selasky To: kevin Date: Wed, 5 Nov 2008 17:22:43 +0100 User-Agent: KMail/1.9.7 References: <200810251925.47273.hselasky@c2i.net> <200811050908.35744.hselasky@c2i.net> <49117846.9080301@163.com> In-Reply-To: <49117846.9080301@163.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200811051722.44148.hselasky@c2i.net> Cc: freebsd-current@freebsd.org, Alfred Perlstein , current@freebsd.org, freebsd-usb@freebsd.org Subject: Re: USB4BSD release candidate number 3 - request for review 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: Wed, 05 Nov 2008 16:20:42 -0000 On Wednesday 05 November 2008, kevin wrote: > Hans Petter Selasky wrote: > > On Wednesday 05 November 2008, kevin wrote: > >> Hans Petter Selasky wrote: > >>> Hi, > >>> > >>> A new USB release is available: > >>> > >>> http://www.selasky.org/hans_petter/usb4bsd/for_review/ > >>> > >>> %md5 usb2_release_003.* > >>> MD5 (usb2_release_003.diff) = e31a032d0234bb7d72eb968c33118d84 > >>> MD5 (usb2_release_003.tar.gz) = 0a0d9dd44e93ba2ceaa849c577f6fecf > >>> %sha256 usb2_release_003.* > >>> SHA256 (usb2_release_003.diff) = > >>> 9b4359f76eeef43d9b6c0c524198e529f2debff14e6158ebac8f35d51efb211b > >>> SHA256 (usb2_release_003.tar.gz) = > >>> 3040714546fc21bc2943c2e7aec1734150845271664aad44639ff5c553e3ed31 > >>> > >>> Changes since 002 release: > >> > >> I try to compile kernel with usb2. > > > > Hi, > > > > Try to load the module instead of having bluetooth in the kernel. Then > > all dependancies are loaded automatically. > > > > Depends on some bluetooth stuff. > > > > --HPS > > I build kernel without usb2_bluetooth_ng successfully. i notice that > fingerpring and bluetooth mouse nolonger work now. > in dmesg: > ugen0.2: at usbus0 > ugen0.3: at usbus0 > maybe /etc/rc.d/bthidd and fprint package need update now. > Try: kldload usb2_bluetooth_ng Or add: usb2_bluetooth_load=YES usb2_bluetooth_ng_load=YES to: /boot/loader.conf --HPS From owner-freebsd-usb@FreeBSD.ORG Wed Nov 5 16:26:38 2008 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 11D7210656DF; Wed, 5 Nov 2008 16:26:38 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe12.swipnet.se [212.247.155.97]) by mx1.freebsd.org (Postfix) with ESMTP id 0EE068FC1B; Wed, 5 Nov 2008 16:26:36 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=bdeZpJpNa0wA:10 a=SER6hIBTabIA:10 a=d6BVkb5LuPPVEe4iNQMLyA==:17 a=e-nWkoAR_PDCPm4ViUUA:9 a=HVIpJVqjdXHttxjJbTen6bNAsGsA:4 a=MSl-tDqOz04A:10 a=Nr7Pmq0tdocA:10 a=LY0hPdMaydYA:10 Received: from [62.113.135.6] (account mc467741@c2i.net [62.113.135.6] verified) by mailfe12.swip.net (CommuniGate Pro SMTP 5.2.6) with ESMTPA id 967848145; Wed, 05 Nov 2008 17:26:34 +0100 From: Hans Petter Selasky To: freebsd-current@freebsd.org Date: Wed, 5 Nov 2008 17:28:43 +0100 User-Agent: KMail/1.9.7 References: <200810251925.47273.hselasky@c2i.net> <200811051236.41450.Thomas.Sparrevohn@btinternet.com> <863ai6yx36.fsf@gmail.com> In-Reply-To: <863ai6yx36.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200811051728.44513.hselasky@c2i.net> Cc: current@freebsd.org, Alfred Perlstein , Lars Engels , freebsd-usb@freebsd.org, swell.k@gmail.com, Renato Botelho Subject: Re: USB4BSD release candidate number 3 - request for review 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: Wed, 05 Nov 2008 16:26:38 -0000 On Wednesday 05 November 2008, swell.k@gmail.com wrote: > Thomas Sparrevohn writes: > > On Wednesday 05 November 2008 08:15:52 Hans Petter Selasky wrote: > >> Hi, > >> > >> > And one last thing: > >> > # usbdevs -v > >> > usbdevs: no USB controllers found > >> > >> That command is no longer supported. Use "usbconfig" instead. I'm not > >> sure if it is currently installed by default. > >> > >> --HPS > > > > usbconfig does not install per default - it does not even seem to compile > > - > > I think this patch might be a workaround then. Hi, I will get this patch in next time an USB2 update gets committed to FreeBSD-current. Thanks! --HPS From owner-freebsd-usb@FreeBSD.ORG Wed Nov 5 16:39:50 2008 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 786BD1065673 for ; Wed, 5 Nov 2008 16:39:50 +0000 (UTC) (envelope-from swell.k@gmail.com) Received: from yw-out-2324.google.com (yw-out-2324.google.com [74.125.46.29]) by mx1.freebsd.org (Postfix) with ESMTP id 1E6468FC16 for ; Wed, 5 Nov 2008 16:39:49 +0000 (UTC) (envelope-from swell.k@gmail.com) Received: by yw-out-2324.google.com with SMTP id 9so46695ywe.13 for ; Wed, 05 Nov 2008 08:39:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:references :date:in-reply-to:message-id:user-agent:mime-version:content-type; bh=8sp7nqQhQsEarIykl1cCE2Vqd5VVmbCs8+7v4Ogtm9E=; b=UMvQErNBtMccBwUF7LPiuRkU0LgcRWMLwCrXF15IE8LmgL/R21PH9TymFnlCcIwe+e 8EiszPjInaHxTnd4UU3J2Z4ydplC2S3OG8XtzZCtoZ5N4WnrZCYfZWXnItifykbs/E4k AL+FvmUSsJ9550Hj97oE4sQYBbZlrfW4UVsPs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; b=IofuRiKW2p2t/r0K+yHlSR/2VruTDzytKh+tTiQ5tUSdUyxwwoUjnTEhBwIhyAb803 TL9ocS0ziD7FDdPccySPEFjU7cNseOfjYB/HgaNF9+E2Vk/zRsIQ/nW7Q39uyB2/tIzs FYa3NjHRgxVDlY9/aBeCfaXrq8Cv2IQnJoFcM= Received: by 10.86.95.20 with SMTP id s20mr1283047fgb.39.1225901314721; Wed, 05 Nov 2008 08:08:34 -0800 (PST) Received: from localhost (93-80-212-75.broadband.corbina.ru [93.80.212.75]) by mx.google.com with ESMTPS id 4sm194757fge.8.2008.11.05.08.08.31 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 05 Nov 2008 08:08:33 -0800 (PST) From: swell.k@gmail.com To: Thomas Sparrevohn References: <200810251925.47273.hselasky@c2i.net> <20081104230547.GE8256@e.0x20.net> <200811050915.54175.hselasky@c2i.net> <200811051236.41450.Thomas.Sparrevohn@btinternet.com> Date: Wed, 05 Nov 2008 19:08:29 +0300 In-Reply-To: <200811051236.41450.Thomas.Sparrevohn@btinternet.com> (Thomas Sparrevohn's message of "Wed, 5 Nov 2008 12:36:40 +0000") Message-ID: <863ai6yx36.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (berkeley-unix) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Cc: current@freebsd.org, Alfred Perlstein , Lars Engels , freebsd-current@freebsd.org, freebsd-usb@freebsd.org, Renato Botelho Subject: Re: USB4BSD release candidate number 3 - request for review 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: Wed, 05 Nov 2008 16:39:50 -0000 --=-=-= Thomas Sparrevohn writes: > On Wednesday 05 November 2008 08:15:52 Hans Petter Selasky wrote: >> Hi, >> >> > And one last thing: >> > # usbdevs -v >> > usbdevs: no USB controllers found >> > >> >> That command is no longer supported. Use "usbconfig" instead. I'm not sure if >> it is currently installed by default. >> >> --HPS >> > > usbconfig does not install per default - it does not even seem to compile - I think this patch might be a workaround then. --=-=-= Content-Disposition: inline; filename=a Index: share/man/man4/Makefile =================================================================== --- share/man/man4/Makefile (revision 184644) +++ share/man/man4/Makefile (working copy) @@ -416,6 +416,20 @@ ural.4 \ urio.4 \ usb.4 \ + usb2_bluetooth.4 \ + usb2_controller.4 \ + usb2_core.4 \ + usb2_ethernet.4 \ + usb2_image.4 \ + usb2_input.4 \ + usb2_misc.4 \ + usb2_ndis.4 \ + usb2_quirk.4 \ + usb2_serial.4 \ + usb2_sound.4 \ + usb2_storage.4 \ + usb2_template.4 \ + usb2_wlan.4 \ uscanner.4 \ uslcom.4 \ utopia.4 \ Index: usr.sbin/Makefile =================================================================== --- usr.sbin/Makefile (revision 184644) +++ usr.sbin/Makefile (working copy) @@ -181,6 +181,7 @@ trpt \ tzsetup \ ugidfw \ + ${_usbconfig} \ ${_usbdevs} \ ${_vidcontrol} \ vipw \ @@ -401,6 +402,7 @@ .endif .if ${MK_USB} != "no" +_usbconfig= usbconfig _usbdevs= usbdevs .endif Index: lib/Makefile =================================================================== --- lib/Makefile (revision 184644) +++ lib/Makefile (working copy) @@ -38,7 +38,8 @@ ${_libpmc} libproc librt ${_libsdp} ${_libsm} ${_libsmb} \ ${_libsmdb} \ ${_libsmutil} libstand ${_libtelnet} ${_libthr} libthread_db libufs \ - libugidfw ${_libusbhid} ${_libvgl} libwrap liby libz ${_bind} + libugidfw ${_libusb20} ${_libusbhid} ${_libvgl} libwrap liby libz \ + ${_bind} .if exists(${.CURDIR}/csu/${MACHINE_ARCH}-elf) _csu=csu/${MACHINE_ARCH}-elf @@ -135,6 +136,7 @@ .endif .if ${MK_USB} != "no" +_libusb20= libusb20 _libusbhid= libusbhid .endif Index: lib/libusb20/Makefile =================================================================== --- lib/libusb20/Makefile (revision 184644) +++ lib/libusb20/Makefile (working copy) @@ -18,7 +18,7 @@ INCS+= libusb20_compat10.h MAN= libusb20.3 MKLINT= no +CFLAGS+= -I${.CURDIR}/../../sys NOGCCERROR= .include - --=-=-=-- From owner-freebsd-usb@FreeBSD.ORG Thu Nov 6 02:19:15 2008 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 CEBA810656AC; Thu, 6 Nov 2008 02:19:15 +0000 (UTC) (envelope-from kevinxlinuz@163.com) Received: from m5-85.163.com (m12-15.163.com [220.181.12.15]) by mx1.freebsd.org (Postfix) with SMTP id E55C58FC13; Thu, 6 Nov 2008 02:19:14 +0000 (UTC) (envelope-from kevinxlinuz@163.com) Received: from [127.0.0.1] (unknown [60.191.86.3]) by smtp11 (Coremail) with SMTP id D8CowLCrfz8cVBJJNY6cFA--.11460S2; Thu, 06 Nov 2008 10:19:09 +0800 (CST) Message-ID: <49125418.4040008@163.com> Date: Thu, 06 Nov 2008 10:19:04 +0800 From: kevin User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Hans Petter Selasky References: <200810251925.47273.hselasky@c2i.net> <200811050908.35744.hselasky@c2i.net> <49117846.9080301@163.com> <200811051722.44148.hselasky@c2i.net> In-Reply-To: <200811051722.44148.hselasky@c2i.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Coremail-Antispam: 1Uf129KBjvJXoW7AFWkCr4DAF1xXrWrXw15CFg_yoW8ArW8pr W8t3Z8tr4ktFn0yF9rtr12grWFvFy3Ww13urn0qryayF90qrsrAr18Cr1a9rZFy3yIkw1Y qayUX34xXw1DWr7anT9S1TB71UUUUUUv73VFW2AGmfu7bjvjm3AaLaJ3UjIYCTnIWjp_UU U867k042IEFTZYmTnxM7k0a2IF6r1UM7kC6x804xWl14x267AKxVWUJVW8JwAFxVCF77xC 6IxKo4kEV4yl1I0EscIYIxCEI4klw4CSwwAFIxvE14AKwVWUJVWUGwAawVAYYI1S6c8GOV WUur45Jrylnx0Ec2IEnICE548m6r1DJrWUZwAqx4xG64xvF2IEw4CE5I8CrVC2j2WlYx0E 2Ix0cI8IcVAFwI0_JrI_JrylYx0Ex4A2jsIE14v26r1j6r4UM4IEnf9ElVAFpTB2q-sK64 9IAas0WaI_GwAC6xAIw28IcVAK0I8IjxAxMx02cVAKzwCY0x0Ix7I2Y4AK6F4j6FyUMxCj nVAqn7xvrwC2zVAF1VAY17CE14v26r126r1DYxBIdaVFxhVjvjDU0xZFpf9x0zEsqXdUUU UU= Cc: freebsd-current@freebsd.org, Alfred Perlstein , freebsd-usb@freebsd.org Subject: Re: USB4BSD release candidate number 3 - request for review 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, 06 Nov 2008 02:19:15 -0000 Hans Petter Selasky wrote: > On Wednesday 05 November 2008, kevin wrote: > >> Hans Petter Selasky wrote: >> >>> On Wednesday 05 November 2008, kevin wrote: >>> >>>> Hans Petter Selasky wrote: >>>> >>>>> Hi, >>>>> >>>>> A new USB release is available: >>>>> >>>>> http://www.selasky.org/hans_petter/usb4bsd/for_review/ >>>>> >>>>> %md5 usb2_release_003.* >>>>> MD5 (usb2_release_003.diff) = e31a032d0234bb7d72eb968c33118d84 >>>>> MD5 (usb2_release_003.tar.gz) = 0a0d9dd44e93ba2ceaa849c577f6fecf >>>>> %sha256 usb2_release_003.* >>>>> SHA256 (usb2_release_003.diff) = >>>>> 9b4359f76eeef43d9b6c0c524198e529f2debff14e6158ebac8f35d51efb211b >>>>> SHA256 (usb2_release_003.tar.gz) = >>>>> 3040714546fc21bc2943c2e7aec1734150845271664aad44639ff5c553e3ed31 >>>>> >>>>> Changes since 002 release: >>>>> >>>> I try to compile kernel with usb2. >>>> >>> Hi, >>> >>> Try to load the module instead of having bluetooth in the kernel. Then >>> all dependancies are loaded automatically. >>> >>> Depends on some bluetooth stuff. >>> >>> --HPS >>> >> I build kernel without usb2_bluetooth_ng successfully. i notice that >> fingerpring and bluetooth mouse nolonger work now. >> in dmesg: >> ugen0.2: at usbus0 >> ugen0.3: at usbus0 >> maybe /etc/rc.d/bthidd and fprint package need update now. >> >> > > Try: > > kldload usb2_bluetooth_ng > > > Or add: > > usb2_bluetooth_load=YES > usb2_bluetooth_ng_load=YES > > to: /boot/loader.conf > usb2_bluetooth was built into kernel already,and usb2_bluetooth_ng was included in ng_ubt. in /boot/loader.conf ng_ubt_load=YES usb2_bluetooth_fw_load=YES ubtbcmfw=YES Thanks, kevin From owner-freebsd-usb@FreeBSD.ORG Thu Nov 6 10:17:24 2008 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 4E81E1065677; Thu, 6 Nov 2008 10:17:24 +0000 (UTC) (envelope-from bright@elvis.mu.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id 39B028FC41; Thu, 6 Nov 2008 10:17:24 +0000 (UTC) (envelope-from bright@elvis.mu.org) Received: by elvis.mu.org (Postfix, from userid 1192) id 4169D1A3C38; Thu, 6 Nov 2008 02:04:56 -0800 (PST) Date: Thu, 6 Nov 2008 02:04:56 -0800 From: Alfred Perlstein To: Hans Petter Selasky Message-ID: <20081106100456.GF60438@elvis.mu.org> References: <200810251925.47273.hselasky@c2i.net> <200811051236.41450.Thomas.Sparrevohn@btinternet.com> <863ai6yx36.fsf@gmail.com> <200811051728.44513.hselasky@c2i.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200811051728.44513.hselasky@c2i.net> User-Agent: Mutt/1.4.2.3i Cc: current@freebsd.org, Renato Botelho , Lars Engels , freebsd-current@freebsd.org, freebsd-usb@freebsd.org, swell.k@gmail.com Subject: Re: USB4BSD release candidate number 3 - request for review 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, 06 Nov 2008 10:17:24 -0000 * Hans Petter Selasky [081105 08:26] wrote: > > Hi, > > I will get this patch in next time an USB2 update gets committed to > FreeBSD-current. Hey Hans, can you look into using svk for your repository? I think it will make commits to svn easier for both of us. Easier for me to pull your changes and easier for you to track changes in FreeBSD... ? -Alfred From owner-freebsd-usb@FreeBSD.ORG Thu Nov 6 12:47:44 2008 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 BE52B1065674 for ; Thu, 6 Nov 2008 12:47:44 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id D722A8FC1F for ; Thu, 6 Nov 2008 12:47:43 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from odyssey.starpoint.kiev.ua (alpha-e.starpoint.kiev.ua [212.40.38.101]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id OAA22193; Thu, 06 Nov 2008 14:34:42 +0200 (EET) (envelope-from avg@icyb.net.ua) Message-ID: <4912E462.4090608@icyb.net.ua> Date: Thu, 06 Nov 2008 14:34:42 +0200 From: Andriy Gapon User-Agent: Thunderbird 2.0.0.17 (X11/20080929) MIME-Version: 1.0 To: FreeBSD Stable , freebsd-usb@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: Subject: usb keyboard dying at loader prompt 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, 06 Nov 2008 12:47:44 -0000 I have a quite strange problem. This is with 7-BETA amd64. All of USB is out of kernel and is loaded via modules. BIOS has "Legacy USB" enabled. I have only a USB keyboard, no PS/2 port. The keyboard works file in BIOS and for selecting boot device in boot0 menu. It also works in loader menu. If in the menu I select to go to loader prompt then it works for about 5 seconds and then "dies" - no reaction to key presses, no led change, nothing. I haven't actually verified if the keyboard would still work if I stayed in loader menu for longer than ~10 seconds. This doesn't happen if USB is built into kernel. Weird... -- Andriy Gapon From owner-freebsd-usb@FreeBSD.ORG Thu Nov 6 13:04:32 2008 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 17C801065686; Thu, 6 Nov 2008 13:04:32 +0000 (UTC) (envelope-from bruce@cran.org.uk) Received: from muon.cran.org.uk (muon.cran.org.uk [66.246.138.153]) by mx1.freebsd.org (Postfix) with ESMTP id C846E8FC39; Thu, 6 Nov 2008 13:04:31 +0000 (UTC) (envelope-from bruce@cran.org.uk) Received: from muon.cran.org.uk (localhost [127.0.0.1]) by muon.cran.org.uk (Postfix) with ESMTP id 0806E19268; Thu, 6 Nov 2008 08:04:30 -0500 (EST) X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on muon X-Spam-Level: X-Spam-Status: No, score=-1.6 required=5.0 tests=AWL,BAYES_00,RDNS_NONE autolearn=no version=3.2.5 Received: from tau.draftnet (unknown [66.45.161.67]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by muon.cran.org.uk (Postfix) with ESMTPSA; Thu, 6 Nov 2008 08:04:29 -0500 (EST) Date: Thu, 6 Nov 2008 05:04:16 -0800 From: Bruce Cran To: Hans Petter Selasky Message-ID: <20081106050416.09944ea2@tau.draftnet> In-Reply-To: <200811051722.44148.hselasky@c2i.net> References: <200810251925.47273.hselasky@c2i.net> <200811050908.35744.hselasky@c2i.net> <49117846.9080301@163.com> <200811051722.44148.hselasky@c2i.net> X-Mailer: Claws Mail 3.5.0 (GTK+ 2.12.11; amd64-portbld-freebsd7.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: current@freebsd.org, Perlstein , Alfred, freebsd-current@freebsd.org, freebsd-usb@freebsd.org, kevin Subject: Re: USB4BSD release candidate number 3 - request for review 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, 06 Nov 2008 13:04:32 -0000 On Wed, 5 Nov 2008 17:22:43 +0100 Hans Petter Selasky wrote: > On Wednesday 05 November 2008, kevin wrote: > > Hans Petter Selasky wrote: > > > On Wednesday 05 November 2008, kevin wrote: > > >> Hans Petter Selasky wrote: > > >>> Hi, > > >>> > > >>> A new USB release is available: > > >>> > > >>> http://www.selasky.org/hans_petter/usb4bsd/for_review/ > > >>> > > >>> %md5 usb2_release_003.* > > >>> MD5 (usb2_release_003.diff) = e31a032d0234bb7d72eb968c33118d84 > > >>> MD5 (usb2_release_003.tar.gz) = 0a0d9dd44e93ba2ceaa849c577f6fecf > > >>> %sha256 usb2_release_003.* > > >>> SHA256 (usb2_release_003.diff) = > > >>> 9b4359f76eeef43d9b6c0c524198e529f2debff14e6158ebac8f35d51efb211b > > >>> SHA256 (usb2_release_003.tar.gz) = > > >>> 3040714546fc21bc2943c2e7aec1734150845271664aad44639ff5c553e3ed31 > > >>> > > >>> Changes since 002 release: > > >> > > >> I try to compile kernel with usb2. > > > > > > Hi, > > > > > > Try to load the module instead of having bluetooth in the kernel. > > > Then all dependancies are loaded automatically. > > > > > > Depends on some bluetooth stuff. > > > > > > --HPS > > > > I build kernel without usb2_bluetooth_ng successfully. i notice that > > fingerpring and bluetooth mouse nolonger work now. > > in dmesg: > > ugen0.2: at usbus0 > > ugen0.3: at usbus0 > > maybe /etc/rc.d/bthidd and fprint package need update now. > > > > Try: > > kldload usb2_bluetooth_ng I don't know if this is a problem in general, but I can't load usb2_serial_modem and have usb2_serial load automatically: > kldload usb2_serial_modem interface ucom.1 already present in the KLD 'ucom.ko'! kldload: /boot/kernel/usb2_serial.ko: Unsupported file type KLD usb2_serial_modem.ko: depends on usb2_serial - not available kldload: /boot/kernel/usb2_serial_modem.ko: Unsupported file type kldload'ing usb2_serial followed by usb2_serial_modem works though. -- Bruce Cran From owner-freebsd-usb@FreeBSD.ORG Thu Nov 6 14:32:53 2008 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 D5D5B106567D for ; Thu, 6 Nov 2008 14:32:53 +0000 (UTC) (envelope-from shuvaev@physik.uni-wuerzburg.de) Received: from mailrelay.rz.uni-wuerzburg.de (mailrelay.rz.uni-wuerzburg.de [132.187.3.28]) by mx1.freebsd.org (Postfix) with ESMTP id 5DB098FC70 for ; Thu, 6 Nov 2008 14:32:53 +0000 (UTC) (envelope-from shuvaev@physik.uni-wuerzburg.de) Received: from virusscan.mail (localhost [127.0.0.1]) by mailrelay.mail (Postfix) with ESMTP id 191AFA0729; Thu, 6 Nov 2008 15:13:25 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by virusscan.mail (Postfix) with ESMTP id 0CCEBA06C6; Thu, 6 Nov 2008 15:13:25 +0100 (CET) Received: from mail.physik.uni-wuerzburg.de (wthp192.physik.uni-wuerzburg.de [132.187.40.192]) by mailmaster.uni-wuerzburg.de (Postfix) with ESMTP id E25BBA0724; Thu, 6 Nov 2008 15:13:24 +0100 (CET) Received: from wep4035 ([132.187.37.35]) by mail.physik.uni-wuerzburg.de (Lotus Domino Release 8.0.2) with ESMTP id 2008110615132327-24346 ; Thu, 6 Nov 2008 15:13:23 +0100 Received: by wep4035 (sSMTP sendmail emulation); Thu, 6 Nov 2008 15:13:23 +0100 From: "Alexey Shuvaev" Date: Thu, 6 Nov 2008 15:13:23 +0100 To: Bruce Cran Message-ID: <20081106141323.GA4489@wep4035.physik.uni-wuerzburg.de> References: <200810251925.47273.hselasky@c2i.net> <200811050908.35744.hselasky@c2i.net> <49117846.9080301@163.com> <200811051722.44148.hselasky@c2i.net> <20081106050416.09944ea2@tau.draftnet> MIME-Version: 1.0 In-Reply-To: <20081106050416.09944ea2@tau.draftnet> Organization: Universitaet Wuerzburg User-Agent: Mutt/1.5.18 (2008-05-17) X-MIMETrack: Itemize by SMTP Server on domino1/uni-wuerzburg(Release 8.0.2|August 07, 2008) at 11/06/2008 03:13:23 PM, Serialize by Router on domino1/uni-wuerzburg(Release 8.0.2|August 07, 2008) at 11/06/2008 03:13:24 PM, Serialize complete at 11/06/2008 03:13:24 PM Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Virus-Scanned: by amavisd-new at uni-wuerzburg.de Cc: freebsd-current@freebsd.org, freebsd-usb@freebsd.org Subject: Re: USB4BSD release candidate number 3 - request for review 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, 06 Nov 2008 14:32:54 -0000 On Thu, Nov 06, 2008 at 05:04:16AM -0800, Bruce Cran wrote: > > I don't know if this is a problem in general, but I can't load > usb2_serial_modem and have usb2_serial load automatically: > > > kldload usb2_serial_modem > interface ucom.1 already present in the KLD 'ucom.ko'! ^^^^^^^ I think it is a module from the old usb stack. > kldload: /boot/kernel/usb2_serial.ko: Unsupported file type > KLD usb2_serial_modem.ko: depends on usb2_serial - not available > kldload: /boot/kernel/usb2_serial_modem.ko: Unsupported file type > > kldload'ing usb2_serial followed by usb2_serial_modem works though. > I also see automatic loading of the old stack modules, for example (entries 17, 18): [wep4035] ~> kldstat Id Refs Address Size Name 1 55 0xffffffff80100000 8daac8 kernel (/boot/kernel/kernel) 2 1 0xffffffff809db000 21ed8 snd_hda.ko (/boot/kernel/snd_hda.ko) 3 2 0xffffffff809fd000 749c8 sound.ko (/boot/kernel/sound.ko) 4 1 0xffffffff80a72000 3090 speaker.ko (/boot/kernel/speaker.ko) 5 1 0xffffffff80a76000 59e8 ichsmb.ko (/boot/kernel/ichsmb.ko) 6 2 0xffffffff80a7c000 2440 smbus.ko (/boot/kernel/smbus.ko) 7 1 0xffffffff80a7f000 fa10 i915.ko (/boot/kernel/i915.ko) 8 2 0xffffffff80a8f000 21c48 drm.ko (/boot/kernel/drm.ko) 9 1 0xffffffff80ab1000 e648 usb2_controller_uhci.ko (/boot/kernel/usb2_controller_uhci.ko) 10 3 0xffffffff80ac0000 5168 usb2_controller.ko (/boot/kernel/usb2_controller.ko) 11 8 0xffffffff80ac6000 5c548 usb2_core.ko (/boot/kernel/usb2_core.ko) 12 1 0xffffffff80b23000 125a0 usb2_controller_ehci.ko (/boot/kernel/usb2_controller_ehci.ko) 13 1 0xffffffff80b36000 4e48 usb2_input_ms.ko (/boot/kernel/usb2_input_ms.ko) 14 2 0xffffffff80b3b000 560 usb2_input.ko (/boot/kernel/usb2_input.ko) 15 1 0xffffffff80b3c000 ff08 usb2_storage_mass.ko (/boot/kernel/usb2_storage_mass.ko) 16 2 0xffffffff80b4c000 570 usb2_storage.ko (/boot/kernel/usb2_storage.ko) 17 1 0xffffffff80c22000 18c7 ums.ko (/boot/kernel/ums.ko) 18 1 0xffffffff80c24000 9612 usb.ko (/boot/kernel/usb.ko) 19 1 0xffffffff80c2e000 216 green_saver.ko (/boot/kernel/green_saver.ko) Simple kldunload-ing of ums.ko unloads usb.ko also. I am having quite reliable panics with the new stack when I insert usb stick (actually during the first access to it). Trying to collect more information I haven't managed to produce memory dump. Is it working on amd64 SMP CURRENT? I remember there were some complains about it. I will report details of the panic when I get them. Alexey. From owner-freebsd-usb@FreeBSD.ORG Thu Nov 6 17:09:58 2008 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 4FD1E1065698; Thu, 6 Nov 2008 17:09:58 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe08.swip.net [212.247.154.225]) by mx1.freebsd.org (Postfix) with ESMTP id 5960F8FC0C; Thu, 6 Nov 2008 17:09:56 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=bdeZpJpNa0wA:10 a=SER6hIBTabIA:10 a=d6BVkb5LuPPVEe4iNQMLyA==:17 a=ndaoGXS1AAAA:8 a=6I5d2MoRAAAA:8 a=iO3VSQp1bqclTnTazywA:9 a=3LV0PnsWvoKEGTveXpQA:7 a=8v8e8viEK9MKdErJlSkHhMJL10AA:4 a=9aOQ2cSd83gA:10 a=LY0hPdMaydYA:10 Received: from [62.113.135.6] (account mc467741@c2i.net [62.113.135.6] verified) by mailfe08.swip.net (CommuniGate Pro SMTP 5.2.6) with ESMTPA id 1140738135; Thu, 06 Nov 2008 18:09:55 +0100 From: Hans Petter Selasky To: Bruce Cran Date: Thu, 6 Nov 2008 18:12:02 +0100 User-Agent: KMail/1.9.7 References: <200810251925.47273.hselasky@c2i.net> <200811051722.44148.hselasky@c2i.net> <20081106050416.09944ea2@tau.draftnet> In-Reply-To: <20081106050416.09944ea2@tau.draftnet> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200811061812.04449.hselasky@c2i.net> Cc: kevin , freebsd-current@freebsd.org, Alfred Perlstein , current@freebsd.org, freebsd-usb@freebsd.org Subject: Re: USB4BSD release candidate number 3 - request for review 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, 06 Nov 2008 17:09:58 -0000 On Thursday 06 November 2008, Bruce Cran wrote: > On Wed, 5 Nov 2008 17:22:43 +0100 > > Hans Petter Selasky wrote: > > On Wednesday 05 November 2008, kevin wrote: > > > Hans Petter Selasky wrote: > > > > On Wednesday 05 November 2008, kevin wrote: > > > >> Hans Petter Selasky wrote: > > > >>> Hi, > > > >>> > > > >>> A new USB release is available: > > > >>> > > > >>> http://www.selasky.org/hans_petter/usb4bsd/for_review/ > > > >>> > > > >>> %md5 usb2_release_003.* > > > >>> MD5 (usb2_release_003.diff) = e31a032d0234bb7d72eb968c33118d84 > > > >>> MD5 (usb2_release_003.tar.gz) = 0a0d9dd44e93ba2ceaa849c577f6fecf > > > >>> %sha256 usb2_release_003.* > > > >>> SHA256 (usb2_release_003.diff) = > > > >>> 9b4359f76eeef43d9b6c0c524198e529f2debff14e6158ebac8f35d51efb211b > > > >>> SHA256 (usb2_release_003.tar.gz) = > > > >>> 3040714546fc21bc2943c2e7aec1734150845271664aad44639ff5c553e3ed31 > > > >>> > > > >>> Changes since 002 release: > > > >> > > > >> I try to compile kernel with usb2. > > > > > > > > Hi, > > > > > > > > Try to load the module instead of having bluetooth in the kernel. > > > > Then all dependancies are loaded automatically. > > > > > > > > Depends on some bluetooth stuff. > > > > > > > > --HPS > > > > > > I build kernel without usb2_bluetooth_ng successfully. i notice that > > > fingerpring and bluetooth mouse nolonger work now. > > > in dmesg: > > > ugen0.2: at usbus0 > > > ugen0.3: at usbus0 > > > maybe /etc/rc.d/bthidd and fprint package need update now. > > > > Try: > > > > kldload usb2_bluetooth_ng > > I don't know if this is a problem in general, but I can't load > > usb2_serial_modem and have usb2_serial load automatically: > > kldload usb2_serial_modem > > interface ucom.1 already present in the KLD 'ucom.ko'! > kldload: /boot/kernel/usb2_serial.ko: Unsupported file type > KLD usb2_serial_modem.ko: depends on usb2_serial - not available > kldload: /boot/kernel/usb2_serial_modem.ko: Unsupported file type > > kldload'ing usb2_serial followed by usb2_serial_modem works though. Hi, Fixed in the following commit: http://perforce.freebsd.org/chv.cgi?CH=152584 Thanks again for your reporting. --HPS From owner-freebsd-usb@FreeBSD.ORG Thu Nov 6 17:14:26 2008 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 9C0D0106568C; Thu, 6 Nov 2008 17:14:26 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe14.swip.net [212.247.155.161]) by mx1.freebsd.org (Postfix) with ESMTP id 3ADB58FC13; Thu, 6 Nov 2008 17:14:25 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=bdeZpJpNa0wA:10 a=SER6hIBTabIA:10 a=d6BVkb5LuPPVEe4iNQMLyA==:17 a=KXDabCpbVznoU5r17h0A:9 a=DQLjT2mbSUzRq_qBHD8A:7 a=hUmwzevKbzQ-Jys1lRtUutatpjwA:4 a=9aOQ2cSd83gA:10 a=LY0hPdMaydYA:10 Received: from [62.113.135.6] (account mc467741@c2i.net [62.113.135.6] verified) by mailfe14.swip.net (CommuniGate Pro SMTP 5.2.6) with ESMTPA id 400630523; Thu, 06 Nov 2008 18:14:22 +0100 From: Hans Petter Selasky To: Alfred Perlstein Date: Thu, 6 Nov 2008 18:16:25 +0100 User-Agent: KMail/1.9.7 References: <200810251925.47273.hselasky@c2i.net> <200811051728.44513.hselasky@c2i.net> <20081106100456.GF60438@elvis.mu.org> In-Reply-To: <20081106100456.GF60438@elvis.mu.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200811061816.27429.hselasky@c2i.net> Cc: current@freebsd.org, Renato Botelho , Lars Engels , freebsd-current@freebsd.org, freebsd-usb@freebsd.org, swell.k@gmail.com Subject: Re: USB4BSD release candidate number 3 - request for review 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, 06 Nov 2008 17:14:26 -0000 On Thursday 06 November 2008, Alfred Perlstein wrote: > * Hans Petter Selasky [081105 08:26] wrote: > > Hi, > > > > I will get this patch in next time an USB2 update gets committed to > > FreeBSD-current. > > Hey Hans, can you look into using svk for your repository? I think > it will make commits to svn easier for both of us. Easier for > me to pull your changes and easier for you to track changes > in FreeBSD... ? > Yes, I will try to set it up later today. Should we retire the USB P4 repository then ? --HPS From owner-freebsd-usb@FreeBSD.ORG Thu Nov 6 17:30:22 2008 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 ABC2A1065731; Thu, 6 Nov 2008 17:30:22 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id 3CF108FC32; Thu, 6 Nov 2008 17:30:22 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.14.2/8.14.1) with ESMTP id mA6HQNCj053987; Thu, 6 Nov 2008 10:26:23 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Thu, 06 Nov 2008 10:27:38 -0700 (MST) Message-Id: <20081106.102738.-2043076325.imp@bsdimp.com> To: hselasky@c2i.net From: "M. Warner Losh" In-Reply-To: <200811061812.04449.hselasky@c2i.net> References: <200811051722.44148.hselasky@c2i.net> <20081106050416.09944ea2@tau.draftnet> <200811061812.04449.hselasky@c2i.net> X-Mailer: Mew version 5.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: current@FreeBSD.org, bright@mu.org, freebsd-current@FreeBSD.org, freebsd-usb@FreeBSD.org, kevinxlinuz@163.com Subject: Re: USB4BSD release candidate number 3 - request for review 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, 06 Nov 2008 17:30:22 -0000 In message: <200811061812.04449.hselasky@c2i.net> Hans Petter Selasky writes: : On Thursday 06 November 2008, Bruce Cran wrote: : > On Wed, 5 Nov 2008 17:22:43 +0100 : > : > Hans Petter Selasky wrote: : > > On Wednesday 05 November 2008, kevin wrote: : > > > Hans Petter Selasky wrote: : > > > > On Wednesday 05 November 2008, kevin wrote: : > > > >> Hans Petter Selasky wrote: : > > > >>> Hi, : > > > >>> : > > > >>> A new USB release is available: : > > > >>> : > > > >>> http://www.selasky.org/hans_petter/usb4bsd/for_review/ : > > > >>> : > > > >>> %md5 usb2_release_003.* : > > > >>> MD5 (usb2_release_003.diff) = e31a032d0234bb7d72eb968c33118d84 : > > > >>> MD5 (usb2_release_003.tar.gz) = 0a0d9dd44e93ba2ceaa849c577f6fecf : > > > >>> %sha256 usb2_release_003.* : > > > >>> SHA256 (usb2_release_003.diff) = : > > > >>> 9b4359f76eeef43d9b6c0c524198e529f2debff14e6158ebac8f35d51efb211b : > > > >>> SHA256 (usb2_release_003.tar.gz) = : > > > >>> 3040714546fc21bc2943c2e7aec1734150845271664aad44639ff5c553e3ed31 : > > > >>> : > > > >>> Changes since 002 release: : > > > >> : > > > >> I try to compile kernel with usb2. : > > > > : > > > > Hi, : > > > > : > > > > Try to load the module instead of having bluetooth in the kernel. : > > > > Then all dependancies are loaded automatically. : > > > > : > > > > Depends on some bluetooth stuff. : > > > > : > > > > --HPS : > > > : > > > I build kernel without usb2_bluetooth_ng successfully. i notice that : > > > fingerpring and bluetooth mouse nolonger work now. : > > > in dmesg: : > > > ugen0.2: at usbus0 : > > > ugen0.3: at usbus0 : > > > maybe /etc/rc.d/bthidd and fprint package need update now. : > > : > > Try: : > > : > > kldload usb2_bluetooth_ng : > : > I don't know if this is a problem in general, but I can't load : > : > usb2_serial_modem and have usb2_serial load automatically: : > > kldload usb2_serial_modem : > : > interface ucom.1 already present in the KLD 'ucom.ko'! : > kldload: /boot/kernel/usb2_serial.ko: Unsupported file type : > KLD usb2_serial_modem.ko: depends on usb2_serial - not available : > kldload: /boot/kernel/usb2_serial_modem.ko: Unsupported file type : > : > kldload'ing usb2_serial followed by usb2_serial_modem works though. : : Hi, : : Fixed in the following commit: : : http://perforce.freebsd.org/chv.cgi?CH=152584 : : Thanks again for your reporting. I've merged this into -head. Warner From owner-freebsd-usb@FreeBSD.ORG Thu Nov 6 17:48:56 2008 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 3C6BB1065678; Thu, 6 Nov 2008 17:48:56 +0000 (UTC) (envelope-from gary.jennejohn@freenet.de) Received: from mout5.freenet.de (mout5.freenet.de [IPv6:2001:748:100:40::2:7]) by mx1.freebsd.org (Postfix) with ESMTP id BF82B8FC0C; Thu, 6 Nov 2008 17:48:55 +0000 (UTC) (envelope-from gary.jennejohn@freenet.de) Received: from [195.4.92.20] (helo=10.mx.freenet.de) by mout5.freenet.de with esmtpa (ID gary.jennejohn@freenet.de) (port 25) (Exim 4.69 #65) id 1Ky8yU-0001dU-Gg; Thu, 06 Nov 2008 18:48:54 +0100 Received: from m8f45.m.pppool.de ([89.49.143.69]:19688 helo=ernst.jennejohn.org) by 10.mx.freenet.de with esmtpa (ID gary.jennejohn@freenet.de) (port 25) (Exim 4.69 #68) id 1Ky8yU-0005J9-8e; Thu, 06 Nov 2008 18:48:54 +0100 Date: Thu, 6 Nov 2008 18:37:20 +0100 From: Gary Jennejohn (by way of Gary Jennejohn ) To: "Alexey Shuvaev" Message-ID: <20081106183720.4aa1a83f@ernst.jennejohn.org> In-Reply-To: <20081106141323.GA4489@wep4035.physik.uni-wuerzburg.de> References: <200810251925.47273.hselasky@c2i.net> <200811050908.35744.hselasky@c2i.net> <49117846.9080301@163.com> <200811051722.44148.hselasky@c2i.net> <20081106050416.09944ea2@tau.draftnet> <20081106141323.GA4489@wep4035.physik.uni-wuerzburg.de> X-Mailer: Claws Mail 3.5.0 (GTK+ 2.12.11; amd64-portbld-freebsd8.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Resent-Date: Thu, 6 Nov 2008 18:48:53 +0100 Resent-From: Gary Jennejohn Resent-Message-ID: <20081106184853.00c8c6fa@ernst.jennejohn.org> Resent-To: freebsd-current@freebsd.org Resent-Cc: freebsd-usb@freebsd.org Cc: freebsd-current@freebsd.org, freebsd-usb@freebsd.org Subject: Re: USB4BSD release candidate number 3 - request for review X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: gary.jennejohn@freenet.de List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Nov 2008 17:48:56 -0000 On Thu, 6 Nov 2008 15:13:23 +0100 "Alexey Shuvaev" wrote: [big snip] > I am having quite reliable panics with the new stack when I insert > usb stick (actually during the first access to it). > Trying to collect more information I haven't managed to produce > memory dump. Is it working on amd64 SMP CURRENT? I remember there were > some complains about it. > It works just fine for me with SMP amd64. I tested several USB sticks and saw absolutely no problems. I have not tried it with a real external USB disk. It also works with my FTDI USB-to-serial adapters. I do not use any USB modules. --- Gary Jennejohn From owner-freebsd-usb@FreeBSD.ORG Thu Nov 6 18:08:14 2008 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 5DB061065688; Thu, 6 Nov 2008 18:08:14 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe08.swip.net [212.247.154.225]) by mx1.freebsd.org (Postfix) with ESMTP id BCAB18FC0C; Thu, 6 Nov 2008 18:08:13 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=bdeZpJpNa0wA:10 a=SER6hIBTabIA:10 a=d6BVkb5LuPPVEe4iNQMLyA==:17 a=KPYZ_crrNIiB0gZgZUQA:9 a=YzptOmFV_9I__j04nymuHGl_xqEA:4 a=LY0hPdMaydYA:10 Received: from [62.113.135.6] (account mc467741@c2i.net [62.113.135.6] verified) by mailfe08.swip.net (CommuniGate Pro SMTP 5.2.6) with ESMTPA id 1140806959; Thu, 06 Nov 2008 19:08:12 +0100 From: Hans Petter Selasky To: freebsd-current@freebsd.org, gary.jennejohn@freenet.de Date: Thu, 6 Nov 2008 19:10:20 +0100 User-Agent: KMail/1.9.7 References: <200810251925.47273.hselasky@c2i.net> <20081106141323.GA4489@wep4035.physik.uni-wuerzburg.de> <20081106183720.4aa1a83f@ernst.jennejohn.org> In-Reply-To: <20081106183720.4aa1a83f@ernst.jennejohn.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200811061910.21994.hselasky@c2i.net> Cc: Alexey Shuvaev , freebsd-usb@freebsd.org Subject: Re: USB4BSD release candidate number 3 - request for review 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, 06 Nov 2008 18:08:14 -0000 On Thursday 06 November 2008, Gary Jennejohn wrote: > On Thu, 6 Nov 2008 15:13:23 +0100 > "Alexey Shuvaev" wrote: > > [big snip] > > > I am having quite reliable panics with the new stack when I insert > > usb stick (actually during the first access to it). > > Trying to collect more information I haven't managed to produce > > memory dump. Is it working on amd64 SMP CURRENT? I remember there were > > some complains about it. > > It works just fine for me with SMP amd64. I tested several USB sticks > and saw absolutely no problems. I have not tried it with a real > external USB disk. > > It also works with my FTDI USB-to-serial adapters. > > I do not use any USB modules. Hi Alexey, Maybe you are using the ATA interface for USB? Could you do a "kldstat" ? Or try: kldunload usb2_storage_ata And: kldload usb2_storage_mass --HPS From owner-freebsd-usb@FreeBSD.ORG Thu Nov 6 19:12:32 2008 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 67ED71065672; Thu, 6 Nov 2008 19:12:32 +0000 (UTC) (envelope-from shuvaev@physik.uni-wuerzburg.de) Received: from mailrelay.rz.uni-wuerzburg.de (mailrelay.rz.uni-wuerzburg.de [132.187.3.28]) by mx1.freebsd.org (Postfix) with ESMTP id E2B4E8FC17; Thu, 6 Nov 2008 19:12:31 +0000 (UTC) (envelope-from shuvaev@physik.uni-wuerzburg.de) Received: from virusscan.mail (localhost [127.0.0.1]) by mailrelay.mail (Postfix) with ESMTP id E8B36198EDF; Thu, 6 Nov 2008 20:12:30 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by virusscan.mail (Postfix) with ESMTP id DC929198EDB; Thu, 6 Nov 2008 20:12:30 +0100 (CET) Received: from mail.physik.uni-wuerzburg.de (wthp192.physik.uni-wuerzburg.de [132.187.40.192]) by mailmaster.uni-wuerzburg.de (Postfix) with ESMTP id BE10C198E99; Thu, 6 Nov 2008 20:12:30 +0100 (CET) Received: from wep4035 ([132.187.37.35]) by mail.physik.uni-wuerzburg.de (Lotus Domino Release 8.0.2) with ESMTP id 2008110620122960-25952 ; Thu, 6 Nov 2008 20:12:29 +0100 Received: by wep4035 (sSMTP sendmail emulation); Thu, 6 Nov 2008 20:12:30 +0100 From: "Alexey Shuvaev" Date: Thu, 6 Nov 2008 20:12:30 +0100 To: Hans Petter Selasky Message-ID: <20081106191230.GA47600@wep4035.physik.uni-wuerzburg.de> References: <200810251925.47273.hselasky@c2i.net> <20081106141323.GA4489@wep4035.physik.uni-wuerzburg.de> <20081106183720.4aa1a83f@ernst.jennejohn.org> <200811061910.21994.hselasky@c2i.net> MIME-Version: 1.0 In-Reply-To: <200811061910.21994.hselasky@c2i.net> Organization: Universitaet Wuerzburg User-Agent: Mutt/1.5.18 (2008-05-17) X-MIMETrack: Itemize by SMTP Server on domino1/uni-wuerzburg(Release 8.0.2|August 07, 2008) at 11/06/2008 08:12:29 PM, Serialize by Router on domino1/uni-wuerzburg(Release 8.0.2|August 07, 2008) at 11/06/2008 08:12:30 PM, Serialize complete at 11/06/2008 08:12:30 PM Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Virus-Scanned: by amavisd-new at uni-wuerzburg.de Cc: freebsd-current@freebsd.org, freebsd-usb@freebsd.org Subject: Re: USB4BSD release candidate number 3 - request for review 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, 06 Nov 2008 19:12:32 -0000 On Thu, Nov 06, 2008 at 07:10:20PM +0100, Hans Petter Selasky wrote: > On Thursday 06 November 2008, Gary Jennejohn wrote: > > On Thu, 6 Nov 2008 15:13:23 +0100 > > "Alexey Shuvaev" wrote: > > > > [big snip] Exactly here was output from kldstat :) > > > > > I am having quite reliable panics with the new stack when I insert > > > usb stick (actually during the first access to it). > > > Trying to collect more information I haven't managed to produce > > > memory dump. Is it working on amd64 SMP CURRENT? I remember there were > > > some complains about it. > > Here I was actually asking about kernel memory dumps... Will try harder this time. > > It works just fine for me with SMP amd64. I tested several USB sticks > > and saw absolutely no problems. I have not tried it with a real > > external USB disk. > > > > It also works with my FTDI USB-to-serial adapters. > > > > I do not use any USB modules. > > Hi Alexey, > > Maybe you are using the ATA interface for USB? > > Could you do a "kldstat" ? > Here it is: [wep4035] ~> kldstat Id Refs Address Size Name 1 46 0xffffffff80100000 8daac8 kernel (/boot/kernel/kernel) 2 1 0xffffffff809db000 21ed8 snd_hda.ko (/boot/kernel/snd_hda.ko) 3 2 0xffffffff809fd000 749c8 sound.ko (/boot/kernel/sound.ko) 4 1 0xffffffff80a72000 3090 speaker.ko (/boot/kernel/speaker.ko) 5 1 0xffffffff80a76000 59e8 ichsmb.ko (/boot/kernel/ichsmb.ko) 6 2 0xffffffff80a7c000 2440 smbus.ko (/boot/kernel/smbus.ko) 7 1 0xffffffff80a7f000 fa10 i915.ko (/boot/kernel/i915.ko) 8 2 0xffffffff80a8f000 21c48 drm.ko (/boot/kernel/drm.ko) 9 1 0xffffffff80ab1000 e648 usb2_controller_uhci.ko (/boot/kernel/usb2_controller_uhci.ko) 10 3 0xffffffff80ac0000 5168 usb2_controller.ko (/boot/kernel/usb2_controller.ko) 11 8 0xffffffff80ac6000 5c548 usb2_core.ko (/boot/kernel/usb2_core.ko) 12 1 0xffffffff80b23000 125a0 usb2_controller_ehci.ko (/boot/kernel/usb2_controller_ehci.ko) 13 1 0xffffffff80b36000 4e48 usb2_input_ms.ko (/boot/kernel/usb2_input_ms.ko) 14 2 0xffffffff80b3b000 560 usb2_input.ko (/boot/kernel/usb2_input.ko) 15 1 0xffffffff80b3c000 ff08 usb2_storage_mass.ko (/boot/kernel/usb2_storage_mass.ko) 16 2 0xffffffff80b4c000 570 usb2_storage.ko (/boot/kernel/usb2_storage.ko) 19 1 0xffffffff80c2e000 216 green_saver.ko (/boot/kernel/green_saver.ko) Actually here what I have: [wep4035] ~> cat /boot/loader.conf loader_logo="beastie" ichsmb_load="YES" snd_hda_load="YES" speaker_load="YES" i915_load="YES" usb2_controller_uhci_load="YES" usb2_controller_ehci_load="YES" usb2_input_ms_load="YES" usb2_storage_mass_load="YES" > Or try: > > kldunload usb2_storage_ata > > And: > > kldload usb2_storage_mass > Now I will play with offending usb stick and with another one (actually microSDHC-usb adapter). Can it be that some modules are automatically loaded when I insert usb stick? Alexey. From owner-freebsd-usb@FreeBSD.ORG Thu Nov 6 21:03:03 2008 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 5F53A106564A; Thu, 6 Nov 2008 21:03:03 +0000 (UTC) (envelope-from shuvaev@physik.uni-wuerzburg.de) Received: from mailrelay.rz.uni-wuerzburg.de (mailrelay.rz.uni-wuerzburg.de [132.187.3.28]) by mx1.freebsd.org (Postfix) with ESMTP id CBE6B8FC19; Thu, 6 Nov 2008 21:03:02 +0000 (UTC) (envelope-from shuvaev@physik.uni-wuerzburg.de) Received: from virusscan.mail (localhost [127.0.0.1]) by mailrelay.mail (Postfix) with ESMTP id B7892A0723; Thu, 6 Nov 2008 22:03:01 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by virusscan.mail (Postfix) with ESMTP id A7DA7A0719; Thu, 6 Nov 2008 22:03:01 +0100 (CET) Received: from mail.physik.uni-wuerzburg.de (wthp192.physik.uni-wuerzburg.de [132.187.40.192]) by mailmaster.uni-wuerzburg.de (Postfix) with ESMTP id 88449A06FA; Thu, 6 Nov 2008 22:03:01 +0100 (CET) Received: from wep4035 ([132.187.37.35]) by mail.physik.uni-wuerzburg.de (Lotus Domino Release 8.0.2) with ESMTP id 2008110622030033-26263 ; Thu, 6 Nov 2008 22:03:00 +0100 Received: by wep4035 (sSMTP sendmail emulation); Thu, 6 Nov 2008 22:03:00 +0100 From: "Alexey Shuvaev" Date: Thu, 6 Nov 2008 22:03:00 +0100 To: Hans Petter Selasky Message-ID: <20081106210300.GA1595@wep4035.physik.uni-wuerzburg.de> References: <200810251925.47273.hselasky@c2i.net> <20081106141323.GA4489@wep4035.physik.uni-wuerzburg.de> <20081106183720.4aa1a83f@ernst.jennejohn.org> <200811061910.21994.hselasky@c2i.net> <20081106191230.GA47600@wep4035.physik.uni-wuerzburg.de> MIME-Version: 1.0 In-Reply-To: <20081106191230.GA47600@wep4035.physik.uni-wuerzburg.de> Organization: Universitaet Wuerzburg User-Agent: Mutt/1.5.18 (2008-05-17) X-MIMETrack: Itemize by SMTP Server on domino1/uni-wuerzburg(Release 8.0.2|August 07, 2008) at 11/06/2008 10:03:00 PM, Serialize by Router on domino1/uni-wuerzburg(Release 8.0.2|August 07, 2008) at 11/06/2008 10:03:00 PM, Serialize complete at 11/06/2008 10:03:00 PM Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Virus-Scanned: by amavisd-new at uni-wuerzburg.de Cc: freebsd-current@freebsd.org, freebsd-usb@freebsd.org Subject: Re: USB4BSD release candidate number 3 - request for review 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, 06 Nov 2008 21:03:03 -0000 On Thu, Nov 06, 2008 at 08:12:30PM +0100, Alexey Shuvaev wrote: > On Thu, Nov 06, 2008 at 07:10:20PM +0100, Hans Petter Selasky wrote: > > On Thursday 06 November 2008, Gary Jennejohn wrote: > > > > > > Alexey Shuvaev wrote: > > > > I am having quite reliable panics with the new stack when I insert > > > > usb stick (actually during the first access to it). > > > > Well, they are not so reliable. I have managed to produce one, but not with this stick. It is with USB-microSDHC adapter with 8 Gb card. > > > > Trying to collect more information I haven't managed to produce > > > > memory dump. Is it working on amd64 SMP CURRENT? I remember there were > > > > some complains about it. > > > > Here I was actually asking about kernel memory dumps... > Will try harder this time. > Calling doadump at ddb prompt does the job. > Now I will play with offending usb stick and with another one > (actually microSDHC-usb adapter). > > Can it be that some modules are automatically loaded when I insert usb stick? > Seems not to be the case. Now I have a kernel dump. Some info from it: Unread portion of the kernel message buffer: [snip] ugen7.2: at usbus7 umass0: on usbus7 umass0: SCSI over Bulk-Only; quirks = 0x0000 umass0:1:0:-1: Attached to scbus1 da0 at umass-sim0 bus 0 target 0 lun 0 da0: Removable Direct Access SCSI-0 device da0: 40.000MB/s transfers da0: 7790MB (15954944 512 byte sectors: 255H 63S/T 993C) <118># [here I have mounted it rw] <118># <118>.Spotlight-V100 IMG_2684.CR2 IMG_2836.JPG films <118>.Trashes IMG_2684.JPG My Documents gpsVP <118>._.Trashes IMG_2836.CR2 bombus-ng pilot [and here umounted, IIRC] <118># Kernel page fault with the following non-sleepable locks held: exclusive sleep mutex UMASS lock (UMASS lock) r = 0 (0xffffffff80b426a0) locked @ /usr/src/sys/modules/usb2/core/../../../dev/usb2/core/usb2_transfer.c:1795 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2a _witness_debugger() at _witness_debugger+0x49 witness_warn() at witness_warn+0x2b7 trap() at trap+0x38f calltrap() at calltrap+0x8 --- trap 0xc, rip = 0xffffffff804b2466, rsp = 0xfffffffeba7f8ac0, rbp = 0xfffffffeba7f8b00 --- bcopy() at bcopy+0x16 usb2_bdma_pre_sync() at usb2_bdma_pre_sync+0x35 usb2_bdma_work_loop() at usb2_bdma_work_loop+0x29b usb2_command_wrapper() at usb2_command_wrapper+0x76 usb2_callback_wrapper() at usb2_callback_wrapper+0xfd usb2_command_wrapper() at usb2_command_wrapper+0x76 usb2_callback_proc() at usb2_callback_proc+0x68 usb2_process() at usb2_process+0xc0 fork_exit() at fork_exit+0x12a fork_trampoline() at fork_trampoline+0xe --- trap 0, rip = 0, rsp = 0xfffffffeba7f8d40, rbp = 0 --- Fatal trap 12: page fault while in kernel mode cpuid = 1; apic id = 01 fault virtual address = 0xfffffffea429a000 fault code = supervisor write data, page not present instruction pointer = 0x8:0xffffffff804b2466 stack pointer = 0x10:0xfffffffeba7f8ac0 frame pointer = 0x10:0xfffffffeba7f8b00 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, long 1, def32 0, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 3393 (USBPROC) lock order reversal: (Giant after non-sleepable) 1st 0xffffffff80b426a0 UMASS lock (UMASS lock) @ /usr/src/sys/modules/usb2/core/../../../dev/usb2/core/usb2_transfer.c:1795 2nd 0xffffffff806eeb20 Giant (Giant) @ /usr/src/sys/dev/kbdmux/kbdmux.c:1044 KDB: stack backtrace: lock order reversal: (sleepable after non-sleepable) 1st 0xffffffff80b426a0 UMASS lock (UMASS lock) @ /usr/src/sys/modules/usb2/core/../../../dev/usb2/core/usb2_transfer.c:1795 2nd 0xffffff00014ab3d0 user map (user map) @ /usr/src/sys/vm/vm_map.c:3115 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2a _witness_debugger() at _witness_debugger+0x49 witness_checkorder() at witness_checkorder+0x7e6 _sx_xlock() at _sx_xlock+0x44 vm_map_lookup() at vm_map_lookup+0x47 vm_fault() at vm_fault+0xfe trap_pfault() at trap_pfault+0x1fa trap() at trap+0x201 calltrap() at calltrap+0x8 --- trap 0xc, rip = 0xffffffff804b2466, rsp = 0xfffffffeba7f8ac0, rbp = 0xfffffffeba7f8b00 --- bcopy() at bcopy+0x16 usb2_bdma_pre_sync() at usb2_bdma_pre_sync+0x35 usb2_bdma_work_loop() at usb2_bdma_work_loop+0x29b usb2_command_wrapper() at usb2_command_wrapper+0x76 usb2_callback_wrapper() at usb2_callback_wrapper+0xfd usb2_command_wrapper() at usb2_command_wrapper+0x76 usb2_callback_proc() at usb2_callback_proc+0x68 usb2_process() at usb2_process+0xc0 fork_exit() at fork_exit+0x12a fork_trampoline() at fork_trampoline+0xe --- trap 0, rip = 0, rsp = 0xfffffffeba7f8d40, rbp = 0 --- panic: vm_fault: fault on nofault entry, addr: fffffffea429a000 cpuid = 1 KDB: enter: panic Physical memory: 4075 MB Dumping 347 MB: 332 316 300 284 268 252 236 220 204 188 172 156 140 124 108 92 76 60 44 28 12 [here starts post-reboot session with kgdb] [snip] #0 doadump () at pcpu.h:196 196 __asm __volatile("movq %%gs:0,%0" : "=r" (td)); (kgdb) bt #0 doadump () at pcpu.h:196 #1 0xffffffff80195f6c in db_fncall (dummy1=Variable "dummy1" is not available. ) at /usr/src/sys/ddb/db_command.c:548 #2 0xffffffff801962a1 in db_command (last_cmdp=0xffffffff806d1aa0, cmd_table=Variable "cmd_table" is not available. ) at /usr/src/sys/ddb/db_command.c:445 #3 0xffffffff801964e9 in db_command_loop () at /usr/src/sys/ddb/db_command.c:498 #4 0xffffffff80198347 in db_trap (type=Variable "type" is not available. ) at /usr/src/sys/ddb/db_main.c:229 #5 0xffffffff802d4cd2 in kdb_trap (type=3, code=0, tf=0xfffffffeba7f84d0) at /usr/src/sys/kern/subr_kdb.c:534 #6 0xffffffff804b3b7f in trap (frame=0xfffffffeba7f84d0) at /usr/src/sys/amd64/amd64/trap.c:533 #7 0xffffffff80496d2e in calltrap () at /usr/src/sys/amd64/amd64/exception.S:217 #8 0xffffffff802d4e81 in kdb_enter (why=0xffffffff805183d9 "panic", msg=0xa
) at cpufunc.h:63 #9 0xffffffff802a804f in panic (fmt=Variable "fmt" is not available. ) at /usr/src/sys/kern/kern_shutdown.c:559 #10 0xffffffff804775f3 in vm_fault (map=0xffffff0001000000, vaddr=18446744067873808384, fault_type=Variable "fault_type" is not available. ) at /usr/src/sys/vm/vm_fault.c:277 #11 0xffffffff804b3359 in trap_pfault (frame=0xfffffffeba7f8a10, usermode=0) at /usr/src/sys/amd64/amd64/trap.c:664 #12 0xffffffff804b3bec in trap (frame=0xfffffffeba7f8a10) at /usr/src/sys/amd64/amd64/trap.c:444 ---Type to continue, or q to quit--- #13 0xffffffff80496d2e in calltrap () at /usr/src/sys/amd64/amd64/exception.S:217 #14 0xffffffff804b2466 in bcopy () at /usr/src/sys/amd64/amd64/support.S:123 #15 0xffffffff804917b4 in _bus_dmamap_sync (dmat=0xffffff0005af6380, map=Variable "map" is not available. ) at /usr/src/sys/amd64/amd64/busdma_machdep.c:932 #16 0xffffffff80ac6549 in usb2_bdma_pre_sync (xfer=0xfffffffea429a000) at /usr/src/sys/modules/usb2/core/../../../dev/usb2/core/usb2_busdma.c:1358 #17 0xffffffff80ac691e in usb2_bdma_work_loop () from /boot/kernel/usb2_core.ko #18 0xffffffff80ad947c in usb2_command_wrapper (pq=0xfffffffe406fc000, xfer=Variable "xfer" is not available. ) at /usr/src/sys/modules/usb2/core/../../../dev/usb2/core/usb2_transfer.c:2515 #19 0xffffffff80adbcb8 in usb2_callback_wrapper (pq=Variable "pq" is not available. ) at /usr/src/sys/modules/usb2/core/../../../dev/usb2/core/usb2_transfer.c:1926 #20 0xffffffff80ad947c in usb2_command_wrapper (pq=0xfffffffe406fc028, xfer=Variable "xfer" is not available. ) at /usr/src/sys/modules/usb2/core/../../../dev/usb2/core/usb2_transfer.c:2515 #21 0xffffffff80ad95c7 in usb2_callback_proc (_pm=Variable "_pm" is not available. ) at /usr/src/sys/modules/usb2/core/../../../dev/usb2/core/usb2_transfer.c:1799 #22 0xffffffff80ad7221 in usb2_process (arg=Variable "arg" is not available. ) at /usr/src/sys/modules/usb2/core/../../../dev/usb2/core/usb2_process.c:139 #23 0xffffffff80289eea in fork_exit ( ---Type to continue, or q to quit--- callout=0xffffffff80ad7161 , arg=0xfffffffe406fc0f0, frame=0xfffffffeba7f8c90) at /usr/src/sys/kern/kern_fork.c:815 #24 0xffffffff8049713e in fork_trampoline () at /usr/src/sys/amd64/amd64/exception.S:521 #25 0x0000000000000000 in ?? () [snip] #50 0x0000000000000000 in ?? () #51 0xffffff00056a05a0 in ?? () #52 0xffffffff806f6900 in tdq_cpu () #53 0xffffff00014e96e0 in ?? () #54 0xfffffffeba7f8a70 in ?? () #55 0xfffffffeba7f8a28 in ?? () #56 0xffffff00056a1000 in ?? () #57 0xffffffff802c8de1 in sched_switch (td=0xfffffffe406fc0f0, newtd=0xffffffff80ad7161, flags=Variable "flags" is not available. ) at /usr/src/sys/kern/sched_ule.c:1848 Previous frame inner to this frame (corrupt stack?) (kgdb) I have a dump so let me know if you need more info. Alexey. From owner-freebsd-usb@FreeBSD.ORG Thu Nov 6 23:34:10 2008 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 95151106567C; Thu, 6 Nov 2008 23:34:10 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe03.swip.net [212.247.154.65]) by mx1.freebsd.org (Postfix) with ESMTP id F06DE8FC18; Thu, 6 Nov 2008 23:34:09 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=bdeZpJpNa0wA:10 a=SER6hIBTabIA:10 a=d6BVkb5LuPPVEe4iNQMLyA==:17 a=4N73JWFCd3eHjoRH62kA:9 a=AZxEH2RoIgVF7TfRvM-QB6oImFUA:4 a=LY0hPdMaydYA:10 Received: from [62.113.135.6] (account mc467741@c2i.net [62.113.135.6] verified) by mailfe03.swip.net (CommuniGate Pro SMTP 5.2.6) with ESMTPA id 1147234506; Fri, 07 Nov 2008 00:34:07 +0100 From: Hans Petter Selasky To: freebsd-current@freebsd.org Date: Fri, 7 Nov 2008 00:36:14 +0100 User-Agent: KMail/1.9.7 References: <200810251925.47273.hselasky@c2i.net> <20081106191230.GA47600@wep4035.physik.uni-wuerzburg.de> <20081106210300.GA1595@wep4035.physik.uni-wuerzburg.de> In-Reply-To: <20081106210300.GA1595@wep4035.physik.uni-wuerzburg.de> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200811070036.15816.hselasky@c2i.net> Cc: Alexey Shuvaev , freebsd-usb@freebsd.org Subject: Re: USB4BSD release candidate number 3 - request for review 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, 06 Nov 2008 23:34:10 -0000 On Thursday 06 November 2008, Alexey Shuvaev wrote: > db_trace_self_wrapper() at db_trace_self_wrapper+0x2a > _witness_debugger() at _witness_debugger+0x49 > witness_checkorder() at witness_checkorder+0x7e6 > _sx_xlock() at _sx_xlock+0x44 > vm_map_lookup() at vm_map_lookup+0x47 > vm_fault() at vm_fault+0xfe > trap_pfault() at trap_pfault+0x1fa > trap() at trap+0x201 > calltrap() at calltrap+0x8 > --- trap 0xc, rip = 0xffffffff804b2466, rsp = 0xfffffffeba7f8ac0, rbp = > 0xfffffffeba7f8b00 --- bcopy() at bcopy+0x16 > usb2_bdma_pre_sync() at usb2_bdma_pre_sync+0x35 > usb2_bdma_work_loop() at usb2_bdma_work_loop+0x29b > usb2_command_wrapper() at usb2_command_wrapper+0x76 > usb2_callback_wrapper() at usb2_callback_wrapper+0xfd > usb2_command_wrapper() at usb2_command_wrapper+0x76 > usb2_callback_proc() at usb2_callback_proc+0x68 > usb2_process() at usb2_process+0xc0 Hi Alexey, This looks more like a busdma problem to me. "bcopy()" is called from within "bus_dmamap_sync()". Maybe you can figure out if it is the source or the destination address that fails? Looks like your system has started bouncing data to the 32-bit address range. --HPS From owner-freebsd-usb@FreeBSD.ORG Fri Nov 7 17:16:03 2008 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 04F431065678 for ; Fri, 7 Nov 2008 17:16:03 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe02.swip.net [212.247.154.33]) by mx1.freebsd.org (Postfix) with ESMTP id 6867B8FC16 for ; Fri, 7 Nov 2008 17:16:02 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=VLfjPRgBRswA:10 a=rrtfiAvdhsUA:10 a=d6BVkb5LuPPVEe4iNQMLyA==:17 a=6I5d2MoRAAAA:8 a=hpHmJRv9AZIXMfFRGDgA:9 a=lRfc625_aqeHjbPMkAEA:7 a=ILb6EuG8iX9tTxxcu42x0y8-IRMA:4 a=9aOQ2cSd83gA:10 a=SV7veod9ZcQA:10 a=plE8mkVoi54A:10 Received: from [62.113.135.6] (account mc467741@c2i.net [62.113.135.6] verified) by mailfe02.swip.net (CommuniGate Pro SMTP 5.2.6) with ESMTPA id 1146769358; Fri, 07 Nov 2008 18:16:01 +0100 Content-Disposition: inline From: Hans Petter Selasky To: Alexey Shuvaev , freebsd-usb@freebsd.org Date: Fri, 7 Nov 2008 18:18:06 +0100 User-Agent: KMail/1.9.7 MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200811071818.06953.hselasky@c2i.net> Cc: Subject: Fwd: Re: Kernel panic when copying data to umass device (USB4BSD) - problem found 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, 07 Nov 2008 17:16:03 -0000 ---------- Forwarded Message ---------- Subject: Re: Kernel panic when copying data to umass device (USB4BSD) - problem found Date: Friday 07 November 2008 From: Hans Petter Selasky To: freebsd-current@freebsd.org On Friday 07 November 2008, Jeremy Chadwick wrote: > Not sure if this is caused by problems with USB4BSD or not, as I can > reproduce it on RELENG_7 (but there, the kernel does not panic; it just > "wedges" in a loop/thread somewhere; SSH sessions remain up, but > commands running stop; hitting Ctrl-T shows them in all sorts of > different states, but the states never change; hitting Ctrl-Alt-Esc does > in fact drop me to db>). > Hi Jeremy, I've reproduced the issue with some mods to the usb2_busdma.c on 32-bit arcitecture and have made a fix for this problem. Try the following patch and re-test! Some mem-stick benchmarks would be nice ... My private SVN also has this patch in addition to P4. --HPS http://perforce.freebsd.org/chv.cgi?CH=152624 Fix some problems related to busdma: Need to unload DMA maps before re-use! Fix a corner case when loading zero bytes. Affected files ... .. //depot/projects/usb/src/sys/dev/usb2/core/usb2_busdma.c#10 edit Differences ... ==== //depot/projects/usb/src/sys/dev/usb2/core/usb2_busdma.c#10 (text+ko) ==== @@ -597,6 +597,12 @@ uptag = pc->tag_parent; /* + * We have to unload the previous loaded DMA + * pages before trying to load a new one! + */ + bus_dmamap_unload(pc->tag, pc->map); + + /* * Try to load memory into DMA. */ err = bus_dmamap_load( @@ -612,6 +618,12 @@ } else { /* + * We have to unload the previous loaded DMA + * pages before trying to load a new one! + */ + bus_dmamap_unload(pc->tag, pc->map); + + /* * Try to load memory into DMA. The callback * will be called in all cases: */ @@ -639,6 +651,10 @@ void usb2_pc_cpu_invalidate(struct usb2_page_cache *pc) { + if (pc->page_offset_end == pc->page_offset_buf) { + /* nothing has been loaded into this page cache! */ + return; + } bus_dmamap_sync(pc->tag, pc->map, BUS_DMASYNC_POSTWRITE | BUS_DMASYNC_POSTREAD); return; @@ -650,6 +666,10 @@ void usb2_pc_cpu_flush(struct usb2_page_cache *pc) { + if (pc->page_offset_end == pc->page_offset_buf) { + /* nothing has been loaded into this page cache! */ + return; + } bus_dmamap_sync(pc->tag, pc->map, BUS_DMASYNC_PREWRITE | BUS_DMASYNC_PREREAD); return; @@ -953,6 +973,12 @@ if (size > 0) { + /* + * We have to unload the previous loaded DMA + * pages before trying to load a new one! + */ + bus_dmamap_unload(pc->tag, pc->map); + /* try to load memory into DMA using using no wait option */ if (bus_dmamap_load(pc->tag, pc->map, pc->buffer, size, NULL, BUS_DMA_NOWAIT)) { @@ -990,6 +1016,10 @@ len = pc->page_offset_end - pc->page_offset_buf; + if (len == 0) { + /* nothing has been loaded into this page cache */ + return; + } bus_dmamap_sync(pc->tag, pc->map, 0, len, BUS_DMASYNC_POSTWRITE | BUS_DMASYNC_POSTREAD); return; @@ -1005,6 +1035,10 @@ len = pc->page_offset_end - pc->page_offset_buf; + if (len == 0) { + /* nothing has been loaded into this page cache */ + return; + } bus_dmamap_sync(pc->tag, pc->map, 0, len, BUS_DMASYNC_PREWRITE | BUS_DMASYNC_PREREAD); return; _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" ------------------------------------------------------- From owner-freebsd-usb@FreeBSD.ORG Fri Nov 7 19:19:32 2008 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 43938106568E; Fri, 7 Nov 2008 19:19:32 +0000 (UTC) (envelope-from shuvaev@physik.uni-wuerzburg.de) Received: from mailrelay.rz.uni-wuerzburg.de (mailrelay.rz.uni-wuerzburg.de [132.187.3.28]) by mx1.freebsd.org (Postfix) with ESMTP id E8F1A8FC20; Fri, 7 Nov 2008 19:19:31 +0000 (UTC) (envelope-from shuvaev@physik.uni-wuerzburg.de) Received: from virusscan.mail (localhost [127.0.0.1]) by mailrelay.mail (Postfix) with ESMTP id 2D5A7A075D; Fri, 7 Nov 2008 20:19:30 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by virusscan.mail (Postfix) with ESMTP id 1F559A0755; Fri, 7 Nov 2008 20:19:30 +0100 (CET) Received: from mail.physik.uni-wuerzburg.de (wthp192.physik.uni-wuerzburg.de [132.187.40.192]) by mailmaster.uni-wuerzburg.de (Postfix) with ESMTP id 0A41CA0742; Fri, 7 Nov 2008 20:19:30 +0100 (CET) Received: from localhost.my.domain ([132.187.37.59]) by mail.physik.uni-wuerzburg.de (Lotus Domino Release 8.0.2) with ESMTP id 2008110720192856-30725 ; Fri, 7 Nov 2008 20:19:28 +0100 Received: by localhost.my.domain (sSMTP sendmail emulation); Fri, 7 Nov 2008 20:19:35 +0100 Date: Fri, 7 Nov 2008 20:19:35 +0100 From: Alexey Shuvaev To: Hans Petter Selasky Message-ID: <20081107191935.GA51170@localhost.my.domain> References: <20081107082740.GA1334@icarus.home.lan> <200811071811.27181.hselasky@c2i.net> MIME-Version: 1.0 In-Reply-To: <200811071811.27181.hselasky@c2i.net> Organization: Universitaet Wuerzburg User-Agent: Mutt/1.5.18 (2008-05-17) X-MIMETrack: Itemize by SMTP Server on domino1/uni-wuerzburg(Release 8.0.2|August 07, 2008) at 11/07/2008 08:19:28 PM, Serialize by Router on domino1/uni-wuerzburg(Release 8.0.2|August 07, 2008) at 11/07/2008 08:19:29 PM, Serialize complete at 11/07/2008 08:19:29 PM Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Virus-Scanned: by amavisd-new at uni-wuerzburg.de Cc: freebsd-current@freebsd.org, freebsd-usb@freebsd.org Subject: Re: Kernel panic when copying data to umass device (USB4BSD) - problem found 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, 07 Nov 2008 19:19:32 -0000 On Fri, Nov 07, 2008 at 06:11:26PM +0100, Hans Petter Selasky wrote: > > Hi Jeremy, > > I've reproduced the issue with some mods to the usb2_busdma.c on 32-bit > arcitecture and have made a fix for this problem. > > Try the following patch and re-test! > Thanks a lot! I have rebuild the kernel with this patch > > http://perforce.freebsd.org/chv.cgi?CH=152624 > and so far no panics. Indeed, the system I am using is amd64 with 4Gb of RAM. > Some mem-stick benchmarks would be nice ... > What exactly do you mean? I have done: dd if=file_on_one_stick of=/dev/null bs=1m (12.5 Mb/s) dd if=/dev/random of=file_on_the_stick bs=1m count=128 (2.6 Mb/s) and the same tests with USB-microSDHC adapter with 8Gb card (20 MB/s read, 15 Mb/s write). Anything else? Alexey. From owner-freebsd-usb@FreeBSD.ORG Fri Nov 7 20:10:08 2008 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 A9C651065673 for ; Fri, 7 Nov 2008 20:10:08 +0000 (UTC) (envelope-from onemda@gmail.com) Received: from rn-out-0910.google.com (rn-out-0910.google.com [64.233.170.187]) by mx1.freebsd.org (Postfix) with ESMTP id 5909D8FC19 for ; Fri, 7 Nov 2008 20:10:07 +0000 (UTC) (envelope-from onemda@gmail.com) Received: by rn-out-0910.google.com with SMTP id j71so1074835rne.12 for ; Fri, 07 Nov 2008 12:10:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=Kb4OWy01uPKIFSuk/gqfQ+WM+zfMM42iVgbMOWKtj0M=; b=yHMAdzAYDEtT4SvjnnVdxGR+Grha3SJsDFtlzE2Vf58GM87TXV/1OSJzypsksqf8S8 94zHiUVa/LOp7VEShjODqd1Q4f3Pg49FWdW7eNv/evdFwraQHzb0TI6gvi+nkj+Di4rw qMJ8lg2v+WO+mUYP56Lo24dmhv/lpDK+dAFtw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=jdFMmLT2UtX+mnwniCceSFbLqRhFPVcs+J1C/M1DPxqq9UXaLPoIptUmdeVXq8D/ej 0qDLWrfKFwijMsGEUsLrLCTprVL+z99UsUEgioM69vA62FNHtlNjX0LJvY2pybBszr+8 O0blmpjJDqOdP3yANaqa2qkAT8mFueHy9RveA= Received: by 10.64.151.14 with SMTP id y14mr4399976qbd.93.1226088141977; Fri, 07 Nov 2008 12:02:21 -0800 (PST) Received: by 10.65.216.9 with HTTP; Fri, 7 Nov 2008 12:02:21 -0800 (PST) Message-ID: <3a142e750811071202h765c64a0g820db4fe54ec9b4f@mail.gmail.com> Date: Fri, 7 Nov 2008 21:02:21 +0100 From: "Paul B. Mahol" To: "Hans Petter Selasky" In-Reply-To: <3a142e750811071154y5108f299h60bb7c1060f4567e@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200810251925.47273.hselasky@c2i.net> <20081106191230.GA47600@wep4035.physik.uni-wuerzburg.de> <20081106210300.GA1595@wep4035.physik.uni-wuerzburg.de> <200811070036.15816.hselasky@c2i.net> <3a142e750811071154y5108f299h60bb7c1060f4567e@mail.gmail.com> Cc: freebsd-current@freebsd.org, freebsd-usb@freebsd.org Subject: Re: USB4BSD release candidate number 3 - request for review 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, 07 Nov 2008 20:10:08 -0000 On 11/7/08, Paul B. Mahol wrote: > On recent CURRENT when attaching rum card, strange bug appear: > > usb2_alloc_device:1417: set address 2 failed (ignored) > usb2_alloc_device:1452: getting device descriptor at addr 2 failed! > uhub_reattach_port:401: could not allocate new device! > > uhub_reattach_port:355: port 5 reset failed, error=USB_ERR_TIMEOUT > uhub_reattach_port:421: device problem (USB_ERR_TIMEOUT), disabling port 5 > uhub_reattach_port:370: giving up port reset - device vanished! > uhub_reattach_port:370: giving up port reset - device vanished! > uhub_reattach_port:370: giving up port reset - device vanished! > uhub_reattach_port:370: giving up port reset - device vanished! > uhub_reattach_port:370: giving up port reset - device vanished! > uhub_reattach_port:370: giving up port reset - device vanished! > uhub_reattach_port:370: giving up port reset - device vanished! > uhub_reattach_port:370: giving up port reset - device vanished! > uhub_reattach_port:355: port 5 reset failed, error=USB_ERR_TIMEOUT > uhub_reattach_port:421: device problem (USB_ERR_TIMEOUT), disabling port 5 > uhub_reattach_port:370: giving up port reset - device vanished! > usb2_alloc_device:1417: set address 2 failed (ignored) > usb2_alloc_device:1452: getting device descriptor at addr 2 failed! > uhub_reattach_port:401: could not allocate new device! > > usb2_alloc_device:1417: set address 2 failed (ignored) > usb2_alloc_device:1452: getting device descriptor at addr 2 failed! > uhub_reattach_port:401: could not allocate new device! > > But not so old one from svn was working fine. > >> kldstat > Id Refs Address Size Name > 1 155 0xc0400000 51f700 kernel (/boot/kernel/kernel) > 2 2 0xc0920000 51bb0 sound.ko (/boot/kernel/sound.ko) > 3 1 0xc0972000 1a5e0 snd_hda.ko (/boot/kernel/snd_hda.ko) > 4 2 0xc098d000 18170 agp.ko (/boot/kernel/agp.ko) > 5 1 0xc09a6000 c3fc random.ko (/boot/kernel/random.ko) > 6 2 0xc09b3000 16b14 drm.ko (/boot/kernel/drm.ko) > 7 1 0xc09ca000 af9c i915.ko (/boot/kernel/i915.ko) > 8 5 0xc09d5000 e3cc ata.ko (/boot/kernel/ata.ko) > 9 2 0xc09e4000 5230 ataahci.ko (/boot/kernel/ataahci.ko) > 10 3 0xc09ea000 88b0 atapci.ko (/boot/kernel/atapci.ko) > 11 1 0xc09f3000 4638 atadisk.ko (/boot/kernel/atadisk.ko) > 12 1 0xc09f8000 5834 ataintel.ko (/boot/kernel/ataintel.ko) > 13 1 0xc09fe000 be08 cpufreq.ko (/boot/kernel/cpufreq.ko) > 14 1 0xc0a0a000 4dc8 sysvmsg.ko (/boot/kernel/sysvmsg.ko) > 15 1 0xc0a0f000 5e9c sysvsem.ko (/boot/kernel/sysvsem.ko) > 16 1 0xc0a15000 5034 sysvshm.ko (/boot/kernel/sysvshm.ko) > 17 1 0xc0a1b000 6b974 acpi.ko (/boot/kernel/acpi.ko) > 18 9 0xc462c000 35000 usb2_core.ko (/boot/kernel/usb2_core.ko) > 19 4 0xc46eb000 3000 usb2_controller.ko > (/boot/kernel/usb2_controller.ko) > 20 1 0xc46f8000 a000 usb2_controller_uhci.ko > (/boot/kernel/usb2_controller_uhci.ko) > 21 1 0xc474e000 c000 usb2_controller_ehci.ko > (/boot/kernel/usb2_controller_ehci.ko) > 22 1 0xc477b000 a000 usb2_controller_ohci.ko > (/boot/kernel/usb2_controller_ohci.ko) > 23 1 0xc47a8000 a000 usb2_storage_mass.ko > (/boot/kernel/usb2_storage_mass.ko) > 24 1 0xc47b2000 43000 cam.ko (/boot/kernel/cam.ko) > 25 1 0xc47fe000 2000 usb2_storage.ko (/boot/kernel/usb2_storage.ko) > 26 1 0xc4800000 a000 usb2_wlan_rum.ko (/boot/kernel/usb2_wlan_rum.ko) > 27 1 0xc480a000 2000 wlan_amrr.ko (/boot/kernel/wlan_amrr.ko) > 28 4 0xc480c000 34000 wlan.ko (/boot/kernel/wlan.ko) > 29 1 0xc4849000 2000 usb2_wlan.ko (/boot/kernel/usb2_wlan.ko) > After some time it will appear but will start attaching and dettaching all the time: ugen4.2: at usbus4 rum0: on usbus4 rum0: MAC/BBP RT2573 (rev 0x2573a), RF RT2528 rum0: at ushub4, port 6, addr 2 (disconnected) rum0: detached ugen4.2: at usbus4 rum0: on usbus4 rum0: MAC/BBP RT2573 (rev 0x2573a), RF RT2528 rum0: at ushub4, port 6, addr 2 (disconnected) rum0: detached ugen2.2: at usbus2 rum0: on usbus2 rum0: MAC/BBP RT2573 (rev 0x2573a), RF RT2528 rum0: at ushub2, port 2, addr 2 (disconnected) rum0: detached From owner-freebsd-usb@FreeBSD.ORG Fri Nov 7 20:18:38 2008 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 75D021065689; Fri, 7 Nov 2008 20:18:38 +0000 (UTC) (envelope-from onemda@gmail.com) Received: from yw-out-2324.google.com (yw-out-2324.google.com [74.125.46.31]) by mx1.freebsd.org (Postfix) with ESMTP id 09A7F8FC1F; Fri, 7 Nov 2008 20:18:37 +0000 (UTC) (envelope-from onemda@gmail.com) Received: by yw-out-2324.google.com with SMTP id 9so580050ywe.13 for ; Fri, 07 Nov 2008 12:18:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=df1+vGSN4iMF3jFEVPxgXIUEIk9ty4k40KmIQJ/CmNY=; b=QgVw9QNX7+YO4GEfcMmOiHjf8z5F7RcmAGOETW1z2Y4EAOYWFBLlqnRJp00RgiMx4r oyrNdQwUOue9irtXwVI+CvrfQUhxdpcmjZ1EuNLWn+qdk6/tD3eKZEI+ZZk2JvaL71I7 EJdQ57MgJ1y86934G2Mjf/26TMTzIQVeUwAj8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=Nj3tpXZ3st7+d2lDc4CKjGCA72wje8WjXoqm/cVobnaShsCTt4H3Gj9VHe9qhBTLv0 0fmZGvMtIlb1w6lGVpUIMvVxqEJ7urhPfkTWH9VPF5iUpjcRq8wATbDiWZLlRO5r4hEF VHS4H/BG970nFFGHFnrX3ZeA9GAFg8otR74O0= Received: by 10.65.93.19 with SMTP id v19mr4413010qbl.74.1226089116838; Fri, 07 Nov 2008 12:18:36 -0800 (PST) Received: by 10.65.216.9 with HTTP; Fri, 7 Nov 2008 12:18:36 -0800 (PST) Message-ID: <3a142e750811071218q7c104687j9b55572319ddb5df@mail.gmail.com> Date: Fri, 7 Nov 2008 21:18:36 +0100 From: "Paul B. Mahol" To: "Hans Petter Selasky" In-Reply-To: <3a142e750811071202h765c64a0g820db4fe54ec9b4f@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200810251925.47273.hselasky@c2i.net> <20081106191230.GA47600@wep4035.physik.uni-wuerzburg.de> <20081106210300.GA1595@wep4035.physik.uni-wuerzburg.de> <200811070036.15816.hselasky@c2i.net> <3a142e750811071154y5108f299h60bb7c1060f4567e@mail.gmail.com> <3a142e750811071202h765c64a0g820db4fe54ec9b4f@mail.gmail.com> Cc: freebsd-current@freebsd.org, freebsd-usb@freebsd.org Subject: Re: USB4BSD release candidate number 3 - request for review 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, 07 Nov 2008 20:18:38 -0000 On 11/7/08, Paul B. Mahol wrote: > On 11/7/08, Paul B. Mahol wrote: >> On recent CURRENT when attaching rum card, strange bug appear: >> >> usb2_alloc_device:1417: set address 2 failed (ignored) >> usb2_alloc_device:1452: getting device descriptor at addr 2 failed! >> uhub_reattach_port:401: could not allocate new device! >> >> uhub_reattach_port:355: port 5 reset failed, error=USB_ERR_TIMEOUT >> uhub_reattach_port:421: device problem (USB_ERR_TIMEOUT), disabling port 5 >> uhub_reattach_port:370: giving up port reset - device vanished! >> uhub_reattach_port:370: giving up port reset - device vanished! >> uhub_reattach_port:370: giving up port reset - device vanished! >> uhub_reattach_port:370: giving up port reset - device vanished! >> uhub_reattach_port:370: giving up port reset - device vanished! >> uhub_reattach_port:370: giving up port reset - device vanished! >> uhub_reattach_port:370: giving up port reset - device vanished! >> uhub_reattach_port:370: giving up port reset - device vanished! >> uhub_reattach_port:355: port 5 reset failed, error=USB_ERR_TIMEOUT >> uhub_reattach_port:421: device problem (USB_ERR_TIMEOUT), disabling port 5 >> uhub_reattach_port:370: giving up port reset - device vanished! >> usb2_alloc_device:1417: set address 2 failed (ignored) >> usb2_alloc_device:1452: getting device descriptor at addr 2 failed! >> uhub_reattach_port:401: could not allocate new device! >> >> usb2_alloc_device:1417: set address 2 failed (ignored) >> usb2_alloc_device:1452: getting device descriptor at addr 2 failed! >> uhub_reattach_port:401: could not allocate new device! >> >> But not so old one from svn was working fine. >> >>> kldstat >> Id Refs Address Size Name >> 1 155 0xc0400000 51f700 kernel (/boot/kernel/kernel) >> 2 2 0xc0920000 51bb0 sound.ko (/boot/kernel/sound.ko) >> 3 1 0xc0972000 1a5e0 snd_hda.ko (/boot/kernel/snd_hda.ko) >> 4 2 0xc098d000 18170 agp.ko (/boot/kernel/agp.ko) >> 5 1 0xc09a6000 c3fc random.ko (/boot/kernel/random.ko) >> 6 2 0xc09b3000 16b14 drm.ko (/boot/kernel/drm.ko) >> 7 1 0xc09ca000 af9c i915.ko (/boot/kernel/i915.ko) >> 8 5 0xc09d5000 e3cc ata.ko (/boot/kernel/ata.ko) >> 9 2 0xc09e4000 5230 ataahci.ko (/boot/kernel/ataahci.ko) >> 10 3 0xc09ea000 88b0 atapci.ko (/boot/kernel/atapci.ko) >> 11 1 0xc09f3000 4638 atadisk.ko (/boot/kernel/atadisk.ko) >> 12 1 0xc09f8000 5834 ataintel.ko (/boot/kernel/ataintel.ko) >> 13 1 0xc09fe000 be08 cpufreq.ko (/boot/kernel/cpufreq.ko) >> 14 1 0xc0a0a000 4dc8 sysvmsg.ko (/boot/kernel/sysvmsg.ko) >> 15 1 0xc0a0f000 5e9c sysvsem.ko (/boot/kernel/sysvsem.ko) >> 16 1 0xc0a15000 5034 sysvshm.ko (/boot/kernel/sysvshm.ko) >> 17 1 0xc0a1b000 6b974 acpi.ko (/boot/kernel/acpi.ko) >> 18 9 0xc462c000 35000 usb2_core.ko (/boot/kernel/usb2_core.ko) >> 19 4 0xc46eb000 3000 usb2_controller.ko >> (/boot/kernel/usb2_controller.ko) >> 20 1 0xc46f8000 a000 usb2_controller_uhci.ko >> (/boot/kernel/usb2_controller_uhci.ko) >> 21 1 0xc474e000 c000 usb2_controller_ehci.ko >> (/boot/kernel/usb2_controller_ehci.ko) >> 22 1 0xc477b000 a000 usb2_controller_ohci.ko >> (/boot/kernel/usb2_controller_ohci.ko) >> 23 1 0xc47a8000 a000 usb2_storage_mass.ko >> (/boot/kernel/usb2_storage_mass.ko) >> 24 1 0xc47b2000 43000 cam.ko (/boot/kernel/cam.ko) >> 25 1 0xc47fe000 2000 usb2_storage.ko (/boot/kernel/usb2_storage.ko) >> 26 1 0xc4800000 a000 usb2_wlan_rum.ko >> (/boot/kernel/usb2_wlan_rum.ko) >> 27 1 0xc480a000 2000 wlan_amrr.ko (/boot/kernel/wlan_amrr.ko) >> 28 4 0xc480c000 34000 wlan.ko (/boot/kernel/wlan.ko) >> 29 1 0xc4849000 2000 usb2_wlan.ko (/boot/kernel/usb2_wlan.ko) >> > > After some time it will appear but will start attaching and dettaching > all the time: > > ugen4.2: at usbus4 > rum0: on usbus4 > rum0: MAC/BBP RT2573 (rev 0x2573a), RF RT2528 > rum0: at ushub4, port 6, addr 2 (disconnected) > rum0: detached > ugen4.2: at usbus4 > rum0: on usbus4 > rum0: MAC/BBP RT2573 (rev 0x2573a), RF RT2528 > rum0: at ushub4, port 6, addr 2 (disconnected) > rum0: detached > ugen2.2: at usbus2 > rum0: on usbus2 > rum0: MAC/BBP RT2573 (rev 0x2573a), RF RT2528 > rum0: at ushub2, port 2, addr 2 (disconnected) > rum0: detached > Looks like some code is missing because loading only usb2_wlan_rum do not load ehci and uhci usb2 modules. (causing card to not attach) I managed to get card working with usb2_controller_uhci and usb2_controller_ehci loaded. (without ohci) From owner-freebsd-usb@FreeBSD.ORG Fri Nov 7 20:23:47 2008 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 470AC106568F; Fri, 7 Nov 2008 20:23:47 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id C35868FC24; Fri, 7 Nov 2008 20:23:46 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.14.2/8.14.1) with ESMTP id mA7KMjWM078662; Fri, 7 Nov 2008 13:22:45 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Fri, 07 Nov 2008 13:24:01 -0700 (MST) Message-Id: <20081107.132401.1622434515.imp@bsdimp.com> To: onemda@gmail.com From: "M. Warner Losh" In-Reply-To: <3a142e750811071218q7c104687j9b55572319ddb5df@mail.gmail.com> References: <3a142e750811071154y5108f299h60bb7c1060f4567e@mail.gmail.com> <3a142e750811071202h765c64a0g820db4fe54ec9b4f@mail.gmail.com> <3a142e750811071218q7c104687j9b55572319ddb5df@mail.gmail.com> X-Mailer: Mew version 5.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-current@FreeBSD.org, freebsd-usb@FreeBSD.org Subject: Re: USB4BSD release candidate number 3 - request for review 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, 07 Nov 2008 20:23:47 -0000 In message: <3a142e750811071218q7c104687j9b55572319ddb5df@mail.gmail.com> "Paul B. Mahol" writes: : On 11/7/08, Paul B. Mahol wrote: : > On 11/7/08, Paul B. Mahol wrote: : >> On recent CURRENT when attaching rum card, strange bug appear: : >> : >> usb2_alloc_device:1417: set address 2 failed (ignored) : >> usb2_alloc_device:1452: getting device descriptor at addr 2 failed! : >> uhub_reattach_port:401: could not allocate new device! : >> : >> uhub_reattach_port:355: port 5 reset failed, error=USB_ERR_TIMEOUT : >> uhub_reattach_port:421: device problem (USB_ERR_TIMEOUT), disabling port 5 : >> uhub_reattach_port:370: giving up port reset - device vanished! : >> uhub_reattach_port:370: giving up port reset - device vanished! : >> uhub_reattach_port:370: giving up port reset - device vanished! : >> uhub_reattach_port:370: giving up port reset - device vanished! : >> uhub_reattach_port:370: giving up port reset - device vanished! : >> uhub_reattach_port:370: giving up port reset - device vanished! : >> uhub_reattach_port:370: giving up port reset - device vanished! : >> uhub_reattach_port:370: giving up port reset - device vanished! : >> uhub_reattach_port:355: port 5 reset failed, error=USB_ERR_TIMEOUT : >> uhub_reattach_port:421: device problem (USB_ERR_TIMEOUT), disabling port 5 : >> uhub_reattach_port:370: giving up port reset - device vanished! : >> usb2_alloc_device:1417: set address 2 failed (ignored) : >> usb2_alloc_device:1452: getting device descriptor at addr 2 failed! : >> uhub_reattach_port:401: could not allocate new device! : >> : >> usb2_alloc_device:1417: set address 2 failed (ignored) : >> usb2_alloc_device:1452: getting device descriptor at addr 2 failed! : >> uhub_reattach_port:401: could not allocate new device! : >> : >> But not so old one from svn was working fine. : >> : >>> kldstat : >> Id Refs Address Size Name : >> 1 155 0xc0400000 51f700 kernel (/boot/kernel/kernel) : >> 2 2 0xc0920000 51bb0 sound.ko (/boot/kernel/sound.ko) : >> 3 1 0xc0972000 1a5e0 snd_hda.ko (/boot/kernel/snd_hda.ko) : >> 4 2 0xc098d000 18170 agp.ko (/boot/kernel/agp.ko) : >> 5 1 0xc09a6000 c3fc random.ko (/boot/kernel/random.ko) : >> 6 2 0xc09b3000 16b14 drm.ko (/boot/kernel/drm.ko) : >> 7 1 0xc09ca000 af9c i915.ko (/boot/kernel/i915.ko) : >> 8 5 0xc09d5000 e3cc ata.ko (/boot/kernel/ata.ko) : >> 9 2 0xc09e4000 5230 ataahci.ko (/boot/kernel/ataahci.ko) : >> 10 3 0xc09ea000 88b0 atapci.ko (/boot/kernel/atapci.ko) : >> 11 1 0xc09f3000 4638 atadisk.ko (/boot/kernel/atadisk.ko) : >> 12 1 0xc09f8000 5834 ataintel.ko (/boot/kernel/ataintel.ko) : >> 13 1 0xc09fe000 be08 cpufreq.ko (/boot/kernel/cpufreq.ko) : >> 14 1 0xc0a0a000 4dc8 sysvmsg.ko (/boot/kernel/sysvmsg.ko) : >> 15 1 0xc0a0f000 5e9c sysvsem.ko (/boot/kernel/sysvsem.ko) : >> 16 1 0xc0a15000 5034 sysvshm.ko (/boot/kernel/sysvshm.ko) : >> 17 1 0xc0a1b000 6b974 acpi.ko (/boot/kernel/acpi.ko) : >> 18 9 0xc462c000 35000 usb2_core.ko (/boot/kernel/usb2_core.ko) : >> 19 4 0xc46eb000 3000 usb2_controller.ko : >> (/boot/kernel/usb2_controller.ko) : >> 20 1 0xc46f8000 a000 usb2_controller_uhci.ko : >> (/boot/kernel/usb2_controller_uhci.ko) : >> 21 1 0xc474e000 c000 usb2_controller_ehci.ko : >> (/boot/kernel/usb2_controller_ehci.ko) : >> 22 1 0xc477b000 a000 usb2_controller_ohci.ko : >> (/boot/kernel/usb2_controller_ohci.ko) : >> 23 1 0xc47a8000 a000 usb2_storage_mass.ko : >> (/boot/kernel/usb2_storage_mass.ko) : >> 24 1 0xc47b2000 43000 cam.ko (/boot/kernel/cam.ko) : >> 25 1 0xc47fe000 2000 usb2_storage.ko (/boot/kernel/usb2_storage.ko) : >> 26 1 0xc4800000 a000 usb2_wlan_rum.ko : >> (/boot/kernel/usb2_wlan_rum.ko) : >> 27 1 0xc480a000 2000 wlan_amrr.ko (/boot/kernel/wlan_amrr.ko) : >> 28 4 0xc480c000 34000 wlan.ko (/boot/kernel/wlan.ko) : >> 29 1 0xc4849000 2000 usb2_wlan.ko (/boot/kernel/usb2_wlan.ko) : >> : > : > After some time it will appear but will start attaching and dettaching : > all the time: : > : > ugen4.2: at usbus4 : > rum0: on usbus4 : > rum0: MAC/BBP RT2573 (rev 0x2573a), RF RT2528 : > rum0: at ushub4, port 6, addr 2 (disconnected) : > rum0: detached : > ugen4.2: at usbus4 : > rum0: on usbus4 : > rum0: MAC/BBP RT2573 (rev 0x2573a), RF RT2528 : > rum0: at ushub4, port 6, addr 2 (disconnected) : > rum0: detached : > ugen2.2: at usbus2 : > rum0: on usbus2 : > rum0: MAC/BBP RT2573 (rev 0x2573a), RF RT2528 : > rum0: at ushub2, port 2, addr 2 (disconnected) : > rum0: detached : > : : Looks like some code is missing because loading only usb2_wlan_rum do : not load ehci and uhci usb2 modules. (causing card to not attach) : : I managed to get card working with usb2_controller_uhci and : usb2_controller_ehci loaded. (without ohci) That's not a bug. Warner From owner-freebsd-usb@FreeBSD.ORG Fri Nov 7 20:27:27 2008 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 9480B1065672 for ; Fri, 7 Nov 2008 20:27:27 +0000 (UTC) (envelope-from onemda@gmail.com) Received: from hs-out-0708.google.com (hs-out-0708.google.com [64.233.178.244]) by mx1.freebsd.org (Postfix) with ESMTP id 429448FC23 for ; Fri, 7 Nov 2008 20:27:27 +0000 (UTC) (envelope-from onemda@gmail.com) Received: by hs-out-0708.google.com with SMTP id 54so634919hsz.11 for ; Fri, 07 Nov 2008 12:27:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=HNKu5NGycgPk2DRurARYA7O86Fshkoe3jRkcKWKX6nM=; b=YK80j31rUPSXxOuIs8+0vuiEvy6mL7EWLmOecqxVy9yUpOLUn0ghnYDW8zQs6DLXrm bsxC4IfTcZycacoFgkt8JQp8XSz6q2vUaZy8qqFLlZFuqXuCDFEwd3CwQrCGc4MQq5H3 gXQJhRLqPny9eG0t1hKqfBtcbcK3ynDhamwLY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=DKap26KhK5XfEk/Cc4igDM7vnDO6pm0WYMVW+yThi7JJcowsGxQ8XISDWgNtvmdKHS crLMZa29XoCHWONHS9/Ul7Xpmw1qy2lCDQvdoRu3+Xs55/E/6Uo3ghG+bnvnlYsd3/K/ EooXhaJKI0l4yiM0c3saT/XX6PaKyaDs/mMYM= Received: by 10.64.183.6 with SMTP id g6mr4392986qbf.17.1226087697266; Fri, 07 Nov 2008 11:54:57 -0800 (PST) Received: by 10.65.216.9 with HTTP; Fri, 7 Nov 2008 11:54:57 -0800 (PST) Message-ID: <3a142e750811071154y5108f299h60bb7c1060f4567e@mail.gmail.com> Date: Fri, 7 Nov 2008 20:54:57 +0100 From: "Paul B. Mahol" To: "Hans Petter Selasky" In-Reply-To: <200811070036.15816.hselasky@c2i.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200810251925.47273.hselasky@c2i.net> <20081106191230.GA47600@wep4035.physik.uni-wuerzburg.de> <20081106210300.GA1595@wep4035.physik.uni-wuerzburg.de> <200811070036.15816.hselasky@c2i.net> Cc: freebsd-current@freebsd.org, freebsd-usb@freebsd.org Subject: Re: USB4BSD release candidate number 3 - request for review 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, 07 Nov 2008 20:27:27 -0000 On recent CURRENT when attaching rum card, strange bug appear: usb2_alloc_device:1417: set address 2 failed (ignored) usb2_alloc_device:1452: getting device descriptor at addr 2 failed! uhub_reattach_port:401: could not allocate new device! uhub_reattach_port:355: port 5 reset failed, error=USB_ERR_TIMEOUT uhub_reattach_port:421: device problem (USB_ERR_TIMEOUT), disabling port 5 uhub_reattach_port:370: giving up port reset - device vanished! uhub_reattach_port:370: giving up port reset - device vanished! uhub_reattach_port:370: giving up port reset - device vanished! uhub_reattach_port:370: giving up port reset - device vanished! uhub_reattach_port:370: giving up port reset - device vanished! uhub_reattach_port:370: giving up port reset - device vanished! uhub_reattach_port:370: giving up port reset - device vanished! uhub_reattach_port:370: giving up port reset - device vanished! uhub_reattach_port:355: port 5 reset failed, error=USB_ERR_TIMEOUT uhub_reattach_port:421: device problem (USB_ERR_TIMEOUT), disabling port 5 uhub_reattach_port:370: giving up port reset - device vanished! usb2_alloc_device:1417: set address 2 failed (ignored) usb2_alloc_device:1452: getting device descriptor at addr 2 failed! uhub_reattach_port:401: could not allocate new device! usb2_alloc_device:1417: set address 2 failed (ignored) usb2_alloc_device:1452: getting device descriptor at addr 2 failed! uhub_reattach_port:401: could not allocate new device! But not so old one from svn was working fine. > kldstat Id Refs Address Size Name 1 155 0xc0400000 51f700 kernel (/boot/kernel/kernel) 2 2 0xc0920000 51bb0 sound.ko (/boot/kernel/sound.ko) 3 1 0xc0972000 1a5e0 snd_hda.ko (/boot/kernel/snd_hda.ko) 4 2 0xc098d000 18170 agp.ko (/boot/kernel/agp.ko) 5 1 0xc09a6000 c3fc random.ko (/boot/kernel/random.ko) 6 2 0xc09b3000 16b14 drm.ko (/boot/kernel/drm.ko) 7 1 0xc09ca000 af9c i915.ko (/boot/kernel/i915.ko) 8 5 0xc09d5000 e3cc ata.ko (/boot/kernel/ata.ko) 9 2 0xc09e4000 5230 ataahci.ko (/boot/kernel/ataahci.ko) 10 3 0xc09ea000 88b0 atapci.ko (/boot/kernel/atapci.ko) 11 1 0xc09f3000 4638 atadisk.ko (/boot/kernel/atadisk.ko) 12 1 0xc09f8000 5834 ataintel.ko (/boot/kernel/ataintel.ko) 13 1 0xc09fe000 be08 cpufreq.ko (/boot/kernel/cpufreq.ko) 14 1 0xc0a0a000 4dc8 sysvmsg.ko (/boot/kernel/sysvmsg.ko) 15 1 0xc0a0f000 5e9c sysvsem.ko (/boot/kernel/sysvsem.ko) 16 1 0xc0a15000 5034 sysvshm.ko (/boot/kernel/sysvshm.ko) 17 1 0xc0a1b000 6b974 acpi.ko (/boot/kernel/acpi.ko) 18 9 0xc462c000 35000 usb2_core.ko (/boot/kernel/usb2_core.ko) 19 4 0xc46eb000 3000 usb2_controller.ko (/boot/kernel/usb2_controller.ko) 20 1 0xc46f8000 a000 usb2_controller_uhci.ko (/boot/kernel/usb2_controller_uhci.ko) 21 1 0xc474e000 c000 usb2_controller_ehci.ko (/boot/kernel/usb2_controller_ehci.ko) 22 1 0xc477b000 a000 usb2_controller_ohci.ko (/boot/kernel/usb2_controller_ohci.ko) 23 1 0xc47a8000 a000 usb2_storage_mass.ko (/boot/kernel/usb2_storage_mass.ko) 24 1 0xc47b2000 43000 cam.ko (/boot/kernel/cam.ko) 25 1 0xc47fe000 2000 usb2_storage.ko (/boot/kernel/usb2_storage.ko) 26 1 0xc4800000 a000 usb2_wlan_rum.ko (/boot/kernel/usb2_wlan_rum.ko) 27 1 0xc480a000 2000 wlan_amrr.ko (/boot/kernel/wlan_amrr.ko) 28 4 0xc480c000 34000 wlan.ko (/boot/kernel/wlan.ko) 29 1 0xc4849000 2000 usb2_wlan.ko (/boot/kernel/usb2_wlan.ko) From owner-freebsd-usb@FreeBSD.ORG Fri Nov 7 20:29:02 2008 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 F01DC106568A; Fri, 7 Nov 2008 20:29:02 +0000 (UTC) (envelope-from onemda@gmail.com) Received: from yw-out-2324.google.com (yw-out-2324.google.com [74.125.46.29]) by mx1.freebsd.org (Postfix) with ESMTP id 832DE8FC1B; Fri, 7 Nov 2008 20:29:02 +0000 (UTC) (envelope-from onemda@gmail.com) Received: by yw-out-2324.google.com with SMTP id 9so581687ywe.13 for ; Fri, 07 Nov 2008 12:29:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=FQVWnTQdnlOb2EnM5IcsPRoBxcRNdDORXu93muqMi6U=; b=sQw2Fr9PBTi83XICByEgI14LEtzPtC8BtmvvboJTjzimlNdAaa4bq+fEQyKAVBWlvY 7tZM2UDyU1W1/0TyEU+EEE9gEdN8u8e5ztbnJtIWqmGjw16Lr+TzCj1LJLUA26oi8aJB sElT4QTsYVWJkrMIpfUzAM9uRLZV+OQRvEYw4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=NWIIJxD0BYQEGMurmBKCnpn9gc9GJBFnQ8uQZnUxbaw5iAEVbVThnCrejmI9fsl2Wo II0Qo2kPBfgafkAW7DAcJujFq+S18Y7ai2uekTut7l5X3+NJHGOlnfsHRf0rFNgVB0u3 3MsRsO+aC5EMncuCCkPuWb//hF18Itr/3a44Y= Received: by 10.64.76.15 with SMTP id y15mr4417089qba.97.1226089741657; Fri, 07 Nov 2008 12:29:01 -0800 (PST) Received: by 10.65.216.9 with HTTP; Fri, 7 Nov 2008 12:29:01 -0800 (PST) Message-ID: <3a142e750811071229r6d452b28t7979ab08e1c90d71@mail.gmail.com> Date: Fri, 7 Nov 2008 21:29:01 +0100 From: "Paul B. Mahol" To: "M. Warner Losh" In-Reply-To: <20081107.132401.1622434515.imp@bsdimp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <3a142e750811071154y5108f299h60bb7c1060f4567e@mail.gmail.com> <3a142e750811071202h765c64a0g820db4fe54ec9b4f@mail.gmail.com> <3a142e750811071218q7c104687j9b55572319ddb5df@mail.gmail.com> <20081107.132401.1622434515.imp@bsdimp.com> Cc: freebsd-current@freebsd.org, freebsd-usb@freebsd.org Subject: Re: USB4BSD release candidate number 3 - request for review 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, 07 Nov 2008 20:29:03 -0000 On 11/7/08, M. Warner Losh wrote: > In message: <3a142e750811071218q7c104687j9b55572319ddb5df@mail.gmail.com> > "Paul B. Mahol" writes: > : On 11/7/08, Paul B. Mahol wrote: > : > On 11/7/08, Paul B. Mahol wrote: > : >> On recent CURRENT when attaching rum card, strange bug appear: > : >> > : >> usb2_alloc_device:1417: set address 2 failed (ignored) > : >> usb2_alloc_device:1452: getting device descriptor at addr 2 failed! > : >> uhub_reattach_port:401: could not allocate new device! > : >> > : >> uhub_reattach_port:355: port 5 reset failed, error=USB_ERR_TIMEOUT > : >> uhub_reattach_port:421: device problem (USB_ERR_TIMEOUT), disabling > port 5 > : >> uhub_reattach_port:370: giving up port reset - device vanished! > : >> uhub_reattach_port:370: giving up port reset - device vanished! > : >> uhub_reattach_port:370: giving up port reset - device vanished! > : >> uhub_reattach_port:370: giving up port reset - device vanished! > : >> uhub_reattach_port:370: giving up port reset - device vanished! > : >> uhub_reattach_port:370: giving up port reset - device vanished! > : >> uhub_reattach_port:370: giving up port reset - device vanished! > : >> uhub_reattach_port:370: giving up port reset - device vanished! > : >> uhub_reattach_port:355: port 5 reset failed, error=USB_ERR_TIMEOUT > : >> uhub_reattach_port:421: device problem (USB_ERR_TIMEOUT), disabling > port 5 > : >> uhub_reattach_port:370: giving up port reset - device vanished! > : >> usb2_alloc_device:1417: set address 2 failed (ignored) > : >> usb2_alloc_device:1452: getting device descriptor at addr 2 failed! > : >> uhub_reattach_port:401: could not allocate new device! > : >> > : >> usb2_alloc_device:1417: set address 2 failed (ignored) > : >> usb2_alloc_device:1452: getting device descriptor at addr 2 failed! > : >> uhub_reattach_port:401: could not allocate new device! > : >> > : >> But not so old one from svn was working fine. > : >> > : >>> kldstat > : >> Id Refs Address Size Name > : >> 1 155 0xc0400000 51f700 kernel (/boot/kernel/kernel) > : >> 2 2 0xc0920000 51bb0 sound.ko (/boot/kernel/sound.ko) > : >> 3 1 0xc0972000 1a5e0 snd_hda.ko (/boot/kernel/snd_hda.ko) > : >> 4 2 0xc098d000 18170 agp.ko (/boot/kernel/agp.ko) > : >> 5 1 0xc09a6000 c3fc random.ko (/boot/kernel/random.ko) > : >> 6 2 0xc09b3000 16b14 drm.ko (/boot/kernel/drm.ko) > : >> 7 1 0xc09ca000 af9c i915.ko (/boot/kernel/i915.ko) > : >> 8 5 0xc09d5000 e3cc ata.ko (/boot/kernel/ata.ko) > : >> 9 2 0xc09e4000 5230 ataahci.ko (/boot/kernel/ataahci.ko) > : >> 10 3 0xc09ea000 88b0 atapci.ko (/boot/kernel/atapci.ko) > : >> 11 1 0xc09f3000 4638 atadisk.ko (/boot/kernel/atadisk.ko) > : >> 12 1 0xc09f8000 5834 ataintel.ko (/boot/kernel/ataintel.ko) > : >> 13 1 0xc09fe000 be08 cpufreq.ko (/boot/kernel/cpufreq.ko) > : >> 14 1 0xc0a0a000 4dc8 sysvmsg.ko (/boot/kernel/sysvmsg.ko) > : >> 15 1 0xc0a0f000 5e9c sysvsem.ko (/boot/kernel/sysvsem.ko) > : >> 16 1 0xc0a15000 5034 sysvshm.ko (/boot/kernel/sysvshm.ko) > : >> 17 1 0xc0a1b000 6b974 acpi.ko (/boot/kernel/acpi.ko) > : >> 18 9 0xc462c000 35000 usb2_core.ko (/boot/kernel/usb2_core.ko) > : >> 19 4 0xc46eb000 3000 usb2_controller.ko > : >> (/boot/kernel/usb2_controller.ko) > : >> 20 1 0xc46f8000 a000 usb2_controller_uhci.ko > : >> (/boot/kernel/usb2_controller_uhci.ko) > : >> 21 1 0xc474e000 c000 usb2_controller_ehci.ko > : >> (/boot/kernel/usb2_controller_ehci.ko) > : >> 22 1 0xc477b000 a000 usb2_controller_ohci.ko > : >> (/boot/kernel/usb2_controller_ohci.ko) > : >> 23 1 0xc47a8000 a000 usb2_storage_mass.ko > : >> (/boot/kernel/usb2_storage_mass.ko) > : >> 24 1 0xc47b2000 43000 cam.ko (/boot/kernel/cam.ko) > : >> 25 1 0xc47fe000 2000 usb2_storage.ko > (/boot/kernel/usb2_storage.ko) > : >> 26 1 0xc4800000 a000 usb2_wlan_rum.ko > : >> (/boot/kernel/usb2_wlan_rum.ko) > : >> 27 1 0xc480a000 2000 wlan_amrr.ko (/boot/kernel/wlan_amrr.ko) > : >> 28 4 0xc480c000 34000 wlan.ko (/boot/kernel/wlan.ko) > : >> 29 1 0xc4849000 2000 usb2_wlan.ko (/boot/kernel/usb2_wlan.ko) > : >> > : > > : > After some time it will appear but will start attaching and dettaching > : > all the time: > : > > : > ugen4.2: at usbus4 > : > rum0: on > usbus4 > : > rum0: MAC/BBP RT2573 (rev 0x2573a), RF RT2528 > : > rum0: at ushub4, port 6, addr 2 (disconnected) > : > rum0: detached > : > ugen4.2: at usbus4 > : > rum0: on > usbus4 > : > rum0: MAC/BBP RT2573 (rev 0x2573a), RF RT2528 > : > rum0: at ushub4, port 6, addr 2 (disconnected) > : > rum0: detached > : > ugen2.2: at usbus2 > : > rum0: on > usbus2 > : > rum0: MAC/BBP RT2573 (rev 0x2573a), RF RT2528 > : > rum0: at ushub2, port 2, addr 2 (disconnected) > : > rum0: detached > : > > : > : Looks like some code is missing because loading only usb2_wlan_rum do > : not load ehci and uhci usb2 modules. (causing card to not attach) > : > : I managed to get card working with usb2_controller_uhci and > : usb2_controller_ehci loaded. (without ohci) > > That's not a bug. Really, how then to explain that I cannot make card working properly whan having both uhci2, ehci2 and ohci2 loaded Loading usb2_controller_musb fail, with message: link_elf: symbol usb2_sw_transfer undefined From owner-freebsd-usb@FreeBSD.ORG Fri Nov 7 20:50:48 2008 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 4E5B8106567D; Fri, 7 Nov 2008 20:50:48 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id E5A2C8FC25; Fri, 7 Nov 2008 20:50:47 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.14.2/8.14.1) with ESMTP id mA7KmT0m078956; Fri, 7 Nov 2008 13:48:30 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Fri, 07 Nov 2008 13:49:46 -0700 (MST) Message-Id: <20081107.134946.811533952.imp@bsdimp.com> To: onemda@gmail.com From: "M. Warner Losh" In-Reply-To: <3a142e750811071229r6d452b28t7979ab08e1c90d71@mail.gmail.com> References: <3a142e750811071218q7c104687j9b55572319ddb5df@mail.gmail.com> <20081107.132401.1622434515.imp@bsdimp.com> <3a142e750811071229r6d452b28t7979ab08e1c90d71@mail.gmail.com> X-Mailer: Mew version 5.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org, freebsd-usb@freebsd.org Subject: Re: USB4BSD release candidate number 3 - request for review 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, 07 Nov 2008 20:50:48 -0000 In message: <3a142e750811071229r6d452b28t7979ab08e1c90d71@mail.gmail.com> "Paul B. Mahol" writes: : On 11/7/08, M. Warner Losh wrote: : > In message: <3a142e750811071218q7c104687j9b55572319ddb5df@mail.gmail.com> : > "Paul B. Mahol" writes: : > : On 11/7/08, Paul B. Mahol wrote: : > : > On 11/7/08, Paul B. Mahol wrote: : > : >> On recent CURRENT when attaching rum card, strange bug appear: : > : >> : > : >> usb2_alloc_device:1417: set address 2 failed (ignored) : > : >> usb2_alloc_device:1452: getting device descriptor at addr 2 failed! : > : >> uhub_reattach_port:401: could not allocate new device! : > : >> : > : >> uhub_reattach_port:355: port 5 reset failed, error=USB_ERR_TIMEOUT : > : >> uhub_reattach_port:421: device problem (USB_ERR_TIMEOUT), disabling : > port 5 : > : >> uhub_reattach_port:370: giving up port reset - device vanished! : > : >> uhub_reattach_port:370: giving up port reset - device vanished! : > : >> uhub_reattach_port:370: giving up port reset - device vanished! : > : >> uhub_reattach_port:370: giving up port reset - device vanished! : > : >> uhub_reattach_port:370: giving up port reset - device vanished! : > : >> uhub_reattach_port:370: giving up port reset - device vanished! : > : >> uhub_reattach_port:370: giving up port reset - device vanished! : > : >> uhub_reattach_port:370: giving up port reset - device vanished! : > : >> uhub_reattach_port:355: port 5 reset failed, error=USB_ERR_TIMEOUT : > : >> uhub_reattach_port:421: device problem (USB_ERR_TIMEOUT), disabling : > port 5 : > : >> uhub_reattach_port:370: giving up port reset - device vanished! : > : >> usb2_alloc_device:1417: set address 2 failed (ignored) : > : >> usb2_alloc_device:1452: getting device descriptor at addr 2 failed! : > : >> uhub_reattach_port:401: could not allocate new device! : > : >> : > : >> usb2_alloc_device:1417: set address 2 failed (ignored) : > : >> usb2_alloc_device:1452: getting device descriptor at addr 2 failed! : > : >> uhub_reattach_port:401: could not allocate new device! : > : >> : > : >> But not so old one from svn was working fine. : > : >> : > : >>> kldstat : > : >> Id Refs Address Size Name : > : >> 1 155 0xc0400000 51f700 kernel (/boot/kernel/kernel) : > : >> 2 2 0xc0920000 51bb0 sound.ko (/boot/kernel/sound.ko) : > : >> 3 1 0xc0972000 1a5e0 snd_hda.ko (/boot/kernel/snd_hda.ko) : > : >> 4 2 0xc098d000 18170 agp.ko (/boot/kernel/agp.ko) : > : >> 5 1 0xc09a6000 c3fc random.ko (/boot/kernel/random.ko) : > : >> 6 2 0xc09b3000 16b14 drm.ko (/boot/kernel/drm.ko) : > : >> 7 1 0xc09ca000 af9c i915.ko (/boot/kernel/i915.ko) : > : >> 8 5 0xc09d5000 e3cc ata.ko (/boot/kernel/ata.ko) : > : >> 9 2 0xc09e4000 5230 ataahci.ko (/boot/kernel/ataahci.ko) : > : >> 10 3 0xc09ea000 88b0 atapci.ko (/boot/kernel/atapci.ko) : > : >> 11 1 0xc09f3000 4638 atadisk.ko (/boot/kernel/atadisk.ko) : > : >> 12 1 0xc09f8000 5834 ataintel.ko (/boot/kernel/ataintel.ko) : > : >> 13 1 0xc09fe000 be08 cpufreq.ko (/boot/kernel/cpufreq.ko) : > : >> 14 1 0xc0a0a000 4dc8 sysvmsg.ko (/boot/kernel/sysvmsg.ko) : > : >> 15 1 0xc0a0f000 5e9c sysvsem.ko (/boot/kernel/sysvsem.ko) : > : >> 16 1 0xc0a15000 5034 sysvshm.ko (/boot/kernel/sysvshm.ko) : > : >> 17 1 0xc0a1b000 6b974 acpi.ko (/boot/kernel/acpi.ko) : > : >> 18 9 0xc462c000 35000 usb2_core.ko (/boot/kernel/usb2_core.ko) : > : >> 19 4 0xc46eb000 3000 usb2_controller.ko : > : >> (/boot/kernel/usb2_controller.ko) : > : >> 20 1 0xc46f8000 a000 usb2_controller_uhci.ko : > : >> (/boot/kernel/usb2_controller_uhci.ko) : > : >> 21 1 0xc474e000 c000 usb2_controller_ehci.ko : > : >> (/boot/kernel/usb2_controller_ehci.ko) : > : >> 22 1 0xc477b000 a000 usb2_controller_ohci.ko : > : >> (/boot/kernel/usb2_controller_ohci.ko) : > : >> 23 1 0xc47a8000 a000 usb2_storage_mass.ko : > : >> (/boot/kernel/usb2_storage_mass.ko) : > : >> 24 1 0xc47b2000 43000 cam.ko (/boot/kernel/cam.ko) : > : >> 25 1 0xc47fe000 2000 usb2_storage.ko : > (/boot/kernel/usb2_storage.ko) : > : >> 26 1 0xc4800000 a000 usb2_wlan_rum.ko : > : >> (/boot/kernel/usb2_wlan_rum.ko) : > : >> 27 1 0xc480a000 2000 wlan_amrr.ko (/boot/kernel/wlan_amrr.ko) : > : >> 28 4 0xc480c000 34000 wlan.ko (/boot/kernel/wlan.ko) : > : >> 29 1 0xc4849000 2000 usb2_wlan.ko (/boot/kernel/usb2_wlan.ko) : > : >> : > : > : > : > After some time it will appear but will start attaching and dettaching : > : > all the time: : > : > : > : > ugen4.2: at usbus4 : > : > rum0: on : > usbus4 : > : > rum0: MAC/BBP RT2573 (rev 0x2573a), RF RT2528 : > : > rum0: at ushub4, port 6, addr 2 (disconnected) : > : > rum0: detached : > : > ugen4.2: at usbus4 : > : > rum0: on : > usbus4 : > : > rum0: MAC/BBP RT2573 (rev 0x2573a), RF RT2528 : > : > rum0: at ushub4, port 6, addr 2 (disconnected) : > : > rum0: detached : > : > ugen2.2: at usbus2 : > : > rum0: on : > usbus2 : > : > rum0: MAC/BBP RT2573 (rev 0x2573a), RF RT2528 : > : > rum0: at ushub2, port 2, addr 2 (disconnected) : > : > rum0: detached : > : > : > : : > : Looks like some code is missing because loading only usb2_wlan_rum do : > : not load ehci and uhci usb2 modules. (causing card to not attach) : > : : > : I managed to get card working with usb2_controller_uhci and : > : usb2_controller_ehci loaded. (without ohci) : > : > That's not a bug. : : Really, how then to explain that I cannot make card working properly : whan having both uhci2, ehci2 and ohci2 loaded You are supposed to load them yourself. The leaf modules shouldn't know about the controllers. There may be other bugs here, but not loading the host controllers isn't one of them. Warner From owner-freebsd-usb@FreeBSD.ORG Fri Nov 7 21:21:13 2008 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 CC7EE1065678; Fri, 7 Nov 2008 21:21:13 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe04.swip.net [212.247.154.97]) by mx1.freebsd.org (Postfix) with ESMTP id 098248FC08; Fri, 7 Nov 2008 21:21:12 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=J1zRX2_4DjwA:10 a=xw72rLtdcjMA:10 a=d6BVkb5LuPPVEe4iNQMLyA==:17 a=6I5d2MoRAAAA:8 a=oAZldqXC3ePJyYGYedkA:9 a=N4mKqpmnmuDzLNnQeX4A:7 a=hC0tmhrhy0ay3q0pIkt-aU5RRikA:4 a=LY0hPdMaydYA:10 Received: from [62.113.135.6] (account mc467741@c2i.net [62.113.135.6] verified) by mailfe04.swip.net (CommuniGate Pro SMTP 5.2.6) with ESMTPA id 1143715840; Fri, 07 Nov 2008 22:21:10 +0100 From: Hans Petter Selasky To: Alexey Shuvaev Date: Fri, 7 Nov 2008 22:23:19 +0100 User-Agent: KMail/1.9.7 References: <20081107082740.GA1334@icarus.home.lan> <200811071811.27181.hselasky@c2i.net> <20081107191935.GA51170@localhost.my.domain> In-Reply-To: <20081107191935.GA51170@localhost.my.domain> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200811072223.20313.hselasky@c2i.net> Cc: freebsd-current@freebsd.org, freebsd-usb@freebsd.org Subject: Re: Kernel panic when copying data to umass device (USB4BSD) - problem found 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, 07 Nov 2008 21:21:13 -0000 On Friday 07 November 2008, Alexey Shuvaev wrote: > On Fri, Nov 07, 2008 at 06:11:26PM +0100, Hans Petter Selasky wrote: > > Hi Jeremy, > > > > I've reproduced the issue with some mods to the usb2_busdma.c on 32-bit > > arcitecture and have made a fix for this problem. > > > > Try the following patch and re-test! > > Thanks a lot! I have rebuild the kernel with this patch > > > http://perforce.freebsd.org/chv.cgi?CH=152624 > > and so far no panics. Indeed, the system I am using is amd64 with 4Gb of > RAM. > > > Some mem-stick benchmarks would be nice ... > > What exactly do you mean? > I have done: > dd if=file_on_one_stick of=/dev/null bs=1m (12.5 Mb/s) > dd if=/dev/random of=file_on_the_stick bs=1m count=128 (2.6 Mb/s) > > and the same tests with USB-microSDHC adapter with 8Gb card > (20 MB/s read, 15 Mb/s write). > > Anything else? No, that looks very good. Maybe you could also do a md5 on the transferred data, just to see if there are data errors. BTW: I have forced my 32-bit system to use bounce buffers now, and I have found more problems! Warner: I see that bus-dma is allocating bounce buffers for the EHCI/OHCI/UHCI transfer descriptors and queue heads, even though I use "bus_dmamem_alloc()" with the COHERENT flag and everything. I suspect that the problem is that "bus_dmamem_alloc()" is optimised to use "malloc()" which then automatically will imply a possible bounce buffer. Even if I use PAGE_SIZE byte allocations it goes wrong. Maybe I also need to set the alignment to PAGE_SIZE bytes, to really ensure that "busdma" is not putting the TD's and QH's in the wrong part of the memory from the beginning? This is a big problem, because the busdma API does not allow flushing single fields of these descriptors, which is an absolute mandatory feature during USB operation. On NetBSD this is possible. What should we do? I guess this is the root problem of USB(2) not working reliable on 64-bit architectures. --HPS From owner-freebsd-usb@FreeBSD.ORG Fri Nov 7 21:31:45 2008 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 5E7FE1065674; Fri, 7 Nov 2008 21:31:45 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe16.swip.net [212.247.155.225]) by mx1.freebsd.org (Postfix) with ESMTP id 77A1E8FC0A; Fri, 7 Nov 2008 21:31:44 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=bdeZpJpNa0wA:10 a=SER6hIBTabIA:10 a=d6BVkb5LuPPVEe4iNQMLyA==:17 a=-On9RjOqsPd2qdWYke0A:9 a=5Tk1yDLl5hrf7HjK9hIA:7 a=Xuv6Io7SzrttitJxorBw02XKiUkA:4 a=cvZW9r6VXHAA:10 a=MSl-tDqOz04A:10 a=LY0hPdMaydYA:10 Received: from [62.113.135.6] (account mc467741@c2i.net [62.113.135.6] verified) by mailfe16.swip.net (CommuniGate Pro SMTP 5.2.6) with ESMTPA id 401905971; Fri, 07 Nov 2008 22:31:41 +0100 From: Hans Petter Selasky To: "Paul B. Mahol" Date: Fri, 7 Nov 2008 22:33:45 +0100 User-Agent: KMail/1.9.7 References: <3a142e750811071154y5108f299h60bb7c1060f4567e@mail.gmail.com> <20081107.132401.1622434515.imp@bsdimp.com> <3a142e750811071229r6d452b28t7979ab08e1c90d71@mail.gmail.com> In-Reply-To: <3a142e750811071229r6d452b28t7979ab08e1c90d71@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200811072233.46558.hselasky@c2i.net> Cc: freebsd-current@freebsd.org, freebsd-usb@freebsd.org Subject: Re: USB4BSD release candidate number 3 - request for review 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, 07 Nov 2008 21:31:45 -0000 On Friday 07 November 2008, Paul B. Mahol wrote: > On 11/7/08, M. Warner Losh wrote: > > In message: <3a142e750811071218q7c104687j9b55572319ddb5df@mail.gmail.com> > > > > "Paul B. Mahol" writes: > > : On 11/7/08, Paul B. Mahol wrote: > > : > On 11/7/08, Paul B. Mahol wrote: > > : >> On recent CURRENT when attaching rum card, strange bug appear: > > : >> > > : >> usb2_alloc_device:1417: set address 2 failed (ignored) > > : >> usb2_alloc_device:1452: getting device descriptor at addr 2 failed! > > : >> uhub_reattach_port:401: could not allocate new device! > > : >> > > : >> uhub_reattach_port:355: port 5 reset failed, error=USB_ERR_TIMEOUT > > : >> uhub_reattach_port:421: device problem (USB_ERR_TIMEOUT), disabling > > > > port 5 > > > > : >> uhub_reattach_port:370: giving up port reset - device vanished! > > : >> uhub_reattach_port:370: giving up port reset - device vanished! > > : >> uhub_reattach_port:370: giving up port reset - device vanished! > > : >> uhub_reattach_port:370: giving up port reset - device vanished! > > : >> uhub_reattach_port:370: giving up port reset - device vanished! > > : >> uhub_reattach_port:370: giving up port reset - device vanished! > > : >> uhub_reattach_port:370: giving up port reset - device vanished! > > : >> uhub_reattach_port:370: giving up port reset - device vanished! > > : >> uhub_reattach_port:355: port 5 reset failed, error=USB_ERR_TIMEOUT > > : >> uhub_reattach_port:421: device problem (USB_ERR_TIMEOUT), disabling > > > > port 5 > > > > : >> uhub_reattach_port:370: giving up port reset - device vanished! > > : >> usb2_alloc_device:1417: set address 2 failed (ignored) > > : >> usb2_alloc_device:1452: getting device descriptor at addr 2 failed! > > : >> uhub_reattach_port:401: could not allocate new device! > > : >> > > : >> usb2_alloc_device:1417: set address 2 failed (ignored) > > : >> usb2_alloc_device:1452: getting device descriptor at addr 2 failed! > > : >> uhub_reattach_port:401: could not allocate new device! > > : >> > > : >> But not so old one from svn was working fine. > > : >> > > : >>> kldstat > > : >> > > : >> Id Refs Address Size Name > > : >> 1 155 0xc0400000 51f700 kernel (/boot/kernel/kernel) > > : >> 2 2 0xc0920000 51bb0 sound.ko (/boot/kernel/sound.ko) > > : >> 3 1 0xc0972000 1a5e0 snd_hda.ko (/boot/kernel/snd_hda.ko) > > : >> 4 2 0xc098d000 18170 agp.ko (/boot/kernel/agp.ko) > > : >> 5 1 0xc09a6000 c3fc random.ko (/boot/kernel/random.ko) > > : >> 6 2 0xc09b3000 16b14 drm.ko (/boot/kernel/drm.ko) > > : >> 7 1 0xc09ca000 af9c i915.ko (/boot/kernel/i915.ko) > > : >> 8 5 0xc09d5000 e3cc ata.ko (/boot/kernel/ata.ko) > > : >> 9 2 0xc09e4000 5230 ataahci.ko (/boot/kernel/ataahci.ko) > > : >> 10 3 0xc09ea000 88b0 atapci.ko (/boot/kernel/atapci.ko) > > : >> 11 1 0xc09f3000 4638 atadisk.ko (/boot/kernel/atadisk.ko) > > : >> 12 1 0xc09f8000 5834 ataintel.ko (/boot/kernel/ataintel.ko) > > : >> 13 1 0xc09fe000 be08 cpufreq.ko (/boot/kernel/cpufreq.ko) > > : >> 14 1 0xc0a0a000 4dc8 sysvmsg.ko (/boot/kernel/sysvmsg.ko) > > : >> 15 1 0xc0a0f000 5e9c sysvsem.ko (/boot/kernel/sysvsem.ko) > > : >> 16 1 0xc0a15000 5034 sysvshm.ko (/boot/kernel/sysvshm.ko) > > : >> 17 1 0xc0a1b000 6b974 acpi.ko (/boot/kernel/acpi.ko) > > : >> 18 9 0xc462c000 35000 usb2_core.ko (/boot/kernel/usb2_core.ko) > > : >> 19 4 0xc46eb000 3000 usb2_controller.ko > > : >> (/boot/kernel/usb2_controller.ko) > > : >> 20 1 0xc46f8000 a000 usb2_controller_uhci.ko > > : >> (/boot/kernel/usb2_controller_uhci.ko) > > : >> 21 1 0xc474e000 c000 usb2_controller_ehci.ko > > : >> (/boot/kernel/usb2_controller_ehci.ko) > > : >> 22 1 0xc477b000 a000 usb2_controller_ohci.ko > > : >> (/boot/kernel/usb2_controller_ohci.ko) > > : >> 23 1 0xc47a8000 a000 usb2_storage_mass.ko > > : >> (/boot/kernel/usb2_storage_mass.ko) > > : >> 24 1 0xc47b2000 43000 cam.ko (/boot/kernel/cam.ko) > > : >> 25 1 0xc47fe000 2000 usb2_storage.ko > > > > (/boot/kernel/usb2_storage.ko) > > > > : >> 26 1 0xc4800000 a000 usb2_wlan_rum.ko > > : >> (/boot/kernel/usb2_wlan_rum.ko) > > : >> 27 1 0xc480a000 2000 wlan_amrr.ko (/boot/kernel/wlan_amrr.ko) > > : >> 28 4 0xc480c000 34000 wlan.ko (/boot/kernel/wlan.ko) > > : >> 29 1 0xc4849000 2000 usb2_wlan.ko (/boot/kernel/usb2_wlan.ko) > > : > > > : > After some time it will appear but will start attaching and > > : > dettaching all the time: > > : > > > : > ugen4.2: at usbus4 > > : > rum0: on > > > > usbus4 > > > > : > rum0: MAC/BBP RT2573 (rev 0x2573a), RF RT2528 > > : > rum0: at ushub4, port 6, addr 2 (disconnected) > > : > rum0: detached > > : > ugen4.2: at usbus4 > > : > rum0: on > > > > usbus4 > > > > : > rum0: MAC/BBP RT2573 (rev 0x2573a), RF RT2528 > > : > rum0: at ushub4, port 6, addr 2 (disconnected) > > : > rum0: detached > > : > ugen2.2: at usbus2 > > : > rum0: on > > > > usbus2 > > > > : > rum0: MAC/BBP RT2573 (rev 0x2573a), RF RT2528 > > : > rum0: at ushub2, port 2, addr 2 (disconnected) > > : > rum0: detached > > : > > : Looks like some code is missing because loading only usb2_wlan_rum do > > : not load ehci and uhci usb2 modules. (causing card to not attach) > > : > > : I managed to get card working with usb2_controller_uhci and > > : usb2_controller_ehci loaded. (without ohci) > > > > That's not a bug. It is a new feature :-) > > Really, how then to explain that I cannot make card working properly > whan having both uhci2, ehci2 and ohci2 loaded > > Loading usb2_controller_musb fail, with message: > link_elf: symbol usb2_sw_transfer undefined You cannot load that module, because the bus interface file (musb2_otg_atmelarm.c) only compiles on the FreeBSD ARM target, due to some header file dependencies, which we should fix. Therefore there are some missing KLD dependencies in the module which makes it complain about missing symbols, which is not an error, but thanks for reporting. Maybe I will create a dummy PCI module interface for the driver. Mostly the module is there to ensure that the code compiles. These are the KLD dependancy lines: MODULE_DEPEND(musbotg, usb2_controller, 1, 1, 1); MODULE_DEPEND(musbotg, usb2_core, 1, 1, 1); Which are in "musb2_otg_atmelarm.c" which is not compiled into the module by default. --HPS From owner-freebsd-usb@FreeBSD.ORG Fri Nov 7 21:34:34 2008 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 CB5411065674; Fri, 7 Nov 2008 21:34:34 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe02.swip.net [212.247.154.33]) by mx1.freebsd.org (Postfix) with ESMTP id 365508FC19; Fri, 7 Nov 2008 21:34:33 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=bdeZpJpNa0wA:10 a=SER6hIBTabIA:10 a=d6BVkb5LuPPVEe4iNQMLyA==:17 a=G_XMU1zPYyRUXL9Kbg8A:9 a=9vJDx4AaUPR7TYDoWRsq2s1-4zsA:4 a=cvZW9r6VXHAA:10 a=LY0hPdMaydYA:10 Received: from [62.113.135.6] (account mc467741@c2i.net [62.113.135.6] verified) by mailfe02.swip.net (CommuniGate Pro SMTP 5.2.6) with ESMTPA id 1147104966; Fri, 07 Nov 2008 22:34:32 +0100 From: Hans Petter Selasky To: freebsd-current@freebsd.org Date: Fri, 7 Nov 2008 22:36:37 +0100 User-Agent: KMail/1.9.7 References: <3a142e750811071154y5108f299h60bb7c1060f4567e@mail.gmail.com> <20081107.132401.1622434515.imp@bsdimp.com> <3a142e750811071229r6d452b28t7979ab08e1c90d71@mail.gmail.com> In-Reply-To: <3a142e750811071229r6d452b28t7979ab08e1c90d71@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200811072236.38267.hselasky@c2i.net> Cc: freebsd-usb@freebsd.org Subject: Re: USB4BSD release candidate number 3 - request for review 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, 07 Nov 2008 21:34:34 -0000 On Friday 07 November 2008, Paul B. Mahol wrote: > On 11/7/08, M. Warner Losh wrote: > > : > After some time it will appear but will start attaching and > > : > dettaching all the time: How quick is this happening? There has been some changes to the sys/dev/usb2/core/uhub2.c file recently, which control how HUB is responding to events. Maybe you can get the date of that file from the build where it works and the build where it doesn't work, and I will check the differences. --HPS From owner-freebsd-usb@FreeBSD.ORG Fri Nov 7 19:46:13 2008 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 269D41065690 for ; Fri, 7 Nov 2008 19:46:13 +0000 (UTC) (envelope-from Thomas.Sparrevohn@btinternet.com) Received: from smtp805.mail.ird.yahoo.com (smtp805.mail.ird.yahoo.com [217.146.188.65]) by mx1.freebsd.org (Postfix) with SMTP id 72AD78FC1A for ; Fri, 7 Nov 2008 19:46:10 +0000 (UTC) (envelope-from Thomas.Sparrevohn@btinternet.com) Received: (qmail 20044 invoked from network); 7 Nov 2008 19:46:09 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=btinternet.com; h=Received:X-YMail-OSG:X-Yahoo-Newman-Property:From:To:Subject:Date:User-Agent:Cc:References:In-Reply-To:MIME-Version:Content-Type:Message-Id; b=bZ+dZMKUNRm/RFYS+4AX2jPmXi8UhBXlebLrUPGX5xojhRZ4xaavlIagLhGSUmK1R1NPCGVxPM4Fg2V2fEZQDy7eWY9X+GD2zWT2X2g3dicxJVk4Npy+S+eLD2GDosQ42coBMyVN1jZo3+4OLNKyps0WChYRW9056/Jiglxq6/c= ; Received: from unknown (HELO w2fzz0vc03.aah-go-on.com) (Thomas.Sparrevohn@86.133.246.99 with login) by smtp805.mail.ird.yahoo.com with SMTP; 7 Nov 2008 19:46:03 -0000 X-YMail-OSG: Q_rV4T0VM1moZqWeS5EWriwDMUnjANnYzzTwxggTiySKYFbMQyr6M2ceIKMkIpwbQmL__fVHDPn38P2ldEq5zUNiKgPqBv5lyuyZ5oSsNvurmLh5BJWUL.CFDycwX6DpfD3DZuTBl1cuC6_RtcUecf7JI8ynDCw03xOSVBH.EVVK.f.GfyRRNseLyxtJSC56SAQarTrwnu6F2HsnQcdQxe5O4Kx8htiGJ.Epq16sGA6893K0PRorwQ-- X-Yahoo-Newman-Property: ymail-3 From: Thomas Sparrevohn To: freebsd-current@freebsd.org Date: Fri, 7 Nov 2008 19:46:00 +0000 User-Agent: KMail/1.9.10 References: <200810251925.47273.hselasky@c2i.net> <20081106210300.GA1595@wep4035.physik.uni-wuerzburg.de> <200811070036.15816.hselasky@c2i.net> In-Reply-To: <200811070036.15816.hselasky@c2i.net> MIME-Version: 1.0 Content-Type: Multipart/Mixed; boundary="Boundary-00=_5rJFJPtr8qjZ35l" Message-Id: <200811071946.01269.Thomas.Sparrevohn@btinternet.com> X-Mailman-Approved-At: Fri, 07 Nov 2008 21:46:15 +0000 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Alexey Shuvaev , freebsd-usb@freebsd.org Subject: Re: USB4BSD release candidate number 3 - request for review 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, 07 Nov 2008 19:46:13 -0000 --Boundary-00=_5rJFJPtr8qjZ35l Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline On Thursday 06 November 2008 23:36:14 Hans Petter Selasky wrote: > On Thursday 06 November 2008, Alexey Shuvaev wrote: > > db_trace_self_wrapper() at db_trace_self_wrapper+0x2a > > _witness_debugger() at _witness_debugger+0x49 > > witness_checkorder() at witness_checkorder+0x7e6 > > _sx_xlock() at _sx_xlock+0x44 > > vm_map_lookup() at vm_map_lookup+0x47 > > vm_fault() at vm_fault+0xfe > > trap_pfault() at trap_pfault+0x1fa > > trap() at trap+0x201 > > calltrap() at calltrap+0x8 > > --- trap 0xc, rip = 0xffffffff804b2466, rsp = 0xfffffffeba7f8ac0, rbp = > > 0xfffffffeba7f8b00 --- bcopy() at bcopy+0x16 > > usb2_bdma_pre_sync() at usb2_bdma_pre_sync+0x35 > > usb2_bdma_work_loop() at usb2_bdma_work_loop+0x29b > > usb2_command_wrapper() at usb2_command_wrapper+0x76 > > usb2_callback_wrapper() at usb2_callback_wrapper+0xfd > > usb2_command_wrapper() at usb2_command_wrapper+0x76 > > usb2_callback_proc() at usb2_callback_proc+0x68 > > usb2_process() at usb2_process+0xc0 > > Hi Alexey, > > This looks more like a busdma problem to me. "bcopy()" is called from > within "bus_dmamap_sync()". Maybe you can figure out if it is the source or > the destination address that fails? > > Looks like your system has started bouncing data to the 32-bit address range. > I can reproduce an error like it whenever I use DMA on umass device - The error somehow are triggered/created by the multiport patches that was introduced in the ATA framework back in April - For a long time I believed it was an error in the ATA frame work until I discovered that If I disabled the umass device the error disappered I am using ZFS on both devices. If I change to usb2_ata the problem disappers. I think that is because usb2_ata does not use DMA. I believe the problem is related to the DMA handling in the umass see attached fault - In short the problem has been around for a long time but it seems to be related to the USB stack DMA handling - before usb2 it showed up as a DMA error in the ATA driver - but that was because the old umass driver somehow "stole" an active DMA w2fzz0vc03.aah-go-on.com dumped core - see /var/crash/vmcore.42 Thu Oct 16 19:11:48 BST 2008 FreeBSD w2fzz0vc03.aah-go-on.com 8.0-CURRENT FreeBSD 8.0-CURRENT #1: Wed Oct 15 21:39:04 BST 2008 sandbox@w2fzz0vc03.aah-go-on.com:/usr/home/sandbox/newusb/obj/usr/home/sandbox/newusb/src/sys/GENERIC_usb2 amd64 panic: mutex Giant not owned at /usr/home/sandbox/newusb/src/sys/kern/tty_ttydisc.c:1129 GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "amd64-marcel-freebsd"... Unread portion of the kernel message buffer: Kernel page fault with the following non-sleepable locks held: exclusive sleep mutex UMASS lock (UMASS lock) r = 0 (0xffffffff80b67e60) locked @ /usr/home/sandbox/newusb/src/sys/dev/usb2/core/usb2_transfer.c:1795 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2a _witness_debugger() at _witness_debugger+0x49 witness_warn() at witness_warn+0x232 trap() at trap+0x38f calltrap() at calltrap+0x8 --- trap 0xc, rip = 0xffffffff807b2a46, rsp = 0xfffffffeb7267ac0, rbp = 0xfffffffeb7267b00 --- bcopy() at bcopy+0x16 usb2_bdma_pre_sync() at usb2_bdma_pre_sync+0x59 usb2_bdma_work_loop() at usb2_bdma_work_loop+0x2ac usb2_command_wrapper() at usb2_command_wrapper+0x76 usb2_callback_wrapper() at usb2_callback_wrapper+0x101 usb2_command_wrapper() at usb2_command_wrapper+0x76 usb2_callback_proc() at usb2_callback_proc+0x68 usb2_process() at usb2_process+0xc0 fork_exit() at fork_exit+0x12a fork_trampoline() at fork_trampoline+0xe --- trap 0, rip = 0, rsp = 0xfffffffeb7267d40, rbp = 0 --- Fatal trap 12: page fault while in kernel mode cpuid = 3; apic id = 03 fault virtual address = 0xfffffffe69a00000 fault code = supervisor read data, page not present instruction pointer = 0x8:0xffffffff807b2a46 stack pointer = 0x10:0xfffffffeb7267ac0 frame pointer = 0x10:0xfffffffeb7267b00 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, long 1, def32 0, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 139 (USBPROC) lock order reversal: (Giant after non-sleepable) 1st 0xffffffff80b67e60 UMASS lock (UMASS lock) @ /usr/home/sandbox/newusb/src/sys/dev/usb2/core/usb2_transfer.c:1795 2nd 0xffffffff80b6bfe0 Giant (Giant) @ /usr/home/sandbox/newusb/src/sys/dev/kbdmux/kbdmux.c:1044 KDB: stack backtrace: panic: mutex Giant not owned at /usr/home/sandbox/newusb/src/sys/kern/tty_ttydisc.c:1129 cpuid = 3 KDB: stack backtrace: Physical memory: 4078 MB Dumping 1154 MB: 1139 1123 1107 1091 1075 1059 1043 1027 1011 995 979 963 947 931 915 899 883 867 851 835 819 803 787 771 755 739 723 707 691 675 659 643 627 611 595 579 563 547 531 515 499 483 467 451 435 419 403 387 371 355 339 323 307 291 275 259 243 227 211 195 179 163 147 131 115 99 83 67 51 35 19 3 Reading symbols from /boot/kernel/zfs.ko...Reading symbols from /bootdir/boot/kernel/zfs.ko.symbols...done. done. Loaded symbols for /boot/kernel/zfs.ko Reading symbols from /boot/kernel/opensolaris.ko...Reading symbols from /bootdir/boot/kernel/opensolaris.ko.symbols...done. done. Loaded symbols for /boot/kernel/opensolaris.ko Reading symbols from /boot/kernel/linux.ko...Reading symbols from /bootdir/boot/kernel/linux.ko.symbols...done. done. Loaded symbols for /boot/kernel/linux.ko Reading symbols from /boot/kernel/daemon_saver.ko...Reading symbols from /bootdir/boot/kernel/daemon_saver.ko.symbols...done. done. Loaded symbols for /boot/kernel/daemon_saver.ko #0 doadump () at pcpu.h:196 196 pcpu.h: No such file or directory. in pcpu.h (kgdb) #0 doadump () at pcpu.h:196 #1 0xffffffff801c475c in db_fncall (dummy1=Variable "dummy1" is not available. ) at /usr/home/sandbox/newusb/src/sys/ddb/db_command.c:548 #2 0xffffffff801c4a91 in db_command (last_cmdp=0xffffffff80b384a0, cmd_table=Variable "cmd_table" is not available. ) at /usr/home/sandbox/newusb/src/sys/ddb/db_command.c:445 #3 0xffffffff801c4cd9 in db_command_loop () at /usr/home/sandbox/newusb/src/sys/ddb/db_command.c:498 #4 0xffffffff801c6b37 in db_trap (type=Variable "type" is not available. ) at /usr/home/sandbox/newusb/src/sys/ddb/db_main.c:229 #5 0xffffffff8051deb2 in kdb_trap (type=12, code=0, tf=0xfffffffeb7267a10) at /usr/home/sandbox/newusb/src/sys/kern/subr_kdb.c:534 #6 0xffffffff807b361d in trap_fatal (frame=0xfffffffeb7267a10, eva=Variable "eva" is not available. ) at /usr/home/sandbox/newusb/src/sys/amd64/amd64/trap.c:754 #7 0xffffffff807b4371 in trap (frame=0xfffffffeb7267a10) at /usr/home/sandbox/newusb/src/sys/amd64/amd64/trap.c:289 #8 0xffffffff807973de in calltrap () at /usr/home/sandbox/newusb/src/sys/amd64/amd64/exception.S:217 #9 0xffffffff807b2a46 in bcopy () at /usr/home/sandbox/newusb/src/sys/amd64/amd64/support.S:123 #10 0xffffffff80791ea0 in _bus_dmamap_sync (dmat=0xffffff0004028400, map=Variable "map" is not available. ) at /usr/home/sandbox/newusb/src/sys/amd64/amd64/busdma_machdep.c:922 #11 0xffffffff80426b42 in usb2_bdma_pre_sync (xfer=Variable "xfer" is not available. ) at /usr/home/sandbox/newusb/src/sys/dev/usb2/core/usb2_busdma.c:1360 #12 0xffffffff80426f01 in usb2_bdma_work_loop (pq=0xfffffffe40f84000) at /usr/home/sandbox/newusb/src/sys/dev/usb2/core/usb2_busdma.c:1297 #13 0xffffffff80439b26 in usb2_command_wrapper (pq=0xfffffffe40f84000, xfer=Variable "xfer" is not available. ) at /usr/home/sandbox/newusb/src/sys/dev/usb2/core/usb2_transfer.c:2515 #14 0xffffffff8043c3ed in usb2_callback_wrapper (pq=Variable "pq" is not available. ) at /usr/home/sandbox/newusb/src/sys/dev/usb2/core/usb2_transfer.c:1926 #15 0xffffffff80439b26 in usb2_command_wrapper (pq=0xfffffffe40f84028, xfer=Variable "xfer" is not available. ) at /usr/home/sandbox/newusb/src/sys/dev/usb2/core/usb2_transfer.c:2515 #16 0xffffffff80439c70 in usb2_callback_proc (_pm=Variable "_pm" is not available. ) at /usr/home/sandbox/newusb/src/sys/dev/usb2/core/usb2_transfer.c:1799 #17 0xffffffff804378b4 in usb2_process (arg=Variable "arg" is not available. ) at /usr/home/sandbox/newusb/src/sys/dev/usb2/core/usb2_process.c:139 #18 0xffffffff804d314a in fork_exit ( callout=0xffffffff804377f4 , arg=0xfffffffe40f840f0, frame=0xfffffffeb7267c90) at /usr/home/sandbox/newusb/src/sys/kern/kern_fork.c:810 #19 0xffffffff807977ee in fork_trampoline () at /usr/home/sandbox/newusb/src/sys/amd64/amd64/exception.S:521 #20 0x0000000000000000 in ?? () #21 0x0000000000000000 in ?? () #22 0x0000000000000001 in ?? () #23 0x0000000000000000 in ?? () #24 0x0000000000000000 in ?? () #25 0x0000000000000000 in ?? () #26 0x0000000000000000 in ?? () #27 0x0000000000000000 in ?? () #28 0x0000000000000000 in ?? () #29 0x0000000000000000 in ?? () #30 0x0000000000000000 in ?? () #31 0x0000000000000000 in ?? () #32 0x0000000000000000 in ?? () #33 0x0000000000000000 in ?? () #34 0x0000000000000000 in ?? () #35 0x0000000000000000 in ?? () #36 0x0000000000000000 in ?? () #37 0x0000000000000000 in ?? () #38 0x0000000000000000 in ?? () #39 0x0000000000000000 in ?? () #40 0x0000000000000000 in ?? () #41 0x0000000000000000 in ?? () #42 0x0000000000000000 in ?? () #43 0x0000000000000000 in ?? () #44 0x0000000001024000 in ?? () #45 0x0000000000000000 in ?? () #46 0xffffffff80b8dd70 in sleepq_chains () #47 0xffffffff80b756c0 in tdq_cpu () #48 0xffffff00024e96e0 in ?? () #49 0xfffffffeb7267ac0 in ?? () #50 0xfffffffeb7267a78 in ?? () #51 0xffffff0002ddd370 in ?? () #52 0xffffffff80511f90 in sched_switch (td=0xfffffffe40f840f0, newtd=0xffffffff804377f4, flags=Variable "flags" is not available. ) at /usr/home/sandbox/newusb/src/sys/kern/sched_ule.c:1844 Previous frame inner to this frame (corrupt stack?) (kgdb) ------------------------------------------------------------------------ ps -axl UID PID PPID CPU PRI NI VSZ RSS MWCHAN STAT TT TIME COMMAND 0 0 0 0 -68 0 0 0 - DLs ?? 747427:30.00 [kernel] 0 1 0 0 44 0 2180 0 wait DLs ?? 5472248:30.00 [init] 0 2 0 0 -8 0 0 0 - DL ?? 1887795:30.00 [g_event] 0 3 0 0 -8 0 0 0 - DL ?? 159170669:00.00 [g_up] 0 4 0 0 -8 0 0 0 - DL ?? 80623968:30.00 [g_down] 0 5 0 0 -16 0 0 0 tq->tq DL ?? 0:00.00 [system_tas 0 6 0 0 -16 0 0 0 tq->tq DL ?? 0:00.00 [system_tas 0 7 0 0 -16 0 0 0 tq->tq DL ?? 0:00.00 [system_tas 0 8 0 0 -16 0 0 0 tq->tq DL ?? 0:00.00 [system_tas 0 9 0 0 -16 0 0 0 ccb_sc DL ?? 0:00.00 [xpt_thrd] 0 10 0 0 -16 0 0 0 audit_ DL ?? 5455:30.00 [audit] 0 11 0 0 171 0 0 0 - RL ?? 10883646524:50.00 [idle] 0 12 0 0 -48 0 0 0 - WL ?? 74210281:20.00 [intr] 0 13 0 0 44 0 0 0 - DL ?? 2767776:50.00 [yarrow] 0 14 0 0 -64 0 0 0 WMSG DL ?? 0:00.00 [USBPROC] 0 15 0 0 -64 0 0 0 WMSG DL ?? 17473:30.00 [USBPROC] 0 16 0 0 -16 0 0 0 - DL ?? 0:00.00 [fw0_probe] 0 17 0 0 -16 0 0 0 waitin DL ?? 1154:00.00 [sctp_itera 0 19 0 0 44 0 0 0 d DL ?? 1475436:10.00 [arc_reclai 0 21 0 0 -68 0 0 0 WMSG DL ?? 0:00.00 [USBPROC] 0 22 0 0 -68 0 0 0 WMSG DL ?? 0:00.00 [USBPROC] 0 23 0 0 -64 0 0 0 WMSG DL ?? 0:00.00 [USBPROC] 0 26 0 0 -68 0 0 0 WMSG DL ?? 28989:30.00 [USBPROC] 0 27 0 0 -68 0 0 0 WMSG DL ?? 0:00.00 [USBPROC] 0 28 0 0 -64 0 0 0 WMSG DL ?? 3466420:40.00 [USBPROC] 0 29 0 0 45 0 0 0 psleep DL ?? 13022:40.00 [pagedaemon 0 30 0 0 45 0 0 0 psleep DL ?? 581:40.00 [vmdaemon] 0 31 0 0 76 0 0 0 pgzero DL ?? 665:40.00 [pagezero] 0 32 0 0 45 0 0 0 psleep DL ?? 28784:30.00 [bufdaemon] 0 33 0 0 61 0 0 0 syncer DL ?? 134824082:40.00 [syncer] 0 34 0 0 45 0 0 0 vlruwt DL ?? 68163:10.00 [vnlru] 0 35 0 0 45 0 0 0 sdflus DL ?? 58308:10.00 [softdepflu 0 89 0 0 -68 0 0 0 WMSG DL ?? 10673:10.00 [USBPROC] 0 90 0 0 45 0 0 0 tq->tq DL ?? 226:50.00 [spa_zio_is 0 91 0 0 45 0 0 0 tq->tq DL ?? 206:10.00 [spa_zio_is 0 92 0 0 45 0 0 0 tq->tq DL ?? 408:20.00 [spa_zio_is 0 93 0 0 45 0 0 0 tq->tq DL ?? 346:50.00 [spa_zio_is 0 94 0 0 45 0 0 0 tq->tq DL ?? 271:10.00 [spa_zio_in 0 95 0 0 45 0 0 0 tq->tq DL ?? 310:00.00 [spa_zio_in 0 96 0 0 45 0 0 0 tq->tq DL ?? 191:00.00 [spa_zio_in 0 97 0 0 45 0 0 0 tq->tq DL ?? 342:10.00 [spa_zio_in 0 98 0 0 45 0 0 0 tq->tq DL ?? 692:10.00 [spa_zio_is 0 99 0 0 45 0 0 0 tq->tq DL ?? 561:50.00 [spa_zio_is 0 100 0 0 45 0 0 0 tq->tq DL ?? 407:00.00 [spa_zio_is 0 101 0 0 45 0 0 0 tq->tq DL ?? 384:40.00 [spa_zio_is 0 102 0 0 44 0 0 0 tq->tq DL ?? 3915100:00.00 [spa_zio_in 0 103 0 0 52 0 0 0 tq->tq DL ?? 679657:30.00 [spa_zio_in 0 104 0 0 52 0 0 0 tq->tq DL ?? 724595:40.00 [spa_zio_in 0 105 0 0 44 0 0 0 tq->tq DL ?? 3595602:50.00 [spa_zio_in 0 106 0 0 44 0 0 0 tq->tq DL ?? 161446:00.00 [spa_zio_is 0 107 0 0 44 0 0 0 tq->tq DL ?? 315903:50.00 [spa_zio_is 0 108 0 0 44 0 0 0 tq->tq DL ?? 438196:30.00 [spa_zio_is 0 109 0 0 47 0 0 0 tq->tq DL ?? 68604:10.00 [spa_zio_is 0 110 0 0 44 0 0 0 tq->tq DL ?? 192541000:20.00 [spa_zio_in 0 111 0 0 44 0 0 0 tq->tq DL ?? 183661574:50.00 [spa_zio_in 0 112 0 0 44 0 0 0 tq->tq DL ?? 180367061:20.00 [spa_zio_in 0 113 0 0 48 0 0 0 tq->tq DL ?? 202043190:20.00 [spa_zio_in 0 114 0 0 45 0 0 0 tq->tq DL ?? 683:50.00 [spa_zio_is 0 115 0 0 45 0 0 0 tq->tq DL ?? 595:40.00 [spa_zio_is 0 116 0 0 45 0 0 0 tq->tq DL ?? 486:10.00 [spa_zio_is 0 117 0 0 45 0 0 0 tq->tq DL ?? 226:50.00 [spa_zio_is 0 118 0 0 45 0 0 0 tq->tq DL ?? 386:30.00 [spa_zio_in 0 119 0 0 45 0 0 0 tq->tq DL ?? 790:20.00 [spa_zio_in 0 120 0 0 45 0 0 0 tq->tq DL ?? 419:40.00 [spa_zio_in 0 121 0 0 45 0 0 0 tq->tq DL ?? 173:20.00 [spa_zio_in 0 122 0 0 45 0 0 0 tq->tq DL ?? 771:10.00 [spa_zio_is 0 123 0 0 45 0 0 0 tq->tq DL ?? 746:30.00 [spa_zio_is 0 124 0 0 45 0 0 0 tq->tq DL ?? 525:40.00 [spa_zio_is 0 125 0 0 45 0 0 0 tq->tq DL ?? 736:40.00 [spa_zio_is 0 126 0 0 45 0 0 0 tq->tq DL ?? 528:40.00 [spa_zio_in 0 127 0 0 45 0 0 0 tq->tq DL ?? 309:40.00 [spa_zio_in 0 128 0 0 45 0 0 0 tq->tq DL ?? 246:40.00 [spa_zio_in 0 129 0 0 45 0 0 0 tq->tq DL ?? 531:10.00 [spa_zio_in 0 130 0 0 45 0 0 0 tq->tq DL ?? 3007:50.00 [spa_zio_is 0 131 0 0 45 0 0 0 tq->tq DL ?? 289:40.00 [spa_zio_is 0 132 0 0 45 0 0 0 tq->tq DL ?? 289:20.00 [spa_zio_is 0 133 0 0 45 0 0 0 tq->tq DL ?? 432:40.00 [spa_zio_is 0 134 0 0 45 0 0 0 tq->tq DL ?? 546:50.00 [spa_zio_in 0 135 0 0 45 0 0 0 tq->tq DL ?? 312:00.00 [spa_zio_in 0 136 0 0 45 0 0 0 tq->tq DL ?? 319:40.00 [spa_zio_in 0 137 0 0 45 0 0 0 tq->tq DL ?? 673:40.00 [spa_zio_in 0 138 0 0 44 0 0 0 ffffff000407c910 DL ?? 7618572:50.00 [vdev:worke 0 139 0 0 -68 0 0 0 - RL ?? 907164:40.00 [USBPROC] 0 140 0 0 44 0 0 0 2 DL ?? 7583535:20.00 [vdev:worke 0 141 0 0 44 0 0 0 2 DL ?? 7083820:40.00 [vdev:worke 0 142 0 0 45 0 0 0 tx->tx DL ?? 15303:20.00 [txg_thread 0 143 0 0 44 0 0 0 tx->tx DL ?? 164076779:50.00 [txg_thread 0 144 0 0 45 0 0 0 tx->tx DL ?? 9893:50.00 [txg_thread 0 145 0 0 45 0 0 0 tq->tq DL ?? 746:40.00 [zil_clean] 0 171 0 0 -68 0 0 0 WMSG DL ?? 17984:50.00 [USBPROC] 0 172 0 0 -68 0 0 0 WMSG DL ?? 2636:50.00 [USBPROC] 0 191 0 0 -68 0 0 0 WMSG DL ?? 6680:30.00 [USBPROC] 0 192 0 0 -68 0 0 0 WMSG DL ?? 1121246:10.00 [USBPROC] 0 193 0 0 -68 0 0 0 WMSG DL ?? 1451850:30.00 [USBPROC] 0 194 0 0 -64 0 0 0 WMSG DL ?? 777326:00.00 [USBPROC] 0 195 0 0 -68 0 0 0 WMSG DL ?? 8560:40.00 [USBPROC] 0 196 0 0 -68 0 0 0 WMSG DL ?? 108571:50.00 [USBPROC] 0 265 0 0 45 0 0 0 tq->tq DL ?? 913:20.00 [spa_zio_is 0 266 0 0 45 0 0 0 tq->tq DL ?? 556:20.00 [spa_zio_is 0 267 0 0 45 0 0 0 tq->tq DL ?? 264:20.00 [spa_zio_is 0 268 0 0 45 0 0 0 tq->tq DL ?? 738:20.00 [spa_zio_is 0 269 0 0 45 0 0 0 tq->tq DL ?? 568:00.00 [spa_zio_in 0 270 0 0 45 0 0 0 tq->tq DL ?? 599:30.00 [spa_zio_in 0 271 0 0 45 0 0 0 tq->tq DL ?? 841:00.00 [spa_zio_in 0 272 0 0 45 0 0 0 tq->tq DL ?? 522:30.00 [spa_zio_in 0 273 0 0 45 0 0 0 tq->tq DL ?? 730:00.00 [spa_zio_is 0 274 0 0 45 0 0 0 tq->tq DL ?? 495:10.00 [spa_zio_is 0 275 0 0 45 0 0 0 tq->tq DL ?? 188:10.00 [spa_zio_is 0 276 0 0 45 0 0 0 tq->tq DL ?? 311:00.00 [spa_zio_is 0 277 0 0 45 0 0 0 tq->tq DL ?? 99792:30.00 [spa_zio_in 0 278 0 0 45 0 0 0 tq->tq DL ?? 220438:10.00 [spa_zio_in 0 279 0 0 45 0 0 0 tq->tq DL ?? 99017:10.00 [spa_zio_in 0 280 0 0 45 0 0 0 tq->tq DL ?? 234007:10.00 [spa_zio_in 0 281 0 0 45 0 0 0 tq->tq DL ?? 13354:20.00 [spa_zio_is 0 282 0 0 45 0 0 0 tq->tq DL ?? 13582:50.00 [spa_zio_is 0 283 0 0 45 0 0 0 tq->tq DL ?? 26698:20.00 [spa_zio_is 0 284 0 0 45 0 0 0 tq->tq DL ?? 26920:10.00 [spa_zio_is 0 285 0 0 45 0 0 0 tq->tq DL ?? 168799:10.00 [spa_zio_in 0 286 0 0 45 0 0 0 tq->tq DL ?? 166680:30.00 [spa_zio_in 0 287 0 0 45 0 0 0 tq->tq DL ?? 159190:00.00 [spa_zio_in 0 288 0 0 45 0 0 0 tq->tq DL ?? 157914:20.00 [spa_zio_in 0 289 0 0 45 0 0 0 tq->tq DL ?? 687:20.00 [spa_zio_is 0 290 0 0 45 0 0 0 tq->tq DL ?? 890:00.00 [spa_zio_is 0 291 0 0 45 0 0 0 tq->tq DL ?? 506:30.00 [spa_zio_is 0 292 0 0 45 0 0 0 tq->tq DL ?? 143:20.00 [spa_zio_is 0 293 0 0 45 0 0 0 tq->tq DL ?? 766:30.00 [spa_zio_in 0 294 0 0 45 0 0 0 tq->tq DL ?? 753:10.00 [spa_zio_in 0 295 0 0 45 0 0 0 tq->tq DL ?? 531:00.00 [spa_zio_in 0 296 0 0 45 0 0 0 tq->tq DL ?? 424:20.00 [spa_zio_in 0 297 0 0 45 0 0 0 tq->tq DL ?? 902:40.00 [spa_zio_is 0 298 0 0 45 0 0 0 tq->tq DL ?? 717:30.00 [spa_zio_is 0 299 0 0 45 0 0 0 tq->tq DL ?? 538:30.00 [spa_zio_is 0 300 0 0 45 0 0 0 tq->tq DL ?? 770:40.00 [spa_zio_is 0 301 0 0 45 0 0 0 tq->tq DL ?? 831:10.00 [spa_zio_in 0 302 0 0 45 0 0 0 tq->tq DL ?? 876:00.00 [spa_zio_in 0 303 0 0 45 0 0 0 tq->tq DL ?? 1040:30.00 [spa_zio_in 0 304 0 0 45 0 0 0 tq->tq DL ?? 966:00.00 [spa_zio_in 0 305 0 0 45 0 0 0 tq->tq DL ?? 882:00.00 [spa_zio_is 0 306 0 0 45 0 0 0 tq->tq DL ?? 714:30.00 [spa_zio_is 0 307 0 0 45 0 0 0 tq->tq DL ?? 905:20.00 [spa_zio_is 0 308 0 0 45 0 0 0 tq->tq DL ?? 774:30.00 [spa_zio_is 0 309 0 0 45 0 0 0 tq->tq DL ?? 1262:40.00 [spa_zio_in 0 310 0 0 45 0 0 0 tq->tq DL ?? 732:50.00 [spa_zio_in 0 311 0 0 45 0 0 0 tq->tq DL ?? 624:10.00 [spa_zio_in 0 312 0 0 45 0 0 0 tq->tq DL ?? 769:00.00 [spa_zio_in 0 313 0 0 45 0 0 0 a DL ?? 138498:00.00 [vdev:worke 0 314 0 0 45 0 0 0 tx->tx DL ?? 13274:30.00 [txg_thread 0 315 0 0 45 0 0 0 zio->i DL ?? 592414:00.00 [txg_thread 0 316 0 0 45 0 0 0 tx->tx DL ?? 14080:20.00 [txg_thread 0 369 0 0 45 0 0 0 tq->tq DL ?? 406:20.00 [spa_zio_is 0 370 0 0 45 0 0 0 tq->tq DL ?? 291:50.00 [spa_zio_is 0 371 0 0 45 0 0 0 tq->tq DL ?? 654:30.00 [spa_zio_is 0 372 0 0 45 0 0 0 tq->tq DL ?? 515:10.00 [spa_zio_is 0 373 0 0 45 0 0 0 tq->tq DL ?? 289:50.00 [spa_zio_in 0 374 0 0 45 0 0 0 tq->tq DL ?? 781:10.00 [spa_zio_in 0 375 0 0 45 0 0 0 tq->tq DL ?? 689:40.00 [spa_zio_in 0 376 0 0 45 0 0 0 tq->tq DL ?? 363:40.00 [spa_zio_in 0 377 0 0 45 0 0 0 tq->tq DL ?? 388:50.00 [spa_zio_is 0 378 0 0 45 0 0 0 tq->tq DL ?? 577:50.00 [spa_zio_is 0 379 0 0 45 0 0 0 tq->tq DL ?? 386:20.00 [spa_zio_is 0 380 0 0 45 0 0 0 tq->tq DL ?? 633:00.00 [spa_zio_is 0 381 0 0 45 0 0 0 tq->tq DL ?? 461038:00.00 [spa_zio_in 0 382 0 0 45 0 0 0 tq->tq DL ?? 469792:50.00 [spa_zio_in 0 383 0 0 45 0 0 0 tq->tq DL ?? 452893:40.00 [spa_zio_in 0 384 0 0 76 0 0 0 tq->tq DL ?? 260950:00.00 [spa_zio_in 0 385 0 0 45 0 0 0 tq->tq DL ?? 838:10.00 [spa_zio_is 0 386 0 0 45 0 0 0 tq->tq DL ?? 359:50.00 [spa_zio_is 0 387 0 0 44 0 0 0 tq->tq DL ?? 648:20.00 [spa_zio_is 0 388 0 0 44 0 0 0 tq->tq DL ?? 507:00.00 [spa_zio_is 0 389 0 0 44 0 0 0 tq->tq DL ?? 717:00.00 [spa_zio_in 0 390 0 0 45 0 0 0 tq->tq DL ?? 449:30.00 [spa_zio_in 0 391 0 0 44 0 0 0 tq->tq DL ?? 500:20.00 [spa_zio_in 0 392 0 0 44 0 0 0 tq->tq DL ?? 351:20.00 [spa_zio_in 0 393 0 0 45 0 0 0 tq->tq DL ?? 779:40.00 [spa_zio_is 0 394 0 0 45 0 0 0 tq->tq DL ?? 856:30.00 [spa_zio_is 0 395 0 0 45 0 0 0 tq->tq DL ?? 602:10.00 [spa_zio_is 0 396 0 0 45 0 0 0 tq->tq DL ?? 525:00.00 [spa_zio_is 0 397 0 0 45 0 0 0 tq->tq DL ?? 979:00.00 [spa_zio_in 0 398 0 0 45 0 0 0 tq->tq DL ?? 821:20.00 [spa_zio_in 0 399 0 0 45 0 0 0 tq->tq DL ?? 671:00.00 [spa_zio_in 0 400 0 0 45 0 0 0 tq->tq DL ?? 1013:40.00 [spa_zio_in 0 401 0 0 45 0 0 0 tq->tq DL ?? 595:30.00 [spa_zio_is 0 402 0 0 45 0 0 0 tq->tq DL ?? 363:30.00 [spa_zio_is 0 403 0 0 45 0 0 0 tq->tq DL ?? 444:50.00 [spa_zio_is 0 404 0 0 45 0 0 0 tq->tq DL ?? 749:20.00 [spa_zio_is 0 405 0 0 45 0 0 0 tq->tq DL ?? 942:00.00 [spa_zio_in 0 406 0 0 45 0 0 0 tq->tq DL ?? 379:30.00 [spa_zio_in 0 407 0 0 45 0 0 0 tq->tq DL ?? 583:00.00 [spa_zio_in 0 408 0 0 45 0 0 0 tq->tq DL ?? 553:00.00 [spa_zio_in 0 409 0 0 45 0 0 0 tq->tq DL ?? 570:30.00 [spa_zio_is 0 410 0 0 45 0 0 0 tq->tq DL ?? 344:10.00 [spa_zio_is 0 411 0 0 45 0 0 0 tq->tq DL ?? 527:30.00 [spa_zio_is 0 412 0 0 45 0 0 0 tq->tq DL ?? 449:20.00 [spa_zio_is 0 413 0 0 45 0 0 0 tq->tq DL ?? 505:00.00 [spa_zio_in 0 414 0 0 45 0 0 0 tq->tq DL ?? 685:40.00 [spa_zio_in 0 415 0 0 45 0 0 0 tq->tq DL ?? 467:50.00 [spa_zio_in 0 416 0 0 45 0 0 0 tq->tq DL ?? 535:00.00 [spa_zio_in 0 417 0 0 44 0 0 0 d DL ?? 3205:20.00 [vdev:worke 0 418 0 0 44 0 0 0 d DL ?? 3536:10.00 [vdev:worke 0 419 0 0 44 0 0 0 1 DL ?? 3537:00.00 [vdev:worke 0 420 0 0 44 0 0 0 1 DL ?? 3025:10.00 [vdev:worke 0 421 0 0 45 0 0 0 tx->tx DL ?? 13045:50.00 [txg_thread 0 422 0 0 45 0 0 0 tx->tx DL ?? 24917:00.00 [txg_thread 0 423 0 0 45 0 0 0 tx->tx DL ?? 10366:50.00 [txg_thread 0 433 0 0 45 0 0 0 tq->tq DL ?? 622:20.00 [zil_clean] 0 434 0 0 45 0 0 0 tq->tq DL ?? 4334:00.00 [zil_clean] 0 435 0 0 45 0 0 0 tq->tq DL ?? 214:20.00 [zil_clean] 0 448 0 0 45 0 0 0 tq->tq DL ?? 218:20.00 [zil_clean] 0 455 0 0 45 0 0 0 tq->tq DL ?? 10766862:50.00 [zil_clean] 0 545 1 0 76 0 2600 0 pause Ds ?? 20311:10.00 [adjkerntz] 0 1072 1 0 76 0 2176 0 select Ds ?? 26750:00.00 [devd] 0 1315 1 0 44 0 5724 0 select Ds ?? 2184241:50.00 [syslogd] 0 1370 1 0 76 0 5744 0 auditd Ds ?? 425594:30.00 [auditd] 0 1503 1 0 44 0 5724 0 select Ds ?? 345377:40.00 [powerd] 65534 1558 1 0 44 0 4640 0 select Ds ?? 329227:40.00 [mdnsd] 0 1571 1 0 61 0 21812 0 kqread Ds ?? 1627382:50.00 [cupsd] 1 1580 1 0 44 0 7236 0 select Ds ?? 73565:50.00 [slpd] 0 1612 1 0 76 0 24684 0 select Ds ?? 165899:50.00 [sshd] 0 1617 1 0 44 0 10692 0 select Ds ?? 390314:20.00 [sendmail] 25 1623 1 0 76 0 10692 0 pause Ds ?? 444533:40.00 [sendmail] 0 1629 1 0 44 0 6780 0 nanslp Ds ?? 308518:30.00 [cron] 0 1638 1 0 44 0 5672 0 nanslp Ds ?? 45776:40.00 [uptimed] 0 1650 1 0 76 0 6872 0 select Ds ?? 127881:40.00 [moused] 0 1674 1 0 76 0 7832 0 select Ds ?? 207752:10.00 [inetd] 0 1700 1 0 44 0 20476 0 wait Ds ?? 457620:30.00 [login] 0 1701 1 0 44 0 20476 0 wait Ds ?? 232783:10.00 [login] 0 1702 1 0 76 0 5720 0 tty in Ds+ ?? 195147:40.00 [getty] 0 1703 1 0 76 0 5720 0 tty in Ds+ ?? 190936:00.00 [getty] 0 1704 1 0 76 0 5720 0 tty in Ds+ ?? 374987:20.00 [getty] 0 1705 1 0 76 0 5720 0 tty in Ds+ ?? 611203:40.00 [getty] 0 1706 1 0 76 0 5720 0 tty in Ds+ ?? 224722:50.00 [getty] 0 1707 1 0 76 0 5720 0 tty in Ds+ ?? 203391:00.00 [getty] 0 1708 1 0 76 0 5720 0 tty in Ds+ ?? 313967:20.00 [getty] 0 1709 1 0 76 0 5720 0 tty in Ds+ ?? 205962:50.00 [getty] 0 1710 1 0 76 0 5720 0 tty in Ds+ ?? 244910:10.00 [getty] 0 1714 1700 0 44 0 10132 0 tty in D+ ?? 1077786:20.00 [tcsh] 0 1775 0 0 45 0 0 0 tq->tq DL ?? 0:00.00 [zil_clean] 0 1777 0 0 45 0 0 0 tq->tq DL ?? 0:00.00 [zil_clean] 0 1778 0 0 45 0 0 0 tq->tq DL ?? 0:00.00 [zil_clean] 0 1939 0 0 45 0 0 0 tq->tq DL ?? 0:00.00 [zil_clean] 0 1940 0 0 45 0 0 0 tq->tq DL ?? 0:00.00 [zil_clean] 0 1941 0 0 45 0 0 0 tq->tq DL ?? 0:00.00 [zil_clean] 0 1942 0 0 45 0 0 0 tq->tq DL ?? 0:00.00 [zil_clean] 0 1943 0 0 45 0 0 0 tq->tq DL ?? 0:00.00 [zil_clean] 0 1944 0 0 45 0 0 0 tq->tq DL ?? 0:00.00 [zil_clean] 0 1945 0 0 45 0 0 0 tq->tq DL ?? 0:00.00 [zil_clean] 0 1946 0 0 45 0 0 0 tq->tq DL ?? 0:00.00 [zil_clean] 0 1947 0 0 45 0 0 0 tq->tq DL ?? 0:00.00 [zil_clean] 0 1948 0 0 45 0 0 0 tq->tq DL ?? 0:00.00 [zil_clean] 0 1949 0 0 45 0 0 0 tq->tq DL ?? 0:00.00 [zil_clean] 0 1950 0 0 45 0 0 0 tq->tq DL ?? 0:00.00 [zil_clean] 0 1951 0 0 45 0 0 0 tq->tq DL ?? 0:00.00 [zil_clean] 0 1952 0 0 45 0 0 0 tq->tq DL ?? 0:00.00 [zil_clean] 0 1953 0 0 45 0 0 0 tq->tq DL ?? 0:00.00 [zil_clean] 0 1954 0 0 45 0 0 0 tq->tq DL ?? 0:00.00 [zil_clean] 0 1955 0 0 45 0 0 0 tq->tq DL ?? 0:00.00 [zil_clean] 0 1956 0 0 45 0 0 0 tq->tq DL ?? 0:00.00 [zil_clean] 0 1957 0 0 45 0 0 0 tq->tq DL ?? 0:00.00 [zil_clean] 0 1958 0 0 45 0 0 0 tq->tq DL ?? 0:00.00 [zil_clean] 0 1960 0 0 45 0 0 0 tq->tq DL ?? 0:00.00 [zil_clean] 0 1962 0 0 45 0 0 0 tq->tq DL ?? 0:00.00 [zil_clean] 0 1964 0 0 45 0 0 0 tq->tq DL ?? 0:00.00 [zil_clean] 0 1966 0 0 45 0 0 0 tq->tq DL ?? 0:00.00 [zil_clean] 0 1967 0 0 45 0 0 0 tq->tq DL ?? 0:00.00 [zil_clean] 0 1997 1701 0 44 0 10132 0 pause D ?? 184970:50.00 [tcsh] 0 2001 1997 0 45 0 14452 0 tx->tx D+ ?? 0:00.00 [zpool] ------------------------------------------------------------------------ vmstat -s 0 cpu context switches 0 device interrupts 0 software interrupts 0 traps 0 system calls 0 kernel threads created 0 fork() calls 0 vfork() calls 0 rfork() calls 0 swap pager pageins 0 swap pager pages paged in 0 swap pager pageouts 0 swap pager pages paged out 0 vnode pager pageins 0 vnode pager pages paged in 0 vnode pager pageouts 0 vnode pager pages paged out 0 page daemon wakeups 0 pages examined by the page daemon 2934 pages reactivated 0 copy-on-write faults 0 copy-on-write optimized faults 0 zero fill pages zeroed 0 zero fill pages prezeroed 0 intransit blocking page faults 0 total VM faults taken 0 pages affected by kernel thread creation 0 pages affected by fork() 0 pages affected by vfork() 0 pages affected by rfork() 3251 pages cached 0 pages freed 0 pages freed by daemon 83854 pages freed by exiting processes 5662 pages active 2107 pages inactive 109 pages in VM cache 250660 pages wired down 745813 pages free 4096 bytes per page 78523 total name lookups cache hits (86% pos + 3% neg) system 0% per-directory deletions 0%, falsehits 0%, toolong 0% ------------------------------------------------------------------------ vmstat -m Type InUse MemUse HighUse Requests Size(s) ntfs_nthash -1 -511K - 0 pfs_nodes -20 -4K - 0 pfs_vncache -1 0K - 0 fw_xfer 255 0K - 256 16 firewire 4082 -37K - 4096 16,32 GEOM 2301117 -2321K - 2303408 16,32,64,128,256,512,1024,2048,4096,8192 isadev -8 0K - 0 CAM XPT 40167 -58K - 40320 32,64,128,256,512 pci_link -68 -4K - 0 cdev -12 -2K - 0 sbp -96 -12K - 0 ddb_capture -1 -47K - 0 sigio -1 0K - 0 filedesc 890917 -1005K - 892928 16,32,64,128,256,512,1024,2048,4096,8192 kenv -25 -9K - 48 32 kqueue 32226 -32K - 32256 64,128,256 proc-args 42410 -42K - 43168 16,32,64,128,256,512,1024,2048,4096 ithread -77 -11K - 0 prison -1 0K - 0 KTRACE -100 -11K - 0 linker 1355 -160K - 1568 16,32,64,128,512 lockf 418 -2K - 448 64 ip6ndp -6 0K - 0 temp 125335915 -122423K - 125343008 16,32,64,128,256,512,1024,2048,4096,8192,16384,32768 devbuf 361425 -13088K - 367648 16,32,128,256,512,1024,4096 module -431 -52K - 0 mtx_pool -1 -7K - 0 subproc 7141528 -8238K - 7143936 16,32,64,128,256,512,1024,2048,4096,8192 proc -2 -15K - 0 session 608 -3K - 640 16,32 pgrp 5558 -8K - 5632 16,32,128,256 cred 1585026 -1566K - 1591296 16,32,64,128,256,512,1024,2048,4096,8192,16384,32768 uidinfo 184 -1K - 192 16,32 plimit 60926 -63K - 61184 16,32,64,128,256,512,1024 sysctltmp 14679 -13K - 15024 16,32,64,128,512,2048 sysctloid 2500 -217K - 7056 16,32,64,128,256,1024,2048 sysctl 15292 -14K - 15920 32,64,128,256,1024,4096 callout -3 -1535K - 0 umtx -452 -55K - 0 p1003.1b -1 0K - 0 SWAP -8 -8751K - 0 bus-sc 25513187 -25071K - 25516768 16,32,128,256,512,1024,2048,16384,32768 bus 1324171 -1395K - 1330928 16,32,64,128,256,512,1024,2048,4096,8192,65536 clist -54 -5K - 0 devstat -26 -51K - 0 eventhandler -66 -4K - 0 kbdmux -6 -7K - 0 kobj 454261 -1579K - 454656 16,32,64,128,256,1024 rman 54940 -74K - 55552 32,256,512,2048,4096 sbuf 1113064 -1086K - 1113920 16,32,64,128,256,512,1024,2048,4096 stack 510 0K - 512 32 taskqueue -13 0K - 0 Unitno 301 0K - 320 32,64 acpica 3955121 -4083K - 3991088 16,64,256,512,1024,16384,32768,65536,131072,262144 acpitask 63 0K - 64 16 CAM dev queue -4 0K - 0 Witness -1 -127K - 0 iov 217186 -211K - 218080 32,64,128,256,1024,2048,8192 select -20 -1K - 0 ioctlops 6375330 -6235K - 6382160 16,64,128,256,512,1024,2048,32768,65536 msg -4 -29K - 0 sem -4 -6K - 0 shm -1 -15K - 0 tty -21 -20K - 0 mbuf_tag 529 0K - 544 16,32,128 shmfd -1 -7K - 0 CAM queue 2445 -1K - 2560 16,32,64,256,512 pcb 1743 -157K - 1824 16,32,64,128,512 soname 10028 -9K - 10384 16,32,64,128,256,512,1024,2048 vfscache -1 -1023K - 0 vfs_hash -1 -511K - 0 vnodes -2 0K - 0 acpisem -15 0K - 0 vnodemarker 1129310 -1104K - 1131520 32,64,128,256,512,1024,2048,4096,8192,16384 mount 54510 -71K - 56576 32,64,128,512,1024,2048,4096,16384 BPF -6 0K - 0 ether_multi 764 -1K - 816 16,32,64,128 ifaddr 3654 -21K - 3968 64,128,256,512,1024 ifnet -6 -9K - 0 clone -5 -19K - 0 arpcom -2 0K - 0 fw_com -1 0K - 0 ata_generic -6 -5K - 0 ad_driver -4 0K - 0 routetbl 13587 -15K - 13664 16,32,64,256,512 80211vap -1 -3K - 0 80211crypto -4 0K - 0 80211com -1 -7K - 0 80211nodeie 1275 -1K - 1280 16,32 80211node 12286 -23K - 12288 16 80211scan -3 -5K - 0 igmp -1 0K - 0 in_msource 4089 -6K - 4096 64 ip_moptions 1266 -1K - 1280 128 in_multi -4 0K - 0 sctp_iter 510 0K - 512 32 sctp_ifn -2 0K - 0 sctp_ifa -3 0K - 0 sctp_vrf -1 0K - 0 sctp_a_it 30 0K - 32 32 hostcache -1 -27K - 0 ar_driver 69612 -67K - 69632 64,256 syncache -1 -91K - 0 in6_multi -16 0K - 0 acd_driver -2 -3K - 0 nfss_daemon -1 -15K - 0 audit_data 508 0K - 512 16,32 audit_evclass 5750 -21K - 6464 32,128,1024,2048 newblk -1 0K - 0 inodedep -1 -511K - 0 pagedep -1 -127K - 0 ufs_dirhash -3 0K - 0 ufs_mount -3 -5K - 0 UMAHash 19446 -38K - 19456 32,64 vm_pgdata -5 -127K - 0 scsi_da 705 0K - 752 16,32,64,128,256 CAM SIM -4 0K - 0 entropy -1024 -63K - 0 io_apic -1 -1K - 0 CAM periph 3377 -5K - 3408 16,32,64,128 memdesc -1 -3K - 0 acpidev -69 -3K - 0 nexusdev -3 0K - 0 UART -3 0K - 0 atkbddev -2 0K - 0 USBdev 2033 -13K - 2048 32 USB 98263 -251K - 98304 32,64,128 DEVFS1 894 -64K - 1024 32 DEVFS3 623 -35K - 768 16,32 DEVFS -2 0K - 16 16 solaris 9120189812 -9801837K - 9128038272 16,32,64,128,256,512,1024,2048,4096,8192,16384,32768,65536,131072,262144,524288,1048576,2097152,4194304,8388608,16777216,33554432 kstat_data -1 0K - 0 linux -12 0K - 0 ------------------------------------------------------------------------ vmstat -z ITEM SIZE LIMIT USED FREE REQUESTS FAILURES UMA Kegs: 200, 0, 93, 9, 93, 0 UMA Zones: 280, 0, 93, 11, 93, 0 UMA Slabs: 128, 0, 12645, 57, 99014, 0 UMA RCntSlabs: 128, 0, 279, 11, 279, 0 UMA Hash: 256, 0, 6, 9, 8, 0 16 Bucket: 152, 0, 125, 0, 125, 0 32 Bucket: 280, 0, 117, 9, 117, 0 64 Bucket: 536, 0, 147, 0, 147, 658 128 Bucket: 1048, 0, 1126, 2, 1126, 1817 VM OBJECT: 200, 0, 1347, 325, 25494, 0 MAP: 216, 0, 7, 29, 7, 0 KMAP ENTRY: 112, 150216, 528, 462, 240659, 0 MAP ENTRY: 112, 0, 841, 446, 57149, 0 DP fakepg: 112, 0, 0, 0, 0, 0 mt_zone: 2056, 0, 262, 1, 262, 0 16: 16, 0, 3340, 524, 734431, 0 32: 32, 0, 3692, 12266, 3883221, 0 64: 64, 0, 10658, 4798, 1238880, 0 128: 128, 0, 17006, 481, 1301704, 0 256: 256, 0, 930, 90600, 626721, 0 512: 512, 0, 2572, 228, 24619, 0 1024: 1024, 0, 203, 1561, 19987, 0 2048: 2048, 0, 598, 196, 5822, 0 4096: 4096, 0, 756, 395, 13709, 0 Files: 80, 0, 100, 260, 8865, 0 TURNSTILE: 136, 0, 453, 67, 453, 0 umtx pi: 96, 0, 0, 0, 0, 0 PROC: 1072, 0, 265, 131, 2009, 0 THREAD: 872, 0, 421, 31, 421, 0 SLEEPQUEUE: 80, 0, 453, 132, 453, 0 VMSPACE: 376, 0, 30, 90, 1555, 0 cpuset: 72, 0, 2, 98, 2, 0 audit_record: 984, 0, 0, 28, 4, 0 mbuf_packet: 256, 0, 0, 512, 9789, 0 mbuf: 256, 0, 1, 522, 870, 0 mbuf_cluster: 2048, 25600, 512, 46, 512, 0 mbuf_jumbo_page: 4096, 12800, 0, 0, 0, 0 mbuf_jumbo_9k: 9216, 19200, 0, 0, 0, 0 mbuf_jumbo_16k: 16384, 12800, 0, 0, 0, 0 mbuf_ext_refcnt: 4, 0, 0, 0, 0, 0 ACL UMA zone: 388, 0, 0, 30, 124, 0 g_bio: 216, 0, 16, 704, 367222, 0 ttyinq: 160, 0, 720, 216, 2520, 0 ttyoutq: 256, 0, 372, 138, 1302, 0 ata_request: 312, 0, 1, 380, 155536, 0 ata_composite: 336, 0, 0, 0, 0, 0 taskq_ent_cache: 64, 0, 1872, 368, 3772, 0 taskq_cache: 288, 0, 71, 46, 157, 0 VNODE: 472, 0, 850, 126, 1512, 0 VNODEPOLL: 104, 0, 0, 0, 0, 0 NAMEI: 1024, 0, 0, 48, 23670, 0 S VFS Cache: 104, 0, 581, 355, 7279, 0 L VFS Cache: 327, 0, 0, 24, 1, 0 DIRHASH: 1024, 0, 13, 7, 13, 0 NFSMOUNT: 640, 0, 0, 0, 0, 0 NFSNODE: 640, 0, 0, 0, 0, 0 pipe: 712, 0, 2, 63, 880, 0 ksiginfo: 112, 0, 376, 680, 376, 0 itimer: 344, 0, 0, 22, 1, 0 KNOTE: 120, 0, 6, 118, 35, 0 socket: 640, 12330, 27, 45, 286, 0 unpcb: 240, 12336, 10, 70, 20, 0 ipq: 56, 819, 0, 0, 0, 0 udpcb: 280, 12334, 7, 63, 251, 0 inpcb: 280, 12334, 9, 33, 13, 0 tcpcb: 728, 12330, 9, 16, 13, 0 tcptw: 88, 2478, 0, 0, 0, 0 syncache: 136, 15372, 0, 0, 0, 0 hostcache: 136, 15372, 0, 0, 0, 0 tcpreass: 40, 1680, 0, 0, 0, 0 sackhole: 32, 0, 0, 0, 0, 0 sctp_ep: 1160, 12330, 0, 0, 0, 0 sctp_asoc: 2152, 40000, 0, 0, 0, 0 sctp_laddr: 48, 80064, 0, 144, 2, 0 sctp_raddr: 584, 80003, 0, 0, 0, 0 sctp_chunk: 136, 400008, 0, 0, 0, 0 sctp_readq: 104, 400032, 0, 0, 0, 0 sctp_stream_msg_out: 88, 400008, 0, 0, 0, 0 sctp_asconf: 40, 400008, 0, 0, 0, 0 sctp_asconf_ack: 48, 400032, 0, 0, 0, 0 ripcb: 280, 12334, 0, 0, 0, 0 rtentry: 232, 0, 9, 39, 9, 0 zio_cache: 672, 0, 5, 10585, 1515161, 0 dmu_buf_impl_t: 224, 0, 8767, 260, 40691, 0 dnode_t: 760, 0, 1578, 97, 2839, 0 arc_buf_hdr_t: 184, 0, 13995, 453, 40842, 0 arc_buf_t: 40, 0, 8746, 494, 41434, 0 zil_lwb_cache: 200, 0, 2, 2164, 3926, 0 zfs_znode_cache: 336, 0, 673, 218, 1276, 0 selfd: 56, 0, 44, 271, 3245, 0 SWAPMETA: 288, 116519, 0, 0, 0, 0 Mountpoints: 800, 0, 37, 43, 88, 0 FFS inode: 176, 0, 7, 56, 7, 0 FFS1 dinode: 128, 0, 0, 0, 0, 0 FFS2 dinode: 256, 0, 7, 38, 7, 0 ------------------------------------------------------------------------ vmstat -i interrupt total rate irq1: atkbd0 3006 4 irq12: psm0 9 0 irq18: fwohci0 3 0 irq20: atapci2 117 0 irq21: ohci0+ 58425 89 irq22: ehci0 19116 29 irq23: atapci1 72123 109 cpu0: timer 1695176 2584 cpu1: timer 1685074 2568 cpu2: timer 1672747 2549 cpu3: timer 1672756 2549 Total 6878552 10485 ------------------------------------------------------------------------ pstat -T 100/12328 files 0M/65535M swap space ------------------------------------------------------------------------ pstat -s Device 1K-blocks Used Avail Capacity /dev/ad4s1b 16777088 0 16777088 0% /dev/ad6s1d 16777088 0 16777088 0% /dev/ad12s1d 16777088 0 16777088 0% /dev/ad14s1b 16777088 0 16777088 0% Total 67108352 0 67108352 0% ------------------------------------------------------------------------ iostat iostat: kvm_read(_tk_nin): invalid address (0x0) iostat: disabling TTY statistics iostat: kvm_getcptime: invalid address (0x0) iostat: disabling CPU time statistics ad4 ad6 ad12 KB/t tps MB/s KB/t tps MB/s KB/t tps MB/s 56.47 62 3.44 46.83 48 2.18 47.01 48 2.18 ------------------------------------------------------------------------ ipcs -a Message Queues: T ID KEY MODE OWNER GROUP CREATOR CGROUP CBYTES QNUM QBYTES LSPID LRPID STIME RTIME CTIME Shared Memory: T ID KEY MODE OWNER GROUP CREATOR CGROUP NATTCH SEGSZ CPID LPID ATIME DTIME CTIME Semaphores: T ID KEY MODE OWNER GROUP CREATOR CGROUP NSEMS OTIME CTIME ------------------------------------------------------------------------ ipcs -T msginfo: msgmax: 16384 (max characters in a message) msgmni: 40 (# of message queues) msgmnb: 2048 (max characters in a message queue) msgtql: 40 (max # of messages in system) msgssz: 8 (size of a message segment) msgseg: 2048 (# of message segments in system) shminfo: shmmax: 33554432 (max shared memory segment size) shmmin: 1 (min shared memory segment size) shmmni: 192 (max number of shared memory identifiers) shmseg: 128 (max shared memory segments per process) shmall: 8192 (max amount of shared memory in pages) seminfo: semmap: 30 (# of entries in semaphore map) semmni: 10 (# of semaphore identifiers) semmns: 60 (# of semaphores in system) semmnu: 30 (# of undo structures in system) semmsl: 60 (max # of semaphores per id) semopm: 100 (max # of operations per semop call) semume: 10 (max # of undo entries per process) semusz: 104 (size in bytes of undo structure) semvmx: 32767 (semaphore maximum value) semaem: 16384 (adjust on exit max value) ------------------------------------------------------------------------ nfsstat Client Info: Rpc Counts: Getattr Setattr Lookup Readlink Read Write Create Remove 0 0 0 0 0 0 0 0 Rename Link Symlink Mkdir Rmdir Readdir RdirPlus Access 0 0 0 0 0 0 0 0 Mknod Fsstat Fsinfo PathConf Commit 0 0 0 0 0 Rpc Info: TimedOut Invalid X Replies Retries Requests 0 0 0 0 0 Cache Info: Attr Hits Misses Lkup Hits Misses BioR Hits Misses BioW Hits Misses 0 0 0 0 0 0 0 0 BioRLHits Misses BioD Hits Misses DirE Hits Misses 0 0 0 0 0 0 Server Info: Getattr Setattr Lookup Readlink Read Write Create Remove 0 0 0 0 0 0 0 0 Rename Link Symlink Mkdir Rmdir Readdir RdirPlus Access 0 0 0 0 0 0 0 0 Mknod Fsstat Fsinfo PathConf Commit 0 0 0 0 0 Server Ret-Failed 0 Server Faults 0 Server Cache Stats: Inprog Idem Non-idem Misses 0 0 0 0 Server Write Gathering: WriteOps WriteRPC Opsaved 0 0 0 ------------------------------------------------------------------------ netstat -s tcp: 0 packets sent 0 data packets (0 bytes) 0 data packets (0 bytes) retransmitted 0 data packets unnecessarily retransmitted 0 resends initiated by MTU discovery 0 ack-only packets (0 delayed) 0 URG only packets 0 window probe packets 0 window update packets 0 control packets 0 packets received 0 acks (for 0 bytes) 0 duplicate acks 0 acks for unsent data 0 packets (0 bytes) received in-sequence 0 completely duplicate packets (0 bytes) 0 old duplicate packets 0 packets with some dup. data (0 bytes duped) 0 out-of-order packets (0 bytes) 0 packets (0 bytes) of data after window 0 window probes 0 window update packets 0 packets received after close 0 discarded for bad checksums 0 discarded for bad header offset fields 0 discarded because packet too short 0 discarded due to memory problems 0 connection requests 0 connection accepts 0 bad connection attempts 0 listen queue overflows 0 ignored RSTs in the windows 0 connections established (including accepts) 4 connections closed (including 0 drops) 0 connections updated cached RTT on close 0 connections updated cached RTT variance on close 0 connections updated cached ssthresh on close 0 embryonic connections dropped 0 segments updated rtt (of 0 attempts) 0 retransmit timeouts 0 connections dropped by rexmit timeout 0 persist timeouts 0 connections dropped by persist timeout 0 Connections (fin_wait_2) dropped because of timeout 0 keepalive timeouts 0 keepalive probes sent 0 connections dropped by keepalive 0 correct ACK header predictions 0 correct data packet header predictions 0 syncache entries added 0 retransmitted 0 dupsyn 0 dropped 0 completed 0 bucket overflow 0 cache overflow 0 reset 0 stale 0 aborted 0 badack 0 unreach 0 zone failures 0 cookies sent 0 cookies received 0 SACK recovery episodes 0 segment rexmits in SACK recovery episodes 0 byte rexmits in SACK recovery episodes 0 SACK options (SACK blocks) received 0 SACK options (SACK blocks) sent 0 SACK scoreboard overflow 0 packets with ECN CE bit set 0 packets with ECN ECT(0) bit set 0 packets with ECN ECT(1) bit set 0 successful ECN handshakes 0 times ECN reduced the congestion window udp: 132 datagrams received 0 with incomplete header 0 with bad data length field 0 with bad checksum 0 with no checksum 0 dropped due to no socket 24 broadcast/multicast datagrams undelivered 0 dropped due to full socket buffers 0 not for hashed pcb 108 delivered 100 datagrams output 0 times multicast source filter matched ip: 1419 total packets received 0 bad header checksums 0 with size smaller than minimum 0 with data size < data length 0 with ip length > max ip packet size 0 with header length < data size 0 with data length < header length 0 with bad options 0 with incorrect version number 0 fragments received 0 fragments dropped (dup or out of space) 0 fragments dropped after timeout 0 packets reassembled ok 132 packets for this host 30 packets for unknown/unsupported protocol 0 packets forwarded (0 packets fast forwarded) 0 packets not forwardable 1257 packets received for unknown multicast group 0 redirects sent 121 packets sent from this host 0 packets sent with fabricated ip header 0 output packets dropped due to no bufs, etc. 0 output packets discarded due to no route 0 output datagrams fragmented 0 fragments created 0 datagrams that can't be fragmented 0 tunneling packets that can't find gif 0 datagrams with bad address in header icmp: 0 calls to icmp_error 0 errors not generated in response to an icmp message 0 messages with bad code fields 0 messages less than the minimum length 0 messages with bad checksum 0 messages with bad length 0 multicast echo requests ignored 0 multicast timestamp requests ignored 0 message responses generated 0 invalid return addresses 0 no return routes igmp: 30 messages received 0 messages received with too few bytes 0 messages received with bad checksum 14 membership queries received 0 membership queries received with invalid field(s) 16 membership reports received 0 membership reports received with invalid field(s) 16 membership reports received for groups to which we belong 21 membership reports sent ip6: 10 total packets received 0 with size smaller than minimum 0 with data size < data length 0 with bad options 0 with incorrect version number 0 fragments received 0 fragments dropped (dup or out of space) 0 fragments dropped after timeout 0 fragments that exceeded limit 0 packets reassembled ok 0 packets for this host 0 packets forwarded 10 packets not forwardable 0 redirects sent 4 packets sent from this host 0 packets sent with fabricated ip header 0 output packets dropped due to no bufs, etc. 0 output packets discarded due to no route 0 output datagrams fragmented 0 fragments created 0 datagrams that can't be fragmented 0 packets that violated scope rules 10 multicast packets which we don't join Input histogram: UDP: 10 Mbuf statistics: 0 one mbuf 10 one ext mbuf 0 two or more ext mbuf 0 packets whose headers are not continuous 0 tunneling packets that can't find gif 0 packets discarded because of too many headers 0 failures of source address selection 0 forward cache hit 0 forward cache miss Source addresses selection rule applied: 1 first candidate 1 same address icmp6: 0 calls to icmp6_error 0 errors not generated in response to an icmp6 message 0 errors not generated because of rate limitation Output histogram: multicast listener report: 4 0 messages with bad code fields 0 messages < minimum length 0 bad checksums 0 messages with bad length Histogram of error messages to be generated: 0 no route 0 administratively prohibited 0 beyond scope 0 address unreachable 0 port unreachable 0 packet too big 0 time exceed transit 0 time exceed reassembly 0 erroneous header field 0 unrecognized next header 0 unrecognized option 0 redirect 0 unknown 0 message responses generated 0 messages with too many ND options 0 messages with bad ND options 0 bad neighbor solicitation messages 0 bad neighbor advertisement messages 0 bad router solicitation messages 0 bad router advertisement messages 0 bad redirect messages 0 path MTU changes rip6: 0 messages received 0 checksum calcurations on inbound 0 messages with bad checksum 0 messages dropped due to no socket 0 multicast messages dropped due to no socket 0 messages dropped due to full socket buffers 0 delivered 0 datagrams output ------------------------------------------------------------------------ netstat -m 1/1034/1035 mbufs in use (current/cache/total) 0/558/558/25600 mbuf clusters in use (current/cache/total/max) 0/512 mbuf+clusters out of packet secondary zone in use (current/cache) 0/0/0/12800 4k (page size) jumbo clusters in use (current/cache/total/max) 0/0/0/19200 9k jumbo clusters in use (current/cache/total/max) 0/0/0/12800 16k jumbo clusters in use (current/cache/total/max) 18014398509481983K/1374K/1374K bytes allocated to network (current/cache/total) 0/0/0 requests for mbufs denied (mbufs/clusters/mbuf+clusters) 0/0/0 requests for jumbo clusters denied (4k/9k/16k) 0 requests for sfbufs denied 0 requests for sfbufs delayed 0 requests for I/O initiated by sendfile 0 calls to protocol drain routines ------------------------------------------------------------------------ netstat -id Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll Drop fwe0* 1500 82:00:00:00:00:00 0 0 0 0 0 0 fwip0 1500 80:00:00:00:00:00:00:00:0a:02:ff:fe:00:00:00:00 0 0 0 0 0 0 lo0 16384 0 0 0 0 0 0 lo0 16384 fe80:3::1 fe80:3::1 0 - 0 - - - lo0 16384 localhost ::1 0 - 0 - - - lo0 16384 your-net localhost 0 - 0 - - - rum0 2290 00:17:3f:72:40:90 0 0 316 2 0 0 wlan0 1500 00:17:3f:72:40:90 1435 0 122 0 0 0 wlan0 1500 192.168.0.0 w2fzz0vc03 162 - 121 - - - ------------------------------------------------------------------------ netstat -anr Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default 192.168.0.1 UGS 0 76 wlan0 127.0.0.1 127.0.0.1 UH 0 0 lo0 192.168.0.0/24 link#5 UC 0 0 wlan0 192.168.0.1 00:1c:df:77:6c:f5 UHLW 2 14 wlan0 1251 Internet6: Destination Gateway Flags Netif Expire ::1 ::1 UHL lo0 fe80::%lo0/64 fe80::1%lo0 U lo0 fe80::1%lo0 link#3 UHL lo0 ff01:3::/32 fe80::1%lo0 UC lo0 ff02::%lo0/32 fe80::1%lo0 UC lo0 ------------------------------------------------------------------------ netstat -anA Active UNIX domain sockets Address Type Recv-Q Send-Q Inode Conn Refs Nextref Addr ffffff0004decd20 stream 0 0 ffffff00856fb938 0 0 0 /var/run/cups.sock ffffff0004dedb40 stream 0 0 ffffff0004fa0000 0 0 0 /var/run/mdnsd ffffff0004ded000 stream 0 0 ffffff0004d123b0 0 0 0 /var/run/devd.pipe ffffff00857fa870 dgram 0 0 0 ffffff0004dede10 0 ffffff00859693c0 ffffff00859693c0 dgram 0 0 0 ffffff0004dede10 0 ffffff0004deca50 ffffff0004dec960 dgram 0 0 0 ffffff0004ea5000 0 0 ffffff0004deca50 dgram 0 0 0 ffffff0004dede10 0 ffffff0004dedd20 ffffff0004dedd20 dgram 0 0 0 ffffff0004dede10 0 0 ffffff0004dede10 dgram 0 0 ffffff0004fa3938 0 ffffff00857fa870 0 /var/run/logpriv ffffff0004ea5000 dgram 0 0 ffffff0004fa3b10 0 ffffff0004dec960 0 /var/run/log ------------------------------------------------------------------------ netstat -aL ------------------------------------------------------------------------ fstat USER CMD PID FD MOUNT INUM MODE SZ|DV R/W root zpool 2001 root / 3 drwxr-xr-x 32 r root zpool 2001 wd / 24 drwxr-xr-x 98 r root zpool 2001 text / 1090 -r-xr-xr-x 67152 r root zpool 2001 0 /dev 55 crw------- ttyv1 rw root zpool 2001 1 /dev 55 crw------- ttyv1 rw root zpool 2001 2 /dev 55 crw------- ttyv1 rw root zpool 2001 3 /dev 76 crw-rw---- zfs rw root zpool 2001 4 /dev 31 crw-rw-rw- null r root zpool 2001 5 / 745 -rw-r--r-- 0 r root tcsh 1997 root / 3 drwxr-xr-x 32 r root tcsh 1997 wd / 24 drwxr-xr-x 98 r root tcsh 1997 text / 1008 -r-xr-xr-x 345232 r root tcsh 1997 15 /dev 55 crw------- ttyv1 rw root tcsh 1997 16 /dev 55 crw------- ttyv1 rw root tcsh 1997 17 /dev 55 crw------- ttyv1 rw root tcsh 1997 18 /dev 55 crw------- ttyv1 rw root tcsh 1997 19 /dev 55 crw------- ttyv1 rw root zil_clean 1967 root / 3 drwxr-xr-x 32 r root zil_clean 1967 wd / 3 drwxr-xr-x 32 r root zil_clean 1966 root / 3 drwxr-xr-x 32 r root zil_clean 1966 wd / 3 drwxr-xr-x 32 r root zil_clean 1964 root / 3 drwxr-xr-x 32 r root zil_clean 1964 wd / 3 drwxr-xr-x 32 r root zil_clean 1962 root / 3 drwxr-xr-x 32 r root zil_clean 1962 wd / 3 drwxr-xr-x 32 r root zil_clean 1960 root / 3 drwxr-xr-x 32 r root zil_clean 1960 wd / 3 drwxr-xr-x 32 r root zil_clean 1958 root / 3 drwxr-xr-x 32 r root zil_clean 1958 wd / 3 drwxr-xr-x 32 r root zil_clean 1957 root / 3 drwxr-xr-x 32 r root zil_clean 1957 wd / 3 drwxr-xr-x 32 r root zil_clean 1956 root / 3 drwxr-xr-x 32 r root zil_clean 1956 wd / 3 drwxr-xr-x 32 r root zil_clean 1955 root / 3 drwxr-xr-x 32 r root zil_clean 1955 wd / 3 drwxr-xr-x 32 r root zil_clean 1954 root / 3 drwxr-xr-x 32 r root zil_clean 1954 wd / 3 drwxr-xr-x 32 r root zil_clean 1953 root / 3 drwxr-xr-x 32 r root zil_clean 1953 wd / 3 drwxr-xr-x 32 r root zil_clean 1952 root / 3 drwxr-xr-x 32 r root zil_clean 1952 wd / 3 drwxr-xr-x 32 r root zil_clean 1951 root / 3 drwxr-xr-x 32 r root zil_clean 1951 wd / 3 drwxr-xr-x 32 r root zil_clean 1950 root / 3 drwxr-xr-x 32 r root zil_clean 1950 wd / 3 drwxr-xr-x 32 r root zil_clean 1949 root / 3 drwxr-xr-x 32 r root zil_clean 1949 wd / 3 drwxr-xr-x 32 r root zil_clean 1948 root / 3 drwxr-xr-x 32 r root zil_clean 1948 wd / 3 drwxr-xr-x 32 r root zil_clean 1947 root / 3 drwxr-xr-x 32 r root zil_clean 1947 wd / 3 drwxr-xr-x 32 r root zil_clean 1946 root / 3 drwxr-xr-x 32 r root zil_clean 1946 wd / 3 drwxr-xr-x 32 r root zil_clean 1945 root / 3 drwxr-xr-x 32 r root zil_clean 1945 wd / 3 drwxr-xr-x 32 r root zil_clean 1944 root / 3 drwxr-xr-x 32 r root zil_clean 1944 wd / 3 drwxr-xr-x 32 r root zil_clean 1943 root / 3 drwxr-xr-x 32 r root zil_clean 1943 wd / 3 drwxr-xr-x 32 r root zil_clean 1942 root / 3 drwxr-xr-x 32 r root zil_clean 1942 wd / 3 drwxr-xr-x 32 r root zil_clean 1941 root / 3 drwxr-xr-x 32 r root zil_clean 1941 wd / 3 drwxr-xr-x 32 r root zil_clean 1940 root / 3 drwxr-xr-x 32 r root zil_clean 1940 wd / 3 drwxr-xr-x 32 r root zil_clean 1939 root / 3 drwxr-xr-x 32 r root zil_clean 1939 wd / 3 drwxr-xr-x 32 r root zil_clean 1778 root / 3 drwxr-xr-x 32 r root zil_clean 1778 wd / 3 drwxr-xr-x 32 r root zil_clean 1777 root / 3 drwxr-xr-x 32 r root zil_clean 1777 wd / 3 drwxr-xr-x 32 r root zil_clean 1775 root / 3 drwxr-xr-x 32 r root zil_clean 1775 wd / 3 drwxr-xr-x 32 r root tcsh 1714 root / 3 drwxr-xr-x 32 r root tcsh 1714 wd / 24 drwxr-xr-x 98 r root tcsh 1714 text / 1008 -r-xr-xr-x 345232 r root tcsh 1714 0 /dev 54 crw------- ttyv0 rw root tcsh 1714 1 /dev 54 crw------- ttyv0 rw root tcsh 1714 2 /dev 54 crw------- ttyv0 rw root tcsh 1714 15 /dev 54 crw------- ttyv0 rw root tcsh 1714 16 /dev 54 crw------- ttyv0 rw root tcsh 1714 17 /dev 54 crw------- ttyv0 rw root tcsh 1714 18 /dev 54 crw------- ttyv0 rw root tcsh 1714 19 /dev 54 crw------- ttyv0 rw root getty 1710 root / 3 drwxr-xr-x 32 r root getty 1710 wd / 3 drwxr-xr-x 32 r root getty 1710 text /usr 1227 -r-xr-xr-x 27728 r root getty 1710 0 /dev 64 crw------- ttyva rw root getty 1710 1 /dev 64 crw------- ttyva rw root getty 1710 2 /dev 64 crw------- ttyva rw root getty 1709 root / 3 drwxr-xr-x 32 r root getty 1709 wd / 3 drwxr-xr-x 32 r root getty 1709 text /usr 1227 -r-xr-xr-x 27728 r root getty 1709 0 /dev 63 crw------- ttyv9 rw root getty 1709 1 /dev 63 crw------- ttyv9 rw root getty 1709 2 /dev 63 crw------- ttyv9 rw root getty 1708 root / 3 drwxr-xr-x 32 r root getty 1708 wd / 3 drwxr-xr-x 32 r root getty 1708 text /usr 1227 -r-xr-xr-x 27728 r root getty 1708 0 /dev 62 crw------- ttyv8 rw root getty 1708 1 /dev 62 crw------- ttyv8 rw root getty 1708 2 /dev 62 crw------- ttyv8 rw root getty 1707 root / 3 drwxr-xr-x 32 r root getty 1707 wd / 3 drwxr-xr-x 32 r root getty 1707 text /usr 1227 -r-xr-xr-x 27728 r root getty 1707 0 /dev 61 crw------- ttyv7 rw root getty 1707 1 /dev 61 crw------- ttyv7 rw root getty 1707 2 /dev 61 crw------- ttyv7 rw root getty 1706 root / 3 drwxr-xr-x 32 r root getty 1706 wd / 3 drwxr-xr-x 32 r root getty 1706 text /usr 1227 -r-xr-xr-x 27728 r root getty 1706 0 /dev 60 crw------- ttyv6 rw root getty 1706 1 /dev 60 crw------- ttyv6 rw root getty 1706 2 /dev 60 crw------- ttyv6 rw root getty 1705 root / 3 drwxr-xr-x 32 r root getty 1705 wd / 3 drwxr-xr-x 32 r root getty 1705 text /usr 1227 -r-xr-xr-x 27728 r root getty 1705 0 /dev 59 crw------- ttyv5 rw root getty 1705 1 /dev 59 crw------- ttyv5 rw root getty 1705 2 /dev 59 crw------- ttyv5 rw root getty 1704 root / 3 drwxr-xr-x 32 r root getty 1704 wd / 3 drwxr-xr-x 32 r root getty 1704 text /usr 1227 -r-xr-xr-x 27728 r root getty 1704 0 /dev 58 crw------- ttyv4 rw root getty 1704 1 /dev 58 crw------- ttyv4 rw root getty 1704 2 /dev 58 crw------- ttyv4 rw root getty 1703 root / 3 drwxr-xr-x 32 r root getty 1703 wd / 3 drwxr-xr-x 32 r root getty 1703 text /usr 1227 -r-xr-xr-x 27728 r root getty 1703 0 /dev 57 crw------- ttyv3 rw root getty 1703 1 /dev 57 crw------- ttyv3 rw root getty 1703 2 /dev 57 crw------- ttyv3 rw root getty 1702 root / 3 drwxr-xr-x 32 r root getty 1702 wd / 3 drwxr-xr-x 32 r root getty 1702 text /usr 1227 -r-xr-xr-x 27728 r root getty 1702 0 /dev 56 crw------- ttyv2 rw root getty 1702 1 /dev 56 crw------- ttyv2 rw root getty 1702 2 /dev 56 crw------- ttyv2 rw root login 1701 root / 3 drwxr-xr-x 32 r root login 1701 wd / 24 drwxr-xr-x 98 r root login 1701 text /usr 817 -r-sr-xr-x 25400 r root login 1701 0 /dev 55 crw------- ttyv1 rw root login 1701 1 /dev 55 crw------- ttyv1 rw root login 1701 2 /dev 55 crw------- ttyv1 rw root login 1701 3 / 751 -rw------- 567 r root login 1701 4 / 750 -r--r--r-- 652 r root login 1701 5 / 746 -rw------- 225 r root login 1701 6* local dgram ffffff00857fa870 <-> ffffff0004dede10 root login 1700 root / 3 drwxr-xr-x 32 r root login 1700 wd / 24 drwxr-xr-x 98 r root login 1700 text /usr 817 -r-sr-xr-x 25400 r root login 1700 0 /dev 54 crw------- ttyv0 rw root login 1700 1 /dev 54 crw------- ttyv0 rw root login 1700 2 /dev 54 crw------- ttyv0 rw root login 1700 3 / 751 -rw------- 567 r root login 1700 4 / 750 -r--r--r-- 652 r root login 1700 5 / 746 -rw------- 225 r root login 1700 6* local dgram ffffff00859693c0 <-> ffffff0004dede10 root inetd 1674 root / 3 drwxr-xr-x 32 r root inetd 1674 wd / 3 drwxr-xr-x 32 r root inetd 1674 text /usr 191 -r-xr-xr-x 47296 r root inetd 1674 0 /dev 31 crw-rw-rw- null rw root inetd 1674 1 /dev 31 crw-rw-rw- null rw root inetd 1674 2 /dev 31 crw-rw-rw- null rw root inetd 1674 3 /var 6228 -rw------- 4 w root inetd 1674 4* pipe ffffff0004e71858 <-> ffffff0004e719a8 0 rw root inetd 1674 5* pipe ffffff0004e719a8 <-> ffffff0004e71858 0 rw root moused 1650 root / 3 drwxr-xr-x 32 r root moused 1650 wd / 3 drwxr-xr-x 32 r root moused 1650 text /usr 194 -r-xr-xr-x 40080 r root moused 1650 0 /dev 31 crw-rw-rw- null rw root moused 1650 1 /dev 31 crw-rw-rw- null rw root moused 1650 2 /dev 31 crw-rw-rw- null rw root moused 1650 3 /dev 46 crw-rw-rw- psm0 rw root moused 1650 4 /dev 70 crw------- consolectl rw root moused 1650 5 /var 6227 -rw------- 4 w root uptimed 1638 root / 3 drwxr-xr-x 32 r root uptimed 1638 wd / 3 drwxr-xr-x 32 r root uptimed 1638 text /usr/local 110466 -r-xr-xr-x 15872 r root cron 1629 root / 3 drwxr-xr-x 32 r root cron 1629 wd /var 13 drwxr-x--- 3 r root cron 1629 text /usr 256 -r-xr-xr-x 38608 r root cron 1629 0 /dev 31 crw-rw-rw- null rw root cron 1629 1 /dev 31 crw-rw-rw- null rw root cron 1629 2 /dev 31 crw-rw-rw- null rw root cron 1629 3 /var 6224 -rw------- 4 w smmsp sendmail 1623 root / 3 drwxr-xr-x 32 r smmsp sendmail 1623 wd /var 110 drwxrwx--- 3 r smmsp sendmail 1623 text /usr 1229 -r-xr-sr-x 680072 r smmsp sendmail 1623 0 /dev 31 crw-rw-rw- null r smmsp sendmail 1623 1 /dev 31 crw-rw-rw- null w smmsp sendmail 1623 2 /dev 31 crw-rw-rw- null w smmsp sendmail 1623 3* local dgram ffffff0004dec960 <-> ffffff0004ea5000 root sendmail 1617 root / 3 drwxr-xr-x 32 r root sendmail 1617 wd /var 111 drwxr-xr-x 2 r root sendmail 1617 text /usr 1229 -r-xr-sr-x 680072 r root sendmail 1617 0 /dev 31 crw-rw-rw- null r root sendmail 1617 1 /dev 31 crw-rw-rw- null w root sendmail 1617 2 /dev 31 crw-rw-rw- null w root sendmail 1617 3* local dgram ffffff0004deca50 <-> ffffff0004dede10 root sendmail 1617 4* internet stream tcp ffffff0085608888 root sendmail 1617 5* internet6 stream tcp ffffff00856085b0 root sendmail 1617 6* internet stream tcp ffffff00856082d8 root sendmail 1617 7 /var 6223 -rw------- 44 w root sshd 1612 root / 3 drwxr-xr-x 32 r root sshd 1612 wd / 3 drwxr-xr-x 32 r root sshd 1612 text /usr 210 -r-xr-xr-x 241824 r root sshd 1612 0 /dev 31 crw-rw-rw- null rw root sshd 1612 1 /dev 31 crw-rw-rw- null rw root sshd 1612 2 /dev 31 crw-rw-rw- null rw root sshd 1612 3* internet6 stream tcp ffffff0085703000 root sshd 1612 4* internet stream tcp ffffff0085608b60 daemon slpd 1580 root / 3 drwxr-xr-x 32 r daemon slpd 1580 wd / 3 drwxr-xr-x 32 r daemon slpd 1580 text /usr/local 110501 -r-xr-xr-x 82784 r daemon slpd 1580 3 /var 6120 -rw------- 812302 w daemon slpd 1580 4* internet stream tcp ffffff0004f9d888 daemon slpd 1580 5* internet stream tcp ffffff0004f9d5b0 daemon slpd 1580 6* internet dgram udp ffffff0004d90af0 daemon slpd 1580 7* internet dgram udp ffffff00857cf9d8 root cupsd 1571 root / 3 drwxr-xr-x 32 r root cupsd 1571 wd / 3 drwxr-xr-x 32 r root cupsd 1571 text /usr/local 110523 -rwxr-xr-x 908330 r root cupsd 1571 1 /dev 7 crw-rw-rw- random r root cupsd 1571 2 /var 6215 -rw-r--r-- 1564517 rw root cupsd 1571 3* internet stream tcp ffffff00857035b0 root cupsd 1571 4* internet6 stream tcp ffffff00857032d8 root cupsd 1571 5* local stream ffffff0004decd20 root cupsd 1571 6* internet dgram udp ffffff0004d6faf0 root cupsd 1571 7* pipe ffffff0004472b20 <-> ffffff0004472c70 0 rw root cupsd 1571 8* pipe ffffff0004472c70 <-> ffffff0004472b20 0 rw nobody mdnsd 1558 root / 3 drwxr-xr-x 32 r nobody mdnsd 1558 wd / 3 drwxr-xr-x 32 r nobody mdnsd 1558 text /usr/local 110499 -rwxr-xr-x 189869 r nobody mdnsd 1558 0 /dev 31 crw-rw-rw- null rw nobody mdnsd 1558 1 /dev 31 crw-rw-rw- null rw nobody mdnsd 1558 2 /dev 31 crw-rw-rw- null rw nobody mdnsd 1558 3* internet dgram udp ffffff0004d90578 nobody mdnsd 1558 4* internet dgram udp ffffff0004d909d8 nobody mdnsd 1558 5 / 536 -rw-r--r-- 44 r nobody mdnsd 1558 6* route raw 0 ffffff0004d6e780 nobody mdnsd 1558 7* local stream ffffff0004dedb40 nobody mdnsd 1558 8 / 536 -rw-r--r-- 44 r root powerd 1503 root / 3 drwxr-xr-x 32 r root powerd 1503 wd / 3 drwxr-xr-x 32 r root powerd 1503 text /usr 227 -r-xr-xr-x 13488 r root powerd 1503 0 /dev 31 crw-rw-rw- null rw root powerd 1503 1 /dev 31 crw-rw-rw- null rw root powerd 1503 2 /dev 31 crw-rw-rw- null rw root powerd 1503 3 /var 4542 -rw------- 4 w root auditd 1370 root / 3 drwxr-xr-x 32 r root auditd 1370 wd / 3 drwxr-xr-x 32 r root auditd 1370 text /usr 77 -r-xr-xr-x 20384 r root auditd 1370 0 /dev 31 crw-rw-rw- null rw root auditd 1370 1 /dev 31 crw-rw-rw- null rw root auditd 1370 2 /dev 31 crw-rw-rw- null rw root auditd 1370 3* local dgram ffffff0004dedd20 <-> ffffff0004dede10 root auditd 1370 4 /var 4538 -rw-r--r-- 5 w root auditd 1370 5 /dev 19 crw------- audit r root auditd 1370 6 / 746 -rw------- 225 r root auditd 1370 8 / 750 -r--r--r-- 652 r root syslogd 1315 root / 3 drwxr-xr-x 32 r root syslogd 1315 wd / 3 drwxr-xr-x 32 r root syslogd 1315 text /usr 242 -r-xr-xr-x 38976 r root syslogd 1315 0 /dev 31 crw-rw-rw- null rw root syslogd 1315 1 /dev 31 crw-rw-rw- null rw root syslogd 1315 2 /dev 31 crw-rw-rw- null rw root syslogd 1315 3 /var 46 -rw------- 4 w root syslogd 1315 4* local dgram ffffff0004ea5000 root syslogd 1315 5* local dgram ffffff0004dede10 root syslogd 1315 6* internet6 dgram udp ffffff0004d6fe38 root syslogd 1315 7* internet dgram udp ffffff0004d90000 root syslogd 1315 8 /dev 33 crw------- klog r root syslogd 1315 10 - - bad - root syslogd 1315 11 /var 6284 -rw-r--r-- 26174 w root syslogd 1315 12 /var 6165 -rw------- 3761 w root syslogd 1315 13 /var 6127 -rw------- 51509 w root syslogd 1315 14 /var 6167 -rw-r----- 5487 w root syslogd 1315 15 /var 6199 -rw-r--r-- 82 w root syslogd 1315 16 /var 6119 -rw------- 82 w root syslogd 1315 17 /var 6147 -rw------- 25357 w root syslogd 1315 18 /var 6124 -rw------- 82118 w root syslogd 1315 19 /var 6146 -rw------- 49305 w root syslogd 1315 20 /var 6198 -rw------- 599426 w root syslogd 1315 21 /var 6101 -rw-r----- 82 w root syslogd 1315 22 /var 6104 -rw-r----- 82 w root syslogd 1315 23 /var 6099 -rw-r--r-- 255549441 w root devd 1072 root / 3 drwxr-xr-x 32 r root devd 1072 wd / 3 drwxr-xr-x 32 r root devd 1072 text / 1124 -r-xr-xr-x 401160 r root devd 1072 0 /dev 31 crw-rw-rw- null rw root devd 1072 1 /dev 31 crw-rw-rw- null rw root devd 1072 2 /dev 31 crw-rw-rw- null rw root devd 1072 3 /dev 5 crw------- devctl r root devd 1072 4* local stream ffffff0004ded000 root devd 1072 5 /var 39 -rw------- 4 w root adjkerntz 545 root / 3 drwxr-xr-x 32 r root adjkerntz 545 wd / 3 drwxr-xr-x 32 r root adjkerntz 545 text / 1102 -r-xr-xr-x 9072 r root adjkerntz 545 0 /dev 31 crw-rw-rw- null rw root adjkerntz 545 1 /dev 31 crw-rw-rw- null rw root adjkerntz 545 2 /dev 31 crw-rw-rw- null rw root zil_clean 455 root / 3 drwxr-xr-x 32 r root zil_clean 455 wd / 3 drwxr-xr-x 32 r root zil_clean 448 root / 3 drwxr-xr-x 32 r root zil_clean 448 wd / 3 drwxr-xr-x 32 r root zil_clean 435 root / 3 drwxr-xr-x 32 r root zil_clean 435 wd / 3 drwxr-xr-x 32 r root zil_clean 434 root / 3 drwxr-xr-x 32 r root zil_clean 434 wd / 3 drwxr-xr-x 32 r root zil_clean 433 root / 3 drwxr-xr-x 32 r root zil_clean 433 wd / 3 drwxr-xr-x 32 r root txg_thread_enter 423 root / 3 drwxr-xr-x 32 r root txg_thread_enter 423 wd / 3 drwxr-xr-x 32 r root txg_thread_enter 422 root / 3 drwxr-xr-x 32 r root txg_thread_enter 422 wd / 3 drwxr-xr-x 32 r root txg_thread_enter 421 root / 3 drwxr-xr-x 32 r root txg_thread_enter 421 wd / 3 drwxr-xr-x 32 r root vdev:worker ad14s1 420 root / 3 drwxr-xr-x 32 r root vdev:worker ad14s1 420 wd / 3 drwxr-xr-x 32 r root vdev:worker ad12s1 419 root / 3 drwxr-xr-x 32 r root vdev:worker ad12s1 419 wd / 3 drwxr-xr-x 32 r root vdev:worker ad6s1d 418 root / 3 drwxr-xr-x 32 r root vdev:worker ad6s1d 418 wd / 3 drwxr-xr-x 32 r root vdev:worker ad4s1d 417 root / 3 drwxr-xr-x 32 r root vdev:worker ad4s1d 417 wd / 3 drwxr-xr-x 32 r root spa_zio_intr_5 416 root / 3 drwxr-xr-x 32 r root spa_zio_intr_5 416 wd / 3 drwxr-xr-x 32 r root spa_zio_intr_5 415 root / 3 drwxr-xr-x 32 r root spa_zio_intr_5 415 wd / 3 drwxr-xr-x 32 r root spa_zio_intr_5 414 root / 3 drwxr-xr-x 32 r root spa_zio_intr_5 414 wd / 3 drwxr-xr-x 32 r root spa_zio_intr_5 413 root / 3 drwxr-xr-x 32 r root spa_zio_intr_5 413 wd / 3 drwxr-xr-x 32 r root spa_zio_issue_5 412 root / 3 drwxr-xr-x 32 r root spa_zio_issue_5 412 wd / 3 drwxr-xr-x 32 r root spa_zio_issue_5 411 root / 3 drwxr-xr-x 32 r root spa_zio_issue_5 411 wd / 3 drwxr-xr-x 32 r root spa_zio_issue_5 410 root / 3 drwxr-xr-x 32 r root spa_zio_issue_5 410 wd / 3 drwxr-xr-x 32 r root spa_zio_issue_5 409 root / 3 drwxr-xr-x 32 r root spa_zio_issue_5 409 wd / 3 drwxr-xr-x 32 r root spa_zio_intr_4 408 root / 3 drwxr-xr-x 32 r root spa_zio_intr_4 408 wd / 3 drwxr-xr-x 32 r root spa_zio_intr_4 407 root / 3 drwxr-xr-x 32 r root spa_zio_intr_4 407 wd / 3 drwxr-xr-x 32 r root spa_zio_intr_4 406 root / 3 drwxr-xr-x 32 r root spa_zio_intr_4 406 wd / 3 drwxr-xr-x 32 r root spa_zio_intr_4 405 root / 3 drwxr-xr-x 32 r root spa_zio_intr_4 405 wd / 3 drwxr-xr-x 32 r root spa_zio_issue_4 404 root / 3 drwxr-xr-x 32 r root spa_zio_issue_4 404 wd / 3 drwxr-xr-x 32 r root spa_zio_issue_4 403 root / 3 drwxr-xr-x 32 r root spa_zio_issue_4 403 wd / 3 drwxr-xr-x 32 r root spa_zio_issue_4 402 root / 3 drwxr-xr-x 32 r root spa_zio_issue_4 402 wd / 3 drwxr-xr-x 32 r root spa_zio_issue_4 401 root / 3 drwxr-xr-x 32 r root spa_zio_issue_4 401 wd / 3 drwxr-xr-x 32 r root spa_zio_intr_3 400 root / 3 drwxr-xr-x 32 r root spa_zio_intr_3 400 wd / 3 drwxr-xr-x 32 r root spa_zio_intr_3 399 root / 3 drwxr-xr-x 32 r root spa_zio_intr_3 399 wd / 3 drwxr-xr-x 32 r root spa_zio_intr_3 398 root / 3 drwxr-xr-x 32 r root spa_zio_intr_3 398 wd / 3 drwxr-xr-x 32 r root spa_zio_intr_3 397 root / 3 drwxr-xr-x 32 r root spa_zio_intr_3 397 wd / 3 drwxr-xr-x 32 r root spa_zio_issue_3 396 root / 3 drwxr-xr-x 32 r root spa_zio_issue_3 396 wd / 3 drwxr-xr-x 32 r root spa_zio_issue_3 395 root / 3 drwxr-xr-x 32 r root spa_zio_issue_3 395 wd / 3 drwxr-xr-x 32 r root spa_zio_issue_3 394 root / 3 drwxr-xr-x 32 r root spa_zio_issue_3 394 wd / 3 drwxr-xr-x 32 r root spa_zio_issue_3 393 root / 3 drwxr-xr-x 32 r root spa_zio_issue_3 393 wd / 3 drwxr-xr-x 32 r root spa_zio_intr_2 392 root / 3 drwxr-xr-x 32 r root spa_zio_intr_2 392 wd / 3 drwxr-xr-x 32 r root spa_zio_intr_2 391 root / 3 drwxr-xr-x 32 r root spa_zio_intr_2 391 wd / 3 drwxr-xr-x 32 r root spa_zio_intr_2 390 root / 3 drwxr-xr-x 32 r root spa_zio_intr_2 390 wd / 3 drwxr-xr-x 32 r root spa_zio_intr_2 389 root / 3 drwxr-xr-x 32 r root spa_zio_intr_2 389 wd / 3 drwxr-xr-x 32 r root spa_zio_issue_2 388 root / 3 drwxr-xr-x 32 r root spa_zio_issue_2 388 wd / 3 drwxr-xr-x 32 r root spa_zio_issue_2 387 root / 3 drwxr-xr-x 32 r root spa_zio_issue_2 387 wd / 3 drwxr-xr-x 32 r root spa_zio_issue_2 386 root / 3 drwxr-xr-x 32 r root spa_zio_issue_2 386 wd / 3 drwxr-xr-x 32 r root spa_zio_issue_2 385 root / 3 drwxr-xr-x 32 r root spa_zio_issue_2 385 wd / 3 drwxr-xr-x 32 r root spa_zio_intr_1 384 root / 3 drwxr-xr-x 32 r root spa_zio_intr_1 384 wd / 3 drwxr-xr-x 32 r root spa_zio_intr_1 383 root / 3 drwxr-xr-x 32 r root spa_zio_intr_1 383 wd / 3 drwxr-xr-x 32 r root spa_zio_intr_1 382 root / 3 drwxr-xr-x 32 r root spa_zio_intr_1 382 wd / 3 drwxr-xr-x 32 r root spa_zio_intr_1 381 root / 3 drwxr-xr-x 32 r root spa_zio_intr_1 381 wd / 3 drwxr-xr-x 32 r root spa_zio_issue_1 380 root / 3 drwxr-xr-x 32 r root spa_zio_issue_1 380 wd / 3 drwxr-xr-x 32 r root spa_zio_issue_1 379 root / 3 drwxr-xr-x 32 r root spa_zio_issue_1 379 wd / 3 drwxr-xr-x 32 r root spa_zio_issue_1 378 root / 3 drwxr-xr-x 32 r root spa_zio_issue_1 378 wd / 3 drwxr-xr-x 32 r root spa_zio_issue_1 377 root / 3 drwxr-xr-x 32 r root spa_zio_issue_1 377 wd / 3 drwxr-xr-x 32 r root spa_zio_intr_0 376 root / 3 drwxr-xr-x 32 r root spa_zio_intr_0 376 wd / 3 drwxr-xr-x 32 r root spa_zio_intr_0 375 root / 3 drwxr-xr-x 32 r root spa_zio_intr_0 375 wd / 3 drwxr-xr-x 32 r root spa_zio_intr_0 374 root / 3 drwxr-xr-x 32 r root spa_zio_intr_0 374 wd / 3 drwxr-xr-x 32 r root spa_zio_intr_0 373 root / 3 drwxr-xr-x 32 r root spa_zio_intr_0 373 wd / 3 drwxr-xr-x 32 r root spa_zio_issue_0 372 root / 3 drwxr-xr-x 32 r root spa_zio_issue_0 372 wd / 3 drwxr-xr-x 32 r root spa_zio_issue_0 371 root / 3 drwxr-xr-x 32 r root spa_zio_issue_0 371 wd / 3 drwxr-xr-x 32 r root spa_zio_issue_0 370 root / 3 drwxr-xr-x 32 r root spa_zio_issue_0 370 wd / 3 drwxr-xr-x 32 r root spa_zio_issue_0 369 root / 3 drwxr-xr-x 32 r root spa_zio_issue_0 369 wd / 3 drwxr-xr-x 32 r root txg_thread_enter 316 root / 3 drwxr-xr-x 32 r root txg_thread_enter 316 wd / 3 drwxr-xr-x 32 r root txg_thread_enter 315 root / 3 drwxr-xr-x 32 r root txg_thread_enter 315 wd / 3 drwxr-xr-x 32 r root txg_thread_enter 314 root / 3 drwxr-xr-x 32 r root txg_thread_enter 314 wd / 3 drwxr-xr-x 32 r root vdev:worker da0s2a 313 root / 3 drwxr-xr-x 32 r root vdev:worker da0s2a 313 wd / 3 drwxr-xr-x 32 r root spa_zio_intr_5 312 root / 3 drwxr-xr-x 32 r root spa_zio_intr_5 312 wd / 3 drwxr-xr-x 32 r root spa_zio_intr_5 311 root / 3 drwxr-xr-x 32 r root spa_zio_intr_5 311 wd / 3 drwxr-xr-x 32 r root spa_zio_intr_5 310 root / 3 drwxr-xr-x 32 r root spa_zio_intr_5 310 wd / 3 drwxr-xr-x 32 r root spa_zio_intr_5 309 root / 3 drwxr-xr-x 32 r root spa_zio_intr_5 309 wd / 3 drwxr-xr-x 32 r root spa_zio_issue_5 308 root / 3 drwxr-xr-x 32 r root spa_zio_issue_5 308 wd / 3 drwxr-xr-x 32 r root spa_zio_issue_5 307 root / 3 drwxr-xr-x 32 r root spa_zio_issue_5 307 wd / 3 drwxr-xr-x 32 r root spa_zio_issue_5 306 root / 3 drwxr-xr-x 32 r root spa_zio_issue_5 306 wd / 3 drwxr-xr-x 32 r root spa_zio_issue_5 305 root / 3 drwxr-xr-x 32 r root spa_zio_issue_5 305 wd / 3 drwxr-xr-x 32 r root spa_zio_intr_4 304 root / 3 drwxr-xr-x 32 r root spa_zio_intr_4 304 wd / 3 drwxr-xr-x 32 r root spa_zio_intr_4 303 root / 3 drwxr-xr-x 32 r root spa_zio_intr_4 303 wd / 3 drwxr-xr-x 32 r root spa_zio_intr_4 302 root / 3 drwxr-xr-x 32 r root spa_zio_intr_4 302 wd / 3 drwxr-xr-x 32 r root spa_zio_intr_4 301 root / 3 drwxr-xr-x 32 r root spa_zio_intr_4 301 wd / 3 drwxr-xr-x 32 r root spa_zio_issue_4 300 root / 3 drwxr-xr-x 32 r root spa_zio_issue_4 300 wd / 3 drwxr-xr-x 32 r root spa_zio_issue_4 299 root / 3 drwxr-xr-x 32 r root spa_zio_issue_4 299 wd / 3 drwxr-xr-x 32 r root spa_zio_issue_4 298 root / 3 drwxr-xr-x 32 r root spa_zio_issue_4 298 wd / 3 drwxr-xr-x 32 r root spa_zio_issue_4 297 root / 3 drwxr-xr-x 32 r root spa_zio_issue_4 297 wd / 3 drwxr-xr-x 32 r root spa_zio_intr_3 296 root / 3 drwxr-xr-x 32 r root spa_zio_intr_3 296 wd / 3 drwxr-xr-x 32 r root spa_zio_intr_3 295 root / 3 drwxr-xr-x 32 r root spa_zio_intr_3 295 wd / 3 drwxr-xr-x 32 r root spa_zio_intr_3 294 root / 3 drwxr-xr-x 32 r root spa_zio_intr_3 294 wd / 3 drwxr-xr-x 32 r root spa_zio_intr_3 293 root / 3 drwxr-xr-x 32 r root spa_zio_intr_3 293 wd / 3 drwxr-xr-x 32 r root spa_zio_issue_3 292 root / 3 drwxr-xr-x 32 r root spa_zio_issue_3 292 wd / 3 drwxr-xr-x 32 r root spa_zio_issue_3 291 root / 3 drwxr-xr-x 32 r root spa_zio_issue_3 291 wd / 3 drwxr-xr-x 32 r root spa_zio_issue_3 290 root / 3 drwxr-xr-x 32 r root spa_zio_issue_3 290 wd / 3 drwxr-xr-x 32 r root spa_zio_issue_3 289 root / 3 drwxr-xr-x 32 r root spa_zio_issue_3 289 wd / 3 drwxr-xr-x 32 r root spa_zio_intr_2 288 root / 3 drwxr-xr-x 32 r root spa_zio_intr_2 288 wd / 3 drwxr-xr-x 32 r root spa_zio_intr_2 287 root / 3 drwxr-xr-x 32 r root spa_zio_intr_2 287 wd / 3 drwxr-xr-x 32 r root spa_zio_intr_2 286 root / 3 drwxr-xr-x 32 r root spa_zio_intr_2 286 wd / 3 drwxr-xr-x 32 r root spa_zio_intr_2 285 root / 3 drwxr-xr-x 32 r root spa_zio_intr_2 285 wd / 3 drwxr-xr-x 32 r root spa_zio_issue_2 284 root / 3 drwxr-xr-x 32 r root spa_zio_issue_2 284 wd / 3 drwxr-xr-x 32 r root spa_zio_issue_2 283 root / 3 drwxr-xr-x 32 r root spa_zio_issue_2 283 wd / 3 drwxr-xr-x 32 r root spa_zio_issue_2 282 root / 3 drwxr-xr-x 32 r root spa_zio_issue_2 282 wd / 3 drwxr-xr-x 32 r root spa_zio_issue_2 281 root / 3 drwxr-xr-x 32 r root spa_zio_issue_2 281 wd / 3 drwxr-xr-x 32 r root spa_zio_intr_1 280 root / 3 drwxr-xr-x 32 r root spa_zio_intr_1 280 wd / 3 drwxr-xr-x 32 r root spa_zio_intr_1 279 root / 3 drwxr-xr-x 32 r root spa_zio_intr_1 279 wd / 3 drwxr-xr-x 32 r root spa_zio_intr_1 278 root / 3 drwxr-xr-x 32 r root spa_zio_intr_1 278 wd / 3 drwxr-xr-x 32 r root spa_zio_intr_1 277 root / 3 drwxr-xr-x 32 r root spa_zio_intr_1 277 wd / 3 drwxr-xr-x 32 r root spa_zio_issue_1 276 root / 3 drwxr-xr-x 32 r root spa_zio_issue_1 276 wd / 3 drwxr-xr-x 32 r root spa_zio_issue_1 275 root / 3 drwxr-xr-x 32 r root spa_zio_issue_1 275 wd / 3 drwxr-xr-x 32 r root spa_zio_issue_1 274 root / 3 drwxr-xr-x 32 r root spa_zio_issue_1 274 wd / 3 drwxr-xr-x 32 r root spa_zio_issue_1 273 root / 3 drwxr-xr-x 32 r root spa_zio_issue_1 273 wd / 3 drwxr-xr-x 32 r root spa_zio_intr_0 272 root / 3 drwxr-xr-x 32 r root spa_zio_intr_0 272 wd / 3 drwxr-xr-x 32 r root spa_zio_intr_0 271 root / 3 drwxr-xr-x 32 r root spa_zio_intr_0 271 wd / 3 drwxr-xr-x 32 r root spa_zio_intr_0 270 root / 3 drwxr-xr-x 32 r root spa_zio_intr_0 270 wd / 3 drwxr-xr-x 32 r root spa_zio_intr_0 269 root / 3 drwxr-xr-x 32 r root spa_zio_intr_0 269 wd / 3 drwxr-xr-x 32 r root spa_zio_issue_0 268 root / 3 drwxr-xr-x 32 r root spa_zio_issue_0 268 wd / 3 drwxr-xr-x 32 r root spa_zio_issue_0 267 root / 3 drwxr-xr-x 32 r root spa_zio_issue_0 267 wd / 3 drwxr-xr-x 32 r root spa_zio_issue_0 266 root / 3 drwxr-xr-x 32 r root spa_zio_issue_0 266 wd / 3 drwxr-xr-x 32 r root spa_zio_issue_0 265 root / 3 drwxr-xr-x 32 r root spa_zio_issue_0 265 wd / 3 drwxr-xr-x 32 r root USBPROC 196 root / 3 drwxr-xr-x 32 r root USBPROC 196 wd / 3 drwxr-xr-x 32 r root USBPROC 195 root / 3 drwxr-xr-x 32 r root USBPROC 195 wd / 3 drwxr-xr-x 32 r root USBPROC 194 root / 3 drwxr-xr-x 32 r root USBPROC 194 wd / 3 drwxr-xr-x 32 r root USBPROC 193 root / 3 drwxr-xr-x 32 r root USBPROC 193 wd / 3 drwxr-xr-x 32 r root USBPROC 192 root / 3 drwxr-xr-x 32 r root USBPROC 192 wd / 3 drwxr-xr-x 32 r root USBPROC 191 root / 3 drwxr-xr-x 32 r root USBPROC 191 wd / 3 drwxr-xr-x 32 r root USBPROC 172 root / 3 drwxr-xr-x 32 r root USBPROC 172 wd / 3 drwxr-xr-x 32 r root USBPROC 171 root / 3 drwxr-xr-x 32 r root USBPROC 171 wd / 3 drwxr-xr-x 32 r root zil_clean 145 root / 3 drwxr-xr-x 32 r root zil_clean 145 wd / 3 drwxr-xr-x 32 r root txg_thread_enter 144 root / 3 drwxr-xr-x 32 r root txg_thread_enter 144 wd / 3 drwxr-xr-x 32 r root txg_thread_enter 143 root / 3 drwxr-xr-x 32 r root txg_thread_enter 143 wd / 3 drwxr-xr-x 32 r root txg_thread_enter 142 root / 3 drwxr-xr-x 32 r root txg_thread_enter 142 wd / 3 drwxr-xr-x 32 r root vdev:worker ad14s2 141 root / 3 drwxr-xr-x 32 r root vdev:worker ad14s2 141 wd / 3 drwxr-xr-x 32 r root vdev:worker ad12s2 140 root / 3 drwxr-xr-x 32 r root vdev:worker ad12s2 140 wd / 3 drwxr-xr-x 32 r root USBPROC 139 root / 3 drwxr-xr-x 32 r root USBPROC 139 wd / 3 drwxr-xr-x 32 r root vdev:worker ad6s2 138 root / 3 drwxr-xr-x 32 r root vdev:worker ad6s2 138 wd / 3 drwxr-xr-x 32 r root spa_zio_intr_5 137 root / 3 drwxr-xr-x 32 r root spa_zio_intr_5 137 wd / 3 drwxr-xr-x 32 r root spa_zio_intr_5 136 root / 3 drwxr-xr-x 32 r root spa_zio_intr_5 136 wd / 3 drwxr-xr-x 32 r root spa_zio_intr_5 135 root / 3 drwxr-xr-x 32 r root spa_zio_intr_5 135 wd / 3 drwxr-xr-x 32 r root spa_zio_intr_5 134 root / 3 drwxr-xr-x 32 r root spa_zio_intr_5 134 wd / 3 drwxr-xr-x 32 r root spa_zio_issue_5 133 root / 3 drwxr-xr-x 32 r root spa_zio_issue_5 133 wd / 3 drwxr-xr-x 32 r root spa_zio_issue_5 132 root / 3 drwxr-xr-x 32 r root spa_zio_issue_5 132 wd / 3 drwxr-xr-x 32 r root spa_zio_issue_5 131 root / 3 drwxr-xr-x 32 r root spa_zio_issue_5 131 wd / 3 drwxr-xr-x 32 r root spa_zio_issue_5 130 root / 3 drwxr-xr-x 32 r root spa_zio_issue_5 130 wd / 3 drwxr-xr-x 32 r root spa_zio_intr_4 129 root / 3 drwxr-xr-x 32 r root spa_zio_intr_4 129 wd / 3 drwxr-xr-x 32 r root spa_zio_intr_4 128 root / 3 drwxr-xr-x 32 r root spa_zio_intr_4 128 wd / 3 drwxr-xr-x 32 r root spa_zio_intr_4 127 root / 3 drwxr-xr-x 32 r root spa_zio_intr_4 127 wd / 3 drwxr-xr-x 32 r root spa_zio_intr_4 126 root / 3 drwxr-xr-x 32 r root spa_zio_intr_4 126 wd / 3 drwxr-xr-x 32 r root spa_zio_issue_4 125 root / 3 drwxr-xr-x 32 r root spa_zio_issue_4 125 wd / 3 drwxr-xr-x 32 r root spa_zio_issue_4 124 root / 3 drwxr-xr-x 32 r root spa_zio_issue_4 124 wd / 3 drwxr-xr-x 32 r root spa_zio_issue_4 123 root / 3 drwxr-xr-x 32 r root spa_zio_issue_4 123 wd / 3 drwxr-xr-x 32 r root spa_zio_issue_4 122 root / 3 drwxr-xr-x 32 r root spa_zio_issue_4 122 wd / 3 drwxr-xr-x 32 r root spa_zio_intr_3 121 root / 3 drwxr-xr-x 32 r root spa_zio_intr_3 121 wd / 3 drwxr-xr-x 32 r root spa_zio_intr_3 120 root / 3 drwxr-xr-x 32 r root spa_zio_intr_3 120 wd / 3 drwxr-xr-x 32 r root spa_zio_intr_3 119 root / 3 drwxr-xr-x 32 r root spa_zio_intr_3 119 wd / 3 drwxr-xr-x 32 r root spa_zio_intr_3 118 root / 3 drwxr-xr-x 32 r root spa_zio_intr_3 118 wd / 3 drwxr-xr-x 32 r root spa_zio_issue_3 117 root / 3 drwxr-xr-x 32 r root spa_zio_issue_3 117 wd / 3 drwxr-xr-x 32 r root spa_zio_issue_3 116 root / 3 drwxr-xr-x 32 r root spa_zio_issue_3 116 wd / 3 drwxr-xr-x 32 r root spa_zio_issue_3 115 root / 3 drwxr-xr-x 32 r root spa_zio_issue_3 115 wd / 3 drwxr-xr-x 32 r root spa_zio_issue_3 114 root / 3 drwxr-xr-x 32 r root spa_zio_issue_3 114 wd / 3 drwxr-xr-x 32 r root spa_zio_intr_2 113 root / 3 drwxr-xr-x 32 r root spa_zio_intr_2 113 wd / 3 drwxr-xr-x 32 r root spa_zio_intr_2 112 root / 3 drwxr-xr-x 32 r root spa_zio_intr_2 112 wd / 3 drwxr-xr-x 32 r root spa_zio_intr_2 111 root / 3 drwxr-xr-x 32 r root spa_zio_intr_2 111 wd / 3 drwxr-xr-x 32 r root spa_zio_intr_2 110 root / 3 drwxr-xr-x 32 r root spa_zio_intr_2 110 wd / 3 drwxr-xr-x 32 r root spa_zio_issue_2 109 root / 3 drwxr-xr-x 32 r root spa_zio_issue_2 109 wd / 3 drwxr-xr-x 32 r root spa_zio_issue_2 108 root / 3 drwxr-xr-x 32 r root spa_zio_issue_2 108 wd / 3 drwxr-xr-x 32 r root spa_zio_issue_2 107 root / 3 drwxr-xr-x 32 r root spa_zio_issue_2 107 wd / 3 drwxr-xr-x 32 r root spa_zio_issue_2 106 root / 3 drwxr-xr-x 32 r root spa_zio_issue_2 106 wd / 3 drwxr-xr-x 32 r root spa_zio_intr_1 105 root / 3 drwxr-xr-x 32 r root spa_zio_intr_1 105 wd / 3 drwxr-xr-x 32 r root spa_zio_intr_1 104 root / 3 drwxr-xr-x 32 r root spa_zio_intr_1 104 wd / 3 drwxr-xr-x 32 r root spa_zio_intr_1 103 root / 3 drwxr-xr-x 32 r root spa_zio_intr_1 103 wd / 3 drwxr-xr-x 32 r root spa_zio_intr_1 102 root / 3 drwxr-xr-x 32 r root spa_zio_intr_1 102 wd / 3 drwxr-xr-x 32 r root spa_zio_issue_1 101 root / 3 drwxr-xr-x 32 r root spa_zio_issue_1 101 wd / 3 drwxr-xr-x 32 r root spa_zio_issue_1 100 root / 3 drwxr-xr-x 32 r root spa_zio_issue_1 100 wd / 3 drwxr-xr-x 32 r root spa_zio_issue_1 99 root / 3 drwxr-xr-x 32 r root spa_zio_issue_1 99 wd / 3 drwxr-xr-x 32 r root spa_zio_issue_1 98 root / 3 drwxr-xr-x 32 r root spa_zio_issue_1 98 wd / 3 drwxr-xr-x 32 r root spa_zio_intr_0 97 root / 3 drwxr-xr-x 32 r root spa_zio_intr_0 97 wd / 3 drwxr-xr-x 32 r root spa_zio_intr_0 96 root / 3 drwxr-xr-x 32 r root spa_zio_intr_0 96 wd / 3 drwxr-xr-x 32 r root spa_zio_intr_0 95 root / 3 drwxr-xr-x 32 r root spa_zio_intr_0 95 wd / 3 drwxr-xr-x 32 r root spa_zio_intr_0 94 root / 3 drwxr-xr-x 32 r root spa_zio_intr_0 94 wd / 3 drwxr-xr-x 32 r root spa_zio_issue_0 93 root / 3 drwxr-xr-x 32 r root spa_zio_issue_0 93 wd / 3 drwxr-xr-x 32 r root spa_zio_issue_0 92 root / 3 drwxr-xr-x 32 r root spa_zio_issue_0 92 wd / 3 drwxr-xr-x 32 r root spa_zio_issue_0 91 root / 3 drwxr-xr-x 32 r root spa_zio_issue_0 91 wd / 3 drwxr-xr-x 32 r root spa_zio_issue_0 90 root / 3 drwxr-xr-x 32 r root spa_zio_issue_0 90 wd / 3 drwxr-xr-x 32 r root USBPROC 89 root / 3 drwxr-xr-x 32 r root USBPROC 89 wd / 3 drwxr-xr-x 32 r root init 1 root / 3 drwxr-xr-x 32 r root init 1 wd / 3 drwxr-xr-x 32 r root init 1 text / 1197 -r-xr-xr-x 705696 r root kernel 0 root / 3 drwxr-xr-x 32 r root kernel 0 wd / 3 drwxr-xr-x 32 r ------------------------------------------------------------------------ dmesg Copyright (c) 1992-2008 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.0-CURRENT #1: Wed Oct 15 21:39:04 BST 2008 sandbox@w2fzz0vc03.aah-go-on.com:/usr/home/sandbox/newusb/obj/usr/home/sandbox/newusb/src/sys/GENERIC_usb2 WARNING: WITNESS option enabled, expect reduced performance. Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Core(TM)2 Quad CPU @ 2.66GHz (2660.04-MHz K8-class CPU) Origin = "GenuineIntel" Id = 0x6f7 Stepping = 7 Features=0xbfebfbff Features2=0xe3bd AMD Features=0x20100800 AMD Features2=0x1 Cores per package: 4 usable memory = 4276260864 (4078 MB) avail memory = 4091035648 (3901 MB) ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 cpu2 (AP): APIC ID: 2 cpu3 (AP): APIC ID: 3 This module (opensolaris) contains code covered by the Common Development and Distribution License (CDDL) see http://opensolaris.org/os/licensing/opensolaris_license/ ioapic0: Changing APIC ID to 8 ioapic0 irqs 0-23 on motherboard lapic0: Forcing LINT1 to edge trigger kbd1 at kbdmux0 ath_hal: 0.10.5.10 (AR5210, AR5211, AR5212, AR5416, RF5111, RF5112, RF2413, RF5413, RF2133, RF2425, RF2417) acpi0: on motherboard acpi0: [ITHREAD] acpi0: Power Button (fixed) acpi0: reservation of 0, a0000 (3) failed acpi0: reservation of 100000, f00000 (3) failed acpi0: reservation of 1000000, 9edbcc00 (3) failed Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0 acpi_hpet0: iomem 0xfed00000-0xfed003ff on acpi0 Timecounter "HPET" frequency 25000000 Hz quality 900 acpi_button0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pci0: at device 0.1 (no driver attached) pci0: at device 0.2 (no driver attached) pci0: at device 0.3 (no driver attached) pci0: at device 0.4 (no driver attached) pci0: at device 1.0 (no driver attached) pci0: at device 1.1 (no driver attached) pci0: at device 1.2 (no driver attached) pci0: at device 1.3 (no driver attached) pci0: at device 1.4 (no driver attached) pci0: at device 1.5 (no driver attached) pci0: at device 1.6 (no driver attached) pcib1: at device 2.0 on pci0 pci1: on pcib1 vgapci0: port 0xdc80-0xdcff mem 0xde000000-0xdeffffff,0xa0000000-0xafffffff,0xdc000000-0xddffffff irq 16 at device 0.0 on pci1 pcib2: at device 4.0 on pci0 pci2: on pcib2 pcib3: at device 5.0 on pci0 pci3: on pcib3 pci0: at device 9.0 (no driver attached) isab0: port 0x4f00-0x4fff at device 10.0 on pci0 isa0: on isab0 pci0: at device 10.1 (no driver attached) ohci0: mem 0xdfffc000-0xdfffcfff irq 21 at device 11.0 on pci0 ohci0: [ITHREAD] usbus0: on ohci0 ehci0: mem 0xdfffbf00-0xdfffbfff irq 22 at device 11.1 on pci0 ehci0: [ITHREAD] usbus1: waiting for BIOS to give up control usbus1: EHCI version 1.0 usbus1: on ehci0 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xecf0-0xecff at device 13.0 on pci0 ata0: on atapci0 ata0: [ITHREAD] ata1: on atapci0 ata1: [ITHREAD] atapci1: port 0xfe00-0xfe07,0xfe10-0xfe13,0xfe20-0xfe27,0xfe30-0xfe33,0xfec0-0xfecf mem 0xdfffd000-0xdfffdfff irq 23 at device 14.0 on pci0 atapci1: [ITHREAD] ata2: on atapci1 ata2: [ITHREAD] ata3: on atapci1 ata3: [ITHREAD] atapci2: port 0xfe40-0xfe47,0xfe50-0xfe53,0xfe60-0xfe67,0xfe70-0xfe73,0xfed0-0xfedf mem 0xdfffe000-0xdfffefff irq 20 at device 14.1 on pci0 atapci2: [ITHREAD] ata4: on atapci2 ata4: [ITHREAD] ata5: on atapci2 ata5: [ITHREAD] atapci3: port 0xfe80-0xfe87,0xfe90-0xfe93,0xfea0-0xfea7,0xfeb0-0xfeb3,0xfef0-0xfeff mem 0xdffff000-0xdfffffff irq 21 at device 14.2 on pci0 atapci3: [ITHREAD] ata6: on atapci3 ata6: [ITHREAD] ata7: on atapci3 ata7: [ITHREAD] pcib4: at device 15.0 on pci0 pci4: on pcib4 pci4: at device 4.0 (no driver attached) pci4: at device 5.0 (no driver attached) fwohci0: mem 0xdadfb800-0xdadfbfff,0xdadfc000-0xdadfffff irq 18 at device 10.0 on pci4 fwohci0: [FILTER] fwohci0: OHCI version 1.10 (ROM=0) fwohci0: No. of Isochronous channels is 4. fwohci0: EUI64 80:00:00:00:00:00:00:00 fwohci0: Phy 1394a available S400, 2 ports. fwohci0: Link S400, max_rec 2048 bytes. firewire0: on fwohci0 dcons_crom0: on firewire0 dcons_crom0: bus_addr 0x2598000 fwe0: on firewire0 if_fwe0: Fake Ethernet address: 82:00:00:00:00:00 fwe0: Ethernet address: 82:00:00:00:00:00 fwip0: on firewire0 fwip0: Firewire address: 80:00:00:00:00:00:00:00 @ 0xfffe00000000, S400, maxrec 2048 sbp0: on firewire0 fwohci0: Initiate bus reset fwohci0: BUS reset fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode pcib5: at device 19.0 on pci0 pci5: on pcib5 pcib6: at device 24.0 on pci0 pci6: on pcib6 vgapci1: port 0xbc80-0xbcff mem 0xd1000000-0xd1ffffff,0xc0000000-0xcfffffff,0xd2000000-0xd3ffffff irq 16 at device 0.0 on pci6 atrtc0: port 0x70-0x7f irq 8 on acpi0 atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] atkbd0: [ITHREAD] psm0: irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: [ITHREAD] psm0: model MouseMan+, device ID 0 uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 uart0: [FILTER] cpu0: on acpi0 est0: on cpu0 est: CPU supports Enhanced Speedstep, but is not recognized. est: cpu_vendor GenuineIntel, msr a2a0a2a86000a2a device_attach: est0 attach returned 6 p4tcc0: on cpu0 cpu1: on acpi0 est1: on cpu1 est: CPU supports Enhanced Speedstep, but is not recognized. est: cpu_vendor GenuineIntel, msr a2a0a2a86000a2a device_attach: est1 attach returned 6 p4tcc1: on cpu1 cpu2: on acpi0 est2: on cpu2 est: CPU supports Enhanced Speedstep, but is not recognized. est: cpu_vendor GenuineIntel, msr a2a0a2a86000a2a device_attach: est2 attach returned 6 p4tcc2: on cpu2 cpu3: on acpi0 est3: on cpu3 est: CPU supports Enhanced Speedstep, but is not recognized. est: cpu_vendor GenuineIntel, msr a2a0a2a86000a2a device_attach: est3 attach returned 6 p4tcc3: on cpu3 orm0: at iomem 0xc0000-0xcc7ff,0xcc800-0xce7ff,0xce800-0xcffff on isa0 ppc0: cannot reserve I/O port range sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 WARNING: ZFS is considered to be an experimental feature in FreeBSD. Timecounters tick every 1.000 msec usbus0: 12Mbps Full Speed USB v1.0 firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me) firewire0: bus manager 0 (me) ZFS filesystem version 6 ZFS storage pool version 6 ugen0.1: at usbus0 ushub0: on usbus0 ushub0: 10 ports with 10 removable, self powered usbus1: 480Mbps High Speed USB v2.0 ugen1.1: at usbus1 ushub1: on usbus1 ushub1: 10 ports with 10 removable, self powered ad4: 305245MB at ata2-master SATA300 ad6: 305245MB at ata3-master SATA300 acd0: CDRW at ata4-master SATA150 acd1: DVDR at ata5-master SATA150 GEOM_LABEL: Label for provider ad4s2 is ntfs/System. ad12: 305245MB at ata6-master SATA300 ad14: 305245MB at ata7-master SATA300 lapic1: Forcing LINT1 to edge trigger SMP: AP CPU #1 Launched! lapic2: Forcing LINT1 to edge trigger SMP: AP CPU #2 Launched! lapic3: Forcing LINT1 to edge trigger SMP: AP CPU #3 Launched! WARNING: WITNESS option enabled, expect reduced performance. Trying to mount root from zfs:tank lock order reversal: 1st 0xffffff0002d72000 vfslock (vfslock) @ /usr/home/sandbox/newusb/src/sys/kern/vfs_subr.c:372 2nd 0xffffff0002d73448 devfs (devfs) @ /usr/home/sandbox/newusb/src/sys/kern/vfs_lookup.c:428 3rd 0xffffff0002d71c80 vfslock (vfslock) @ /usr/home/sandbox/newusb/src/sys/kern/vfs_subr.c:372 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2a _witness_debugger() at _witness_debugger+0x49 witness_checkorder() at witness_checkorder+0x7a5 __lockmgr_args() at __lockmgr_args+0xca6 vfs_busy() at vfs_busy+0xd0 vfs_mount_alloc() at vfs_mount_alloc+0x7d vfs_donmount() at vfs_donmount+0xf05 kernel_mount() at kernel_mount+0xa1 kernel_vmount() at kernel_vmount+0xce vfs_mountroot_try() at vfs_mountroot_try+0xf4 vfs_mountroot() at vfs_mountroot+0x3ea start_init() at start_init+0x62 fork_exit() at fork_exit+0x12a fork_trampoline() at fork_trampoline+0xe --- trap 0, rip = 0, rsp = 0xfffffffe40023d40, rbp = 0 --- ugen1.2: at usbus1 umass0: on usbus1 umass0: SCSI over Bulk-Only; quirks = 0x0000 lock order reversal: 1st 0xffffff0002c4a7f8 zfs (zfs) @ /usr/home/sandbox/newusb/src/sys/modules/zfs/../../cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vnops.c:1123 2nd 0xffffff0002d72000 vfslock (vfslock) @ /usr/home/sandbox/newusb/src/sys/kern/vfs_subr.c:372 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2a _witness_debugger() at _witness_debugger+0x49 witness_checkorder() at witness_checkorder+0x7a5 __lockmgr_args() at __lockmgr_args+0xca6 vfs_busy() at vfs_busy+0xd0 lookup() at lookup+0x8c0 namei() at namei+0x454 kern_unlinkat() at kern_unlinkat+0x9d vfs_mountroot_try() at vfs_mountroot_try+0x411 vfs_mountroot() at vfs_mountroot+0x3ea start_init() at start_init+0x62 fork_exit() at fork_exit+0x12a fork_trampoline() at fork_trampoline+0xe --- trap 0, rip = 0, rsp = 0xfffffffe40023d40, rbp = 0 --- lock order reversal: 1st 0xffffff00024ee070 user map (user map) @ /usr/home/sandbox/newusb/src/sys/vm/vm_map.c:3115 2nd 0xffffff0002c4a448 zfs (zfs) @ /usr/home/sandbox/newusb/src/sys/kern/vfs_subr.c:2049 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2a _witness_debugger() at _witness_debugger+0x49 witness_checkorder() at witness_checkorder+0x7a5 __lockmgr_args() at __lockmgr_args+0xca6 vop_stdlock() at vop_stdlock+0x39 VOP_LOCK1_APV() at VOP_LOCK1_APV+0x9b _vn_lock() at umass0:1:0:-1: At_tvanc_hleodc kt+o0 xs5c0bu s1 vget() at vget+0x7d vnode_pager_lock() at vnode_pager_lock+0x1d4 vm_fault() at vm_fault+0x22f trap_pfault() at trap_pfault+0x103 trap() at trap+0x51c calltrap() at calltrap+0x8 --- trap 0xc, rip = 0x40014f, rsp = 0x7fffffffee70, rbp = 0x7fffffffee90 --- da0 at umass-sim0 bus 0 target 0 lun 0 da0: Fixed Direct Access SCSI-4 device da0: 40.000MB/s transfers da0: 476940MB (976773168 512 byte sectors: 255H 63S/T 60801C) GEOM_LABEL: Label for provider da0s1 is ntfs/Backup. Entropy harvesting: interrupts ethernet point_to_point ugen1.3: at usbus1 ushub2: on usbus1 kickstart . ushub2: 7 ports with 7 removable, self powered ugen1.4: at usbus1 ugen1.5: at usbus1 rum0: on usbus1 rum0: MAC/BBP RT2573 (rev 0x2573a), RF RT2528 ugen1.6: at usbus1 umass1: on usbus1 umass1: SCSI over Bulk-Only; quirks = 0x0000 umass1:2:1:-1: Attached to scbus2 da1 at umass-sim1 bus 1 target 0 lun 0 da1: Removable Direct Access SCSI-0 device da1: 40.000MB/s transfers da1: Attempt to query device size failed: NOT READY, Medium not present da2 at umass-sim1 bus 1 target 0 lun 1 da2: Removable Direct Access SCSI-0 device da2: 40.000MB/s transfers da2: Attempt to query device size failed: NOT READY, Medium not present da3 at umass-sim1 bus 1 target 0 lun 2 da3: Removable Direct Access SCSI-0 device da3: 40.000MB/s transfers da3: Attempt to query device size failed: NOT READY, Medium not present da4 at umass-sim1 bus 1 target 0 lun 3 da4: Removable Direct Access SCSI-0 device da4: 40.000MB/s transfers da4: Attempt to query device size failed: NOT READY, Medium not present /dev/ad4s1a: 6872 files, 492217 used, 520797 free (3413 frags, 64673 blocks, 0.3% fragmentation) Mismatched versions: File system is version 2 on-disk format, which is incompatible with this software version 1! cannot mount 'backup/20080823-0125': Operation not supported lock order reversal: 1st 0xffffff0004b7d098 syncer (syncer) @ /usr/home/sandbox/newusb/src/sys/kern/vfs_subr.c:1657 2nd 0xffffff0004ba7960 vfslock (vfslock) @ /usr/home/sandbox/newusb/src/sys/kern/vfs_subr.c:372 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2a _witness_debugger() at _witness_debugger+0x49 witness_checkorder() at witness_checkorder+0x7a5 __lockmgr_args() at __lockmgr_args+0xca6 vfs_busy() at vfs_busy+0xd0 sync_fsync() at sync_fsync+0x9c sync_vnode() at sync_vnode+0x143 sched_sync() at sched_sync+0x1c5 fork_exit() at fork_exit+0x12a fork_trampoline() at fork_trampoline+0xe --- trap 0, rip = 0, rsp = 0xfffffffeb4d05d40, rbp = 0 --- wlan0: Ethernet address: 00:17:3f:72:40:90 Starting Network: lo0. add net default: gateway 192.168.0.1 Additional TCP/IP options: tcp extensions=NO . savecore: reboot after panic: mutex Giant not owned at /usr/home/sandbox/newusb/src/sys/kern/tty_ttydisc.c:1129 Oct 16 15:27:09 w2fzz0vc03 savecore: reboot after panic: mutex Giant not owned at /usr/home/sandbox/newusb/src/sys/kern/tty_ttydisc.c:1129 savecore: writing core to vmcore.41 wlan0: link state changed to UP Additional ABI support: linux . Setting date via ntp. 16 Oct 15:28:06 ntpdate[1341]: step time server 192.108.114.23 offset 0.827552 sec Setting NIS domain: aah-go-on.com. pg_ctl: invalid data in PID file "/usr/local/pgsql/data/postmaster.pid" Oct 16 15:28:08 w2fzz0vc03 mDNSResponder (Engineering Build) (Aug 19 2008 18:02:49) [1558]: starting Configuring syscons: keymap font8x16 font8x14 font8x8 blanktime screensaver . Local package initialization: uptimed . Thu Oct 16 15:28:11 BST 2008 Oct 16 15:31:28 w2fzz0vc03 login: ROOT LOGIN (root) ON ttyv0 Oct 16 15:41:04 w2fzz0vc03 login: ROOT LOGIN (root) ON ttyv1 Kernel page fault with the following non-sleepable locks held: exclusive sleep mutex UMASS lock (UMASS lock) r = 0 (0xffffffff80b67e60) locked @ /usr/home/sandbox/newusb/src/sys/dev/usb2/core/usb2_transfer.c:1795 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2a _witness_debugger() at _witness_debugger+0x49 witness_warn() at witness_warn+0x232 trap() at trap+0x38f calltrap() at calltrap+0x8 --- trap 0xc, rip = 0xffffffff807b2a46, rsp = 0xfffffffeb7267ac0, rbp = 0xfffffffeb7267b00 --- bcopy() at bcopy+0x16 usb2_bdma_pre_sync() at usb2_bdma_pre_sync+0x59 usb2_bdma_work_loop() at usb2_bdma_work_loop+0x2ac usb2_command_wrapper() at usb2_command_wrapper+0x76 usb2_callback_wrapper() at usb2_callback_wrapper+0x101 usb2_command_wrapper() at usb2_command_wrapper+0x76 usb2_callback_proc() at usb2_callback_proc+0x68 usb2_process() at usb2_process+0xc0 fork_exit() at fork_exit+0x12a fork_trampoline() at fork_trampoline+0xe --- trap 0, rip = 0, rsp = 0xfffffffeb7267d40, rbp = 0 --- Fatal trap 12: page fault while in kernel mode cpuid = 3; apic id = 03 fault virtual address = 0xfffffffe69a00000 fault code = supervisor read data, page not present instruction pointer = 0x8:0xffffffff807b2a46 stack pointer = 0x10:0xfffffffeb7267ac0 frame pointer = 0x10:0xfffffffeb7267b00 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, long 1, def32 0, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 139 (USBPROC) lock order reversal: (Giant after non-sleepable) 1st 0xffffffff80b67e60 UMASS lock (UMASS lock) @ /usr/home/sandbox/newusb/src/sys/dev/usb2/core/usb2_transfer.c:1795 2nd 0xffffffff80b6bfe0 Giant (Giant) @ /usr/home/sandbox/newusb/src/sys/dev/kbdmux/kbdmux.c:1044 KDB: stack backtrace: panic: mutex Giant not owned at /usr/home/sandbox/newusb/src/sys/kern/tty_ttydisc.c:1129 cpuid = 3 KDB: stack backtrace: Physical memory: 4078 MB Dumping 1154 MB: 1139 1123 1107 1091 1075 1059 1043 1027 1011 995 979 963 947 931 915 899 883 867 851 835 819 803 787 771 755 739 723 707 691 675 659 643 627 611 595 579 563 547 531 515 499 483 467 451 435 419 403 387 371 355 339 323 307 291 275 259 243 227 211 195 179 163 147 131 115 99 83 67 51 35 19 3 ------------------------------------------------------------------------ kernel config config: File /boot/kernel/kernel doesn't contain configuration file. Either unsupported, or not compiled with INCLUDE_CONFIG_FILE --Boundary-00=_5rJFJPtr8qjZ35l-- From owner-freebsd-usb@FreeBSD.ORG Fri Nov 7 22:12:45 2008 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 C9D51106567F for ; Fri, 7 Nov 2008 22:12:45 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from QMTA05.westchester.pa.mail.comcast.net (qmta05.westchester.pa.mail.comcast.net [76.96.62.48]) by mx1.freebsd.org (Postfix) with ESMTP id 6FC548FC08 for ; Fri, 7 Nov 2008 22:12:45 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA05.westchester.pa.mail.comcast.net ([76.96.62.43]) by QMTA05.westchester.pa.mail.comcast.net with comcast id cGU91a0030vyq2s55N2jzi; Fri, 07 Nov 2008 22:02:43 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA05.westchester.pa.mail.comcast.net with comcast id cN2i1a00W2P6wsM3RN2iiS; Fri, 07 Nov 2008 22:02:43 +0000 X-Authority-Analysis: v=1.0 c=1 a=bdeZpJpNa0wA:10 a=SER6hIBTabIA:10 a=6I5d2MoRAAAA:8 a=QycZ5dHgAAAA:8 a=72P1bw4FPKIm2Cq_OUkA:9 a=CvpICBuFueS6u_oMzuoA:7 a=gRVlMwLC4Xgz4AwwdoqhxgghqngA:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id 2AB3C5C19; Fri, 7 Nov 2008 14:02:42 -0800 (PST) Date: Fri, 7 Nov 2008 14:02:42 -0800 From: Jeremy Chadwick To: Thomas Sparrevohn Message-ID: <20081107220242.GA14562@icarus.home.lan> References: <200810251925.47273.hselasky@c2i.net> <20081106210300.GA1595@wep4035.physik.uni-wuerzburg.de> <200811070036.15816.hselasky@c2i.net> <200811071946.01269.Thomas.Sparrevohn@btinternet.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200811071946.01269.Thomas.Sparrevohn@btinternet.com> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: Alexey Shuvaev , freebsd-current@freebsd.org, freebsd-usb@freebsd.org Subject: Re: USB4BSD release candidate number 3 - request for review 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, 07 Nov 2008 22:12:45 -0000 On Fri, Nov 07, 2008 at 07:46:00PM +0000, Thomas Sparrevohn wrote: > On Thursday 06 November 2008 23:36:14 Hans Petter Selasky wrote: > > On Thursday 06 November 2008, Alexey Shuvaev wrote: > > > db_trace_self_wrapper() at db_trace_self_wrapper+0x2a > > > _witness_debugger() at _witness_debugger+0x49 > > > witness_checkorder() at witness_checkorder+0x7e6 > > > _sx_xlock() at _sx_xlock+0x44 > > > vm_map_lookup() at vm_map_lookup+0x47 > > > vm_fault() at vm_fault+0xfe > > > trap_pfault() at trap_pfault+0x1fa > > > trap() at trap+0x201 > > > calltrap() at calltrap+0x8 > > > --- trap 0xc, rip = 0xffffffff804b2466, rsp = 0xfffffffeba7f8ac0, rbp = > > > 0xfffffffeba7f8b00 --- bcopy() at bcopy+0x16 > > > usb2_bdma_pre_sync() at usb2_bdma_pre_sync+0x35 > > > usb2_bdma_work_loop() at usb2_bdma_work_loop+0x29b > > > usb2_command_wrapper() at usb2_command_wrapper+0x76 > > > usb2_callback_wrapper() at usb2_callback_wrapper+0xfd > > > usb2_command_wrapper() at usb2_command_wrapper+0x76 > > > usb2_callback_proc() at usb2_callback_proc+0x68 > > > usb2_process() at usb2_process+0xc0 > > > > Hi Alexey, > > > > This looks more like a busdma problem to me. "bcopy()" is called from > > within "bus_dmamap_sync()". Maybe you can figure out if it is the source or > > the destination address that fails? > > > > Looks like your system has started bouncing data to the 32-bit address range. > > > > I can reproduce an error like it whenever I use DMA on umass device - The error > somehow are triggered/created by the multiport patches that was introduced > in the ATA framework back in April - For a long time I believed it was an error > in the ATA frame work until I discovered that If I disabled the umass device > the error disappered > > I am using ZFS on both devices. If I change to usb2_ata the problem disappers. > I think that is because usb2_ata does not use DMA. > > I believe the problem is related to the DMA handling in the umass > > see attached fault - In short the problem has been around for a long time > but it seems to be related to the USB stack DMA handling - before usb2 > it showed up as a DMA error in the ATA driver - but that was because > the old umass driver somehow "stole" an active DMA > > {gigantic snip} Check out this thread, which includes patches: http://lists.freebsd.org/pipermail/freebsd-current/2008-November/thread.html#220 http://lists.freebsd.org/pipermail/freebsd-current/2008-November/000220.html -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB | From owner-freebsd-usb@FreeBSD.ORG Sat Nov 8 10:21:04 2008 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 4BC581065688; Sat, 8 Nov 2008 10:21:04 +0000 (UTC) (envelope-from hselasky@freebsd.org) Received: from swip.net (mailfe11.swipnet.se [212.247.155.65]) by mx1.freebsd.org (Postfix) with ESMTP id A80608FC14; Sat, 8 Nov 2008 10:21:03 +0000 (UTC) (envelope-from hselasky@freebsd.org) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=hN6knYnE7gQA:10 a=rkljZNIgkfMA:10 a=d6BVkb5LuPPVEe4iNQMLyA==:17 a=6I5d2MoRAAAA:8 a=W78u3t4z9fC-1301qEQA:9 a=e-XVigr01P9WP5lqhrgA:7 a=eDEVA2Hv9mz7cDL_P0N60pZAM3wA:4 a=50e4U0PicR4A:10 Received: from [62.113.135.6] (account mc467741@c2i.net [62.113.135.6] verified) by mailfe11.swip.net (CommuniGate Pro SMTP 5.2.6) with ESMTPA id 972523298; Sat, 08 Nov 2008 10:21:00 +0100 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Sat, 8 Nov 2008 10:23:09 +0100 User-Agent: KMail/1.9.7 References: <20081107082740.GA1334@icarus.home.lan> <200811071811.27181.hselasky@c2i.net> <20081108001128.GA1437@icarus.home.lan> In-Reply-To: <20081108001128.GA1437@icarus.home.lan> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200811081023.10058.hselasky@freebsd.org> Cc: freebsd-current@freebsd.org Subject: Serious busdma bug in -current in relation to USB harware. 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, 08 Nov 2008 10:21:04 -0000 Hi, The virtual offset must be retained on bounce pages. Else the EHCI and OHCI will misplace the data! It has nothing to do with my new USB stack. That is the way the USB DMA engine works. It expects that when the end of the page is reached the next page begins. Moving a partially a page to the beginning of a page gets the USB DMA engine out of sync, and it will actually fill data into the remaining part of the first page, if the transfer length is greater than the partial page part. I've made a fix in P4 for I386. Can someone propagate this patch to the other platforms and have it committed to -current ASAP? http://perforce.freebsd.org/chv.cgi?CH=152649 --HPS From owner-freebsd-usb@FreeBSD.ORG Sat Nov 8 11:49:16 2008 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 D2809106567F for ; Sat, 8 Nov 2008 11:49:16 +0000 (UTC) (envelope-from Thomas.Sparrevohn@btinternet.com) Received: from smtp801.mail.ird.yahoo.com (smtp801.mail.ird.yahoo.com [217.146.188.61]) by mx1.freebsd.org (Postfix) with SMTP id 1F4178FC17 for ; Sat, 8 Nov 2008 11:49:15 +0000 (UTC) (envelope-from Thomas.Sparrevohn@btinternet.com) Received: (qmail 55464 invoked from network); 8 Nov 2008 11:49:14 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=btinternet.com; h=Received:X-YMail-OSG:X-Yahoo-Newman-Property:From:To:Subject:Date:User-Agent:Cc:References:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Content-Disposition:Message-Id; b=vlEWJFDHzrri4Z1dOD6WLvdVhmi/OQmyi/tfsMWnJLxGTeBP5ftUwMVXoYX+F+whXZxt75OqFoEVCx0wEbL+X6aNr7sCR/bZw2iSozzzyhbIcBMxp32pPFQx0ezc8759XquuCVQLc1F7Uhnx+iIbKIkvm5pBeDt21jLxvbwjsP4= ; Received: from unknown (HELO w2fzz0vc03.aah-go-on.com) (Thomas.Sparrevohn@86.134.50.63 with login) by smtp801.mail.ird.yahoo.com with SMTP; 8 Nov 2008 11:49:14 -0000 X-YMail-OSG: 8BXhe88VM1mMt9bWgsWiA29ZXbxEmt5GDMH56rmjuupOD2ZnO26DemUCs_YK.MMlNcJutWCXgp13ijWwKebNrZTwuYffhEeg0CLbDGiUZuDAuHtUzfJrhutg.ZAGoKZRRhApZQw2E0ymRN0YswbtJfz4V3SLMxfi1ZWUFM.cG3.4NPEHsppRjlfVgHQ- X-Yahoo-Newman-Property: ymail-3 From: Thomas Sparrevohn To: Jeremy Chadwick Date: Sat, 8 Nov 2008 11:49:11 +0000 User-Agent: KMail/1.9.10 References: <200810251925.47273.hselasky@c2i.net> <200811071946.01269.Thomas.Sparrevohn@btinternet.com> <20081107220242.GA14562@icarus.home.lan> In-Reply-To: <20081107220242.GA14562@icarus.home.lan> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200811081149.12568.Thomas.Sparrevohn@btinternet.com> Cc: Alexey Shuvaev , freebsd-current@freebsd.org, freebsd-usb@freebsd.org Subject: Re: USB4BSD release candidate number 3 - request for review 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, 08 Nov 2008 11:49:16 -0000 > > see attached fault - In short the problem has been around for a long time > > but it seems to be related to the USB stack DMA handling - before usb2 > > it showed up as a DMA error in the ATA driver - but that was because > > the old umass driver somehow "stole" an active DMA > > > > {gigantic snip} > > Check out this thread, which includes patches: > > http://lists.freebsd.org/pipermail/freebsd-current/2008-November/thread.html#220 > http://lists.freebsd.org/pipermail/freebsd-current/2008-November/000220.html > The patch indeed solved the problem - thanks a million From owner-freebsd-usb@FreeBSD.ORG Sat Nov 8 12:51:01 2008 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 DCB3C1065687; Sat, 8 Nov 2008 12:51:01 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe13.tele2.se [212.247.155.129]) by mx1.freebsd.org (Postfix) with ESMTP id 46F228FC16; Sat, 8 Nov 2008 12:51:01 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=dHLmn-RhnaEA:10 a=d4Qm339WgMUA:10 a=d6BVkb5LuPPVEe4iNQMLyA==:17 a=6I5d2MoRAAAA:8 a=RkScOIeDkh45HGVlyqMA:9 a=yWpb11-SDuv2qki6rvJzrjavSn4A:4 a=LY0hPdMaydYA:10 Received: from [62.113.135.6] (account mc467741@c2i.net [62.113.135.6] verified) by mailfe13.swip.net (CommuniGate Pro SMTP 5.2.6) with ESMTPA id 755393197; Sat, 08 Nov 2008 13:50:59 +0100 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Sat, 8 Nov 2008 13:53:09 +0100 User-Agent: KMail/1.9.7 References: <20081107082740.GA1334@icarus.home.lan> <20081108001128.GA1437@icarus.home.lan> <200811081023.10058.hselasky@freebsd.org> In-Reply-To: <200811081023.10058.hselasky@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200811081353.09697.hselasky@c2i.net> Cc: freebsd-current@freebsd.org Subject: Re: (FWD) Serious busdma bug in -current in relation to USB harware. 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, 08 Nov 2008 12:51:02 -0000 On Saturday 08 November 2008, Alexander Motin wrote: > Hans Petter Selasky wrote: > > http://perforce.freebsd.org/chv.cgi?CH=152649 > > > > Change 152649 by hselasky@hselasky_laptop001 on 2008/11/08 09:09:50 > > > > > > Fix a serious BUSDMA bug: The initial virtual page offset is > > not retained on the bounce pages, which is what the EHCI and > > the OHCI expects. > > I'm sorry, but are you sure with this? If bounce page will have the same > page offset as original data, then how bus_dma_tag_create()'s alignment > parameter expected to work? What if data are misaligned, but hardware > require alignment? Hi, I'm not saying that my patch is fully correct for all cases, but at least it solves the USB case. USB uses an alignment of 1-byte for data. Probably someone needs to sit down a think this through. Like it is now, it is very scary with regard to USB! Maybe it is time to create a new busdma tag flag? BUS_DMA_NOREALIGN? If this flag is set, busdma should refuse to load the memory if the memory is not aligned already to the given aligment in the DMA tag ? --HPS From owner-freebsd-usb@FreeBSD.ORG Sat Nov 8 12:59:03 2008 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 979181065670 for ; Sat, 8 Nov 2008 12:59:03 +0000 (UTC) (envelope-from volker@vwsoft.com) Received: from frontmail.ipactive.de (frontmail.maindns.de [85.214.95.103]) by mx1.freebsd.org (Postfix) with ESMTP id 4E6428FC08 for ; Sat, 8 Nov 2008 12:59:03 +0000 (UTC) (envelope-from volker@vwsoft.com) Received: from mail.vtec.ipme.de (Q7d06.q.ppp-pool.de [89.53.125.6]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by frontmail.ipactive.de (Postfix) with ESMTP id D47E012883F; Sat, 8 Nov 2008 13:31:57 +0100 (CET) Received: from epeios.sz.vwsoft.com (epeios.sz.vwsoft.com [192.168.16.5]) by mail.vtec.ipme.de (Postfix) with ESMTP id A723A2E915; Sat, 8 Nov 2008 13:33:02 +0100 (CET) Message-ID: <491586B9.2020303@vwsoft.com> Date: Sat, 08 Nov 2008 13:31:53 +0100 From: Volker User-Agent: Thunderbird 2.0.0.17 (X11/20081107) MIME-Version: 1.0 To: Andriy Gapon References: <4912E462.4090608@icyb.net.ua> In-Reply-To: <4912E462.4090608@icyb.net.ua> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit MailScanner-NULL-Check: 1226752384.06993@ghm28eA91uQDYHGK15/rww X-MailScanner-ID: A723A2E915.4E1D6 X-VWSoft-MailScanner: Found to be clean X-MailScanner-From: volker@vwsoft.com X-ipactive-MailScanner-Information: Please contact the ISP for more information X-ipactive-MailScanner: Found to be clean X-ipactive-MailScanner-From: volker@vwsoft.com Cc: FreeBSD Stable , freebsd-usb@freebsd.org Subject: Re: usb keyboard dying at loader prompt 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, 08 Nov 2008 12:59:03 -0000 Andriy, On 12/23/-58 20:59, Andriy Gapon wrote: > I have a quite strange problem. > This is with 7-BETA amd64. Did it work with earlier versions? > All of USB is out of kernel and is loaded via modules. > BIOS has "Legacy USB" enabled. > I have only a USB keyboard, no PS/2 port. Can you check BIOS settings for EHCI handover? If the BIOS does not have handover enabled, it may disable legacy support after a timeout, which is often bad. IMO this is the same with booting off USB drives but every BIOS handles that different. > The keyboard works file in BIOS and for selecting boot device in boot0 > menu. It also works in loader menu. If in the menu I select to go to > loader prompt then it works for about 5 seconds and then "dies" - no > reaction to key presses, no led change, nothing. > I haven't actually verified if the keyboard would still work if I stayed > in loader menu for longer than ~10 seconds. > > This doesn't happen if USB is built into kernel. That sound strange. I have no idea why that might work (or I'm totally wrong with my handover theory). > Weird... Yes, sounds like or it's probably easily explainable ;) Volker From owner-freebsd-usb@FreeBSD.ORG Sat Nov 8 16:25:03 2008 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 4CD28106564A; Sat, 8 Nov 2008 16:25:03 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe05.swip.net [212.247.154.129]) by mx1.freebsd.org (Postfix) with ESMTP id AC9608FC0C; Sat, 8 Nov 2008 16:25:02 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=dHLmn-RhnaEA:10 a=d4Qm339WgMUA:10 a=d6BVkb5LuPPVEe4iNQMLyA==:17 a=W7yW5RWIGnIUdAu0NoAA:9 a=t7RMLOW7sXuN4nJvu2FY-nvfdNEA:4 a=LY0hPdMaydYA:10 Received: from [62.113.135.6] (account mc467741@c2i.net [62.113.135.6] verified) by mailfe05.swip.net (CommuniGate Pro SMTP 5.2.6) with ESMTPA id 1042886932; Sat, 08 Nov 2008 17:25:01 +0100 From: Hans Petter Selasky To: freebsd-current@freebsd.org Date: Sat, 8 Nov 2008 17:27:06 +0100 User-Agent: KMail/1.9.7 References: <20081107082740.GA1334@icarus.home.lan> <200811081023.10058.hselasky@freebsd.org> <200811081353.09697.hselasky@c2i.net> In-Reply-To: <200811081353.09697.hselasky@c2i.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200811081727.08788.hselasky@c2i.net> Cc: freebsd-usb@freebsd.org Subject: Re: (FWD) Serious busdma bug in -current in relation to USB harware. 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, 08 Nov 2008 16:25:03 -0000 On Saturday 08 November 2008, Hans Petter Selasky wrote: > On Saturday 08 November 2008, Alexander Motin wrote: > What is the real reason to do that? If you are saying that you uses > 1-byte alignment then you should be able to accept _any_ address that > busdma will allocate to you! Why original data alignment should so > strictly affect hardware operation? Hi, The real reason is that the EHCI and OHCI only takes the full physical address of the _first_ page, and then for the subsequent pages only stores the upper bits of the physical address, leaving it impossible to program a per-page data start offset. The hardware assumes that the lower part of the physical address wraps modulo PAGE_SIZE, and that's it. Don't ask me why they designed it like that. Currently USB is broken on all architectures where bouncing is used. I see no other way around this than to change busdma. --HPS From owner-freebsd-usb@FreeBSD.ORG Sat Nov 8 20:08:08 2008 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 3A7471065673; Sat, 8 Nov 2008 20:08:08 +0000 (UTC) (envelope-from xcllnt@mac.com) Received: from asmtpout011.mac.com (asmtpout011.mac.com [17.148.16.86]) by mx1.freebsd.org (Postfix) with ESMTP id 223CA8FC18; Sat, 8 Nov 2008 20:08:08 +0000 (UTC) (envelope-from xcllnt@mac.com) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Received: from rng-t43.jnpr.net (natint3.juniper.net [66.129.224.36]) by asmtp011.mac.com (Sun Java(tm) System Messaging Server 6.3-7.03 (built Aug 7 2008; 32bit)) with ESMTPSA id <0KA100J4S3TINS90@asmtp011.mac.com>; Sat, 08 Nov 2008 11:08:08 -0800 (PST) Message-id: <61594882-04B6-4DC9-AE16-FD3F0638EDCC@mac.com> From: Marcel Moolenaar To: Hans Petter Selasky In-reply-to: <200811081353.09697.hselasky@c2i.net> Date: Sat, 08 Nov 2008 11:08:02 -0800 References: <20081107082740.GA1334@icarus.home.lan> <20081108001128.GA1437@icarus.home.lan> <200811081023.10058.hselasky@freebsd.org> <200811081353.09697.hselasky@c2i.net> X-Mailer: Apple Mail (2.929.2) Cc: freebsd-current@freebsd.org, freebsd-usb@freebsd.org Subject: Re: (FWD) Serious busdma bug in -current in relation to USB harware. 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, 08 Nov 2008 20:08:08 -0000 On Nov 8, 2008, at 4:53 AM, Hans Petter Selasky wrote: > On Saturday 08 November 2008, Alexander Motin wrote: >> Hans Petter Selasky wrote: >>> http://perforce.freebsd.org/chv.cgi?CH=152649 >>> >>> Change 152649 by hselasky@hselasky_laptop001 on 2008/11/08 09:09:50 >>> >>> >>> Fix a serious BUSDMA bug: The initial virtual page offset is >>> not retained on the bounce pages, which is what the EHCI and >>> the OHCI expects. >> >> I'm sorry, but are you sure with this? If bounce page will have the >> same >> page offset as original data, then how bus_dma_tag_create()'s >> alignment >> parameter expected to work? What if data are misaligned, but hardware >> require alignment? > > Hi, > > I'm not saying that my patch is fully correct for all cases, but at > least it > solves the USB case. USB uses an alignment of 1-byte for data. Another way to look at it is that USB (at least EHCI) uses page-aligned data and that for the first descriptor you can optionally add an offset within the page. Effectively this gives you 1-byte alignment, but it comes with the restriction that on crossing the page boundary, all data comes from offset 0 on subsequent pages. -- Marcel Moolenaar xcllnt@mac.com From owner-freebsd-usb@FreeBSD.ORG Sat Nov 8 22:42:08 2008 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 86A721065674; Sat, 8 Nov 2008 22:42:08 +0000 (UTC) (envelope-from onemda@gmail.com) Received: from rn-out-0910.google.com (rn-out-0910.google.com [64.233.170.187]) by mx1.freebsd.org (Postfix) with ESMTP id 15D038FC1B; Sat, 8 Nov 2008 22:42:07 +0000 (UTC) (envelope-from onemda@gmail.com) Received: by rn-out-0910.google.com with SMTP id j71so1322553rne.12 for ; Sat, 08 Nov 2008 14:42:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=RkmcBCyk7gdC4J3Jro27fPKnYHII/9OwDXFDVRXU374=; b=BZG0ua4+lZN3p7arKTed5zaz0ZEoQQ41x51kMBUfRa75zlNSZV67d+jnFc+jUIkZVb m6QCcX/91zrcNHXV7jGbsL8pQUinHRBUpFRQzqGT6hFG0FDqqdOOwPBpMsMBlGyWQmkk xfeJJAPivnbvqibtSMOIw9bZMv3zlE6jhCCWo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=dXJkIOvhKijUVFrTZv4pzXG+cqvWHwvvGjnuPNEEf0m1HMGKQL2cJBUi0fkdu3kGLR c96PqxPQlMLJ7YQqo31wohm7yeQhtPPwhAF9+siVeBN02+lJESdRhv2ZobXZwAHrMnwc jcmL3GJXgN1UK9UibzLIR60L247j3stlSySnQ= Received: by 10.64.251.17 with SMTP id y17mr5383015qbh.9.1226184126890; Sat, 08 Nov 2008 14:42:06 -0800 (PST) Received: by 10.65.216.9 with HTTP; Sat, 8 Nov 2008 14:42:06 -0800 (PST) Message-ID: <3a142e750811081442kc746a41j41d3d46e6688033f@mail.gmail.com> Date: Sat, 8 Nov 2008 23:42:06 +0100 From: "Paul B. Mahol" To: "Hans Petter Selasky" In-Reply-To: <200811072236.38267.hselasky@c2i.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <3a142e750811071154y5108f299h60bb7c1060f4567e@mail.gmail.com> <20081107.132401.1622434515.imp@bsdimp.com> <3a142e750811071229r6d452b28t7979ab08e1c90d71@mail.gmail.com> <200811072236.38267.hselasky@c2i.net> Cc: freebsd-current@freebsd.org, freebsd-usb@freebsd.org Subject: Re: USB4BSD release candidate number 3 - request for review 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, 08 Nov 2008 22:42:08 -0000 On 11/7/08, Hans Petter Selasky wrote: > On Friday 07 November 2008, Paul B. Mahol wrote: >> On 11/7/08, M. Warner Losh wrote: > >> > : > After some time it will appear but will start attaching and >> > : > dettaching all the time: > > How quick is this happening? There has been some changes to the > sys/dev/usb2/core/uhub2.c file recently, which control how HUB is responding > to events. ~3 seconds. I got also this messages: uhci1: LegSup = 0x2f00 uhci_interrupt: host controller halted uhci_dumpregs:705: usbus1 regs: cmd=0000, sts=0020, intr=0000, frnum=0000, flbase=3f7fa000, sof=0040, portsc1=0080, portsc2=0080 uhci_dump_qh:779: QH(0xc627e900) at 0x05a7e902: h_next=0x05a7db82 e_next=0x00000001 uhci_dump_qh:779: QH(0xc627db80) at 0x05a7db82: h_next=0x05a7dc02 e_next=0x00000001 uhci_dump_qh:779: QH(0xc627dc00) at 0x05a7dc02: h_next=0x05a7dc82 e_next=0x00000001 uhci_dump_qh:779: QH(0xc627dc80) at 0x05a7dc82: h_next=0x00000001 e_next=0x05a7dd00 uhci_interrupt: host controller halted uhci_dumpregs:705: usbus1 regs: cmd=0000, sts=0020, intr=0000, frnum=0000, flbase=3f7fa000, sof=0040, portsc1=0080, portsc2=0080 uhci_dump_qh:779: QH(0xc627e900) at 0x05a7e902: h_next=0x05a7db82 e_next=0x00000001 uhci_dump_qh:779: QH(0xc627db80) at 0x05a7db82: h_next=0x05a7dc02 e_next=0x00000001 uhci_dump_qh:779: QH(0xc627dc00) at 0x05a7dc02: h_next=0x05a7dc82 e_next=0x00000001 uhci_dump_qh:779: QH(0xc627dc80) at 0x05a7dc82: h_next=0x00000001 e_next=0x05a7dd00 Doesnt looks like hub is source of fault, one from perforce with 152460 comitt is not available in CURRENT and with latest version of usb2_hub.c from perforce problem is still there. > Maybe you can get the date of that file from the build where it works and > the > build where it doesn't work, and I will check the differences. Last time I tested usb2 from svn was before huge modularization.