Re: [uml-user] Module Debugging Help Please?

2006-08-09 Thread Jeff Dike
On Wed, Aug 09, 2006 at 10:34:15AM -0400, Rick Spillane wrote: > I am in desperate need of debugging modules in UML. The primary reason > I am developing in UML is so I can debug my modules in gdb like a > "normal" program, as well as the other benefits of UML. Blaiserblade > was very kind in respo

Re: [uml-user] AMD64-Status?

2006-08-09 Thread Jeff Dike
On Tue, Aug 08, 2006 at 05:51:45PM +0200, Sven K?hler wrote: > - What's the status of AMD64-UML-guestkernels? i mean, can i compile > them easily using vanilla sources? and do they run more or less stable? Yes, and yes. You'll want a recent x86_64 host kernel - there was a period of time when the

[uml-user] Module Debugging Figured Out

2006-08-09 Thread Rick Spillane
OK. So I figured out how to solve my problem. I will post my results and method below: The module was compiled using ARCH=um of course, so it has debugging information right in the .ko file. I put a break point at __link_module (kernel/module.c:1775). I boot UML, and tell it to load my module.

Re: [uml-user] UML and Valgrind?

2006-08-09 Thread Jeff Dike
On Wed, Aug 09, 2006 at 09:27:10AM -0400, Charles Wright wrote: > Does anyone have Valgrind an UML working together? No, valgrind isn't up to grinding UML. > I am running valgrind 3.2.0 and the 2.6.17-rc1 UML kernel that is > available from the UML site. When I run without valgrind things work >

[uml-user] Module Debugging Help Please?

2006-08-09 Thread Rick Spillane
I am in desperate need of debugging modules in UML. The primary reason I am developing in UML is so I can debug my modules in gdb like a "normal" program, as well as the other benefits of UML. Blaiserblade was very kind in responding to me, but I find it hard to believe that no one has debugged a m

[uml-user] UML and Valgrind?

2006-08-09 Thread Charles Wright
I am developing some kernel changes, and am getting some memory corruption on a real system. I've used valgrind in user-level and it is really useful, and I know that some work has gone on in the past so that UML and valgrind can work together. The UML configuration also has mention of valgrind f

Re: [uml-user] Password

2006-08-09 Thread Nadeem Shahbaz
Priya PM, on 2006-08-09 15:38 +0500, wrote : > Hi, > > I forgot my root password to login. Is there anyway I can login without > password or is there anyway I can reset the password? > > Thanks in advance 1. Mount your UML fs at host 2. chroot to your UML fs 2.1. type chroot /mnt/VM /bin/bash

Re: [uml-user] Password

2006-08-09 Thread alessandro salvatori
or alternatively add init=/bin/bash to you kernel command line then remount / in read-write mode mount -o remount,rw / then # passwd New UNIX password: Retype new UNIX password: passwd: password updated successfully this also works for any physical machine with no boot loader password protecti

Re: [uml-user] Password

2006-08-09 Thread Samuel Korpi
On 8/9/06, Priya PM <[EMAIL PROTECTED]> wrote: > > I forgot my root password to login. Is there anyway I can login without > password or is there anyway I can reset the password? > Provided that your guest (UML) distro uses /etc/passwd to store the password hashes, you can reset the root password a

[uml-user] Password

2006-08-09 Thread Priya PM
Hi, I forgot my root password to login. Is there anyway I can login without password or is there anyway I can reset the password? Thanks in advance - Using Tomcat but need to do more? Need to support web services, security? Ge