Page 1 of 2

Links to Internet Sources

Posted: Tue 07 Jun 2011, 11:53
by Bruce B
Please make links clickable and formatted

~

Posted: Tue 07 Jun 2011, 14:01
by Lobster

Posted: Tue 07 Jun 2011, 16:18
by sc0ttman

Why Compile a new Kernel?

Posted: Wed 08 Jun 2011, 01:00
by Aitch
Why Compile a new Kernel?

http://www.hotaboutlinux.com/2010/02/wh ... ew-kernel/

systemtap, as recommended in previous link

http://sourceware.org/systemtap/wiki

Can someone please post a thread explaining static and dynamic links, with advantages/disadvantages, please? :D

Aitch :)

Posted: Wed 08 Jun 2011, 11:21
by sc0ttman

Posted: Wed 08 Jun 2011, 15:30
by Lobster

Posted: Mon 13 Jun 2011, 20:29
by WillM

looking for source

Posted: Tue 27 Dec 2011, 16:16
by wdt
Since I have a netbook with a rtl8188 wifi chip
I have had to often compile the modules.
(for magea and salix)
This needs a link /lib/modules/(version)/build which points to /usr/src/linux(version)
Where is source for Slacko, 2.6.37.6?
(my salix is smp, have already tried and failed)

dave

Posted: Tue 27 Dec 2011, 17:46
by amigo
"static and dynamic links" -what you mean is link*ing*.
Linking statically means that the linked library is included in its' entirety in your final binary. dynamic linking means your final binary will look for the shared(dynamic) links at runtime. Actually it is ld-linux.so which looks for and loads the shared libs before runnign your program, but that is another story.

Using static libs means you get a larger binary, but (usually) shorter load time. If the needed libs are already present on your system as shared libraries, it makes little sense (usually) to include them redundantly in your binary. If you did that for every program and library then you'd have hundreds of copies of glibs and other libs on your system -nearly everything uses glibc.

Posted: Tue 27 Dec 2011, 17:56
by Aitch
thanks, amigo

Aitch :)

soft link

Posted: Tue 27 Dec 2011, 18:31
by wdt
Err what I meant is a soft link, ln -s /lib/.../build /usr/src/linux...
Or else the make fails, complains that there is no build
What it finds in /usr/src I don't know, but the make completes.
and I have a rlt8192ce.ko and a rtlwifi.ko and the fireware
that make install will put into the right place.
And then the Realtek 8188ce wifi chip will work

dave

Posted: Tue 27 Dec 2011, 18:33
by wdt
Sorry can't edit post
ln command is backwards

dave

Posted: Thu 05 Jan 2012, 20:47
by wdt
Finally, after much searching

http://puppylinux-online.net/uploads/28 ... atched.sfs

Don't know yet if it is OK, still downloading

Posted: Thu 05 Jan 2012, 21:43
by 01micko
For convenience link to kernel source is in Slickpet>sfs tab.

It downloads and installs, full or frugal. This was done to alleviate searching for source.

Only the correct source for your kernel is downloaded, because Slacko ships with a choice of kernels.

Image

Posted: Thu 05 Jan 2012, 21:44
by 01micko
Sorry, double post

Posted: Thu 05 Jan 2012, 21:45
by 01micko
Why is this thread broken mods? Can't edit!

Posted: Sun 08 Jan 2012, 02:57
by Flash
Registered users should now be able to edit their posts in this Compiling subsection, attach files, download files, etc., just as they can anywhere else in the forum. If I'm wrong, please send me a PM. Thank you. :)

Posted: Tue 10 Jan 2012, 20:16
by 01micko
Flash wrote:Registered users should now be able to edit their posts in this Compiling subsection, attach files, download files, etc., just as they can anywhere else in the forum. If I'm wrong, please send me a PM. Thank you. :)
Thanks Flash :) , works now.

lack of .config?

Posted: Wed 11 Jan 2012, 21:31
by wdt
But I really didn't want to change kernel, would I not
have to make a new puppy_slacko_5.3.1.sfs?
kernel 2.6.37.6
I see now that it downloads the correct version,
is there a config in it?

The title say it all.
All that I have been able to get is
Invalid module format ,
even after getting modversion matching (from modinfo)
I attribute this to lack of .config, a copy from /boot,
copied somewhere into incude as well as /usr/src/linux
dmesg says disagrees about version of symbol module_layout
I have more or less given up, puppy is not suitable
for this netbook at this time
It take more than a hour to compile on this dual core atom

Still fails

Posted: Wed 11 Jan 2012, 22:57
by wdt
There is a 2.5.37.6 src available
And this src bundle has a .config
cd to wifi src, make uninstall; make clean; make; make install
modprobe rtlwifi
Invalid module format
dmesg |tail
disagrees about version of symbol module_layout

I had absolutely no problem with salix or pclinuxos
compiling this driver, and it works

BTW the vermagic is identical to say aufs or cfg80211
(as shown by modinfo)