From: "McMullan, Jason" <jason.mcmullan@timesys.com>
To: "Greg KH" <greg@kroah.com>, <akpm@zip.com.au>
Cc: Linux Kernel <linux-kernel@vger.kernel.org>,
ecashin@coraid.com, PPC_LINUX <linuxppc-embedded@ozlabs.org>
Subject: Re: [PATCH 2.6.11.7] ATA Over Ethernet Root, Mark 2
Date: Mon, 16 May 2005 09:20:01 -0400
Date: Mon, 16 May 2005 09:14:02 -0400 [thread overview]
Message-ID: <1116249602.9050.105.camel@jmcmullan.timesys> (raw)
In-Reply-To: <20050514072826.GB20021@kroah.com>
[-- Attachment #1: Type: text/plain, Size: 2944 bytes --]
[First off: Andrew, I'm sorry I didn't make it more clear that the AOE
root patch was just for review, not for submission. Please remove it
from -mm]
On Sat, 2005-05-14 at 00:28 -0700, Greg KH wrote:
> I'm guessing you are only testing this out on devfs?
Yes. udev takes 5 minutes to complete on my 8mb, 100Mhz board.
> Why not fix this up properly, and allow root devices on _any_ type of
> block device that is not immediately present at "try to mount time"? The
> USB and firewire users of the world will love you...
Sure. No problem. Where is this patch you speak of?
> Also, please CC the aoe maintainer, that's documented in
> Documentation/SubmittingPatches :)
I did to support@coraid.com, in a separate message.
> > +config ATA_OVER_ETH_ROOT_SHELF
> > + int "Shelf ID"
> > + depends on ATA_OVER_ETH_ROOT
>
> Ick. Why not use a boot parameter if you really want to use something
> so icky (hint, we should rely on the name or major/minor, not something
> else like this.)
Because kernel major/minor change dynamically based upon the number of
AOE blades on your LAN. As setting them in __setup() - sure, no problem,
this patch was just a 15 minute hack job.
> You do know devfs is going away in 2 months, right?
Yes, much to my disappointment. udevd is so frick'n bloaty.
> Looks like you are mixing up shelf and slot values with major and minor
> numbers. I'm confused.
As was I. The original driver uses the words 'major' and 'minor' to
mean *both* kernel major/minor numbers and AOE blade slot/shelf IDs,
depending on context. Took me a bit to wrap my brain around it too.
> Should be in a separate patch, to fix up devfs issues in the driver,
> right? This goes for the other devfs calls in this patch. That is if
> you don't mind me removing them in 2 months :)
Yeah, I know, I was just being lazy and using the uber-fast devfs.
> So, my main question is, why is this patch needed? Is it because aoe
> devices aren't quite present and found quick enough during the boot
> process?
Yep.
> If so, I suggest one of the two solutions:
> - do like the rest of the world does for usb and firewire and
> other types of slow boot devices and use an initrd/initramfs
> that mounts the root partition after it is properly found.
> Distros do this all the time, so there are lots of examples to
> pull from if you want to do this for yours.
I only have 8Mb of RAM. No room for initrd.
> - fix up the patch that is floating around that allows the
> kernel to pause and wait and not oops out if the root
> partition is not found. That way all users of all kinds of
> slow devices can benefit, and driver specific hacks like this
> are not needed.
Again, this happy patch you speak of... Where can I find this wonder?
--
Jason McMullan <jason.mcmullan@timesys.com>
TimeSys Corporation
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2005-05-16 13:20 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-05-13 19:17 [PATCH 2.6.11.7] ATA Over Ethernet Root, Mark 2 McMullan, Jason
2005-05-14 7:28 ` Greg KH
2005-05-16 13:20 ` McMullan, Jason [this message]
2005-05-16 16:20 ` Greg KH
2005-05-16 17:03 ` Ed L Cashin
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=1116249602.9050.105.camel@jmcmullan.timesys \
--to=jason.mcmullan@timesys.com \
--cc=akpm@zip.com.au \
--cc=ecashin@coraid.com \
--cc=greg@kroah.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linuxppc-embedded@ozlabs.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