DeeJayBump Posted April 20, 2004 Report Share Posted April 20, 2004 (edited) I have two optical drives: the primary reader being a DVD drive, and a CD-R drive. When there is burned media inserted into both drives, the dvd drive's contents can be viewed with Konqueror at /mnt/cdrom however the CD-R drive will not list the CD's contents at /mnt/cdrom2 or mnt/cdwriter. However, once I run K3B and click on the CD-R drive in K3B, the contents are listed under K3B and can then be viewed with Konqueror at /mnt/cdwriter. My question is: how do I correct this so that the CD-R's contents will show up at /mnt/cdwriter without having to run K3B? Any help would be appreciated. Thanks for reading. I am running Mandrake 9.2. Also, I had a prior issue that was resolved by users/readers of these forums regarding K3B and my optical drives: I don't know if it has any bearing on the current issue, but it can be viewed here: http://www.mandrakeusers.org/index.php?showtopic=11845 Edited April 20, 2004 by DeeJayBump Quote Link to comment Share on other sites More sharing options...
aRTee Posted April 20, 2004 Report Share Posted April 20, 2004 please post your /etc/fstab file here, and the result of ll /mnt thanks. Quote Link to comment Share on other sites More sharing options...
DeeJayBump Posted April 20, 2004 Author Report Share Posted April 20, 2004 please post your /etc/fstab file here, and the result of ll /mnt thanks. /etc/fstab: /dev/hda5 / ext3 defaults 1 1 none /dev/pts devpts mode=0620 0 0 /dev/hda7 /home ext3 defaults 1 2 none /mnt/cdrom supermount dev=/dev/cdrom,fs=udf:iso9660,ro,--,user,sync,iocharset=iso8859-1,ide-scsi 0 0 none /mnt/cdrom2 supermount dev=/dev/hdc,fs=auto,ro,--,user,iocharset=iso8859-1,umask=0,sync,ide-scsi 0 0 none /mnt/floppy supermount dev=/dev/fd0,fs=ext2:vfat,--,iocharset=iso8859-1,sync,umask=0,codepage=850 0 0 /dev/hda1 /mnt/win_c vfat iocharset=iso8859-1,umask=0,codepage=850 0 0 /dev/hdd1 /mnt/win_c2 vfat iocharset=iso8859-1,umask=0,codepage=850 0 0 none /proc proc defaults 0 0 /dev/hda6 swap swap defaults 0 0 /dev/scsi/host0/bus0/target1/lun0/cd /mnt/cdwriter auto ro,noauto,user,exec 0 0 /dev/scsi/host0/bus0/target0/lun0/cd /mnt/cdrom auto ro,noauto,user,exec 0 0 results of ll /mnt: dr-xr-xr-x 1 root root 2048 Dec 31 1969 cdrom/ drwxrwxrwx 0 root root 0 Apr 17 13:52 cdrom2/ dr-xr-xr-x 1 root root 2048 Dec 31 1969 cdwriter/ drwxrwxrwx 0 root root 0 Apr 17 13:52 floppy/ drwxrwxrwx 15 root root 8192 Dec 31 1969 win_c/ drwxrwxrwx 7 root root 4096 Dec 31 1969 win_c2/ Quote Link to comment Share on other sites More sharing options...
aRTee Posted April 20, 2004 Report Share Posted April 20, 2004 1) you could always just issue this command (not as root, just as user): mount /mnt/cdwriter and then read it. Note: you have to do umount /mnt/cdwriter to be able to open the drive; either press the button or issue the command: eject /dev/cdrom You can make icons on your desktop or on your taskbar with those commands behind them so you won't have to type them later on anymore, just click away... 2) so with a cd in the writer, what is the output of ls /mnt/cdrom ? Note: in normal use, from your fstab, /mnt/cdrom should have the contents of your cdburner, not /mnt/cdrom2 3) it seems that the dvd drive is the master and the cd burner the slave; common advice is to put the burner as master and dvdrom as slave, both on the second ide channel/cable... 4) Could you also post the output of the following commands: ll /dev/cdrom ll /dev/hdc Quote Link to comment Share on other sites More sharing options...
AussieJohn Posted April 20, 2004 Report Share Posted April 20, 2004 Sorry ARTEE, but from everything I have read on the subject, it is NOT recommended to put both optical drives in the same IDE channel, especially if you consider any burning "on the fly". In that situation, both drives will be competing for the same in/out channels simultaneously. I also notice in your /etc/fstab that you have ,sync, in both lines for the cdroms. I think you should try deleting it for starters. I only ever once had cdrom problems a long time ago and removing ,sync, fixed the problem and at no time since have I ever seen it in any of my 30 to 40 installs of mandrake. For /mnt/cdrom i would also change to fs=auto as well. And for cdrom2, I would change to read dev=/dev/cdrom2. Basically both cdroms' lines should be similar. Hope this helps. Quote Link to comment Share on other sites More sharing options...
aRTee Posted April 20, 2004 Report Share Posted April 20, 2004 Yeah, you are right about not having both drives on the same channel IF YOU WANT TO BURN ON THE FLY. In no other case is it any problem. My advice: don't burn on the fly. You don't know yet if the cd you want to copy is perfectly readable. Burning on the fly is easy to avoid. Aside from that, the alternative would be to put one drive next to the harddrive on the first ata/ide channel - which is not smart since harddrives nowadays often do ata66, 100 or even 133, and cdburners/dvdroms etc do ata33 at best - and all drives on the same channel switch down to the lowest common denominator, afaik, which means that your harddrive will ALWAYS run slower than necessary. Now, you don't use your burner as much as you use your harddrive. So my recommendation still stands, just keep both cdrom and writer on the second channel, but make the burner the master, the reader the slave. Back on topic: AussieJohn, I agree with the /dev/cdrom2, that is why I asked to post the result of ll /dev/hdc since from the lines in the fstab for K3B I gather that it is running through ide-scsi emulation.... If there is no /dev/hdc, there should be /dev/cdrom2 or maybe /dev/cdrom1 or so, which should go instead of /dev/hdc into the fstab... Quote Link to comment Share on other sites More sharing options...
DeeJayBump Posted April 20, 2004 Author Report Share Posted April 20, 2004 ll /dev/cdrom lr-xr-xr-x 1 root root 36 Apr 17 06:52 /dev/cdrom -> /dev/scsi/host0/bus0/target0/lun0/cd ll /dev/hdc lr-xr-xr-x 1 root root 35 Apr 17 13:52 /dev/hdc -> ide/host0/bus1/target0/lun0/generic I do alot of on the fly burning, so I would rather not switch the drives around. Quote Link to comment Share on other sites More sharing options...
DeeJayBump Posted April 20, 2004 Author Report Share Posted April 20, 2004 (edited) I also notice in your /etc/fstab that you have ,sync, in both lines for the cdroms. I think you should try deleting it for starters. For /mnt/cdrom i would also change to fs=auto as well. And for cdrom2, I would change to read dev=/dev/cdrom2. Basically both cdroms' lines should be similar. Hope this helps. Thanks, John. I followed those suggestions, and now konqueror will display the drive's contents without having to run K3B. I appreciate the help. Edited April 20, 2004 by DeeJayBump Quote Link to comment Share on other sites More sharing options...
aRTee Posted April 20, 2004 Report Share Posted April 20, 2004 If you do a lot of on the fly burning, you should switch them as John indicated.... Glad it is working fine now, will remember that 'sync' thing... Quote Link to comment Share on other sites More sharing options...
Ciinien Posted April 23, 2004 Report Share Posted April 23, 2004 (edited) While not totally applicable, I am having some of these same problems with finding and using my CD and CD-RW. Please find the following information: /etc/fstab /dev/hda1 / ext3 defaults 1 1 none /dev/pts devpts mode=0620 0 0 /dev/hda6 /home ext3 defaults 1 2 none /mnt/cdrom supermount dev=/dev/hdd,fs=auto,ro,--,iocharset=iso8859-1,codepage=850,nodev 0 0 none /mnt/cdrom2 supermount dev=/dev/hdc,fs=auto,ro,--,iocharset=iso8859-1,codepage=850,nodev 0 0 /dev/fd0 /mnt/floppy auto user,iocharset=iso8859-1,sync,codepage=850,noauto,exec 0 0 none /proc proc defaults 0 0 none /tmp tmpfs defaults 0 0 /dev/hda5 swap swap defaults 0 0 /etc/lilo.conf # File generated by DrakX/drakboot # WARNING: do not forget to run lilo after modifying this file boot=/dev/hda map=/boot/map default="linux-secure" keytable=/boot/us.klt prompt nowarn timeout=50 message=/boot/message menu-scheme=wb:bw:wb:bw image=/boot/vmlinuz label="linux" root=/dev/hda1 initrd=/boot/initrd.img append="devfs=mount acpi=ht resume=/dev/hda5 splash=silent" vga=791 read-only image=/boot/vmlinuz label="linux-nonfb" root=/dev/hda1 initrd=/boot/initrd.img append="devfs=mount acpi=ht resume=/dev/hda5" vga=791 read-only image=/boot/vmlinuz-secure label="linux-secure" root=/dev/hda1 initrd=/boot/initrd-secure.img append="devfs=mount acpi=ht resume=/dev/hda5 splash=silent" vga=791 read-only image=/boot/vmlinuz label="failsafe" root=/dev/hda1 initrd=/boot/initrd.img append="failsafe acpi=ht resume=/dev/hda5 devfs=nomount" vga=791 read-only [root@bsdlabs mnt]# ll total 4 drwxrwxrwx 0 root root 0 Apr 23 11:33 cdrom/ drwxrwxrwx 0 root root 0 Apr 23 11:54 cdrom2/ drwxr-xr-x 2 root root 4096 Apr 20 12:37 floppy/ [root@bsdlabs mnt]# cdrecord -scanbus Cdrecord-Clone 2.01a27-dvd (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jörg Schilling Note: This version is an unofficial (modified) version with DVD support Note: and therefore may have bugs that are not present in the original. Note: Please send bug reports or support requests to <warly@mandrakesoft.com>. Note: The author of cdrecord should not be bothered with problems in this version. scsidev: 'ATA' devname: 'ATA' scsibus: -2 target: -2 lun: -2 Warning: Using badly designed ATAPI via /dev/hd* interface. Linux sg driver version: 3.5.27 Using libscg version 'schily-0.8'. cdrecord: Warning: using inofficial libscg transport code version (warly-scsi-linux-sg.c-1.80-mdk '@(#)scsi-linux-sg.c 1.80 04/03/08 Copyright 1997 J. Schilling'). scsibus1: 1,0,0 100) 'SAMSUNG ' 'DVD-ROM SD-608 ' 'BT01' Removable CD-ROM 1,1,0 101) 'HP ' 'CD-Writer+ 9100b' '1.07' Removable CD-ROM 1,2,0 102) * 1,3,0 103) * 1,4,0 104) * 1,5,0 105) * 1,6,0 106) * 1,7,0 107) * [root@bsdlabs mnt]# lsmod Module Size Used by sg 39772 0 lp 12904 0 r128 105664 30 md5 4864 1 ipv6 251616 14 snd-seq-midi 9184 0 snd-emu10k1-synth 7968 0 snd-emux-synth 38176 1 snd-emu10k1-synth snd-seq-virmidi 8352 1 snd-emux-synth snd-seq-midi-emul 8768 1 snd-emux-synth snd-seq-oss 33568 0 snd-seq-midi-event 8704 3 snd-seq-midi,snd-seq-virmidi,snd-seq-oss snd-seq 55696 8 snd-seq-midi,snd-emux-synth,snd-seq-virmidi,snd-seq-midi-emul,snd-seq-oss,snd-seq-midi-event snd-pcm-oss 53316 0 snd-mixer-oss 19008 1 snd-pcm-oss snd-emu10k1 88900 2 snd-emu10k1-synth snd-rawmidi 25248 3 snd-seq-midi,snd-seq-virmidi,snd-emu10k1 snd-pcm 97440 2 snd-pcm-oss,snd-emu10k1 snd-timer 26660 2 snd-seq,snd-pcm snd-seq-device 9032 7 snd-seq-midi,snd-emu10k1-synth,snd-emux-synth,snd-seq-oss,snd-seq,snd-emu10k1,snd-rawmidi snd-ac97-codec 59588 1 snd-emu10k1 snd-page-alloc 12996 2 snd-emu10k1,snd-pcm snd-util-mem 5440 2 snd-emux-synth,snd-emu10k1 snd-hwdep 10016 2 snd-emux-synth,snd-emu10k1 snd 54884 18 snd-seq-midi,snd-emux-synth,snd-seq-virmidi,snd-seq-oss,snd-seq-midi-event,snd-seq,snd-pcm-oss,snd-mixer-oss,snd-emu10k1,snd-rawmidi,snd-pcm,snd-timer,snd-seq-device,snd-ac97-codec,snd-util-mem,snd-hwdep soundcore 10208 1 snd af_packet 22824 2 hid 55136 0 ide-cd 41764 0 cdrom 38336 1 ide-cd floppy 61332 0 ipt_TOS 3232 12 ipt_REJECT 7456 4 ipt_LOG 6400 6 ipt_state 2720 16 ipt_multiport 2848 2 ipt_conntrack 3296 0 iptable_filter 3616 1 iptable_mangle 3616 1 iptable_nat 24996 0 ip_conntrack 33612 3 ipt_state,ipt_conntrack,iptable_nat ip_tables 18720 9 ipt_TOS,ipt_REJECT,ipt_LOG,ipt_state,ipt_multiport,ipt_conntrack,iptable_filter, iptable_mangle,iptable_nat 3c59x 40904 0 supermount 39856 2 intel-agp 18364 1 agpgart 32460 2 intel-agp ppa 13448 0 parport_pc 34304 1 imm 13608 0 scsi_mod 117680 3 sg,ppa,imm parport 41032 4 lp,ppa,parport_pc,imm uhci-hcd 31856 0 usbcore 102908 4 hid,uhci-hcd rtc 13704 0 ext3 114216 1 jbd 61976 1 ext3 The apps I'm trying to use (KsCD, XMMS, K3B, etc.) cannot find the player or burner. Webmin and MCC sees them both fine. Any ideas? If more info is needed, please don't hesitate to ask for it as I don't know exactly what info is required to let you guys know what the problem is/might be. Cheers! Ci Edited April 23, 2004 by Ciinien Quote Link to comment Share on other sites More sharing options...
aRTee Posted April 23, 2004 Report Share Posted April 23, 2004 On xmms I remember that you can only play a cd when you correctly indicate the device; you have to do: open url, or: play location, then put /mnt/cdrom(0,1,2 - whichever is your drive). You have to configure it in: right click --options -- preferences -- cdaudio plugin. KsCD opens automatically when I insert an audio cd, but sometimes with the wrong device, click the extras tab, select configure KsCD and make sure the right cdrom device is indicated; /dev/cdrom1 or /dev/cdrom or so. For K3B you could run k3bsetup - you will need the rootpassword. Also, make sure your settings are ok in K3B. Quote Link to comment Share on other sites More sharing options...
Ciinien Posted April 23, 2004 Report Share Posted April 23, 2004 (edited) I seem to remember trying all that, aRTee, but will try again. Thanks for the response. Cheers! Ci Edited April 23, 2004 by Ciinien Quote Link to comment Share on other sites More sharing options...
AussieJohn Posted April 24, 2004 Report Share Posted April 24, 2004 Hello Ciinien. I think your problem is in /etc/fstab Both lines for cdroms have dev=/dev/hdd and dev=/dev/hdc respectively. I think you should change the /hdd part to /cdrom and the /hdc part to /cdrom2 Do not alter anything else, then click to save the changes. You will need to reboot. If that does not work first off then change the cdrom to cdrom2 and the cdrom2 to just cdrom, of the bits you changed earlier. Do not alter anything else. Again SAVE and reboot. I find the cdrom listed as a higher number hd, namely hdd, and the cdrom2 listed as a lower hd, namely hdc, a little disconcerting. So you might need to do this 2nd alternative I give you here for it to work cheers. John. Quote Link to comment Share on other sites More sharing options...
aRTee Posted April 24, 2004 Report Share Posted April 24, 2004 Before you try what AussieJohn just recommended, do check if you actually have /dev/cdrom[0,1,2]... John, note that the cdrom number from /mnt is not necessarily related to the number that the device may have in /dev.... Quote Link to comment Share on other sites More sharing options...
AussieJohn Posted April 26, 2004 Report Share Posted April 26, 2004 (edited) I know, but it "usually" does and when it does not then I have usually found I had some screwy problems some where, that is why I said I was a little concerned ("disconcerting") and NOT that it was definately a problem. He-He-He. I've learnt to choose my words much more carefully since starting to post here at the MUB. I never knew there were so many bush lawyers in existance. Cheers. JOHN Bush lawyers............................THAT DOES NOT INCLUDE YOU aRTee, I am pleased to say. Hi ciinien, are you having any luck yet????? John Edited April 26, 2004 by AussieJohn 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.