NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/39875: panic when booting off ffs+log



The following reply was made to PR kern/39875; it has been noted by GNATS.

From: Greg Oster <oster%cs.usask.ca@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: kern/39875: panic when booting off ffs+log 
Date: Fri, 07 Nov 2008 11:11:31 -0600

 lists%nerdbynature.de@localhost writes:
 > >Number:         39875
 > >Category:       kern
 > >Synopsis:       panic when booting off ffs+log
 > >Confidential:   no
 > >Severity:       serious
 > >Priority:       medium
 > >Responsible:    kern-bug-people
 > >State:          open
 > >Class:          sw-bug
 > >Submitter-Id:   net
 > >Arrival-Date:   Fri Nov 07 10:35:00 +0000 2008
 > >Originator:     Christian Kujau
 > >Release:        NetBSD 5.0_BETA
 > >Organization:
 > >Environment:
 >      
 >      
 > System: NetBSD netbsd.housecafe.de 5.0_BETA NetBSD 5.0_BETA (XEN3_DOMU) #0: M
 > on Nov 3 22:50:22 PST 2008 builds@wb28:/home/builds/ab/netbsd-5/amd64/2008110
 > 30002Z-obj/home/builds/ab/netbsd-5/src/sys/arch/amd64/compile/XEN3_DOMU amd64
 > Architecture: x86_64
 > Machine: amd64
 > >Description:
 >      After installing from netbsd-INSTALL_XEN3_DOMU.gz in an Dom0 
 >      (Ubuntu Linux, amd64, Intel based MacMini) rebooting from
 >      netbsd-XEN3_DOMU.gz, the kernel panics:
 > 
 > # xm create -c netbsd.cfg
 > Using config file "/etc/xen/netbsd.cfg".
 > Started domain netbsd
 > Loaded initial symtab at 0xffffffff80658464, strtab at 0xffffffff806a4a70, # 
 > entries 12943
 > Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
 >     2006, 2007, 2008
 >     The NetBSD Foundation, Inc.  All rights reserved.
 > Copyright (c) 1982, 1986, 1989, 1991, 1993
 >     The Regents of the University of California.  All rights reserved.
 > 
 > NetBSD 5.0_BETA (XEN3_DOMU) #0: Mon Nov  3 22:50:22 PST 2008
 >      builds@wb28:/home/builds/ab/netbsd-5/amd64/200811030002Z-obj/home/build
 > s/ab/netbsd-5/src/sys/arch/amd64/compile/XEN3_DOMU
 > total memory = 65536 KB
 > avail memory = 55692 KB
 > mainbus0 (root)
 > hypervisor0 at mainbus0: Xen version 3.2
 > vcpu0 at hypervisor0: Intel 686-class, 1999MHz, id 0x6f6
 > xenbus0 at hypervisor0: Xen Virtual Bus Interface
 > xencons0 at hypervisor0: Xen Virtual Console Driver
 > xencons0: using event channel 2
 > xbd0 at xenbus0 id 3: Xen Virtual Block Device Interface
 > xennet0 at xenbus0 id 0: Xen Virtual Network Interface
 > xennet0: MAC address 00:16:3e:38:d3:03
 > unknown type console at xenbus0 id 0 not configured
 > raidattach: Asked for 8 units
 > Kernelized RAIDframe activated
 > Searching for RAID components...
 > boot device: <unknown>
 > root device: 
 > use one of: xbd0[a-p] xennet0 md0[a-p] ddb halt reboot
 > root device: xbd0a
 > dump device (default xbd0b): 
 > file system (default generic): ffs
 > root on xbd0a dumps on xbd0b
 > unknown type console at xenbus0 id 0 not configured
 > unknown type console at xenbus0 id 0 not configured
 > /: replaying log to memory
 > init path (default /sbin/init): 
 > init: copying out path `/sbin/init' 11
 > Fri Nov  7 10:18:52 CET 2008
 > swapctl: adding /dev/xbd0b as swap device at priority 0
 > Starting file system checks:
 > /dev/rxbd0a: file system is journaled; not checking
 > /dev/rxbd0e: 1 files, 1 used, 4032278 free (14 frags, 504033 blocks, 0.0% fra
 > gmentation)
 > /dev/rxbd0e: MARKING FILE SYSTEM CLEAN
 > / fs is journalled, ignoring soft update mode
 > /: replaying log to disk
 > Setting tty flags.
 > Setting sysctl variables:
 > Starting network.
 > Hostname: netbsd.housecafe.de
 > IPv6 mode: host
 > Configuring network interfaces: xennet0.
 > Adding interface aliases:.
 > Starting dhclient.
 > Internet Systems Consortium DHCP Client V3.0.3
 > Copyright 2004-2005 Internet Systems Consortium.
 > All rights reserved.
 > For info, please visit http://www.isc.org/products/DHCP
 > 
 > Listening on BPF/xennet0/00:16:3e:38:d3:03
 > Sending on   BPF/xennet0/00:16:3e:38:d3:03
 > Sending on   Socket/fallback
 > DHCPDISCOVER on xennet0 to 255.255.255.255 port 67 interval 7
 > DHCPOFFER from 192.168.10.50
 > DHCPREQUEST on xennet0 to 255.255.255.255 port 67
 > DHCPACK from 192.168.10.50
 > bound to 192.168.10.102 -- renewal in 33844 seconds.
 > Building databases: dev, utmp, utmpx, services done
 > wsconscfg: Cannot open `/dev/ttyEcfg': Device not configured
 > wsconscfg: Cannot open `/dev/ttyEcfg': Device not configured
 > wsconscfg: Cannot open `/dev/ttyEcfg': Device not configured
 > wsconscfg: Cannot open `/dev/ttyEcfg': Device not configured
 > Starting syslogd.
 > Checking for core dump...
 > Mounting all filesystems...
 > / fs is journalled, ignoring soft update mode
 > Clearing temporary files.
 > Checking quotas: done.
 > Starting virecover.
 > Starting local daemons:.
 > Updating motd.
 > panic: kernel diagnostic assertion "!rw_write_held(&wl->wl_rwlock)" failed: f
 > ile "/home/builds/ab/netbsd-5/src/sys/kern/vfs_wapbl.c", line 1570
 > fatal breakpoint trap in supervisor mode
 > trap type 1 code 0 rip ffffffff80375c95 cs e030 rflags 246 cr2  7f7ffdba1800 
 > cpl 0 rsp ffffa00006772830
 > Stopped in pid 233.1 (rm) at    netbsd:breakpoint+0x5:  leave
 > breakpoint() at netbsd:breakpoint+0x5
 > panic() at netbsd:panic+0x255
 > __kernassert() at netbsd:__kernassert+0x2d
 > vn_lock() at netbsd:vn_lock+0x6e
 > vget() at netbsd:vget+0x132
 > ufs_ihashget() at netbsd:ufs_ihashget+0x91
 > ffs_vget() at netbsd:ffs_vget+0xc1
 > handle_workitem_remove() at netbsd:handle_workitem_remove+0x36
 > softdep_setup_remove() at netbsd:softdep_setup_remove+0x103
 
 It appears, somehow, that softdeps have been turned on for this 
 filesystem!?!?  If you turn off softdeps does the problem go away? 
 
 Later...
 
 Greg Oster
 
 


Home | Main Index | Thread Index | Old Index