2004-04-01 20:03:54

by Amit

[permalink] [raw]
Subject: 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




2004-04-01 20:16:07

by Karim Yaghmour

[permalink] [raw]
Subject: Re: kernel 2.4.16


Hello Amit,

[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
--
Author, Speaker, Developer, Consultant
Pushing Embedded and Real-Time Linux Systems Beyond the Limits
http://www.opersys.com || [email protected] || 1-866-677-4546

2004-04-01 20:25:36

by Karim Yaghmour

[permalink] [raw]
Subject: Re: kernel 2.4.16


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
--
Author, Speaker, Developer, Consultant
Pushing Embedded and Real-Time Linux Systems Beyond the Limits
http://www.opersys.com || [email protected] || 1-866-677-4546

2004-04-03 17:13:53

by Amit

[permalink] [raw]
Subject: Re: kernel 2.4.16

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]>:

>
> Hello Amit,
>
> [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
> --
> Author, Speaker, Developer, Consultant
> Pushing Embedded and Real-Time Linux Systems Beyond the Limits
> http://www.opersys.com || [email protected] || 1-866-677-4546
>


2004-04-03 20:37:00

by Karim Yaghmour

[permalink] [raw]
Subject: Re: kernel 2.4.16


[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
--
Author, Speaker, Developer, Consultant
Pushing Embedded and Real-Time Linux Systems Beyond the Limits
http://www.opersys.com || [email protected] || 1-866-677-4546

2004-04-03 21:00:51

by Amit

[permalink] [raw]
Subject: Re: kernel 2.4.16

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]>:

>
> [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
> --
> 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/
>


2004-04-03 21:04:49

by Karim Yaghmour

[permalink] [raw]
Subject: Re: kernel 2.4.16


[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
--
Author, Speaker, Developer, Consultant
Pushing Embedded and Real-Time Linux Systems Beyond the Limits
http://www.opersys.com || [email protected] || 1-866-677-4546

2004-04-03 23:07:22

by Amit

[permalink] [raw]
Subject: Re: kernel 2.4.16

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


>
> [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
> --
> 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/
>


2004-04-03 23:17:34

by Karim Yaghmour

[permalink] [raw]
Subject: Re: kernel 2.4.16


Amit wrote:
> 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.

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
--
Author, Speaker, Developer, Consultant
Pushing Embedded and Real-Time Linux Systems Beyond the Limits
http://www.opersys.com || [email protected] || 1-866-677-4546

2004-04-03 23:42:54

by Amit

[permalink] [raw]
Subject: Re: kernel 2.4.16

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


>
> Amit wrote:
> > 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.
>
> 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
> --
> Author, Speaker, Developer, Consultant
> Pushing Embedded and Real-Time Linux Systems Beyond the Limits
> http://www.opersys.com || [email protected] || 1-866-677-4546
>


2004-04-04 00:03:19

by Karim Yaghmour

[permalink] [raw]
Subject: Re: kernel 2.4.16


Amit wrote:
> 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.

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.

> 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
--
Author, Speaker, Developer, Consultant
Pushing Embedded and Real-Time Linux Systems Beyond the Limits
http://www.opersys.com || [email protected] || 1-866-677-4546

2004-04-04 14:33:44

by Amit

[permalink] [raw]
Subject: Re: kernel 2.4.16

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


>
> Amit wrote:
> > 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.
>
> 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.
>
> > 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
> --
> Author, Speaker, Developer, Consultant
> Pushing Embedded and Real-Time Linux Systems Beyond the Limits
> http://www.opersys.com || [email protected] || 1-866-677-4546
>


2004-04-05 19:58:13

by Karim Yaghmour

[permalink] [raw]
Subject: Re: kernel 2.4.16


Amit wrote:
> 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
--
Author, Speaker, Developer, Consultant
Pushing Embedded and Real-Time Linux Systems Beyond the Limits
http://www.opersys.com || [email protected] || 1-866-677-4546