From owner-freebsd-usb@FreeBSD.ORG Mon Mar 4 08:39:03 2013 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 1DB0899F for ; Mon, 4 Mar 2013 08:39:03 +0000 (UTC) (envelope-from hps@bitfrost.no) Received: from mta.bitpro.no (mta.bitpro.no [92.42.64.202]) by mx1.freebsd.org (Postfix) with ESMTP id 8F405679 for ; Mon, 4 Mar 2013 08:39:02 +0000 (UTC) Received: from mail.bitfrost.no (mail.bitfrost.no [46.29.221.36]) by mta.bitpro.no (Postfix) with ESMTP id 2F9F27A065; Mon, 4 Mar 2013 09:19:34 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at bitfrost.no Received: from smtp.bitfrost.no (cm-176.74.213.204.customer.telag.net [176.74.213.204]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: hanspetter) by mail.bitfrost.no (Postfix) with ESMTPSA id C58AA20238; Mon, 4 Mar 2013 09:19:31 +0100 (CET) From: Hans Petter Selasky To: freebsd-usb@freebsd.org Subject: Re: Failed to read CSW: USB_ERR_STALLED Date: Mon, 04 Mar 2013 09:20:41 +0100 Message-ID: <3277111.fKLbtIQrYQ@laptop015.hselasky.homeunix.org> Organization: Bitfrost A/S X-Face: ?p&W)c(+80hU; '{.$5K+zq{oC6y| /D'an*6mw>j'f:eBsex\Gi, References: <51321D3E.2040600@swissmail.org> <5132209A.3020401@swissmail.org> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Mar 2013 08:39:03 -0000 On Saturday 02 March 2013 09:54:02 Krzysztof Parzyszek wrote: > Here's the beginning of dmesg: > > Copyright (c) 1992-2013 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 9.1-STABLE #6 r247608: Fri Mar 1 21:27:49 CST 2013 > root@apple5:/usr/obj/usr/src/sys/APPLE5 powerpc > cpu0: IBM PowerPC 970MP revision 1.1, 2500.32 MHz > cpu0: Features dc000000 > cpu0: HID0 1511081 > real memory = 17159626752 (16364 MB) > avail memory = 16319057920 (15563 MB) > FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs > cpu0: dev=ff89d680 (BSP) > cpu1: dev=ff89eb70 > cpu2: dev=ff89f248 > cpu3: dev=ff89f920 > kbd0 at kbdmux0 > nexus0: > cpulist0: on nexus0 > cpu0: on cpulist0 > pcr0: on cpu0 > cpu1: on cpulist0 > pcr1: on cpu1 > cpu2: on cpulist0 > pcr2: on cpu2 > cpu3: on cpulist0 > pcr3: on cpu3 > powermac_nvram0: on nexus0 > powermac_nvram0: bank0 generation 736, bank1 generation 737 > unin0: on nexus0 > unin0: Version 66 > iichb0: mem 0xf8001000-0xf8001fff irq 0 on unin0 > iicbus0: on iichb0 > iicbus0: at addr 0x94 > iicbus0: at addr 0x96 > iicbus0: at addr 0x98 > iicbus0: at addr 0x9c > htpic0: mem 0xf8040000-0xf807ffff on unin0 > pcib0: on nexus0 > pci0: on pcib0 > pcib1: on nexus0 > pcib1: 86 HT IRQs on device 7.0 > pci1: on pcib1 > pcib1: Enabling MSI window for HyperTransport slave at pci1:0:1:0 > pcib2: at device 1.0 on pci1 > pci2: on pcib2 > pcib3: at device 2.0 on pci1 > pci3: on pcib3 > bge0: mem > 0xfa530000-0xfa53ffff,0xfa520000-0xfa52ffff irq 66 at device 4.0 on pci3 > bge0: CHIP ID 0x00008003; ASIC REV 0x08; CHIP REV 0x80; PCI-X 33 MHz > miibus0: on bge0 > brgphy0: PHY 1 on miibus0 > brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, > 1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, auto, auto-flow > bge0: Ethernet address: 00:16:cb:37:e2:e0 > bge1: mem > 0xfa510000-0xfa51ffff,0xfa500000-0xfa50ffff irq 67 at device 4.1 on pci3 > bge1: CHIP ID 0x00008003; ASIC REV 0x08; CHIP REV 0x80; PCI-X 33 MHz > miibus1: on bge1 > brgphy1: PHY 1 on miibus1 > brgphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, > 1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, auto, auto-flow > bge1: Ethernet address: 00:16:cb:37:e2:e1 > pcib4: at device 3.0 on pci1 > pci4: on pcib4 > pcib5: at device 4.0 on pci1 > pci5: on pcib5 > pcib6: at device 5.0 on pci1 > pci6: on pcib6 > vgapci0: mem > 0x82000000-0x82ffffff,0x88000000-0x8fffffff,0x81000000-0x81ffffff irq 63 > at device 0.0 on pci6 > pcib7: at device 6.0 on pci1 > pci7: on pcib7 > pcib8: at device 7.0 on pci1 > pci8: on pcib8 > gem0: mem 0xfa200000-0xfa3fffff at device > 15.0 on pci8 > gem0: failed to allocate resources > device_attach: gem0 attach returned 6 > pcib9: at device 8.0 on pci1 > pci9: on pcib9 > macio0: mem 0x80000000-0x8007ffff at device 7.0 > on pci9 > macgpio0: mem 0x50-0x8a on macio0 > scc0: mem > 0x13000-0x13fff,0x8400-0x84ff,0x8500-0x85ff,0x8600-0x86ff,0x8700-0x87ff > irq 23,17,18,24,19,20 on macio0 > uart0: on scc0 > uart1: on scc0 > iichb1: mem 0x18000-0x18fff irq 27 on macio0 > iicbus1: on iichb1 > iicbus1: at addr 0x8c > iicbus1: at addr 0x24 > ohci0: mem 0x80082000-0x80082fff irq 70 at > device 11.0 on pci9 > usbus0 on ohci0 > ohci1: mem 0x80081000-0x80081fff irq 70 at > device 11.1 on pci9 > usbus1 on ohci1 > ehci0: mem 0x80080000-0x800800ff irq > 70 at device 11.2 on pci9 > usbus2: EHCI version 1.0 > usbus2 on ehci0 > pcib10: at device 9.0 on pci1 > pci10: on pcib10 > atapci0: mem 0xfa402000-0xfa403fff > irq 10 at device 12.0 on pci10 > pcib1: failed to reserve resource for pcib10 > atapci0: 0x10 bytes of rid 0x20 res 4 failed (0, 0xffffffffffffffff). > ata2: at channel 0 on atapci0 > ata3: at channel 1 on atapci0 > ata4: at channel 2 on atapci0 > ata5: at channel 3 on atapci0 > ata0: mem 0xfa404000-0xfa407fff irq 38 at > device 13.0 on pci10 > pci10: at device 14.0 (no driver attached) > smu0: on nexus0 > iichb2: on smu0 > iicbus2: on iichb2 > smusat0: at addr 0xb0 on iicbus2 > smusat1: at addr 0xb2 on iicbus2 > iicbus2: at addr 0xd4 > iichb3: on smu0 > iicbus3: on iichb3 > sc0: on nexus0 > sc0: Unknown <16 virtual consoles, flags=0x300> > Timecounter "timebase" frequency 33333333 Hz quality 0 > Event timer "decrementer" frequency 33333333 Hz quality 1000 > Timecounters tick every 1.000 msec > usbus0: 12Mbps Full Speed USB v1.0 > usbus1: 12Mbps Full Speed USB v1.0 > ugen0.1: at usbus0 > uhub0: on usbus0 > ugen1.1: at usbus1 > uhub1: on usbus1 > usbus2: 480Mbps High Speed USB v2.0 > ugen2.1: at usbus2 > uhub2: on usbus2 > uhub1: 2 ports with 2 removable, self powered > uhub0: 3 ports with 3 removable, self powered > uhub2: 5 ports with 5 removable, self powered > ada0 at ata2 bus 0 scbus0 target 0 lun 0 > ada0: ATA-7 SATA 1.x device > ada0: 150.000MB/s transfers (SATA 1.x, UDMA5, PIO 8192bytes) > ada0: 238475MB (488397168 512 byte sectors: 16H 63S/T 16383C) > ada0: Previously was known as ad0cd0 at ata0 bus 0 scbus4 target 0 lun 0 > cd0: Removable CD-ROM SCSI-0 device > cd0: 66.700MB/s transfers (UDMA4, ATAPI 12bytes, PIO 65534bytes) > cd0: Attempt to query device size failed: NOT READY, Medium not present > > SMP: AP CPU #3 launched > SMP: AP CPU #1 launched > SMP: AP CPU #2 launched > Swap zone entries reduced from 1995943 to 1330628. > Root mount waiting for: usbus2 > Trying to mount root from ufs:/dev/ada0s3 [rw]... > ugen0.2: at usbus0 > interruptskbd1 at ukbd0 > ethernet point_to_pointuhid0: 2.00/1.31, addr 2> on usbus0 > ums0: on usbus0 > ums0: 3 buttons and [XYZ] coordinates ID=0 > kickstart. > ugen2.2: at usbus2 > umass0: on usbus2 > umass0: SCSI over Bulk-Only; quirks = 0x0000 > umass0:umass_cam_action: 5:-1:-1:XPT_PATH_INQ:. > umuamsass0s:05::u0m:a-s1s:_ cAatmt_aacchteido nt:o 5s:c-b1u:s-51:X > PuTm_aPsAsT0H:_uImNaQs:s._at > taucmha:s sA0t:tuamcahs sf_icnaims_haectdio > n: 5:0:0:XPT_PATH_INQ:. > umass0:umass_cam_action: 5:0:0:XPT_PATH_INQ:. > umass0:umass_cam_action: 5:0:0:XPT_GET_TRAN_SETTINGS:. > umass0:umass_cam_action: 5:0:0:XPT_SET_TRAN_SETTINGS:. > umass0:umass_cam_action: 5:0:0:XPT_PATH_INQ:. > umass0:umass_cam_action: 5:0:0:XPT_PATH_INQ:. > umass0:umass_cam_action: 5:0:0:XPT_SCSI_IO: cmd: 0x12, flags: 0x40, 6b > cmd/36b data/18b sense > umass0:umass_bbb_dump_cbw: CBW 1: cmd = 6b (0x120000002400), data = 36b, > lun = 0, dir = in > umass0:umass_transfer_start: transfer index = 4 > umass0:umass_t_bbb_data_read_callback: max_bulk=131072, data_rem=36 > umass0:umass_t_bbb_data_read_callback: max_bulk=131072, data_rem=0 > umass0:umass_transfer_start: transfer index = 8 > umass0:umass_bbb_dump_csw: CSW 1: sig = 0x53425355 (valid), tag = > 0x00000001, res = 0, status = 0x00 (good) > umass0:umass_cam_action: 5:0:0:XPT_PATH_INQ:. > umass0:umass_cam_action: 5:0:0:XPT_PATH_INQ:. > umass0:umass_cam_action: 5:0:0:XPT_GET_TRAN_SETTINGS:. > umass0:umass_cam_action: 5:0:0:XPT_SET_TRAN_SETTINGS:. > umass0:umass_cam_action: 5:0:0:XPT_SCSI_IO: cmd: 0x12, flags: 0x40, 6b > cmd/255b data/18b sense > umass0:umass_bbb_dump_cbw: CBW 2: cmd = 6b (0x12010000ff00), data = > 255b, lun = 0, dir = in > umass0:umass_transfer_start: transfer index = 4 > umass0:umass_t_bbb_data_read_callback: max_bulk=131072, data_rem=255 > umass0:umass_t_bbb_data_read_callback: max_bulk=131072, data_rem=0 > umass0:umass_transfer_start: transfer index = 8 > umass0:umass_t_bbb_status_callback: Failed to read CSW: USB_ERR_STALLED, > try 0 > umass0:umass_transfer_start: transfer index = 5 > umass0:umass_transfer_start: transfer index = 8 > umass0:umass_bbb_dump_csw: CSW 2: sig = 0x53425355 (valid), tag = > 0x00000002, res = 215, status = 0x00 (good) > [...] > Hi, Looks like your device is not complying to SCSI standards?? Try this: usbconfig -d X.Y add_quirk UQ_MSC_NO_INQUIRY Replug your device. --HPS From owner-freebsd-usb@FreeBSD.ORG Mon Mar 4 11:06:51 2013 Return-Path: Delivered-To: freebsd-usb@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id CA52DF3A for ; Mon, 4 Mar 2013 11:06:51 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id B886FE6D for ; Mon, 4 Mar 2013 11:06:51 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r24B6pLT038950 for ; Mon, 4 Mar 2013 11:06:51 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r24B6piE038948 for freebsd-usb@FreeBSD.org; Mon, 4 Mar 2013 11:06:51 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 4 Mar 2013 11:06:51 GMT Message-Id: <201303041106.r24B6piE038948@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 Subject: Current problem reports assigned to freebsd-usb@FreeBSD.org X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Mar 2013 11:06:51 -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/176417 usb [xhci][cam][umass] kernelpanic while removing plugged o usb/175731 usb detaching USB keyboard freezes other USB keyboards o usb/175639 usb not detect usb netcard D-LINK DUB-E100 rev C1 o usb/175599 usb [usbdevs][patch]Liebert UPS PSI1000 being assigned uhi o usb/175551 usb Seagate 2TB USB extern hard disk have errors with Free o usb/175454 usb update usbdevs and usb_quirk.c for SanDisk SDDR-289 o usb/175379 usb usb card-reader problem o usb/175302 usb don't mount virtual driver CD for my phone o usb/174963 usb buffalo wli-uc-gn wireless card sometimes unusable and o usb/174835 usb uaudio fails to create pcm/dsp device file o usb/174814 usb [PATCH] support for MiFi 2200 o usb/174695 usb usb keeps disconnecting mouse or keyboard o usb/174575 usb Interrupt storm error on startup o usb/174464 usb clone MAC address(es) on usb networks cdce(4) && ue[0- o usb/174254 usb MIDI keyboard not recognised o usb/173722 usb [xhci] xhci driver bug after suspend to RAM (ACPI S3 m o usb/173616 usb LG USB DVD-RW USB STALL o usb/173182 usb usbus appears as a network device o usb/172937 usb FreeBSD 9.1-RC2 usb3 port disconnects o usb/172633 usb Sony Cybershot not recognized as USB mem stick o usb/172199 usb [xhci] high interrupts load xhci o usb/171354 usb [umass] Medium not present error on flash drive [regre o usb/171262 usb plug in sdhc via usb reader reboots machine o usb/171197 usb ADATA Classic CH11 USB HDD doesn't work in FreeBSD 9.1 o usb/170699 usb FreeBSD 9.0 Doesn't list HDD or its partitions in part o usb/170688 usb patch][usbdevs][wlan] Patch for ASUS Black Diamond USB o usb/170606 usb r239222 kernel panic at boot - usb locking issue o usb/170358 usb [ums] Wrong (duplicate) button numbers o usb/170123 usb [umass] HP v210w USB stick not supported o usb/169935 usb [keyboard] Unable use USB keyboard while panic o usb/169789 usb [u3g] [patch] add support for huawei e3131 o usb/169461 usb [ugen] USB2 high-speed device detected as full speed o usb/169428 usb [ugen] ugen not detecting all endpoints on device [reg o usb/168551 usb [umass] Issues with embedded card reader (Laptop ASUS o usb/168132 usb [umass] MATSHITA memory card size reported wrong, moun o usb/167847 usb [ural] dlink dwl-122g e crashes(?) when trying wap2 cr o usb/167001 usb [USB] [PATCH] add support for Smart G2 64MB memory key o usb/165815 usb [usbdevs] [patch] add k3772z 3g modem support o usb/165163 usb [keyboard] The USB RF keyboard and mouse become non-re o usb/164058 usb [umass] Lexar 8GB USB flash drive doesn't work by defa f usb/163328 usb [usb] Support for Atheros USB abgn devices o kern/163091 usb [panic] Fatal trap 12: page fault while in kernel mode f usb/162306 usb usb devices cant get address asignation, no memories, o usb/162054 usb usbdump just hangs on 9.0-RC1 f usb/161793 usb poor EHCI usb2 i/o performance o usb/160436 usb ucom wedges machine on parity error ? o usb/160299 usb MicroSDHC-to-USB adapters do not work in FreeBSD 8.x o usb/160192 usb [install] Installation from USB-Stick doesn't find the o usb/159274 usb USB 3.0 Etron EJ168A does not work. f usb/159191 usb [fusefs-ntfs] write on fusefs-ntfs mounted partition r o usb/157376 usb LaCie USB disk not recognized o usb/157074 usb [boot] [usb8] vfs_mountroot_ask is called when no usb o usb/156898 usb [keyboard] usb keyboard does not work while boot (ps2 f usb/156735 usb Need Quirk for Goflex USB Disk Drives o usb/156726 usb [snd_uaudio]: snd_uaudio(4) fails to detach when mixer o usb/156725 usb USB stack stall cause complete system input loss o usb/156596 usb [ehci] Extremely high interrupt rate on ehci/uhci IRQ1 o usb/156000 usb rum(4) Fatal trap 18: integer divide fault while in ke f usb/155996 usb NanoBSD not booted as Disk o usb/155784 usb Problem with Transcend StoreJet 25M3 (2AJ1) on Asus M2 o usb/155663 usb [usbdevs] [patch] Add support for Supertop Nano 1GB US o usb/154753 usb [usbdevs] [patch] Support for Qualcomm USB modem/stora o usb/154506 usb [umass] Copying dir with large files makes FreeBSD loa o usb/154192 usb [umass] In Garmin Oregon GPS, only the first umass dev o i386/153851 usb [keyboard] keyboard issues on new Intel Mother boards. o usb/153703 usb [keyboard] My USB keyboard can not be used in 8-STABLE o usb/153609 usb [zyd] [panic] kernel: Fatal trap 12: page fault while o usb/153149 usb [umass] USB stick quirk regression [regression] o usb/152075 usb [usb8] [ehci] [request] Add quirk for CS5536 USB o usb/150892 usb [zyd] Whenever network contacted in any shape, way or o usb/150189 usb [run] [usb8] [patch] if_run appears to corrupt IP traf p usb/149764 usb [u3g] [patch] usbdevs update: Huawei K3765 3G modem o usb/149283 usb [uftdi] avrdude unable to talk to Arduino board (via u o usb/149162 usb [ural] ASUS WL-167g doesn't work in 8.1 (continue of 1 s usb/148702 usb [usb8] [request] IO DATA USB-RSAQ5 support on FreeBSD- o usb/148080 usb usbconfig(8) sometimes does not turn off the device o i386/147475 usb [install] FreeBSD 8.x does not install on ASUS K8N4-E o usb/146840 usb [hang] FreeBSD 7.2 / 7.3 / 8.0 hang at startup after e o usb/146153 usb [axe] [usb8] Hosts in network doesn't receive any pack f usb/146054 usb [urtw] [usb8] urtw driver potentially out of date f usb/145513 usb [usb8] New USB stack: no new devices after forced usb p usb/145455 usb [usb8] [patch] USB debug support cannot be disabled o usb/145415 usb [umass] [usb8] USB card reader does not create slices a usb/145184 usb GENERIC can't mount root from USB on Asus EEE o usb/145165 usb [keyboard] [usb8] ukbd_set_leds_callback: error=USB_ER f kern/144938 usb [keyboard] [boot] Boot Failure with Apple (MB869LL/A) o usb/144387 usb [run] [panic] if_run panic o usb/144043 usb [umass] [usb8] USB DLT tape drive throws random errors a usb/143790 usb [boot] [cam] can not boot from usb hdd f usb/143620 usb [cdce] [usb8] the module if_cdce doesn't support my Op f usb/143294 usb [usb8] copying process stops at some time (10 - 50 sec o usb/143286 usb [ukbd] [usb8] [boot] boot failures on RELENG_8 system p usb/143186 usb [usbdevs] [usb8] [patch] add USB device IDs for Google a usb/143139 usb [umass] [usb8] [patch] Quirk for Century EX35SW4_SB4 J p usb/143045 usb [umass] [usb8] [patch] mounting Fujitsu 2600Z camera d f usb/142989 usb [usb8] canon eos 50D attaches but detaches after few s f usb/142957 usb [umass] [usb8] [patch] patch for USB disk SYNCHRONIZE o usb/142719 usb [urtw] [usb8] AirLive WL-1600USB (RTL8187L chipset) fa f usb/142276 usb [umass] [usb8] Cache Synchronization Error with Olympu o usb/142229 usb [ums] [usb8] [hang] connecting a USB mouse to a Dell P f usb/141680 usb [uath] [usb8] Netgear WG111T not working with uath dri o usb/141664 usb [pcm] [usb8] Logitech USB microphone failure [regressi o usb/141474 usb [boot] [usb8] FreeBSD 8.0 can not install from USB CDR o usb/141212 usb [ukbd] [usb8] ukbd_set_leds_callback:700: error=USB_ER o kern/141011 usb [usb8] Encrypted root, geli password at boot; enter ke o usb/140920 usb [install] [usb8] USB based install fails on 8.0-RELEAS o usb/140893 usb [urtw] [usb8] WPA2 not working on rtl8187b o kern/140849 usb [ums] [usb8] USB mouse doesn't work under FreeBSD 8.0- a usb/140810 usb [uftdi] [usb8] 8.X copy and paste problem / tty overfl o usb/140477 usb [umass] [usb8] [patch] allow boot-time attachment of d o usb/140236 usb [msdosfs] [usb8] Labels wiped on external Journaled US o usb/140160 usb [usb8] [acpi] USB ports are no longer "active" after A o usb/138798 usb [boot] [usb8] 8.0-BETA4 can't boot from USB flash driv o usb/138659 usb [usb8][uftdi] driver broken in RELENG_8/CURRENT o usb/138124 usb [snd_uaudio] [usb8] Axed uaudio functionality in the u o usb/137377 usb [usb8] request support for Huawei E180 o usb/137341 usb [usb8][rum] driver if_rum doesn't work at all and thro f usb/137190 usb [usb8][patch] inhibit spurious button releases for som o usb/137189 usb [usb8][patch] create and use sysctl nodes for HID repo p usb/137188 usb [usb8][patch] correctly handle USB report descriptors o usb/137129 usb [ums] [usb8] SteelSeries Ikari USB laser mouse not att o usb/135542 usb [keyboard] boot loader does not work with a usb keyboa o usb/135206 usb machine reboots when inserted USB device f usb/135200 usb SAMSUNG i740 usb mass: Synchronize cache failed, statu o usb/134950 usb Lowering DTR for USB-modem via ubsa is not possible o usb/134299 usb Kernel Panic plugging in MF626 USB UMTS Stick u3g o usb/134193 usb System freeze on usb MP3 player insertion o usb/134085 usb [umass] [patch] Adding usb quirk for Sony USB flash dr o usb/133989 usb [usb8] [ukbd] USB keyboard dead at mountroot> prompt o usb/133712 usb [ural] [patch] RE: Fixed an issue with ural(4) that wa o usb/133390 usb umass crashes system in 7.1 when Olympus D-540 attache o usb/133296 usb [rum] driver not working properly in hostap mode o usb/132594 usb USB subsystem causes page fault and crashes o usb/132080 usb [patch] [usb] [rum] [panic] Kernel panic after NOMEM c o usb/132066 usb [ukbd] Keyboard failure USB keyboard DELL 760 o usb/132036 usb [panic] page fault when connecting Olympus C740 camera o usb/131583 usb [umass] Failure when detaching umass Device o usb/131576 usb [aue] ADMtek USB To LAN Converter can't send data o usb/131521 usb Registering Belkin UPS to usb_quirks.c o usb/131074 usb no run-time detection of usb devices plugged into exte o usb/130736 usb Page fault unplugging USB stick o usb/130208 usb Boot process severely hampered by umass0 error o usb/130122 usb [usb8] DVD drive detects as 'da' device f usb/129766 usb [usb] [panic] plugging in usb modem HUAWEI E226 panics o usb/129500 usb [umass] [panic] FreeBSD Crashes when connecting SanDis o usb/129311 usb [usb] [panic] Instant crash with an USB card reader o usb/128485 usb [umodem] [patch] Nokia N80 modem support o usb/128425 usb [umass] Cannot Connect Maxtor Onetouch 4 USB drive o usb/128418 usb [panic] [rum] loading if_rum causes panic, looks like o usb/127926 usb [boot] USB Timeout during bootup o usb/127342 usb [boot] [panic] enabling usb keyboard and mouse support o usb/127248 usb [ucom] panic while uplcom devices attach and detach o usb/126884 usb [ugen] [patch] Bug in buffer handling in ugen.c o usb/126848 usb [usb]: USB Keyboard hangs during Installation o usb/126740 usb [ulpt] doesn't work on 7.0-RELEASE, 10 second stall be o usb/126519 usb [usb] [panic] panic when plugging in an iphone o kern/126396 usb [panic] kernel panic after unplug USB Bluetooth device o usb/125631 usb [ums] [panic] kernel panic during bootup while 'Logite o usb/125510 usb [panic] repeated plug and unplug of USB mass storage d f usb/125450 usb [panic] Removing USB flash card while being accessed c o usb/125088 usb [keyboard] Touchpad not detected on Adesso AKB-430UG U o usb/124980 usb [panic] kernel panic on detaching unmounted umass devi o kern/124777 usb [ucom] USB cua devices don't revert to tty devices whe o usb/124758 usb [rum] [panic] rum panics SMP kernel o usb/124708 usb [panic] Kernel panic on USB KVM reattach o kern/124130 usb [usb] gmirror fails to start usb devices that were pre o usb/123969 usb [usb] Supermicro H8SMi-2 usb problem: port reset faile o usb/123714 usb [usb] [panic] Panic when hald-storage-probe runs with o usb/123691 usb usbd(8): usbd hangs o usb/123690 usb [usb] [panic] Panic on USB device insertion when usb l o usb/123611 usb [usb] BBB reset failed, STALLED from Imation/Mitsumi U o usb/122992 usb [umass] [patch] MotoROKR Z6 Phone not recognised by um o usb/122936 usb [ucom] [ubsa] Device does not receive interrupt o usb/122905 usb [ubsa] [patch] add Huawei E220 to ubsa o usb/122547 usb [ehci] USB Printer not being recognized after reboot o usb/122539 usb [ohci] [panic] AnyDATA ADU-E1000D - kernel panic: ohci o usb/122483 usb [panic] [ulpt] Repeatable panic in 7.0-STABLE o usb/122119 usb [umass] umass device causes creation of daX but not da o usb/121734 usb [ugen] ugen HP1022 printer device not working since up o usb/121708 usb [keyboard] nforce 650i mobo w/ usb keyboard infinite k o usb/121275 usb [boot] [panic] FreeBSD fails to boot with usb legacy s o usb/121169 usb [umass] Issues with usb mp3 player o usb/121045 usb [uftdi] [patch] Add support for PC-OP-RS1 and KURO-RS f usb/120786 usb [usb] [panic] Kernel panic when forced umount of a det o usb/120729 usb [panic] fault while in kernel mode with connecting USB o conf/120406 usb [devd] [patch] Handle newly attached pcm devices (eg. o usb/120321 usb [hang] System hangs when transferring data to WD MyBoo o usb/120283 usb [panic] Automation reboot with wireless keyboard & mou o usb/120034 usb [hang] 6.2 & 6.3 hangs on boot at usb0: OHCI with 1.5 o usb/119977 usb [ums] Mouse does not work in a Cherry-USB keyboard/mou o usb/119653 usb [cam] [patch] iriver s7 player sync cache error patch o usb/119633 usb [umass] umass0: BBB reset failed, IOERROR [regression] o usb/119509 usb [usb] USB flaky on Dell Optiplex 755 o usb/119389 usb [umass] Sony DSC-W1 CBI reset failed, STALLED [regress o usb/119227 usb [ubsa] [patch] ubsa buffer is too small; should be tun o usb/118480 usb [umass] Timeout in USB mass storage freezes vfs layer o usb/118353 usb [panic] [ppp] repeatable kernel panic during ppp(4) se o usb/118141 usb [ucom] usb serial and nokia phones ucomreadcb ucomread o usb/118140 usb [ucom] [patch] quick hack for ucom to get it behave wi o usb/118098 usb [umass] 6th gen iPod causes problems when disconnectin o usb/117955 usb [umass] [panic] inserting minolta dimage a2 crashes OS o usb/117946 usb [panic] D-Link DUB-E100 rev. B1 crashes FreeBSD 7.0-BE o usb/117938 usb [ums] [patch] Adding support for MS WL Natural and MS o usb/117911 usb [ums] [request] Mouse Gembird MUSWC not work o usb/117893 usb [umass] Lacie USB DVD writing failing o usb/117613 usb [uhci] [irq] uhci interrupt storm & USB leaked memory o usb/117598 usb [snd_uaudio] [patch] Not possible to record with Plant o usb/117313 usb [umass] [panic] panic on usb camera insertion o usb/117183 usb [panic] USB/fusefs -- panic while transferring large a 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/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 conf/114013 usb [patch] WITHOUT_USB allow to compil a lot of USB stuff 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/96224 usb [usb] [msdosfs] mount_msdosfs cause page fault in sync s usb/96120 usb [ums] [request] USB mouse not always detected s usb/95636 usb [umass] [boot] 5 minute delay at boot when using VT620 o usb/95562 usb [umass] Write Stress in USB Mass drive causes "vinvalb o usb/95037 usb [umass] USB disk not recognized on hot-plug. o usb/94897 usb [panic] Kernel Panic when cleanly unmounting USB disk o usb/94717 usb [ulpt] Reading from /dev/ulpt can break work of a UHCI o usb/94384 usb [panic] kernel panic with usb2 hardware o usb/93828 usb [ohci] [panic] ohci causes panic on boot (HP Pavillion o usb/93389 usb [umass] [patch] Digital Camera Pentax S60 don't work o usb/92852 usb [ums] [patch] Vertical scroll not working properly on o usb/92171 usb [panic] panic unplugging Vodafone Mobile Connect (UMTS o usb/92142 usb [uhub] SET_ADDR_FAILED and SHORT_XFER errors from usb o usb/92083 usb [ural] [panic] panic using WPA on ural NIC in 6.0-RELE o usb/92052 usb [ulpt] usbd causes defunct process with busy file-hand o usb/91906 usb [ehci] [hang] FreeBSD hangs while booting with USB leg f usb/91896 usb camcontrol(8): Serial Number of USB Memory Sticks is n o usb/91811 usb [umass] Compact Flash in HP Photosmart 2610 return " o usb/91546 usb [umodem] [patch] Nokia 6630 mobile phone does not work o usb/91538 usb [ulpt] [patch] Unable to print to EPSON CX3500 o usb/91283 usb [boot] [regression] booting very slow with usb devices o usb/91238 usb [umass] USB tape unit fails to write a second tape fil o usb/90700 usb [umass] [panic] Kernel panic on connect/mount/use umas o usb/89954 usb [umass] [panic] USB Disk driver race condition? o usb/88743 usb [hang] [regression] USB makes kernel hang at boot (reg o usb/88408 usb [axe] axe0 read PHY failed o usb/87648 usb [mouse] Logitech USB-optical mouse problem. f usb/87224 usb [usb] Cannot mount USB Zip750 o usb/86767 usb [umass] [patch] bogus "slice starts beyond end of the o usb/86298 usb [mouse] Known good USB mouse won't work with correct s s usb/85067 usb [uscanner] Cannot attach ScanJet 4300C to usb device o usb/83977 usb [ucom] [panic] ucom1: open bulk out error (addr 2): IN o usb/83863 usb [ugen] Communication problem between opensc/openct via o usb/83756 usb [ums] [patch] Microsoft Intellimouse Explorer 4.0A doe o usb/83504 usb [kernel] [patch] SpeedTouch USB stop working on recent o usb/82520 usb [udbp] [reboot] Reboot when USL101 connected o usb/82350 usb [ucom] [panic] null pointer dereference in USB stack o usb/81621 usb [ehci] [hang] external hd hangs under load on ehci o usb/80935 usb [uvisor] [patch] uvisor.c is not work with CLIE TH55. s usb/80777 usb [request] usb_rem_task() should wait for callback to c s usb/80776 usb [udav] [request] UDAV device driver shouldn't use usb_ o usb/80774 usb [patch] have "usbd_find_desc" in line with the other " o usb/80361 usb [umass] [patch] mounting of Dell usb-stick fails f usb/80040 usb [sound] [hang] Use of sound mixer causes system freeze o usb/79723 usb [usb] [request] prepare for high speed isochronous tra o usb/78984 usb [umass] [patch] Creative MUVO umass failure o usb/76653 usb [umass] [patch] Problem with Asahi Optical usb device s usb/75928 usb [umass] [request] Cytronix SmartMedia card (SMC) reade o usb/75800 usb [ucom] ucom1: init failed STALLED error in time of syn o usb/75764 usb [umass] [patch] "umass0: Phase Error" - no device for s usb/74453 usb [umass] [patch] Q-lity CD-RW USB ECW-043 (ScanLogic SL o usb/74211 usb [umass] USB flash drive causes CAM status 0x4 on 4.10R o usb/71417 usb [ugen] Cryptoflex e-gate USB token (ugen0) communicati o usb/71416 usb [ugen] Cryptoflex e-gate USB token (ugen0) detach is n o usb/71280 usb [aue] aue0 device (linksys usb100tx) doesn't work in 1 o usb/71155 usb [ulpt] misbehaving usb-printer hangs processes, causes o usb/69006 usb [usbdevs] [patch] Apple Cinema Display hangs USB ports o usb/67301 usb [uftdi] [panic] RTS and system panic o usb/66547 usb [ucom] Palm Tungsten T USB does not initialize correct o usb/63621 usb [umass] [panic] USB MemoryStick Reader stalls/crashes s usb/62257 usb [umass] [request] card reader UCR-61S2B is only half-s s usb/52026 usb [new driver] [request] umass driver support for InSyst s usb/51958 usb [urio] [patch] update for urio driver o usb/40948 usb [umass] [request] USB HP CDW8200 does not work o usb/30929 usb [usb] [patch] use usbd to initialize USB ADSL modem 290 problems total. From owner-freebsd-usb@FreeBSD.ORG Mon Mar 4 15:47:17 2013 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id B52C87F0 for ; Mon, 4 Mar 2013 15:47:17 +0000 (UTC) (envelope-from kristof@swissmail.org) Received: from vm-mailout2.vm.swissmail.org (vm-mailout2.vm.swissmail.org [212.25.22.135]) by mx1.freebsd.org (Postfix) with ESMTP id 12E98242 for ; Mon, 4 Mar 2013 15:47:16 +0000 (UTC) Received: from vm-pemfos2.intra.swissmail.org (vm-smtp2.intra.swissmail.org [192.168.173.55]) by vm-mailout2.vm.swissmail.org (8.13.8/8.13.8/Debian-3) with ESMTP id r24Fj2sF008834; Mon, 4 Mar 2013 16:45:02 +0100 Received: from vm-pemfos2.intra.swissmail.org (localhost [127.0.0.1]) by localhost (PEmFoS-local-10025) with ESMTP id 81A1D4A003; Mon, 4 Mar 2013 16:47:07 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by localhost (PEmFoS/1506.4270.a1); Mon, 4 Mar 2013 16:47:07 +0100 (CET) X-Pemfos-Policyd: accepted (PSzVEPI4IxKocAY0q4M0im5/PXkDRtA1flooOkQjCiEpDXtmDnQxPwM1YCQdXz1z) Message-ID: <5134C1E7.6020000@swissmail.org> Date: Mon, 04 Mar 2013 09:46:47 -0600 From: Krzysztof Parzyszek User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130215 Thunderbird/17.0.3 MIME-Version: 1.0 To: Hans Petter Selasky Subject: Re: Failed to read CSW: USB_ERR_STALLED References: <51321D3E.2040600@swissmail.org> <5132209A.3020401@swissmail.org> <3277111.fKLbtIQrYQ@laptop015.hselasky.homeunix.org> In-Reply-To: <3277111.fKLbtIQrYQ@laptop015.hselasky.homeunix.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-usb@freebsd.org X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Mar 2013 15:47:17 -0000 On 3/4/2013 2:20 AM, Hans Petter Selasky wrote: > > Looks like your device is not complying to SCSI standards?? > > Try this: > > usbconfig -d X.Y add_quirk UQ_MSC_NO_INQUIRY > > Replug your device. Thanks. I will try it tonight. The device is a Mediasonic 4-bay enclosure (which apparently do have buggy USB3 implementation). What is surprising to me is that this combination (i.e. this device with USB2) worked before, and now it doesn't. I've found some other threads related to similar umass issues, and in one of them someone described a case of a memory stick which worked with FreeBSD, but after being used with Linux or Windows, it would no longer work with the same FreeBSD machine. Do devices retain some sort of modifiable configuration data even after power-off? -Krzysztof From owner-freebsd-usb@FreeBSD.ORG Mon Mar 4 20:54:52 2013 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 89EC347A for ; Mon, 4 Mar 2013 20:54:52 +0000 (UTC) (envelope-from hps@bitfrost.no) Received: from mta.bitpro.no (mta.bitpro.no [92.42.64.202]) by mx1.freebsd.org (Postfix) with ESMTP id 4EC98145A for ; Mon, 4 Mar 2013 20:54:51 +0000 (UTC) Received: from mail.bitfrost.no (mail.bitfrost.no [46.29.221.36]) by mta.bitpro.no (Postfix) with ESMTP id 757447A0DC; Mon, 4 Mar 2013 21:54:49 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at bitfrost.no Received: from laptop015.hselasky.homeunix.org (cm-176.74.213.204.customer.telag.net [176.74.213.204]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: hanspetter) by mail.bitfrost.no (Postfix) with ESMTPSA id D75EB20622; Mon, 4 Mar 2013 21:54:47 +0100 (CET) Message-ID: <51350A64.5010208@bitfrost.no> Date: Mon, 04 Mar 2013 21:56:04 +0100 From: Hans Petter Selasky Organization: Bitfrost A/S MIME-Version: 1.0 To: Krzysztof Parzyszek Subject: Re: Failed to read CSW: USB_ERR_STALLED References: <51321D3E.2040600@swissmail.org> <5132209A.3020401@swissmail.org> <3277111.fKLbtIQrYQ@laptop015.hselasky.homeunix.org> <5134C1E7.6020000@swissmail.org> In-Reply-To: <5134C1E7.6020000@swissmail.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-usb@freebsd.org X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Mar 2013 20:54:52 -0000 On 03/04/13 16:46, Krzysztof Parzyszek wrote: > On 3/4/2013 2:20 AM, Hans Petter Selasky wrote: >> >> Looks like your device is not complying to SCSI standards?? >> >> Try this: >> >> usbconfig -d X.Y add_quirk UQ_MSC_NO_INQUIRY >> >> Replug your device. > > Thanks. I will try it tonight. The device is a Mediasonic 4-bay > enclosure (which apparently do have buggy USB3 implementation). > > What is surprising to me is that this combination (i.e. this device with > USB2) worked before, and now it doesn't. I've found some other threads > related to similar umass issues, and in one of them someone described a > case of a memory stick which worked with FreeBSD, but after being used > with Linux or Windows, it would no longer work with the same FreeBSD > machine. Do devices retain some sort of modifiable configuration data > even after power-off? > > -Krzysztof Hi, Maybe you could reproduce that connecting your device through a so-called USB analyzer. Beagle sell cheap ones. If the device behaves differently when connected to for example FreeBSD after being plugged into another OS, would be interesting to know. It is up to the manufacturer what they allow or not. Some flash sticks contain reprogrammable parts others do not. --HPS From owner-freebsd-usb@FreeBSD.ORG Tue Mar 5 12:24:04 2013 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 81A71E47; Tue, 5 Mar 2013 12:24:04 +0000 (UTC) (envelope-from makc@freebsd.org) Received: from mail.issp.ac.ru (mail.issp.ac.ru [77.236.34.3]) by mx1.freebsd.org (Postfix) with ESMTP id E9212ABE; Tue, 5 Mar 2013 12:24:02 +0000 (UTC) Received: from mercury.ph.man.ac.uk [130.88.75.175:60926] (HELO/EHLO mercury.ph.man.ac.uk, authenticated with LOGIN) by mail.issp.ac.ru with ESMTP/inet id r25CO09D017642 (using TLSv1/SSLv3, with cipher DHE-RSA-AES256-SHA (256 bits), verified NO) Tue, 5 Mar 2013 16:24:01 +0400 (MSK) From: Max Brazhnikov To: freebsd-x11@freebsd.org Subject: high system load when using i915kms Date: Tue, 05 Mar 2013 12:24:51 +0000 Message-ID: <2460779.xZBtdeG4eu@mercury.ph.man.ac.uk> User-Agent: KMail/4.9.5 (FreeBSD/9.1-STABLE; KDE/4.9.5; amd64; ; ) MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: freebsd-usb@freebsd.org X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Mar 2013 12:24:04 -0000 Hi, I've switched recently to new xorg and kms driver. Sometimes after booting my system (9.1-STABLE #0 r245741 amd64) shows high load: interrupt total rate irq1: atkbd0 612 0 irq9: acpi0 3693 1 irq12: psm0 7512 2 irq16: uhci0 uhci3 377172955 144069 irq20: hpet0 2923357 1116 irq23: uhci1 ehci1 47432 18 irq256: hdac0 80799 30 irq257: alc0 78474 29 irq258: iwn0 19994 7 irq259: ahci0 100016 38 irq260: vgapci0 31250 11 Total 380466094 145327 I've never seen this with old xorg. The problem is not always reproducible, but it's enough just to load i915kms module without staring X to trigger it. Any idea? Thanks, Max From owner-freebsd-usb@FreeBSD.ORG Tue Mar 5 23:14:19 2013 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 486A9244 for ; Tue, 5 Mar 2013 23:14:19 +0000 (UTC) (envelope-from kristof@swissmail.org) Received: from vm-mailout1.vm.swissmail.org (vm-mailout1.vm.swissmail.org [212.25.22.134]) by mx1.freebsd.org (Postfix) with ESMTP id ADD2A2A3 for ; Tue, 5 Mar 2013 23:14:18 +0000 (UTC) Received: from vm-pemfos2.intra.swissmail.org (vm-smtp2.intra.swissmail.org [192.168.173.55]) by vm-mailout1.vm.swissmail.org (8.13.8/8.13.8/Debian-3) with ESMTP id r25NE9ba005381; Wed, 6 Mar 2013 00:14:09 +0100 Received: from vm-pemfos2.intra.swissmail.org (localhost [127.0.0.1]) by localhost (PEmFoS-local-10025) with ESMTP id BACEA4A002; Wed, 6 Mar 2013 00:14:09 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by localhost (PEmFoS/1506.30399.a1); Wed, 6 Mar 2013 00:14:09 +0100 (CET) X-Pemfos-Policyd: accepted (Rxe2KwR36OiK1pR/tK94hlkHRHUbUt5hBVA6PZplBT40AjwnHVRkcg4IagY1F1Zh) Message-ID: <51367C3A.7090907@swissmail.org> Date: Tue, 05 Mar 2013 17:14:02 -0600 From: Krzysztof Parzyszek User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130215 Thunderbird/17.0.3 MIME-Version: 1.0 To: Hans Petter Selasky Subject: Re: Failed to read CSW: USB_ERR_STALLED References: <51321D3E.2040600@swissmail.org> <5132209A.3020401@swissmail.org> <3277111.fKLbtIQrYQ@laptop015.hselasky.homeunix.org> <5134C1E7.6020000@swissmail.org> In-Reply-To: <5134C1E7.6020000@swissmail.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-usb@freebsd.org X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Mar 2013 23:14:19 -0000 On 3/4/2013 9:46 AM, Krzysztof Parzyszek wrote: > On 3/4/2013 2:20 AM, Hans Petter Selasky wrote: >> >> Looks like your device is not complying to SCSI standards?? >> >> Try this: >> >> usbconfig -d X.Y add_quirk UQ_MSC_NO_INQUIRY >> >> Replug your device. > > Thanks. I will try it tonight. The device is a Mediasonic 4-bay > enclosure (which apparently do have buggy USB3 implementation). Didn't work. I'm getting the same errors (SCSI read failures). -Krzysztof From owner-freebsd-usb@FreeBSD.ORG Wed Mar 6 06:15:46 2013 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 595863DA; Wed, 6 Mar 2013 06:15:46 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from kib.kiev.ua (kib.kiev.ua [IPv6:2001:470:d5e7:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id B7AA1308; Wed, 6 Mar 2013 06:15:45 +0000 (UTC) Received: from tom.home (kostik@localhost [127.0.0.1]) by kib.kiev.ua (8.14.6/8.14.6) with ESMTP id r266FbwA063724; Wed, 6 Mar 2013 08:15:37 +0200 (EET) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.8.0 kib.kiev.ua r266FbwA063724 Received: (from kostik@localhost) by tom.home (8.14.6/8.14.6/Submit) id r266Fb5N063723; Wed, 6 Mar 2013 08:15:37 +0200 (EET) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Wed, 6 Mar 2013 08:15:37 +0200 From: Konstantin Belousov To: Max Brazhnikov Subject: Re: high system load when using i915kms Message-ID: <20130306061537.GM3794@kib.kiev.ua> References: <2460779.xZBtdeG4eu@mercury.ph.man.ac.uk> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="TxukmIqg3MmZ0Kmh" Content-Disposition: inline In-Reply-To: <2460779.xZBtdeG4eu@mercury.ph.man.ac.uk> User-Agent: Mutt/1.5.21 (2010-09-15) X-Spam-Status: No, score=-2.0 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED autolearn=no version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on tom.home Cc: freebsd-x11@freebsd.org, freebsd-usb@freebsd.org X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Mar 2013 06:15:46 -0000 --TxukmIqg3MmZ0Kmh Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Mar 05, 2013 at 12:24:51PM +0000, Max Brazhnikov wrote: > Hi, >=20 > I've switched recently to new xorg and kms driver. Sometimes after bootin= g my > system (9.1-STABLE #0 r245741 amd64) shows high load: >=20 > interrupt total rate > irq1: atkbd0 612 0 > irq9: acpi0 3693 1 > irq12: psm0 7512 2 > irq16: uhci0 uhci3 377172955 144069 > irq20: hpet0 2923357 1116 > irq23: uhci1 ehci1 47432 18 > irq256: hdac0 80799 30 > irq257: alc0 78474 29 > irq258: iwn0 19994 7 > irq259: ahci0 100016 38 > irq260: vgapci0 31250 11 > Total 380466094 145327 >=20 > I've never seen this with old xorg. The problem is not always reproducibl= e,=20 > but it's enough just to load i915kms module without staring X to trigger = it. >=20 > Any idea? So what is the complain ? Do you meaning that loading i915kms causes the spike in the interrupt rate on the irq16 line ? What is the graphics part and the south bridge you are using ? Show the pciconf -lvc output. --TxukmIqg3MmZ0Kmh Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iQIcBAEBAgAGBQJRNt8IAAoJEJDCuSvBvK1B9/4QAJAiUTv1r3VvUT6Tlogg1mhJ FbOlvTkIun9cDfuMXJXTCSXRN8jpqzRZug2G6oINzepIWuaIQeJbEfRUXTjjd5GN Dsj2A50WnKkFNAyaGRHCuzVT/quLCRe9kc4oOF/khQdnd3CG7uYs9eD06zhxQXJF BQIBEuRaIer4vUKQ8J1NtVleQdYD2X4E3NOLr5KY/gRQPE7zuuM4G6QCE74lXFbc jDPLvLKTJV7dw8T0ty0DvIfE0QC2RXwDrcKSEJ6/jwROEB44k9PBoLSFtiI2MUAN sRpiBlb4408GzMdzvOOGOqWD+OtmrCJZSIEx5Ev4dQ2FgnUR5V7NyB0irnCYCAdM nMo/8Tk/Cy2qNH9r+L66Oco+OVWpoPu+pqPQeD29ayt6sbU85zFwPXaePJamIUf7 +dkuUsMgPNUVaSPVppyjBiWU05pbGk6WvsszzZtHEkVNU4ZOfWrdEU7n0aDZxIk0 T6inkZu5OG4l8pfQVnYUpNiegIhLql2Ck32BU3PB6VbOVllRMHnGHo+cT20rvWas C+Q4fOAhTezpdlsXtDiEFKAMaE9lBI2/VYWfJQMnj5cmXA0+A6tJ/W/wmjJOPBvs cNJd8gks0tCJcjZiVBEMgZMsc+e9NXdiEnWXOdiv23rZonGruaQmjFwV3KrmFjEo iSrR/nfvey+iqnJ1tFWr =egto -----END PGP SIGNATURE----- --TxukmIqg3MmZ0Kmh-- From owner-freebsd-usb@FreeBSD.ORG Wed Mar 6 10:56:00 2013 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 8F4A680; Wed, 6 Mar 2013 10:56:00 +0000 (UTC) (envelope-from makc@freebsd.org) Received: from mail.issp.ac.ru (mail.issp.ac.ru [77.236.34.3]) by mx1.freebsd.org (Postfix) with ESMTP id 116BE162; Wed, 6 Mar 2013 10:55:59 +0000 (UTC) Received: from mercury.ph.man.ac.uk [130.88.75.175:39464] (HELO/EHLO mercury.ph.man.ac.uk, authenticated with LOGIN) by mail.issp.ac.ru with ESMTP/inet id r26AtvAt097086 (using TLSv1/SSLv3, with cipher DHE-RSA-AES256-SHA (256 bits), verified NO) Wed, 6 Mar 2013 14:55:58 +0400 (MSK) From: Max Brazhnikov To: Konstantin Belousov Subject: Re: Re: high system load when using i915kms Date: Wed, 06 Mar 2013 10:56:52 +0000 Message-ID: <2268582.B3fxbEy5KG@mercury.ph.man.ac.uk> User-Agent: KMail/4.9.5 (FreeBSD/9.1-STABLE; KDE/4.9.5; amd64; ; ) In-Reply-To: <20130306061537.GM3794@kib.kiev.ua> References: <2460779.xZBtdeG4eu@mercury.ph.man.ac.uk> <20130306061537.GM3794@kib.kiev.ua> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="ISO-8859-1" Cc: freebsd-x11@freebsd.org, freebsd-usb@freebsd.org X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Mar 2013 10:56:00 -0000 On Wed, 6 Mar 2013 08:15:37 +0200 Konstantin Belousov wrote: > On Tue, Mar 05, 2013 at 12:24:51PM +0000, Max Brazhnikov wrote: > > Hi, > > > > I've switched recently to new xorg and kms driver. Sometimes after booting my > > system (9.1-STABLE #0 r245741 amd64) shows high load: > > > > interrupt total rate > > irq1: atkbd0 612 0 > > irq9: acpi0 3693 1 > > irq12: psm0 7512 2 > > irq16: uhci0 uhci3 377172955 144069 > > irq20: hpet0 2923357 1116 > > irq23: uhci1 ehci1 47432 18 > > irq256: hdac0 80799 30 > > irq257: alc0 78474 29 > > irq258: iwn0 19994 7 > > irq259: ahci0 100016 38 > > irq260: vgapci0 31250 11 > > Total 380466094 145327 > > > > I've never seen this with old xorg. The problem is not always reproducible, > > but it's enough just to load i915kms module without staring X to trigger it. > > > > Any idea? > > So what is the complain ? Do you meaning that loading i915kms causes > the spike in the interrupt rate on the irq16 line ? I suspect it since the only change was update to newer xorg. > What is the graphics part and the south bridge you are using ? Show > the pciconf -lvc output. http://people.freebsd.org/~makc/pciconf.output Max From owner-freebsd-usb@FreeBSD.ORG Thu Mar 7 14:47:28 2013 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 23D14EEB; Thu, 7 Mar 2013 14:47:28 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from kib.kiev.ua (kib.kiev.ua [IPv6:2001:470:d5e7:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id 8F711EF8; Thu, 7 Mar 2013 14:47:27 +0000 (UTC) Received: from tom.home (kostik@localhost [127.0.0.1]) by kib.kiev.ua (8.14.6/8.14.6) with ESMTP id r27ElNFA005835; Thu, 7 Mar 2013 16:47:23 +0200 (EET) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.8.0 kib.kiev.ua r27ElNFA005835 Received: (from kostik@localhost) by tom.home (8.14.6/8.14.6/Submit) id r27ElN7N005834; Thu, 7 Mar 2013 16:47:23 +0200 (EET) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Thu, 7 Mar 2013 16:47:23 +0200 From: Konstantin Belousov To: Max Brazhnikov Subject: Re: Re: high system load when using i915kms Message-ID: <20130307144723.GZ3794@kib.kiev.ua> References: <2460779.xZBtdeG4eu@mercury.ph.man.ac.uk> <20130306061537.GM3794@kib.kiev.ua> <2268582.B3fxbEy5KG@mercury.ph.man.ac.uk> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ggC1wwkyYWqEab//" Content-Disposition: inline In-Reply-To: <2268582.B3fxbEy5KG@mercury.ph.man.ac.uk> User-Agent: Mutt/1.5.21 (2010-09-15) X-Spam-Status: No, score=-2.0 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED autolearn=no version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on tom.home Cc: freebsd-x11@freebsd.org, freebsd-usb@freebsd.org X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Mar 2013 14:47:28 -0000 --ggC1wwkyYWqEab// Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Mar 06, 2013 at 10:56:52AM +0000, Max Brazhnikov wrote: > On Wed, 6 Mar 2013 08:15:37 +0200 Konstantin Belousov wrote: > > On Tue, Mar 05, 2013 at 12:24:51PM +0000, Max Brazhnikov wrote: > > > Hi, > > >=20 > > > I've switched recently to new xorg and kms driver. Sometimes after bo= oting=20 > my > > > system (9.1-STABLE #0 r245741 amd64) shows high load: > > >=20 > > > interrupt total rate > > > irq1: atkbd0 612 0 > > > irq9: acpi0 3693 1 > > > irq12: psm0 7512 2 > > > irq16: uhci0 uhci3 377172955 144069 > > > irq20: hpet0 2923357 1116 > > > irq23: uhci1 ehci1 47432 18 > > > irq256: hdac0 80799 30 > > > irq257: alc0 78474 29 > > > irq258: iwn0 19994 7 > > > irq259: ahci0 100016 38 > > > irq260: vgapci0 31250 11 > > > Total 380466094 145327 > > >=20 > > > I've never seen this with old xorg. The problem is not always=20 > reproducible,=20 > > > but it's enough just to load i915kms module without staring X to trig= ger=20 > it. > > >=20 > > > Any idea? > >=20 > > So what is the complain ? Do you meaning that loading i915kms causes > > the spike in the interrupt rate on the irq16 line ? >=20 > I suspect it since the only change was update to newer xorg. Do you mean that the same kernel was kept, and only usermode components upgraded ? This is plain impossible to cause the effect you described. >=20 > > What is the graphics part and the south bridge you are using ? Show > > the pciconf -lvc output. >=20 > http://people.freebsd.org/~makc/pciconf.output I have exactly the same GM45 chipset in my laptop. BTW, is the vmstat output you demonstrated in the first message, was for the system with running X ? I am asking about the presence of the rendering activity on the display, which would explain the significant count of the interrupts from GPU. --ggC1wwkyYWqEab// Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iQIcBAEBAgAGBQJROKh7AAoJEJDCuSvBvK1Bw5wP/Rhf6ECWJIcXMtwmQRX05MEK E8NIQJUs9YOZV7WXSqU6JIGFLeqxMSbpR034fR3CR3lhnhNznB2IhZqnMx//io3M htWCslWWBJgr0s8VYUqMvPuKNvkHr4TOp8FmFgsYSEJ7UlGR5IgeWFnAu4T8PmYs mH3Ow4lUBF5ReIg2tZILUzK15hQYmLk0x7FAHocjCHA2YCJ0WS9+Qq+kKDHNKeer vrFuW8lWFBSgsw/xqcRyaG/+EFK1Mhyl5zeKzZ6bAPP570FwXVVDkJfGkCgzMmRU cO1CujAHAtZhT0U25rKBkjCEJLIT/v/rT8LgKs0emUToZ/8ybOIEvwK6QuXv8rTT NcZh6g5gu/jv+45Ok/IVd5p1xeYyWhPyYChxBBm7Qh5LPUySHapdNE3r2kAiJjIA RntyDPlFB889PrBQJ+NcWblfa0JQMHkANcWUSLirLXFKHhaBnGnuHDAp6Cfw6nwB weyUU/pvv3qmgdnAEvBEXu6iOk35RNZgPCwlWMMoEijfKq3284vYACLYQdnvYbUC XQ56HT1u8yIKxrzAy/iEzvdJCHA4pK7rBwFJI8MFC6SJipqh0cFx5noJ5jEs1cAS 3uw+vFUEMra74+fNLNlJpbLpPSlpeyEjq6NcrFlYyfOusjFrjRW+DmjwJ9zZPs/N 5bz2GcjLJ36bJDXVBWdp =Zdt2 -----END PGP SIGNATURE----- --ggC1wwkyYWqEab//-- From owner-freebsd-usb@FreeBSD.ORG Fri Mar 8 14:38:46 2013 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 41A55E5A for ; Fri, 8 Mar 2013 14:38:46 +0000 (UTC) (envelope-from aman.sawrup@bluecoat.com) Received: from synonym.bluecoat.com (synonym.bluecoat.com [199.91.133.5]) by mx1.freebsd.org (Postfix) with ESMTP id 31A6D6A7 for ; Fri, 8 Mar 2013 14:38:46 +0000 (UTC) Received: from [10.167.0.106] (aman-sawrup.waterloo.bluecoat.com [10.167.0.106]) by synonym.bluecoat.com (Postfix) with ESMTP id 1A4037FE2A0 for ; Fri, 8 Mar 2013 06:32:25 -0800 (PST) Message-ID: <5139F679.9060905@bluecoat.com> Date: Fri, 08 Mar 2013 09:32:25 -0500 From: Aman Sawrup User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130106 Thunderbird/17.0.2 MIME-Version: 1.0 To: freebsd-usb@freebsd.org Subject: usbd_setup_ctrl_transfer: Wrong framelength Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Mar 2013 14:38:46 -0000 Sporadically, but not very often, I see the message "usbd_setup_ctrl_transfer: Wrong framelength 0 != 8" while trying to setup transfer with umass0. However, even when I do see the message, I'm still able to transfer data successfully with the device. I'm looking for advice on whether I need to investigate this message further? Thanks Aman ehci0: [FILTER+ITHREAD] usbus0: EHCI version 1.0 usbus0: 480Mbps High Speed USB v2.0 ugen0.1: at usbus0 uhub0: on usbus0 uhub0: 2 ports with 2 removable, self powered ugen0.2: at usbus0 uhub1: on usbus0 uhub1: 8 ports with 8 removable, self powered ugen0.3: at usbus0 umass0: on usbus0 umass0: SCSI over Bulk-Only; quirks = 0x4800 From owner-freebsd-usb@FreeBSD.ORG Fri Mar 8 18:02:20 2013 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 339C91D9; Fri, 8 Mar 2013 18:02:20 +0000 (UTC) (envelope-from makc@freebsd.org) Received: from mail.issp.ac.ru (mail.issp.ac.ru [77.236.34.3]) by mx1.freebsd.org (Postfix) with ESMTP id 72EEBA3E; Fri, 8 Mar 2013 18:02:18 +0000 (UTC) Received: from mercury.ph.man.ac.uk [130.88.75.175:23129] (HELO/EHLO mercury.ph.man.ac.uk, authenticated with LOGIN) by mail.issp.ac.ru with ESMTP/inet id r28I2G0g050525 (using TLSv1/SSLv3, with cipher DHE-RSA-AES256-SHA (256 bits), verified NO) Fri, 8 Mar 2013 22:02:17 +0400 (MSK) From: Max Brazhnikov To: Konstantin Belousov Subject: Re: high system load when using i915kms Date: Fri, 08 Mar 2013 18:03:13 +0000 Message-ID: <1382092.A6MSmtKV3F@mercury.ph.man.ac.uk> User-Agent: KMail/4.9.5 (FreeBSD/9.1-STABLE; KDE/4.10.1; amd64; ; ) In-Reply-To: <20130307144723.GZ3794@kib.kiev.ua> References: <2460779.xZBtdeG4eu@mercury.ph.man.ac.uk> <2268582.B3fxbEy5KG@mercury.ph.man.ac.uk> <20130307144723.GZ3794@kib.kiev.ua> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="ISO-8859-1" Cc: freebsd-x11@freebsd.org, freebsd-usb@freebsd.org X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Mar 2013 18:02:20 -0000 On Thu, 07 Mar 2013 16:47:23 +0200 Konstantin Belousov wrote: > On Wed, Mar 06, 2013 at 10:56:52AM +0000, Max Brazhnikov wrote: > > On Wed, 6 Mar 2013 08:15:37 +0200 Konstantin Belousov wrote: > > > On Tue, Mar 05, 2013 at 12:24:51PM +0000, Max Brazhnikov wrote: > > > > Hi, > > > > > > > > I've switched recently to new xorg and kms driver. Sometimes after booting > > my > > > > system (9.1-STABLE #0 r245741 amd64) shows high load: > > > > > > > > interrupt total rate > > > > irq1: atkbd0 612 0 > > > > irq9: acpi0 3693 1 > > > > irq12: psm0 7512 2 > > > > irq16: uhci0 uhci3 377172955 144069 > > > > irq20: hpet0 2923357 1116 > > > > irq23: uhci1 ehci1 47432 18 > > > > irq256: hdac0 80799 30 > > > > irq257: alc0 78474 29 > > > > irq258: iwn0 19994 7 > > > > irq259: ahci0 100016 38 > > > > irq260: vgapci0 31250 11 > > > > Total 380466094 145327 > > > > > > > > I've never seen this with old xorg. The problem is not always > > reproducible, > > > > but it's enough just to load i915kms module without staring X to trigger > > it. > > > > > > > > Any idea? > > > > > > So what is the complain ? Do you meaning that loading i915kms causes > > > the spike in the interrupt rate on the irq16 line ? > > > > I suspect it since the only change was update to newer xorg. > Do you mean that the same kernel was kept, > and only usermode components upgraded ? Correct. The kernel and world were built from r245741 more than month ago. I used prebuilt Xorg packages from latest experimental ports, so the changes in the system are minimal. > This is plain impossible to cause the effect you described. > > > > > What is the graphics part and the south bridge you are using ? Show > > > the pciconf -lvc output. > > > > http://people.freebsd.org/~makc/pciconf.output > > I have exactly the same GM45 chipset in my laptop. > > BTW, is the vmstat output you demonstrated in the first message, was for > the system with running X ? I am asking about the presence of the rendering > activity on the display, which would explain the significant count of > the interrupts from GPU. Yes, it was under KDE session, however the problem can be observe with plain X and xterm or even without them: # cat test.sh #!/bin/sh vmstat -i kldload i915kms sleep 10 vmstat -i xinit & sleep 10 vmstat -i interrupt total rate irq1: atkbd0 169 3 irq9: acpi0 72 1 irq12: psm0 24 0 irq16: uhci0 uhci3 25 0 irq19: ehci0 uhci2 2 0 irq20: hpet0 20351 407 irq23: uhci1 ehci1 95 1 irq256: hdac0 71 1 irq257: alc0 347 6 irq258: iwn0 1624 32 irq259: ahci0 4095 81 Total 26875 537 interrupt total rate irq1: atkbd0 169 2 irq9: acpi0 72 1 irq12: psm0 24 0 irq16: uhci0 uhci3 1533470 24733 irq19: ehci0 uhci2 2 0 irq20: hpet0 33165 534 irq23: uhci1 ehci1 95 1 irq256: hdac0 71 1 irq257: alc0 509 8 irq258: iwn0 2090 33 irq259: ahci0 4273 68 irq260: vgapci0 1 0 Total 1573941 25386 interrupt total rate irq1: atkbd0 187 2 irq9: acpi0 94 1 irq12: psm0 24 0 irq16: uhci0 uhci3 3056916 42457 irq19: ehci0 uhci2 2 0 irq20: hpet0 44423 616 irq23: uhci1 ehci1 95 1 irq256: hdac0 71 0 irq257: alc0 634 8 irq258: iwn0 2494 34 irq259: ahci0 4772 66 irq260: vgapci0 10 0 Total 3109722 43190 PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND 11 root 2 155 ki31 0K 32K RUN 1 4:16 120.35% idle 12 root 18 -84 - 0K 288K WAIT 0 0:57 76.34% intr I've got this after second boot today, although I couldn't reproduce it yesterday even after ten attempts. But sometimes it's quite nasty and I have to reboot the system several times to get rid of it. Max From owner-freebsd-usb@FreeBSD.ORG Fri Mar 8 19:38:14 2013 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id B93392BA; Fri, 8 Mar 2013 19:38:14 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-ob0-x22c.google.com (mail-ob0-x22c.google.com [IPv6:2607:f8b0:4003:c01::22c]) by mx1.freebsd.org (Postfix) with ESMTP id 61701D1F; Fri, 8 Mar 2013 19:38:14 +0000 (UTC) Received: by mail-ob0-f172.google.com with SMTP id tb18so1613941obb.17 for ; Fri, 08 Mar 2013 11:38:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=EhSJ6AQJGpD0uQfg9WgeEmCNScbn86HxanCOOWIgmug=; b=HjMMVIw6EL+SV46xXwzkgEhlfjev6DUfURetXbYDiGvFMjC+I6/dw6zlBlVTA+55EZ acQc1kWdCKAT0Z6NmG27tw5duqtsmXLfVS39DfvkY2/LOYnYHCTx9hyi9I7+P/fsNase JH9tStLmmemkmZnlhVQgW26kG3E9a7AKMOIFfcKB0tSrSZE3+5hVCtykDzolXECce49C htBicWVOmGwyfHHDYu8w+6bmODmsWaABag6oP2pMvP/f1Fclg6KJF+axNT1uSqS0QIB4 BwNoeG7+ybIyDxwkJj/vF12vSG2tIOJsXCqhMX+hbSKUgJLGUIJDEy68tMP/Y4MbplDW mUEw== MIME-Version: 1.0 X-Received: by 10.60.22.69 with SMTP id b5mr2990656oef.38.1362771493888; Fri, 08 Mar 2013 11:38:13 -0800 (PST) Sender: kob6558@gmail.com Received: by 10.76.11.165 with HTTP; Fri, 8 Mar 2013 11:38:13 -0800 (PST) In-Reply-To: <1382092.A6MSmtKV3F@mercury.ph.man.ac.uk> References: <2460779.xZBtdeG4eu@mercury.ph.man.ac.uk> <2268582.B3fxbEy5KG@mercury.ph.man.ac.uk> <20130307144723.GZ3794@kib.kiev.ua> <1382092.A6MSmtKV3F@mercury.ph.man.ac.uk> Date: Fri, 8 Mar 2013 11:38:13 -0800 X-Google-Sender-Auth: XixB0NJxa-CwYtI5KyDpbZNs6tE Message-ID: Subject: Re: high system load when using i915kms From: Kevin Oberman To: Max Brazhnikov Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: Konstantin Belousov , freebsd-x11@freebsd.org, freebsd-usb@freebsd.org X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Mar 2013 19:38:14 -0000 On Fri, Mar 8, 2013 at 10:03 AM, Max Brazhnikov wrote: > On Thu, 07 Mar 2013 16:47:23 +0200 Konstantin Belousov wrote: > > On Wed, Mar 06, 2013 at 10:56:52AM +0000, Max Brazhnikov wrote: > > > On Wed, 6 Mar 2013 08:15:37 +0200 Konstantin Belousov wrote: > > > > On Tue, Mar 05, 2013 at 12:24:51PM +0000, Max Brazhnikov wrote: > > > > > Hi, > > > > > > > > > > I've switched recently to new xorg and kms driver. Sometimes after > booting > > > my > > > > > system (9.1-STABLE #0 r245741 amd64) shows high load: > > > > > > > > > > interrupt total rate > > > > > irq1: atkbd0 612 0 > > > > > irq9: acpi0 3693 1 > > > > > irq12: psm0 7512 2 > > > > > irq16: uhci0 uhci3 377172955 144069 > > > > > irq20: hpet0 2923357 1116 > > > > > irq23: uhci1 ehci1 47432 18 > > > > > irq256: hdac0 80799 30 > > > > > irq257: alc0 78474 29 > > > > > irq258: iwn0 19994 7 > > > > > irq259: ahci0 100016 38 > > > > > irq260: vgapci0 31250 11 > > > > > Total 380466094 145327 > > > > > > > > > > I've never seen this with old xorg. The problem is not always > > > reproducible, > > > > > but it's enough just to load i915kms module without staring X to > trigger > > > it. > > > > > > > > > > Any idea? > > > > > > > > So what is the complain ? Do you meaning that loading i915kms causes > > > > the spike in the interrupt rate on the irq16 line ? > > > > > > I suspect it since the only change was update to newer xorg. > > Do you mean that the same kernel was kept, > > and only usermode components upgraded ? > > Correct. The kernel and world were built from r245741 more than month ago. > I used prebuilt Xorg packages from latest experimental ports, so the > changes > in the system are minimal. > > > This is plain impossible to cause the effect you described. > > > > > > > What is the graphics part and the south bridge you are using ? Show > > > > the pciconf -lvc output. > > > > > > http://people.freebsd.org/~makc/pciconf.output > > > > I have exactly the same GM45 chipset in my laptop. > > > > BTW, is the vmstat output you demonstrated in the first message, was for > > the system with running X ? I am asking about the presence of the > rendering > > activity on the display, which would explain the significant count of > > the interrupts from GPU. > > Yes, it was under KDE session, however the problem can be observe with > plain X > and xterm or even without them: > # cat test.sh > #!/bin/sh > vmstat -i > kldload i915kms > sleep 10 > vmstat -i > xinit & > sleep 10 > vmstat -i > > interrupt total rate > irq1: atkbd0 169 3 > irq9: acpi0 72 1 > irq12: psm0 24 0 > irq16: uhci0 uhci3 25 0 > irq19: ehci0 uhci2 2 0 > irq20: hpet0 20351 407 > irq23: uhci1 ehci1 95 1 > irq256: hdac0 71 1 > irq257: alc0 347 6 > irq258: iwn0 1624 32 > irq259: ahci0 4095 81 > Total 26875 537 > interrupt total rate > irq1: atkbd0 169 2 > irq9: acpi0 72 1 > irq12: psm0 24 0 > irq16: uhci0 uhci3 1533470 24733 > irq19: ehci0 uhci2 2 0 > irq20: hpet0 33165 534 > irq23: uhci1 ehci1 95 1 > irq256: hdac0 71 1 > irq257: alc0 509 8 > irq258: iwn0 2090 33 > irq259: ahci0 4273 68 > irq260: vgapci0 1 0 > Total 1573941 25386 > interrupt total rate > irq1: atkbd0 187 2 > irq9: acpi0 94 1 > irq12: psm0 24 0 > irq16: uhci0 uhci3 3056916 42457 > irq19: ehci0 uhci2 2 0 > irq20: hpet0 44423 616 > irq23: uhci1 ehci1 95 1 > irq256: hdac0 71 0 > irq257: alc0 634 8 > irq258: iwn0 2494 34 > irq259: ahci0 4772 66 > irq260: vgapci0 10 0 > Total 3109722 43190 > > PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU > COMMAND > 11 root 2 155 ki31 0K 32K RUN 1 4:16 120.35% idle > 12 root 18 -84 - 0K 288K WAIT 0 0:57 76.34% intr > > I've got this after second boot today, although I couldn't reproduce it > yesterday even after ten attempts. But sometimes it's quite nasty and I > have > to reboot the system several times to get rid of it. > > Max > So the issue is that that the interrupts from one or another of the USB devices has exploded from near zero to around 40K when the kernel module is loaded? A couple of possibly irrelevant questions. Do you normally manually load the module? I did not research the issue, but when I manually load the module I was seeing things just grind to a halt. If I started Gnome, the module was loaded automatically by X, and things worked. Why loading the Intel KMS module would cause a massive increase in interrupts on a USB interface completely baffles me, but I suspect some sort of race is going on when the module is pre-loaded. -- R. Kevin Oberman, Network Engineer E-mail: rkoberman@gmail.com