2002-07-06 11:43:35

by Alessandro Suardi

[permalink] [raw]
Subject: 2.5.25 dead kbd and gpm oops (my config error ?)

2.5.25 compiles and boots fine, but keyboard is dead and
gpm exits with its own oops() function (not a kernel oops).

Jul 6 13:08:33 dolphin kernel: PCI: Probing PCI hardware
Jul 6 13:08:33 dolphin kernel: PCI: Probing PCI hardware (bus 00)
Jul 6 13:08:33 dolphin kernel: Unknown bridge resource 2: assuming transparent
Jul 6 13:08:33 dolphin kernel: PCI: Using IRQ router PIIX [8086/7110] at 00:07.0
Jul 6 13:08:33 dolphin kernel: __iounmap: bad address d0802400
Jul 6 13:08:33 dolphin kernel: apm: BIOS version 1.2 Flags 0x03 (Driver version 1.16)
[...]
Jul 6 13:08:34 dolphin kernel: PCI: Found IRQ 11 for device 00:03.0
Jul 6 13:08:34 dolphin kernel: PCI: Sharing IRQ 11 with 00:03.1
Jul 6 13:08:34 dolphin kernel: PCI: Sharing IRQ 11 with 00:07.2
Jul 6 13:08:34 dolphin kernel: PCI: Found IRQ 11 for device 00:03.1
Jul 6 13:08:34 dolphin kernel: PCI: Sharing IRQ 11 with 00:03.0
Jul 6 13:08:34 dolphin kernel: PCI: Sharing IRQ 11 with 00:07.2
Jul 6 13:08:34 dolphin kernel: mice: PS/2 mouse device common for all mice
Jul 6 13:08:34 dolphin kernel: i8042.c: Can't get irq 1 for KBD
Jul 6 13:08:34 dolphin kernel: i8042.c: Can't get irq 1 for KBD
Jul 6 13:08:34 dolphin kernel: serio: i8042 KBD port at 0x60,0x64 irq 1
Jul 6 13:08:34 dolphin kernel: Yenta IRQ list 06d8, PCI irq11
Jul 6 13:08:34 dolphin keytable: Loading keymap: succeeded
Jul 6 13:08:34 dolphin kernel: Socket status: 30000020
Jul 6 13:08:34 dolphin kernel: Yenta IRQ list 06d8, PCI irq11
Jul 6 13:08:34 dolphin kernel: Socket status: 30000006
Jul 6 13:08:34 dolphin kernel: input.c: hotplug returned -2
Jul 6 13:08:34 dolphin kernel: input: PS/2 Generic Mouse on isa0060/serio1
Jul 6 13:08:34 dolphin kernel: serio: i8042 AUX port at 0x60,0x64 irq 12
Jul 6 13:08:34 dolphin kernel: Advanced Linux Sound Architecture Driver Version 0.9.0rc2 (Wed Jun 19 08:56:25 2002 UTC).
[...]
Jul 6 13:08:44 dolphin sendmail: sendmail startup succeeded
Jul 6 13:08:44 dolphin gpm: gpm startup succeeded
Jul 6 13:08:44 dolphin gpm[778]: oops() invoked from gpm.c(978)
Jul 6 13:08:44 dolphin gpm[778]: /dev/mouse: Device or resource busy
Jul 6 13:08:45 dolphin crond: crond startup succeeded

So, there is the __iounmap message I've never seen, then the irq1
problem from i8042.c, the hotplug message from input.c and the
gpm oops(). This latter perhaps I should point to /dev/input/mouse
(/dev/mouse is a softlink to /dev/psaux) ?

From .config:

[asuardi@dolphin linux]$ egrep 'INPUT|MOUSE|SERIO|8042' .config | grep -v '^#'
CONFIG_INPUT=y
CONFIG_INPUT_KEYBDEV=y
CONFIG_INPUT_MOUSEDEV=y
CONFIG_INPUT_MOUSEDEV_PSAUX=y
CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024
CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
CONFIG_SERIO=y
CONFIG_SERIO_I8042=y
CONFIG_I8042_REG_BASE=60
CONFIG_I8042_KBD_IRQ=1
CONFIG_I8042_AUX_IRQ=12
CONFIG_SERIO_SERPORT=m
CONFIG_INPUT_KEYBOARD=y
CONFIG_INPUT_MOUSE=y
CONFIG_MOUSE_PS2=y
CONFIG_MOUSE=y
CONFIG_PSMOUSE=y


Box is a Dell Latitude laptop.

Thanks in advance for any "input" ;)

--alessandro

"my actions make me beautiful / and dignify the flesh"
(R.E.M., "Falls to Climb")


2002-07-06 16:32:50

by Kai Mäkisara (Kolumbus)

[permalink] [raw]
Subject: Re: 2.5.25 dead kbd and gpm oops (my config error ?)

On Sat, 6 Jul 2002, Alessandro Suardi wrote:

> 2.5.25 compiles and boots fine, but keyboard is dead and
> gpm exits with its own oops() function (not a kernel oops).
>
I lost my keyboard and USB mouse (no gpm running and no oops).

The temporary solution seems to be to leave out the drivers for serial i/o
in input i/o drivers. There is another keyboard driver unconditionally
included and it conflicts with the new i8042 driver. Here is my input
configuration:

18:41:04> egrep 'INPUT|MOUSE|SERIO|8042' .config | grep -v '^#'
CONFIG_INPUT=y
CONFIG_INPUT_KEYBDEV=y
CONFIG_INPUT_MOUSEDEV=m
CONFIG_INPUT_MOUSEDEV_PSAUX=y
CONFIG_INPUT_MOUSEDEV_SCREEN_X=1600
CONFIG_INPUT_MOUSEDEV_SCREEN_Y=1200
CONFIG_INPUT_KEYBOARD=y
CONFIG_INPUT_MOUSE=y
CONFIG_MOUSE=y
CONFIG_PSMOUSE=y
CONFIG_USB_HIDINPUT=y
CONFIG_USB_MOUSE=m

I guess this problem will be corrected when the input changes continue.

Kai


2002-07-06 17:51:25

by James Simmons

[permalink] [raw]
Subject: Re: 2.5.25 dead kbd and gpm oops (my config error ?)


> then the irq1
> problem from i8042.c, the hotplug message from input.c and the
> gpm oops(). This latter perhaps I should point to /dev/input/mouse
> (/dev/mouse is a softlink to /dev/psaux) ?

Correct. You need to have /dev/mouse point to /dev/input/mice. This will
fix the gpm problem. Same with the X server. Note the irq1 stuff is
because pc_keyb.c is always compiled in. Its the same reason why people
with just USB keyboards get the AT keybaord not present error? GIve us
some time as the console system will migrate over to the input api.

. ---
|o_o |
|:_/ | Give Micro$oft the Bird!!!!
// \ \ Use Linux!!!!
(| | )
/'\_ _/`\
\___)=(___/


2002-07-06 17:59:41

by James Simmons

[permalink] [raw]
Subject: Re: 2.5.25 dead kbd and gpm oops (my config error ?)


> I lost my keyboard and USB mouse (no gpm running and no oops).
>
> The temporary solution seems to be to leave out the drivers for serial i/o
> in input i/o drivers.

:-(

> There is another keyboard driver unconditionally
> included and it conflicts with the new i8042 driver. Here is my input
> configuration:

Unfortunely this is a major problem.

> I guess this problem will be corrected when the input changes continue.

The problem will go away once pc_keyb.c goes away and every keyboard
driver moves over to the input api. You will see this change in the next
few weeks.