Subject: Re: cobalt qube: install without cable
To: None <port-cobalt@netbsd.org>
From: Matthew Luckie <kluckie@ihug.co.nz>
List: port-cobalt
Date: 10/09/2001 14:06:54
sorry to continue spamming the list with my problems, but i just want to
point something out.

in Ted's howto is says to put dhclient=YES in rc.conf (well thats how i
interpreted his howto, point 5).

with that in place dhclient will drop the NFS connection when it comes time
to use dhclient which is a problem, as dhclient needs some files on the NFS
server - "shooting your own foot"
there is a related PR in netbsd based on this.
http://www.netbsd.org/cgi-bin/query-pr-single.pl?number=12096

there is a workaround mentioned in the pr report about putting
alias ifconfig true
in /nfsroot/etc/dhclient-enter-hooks

i couldnt work that one out, so i just removed the dhclient=YES line and the
qube continued to boot.

if someone could look over my logs that i captured over the serial line and
let me know if i am okay to continue installation that would be very much
appreciated.  after the successful root login i have included the error
messages i had before when i had dhclient=YES in the rc.conf file.

thanks

Matthew....

[mjl@lycra mjl]$ sudo tip qube
connected
Cobalt Microserver Diagnostics - 'We serve it, you surf it'
Built Tue May 25 15:58:41 PDT 1999

 1.LCD Test................................PASS
 2.Controller Test.........................PASS
 5.Bank 0:.................................16M
 6.Bank 1:.................................0M
 7.Bank 2:.................................0M
 8.Bank 3:.................................0M
 9.Serial Test.............................PASS
10.PCI Expansion Slot....................**EMPTY**
12.IDE Test................................PASS
13.Ethernet Test...........................PASS
16.RTC Test................................PASS
Decompressing done
Executing bootloader kernel...
Decompressing - done.
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001
    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 1.5Y (ROKKAKU-NFS) #1: Sun Sep 23 10:18:50 PDT 2001
    kml@rokkaku2:/usr/src/sys/arch/cobalt/compile/ROKKAKU-NFS
16384 KB memory, 12856 KB free, 920 KB in 230 buffers
mainbus0 (root)
com0 at mainbus0 addr 0x1c800000 level 3: st16650a, working fifo
com0: console
cpu0 at mainbus0
cpu0: QED RM5200 CPU (0x28a0) with builtin FPA (0x28a0)
cpu0: L1 cache: 32KB Instruction, 32KB Data, 2way set associative
cpu0: no L2 cache
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:be:62
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 (Apollo VP) PCI-ISA Bridge, rev 39
pciide0 at pci0 dev 9 function 1: VIA Technologies VT82C586 (Apollo VP)
ATA33 co
ntroller
pciide0: bus-master DMA support present
pciide0: primary channel configured to compatibility mode
wd0 at pciide0 channel 0 drive 0: <QUANTUM FIREBALLlct08 04>
wd0: drive supports 16-sector PIO transfers, LBA addressing
wd0: 4112 MB, 8912 cyl, 15 head, 63 sec, 512 bytes/sect x 8421840 sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 4 (Ultra/66)
pciide0: primary channel interrupting at irq 14
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA
data
transfers)
pciide0: secondary channel configured to compatibility mode
pciide0: disabling secondary channel (no drives)
VIA Technologies VT83C572 USB Controller (USB serial bus, revision 0x02) at
pci0
 dev 9 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:00:be:46
lxtphy1 at tlp1 phy 1: LXT970 10/100 media interface, rev. 3
lxtphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
IPsec: Initialized Security Association Processing.
boot device: <unknown>
root on tlp0
nfs_boot: trying DHCP/BOOTP
nfs_boot: DHCP next-server: 192.168.0.1
nfs_boot: my_addr=192.168.0.66
nfs_boot: my_mask=255.255.255.0
root on 192.168.0.1:/nfsroot
Automatic boot in progress: starting file system checks.
Setting tty flags.
Setting sysctl variables:
Starting network.
/etc/rc: WARNING: $hostname not set.
add net 127.0.0.0: gateway 127.0.0.1
add net fe80::: gateway ::1
add net fec0::: gateway ::1
add net ::ffff:0.0.0.0: gateway ::1
add net ::224.0.0.0: gateway ::1
add net ::127.0.0.0: gateway ::1
add net ::0.0.0.0: gateway ::1
add net ::255.0.0.0: gateway ::1
add net 2002:e000::: gateway ::1
add net 2002:7f00::: gateway ::1
add net 2002:0000::: gateway ::1
add net 2002:ff00::: gateway ::1
add net ::0.0.0.0: gateway ::1
IPv6 mode: host
Configuring network interfaces:.
Building databases...
kvm_mkdb: /netbsd: No such file or directory
Starting syslogd.
Checking for core dump...
savecore: /netbsd: kvm_openfiles: /netbsd: No such file or directory
Mounting all filesystems...
Oct  8 18:01:27  /netbsd: nfs send error 65 for 192.168.0.1:/nfsroot
Clearing /tmp.
Checking quotas: done.
Setting securelevel: kern.securelevel: 0 -> 1
/etc/rc: WARNING: No swap space configured!
Oct  8 18:01:27  /netbsd: nfs send error 65 for 192.168.0.1:/nfsroot
Oct  8 18:01:26  savecore: /netbsd: kvm_openfiles: /netbsd: No such file or
dire
ctory
Updating motd.
starting local daemons:.
Starting inetd.
Starting cron.
Mon Oct  8 18:01:36 PDT 2001

NetBSD/cobalt (Amnesiac) (tty00)

login: root
Copyright (c) 1996, 1997, 1998, 1999, 2000
        The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994
        The Regents of the University of California.  All rights reserved.

NetBSD 1.5Y (ROKKAKU-NFS) #1: Sun Sep 23 10:18:50 PDT 2001

Welcome to NetBSD!

Oct  8 18:08:01  login: ROOT LOGIN (root) ON tty00
Oct  8 18:08:01  login: ROOT LOGIN (root) ON tty00
Terminal type is vt100.
We recommend creating a non-root account and using su(1) for root access.
#


==== bad bit of booting ====

add net ::0.0.0.0: gateway ::1
IPv6 mode: host
Configuring network interfaces:.
Starting dhclient.
Internet Software Consortium DHCP Client V3.0rc10
Copyright 1995-2001 Internet Software Consortium.
All rights reserved.
For info, please visit http://www.isc.org/products/DHCP

nfs send error 65 for 192.168.0.1:/nfsroot