Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Jun 2000 21:51:42 -0700 (PDT)
From:      ahampi@yahoo.com
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   kern/19572: executing command cd ../cdrom after mount-unmount-mount causes trap 12 and kernel panic.
Message-ID:  <20000629045142.212CE37BAF9@hub.freebsd.org>

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

>Number:         19572
>Category:       kern
>Synopsis:       executing command cd ../cdrom after mount-unmount-mount causes trap 12 and kernel panic.
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jun 28 22:00:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Aravind Kumar H.G.
>Release:        FreeBSD 4.0
>Organization:
-
>Environment:
FreeBSD 4.0 release FreeBSD 4.0 release#0:Mon March 20 225022 GMT 2000
root@monster.cdrom.com
>Description:
Executing cd ../cdrom from /cdrom directory after cycle of mount-umount-
mount cycle causes trap 12 (page fault while in kernel mode) and hence
causes kernel panic.
>How-To-Repeat:
chdir to /cdrom (which) is default mount point for cdrom as per fstab.
mount /cdrom and do ls
now umount -f /cdrom (force as we will be /cdrom)
doing ls will give error( . not a directory)
do mount /cdrom to mount the cdrom once again (we are still in /cdrom dir)
now do ls will give error once again
now do cd ../ (tab in case of bash or esc in case of csh) to do file
completion.
This will result in trap 12 (page fault in kernel mode) and thus
results in kernel panic.
>Fix:
No idea.

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


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




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