|
From: Vladimir \Equidamoid\ S. <equ...@gm...> - 2015-02-08 18:17:51
|
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 |
|
From: Richard W. <ric...@gm...> - 2015-02-09 13:12:19
|
On Sun, Feb 8, 2015 at 7:17 PM, Vladimir "Equidamoid" Shapranov <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? Hmm, running 2.6/3 on 2.4 would be challenging. I'd try to use qemu-system-XY. -- Thanks, //richard |
|
From: Vladimir \Equidamoid\ S. <equ...@gm...> - 2015-02-09 13:42:12
|
I thought about it but the idea of running cpu-intensive tasks designed for recent processors inside qemu on P3 class CPU is quite frightening. And network configuration might be tricky too. On 09.02.2015 16:12 , Richard Weinberger wrote: > On Sun, Feb 8, 2015 at 7:17 PM, Vladimir "Equidamoid" Shapranov > <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? > > Hmm, running 2.6/3 on 2.4 would be challenging. > I'd try to use qemu-system-XY. > -- Best regards, Vladimir |
|
From: Enjoy M. <enj...@gm...> - 2015-02-09 02:54:24
|
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-2.4.20-8, 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...> 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... > https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user > |
|
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 |