LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 01-31-2009, 12:22 PM   #1
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
Slackware 12.2 on PATA SSD - Cant use as SATA?


I'm trying to put Slackware 12.2 on my Dell Mini9, which uses a 15GB SSD instead of a regular hard drive. In the BIOS settings this is identified as a PATA drive. What is driving me nuts is that I can't get the Slackware install system to recognize it as a SATA drive (which Ubuntu did when I had that installed), it always comes up as an IDE drive. Booting with "hugesmp.s hda=noprobe" isn't doing anything. After booting the drive is being identified as hda, not sda. I suppose I can live with the performance hit, but if there is a different way to identify this as a SATA drive for installation, that would be fantastic.
 
Old 01-31-2009, 01:29 PM   #2
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
Go into the BIOS and put the SATA controller in AHCI mode, it may just recognize it then.
 
Old 01-31-2009, 01:48 PM   #3
guanx
Senior Member
 
Registered: Dec 2008
Posts: 1,176

Rep: Reputation: 233Reputation: 233Reputation: 233
I guess in Ubuntu it's just the device name which looks like SATA. The drive was also working in IDE mode. Switching to AHCI will let both distributions recognize the SATA controller.
 
Old 01-31-2009, 02:32 PM   #4
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803

Original Poster
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
Thanks for the suggestions, but it looks like it is just plain IDE access only. The BIOS doesn't even have a way to change the controller mode. Oh well, the performance probably won't be that noticeable anyway given that the machine is pretty limited to begin with.
 
Old 01-31-2009, 02:49 PM   #5
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
If there is no way to change the controller mode, then try finding out what controller you have. Post the output of '/sbin/lspci', if you can.
 
Old 02-02-2009, 07:41 AM   #6
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803

Original Poster
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
Here is the lspci output:

Code:
00:00.0 Host bridge: Intel Corporation Mobile 945GME Express Memory Controller Hub (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GME Express Integrated Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller (rev 03)
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 02)
00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 02)
00:1c.2 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 3 (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 02)
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)
00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 02)
00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 02)
00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 02)
02:00.0 System peripheral: JMicron Technologies, Inc. SD/MMC Host Controller
02:00.2 SD Host controller: JMicron Technologies, Inc. Standard SD Host Controller
02:00.3 System peripheral: JMicron Technologies, Inc. MS Host Controller
03:00.0 Network controller: Broadcom Corporation BCM4312 802.11b/g (rev 01)
04:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller (rev 02)
I'm guessing it is the second JMicron SD Controller as the computer does have a SDHC card reader.
 
Old 02-02-2009, 08:20 AM   #7
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
I think this is the controller:
Code:
00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 02)
The JMicron ones are for either SD card or MS (memory stick). But, maybe I'm wrong, I've never really worked with SSDs, and don't know how they interface.

So, how where did you get this output, from Ubuntu or Slackware ? Either way try '/sbin/lspci -vv' and look at the driver it is using, so post the IDE interface part of the output.
 
Old 02-02-2009, 10:01 AM   #8
guanx
Senior Member
 
Registered: Dec 2008
Posts: 1,176

Rep: Reputation: 233Reputation: 233Reputation: 233
Quote:
Originally Posted by Hangdog42 View Post
Here is the lspci output:
Code:
... (snip)
I don't see SATA controller there. If there is one, it will look like this:
Code:
gx@blackden:~$ /sbin/lspci
00:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 945GT Express Memory Controller Hub (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller (r
ev 03)
00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller (rev
03)
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 02)
00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 02)
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)
00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 02)
00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 02)
00:1f.2 SATA controller: Intel Corporation 82801GBM/GHM (ICH7 Family) SATA AHCI Controller (rev 02)
00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 02)
02:00.0 Ethernet controller: Intel Corporation 82573L Gigabit Ethernet Controller
03:03.0 FireWire (IEEE 1394): Agere Systems FW323 (rev 70)
03:04.0 Ethernet controller: Atheros Communications Inc. AR5212/AR5213 Multiprotocol MAC/baseband processor (rev 01)

Last edited by guanx; 02-02-2009 at 10:05 AM.
 
Old 02-02-2009, 12:07 PM   #9
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803

Original Poster
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
I think you're both right, there isn't a SATA controller there. Apparently Dell is using an IDE controller. Nothing in the lspic -vv even mentions SATA or PATA. The performance is actually OK, so this probably isn't a big deal, just surprising to me. Oh, and by the wayk, both this and the previous lspci are from Slackware since I ripped Ubuntu off the machine. I just couldn't take it anymore.

Code:
00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 02) (prog-if 8a [Master SecP PriP])
	Subsystem: Dell Unknown device 02b0
	Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0
	Interrupt: pin B routed to IRQ 19
	Region 0: I/O ports at 01f0 [size=8]
	Region 1: I/O ports at 03f4 [size=1]
	Region 2: I/O ports at 0170 [size=8]
	Region 3: I/O ports at 0374 [size=1]
	Region 4: I/O ports at 1810 [size=16]
	Kernel driver in use: PIIX_IDE
 
Old 02-02-2009, 01:53 PM   #10
guanx
Senior Member
 
Registered: Dec 2008
Posts: 1,176

Rep: Reputation: 233Reputation: 233Reputation: 233
Quote:
Originally Posted by Hangdog42 View Post
Oh, and by the wayk, both this and the previous lspci are from Slackware since I ripped Ubuntu off the machine. I just couldn't take it anymore.
In Ubuntu it's just the device name which looks like SATA. That's because the default PATA driver is libata there. The libata driver has coaxed a lot of people into misunderstanding their hardware. Really cunning.
 
Old 02-02-2009, 02:30 PM   #11
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
I think guanx is right, it doesn't matter what it say as long as it works. So far these are the only two drivers I see that potentially match that controller:

Code:
  │ Symbol: PATA_MPIIX [=n]                                                 │  
  │ Prompt: Intel PATA MPIIX support                                        │  
  │   Defined at drivers/ata/Kconfig:437                                    │  
  │   Depends on: ATA && PCI                                                │  
  │   Location:                                                             │  
  │     -> Device Drivers                                                   │  
  │       -> Serial ATA (prod) and Parallel ATA (experimental) drivers (ATA │  
  │                                                                         │  
  │                                                                         │  
  │ Symbol: ATA_PIIX [=n]                                                   │  
  │ Prompt: Intel ESB, ICH, PIIX3, PIIX4 PATA/SATA support                  │  
  │   Defined at drivers/ata/Kconfig:60                                     │  
  │   Depends on: ATA && PCI                                                │  
  │   Location:                                                             │  
  │     -> Device Drivers                                                   │  
  │       -> Serial ATA (prod) and Parallel ATA (experimental) drivers (ATA │
 
Old 02-02-2009, 02:42 PM   #12
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,716
Blog Entries: 3

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
unless it is a true scsi device the kernel vanila will use those drivers.
The only physical difference between a SATA drive and a PATA drive is the power and data cable connections.

PATA has a 40 pin IDE connection. SATA has 7 pin connector. PATA has a 4 pin molex power connector. SATA has a 15 pin power cable.

IDE refers to the type of interface for the drive. ATA either serial or parallel, refers to the method of transferring data along the cable.

There is no master/slave configuration on SATA drives.

PATA/SATA comparison.
 
  


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
LXer: SSD vs. SATA benchmarks, round 2: Server applications LXer Syndicated Linux News 0 07-31-2008 10:00 PM
LXer: SSD vs. SATA RAID: A performance benchmark LXer Syndicated Linux News 0 07-30-2008 08:00 PM
Installing to PATA disk on motherboards that use SATA and "legacy" PATA. demianph Slackware - Installation 1 07-02-2008 10:15 AM
PATA vs. SATA ddaas Linux - Hardware 7 04-24-2007 02:06 PM
New motherboard with SATA and PATA won't boot linux from PATA centosian Linux - General 4 08-14-2006 10:24 AM

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

All times are GMT -5. The time now is 09:08 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