Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: panic in Linux emulation [was Re: 6.99.32: panic when starting X]
On Sun, Feb 23, 2014 at 12:38:43PM +0100, Thomas Klausner wrote:
> On Sun, Feb 23, 2014 at 12:32:05PM +0100, Thomas Klausner wrote:
> > panic: kernel diagnostic assertion "len <= LINUX32_ELF_AUX_ENTRIES" failed:
> > file "/archive/foreign/src/sys/compat/linux32/common/linux32_exec_elf32.c",
> > line 244
> > cpu7: Begin traceback...
> > vpanic() at netbsd:vpanic+0x1cd
> > kern_assert() at netbsd:kern_assert+0x5a
> > linux32_elf32_copyargs() at netbsd:linux32_elf32_copyargs+0x407
> > execve_runproc() at netbsd:execve_runproc+0x3da
> > sys_execve() at netbsd:sys_execve+0x53
> > syscall() at netbsd:syscall+0xb3
> > --- syscall (number 59) ---
> > 7f7ff703b64a:
> > cpu7: End traceback...
> > uvm_fault(0xfffffe886808b5e8, 0x0, 2) -> e
> > fatal page fault in supervisor mode
> >
> > This happened during a bulk build, I guess building one of the suse
> > packages. I'll retry.
>
> Hm, I just saw:
>
> Module Name: src
> Committed By: njoly
> Date: Sun Feb 23 11:09:42 UTC 2014
>
> Modified Files:
> src/sys/compat/linux/common: linux_exec_elf32.c
> src/sys/compat/linux32/common: linux32_exec_elf32.c
>
> Log Message:
> Fix wrong KASSERTs. Do not compare size vs. entries count.
>
>
> To generate a diff of this commit:
> cvs rdiff -u -r1.89 -r1.90 src/sys/compat/linux/common/linux_exec_elf32.c
> cvs rdiff -u -r1.15 -r1.16 src/sys/compat/linux32/common/linux32_exec_elf32.c
>
>
> I'll compile a new kernel.
That should fix. Before that, running any compat linux32 binary
triggered the bad KASSERT.
--
Nicolas Joly
Biology IT Center
Institut Pasteur, Paris.
Home |
Main Index |
Thread Index |
Old Index