ide-scsi seems to inhibit mounting CD-ROMs

From: Lars Steinke (steinke@hpcip00.physik.uni-freiburg.de)
Date: Fri Sep 29 2000 - 04:41:20 EST


Hello all,

this problem seems to have been discussed on linux-kernel in January but
with no apparent solution:

When using ide-scsi to access a CDRW writer, the recording process works
but I am not able to mount any CD-ROM media in that drive for reading.

support@support:~$ sudo mount /dev/scd0 /mnt/cdrw
mount: you must specify the filesystem type
support@support:~$ sudo mount -t iso9660 /dev/scd0 /mnt/cdrw
mount: block device /dev/scd0 is write-protected, mounting read-only
mount: wrong fs type, bad option, bad superblock on /dev/scd0,
       or too many mounted file systems

Mounting the same CD-ROM in the CD-ROM drive works just fine using
mount /dev/hdb /mnt/cd. Judging from syslog the problem is with
with ide-scsi, not the hardware...

syslog:
Sep 29 09:31:30 support kernel: VFS: Disk change detected on device
sr(11,0)
Sep 29 09:31:31 support kernel: ide-scsi: The scsi wants to send us more
data than expected - discarding data
Sep 29 09:31:31 support last message repeated 83 times
Sep 29 09:31:31 support kernel: Unable to identify CD-ROM format.

support@support:~$ cat /proc/scsi/ide-scsi/0
SCSI host adapter emulation for IDE ATAPI devices

support@support:~$ cat /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
  Vendor: PLEXTOR Model: CD-R PX-W1210A Rev: 1.01
  Type: CD-ROM ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 00 Lun: 01
  Vendor: PLEXTOR Model: CD-R PX-W1210A Rev: 1.01
  Type: CD-ROM ANSI SCSI revision: 02
... up to LUN 07

support@support:~$ sudo cat /proc/ide/hdc/model
PLEXTOR CD-R PX-W1210A

support@support:~$ sudo cat /proc/ide/hdc/driver
ide-scsi version 0.9

support@support:~$ sudo cdrecord -scanbus
Cdrecord 1.8 (i686-pc-linux-gnu) Copyright (C) 1995-2000 Jörg Schilling
Using libscg version 'schily-0.1'
scsibus0:
        0,0,0 0) 'PLEXTOR ' 'CD-R PX-W1210A' '1.01' Removable
        CD-ROM
        0,1,0 1) *
        0,2,0 2) *
        0,3,0 3) *
        0,4,0 4) *
        0,5,0 5) *
        0,6,0 6) *
        0,7,0 7) *

support@support:~$ sudo lsmod
Module Size Used by
isofs 17488 1 (autoclean)
sg 11776 0
sr_mod 15100 0
ide-scsi 7156 0
scsi_mod 50384 3 [sg sr_mod ide-scsi]
nfsd 142948 8 (autoclean)
lockd 30696 1 (autoclean) [nfsd]
sunrpc 52292 1 (autoclean) [nfsd lockd]

support@support:~$ uname -a
Linux support 2.2.17 #4 Thu Sep 28 16:41:24 CEST 2000 i686 unknown

support@support:~$ sudo lspci
00:00.0 Host bridge: Intel Corporation 440BX/ZX - 82443BX/ZX Host bridge
(rev 03)
00:01.0 PCI bridge: Intel Corporation 440BX/ZX - 82443BX/ZX AGP bridge
(rev 03)
00:04.0 ISA bridge: Intel Corporation 82371AB PIIX4 ISA (rev 02)
00:04.1 IDE interface: Intel Corporation 82371AB PIIX4 IDE (rev 01)
00:04.2 USB Controller: Intel Corporation 82371AB PIIX4 USB (rev 01)
00:04.3 Bridge: Intel Corporation 82371AB PIIX4 ACPI (rev 02)
00:09.0 Multimedia audio controller: Ensoniq ES1371 [AudioPCI-97] (rev
06)
00:0b.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RT8139 (rev
10)
01:00.0 VGA compatible controller: ATI Technologies Inc 3D Rage Pro AGP
1X/2X (rev 5c)

lilo.conf:
# Kernel command line options that apply to all installed images go
# here. See: The `boot-prompt-HOWO' and `kernel-parameters.txt' in
# the Linux kernel `Documentation' directory.
#
append="hdc=ide-scsi"

Let me know if any additional information is needed for analysis of the
problem...

Regards,

-- 
       /(__  __|\          Lars Steinke, Physicist, Albert-    
      (    \/  __)_        Ludwigs-University, Freiburg, DE
       )   (_____  /       For information see www.lsweb.de
      /___________/        Debian GNU/Linux: www.debian.org


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



This archive was generated by hypermail 2b29 : Sat Sep 30 2000 - 21:00:24 EST