Re: ide-scsi bug, or..?

Jens Axboe (axboe@suse.de)
Fri, 2 Nov 2001 09:51:15 +0100


On Fri, Nov 02 2001, Dan Podeanu wrote:
> > You are trying to mount /dev/hdc and that is handled by ide-scsi. Mount
> > /dev/sr0 instead. For that you must also remember to configure SCSI
> > CD-ROM support, which you haven't done:
> >
> > # CONFIG_BLK_DEV_SR is not set
> >
>
> That config was after several attempts of getting a functional kernel in
> that aspect.

A failed attempt :-)

> With CONFIG_BLK_DEV_SR=y, the same result. Also note that mount/cat/etc.
> on hdc _should_ work, but it fails both there and on /dev/sg0, etc.

No it should not, not if you are passing control to ide-scsi. /dev/sg0
is the sg char device, you cannot mount that. Look at your messages:

ide-scsi: hdc: unsupported command in request queue (0)
end_request: I/O error, dev 16:01 (hdc), sector 64
isofs_read_super: bread failed, dev=16:01, iso_blknum=16, block=32
mount: wrong fs type, bad option, bad superblock on /dev/hdc1,

You are mounting major 16h (22, hdc), not /dev/scd0. This is a user
error, not a bug.

-- 
Jens Axboe

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