linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* modprobe and exec format error
@ 2000-07-26 22:06 tom_gall
  2000-07-26 22:30 ` Martin Costabel
  0 siblings, 1 reply; 3+ messages in thread
From: tom_gall @ 2000-07-26 22:06 UTC (permalink / raw)
  To: linuxppc-dev


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) tom_gall@vnet.ibm.com         shattering ka-boom!"
(w) 507-253-4558                 -- Marvin Martian
(h) tgall@uswest.net
http://oss.software.ibm.com/developerworks/opensource/linux

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: modprobe and exec format error
  2000-07-26 22:06 modprobe and exec format error tom_gall
@ 2000-07-26 22:30 ` Martin Costabel
  2000-07-27 17:46   ` tom_gall
  0 siblings, 1 reply; 3+ messages in thread
From: Martin Costabel @ 2000-07-26 22:30 UTC (permalink / raw)
  To: tom_gall; +Cc: linuxppc-dev


tom_gall@vnet.ibm.com 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).

> 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/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: modprobe and exec format error
  2000-07-26 22:30 ` Martin Costabel
@ 2000-07-27 17:46   ` tom_gall
  0 siblings, 0 replies; 3+ messages in thread
From: tom_gall @ 2000-07-27 17:46 UTC (permalink / raw)
  To: Martin Costabel; +Cc: linuxppc-dev, dwayne


Hi Martin,

Martin Costabel wrote:
>
> tom_gall@vnet.ibm.com 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).
>
> > 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

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!

> 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) tom_gall@vnet.ibm.com         shattering ka-boom!"
(w) 507-253-4558                 -- Marvin Martian
(h) tgall@uswest.net
http://oss.software.ibm.com/developerworks/opensource/linux

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2000-07-27 17:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-07-26 22:06 modprobe and exec format error tom_gall
2000-07-26 22:30 ` Martin Costabel
2000-07-27 17:46   ` tom_gall

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).