RE: kernel building problems: low-latency and pre-emptive patches
On Fri, 26 Sep 2003, Joel Soete wrote: > Interesting, can you let me know a url where to find patches (Con Kolivas?) apt-get install kernel-patch-2.4-lowlatency kernel-patch-2.4-preempt -- Martin-Éric Racine http://www.pp.fishpool.fi/~q-funk/
kernel in parisc-linux CVS: binfmt_som.c:216:2: #error "Fix security hole before enabling me"
As I was trying the CVS kernel (using the exact same config that was previously uploaded around 2.4.18 as a config-712 to parisc-linux FTP), I ran ino the following error message: X8 binfmt_som.c:216:2: #error "Fix security hole before enabling me" make[3]: *** [binfmt_som.o] Error 1 make[3]: Leaving directory `/usr/src/linux-2.4/fs' make[2]: *** [first_rule] Error 2 make[2]: Leaving directory `/usr/src/linux-2.4/fs' make[1]: *** [_dir_fs] Error 2 make[1]: Leaving directory `/usr/src/linux-2.4' make: *** [stamp-build] Error 2 X8 Since I have not changed anything (except for adding PPP support), could this be caused by partial rewrites of some feature that currently breaks? Or what then? -- Martin-Éric Racine http://www.pp.fishpool.fi/~q-funk/
Re: kernel building problems: low-latency and pre-emptive patches
On Fri, Sep 26, 2003 at 07:55:41AM +0300, Martin-Éric Racine wrote: > Given how my HP712-60 is such a _SLOW_ machine, I thought I'd give a try to > the > low-latency and pre-emptive patches. They seem to apply fine, as shown below, > but fail to appear in the configuration menus where I would need to enable > them. Probably because they don't patch arch/parisc/config.in. Make similar changes there as it makes to arch/i386/config.in. You'll probably need to port other changes from include/asm-i386 and arch/i386 too. It's a big job; more so for preempt than lowlat. But why not try 2.6? It's already got most of the lowlat stuff integrated and preempt needs someone to fix it in 2.6 too ;-) -- "It's not Hollywood. War is real, war is primarily not about defeat or victory, it is about death. I've seen thousands and thousands of dead bodies. Do you think I want to have an academic debate on this subject?" -- Robert Fisk
Re: kernel in parisc-linux CVS: binfmt_som.c:216:2: #error "Fix security hole before enabling me"
On Fri, Sep 26, 2003 at 12:59:24PM +0300, Martin-Éric Racine wrote: > As I was trying the CVS kernel (using the exact same config that was > previously > uploaded around 2.4.18 as a config-712 to parisc-linux FTP), I ran ino the > following error message: just disable CONFIG_SOM; HP-UX binary support hasn't worked in 2-3 years anyway. -- "It's not Hollywood. War is real, war is primarily not about defeat or victory, it is about death. I've seen thousands and thousands of dead bodies. Do you think I want to have an academic debate on this subject?" -- Robert Fisk
Re: kernel building problems: low-latency and pre-emptive patches
On Fri, 26 Sep 2003, Matthew Wilcox wrote: > On Fri, Sep 26, 2003 at 07:55:41AM +0300, Martin-Éric Racine wrote: > > Given how my HP712-60 is such a _SLOW_ machine, I thought I'd give a try to > > the > > low-latency and pre-emptive patches. They seem to apply fine, as shown > > below, > > but fail to appear in the configuration menus where I would need to enable > > them. > > Probably because they don't patch arch/parisc/config.in. [...] It's a big > job; more so for preempt than lowlat. But why not try 2.6? It's already got > most of the lowlat stuff integrated and preempt needs someone to fix it in > 2.6 too ;-) me != coder As for 2.6, simple: I cannot even get it to work on i386, so... -- Martin-Éric Racine http://www.pp.fishpool.fi/~q-funk/
Re: kernel building problems: low-latency and pre-emptive patches
> It's a big job; more so for preempt than lowlat. But why not try 2.6? > It's already got most of the lowlat stuff integrated and preempt needs > someone to fix it in 2.6 too ;-) if someone wants to fix this, http://ftp.parisc-linux.org/patches/diff-2.6.0-test1-preempt may provide a starting point, but it's missing some important pieces. randolph -- Randolph Chung Debian GNU/Linux Developer, hppa/ia64 ports http://www.tausq.org/
parisc boot failure caused by setserial
Package: setserial Version: 2.17-33 Severity: grave This is an A500. The boot breaks during the run of seterial. disabling setserial lets the machine boot again. Cleaning: /etc/network/ifstate. Setting up IP spoofing protection: rp_filter. Configuring network interfaces... done. Starting portmap daemon: portmap. Loading the saved-state of the serial devices... Cannot set serial info: Device or resource busy /dev/ttyS0 at 0x0040 (irq = 132) is a 16550A * SYSTEM ALERT ** SYSTEM NAME: gsphppa DATE: 09/24/2003 TIME: 22:05:03 ALERT LEVEL: 7 = reserved REASON FOR ALERT SOURCE: 0 = unknown, no source stated SOURCE DETAIL: 0 = unknown, no source stated SOURCE ID: FF PROBLEM DETAIL: 0 = no problem detail LEDs: RUN ATTENTION FAULT REMOTE POWER ON OFF OFF ON ON LED State: System running normally. 0x007000FF6292 00F0 F000 - type 0 = Data Field Unused 0x5800087000FF6292 6708 18160503 - type 11 = Timestamp 09/24/2003 22:05:03 A: ack read of this entry - X: Disable all future alert messages Anything else skip redisplay the log entry ->Choice:Timeout! *
RE: kernel building problems: low-latency and pre-emptive patches
Hi, Sorry first for bad presentation but I use a webmail interface which do it so badly. Interesting, can you let me know a url where to find patches (Con Kolivas?) That said, in general for such kernel patch there are parts platform specific and maintainer just test some of one :( So if you edit your patch file, you can read which files were changed and how. In the most simple case, just small changes in specific Config and/or Makefile could just be reproduce in parisc tree. But iirc here you will need more hack to make it works. hth, Joel > -- Original Message -- > Date: Fri, 26 Sep 2003 07:55:41 +0300 (EEST) > From: Martin-Éric Racine <[EMAIL PROTECTED]> > To: debian-hppa@lists.debian.org > Subject: kernel building problems: low-latency and pre-emptive patches > > > Greetings, Given how my HP712-60 is such a _SLOW_ machine, I thought I'd give a try to the low-latency and pre-emptive patches. They seem to apply fine, as shown below, but fail to appear in the configuration menus where I would need to enable th > m. Anybody can shed a light as to why that is and how would I make them appear? Btw, this was using whatever kernel is currently in the parisc-linux CVS. Thanks! X8- <[EMAIL PROTECTED]:/usr/src/linux-2.4># make-kpkg --added-patches lowlatency > preempt --config menuconfig --revision hp712.atarifs.1 kernel_image test ! -f stamp-debian && test ! -f debian/official && \ rm -rf ./debian && mkdir ./debian test -f applied_patches && rm -f applied_patches make: [stamp-debian] Error 1 (ign > red) for patch in /usr/src/kernel-patches/all//apply/lowlatency /usr/src/kernel-patches/all//apply/preempt ; do\ if test -x $patch; then\ if $patch; then \ >echo "Patch $patch processed fine"; \ echo "$patch" >> applied_patches; \ else \ echo "Patch $patch failed."; \ echo "Hit return to Con > inue"; \ read ans; \ fi; \ fi; \ done Testing whether "Low-latency patch for the Linux kernel" patch fo > 2.4.22 applies (dry run): "Low-latency patch for the Linux kernel" patch for 2.4.22 succeeded Removing empty files after patching: Done. Patch /usr/src/kernel-patches/all//apply/lowlatency processed fine START applying patch "Preemptible patch f > r the Linux kernel" Testing whether "Preemptible patch for the Linux kernel" patch for 2.4.22 applies (dry run): "Preemptible patch for the Linux kernel" patch for 2.4.22 succeeded Removing empty files after patching: Done. END applying patch "Pr > emptible patch for the Linux kernel" Patch /usr/src/kernel-patches/all//apply/preempt processed fine echo done > stamp-patch X8- -- Martin-Éric Racine http://www.pp.fishpool.fi/~q-funk/ -- To UNSUBSCRIBE, email to debian-hppa-requ > [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] - L'Internet rapide, c'est pour tout le monde. Tiscali ADSL, 19,50 Euro pendant 3 mois! http://reg.tiscali.be/default.asp?lg=fr
Re: kernel building problems: low-latency and pre-emptive patches
Le vendredi, 26 sep 2003, à 11:55 Europe/Paris, Martin-Éric Racine a écrit : On Fri, 26 Sep 2003, Joel Soete wrote: Interesting, can you let me know a url where to find patches (Con Kolivas?) apt-get install kernel-patch-2.4-lowlatency kernel-patch-2.4-preempt I don't know about lowlatency, but preempt is very arch-dependent, and you'd better look at this: [EMAIL PROTECTED] ~/kernel-patch-2.4-preempt-20030617]$ grep parisc * [EMAIL PROTECTED] ~/kernel-patch-2.4-preempt-20030617]$ in other words, there is currently no parisc support for preemptible kernel. Thibaut VARENE The PA/Linux ESIEE Team http://pateam.esiee.fr/