Subject: Re: USB support in Qube2?
To: NetBSD/cobalt <port-cobalt@NetBSD.org>
From: Andreas Yankopolus <andreas@yank.to>
List: port-cobalt
Date: 01/09/2004 14:19:11
On Jan 8, 2004, at 10:42, Lennart Augustsson wrote:
> You need to pull in the USB confile files. Edit the file
> sys/arch/cobalt/conf/files.cobalt
> and add the line
> include "dev/usb/files.usb"
Thanks for the advice. This gave a clean compile, but the resulting
system is *very* unstable: it boots fine, but hangs within a few
minutes. I haven't a clue how to start tracking down the cause of the
crash. The boot log (appended below) indicates that NetBSD is having
problems mapping the i/o space of the USB card.
Cheers,
Andreas
Jan 9 06:46:13 flask /netbsd: Copyright (c) 1996, 1997, 1998, 1999,
2000, 2001, 2002, 2003
Jan 9 06:46:13 flask /netbsd: The NetBSD Foundation, Inc. All
rights reserved.
Jan 9 06:46:13 flask /netbsd: Copyright (c) 1982, 1986, 1989, 1991,
1993
Jan 9 06:46:14 flask /netbsd: The Regents of the University of
California. All rights reserved.
Jan 9 06:46:14 flask /netbsd:
Jan 9 06:46:14 flask /netbsd: NetBSD 1.6.2_RC3 (FLASKCONFTEST) #0: Thu
Jan 8 12:15:45 EST 2004
Jan 9 06:46:14 flask /netbsd:
root@flask:/usr/src/sys/arch/cobalt/compile/FLASKCONFTEST
Jan 9 06:46:14 flask /netbsd: 192 MB memory, 174 MB free, 9932 KB in
2483 buffers
Jan 9 06:46:14 flask /netbsd: mainbus0 (root)
Jan 9 06:46:14 flask /netbsd: com0 at mainbus0 addr 0x1c800000 level
3: st16650a, working fifo
Jan 9 06:46:14 flask /netbsd: com0: console
Jan 9 06:46:14 flask /netbsd: cpu0 at mainbus0: QED RM5200 CPU
(0x28a0) Rev. 10.0 with built-in FPU Rev. 10.0
Jan 9 06:46:14 flask /netbsd: cpu0: 32KB/32B 2-way set-associative L1
Instruction cache, 48 TLB entries
Jan 9 06:46:14 flask /netbsd: cpu0: 32KB/32B 2-way set-associative
write-back L1 Data cache
Jan 9 06:46:14 flask /netbsd: gt0 at mainbus0 addr 0x14000000
Jan 9 06:46:14 flask /netbsd: pci0 at gt0
Jan 9 06:46:14 flask /netbsd: pci0: i/o space, memory space enabled,
rd/line, wr/inv ok
Jan 9 06:46:14 flask /netbsd: pchb0 at pci0 dev 0 function 0: Galileo
GT-64111 System Controller, rev 1
Jan 9 06:46:14 flask /netbsd: tlp0 at pci0 dev 7 function 0: DECchip
21143 Ethernet, pass 4.1
Jan 9 06:46:14 flask /netbsd: tlp0: interrupting at level 1
Jan 9 06:46:14 flask /netbsd: tlp0: Ethernet address 00:10:e0:00:d7:de
Jan 9 06:46:14 flask /netbsd: lxtphy0 at tlp0 phy 1: LXT970 10/100
media interface, rev. 3
Jan 9 06:46:14 flask /netbsd: lxtphy0: 10baseT, 10baseT-FDX,
100baseTX, 100baseTX-FDX, auto
Jan 9 06:46:14 flask /netbsd: pcib0 at pci0 dev 9 function 0
Jan 9 06:46:14 flask /netbsd: pcib0: VIA Technologies VT82C586 (Apollo
VP) PCI-ISA Bridge, rev 39
Jan 9 06:46:14 flask /netbsd: pciide0 at pci0 dev 9 function 1: VIA
Technologies VT82C586 (Apollo VP) ATA33 controller
Jan 9 06:46:14 flask /netbsd: pciide0: bus-master DMA support present
Jan 9 06:46:14 flask /netbsd: pciide0: primary channel configured to
compatibility mode
Jan 9 06:46:14 flask /netbsd: wd0 at pciide0 channel 0 drive 0:
<ST3120024A>
Jan 9 06:46:14 flask /netbsd: wd0: drive supports 16-sector PIO
transfers, LBA addressing
Jan 9 06:46:14 flask /netbsd: wd0: 111 GB, 16383 cyl, 16 head, 63 sec,
512 bytes/sect x 234441648 sectors
Jan 9 06:46:14 flask /netbsd: wd0: 32-bit data port
Jan 9 06:46:14 flask /netbsd: wd0: drive supports PIO mode 4, DMA mode
2, Ultra-DMA mode 5 (Ultra/100)
Jan 9 06:46:14 flask /netbsd: pciide0: primary channel interrupting at
irq 14
Jan 9 06:46:14 flask /netbsd: wd0(pciide0:0:0): using PIO mode 4,
Ultra-DMA mode 2 (Ultra/33) (using DMA data transfers)
Jan 9 06:46:14 flask /netbsd: pciide0: secondary channel configured to
compatibility mode
Jan 9 06:46:14 flask /netbsd: pciide0: disabling secondary channel (no
drives)
Jan 9 06:46:14 flask /netbsd: uhci0 at pci0 dev 9 function 2: VIA
Technologies VT83C572 USB Controller (rev. 0x02)
Jan 9 06:46:14 flask /netbsd: uhci0: can't map i/o space
Jan 9 06:46:14 flask /netbsd: ohci0 at pci0 dev 10 function 0: NEC USB
Host Controller (rev. 0x41)
Jan 9 06:46:14 flask /netbsd: ohci0: interrupting at irq 9
Jan 9 06:46:14 flask /netbsd: ohci0: OHCI version 1.0
Jan 9 06:46:14 flask /netbsd: usb0 at ohci0: USB revision 1.0
Jan 9 06:46:14 flask /netbsd: uhub0 at usb0
Jan 9 06:46:14 flask /netbsd: uhub0: NEC OHCI root hub, class 9/0, rev
1.00/1.00, addr 1
Jan 9 06:46:14 flask /netbsd: uhub0: 3 ports with 3 removable, self
powered
Jan 9 06:46:14 flask /netbsd: ohci1 at pci0 dev 10 function 1: NEC USB
Host Controller (rev. 0x41)
Jan 9 06:46:14 flask /netbsd: ohci1: can't map mem space
Jan 9 06:46:14 flask /netbsd: NEC USB Host Controller (USB serial bus,
interface 0x20, revision 0x02) at pci0 dev 10 function 2 not configured
Jan 9 06:46:14 flask /netbsd: tlp1 at pci0 dev 12 function 0: DECchip
21143 Ethernet, pass 4.1
Jan 9 06:46:14 flask /netbsd: tlp1: interrupting at level 2
Jan 9 06:46:14 flask /netbsd: tlp1: Ethernet address 00:10:e0:00:e4:47
Jan 9 06:46:14 flask /netbsd: lxtphy1 at tlp1 phy 1: LXT970 10/100
media interface, rev. 3
Jan 9 06:46:14 flask /netbsd: lxtphy1: 10baseT, 10baseT-FDX,
100baseTX, 100baseTX-FDX, auto
Jan 9 06:46:14 flask /netbsd: lcd0 at mainbus0IPsec: Initialized
Security Association Processing.
Jan 9 06:46:14 flask /netbsd: boot device: wd0
Jan 9 06:46:14 flask /netbsd: root on wd0a dumps on wd0b
Jan 9 06:46:14 flask /netbsd: root file system type: ffs
Jan 9 06:46:14 flask /netbsd: IP Filter: v3.4.29 initialized. Default
= pass all, Logging = enabled
Jan 9 06:46:15 flask savecore: no core dump
Jan 9 06:46:31 flask paneld[306]: cmd: /etc/paneld/banner.sh,
ifexited: 1, status: 0, size: 23
Jan 9 06:47:03 flask syslogd: Exiting on signal 15