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:[EMAIL PROTECTED]] Gesendet: Donnerstag, 31. Mai 2001 16:37 An: [EMAIL PROTECTED] 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 [EMAIL PROTECTED] OR echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED] -- For more information on Real-Time Linux see: http://www.rtlinux.org/rtlinux/ -- [rtl] --- To unsubscribe: echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED] -- For more information on Real-Time Linux see: http://www.rtlinux.org/rtlinux/
