From: Aivils <ai...@un...> - 2004-12-15 07:15:12
|
On Tuesday 14 December 2004 23:47, Helge Hafting wrote: > On Mon, Dec 13, 2004 at 12:00:57AM +0100, Zoltan Boszormenyi wrote: > > Helge Hafting =EDrta: > > >On Sat, Dec 11, 2004 at 04:49:53PM +0100, Zoltan Boszormenyi wrote: > > > > > >>There's a chunk in ruby-2.6.9-20041021, that's wrong. > > >>It causes the compile error in line 1616. Here's the correct chunk. > > >>It's the line after 'case GIO_FONTX:'. > > >> > > > > > >Thanks a lot, this compiled fine! :-) > > > > > >Helge Hafting > >=20 > > And I hope it works on your machines, at least it works on mine. ;-) >=20 > Thanks for all the help so far. > The kernel works in the sense that it boots. > Unfortunately, 2.6.9 for amd64 has exactly the same problem as > 2.6.9 for i386, it hangs the machine when the xserver tries to > utilize the radeon 9200SE PCI card. >=20 > So I tried compiling 2.6.8.1, as that one works for i386 for me. > I got this: >=20 > CC arch/x86_64/kernel/setup.o > arch/x86_64/kernel/setup.c: In function `setup_arch': > arch/x86_64/kernel/setup.c:582: error: `conswitchp' undeclared (first use= in=20 > this function) > arch/x86_64/kernel/setup.c:582: error: (Each undeclared identifier is rep= orted=20 > only once > arch/x86_64/kernel/setup.c:582: error: for each function it appears in.) > arch/x86_64/kernel/setup.c:582: error: `vga_con' undeclared (first use in= this=20 > function) > make[1]: *** [arch/x86_64/kernel/setup.o] Error 1 > make: *** [arch/x86_64/kernel] Error 2 >=20 > Is there a trick to get this going, or will I have to wait > for 2.6.10 and the next ruby release? CVS-ed 2.6.9 arch/x86_64/kernel/setup.c and ruby-2.6.9-20041021.diff.bz2 does not contain these lines :) You should manualy delete some lines from arch/x86_64/kernel/setup.c , if You will use versions below 2.6.9=20 diff -Nurp --exclude-from=3Dexclude linux-2.6.9/arch/x86_64/kernel/setup.c = r269/arch/x86_64/kernel/setup.c =2D-- linux-2.6.9/arch/x86_64/kernel/setup.c 2004-10-19 00:53:07.00000= 0000 +0300 +++ r269/arch/x86_64/kernel/setup.c 2004-10-21 21:04:27.000000000 +0300 @@ -596,14 +596,6 @@ void __init setup_arch(char **cmdline_p) #ifdef CONFIG_GART_IOMMU iommu_hole_init(); #endif =2D =2D#ifdef CONFIG_VT =2D#if defined(CONFIG_VGA_CONSOLE) =2D conswitchp =3D &vga_con; =2D#elif defined(CONFIG_DUMMY_CONSOLE) =2D conswitchp =3D &dummy_con; =2D#endif =2D#endif } static int __init get_model_name(struct cpuinfo_x86 *c) Aivils |