More.  I added a kernel option to my lilo.conf, eliminating the append
option.  This solved the immediate problem -- access to the CDROMS.
However, now I must figure out how to set up scsi emulation under this
kernel.

John
On 04/29/01, 11:24:34AM -0400, John P. Verel wrote:
> Just upgraded to RH7.1 from 7.0 and am having a problem accessing my
> CDROMS.  All had been well under 7.0,
> 
> When I execute mount /mnt/cdrom (or cdrom1, my burner, I get this
> message:
> 
> wrong fs type, bad option, bad superblock on /dev/cdrom,
>        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?)
> 
> My impression, based on what follows, is that the 2.4.2 kernel directly
> implements scsi emulation for ide devices, but perhaps a lister will
> know this for sure?
> 
> I had previously modified my lilo.conf and modules.conf to make cdrecord
> work properly.  The entries which follow reflect this.
> 
> Herewith the particulars:  (my appologies for the length)
> 
> Kernel 2.4.2-2
> 
> My lilo.conf:
> 
> boot=/dev/hdb5
> map=/boot/map
> install=/boot/boot.b
> prompt
> timeout=50
> default=linux
> message=/boot/message
> linear
>  
> image=/boot/vmlinuz-2.4.2-2
>         label=linux
>         read-only
>         root=/dev/hda6
>         append="hdd=ide-scsi hdc=ide-scsi"
>  
> other=/dev/hda1
>         label=Windows98
> 
> My fstab:
> 
> /dev/hda6 / ext2    defaults 1 1
> /dev/hdb5 /boot     ext2    defaults 1 2
> /dev/hda7 /home     ext2    defaults 1 2
> dev/hda5  swap      swap    defaults 0 0
> /dev/fd0  /mnt/floppy  ext2 owner,exec,dev,suid,rw,noauto 0 0
> none      /proc     proc    defaults 0 0
> none      /dev/pts  devpts  gid=5,mode=620 0 0
> /dev/hda1 /mnt/vfat vfat user,owner,exec,dev,suid,rw,conv=auto,uid=500,gid=500,auto 
>1 2
> # Next line added 6/24 to automount the Win D Drive
> /dev/hdb1  /mnt/ddrive  vfat 
>user,owner,exec,dev,suid,rw,conv=auto,uid=500,gid=500,auto 1 2
> # 4/22 changed cdrom1 to match cdrom exactly and
> # changed vfat fs passnoo from 1 to 2, per fstab man page.
> # 5/18 Changed vfat permission from w to rw.  This was intended to fix
> # the write prob with mutt.
> /SWAP   swap    swap    defaults 0 0
> /dev/cdrom  /mnt/cdrom  iso9660 owner,exec,dev,suid,noauto,ro,kudzu 0 0
> /dev/cdrom1 /mnt/cdrom1 iso9660 owner,exec,dev,suid,noauto,ro,kudzu 0 0
> 
> My modules.conf:
> 
> alias eth0 3c59x
> alias parport_lowlevel parport_pc
> # added 2/19  jpv
> alias sound-slot-0 es1371
> # added next lines 4/16/00 jpv
> # per CD-Writing HOWTO
> install ide-scsi
> alias scd0 sr_mod                       # load sr_mod upon access of
> scd0
> alias scd1 sr_mod                       # load sr_mod upon access of
> scd1
> pre-install sg       modprobe ide-scsi  # before sg, load ide-scsi
> pre-install sr_mod   modprobe ide-scsi  # before sr_mod, load ide-scsi
> 
> Some messages from the kernel message log:
> 
> Apparently in response to mount /mnt/cdrom:
> 
> Apr 29 10:57:08 CV150607-A kernel: ide-scsi: hdc: unsupported command in
> request queue (0)
> Apr 29 10:57:08 CV150607-A kernel: end_request: I/O error, dev 16:00
> (hdc), sector 64
> Apr 29 10:57:08 CV150607-A kernel: isofs_read_super: bread failed,
> dev=16:00, iso_blknum=16, block=32
> Apr 29 10:57:42 CV150607-A kernel: ide-scsi: hdd: unsupported command in
> request queue (0)
> Apr 29 10:57:42 CV150607-A kernel: end_request: I/O error, dev 16:40
> (hdd), sector 64
> Apr 29 10:57:42 CV150607-A kernel: isofs_read_super: bread failed,
> dev=16:40, iso_blknum=16, block=32
> 
> At boot time, initializing the CDROMs:
> 
> Apr 29 10:51:57 CV150607-A kernel: Kernel command line: auto
> BOOT_IMAGE=linux ro root=306 BOOT_FILE=/boot/vmlinuz-2.4.2-2
> hdd=ide-scsi hdc=ide-scsi
> Apr 29 10:51:57 CV150607-A kernel: ide_setup: hdd=ide-scsi
> Apr 29 10:51:57 CV150607-A kernel: ide_setup: hdc=ide-scsi
> Apr 29 10:51:58 CV150607-A kernel: hdc: CRD-8480C, ATAPI CD/DVD-ROM
> drive
> Apr 29 10:51:58 CV150607-A kernel: hdd: CD-RW CRX100E, ATAPI CD/DVD-ROM
> drive
> 
> And a bit later in messages:
> 
> Apr 29 10:52:09 CV150607-A kernel: scsi0 : SCSI host adapter emulation
> for IDE ATAPI devices
> Apr 29 10:52:09 CV150607-A kernel:   Vendor: LG        Model: CD-ROM
> CRD-8480C  Rev: 1.04
> Apr 29 10:52:09 CV150607-A kernel:   Type:   CD-ROM
> ANSI SCSI revision: 02
> Apr 29 10:52:09 CV150607-A kernel:   Vendor: SONY      Model: CD-RW
> CRX100E    Rev: 1.0m
> Apr 29 10:52:09 CV150607-A kernel:   Type:   CD-ROM
> ANSI SCSI revision: 02
> 
> Thanks very much to any and all on this.
> -- 
> John P. Verel
> Norwalk, CT
> 
> 
> 
> _______________________________________________
> Redhat-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-list

-- 
John P. Verel
Norwalk, CT



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to