LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 08-24-2008, 12:37 AM   #1
sikku
LQ Newbie
 
Registered: Aug 2008
Posts: 16

Rep: Reputation: 0
Fedora 9 not detecting SATA Hard Disk...


My problem:

I Installed Fedora 9 to my IDE enabled hard disk.
I purchased a new SATA hard disk and installed it properly.
The BIOS is detecting it and shows that it has 160GB capacity.
Even Windows is detecting it.
But I am unable to detect new SATA hard disk in Fedora 9.

I executed this command

# /sbin/fdisk -l

I got this as the output...

Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x202b4715

Device Boot Start End Blocks Id System
/dev/sda1 * 1 2432 19535008+ 7 HPFS/NTFS
/dev/sda2 2433 9728 58605120 f W95 Ext'd (LBA)
/dev/sda5 2433 4727 18434556 83 Linux
/dev/sda6 4728 4864 1100421 82 Linux swap / Solaris
/dev/sda7 4865 7296 19535008+ 7 HPFS/NTFS
/dev/sda8 7297 8512 9767488+ 7 HPFS/NTFS
/dev/sda9 8513 9728 9767488+ 7 HPFS/NTFS

It shows only one hard disk that is the IDE hard disk. I am confused why it starts with sda? Rather it should start with hda right???

And this command with its output..

# df -h

Filesystem Size Used Avail Use% Mounted on
/dev/sda5 18G 9.4G 7.1G 58% /
tmpfs 501M 188K 500M 1% /dev/shm
/dev/sda9 9.4G 8.9G 461M 96% /media/TARANEY
/dev/sda8 9.4G 7.9G 1.5G 85% /media/Misc
/dev/sda1 19G 15G 4.1G 79% /media/disk
/dev/sda7 19G 19G 191M 100% /media/PREVIOUS

Can anybody help me out to detect my SATA hard disk??

This is my first post in this forum... I always search the internet to find solutions to my problem and get them solved, but never posted in any forums. I could not find out any solution to this problem. What all suggestions I got from the searched items I could not figure out what the problem is.
Hoping that someone can help me out in this regards.

Thanx in advance.
 
Old 08-24-2008, 04:55 PM   #2
amani
Senior Member
 
Registered: Jul 2006
Location: Kolkata, India
Distribution: Debian 64-bit GNU/Linux, Kubuntu64, Fedora QA, Slackware,
Posts: 2,766

Rep: Reputation: Disabled
/dev/sda is ok...it became sda since FC7 (rather the kernel version)

Have you enabled raid in the BIOS?
Use AHCI for SATA

check with a live cd too

or add the kernel option all_generic_ide during boot
 
Old 08-24-2008, 10:11 PM   #3
sikku
LQ Newbie
 
Registered: Aug 2008
Posts: 16

Original Poster
Rep: Reputation: 0
I checked with 2 live CDs.. One wid OpenSuSe 11 and other was Gentoo linux...
Both not detecting the drive...
My kernel version is 2.6.25.14-108.fc9.i686 is there any problem wid kernel versions??

Quote:
or add the kernel option all_generic_ide during boot
How do I do that???

And in BIOS i have 2 options...
1) Auto
2) Legacy mode...

Where do I find AHCI in bios and how to enable raid??
I am not able to find it out in my BIOS... Can u help me out??
 
Old 08-24-2008, 10:11 PM   #4
sikku
LQ Newbie
 
Registered: Aug 2008
Posts: 16

Original Poster
Rep: Reputation: 0
lspci -v is giving this output...

Code:
# /sbin/lspci -v
00:00.0 Host bridge: Intel Corporation 82945G/GZ/P/PL Memory Controller Hub (rev 02)
	Subsystem: Intel Corporation Unknown device d606
	Flags: bus master, fast devsel, latency 0
	Capabilities: [e0] Vendor Specific Information <?>
	Kernel driver in use: agpgart-intel

00:02.0 VGA compatible controller: Intel Corporation 82945G/GZ Integrated Graphics Controller (rev 02) (prog-if 00 [VGA controller])
	Subsystem: Intel Corporation Unknown device d606
	Flags: bus master, fast devsel, latency 0, IRQ 16
	Memory at 50100000 (32-bit, non-prefetchable) [size=512K]
	I/O ports at 20e0 [size=8]
	Memory at 40000000 (32-bit, prefetchable) [size=256M]
	Memory at 50180000 (32-bit, non-prefetchable) [size=256K]
	Capabilities: [90] Message Signalled Interrupts: Mask- 64bit- Queue=0/0 Enable-
	Capabilities: [d0] Power Management version 2
	Kernel modules: intelfb, i915

00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 01)
	Subsystem: Intel Corporation Unknown device d606
	Flags: bus master, fast devsel, latency 0, IRQ 22
	Memory at 501c0000 (64-bit, non-prefetchable) [size=16K]
	Capabilities: [50] Power Management version 2
	Capabilities: [60] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0 Enable-
	Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00
	Kernel driver in use: HDA Intel
	Kernel modules: snd-hda-intel

00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 01) (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0
	Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
	Capabilities: [40] Express Root Port (Slot+), MSI 00
	Capabilities: [80] Message Signalled Interrupts: Mask- 64bit- Queue=0/0 Enable-
	Capabilities: [90] Subsystem: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1
	Capabilities: [a0] Power Management version 2
	Kernel driver in use: pcieport-driver

00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 01) (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0
	Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
	I/O behind bridge: 00001000-00001fff
	Memory behind bridge: 50000000-500fffff
	Prefetchable memory behind bridge: 0000000050200000-00000000502fffff
	Capabilities: [40] Express Root Port (Slot+), MSI 00
	Capabilities: [80] Message Signalled Interrupts: Mask- 64bit- Queue=0/0 Enable-
	Capabilities: [90] Subsystem: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2
	Capabilities: [a0] Power Management version 2
	Kernel driver in use: pcieport-driver

00:1c.2 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 3 (rev 01) (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0
	Bus: primary=00, secondary=03, subordinate=03, sec-latency=0
	Capabilities: [40] Express Root Port (Slot+), MSI 00
	Capabilities: [80] Message Signalled Interrupts: Mask- 64bit- Queue=0/0 Enable-
	Capabilities: [90] Subsystem: Intel Corporation 82801G (ICH7 Family) PCI Express Port 3
	Capabilities: [a0] Power Management version 2
	Kernel driver in use: pcieport-driver

00:1c.3 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 4 (rev 01) (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0
	Bus: primary=00, secondary=04, subordinate=04, sec-latency=0
	Capabilities: [40] Express Root Port (Slot+), MSI 00
	Capabilities: [80] Message Signalled Interrupts: Mask- 64bit- Queue=0/0 Enable-
	Capabilities: [90] Subsystem: Intel Corporation 82801G (ICH7 Family) PCI Express Port 4
	Capabilities: [a0] Power Management version 2
	Kernel driver in use: pcieport-driver

00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 01) (prog-if 00 [UHCI])
	Subsystem: Intel Corporation Unknown device d606
	Flags: bus master, medium devsel, latency 0, IRQ 23
	I/O ports at 2080 [size=32]
	Kernel driver in use: uhci_hcd
	Kernel modules: uhci-hcd

00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 01) (prog-if 00 [UHCI])
	Subsystem: Intel Corporation Unknown device d606
	Flags: bus master, medium devsel, latency 0, IRQ 19
	I/O ports at 2060 [size=32]
	Kernel driver in use: uhci_hcd
	Kernel modules: uhci-hcd

00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 01) (prog-if 00 [UHCI])
	Subsystem: Intel Corporation Unknown device d606
	Flags: bus master, medium devsel, latency 0, IRQ 18
	I/O ports at 2040 [size=32]
	Kernel driver in use: uhci_hcd
	Kernel modules: uhci-hcd

00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 (rev 01) (prog-if 00 [UHCI])
	Subsystem: Intel Corporation Unknown device d606
	Flags: bus master, medium devsel, latency 0, IRQ 16
	I/O ports at 2020 [size=32]
	Kernel driver in use: uhci_hcd
	Kernel modules: uhci-hcd

00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 01) (prog-if 20 [EHCI])
	Subsystem: Intel Corporation Unknown device d606
	Flags: bus master, medium devsel, latency 0, IRQ 23
	Memory at 501c4000 (32-bit, non-prefetchable) [size=1K]
	Capabilities: [50] Power Management version 2
	Capabilities: [58] Debug port: BAR=1 offset=00a0
	Kernel driver in use: ehci_hcd
	Kernel modules: ehci-hcd

00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev e1) (prog-if 01 [Subtractive decode])
	Flags: bus master, fast devsel, latency 0
	Bus: primary=00, secondary=05, subordinate=05, sec-latency=32
	Capabilities: [50] Subsystem: Intel Corporation Unknown device d606

00:1f.0 ISA bridge: Intel Corporation 82801GB/GR (ICH7 Family) LPC Interface Bridge (rev 01)
	Subsystem: Intel Corporation Unknown device d606
	Flags: bus master, medium devsel, latency 0
	Capabilities: [e0] Vendor Specific Information <?>
	Kernel modules: intel-rng, iTCO_wdt

00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 01) (prog-if 8a [Master SecP PriP])
	Subsystem: Intel Corporation Unknown device d606
	Flags: bus master, medium devsel, latency 0, IRQ 18
	I/O ports at 01f0 [size=8]
	I/O ports at 03f4 [size=1]
	I/O ports at 0170 [size=8]
	I/O ports at 0374 [size=1]
	I/O ports at 20b0 [size=16]
	Kernel driver in use: ata_piix
	Kernel modules: ata_piix

00:1f.2 IDE interface: Intel Corporation 82801GB/GR/GH (ICH7 Family) SATA IDE Controller (rev 01) (prog-if 8f [Master SecP SecO PriP PriO])
	Subsystem: Intel Corporation Unknown device d606
	Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 19
	I/O ports at 20c8 [size=8]
	I/O ports at 20ec [size=4]
	I/O ports at 20c0 [size=8]
	I/O ports at 20e8 [size=4]
	I/O ports at 20a0 [size=16]
	Capabilities: [70] Power Management version 2
	Kernel driver in use: ata_piix
	Kernel modules: ata_piix

00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 01)
	Subsystem: Intel Corporation Unknown device d606
	Flags: medium devsel, IRQ 19
	I/O ports at 2000 [size=32]
	Kernel driver in use: i801_smbus
	Kernel modules: i2c-i801

02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 01)
	Subsystem: Intel Corporation Unknown device d606
	Flags: bus master, fast devsel, latency 0, IRQ 17
	I/O ports at 1000 [size=256]
	Memory at 50000000 (64-bit, non-prefetchable) [size=4K]
	Expansion ROM at 50200000 [disabled] [size=128K]
	Capabilities: [40] Power Management version 2
	Capabilities: [48] Vital Product Data <?>
	Capabilities: [50] Message Signalled Interrupts: Mask- 64bit+ Queue=0/1 Enable-
	Capabilities: [60] Express Endpoint, MSI 00
	Capabilities: [84] Vendor Specific Information <?>
	Kernel driver in use: r8169
	Kernel modules: r8169
 
Old 08-24-2008, 10:36 PM   #5
sikku
LQ Newbie
 
Registered: Aug 2008
Posts: 16

Original Poster
Rep: Reputation: 0
Quote:
And in BIOS i have 2 options...
1) Auto
2) Legacy mode...
Sorry it was a mistake...

There I have 1) Native and 2) Legacy...
No AHCI... And no option for raid either...
DO i need to update BIOS??
 
Old 08-25-2008, 06:30 PM   #6
amani
Senior Member
 
Registered: Jul 2006
Location: Kolkata, India
Distribution: Debian 64-bit GNU/Linux, Kubuntu64, Fedora QA, Slackware,
Posts: 2,766

Rep: Reputation: Disabled
Check it with 1)Native first and then with 2)Legacy

If you have a BIOS update then apply that FIRST and check the option

Your problems are with the sata driver apparently and the mainboard. Both ahci
and ata_piix work fine with your drive. ahci is better.


Kernel Options are passed this way:

In grub press 'esc', then 'e' to edit

go to the end of the line

'kernel.........

and add that option

and boot

Later you can edit grub.conf or menu.lst


OR you can blacklist the module and use other modules

http://linux-ata.org/driver-status.html#ahci
 
Old 09-03-2008, 06:50 PM   #7
sikku
LQ Newbie
 
Registered: Aug 2008
Posts: 16

Original Poster
Rep: Reputation: 0
yesterday I tried to install Fedora 9 in one of my friends system... There fedora is detecting the SATA hard disk... there was no problem in detecting it...
I think there is some problem wid my mother board... But the BIOS is detecting it and also windows...
What might be the problem??? Please help....

I tried wid OpenSuse 11 also... OpenSuse is also not detecting my SATA hard disk....
 
Old 09-03-2008, 09:44 PM   #8
amani
Senior Member
 
Registered: Jul 2006
Location: Kolkata, India
Distribution: Debian 64-bit GNU/Linux, Kubuntu64, Fedora QA, Slackware,
Posts: 2,766

Rep: Reputation: Disabled
Usually ...there are no problems with the mainboard.

If it is the same mainboard in your friend's system, then there is some problem

Have you put the SATA cables and power cable in the correct way?

Also,

ata_piix driver

Update: Boot-time, probe-time issues continue to persist in some cases, related to the "PCS" register. The ata_piix driver in 2.6.18 and later provides a "force_pcs" module option to help users deal with this (values: 0=default, 1=ignore PCS, 2=honor PCS). Play around with 'force_pcs' if you have device detection problems.


Try adding

module=ata_piix module=ata_generic noirqdebug

and

module=ata_generic noirqdebug


You can put them in /boot/grub/grub.conf too ...to the kernel line
 
Old 09-04-2008, 10:52 AM   #9
sikku
LQ Newbie
 
Registered: Aug 2008
Posts: 16

Original Poster
Rep: Reputation: 0
Quote:
Usually ...there are no problems with the mainboard.

If it is the same mainboard in your friend's system, then there is some problem
Actually mine and my friend's mother board are both same... Today I took my hard disk and connected to his System... And tried to intall Fedora... It is not detecting there also... Whereas the other SATA HD which he has is getting detected....
So I feel its the issue wid my SATA HD...

Quote:
Have you put the SATA cables and power cable in the correct way?
Dude it is detecting in the BIOS as well as Windows... So surely the SATA cables and power cables are connected properly

Quote:
Also,

ata_piix driver

Update: Boot-time, probe-time issues continue to persist in some cases, related to the "PCS" register. The ata_piix driver in 2.6.18 and later provides a "force_pcs" module option to help users deal with this (values: 0=default, 1=ignore PCS, 2=honor PCS). Play around with 'force_pcs' if you have device detection problems.
How to do this???

Quote:
Try adding

module=ata_piix module=ata_generic noirqdebug

and

module=ata_generic noirqdebug
Am not that expert in Linux... So it would be helpful had you helped me out how to do these things???

Thanx for the effort....
It would be kind of u if u helped me out...
Thanx once again...
 
Old 09-04-2008, 11:04 AM   #10
amani
Senior Member
 
Registered: Jul 2006
Location: Kolkata, India
Distribution: Debian 64-bit GNU/Linux, Kubuntu64, Fedora QA, Slackware,
Posts: 2,766

Rep: Reputation: Disabled
If you have problems in booting the install dvd

add

module=ata_piix module=ata_generic noirqdebug

to the boot line


For an installed system:


#su

#gedit /boot/grub/grub.conf

Edit the line that looks like

kernel /boot/vmlinuz-2.6... root=...

to

kernel /boot/vmlinuz-2.6... root=... all_generic_ide

OR

kernel /boot/vmlinuz-2.6... root=... module=ata_generic noirqdebug

Save and reboot



Try both options
 
Old 09-05-2008, 12:36 AM   #11
fooks
Member
 
Registered: Jan 2007
Location: Ukraine
Posts: 47

Rep: Reputation: 15
I had the same problem with nondetected SATA drives, see how i get it solved

http://www.linuxquestions.org/questi...dora-8-665658/
 
Old 09-05-2008, 10:02 AM   #12
sikku
LQ Newbie
 
Registered: Aug 2008
Posts: 16

Original Poster
Rep: Reputation: 0
I tried everything mentioned above..... nothing is working for me...
 
Old 09-06-2008, 11:47 AM   #13
sikku
LQ Newbie
 
Registered: Aug 2008
Posts: 16

Original Poster
Rep: Reputation: 0
At last I got my SATA HD working... But not with the old one... This time I exchanged my old Western Digital wid new Seagate SATA hard disk...
Now Fedora is detecting it without any problem....

I explained my painful story of not detecting the HD to the vendor... Then he exchanged it wid Seagate, wid 0.1% of extra amount of the actual price of the HD...

What else can I do??? It was almost 2 moths that I had been trying to detect my HD.... I posted my query in many different forums... But no results yet...

Moral of the story:
Next time I wont purchase Western Digital HD....
 
  


Reply

Tags
sata



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
Fedora does not recognize my hard disk SATA pikixi Linux - Software 5 03-06-2008 06:59 AM
SATA Hard disk(Windows) MBR corrupted by IDE hard disk(Linux) Peter_APIIT Fedora 6 07-07-2007 12:20 AM
Fedora Core 5 not detecting my SATA hard disk dudehyd Linux - Hardware 8 05-11-2007 10:49 AM
Fedora C4 Kernel Panic root= SATA Hard disk fieldyweb Linux - General 1 08-22-2005 09:09 AM
Does SATA Hard disk is supported in Fedora srameshnpc Fedora 2 01-23-2004 11:03 AM

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

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