Mac mini support

2008-09-29 Thread Cedric Brisseau
Hi,

I look for a quiet, small, energy saving and well cooled machine to
make a webserver. I need i386 or amd64. I thought about an apple mac
mini (i know...apple...). How the latest models (core 2 duo) are
supported under openbsd (integrated nic, bsd.mp...) ?

Cheers,
Cedric



Re: Mac mini support

2008-09-29 Thread Tasmanian Devil
 I look for a quiet, small, energy saving and well cooled machine to
 make a webserver. I need i386 or amd64. I thought about an apple mac
 mini (i know...apple...). How the latest models (core 2 duo) are
 supported under openbsd (integrated nic, bsd.mp...) ?

Mac minis run OpenBSD just fine. Mine are running for two years
permanently now without any problems. Just a few things:

- Only one sensor under OpenBSD (CPU temperature), that's more than
enough though, as they only get too hot if the fan breaks, and the
sensor can detect that just fine
- You need a little tweak in /etc/rc.securelevel to make them start
automagically after a power failture:
http://marc.info/?l=openbsd-miscm=120631459418290w=2
- They need a resistor either in a dongle or build-in to make them
start without a monitor attached.

Otherwise, see yourself:

OpenBSD 4.4-current (GENERIC.MP) #879: Wed Sep 24 12:03:25 MDT 2008
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC.MP
cpu0: Genuine Intel(R) CPU 1400 @ 1.83GHz (GenuineIntel 686-class) 1.84 GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,VMX,EST,TM2,xTPR
real mem  = 2114367488 (2016MB)
avail mem = 2035945472 (1941MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 07/29/05, SMBIOS rev. 2.4 @
0xe73f0 (39 entries)
bios0: vendor Apple Computer, Inc. version
MM11.88Z.0055.B08.0610121326 date 10/12/06
bios0: Apple Computer, Inc. Macmini1,1
acpi0 at bios0: rev 0
acpi0: tables DSDT FACP HPET APIC MCFG ASF! SBST ECDT SSDT SSDT SSDT
acpi0: wakeup devices PXS1(S4) PXS2(S4) USB1(S3) USB2(S3) USB3(S3)
USB4(S3) USB7(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 166MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Genuine Intel(R) CPU 1400 @ 1.83GHz (GenuineIntel 686-class) 1.84 GHz
cpu1: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,VMX,EST,TM2,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 (RP01)
acpiprt2 at acpi0: bus 2 (RP02)
acpiprt3 at acpi0: bus 3 (PCIB)
acpiec0 at acpi0: Failed to register address space
acpicpu0 at acpi0: C3, C2
acpicpu1 at acpi0: C3, C2
acpibtn0 at acpi0: PWRB
acpivideo at acpi0 not configured
bios0: ROM list: 0xc/0xe600!
cpu0: unknown Enhanced SpeedStep CPU, msr 0x06130b2c06000b2c
cpu0: using only highest and lowest power states
cpu0: Enhanced SpeedStep 1833 MHz (1404 mV): speeds: 1833, 1000 MHz
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 Intel 82945GM Host 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)
agp0 at vga1: aperture at 0x8000, size 0x1000
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 2 int 22 (irq 11)
azalia0: codec[s]: Sigmatel STAC9221
audio0 at azalia0
ppb0 at pci0 dev 28 function 0 Intel 82801GB PCIE rev 0x02: apic 2
int 17 (irq 11)
pci1 at ppb0 bus 1
mskc0 at pci1 dev 0 function 0 Marvell Yukon 88E8053 rev 0x22,
Yukon-2 EC rev. A3 (0x2): apic 2 int 16 (irq 11)
msk0 at mskc0 port A: address 00:16:cb:a7:46:69
eephy0 at msk0 phy 0: Marvell 88E Gigabit PHY, rev. 2
ppb1 at pci0 dev 28 function 1 Intel 82801GB PCIE rev 0x02: apic 2
int 16 (irq 10)
pci2 at ppb1 bus 2
ath0 at pci2 dev 0 function 0 Atheros AR5424 rev 0x01: apic 2 int 17 (irq 11)
ath0: AR5424 10.3 phy 6.1 rf 10.2, WORAW, address 00:17:f2:4d:19:ee
uhci0 at pci0 dev 29 function 0 Intel 82801GB USB rev 0x02: apic 2
int 21 (irq 11)
uhci1 at pci0 dev 29 function 1 Intel 82801GB USB rev 0x02: apic 2
int 19 (irq 11)
uhci2 at pci0 dev 29 function 2 Intel 82801GB USB rev 0x02: apic 2
int 18 (irq 11)
uhci3 at pci0 dev 29 function 3 Intel 82801GB USB rev 0x02: apic 2
int 16 (irq 10)
ehci0 at pci0 dev 29 function 7 Intel 82801GB USB rev 0x02: apic 2
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
ATT/Lucent FW322 1394 rev 0x61 at pci3 dev 3 function 0 not configured
ichpcib0 at pci0 dev 31 function 0 Intel 82801GBM LPC rev 0x02: PM disabled
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, initiator 7
cd0 at scsibus0 targ 0 lun 0: MATSHITA, DVD-R UJ-846, FM3J ATAPI
5/cdrom removable
cd0(pciide0:0:0): using 

Re: Mac mini support

2008-09-29 Thread Dominik Meister
Sorry to interrupt this thread with this question, but ...

Tasmanian Devil [Mon, Sep 29, 2008 at 07:49:45PM +0200]:
 - They need a resistor either in a dongle or build-in to make them
 start without a monitor attached.


... do you (or anyone else) by any chance know if this also applies to
the Mac Minis with PowerPC CPU? I'm considering buying one as web and
mail server but this could be a bit disturbing.

Thanks,
Dominik

--
Dominik Meister
My public GnuPG key is available at http://www.meisternet.ch/gpg.txt

[demime 1.01d removed an attachment of type application/pgp-signature]



Re: Mac mini support

2008-09-29 Thread Dominik Meister
Bryan Vyhmeister [Mon, Sep 29, 2008 at 02:15:38PM -0700]:
 I have two Mac mini G4's running OpenBSD at the moment and all they
 need is to put the DVI to VGA adapter that the machine comes with on
 the DVI port and everything works just fine.

Thanks, Brian. I'm very glad to hear that.

br,
Dominik

--
Dominik Meister
My public GnuPG key is available at http://www.meisternet.ch/gpg.txt

[demime 1.01d removed an attachment of type application/pgp-signature]



Re: Mac mini support

2008-09-29 Thread Stuart Henderson
On 2008-09-29, Dominik Meister [EMAIL PROTECTED] wrote:
 - They need a resistor either in a dongle or build-in to make them
 start without a monitor attached.


 ... do you (or anyone else) by any chance know if this also applies to
 the Mac Minis with PowerPC CPU? I'm considering buying one as web and
 mail server but this could be a bit disturbing.

They do not.



Re: Mac mini support

2008-09-29 Thread Bryan Vyhmeister

On Sep 29, 2008, at 1:25 PM, Dominik Meister wrote:


Sorry to interrupt this thread with this question, but ...

Tasmanian Devil [Mon, Sep 29, 2008 at 07:49:45PM +0200]:

- They need a resistor either in a dongle or build-in to make them
start without a monitor attached.



... do you (or anyone else) by any chance know if this also applies to
the Mac Minis with PowerPC CPU? I'm considering buying one as web and
mail server but this could be a bit disturbing.


I have two Mac mini G4's running OpenBSD at the moment and all they  
need is to put the DVI to VGA adapter that the machine comes with on  
the DVI port and everything works just fine.


Bryan



Re: Mac mini support

2008-09-29 Thread Tasmanian Devil
 - They need a resistor either in a dongle or build-in to make them
 start without a monitor attached.


 ... do you (or anyone else) by any chance know if this also applies to
 the Mac Minis with PowerPC CPU? I'm considering buying one as web and
 mail server but this could be a bit disturbing.

AFAIK it's the EFI (Intel Macs) which needs the resistor (as
replacement for a monitor) to switch to the legacy BIOS mode (or so)
and boot with a DOS partition. The native EFI boot with a HFS+
partition and Mac OS X doesn't need that. Open Firmware (PPC Macs)
doesn't have such problems either.

Tas.