LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 11-03-2005, 07:11 PM   #1
slinky2004
Member
 
Registered: Oct 2004
Posts: 309

Rep: Reputation: 30
how can i find out what kind of hard drive i have?


i'm currently seeing some wierd error messages about my hard drive in dmesg and some googling as lead me to the conclusion that i might need to enable some sata drivers or something. "hdparm -i /dev/hda" and "hdparm /dev/hda" will give me some info on my hd, but i need to find out if it's an ata, sata, pata, ide, scsi, etc. type drive. ide and scsi are types of controllers that manage the drive, right? so ata, pata, and sata are the kinds of hard drives? if anybody can help me with this, i'd appreciate it.
 
Old 11-03-2005, 07:39 PM   #2
perfect_circle
Senior Member
 
Registered: Oct 2004
Location: Athens, Greece
Distribution: Slackware, arch
Posts: 1,783

Rep: Reputation: 53
Code:
skalkoto@darkstar:~$ dmesg |grep "hda:"
    ide0: BM-DMA at 0xe800-0xe807, BIOS settings: hda:DMA, hdb:DMA
hda: Maxtor 6B200P0, ATA DISK drive
hda: max request size: 1024KiB
hda: 398297088 sectors (203928 MB) w/8192KiB Cache, CHS=24792/255/63, UDMA(133)
hda: cache flushes supported
 hda: hda1 hda3 < hda5 hda6 hda7 hda8 >

Last edited by perfect_circle; 11-03-2005 at 07:41 PM.
 
Old 11-03-2005, 09:09 PM   #3
slinky2004
Member
 
Registered: Oct 2004
Posts: 309

Original Poster
Rep: Reputation: 30
so, dmesg is the only place i can find this out? thats kinda wierd. doesn't dmesg just report that based on the drivers and such that i'm using? so if i have an ata drive and i'm using a sata driver, dmesg would just say i have a sata drive, right?
 
Old 11-04-2005, 07:45 AM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,750

Rep: Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928
So what type of PC do you have?
Do you know any of its hardware specifications?
What are the wierd error messages you are seeing?
What distribution / version are you running?

The output of the command lscpi will show what type of controllers are installed in the PC.

IDE, ATA, and PATA are really the same thing and the drives have a device ID like /dev/hda, /dev/hdb etc.

http://en.wikipedia.org/wiki/Integra..._ATA_Interface

SCSI, SATA, USB and Firewire have a device ID like /dev/sda, /dev/sdb etc.

You would only need a SATA driver if using a SATA controller. The driver be it IDE or SATA should read the information (Maxtor 6B200P0, ATA DISK drive) from the drive itself.
 
  


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
Cannot find hard drive error Darthbudge Linux - Newbie 1 11-23-2005 10:26 PM
Cannot Find Hard Drive mathewjn Linux - Hardware 2 08-30-2005 03:14 PM
Can't find external hard drive Tianlangyan Linux - Newbie 6 11-11-2004 09:46 AM
Slackware can't find my hard drive! jeffChuck Slackware - Installation 5 07-12-2004 03:11 AM
Slack 9.1 can not find hard drive but 9.0 did neurotic Slackware 3 11-18-2003 12:55 PM

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

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