NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Some USB-Drive is not working with NetBSD. How to address the right developer?



> Hi Tom,
> can you please plug the USB stick in and submit the output of #dmesg
> here on the mailing list. I will put them together and send them to the
> kernel maintainers. Mine looks like this:

> *** good USB stick/Kingston Data Traveler 1GB ***
> umass0 at uhub3 port 3 configuration 1 interface 0
> umass0: Kingston DataTraveler 2.00000000625, rev 2.00/2.00, addr 2
> umass0: using SCSI over Bulk-Only
> scsibus0 at umass0: 2 targets, 1 lun per target
> sd0 at scsibus0 target 0 lun 0: <Kingston, DataTraveler 2.0, 1.00> disk 
> removable
> sd0: fabricating a geometry
> sd0: 953 MB, 953 cyl, 64 head, 32 sec, 512 bytes/sect x 1952256 sectors
> sd0: fabricating a geometry

> *** bad USB stick/Kingston Micro SD reader ***
> umass0 at uhub3 port 3 configuration 1 interface 0
> umass0: Silicon Motion, Inc. Generic USB2.0 card, rev 2.00/1.00, addr 2
> umass0: using SCSI over Bulk-Only
> scsibus0 at umass0: 2 targets, 1 lun per target
> sd0 at scsibus0 target 0 lun 0: <Generic, USB  SD Reader, 1.00> disk removable
> sd0(umass0:0:0:0): generic HBA error
> sd0: drive offline
> sd0(umass0:0:0:0): generic HBA error
> sd0: unable to open device, error = 5

> I am sure the guys can fix this, they just cannot try out all the USB
> sticks what exist. I suspect some chip inside them, probably the 'Silicon
> Motion' type what you can see in the dmesg-output.

> Thanks!
> herb langhans

I haven't been using NetBSD much lately, will have to reboot round-trip to get 
NetBSD dmesg.

Now I'm in NetBSD 5.1_STABLE i386 from last summer but new enough to be able to 
access Linux ext2fs partitions.

/var/run/dmesg.boot is


Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007, 2008, 2009, 2010
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 5.1_STABLE (ATHLON51 with vesafb & r128drm) #2: Sun May 22 01:38:29 UTC 
2011
        root@amelia:/usr/src/sys/arch/i386/compile/ATHLON51
total memory = 215 MB
avail memory = 205 MB
timecounter: Timecounters tick every 10.000 msec
timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
                                  (00000000)
PCI BIOS rev. 2.1 found at 0xfb600
pcibios: config mechanism [1][x], special cycles [1][x], last bus 1
PCI IRQ Routing Table rev. 1.0 found at 0xfddb0, size 192 bytes (10 entries)
PCI Interrupt Router at 000:07:0 (VIA Technologies VT82C596A PCI-ISA Bridge 
compatible)
PCI Exclusive IRQs: 5 10 11 12
------------------------------------------
  device vendor product pin PIRQ IRQ stage
------------------------------------------
000:07:2 0x1106 0x3038   D  0x04   5  0    WARNING: preserving irq 11
000:07:3 0x1106 0x3038   D  0x04   5  0    WARNING: preserving irq 11
000:09:0 0x13f6 0x0111   A  0x01   5  0    already assigned
000:10:0 0x1186 0x1300   A  0x02  11  0    WARNING: preserving irq 10
000:14:0 0x1274 0x5880   A  0x02  11  0    WARNING: preserving irq 10
000:15:0 0x12b9 0x1008   A  0x04   5  0    WARNING: preserving irq 11
000:16:0 0x105a 0x0d30   A  0x04   5  0    WARNING: preserving irq 11
001:05:0 0x1002 0x5046   A  0x00  10  0    WARNING: preserving irq 12
------------------------------------------
mainbus0 (root)
cpu0 at mainbus0: AMD 686-class, 1400MHz, id 0x644
vesabios0 at mainbus0: version 2.0, ATI Technologies Inc. R128
vesafb0 at vesabios0: VESA frame buffer
vesafb0: fb 640x480x8 @0xd4000000
vesafb0: 300 Kb memory reported, 1 screens possible
vesafb0: one screen, so hardware scrolling not possible
vesafb0: VBE/PM 1.0
wsdisplay0 at vesafb0 kbdmux 1: console (fb, vt100 emulation)
wsmux1: connecting to wsdisplay0
text at vesabios0 not configured
acpi0 at mainbus0: Intel ACPICA 20080321
acpi0: X/RSDT: OemId <GBT   ,AWRDACPI,42302e31>, AslId <AWRD,00000000>
LNKB: ACPI: Found matching pin for 0.9.INTA at func 0: 5
LNKC: ACPI: Found matching pin for 0.10.INTA at func 0: 10
LNKD: ACPI: Found matching pin for 0.15.INTA at func 0: 11
LNKD: ACPI: Found matching pin for 0.16.INTA at func 0: 11
LNKC: ACPI: Found matching pin for 0.14.INTA at func 0: 10
LNKD: ACPI: Found matching pin for 0.7.INTD at func 2: 11
acpi0: SCI interrupting at int 9
acpi0: fixed-feature power button present
timecounter: Timecounter "ACPI-Fast" frequency 3579545 Hz quality 1000
ACPI-Fast 24-bit timer
acpibut0 at acpi0 (PWRB, PNP0C0C): ACPI Power Button
acpibut1 at acpi0 (SLPB, PNP0C0E): ACPI Sleep Button
attimer1 at acpi0 (TMR, PNP0100): io 0x40-0x43 irq 0
pcppi1 at acpi0 (SPKR, PNP0800): io 0x61
midi0 at pcppi1: PC speaker (CPU-intensive output)
spkr0 at pcppi1
sysbeep0 at pcppi1
npx1 at acpi0 (COPR, PNP0C04): io 0xf0-0xff irq 13
npx1: reported by CPUID; using exception 16
fdc1 at acpi0 (FDC0, PNP0700): io 0x3f0-0x3f5,0x3f7 irq 6 drq 2
com3 at acpi0 (UAR1, PNP0501-1): io 0x3f8-0x3ff irq 4
com3: ns16550a, working fifo
com4 at acpi0 (UAR2, PNP0501-2): io 0x2f8-0x2ff irq 3
com4: ns16550a, working fifo
lpt1 at acpi0 (LPT1, PNP0400): io 0x378-0x37f irq 7
pckbc1 at acpi0 (PS2K, PNP0303) (kbd port): io 0x60,0x64 irq 1
apm1 at acpi0: Power Management spec V1.2
attimer1: attached to pcppi1
pckbd0 at pckbc1 (kbd slot)
pckbc1: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
pchb0 at pci0 dev 0 function 0
pchb0: Advanced Micro Devices AMD761 System Controller (rev. 0x13)
agp0 at pchb0: aperture at 0xd0000000, size 0x4000000
ppb0 at pci0 dev 1 function 0: Advanced Micro Devices AMD761 PCI-PCI Bridge 
(rev. 0x00)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled
ATI Technologies Rage Fury MAXX AGP 4x (TMDS) (VGA display) at pci1 dev 5 
function 0 not configured
pcib0 at pci0 dev 7 function 0
pcib0: VIA Technologies VT82C686A PCI-ISA Bridge (rev. 0x40)
viaide0 at pci0 dev 7 function 1
viaide0: VIA Technologies VT82C686A (Apollo KX133) ATA100 controller
viaide0: bus-master DMA support present
viaide0: primary channel configured to compatibility mode
viaide0: primary channel interrupting at irq 14
atabus0 at viaide0 channel 0
viaide0: secondary channel configured to compatibility mode
viaide0: secondary channel interrupting at irq 15
atabus1 at viaide0 channel 1
uhci0 at pci0 dev 7 function 2: VIA Technologies VT83C572 USB Controller (rev. 
0x16)
uhci0: interrupting at irq 11
usb0 at uhci0: USB revision 1.0
uhci1 at pci0 dev 7 function 3: VIA Technologies VT83C572 USB Controller (rev. 
0x16)
uhci1: interrupting at irq 11
usb1 at uhci1: USB revision 1.0
viaenv0 at pci0 dev 7 function 4: VIA Technologies VT82C686A Hardware Monitor
timecounter: Timecounter "viaenv0" frequency 3579545 Hz quality 1000
viaenv0: 24-bit timer
cmpci0 at pci0 dev 9 function 0: C-Media Electronics CMI8738/C3DX PCI Audio 
Device (rev. 0x10)
cmpci0: interrupting at irq 5
audio0 at cmpci0: full duplex, playback, capture, mmap, independent
opl at cmpci0 not configured
mpu at cmpci0 not configured
rtk0 at pci0 dev 10 function 0: D-Link Systems DFE 530TX+ (rev. 0x10)
rtk0: interrupting at irq 10
rtk0: Ethernet address 00:11:95:1d:b5:70
rlphy0 at rtk0 phy 7: Realtek internal PHY
rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
Ensoniq CT5880 (audio multimedia, revision 0x03) at pci0 dev 14 function 0 not 
configured
puc0 at pci0 dev 15 function 0: US Robotics (3Com) 3CP5609 PCI 16550 Modem (com)
com5 at puc0 port 0: interrupting at irq 11
com5: ns16550a, working fifo
pdcide0 at pci0 dev 16 function 0
pdcide0: Promise Ultra100/ATA Bus Master IDE Accelerator (rev. 0x02)
pdcide0: bus-master DMA support present
pdcide0: primary channel configured to native-PCI mode
pdcide0: using irq 11 for native-PCI interrupt
atabus2 at pdcide0 channel 0
pdcide0: secondary channel configured to native-PCI mode
atabus3 at pdcide0 channel 1
isa0 at pcib0
timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
fd0 at fdc1 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
uhub0 at usb0: VIA Technologies UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhub1 at usb1: VIA Technologies UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhidev0 at uhub1 port 1 configuration 1 interface 0
uhidev0: Logitech USB Optical Mouse, rev 2.00/34.01, addr 2, iclass 3/1
ums0 at uhidev0: 8 buttons, W and Z dirs
wsmouse0 at ums0 mux 0
umass0 at uhub1 port 2 configuration 1 interface 0
umass0: Kingston DataTraveler 112, rev 2.00/1.00, addr 3
umass0: using SCSI over Bulk-Only
scsibus0 at umass0: 2 targets, 1 lun per target
sd0 at scsibus0 target 0 lun 0: <Kingston, DataTraveler 112, 1.00> disk 
removable
wd0 at atabus0 drive 0: <IC35L040AVVN07-0>
wd0: drive supports 16-sector PIO transfers, LBA addressing
wd0: 39266 MB, 79780 cyl, 16 head, 63 sec, 512 bytes/sect x 80418240 sectors
sd0: fabricating a geometry
sd0: 1910 MB, 1910 cyl, 64 head, 32 sec, 512 bytes/sect x 3913664 sectors
sd0(umass0:0:0:0): generic HBA error
sd0: unable to open device, error = 5
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
wd0(viaide0:0:0): using PIO mode 4, Ultra-DMA mode 5 (Ultra/100) (using DMA)
atapibus0 at atabus1: 2 targets
cd0 at atapibus0 drive 0: <PLEXTOR CD-R   PX-W1610A, , 1.02> cdrom removable
cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 2
wd1 at atabus1 drive 1: <WDC AC2340H>
wd1: drive supports 16-sector PIO transfers, chs addressing
wd1: 325 MB, 1010 cyl, 12 head, 55 sec, 512 bytes/sect x 666600 sectors
wd1: 32-bit data port
wd1: drive supports PIO mode 3
cd0(viaide0:1:0): using PIO mode 4, DMA mode 2 (using DMA)
wd1(viaide0:1:1): using PIO mode 3
Kernelized RAIDframe activated
pad0: outputs: 44100Hz, 16-bit, stereo
audio1 at pad0: half duplex, playback, capture
sd0(umass0:0:0:0): generic HBA error
sd0(umass0:0:0:0): generic HBA error
opendisk: can't open dev sd0 (5)
boot device: fd0
root device (default fd0a): wd0a
dump device (default wd0b): 
file system (default generic): 
root on wd0a dumps on wd0b
root file system type: ffs
WARNING: clock gained 47 days
WARNING: CHECK AND RESET THE DATE!
init path (default /sbin/init): 
init: trying /sbin/init
wsdisplay0: screen 1 added (fb, vt100 emulation)
wsdisplay0: screen 2 added (fb, vt100 emulation)
wsdisplay0: screen 3 added (fb, vt100 emulation)
wsdisplay0: screen 4 added (fb, vt100 emulation)

Tom


Home | Main Index | Thread Index | Old Index