Page 43 of 123 FirstFirst ... 3341424344455393 ... LastLast
Results 421 to 430 of 1226

Thread: grub2 EFI boot loader internal/external booting

  1. #421
    Join Date
    Apr 2006
    Beans
    Hidden!
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: grub2 EFI boot loader internal/external booting

    Quote Originally Posted by bean123 View Post
    Please try this one.
    That is good for video=efifb on both MBP41 and IMAC81, results for MBP41 attached, I will add pic for result for IMAC81.
    Done.
    Attached Images Attached Images
    Last edited by pxwpxw; March 18th, 2009 at 03:02 PM.

  2. #422
    Join Date
    May 2007
    Beans
    465

    Re: grub2 EFI boot loader internal/external booting

    Quote Originally Posted by pxwpxw View Post
    That is good for video=efifb on both MBP41 and IMAC81, results for MBP41 attached, I will add pic for result for IMAC81.
    Done.
    Oh, I see they both have a ROM address, perhaps loadbios is not needed in the first place, you can use hexdump to check it:

    hexdump -s 0xd0500000 (mem)
    and
    hexdump -s 0xd3000000 (mem)

    Also, could you boot to desktop without loadbios ?

  3. #423
    Join Date
    May 2007
    Beans
    465

    Re: grub2 EFI boot loader internal/external booting

    Hi pxwpxw,

    I make some discovery when browsing through x.org source code, it uses the interrupt table to find video rom segment. I've updated loadbios command to add this information, please see if it helps to start desktop properly.
    Attached Files Attached Files

  4. #424
    Join Date
    Apr 2006
    Beans
    Hidden!
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: grub2 EFI boot loader internal/external booting

    Quote Originally Posted by bean123 View Post
    Oh, I see they both have a ROM address, perhaps loadbios is not needed in the first place, you can use hexdump to check it:

    hexdump -s 0xd0500000 (mem)
    and
    hexdump -s 0xd3000000 (mem)
    hexdump for both returns all ff,
    Checked for range 0x10000

    Also, could you boot to desktop without loadbios ?
    On MBP41 with ubuntu 810, 2.6.27 kernel, nvidia's 180 driver -
    (the xorg nv driver does not seem to work).

    I can get to desktop without loadbios, without fbdev,

    BUT
    backlight is at lowest level (same as dropping it to lowest level on Mac OSX using the F1 key).
    Not possible to see cursor or text, only large white objects.
    I can blind login to the graphical login and see that is goes from there then impossible to see detail.

    So I think it is the backlight control, not a graphics problem.

    No backlight problem for pc boot, or for efi boot with video=efifb and xorg fbdev.

    On IMAC81 the best so far (only with the xorg radeonhd driver) was an xorg startup graphics screen with the X shaped mouse cursor, not movable, briefly, then it rebooted. Nothing like the MBP41.

    But now I will try your latest grub.efi.
    Last edited by pxwpxw; March 19th, 2009 at 03:17 AM. Reason: blind login

  5. #425
    Join Date
    Apr 2006
    Beans
    Hidden!
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: grub2 EFI boot loader internal/external booting

    Quote Originally Posted by bean123 View Post
    Hi pxwpxw,

    I make some discovery when browsing through x.org source code, it uses the interrupt table to find video rom segment. I've updated loadbios command to add this information, please see if it helps to start desktop properly.
    Cant see any change for MBP41, still the black desktop as above,
    Imac81 Xorg log seems to have stopped short with no errors, atached it but I dont think anything changed, need to go over it. Have to sleep now.
    Attached Files Attached Files

  6. #426
    Join Date
    May 2007
    Beans
    465

    Re: grub2 EFI boot loader internal/external booting

    Quote Originally Posted by pxwpxw View Post
    Cant see any change for MBP41, still the black desktop as above,
    Imac81 Xorg log seems to have stopped short with no errors, atached it but I dont think anything changed, need to go over it. Have to sleep now.
    From the log file, I guess the problem is in vbe:

    Previously:
    (EE) fglrx(0): V_BIOS address 0x0 out of range
    (WW) fglrx(0): GetVBEMode failed
    (II) fglrx(0): ATI Video BIOS revision 9 or later detected

    Now:
    (II) fglrx(0): Primary V_BIOS segment is: 0xc000
    (II) Loading sub module "vbe"
    (II) LoadModule: "vbe"

    Now that I fake the V_BIOS segment, it expects VESA BIOS to be working, which is not the case. While previously, V_BIOS fails, so it falls back to default handling. I notice that radeonhd don't use vbe, perhaps it would go futher.

    Also, please try nv driver in mbp41.
    Last edited by bean123; March 18th, 2009 at 06:12 PM.

  7. #427
    Join Date
    Apr 2006
    Beans
    Hidden!
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: grub2 EFI boot loader internal/external booting

    Quote Originally Posted by bean123 View Post
    From the log file, I guess the problem is in vbe:

    Previously:
    (EE) fglrx(0): V_BIOS address 0x0 out of range
    (WW) fglrx(0): GetVBEMode failed
    (II) fglrx(0): ATI Video BIOS revision 9 or later detected

    Now:
    (II) fglrx(0): Primary V_BIOS segment is: 0xc000
    (II) Loading sub module "vbe"
    (II) LoadModule: "vbe"

    Now that I fake the V_BIOS segment, it expects VESA BIOS to be working, which is not the case. While previously, V_BIOS fails, so it falls back to default handling. I notice that radeonhd don't use vbe, perhaps it would go futher.

    Also, please try nv driver in mbp41.
    I will concentrate on MBP41 and try to get something more specific about nv v/s nvidia and the screen backlight (found module mbp_nvidia_bl running in pc boot but not in efi boot). Need to have a good look at it, logs and such as well as some threads about MBP on this forum and all your suggestions. I am sure that desktop is running, just cant see it.

    Note that desertskymc seems to have got MacPro 32bit booting direct to desktop with no frame buffer, work in progress.

    boot issues on a mac pro
    http://ubuntuforums.org/showthread.php?t=1090611

  8. #428
    Join Date
    Dec 2008
    Beans
    9

    Re: grub2 EFI boot loader internal/external booting

    Quote Originally Posted by pxwpxw View Post
    Assuming you have to have grub.efi to boot on the Xserve.

    I dont know if it is possible to compile multiboot module for platform=efi.
    We have only been using gnu/linux debian/ubuntu kernels here.

    You might get a quicker answer on the grub-dev list,
    Thank you for pointing me a right way. I already posted proper message to mailing list.

    Anyway as I know Ubuntu might be usable as Xen Dom0.
    So hope this will be interesting for rest of Ubuntu users.

    --
    Pushken

  9. #429
    Join Date
    May 2007
    Beans
    465

    Re: grub2 EFI boot loader internal/external booting

    Quote Originally Posted by pxwpxw View Post
    I will concentrate on MBP41 and try to get something more specific about nv v/s nvidia and the screen backlight (found module mbp_nvidia_bl running in pc boot but not in efi boot). Need to have a good look at it, logs and such as well as some threads about MBP on this forum and all your suggestions. I am sure that desktop is running, just cant see it.

    Note that desertskymc seems to have got MacPro 32bit booting direct to desktop with no frame buffer, work in progress.

    boot issues on a mac pro
    http://ubuntuforums.org/showthread.php?t=1090611
    Hi,

    I got another idea, it might be possible to enable pci rom directly. Please try this one. Don't use loadbios, just linux /vmlinux video=efifb, it would display the rom address, try hexdump it and see if it's all 0xff.
    Attached Files Attached Files

  10. #430
    Join Date
    May 2007
    Beans
    465

    Re: grub2 EFI boot loader internal/external booting

    Quote Originally Posted by bean123 View Post
    Hi,

    I got another idea, it might be possible to enable pci rom directly. Please try this one. Don't use loadbios, just linux /vmlinux video=efifb, it would display the rom address, try hexdump it and see if it's all 0xff.
    Hi,

    Oh, never mind about that. In fact, even if pci rom can be located, it contains uninitialized code, which is not useful anyway.

    I think the trick is to provide a real INT10 address, which is used by to x.org to call vbe function. In fact, you can just get the whole IVT table in pc mode:

    Code:
    sudo dd if=/dev/mem of=ivt.bin bs=1024 count=1
    The loadbios command is extended to load ivt.bin:

    Code:
    loadbios /bios.bin /ivt.bin
    Now I can see VESA BIOS detected in x.org log file.
    Attached Files Attached Files
    Last edited by bean123; March 19th, 2009 at 05:50 PM.

Page 43 of 123 FirstFirst ... 3341424344455393 ... LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •