From owner-freebsd-multimedia@FreeBSD.ORG Thu Jun 7 13:13:42 2007 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4C2DC16A46B for ; Thu, 7 Jun 2007 13:13:42 +0000 (UTC) (envelope-from freebsd@meijome.net) Received: from sigma.octantis.com.au (ns2.octantis.com.au [207.44.189.124]) by mx1.freebsd.org (Postfix) with ESMTP id 137F113C487 for ; Thu, 7 Jun 2007 13:13:41 +0000 (UTC) (envelope-from freebsd@meijome.net) Received: (qmail 6599 invoked from network); 7 Jun 2007 23:13:41 +1000 Received: from 203-217-73-78.dyn.iinet.net.au (HELO localhost) (203.217.73.78) by sigma.octantis.com.au with (DHE-RSA-AES256-SHA encrypted) SMTP; 7 Jun 2007 23:13:41 +1000 Date: Thu, 7 Jun 2007 23:13:35 +1000 From: Norberto Meijome To: FreeBSD Multimedia ML Message-ID: <20070607231335.3beb52b3@localhost> X-Mailer: Claws Mail 2.9.2 (GTK+ 2.10.12; i386-portbld-freebsd6.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: ariff@FreeBSD.org Subject: HDA binary blob conflicts with 6.2-STABLE acpi / touchpahd? X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Jun 2007 13:13:42 -0000 Hi list, Hi Ariff, Over the last few days I've been having some strange issues with my laptop - pretty bad crashes when suspending (which hardly ever used to happen), moused saying that psm0 doesnt exist (psm0 being the touchpad / nipple in this Thinkpad z60m). I've unfortunately traced it back to snd_hda.ko and sound.ko binary blobs :( (well, at least that - those are the only ones I load ). I dont know exactly what the issue is :( Kernel was built with latest sources (at the time) for the test: $ uname -a FreeBSD ayiin.octantis.com.au 6.2-STABLE FreeBSD 6.2-STABLE #5: Wed Jun 6 14:22:37 EST 2007 root@ayiin.octantis.com.au:/usr/obj/usr/src/sys/AYIIN i386 Symptoms: 1) Setting dev.acpi_ibm.0.events=1 will fail with (from dmesg -a ) ---- dev.acpi_ibm.0.events: 0 sysctl: dev.acpi_ibm.0.events : Input/output error --- Therefore none of the acpi events are passed onto devd (this is how I came about the problem) 2) psm0 is not detected. It normally is : psm0: irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: model Generic PS/2 mouse, device ID 0 when the binary blobs are loaded, all those lines are completelly missing from dmesg. /dev/psm0 is not created. I could only get it to work if I forced the irq to "1" (the irq of the keyboard) in device.hints. doing a diff between dmesg -a of both kernels (with original snd modules and with the special ones) shows ----- --- ./dmesg-a_allgood.txt Thu Jun 7 23:01:30 2007 +++ ./dmesg-a.txt Thu Jun 7 22:22:22 2007 @@ -7,7 +7,7 @@ WARNING: debug.mpsafenet forced to 0 as ipsec requires Giant WARNING: MPSAFE network stack disabled, expect reduced performance. Timecounter "i8254" frequency 1193182 Hz quality 0 -CPU: Intel(R) Pentium(R) M processor 2.00GHz (1995.02-MHz 686-class CPU) +CPU: Intel(R) Pentium(R) M processor 2.00GHz (1995.01-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x6d8 Stepping = 8 Features=0xafe9fbff Features2=0x180 @@ -19,7 +19,7 @@ acpi0: on motherboard acpi_ec0: port 0x62,0x66 on acpi0 acpi0: Power Button (fixed) -Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000 +Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0 cpu0: on acpi0 est0: on cpu0 @@ -101,12 +101,9 @@ atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] -psm0: irq 12 on atkbdc0 -psm0: [GIANT-LOCKED] -psm0: model Generic PS/2 mouse, device ID 0 +acpi_ibm0: irq 12 on acpi0 battery0: on acpi0 acpi_acad0: on acpi0 -acpi_ibm0: on acpi0 pmtimer0 on isa0 orm0: at iomem 0xc0000-0xcffff,0xd1800-0xd27ff,0xdc000-0xdffff,0xe0000-0xeffff on isa0 sc0: at flags 0x100 on isa0 @@ -115,7 +112,7 @@ ums0: Microsoft Microsoft 3-Button Mouse with IntelliEye(TM), rev 1.10/3.00, addr 2, iclass 3/1 ums0: 3 buttons and Z dir. ugen0: STMicroelectronics Biometric Coprocessor, rev 1.00/0.01, addr 2 -Timecounter "TSC" frequency 1995017995 Hz quality 800 +Timecounter "TSC" frequency 1995012509 Hz quality 800 [....] This happens both with the low latency files ( sndkld_releng6_i386_lowlatency_20070426.tar.gz , which I was using in my previous tests earlier in the week) and with sndkld_releng6_i386_giant_eradication_20070604.tar.gz ( dates added by me in both cases). Ariff, please let me know if there is any more information you'd need, or tests youd' want me to do. As usual, thanks for your time and knowledge :) Beto _________________________ {Beto|Norberto|Numard} Meijome "The greater danger for most of us is not that our aim is too high and we miss it. But that it is too low... and we reach it." Michelangelo (1475-1564) I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned.