I need help, folks.
The problem is that /proc/PID/cmdline shows nuthing.nada.zip.zilch!!! it is a kernel issue and I had reported this issue w/ Redhat. they had sent me a patch to fix this (and recompiled the kernel with the patch) that runs fine on most machines, but unable to run on a machine that has software raid configured. well the patch as follows:
--- linux/fs/proc/base.c.BAD Tue May 6 16:07:12 2003
+++ linux/fs/proc/base.c Tue May 6 16:09:16 2003
@@ -155,6 +155,12 @@
if (len > PAGE_SIZE)
len = PAGE_SIZE;
res = access_process_vm(task, mm->arg_start, buffer, len, 0);
+ * If the length is > 4Kb we need to add a 0 to the end
+ if ((len == PAGE_SIZE) && (res > 0))
+ buffer[res-1] = '\0';
// If the nul at the end of args has been overwritten, then
// assume application is using setproctitle(3).
if ( res > 0 && buffer[res-1] != '\0' )
After applying the patch and rebuilding the kernel, it allows processes to pass upto 4KB long arguments.
The kernel I am using is 2.4.9-e.25smp with SMP, RAID and Blcok Device options enabled in "menuconfig". It still does not like the / mount and barks about /dev/md4 which is a mounted filsystem with software raid on.
Can anyone out there compile this patch with the above kernel and make an .rpm file and upload it here. I would really appreciate it, because I have given it up after trying over and over.
Discussion regarding the installation and configuration of Linux distributions.
1 post • Page 1 of 1
Who is online
Users browsing this forum: No registered users and 1 guest