Re: A new benh kernel
On Tue, 29 Jul 2003, Stew Benedict wrote: >Are you using apm_emu? I understand it is needed for clean sleep recovery >in X. You can add it to /etc/modules to have it load at boot, just: > >"apm_emu" > >as the last line of the file. Ok now it works. Thank you very much. Including this module in the kernel might be a good idea if it doesn't disturb non-laptop machines. Cheers, Olivier
Re: A new benh kernel
On Tue, 29 Jul 2003 [EMAIL PROTECTED] wrote: > >what you report is very weird: vmlinuz-2.4.21-0.13mdk is not my > >kernel, it is the normal main kernel. > > I have several kernel installed such as vmlinuz-2.4.21-0.13mdk, > 2.4.20-benh9 and know 2.4.21-bh1-mdk1. But when I installed yours and > added a new entry for the new kernel with drakboot, it modified the > other entries such as vmlinuz-2.4.21-0.13mdk by adding several times the > string "/[EMAIL PROTECTED]/[EMAIL PROTECTED]/[EMAIL PROTECTED]/[EMAIL > PROTECTED]:13," which made > yaboot parse error at bootstrap. ok, drakboot is bugged:) my kernel should at an entry in yaboot.conf automatically (but it doesn't set it to default). > >yes, as Stew says, you need apm_emu. Perhaps I compile it into kernel > >instead of module to make sure everyone has it. > > I'll try that at next boot and let you know. > ok d.
Re: A new benh kernel
On Tue, 29 Jul 2003 [EMAIL PROTECTED] wrote: >> Thanks, I got installed the normal one (not the smp). But when I added >> a yaboot entry with drakboot, it put lines such as: >> image=/[EMAIL PROTECTED]/[EMAIL PROTECTED]/[EMAIL PROTECTED]/[EMAIL >> PROTECTED]:13,/[EMAIL PROTECTED]/[EMAIL PROTECTED]/at >> [EMAIL PROTECTED]/[EMAIL PROTECTED]:13,/[EMAIL PROTECTED]/[EMAIL PROTECTED]/[EMAIL >> PROTECTED]/[EMAIL PROTECTED]:13,/[EMAIL PROTECTED] >> 0/[EMAIL PROTECTED]/[EMAIL PROTECTED]/[EMAIL >> PROTECTED]:13,/boot/vmlinuz-2.4.21-0.13mdk >> >> instead of: >> >> image=/[EMAIL PROTECTED]/[EMAIL PROTECTED]/[EMAIL PROTECTED]/[EMAIL >> PROTECTED]:13,/boot/vmlinuz-2.4.21-0.13mdk >I suspect this is more likely an installkernel but than a kernel bug, but >what you report is very weird: vmlinuz-2.4.21-0.13mdk is not my >kernel, it is the normal main kernel. I have several kernel installed such as vmlinuz-2.4.21-0.13mdk, 2.4.20-benh9 and know 2.4.21-bh1-mdk1. But when I installed yours and added a new entry for the new kernel with drakboot, it modified the other entries such as vmlinuz-2.4.21-0.13mdk by adding several times the string "/[EMAIL PROTECTED]/[EMAIL PROTECTED]/[EMAIL PROTECTED]/[EMAIL PROTECTED]:13," which made yaboot parse error at bootstrap. >Can you check again what exactly >happened? And if you are really using newest benh? Since I corrected the yaboot file, I'm able to use your kernel. [EMAIL PROTECTED] ogrisel]$ uname -a Linux ibook 2.4.21-1bh-mdk #1 Sat Jul 26 14:43:13 CEST 2003 ppc unknown unknown GNU/Linux >> I used video=radeonfb ; the linux bootstrap was in text mode. Everything >> was [OK]. I then started X and it works but when I put the machine to >> sleep, and wake it up the sreen displays kind of an ugly zoom on the top >> left corner of the former screen and the system is frozen. When I use >> the former benh kernel (2.4.20-benh9) the system wakes up, the display >> is reactive (although not usable) with a messy display (3 mouse cursors, >> horizontal blinky lines everywhere, ...). >yes, as Stew says, you need apm_emu. Perhaps I compile it into kernel >instead of module to make sure everyone has it. I'll try that at next boot and let you know. Cheers, Olivier
Re: A new benh kernel
On Tue, 29 Jul 2003 [EMAIL PROTECTED] wrote: > I am thinking about improving installkernel a bit anyway, but not sure how > I can fit all kernels (mosix, multimedia, 2.6, benh) +version > +compileoptions (smp,up,enterprise,etc) into an 8 char name. > Actually I think it's lilo that's forcing the limitation. I don't know what yaboot's limit is, but I'm pretty sure I've had longer names in the past when I've made manual entries. I know I saw a comment in the installer about name lengths, referencing lilo. -- Stew Benedict -- MandrakeSoft
Re: A new benh kernel
On Tue, 29 Jul 2003 [EMAIL PROTECTED] wrote: > On Sat, 26 Jul 2003 [EMAIL PROTECTED] wrote: > > > > >Finally I got round to making a new benh kernel. For people with club > >access, it is here (announcement also below): > >http://www.mandrakeclub.com/modules.php?op=modload&name=Splatt_Forum&file=viewtopic&topic=9957&forum=5 > > Thanks, I got installed the normal one (not the smp). But when I added > a yaboot entry with drakboot, it put lines such as: > image=/[EMAIL PROTECTED]/[EMAIL PROTECTED]/[EMAIL PROTECTED]/[EMAIL > PROTECTED]:13,/[EMAIL PROTECTED]/[EMAIL PROTECTED]/at > [EMAIL PROTECTED]/[EMAIL PROTECTED]:13,/[EMAIL PROTECTED]/[EMAIL PROTECTED]/[EMAIL > PROTECTED]/[EMAIL PROTECTED]:13,/[EMAIL PROTECTED] > 0/[EMAIL PROTECTED]/[EMAIL PROTECTED]/[EMAIL > PROTECTED]:13,/boot/vmlinuz-2.4.21-0.13mdk > > instead of: > > image=/[EMAIL PROTECTED]/[EMAIL PROTECTED]/[EMAIL PROTECTED]/[EMAIL > PROTECTED]:13,/boot/vmlinuz-2.4.21-0.13mdk I suspect this is more likely an installkernel but than a kernel bug, but what you report is very weird: vmlinuz-2.4.21-0.13mdk is not my kernel, it is the normal main kernel. Can you check again what exactly happened? And if you are really using newest benh? > I used video=radeonfb ; the linux bootstrap was in text mode. Everything > was [OK]. I then started X and it works but when I put the machine to > sleep, and wake it up the sreen displays kind of an ugly zoom on the top > left corner of the former screen and the system is frozen. When I use > the former benh kernel (2.4.20-benh9) the system wakes up, the display > is reactive (although not usable) with a messy display (3 mouse cursors, > horizontal blinky lines everywhere, ...). yes, as Stew says, you need apm_emu. Perhaps I compile it into kernel instead of module to make sure everyone has it. > > Other problem, I still get a the very-very-dark console mode problem > with this new kernel. ie before starting X I can switch to and use every > virtual consoles but once X is started their display is so dark that I > can use them anylonger. > > I don't know if its a X configuration problem or a kernel/driver related > one. no idea:( > Is the radeon of ibook 2.2 700MHz > 7500 or not ? (It is actually a > Radeon Mobility M6 LY). Should I use radeonfb or ofonly ? IIRC 7500 is an M7, but just try what uses best for you and report your findings. d.
Re: A new benh kernel
On Tue, 29 Jul 2003, Stew Benedict wrote: > > Drakboot shouldn't have needed to be used, should it? Doesn't your %post > run installkernel? I would supect drakboot trashed the file. It was ppc > aware for 8.2. Last time I ran in on 9.1, it tried to setup acpid or some > such foolishness. ah, so perhaps drakboot did it? Yes the %post runs install kernel, actually, I used the original 2.4.21.5-1mdk kernel spec as close as possible. An entry 2421-1bh should be added to yaboot, nothing more. Stupid thing is that either yaboot or installkernel limits labels to 8 characters, so the smp kernel also gets 2421-1bh, and since installkernel checks for labels instead of images to see if something is aleady there, no entry for smp gets added if you have already up installed. I am thinking about improving installkernel a bit anyway, but not sure how I can fit all kernels (mosix, multimedia, 2.6, benh) +version +compileoptions (smp,up,enterprise,etc) into an 8 char name. Any ideas? d. > > >
Re: A new benh kernel
On Tue, 29 Jul 2003 [EMAIL PROTECTED] wrote: > On Tue, 29 Jul 2003 [EMAIL PROTECTED] wrote: > > > On Sat, 26 Jul 2003 [EMAIL PROTECTED] wrote: > > > > > > > >Finally I got round to making a new benh kernel. For people with club > > >access, it is here (announcement also below): > > >http://www.mandrakeclub.com/modules.php?op=modload&name=Splatt_Forum&file=viewtopic&topic=9957&forum=5 > > > > Thanks, I got installed the normal one (not the smp). But when I added > > a yaboot entry with drakboot, it put lines such as: > > image=/[EMAIL PROTECTED]/[EMAIL PROTECTED]/[EMAIL PROTECTED]/[EMAIL > > PROTECTED]:13,/[EMAIL PROTECTED]/[EMAIL PROTECTED]/at > > [EMAIL PROTECTED]/[EMAIL PROTECTED]:13,/[EMAIL PROTECTED]/[EMAIL PROTECTED]/[EMAIL > > PROTECTED]/[EMAIL PROTECTED]:13,/[EMAIL PROTECTED] > > 0/[EMAIL PROTECTED]/[EMAIL PROTECTED]/[EMAIL > > PROTECTED]:13,/boot/vmlinuz-2.4.21-0.13mdk > > > > instead of: > > > > image=/[EMAIL PROTECTED]/[EMAIL PROTECTED]/[EMAIL PROTECTED]/[EMAIL > > PROTECTED]:13,/boot/vmlinuz-2.4.21-0.13mdk > I suspect this is more likely an installkernel but than a kernel bug, but > what you report is very weird: vmlinuz-2.4.21-0.13mdk is not my > kernel, it is the normal main kernel. Can you check again what exactly > happened? And if you are really using newest benh? > > Drakboot shouldn't have needed to be used, should it? Doesn't your %post run installkernel? I would supect drakboot trashed the file. It was ppc aware for 8.2. Last time I ran in on 9.1, it tried to setup acpid or some such foolishness. -- Stew Benedict -- MandrakeSoft
Re: A new benh kernel
On Tue, 29 Jul 2003 [EMAIL PROTECTED] wrote: > I used video=radeonfb ; the linux bootstrap was in text mode. Everything > was [OK]. I then started X and it works but when I put the machine to > sleep, and wake it up the sreen displays kind of an ugly zoom on the top > left corner of the former screen and the system is frozen. When I use > the former benh kernel (2.4.20-benh9) the system wakes up, the display > is reactive (although not usable) with a messy display (3 mouse cursors, > horizontal blinky lines everywhere, ...). > Are you using apm_emu? I understand it is needed for clean sleep recovery in X. You can add it to /etc/modules to have it load at boot, just: "apm_emu" as the last line of the file. -- Stew Benedict -- MandrakeSoft
Re: A new benh kernel
Hi Olivier, On Tue, 29 Jul 2003 [EMAIL PROTECTED] wrote: > > what is it ? if you installed the source: /usr/src/Documentation/laptop-mode* > > I would like to use alsa but the RPM version of libalsa2 is > 0.9.0-0.14rc7.1mdk. Do you use the 0.9.2 src tarball or this rpm ? does not matter much. It includes the alsa 0.9.2 kernel drivers, you can use that with a different version of alsalibs (although, it sometimes can give problems) I currently trying to upload it to cooker-ppc as well. And i found another bug: building modules against the kernel-source for an smp system will not work correctly (I think mainly because rhconfig.h doesn't include a ppc entry, will fix asap). d.
Re: A new benh kernel
Hello, Some more feedback: On Sat, 26 Jul 2003 [EMAIL PROTECTED] wrote: >Latest benh is really nice 2.4.21 with things like the sleep-indicator >showing disk activity, Ok, tested >laptop-mode patch, what is it ? >hfsplus read and write support, >firewire update and a lot of bugfixes. Not yet tested > In addition, I added to following stuff: > - latest xfs from cooker (carefully try, not extensively tested) > - supermount-ng 1.2.8 > - ALSA 0.9.2 (will update to 0.9.6 or later in next release) Idem I would like to use alsa but the RPM version of libalsa2 is 0.9.0-0.14rc7.1mdk. Do you use the 0.9.2 src tarball or this rpm ? > - kernel drm drivers to get DRI working (from Michel Danzer) on Radeon >cards Thank you, glxgears runs at 549 FPS which is much better than before. (X is in 16 bits, video=radeonfb passed to the kernel) Cheers, Olivier
Re: A new benh kernel
On Sat, 26 Jul 2003 [EMAIL PROTECTED] wrote: > >Finally I got round to making a new benh kernel. For people with club >access, it is here (announcement also below): >http://www.mandrakeclub.com/modules.php?op=modload&name=Splatt_Forum&file=viewtopic&topic=9957&forum=5 Thanks, I got installed the normal one (not the smp). But when I added a yaboot entry with drakboot, it put lines such as: image=/[EMAIL PROTECTED]/[EMAIL PROTECTED]/[EMAIL PROTECTED]/[EMAIL PROTECTED]:13,/[EMAIL PROTECTED]/[EMAIL PROTECTED]/at [EMAIL PROTECTED]/[EMAIL PROTECTED]:13,/[EMAIL PROTECTED]/[EMAIL PROTECTED]/[EMAIL PROTECTED]/[EMAIL PROTECTED]:13,/[EMAIL PROTECTED] 0/[EMAIL PROTECTED]/[EMAIL PROTECTED]/[EMAIL PROTECTED]:13,/boot/vmlinuz-2.4.21-0.13mdk instead of: image=/[EMAIL PROTECTED]/[EMAIL PROTECTED]/[EMAIL PROTECTED]/[EMAIL PROTECTED]:13,/boot/vmlinuz-2.4.21-0.13mdk for instance. The boostraping did a parse error and I couldn't boot anything. I had to use a knoppix live CD and correct the yaboot.conf file manually. Then it worked. >I hope for some feedback on people with more experience with PPC machines >than I have. I have tried to keep config options close to old benh kernel. I'm not experienced but anyway here is my first feedback: machine: ibook 2 rev 2 G3 700 combo with radeon M6 system: MDK9.1-ppc I used video=radeonfb ; the linux bootstrap was in text mode. Everything was [OK]. I then started X and it works but when I put the machine to sleep, and wake it up the sreen displays kind of an ugly zoom on the top left corner of the former screen and the system is frozen. When I use the former benh kernel (2.4.20-benh9) the system wakes up, the display is reactive (although not usable) with a messy display (3 mouse cursors, horizontal blinky lines everywhere, ...). Other problem, I still get a the very-very-dark console mode problem with this new kernel. ie before starting X I can switch to and use every virtual consoles but once X is started their display is so dark that I can use them anylonger. I don't know if its a X configuration problem or a kernel/driver related one. > (...) > > note that if you got a radeon > 7500, you may want to boot with >video=radeonfb Is the radeon of ibook 2.2 700MHz > 7500 or not ? (It is actually a Radeon Mobility M6 LY). Should I use radeonfb or ofonly ? Cheers, Olivier
Re: A new benh kernel
On Sat, 26 Jul 2003 [EMAIL PROTECTED] wrote: > > Stew, some patches of the old benh kernel i did not put in the patches > tarball (like mainkernel), but still in the SPEC. I'm not really sure > about whether to remove them or not, it is not always clear to me why they > were applied. > No need to keep them on my account. If you don't feel they are needed then drop them. -- Stew Benedict -- MandrakeSoft
A new benh kernel
Finally I got round to making a new benh kernel. For people with club access, it is here (announcement also below): http://www.mandrakeclub.com/modules.php?op=modload&name=Splatt_Forum&file=viewtopic&topic=9957&forum=5 But I also would like to make a cooker version, since I have currently no ppc-cooker install on my ibook, someone is invited to rebuild it:) I do forsee some troubles since I latest gcc can have issues with some stuff. If so, please report (if you cannot fix) and I will see if I can fix it. I hope for some feedback on people with more experience with PPC machines than I have. I have tried to keep config options close to old benh kernel. Stew, some patches of the old benh kernel i did not put in the patches tarball (like mainkernel), but still in the SPEC. I'm not really sure about whether to remove them or not, it is not always clear to me why they were applied. Oh..and if people like laptopmode I vote for adding a check for it to pmud, so it can be started automatically. d. *** Latest benh is really nice 2.4.21 with things like the sleep-indicator showing disk activity, laptop-mode patch, hfsplus read and write support, firewire update and a lot of bugfixes. In addition, I added to following stuff: - latest xfs from cooker (carefully try, not extensively tested) - supermount-ng 1.2.8 - ALSA 0.9.2 (will update to 0.9.6 or later in next release) - kernel drm drivers to get DRI working (from Michel Danzer) on Radeon cards - mandrake logo - various small bugfixes/tweaks - also build a kernel-source rpm now the smp kernel also has support for systems with more than 1 GB memory. if you want to use the laptop-mode support, use this script: /usr/src/linux/Documentation/laptop-mode.sh You can set the machine automatically in this mode if you modify /etc/power/pwrctl to execute this script on going to battery power, and stop it again when going back to AC again. note that if you got a radeon > 7500, you may want to boot with video=radeonfb Please report problems with a good bugreport, if it crashes, xmon is enabled, so try to get me a backtrace. CAVEATS: the installkernel script sucks. This will cause a problem if you want to install both the smp and normal kernel: for whatever you install last, a yaboot.conf entry is not created. You have to create it manually. I will see if I can hack around this issue in a next release. ***