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

2008-03-17 Thread Manish Katiyar
Hi, I want to have maximum debugging symbols in my kernel image and currently I have changed the build flags in my top level Makefile so that they look like below. HOSTCFLAGS = -Wall -Wstrict-prototypes #-O2 -fomit-frame-pointer #HOSTCXXFLAGS = -O2 ifdef CONFIG_CC_OPTIMIZE_FOR_SIZE CFLAGS +=

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

2008-03-17 Thread Mulyadi Santosa
hello On Mon, Mar 17, 2008 at 5:44 PM, Manish Katiyar <[EMAIL PROTECTED]> wrote: > Hi, > > I want to have maximum debugging symbols in my kernel image and > currently I have changed the build flags in my top level Makefile so > that they look like below. uhm, prevents inlining at all cost? And

Re: [uml-user] Local Devices question

2008-03-17 Thread Jeff Dike
On Fri, Mar 14, 2008 at 11:59:38PM +0100, Flavio wrote: > Let me give you the strace eject /dev/ubd2 again, it may helps you to > understand. > (I don't know if it's the same strace I posted before) It changed from > > > ioctl(3, CDROMEJECT, 0) = -1 EINVAL (Invalid argument) to

Re: [uml-user] Local Devices question

2008-03-17 Thread Flavio
On 17/03/2008, Jeff Dike <[EMAIL PROTECTED]> wrote: > On Fri, Mar 14, 2008 at 11:59:38PM +0100, Flavio wrote: > > Let me give you the strace eject /dev/ubd2 again, it may helps you to > > understand. > > (I don't know if it's the same strace I posted before) > > > It changed from > > > > > > i

Re: [uml-user] Local Devices question

2008-03-17 Thread Jeff Dike
On Mon, Mar 17, 2008 at 07:46:36PM +0100, Flavio wrote: > Thanks Jeff, here's the output: > > ~# strace -e ioctl eject /dev/ubd2 > ioctl(3, CDROMEJECT, 0) = -1 EIO (Input/output error) Nope, that's strace inside UML. What I want is strace on UML on the host. I want to see what's

Re: [uml-user] Local Devices question

2008-03-17 Thread Flavio
On 17/03/2008, Jeff Dike <[EMAIL PROTECTED]> wrote: > On Mon, Mar 17, 2008 at 07:46:36PM +0100, Flavio wrote: > > Thanks Jeff, here's the output: > > > > ~# strace -e ioctl eject /dev/ubd2 > > ioctl(3, CDROMEJECT, 0) = -1 EIO (Input/output error) > > > Nope, that's strace inside

[uml-user] uml_mconsole eth port not same as in uml

2008-03-17 Thread lanas
I'm running into this curious problem. I start a uml (LFS base system) with only one interface, lo: uml2 # ip link ls 1: lo: mtu 16436 qdisc noqueue link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 Then using uml_mconsole I add a eth device: host: uml_mconsole uml2 config eth0=mcast

Re: [uml-user] Local Devices question

2008-03-17 Thread Jeff Dike
On Mon, Mar 17, 2008 at 09:50:43PM +0100, Flavio wrote: > Here's the strace log file attached to this mail. > Note that it's a compressed text file (as you can see), but once it > has been uncompressed, it occupies about 75 MBytes. This is the relevant bit: ioctl(16, CDROMEJECT, 0)

Re: [uml-user] Local Devices question

2008-03-17 Thread Jeff Dike
(Forgot to mention - I can see you're running with skas4. Nice work, and I trust it's working well for you...) Jeff -- Work email - jdike at linux dot intel dot com - This SF.net email is sponsored by: Mic

Re: [uml-user] uml_mconsole eth port not same as in uml

2008-03-17 Thread Jeff Dike
On Mon, Mar 17, 2008 at 08:40:09PM -0400, lanas wrote: > So far, it looks all right. > > But then, there's no eth0 device in the uml, but an eth4 instead: > > uml2 # ip link ls > 1: lo: mtu 16436 qdisc noqueue > link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 > 2: eth4: mtu 1500 qdisc