SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have a Norhtec Microclient Jr. that I'm searching for a good Linux distrib for. This is a fairly underpowered machine (200MHz cpu, 128mb RAM) but Slackware 12.1 with fluxbox and the huge.s kernel seems to work okay with it. It's not exactly what you'd call peppy, but it seems adequate for my purposes.
About the only thing I'm missing at this point is a driver for the audio chip. It's an SIS7019, and I believe there's source for the driver in the latest ALSA source tarball. Now, ordinarily I'd just compile and install this thing myself, but as I mentioned, this is a fairly underpowered machine, and the compile process dies due to lack of memory. Er, at least I assume it's lack of memory. The error message is:
gcc: Internal error: Killed (program cc1)
Please submit a full bug report.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
So, I was wondering whether some kind soul would be able to compile the ALSA driver for the SIS7019 for me? Pretty please? This is just a stock Slackware 12.1 installation running the huge.s kernel. Um, I think that makes it kernel version 2.6.24.5. I'd be ever so grateful.
As noone seems to have the current alsa compiled, the easiest solution for you would be to boot to runlevel 3 and build alsa yourself. Without having X using lots of memory, and, on such a processor, cpu time, it's gonna be a one-nighter.
Thanks for the suggestion, General. I had actually already tried that, with no luck. I've also tried playing around with nice and adding roughly 1Gb of (rather slow) swap to the system, again with no luck. I get that same error every time.
Ordinarily I would try moving the hard drive it's installed on to another system for compiling, but the "hard drive" for this system is just a 4Gb CF card, and I don't have another machine handy where I can boot that from. I have tried copying the entire system to a 4Gb USB drive and then starting that from Slackware's boot USB image. The boot image does recognize the 4Gb drive, but sadly, it contains no /dev/sd* devices, so I can't actually chroot or pass root=<whatever> as a boot parm or anything. There's just no way to get to the 4Gb drive from the boot image. Pretty frustrating. I guess I could try rebuilding the initrd with the necessary /dev/sd* devices, but I've never successfully built a ramdisk before. That'll be, umm, I think I'm up to Plan Q now. :-)
My next bright idea is to try to install LILO on the 4Gb USB disk and try to boot my big desktop computer from that, but I haven't had a lot of luck to date with either LILO or GRUB on USB drives. I guess we'll see what happens.
Well, I managed to get Slackware 12.1 booted up on another machine with more memory, and I was able to compile the SIS7019 alsa kernel module. Unfortunately, it won't load. The error message (from dmesg) is
version magic '2.6.24.5-smp SMP mod_unload 686 ' should be '2.6.24.5 mod unload 486 '
I understand this error message to mean that the kernel module was compiled for the smp version of the kernel, and I'm booting using the huge.s kernel because the smp kernel causes my machine to hang.
The thing is, I don't see how I can get this thing to compile for a non-smp kernel. I've tried all the options for configure that I can think of. I don't have the smp kernel-headers package installed. The only thing I can think of to do is to install a non-smp version of the kernel source, but none of the Slackware distribution sites I've seen provide such a thing. The only version of the kernel source I can find is the kernel-source-2.6.24.5_smp-noarch-2 package.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.