I am running a laptop with the August 9th snap.  When I am work, I run
an NFS mount so that I can remotely mount CDs and directories to some
Solaris 10 boxes in our lab.  After I ssh to the remote server, I can
successfully mount /home on my local box and install software.
Yesterday, and again today, I needed to make a directory, and
mistakenly attempted to "mkdir" from the remote machine on the NFS
share.  This locked up my local box to the point where I had to use
the power button to get back up and running.  I am able to re-create
the issue, and luckily got a hold of a console cable to record the
panic:

vrele: bad ref count: 0xd696e5e4, type VDIR, use 0, write 0, hold 1,
flags (VBIOONFREELIST)
        tag VT_UFS, ino 6080270, on dev 0, 7 flags 0x0, effnlink 3, nlink 3
        mode 040755, owner 0, group 0, size 1024 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> trace
Debugger(0,d696e5e4,d6a70578,d696e5e4,d6a70578) at Debugger+0x4
panic(d071fb3f,d696e5e4,d6a70578,0,d6965000) at panic+0x55
vrele(d696e5e4,dbf46bec,d6965078,d6a70578) at vrele+0xa2
nfsrv_mkdir(d6965000,d1c85b80,d6a70578,dbf46e2c,1) at nfsrv_mkdir+0x3f8
nfssvc_nfsd(d1aff1e0,34,4,0,d6af12f8) at nfssvc_nfsd+0x21c
sys_nfssvc(d6a70578,dbf46f68,dbf46f58,3c00020c,4) at sys_nfssvc+0x17c
syscall() at syscall+0x24e
--- syscall (number 155) ---
0x1c000cdd:
ddb> ps
   PID   PPID   PGRP    UID  S       FLAGS  WAIT          COMMAND
 13109      1  13109      0  3     0x40180  select        sendmail
 15402  30475  15402      0  3      0x4082  select        ssh
 21533      1  21533      0  3      0x4082  ttyin         getty
 30990      1  30990      0  3      0x4082  ttyin         getty
 26367      1  26367      0  3      0x4082  ttyin         getty
   330      1    330      0  3      0x4082  ttyin         getty
 30475      1  30475      0  3      0x4082  pause         ksh
 31362      1  31362      0  3      0x4082  ttyin         ksh
 13440      1  13440      0  3        0x80  select        cron
 14045      1  14045      0  3        0x80  select        sshd
  4021      1   4021      0  3       0x180  select        inetd
 23081  26646  26646      0  3        0x80  nfsd          nfsd
  2475  26646  26646      0  3        0x80  nfsd          nfsd
*24041  26646  26646      0  7           0                nfsd
 10562  26646  26646      0  3        0x80  nfsd          nfsd
 26646      1  26646      0  3        0x80  netcon        nfsd
  3116      1   3116      0  3        0x80  select        mountd
 15609  12667  12667     74  3       0x180  bpf           pflogd
 17305      1  17305     28  3       0x180  poll          portmap
 12667      1  12667      0  3        0x80  netio         pflogd
  3261   5481   5481     73  2       0x180                syslogd
  5481      1   5481      0  3        0x88  netio         syslogd
    17      0      0      0  3    0x100200  bored         crypto
    16      0      0      0  3    0x100200  aiodoned      aiodoned
    15      0      0      0  2    0x100200                update
    14      0      0      0  3    0x100200  cleaner       cleaner
    13      0      0      0  3    0x100200  reaper        reaper
    12      0      0      0  3    0x100200  pgdaemon      pagedaemon
    11      0      0      0  3    0x100200  pftm          pfpurge
    10      0      0      0  3    0x100200  usbevt        usb3
     9      0      0      0  3    0x100200  usbevt        usb2
     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  acpi_idle     acpi0
     4      0      0      0  3    0x100200  bored         syswq
     3      0      0      0  3  0x40100200                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>



Here is a copy of my /etc/exports:
# See exports(5) for more information.  Be very careful:  misconfiguration
# of this file can result in your filesystems being readable by the world.
/cdrom -alldirs -ro -network=10.10.11 -mask=255.255.255.0
/cdrom -alldirs -ro -network=10.20.11 -mask=255.255.255.0
/home -alldirs -ro -network=10.10.11 -mask=255.255.255.0
/home -alldirs -ro -network=10.20.11 -mask=255.255.255.0
--------------------------------------------------------------------------------------------------------------------

My best guess is that since they are not mounted read/write, that NFS
is crashing.  The other issue might be that Solaris 10 is trying to
force the issue, and OpenBSD isn't having any of it.  I thought I'd
report it since it shouldn't panic just to tell me that I'm an idiot
for trying to create a directory on a read-only mount...

I will have access to this box the rest of the day, and then Monday if
you need more information. dmesg is below:


Regards,
Bryan Brake



dmesg:

OpenBSD 4.6-current (GENERIC) #95: Sun Aug  9 12:54:05 MDT 2009
    dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Pentium(R) M processor 1400MHz ("GenuineIntel"
686-class) 1.40 GHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,M
MX,FXSR,SSE,SSE2,TM,SBF,EST,TM2
real mem  = 1072975872 (1023MB)
avail mem = 1030811648 (983MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 06/29/05, BIOS32 rev. 0 @ 0xffe90, SMBIOS
 rev. 2.3 @ 0xf8c90 (62 entries)
bios0: vendor Dell Computer Corporation version "A16" date 06/29/2005
bios0: Dell Computer Corporation Latitude D600
acpi0 at bios0: rev 0
acpi0: tables DSDT FACP ASF!
acpi0: wakeup devices LID_(S3) PBTN(S4) PCI0(S3) USB0(S1) USB1(S1) USB2(S1) USB
3(S1) MODM(S3) PCIE(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 1 (AGP_)
acpiprt2 at acpi0: bus 2 (PCIE)
acpicpu0 at acpi0: C3, C3, C2, C1, PSS
acpitz0 at acpi0: critical temperature 102 degC
acpiac0 at acpi0: AC unit online
acpibat0 at acpi0: BAT0 model "DELL 4M0106" serial 662 type LION oem "Panasonic
"
acpibat1 at acpi0: BAT1 not present
acpibtn0 at acpi0: LID_
acpibtn1 at acpi0: PBTN
acpibtn2 at acpi0: SBTN
acpidock0 at acpi0: GDCK docked (15)
acpivideo0 at acpi0: VID_
acpivout0 at acpivideo0: TV__
acpivout1 at acpivideo0: CRT_
acpivout2 at acpivideo0: CRT2
acpivout3 at acpivideo0: LCD_
acpivout4 at acpivideo0: DVI_
bios0: ROM list: 0xc0000/0x10000
cpu0 at mainbus0: (uniprocessor)
cpu0: Enhanced SpeedStep 1396 MHz: speeds: 1400, 1400, 1400, 1400, 1200, 1000, 8
00, 600 MHz
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 "Intel 82855PM Host" rev 0x03
intelagp0 at pchb0
agp0 at intelagp0: aperture at 0xe0000000, size 0x8000000
ppb0 at pci0 dev 1 function 0 "Intel 82855PM AGP" rev 0x03
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 "ATI Radeon Mobility M9" rev 0x02
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
radeondrm0 at vga1: irq 11
drm0 at radeondrm0
uhci0 at pci0 dev 29 function 0 "Intel 82801DB USB" rev 0x01: irq 11
uhci1 at pci0 dev 29 function 1 "Intel 82801DB USB" rev 0x01: irq 11
uhci2 at pci0 dev 29 function 2 "Intel 82801DB USB" rev 0x01: irq 11
ehci0 at pci0 dev 29 function 7 "Intel 82801DB USB" rev 0x01: irq 11
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
ppb1 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0x81
pci2 at ppb1 bus 2
bge0 at pci2 dev 0 function 0 "Broadcom BCM5705M" rev 0x01, BCM5705 A1 (0x3001)
: irq 11, address 00:0f:1f:b8:52:5f
brgphy0 at bge0 phy 1: BCM5705 10/100/1000baseT PHY, rev. 1
cbb0 at pci2 dev 1 function 0 "O2 Micro OZ711EC1 SmartCardBus" rev 0x20: irq 11
, CardBus support disabled
cbb1 at pci2 dev 1 function 1 "O2 Micro OZ711EC1 SmartCardBus" rev 0x20: irq 11
, CardBus support disabled
cardslot0 at cbb0 slot 0 flags 0
pcmcia0 at cardslot0
cardslot1 at cbb1 slot 1 flags 0
pcmcia1 at cardslot1
ichpcib0 at pci0 dev 31 function 0 "Intel 82801DBM LPC" rev 0x01
pciide0 at pci0 dev 31 function 1 "Intel 82801DBM IDE" rev 0x01: DMA, channel 0
 configured to compatibility, channel 1 configured to compatibility
wd0 at pciide0 channel 0 drive 0: <Hitachi HTS541080G9AT00>
wd0: 16-sector PIO, LBA, 76319MB, 156301488 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: <TSSTcorp, DVD+-RW TS-L632D, DE03> ATAPI 5/cdrom r
emovable
cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
auich0 at pci0 dev 31 function 5 "Intel 82801DB AC97" rev 0x01: irq 11, ICH4 AC
97
ac97: codec id 0x83847650 (SigmaTel STAC9750/51)
ac97: codec features headphone, 20 bit DAC, 20 bit ADC, SigmaTel 3D
audio0 at auich0
"Intel 82801DB Modem" rev 0x01 at pci0 dev 31 function 6 not configured
usb1 at uhci0: USB revision 1.0
uhub1 at usb1 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb2 at uhci1: USB revision 1.0
uhub2 at usb2 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb3 at uhci2: USB revision 1.0
uhub3 at usb3 "Intel UHCI root hub" rev 1.00/1.00 addr 1
isa0 at ichpcib0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
com0: console
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
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
biomask eded netmask eded ttymask ffff
mtrr: Pentium Pro MTRR support
"SCR241 PCMCIA, Smart Card Reader" at pcmcia0 function 0 not configured
"O2Micro, SmartCardBus Reader, V1.0" at pcmcia1 function 0 not configured
uhub4 at uhub0 port 6 "Dell product 0x0058" rev 2.00/0.00 addr 2
uhub5 at uhub4 port 4 "NEC Corporation USB2.0 Hub Controller" rev 2.00/1.00 add
r 3
uhidev0 at uhub5 port 1 configuration 1 interface 0 "Logitech USB Receiver" rev
 2.00/5.00 addr 4
uhidev0: iclass 3/1
ums0 at uhidev0: 16 buttons, Z dir
wsmouse1 at ums0 mux 0
uhidev1 at uhub5 port 1 configuration 1 interface 1 "Logitech USB Receiver" rev
 2.00/5.00 addr 4
uhidev1: iclass 3/0, 17 report ids
uhid0 at uhidev1 reportid 3: input=4, output=0, feature=0
uhid1 at uhidev1 reportid 16: input=6, output=6, feature=0
uhid2 at uhidev1 reportid 17: input=19, output=19, feature=0
softraid0 at root
root on wd0a swap on wd0b dump on wd0b

Reply via email to