Subject: Re: More installation woes, can't get ip working...works now
To: Jochen Kunz <jkunz@unixag-kl.fh-kl.de>
From: Tim Gallagher <tim.gallagher@earthlink.net>
List: port-prep
Date: 01/26/2005 19:32:28
We have entered a dimension not only of sight and sound, but of the 
mind, there's a signpost up ahead, next stop, the netbsd zone...

Why it works now, I have no idea.

Enclosed, please find my session log, disk boot image is generic_com0.fs 
provided by Jochen:


RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 
RS/6000
RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 
RS/6000
RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 
RS/6000
RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 
RS/6000
RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 
RS/6000
RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 
RS/6000
RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 
RS/6000
RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 
RS/6000
RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 
RS/6000
RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 
RS/6000

     memory      keyboard     network      scsi      speaker       ok

0 > boot floppy


 >> NetBSD/prep BOOT, Revision 1.5
 >> (build@Zimbo, Mon Jan 24 09:44:55 CET 2005)

Boot: Loading in()
2801852+355920 [164656+145235]=0x34ec44
start=0x100000

Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004
    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 2.0_STABLE (GENERIC) #0: Mon Jan 24 16:53:04 CET 2005
        
build@Zimbo:/usr/src/release-2.0/objdir/prep/sys/arch/prep/compile/GENER
IC
Model: IBM Model 7042/7043 (ED)
total memory = 256 MB
avail memory = 244 MB
mainbus0 (root)
cpu0 at mainbus0: 604ev (Revision 2.2), ID 0 (primary)
cpu0: HID0 90c084<DOZE,DPM,ICE,DCE,SGE,BHT>
pci0 at mainbus0 bus 0: indirect configuration space access
pci0: i/o space, memory space enabled
pchb0 at pci0 dev 0 function 0
pchb0: Motorola MPC106 "Grackle" Host Bridge (rev. 0x20)
pcib0 at pci0 dev 11 function 0: IBM ISA Bridge w/PnP (rev. 0x03)
pcib0: PIRQ[0-3] not used
pcn0 at pci0 dev 12 function 0: AMD PCnet-PCI Ethernet
pcn0: Am79c970A PCnet-PCI II rev 6, Ethernet address 00:06:29:21:07:a0
pcn0: interrupting at irq 22
pcn0: 10base5, 10base5-FDX, 10baseT, 10baseT-FDX, auto, auto-FDX
IBM MPIC (undefined subclass 0x00) at pci0 dev 13 function 0 not configured
esiop0 at pci0 dev 16 function 0: Symbios Logic 53c825a (fast wide scsi)
esiop0: using on-board RAM
esiop0: interrupting at irq 23
scsibus0 at esiop0: 16 targets, 8 luns per target
IBM GXT-800P (miscellaneous display, revision 0x01) at pci0 dev 18 
function 0 no
t configured
ppb0 at pci0 dev 23 function 0: IBM 82351 PCI-PCI Bridge (rev. 0x01)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled
isa0 at pcib0
lpt0 at isa0 port 0x3bc-0x3bf irq 7
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com0: console
com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
pcppi0 at isa0 port 0x61
isabeep0 at pcppi0
mcclock0 at isa0 port 0x70-0x71: mc146818 compatible time-of-day clock
biomask 800000 netmask c00000 ttymask c00080
scsibus0: waiting 2 seconds for devices to settle...
sd0 at scsibus0 target 0 lun 0: <IBM, DNES-318350W, S80K> disk fixed
sd0: 17501 MB, 11474 cyl, 10 head, 312 sec, 512 bytes/sect x 35843670 
sectors
sd0: sync (100.00ns offset 8), 16-bit (20.000MB/s) transfers, tagged 
queueing
cd0 at scsibus0 target 3 lun 0: <IBM, CDRM00203\000\000\000\000\000!K, 
8B08> cdr
om removable
cd0: sync (100.00ns offset 8), 8-bit (10.000MB/s) transfers
boot device: <unknown>
root device: sd0a
dump device (default sd0b):
file system (default generic):
root on sd0a dumps on sd0b
sd0(esiop0:0:0:0): command timeout, CDB: 0x25 00 00 00 00 00 00 00 00 00
esiop0: scsi bus reset
sd0: async, 8-bit transfers, tagged queueing
cd0: async, 8-bit transfers
sd0: sync (100.00ns offset 8), 16-bit (20.000MB/s) transfers, tagged 
queueing
root file system type: ffs
init path (default /sbin/init):
init: trying /sbin/init
Thu Jan 27 00:18:55 GMT 2005
swapctl: adding /dev/sd0b as swap device at priority 0
Checking for botched superblock upgrades: done.
Starting file system checks:
/dev/rsd0a: file system is clean; not checking
/dev/rsd0f: file system is clean; not checking
Setting tty flags.
Setting sysctl variables:
Starting network.
Hostname: ganymede
IPv6 mode: host
Configuring network interfaces: pcn0.
add net default: gateway 192.168.0.1
Adding interface aliases:
Building databases...
Starting syslogd.
Checking for core dump...
savecore: no core dump (invalid dumplo)
Mounting all filesystems...
Clearing /tmp.
Checking quotas: done.
Setting securelevel: kern.securelevel: 0 -> 1
Starting virecover.
Starting local daemons:.
Updating motd.
Starting sendmail.
Starting inetd.
Starting cron.
Wed Jan 26 19:19:05 EST 2005
Jan 26 19:19:07 ganymede getty[3
NetBSD/prep (ganymede) (tty00)

login: root
Password:
Last login: Wed Jan 26 18:27:48 2005 on tty00
Jan 26 19:19:17 ganymede login: ROOT LOGIN (root) ON tty00
Jan 26 19:19:17 ganymede login: ROOT LOGIN (root) ON tty00
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004
    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 2.0_STABLE (GENERIC) #0: Mon Jan 24 16:53:04 CET 2005

Welcome to NetBSD!

Terminal type is vt100.                                                 
We recommend creating a non-root account and using su(1) for root access.
# ps aux
USER PID %CPU %MEM  VSZ  RSS TT STAT STARTED    TIME COMMAND
root   0  0.0  2.5    0 6448 ?? DKs   7:18PM 0:00.01 [swapper]
root   1  0.0  0.3   64  780 ?? Is    7:18PM 0:00.02 init
root   2  0.0  2.5    0 6448 ?? DK    7:18PM 0:00.00 [scsibus0]
root   3  0.0  2.5    0 6448 ?? DK    7:18PM 0:00.01 [pagedaemon]
root   4  0.0  2.5    0 6448 ?? DK    7:18PM 0:00.03 [ioflush]
root   5  0.0  2.5    0 6448 ?? DK    7:18PM 0:00.01 [aiodoned]
root 146  0.0  0.3  180  796 ?? Ss    7:19PM 0:00.04 /usr/sbin/syslogd -s
root 236  0.0  0.6 1124 1652 ?? Ss    7:19PM 0:00.02 sendmail: accepting 
connec
root 298  0.0  0.3   64  764 ?? Is    7:19PM 0:00.01 /usr/sbin/inetd -l
root 302  0.0  0.3  228  768 ?? Is    7:19PM 0:00.01 /usr/sbin/cron
root 308  0.0  0.3   64  684 ?? S     7:19PM 0:00.02 /usr/libexec/getty 
Pc ttyE
root 285  0.0  0.3   80  644 00 R+    7:19PM 0:00.02 ps aux
root 305  0.0  0.3  300  892 00 Ss    7:19PM 0:00.13 -ksh
# netstat -rn -f inet
Routing tables

Internet:
Destination        Gateway            Flags     Refs     Use    Mtu  
Interface
default            192.168.0.1        UGS         0        0      -  pcn0
127/8              127.0.0.1          UGRS        0        0  33196  lo0
127.0.0.1          127.0.0.1          UH          1       32  33196  lo0
192.168/24         link#1             UC          1        0      -  pcn0
192.168.0.1        link#1             UHLc        1        0      -  pcn0
# ifconfig pcn0
pcn0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        address: 00:06:29:21:07:a0
        media: Ethernet autoselect (autoselect)
        inet 192.168.0.9 netmask 0xffffff00 broadcast 192.168.0.255
        inet6 fe80::206:29ff:fe21:7a0%pcn0 prefixlen 64 scopeid 0x1
# ping 192.168.0.1
PING 192.168.0.1 (192.168.0.1): 56 data bytes
64 bytes from 192.168.0.1: icmp_seq=0 ttl=64 time=2.408 ms
64 bytes from 192.168.0.1: icmp_seq=1 ttl=64 time=1.542 ms
64 bytes from 192.168.0.1: icmp_seq=2 ttl=64 time=1.466 ms
64 bytes from 192.168.0.1: icmp_seq=3 ttl=64 time=1.415 ms
^C
----192.168.0.1 PING Statistics----
4 packets transmitted, 4 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 1.415/1.708/2.408/0.470 ms