View previous topic :: View next topic |
Author |
Message |
Generic n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 26 Mar 2003 Posts: 17 Location: South Florida
|
Posted: Sat Mar 27, 2004 6:46 pm Post subject: Hard Drive Geometry is wrong |
|
|
I have 2 identical hard drives, IBM 75GXP 45gigs. The first hardrive has boot, swap, / and /home on it, while the second hardrive is just a 33 gig fat32 drive with winxp on it. Yes, just 33gigs. It does not and will not recognize the full 45 gigs. And yes, i tried multiple paritions, I can use any combination of 33gigs!
I checked somethings out and came up with some interesting points
The "broken" harddrive has 255 heads, 63 sectors, and 4111 cylinders, while the other "working" harddrive has 255 heads, 63 sectors, and 5606 cylinders. These were reported by cfdisk and fdisk.
I figured that I could just use fdisk and change the 4111 to 5606, reboot, and it would register as 45 gigs, but it does not. I have also tried hardcoding into the bios, but that didnt work. Then i tried selecting none in the bios and seeing if maybe it was passing off the parameters, but that did not yeild any more space ethier.
Here are the outputs of hdparm -I /dev/hda and /dev/hdb
The working hd
Code: |
hydrogen root # hdparm -I /dev/hda
/dev/hda:
ATA device, with non-removable media
powers-up in standby; SET FEATURES subcmd spins-up.
Model Number: IBM-DTLA-307045
Serial Number: YMEYMMX7935
Firmware Revision: TX6OA60A
Standards:
Used: ATA/ATAPI-5 T13 1321D revision 1
Supported: 5 4 3 2 & some of 6
Configuration:
Logical max current
cylinders 16383 16383
heads 15 15
sectors/track 63 63
--
CHS current addressable sectors: 15481935
LBA user addressable sectors: 90069840
device size with M = 1024*1024: 43979 MBytes
device size with M = 1000*1000: 46115 MBytes (46 GB)
Capabilities:
LBA, IORDY(can be disabled)
bytes avail on r/w long: 40 Queue depth: 32
Standby timer values: spec'd by Standard, no device specific minimum
R/W multiple sector transfer: Max = 16 Current = 16
Advanced power management level: unknown setting (0x0000)
Recommended acoustic management value: 128, current value: 254
DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 *udma5
Cycle time: min=120ns recommended=120ns
PIO: pio0 pio1 pio2 pio3 pio4
Cycle time: no flow control=240ns IORDY flow control=120ns
Commands/features:
Enabled Supported:
* NOP cmd
* READ BUFFER cmd
* WRITE BUFFER cmd
* Host Protected Area feature set
Release interrupt
* Look-ahead
* Write cache
* Power Management feature set
Security Mode feature set
* SMART feature set
Automatic Acoustic Management feature set
SET MAX security extension
Address Offset Reserved Area Boot
SET FEATURES subcommand required to spinup after power up
Power-Up In Standby feature set
Advanced Power Management feature set
* READ/WRITE DMA QUEUED
Security:
Master password revision code = 65534
supported
not enabled
not locked
not frozen
not expired: security count
not supported: enhanced erase
38min for SECURITY ERASE UNIT.
HW reset results:
CBLID- above Vih
Device num = 0 determined by CSEL
Checksum: correct
|
The Broken hd
Code: |
hydrogen root # hdparm -I /dev/hdb
/dev/hdb:
ATA device, with non-removable media
powers-up in standby; SET FEATURES subcmd spins-up.
Model Number: IBM-DTLA-307045
Serial Number: YMEYMMX7917
Firmware Revision: TX6OA60A
Standards:
Used: ATA/ATAPI-5 T13 1321D revision 1
Supported: 5 4 3 2 & some of 6
Configuration:
Logical max current
cylinders 16383 16383
heads 16 16
sectors/track 63 63
--
CHS current addressable sectors: 16514064
LBA user addressable sectors: 66055248
device size with M = 1024*1024: 32253 MBytes
device size with M = 1000*1000: 33820 MBytes (33 GB)
Capabilities:
LBA, IORDY(can be disabled)
bytes avail on r/w long: 40 Queue depth: 32
Standby timer values: spec'd by Standard, no device specific minimum
R/W multiple sector transfer: Max = 16 Current = 16
Advanced power management level: unknown setting (0x0000)
Recommended acoustic management value: 128, current value: 254
DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 *udma5
Cycle time: min=120ns recommended=120ns
PIO: pio0 pio1 pio2 pio3 pio4
Cycle time: no flow control=240ns IORDY flow control=120ns
Commands/features:
Enabled Supported:
* NOP cmd
* READ BUFFER cmd
* WRITE BUFFER cmd
* Host Protected Area feature set
Release interrupt
* Look-ahead
* Write cache
* Power Management feature set
Security Mode feature set
* SMART feature set
Automatic Acoustic Management feature set
SET MAX security extension
Address Offset Reserved Area Boot
SET FEATURES subcommand required to spinup after power up
Power-Up In Standby feature set
Advanced Power Management feature set
* READ/WRITE DMA QUEUED
Security:
Master password revision code = 65534
supported
not enabled
not locked
not frozen
not expired: security count
not supported: enhanced erase
38min for SECURITY ERASE UNIT.
HW reset results:
CBLID- above Vih
Device num = 1 determined by CSEL
Checksum: correct
|
Any help would be great. I've run out of ideas... |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Mark Clegg Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/13263777914a046351cd7a9.jpg)
Joined: 05 Jan 2004 Posts: 270 Location: ZZ9 Plural Z Alpha
|
Posted: Sat Mar 27, 2004 7:08 pm Post subject: |
|
|
Maybe the MBR is corrupt? - can you afford to loose everything on the disk?
If so, try ...
dd if=/dev/zeero of=/dev/hd? bs=1k count=1
... and then re-fdisk it
That will completely wipe the boot sector |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Generic n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 26 Mar 2003 Posts: 17 Location: South Florida
|
Posted: Sat Mar 27, 2004 7:17 pm Post subject: |
|
|
Mark Clegg wrote: | Maybe the MBR is corrupt? - can you afford to loose everything on the disk?
If so, try ...
dd if=/dev/zeero of=/dev/hd? bs=1k count=1
... and then re-fdisk it
That will completely wipe the boot sector |
I tried that and I still get the same thing |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Generic n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 26 Mar 2003 Posts: 17 Location: South Florida
|
Posted: Sun Mar 28, 2004 5:57 am Post subject: |
|
|
Fixed, but i feel like an idiot, should have been the first thing i checked...
It was the jumpers on the hard drive... ![Rolling Eyes :roll:](images/smiles/icon_rolleyes.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|