|
From: Vladimir \Equidamoid\ S. <equ...@gm...> - 2015-02-09 09:14:55
|
If only I could update the kernel... Maybe there is some workaround to make it work? On 09.02.2015 05:54 , Enjoy Mindful wrote: > Is it possible to build and run 2.6 on 2.4? What environment is > required? What are the limitations if any? > > The answer depends. As you said, you were trying to run 2.6 on 2.4.18. I > think that kernel is too old to run 2.4 uml kernel. So, it can't run 2.6 > kernel. > > I tried to run old 2.4 uml kernel on redhat-9 (oh, what an old release) > virtual machine. It turn out that the original kernel, kernel-t, > is too old to run 2.4 kernel. There is a bug in that kernel make it > impossible to run any uml kernel. So, after dig in google, I update the > kernel to 2.4.25. It works as expected. > > I managed to boot kernel-2.6.11 on 2.4.25, but it failed to login. It > may because the root filesystem is too old. > > thanks > > > > On Mon, Feb 9, 2015 at 2:17 AM, Vladimir "Equidamoid" Shapranov > <equ...@gm... <mailto:equ...@gm...>> wrote: > > Hi, > > I need to run some recent software on a legacy server running 2.4.18 > kernel. Sadly it is not possible to rebuild the sotware to run natively > with that kernel (our code requires boost, boost requires gcc 4.5+, > gcc4.5+ doesn't like old glibc and recent glibc doesnt build for 2.4 > kernel). > So I'm trying to run UML 2.6 kernel on 2.4 system. I tried prebuilt > 2.6.27 kernel from (http://uml.devloop.org.uk/kernels.html) but it > refused to run on 2.4 ("ERROR: kernel too old"). Next, I tried to build > it on the Debian Woody VM with gcc 2.95 & 3.4 and glibc 2.2 but got > dozens of errors. > Is it possible to build and run 2.6 on 2.4? What environment is > required? What are the limitations if any? > > Thank you! > > > -- > Best regards, > Vladimir > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming. The Go Parallel Website, > sponsored by Intel and developed in partnership with Slashdot Media, > is your > hub for all things parallel software development, from weekly thought > leadership blogs to news, videos, case studies, tutorials and more. > Take a > look and join the conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > User-mode-linux-user mailing list > Use...@li... > <mailto:Use...@li...> > https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user > > -- Best regards, Vladimir |