xfs
[Top] [All Lists]

Re: make install failures whilst installing XFS over 2.4.5

Subject: Re: make install failures whilst installing XFS over 2.4.5
From: "D. Stimits" <stimits@xxxxxxxxxx>
Date: Wed, 27 Jun 2001 12:53:40 -0600
Cc: linux-xfs@xxxxxxxxxxx
References: <20010627062203.23348.qmail@xxxxxxxxxxxxxxxxxx>
Reply-to: stimits@xxxxxxxxxx
Sender: owner-linux-xfs@xxxxxxxxxxx
Yusuf Goolamabbas wrote:
> 
> I usually install a linux kernel by the following mechanism
> 
> untar in appropiate place, rename linux directory to linux-<ver>. Make
> a sym link from /usr/src/linux to that dir. cd to /usr/src/linux
> make menuconfig ; make dep;make clean ; make bzImage ; make modules ;
> make modules_install ;

Did you actually copy bzImage to /boot/vmlinuz-2.4.2-SGI_XFS_1.0? It is
a silly thing to ask, it sounds like the filesystem didn't see it, but
first its good to know for sure it was definitely put there (didn't see
that in the procedures above).

D. Stimits, stimits@xxxxxxxxxx

> 
> Edit /etc/lilo.conf to add a new stanza for this kernel
> 
> Then type make install
> 
> This has worked for a long time for me with stock kernels, linus pre
> kernels and ac kernels
> 
> When I tried the same with 2.4.5 and the XFS patches with the
> following lilo.conf
> 
> boot=/dev/sda
> map=/boot/map
> install=/boot/boot.b
> prompt
> timeout=50
> message=/boot/message
> linear
> #default=linux
> 
> image=/boot/vmlinuz-2.4.5-xfs
>         label=new
>         read-only
>         root=/dev/sda8
>         append="ramdisk_size=2500"
> 
> image=/boot/vmlinuz-2.4.2-SGI_XFS_1.0
>         label=linux
>         initrd=/boot/initrd-2.4.2-SGI_XFS_1.0.img
>         read-only
>         root=/dev/sda8
>         append="ramdisk_size=2500"
> 
> I got this error when I did make install
> 
> objcopy -O binary -R .note -R .comment -S compressed/bvmlinux 
> compressed/bvmlinux.out
> tools/build -b bbootsect bsetup compressed/bvmlinux.out CURRENT > bzImage
> Root device is (8, 8)
> Boot sector 512 bytes.
> Setup is 2400 bytes.
> System is 974 kB
> sh -x ./install.sh 2.4.5-xfs bzImage /usr/src/linux-2.4.5/System.map ""
> + '[' -x /sbin/installkernel ']'
> + '[' -f /vmlinuz ']'
> + mv /vmlinuz /vmlinuz.old
> + '[' -f /System.map ']'
> + mv /System.map /System.old
> + cat bzImage
> + cp /usr/src/linux-2.4.5/System.map /System.map
> + '[' -x /sbin/lilo ']'
> + /sbin/lilo
> Fatal: open /boot/vmlinuz-2.4.5-xfs: No such file or directory
> make[1]: *** [install] Error 1
> make[1]: Leaving directory `/usr/src/linux-2.4.5/arch/i386/boot'
> make: *** [install] Error 2
> 
> I reinstalled stock RH 7.1 and did a plain 2.4.5 upgrade with the
> above mechanism [changing the image line to /boot/vmlinuz-2.4.5] and
> it works perfectly.
> 
> I can ofcourse copy the image and system map from the kernel source
> dir to the right places and run lilo by hand but I am surprised as to
> why the usual "make install" mechanisms breaks. Maybe I am doing
> kernel builds incorrectly. I can't remember when I started doing it
> this way or if this is the correct way
> 
> Any insight would be appreciated
> 
> Regards, Yusuf
> 
> --
> Yusuf Goolamabbas
> yusufg@xxxxxxxxxxxx

<Prev in Thread] Current Thread [Next in Thread>