From eugen@D00015.dialonly.kemerovo.su  Tue Sep 25 07:40:51 2001
Return-Path: <eugen@D00015.dialonly.kemerovo.su>
Received: from D00015.dialonly.kemerovo.su (www2.svzserv.kemerovo.su [213.184.65.86])
	by hub.freebsd.org (Postfix) with ESMTP id 5A2B337B41D
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 25 Sep 2001 07:40:43 -0700 (PDT)
Received: (from eugen@localhost)
	by D00015.dialonly.kemerovo.su (8.11.6/8.11.4) id f8PEYV001950;
	Tue, 25 Sep 2001 22:34:31 +0800 (KRAST)
	(envelope-from eugen)
Message-Id: <200109251434.f8PEYV001950@D00015.dialonly.kemerovo.su>
Date: Tue, 25 Sep 2001 22:34:31 +0800 (KRAST)
From: Eugene Grosbein <eugen@grosbein.pp.ru>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: Addition to kern/28166: impossibility of mounting CD-ROM
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         30817
>Category:       kern
>Synopsis:       Addition to kern/28166: impossibility of mounting CD-ROM
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Sep 25 07:50:00 PDT 2001
>Closed-Date:    Wed Dec 12 06:51:58 PST 2001
>Last-Modified:  Wed Dec 12 08:20:01 PST 2001
>Originator:     Eugene Grosbein
>Release:        FreeBSD 4.4-STABLE i386
>Organization:
ISP Svyaz Service
>Environment:
System: FreeBSD 4.4-STABLE #0: Thu Sep 20 19:58:56 KRAST
	ATAPI CD-ROM

>Description:
	It is impossible to mount CD-ROM in some cases.

>How-To-Repeat:
	1. Insert any CD-ROM into drive. 
	Make shure it can be mounted:
		
		# mount -t cd9660 /dev/acd0a /cdrom
		# umount /cdrom

	2. Now eject tray manually using 'eject' button of front panel of drive
	Then insert in back using command:
		
		# cdcontrol -f /dev/acd0a close
	
	3. Now it's impossible to mount CD-ROM:
		
		# mount -t cd9660 /dev/acd0a /cdrom
		cd9660: /dev/acd0a: Device busy

	You have to eject and reinsert CD manually to revive your drive.

>Fix:

	Unknown for me. This bug seems to be related with another one
	explained in http://www.FreeBSD.org/cgi/query-pr.cgi?pr=28166

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: sos 
State-Changed-When: Wed Dec 12 06:51:58 PST 2001 
State-Changed-Why:  
This works for me both on -current & -stable 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=30817 

From: Peter Pentchev <roam@ringlet.net>
To: Eugene Grosbein <eugen@grosbein.pp.ru>
Cc: FreeBSD-gnats-submit@freebsd.org
Subject: Re: kern/30817: Addition to kern/28166: impossibility of mounting CD-ROM
Date: Wed, 12 Dec 2001 16:31:38 +0200

 On Tue, Sep 25, 2001 at 10:34:31PM +0800, Eugene Grosbein wrote:
 > 
 > >Number:         30817
 > >Category:       kern
 > >Synopsis:       Addition to kern/28166: impossibility of mounting CD-ROM
 > >Originator:     Eugene Grosbein
 > >Release:        FreeBSD 4.4-STABLE i386
 > >Organization:
 > ISP Svyaz Service
 > >Environment:
 > System: FreeBSD 4.4-STABLE #0: Thu Sep 20 19:58:56 KRAST
 > 	ATAPI CD-ROM
 > 
 > >Description:
 > 	It is impossible to mount CD-ROM in some cases.
 > 
 > >How-To-Repeat:
 > 	1. Insert any CD-ROM into drive. 
 > 	Make shure it can be mounted:
 > 		
 > 		# mount -t cd9660 /dev/acd0a /cdrom
 > 		# umount /cdrom
 > 
 > 	2. Now eject tray manually using 'eject' button of front panel of drive
 > 	Then insert in back using command:
 > 		
 > 		# cdcontrol -f /dev/acd0a close
 > 	
 > 	3. Now it's impossible to mount CD-ROM:
 > 		
 > 		# mount -t cd9660 /dev/acd0a /cdrom
 > 		cd9660: /dev/acd0a: Device busy
 > 
 > 	You have to eject and reinsert CD manually to revive your drive.
 
 Are you sure that this 'Device busy' did not occur during the sense
 period, while the drive itself was trying to find out what kind of disc
 you had just popped in?  Wait a few seconds (usually until the light
 on the drive stops blinking) and try mounting it again.
 
 G'luck,
 Peter
 
 -- 
 If this sentence didn't exist, somebody would have invented it.

From: Eugene Grosbein <eugen@grosbein.pp.ru>
To: Peter Pentchev <roam@ringlet.net>
Cc: FreeBSD-gnats-submit@freebsd.org, sos@freebsd.org
Subject: Re: kern/30817: Addition to kern/28166: impossibility of mounting CD-ROM
Date: Wed, 12 Dec 2001 22:28:51 +0700

 > > >How-To-Repeat:
 > >       1. Insert any CD-ROM into drive.
 > >       Make shure it can be mounted:
 > >
 > >               # mount -t cd9660 /dev/acd0a /cdrom
 > >               # umount /cdrom
 > >
 > >       2. Now eject tray manually using 'eject' button of front panel of drive
 > >       Then insert in back using command:
 > >
 > >               # cdcontrol -f /dev/acd0a close
 > >
 > >       3. Now it's impossible to mount CD-ROM:
 > >
 > >               # mount -t cd9660 /dev/acd0a /cdrom
 > >               cd9660: /dev/acd0a: Device busy
 > >
 > >       You have to eject and reinsert CD manually to revive your drive.
 > 
 > Are you sure that this 'Device busy' did not occur during the sense
 > period, while the drive itself was trying to find out what kind of disc
 > you had just popped in?  Wait a few seconds (usually until the light
 > on the drive stops blinking) and try mounting it again.
 
 Of course, I tied to mount after the driver stops blinking.
 And I had 'Device busy' message immediately and drive did not even blinked.
 I've just reproduced this here. My system is now 4.4-STABLE of 24 November
 2001.
 
 Eugene Grosbein

From: =?iso-8859-1?Q?Fl=FCkiger_Fabrizio?= <bizi@gmx.ch>
To: "Eugene Grosbein" <eugen@grosbein.pp.ru>
Cc: <FreeBSD-gnats-submit@freebsd.org>
Subject: Re: kern/30817: Addition to kern/28166: impossibility of mounting CD-ROM
Date: Wed, 12 Dec 2001 16:52:18 +0100

 ----- Original Message -----
 From: "Eugene Grosbein" <eugen@grosbein.pp.ru>
 To: <freebsd-bugs@FreeBSD.org>
 Sent: Wednesday, December 12, 2001 4:30 PM
 Subject: Re: kern/30817: Addition to kern/28166: impossibility of mounting
 CD-ROM
 
 have you tried to unmount the cdrom with forcing, befor mount ?
 
 like this:
 
 # cdcontrol -f /dev/acd0a
 
 Now it's impossible to mount CD-ROM:
 
 # mount -t cd9660 /dev/acd0a /cdrom
 cd9660: /dev/acd0a: Device busy
 
 but first try this:
 
 # umount -f  /cdrom
 (important: you must force it with -f)
 
 # mount -t cd9660 /dev/acd0a /cdrom
 now it should be possible to mount...
 
     thx & cu
     Fabrizio
 
 

From: =?iso-8859-1?Q?Fl=FCkiger_Fabrizio?= <bizi@gmx.ch>
To: "Eugene Grosbein" <eugen@grosbein.pp.ru>
Cc: <FreeBSD-gnats-submit@freebsd.org>
Subject: Re: kern/30817: Addition to kern/28166: impossibility of mounting CD-ROM
Date: Wed, 12 Dec 2001 16:52:18 +0100

 ----- Original Message -----
 From: "Eugene Grosbein" <eugen@grosbein.pp.ru>
 To: <freebsd-bugs@FreeBSD.org>
 Sent: Wednesday, December 12, 2001 4:30 PM
 Subject: Re: kern/30817: Addition to kern/28166: impossibility of mounting
 CD-ROM
 
 have you tried to unmount the cdrom with forcing, befor mount ?
 
 like this:
 
 # cdcontrol -f /dev/acd0a
 
 Now it's impossible to mount CD-ROM:
 
 # mount -t cd9660 /dev/acd0a /cdrom
 cd9660: /dev/acd0a: Device busy
 
 but first try this:
 
 # umount -f  /cdrom
 (important: you must force it with -f)
 
 # mount -t cd9660 /dev/acd0a /cdrom
 now it should be possible to mount...
 
     thx & cu
     Fabrizio
 
 

From: Eugene Grosbein <eugen@grosbein.pp.ru>
To: "Flkiger Fabrizio" <bizi@gmx.ch>
Cc: FreeBSD-gnats-submit@freebsd.org
Subject: Re: kern/30817: Addition to kern/28166: impossibility of mounting CD-ROM
Date: Wed, 12 Dec 2001 23:14:06 +0700

 > have you tried to unmount the cdrom with forcing, befor mount ?
 > 
 > like this:
 > 
 > # cdcontrol -f /dev/acd0a
 > 
 > Now it's impossible to mount CD-ROM:
 > 
 > # mount -t cd9660 /dev/acd0a /cdrom
 > cd9660: /dev/acd0a: Device busy
 > 
 > but first try this:
 > 
 > # umount -f  /cdrom
 > (important: you must force it with -f)
 > 
 > # mount -t cd9660 /dev/acd0a /cdrom
 > now it should be possible to mount...
 
 
 Not sure I understand you. CD is not mounted in this example,
 there is nothing to unmount. If you insist to run 'umount -f' brefore
 mounting,
 I tried this. Obviously, this doesn't help.
 
 Eugene Grosbein
>Unformatted:
