Re: [PATH] Port software to UML.

From: hugang (
Date: Sun May 05 2002 - 21:50:25 EST

On Sun, 05 May 2002 19:22:39 -0500
Jeff Dike <> wrote:

> said:
> > Ther problem in bread.
> No, the problem is in not understanding UML.
> UML's state is somewhat more complicated than the state of a native kernel.
> You also need to recreate
> the host processes
> the ptrace relationships between the tracing thread and the other
> processes
> open file descriptors
> and maybe a few other things that aren't coming to mind
> Jeff

Now , I found the Problem. Fix that have two way
--1 after the register disk , We not close it.
--2 at prepare_request , We check the dev->count, it not open , must open it first.

The 1.diff is use the 1 way.
the 2.diff is use the 2 way.

Which is the best?

thanks with regards!

*********************************** Beijing Soul Technology Co.,Ltd. Tel:010-68425741/42/43/44 Fax:010-68425745 web: ***********************************

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to More majordomo info at Please read the FAQ at

This archive was generated by hypermail 2b29 : Tue May 07 2002 - 22:00:25 EST