DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD Installation and Upgrading

OpenBSD Installation and Upgrading Installing and upgrading OpenBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 28th September 2010
sacman08 sacman08 is offline
New User
 
Join Date: Sep 2010
Posts: 4
Thanked 0 Times in 0 Posts
Default Installing OpenBSD on Thinkpad 600e

Hello
I'm new to the forums but not completely new to BSD. Recently I decided to reuse an old laptop that I have had for a while and eventually landed on installing OpenBSD as it had the most supported hardware in the generic kernel.
I still have two main problems and I hope someone can point me in the right direction. First my audio does not work with OpenBSD. In the dmesg I find a load of lines where the ac97 is querying the hardware but can't find the audio. I know from elsewhere that is should be somewhere around I/O 0x530 and Irq 11 but for some reason OpenBSD can't find it.
Next my apm doesn't quite work. APM can be turned on to run auto/cool etc., and will even put my laptop in suspend with apm -suspend or zzz. The problem is trying to wake it up, once its in suspend it will never come back. Even when I use the laptop keyboard function keys to wake it up it will not come back. I eventually have to turn off the laptop power switch (or drop the battery) and turn it back on to come back.

Any help is appreciated
Attached Files
File Type: txt bootlog.txt (6.6 KB, 27 views)
Reply With Quote
  #2   (View Single Post)  
Old 28th September 2010
backrow backrow is offline
Real Name: Anthony J. Bentley
Shell Scout
 
Join Date: Jul 2009
Location: Albuquerque, NM
Posts: 116
Thanked 10 Times in 4 Posts
Default

Quote:
Originally Posted by sacman08 View Post
Next my apm doesn't quite work. APM can be turned on to run auto/cool etc., and will even put my laptop in suspend with apm -suspend or zzz. The problem is trying to wake it up, once its in suspend it will never come back. Even when I use the laptop keyboard function keys to wake it up it will not come back. I eventually have to turn off the laptop power switch (or drop the battery) and turn it back on to come back.
Suspend/resume had a lot of work put into it in the last few months, and is the major focus for the upcoming OpenBSD 4.8 release. OpenBSD 4.8 is coming out in October or November, and will probably do a better job. If you don’t want to wait for release, you could try a snapshot out now and see if that improves things.
__________________
Many thanks to the forum regulars who put time and effort into helping others solve their problems.
Reply With Quote
  #3   (View Single Post)  
Old 29th September 2010
BSDfan666 BSDfan666 is offline
Real Name: N/A, this is the interweb.
Helpful companion
 
Join Date: Apr 2008
Location: Ontario, Canada
Posts: 2,223
Thanked 193 Times in 184 Posts
Default

I remember reading for early ACPI machines, it's best to keep it disabled, but it couldn't hurt to test using acpi instead of apm+pcibios on this machine.

Also, trying a snapshot wouldn't hurt.. but these snapshots are NOT what's going to be the 4.8 release in November, this is the development code for what will be 4.9.

There have been some commits for clcs(4) (..sys/dev/pci/cs4280.c) but they appear to be mostly mechanical, might as well try it anyway.

As for the I/O and IRQ information you provided, that's mostly irrelevant for PCI devices.. that information is gathered automatically from either PCI routing tables or ACPI routing tables (..pcibios(4)/acpiprt(4)).

Last edited by BSDfan666; 29th September 2010 at 01:01 AM.
Reply With Quote
  #4   (View Single Post)  
Old 29th September 2010
Oko's Avatar
Oko Oko is offline
Fsck Surgeon
 
Join Date: May 2008
Location: Kosovo, Serbia
Posts: 770
Thanked 36 Times in 32 Posts
Default

Quote:
Originally Posted by sacman08 View Post
Hello
I'm new to the forums but not completely new to BSD. Recently I decided to reuse an old laptop that I have had for a while and eventually landed on installing OpenBSD as it had the most supported hardware in the generic kernel.
I still have two main problems and I hope someone can point me in the right direction. First my audio does not work with OpenBSD. In the dmesg I find a load of lines where the ac97 is querying the hardware but can't find the audio. I know from elsewhere that is should be somewhere around I/O 0x530 and Irq 11 but for some reason OpenBSD can't find it.
Thinkpad 600e should have much better audio than the stupid AC97. I have had at least four ThinkPads so far the oldest being 300E and OpenBSD audio works perfectly on all of them without any additional configuration. You might want to see above post for additional help.

Quote:
Originally Posted by sacman08 View Post
Next my apm doesn't quite work. APM can be turned on to run auto/cool etc., and will even put my laptop in suspend with apm -suspend or zzz. The problem is trying to wake it up, once its in suspend it will never come back. Even when I use the laptop keyboard function keys to wake it up it will not come back. I eventually have to turn off the laptop power switch (or drop the battery) and turn it back on to come back.

Any help is appreciated
Forget about it. ThinkPads are different story when it comes to recent work on ACPI and I can tell you that suspend does NOT work on them (at least on two old once that I still have).
Reply With Quote
  #5   (View Single Post)  
Old 29th September 2010
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 3,697
Thanked 214 Times in 189 Posts
Default

To be clear: on machines which have -both- APM and ACPI hardware, the kernel decides based on empirical evidence which to deploy. It will only be one or the other. 4.7 chose APM on your hardware, disabling ACPI. By disabling APM in the kernel, you can force the kernel to use ACPI, and see if that makes any behavioral differences for you.

To disable APM:

Step 1. At the boot> prompt, issue "-c" to cause the kernel to enter the interactive User Kernel Configurator (UKC) program before it does any hardware probing.

Step 2. At the UKC> prompt, issue "disable apm" then "quit"

For more information, see boot(8), boot_config(8), and then, if you wish to make this change permanent, if it works for you, config(8).
Reply With Quote
  #6   (View Single Post)  
Old 29th September 2010
sacman08 sacman08 is offline
New User
 
Join Date: Sep 2010
Posts: 4
Thanked 0 Times in 0 Posts
Default

I do know that ACPI does not work on this laptop. Its suppose to be compliant but its more APM friendly
Reply With Quote
  #7   (View Single Post)  
Old 30th September 2010
sacman08 sacman08 is offline
New User
 
Join Date: Sep 2010
Posts: 4
Thanked 0 Times in 0 Posts
Default

I tried the ACPI setting anyway, kernel panic. I had to go back and disable it
Reply With Quote
  #8   (View Single Post)  
Old 30th September 2010
sacman08 sacman08 is offline
New User
 
Join Date: Sep 2010
Posts: 4
Thanked 0 Times in 0 Posts
Default

Thanks for the information
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenBSD installing OpenBSD from USB ocicat News 5 5th April 2010 10:51 PM
ThinkPad X301 / OpenBSD DraconianTimes OpenBSD General 8 8th February 2010 04:30 PM
Installing FreeBSD on an OpenBSD disk Carpetsmoker FreeBSD Installation and Upgrading 1 26th January 2010 10:28 AM
Installing packages from USB drive (OpenBSD 4.5) divadgnol67 OpenBSD Packages and Ports 26 30th July 2009 04:21 PM
installing openbsd bsdnewbie999 OpenBSD Installation and Upgrading 12 4th May 2009 11:55 AM


All times are GMT. The time now is 06:35 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick