I'm having a lot of problems with my system after going over to cooker (from
mdk 7.2), please read my story below and respond as quickly as possible if
you know any way to fix my errors.
After running mdk 7.2 since it arrived I got sick of not being able to update
to the development packages because of the fact that I was running glibc 2.1,
so I decided to do a clean install with the latest mdk cooker.
I'm running reiserfs on all my disks and decided to start the install from my
hd since this would short the install time, so I backuped all my conf's and
my home dir to my ide disks, rebooted with the floppy I made and started the
install from my disk (placed the cooker files in a partition sda8, and the
system were to go to other partitions on the same disk). This worked
perfectly all the way, not a single error at all. I then rebooted to start
my fresh cooker system and found my first dissapointment. Even though the
install let me install the os on my reiserfs partitions, the kernel that were
booted from (2.4.0) didn't seem to have reiserfs in it, since it errored on
mounting my root disk (seems it tried to mount it as ext2, even if I haven't
had ext2 on this machine at all, in fact, the only fs that has ever been on
any of my new disks is reiserfs). After grubling for about an hour, trying
to find a way to boot the system without having any boot disks laying around
I decided to try a nasty hack. I installed mdk 7.2, rebooted, installed
cooker without formating the /boot/ partition, and added the 2.2.17 kernel
from mdk7.2 to lilo under the install. I then got to boot my system and
everything seemed fine. Since some programs that I use needs 2.4.0 I decided
to recompile the kernel to add reiserfs and try again. This didn't work
however.
I entered the 2.4.0 src dir and did "make mrproper ; make xconfig ; make dep
; make modules ; make modules_install ; make bzImage", however, during make
modules I got this error:
<snap>
In file included from /usr/src/linux/include/linux/kernel.h:11,
from rtc.c:60:
/usr/lib/gcc-lib/i586-mandrake-linux/2.96/include/stdarg.h:43: parse error
before `__gnuc_va_list'
/usr/lib/gcc-lib/i586-mandrake-linux/2.96/include/stdarg.h:43: warning: data
definition has no type or storage class
/usr/lib/gcc-lib/i586-mandrake-linux/2.96/include/stdarg.h:110: parse error
before `va_list'
/usr/lib/gcc-lib/i586-mandrake-linux/2.96/include/stdarg.h:110: warning: data
definition has no type or storage class
In file included from rtc.c:60:
/usr/src/linux/include/linux/kernel.h:62: parse error before `va_list'
/usr/src/linux/include/linux/kernel.h:62: warning: function declaration isn't
a prototype
cpp: -lang-c: linker input file unused since linking not done
{standard input}: Assembler messages:
{standard input}:8: Warning: Ignoring changed section attributes for .modinfo
make[2]: *** [rtc.o] Error 1
make[2]: Leaving directory `/usr/src/linux-2.4.0/drivers/char'
make[1]: *** [_modsubdir_char] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.0/drivers'
make: *** [_mod_drivers] Error 2
</snap>
so I decided to clean up the config a bit using xconfig and including
everything I needed in the kernel so there would be no modules needed and
then just skip the make modules and make modules_install, however then I got
this error running "make bzImage":
<snap>
In file included from /usr/src/linux/include/linux/wait.h:14,
from /usr/src/linux/include/linux/fs.h:13,
from /usr/src/linux/include/linux/capability.h:18,
from /usr/src/linux/include/linux/binfmts.h:6,
from /usr/src/linux/include/linux/sched.h:10,
from /usr/src/linux/include/linux/mm.h:5,
from /usr/src/linux/include/linux/slab.h:15,
from /usr/src/linux/include/linux/malloc.h:5,
from /usr/src/linux/include/linux/proc_fs.h:6,
from init/main.c:16:
/usr/src/linux/include/linux/kernel.h:62: parse error before `va_list'
/usr/src/linux/include/linux/kernel.h:62: warning: function declaration isn't
a prototype
cpp: -lang-c: linker input file unused since linking not done
make: *** [init/main.o] Error 1
</snap>
After looking around for a while and trying different stuff without getting
around this I decided to download the kernel sources, patch them and try to
get them to compile, this however proved to be a problem.
The reiserfs patch and the supermount patch can't be applied to the same
kernel, I can only use one of them, because when trying to add the second I
get errors (this I can understand, files are being changed by one of the
patched and the other one doesn't recognize the files). After smoking 3-4
smokes after each other I decided that I could live without supermount for a
short while just as long as I got the 2.4.0 kernel up and running, so I
unpacked the sources again, applied the reiserfs patch and tried once to
compile. After starting "make bzImage" I got an error (dah ;):
<snap>
make[3]: Entering directory `/usr/src/linux/net/ipv4/netfilter'
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer -fno-strict-aliasing -pipe -mpreferred-stack-boundary=2
-march=i686 -DEXPORT_SYMTAB
-c ip_conntrack_standalone.c
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer -fno-strict-aliasing -pipe -mpreferred-stack-boundary=2
-march=i686 -c -o ip_conntrack_core.o ip_conntrack_core.c
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer -fno-strict-aliasing -pipe -mpreferred-stack-boundary=2
-march=i686 -c -o ip_conntrack_proto_generic.o ip_conntrack_proto_generic.c
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer -fno-strict-aliasing -pipe -mpreferred-stack-boundary=2
-march=i686 -c -o ip_conntrack_proto_tcp.o ip_conntrack_proto_tcp.c
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer -fno-strict-aliasing -pipe -mpreferred-stack-boundary=2
-march=i686 -c -o ip_conntrack_proto_udp.o ip_conntrack_proto_udp.c
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer -fno-strict-aliasing -pipe -mpreferred-stack-boundary=2
-march=i686 -c -o ip_conntrack_proto_icmp.o ip_conntrack_proto_icmp.c
ld -m elf_i386 -r -o ip_conntrack.o ip_conntrack_standalone.o
ip_conntrack_core.o ip_conntrack_proto_generic.o ip_conntrack_proto_tcp.o
ip_conntrack_proto_udp.o ip_conntrack_proto_icmp.o
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer -fno-strict-aliasing -pipe -mpreferred-stack-boundary=2
-march=i686 -DEXPORT_SYMTAB
-c ip_conntrack_ftp.c
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer -fno-strict-aliasing -pipe -mpreferred-stack-boundary=2
-march=i686 -c -o ip_nat_ftp.o ip_nat_ftp.c
ip_nat_ftp.c: In function `help':
ip_nat_ftp.c:315: structure has no member named `nat'
make[3]: *** [ip_nat_ftp.o] Error 1
make[3]: Leaving directory `/usr/src/linux/net/ipv4/netfilter'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/usr/src/linux/net/ipv4/netfilter'
make[1]: *** [_subdir_ipv4/netfilter] Error 2
make[1]: Leaving directory `/usr/src/linux/net'
make: *** [_dir_net] Error 2
</snap>
Anybody that has any clue what is going on in my system, and how I can fix
it? Please respond quickly :)
Ps. when trying to make the nVidia drivers under cooker it can only find
2.4.0 headers in /usr/include/linux/, shouldn't the 2.2.18 headers be here
too (I'm running on a 2.2.18 kernel from mdk now)?
--
\ Christian A Strømmen /
\ Number1/NumeroUno @ Undernet - Email: [EMAIL PROTECTED] /
\ Web: www.realityx.net - Cell: +47 911 43 948 /
Live your life by your dreams,
not by the limits of reality...
[Cooker] Problems with 2.4.0 and the reiserfs and supermount patches (and the mdk rpm)
Christian A Str�mmen [Number1/NumeroUno] Fri, 19 Jan 2001 12:15:45 -0800
- Re: [Cooker] Problems with 2.4.0 ... Christian A Str�mmen [Number1/NumeroUno]
- Re: [Cooker] Problems with 2... Matthew D. Pitts
