Date: Tue, 15 Nov 2005 20:14:57 GMT From: Rostislav Krasny <rosti.bsd@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: kern/89085: Running 'kldunload smbfs' without 'smbutil logout' always panicing the system Message-ID: <200511152014.jAFKEvYc007113@www.freebsd.org> Resent-Message-ID: <200511152020.jAFKKNZM000478@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@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@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200511152014.jAFKEvYc007113>