LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
LinkBack Search this Thread
Old 09-14-2002, 08:08 PM   #1
shassouneh
Member
 
Registered: Apr 2001
Location: Cheney, WA
Distribution: SuSE Linux Professional 9.2
Posts: 556

Rep: Reputation: 30
Question Linux not working with 2 CD/RW drives (SuSE Pro 8.0)


Dear All,
I have two CD/RW devices installed on the IDE bus. Linux detects both devices succesfully, but fails to recognize both as CDRW drives. The two devicces are a Phillips 4401/72 4/4/32, and a Plextor 8/4/32.
I did a cdrecord -scanbus and it said only the 4X drive is a recording device. Here is the output

Quote:
samer@linux:~> cdrecord -scanbus
Cdrecord 1.11a13 (i686-suse-linux) Copyright (C) 1995-2001 Jörg Schilling
Linux sg driver version: 3.1.22
Using libscg version 'schily-0.5'
scsibus0:
0,0,0 0) 'IDE-CD ' 'R/RW 4x4x32 ' 'C1.7' Removable CD-ROM
0,1,0 1) *
0,2,0 2) *
0,3,0 3) *
0,4,0 4) *
0,5,0 5) *
0,6,0 6) *
0,7,0 7) *
samer@linux:~>
Note that BOTH devices are succesfully identified by Linux, as verified by YaST (I'm running SuSE Pro 8.0).

Here is a Screen cap of how YAST lists the devices:
http://www.geocities.com/demnanian/cdrws.jpg
(If this does not work due to geoshities being a pain in the ass, download it here)

Please help if you can

Last edited by shassouneh; 09-14-2002 at 08:12 PM.
 
Old 09-14-2002, 11:29 PM   #2
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 55
Do you see that first drive recognized as IDE and the second as SCSI? You have to turn ide-scsi emulation for your first drive (if you are using lilo hint - modify append statement in /etc/lilo.conf to include ide-scsi for the first drive in the same fashion as it is done for the second drive - append="hdc=ide-scsi hdd=ide-scsi" - I assumed the recognized drive was secondary slave /dev/hdd, and unrecognized according to the output of YAST is /dev/hdc)
P.S. Don't forget to run lilo to commit the changes - /sbin/lilo

Last edited by neo77777; 09-14-2002 at 11:32 PM.
 
Old 09-19-2002, 05:02 AM   #3
shassouneh
Member
 
Registered: Apr 2001
Location: Cheney, WA
Distribution: SuSE Linux Professional 9.2
Posts: 556

Original Poster
Rep: Reputation: 30
I tried your tip. Thanx so much for it. I doubt it solvedmy problem though. Now I have two concerns if you can help me with them I would be much obliged

1.)
Quote:
samer@linux:~> su -
Password:
linux:~ # cdrecord -scanbus
Cdrecord 1.11a13 (i686-suse-linux) Copyright (C) 1995-2001 Jörg Schilling
cdrecord: No such file or directory. Cannot open '/dev/pg*'. Cannot open SCSI driver.
cdrecord: For possible targets try 'cdrecord -scanbus'. Make sure you are root.
linux:~ #
What does this mess mean? And how can i resolve it?

2.) I have an Iomega Zip250 drive PARRALEL port. Repeat:PARALLEL port! I heard somewhere that It also uses ide-scsi emulation. How can I get it to work?


Thanx beforehand for all your help and patience. Much appreciated!

PS: Sorry for the late reply.
 
Old 09-19-2002, 08:35 AM   #4
shassouneh
Member
 
Registered: Apr 2001
Location: Cheney, WA
Distribution: SuSE Linux Professional 9.2
Posts: 556

Original Poster
Rep: Reputation: 30
Never Mind. A simple restart made the two cd-rw drives work. Here is what it says now:
Quote:
samer@linux:~> cdrecord -scanbus
Cdrecord 1.11a13 (i686-suse-linux) Copyright (C) 1995-2001 Jörg Schilling
Linux sg driver version: 3.1.22
Using libscg version 'schily-0.5'
scsibus0:
0,0,0 0) 'PLEXTOR ' 'CD-R PX-W8432T' '1.09' Removable CD-ROM
0,1,0 1) 'IDE-CD ' 'R/RW 4x4x32 ' 'C1.7' Removable CD-ROM
0,2,0 2) *
0,3,0 3) *
0,4,0 4) *
0,5,0 5) *
0,6,0 6) *
0,7,0 7) *
samer@linux:~>
But Now I cannot get my zip drive to work. I looked in SuSE and it said the device name was /dev/lp0. I heard somewhere that PARRALEL port zip drives (like mine) require ide-scsi emulation. Is this true? If so please help me. I have set up my lilo.conf file to look like this:
This is only a portion of lilo.conf.There is more to the file than this...
Quote:
message = /boot/message

image = /boot/vmlinuz
label = linux
root = /dev/hda5
vga = 791
initrd = /boot/initrd
append = " hdc=ide-scsi hdd=ide-scsi lp0=ide-scsi"
And I also tried ziptool to no use. Here is what I tried:

Quote:
linux:~ # ziptool -m /dev/lp0 /mnt/zip
ziptool: /dev/lp0 (06/00) is no raw scsi device.
linux:~ #
Remmember that Yast2 insists the drive is /dev/lp0.



Can someone please help? Thanx beforehand.
 
Old 09-19-2002, 07:41 PM   #5
shassouneh
Member
 
Registered: Apr 2001
Location: Cheney, WA
Distribution: SuSE Linux Professional 9.2
Posts: 556

Original Poster
Rep: Reputation: 30
I figured it out folks. I figure its my duty to inform others of my succes, should this prove useful.

NOTE:
Device: Iomega Zip 250 external PARRALEL PORT
Distro: SuSE Linux Professional 8.0
Kernel: 2.4.18
Date This succeeded: Sept 19th 2002

1.) You have to make sure your kernel supports Iomega products. Luckily my SuSE 8.0 Pro automaticlalysupported them. If this is not the case you would have to recompile your kernel

2.) You must make sure you have the two drivers lp.o and imm.o You can find the .c files for these on the net. Do a simple google search.

3.) you muct load these drivers. To do this do an insmod lp followed by an insmod imm. You should hear your zip drive clicking as it picks it up.

4.) You must mount the device. Create /mnt/zip (if it doesn't exist already). Then edit your /etc/fstab file with 2 lines like these:

/dev/sda4 /mnt/zipf32 vfat auto,umask=000,quiet,user 0 0
/dev/sda1 /mnt/zipext2 ext2 auto,umask=000,quiet,user 0 0

5.) Mount the device as either mount /mnt/zipf32 or mount /mnt/zipext2

Good Luck.

Last edited by shassouneh; 09-20-2002 at 12:42 PM.
 
Old 09-20-2002, 12:51 AM   #6
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,611

Rep: Reputation: 61
Hey I like the way you put the "heading" on this. makes it look like an actual bulletin or something

Glad you got it fixed though

Cool
 
Old 09-20-2002, 04:16 AM   #7
shassouneh
Member
 
Registered: Apr 2001
Location: Cheney, WA
Distribution: SuSE Linux Professional 9.2
Posts: 556

Original Poster
Rep: Reputation: 30
lol MasterC. I'm glad I got it fixed. I am thinking of writing up my success in an "english" mini howto. Most Zip drive how tos out there talk only of SCSI and IDE, and tell you nthing about parralel besides how to mount it.
 
Old 09-20-2002, 04:40 AM   #8
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,611

Rep: Reputation: 61
Cool, then you too will be GPL'd along with Chris (Acid_Kewpie)

Be sure to let us all know if it gets put in LDP or something.

Cool
 
Old 09-20-2002, 08:12 AM   #9
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 55
Quote:
Originally posted by shassouneh
4.) You must mount the device. Create /mnt/zip (if it doesn't exist already). Then edit your /etc/lilo.conf file with 2 lines like these:

/dev/sda4 /mnt/zipf32 vfat auto,umask=000,quiet,user 0 0
/dev/sda1 /mnt/zipext2 ext2 auto,umask=000,quiet,user 0 0
This should be, "Then edit your /etc/fstab file with 2 lines like these:"
Putting those lines in lilo.conf will bork (technical term for fubar) lilo.
 
Old 09-20-2002, 08:26 AM   #10
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,611

Rep: Reputation: 61
bork = technical term for fubar, ba ha ha ha, is that in the LQ glossary?
 
Old 09-20-2002, 08:51 AM   #11
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 55
No, but you get some interesting links when you google it, mostly about a certain swedish chef.
<offtopic>I read an interesting google fact the other day, enter "go to hell" (with the quotes) and click on the "I'm feeling lucky" button and see where you end up at.</offtopic>
 
Old 09-20-2002, 12:41 PM   #12
shassouneh
Member
 
Registered: Apr 2001
Location: Cheney, WA
Distribution: SuSE Linux Professional 9.2
Posts: 556

Original Poster
Rep: Reputation: 30
LOL. Aussie you are absolutely right. What was I thinking. I was intending fstab but somehow I typed lilo.conf hehe. I'm only human! I've edited it. Thanx for ther heads up, much appreciated.
 
Old 09-20-2002, 12:43 PM   #13
shassouneh
Member
 
Registered: Apr 2001
Location: Cheney, WA
Distribution: SuSE Linux Professional 9.2
Posts: 556

Original Poster
Rep: Reputation: 30
Hey Guys, If I write a mini-mini-mini Parralel Port Zip 250 howto would you guys help me with it? I've never done such a thing before, so I want it to look professional enough for a beginner in the feild like me.
 
Old 09-20-2002, 12:55 PM   #14
shassouneh
Member
 
Registered: Apr 2001
Location: Cheney, WA
Distribution: SuSE Linux Professional 9.2
Posts: 556

Original Poster
Rep: Reputation: 30
Oh I almost forgot,
How can I have things set up to automatically load lp and imm at boot time instead of having to manually insmod them every time?
 
Old 09-20-2002, 06:46 PM   #15
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 55
Have a look at /etc/rc.config, I think thats what suse uses for loading modules at boot, you might want to double check on their support site because I think there is more involved in suse than just adding the module to rc.config.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
SuSE 9.2 Pro megaraid does not see drives xipper Suse/Novell 12 08-16-2007 02:37 PM
Mouse not working with SUSE 9.1 Pro vivekjoshi Suse/Novell 3 05-05-2005 08:49 AM
emacs not working on SuSE 9.1 Pro monty Linux - Software 0 11-04-2004 03:48 PM
SuSE 9.1 Pro Bootsplash not working tbfirefox Linux - Software 0 08-15-2004 03:08 AM
Working Suse 9 pro FTPs? niteshadw Linux - Distributions 3 11-19-2003 10:20 AM


All times are GMT -5. The time now is 11:26 PM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration