Paolo Giarrusso | 8 Jul 2010 01:53
Picon
Gravatar

Re: something broke hppfs

On Wed, May 19, 2010 at 14:57, Antoine Martin <antoine <at> nagafix.co.uk> wrote:
>   LD      fs/hostfs/hostfs.o
>   LD      fs/hostfs/built-in.o
>   CC      fs/hppfs/hppfs.o
> fs/hppfs/hppfs.c: In function 'hppfs_fill_super':
> fs/hppfs/hppfs.c:721: error: dereferencing pointer to incomplete type

Uh, that looks like a missing include (so that for a type, there is
just a forward declaration). Probably now something.h does not include
any more something_else_that_you_need.h.
--

-- 
Paolo Giarrusso - Ph.D. Student
http://www.informatik.uni-marburg.de/~pgiarrusso/

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
ratheesh k | 28 Jul 2010 18:24
Picon

reading heap memory in kernel space .

I have a simple user space program .

char *ptr=(char *)malloc(100);
strcpy(ptr , "Hi Kernel  , How are you ");
.........
sendmsg(...)
........

I compiled this program  and executed on 2.6.32 user mode linux .
when i run uml under gdb , i would like to read all memory location
staring from ptr .( whole string ) from kernel .
I have set some break points on some system calls ( sys_sendmsg ). gdb
will break there and if know ptr address , should i convert to
physical address space ? How will i do that ? how will i get
uml_physmem value ?

-ratheesh

------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
Jeff Dike | 28 Jul 2010 20:49

Re: reading heap memory in kernel space .

On Wed, Jul 28, 2010 at 09:54:37PM +0530, ratheesh k wrote:
> I have a simple user space program .
> 
> char *ptr=(char *)malloc(100);
> strcpy(ptr , "Hi Kernel  , How are you ");
> .........
> sendmsg(...)
> ........
> 
> 
> I compiled this program  and executed on 2.6.32 user mode linux .
> when i run uml under gdb , i would like to read all memory location
> staring from ptr .( whole string ) from kernel .
> I have set some break points on some system calls ( sys_sendmsg ). gdb
> will break there and if know ptr address , should i convert to
> physical address space ? How will i do that ? how will i get
> uml_physmem value ?

Why do you want a physical address?  It's useless to a debugger.

				Jeff

--

-- 
Work email - jdike at linux dot intel dot com

------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
(Continue reading)

ratheesh k | 29 Jul 2010 04:04

Re: reading heap memory in kernel space .

On Thu, Jul 29, 2010 at 12:19 AM, Jeff Dike <jdike <at> addtoit.com> wrote:
> Why do you want a physical address?  It's useless to a debugger.

I agree .
I would like to know this .Could you help me .How do i find uml_physmem value ?

-Ratheesh

> On Wed, Jul 28, 2010 at 09:54:37PM +0530, ratheesh k wrote:
>> I have a simple user space program .
>>
>> char *ptr=(char *)malloc(100);
>> strcpy(ptr , "Hi Kernel  , How are you ");
>> .........
>> sendmsg(...)
>> ........
>>
>>
>> I compiled this program  and executed on 2.6.32 user mode linux .
>> when i run uml under gdb , i would like to read all memory location
>> staring from ptr .( whole string ) from kernel .
>> I have set some break points on some system calls ( sys_sendmsg ). gdb
>> will break there and if know ptr address , should i convert to
>> physical address space ? How will i do that ? how will i get
>> uml_physmem value ?
>
> Why do you want a physical address?  It's useless to a debugger.
>
>                                Jeff
>
(Continue reading)

Christoph Egger | 29 Jul 2010 17:20
Picon
Favicon

Failing to build um allyesconfig on linus head

Hi all!

    Trying to build a um allyesconfig kernel from Linus' Head failed
for me here on i386 with loads of error messages. Find attached the
used .config and the error log.

Regards

    Christoph
#
# Automatically generated make config: don't edit
# Linux kernel version: 2.6.35-rc6
# Thu Jul 29 17:03:53 2010
#
CONFIG_DEFCONFIG_LIST="arch/$ARCH/defconfig"
CONFIG_GENERIC_HARDIRQS=y
CONFIG_UML=y
CONFIG_MMU=y
CONFIG_NO_IOMEM=y
# CONFIG_TRACE_IRQFLAGS_SUPPORT is not set
CONFIG_LOCKDEP_SUPPORT=y
# CONFIG_STACKTRACE_SUPPORT is not set
CONFIG_GENERIC_CALIBRATE_DELAY=y
CONFIG_GENERIC_BUG=y
CONFIG_GENERIC_TIME=y
CONFIG_GENERIC_CLOCKEVENTS=y
CONFIG_IRQ_RELEASE_METHOD=y
CONFIG_HZ=100
(Continue reading)

ratheesh k | 29 Jul 2010 18:52
Picon

netlink socket is not working

attached code is working properly on i386 machine running 2.6.32. but
not working on uml (2.6.32 ).

am i missing something ? or is it a known bug ?
Attachment (sock-kernel.c): text/x-csrc, 993 bytes
Attachment (netlink-user.c): text/x-csrc, 1306 bytes
------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

Gmane