Re: psm(4) doesn't work with custom kernel config

From: Andre Guibert de Bruet <andy_at_siliconlandmark.com>
Date: Fri, 23 Feb 2007 02:49:17 -0500
On Feb 21, 2007, at 3:53 PM, Jeremie Le Hen wrote:

> I could try to fiddle the kernel configuration by switching each  
> option
> on and off individually but this would be very time-consuming.  Though
> I am willing to narrow down the root of the problem, I would be very
> pleased to be given some clues.
>
> With GENERIC I get:
>
> % psm0: current command byte:0047
> % psm0: strange result for test aux port (1).
> % psm0: <PS/2 Mouse> irq 12 on atkbdc0
> % psm0: [GIANT-LOCKED]
> % psm0: model Generic PS/2 mouse, device ID 0-00, 2 buttons
> % psm0: config:00000000, flags:00000008, packet size:3
> % psm0: syncmask:c0, syncbits:00
>
> With my custom configuration file:
>
> % psm0: unable to allocate IRQ
> % psmcpnp0: <PS/2 mouse port> irq 12 on acpi0
> % psm0: current command byte:0047
> % psm0: strange result for test aux port (1).
> % psm0: failed to reset the aux device.
<snip>
> For those who prefer, I've also put these files on a web server:
>     http://tataz.chchile.org/~tataz/psm_debug/

Try booting with ACPI disabled. Something does not appear sane with  
your ACPI config using your custom kernel:
acpi: bad write to port 0x080 (32), val 0xaa

This next bit may not be much help in terms of solving your immediate  
problem, but it will save you a boatload of hassles and time across  
upgrades:
Use "include GENERIC" and remove what you don't want using nocpu/ 
nooptions/nodevice (I offer my config as an example: http:// 
bling.properkernel.com/freebsd/BLING ). Every time you sync up with  
GENERIC, just update the "in sync with" version.

Andy

/*  Andre Guibert de Bruet  * 6f43 6564 7020 656f 2e74 4220 7469 6a20 */
/*   Code poet / Sysadmin   * 636f 656b 2e79 5320 7379 6461 696d 2e6e */
/*   GSM: +1 734 846 8758   * 5520 494e 2058 6c73 7565 6874 002e 0000 */
/* WWW: siliconlandmark.com * C/C++, Java, Perl, PHP, SQL, XHTML, XML */
Received on Fri Feb 23 2007 - 06:49:29 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:05 UTC