Hi,
I have read the mails concerning failing the 3'rd bootp request in a network
kernel boot.
I question is do some of you smart gyes think i have a Cisco-spanning-tree
problem or a bootp configuration problem?????
Rgds
Henrik
Links:
http://www.xray.mpe.mpg.de/mailing-lists/tru64-unix-managers/2000-06/msg0024
6.html
http://www.xray.mpe.mpg.de/mailing-lists/tru64-unix-managers/1997-03/msg0052
2.html
Problem desciption:
Booting a network loadable kernel errors appear. It looks like the kernel
requests name over BOOTP -any ideas?
The BOOTP setup on LINUX /etc/phcpd.confi (the name has been set to
SAS_GENERIC to try solve the problem):
subnet 172.16.0.0 netmask 255.255.0.0 {
}
host SAS_GENERIC {
hardware ethernet 08:00:2B:C3:E8:34;
fixed-address 172.16.1.46;
filename "/tftpboot/vmunix";
option host-name "SAS_GENERIC";
}
The kernel is made using the folloing scipt that basically strips out tape
stuff:
# Create net boot kernel
#
# /usr/sys/bin/btcreate [-a addlist_file] [-f] [-k config_file] [-m
mfs |
# disk_partition] [-s fslist_file] [-t tape_device]
#
# Avoid tape stuff and use local mktape.sh version
cat /usr/sys/bin/btcreate |
sed 's/^function collect_tape_info/& { date; } \; function dummy/' |
sed 's/^# Now to dump filesystems/exit 0/' |
sed 's/\/usr\/sys\/bin\/mktape/mktape.sh/' > btcreate.sh
chmod +x btcreate.sh
# Avoid tape stuff
cat /usr/sys/bin/mktape |
sed 's/^rm -f ${KERNELTMP}/cp ${KERNELBOOT} \/tmp; exit 0/' >
mktape.sh
chmod +x mktape.sh
# Avoid btxtract
cp /usr/lib/sabt/etc/profile /usr/lib/sabt/etc/profile.org
grep -v btextract /usr/lib/sabt/etc/profile.org >
/usr/lib/sabt/etc/profile
./btcreate.sh -f -k /sys/conf/PETIX -m mfs -t /dev/rmt
The boot output looks like the following (it looks like the mfs file system
fails to materialize).
P00>>>boot ewa
(boot ewa0.0.0.9.1 -flags A)
Trying BOOTP boot.
Broadcasting BOOTP Request...
Received BOOTP Packet File Name is: /tftpboot/petix
local inet address: 172.16.1.46
remote inet address: 172.16.1.204
TFTP Read File Name: /tftpboot/petix
netmask = 255.255.0.0
Server is on same subnet as client.
................................................................
................................................................
................................................................
................................................................
................................................................
...
bootstrap code read in
base = 200000, image_start = 0, image_bytes = 1422720
initializing HWRPB at 2000
initializing page table at 3ff5c000
initializing machine state
setting affinity to the primary CPU
jumping to bootstrap code
Removing from poll queue.
Removing from poll queue.
Secondary boot program - Thu Feb 24 17:33:04 EST 2000
Loading vmunix ...
Loading at 0xfffffc0000230000
Current PAL Revision <0x2003c0001014f>
Switching to OSF PALcode Succeeded
New PAL Revision <0x2003b00020148>
Sizes:
text = 4337776
data = 16659120
bss = 1309168
Starting at 0xfffffc00004c4a90
Broadcasting BOOTP Request
read_alpha_symtab: failure to open vmunix [-1]
Alpha boot: available memory from 0x2890000 to 0x3ff5a000
Digital UNIX V4.0F (Rev. 1229); Mon Jul 31 17:36:49 MET DST 2000
physical memory = 1024.00 megabytes.
available memory = 982.80 megabytes.
using 3921 buffers containing 30.63 megabytes of memory
emx: dynamic addressing enabled
DDR: WARNING: Unable to obtain Device Information Database
Unable to open file /etc/ddr.db
DDR: WARNING: Basic Defaults will be used.
Firmware revision: 5.7-8
PALcode: Digital UNIX version 1.72-59
COMPAQ AlphaServer DS20E 500 MHz
pci1 at nexus
itpsa0 at pci1 slot 7
IntraServer ROM Version V2.0 (c)1998
scsi0 at itpsa0 slot 0
rz0 at scsi0 target 0 lun 0 (LID=0) (DEC RZ2DD-LS (C) DEC 0306)
(Wide16)
rz1 at scsi0 target 1 lun 0 (LID=1) (DEC RZ2DD-LS (C) DEC 0306)
(Wide16)
alt0 at pci1 slot 8
alt0: DEGPA Gigabit Ethernet Interface, hardware address:
00-60-6D-21-15-6D
alt0: Driver Rev = V1.0.12, Chip Rev = 6, Firmware Rev = 11.3.2
alt0: Link up Autonegotiated ReceiveFlowControl
tu0: DECchip 21143: Revision: 3.0
tu0: auto negotiation capable device
tu0 at pci1 slot 9
tu0: DEC TULIP (10/100) Ethernet Interface, hardware address:
08-00-2B-C3-E8-34
tu0: auto negotiation off: selecting 100BaseTX (UTP) port: full
duplex
gpc0 at isa0
PCI device at bus 0, slot 6, function 0 could not be configured:
Vendor ID 0x9004, Device ID 0x7895, Base class 0x1, Sub class 0x0
Sub-VID 0x9004 Sub-DID 0x7895
has no matching entry in the PCI option table
PCI device at bus 0, slot 6, function 1 could not be configured:
Vendor ID 0x9004, Device ID 0x7895, Base class 0x1, Sub class 0x0
Sub-VID 0x9004 Sub-DID 0x7895
pci0 at nexus
isa0 at pci0
gpc1 not probed
ace0 at isa0bed
ace1 at isa0
lp0 at isa0
fdi0 at isa0
fd0 at fdi0 unit 0
ata0 at pci0 slot 105 (slot 5, function 1)
ata0: CYPRESS 82C693
scsi1 at ata0 slot 0
rz8 at scsi1 target 0 lun 0 (LID=2) (COMPAQ CD-224E 9.5B)
ata1 at pci0 slot 205 (slot 5, function 2)
ata1: CYPRESS 82C693
scsi2 at ata1 slot 0
usb0 at pci0 slot 305 (slot 5, function 3)
emx0 at pci0 slot 8
KGPSA-CA : Driver Rev 1.20 : F/W Rev 3.02A1(1.11) : wwn
1000-0000-c922-6aaa
emx0: Using console topology setting of : Fabric
scsi16 at emx0 slot 0
rz129 at scsi16 target 1 lun 0 (LID=11) (DEC HSG80
V85F) (Wide16)
rzb129 at scsi16 target 1 lun 1 (LID=12) (DEC HSG80
V85F) (Wide16)
processor at scsi16 target 5 lun 0 (LID=19) (COMPAQ KGPSA-CA
1.20)
processor at scsi16 target 5 lun 7 (LID=26) (ASE AM KGPSA-CA
)
processor at scsi16 target 7 lun 0 (LID=27) (COMPAQ KGPSA-BC
1.20)
emx1 at pci0 slot 9
KGPSA-CA : Driver Rev 1.20 : F/W Rev 3.02A1(1.11) : wwn
1000-0000-c922-6ba3
emx1: Using console topology setting of : Fabric
scsi17 at emx1 slot 0
rz137 at scsi17 target 1 lun 0 (LID=43) (DEC HSG80
V85F) (Wide16)
rzb137 at scsi17 target 1 lun 1 (LID=44) (DEC HSG80
V85F) (Wide16)
processor at scsi17 target 7 lun 0 (LID=51) (COMPAQ KGPSA-BC
1.20)
Created FRU table binary error log packet
lvm0: configured.
lvm1: configured.
kernel console: ace0
dli: configured
i2c: Server Management Hardware Present
clubase: configured
Booted from Network Interface (BOOTP 1 9 0 0 0 3 0 08-00-2B-C3-E8-34
1)
bootp: request failed, errno=60
netblk.cliipadr 0
whoami: no host name
panic (cpu 0): vfs_mountroot: cannot mount root
syncing disks...
DUMP: problem with specified dumpdev 0x100001, status 19, not used
DUMP: No primary swap, no explicit dumpdev.
Nowhere to put header, giving up.
CP - SAVE_TERM routine to be called
CP - SAVE_TERM exited with hlt_req = 1, r0 = 00000000.00000000
halted CPU 0
halt code = 5
HALT instruction executed
PC = fffffc00004c6720
P00>>>
-------------------------------------------------------------
Output from btcreate log is lited below.
petix:root>cat /var/adm/btcre*
You have started btcreate as follows :
./btcreate.sh -f -k /sys/conf/PETIX -m mfs -t /dev/rmt
Veryfying Kernel Configuration file... Done
SELECTING LOCATION FOR TEMPORARY FILES
The btcreate utility requires 70120 (512 blocks) of disk in the
/usr filesystem for the temporary files that are created during
the process of bootable tape creation.
If you have space constraints in the /usr file system then you
can use disk space in filesystems other than the one /usr/sys is
located on.
When this flag is used all necessary temporary space needed by
btcreate will be used in the specified directory.
Answer yes if you want btcreate to use the space available in /usr/sys.
Answer no if you want btcreate to use some other area for temp files.
BOOTABLE TAPE CREATION
The btcreate utility creates a bootable Standalone System (SAS)
kernel on tape. The SAS kernel has a built-in memory file
system (mfs), which contains the commands, files, and directories
needed to restore the system image.
The btcreate utility prompts you for information. Default answers,
if applicable, are enclosed in square brackets ([]). To select
a default answer, press the Return Key at the prompt. Type q at
any prompt to exit the utility; any information you supplied up to
that point is ignored.
The btcreate utility prompts you for the following:
- name of the a kernel configuration file
- disk partition to contain the SAS kernel
- tape device to use for back up operations
- list of file systems to back up
- list of files and directories to back up
Do you want to continue (y/n) [y]:
SELECTING FILE SYSTEMS
You must specify which file systems you want to include on the tape
device. Each entry consists of the device name, mount point, and
file system type separated by a space or tab as follows.
device_name mount_point fs_type
To help with your selections, information about your local file
systems follows.
root_domain#root / advfs
usr_domain#usr /usr advfs
Press the Return Key after each entry or at the prompt to end input.
Enter your selection:
You chose not to include a file system on the tape device.
Is this correct (y/n) [y]:
CUSTOMIZING THE MINIROOT FILE SYSTEM
You have the option of adding files and directories to the miniroot
file system. Each entry consists of two fields separated by a space
or tab as follows.
file destination
The first field specifies the absolute pathname of the file or directory
on the currently running system. The second column specifies absolute
pathname on the miniroot file system.
Press the Return Key after each entry or at the prompt to end input.
Enter your selection:
You did not select a file or directory to back up.
Is this correct (y/n) [y]:
No files will be added to the miniroot file system.
VERIFYING USER INPUT
This section summarizes your selections. You have the option
of accepting or modifying any selection. If you want to exit
the utility discarding all information gathered, type a q at
the prompt.
Kernel Configuration File specified : /sys/conf/PETIX
Disk Partition : mfs
Tape Drive : nrmt0h
File systems included : no
Miniroot customizations : no
Are the answers correct? (y/n) [y]:
Creating a new kernel...
*** KERNEL CONFIGURATION AND BUILD PROCEDURE ***
Saving /sys/conf/PETIX.BOOTABLE as /sys/conf/PETIX.BOOTABLE.bck
Do you want to edit the configuration file? (y/n) [n]:
*** PERFORMING KERNEL BUILD ***
Working....Tue Aug 1 12:08:37 MET DST 2000
The new kernel is /sys/PETIX.BOOTABLE/vmunix
Moving the new kernel to /usr/sys/bin/vmunix.
vmunix / 30720 mfs nrmt0h PETIX.BOOTABLE /usr/sys/bin
Using mfs; MNT is /var/tmp/mfsmnt2752
cp: /usr/sbin/addvol: No such file or directory
cp: /usr/sbin/rmvol: No such file or directory
cp: /usr/sbin/balance: No such file or directory
cp: /usr/lib/sabt/sbin/custom_install.sh: No such file or directory
cp: /usr/lib/sabt/etc/custom_disklabel_file: No such file or directory
Creating device files on mfs...
MAKEDEV: special file(s) for klog:
klog
MAKEDEV: special file(s) for kcon:
kcon
MAKEDEV: special file(s) for kbinlog:
kbinlog
MAKEDEV: special file(s) for kmem:
kmem
MAKEDEV: special file(s) for mem:
mem
MAKEDEV: special file(s) for null:
null
MAKEDEV: special file(s) for console:
console
MAKEDEV: special file(s) for ws0:
ws0
MAKEDEV: special file(s) for mouse0:
mouse0
MAKEDEV: special file(s) for keyboard0:
keyboard0
MAKEDEV: special file(s) for tty:
tty
MAKEDEV: special file(s) for pty0:
ptyp0 ttyp0 ptyp1 ttyp1 ptyp2 ttyp2 ptyp3 ttyp3 ptyp4 ttyp4 ptyp5 ttyp5
ptyp6 ttyp6 ptyp7
ttyp7 ptyp8 ttyp8 ptyp9 ttyp9 ptypa ttypa ptypb ttypb ptypc ttypc ptypd
ttypd ptype ttype
ptypf ttypf
MAKEDEV: special file(s) for pty1:
ptyq0 ttyq0 ptyq1 ttyq1 ptyq2 ttyq2 ptyq3 ttyq3 ptyq4 ttyq4 ptyq5 ttyq5
ptyq6 ttyq6 ptyq7
ttyq7 ptyq8 ttyq8 ptyq9 ttyq9 ptyqa ttyqa ptyqb ttyqb ptyqc ttyqc ptyqd
ttyqd ptyqe ttyqe
ptyqf ttyqf
MAKEDEV: special file(s) for ptmx:
ptmx_bsd ptm
MAKEDEV: special file(s) for cam:
cam
MAKEDEV: special file(s) for audit:
audit
MAKEDEV: special file(s) for prf:
prf
MAKEDEV: special file(s) for pfcntr:
pfcntr
MAKEDEV: special file(s) for zero:
zero
MAKEDEV: special file(s) for snmpinfo:
snmpinfo
MAKEDEV: special file(s) for lockdev:
lockdev
MAKEDEV: special file(s) for rz0a:
rz0a rrz0a
MAKEDEV: special file(s) for rz0b:
rz0b rrz0b
MAKEDEV: special file(s) for rz0c:
rz0c rrz0c
MAKEDEV: special file(s) for rz0d:
rz0d rrz0d
MAKEDEV: special file(s) for rz0e:
rz0e rrz0e
MAKEDEV: special file(s) for rz0f:
rz0f rrz0f
MAKEDEV: special file(s) for rz0g:
rz0g rrz0g
MAKEDEV: special file(s) for rz0h:
rz0h rrz0h
MAKEDEV: special file(s) for rz129a:
rz129a rrz129a
MAKEDEV: special file(s) for rz129b:
rz129b rrz129b
MAKEDEV: special file(s) for rz129c:
rz129c rrz129c
MAKEDEV: special file(s) for rz129d:
rz129d rrz129d
MAKEDEV: special file(s) for rz129e:
rz129e rrz129e
MAKEDEV: special file(s) for rz129f:
rz129f rrz129f
MAKEDEV: special file(s) for rz129g:
rz129g rrz129g
MAKEDEV: special file(s) for rz129h:
rz129h rrz129h
MAKEDEV: special file(s) for rz137a:
rz137a rrz137a
MAKEDEV: special file(s) for rz137b:
rz137b rrz137b
MAKEDEV: special file(s) for rz137c:
rz137c rrz137c
MAKEDEV: special file(s) for rz137d:
rz137d rrz137d
MAKEDEV: special file(s) for rz137e:
rz137e rrz137e
MAKEDEV: special file(s) for rz137f:
rz137f rrz137f
MAKEDEV: special file(s) for rz137g:
rz137g rrz137g
MAKEDEV: special file(s) for rz137h:
rz137h rrz137h
MAKEDEV: special file(s) for rz1a:
rz1a rrz1a
MAKEDEV: special file(s) for rz1b:
rz1b rrz1b
MAKEDEV: special file(s) for rz1c:
rz1c rrz1c
MAKEDEV: special file(s) for rz1d:
rz1d rrz1d
MAKEDEV: special file(s) for rz1e:
rz1e rrz1e
MAKEDEV: special file(s) for rz1f:
rz1f rrz1f
MAKEDEV: special file(s) for rz1g:
rz1g rrz1g
MAKEDEV: special file(s) for rz1h:
rz1h rrz1h
MAKEDEV: special file(s) for rz8a:
rz8a rrz8a
MAKEDEV: special file(s) for rz8b:
rz8b rrz8b
MAKEDEV: special file(s) for rz8c:
rz8c rrz8c
MAKEDEV: special file(s) for rz8d:
rz8d rrz8d
MAKEDEV: special file(s) for rz8e:
rz8e rrz8e
MAKEDEV: special file(s) for rz8f:
rz8f rrz8f
MAKEDEV: special file(s) for rz8g:
rz8g rrz8g
MAKEDEV: special file(s) for rz8h:
rz8h rrz8h
MAKEDEV: special file(s) for rzb129a:
rzb129a rrzb129a
MAKEDEV: special file(s) for rzb129b:
rzb129b rrzb129b
MAKEDEV: special file(s) for rzb129c:
rzb129c rrzb129c
MAKEDEV: special file(s) for rzb129d:
rzb129d rrzb129d
MAKEDEV: special file(s) for rzb129e:
rzb129e rrzb129e
MAKEDEV: special file(s) for rzb129f:
rzb129f rrzb129f
MAKEDEV: special file(s) for rzb129g:
rzb129g rrzb129g
MAKEDEV: special file(s) for rzb129h:
rzb129h rrzb129h
MAKEDEV: special file(s) for rzb137a:
rzb137a rrzb137a
MAKEDEV: special file(s) for rzb137b:
rzb137b rrzb137b
MAKEDEV: special file(s) for rzb137c:
rzb137c rrzb137c
MAKEDEV: special file(s) for rzb137d:
rzb137d rrzb137d
MAKEDEV: special file(s) for rzb137e:
rzb137e rrzb137e
MAKEDEV: special file(s) for rzb137f:
rzb137f rrzb137f
MAKEDEV: special file(s) for rzb137g:
rzb137g rrzb137g
MAKEDEV: special file(s) for rzb137h:
rzb137h rrzb137h
Getting copy of kernel...
Merging file system into kernel...
Merging sboot into kernel...
pmerge sboot into kernel...
performing dd...
performing cat...
deleting /usr/sys/bin/vmunix.boot.2752...
Moving /usr/sys/bin/vmunix.tmp.2752 to /usr/sys/bin/vmunix.boot.2752...
Received on Tue Aug 01 2000 - 15:24:40 NZST