From nobody  Thu Nov 20 09:31:16 1997
Received: (from nobody@localhost)
          by hub.freebsd.org (8.8.7/8.8.7) id JAA20111;
          Thu, 20 Nov 1997 09:31:16 -0800 (PST)
          (envelope-from nobody)
Message-Id: <199711201731.JAA20111@hub.freebsd.org>
Date: Thu, 20 Nov 1997 09:31:16 -0800 (PST)
From: jthom@xnet.com
To: freebsd-gnats-submit@freebsd.org
Subject: mount_cd9660 or mount -t cd9660 fails to mount
X-Send-Pr-Version: www-1.0

>Number:         5105
>Category:       bin
>Synopsis:       mount_cd9660 or mount -t cd9660 fails to mount
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Nov 20 09:40:01 PST 1997
>Closed-Date:    Sun Jun 20 20:15:52 CDT 1999
>Last-Modified:  Sun Jun 20 20:17:32 CDT 1999
>Originator:     John Thomlinson
>Release:        2.2.2-RELEASE
>Organization:
>Environment:
FreeBSD hera.tekdoc.com 2.2.2-RELEASE FreeBSD 2.2.2-RELEASE #0: Wed Sep  3 11:03:51 CDT 1997     root@hera.tekdoc.com:/usr/src/sys/compile/KERNEL-2.2.2  i386

>Description:
CD disk fails to mount.

command line:	mount_cd9660 /dev/mcd0a /cdrom

(system error output?):
	mcd0: timeout read data
	mcd0: retrying
	mcd0: timeout read data
	mcd0: retrying
	mcd0: timeout read data
	mcd0: retrying
	mcd0: timeout read data
	mcd0: retrying
	mcd0: timeout read data
	mcd0: retrying
	mcd0: timeout read data

command line result returned:
	mount_cd9660: /dev/mcd0a: Input/output error

This is the only CD I have encountered (so far ;) ) 
that does not mount. It mounts OK on a Debian Linux 
2.0.29 box. Other CDs mount on FBSD 2.2.2 OK. I have 
built the kernel only once.

The CD ROM setup info from dmesg is:
	mcd0: type Mitsumi LU006S, version info: M 15
	mcd0 at 0x634-0x637 irq 15 on isa

Interestingly I cannot redirect the output from the 
command. Not with "tee". Not with 2>1&>filename. But, 
perhaps I should not be able to redirect? The above 
listings were obtained by cut & paste.

Would it be helpful for me to email a dd output from the 
start of the CD? I could use my Debian box to get this. 
However, I am unfamiliar with CD filestructures and do 
not know how much to include.

I have checked PRs: kern/4735, kern/750, bin/4564. 

The latest file in /usr/src/sys/isofs/cd9660 is iso.h 
dated May 7, 1997; filesize 10624 bytes.

/lkm/cd9660_mod.o is dated May 20, 1997

If I can help in any way, please email.

Best Regards, JohnT

>How-To-Repeat:
Any invocation of mount_cd9660 or mount -t cd9660 
produces the same result.

Attempting "mount -o -s=0 -t cd9660 /dev/mcd0a /cdrom" 
results in "cd9660: illegal option -s".

Attempting to mount /dev/mcd0c, the raw device, produces 
the same results.

>Fix:
None. :(
>Release-Note:
>Audit-Trail:

From: j@uriah.heep.sax.de (J Wunsch)
To: jthom@xnet.com
Cc: freebsd-gnats-submit@FreeBSD.ORG
Subject: Re: bin/5105: mount_cd9660 or mount -t cd9660 fails to mount
Date: Sun, 23 Nov 1997 13:36:06 +0100

 As jthom@xnet.com wrote:
 
 > (system error output?):
 
 Yep, you'll find a copy in /var/log/messages.
 
 > 	mcd0: timeout read data
 > 	mcd0: retrying
 
 This looks like a driver problem, for whatever reason triggered by
 just one CD.  Perhaps it's the same driver problem people have been
 reporting for the mcd driver when trying to install from it.
 
 > This is the only CD I have encountered (so far ;) ) 
 > that does not mount. It mounts OK on a Debian Linux 
 > 2.0.29 box.
 
 With the exact same drive?
 
 > Would it be helpful for me to email a dd output from the 
 > start of the CD?
 
 Probably not.  I'm afraid this bug (these bugs) can only be fixed by
 someone who owns an mcd drive, and has enough of courage to actually
 start fixing it.  Unless this somebody will appear, the bug is likely
 to last forever.
 
 > Any invocation of mount_cd9660 or mount -t cd9660 
 > produces the same result.
 
 It would be another bug if they weren't. :)
 
 > Attempting "mount -o -s=0 -t cd9660 /dev/mcd0a /cdrom" 
 > results in "cd9660: illegal option -s".
 
 Your system version is too old to understand multisession CDs, so
 don't worry.
 
 > Attempting to mount /dev/mcd0c, the raw device, produces 
 > the same results.
 
 It would be another bug if they weren't. :)
 
 -- 
 cheers, J"org
 
 joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
 Never trust an operating system you don't have sources for. ;-)

From: Guy Helmer <ghelmer@cs.iastate.edu>
To: freebsd-gnats-submit@freebsd.org, jthom@xnet.com
Cc:  
Subject: Re: bin/5105: mount_cd9660 or mount -t cd9660 fails to mount
Date: Thu, 03 Jun 1999 21:10:07 -0500

 Is this still a problem, or can the PR be closed?
 
 Guy Helmer
 ghelmer@freebsd.org
 
State-Changed-From-To: open->closed 
State-Changed-By: ghelmer 
State-Changed-When: Sun Jun 20 20:15:52 CDT 1999 
State-Changed-Why:  
PR author unreachable for further diagnosis. 
>Unformatted:
