So, I just build the whole distro on my Qube, as mentioned
before I did update to a Feb 07 kernel binary before trying
this successfully. When I built the latest kernel, I
included the kernel options I posted earlier, to see if I
could get USB going.
qube# uname -a
NetBSD qube 4.99.10 NetBSD 4.99.10 (QUBE2-USB-021607CURR)
#0: Mon Feb 26 13:35:05 EST 2007 root qube:/obj/sys/arch/cobalt/compile/QUBE2-USB-021607CUR
R cobalt
The only glitch I have so far, is that when building from
the INSTALL kernel that has been minimized for the Qube, the
kernel that results wants to netboot. I have compared the
kernel conf files for GENERIC and INSTALL, and then compared
them to the GENERIC for 1.6.1 source tree, and I don't see
where it is coming from (granted, I only seem to work on
this after midnight or before work in the AM). I haven't
tried GENERIC yet, but INSTALL seems to be just minimized
for the Qube and not a special netboot-only kernel (?). I
had the same issue with Andy's Feb 8 kernel binary.
I'm not sure why root comes up at tlp0, should I just change
that
root at ?
line in the conf file to wd0a? How to specify the dump
device wd0b then?
Help with this would be great, as at present any reboot
needs a console intervention to proceed properly. I'm sure
it is something easy I'm overlooking.
>From the dmesg, it looks like the USB card is awake,
perhaps one USB port has an issue? The dmesg is a little
long, I hit a couple keys to get hyperterm going so it tried
to netboot a couple times.
I haven't done anything with external devices and NetBSD; I
guess I'll read about mounting a flash drive (hmm... did I
enable FAT32 in the kernel, I'll have to look and make
sure). It would be fun to get the Qube and the UPS talking,
too.
Thanks for the help--
Brian
=========================
qube# dmesg
el 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:01:36:ca
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: vendor 0x1106 product 0x0586, 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: vendor 0x1106 product 0x3038
(rev. 0x02)
uhci0: can't map i/o space
ohci0 at pci0 dev 10 function 0: vendor 0x1033 product
0x0035 (rev. 0x41)
ohci0: interrupting at irq 9
ohci0: OHCI version 1.0
usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: vendor 0x1033 OHCI root hub, class 9/0, rev
1.00/1.00, addr 1
uhub0: 3 ports with 3 removable, self powered
ohci1 at pci0 dev 10 function 1: vendor 0x1033 product
0x0035 (rev. 0x41)
ohci1: interrupting at irq 0
ohci1: OHCI version 1.0
usb1 at ohci1: USB revision 1.0
uhub1 at usb1
uhub1: vendor 0x1033 OHCI root hub, class 9/0, rev
1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
vendor 0x1033 product 0x00e0 (USB serial bus, interface
0x20, revision 0x02) at pci0 dev 10 function 2 not c
onfigured
tlp1 at pci0 dev 12 function 0: DECchip 21143 Ethernet, pass
4.1
tlp1: interrupting at level 2
tlp1: Ethernet address 00:10:e0:01:36:d1
lxtphy1 at tlp1 phy 1: LXT970 10/100 media interface, rev.
3
lxtphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX,
auto
timecounter: Timecounter "clockinterrupt"
frequency 100 Hz quality 0
timecounter: Timecounter "mips3_cp0_counter"
frequency 125000000 Hz quality 100
wd0 at atabus0 drive 0: <Maxtor 6Y060L0>
wd0: drive supports 16-sector PIO transfers, LBA addressing
wd0: 58644 MB, 119150 cyl, 16 head, 63 sec, 512 bytes/sect x
120103200 sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6
(Ultra/133)
wd0(viaide0:0:0): using PIO mode 4, Ultra-DMA mode 2
(Ultra/33) (using DMA)
boot device: wd0
root on tlp0
nfs_boot: trying DHCP/BOOTP
nfs_boot: DHCP next-server: 192.168.0.1
nfs_boot: my_domain=hsd1.mi.comcast.net.
nfs_boot: my_addr=192.168.0.6
nfs_boot: my_mask=255.255.255.0
nfs_boot: gateway=192.168.0.1
nfs_boot: getfh - no pathname
cannot mount root, error = 5
root device (default tlp0):
dump device:
file system (default nfs):
root on tlp0
nfs_boot: trying DHCP/BOOTP
nfs_boot: DHCP next-server: 192.168.0.1
nfs_boot: my_domain=hsd1.mi.comcast.net.
nfs_boot: my_addr=192.168.0.6
nfs_boot: my_mask=255.255.255.0
nfs_boot: gateway=192.168.0.1
nfs_boot: getfh - no pathname
cannot mount root, error = 5
root device (default tlp0):
dump device:
file system (default nfs):
root on tlp0
nfs_boot: trying DHCP/BOOTP
nfs_boot: DHCP next-server: 192.168.0.1
nfs_boot: my_domain=hsd1.mi.comcast.net.
nfs_boot: my_addr=192.168.0.6
nfs_boot: my_mask=255.255.255.0
nfs_boot: gateway=192.168.0.1
nfs_boot: getfh - no pathname
cannot mount root, error = 5
root device (default tlp0): wd0a
dump device (default wd0b):
file system (default nfs): ext
use one of: generic ffs ext2fs nfs ddb halt reboot
file system (default nfs): ffs
root on wd0a dumps on wd0b
init path (default /sbin/init):
init: trying /sbin/init
qube# uname -a
NetBSD qube 4.99.10 NetBSD 4.99.10 (QUBE2-USB-021607CURR)
#0: Mon Feb 26 13:35:05 EST 2007 root qube:/obj/sys/arch/cobalt/compile/QUBE2-USB-021607CUR
R cobalt
qube# ^C
qube# dmesg
el 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:01:36:ca
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: vendor 0x1106 product 0x0586, 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: vendor 0x1106 product 0x3038
(rev. 0x02)
uhci0: can't map i/o space
ohci0 at pci0 dev 10 function 0: vendor 0x1033 product
0x0035 (rev. 0x41)
ohci0: interrupting at irq 9
ohci0: OHCI version 1.0
usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: vendor 0x1033 OHCI root hub, class 9/0, rev
1.00/1.00, addr 1
uhub0: 3 ports with 3 removable, self powered
ohci1 at pci0 dev 10 function 1: vendor 0x1033 product
0x0035 (rev. 0x41)
ohci1: interrupting at irq 0
ohci1: OHCI version 1.0
usb1 at ohci1: USB revision 1.0
uhub1 at usb1
uhub1: vendor 0x1033 OHCI root hub, class 9/0, rev
1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
vendor 0x1033 product 0x00e0 (USB serial bus, interface
0x20, revision 0x02) at pci0 dev 10 function 2 not
configured
tlp1 at pci0 dev 12 function 0: DECchip 21143 Ethernet, pass
4.1
tlp1: interrupting at level 2
tlp1: Ethernet address 00:10:e0:01:36:d1
lxtphy1 at tlp1 phy 1: LXT970 10/100 media interface, rev.
3
lxtphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX,
auto
timecounter: Timecounter "clockinterrupt"
frequency 100 Hz quality 0
timecounter: Timecounter "mips3_cp0_counter"
frequency 125000000 Hz quality 100
wd0 at atabus0 drive 0: <Maxtor 6Y060L0>
wd0: drive supports 16-sector PIO transfers, LBA addressing
wd0: 58644 MB, 119150 cyl, 16 head, 63 sec, 512 bytes/sect x
120103200 sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6
(Ultra/133)
wd0(viaide0:0:0): using PIO mode 4, Ultra-DMA mode 2
(Ultra/33) (using DMA)
boot device: wd0
root on tlp0
nfs_boot: trying DHCP/BOOTP
nfs_boot: DHCP next-server: 192.168.0.1
nfs_boot: my_domain=hsd1.mi.comcast.net.
nfs_boot: my_addr=192.168.0.6
nfs_boot: my_mask=255.255.255.0
nfs_boot: gateway=192.168.0.1
nfs_boot: getfh - no pathname
cannot mount root, error = 5
root device (default tlp0):
dump device:
file system (default nfs):
root on tlp0
nfs_boot: trying DHCP/BOOTP
nfs_boot: DHCP next-server: 192.168.0.1
nfs_boot: my_domain=hsd1.mi.comcast.net.
nfs_boot: my_addr=192.168.0.6
nfs_boot: my_mask=255.255.255.0
nfs_boot: gateway=192.168.0.1
nfs_boot: getfh - no pathname
cannot mount root, error = 5
root device (default tlp0):
dump device:
file system (default nfs):
root on tlp0
nfs_boot: trying DHCP/BOOTP
nfs_boot: DHCP next-server: 192.168.0.1
nfs_boot: my_domain=hsd1.mi.comcast.net.
nfs_boot: my_addr=192.168.0.6
nfs_boot: my_mask=255.255.255.0
nfs_boot: gateway=192.168.0.1
nfs_boot: getfh - no pathname
cannot mount root, error = 5
root device (default tlp0): wd0a
dump device (default wd0b):
file system (default nfs): ext
use one of: generic ffs ext2fs nfs ddb halt reboot
file system (default nfs): ffs
root on wd0a dumps on wd0b
init path (default /sbin/init):
init: trying /sbin/init
qube#
|