Skip to contentSkip to conversation

PS/2 mouse driver panics during boot - 2.6.8.1

DISCUSSION Peter Horton 2 participants 2 messages Aug 30, 2004

lore
Share & tools
lore
#0 lore raw

Every other time I boot my x86 box the kernel panics in psmouse_interrupt() because ->protocol_handler is NULL. Looks like psmouse_connect() runs before ->protocol_handler is set and generates an interrupt from the mouse. The mouse driver is built in, and I'm not passing it any parameters.

This is a Micro$oft Wireless Optical Mouse 2.0A.

The call stack is something like this

	psmouse_interrupt
	serio_interrupt
	i8042_interrupt
	handle_IRQ_event
	do_IRQ
	common_interrupt
	__do_softirq
	do_softirq
	do_IRQ
	common_interrupt
	i8042_command
	i8042_activate_port
	i8042_open
	i8042_interrupt
	serio_open
	psmouse_connect
	serio_find_dev
	serio_register_port
	i8042_port_register
	i8042_init
	serio_init

P.

#1 lore raw
Quoted 6 lines · Peter Horton

Every other time I boot my x86 box the kernel panics in psmouse_interrupt() because ->protocol_handler is NULL. Looks like psmouse_connect() runs before ->protocol_handler is set and generates an interrupt from the mouse. The mouse driver is built in, and I'm not passing it any parameters.

Hi,

That should be fixed when Vojtech pushes next round of input updates to Linus, in the meantime you can try disabling USB legacy emulation in BIOS or try building psmouse modular and loading it after all USB modules.

Signature · 1 line
Dmitry