Bug#615831: panic(): print name of kernel module before loading it
On Mon, 11 Apr 2011, Timo Juhani Lindfors wrote:
> maximilian attems <max@stro.at> writes:
> >> +try_modprobe()
> > I'd prefer the function to be named modprobe_verbose()
>
> Ok.
>
> >> + try_modprobe atkbd
> > why not using "-v" from modprobe,
> > the only argument against that would count is busybox support.
> > please check?
>
> I'm not very familiar with busybox internals but at least on squeeze I
> don't even have the modprobe applet:
I checked busybox source, it does support the verbose -v switch.
so changing your function in the patch, looks good.
now the only thing that is holding me up to merge your patch is that
/proc/bus/input/devices usage, there should be some sysfs file, no?
cat /sys/class/input/input*/device/description shows a KBD
--
maks
--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20110516123325.GA31943@stro.at">http://lists.debian.org/20110516123325.GA31943@stro.at
05-31-2011, 07:16 AM
Timo Juhani Lindfors
Bug#615831: panic(): print name of kernel module before loading it
maximilian attems <max@stro.at> writes:
> now the only thing that is holding me up to merge your patch is that
> /proc/bus/input/devices usage, there should be some sysfs file, no?
>
>
> cat /sys/class/input/input*/device/description shows a KBD
Unfortunately it does not show a keyboard here:
root@metunconf:~# cat /sys/class/input/input*/device/description
cat: /sys/class/input/input*/device/description: No such file or directory
root@metunconf:~# find /sys/class/input
/sys/class/input
/sys/class/input/input0
/sys/class/input/mice
/sys/class/input/mouse0
/sys/class/input/input1
/sys/class/input/input2
/sys/class/input/mouse1
/sys/class/input/input3
/sys/class/input/input4
/sys/class/input/mouse2
/sys/class/input/input5
/sys/class/input/mouse3
/sys/class/input/input6
/sys/class/input/input7
/sys/class/input/event0
/sys/class/input/event1
/sys/class/input/event2
/sys/class/input/event3
/sys/class/input/event4
/sys/class/input/event5
/sys/class/input/event6
/sys/class/input/event7
/sys/class/input/input8
/sys/class/input/event8
/sys/class/input/js0
root@metunconf:~# lsusb
Bus 006 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 002: ID 0624:0248 Avocent Corp.
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 04d9:1400 Holtek Semiconductor, Inc. PS/2 keyboard + mouse controller
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
root@metunconf:~# cat /proc/bus/input/devices
I: Bus=0017 Vendor=0001 Product=0001 Version=0100
N: Name="Macintosh mouse button emulation"
P: Phys=
S: Sysfs=/devices/virtual/input/input0
U: Uniq=
H: Handlers=mouse0 event0
B: EV=7
B: KEY=70000 0 0 0 0
B: REL=3
and verified that I can no longer type anything to the console.
--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 84vcwrtk4w.fsf@sauna.l.org">http://lists.debian.org/84vcwrtk4w.fsf@sauna.l.org
05-31-2011, 09:00 AM
maximilian attems
Bug#615831: panic(): print name of kernel module before loading it
On Tue, May 31, 2011 at 10:16:31AM +0300, Timo Juhani Lindfors wrote:
> maximilian attems <max@stro.at> writes:
> > now the only thing that is holding me up to merge your patch is that
> > /proc/bus/input/devices usage, there should be some sysfs file, no?
> >
> >
> > cat /sys/class/input/input*/device/description shows a KBD
>
> Unfortunately it does not show a keyboard here:
>
> root@metunconf:~# cat /sys/class/input/input*/device/description
> cat: /sys/class/input/input*/device/description: No such file or directory
yep that is the case for usb keyboard, so you can check no existence of that.
--
maks
--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20110531090058.GD18343@vostochny.stro.at">http://lists.debian.org/20110531090058.GD18343@vostochny.stro.at
06-01-2011, 06:47 AM
Timo Juhani Lindfors
Bug#615831: panic(): print name of kernel module before loading it
Hi,
maximilian attems <max@stro.at> writes:
>> cat: /sys/class/input/input*/device/description: No such file or directory
>
> yep that is the case for usb keyboard, so you can check no existence of that.
aha, good idea. I'll send new patches against git HEAD.
I built these with git-buildpackage and tested them again on the same HP
ProLiant MicroServer.
-Timo
--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 8462oq82vg.fsf@sauna.l.org">http://lists.debian.org/8462oq82vg.fsf@sauna.l.org