Re: Apple hardware support?

2007-03-30 Thread Jason Dixon

On Mar 30, 2007, at 2:19 AM, Otto Moerbeek wrote:


On Thu, 29 Mar 2007, Mike Erdely wrote:


Otto Moerbeek wrote:

On Thu, 29 Mar 2007, Tasmanian Devil wrote:
The i386 GENERIC.MP kernel runs fine on Intel Macs. You just  
need to

enable ACPI with config -ef bsd.mp (or on the boot prompt).

This is not true. At least it has been reported that the MacBook Pro
with Core Due 2 processor does not run.


Tas is right.  I have my MacBook Pro Core 2 Duo dual booting with  
OS X and
OpenBSD (snap around 3/10).  I _think_ my installation process was  
this (since

I didn't do make release with -current):
 1. Install 4.0 from the CD.
 2. Copy an ACPI-enabled bsd.rd to a CDROM, boot to OpenBSD and  
copy to the

hard drive.
 3. Reboot and boot to bsd.rd and install the snapshot using FTP.


That's different than the report fom Jason Dixon. He was trying
current bsd.rd. Anyway, as you mention some problems remain. To me the
most annyoing is the UKC prompt not working, which means you can't
enable ACPI on a stock bsd.rd and you have to compile a bsd.rd with
ACPI enabled.


Actually, mine was a Core Duo like yours.  I no longer have this  
laptop, but it's still in the family (Darrin Chandler).



Other than that my MacBook (with Core Duo (no 2)) works quite ok,
apart from the sound and wireless, which do not work.  Even X works,
but you'll have to use the 915 resolution port to get native
resolution.


The broken UKC is certainly an obstacle.  Since both of you have  
gotten it working on Core [2] Duo MacBook Pro's, I lean towards  user  
error.


--
Jason Dixon
DixonGroup Consulting
http://www.dixongroup.net



Apple hardware support?

2007-03-29 Thread David Given
Is there anyone working on porting OpenBSD to Intel Apple hardware? Such as
the Macbook?

I can't imagine it would be particularly hard; there'd need to be a way of
loading and running a kernel via EFI, and then tweaking the hardware
detection.

The reason why I ask is that I've been eyeing the new Apple TV with a certain
amount of interest. For only 150 UKP, you get a rather nice little box with
very low power requirements and some decent hardware, which would be ideal as
a home server. And I know the hardware is very similar to the Macbook. And,
of
course, the best server software is OpenBSD.

--
bbb o=o=o o=o=o=o=o=o=o=oo=o=o=
 bbb
http://www.cowlark.com
bbbbbbbbbbbbbbbbbbb
b Thou who might be our Father, who perhaps may be in Heaven, hallowed be
b Thy Name, if Name Thou hast and any desire to see it hallowed... ---
b _Creatures of Light and Darkness_

[demime 1.01d removed an attachment of type application/pgp-signature which had 
a name of signature.asc]



Re: Apple hardware support?

2007-03-29 Thread Greg Thomas

On 3/29/07, David Given [EMAIL PROTECTED] wrote:

Is there anyone working on porting OpenBSD to Intel Apple hardware? Such as
the Macbook?



Scan the freakin' email archives.  There are several recent notes
about the laptops, nothing about the AppleTV yet that I've noticed.

Greg



Re: Apple hardware support?

2007-03-29 Thread Tasmanian Devil

Is there anyone working on porting OpenBSD to Intel Apple hardware? Such as
the Macbook?


The i386 GENERIC.MP kernel runs fine on Intel Macs. You just need to
enable ACPI with config -ef bsd.mp (or on the boot prompt).


I can't imagine it would be particularly hard; there'd need to be a way of
loading and running a kernel via EFI, and then tweaking the hardware
detection.


EFI emulates a normal PC BIOS if there's no Mac OS X on the harddisk.
OpenBSD boots fine (though it doesn't feel like booting if no monitor
is attached, but you can emulate one easily with a dongle, and
automatic restart on power failure needs a little software trick).


And, of course, the best server software is OpenBSD.


That's true! :-)

Tas.



Re: Apple hardware support?

2007-03-29 Thread Tasmanian Devil

Scan the freakin' email archives.  There are several recent notes
about the laptops, nothing about the AppleTV yet that I've noticed.


I just searched a bit about this Apple TV: It might be necessary to
remove the harddisk to copy OpenBSD on it, but otherwise it could work
(as a server, not as a multimedia device).

An interesting link I found:
http://www.roughlydrafted.com/RD/RDM.Tech.Q1.07/E1D8A057-6FBB-4269-A348-27AF9010FB19.html

Tas.



Re: Apple hardware support?

2007-03-29 Thread Otto Moerbeek
On Thu, 29 Mar 2007, David Given wrote:

 Is there anyone working on porting OpenBSD to Intel Apple hardware? Such as
 the Macbook?
 
 I can't imagine it would be particularly hard; there'd need to be a way of
 loading and running a kernel via EFI, and then tweaking the hardware
 detection.

Work on your imagination and don't jump to conclusions.

Apple managed to make i386 hardware that is slightly different than
other PC hardware and with it own set of quircks/bugs. Some progress
has been made, but depending on the model and processor (e.g. Core Duo
vs Core Duo 2) the Apple Intels either works mostly or don't work
(yet). 

 The reason why I ask is that I've been eyeing the new Apple TV with a certain
 amount of interest. For only 150 UKP, you get a rather nice little box with
 very low power requirements and some decent hardware, which would be ideal as
 a home server. And I know the hardware is very similar to the Macbook. And,
 of
 course, the best server software is OpenBSD.

Similar hardware is not enough to know. The devil is in the details.
Sending an Apple TV to an interested developer might speed things up. 

-Otto



Re: Apple hardware support?

2007-03-29 Thread Otto Moerbeek
On Thu, 29 Mar 2007, Tasmanian Devil wrote:

  Is there anyone working on porting OpenBSD to Intel Apple hardware? Such as
  the Macbook?
 
 The i386 GENERIC.MP kernel runs fine on Intel Macs. You just need to
 enable ACPI with config -ef bsd.mp (or on the boot prompt).

This is not true. At least it has been reported that the MacBook Pro
with Core Due 2 processor does not run.
 
  I can't imagine it would be particularly hard; there'd need to be a way of
  loading and running a kernel via EFI, and then tweaking the hardware
  detection.
 
 EFI emulates a normal PC BIOS if there's no Mac OS X on the harddisk.
 OpenBSD boots fine (though it doesn't feel like booting if no monitor
 is attached, but you can emulate one easily with a dongle, and
 automatic restart on power failure needs a little software trick).

BTW, you can install OpenBSD on a BootCamp partition. After creating
the Bootcamp partition using the wizard, boot using the OpenBSD CD,
and in the fdisk step in the installer, set the partition type to A6,
make it active and update the MBR. 

-Otto



Re: Apple hardware support?

2007-03-29 Thread Tasmanian Devil

  Is there anyone working on porting OpenBSD to Intel Apple hardware? Such as
  the Macbook?

 The i386 GENERIC.MP kernel runs fine on Intel Macs. You just need to
 enable ACPI with config -ef bsd.mp (or on the boot prompt).

This is not true. At least it has been reported that the MacBook Pro
with Core Due 2 processor does not run.


Oh, sorry, I didn't know that. Thank you for correcting me!

Tas.



Re: Apple hardware support?

2007-03-29 Thread Mike Erdely

Otto Moerbeek wrote:

On Thu, 29 Mar 2007, Tasmanian Devil wrote:

The i386 GENERIC.MP kernel runs fine on Intel Macs. You just need to
enable ACPI with config -ef bsd.mp (or on the boot prompt).

This is not true. At least it has been reported that the MacBook Pro
with Core Due 2 processor does not run.


Tas is right.  I have my MacBook Pro Core 2 Duo dual booting with OS X 
and OpenBSD (snap around 3/10).  I _think_ my installation process was 
this (since I didn't do make release with -current):

 1. Install 4.0 from the CD.
 2. Copy an ACPI-enabled bsd.rd to a CDROM, boot to OpenBSD and copy to 
the hard drive.

 3. Reboot and boot to bsd.rd and install the snapshot using FTP.

Note: Wifi did not work.  Video used VESA driver.  I didn't test much 
else.  Next time I get a chance, I'll send a dmesg to [EMAIL PROTECTED]



BTW, you can install OpenBSD on a BootCamp partition. After creating
the Bootcamp partition using the wizard, boot using the OpenBSD CD,
and in the fdisk step in the installer, set the partition type to A6,
make it active and update the MBR. 


I did this.

-ME



Re: Apple hardware support?

2007-03-29 Thread David Given
Mike Erdely wrote:
[...]
 Tas is right.  I have my MacBook Pro Core 2 Duo dual booting with OS X
 and OpenBSD (snap around 3/10).  I _think_ my installation process was
 this (since I didn't do make release with -current):
  1. Install 4.0 from the CD.
  2. Copy an ACPI-enabled bsd.rd to a CDROM, boot to OpenBSD and copy to
 the hard drive.
  3. Reboot and boot to bsd.rd and install the snapshot using FTP.

 Note: Wifi did not work.  Video used VESA driver.  I didn't test much
 else.  Next time I get a chance, I'll send a dmesg to [EMAIL PROTECTED]

Good to know --- that means there's probably enough there to work, although
there's no guarantee that the Apple TV uses sane hardware with OpenBSD
drivers.

It's also worth pointing out that the Apple EFI implementation is... uh...
basic, and doesn't have things in it like the EFI shell, and until recently
didn't even have the legacy BIOS emulation. Which means there's no guarantee
that the Apple TV has it. Which means I may need a mechanism for booting the
OpenBSD kernel directly from EFI --- I don't suppose anyone has been thinking
about this? Or GPT partition table support?

If I'm really lucky the Apple TV EFI implementation will have a legacy BIOS
that will happily boot an MBR disk if it sees one. Do I really think that'll
happen? Hell no.

I suppose the only thing to do would be to get one and try it.

There only mention of Apple on the website is in relation to the macppc port,
BTW.

--
bbb o=o=o o=o=o=o=o=o=o=oo=o=o=
 bbb
http://www.cowlark.com
bbbbbbbbbbbbbbbbbbb
b Parents let children ride bicycles on the street. But parents do not
b allow children to hear vulgar words. Therefore we can deduce that cursing
b is more dangerous than being hit by a car. --- Scott Adams

[demime 1.01d removed an attachment of type application/pgp-signature which had 
a name of signature.asc]



Re: Apple hardware support?

2007-03-29 Thread Otto Moerbeek
On Thu, 29 Mar 2007, Mike Erdely wrote:

 Otto Moerbeek wrote:
  On Thu, 29 Mar 2007, Tasmanian Devil wrote:
   The i386 GENERIC.MP kernel runs fine on Intel Macs. You just need to
   enable ACPI with config -ef bsd.mp (or on the boot prompt).
  This is not true. At least it has been reported that the MacBook Pro
  with Core Due 2 processor does not run.
 
 Tas is right.  I have my MacBook Pro Core 2 Duo dual booting with OS X and
 OpenBSD (snap around 3/10).  I _think_ my installation process was this (since
 I didn't do make release with -current):
  1. Install 4.0 from the CD.
  2. Copy an ACPI-enabled bsd.rd to a CDROM, boot to OpenBSD and copy to the
 hard drive.
  3. Reboot and boot to bsd.rd and install the snapshot using FTP.

That's different than the report fom Jason Dixon. He was trying
current bsd.rd. Anyway, as you mention some problems remain. To me the
most annyoing is the UKC prompt not working, which means you can't
enable ACPI on a stock bsd.rd and you have to compile a bsd.rd with
ACPI enabled.

Other than that my MacBook (with Core Duo (no 2)) works quite ok,
apart from the sound and wireless, which do not work.  Even X works,
but you'll have to use the 915 resolution port to get native
resolution. 

-Otto

 
 Note: Wifi did not work.  Video used VESA driver.  I didn't test much else.
 Next time I get a chance, I'll send a dmesg to [EMAIL PROTECTED]
 
  BTW, you can install OpenBSD on a BootCamp partition. After creating
  the Bootcamp partition using the wizard, boot using the OpenBSD CD,
  and in the fdisk step in the installer, set the partition type to A6,
  make it active and update the MBR. 
 
 I did this.
 
 -ME