Re: USB support merge (Re: [PATCH] (ata.mod) Fix ATAPI protocol)

2009-02-16 Thread Marco Gerards
Robert Millan r...@aybabtu.com writes: On Mon, Jan 19, 2009 at 11:15:41AM +0100, Marco Gerards wrote: Perhaps my USB code might help in some occasions for scsi.c, I am not completely sure if they are in sync. I sent in the USB code earlier. This code can be committed, although endianess is

grub_machine_fini on efi systems

2009-02-16 Thread phcoder
Hello. I found a serious problem which may be the cause of linux not booting on some efi systems. grub_machine_fini is called before grub_linux_boot. grub_machine_fini returns all memory allocated by grub2 to efi. This includes all memory used to load modules. So actually efi can rightfully

Re: grub_machine_fini on efi systems

2009-02-16 Thread phcoder
Remark 1: when loading OS grub has to call grub_efi_exit_boot_services which unloads efi nearly completely. On the other hand it shouldn't be called when returning with exit command. Perhaps we should split grub_machine_fini in two: one for preparing for OS and other for exiting. But then when

Re: grub_machine_fini on efi systems

2009-02-16 Thread Peter Cros
There is also a problem with Apple 64 bit grub.efi booting ubuntu 2.6.27 linux in which the kernel is booted and starting but all video is lost after the boot command. I don't know if there may be a connection. A temporary fix is to change Video frame buufer settings in /loader/i386/efi/linux.c:

Re: grub_machine_fini on efi systems

2009-02-16 Thread Bean
On Tue, Feb 17, 2009 at 10:56 AM, Peter Cros pxwp...@gmail.com wrote: There is also a problem with Apple 64 bit grub.efi booting ubuntu 2.6.27 linux in which the kernel is booted and starting but all video is lost after the boot command. I don't know if there may be a connection. A temporary

Re: grub_machine_fini on efi systems

2009-02-16 Thread Peter Cros
1. Initially - With 2GB RAM Imac8,1 has 256MB VRAM Radeon HD2600 1920x1200 MBP4,1 has 512MB VRAM Nvidia 8600 1920x1200 Imac8,1 grub boot linux shows Video frame buffer at 9052 and blank screen. MBP4,1 gives 9000 and scrambled video. 2. By overriding video_base to set it at 2GB