Kernel panic. Unsure of cause.
I had just closed Firefox 3 and went to open the Thunar file manager from XFCE and my machine locked up. After ~20 seconds, it rebooted, leaving a 310MB vmcore.0 in /var/crash along with a bounds and info.0 file. I have no idea how to investigate these problems, so please excuse the ignorance that may follow: I followed a section in the FreeBSD Developers Handbook on debugging the kernel, the following means absolutely nothing to me: newton# kgdb /boot/kernel/kernel /var/crash/vmcore.0 [GDB will not be able to debug user-mode threads: /usr/lib/libthread_db.so: Undefined symbol ps_pglobal_lookup] 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 i386-marcel-freebsd. Unread portion of the kernel message buffer: kernel trap 12 with interrupts disabled Fatal trap 12: page fault while in kernel mode cpuid = 1; apic id = 01 fault virtual address = 0x18 fault code = supervisor read, page not present instruction pointer = 0x20:0xc0785825 stack pointer = 0x28:0xe929ba58 frame pointer = 0x28:0xe929ba74 code segment= base 0x0, limit 0xf, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags= resume, IOPL = 0 current process = 1072 (Thunar) trap number = 12 panic: page fault cpuid = 1 Uptime: 7h35m34s Physical memory: 3058 MB Dumping 310 MB: 295 279 263 247 231 215 199 183 167 151 135 119 103 87 71 55 39 23 7 #0 doadump () at pcpu.h:195 195 pcpu.h: No such file or directory. in pcpu.h (kgdb) backtrace #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=0xe929ba18, eva=24) at /usr/src/sys/i386/i386/trap.c:899 #4 0xc0a499df in trap (frame=0xe929ba18) at /usr/src/sys/i386/i386/trap.c:280 #5 0xc0a2fc0b in calltrap () at /usr/src/sys/i386/i386/exception.s:139 #6 0xc0785825 in turnstile_broadcast (ts=0x0, queue=0) at /usr/src/sys/kern/subr_turnstile.c:835 #7 0xc0747da2 in _mtx_unlock_sleep (m=0xc81c60a0, opts=0, file=0x0, line=0) at /usr/src/sys/kern/kern_mutex.c:605 #8 0xc06fdbd1 in pfs_getextattr (va=0xe929bafc) at pseudofs_internal.h:110 #9 0xc0a5e667 in VOP_GETEXTATTR_APV (vop=0xc0b723e0, a=0xe929bafc) at vnode_if.c:2398 #10 0xc07c047e in extattr_get_vp (vp=0xc8fbdaa0, attrnamespace=1, attrname=0xe929bb71 mime_type, data=0x0, nbytes=0, td=0xccc81c60) at vnode_if.h:1289 #11 0xc07c0916 in extattr_get_fd (td=0xccc81c60, uap=0xe929bcfc) at /usr/src/sys/kern/vfs_extattr.c:408 #12 0xc0a49635 in syscall (frame=0xe929bd38) at /usr/src/sys/i386/i386/trap.c:1035 #13 0xc0a2fc70 in Xint0x80_syscall () at /usr/src/sys/i386/i386/exception.s:196 #14 0x0033 in ?? () Previous frame inner to this frame (corrupt stack?) (kgdb) Contents of bound and info,0 files in /var/crash (vmcore.0 is too big for me to put on the Internet) bounds: newton# cat bounds 1 info.0: newton# cat info.0 Dump header from device /dev/ad6s2b Architecture: i386 Architecture Version: 2 Dump Length: 326086656B (310 MB) Blocksize: 512 Dumptime: Sun Feb 15 18:14:51 2009 Hostname: newton.turnerfrontier.net Magic: FreeBSD Kernel Dump Version String: FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008 r...@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC Panic String: page fault Dump Parity: 3822966285 Bounds: 0 Dump Status: good Some information from the output of dmesg: FreeBSD 7.0-RELEASE #0 CPU: Intel(R) Core(TM)2 Duo CPU E8400 @ 3.00GHz (2999.96-MHz 686-class CPU) Origin = GenuineIntel Id = 0x10676 Stepping = 6 Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE Features2=0x8e3fdSSE3,RSVD2,MON,DS_CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,b19 AMD Features=0x2010NX,LM AMD Features2=0x1LAHF Cores per package: 2 real memory = 3220701184 (3071 MB) avail memory = 3146219520 (3000 MB) I'm also using an nVidia 9500GT with 512MB of on-board memory: vgapci0: VGA-compatible display port 0xac00-0xac7f mem 0xfd00-0xfdff,0xc000-0xdfff,0xfa00-0xfbff irq 16 at device 0.0 on pci1 Thank you for reading this. If there is anything further I can do to investigate this I would appreciate you telling me so. I haven't noticed any problems with the hardware recently, and the computer is fairly new. -- Charlie Turner. ___ freebsd-questions@freebsd.org mailing list
Re: [unsure] Re: Problem starting X as user
herbert langhans wrote: Also check if you have the /etc/x11/xorg.conf -- root 644. Dont keep another xorg.conf in the /home/user directory so its using the one from /etc/x11 for sure. Dont have ~/.Xresources and ~/.Xmodmap in the home directory. I must admit I have some xmodmap-commands in my .xinitrc. They worked fine in my 7.0-Beta1 installation. I now have upgraded to 7.0. X.org is 7.3_1. I copied my ~/frank from one computer to another via NFS. May it be there went something wrong? (See below) Check .xinitrc if it is in /root. If it is there and it works copy it over to the /home/user, care for permissions or make it 777. I have only one in ~/frank. Watch for /usr/local/lib/X11/xinit -- it will use this when you have no .xinitrc in the /home/user or permission is set wrong! The file /usr/local/lib/X11/xinit/xinitrc is set to r--r--r--. It seems to me this is somehow wrong. Should I change it, and to which value? Such troubles I solve best when I look over it the next day. Usually I find it in two minutes then and wonder how I can have not seen such an obvious mistake.. Cheers herbs On Thu, 03 Apr 2008 22:38:04 +0200 Frank Wißmann [EMAIL PROTECTED] wrote: herbert langhans wrote: Frank, can you start twm when you log in as a user. It smells like some permission issue from xfce. You could backup the xfce files with the actual permissions and then set them all to 777 and try to start it. Just an idea herbs On Thu, 03 Apr 2008 21:03:40 +0200 Frank Wißmann [EMAIL PROTECTED] wrote: Hi all! Hope there's somebody out there who can help me with the following problem: When I type startx as root all is coming up as expected, the X-Server and twm as WM. When I stop it, log in as a normal user and do the same there is only a grey screen with a mouse-cursor coming up and doing nothing until I kill the X-Server with Ctrl-Alt-Backspace. On the original screen from which I tried to start is shown the following error message: AUDIT: Thu Apr 3 20:34:48 2008 836 X: client 1 rejected from localhost (uid 1001) Auth name: XDM-AUTHORIZATION-1 ID: -1 Xlib: connection to 0:0 refused by server Xlib: Protocol not supported by server .xinitrc and .xsession both have the same contens exec startxfce4 and the permissions rwxr-xr-x. Any thoughts please? TIA Frank ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] If I comment out the exec startxfce4 in both files the effect is the same: No WM starts, just the X-Server. The interesting effect is that the output on the regular user's terminal is the same as above written. So it seems it has nothing to do with the WM I want to start. Frank ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: [unsure] Re: Problem starting X as user
Also check if you have the /etc/x11/xorg.conf -- root 644. Dont keep another xorg.conf in the /home/user directory so its using the one from /etc/x11 for sure. Dont have ~/.Xresources and ~/.Xmodmap in the home directory. Check .xinitrc if it is in /root. If it is there and it works copy it over to the /home/user, care for permissions or make it 777. Watch for /usr/local/lib/X11/xinit -- it will use this when you have no .xinitrc in the /home/user or permission is set wrong! Such troubles I solve best when I look over it the next day. Usually I find it in two minutes then and wonder how I can have not seen such an obvious mistake.. Cheers herbs On Thu, 03 Apr 2008 22:38:04 +0200 Frank Wißmann [EMAIL PROTECTED] wrote: herbert langhans wrote: Frank, can you start twm when you log in as a user. It smells like some permission issue from xfce. You could backup the xfce files with the actual permissions and then set them all to 777 and try to start it. Just an idea herbs On Thu, 03 Apr 2008 21:03:40 +0200 Frank Wißmann [EMAIL PROTECTED] wrote: Hi all! Hope there's somebody out there who can help me with the following problem: When I type startx as root all is coming up as expected, the X-Server and twm as WM. When I stop it, log in as a normal user and do the same there is only a grey screen with a mouse-cursor coming up and doing nothing until I kill the X-Server with Ctrl-Alt-Backspace. On the original screen from which I tried to start is shown the following error message: AUDIT: Thu Apr 3 20:34:48 2008 836 X: client 1 rejected from localhost (uid 1001) Auth name: XDM-AUTHORIZATION-1 ID: -1 Xlib: connection to 0:0 refused by server Xlib: Protocol not supported by server .xinitrc and .xsession both have the same contens exec startxfce4 and the permissions rwxr-xr-x. Any thoughts please? TIA Frank ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] If I comment out the exec startxfce4 in both files the effect is the same: No WM starts, just the X-Server. The interesting effect is that the output on the regular user's terminal is the same as above written. So it seems it has nothing to do with the WM I want to start. Frank -- *** Herbert Langhans, Warschau *** Sprachtraining Langhans *** http://www.langhans.com.pl *** [EMAIL PROTECTED] *** NIP 526-229-61-51 *** Regon 014911759 *** Tel. 603 341 441 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
unsure about /etc/hosts
Hi, I am at the moment unsure about the localhost entries in my /etc/hosts. From /usr/src/etc/hosts I have found this one: # Host Database # # This file should contain the addresses and aliases for local hosts that # share this file. Replace 'my.domain' below with the domainname of your # machine. # # ::1 localhost localhost.my.domain 127.0.0.1 localhost localhost.my.domain So my hostname is I.and.I so the /etc/hosts entry must be: ::1 localhost localhost.and.I 127.0.0.1 localhost localhost.and.I Now regarding some programs (e.g. mutt) this option is not able to deliver mail locally instead putting it in /var/spool/mqueue or /var/spool/clientmqueue. If I use this: ::1 localhost I.and.I 127.0.0.1 localhost I.and.I I have no problems with sending the mail locally. So I am a little bit confused about what is the correct way to define the localhost in /etc/hosts. Thanx in advance Oliver -- ... don't touch the bang bang fruit ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: unsure about /etc/hosts
* Oliver Fuchs [EMAIL PROTECTED] [1107 21:07]: # Host Database # # This file should contain the addresses and aliases for local hosts that # share this file. Replace 'my.domain' below with the domainname of your # machine. # # ::1 localhost localhost.my.domain 127.0.0.1 localhost localhost.my.domain So my hostname is I.and.I so the /etc/hosts entry must be: ::1 localhost localhost.and.I 127.0.0.1 localhost localhost.and.I Now regarding some programs (e.g. mutt) this option is not able to deliver mail locally instead putting it in /var/spool/mqueue or /var/spool/clientmqueue. If I use this: ::1 localhost I.and.I 127.0.0.1 localhost I.and.I This sets your hostname to point to the localhost address - is that what you want? Normally, you set your hostname to a public IP (or at least a network connected IP) i.e. ::1 localhost localhost.and.I 127.0.0.1 localhost localhost.and.I 1.2.3.4 I.and.I Jah love. -- Oh how awful. Did he at least die peacefully? To shreds you say, tsk tsk tsk. Well, how's his wife holding up? To shreds, you say... - Prof. Farnsworth Rasputin :: Jack of All Trades - Master of Nuns ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: unsure about /etc/hosts
On Mon, 22 Nov 2004, Nikolas Britton wrote: Oliver Fuchs wrote: Hi, I am at the moment unsure about the localhost entries in my /etc/hosts. From /usr/src/etc/hosts I have found this one: # Host Database # # This file should contain the addresses and aliases for local hosts that # share this file. Replace 'my.domain' below with the domainname of your # machine. # # ::1 localhost localhost.my.domain 127.0.0.1localhost localhost.my.domain So my hostname is I.and.I so the /etc/hosts entry must be: ::1 localhost localhost.and.I 127.0.0.1localhost localhost.and.I Now regarding some programs (e.g. mutt) this option is not able to deliver mail locally instead putting it in /var/spool/mqueue or /var/spool/clientmqueue. If I use this: ::1 localhost I.and.I 127.0.0.1localhost I.and.I I have no problems with sending the mail locally. So I am a little bit confused about what is the correct way to define the localhost in /etc/hosts. Thanx in advance Oliver I'd like to know this too as I have seen meny diffrent ways too layout the hosts file. here what I got in mine: In the FAQs I finally have found a third one which I am now using: ::1 I.and.I I localhost 127.0.0.1 I.and.I I localhost ::1localhost localhost.intranet 127.0.0.1 localhost localhost.intranet ::1spectra spectra.intranet 127.0.0.1 spectra spectra.intranet but this same hosts file also says to do it like this: # Imaginary network. #10.0.0.2 myname.my.domain myname #10.0.0.3 myfriend.my.domain myfriend So which way do you list them. And say spectra.intranet (me) am I suppost to list it as localhost or the real ip address? -- ... don't touch the bang bang fruit ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
unsure
I was unsure to where to obtain a recent copy of FreeBSD . can you help out with this I do have an excellent Cable connection so DLing the software is not a problem I can use an alternative to 'Windows' currently using WindowsXP SP2 not impressed ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: unsure
On Mon, 23 Aug 2004 [EMAIL PROTECTED] wrote: I was unsure to where to obtain a recent copy of FreeBSD . can you help out with this I do have an excellent Cable connection so DLing the software is not a problem I can use an alternative to 'Windows' currently using WindowsXP SP2 not impressed Check the main freebsd.org website for a list of mirrors. Also it would be worth rading the Handbook to get things started Rus -- e: [EMAIL PROTECTED] : t: 1-888-327-6330 http://www.atwebhosting.com - Free Shared Hosting http://www.vpscolo.com - Your next hosting company ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]