Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Nov 1998 19:51:21 -0500 (EST)
From:      Andrew Gallatin <gallatin@cs.duke.edu>
To:        freebsd-alpha@FreeBSD.ORG
Subject:   srm disk booting problem
Message-ID:  <13896.55574.630436.734033@grasshopper.cs.duke.edu>

next in thread | raw e-mail | index | archive | help

I'm having a problem with booting off a disk on an AS500/266.
srm_disk's bd_open() function is failing on the first call because
lp->d_magic != DISKMAGIC. 

I've found that if I alter bd_open to ignore this & continue on,
things work just fine.  Successive calls to bd_open in the same
bootup have no problems with the label. This is on both warm & cold
boots.  I've tried inserting both delay()'s & memory barriers after
the call to bd_strategy().  Somebody's borrowed my copy of the Alpha
architecture handbook, so I'm flying blind here...

I should mention that I've also re-installed the disklabel using
FreeBSD's /sbin/disklabel & FreeBSD's boot1 (label was initially
installed with Digital UNIX 4.0.).  Neither the kernel, nor the
FreeBSD /sbin/disklabel nor the Digital UNIX /sbin/disklabel has any
problem with the disklabel's magic number.

I've appended output from a cold boot in case anybody has any ideas.

Thanks,

Drew

------------------------------------------------------------------------------
Andrew Gallatin, Sr Systems Programmer	http://www.cs.duke.edu/~gallatin
Duke University				Email: gallatin@cs.duke.edu
Department of Computer Science		Phone: (919) 660-6590


*** keyboard not plugged in...
ff.fe.fd.fc.fb.fa.f9.f8.f7.f6.f5.
ef.ee.ed.ec.eb.ea.e9.f4.e8.e7.e6.e5.e4.
 Digital AlphaStation 500/266 Console V6.0-21
        built on Apr 25 1996 at 14:48:02
>>>show dev
dka0.0.0.9.0               DKA0               SEAGATE ST15150W  0023
dka100.1.0.9.0             DKA100             SEAGATE ST32171W  0484
dka400.4.0.9.0             DKA400                        RRD45  1645
dva0.0.0.0.1               DVA0                               
ewa0.0.0.6.0               EWA0              00-00-F8-20-EA-11
ewb0.0.0.8.0               EWB0              00-00-F8-00-1A-46
pka0.7.0.9.0               PKA0                  SCSI Bus ID 7  2.10
>>>b dka100
(boot dka100.1.0.9.0 -flags A)
block 0 of dka100.1.0.9.0 is a valid boot block
reading 14 blocks from dka100.1.0.9.0
bootstrap code read in
base = 136000, image_start = 0, image_bytes = 1c00
initializing HWRPB at 2000
initializing page table at 128000
initializing machine state
setting affinity to the primary CPU
jumping to bootstrap code
Console: SRM firmware console
VMS PAL rev: 0x1000000010112
OSF PAL rev: 0x1000000020115
Switch to OSF PAL code succeeded.

FreeBSD/alpha SRM disk boot, Revision 0.1
(gallatin@muggy.cs.duke.edu, Tue Nov 10 19:30:45 EST 1998)
Memory: 131072 k
bd_open: unit = 0x0, name =SCSI 0 9 0 1 100 0 0
bd_open: no disklabel
bd_open: lp->d_magic = 0xe4400007
bd_open: winging it
bd_open: unit = 0x0, name =SCSI 0 9 0 1 100 0 0
> autoboot 2
Hit [Enter] to boot immediately, or any other key for command prompt.
Booting [kernel]...               
bd_open: unit = 0x0, name =SCSI 0 9 0 1 100 0 0
bd_open: unit = 0x0, name =SCSI 0 9 0 1 100 0 0
bd_open: unit = 0x0, name =SCSI 0 9 0 1 100 0 0
bd_open: unit = 0x0, name =SCSI 0 9 0 1 100 0 0
bd_open: unit = 0x0, name =SCSI 0 9 0 1 100 0 0
bd_open: unit = 0x0, name =SCSI 0 9 0 1 100 0 0
bd_open: unit = 0x0, name =SCSI 0 9 0 1 100 0 0
bd_open: unit = 0x0, name =SCSI 0 9 0 1 100 0 0
/kernel data=0x247388+0x3a1c8 syms=[0x8+0x433e0+0x8+0x27ab1]
Entering kernel at 0xfffffc00003245e0...
Copyright (c) 1992-1998 FreeBSD Inc.
Copyright (c) 1982, 1986, 1989, 1991, 1993
        The Regents of the University of California. All rights reserved.
FreeBSD 3.0-CURRENT #1: Tue Nov 10 18:29:49 EST 1998
    gallatin@muggy.cs.duke.edu:/usr/src/sys/compile/ALPHATPZ
AlphaStation 500 or 600 (KN20AA)
Digital AlphaStation 500/266, 266MHz
8192 byte page size, 1 processor.
real memory  = 131989504 (128896K bytes)
avail memory = 122454016 (119584K bytes)
Preloaded elf kernel "kernel" at 0xfffffc00005f0000.
cia0: <2117x PCI adapter>
cia0: ALCOR/ALCOR2, pass 2
isa0
Probing for devices on PCI bus 0:
de0: <Digital 21040 Ethernet> rev 0x24 int a irq 13 on pci0.6.0
de0: DEC 21040 [10Mb/s] pass 2.4
de0: address 00:00:f8:20:ea:11
de1: <Digital 21140 Fast Ethernet> rev 0x11 int a irq 16 on pci0.8.0
de1: DEC DE500-XA 21140 [10-100Mb/s] pass 1.1
de1: address 00:00:f8:00:1a:46
Qlogic ISP Driver, FreeBSD CAM Version 0.97, Core Version 1.3
isp0: <Qlogic ISP 10X0 PCI SCSI Adapter> rev 0x02 int a irq 12 on pci0.9.0
isp0: using Memory space register mapping
isp0: Board Revision 1020A, loaded F/W Revision 7.55
isp0: Last F/W revision was 2.10
isp0: invalid NVRAM header
chip0: <Intel 82375EB PCI-EISA bridge> rev 0x05 on pci0.10.0
mlanai0: <Myrinet PCI interface> rev 0x01 int a irq 4 on pci0.12.0
tpz0: Myrinet LANai 4.1 address 00:60:dd:e0:00:d0 (M2F-PCI32-10208)
tpz0: Duke TPZ/IP driver version $Id: if_tpz.c,v 1.9 1998/06/25 14:30:20 gallatin Exp $
mcclock0: <MC146818A real time clock> at 0x70-0x71 on isa0
sio0 at 0x3f8-0x3ff irq 4 on isa0
sio0: type 16550A, console
sio1: reserved for low-level i/o
sio1 not found
struct nfssvc_sock bloated (> 256bytes)
Try reducing NFS_UIDHASHSIZ
struct nfsuid bloated (> 128bytes)
Try unionizing the nu_nickname and nu_flag fields
Timecounter "alpha"  frequency 266666666 Hz
isp0: driver initiated bus reset
de1: enabling 100baseTX port
da1 at isp0 bus 0 target 1 lun 0
da1: <SEAGATE ST32171W 0484> Fixed Direct Access SCSI2 device 
da1: 20.0MB/s transfers (10.0MHz, offset 12, 16bit), Tagged Queueing Enabled
da1: 2062MB (4223444 512 byte sectors: 255H 63S/T 262C)
da0 at isp0 bus 0 target 0 lun 0
da0: <SEAGATE ST15150W 0023> Fixed Direct Access SCSI2 device 
da0: 20.0MB/s transfers (10.0MHz, offset 12, 16bit), Tagged Queueing Enabled
da0: 4095MB (8388315 512 byte sectors: 255H 63S/T 522C)
cd0 at isp0 bus 0 target 4 lun 0
cd0: <DEC RRD45   (C) DEC 1645> Removable CD-ROM SCSI2 device 
cd0: 10.0MB/s transfers (10.0MHz, offset 12)
cd0: Attempt to query device size failed: NOT READY, Medium not present
swapon: adding /dev/sd0b as swap device
swapon: adding /dev/sd1b as swap device
Automatic reboot in progress...
/dev/rsd1a: clean, 31621 free (293 frags, 3916 blocks, 0.5% fragmentation)
/dev/rsd1g: clean, 600361 free (7593 frags, 74096 blocks, 0.8% fragmentation)
...



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-alpha" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?13896.55574.630436.734033>