From owner-freebsd-usb@FreeBSD.ORG Thu May 30 14:50:00 2013 Return-Path: Delivered-To: freebsd-usb@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id B88F17B3 for ; Thu, 30 May 2013 14:50:00 +0000 (UTC) (envelope-from gnats@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 9FFB29BD for ; Thu, 30 May 2013 14:50:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r4UEo0xY080747 for ; Thu, 30 May 2013 14:50:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r4UEo0wX080735; Thu, 30 May 2013 14:50:00 GMT (envelope-from gnats) Resent-Date: Thu, 30 May 2013 14:50:00 GMT Resent-Message-Id: <201305301450.r4UEo0wX080735@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-usb@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Alexander Panyushkin Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 48E9A679 for ; Thu, 30 May 2013 14:44:40 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from oldred.FreeBSD.org (oldred.freebsd.org [8.8.178.121]) by mx1.freebsd.org (Postfix) with ESMTP id 3AEEB939 for ; Thu, 30 May 2013 14:44:40 +0000 (UTC) Received: from oldred.FreeBSD.org ([127.0.1.6]) by oldred.FreeBSD.org (8.14.5/8.14.5) with ESMTP id r4UEieEn031528 for ; Thu, 30 May 2013 14:44:40 GMT (envelope-from nobody@oldred.FreeBSD.org) Received: (from nobody@localhost) by oldred.FreeBSD.org (8.14.5/8.14.5/Submit) id r4UEiexW031527; Thu, 30 May 2013 14:44:40 GMT (envelope-from nobody) Message-Id: <201305301444.r4UEiexW031527@oldred.FreeBSD.org> Date: Thu, 30 May 2013 14:44:40 GMT From: Alexander Panyushkin To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: usb/179109: After detach USB Flash a keyboard does not work. 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, 30 May 2013 14:50:00 -0000 >Number: 179109 >Category: usb >Synopsis: After detach USB Flash a keyboard does not work. >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-usb >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu May 30 14:50:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Alexander Panyushkin >Release: FreeBSD 10.0-CURRENT #0 r251129M >Organization: Home >Environment: FreeBSD scorpion.kiev.ua 10.0-CURRENT FreeBSD 10.0-CURRENT #0 r251129M: Thu May 30 15:58:30 EEST 2013 /usr/obj/usr/src/sys/Kernel amd64 >Description: There is a problem. After detach USB Flash drive a keyboard does not work. in /var/lod/messages May 30 17:05:37 scorpion kernel: ugen1.2: at usbus1 May 30 17:05:37 scorpion kernel: umass0: on usbus1 May 30 17:05:37 scorpion kernel: da0 at umass-sim0 bus 0 scbus7 target 0 lun 0 May 30 17:05:37 scorpion kernel: da0: Removable Direct Access SCSI-0 device May 30 17:05:37 scorpion kernel: da0: 40.000MB/s transfers May 30 17:05:37 scorpion kernel: da0: 7600MB (15564800 512 byte sectors: 255H 63S/T 968C) May 30 17:05:37 scorpion kernel: da0: quirks=0x2 May 30 17:05:42 scorpion kernel: ugen1.2: at usbus1 (disconnected) May 30 17:05:42 scorpion kernel: umass0: at uhub0, port 2, addr 2 (disconnected) May 30 17:05:42 scorpion kernel: (da0:umass-sim0:0:0:0): lost device - 0 outstanding, 2 refs In console and in Xorg keyboard not work. After attach and detach USB modem - keyboard is working. pciconf -lv none0@pci0:0:0:0: class=0x050000 card=0x83a41043 chip=0x03e210de rev=0xa1 hdr=0x00 vendor = 'NVIDIA Corporation' device = 'MCP61 Host Bridge' class = memory subclass = RAM isab0@pci0:0:1:0: class=0x060100 card=0x83a41043 chip=0x03e110de rev=0xa2 hdr=0x00 vendor = 'NVIDIA Corporation' device = 'MCP61 LPC Bridge' class = bridge subclass = PCI-ISA nfsmb0@pci0:0:1:1: class=0x0c0500 card=0x83a41043 chip=0x03eb10de rev=0xa2 hdr=0x00 vendor = 'NVIDIA Corporation' device = 'MCP61 SMBus' class = serial bus subclass = SMBus none1@pci0:0:1:2: class=0x050000 card=0x83a41043 chip=0x03f510de rev=0xa2 hdr=0x00 vendor = 'NVIDIA Corporation' device = 'MCP61 Memory Controller' class = memory subclass = RAM ohci0@pci0:0:2:0: class=0x0c0310 card=0x83a41043 chip=0x03f110de rev=0xa3 hdr=0x00 vendor = 'NVIDIA Corporation' device = 'MCP61 USB 1.1 Controller' class = serial bus subclass = USB ehci0@pci0:0:2:1: class=0x0c0320 card=0x83a41043 chip=0x03f210de rev=0xa3 hdr=0x00 vendor = 'NVIDIA Corporation' device = 'MCP61 USB 2.0 Controller' class = serial bus subclass = USB pcib1@pci0:0:4:0: class=0x060401 card=0x83a41043 chip=0x03f310de rev=0xa1 hdr=0x01 vendor = 'NVIDIA Corporation' device = 'MCP61 PCI bridge' class = bridge subclass = PCI-PCI hdac0@pci0:0:5:0: class=0x040300 card=0x84151043 chip=0x03f010de rev=0xa2 hdr=0x00 vendor = 'NVIDIA Corporation' device = 'MCP61 High Definition Audio' class = multimedia subclass = HDA atapci0@pci0:0:6:0: class=0x01018a card=0x83a41043 chip=0x03ec10de rev=0xa2 hdr=0x00 vendor = 'NVIDIA Corporation' device = 'MCP61 IDE' class = mass storage subclass = ATA nfe0@pci0:0:7:0: class=0x068000 card=0x83a41043 chip=0x03ef10de rev=0xa2 hdr=0x00 vendor = 'NVIDIA Corporation' device = 'MCP61 Ethernet' class = bridge atapci1@pci0:0:8:0: class=0x010185 card=0x83a41043 chip=0x03f610de rev=0xa2 hdr=0x00 vendor = 'NVIDIA Corporation' device = 'MCP61 SATA Controller' class = mass storage subclass = ATA atapci2@pci0:0:8:1: class=0x010185 card=0x83a41043 chip=0x03f610de rev=0xa2 hdr=0x00 vendor = 'NVIDIA Corporation' device = 'MCP61 SATA Controller' class = mass storage subclass = ATA pcib2@pci0:0:9:0: class=0x060400 card=0x000010de chip=0x03e810de rev=0xa2 hdr=0x01 vendor = 'NVIDIA Corporation' device = 'MCP61 PCI Express bridge' class = bridge subclass = PCI-PCI pcib3@pci0:0:11:0: class=0x060400 card=0x000010de chip=0x03e910de rev=0xa2 hdr=0x01 vendor = 'NVIDIA Corporation' device = 'MCP61 PCI Express bridge' class = bridge subclass = PCI-PCI pcib4@pci0:0:12:0: class=0x060400 card=0x000010de chip=0x03e910de rev=0xa2 hdr=0x01 vendor = 'NVIDIA Corporation' device = 'MCP61 PCI Express bridge' class = bridge subclass = PCI-PCI vgapci0@pci0:0:13:0: class=0x030000 card=0x83a41043 chip=0x03d610de rev=0xa2 hdr=0x00 vendor = 'NVIDIA Corporation' device = 'C61 [GeForce 7025 / nForce 630a]' class = display subclass = VGA hostb0@pci0:0:24:0: class=0x060000 card=0x00000000 chip=0x12001022 rev=0x00 hdr=0x00 vendor = 'Advanced Micro Devices [AMD]' device = 'Family 10h Processor HyperTransport Configuration' class = bridge subclass = HOST-PCI hostb1@pci0:0:24:1: class=0x060000 card=0x00000000 chip=0x12011022 rev=0x00 hdr=0x00 vendor = 'Advanced Micro Devices [AMD]' device = 'Family 10h Processor Address Map' class = bridge subclass = HOST-PCI hostb2@pci0:0:24:2: class=0x060000 card=0x00000000 chip=0x12021022 rev=0x00 hdr=0x00 vendor = 'Advanced Micro Devices [AMD]' device = 'Family 10h Processor DRAM Controller' class = bridge subclass = HOST-PCI hostb3@pci0:0:24:3: class=0x060000 card=0x00000000 chip=0x12031022 rev=0x00 hdr=0x00 vendor = 'Advanced Micro Devices [AMD]' device = 'Family 10h Processor Miscellaneous Control' class = bridge subclass = HOST-PCI hostb4@pci0:0:24:4: class=0x060000 card=0x00000000 chip=0x12041022 rev=0x00 hdr=0x00 vendor = 'Advanced Micro Devices [AMD]' device = 'Family 10h Processor Link Control' class = bridge subclass = HOST-PCI none2@pci0:1:6:0: class=0x048000 card=0x40710000 chip=0x71341131 rev=0x01 hdr=0x00 vendor = 'Philips Semiconductors' device = 'SAA7134/SAA7135HL Video Broadcast Decoder' class = multimedia 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 10.0-CURRENT #0 r251129M: Thu May 30 15:58:30 EEST 2013 root@scorpion.kiev.ua:/usr/obj/usr/src/sys/Kernel amd64 FreeBSD clang version 3.3 (trunk 178860) 20130405 CPU: AMD Phenom(tm) II X4 945 Processor (3212.24-MHz K8-class CPU) Origin = "AuthenticAMD" Id = 0x100f42 Family = 0x10 Model = 0x4 Stepping = 2 Features=0x178bfbff Features2=0x802009 AMD Features=0xee500800 AMD Features2=0x37ff TSC: P-state invariant real memory = 8589934592 (8192 MB) avail memory = 7720079360 (7362 MB) Event timer "LAPIC" quality 400 ACPI APIC Table: <070511 APIC1920> FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs FreeBSD/SMP: 1 package(s) x 4 core(s) cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 cpu2 (AP): APIC ID: 2 cpu3 (AP): APIC ID: 3 ioapic0 irqs 0-23 on motherboard kbd1 at kbdmux0 cryptosoft0: on motherboard acpi0: <070511 XSDT1920> on motherboard acpi0: Power Button (fixed) acpi0: reservation of fec00000, fed40000 (3) failed acpi0: reservation of 0, a0000 (3) failed acpi0: reservation of 100000, aff00000 (3) failed cpu0: on acpi0 cpu1: on acpi0 cpu2: on acpi0 cpu3: on acpi0 attimer0: port 0x40-0x43 irq 0 on acpi0 Timecounter "i8254" frequency 1193182 Hz quality 0 Event timer "i8254" frequency 1193182 Hz quality 100 atrtc0: port 0x70-0x71 irq 8 on acpi0 Event timer "RTC" frequency 32768 Hz quality 0 hpet0: iomem 0xfed00000-0xfed00fff on acpi0 Timecounter "HPET" frequency 25000000 Hz quality 950 Timecounter "ACPI-fast" frequency 3579545 Hz quality 900 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x508-0x50b on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pci0: at device 0.0 (no driver attached) isab0: port 0x900-0x9ff at device 1.0 on pci0 isa0: on isab0 nfsmb0: port 0xe00-0xe3f,0x600-0x63f,0x700-0x73f irq 20 at device 1.1 on pci0 smbus0: on nfsmb0 smb0: on smbus0 nfsmb1: on nfsmb0 smbus1: on nfsmb1 smb1: on smbus1 pci0: at device 1.2 (no driver attached) ohci0: mem 0xdfefb000-0xdfefbfff irq 21 at device 2.0 on pci0 usbus0 on ohci0 ehci0: mem 0xdfefac00-0xdfefacff irq 22 at device 2.1 on pci0 usbus1: EHCI version 1.0 usbus1 on ehci0 pcib1: at device 4.0 on pci0 pci1: on pcib1 pci1: at device 6.0 (no driver attached) hdac0: mem 0xdfef4000-0xdfef7fff irq 23 at device 5.0 on pci0 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xffa0-0xffaf at device 6.0 on pci0 ata0: at channel 0 on atapci0 ata1: at channel 1 on atapci0 nfe0: port 0xe480-0xe487 mem 0xdfef9000-0xdfef9fff irq 20 at device 7.0 on pci0 miibus0: on nfe0 rgephy0: PHY 1 on miibus0 rgephy0: none, 10baseT, 10baseT-FDX, 10baseT-FDX-flow, 100baseTX, 100baseTX-FDX, 100baseTX-FDX-flow, 1000baseT, 1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, 1000baseT-FDX-flow, 1000baseT-FDX-flow-master, auto, auto-flow nfe0: Ethernet address: bc:ae:c5:dc:36:a7 atapci1: port 0xe400-0xe407,0xe080-0xe083,0xe000-0xe007,0xdc00-0xdc03,0xd880-0xd88f mem 0xdfef8000-0xdfef8fff irq 21 at device 8.0 on pci0 ata2: at channel 0 on atapci1 ata3: at channel 1 on atapci1 atapci2: port 0xd800-0xd807,0xd480-0xd483,0xd400-0xd407,0xd080-0xd083,0xd000-0xd00f mem 0xdfeef000-0xdfeeffff irq 22 at device 8.1 on pci0 ata4: at channel 0 on atapci2 ata5: at channel 1 on atapci2 pcib2: at device 9.0 on pci0 pci2: on pcib2 pcib3: at device 11.0 on pci0 pci3: on pcib3 pcib4: at device 12.0 on pci0 pci4: on pcib4 vgapci0: mem 0xde000000-0xdeffffff,0xc0000000-0xcfffffff,0xdd000000-0xddffffff irq 23 at device 13.0 on pci0 nvidia0: on vgapci0 vgapci0: child nvidia0 requested pci_enable_io vgapci0: child nvidia0 requested pci_enable_io amdtemp0: on hostb3 acpi_button0: on acpi0 ppc0: port 0x378-0x37f irq 7 on acpi0 ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode ppbus0: on ppc0 ppi0: on ppbus0 atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 on acpi0 sc0: on isa0 sc0: VGA <11 virtual consoles, flags=0x300> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 ctl: CAM Target Layer loaded hwpstate0: on cpu0 fuse-freebsd: version 0.4.4, FUSE ABI 7.8 ZFS filesystem version: 5 ZFS storage pool version: features support (5000) Timecounters tick every 1.000 msec vboxdrv: fAsync=0 offMin=0x261 offMax=0x3ad hdacc0: at cad 0 on hdac0 hdaa0: at nid 1 on hdacc0 pcm0: at nid 28,29 and 26,30,27 on hdaa0 pcm1: at nid 32 on hdaa0 usbus0: 12Mbps Full Speed USB v1.0 usbus1: 480Mbps High Speed USB v2.0 ugen1.1: at usbus1 uhub0: on usbus1 ugen0.1: at usbus0 uhub1: on usbus0 ada0 at ata0 bus 0 scbus0 target 1 lun 0 ada0: ATA-7 device ada0: 100.000MB/s transfers (UDMA5, PIO 8192bytes) ada0: 238475MB (488397168 512 byte sectors: 16H 63S/T 16383C) ada0: Previously was known as ad1 ada1 at ata2 bus 0 scbus2 target 0 lun 0 ada1: ATA-7 SATA 2.x device ada1: 300.000MB/s transfers (SATA 2.x, UDMA5, PIO 8192bytes) ada1: 190782MB (390721968 512 byte sectors: 16H 63S/T 16383C) ada1: Previously was known as ad4 ada2 at ata3 bus 0 scbus3 target 0 lun 0 ada2: ATA-7 SATA 2.x device ada2: 300.000MB/s transfers (SATA 2.x, UDMA5, PIO 8192bytes) ada2: 238474MB (488395055 512 byte sectors: 16H 63S/T 16383C) ada2: Previously was known as ad6 ada3 at ata4 bus 0 scbus4 target 0 lun 0 ada3: ATA-8 SATA 2.x device ada3: 300.000MB/s transfers (SATA 2.x, UDMA5, PIO 8192bytes) ada3: 953869MB (1953525168 512 byte sectors: 16H 63S/T 16383C) ada3: Previously was known as ad8 ada4 at ata5 bus 0 scbus5 target 0 lun 0 ada4: ATA-7 SATA 2.x device ada4: 300.000MB/s transfers (SATA 2.x, UDMA5, PIO 8192bytes) ada4: 476940MB (976773168 512 byte sectors: 16H 63S/T 16383C) ada4: Previously was known as ad10 SMP: AP CPU #1 Launched! SMP: AP CPU #2 Launched! SMP: AP CPU #3 Launched! Timecounter "TSC-low" frequency 1606120771 Hz quality 800 cd0 at ata0 bus 0 scbus0 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 - tray closed uhub1: 10 ports with 10 removable, self powered Root mount waiting for: usbus1 Root mount waiting for: usbus1 Root mount waiting for: usbus1 Root mount waiting for: usbus1 uhub0: 10 ports with 10 removable, self powered Root mount waiting for: usbus1 Trying to mount root from zfs:zroot []... ugen0.2: at usbus0 ums0: on usbus0 ums0: 3 buttons and [XYZ] coordinates ID=0 ugen0.3: at usbus0 (disconnected) GEOM_ELI: Device gpt/swap0.eli created. GEOM_ELI: Encryption: AES-XTS 256 GEOM_ELI: Crypto: software tun0: link state changed to UP >How-To-Repeat: Attach USB Flash drive and detach. >Fix: >Release-Note: >Audit-Trail: >Unformatted: