Re: Accessing CDs or cd9660 broken

Jan-Benedict Glaw <[email protected]>
Newsgroups gmane.os.netbsd.current
Message-ID <[email protected]>
On Mon, 2026-01-19 08:22:57 +0100, Jan-Benedict Glaw <[email protected]> wrote:
> On Sun, 2026-01-18 21:43:39 +0100, Jan-Benedict Glaw <[email protected]> wrote:
> >   I've uploaded a sample image here:
> > https://lug-owl.de/~jbglaw/upload/20260118213312_NetBSD-11.99.4-alpha.iso
> > 
> > Could anybody please simply try to mount it and access all the files
> > on it on a NetBSD-current system? At least for Alpha and VAX, this
> > ain't work. I'd *love* to discuss some hints. All I'd to is try to
> > bisect to quite older versions, but maybe somebody has an idea on this
> > issue. At least there don't seem to be relevant changes in the SCSI CD
> > driver "recently". The cd9660 driver had some changes, maybe I'd
> > revert them and give it a try?
> 
> I gave one of the CDs I tried to my wife to test them on a Windows
> systen, she's easily access all then content. So I am fairly confident
> that either the cd9660 fs driver or block access to CD drives ia
> broken.
> 
> As I get some time, I'll try with a mass-produced CD and in addition
> copy the whole block device.

Tested some more:

  * A Win98SE image would produce "Invalid argument"s when accessing
    files.
  * I copied the contents of the NetBSD Alpha install ISO and
    re-created an ISO image with the original content (though it
    probably won't boot any longer, but it should be enough to hold
    all the sets) on a Linux host using
    `mkisofs -o /tmp/NetBSD-10.99.14-alpha-rebuild.iso -R -v -v .`
    (This image is available at
    https://lug-owl.de/~jbglaw/upload/20260119210927_NetBSD-10.99.14-alpha-rebuild.iso)
    Accessing this new CD created with a different creator also
    produces "Invalid argument" errors.

--> The problem seems to be clearly with NetBSD's cd9660 driver or
some underlaying mechanism (block-level access to the SCSI CD
interface, ...)  Would be nice if somebody could test with a recent
NetBSD current version whether or not CD / cd9660 (with RR
extensions?) still work for them? Maybe with my above two images?

MfG, JBG

--
signature.asc (application/pgp-signature, 195 B)
-----BEGIN PGP SIGNATURE-----

iF0EABECAB0WIQQlDTvPcScNjKREqWEdvV51g5nhuwUCaW6QGQAKCRAdvV51g5nh
u7edAJ9Qo3WPQqcVwnMOJYW5sWUR2eJvUQCgh0N275mKAvJ7/w3DMKFW9TO3DI8=
=PxcR
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.