Re: Problems with sbpcd

Dale Scheetz (dwarf@polaris.net)
Tue, 19 Mar 1996 20:25:48 -0500 (EST)


On Tue, 19 Mar 1996, Alex Gitelman wrote:

> Hi,
>
> Yeasterday I was upset by the fact that since 3.72 my CD-ROM doesn't
> work. Light flashes for a long time (about 1 minute) and end up with
> a message - bad superblock or wrong fs type. Attempt to use cat /dev/sbpcd
> leads to i/o error.
>
> I recompiled kernel with older driver from 3.64 and it didn't work.
> May it's a problem with filesystem?
>
If it's the same problem I had, it has to do with sector size. In module
sr.c change the line:

if(scsi_CDs[i].sector_size == 2340) scsi_CDs[i].sector_size=2048;

to:

if(scsi_CDs[i].sector_size > 2048) scsi_CDs[i].sector_size=2048;

rebuild and install the new module and it should mount fine.

Later,

Dwarf

------------ --------------

aka Dale Scheetz Phone: 1 (904) 877-0257
Flexible Software Fax: NONE
Black Creek Critters e-mail: dwarf@polaris.net

------------ If you don't see what you want, just ask --------------