LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 07-31-2004, 08:41 PM   #1
genex
LQ Newbie
 
Registered: Jul 2004
Distribution: Fedora Core 2
Posts: 6

Rep: Reputation: 0
WD SATA drive not working in FC2, asus p4p800 mobo


i cannot seem to access my sata drive. here is the output of /etc/sysconfig/hwconf:
class: HD
bus: SCSI
detached: 0
device: sda
driver: ignore
desc: "Ata WDC WD2500JD-00G"
host: 1
id: 0
channel: 0
lun: 0
generic: sg0

i'm pretty sure this device needs the ata_piix driver for the ICH5R controller. however, i can't find any relevant lines in dmesg for the sata drive. if it helps here is lspci:

[root@genex /]# lspci
00:00.0 Host bridge: Intel Corp. 82865G/PE/P DRAM Controller/Host-Hub Interface (rev 02)
00:01.0 PCI bridge: Intel Corp. 82865G/PE/P PCI to AGP Controller (rev 02)
00:1d.0 USB Controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB UHCI #1 (rev 02)
00:1d.1 USB Controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB UHCI #2 (rev 02)
00:1d.2 USB Controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB UHCI #3 (rev 02)
00:1d.3 USB Controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB UHCI #4 (rev 02)
00:1d.7 USB Controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB2 EHCI Controller (rev 02)
00:1e.0 PCI bridge: Intel Corp. 82801BA/CA/DB/EB/ER Hub interface to PCI Bridge (rev c2)
00:1f.0 ISA bridge: Intel Corp. 82801EB/ER (ICH5/ICH5R) LPC Bridge (rev 02)
00:1f.1 IDE interface: Intel Corp. 82801EB/ER (ICH5/ICH5R) Ultra ATA 100 Storage Controller (rev 02)
00:1f.2 IDE interface: Intel Corp. 82801EB (ICH5) Serial ATA 150 Storage Controller (rev 02)
00:1f.3 SMBus: Intel Corp. 82801EB/ER (ICH5/ICH5R) SMBus Controller (rev 02)
00:1f.5 Multimedia audio controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller (rev 02)01:00.0 VGA compatible controller: nVidia Corporation NV17 [GeForce4 MX 440] (rev a3)
02:05.0 Ethernet controller: 3Com Corporation 3c940 10/100/1000Base-T [Marvell] (rev 12)
02:0a.0 Ethernet controller: 3Com Corporation 3c905B 100BaseTX [Cyclone] (rev 30)

again the drive is a western digital 250 gb SATA and the mobo is asus p4p800. distro is FC2
 
Old 08-03-2004, 12:39 PM   #2
genex
LQ Newbie
 
Registered: Jul 2004
Distribution: Fedora Core 2
Posts: 6

Original Poster
Rep: Reputation: 0
bump
 
Old 08-03-2004, 02:27 PM   #3
genex
LQ Newbie
 
Registered: Jul 2004
Distribution: Fedora Core 2
Posts: 6

Original Poster
Rep: Reputation: 0
i've got it working now. check to make sure the driver is present:
/lib/modules/'uname-r'/kernel/drivers/scsi
should list the driver you need. in my case it is ata_piix.ko
do a modprobe ata_piix (i tried insmod ata_piix but that didn't work)
check that the module is loaded with lsmod
make a directory for the drive
mkdir /mnt/sata
then mount the drive with
mount /dev/sda /mnt/sata
then you can put a file system on with
mkfs -t ext3 /dev/sda

then add this to /etc/modprobe.conf
alias scsi_hostadapter ata_piix
 
Old 08-08-2004, 07:09 PM   #4
genex
LQ Newbie
 
Registered: Jul 2004
Distribution: Fedora Core 2
Posts: 6

Original Poster
Rep: Reputation: 0
oh, and don't forget like me to:
depmod -a
 
Old 08-09-2004, 06:12 AM   #5
paulinimus
Member
 
Registered: Aug 2004
Distribution: SLACKWARE10.0
Posts: 65

Rep: Reputation: 15
S-ATA disk

Hey, Im a newbie when it comes to Slackware.
Im trying to install Slackware 10.0 on a brand new box - Athlon 64, with 1 x Seagate Barracuda 80GB S-ATA disk.

Was using Mandrake before (sorry). Want to use slack.
The problem is that I cannot seem to mount a partition. Might be that I cannot configure the driver.

I follw the steps in pre-setup - choosing F3 to get the full list of kernels. I have chosen a number of different options - bare.i, raid.i,....And each time I run 'cfdisk' I get an error meassage.
I know the disk is there because I can format it in FAT32.

I guess what I really want is a newbie partition guide !!
 
Old 09-05-2004, 02:05 PM   #6
jacktu
LQ Newbie
 
Registered: May 2003
Posts: 3

Rep: Reputation: 0
Quote:
Originally posted by genex
i've got it working now. check to make sure the driver is present:
/lib/modules/'uname-r'/kernel/drivers/scsi
should list the driver you need. in my case it is ata_piix.ko
do a modprobe ata_piix (i tried insmod ata_piix but that didn't work)
check that the module is loaded with lsmod
make a directory for the drive
mkdir /mnt/sata
then mount the drive with
mount /dev/sda /mnt/sata
then you can put a file system on with
mkfs -t ext3 /dev/sda

then add this to /etc/modprobe.conf
alias scsi_hostadapter ata_piix
Genex,

Can you show me your grub.conf? I has the same board with you; p4c800-e and two wdc on intel sata. I can't boot my FC2 up if I enable sata on BIOS. I only can boot up fc2 if I set my BIOS to compatiable mode not p-ata and s-ata.

Thanks for the help.
 
Old 09-06-2004, 12:34 PM   #7
jacktu
LQ Newbie
 
Registered: May 2003
Posts: 3

Rep: Reputation: 0
I finally made it boot now. It is so funny all I did was to downgrade my bios form 1017 to 1016 and it fixed sata enable boot problem. It boot much better and faster wtih my intel sata enable. The next thing I need to do is to figure out dual boot and mount the disk as ntfs.

[root@localhost root]# lspci
00:00.0 Host bridge: Intel Corp. 82875P Memory Controller Hub (rev 02)
00:01.0 PCI bridge: Intel Corp. 82875P Processor to AGP Controller (rev 02)
00:03.0 PCI bridge: Intel Corp. 82875P Processor to PCI to CSA Bridge (rev 02)
00:1d.0 USB Controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB UHCI #1 (rev 02)00:1d.1 USB Controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB UHCI #2 (rev 02)00:1d.2 USB Controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB UHCI #3 (rev 02)00:1d.3 USB Controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB UHCI #4 (rev 02)00:1d.7 USB Controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB2 EHCI Controller (rev 02)
00:1e.0 PCI bridge: Intel Corp. 82801BA/CA/DB/EB/ER Hub interface to PCI Bridge (rev c2)
00:1f.0 ISA bridge: Intel Corp. 82801EB/ER (ICH5/ICH5R) LPC Bridge (rev 02)
00:1f.1 IDE interface: Intel Corp. 82801EB/ER (ICH5/ICH5R) Ultra ATA 100 Storage Controller (rev 02)
00:1f.2 RAID bus controller: Intel Corp. 82801EB (ICH5R) SATA (cc=RAID) (rev 02)00:1f.3 SMBus: Intel Corp. 82801EB/ER (ICH5/ICH5R) SMBus Controller (rev 02)
00:1f.5 Multimedia audio controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller (rev 02)
01:00.0 VGA compatible controller: nVidia Corporation NV25 [GeForce4 Ti 4600] (rev a2)
02:01.0 Ethernet controller: Intel Corp. 82547EI Gigabit Ethernet Controller (LOM)
03:03.0 FireWire (IEEE 1394): VIA Technologies, Inc. IEEE 1394 Host Controller (rev 46)
03:04.0 RAID bus controller: Promise Technology, Inc. PDC20378 (SATA150 TX) (rev 02)


Tjois was from /etc/sysconfig/hwconf:

class: HD
bus: IDE
detached: 0
device: hdd
driver: ignore
desc: "ST320420A"
physical: 16383/16/63
logical: 39535/16/63
-
class: RAID
bus: PCI
detached: 0
driver: sata_promise
desc: "Promise Technology, Inc.|PDC20378 (SATA150 TX)"
vendorId: 105a
deviceId: 3373
subVendorId: 1043
subDeviceId: 80f5
pciType: 1
pcidom: 0
pcibus: 3
pcidev: 4
pcifn: 0



class: IDE
bus: PCI
detached: 0
driver: unknown
desc: "Intel Corp.|82801EB/ER (ICH5/ICH5R) Ultra ATA 100 Storage Controller"
vendorId: 8086
deviceId: 24db
subVendorId: 1043
subDeviceId: 80a6
pciType: 1
pcidom: 0
pcibus: 0
pcidev: 1f
pcifn: 1
 
  


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
SATA hard drive not found: sata_sis not working with ASUS T2 (SiS 760GX) jcspray Linux - Hardware 4 10-17-2005 11:36 AM
Dual Boot FC4 XP on Asus P4P800 Mobo regorbro Linux - Newbie 1 08-14-2005 03:30 PM
3com NIC embeded on an ASUS P4P800 not working on kernel 2.6.0 XStorm Linux - Hardware 1 10-04-2004 07:58 AM
asus P4P800 mirko86 Linux - Hardware 0 06-15-2004 04:05 AM
ASUS P4P800 AD1985 is not working on RH9.0(2.4.20-8) Ibrahim Linux - Hardware 7 09-26-2003 04:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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