I Can't Mount CDs

Place to discuss Slackware
Post Reply
User avatar
Calum
guru
guru
Posts: 1349
Joined: Fri Jan 10, 2003 11:32 am
Location: Bonny Scotland
Contact:

I Can't Mount CDs

Post by Calum » Sat Apr 19, 2003 4:51 am

help. i can't mount CDs.
i had a huge formatting disaster and have reinstalled slack and red hat. i can mount cds in red hat but not in slack. the zip drive mounts fine but not the cd drive.

Code: Select all

bash-2.05b$ mount /mnt/cdrom/
mount: 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?)
bash-2.05b$ cat /etc/fstab
/dev/hda4        swap             swap        defaults         0   0
/dev/hda6        /                ext3        defaults         1   1
/dev/hda5        /mnt/redhat      ext3        defaults         1   2
/dev/hda8        /home            ext3        defaults         1   2
#/dev/hda7        /mnt/debian      reiserfs    defaults         1   2
/dev/hda1        /C               vfat        defaults,umask=0  1   0
/dev/cdrom       /mnt/cdrom       iso9660     defaults,noauto,users,ro  0   0
/dev/fd0         /mnt/floppy      auto        noauto,users,rw     0   0
devpts           /dev/pts         devpts      gid=5,mode=620   0   0
proc             /proc            proc        defaults         0   0
/dev/sda4       /mnt/zip        auto    defaults,users,rw       0 0
and here's what my grub.conf looks like, in case it's relevant:

Code: Select all

# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE:  You do not have a /boot partition.  This means that
#          all kernel and initrd paths are relative to /, eg.
#          root (hd0,4)
#          kernel /boot/vmlinuz-version ro root=/dev/hda5
#          initrd /boot/initrd-version.img
#boot=/dev/hda
default=1
timeout=40
splashimage=(hd0,4)/boot/grub/splash.xpm.gz
title Red Hat Linux 8 (2.4.18-14)
        root (hd0,4)
        kernel /boot/vmlinuz-2.4.18-14 ro root=/dev/hda5 hdc=ide-scsi
        initrd /boot/initrd-2.4.18-14.img
title Slackware Linux 8
        root (hd0,5)
        kernel /boot/vmlinuz ro root=/dev/hda6 hdc=ide-scsi
title MS-Winsux
        rootnoverify (hd0,0)
        chainloader +1
#title Knoppix 3
#       rootnoverify (hd0,6)
#       chainloader +1
any ideas?
i am stumped!
thanks in advance et cetera.

User avatar
Void Main
Site Admin
Site Admin
Posts: 5716
Joined: Wed Jan 08, 2003 5:24 am
Location: Tuxville, USA
Contact:

Post by Void Main » Sat Apr 19, 2003 6:28 am

I assume your CD drive is a burner because you are loading the ide-scsi driver when booting Slack. Is your /dev/cdrom a symbolic link that points to another device? If so what is it pointing to? Do an "ls -l /dev/cdrom" to see.

User avatar
Calum
guru
guru
Posts: 1349
Joined: Fri Jan 10, 2003 11:32 am
Location: Bonny Scotland
Contact:

Post by Calum » Sat Apr 19, 2003 10:36 am

okay, yes it's a burner, and its real address is /dev/scd0 while my other cd drive (a malfunctioning dvd drive i hardly ever use) seems to work fine too. it is /dev/hdd and i didn't think of it to start with because slackware never bothered to configure it and i never needed it till now.

i imagine it is something to do with my kernel, as i am using a kernel called vmlinuz-ide-2.4.20 so i am taking the opportunity to recompile my kernel. this is no mean feat on a celery 700. i tried dropping in the bare.i kernel from the CD like doogee recommended, but it gave the same situation unfortunately. now i am just following beltorak's kernel instructions because they worked fine in red hat.

hopefully this will fix the problem, i seem to be having a problem getting the zip drive to mount as hfs again too, but that's not a kernel problem since i can do it if i specify the filesystem type, also /etc/filesystems does specify hfs as a type to check for. will try again after recompile.

one other thing, though unrelated, i can make an ext2 zip disk, using mke2fs but how could i make a vfat zip disk in linux? any clues?
thanks et c...

User avatar
Void Main
Site Admin
Site Admin
Posts: 5716
Joined: Wed Jan 08, 2003 5:24 am
Location: Tuxville, USA
Contact:

Post by Void Main » Sat Apr 19, 2003 11:23 am

Calum wrote:one other thing, though unrelated, i can make an ext2 zip disk, using mke2fs but how could i make a vfat zip disk in linux? any clues?
thanks et c...
Have you tried "mkfs -t vfat /dev/zipdevice" or "mkfs.vfat /dev/zipdevice"?

User avatar
Calum
guru
guru
Posts: 1349
Joined: Fri Jan 10, 2003 11:32 am
Location: Bonny Scotland
Contact:

Post by Calum » Sat Apr 19, 2003 2:27 pm

i haven't although it seems kind of obvious now you mention it! thanks for being my intuition once again void main!

incidentally my kernel recompile went down the crapper for some reason unbeknownst to me so i am still in the same boatr with the scsi cd drive...

User avatar
Void Main
Site Admin
Site Admin
Posts: 5716
Joined: Wed Jan 08, 2003 5:24 am
Location: Tuxville, USA
Contact:

Post by Void Main » Sat Apr 19, 2003 2:42 pm

What's the output of "dmesg" look like? How is it different that the output of "dmesg" in Red Hat?

User avatar
Calum
guru
guru
Posts: 1349
Joined: Fri Jan 10, 2003 11:32 am
Location: Bonny Scotland
Contact:

Post by Calum » Sat Apr 19, 2003 6:22 pm

okay, slack dmesg reads:

Code: Select all

Linux version 2.4.20 (root@midas) (gcc version 3.2.2) #2 Mon Mar 17 22:02:15 PST 2003
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 00000000000a0000 (usable)
 BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 0000000007ff0000 (usable)
 BIOS-e820: 0000000007ff0000 - 0000000007ff3000 (ACPI NVS)
 BIOS-e820: 0000000007ff3000 - 0000000008000000 (ACPI data)
 BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved)
user-defined physical RAM map:
 user: 0000000000000000 - 00000000000a0000 (usable)
 user: 00000000000f0000 - 0000000000100000 (reserved)
 user: 0000000000100000 - 0000000007ff0000 (usable)
127MB LOWMEM available.
On node 0 totalpages: 32752
zone(0): 4096 pages.
zone(1): 28656 pages.
zone(2): 0 pages.
Kernel command line: ro root=/dev/hda6 hdc=ide-scsi mem=131008K
ide_setup: hdc=ide-scsi
Initializing CPU#0
Detected 701.607 MHz processor.
Console: colour VGA+ 80x25
Calibrating delay loop... 1399.19 BogoMIPS
Memory: 126524k/131008k available (1733k kernel code, 4100k reserved, 568k data, 112k init, 0k highmem)
Dentry cache hash table entries: 16384 (order: 5, 131072 bytes)
Inode cache hash table entries: 8192 (order: 4, 65536 bytes)
Mount-cache hash table entries: 2048 (order: 2, 16384 bytes)
Buffer-cache hash table entries: 4096 (order: 2, 16384 bytes)
Page-cache hash table entries: 32768 (order: 5, 131072 bytes)
CPU: L1 I cache: 16K, L1 D cache: 16K
CPU: L2 cache: 128K
CPU:     After generic, caps: 0383f9ff 00000000 00000000 00000000
CPU:             Common caps: 0383f9ff 00000000 00000000 00000000
CPU: Intel Celeron (Coppermine) stepping 06
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
mtrr: v1.40 (20010327) Richard Gooch (rgooch@atnf.csiro.au)
mtrr: detected mtrr type: Intel
PCI: PCI BIOS revision 2.10 entry at 0xfb160, last bus=1
PCI: Using configuration type 1
PCI: Probing PCI hardware
PCI: Using IRQ router VIA [1106/0596] at 00:07.0
Activating ISA DMA hang workarounds.
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
VFS: Diskquotas version dquot_6.4.0 initialized
Journalled Block Device driver loaded
Detected PS/2 Mouse Port.
pty: 512 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with HUB-6 MANY_PORTS MULTIPORT SHARE_IRQ SERIAL_PCI enabled
ttyS00 at 0x03f8 (irq = 4) is a 16550A
ttyS01 at 0x02f8 (irq = 3) is a 16550A
Real Time Clock Driver v1.10e
Uniform Multi-Platform E-IDE driver Revision: 6.31
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
VP_IDE: IDE controller on PCI bus 00 dev 39
VP_IDE: chipset revision 16
VP_IDE: not 100% native mode: will probe irqs later
VP_IDE: VIA vt82c596b (rev 23) IDE UDMA66 controller on pci00:07.1
    ide0: BM-DMA at 0xe000-0xe007, BIOS settings: hda:DMA, hdb:pio
    ide1: BM-DMA at 0xe008-0xe00f, BIOS settings: hdc:DMA, hdd:DMA
hda: Maxtor 91531U3, ATA DISK drive
hdc: LITE-ON LTR-48125S, ATAPI CD/DVD-ROM drive
hdd: Pioneer DVD-ROM ATAPIModel DVD-103S 011, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
blk: queue c0388784, I/O limit 4095Mb (mask 0xffffffff)
hda: 30015216 sectors (15368 MB) w/512KiB Cache, CHS=1868/255/63, UDMA(66)
hdd: ATAPI DVD-ROM drive, 512kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.12
ide-floppy driver 0.99.newide
Partition check:
 hda: hda1 hda2 hda3 < hda5 hda6 hda7 hda8 > hda4
 hda2: <bsd: hda9 hda10 hda11 >
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
RAMDISK driver initialized: 16 RAM disks of 7777K size 1024 blocksize
loop: loaded (max 8 devices)
ide-floppy driver 0.99.newide
SCSI subsystem driver Revision: 1.00
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
md: linear personality registered as nr 1
md: raid0 personality registered as nr 2
md: raid1 personality registered as nr 3
md: raid5 personality registered as nr 4
raid5: measuring checksumming speed
   8regs     :  1160.800 MB/sec
   32regs    :   696.000 MB/sec
   pIII_sse  :  1362.800 MB/sec
   pII_mmx   :  1573.600 MB/sec
   p5_mmx    :  1642.000 MB/sec
raid5: using function: pIII_sse (1362.800 MB/sec)
md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
LVM version 1.0.5+(22/07/2002)
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 8192 bind 16384)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
kjournald starting.  Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
Freeing unused kernel memory: 112k freed
Adding Swap: 481940k swap-space (priority -1)
EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,6), internal journal
kjournald starting.  Commit interval 5 seconds
EXT3 FS 2.4-0.9.19, 19 August 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.19, 19 August 2002 on ide0(3,8), internal journal
EXT3-fs: mounted filesystem with ordered data mode.
ide-floppy driver 0.99.newide
hdc: driver not present
apm: BIOS version 1.2 Flags 0x07 (Driver version 1.16)
scsi0 : SCSI host adapter emulation for IDE ATAPI devices
  Vendor: LITE-ON   Model: LTR-48125S        Rev: 1S05
  Type:   CD-ROM                             ANSI SCSI revision: 02
Attached scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0
sr0: scsi3-mmc drive: 48x/48x writer cd/rw xa/form2 cdda tray
cmpci: version $Revision: 5.64 $ time 15:37:53 Mar 11 2003
PCI: Found IRQ 11 for device 00:0c.0
cmpci: found CM8738 adapter at io 0xe800 irq 11
cmpci: chip version = 037
cmpci: Enable SPDIF loop
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
uhci.c: USB Universal Host Controller Interface driver v1.1
PCI: Found IRQ 10 for device 00:07.2
uhci.c: USB UHCI at I/O 0xe400, IRQ 10
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 2 ports detected
hub.c: new USB device 00:07.2-2, assigned address 2
usb.c: USB device 2 (vend/prod 0x46d/0xc401) is not claimed by any active driver.
usb-uhci.c: $Revision: 1.275 $ time 15:38:38 Mar 11 2003
usb-uhci.c: High bandwidth mode enabled
usb-uhci.c: v1.275:USB Universal Host Controller Interface driver
usb.c: registered new driver usb_mouse
input0: Logitech USB-PS/2 Trackball on usb1:2.0
usbmouse.c: v1.6:USB HID Boot Protocol mouse driver
usb.c: registered new driver hiddev
usb.c: registered new driver hid
hid-core.c: v1.8.1 Andreas Gal, Vojtech Pavlik <vojtech@suse.cz>
hid-core.c: USB HID support drivers
mice: PS/2 mouse device common for all mice
parport0: PC-style at 0x378 [PCSPP,TRISTATE]
ppa: Version 2.07 (for Linux 2.4.x)
ppa: Found device at ID 6, Attempting to use EPP 16 bit
ppa: Found device at ID 6, Attempting to use PS/2
ppa: Communication established with ID 6 using PS/2
scsi1 : Iomega VPI0 (ppa) interface
  Vendor: IOMEGA    Model: ZIP 100           Rev: D.09
  Type:   Direct-Access                      ANSI SCSI revision: 02
Attached scsi removable disk sda at scsi1, channel 0, id 6, lun 0
sda : READ CAPACITY failed.
sda : status = 1, message = 00, host = 0, driver = 08 
Current sd00:00: sns = 70  2
ASC=3a ASCQ= 0
Raw sense data:0x70 0x00 0x02 0x00 0x00 0x00 0x00 0x11 0x00 0x00 0x00 0x00 0x3a 0x00 0x00 0x00 0x00 0x00 0xff 0xfe 0x01 0x05 0x05 0x00 0x00 
sda : block size assumed to be 512 bytes, disk size 1GB.  
 sda: I/O error: dev 08:00, sector 0
 I/O error: dev 08:00, sector 0
ldm_validate_partition_table(): Disk read failed.
 I/O error: dev 08:00, sector 0
 unable to read partition table
CSLIP: code copyright 1989 Regents of the University of California
PPP generic driver version 2.4.2
PPP BSD Compression module registered
PPP Deflate Compression module registered
PPP BSD Compression module registered
PPP Deflate Compression module registered
cmpci: dma timed out??
cmpci: dma timed out??
cmpci: dma timed out??
cmpci: dma timed out??
cmpci: dma timed out??
cmpci: dma timed out??
cmpci: dma timed out??
cmpci: dma timed out??
cmpci: dma timed out??
cmpci: dma timed out??
cmpci: dma timed out??
cmpci: dma timed out??
cmpci: dma timed out??
cmpci: dma timed out??
cmpci: dma timed out??
cmpci: dma timed out??
cmpci: dma timed out??
cmpci: dma timed out??
cmpci: dma timed out??
cmpci: dma timed out??
cmpci: dma timed out??
cmpci: dma timed out??
cmpci: dma timed out??
cmpci: dma timed out??
cmpci: dma timed out??
cmpci: dma timed out??
cmpci: dma timed out??
cmpci: dma timed out??
cmpci: dma timed out??
cmpci: dma timed out??
cmpci: dma timed out??
cmpci: dma timed out??
cmpci: dma timed out??
cmpci: dma timed out??
cmpci: dma timed out??
cmpci: dma timed out??
cmpci: dma timed out??
cmpci: dma timed out??
cmpci: dma timed out??
cmpci: dma timed out??
cmpci: dma timed out??
cmpci: dma timed out??
cmpci: dma timed out??
cmpci: dma timed out??
cmpci: dma timed out??
cmpci: dma timed out??
cmpci: dma timed out??
cmpci: dma timed out??
cmpci: dma timed out??
PPP BSD Compression module registered
PPP Deflate Compression module registered
goodness only knows what cmpci is doing.
and the redhat one looks like this:

Code: Select all

Linux version 2.4.18-14 (bhcompile@stripples.devel.redhat.com) (gcc version 3.2 20020903 (Red Hat Linux 8.0 3.2-7)) #1 Wed Sep 4 13:35:50 EDT 2002
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 00000000000a0000 (usable)
 BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 0000000007ff0000 (usable)
 BIOS-e820: 0000000007ff0000 - 0000000007ff3000 (ACPI NVS)
 BIOS-e820: 0000000007ff3000 - 0000000008000000 (ACPI data)
 BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved)
user-defined physical RAM map:
 user: 0000000000000000 - 00000000000a0000 (usable)
 user: 00000000000f0000 - 0000000000100000 (reserved)
 user: 0000000000100000 - 0000000007ff0000 (usable)
0MB HIGHMEM available.
127MB LOWMEM available.
On node 0 totalpages: 32752
zone(0): 4096 pages.
zone(1): 28656 pages.
zone(2): 0 pages.
Kernel command line: ro root=/dev/hda5 hdc=ide-scsi mem=131008K
ide_setup: hdc=ide-scsi
Initializing CPU#0
Detected 701.560 MHz processor.
Speakup v-1.00 CVS: Tue Jun 11 14:22:53 EDT 2002 : initialized
Console: colour VGA+ 80x25
Calibrating delay loop... 1393.96 BogoMIPS
Memory: 124756k/131008k available (1326k kernel code, 4848k reserved, 999k data, 212k init, 0k highmem)
Dentry cache hash table entries: 16384 (order: 5, 131072 bytes)
Inode cache hash table entries: 8192 (order: 4, 65536 bytes)
Mount cache hash table entries: 2048 (order: 2, 16384 bytes)
ramfs: mounted with options: <defaults>
ramfs: max_pages=15722 max_file_pages=0 max_inodes=0 max_dentries=15722
Buffer cache hash table entries: 4096 (order: 2, 16384 bytes)
Page-cache hash table entries: 32768 (order: 5, 131072 bytes)
CPU: Before vendor init, caps: 0383f9ff 00000000 00000000, vendor = 0
CPU: L1 I cache: 16K, L1 D cache: 16K
CPU: L2 cache: 128K
CPU: After vendor init, caps: 0383f9ff 00000000 00000000 00000000
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
CPU:     After generic, caps: 0383f9ff 00000000 00000000 00000000
CPU:             Common caps: 0383f9ff 00000000 00000000 00000000
CPU: Intel Celeron (Coppermine) stepping 06
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
mtrr: v1.40 (20010327) Richard Gooch (rgooch@atnf.csiro.au)
mtrr: detected mtrr type: Intel
PCI: PCI BIOS revision 2.10 entry at 0xfb160, last bus=1
PCI: Using configuration type 1
PCI: Probing PCI hardware
PCI: Using IRQ router VIA [1106/0596] at 00:07.0
Activating ISA DMA hang workarounds.
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
speakup:  initialized device: /dev/synth, node (MAJOR 10, MINOR 25)
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
apm: BIOS version 1.2 Flags 0x07 (Driver version 1.16)
Starting kswapd
VFS: Diskquotas version dquot_6.5.0 initialized
Detected PS/2 Mouse Port.
pty: 2048 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with MANY_PORTS MULTIPORT SHARE_IRQ SERIAL_PCI ISAPNP enabled
ttyS0 at 0x03f8 (irq = 4) is a 16550A
ttyS1 at 0x02f8 (irq = 3) is a 16550A
Real Time Clock Driver v1.10e
oprofile: mapping APIC.
oprofile: enabled local APIC. Err code 00000000
oprofile 0.2 loaded, major 254
block: 240 slots per queue, batch=60
Uniform Multi-Platform E-IDE driver Revision: 6.31
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
VP_IDE: IDE controller on PCI bus 00 dev 39
VP_IDE: chipset revision 16
VP_IDE: not 100% native mode: will probe irqs later
VP_IDE: VIA vt82c596b (rev 23) IDE UDMA66 controller on pci00:07.1
    ide0: BM-DMA at 0xe000-0xe007, BIOS settings: hda:DMA, hdb:pio
    ide1: BM-DMA at 0xe008-0xe00f, BIOS settings: hdc:DMA, hdd:DMA
hda: Maxtor 91531U3, ATA DISK drive
hdc: LITE-ON LTR-48125S, ATAPI CD/DVD-ROM drive
hdd: Pioneer DVD-ROM ATAPIModel DVD-103S 011, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: 30015216 sectors (15368 MB) w/512KiB Cache, CHS=1868/255/63, UDMA(66)
ide-floppy driver 0.99.newide
Partition check:
 hda: hda1 hda2 hda3 < hda5 hda6 hda7 hda8 > hda4
 hda2: <bsd: hda9 hda10 hda11 >
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
NET4: Frame Diverter 0.46
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
ide-floppy driver 0.99.newide
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 8192 bind 16384)
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
Freeing initrd memory: 127k freed
VFS: Mounted root (ext2 filesystem).
Journalled Block Device driver loaded
kjournald starting.  Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
Freeing unused kernel memory: 212k freed
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
usb-uhci.c: $Revision: 1.275 $ time 13:44:31 Sep  4 2002
usb-uhci.c: High bandwidth mode enabled
PCI: Found IRQ 10 for device 00:07.2
usb-uhci.c: USB UHCI at I/O 0xe400, IRQ 10
usb-uhci.c: Detected 2 ports
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 2 ports detected
usb-uhci.c: v1.275:USB Universal Host Controller Interface driver
usb.c: registered new driver hiddev
usb.c: registered new driver hid
hid-core.c: v1.8.1 Andreas Gal, Vojtech Pavlik <vojtech@suse.cz>
hid-core.c: USB HID support drivers
hub.c: USB new device connect on bus1/2, assigned device number 2
mice: PS/2 mouse device common for all mice
input0: USB HID v1.00 Mouse [Logitech USB-PS/2 Trackball] on usb1:2.0
EXT3 FS 2.4-0.9.18, 14 May 2002 on ide0(3,5), internal journal
Adding Swap: 481940k swap-space (priority -1)
kjournald starting.  Commit interval 5 seconds
EXT3 FS 2.4-0.9.18, 14 May 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.18, 14 May 2002 on ide0(3,6), internal journal
EXT3-fs: mounted filesystem with ordered data mode.
SCSI subsystem driver Revision: 1.00
hdd: ATAPI DVD-ROM drive, 512kB Cache
Uniform CD-ROM driver Revision: 3.12
scsi0 : SCSI host adapter emulation for IDE ATAPI devices
  Vendor: LITE-ON   Model: LTR-48125S        Rev: 1S05
  Type:   CD-ROM                             ANSI SCSI revision: 02
parport0: PC-style at 0x378 [PCSPP,TRISTATE]
ohci1394: pci_module_init failed
ip_tables: (C) 2000-2002 Netfilter core team

User avatar
Void Main
Site Admin
Site Admin
Posts: 5716
Joined: Wed Jan 08, 2003 5:24 am
Location: Tuxville, USA
Contact:

Post by Void Main » Sat Apr 19, 2003 6:56 pm

A couple of things come to mind. First it appears that it is setting up your CD on /dev/sr0 rather than /dev/scd0. Try sticking a known good CD in your drive and type "mount /dev/sr0 /mnt/cdrom". If that gives an error then maybe you don't have SCSI CD-ROM support compiled into the kernel:

http://linux.wku.edu/archive/wku-linux/ ... 00024.html

User avatar
Calum
guru
guru
Posts: 1349
Joined: Fri Jan 10, 2003 11:32 am
Location: Bonny Scotland
Contact:

Post by Calum » Sun Apr 20, 2003 12:59 pm

Code: Select all

root@boxotrix:~# mount /dev/sr0 /mnt/cdrom
mount: block device /dev/sr0 is write-protected, mounting read-only
root@boxotrix:~# ls -al /dev/scd0
brw-r-----    1 root     disk      11,   0 Jul 18  1994 /dev/scd0
so i did that, and it has mounted the CD drive perfectly! this is odd, as i installed slackware before and didn't have this issue. i suppose i just need to use sr0 as the device from now on.
thanks very much for noticing that.

User avatar
Void Main
Site Admin
Site Admin
Posts: 5716
Joined: Wed Jan 08, 2003 5:24 am
Location: Tuxville, USA
Contact:

Post by Void Main » Sun Apr 20, 2003 1:06 pm

/dev/cdrom should just be a symbolic link to /dev/scd0. You can change it to point to /dev/sr0 instead and that would be the only change you have to make:

# ln -sf /dev/sr0 /dev/cdrom

Post Reply