[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Compiling kernel 2.4.20 on m68k



On Mon, Jan 19, 2004 at 01:08:07PM +0100, Geert Uytterhoeven wrote:
> On Sun, 18 Jan 2004, Lance Tagliapietra wrote:
> > Attached please find my .config and my .config.old.
> >
> > My .config shows the configuration which finally worked, elminiating the
> > link errors for the outb_p() and friends.
> >
> > My .config.old shows the configuration which caused the link errors we
> > have been discussing.
> 
> > On Sun, Jan 18, 2004 at 06:20:52PM +0100, Geert Uytterhoeven wrote:
> > > On Sun, 18 Jan 2004, Lance Tagliapietra wrote:
> > > > On Sat, Jan 17, 2004 at 07:31:59PM +0100, Geert Uytterhoeven wrote:
> > > > A grep of the source tree shows that floppy_hardint is referenced in
> > > > /arch/m68k/kernel/entry.S
> > > > /include/asm-m68k/floppy.h
> > > > in the m68k files.  The floppy_hardint() function does use these calls.
> > > >
> > > > > Do you still have CONFIG_FLOPPY enabled? That's the PC style floppy. Please
> > > > > disable it when building an Amiga-only kernel, since it won't work.
> > > >
> > > > No, CONFIG_FLOPPY is not set in my .config.  It is not set in the
> > > > 2.4.20 Debian release binary Config-2.4.20 either.  I do have
> > > > CONFIG_AMIGA_FLOPPY enabled though, which is also enabled in the Debian
> > > > 2.4.20 release config.
> 
> Oops, PC-style floppy is CONFIG_BLK_DEV_FD, not CONFIG_FLOPPY. If you disable
> that one, it does build (tested your .config.old on 2.4.24).

Interestingly enough, CONFIG_BLK_DEF_FD and CONFIG_AMIGA_PCMCIA are both
set in the config-2.4.20 in the current stable 2.4.20 release kernel
image for the Amiga (see file
kernel-image-2.4.20-amiga_2.4.20-5_m68k.deb).  That is why I didn't turn
this off originally, I thought it was required, as it is used in the
production kernel. This should probably be checked for on future 2.4.x
releases for m68k.

Thanks for the info on CONFIG_BLK_DEV_FD, and I'll try a build with it
and CONFIG_AMIGA_PCMCIA turned off.

--Lance

> 
> Gr{oetje,eeting}s,
> 
> 						Geert
> 
> --
> Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
> 
> In personal conversations with technical people, I call myself a hacker. But
> when I'm talking to journalists I just say "programmer" or something like that.
> 							    -- Linus Torvalds



Reply to: