LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 04-25-2004, 02:27 PM   #1
veroth
LQ Newbie
 
Registered: Sep 2003
Posts: 17

Rep: Reputation: 0
What exactly is LBA48?


What is LBA48 ? I have a western digital 200GB IDE hard drive (WD2000JB) and I can only partition about 137GB. After playing around for a while I found that I need "LBA48 support" to be able to partition the whole drive.
however I cant seem to figure out exactly what LBA48 is and how to use it. Is it a driver that I need to compile into my kernel? is it a shared lib? is it a property of my hardware and if I want to use it I would need to buy the appropriate piece of hardware? is it some fundamental part of the kernel that has already been compiled into the kernel and all I have to do it turn it on?
Any info on LBA48 would be helpful. And by the way I have a slackware 9.1 Distribution with a 2.6.4 kernel I compiled.

Regards
Aaron Saxton
 
Old 04-26-2004, 12:58 AM   #2
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
LBA48 support usually refers to your BIOS.

If that is the case you need to either update your BIOS (if possible) or get a new motherboard.
 
Old 04-26-2004, 07:11 AM   #3
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,704

Rep: Reputation: 5897Reputation: 5897Reputation: 5897Reputation: 5897Reputation: 5897Reputation: 5897Reputation: 5897Reputation: 5897Reputation: 5897Reputation: 5897Reputation: 5897
48-bit Logical Block Addressing (LBA) extends the capacity of IDE ATA/ATAPI devices beyond the limit of 137.4 GB. This limit applies to IDE ATA/ATAPI devices only and not to SCSI interface devices. The original design specification for the ATA interface only provided 28-bits with which to address the devices. This meant that a hard disk could only have a maximum of 268,435,456 sectors of 512 bytes of data thus limiting the ATA interface to a maximum of 137.4 gigabytes. With 48-bit addressing the limit is 144 petabytes (144,000,000 gigabytes).

The kernel, motherboard BIOS and the IDE controller needs to support LBA48. AFAIK the 2.6 kernel shouldn't have a problem with LBA48.
 
Old 04-27-2004, 12:51 AM   #4
veroth
LQ Newbie
 
Registered: Sep 2003
Posts: 17

Original Poster
Rep: Reputation: 0
Thanks a lot for the help so far. I have been having problems with corrupted data for months now and this information has helped me understand why it is being corrupted.
However, I still have some issues. I have a a7a266 motherboard with a ALI M1535D+ IDE chip set and from what I can find ALI doesn't support LBA48 while in DMA mode, but it will if I drop down to PIO.
After doing some more poking around I found that when I compile the kernel I can tell it to use DMA by default or not. I told it not. but my dmesg still says that it's using DMA for the 200GB hard drives.... I then found how to tell my BIOS not to use DMA.... alas, dmesg still tells me that DMA is being used for my 200GB drives!
Where exactly can I turn off DMA?!
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Intel 440LX and LBA48 Ossar Linux - Hardware 0 12-18-2004 04:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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