Re: [Cooker] BUILD of Source Mandrake 7.2 2.2.17-21mdk.src.rpm
I think I know what's going on here. If there was no previous kernel-source package installed, it would complain when compiling split-include, and the cause is obviously missing kernel header. Attached is a patch that hopefully cures this problem (it makes split-include and ksymoops to use headers from SRPM package instead of from stock headers). I consider this a problem since it shouldn't expect people to have kernel-header already installed in order to compile kernel. I have tested kernel-2.2.17-21mdk from MDK7.2, and both kernel-2.4.1-8mdk and kernel22-2.2.18-10mdk from cooker as well, all having the same symptom. Guess nobody has time to make stupid tests like this. :) Abel Cheung PS I avoided modifying spec, but it's ok to modify spec for the ksymoops part. On Sun, 11 Feb 2001, J . A . Magallon wrote: On 02.10 Yves Pelletier wrote: Hi there. This is sorta related to this thread, so I hope you won't mind if I butt in a little. I built the Cooker's 2.4.1-7mdk kernel on my 7.2 system. No problem there. However I have a reiserfs boot partition, and the new kernel panics and stops when trying to mount the root fs. I'm missing something obvious (I hope) what could it be? I your previous kernel was a 2.2+reiser patches, the reiser in 2.4 is not the same as that in 2.2. I know for sure that 2.4 reiser partitions can not be mounted on 2.2, but I am not sure about the opposite. --- linux/Makefile.fixinclude Mon Feb 12 17:50:03 2001 +++ linux/Makefile Mon Feb 12 17:52:54 2001 @@ -504,4 +504,4 @@ $(HOSTCC) $(HOSTCFLAGS) -o scripts/mkdep scripts/mkdep.c scripts/split-include: scripts/split-include.c - $(HOSTCC) $(HOSTCFLAGS) -o scripts/split-include scripts/split-include.c + $(HOSTCC) $(HOSTCFLAGS) -I$(HPATH) -o scripts/split-include +scripts/split-include.c --- linux/scripts/ksymoops/Makefile.fixinclude Mon Feb 12 17:48:55 2001 +++ linux/scripts/ksymoops/Makefile Mon Feb 12 17:56:16 2001 @@ -36,6 +36,7 @@ -Waggregate-return \ -Wstrict-prototypes \ -Wmissing-prototypes \ +-I../../include \ $(DEBUG) ifneq ($(strip $(DEF_VMLINUX)),)
Re: [Cooker] BUILD of Source Mandrake 7.2 2.2.17-21mdk.src.rpm
Newest grub should handle reiserfs boot partition, as well as lilo =21.6 BUT the reiserfs version of boot partition must be = 3.6.18, otherwise.. sorry, use ext2 boot partition... Abel Cheung On Sun, 11 Feb 2001, J . A . Magallon wrote: On 02.10 Yves Pelletier wrote: Hi there. This is sorta related to this thread, so I hope you won't mind if I butt in a little. I built the Cooker's 2.4.1-7mdk kernel on my 7.2 system. No problem there. However I have a reiserfs boot partition, and the new kernel panics and stops when trying to mount the root fs. I'm missing something obvious (I hope) what could it be? I your previous kernel was a 2.2+reiser patches, the reiser in 2.4 is not the same as that in 2.2. I know for sure that 2.4 reiser partitions can not be mounted on 2.2, but I am not sure about the opposite.
RE: [Cooker] BUILD of Source Mandrake 7.2 2.2.17-21mdk.src.rpm
The previous patch I attached again kernel-2.2.17-21mdk was not enough, sorry. I created that from memory... :P One more patch is attached. This is for building reiserfs ( I HATE "-I-" option! ). Abel Cheung On Sat, 10 Feb 2001, Russell "Elik" Rademacher wrote: Nevermind that. Figured it out. That how you get when you haven't got more than 4 hours of sleep and trying to get the kernel to work as it should be. :) -- Linux Administrator Consultant Russell "Elik" Rademacher -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Russell "Elik" Rademacher Sent: Saturday, February 10, 2001 9:29 AM To: [EMAIL PROTECTED]; Expert@Linux-Mandrake. Com Subject: [Cooker] BUILD of Source Mandrake 7.2 2.2.17-21mdk.src.rpm Okay. New problem. Heh sort of getting annoying now. Have anyone complied the source package of the kernel and to get this message at the near end when it supposed to start compling? make[2]: Leaving directory `/usr/src/RPM/BUILD/linux/arch/i386/mm' make -C arch/i386/lib fastdep make[2]: Entering directory `/usr/src/RPM/BUILD/linux/arch/i386/lib' /usr/src/RPM/BUILD/linux/scripts/mkdep checksum.S delay.c getuser.S old-checksum.c putuser.S semaphore.S usercopy.c .depend make[2]: Leaving directory `/usr/src/RPM/BUILD/linux/arch/i386/lib' make[1]: Leaving directory `/usr/src/RPM/BUILD/linux' + make include/linux/version.h make: `include/linux/version.h' is up to date. + '[' -z '' ']' ++ egrep -c '^cpu[0-9]+' /proc/stat ++ : + NPROCS=0 + '[' -z 0 -o 0 -le 0 ']' + NPROCS=1 + make -j1 bzImage gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -o scripts/split-include scripts/split-include.c In file included from /usr/include/errno.h:36, from scripts/split-include.c:26: /usr/include/bits/errno.h:25: linux/errno.h: No such file or directory make: *** [scripts/split-include] Error 1 Bad exit status from /var/tmp/rpm-tmp.22905 (%build) This is what I like to figure out how to make it work properly, since it should work. :) It is getting real annoying here now. Any help is appreciated. -- Linux Administrator Consultant Russell "Elik" Rademacher -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Don Awalt Sent: Saturday, February 10, 2001 9:05 AM To: [EMAIL PROTECTED] Subject: Re: [Cooker] Problems with 2.4.1-8mdk I did a --nodeps and it installed fine - not sure why it thought there was a dependency..thanks - Original Message - From: "Howard" [EMAIL PROTECTED] To: [EMAIL PROTECTED]; "Daouda LO" [EMAIL PROTECTED] Sent: Saturday, February 10, 2001 8:35 AM Subject: Re: [Cooker] Problems with 2.4.1-8mdk On Saturday 10 February 2001 2:09 am, Daouda LO wrote: "Don Awalt" [EMAIL PROTECTED] writes: [...] then did rpm -ivh on the kernel-utils. When I rpm -ivh the kernel-smp, I get dependency error on kdeaddutils. i don't think you need this package to install kernel : So do a --nodeps there . I've just done something similar,but the error is file conflicts,something like kernal-2.4.1 file conflicts with kdeaddutils=2.0.3mdk Howard --- linux/fs/reiserfs/utils/Makefile.fixincludedir Mon Feb 12 17:49:28 2001 +++ linux/fs/reiserfs/utils/MakefileMon Feb 12 18:16:26 2001 @@ -12,12 +12,13 @@ TMPBINDIR = $(TOPDIR)/bin INCLUDEDIR = $(TOPDIR)/include INCLUDEDIR2 = $(TOPDIR)/../../../include/linux +INCLUDEDIR3 = $(TOPDIR)/../../../include SBIN = /sbin MANDIR = /usr/man/man8 -IDIRS = -I$(INCLUDEDIR) -I$(INCLUDEDIR2) -I- +IDIRS = -I$(INCLUDEDIR) -I$(INCLUDEDIR2) -I- -I$(INCLUDEDIR3) CFLAGS = -Wall -c -O $(IDIRS)
Re: [Cooker] BUILD of Source Mandrake 7.2 2.2.17-21mdk.src.rpm
On 02.10 Yves Pelletier wrote: Hi there. This is sorta related to this thread, so I hope you won't mind if I butt in a little. I built the Cooker's 2.4.1-7mdk kernel on my 7.2 system. No problem there. However I have a reiserfs boot partition, and the new kernel panics and stops when trying to mount the root fs. I'm missing something obvious (I hope) what could it be? I your previous kernel was a 2.2+reiser patches, the reiser in 2.4 is not the same as that in 2.2. I know for sure that 2.4 reiser partitions can not be mounted on 2.2, but I am not sure about the opposite. -- J.A. Magallon $ cd pub mailto:[EMAIL PROTECTED] $ more beer Linux werewolf 2.4.1-ac8 #2 SMP Fri Feb 9 01:53:46 CET 2001 i686
RE: [Cooker] BUILD of Source Mandrake 7.2 2.2.17-21mdk.src.rpm
Nevermind that. Figured it out. That how you get when you haven't got more than 4 hours of sleep and trying to get the kernel to work as it should be. :) -- Linux Administrator Consultant Russell "Elik" Rademacher -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Russell "Elik" Rademacher Sent: Saturday, February 10, 2001 9:29 AM To: [EMAIL PROTECTED]; Expert@Linux-Mandrake. Com Subject: [Cooker] BUILD of Source Mandrake 7.2 2.2.17-21mdk.src.rpm Okay. New problem. Heh sort of getting annoying now. Have anyone complied the source package of the kernel and to get this message at the near end when it supposed to start compling? make[2]: Leaving directory `/usr/src/RPM/BUILD/linux/arch/i386/mm' make -C arch/i386/lib fastdep make[2]: Entering directory `/usr/src/RPM/BUILD/linux/arch/i386/lib' /usr/src/RPM/BUILD/linux/scripts/mkdep checksum.S delay.c getuser.S old-checksum.c putuser.S semaphore.S usercopy.c .depend make[2]: Leaving directory `/usr/src/RPM/BUILD/linux/arch/i386/lib' make[1]: Leaving directory `/usr/src/RPM/BUILD/linux' + make include/linux/version.h make: `include/linux/version.h' is up to date. + '[' -z '' ']' ++ egrep -c '^cpu[0-9]+' /proc/stat ++ : + NPROCS=0 + '[' -z 0 -o 0 -le 0 ']' + NPROCS=1 + make -j1 bzImage gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -o scripts/split-include scripts/split-include.c In file included from /usr/include/errno.h:36, from scripts/split-include.c:26: /usr/include/bits/errno.h:25: linux/errno.h: No such file or directory make: *** [scripts/split-include] Error 1 Bad exit status from /var/tmp/rpm-tmp.22905 (%build) This is what I like to figure out how to make it work properly, since it should work. :) It is getting real annoying here now. Any help is appreciated. -- Linux Administrator Consultant Russell "Elik" Rademacher -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Don Awalt Sent: Saturday, February 10, 2001 9:05 AM To: [EMAIL PROTECTED] Subject: Re: [Cooker] Problems with 2.4.1-8mdk I did a --nodeps and it installed fine - not sure why it thought there was a dependency..thanks - Original Message - From: "Howard" [EMAIL PROTECTED] To: [EMAIL PROTECTED]; "Daouda LO" [EMAIL PROTECTED] Sent: Saturday, February 10, 2001 8:35 AM Subject: Re: [Cooker] Problems with 2.4.1-8mdk On Saturday 10 February 2001 2:09 am, Daouda LO wrote: "Don Awalt" [EMAIL PROTECTED] writes: [...] then did rpm -ivh on the kernel-utils. When I rpm -ivh the kernel-smp, I get dependency error on kdeaddutils. i don't think you need this package to install kernel : So do a --nodeps there . I've just done something similar,but the error is file conflicts,something like kernal-2.4.1 file conflicts with kdeaddutils=2.0.3mdk Howard
Re: [Cooker] BUILD of Source Mandrake 7.2 2.2.17-21mdk.src.rpm
Hi there. This is sorta related to this thread, so I hope you won't mind if I butt in a little. I built the Cooker's 2.4.1-7mdk kernel on my 7.2 system. No problem there. However I have a reiserfs boot partition, and the new kernel panics and stops when trying to mount the root fs. I'm missing something obvious (I hope) what could it be? Yves Le 10 Fvrier 2001 15:20, vous avez crit : Nevermind that. Figured it out. That how you get when you haven't got more than 4 hours of sleep and trying to get the kernel to work as it should be. :) -- Linux Administrator Consultant Russell "Elik" Rademacher -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Russell "Elik" Rademacher Sent: Saturday, February 10, 2001 9:29 AM To: [EMAIL PROTECTED]; Expert@Linux-Mandrake. Com Subject: [Cooker] BUILD of Source Mandrake 7.2 2.2.17-21mdk.src.rpm Okay. New problem. Heh sort of getting annoying now. Have anyone complied the source package of the kernel and to get this message at the near end when it supposed to start compling? make[2]: Leaving directory `/usr/src/RPM/BUILD/linux/arch/i386/mm' make -C arch/i386/lib fastdep make[2]: Entering directory `/usr/src/RPM/BUILD/linux/arch/i386/lib' /usr/src/RPM/BUILD/linux/scripts/mkdep checksum.S delay.c getuser.S old-checksum.c putuser.S semaphore.S usercopy.c .depend make[2]: Leaving directory `/usr/src/RPM/BUILD/linux/arch/i386/lib' make[1]: Leaving directory `/usr/src/RPM/BUILD/linux' + make include/linux/version.h make: `include/linux/version.h' is up to date. + '[' -z '' ']' ++ egrep -c '^cpu[0-9]+' /proc/stat ++ : + NPROCS=0 + '[' -z 0 -o 0 -le 0 ']' + NPROCS=1 + make -j1 bzImage gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -o scripts/split-include scripts/split-include.c In file included from /usr/include/errno.h:36, from scripts/split-include.c:26: /usr/include/bits/errno.h:25: linux/errno.h: No such file or directory make: *** [scripts/split-include] Error 1 Bad exit status from /var/tmp/rpm-tmp.22905 (%build) This is what I like to figure out how to make it work properly, since it should work. :) It is getting real annoying here now. Any help is appreciated. -- Linux Administrator Consultant Russell "Elik" Rademacher -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Don Awalt Sent: Saturday, February 10, 2001 9:05 AM To: [EMAIL PROTECTED] Subject: Re: [Cooker] Problems with 2.4.1-8mdk I did a --nodeps and it installed fine - not sure why it thought there was a dependency..thanks - Original Message - From: "Howard" [EMAIL PROTECTED] To: [EMAIL PROTECTED]; "Daouda LO" [EMAIL PROTECTED] Sent: Saturday, February 10, 2001 8:35 AM Subject: Re: [Cooker] Problems with 2.4.1-8mdk On Saturday 10 February 2001 2:09 am, Daouda LO wrote: "Don Awalt" [EMAIL PROTECTED] writes: [...] then did rpm -ivh on the kernel-utils. When I rpm -ivh the kernel-smp, I get dependency error on kdeaddutils. i don't think you need this package to install kernel : So do a --nodeps there . I've just done something similar,but the error is file conflicts,something like kernal-2.4.1 file conflicts with kdeaddutils=2.0.3mdk Howard
Re: [Cooker] BUILD of Source Mandrake 7.2 2.2.17-21mdk.src.rpm
On Sat, Feb 10, 2001 at 12:20:27PM +, Yves Pelletier wrote: Hi there. This is sorta related to this thread, so I hope you won't mind if I butt in a little. I built the Cooker's 2.4.1-7mdk kernel on my 7.2 system. No problem there. However I have a reiserfs boot partition, and the new kernel panics and stops when trying to mount the root fs. I'm missing something obvious (I hope) what could it be? Have you built your initrd .. -- Geoffrey Lee [EMAIL PROTECTED] 李長風 Resignation from Wah Yan College, Hong Kong: http://devel.mandrakesoft.com/~snailtalk/resignation.html http://devel.mandrakesoft.com/~snailtalk ftp://devel.mandrakesoft.com/pub/people/snailtalk $/usr/games/fortune Anything that can go wrong will go Segmentation fault (core dumped) $