Subject: netbsd-1.6 sparc64 installed OK on SunFire V100
To: NetBSD/sparc Discussion List <port-sparc64@NetBSD.ORG>
From: Greg A. Woods <woods@weird.com>
List: port-sparc64
Date: 09/26/2002 23:59:48
Well the install of NetBSD-1.6 sparc64 went reasonably well on the
SunFire V100, except for mis-adventures using DHCP. I sent a PR
(#18432) about the weird "kbd breakpoint" as it tried to do its thing.
I also ended up having to use my FTP server's IP number as it seems to
have failed to get the proper nameservers, or at least failed to use
them properly. It works fine in the multiuser boot with GENERIC
though....
Also note I mistakenly posted on port-sparc (forgetting port-sparc64
existed) about problems with the 1.6 miniroot.fs image possibly being
corrupted. Please see:
http://mail-index.netbsd.org/port-sparc/2002/09/15/0008.html
along with another post today that's not yet in the mail-index....
NetBooting the INSTALL kernel is definitely far superior to the miniroot
trick anyway, esp. since it allows you to re-partition the disk, but the
miniroot install (at least on sparc, dunno about sparc64) lets you do a
re-partition and in the process corrupts its own running root FS!.
FYI, netbooting a sparc kernel results in an endless loop of register
dumps spewing on the screen and I had to hard reset the machine
(i.e. the LOM "break" command was ignored, but "reset" worked).
I should also note that sysinst is extremely annoying, visually, when
you're running it through a serial console with an xterm as your
terminal. It keeps flipping back and forth between the full-screen mode
and the scrolling mode.
The only other major problem is that NetBSD seems to be unable to
properly read the real-time clock on this machine. It gets everything
right but the year, which ends up being 1970.
Note too the "ukphy"s for the tlp Ethernets, and note also that the
INSTALL kernel spewed "intr_establish: intr reused 7c0" (with different
numbers each time) a couple of times during the probes.
OpenBSD claims full support for the V100 so perhaps there are some
patches that can be borrowed back.....
I picked a slightly larger root partition size, and much larger swap and
/var sizes, than sysinst did (and I turned off /usr, which was on by
default). These defaults really need working on for modern machines.
What would be really nice is if sysinst could set up full RAIDframe
mirroring on twinned disks like this system has (even though they are
both on the same IDE controller)! :-)
I don't know how long I'll have this machine here, so if anyone wants me
to try anything, let me know ASAP..... I'm not subscribed to this list
(yet), so take care with addressing any replies.
Here's a cut&paste of the first boot and login:
ok setenv boot-device disk0:a
boot-device = disk0:a
ok boot
Res
LOM event: +11d+8h42m16s host reset
etting ...
Sun Fire V100 (UltraSPARC-IIe 500MHz), No Keyboard
OpenBoot 4.0, 512 MB memory installed, Serial #51700933.
Ethernet address 0:3:ba:14:e4:c5, Host ID: 8314e4c5.
Executing last command: boot
Boot device: disk0:a File and args:
NetBSD IEEE 1275 Bootblock
..>> NetBSD/sparc64 OpenFirmware Boot, Revision 1.5
>> (autobuild@cs20.apochromatic.org, Sun Sep 8 11:34:12 UTC 2002)
loadfile: reading header
elf64_exec: Booting /pci@1f,0/ide@d/disk@0,0:a/netbsd
4412224@0x1000000+139824@0x1800000+4054480@0x1822230
symbols @ 0xfef84300 74+329592+174878 start=0x1000000
chain: calling OF_chain(800000, e478, 1000000, fffc5a80, 18)
[ using 505320 bytes of netbsd ELF symbol table ]
console is /pci@1f,0/isa@7/serial@0,3f8
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002
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.6 (GENERIC) #0: Sun Sep 8 11:55:46 UTC 2002
autobuild@cs20.apochromatic.org:/autobuilder/build/sparc64/OBJ/autobuilder/build/src/sys/arch/sparc64/compile/GENERIC
total memory = 512 MB
avail memory = 465 MB
using 3289 buffers containing 26312 KB of memory
bootpath: /pci@1f,0/ide@d,0/disk@0,0
mainbus0 (root): SUNW,UltraAX-i2
cpu0 at mainbus0: SUNW,UltraSPARC-IIe @ 500 MHz, version 0 FPU
cpu0: physical 32K instruction (32 b/l), 16K data (32 b/l), 256K external (64 b/l)
psycho0 at mainbus0
SUNW,sabre: impl 0, version 0: ign 7c0 bus range 0 to 0; PCI bus 0
DVMA map: 60000000 to 80000000
IOTSB: 42546000 to 425c6000
pci0 at psycho0
pci0: i/o space, memory space enabled
ebus0 at pci0 dev 7 function 0
ebus0: Acer Labs M1543 PCI-ISA Bridge, revision 0x00
dma at ebus0 addr 0-ffff ipl 42 not configured
rtc0 at ebus0 addr 70-71: m5819
power at ebus0 addr 2000-2007 ipl 35 not configured
SUNW,lomh at ebus0 addr 8010-8011 ipl 42 not configured
com0 at ebus0 addr 3f8-3ff ipl 43: ns16550a, working fifo
com0: console
com1 at ebus0 addr 2e8-2ef ipl 43: ns16550a, working fifo
flashprom at ebus0 addr 0-7ffff not configured
Acer Labs M7101 Power Management Controller (miscellaneous prehistoric) at pci0 dev 3 function 0 not configured
tlp0 at pci0 dev 12 function 0: Davicom DM9102A Ethernet, pass 3.1
tlp0: broken MicroWire interface detected; setting SROM size to 1Kb
tlp0: interrupting at ivec 3006
tlp0: Ethernet address 00:03:ba:14:e4:c5
ukphy0 at tlp0 phy 1: Generic IEEE 802.3u media interface
ukphy0: OUI 0x000676, model 0x0004, rev. 0
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
tlp1 at pci0 dev 5 function 0: Davicom DM9102A Ethernet, pass 3.1
tlp1: broken MicroWire interface detected; setting SROM size to 1Kb
tlp1: interrupting at ivec 301c
tlp1: Ethernet address 00:03:ba:14:e4:c5
ukphy1 at tlp1 phy 1: Generic IEEE 802.3u media interface
ukphy1: OUI 0x000676, model 0x0004, rev. 0
ukphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
ohci0 at pci0 dev 10 function 0: Acer Labs M5237 USB Host Controller (rev. 0x03)
ohci0: interrupting at ivec 24
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
pciide0 at pci0 dev 13 function 0: Acer Labs M5229 UDMA IDE Controller (rev. 0xc3)
pciide0: bus-master DMA support present
pciide0: primary channel configured to native-PCI mode
pciide0: using ivec 180c for native-PCI interrupt
wd0 at pciide0 channel 0 drive 0: <ST340016A>
wd0: drive supports 16-sector PIO transfers, LBA addressing
wd0: 38166 MB, 16383 cyl, 16 head, 63 sec, 512 bytes/sect x 78165360 sectors
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA data transfers)
pciide0: secondary channel configured to native-PCI mode
atapibus0 at pciide0 channel 1: 2 targets
cd0 at atapibus0 drive 1: <CD-224E, , 1.7A> type 5 cdrom removable
cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
wd1 at pciide0 channel 1 drive 0: <ST340016A>
wd1: drive supports 16-sector PIO transfers, LBA addressing
wd1: 38166 MB, 16383 cyl, 16 head, 63 sec, 512 bytes/sect x 78165360 sectors
wd1: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
wd1(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA data transfers)
cd0(pciide0:1:1): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA data transfers)
pcons at mainbus0 not configured
No counter-timer -- using %tick at 500MHz as system clock.
Kernelized RAIDframe activated
root on wd0a dumps on wd0b
WARNING: preposterous time in file system
rtc_gettime: read y 2/2 m 9/9 wd 0 d 1b/27 h 3/3 m b/11 s 13/19
WARNING: clock lost 7582 days -- CHECK AND RESET THE DATE!
root file system type: ffs
Sat Sep 26 23:11:21 EDT 1970
swapctl: adding /dev/wd0b as swap device at priority 0
Starting file system checks:
/dev/rwd0a: file system is clean; not checking
/dev/rwd0d: file system is clean; not checking
/dev/rwd0e: file system is clean; not checking
Setting tty flags.
Setting sysctl variables:
Starting network.
Hostname: dhcp135
IPv6 mode: host
Configuring network interfaces:tlp0: receive process failed to idle: state RUNNING - WAIT
tlp0.
Adding interface aliases:
Starting dhclient.
Internet Software Consortium DHCP Client V3.0rc10
Copyright 1995-2001 Internet Software Consortium.
All rights reserved.
For itlp0: receive process failed to idle: state RUNNING - WAIT
nfo, please visit http://www.isc.org/products/DHCP
Listening on BPF/tlp0/00:03:ba:14:e4:c5
Sending on BPF/tlp0/00:03:ba:14:e4:c5
Sending on Socket/fallback
DHCPDISCOVER on tlp0 to 255.255.255.255 port 67 interval 3
ip length 371 disagrees with bytes received 375.
accepting packet with data after udp payload.
DHCPOFFER from 204.92.254.2
DHCPREQUEST on tlp0 to 255.255.255.255 port 67
ip length 371 disagrees with bytes received 375.
accepting packet with data after udp payload.
DHCPACK from 204.92.254.2
New Network Number: 204.92.254.0
New Broadcast Address: 204.92.254.255
bound to 204.92.254.135 -- renewal in 17553 seconds.
Building databases...
Starting syslogd.
Checking for core dump...
savecore: no core dump
Mounting all filesystems...
Clearing /tmp.
Checking quotas: done.
Setting securelevel: kern.securelevel: 0 -> 1
Starting virecover.
starting local daemons:.
Updating motd.
Starting inetd.
Starting cron.
Sat Sep 26 23:11:31 EDT 1970
NetBSD/sparc64 (dhcp135) (console)
login: root
Password:
Sep 26 23:14:29 dhcp135 login: ROOT LOGIN (root) ON console
Sep 26 23:14:29 dhcp135 login: ROOT LOGIN (root) ON console
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002
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.6 (GENERIC) #0: Sun Sep 8 11:55:46 UTC 2002
Welcome to NetBSD!
Terminal type is sun-ss5.
We recommend creating a non-root account and using su(1) for root access.
dhcp135# df
Filesystem 1K-blocks Used Avail Capacity Mounted on
/dev/wd0a 397383 225064 152449 59% /
/dev/wd0d 1985215 1560 1884394 0% /var
/dev/wd0e 34901043 1 33155989 0% /home
mfs:121 7903 1 7506 0% /tmp
dhcp135# uname -a
NetBSD dhcp135 1.6 NetBSD 1.6 (GENERIC) #0: Sun Sep 8 11:55:46 UTC 2002 autobuild@cs20.apochromatic.org:/autobuilder/build/sparc64/OBJ/autobuilder/build/src/sys/arch/sparc64/compile/GENERIC sparc64
dhcp135# TERM=xterm
TERM=xterm: Command not found.
dhcp135# echo bloody csh!!!!
bloody csh!!!!
dhcp135# setenv TERM xterm
dhcp135# exec ksh
# set -o emacs
# cat /etc/resolv.conf
# Created by dhclient at: Sat Sep 26 23:11:29 EDT 1970
search weird.com
nameserver 204.92.254.2
nameserver 204.92.254.5
#
--
Greg A. Woods
+1 416 218-0098; <g.a.woods@ieee.org>; <woods@robohack.ca>
Planix, Inc. <woods@planix.com>; VE3TCP; Secrets of the Weird <woods@weird.com>