Subject: Re: read() EINVAL
To: Manuel Bouyer <bouyer@antioche.eu.org>
From: Patrick Welche <prlw1@newn.cam.ac.uk>
List: netbsd-help
Date: 06/02/2003 00:56:24
On Mon, Jun 02, 2003 at 12:39:09AM +0100, Patrick Welche wrote:
..
> I think that size is in the right units, so the next question is where the
> 30624 comes from (cd->params.disksize512)..
PS I am using scsictl cd0 debug 7, and don't see "Params loaded" anywhere
in /var/log/messages - the only statements printed from cdopen being
cdopen: dev=0xf03 (unit 0 (of 4), partition 3)
cdopen: scsipi_test_unit_ready, error=0
cdopen: scsipi_start, error=0
cdopen: scsipi_prevent, error=0
so I don't see how params.disksize512 could be set.. sure enough the
media was loaded, but shouldn't cd_size be called from somewhere?
Cheers,
Patrick