You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Kernel Oops when USB receiver connected at boot(USB hid as a module) #125
Yesterday I recompiled kernel with these options:
CONFIG_HID=m
CONFIG_USB_HID=m
I need this to use driver for PHILIPS MCE USB IR Receiver- Spinel plusf0r ASUS
"The module depends on usbhid but it has to be loaded before the usbhid module, in order to claim the device. Otherwise usbhid claims the device and hid-philips-asus can not act on it"
One more thing. When keyboard(or bluetooth adapter I had at hand) is not connected and usb receiver is plugged after complete boot, this oops also appears.
I use this script(/etc/rc.local) if it matters.
#!/bin/sh
This script forces loading hid-philips-asus module before usbhid
MODINFO=modinfo hid-philips-asus 2>/dev/null
if [ -z "$MODINFO" ]; then
echo "Module 'hid-philips-asus' is not installed."
exit
fi
The stacktrace doesn't actually list where the crash happened. can you search for the PC address in the System.map file to see which function it was sat in?
Activity
hex445 commentedon Sep 27, 2012
One more thing. When keyboard(or bluetooth adapter I had at hand) is not connected and usb receiver is plugged after complete boot, this oops also appears.
I use this script(/etc/rc.local) if it matters.
#!/bin/sh
This script forces loading hid-philips-asus module before usbhid
MODINFO=
modinfo hid-philips-asus 2>/dev/nullif [ -z "$MODINFO" ]; then
echo "Module 'hid-philips-asus' is not installed."
exit
fi
get list of existing hid modules
MODULES=
lsmod|grep hid| cut -d " " -f 1 | grep hidunload them
echo "Unloading existing hid modules."
for module in $MODULES; do
modprobe -vr $module
done
echo "Loading hid_philips_asus module."
load hid_philips_asus first
modprobe -v hid_philips_asus
echo "Reloading other hid modules."
load the rest modules
for module in $MODULES; do
modprobe -v $module
done
ghollingworth commentedon Sep 30, 2012
The stacktrace doesn't actually list where the crash happened. can you search for the PC address in the System.map file to see which function it was sat in?
popcornmix commentedon Sep 30, 2012
@ghollingworth
There is mention of mce_request_packet (from drivers/media/rc/mceusb.c) in the photo.
cfq: fix cfqg ref handling when BLK_CGROUP && !CFQ_GROUP_IOSCHED
hex445 commentedon Nov 15, 2012
Linux raspberrypi 3.2.27+ #1 PREEMPT Wed Nov 14 19:42:38 UTC 2012 armv6l GNU/Linux
Still the same
http://web1.ezrodlo.pl/oops2.jpg
hex445 commentedon Jan 4, 2013
3.6.11+
Still the same
ghollingworth commentedon Jul 17, 2013
We've found and fixed a bunch of errors that could have caused this (dequeueing errors) Could you try again with the latest 3.6.y kernel
$ sudo rpi-update
arm64: initialize spinlock for init_mm's context
tracing/kprobes: Fix NULL pointer dereference in trace_kprobe_create()
nfc: llcp: fix NULL error pointer dereference on sendmsg() after fail…
nfc: llcp: fix NULL error pointer dereference on sendmsg() after fail…
nfc: llcp: fix NULL error pointer dereference on sendmsg() after fail…
nfc: llcp: fix NULL error pointer dereference on sendmsg() after fail…
tracing/osnoise: Use a cpumask to know what threads are kthreads
tracing/osnoise: Use a cpumask to know what threads are kthreads
tracing/osnoise: Use a cpumask to know what threads are kthreads
bpf, sockmap: Fix race between element replace and close()
bpf, sockmap: Fix race between element replace and close()
bpf, sockmap: Fix race between element replace and close()
net: macb: Move devm_{free,request}_irq() out of spin lock area
net: macb: Move devm_{free,request}_irq() out of spin lock area
net: macb: Move devm_{free,request}_irq() out of spin lock area
net: macb: Move devm_{free,request}_irq() out of spin lock area
LoongArch: BPF: Support 64-bit pointers to kfuncs