From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,84e4d849a8ef6673,start X-Google-Attributes: gid111c93,public From: cwhuang Subject: Kernel 2.1.x boot problem Date: 1998/05/19 Message-ID: #1/1 X-Deja-AN: 354538769 Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Organization: National Taiwan University Newsgroups: comp.os.linux.alpha Recently I got a alpha box (UDB) and tried to install Red Hat 5.0 on it. It seemed run fine! For some new features only available on the developement kernel, I decided to upgrade to kernel 2.1.102. I compiled the kernel and modules successfully. However, when I tried to boot it, it failed to boot from MILO. (I boot the alpha linux from Windows NT ARC). I have referred to Alpha MILO HOWTO, but it didn't help. I think I have to upgrade the MILO to support the developement kernel. The MILO HOWTO said there is a pre-built binary of MILO on gatekeeper.dec.com. But when I went to that ftp site, there is no pre-built binary in the v2.1 subdirectory. I got the source milo-2.1.13.tar.gz and tried to build myself. However, it failed again! The compiler gave: ftp:/usr/src/milo-2.1.13# make KSRC=/usr/src/linux gcc -D__KERNEL__ -D__linux__ -O2 -Wall -mno-fp-regs -DPALCODE_AT=0xfffffc00002 00000 -DLOADER_AT=0xfffffc0000500000 -DSTUB_AT=0xfffffc0000210000 -DDECOMP_PALBA SE=0x300000 -DDECOMP_BASE=0x300B00 -DPALCODE_SIZE=0x10000 -DLOADER_SIZE=0x20000 -DDC21164 -I. -Ix86 -Ifs -I/usr/src/linux/include -I/usr/src/linux -Ipalcode/e b164/ -c -o relocate.o relocate.c In file included from relocate.c:38: /usr/src/linux/include/linux/bios32.h:11: warning: #warning This driver uses the old PCI interface, please fix it (see Documentation/pci.txt) In file included from /usr/src/linux/include/linux/sched.h:442, from /usr/src/linux/include/linux/mm.h:4, from relocate.c:35: /usr/src/linux/include/asm/current.h:4: global register variable follows a funct ion definition /usr/src/linux/include/asm/current.h:4: warning: call-clobbered register used fo r global register variable make: *** [relocate.o] Error 1 I didn't know what's wrong..... Could you tell me where to find the pre-built binary of MILO for v2.1.x? Or how to build it myself? Your answer is appreciation -- C.W.Huang Coordinator of Linux HOWTOs Chinese Translation http://www.phys.ntu.edu.tw/~cwhuang/pub/os/linux/CLDP/ CLDP mailing list: ldp-trans@linux.org.tw