Re: [uml-user] Local Devices question

2008-03-18 Thread Flavio
On 18/03/2008, Jeff Dike <[EMAIL PROTECTED]> wrote: > 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. > >

Re: [uml-user] Local Devices question

2008-03-18 Thread Jeff Dike
On Tue, Mar 18, 2008 at 12:30:53PM +0100, Flavio wrote: > > > > As a sanity-check, you can do this again, look for the line above, and > > make sure the file descriptor (16 in this case) refers to /dev/cdrom. > > Look in /proc//fd for the same pid that you strace. > I don't know why I don't have

Re: [uml-user] Local Devices question

2008-03-18 Thread Flavio
On 18/03/2008, Jeff Dike <[EMAIL PROTECTED]> wrote: > I just noticed something. I forgot to pass down the ioctl argument. > See if the patch below makes any differece. I applied your last patch to my kernel tree doing nothing else before but... I had problems during compilation: # make linux AR

Re: [uml-user] Local Devices question

2008-03-18 Thread Jeff Dike
On Tue, Mar 18, 2008 at 04:41:37PM +0100, Flavio wrote: > I applied your last patch to my kernel tree doing nothing else before but... > > I had problems during compilation: > > arch/um/drivers/ubd_kern.c: In function 'path_requires_switch': > arch/um/drivers/ubd_kern.c:1203: error: case label no

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

2008-03-18 Thread Manish Katiyar
hmmm when I used -Os I got the below error (last few lines) LD init/built-in.o LD .tmp_vmlinux1 mm/built-in.o: In function `index_of': /home/mkatiyar/personal/uml/linux-2.6.23.12/mm/slab.c:341: undefined reference to `__bad_size' /home/mkatiyar/personal/uml/linux-2.6.23.12/mm/sla

Re: [uml-user] Local Devices question

2008-03-18 Thread Flavio
On 18/03/2008, Jeff Dike <[EMAIL PROTECTED]> wrote: > Did you back out the previous patch first? This is a replacement for > it, not an update. No I didn't. Excuse me, but I've never done a patch back out before. Could you tell me how to do it, please? Note that, your last patch has been success

Re: [uml-user] Local Devices question

2008-03-18 Thread Jeff Dike
On Tue, Mar 18, 2008 at 06:53:06PM +0100, Flavio wrote: > No I didn't. Excuse me, but I've never done a patch back out before. > Could you tell me how to do it, please? > Note that, your last patch has been successfully applied. Backing out a patch is the same as applying it, except you add -R to

Re: [uml-user] Local Devices question

2008-03-18 Thread Flavio
On 18/03/2008, Jeff Dike <[EMAIL PROTECTED]> wrote: > On Tue, Mar 18, 2008 at 06:53:06PM +0100, Flavio wrote: > > No I didn't. Excuse me, but I've never done a patch back out before. > > Could you tell me how to do it, please? > > Note that, your last patch has been successfully applied. > > > B