PCLinuxOS-Forums
News: ...FLASH!!! ...New PCLinuxOS Testing board now open. Register today! Be an active contributor to the PCLinuxOS future! ... Read all about it now, on THIS forum!!!..
 
*
Welcome, Guest. Please login or register. May 25, 2012, 02:50:22 AM


Login with username, password and session length


Pages: [1]   Go Down
  Print  
Author Topic: Linux From Scratch using an older kernel  (Read 342 times)
satuser083
Sr. Member
****
Offline Offline

Posts: 473


« on: January 20, 2012, 03:32:30 PM »

Hope this is the correct forum  Wink

I've been considering the idea of trying to build my own version of PCLOS-linux (a kind of Linux From Scratch), but would need an older kernel than the latest (which appears to be v2.6.38.4) since this one does not contain the necessary Via Unichrome drivers for my Siemens Amilo-Pro. Before I waste a load of time attempting a pointless project, just a modest question: is it feasible to do this and, if so, would such a system be upgradeable in the medium future and where would I get the necessary modules.

This would be a first for me, so if it really is a daft idea, just say so; I can take it  Grin Roll Eyes .

Thanks
Logged
menotu
PCLinuxOS Tester
Super Villain
*******
Offline Offline

Posts: 11972

┌∩┐(◕_◕)┌∩┐


« Reply #1 on: January 20, 2012, 03:37:17 PM »

Does the 2.6.31.12 kernel support the Via Unichrome drivers? as that seems to be the earliest one in the repos
Logged

If you can keep you head while all around you are losing theirs, then you have misunderstood the situation.

PCLinuxOS 32bit & 64bit; 3.2.17bfs kernel, KDE 4.8.3; nvidia 295.53, Athlon 64 X2 4200+; 4GB Ram; NVidia GeForce 8400GS 1GB; x.org 1.10.4 ; 500GB/320GB
Old-Polack
Administrator
Hero Member
*****
Offline Offline

Posts: 9695


----IOFLU----


« Reply #2 on: January 20, 2012, 03:39:29 PM »

Hope this is the correct forum  Wink

I've been considering the idea of trying to build my own version of PCLOS-linux (a kind of Linux From Scratch), but would need an older kernel than the latest (which appears to be v2.6.38.4) since this one does not contain the necessary Via Unichrome drivers for my Siemens Amilo-Pro. Before I waste a load of time attempting a pointless project, just a modest question: is it feasible to do this and, if so, would such a system be upgradeable in the medium future and where would I get the necessary modules.

This would be a first for me, so if it really is a daft idea, just say so; I can take it  Grin Roll Eyes .

Thanks

Yes it is.  Grin Grin
Logged

Old-Polack

Of what use be there for joy, if not for the sharing thereof?



Lest we forget...
satuser083
Sr. Member
****
Offline Offline

Posts: 473


« Reply #3 on: January 20, 2012, 03:51:08 PM »

Hope this is the correct forum  Wink

This would be a first for me, so if it really is a daft idea, just say so; I can take it  Grin Roll Eyes .

Thanks

Yes it is.  Grin Grin

OK, short and to the point  Roll Eyes Roll Eyes . Another question, then: would it be possible to include the missing drivers in the latest kernel? I've read quite a lot about developing linux (not necessarily a PCLOS flavour) for older machines, but don't quite understand the logic of that, if the older drivers (which these older machines may need) have been excluded from the build. Am probably missing something here  Cry .
Thanks
Logged
Neal ManBear
Administrator
Super Villain
*****
Offline Offline

Posts: 15188


LXDE! Coffee, Bacon and Cheesecake!


« Reply #4 on: January 20, 2012, 04:02:39 PM »

The Linux kernel devs do the kernel stuff, not us.     
Logged

Old-Polack
Administrator
Hero Member
*****
Offline Offline

Posts: 9695


----IOFLU----


« Reply #5 on: January 20, 2012, 05:47:56 PM »

Hope this is the correct forum  Wink

This would be a first for me, so if it really is a daft idea, just say so; I can take it  Grin Roll Eyes .

Thanks

Yes it is.  Grin Grin

OK, short and to the point  Roll Eyes Roll Eyes . Another question, then: would it be possible to include the missing drivers in the latest kernel? I've read quite a lot about developing linux (not necessarily a PCLOS flavour) for older machines, but don't quite understand the logic of that, if the older drivers (which these older machines may need) have been excluded from the build. Am probably missing something here  Cry .
Thanks

It is entirely possible to build a Linux operating system that is fully compatible with your hardware, but you'd have to use older versions of all the software; ones that were contemporaneous to the time when the hardware was new, or just a couple of years old. Things like the X server would have to be versions no longer in common use, but compatible with the via driver in question, and the kernel used would have to be new enough to contain the drivers you need, but old enough to run compatibly with the older X server. All of the core packages would also have to be compatible with each other, and the kernel, in order for software to compile properly.

Your best bet for something like you suggest would be to find the newest older version of a static distro (your choice which one) that still contains a kernel with the appropriate discontinued drivers you need, install it, then try compiling newer versions of the various applications to gain any available security updates and newer features. When you get to a point where you are satisfied with the stability and performance, and have the applications you need upgraded as far as you can go, stop fiddling with the OS and just enjoy what you have. Being as there would still be some known security issues remaining, I would definitely run behind a firewall, were I you.

Just as a FYI, I still have an old SUSE 8.2, and a Mandrake 10.1, on a hard drive in an older computer, and I still use them because they were both nice stable systems on that hardware, but neither will run on any modern hardware. Newer hardware gets newer software, and kernels with newer drivers appropriate to that hardware. Driver modules no longer compatible with the newer software get dropped from the mix. That's just the way it works, and why you can't use a rolling release that is continuously upgrading, on that particular piece of hardware.
Logged

Old-Polack

Of what use be there for joy, if not for the sharing thereof?



Lest we forget...
satuser083
Sr. Member
****
Offline Offline

Posts: 473


« Reply #6 on: January 21, 2012, 05:39:46 AM »


Your best bet for something like you suggest would be to find the newest older version of a static distro (your choice which one) that still contains a kernel with the appropriate discontinued drivers you need, install it, then try compiling newer versions of the various applications to gain any available security updates and newer features. When you get to a point where you are satisfied with the stability and performance, and have the applications you need upgraded as far as you can go, stop fiddling with the OS and just enjoy what you have. Being as there would still be some known security issues remaining, I would definitely run behind a firewall, were I you.


Thanks, OP, that sounds like just what I need; I'd also like to stay with a PCLOS-flavour, if possible.

Just one point, though; when you say  'try compiling newer versions of the various applications', I assume that means doing this manually (i.e. not via synaptic)?  Are the app-sources likely to be on the same repos as the distros?

Would need some help in finding the mirrors that hold these distros, though; any chance of your pointing me in the right direction for the latter  Wink ?

Thanks.
Logged
Archie
Global Moderator
Hero Member
*****
Offline Offline

Posts: 6867


I will never forget you, uhhh...


« Reply #7 on: January 21, 2012, 05:58:20 AM »

Actually you can. And your idea of using PCLinuxOS as a basesystem woould be the best choice. You have to go over to LinuxFromScratch and download the manual. You'll need to follow it to the letter.

This had been my project for several years now. Every year that I attempt to do it, somewhere things go awry and I have to shelve the project because I've lost my motivation. I keep hoping that the month I get my motivation back, I can be successful. I am not short on Linux knowledge and I am quite versatile on the command line.

I hope you will have better results. Good luck, I will keep my fingers crossed, and keep us posted.

Peace and much respect,
Archie
Logged

Hootiegibbon
Hero Member
*****
Offline Offline

Posts: 4207

Registered Linux User #421404


« Reply #8 on: January 21, 2012, 06:04:07 AM »


The big issue here is not the Kernel, its more than likely Mesa which dropped support for many unfinished/unsupported gfx cards - unichrome was I believe part of that cull.

you may wish to try "openchrome" or the "via" xorg xserver instead, other than that your choices are the FBdev (which can be also used as a xorg "option" with (some) other xservers) with or  Vesa options.

As for a base - give RAW a try ( /me self promoting )

Jase





Logged

** FORUM SEARCH **

I am Hootiegibbon, undisputed champion fo the typo

My .dotfiles
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM