openbsd on present day macintosh

2013-05-20 Thread Mayuresh Kathe
hello, does anyone have any experience with
installing and running openbsd on a present
day macintosh, say a macmini?
would like to know words of caution and
advice before i commit to purchasing a
macmini and using it exclusively for openbsd
software development (my current thinkpad is
dying quite rapidly).
thanks.
-mayuresh



Re: openbsd on present day macintosh

2013-05-20 Thread Jan Stary
On May 20 07:18:53, mayur...@devio.us wrote:
 hello, does anyone have any experience with
 installing and running openbsd on a present
 day macintosh, say a macmini?
 would like to know words of caution and
 advice before i commit to purchasing a
 macmini and using it exclusively for openbsd
 software development (my current thinkpad is
 dying quite rapidly).
 thanks.

I am running a not-so-current/macppc on a Macmini.
The only hurdle while installing was the discrepancy
between what OFW (the macmini firmware) thinks is
hd0 and what the OpenBSD installer thinks is hd0.
http://marc.info/?l=openbsd-miscm=135653325832652w=2

That aside, the installation went smooth as ever,
and it runbs just fine.

Jan


[ using 501892 bytes of bsd ELF symbol table ]
console out [ATY,RockHopper2_A]console in [keyboard] , using USB
using parent ATY,RockHopper2Paren:: memaddr 9800 size 800, : consaddr 
9c008000, : ioaddr 9002, size 2: memtag 8000, iotag 8000: width 1280 
linebytes 1280 height 1024 depth 8
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California.  All rights reserved.
Copyright (c) 1995-2012 OpenBSD. All rights reserved.  http://www.OpenBSD.org

OpenBSD 5.2-current (GENERIC.MP) #4: Wed Dec 26 15:08:07 CET 2012
r...@www.stare.cz:/usr/src/sys/arch/macppc/compile/GENERIC.MP
real mem = 1073741824 (1024MB)
avail mem = 1032146944 (984MB)
mainbus0 at root: model PowerMac10,2
cpu0 at mainbus0: 7447A (Revision 0x102): 1499 MHz: 512KB L2 cache
mem0 at mainbus0
spdmem0 at mem0: 1GB DDR SDRAM non-parity PC3200CL3.0
memc0 at mainbus0: uni-n rev 0xd2
hw-clock at memc0 not configured
kiic0 at memc0 offset 0xf8001000
iic0 at kiic0
mpcpcibr0 at mainbus0 pci: uni-north, Revision 0xff
pci0 at mpcpcibr0 bus 0
pchb0 at pci0 dev 11 function 0 Apple UniNorth AGP rev 0x00
appleagp0 at pchb0
agp0 at appleagp0: aperture at 0x0, size 0x1000
vgafb0 at pci0 dev 16 function 0 ATI Radeon 9200 rev 0x01, mmio
wsdisplay0 at vgafb0 mux 1: console (std, vt100 emulation)
mpcpcibr1 at mainbus0 pci: uni-north, Revision 0x5
pci1 at mpcpcibr1 bus 0
pchb1 at pci1 dev 11 function 0 Apple UniNorth PCI rev 0x00
bwi0 at pci1 dev 18 function 0 Broadcom BCM4318 rev 0x02: irq 52, address 
00:11:24:bf:cb:2a
macobio0 at pci1 dev 23 function 0 Apple Intrepid rev 0x00
openpic0 at macobio0 offset 0x4: version 0x4614 feature 3f0302 LE
macgpio0 at macobio0 offset 0x50
modem-reset at macgpio0 offset 0x1d not configured
modem-power at macgpio0 offset 0x1c not configured
macgpio1 at macgpio0 offset 0x9 irq 47
programmer-switch at macgpio0 offset 0x11 not configured
gpio5 at macgpio0 offset 0x6f not configured
gpio6 at macgpio0 offset 0x70 not configured
extint-gpio15 at macgpio0 offset 0x67 not configured
escc-legacy at macobio0 offset 0x12000 not configured
zsc0 at macobio0 offset 0x13000: irq 22,23
zstty0 at zsc0 channel 0
zstty1 at zsc0 channel 1
aoa0 at macobio0 offset 0x1: irq 30,1,2
audio0 at aoa0
timer at macobio0 offset 0x15000 not configured
adb0 at macobio0 offset 0x16000 irq 25: via-pmu, 0 targets
apm0 at adb0: battery flags 0x0, 0% charged
piic0 at adb0
iic1 at piic0
maxtmp0 at iic1 addr 0xc8: max6642
kiic1 at macobio0 offset 0x18000
iic2 at kiic1
wdc0 at macobio0 offset 0x2 irq 24: DMA
ohci0 at pci1 dev 24 function 0 Apple Intrepid USB rev 0x00: couldn't map 
interrupt
ohci1 at pci1 dev 25 function 0 Apple Intrepid USB rev 0x00: couldn't map 
interrupt
ohci2 at pci1 dev 26 function 0 Apple Intrepid USB rev 0x00: irq 29, version 
1.0, legacy support
ohci3 at pci1 dev 27 function 0 NEC USB rev 0x43: irq 63, version 1.0
ohci4 at pci1 dev 27 function 1 NEC USB rev 0x43: irq 63, version 1.0
ehci0 at pci1 dev 27 function 2 NEC USB rev 0x04: irq 63
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 NEC EHCI root hub rev 2.00/1.00 addr 1
usb1 at ohci2: USB revision 1.0
uhub1 at usb1 Apple OHCI root hub rev 1.00/1.00 addr 1
usb2 at ohci3: USB revision 1.0
uhub2 at usb2 NEC OHCI root hub rev 1.00/1.00 addr 1
usb3 at ohci4: USB revision 1.0
uhub3 at usb3 NEC OHCI root hub rev 1.00/1.00 addr 1
mpcpcibr2 at mainbus0 pci: uni-north, Revision 0x6
pci2 at mpcpcibr2 bus 0
pchb2 at pci2 dev 11 function 0 Apple UniNorth PCI rev 0x00
kauaiata0 at pci2 dev 13 function 0 Apple Intrepid ATA rev 0x00
wdc1 at kauaiata0 irq 39: DMA
atapiscsi0 at wdc1 channel 0 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: MATSHITA, DVD-R UJ-825, DAND ATAPI 5/cdrom 
removable
wd0 at wdc1 channel 0 drive 1: ST9808211A
wd0: 16-sector PIO, LBA, 76319MB, 156301488 sectors
cd0(wdc1:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 4
wd0(wdc1:0:1): using PIO mode 4, DMA mode 2, Ultra-DMA mode 4
Apple UniNorth Firewire rev 0x81 at pci2 dev 14 function 0 not configured
gem0 at pci2 dev 15 function 0 Apple Uni-N2 GMAC rev 0x80: irq 41, address 
00:14:51:17:42:34
bmtphy0 at gem0 phy 0: BCM5221 100baseTX PHY, rev. 4
umass0 at uhub0 port 1 configuration 1 interface 0 Prolific Technology Inc. 
Mass Storage

Re: openbsd on present day macintosh

2013-05-20 Thread David Coppa
On Mon, May 20, 2013 at 1:36 PM, Jan Stary h...@stare.cz wrote:

 I am running a not-so-current/macppc on a Macmini.
 The only hurdle while installing was the discrepancy
 between what OFW (the macmini firmware) thinks is
 hd0 and what the OpenBSD installer thinks is hd0.
 http://marc.info/?l=openbsd-miscm=135653325832652w=2

But present-day macminis are intel based.



Re: openbsd on present day macintosh

2013-05-20 Thread Jan Stary
On May 20 13:42:03, dco...@gmail.com wrote:
 On Mon, May 20, 2013 at 1:36 PM, Jan Stary h...@stare.cz wrote:
 
  I am running a not-so-current/macppc on a Macmini.
  The only hurdle while installing was the discrepancy
  between what OFW (the macmini firmware) thinks is
  hd0 and what the OpenBSD installer thinks is hd0.
  http://marc.info/?l=openbsd-miscm=135653325832652w=2
 
 But present-day macminis are intel based.

About intel-based macminis I don't know.
On an intel-based macbook everything runs fine.


OpenBSD 5.1-current (GENERIC.MP) #233: Sat Mar 24 14:20:48 MDT 2012
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 2646556672 (2523MB)
avail mem = 2553819136 (2435MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xe (44 entries)
bios0: vendor Apple Inc. version MB31.88Z.008E.B02.0803051832 date 03/05/08
bios0: Apple Inc. MacBook3,1
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
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: Intel(R) Core(TM)2 Duo CPU T7300 @ 2.00GHz, 1995.36 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,SSSE3,CX16,xTPR,PDCM,NXE,LONG,LAHF
cpu0: 4MB 64b/line 16-way L2 cache
cpu0: apic clock running at 199MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Core(TM)2 Duo CPU T7300 @ 2.00GHz, 1995.00 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,SSSE3,CX16,xTPR,PDCM,NXE,LONG,LAHF
cpu1: 4MB 64b/line 16-way L2 cache
ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins
ioapic0: misconfigured as apic 0, remapped to apid 1
acpimcfg0 at acpi0 addr 0xf000, bus 0-255
acpiec0 at acpi0
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 2 (RP05)
acpiprt2 at acpi0: bus 3 (RP06)
acpiprt3 at acpi0: bus 4 (PCIB)
acpicpu0 at acpi0: C3, C2, C1, PSS
acpicpu1 at acpi0: C3, C2, C1, PSS
acpiac0 at acpi0: AC unit online
acpibtn0 at acpi0: LID0
acpibtn1 at acpi0: PWRB
acpibtn2 at acpi0: SLPB
acpibat0 at acpi0: BAT0 model 15253732082930497 type 15253732284385612 oem 
15253732284452179
acpivideo0 at acpi0: GFX0
cpu0: Enhanced SpeedStep 1995 MHz: speeds: 2000, 1800, 1600, 1400, 1200, 800 MHz
memory map conflict 0xf00f8000/0x1000
memory map conflict 0xfed1c000/0x4000
memory map conflict 0xfffa/0x3
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 Intel GM965 Host rev 0x03
vga1 at pci0 dev 2 function 0 Intel GM965 Video rev 0x03
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
intagp0 at vga1
agp0 at intagp0: aperture at 0xa000, size 0x1000
inteldrm0 at vga1: apic 1 int 16
drm0 at inteldrm0
Intel GM965 Video rev 0x03 at pci0 dev 2 function 1 not configured
uhci0 at pci0 dev 26 function 0 Intel 82801H USB rev 0x03: apic 1 int 20
uhci1 at pci0 dev 26 function 1 Intel 82801H USB rev 0x03: apic 1 int 16
ehci0 at pci0 dev 26 function 7 Intel 82801H USB rev 0x03: apic 1 int 21
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: msi
azalia0: codecs: Realtek ALC885
audio0 at azalia0
ppb0 at pci0 dev 28 function 0 Intel 82801H PCIE rev 0x03: msi
pci1 at ppb0 bus 1
ppb1 at pci0 dev 28 function 4 Intel 82801H PCIE rev 0x03: msi
pci2 at ppb1 bus 2
Broadcom BCM4321 rev 0x03 at pci2 dev 0 function 0 not configured
ppb2 at pci0 dev 28 function 5 Intel 82801H PCIE rev 0x03: msi
pci3 at ppb2 bus 3
mskc0 at pci3 dev 0 function 0 Marvell Yukon 88E8058 rev 0x13, Yukon-2 EC 
Ultra rev. B0 (0x3): apic 1 int 17
msk0 at mskc0 port A: address 00:1b:63:aa:12:67
eephy0 at msk0 phy 0: 88E1149 Gigabit PHY, rev. 1
uhci2 at pci0 dev 29 function 0 Intel 82801H USB rev 0x03: apic 1 int 16
uhci3 at pci0 dev 29 function 1 Intel 82801H USB rev 0x03: apic 1 int 18
uhci4 at pci0 dev 29 function 2 Intel 82801H USB rev 0x03: apic 1 int 21
ehci1 at pci0 dev 29 function 7 Intel 82801H USB rev 0x03: apic 1 int 20
usb1 at ehci1: USB revision 2.0
uhub1 at usb1 Intel EHCI root hub rev 2.00/1.00 addr 1
ppb3 at pci0 dev 30 function 0 Intel 82801BAM Hub-to-PCI rev 0xf3
pci4 at ppb3 bus 4
ATT/Lucent FW322 1394 rev 0x61 at pci4 dev 3 function 0 not configured
pcib0 at pci0 dev 31 function 0 Intel 82801HBM LPC rev 0x03
pciide0 at pci0 dev 31 function 1 Intel 82801HBM IDE rev 0x03: DMA, channel 0 
configured to compatibility, channel 1 configured to compatibility
atapiscsi0 at pciide0 channel 0 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 

Re: openbsd on present day macintosh

2013-05-20 Thread Jeffrey 'jf' Lim
On Mon, May 20, 2013 at 7:18 PM, Mayuresh Kathe mayur...@devio.us wrote:
 hello, does anyone have any experience with
 installing and running openbsd on a present
 day macintosh, say a macmini?
 would like to know words of caution and
 advice before i commit to purchasing a
 macmini and using it exclusively for openbsd
 software development (my current thinkpad is
 dying quite rapidly).
 thanks.
 -mayuresh


ok, so why are u wanting to get a macintosh exactly if u're going to
be running openbsd on it? Why not stick to the Thinkpad line?

-jf

--
He who settles on the idea of the intelligent man as a static entity
only shows himself to be a fool.

Every nonfree program has a lord, a master --
and if you use the program, he is your master.
--Richard Stallman
--
He who settles on the idea of the intelligent man as a static entity
only shows himself to be a fool.

Every nonfree program has a lord, a master --
and if you use the program, he is your master.
--Richard Stallman


On Mon, May 20, 2013 at 7:18 PM, Mayuresh Kathe mayur...@devio.us wrote:
 hello, does anyone have any experience with
 installing and running openbsd on a present
 day macintosh, say a macmini?
 would like to know words of caution and
 advice before i commit to purchasing a
 macmini and using it exclusively for openbsd
 software development (my current thinkpad is
 dying quite rapidly).
 thanks.
 -mayuresh



Re: openbsd on present day macintosh

2013-05-20 Thread Mayuresh Kathe
thanks for the response.
if present day (intel based) macbook runs fine
so will a macmini.
would like to know if you had to jump any hoops
during first boot, i.e. the install boot.
i will have to use an external (usb) optical
drive, and don't know if i have to issue any
special key-press instructions for the openbsd
boot cd to get chosen and booted.
thanks again. :)
-mayuresh



Re: openbsd on present day macintosh

2013-05-20 Thread Mayuresh Kathe
i intend to move away from laptops.
too many issues with power-management and heating.
currently, have very little desk space, hence a
macmini. :)
thanks.
-mayuresh