bin/67334: mount_cd9660 gives dscheck: negative b_blkno, Invalid argument

Holger Kipp hk at alogis.com
Sat May 29 03:10:36 PDT 2004


>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:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat May 29 03:10:26 PDT 2004
>Closed-Date:
>Last-Modified:
>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 at 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:
>Unformatted:


More information about the freebsd-bugs mailing list