panic during mount

From: Gardner Bell <gbell72_at_rogers.com>
Date: Thu, 15 May 2008 15:59:06 -0400 (EDT)
Hello,

I'm seeing the following panic below while my system reboots after
upgrading to 8.0-current as of 05/15/2008.  It appears to occur just as
the system recognizes my external usb hdd.

dan_at_mx1~% dmesg               
Copyright (c) 1992-2008 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 8.0-CURRENT #0: Thu May 15 15:11:18 EDT 2008                   
                                
    root_at_mx1.bsdca.com:/usr/obj/usr/src/                               
      
WARNING: WITNESS option enabled, expect reduced performance.           
                                                
Timecounter "i8254" frequency 1193182 Hz quality 0                     
                            
CPU: AMD Opteron(tm) Processor 242 (1607.42-MHz K8-class CPU)          
                                                  
  Origin = "AuthenticAMD"  Id = 0xf5a  Stepping = 10                   
                                
 
Features=0x78bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CM
                                                                       
       
OV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2>                                
      
  AMD Features=0xe0500800<SYSCALL,NX,MMX+,LM,3DNow!+,3DNow!>           
                                                
usable memory = 1065086976 (1015 MB)                                   

avail memory  = 1028816896 (981 MB)                                   
ACPI APIC Table: <PTLTD          AP                                 
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs                    
                              
 cpu0 (BSP): APIC ID:  0                        
 cpu1 (AP): APIC ID:  1                       
ioapic0 <Version 1.1> irqs 0-23 on motherboard                         
                    
ioapic1 <Version 1.1> irqs 24-27 on motherboard                        
                      
ioapic2 <Version 1.1> irqs 28-31 on motherboard                        
                      
acpi0: <PTLTD   RSDT> on motherboard                                   

acpi0: [ITHREAD]                
acpi0: Power Button (fixed)                           
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000              
                                          
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x8008-0x800b on acpi0 
                                                                    
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0                
                                      
pci0: <ACPI PCI bus> on pcib0                             
pci0: <memory> at device 0.0 (no driver attached)                      
                          
isab0: <PCI-ISA bridge> at device 1.0 on pci0                          
                  
isa0: <ISA bus> on isab0                        
pci0: <serial bus, SMBus> at device 1.1 (no driver attached)           
                                                
ohci0: <OHCI (generic) USB controller> mem 0xdd000000-0xdd000fff irq 20
at devic                                                               
                
e 2.0 on pci0             
ohci0: [GIANT-LOCKED]                     
ohci0: [ITHREAD]                
usb0: OHCI version 1.0, legacy support                                 
    
usb0: SMM does not respond, resetting                                  
  
usb0: <OHCI (generic) USB controller> on ohci0                         
                    
usb0: USB revision 1.0                      
uhub0: <nVidia OHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb0
                                                                      
uhub0: 10 ports with 10 removable, self powered                        
                      
ehci0: <NVIDIA nForce4 USB 2.0 controller> mem 0xdd001000-0xdd0010ff
irq 21 at d                                                            
                   
evice 2.1 on pci0                 
ehci0: [GIANT-LOCKED]                     
ehci0: [ITHREAD]                
usb1: EHCI version 1.0                      
usb1: companion controller, 4 ports each: usb0                         
                    
usb1: <NVIDIA nForce4 USB 2.0 controller> on ehci0                     
                            
usb1: USB revision 2.0                      
uhub1: <nVidia EHCI root hub, class 9/0, rev 2.00/1.00, addr 1> on usb1
                                                                      
uhub1: 10 ports with 10 removable, self powe                           
              
umass0: <LaCie LaCie Desktop Hard Drive, class 0/0, rev 2.00/c6.83,
addr 2> on u                                                           
                    
hub1    
atapci0: <nVidia nForce CK804 UDMA133 controller> port
0x1f0-0x1f7,0x3f6,0x170-0                                              
                                 
x177,0x376,0x1400-0x140f at device 6.0 on pci0                         
                    
ata0: <ATA channel 0> on atapci0                                
ata0: [ITHREAD]               
ata1: <ATA channel 1> on atapci0                                
ata1: [ITHREAD]               
pcib1: <ACPI PCI-PCI bridge> at device 9.0 on pci0                     
                            
pci1: <ACPI PCI bus> on pcib1                             
vgapci0: <VGA-compatible display> port 0x2000-0x20ff mem
0xde000000-0xdeffffff,0                                                
                               
xdd100000-0xdd100fff irq 16 at device 7.0 on                           
              
pcib2: <ACPI PCI-PCI bridge> at device 14.0 on pci0                    
                              
pci2: <ACPI PCI bus> on pcib2                             
pcib3: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0                
                                      
pci8: <ACPI PCI bus> on pcib3                             
pcib4: <ACPI PCI-PCI bridge> at device 10.0 on pci8                    
                              
pci9: <ACPI PCI bus> on pcib4                             
pcib5: <ACPI PCI-PCI bridge> at device 11.0 on pci8                    
                              
pci10: <ACPI PCI bus> on pcib5                              
bge0: <Broadcom Gigabit Ethernet Controller, ASIC rev. 0x2003> mem
0xdf310000-0x                                                          
                     
df31ffff,0xdf300000-0xdf30ffff irq 28 at device 9.0 on pci10           
                                                
miibus0: <MII bus> on bge0                          
brgphy0: <BCM5704 10/100/1000baseTX PHY> PHY 1 on miibus0              
                                          
brgphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT,
1000baseT-F                                                            
                   
DX, auto        
bge0: Ethernet address: 00:e0:81:2e:c1:aa                              
          
bge0: [ITHREAD]               
bge1: <Broadcom Gigabit Ethernet Controller, ASIC rev. 0x2003> mem
0xdf330000-0x                                                          
                     
df33ffff,0xdf320000-0xdf32ffff irq 29 at device 9.1 on pci10           
                                                
miibus1: <MII bus> on bge1                          
brgphy1: <BCM5704 10/100/1000baseTX PHY> PHY 1 on miibus1              
                                          
brgphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT,
1000baseT-F                                                            
                   
DX, auto        
bge1: Ethernet address: 00:e0:81:2e:c1:ab                              
          
bge1: [ITHREAD]               
cpu0: <ACPI CPU> on acpi0                         
cpu1: <ACPI CPU> on acpi0                         
acpi_button0: <Power Button> on acpi0                                  
  
atrtc0: <AT realtime clock> port 0x70-0x71 irq 8 on acpi0              
                                          
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0   
                                                                
atkbd0: <AT Keyboard> irq 1 on atkbdc0                                 
    
atkbd0: [GIANT-LOCKED]                      
atkbd0: [ITHREAD]                 
sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on
acpi0                                                                  
          
sio0: type 16550A                 
sio0: [FILTER]              
sio1: <16550A-compatible COM port> port 0x2f                           
               
sio1: type 16550A                 
sio1: [FILTER]              
orm0: <ISA Option ROM> at iomem 0xc0000-0xc7fff on isa0                
                                      
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                                                                   
     
Timecounters tick every 1.000 msec                                  
ad0: 76319MB <WDC WD800JB-00JJA0 05.01C05> at ata0-master UDMA100      
                                                          
SMP: AP CPU #1 Launched!                        
WARNING: WITNESS option enabled, expect reduced performance.           
                                                
da0 at umass-sim0 bus 0 target 0 lun 0                                 
    
da0: <ST350083 0AS > Fixed Direct Access                               
      
da0: 40.000MB/s transfers                         
da0: 476940MB (976773168 512 byte sectors: 255H 63S/T 60801C)          
                                                  
lock order reversal: (sleepable after non-sleepable)                   
                                
 1st 0xffffff000127d038 struct mount mtx (struct mount mtx) _at_
/usr/src/sys/kern/                                                     
                          
vfs_subr.c:343              
 2nd 0xffffff000127d000 vfslock (vfslock) _at_
/usr/src/sys/kern/vfs_subr.c:370                                       
                                    
KDB: stack backtrace:                     
db_trace_self_wrapper() at db_trace_self_wrapper+0x2a                  
                                  
witness_checkorder() at witness_checkorder+0x65a                       
                        
__lockmgr_args() at __lockmgr_args+0xca8                               
        
vfs_busy() at vfs_busy+0xe7                           
vfs_mount_alloc() at vfs_mount_alloc+0x8b                              
          
vfs_mountroot() at vfs_mountroot+0x23f                                 
    
start_init() at start_init+0x62                               
fork_exit() at fork_exit+0x12a                              
fork_trampoline() at fork_trampoline+0xe                               
        
--- trap 0, rip = 0, rsp = 0xffffffff80833d30, rbp = 0 ---             
                                            
lock order reversal: (sleepable after non-sleepable)                   
                                
 1st 0xffffff00011ffd00 vnode interlock (vnode interlock) _at_
/usr/src/sys/fs/devf                                                   
                            
s/devfs_vnops.c:197                   
 2nd 0xffffff00011ffcc8 devfs (devfs) _at_
/usr/src/sys/kern/vfs_subr.c:2044                                      
                                  
KDB: stack backtrace:                     
db_trace_self_wrapper() at db_trace_self_wrapper+0x2a                  
                                  
witness_checkorder() at witness_checkorder+0x65a                       
                        
__lockmgr_args() at __lockmgr_args+0x526                               
        
vop_stdlock() at vop_stdlock+0x39                                 
VOP_LOCK1_APV() at VOP_LOCK1_APV+0x9b                                  
  
_vn_lock() at _vn_lock+0x57                           
vget() at vget+0x7d                   
devfs_allocv() at devfs_allocv+0x11b                                   

devfs_root() at devfs_root+0x52                               
set_rootvnode() at set_rootvnode+0x30                                  
  
vfs_mountroot() at vfs_mountroot+0x2ff                                 
    
start_init() at start_init+0x62                               
fork_exit() at fork_exit+0x12a                              
fork_trampoline() at fork_trampoline+0xe                               
        
--- trap 0, rip = 0, rsp = 0xffffffff80833d30, rbp = 0 ---             
                                            
lock order reversal:                    
 1st 0xffffff00011ffcc8 devfs (devfs) _at_
/usr/src/sys/kern/vfs_subr.c:2044                                      
                                  
 2nd 0xffffff0001249920 devfsmount (devfsmount) _at_
/usr/src/sys/fs/devfs/devfs_vn                                         
                                      
ops.c:201         
KDB: stack backtrace:                     
db_trace_self_wrapper() at db_trace_self_wrapper+0x2a                  
                                  
witness_checkorder() at witness_checkorder+0x65a                       
                        
_sx_xlock() at _sx_xlock+0x52                             
devfs_allocv() at devfs_allocv+0x134                                   

devfs_root() at devfs_root+0x52                               
set_rootvnode() at set_rootvnode+0x30                                  
  
vfs_mountroot() at vfs_mountroot+0x2ff                                 
    
start_init() at start_init+0x62                               
fork_exit() at fork_exit+0x12a                              
fork_trampoline() at fork_trampoline+0xe                               
        
--- trap 0, rip = 0, rsp = 0xffffffff80833d30, rbp = 0 ---             
                                            
Trying to mount root from ufs:/dev/ad0s1a                              
          
lock order reversal: (sleepable after non-sleepable)                   
        
 1st 0xffffff00011ff750 bufobj interlock (bufobj interlock) _at_
/usr/src/sys/kern/
vfs_bio.c:2442
 2nd 0xffffffff954cae08 bufwait (bufwait) _at_
/usr/src/sys/kern/vfs_bio.c:2456
KDB: stack backtrace:
db_trace_self_wrapper() at db_trace_self_wrapper+0x2a
witness_checkorder() at witness_checkorder+0x65a
__lockmgr_args() at __lockmgr_args+0x526
getblk() at getblk+0xe3
breadn() at breadn+0x3f
bread() at bread+0x1e
ffs_blkatoff() at ffs_blkatoff+0x61
ufs_lookup() at ufs_lookup+0x5f3
vfs_cache_lookup() at vfs_cache_lookup+0xf8
VOP_LOOKUP_APV() at VOP_LOOKUP_APV+0x95
lookup() at lookup+0x532
namei() at namei+0x45f
kern_unlinkat() at kern_unlinkat+0x9d
vfs_mountroot_try() at vfs_mountroot_try+0x40e
vfs_mountroot() at vfs_mountroot+0x3eb
start_init() at start_init+0x62
fork_exit() at fork_exit+0x12a
fork_trampoline() at fork_trampoline+0xe
--- trap 0, rip = 0, rsp = 0xffffffff80833d30, rbp = 0 ---
dan_at_mx1~%
Received on Thu May 15 2008 - 18:25:48 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:30 UTC