Discussion:
Nonreadable (?) DVD and strange console message
Thomas Mueller
2014-07-24 01:58:56 UTC
Permalink
I have a DVD I can't read, so far I've tried with FreeBSD and NetBSD, get the message on mounting:

CD mmc 16, mmc_cur 0x80, mmc_cap 0xd3b

I mount with

mount_cd9660 /dev/cd0a /cdrom (/dev/cd0 in FreeBSD), run "ls" and get nothing at all.

But running "mount" by itself shows the DVD mounted on /cdrom .

Running df shows

Filesystem 1K-blocks Used Avail %Cap Mounted on
/dev/dk15 13910362 4401974 8812870 33% /
ptyfs 1 1 0 100% /dev/pts
tmpfs 8357564 4 8357560 0% /var/shm
/dev/dk3 121863804 52260992 59853708 46% /BETA1
/dev/dk4 142191228 8022048 122793884 6% /home
/dev/cd0a 1832610 1832610 0 100% /cdrom

so there seems to be something on the DVD. This happens in a drive capable of reading other DVDs.

This is the Seagate Business Storage installation-recovery DVD.

I haven't connected the Seagate Business Storage NAS yet, thought I'd first get an overview of the DVD.

I assume this would be a data DVD rather than a music/movie DVD.

I read "man mount_cd9660" but saw no hint regarding the console message I saw.

Tom
Christian Koch
2014-07-24 04:40:38 UTC
Permalink
Hi Thomas,
Post by Thomas Mueller
I have a DVD I can't read, so far I've tried with FreeBSD and NetBSD, get the
CD mmc 16, mmc_cur 0x80, mmc_cap 0xd3b
I mount with
mount_cd9660 /dev/cd0a /cdrom (/dev/cd0 in FreeBSD), run "ls" and get nothing at all.
But running "mount" by itself shows the DVD mounted on /cdrom .
Running df shows
Filesystem 1K-blocks Used Avail %Cap Mounted on
/dev/dk15 13910362 4401974 8812870 33% /
ptyfs 1 1 0 100% /dev/pts
tmpfs 8357564 4 8357560 0% /var/shm
/dev/dk3 121863804 52260992 59853708 46% /BETA1
/dev/dk4 142191228 8022048 122793884 6% /home
/dev/cd0a 1832610 1832610 0 100% /cdrom
so there seems to be something on the DVD. This happens in a drive capable of
reading other DVDs.
This is the Seagate Business Storage installation-recovery DVD.
I haven't connected the Seagate Business Storage NAS yet, thought I'd first
get an overview of the DVD.
I assume this would be a data DVD rather than a music/movie DVD.
I read "man mount_cd9660" but saw no hint regarding the console message I saw.
Tom
Can you confirm that the DVD is readable in _any_ drive? Not just the ones with
your FreeBSD and NetBSD systems?

Are you sure you want /dev/cd0a instead of /dev/cd0d?

Can you confirm that the data on the DVD isn't garbage? Here's a slightly crazy
idea: use dd(1) to copy the data from /dev/rcd0a into a disk image, then mount
it with the help of vnconfig(8). You can also run file(1) on the disk image and
see what it thinks it is.

In my experience, Seagate often does silly stuff, like hiding things. For
example, my "fresh-out-of-the-box" 1TB hard disk from them actually had a bunch
of dotfiles and $hidden-Windows$ stuff on it. So it's worth running "ls -a" in
addition to "ls" as you mentioned. Seagate probably doesn't want you to consume
its data in "irregular" ways, like using NetBSD ;)

-Christian
Thomas Mueller
2014-07-24 07:10:37 UTC
Permalink
Post by Christian Koch
Can you confirm that the DVD is readable in _any_ drive? Not just the ones with
your FreeBSD and NetBSD systems?
Are you sure you want /dev/cd0a instead of /dev/cd0d?
Can you confirm that the data on the DVD isn't garbage? Here's a slightly crazy
idea: use dd(1) to copy the data from /dev/rcd0a into a disk image, then mount
it with the help of vnconfig(8). You can also run file(1) on the disk image and
see what it thinks it is.
In my experience, Seagate often does silly stuff, like hiding things. For
example, my "fresh-out-of-the-box" 1TB hard disk from them actually had a bunch
of dotfiles and $hidden-Windows$ stuff on it. So it's worth running "ls -a" in
addition to "ls" as you mentioned. Seagate probably doesn't want you to consume
its data in "irregular" ways, like using NetBSD ;)
-Christian

I still wonder what that message means:

CD mmc 16, mmc_cur 0x80, mmc_cap 0xd3b

I tried mounting /dev/cd0d instead of /dev/cd0a, same result.

ls -a showed

. ..

so something had to be there, albeit well-hidden.

I suspect the DVD might be defective, or maybe put together in the wrong way.

I intend to try the DVD with the System Rescue CD (Linux) 4.3.0 (the latest) and Haiku R1Alpha4. Maybe even FreeDOS, though that could fail to read a good CD or DVD.

I also have a Seagate 4 TB hard drive, NAS model but used as regular internal SATA hard drive.

So far so good; I partitioned with Rod Smith's gdisk, installed from FreeBSD ports, not available for NetBSD.

Tom
John D. Baker
2014-07-24 10:38:28 UTC
Permalink
Perhaps the DVD has a populated UDF filesystem but includes an empty
ISO9660 filesystem in parallel, just to throw a curve ball.

Try with 'mount -t udf ...' and see what happens?
--
|/"\ John D. Baker, KN5UKS NetBSD Darwin/MacOS X
|\ / jdbaker[snail]mylinuxisp[flyspeck]com OpenBSD FreeBSD
| X No HTML/proprietary data in email. BSD just sits there and works!
|/ \ GPGkeyID: D703 4A7E 479F 63F8 D3F4 BD99 9572 8F23 E4AD 1645
Thomas Mueller
2014-07-24 11:42:15 UTC
Permalink
Post by Christian Koch
Can you confirm that the DVD is readable in _any_ drive? Not just the ones with
your FreeBSD and NetBSD systems?
Are you sure you want /dev/cd0a instead of /dev/cd0d?
Can you confirm that the data on the DVD isn't garbage? Here's a slightly crazy
idea: use dd(1) to copy the data from /dev/rcd0a into a disk image, then mount
it with the help of vnconfig(8). You can also run file(1) on the disk image and
see what it thinks it is.
In my experience, Seagate often does silly stuff, like hiding things. For
example, my "fresh-out-of-the-box" 1TB hard disk from them actually had a bunch
of dotfiles and $hidden-Windows$ stuff on it. So it's worth running "ls -a" in
addition to "ls" as you mentioned. Seagate probably doesn't want you to consume
its data in "irregular" ways, like using NetBSD ;)
-Christian

I still wonder what that message means:

CD mmc 16, mmc_cur 0x80, mmc_cap 0xd3b

I tried mounting /dev/cd0d instead of /dev/cd0a, same result.

ls -a showed

. ..

so something had to be there, albeit well-hidden.

I suspect the DVD might be defective, or maybe put together in the wrong way.

I intend to try the DVD with the System Rescue CD (Linux) 4.3.0 (the latest) and Haiku R1Alpha4. Maybe even FreeDOS, though that could fail to read a good CD or DVD.

I also have a Seagate 4 TB hard drive, NAS model but used as regular internal SATA hard drive.

So far so good; I partitioned with Rod Smith's gdisk, installed from FreeBSD ports, not available for NetBSD.

Now to update, I tried to read the DVD with the System Rescue CD (Linux) 4.3.0 and Haiku R1Alpha4, and was successful with both.

It looks like NetBSD and FreeBSD developers have some work to do with iso9660/cd9660 file system support.

I intend to post this result on freebsd-***@freebsd.org emailing list.

John D. Baker suggests trying 'mount -t udf ..."

I tried that in FreeBSD, but no good.

Main directory of the DVD, in Linux (System Rescue CD) showed as

autorun.inf
Rally Driver Installation Instructions
Resources
Seagate EULA
Seagate NAS Backup
Seagate NAS Discovery
Seagate NAS Discovery Install Package
Seagate Privacy Policy
Setup.exe
Windows Driver

Tom

Loading...