Re: [Thinstation-developer] Kernel headers
Brought to you by:
doncuppjr
From: Michael K <ts....@gm...> - 2012-05-23 03:17:30
|
Don and Mike, Is there a reason to not have the kernel sources on there by default to make it easier to build custom modules? It would be reasonably easy to add this to the kernel packages. I did some looking and figured out what it would take and could keep it relatively small. I could also make a port that could install the kernel sources on demand and just include the pieces from the kernel build in the kernel packages, to help keep the size of the GIT repo down a little. Mike, I have a custom kernel that I'm working on, and also pre-5.1, so give me a day or two to get something with the stock 3.2.16 kernels. Did someone else throw together an nVidia package already? - michael On Tue, May 22, 2012 at 9:20 AM, Don Cupp <don...@ya...> wrote: > Resending +Wider Distribution > > The open-vm-tools also requires kernel headers in order to build, so I > worked out a hack that downloads the kernel and uses the current SMP ts. > config to set up some kernel headers > that the package can use to compile open-vm-tools. It's my understanding > that the nvidia driver is even easier to work with, as you can actually > override default kernel detection routines and point it at a specific > kernel for compiling. If this is not so, you might have to hack uname to > report a kernel version other than what is running on the host, or use > devstation, as it uses the TS SMP kernel. > > I did not make a kernel headers package, as we actually have two different > kernels, and it is sometimes necessary to have configured headers for > module building. That is why I took this approach. I think with a little > patience, anybody that knows how to compile with crux, should be able to > figure out how to work with this. > *From:* Michael K <ts....@gm...> > *To:* TrevorB <tr...@ba...> > *Cc:* developer <thi...@li...> > *Sent:* Tuesday, May 22, 2012 7:06 AM > > *Subject:* Re: [Thinstation-developer] Kernel headers > > Trevor and all, > > For kernel modules, you actually need the build of the kernel, or at least > parts of it. The uname thing helps, but it's not required. You just have to > pass more arguments to the command line. > > nVidia has a wrapper makefile, so it only needs one argument. I now have > compiled the kernel module and just have to deal with putting together the > package. I don't have a newer chipset to test it out though, so maybe > Trevor can take what I have and run with it. > > Steps: > Compile the kernel (cd /ts/ports/components/kernel-TS[_SMP]; pkgmk -kw) > Extract the package (sh NVIDIA-Linux-x86-$version -x) > Build the kernel module (make > SYSSRC=/ts/ports/components/kernel-TS[_SMP]/work/src/linux-$kver module) > > Questions: > Do we think there is any value to having the necessary parts for building > kernel modules installed via a port to facilitate custom module creation? > Should the kernel-headers be separated from glibc and updated? > > - Michael > > On Sun, May 20, 2012 at 9:46 PM, TrevorB <tr...@ba...> wrote: > > Sorry, got as far as creating a dummy uname, but got dragged off to > family things. May get a chance Tuesday night. > TrevorB > > Mike Eriksen <thi...@gm...> wrote: > > >Don, any chance to get the kernel headers included in TS-5? They are > >need to compile the proprietary nVidia driver (which is in Crux > >ports), which is a crown jewel for thin clients running client side > >web browsers. As far as I know TS-2.2.2 just owns that territory for > >the time being. > > > >Mike > >-- > >Operator of the Danish TS-O-Matic. > >http://thinstation.org > >Thinstation consultant for hire - payable via PayPal > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Thinstation-developer mailing list > Thi...@li... > https://lists.sourceforge.net/lists/listinfo/thinstation-developer > > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Thinstation-developer mailing list > Thi...@li... > https://lists.sourceforge.net/lists/listinfo/thinstation-developer > > > |