On 10/6/07, Nick Guenther <[EMAIL PROTECTED]> wrote:
> 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
dunceor

Here is my dmesg:
OpenBSD 4.2-current (GENERIC.MP) #8: Sat Sep 22 19:44:03 CEST 2007
    [EMAIL PROTECTED]:/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)
cpu1: Intel(R) Core(TM)2 CPU T7400 @ 2.16GHz, 2161.25 MHz
cpu1: 
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
cpu1: 4MB 64b/line 16-way L2 cache
ioapic0 at mainbus0 apid 1 pa 0xfec00000, version 20, 24 pins
ioapic0: misconfigured as apic 0, remapped to apid 1
acpi device at acpi0 from table MCFG not configured
acpi device at acpi0 from table ASF! not configured
acpi device at acpi0 from table SBST not configured
acpi device at acpi0 from table ECDT not configured
acpi device at acpi0 from table FACP not configured
acpi device at acpi0 from table SSDT not configured
acpi device at acpi0 from table SSDT not configured
acpi device at acpi0 from table SSDT not configured
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 1 (RP01)
acpiprt2 at acpi0: bus 2 (RP02)
acpiprt3 at acpi0: bus 3 (PCIB)
acpiec0 at acpi0: EC__
acpicpu0 at acpi0 C3, C2
acpicpu1 at acpi0 C3, C2
acpiac0 at acpi0: AC unit offline
acpibtn0 at acpi0: LID0
acpibtn1 at acpi0: PWRB
acpibtn2 at acpi0: SLPB
acpibat0 at acpi0: BAT0: model: ASMB016 serial:  type: LION016 oem: DPON016
cpu0: unknown Enhanced SpeedStep CPU, msr 0x06130d2b06000b25
cpu0: using only highest, current and lowest power states
cpu0: Enhanced SpeedStep 1833 MHz (1292 mV): speeds: 2167, 1833, 1000 MHz
pci0 at mainbus0 bus 0: configuration mode 1
pchb0 at pci0 dev 0 function 0 "Intel 82945GM MCH" rev 0x03
vga1 at pci0 dev 2 function 0 "Intel 82945GM Video" rev 0x03
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
vendor "Intel", unknown product 0x27a3 (class DASP subclass Time and
Frequency, rev 0x03) at pci0 dev 7 function 0 not configured
azalia0 at pci0 dev 27 function 0 "Intel 82801GB HD Audio" rev 0x02:
apic 1 int 22 (irq 10)
azalia0: host: High Definition Audio rev. 1.0
azalia0: codec: Sigmatel STAC9221 (rev. 52.1), HDA version 1.0
audio0 at azalia0
ppb0 at pci0 dev 28 function 0 "Intel 82801GB PCIE" rev 0x02
pci1 at ppb0 bus 1
mskc0 at pci1 dev 0 function 0 "Marvell Yukon 88E8053" rev 0x22,
Yukon-2 EC rev. A3 (0x2): apic 1 int 16 (irq 11)
msk0 at mskc0 port A: address 00:19:e3:41:b1:1d
eephy0 at msk0 phy 0: Marvell 88E1111 Gigabit PHY, rev. 2
ppb1 at pci0 dev 28 function 1 "Intel 82801GB PCIE" rev 0x02
pci2 at ppb1 bus 2
"Atheros AR5418" rev 0x01 at pci2 dev 0 function 0 not configured
uhci0 at pci0 dev 29 function 0 "Intel 82801GB USB" rev 0x02: apic 1
int 21 (irq 11)
uhci1 at pci0 dev 29 function 1 "Intel 82801GB USB" rev 0x02: apic 1
int 19 (irq 11)
uhci2 at pci0 dev 29 function 2 "Intel 82801GB USB" rev 0x02: apic 1
int 18 (irq 11)
uhci3 at pci0 dev 29 function 3 "Intel 82801GB USB" rev 0x02: apic 1
int 16 (irq 11)
ehci0 at pci0 dev 29 function 7 "Intel 82801GB USB" rev 0x02: apic 1
int 21 (irq 11)
usb0 at ehci0: USB revision 2.0
uhub0 at usb0: "Intel EHCI root hub", rev 2.00/1.00, addr 1
ppb2 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0xe2
pci3 at ppb2 bus 3
"AT&T/Lucent FW322 1394" rev 0x61 at pci3 dev 3 function 0 not configured
pcib0 at pci0 dev 31 function 0 "Intel 82801GBM LPC" rev 0x02
pciide0 at pci0 dev 31 function 1 "Intel 82801GB IDE" rev 0x02: DMA,
channel 0 configured to compatibility, channel 1 configured to
compatibility
atapiscsi0 at pciide0 channel 0 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: <MATSHITA, DVD-R UJ-857E, ZB0E> SCSI0
5/cdrom removable
cd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 4
pciide0: channel 1 disabled (no drives)
pciide1 at pci0 dev 31 function 2 "Intel 82801GBM SATA" rev 0x02: DMA,
channel 0 configured to native-PCI, channel 1 configured to native-PCI
pciide1: using apic 1 int 19 (irq 11) for native-PCI interrupt
wd0 at pciide1 channel 0 drive 1: <ST9120822AS>
wd0: 16-sector PIO, LBA48, 114473MB, 234441648 sectors
wd0(pciide1:0:1): using PIO mode 4, Ultra-DMA mode 5
ichiic0 at pci0 dev 31 function 3 "Intel 82801GB SMBus" rev 0x02: apic
1 int 19 (irq 11)
iic0 at ichiic0
iic0: addr 0x48 00=3b 01=00 02=4b 03=50
usb1 at uhci0: USB revision 1.0
uhub1 at usb1: "Intel UHCI root hub", rev 1.00/1.00, addr 1
usb2 at uhci1: USB revision 1.0
uhub2 at usb2: "Intel UHCI root hub", rev 1.00/1.00, addr 1
usb3 at uhci2: USB revision 1.0
uhub3 at usb3: "Intel UHCI root hub", rev 1.00/1.00, addr 1
usb4 at uhci3: USB revision 1.0
uhub4 at usb4: "Intel UHCI root hub", rev 1.00/1.00, addr 1
isa0 at pcib0
isadma0 at isa0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
spkr0 at pcppi0
pctr: user-level performance counters enabled
ugen0 at uhub0 port 4
ugen0: "Apple Computer Bluetooth", rev 2.00/0.0c, addr 2
uhidev0 at uhub1 port 1 configuration 1 interface 0
uhidev0: "vendor 0x062a product 0x0001", rev 1.10/0.00, addr 2, iclass 3/1
ums0 at uhidev0: 3 buttons and Z dir.
wsmouse0 at ums0 mux 0
uhidev1 at uhub4 port 1 configuration 1 interface 0
uhidev1: "Apple Computer ADB device", rev 2.00/19.65, addr 2, iclass 3/1
uhidev2 at uhub3 port 2 configuration 1 interface 0ukbd0 at uhidev1: 8
modifier keys, 6 key codes

uhidev2: "Apple Computer, Inc. IR Receiver", rev 2.00/1.10, addr 2, iclass 3/0
uhidev2: 38 report ids
uhid0 at uhidev2 reportid 36: input=4, output=0, feature=0
uhid1 at uhidev2 reportid 37: input=4, output=0, feature=0
uhid2 at uhidev2 reportid 38: input=4, output=0, feature=0
wskbd0 at ukbd0: console keyboard, using wsdisplay0
uhidev3 at uhub4 port 1 configuration 1 interface 1
uhidev3: "Apple Computer ADB device", rev 2.00/19.65, addr 2, iclass 3/1
ums1 at uhidev3: 5 buttons
wsmouse1 at ums1 mux 0
uhidev4 at uhub1 port 2 configuration 1 interface 0
uhidev4: "Apple Computer Apple Internal Keyboard / Trackpad", rev
2.00/0.16, addr 3, iclass 3/1
ukbd1 at uhidev4: 8 modifier keys, 5 key codes, country code 13
wskbd1 at ukbd1 mux 1
wskbd1: connecting to wsdisplay0
uhidev5 at uhub1 port 2 configuration 1 interface 1
uhidev5: "Apple Computer Apple Internal Keyboard / Trackpad", rev
2.00/0.16, addr 3, iclass 3/1
uhidev5: 5 report ids
ums2 at uhidev5 reportid 2: 3 buttons
wsmouse2 at ums2 mux 0
ums3 at uhidev5 reportid 5
ums3: mouse has no X report
uhidev6 at uhub1 port 2 configuration 1 interface 2
uhidev6: "Apple Computer Apple Internal Keyboard / Trackpad", rev
2.00/0.16, addr 3, iclass 3/0
uhid3 at uhidev6: input=1, output=0, feature=0
dkcsum: wd0 matches BIOS drive 0x80
root on wd0a swap on wd0b dump on wd0b

Reply via email to