Subject: Re: kern/36716: cd(4) problem with transfers exceeding 65535 bytes
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
List: netbsd-bugs
Date: 08/01/2007 12:30:02
The following reply was made to PR kern/36716; it has been noted by GNATS.

From: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
To: gnats-bugs@NetBSD.org
Cc: kern-bug-people@NetBSD.org, gnats-admin@NetBSD.org,
	netbsd-bugs@NetBSD.org, tsutsui@ceres.dti.ne.jp
Subject: Re: kern/36716: cd(4) problem with transfers exceeding 65535 bytes
Date: Wed, 1 Aug 2007 21:26:54 +0900

 rumble@ephemeral.org wrote:
 
 > >How-To-Repeat:
 > It should be easily repeatable with an atapi cdrom when used
 > with a disklabel where d_secsize != 2048.
 
 I saw the similar problem on sgimips with CD-ROM which had sgivolhdr:
 http://mail-index.netbsd.org/port-sgimips/2005/09/12/0000.html
 http://mail-index.netbsd.org/port-sgimips/2005/09/14/0000.html
 
 It seems the proper workaround to fix readdisklabel(9) to
 always return d_secsize = 2048 for CDs, but I'm not sure.
 ---
 Izumi Tsutsui