From: "David A. Gatwood" <dgatwood@gatwood.net>
To: Giuliano Pochini <pochini@shiny.it>
Cc: "Kevin B. Hendricks" <khendricks@ivey.uwo.ca>,
linuxppc-dev@lists.linuxppc.org
Subject: RE: Final question: best wasy to move /, /usr, /home, etc?
Date: Mon, 18 Feb 2002 09:31:21 -0800 (PST) [thread overview]
Message-ID: <Pine.LNX.3.96.1020218092106.6585B-100000@gatwood.net> (raw)
In-Reply-To: <XFMail.20020218094253.pochini@shiny.it>
On Mon, 18 Feb 2002, Giuliano Pochini wrote:
> > I am finally at the point I want to give up my old external scsi hard
> > drives. Unfrotunately, my current /, /usr, /home, etc all exist on scsi
> > drives.
> >
> > I recently purchased a 60 gig hard drive (ide) and have now installed it.
>
> IDE ?!? Bleah !!
Yeah. Be forewarned. Some IDE drives over 34 gigs, particularly when
attached to ATA cards, behave badly under Linux, causing horrible file
system corruption caused by high block numbers being stupidly remapped
over the top of lower block numbers.
After adding an hdg=x,y,z line, it worked until I shut the machine off, at
which point it said that the file systems that were above the 34 gig limit
weren't there. So it had failed again. Several reboots later, it
magically started working.
Long story short, in its power-on state, the Maxtor drive gave incorrect
fictitious geometry, indicating that it was a 2 gig drive. The Linux
kernel code was ignoring the boot arguments and was proceeding to
overwrite them with data from an inquiry on the drive. The problem was
that since the drive reported itself as having 4092 cylinders instead of
the 16,653 cylinders that large drives are -supposed- to report as their
fictitious BIOS geometry, the Linux kernel didn't realize that the
geometry was fictitious, and refused to allow the LBA size information to
override the drive-returned geometry.
It took me a couple of days to debug the IDE code in the kernel to create
a workaround. This is probably the result of a firmware bug in my Maxtor
drive, but if people run into problems where partitions above the 34 gig
limit will fail to work correctly for the first several boots but then
magically start working, I have a possible patch against the 2.2.21
prepatch kernels (should work against any of them, as the code hasn't
changed much).
Later,
David
---------------------------------------------------------------------
Check out my weekly web comic:
http://www.techmagazine.org
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
next prev parent reply other threads:[~2002-02-18 17:31 UTC|newest]
Thread overview: 43+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-02-13 1:08 new G4 dual 1 gig is here - how to install? Kevin B. Hendricks
2002-02-13 1:20 ` Tony 'Nicoya' Mantler
2002-02-13 1:55 ` Kevin B. Hendricks
2002-02-13 8:00 ` Olaf Hering
2002-02-13 13:49 ` Kevin B. Hendricks
2002-02-14 2:29 ` Kevin B. Hendricks
2002-02-14 3:53 ` Ani Joshi
2002-02-15 11:08 ` Kevin B. Hendricks
2002-02-16 9:30 ` Kevin B. Hendricks
2002-02-16 14:44 ` SMP kernel configuration question? Kevin B. Hendricks
2002-02-16 19:26 ` Benjamin Herrenschmidt
2002-02-16 15:39 ` SMP kernel seems to work fine Kevin B. Hendricks
2002-02-16 19:24 ` new G4 dual 1 gig is here - how to install? Benjamin Herrenschmidt
2002-02-14 13:53 ` Kevin B. Hendricks
2002-02-14 18:08 ` benh
2002-02-14 19:31 ` Christopher C. Chimelis
2002-02-13 2:25 ` Tom Rini
2002-02-13 5:37 ` Olaf Hering
2002-02-16 2:24 ` Kevin B. Hendricks
2002-02-16 19:19 ` Benjamin Herrenschmidt
2002-02-17 18:22 ` radeonfb.c flakiness Kevin B. Hendricks
2002-02-17 21:51 ` Benjamin Herrenschmidt
2002-02-18 20:55 ` Kevin B. Hendricks
2002-02-19 0:04 ` Benjamin Herrenschmidt
2002-02-16 23:59 ` question on best way to install other ide drives? Kevin B. Hendricks
2002-02-17 0:11 ` Tom Rini
2002-02-17 20:16 ` Timothy A. Seufert
2002-02-17 20:38 ` question: "disabling IRQ 54 defensively?" Kevin B. Hendricks
2002-02-17 21:53 ` Benjamin Herrenschmidt
2002-02-18 2:17 ` Final question: best wasy to move /, /usr, /home, etc? Kevin B. Hendricks
2002-02-18 2:36 ` Bastien Nocera
2002-02-18 16:16 ` Tom Rini
2002-02-18 16:20 ` Bastien Nocera
2002-02-18 3:12 ` Jeramy B. Smith
2002-02-18 8:42 ` Giuliano Pochini
2002-02-18 14:52 ` Derrik Pates
2002-02-18 15:05 ` Gabriel Paubert
2002-02-18 23:18 ` Michael Heironimus
2002-02-18 17:31 ` David A. Gatwood [this message]
2002-02-17 21:52 ` question on best way to install other ide drives? Benjamin Herrenschmidt
2002-02-17 23:19 ` Tom Rini
2002-02-16 2:40 ` Weird bug problems with timing of NIC driver loading? Kevin B. Hendricks
2002-02-16 19:22 ` Benjamin Herrenschmidt
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=Pine.LNX.3.96.1020218092106.6585B-100000@gatwood.net \
--to=dgatwood@gatwood.net \
--cc=khendricks@ivey.uwo.ca \
--cc=linuxppc-dev@lists.linuxppc.org \
--cc=pochini@shiny.it \
/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;
as well as URLs for NNTP newsgroup(s).