[uml-user] Compile flags for kernel for maximum debugging symbols (for UML)

2008-03-17 Thread Manish Katiyar
change in my Makefile so that gcc doesnt optimize anything and provides me with the maximum info. I doubt but can that be related to UML in anyway , because while building I have to give "arch=UM" ? -- Thanks & Regards, ***********

Re: [uml-user] Compile flags for kernel for maximum debugging symbols (for UML)

2008-03-18 Thread Manish Katiyar
-O, not -Os or -O2. > > > Erik > > -- > Erik Mouw -- [EMAIL PROTECTED] > > -BEGIN PGP SIGNATURE- > Version: GnuPG v1.4.6 (GNU/Linux) > > iD8DBQFH3o2m/PlVHJtIto0RAgJ3AJ9acU8UdMloGMrQZzhmDdi1k6zUkQCfTkKy > fh+HtT+eFzY6Qmai01mDnDs= > =60PS > -END PGP SIGNATURE- > >

Re: [uml-user] make command not found

2008-04-16 Thread Manish Katiyar
nux-user mailing list > User-mode-linux-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user > > -- Thanks & Regards, Manish Katiyar ( http://mkatiyar.googlepages.com ) 3rd

Re: [uml-user] make command not found

2008-04-16 Thread Manish Katiyar
;p?http://java.sun.com/javaone > ___ > User-mode-linux-user mailing list > User-mode-linux-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user > --

[uml-user] Fwd: do i have to recompile my module in UML

2008-05-08 Thread Manish Katiyar
lk;198757673;13503038;p?http://java.sun.com/javaone ___ User-mode-linux-user mailing list User-mode-linux-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user -- Thanks & Regards, ***

Re: [uml-user] Fwd: do i have to recompile my module in UML

2008-05-08 Thread Manish Katiyar
> Can send Makefile later..isn't that quite big to upload here? > > thanks for helping > > > > - Original Message > From: Manish Katiyar <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED]; user-mode-linux-user > > Sent: Thursday, May 8, 2008 12:04:28 A

[uml-user] how to reload symbols for kernel in UML

2009-01-01 Thread Manish Katiyar
Hi, While debugging a module from UML I made a mistake of running the command "file-symbol" in gdb which resulted in erasing all the symbols for my linux and I had to restart my gdb session. So I want to know how do I reload the symbols ? I tried doing a "add-symbol-file /vmlinux.o" for my kernel

[uml-user] Compiling modules on UML

2009-08-05 Thread Manish Katiyar
Hi, I am trying to compile a module on UML. The kernel with which I am booting UML is my custom kernel built on i386 machine with the command line as "make defconfig ARCH=um; make linux ARCH=um". After the kernel boots up my uname shows something like below :- bash-3.2# uname -a Linux localhost.l

Re: [uml-user] Compiling modules on UML

2009-08-05 Thread Manish Katiyar
On Wed, Aug 5, 2009 at 4:46 PM, Flavio wrote: > 2009/8/5 Manish Katiyar : >> My question is how do people build modules which are specific to a >> particular architecture on UML ? Is it possible ? > Sure! > Are you compiling the kernel modules from the host system? If not,

Re: [uml-user] Compiling modules on UML

2009-08-05 Thread Manish Katiyar
On Wed, Aug 5, 2009 at 8:44 PM, H M Thalib wrote: > Hi  Manish, > > Manish Katiyar wrote: >> >> On Wed, Aug 5, 2009 at 4:46 PM, Flavio wrote: >>> >>> 2009/8/5 Manish Katiyar : >>>> >>>> My question is how do people build modules whic

[uml-user] Avoid uml opening virtual consoles

2009-08-06 Thread Manish Katiyar
Hi, I have downloaded fedora-10 uml images from http://uml.nagafix.co.uk/filesystems/ . After booting it up it opens up 6 virtual consoles for me. What I would like to have is just one terminal and that also in the same terminal from where I am invoking the UML kernel. (I used to get that with a d

[uml-user] UML crash in copy_from_user()

2009-08-29 Thread Manish Katiyar
Hi, I am trying to write a module in which I have an ioctl through which I pass a userspace structure. The handler for the ioctl looks like below. 203 int 204 ohsm_enable(unsigned long arg) 205 { 206 207 int ret = 0; 208 struct ohsm_instance *instance; 209 struct ohsm_userspace ohsm_user_in

Re: [uml-user] Problem running

2011-08-02 Thread Manish Katiyar
On Tue, Aug 2, 2011 at 11:13 AM, ALEJANDRO MOLINA ZARCA wrote: > When I do: > > ./linux ubda=/usr/share/vnuml/filesystems/root_fs_tutorial mem=128M > > It shows me: > >  ubda: unknown partition table > List of all partitions: > 6200         1458304 ubda  driver: uml-blkdev > No filesystem could mo

[uml-user] Debug filesystem from UML

2007-12-17 Thread Manish Katiyar
Any suggestions what might be going wrong. Note that it crashes only when i use gdb. Otherwise i am able to successfully load my filesystem module in UML and see in /proc/filesystems. -- Thanks & Regards, ******** Manish Katiyar ( http://mkatiyar.googlepages.com

Re: [uml-user] Debug filesystem from UML

2007-12-17 Thread Manish Katiyar
his is not happening. The module just gets loaded successfully and silently. Is there any other way by which i can trace the register_filesystem call for my module ?? Thanks in advance On Dec 17, 2007 9:21 PM, Jeff Dike <[EMAIL PROTECTED]> wrote: > On Mon, Dec 17, 2007 at 05:19:36PM +0530, M

[uml-user] Error mounting filesystems on -o loop

2007-12-20 Thread Manish Katiyar
66>] handle_signal+0x4c/0x7a 081ecd0c: [<08066f6b>] hard_handler+0xf/0x14 081ecd1c: [] _etext+0xf7e70304/0x0 Any suggestions ?? -- Thanks & Regards, Manish Katiyar ( h

Re: [uml-user] Error mounting filesystems on -o loop

2007-12-22 Thread Manish Katiyar
using gdb. Do I need the skas patches ? Thanks in advance On Dec 22, 2007 9:19 PM, Jeff Dike <[EMAIL PROTECTED]> wrote: > On Sat, Dec 22, 2007 at 07:41:09PM +0530, Manish Katiyar wrote: > > Hi Jeff, > > > > I chose the default options while kernel building. Do I need to

Re: [uml-user] Error mounting filesystems on -o loop

2007-12-23 Thread Manish Katiyar
error $14 = (gdb) p bdev $15 = (struct block_device *) 0x8803080<<== value different here.. (gdb) n Thanks in advance On Dec 23, 2007 4:06 AM, Jeff Dike <[EMAIL PROTECTED]> wrote: > On Sun, Dec 23, 2007 at 12:36:02AM +0530, Manish Katiyar wrote: > > Why is it not able to alloc

[uml-user] memory addresses of UML kernel

2008-01-12 Thread Manish Katiyar
nks & Regards, ******** Manish Katiyar ( http://mkatiyar.googlepages.com ) 3rd Floor, Fair Winds Block EGL Software Park Off Intermediate Ring Road Bangal

Re: [uml-user] memory addresses of UML kernel

2008-01-13 Thread Manish Katiyar
Hi Jeff, On Jan 12, 2008 9:43 PM, Jeff Dike <[EMAIL PROTECTED]> wrote: > On Sat, Jan 12, 2008 at 07:23:13PM +0530, Manish Katiyar wrote: > > >From the stack I can see that all the function addresses are below 3 > > GB even though they are kernel functions. Is it beca

Re: [uml-user] Help with GCC on UML

2008-01-14 Thread Manish Katiyar
Source. > http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace > ___ > User-mode-linux-user mailing list > User-mode-linux-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/user-mode-linu