Subject: Re: kern/34202
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: None <khym@azeotrope.org>
List: netbsd-bugs
Date: 11/29/2006 21:50:03
The following reply was made to PR kern/34202; it has been noted by GNATS.
From: khym@azeotrope.org
To: matthew green <mrg@eterna.com.au>
Cc: gnats-bugs@NetBSD.org, kern-bug-people@netbsd.org,
gnats-admin@netbsd.org, netbsd-bugs@netbsd.org
Subject: Re: kern/34202
Date: Wed, 29 Nov 2006 15:46:01 -0600
On Thu, Nov 30, 2006 at 08:03:55AM +1100, matthew green wrote:
>
> isn't this fixed by cd.c 1.249?
Not for me... the diff between 1.248 and 1.249 is:
error = scsipi_command(periph,
(void *) &di_cmd, sizeof(di_cmd),
- (void *) &di, sizeof(di),
+ (void *) &di, READ_DISCINFO_BIGSIZE,
CDRETRIES, 30000, NULL, flags);
if (error == 0) {
msb = di.last_track_last_session_msb;
and the checkin comment says, "Even though SCSI adapters
*should* accept odd lengths, the Sun U10 (sparc64's) crashes in
bus_space_read_multi_stream_2(). That explains the crash."
So this has to do with an odd length being passed in, not the alignment
of the structure. On my alpha, the READ_DISCINFO succeeds; it's the
following READ_TRACKINFO that crashes.