On Feb 6, 2008 11:32 PM, Robert Millan <[EMAIL PROTECTED]> wrote:
> On Sat, Jan 26, 2008 at 11:01:49PM +0800, Bean wrote:
> >
> > * loader/i386/pc/multiboot.c (grub_multiboot_load_elf32): Get physical
> > address of entry.
> > (grub_multiboot_load_elf64): Likewise.
> > (grub
On Sat, Jan 26, 2008 at 11:01:49PM +0800, Bean wrote:
>
> * loader/i386/pc/multiboot.c (grub_multiboot_load_elf32): Get physical
> address of entry.
> (grub_multiboot_load_elf64): Likewise.
> (grub_multiboot): Initialize mbi structure.
>
>
> diff --git a/loader/i386/pc/mu
Committed.
--
Bean
___
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel
On Jan 28, 2008 9:00 PM, Marco Gerards <[EMAIL PROTECTED]> wrote:
> Bean <[EMAIL PROTECTED]> writes:
>
> > On Jan 28, 2008 9:54 AM, walt <[EMAIL PROTECTED]> wrote:
> >>
> >> On Mon, 2008-01-28 at 04:25 +0800, Bean wrote:
> >> ...
> >> > > > please make a small ufs image containing the netbsd kernel
Bean <[EMAIL PROTECTED]> writes:
> On Jan 28, 2008 9:54 AM, walt <[EMAIL PROTECTED]> wrote:
>>
>> 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/~w
On Mon, Jan 28, 2008 at 06:06:51PM +0800, Bean wrote:
>
> grub-probe is nice, but i normally use grub-fstest to debug fs
> problem, because it have more options.
Ah, I noticed grub-fstest is not in CVS yet. I'll comment on your patch now..
--
Robert Millan
I know my rights; I want my phone c
On Jan 28, 2008 4:57 PM, Marco Gerards <[EMAIL PROTECTED]> wrote:
> Robert Millan <[EMAIL PROTECTED]> writes:
>
> > On Sat, Jan 26, 2008 at 01:24:57PM -0800, walt wrote:
> >>
> >> Yes! I just discovered that I can multiboot the netbsd kernel off
> >> of a FAT32 fs or even an NTFS fs, but *not* off
On Jan 28, 2008 9:54 AM, walt <[EMAIL PROTECTED]> wrote:
>
> 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 fi
Robert Millan <[EMAIL PROTECTED]> writes:
> On Sat, Jan 26, 2008 at 01:24:57PM -0800, walt wrote:
>>
>> Yes! I just discovered that I can multiboot the netbsd kernel off
>> of a FAT32 fs or even an NTFS fs, but *not* off of a UFS fs :o/
>>
>> Apparently "something bad" happens to the kernel in
On Sun, Jan 27, 2008 at 05:54:26PM -0800, walt wrote:
>
> Heh. I'm assuming an .rmk file involves ruby somehow? The bonehead
> build process that I'm using doesn't turn an .rmk into a .mk AFAICT,
> but I'd like to know how to do it.
Try ./autogen.sh
--
Robert Millan
I know my rights; I want
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
On Sun, Jan 27, 2008 at 12:09:20PM -0800, walt wrote:
>
> 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
On Jan 28, 2008 4:13 AM, walt <[EMAIL PROTECTED]> wrote:
>
> 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
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
> > from a UFS fs, however, so I'm thinking m
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
>
On Sat, Jan 26, 2008 at 01:24:57PM -0800, walt wrote:
>
> Yes! I just discovered that I can multiboot the netbsd kernel off
> of a FAT32 fs or even an NTFS fs, but *not* off of a UFS fs :o/
>
> Apparently "something bad" happens to the kernel in the process of
> reading or loading it from the UF
On Jan 27, 2008 5:24 AM, walt <[EMAIL PROTECTED]> wrote:
>
> 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 entr
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
On Sat, Jan 26, 2008 at 10:19:36AM -0800, walt wrote:
> > Btw it won't apply to CVS head; maybe it was scrambled when sending it?
>
> I had to use the -l flag to get it to apply, but it did apply okay.
Ah, didn't know about this flag. Sounds useful!
--
Robert Millan
I know my rights; I want
On Sun, Jan 27, 2008 at 02:24:16AM +0800, Bean wrote:
> >
> > Indeed! Unfortunately I still get the same free magic is broken :o(
> > As an experiment, I g-zipped the kernel and now grub2 just reboots
> > without printing anything when I do multiboot /netbsd.gz. (The same
> > kernel still boots n
On Jan 27, 2008 2:24 AM, Bean <[EMAIL PROTECTED]> wrote:
> On Jan 27, 2008 2:19 AM, walt <[EMAIL PROTECTED]> wrote:
> >
> > 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:
> > > >
> > > >
On Jan 27, 2008 2:19 AM, walt <[EMAIL PROTECTED]> wrote:
>
> 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
>
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
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, the entry point in the header is virtual address, we need to
> translat
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 to physical address.
* loader/i386/pc/multiboot.c (g
On Thu, Jan 24, 2008 at 07:16:06PM +0100, Marco Gerards wrote:
>
> The error cannot be found in the sourcecode. Can you provide the
> *exact* error? Providing a kernel might help as well.
He did: "free magic is broken at 0x5cb60: 0xbb"
Memory corruption, it seems.
> Read how the loader shoul
walt <[EMAIL PROTECTED]> writes:
> 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 mult
On Thu, Jan 24, 2008 at 08:47:52AM -0800, walt wrote:
>
> 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
Ouch, what an horrid downl
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)
___
Btw, if you put that kernel image somewhere, chances are higher that someone
gives it a try. Setting up a NetBSD system (and figuring out how to play with
kernel options) just to test that can be too much of a hassle for most of us.
--
Robert Millan
I know my rights; I want my phone call!
Wh
On Thu, Jan 24, 2008 at 06:20:07AM -0800, walt wrote:
> >Do you want to work on a loader for BSD? That would be the ideal
> >solution and a nice opportunity for you to learn :-)
>
> Sure, but don't expect very much :o) We know that grub legacy can
> boot NetBSD, so maybe I can get grub2 to do th
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?
Yes!
Do you want to work
On Wed, Jan 23, 2008 at 05:21:26PM -0800, walt wrote:
> 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
walt <[EMAIL PROTECTED]> writes:
> 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.
>>>
>>>
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's referring to
something
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's referring to
something else?
What's the
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 for the testin
Committed.
--
Bean
___
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel
Bean <[EMAIL PROTECTED]> writes:
> 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
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 for the testing,
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
Robert Millan <[EMAIL PROTECTED]> writes:
> On Wed, Jan 23, 2008 at 02:58:02AM +0800, Bean wrote:
>> This patch should fix the problem.
>
> Nice!
>
>> -grub_ufs_label (grub_device_t device __attribute ((unused)),
>> -char **label __attribute ((unused)))
>> +grub_ufs_label (grub_device_
On Wed, Jan 23, 2008 at 02:58:02AM +0800, Bean wrote:
> This patch should fix the problem.
Nice!
> -grub_ufs_label (grub_device_t device __attribute ((unused)),
> - char **label __attribute ((unused)))
> +grub_ufs_label (grub_device_t device,char **label)
Please add a space after the
This patch should fix the problem.
diff --git a/fs/ufs.c b/fs/ufs.c
index 917d9a2..bef19e6 100644
--- a/fs/ufs.c
+++ b/fs/ufs.c
@@ -38,6 +38,8 @@
#define GRUB_UFS_ATTR_DIR 04
+#define GRUB_UFS_MAX_VOLLEN32
+
/* Calculate in which group the inode can be found. */
#define inode_gr
[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
45 matches
Mail list logo