linux-um archives
 help / color / mirror / Atom feed
* [uml-devel] Valgrinding Linux kernel with UML
@ 2003-11-30 21:34 derry shribman
  2003-11-30 21:41 ` Henrik Nordstrom
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: derry shribman @ 2003-11-30 21:34 UTC (permalink / raw)
  To: user-mode-linux-devel

Hi,

I have been using valgrind for quite a while, and found it to be very useful 
for my user-mode Linux programming.
I therefore tried getting valgrind to work on the Linux Kernel, with UML.

I did a few quick hacks:
- getting valgrind it to know UML's kmalloc/kfree and friends
- canceling the sanity check valgrind performs upon loading an image, in 
which it checks the image base address (since UML loads the kernel at a 
different virtual start address than regular applications start address).

Still - valgrind+UML crashed immediately.

Did anyone try out valgrind+UML?

Thanks,
Derry

_________________________________________________________________
Protect your PC - get McAfee.com VirusScan Online 
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [uml-devel] Valgrinding Linux kernel with UML
  2003-11-30 21:34 [uml-devel] Valgrinding Linux kernel with UML derry shribman
@ 2003-11-30 21:41 ` Henrik Nordstrom
  2003-11-30 23:03 ` [uml-devel] bug: [ 851759 ] SuSE YAST in textmode does not work roland
  2003-12-06  0:05 ` [uml-devel] Valgrinding Linux kernel with UML Jeff Dike
  2 siblings, 0 replies; 4+ messages in thread
From: Henrik Nordstrom @ 2003-11-30 21:41 UTC (permalink / raw)
  To: derry shribman; +Cc: user-mode-linux-devel

There was some discussion on this some weeks ago, indicating at least that
it was possible to run UML under valgrind with some patches to valgrind
but unless it was thought about the kmalloc/kfree and friends it could not
do much useful.. check the archives if you have not already, maybe there 
is some useful clues.

Regards
Henrik

On Sun, 30 Nov 2003, derry shribman wrote:

> Hi,
> 
> I have been using valgrind for quite a while, and found it to be very useful 
> for my user-mode Linux programming.
> I therefore tried getting valgrind to work on the Linux Kernel, with UML.
> 
> I did a few quick hacks:
> - getting valgrind it to know UML's kmalloc/kfree and friends
> - canceling the sanity check valgrind performs upon loading an image, in 
> which it checks the image base address (since UML loads the kernel at a 
> different virtual start address than regular applications start address).
> 
> Still - valgrind+UML crashed immediately.
> 
> Did anyone try out valgrind+UML?
> 
> Thanks,
> Derry
> 
> _________________________________________________________________
> Protect your PC - get McAfee.com VirusScan Online 
> http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
> 
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: SF.net Giveback Program.
> Does SourceForge.net help you be more productive?  Does it
> help you create better code?  SHARE THE LOVE, and help us help
> YOU!  Click Here: http://sourceforge.net/donate/
> _______________________________________________
> User-mode-linux-devel mailing list
> User-mode-linux-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
> 



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [uml-devel] bug:  [ 851759 ] SuSE YAST in textmode does not work
  2003-11-30 21:34 [uml-devel] Valgrinding Linux kernel with UML derry shribman
  2003-11-30 21:41 ` Henrik Nordstrom
@ 2003-11-30 23:03 ` roland
  2003-12-06  0:05 ` [uml-devel] Valgrinding Linux kernel with UML Jeff Dike
  2 siblings, 0 replies; 4+ messages in thread
From: roland @ 2003-11-30 23:03 UTC (permalink / raw)
  To: user-mode-linux-devel, uml-user

Hi,
i have submitted a bugreport related to yast:
http://sourceforge.net/tracker/index.php?func=detail&atid=100429&aid=851759&group_id=429
i don`t know if it`s a yast bug or if it`s a uml bug - but the effect is, that yast isn`t really usable inside an uml. did others
experience this bug?  comments?

regards
roland

ps:
it is important for me to fix this, because if i setup uml`s for my users, the first thing they will do is firing up yast to install
packages. so - this is an essential tool which should work correct.

pps:
sorry for flooding uml-lists with so many posts - but i had just some time this weekend :D



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [uml-devel] Valgrinding Linux kernel with UML
  2003-11-30 21:34 [uml-devel] Valgrinding Linux kernel with UML derry shribman
  2003-11-30 21:41 ` Henrik Nordstrom
  2003-11-30 23:03 ` [uml-devel] bug: [ 851759 ] SuSE YAST in textmode does not work roland
@ 2003-12-06  0:05 ` Jeff Dike
  2 siblings, 0 replies; 4+ messages in thread
From: Jeff Dike @ 2003-12-06  0:05 UTC (permalink / raw)
  To: derry shribman; +Cc: user-mode-linux-devel

derrysh@hotmail.com said:
> Still - valgrind+UML crashed immediately.
> Did anyone try out valgrind+UML? 

There is a config option (double the size of the kernel stack) that you need
to set in order for Valgrind to have a chance.

There are also a bunch of Valgrind fixes which are necessary, and I don't
know whether they've made it in yet.

				Jeff



-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2003-12-05 23:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-11-30 21:34 [uml-devel] Valgrinding Linux kernel with UML derry shribman
2003-11-30 21:41 ` Henrik Nordstrom
2003-11-30 23:03 ` [uml-devel] bug: [ 851759 ] SuSE YAST in textmode does not work roland
2003-12-06  0:05 ` [uml-devel] Valgrinding Linux kernel with UML Jeff Dike

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox