Neues Thema eröffnen   Neue Antwort erstellen
Vorheriges Thema anzeigen Druckerfreundliche Version Einloggen, um private Nachrichten zu lesen Nächstes Thema anzeigen
Autor Nachricht
Joe Soap
Titel: How to install a second cd-rom?  BeitragVerfasst am: 19.06.2006, 17:20 Uhr



Anmeldung: 24. Jan 2005
Beiträge: 65

G'day Folks,

I recently reinstalled Kanotix and am now running 2.6.14-kanotix-9. I have a dvd writer and a cd writer installed in this pc and they both used to work just fine, one as /cdrom and the other as /cdrom1.

However, since the reinstallation I cannot access the cdwriter. The dvd is working just fine. I've fiddled with fstab, but it hasn't had anz effect.

Here's my fstab:
Code:
# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    defaults        0       0
usbfs           /proc/bus/usb   usbfs   devmode=0666    0       0
/dev/hda1       /               reiserfs defaults        0       1
/dev/hdb1       /home           reiserfs defaults        0       2
/dev/hdb2       /var            reiserfs defaults        0       2
/dev/hdb3       /usr            reiserfs defaults        0       2
/dev/hdb4       /disc1          reiserfs defaults        0       2
/dev/hde1       /windows        vfat    defaults        0       2
/dev/hdf1       /disc2          reiserfs defaults        0       2
/dev/hda5       none            swap    sw              0       0
/dev/cdrw   /media/cdwriter   iso9660 defaults,ro,users,noexec,noauto     0       0
/dev/dvd   /media/cdrom0   iso9660 defaults,ro,users,noexec,noauto     0       0
/dev/cdrom   /media/cdrom1   iso9660 defaults,ro,users,noexec,noauto     0       0
/dev/fd0        /media/floppy0  auto    rw,user,noauto  0       0


Can somebody point me in the right direction, please?

Thanks
Joe

PS: Forgot to mention - cdwriter, cdrom0 and cdrom1 all access the dvd when I use them.
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
schnorrer
Titel: How to install a second cd-rom?  BeitragVerfasst am: 19.06.2006, 19:48 Uhr



Anmeldung: 09. Jan 2006
Beiträge: 1720

You have installed Physicaly a second CD-Drive.

The reason why no access is a small jumper at the back of the drive.

Many people forgot to set this piece to SLAVE when the pack it out and install the drive.
Most Manufactorer set this Jumper to MASTER and tell his costumer this on a small paper never read.

from the MB the cable has 2 connectors, the frist is for the slave drive and the last! is for the Master-Drive.
One of those Drives has to set either to Master/Slave while the other can set to CS(cable select).

But Do not forget which drive is set to M/S and connected in the right place.
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
Joe Soap
Titel: RE: How to install a second cd-rom?  BeitragVerfasst am: 19.06.2006, 21:40 Uhr



Anmeldung: 24. Jan 2005
Beiträge: 65

Hi schnorrer, thanks for the answer. But unfortunately that isn't it. My original message is a bit misleading (Sorry Traurig ). I didn't physically install a new cdrom. It was already installed and working under my previous kanotix installation. After the reinstallation (i.e. installation of 2.6.14-kanotix-9), the cdrom doesn't get picked up anymore.

I've noticed in /dev that cdrom, cdrw, dvd and dvdrw are all links to hdg. The cdrom that I'm looking for is hdh. So I guess I just have to create a link to hdh and that should be that.
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
schnorrer
Titel: RE: How to install a second cd-rom?  BeitragVerfasst am: 19.06.2006, 22:20 Uhr



Anmeldung: 09. Jan 2006
Beiträge: 1720

Tnx for fast reply. Hope many newbees will do a HW-Upgrade and my previeous post will help them.

Back to your Prob.

Depends on where you have installed it. I suppose at the second IDE-Port, than the link is /dev/hdc for Master and /dev/hdd for Slave

Hda and hdb are your first 2 hd's at first IDE-Port hde and hdf are master slave at 3rd IDE-Port and Promis-controler does badly support CD/DVD-Drives.

sdX are reserved for Sata,USB and SCSI-drives
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
severin
Titel: RE: How to install a second cd-rom?  BeitragVerfasst am: 20.06.2006, 12:31 Uhr



Anmeldung: 18. Mar 2004
Beiträge: 3417

@Joe Soap: dev links are handled by udev, so you shouldn't be able to create them yourself (i.e. they'll be reset to what udev likes at boot). Check hack-o-master's and my (second-last) posting on http://kanotix.com/PNphpBB2-viewtopic-t ... enner.html as to creating a file /etc/udev/udev_my.rules - the information you have to enter in /etc/udev/udev_my.rules can be obtained by
Code:
udevinfo -a -p $(udevinfo -q path -n /dev/hdc)
(hope you'll get along with the german - just post a note if you don't)

_________________
Kein Wort verstanden? Auf http://kanotix.com/index.php?module=pnW ... uerDummies
gibt's ein Glossar.

No clue what I'm talking about? New to Linux? Check http://kanotix.com/index.php?module=pnW ... ForDummies for a glossary.
 
 Benutzer-Profile anzeigen Private Nachricht senden Website dieses Benutzers besuchen ICQ-Nummer 
Antworten mit Zitat Nach oben
Joe Soap
Titel: RE: How to install a second cd-rom?  BeitragVerfasst am: 20.06.2006, 16:25 Uhr



Anmeldung: 24. Jan 2005
Beiträge: 65

Hi severin, thanks for the pointer. My German's passable Smilie, but I'll holler if I get stuck
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
Joe Soap
Titel: RE: How to install a second cd-rom?  BeitragVerfasst am: 17.08.2006, 07:46 Uhr



Anmeldung: 24. Jan 2005
Beiträge: 65

Hi severin

Sorry for the long delay in replying - I was out of the country until Sunday. Am still slowly finding my feet Smilie

I had a look at the topic to which you referred me. I think I'll be able to create a /etrc/udev/udev_my.rules but I'm unsure what else to do. It seems one must also create some symlinks. Is that right? (My Germain ain't that good...)

Thanks for your help.

Cheers
Joe
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
severin
Titel: RE: How to install a second cd-rom?  BeitragVerfasst am: 17.08.2006, 08:24 Uhr



Anmeldung: 18. Mar 2004
Beiträge: 3417

Ouch, sorry. I've just glanced over the thread again - looks like one *does* have to create one link to make udev even care about your new /etc/udev/udev_my.rules:
Code:
cd /etc/udev/rules.d
ln -sf ../udev_my.rules .


P.S.: another thing: since the posting was written, the udev_my.rules syntax has changed. udev now differentiates between the comparison "equals" and the assignment "let" (you know C?). i.e. instead of something like
Code:
BUS="ide", SYSFS{dev}="22:0", KERNEL="hd*", NAME="branntschwein"
you'd need something like
Code:
BUS=="ide", SYSFS{dev}=="22:0", KERNEL=="hd*", NAME="branntschwein"
(notice the double [comparison] versus single [let] "=")

_________________
Kein Wort verstanden? Auf http://kanotix.com/index.php?module=pnW ... uerDummies
gibt's ein Glossar.

No clue what I'm talking about? New to Linux? Check http://kanotix.com/index.php?module=pnW ... ForDummies for a glossary.
 
 Benutzer-Profile anzeigen Private Nachricht senden Website dieses Benutzers besuchen ICQ-Nummer 
Antworten mit Zitat Nach oben
Joe Soap
Titel: RE: How to install a second cd-rom?  BeitragVerfasst am: 17.08.2006, 08:35 Uhr



Anmeldung: 24. Jan 2005
Beiträge: 65

Hey, thanks for the quick answer Smilie

Just one question about that symlink before I try it: Are those the exact commands in your post? I.e. I cd into /etc/udev/rules.d and then type
ln -sf ../udev_my.rules

Is that right?

I assume I have to do all this as root?

Thanks again for your help.

Cheers
Joe
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
ockham23
Titel:   BeitragVerfasst am: 17.08.2006, 08:42 Uhr



Anmeldung: 25. Mar 2005
Beiträge: 2133

Kernel 2.6.14? Looks like an older version of Kanotix. I would recommend an update install with Easter-RC4.

_________________
And I ain't got no worries 'cause I ain't in no hurry at all (Doobie Brothers, "Black Water").
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
severin
Titel:   BeitragVerfasst am: 17.08.2006, 12:52 Uhr



Anmeldung: 18. Mar 2004
Beiträge: 3417

@Joe: correct on both issues (the right-one and the root-one Smilie)

_________________
Kein Wort verstanden? Auf http://kanotix.com/index.php?module=pnW ... uerDummies
gibt's ein Glossar.

No clue what I'm talking about? New to Linux? Check http://kanotix.com/index.php?module=pnW ... ForDummies for a glossary.
 
 Benutzer-Profile anzeigen Private Nachricht senden Website dieses Benutzers besuchen ICQ-Nummer 
Antworten mit Zitat Nach oben
Beiträge vom vorherigen Thema anzeigen:     
Gehe zu:  
Alle Zeiten sind GMT + 1 Stunde
Neues Thema eröffnen   Neue Antwort erstellen
Vorheriges Thema anzeigen Druckerfreundliche Version Einloggen, um private Nachrichten zu lesen Nächstes Thema anzeigen
PNphpBB2 © 2003-2007