Messages in this thread | | | Subject | Re: 2.2.2 NFS problems (in particular executing a.out programs) | From | Marc Lefranc <> | Date | 05 Mar 1999 16:41:30 +0100 |
| |
Jim Bourne <jbourne@affinity-systems.ab.ca> writes:
> On 5 Mar 1999, Marc Lefranc wrote: > > > Hello all! > > > > 1008 $ /usr/local/lib/texmf/bin/i486-linux/X11/R5/xdvi > > bash: /usr/local/lib/texmf/bin/i486-linux/X11/R5/xdvi: cannot execute binary file > > 1009 $ file /usr/local/lib/texmf/bin/i486-linux/X11/R5/xdvi > > /usr/local/lib/texmf/bin/i486-linux/X11/R5/xdvi: Linux/i386 demand-paged executable (ZMAGIC), stripped > > > > The error is accompagnied by two lines in /var/log/messages: > > > > Mar 5 10:16:47 platon kernel: N_TXTOFF < BLOCK_SIZE. Please convert binary. > > Mar 5 10:16:47 platon modprobe: can't locate module binfmt-0064 > > Try adding the line > alias binfmt-0064 binfmt_aout > to /etc/conf.modules (or modules.conf, whatever) and depmod -a if you have > a.out support compiled as a module. Should work then.
The funny thing is that, as I wrote in my original message, binfmt_aout is compiled in the kernel, not as a module (the line above the binfmt-0064 one comes directly from binfmt-aout.c). I nevertheless added the line to conf.modules just to see, and the message is still there. I guess this line is in fact due to binfmt-aout failing, and that this failure is misinterpreted as a module not being there.
I take advantage of this reply to say that the same executable runs fine if copied to a local disk.
-- _____________________________________________________________ Marc Lefranc, Charge de Recherche au CNRS Laboratoire de Physique des Lasers, Atomes, Molecules Bat P5, UFR de Physique Universite des Sciences et Technologies de Lille F-59655 Villeneuve d'Ascq CEDEX (FRANCE) e-mail: Marc.Lefranc@univ-lille1.fr ; FAX : +33 (0)3 20 33 70 20 _____________________________________________________________
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |