Size: 1136
Comment:
|
Size: 5143
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
- apt-get install build-essential
- apt-get install libncurses5-dev
Go to: http://www.alsa-project.org/ and dowload latest alsa-driver, alsa-lib, alsa-utils archive.
- tar xjvf alsa-driver-*
- tar xjvf alsa-lib-*
- tar xjvf alsa-utils-*
- cd alsa-driver-*
- ./configure --with-card=hda-intel
- make
- sudo make install
- cd ../alsa-lib-*
- ./configure
- make
- sudo make install
- cd ../alsa-utils-*
- ./configure
- 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://macprolinux.blogspot.com/
Forum Postings
http://ubuntuforums.org/showthread.php?t=553587
http://ubuntuforums.org/showthread.php?t=842100
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