Re: kernel upgrade failures (long reading)
On Sat, 2 Feb 2002, Anne et Bertrand wrote: I last recompiled 2.4.17 without xmon and the debugging features. No kernel oops message till now (of course !), but I'm running gnome and it doesn't seem to crash. What machine is this again? I was at LWE in New York when this discussion started and not able to reply. I am going to be reworking the kernel spec for OldWorld machines, now that the install kernel seems to be working on them. Stew Benedict -- MandrakeSoftOH/TN, USA http://people.mandrakesoft.com/~sbenedict/ PPC FAQ: http://www.linux-mandrake.com/en/demos/PPC/FAQ/
Re: kernel upgrade failures (long reading)
On Sat, 2 Feb 2002, Miguel Beccari wrote: At this point you can rpm -Uhv lastKERNEL.src.rpm Edit kernel.spec Have your cool hacks to make it work (I had to delete the %build_BOOT% macros). ?? - %build_BOOT is there for building the install kernel. Obviousely I don't remove it every time I build a kernel, so I'm not sure why you need to. rpm -bb SPECS/kernel.spec ...correct errors (if anyone)... and at the end you mau have kernel.ppc.rpm installed correctly (tnx to lastest mkinitrd, libbinutils, findutils, glic) kernel-source.ppc.rpm installed correctly (tnx to findutils) kernel-doc*.ppc.rpm compiled and installed correctly (tnx to ghostscript and sgml-tools) Type a rpm -Uhv kernel*, take a look at /etc/yaboot.conf, and tupe a ybin -v. You should not be doing rpm -U for kernel, use rpm -i. Stew Benedict -- MandrakeSoftOH/TN, USA http://people.mandrakesoft.com/~sbenedict/ PPC FAQ: http://www.linux-mandrake.com/en/demos/PPC/FAQ/
Re: kernel upgrade failures (long reading)
On Sat, 2 Feb 2002, Miguel Beccari wrote: At this point you can rpm -Uhv lastKERNEL.src.rpm Edit kernel.spec Have your cool hacks to make it work (I had to delete the %build_BOOT% macros). ?? - %build_BOOT is there for building the install kernel. Obviousely I don't remove it every time I build a kernel, so I'm not sure why you need to. It is strange: I agree with you. But I am sure. It happened Friday... but let's try again the same steps: maybe I am in error... [root@serverg3 SRPMS]# wget ftp://ftp.ciril.fr/pub2/linux/mandrake- devel/cooker/SRPMS/kernel-2.4.17.13mdk-1-1mdk.src.rpm [root@serverg3 SRPMS]# rpm -v RPM version 4.0.3 Copyright (C) 1998-2000 - Red Hat, Inc. This program may be freely redistributed under the terms of the GNU GPL [root@serverg3 SRPMS]# rpm --rebuild kernel-2.4.17.13mdk-1-1mdk.src.rpm Installing kernel-2.4.17.13mdk-1-1mdk.src.rpm error: parse error in expression error: /usr/src/RPM/SPECS/kernel-2.4.spec:1229: parseExpressionBoolean returns -1 [root@serverg3 SRPMS]# vi ../SPECS/kernel.spec 1229 %if %build_BOOT 1230 CreateKernel BOOT 1231 %endif So I edited it in line 1229: 1229 #%if %build_BOOT 1230 #CreateKernel BOOT 1231 #%endif Let's try again: [root@serverg3 SRPMS]# rpm -bb ../SPECS/kernel-2.4.spec error: parse error in expression error: /usr/src/RPM/SPECS/kernel-2.4.spec:1632: parseExpressionBoolean returns -1 [root@serverg3 SRPMS]# vi ../SPECS/kernel.spec 1632 %if %build_BOOT 1633 %files -n kernel-BOOT-%{mdkversion} 1634 %defattr(-,root,root) 1635 %{_bootdir}/config-%{KVERREL}BOOT 1636 %{_bootdir}/vmlinuz-%{KVERREL}BOOT 1637 %{_bootdir}/System.map-%{KVERREL}BOOT 1638 %dir %{_modulesdir}/%{KVERREL}BOOT/ 1639 %{_modulesdir}/%{KVERREL}BOOT/kernel 1640 %{_modulesdir}/%{KVERREL}BOOT/build 1641 %{_modulesdir}/%{KVERREL}BOOT/pcmcia 1642 %{_modulesdir}/%{KVERREL}BOOT/modules.* 1643 %endif If I comment theese line too the rebuild works perfectly without errors; so my memory is still good ;) rpm -bb SPECS/kernel.spec ...correct errors (if anyone)... and at the end you mau have kernel.ppc.rpm installed correctly (tnx to lastest mkinitrd, libbinutils, findutils, glic) kernel-source.ppc.rpm installed correctly (tnx to findutils) kernel-doc*.ppc.rpm compiled and installed correctly (tnx to ghostscript and sgml-tools) Type a rpm -Uhv kernel*, take a look at /etc/yaboot.conf, and tupe a ybin -v. You should not be doing rpm -U for kernel, use rpm -i. That's true. Stew Benedict Kind regards, Miguel Beccari
Re: kernel upgrade failures (long reading)
Le 2002.02.02 14:24, Miguel Beccari a écrit : Anne et Bertrand wrote: I last recompiled 2.4.17 without xmon and the debugging features. No kernel oops message till now (of course !), but I'm running gnome and it doesn't seem to crash. Wonderful. It is going to be a great day ;) ... Play 2 - 4 - 17 on lotto :) I don't play lotto (or loto, in France), but now I've got a kernel that doesn't use more than 60 Mb of swap when I've got 96Mb of ram, as 2.4.4. did ! Really great ! Thanks, B.D.
Re: kernel upgrade failures (long reading)
Anne et Bertrand wrote: Le 2002.02.02 14:24, Miguel Beccari a écrit : Anne et Bertrand wrote: I last recompiled 2.4.17 without xmon and the debugging features. No kernel oops message till now (of course !), but I'm running gnome and it doesn't seem to crash. Wonderful. It is going to be a great day ;) ... Play 2 - 4 - 17 on lotto :) I don't play lotto (or loto, in France), but now I've got a kernel that doesn't use more than 60 Mb of swap when I've got 96Mb of ram, as 2.4.4. did ! Really great ! Thanks, B.D. You said you are using old 603 ppc. So today I went in my old pc repository and I found 3 ppc 603. Yes, they work, and each one has got 96Mb, 500Mb HD, Floppy, but no CDROM. I tried linux on old Pentium 90 with 64Mb RAM without specials pleasures. I tried openBSD too on old PCs... but the reality is that todays applications (as apache+php+mysql) need high CPU performance, high disk access, etc etc. I never tried with ppc, so I would like to put a 6Gb HardDrive (I have to buy it because of old PPC were SCSI only), and test all. In your opinion : is it possible expecting great performance then my tests on Pentiums 90-133Mhz ? Best regards, Miguel Beccari
Re: kernel upgrade failures (long reading)
You said you are using old 603 ppc. So today I went in my old pc repository and I found 3 ppc 603. Yes, they work, and each one has got 96Mb, 500Mb HD, Floppy, but no CDROM. I tried linux on old Pentium 90 with 64Mb RAM without specials pleasures. I tried openBSD too on old PCs... but the reality is that todays applications (as apache+php+mysql) need high CPU performance, high disk access, etc etc. I never tried with ppc, so I would like to put a 6Gb HardDrive (I have to buy it because of old PPC were SCSI only), and test all. In your opinion : is it possible expecting great performance then my tests on Pentiums 90-133Mhz ? Best regards, Miguel Beccari Mine is 180 mhz. Linux run very well, if not very fast, compared to actual computer. I run X and gnome for years now. Gnome-1.4 has a lot more speed than KDE2, but not nautilus. I use nautilus because I love its antialiased desktop, but gmc would be better for my computer. Mozilla starts up in about 40 seconds but is well usable after (as a browser, not for mail : too slow ; use balsa !). Menus in gtk have the same kind of responsiveness as in MacOS now that I've got really accelerated video (ATi mach 64VT) with the kernel 2.4. This is the point for X. So yes, definitly, linux can run as a desktop OS on my computer. But I can't compare it to your pentiums. My processor is benchemarked 119.60 bogomips at startup by linux. Bertrand Dekoninck.
Re: kernel upgrade failures (long reading)
Ben Reser wrote: On Fri, Feb 01, 2002 at 10:04:30AM +0100, Miguel Beccari wrote: 1) installation do NOT let me choose reiserfs as default filesystem (I choosed the old ext2, which is that i do not want) Known issue. Will be fixed in 8.2. Very well. At this point my obvious questio is: when 8.2 ppc is planned to come out ? ;) 2) the kernel 2.4.4 has got no drivers for 2940U2W Adaptec I believe this was an error on Stew's part. I'm not sure if it's corrected in the security update kernel but I'm positive he's fixed the support for 8.2 I see that in 2.4.8-31.3mdk (the last update avaiable) have not got it. But I can see it in 2.4.17-8mdk (so I am planning to compile this one) 1) First of all I tried to install from updates a new kernel (2.4.8). I am experienced with rpms, so I preferred to manually upgrade packages. No error was found in the upgrade, except a /usr/local/boot//mkinitrd not found. This is normal for this update. No issue here. OK No problems, I run mkinitrd manually, take a look at /etc/yaboot.conf, /boot, and /lib/modules, typed /sbin/ybin -v (that is - I suppose - the same I do with lilo -v). Sorta ybin also updates the bootstrap as well as the MBR. So maybe OK. My yaboot.conf is: [root@serverg3 root]# cat /etc/yaboot.conf #yaboot.conf - generated by DrakX init-message=\nBenvenuto in Linux Mandrake PPC!\n boot=/dev/hda7 ofboot=hd:7 delay=30 timeout=50 install=/usr/local/lib/yaboot/yaboot magicboot=/usr/local/lib/yaboot/ofboot enablecdboot enableofboot defaultos=linux default=linux nonvram image=hd:8,/boot/vmlinuz label=linux root=/dev/hda8 read-only image=hd:8,/boot/vmlinuz-2.4.8-31.3mdk label=linux2.4.8 root=/dev/hda8 read-only image=hd:8,/boot/vmlinuz-2.4.17-8mdk label=linux2.4.17 root=/dev/hda8 initrd=hd:8,/boot/initrd-2.4.17-8mdk.img read-only image=hd:8,/boot/vmlinuz-2.2 label=linux22 root=/dev/hda8 initrd=hd:8,/boot/initrd-2.2.img read-only image=hd:8,/boot/vmlinuz label=failsafe root=/dev/hda8 append= failsafe read-only macos=hd:6 My /boot is: [root@serverg3 root]# ls /boot/ config@System.map-2.2.19-14mdksecure config-2.4.17-8mdk System.map-2.2.20-6mdk config-2.4.4-6.2mdkSystem.map-2.4.17-8mdk config-2.4.8-31.3mdk System.map-2.4.4-6.2mdk initrd-2.2.19-14mdksecure.img System.map-2.4.8-31.3mdk initrd-2.2.20-6mdk.img vmlinuz@ initrd-2.2.img@vmlinuz-2.2@ initrd-2.4.17-8mdk.img vmlinuz-2.2.19-14mdksecure* initrd.img@vmlinuz-2.2.20-6mdk* kernel.h@ vmlinuz-2.4.17-8mdk* kernel.h-2.4.4-6.2mdk vmlinuz-2.4.4-6.2mdk* messagevmlinuz-2.4.8-31.3mdk* System.map@ and my modules are: [root@serverg3 root]# ls /lib/modules/ 2.2.19-14mdksecure/ 2.4.17-8mdk/ 2.4.4-6.2mdk.tar.bz2 2.2.20-6mdk/ 2.4.4-6.2mdk/ 2.4.8-31.3mdk/ At the reboot the error was: Ooop: kernel access of bad area. Sig 11. Kernel Panic (rebooting in 180 secs). I've never see this maybe Stew has some thoughts on this. This error appens with 2.4.17-8mdk, 2.4.8-31.3mdk. 3) I am not sure about the use of yaboot. Maybe I fail something. I am experienced with x86 machines and lilo or grub, but PPC is a new world. So I installed from the 8.0PPC the 2.2.19 kernel. No errors of course, but at the reboot a new problem: the screen stops at the word booting... Some machines work with 2.2 and refuse to work 2.4 or vice versa. PPC hardware is well very proprietary and support for it is often broken by proprietary changes. Apple is so great in not giving us info on the hardware. OK. This information is useful: I will not try to use 2.2.19-14mdksecure, 2.2.20-6mdk, or other 2.2 4) So, up to now I am thinking to upgrade the gcc too, and recompile from src.rpms the very last kernel. but the big question is: What is going wrong with my upgrades ? yaboot ? kernels ? I don't see anything that gives me the impression your yaboot is wrong. Thought it would be helpful if you posted your yaboot.conf file here. But it really shounds like a kernel issue. And for that I'll defer to Stew our expert. :) Maybe is a kernel issue, so news from me will come after the 2.4.17 compilation. Best Regards, Miguel Beccari PS: TNX for quick answers ;)
Re: kernel upgrade failures (long reading)
Le Vendredi 1 Février 2002 11:54, vous avez écrit : Olivier Thauvin wrote: It's very strange. I installed the Mdk ppc 8.0 on 3 machines, G3 and G4, I had none off problem you have. I had select Reiserfs as filesystem (I don't remember if ext3 was available). I am sure: there is no way - with standard installation - to choose reserfs on root or others slices: there is simply no 'reiserfs' choise in filesystem menu. Excuse-me, it is exact, I installed on ext2 and after, recreate /home in reiserfs after the installation ! Mi[G]hi -- Olivier Thauvin-CNRS Service Aeronomie [EMAIL PROTECTED] Téléphone: 01 64 47 43 60 à Verrières (lundi,mercredi et vendredi) 01 44 27 47 59 à Jussieu (Mardi et Jeudi) Service d'Aéronomie Réduit de Verrieres - BP 3 Route des Gatines 91371 Verrieres le Buisson Cedex France Fax:33 (0)1 69 20 29 99