Subject: USB support on a Qube 2
To: netbsd cobalt <port-cobalt@netbsd.org>
From: Sevan / Venture37 <venture37@hotmail.com>
List: port-cobalt
Date: 12/22/2007 03:19:53
Hi guys
I've tried to recompile a kernel with usb support but have failed miserably=
 twice now, using the instructions here:
http://www.aironaut.ch/content/view/27/53/
I added=20
# USB Controller and Devices
options         USBVERBOSE      # verbose USB device autoconfig messages

# PCI USB controllers
# The EHCI is not ready for prime time.
#ehci*  at pci? dev ? function ?        # Enhanced Host Controller
ohci*   at pci? dev ? function ?        # Open Host Controller
uhci*   at pci? dev ? function ?        # Universal Host Controller (Intel)

# CardBus USB controllers
#ehci*  at cardbus? dev ? function ?    # Enhanced Host Controller
#ohci*  at cardbus? dev ? function ?    # Open Host Controller

# USB bus support
#usb*   at ehci?
usb*    at ohci?
usb*    at uhci?

# USB Hubs
uhub*   at usb?
uhub*   at uhub? port ? configuration ? interface ?

# USB Generic driver
ugen*   at uhub? port ?

# USB Mass Storage
umass*  at uhub? port ? configuration ? interface ?
scsibus* at umass?

to my kernel config & compiled a new kernel
upon rebooting the kernel panics after the second usb port is detected, her=
e's a copy of the dmesg output:

NetBSD 4.0 (QUBE) #0: Fri Nov  9 15:15:16 UTC 2007
        root@qube.dev.local:/usr/src/sys/arch/cobalt/compile/QUBE
Cobalt Qube 2
total memory =3D 65536 KB
avail memory =3D 59836 KB
timecounter: Timecounters tick every 10.000 msec
mainbus0 (root)
com0 at mainbus0 addr 0x1c800000 level 3: st16650a, working fifo
com0: console
cpu0 at mainbus0: QED RM5200 CPU (0x28a0) Rev. 10.0 with built-in FPU Rev. =
10.0
cpu0: 32KB/32B 2-way set-associative L1 Instruction cache, 48 TLB entries
cpu0: 32KB/32B 2-way set-associative write-back L1 Data cache
mcclock0 at mainbus0 addr 0x10000070: mc146818 compatible time-of-day clock
panel0 at mainbus0 addr 0x1f000000
gt0 at mainbus0 addr 0x14000000
pci0 at gt0
pci0: i/o space, memory space enabled, rd/line, wr/inv ok
pchb0 at pci0 dev 0 function 0: Galileo GT-64111 System Controller, rev 1
tlp0 at pci0 dev 7 function 0: DECchip 21143 Ethernet, pass 4.1
tlp0: interrupting at level 1
tlp0: Ethernet address 00:10:e0:00:fb:d2
lxtphy0 at tlp0 phy 1: LXT970 10/100 media interface, rev. 3
lxtphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
pcib0 at pci0 dev 9 function 0
pcib0: VIA Technologies VT82C586 PCI-ISA Bridge, rev 39
viaide0 at pci0 dev 9 function 1
viaide0: VIA Technologies VT82C586 (Apollo VP) ATA33 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 9 function 2: VIA Technologies VT83C572 USB Controller (r=
ev. 0x02)
uhci0: can't map i/o space
ohci0 at pci0 dev 10 function 0: Acer Labs M5237 USB 1.1 Host Controller (r=
ev. 0x03)
ohci0: interrupting at irq 9
ohci0: OHCI version 1.0, legacy support
usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: Acer Labs OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
ohci1 at pci0 dev 10 function 1: Acer Labs M5237 USB 1.1 Host Controller (r=
ev. 0x03)
ohci1: interrupting at irq 0
ohci1: OHCI version 1.0, legacy support
usb1 at ohci1: USB revision 1.0
uhub1 at usb1
uhub1: Acer Labs OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
ohci2 at pci0 dev 10 function 2: Acer Labs M5237 USB 1.1 Host Controller (r=
ev. 0x03)
panic: icu_intr_establish(): irq 0 is already in use
Stopped in pid 0.1 (swapper) at netbsd:cpu_Debugger+0x4:        jr      ra
                bdslot: nop
db>=20


Any ideas??


Sevan / Venture37

_________________________________________________________________
Free games, great prizes - get gaming at Gamesbox.=20
http://www.searchgamesbox.com=