You are not logged in.

#1 2009-06-14 13:14:30

djszapi
Member
From: Cambridge, United Kingdom
Registered: 2009-06-14
Posts: 1,439
Website

2.6.24.

Hello!

I'd like to install kernel 2.6.24 version on my archlinux, but i can't.
I've downloaded it from an older repo, and i've tried with all gcc version from the official repos and AUR.

The build procedure terminated such as like:

  LD [M]  sound/usb/snd-usb-audio.ko
  LD [M]  sound/usb/snd-usb-lib.ko
  LD [M]  sound/usb/usx2y/snd-usb-usx2y.ko
==> ERROR: Build Failed.
    Aborting...

This occured with -j3 option.

With -j1:

  CC      arch/x86/boot/tty.o
  CC      arch/x86/boot/video.o
arch/x86/boot/boot.h: Assembler messages:
arch/x86/boot/boot.h:112: Error: bad register name `%dil'
make[1]: *** [arch/x86/boot/video.o] Error 1
make: *** [bzImage] Error 2
==> ERROR: Build Failed.
    Aborting...


I don't have idea.

Sincerelly,
Laszlo Papp

Offline

#2 2009-06-14 14:38:42

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,354

Re: 2.6.24.

Sorry to ask something tangential, but is there some particular reason you need this older kernel? As I recall, kernels are very tied to gcc, for one, and I doubt that the gcc they were using back then is even available anymore (perhaps AUR, but I wouldn't know for sure, which packages did you try specifically?)

The reason I ask is, if there's a specific reason you need this older kernel, perhaps someone could help you solve that using the current kernel. This would be more in line with the rolling release standard, after all.


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#3 2009-06-14 14:42:14

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,365
Website

Re: 2.6.24.

What CFLAGS are you using?

That error generally means replacing something like "+r" with "+q" on the line giving the error...

Offline

#4 2009-06-14 15:24:45

djszapi
Member
From: Cambridge, United Kingdom
Registered: 2009-06-14
Posts: 1,439
Website

Re: 2.6.24.

Allan:

CFLAGS="-march=i686 -mtune=generic -O2 -pipe"

ngoonee:

I wrote a kernel driver, and the customers would like for this to work on 2.6.24 kernel too!

core/gcc 4.4.0-3 [installed] (base-devel)
     The GNU Compiler Collection
extra/gcc3 3.3.6-4 [installed]
     The GNU Compiler Collection
extra/gcc34 3.4.6-2 [installed]
     The GNU Compiler Collection
aur/gcc43 4.3.3-1 [installed] (2)
    The GNU Compiler Collection
aur/gcc-svn 145613-1 [135573-1 installed] (0)
    The GNU Compiler Collection. SVN Version
aur/gcc-legacy 4.2.4-2 [4.2.4-6 installed] (2)
    The GNU C preprocessor

So I tried practically with all the available gcc!

Offline

#5 2009-06-14 22:13:14

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,354

Re: 2.6.24.

My point is that the gcc you need may not be the one that was used for the kernel. Not that I have any idea which specific one was needed at the time, of course.

Edit: Ah, sorry. I meant "may not be the ones available in the repos". Too early, here.

Last edited by ngoonee (2009-06-14 22:18:03)


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#6 2009-06-15 00:28:15

djgera
Developer
From: Buenos Aires - Argentina
Registered: 2008-12-24
Posts: 723
Website

Re: 2.6.24.

As allan said, replace "=r" with "=q" in the affected line. "dil" (lower 8 bits part of [RE]DI) register is inexistent under x86-32, only available under x86-64.

Offline

#7 2009-06-24 05:35:18

leemgs
Member
Registered: 2009-06-24
Posts: 1

Re: 2.6.24.

This is Backporting issues from recent Linux to Linux 2.6.24 .
http://git.kernel.org/?p=linux/kernel/g … 5f3924bf8f

Offline

Board footer

Powered by FluxBB