From: Jeffrey Baker <jwbaker@acm.org>
To: linux-kernel@vger.kernel.org
Subject: Different geometry settings for identical drives
Date: Fri, 30 May 2003 15:46:03 -0700 [thread overview]
Message-ID: <20030530224603.GA21297@heat> (raw)
I'm having some IDE troubles on 2.4.21-rc3 on amd64
platform. The problem is I've got these two drives:
hda: WDC WD1200JB-75CRA0, ATA DISK drive
blk: queue ffffffff80442aa0, no I/O memory limit
hdc: WDC WD1200JB-75CRA0, ATA DISK drive
hdd: MATSHITA CR-177, ATAPI CD/DVD-ROM drive
blk: queue ffffffff80443238, no I/O memory limit
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: attached ide-disk driver.
hda: host protected area => 1
hda: setmax LBA 234441648, native 234375000
hda: 234375000 sectors (120000 MB) w/8192KiB Cache, CHS=232514/16/63, UDMA(100)
hdc: attached ide-disk driver.
hdc: host protected area => 1
hdc: setmax LBA 234441648, native 234375000
hdc: 234375000 sectors (120000 MB) w/8192KiB Cache, CHS=232514/16/63, UDMA(100)
hdd: attached ide-cdrom driver.
hdd: ATAPI 24X CD-ROM drive, 128kB Cache, UDMA(33)
which are configured identically in the BIOS and recognized identically
at bootup, but the geometry is getting setup differently:
prime:~# hdparm /dev/hda /dev/hdc | grep geometry
geometry = 14589/255/63, sectors = 234375000, start = 0
geometry = 35906/16/63, sectors = 234375000, start = 0
prime:~# cat /proc/ide/ide0/hda/geometry
physical 232514/16/63
logical 14589/255/63
prime:~# cat /proc/ide/ide1/hdc/geometry
physical 232514/16/63
logical 232514/16/63
The result is that hda works fine but hdc doesn't. When I try to mke2fs
on the latter I see:
hdc: dma_intr: status=0x51 { DriveReady SeekComplete Error }
hdc: dma_intr: error=0x10 { SectorIdNotFound }, LBAsect=234441583, sector=232343808
You can see that LBAsect (234441583) is higher than the "native" sectors
quoted by the kernel (234375000, difference 66583 sectors). Why are
these two disks being addressed differently?
IDE controller is AMD 8111.
Cheers,
jwb
next reply other threads:[~2003-05-30 22:32 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-05-30 22:46 Jeffrey Baker [this message]
2003-05-30 23:50 ` Different geometry settings for identical drives Andries Brouwer
-- strict thread matches above, loose matches on Subject: below --
2003-05-30 23:20 Petr Vandrovec
2003-05-30 23:38 ` Jeffrey W. Baker
2003-05-31 0:19 Petr Vandrovec
2003-06-02 18:13 ` Jeffrey W. Baker
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20030530224603.GA21297@heat \
--to=jwbaker@acm.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox