Subject: Good news for PCI Alpha users!
To: None <port-alpha@NetBSD.ORG>
From: Chris G Demetriou <Chris_G_Demetriou@LAGAVULIN.PDL.CS.CMU.EDU>
List: port-alpha
Date: 05/22/1995 02:57:17
Dig this:
>>>b -fi "netbsd"
(boot dka0.0.0.6.0 -file netbsd -flags A)
block 0 of dka0.0.0.6.0 is a valid boot block
reading 16 blocks from dka0.0.0.6.0
bootstrap code read in
base = 11e000, image_start = 0, image_bytes = 2000
initializing HWRPB at 2000
initializing page table at 110000
initializing machine state
setting affinity to the primary CPU
jumping to bootstrap code
OSF boot - Wed Nov 16 00:10:16 EST 1994
Loading netbsd ...
Current PAL Revision <0x1000000010530>
Switching to OSF PALcode Succeeded
New PAL Revision <0x1000000020123>
Loading into KSEG Address Space
Sizes:
text = 1907072
data = 102768
bss = 74648
Starting at 0xfffffc0000230000
warning: strange number of memory clusters (3).
memory cluster information:
mddt 0:
pfn 0
cnt 8f
test 0
bva 0
bpa 0
bcksum 0
usage 1
mddt 1:
pfn 8f
cnt 1efc
test 1efc
bva 10120000
bpa 3f28000
bcksum fffffffffffff84
usage 0
mddt 2:
pfn 1f8b
cnt 75
test 0
bva 0
bpa 0
bcksum 0
usage 1
unknown system variation 0
argc = 1
argv = 20018620
argv[0] = (20018520) "netbsd"
WARNING: console printf twiddles mappings!
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California. All rights reserved.
NetBSD 1.0A (SCAPA) #71: Sun May 21 22:43:48 EDT 1995
cgd@macallan.dssc.cs.cmu.edu:/usr/src.L/sys/arch/alpha/compile/SCAPA
DEC 2100/A50 ("Avanti"), serial number 0x0 0x0
variation: 0x5, revision 0x0
8192 byte page size, 2 processors.
real mem = 66150400 (1171456 reserved for PROM)
avail mem = 55738368
using 409 buffers containing 3350528 bytes of memory
mainbus0 (root)
cpu0 at mainbus0: EV45 (21064A), UNKNOWN MINOR TYPE (2)
cpu0: VAX FP support, IEEE FP support, reserved bits: 0x4
isa0 at mainbus0
clock0 at isa0 port 0x70-0x71: mc146818 or compatible
com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
lpt0 at isa0 port 0x3bc-0x3c3 irq 7
pci0 at mainbus0
pci0 bus 0 device 6: NCR 810 SCSI not configured
pci0 bus 0 device 7: Intel 82378 SIO (PCI->ISA bridge) not supported
pci0 bus 0 device 11: DEC TGA (21040) graphics not supported
de0 at pci0 bus 0 device 12pci_map_mem: memory mapped at 0x100000-0x101fff
pci_map_mem: virtual 0xfffffc0202000000
pirq = 1
xxx = b800a05
line = a
pci_map_int: pin A mapped to line 10
de0: DC21040 [10Mb/s] pass 2.3 Ethernet address 08:00:2b:e4:17:00
de0: enabling Thinwire/AUI port
stray interrupt 3
changing root device to sd0a
nfs_boot: using network interface 'de0'
nfs_boot: client_addr=0x8002f27e
nfs_boot: server_addr=0x8002c6f1
nfs_boot: hostname=scapa.pdl.cs.cmu.edu
root on lagavulin.pdl.cs.cmu.edu:/usr8/scapa/root
root time: 0x2fc032c6
got clock data:
year: 95
mon: 5
day: 22
hour: 6
min: 45
sec: 28
swap on lagavulin.pdl.cs.cmu.edu:/usr8/scapa/swap
swap size: 0x8000 (blocks)
init: copying out flags `-s' 3
init: copying out path `/sbin/init' 11
Enter pathname of shell or RETURN for sh:
# df
Filesystem 512-blocks Used Avail Capacity Mounted on
lagavulin.pdl.cs.cmu.edu:/usr8/scapa/root 3981786 3551192 32414 99% /
# setting tty flags
starting network
writing to routing socket: Network is unreachable
add host scapa.pdl.cs.cmu.edu: gateway localhost: Network is unreachable
add net default: gateway 128.2.254.36
starting rpc daemons: portmap.
starting system logger, time daemon.
checking for core dump...
savecore: /netbsd: nlist: No such file or directory
savecore: /netbsd: _dumpdev not in namelist
checking quotas: done.
building databases...
kvm_mkdb: /netbsd: No such file or directory
May 22 02:45:50 scapa /netbsd: stray interrupt 3
May 22 02:45:46 scapa savecore: /netbsd: nlist: No such file or directory
May 22 02:45:46 scapa savecore: /netbsd: _dumpdev not in namelist
clearing /tmp
standard daemons: cron.
starting network daemons: routed printer inetd.
starting local daemons:.
runtime link editor directory cache
ldconfig: not found
Mon May 22 02:45:58 EDT 1995
May 22 02:45:59 scapa init: kernel security level changed from 0 to 1
NetBSD/alpha (scapa.pdl.cs.cmu.edu) (console)
login: root
Password:
Last login: Mon May 22 02:41:45 on console
Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994
May 22 02:46:06 scapa login: ROOT LOGIN (root) ON console
The Regents of the University of California. All rights reserved.
NetBSD 1.0A (SCAPA) #71: Sun May 21 22:43:48 EDT 1995
May 22 02:46:06 scapa login: ROOT LOGIN (root) ON console
Terminal type? [unknown]
Don't login as root, use su
scapa#
Yup, that's right, NetBSD on the AlphaStation is actually going
somewhere. 8-)
Note that there are still a lot of caveats:
(1) it's using the PROM as console, because i've not un-kinked
the serial console interface,
(2) no NCR SCSI support yet,
(3) i should be shot in the head for some of the code that i
wrote to make it work; much of the PCI and ISA code
needs a _LOT_ of cleanup...
(4) still no framebuffer support.
(5) as you can tell, a lot of things are still Just Wrong
(e.g. it's only a single-processor box, but the kernel
says that there are two... 8-).
I'm going to hopefully deal with (1) and (3) in the next few days,
then i'll make another kernel snapshot and kick it out so that people
can play with it if they want...
A hearty thanks to Matt Thomas of DEC, for providing a
freely-available 21040 driver that didn't need too much whacking to
make work on the alpha. 8-)
chris