RE: kernel 2.4.x compile failure on Ultra 1
On Wed, 2001-09-12 at 23:34, Ben Castricum wrote: > > > I found out that the default sparc config had enabled some qlogic scsi > driver which doesn't compile. Removing that one from the config solved my > problem too. But where is the bootable kernel located after compilation with > "make boot"? All I have is a vmlinux in /usr/src/linux (this is the first > time I compile a kernel on a sparc) yeah, you really wnat to compress the vmlinux to a vmlinuz...you can do this by issuing the command gzip -c vmlinux > vmlinuz otherwise, the image will probably be too big and silo won't be able to load it into memory. silo is *very* picky about how big the kernel image is. in fact, trying to compile frame pointers, xfs, or many drivers into the kernel (not as modules) will push it over the maximum size. I really wish this would be fixed... -tduffy
Re: RE: kernel 2.4.x compile failure on Ultra 1
On 13 Sep 2001 08:34, "Ben Castricum" <[EMAIL PROTECTED]> wrote: > I found out that the default sparc config had enabled some qlogic scsi > driver which doesn't compile. Removing that one from the config solved my > problem too. But where is the bootable kernel located after compilation with > "make boot"? All I have is a vmlinux in /usr/src/linux (this is the first > time I compile a kernel on a sparc) That are vmlinux and the System.map in /usr/src/linux You can copy these to /boot, could rename them, and add an entry for them in silo.conf Regards, Pieter
RE: kernel 2.4.x compile failure on Ultra 1
> -Original Message- > From: Peter Haworth [mailto:[EMAIL PROTECTED] > Sent: woensdag 12 september 2001 12:11 > To: Ben Castricum; 'Noah L. Meyerhans'; debian-sparc@lists.debian.org > Subject: RE: kernel 2.4.x compile failure on Ultra 1 > [...] > > I had to compile an SMP kernel to get it to work, but I > didn't have any other problems. I found out that the default sparc config had enabled some qlogic scsi driver which doesn't compile. Removing that one from the config solved my problem too. But where is the bootable kernel located after compilation with "make boot"? All I have is a vmlinux in /usr/src/linux (this is the first time I compile a kernel on a sparc) Thanks, Ben ***DISCLAIMER*** Deze e-mail is uitsluitend bestemd voor de geadresseerde(n). Verstrekking aan en gebruik door anderen is niet toegestaan. KPN N.V. sluit iedere aansprakelijkheid uit die voortvloeit uit elektronische verzending. This e-mail is intended exclusively for the addressee(s), and may not be passed on to, or made available for use by any person other than the addressee(s). KPN N.V. rules out any and every liability resulting from any electronic transmission.
Re: kernel 2.4.x compile failure on Ultra 1
On Wed, Sep 12, 2001 at 03:47:20AM +0200, Ben Castricum wrote: > I think a came across this problem as well. Try compiling the kernel with > SMP, i think the atomic_dec_and_lock only gets exported when SMP is being > used. Unfortunately I run accross more problems later on when trying to > compile 2.4.9, hopefully you have more luck. Yup, that did it. It also turned out that I needed to enable PCI support, despite the fact that the Ultra1 is an SBus machine. But all seems to be well now. Thanks. noah -- ___ | Web: http://web.morgul.net/~frodo/ | PGP Public Key: http://web.morgul.net/~frodo/mail.html pgpZMOfwVw4Nw.pgp Description: PGP signature
RE: kernel 2.4.x compile failure on Ultra 1
On Wed, 12 Sep 2001 03:47:20 +0200, Ben Castricum wrote: > I think a came across this problem as well. Try compiling the kernel with > SMP, i think the atomic_dec_and_lock only gets exported when SMP is being > used. Unfortunately I run accross more problems later on when trying to > compile 2.4.9, hopefully you have more luck. I had to compile an SMP kernel to get it to work, but I didn't have any other problems. -- Peter Haworth [EMAIL PROTECTED] "The only way I could enjoy DOS is if I were lobotomized" -- Tom Christiansen
RE: kernel 2.4.x compile failure on Ultra 1
I think a came across this problem as well. Try compiling the kernel with SMP, i think the atomic_dec_and_lock only gets exported when SMP is being used. Unfortunately I run accross more problems later on when trying to compile 2.4.9, hopefully you have more luck. Good luck, Ben > -Original Message- > From: Noah L. Meyerhans [mailto:[EMAIL PROTECTED] > Sent: woensdag 12 september 2001 00:59 > To: debian-sparc@lists.debian.org > Subject: kernel 2.4.x compile failure on Ultra 1 > > > Hi folks. I'm having a problem compiling Linux 2.4.8 and .9 on my > Ultra1 running sid. I've tried the debianized kernel-source packages, > as well as the source from kernel.org, with the same results. > > The compiler error, which occurs pretty late in the build process, is > this: > > sparc64-linux-gcc -D__KERNEL__ -I/usr/src/kernel-source-2.4.9/include > -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer > -fno-strict-aliasing -fno-common -m64 -pipe -mno-fpu -mcpu=ultrasparc > -mcmodel=medlow -ffixed-g4 -fcall-used-g5 -fcall-used-g7 > -Wno-sign-compare -Wa,--undeclared-regs-DEXPORT_SYMTAB -c > sparc64_ksyms.csparc64_ksyms.c:166: `atomic_dec_and_lock' undeclared > here (not in a function) > sparc64_ksyms.c:166: initializer element is not constant > sparc64_ksyms.c:166: (near initialization for > `__ksymtab_atomic_dec_and_lock.value') > make[2]: *** [sparc64_ksyms.o] Error 1 > make[2]: Leaving directory > `/usr/src/kernel-source-2.4.9/arch/sparc64/kernel' > make[1]: *** [_dir_arch/sparc64/kernel] Error 2 > make[1]: Leaving directory `/usr/src/kernel-source-2.4.9' > make: *** [stamp-build] Error 2 > > sparc64-linux-gcc --version gives: > 3.0.2. > > Am I using the wrong compiler? This doesn't seem like a compiler > incompatibility, but maybe... > > Thanks in advance. > noah > > -- > ___ > | Web: http://web.morgul.net/~frodo/ > | PGP Public Key: http://web.morgul.net/~frodo/mail.html > ***DISCLAIMER*** Deze e-mail is uitsluitend bestemd voor de geadresseerde(n). Verstrekking aan en gebruik door anderen is niet toegestaan. KPN N.V. sluit iedere aansprakelijkheid uit die voortvloeit uit elektronische verzending. This e-mail is intended exclusively for the addressee(s), and may not be passed on to, or made available for use by any person other than the addressee(s). KPN N.V. rules out any and every liability resulting from any electronic transmission.
kernel 2.4.x compile failure on Ultra 1
Hi folks. I'm having a problem compiling Linux 2.4.8 and .9 on my Ultra1 running sid. I've tried the debianized kernel-source packages, as well as the source from kernel.org, with the same results. The compiler error, which occurs pretty late in the build process, is this: sparc64-linux-gcc -D__KERNEL__ -I/usr/src/kernel-source-2.4.9/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -m64 -pipe -mno-fpu -mcpu=ultrasparc -mcmodel=medlow -ffixed-g4 -fcall-used-g5 -fcall-used-g7 -Wno-sign-compare -Wa,--undeclared-regs-DEXPORT_SYMTAB -c sparc64_ksyms.csparc64_ksyms.c:166: `atomic_dec_and_lock' undeclared here (not in a function) sparc64_ksyms.c:166: initializer element is not constant sparc64_ksyms.c:166: (near initialization for `__ksymtab_atomic_dec_and_lock.value') make[2]: *** [sparc64_ksyms.o] Error 1 make[2]: Leaving directory `/usr/src/kernel-source-2.4.9/arch/sparc64/kernel' make[1]: *** [_dir_arch/sparc64/kernel] Error 2 make[1]: Leaving directory `/usr/src/kernel-source-2.4.9' make: *** [stamp-build] Error 2 sparc64-linux-gcc --version gives: 3.0.2. Am I using the wrong compiler? This doesn't seem like a compiler incompatibility, but maybe... Thanks in advance. noah -- ___ | Web: http://web.morgul.net/~frodo/ | PGP Public Key: http://web.morgul.net/~frodo/mail.html pgp26Zo0fxkwo.pgp Description: PGP signature