Re: ELF interpreter /co not found
The above message is what I get after upgrading from an August 7 to an August 17 world/kernel and trying to run linux-netscape47-communicator. Prior world/kernel combination worked okay, there have been no changes to the kernel configuration (which I can provide if required). Hey, I noticed the same. I thought it was me, because I started using the linux.ko module instead of compiling it into the kernel with COMPAT_LINUX. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-current in the body of the message
ELF interpreter /co not found
The above message is what I get after upgrading from an August 7 to an August 17 world/kernel and trying to run linux-netscape47-communicator. Prior world/kernel combination worked okay, there have been no changes to the kernel configuration (which I can provide if required). I noticed some recent changes to imgact_elf.c (which stands at version 1.99 on the box affected), am I missing something else here? Regards, PYD To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-current in the body of the message
Re: ELF interpreter /co not found
On Sat, Aug 18, 2001 at 02:34:35AM +0100, Pierre Y. Dampure wrote: The above message is what I get after upgrading from an August 7 to an August 17 world/kernel and trying to run linux-netscape47-communicator. Prior world/kernel combination worked okay, there have been no changes to the kernel configuration (which I can provide if required). I see this as well. Apparantly version 1.98 of sys/kern/imgact_elf.c causes the string containing the path to /compat/linux/lib/ld-2.1.2.so to be truncated. A quick workaround is to symlink /co to /compat/linux/lib/ld-2.1.2.so . I noticed some recent changes to imgact_elf.c (which stands at version 1.99 on the box affected), am I missing something else here? Regards, PYD To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-current in the body of the message /Niels Chr. -- Niels Christian Bank-Pedersen, NCB1-RIPE. Network Manager, TDC, IP-section. Hey, are any of you guys out there actually *using* RFC 2549? To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-current in the body of the message
Re: ELF interpreter /co not found
Niels Chr. Bank-Pedersen wrote: I see this as well. Apparantly version 1.98 of sys/kern/imgact_elf.c causes the string containing the path to /compat/linux/lib/ld-2.1.2.so to be truncated. A quick workaround is to symlink /co to /compat/linux/lib/ld-2.1.2.so . Granted, it's a fix, but hardly a solution :-) After modifying the kernel to print out sizeof(path) upon return of the malloc, it turns out that we are only getting 4 bytes rather than MAXPATHLEN (1024): [pyd@jupiter]: /usr/local/lib/netscape-linux/netscape path was allocated 4 bytes emul_path: /compat/linux interp: /lib/ld-linux.so.2 ELF interpreter /co not found Abort trap Looks like something's gone south rather badly... Clues, anyone? PYD To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-current in the body of the message
Re: ELF interpreter /co not found
Hmm, wait a minute here... path is a char*, so sizeof(path) will always return the pointer size (4 on IA32), not what was allocated. PYD To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-current in the body of the message
Re: ELF interpreter /co not found
At 3:56 AM +0200 8/18/01, Niels Chr. Bank-Pedersen wrote: On Sat, Aug 18, 2001 at 02:34:35AM +0100, Pierre Y. Dampure wrote: The above message is what I get after upgrading from an August 7 to an August 17 world/kernel and trying to run linux-netscape47-communicator. Prior world/kernel combination worked okay, there have been no changes to the kernel configuration (which I can provide if required). I see this as well. Apparantly version 1.98 of sys/kern/imgact_elf.c causes the string containing the path to /compat/linux/lib/ld-2.1.2.so to be truncated. A quick workaround is to symlink /co to /compat/linux/lib/ld-2.1.2.so . I noticed some recent changes to imgact_elf.c (which stands at version 1.99 on the box affected), am I missing something else here? This bug was my fault; pointy hat to me. I just checked in a fix...thanks for diagnosing it for me. You'll want to make sure you get version 1.100 of sys/kern/imgact_elf.c. Mark To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-current in the body of the message