lkml.org 
[lkml]   [1999]   [Apr]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Sanyo CDROM driver broken in at least 2.2.3 and 2.2.5. Actual bug may be in other part of the kernel
Date
> In both systems the driver was loaded first the isp16 enabling driver then
> the sjcd driver; both as modules. The drivers load ok and can even be used
> to eject a CD within the CDROM. However the first time I try to mount a

The sjcd driver doesn't set up the sector size tables in the kernel. The
result of that is the mess you see.

Try adding

static int blksize = 2048;
static int secsize = 2048;

hardsect_size[MAJOR_NR]=&secsize;
blksize_size[M<AJOR_NR]=&blksize

about where it registers the device.


Alan


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:51    [W:0.030 / U:0.676 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site