Re: Test-DFS for PowerPC
- To: John Goerzen <firstname.lastname@example.org>
- Cc: Robert Jordens <email@example.com>, ppc debian <firstname.lastname@example.org>, email@example.com, Brad Boyer <firstname.lastname@example.org>, david howe <email@example.com>
- Subject: Re: Test-DFS for PowerPC
- From: Sven Luther <firstname.lastname@example.org>
- Date: Mon, 7 Jun 2004 17:06:27 +0200
- Message-id: <20040607150627.GA31372@pegasos>
- Mail-followup-to: John Goerzen <email@example.com>, Robert Jordens <firstname.lastname@example.org>, ppc debian <email@example.com>, firstname.lastname@example.org, Brad Boyer <email@example.com>, david howe <firstname.lastname@example.org>
- In-reply-to: <20040607131418.GA20167@excelhustler.com>
- References: <20040604180039.GA7152@excelhustler.com> <20040604232335.GA4720@mail.phys.ethz.ch> <1086417563.2443.2.camel@pismo> <20040605085825.GA4638@mail.phys.ethz.ch> <20040605143600.GA20278@pegasos> <20040605173835.GB18518@pants.nu> <20040605182806.GA22121@pegasos> <20040605193210.GD15870@mail.phys.ethz.ch> <20040607044011.GA17702@pegasos> <20040607131418.GA20167@excelhustler.com>
On Mon, Jun 07, 2004 at 08:14:18AM -0500, John Goerzen wrote:
> On Mon, Jun 07, 2004 at 06:40:12AM +0200, Sven Luther wrote:
> > > Bad, bad, bad. You are doing "boot cd:,\boot\yaboot" from OF, right?
> > > (its not \install as on regular debian cds).
> > Yeah, directly copied from your other mail. I had trouble finding the
> > back-/ at first, as it seems to be inexistant on french mac keyboards, ,
> > but then i noticed that the OF is in qwerty layout anyway :)
> > > > BTW, where does the kernel on the iso comes from ?
> > >
> > > Selfmade since we can't build things like ide/cdrom... as modules
> > > because the primary initrd does not contain any modules. The config is
> > > on the image, it's debian 2.6.6 sources, config modelled after
> > > pmac_defconfig and the stuff from John's i386 config added.
> > Why not add those modules to the initrd and have it loaded, like the
> > mkinitrd generated initrd does ? Indeed it should even be possible to
> > use mkinitrd for this purpose, and add an own startup script or
> > something such. Not sure how mkinitrd would take to having ocaml
> > programs (or scripts) though, but i have the feeling that it should make
> > no difference.
> What's the point, though? We bloat the initrd size by putting libc, all
> the module loading tools, etc. on it, or we bloat the kernel size by
> compiling things into the kernel.
Well, i am speaking here not with my ocaml maintainer hat, but my
debian/powerpc kernel maintainer hat on. I Think it is a good idea to
reuse the same kernel as the one used in the debian kernel, instead of
building one specially for this purpose, since then it is really
probable that it will be wokring on the subarch the kernel builder did
build it on, and not any others.
True there is the issue of the initrd, which should be solved, but it is
hardly so difficult a problem.
> Also, mkinitrd seems to just load modules that are specified in a file
> like /etc/modules. It doesn't do any real autodetection, so I don't see
> what it buys us at all.
Well, yes, mkinitrd does generate the initrd scripts and modules, but it
is based on the system it is running on, so not sure if this is
appropriate here. A better solution would be to use discover (or a ocaml
reimplementation using the discover database), as the debian-installer
Actually, i believe that the initrd of the default debian kernel should
use discover too, and not the non-robust mess that is produced by
mkinitrd right now. And then, having an ocaml reimplementation of
discover would be great. I believe it doesn't really do much anyway,
just parse the lspci/sysfs/whatever output, and thae discover database,
and makes call to modprobe.
If ytou don't do that, and which to support more than just the subarches
that are most common, you will need to do agiant kernel like we did for
2.4.25 (the debian kernel is over 5Mo big i believe).
> -- John
> To UNSUBSCRIBE, email to debian-ocaml-maint-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact email@example.com