public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* binfmt_misc on 2.4.3-ac14
@ 2001-04-26 21:04 Marek Pętlicki
  0 siblings, 0 replies; 6+ messages in thread
From: Marek Pętlicki @ 2001-04-26 21:04 UTC (permalink / raw)
  To: linux-kernel

Hi!

Has anybody used binfmt_misc on 2.4.3-ac14? It fails for me:

echo ':py:E::py::/opt/bin/python:' > /proc/sys/fs/binfmt_misc/register
bash: /proc/sys/fs/binfmt_misc/register: No such file or directory

The directory /proc/sys/fs/binfmt_misc/ exists, but nothing in it.

2.4.3 kernel built with exactly the same settings works flawlessly.

Btw: it's RH 7.0, but I've compiled on kgcc (announcing itself as
egcs-2.91.66)

Thanks and best regards

-- 
Marek Pętlicki <marpet@buy.pl>


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

* Re: binfmt_misc on 2.4.3-ac14
@ 2001-04-26 21:40 Wayne.Brown
  2001-04-26 22:04 ` Marek Pętlicki
  0 siblings, 1 reply; 6+ messages in thread
From: Wayne.Brown @ 2001-04-26 21:40 UTC (permalink / raw)
  To: Marek Pętlicki; +Cc: linux-kernel

[-- Attachment #1: Type: text/plain, Size: 9 bytes --]



Marek P

[-- Attachment #2: Type: text/plain, Size: 1047 bytes --]


ętlicki <marpet@buy.pl> wrote:

>The directory /proc/sys/fs/binfmt_misc/ exists, but nothing in it.

Try this:

mount -t binfmt_misc none /proc/sys/fs/binfmt_misc

In the recent -ac versions, binfmt_misc must be mounted separately.  I have the
following in my /etc/rc.d/rc.local so that it will work with both Linus' and
Alan's kernels (the third variation was for an older -ac kernel that didn't
create the binfmt_misc directory either; it's really not needed anymore but I
left it in just in case):

#
# Register entries in binfmt_misc
#
if [ -f /proc/sys/fs/binfmt_misc/register ] ; then
        echo ':DOSWin:M::MZ::/usr/local/bin/wine:' >
/proc/sys/fs/binfmt_misc/register
elif [ -d /proc/sys/fs/binfmt_misc ] ; then
        mount -t binfmt_misc none /proc/sys/fs/binfmt_misc
        echo ':DOSWin:M::MZ::/usr/local/bin/wine:' >
/proc/sys/fs/binfmt_misc/register
else
        mount -t binfmt_misc none /etc/binfmt_misc
        echo ':DOSWin:M::MZ::/usr/local/bin/wine:' > /etc/binfmt_misc/register
fi


Wayne

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

* Re: binfmt_misc on 2.4.3-ac14
  2001-04-26 21:40 Wayne.Brown
@ 2001-04-26 22:04 ` Marek Pętlicki
  0 siblings, 0 replies; 6+ messages in thread
From: Marek Pętlicki @ 2001-04-26 22:04 UTC (permalink / raw)
  To: Wayne.Brown; +Cc: linux-kernel

On Thursday, April, 2001-04-26 at 23:42:08, Wayne.Brown@altec.com wrote:
> 
> 
> Marek P
> 
> ętlicki <marpet@buy.pl> wrote:
> 
> >The directory /proc/sys/fs/binfmt_misc/ exists, but nothing in it.
> 
> Try this:
> 
> mount -t binfmt_misc none /proc/sys/fs/binfmt_misc

thank you very much :-)

is it going to become the default in future kernel releases?

regards

-- 
Marek Pętlicki <marpet@buy.pl>


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

* Re: binfmt_misc on 2.4.3-ac14
@ 2001-04-26 22:16 Wayne.Brown
  2001-04-26 23:13 ` DMA support in cs5530 IDE driver? Michael Shiloh
  2001-04-27 19:12 ` binfmt_misc on 2.4.3-ac14 Thomas Dodd
  0 siblings, 2 replies; 6+ messages in thread
From: Wayne.Brown @ 2001-04-26 22:16 UTC (permalink / raw)
  To: Marek Pętlicki; +Cc: linux-kernel



<marpet@buy.pl> wrote:

>thank you very much :-)

>
>is it going to become the default in future kernel releases?

You're welcome.

It's been that way in the -ac kernels for a while now, but Linus hasn't put it
into his kernels yet.  Perhaps he's waiting until work begins on 2.5, rather
than break an existing interface in 2.4.  Anyway, it's entirely up to Linus, so
I'm just guessing here. :-)

Wayne



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

* DMA support in cs5530 IDE driver?
  2001-04-26 22:16 binfmt_misc on 2.4.3-ac14 Wayne.Brown
@ 2001-04-26 23:13 ` Michael Shiloh
  2001-04-27 19:12 ` binfmt_misc on 2.4.3-ac14 Thomas Dodd
  1 sibling, 0 replies; 6+ messages in thread
From: Michael Shiloh @ 2001-04-26 23:13 UTC (permalink / raw)
  To: linux-kernel

Can anyone report success or failure with enabling DMA for
the CS5530 IDE driver? I can get my system to crash or at
least hang pretty reliably by using hdparm to turn on DMA
while reading an MPEG-2 movie from my hard disk drive.

The hard disk drive is the only rotating drive on the 
system.

Hardware: GCT Allwell set top box 
CPU: National Geode 266MHz GXM  
IDE controller: CS5530 Geode companion chip
Linux: 2.4.3
Disk: IBM Deskstar, 46.1 GByte

Any comments or suggestions appreciated

Thanks,
Michael


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

* Re: binfmt_misc on 2.4.3-ac14
  2001-04-26 22:16 binfmt_misc on 2.4.3-ac14 Wayne.Brown
  2001-04-26 23:13 ` DMA support in cs5530 IDE driver? Michael Shiloh
@ 2001-04-27 19:12 ` Thomas Dodd
  1 sibling, 0 replies; 6+ messages in thread
From: Thomas Dodd @ 2001-04-27 19:12 UTC (permalink / raw)
  To: linux-kernel

Wayne.Brown@altec.com wrote:
> 
> <marpet@buy.pl> wrote:
> >is it going to become the default in future kernel releases?
> It's been that way in the -ac kernels for a while now, but Linus hasn't put it
> into his kernels yet.  Perhaps he's waiting until work begins on 2.5, rather
> than break an existing interface in 2.4.  Anyway, it's entirely up to Linus, so
> I'm just guessing here. :-)

It's in the 2.4 kernels from RedHat (like the one shipped with SeaWolf)
So if you update you distro you'll see it for a while.

I thought the plan was to move this out of /proc and
to say /etc where config info like this "belongs".
Did this change?

	-Thomas

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

end of thread, other threads:[~2001-04-27 19:12 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-04-26 22:16 binfmt_misc on 2.4.3-ac14 Wayne.Brown
2001-04-26 23:13 ` DMA support in cs5530 IDE driver? Michael Shiloh
2001-04-27 19:12 ` binfmt_misc on 2.4.3-ac14 Thomas Dodd
  -- strict thread matches above, loose matches on Subject: below --
2001-04-26 21:40 Wayne.Brown
2001-04-26 22:04 ` Marek Pętlicki
2001-04-26 21:04 Marek Pętlicki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox