From nobody@FreeBSD.org  Sat May 29 03:06:53 2004
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 8AA5216A4D0
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 29 May 2004 03:06:53 -0700 (PDT)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 7549A43D46
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 29 May 2004 03:06:53 -0700 (PDT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.12.11/8.12.11) with ESMTP id i4TA6Wti027251
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 29 May 2004 03:06:32 -0700 (PDT)
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.12.11/8.12.11/Submit) id i4TA6WPl027250;
	Sat, 29 May 2004 03:06:32 -0700 (PDT)
	(envelope-from nobody)
Message-Id: <200405291006.i4TA6WPl027250@www.freebsd.org>
Date: Sat, 29 May 2004 03:06:32 -0700 (PDT)
From: Holger Kipp <hk@alogis.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: mount_cd9660 gives dscheck: negative b_blkno, Invalid argument
X-Send-Pr-Version: www-2.3

>Number:         67334
>Category:       bin
>Synopsis:       mount_cd9660 gives dscheck: negative b_blkno, Invalid argument
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat May 29 03:10:26 PDT 2004
>Closed-Date:    Mon May 15 06:26:03 GMT 2006
>Last-Modified:  Mon May 15 06:26:03 GMT 2006
>Originator:     Holger Kipp
>Release:        4.10-PRERELEASE
>Organization:
>Environment:
FreeBSD katrin 4.10-PRERELEASE FreeBSD 4.10-PRERELEASE #43: Sun May 16 04:01:28 CEST 2004     root@katrin:/usr/obj/usr/src/sys/KATRIN  i386

>Description:
Mounting of some specific DVDs does not work:

a) via atapicam:
# mount_cd9660 /dev/cd1c /cdrom
dscheck(#cd/10): negative b_blkno -786372
mount_cd9660: /dev/cd1c: Invalid argument

b)
# mount_cd9660 /dev/acd1c /cdrom
mount_cd9660: /dev/acd1c: Infalid argument

with -v I get:
katrin# mount_cd9660 -v /dev/acd1c /mnt
using starting sector -196609

This is what cdcontrol had to say:
katrin# cdcontrol -f /dev/acd1c
Compact Disc Control utility, version 2.0
Type `?' for command list

cdcontrol> info
Starting track = 1, ending track = 2, TOC size = 26 bytes
track     start   duration    block  length   type
---------------------------------------------------
    1    0:02.00  100:34.57        0  452607   data
    2  100:36.57  151:59.12   452607  683937   data
  170  252:35.69          -  1136544       -      -
cdcontrol> quit


Of course 'it works under windows', and the DVD has no read-errors
as I can copy it with growisofs -dvd-compat -Z /dev/cd1c=/dev/acd0c
without problems and then can't mount the copy under FBSD either.
>How-To-Repeat:
Get a suitable DVD and try to mount it.

It looks like http://freebsdaddicts.org/modules.php?name=Forums&file=viewtopic&p=600
is related.
>Fix:
For me, 

mount_cd9660 -v -s 0 /dev/acd1c /mnt

seemed to work. At least browsing through directories and accessing
some files works.
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: rodrigc 
State-Changed-When: Mon Oct 17 14:52:06 GMT 2005 
State-Changed-Why:  
What DVD did you use to replicate this problem? 
The URL you posted in this PR doesn't work any more. 
Does mount_udf allow you to mount the DVD? 


http://www.freebsd.org/cgi/query-pr.cgi?pr=67334 
State-Changed-From-To: feedback->closed 
State-Changed-By: rodrigc 
State-Changed-When: Mon May 15 06:25:39 UTC 2006 
State-Changed-Why:  
Feedback timeout 

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