From nobody@FreeBSD.org  Thu Dec 28 16:27:03 2006
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 4307116A47B
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 28 Dec 2006 16:27:03 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [69.147.83.33])
	by mx1.freebsd.org (Postfix) with ESMTP id 3665313C463
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 28 Dec 2006 16:27:03 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id kBSGR3ns047300
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 28 Dec 2006 16:27:03 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id kBSGR3NC047299;
	Thu, 28 Dec 2006 16:27:03 GMT
	(envelope-from nobody)
Message-Id: <200612281627.kBSGR3NC047299@www.freebsd.org>
Date: Thu, 28 Dec 2006 16:27:03 GMT
From: Thorsten Krger<flasupise@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: freeze and reboot by mounting twice
X-Send-Pr-Version: www-3.0

>Number:         107285
>Category:       kern
>Synopsis:       [panic] freeze and reboot by mounting CDROM volume twice
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Dec 28 16:30:15 GMT 2006
>Closed-Date:    Fri Nov 02 22:25:33 UTC 2012
>Last-Modified:  Fri Nov 02 22:25:33 UTC 2012
>Originator:     Thorsten Krger
>Release:        FreeBSD 6.1-STABLE (also tested and approved on 6.2-PRERELEASE)
>Organization:
privat
>Environment:
FreeBSD work.flasupise 6.1-STABLE FreeBSD 6.1-STABLE #13: Mon Aug 21 14:00:44 CEST 2006     flas@work.flasupise:/usr/obj/usr/src/sys/FLASCONF  i386
>Description:
The problem occurred while mounting a cdrom drive two times unintended.
At first i thought that wouldn't be a problem but then i unmounted the
device once and tried to read on it (i made "ls") and my system freezed
and then rebooted, as i had pushed the reset-button.

While using mount the normal way, i'm not having any problems.
>How-To-Repeat:
at first the relevant entries of my fstab:
..
/dev/acd0               /cdrom          cd9660  ro,noauto       0       0
/dev/acd1               /cdrom1         cd9660  ro,noauto       0       0

here the sequence of commands i used:

#su
#mount /cdrom
#mount /cdrom
#mount
..
/dev/acd0 on /cdrom (cd9660, local, read-only)
/dev/acd0 on /cdrom (cd9660, local, read-only)
#umount /cdrom
#mount
..
/dev/acd0 on /cdrom (cd9660, local, read-only)
#ls /cdrom
--freeze and reboot--

(this also "worked" on a 6.2-PRERELEASE box)
>Fix:

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->patched  
State-Changed-By: brucec 
State-Changed-When: Sat Apr 3 09:11:06 UTC 2010 
State-Changed-Why:  
This should be fixed with r206130. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=107285 
State-Changed-From-To: patched->closed 
State-Changed-By: eadler 
State-Changed-When: Fri Nov 2 22:25:32 UTC 2012 
State-Changed-Why:  
MFCed/fixed by now or it will never be MFCed 

http://www.freebsd.org/cgi/query-pr.cgi?pr=107285 
>Unformatted:
