From: vtcodger on 12 Oct 2009 13:14 Using slackware 12.1, the qemu virtualizer runs Windows 98 just fine on my Via C7-D CPU. But it's a bit slow. kqemu is supposed to fix that, but trying to compile and use kqemu has been a bit of an adventure. Two general problems. The only source package I can find for the kernel for Slackware 12.1 is configured for the 2.6.24.5 SMP kernel. I'm using the non-SMP kernel and really don't want to change it. I have seen assertions that there is a README.txt file that explains how to modify the source for non-SMP but I can't find the file. Is it a myth? I've been assuming, perhaps incorrectly, that the only relevant source differences are the changes necessary to get proper Vermagic string in order to avoid having to force the modprobe load of kqemu. Anyway after discovering that kqemu 1.3.0pre11 seems to be incompatible with kernels newer than 2.6.10 (it makes calls to the no longer existent lock_kernel and unlock_kernel) , I upgraded to kqemu-1.4.0pre1. It loads with no errors other than Vermagic, but crashes Linux with a segfault when qemu starts. I then upgraded qemu to qemu-0.10.6 and recompiled. The new qemu runs OK, but still segfaults if kqemu has been loaded. Any thoughts or information. Is it realistic to expect kqemu to work?
From: Ed Wilson on 13 Oct 2009 10:09 vtcodger wrote: > I have seen assertions that there is a README.txt file that > explains how to modify the source for non-SMP but I can't find the > file. Is it a myth? > slackware/slackware-12.1/source/k/README.TXT -- Ed
From: vtcodger on 14 Oct 2009 07:58 On Oct 13, 10:09 am, Ed Wilson <ewil...(a)jackmaxton.com> wrote: > vtcodger wrote: > > I have seen assertions that there is a README.txt file that > > explains how to modify the source for non-SMP but I can't find the > > file. Is it a myth? > > slackware/slackware-12.1/source/k/README.TXT > > -- > Ed Thanks Ed, but that seems to be the README for upgrading Slackware 12.1 to 12.2 which I'd prefer not to do because stuff always breaks on upgrades, and I have more than enough problems in my todo list at the moment. What I'm looking for is a different README that I think probably exists somewhere. Let me frame my question differently. 1. It is definitely true that Slackware 12.1 has several different precompiled kernel options, e.g. huge, SMP, non-SMP. Is it also true that there is only one set of kernel source code in the repositories -- /shr/pkg/kqemu/kernel-source-2.6.24.5_smp-noarch-2.tgz ? I think that the answer to that is "yes" 2. Is it true that the kernel-source in that package is configured for the SMP kernel? (e.g. if one compiles modules using that, they will have an SMP kernel vermagic string and will not load without a -f parameter in modprobe). I think that the answer to that is also "yes" 3. Is it true that there is a file somewhere that explains how to tweak the SMP source and/or configure and/or Makefile for use with the other kernels? Answer: Seems like there should be (I've seen reference to something of the sort purportedly in something_or_other/extras/lots_of_other_stuff/README.txt but it wasn't there and I neglected to make a note of the path.) 4. Where is the information on how to compile 12.1 modules for a non- SMP kernel? I need it because I am far too old and stupid to work it out for myself. My apologies if I end up double posting this -- google groups and I seem to be experiencing a minor breakdown in communications
From: Martin Schmitz on 14 Oct 2009 08:28 vtcodger wrote: > 4. Where is the information on how to compile 12.1 modules for a non- > SMP kernel? I need it because I am far too old and stupid to work it > out for myself. [dakini]~$ ls -l /ftp/slackware-13.0/extra/linux-2.6.29.6-nosmp-sdk/ total 564 -rw-r--r-- 1 root root 1109 2008-03-19 09:02 README.TXT -rw-r--r-- 1 root root 332 2009-08-17 08:10 kernel-headers-2.6.29.6-x86-2.txt -rw-r--r-- 1 root root 536516 2009-08-17 08:10 kernel-headers-2.6.29.6-x86-2.txz -rw-r--r-- 1 root root 197 2009-08-17 08:10 kernel-headers-2.6.29.6-x86-2.txz.asc -rw-r--r-- 1 root root 15408 2009-08-19 00:01 linux-2.6.29.6-smp-to-nosmp.diff.gz -rwxr-xr-x 1 root root 1816 2009-08-18 23:58 patch-to-non-smp.sh* Sould be very similar on 12.1. Marti
From: Eef Hartman on 14 Oct 2009 09:10 vtcodger <donald.kenney(a)gmail.com> wrote: > On Oct 13, 10:09�am, Ed Wilson <ewil...(a)jackmaxton.com> wrote: >> vtcodger wrote: >> > I have seen assertions that there is a README.txt file that >> > explains how to modify the source for non-SMP but I can't find the >> > file. Is it a myth? >> >> slackware/slackware-12.1/source/k/README.TXT >> >> -- >> Ed > > Thanks Ed, but that seems to be the README for upgrading Slackware > 12.1 to 12.2 which I'd prefer not to do because stuff always breaks on > upgrades, and I have more than enough problems in my todo list at the > moment. You didn't read the file then. On the web I looked up it (I haven't got 12.1 anymore, so didn't have it available) and after the first part about BUILDING the kernel there is this NOTE TO USERS OF THE NON SMP KERNELS: and it will tell you exactly what to do to adapt the sources to non-SMP. -- ******************************************************************* ** Eef Hartman, Delft University of Technology, dept. SSC/ICT ** ** e-mail: E.J.M.Hartman(a)tudelft.nl - phone: +31-15-278 82525 ** *******************************************************************
|
Next
|
Last
Pages: 1 2 Prev: What will Slack 13 give me that Slack 11 doesn't have? Next: Slackware 13 |