From owner-freebsd-net@FreeBSD.ORG Mon Sep 15 19:28:55 2008 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2EC3C1065682; Mon, 15 Sep 2008 19:28:55 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (bigknife-pt.tunnel.tserv9.chi1.ipv6.he.net [IPv6:2001:470:1f10:75::2]) by mx1.freebsd.org (Postfix) with ESMTP id 9BBBF8FC24; Mon, 15 Sep 2008 19:28:54 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from localhost.corp.yahoo.com (john@localhost [IPv6:::1]) (authenticated bits=0) by server.baldwin.cx (8.14.2/8.14.2) with ESMTP id m8FJRe5i082601; Mon, 15 Sep 2008 15:28:48 -0400 (EDT) (envelope-from jhb@freebsd.org) From: John Baldwin To: freebsd-hackers@freebsd.org, Matthias Apitz Date: Mon, 15 Sep 2008 14:48:05 -0400 User-Agent: KMail/1.9.7 References: <20080915110838.GA5258@rebelion.Sisis.de> In-Reply-To: <20080915110838.GA5258@rebelion.Sisis.de> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200809151448.06105.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (server.baldwin.cx [IPv6:::1]); Mon, 15 Sep 2008 15:28:48 -0400 (EDT) X-Virus-Scanned: ClamAV 0.93.1/8249/Mon Sep 15 12:31:36 2008 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-2.5 required=4.2 tests=AWL,BAYES_00,NO_RELAYS autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on server.baldwin.cx Cc: freebsd-net@freebsd.org, bug-followup@freebsd.org Subject: Re: panic's on KDE-launches (but only in WPA Wifi area) / kern/122331 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Sep 2008 19:28:55 -0000 On Monday 15 September 2008 07:08:38 am Matthias Apitz wrote: > > Hello, > > I'm booting my laptop 3 times a day: in the morning at home (WEP area), > when I arrive in my office (WPA area) and in the evening at home > (again); > > the sequence is always the same: booting, login into console, startx > which launches via ~/.xinitrc the KDE; > > in about 1 of 2-3 cases and only in the office(!) the system panics when > KDE comes up, at the end of the KDE booting and the jingle already > played; today it crashed again and again and after switching off the > Wifi radio on the laptop it came finally up fine; > > I did this (Wifi off) because I'm assuming somehow a relation with > http://www.freebsd.org/cgi/query-pr.cgi?pr=122331 > where my laptop as well only panic'ed in WPA mode (i.e. in the office) > and with 'bgscan' active; which I now have deactivated; > > all these panics look in the debugger more or less like this one: > > Fatal trap 12: page fault while in kernel mode > cpuid = 0; apic id = 00 > fault virtual address = 0xc > fault code = supervisor read, page not present > instruction pointer = 0x20:0xc0788b98 > stack pointer = 0x28:0xe6960acc > frame pointer = 0x28:0xe6960c50 > code segment = base 0x0, limit 0xfffff, type 0x1b > = DPL 0, pres 1, def32 1, gran 1 > processor eflags = interrupt enabled, resume, IOPL = 0 > current process = 1426 (kdeinit) > trap number = 12 > panic: page fault > cpuid = 0 > Uptime: 1m36s > Physical memory: 1009 MB > Dumping 129 MB: 114 98 82 66 50 34 18 2 > > #0 doadump () at pcpu.h:195 > 195 pcpu.h: No such file or directory. > in pcpu.h > (kgdb) bt > #0 doadump () at pcpu.h:195 > #1 0xc0754457 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:409 > #2 0xc0754719 in panic (fmt=Variable "fmt" is not available.) at /usr/src/sys/kern/kern_shutdown.c:563 > #3 0xc0a4905c in trap_fatal (frame=0xe6960a8c, eva=12) at /usr/src/sys/i386/i386/trap.c:899 > #4 0xc0a492e0 in trap_pfault (frame=0xe6960a8c, usermode=0, eva=12) > at /usr/src/sys/i386/i386/trap.c:812 > #5 0xc0a49c8c in trap (frame=0xe6960a8c) at /usr/src/sys/i386/i386/trap.c:490 > #6 0xc0a2fc0b in calltrap () at /usr/src/sys/i386/i386/exception.s:139 > #7 0xc0788b98 in kern_select (td=0xc49d5630, nd=9, fd_in=0x298ad840, fd_ou=0x298ad9c4, > fd_ex=0x298adb48, tvp=0x0) at filedesc.h:136 > #8 0xc07890de in select (td=0xc49d5630, uap=0xe6960cfc) at /usr/src/sys/kern/sys_generic.c:663 > #9 0xc0a49635 in syscall (frame=0xe6960d38) at /usr/src/sys/i386/i386/trap.c:1035 > #10 0xc0a2fc70 in Xint0x80_syscall () at /usr/src/sys/i386/i386/exception.s:196 > #11 0x00000033 in ?? () > Previous frame inner to this frame (corrupt stack?) > (kgdb) > > the 'current process' (kdeinit in the above crash) changes, but is > always one of the KDE parts; of course the problem is not KDE related, > it is just that the system comes under heavy usage in that moment; > > I already run 'memtest 128' for some hours without any noted problem in > memory; test are just passing fine; > > the same problem is with 7.0-RELEASE as with RELENG_7; > > what can I do to nail this down? it sucks somehow seeing it crashing on > startup in the morning in the office :-(( Can you go to frame 7 in kgdb and 'p *fdp'? -- John Baldwin