kern/89085: Running 'kldunload smbfs' without 'smbutil logout' always panicing the system

Rostislav Krasny rosti.bsd at gmail.com
Tue Nov 15 20:20:24 GMT 2005


>Number:         89085
>Category:       kern
>Synopsis:       Running 'kldunload smbfs' without 'smbutil logout' always panicing the system
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Nov 15 20:20:22 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Rostislav Krasny
>Release:        6.0
>Organization:
>Environment:
FreeBSD saturn.lan 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Wed Nov  2 23:45:48 IST 2005     root at saturn.lan:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
The system doesn't prevent unloading the smbfs.ko module when there is any yet opened SMB connection. The result is a panic.
>How-To-Repeat:
# kldload smbfs
netsmb_dev: loaded
# smbutil login //user at server
Password:
Connect to USER
# kldunload smbfs
smb_sm_done: 1 connection still active
netsmb_dev: unload
#

Fatal trap 12: page fault while in kernel mode
fault virtual address	= 0xc17c295d
fault code		= supervisor read, page not present
instruction pointer	= 0x20:0xc17c295d
stack pointer		= 0x28:0xcc8e2ce0
frame pointer		= 0x28:0xcc8e2d10
code segment		= base 0x0, limit 0xfffff, type 0x1b
			= DPL 0, pres 1, def32 1, gran 1
processor flags		= interrupt enabled, resume, IOPL = 0
current process		= 596 (smbiod0)
trap number		= 12
panic: page fault
Uptime: 15m7s
Dumping 127 MB (2 chunks)
[snip]


The server is Windows XP Professional SP2.
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list