Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 May 2004 13:16:59 -0400
From:      "Kevin A. Pieckiel" <pieckiel+freebsd-hackers@sdf.lonestar.org>
To:        freebsd-hackers@freebsd.org
Subject:   5.2.1 panic
Message-ID:  <20040513171659.GA14716@SDF.LONESTAR.ORG>

next in thread | raw e-mail | index | archive | help
The situation:

Dell PowerEdge 1750, Dual 3.2 GHz, 1 GB RAM.
Sources compiled from CVS on 4 May 2004, RELENG_5_2 branch.

# uname -a
FreeBSD hr-stc-file2.smartrafficenter.net 5.2.1-RELEASE-p5 FreeBSD 5.2.1-RELEASE-p5 #0: Tue May  4 11:02:47 EDT 2004     toor@fileserver2.smartrafficenter.net:/usr/obj/usr/src/sys/FILESERVER1  i386

One filesystem NFS mounted from another FBSD 4.9 box.
Samba 3.0.4 is installed and running (AD member server). 
Samba is mapping home directories to the NFS-mounted files.

When accessing a home directory from a Windows computer (trying
to read files from the NFS-mounted filesystem), the computer
panics and reboots.

NFS support provided via modules, not compiled into kernel.
Gdb output and kernel config follow.

Any ideas why or how to fix?

Kevin


Gdb and backtrace output:

This GDB was configured as "i386-unknown-freebsd"...
panic: page fault
panic messages:
---
Fatal trap 12: page fault while in kernel mode
cpuid = 1; apic id = 01
fault virtual address   = 0x8
fault code              = supervisor read, page not present
instruction pointer     = 0x8:0xc0519a64
stack pointer           = 0x10:0xec8afc70
frame pointer           = 0x10:0xec8afce4
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         = 47600 (smbd)
trap number             = 12
panic: page fault
cpuid = 1; 
boot() called on cpu#1

syncing disks, buffers remaining... 7143 7143 7143 7141 7140 7140 7140 7140 7140 7140 7140 7140 7140 7140 7140 7140 7140 7140 7140 7140 7140 7140 7140 7140 
giving up on 1972 buffers
Uptime: 8d23h30m41s
Dumping 1023 MB
 16 32 48 64 80 96 112 128 144 160 176 192 208 224 240 256 272 288 304 320 336 352 368 384 400 416 432 448 464 480 496 512 528 544 560 576 592 608 624 640 656 672 688 704 720 736 752 768 784 800 816 832 848 864 880 896 912 928 944 960 976 992 1008
---
Reading symbols from /boot/kernel/acpi.ko...done.
Loaded symbols for /boot/kernel/acpi.ko
Reading symbols from /boot/kernel/usb.ko...done.
Loaded symbols for /boot/kernel/usb.ko
Reading symbols from /boot/kernel/nfsclient.ko...done.
Loaded symbols for /boot/kernel/nfsclient.ko
#0  doadump () at /usr/src/sys/kern/kern_shutdown.c:240
240             dumping++;
(kgdb) bt
#0  doadump () at /usr/src/sys/kern/kern_shutdown.c:240
#1  0xc04c0eb0 in boot (howto=256) at /usr/src/sys/kern/kern_shutdown.c:372
#2  0xc04c1284 in poweroff_wait (junk=0xc05f0c01, howto=-1067483071) at /usr/src/sys/kern/kern_shutdown.c:550
#3  0xc05c6567 in trap_fatal (frame=0xc05f0c01, eva=0) at /usr/src/sys/i386/i386/trap.c:821
#4  0xc05c625a in trap_pfault (frame=0xec8afc30, usermode=0, eva=8) at /usr/src/sys/i386/i386/trap.c:735
#5  0xc05c5e36 in trap (frame=
      {tf_fs = -896794600, tf_es = -899153904, tf_ds = -326500336, tf_edi = -326435564, tf_esi = -899138752, tf_ebp = -326435612, tf_isp = -326435748, tf_ebx = 0, tf_edx = 0, tf_ecx = 47, tf_eax = 0, tf_trapno = 12, tf_err = 0, tf_eip = -1068393884, tf_cs = 8, tf_eflags = 66118, tf_esp = -896735460, tf_ss = -326435708}) at /usr/src/sys/i386/i386/trap.c:420
#6  0xc05b40f8 in calltrap () at {standard input}:94
#7  0xc05c68c1 in syscall (frame=
      {tf_fs = -1078001617, tf_es = 137429039, tf_ds = -1078001617, tf_edi = 5018, tf_esi = -1077943264, tf_ebp = -1077943208, tf_isp = -326435468, tf_ebx = 5000, tf_edx = 5000, tf_ecx = -1077941776, tf_eax = 148, tf_trapno = 12, tf_err = 2, tf_eip = 677584303, tf_cs = 31, tf_eflags = 582, tf_esp = -1077943284, tf_ss = 47}) at /usr/src/sys/i386/i386/trap.c:1010
#8  0xc05b414d in Xint0x80_syscall () at {standard input}:136
---Can't read userspace from dump, or kernel process---

Kernel config:

machine         i386
cpu             I686_CPU
ident           FILESERVER1
makeoptions     DEBUG=-g                #Build kernel with gdb(1) debug symbols
options         SCHED_ULE               #The new scheduler
options         INET                    #InterNETworking
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         COMPAT_43               #Compatible with BSD 4.3 [KEEP THIS!]
options         COMPAT_FREEBSD4         #Compatible with FreeBSD4
options         SCSI_DELAY=3000         #Delay (in ms) before probing SCSI
options         SMP                     # Symmetric MultiProcessor Kernel
device          apic                    # I/O APIC
device          isa
device          pci
device          ata
device          atapicd                 # ATAPI CDROM drives
options         ATA_STATIC_ID           #Static device numbering
device          ahc             # AHA2940 and onboard AIC7xxx devices
device          scbus           # SCSI bus (required for SCSI)
device          ch              # SCSI media changers
device          da              # Direct Access (disks)
device          sa              # Sequential Access (tape etc)
device          pass            # Passthrough device (direct SCSI access)
device          amr             # AMI MegaRAID
device          atkbdc          # AT keyboard controller
device          atkbd           # AT keyboard
device          psm             # PS/2 mouse
device          vga             # VGA video card driver
device          sc
options         SC_DISABLE_REBOOT       # Disable CTRL-ALT-DEL
device          npx
device          pmtimer
device          sio             # 8250, 16[45]50 based serial ports
device          miibus          # MII bus support
device          bge             # Broadcom BCM570xx Gigabit Ethernet
device          random          # Entropy device
device          loop            # Network loopback
device          ether           # Ethernet support
device          pty             # Pseudo-ttys (telnet etc)
device          md              # Memory "disks"
device          bpf             # Berkeley packet filter



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040513171659.GA14716>