Diff for "MacPro"


Differences between revisions 8 and 9
Revision 8 as of 2009-01-23 15:16:53
Size: 1136
Editor: 138
Comment:
Revision 9 as of 2009-05-20 18:54:54
Size: 5143
Editor: 66-234-43-141
Comment: Nehalem based MacPro progress
Deletions are marked like this. Additions are marked like this.
Line 45: Line 45:
CategoryHardware

This is to update my progress in getting a stable Ubuntu Jaunty amd_64 desktop on a dual processor, nehalem based MacPro(20091.1):

INSTALLATION:
1) I installed on a second drive using the Jaunty (9.x) amd64 desktop CD. My drive had an EFI boot partition and a small (40GB) OSX partition. I created a large ext3 partition
sdb3 and a small swap partition sdb4. I installed the boot loader on the ext partition in the "advanced" section of the partitioning section of the installation routine.

2) Installation was successful but upon rebooting there was a "no operating system" message when i tried to boot ubuntu. I rebooted the installation CD, selected the "run ubuntu with no changes" option. I then:
a) ran gparted and flagged the ubuntu partition as bootable
b) ran grub from the command line and issued the following commands:
root (hd2,0)
setup (hd2,0)
c) booted from the rEFIT .13 cd and selected the "Linux" option.
d) I booted ubuntu and restarted without the rEFIT cd and since then the system has booted without problems.


1) the ethernet adapters in this machine have no drivers in kernel version less than 2.6.30. [for my initial installation i used a wired USB network adapter (Trendnet TU2-ET100) which worked effortlessly using boot discs from ubuntu 8.1x and 9.x

2) using that adapter i installed the packages required to build an ubuntu kernel. and used the ubuntu sources 2.6.28.11. the ubuntu config-2.6.28.11 worked without modification after patching the ethernet drivers. the patch for the pre 2.6.30 e1000e driver is available at http://kerneltrap.org/mailarchive/linux-netdev/2009/3/25/5235664s, but here it is:
----------------------------------------------------------------------------------
Add device ID for a new variant of the 82574 adapter.

Signed-off-by: Bruce Allan <bruce.w.allan@intel.com>
Acked-by: John Ronciak <john.ronciak@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
---

 drivers/net/e1000e/hw.h | 1 +
 drivers/net/e1000e/netdev.c | 1 +
 2 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/drivers/net/e1000e/hw.h b/drivers/net/e1000e/hw.h
index 11a2f20..d8b8229 100644
--- a/drivers/net/e1000e/hw.h
+++ b/drivers/net/e1000e/hw.h
@@ -339,6 +339,7 @@ enum e1e_registers {
 #define E1000_DEV_ID_82573E_IAMT 0x108C
 #define E1000_DEV_ID_82573L 0x109A
 #define E1000_DEV_ID_82574L 0x10D3
+#define E1000_DEV_ID_82574LA 0x10F6
 #define E1000_DEV_ID_82583V 0x150C
 
 #define E1000_DEV_ID_80003ES2LAN_COPPER_DPT 0x1096
diff --git a/drivers/net/e1000e/netdev.c b/drivers/net/e1000e/netdev.c
index f388a01..15424ba 100644
--- a/drivers/net/e1000e/netdev.c
+++ b/drivers/net/e1000e/netdev.c
@@ -5130,6 +5130,7 @@ static struct pci_device_id e1000_pci_tbl[] = {
  { PCI_VDEVICE(INTEL, E1000_DEV_ID_82573L), board_82573 },
 
  { PCI_VDEVICE(INTEL, E1000_DEV_ID_82574L), board_82574 },
+ { PCI_VDEVICE(INTEL, E1000_DEV_ID_82574LA), board_82574 },
  { PCI_VDEVICE(INTEL, E1000_DEV_ID_82583V), board_82583 },
 
  { PCI_VDEVICE(INTEL, E1000_DEV_ID_80003ES2LAN_COPPER_DPT),
------------------------------------------------------------------------------

the ubuntu kernel config-2.6.28.11-generic provided working ethernet after patching the e1000e drivers. (there is a kernel config that can be used as a starting point at http://wiki.debian.org/DebianOnIntelMacPro but will require lots of modification to get it working properly on the 2009.1 model MacPro)

3) the only sound card driver that is required is snd_hda_intel. it should be compiled as a module.
adding the line
"options snd-hda-intel model=imac24" to /etc/modprobe.d/alsa-base.conf will provide sound output from the rear analog output but not from the front.

4) the nvidia v180 drivers installed and worked fine for X, but the console will be flaky unless you build "vesafb" into the kernel and use a boot option that provides 1024x768 resolution

----

This Page needs an owner! Adopt Me!

Sound

For HDA intel sound

  1. apt-get install build-essential
  2. apt-get install libncurses5-dev
  3. Go to: http://www.alsa-project.org/ and dowload latest alsa-driver, alsa-lib, alsa-utils archive.

  4. tar xjvf alsa-driver-*
  5. tar xjvf alsa-lib-*
  6. tar xjvf alsa-utils-*
  7. cd alsa-driver-*
  8. ./configure --with-card=hda-intel
  9. make
  10. sudo make install
  11. cd ../alsa-lib-*
  12. ./configure
  13. make
  14. sudo make install
  15. cd ../alsa-utils-*
  16. ./configure
  17. sudo make install

Currently Only the back sound output port is working properly. The front audio port does not output at full volume.

Video

There are lots of artifacts. Using ATI drivers. During boot, the splash screen has a bunch of white flickering pixels.

Multiple Hard Disks

http://wiki.debian.org/DebianOnIntelMacPro#line-187

Other

http://mindbat.com/?p=30

http://macprolinux.blogspot.com/

Forum Postings

http://ubuntuforums.org/showthread.php?t=553587

http://ubuntuforums.org/showthread.php?t=842100


CategoryMac CategoryHardware

This is to update my progress in getting a stable Ubuntu Jaunty amd_64 desktop on a dual processor, nehalem based MacPro(20091.1):

INSTALLATION: 1) I installed on a second drive using the Jaunty (9.x) amd64 desktop CD. My drive had an EFI boot partition and a small (40GB) OSX partition. I created a large ext3 partition sdb3 and a small swap partition sdb4. I installed the boot loader on the ext partition in the "advanced" section of the partitioning section of the installation routine.

2) Installation was successful but upon rebooting there was a "no operating system" message when i tried to boot ubuntu. I rebooted the installation CD, selected the "run ubuntu with no changes" option. I then: a) ran gparted and flagged the ubuntu partition as bootable b) ran grub from the command line and issued the following commands: root (hd2,0) setup (hd2,0) c) booted from the rEFIT .13 cd and selected the "Linux" option. d) I booted ubuntu and restarted without the rEFIT cd and since then the system has booted without problems.

1) the ethernet adapters in this machine have no drivers in kernel version less than 2.6.30. [for my initial installation i used a wired USB network adapter (Trendnet TU2-ET100) which worked effortlessly using boot discs from ubuntu 8.1x and 9.x

2) using that adapter i installed the packages required to build an ubuntu kernel. and used the ubuntu sources 2.6.28.11. the ubuntu config-2.6.28.11 worked without modification after patching the ethernet drivers. the patch for the pre 2.6.30 e1000e driver is available at http://kerneltrap.org/mailarchive/linux-netdev/2009/3/25/5235664s, but here it is:


Add device ID for a new variant of the 82574 adapter.

Signed-off-by: Bruce Allan <bruce.w.allan@intel.com> Acked-by: John Ronciak <john.ronciak@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com> ---

  • drivers/net/e1000e/hw.h | 1 + drivers/net/e1000e/netdev.c | 1 + 2 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/drivers/net/e1000e/hw.h b/drivers/net/e1000e/hw.h index 11a2f20..d8b8229 100644 --- a/drivers/net/e1000e/hw.h +++ b/drivers/net/e1000e/hw.h @@ -339,6 +339,7 @@ enum e1e_registers {

  • #define E1000_DEV_ID_82573E_IAMT 0x108C #define E1000_DEV_ID_82573L 0x109A #define E1000_DEV_ID_82574L 0x10D3

+#define E1000_DEV_ID_82574LA 0x10F6

  • #define E1000_DEV_ID_82583V 0x150C #define E1000_DEV_ID_80003ES2LAN_COPPER_DPT 0x1096

diff --git a/drivers/net/e1000e/netdev.c b/drivers/net/e1000e/netdev.c index f388a01..15424ba 100644 --- a/drivers/net/e1000e/netdev.c +++ b/drivers/net/e1000e/netdev.c @@ -5130,6 +5130,7 @@ static struct pci_device_id e1000_pci_tbl[] = {

  • { PCI_VDEVICE(INTEL, E1000_DEV_ID_82573L), board_82573 }, { PCI_VDEVICE(INTEL, E1000_DEV_ID_82574L), board_82574 },

+ { PCI_VDEVICE(INTEL, E1000_DEV_ID_82574LA), board_82574 },

  • { PCI_VDEVICE(INTEL, E1000_DEV_ID_82583V), board_82583 }, { PCI_VDEVICE(INTEL, E1000_DEV_ID_80003ES2LAN_COPPER_DPT),


the ubuntu kernel config-2.6.28.11-generic provided working ethernet after patching the e1000e drivers. (there is a kernel config that can be used as a starting point at http://wiki.debian.org/DebianOnIntelMacPro but will require lots of modification to get it working properly on the 2009.1 model MacPro)

3) the only sound card driver that is required is snd_hda_intel. it should be compiled as a module. adding the line "options snd-hda-intel model=imac24" to /etc/modprobe.d/alsa-base.conf will provide sound output from the rear analog output but not from the front.

4) the nvidia v180 drivers installed and worked fine for X, but the console will be flaky unless you build "vesafb" into the kernel and use a boot option that provides 1024x768 resolution


MacPro (last edited 2015-10-15 08:57:07 by http-hide)