Howto install fedora 11 to Mac Pro 2008

Fedora 11 can be easily installed to a new internal disk by simply booting from the fedora installation media.
I tried with disks connect to 2 hidden internal sata ports (connect to 2 esata extendor ) but disks can’t be found when booting with the installation DVD. If I change the bootable fedora from internal disk 4 to connect with esata 5 or 6, it fails to boot. It can’t even be rescued with the DVD unless I reconnect with bay 4 again.

So the extra internal sata5 and sata6 can only be recognized by mac but not fedora 11. Is it a bug with fedora 11 because it does not expect I will use sata5 and sata6?

Note:
The Mac Pro has 1 P-ATA port (for up to two P-ATA devices) and a total of 6 SATA ports, 4 integrated in to the drive bays, and two internal SATA ports that are not connected to drive bays. These extra SATA ports can be put into service through the use of after-market extender cables, for use with internal Optical drives, or to provide eSATA ports with the use of an eSATA bulkhead connector.

Running Fedora 11 with Mac Pro 2008

Finally I can post this using Fedora 11 x86_64 running on Mac Pro 2008

Initializing cgroup subsys cpuset
Initializing cgroup subsys cpu
Linux version 2.6.29.6-217.2.3.fc11.x86_64 (mockbuild@x86-4.fedora.phx.redhat.com) (gcc version 4.4.0 20090506 (Red Hat 4.4.0-4) (GCC) ) #1 SMP Wed Jul 29 16:02:42 EDT 2009
Command line: ro root=/dev/mapper/VolGroup-lv_root rhgb quiet
KERNEL supported cpus:
Intel GenuineIntel
AMD AuthenticAMD
Centaur CentaurHauls
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 – 000000000009fc00 (usable)
BIOS-e820: 000000000009fc00 – 00000000000a0000 (reserved)
BIOS-e820: 00000000000e0000 – 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 – 000000007f67f000 (usable)
BIOS-e820: 000000007f67f000 – 000000007f6f5000 (ACPI NVS)
BIOS-e820: 000000007f6f5000 – 000000007f991000 (ACPI data)
BIOS-e820: 000000007f991000 – 000000007f995000 (reserved)
BIOS-e820: 000000007f995000 – 000000007fc00000 (ACPI data)
BIOS-e820: 000000007fc00000 – 0000000080000000 (reserved)
BIOS-e820: 00000000ffe00000 – 0000000100000000 (reserved)
BIOS-e820: 0000000100000000 – 0000000200000000 (usable)
DMI 2.4 present.
last_pfn = 0x200000 max_arch_pfn = 0x100000000
x86 PAT enabled: cpu 0, old 0x7040600070406, new 0x7010600070106
original variable MTRRs
reg 0, base: 2GB, range: 2GB, type UC
reg 1, base: 2044MB, range: 4MB, type UC
reg 2, base: 0GB, range: 64GB, type WB
total RAM coverred: 63484M
Found optimal setting for mtrr clean up
gran_size: 64K chunk_size: 8M num_reg: 6 lose cover RAM: 0G
New variable MTRRs
reg 0, base: 0GB, range: 2GB, type WB
reg 1, base: 2044MB, range: 4MB, type UC
reg 2, base: 4GB, range: 4GB, type WB
reg 3, base: 8GB, range: 8GB, type WB
reg 4, base: 16GB, range: 16GB, type WB
reg 5, base: 32GB, range: 32GB, type WB
x86 PAT enabled: cpu 0, old 0x7040600070406, new 0x7010600070106
last_pfn = 0x7f67f max_arch_pfn = 0x100000000
init_memory_mapping: 0000000000000000-000000007f67f000
0000000000 – 007f600000 page 2M
007f600000 – 007f67f000 page 4k
kernel direct mapping tables up to 7f67f000 @ 8000-c000
last_map_addr: 200000000 end: 200000000
RAMDISK: 37c61000 – 37fef0ce
ACPI: RSDP 000FE020, 0024 (r2 APPLE )
ACPI: XSDT 7F7441C0, 00F4 (r1 APPLE Apple00 6C 1000013)
ACPI: FACP 7F740000, 00F4 (r4 APPLE Apple00 6C Loki 5F)
FADT: X_PM1a_EVT_BLK.bit_width (16) does not match PM1_EVT_LEN (4)
ACPI: DSDT 7F737000, 49CC (r1 APPLE Apple00 10001 Loki 5F)
ACPI: FACS 7F68B000, 0040
ACPI: ECDT 7F742000, 0053 (r1 APPLE Apple00 1 Loki 5F)
ACPI: HPET 7F73F000, 0038 (r1 APPLE Apple00 1 Loki 5F)
ACPI: APIC 7F73D000, 00BC (r2 APPLE Apple00 0 Loki 5F)
ACPI: MCFG 7F73C000, 003C (r1 APPLE Apple00 1 Loki 5F)
ACPI: SSDT 7F736000, 0146 (r1 PmRef Cpu0Cst 3001 INTL 20061109)
ACPI: SSDT 7F735000, 034B (r1 CPUPST Cpu0Ist 12 INTL 20061109)

CentOS 5.2 now support PMP SIL3124

It can’t be until CentOS 5.2. As there is bug to use VMServer 2.0 in Fedora 9 which support PMP SIL3124 with my CFI enclosure, I fall back to use the stable CentOS 5.2 which work perfect with VMServer 2.0.

I can have rock solid stable host running CentOS 5.2 which allow me to extend my storage with PMP SIL3124 linked up with CFI enclosure to build RAID5. Then install VM Server 2.0 to test different OS.

Compile VirtualBox from source with Fedora 9

Follow build instructions http://www.virtualbox.org/wiki/Linux%20build%20instructions

use the following commands:

svn co http://virtualbox.org/svn/vbox/trunk vbox
cd vbox/
su root -c ‘yum install compat-gcc-34-c++’
su root -c ‘yum install libxml2-devel.i386’
su root -c ‘yum install libxslt-devel.i386’
su root -c ‘yum install libIDL-devel’
su root -c ‘yum install libpng-devel’
su root -c ‘yum install SDL-devel’
su root -c ‘yum install libXcursor-devel’
su root -c ‘yum install qt3-devel’
su root -c ‘yum install qt4-devel’
su root -c ‘yum install kernel-devel’
su root -c ‘yum install pulseaudio-libs-devel’
./configure –with-gcc-compat=gcc34
source env.sh
kmk all

install the following packages in Fedora 9 i386

pulseaudio-libs-devel-0.9.10-1.fc9 Sun 22 Jun 2008 10:37:42 AM HKT
pulseaudio-libs-zeroconf-0.9.10-1.fc9 Sun 22 Jun 2008 10:37:34 AM HKT
kernel-devel-2.6.25.6-55.fc9 Sun 22 Jun 2008 10:35:38 AM HKT
qt-devel-4.3.5-2.fc9 Sun 22 Jun 2008 10:34:37 AM HKT
qt-x11-4.3.5-2.fc9 Sun 22 Jun 2008 10:34:29 AM HKT
qt-4.3.5-2.fc9 Sun 22 Jun 2008 10:34:25 AM HKT
nas-libs-1.9.1-4.fc9 Sun 22 Jun 2008 10:34:24 AM HKT
redhat-rpm-config-9.0.2-1.fc9 Sun 22 Jun 2008 10:34:23 AM HKT
libXfixes-devel-4.0.3-3.fc9 Sun 22 Jun 2008 10:34:23 AM HKT
libXi-devel-1.1.3-4.fc9 Sun 22 Jun 2008 10:34:22 AM HKT
qt3-devel-3.3.8b-12.fc9 Sun 22 Jun 2008 10:33:47 AM HKT
qt3-3.3.8b-12.fc9 Sun 22 Jun 2008 10:33:38 AM HKT
libXt-devel-1.0.4-5.fc9 Sun 22 Jun 2008 10:33:35 AM HKT
libXinerama-devel-1.0.3-1.fc9 Sun 22 Jun 2008 10:33:34 AM HKT
libXft-devel-2.1.12-5.fc9 Sun 22 Jun 2008 10:33:34 AM HKT
libSM-devel-1.0.2-5.fc9 Sun 22 Jun 2008 10:33:33 AM HKT
libmng-devel-1.0.9-6.1 Sun 22 Jun 2008 10:33:33 AM HKT
libmng-1.0.9-6.1 Sun 22 Jun 2008 10:33:32 AM HKT
libICE-devel-1.0.4-3.fc9 Sun 22 Jun 2008 10:33:32 AM HKT
libjpeg-devel-6b-41.fc9 Sun 22 Jun 2008 10:33:31 AM HKT
fontconfig-devel-2.5.0-2.fc9 Sun 22 Jun 2008 10:33:28 AM HKT
freetype-devel-2.3.5-6.fc9 Sun 22 Jun 2008 10:33:26 AM HKT
libXcursor-devel-1.1.9-2.fc9 Sun 22 Jun 2008 10:32:54 AM HKT
SDL-devel-1.2.13-3.fc9 Sun 22 Jun 2008 10:32:18 AM HKT
mesa-libGLU-devel-7.1-0.31.fc9 Sun 22 Jun 2008 10:32:16 AM HKT
libXrender-devel-0.9.4-3.fc9 Sun 22 Jun 2008 10:32:16 AM HKT
libXext-devel-1.0.4-1.fc9 Sun 22 Jun 2008 10:32:15 AM HKT
libX11-devel-1.1.4-1.fc9 Sun 22 Jun 2008 10:32:12 AM HKT
libXdmcp-devel-1.0.2-5.fc9 Sun 22 Jun 2008 10:32:10 AM HKT
libXrandr-devel-1.2.2-3.fc9 Sun 22 Jun 2008 10:32:09 AM HKT
xorg-x11-proto-devel-7.3-12.fc9 Sun 22 Jun 2008 10:32:08 AM HKT
libXau-devel-1.0.3-5.fc9 Sun 22 Jun 2008 10:32:07 AM HKT
mesa-libGL-devel-7.1-0.31.fc9 Sun 22 Jun 2008 10:32:04 AM HKT
SDL-1.2.13-3.fc9 Sun 22 Jun 2008 10:32:01 AM HKT
alsa-lib-devel-1.0.16-3.fc9 Sun 22 Jun 2008 10:31:58 AM HKT
libxcb-devel-1.1-4.fc9 Sun 22 Jun 2008 10:31:56 AM HKT
automake-1.10.1-2 Sun 22 Jun 2008 10:31:53 AM HKT
libpng-devel-1.2.29-1.fc9 Sun 22 Jun 2008 10:31:09 AM HKT
libIDL-devel-0.8.10-2.fc9 Sun 22 Jun 2008 10:30:40 AM HKT
glib2-devel-2.16.3-5.fc9 Sun 22 Jun 2008 10:30:37 AM HKT
libxslt-devel-1.1.24-1.fc9 Sun 22 Jun 2008 10:30:09 AM HKT
libgpg-error-devel-1.6-2 Sun 22 Jun 2008 10:30:08 AM HKT
libgcrypt-devel-1.4.0-3 Sun 22 Jun 2008 10:30:08 AM HKT
libxml2-devel-2.6.32-2.fc9 Sun 22 Jun 2008 10:29:39 AM HKT
zlib-devel-1.2.3-18.fc9 Sun 22 Jun 2008 10:29:37 AM HKT
compat-gcc-34-c++-3.4.6-9 Sun 22 Jun 2008 10:27:16 AM HKT
compat-gcc-34-3.4.6-9 Sun 22 Jun 2008 10:27:02 AM HKT
iasl-20061109-4.fc9 Sun 22 Jun 2008 09:17:32 AM HKT
dev86-0.16.17-9.fc9 Sun 22 Jun 2008 09:16:24 AM HKT
gcc-c++-4.3.0-8 Sun 22 Jun 2008 09:14:15 AM HKT
libstdc++-devel-4.3.0-8 Sun 22 Jun 2008 09:14:08 AM HKT

But get the following errors:

vbox/src/VBox/Additions/x11/xclient/seamless-x11.cpp:188: error: ‘XmuClientWindow’ was not declared in this scope
kmk[3]: *** [vbox/out/linux.x86/release/obj/src/VBox/Additions/VBoxClient/seamless-x11.o] Error 1
The failing command:
@g++ -c -O2 -g -Wall -pedantic -Wno-long-long -Wno-trigraphs -Wno-variadic-macros -pipe -O2 -mtune=generic -fno-omit-frame-pointer -fno-strict-aliasing -fvisibility-inlines-hidden -fvisibility=hidden -DVBOX_HAVE_VISIBILITY_HIDDEN -m32 -Ivbox/include -Ivbox/out/linux.x86/release -DVBOX -DVBOX_OSE -DRT_OS_LINUX -D_FILE_OFFSET_BITS=64 -DRT_ARCH_X86 -D__X86__ -DIN_RING3 -DHC_ARCH_BITS=32 -DGC_ARCH_BITS=32 -DIN_GUEST -DIN_GUEST_R3 -DIN_RT_R3 -DVBOX_X11_CLIPBOARD -DVBOX_HGCM -DSEAMLESS_GUEST -DDYNAMIC_RESIZE -D_GNU_SOURCE -Wp,-MD,vbox/out/linux.x86/release/obj/src/VBox/Additions/VBoxClient/seamless-x11.o.dep -Wp,-MT,vbox/out/linux.x86/release/obj/src/VBox/Additions/VBoxClient/seamless-x11.o -Wp,-MP -o vbox/out/linux.x86/release/obj/src/VBox/Additions/VBoxClient/seamless-x11.o vbox/src/VBox/Additions/x11/xclient/seamless-x11.cpp
kmk[3]: Leaving directory `vbox/src/VBox/Additions’
kmk[2]: *** [pass_binaries_before] Error 2
kmk[2]: Leaving directory `vbox/src/VBox’
kmk[1]: *** [pass_binaries_before] Error 2
kmk[1]: Leaving directory `vbox/src’
kmk: *** [pass_binaries_before] Error 2

During the configure, it won’t check for dependence of libXmu-devel

su root -c ‘yum install libXmu-devel’

and it works!

Stardom NAS – gentoo

don’t like the Gemini Linux 2.6.15 that come with STARDOM-NAS. enable the telnet by using the non-documented telnet.cgi

http://ip/cgi/telnet/telnet.cgi

Now can telnet into the box. Then find the good documents http://nas-2000.org/mwiki/index.php?title=HowTo_Compile_Programs_on_the_NAS
The document need some update basically the below won’t work. Just ignore it.
ln -s usr/portage/profiles/default-linux/arm/ etc/make.profile

Also need to create etc/resolv.conf. Also the tar -xjvpf ../stage3-armv4l-2005.1.tar.bz2 inside the NAS not working quite well. So using the NFS mount to the NAS and bzip2 -dc stage3-armv4l-2005.1.tar.bz2 | tar xvf – from the nfs client that come with Linux/MacOS.
There are still some error regarding /dev/??? during tar bunzip2 which can be ignored.
Still running gentoo

emerge –sync
If result is good, will check in to http://osstools.svn.sourceforge.net

NAS

Bought a Stardom SL3620-2S-SB2 on 31 Jul 2007

It had firmware upgrade in http://www.shooting.com.hk/download.php?pr_id=50

After downloading the firmware, unzip, get the following information from of the inside file. Search SL3516 from Google and realize it uses Gemini SL3516 Network Processor which is a Single 32-bit 400MIPS ARM9 RISC processor. It use MontaVista Linux 2.6 as its operating system

UpgradeImages=”zImage rd.gz hddapp.tgz”
productName=”SL3620-2S-LB2″
hardwareName=”SL3516 Verification Board”
productVendor=”RAIDON Technology INC..”
manufacturerURL=”http://www.stardom.com.tw”
Description=”STARDOMNAS”
hostname=”STARDOM-NAS”
softwareVersion=”2.6.0-n”
TSS=”enabled”
DIRECT_MODE=”disabled”
Raid_Support=”raid0_raid1″
RaidTestDiskSize=”0″
DEFAULT_LAN_IPADDR=”192.168.1.1″
DEFAULT_LAN_NETMASK=”255.255.255.0″
DEFAULT_LAN_BOOTPROTO=”dhcp”
DEFAULT_WAN_BOOTPROTO=”none”
DEFAULT_WAN_ENABLED=”no”
DEFAULT_WLAN_DEVICENAME=”ra0″
DEFAULT_LAN_DEVICENAME=”eth0″
DEFAULT_HW_LAN_DEVICENAME=”eth0″
DEFAULT_WAN_DEVICENAME=”eth1″
DEFAULT_HW_WAN_DEVICENAME=”eth1″
SUPPORT_FILESYSTEM=”ext2_ext3_fat32″
SUPPORT_ENCRYPT_FILESYSTEM=”ext2″
DEFAULT_DHCP_ENABLED=”0″
SUPPORT_CODEPAGE=”CP437_CP950_CP936_CP1145_CP1250_CP1252_CP932_CP949″
DEFAULT_SERVER_CODEPAGE=”CP950″
FACTORY_RESET_ADMIN=”0″

Skype for Fedora 7

You need the following to run Skype. You have to find libsigc++20 somewhere because it does not include in Fedora 7

  1. skype-1.4.0.74-fc5
  2. qt4-x11-4.3.0-2.fc7
  3. nas-1.9-2.fc7
  4. qt4-4.3.0-2.fc7
  5. libsigc++20-2.0.17-2