Sunday, April 30, 2006

OpenBSD on Intel Mac Mini

Mac MiniToday I started trying to load OpenBSD on my Intel Mac Mini.

A couple weeks ago, I loaded Apple's Boot Camp to dual boot with Windows XP. It was neat. But I don't really care to run Windows on my Mac.

Now that Boot Camp is on my computer, though, I figured I could probably get OpenBSD installed. I tried installing from my OpenBSD 3.9 CD first. But it wouldn't boot past USB device scanning. I downloaded a a 3.9 snapshot from April 29, 2006, and OpenBSD installed. But...



OpenBSD did not recognize my network card or any USB thumb drives (1.1 & 2.0) that I attached to my computer. Interestingly, though, it DID recognize my Bluetooth keyboard. I was very happy with that. I'm not sure when it recognized it because assuming it wouldn't be able to use it, I attached a USB keyboard.

I was able to get packages (like cdrtools to burn CDs) on my machine by burning them to a CD-RW. Then, I got my dmesg from OpenBSD by burning it to a CD-RW.

Below is my dmesg:
OpenBSD 3.9-current (GENERIC.MP) #678: Sun Apr 23 19:08:27 MDT 2006
deraadt@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP
cpu0: Genuine Intel(R) CPU T2300 @ 1.66GHz ("GenuineIntel" 686-class) 1.67 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
real mem = 1040588800 (1016200K)
avail mem = 942641152 (920548K)
using 4278 buffers containing 52133888 bytes (50912K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(00) BIOS, date 07/29/05
pcibios at bios0 function 0x1a not configured
bios0: ROM list: 0xc0000/0xe600!
cpu0 at mainbus0: (uniprocessor)
cpu0: Genuine Intel(R) CPU T2300 @ 1.66GHz ("GenuineIntel" 686-class) 1.67 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
cpu0: Enhanced SpeedStep 1000 MHz (1404 mV): unknown EST cpu, no changes possible
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "Intel 82945GM MCH" rev 0x03
vga1 at pci0 dev 2 function 0 "Intel 82945GM Video" rev 0x03: aperture at 0x90380000, size 0x8000000
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
vendor "Intel", unknown product 0x27a3 (class DASP subclass Time and Frequency, rev 0x03) at pci0 dev 7 function 0 not configured
"Intel 82801GB HD Audio" rev 0x02 at pci0 dev 27 function 0 not configured
ppb0 at pci0 dev 28 function 0 "Intel 82801GB PCIE" rev 0x02
pci1 at ppb0 bus 1
skc0 at pci1 dev 0 function 0 "Marvell Yukon 88E8053" rev 0x22, Marvell Yukon-2 EC rev. A3 (0x2): irq 11
sk port A at skc0 not configured
ppb1 at pci0 dev 28 function 1 "Intel 82801GB PCIE" rev 0x02
pci2 at ppb1 bus 2
"Atheros AR5424" rev 0x01 at pci2 dev 0 function 0 not configured
uhci0 at pci0 dev 29 function 0 "Intel 82801GB USB" rev 0x02: irq 11
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1 at pci0 dev 29 function 1 "Intel 82801GB USB" rev 0x02: irq 11
usb1 at uhci1: USB revision 1.0
uhub1 at usb1
uhub1: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2 at pci0 dev 29 function 2 "Intel 82801GB USB" rev 0x02: irq 11
usb2 at uhci2: USB revision 1.0
uhub2 at usb2
uhub2: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
uhci3 at pci0 dev 29 function 3 "Intel 82801GB USB" rev 0x02: irq 10
usb3 at uhci3: USB revision 1.0
uhub3 at usb3
uhub3: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub3: 2 ports with 2 removable, self powered
ehci0 at pci0 dev 29 function 7 "Intel 82801GB USB" rev 0x02: irq 11
usb4 at ehci0: USB revision 2.0
uhub4 at usb4
uhub4: Intel EHCI root hub, rev 2.00/1.00, addr 1
uhub4: 8 ports with 8 removable, self powered
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
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
cd0 at scsibus0 targ 0 lun 0: <matshita , DVD-R UJ-846, FM3J> 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 irq 11 for native-PCI interrupt
wd0 at pciide1 channel 0 drive 1: <st9120821as>
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: irq 11
iic0 at ichiic0
isa0 at ichpcib0
isadma0 at isa0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <pc speaker>
spkr0 at pcppi0
npx0 at isa0 port 0xf0/16: using exception 16
biomask ffff netmask ffff ttymask ffff
pctr: 686-class user-level performance counters enabled
mtrr: Pentium Pro MTRR support
ehci_sync_hc: tsleep() = 35
ehci_sync_hc: tsleep() = 35
ehci_sync_hc: tsleep() = 35
ehci_sync_hc: tsleep() = 35
ehci_sync_hc: tsleep() = 35
ehci_sync_hc: tsleep() = 35
uhub4: device problem, disabling port 3
ehci_sync_hc: tsleep() = 35
ehci_sync_hc: tsleep() = 35
ehci_sync_hc: tsleep() = 35
ehci_sync_hc: tsleep() = 35
ehci_sync_hc: tsleep() = 35
ehci_sync_hc: tsleep() = 35
uhub4: device problem, disabling port 5
uhidev0 at uhub2 port 2 configuration 1 interface 0uhidev1 at uhub3 port 1 configuration 1 interface 0
uhidev1: Apple Computer ADB device, rev 2.00/19.65, addr 2, iclass 3/1


uhidev0: Microsoft Microsoft Wheel Mouse Optical\M-., rev 1.10/1.21, addr 2, iclass 3/1
ukbd0 at uhidev1: 8 modifier keys, 6 key codes
ums0 at uhidev0: 3 buttons and Z dir.
wsmouse0 at ums0 mux 0
wskbd0 at ukbd0: console keyboard, using wsdisplay0
uhidev2 at uhub3 port 1 configuration 1 interface 1
uhidev2: Apple Computer ADB device, rev 2.00/19.65, addr 2, iclass 3/1
ums1 at uhidev2: 5 buttons
wsmouse1 at ums1 mux 0
uhidev3 at uhub3 port 2 configuration 1 interface 0
uhidev3: Apple Computer, Inc. IR Receiver, rev 2.00/1.10, addr 3, iclass 3/0
uhidev3: 38 report ids
uhid0 at uhidev3 reportid 36: input=4, output=0, feature=0
uhid1 at uhidev3 reportid 37: input=4, output=0, feature=0
uhid2 at uhidev3 reportid 38: input=4, output=0, feature=0
dkcsum: wd0 matches BIOS drive 0x80
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302