Re: kernel debugger and usb keyboard

2009-08-03 Thread Hans Petter Selasky
On Sunday 02 August 2009 23:46:29 Alexander Best wrote: i've seen that there have been some recent changed which deal with this issue. is usb support in the debugger possible with these changes? Yes, UMASS and UKBD should work from the debugger. --HPS

Re: kernel debugger and usb keyboard

2009-08-03 Thread Alexander Best
hmm...is it necessary to add any extra options to the kernelconf? because when i hit the panic key-combo under r196037 i'm still not able to use my usb keyboard. i have the following debug related options in my kernelconf: options KDB options BREAK_TO_DEBUGGER options DDB

Re: kernel debugger and usb keyboard

2009-08-03 Thread Hans Petter Selasky
On Monday 03 August 2009 10:08:56 Alexander Best wrote: hmm...is it necessary to add any extra options to the kernelconf? because when i hit the panic key-combo under r196037 i'm still not able to use my usb keyboard. i have the following debug related options in my kernelconf: options

Re: kernel debugger and usb keyboard

2009-08-03 Thread Alexander Best
to be sure i just updated my sources and rebuild/reinstalled the kernel. i'm now running FreeBSD otaku 8.0-BETA2 FreeBSD 8.0-BETA2 #2 r196050: Mon Aug 3 18:54:46 CEST 2009 r...@otaku:/usr/obj/usr/src/sys/ARUNDEL i386 still when i hit the panic key combo i'm unable to use my usb keyboard

Re: kernel debugger and usb keyboard

2009-08-03 Thread Hans Petter Selasky
hit the panic key combo i'm unable to use my usb keyboard in the kernel debugger. alex This is maybe because the CPU is in the USB stack already. What is the backtrace? If you use the panic sysctl, does the keyboard work then? --HPS ___ freebsd

Re: kernel debugger and usb keyboard

2009-08-03 Thread Alexander Best
just tried settings `sysctl debug.kdb.panic = 1`. if i use this way to enter the kernel debugger my usb keyboard works. if i type continue however the kernel panics and the kernel debugger gets yet entered again, but without the keyboard working. i don't know how to produce backtraces since

Re: kernel debugger and usb keyboard

2009-08-03 Thread Julian Elischer
Hans Petter Selasky wrote: On Monday 03 August 2009 20:55:16 Alexander Best wrote: just tried settings `sysctl debug.kdb.panic = 1`. if i use this way to enter the kernel debugger my usb keyboard works. if i type continue however the kernel panics and the kernel debugger gets yet entered again

Re: kernel debugger and usb keyboard

2009-08-03 Thread Alexander Best
settings `sysctl debug.kdb.panic = 1`. if i use this way to enter the kernel debugger my usb keyboard works. if i type continue however the kernel panics and the kernel debugger gets yet entered again, but without the keyboard working. The USB controller which the keyboard is hooked onto

Re: kernel debugger and usb keyboard

2009-08-02 Thread Alexander Best
i've seen that there have been some recent changed which deal with this issue. is usb support in the debugger possible with these changes? alex ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To

kernel debugger and usb keyboard

2009-07-16 Thread Alexander Best
if i understood it correctly the reason a usb keyboard cannot be used in the kernel debugger after a panic is that we can't be sure the panic didn't happen inside the usb stack so the whole usb stack is discarded at a panic. maybe this would be a solution: modern bioses support an option called

Re: kernel debugger and usb keyboard

2009-07-16 Thread Hans Petter Selasky
On Thursday 16 July 2009 10:43:26 Alexander Best wrote: if i understood it correctly the reason a usb keyboard cannot be used in the kernel debugger after a panic is that we can't be sure the panic didn't happen inside the usb stack so the whole usb stack is discarded at a panic. The USB

Re: kernel debugger and usb keyboard

2009-07-16 Thread Marcel Moolenaar
On Jul 16, 2009, at 1:43 AM, Alexander Best wrote: modern bioses support an option called legcy usb keyboard support. the way i understood it is that the bios grabs usb keyboard events and uses them to emulate an AT keyboard. that way e.g. a bootloader can the used with a usb keyboard

Re: kernel debugger and usb keyboard

2009-07-16 Thread Alexander Best
just found this wiki: http://wiki.freebsd.org/USBTODO so making ukbd giant free has a high priority? very nice. :) alex Hans Petter Selasky schrieb am 2009-07-16: On Thursday 16 July 2009 10:43:26 Alexander Best wrote: if i understood it correctly the reason a usb keyboard cannot be used