Crash on smbfs umount?

Norberto Meijome freebsd at meijome.net
Thu Mar 2 14:19:35 UTC 2006


Hi,
has anyone experienced this?

I connected via a PPTP VPN to my office, mounted a SMB share (which
actually resides on a linux-backed NAS running SAMBA 3) via :

sudo mount_smbfs -I 10.168.100.17 -W xxxx //betom at eniac/Software /mnt/smb1

after using the share as usual, I issued

sudo umount /mnt/smb1

... after about 10 seconds, complete freeze...about 15 seconds later,
laptop reboots by itself.
Now I realise I had a kernel panic on smbiod0 :
---
Mar  3 00:40:13 ayiin kernel: kernel trap 12 with interrupts disabled
Mar  3 00:40:13 ayiin kernel:
Mar  3 00:40:13 ayiin kernel:
Mar  3 00:40:13 ayiin kernel: Fatal trap 12: page fault while in kernel mode
Mar  3 00:40:13 ayiin kernel: fault virtual address     = 0x0
Mar  3 00:40:13 ayiin kernel: fault code                = supervisor
read, page not present
Mar  3 00:40:13 ayiin kernel: instruction pointer       = 0x20:0xc0576180
Mar  3 00:40:13 ayiin kernel: stack pointer             = 0x28:0xef3e6be4
Mar  3 00:40:13 ayiin kernel: frame pointer             = 0x28:0xef3e6bec
Mar  3 00:40:13 ayiin kernel: code segment              = base 0x0,
limit 0xfffff, type 0x1b
Mar  3 00:40:13 ayiin kernel: = DPL 0, pres 1, def32 1, gran 1
Mar  3 00:40:13 ayiin kernel: processor eflags  = resume, IOPL = 0
Mar  3 00:40:13 ayiin kernel: current process           = 48864 (smbiod0)
Mar  3 00:40:13 ayiin kernel: trap number               = 12
Mar  3 00:40:13 ayiin kernel: panic: page fault
Mar  3 00:40:13 ayiin kernel: Uptime: 12h6m45s
Mar  3 00:40:13 ayiin kernel: Cannot dump. No dump device defined.
Mar  3 00:40:13 ayiin kernel: Automatic reboot in 15 seconds - press a
key on the console to abort
---

I *think* I can reproduce this in the office too if I un-dock (i.e loose
connectivity to the server) and unmount the share.

I'm running
$ uname -a
FreeBSD ayiin.xxxx  6.1-PRERELEASE FreeBSD 6.1-PRERELEASE #3: Mon Feb 27
23:38:18 EST 2006     root at ayiin.xxx:/usr/obj/usr/src/sys/AYIIN  i386

$ mount_smbfs -v
mount_smbfs: version 1.1.0

samba-3.0.21b,1     A free SMB and CIFS client and server for UNIX
samba-libsmbclient-3.0.21b Shared libs from the samba package

any ideas on this issue would be greatly appreciated.

Thanks!!
Beto


More information about the freebsd-stable mailing list