Skip to contentSkip to conversation

modprobe and exec format error

DISCUSSION [email protected] 2 participants 3 messages Jul 26, 2000 – Jul 27, 2000

lore
Share & tools
lore
#0 lore raw

Hi All,

Here's a strange one...

I'm bringing up a 2.4.0-testX kernel (Paul's latest PMac tree) and the kernel
does come up quite a ways (tho how far is a bit hard to tell as things scroll by and scroll lock doesn't work)

I get the following repeated item on my screen ... so imagine this line times N

/sbin/modprobe -s -k binfmt_4c46 errno=8

Well errno 8 is Exec format error as I recall... time to upgrade modutils?

Anyone with any suggestions or have seen this one before?

Thanks in advance!

Tom

--
Tom Gall - PowerPC Linux Team "Where's the ka-boom? There was
Linux Technology Center supposed to be an earth
(w) [email protected] shattering ka-boom!"
(w) 507-253-4558 -- Marvin Martian
(h) [email protected]
http://oss.software.ibm.com/developerworks/opensource/linux

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

#1 lore raw
Quoted 8 lines · [email protected] wrote:

Hi All,

Here's a strange one...

I'm bringing up a 2.4.0-testX kernel (Paul's latest PMac tree) and the kernel
does come up quite a ways (tho how far is a bit hard to tell as things scroll by and scroll lock doesn't work)

If you compile MagicSysRq support in, you can stop scrolling by "SysRq-0" (that is F13 + zero).

Quoted 7 lines

I get the following repeated item on my screen ... so imagine this line times N

/sbin/modprobe -s -k binfmt_4c46 errno=8

Well errno 8 is Exec format error as I recall... time to upgrade modutils?

Anyone with any suggestions or have seen this one before?

Yeah, seen this before:
http://lists.linuxppc.org/listarcs/linuxppc-dev/200007/msg00327.html
and my solution:
http://lists.linuxppc.org/listarcs/linuxppc-dev/200007/msg00345.html

I'm curious what your reason was for getting this.

--
Martin

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

#2 lore raw

Hi Martin,

Quoted 18 lines · Martin Costabel
Quoted 8 lines · [email protected] wrote:

Hi All,

Here's a strange one...

I'm bringing up a 2.4.0-testX kernel (Paul's latest PMac tree) and the kernel
does come up quite a ways (tho how far is a bit hard to tell as things scroll by and scroll lock doesn't work)

If you compile MagicSysRq support in, you can stop scrolling by "SysRq-0" (that is F13 + zero).

Quoted 4 lines

I get the following repeated item on my screen ... so imagine this line times N

/sbin/modprobe -s -k binfmt_4c46 errno=8

Quoted 8 lines
Quoted 3 lines

Well errno 8 is Exec format error as I recall... time to upgrade modutils?

Anyone with any suggestions or have seen this one before?

Yeah, seen this before:
http://lists.linuxppc.org/listarcs/linuxppc-dev/200007/msg00327.html
and my solution:
http://lists.linuxppc.org/listarcs/linuxppc-dev/200007/msg00345.html

Thanks much for the pointers.

I am experiencing this with Cort's current development kernel tree. Based on the previous posting you had in theory all I needed to do was just grab a fresh kernel which I did this morning. The same problem surfaced. So something is definately wrong with the Cort's 2.4.0-test5 tree.

I took a gander at elf.h. The only change I see is

2.3.99-pre9

#define elf_check_arch(x) ((x) == EM_PPC)

2.4.0-test5-Cort

#define elf_check_arch(x) ((x)->e_machine == EM_PPC)

This appearantly is used 3 times fs/binfmt_elf.c

2.3.99-pre9

if (!elf_check_arch(interp_elf_ex->e_machine))

2.4.0-test5-Cort

if (!elf_check_arch(&elf_ex))

So while the code changed it would appear to be consistant at least....

Guess I'll have to keep digging!

Quoted 1 line

I'm curious what your reason was for getting this.

Me too!

Regards,

Tom

--
Tom Gall - PowerPC Linux Team "Where's the ka-boom? There was
Linux Technology Center supposed to be an earth
(w) [email protected] shattering ka-boom!"
(w) 507-253-4558 -- Marvin Martian
(h) [email protected]
http://oss.software.ibm.com/developerworks/opensource/linux

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/