Subject: got a DS10 booting diskless to single user mode!
To: None <>
From: Luke Mewburn <>
List: port-alpha
Date: 11/13/1999 00:30:48
hi people.

i got the DS10 booting diskless to single user mode! it only 
seemed to require adding:
	if (PCI_VENDOR(pa->pa_id) == PCI_VENDOR_ALI &&
	    PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_ALI_M1543)
		return (1);
to siomatch() (as hinted at by ross/thorpej/mrg).

i've attached the dmesg at the end.

i actually spent more time trying to get netbooting going, only to discover
(after putting in a LOT of debug stuff into the netboot code) that UDP
checksums were failing, so i compiled them up with -DUDP_NO_CKSUM. it
was really annoying tracking this down, so i might move the `checksum
failed' message outside of #ifdef NET_DEBUG so that other people get
some clue on what's happening.

anyway, i hope that this is all that's required to get it going.

COMPAQ AlphaServer DS10 466 MHz Console V5.5-5, Sep  1 1999 09:05:08
>>>boot ewa0 -proto bootp
(boot ewa0. -flags a)

Trying BOOTP boot.

Broadcasting BOOTP Request...
Received BOOTP Packet File Name is: netbsd/netboot.alpha
local inet address:
remote inet address:
TFTP Read File Name: netbsd/netboot.alpha
netmask =
Server is on same subnet as client.
bootstrap code read in
base = 200000, image_start = 0, image_bytes = f538
initializing HWRPB at 2000
initializing page table at 7f8a000
initializing machine state
setting affinity to the primary CPU
jumping to bootstrap code

NetBSD/alpha 1.4M Network Bootstrap, Revision 1.7
(, Nov 12 23:56:37 EST 1999)

VMS PAL rev: 0x100370001013b
OSF PAL rev: 0x1003300020133
Switch to OSF PAL code succeeded.

Boot flags: a
boot: ethernet address: 08:00:2b:86:2f:dd
boot: client addr:
boot: client name:
boot: subnet mask:
boot: net gateway:
boot: server addr:
boot: server path: /netbsd/diskless/alpha
3109304+249812 [85+192504+105631]=0x37d200

Entering netbsd at 0xfffffc00003011a0...
[ preserving 299120 bytes of netbsd ELF symbol table ]
Copyright (c) 1996, 1997, 1998, 1999
    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.4M (DS10) #3: Fri Nov 12 18:34:38 EST 1999
COMPAQ AlphaServer DS10 466 MHz
8192 byte page size, 1 processor.
total memory = 128 MB
(2528 KB reserved for PROM, 125 MB used by NetBSD)
avail memory = 112 MB
using 816 buffers containing 6528 KB of memory
mainbus0 (root)
cpu0 at mainbus0: ID 0 (primary), 21264-4 (pass 3)
tsc0 at mainbus0: 21272 Core Logic Chipset, Cchip rev 0
tsc0: 2 Dchips, 1 memory bus of 16 bytes
tsc0: arrays present: 128MB, 0MB, 0MB, 0MB, Dchip 0 rev 1
tsp0 at tsc0
pci0 at tsp0 bus 0
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
ohci0 at pci0 dev 1 function 0: Acer Labs M5237 USB Host Controller (rev. 0x03)
intr_map: line=0xea, no mapping for 0/1/0
ohci0: couldn't map interrupt
sio0 at pci0 dev 7 function 0: Acer Labs M1543 PCI-ISA Bridge (rev. 0xc3)
de0 at pci0 dev 9 function 0
de0: interrupting at dec_6600 irq 29
de0: DEC 21143 [10-100Mb/s] pass 4.1
de0: address 08:00:2b:86:2f:dd
de0: enabling 10baseT port
de1 at pci0 dev 11 function 0
de1: interrupting at dec_6600 irq 30
de1: DEC 21143 [10-100Mb/s] pass 4.1
de1: address 08:00:2b:86:2f:dc
de1: enabling 10baseT port
pciide0 at pci0 dev 13 function 0: Acer Labs M5229 UDMA IDE Controller
pciide0: bus-master DMA support present
pciide0: primary channel wired to compatibility mode
atapibus0 at pciide0 channel 0
cd0 at atapibus0 drive 0: <COMPAQ  CDR-8435, , 0013> type 5 cdrom removable
cd0: 32-bits data port
cd0: drive supports PIO mode 4, DMA mode 2
cd0(pciide0:0:0): using PIO mode 4, DMA mode 2 (using DMA data transfers)
pciide0: secondary channel wired to compatibility mode
wd0 at pciide0 channel 1 drive 0: <FUJITSU MPD3108AT>
wd0: drive supports 16-sector pio transfers, lba addressing
wd0: 9541MB, 16383 cyl, 16 head, 63 sec, 512 bytes/sect x 19541088 sectors
wd0: 32-bits data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 4
wd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2 (using DMA data transfers)
isa0 at sio0
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com0: console
com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
lpt0 at isa0 port 0x3bc-0x3bf irq 7
pckbc0 at isa0 port 0x60-0x64
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
isabeep0 at pcppi0
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
mcclock0 at isa0 port 0x70-0x71: mc146818 or compatible
nfs_boot: trying DHCP/BOOTP
nfs_boot: DHCP server:
nfs_boot: my_addr=
nfs_boot: my_mask=
nfs_boot: gateway=
root on
root file system type: nfs
swapctl: Cannot open `/etc/fstab': No such file or directory
Automatic boot in progress: starting file system checks.
fsck: Cannot open `/etc/fstab': No such file or directory
fsck: Can't open checklist file: /etc/fstab

Automatic file system check failed; help!
Enter pathname of shell or RETURN for sh:
Don't login as root, use the su command.
No entry for terminal type "dumb";
using dumb terminal settings.