LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 07-29-2008, 12:08 AM   #1
Kanja
LQ Newbie
 
Registered: Jul 2008
Posts: 7

Rep: Reputation: 0
Install DVD not detecting SATA drive


I've got a shiny new computer, and I'd like to install Slackware on it.
Unfortunately, I can't partition the drives because Slackware can't find it. I've never worked with SATA before, so I'm not sure if I'm forgetting something or what.
The bios is correctly picking up the drive in slot IDE 0, and is able to display size and cylender information, but fdisk -l shows nothing, hda isn't found and sda isn't showing up. According to /var/logs/messages IDE 0 and 1 are probed twice, (IDE 1 is my dvd drive), but theres no confirmation message that anything is found. 20 lines or so later "rocketRAID 3xxx controller driver v1.2" is loaded. Any thoughts or suggestions? Also, is it normal that SATA slots are appearing with the prefix IDE?

Thanks in advance!
 
Old 07-29-2008, 12:33 AM   #2
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
Welcome to LQ!

Which kernel are you using? To install use the hugesmp.s;
then before you reboot after the install, chroot into the
system and change to a generic kernel. This is covered in
the documentation.

Did you check the md5sum of the iso image you downloaded?

Did you check the md5sum of the DVD you burned from it?

What is the make and model of your motherboard ... your
hard drive? Your DVD drive?

It would also help if you can actually post some of the
message that you see on the screen; including the very
end where it tells why you can't boot.

Might I suggest that you use "cfdisk /dev/sda" rather than
using the fdisk command ... even the fdisk man page says
to use cfdisk.
 
Old 07-29-2008, 12:38 AM   #3
checkmate3001
Member
 
Registered: Sep 2007
Location: Folsom, California
Distribution: Ubuntu, Mint, Debian, Suse
Posts: 307

Rep: Reputation: 32
I had all sorts of problems installing debian on a drive using a high point tech raid card. I finally gave up and decided on software raid. Hopefully I can learn something new here.
 
Old 07-29-2008, 02:10 AM   #4
storkus
Member
 
Registered: Jun 2008
Location: Phoenix, Arizona, USA
Distribution: Slackware
Posts: 329

Rep: Reputation: 51
Which version of Slackware are you using? If you're using anything older than the current version 12.1 you may have problems with stuff like hdparm. I discovered this the hard way. The problem is that older kernel and programs wouldn't pass ATAPI or ATA info through the SCSI interface (I believe this is literally called ATA Pass-Through).

The answer, as suggested, is a newer kernel, but you may have to update some system utilities as well. Or, upgrade to 12.1.

Now if you're having this problem with 12.1, as pointed out earlier, not using "hugesmp.s" (or "huge.s") would be the most likely problem. If none of those work, you need to look to see if your chipset is even being detected properly. If the computer is as new and shiny as you say, it will most likely obey the AHCI spec, and when you compile a new kernel you would use that for your SATA interfaces. However, any distro's install kernel will try that first for that reason.

Assuming none of these suggestions are working, tell us what your chipset is so we can do some cross-referencing.

Mike
 
Old 07-29-2008, 09:35 AM   #5
Kanja
LQ Newbie
 
Registered: Jul 2008
Posts: 7

Original Poster
Rep: Reputation: 0
Wow, Thanks for the help! I'll try to answer all the questions. I don't think I was clear enough in my first post though - this is a totally new computer with no os or even HDD partitions. I can boot successfully using the 12.1 DVD, I just can't seem to find my sata drives.

Quote:
Welcome to LQ!
Thanks!

Quote:
Which kernel are you using? To install use the hugesmp.s;
I think I've been using hugesmp.s to start up - Thats the default right? I'm pretty sure I called it by hand on the second attempt, I think thats what I've been using.

Quote:
then before you reboot after the install, chroot into the
system and change to a generic kernel.
Unfortunately I can't get as far as switching the kernel - I can't run setup to install, since the drive isn't detected.

Quote:
This is covered in the documentation.
I've been using http://www.slackbook.org/ for documentation, and I can't find another source on the Slackware webpage. Could you point me to a better source?

Quote:
Did you check the md5sum of the iso image you downloaded?

Did you check the md5sum of the DVD you burned from it?
Yup, looked good

Quote:
What is the make and model of your motherboard ... your
hard drive? Your DVD drive?
Western Digital Caviar SE16 WD6400AAKS 640GB 7200 RPM 16MB Cache SATA 3.0Gb/s Hard Drive
http://www.newegg.com/Product/Produc...82E16822136218

GIGABYTE GA-EP45-DS3L LGA 775 Intel P45 ATX Intel Motherboard
http://www.newegg.com/Product/Produc...82E16813128345

SAMSUNG Black 22X DVD+R 2MB Cache SATA DVD Burner
http://www.newegg.com/Product/Produc...82E16827151171

Quote:
It would also help if you can actually post some of the
message that you see on the screen; including the very
end where it tells why you can't boot.
I'm not having any problems booting - I can boot using the DVD as a livecd running off a ram disk. Let me know any logs or messages that would be helpful and I'll post them. I'm coming off Ubuntu so you might have to give me the path.

Quote:
Might I suggest that you use "cfdisk /dev/sda" rather than
using the fdisk command ... even the fdisk man page says
to use cfdisk.
Second thing I tried, but it spat out a message that it couldn't find any drives and booted me back to the terminal

Quote:
Which version of Slackware are you using? If you're using anything older than the current version 12.1 you may have problems with stuff like hdparm.
12.1

Quote:
I discovered this the hard way. The problem is that older kernel and programs wouldn't pass ATAPI or ATA info through the SCSI interface (I believe this is literally called ATA Pass-Through).
The Slackware book mentioned this - and suggested turning on legacy PATA support in the bios to spoof the SATA drive into looking like a parallel port. I didn't try this, since I'm using the 12.1 dvd and that sounded like a problem for older kernels. If you think its a good idea, I'll give it a shot.

Quote:
The answer, as suggested, is a newer kernel, but you may have to update some system utilities as well. Or, upgrade to 12.1.
This is a totally virgin computer - I just put it together Sunday. No Upgrading for me

Quote:
you need to look to see if your chipset is even being detected properly. If the computer is as new and shiny as you say, it will most likely obey the AHCI spec, and when you compile a new kernel you would use that for your SATA interfaces. However, any distro's install kernel will try that first for that reason.
Ok - When I ran through the log last night I didn't see any problems or warnings related to AHCI (although I did see a couple ACPI warnings...) I'll take another looksee - might not have been looking at the right place. My CPU is being detected correctly (the model and make is spit out in the log), but you mean the motherboard chipset right? Where would I look to make sure thats found correctly?


Thanks again! Let me know any logs/information that might help and I'll try to post it up.
 
Old 07-29-2008, 06:33 PM   #6
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
First, my searches on Google produced lots of people having problems with both
the Intel P45 chipset and Intel ICH10. Since the manufacturer's write drivers for
Microsoft, and not Linux, it's best not to buy the "latest and greatest" products
until you check first to see if the chipset is supported.

If this were an Asus board, I'd say check the motherboard CD for support.
But with Gigabyte, I wouldn't expect anything.

Slackware-12.1 comes with a 2.6.24.5 kernel. It did not have the ICH10 patch:
Code:
mingdao@silas:~/kernel/linux-2.6.26$ less /usr/src/linux-2.6.24.5/drivers/ata/ata_piix.c | grep -i ICH10
mingdao@silas:~/kernel/linux-2.6.26$
However, the 2.6.26 kernel does have it:
Code:
mingdao@silas:~/kernel/linux-2.6.26$ less drivers/ata/ata_piix.c | grep -i ICH10
        /* SATA Controller IDE (ICH10) */
        /* SATA Controller IDE (ICH10) */
        /* SATA Controller IDE (ICH10) */
        /* SATA Controller IDE (ICH10) */
So that patch was added to the mainline kernel sometime after 2.6.24.5.

You can search LKML, try more Google searches, or grep kernel sources to
find out when it was added.

There are many ways to get Slackware installed to that drive. How much Linux
savvy do you have, and how much work are you willing to do? If you just want
to pop a CD/DVD in the drive, boot, and install; you have three choices:

1 - wait until Slackware has a kernel that supports ICH10
2 - find another distro that has a bootable kernel that supports ICH10
3 - pay someone to do the work for you to use Slackware now
 
Old 07-29-2008, 10:34 PM   #7
Kanja
LQ Newbie
 
Registered: Jul 2008
Posts: 7

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Bruce Hill View Post
First, my searches on Google produced lots of people having problems with both
the Intel P45 chipset and Intel ICH10. Since the manufacturer's write drivers for
Microsoft, and not Linux, it's best not to buy the "latest and greatest" products
until you check first to see if the chipset is supported.
That would have been good to know - Bad decision on my part.

Quote:
You can search LKML, try more Google searches, or grep kernel sources to
find out when it was added.
Yeah, it looks like theres some info out there on this question. I did some googling before I posted the question and was unable to find much info, but I didn't think to include p45 in the search terms. That seems to find much more info - I'll have to spend some time reading up tomarrow and see if there are any easy solutions

Quote:
There are many ways to get Slackware installed to that drive. How much Linux
savvy do you have, and how much work are you willing to do?
I chose Slackware because I heard it was a good one to learn on - clearly it does not disappoint! I'm willing to work pretty hard to get this working, since the whole reason I'm moving away from ubuntu is to learn these kind of thorny questions. I have some experience with gnu's tools... I feel pretty comfortable working in the terminal, and I often do shell scripting and work in cygwin for my job.
But I know very little about the internals of Linux. I've never compiled my own kernel, or ever written a line of c (c++ I have worked in though).

I do have an old IDE drive sitting around if you think it makes more sense to start with a clean install and then upgrade the kernel to include support for sata

Thanks!
 
Old 07-29-2008, 10:42 PM   #8
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
There are several ways of getting Slackware installed on that board.
I've not done it, and am too busy with another project to think it
through clearly at the moment, but here are some thoughts. Hopefully,
some other guys will come alongside and offer other suggestions even
before I have time to investigate further.

First, your choice of Slackware to learn GNU Linux is very good. It's
the oldest surviving Linux distro, and is put together very sanely. You
will find all the tools you need.

Maybe someone who's thinking more clearly will come around before I have
a chance to help more. But I think the easiest way to get this done is to
create a USB boot image with a 2.6.26 kernel and start the install that
way -- assuming that your BIOS allows USB boot...

I could build that kernel and offer the necessary stuff for you, just need
to check more on HOW-TO do this.
 
Old 07-30-2008, 03:34 AM   #9
storkus
Member
 
Registered: Jun 2008
Location: Phoenix, Arizona, USA
Distribution: Slackware
Posts: 329

Rep: Reputation: 51
One of the first things I do when performing a new installation is downloading and compiling the latest kernel. Thanks to the menu-driven make system, building the kernel is very easy--the hard part is deciding which options to select, which I'm finding harder and harder to do with each new version because there's just so much new stuff.

What I suggest is downloading and trying to build your own kernel. Make sure to have those boot logs handy as they'll tell you what the distro's install kernel detected and you'll have to manually include them in the menus. The nice part is that, during install of the finished kernel, the old kernel will be backed up so if it doesn't boot, all you need to do is boot with your install CD/DVD, put the old kernel where it was, and run LILO so it knows. It's also possible to run the system off the install CD/DVD's kernel, which I had to do quite a bit when I was trying to get a new kernel running on my new laptop (if you think your desktop's hard, try a laptop: many distros won't even boot on them!).

I know it's not what everyone here is saying, but sooner or later you're going to want to do this. Done correctly you'll have a kernel that's dramatically smaller and your system will run noticeably faster, especially on older hardware.

Mike
 
Old 07-30-2008, 09:28 AM   #10
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
Mike,

You missed the point ... he can't install because the kernel
on the CD/DVD he's booting with doesn't have support for his
chipset. First he's got to get Slackware on his hard drive,
then he can build a custom kernel.
 
Old 07-31-2008, 03:36 AM   #11
storkus
Member
 
Registered: Jun 2008
Location: Phoenix, Arizona, USA
Distribution: Slackware
Posts: 329

Rep: Reputation: 51
Oops--that what I get for posting from work on the graveyard shift while fighting sleep: sorry.

Ok, reading back through, 2.6.24.5 doesn't have ICH10 support but at some later point the kernels do. So I guess somehow we have to get him a boot disk with a later kernel on it, right?

Mike
 
Old 07-31-2008, 04:06 AM   #12
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
Kanja,

Have you made a decision as to what you would like to do next?

It would not be too hard to create a USB boot stick and add a custom
2.6.26 kernel to it. The Slackware installer will only install the
kernels from the official packages, but after installing Slackware,
and before you reboot, you can copy your custom kernel over and fix
LiLO to boot with it.

If you want to do this, post back and we'll go from there. If so, what
size USB flash disk do you have available to use?
 
Old 07-31-2008, 09:02 AM   #13
Kanja
LQ Newbie
 
Registered: Jul 2008
Posts: 7

Original Poster
Rep: Reputation: 0
Hey, sorry I had a busy day and didn't make it back. I've got a 4 gb stick floating around somewhere and several smaller ones (128, 256 and 1 gig), so if you think thats the best way I could set that up. I'm assuming I should stick with the biggest one under two gigs so I won't have to play around with the file system too much, right? I also have a usb HDD, and a mp3 player running rockbox that can connect via mini-usb. I *think* I can boot from any of them. Tonight I'll try to give the usb stick a go, but let me make sure that I've got the right idea.

1)Set up a boot stick using a current version of the kernel.
2)Boot and Install from the usb stick
3)Move the kernel over and add that to the LILO boot menu.
4)Profit.

Am I going to be able to just unpack the install cd, add an extra kernel image to the stick and choose to use that at boot? Or will I have to make a more custom bootloader like the one described at

http://alien.slackbook.org/dokuwiki/...ckware:usbboot

I've never booted from a usb stick before so this first part is a little bit of uncharted territory for me.

Thanks again!
 
Old 07-31-2008, 09:09 AM   #14
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
You found the correct link. Use the 4GB stick and put everything
on it. If you see how to prepare that, get started. It's night
here, but in the morning I'll build you a 2.6.26 kernel using the
2.6.24.5-smp Slackware config, so it will work well for you; then
I'll post it for you to download.

Unless, of course, someone such as Alien Bob or another Slacker
comes to your rescue first.
 
Old 08-07-2008, 08:54 PM   #15
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
Kanja,

Have you resolved this issue yourself? Or do you need more help?
 
  


Reply



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 to install Debian from a SATA DVD-ROM drive ratilio Linux - Newbie 9 07-15-2008 01:37 AM
Can't Install Slackware 11 from SATA dvd drive Vor Kragresh Linux - Hardware 1 08-20-2007 12:09 PM
F6 install not detecting second sata drive. jbmcmillan Fedora - Installation 0 01-01-2007 12:44 PM
Cannot boot from sata dvd drive to install os babysparrow Linux - Hardware 4 08-25-2006 07:44 AM
SATA Drive not detecting hownow Linux - Hardware 1 04-18-2005 07:11 AM

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

All times are GMT -5. The time now is 07:38 PM.

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