kernel 2.4.16
Hello,
When I compile the kernel2.4.16 and I get a kernel panic when I reboot the
m/c with the new kernel. I have a redhat 9.0 version and when I use the sources in the /usr/src/linux.x.x.x they work fine for me. by doing the nm linux/vmlinux i get the EIP as c01070a6 and the function it points is do_signal. I have sony vaio laptop 2.4 ghz, celeron.
I need linux2.4.16 because i want to use LTT and the documentation of LTT
says that it can be used with that version. Can somebody gimme sm pointer realted to this.
Thanks,
Amit Khandelwal
Hello Amit,
Quoted 3 lines · [email protected] wrote:
I need linux2.4.16 because i want to use LTT and the documentation of LTT
says that it can be used with that version. Can somebody gimme sm pointer realted to this.
You may want to try fixing this patch for the latest kernel (and I could then host the updated patch on the project's site.) Or you may want to try LTT 0.9.6pre3 with linux 2.6.3 and relayfs. This is the latest development version. It's got rough edges, but it shouldn't be too hard to get working.
Karim
Signature · 3 lines
Author, Speaker, Developer, Consultant Pushing Embedded and Real-Time Linux Systems Beyond the Limits http://www.opersys.com || [email protected] || 1-866-677-4546
I also forgot to mention that you may to take a look at the ExtraPatches directory here:
http://www.opersys.com/ftp/pub/LTT/ExtraPatches/
Karim
Signature · 3 lines
Author, Speaker, Developer, Consultant Pushing Embedded and Real-Time Linux Systems Beyond the Limits http://www.opersys.com || [email protected] || 1-866-677-4546
Hello Karim,
I had few issues related to compiling 2.6.3 on redhat 9.0. I have got that up
and running except for the (networking)eth0 support. I see Ltt 0.9.6pre2 and not pre3 on the site am I missing sm thing??
Quoting Karim Yaghmour <[email protected]>:
Quoted 20 lines
Hello Amit,
Quoted 1 line · [email protected] wrote:
I need linux2.4.16 because i want to use LTT and the documentation of
LTT
Quoted 2 lines
says that it can be used with that version. Can somebody gimme sm pointer realted to this.
You may want to try fixing this patch for the latest kernel (and I could then host the updated patch on the project's site.) Or you may want to try LTT 0.9.6pre3 with linux 2.6.3 and relayfs. This is the latest development version. It's got rough edges, but it shouldn't be too hard to get working.
Karim
--
Author, Speaker, Developer, Consultant
Pushing Embedded and Real-Time Linux Systems Beyond the Limits
http://www.opersys.com || [email protected] || 1-866-677-4546
Quoted 3 lines · [email protected] wrote:
I had few issues related to compiling 2.6.3 on redhat 9.0. I have got that up
and running except for the (networking)eth0 support. I see Ltt 0.9.6pre2 and not pre3 on the site am I missing sm thing??
Right, I just didn't have time to put up the tradition HTML pointers on the project's site. You'll 0.9.6pre3 here:
http://www.opersys.com/ftp/pub/LTT/
Karim
Signature · 3 lines
Author, Speaker, Developer, Consultant Pushing Embedded and Real-Time Linux Systems Beyond the Limits http://www.opersys.com || [email protected] || 1-866-677-4546
The Patches/ directory of LTT is empty. Do I need to download the patches from somewhere else? The installation of LTT suggests that we need to patch the kernel.
Thanks in advance.
Amit
Quoting Karim Yaghmour <[email protected]>:
Quoted 24 lines
Quoted 1 line · [email protected] wrote:
I had few issues related to compiling 2.6.3 on redhat 9.0. I have got
that up
Quoted 1 line
and running except for the (networking)eth0 support. I see Ltt 0.9.6pre2
and
Quoted 1 line
not pre3 on the site am I missing sm thing??
Right, I just didn't have time to put up the tradition HTML pointers on the project's site. You'll 0.9.6pre3 here:
http://www.opersys.com/ftp/pub/LTT/Karim
--
Author, Speaker, Developer, Consultant
Pushing Embedded and Real-Time Linux Systems Beyond the Limits
http://www.opersys.com || [email protected] || 1-866-677-4546-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Quoted 3 lines · [email protected] wrote:
The Patches/ directory of LTT is empty. Do I need to download the patches from somewhere else? The installation of LTT suggests that we need to patch the kernel.
The patch was posted to ltt-dev:
http://www.listserv.shafik.org/pipermail/ltt-dev/2004-March/000561.html
Karim
Signature · 3 lines
Author, Speaker, Developer, Consultant Pushing Embedded and Real-Time Linux Systems Beyond the Limits http://www.opersys.com || [email protected] || 1-866-677-4546
Hi,
The patches got installed smoothly however, like in linux-2.4.19 this
time the "Kernel Tracing" option didn't come up when I did "make xconfig". I copied the CONFIG_TRACE=m from my .config of linux-2.4.19. I hope this is correct.
Thanks for all the help.
- Amit Khandelwal
----- Original Message -----
From: "Karim Yaghmour" <[email protected]>
To: <[email protected]>
Cc: "Linux Kernel Mailing List" <[email protected]>
Sent: Saturday, April 03, 2004 4:10 PM
Subject: Re: kernel 2.4.16
Quoted 3 lines
Quoted 1 line · [email protected] wrote:
The Patches/ directory of LTT is empty. Do I need to download the
patches from
Quoted 1 line
Quoted 1 line
somewhere else? The installation of LTT suggests that we need to patch
the
Quoted 17 lines
Quoted 1 line
kernel.
The patch was posted to ltt-dev:
http://www.listserv.shafik.org/pipermail/ltt-dev/2004-March/000561.htmlKarim
Signature · 9 lines
Author, Speaker, Developer, Consultant Pushing Embedded and Real-Time Linux Systems Beyond the Limits http://www.opersys.com || [email protected] || 1-866-677-4546 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Quoted 4 lines · Amit
The patches got installed smoothly however, like in linux-2.4.19 this
time the "Kernel Tracing" option didn't come up when I did "make xconfig". I copied theCONFIG_TRACE=mfrom my .config of linux-2.4.19. I hope this is correct.
No, this isn't the right way.
You need to enable relayfs support in "File Systems"->"Pseudo filesystems", then you will be able to select "General setup"->"Linux Trace Toolkit support".
Karim
Signature · 3 lines
Author, Speaker, Developer, Consultant Pushing Embedded and Real-Time Linux Systems Beyond the Limits http://www.opersys.com || [email protected] || 1-866-677-4546
Hey Karim,
The installation has gone through smoothly and I have managed to get an
linux-2.6.3 up and running with LTT.
I checked the documentation and it says that I need to do an insmod on the tracer but I have compiled it as a part of the kernel. Now the documentation says that I should execute the createdev.sh to create the devices. When I execute that I get errors related to tracer. When I try to execute the tracedaemon I get that relayfs is not mounted. Can you please tell me how to go about doing the first part. After doing all this I want to run some test cases and see how does LTT generate traces. Later on I would also like to add rtai to this and see the traces from that too.
Thanks!
-Amit Khandelwal
PS. I would like to write down a small howto on this and pass it on to you so that newbies like me can have a good ref. Thanks for the help.
----- Original Message -----
From: "Karim Yaghmour" <[email protected]>
To: "Amit" <[email protected]>
Cc: "Linux Kernel Mailing List" <[email protected]>
Sent: Saturday, April 03, 2004 6:23 PM
Subject: Re: kernel 2.4.16
Quoted 4 lines
Quoted 2 lines · Amit
The patches got installed smoothly however, like in linux-2.4.19 this
time the "Kernel Tracing" option didn't come up when I did "make
xconfig". I
Quoted 1 line
Quoted 1 line
copied the
CONFIG_TRACE=mfrom my .config of linux-2.4.19. I hope this
is
Quoted 5 lines
Quoted 1 line
correct.
No, this isn't the right way.
You need to enable relayfs support in "File Systems"->"Pseudo
filesystems",
Quoted 1 line
then you will be able to select "General setup"->"Linux Trace Toolkit
support".
Quoted 7 lines
Karim
Signature · 3 lines
Author, Speaker, Developer, Consultant Pushing Embedded and Real-Time Linux Systems Beyond the Limits http://www.opersys.com || [email protected] || 1-866-677-4546
Quoted 10 lines · Amit
The installation has gone through smoothly and I have managed to get an
linux-2.6.3 up and running with LTT.
I checked the documentation and it says that I need to do an insmod on the tracer but I have compiled it as a part of the kernel. Now the documentation says that I should execute thecreatedev.shto create the devices. When I execute that I get errors related to tracer. When I try to execute the tracedaemon I get that relayfs is not mounted. Can you please tell me how to go about doing the first part. After doing all this I want to run some test cases and see how does LTT generate traces. Later on I would also like to add rtai to this and see the traces from that too.
The documentation is out of date. Basically, the createdev.sh script isn't needed anymore because of relayfs. You need to mount relayfs to use LTT. See the classic dox on filesystem mounting for this kind of thing. It's going to be something like:
# mount -t relayfs nodev /mnt/relay
There's no insmod for LTT. It isn't a device driver module, following LKML recommendations.
As for RTAI, there's currently no RTAI support in relayfs. If you want to have RTAI tracing, then you'd have to fall back on earlier stable versions of LTT.
Quoted 2 lines
PS. I would like to write down a small howto on this and pass it on to you so that newbies like me can have a good ref. Thanks for the help.
Sure.
Karim
Signature · 3 lines
Author, Speaker, Developer, Consultant Pushing Embedded and Real-Time Linux Systems Beyond the Limits http://www.opersys.com || [email protected] || 1-866-677-4546
Hello Karim,
We have got LTT running for 2.6.3 and 2.419. We collected some traces
for both 2.4.19 and 2.6.3. The gui looks really cool. However, just one thing with 2.6.3 when I feed in the trace file and the proc file it dumps core.
I execute the following command :-
- tracedaemon -ts10 ./out.trace ./out.proc
to get the trace and the proc file.
Thanks,
Amit Khandelwal
----- Original Message -----
From: "Karim Yaghmour" <[email protected]>
To: "Amit" <[email protected]>
Cc: "Linux Kernel Mailing List" <[email protected]>
Sent: Saturday, April 03, 2004 7:59 PM
Subject: Re: kernel 2.4.16
Quoted 3 lines
Quoted 1 line · Amit
The installation has gone through smoothly and I have managed to get
an
Quoted 2 lines
Quoted 2 lines
linux-2.6.3 up and running with LTT.
I checked the documentation and it says that I need to do an insmod on
the
Quoted 1 line
Quoted 1 line
tracer but I have compiled it as a part of the kernel. Now the
documentation
Quoted 1 line
Quoted 1 line
says that I should execute the
createdev.shto create the devices. When
I
Quoted 2 lines
Quoted 2 lines
execute that I get errors related to tracer. When I try to execute the tracedaemon I get that relayfs is not mounted. Can you please tell me
how to
Quoted 1 line
Quoted 1 line
go about doing the first part. After doing all this I want to run some
test
Quoted 1 line
Quoted 1 line
cases and see how does LTT generate traces. Later on I would also like
to
Quoted 6 lines
Quoted 1 line
add rtai to this and see the traces from that too.
The documentation is out of date. Basically, the
createdev.shscript isn't needed anymore because of relayfs. You need to mount relayfs to use LTT. See the classic dox on filesystem mounting for this kind of thing. It's going to be something like:
Quoted 6 lines
# mount -t relayfs nodev /mnt/relayThere's no insmod for LTT. It isn't a device driver module, following LKML recommendations.
As for RTAI, there's currently no RTAI support in relayfs. If you want to
have
Quoted 1 line
RTAI tracing, then you'd have to fall back on earlier stable versions of
LTT.
Quoted 2 lines
Quoted 2 lines
PS. I would like to write down a small howto on this and pass it on to
you
Quoted 10 lines
Quoted 1 line
so that newbies like me can have a good ref. Thanks for the help.
Sure.
Karim
Signature · 3 lines
Author, Speaker, Developer, Consultant Pushing Embedded and Real-Time Linux Systems Beyond the Limits http://www.opersys.com || [email protected] || 1-866-677-4546
Quoted 4 lines · Amit
We have got LTT running for 2.6.3 and 2.419. We collected some traces
for both 2.4.19 and 2.6.3. The gui looks really cool. However, just one thing with 2.6.3 when I feed in the trace file and the proc file it dumps core.
Using pre3, right? That's why it's called a development version :) Let me know when you've got it fixed, and send me a patch :D
Karim
Signature · 3 lines
Author, Speaker, Developer, Consultant Pushing Embedded and Real-Time Linux Systems Beyond the Limits http://www.opersys.com || [email protected] || 1-866-677-4546