where to get KDB debugger for FC6
by kathy pu
Hello Everybody:
Just wondering if FC6 supports KDB. If not, would like to know the current
status andhow to get it and port it?
My great appreciation.
kathy
16 years, 3 months
Sunifdef
by Jonathan Underwood
Dear Kernel list,
I've noticed in the past that unifdef is used in kernel package
building. I wonder if you're aware of a maintained and more
featureful program, Sunifdef, which has evolved from unifdef (which
seems mostly unmaintained). It's packaged for Fedora, and has a
website here:
http://www.sunifdef.strudl.org/
Quoting:
Sunifdef is a commandline tool for eliminating superfluous
preprocessor clutter from C and C++ source files. It is a more
powerful successor to the FreeBSD 'unifdef' tool.
Sunifdef is most useful to developers of constantly evolving products
with large code bases, where preprocessor conditionals are used to
configure the feature sets, APIs or implementations of different
releases. In these environments the code base steadily accumulates
#ifdef pollution as transient configuration options become obselete.
Sunifdef can largely automate the recurrent task of purging redundant
#if logic from the code.
Apologies for a slightly off topic plug.
jonathan.
16 years, 3 months
Re: willing to contribute - so laptops suspend better - but how?
by Valent Turkovic
On 5/24/07, Valent Turkovic <valent.turkovic(a)gmail.com> wrote:
> On 5/24/07, John bowden <j-alan(a)btconnect.com> wrote:
> > On Thursday 24 May 2007 13:08:32 Valent Turkovic wrote:
> > > On 5/24/07, Gianluca Sforna <giallu(a)gmail.com> wrote:
> > > > On 5/24/07, Valent Turkovic <valent.turkovic(a)gmail.com> wrote:
> > > > > I would like to help troubleshoot my laptop and then other 10 I have
> > > > > access to but I can't find how to do that.
> > > > >
> > > > > Is there any wiki page or some other resource that I can use? Or can
> > > > > you look at this one and give me some specific pointers?
> > > >
> > > > Try here:
> > > > http://people.freedesktop.org/~hughsient/quirk/
> > >
> > > Been there, done that - no honey :)
> > >
> > > Does fedora community have some more resourceful page regarding
> > > suspend/resume on laptops?
> > >
> > > When I had the same issue with the same laptop I was blown away with
> > > OpenSuse page - http://en.opensuse.org/S2ram - they hit nail on the
> > > head with their wiki page IMHO.
> > >
> > > Fedora needs more online resources - quirks page is not sufficient.
> > >
> > > Valent from Croatia.
> >
> > Don't know if this is of any help as I'm trying to get my touch pad working my
> > note book is a similar model.
> > http://www.red-web.ro/ics/f7-on-HP500.html
> >
>
> I must say Fedora 7 test 4 works just great in other respects on my
> laptop - seams you have much more problems. Ok, my wireless iwl3945
> doesn't work (I filed a bug also for that) but I can make it work with
> few commands... but suspend/resume I can't make to work no matter what
> I try.
>
> Valent.
>
Ok, it seams I have some bios problem issues!
I wen't back to OpenSuse 10.2 in which I claimed suspend works - and
it did work before - now it doesn't work anymore!
I had to upgrade my bios in order to get Intel VT option in bios - and
that FINALLY enabled me to run Xen virtualisation! But it seams that
this new bios now has some other issues so not even OpenSuse which
worked doesn't now :(
First time I tried to suspend under OpenSuse 10.2 it freezed, and
second time it started to wakeup but some really strange noises came
from the HDD that FREAKED me out! I powered it off as soon as possible
- and everything worked fine on power up!
Do you have any information, does Intel virtualisation have any thing
to do with suspend/resume? Does it need to be disabled in order for
suspend/resume to work?
Does anyone have some more experience testing new laptops with Intel
VT technology?
--
http://kernelreloaded.blog385.com/
linux, blog, anime, spirituality, windsurf, wireless
registered as user #367004 with the Linux Counter, http://counter.li.org.
ICQ: 2125241
Skype: valent.turkovic
16 years, 3 months
pm-utils: /etc/pm/config.d/unload_modules doesn't work
by Valent Turkovic
In my Fedora 7 installation I added the file:
cat /etc/pm/config.d/unload_modules
SUSPEND_MODULES="iwl3945 mac80211"
but resume failes unless I manually don't remove iwl3945 module via
'rmmod iwl3945'
is this a pm-utils bug in Fedora 7 or is it supposed to work in a different way?
--
http://kernelreloaded.blog385.com/
linux, blog, anime, spirituality, windsurf, wireless
registered as user #367004 with the Linux Counter, http://counter.li.org.
ICQ: 2125241
Skype: valent.turkovic
16 years, 4 months
questions on reconfigure and re-install a kernel on FC6
by kathy pu
Hi all:
I appreciate very much if anybody can provide me some help on re-configure
and compile a kernel, such as the procedures and the source directory
location and the name of the .config file used.
I got the error message saying the Kernel is not configured, but I do have
run the command
in 2. as listed below, I must have missed something?
My machine already has 2.6.20.2948 installed, and I want to change the
kernel configuration,
I am not sure what directory the source code, and .config, that I should
use.
1. what is the directory that I should find the correct root for MAKE the
kernel source code:
Is it /usr/src/linux-2.6.X/Build/ or is it
/usr/src/kernel/...2.6.20.2948?
2. if I do a make O=/home/name/build/kernel menuconfig
What will happen? Is a .config file producted? If so, where is it
stored?
What directory I need to copy the .config file to before I compile the
kernel?
3. if I run the following to compile a kernel, will it store both the
kernel binary
image and module binary files to the directory set by O =
make O=/home/name/build/kernel
4. What does the modules_insall and install do?
copy the bzImage to the O= location?
kathy
16 years, 4 months
IBM ThinkPad R52 Quirk submission
by Valent Turkovic
I have tested Fedora 7 Live CD and make IBM R52 work with a quirk and
I would like submit my findings so that IBM R52 JustWorks for other
people in Fedora 7.
I managed to suspend and resume 5 times from X and 2 times from
console1 (ctrl-alt-f1) with this quirk:
pm-suspend --quirk-s3-bios
the info I collected from lshal is:
system.hardware.vendor = 'IBM'
system.hardware.version = 'ThinkPad R52'
please include this laptop as soon as possible so that Fedora 7
JustWorks with it when it ships.
Thank you.
--
http://kernelreloaded.blog385.com/
linux, blog, anime, spirituality, windsurf, wireless
registered as user #367004 with the Linux Counter, http://counter.li.org.
ICQ: 2125241
Skype: valent.turkovic
16 years, 4 months
Re: willing to contribute - so laptops suspend better - but how?
by Valent Turkovic
On 5/24/07, Matej Cepl <mcepl(a)redhat.com> wrote:
> On Thu, 24 May 2007 14:08:32 +0200, Valent Turkovic scripst:
> > When I had the same issue with the same laptop I was blown away with
> > OpenSuse page - http://en.opensuse.org/S2ram - they hit nail on the head
> > with their wiki page IMHO.
>
> Best what I can suggest is http://mhensler.de/swsusp/ And no s2
> {ram,disk,both} just doesn't work on Fedora. Whenever I mentioned it in
> front of our kernel people only very loud silence was the answer ;-).
>
> Matej
>
I'm not requesting for fedora to use s2ram - I don't even know what is
the difference between pm-suspend and s2ram. I'm only hoping there are
some better online - official or unofficial resources for making
laptops work with fedora.
I'm having real trouble making any sense with all the different quirks
- because all I tried gave me a frozen system.
So how can I troubleshoot and get my laptop to suspend/resume?
look at my bug report:
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=240964
Valent.
--
http://kernelreloaded.blog385.com/
linux, blog, anime, spirituality, windsurf, wireless
registered as user #367004 with the Linux Counter, http://counter.li.org.
ICQ: 2125241
Skype: valent.turkovic
16 years, 4 months
[PATCH FC6] x86_64 page_is_ram() uses __initdata; breaks /dev/crash and /dev/mem restriction
by Dave Anderson
Somewhere after the 2.6.18 timeframe, Andi Kleen made the
x86_64 e820 map __initdata:
struct e820map e820 __initdata;
This is fine for upstream x86_64 kernels, because the e820 map never
gets used during runtime. But because we (RHEL/Fedora) have an x86_64
version of page_is_ram(), it ends up using __init data.
I became aware of this when I got an FC6/crash-utility bugzilla #237383,
filed because the crash utility started failing on later FC6 live systems.
This is because the kernel's /dev/crash module crash.ko started failing
because it uses page_is_ram() as a memory access qualifer.
Also, because of Red Hat's restriction on the use of /dev/mem to only
the first 256 RAM pages, the __initdata addition ends up opening the flood
gates for /dev/mem usage. That's because of this:
/*
* devmem_is_allowed() checks to see if /dev/mem access to a certain address is
* valid. The argument is a physical page number.
*
*
* On x86-64, access has to be given to the first megabyte of ram because that area
* contains bios code and data regions used by X and dosemu and similar apps.
* Access has to be given to non-kernel-ram areas as well, these contain the PCI
* mmio resources as well as potential bios/acpi data regions.
*/
int devmem_is_allowed(unsigned long pagenr)
{
if (pagenr <= 256)
return 1;
if (!page_is_ram(pagenr))
return 1;
return 0;
}
The function is meant to allow /dev/mem accesses above pagenr 256
only if they are *not* RAM -- but since since page_is_ram() is failing,
it inadvertantly allows access to any pagenr.
(Interestingly enough, this bug allows the user of the crash
utility to work around the /dev/crash failure by alternatively
using /dev/mem instead! /dev/crash was only created to begin
with because of the /dev/mem restriction...
Anyway, reverting back from __initdata fixes the situation for both
/dev/crash and the /dev/mem restriction.
Dave Anderson
(patch is against 2.6.20-1.2944)
--- linux-2.6.20.x86_64/arch/x86_64/kernel/e820.c.orig 2007-04-26 14:38:12.000000000 -0400
+++ linux-2.6.20.x86_64/arch/x86_64/kernel/e820.c 2007-04-26 14:38:24.000000000 -0400
@@ -25,7 +25,7 @@
#include <asm/bootsetup.h>
#include <asm/sections.h>
-struct e820map e820 __initdata;
+struct e820map e820;
/*
* PFN of last memory page.
16 years, 4 months