From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,7b3d7b0a5a41dcc4,start X-Google-Attributes: gid111c93,public From: mathog@seqaxp.bio.caltech.edu (David Mathog) Subject: command sequence to rebuild /boot/vmlinux.bootp? Date: 2000/04/20 Message-ID: <8dnm8t$ipn@gap.cco.caltech.edu>#1/1 X-Deja-AN: 613708451 Organization: Biology Division, Caltech, Pasadena CA 91125 Reply-To: mathog@seqaxp.bio.caltech.edu Newsgroups: comp.os.linux.alpha Who knows the magic incantation which will rebuild /boot/vmlinux.bootp _exactly_ as shipped by Redhat? Heck, I'll settle for "will work in a newtork boot"! I've got a modification to bootp.c I want to install, but even with the unmodified bootp.c the build procedures generate unusable bootpfiles. I've tried a variety of things like: % cd /usr/src/linux % make xconfig (turn on root NFS, with or without modules, leave everything else unchanged.) % make dep % make clean % make boot % make bootpfile but the /usr/src/linux/arch/alpha/bootpfile which results will not work when it is downloaded to a remote node in a network boot. I know it starts ok, but fails when it gets into the kernel. I also tried aboot 0.6 with the same result. (And same errors) The best I've been able to do on a network boot is: Root-NFS: No NFS server available, giving up VFS: Unable to mount root fs via NFS, trying floppy Putting the original vmlinux.bootp back into /tftpboot/node0x/boot/vmlinux.bootp allows a network boot. Most of this testing was done on RH 6.2. I also found that I couldn't build /usr/src/linux.configs/kernel-2.2.14-alpha-BOOT.config If I copied that up one level, renamed it .config, did make dep; make clean; make boot the latter threw a ton of errors like: ld -static -T arch/alpha/vmlinux.lds arch/alpha/kernel/head.o init/main.o init/version.o \ --start-group \ arch/alpha/kernel/kernel.o arch/alpha/mm/mm.o kernel/kernel.o mm/mm .o fs/fs.o ipc/ipc.o arch/alpha/math-emu/math-emu.o \ fs/filesystems.a \ net/network.a \ drivers/block/block.a drivers/char/char.a drivers/misc/misc.a drivers/net/net.a drivers/scsi/scsi.a drivers/cdrom/cdrom.a d\ /usr/src/linux/arch/alpha/lib/lib.a /usr/src/linux/lib/lib.a /usr/ src/linux/arch/alpha/lib/lib.a \ --end-group \ -o vmlinux init/main.o: In function `start_kernel': main.c(.text.init+0x9a4): undefined reference to `dquot_init_hash' main.c(.text.init+0x9a8): undefined reference to `dquot_init_hash' init/main.o: In function `checksetup': main.c(.data.init+0x2f8): undefined reference to `nfs_root_setup' main.c(.data.init+0x308): undefined reference to `ip_auto_config_setup' main.c(.data.init+0x318): undefined reference to `ip_auto_config_setup' arch/alpha/kernel/kernel.o: In function `sys_sigreturn': etc. The .config file which was in /usr/src/linux after the upgrade to 6.2 built without these errors (even if it doesn't work as a vmlinux.bootp.) Thanks, David Mathog mathog@seqaxp.bio.caltech.edu Manager, sequence analysis facility, biology division, Caltech