Can't mount my CD-ROM

Can't mount my CD-ROM

Post by James Klicm » Mon, 21 Nov 1994 14:31:15



I just installed a new NEC-CDR510 cdrom and am unable to mount it. My
configuration is:

kernel 1.1.64
GCC 2.6.1

I compiled with the SCSI driver options (all of them) and with all of
the ADAPTEC drivers. I also compiled with the iso9660 filesystem format
support. This is what it looks like when I boot:

LILO boot: Linux aha152x=0x340,11,7,1

[...]

aha152x: processing commandline: ok
detection complete
aha152x: vital data: PORTBASE=0x340, IRQ=11, SCSI ID=7, reconnect=enabled, parity=enabled
scsi0 : Adaptec 152x SCSI driver; $Revision: 1.4 $
scsi : 1 hosts.
  Vendor: N C       Model: C - O   R V : 0   Rev: 2 5
  Type:   CD-ROM                             ANSI SCSI revision: 02
Detected scsi CD-ROM sr0 at scsi0, id 0, lun 0
scsi : detected 1 SCSI cdrom total.
Scd sectorsize = 2048 bytes

[...]

I try to mount the cdrom:

# mount -r -t iso9660 /dev/sr0 /cdrom
mount: wrong fs type, /dev/sr0 already mounted, /cdrom busy, or other error

Here are some /var/adm/messages entries.

Unable to identify CD-ROM format.
VFS: Can't find an ext2 filesystem on dev 11/0.
[MS-DOS FS Rel. 12,FAT 0,check=n,conv=b,uid=0,gid=0,umask=022,bmap]
[me=0x0,cs=0,#f=0,fs=0,fl=0,ds=0,de=0,data=0,se=0,ts=0,ls=0]
VFS: Can't find a valid MSDOS filesystem on dev 0x0b00.
Unable to identify CD-ROM format.
HPFS: hpfs_read_super: Not HPFS

I had a Chinon-CDS535 and found out that it had a problem with lun requests.
After recompiling my kernel with NO_MULTI_LUN in scsi.h I was able to at least
boot. I had the exact same problems with that cdrom too.

I did notice that my SB16 has an adaptec aic-6360L SCSI controller, I've seen
the SB16 referenced as an AHA152x in all of the Linux docs I've read.

Any help is really appreciated.

- James
--
// James Klicman                         CCnet Communications 510.988.0680

// http://www.ccnet.com

 
 
 

Can't mount my CD-ROM

Post by Mario Rosar » Thu, 24 Nov 1994 03:18:33


: I try to mount the cdrom:

: # mount -r -t iso9660 /dev/sr0 /cdrom
: mount: wrong fs type, /dev/sr0 already mounted, /cdrom busy, or other error

Try it with "mount -o defaults,ro -t iso9660 /dev/sr0 /cdrom"

mario

: Any help is really appreciated.

: - James
: --
: // James Klicman                         CCnet Communications 510.988.0680

: // http://www.ccnet.com

 
 
 

Can't mount my CD-ROM

Post by ramk » Fri, 25 Nov 1994 04:46:17



>LILO boot: Linux aha152x=0x340,11,7,1
>[...]
>aha152x: processing commandline: ok
>detection complete
>aha152x: vital data: PORTBASE=0x340, IRQ=11, SCSI ID=7, reconnect=enabled, parity=enabled
>scsi0 : Adaptec 152x SCSI driver; $Revision: 1.4 $
>scsi : 1 hosts.
>  Vendor: N C       Model: C - O   R V : 0   Rev: 2 5
>  Type:   CD-ROM                             ANSI SCSI revision: 02
>Detected scsi CD-ROM sr0 at scsi0, id 0, lun 0
>scsi : detected 1 SCSI cdrom total.
>Scd sectorsize = 2048 bytes

I had the same problem on my setup. (SB16 SCSI2 AIC 6360 + Toshiba 3401TA).
It seems to be a problem with the 6360 chip. What you are seeing is a  
symptom of get word from port returning alternate bytes as null.
Base Kernel 1.1.8 + patched til 1.1.12

i.e
behaving like as if one was expecting a 16 bit data xfer but only 8 bit xfer
happening.
I fixed this by changing the driver source aha152x.c where the loop for
getting data  (look for the code around area with function call insw)

OLD LOGIC
Get X bytes from port = loop (X/2) times doing get word  (insw)
                         + remainder byte if present (inb)

TO
Get X bytes from port = loop X times doing get byte  (inb)

After changing the code in the above fashion everything worked.
i.e I was able to mount and read Linux Quarterly CD ROM (Morse Spring 94)
which is an iso9660 file system.

 
 
 

Can't mount my CD-ROM

Post by Robert Ha » Fri, 25 Nov 1994 16:44:20


: I just installed a new NEC-CDR510 cdrom and am unable to mount it. My
: configuration is:

: kernel 1.1.64
: GCC 2.6.1

: # mount -r -t iso9660 /dev/sr0 /cdrom
: mount: wrong fs type, /dev/sr0 already mounted, /cdrom busy, or other error

I think your problem is that you MUST mount the CD as read only. I know
that's not what the error message is saying, but try this...

        mount -t iso9660 -o ro /dev/sr0 /cdrom

Let me know if it works...

--

Voice: +61 (0)91 72 0429                     Fax:   +61 (0)91 72 3560
Hedland College, PMB 1, South Hedland WA 6722 Australia

 
 
 

1. Linux from Nascent CD-ROM won't mount my panasonic cd-rom drive

        Hi, I just bought the Linux from Nascent CD-ROM and have been attempting
to install it on my 486DX2/66 machine.  I have a cardex SVGA card using a
Cirrus chipset and 1 meg of video ram.  I have 16 megs of 60-ns memory.  I also
have a local bus IDE hard drive controller (32-bit) running two 340-meg
western digital hard drives.  Oh, the video is local bus, too.  I also have
an IOMEGA floptical drive, as well as the almost expected 3.5" and 5.25"
floppies.  I also have a Soundblaster 16 sound card that is driving my CD-drive,
the setup that comes together in a multimedia pack, I forget the exact name,
but it is a fairly standard one.  It is a Panasonic cd-drive by the way.  
A panasonic 54- something I think.  When I boot and root my way into Linux,
It won't mount my cd-drive.  Since the program files are all on CD, that
means I can't install.  I followed the instructions for fixing this problemm
in the manual, i.e. "mknod /dev/sbpcd b 25 0"
                    "ln -fs /dev/sbpcd /dev/cdrom"
This looked fine, but when I rebooted, Linux still wouldn't mount my drive.
I even tried getting new root and boot images via anonymous FTP and rawrite.
No dice.  Does anyone have any ideas?  Any help would be greatly appreciated.

Thanks!

Mike Van Camp

2. ksplash

3. CD-ROM mount needs source <--> source needs CD-ROM mount

4. softraid problem with SuSE 6.4 and 2.2.x kernel

5. PAS 16 CD-ROM and Slakware96, mounting CD-ROM crashes system

6. Disk quotas and the like: is there a standard?

7. Mount CD-ROM over network and report as CD-ROM

8. rename("a","b") succeeds multiple times race

9. Mounting CD ROM vs. Mounting CD ROM

10. replace cd-rom with CD-R / can't find mount CD-R drive

11. Can't install Yggdrasil summer 94 CD-ROM with SCSI-1 CD-ROM

12. ``VOLD'' refuses to mount cd-rom

13. Won't detect and mount CD-ROM (Yggdrasil, cd-dependent)