LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 05-18-2008, 03:59 PM   #1
newtovanilla
Member
 
Registered: Apr 2008
Posts: 267

Rep: Reputation: 30
Large Capacity HOWTO, errors with setmax: HDIO_DRIVE_CMD_AED failed


Someone gave me one of their old drives, a Maxtor 80GB drive. When I try to see the capacity of the disk, it is only showing 33GB. On the web, I found the "Large Capacity HOWTO" and tried the "setmax" command that they tell you to use. This error came up "setmax -d 0":

HDIO_DRIVE_CMD_AED failed.

The capacity of the drive is still limited to 33GB. I also tried the "setmax -m 66055248" and then rebooted and again "setmax -d 0". Both commands gave a HDIO error.

I searched LQ for an answer, and looked up the error on Google, but did not find a solution.
 
Old 05-18-2008, 04:16 PM   #2
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
What version of Linux kernel you are using? How do you measure the capacity, with fdisk?
 
Old 05-18-2008, 05:04 PM   #3
newtovanilla
Member
 
Registered: Apr 2008
Posts: 267

Original Poster
Rep: Reputation: 30
Quote:
What version of Linux kernel you are using? How do you measure the capacity, with fdisk?
Linux kernel 2.6.22
(parted) p
Model: Maxtor 6 Y080P0 (scsi)
Disk /dev/sda: 33.8GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

I could not find out what the errors mean. A Google search for the HDIO_DRIVE_CMD_AED turned up nothing.
Quote:
Your search - HDIO_DRIVE_CMD_AED - did not match any documents.
 
Old 05-18-2008, 06:15 PM   #4
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
Seems like a BIOS limitation, how old is this motherboard?
That's weird, Linux shouldn't care about BIOS limits, maybe parted is using BIOS ... what does fdisk say?
 
Old 05-18-2008, 06:28 PM   #5
newtovanilla
Member
 
Registered: Apr 2008
Posts: 267

Original Poster
Rep: Reputation: 30
fdisk v2.13
Quote:
Disk /dev/sda: 33.8 GB, 33820284928 bytes
255 heads, 63 sectors/track, 4111 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
fdisk also gave a warning,
"The number of cylinders for this disk is set to 4111.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs"

I also have a post asking about hdparm errors from this Maxtor drive:
http://www.linuxquestions.org/questi...ata133-643112/

edit: I also tried to put the jumper on the "Limit Capacity" setting and retried the "setmax -m" and setmax -d" commands, and there was no change. It still shows up as 33GB.

Last edited by newtovanilla; 05-18-2008 at 06:40 PM.
 
  


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
howto copy & backup LARGE amount of data edenCC Linux - Server 5 12-16-2007 09:02 AM
LXer: This week at LWN: Large pages, large blocks, and large problems LXer Syndicated Linux News 0 09-27-2007 11:40 AM
Slow or failed copy of large files to NFS david.skinner Linux - Networking 1 06-11-2006 05:22 AM
failed "Read Cd/Dvd Capacity" FC4 on a HP Pav8000 evans0409 Linux - Hardware 4 10-14-2005 05:50 PM
READ CAPACITY FAILED message odin123 Linux - Hardware 0 11-22-2002 11:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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