[2741] in linux-scsi channel archive
CD-Rom mounting oddities
daemon@ATHENA.MIT.EDU (Chris Chiappa)
Mon Nov 3 04:28:10 1997
Date: Mon, 3 Nov 1997 04:26:16 -0500
From: Chris Chiappa <griffon+@cmu.edu>
To: linux-scsi@vger.rutgers.edu
Reply-To: griffon+@cmu.edu
Often, when mounting a CD-Rom on my SCSI CD-Rom drive I, rather than getting
a proper mount, get something like this:
-r-xr-xr-x 1 root root 0 Dec 31 1969 8*
Note that 8 is the mount point (ie a directory), yet after mounting it shows
up as an executable file. The messages logged during the mount operation
show nothing out of the usual. Usually unmounting, ejecting, and remounting
solves this although occasionally it takes two or three tries. The drive
works fine once it has been successfully mounted. Note that the only
CD-Roms I generally use are CD-R's. I don't know if this has any relevance.
This has occured to me both on 2.0.30 and 2.0.31. The drive is a Toshiba
XM-3801TA SCSI drive attached to a generic NCR 810a based SCSI board. Also
on the the chain are a Seagate Barracuda (ST32550N) and a Nakamichi MBR-7 7
disk changer. Also in the machine is an NCR 875 with a Quantum IMP 2100S
drive and a Philips(IMS) CDD-2000 CD recorder. This happens consistenty
with the 2.5* and 2.6* ncr53c8xx "FreeBSD-port" drivers. The SCSI buses are
set to operate at 10MB/sAny ideas? I've attached the output of the various
proc files at the end.
As a side note, the Barracuda(firmware revision 0022) is on the 810 because
when attached to the 875 I get bus timeouts/crashes similar to those
described by someone else recently on this list(aborting command due to
timeout messages a few times followed by a complete scsi bus reset etc), but
my problems weren't solved by an upgrade to the 2.6 driver. I've tried
multiple cables and have disabled command qeueing but not disconnection.
However, while I had at one point another Barracuda which worked fine on the
875, I'm not 100% confident that there isn't some weird jumpering problem
somewhere on my chain so...(I need to go read up to learn about the
different types of termination etc...the drives tend to have a jumpers for
things which mean nothing to me. :) ).
/proc/scsi/scsi:
Attached devices:
Host: scsi0 Channel: 00 Id: 02 Lun: 00
Vendor: QUANTUM Model: EMPIRE_2100S Rev: 1200
Type: Direct-Access ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 06 Lun: 00
Vendor: IMS Model: CDD2000/00 Rev: 1.26
Type: CD-ROM ANSI SCSI revision: 02
Host: scsi1 Channel: 00 Id: 01 Lun: 00
Vendor: NRC Model: MBR-7 Rev: 110
Type: CD-ROM ANSI SCSI revision: 02
Host: scsi1 Channel: 00 Id: 01 Lun: 01
Vendor: NRC Model: MBR-7 Rev: 110
Type: CD-ROM ANSI SCSI revision: 02
Host: scsi1 Channel: 00 Id: 01 Lun: 02
Vendor: NRC Model: MBR-7 Rev: 110
Type: CD-ROM ANSI SCSI revision: 02
Host: scsi1 Channel: 00 Id: 01 Lun: 03
Vendor: NRC Model: MBR-7 Rev: 110
Type: CD-ROM ANSI SCSI revision: 02
Host: scsi1 Channel: 00 Id: 01 Lun: 04
Vendor: NRC Model: MBR-7 Rev: 110
Type: CD-ROM ANSI SCSI revision: 02
Host: scsi1 Channel: 00 Id: 01 Lun: 05
Vendor: NRC Model: MBR-7 Rev: 110
Type: CD-ROM ANSI SCSI revision: 02
Host: scsi1 Channel: 00 Id: 01 Lun: 06
Vendor: NRC Model: MBR-7 Rev: 110
Type: CD-ROM ANSI SCSI revision: 02
Host: scsi1 Channel: 00 Id: 02 Lun: 00
Vendor: TOSHIBA Model: CD-ROM XM-3801TA Rev: 0207
Type: CD-ROM ANSI SCSI revision: 02
Host: scsi1 Channel: 00 Id: 04 Lun: 00
Vendor: SEAGATE Model: ST32550N Rev: 0022
Type: Direct-Access ANSI SCSI revision: 02
/proc/scsi/ncr53c8xx/0:
General information:
Chip NCR53C875, device id 0xf, revision id 0x3
IO port address 0xe000, IRQ number 12
Using memory mapped IO at virtual address 0x4805000
Synchronous period factor 12, max commands per lun 4
Profiling information:
num_trans = 110279
num_kbytes = 1083235
num_disc = 186901
num_break = 2832
num_int = 2850
num_fly = 110279
ms_setup = 52030
ms_data = 3717860
ms_disc = 583990
ms_post = 2470
/proc/scsi/ncr53c8xx/1
General information:
Chip NCR53C810a, device id 0x1, revision id 0x11
IO port address 0xd400, IRQ number 11
Using memory mapped IO at virtual address 0x4809000
Synchronous period factor 25, max commands per lun 4
Profiling information:
num_trans = 108538
num_kbytes = 1341397
num_disc = 134048
num_break = 5524
num_int = 5637
num_fly = 108538
ms_setup = 20470
ms_data = 521380
ms_disc = 1143930
ms_post = 3820
/proc/pci:
PCI devices found:
Bus 0, device 12, function 0:
SCSI storage controller: NCR 53c810 (rev 17).
Medium devsel. IRQ 11. Master Capable. Latency=64. Min Gnt=8.Max Lat=64.
I/O at 0xd400.
Non-prefetchable 32 bit memory at 0xe2800000.
Bus 0, device 11, function 0:
Ethernet controller: 3Com 3C905 100bTX (rev 0).
Medium devsel. IRQ 10. Master Capable. Latency=248. Min Gnt=3.Max Lat=8.
I/O at 0xd800.
Bus 0, device 10, function 0:
SCSI storage controller: NCR 53c875 (rev 3).
Medium devsel. IRQ 12. Master Capable. Latency=144. Min Gnt=17.Max Lat=64.
I/O at 0xe000.
Non-prefetchable 32 bit memory at 0xe3800000.
Non-prefetchable 32 bit memory at 0xe3000000.
Bus 0, device 9, function 0:
VGA compatible controller: S3 Inc. Vision 968 (rev 0).
Medium devsel. IRQ 9.
Bus 0, device 7, function 1:
IDE interface: Intel 82371SB Natoma/Triton II PIIX3 (rev 0).
Medium devsel. Fast back-to-back capable. Master Capable. Latency=32.
I/O at 0xe800.
Bus 0, device 7, function 0:
ISA bridge: Intel 82371SB Natoma/Triton II PIIX3 (rev 1).
Medium devsel. Fast back-to-back capable. Master Capable. No bursts.
Bus 0, device 0, function 0:
Host bridge: Intel 82439HX Triton II (rev 3).
Medium devsel. Master Capable. Latency=32.
grep -v ^\# < .config :
CONFIG_EXPERIMENTAL=y
CONFIG_MODULES=y
CONFIG_MODVERSIONS=y
CONFIG_KERNELD=y
CONFIG_NET=y
CONFIG_PCI=y
CONFIG_PCI_OPTIMIZE=y
CONFIG_SYSVIPC=y
CONFIG_BINFMT_AOUT=m
CONFIG_BINFMT_ELF=y
CONFIG_BINFMT_JAVA=m
CONFIG_KERNEL_ELF=y
CONFIG_M586=y
CONFIG_BLK_DEV_FD=m
CONFIG_BLK_DEV_LOOP=m
CONFIG_BLK_DEV_MD=y
CONFIG_MD_LINEAR=m
CONFIG_MD_STRIPED=m
CONFIG_BLK_DEV_RAM=m
CONFIG_BLK_DEV_XD=m
CONFIG_FIREWALL=y
CONFIG_NET_ALIAS=y
CONFIG_INET=y
CONFIG_IP_FORWARD=y
CONFIG_IP_MULTICAST=y
CONFIG_SYN_COOKIES=y
CONFIG_RST_COOKIES=y
CONFIG_IP_FIREWALL=y
CONFIG_IP_FIREWALL_VERBOSE=y
CONFIG_IP_MASQUERADE=y
CONFIG_IP_MASQUERADE_IPAUTOFW=y
CONFIG_IP_MASQUERADE_ICMP=y
CONFIG_IP_TRANSPARENT_PROXY=y
CONFIG_IP_ALWAYS_DEFRAG=y
CONFIG_IP_ACCT=y
CONFIG_NET_IPIP=m
CONFIG_IP_MROUTE=y
CONFIG_IP_ALIAS=m
CONFIG_IP_NOSR=y
CONFIG_SKB_LARGE=y
CONFIG_IPX=m
CONFIG_ATALK=m
CONFIG_SCSI=y
CONFIG_BLK_DEV_SD=y
CONFIG_CHR_DEV_ST=m
CONFIG_BLK_DEV_SR=m
CONFIG_CHR_DEV_SG=m
CONFIG_SCSI_MULTI_LUN=y
CONFIG_SCSI_CONSTANTS=y
CONFIG_SCSI_NCR53C8XX=y
CONFIG_SCSI_NCR53C8XX_NVRAM_DETECT=y
CONFIG_SCSI_NCR53C8XX_TAGGED_QUEUE=y
CONFIG_SCSI_NCR53C8XX_MAX_TAGS=4
CONFIG_SCSI_NCR53C8XX_SYNC=5
CONFIG_SCSI_NCR53C8XX_SYMBIOS_COMPAT=y
CONFIG_SCSI_PPA=m
CONFIG_NETDEVICES=y
CONFIG_DUMMY=m
CONFIG_EQUALIZER=m
CONFIG_PLIP=m
CONFIG_PPP=m
CONFIG_SLIP=m
CONFIG_SLIP_COMPRESSED=y
CONFIG_SLIP_MODE_SLIP6=y
CONFIG_NET_ETHERNET=y
CONFIG_NET_VENDOR_3COM=y
CONFIG_EL1=m
CONFIG_EL3=m
CONFIG_VORTEX=m
CONFIG_CD_NO_IDESCSI=y
CONFIG_MCDX=m
CONFIG_QUOTA=y
CONFIG_MINIX_FS=m
CONFIG_EXT_FS=m
CONFIG_EXT2_FS=y
CONFIG_XIA_FS=m
CONFIG_FAT_FS=m
CONFIG_MSDOS_FS=m
CONFIG_VFAT_FS=m
CONFIG_UMSDOS_FS=m
CONFIG_PROC_FS=y
CONFIG_NFS_FS=m
CONFIG_SMB_FS=m
CONFIG_NCP_FS=m
CONFIG_ISO9660_FS=m
CONFIG_HPFS_FS=m
CONFIG_SYSV_FS=m
CONFIG_AUTOFS_FS=m
CONFIG_AFFS_FS=m
CONFIG_AMIGA_PARTITION=y
CONFIG_UFS_FS=m
CONFIG_BSD_DISKLABEL=y
CONFIG_SERIAL=m
CONFIG_PRINTER=m
CONFIG_MOUSE=y
CONFIG_PSMOUSE=m
CONFIG_UMISC=y
CONFIG_FTAPE=m
CONFIG_RTC=y
CONFIG_SOUND=m
--
_ _ _
|s|Email:griffon+@cmu.N0-SPAM.edu |n| http://www.snurgle.org/~griffon |u|
|r| Finger => PGP etc /gle\ Unspoilt by progress |!|