public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] need help with x86_64 on MacBook Pro
@ 2007-04-19 11:20 cremes.devlist
  2007-04-19 12:14 ` Matthew Daubenspeck
  0 siblings, 1 reply; 4+ messages in thread
From: cremes.devlist @ 2007-04-19 11:20 UTC (permalink / raw
  To: gentoo-user

Hi, new Gentoo user here (but not new to the wonderful world of unix).

A few weeks ago I installed Gentoo into Parallels under OSX on my  
MacBook Pro (rev 2, Core2Duo) to start familiarizing myself with the  
system. I liked it well enough that I decided to get in a little  
deeper and experiment with the x86_64 release. My MBPro is capable of  
running it so I repartitioned my drive and was off to the races.

I've been following the great instructions on the wiki posted here  
[1] using the minimal install CD with the 2006.1 profile. However,  
the instructions there primarily focus on the 32-bit release. I  
coupled those instructions with the Gentoo Handbook for x86_64 to  
cover the areas that the wiki (rightly) left out [2]. The goal was to  
install a pure 64-bit non-multilib system to use as a base for a Xen  
Dom0 (I switched to the non-multilib profile in my chroot).

The MacBook installation instructions contained pointers to some  
internal [3] and external [4] sources which were helpful. These other  
pages mostly focus on doing a 32-bit install so I've been searching  
high and low for a kernel.config for a 64-bit build known to work on  
a MacBook Pro. I tried creating one myself but it doesn't boot. Grub  
(0.97 installed via "emerge grub-static" per the handbook) displays  
my customized 2.6.20 + mactel patched kernel but the boot attempt  
results in a black screen and no hard drive activity. I'm at a bit of  
a loss to troubleshoot this.

Anyone have a working kernel.config for x86_64 that they can point me  
to? I'd be happy to update the wiki to include more specific  
instructions related to x86_64 once I get a working system.

Thanks for your help.

cr

[1] http://gentoo-wiki.com/HARDWARE_Apple_MacBook
[2] http://www.gentoo.org/doc/en/handbook/handbook-amd64.xml
[3] http://gentoo-wiki.com/HARDWARE_Apple_MacBook/Configuration_Files
[4] http://www.odi.ch/prog/macbookpro/index.php
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] need help with x86_64 on MacBook Pro
  2007-04-19 11:20 [gentoo-user] need help with x86_64 on MacBook Pro cremes.devlist
@ 2007-04-19 12:14 ` Matthew Daubenspeck
  2007-04-19 23:52   ` cremes.devlist
  0 siblings, 1 reply; 4+ messages in thread
From: Matthew Daubenspeck @ 2007-04-19 12:14 UTC (permalink / raw
  To: gentoo-user

On Thu, Apr 19, 2007 at 06:20:37AM -0500, cremes.devlist@mac.com wrote:
>  Hi, new Gentoo user here (but not new to the wonderful world of unix).
> 
>  A few weeks ago I installed Gentoo into Parallels under OSX on my MacBook 
>  Pro (rev 2, Core2Duo) to start familiarizing myself with the system. I liked 
>  it well enough that I decided to get in a little deeper and experiment with 
>  the x86_64 release. My MBPro is capable of running it so I repartitioned my 
>  drive and was off to the races.
> 
>  I've been following the great instructions on the wiki posted here [1] using 
>  the minimal install CD with the 2006.1 profile. However, the instructions 
>  there primarily focus on the 32-bit release. I coupled those instructions 
>  with the Gentoo Handbook for x86_64 to cover the areas that the wiki 
>  (rightly) left out [2]. The goal was to install a pure 64-bit non-multilib 
>  system to use as a base for a Xen Dom0 (I switched to the non-multilib 
>  profile in my chroot).
> 
>  The MacBook installation instructions contained pointers to some internal 
>  [3] and external [4] sources which were helpful. These other pages mostly 
>  focus on doing a 32-bit install so I've been searching high and low for a 
>  kernel.config for a 64-bit build known to work on a MacBook Pro. I tried 
>  creating one myself but it doesn't boot. Grub (0.97 installed via "emerge 
>  grub-static" per the handbook) displays my customized 2.6.20 + mactel 
>  patched kernel but the boot attempt results in a black screen and no hard 
>  drive activity. I'm at a bit of a loss to troubleshoot this.
> 
>  Anyone have a working kernel.config for x86_64 that they can point me to? 
>  I'd be happy to update the wiki to include more specific instructions 
>  related to x86_64 once I get a working system.
> 
>  Thanks for your help.
> 
>  cr

http://gentoo-wiki.com/HARDWARE_Apple_MacBook/Configuration_Files#Kernel_.config

Works perfectly for me, although I ditched 64 bit for 32 because of
ndiswrapper for wireless. The madwifi-ng people are working on getting
the wireless working and have a beta trunk in the works. However, that
(as far as I know) does not work with any type of encryption just yet.

-- 
  Matthew Daubenspeck
  http://oddprocess.org

Gentoo Linux x86_64 Dual Core AMD Opteron(tm) Processor 165
08:11:58 up 75 days, 21:59, 1 user, load average: 0.00, 0.01, 0.00
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] need help with x86_64 on MacBook Pro
  2007-04-19 12:14 ` Matthew Daubenspeck
@ 2007-04-19 23:52   ` cremes.devlist
  2007-04-20  4:19     ` cremes.devlist
  0 siblings, 1 reply; 4+ messages in thread
From: cremes.devlist @ 2007-04-19 23:52 UTC (permalink / raw
  To: gentoo-user


On Apr 19, 2007, at 7:14 AM, Matthew Daubenspeck wrote:

> On Thu, Apr 19, 2007 at 06:20:37AM -0500, cremes.devlist@mac.com  
> wrote:
>> snip
>>  The MacBook installation instructions contained pointers to some  
>> internal
>>  [3] and external [4] sources which were helpful. These other  
>> pages mostly
>>  focus on doing a 32-bit install so I've been searching high and  
>> low for a
>>  kernel.config for a 64-bit build known to work on a MacBook Pro.  
>> I tried
>>  creating one myself but it doesn't boot. Grub (0.97 installed via  
>> "emerge
>>  grub-static" per the handbook) displays my customized 2.6.20 +  
>> mactel
>>  patched kernel but the boot attempt results in a black screen and  
>> no hard
>>  drive activity. I'm at a bit of a loss to troubleshoot this.
> (snip)

> http://gentoo-wiki.com/HARDWARE_Apple_MacBook/ 
> Configuration_Files#Kernel_.config
>
> Works perfectly for me, although I ditched 64 bit for 32 because of
> ndiswrapper for wireless. The madwifi-ng people are working on getting
> the wireless working and have a beta trunk in the works. However, that
> (as far as I know) does not work with any type of encryption just yet.

So are you saying it is not necessary to have CONFIG_X86_64=y in the  
kernel configuration file to get a 64-bit system? I know I'm exposing  
my ignorance here but it seems odd that the kernel config you pointed  
me to on the wiki will produce a 64-bit kernel when all the config  
lines specify 32-bit.

??

cr
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] need help with x86_64 on MacBook Pro
  2007-04-19 23:52   ` cremes.devlist
@ 2007-04-20  4:19     ` cremes.devlist
  0 siblings, 0 replies; 4+ messages in thread
From: cremes.devlist @ 2007-04-20  4:19 UTC (permalink / raw
  To: gentoo-user


On Apr 19, 2007, at 6:52 PM, cremes.devlist@mac.com wrote:

>
> On Apr 19, 2007, at 7:14 AM, Matthew Daubenspeck wrote:
>
>> On Thu, Apr 19, 2007 at 06:20:37AM -0500, cremes.devlist@mac.com  
>> wrote:
>>> snip
>>>  The MacBook installation instructions contained pointers to some  
>>> internal
>>>  [3] and external [4] sources which were helpful. These other  
>>> pages mostly
>>>  focus on doing a 32-bit install so I've been searching high and  
>>> low for a
>>>  kernel.config for a 64-bit build known to work on a MacBook Pro.  
>>> I tried
>>>  creating one myself but it doesn't boot. Grub (0.97 installed  
>>> via "emerge
>>>  grub-static" per the handbook) displays my customized 2.6.20 +  
>>> mactel
>>>  patched kernel but the boot attempt results in a black screen  
>>> and no hard
>>>  drive activity. I'm at a bit of a loss to troubleshoot this.
>> (snip)
>
>> http://gentoo-wiki.com/HARDWARE_Apple_MacBook/ 
>> Configuration_Files#Kernel_.config
>>
>> Works perfectly for me, although I ditched 64 bit for 32 because of
>> ndiswrapper for wireless. The madwifi-ng people are working on  
>> getting
>> the wireless working and have a beta trunk in the works. However,  
>> that
>> (as far as I know) does not work with any type of encryption just  
>> yet.
>
> So are you saying it is not necessary to have CONFIG_X86_64=y in  
> the kernel configuration file to get a 64-bit system? I know I'm  
> exposing my ignorance here but it seems odd that the kernel config  
> you pointed me to on the wiki will produce a 64-bit kernel when all  
> the config lines specify 32-bit.

While I still have that question, I was able to successfully boot and  
install the kernel. According to "file /usr/bin/*" everything is a 64- 
bit executable so I'll assume the kernel is too.

Thanks for your help.

cr

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-04-20  4:25 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-19 11:20 [gentoo-user] need help with x86_64 on MacBook Pro cremes.devlist
2007-04-19 12:14 ` Matthew Daubenspeck
2007-04-19 23:52   ` cremes.devlist
2007-04-20  4:19     ` cremes.devlist

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox