LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-25-2008, 05:45 AM   #1
rashid68
LQ Newbie
 
Registered: Jul 2007
Posts: 8

Rep: Reputation: 0
How to add new HDD


Hi

I have a Dell Precision 650 workstation with built-in SCSI and IDE controllers. I had 36GB SCSI HDD but now bought a SATA controller installed in a PCI slot. I have Red hat Advanced Server 3 with kernel 2.4.21.51. The BIOS detects the controller and the hard-disk. The Kudzu also detected the controller and the /var/log/messages shows the following:

Jan 25 09:31:20 live kernel: ICH4: not 100%% native mode: will probe irqs later
Jan 25 09:31:20 live kernel: ide0: BM-DMA at 0xffa0-0xffa7, BIOS settings: hdaMA, hdbio
Jan 25 09:31:20 live kernel: ide1: BM-DMA at 0xffa8-0xffaf, BIOS settings: hdcMA, hddio
Jan 25 09:31:20 live kernel: hda: MAXTOR STM3250310AS, ATA DISK drive
Jan 25 09:31:20 live kernel: blk: queue c05111c0, I/O limit 4095Mb (mask 0xffffffff)
Jan 25 09:31:20 live kernel: hdc: SAMSUNG CD-ROM SC-148A, ATAPI CD/DVD-ROM drive
Jan 25 09:31:20 live kernel: ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Jan 25 09:31:20 live kernel: ide1 at 0x170-0x177,0x376 on irq 15
Jan 25 09:31:20 live kernel: hda: attached ide-disk driver.
Jan 25 09:31:20 live kernel: hda: host protected area => 1
Jan 25 09:31:20 live kernel: hda: 488397168 sectors (250059 MB) w/8192KiB Cache, CHS=30401/255/63, UDMA(33)
Jan 25 09:31:20 live kernel: ide-floppy driver 0.99.newide
Jan 25 09:31:20 live kernel: Partition check:
Jan 25 09:31:20 live kernel: hda: unknown partition table
Jan 25 09:31:20 live kernel: ide-floppy driver 0.99.newide

when I do fdisk -l it displays the following:

Disk /dev/sda: 36.4 GB, 36420075008 bytes
255 heads, 63 sectors/track, 4427 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 * 1 13 104391 83 Linux
/dev/sda2 14 1033 8193150 82 Linux swap
/dev/sda3 1034 1670 5116702+ 83 Linux
/dev/sda4 1671 4427 22145602+ f Win95 Ext'd (LBA)
/dev/sda5 1671 4427 22145571 83 Linux

It doesn't show the newly installed drive. I tried to mount the /dev/hda and /dev/sda but no success. I am installing Maxtor 250GB SATA drive.

Any help or hint would be helpful.

RMA
 
Old 01-25-2008, 09:23 AM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian Jessie 8.4
Posts: 5,873

Rep: Reputation: 348Reputation: 348Reputation: 348Reputation: 348
Quote:
Jan 25 09:31:20 live kernel: Partition check:
Jan 25 09:31:20 live kernel: hda: unknown partition table
The new drive is detected, but you apparently have not partitioned and formated the drive.
 
Old 01-25-2008, 09:47 AM   #3
kilgoretrout
Senior Member
 
Registered: Oct 2003
Posts: 2,474

Rep: Reputation: 189Reputation: 189
Even if the drive was not partitioned and formatted, it should still show up in fdisk -l.

I'm not sure that your kernel has sata support. IIRC most of the sata stuff, specifically libata, was backported to the 2.4 kernels in 2.4.27. Check to see if the libata module is loaded by running:

# /sbin/lsmod | grep libata

If not, try loading the module with:

# /sbin/modprobe libata

Along with libata you also need the specific driver module for the chipset used in your sata controller. For example, the one for intel sata controllers is ata_piix. If libata loads, you will have to determine the chipset of your sata controller by checking your lspci output and determine the correct sata module for it.

If you get a module not found error when modprobing libata, the kernel probably doesn't support your sata controller. In that case, you can see if there is a more recent kernel with better sata support available.
 
Old 01-25-2008, 10:40 AM   #4
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian Jessie 8.4
Posts: 5,873

Rep: Reputation: 348Reputation: 348Reputation: 348Reputation: 348
Looking at the OP again, I see several lines that indicate the Maxtor 250GB drive is detected. Fdisk -l should show it if the command is used without a device parameter (fdisk -l). However, if the command is given as 'fdisk -l /dev/sda', then hda won't be listed.
 
Old 01-25-2008, 11:22 AM   #5
kilgoretrout
Senior Member
 
Registered: Oct 2003
Posts: 2,474

Rep: Reputation: 189Reputation: 189
I saw that but I think it's just reading the hardware identifyers of the hardware bus; that doesn't mean the sata modules are loading. However, just to clarify, rashid, please post the entire output of:

# /sbin/fdisk -l
 
  


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
How to add new HDD to LVM fw12 Linux - General 12 08-18-2007 06:31 PM
Unable to add network HDD Onewheelinweirdo Linux - Hardware 6 04-04-2007 05:54 PM
Trying to add a third hard drive (hdd) and get Unable to open /dev/hdd MikeyCarter Linux - Hardware 4 12-26-2005 11:27 PM
I want to add 1 more HDD to Linux 7.2 maverick9900 Linux - Hardware 1 05-05-2005 09:08 AM
add an hdd?? HmmLinux Linux - Hardware 2 02-19-2004 12:42 PM


All times are GMT -5. The time now is 10:35 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration