Re: [uml-devel] 2.6.10 compilation error

2005-04-01 Thread Marcus Hardt
Quoting Rob Landley
> On Thursday 31 March 2005 08:56 am, Marcus Hardt wrote:
> > Hi Guys!
> >
> > Whenever I try to compile a 2.6 guest kernel, I get a compilation error:
>
> 2.6.11 (stock from kernel.org) was the first version to work for me out of
> the box.  You might want to try that.

Thank you; this did the job. Enabling the ubd0 block device gave me a bootable 
image, finally :-)

-- 
Marcus


---
This SF.net email is sponsored by Demarc:
A global provider of Threat Management Solutions.
Download our HomeAdmin security software for free today!
http://www.demarc.com/info/Sentarus/hamr30
___
User-mode-linux-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel


Re: [uml-devel] question about UML sigcontext in tt mode

2005-04-01 Thread Blaisorblade
On Thursday 31 March 2005 12:03, Alex LIU wrote:
> Hi,all:
>
> I have a question about the sigcontext in tt mode.The union uml_pt_regs is
> defined as below(in uml-2.6.7):
>
> 
> union uml_pt_regs {
> #ifdef UML_CONFIG_MODE_TT
>  struct tt_regs {
>   long syscall;
>   void *sc;
>  } tt;
> #endif
> #ifdef UML_CONFIG_MODE_SKAS
>  struct skas_regs {
>   unsigned long regs[HOST_FRAME_SIZE];
>   unsigned long fp[HOST_FP_SIZE];
>   unsigned long xfp[HOST_XFP_SIZE];
>   unsigned long fault_addr;
>   unsigned long fault_type;
>   unsigned long trap_type;
>   long syscall;
>   int is_user;
>  } skas;
> #endif
> };
> -
>
> Then why the tt.sc is defined as void while not as struct sigcontext?
> Thanks!

I think because of header inclusion problems... you can't include userspace 
header in kernelspace files and so on. And the above can be included by both 
kind of files, being in arch/um/include.

This could be solved however with a:
struct sigcontext;
...
struct sigcontext * sc;

instead of

void* sc;

I've not checked however if sc is actually a sigcontext - I rely on what you 
say.
-- 
Paolo Giarrusso, aka Blaisorblade
Linux registered user n. 292729
http://www.user-mode-linux.org/~blaisorblade





---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
___
User-mode-linux-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel