Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Feb 2007 11:35:11 GMT
From:      Dmitriy<twobrothers@yandex.ru>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   kern/108968: Double mount then umount and ls resuits in panic.
Message-ID:  <200702091135.l19BZBsl023060@www.freebsd.org>
Resent-Message-ID: <200702091140.l19BeJtj078490@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         108968
>Category:       kern
>Synopsis:       Double mount then umount and ls resuits in panic.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Feb 09 11:40:16 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Dmitriy
>Release:        6.2-RELEASE
>Organization:
>Environment:
FreeBSD gate.smeu.ru 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Mon Jan 22 09:54:54 NOVT 2007   root@gate.smeu.ru:/usr/src/sys/i386/compile/GATE  i386
>Description:
If you mount CD with "mount /cdrom", then mount it again: "mount /cdrom" and then "umount /cdrom", "cd /cdrom" and "ls", you can see this:

Fatal trap 12: page fault while in kernel mode
fault virtual address	= 0x0
fault code		= supervisor read, page not present
instruction pointer	= 0x20:0xc047d670
stack pointer		= 0x28:0xcb3fbaac
frame pointer		= 0x28:0xcb3fbac0
code segment		= base 0x0, limit 0xfffff, type 0x1b
			= DPL 0, pres 1, def32 1, gran 1
processor eflags	= interrupt enabled, resume, IOPL = 0
current process		= 819 (ls)
trap number		= 12
panic: page fault
Uptime: 5m12s
Cannot dump. No dump device defined/
Automatic reboot in 15 seconds - press a key on the console to abort

How can you double mount? May be you do something long time after first mount, of may be amnesiac?

You can do this on GENERIC kernel after install without changing anything.
>How-To-Repeat:
Insert CD in CDROM, mount with

mount /cdrom
mount /cdrom
umount /cdrom
cd /cdrom
ls

>Fix:
Newer do double mount and check before mounting.
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200702091135.l19BZBsl023060>