Re: USB no proper work

From: Alexander Panyushkin <vsityz_at_gmail.com>
Date: Fri, 16 Aug 2013 23:38:57 +0300
16.08.2013 23:14, Hans Petter Selasky пишет:
> On 08/16/13 22:05, Alexander Panyushkin wrote:
>> uname -a
>> FreeBSD scorpion.kiev.ua 10.0-CURRENT FreeBSD 10.0-CURRENT #0 r254417M:
>> Fri Aug 16 21:53:47 EEST 2013
>> root_at_scorpion.kiev.ua:/usr/obj/usr/src/sys/Kernel  amd64
>>
>> After first attach USB Flash drive - is good mount. After detach and
>> attach again, USB Flash drive not detected any more.
>> If enter "shutdown -r now" system not  be rebooting.
>>
>> The flash drive silicon-Power16G PMAP does not work at all.
>>
>> In build FreeBSD at Jul 28  2013  it's work fine.
>
> Hi,
>
> Can you show dmesg?
>

Aug 16 23:23:43 scorpion kernel: Copyright (c) 1992-2013 The FreeBSD 
Project.
Aug 16 23:23:43 scorpion kernel: Copyright (c) 1979, 1980, 1983, 1986, 
1988, 1989, 1991, 1992, 1993, 1994
Aug 16 23:23:43 scorpion kernel: The Regents of the University of 
California. All rights reserved.
Aug 16 23:23:43 scorpion kernel: FreeBSD is a registered trademark of 
The FreeBSD Foundation.
Aug 16 23:23:43 scorpion kernel: FreeBSD 10.0-CURRENT #0 r254417M: Fri 
Aug 16 21:53:47 EEST 2013
Aug 16 23:23:43 scorpion kernel: 
root_at_scorpion.kiev.ua:/usr/obj/usr/src/sys/Kernel amd64
Aug 16 23:23:43 scorpion kernel: FreeBSD clang version 3.3 
(tags/RELEASE_33/final 183502) 20130610
Aug 16 23:23:43 scorpion kernel: CPU: AMD Phenom(tm) II X4 945 Processor 
(3212.24-MHz K8-class CPU)
Aug 16 23:23:43 scorpion kernel: Origin = "AuthenticAMD"  Id = 0x100f42  
Family = 0x10  Model = 0x4  Stepping = 2
Aug 16 23:23:43 scorpion kernel: 
Features=0x178bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT>
Aug 16 23:23:43 scorpion kernel: Features2=0x802009<SSE3,MON,CX16,POPCNT>
Aug 16 23:23:43 scorpion kernel: AMD 
Features=0xee500800<SYSCALL,NX,MMX+,FFXSR,Page1GB,RDTSCP,LM,3DNow!+,3DNow!>
Aug 16 23:23:43 scorpion kernel: AMD 
Features2=0x37ff<LAHF,CMP,SVM,ExtAPIC,CR8,ABM,SSE4A,MAS,Prefetch,OSVW,IBS,SKINIT,WDT>
Aug 16 23:23:43 scorpion kernel: TSC: P-state invariant
Aug 16 23:23:43 scorpion kernel: real memory  = 8589934592 (8192 MB)
Aug 16 23:23:43 scorpion kernel: avail memory = 8019021824 (7647 MB)
Aug 16 23:23:43 scorpion kernel: Event timer "LAPIC" quality 400
Aug 16 23:23:43 scorpion kernel: ACPI APIC Table: <070511 APIC1920>
Aug 16 23:23:43 scorpion kernel: FreeBSD/SMP: Multiprocessor System 
Detected: 4 CPUs
Aug 16 23:23:43 scorpion kernel: FreeBSD/SMP: 1 package(s) x 4 core(s)
Aug 16 23:23:43 scorpion kernel: cpu0 (BSP): APIC ID:  0
Aug 16 23:23:43 scorpion kernel: cpu1 (AP): APIC ID:  1
Aug 16 23:23:43 scorpion kernel: cpu2 (AP): APIC ID:  2
Aug 16 23:23:43 scorpion kernel: cpu3 (AP): APIC ID:  3
Aug 16 23:23:43 scorpion kernel: ioapic0 <Version 1.1> irqs 0-23 on 
motherboard
Aug 16 23:23:43 scorpion kernel: random: <Software, Yarrow> initialized
Aug 16 23:23:43 scorpion kernel: ctl: CAM Target Layer loaded
Aug 16 23:23:43 scorpion kernel: cryptosoft0: <software crypto> on 
motherboard
Aug 16 23:23:43 scorpion kernel: acpi0: <070511 XSDT1920> on motherboard
Aug 16 23:23:43 scorpion kernel: acpi0: Power Button (fixed)
Aug 16 23:23:43 scorpion kernel: acpi0: reservation of fec00000, 
fed40000 (3) failed
Aug 16 23:23:43 scorpion kernel: acpi0: reservation of 0, a0000 (3) failed
Aug 16 23:23:43 scorpion kernel: acpi0: reservation of 100000, aff00000 
(3) failed
Aug 16 23:23:43 scorpion kernel: cpu0: <ACPI CPU> on acpi0
Aug 16 23:23:43 scorpion kernel: cpu1: <ACPI CPU> on acpi0
Aug 16 23:23:43 scorpion kernel: cpu2: <ACPI CPU> on acpi0
Aug 16 23:23:43 scorpion kernel: cpu3: <ACPI CPU> on acpi0
Aug 16 23:23:43 scorpion kernel: attimer0: <AT timer> port 0x40-0x43 irq 
0 on acpi0
Aug 16 23:23:43 scorpion kernel: Timecounter "i8254" frequency 1193182 
Hz quality 0
Aug 16 23:23:43 scorpion kernel: Event timer "i8254" frequency 1193182 
Hz quality 100
Aug 16 23:23:43 scorpion kernel: atrtc0: <AT realtime clock> port 
0x70-0x71 irq 8 on acpi0
Aug 16 23:23:43 scorpion kernel: Event timer "RTC" frequency 32768 Hz 
quality 0
Aug 16 23:23:43 scorpion kernel: hpet0: <High Precision Event Timer> 
iomem 0xfed00000-0xfed00fff on acpi0
Aug 16 23:23:43 scorpion kernel: Timecounter "HPET" frequency 25000000 
Hz quality 950
Aug 16 23:23:43 scorpion kernel: Timecounter "ACPI-fast" frequency 
3579545 Hz quality 900
Aug 16 23:23:43 scorpion kernel: acpi_timer0: <24-bit timer at 
3.579545MHz> port 0x508-0x50b on acpi0
Aug 16 23:23:43 scorpion kernel: pcib0: <ACPI Host-PCI bridge> port 
0xcf8-0xcff on acpi0
Aug 16 23:23:43 scorpion kernel: pci0: <ACPI PCI bus> on pcib0
Aug 16 23:23:43 scorpion kernel: pci0: <memory, RAM> at device 0.0 (no 
driver attached)
Aug 16 23:23:43 scorpion kernel: isab0: <PCI-ISA bridge> port 
0x900-0x9ff at device 1.0 on pci0
Aug 16 23:23:43 scorpion kernel: isa0: <ISA bus> on isab0
Aug 16 23:23:43 scorpion kernel: nfsmb0: <nForce2/3/4 MCP SMBus 
Controller> port 0xe00-0xe3f,0x600-0x63f,0x700-0x73f irq 20 at device 
1.1 on pci0
Aug 16 23:23:43 scorpion kernel: smbus0: <System Management Bus> on nfsmb0
Aug 16 23:23:43 scorpion kernel: smb0: <SMBus generic I/O> on smbus0
Aug 16 23:23:43 scorpion kernel: nfsmb1: <nForce2/3/4 MCP SMBus 
Controller> on nfsmb0
Aug 16 23:23:43 scorpion kernel: smbus1: <System Management Bus> on nfsmb1
Aug 16 23:23:43 scorpion kernel: smb1: <SMBus generic I/O> on smbus1
Aug 16 23:23:43 scorpion kernel: pci0: <memory, RAM> at device 1.2 (no 
driver attached)
Aug 16 23:23:43 scorpion kernel: ohci0: <nVidia nForce MCP61 USB 
Controller> mem 0xdfefb000-0xdfefbfff irq 21 at device 2.0 on pci0
Aug 16 23:23:43 scorpion kernel: usbus0 on ohci0
Aug 16 23:23:43 scorpion kernel: ehci0: <NVIDIA nForce MCP61 USB 2.0 
controller> mem 0xdfefac00-0xdfefacff irq 22 at device 2.1 on pci0
Aug 16 23:23:43 scorpion kernel: usbus1: EHCI version 1.0
Aug 16 23:23:43 scorpion kernel: usbus1 on ehci0
Aug 16 23:23:43 scorpion kernel: pcib1: <ACPI PCI-PCI bridge> at device 
4.0 on pci0
Aug 16 23:23:43 scorpion kernel: pci1: <ACPI PCI bus> on pcib1
Aug 16 23:23:43 scorpion kernel: pci1: <multimedia> at device 6.0 (no 
driver attached)
Aug 16 23:23:43 scorpion kernel: hdac0: <NVIDIA MCP61 HDA Controller> 
mem 0xdfef4000-0xdfef7fff irq 23 at device 5.0 on pci0
Aug 16 23:23:43 scorpion kernel: atapci0: <nVidia nForce MCP61 UDMA133 
controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xffa0-0xffaf at 
device 6.0 on pci0
Aug 16 23:23:43 scorpion kernel: ata0: <ATA channel> at channel 0 on atapci0
Aug 16 23:23:43 scorpion kernel: ata1: <ATA channel> at channel 1 on atapci0
Aug 16 23:23:43 scorpion kernel: nfe0: <NVIDIA nForce MCP61 Networking 
Adapter> port 0xe480-0xe487 mem 0xdfef9000-0xdfef9fff irq 20 at device 
7.0 on pci0
Aug 16 23:23:43 scorpion kernel: miibus0: <MII bus> on nfe0
Aug 16 23:23:43 scorpion kernel: rgephy0: <RTL8169S/8110S/8211 
1000BASE-T media interface> PHY 1 on miibus0
Aug 16 23:23:43 scorpion kernel: 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
Aug 16 23:23:43 scorpion kernel: nfe0: Ethernet address: bc:ae:c5:dc:36:a7
Aug 16 23:23:43 scorpion kernel: atapci1: <nVidia nForce MCP61 SATA300 
controller> port 
0xe400-0xe407,0xe080-0xe083,0xe000-0xe007,0xdc00-0xdc03,0xd880-0xd88f 
mem 0xdfef8000-0xdfef8fff irq 21 at device 8.0 on pci0
Aug 16 23:23:43 scorpion kernel: ata2: <ATA channel> at channel 0 on atapci1
Aug 16 23:23:43 scorpion kernel: ata3: <ATA channel> at channel 1 on atapci1
Aug 16 23:23:43 scorpion kernel: atapci2: <nVidia nForce MCP61 SATA300 
controller> port 
0xd800-0xd807,0xd480-0xd483,0xd400-0xd407,0xd080-0xd083,0xd000-0xd00f 
mem 0xdfeef000-0xdfeeffff irq 22 at device 8.1 on pci0
Aug 16 23:23:43 scorpion kernel: ata4: <ATA channel> at channel 0 on atapci2
Aug 16 23:23:43 scorpion kernel: ata5: <ATA channel> at channel 1 on atapci2
Aug 16 23:23:43 scorpion kernel: pcib2: <ACPI PCI-PCI bridge> at device 
9.0 on pci0
Aug 16 23:23:43 scorpion kernel: pci2: <ACPI PCI bus> on pcib2
Aug 16 23:23:43 scorpion kernel: pcib3: <ACPI PCI-PCI bridge> at device 
11.0 on pci0
Aug 16 23:23:43 scorpion kernel: pci3: <ACPI PCI bus> on pcib3
Aug 16 23:23:43 scorpion kernel: pcib4: <ACPI PCI-PCI bridge> at device 
12.0 on pci0
Aug 16 23:23:43 scorpion kernel: pci4: <ACPI PCI bus> on pcib4
Aug 16 23:23:43 scorpion kernel: vgapci0: <VGA-compatible display> mem 
0xde000000-0xdeffffff,0xc0000000-0xcfffffff,0xdd000000-0xddffffff irq 23 
at device 13.0 on pci0
Aug 16 23:23:43 scorpion kernel: nvidia0: <GeForce 7025 / nForce 630a> 
on vgapci0
Aug 16 23:23:43 scorpion kernel: vgapci0: child nvidia0 requested 
pci_enable_io
Aug 16 23:23:43 scorpion kernel: vgapci0: child nvidia0 requested 
pci_enable_io
Aug 16 23:23:43 scorpion kernel: amdtemp0: <AMD CPU On-Die Thermal 
Sensors> on hostb3
Aug 16 23:23:43 scorpion kernel: acpi_button0: <Power Button> on acpi0
Aug 16 23:23:43 scorpion kernel: ppc0: <Parallel port> port 0x378-0x37f 
irq 7 on acpi0
Aug 16 23:23:43 scorpion kernel: ppc0: Generic chipset (NIBBLE-only) in 
COMPATIBLE mode
Aug 16 23:23:43 scorpion kernel: ppbus0: <Parallel port bus> on ppc0
Aug 16 23:23:43 scorpion kernel: ppi0: <Parallel I/O> on ppbus0
Aug 16 23:23:43 scorpion kernel: atkbdc0: <Keyboard controller (i8042)> 
port 0x60,0x64 irq 1 on acpi0
Aug 16 23:23:43 scorpion kernel: atkbd0: <AT Keyboard> irq 1 on atkbdc0
Aug 16 23:23:43 scorpion kernel: kbd0 at atkbd0
Aug 16 23:23:43 scorpion kernel: atkbd0: [GIANT-LOCKED]
Aug 16 23:23:43 scorpion kernel: uart0: <16550 or compatible> port 
0x3f8-0x3ff irq 4 on acpi0
Aug 16 23:23:43 scorpion kernel: sc0: <System console> on isa0
Aug 16 23:23:43 scorpion kernel: sc0: VGA <11 virtual consoles, flags=0x300>
Aug 16 23:23:43 scorpion kernel: vga0: <Generic ISA VGA> at port 
0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Aug 16 23:23:43 scorpion kernel: hwpstate0: <Cool`n'Quiet 2.0> on cpu0
Aug 16 23:23:43 scorpion kernel: fuse-freebsd: version 0.4.4, FUSE ABI 7.8
Aug 16 23:23:43 scorpion kernel: ZFS filesystem version: 5
Aug 16 23:23:43 scorpion kernel: ZFS storage pool version: features 
support (5000)
Aug 16 23:23:43 scorpion kernel: Timecounters tick every 1.000 msec
Aug 16 23:23:43 scorpion kernel: vboxdrv: fAsync=0 offMin=0x241 offMax=0x495
Aug 16 23:23:43 scorpion kernel: hdacc0: <VIA VT1708S_0 HDA CODEC> at 
cad 0 on hdac0
Aug 16 23:23:43 scorpion kernel: hdaa0: <VIA VT1708S_0 Audio Function 
Group> at nid 1 on hdacc0
Aug 16 23:23:43 scorpion kernel: pcm0: <VIA VT1708S_0 (Analog 
2.0+HP/2.0)> at nid 28,29 and 26,30,27 on hdaa0
Aug 16 23:23:43 scorpion kernel: pcm1: <VIA VT1708S_0 (Digital)> at nid 
32 on hdaa0
Aug 16 23:23:43 scorpion kernel: usbus0: 12Mbps Full Speed USB v1.0
Aug 16 23:23:43 scorpion kernel: usbus1: 480Mbps High Speed USB v2.0
Aug 16 23:23:43 scorpion kernel: ugen1.1: <nVidia> at usbus1
Aug 16 23:23:43 scorpion kernel: uhub0: <nVidia EHCI root HUB, class 
9/0, rev 2.00/1.00, addr 1> on usbus1
Aug 16 23:23:43 scorpion kernel: ugen0.1: <nVidia> at usbus0
Aug 16 23:23:43 scorpion kernel: uhub1: <nVidia OHCI root HUB, class 
9/0, rev 1.00/1.00, addr 1> on usbus0
Aug 16 23:23:43 scorpion kernel: ada0 at ata0 bus 0 scbus0 target 1 lun 0
Aug 16 23:23:43 scorpion kernel: ada0: <SAMSUNG SP2514N VF100-50> ATA-7 
device
Aug 16 23:23:43 scorpion kernel: ada0: 100.000MB/s transfers (UDMA5, PIO 
8192bytes)
Aug 16 23:23:43 scorpion kernel: ada0: 238475MB (488397168 512 byte 
sectors: 16H 63S/T 16383C)
Aug 16 23:23:43 scorpion kernel: ada0: Previously was known as ad1
Aug 16 23:23:43 scorpion kernel: ada1 at ata2 bus 0 scbus2 target 0 lun 0
Aug 16 23:23:43 scorpion kernel: ada1: <WDC WD2000JS-22NCB1 10.02E02> 
ATA-7 SATA 2.x device
Aug 16 23:23:43 scorpion kernel: ada1: 300.000MB/s transfers (SATA 2.x, 
UDMA5, PIO 8192bytes)
Aug 16 23:23:43 scorpion kernel: ada1: 190782MB (390721968 512 byte 
sectors: 16H 63S/T 16383C)
Aug 16 23:23:43 scorpion kernel: ada1: Previously was known as ad4
Aug 16 23:23:43 scorpion kernel: ada2 at ata3 bus 0 scbus3 target 0 lun 0
Aug 16 23:23:43 scorpion kernel: ada2: <ST3250824AS 3.AAE> ATA-7 SATA 
2.x device
Aug 16 23:23:43 scorpion kernel: ada2: 300.000MB/s transfers (SATA 2.x, 
UDMA5, PIO 8192bytes)
Aug 16 23:23:43 scorpion kernel: ada2: 238474MB (488395055 512 byte 
sectors: 16H 63S/T 16383C)
Aug 16 23:23:43 scorpion kernel: ada2: Previously was known as ad6
Aug 16 23:23:43 scorpion kernel: ada3 at ata4 bus 0 scbus4 target 0 lun 0
Aug 16 23:23:43 scorpion kernel: ada3: <ST31000340NS SN06> ATA-8 SATA 
2.x device
Aug 16 23:23:43 scorpion kernel: ada3: 300.000MB/s transfers (SATA 2.x, 
UDMA5, PIO 8192bytes)
Aug 16 23:23:43 scorpion kernel: ada3: 953869MB (1953525168 512 byte 
sectors: 16H 63S/T 16383C)
Aug 16 23:23:43 scorpion kernel: ada3: Previously was known as ad8
Aug 16 23:23:43 scorpion kernel: ada4 at ata5 bus 0 scbus5 target 0 lun 0
Aug 16 23:23:43 scorpion kernel: ada4: <WDC WD5000AAKS-22TMA0 12.01C01> 
ATA-7 SATA 2.x device
Aug 16 23:23:43 scorpion kernel: ada4: 300.000MB/s transfers (SATA 2.x, 
UDMA5, PIO 8192bytes)
Aug 16 23:23:43 scorpion kernel: ada4: 476940MB (976773168 512 byte 
sectors: 16H 63S/T 16383C)
Aug 16 23:23:43 scorpion kernel: ada4: Previously was known as ad10
Aug 16 23:23:43 scorpion kernel: SMP: AP CPU #1 Launched!
Aug 16 23:23:43 scorpion kernel: SMP: AP CPU #2 Launched!
Aug 16 23:23:43 scorpion kernel: SMP: AP CPU #3 Launched!
Aug 16 23:23:43 scorpion kernel: Timecounter "TSC-low" frequency 
1606121827 Hz quality 800
Aug 16 23:23:43 scorpion kernel: cd0 at ata0 bus 0 scbus0 target 0 lun 0
Aug 16 23:23:43 scorpion kernel: cd0: <ASUS DRW-1612BL 1.10> Removable 
CD-ROM SCSI-0 device
Aug 16 23:23:43 scorpion kernel: cd0: 66.700MB/s transfers (UDMA4, ATAPI 
12bytes, PIO 65534bytes)
Aug 16 23:23:43 scorpion kernel: cd0: Attempt to query device size 
failed: NOT READY, Medium not present - tray closed
Aug 16 23:23:43 scorpion kernel: uhub1: 10 ports with 10 removable, self 
powered
Aug 16 23:23:43 scorpion kernel: Root mount waiting for: usbus1
Aug 16 23:23:43 scorpion last message repeated 3 times
Aug 16 23:23:43 scorpion kernel: uhub0: 10 ports with 10 removable, self 
powered
Aug 16 23:23:43 scorpion kernel: Trying to mount root from zfs:zroot []...
Aug 16 23:23:43 scorpion kernel: ugen0.2: <Logitech> at usbus0
Aug 16 23:23:43 scorpion kernel: ums0: <Logitech USB Optical Mouse, 
class 0/0, rev 2.00/43.01, addr 2> on usbus0
Aug 16 23:23:43 scorpion kernel: ums0: 3 buttons and [XYZ] coordinates ID=0
Aug 16 23:23:43 scorpion kernel: GEOM_ELI: Device gpt/swap0.eli created.
Aug 16 23:23:43 scorpion kernel: GEOM_ELI: Encryption: AES-XTS 128
Aug 16 23:23:43 scorpion kernel: GEOM_ELI:     Crypto: software
Aug 16 23:23:43 scorpion kernel: .
Aug 16 23:23:45 scorpion dbus[1254]: [system] Activating service 
name='org.freedesktop.ConsoleKit' (using servicehelper)
Aug 16 23:23:45 scorpion dbus[1254]: [system] Activating service 
name='org.freedesktop.PolicyKit1' (using servicehelper)
Aug 16 23:23:45 scorpion dbus[1254]: [system] Successfully activated 
service 'org.freedesktop.PolicyKit1'
Aug 16 23:23:45 scorpion dbus[1254]: [system] Successfully activated 
service 'org.freedesktop.ConsoleKit'
Aug 16 23:23:45 scorpion console-kit-daemon[1275]: WARNING: kvm_getenvv 
failed:
Aug 16 23:23:46 scorpion kernel: keyrate scrnmap font8x16 blanktime 
allscreens.

========This attach==========
Aug 16 23:23:58 scorpion kernel: ugen1.2: <Generic> at usbus1
Aug 16 23:23:58 scorpion kernel: umass0: <Generic USB2.0-CRW, class 0/0, 
rev 2.00/19.81, addr 2> on usbus1
Aug 16 23:23:58 scorpion kernel: da0 at umass-sim0 bus 0 scbus7 target 0 
lun 0
Aug 16 23:23:58 scorpion kernel: da0: <Generic- SD/MMC 1.00> Removable 
Direct Access SCSI-0 device
Aug 16 23:23:58 scorpion kernel: da0: 40.000MB/s transfers
Aug 16 23:23:58 scorpion kernel: da0: 7580MB (15523840 512 byte sectors: 
255H 63S/T 966C)
Aug 16 23:23:58 scorpion kernel: da0: quirks=0x2<NO_6_BYTE>

========This deatach==========
Aug 16 23:24:05 scorpion kernel: ugen1.2: <Generic> at usbus1 (disconnected)
Aug 16 23:24:05 scorpion kernel: umass0: at uhub0, port 4, addr 2 
(disconnected)
Aug 16 23:24:05 scorpion kernel: (da0:umass-sim0:0:0:0): lost device - 0 
outstanding, 2 refs

========This attach==========
nothing

========This reboot==========
Aug 16 23:26:40 scorpion shutdown: reboot by root:
Aug 16 23:26:40 scorpion kernel: GEOM_ELI: Detached gpt/swap0.eli on 
last close.
Aug 16 23:26:40 scorpion syslogd: exiting on signal 15

not rebooting
press esset

> Did you try 10-current as of today?
>

Yes
Received on Fri Aug 16 2013 - 18:39:06 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:40 UTC