xhci support?

2012-05-12 Thread walt
Hi! I have an amd64 machine with an add-on usb3 adapter which works well with the linux xhci driver, but the machine's BIOS doesn't see any disks in the usb3 docking station I use. My (elderly) grub-1.99-rc1 also doesn't see the outboard usb3 drives, so grub is depending on the BIOS for disk dete

'search' is ignoring the -n flag

2011-01-28 Thread walt
Hi grub2 team. I'm having good results with the latest from the grub2 bzr repo, except that "search -n -l foo" always probes the floppy just before it returns with the correct device name. I've also tried using --no-floppy instead of -n but grub still probes the floppy drive anyway. Is anyone e

Re: hybrid DOS/GPT and BIOS Boot Partition

2011-01-24 Thread walt
On 01/23/2011 04:15 PM, Isaac Dupree wrote: On 01/23/11 15:39, walt wrote: Is there a way to make this configuration work? (I've used gdisk to convert DOS partition tables to GPT, so far.) Yes... make a BIOS Boot Partition! Well, that's pretty obvious. The part I missed is tha

Re: hybrid DOS/GPT and BIOS Boot Partition

2011-01-23 Thread walt
On 07/02/2010 05:39 AM, Robert Millan wrote: ... When it comes to GPT, GRUB solved this by using a new instance of the same unmanaged extension of the MBR: the BIOS Boot Partition... Hi, I'm following grub2 again after a long absence, so I'm way behind, sorry. I have grub2 working perfectly (

Re: Is it possible to install grub4dos on utfs partiton?

2009-06-27 Thread walt
On 06/25/2009 01:39 AM, Hongyi Zhao wrote: Hi all, I want to know whether it's possible to install grub4dos on utfs partition? Any hints will be highly appreciated, thanks in advance. This is a good place to ask your question: http://www.boot-land.net/forums/index.php?showforum=66 ___

Re: forgot passwd, cannot login, [rd]init=/bin/sh don't work

2008-10-08 Thread walt
[EMAIL PROTECTED] wrote: > ... OK, I then tried linux-doc-2.6.26/Documentation/kernel-parameters.txt.gz: rdinit= [KNL] Format: Run specified binary instead of /init from the ramdisk, used for early userspace startup. See initrd. So in grub2 I chose "e" to edit, and changed the li

Re: [PATCH] Add __enable_execute_stack() if required

2008-09-17 Thread walt
Robert Millan wrote: On Tue, Sep 16, 2008 at 09:42:50PM +0200, Christian Franke wrote: Some gcc versions generate a call to __enable_execute_stack() in trampolines for nested functions. This is the case for new Cygwin gcc-4.3.2. Other GRUB2 target platforms may be affected - the following files

Re: subversion repository structure

2008-07-15 Thread walt
Yoshinori K. Okuji wrote: On Wednesday 16 July 2008 00:23:53 Pavel Roskin wrote: Yes, that's my suggestion. I understand that you may feel uneasy about it, but I don't think we are going to do many releases from the legacy branch, maybe one or none at all. It's OK to have stable and developmen

Re: New developer available :)

2008-06-30 Thread walt
Bean wrote: On Mon, Jun 30, 2008 at 4:43 AM, walt<[EMAIL PROTECTED]> wrote: ...I'm using grub4dos because grub2 won't (yet) boot a floppy image or chainload Vista's bootmgr. Hi, Well, you can actually achieve these function with some external tools. Using memdisk, you

Re: New developer available :)

2008-06-29 Thread walt
Collin Gregory wrote: Hello everyone, My name is Greg and i'm a french developper. I'm very interested in helping for the grub 2 development. My skills are C++ , C and assembly, i'm using linux for 6 years now and i'm sure i can help, if you would agree to !... Hi Greg, I have an idea for you

Booting a floppy disk image?

2008-05-04 Thread walt
I'm now using grub4dos to boot a floppy DOS image like this: map --mem (hd0,0)/floppy.img (fd0) map --hook chainloader (fd0)+1 rootnoverify (fd0) I'd like to switch to grub2 but so far I can't get it to boot the same image. I've tried two methods: loopback fd1 (hd0,1)/floppy.img set root=fd1 ch

Re: Anyone using the new aout support?

2008-02-25 Thread walt
Robert Millan wrote: On Thu, Feb 21, 2008 at 05:44:28PM -0800, walt wrote: Bean wrote: On Thu, Feb 21, 2008 at 8:29 AM, walt<[EMAIL PROTECTED]> wrote: I just built grub2 from cvs to try all of Bean's wonderful work with BSD/UFS and aout. I added no patches, and bui

Re: Anyone using the new aout support?

2008-02-21 Thread walt
Bean wrote: On Thu, Feb 21, 2008 at 8:29 AM, walt<[EMAIL PROTECTED]> wrote: I just built grub2 from cvs to try all of Bean's wonderful work with BSD/UFS and aout. I added no patches, and built on linux. Everything seems to work very well indeed, except that the 'aout

Anyone using the new aout support?

2008-02-20 Thread walt
I just built grub2 from cvs to try all of Bean's wonderful work with BSD/UFS and aout. I added no patches, and built on linux. Everything seems to work very well indeed, except that the 'aout' command is still not available to me at the grub2 shell prompt. It just doesn't appear on the list of a

Re: [PATCH] a.out support for multiboot and freebsd

2008-02-16 Thread walt
On Sun, 2008-02-17 at 00:43 +0800, Bean wrote: > ... > Anyway, i think the bsd module should be fine, here is the whole > patch, if nobody objects, i would like to commit it soon... I vote yes, thanks. I can boot freebsd directly, openbsd directly, netbsd directly or using multiboot. The only p

Re: [PATCH] a.out support for multiboot and freebsd

2008-02-15 Thread walt
walt wrote: On Fri, 2008-02-15 at 22:14 +0800, Bean wrote: On Fri, Feb 15, 2008 at 9:29 PM, walt<[EMAIL PROTECTED]> wrote: I made a small openbsd image to send you, but it works perfectly with your g2ldr so there's no point in sending it :o) I think that problem is not wort

Re: [PATCH] a.out support for multiboot and freebsd

2008-02-15 Thread walt
On Fri, 2008-02-15 at 22:14 +0800, Bean wrote: > On Fri, Feb 15, 2008 at 9:29 PM, walt <[EMAIL PROTECTED]> wrote: > > I made a small openbsd image to send you, but it works perfectly with > > your g2ldr so there's no point in sending it :o) I think that problem >

Re: [PATCH] a.out support for multiboot and freebsd

2008-02-15 Thread walt
Bean wrote: On Fri, Feb 15, 2008 at 9:29 PM, walt<[EMAIL PROTECTED]> wrote: I made a small openbsd image to send you, but it works perfectly with your g2ldr so there's no point in sending it :o) I think that problem is not worth your time or mine. BTW, how big is your uf

Re: [PATCH] a.out support for multiboot and freebsd

2008-02-15 Thread walt
Bean wrote: On Feb 14, 2008 4:31 AM, walt<[EMAIL PROTECTED]> wrote: Yes, this works perfectly except that I still can't read my openbsd filesystem correctly. I can list / but none of the subdirectories, and I can't even read a small text file from /. (I guess that also means

Re: [PATCH] a.out support for multiboot and freebsd

2008-02-13 Thread walt
Bean wrote: On Feb 14, 2008 1:25 AM, walt<[EMAIL PROTECTED]> wrote: ... I'm wondering if you have commited all of your UFS/FFS patches to cvs. Seems like I'm seeing some old UFS problems that you fixed once already(?). Is it possible that your build is not clean ? you can

Re: [PATCH] a.out support for multiboot and freebsd

2008-02-13 Thread walt
Bean wrote: Ok. I also fix the alloc magic broken problem, it's caused by grub_elf_file, which will close the file when the elf magic is not found. However, the upper level still use that file, that cause the memory problem. The patch should be applied after the previous bsd.diff... I'm very

Re: [PATCH] to make grub2 compile on NetBSD

2008-02-12 Thread walt
On Tue, 2008-02-12 at 08:22 +0100, Yoshinori K. Okuji wrote: > On Monday 11 February 2008 23:44, walt wrote: > > On Mon, 2008-02-04 at 16:56 +0100, Marco Gerards wrote: > > > walt <[EMAIL PROTECTED]> writes: > > > > NetBSD's gcc wants libgcc and libc to d

Re: [PATCH] to make grub2 compile on NetBSD

2008-02-11 Thread walt
On Mon, 2008-02-04 at 16:56 +0100, Marco Gerards wrote: walt <[EMAIL PROTECTED]> writes: > NetBSD's gcc wants libgcc and libc to define __enable_execute_stack, > but this is useless for a free-standing executable like grub. Define > a dummy function in lieu

Re: [PATCH] a.out support for multiboot and freebsd

2008-02-11 Thread walt
On Tue, 2008-02-12 at 04:46 +0800, Bean wrote: > On Feb 12, 2008 4:45 AM, Bean <[EMAIL PROTECTED]> wrote: > > Hi, > > > > Change in this patch: > > > > 1. support OpenBSD kernel: > > > > set root=(hd0,3,a) > > openbsd /bsd > > > > The modules name is changed to bsd.mod. > > > > 2. Support setting

Re: [PATCH] a.out support for multiboot and freebsd

2008-02-11 Thread walt
Bean wrote: Hi, The following patch support freebsd a.out and elf, now you can load the kernel directly. 1. Boot through loader: set root=(hd0,0,a) freebsd /boot/loader It should be able to deduce the root device from the root variable. I still see currdev=disk0s1c but that should be s1a, n

Re: [PATCH] a.out support for multiboot and freebsd

2008-02-10 Thread walt
Bean wrote: On Feb 10, 2008 5:57 AM, walt<[EMAIL PROTECTED]> wrote: Bean wrote: Hi, This patch add a.out support for multiboot. It also support the boot2 loader (a.out format) of freebsd: set root=(hd0,0,a) aout_freebsd /boot/loader boot ... i'm using the web interface to

Re: [PATCH] a.out support for multiboot and freebsd

2008-02-09 Thread walt
Bean wrote: Hi, This patch add a.out support for multiboot. It also support the boot2 loader (a.out format) of freebsd: set root=(hd0,0,a) aout_freebsd /boot/loader boot 2008-02-10 Bean<[EMAIL PROTECTED]> ... Hi Bean, and thanks for the patch. Unfortunately, the patch is malformed in at le

Re: aout support almost working now

2008-02-07 Thread walt
On Thu, 2008-02-07 at 01:32 +0100, Robert Millan wrote: > On Wed, Feb 06, 2008 at 04:26:15PM -0800, walt wrote: > > >diff --git a/kern/i386/loader.S b/kern/i386/loader.S > > >index 266f4ef..88f3045 100644 > > >--- a/kern/i386/loader.S > > >+++ b/k

Re: aout support almost working now

2008-02-06 Thread walt
Bean wrote: On Feb 7, 2008 3:23 AM, walt<[EMAIL PROTECTED]> wrote: With Bean's last two commits I can almost replace legacy with grub2 at least on x86. I have still one problem with the aout support that Bean posted as a patch on Jan 27. Using legacy, which loads the FreeBSD /boo

aout support almost working now

2008-02-06 Thread walt
With Bean's last two commits I can almost replace legacy with grub2 at least on x86. I have still one problem with the aout support that Bean posted as a patch on Jan 27. Using legacy, which loads the FreeBSD /boot/loader as the 'kernel', loader then reads its config files from the /boot directo

Re: multiboot2 vs. grub2 implementation

2008-02-05 Thread walt
On Tue, 2008-02-05 at 14:23 -0600, [EMAIL PROTECTED] wrote: > On Sun, Feb 03, 2008 at 09:11:23AM -0800, walt wrote: > > [EMAIL PROTECTED] wrote: > >> Hi, > >> > >> In the course of actually trying to use the MultibootDraft, I've > >> discove

Re: [PATCH] to make grub2 compile on NetBSD

2008-02-04 Thread walt
Robert Millan wrote: walt<[EMAIL PROTECTED]> writes: NetBSD's gcc wants libgcc and libc to define __enable_execute_stack, but this is useless for a free-standing executable like grub. Define a dummy function in lieu of libgcc to supply __enable_execute_stack. Second try:

Re: [PATCH] to make grub2 compile on NetBSD

2008-02-04 Thread walt
On Mon, 2008-02-04 at 16:56 +0100, Marco Gerards wrote: > walt <[EMAIL PROTECTED]> writes: > > > NetBSD's gcc wants libgcc and libc to define __enable_execute_stack, > > but this is useless for a free-standing executable like grub. Define > > a dummy f

[PATCH] to make grub2 compile on NetBSD

2008-02-03 Thread walt
NetBSD's gcc wants libgcc and libc to define __enable_execute_stack, but this is useless for a free-standing executable like grub. Define a dummy function in lieu of libgcc to supply __enable_execute_stack. Index: include/grub/mm.h ===

Re: PCI+ATA

2008-02-03 Thread walt
On Sun, 2008-02-03 at 09:42 -0800, walt wrote: > Marco Gerards wrote: > > Hi, > > > > Here is a patch for testing purposes. I hope people can test this on > > actual hardware. Testing will help a lot for the development of the > > ATA driver. > > ... >

Re: PCI+ATA

2008-02-03 Thread walt
Marco Gerards wrote: Hi, Here is a patch for testing purposes. I hope people can test this on actual hardware. Testing will help a lot for the development of the ATA driver. ... Please tell me (read this before testing!): 1) Does it work perfectly (yes/no) as in, all devices are detected and

Re: multiboot2 vs. grub2 implementation

2008-02-03 Thread walt
[EMAIL PROTECTED] wrote: Hi, In the course of actually trying to use the MultibootDraft, I've discovered some places where the draft and the grub2 implementation differ... Hi Jonathan, Are you using grub2/cvs with or without Bean's latest multiboot patch? It still hasn't been committed, and I

Re: Compiling grub2 on *BSD?

2008-02-01 Thread walt
On Thu, 2008-01-31 at 12:03 +0100, Robert Millan wrote: > On Wed, Jan 30, 2008 at 03:55:59PM -0600, [EMAIL PROTECTED] wrote: > > On Wed, Jan 30, 2008 at 11:06:50AM -0800, walt wrote: > > > > > > You can tell I'm desperate because I'm putting -lgcc everywhe

Compiling grub2 on OpenBSD

2008-02-01 Thread walt
I got grub2 compiled on NetBSD, so now on to OpenBSD: In file included from ../util/i386/pc/grub-mkimage.c:29: ../include/grub/misc.h:43: warning: conflicting types for built-in function `memcpy' In file included from ../util/i386/pc/grub-mkimage.c:33: /usr/include/string.h:60: error: conflictin

Re: [PATCH] a.out kernel loader

2008-01-31 Thread walt
Bean wrote: On Jan 30, 2008 8:24 PM, walt<[EMAIL PROTECTED]> wrote: Sorry, I gave you incomplete information. I can use 'multiboot' to load the netbsd from any kind of fs, but it makes no difference: 'boot' then causes the machine to reboot instantly. The same ap

Re: GRUB1 on USB-Stick

2008-01-31 Thread walt
Christoph Anton Mitterer wrote: Hello. I've just tried to install grub1 on an USB-stick in order to boot from it, but it continues to fail: I installed grub to a USB stick for the purpose of using it as an emergency boot drive so I can use it to reinstall grub from the USB stick onto a hard d

Re: Compiling grub2 on *BSD?

2008-01-30 Thread walt
On Wed, 2008-01-30 at 08:38 -0800, walt wrote: > Robert Millan wrote: > ... > > What happens if you define the missing symbols somewhere? Any part of > > the GRUB kernel will do (e.g. kern/main.c). Just add them as empty > > functions: > > > > void > >

Re: Compiling grub2 on *BSD?

2008-01-30 Thread walt
Robert Millan wrote: Ok, so we need __enable_execute_stack then, I guess. I find it strange that some parts of libgcc can not be used in freestanding code. Does this happen with the unpatched version of GCC too? Maybe we'll have add some dummy symbols to make it happy What happens if you

Re: Compiling grub2 on *BSD?

2008-01-30 Thread walt
On Wed, 2008-01-30 at 14:23 +0100, Robert Millan wrote: > On Tue, Jan 29, 2008 at 06:37:50PM -0600, [EMAIL PROTECTED] wrote: > > > > > > /usr/lib/libgcc.a(_enable_execute_stack.o): In function > > > > > > `__enable_execute_stack': > > > > > > _enable_execute_stack.c:(.text+0x40): undefined referen

Re: [PATCH] a.out kernel loader

2008-01-30 Thread walt
On Tue, 2008-01-29 at 14:53 +0800, Bean wrote: > On Jan 29, 2008 6:04 AM, walt <[EMAIL PROTECTED]> wrote: > > Bean wrote: > > > On Jan 28, 2008 10:37 PM, walt<[EMAIL PROTECTED]> wrote: > > ... > > >> Good news and bad news. With this patch and yo

Re: [PATCH] a.out kernel loader

2008-01-28 Thread walt
Bean wrote: On Jan 28, 2008 10:37 PM, walt<[EMAIL PROTECTED]> wrote: ... Good news and bad news. With this patch and your most recent ufs patch I can aout /boot/loader or multiboot /netbsd from a UFS partition, that is the good news. The bad news is that when I type 'boot

Re: [PATCH] a.out kernel loader

2008-01-28 Thread walt
On Mon, 2008-01-28 at 19:48 +0800, Bean wrote: > On Jan 28, 2008 5:11 PM, Robert Millan <[EMAIL PROTECTED]> wrote: > > On Mon, Jan 28, 2008 at 04:10:42AM +0800, Bean wrote: > > > > > > > > > > > > How FreeBSD-specific is this? Will the same module apply to other > > > > > > a.out > > > > > > bin

Re: booting kernel of NetBSD (Re: UFS (FFS) support seems broken in grub2)

2008-01-27 Thread walt
On Mon, 2008-01-28 at 04:25 +0800, Bean wrote: ... > > > please make a small ufs image containing the netbsd kernel, i don't a > > > a bsd system at hand http://leaf.dragonflybsd.org/~wa1ter/ufs.gz I included a small text file (motd) to demonstrate that you can cat it okay, but when you try 'mul

Re: booting kernel of NetBSD (Re: UFS (FFS) support seems broken in grub2)

2008-01-27 Thread walt
On Sun, 2008-01-27 at 09:35 +0800, Bean wrote: > On Jan 27, 2008 5:24 AM, walt <[EMAIL PROTECTED]> wrote: > > > > Apparently "something bad" happens to the kernel in the process of > > reading or loading it from the UFS fs. I can read small text files > &

Re: booting kernel of NetBSD (Re: UFS (FFS) support seems broken in grub2)

2008-01-27 Thread walt
On Sun, 2008-01-27 at 09:53 +0100, Robert Millan wrote: > I just committed a check in grub-probe that attempts to read and verify files > using GRUB filesystems and compares them with output from your system. E.g. > if you do: grub-probe -t fs /full/path/to/file it will compare and verify it >

Re: booting kernel of NetBSD (Re: UFS (FFS) support seems broken in grub2)

2008-01-26 Thread walt
On Sat, 2008-01-26 at 23:01 +0800, Bean wrote: > this is the patch, problems found: > > 1, the mbi structure is not initialized to all zeros, this means some > important member, like mods_count, will contain trash. > 2, the entry point in the header is virtual address, we need to > translate it t

Re: Compiling grub2 on *BSD?

2008-01-26 Thread walt
On Sat, 2008-01-26 at 18:21 +0100, Robert Millan wrote: > On Sat, Jan 26, 2008 at 09:08:59AM -0800, walt wrote: > > As a test of my tolerance for frustration I'm building grub2 on FreeBSD, > > DragonFlyBSD, NetBSD, and OpenBSD, and (naturally) each build fails in a > >

Re: booting kernel of NetBSD (Re: UFS (FFS) support seems broken in grub2)

2008-01-26 Thread walt
On Sat, 2008-01-26 at 18:24 +0100, Robert Millan wrote: > On Sat, Jan 26, 2008 at 11:01:49PM +0800, Bean wrote: > > this is the patch, problems found: > > > > 1, the mbi structure is not initialized to all zeros, this means some > > important member, like mods_count, will contain trash. > > 2, th

Compiling grub2 on *BSD?

2008-01-26 Thread walt
As a test of my tolerance for frustration I'm building grub2 on FreeBSD, DragonFlyBSD, NetBSD, and OpenBSD, and (naturally) each build fails in a different way, but all the problems seem related to mutations of gcc. NetBSD: The problem is the -nostdlib flag when linking kernel.exec. Adding -lc

Re: booting kernel of NetBSD (Re: UFS (FFS) support seems broken in grub2)

2008-01-24 Thread walt
On Thu, 2008-01-24 at 15:53 +0100, Robert Millan wrote: > Btw, if you put that kernel image somewhere, chances are higher that someone > gives it a try... http://rapidshare.com/files/86269193/netbsd.html grub2 will certainly get fixed faster if one of you does the fixing :o) ___

Re: UFS (FFS) support seems broken in grub2

2008-01-24 Thread walt
Marco Gerards wrote: walt<[EMAIL PROTECTED]> writes: ... I recompiled my NetBSD kernel with the MULTIBOOT option enabled, but I still get a 'magic broken' error when doing 'multiboot /netbsd'. Can it be loaded from GRUB Legacy using its multiboot capabilities?

Re: UFS (FFS) support seems broken in grub2

2008-01-23 Thread walt
Robert Millan wrote: On Wed, Jan 23, 2008 at 02:49:55PM -0800, walt wrote: I recompiled my NetBSD kernel with the MULTIBOOT option enabled, but I still get a 'magic broken' error when doing 'multiboot /netbsd'. The kernel of NetBSD supports multiboot now? Or maybe it'

Re: UFS (FFS) support seems broken in grub2

2008-01-23 Thread walt
Bean wrote: On Jan 24, 2008 12:15 AM, walt<[EMAIL PROTECTED]> wrote: Bean wrote: This patch should fix the problem... Yes, thanks! I had to use the -l flag before patch would use it, and even then the last hunk needed increased fuzz. Are you going to commit it today? thanks f

Re: UFS (FFS) support seems broken in grub2

2008-01-23 Thread walt
Bean wrote: This patch should fix the problem... Yes, thanks! I had to use the -l flag before patch would use it, and even then the last hunk needed increased fuzz. Are you going to commit it today? ___ Grub-devel mailing list Grub-devel@gnu.org

Re: UFS (FFS) support seems broken in grub2

2008-01-19 Thread walt
[EMAIL PROTECTED] wrote: Hi, The UFS (or FFS as it's known to NetBSD) support in grub2 does not seem to work for me. There was an interesting but strangely incomplete discussion of UFS back in April 2007. Hitoshi Ozeki posted the attached patch, which lets me list UFS filesystems but not read

Re: ata.mod hangs (Re: Some grub2 problems/questions)

2008-01-13 Thread walt
Robert Millan wrote: On Sat, Jan 12, 2008 at 04:14:38PM -0800, walt wrote: I'm happy to report that the ata module no longer hangs as I described above. I'm guessing (just a guess) that this commit fixed it: 2008-01-10 Robert Millan<[EMAIL PROTECTED]>

Re: ata.mod hangs (Re: Some grub2 problems/questions)

2008-01-12 Thread walt
Robert Millan wrote: On Thu, Dec 27, 2007 at 09:33:58AM -0800, walt wrote: The other Athlon machine has one PATA drive on a VIA 8235 controller and one SATA drive on a Promise controller. This machine makes it through grub_ata_dumpinfo for both disks but then it hangs forever without printing

Re: Some grub2 problems/questions

2007-12-27 Thread walt
Robert Millan wrote: On Wed, Dec 26, 2007 at 12:26:03PM -0800, walt wrote: ... The first machine has two ordinary PATA drives on a VIA 8235 controller and grub2 complains that the firmware is tainted. Grub2 will use (ata1) okay and lists all the partitions, Nice. Is that controller in the

Some grub2 problems/questions

2007-12-26 Thread walt
Hi grub group. Beginning with the commits of 2007-10-31 my two Athlon machines won't work properly with grub2, and I'd like to find out why. The first machine has two ordinary PATA drives on a VIA 8235 controller and grub2 complains that the firmware is tainted. Grub2 will use (ata1) okay and l

Re: [PATCH] startup.S does not find includes

2007-10-22 Thread walt
Robert Millan wrote: On Mon, Oct 22, 2007 at 06:31:22AM -0700, walt wrote: Christian Franke wrote: For kern/i386/pc/startup.S: #include "../realmode.S" // include pc-independent i386 realmode code Should work without any -I option. I considered that, but wouldn't it br

Re: [PATCH] startup.S does not find includes

2007-10-22 Thread walt
Christian Franke wrote: Robert Millan wrote: On Sun, Oct 21, 2007 at 06:56:21PM +0200, Christian Franke wrote: Hi, some recent checkin appearently introduces the following regression: Compilation fails if configure'd outside of $(srcdir). #include "kern/i386/realmode.S" and "kern/i386/loader.