LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation
User Name
Password
Slackware - Installation This forum is for the discussion of installation issues with Slackware.

Notices

Reply
 
Search this Thread
Old 01-09-2007, 02:13 AM   #1
Azru
LQ Newbie
 
Registered: Jan 2007
Posts: 6

Rep: Reputation: 0
Install problem - CD-rom not detected


Ok, this is the second forum I'll be asking this question but oh well, I have to try.

Lately some pieces of hardware (processor, motherboard, ram) were changed on my comp. This caused Kernel panic on my previously installed Slackware 11 on kernel 2.4.x (it had problems with detecting the HDD). Not knowing what caused the problem and after several tries of making things work I tried to reinstall the system.

The thing is that the only kernel which detected my HDD and let me continue the installation process (on other kernels cfdisk showed that he cannot access the hdd) was test26.s. Changing to that kernel from bare.i didn't solve the problem. During installation when trying to choose the source media the cd-rom was not detected.

I tried passing various arguments to the kernel (hdx=cdrom, hdx=ide-scsi - I read about it somewhere but think it shouldn't be needed for 2.6.x kernels ) but nothing worked. I tried switching my SATA disk to Native mode in BIOS. All kernels detected it as hda but still none could read my cd-rom (and I mean none - even the scsi, and even with passing hdx=cdrom/hdx=ide-scsi parameters to the other ones).

My HDD: Seagate ST340016A, interface SATA currently set to Native and working as ATA
My CD-rom: LITE-ON LTR-52327S on IDE ATAPI

I have dmesg from sata.i and test.26.s to provide if it is needed.

Edit: of course on Windows the cd-rom and the hdd both work nicely so I don't think it could be a hardware issue. But I'm a total newbie when it coms to hardware so I may be wrong.

Sorry for all grammar mistakes.

Edit2: Argh, sorry for posting this in the wrong subforum - haven't noticed the one concerning issues with installation.. If some helpful mod could move this I would be very much grateful.

Last edited by Azru; 01-09-2007 at 02:26 AM.
 
Old 01-09-2007, 06:58 PM   #2
xjlittle
Member
 
Registered: Aug 2003
Location: Indiana
Distribution: fc6 sles9 & 10 kubuntu ubuntu-server
Posts: 240
Blog Entries: 2

Rep: Reputation: 30
This won't help your situation necessarily but have you tried a live cd from another distro? If you do you could see what the kernel is seeing the cdrom drive as and try passing those kernel parameters.
 
Old 01-10-2007, 03:30 PM   #3
Azru
LQ Newbie
 
Registered: Jan 2007
Posts: 6

Original Poster
Rep: Reputation: 0
Yes, I tried Archlinux and Ubuntu (both current) - none detected my cd-rom drive automatically..
 
Old 01-11-2007, 09:37 PM   #4
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
So you used the test26.s and also installed all the modules, right ?

I guess if it works fine on Window$, everything is probably hooked up right, I'm not very good with hardware so I can't do much if it isn't hooked up right.

I dunno, maybe compile the newest kernel. It shouldn't matter tho, on google, people have been successfully running this drive on Linux even with 2.4.x kernels.

What's the output of:

Code:
ls /proc/ide
and the output of dmesg might be helpful as well

Code:
dmesg

Last edited by H_TeXMeX_H; 01-11-2007 at 09:50 PM.
 
Old 01-12-2007, 09:26 AM   #5
/y0shi
Member
 
Registered: Jan 2006
Location: berlin, germany
Distribution: slackware 12.0
Posts: 58

Rep: Reputation: 15
@Azru:

if i understood it right you werent able to install, so you have not a working slackware system?
than you could consider to install slackware on a linuxpartition from another linuxpartition - its quick and easy (just copy the entire dvd to one partition and select it as source).
than you have a working linux system, probably without a working cd-rom-drive, but then we can go further ...
 
Old 01-12-2007, 12:36 PM   #6
Azru
LQ Newbie
 
Registered: Jan 2007
Posts: 6

Original Poster
Rep: Reputation: 0
@H_TeXMeX_H

I couldn't install the system becouse of the cd-rom not being detected.

@/y0shi

Allright, I'll do so.
 
Old 01-12-2007, 07:15 PM   #7
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
Quote:
Originally Posted by Azru
@H_TeXMeX_H

I couldn't install the system becouse of the cd-rom not being detected.

@/y0shi

Allright, I'll do so.

oops ... missed that rather important part
 
Old 01-16-2007, 12:48 AM   #8
AkBrian
Member
 
Registered: Aug 2003
Location: Alaska
Distribution: Mandrake, Redhat
Posts: 31

Rep: Reputation: 15
Take a look at this thread;

http://www.linuxquestions.org/questi...d.php?t=510648

Same problem.
 
Old 01-16-2007, 10:42 AM   #9
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 11,204
Blog Entries: 3

Rep: Reputation: 1433Reputation: 1433Reputation: 1433Reputation: 1433Reputation: 1433Reputation: 1433Reputation: 1433Reputation: 1433Reputation: 1433Reputation: 1433
Hi,

Post as root the output of;

Code:
#dmesg |grep hd         #what /dev/hd devices
#lspci -vv              #get device information
Just curious, how is the cdrom configured on the ide channel? Do you have more than one device on that channel(ide0 or ide1)? Is the cdrom master or set as slave with the another device? If the cdrom is on ide0 as master then move the cdrom to ide1 as master. Set your boot order in the BIOS. What BIOS and level?

Last edited by onebuck; 01-16-2007 at 10:43 AM.
 
Old 01-16-2007, 05:40 PM   #10
Azru
LQ Newbie
 
Registered: Jan 2007
Posts: 6

Original Poster
Rep: Reputation: 0
Dmesg:

Code:
SCSI device sda: 78163247 512-byte hdwr sectors (40020 MB)
SCSI device sda: 78163247 512-byte hdwr sectors (40020 MB)
hda_intel: azx_get_response timeout, switching to single_cmd mode...
e1000: eth0: e1000_watchdog: NIC Link is Up 100 Mbps Full Duplex
e1000: eth0: e1000_watchdog: 10/100 speed: disabling TSO
SCSI device sda: 78163247 512-byte hdwr sectors (40020 MB)
hda_codec: num_steps = 0 for NID=0x17
lspci -vv : http://azru.pl/other/lspci.txt

BIOS: Intel MQ96510J.86A

I'm not 100% sure but I think the cd-rom is on ide1 (I'm no good at hardware). It's set as slave, on the same ide I have a dvd drive set as master, and a hdd on sata on the other ide set as master.

(EDIT) Forgot to mention that I've successfully installed the system from a pre-mounted dir on fat partition. I have the test26.s kernel with up-to-date headers and modules (2.6.18). The cdrom is still not detected.

Another thing is that before changing the hardware on 2.4.x kernel my cd-rom drive was recognized as sr0 (SCSI emulation I think). Now neither /dev/sr0 nor /dev/cdrom exist.

@H_TeXMeX_H

azru@hell:~$ ls /proc/ide
drivers

Last edited by Azru; 01-17-2007 at 03:19 AM.
 
Old 01-17-2007, 08:59 AM   #11
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 11,204
Blog Entries: 3

Rep: Reputation: 1433Reputation: 1433Reputation: 1433Reputation: 1433Reputation: 1433Reputation: 1433Reputation: 1433Reputation: 1433Reputation: 1433Reputation: 1433
Hi,

Did you compile your kernel? Do you have the ide as modules or compiled in? What about AHCI in the BIOS?

What about passing ide configuration via the boot?

In your dmesg output I didn't see any hd output. Just the sa.

Did you look in the /proc/ide for anything?

You could reference the /usr/src/linux/Documentation/ide.txt to get the data to pass to the kernel.
 
Old 01-17-2007, 10:20 AM   #12
gte836q
LQ Newbie
 
Registered: Jan 2007
Posts: 1

Rep: Reputation: 0
Question Everything is New to Me : I want to Install Slackware

Hi,

I am new to all these. I have used Lilo and Slackware in the past with KDE. However everything was done for me. So I dont remember how to even install Slackware. Let me tell you my issues and I wish someone would be able to help me.

1. I have my old harddrive that has Lilo on it, but I dont remember the password, so I cant pass the log in page, So I want to re install Lilo and Slackware

2. Where can I get the Lilo software and complete "LAY MAN's" installation guide?

3. I can not burn a bootable CD from my burner, what could be the problem. Basically I have burned several CD's now and I have set my BIOS to boot from the CD-ROM, but the machine goes straight to Windows.

4. I have a 80GB hard drive, I have partitioned 50GB and installed WIN on it, but now I want to put Slackware with KDE guwi but I cant even get my machine to boot from the CD.

Please help... thank you

gte836q
 
Old 01-17-2007, 01:26 PM   #13
Azru
LQ Newbie
 
Registered: Jan 2007
Posts: 6

Original Poster
Rep: Reputation: 0
Code:
azru@hell:~$ ls /proc/ide
drivers
I tried passing 'hdb=cdrom', 'hdd=cdrom', 'hdb=scsi', 'hdd=scsi' (CD-ROM is set to slave) to the kernel - nothing. I have the option to set my HDD which is on SATA to be recognized as AHCI but what does that have to do with my cdrom?

I've read ide.txt but I don't have a clue what other options should I pass to the kernel aside from 'hsx=cdrom' and 'hdx=scsi'.

I didn't compile my own kernel, I use the standard one from Slackware 11 CD so most probably ide support is built into it.
 
Old 01-18-2007, 08:06 AM   #14
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 11,204
Blog Entries: 3

Rep: Reputation: 1433Reputation: 1433Reputation: 1433Reputation: 1433Reputation: 1433Reputation: 1433Reputation: 1433Reputation: 1433Reputation: 1433Reputation: 1433
Quote:
Originally Posted by gte836q
Hi,

I am new to all these. <snip>

Please help... thank you

gte836q
Hi,

You should create a thread instead of hijacking one. That way you will get more input or replies.

Check my sig for some good online reference.
 
Old 01-18-2007, 08:25 AM   #15
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 11,204
Blog Entries: 3

Rep: Reputation: 1433Reputation: 1433Reputation: 1433Reputation: 1433Reputation: 1433Reputation: 1433Reputation: 1433Reputation: 1433Reputation: 1433Reputation: 1433
Quote:
Originally Posted by Azru
Code:
azru@hell:~$ ls /proc/ide
drivers
I tried passing 'hdb=cdrom', 'hdd=cdrom', 'hdb=scsi', 'hdd=scsi' (CD-ROM is set to slave) to the kernel - nothing. I have the option to set my HDD which is on SATA to be recognized as AHCI but what does that have to do with my cdrom?

I've read ide.txt but I don't have a clue what other options should I pass to the kernel aside from 'hsx=cdrom' and 'hdx=scsi'.

I didn't compile my own kernel, I use the standard one from Slackware 11 CD so most probably ide support is built into it.
Hi,

You said earlier that you used the 2.4 kernel with this configuration. When you boot using the 2.4.33, what is the output for dmesg and lspci -vv? This could help in the diagnosis of the problem. The 2.4.33 kernel uses the ide-scsi module.

The 2.6 series kernel uses the ide-cd module. Different, apples and oranges. When you used the 2.4.33 kernel, how was the sata recognized?

The proper pass argument for the 2.6 would be;
'hdd=ide-cd'.

For the 2.4.33;
'hdd=ide-scsi'. That is if your device is /dev/hdd for both 2.4 and 2.6 kernels.

Sometimes the AHCI can create some odd boot behaviors.

Try to disable ahci and boot the slackware install cdrom with the huge26 kernel. Then do the dmesg and lspci -vv to get the device(s) information.
 
  


Reply

Tags
cd, dvd, intel, kernel, linux, marvell


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
CD rom not detected -how to install?? wolfmaniac Debian 3 06-22-2006 03:18 PM
Cd Rom Is Not Detected !!! stranger_in_rain Linux - Laptop and Netbook 1 12-21-2005 10:16 AM
CD-ROM Detected Twice chonky_green Linux - Hardware 2 07-07-2004 09:16 PM
CD Rom not being detected Corey88 Linux - Hardware 1 04-21-2004 11:36 AM
DVD-ROM not detected CD-RW mistaken as CD-ROM Device DarkXtar Slackware 21 06-02-2003 07:58 PM


All times are GMT -5. The time now is 07:30 AM.

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 Google+: linuxquestions
Open Source Consulting | Domain Registration