Re: Macbook Pro Core Duo and 4.3

2008-06-15 Thread Maximilian-Clemens Anderer
Aaron Hsu [EMAIL PROTECTED] writes:

 Has anyone had success with the 4.3 release and Core Duo
 Macbook Pros?

Hi!

I am running OpenBSD 4.3-current (bsd.mp/i386) here on a MacBook Pro 3.1
(SantaRosa). The stock bsd.rd ramdisk that came with 4.3-release
worked for me as does bsd.rd from the latest snapshot.

Maybe it can help to compare our dmesg?

Regards,
Max.

OpenBSD 4.3-current (GENERIC.MP) #0: Sun Jun 15 23:27:43 CEST 2008
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC.MP
cpu0: Intel(R) Core(TM)2 Duo CPU T7500 @ 2.20GHz (GenuineIntel 686-class) 
2.20 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,EST,TM2,CX16,xTPR
real mem  = 2129174528 (2030MB)
avail mem = 2050600960 (1955MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 07/29/05, SMBIOS rev. 2.4 @ 0xe (47 
entries)
bios0: vendor Apple Inc. version MBP31.88Z.0070.B02.0706181323 date 06/18/07
bios0: Apple Inc. MacBookPro3,1
acpi0 at bios0: rev 0
acpi0: tables DSDT FACP HPET APIC MCFG ASF! SBST ECDT SSDT SSDT SSDT SSDT SSDT
acpi0: wakeup devices ADP1(S3) LID0(S3) ARPT(S3) GIGE(S3) UHC1(S3) UHC2(S3) 
UHC3(S3) UHC4(S3) UHC5(S3) EHC1(S3) EHC2(S3) EC__(S3)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpihpet0 at acpi0: 14318179 Hz
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 199MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Core(TM)2 Duo CPU T7500 @ 2.20GHz (GenuineIntel 686-class) 
2.20 GHz
cpu1: 
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,EST,TM2,CX16,xTPR
ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins
ioapic0: duplicate apic id, remapped to apid 2
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 1 (PEGP)
acpiprt2 at acpi0: bus 3 (RP03)
acpiprt3 at acpi0: bus 11 (RP05)
acpiprt4 at acpi0: bus 12 (RP06)
acpiprt5 at acpi0: bus 13 (PCIB)
acpiec0 at acpi0
acpicpu0 at acpi0: C3, C2
acpicpu1 at acpi0: C3, C2
acpiac0 at acpi0: AC unit online
acpibtn0 at acpi0: LID0
acpibtn1 at acpi0: PWRB
acpibtn2 at acpi0: SLPB
acpibat0 at acpi0: BAT0 model 14127832176087873 type 14127832377542988 oem 
14127833101004627
bios0: ROM list: 0xc/0xbc00
cpu0: unknown Enhanced SpeedStep CPU, msr 0x06120b2406000b24
cpu0: using only highest and lowest power states
cpu0: Enhanced SpeedStep 2200 MHz (1276 mV): speeds: 2200, 1200 MHz
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 Intel GM965 Host rev 0x03
ppb0 at pci0 dev 1 function 0 Intel GM965 PCIE rev 0x03: apic 2 int 16 (irq 
255)
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 vendor NVIDIA, unknown product 0x0407 rev 0xa1
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
agp0 at vga1: no integrated graphics
uhci0 at pci0 dev 26 function 0 Intel 82801H USB rev 0x03: apic 2 int 20 (irq 
10)
uhci1 at pci0 dev 26 function 1 Intel 82801H USB rev 0x03: apic 2 int 16 (irq 
11)
ehci0 at pci0 dev 26 function 7 Intel 82801H USB rev 0x03: apic 2 int 21 (irq 
9)
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1
azalia0 at pci0 dev 27 function 0 Intel 82801H HD Audio rev 0x03: apic 2 int 
20 (irq 10)
azalia0: codec[s]: Realtek/0x0885
audio0 at azalia0
ppb1 at pci0 dev 28 function 0 Intel 82801H PCIE rev 0x03: apic 2 int 16 (irq 
255)
pci2 at ppb1 bus 2
ppb2 at pci0 dev 28 function 2 Intel 82801H PCIE rev 0x03: apic 2 int 18 (irq 
255)
pci3 at ppb2 bus 3
ppb3 at pci0 dev 28 function 4 Intel 82801H PCIE rev 0x03: apic 2 int 16 (irq 
255)
pci4 at ppb3 bus 11
ath0 at pci4 dev 0 function 0 Atheros AR5418 rev 0x01: apic 2 int 16 (irq 7)
ath_hal_attach: unable to init EEPROM
ath0: unable to attach hardware; HAL status 22
ppb4 at pci0 dev 28 function 5 Intel 82801H PCIE rev 0x03: apic 2 int 17 (irq 
255)
pci5 at ppb4 bus 12
mskc0 at pci5 dev 0 function 0 Marvell Yukon 88E8058 rev 0x13, Yukon-2 EC 
Ultra (0x3): apic 2 int 17 (irq 7)
msk0 at mskc0 port A: address 00:1b:63:a4:2f:d1
eephy0 at msk0 phy 0: Marvell 88E1149 Gigabit PHY, rev. 1
uhci2 at pci0 dev 29 function 0 Intel 82801H USB rev 0x03: apic 2 int 16 (irq 
11)
uhci3 at pci0 dev 29 function 1 Intel 82801H USB rev 0x03: apic 2 int 18 (irq 
5)
uhci4 at pci0 dev 29 function 2 Intel 82801H USB rev 0x03: apic 2 int 21 (irq 
9)
ehci1 at pci0 dev 29 function 7 Intel 82801H USB rev 0x03: apic 2 int 20 (irq 
10)
usb1 at ehci1: USB revision 2.0
uhub1 at usb1 Intel EHCI root hub rev 2.00/1.00 addr 1
ppb5 at pci0 dev 30 function 0 Intel 82801BAM Hub-to-PCI rev 0xf3
pci6 at ppb5 bus 13
TI TSB82AA2 FireWire rev 0x02 at pci6 dev 3 function 0 not configured
ichpcib0 at pci0 dev 31 function 0 Intel 82801HBM LPC rev 0x03: PM disabled
pciide0 at pci0 dev 31 function 1 Intel 82801HBM IDE rev 0x03: DMA, channel 0 
configured to 

Re: Macbook Pro Core Duo and 4.3

2008-06-14 Thread Jonathan Gray
Try a new snapshot in a few days, things in ACPI land have
changed a lot since 4.3.

On Sat, Jun 14, 2008 at 09:27:52PM -0700, Aaron Hsu wrote:
 Hey all,
 
 I have previously been able to run OpenBSD 4.2-current on my Macbook Pro. 
 It's been a while since I did so, but I wanted to go ahead and reinstall my 
 machine with 4.3. The biggest change that I expected to affect me was the 
 automatic enabling of ACPI for the kernel. I thought this would be a good 
 thing. As it turns out, something must have changed since I last used OpenBSD 
 to make things troublesome.
 
 Usually, what I used to do was build my own custom boot only image and change 
 the bsd.rd kernel to have acpi enabled. However, this didn't seem necessary 
 for 4.3, and I went ahead and tried to boot. However, it hangs near the end 
 of the kernel messages with an rd0 line. 
 
 I thought that I heard about someone having trouble with 4.3 hanging on a 
 Macbook so I tried searching for a solution, but I couldn't find anything 
 specific. The only things that seem to relate to the stable release after May 
 1st are unrelated items. 
 
 One other thing I noted was that someone tried to boot his Macbook using the 
 bsd.mp kernel, which obviously won't work until the OS is installed. However, 
 I notice that the dmesg seems a bit different for the MP kernel with some 
 acpi information put at the top that I don't see in the rd kernel. I am able 
 to get the mp kernel to boot up to the point where it asks for a root device, 
 but obviously I can't go past that. 
 
 Anyways, I remembered in a chat that there was possibly a conflict between 
 apm and acpi, so I went ahead, disabled apm, and this didn't work either. Can 
 any of you provide some assistance with this matter? Has anyone had success 
 with the 4.3 release and Core Duo Macbook Pros? I am of course using i386 as 
 the architecture. 
 
 Am I just missing something obvious? 
 
 - Aaron Hsu