Subject: Re: Help needed on USB superdisk
To: John Refling <refling@stanfordalumni.org>
From: Andy Ruhl <acruhl@gmail.com>
List: netbsd-help
Date: 06/10/2005 12:41:49
On 6/10/05, John Refling <refling@stanfordalumni.org> wrote:
>=20
>=20
>=20
>    Ok, here are the details... this is on a Dell 1100 inspiron
> laptop.  This is running NetBSD 2.0, and I have changed the kernel
> but not by much.  I applied the patch in kern/28086 which fixes
> a bug in the ubsa.c usb belkin serial port code (I applied one
> line only, see my post on that PR) and kern/25659 which patches
> wdc.c to delay the wd indentification for slower devices.
> I also commented out the wdc0 and wdc1 devices.
>=20
>     I wonder if that is what is happening on this, as the zip 100,
> superdisk are all slower devices, compared to the laptop.
>=20
>     Here are the dmesg:
>=20
> 1,2c1,2
> < NetBSD 2.0 (GENERIC) #0: Wed Dec  1 10:58:25 UTC 2004
> <
> builds@build:/big/builds/ab/netbsd-2-0-RELEASE/i386/200411300000Z-obj/big=
/builds/ab/netbsd-2-0-RELEASE/src/sys/arch/i386/compile/GENERIC
> ---
> > NetBSD 2.0 (GENERIC_UBSA) #17: Thu Jun  9 19:36:30 PDT 2005
> >       root@i1:/wrk/kern/GENERIC_UBSA
> 106a107,111
> > umass0 at uhub0 port 1 configuration 1 interface 0
> > umass0: Shuttle Technology Inc. E-USB Bridge, rev 1.00/2.00, addr 2
> > umass0: using ATAPI over CBI with CCI
> > atapibus1 at umass0: 2 targets
> > probe(umass0:0:0): generic HBA error
>=20
> full thing is:
>=20
>=20
> NetBSD 2.0 (GENERIC_UBSA) #17: Thu Jun  9 19:36:30 PDT 2005
>         root@i1:/wrk/kern/GENERIC_UBSA
> total memory =3D 126 MB
> avail memory =3D 116 MB
> BIOS32 rev. 0 found at 0xffe90
> mainbus0 (root)
> cpu0 at mainbus0: (uniprocessor)
> cpu0: Intel Celeron (686-class), 1993.61 MHz, id 0xf29
> cpu0: features bfebf9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR>
> cpu0: features bfebf9ff<PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX>
> cpu0: features bfebf9ff<FXSR,SSE,SSE2,SS,HTT,TM,SBF>
> cpu0: I-cache 12K uOp cache 8-way, D-cache 8 KB 64B/line 4-way
> cpu0: ITLB 4K/4M: 128 entries
> cpu0: DTLB 4K/4M: 64 entries
> 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: Intel 82845G/GL DRAM Controller / Host-Hub I/F Bridge (rev. 0x03)
> agp0 at pchb0: detected 892k stolen memory
> agp0: aperture at 0xe0000000, size 0x8000000
> vga1 at pci0 dev 2 function 0: Intel 82845G/GL Integrated Graphics Device
> (rev. 0x03)
> wsdisplay0 at vga1 kbdmux 1: console (80x25, vt100 emulation)
> wsmux1: connecting to wsdisplay0
> uhci0 at pci0 dev 29 function 0: Intel 82801DB/DBM USB UHCI Controller #1
> (rev. 0x02)
> uhci0: interrupting at irq 11
> usb0 at uhci0: USB revision 1.0
> uhub0 at usb0
> uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
> uhub0: 2 ports with 2 removable, self powered
> uhci1 at pci0 dev 29 function 1: Intel 82801DB/DBM USB UHCI Controller #2
> (rev. 0x02)
> uhci1: interrupting at irq 11
> usb1 at uhci1: USB revision 1.0
> uhub1 at usb1
> uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
> uhub1: 2 ports with 2 removable, self powered
> uhci2 at pci0 dev 29 function 2: Intel 82801DB/DBM USB UHCI Controller #3
> (rev. 0x02)
> uhci2: interrupting at irq 11
> usb2 at uhci2: USB revision 1.0
> uhub2 at usb2
> uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
> uhub2: 2 ports with 2 removable, self powered
> ehci0 at pci0 dev 29 function 7: Intel 82801DB/DBM USB EHCI Controller (r=
ev.
> 0x02)
> ehci0: interrupting at irq 11
> ehci0: EHCI version 1.0
> ehci0: companion controllers, 2 ports each: uhci0 uhci1 uhci2
> usb3 at ehci0: USB revision 2.0
> uhub3 at usb3
> uhub3: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
> uhub3: 6 ports with 6 removable, self powered
> ppb0 at pci0 dev 30 function 0: Intel 82801BA Hub-to-PCI Bridge (rev. 0x8=
2)
> pci1 at ppb0 bus 2
> pci1: i/o space, memory space enabled
> bce0 at pci1 dev 1 function 0: Broadcom BCM4401 10/100 Ethernet
> bce0: interrupting at irq 11
> ukphy0 at bce0 phy 1: Generic IEEE 802.3u media interface
> ukphy0: OUI 0x000818, model 0x0036, rev. 0
> ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
> bce0: Ethernet address 00:0d:56:39:ca:e6
> cbb0 at pci1 dev 4 function 0: Texas Instruments PCI1510 PCI-CardBus Brid=
ge
> (rev. 0x00)
> cbb0: interrupting at irq 11
> cbb0: secondary bus number uninitialized; try PCIBIOS_BUS_FIXUP
> cardslot0 at cbb0 slot 0 flags 0
> pcmcia0 at cardslot0
> pcib0 at pci0 dev 31 function 0
> pcib0: Intel 82801DB LPC Interface Bridge (rev. 0x02)
> piixide0 at pci0 dev 31 function 1
> piixide0: Intel 82801DB IDE Controller (ICH4) (rev. 0x02)
> piixide0: bus-master DMA support present
> piixide0: primary channel wired to compatibility mode
> piixide0: primary channel interrupting at irq 14
> atabus0 at piixide0 channel 0
> piixide0: secondary channel wired to compatibility mode
> piixide0: secondary channel interrupting at irq 15
> atabus1 at piixide0 channel 1
> auich0 at pci0 dev 31 function 5: i82801DB/DBM (ICH4/ICH4M) AC-97 Audio
> auich0: interrupting at irq 11
> auich0: ac97: SigmaTel STAC9750/51 codec; headphone, 20 bit DAC, 20 bit A=
DC,
> SigmaTel 3D
> auich0: ac97: ext id 601<AC97_22,AMAP,VRA>
> Intel 82801DB/DBM AC97 Modem Controller (modem communications, revision 0=
x02)
> at pci0 dev 31 function 6 not configured
> isa0 at pcib0
> pckbc0 at isa0 port 0x60-0x64
> pckbd0 at pckbc0 (kbd slot)
> pckbc0: using irq 1 for kbd slot
> wskbd0 at pckbd0: console keyboard, using wsdisplay0
> pms0 at pckbc0 (aux slot)
> pckbc0: using irq 12 for aux slot
> wsmouse0 at pms0 mux 0
> pcppi0 at isa0 port 0x61
> midi0 at pcppi0: PC speaker
> sysbeep0 at pcppi0
> isapnp0 at isa0 port 0x279: ISA Plug 'n Play device support
> npx0 at isa0 port 0xf0-0xff: using exception 16
> isapnp0: no ISA Plug 'n Play devices found
> auich0: measured ac97 link rate at 48000 Hz
> audio0 at auich0: full duplex, mmap, independent
> Kernelized RAIDframe activated
> wi0 at pcmcia0 function 0: PCMCIA, 11M WLAN Card v2.5, ISL37300PRevA
> wi0: 802.11 address 00:02:dd:30:2e:ee
> wi0: using RF:PRISM2.5 MAC:ISL3873B(PCMCIA)
> wi0: Intersil Firmware: Primary (1.0.7), Station (1.3.5)
> wi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
> atapibus0 at atabus0: 2 targets
> cd0 at atapibus0 drive 0: <TEAC CD-ROM CD-224E, , D.9D> cdrom removable
> cd0: 32-bit data port
> cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
> cd0(piixide0:0:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using D=
MA
> data transfers)
> umass0 at uhub0 port 1 configuration 1 interface 0
> umass0: Shuttle Technology Inc. E-USB Bridge, rev 1.00/2.00, addr 2
> umass0: using ATAPI over CBI with CCI
> atapibus1 at umass0: 2 targets
> probe(umass0:0:0): generic HBA error
> wd0 at atabus1 drive 0: <IC25N030ATMR04-0>
> wd0: drive supports 16-sector PIO transfers, LBA48 addressing
> wd0: 28615 MB, 58140 cyl, 16 head, 63 sec, 512 bytes/sect x 58605120 sect=
ors
> wd0: 32-bit data port
> wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
> wd0(piixide0:1:0): using PIO mode 4, Ultra-DMA mode 5 (Ultra/100) (using =
DMA
> data transfers)
> boot device: wd0
> root on wd0a dumps on wd0b
> root file system type: ffs
> wsdisplay0: screen 1 added (80x25, vt100 emulation)
> wsdisplay0: screen 2 added (80x25, vt100 emulation)
> wsdisplay0: screen 3 added (80x25, vt100 emulation)
> wsdisplay0: screen 4 added (80x25, vt100 emulation)
>=20
>=20
> Also, the zip 100 MB disk is not working....

The only time I've had problems with USB attached devices was when I
had commented out stuff in atapi or scsi that the USB device otherwise
needs. Do you have all of the atapi devices uncommented?

Other than that, I don't have anything else. Hopefully the next guy can hel=
p.

Andy