On Thursday 26 May 2005 04:03, Dinesh Ahuja wrote:
> Thanks for your suggestions.
>
> > Is it possible to have UML kernel [ guest kernel ]
> > of higher version than the host kernel.
> > Yes, definitely...

> Will I be able to debug LKM of version 2.4 and 2.6 as
> my guest kernel is 2.6.
For a 2.6 guest kernel you can compile 2.6 modules, so the code must support 
2.6. Showing that debugging a LKM which does not compile is impossible is 
left as an exercise to the reader :-)

Seriously, LKMs have strict dependencies on kernel releases... some modules 
can span multiple releases, but most ones need some explicit support. A 
module for 2.4 kernels will probably work with any recent 2.4 kernel, while 
for 2.6 dependencies are much stricter thanks to the extremely active 
development happening.

> I have got the executable linux and when I try to
> launch it via following command
> $linux

> The following error comes. It seems that UML is not
> able to find the filesystem where it needs to be
> loaded
Yes, do you expect UML to create the filesystem for the new image on demand? 
Tried downloading a root filesystem and passing ubd0=<fileName> (remember to 
uncompress the downloaded file!).

> VFS: Cannot open root device "98:0" or
> unknown-block(98,0)

> If I try to launch linux in debug version, by using
> linux debug command, the new xterm gets launched but
> UML doesnot launch gdb in this new xterm.
> The new xterm shows :
> Can't execvp port-helper: No such file or directory
Install usermode-utilities.

> For debugging kernel modules, I am following steps
> mentioned in an article "Debugging Kernel Modules with
> User Mode Linux" By David Frascone on internet.

-- 
Paolo Giarrusso, aka Blaisorblade
Skype user "PaoloGiarrusso"
Linux registered user n. 292729
http://www.user-mode-linux.org/~blaisorblade

        

        
                
___________________________________ 
Yahoo! Mail: gratis 1GB per i messaggi e allegati da 10MB 
http://mail.yahoo.it



-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
User-mode-linux-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user

Reply via email to