[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
BOUNCE rtl@rtlinux.org: Approval required: (fwd)
- To: rtl@rtlinux.org
- Subject: BOUNCE rtl@rtlinux.org: Approval required: (fwd)
- From: Der Herr Hofrat <der.herr@hofr.at>
- Date: Sat, 7 Jul 2001 10:40:10 +0200 (CEST)
>From owner-rtl Sat Jul 7 02:34:11 2001
Received: from hq.fsmlabs.com (localhost [[UNIX: localhost]])
by hq.fsmlabs.com (8.11.2/8.11.2) with ESMTP id f678YAk22957
for <rtl@rtlinux.org>; Sat, 7 Jul 2001 02:34:10 -0600
Received: (qmail 9062 invoked by uid 1000); 7 Jul 2001 08:17:10 -0000
Date: Sat, 7 Jul 2001 12:17:10 +0400
From: Michael Barabanov <baraban@fsmlabs.com>
To: liang.zhu@philips.com
Cc: rtl@rtlinux.org
Subject: Re: [rtl] Qs on the "sound" example
Message-ID: <20010707121710.D6961@fsmlabs.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <0056910012995075000002L152*@MHS>
User-Agent: Mutt/1.3.18i
Organization: FSMLabs
Could you try running the threaded version of the sound example,
irqthread.c?
You shouldn't need to use breakpoint() to debug this, as any fault in an
RT-thread should be trapped in the debugger.
Note, you can only use RTLinux debugger to debug
RT-threads, and not interrupt hanlders. This is not a restriction
in practice as this example shows. Also, breakpoints and tracing
only work if hardware interrupts are not disabled.
liang.zhu@philips.com (liang.zhu@philips.com) wrote:
> Hi,
> I am kind of newbie of RT-Linux and now experimenting with the examples came with the latest RT-linux 3.0 distribution. I have trouble in running the "sound" example (under the directory "example/sound"). Sometimes the run the of sample program either
> hanged my Dell PC (with General Protection error and "kernel panic" message) or reboot the box. Does anyone what might be the bug in the code?
> I tried to use the debugger, by adding "breakpoint()" function in the sound.c source code, but the run of the code would not cause any exceptions so I can't use gdb to debug it. Are there ways to work around it? many thanks.
>
> ***************************
> Liang Zhu
> Philips CFT, NA
> Philips Silicon Valley Center, W4-120
> 1000 West Maude Ave.
> Sunnyvale, CA 94085-2810, USA
> Email: liang.zhu@philips.com
----- End of forwarded message from owner-rtl@fsmlabs.com -----