Hi, I am having a couple of issues with obsd on the lenovo x61s... especially the lackage of wireless support, but the driver (Intel 4965AGN) should be ready in 1-2 weeks. I'd like to ask you whether you see some obvious error. I installed -current from a snapshot: uname -a OpenBSD arktomis.bautzi.de 4.2 GENERIC#374 i386 0) The worst problem is when I boot with bsd.mp... the boot process freezes and the last lines I get are as shown in this picture: www.aei.mpg.de/~pau/BSDMP.jpg dmesg for GENERIC is to be found at www.aei.mpg.de/~pau/dmesg_x61s.txt (the last lines come from a digital camera, ignore them) Now... I tried with a bsd.mp from 4.1 in single-user mode as Dave suggested me (boot> hdawhatever:bsd.mp41 -s), to see "what happens". The result? In the place where it just freezes in 4.2, the damned laptop decided to reboot... black screen and reboot... Disgustingly enough, fedora6 live cd recognised the two processors cleanly... 1) halt -p turns the screen black (no shutdown messages) 2) I'm not quite sure the sound is working... look at this ------- azalia0 at pci0 dev 27 function 0 "Intel 82801H HD Audio" rev 0x03: irq 11 mixerctl outputs.master=200,200 mixerctl: field outputs.master does not exist mixerctl -av | grep outputs outputs.dac02.source=hdaudio [ hdaudio adc08 adc09 ] outputs.sel0c.mute=off [ off on ] outputs.sel0c=124,124 outputs.sel0d.mute=off [ off on ] outputs.sel0d=124,124 outputs.green11.mute=off [ off on ] outputs.green11.boost=off [ off on ] outputs.unknown12.mute=off [ off on ] outputs.unknown12.boost=off [ off on ] outputs.unknown13.mute=off [ off on ] outputs.unknown13=120 outputs.red14=85,85 outputs.unknown15=85,85 outputs.unknown16.mute=off [ off on ] outputs.unknown16.dir=input [ input output ] outputs.pow19.source=mix20 [ mix20 sel21 ] outputs.black1b.mute=off [ off on ] outputs.black1b=126,126 outputs.red1c.mute=off [ off on ] outputs.red1c.dir=input [ input output ] outputs.widget1d.so...
fwiw, my r60 has always been a lot more pleasant with bsd.mp after 'enable acpi'. As in, 1) at the boot prompt type boot bsd.mp -c 2) at the prompt type enable acpi if that works better, use the config -e magic per the faq hope this helps you along a bit Cheers, -- Peter N. M. Hansteen, member of the first RFC 1149 implementation team http://bsdly.blogspot.com/ http://www.datadok.no/ http://www.nuug.no/ "Remember to set the evil bit on all malicious network traffic" delilah spamd[29949]: 85.152.224.147: disconnected after 42673 seconds.
Hi Peter,
a huge, humongous, tremendous, vast, THANK YOU!
That made it!
I must be blind. I didn't think of that possibility at all... Now I'll
have to compile my own kernel, I guess... brrrr...
Now let's wait for Damien Bergamini The Great to have some time to
finish the support of the wireless 4965AGN chip in wpi(4)
I'll have to investigate a bit more about the sound issue... no sound
until now...
And now, for the record, a dmesg for GENERIC.MP@lenovo x61s:
(yes, I am using an apple USB keyboard, the only hardware I like from apple)
----------
OpenBSD 4.2 (GENERIC.MP) #251: Thu Aug 23 10:55:57 MDT 2007
deraadt@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP
cpu0: Intel(R) Core(TM)2 Duo CPU L7500 @ 1.60GHz ("GenuineIntel"
686-class) 1.60 GHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,CX16,xTPR
real mem = 1046761472 (998MB)
avail mem = 1004421120 (957MB)
User Kernel Config
UKC> enable acpi
398 acpi0 enabled
UKC> quit
Continuing...
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 04/23/07, BIOS32 rev. 0 @
0xfdc80, SMBIOS rev. 2.4 @ 0xe0010 (63 entries)
bios0: vendor LENOVO version "7NET21WW (1.02 )" date 04/23/2007
bios0: LENOVO 766636G
pcibios0 at bios0: rev 3.0 @ 0xfdc10/0x3f0
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfde80/304 (17 entries)
pcibios0: bad IRQ table checksum
pcibios0: PCI BIOS has 17 Interrupt Routing table entries
pcibios0: no compatible PCI ICU found
pcibios0: Warning, unable to fix up PCI interrupt routing
pcibios0: PCI bus #6 is the last bus
bios0: ROM list: 0xc0000/0x10000! 0xd0000/0x1000 0xd1000/0x1000 0xe0000/0x10000!
acpi0 at mainbus0: rev 2
acpi0: tables DSDT FACP SSDT ECDT TCPA APIC MCFG HPET SLIC BOOT ASF!
SSDT SSDT SSDT SSDT
acpitimer at acpi0 not configured
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 199 MHz
cpu1 ...Nono, not for this. You just backup and patch the standard .mp kernel -- / Raimo Niskanen, Erlang/OTP, Ericsson AB
Actually, you can just config -e after the first boot, enable acpi, quit and copy the modified kernel to /bsd.mp, just like it says in the FAQ (actually making /bsd a link to /bsd.mp works too and ensures you The only remaining nit I have with my thinkpad is the still-flaky wpi firmware which is needed for the 3945ABG to work. It keeps nodding It looks like your sound chip is a bit newer than the one in mine (not surprising), I have azalia0 at pci0 dev 27 function 0 "Intel 82801GB HD Audio" rev 0x02: apic 2 int 17 (irq 11) azalia0: host: High Definition Audio rev. 1.0 azalia0: codec: Analog Devices AD1981HD (rev. 2.0), HDA version 1.0 azalia0: codec: Conexant/0x2bfa (rev. 0.0), HDA version 0.9 azalia0: codec[1]: No support for modem function groups azalia0: codec[1]: No audio function groups audio0 at azalia0 getting sound out of that required # mixerctl outputs.lineout=255,255 or an equivalent line in /etc/mixerctl.conf, plus presssing and holding the 'volume up' button for a while. - P -- Peter N. M. Hansteen, member of the first RFC 1149 implementation team http://bsdly.blogspot.com/ http://www.datadok.no/ http://www.nuug.no/ "Remember to set the evil bit on all malicious network traffic" delilah spamd[29949]: 85.152.224.147: disconnected after 42673 seconds.
Just a side remark... this must be indeed a problem of the firmware; have a look at this: http://forum.thinkpads.com/viewtopic.php?t=47479 Cheers, Pau
It seems that my notebook (HP nx7400) also doesn't have sound support
with same problem conditions. I also installed 4.1-release and tried
to upgrade to 4.2-current (snapshot from 5 Aug 2007) but no results.
Here is my dmesg:
$ dmesg
OpenBSD 4.2-beta (GENERIC) #1: Sun Aug 5 19:58:43 EEST 2007
root@mg42:/data0/share/OpenBSD/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Celeron(R) M CPU 430 @ 1.73GHz ("GenuineIntel" 686-class) 1.73 GH
z
cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,D
S,ACPI,MMX,FXSR,SSE,SSE2,SS,TM,SBF,SSE3,MWAIT,TM2,xTPR
real mem = 527855616 (503MB)
avail mem = 502767616 (479MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 10/23/06, BIOS32 rev. 0 @ 0xf0000, SMBIOS
rev. 2.4 @ 0xf3f1c (23 entries)
bios0: Hewlett-Packard HP Compaq nx7400 (EY587ES#ACB)
pcibios0 at bios0: rev 2.1 @ 0xf0000/0x2000
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf07c0/192 (10 entries)
pcibios0: bad IRQ table checksum
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xff880/192 (10 entries)
pcibios0: PCI Exclusive IRQs: 5 10 11
pcibios0: PCI Interrupt Router at 000:31:0 ("Intel 82801FBM LPC" rev 0x00)
pcibios0: PCI bus #16 is the last bus
bios0: ROM list: 0xc0000/0x10000!
acpi at mainbus0 not configured
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "Intel 82945GM MCH" rev 0x03
vga1 at pci0 dev 2 function 0 "Intel 82945GM Video" rev 0x03: aperture at 0xf440
0000, size 0x10000000
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
"Intel 82945GM Video" rev 0x03 at pci0 dev 2 function 1 not configured
azalia0 at pci0 dev 27 function 0 "Intel 82801GB HD Audio" rev 0x01: irq 10
azalia0: host: High Definition Audio rev. 1.0
azalia0: codec: Analog Devices AD1981HD (rev. 2.0), HDA version 1.0
azalia0: codec: AT&T/Lucent/0x3026 (rev. 7.0), HDA version 1.0
azalia0: codec[1]: No support for modem function groups
azalia0: codec[1]: No a...And I forgot to mention that my notebook has an indicator for sound mixer state that in OpenBSD is always lighning (that means that PCM channel - so it's named in Linux - is always muted).
mmh... too bad... well, I think we'll have to "survive" without sound... I only have on OS on this laptop: Obsd. And this now, that we finally got gnash running on obsd! aaaaaaaargh!! snif... that's life, I guess... But be strong, don't go back to the penguin Pau
PS: The penguin guys are also having problems at fixing this: http://www.thinkwiki.org/wiki/AD1984 but they somehow succeeded... patching over patched patches... I wonder how robust this is... Also: "It's really necessary to leave the modem enabled in the BIOS or the hda_intel driver will reutrn azx_get_response timeouts which will lead to a non-working soundchip." What's the connection between these two things?? gosh...
The "modem" is just an interface between phone line and the soundcard. Signal processing is done on the host CPU. As an aside, that's why you can't use the modem; open-source soft DSPs are pretty limited, I only know of spandsp and that doesn't do better than v.29. Faster modem protocols are, aiui, still quite patent-encumbered.
Seems to be the fix for FreeBSD. How can this info help us to resolve the issue? http://www.bsdforums.org/forums/showthread.php?t=51654
well, then it "should not be a problem", because freebsd uses also OSS, as far as I know, and not filthy alsa ... are you willing to port it? ;) somebody step forward!
As long as I see *BSD for almost 2 days I will think about it some time later;-))) Maybe someone other can do it by himself, hum? Any free devs?
Hi again... I don't know, but I think I am having bad luck with the sound. Look at this: arktomis| mixerctl -a | grep "outpu*" outputs.dac02.source=hdaudio outputs.sel0c.mute=off outputs.sel0c=124,124 outputs.sel0d.mute=off outputs.sel0d=124,124 outputs.green11.mute=off outputs.green11.boost=off outputs.unknown12.mute=off outputs.unknown12.boost=off outputs.unknown13.mute=off outputs.unknown13=120 outputs.red14=85,85 outputs.unknown15=85,85 outputs.unknown16.mute=off outputs.unknown16.dir=input outputs.pow19.source=mix20 outputs.black1b.mute=off outputs.black1b=126,126 outputs.red1c.mute=off outputs.red1c.dir=input outputs.widget1d.source=mix07 outputs.sel21.mute=off outputs.sel21=120,120 outputs.sel25=85,85 outputs.widget26.source=red14 I tried to set all of these with a number on it to a higher value. E.g.: arktomis| mixerctl outputs.sel25=255,255 outputs.sel25: 85,85 -> 255,255 And then cat BIGFILE > /dev/sound whilst playing with the volume up/ mute bottoms I also made sure that everything in the software is not muted: arktomis| mixerctl -a | grep mut record.adc05.mute=off record.adc06.mute=off inputs.mix07.sel22.mut=off inputs.mix07.sel21.mut=off inputs.mix0a.dac04.mut=off inputs.mix0a.sel21.mut=off inputs.mix0b.sel0f.mut=off inputs.mix0b.sel21.mut=off outputs.sel0c.mute=off outputs.sel0d.mute=off inputs.beep10.mute=off outputs.green11.mute=off outputs.unknown12.mute=off outputs.unknown13.mute=off outputs.unknown16.mute=off outputs.black1b.mute=off outputs.red1c.mute=off inputs.mix1e.sel0e.mut=off inputs.mix1e.sel21.mut=off inputs.mix20.red14.mut=off inputs.mix20.sel25.mut=off outputs.sel21.mute=off inputs.mix24.sel23.mut=off inputs.mix24.sel21.mut=off But still no sound at all... And in /etc/mixerctl.conf I have arktomis| cat /etc/mixerctl.conf outputs.master=200,200 outputs.master.mute=off outputs.headphones=160,160 outputs.headphones.mute=off But arktomis| mixerctl outputs.master=270,270 mixerctl: field ou...
I did exactly that:
arktomis| sudo config -e -o bsd.mp.new /bsd.mp
OpenBSD 4.2 (GENERIC.MP) #251: Thu Aug 23 10:55:57 MDT 2007
deraadt@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP
Enter 'help' for information
ukc> enable acpi
398 acpi0 enabled
ukc> quit
Saving modified kernel.
arktomis| sudo mv bsd bsd.original
mmh... I had a laptop with intel pro2200 and with iwi and the firmware
arktomis| mixerctl outputs.lineout=255,255
mixerctl: field outputs.lineout does not exist
I will have to look at these outputs a bit more in detail:
arktomis| mixerctl -a
outputs.dac02.source=hdaudio
inputs.dac03=126,126
inputs.dac04=126,126
record.adc05.mute=off
record.adc05=124,124
record.adc06.mute=off
record.adc06=124,124
inputs.mix07.sel22.mut=off
inputs.mix07.sel21.mut=off
inputs.mix0a.dac04.mut=off
inputs.mix0a.sel21.mut=off
inputs.mix0b.sel0f.mut=off
inputs.mix0b.sel21.mut=off
inputs.sel0c.source=red14
outputs.sel0c.mute=off
outputs.sel0c=124,124
inputs.sel0d.source=red14
outputs.sel0d.mute=off
outputs.sel0d=124,124
inputs.sel0e.source=dac03
inputs.sel0f.source=dac03
inputs.beep10.mute=off
inputs.beep10=119
outputs.green11.mute=off
outputs.green11.boost=off
outputs.unknown12.mute=off
outputs.unknown12.boost=off
outputs.unknown13.mute=off
outputs.unknown13=120
outputs.red14=85,85
outputs.unknown15=85,85
outputs.unknown16.mute=off
outputs.unknown16.dir=input
outputs.pow19.source=mix20
outputs.black1b.mute=off
outputs.black1b=126,126
outputs.red1c.mute=off
outputs.red1c.dir=input
outputs.widget1d.source=mix07
inputs.mix1e.sel0e.mut=off
inputs.mix1e.sel21.mut=off
inputs.mix20.red14.mut=off
inputs.mix20.black1a.m=off
inputs.mix20.sel25.mut=off
inputs.mix20.red14=120,120
inputs.mix20.black1a=120
inputs.mix20.sel25=120,120
outputs.sel21.mute=off
outputs.sel21=120,120
inputs.sel22.source=dac03
inputs.sel23.source=dac03
inputs.mix24.sel23.mut=off
inputs.mix24.sel21.mut=off
outputs.sel25=85,85
outputs.widget26.source=red14
inputs.us...Tried enable ACPI? br dunceor
| Greg KH | [GIT PATCH] driver core patches against 2.6.24 |
| Greg KH | [patch 00/04] RFC: Staging tree (drivers/staging) |
| James Bottomley | Re: Integration of SCST in the mainstream Linux kernel |
| Steven Rostedt | [RFC PATCH 1/3] Unified trace buffer |
git: | |
| Jon Smirl | ! [rejected] master -> master (non-fast forward) |
| Marco Costalba | [ANNOUNCE] qgit4 aka qgit ported to Windows |
| Andi Kleen | Re: [kernel.org users] [RFD] On deprecating "git-foo" for builtins |
| Sverre Rabbelier | Git vs Monotone |
| Richard Stallman | Real men don't attack straw men |
| GVG GVG | ssh_exchange_identification: Connection closed by remote host |
| Damian Gerow | Oddly high load average |
| Benjamin Adams | BSD Port from OpenJDK |
| Michael Grollman | Re: 8169 Intermittent ifup Failure Issue With RTL8102E Chipset in Intel's New D945... |
| Volker Armin Hemmann | build error with 2.6.27.6+reiser4+ehci-hub patch. ERROR: "mii_ethtool_gset" [drive... |
| Evgeniy Polyakov | [resend take 2 0/4] Distributed storage. |
| Wenji Wu | A Linux TCP SACK Question |
