Re: [uml-user] Debug filesystem from UML

2007-12-17 Thread Jeff Dike
On Mon, Dec 17, 2007 at 11:24:23PM +0530, Manish Katiyar wrote: > I wanted that > when i do a "insmod mymodule.ko" from the shell prompt, since this > module calls register_filesytem gdb should stop at that breakpoint. > But this is not happening. The module just gets loaded successfully > and sile

Re: [uml-user] parse_chan_pair failed

2007-12-17 Thread Jeff Dike
On Mon, Dec 17, 2007 at 01:50:35PM -0700, Jon Rafkind wrote: > ./linux ubd0=images/x > Using a channel type which is configured out of UML ./linux --showconfig | grep CHAN and make sure that the xterm and pts ones are enabled. Jeff -- Work email - jdike at linu

[uml-user] parse_chan_pair failed

2007-12-17 Thread Jon Rafkind
Hi, I am getting a new error message with UML. First a few lines of Using a channel type which is configured out of UML parse_chan_pair failed for device 15 : Configuration failed and then the vfs can't mount the root partition specified with ubd0. VFS: Cannot open root device "98:0" or unknow

[uml-user] [PATCH] arch/um: Spelling fixes

2007-12-17 Thread Joe Perches
Signed-off-by: Joe Perches <[EMAIL PROTECTED]> --- arch/um/sys-x86_64/signal.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/um/sys-x86_64/signal.c b/arch/um/sys-x86_64/signal.c index 1778d33..3a63862 100644 --- a/arch/um/sys-x86_64/signal.c +++ b/arch/um/sys-x86_

Re: [uml-user] Debug filesystem from UML

2007-12-17 Thread Manish Katiyar
Hi, Thanks a lot jeff, Now i am able to boot my UML from gdb after your command. But still not able to achieve what i wanted. I wanted that when i do a "insmod mymodule.ko" from the shell prompt, since this module calls register_filesytem gdb should stop at that breakpoint. But this is not happeni

Re: [uml-user] Debug filesystem from UML

2007-12-17 Thread Jeff Dike
On Mon, Dec 17, 2007 at 05:19:36PM +0530, Manish Katiyar wrote: > I tried to use gdb and break on register_filesystem, but whenever > it gets called it crashes with the following stack > > Program received signal SIGSEGV, Segmentation fault. It's not a crash. Just tell gdb handle SIGSEGV

[uml-user] Debug filesystem from UML

2007-12-17 Thread Manish Katiyar
Hi, I am new bie to this group and have recently started playing around with UML. I was writing a small file system module and using UML for it. I tried to use gdb and break on register_filesystem, but whenever it gets called it crashes with the following stack Program received signal SIGSEGV, Se