[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
BOUNCE rtl@rtlinux.org: Approval required: Non-member submissionfrom [Thomas Lehwald <thomas.lehwald@Ruetz.de>] (fwd)
- To: rtl@rtlinux.org
- Subject: BOUNCE rtl@rtlinux.org: Approval required: Non-member submissionfrom [Thomas Lehwald <thomas.lehwald@Ruetz.de>] (fwd)
- From: Der Herr Hofrat <der.herr@hofr.at>
- Date: Fri, 1 Jun 2001 10:35:19 +0200 (CEST)
>From owner-rtl Fri Jun 1 02:27:38 2001
Received: from central.webforum.de (central.webforum.de [193.141.169.166])
by hq.fsmlabs.com (8.11.2/8.11.2) with ESMTP id f518Rbs15229
for <rtl@fsmlabs.com>; Fri, 1 Jun 2001 02:27:37 -0600
Received: (from smap@localhost) by central.webforum.de (8.7.6/8.7.6-webforum) id KAA28901 for <rtl@fsmlabs.com>; Fri, 1 Jun 2001 10:22:24 +0200
Received: from exchange.ruetz.de(192.168.53.2)
via SMTP by central.webforum.de, id smtpda28894; Fri Jun 1 08:22:21 2001
Received: by EXCHANGE with Internet Mail Service (5.5.2448.0)
id <KQPB6XAB>; Fri, 1 Jun 2001 10:16:09 +0200
Message-ID: <5194C7501DC8D311A7DA00C0F015DD9111FCC1@EXCHANGE>
From: Thomas Lehwald <thomas.lehwald@Ruetz.de>
To: "'rtl@fsmlabs.com'" <rtl@fsmlabs.com>
Subject: AW: [rtl] Fwd: Debugging a driver
Date: Fri, 1 Jun 2001 10:16:08 +0200
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2448.0)
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by hq.fsmlabs.com id f518Rcs15230
Hi,
it seems, you forgot to call the debugger (i.e. ddd or xxgdb) and then to
call the "dbg"-macro for communication via realtime fifos between debugger
and debuggee. A short description how to debug modules is found in the
rtlinux source tree under debugger.
Greetings
Thomas
-----Ursprungliche Nachricht-----
Von: Linus Gasser [mailto:ineiti@gmx.net]
Gesendet: Donnerstag, 31. Mai 2001 16:37
An: rtl@rtlinux.org
Betreff: [rtl] Fwd: Debugging a driver
Hi,
I have a rtl-module here that acts as a driver, but with the need for
real-time (in fact it's a DAC for a software radio). Now and then the module
goes 'whoops' and takes the whole computer with, sometimes there's 'just' an
exception. In both cases I'm stuck and have to reboot the computer (either
with the reset-knob or with a 'reboot'). I tried to get the rtl_debug module
working, but it doesn't drop in the driver-module. I tried the following:
- Adding breakpoint() in one of the driver's routines
- modprobe rtl_debug
- insmod daq_module.o
- start the application that uses the driver (and calls the routine with the
breakpoint() in it)
->
kernel: Unable to handle kernel paging request at virtual address dc3daa60
kernel: printing eip:
kernel: d08d10bb
kernel: *pde = 00000000
kernel: Oops: 0000
kernel: CPU: 1
and no notification of the rtl_debug module whatsoever.
Did someone already debug a rtl-kernel-driver, and if so, how?
Thanks for considering my mail,
Ineiti
-------------------------------------------------------
-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail majordomo@rtlinux.org OR
echo "unsubscribe rtl <Your_email>" | mail majordomo@rtlinux.org
--
For more information on Real-Time Linux see:
http://www.rtlinux.org/rtlinux/