For some time now, weeks, actually my FreeBSD box has been crashing aparrantly 
randomly. It took me forever but I finally managed to capture a dump! Here is 
what kgdb said:

-----------------------------------------------------------------------------
Script started on Mon Jun 11 19:56:46 2007
kgdb kernel.debug /var/crash/vmcore.0  

kgdb: kvm_nlist(_stopped_cpus):  
kgdb: kvm_nlist(_stoppcbs):  
[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: 
panic: vm_fault: fault on nofault entry, addr: c1d9c000 
Uptime: 2d1h27m41s 
Dumping 351 MB (2 chunks) 
  chunk 0: 1MB (159 pages) ... ok 
  chunk 1: 351MB (89840 pages) 335 319 303 287 271 255 239 223 207 191 175 159 
143 127 111 95 79 63 47 31 15 
 
#0  doadump () at pcpu.h:165 
165             __asm __volatile("movl %%fs:0,%0" : "=r" (td)); 
(kgdb) jhengis# ^D  exit 
Script done on Mon Jun 11 19:56:59 2007
-----------------------------------------------------------------------------

I have never had to debug a kernel dump before, and frankly am unfamiliar with 
the procedure, Sorry if I have missed something obvious :(

The crashes started *around* the time that I upgraded to Xorg 7.2, however I 
am unsure this is the cause, notwithstanding I *think* that something that 
got rebuilt during that period is causing the crash. It does not seem, 
however, to be Xorg itself; the crashes also occur when X is not in use. I 
did not rebuild my kernel around that time.

I hope that I have provided enough information, if I have not, I can gladly 
get more. I have attached my kernel configuration, my uname -a output is:

FreeBSD jhengis.vistua.com 6.2-RELEASE-p5 FreeBSD 6.2-RELEASE-p5 #3: Sat Jun  
2 12:45:19 EDT 2007     [EMAIL PROTECTED]:/usr/obj/usr/src/sys/BORODIN  
i386 
(The recent datestamp on this kernel is because I rebuilt it with debug 
information, so I could catch the dump.)

You can get the complete contents of /var/crash from 
ftp://[EMAIL PROTECTED]/pub/crash.tar.bz2

Any help would be greatly appreciated!
--John
machine         i386
cpu             I686_CPU
ident           BORODIN
# To statically compile in device wiring instead of /boot/device.hints
#hints          "GENERIC.hints"         # Default places to look for devices.

makeoptions     DEBUG=-g
options         SCHED_4BSD              # 4BSD scheduler
options         PREEMPTION              # Enable kernel thread preemption
options         INET                    # InterNETworking
options         INET6                   # IPv6 communications protocols
options         FFS                     # Berkeley Fast Filesystem
options         SOFTUPDATES             # Enable FFS soft updates support
options         UFS_ACL                 # Support for access control lists
options         UFS_DIRHASH             # Improve performance on big directories
options         MD_ROOT                 # MD is a potential root device
options         PROCFS                  # Process filesystem (requires PSEUDOFS)
options         PSEUDOFS                # Pseudo-filesystem framework
options         GEOM_GPT                # GUID Partition Tables.
options         COMPAT_43               # Compatible with BSD 4.3 [KEEP THIS!]
options         COMPAT_FREEBSD4         # Compatible with FreeBSD4
options         COMPAT_FREEBSD5         # Compatible with FreeBSD5
options         SCSI_DELAY=5000         # Delay (in ms) before probing SCSI
options         KTRACE                  # ktrace(1) support
options         SYSVSHM                 # SYSV-style shared memory
options         SYSVMSG                 # SYSV-style message queues
options         SYSVSEM                 # SYSV-style semaphores
options         _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time 
extensions
options         KBD_INSTALL_CDEV        # install a CDEV entry in /dev
options         ADAPTIVE_GIANT          # Giant mutex is adaptive.

device          apic                    # I/O APIC

# Bus support.
device          eisa
device          pci

# Floppy drives
device          fdc

# ATA and ATAPI devices
device          ata
device          atadisk         # ATA disk drives
device          atapicd         # ATAPI CDROM drives
device          atapifd         # ATAPI floppy drives
options         ATA_STATIC_ID   # Static device numbering
device          atapicam

# SCSI peripherals
device          scbus           # SCSI bus (required for SCSI)
device          ch              # SCSI media changers
device          da              # Direct Access (disks)
device          cd              # CD
device          pass            # Passthrough device (direct SCSI access)
device          ses             # SCSI Environmental Services (and SAF-TE)

device          atkbdc          # AT keyboard controller
device          atkbd           # AT keyboard
device          psm             # PS/2 mouse

device          sc
device          agp
device          kbdmux          # keyboard multiplexer
device          vga             # VGA video card driver
device          splash          # Splash screen and screen saver support
options         VESA
options         VGA_WIDTH90
options         SC_PIXEL_MODE

# PCI Ethernet NICs that use the common MII bus controller code.
# NOTE: Be sure to keep the 'device miibus' line in order to use these NICs!
device          miibus          # MII bus support
device          re              # RealTek 8139C+/8169/8169S/8110S
device          rl              # RealTek 8129/8139

# Pseudo devices.
device          loop            # Network loopback
device          random          # Entropy device
device          ether           # Ethernet support
device          ppp             # Kernel PPP
device          tun             # Packet tunnel.
device          pty             # Pseudo-ttys (telnet etc)
device          md              # Memory "disks"
device          gif             # IPv6 and IPv4 tunneling
device          faith           # IPv6-to-IPv4 relaying (translation)

device          bpf             # Berkeley packet filter

# USB support
device          ehci            # EHCI PCI->USB interface (USB 2.0)
device          usb             # USB Bus (required)
device          ugen            # Generic
device          uhid            # "Human Interface Devices"
device          ulpt            # Printer
device          umass           # Disks/Mass storage - Requires scbus and da
# USB Ethernet, requires miibus
#device         rue             # RealTek RTL8150 USB Ethernet

device          atapicam
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to