[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
BOUNCE rtl@rtlinux.org: Approval required: Non-member submissionfrom [Linus Gasser <ineiti@gmx.net>] (fwd)
- To: rtl@rtlinux.org
- Subject: BOUNCE rtl@rtlinux.org: Approval required: Non-member submissionfrom [Linus Gasser <ineiti@gmx.net>] (fwd)
- From: Der Herr Hofrat <der.herr@hofr.at>
- Date: Thu, 31 May 2001 17:14:51 +0200 (CEST)
>From owner-rtl Thu May 31 07:27:27 2001
Received: from mail.gmx.net (pop.gmx.net [194.221.183.20])
by hq.fsmlabs.com (8.11.2/8.11.2) with SMTP id f4VDRQs08547
for <rtl@fsmlabs.com>; Thu, 31 May 2001 07:27:26 -0600
Received: (qmail 25769 invoked by uid 0); 31 May 2001 13:22:09 -0000
Received: from lcmpc10.epfl.ch (HELO lcmpc7) (128.178.8.77)
by mail.gmx.net (mp006-rz3) with SMTP; 31 May 2001 13:22:09 -0000
Content-Type: text/plain;
charset="iso-8859-1"
From: Linus Gasser <ineiti@gmx.net>
To: rtl@fsmlabs.com
Subject: Debugging a driver
Date: Thu, 31 May 2001 15:15:52 +0200
X-Mailer: KMail [version 1.2]
MIME-Version: 1.0
Message-Id: <01053115155200.01171@lcmpc7>
Content-Transfer-Encoding: 8bit
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