Port-amiga archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Problems using DVD-RAM on 1.4.1
On 1 Nov 99 23:21:55 +0000 George Harvey wrote:
> I have an Amiga 2000 with a Blizzard 2060 card running NetBSD 1.4.1.
> I am trying to use a Panasonic LF-D101 DVD-RAM drive as a backup
> device but I'm having problems creating and mounting a filesystem.
> I have partitioned the media using HDToolBox and created a BSD
> partition as normal (see disklabel output at the end of this message).
>
> The first problem is that when NetBSD creates the disklabel from the
> RDB, it appears to always use a fragment size of 1024 and a block size
> of 8192. If I try and newfs the disk, I get an error:
> "fragment size 1024 is too small, minimum is 2048"
> I can see that the fragment size probably shouldn't be smaller than
> the sector size (2048 bytes) so I put a small hack into
> readdisklabel() in amiga/disksubr.c to change the sizes to 2048 and
> 16384. I could then create a filesystem with newfs and also check it
> with fsck. But, when I try and mount it, mount complains that I have
> an "incorrect super block". So my second problem is: if fsck says the
> filesystem exists and is clean, why can't I mount it?
>
[ snip ]
After further research, I found that PR-7668 describes my symptoms
exactly. I have now applied the suggested patches and the problem is
solved.
While searching through the PR database, I also found PR-7457 which
offers a way to handle a 'feature' of the LF-D101 drive which is that
it advertises itself as a type 5 SCSI device (CDROM) regardless of
which media is loaded. Although intended for non-ISO9660 cd-roms,
initial testing suggests that the patches in 7457 also work well for
DVD-RAM.
--
George Harvey
fr30%dial.pipex.com@localhost
Home |
Main Index |
Thread Index |
Old Index