Re: 8.0-BETA3 panic with vimage & lockd process

From: Marko Zec <zec_at_icir.org>
Date: Wed, 26 Aug 2009 14:08:22 +0200
On Wednesday 26 August 2009 13:00:50 subbsd wrote:
> Julian Elischer wrote:
> > > subbsd wrote:
> > >> Hello  maillist
> > >>
> > >> ive got sililar problem like
> > >> http://lists.freebsd.org/pipermail/freebsd-
> > >> virtualization/2008-May/000010.html
> > >
> > > is this -current or 8-beta3?  and if current, how new?
> > > _______________________________________________
> > > freebsd-current_at_freebsd.org mailing list
> > > http://lists.freebsd.org/mailman/listinfo/freebsd-current
> > > To unsubscribe, send any mail to
> > > "freebsd-current-unsubscribe_at_freebsd.org"
> >
> > sorry should have read hte subject line!
> >
> > any chance you can try a -current kernel?
> >
> > there are some fixes there that will go in to 8.x soon.
>
> Yes, jumping to
>
> kern.osrelease: 9.0-CURRENT
> kern.osrevision: 199506
>
> fix problem with lockd.

Great, thanks for testing this!

> But net/skype (running without root privileges) application make kernel
> panic anyway with VIMAGE options.
> ...

Could you try manually applying the following patch:

http://perforce.freebsd.org/chv.cgi?CH=167830

and report whether this makes things any different?

Thanks,

Marko


>
> On the FreeBSD-CURRENT (9), amd64, coredump after skype session:
>
>
> kgdb kernel.debug /var/crash/vmcore.2
> GNU gdb 6.1.1 [FreeBSD]
> Copyright 2004 Free Software Foundation, Inc.
> GDB is free software, covered by the GNU General Public License, and you
> are welcome to change it and/or distribute copies of it under certain
> conditions. Type "show copying" to see the conditions.
> There is absolutely no warranty for GDB.  Type "show warranty" for details.
> This GDB was configured as "amd64-marcel-freebsd"...
>
> Unread portion of the kernel message buffer:
>
>
> Fatal trap 12: page fault while in kernel mode
> cpuid = 1; apic id = 01
> fault virtual address   = 0x28
> fault code              = supervisor read data, page not present
> instruction pointer     = 0x20:0xffffffff80d864c6
> stack pointer           = 0x28:0xffffff8062a03a00
> frame pointer           = 0x28:0xffffff8062a03af0
> code segment            = base 0x0, limit 0xfffff, type 0x1b
>                         = DPL 0, pres 1, long 1, def32 0, gran 1
> processor eflags        = interrupt enabled, resume, IOPL = 0
> current process         = 1279 (skype)
> trap number             = 12
> panic: page fault
> cpuid = 1
> Uptime: 2m16s
> Physical memory: 3313 MB
> Dumping 1340 MB:
>
> Fatal trap 1: privileged instruction fault while in kernel mode
> cpuid = 3; apic id = 03
> instruction pointer     = 0x20:0xffffff8062a03403
> stack pointer           = 0x28:0xffffff80000d1b00
> frame pointer           = 0x28:0xffffff80000d1b30
> code segment            = base 0x0, limit 0xfffff, type 0x1b
>                         = DPL 0, pres 1, long 1, def32 0, gran 1
> processor eflags        = interrupt enabled, resume, IOPL = 0
> current process         = 12 (irq23: ehci0+)
> trap number             = 1
>  1325 1309 1293 1277 1261 1245 1229 1213 1197 1181 1165 1149 1133 1117 1101
> 1085 1069 1053 1037 1021 1005 989 973 957 941 925 909 893 877 861 845 829
> 813 797 781 765 749 733 717 701 685 669 653 637 621 605 589 573 557 541 525
> 509 493 477 461 445 429 413 397 381 365 349 333 317 301 285 269 253 237 221
> 205 189 173 157 141 125 109 93 77 61 45 29 13
>
> Reading symbols from /boot/kernel/linprocfs.ko...Reading symbols from
> /boot/kernel/linprocfs.ko.symbols...done.
> done.
> Loaded symbols for /boot/kernel/linprocfs.ko
> Reading symbols from /boot/kernel/linux.ko...Reading symbols from
> /boot/kernel/linux.ko.symbols...done.
> done.
> Loaded symbols for /boot/kernel/linux.ko
> Reading symbols from /boot/kernel/linsysfs.ko...Reading symbols from
> /boot/kernel/linsysfs.ko.symbols...done.
> done.
> Loaded symbols for /boot/kernel/linsysfs.ko
> Reading symbols from /boot/kernel/nullfs.ko...Reading symbols from
> /boot/kernel/nullfs.ko.symbols...done.
> done.
> Loaded symbols for /boot/kernel/nullfs.ko
> Reading symbols from /boot/kernel/sound.ko...Reading symbols from
> /boot/kernel/sound.ko.symbols...done.
> done.
> Loaded symbols for /boot/kernel/sound.ko
> Reading symbols from /boot/kernel/snd_hda.ko...Reading symbols from
> /boot/kernel/snd_hda.ko.symbols...done.
> done.
> Loaded symbols for /boot/kernel/snd_hda.ko
> Reading symbols from /boot/kernel/accf_data.ko...Reading symbols from
> /boot/kernel/accf_data.ko.symbols...done.
> done.
> Loaded symbols for /boot/kernel/accf_data.ko
> Reading symbols from /boot/kernel/accf_dns.ko...Reading symbols from
> /boot/kernel/accf_dns.ko.symbols...done.
> done.
> Loaded symbols for /boot/kernel/accf_dns.ko
> Reading symbols from /boot/kernel/accf_http.ko...Reading symbols from
> /boot/kernel/accf_http.ko.symbols...done.
> done.
> Loaded symbols for /boot/kernel/accf_http.ko
> Reading symbols from /boot/kernel/amdtemp.ko...Reading symbols from
> /boot/kernel/amdtemp.ko.symbols...done.
> done.
> Loaded symbols for /boot/kernel/amdtemp.ko
> Reading symbols from /boot/kernel/atapicam.ko...Reading symbols from
> /boot/kernel/atapicam.ko.symbols...done.
> done.
> Loaded symbols for /boot/kernel/atapicam.ko
> Reading symbols from /boot/kernel/ipfw.ko...Reading symbols from
> /boot/kernel/ipfw.ko.symbols...done.
> done.
> Loaded symbols for /boot/kernel/ipfw.ko
> Reading symbols from /boot/kernel/nfscommon.ko...Reading symbols from
> /boot/kernel/nfscommon.ko.symbols...done.
> done.
> Loaded symbols for /boot/kernel/nfscommon.ko
> Reading symbols from /usr/local/modules/fuse.ko...done.
> Loaded symbols for /usr/local/modules/fuse.ko
> Reading symbols from /boot/kernel/nfscl.ko...Reading symbols from
> /boot/kernel/nfscl.ko.symbols...done.
> done.
> Loaded symbols for /boot/kernel/nfscl.ko
> #0  doadump () at pcpu.h:223
> 223             __asm __volatile("movq %%gs:0,%0" : "=r" (td));
> (kgdb)
>
>
> (kgdb) list *0xffffffff80d864c6
> 0xffffffff80d864c6 is in linux_ioctl_socket
> (/usr/src/sys/modules/linux/../../compat/linux/linux_ioctl.c:2108).
> 2103            if (ep == NULL || ep == lxname + len || ep >= lxname +
> LINUX_IFNAMSIZ)
> 2104                    return (NULL);
> 2105            index = 0;
> 2106            is_eth = (len == 3 && !strncmp(lxname, "eth", len)) ? 1 :
> 0; 2107            IFNET_RLOCK();
> 2108            TAILQ_FOREACH(ifp, &V_ifnet, if_link) {
> 2109                    /*
> 2110                     * Allow Linux programs to use FreeBSD names. Don't
> presume
> 2111                     * we never have an interface named "eth", so don't
> make
> 2112                     * the test optional based on is_eth.
>
> (kgdb) backtrace
> #0  doadump () at pcpu.h:223
> #1  0xffffffff8057c029 in boot (howto=260) at
> /usr/src/sys/kern/kern_shutdown.c:416
> #2  0xffffffff8057c45c in panic (fmt=0xffffffff8089beec "%s") at
> /usr/src/sys/kern/kern_shutdown.c:579
> #3  0xffffffff807d5688 in trap_fatal (frame=0xffffff000505aab0,
> eva=Variable "eva" is not available.
> ) at /usr/src/sys/amd64/amd64/trap.c:852
> #4  0xffffffff807d5a54 in trap_pfault (frame=0xffffff8062a03950,
> usermode=0) at /usr/src/sys/amd64/amd64/trap.c:768
> #5  0xffffffff807d6344 in trap (frame=0xffffff8062a03950) at
> /usr/src/sys/amd64/amd64/trap.c:494
> #6  0xffffffff807bc5f3 in calltrap () at
> /usr/src/sys/amd64/amd64/exception.S:224
> #7  0xffffffff80d864c6 in linux_ioctl_socket (td=0xffffff000505aab0,
> args=0xffffff8062a03bd0) at
> /usr/src/sys/modules/linux/../../compat/linux/linux_ioctl.c:2108
> #8  0xffffffff80d87aa5 in linux_ioctl (td=0xffffff000505aab0,
> args=0xffffff8062a03bd0) at
> /usr/src/sys/modules/linux/../../compat/linux/linux_ioctl.c:2640
> #9  0xffffffff80812b96 in ia32_syscall (frame=0xffffff8062a03c80) at
> /usr/src/sys/amd64/ia32/ia32_syscall.c:182
> #10 0xffffffff807bcb75 in Xint0x80_syscall () at ia32_exception.S:72
> #11 0x00000000297fda84 in ?? ()
> Previous frame inner to this frame (corrupt stack?)
>
>
>
> Linuxolator for linux network application is not compatible with VIMAGE
> options? Thanks.
>
> > you should just be able to drop in the kernel and boot it manually
> > with a different name to test.
> >
> > if you can not get/make one, let me know and I can point you at one.
>
> _______________________________________________
> freebsd-current_at_freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"
Received on Wed Aug 26 2009 - 10:08:31 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:54 UTC