Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
From: mathog@seqaxp.bio.caltech.edu (David Mathog)
Subject: command sequence to rebuild /boot/vmlinux.bootp?
Date: 2000/04/20	[thread overview]
Message-ID: <8dnm8t$ipn@gap.cco.caltech.edu> (raw)

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 



                 reply	other threads:[~2000-04-20  4:00 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox