Guest Peter_Pugh Posted October 31, 2002 Report Share Posted October 31, 2002 Hello, I have posted the following on MandrakeExpert, with very little result. I was hoping maybe someone here may have some ideas. Sorry for the length, but wanted to get a lot of detail included. ----------------------------------------------------------------------------------- Hello, I am new to Linux (Linux Newbie?). Used Unix many years ago -- AT&T on 8086 boxes -- and remember some things, but am trying to catch up. I have installed Mandrake 8.2 on an old Dell laptop (Dell Latitude XPi P100SD, 40M, 12GB HD -- yes 12GigaByte, NeoMagic NM2070, 2 Type I PCMCIA slots and a docking port with an Adaptec AIC-6360 SCSI and 3COM 3c509b ethernet; etc.) using a Sony CRX75A PCMCIA CDRW drive as my installation source. Linux sees the CDRW as a Sony CRX700E, but that's close enough for the installation to work. The installation has gone fine. PC working OK, ironed out some problems in Xconfig and NM2070 now working great, at least at 800x600 8bit anyway. My congratulations to Mandrake for a reasonably straight forward installation. Sorry, the details of my problem. Although the installation worked fine, using the CDRW, now the machine is up and running, I can't mount the CD. I have searched google, and found several hits with the same problem, but none of the answers seems to help. The error message I get is "/mnt/cdrom: Input/output error". I have attempted to mount/access the CD as a user and as "root". The following is a much information as I can gather: /etc/mtab File: --------------- /dev/hda1 / ext3 rw,noatime 0 0 none /proc proc rw 0 0 none /dev devfs rw 0 0 none /dev/pts devpts rw,mode=0620 0 0 none /dev/shm tmpfs rw 0 0 /dev/hda10 /home ext3 rw,noatime 0 0 /mnt/cdrom /mnt/cdrom supermount ro,dev=/dev/scd0,fs=iso9660,--,iocharset=iso8859-15 0 0 /mnt/floppy /mnt/floppy supermount rw,sync,dev=/dev/fd0,fs=vfat,--,iocharset=iso8859-15,codepage=850 0 0 /dev/hda7 /root ext3 rw,noatime 0 0 /dev/hda5 /smooth ext3 rw,noatime 0 0 /dev/hda8 /usr ext3 rw,noatime 0 0 /dev/hda9 /var ext3 rw,noatime 0 0 /etc/fstab File: ---------------- /dev/hda1 / ext3 noatime 1 1 none /dev/pts devpts mode=0620 0 0 none /dev/shm tmpfs defaults 0 0 /dev/hda10 /home ext3 noatime 1 2 /mnt/cdrom /mnt/cdrom supermount dev=/dev/scd0,fs=iso9660,ro,--,iocharset=iso8859-15 0 0 /mnt/floppy /mnt/floppy supermount dev=/dev/fd0,fs=vfat,--,iocharset=iso8859-15,sync,codepage=850 0 0 none /proc proc defaults 0 0 /dev/hda7 /root ext3 noatime 1 2 /dev/hda5 /smooth ext3 noatime 1 2 /dev/hda8 /usr ext3 noatime 1 2 /dev/hda9 /var ext3 noatime 1 2 /dev/hda6 swap swap defaults 0 0 Output from "dmesg": -------------------- Linux version 2.4.18-6mdk (quintela@bi.mandrakesoft.com) (gcc version 2.96 20000731 (Mandrake Linux 8.2 2.96-0.76mdk)) #1 Fri Mar 15 02:59:08 CET 2002 BIOS-provided physical RAM map: BIOS-e820: 0000000000000000 - 00000000000a0000 (usable) BIOS-e820: 0000000000100000 - 0000000002800000 (usable) On node 0 totalpages: 10240 zone(0): 4096 pages. zone(1): 6144 pages. zone(2): 0 pages. Kernel command line: auto BOOT_IMAGE=Linux-NonX ro root=301 quiet 4 devfs=mount hde=ide-scsi ide_setup: hde=ide-scsi No local APIC present or hardware disabled Initializing CPU#0 Detected 99.873 MHz processor. Console: colour VGA+ 80x25 Calibrating delay loop... 199.06 BogoMIPS Memory: 37644k/40960k available (1170k kernel code, 2932k reserved, 332k data, 260k init, 0k highmem) Dentry-cache hash table entries: 8192 (order: 4, 65536 bytes) Inode-cache hash table entries: 4096 (order: 3, 32768 bytes) Mount-cache hash table entries: 1024 (order: 1, 8192 bytes) Buffer-cache hash table entries: 1024 (order: 0, 4096 bytes) Page-cache hash table entries: 16384 (order: 4, 65536 bytes) CPU: Before vendor init, caps: 000001bf 00000000 00000000, vendor = 0 Intel Pentium with F0 0F bug - workaround enabled. CPU: After vendor init, caps: 000001bf 00000000 00000000 00000000 CPU: After generic, caps: 000001bf 00000000 00000000 00000000 CPU: Common caps: 000001bf 00000000 00000000 00000000 CPU: Intel Mobile Pentium 75 - 200 stepping 00 Checking 'hlt' instruction... OK. POSIX conformance testing by UNIFIX mtrr: v1.40 (20010327) Richard Gooch (rgooch@atnf.csiro.au) mtrr: detected mtrr type: none PCI: PCI BIOS revision 2.10 entry at 0xfbe4e, last bus=0 PCI: Using configuration type 1 PCI: Probing PCI hardware isapnp: Scanning for PnP cards... isapnp: Card '3Com 3C509B EtherLink III' isapnp: 1 Plug & Play card detected total Linux NET4.0 for Linux 2.4 Based upon Swansea University Computer Society NET3.039 Initializing RT netlink socket apm: BIOS version 1.1 Flags 0x03 (Driver version 1.16) Starting kswapd VFS: Diskquotas version dquot_6.5.0 initialized devfs: v1.10 (20020120) Richard Gooch (rgooch@atnf.csiro.au) devfs: boot_options: 0x1 pty: 256 Unix98 ptys configured Serial driver version 5.05c (2001-07-08) with HUB-6 MANY_PORTS MULTIPORT SHARE_IRQ SERIAL_PCI ISAPNP enabled ttyS00 at 0x03f8 (irq = 4) is a 16550A block: 128 slots per queue, batch=32 RAMDISK driver initialized: 16 RAM disks of 32000K size 1024 blocksize Uniform Multi-Platform E-IDE driver Revision: 6.31 ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx CMD643: IDE controller on PCI bus 00 dev 40 CMD643: chipset revision 0 CMD643: not 100% native mode: will probe irqs later ide0: BM-DMA at 0xfe00-0xfe07, BIOS settings: hda:pio, hdb:pio ide1: BM-DMA at 0xfe08-0xfe0f, BIOS settings: hdc:pio, hdd:pio hda: FUJITSU MHK2120AT, ATA DISK drive ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 hda: 23579136 sectors (12073 MB) w/512KiB Cache, CHS=1467/255/63, (U)DMA Partition check: /dev/ide/host0/bus0/target0/lun0:hda: timeout waiting for DMA ide_dmaproc: chipset supported ide_dma_timeout func only: 14 p1 p2 <hda: timeout waiting for DMA ide_dmaproc: chipset supported ide_dma_timeout func only: 14 p5hda: timeout waiting for DMA ide_dmaproc: chipset supported ide_dma_timeout func only: 14 p6hda: timeout waiting for DMA ide_dmaproc: chipset supported ide_dma_timeout func only: 14 p7 p8 p9 p10 > Floppy drive(s): fd0 is 1.44M FDC 0 is a National Semiconductor PC87306 md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27 md: Autodetecting RAID arrays. md: autorun ... md: ... autorun DONE. NET4: Linux TCP/IP 1.0 for NET4.0 IP Protocols: ICMP, UDP, TCP, IGMP IP: routing cache hash table of 512 buckets, 4Kbytes TCP: Hash tables configured (established 4096 bind 4096) Linux IP multicast router 0.06 plus PIM-SM NET4: Unix domain sockets 1.0/SMP for Linux NET4.0. RAMDISK: Compressed image found at block 0 Uncompressing.........done. Freeing initrd memory: 211k freed VFS: Mounted root (ext2 filesystem). Mounted devfs on /dev SCSI subsystem driver Revision: 1.00 aha152x: BIOS test: passed, detected 1 controller(s) aha152x: resetting bus... aha152x0: vital data: rev=1, io=0x140 (0x140/0x140), irq=11, scsiid=7, reconnect=enabled, parity=enabled, synchronous=enabled, delay=1000, extended translation=disabled aha152x0: trying software interrupt, ok. scsi0 : Adaptec 152x SCSI driver; $Revision: 2.4 $ Journalled Block Device driver loaded kjournald starting. Commit interval 5 seconds EXT3-fs: mounted filesystem with ordered data mode. Freeing unused kernel memory: 260k freed Real Time Clock Driver v1.10e EXT3 FS 2.4-0.9.17, 10 Jan 2002 on ide0(3,1), internal journal Adding Swap: 506008k swap-space (priority -1) scsi1 : SCSI host adapter emulation for IDE ATAPI devices kjournald starting. Commit interval 5 seconds EXT3 FS 2.4-0.9.17, 10 Jan 2002 on ide0(3,10), internal journal EXT3-fs: mounted filesystem with ordered data mode. kjournald starting. Commit interval 5 seconds EXT3 FS 2.4-0.9.17, 10 Jan 2002 on ide0(3,7), internal journal EXT3-fs: mounted filesystem with ordered data mode. kjournald starting. Commit interval 5 seconds EXT3 FS 2.4-0.9.17, 10 Jan 2002 on ide0(3,5), internal journal EXT3-fs: mounted filesystem with ordered data mode. kjournald starting. Commit interval 5 seconds EXT3 FS 2.4-0.9.17, 10 Jan 2002 on ide0(3,8), internal journal EXT3-fs: mounted filesystem with ordered data mode. kjournald starting. Commit interval 5 seconds EXT3 FS 2.4-0.9.17, 10 Jan 2002 on ide0(3,9), internal journal EXT3-fs: mounted filesystem with ordered data mode. eth0: 3c5x9 at 0x220, 10baseT port, address 00 c0 4f e0 c7 d9, IRQ 5. 3c509.c:1.18a 17Nov2001becker@scyld.com http://www.scyld.com/network/3c509.html parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE] parport0: irq 7 detected ip_conntrack (320 buckets, 2560 max) eth0: Setting Rx mode to 1 addresses. Linux Kernel Card Services Kernel Version options: [pci] [cardbus] [pm] Intel PCIC probe: Vadem VG-469 ISA-to-PCMCIA at port 0x3e0 ofs 0x00, 2 sockets host opts [0]: none host opts [1]: none ISA irqs (scanned) = 3,4,10,15 polling interval = 1000 ms cs: IO port probe 0x0c00-0x0cff: clean. cs: IO port probe 0x0100-0x04ff: excluding 0x230-0x23f 0x330-0x337 0x378-0x37f 0x388-0x38f cs: IO port probe 0x0a00-0x0aff: clean. cs: memory probe 0x0d0000-0x0dffff: clean. hde: SONY CD-RW CRX700E, ATAPI CD/DVD-ROM drive ide2 at 0x180-0x187,0x386 on irq 3 ide_cs: hde: Vcc = 5.0, Vpp = 0.0 hde: bad special flag: 0x03 parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE] parport0: irq 7 detected Installing knfsd (copyright © 1996 okir@monad.swb.de). lp0: using parport0 (polling). lp0: compatibility mode lp0: compatibility mode lp0: compatibility mode **Please Note** In the "dmesg" output, my CD is recognised and assigned to "/dev/hde", but my "/etc/mtab" and "/etc/fstab" files refer to it as "/dev/scd0". This would seem to be incorrect. Also, there is an error in the "dmesg" output after it identifies the CD that says "hde: bad special flag: 0x03". In my "/dev" directory, there is an empty subdirectory called "cdroms", but no cdrom device, there are devices for "hde" and "hde1" through "hde16", and a subdirectory called "scsi", but no device called "scd0". If I try to mount the CD "mount /dev/hde -t iso9660 /mnt/cdrom" I get a message saying "mount: /dev/hde is not a valid block device". Any help would be greatly appreciated. Thanks in advance. Peter. Quote Link to comment Share on other sites More sharing options...
spiedra Posted October 31, 2002 Report Share Posted October 31, 2002 MDK 8.2 has supermount, so you don't manuelly mount the cd's, it will do it for you automatically. You just browse over to the cd which the mount point should be /mnt/cdrom. Quote Link to comment Share on other sites More sharing options...
Shielder Posted October 31, 2002 Report Share Posted October 31, 2002 I've got this problem with MDK7.2. I've got the icon for the cdrom on the KDE desktop, but I don't have access to it, either as root or as me. I get the i/o error the same as you. I'm part of the group that can access the drive, but nothing happens when I try accessing. I've tried mounting the drive, but nothing seems to work. Any ideas? Btw, the system is a 1.1GHz Athlon on a GA7-IXE4 mb with 256Mram GeForce4MX graphics, soundcard, Samsung SB408(?) cdrw and a creative 50x cdrom. Thanks from a (1 week user) noobie. Andy :? Quote Link to comment Share on other sites More sharing options...
Guest Peter_Pugh Posted October 31, 2002 Report Share Posted October 31, 2002 Hello, Thanks for the comment about supermount. I realise that the CD should be accessable when inserted, just as the floppy drive is. However, whatever action is attempted against the cd (/mnt/cdrom) gives the same result. "ls -al /mnt/cdrom", "cd /mnt/cdrom", etc. The "df" command shows no record of th CD. I think the key to this is that the fstab refers to the device as /dev/scd0, whilst the kernel, at least through the boot process, refers to the device as /dev/hde. As noted in my original posting, there is no device scd0 in my /dev directory, so how can the mount point entry in fstab be correct? Any other thoughts? Peter. Quote Link to comment Share on other sites More sharing options...
Glitz Posted October 31, 2002 Report Share Posted October 31, 2002 What kind of CD are you trying to read? Is it a regular ISO9660 cd or a UDF CDRW? Glitz. Quote Link to comment Share on other sites More sharing options...
Guest Peter_Pugh Posted November 1, 2002 Report Share Posted November 1, 2002 Hello, Good question, thank you. The CD I was trying to read was the Mandrake Installation Disk #1. I had burnt this from an ISO image, however I had burnt it to a CDRW disc. I have just checked by inserting a commercial software CD into the drive. Unfortunately, I get exactly the same error. Nice try. Peter. Quote Link to comment Share on other sites More sharing options...
Glitz Posted November 1, 2002 Report Share Posted November 1, 2002 Well, that rules out a filesystem type problem. You mentioned that there is no /dev/scd0 and that your cdrw is /dev/hde. IDE CDRWs usually use a scsi emulation driver so that cdwriter software will work with them (the software only works on SCSI devices). The /dev/scd0 is usually a softlink to the actual driver which in my system is /dev/scsi/host1/bus0/target0/lun0/cd. Note that /dev/scsi/host0 is my actual scsi adapter. I noticed you have one too so our system configurations should be a close match in that respect. Also, before you do anything, disable supermount (supermount -i disable) and reboot your machine (for the setting to take effect). Supermount has problems of its own that will only lead you off on a wild goose chase if it is enabled. Glitz. Quote Link to comment Share on other sites More sharing options...
Guest Peter_Pugh Posted November 1, 2002 Report Share Posted November 1, 2002 Hello, I have removed supermount. Still can't access the CD. If I try to "mount /dev/scd0 /mnt/cdrom -t iso9660" I get "mount: special device /dev/scd0 does not exist". If I try to "mount /dev/hde /mnt/cdrom -t iso9660" I get "mount: special device /dev/hde is not a valid block device". The /dev/scsi directory on my machine is empty. Some further details about the CD drive, if I wasn't clear earlier. The CD is a Sony CRX75A CDRW. It is a PCMCIA CD. The Sony PCMCIA interface is I believe a variation on SCSI, but I'm unclear on this point. Especially as, when using the CDRW on my WinXP box, the controller is identified as "CBIDE2 Series DuoATA Card" even though it has a SCSI device symbol. The CD definitely worked for the install and there is no other CD on the machine. I used the PCMCIA boot floopy to start the installation process. It is only after installation that I get this problem. The machine is a laptop with a single IDE device, being the harddrive. The basic identification and specification of the machine is included in my original post. Thanks, Peter. Quote Link to comment Share on other sites More sharing options...
Glitz Posted November 2, 2002 Report Share Posted November 2, 2002 PCMCIA...I don't know anything about that. Try searching for problems regarding PCMCIA. That might give you a few clues. Glitz. Quote Link to comment Share on other sites More sharing options...
pmpatrick Posted November 5, 2002 Report Share Posted November 5, 2002 Try this: 1.Go to Mandrake Control Center>Mount Points>CD Burner.Tick Options then OK and make sure user and and noauto are ticked and supermount is not ticked.Click OK then OK again; 2. Open /etc/lilo.conf in root as follows: # gedit /etc/lilo.conf Check the append line under the linux lablel and see if the following appears there: hde=ide-scsi. If it does delete it, reboot and see if you can can mount your cdrw drive as /dev/hde. This line is what provides the scsi emulation for your cdrw drive. Deleting it may allow you to read from the drive but you will then not be able to write to the drive. For this you need the scsi emualtion but the scsi emualtion can prohibit you from accessing the drive as a normal CD drive. By the way, before you make any of these changes, you may want to see if you can burn a CD on the drive, i.e. see if the drive is accesible to any CD burning program. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.