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



В сб, 21/07/2007 в 01:55 +0100, Mark Hobden пишет:

Thanks for helping me track this down, I had managed to leave
out that that ums, ukbd & uhid depend on usb as well as uhidev
(this was previously in a macro). This upset trying to kldload the
modules.

I have uploaded a new patch over the old one. People only need
this update though if they do not have 'device usb' in their kernel
config file.

http://www.terinea.co.uk/~mark/patches/uhidev-7-current-p2.diff

Hm, a bit better, but ...

If I boot with connect mice and disconnected keyboard - everything goes
right.
I can connect keyboard after boot and it works, mice works also.

But If I've boot with connected USB keyboard - system panics:

Fatal trap 12: page fault while in kernel mode

Stopped ar usbd_clear_endpoint_stall_async+0xb: movl 0x3(%ebx), %esi

db> tr
ehci_waitintr
ehci_device_intr_start
ehci_device_intr_transfer
usbd_start_transfer
bus_dmap_load
usbd_transfer
usbd_open_pipe_intr
uhidev_open
ukbd_enable_intr
ukbd_init
ukbd_attach
device_attach
uhidev_attach
device_attach
usb_new_device
uhub_explore
uhub_explore
usb_attach
ehci_pci_attach
device_attach
bus_generic_attach
...

Sorry, manually retyped back-trace

db> panic
just refuses to write dump.

Side question - what is "right" way to setup dump device for kernel
boot ?
http://freebsd-man.page2go2.com/man8/loader_8.html
loader's dumpdev - looks not working.

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: Naming harddisks (Linux)
    ... But I also see that for an USB drive it uses /dev/sdas the ... Does GRUB recognize SCSI drives? ... The first step in understanding the boot process is to ... The bootloader's job is to load the OSs kernel. ...
    (comp.os.linux.misc)
  • Re: ukbd attachment and root mount
    ... sometimes root filesystem is mounted first. ... Another (with custom kernel, zfs root): ... So I stuck at mountroot prompt without a keyboard to enter anything. ... This motherboard has PS/2 emulation for USB devices (often called "USB ...
    (freebsd-stable)
  • Re: Installing Linux on a USB hard disc
    ... >loaded at boot, so Linux can't see the hard disc, and can't find init. ... The problem is the bios on your laptop. ... bios on your laptop have the ability to read sectors from the usb hard ... kernel with usb support compiled into the kernel) onto the internal disk. ...
    (comp.os.linux.setup)
  • Re: uhidev(4) update - USB HID driver level for devices with multiple report ids
    ... I can connect keyboard after boot and it works, ... But If I've boot with connected USB keyboard - system panics: ... page fault while in kernel mode ...
    (freebsd-current)
  • Re: USB storage no-boot regression (bisected)
    ... USB flash drives, one for Fedora 10 userland, and one for kernel ... these delays will no longer block the boot thread. ...
    (Linux-Kernel)