Re: iso9660 cdrom bug

Mark Lord (mlord@pobox.com)
Wed, 05 May 1999 09:53:49 -0400


UPDATE: the disk in question is perfectly readible
and 100% error-free under FreeBSD. Must be a bug in
the iso9660 fs code .. I may look for it someday.

-ml

Harald Koenig wrote:
>
> On May 04, Mark Lord wrote:
>
> > Somewhere, there is a bug..
> >
> > I have just mastered a CD-R with a "live" filesystem image
> > of FreeBS-2.1.0 (don't ask). This was done with cdrecord-1.8a21
> > and mkisofs-1.12b4, grafted into xcdroast-0.96e.
> >
> > The iso9660 fs was constructed from a disk tree, using:
> >
> > mkisofs -a -b floppies/atapi144.flp -c boot.ctg \
> > -J -L -o /image1.raw -R -T -v freebsd210
> >
> > The resulting image was then copied to a linux hard drive,
> > mounted, and examined for errors. *No problems found*.
> >
> > cp /image1.raw /dev/hdc
> > mount /dev/hdc /mnt -t iso9660 -o ro
> > cd /mnt/live/usr/X11R6/man/man3
> > ls -l | grep -i timeout | awk '{print $1" "$9" "$10" "$11}'
> > ...
> > -r--r--r-- XtAppAddTimeOut.3.gz
> > lrwxrwxrwx XtAppAddTimeout.3.gz -> XtAppAddTimeOut.3.gz
> > ...
> > Note (1) the correct symlink, and the similar but not identical
> > spellings of TimeOut and Timeout.
> >
> > So, I then burned it to a CD-R, verified no errors during recording,
> > and mounted the resulting CD:
> >
> > mount /dev/cdrw /cdrom
> >
> > And linux is somehow confused about a set of symlinks
> > and similar filenames way down in /cdrom/live/usr/X11R6/man/man3.
> >
> > Here is what it reports, using either ide-cd or ide-scsi drivers:
> > ...
> > lrwxrwxrwx XtAppAddTimeOut.3.gz -> XtAppAddTimeOut.3.gz
> > lrwxrwxrwx XtAppAddTimeout.3.gz -> XtAppAddTimeOut.3.gz
> > ...
> > Note the circularly-referenced symlink. HOUSTON, WE HAVE A PROBLEM.
> >
> > Under Win98, the file XtAppAddTimeOut.3.gz is indeed present.
>
> wild gues (I know close to nothing about Joliet): either joliet support
> in Linux is slightly broken, or it's just a possible/allowed side effect
> of Joliet.
>
> anyway, I'd never use mkisofs `-J' for UN*X CDRs! maybe you should try
>
> mount -o nojoliet ....
>
> and see if this makes a difference...
>
> >
> > Also, in TRANS.TBL we see:
> >
> > L XTAPPADD.004;1 XtAppAddTimeout.3.gz XtAppAddTimeOut.3.gz
> > F XTAPPADD.005;1 XtAppAddTimeOut.3.gz
> >
> > Somewhere, there is a bug..
> > --
> > mlord@pobox.com
> >
> > -
> > To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> > the body of a message to majordomo@vger.rutgers.edu
> > Please read the FAQ at http://www.tux.org/lkml/
>
> Harald
> --
> All SCSI disks will from now on ___ _____
> be required to send an email notice 0--,| /OOOOOOO\
> 24 hours prior to complete hardware failure! <_/ / /OOOOOOOOOOO\
> \ \/OOOOOOOOOOOOOOO\
> \ OOOOOOOOOOOOOOOOO|//
> Harald Koenig, \/\/\/\/\/\/\/\/\/
> Inst.f.Theoret.Astrophysik // / \\ \
> koenig@tat.physik.uni-tuebingen.de ^^^^^ ^^^^^

-- 
mlord@pobox.com

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/