0
I Use This!
Activity Not Available

Commits : Listings

Analyzed 4 months ago. based on code collected 4 months ago.
Jul 20, 2025 — Jul 20, 2026
Commit Message Contributor Files Modified Lines Added Lines Removed Code Location Date
Updated VIRGO Design Doc More... about 13 years ago
kern.log for test_virgo_malloc virgo_malloc() syscall testcase. Corresponding syscall client log is test_virgo_malloc_output.24October2013 More... about 13 years ago
test_virgo_malloc.c testcase output for virgo_malloc that returns a VIRGO address. Corresponding kern.log showing vtranstable entry address is kern_log_test_virgo_malloc_2_virgo_mempool_driver.working_virgo_malloc.24October2013 More... about 13 years ago
Updated test_virgo_malloc binary More... about 13 years ago
Updated test_virgo_malloc.c with reinterpret cast of long int return value from virgo_malloc syscall Printfs print in both long int and (struct virgo_address*) cast. More... about 13 years ago
Due to Kernel Panic all strcat()s have been wrapped with a kstrdup() for guaranteed kernel char* test_virgo_malloc.c has been modified with reinterpret cast of long int return value to a virgo_address pointer and it prints the pointer too. There doesn't seem to be a better way to do this as there are almost nil references for returning a non-"long int " user defined return data type pointer from a kernel syscall. Logs for virgo_malloc and Kernel sides have been added to repository. More... about 13 years ago
Kern.log test_virgo_malloc debug printk after size computation bugfix and more debug messages More... about 13 years ago
Updated test_virgo_malloc.c and Makefile with bugfixes More... about 13 years ago
Added more code comments and if clause for sum of allocated sizes has been changed Also sock_release has been commented More... about 13 years ago
Updated VIRGO Design Doc More... about 13 years ago
Updated VIRGO Design Document More... about 13 years ago
Kern.log output for virgo_cloud_malloc() test after a kernel rebuild for vtranstable addr fix which is correctly printed in logs. But still there is sock_release and poll_wait panic. More... about 13 years ago
Uncommented all tests More... about 13 years ago
Updated VIRGO Design Document More... about 13 years ago
Updated VIRGO Design Doc More... about 13 years ago
Kern.log for simple_strtoll() in virgo_malloc.c which correctly parses the address in string into long long and through reinterpret cast void* is obtained. Line 500 to 600 show that all other %p formats %p, %pK, %pF, %pS print (null) or 00000000 due to some unknown reason. More... about 13 years ago
simple_strtoll() correctly scans the address instead of all other %p formats (%p, %pK, %pF, %S) which return either 00000000 due to obfuscation or null for unknown reason. Test Kern.log added under test/ More... about 13 years ago
Updated VIRGO Design Doc More... about 13 years ago
prototype for str_to_addr2() which invokes simple_strtoll() has been added More... about 13 years ago
Added str_to_addr2() function which directly uses simple_strtoll() instead of vsscanf() Also added lot of other %p qualifiers - %pK, %pF, %pS for debugging the null scanf and this is becoming more of trial and error which it shouldn't be as the driver %p sscanf() works. Something is wrong with syscall path. More... about 13 years ago
Ongoing debugging for null sscanf in virgo_malloc.c. As an alternative to sscanf also tested strtoll in userspace which is bit of a hack to get a pointer from string. Infact the kernel/vsprintf.c in kernel source uses simple_strtoll after parsing the qualifier. More... about 13 years ago
Updated sscanftest.c with separate pointer for var_sscanf and output in comments. Meanwhile, latest kernel build with same vsscanf code still returns null in virgo_malloc.c as in kern.log below ------------------------------------------------------------------------------------------ Oct 17 19:35:08 kashrinivaasan-Inspiron-1545 kernel: [ 166.023661] virgo_mempool_client_thread(): virgo_mempool_ops.virgo_mempool_sendto() Oct 17 19:35:08 kashrinivaasan-Inspiron-1545 kernel: [ 166.023665] toAddressString(): address=eea74000, sprintf strAddress=[eea74000] Oct 17 19:35:08 kashrinivaasan-Inspiron-1545 kernel: [ 166.023669] virgocloudexec_mempool_sendto(): before kernel_sendmsg() for send buffer: eea74000 Oct 17 19:35:08 kashrinivaasan-Inspiron-1545 kernel: [ 166.023700] virgocloudexec_mempool_sendto(): kernel_sendmsg() returns ret: 500 Oct 17 19:35:08 kashrinivaasan-Inspiron-1545 kernel: [ 166.023703] virgocloudexec_mempool_sendto(): Shut down Kernel Side Client Socket with SOCK_WAKE_URG after sendmsg Oct 17 19:35:08 kashrinivaasan-Inspiron-1545 kernel: [ 166.023725] virgocloudexec_mempool_sendto(): sock_release invoked on client socket Oct 17 19:35:08 kashrinivaasan-Inspiron-1545 kernel: [ 166.023733] virgo_malloc() syscall: recv len=500; received message buf: [eea74000] Oct 17 19:35:08 kashrinivaasan-Inspiron-1545 kernel: [ 166.023737] virgo_malloc() syscall: received iov.iov_base: Oct 17 19:35:08 kashrinivaasan-Inspiron-1545 kernel: [ 166.023742] str_to_addr(): straddr=[eea74000], address scanned ptr= (null), address scanned voidptr= (null) Oct 17 19:35:08 kashrinivaasan-Inspiron-1545 kernel: [ 166.023745] str_to_addr(): after var_sscanf(): straddr=[eea74000], voidptr_vargs by vsscanf: (null) Oct 17 19:35:08 kashrinivaasan-Inspiron-1545 kernel: [ 166.023749] virgo_malloc() syscall: vtranstable.vtable[i].addr= (null) Oct 17 19:35:08 kashrinivaasan-Inspiron-1545 kernel: [ 166.023754] virgo_malloc() syscall: next_vtable_entry=2, vtranstable.vtable[next_vtable_entry].node_id=2, vtranstable.vtable[next_vtable_entry].addr= (null), vtranstable.vtable[next_vtable_entry].hstprt->hostip=127.0.0.1, vtranstable.vtable[next_vtable_entry].hstprt->port=30000 Oct 17 19:35:08 kashrinivaasan-Inspiron-1545 kernel: [ 166.023758] virgo_malloc() syscall: le32_to_cpus(buf): eea74000 Oct 17 19:35:08 kashrinivaasan-Inspiron-1545 kernel: [ 166.023783] BUG: unable to handle kernel NULL pointer dereference at 00000010 Oct 17 19:35:08 kashrinivaasan-Inspiron-1545 kernel: [ 166.023789] IP: [<c14ee1da>] sock_release+0x1a/0x80 Oct 17 19:35:08 kashrinivaasan-Inspiron-1545 kernel: [ 166.023800] *pdpt = 000000002eb3e001 *pde = 0000000000000000 Oct 17 19:35:08 kashrinivaasan-Inspiron-1545 kernel: [ 166.023807] Oops: 0000 [#3] SMP @ @ @ 41646,1 99% More... about 13 years ago
var_sscanf() function prototype added More... about 13 years ago
Added vsscanf to virgo_malloc.c for debugging More... about 13 years ago
Updated sscanftest for vsscanf(). Added sscanftest binary to repository Makefile updated More... about 13 years ago
Testcase for sscanf %p modifier for testing null sscanf in virgo_malloc.c Standalone sscanf works perfectly. More... about 13 years ago
Kern.log with str_to_addr() sscanf null return value and pollwait panic in socket_release() More... about 13 years ago
Updated str_to_addr() with and without void** cast and both return null in sscanf which does not happen in virgo_cloud_mempool_kernelspace.ko module. Ongoing testing and bugfix More... about 13 years ago
Updated VIRGO Design Doc More... about 13 years ago
Commented mutex due to a kernel panic though it needn't. Set persistence flag for vtranstable to 0 - not persisted More... about 13 years ago