Linux - SoftwareThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: Desktop:Windows XP Server:Nothing right now :(
Posts: 131
Rep:
k3b problems
ok, i think i have k3b installed, i did ./configure, make, and make install. but when i try to run it (logged in as root) by typing k3b in the terminal it says command not found
My k3b went to /usr/local/kde/bin, so in order to run it I would type /usr/local/kde/bin/k3b, however before doing this you should open a virtual console, su and then /usr/local/kde/bin/k3bsetup to get everything set up for your CD burner. I have changed my bash_profile to include /usr/local/kde/bin as one of my paths.
Distribution: Desktop:Windows XP Server:Nothing right now :(
Posts: 131
Original Poster
Rep:
Quote:
Originally posted by neo77777 do
chown tom /tmp/mcomp-tom
as root and you should be fine
ok did this, it said
[root@Linux tom]# chown tom /tmp/mcomp-tom
chown: failed to get attributes of `/tmp/mcomp-tom': No such file or directory
also, i reinstalled it using this different command from the k3b website
Quote:
Q: Everytime K3b starts it asks for K3bSetup to be run although I completed it.
A: Most likely you installed K3b in the wrong directory. All KDE programs are installed in the KDE dirtree (which should be /opt/kde3 but is not on all distros). If you compile K3b from source it defaults to either $KDEDIR or /usr/local (which is strange since /opt/kde3 should be the default; but this is part of the KDE build system). To install in the correct directory you need to specify the prefix to configure like this:
./configure --prefix=/opt/kde3
That will install K3b relative to /opt/kde3.
i installed the RH8 rpm, but that isnt detecting my writer, it says i need to change something for scsi emulation?
so has having 3 different installations royally messed up my system and now i'll never get it working, or is there still hope
now that i think about it........im gonna work on this tomorow, i am tired and im going to bed
In grub add this lines next to your kernel loading parameters:
Code:
kernel /vmlinuz, etc, etc.
at the end of that line add hd[xx]=ide-scsi. Note that hd[xx] stands for what device your cdwriter actually is. In my case I have hdc=ide-scsi hdd=ide-scsi. My cdwriter and DVD-rom, both are seen by the kernel as SCSI devices (there is nothing wrong with IDE, but until kernel 2.6 in order to burn CD's you would need it)
Now if you wan to enable DMA in the drive(s) open as root the file /etc/rc.d/rc.local and add to end of the file this line
Distribution: Desktop:Windows XP Server:Nothing right now :(
Posts: 131
Original Poster
Rep:
Quote:
Originally posted by Thetargos In grub add this lines next to your kernel loading parameters:
Code:
kernel /vmlinuz, etc, etc.
at the end of that line add hd[xx]=ide-scsi. Note that hd[xx] stands for what device your cdwriter actually is. In my case I have hdc=ide-scsi hdd=ide-scsi. My cdwriter and DVD-rom, both are seen by the kernel as SCSI devices (there is nothing wrong with IDE, but until kernel 2.6 in order to burn CD's you would need it)
Now if you wan to enable DMA in the drive(s) open as root the file /etc/rc.d/rc.local and add to end of the file this line
Code:
hdparm -d1 hdc hdd*
*Or whichever your devices are mapped as.
where is grub, i know its my boot loader, but how do i change it
could you explain that a little better, im still pretty new
Notice the change in the prompt symbol form a dollar ($) to a number sighn (#), this # symbol is the root's symbol. Now if you are into X type.
Code:
# gedit /etc/grub.conf
If you are in pure console mode change gedit for vi. Make sure to read vi's manual (#man vi)
Next look for this line:
kernel /vmlinuz-2.4.21-ck1 ro root=LABEL=/ (substitute the acutal number in this example with your version, most likely to be 2.4.20-18.9). After the LABEL=/ expression add a space and then hdc=ide-scsi hdd=ide-scsi (if you have two optic devices connected to your motherboard's second IDE channel) or hdb=ide-scsi if you have your CD-writer sharing IDE with your HDD.
Now to enable DMA support for your devices so you can still watch DVD movies, rip CD's, etc., you will need to edit the file rc.local located in the directory /etc/rc.d/, you would do this, again as root like this:
Code:
# gedit /etc/rc.d/rc.local
Edit the file by entering this line at the very end of it in a single line:
Code:
hdparm -d1 /dev/hdc /dev/hdd
Make sure that these devices are the same as what you entered as the kernel boot parameters (with ide-scsi). The hdparm program will enable DMA to the devices (-d1 flag) even if they use ide-scsi emulation.
Distribution: Desktop:Windows XP Server:Nothing right now :(
Posts: 131
Original Poster
Rep:
ok i did that /\/\/\ its detecting my cd drives, but its not detecting the writer as a writer is there something i have to add to tell it it's a writer?
No... there should nothing to configure to make it see your writer. All you need to do is to check where is the actual IDE connection for the writer. If you built the system, (most likely possiblity) remember that Linux uses as nomenclature for the drives the following:
hda = first Device (master) in the first IDE channel and all of its subsequent partitions, hence hda1,2,3...n (this apply only for HDDs)
hdb = second device (slave) in the first IDE channel.
hdc = first device (master) in the secondary IDE channel
hdd = second device (slave) in the secondary IDE channel
Things tend to get tricky when you have and IDE-ATA controller in the PCI bus, depending on your kernel, those channels get mapped BEFORE the on-board ones. So double check that. Also if you in any configuration file added a line as ide-cd, so that module would get loaded, comment that line out (add a # sign before it). If you are still in doubt which are your devices take a look at your /etc/fstab file and follow the symlincs for the CD-rom devices:
Code:
[gianni@Thetargos gianni]$ cd /dev
[gianni@Thetargos dev]$ ls -l cd* *dvd*
lrwxrwxrwx 1 root root 4 jun 13 01:00 cdrom -> scd0
lrwxrwxrwx 1 root root 4 jun 13 01:00 cdrom1 -> scd1
brw-rw---- 1 root disk 15, 0 ene 30 04:24 cdu31a
brw-rw---- 1 root disk 24, 0 ene 30 04:24 cdu535
lrwxrwxrwx 1 root root 4 jun 13 01:00 cdwriter -> scd0
lrwxrwxrwx 1 root root 8 jun 22 14:26 cdwriter1 -> /dev/sg1
lrwxrwxrwx 1 root root 4 jun 13 00:59 dvd -> scd1
lrwxrwxrwx 1 root root 4 jun 13 00:59 rdvd -> scd1
This is my listing of the optics devices and which are the actual devices being utilized by the different symlics. Hope this helps.
Edit: In my output I have actually two devices being mapped to the same physical device: cdrom -> scd0 and cdwrter -> scd0 are linked to the same device (my burner) and the one there saying cdwriter1 -> /dev/sg1 is actually the same physical device as the other two, i.e my burner.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.