Re: uhidev(4) update - USB HID driver level for devices with multiple report ids



В вс, 22/07/2007 в 20:11 +0100, Mark Hobden пишет:

Thanks for all the info.

I am having trouble reproducing a panic like this here or finding out
how it gets down a path like this. I am wondering if this only occurs
on EHCI devices. Hopefully later in the week I will be able to borrow
some equipment from work to test with here. But do you have a
different
keyboard that you could try out booting on the UHCI controller? If
that
works OK it should show me where to look.

I can try to connect same keyboard through USB1 hub, it should be enough
to attach it to UHCI instead of EHCI ?

I'm afraid I don't know about setting dump devices before booting as
in the past I have always triggered them by attaching hardware after
the system is booted. <:-|

The other problem for you would be that because all the usb modules
are loaded as modules you need to load them individually into kgdb
with their start address as described in the link below:

http://www.freebsd.org/doc/en/books/developers-handbook/kerneldebug-kld.html

Which wouldn't be fun as each time you want to load kgdb you have
to do this for usb, uhid and ukbd. I find it easier to just compile them
into the kernel.

Ok, may compile them into kernel, but I still have little trouble with
creating kernel dump while boot - before execution of dumpdev.

Will try to find some comconsole cable or firewire cable.
to do kgdb from remote machine.

Kind Regards,
Mark

--
Vladimir B. Grebenschikov
vova@xxxxxxx
_______________________________________________
freebsd-current@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: [Kgdb-bugreport] compiling kernel with -O0 flag - Lets make it a config option!
    ... in the areas of the kernel that they are working on. ... in the kgdb documentation that aren't. ... Sometimes I only want to compile the tcp/ip code -O0, ...
    (Linux-Kernel)
  • Compiling a 2.6 kernel
    ... I am in the process of trying to compile a Redhat kernel - 2.6.9.11 and ... What I had inside is the original Linux kernel tree, ... I need to patch it with kgdb. ...
    (alt.os.linux.redhat)
  • Re: kernel panic
    ... I am a kgdb newbie, ... Perhaps the kernel panic could be avoided with the following patch? ... Hopefully it panics here which might help: ...
    (freebsd-stable)
  • [patch 01/15] KGDB: Core files
    ... Here is a different version of KGDB than found currently in Andrew Morton's ... kgdb is a source level debugger for linux kernel. ... +extern int kgdb_connected; ... +extern void kgdb_roundup_cpus; ...
    (Linux-Kernel)
  • [patch 1/8] A different KGDB stub for -mm
    ... The following series of patches adds KGDB ... kgdb is a source level debugger for linux kernel. ... +typedef int gdb_debug_hook(int exVector, int signo, int err_code, ... +void kgdb_nmihook; ...
    (Linux-Kernel)