Re: macbook pro 5,5

Previous thread: I'd like to review your resume by Carrie @ TunaRez on Wednesday, March 24, 2010 - 10:35 am. (1 message)

Next thread: hardware check: Gigabyte GA H55M-UD2H by Raphaël on Wednesday, March 24, 2010 - 1:15 pm. (1 message)
From: Pau
Date: Wednesday, March 24, 2010 - 12:02 pm

Dear all,

is anybody running openbsd on the macbook pro 5,5?

I was given one of these at work and I cannot get used to macosx.

I have realised that X does not run with the nv driver, only with
vesa, which is fine but I was wondering whether somebody has tried a
recent snapshot on it.

I installed a snapshot but this was many weeks ago.

I am running now that "live" cd, bsdanywhere (based on openbsd 4.6)

Works: X with vesa, ethernet (nfe0), keyboard, speedstep (nice!!)

No tested/ Does not work: wireless, "special' keys (brightness,
backlight keyboard, volume), camera, touchpad partially (related to
the X driver)

I was also wondering whether it is possible to have openbsd on the
laptop as the only OS. I am guessing that the EFI could give trouble.

When I installed it I was using rEFIt to boot into openbsd/macosx

thanks,

Pau


--------------------

OpenBSD 4.6 (GENERIC.MP) #89: Thu Jul  9 21:32:39 MDT 2009
    deraadt@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP
RTC BIOS diagnostic error
f7<clock_battery,ROM_cksum,config_unit,memory_size,invalid_time>
cpu0: Intel(R) Core(TM)2 Duo CPU P8700 @ 2.53GHz ("GenuineIntel"
686-class) 2.53 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,SMX,EST,TM2,CX16,xTPR
real mem  = 2926321664 (2790MB)
avail mem = 2830348288 (2699MB)
RTC BIOS diagnostic error
f7<clock_battery,ROM_cksum,config_unit,memory_size,invalid_time>
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 07/29/05, SMBIOS rev. 2.4 @
0xe0000 (42 entries)
bios0: vendor Apple Inc. version "MBP55.88Z.00AC.B03.0906151708" date 06/15/09
bios0: Apple Inc. MacBookPro5,5
acpi0 at bios0: rev 2
acpi0: tables DSDT FACP HPET APIC APIC MCFG ASF! SBST ECDT SSDT SSDT SSDT
acpi0: wakeup devices ADP1(S3) LID0(S3) EC__(S3) OHC1(S3) EHC1(S3)
OHC2(S3) EHC2(S3) GIGE(S5)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpihpet0 at acpi0: 25000000 Hz
acpimadt0 at ...
From: Lars Nooden
Date: Thursday, March 25, 2010 - 2:45 am

I've done that with the older macbook pros.  I'm sure the openfirmware 
could be set to boot straight into OpenBSD, but would need a good OF 
reference first.  If you leave it as-is, the firmware takes a long time 
to find the system.

Leaving a minimal OS X partition and using rEFIt to boot 'legacy first', 
it quickly goes into openbsd as the default.    If you leave off all the 
language variants and excess printer drivers, then OS X is about 20 GB.

/Lars

From: Pau
Date: Thursday, March 25, 2010 - 9:43 am

Thanks for the input...

So it seems that X is working with nv in the recent snapshots? Nice!

Looking forward to the sound!

I find this macosx very confusing; I will be happy to fall back to open

Pau


From: Ted Roby
Date: Thursday, March 25, 2010 - 9:44 am

Actually, a default install of OSX without localizations and printer support
is only 4.5 GB.
You can reduce the partition it is installed on  to that, plus the size of
your memory.
So, OSX allowed me to shrink my HFS+ partition (with 4 GB ram) down to 9.5
GB.

I used diskutil resize to do this after install.

From: Ted Roby
Date: Thursday, March 25, 2010 - 9:51 am

Another trick to reducing size of your OSX partition is to turn off
hibernation mode.
This mode keeps a file around the same size as your memory, and mirrors the
contents
of said memory. I've used these options in 10.4, 10.5 and 10.6.2:

pmset -a hibernatemode 0
nvram "use-nvramrc?"=false
<reboot>
rm /var/vm/swapimage

After another test reboot the swapimage file should not reappear.
You can now shrink your partition with 'diskutil resizeVolume'.

From: Jean-Philippe Ouellet
Date: Thursday, March 25, 2010 - 3:16 pm

Actually, if you're not going to use OSX, you shouldn't need to have it 
on your disk at all because you can put rEFIt on a small EFI partition 
at the beginning of your disk and use bless(8) from an OSX dvd or 
whatever to set it to boot. Such an EFI partition was silently created 
if you used Disk Utility to set up your disk (and exists by default on 
macs when you buy them).

I had it set up like this on my old MacBook1,1 but have not tried it on 
my MacBookPro5,3 although I see no reason why it wouldn't work.

From: Ted Roby
Date: Thursday, March 25, 2010 - 9:06 pm

On Thu, Mar 25, 2010 at 4:16 PM, Jean-Philippe Ouellet <
Actually, I use it.

From: Pau
Date: Saturday, March 27, 2010 - 10:48 am

Hello,

I installed a recent snapshot (i386) on the mac 5,5 and the nv driver
seems to not be able to work. I have to resort to vesa to get X
working. I thought somebody had mentioned s/he had got it working.

Re. azalia: If more testing is needed, I can help. I am now on the way
of downloading and installing the most recent amd64 snapshot on the
laptop.

Thanks in any case for the input.

Cheers,

Pau



Previous thread: I'd like to review your resume by Carrie @ TunaRez on Wednesday, March 24, 2010 - 10:35 am. (1 message)

Next thread: hardware check: Gigabyte GA H55M-UD2H by Raphaël on Wednesday, March 24, 2010 - 1:15 pm. (1 message)