2001-02-04 12:31:58

by huma

[permalink] [raw]
Subject: Problems with ide-scsi in 2.4.1


Hi all,

System: kernel 2.4.1 util-linux-2.10r cdrecord-1.9 modutils-2.3.21

I have a cd writer and a cdrom in the same pc. When the kernel has SCSI
support compiled as a module, cdrecord doesn't find anything (hdb=ide-scsi
is passed with lilo). When is compiled with built-in scsi support, the
writer is detected, but here comes the strange problem: if i try to mount
any disc in the cdrom, mount spits that:

isofs_read_super: bread failed, dev=16:40, iso_blknum=16, block=32
mount: wrong fs type, bad option, bad superblock on /dev/dvd,
or too many mounted file systems
(could this be the IDE device where you in fact use
ide-scsi so that sr0 or sda or so is needed?)

Then if I unload the ide-scsi.o mod, mount works fine. I don't know why
ide-scsi module is detecting my ide cdrom as a scsi device if the only
parameter passed to the kernel is "hdb=ide-scsi" (cd writer).
And why doesn't work cdrecord when scsi support is loaded as a module?

None of these problems happens when using 2.2.18. Both drives work fine
together, with all the scsi modules and stuff.



David G?mez

"The question of whether computers can think is just like the question of
whether submarines can swim." -- Edsger W. Dijkstra





2001-02-04 14:03:40

by Jeff Chua

[permalink] [raw]
Subject: Re: Problems with ide-scsi in 2.4.1

try to add the following to /etc/modules.conf ...

pre-install sg modprobe -k sr_mod
pre-install sr_mod modprobe -k ide-scsi
pre-install ide-scsi modprobe -k ide-cd
pre-install ide-cd modprobe -k ide-probe-mod
options ide-cd ignore="hdc"


... that's assuming you want to use hdc as the ide cdrw


Jeff


On Sun, 4 Feb 2001 [email protected] wrote:

>
> Hi all,
>
> System: kernel 2.4.1 util-linux-2.10r cdrecord-1.9 modutils-2.3.21
>
> I have a cd writer and a cdrom in the same pc. When the kernel has SCSI
> support compiled as a module, cdrecord doesn't find anything (hdb=ide-scsi
> is passed with lilo). When is compiled with built-in scsi support, the
> writer is detected, but here comes the strange problem: if i try to mount
> any disc in the cdrom, mount spits that:
>
> isofs_read_super: bread failed, dev=16:40, iso_blknum=16, block=32
> mount: wrong fs type, bad option, bad superblock on /dev/dvd,
> or too many mounted file systems
> (could this be the IDE device where you in fact use
> ide-scsi so that sr0 or sda or so is needed?)
>
> Then if I unload the ide-scsi.o mod, mount works fine. I don't know why
> ide-scsi module is detecting my ide cdrom as a scsi device if the only
> parameter passed to the kernel is "hdb=ide-scsi" (cd writer).
> And why doesn't work cdrecord when scsi support is loaded as a module?
>
> None of these problems happens when using 2.2.18. Both drives work fine
> together, with all the scsi modules and stuff.
>
>
>
> David G?mez
>
> "The question of whether computers can think is just like the question of
> whether submarines can swim." -- Edsger W. Dijkstra
>
>
>
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to [email protected]
> Please read the FAQ at http://www.tux.org/lkml/
>