Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

cd-images with custom kernels

0 views
Skip to first unread message

Teemu Ikonen

unread,
Nov 20, 2003, 3:50:15 PM11/20/03
to
Hi all,

I'd like to test debian-installer on a brand new PC with an ASUS A7V600
motherboard. This motherboard contains a 3Com 3C940 ethernet controller,
which is not supported even in the mainstream stable kernels and thus my
attempt at installing sarge with the Beta 1 debian-installer images
(netinstall) stalled on the network device detection.

I've now successfully built a kernel-image .deb with a patched 2.4.22 kernel
source, which should support the 3C940. Is there a howto or some other
documentation on building d-i cdrom images with a custom kernel and modules?
I tried to decipher the documentation on d-i CVS, but must have missed the
necessary information, if it was there in the first place.

Thanks and best wishes,

Teemu


--
To UNSUBSCRIBE, email to debian-bo...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org

Joey Hess

unread,
Nov 20, 2003, 7:40:09 PM11/20/03
to
Teemu Ikonen wrote:
> I'd like to test debian-installer on a brand new PC with an ASUS A7V600
> motherboard. This motherboard contains a 3Com 3C940 ethernet controller,
> which is not supported even in the mainstream stable kernels and thus my
> attempt at installing sarge with the Beta 1 debian-installer images
> (netinstall) stalled on the network device detection.

I suppose you could just continue past that and do a CD install. Of
course you'd then have to get a fixed kernel onto the installed machine
somehow before it could be put on the net.

> I've now successfully built a kernel-image .deb with a patched 2.4.22 kernel
> source, which should support the 3C940. Is there a howto or some other
> documentation on building d-i cdrom images with a custom kernel and modules?
> I tried to decipher the documentation on d-i CVS, but must have missed the
> necessary information, if it was there in the first place.

We're not at the point of having a HOWTO for this yet. What you need to
look at is the linux-kernel-di package (kernel/linux-kernel-di in CVS),
whose README describes how to make it generate udebs from a kernel-image
.deb. Then you'll want to look at the debian-installer source package
(AKA the build/ directory in CVS), whose README describes how to put
udebs in localudebs, and how to build it. You'll probably have to edit
something in its config/ directory to make it use your new kernel
version.

People have gotten custom kernels to work I know, but I'm still waiting
for a real HOWTO from someone who knows how to do it.

--
see shy jo

signature.asc

Teemu Ikonen

unread,
Nov 21, 2003, 7:50:17 AM11/21/03
to
On 20/11/03 16:30, Joey Hess wrote:
> > I've now successfully built a kernel-image .deb with a patched 2.4.22 kernel
> > source, which should support the 3C940. Is there a howto or some other
> > documentation on building d-i cdrom images with a custom kernel and modules?
> > I tried to decipher the documentation on d-i CVS, but must have missed the
> > necessary information, if it was there in the first place.
>
> We're not at the point of having a HOWTO for this yet. What you need to
> look at is the linux-kernel-di package (kernel/linux-kernel-di in CVS),
> whose README describes how to make it generate udebs from a kernel-image
> .deb. Then you'll want to look at the debian-installer source package
> (AKA the build/ directory in CVS), whose README describes how to put
> udebs in localudebs, and how to build it. You'll probably have to edit
> something in its config/ directory to make it use your new kernel
> version.

Thanks for the reply,

I actually got this far, I built the kernel udebs and put them into
localdebs, the D-I build ("make image") also finished successfully and
produced an iso image to build/dest.

But, this image is only about 5 MB in size and doesn't contain the driver
image files (e.g. net_drivers-image.img), only the cdrom-image, initrd and
the kernel. Any idea on how to make the additional drivers?

Next I took a look on the debian-cd scripts, but found that they'd need a
writable mirror of the Debian archive. This was a bit discouraging :) Maybe
I could copy the contents of the Beta 1 cdrom and replace the driver images
with the ones I've made myself, assuming I can actually make them?

Best wishes,

0 new messages