LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-17-2002, 08:14 PM   #1
jhorvath
Member
 
Registered: Sep 2002
Location: OH, USA
Distribution: 2.6.16-1.2096_FC5 #1
Posts: 245

Rep: Reputation: 30
slack recognize cdrw


HI

i have an EIDE IO/Magic CDRW and a Samsung EIDE CDRW/DVD. I'm having a bit of trouble getting slackware to recognize either of them during installation. When I get to selecting the source I tried letting it auto detect and tried the manual selection.

I had RH8(garbage) installed and I noticed the grub.conf contained the line hdX = ide-scsi

I tried passing the option at boot prompt

bare.i hdc=cdrom (craps out with kernel panic)

barei hdc=cdrom hdc=ide-scsi (still wont see it during source select)

I've tried this with both cdroms and neither want to cooperate. I'm currently running win2kpro (god save me) and I dislike RH, but I loooove my slack :) I just hope I can get this to werk.

Now that I'm writing this I have thought to try the scsi.s(?) kernel with the above options and see if that'll werk....If someone can give any info on this THANKYOU!!

...need more info let me know

thanks
 
Old 12-17-2002, 09:44 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Hi Jer,

and I'm not quite sure whether I understand your problem ...

Slack doesn't boot of them, so you can't install it?

Or do you mean Slack should automgically set it up
so you can use it as a burner after install? In the latter
case "sorry, it won't!" :)

You'll have to add that line
append="hdd=ide-scsi"
to your /etc/lilo.conf in the section of your default kernel ...

Code:
# Linux bootable partition config begins
image = /boot/vmlinuz
append="hdc=ide-scsi"
root = /dev/hda7
label = Linux
read-only
# Linux bootable partition config ends
Cheers,
Tink
 
Old 12-17-2002, 10:55 PM   #3
jhorvath
Member
 
Registered: Sep 2002
Location: OH, USA
Distribution: 2.6.16-1.2096_FC5 #1
Posts: 245

Original Poster
Rep: Reputation: 30
sorry to hear about your laptop bro....mine got stolen off my desk at work (bastards) :(

I can boot from cdrom, run setup but can't install anything because it cant find the cdrom in either drive...<sigh></sigh>

thank you
 
Old 12-17-2002, 11:02 PM   #4
Excalibur
Senior Member
 
Registered: Jun 2002
Location: Northern VA, USA
Distribution: Ubuntu
Posts: 1,180

Rep: Reputation: 46
I do not think I have ever seen a problem with Slack detecting an IDE CDROM unless it was a real old unit. You should not need any append statements for the install process, you will after you get Slack installed if you desire to burn CD's under Slack with cdrecord. So keep the above by Tinkster in mind. The scsi kernels would be required if the CD drive was scsi based.

I would think you need to know if the CD is mountable or not. Try the following after you do a normall boot to install.

login as root then
mount -t iso9660 /dev/hdc /cdrom
ls -l /cdrom/slackware

Use hdb, hdc, hdd as required for the drive that contains the Slack install CD. The ls command should provide a long listing of the slackware directory with all the disk sets.

If you don't get this output then you have something wrong. I would then suggest scrolling the console screen back up to view the kernel messages and see what was detected on the IDE busses when it booted. You might find a clue as to your problem there. Use [shift][PgUp] and [shift][PgDn] to scroll screen up and down. You should be able to see the CDROM drives being detected and reported with the device ID during the device scan. If it mounts but doesn't provide the listing desired then it might be a corrupted or damaged CD.

If it does mount OK and you get the directory listing desired, then run setup and try again with CD mounted.

Good luck.
 
Old 12-17-2002, 11:18 PM   #5
jhorvath
Member
 
Registered: Sep 2002
Location: OH, USA
Distribution: 2.6.16-1.2096_FC5 #1
Posts: 245

Original Poster
Rep: Reputation: 30
ok...i tried that...got something like "/dev/hdc (and hdd,sr0,sd0) no such special device(?).

these are my messages :

Uniform Multi-platform e-ide drive revision: 6.31
ide: assuming 33mhz system bus speed for pio modes; override with idebuss=xx
sis5513 : ide controller on pci bus 00 dev 15
sis5513 : chipset revision 0
sis5513 : not 100% native mode ; will probe irqs later
sis645
ide0: bm-dma at 0xf000-0xf007, bios settings hda: DMA hdb: pio
ide1: bm-dma at 0xf008-0xf00f, bios settings hdc: DMA hdd: DMA
hda: Maxtor 6e030L0, ata disk drive
ide0 at 0x1f0-0x1f7 on irq 14
hda : 60058656 sectors (30750MB) w/2048 cache, CHS=3738/255/63 UDMA(100)

.... does any of that help... i see hdc and hdd up there as DMA but nothing else..?

Last edited by jhorvath; 12-17-2002 at 11:43 PM.
 
Old 12-17-2002, 11:47 PM   #6
Excalibur
Senior Member
 
Registered: Jun 2002
Location: Northern VA, USA
Distribution: Ubuntu
Posts: 1,180

Rep: Reputation: 46
OK, I can see this is going to be fun. You were editing your post while I was responding to the original.

In the report you provided the CD drives should of been the next lines after the last line you posted regarding the hard disk. The controller reports that the primary controller has one device in DMA mode and one in pio. The pio device could also mean no device attached. The secondary controller has two devices in DMA mode, I have to assume they are the CDROM drives connected on the same bus.

This would appear to a cable and/or jumper setting problem on the bus if the kernel does not report either drive as being present after the hard disk.

<Previous post>
Negative about the installed system. I meant logging in on whatever you booted to install slackware with, directly after the kernel loads a login prompt should be displayed. It could be a bootable CD or the floppy disk set I would think, but if not, then please explain your process.

Thank you for the little info regarding the hardware. Now as far as the CDROM drives are concerned. Are you sure the master/slave jumpers are correct? The drives might be able to work under Windows and setup for cable select or something. But a Linux kernel might have some problems with it. Try disconnecting one of drives. Is it possible that the CDROM drives are on a separate controller that the kernel doesn't support? If so, try connecting one drive on the primary or secondary controller.

Cheers

Last edited by Excalibur; 12-17-2002 at 11:58 PM.
 
Old 12-18-2002, 12:01 AM   #7
jhorvath
Member
 
Registered: Sep 2002
Location: OH, USA
Distribution: 2.6.16-1.2096_FC5 #1
Posts: 245

Original Poster
Rep: Reputation: 30
*** after the last line of the messages ...it went on about the floppy drive..


I'm positive that they're set master/slave not cable select...(I pull drives outta computers all day long and prefer the master/slave way so i know whats what no matter what I'm runnin.) They're both on the secondary controller with the HDD on the primary all by itself...

I originally only had the one cdrw on the secondary by itself but figured it wasnt working with slack and i could use a dvd rom anyway so i bought another drive but with no luck...

i will double check the jumpers and fiddle with the drives tomorrow ( haven't had much time so far), to see if anything might turn out differently. I just figured it was some kinda module(?) problem or some magical option i needed to identify it...i'll post back tomorrow sometime....

thanks for the advice

Last edited by jhorvath; 12-18-2002 at 12:04 AM.
 
Old 12-19-2002, 10:59 PM   #8
jhorvath
Member
 
Registered: Sep 2002
Location: OH, USA
Distribution: 2.6.16-1.2096_FC5 #1
Posts: 245

Original Poster
Rep: Reputation: 30
....i dont know?

i've tried both cd drives seperately...i even borrowed one from work (just plain ol' cd drive) and nothin. It just wont see it. Windows sees it fine (of course) and RedHat had little problem (minor video trouble during install), but my favorite of all wont make it easy...(usually thats ok by me)

I should do better to trade this to my boss for a all our DEC 486s :) (we got like 25 stacked up....old dos / novell clients)

i feel like fukkin screaming. . . . .i guess i'll have to suffer through with RedHat....though I do have Debian (woody)....cause I see nothing on this mainboard that would need special attention to access an ide device.

if anyone has any last minute ideas before I polute the 'entire' HDD with a non slackware installation...PLEASE feel free to submit ideas

Thank you all,
 
Old 12-19-2002, 11:48 PM   #9
Excalibur
Senior Member
 
Registered: Jun 2002
Location: Northern VA, USA
Distribution: Ubuntu
Posts: 1,180

Rep: Reputation: 46
If the next lines were the floppy disk drive. I really do not have much I can offer except curiousity. From the report posted the second IDE controller is not even being scanned for devices only the first controller. It should of also reported the secondary IO port and IRQ assignment (0x170 and 15). Perhaps a BIOS config issue like IRQ 15 reserved for ISA slots for a network adapter or something?

An item I think was new to Slack 8.1 was the default kernel (bare.i) I believe now has the UDMA mode enabled. I do not think the 8.0 kernel did. You might compare a listing from the RedHat boot kernel and see what is different. If your BIOS allows the config, you could attempt to disable the UDMA modes on the secondary controller. But even that doesn't make sense because the first controller is scanned and the hard disk identified. But perhaps if you have a Slack 8.0 CD available try booting that and see if the kernel messages differ.

If just a plain reader drive was not detected then I suspect a kernel driver / chipset issue.

Have you tried installing a single drive as slave on the primary controller. I think that was reported as not used in the post. It would be /dev/hdb device.

Perhaps it has helped. Good luck.
 
Old 12-20-2002, 01:16 AM   #10
jhorvath
Member
 
Registered: Sep 2002
Location: OH, USA
Distribution: 2.6.16-1.2096_FC5 #1
Posts: 245

Original Poster
Rep: Reputation: 30
*** this just in ***

messages from the slack 8.0 cd did differ....it detected both drives with the default scsi.s kernel...only problem is it hangs after the detecting the all drives. So I get to :

hda: Maxtor 6e030L0, ata disk drive
hdc: CDRW IDE4816, ATAPI CDROM DRIVE
hdd: SAMSUNG CDRW/DVD SM-332B, ATAPI CDROM DRIVE
ide0 at 0x1f0-0x1f7 on irq 14

<BLAM!!!> nothing else

as far as i can tell i cant switch off UDMA in the bios

now the astonishing news....a CDRW as slave on the primary boots fine...(slack 8 and 8.1)...I dont remember if i had the other drive hooked up on the secondary...not sure if it was detected (something else to try)

<question> does an ata133 cable work well with a cdrom?

a co-worker told me it would slow performance...didnt say it would hurt anything though

thers a couple of things i can still try....curious to see if booting of primary slave will detect the secondary master. that just wouldnt make any sense to me. plus i didnt try any other kernels off slack 8 (i was overjoyed when it detected, then shotdown when it crapped out)

...you should really set up an affero :)

thanks a lot man

Last edited by jhorvath; 12-20-2002 at 01:39 AM.
 
Old 12-20-2002, 07:27 AM   #11
Excalibur
Senior Member
 
Registered: Jun 2002
Location: Northern VA, USA
Distribution: Ubuntu
Posts: 1,180

Rep: Reputation: 46
I have not had any problems using the 80 pin IDE cables with older equipment. Except perhaps the length, they are all so short that connecting is difficult in some server cases and configuration with multiple drives for RAID, etc.

In regard to the Slack 8.0 kernel messages, it looks like it got to the same point that it should report the IO port and IRQ of the secondary controller. Make sure you don't have something else in the system using IRQ 15 that could be causing a conflict?

If the primary slave will allow you to install, at least then you can build a custom kernel that might work around the problem. Maybe upgrade to 2.4.20, might work better with your hardware. Could be a kernel issue with the chipset.

Well glad something at least was able to work around the problem.

BTW: What is an affero?
 
Old 12-20-2002, 11:25 AM   #12
jhorvath
Member
 
Registered: Sep 2002
Location: OH, USA
Distribution: 2.6.16-1.2096_FC5 #1
Posts: 245

Original Poster
Rep: Reputation: 30
irqs

affero : check out , http://www.affero.com/ca/lq.php

as far as irqs go, i didnt see anything using anything to conflict with the drives...my pci slots are set to auto to use irqs 3-7 , 9-15 though i have nothing on any of the PCIs, would they still have an irq set if they weren't being used?

ill manually set them to see if it will make a difference....

thanks
 
Old 12-21-2002, 03:08 PM   #13
jhorvath
Member
 
Registered: Sep 2002
Location: OH, USA
Distribution: 2.6.16-1.2096_FC5 #1
Posts: 245

Original Poster
Rep: Reputation: 30
I suppose 1 out of 2 isn't all that bad. At least I can install extra stuff for now.

I haven't upgraded to 2.4.20 yet, but after recompiling 2.4.18...i get this

hda: Maxtor 6e030L0, ata disk drive
hdc: CDRW IDE4816, ATAPI CDROM DRIVE
hdd: SAMSUNG CDRW/DVD SM-332B, ATAPI CDROM DRIVE


and after that (dont have box in front of me) it shows info on ide0 and ide1 (irq's 14 and 15). Then it shows info on HDA....and HDD no HDC ? mounting HDD works fine.


wondering : in my *lilo.conf* I added :

append = "hdc=ide-scsi,hdd=ide-scsi"

is there some special way you have to specify two options to the append statement...?


heres my fstab:

/dev/hdc /cdrom iso9660 noauto,users,ro 0 0
/dev/hdd /dvd iso9660 noauto,users,ro 0 0


I've tried replacing '/dev/hdc' with /dev/scd0 /dev/sr0 and it still tells me its not a valid block device?

for now i'm happy though....slackware with one drive is better than slackware with none at all (or 2 perfect drives running RH8 for that matter)

One thing i'm gonna try when i get home is to switch the two drives and see if still recognises only the slave or the dvd drive...just curious

Thanks again..

Last edited by jhorvath; 12-21-2002 at 03:13 PM.
 
Old 12-21-2002, 03:48 PM   #14
Excalibur
Senior Member
 
Registered: Jun 2002
Location: Northern VA, USA
Distribution: Ubuntu
Posts: 1,180

Rep: Reputation: 46
On the append statement it, do not use the comma to delimit the items, use just a blank space. A comma is used when an item has to be delimted to individual parts. Like a hard disk cyl,hds,sectors would use the commas.

Append = "hdc=ide-scsi hdd=ide-scsi"

After you make the change to the lilo.conf file, be sure to run lilo to write it.

After that any drives would be addressed as scsi drives, like /dev/scd0.

On the detection issue, if recompiling a different kernel made a difference then it is a kernel support issue. So 2.4.20 may very well take care of it. I have had to start recommending at least 2.4.19 anyway. I was having VM problems with 2.4.18 when I started to run very large programs. No problem for the last year with 2.4.18 unitl until I started using OpenOffice.org and doing Photo work, etc. These apps use a lot of memory and programs were being killed while half my memory was still in cache. With 2.4.19 I can three times the programs before anything gets killed. I am going to try to build a 2.4.20 kernel for my system this weekend.

Good luck.
 
Old 12-21-2002, 06:19 PM   #15
jhorvath
Member
 
Registered: Sep 2002
Location: OH, USA
Distribution: 2.6.16-1.2096_FC5 #1
Posts: 245

Original Poster
Rep: Reputation: 30
i was just thinking it just about had to be my append in lilo.conf.

i kept the drives where they were at on the cable (the slave is the closer one to the controller) and i just switched the jumpers and it detected the other cdrom as the slave, so i just have to modify lilo.conf and its good to go :)

....i owe you at least some sort of affero donation (i'm broke as of now with christmas and all). i'll drop some loot on ya the week after christmas though.

i can't thank you enough :)

have a good holiday
 
  


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
How can I get Slack 9.1 to recognise DVD and CDRW? erraticassassin Slackware 2 07-14-2004 01:09 PM
How do I set up CDROM and CDRW in Slack? lumpfish Slackware 7 11-16-2003 01:36 PM
How to Make Slack Recognize My Monitor? bongski55 Slackware 6 10-30-2003 01:34 AM
Slack install can`t see CDRW AlanL Slackware 3 06-12-2003 11:37 PM
Need help installing CDRW in Slack 9.0 CodeWarrior Slackware 13 05-25-2003 07:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:27 AM.

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
Open Source Consulting | Domain Registration