Date: Thu, 7 Jun 2007 23:13:35 +1000 From: Norberto Meijome <freebsd@meijome.net> To: FreeBSD Multimedia ML <freebsd-multimedia@freebsd.org> Cc: ariff@FreeBSD.org Subject: HDA binary blob conflicts with 6.2-STABLE acpi / touchpahd? Message-ID: <20070607231335.3beb52b3@localhost>
next in thread | raw e-mail | index | archive | help
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: <PS/2 Mouse> 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<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,TM,PBE> Features2=0x180<EST,TM2> @@ -19,7 +19,7 @@ acpi0: <IBM TP-77> on motherboard acpi_ec0: <Embedded Controller: GPE 0x1c, ECDT> 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: <ACPI CPU> on acpi0 est0: <Enhanced SpeedStep Frequency Control> on cpu0 @@ -101,12 +101,9 @@ atkbd0: <AT Keyboard> irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] -psm0: <PS/2 Mouse> irq 12 on atkbdc0 -psm0: [GIANT-LOCKED] -psm0: model Generic PS/2 mouse, device ID 0 +acpi_ibm0: <IBM ThinkPad ACPI Extras> irq 12 on acpi0 battery0: <ACPI Control Method Battery> on acpi0 acpi_acad0: <AC Adapter> on acpi0 -acpi_ibm0: <IBM ThinkPad ACPI Extras> on acpi0 pmtimer0 on isa0 orm0: <ISA Option ROMs> at iomem 0xc0000-0xcffff,0xd1800-0xd27ff,0xdc000-0xdffff,0xe0000-0xeffff on isa0 sc0: <System console> 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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070607231335.3beb52b3>