Here comes the kern log:
Code:Nov 19 21:09:51 joesmbp kernel: [ 0.000000] Kernel command line: BOOT_IMAGE=/vmlinuz root=/dev/sda3 video=efifb initcall_debug Nov 19 21:09:51 joesmbp kernel: [ 0.424884] calling efifb_init+0x0/0x1de @ 1 Nov 19 21:09:51 joesmbp kernel: [ 0.424893] efifb: dmi detected MacBookPro4,1 - framebuffer at 00000000c0060000 (1920x1200, stride 8192) Nov 19 21:09:51 joesmbp kernel: [ 0.424912] efifb: probing for efifb Nov 19 21:09:51 joesmbp kernel: [ 0.425873] efifb: framebuffer at 0xc0060000, mapped to 0xffffc90005100000, using 7232k, total 7232k Nov 19 21:09:51 joesmbp kernel: [ 0.425878] efifb: mode is 1440x900x32, linelength=8192, pages=1 Nov 19 21:09:51 joesmbp kernel: [ 0.425880] efifb: scrolling: redraw Nov 19 21:09:51 joesmbp kernel: [ 0.425883] efifb: Truecolor: size=8:8:8:8, shift=24:16:8:0 Nov 19 21:09:51 joesmbp kernel: [ 0.583282] initcall efifb_init+0x0/0x1de returned 0 after 154684 usecs
It seems that the hard-coded resolution for your model in the kernel is not correct. But the other parameters might be wrong as well.
Can you please run the following command under MacOS X :
+ how much RAM do you have ?Code:sudo ioreg -lw0 |grep manufacturer|cut -b25-80;sudo ioreg -lw0|grep "product-name"|cut -b 25-80;sudo dtrace -qn 'BEGIN{boot_args=((struct boot_args*)(`PE_state).bootArgs);printf("FrameBufferBase: 0x%08x\nPixelsPerScanLine: %d\nHorizontalResolution: %d\nVerticalResolution: %d", boot_args->Video.v_baseAddr, boot_args->Video.v_rowBytes/4, boot_args->Video.v_width, boot_args->Video.v_height);exit(0)} '
metatech
Last edited by metatechbe; November 19th, 2010 at 09:29 PM. Reason: RAM
FrameBufferBase and PixelsPerScanLine are correct for your model, only the resolution is not correct. I am not sure it is the cause of the problem.
Maybe in kern.log, another driver takes over the framebuffer/console after efifb, do you see something like this ? Maybe some driver needs to be blacklisted ?
I am running out of ideas... I hope you will find the problem...
metatech
Ok thank you... I'm not quite getting a clue of the log file, it's attached.
Maybe there needs to be done some patching?
Here http://grub.enbug.org/TestingOnMacbook someone that has tested the MBP4,1 writes: Model details of "drivers/video/efifb.c" were wrong and needed patching/recompiling
I also found that this patch is needed: https://help.ubuntu.com/community/Ma...get=e820.patch
Are they really needed? And do I really have to install the latest nvidia drivers (which I did by the way but I'm not sure whether they are "active"
I have found that in the linux-source/drivers/video/efifb.c the line for my MacBookPro 4,1 is wrong:
instead ofCode:[M_MBP_4] = { "mbp4", 0xc0060000, 2048 * 4, 1920, 1200 },
I reckon the config before was for the 17inch modell or just wrong...Code:[M_MBP_4] = { "mbp4", 0xc0060000, 2048 * 4, 1440, 900 },
I'm now recompiling a kernel, it's the first time I'm doing this, it takes ages and well I'll see whether it was successful later :S
tschuliaen,
Is your int10.bin file correct ?
You could also try adding "RenderAccel 0" in xorg.conf…
metatech
Bookmarks