Subject: Re: Trying to boot a AlphaServer 1200
To: None <port-alpha@netbsd.org>
From: Torsten Harenberg <harenberg@physik.uni-wuppertal.de>
List: port-alpha
Date: 03/08/2007 14:55:20
Dear all,

coming back to my problem booting an old AlphaServer 1200, I set up a  
netboot environment now and tried a -current kernel (src from today)  
with a lot of DEBUG* options on.

Here's what I get with this:

P00>>>b -proto bootp ewa0
(boot ewa0.0.0.3.0 -flags A)

Trying BOOTP boot.

Broadcasting BOOTP Request...
Received BOOTP Packet File Name is: /boot
local inet address: 192.168.2.3
remote inet address: 192.168.2.100
TFTP Read File Name: /boot
netmask = 255.255.255.0
Server is on same subnet as client.
..
bootstrap code read in
Building FRU table
base = 200000, image_start = 0, image_bytes = e6f0
initializing HWRPB at 2000
initializing page table at 1f2000
initializing machine state
setting affinity to the primary CPU
jumping to bootstrap code

NetBSD/alpha 3.0_STABLE Network Bootstrap, Revision 1.9
(root@wpdu2.physik.uni-wuppertal.de, Sat May  6 05:46:44 CEST 2006)

VMS PAL rev: 0x4000200010115
OSF PAL rev: 0x4000200020117
Switch to OSF PAL code succeeded.

Boot flags: A
boot: ethernet address: 00:00:f8:10:cb:2c
net_open: client addr: 192.168.2.3
net_open: subnet mask: 255.255.255.0
net_open: net gateway: 192.168.2.100
net_open: server addr: 192.168.2.100
net_open: server path: /export
net_open: file name: /boot
boot: client addr: 192.168.2.3
boot: client name: wpos18
boot: subnet mask: 255.255.255.0
boot: net gateway: 192.168.2.100
boot: server addr: 192.168.2.100
boot: server path: /export
9077824Mar  8 15:03:11 wpdu2 /netbsd: com0: 38 silo overflows, 0 ibuf  
floods
+376720 [444792+290411]=0x9b8238

Entering netbsd at 0xfffffc0000301310...
io: freeing from 0x0 to 0xffff
io: freeing from 0x10000 to 0x1ffffff
extent `mcpcia_bus_io' (0x0 - 0xffffffff), flags = 0x1
      0x2000000 - 0xfffffffe
dmem: freeing from 0x0 to 0x7fffffff
extent `mcpcia_bus_dmem' (0x0 - 0xffffffffffffffff), flags = 0x1
      0x80000000 - 0xfffffffffffffffe
smem: freeing from 0x0 to 0xffffff
smem: freeing from 0x1000000 to 0x7ffffff
extent `mcpcia_bus_smem' (0x0 - 0xffffffffffffffff), flags = 0x1
      0x8000000 - 0xfffffffffffffffe
io: allocating 0x3f8 to 0x3ff
                              Loaded initial symtab at  
0xfffffc0000c043d0, strta6
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,  
2005,
     2006, 2007
     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 4.99.13 (GENERIC-$Revision: 1.311 $) #1: Thu Mar  8 14:55:22  
CET 2007
         root@wpdu2.physik.uni-wuppertal.de:/usr/current/alphaobj/sys/ 
arch/alpha8
DIGITAL Ultimate Workstation 533au2, 531MHz, s/n AY84554866
8192 byte page size, 2 processors.
total memory = 512 MB
(2064 KB reserved for PROM, 509 MB used by NetBSD)
avail memory = 492 MB
mainbus0 (root)
cpu0 at mainbus0: ID 0 (primary), 21164A-2
cpu0: VAX FP support, IEEE FP support, Primary Eligible
cpu0: Architecture extensions: 1<BWX>
cpu1 at mainbus0: ID 1, 21164A-2
cpu1: VAX FP support, IEEE FP support
cpu1: processor off-line; multiprocessor support not present in kernel
mcbus0 at mainbus0: 4MB BCache
mcmem0 at mcbus0 mid 1: Memory
mcpcia0 at mcbus0 mid 5: PCI Bridge
io: freeing from 0x0 to 0xffff
io: freeing from 0x10000 to 0x1ffffff
extent `mcpcia_bus_io' (0x0 - 0xffffffff), flags = 0x1
      0x2000000 - 0xfffffffe
dmem: freeing from 0x0 to 0x7fffffff
extent `mcpcia_bus_dmem' (0x0 - 0xffffffffffffffff), flags = 0x1
      0x80000000 - 0xfffffffffffffffe
smem: freeing from 0x0 to 0xffffff
smem: freeing from 0x1000000 to 0x7ffffff
extent `mcpcia_bus_smem' (0x0 - 0xffffffffffffffff), flags = 0x1
      0x8000000 - 0xfffffffffffffffe
mcpcia0: Horse Revision 3, Left Handed Saddle Revision 0, CAP Revision 2
pci0 at mcpcia0 bus 0
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
siop0 at pci0 dev 1 function 0: PCI configuration registers:
   Common header:
     0x00: 0x00011000 0x02000147 0x01000002 0x0000ff00

     Vendor Name: Symbios Logic (0x1000)
     Device Name: 53c810 (0x0001)
     Command register: 0x0147
       I/O space accesses: on
       Memory space accesses: on
       Bus mastering: on
       Special cycles: off
       MWI transactions: off
       Palette snooping: off
       Parity error checking: on
       Address/data stepping: off
       System error (SERR): on
       Fast back-to-back transactions: off
       Interrupt disable: off
     Status register: 0x0200
       Capability List support: off
       66 MHz capable: off
       User Definable Features (UDF) support: off
       Fast back-to-back capable: off
       Data parity error detected: off
       DEVSEL timing: medium (0x1)
       Slave signaled Target Abort: off
       Master received Target Abort: off
       Master received Master Abort: off
       Asserted System Error (SERR): off
       Parity error detected: off
     Class Name: mass storage (0x01)
     Subclass Name: SCSI (0x00)
     Interface: 0x00
     Revision ID: 0x02
     BIST: 0x00
     Header Type: 0x00 (0x00)
     Latency Timer: 0xff
     Cache Line Size: 0x00

   Type 0 ("normal" device) header:
     0x10: 0x01fffd01 0x07fdde00 0x00000000 0x00000000
     0x20: 0x00000000 0x00000000 0x00000000 0x00000000
     0x30: 0x00000000 0x00000000 0x00000000 0x00000104

     Base address register at 0x10
       type: 32-bit i/o
       base: 0x01fffd00, size: 0x00000100
     Base address register at 0x14
       type: 32-bit nonprefetchable memory
       base: 0x07fdde00, size: 0x00000100
     Base address register at 0x18
       not implemented(?)
     Base address register at 0x1c
       not implemented(?)
     Base address register at 0x20
       not implemented(?)
     Base address register at 0x24
       not implemented(?)
     Cardbus CIS Pointer: 0x00000000
     Subsystem vendor ID: 0x0000
     Subsystem ID: 0x0000
     Expansion ROM Base Address: 0x00000000
     Reserved @ 0x34: 0x00000000
     Reserved @ 0x38: 0x00000000
     Maximum Latency: 0x00
     Minimum Grant: 0x00
     Interrupt pin: 0x01 (pin A)
     Interrupt line: 0x04

   Device-dependent header:
     0x40: 0x00000000 0x00000000 0x00000000 0x00000000
     0x50: 0x00000000 0x00000000 0x00000000 0x00000000
     0x60: 0x00000000 0x00000000 0x00000000 0x00000000
     0x70: 0x00000000 0x00000000 0x00000000 0x00000000
     0x80: 0x000000c0 0x1f000000 0x00050000 0x020f0080
     0x90: 0xffffffff 0xffffff00 0x2031f000 0xc0001d04
     0xa0: 0x00000000 0x00000000 0x00000000 0x00000000
     0xb0: 0xfffffe38 0x2000007f 0x01000000 0x00fffe38
     0xc0: 0x00000000 0x0f000000 0x00000000 0x00000007
     0xd0: 0xffff0000 0xffff0000 0xffff0000 0x96010769
     0xe0: 0xffffffff 0xffffffff 0xffffffff 0xffffffff
     0xf0: 0xffffffff 0xffffffff 0xffffffff 0xffffffff

     Don't know how to pretty-print device-dependent header.

Symbios Logic 53c810 (SCSI mass storage, revision 0x02) at ? dev 1  
function 0 ()
mem: allocating 0x7fdde00 to 0x7fddeff
mem: need dense, need sparse
io: allocating 0x1fffd00 to 0x1fffdff
siop0: interrupting at kn300 irq 36
scsibus0 at siop0: 8 targets, 8 luns per target
isp0 at pci0 dev 2 function 0: PCI configuration registers:
   Common header:
     0x00: 0x10201077 0x02000147 0x01000005 0x0000f810

     Vendor Name: QLogic (0x1077)
     Device Name: ISP1020 (0x1020)
     Command register: 0x0147
       I/O space accesses: on
       Memory space accesses: on
       Bus mastering: on
       Special cycles: off
       MWI transactions: off
       Palette snooping: off
       Parity error checking: on
       Address/data stepping: off
       System error (SERR): on
       Fast back-to-back transactions: off
       Interrupt disable: off
     Status register: 0x0200
       Capability List support: off
       66 MHz capable: off
       User Definable Features (UDF) support: off
       Fast back-to-back capable: off
       Data parity error detected: off
       DEVSEL timing: medium (0x1)
       Slave signaled Target Abort: off
       Master received Target Abort: off
       Master received Master Abort: off
       Asserted System Error (SERR): off
       Parity error detected: off
     Class Name: mass storage (0x01)
     Subclass Name: SCSI (0x00)
     Interface: 0x00
     Revision ID: 0x05
     BIST: 0x00
     Header Type: 0x00 (0x00)
     Latency Timer: 0xf8
     Cache Line Size: 0x10

   Type 0 ("normal" device) header:
     0x10: 0x01fffe01 0x07fde000 0x00000000 0x00000000
     0x20: 0x00000000 0x00000000 0x00000000 0x00000000
     0x30: 0x07fe0000 0x00000000 0x00000000 0x00000108

     Base address register at 0x10
       type: 32-bit i/o
       base: 0x01fffe00, size: 0x00000100
     Base address register at 0x14
       type: 32-bit nonprefetchable memory
       base: 0x07fde000, size: 0x00001000
     Base address register at 0x18
       not implemented(?)
     Base address register at 0x1c
       not implemented(?)
     Base address register at 0x20
       not implemented(?)
     Base address register at 0x24
       not implemented(?)
     Cardbus CIS Pointer: 0x00000000
     Subsystem vendor ID: 0x0000
     Subsystem ID: 0x0000
     Expansion ROM Base Address: 0x07fe0000
     Reserved @ 0x34: 0x00000000
     Reserved @ 0x38: 0x00000000
     Maximum Latency: 0x00
     Minimum Grant: 0x00
     Interrupt pin: 0x01 (pin A)
     Interrupt line: 0x08

   Device-dependent header:
     0x40: 0x00000007 0x00000000 0x00000000 0x00000000
     0x50: 0x00000000 0x00000000 0x00000000 0x00000000
     0x60: 0x00000000 0x00000000 0x00000000 0x00000000
     0x70: 0x00000000 0x00000000 0x00000000 0x00000000
     0x80: 0x10201077 0x02000147 0x01000005 0x0000f810
     0x90: 0x01fffe01 0x07fde000 0x00000000 0x00000000
     0xa0: 0x00000000 0x00000000 0x00000000 0x00000000
     0xb0: 0x07fe0000 0x00000000 0x00000000 0x00000108
     0xc0: 0x00000007 0x00000000 0x00000000 0x00000000
     0xd0: 0x00000000 0x00000000 0x00000000 0x00000000
     0xe0: 0x00000000 0x00000000 0x00000000 0x00000000
     0xf0: 0x00000000 0x00000000 0x00000000 0x00000000

     Don't know how to pretty-print device-dependent header.

QLogic ISP1020 (SCSI mass storage, revision 0x05) at ? dev 2 function  
0 (intrswf
mem: allocating 0x7fde000 to 0x7fdefff
mem: need dense, need sparse
: QLogic 1020 Fast Wide SCSI HBA
isp0: interrupting at kn300 irq 40
scsibus1 at isp0: 16 targets, 8 luns per target
esiop0 at pci0 dev 4 function 0: PCI configuration registers:
   Common header:
     0x00: 0x000c1000 0x02000147 0x01000001 0x0000ff10

     Vendor Name: Symbios Logic (0x1000)
     Device Name: 53c895 (0x000c)
     Command register: 0x0147
       I/O space accesses: on
       Memory space accesses: on
       Bus mastering: on
       Special cycles: off
       MWI transactions: off
       Palette snooping: off
       Parity error checking: on
       Address/data stepping: off
       System error (SERR): on
       Fast back-to-back transactions: off
       Interrupt disable: off
     Status register: 0x0200
       Capability List support: off
       66 MHz capable: off
       User Definable Features (UDF) support: off
       Fast back-to-back capable: off
       Data parity error detected: off
       DEVSEL timing: medium (0x1)
       Slave signaled Target Abort: off
       Master received Target Abort: off
       Master received Master Abort: off
       Asserted System Error (SERR): off
       Parity error detected: off
     Class Name: mass storage (0x01)
     Subclass Name: SCSI (0x00)
     Interface: 0x00
     Revision ID: 0x01
     BIST: 0x00
     Header Type: 0x00 (0x00)
     Latency Timer: 0xff
     Cache Line Size: 0x10

   Type 0 ("normal" device) header:
     0x10: 0x01ffff01 0x07fddf00 0x07fdf000 0x00000000
     0x20: 0x00000000 0x00000000 0x00000000 0x110013e9
     0x30: 0x07ff0000 0x00000000 0x00000000 0x401e0110

     Base address register at 0x10
       type: 32-bit i/o
       base: 0x01ffff00, size: 0x00000100
     Base address register at 0x14
       type: 32-bit nonprefetchable memory
       base: 0x07fddf00, size: 0x00000100
     Base address register at 0x18
       type: 32-bit nonprefetchable memory
       base: 0x07fdf000, size: 0x00001000
     Base address register at 0x1c
       not implemented(?)
     Base address register at 0x20
       not implemented(?)
     Base address register at 0x24
       not implemented(?)
     Cardbus CIS Pointer: 0x00000000
     Subsystem vendor ID: 0x13e9
     Subsystem ID: 0x1100
     Expansion ROM Base Address: 0x07ff0000
     Reserved @ 0x34: 0x00000000
     Reserved @ 0x38: 0x00000000
     Maximum Latency: 0x40
     Minimum Grant: 0x1e
     Interrupt pin: 0x01 (pin A)
     Interrupt line: 0x10

   Device-dependent header:
     0x40: 0x00000000 0x00000000 0x00000000 0x00000000
     0x50: 0x00000000 0x00000000 0x00000000 0x00000000
     0x60: 0x00000000 0x00000000 0x00000000 0x00000000
     0x70: 0x00000000 0x00000000 0x00000000 0x00000000
     0x80: 0x000000c0 0x0b000000 0x00000000 0x02080080
     0x90: 0x0012c590 0xffffff00 0x1031f000 0x07fdf6d0
     0xa0: 0x00000000 0x00000000 0x00000000 0x00000000
     0xb0: 0x00000000 0x20000080 0x01000000 0x00000000
     0xc0: 0x00000000 0x0fd00000 0x00000000 0x00000007
     0xd0: 0x00c00000 0x00c00000 0x00c00000 0x96010469
     0xe0: 0x00000000 0x07fdf750 0x0000ff00 0x80254000
     0xf0: 0x8310c2d0 0x00000001 0x6b414480 0xef7b77bf

     Don't know how to pretty-print device-dependent header.

Symbios Logic 53c895 (SCSI mass storage, revision 0x01) at ? dev 4  
function 0 ()
mem: allocating 0x7fddf00 to 0x7fddfff
mem: need dense, need sparse
io: allocating 0x1ffff00 to 0x1ffffff
mem: allocating 0x7fdf000 to 0x7fdffff
mem: need dense, need sparse
esiop0: using on-board RAM
esiop0: interrupting at kn300 irq 48
esiop0: alloc new tag DSA table at PHY addr 0x80254000
scsibus2 at esiop0: 16 targets, 8 luns per target
mcpcia1 at mcbus0 mid 4: PCI Bridge
mcpcia1: Horse Revision 3, Left Handed Saddle Revision 0, CAP Revision 2
io: allocating 0x20 to 0x21
io: allocating 0xa0 to 0xa1
io: allocating 0x4d0 to 0x4d1
pci1 at mcpcia1 bus 0
pci1: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
pceb0 at pci1 dev 1 function 0: PCI configuration registers:
   Common header:
     0x00: 0x04828086 0x02000007 0x00000015 0x0000f800

     Vendor Name: Intel (0x8086)
     Device Name: 82375EB/SB PCI-EISA Bridge (0x0482)
     Command register: 0x0007
       I/O space accesses: on
       Memory space accesses: on
       Bus mastering: on
       Special cycles: off
       MWI transactions: off
       Palette snooping: off
       Parity error checking: off
       Address/data stepping: off
       System error (SERR): off
       Fast back-to-back transactions: off
       Interrupt disable: off
     Status register: 0x0200
       Capability List support: off
       66 MHz capable: off
       User Definable Features (UDF) support: off
       Fast back-to-back capable: off
       Data parity error detected: off
       DEVSEL timing: medium (0x1)
       Slave signaled Target Abort: off
       Master received Target Abort: off
       Master received Master Abort: off
       Asserted System Error (SERR): off
       Parity error detected: off
     Class Name: prehistoric (0x00)
     Subclass Name: miscellaneous (0x00)
     Interface: 0x00
     Revision ID: 0x15
     BIST: 0x00
     Header Type: 0x00 (0x00)
     Latency Timer: 0xf8
     Cache Line Size: 0x00

   Type 0 ("normal" device) header:
     0x10: 0x00000000 0x00000000 0x00000000 0x00000000
     0x20: 0x00000000 0x00000000 0x00000000 0x00000000
     0x30: 0x00000000 0x00000000 0x00000000 0x00000000

     Base address register at 0x10
       not implemented(?)
     Base address register at 0x14
       not implemented(?)
     Base address register at 0x18
       not implemented(?)
     Base address register at 0x1c
       not implemented(?)
     Base address register at 0x20
       not implemented(?)
     Base address register at 0x24
       not implemented(?)
     Cardbus CIS Pointer: 0x00000000
     Subsystem vendor ID: 0x0000
     Subsystem ID: 0x0000
     Expansion ROM Base Address: 0x00000000
     Reserved @ 0x34: 0x00000000
     Reserved @ 0x38: 0x00000000
     Maximum Latency: 0x00
     Minimum Grant: 0x00
     Interrupt pin: 0x00 (none)
     Interrupt line: 0x00

   Device-dependent header:
     0x40: 0x00f09d60 0x000f1000 0x00000001 0x00000056
     0x50: 0x00000000 0x00000000 0x00000020 0x00000001
     0x60: 0xffff0000 0x0000ffff 0x0000ffff 0x0000ffff
     0x70: 0x0000fffc 0x0000fffc 0x0000fffc 0x0000fffc
     0x80: 0x00000079 0x00000000 0x00000000 0x00000000
     0x90: 0x00000000 0x00000000 0x00000000 0x00000000
     0xa0: 0x00000000 0x00000000 0x00000000 0x00000000
     0xb0: 0x00000000 0x00000000 0x00000000 0x00000000
     0xc0: 0x00000000 0x00000000 0x00000000 0x00000000
     0xd0: 0x00000000 0x00000000 0x00000000 0x00000000
     0xe0: 0x00000000 0x00000000 0x00000000 0x00000000
     0xf0: 0x00000000 0x00000000 0x00000000 0x00000000

     Don't know how to pretty-print device-dependent header.

Intel 82375EB/SB PCI-EISA Bridge (miscellaneous prehistoric, revision  
0x15) at )
io: allocating 0x3c0 to 0x3cf
io: allocating 0x3d0 to 0x3df
mem: allocating 0xa0000 to 0xbffff
mem: need dense, need sparse
io: freeing handle 0x7ffffe7cc0003c0 for 0x10
io: freeing 0x3c0 to 0x3cf
io: freeing handle 0x7ffffe7cc0003d0 for 0x10
io: freeing 0x3d0 to 0x3df
mem: freeing handle 0x7ffffe7c00a0000 for 0x20000
mem: it's at 0xa0000 (dense, sparse)
mem: allocating 0x7f000000 to 0x7fffffff
mem: need dense, want sparse
mem: failed to get sparse (35)

Anybody has a hint what the driver is trying to do?

Maybe this posting here is related:

http://mail-index.netbsd.org/port-alpha/2005/01/17/0001.html

But I haven't seen a reply with the details of the descriped patch.  
Maybe Michael is still reading this list... :-)

Thanks,

    Torsten


<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
<>                                                              <>
<> Torsten Harenberg         harenberg@physik.uni-wuppertal.de  <>
<> Bergische Universitaet                                       <>
<> FB C - Physik             Tel.: +49 (0)202 439-3521          <>
<> Gaussstr. 20              Fax : +49 (0)202 439-2811          <>
<> 42097 Wuppertal                                              <>
<>                                                              <>
<><><><><><><>< Of course it runs NetBSD http://www.netbsd.org ><>