I've got me a macbook and I'm figuring out how to install OpenBSD on
it (I'm going to see if I can do it without BootCamp, appearently it's
possible: http://refit.sourceforge.net/myths/). One of my friends
mentioned "too bad about the evil" to me and so I started digging into
one of the evils: Trusted Computing. How do I find out if this mac has
a TPM chip? Apple is never open about this fact.This page <http://attivissimo.blogspot.com/2006/04/trusted-computing-chips-found-in-intel.html>
reports that some macs have them and some don't. It also says that in
linux you can check `ioreg` for mentions of TPM.What would the equivalent method in OpenBSD? Would the chip show up in
dmesg? Here's one dmesg
http://erdelynet.com/tech/openbsd/openbsd-on-intel-mac-mini/ and I
don't see anything that looks like a TPM chip but I'm not sure what
all the devices are.If I can't know for sure from software I plan on cracking the case and
searching for one physically anyway.-Nick
I have a Macbook 2,1 that I run OpenBSD exclusively on. No Boot camp
or anything special. Just OpenBSD as it is.
There are a few things you need to know before you install. You will
need acpi and you will need an external USB-keyboard during
installization.
I use AMD64 and GENERIC.MP.I did some googling about TPM in macbook and newer Apple hardware and
it seems like there isn't one.
http://www.osxbook.com/book/bonus/chapter10/tpm/
http://www.tuaw.com/2006/11/02/apple-drops-trusted-computing/Both these links say newer Apple hardware does not contain it, they
only mention Mac Pro and Macbook Pro's though.There are still a few problems with the macbook, I'm trying to write a
driver for Apple system Management Controller, it's not going that
good but I should have it working soon. There is a few other problems
like bluetooth, iSight camera, IR. Sound is working and trackpad is
working.BR
dunceorHere is my dmesg:
OpenBSD 4.2-current (GENERIC.MP) #8: Sat Sep 22 19:44:03 CEST 2007
dunc@mac.linuxlamers.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 2114535424 (2016MB)
avail mem = 2041937920 (1947MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xe7460 (37 entries)
bios0: vendor Apple Inc. version " MB21.88Z.00A5.B06.0704201208"
date 04/20/07
bios0: Apple Inc. MacBook2,1
acpi0 at mainbus0: rev 0
acpi0: tables DSDT HPET APIC MCFG ASF! SBST ECDT FACP SSDT SSDT SSDT
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpi device at acpi0 from table DSDT not configured
acpihpet0 at acpi0 table HPET: 14318179 Hz
acpimadt0 at acpi0 table APIC addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM)2 CPU T7400 @ 2.16GHz, 2161.57 MHz
cpu0: FPU,VME,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,NXE,LONG
cpu0: 4MB 64b/line 16-way L2 cache
cpu0: apic clock running at 166MHz
cpu1 at mainbus0: apid 1 (application processor...
<http://attivissimo.blogspot.com/2006/04/trusted-computing-chips-found-in-int
ooh, first: thanks for your quick response.
What *is* BootCamp? I know it's mostly just repartitioning software
but the readme that comes with it seems to imply that it install
certain special drivers to let you use the mac keyboard under windows
(i.e. Mac-Click is mapped to right click, and so on).Why do you need acpi? I did read that and I did make myself an
acpi-enabled kernel that I can boot from if I choose (though really I
could just do drop into config from boot>, right?) but the default is
to boot the normal i386/bsd.rd and when I let it do that it boots fine
and gets to the install prompt. What's the problem?I did indeed run into the problem of the keyboard not working during
Is there an advantage to AMD64 over i386? My default was to grab i386
This just references the link I gave.Still, TPM needs software to run it. It would be a very strange move
for Apple to somehow hide the TPM from anything besides OS X. I'mI only have a Macbook. Maybe they big-brother anyone who doesn't shell
Oh sweet, that's really nice.
Related but off topic question: How do I get right-clicking working?
Do I have to play with X keymaps? I've poked at this from playing on
zaurus, but I don't really understand it. Links please?
I'm guessing there's nothing like Appletouch
<http://www.popies.net/atp/> in OpenBSD right?The SMC controls low-level power functions. Does it do that on its
own? (i.e. if I sleep while under OpenBSD does the light still
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,CX16,
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,CX16,
Boot camp is both a tool to handle dual boot of operating systems but
Ok then it has started to get better because in the beginning I
couldn't even get to the install prompt because it hang on some usb
controller. ACPI is needed to get some of the drivers to workWell the new Intel Core 2 Duo are Intels version of AMD64 and there
fore the closest thing you should use. You could use i386 also andI haven't got the right click to work, I do not know if it's possible
to do. It is one of the annoying stuff at the moment and I use an
external USB mouse. I also have problems with the swedish keyboard
layout because {,[ ,] ,} are existing and this is annoying when you
code =) That Appletouch driver you linked to looked old and it's only
for Powerbooks. I know the FreeBSD people has done some work on it soWell sleep and such does not work very well in OpenBSD. The screens
turns black after a while but the backlight seems to still be on. This
is controlled by ASMC. The hardware still work in most cases but there
is no way for us to controll it at the moment as the driver could
enable us to.BR
| debian developer | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
| Eric W. Biederman | [PATCH 02/10] sysfs: Support for preventing unmounts. |
| Greg KH | [GIT PATCH] driver core patches against 2.6.24 |
| Linus Torvalds | Re: LSM conversion to static interface |
git: | |
| Antonio Almeida | HTB accuracy for high speed |
| David Miller | Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Gerrit Renker | [PATCH 18/37] dccp: Support for Mandatory options |
| Timo Teräs | Re: xfrm_state locking regression... |
