d_name);
2006/8/16, Blaisorblade <[EMAIL PROTECTED]>:
On Monday 14 August 2006 13:07, wang lianwei wrote:> Answers:>> 1. I test it on ext3 filesystem.
>> 2. You are right. Sometimes the pos telldir returned is not the next entry> offset. just as your point out:> pos
*len_out = strlen(ent->d_name);
2006/8/13, Blaisorblade <[EMAIL PROTECTED]>:
On Thursday 10 August 2006 17:42, wang lianwei wrote:> Hi all,>> There is a bug with UML kernel, some host directory can not be read, for
> example "ls /mnt/host/usr/lib", this command
Hi all,
There is a bug with UML kernel, some host directory can not be read, for example "ls /mnt/host/usr/lib", this command is dead until you press CTRL+c. I test it with Redhat Enterprise Linux 4.
This is because the UML read host directory through opendir, seekdir, readdir and telldir. W
Hi all,
The source code on sourceforge cvs (http://user-mode-linux.cvs.sourceforge.net/user-mode-linux/linux/) has not update long time, or there is another web site that contain the latest code. Who can tell me where can I find the latest source code for web browsing.
--
After launch the uml with
hostfs mounted, I run the find command in '/' directory,then the host system
crash.
as below
procedure:
cd /
find .
then the host
crash.
My UML kernel version is
2.6.10.
Best Regards,Wang Lianwei[X] General Business Information
1. linux/arch/um/kernel/physmem.c
the find_iomem function will case endless loop if you use two or more iomem to launch the UML kernel.
diff -urN linux-2.6.10/arch/um/kernel/physmem.c linux-2.6.10-src/arch/um/kernel/physmem.c --- linux-2.6.10/arch/um/kernel/physmem.c 2004-12-2
There is a bug In file
linux/arch/um/kernel/physmem.c init_mem() functions:
int init_maps(unsigned long physmem, unsigned
long iomem, unsigned long highmem){ struct page *p, *map;
unsigned long phys_len, phys_pages, highmem_len, highmem_pages; unsigned long
iomem_len, iomem_pages, total_l
hi,
I test the uml kernel iomem functions, and found that if the iomem file size is greater than 2M, the uml kernel will panic. the output is:
Checking for the skas3 patch in the host...not foundChecking for /proc/mm...not foundChecking PROT_EXEC mmap in /tmp...OK tracing thread pid = 9425L
confirm 414904