Re: Packet writing problems

Peter Osterlund
2004-08-17T20:26:45Z

Peter Osterlund <petero2@telia.com> writes:

> Frediano Ziglio <freddyz77@tin.it> writes:
>
> > Il lun, 2004-08-16 alle 21:09, Peter Osterlund ha scritto:
> > ...
> > >
> > > The second problem is in the dvdrw-support patch in the -mm kernel.
> > > (This patch is also included in the patch you are using.)
> > >
> > > The problem is that some drives fail the "GET CONFIGURATION" command
> > > when asked to only return 8 bytes. This happens for example on my
> > > drive, which is identified as:
> > >
> > > hdc: HL-DT-ST DVD+RW GCA-4040N, ATAPI CD/DVD-ROM drive
> > >
> > > Since the cdrom_mmc3_profile() function already allocates 32 bytes for
> > > the reply buffer, this patch is enough to make the command succeed on
> > > my drive.
> > >
> >
> > I'm forgetting...
> >
> > mounting devices it reports that disk was CD-RW and speed was 15
> > (DVD-RW) and 31 (DVD+RW).
>
> That shouldn't cause any real problems, but since it's quite
> confusing, here is a patch to fix it. With this change, both DVD+RW
> and DVD-RW media is correctly identified in the kernel log, and DVD
> speeds are printed in kB/s.

I forgot to say:

Signed-off-by: Peter Osterlund <petero2@telia.com>

--
Peter Osterlund - petero2@telia.com