>>>>> On Mon, 13 Mar 2000 22:27:47 +0530, Raghavendra Bhat <[EMAIL PROTECTED]> said:

    Raghavendra> Shanker posts:
    Raghavendra> are derived from sysvinit-2.78-2. There is no problem
    Raghavendra> in running this kernel except for two.  Quite stable
    Raghavendra> and fast.

Lucky You !!

    Raghavendra> Problem 1: VJ compression in the ppp module is not
    Raghavendra> getting enabled and error is echoed on screen.  I
    Raghavendra> assume that the generic PPP driver is behind this.

I think there was something about this on the LKML. 

    Raghavendra> Problem 2: cannot mount shm filesystem echoed on
    Raghavendra> screen once after booting and whenever a Gtk based
    Raghavendra> app is used.

Well, in case you are interested, this is something which might help.
>From LKML.

Try the patch at the end of this email

   and
   when running a number of applications fail with the following message
   in /var/log/messages:

   Mar 10 08:16:48 localhost kernel: shmget: shm filesystem not mounted

"mkdir /var/shm" and add a line like the following to /etc/fstab if
you want to run 2.3.x and have working sysv SHM:

none                    /var/shm                shm     defaults        0 0

Here is the patch for the statfs problem.

diff -u --recursive --new-file --exclude=CVS --exclude=.cvsignore 
vanilla/linux/ipc/shm.c linux/ipc/shm.c
--- vanilla/linux/ipc/shm.c     Fri Mar 10 01:02:53 2000
+++ linux/ipc/shm.c     Thu Mar  9 23:22:54 2000
@@ -48,7 +48,7 @@
 static int           shm_remount_fs (struct super_block *, int *, char *);
 static void          shm_read_inode (struct inode *);
 static void          shm_write_inode(struct inode *);
-static int           shm_statfs (struct super_block *, struct statfs *, int);
+static int           shm_statfs (struct super_block *, struct statfs *);
 static int           shm_create   (struct inode *,struct dentry *,int);
 static struct dentry *shm_lookup   (struct inode *,struct dentry *);
 static int           shm_unlink   (struct inode *,struct dentry *);
@@ -347,18 +347,16 @@
        up(&shm_ids.sem);
 }
 
-static int shm_statfs(struct super_block *sb, struct statfs *buf, int bufsiz)
+static int shm_statfs(struct super_block *sb, struct statfs *buf)
 {
-       struct statfs tmp;
-
-       tmp.f_type = 0;
-       tmp.f_bsize = PAGE_SIZE;
-       tmp.f_blocks = shm_ctlall;
-       tmp.f_bavail = tmp.f_bfree = shm_ctlall - shm_tot;
-       tmp.f_files = shm_ctlmni;
-       tmp.f_ffree = shm_ctlmni - used_segs;
-       tmp.f_namelen = SHM_NAME_LEN;
-       return copy_to_user(buf, &tmp, bufsiz) ? -EFAULT : 0;
+       buf->f_type = 0;
+       buf->f_bsize = PAGE_SIZE;
+       buf->f_blocks = shm_ctlall;
+       buf->f_bavail = buf->f_bfree = shm_ctlall - shm_tot;
+       buf->f_files = shm_ctlmni;
+       buf->f_ffree = shm_ctlmni - used_segs;
+       buf->f_namelen = SHM_NAME_LEN;
+       return 0;
 }
 
 static void shm_write_inode(struct inode * inode)

    Raghavendra> lest U start accusing me of faking up things and
    Raghavendra> calling me a hijacker of kernel versions :-<piss)

And you know what ?? THe mail which you had cc'ed to me ended up in
nnml:bogus . My mail filter put it there :-) 
BTW xemacs+gnus rocks like anything. Real Cool Stuf !!
Hey Shanu, you tried xemacs+gnus ?? You better !!
Regards
        - Khader
-- 
The most important design issue... is the fact that Linux is supposed to 
be fun...
        -- Linus Torvalds

Syed Khader Vali (Siddiq)                          [EMAIL PROTECTED]
Debian GNU/Linux (Woody)                    http://www.sidcarter.com

-----------------------------------------------------------------------
For information on this and other Linux India mailing lists check out
http://lists.linux-india.org/

Reply via email to