LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 07-09-2006, 05:06 PM   #1
abefroman
Senior Member
 
Registered: Feb 2004
Location: Chicago
Distribution: CentOS
Posts: 1,277

Rep: Reputation: 53
The kernel I compiled reads my sata drives as hda even though the rpm kernel read sda


The kernel I compiled reads my sata drives as hda even though the rpm kernel reads it as sda

I have both of these enabled:[*] Serial ATA (SATA) support <M> Intel PIIX/ICH SATA support

Why wont it read it as /dev/sda?
 
Old 07-09-2006, 07:57 PM   #2
Gethyn
Member
 
Registered: Aug 2003
Location: UK
Distribution: (X)Ubuntu 10.04/10.10, Debian 5, CentOS 5
Posts: 900

Rep: Reputation: 32
Is this a 2.4.x kernel?
 
Old 07-09-2006, 09:28 PM   #3
abefroman
Senior Member
 
Registered: Feb 2004
Location: Chicago
Distribution: CentOS
Posts: 1,277

Original Poster
Rep: Reputation: 53
Yes, the RPM is 2.4.21-32.0.1.ELsmp
the one from kernel.org is 2.4.32
 
Old 07-10-2006, 06:33 AM   #4
Gethyn
Member
 
Registered: Aug 2003
Location: UK
Distribution: (X)Ubuntu 10.04/10.10, Debian 5, CentOS 5
Posts: 900

Rep: Reputation: 32
Well, as far as I remember, kernel 2.4 lists sata drives as hdx. The change to sdx came with kernel 2.6. Is this a problem?
 
Old 07-10-2006, 09:39 AM   #5
abefroman
Senior Member
 
Registered: Feb 2004
Location: Chicago
Distribution: CentOS
Posts: 1,277

Original Poster
Rep: Reputation: 53
When it reads it as hda its not finding my swap space even if I chnage the fstab to say hda.

Any ideas?
 
Old 07-10-2006, 05:42 PM   #6
Gethyn
Member
 
Registered: Aug 2003
Location: UK
Distribution: (X)Ubuntu 10.04/10.10, Debian 5, CentOS 5
Posts: 900

Rep: Reputation: 32
Just in case you've not already done this: it should be hda# where # is the number of the partition that your swap is on. For example, mine is on /dev/hda7.
 
  


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
New Kernel -> Can't read device /dev/hda flamesrock Linux - Software 2 02-07-2005 05:43 PM
kernel 2.6.8.1 - very slow read from sata asm Linux - Hardware 2 10-07-2004 08:49 AM
Booting from SATA Drives w/Kernel 2.6.8.1 t-peters1975 Slackware 7 09-29-2004 07:03 AM
Update a compiled kernel with rpm? monster8 Linux - Software 0 07-07-2004 04:07 PM
LFS compiled kernel can't read partition table curtdodds Linux From Scratch 6 08-05-2003 10:50 PM


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