Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Sep 2007 00:27:18 GMT
From:      Michael Reynolds <michael.reynolds@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   kern/116170: Kernel panic when mounting /tmp
Message-ID:  <200709070027.l870RIXS034887@www.freebsd.org>
Resent-Message-ID: <200709070030.l870U2FR003251@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         116170
>Category:       kern
>Synopsis:       Kernel panic when mounting /tmp
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Sep 07 00:30:01 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Michael Reynolds
>Release:        6.2-STABLE
>Organization:
>Environment:
FreeBSD tageri.delinked.net 6.2-STABLE FreeBSD 6.2-STABLE #6: Tue May 29 18:24:40 EDT 2007     root@tageri.local:/usr/obj/usr/src/sys/TAGERI  i386
>Description:
Recently updated src via csup. Rebuilt kernel and world. Kernel panics when attempting to mount tmp (ad0s1f). Attempted to wipe out partition and recreate, had no effect. Problem did exist on source prior to 5th, up until most recent update on 5th, no specific date is available. Problem did not exist on kernel built at time specified in uname output. The backtrace follows. If more information is needed, please ask. The core and debug kernel will be retained until deemed no longer necessary. There have been no local code modifications to src. More information follows backtrace.

>How-To-Repeat:
Unknown, currently no access to other machines to cross-diagnose.
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:
 >>>BEGIN
 Script started on Mon Jan  1 01:56:45 2001
 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:
 Copyright (c) 1992-2007 The FreeBSD Project.
 Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
         The Regents of the University of California. All rights reserved.
 FreeBSD is a registered trademark of The FreeBSD Foundation.
 FreeBSD 6.2-STABLE #12: Wed Sep  5 23:24:17 EDT 2007
     root@tageri.local:/usr/obj/usr/src/sys/TAGERI
 WARNING: debug.mpsafenet forced to 0 as ipsec requires Giant
 WARNING: MPSAFE network stack disabled, expect reduced performance.
 Timecounter "i8254" frequency 1193182 Hz quality 0
 CPU: Intel(R) Pentium(R) 4 CPU 1.50GHz (1494.47-MHz 686-class CPU)
   Origin = "GenuineIntel"  Id = 0xf12  Stepping = 2
   Features=0x3febf9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM>
 real memory  = 402587648 (383 MB)
 avail memory = 384462848 (366 MB)
 Security policy loaded: TrustedBSD MAC/portacl (trustedbsd_mac_portacl)
 Security policy loaded: TrustedBSD MAC/seeotheruids (mac_seeotheruids)
 Security policy loaded: TrustedBSD MAC/Biba (mac_biba)
 Security policy loaded: TrustedBSD MAC/BSD Extended (mac_bsdextended)
 Security policy loaded: TrustedBSD MAC/LOMAC (mac_lomac)
 Security policy loaded: TrustedBSD MAC/MLS (mac_mls)
 Security policy loaded: TrustedBSD MAC/Partition (mac_partition)
 netsmb_dev: loaded
 acpi0: <IntelR AWRDACPI> on motherboard
 acpi0: Power Button (fixed)
 Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0
 cpu0: <ACPI CPU> on acpi0
 acpi_throttle0: <ACPI CPU Throttling> on cpu0
 acpi_button0: <Power Button> on acpi0
 pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
 pci0: <ACPI PCI bus> on pcib0
 pcib1: <PCI-PCI bridge> at device 1.0 on pci0
 pci1: <PCI bus> on pcib1
 pcib2: <ACPI PCI-PCI bridge> at device 30.0 on pci0
 pci2: <ACPI PCI bus> on pcib2
 pci2: <display, VGA> at device 4.0 (no driver attached)
 pci2: <multimedia, video> at device 6.0 (no driver attached)
 pci2: <simple comms> at device 7.0 (no driver attached)
 pci2: <multimedia, audio> at device 9.0 (no driver attached)
 dc0: <ADMtek AN985 10/100BaseTX> port 0xcc00-0xccff mem 0xe7000000-0xe70003ff irq 11 at device 10.0 on pci2
 miibus0: <MII bus> on dc0
 ukphy0: <Generic IEEE 802.3u media interface> on miibus0
 ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
 dc0: Ethernet address: 00:c0:26:c0:b8:a2
 dc0: [GIANT-LOCKED]
 isab0: <PCI-ISA bridge> at device 31.0 on pci0
 isa0: <ISA bus> on isab0
 atapci0: <Intel ICH2 UDMA100 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xf000-0xf00f at device 31.1 on pci0
 ata0: <ATA channel 0> on atapci0
 ata1: <ATA channel 1> on atapci0
 uhci0: <Intel 82801BA/BAM (ICH2) USB controller USB-A> port 0xd000-0xd01f irq 9 at device 31.2 on pci0
 uhci0: [GIANT-LOCKED]
 usb0: <Intel 82801BA/BAM (ICH2) USB controller USB-A> on uhci0
 usb0: USB revision 1.0
 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
 uhub0: 2 ports with 2 removable, self powered
 pci0: <serial bus, SMBus> at device 31.3 (no driver attached)
 uhci1: <Intel 82801BA/BAM (ICH2) USB controller USB-B> port 0xd800-0xd81f irq 11 at device 31.4 on pci0
 uhci1: [GIANT-LOCKED]
 usb1: <Intel 82801BA/BAM (ICH2) USB controller USB-B> on uhci1
 usb1: USB revision 1.0
 uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
 uhub1: 2 ports with 2 removable, self powered
 acpi_tz0: <Thermal Zone> on acpi0
 sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
 sio0: type 16550A
 sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0
 sio1: type 16550A
 orm0: <ISA Option ROMs> at iomem 0xc0000-0xc7fff,0xc8000-0xcbfff on isa0
 atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
 atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
 device_attach: atkbd0 attach returned 6
 sc0: <System console> at flags 0x100 on isa0
 sc0: VGA <16 virtual consoles, flags=0x300>
 vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
 NULL mp in getnewvnode()
 Timecounter "TSC" frequency 1494470372 Hz quality 800
 Timecounters tick every 1.000 msec
 IPv6 packet filtering initialized, logging limited to 100 packets/entry
 IPsec: Initialized Security Association Processing.
 ipfw2 (+ipv6) initialized, divert enabled, rule-based forwarding enabled, default to deny, logging limited to 100 packets/entry by default
 acd0: CDRW <AOPEN CD-RW CRW2440/2.06> at ata0-master PIO4
 ad0: 190782MB <WDC WD2000JB-00EVA0 15.05R15> at ata0-slave UDMA100
 ad1: 38204MB <SAMSUNG SV4002H QP100-07> at ata1-master UDMA100
 ad2: 78167MB <Maxtor 4W080H6 AAH41310> at ata1-slave UDMA100
 cd0 at ata0 bus 0 target 0 lun 0
 cd0: <AOPEN CD-RW CRW2440 2.06> Removable CD-ROM SCSI-0 device 
 cd0: 16.000MB/s transfers
 cd0: Attempt to query device size failed: NOT READY, Medium not present
 Trying to mount root from ufs:/dev/ad0s1a
 <118>Loading configuration files.
 <118>kernel dumps on /dev/ad0s1b
 <118>Entropy harvesting:
 <118> interrupts
 <118> ethernet
 <118> point_to_point
 <118> kickstart
 <118>.
 GEOM_ELI: Device ad0s1b.eli created.
 GEOM_ELI: Encryption: AES-CBC 256
 GEOM_ELI:     Crypto: software
 GEOM_ELI: Device ad1s1b.eli created.
 GEOM_ELI: Encryption: AES-CBC 256
 GEOM_ELI:     Crypto: software
 <118>swapon: adding /dev/ad0s1b.eli as swap device
 <118>swapon: adding /dev/ad1s1b.eli as swap device
 <118>Starting file system checks:
 <118>/dev/ad0s1a: FILE SYSTEM CLEAN; SKIPPING CHECKS
 <118>/dev/ad0s1a: clean, 2184023 free (1359 frags, 272833 blocks, 0.1% fragmentation)
 <118>/dev/ad1s1a: FILE SYSTEM CLEAN; SKIPPING CHECKS
 <118>/dev/ad1s1a: clean, 474877 free (517 frags, 59295 blocks, 0.1% fragmentation)
 <118>/dev/ad0s2g: FILE SYSTEM CLEAN; SKIPPING CHECKS
 <118>/dev/ad0s2g: clean, 10972665 free (55393 frags, 1364659 blocks, 0.1% fragmentation)
 <118>/dev/ad1s1h: FILE SYSTEM CLEAN; SKIPPING CHECKS
 <118>/dev/ad1s1h: clean, 1285912 free (13864 frags, 159006 blocks, 0.1% fragmentation)
 <118>/dev/ad1s1f: FILE SYSTEM CLEAN; SKIPPING CHECKS
 <118>/dev/ad1s1f: clean, 918180 free (580 frags, 114700 blocks, 0.1% fragmentation)
 <118>/dev/ad0s1d: FILE SYSTEM CLEAN; SKIPPING CHECKS
 <118>/dev/ad0s1d: clean, 866181 free (997 frags, 108148 blocks, 0.1% fragmentation)
 <118>/dev/ad0s1f: FILE SYSTEM CLEAN; SKIPPING CHECKS
 <118>/dev/ad0s1f: clean, 5077077 free (21 frags, 634632 blocks, 0.0% fragmentation)
 <118>/dev/ad1s1d: FILE SYSTEM CLEAN; SKIPPING CHECKS
 <118>/dev/ad1s1d: clean, 943767 free (159 frags, 117951 blocks, 0.0% fragmentation)
 <118>/dev/ad1s1g: FILE SYSTEM CLEAN; SKIPPING CHECKS
 <118>/dev/ad1s1g: clean, 1212927 free (79191 frags, 141717 blocks, 2.0% fragmentation)
 <118>/dev/ad0s1g: FILE SYSTEM CLEAN; SKIPPING CHECKS
 <118>/dev/ad0s1g: clean, 3335104 free (39720 frags, 411923 blocks, 0.8% fragmentation)
 <118>/dev/ad0s2e: FILE SYSTEM CLEAN; SKIPPING CHECKS
 <118>/dev/ad0s2e: clean, 3724916 free (12060 frags, 464107 blocks, 0.3% fragmentation)
 <118>/dev/ad1s1e: FILE SYSTEM CLEAN; SKIPPING CHECKS
 <118>/dev/ad1s1e: clean, 748561 free (20209 frags, 91044 blocks, 2.0% fragmentation)
 <118>/dev/ad0s2d: FILE SYSTEM CLEAN; SKIPPING CHECKS
 <118>/dev/ad0s2d: clean, 2059189 free (100581 frags, 244826 blocks, 4.4% fragmentation)
 <118>/dev/ad0s1e: FILE SYSTEM CLEAN; SKIPPING CHECKS
 <118>/dev/ad0s1e: clean, 4352158 free (24694 frags, 540933 blocks, 0.5% fragmentation)
 <118>/dev/ad0s2f: FILE SYSTEM CLEAN; SKIPPING CHECKS
 <118>/dev/ad0s2f: clean, 2094409 free (201 frags, 261776 blocks, 0.0% fragmentation)
 <118>Mounting local file systems:
 <118>mount: 
 <118>/dev/ad0s1a
 <118>: 
 <118>Cross-device link
 
 
 Fatal trap 12: page fault while in kernel mode
 fault virtual address   = 0xcac79004
 fault code              = supervisor read, page not present
 instruction pointer     = 0x20:0xc069fee9
 stack pointer           = 0x28:0xd1085764
 frame pointer           = 0x28:0xd1085794
 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         = 121 (mount)
 trap number             = 12
 panic: page fault
 Uptime: 7s
 Dumping 383 MB (2 chunks)
   chunk 0: 1MB (159 pages) ... ok
   chunk 1: 383MB (98032 pages) 367 351 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) bt full
 #0  doadump () at pcpu.h:165
 No locals.
 #1  0xc055dbe8 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:409
         first_buf_printf = 1
 #2  0xc055de80 in panic (fmt=0xc073a4d1 "%s") at /usr/src/sys/kern/kern_shutdown.c:565
         td = (struct thread *) 0xc2b14900
         bootopt = 260
         newpanic = 0
         ap = 0xc2b14900 "`8±Â`P¢Â"
         buf = "page fault", '\0' <repeats 245 times>
 #3  0xc07142fc in trap_fatal (frame=0xd1085724, eva=3402076164)
     at /usr/src/sys/i386/i386/trap.c:838
         code = 40
         ss = 40
         esp = 0
         type = 12
         softseg = {ssd_base = 0, ssd_limit = 1048575, ssd_type = 27, ssd_dpl = 0, ssd_p = 1, 
   ssd_xx = 8, ssd_xx1 = 3, ssd_def32 = 1, ssd_gran = 1}
         msg = 0x0
 #4  0xc0714063 in trap_pfault (frame=0xd1085724, usermode=0, eva=3402076164)
     at /usr/src/sys/i386/i386/trap.c:745
         va = 3402076160
         vm = (struct vmspace *) 0x0
         map = 0xc104b000
         rv = 1
         ftype = 1 '\001'
         td = (struct thread *) 0xc2b14900
         p = (struct proc *) 0xc2b13860
 #5  0xc0713cb9 in trap (frame=
       {tf_fs = -892927992, tf_es = 1750466600, tf_ds = 40, tf_edi = -1027009024, tf_esi = -892891136, tf_ebp = -787982444, tf_isp = -787982512, tf_ebx = 0, tf_edx = 16384, tf_ecx = -1, tf_eax = -90046---Type <return> to continue, or q <return> to quit--- 
 4432, tf_trapno = 12, tf_err = 0, tf_eip = -1066795287, tf_cs = 32, tf_eflags = 66182, tf_esp = 8448, tf_ss = 33}) at /usr/src/sys/i386/i386/trap.c:435
         td = (struct thread *) 0xc2b14900
         p = (struct proc *) 0xc2b13860
         sticks = 8
         type = 12
         i = 0
         ucode = 0
         code = 0
         eva = 3402076164
 #6  0xc0701a8a in calltrap () at /usr/src/sys/i386/i386/exception.s:139
 No locals.
 #7  0xc069fee9 in ufsdirhash_build (ip=0xc2d98ad4) at /usr/src/sys/ufs/ufs/ufs_dirhash.c:232
         dh = (struct dirhash *) 0xc2c91600
         bp = (struct buf *) 0xca5400d0
         ep = (struct direct *) 0xcac79000
         vp = (struct vnode *) 0xc2d79aa0
         bmask = -1
         pos = 16384
         dirblocks = 129
         i = -892891136
         j = 16384
         memreqd = 34478
         nblocks = 194
         narrays = 33
         nslots = 8448
         slot = 0
 #8  0xc06a360d in ufs_lookup (ap=0xd10858a8) at /usr/src/sys/ufs/ufs/ufs_lookup.c:192
         vdp = (struct vnode *) 0xc2d79aa0
         dp = (struct inode *) 0xc2d98ad4
         bp = (struct buf *) 0x0
 ---Type <return> to continue, or q <return> to quit---
         ep = (struct direct *) 0x0
         entryoffsetinblock = 0
         slotstatus = FOUND
         slotoffset = -1
         slotsize = 0
         slotfreespace = 0
         slotneeded = 0
         numdirpasses = 0
         endsearch = -1028568832
         prevoff = 0
         pdp = (struct vnode *) 0xffffffff
         tdp = (struct vnode *) 0x0
         enduseful = 0
         bmask = 4294967295
         namlen = 16384
         error = 0
         vpp = (struct vnode **) 0xd1085864
         cnp = (struct componentname *) 0xd1085878
         cred = (struct ucred *) 0xc2a1fc80
         flags = 32768
         nameiop = 0
         td = (struct thread *) 0xc2b14900
         saved_ino = 0
 #9  0xc06a1ca1 in ufs_extattr_lookup (start_dvp=0xc2d79aa0, lockparent=2, 
     dirname=0xc0763a69 ".attribute", vp=0xca5400d0, td=0xc2b14900)
     at /usr/src/sys/ufs/ufs/ufs_extattr.c:274
         vargs = {a_gen = {a_desc = 0x0}, a_dvp = 0xc2d79aa0, a_vpp = 0xd1085864, 
   a_cnp = 0xd1085878}
         cnp = {cn_nameiop = 0, cn_flags = 32768, cn_thread = 0xc2b14900, cn_cred = 0xc2a1fc80, 
   cn_lkflags = 2, cn_pnbuf = 0xc2c12c00 ".attribute", cn_nameptr = 0xc2c12c00 ".attribute", 
   cn_namelen = 10, cn_consume = 0}
 ---Type <return> to continue, or q <return> to quit---
         target_vp = (struct vnode *) 0x0
         error = 0
 #10 0xc06a2068 in ufs_extattr_autostart (mp=0xc2c11530, td=0xc2b14900)
     at /usr/src/sys/ufs/ufs/ufs_extattr.c:463
         rvp = (struct vnode *) 0xc2d79aa0
         attr_dvp = (struct vnode *) 0xca53fcf8
         attr_system_dvp = (struct vnode *) 0x1
         attr_user_dvp = (struct vnode *) 0xc2d8b800
         error = 0
 #11 0xc069a4b6 in ffs_mountfs (devvp=0xc2d61550, mp=0xc2c11530, td=0xc2b14900)
     at /usr/src/sys/ufs/ffs/ffs_vfsops.c:815
         ump = (struct ufsmount *) 0xc2bf6700
         bp = (struct buf *) 0x0
         fs = (struct fs *) 0xc2d82800
         dev = (struct cdev *) 0xc2bcae00
         space = (void *) 0xc2d8b830
         sblockloc = 65536
         error = 0
         i = 2
         blks = 1
         size = -1026021164
         ronly = 0
         lp = (int32_t *) 0x4000
         cred = (struct ucred *) 0xc2a1fc80
         cp = (struct g_consumer *) 0xc2be2240
         nmp = (struct mount *) 0xca5400d0
 #12 0xc06991c3 in ffs_mount (mp=0xc2c11530, td=0xc2b14900) at /usr/src/sys/ufs/ffs/ffs_vfsops.c:370
         devvp = (struct vnode *) 0xc2d61550
         ump = (struct ufsmount *) 0x0
         fs = (struct fs *) 0x4
         error = 0
 ---Type <return> to continue, or q <return> to quit---
         flags = 16384
         accessmode = 16384
         ndp = {ni_dirp = 0xc2bd45f0 "/dev/ad1s1d", ni_segflg = UIO_SYSSPACE, ni_startdir = 0x0, 
   ni_rootdir = 0xc2b61aa0, ni_topdir = 0x0, ni_vp = 0xc2d61550, ni_dvp = 0xc2b61dd0, 
   ni_pathlen = 1, ni_next = 0xc2c1300b "", ni_loopcnt = 0, ni_cnd = {cn_nameiop = 0, 
     cn_flags = 49220, cn_thread = 0xc2b14900, cn_cred = 0xc2a1fc80, cn_lkflags = 2, 
     cn_pnbuf = 0xc2c13000 "/dev/ad1s1d", cn_nameptr = 0xc2c13005 "ad1s1d", cn_namelen = 6, 
     cn_consume = 0}}
         fspec = 0xc2bd45f0 "/dev/ad1s1d"
 #13 0xc05b3537 in vfs_domount (td=0xc2b14900, fstype=0xc2d79bb0 "\002", 
     fspath=0x4 <Address 0x4 out of bounds>, fsflags=150994944, fsdata=0xc2bd49b0)
     at /usr/src/sys/kern/vfs_mount.c:970
         vp = (struct vnode *) 0xc2d79bb0
         mp = (struct mount *) 0xc2c11530
         vfsp = (struct vfsconf *) 0xc079d600
         export = {ex_flags = 12353, ex_root = 3266718492, ex_anon = {cr_version = 3266398464, 
     cr_uid = 3506985780, cr_ngroups = 23368, cr_groups = {3506985800, 3226801351, 3506985812, 
       3267217504, 3506985828, 3227196865, 3267217504, 3228855457, 2, 3268911136, 3267829152, 
       3506985856, 3227196963, 3267217312, 3267217504, 3268911136}, _cr_unused1 = 0x7}, 
   ex_addr = 0x6c, ex_addrlen = 172 '¬', ex_mask = 0xc05b1ffc, ex_masklen = 164 '¤', 
   ex_indexfile = 0xc05b4fc1 "\203Ä\b\205Àu \205ÿt\005\213C\020\211\a\203}\020"}
         error = 0
         flag = 0
         va = {va_type = VDIR, va_mode = 493, va_nlink = 2, va_uid = 0, va_gid = 0, va_fsid = 89, 
   va_fileid = 94208, va_size = 512, va_blocksize = 16384, va_atime = {tv_sec = 1113441651, 
     tv_nsec = 0}, va_mtime = {tv_sec = 1113515415, tv_nsec = 0}, va_ctime = {tv_sec = 1113515415, 
     tv_nsec = 0}, va_birthtime = {tv_sec = 1113441651, tv_nsec = 0}, va_gen = 3194084308, 
   va_flags = 0, va_rdev = 376360, va_bytes = 2048, va_filerev = 33385829158, 
   va_vaflags = 3266718368, va_spare = -787981500}
         nd = {ni_dirp = 0xc2bd4880 "/mnt/home/tmp", ni_segflg = UIO_SYSSPACE, ni_startdir = 0x0, 
   ni_rootdir = 0xc2b61aa0, ni_topdir = 0x0, ni_vp = 0xc2d79bb0, ni_dvp = 0xc2d65110, 
 ---Type <return> to continue, or q <return> to quit---
   ni_pathlen = 1, ni_next = 0xc2c1280d "", ni_loopcnt = 0, ni_cnd = {cn_nameiop = 0, 
     cn_flags = 67158084, cn_thread = 0xc2b14900, cn_cred = 0xc2a1fc80, cn_lkflags = 2, 
     cn_pnbuf = 0xc2c12800 "/mnt/home/tmp", cn_nameptr = 0xc2c1280a "tmp", cn_namelen = 3, 
     cn_consume = 0}}
 #14 0xc05b2bcc in vfs_donmount (td=0xc2b14900, fsflags=150994944, fsoptions=0xd1085c04)
     at /usr/src/sys/kern/vfs_mount.c:704
         optlist = (struct vfsoptlist *) 0xc2bd49b0
         opt = (struct vfsopt *) 0x0
         noro_opt = (struct vfsopt *) 0x0
         fstype = 0xc2bd45e0 "ufs"
         fspath = 0xc2bd4880 "/mnt/home/tmp"
         errmsg = 0x0
         error = 0
         fstypelen = 4
         fspathlen = 14
         errmsg_len = 0
         errmsg_pos = -1
         has_rw = 0
         has_noro = 1
 #15 0xc05b5850 in kernel_mount (ma=0xc2a03b10, flags=150994944) at pcpu.h:162
         auio = {uio_iov = 0xc2c7f900, uio_iovcnt = 14, uio_offset = -4422469890665325308, 
   uio_resid = -787981136, uio_segflg = UIO_SYSSPACE, uio_rw = 3265280784, uio_td = 0xc0746d00}
         error = 0
 #16 0xc0699261 in ffs_cmount (ma=0xc2a03b10, data=0xffffffff, flags=150994944, td=0xc2b14900)
     at /usr/src/sys/ufs/ffs/ffs_vfsops.c:397
         args = {fspec = 0x80514a0 <Address 0x80514a0 out of bounds>, export = {ex_flags = 0, 
     ex_root = 4294967294, ex_anon = {cr_version = 134523523, cr_uid = 3217024569, 
       cr_ngroups = -7776, cr_groups = {1014, 672450336, 3, 134550672, 3, 672262146, 134550672, 
         134524822, 3, 0, 1113515415, 0, 3217023216, 672450336, 14, 134550704}, _cr_unused1 = 0xe}, 
     ex_addr = 0x2811e802, ex_addrlen = 176 '°', ex_mask = 0xbfbfe230, ex_masklen = 14 '\016', 
     ex_indexfile = 0x0}}
 ---Type <return> to continue, or q <return> to quit---
         error = -900464432
 #17 0xc05b2e06 in mount (td=0xc2b14900, uap=0xd1085d04) at /usr/src/sys/kern/vfs_mount.c:784
         fstype = 0xc2bd45f0 "/dev/ad1s1d"
         vfsp = (struct vfsconf *) 0xc079d600
         ma = (struct mntarg *) 0xc2a03b10
         error = 0
 #18 0xc0714613 in syscall (frame=
       {tf_fs = 59, tf_es = 59, tf_ds = 59, tf_edi = 134524649, tf_esi = -1077941204, tf_ebp = -1077943816, tf_isp = -787980956, tf_ebx = 134550704, tf_edx = 150994944, tf_ecx = 7, tf_eax = 21, tf_trapno = 12, tf_err = 2, tf_eip = 671871707, tf_cs = 51, t f_eflags = 582, tf_esp = -1077943972, tf_ss = 59}) at /usr/src/sys/i386/i386/trap.c:984
         params = 0xbfbfe160 <Address 0xbfbfe160 out of bounds>
         callp = (struct sysent *) 0xc078277c
         td = (struct thread *) 0xc2b14900
         p = (struct proc *) 0xc2b13860
         orig_tf_eflags = 582
         sticks = 0
         error = 0
         narg = 4
         args = {134524645, 134550704, 150994944, -1077943936, 12, 0, 0, -1028573088}
         code = 21
 #19 0xc0701adf in Xint0x80_syscall () at /usr/src/sys/i386/i386/exception.s:200
 No locals.
 #20 0x00000033 in ?? ()
 No symbol table info available.
 Previous frame inner to this frame (corrupt stack?)
 (kgdb) quit
 >>>END
 
 Here is an outrageously simplified diff between GENERIC and TAGERI:
 >>>BEGIN
 -cpu I486_CPU 
 -cpu I586_CPU 
 -device aac 
 -device aacp 
 -device adv 
 -device adw 
 +device acpi 
 -device aha 
 -device ahb 
 -device ahc 
 -device ahd 
 -device aic 
 -device amd 
 -device amr 
 -device an 
 -device arcmsr 
 -device asr 
 +device atapicam 
 -device atapifd 
 -device atapist 
 -device ath 
 -device ath_hal 
 -device ath_rate_sample 
 -device aue 
 -device awi 
 -device axe 
 -device bce 
 -device bfe 
 -device bge 
 -device bt 
 -device cardbus 
 -device cbb 
 -device cdce 
 -device ch 
 -device ciss 
 -device cs 
 -device cue 
 +device crypto 
 +device cryptodev 
 -device de 
 -device dpt 
 -device ed 
 +device dcons 
 -device eisa 
 -device ep 
 -device ex 
 -device fdc 
 -device fe 
 -device firewire 
 -device fwe 
 -device fxp 
 -device hptmv 
 -device ida 
 -device ie 
 -device iir 
 -device ips 
 -device isp 
 -device ixgb 
 -device kbdmux 
 -device kue 
 -device lge 
 -device lnc 
 +device gzip 
 +device hifn 
 +device if_bridge 
 +device intpm 
 +device io 
 +device isa 
 +device le 
 -device mfi 
 +device mem 
 -device mlx 
 -device mly 
 -device mpt 
 -device msk 
 -device ncv 
 -device nge 
 -device nsp 
 +device nfpm 
 +device nfsmb 
 +device npx 
 -device pccard 
 -device pcn 
 -device plip 
 -device pmtimer 
 +device pf 
 +device pflog 
 +device pfsync 
 -device ppi 
 -device ppp 
 -device pst 
 -device ral 
 -device re 
 -device rl 
 -device rr232x 
 -device rue 
 -device sa 
 -device sbp 
 +device rndtest 
 +device safe 
 -device ses 
 -device sf 
 -device sis 
 -device sk 
 -device sl 
 -device sn 
 -device splash 
 -device ste 
 -device stg 
 -device stge 
 -device sym 
 -device ti 
 -device tl 
 -device trm 
 +device smbus 
 +device snd_cmi 
 +device snd_ich 
 +device snp 
 +device sound 
 -device twa 
 -device twe 
 -device tx 
 -device txp 
 +device ubsec 
 -device ulpt 
 -device ural 
 -device urio 
 -device uscanner 
 -device vge 
 -device vr 
 -device vx 
 -device wb 
 -device wi 
 -device wlan 
 -device wlan_ccmp 
 -device wlan_tkip 
 -device wlan_wep 
 -device xe 
 -device xl 
 -ident GENERIC 
 +ident TAGERI 
 +maxusers 512 
 +options ACCEPT_FILTER_DATA 
 +options ACCEPT_FILTER_HTTP 
 -options AHC_REG_PRETTY_PRINT 
 -options AHD_REG_PRETTY_PRINT 
 -options ATA_STATIC_ID 
 +options ALTQ 
 +options ALTQ_CBQ 
 +options ALTQ_CDNR 
 +options ALTQ_HFSC 
 +options ALTQ_NOPCC 
 +options ALTQ_PRIQ 
 +options ALTQ_RED 
 +options ALTQ_RIO 
 +options AUDIT 
 +options BRIDGE 
 +options COMPAT_AOUT 
 +options COMPAT_LINUX 
 +options DEVICE_POLLING 
 +options DUMMYNET 
 +options GEOM_ELI 
 +options HIFN_RNDTEST 
 +options HZ=1000 
 +options IPDIVERT 
 +options IPFIREWALL 
 +options IPFIREWALL_FORWARD 
 +options IPFIREWALL_VERBOSE 
 +options IPFIREWALL_VERBOSE_LIMIT=100 
 +options IPSEC 
 +options IPSEC_ESP 
 +options IPSTEALTH 
 +options IPV6FIREWALL 
 +options IPV6FIREWALL_VERBOSE 
 +options IPV6FIREWALL_VERBOSE_LIMIT=100 
 +options LIBALIAS 
 +options LIBICONV 
 +options LIBMCHAIN 
 +options LINPROCFS 
 +options MAC 
 +options MAC_BIBA 
 +options MAC_BSDEXTENDED 
 +options MAC_LOMAC 
 +options MAC_MLS 
 +options MAC_PARTITION 
 +options MAC_PORTACL 
 +options MAC_SEEOTHERUIDS 
 +options MAXCONS=16 
 +options MROUTING 
 -options NFSCLIENT 
 -options NFSSERVER 
 -options NFS_ROOT 
 -options PREEMPTION 
 +options NETGRAPH 
 +options NETGRAPH_BPF 
 +options NETGRAPH_BRIDGE 
 +options NETGRAPH_ETHER 
 +options NETGRAPH_HOLE 
 +options NETGRAPH_IFACE 
 +options NETGRAPH_IPFW 
 +options NETGRAPH_ONE2MANY 
 +options NETGRAPH_SOCKET 
 +options NETGRAPH_SPLIT 
 +options NETGRAPH_TEE 
 +options NETSMB 
 +options NETSMBCRYPTO 
 +options NULLFS 
 +options PANIC_REBOOT_WAIT_TIME=10 
 +options QUOTA 
 +options SAFE_RNDTEST 
 +options SC_DISABLE_KDBKEY 
 +options SC_DISABLE_REBOOT 
 +options SC_PIXEL_MODE 
 +options SC_TWOBUTTON_MOUSE 
 +options SMBFS 
 +options SMP 
 +options SUIDDIR 
 +options TCP_DROP_SYNFIN 
 +options TCP_SIGNATURE 
 +options UBSEC_RNDTEST 
 +options UFS_EXTATTR 
 +options UFS_EXTATTR_AUTOSTART 
 +options UNIONFS 
 +options VESA 
 +options VGA_WIDTH90 
 >>>END
 
 Lastly, a simple diff between last known working kernel and current:
 >>>BEGIN
 -device an 
 +device agp 
 -device awi 
 -device bktr 
 +device crypto 
 +device cryptodev 
 +device dcons 
 +device em 
 -device firewire 
 +device gzip 
 +device hifn 
 +device if_bridge 
 +device intpm 
 +device le 
 -device ppi 
 -device sbp 
 +device rndtest 
 +device safe 
 +device snd_cmi 
 +device snd_ich 
 -device splash 
 +device sound 
 +device ubsec 
 -device wi 
 -device wlan 
 +maxusers 512 
 +options ACCEPT_FILTER_DATA 
 +options ACCEPT_FILTER_HTTP 
 +options ALTQ_NOPCC 
 +options AUDIT 
 +options BRIDGE 
 +options COMPAT_FREEBSD5 
 +options DUMMYNET 
 +options GEOM_ELI 
 +options GEOM_GPT 
 +options HIFN_RNDTEST 
 -options IPFIREWALL_DEFAULT_TO_ACCEPT 
 +options IPFIREWALL_VERBOSE_LIMIT=100 
 +options IPSEC_ESP 
 +options IPV6FIREWALL 
 +options IPV6FIREWALL_VERBOSE 
 +options IPV6FIREWALL_VERBOSE_LIMIT=100 
 +options KTRACE 
 +options LIBALIAS 
 +options MAC_BIBA 
 +options MAXCONS=16 
 +options MROUTING 
 +options NETGRAPH 
 +options NETGRAPH_BPF 
 +options NETGRAPH_BRIDGE 
 +options NETGRAPH_ETHER 
 +options NETGRAPH_HOLE 
 +options NETGRAPH_IFACE 
 +options NETGRAPH_IPFW 
 +options NETGRAPH_ONE2MANY 
 +options NETGRAPH_SOCKET 
 +options NETGRAPH_SPLIT 
 +options NETGRAPH_TEE 
 -options NFSCLIENT 
 -options NFSSERVER 
 -options NFS_ROOT 
 +options PANIC_REBOOT_WAIT_TIME=10 
 +options SAFE_RNDTEST 
 +options SC_DISABLE_KDBKEY 
 +options SC_DISABLE_REBOOT 
 +options SC_TWOBUTTON_MOUSE 
 +options SMP 
 +options SUIDDIR 
 +options TCP_SIGNATURE 
 +options UBSEC_RNDTEST 
 +options UFS_EXTATTR 
 +options UFS_EXTATTR_AUTOSTART 
 >>>END
 



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