2003-02-18 10:55:02

by Oliver Pitzeier

[permalink] [raw]
Subject: 2.5.62 on Alpha SUCCESS (2.6 release soon!?)

Hi volks!

I just wanted to tell everybody that 2.5.62 works great for me on Alpha...
Thanks a lot to the alpha kernel developers!!! You did a great job...

OK now, why don't call the next kernel 2.6.0 and release it as soon as possible
:-))) The whole world is awaiting this moment. :-)

Best regards,
Oliver



2003-02-18 13:04:30

by Oliver Pitzeier

[permalink] [raw]
Subject: Module problems (WAS: RE: 2.5.62 on Alpha SUCCESS (2.6 release soon!?))

Oliver Pitzeier wrote:
> I just wanted to tell everybody that 2.5.62 works great for
> me on Alpha... Thanks a lot to the alpha kernel developers!!!
> You did a great job...
[ ... ]

OK... Make modules_install still has problems:

[root@track linux]# make modules_install
make -rR -f scripts/Makefile.modinst
mkdir -p /lib/modules/2.5.62/kernel/net/8021q; cp net/8021q/8021q.ko
/lib/modules/2.5.62/kernel/net/8021q
mkdir -p /lib/modules/2.5.62/kernel/fs/autofs4; cp fs/autofs4/autofs4.ko
/lib/modules/2.5.62/kernel/fs/autofs4
mkdir -p /lib/modules/2.5.62/kernel/drivers/net; cp drivers/net/bonding.ko
/lib/modules/2.5.62/kernel/drivers/net
if [ -r System.map ]; then /sbin/depmod -ae -F System.map 2.5.62; fi
depmod: Unhandled relocation of type 10 for .text
depmod: Unhandled relocation of type 10 for .text
depmod: Unhandled relocation of type 10 for .text
depmod: Unhandled relocation of type 10 for .text
depmod: depmod obj_relocate failed

make: *** [_modinst_post] Error 1

Best regards,
Oliver


2003-02-18 13:14:55

by MånsRullgård

[permalink] [raw]
Subject: Re: Module problems (WAS: RE: 2.5.62 on Alpha SUCCESS (2.6 release soon!?))

"Oliver Pitzeier" <[email protected]> writes:

> > I just wanted to tell everybody that 2.5.62 works great for
> > me on Alpha... Thanks a lot to the alpha kernel developers!!!
> > You did a great job...
> [ ... ]
>
> OK... Make modules_install still has problems:
>
> [root@track linux]# make modules_install
> make -rR -f scripts/Makefile.modinst
> mkdir -p /lib/modules/2.5.62/kernel/net/8021q; cp net/8021q/8021q.ko
> /lib/modules/2.5.62/kernel/net/8021q
> mkdir -p /lib/modules/2.5.62/kernel/fs/autofs4; cp fs/autofs4/autofs4.ko
> /lib/modules/2.5.62/kernel/fs/autofs4
> mkdir -p /lib/modules/2.5.62/kernel/drivers/net; cp drivers/net/bonding.ko
> /lib/modules/2.5.62/kernel/drivers/net
> if [ -r System.map ]; then /sbin/depmod -ae -F System.map 2.5.62; fi
> depmod: Unhandled relocation of type 10 for .text
> depmod: Unhandled relocation of type 10 for .text
> depmod: Unhandled relocation of type 10 for .text
> depmod: Unhandled relocation of type 10 for .text
> depmod: depmod obj_relocate failed

Which versions of binutils and gcc do you have? I get similar
problems with binutils 2.13 and 2.4 kernels.

--
M?ns Rullg?rd
[email protected]

2003-02-19 10:06:01

by Oliver Pitzeier

[permalink] [raw]
Subject: RE: Module problems (WAS: RE: 2.5.62 on Alpha SUCCESS (2.6 release soon!?))

M?ns Rullg?rd wrote:
> "Oliver Pitzeier" <[email protected]> writes:
[ ... ]
> > OK... Make modules_install still has problems:
[ ... ]
> Which versions of binutils and gcc do you have? I get
> similar problems with binutils 2.13 and 2.4 kernels.

This is my current env.:
[root@track /root]# rpm -q modutils binutils gcc
modutils-2.4.22-8
binutils-2.12.90.0.7-3
gcc-3.1-6

Maybe I should upgrade gcc? But I believe 3.1 is working fine... At least for my
normally...

Best regards,
Oliver


2003-02-19 10:40:43

by MånsRullgård

[permalink] [raw]
Subject: Re: Module problems (WAS: RE: 2.5.62 on Alpha SUCCESS (2.6 release soon!?))

"Oliver Pitzeier" <[email protected]> writes:

> > > OK... Make modules_install still has problems:
> [ ... ]
> > Which versions of binutils and gcc do you have? I get
> > similar problems with binutils 2.13 and 2.4 kernels.
>
> This is my current env.:
> [root@track /root]# rpm -q modutils binutils gcc
> modutils-2.4.22-8
> binutils-2.12.90.0.7-3
> gcc-3.1-6
>
> Maybe I should upgrade gcc? But I believe 3.1 is working fine... At
> least for my normally...

I got those relocation errors when using gcc 3.1 and too old modutils,
but you seem to have the latest version. Try changing to binutils
2.12. It works for me, but 2.13 doesn't.

--
M?ns Rullg?rd
[email protected]

2003-02-19 11:16:06

by Oliver Pitzeier

[permalink] [raw]
Subject: RE: Module problems (WAS: RE: 2.5.62 on Alpha SUCCESS (2.6 release soon!?))

M?ns Rullg?rd wrote:
[ ... ]
> > Maybe I should upgrade gcc? But I believe 3.1 is working fine... At
> > least for my normally...
>
> I got those relocation errors when using gcc 3.1 and too old
> modutils, but you seem to have the latest version. Try
> changing to binutils 2.12. It works for me, but 2.13 doesn't.

I'm currently upgrading the whole system... Let's see what I get. :-)

Best regards,
Oliver


2003-02-19 12:22:56

by Jan-Benedict Glaw

[permalink] [raw]
Subject: Re: Module problems (WAS: RE: 2.5.62 on Alpha SUCCESS (2.6 release soon!?))

On Wed, 2003-02-19 11:14:13 +0100, Oliver Pitzeier <[email protected]>
wrote in message <[email protected]>:
> M?ns Rullg?rd wrote:
> > "Oliver Pitzeier" <[email protected]> writes:
> [ ... ]
> > > OK... Make modules_install still has problems:
> [ ... ]
> > Which versions of binutils and gcc do you have? I get
> > similar problems with binutils 2.13 and 2.4 kernels.
>
> This is my current env.:
> [root@track /root]# rpm -q modutils binutils gcc
> modutils-2.4.22-8
> binutils-2.12.90.0.7-3
> gcc-3.1-6

I don't know how good/bad this combination of gcc and binutils is for
2.5.x, but modutils 2.4.22 will _not_ work with current 2.5.x. Therefor,
you need the new module-init-tools, available at
ftp://ftp.kernel.org/pub/linux/kernel/people/rusty/modules IIRC.

MfG, JBG

--
Jan-Benedict Glaw [email protected] . +49-172-7608481
"Eine Freie Meinung in einem Freien Kopf | Gegen Zensur
fuer einen Freien Staat voll Freier B?rger" | im Internet!
Shell Script APT-Proxy: http://lug-owl.de/~jbglaw/software/ap2/


Attachments:
(No filename) (1.05 kB)
(No filename) (189.00 B)
Download all attachments

2003-02-19 14:57:05

by Fred K Ollinger

[permalink] [raw]
Subject: RE: Module problems (WAS: RE: 2.5.62 on Alpha SUCCESS (2.6 release soon!?))

> M?ns Rullg?rd wrote:
> > "Oliver Pitzeier" <[email protected]> writes:
> [ ... ]
> > > OK... Make modules_install still has problems:
> [ ... ]
> > Which versions of binutils and gcc do you have? I get
> > similar problems with binutils 2.13 and 2.4 kernels.
>
> This is my current env.:
> [root@track /root]# rpm -q modutils binutils gcc
> modutils-2.4.22-8
> binutils-2.12.90.0.7-3
> gcc-3.1-6
>
> Maybe I should upgrade gcc? But I believe 3.1 is working fine... At least for my
> normally...

I think that gcc 3.1 should be ok.

I was wondering about modutils b/c you need newer modules-init to load
newer modules into the kernel (the extension is now .ko), but you can't
_compile_ modules, which is different. Sorry I misread the email.

Once you get modules compiled, then you need newer tools:

http://www.kernel.org/pub/linux/kernel/people/rusty/modules/

Fred