LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-07-2003, 11:31 PM   #16
geoff_f
Member
 
Registered: May 2003
Location: Canberra, Australia
Distribution: openSUSE 11.3
Posts: 445

Rep: Reputation: 31

Update: do NOT carry out the second part of the instructions involving /etc/modules.conf and thereafter. I just tried it (I'm doing this in parallel with you destry) and it caused a problem with modules.conf during the boot sequence. Thankfully, my computer booted into a console, so I was able to copy the modules.conf back to /etc from my backup, and I was able to re-boot no problems. More research on my part is needed before we go too much further. I saw somewhere that the modules.conf changes might not be needed, but as the thread was about Suse, I thought that it might not apply here.

Geoff.
 
Old 06-07-2003, 11:46 PM   #17
geoff_f
Member
 
Registered: May 2003
Location: Canberra, Australia
Distribution: openSUSE 11.3
Posts: 445

Rep: Reputation: 31
Lots of info is available in the help files that Mandrake supply. It should have been installed by default. Look at K->Documentation->Help (its icon looks like a lifesaver ring - appropriate). In there, click on 'Browse Info Pages' in the left panel. That leads you to most of the commands in Linux. You could also click on Unix Manual Pages and browse there (but they're harder to find - there's no index). There's lots of other stuff in the left panel: KDE, KDE Control Center, etc. There's also a good deal of help from Mandrake in K->Documentation->Mandrake Linux Documentation in English. From there, you can choose their Quick Startup Guide, Starter Guide, and Command Line Manual.
 
Old 06-07-2003, 11:56 PM   #18
rch
Member
 
Registered: Feb 2003
Location: Santa Clara,CA
Distribution: Mandriva
Posts: 909

Rep: Reputation: 48
Re: re: dev not found

Quote:
Originally posted by destry
OK Geoff, the following is the output from the grepxx command:

[root@localhost paul]# dmesg|grep CD
hdc: ATAPI-CD ROM-DRIVE-56MAX, ATAPI CD/DVD-ROM drive
hdd: LITE-ON LTR-48125W, ATAPI CD/DVD-ROM drive
Type: CD-ROM ANSI SCSI revision: 02
hdc: ATAPI 56X CD-ROM drive, 128kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.12
Attached scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0
sr0: CDROM not ready. Make sure there is a disc in the drive.
[root@localhost paul]#

Now, can you tell me how to be root when I open the K-Write editor
and what to write so I dont destroy everything again?

Thanks, destry
Due thanks to Destry,
It appears that Mandy configures the ide-cd automatically(so the hdd=ide-scsi) line in lilo.conf.
So check your /etc/fstab
It should contain something like
/dev/cdrom /mnt/cdrom auto <options> 0 0
add
/dev/cdrom1 /mnt/cdrom1 auto <options same as above> 0 0

you have to make sure that ide-cd does not lock the cdrom
You have to add
options ide-cd hdd=ignore
(Geoff I don't know what happened but it should work!)
now
go to your /dev
cd /dev
ls -l cdrom
if the file exists do the following
ln -s /dev/scd1 cdrom1
ln -s /dev/scd1 cdrw
If cdrom1 exists delete that and do it again
rm cdrom1

now go to your mnt directory
cd /mnt
mkdir cdrom1
chmod 755 to all files and directory you have created
and it should work
Incidentally Geoff where exactly was the problem
There must be some error message-what is the message?
 
Old 06-08-2003, 12:07 AM   #19
geoff_f
Member
 
Registered: May 2003
Location: Canberra, Australia
Distribution: openSUSE 11.3
Posts: 445

Rep: Reputation: 31
rch,

My fault - I forgot to run lilo after making the changes to lilo.conf. I'll follow your newer instructions now.
 
Old 06-08-2003, 10:03 AM   #20
geoff_f
Member
 
Registered: May 2003
Location: Canberra, Australia
Distribution: openSUSE 11.3
Posts: 445

Rep: Reputation: 31
Well I finally got it working, thanks to rch, but the difficulty I had was no thanks to me. I think I spent most of my time recovering to where I was before I messed things up, but it turned out to be pretty straightforward after that.

My system is similar to destry's: DVD-ROM master on secondary channel (hdc), CD-RW slave on secondary channel (hdd). As the 'append' line in lilo.conf was:

append = "quiet noapic devfs=mount hdd=ide-scsi acpi=off"

I changed that to:

append = "quiet noapic devfs=mount hdc=ide-scsi hdd=ide-scsi acpi=off"

I hesitated about adding the 'options ide-cd hdd=ignore' line to the end of /etc/modules.conf. Since the aim was to make sure that ide-cd does not lock the DVD-ROM I changed that to read 'options ide-cd hdc=ignore'. My modules.conf now shows:

alias net-pf-4 ipx
alias autofs autofs4
probeall scsi_hostadapter ide-scsi
alias sound-slot-1 snd-emu10k1
alias eth0 8139too
above snd-emu10k1 snd-pcm-oss
alias sound-slot-0 snd-cmipci
probeall usb-interface usb-ohci
above snd-cmipci snd-pcm-oss
options ide-cd hdc=ignore

I then ran lilo and re-booted. I did not run the link commands, as Mandrake 9.1 uses devfs, which makes the references to the devices quite different. It seemed that I would only be pointing to similar things so I decided to leave it for the moment. (The drives use supermount as well, and I thought that might be another complication.)

The original listing of the applicable lines in /etc/fstab were:

none /mnt/cdrom supermount dev=/dev/hdc,fs=auto,ro,--,iocharset=iso8859-15,codepage=850,umask=0 0 0 # DVD-ROM
none /mnt/cdrom2 supermount dev=/dev/scd0,fs=auto,ro,--,iocharset=iso8859-15,codepage=850,umask=0 0 0 # CD-RW

After re-booting, they changed to:

none /mnt/cdrom supermount dev=/dev/scd1,fs=auto,ro,--,umask=0 0 0 # CD-RW
none /mnt/cdrom2 supermount dev=/dev/scd0,fs=auto,ro,--,umask=0 0 0 # DVD-ROM

The comment annotations are mine. The info came from scd0 and scd1 listings in Mandrake Control Center (MCC). You can see that the connections became reversed: where previously system links pointed to the CD-RW, they now point to the DVD-ROM , and vice versa. The reason for the swap is because the order of allocation to scd0 and scd1 is in order of connection to the bus (master, then slave). Previously, there was only one connected to ide-scsi (hdd - the slave) so it was allocated scd0 regardless. Adding the master to ide-scsi bumped it up to scd1.

This completely confused parts of KDE. Although Konqueror would list both drives and show their contents, K3b - the reason we're doing all this - would not list file contents against the DVD-ROM drive, which did not change even though K3bsetup identified it correctly and reported that it successfully configured both drives. Trying to list files against the DVD-ROM drive gave a message about not being able to access the drive and to run K3bsetup to configure it.

I decided to change the mount points of the drives in MCC (K->Configuration->Mandrake Control Center->Mount Points) I started the tools and entered the data as existed originally on the machine: /mnt/cdrom for the DVD-ROM and /mnt/cdrom2 for the CD-RW. I saved the data, exited and re-examined /etc/fstab. The applicable lines now looked like:

none /mnt/cdrom supermount dev=/dev/scd0,fs=auto,ro,--,umask=0 0 0
none /mnt/cdrom2 supermount dev=/dev/scd1,fs=auto 0 0

Since the read-only flag and umask were missing from the cdrom2 entry, I went back into MCC and entered those settings. The 'supermount' setting was then found as not checked so that was checked as well (hmmm, strange goings on here; might just have been my inexperience though). The /etc/fstab lines now show:

none /mnt/cdrom supermount dev=/dev/scd0,fs=auto,ro,--,umask=0 0 0 # DVD-ROM
none /mnt/cdrom2 supermount dev=/dev/scd1,fs=auto,ro,--,umask=0 0 0 # CD-RW
(again, comment annotations are mine)

From this point on, things started to work. After running K3bsetup, the DVD-ROM showed up in K3b and you could list its contents and could include it as a source for a Direct CD Copy, but the burn process failed with an error message suggesting that Cdrdao could not find the DVD-ROM device. The output of the debugging window suggested that I change the Cdrdao driver for the DVD-ROM to 'generic-mmc' in K3b's config settings. I opened Settings->Configure K3b and clicked on the Devices icon. Under the DVD-ROM's listing for Cdrdao driver, I clicked the drop-down box, selected 'generic-mmc' for the driver and clicked OK. (It was previously set to 'auto')

From there, everything worked. I can access both drives through their mount points in Konqueror, and have sucessfully burned CDs from the DVD-ROM in Direct CD Copy mode and individual files mode, using various combinations of 'on the fly' and 'Disk at once' options.

I apologise for recounting the saga in such detail, but it might be important for the inexperienced (of which I'm one) to be able to follow and understand. In the end, the extra linking commands proved to be unnecessary. In summary, the process was:

1. Add 'hdc=ide-scsi' to the 'append' line in lilo.conf.
# make this 'hdd=ide-scsi' if your DVD-ROM is connected as slave.
2. Add a new line at the end of /etc/modules.conf:
options ide-cd hdc=ignore
# make this 'option ide-cd hdd=ignore' if your DVD-ROM is connected as slave.
3. Re-boot.
4. Open Mandrake Control Center and change the mount points back to their original settings. This step should only be necessary if your DVD-ROM drive is master and the CD-RW is slave.
5. Run K3bsetup, then run K3b and change the Cdrdao driver of the DVD-ROM drive to 'generic-mmc'. This last step may vary for particular setups. Suck it and see.

Hope this helps,

Geoff.

Last edited by geoff_f; 06-08-2003 at 10:09 AM.
 
Old 06-08-2003, 11:08 PM   #21
destry
Member
 
Registered: May 2003
Location: Texas
Distribution: Win2000, Lindows, Xandros, Mandrake?
Posts: 40

Original Poster
Rep: Reputation: 15
re: Geoff=dev not found

Geoff, sorry I havent answered the forum posts you made yesterday. Just got back in town again.

Well, I just saw the latest posts. I did a magic trick yesterday on Mandrake 9.1-I made my CD and CDRW disappear. While I was backing up my system, as you suggested my floppy program hung up and I guess it didnt make a backup and I am now doing a 5th install.

I need the practice anyway. Should I use the last post that was made concerning reconfigureing the conf. files?

Appreciate the help, destry
 
Old 06-08-2003, 11:25 PM   #22
geoff_f
Member
 
Registered: May 2003
Location: Canberra, Australia
Distribution: openSUSE 11.3
Posts: 445

Rep: Reputation: 31
Yes, that's your best bet for the moment. Don't forget to look at the installation tips that I gave before from Mandrake Tips 4 Free - that's a very good website.

Good luck for the installation, Geoff.
 
Old 06-08-2003, 11:47 PM   #23
rch
Member
 
Registered: Feb 2003
Location: Santa Clara,CA
Distribution: Mandriva
Posts: 909

Rep: Reputation: 48
Geoff nice to hear that you correctly configured your CDRW and DVDROM.I think that linking files does not hurt(in /dev) as devfs are backward compatilble(check your configuration in /etc/devfsd.conf (or something like this)).
As for Destry,I can't understand why you have to install the system again and again.
I had to install Rh 6.0 around 3-4 years ago and I am still using the system though I have upgraded it to Rh9.0.
(and you can try Geoff's suggested processes,I am sure it will work.)
 
Old 06-09-2003, 09:21 AM   #24
rch
Member
 
Registered: Feb 2003
Location: Santa Clara,CA
Distribution: Mandriva
Posts: 909

Rep: Reputation: 48
Geoff and Destry,I will not reply to any of your posts within next 3 days coz I have 3 project presentations in my uni.I hope that by that time your problems with CDRW will have been solved and you get it in working order.(Incidentally ,I don't have a CDRW ,I use the one in the Uni,and my favourite CD burning app is xcdroast,never used K3b.Anyway how's K3b?)
 
Old 06-09-2003, 03:11 PM   #25
destry
Member
 
Registered: May 2003
Location: Texas
Distribution: Win2000, Lindows, Xandros, Mandrake?
Posts: 40

Original Poster
Rep: Reputation: 15
rch, re: hows K3B?

Rch, K3B is a real neat burning program. It has a nice GUI and is very intuitive.

It handles misic cds and data, and is very fast, if I could just get this recognition problem solved.

destry
 
Old 06-12-2003, 08:09 AM   #26
geoff_f
Member
 
Registered: May 2003
Location: Canberra, Australia
Distribution: openSUSE 11.3
Posts: 445

Rep: Reputation: 31
A little more on this one...

I revisited this issue after having a few problems with not being able to eject CDs from my DVD-ROM drive, both in K3b and in KDE generally - especially Konqueror. Pressing the manual eject button or using the 'unmount' and 'eject' menu items just would not work. Sometimes I had to close K3b and Konqueror, or even log out and back in to finally get the CD to eject. I found a site that suggested that K3b's method of mounting the CD drives for its use might cause problems with supermount, which is active by default in Mandrake 9.1. This is the site:

http://www.jennings.homelinux.net/mo...ticle&artid=14

This procedure didn't work for me: K3b could not access both drives, and told me to reconfigure with K3bsetup. But it seemed to me that causing a clash with supermount was a reasonable hypothesis, because K3bsetup's entries in /etc/fstab effectively produce two mount specifications for the same mount point. These are the lines from my /etc/fstab showing the DVD-ROM and CD-RW entries after I followed Delboy's procedure, but left the 'allow K3bsetup to make /etc/fstab entries' checked (this last step was needed to get K3b to access the drives):

none /mnt/cdrom supermount dev=/dev/scd0,fs=auto,ro,--,iocharset=iso8859-15,codepage=850,umask=0 0 0 *** DVD-ROM (master) ***
none /mnt/cdrom2 supermount dev=/dev/scd1,fs=auto,ro,--,iocharset=iso8859-15,codepage=850,umask=0 0 0 *** CD-RW (slave) ***

(added by K3b: )
/dev/scsi/host0/bus0/target0/lun0/cd /mnt/cdrom/ auto ro,noauto,user,exec 0 0
/dev/scsi/host0/bus0/target1/lun0/cd /mnt/cdrecorder auto ro,noauto,user,exec 0 0

Notice the two entries involving /mnt/cdrom. I figured that K3b might have problems with using supermount devices because the drives have right-click menu items of 'unmount' and 'eject'. So I thought that instead of specifying the supermount devices in K3bsetup, it would be better to provide normally mounted devices made especially for K3b. So I removed the two lines added by K3b in /etc/fstab above, and substituted these two lines:

/dev/scsi/host0/bus0/target0/lun0/cd /mnt/k3bcdrom/ auto ro,noauto,user,exec 0 0
/dev/scsi/host0/bus0/target1/lun0/cd /mnt/k3bcdrw auto ro,noauto,user,exec 0 0

These are essentially the same as the ones they replaced, except for the new names, 'k3bcdrom' and 'k3bcdrw'. I then entered, as root:

cd /mnt
mkdir k3bcdrom
mkdir k3bcdrw
chmod 755 k3bcdrom
chmod 755 k3bcdrw

I then ran K3bsetup, which presented the two CD drives as /mnt/k3bcdrom and /mnt/k3bcdrw. I accepted these, and used 'generic-mmc' for the DVD-ROM Cdrdao driver, and 'auto' for the CD-RW Cdrdao driver.

The setup now works much better - but not faultless, unfortunately. In KDE, especially in Konqueror, CDs are now released when the manual eject button is pressed. In K3b, both drives list the contents of installed CDs, and the DVD-ROM can be used in Copy CD Direct mode. However, in K3b, the DVD-ROM drive still will not release the CD when the manual eject button or the 'unmount' and 'eject' menu combination is used (the CD-RW works normally in this regard). The workaround is to swap to Konqueror and list the CD's contents by clicking on /mnt/k3bcdrom. The DVD-ROM will then respond to the eject button. While not totally satisfactory, this is at least acceptable for the moment.

So, in relation to the steps I outlined in my previous post, include the above changes as step 4A and you should have your CD drives operating with minimal disruption.

Last edited by geoff_f; 06-12-2003 at 08:11 AM.
 
Old 06-12-2003, 09:45 AM   #27
destry
Member
 
Registered: May 2003
Location: Texas
Distribution: Win2000, Lindows, Xandros, Mandrake?
Posts: 40

Original Poster
Rep: Reputation: 15
re: dev not found

Geoff, good to hear from you, we are still on step 1. Have not gotten K3B to recognize our cdrom.

We have printed out all correspondence on this matter so that we may be able in the future to solve this problem.

In the interim we have had to resort to using our Win 2000 machine because we are behind in our work. Once we catch up mabey we can use the information that rch and you have provided to learn about Linux!

Thanks, destry
 
Old 06-15-2003, 07:05 AM   #28
rch
Member
 
Registered: Feb 2003
Location: Santa Clara,CA
Distribution: Mandriva
Posts: 909

Rep: Reputation: 48
Geoff and Destry I am back(after a hectic week).Geoff ,your problem of not being able to eject may be because the K3b program is locking the cdrom.If your CDRW is cdrom2 try
fuser /mnt/cdrom2 and see what happens.(Also read the man pages -man fuser).Supermount does affect the cdrw,and you can safely remove it.
Destry ,how come you are not even in the step one?
Try this one
http://wt.xpilot.org/publications/li...-writing/html/
 
Old 06-15-2003, 03:29 PM   #29
destry
Member
 
Registered: May 2003
Location: Texas
Distribution: Win2000, Lindows, Xandros, Mandrake?
Posts: 40

Original Poster
Rep: Reputation: 15
Re: device not found

rch, thanks for checking on us. I have also been on another project, however I still have not been able to configure my CDrom to be used by K3B.

Got my boxed set from Mandrake this week and installed it. It has the same problem. With a registration number I contacted support thinking that they might have a simple solution for newbs. Guess what? They said that to answer this question they would have to charge me even though I have only had the OS for One Week!

This may come as a shock to some, but Mandrake does not honor their warranty or thier support obligations.

I had to go back to Windows 2000 because I Have to get some work done I just cant put it off any longer.

I did find out that I can copy a CD by using the tmp file, it just takes longer to copy the CD to the hard drive and then to the burner.

Sure appreciate all the help from fellow Operating travelers. We are taking linux courses in the fall at the local college and hope to advance in Linux but for now I guess its a no go.

My advice to those buying Mandrake and RedHat, dont expect any support from them because it does not exist!

RedHat actually emailed us to see if we wanted to buy support! We told them we still had support time left that they were not honoring so why should we purchase more worthless support?

Sincerely, destry
 
Old 06-16-2003, 01:59 AM   #30
geoff_f
Member
 
Registered: May 2003
Location: Canberra, Australia
Distribution: openSUSE 11.3
Posts: 445

Rep: Reputation: 31
re: dev not found

destry, hope to see you back here soon.

rch, thanks for the info on fuser; I think I would prefer to just use Konqueror to list the CD's contents, then hit the manual eject button - it's quicker for me.

I found another problem with my suggested solution a few posts back, and that has to do with putting 'option ide-cd hdc=ignore' in /etc/modules.conf. This stopped my scanner working, and removing it allowed the scanner to work. More info on that issue here:

http://www.linuxquestions.org/questi...threadid=65867

Also, leaving that line out didn't stop my DVD-ROM drive being accessed by K3b. I therefore think it would be best - at least for Mandrake 9.1 - to leave out the entry for 'option ide-cd hdc=ignore' in /etc/modules.conf. The summary of getting a DVD-ROM or CD-ROM working with K3b is now:

1. Add 'hdc=ide-scsi' to the 'append' line in lilo.conf.
# Make this 'hdd=ide-scsi' if your DVD-ROM is connected as slave.
2. Re-boot.
3. Open Mandrake Control Center and change the mount points back to their original settings. This step should only be necessary if your DVD-ROM drive is master and the CD-RW is slave.
4. Add two new mount points, /mnt/k3bcdrom and /mnt/k3bcdrw, using a console, and put entries for them into /etc/fstab:
Console:
cd /mnt
mkdir k3bcdrom
mkdir k3bcdrw
chmod 755 k3bcdrom
chmod 755 k3bcdrw
Add to /etc/fstab:
/dev/scsi/host0/bus0/target0/lun0/cd /mnt/k3bcdrom/ auto ro,noauto,user,exec 0 0
/dev/scsi/host0/bus0/target1/lun0/cd /mnt/k3bcdrw auto ro,noauto,user,exec 0 0
#If your DVD-ROM is connected as slave, change the name in the first entry to 'k3bcdrw' and the one in the second entry to 'k3bcdrom'.
5. Run K3bsetup, then run K3b and change the Cdrdao driver of the DVD-ROM drive to 'generic-mmc'. This last step may vary for particular setups. Suck it and see.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Tcl/Tk Dev packages DesyphER Linux - Software 1 03-02-2005 02:15 AM
Packages Not Found dougbarrett Linux - Software 4 12-29-2004 09:17 PM
Mandrake Update/Install Packages/Remove Packages wslyhbb Mandriva 2 03-15-2004 10:43 AM
USB Compact flash card reader hotplug creates /dev/sda but no /dev/sda1 -Mandrake 9.1 bibinono Linux - Hardware 2 08-11-2003 10:37 AM
packages not found Boom Linux - Newbie 1 01-09-2003 02:53 AM


All times are GMT -5. The time now is 04:51 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration