Hi, 

I am testing a driver, it crash in UML when it calls vmalloc,

Poking around, it seems, kmem_top has an invalid memory location, 

unsigned long get_kmem_end(void)
{
        if(kmem_top == 0)
                kmem_top = CHOOSE_MODE(kmem_end_tt, kmem_end_skas);
        return(kmem_top);
}

(gdb) p/x kmem_top
$12 = 0xbff00000
(gdb) x/20 kmem_top
0xbff00000:     Cannot access memory at address 0xbff00000
(gdb) 

Wonderinf if I am doing anything wrong ?

Host is Fedora Core 5, original, unpacthed, unmodified kernel,  

24/10:32% uname -a
Linux huchen-fedora1 2.6.15-1.2054_FC5 #1 Tue Mar 14 15:48:33 EST 2006
i686 i686 i386 GNU/Linux
24/10:32% 

UML is 2.6.18,

Thanks,

-- Huei-Ping

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
User-mode-linux-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user

Reply via email to