lkml.org 
[lkml]   [2001]   [Dec]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 2.5.1-pre5 not easy to boot with devfs
Richard Gooch wrote:


> @@ -3243,11 +3246,17 @@
> tlen = rpos - *ppos;
> if (done)
> {
> + devfs_handle_t parent;
> +
> spin_lock (&fs_info->devfsd_buffer_lock);
> fs_info->devfsd_first_event = entry->next;
> if (entry->next == NULL) fs_info->devfsd_last_event = NULL;
> spin_unlock (&fs_info->devfsd_buffer_lock);
> - for (; de != NULL; de = de->parent) devfs_put (de);
> + for (; de != NULL; de = parent)
> + {
> + parent = de->parent;
> + devfs_put (de);
> + }
> kmem_cache_free (devfsd_buf_cache, entry);
> if (ival > 0) atomic_sub (ival, &fs_info->devfsd_overrun_count);
> *ppos = 0;

I have just edited the fs/devfs/base.c in the 2.4.17-pre2 tree with the
change in the above lines.

It boots and looks OK.

I have to switch off devfs=dall it keeps repeating the same message
endlessly. I'm going to be short in HD capacity.

Regards

Pierre
_________________________________________________________
Dec 3 13:07:34 milou kernel: devfs: d_delete(): dentry: cd15bba4
inode: ccdb2d9c devfs_entry: cfc14324
Dec 3 13:07:34 milou kernel: devfs: d_delete(): dentry: cfd45484
inode: cfc13bf4 devfs_entry: cfc143ac
Dec 3 13:07:34 milou kernel: devfs: d_delete(): dentry: cd15bba4
inode: ccdb2d9c devfs_entry: cfc14324
Dec 3 13:07:34 milou kernel: devfs: d_delete(): dentry: cfd45484
inode: cfc13bf4 devfs_entry: cfc143ac
Dec 3 13:07:34 milou kernel: devfs: d_delete(): dentry: cd15bba4
inode: ccdb2d9c devfs_entry: cfc14324
Dec 3 13:07:35 milou kernel: devfs: d_delete(): dentry: cfd45484
inode: cfc13bf4 devfs_entry: cfc143ac
Dec 3 13:07:35 milou kernel: devfs: d_delete(): dentry: cd15bba4
inode: ccdb2d9c devfs_entry: cfc14324
Dec 3 13:07:35 milou kernel: devfs: d_delete(): dentry: cfd45484
inode: cfc13bf4 devfs_entry: cfc143ac
Dec 3 13:07:35 milou kernel: devfs: d_delete(): dentry: cd15bba4
inode: ccdb2d9c devfs_entry: cfc14324
Dec 3 13:07:35 milou kernel: devfs: d_delete(): dentry: cfd45484
inode: cfc13bf4 devfs_entry: cfc143ac
Dec 3 13:07:35 milou kernel: devfs: d_delete(): dentry: cd15bba4
inode: ccdb2d9c devfs_entry: cfc14324
Dec 3 13:07:35 milou kernel: devfs: d_delete(): dentry: cfd45484
inode: cfc13bf4 devfs_entry: cfc143ac
Dec 3 13:07:35 milou kernel: devfs: d_delete(): dentry: cd15bba4
inode: ccdb2d9c devfs_entry: cfc14324
Dec 3 13:07:36 milou kernel: devfs: d_delete(): dentry: cfd45484
inode: cfc13bf4 devfs_entry: cfc143ac
Dec 3 13:07:36 milou kernel: devfs: d_delete(): dentry: cd15bba4
inode: ccdb2d9c devfs_entry: cfc14324
Dec 3 13:07:36 milou kernel: devfs: d_delete(): dentry: cfd45484
inode: cfc13bf4 devfs_entry: cfc143ac
Dec 3 13:07:36 milou kernel: devfs: d_delete(): dentry: cd15bba4
inode: ccdb2d9c devfs_entry: cfc14324
--
------------------------------------------------
Pierre Rousselet <pierre.rousselet@wanadoo.fr>
------------------------------------------------
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:13    [W:0.163 / U:5.692 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site