Bug 116169

Summary: [PATCH] acpi_ibm => psm0 not found problem
Product: Base System Reporter: igor
Component: kernAssignee: freebsd-acpi (Nobody) <acpi>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description igor 2007-09-06 22:40:01 UTC
psm driver fails to allocate irq 12 because acpi_ibm has already grabbed it

Fix: patch acpi_ibm.c and psm.c as per attached file

Patch attached with submission follows:
How-To-Repeat: build kernel with both acpi_ibm and psm included
Comment 1 Remko Lodder freebsd_committer freebsd_triage 2007-09-07 07:15:18 UTC
Responsible Changed
From-To: freebsd-bugs->freebsd-acpi

Reassign to ACPI team
Comment 2 John Baldwin freebsd_committer freebsd_triage 2007-12-31 16:08:34 UTC
This should have been fixed by rev 1.15 of acpi_ibm.c

-- 
John Baldwin
Comment 3 Mark Linimon freebsd_committer freebsd_triage 2008-01-14 05:26:49 UTC
State Changed
From-To: open->feedback

To submitter: did the checkin noted in the Audit-Trail fix the problem?
Comment 4 Daniel Rucci 2008-01-14 17:44:09 UTC
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

If he doesn't follow up or just for some more feedback.

$ uname -a
FreeBSD izer.warganizer.com 7.0-PRERELEASE FreeBSD 7.0-PRERELEASE #1:
Mon Jan 14 11:38:51 EST 2008
root@izer.warganizer.com:/usr/obj/usr/src/sys/LAPTOPKERN  i386

$FreeBSD: src/sys/dev/acpi_support/acpi_ibm.c,v 1.14.2.1 2007/11/02
18:54:09 jhb Exp

i built my kernel with
device      acpi_ibm
device      psm     # PS/2 mouse

with no build errors and its running now.


some dmesg
ACPI APIC Table: <IBM    TP-1U   >
ACPI Warning (tbfadt-0505): Optional field "Gpe1Block" has zero address
or length:        0    102C/0 [20070320]
acpi_ibm0: <IBM ThinkPad ACPI Extras> on acpi0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: [ITHREAD]
psm0: model Generic PS/2 mouse, device ID 0

lemme know if you need anything else.


dan
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHi59p35WRARjlw0YRAt/6AKCDmPD7jd5IoW5vwMGJsTlc9tnf1gCfdiVX
SmfLw8Lp6QWyGRO0vqeLkS8=
=iCQt
-----END PGP SIGNATURE-----
Comment 5 Mark Linimon freebsd_committer freebsd_triage 2008-01-14 18:48:41 UTC
State Changed
From-To: feedback->closed

Submitter notes that the cited checkin fixed the problem.