TPM support with SATA drives

2008-04-18 Thread Laurent Dufréchou
Hello, I’m trying to use a TPM chip on a motherboard. I’ve seen trusted-grub project but the problem is that it can’t work because my motherboard supports only SATA drive. === 2.6 Known Bugs === * SATA and Floppy support is currently not included due to the limitation of stage1. Now, I’ve ju

Re: TPM support with SATA drives

2008-04-18 Thread Robert Millan
On Fri, Apr 18, 2008 at 11:06:19AM +0200, Laurent Dufréchou wrote: > Hello, > > I’m trying to use a TPM chip on a motherboard. I’ve seen trusted-grub > project but the problem is that it can’t work because my motherboard > supports only SATA drive. > > === 2.6 Known Bugs === > > * SATA and Flopp

Re: TPM support with SATA drives

2008-04-18 Thread Robert Millan
On Fri, Apr 18, 2008 at 11:06:19AM +0200, Laurent Dufréchou wrote: > > Now, I’ve just discovered Grub2. > > I’m wondering if there is some patch to add support for TPM chip and > measurement of files on system, thus on sata drive. Just in case my last message was a bit too confusing, measurement

Re: [PATCH] Make gdb debugging a bit less painful

2008-04-18 Thread Robert Millan
On Thu, Apr 17, 2008 at 10:21:14PM -0400, Pavel Roskin wrote: > Quoting Robert Millan <[EMAIL PROTECTED]>: > > >Now that I think of it, is there any reason for doing all the cmain() > >cruft before grub_main() ? Getting to grub_main() only requires a working > >stack, which we have, and grub_main

Re: TPM support with SATA drives

2008-04-18 Thread Laurent Dufréchou
Yeah I see what you mean., and I agree a lot. I got a TPM chip in my computer that I could use to encrypt my hard dsk but I will never use it as I don't have access to all the thing. In fact what i'm askig is for a special use case. My use case is that I provide an embedded computer running linux o

Re: TPM support with SATA drives

2008-04-18 Thread Laurent Dufrechou
2008/4/18, Robert Millan <[EMAIL PROTECTED]>: > > On Fri, Apr 18, 2008 at 11:06:19AM +0200, Laurent Dufréchou wrote: > > > > > Now, I've just discovered Grub2. > > > > I'm wondering if there is some patch to add support for TPM chip and > > measurement of files on system, thus on sata drive. > > >

Re: TPM support with SATA drives

2008-04-18 Thread Laurent Dufrechou
Hope the mail will reach you this time... Yeah I see what you mean., and I agree a lot. I got a TPM chip in my computer that I could use to encrypt my hard dsk but I will never use it as I don't have access to all the thing. In fact what i'm askig is for a special use case. My use case is that I p

Re: [PATCH] Make gdb debugging a bit less painful

2008-04-18 Thread Robert Millan
On Fri, Apr 18, 2008 at 01:32:59PM +0200, Robert Millan wrote: > - jmp EXT_C(cmain) > + jmp EXT_C(grub_main) Or maybe that should be a "call" instead.. -- Robert Millan I know my rights; I want my phone call! What use is a phone call… if you are unable to speak? (as seen on /.)

Re: TPM support with SATA drives

2008-04-18 Thread Robert Millan
On Fri, Apr 18, 2008 at 02:07:12PM +0200, Laurent Dufréchou wrote: > Yeah I see what you mean., and I agree a lot. I got a TPM chip in my > computer that I could use to encrypt my hard dsk but I will never use it as > I don't have access to all the thing. > In fact what i'm askig is for a special u

Re: TPM support with SATA drives

2008-04-18 Thread Robert Millan
On Fri, Apr 18, 2008 at 02:08:59PM +0200, Laurent Dufrechou wrote: > I think in this use case it is ehicaly correct as I try to measure and > ensure my system is not corrupted. (Must be the only case where TPM chip are > good at :) ) This is true in fact. What happens here is that Treacherous Com

Re: [PATCH] Make gdb debugging a bit less painful

2008-04-18 Thread Lubomir Kundrak
On Fri, 2008-04-18 at 13:32 +0200, Robert Millan wrote: > On Thu, Apr 17, 2008 at 10:21:14PM -0400, Pavel Roskin wrote: > > Quoting Robert Millan <[EMAIL PROTECTED]>: > > > > >Now that I think of it, is there any reason for doing all the cmain() > > >cruft before grub_main() ? Getting to grub_ma

Re: [PATCH] Linux loader for OLPC

2008-04-18 Thread Bean
Hi, This is the new patch which takes into account the location change of files in kern/powerpc/ieee1275. Also, the crc part is removed, it's better to use a separate patch. -- Bean diff --git a/disk/ieee1275/nand.c b/disk/ieee1275/nand.c new file mode 100755 index 000..ba79faa --- /dev/null

Re: [PATCH] Linux loader for OLPC

2008-04-18 Thread Bean
On Fri, Apr 18, 2008 at 10:56 PM, Bean <[EMAIL PROTECTED]> wrote: > Hi, > > This is the new patch which takes into account the location change of > files in kern/powerpc/ieee1275. Also, the crc part is removed, it's > better to use a separate patch. > > -- > Bean > Oh, I forget to add some fi

Re: [PATCH] Make gdb debugging a bit less painful

2008-04-18 Thread Pavel Roskin
On Fri, 2008-04-18 at 14:13 +0200, Robert Millan wrote: > On Fri, Apr 18, 2008 at 01:32:59PM +0200, Robert Millan wrote: > > - jmp EXT_C(cmain) > > + jmp EXT_C(grub_main) > > Or maybe that should be a "call" instead.. Only if there is any chance of return, and we can handle it. "exit" in op

Re: [PATCH] Make gdb debugging a bit less painful

2008-04-18 Thread Robert Millan
On Fri, Apr 18, 2008 at 11:16:43AM -0400, Pavel Roskin wrote: > > On Fri, 2008-04-18 at 14:13 +0200, Robert Millan wrote: > > On Fri, Apr 18, 2008 at 01:32:59PM +0200, Robert Millan wrote: > > > - jmp EXT_C(cmain) > > > + jmp EXT_C(grub_main) > > > > Or maybe that should be a "call" instead.. >

Re: [PATCH] Make gdb debugging a bit less painful

2008-04-18 Thread Bean
On Fri, Apr 18, 2008 at 11:16 PM, Pavel Roskin <[EMAIL PROTECTED]> wrote: > > On Fri, 2008-04-18 at 14:13 +0200, Robert Millan wrote: > > > On Fri, Apr 18, 2008 at 01:32:59PM +0200, Robert Millan wrote: > > > - jmp EXT_C(cmain) > > > + jmp EXT_C(grub_main) > > > > Or maybe that should be a

Re: [PATCH] Make gdb debugging a bit less painful

2008-04-18 Thread Robert Millan
On Fri, Apr 18, 2008 at 11:38:48PM +0800, Bean wrote: > > > > "exit" in open firmware based systems would probably mean returning > > control to open firmware. > > > > By the way, it would be nice to have "exit" in both grub for PC and > > grub-emu, and not only in the rescue mode. "exit" on P

Re: [PATCH] Make gdb debugging a bit less painful

2008-04-18 Thread Robert Millan
Bean confirmed it works. Committed without changing jmp to call, since it wasn't clear whether we want it or not. On Fri, Apr 18, 2008 at 01:32:59PM +0200, Robert Millan wrote: > On Thu, Apr 17, 2008 at 10:21:14PM -0400, Pavel Roskin wrote: > > Quoting Robert Millan <[EMAIL PROTECTED]>: > > > >

[PATCH] bug fix for ieee1275 console

2008-04-18 Thread Bean
Hi, diff --git a/term/ieee1275/ofconsole.c b/term/ieee1275/ofconsole.c index b449507..0d3ba46 100644 --- a/term/ieee1275/ofconsole.c +++ b/term/ieee1275/ofconsole.c @@ -84,7 +84,10 @@ grub_ofconsole_putchar (grub_uint32_t c) { grub_curr_x++; if (grub_curr_x > grub_ofconsole_widt

Re: TPM support with SATA drives

2008-04-18 Thread Julian Blake Kongslie
On Fri, 2008-04-18 at 13:22 +0200, Robert Millan wrote: > Hi Laurent, > > The problem with these TPM chips is that they have the hidden purpose of > restricting you as user. Despite that you paid for the hardware and are its > owner, the chip will never give you its master key. Sorry, but this m

RE: TPM support with SATA drives

2008-04-18 Thread Laurent Dufréchou
So, will grub2 will one day support TPM ? ;) -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De la part de Julian Blake Kongslie Envoyé : vendredi 18 avril 2008 20:21 À : The development of GRUB 2 Objet : Re: TPM support with SATA drives On Fri, 2008-04-18 at 13:22 +0