Hi,

I got a "bad ref count" panic message while trying to access a directory
on a 45 GB ext3 partition. Below is what I managed to salvage. Any
workarounds for this? Anyway, got GNOME on OpenBSD up and running, made
very easy, great!

Bill

---------------------------------------------------------------------------------------------------------------------------
b5 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0x93
pci6 at ppb5 bus 21
cbb0 at pci6 dev 0 function 0 "Ricoh 5C476 CardBus" rev 0xba: apic 1 int
16 (irq 11)
"Ricoh 5C832 Firewire" rev 0x04 at pci6 dev 0 function 1 not configured
sdhc0 at pci6 dev 0 function 2 "Ricoh 5C822 SD/MMC" rev 0x21: apic 1 int
18 (irq 11)
sdmmc0 at sdhc0
"Ricoh 5C843 MMC" rev 0x11 at pci6 dev 0 function 3 not configured
"Ricoh 5C592 Memory Stick" rev 0x11 at pci6 dev 0 function 4 not
configured
"Ricoh 5C852 xD" rev 0x11 at pci6 dev 0 function 5 not configured
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 22 device 0 cacheline 0x0, lattimer 0xb0
pcmcia0 at cardslot0
pcib0 at pci0 dev 31 function 0 "Intel 82801IEM LPC" rev 0x03
ahci0 at pci0 dev 31 function 2 "Intel 82801I AHCI" rev 0x03: apic 1 int
16 (irq 11), AHCI 1.2
scsibus0 at ahci0: 32 targets
sd0 at scsibus0 targ 0 lun 0: <ATA, ST9320421AS, SD13> SCSI3 0/direct
fixed
sd0: 305245MB, 512 bytes/sec, 625142448 sec total
cd0 at scsibus0 targ 1 lun 0: <MATSHITA, DVD-RAM UJ862A, SB04> ATAPI
5/cdrom removable
ichiic0 at pci0 dev 31 function 3 "Intel 82801I SMBus" rev 0x03: apic 1
int 23 (irq 11)
iic0 at ichiic0
usb2 at uhci0: USB revision 1.0
uhub2 at usb2 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb3 at uhci1: USB revision 1.0
uhub3 at usb3 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb4 at uhci2: USB revision 1.0
uhub4 at usb4 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb5 at uhci3: USB revision 1.0
uhub5 at usb5 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb6 at uhci4: USB revision 1.0
uhub6 at usb6 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb7 at uhci5: USB revision 1.0
uhub7 at usb7 "Intel UHCI root hub" rev 1.00/1.00 addr 1
isa0 at pcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
spkr0 at pcppi0
aps0 at isa0 port 0x1600/31
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
mtrr: Pentium Pro MTRR support
uvideo0 at uhub0 port 6 configuration 1 interface 0 "Chicony Electronics
Co., Ltd. product 0x4807" rev 2.00/31.34 addr 2
video0 at uvideo0
ubt0 at uhub3 port 2 "Lenovo Computer Corp ThinkPad Bluetooth with
Enhanced Data Rate II" rev 2.00/3.52 addr 2
ugen0 at uhub7 port 2 "Lenovo Integrated Smart Card Reader" rev
2.00/1.00 addr 2
softraid0 at root
root on sd0a swap on sd0b dump on sd0b
WARNING: / was not properly unmounted
vrele: bad ref count: 0xd99ad788, type VBLK, use 0, write 0, hold 6,
flags (VBIOONFREELIST)
        tag VT_UFS, ino 1188, on dev 4, 0 flags 0x0, effnlink 1, nlink 1
        mode 060640, owner 0, group 5, size 0 not locked
panic: vrele: ref cnt
Stopped at      Debugger+0x4:   leave   
RUN AT LEAST 'trace' AND 'ps' AND INCLUDE OUTPUT WHEN REPORTING THIS
PANIC!
DO NOT EVEN BOTHER REPORTING THIS WITHOUT INCLUDING THAT INFORMATION!
ddb> ddb> Debugger(0,d991e550,df754ae0,d99ad788,d99b8008) at Debugger
+0x4
panic(d06f545f,d99ad788,0,d991e550,d99532e0) at panic+0x55
vrele(d99ad788,6,0,d0381e08) at vrele+0xa2
ext2fs_reclaim(df754b18,d08106a8,0,d991e550,d07a95e4) at ext2fs_reclaim
+0x89
VOP_RECLAIM(d991e550,d99b8008,d99b8008,0) at VOP_RECLAIM+0x28
vclean(d991e550,8,d99b8008,0,d3b36c00) at vclean+0x76
vgonel(d991e550,d99b8008,0,d99b8008,d94a6130) at vgonel+0x3e
vrecycle(d991e550,d99b8008,d99b8008,18f3) at vrecycle+0x20
ext2fs_inactive(df754c08,1780,df754c30,d037b6fd,d07a95d8) at
ext2fs_inactive+0xdc
VOP_INACTIVE(d991e550,d99b8008,df754c80,d0458b27,16) at VOP_INACTIVE
+0x28
vput(d991e550,df754c6c,d3b4b400,df754c70,1780) at vput+0x36
ext2fs_vget(d3e0d800,178001,df754d28,178001) at ext2fs_vget+0x167
ext2fs_lookup(df754d58,d99b8008,df754d70,d0380823,d07a94b8) at
ext2fs_lookup+0x62e
VOP_LOOKUP(d995af28,df754e58,df754e6c,20) at VOP_LOOKUP+0x2e
lookup(df754e48,d9814c00,400,df754e60) at lookup+0x1d0
namei(df754e48,20042,0,0) at namei+0x18c
sys_lstat(d99b8008,df754f68,df754f58,cfbc2810,d99b8008) at sys_lstat
+0x4a
syscall() at syscall+0x24e
--- syscall (number 293) ---
0x1c023f35:
ddb>    PID   PPID   PGRP    UID  S       FLAGS  WAIT
COMMAND         
  9152      1  24654   1000  3      0x4080  poll
notification-are
 19989      1  24654   1000  3      0x4080  poll
clock-applet    
 32558      1  24654   1000  3      0x4080  poll
mixer_applet2   
 30896      1  11290   1000  3      0x4080  poll
gvfsd-trash     
 19245      1  19245   1000  3        0x80  poll
gnome-screensave
 17846      1  24654   1000  3      0x4080  poll
wnck-applet     
 16498      1  11290   1000  3      0x4080  poll
gvfsd           
 17649  24037  24037   1000  3      0x4080  poll
nautilus        
 24654      1  24654   1000  3      0x4080  poll
bonobo-activatio
  3705  24037  24037   1000  3      0x4080  poll
gnome-panel     
  7845  24037  24037   1000  3      0x4080  poll
metacity        
 23284      1  24037   1000  3        0x80  poll
gnome-keyring-da
 13936      1  13936   1000  3        0x80  poll
gnome-settings-d
 29729  24037  24037   1000  3      0x4080  poll
gnome-keyring-da
  9228      1  11290   1000  3      0x4080  poll
gconfd-2        
 11290      1  11290   1000  3        0x80  poll
dbus-daemon     
 30807      1  24037   1000  3        0x80  poll
dbus-launch     
 24037    397  24037   1000  3      0x4080  poll
gnome-session   
 24869  10607  10607      0  3     0x40180  netio
Xorg            
 18675      1  18675      0  3      0x4082  ttyin
getty           
 22989      1  22989      0  3      0x4082  ttyin
getty           
 20753      1  20753      0  3      0x4082  ttyin
getty           
 15769      1  15769      0  3      0x4082  ttyin
getty           
*28095      1  28095      0  7      0x4002
ksh             
  6922      1   6922      0  3        0x80  select
cron            
 10607    397  10607     35  3     0x44180  select
Xorg            
   397  13913    397      0  3       0x188  select
gdm-binary      
 13913      1  13913      0  3       0x188  poll
gdm-binary      
 24532      1  24532      0  3     0x40180  select
sendmail        
 32394      1  32394      0  3        0x80  select
sshd            
 19572      1  19572      0  3       0x180  select
inetd           
 12826  16107  20747     83  3       0x180  poll
ntpd            
 16107  20747  20747     83  3       0x180  poll
ntpd            
 20747      1  20747      0  3        0x80  poll
ntpd            
 30895  11469  11469     73  2       0x180
syslogd         
 11469      1  11469      0  3        0x88  netio
syslogd         
    22      0      0      0  3    0x100200  bored
crypto          
    21      0      0      0  3    0x100200  aiodoned
aiodoned        
    20      0      0      0  3    0x100200  syncer
update          
    19      0      0      0  2    0x100200
cleaner         
    18      0      0      0  3    0x100200  reaper
reaper          
    17      0      0      0  3    0x100200  pgdaemon
pagedaemon      
    16      0      0      0  3    0x100200  pftm
pfpurge         
    15      0      0      0  3    0x100200  usbevt
usb7            
    14      0      0      0  3    0x100200  usbevt
usb6            
    13      0      0      0  3    0x100200  usbevt
usb5            
    12      0      0      0  3    0x100200  usbevt
usb4            
    11      0      0      0  3    0x100200  usbevt
usb3            
    10      0      0      0  3    0x100200  usbevt
usb2            
     9      0      0      0  3    0x100200  mmctsk
sdmmc0          
     8      0      0      0  3    0x100200  usbevt
usb1            
     7      0      0      0  3    0x100200  usbtsk
usbtask         
     6      0      0      0  3    0x100200  usbevt
usb0            
     5      0      0      0  3    0x100200  ecwait
acpi0           
     4      0      0      0  3    0x100200  bored
syswq           
     3      0      0      0  3    0x100200
idle0           
     2      0      0      0  3    0x100200  kmalloc
kmthread        
     1      0      1      0  3      0x4080  wait
init            
     0     -1      0      0  3     0x80200  scheduler
swapper         
ddb> ds                  0x10
es            0xd0200010        kernel_text+0x10
fs            0xdf750058        end+0xee8a9d4
gs            0xdf750010        end+0xee8a98c
edi                0x100
esi           0xd06f545f        netlck+0x9ec
ebp           0xdf754aa0        end+0xee8f41c
ebx           0xdf754acc        end+0xee8f448
edx                    0
ecx           0xd07a8c58        kprintf_mutex
eax                  0x1
eip           0xd0499848        Debugger+0x4
cs                   0x8
eflags             0x202
esp           0xdf754aa0        end+0xee8f41c
ss            0xdf750010        end+0xee8a98c
Debugger+0x4:   leave   
ddb> syncing disks... 5 5 done
WARNING: not updating battery clock
OpenBSD 4.5 (GENERIC) #1749: Sat Feb 28 14:51:18 MST 2009
    dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Core(TM)2 Duo CPU T9400 @ 2.53GHz ("GenuineIntel"
686-class) 2.53 GHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,SMX,EST,TM2,CX16,xTPR
real mem  = 3214176256 (3065MB)
avail mem = 3114315776 (2970MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 09/24/08, BIOS32 rev. 0 @ 0xfdc80,
SMBIOS rev. 2.4 @ 0xe0010 (74 entries)
bios0: vendor LENOVO version "6FET46WW (1.16 )" date 09/24/2008
bios0: LENOVO 4058CTO
acpi0 at bios0: rev 2
acpi0: tables DSDT FACP SSDT ECDT APIC MCFG HPET SLIC BOOT ASF! SSDT
SSDT SSDT SSDT
acpi0: wakeup devices LID_(S3) SLPB(S3) UART(S3) IGBE(S4) EXP0(S4)
EXP1(S4) EXP2(S4) EXP3(S4) EXP4(S4) PCI1(S4) USB0(S3) USB1(S3) USB2(S3)
USB3(S3) USB4(S3) USB5(S3) EHC0(S3) EHC1(S3) HDEF(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 266MHz
cpu at mainbus0: not configured
ioapic0 at mainbus0: apid 1 pa 0xfec00000, version 20, 24 pins
ioapic0: misconfigured as apic 2, remapped to apid 1
acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 1 (AGP_)
acpiprt2 at acpi0: bus 2 (EXP0)
acpiprt3 at acpi0: bus 3 (EXP1)
acpiprt4 at acpi0: bus -1 (EXP2)
acpiprt5 at acpi0: bus 5 (EXP3)
acpiprt6 at acpi0: bus 13 (EXP4)
acpiprt7 at acpi0: bus 21 (PCI1)
acpiec0 at acpi0
acpicpu0 at acpi0: C3, C2
acpitz0 at acpi0: critical temperature 127 degC
acpitz1 at acpi0: critical temperature 100 degC
acpibtn0 at acpi0: LID_
acpibtn1 at acpi0: SLPB
acpibat0 at acpi0: BAT0 model "92P1133" serial   199 type LION oem
"Panasonic"
acpibat1 at acpi0: BAT1 not present
acpiac0 at acpi0: AC unit online
acpithinkpad0 at acpi0
acpidock at acpi0 not configured
acpivideo at acpi0 not configured
acpivideo at acpi0 not configured
bios0: ROM list: 0xc0000/0xfc00 0xd0000/0x1000 0xd1000/0x1000
0xd2000/0x1000 0xde000/0x1800! 0xe0000/0x10000
cpu0: unknown Enhanced SpeedStep CPU, msr 0x0617492506004925
cpu0: using only highest and lowest power states
cpu0: Enhanced SpeedStep 19467 MHz (1292 mV): speeds: 19467, 1600 MHz
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 "Intel GM45 Host" rev 0x07
ppb0 at pci0 dev 1 function 0 "Intel GM45 PCIE" rev 0x07: apic 1 int 16
(irq 11)
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 "ATI Mobility Radeon HD 3650" rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
"Intel GM45 HECI" rev 0x07 at pci0 dev 3 function 0 not configured
em0 at pci0 dev 25 function 0 "Intel ICH9 IGP M AMT" rev 0x03: apic 1
int 20 (irq 11), address 00:1c:25:97:34:61
uhci0 at pci0 dev 26 function 0 "Intel 82801I USB" rev 0x03: apic 1 int
20 (irq 11)
uhci1 at pci0 dev 26 function 1 "Intel 82801I USB" rev 0x03: apic 1 int
21 (irq 11)
uhci2 at pci0 dev 26 function 2 "Intel 82801I USB" rev 0x03: apic 1 int
22 (irq 11)
ehci0 at pci0 dev 26 function 7 "Intel 82801I USB" rev 0x03: apic 1 int
23 (irq 11)
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
azalia0 at pci0 dev 27 function 0 "Intel 82801I HD Audio" rev 0x03: apic
1 int 17 (irq 11)
azalia0: RIRB time out
azalia0: codecs: Conexant CX20561, Conexant/0x2c06, using Conexant
CX20561
audio0 at azalia0
ppb1 at pci0 dev 28 function 0 "Intel 82801I PCIE" rev 0x03: apic 1 int
20 (irq 11)
pci2 at ppb1 bus 2
ppb2 at pci0 dev 28 function 1 "Intel 82801I PCIE" rev 0x03: apic 1 int
21 (irq 11)
pci3 at ppb2 bus 3
iwn0 at pci3 dev 0 function 0 "Intel WiFi Link 5300AGN" rev 0x00: apic 1
int 17 (irq 11), MIMO 3T3R, MoW, address 00:16:ea:a3:00:2c
ppb3 at pci0 dev 28 function 3 "Intel 82801I PCIE" rev 0x03: apic 1 int
23 (irq 11)
pci4 at ppb3 bus 5
ppb4 at pci0 dev 28 function 4 "Intel 82801I PCIE" rev 0x03: apic 1 int
20 (irq 11)
pci5 at ppb4 bus 13
uhci3 at pci0 dev 29 function 0 "Intel 82801I USB" rev 0x03: apic 1 int
16 (irq 11)
uhci4 at pci0 dev 29 function 1 "Intel 82801I USB" rev 0x03: apic 1 int
17 (irq 11)
uhci5 at pci0 dev 29 function 2 "Intel 82801I USB" rev 0x03: apic 1 int
18 (irq 11)
ehci1 at pci0 dev 29 function 7 "Intel 82801I USB" rev 0x03: apic 1 int
19 (irq 11)
usb1 at ehci1: USB revision 2.0
uhub1 at usb1 "Intel EHCI root hub" rev 2.00/1.00 addr 1
ppb5 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0x93
pci6 at ppb5 bus 21
cbb0 at pci6 dev 0 function 0 "Ricoh 5C476 CardBus" rev 0xba: apic 1 int
16 (irq 11)
"Ricoh 5C832 Firewire" rev 0x04 at pci6 dev 0 function 1 not configured
sdhc0 at pci6 dev 0 function 2 "Ricoh 5C822 SD/MMC" rev 0x21: apic 1 int
18 (irq 11)
sdmmc0 at sdhc0
"Ricoh 5C843 MMC" rev 0x11 at pci6 dev 0 function 3 not configured
"Ricoh 5C592 Memory Stick" rev 0x11 at pci6 dev 0 function 4 not
configured
"Ricoh 5C852 xD" rev 0x11 at pci6 dev 0 function 5 not configured
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 22 device 0 cacheline 0x0, lattimer 0xb0
pcmcia0 at cardslot0
pcib0 at pci0 dev 31 function 0 "Intel 82801IEM LPC" rev 0x03
ahci0 at pci0 dev 31 function 2 "Intel 82801I AHCI" rev 0x03: apic 1 int
16 (irq 11), AHCI 1.2
scsibus0 at ahci0: 32 targets
sd0 at scsibus0 targ 0 lun 0: <ATA, ST9320421AS, SD13> SCSI3 0/direct
fixed
sd0: 305245MB, 512 bytes/sec, 625142448 sec total
cd0 at scsibus0 targ 1 lun 0: <MATSHITA, DVD-RAM UJ862A, SB04> ATAPI
5/cdrom removable
ichiic0 at pci0 dev 31 function 3 "Intel 82801I SMBus" rev 0x03: apic 1
int 23 (irq 11)
iic0 at ichiic0
usb2 at uhci0: USB revision 1.0
uhub2 at usb2 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb3 at uhci1: USB revision 1.0
uhub3 at usb3 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb4 at uhci2: USB revision 1.0
uhub4 at usb4 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb5 at uhci3: USB revision 1.0
uhub5 at usb5 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb6 at uhci4: USB revision 1.0
uhub6 at usb6 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb7 at uhci5: USB revision 1.0
uhub7 at usb7 "Intel UHCI root hub" rev 1.00/1.00 addr 1
isa0 at pcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
spkr0 at pcppi0
aps0 at isa0 port 0x1600/31
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
mtrr: Pentium Pro MTRR support
uvideo0 at uhub0 port 6 configuration 1 interface 0 "Chicony Electronics
Co., Ltd. product 0x4807" rev 2.00/31.34 addr 2
video0 at uvideo0
ubt0 at uhub3 port 2 "Lenovo Computer Corp ThinkPad Bluetooth with
Enhanced Data Rate II" rev 2.00/3.52 addr 2
ugen0 at uhub7 port 2 "Lenovo Integrated Smart Card Reader" rev
2.00/1.00 addr 2
softraid0 at root
root on sd0a swap on sd0b dump on sd0b
WARNING: / was not properly unmounted
---------------------------------------------------------------------------------------------------------------------------

Reply via email to