mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Re: 2.6.4-rc1 oops on HPFS filesystem file rename
@ 2004-02-28 17:12 Maurice van der Stee
  2004-02-28 19:06 ` viro
  0 siblings, 1 reply; 9+ messages in thread
From: Maurice van der Stee @ 2004-02-28 17:12 UTC (permalink / raw)
  To: linux-kernel

Thanks, looks like it fixes my problem.

>>On Sat, Feb 28, 2004 at 12:04:03PM +0100, Maurice van der Stee wrote:
>> When saving an edited file residing on a HPFS filesystem I get the
>> following
>> oops.
>> Kernel is 2.6.4-rc1, compiled with gcc 3.3.2. After this any access
>> to
>> the
>> filesystem hangs the session. Kernel 2.6.3 has the same behavior.
>> Don't
>> know
>> about earlier ones.

><stares at the code>
><blinks>
><wonders whereTF do we assign hpfs1_i and hpfs2_i if both inodes are
non-NULL>
><finds the patch in question>
><stares at jgarzik>

>Fix follows.  That, BTW, means that *nobody* had ever tried to use  
> hpfs
>r/w since 2.5.3-pre3.

>diff -urN RC4-rc1/fs/hpfs/buffer.c RC4-rc1-current/fs/hpfs/buffer.c
>--- RC4-rc1/fs/hpfs/buffer.c	Mon Oct  7 15:58:24 2002
>+++ RC4-rc1-current/fs/hpfs/buffer.c	Sat Feb 28 06:33:29 2004
>@@ -62,56 +62,28 @@
< 
> void hpfs_lock_2inodes(struct inode *i1, struct inode *i2)
< {
>-	struct hpfs_inode_info *hpfs_i1 = NULL, *hpfs_i2 = NULL;
>-
>-	if (!i1) {
>-		if (i2) {
>-			hpfs_i2 = hpfs_i(i2);
>+	if (!i2 || i1 == i2) {
>+		hpfs_lock_inode(i1);
>+	} else if (!i1) {
>+		hpfs_lock_inode(i2);
>+	} else {
>+		struct hpfs_inode_info *hpfs_i1 = hpfs_i(i1);
>+		struct hpfs_inode_info *hpfs_i2 = hpfs_i(i2);
>+		if (i1->i_ino < i2->i_ino) {
>+			down(&hpfs_i1->i_sem);
>+			down(&hpfs_i2->i_sem);
>+		} else {
> 			down(&hpfs_i2->i_sem);
>-		}
>-		return;
>-	}
>-	if (!i2) {
>-		if (i1) {
>-			hpfs_i1 = hpfs_i(i1);
> 			down(&hpfs_i1->i_sem);
> 		}
>-		return;
> 	}
>-	if (i1->i_ino < i2->i_ino) {
>-		down(&hpfs_i1->i_sem);
>-		down(&hpfs_i2->i_sem);
>-	} else if (i1->i_ino > i2->i_ino) {
>-		down(&hpfs_i2->i_sem);
>-		down(&hpfs_i1->i_sem);
>-	} else down(&hpfs_i1->i_sem);
> }
> 
> void hpfs_unlock_2inodes(struct inode *i1, struct inode *i2)
> {
>-	struct hpfs_inode_info *hpfs_i1 = NULL, *hpfs_i2 = NULL;
>-
>-	if (!i1) {
>-		if (i2) {
>-			hpfs_i2 = hpfs_i(i2);
>-			up(&hpfs_i2->i_sem);
>-		}
>-		return;
>-	}
>-	if (!i2) {
>-		if (i1) {
>-			hpfs_i1 = hpfs_i(i1);
>-			up(&hpfs_i1->i_sem);
>-		}
>-		return;
>-	}
>-	if (i1->i_ino < i2->i_ino) {
>-		up(&hpfs_i2->i_sem);
>-		up(&hpfs_i1->i_sem);
>-	} else if (i1->i_ino > i2->i_ino) {
>-		up(&hpfs_i1->i_sem);
>-		up(&hpfs_i2->i_sem);
>-	} else up(&hpfs_i1->i_sem);
>+	/* order of up() doesn't matter here */
>+	hpfs_unlock_inode(i1);
>+	hpfs_unlock_inode(i2);
> }
 
> void hpfs_lock_3inodes(struct inode *i1, struct inode *i2, struct
>inode *i3)
>-

-- 
Maurice van der Stee
stee@planet.nl

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: 2.6.4-rc1 oops on HPFS filesystem file rename
  2004-02-28 17:12 2.6.4-rc1 oops on HPFS filesystem file rename Maurice van der Stee
@ 2004-02-28 19:06 ` viro
  2004-02-29 11:31   ` Maurice van der Stee
  0 siblings, 1 reply; 9+ messages in thread
From: viro @ 2004-02-28 19:06 UTC (permalink / raw)
  To: Maurice van der Stee; +Cc: linux-kernel, Linus Torvalds

On Sat, Feb 28, 2004 at 06:12:59PM +0100, Maurice van der Stee wrote:
> Thanks, looks like it fixes my problem.

BTW, while we are at it, patch below kills the hpfs_lock_{2,3}inodes()
monstrosities completely.  We can always use parents-first ordering
on the inodes, since these guys would only see contention with plain
hpfs_lock_inode() and never with each other (all inodes involved already
had semaphores held by callers in VFS).

See if that patch (on top of the previous one) works for you...

diff -urN RC4-rc1-hpfs1/fs/hpfs/buffer.c RC4-rc1-current/fs/hpfs/buffer.c
--- RC4-rc1-hpfs1/fs/hpfs/buffer.c	Sat Feb 28 13:55:26 2004
+++ RC4-rc1-current/fs/hpfs/buffer.c	Sat Feb 28 12:40:52 2004
@@ -60,74 +60,6 @@
 	}
 }
 
-void hpfs_lock_2inodes(struct inode *i1, struct inode *i2)
-{
-	if (!i2 || i1 == i2) {
-		hpfs_lock_inode(i1);
-	} else if (!i1) {
-		hpfs_lock_inode(i2);
-	} else {
-		struct hpfs_inode_info *hpfs_i1 = hpfs_i(i1);
-		struct hpfs_inode_info *hpfs_i2 = hpfs_i(i2);
-		if (i1->i_ino < i2->i_ino) {
-			down(&hpfs_i1->i_sem);
-			down(&hpfs_i2->i_sem);
-		} else {
-			down(&hpfs_i2->i_sem);
-			down(&hpfs_i1->i_sem);
-		}
-	}
-}
-
-void hpfs_unlock_2inodes(struct inode *i1, struct inode *i2)
-{
-	/* order of up() doesn't matter here */
-	hpfs_unlock_inode(i1);
-	hpfs_unlock_inode(i2);
-}
-
-void hpfs_lock_3inodes(struct inode *i1, struct inode *i2, struct inode *i3)
-{
-	if (!i1) { hpfs_lock_2inodes(i2, i3); return; }
-	if (!i2) { hpfs_lock_2inodes(i1, i3); return; }
-	if (!i3) { hpfs_lock_2inodes(i1, i2); return; }
-	if (i1->i_ino < i2->i_ino && i1->i_ino < i3->i_ino) {
-		struct hpfs_inode_info *hpfs_i1 = hpfs_i(i1);
-		down(&hpfs_i1->i_sem);
-		hpfs_lock_2inodes(i2, i3);
-	} else if (i2->i_ino < i1->i_ino && i2->i_ino < i3->i_ino) {
-		struct hpfs_inode_info *hpfs_i2 = hpfs_i(i2);
-		down(&hpfs_i2->i_sem);
-		hpfs_lock_2inodes(i1, i3);
-	} else if (i3->i_ino < i1->i_ino && i3->i_ino < i2->i_ino) {
-		struct hpfs_inode_info *hpfs_i3 = hpfs_i(i3);
-		down(&hpfs_i3->i_sem);
-		hpfs_lock_2inodes(i1, i2);
-	} else if (i1->i_ino != i2->i_ino) hpfs_lock_2inodes(i1, i2);
-	else hpfs_lock_2inodes(i1, i3);
-}
-		
-void hpfs_unlock_3inodes(struct inode *i1, struct inode *i2, struct inode *i3)
-{
-	if (!i1) { hpfs_unlock_2inodes(i2, i3); return; }
-	if (!i2) { hpfs_unlock_2inodes(i1, i3); return; }
-	if (!i3) { hpfs_unlock_2inodes(i1, i2); return; }
-	if (i1->i_ino < i2->i_ino && i1->i_ino < i3->i_ino) {
-		struct hpfs_inode_info *hpfs_i1 = hpfs_i(i1);
-		hpfs_unlock_2inodes(i2, i3);
-		up(&hpfs_i1->i_sem);
-	} else if (i2->i_ino < i1->i_ino && i2->i_ino < i3->i_ino) {
-		struct hpfs_inode_info *hpfs_i2 = hpfs_i(i2);
-		hpfs_unlock_2inodes(i1, i3);
-		up(&hpfs_i2->i_sem);
-	} else if (i3->i_ino < i1->i_ino && i3->i_ino < i2->i_ino) {
-		struct hpfs_inode_info *hpfs_i3 = hpfs_i(i3);
-		hpfs_unlock_2inodes(i1, i2);
-		up(&hpfs_i3->i_sem);
-	} else if (i1->i_ino != i2->i_ino) hpfs_unlock_2inodes(i1, i2);
-	else hpfs_unlock_2inodes(i1, i3);
-}
-
 /* Map a sector into a buffer and return pointers to it and to the buffer. */
 
 void *hpfs_map_sector(struct super_block *s, unsigned secno, struct buffer_head **bhp,
diff -urN RC4-rc1-hpfs1/fs/hpfs/hpfs_fn.h RC4-rc1-current/fs/hpfs/hpfs_fn.h
--- RC4-rc1-hpfs1/fs/hpfs/hpfs_fn.h	Thu Oct  9 17:34:47 2003
+++ RC4-rc1-current/fs/hpfs/hpfs_fn.h	Sat Feb 28 12:40:06 2004
@@ -196,10 +196,6 @@
 void hpfs_unlock_iget(struct super_block *);
 void hpfs_lock_inode(struct inode *);
 void hpfs_unlock_inode(struct inode *);
-void hpfs_lock_2inodes(struct inode *, struct inode *);
-void hpfs_unlock_2inodes(struct inode *, struct inode *);
-void hpfs_lock_3inodes(struct inode *, struct inode *, struct inode *);
-void hpfs_unlock_3inodes(struct inode *, struct inode *, struct inode *);
 void *hpfs_map_sector(struct super_block *, unsigned, struct buffer_head **, int);
 void *hpfs_get_sector(struct super_block *, unsigned, struct buffer_head **);
 void *hpfs_map_4sectors(struct super_block *, unsigned, struct quad_buffer_head *, int);
diff -urN RC4-rc1-hpfs1/fs/hpfs/namei.c RC4-rc1-current/fs/hpfs/namei.c
--- RC4-rc1-hpfs1/fs/hpfs/namei.c	Sat Sep 27 22:04:56 2003
+++ RC4-rc1-current/fs/hpfs/namei.c	Sat Feb 28 13:57:52 2004
@@ -340,39 +340,41 @@
 	fnode_secno fno;
 	int r;
 	int rep = 0;
+	int err;
 
 	lock_kernel();
 	hpfs_adjust_length((char *)name, &len);
 again:
-	hpfs_lock_2inodes(dir, inode);
-	if (!(de = map_dirent(dir, hpfs_i(dir)->i_dno, (char *)name, len, &dno, &qbh))) {
-		hpfs_unlock_2inodes(dir, inode);
-		unlock_kernel();
-		return -ENOENT;
-	}
-	if (de->first) {
-		hpfs_brelse4(&qbh);
-		hpfs_unlock_2inodes(dir, inode);
-		unlock_kernel();
-		return -EPERM;
-	}
-	if (de->directory) {
-		hpfs_brelse4(&qbh);
-		hpfs_unlock_2inodes(dir, inode);
-		unlock_kernel();
-		return -EISDIR;
-	}
+	hpfs_lock_inode(dir);
+	hpfs_lock_inode(inode);
+	de = map_dirent(dir, hpfs_i(dir)->i_dno, (char *)name, len, &dno, &qbh);
+	err = -ENOENT;
+	if (!de)
+		goto out;
+
+	err = -EPERM;
+	if (de->first)
+		goto out1;
+
+	err = -EISDIR;
+	if (de->directory)
+		goto out1;
+
 	fno = de->fnode;
-	if ((r = hpfs_remove_dirent(dir, dno, de, &qbh, 1)) == 1) hpfs_error(dir->i_sb, "there was error when removing dirent");
-	if (r != 2) {
-		inode->i_nlink--;
-		hpfs_unlock_2inodes(dir, inode);
-	} else {	/* no space for deleting, try to truncate file */
-		struct iattr newattrs;
-		int err;
-		hpfs_unlock_2inodes(dir, inode);
-		if (rep)
-			goto ret;
+	r = hpfs_remove_dirent(dir, dno, de, &qbh, 1);
+	switch (r) {
+	case 1:
+		hpfs_error(dir->i_sb, "there was error when removing dirent");
+		err = -EFSERROR;
+		break;
+	case 2:		/* no space for deleting, try to truncate file */
+
+		err = -ENOSPC;
+		if (rep++)
+			break;
+
+		hpfs_unlock_inode(inode);
+		hpfs_unlock_inode(dir);
 		d_drop(dentry);
 		spin_lock(&dentry->d_lock);
 		if (atomic_read(&dentry->d_count) > 1 ||
@@ -381,22 +383,32 @@
 		    get_write_access(inode)) {
 			spin_unlock(&dentry->d_lock);
 			d_rehash(dentry);
-			goto ret;
+		} else {
+			struct iattr newattrs;
+			spin_unlock(&dentry->d_lock);
+			/*printk("HPFS: truncating file before delete.\n");*/
+			newattrs.ia_size = 0;
+			newattrs.ia_valid = ATTR_SIZE | ATTR_CTIME;
+			err = notify_change(dentry, &newattrs);
+			put_write_access(inode);
+			if (!err)
+				goto again;
 		}
-		spin_unlock(&dentry->d_lock);
-		/*printk("HPFS: truncating file before delete.\n");*/
-		newattrs.ia_size = 0;
-		newattrs.ia_valid = ATTR_SIZE | ATTR_CTIME;
-		err = notify_change(dentry, &newattrs);
-		put_write_access(inode);
-		if (err)
-			goto ret;
-		rep = 1;
-		goto again;
+		unlock_kernel();
+		return -ENOSPC;
+	default:
+		inode->i_nlink--;
+		err = 0;
 	}
-ret:
+	goto out;
+
+out1:
+	hpfs_brelse4(&qbh);
+out:
+	hpfs_unlock_inode(inode);
+	hpfs_unlock_inode(dir);
 	unlock_kernel();
-	return r == 2 ? -ENOSPC : r == 1 ? -EFSERROR : 0;
+	return err;
 }
 
 int hpfs_rmdir(struct inode *dir, struct dentry *dentry)
@@ -409,44 +421,54 @@
 	dnode_secno dno;
 	fnode_secno fno;
 	int n_items = 0;
+	int err;
 	int r;
+
 	hpfs_adjust_length((char *)name, &len);
 	lock_kernel();
-	hpfs_lock_2inodes(dir, inode);
-	if (!(de = map_dirent(dir, hpfs_i(dir)->i_dno, (char *)name, len, &dno, &qbh))) {
-		hpfs_unlock_2inodes(dir, inode);
-		unlock_kernel();
-		return -ENOENT;
-	}	
-	if (de->first) {
-		hpfs_brelse4(&qbh);
-		hpfs_unlock_2inodes(dir, inode);
-		unlock_kernel();
-		return -EPERM;
-	}
-	if (!de->directory) {
-		hpfs_brelse4(&qbh);
-		hpfs_unlock_2inodes(dir, inode);
-		unlock_kernel();
-		return -ENOTDIR;
-	}
+	hpfs_lock_inode(dir);
+	hpfs_lock_inode(inode);
+	err = -ENOENT;
+	de = map_dirent(dir, hpfs_i(dir)->i_dno, (char *)name, len, &dno, &qbh);
+	if (!de)
+		goto out;
+
+	err = -EPERM;
+	if (de->first)
+		goto out1;
+
+	err = -ENOTDIR;
+	if (!de->directory)
+		goto out1;
+
 	hpfs_count_dnodes(dir->i_sb, hpfs_i(inode)->i_dno, NULL, NULL, &n_items);
-	if (n_items) {
-		hpfs_brelse4(&qbh);
-		hpfs_unlock_2inodes(dir, inode);
-		unlock_kernel();
-		return -ENOTEMPTY;
-	}
+	err = -ENOTEMPTY;
+	if (n_items)
+		goto out1;
+
 	fno = de->fnode;
-	if ((r = hpfs_remove_dirent(dir, dno, de, &qbh, 1)) == 1)
+	r = hpfs_remove_dirent(dir, dno, de, &qbh, 1);
+	switch (r) {
+	case 1:
 		hpfs_error(dir->i_sb, "there was error when removing dirent");
-	if (r != 2) {
+		err = -EFSERROR;
+		break;
+	case 2:
+		err = -ENOSPC;
+		break;
+	default:
 		dir->i_nlink--;
 		inode->i_nlink = 0;
-		hpfs_unlock_2inodes(dir, inode);
-	} else hpfs_unlock_2inodes(dir, inode);
+		err = 0;
+	}
+	goto out;
+out1:
+	hpfs_brelse4(&qbh);
+out:
+	hpfs_unlock_inode(inode);
+	hpfs_unlock_inode(dir);
 	unlock_kernel();
-	return r == 2 ? -ENOSPC : r == 1 ? -EFSERROR : 0;
+	return err;
 }
 
 int hpfs_symlink_readpage(struct file *file, struct page *page)
@@ -501,7 +523,10 @@
 	hpfs_adjust_length((char *)old_name, &old_len);
 
 	lock_kernel();
-	hpfs_lock_3inodes(old_dir, new_dir, i);
+	hpfs_lock_inode(old_dir);
+	if (new_dir != old_dir)
+		hpfs_lock_inode(new_dir);
+	hpfs_lock_inode(i);
 	
 	/* Erm? Moving over the empty non-busy directory is perfectly legal */
 	if (new_inode && S_ISDIR(new_inode->i_mode)) {
@@ -580,7 +605,10 @@
 	hpfs_i(i)->i_conv = hpfs_sb(i->i_sb)->sb_conv;
 	hpfs_decide_conv(i, (char *)new_name, new_len);
 	end1:
-	hpfs_unlock_3inodes(old_dir, new_dir, i);
+	hpfs_unlock_inode(i);
+	if (old_dir != new_dir)
+		hpfs_unlock_inode(new_dir);
+	hpfs_unlock_inode(old_dir);
 	unlock_kernel();
 	return err;
 }

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: 2.6.4-rc1 oops on HPFS filesystem file rename
  2004-02-28 19:06 ` viro
@ 2004-02-29 11:31   ` Maurice van der Stee
  2004-02-29 13:14     ` viro
  0 siblings, 1 reply; 9+ messages in thread
From: Maurice van der Stee @ 2004-02-29 11:31 UTC (permalink / raw)
  To: viro; +Cc: Maurice van der Stee, linux-kernel, Linus Torvalds

I think I tested most of the basic file system operations, rename,  
move, copy, edit, truncate etc. and found no problems with the second  
patch applied..

-- 
Maurice van der Stee
stee@planet.nl

On 28-02-04 20:06:49, viro@parcelfarce.linux.theplanet.co.uk wrote:
> On Sat, Feb 28, 2004 at 06:12:59PM +0100, Maurice van der Stee wrote:
> > Thanks, looks like it fixes my problem.
> 
> BTW, while we are at it, patch below kills the hpfs_lock_{2,3}inodes 
> ()
> monstrosities completely.  We can always use parents-first ordering
> on the inodes, since these guys would only see contention with plain
> hpfs_lock_inode() and never with each other (all inodes involved
> already
> had semaphores held by callers in VFS).
> 
> See if that patch (on top of the previous one) works for you...
> 
> diff -urN RC4-rc1-hpfs1/fs/hpfs/buffer.c
> RC4-rc1-current/fs/hpfs/buffer.c
> --- RC4-rc1-hpfs1/fs/hpfs/buffer.c	Sat Feb 28 13:55:26 2004
> +++ RC4-rc1-current/fs/hpfs/buffer.c	Sat Feb 28 12:40:52 2004
> @@ -60,74 +60,6 @@
>  	}
>  }
> 
> -void hpfs_lock_2inodes(struct inode *i1, struct inode *i2)
> -{
> -	if (!i2 || i1 == i2) {
> -		hpfs_lock_inode(i1);
> -	} else if (!i1) {
> -		hpfs_lock_inode(i2);
> -	} else {
> -		struct hpfs_inode_info *hpfs_i1 = hpfs_i(i1);
> -		struct hpfs_inode_info *hpfs_i2 = hpfs_i(i2);
> -		if (i1->i_ino < i2->i_ino) {
> -			down(&hpfs_i1->i_sem);
> -			down(&hpfs_i2->i_sem);
> -		} else {
> -			down(&hpfs_i2->i_sem);
> -			down(&hpfs_i1->i_sem);
> -		}
> -	}
> -}
> -
> -void hpfs_unlock_2inodes(struct inode *i1, struct inode *i2)
> -{
> -	/* order of up() doesn't matter here */
> -	hpfs_unlock_inode(i1);
> -	hpfs_unlock_inode(i2);
> -}
> -
> -void hpfs_lock_3inodes(struct inode *i1, struct inode *i2, struct
> inode *i3)
> -{
> -	if (!i1) { hpfs_lock_2inodes(i2, i3); return; }
> -	if (!i2) { hpfs_lock_2inodes(i1, i3); return; }
> -	if (!i3) { hpfs_lock_2inodes(i1, i2); return; }
> -	if (i1->i_ino < i2->i_ino && i1->i_ino < i3->i_ino) {
> -		struct hpfs_inode_info *hpfs_i1 = hpfs_i(i1);
> -		down(&hpfs_i1->i_sem);
> -		hpfs_lock_2inodes(i2, i3);
> -	} else if (i2->i_ino < i1->i_ino && i2->i_ino < i3->i_ino) {
> -		struct hpfs_inode_info *hpfs_i2 = hpfs_i(i2);
> -		down(&hpfs_i2->i_sem);
> -		hpfs_lock_2inodes(i1, i3);
> -	} else if (i3->i_ino < i1->i_ino && i3->i_ino < i2->i_ino) {
> -		struct hpfs_inode_info *hpfs_i3 = hpfs_i(i3);
> -		down(&hpfs_i3->i_sem);
> -		hpfs_lock_2inodes(i1, i2);
> -	} else if (i1->i_ino != i2->i_ino) hpfs_lock_2inodes(i1, i2);
> -	else hpfs_lock_2inodes(i1, i3);
> -}
> -		
> -void hpfs_unlock_3inodes(struct inode *i1, struct inode *i2, struct
> inode *i3)
> -{
> -	if (!i1) { hpfs_unlock_2inodes(i2, i3); return; }
> -	if (!i2) { hpfs_unlock_2inodes(i1, i3); return; }
> -	if (!i3) { hpfs_unlock_2inodes(i1, i2); return; }
> -	if (i1->i_ino < i2->i_ino && i1->i_ino < i3->i_ino) {
> -		struct hpfs_inode_info *hpfs_i1 = hpfs_i(i1);
> -		hpfs_unlock_2inodes(i2, i3);
> -		up(&hpfs_i1->i_sem);
> -	} else if (i2->i_ino < i1->i_ino && i2->i_ino < i3->i_ino) {
> -		struct hpfs_inode_info *hpfs_i2 = hpfs_i(i2);
> -		hpfs_unlock_2inodes(i1, i3);
> -		up(&hpfs_i2->i_sem);
> -	} else if (i3->i_ino < i1->i_ino && i3->i_ino < i2->i_ino) {
> -		struct hpfs_inode_info *hpfs_i3 = hpfs_i(i3);
> -		hpfs_unlock_2inodes(i1, i2);
> -		up(&hpfs_i3->i_sem);
> -	} else if (i1->i_ino != i2->i_ino) hpfs_unlock_2inodes(i1,
> i2);
> -	else hpfs_unlock_2inodes(i1, i3);
> -}
> -
>  /* Map a sector into a buffer and return pointers to it and to the
> buffer. */
> 
>  void *hpfs_map_sector(struct super_block *s, unsigned secno, struct
> buffer_head **bhp,
> diff -urN RC4-rc1-hpfs1/fs/hpfs/hpfs_fn.h
> RC4-rc1-current/fs/hpfs/hpfs_fn.h
> --- RC4-rc1-hpfs1/fs/hpfs/hpfs_fn.h	Thu Oct  9 17:34:47 2003
> +++ RC4-rc1-current/fs/hpfs/hpfs_fn.h	Sat Feb 28 12:40:06 2004
> @@ -196,10 +196,6 @@
>  void hpfs_unlock_iget(struct super_block *);
>  void hpfs_lock_inode(struct inode *);
>  void hpfs_unlock_inode(struct inode *);
> -void hpfs_lock_2inodes(struct inode *, struct inode *);
> -void hpfs_unlock_2inodes(struct inode *, struct inode *);
> -void hpfs_lock_3inodes(struct inode *, struct inode *, struct inode
> *);
> -void hpfs_unlock_3inodes(struct inode *, struct inode *, struct  
> inode
> *);
>  void *hpfs_map_sector(struct super_block *, unsigned, struct
> buffer_head **, int);
>  void *hpfs_get_sector(struct super_block *, unsigned, struct
> buffer_head **);
>  void *hpfs_map_4sectors(struct super_block *, unsigned, struct
> quad_buffer_head *, int);
> diff -urN RC4-rc1-hpfs1/fs/hpfs/namei.c
> RC4-rc1-current/fs/hpfs/namei.c
> --- RC4-rc1-hpfs1/fs/hpfs/namei.c	Sat Sep 27 22:04:56 2003
> +++ RC4-rc1-current/fs/hpfs/namei.c	Sat Feb 28 13:57:52 2004
> @@ -340,39 +340,41 @@
>  	fnode_secno fno;
>  	int r;
>  	int rep = 0;
> +	int err;
> 
>  	lock_kernel();
>  	hpfs_adjust_length((char *)name, &len);
>  again:
> -	hpfs_lock_2inodes(dir, inode);
> -	if (!(de = map_dirent(dir, hpfs_i(dir)->i_dno, (char *)name,
> len, &dno, &qbh))) {
> -		hpfs_unlock_2inodes(dir, inode);
> -		unlock_kernel();
> -		return -ENOENT;
> -	}
> -	if (de->first) {
> -		hpfs_brelse4(&qbh);
> -		hpfs_unlock_2inodes(dir, inode);
> -		unlock_kernel();
> -		return -EPERM;
> -	}
> -	if (de->directory) {
> -		hpfs_brelse4(&qbh);
> -		hpfs_unlock_2inodes(dir, inode);
> -		unlock_kernel();
> -		return -EISDIR;
> -	}
> +	hpfs_lock_inode(dir);
> +	hpfs_lock_inode(inode);
> +	de = map_dirent(dir, hpfs_i(dir)->i_dno, (char *)name, len,
> &dno, &qbh);
> +	err = -ENOENT;
> +	if (!de)
> +		goto out;
> +
> +	err = -EPERM;
> +	if (de->first)
> +		goto out1;
> +
> +	err = -EISDIR;
> +	if (de->directory)
> +		goto out1;
> +
>  	fno = de->fnode;
> -	if ((r = hpfs_remove_dirent(dir, dno, de, &qbh, 1)) == 1)
> hpfs_error(dir->i_sb, "there was error when removing dirent");
> -	if (r != 2) {
> -		inode->i_nlink--;
> -		hpfs_unlock_2inodes(dir, inode);
> -	} else {	/* no space for deleting, try to truncate
> file */
> -		struct iattr newattrs;
> -		int err;
> -		hpfs_unlock_2inodes(dir, inode);
> -		if (rep)
> -			goto ret;
> +	r = hpfs_remove_dirent(dir, dno, de, &qbh, 1);
> +	switch (r) {
> +	case 1:
> +		hpfs_error(dir->i_sb, "there was error when removing
> dirent");
> +		err = -EFSERROR;
> +		break;
> +	case 2:		/* no space for deleting, try to
> truncate file */
> +
> +		err = -ENOSPC;
> +		if (rep++)
> +			break;
> +
> +		hpfs_unlock_inode(inode);
> +		hpfs_unlock_inode(dir);
>  		d_drop(dentry);
>  		spin_lock(&dentry->d_lock);
>  		if (atomic_read(&dentry->d_count) > 1 ||
> @@ -381,22 +383,32 @@
>  		    get_write_access(inode)) {
>  			spin_unlock(&dentry->d_lock);
>  			d_rehash(dentry);
> -			goto ret;
> +		} else {
> +			struct iattr newattrs;
> +			spin_unlock(&dentry->d_lock);
> +			/*printk("HPFS: truncating file before
> delete.\n");*/
> +			newattrs.ia_size = 0;
> +			newattrs.ia_valid = ATTR_SIZE | ATTR_CTIME;
> +			err = notify_change(dentry, &newattrs);
> +			put_write_access(inode);
> +			if (!err)
> +				goto again;
>  		}
> -		spin_unlock(&dentry->d_lock);
> -		/*printk("HPFS: truncating file before delete.\n");*/
> -		newattrs.ia_size = 0;
> -		newattrs.ia_valid = ATTR_SIZE | ATTR_CTIME;
> -		err = notify_change(dentry, &newattrs);
> -		put_write_access(inode);
> -		if (err)
> -			goto ret;
> -		rep = 1;
> -		goto again;
> +		unlock_kernel();
> +		return -ENOSPC;
> +	default:
> +		inode->i_nlink--;
> +		err = 0;
>  	}
> -ret:
> +	goto out;
> +
> +out1:
> +	hpfs_brelse4(&qbh);
> +out:
> +	hpfs_unlock_inode(inode);
> +	hpfs_unlock_inode(dir);
>  	unlock_kernel();
> -	return r == 2 ? -ENOSPC : r == 1 ? -EFSERROR : 0;
> +	return err;
>  }
> 
>  int hpfs_rmdir(struct inode *dir, struct dentry *dentry)
> @@ -409,44 +421,54 @@
>  	dnode_secno dno;
>  	fnode_secno fno;
>  	int n_items = 0;
> +	int err;
>  	int r;
> +
>  	hpfs_adjust_length((char *)name, &len);
>  	lock_kernel();
> -	hpfs_lock_2inodes(dir, inode);
> -	if (!(de = map_dirent(dir, hpfs_i(dir)->i_dno, (char *)name,
> len, &dno, &qbh))) {
> -		hpfs_unlock_2inodes(dir, inode);
> -		unlock_kernel();
> -		return -ENOENT;
> -	}	
> -	if (de->first) {
> -		hpfs_brelse4(&qbh);
> -		hpfs_unlock_2inodes(dir, inode);
> -		unlock_kernel();
> -		return -EPERM;
> -	}
> -	if (!de->directory) {
> -		hpfs_brelse4(&qbh);
> -		hpfs_unlock_2inodes(dir, inode);
> -		unlock_kernel();
> -		return -ENOTDIR;
> -	}
> +	hpfs_lock_inode(dir);
> +	hpfs_lock_inode(inode);
> +	err = -ENOENT;
> +	de = map_dirent(dir, hpfs_i(dir)->i_dno, (char *)name, len,
> &dno, &qbh);
> +	if (!de)
> +		goto out;
> +
> +	err = -EPERM;
> +	if (de->first)
> +		goto out1;
> +
> +	err = -ENOTDIR;
> +	if (!de->directory)
> +		goto out1;
> +
>  	hpfs_count_dnodes(dir->i_sb, hpfs_i(inode)->i_dno, NULL,
> NULL, &n_items);
> -	if (n_items) {
> -		hpfs_brelse4(&qbh);
> -		hpfs_unlock_2inodes(dir, inode);
> -		unlock_kernel();
> -		return -ENOTEMPTY;
> -	}
> +	err = -ENOTEMPTY;
> +	if (n_items)
> +		goto out1;
> +
>  	fno = de->fnode;
> -	if ((r = hpfs_remove_dirent(dir, dno, de, &qbh, 1)) == 1)
> +	r = hpfs_remove_dirent(dir, dno, de, &qbh, 1);
> +	switch (r) {
> +	case 1:
>  		hpfs_error(dir->i_sb, "there was error when removing
> dirent");
> -	if (r != 2) {
> +		err = -EFSERROR;
> +		break;
> +	case 2:
> +		err = -ENOSPC;
> +		break;
> +	default:
>  		dir->i_nlink--;
>  		inode->i_nlink = 0;
> -		hpfs_unlock_2inodes(dir, inode);
> -	} else hpfs_unlock_2inodes(dir, inode);
> +		err = 0;
> +	}
> +	goto out;
> +out1:
> +	hpfs_brelse4(&qbh);
> +out:
> +	hpfs_unlock_inode(inode);
> +	hpfs_unlock_inode(dir);
>  	unlock_kernel();
> -	return r == 2 ? -ENOSPC : r == 1 ? -EFSERROR : 0;
> +	return err;
>  }
> 
>  int hpfs_symlink_readpage(struct file *file, struct page *page)
> @@ -501,7 +523,10 @@
>  	hpfs_adjust_length((char *)old_name, &old_len);
> 
>  	lock_kernel();
> -	hpfs_lock_3inodes(old_dir, new_dir, i);
> +	hpfs_lock_inode(old_dir);
> +	if (new_dir != old_dir)
> +		hpfs_lock_inode(new_dir);
> +	hpfs_lock_inode(i);
>  	
>  	/* Erm? Moving over the empty non-busy directory is perfectly
> legal */
>  	if (new_inode && S_ISDIR(new_inode->i_mode)) {
> @@ -580,7 +605,10 @@
>  	hpfs_i(i)->i_conv = hpfs_sb(i->i_sb)->sb_conv;
>  	hpfs_decide_conv(i, (char *)new_name, new_len);
>  	end1:
> -	hpfs_unlock_3inodes(old_dir, new_dir, i);
> +	hpfs_unlock_inode(i);
> +	if (old_dir != new_dir)
> +		hpfs_unlock_inode(new_dir);
> +	hpfs_unlock_inode(old_dir);
>  	unlock_kernel();
>  	return err;
>  }
> 

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: 2.6.4-rc1 oops on HPFS filesystem file rename
  2004-02-29 11:31   ` Maurice van der Stee
@ 2004-02-29 13:14     ` viro
  2004-02-29 13:58       ` viro
  0 siblings, 1 reply; 9+ messages in thread
From: viro @ 2004-02-29 13:14 UTC (permalink / raw)
  To: Maurice van der Stee; +Cc: linux-kernel, Linus Torvalds

On Sun, Feb 29, 2004 at 12:31:30PM +0100, Maurice van der Stee wrote:
> I think I tested most of the basic file system operations, rename,  
> move, copy, edit, truncate etc. and found no problems with the second  
> patch applied..

Actually, I've found a problem with the original - race between write_inode()
and cross-directory rename(), of all things.  Mind testing the patchset on
ftp.linux.org.uk/pub/people/viro/HPFS*?  First two patches were posted in
this thread, the rest goes on top of them.

Race in question is funny, BTW - write_inode() might have to find and
update directory entry in the parent, so it gets the parent inode and locks
it (that's what hpfs-private lock was for - it gave exclusion between
directory modifications and write_inode() directory entry update; directory
entries can move on insertion/removal, so we need to make sure that it
won't happen during that updating).  The trouble being, it did not make
sure that we lock the right directory - if rename() had moved the file
in question while we were trying to lock the parent, we would end up with
very confused write_inode().

Similar race exists for unlink() vs. write_inode() - the latter checks
->i_nlink, but there is no warranty that it won't become 0 between the
check and locking the parent.  Ditto for rmdir() and overwriting rename().

The fix is simple: we turn semaphore into sempahore + rwsem and
	1) on mkdir/mknod/create/symlink grab rwsem on parent for writing
	2) on rmdir/unlink/rename we grab semaphore on victim and object
being moved, then grab rwsem on parent(s) for writing.
	3) on write_inode we grab semaphore on inode, then check that
it has non-zero ->i_nlink, get parent and grab rwsem on parent for reading.

Exclusion already provided by VFS makes order in rename() (there we might
get two semaphores and two rwsems) a non-issue - we already have all ->rename()
on given fs serialized.  Order among semaphores and among rwsems, that is -
semaphores are always taken first.

Aside of that, patchset switches from use of iget() to use of iget_locked(),
which allows to kill the horrors in hpfs_lock_iget(), and does general
cleanup.

Unless there are complaints and bug reports, it will go to Linus in a couple
of days.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: 2.6.4-rc1 oops on HPFS filesystem file rename
  2004-02-29 13:14     ` viro
@ 2004-02-29 13:58       ` viro
  2004-02-29 14:41         ` viro
  0 siblings, 1 reply; 9+ messages in thread
From: viro @ 2004-02-29 13:58 UTC (permalink / raw)
  To: Maurice van der Stee; +Cc: linux-kernel, Linus Torvalds

On Sun, Feb 29, 2004 at 01:14:25PM +0000, viro@parcelfarce.linux.theplanet.co.uk wrote:
> Unless there are complaints and bug reports, it will go to Linus in a couple
> of days.

Oh, lovely - there's a deadlock (both in new and old code) too.  The trouble
being, we can get ->write_inode() *triggered* in the middle of btree
rebalancing.  Which leads to deadlock, since we really need the exclusion
there (and would be very unhappy if search for directory entry would happen
in the middle of that fun).

Fix is to switch the allocations done in that area to GFP_NOFS.  However,
there's an extra PITA caused by inode allocations - we'll need to take
the inode allocation in hpfs_create() et.al. outside of lock on parent.

Potential inode allocation in ->write_inode() (done if parent inode is
not in core - that can happen, unfortunately) is not a problem if we
replace the "parent can change" semaphore to rwsem and hold it for
read here.  There's no risk of down_read()/somebody does down_write()/the
first task gets recursive down_read() deadlock in that case, since all
down_write() can happen only if parent inode is already in-core.

Sigh...  Gotta love that code - deadlocks had been there since _way_ back...

Additional patch later today...

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: 2.6.4-rc1 oops on HPFS filesystem file rename
  2004-02-29 13:58       ` viro
@ 2004-02-29 14:41         ` viro
  0 siblings, 0 replies; 9+ messages in thread
From: viro @ 2004-02-29 14:41 UTC (permalink / raw)
  To: Maurice van der Stee; +Cc: linux-kernel, Linus Torvalds

On Sun, Feb 29, 2004 at 01:58:49PM +0000, viro@parcelfarce.linux.theplanet.co.uk wrote:
> Additional patch later today...

Same place, HPFS9-hpfs_deadlock-RC4-rc1 (on top of the previous).  It's
obviously going to be reordered before it gets submitted, but for now
I'd rather just drop incrmentals there...

I'll do reordering in a couple of hours.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: 2.6.4-rc1 oops on HPFS filesystem file rename
  2004-02-28 11:42 ` viro
@ 2004-02-28 17:05   ` Diego Calleja
  0 siblings, 0 replies; 9+ messages in thread
From: Diego Calleja @ 2004-02-28 17:05 UTC (permalink / raw)
  To: viro; +Cc: linux-kernel

El Sat, 28 Feb 2004 11:42:25 +0000 viro@parcelfarce.linux.theplanet.co.uk escribió:

> Fix follows.  That, BTW, means that *nobody* had ever tried to use hpfs
> r/w since 2.5.3-pre3.

Not true, it seems that at least one person tried it:
http://bugme.osdl.org/show_bug.cgi?id=1964


Diego Calleja

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: 2.6.4-rc1 oops on HPFS filesystem file rename
  2004-02-28 11:04 Maurice van der Stee
@ 2004-02-28 11:42 ` viro
  2004-02-28 17:05   ` Diego Calleja
  0 siblings, 1 reply; 9+ messages in thread
From: viro @ 2004-02-28 11:42 UTC (permalink / raw)
  To: Maurice van der Stee; +Cc: linux-kernel, Linus Torvalds

On Sat, Feb 28, 2004 at 12:04:03PM +0100, Maurice van der Stee wrote:
> When saving an edited file residing on a HPFS filesystem I get the  
> following
> oops.
> Kernel is 2.6.4-rc1, compiled with gcc 3.3.2. After this any access to  
> the
> filesystem hangs the session. Kernel 2.6.3 has the same behavior. Don't  
> know
> about earlier ones.

<stares at the code>
<blinks>
<wonders whereTF do we assign hpfs1_i and hpfs2_i if both inodes are non-NULL>
<finds the patch in question>
<stares at jgarzik>

Fix follows.  That, BTW, means that *nobody* had ever tried to use hpfs
r/w since 2.5.3-pre3.

diff -urN RC4-rc1/fs/hpfs/buffer.c RC4-rc1-current/fs/hpfs/buffer.c
--- RC4-rc1/fs/hpfs/buffer.c	Mon Oct  7 15:58:24 2002
+++ RC4-rc1-current/fs/hpfs/buffer.c	Sat Feb 28 06:33:29 2004
@@ -62,56 +62,28 @@
 
 void hpfs_lock_2inodes(struct inode *i1, struct inode *i2)
 {
-	struct hpfs_inode_info *hpfs_i1 = NULL, *hpfs_i2 = NULL;
-
-	if (!i1) {
-		if (i2) {
-			hpfs_i2 = hpfs_i(i2);
+	if (!i2 || i1 == i2) {
+		hpfs_lock_inode(i1);
+	} else if (!i1) {
+		hpfs_lock_inode(i2);
+	} else {
+		struct hpfs_inode_info *hpfs_i1 = hpfs_i(i1);
+		struct hpfs_inode_info *hpfs_i2 = hpfs_i(i2);
+		if (i1->i_ino < i2->i_ino) {
+			down(&hpfs_i1->i_sem);
+			down(&hpfs_i2->i_sem);
+		} else {
 			down(&hpfs_i2->i_sem);
-		}
-		return;
-	}
-	if (!i2) {
-		if (i1) {
-			hpfs_i1 = hpfs_i(i1);
 			down(&hpfs_i1->i_sem);
 		}
-		return;
 	}
-	if (i1->i_ino < i2->i_ino) {
-		down(&hpfs_i1->i_sem);
-		down(&hpfs_i2->i_sem);
-	} else if (i1->i_ino > i2->i_ino) {
-		down(&hpfs_i2->i_sem);
-		down(&hpfs_i1->i_sem);
-	} else down(&hpfs_i1->i_sem);
 }
 
 void hpfs_unlock_2inodes(struct inode *i1, struct inode *i2)
 {
-	struct hpfs_inode_info *hpfs_i1 = NULL, *hpfs_i2 = NULL;
-
-	if (!i1) {
-		if (i2) {
-			hpfs_i2 = hpfs_i(i2);
-			up(&hpfs_i2->i_sem);
-		}
-		return;
-	}
-	if (!i2) {
-		if (i1) {
-			hpfs_i1 = hpfs_i(i1);
-			up(&hpfs_i1->i_sem);
-		}
-		return;
-	}
-	if (i1->i_ino < i2->i_ino) {
-		up(&hpfs_i2->i_sem);
-		up(&hpfs_i1->i_sem);
-	} else if (i1->i_ino > i2->i_ino) {
-		up(&hpfs_i1->i_sem);
-		up(&hpfs_i2->i_sem);
-	} else up(&hpfs_i1->i_sem);
+	/* order of up() doesn't matter here */
+	hpfs_unlock_inode(i1);
+	hpfs_unlock_inode(i2);
 }
 
 void hpfs_lock_3inodes(struct inode *i1, struct inode *i2, struct inode *i3)

^ permalink raw reply	[flat|nested] 9+ messages in thread

* 2.6.4-rc1 oops on HPFS filesystem file rename
@ 2004-02-28 11:04 Maurice van der Stee
  2004-02-28 11:42 ` viro
  0 siblings, 1 reply; 9+ messages in thread
From: Maurice van der Stee @ 2004-02-28 11:04 UTC (permalink / raw)
  To: linux-kernel

When saving an edited file residing on a HPFS filesystem I get the  
following
oops.
Kernel is 2.6.4-rc1, compiled with gcc 3.3.2. After this any access to  
the
filesystem hangs the session. Kernel 2.6.3 has the same behavior. Don't  
know
about earlier ones.

I get similar oopses when trying to move or delete a file on the  
filesystem.

Feb 28 11:22:03 maurice kernel: Unable to handle kernel NULL pointer
dereference at virtual address 0000002c
Feb 28 11:22:03 maurice kernel:  printing eip:
Feb 28 11:22:03 maurice kernel: c0199005
Feb 28 11:22:03 maurice kernel: *pde = 00000000
Feb 28 11:22:03 maurice kernel: Oops: 0002 [#1]
Feb 28 11:22:03 maurice kernel: CPU:    0
Feb 28 11:22:03 maurice kernel: EIP:    0060:[hpfs_lock_2inodes+53/128]     
Not
tainted
Feb 28 11:22:03 maurice kernel: EFLAGS: 00210293
Feb 28 11:22:03 maurice kernel: EIP is at hpfs_lock_2inodes+0x35/0x80
Feb 28 11:22:03 maurice kernel: eax: 0005a6a9   ebx: db12ce60   ecx:  
0000002c
edx: 0002ff54
Feb 28 11:22:03 maurice kernel: esi: d4321620   edi: d49e7c20   ebp:  
d432169c
esp: d5cf1e28
Feb 28 11:22:03 maurice kernel: ds: 007b   es: 007b   ss: 0068
Feb 28 11:22:04 maurice kernel: Process emacs (pid: 589,  
threadinfo=d5cf0000
task=d7040d00)
Feb 28 11:22:04 maurice kernel: Stack: 00000000 c01a280b d5acdac0  
db12ce60
db12ce60 007d1604 c01a09f1 dfc71800
Feb 28 11:22:04 maurice kernel:        007d1604 d5cf1ecc 00000000  
00000000
db12ce60 d49e7c9c dfdb80a0 dc9f921c
Feb 28 11:22:04 maurice kernel:        00000009 0000000a d5acdac0  
c019d7b7
dc9f9000 d432169c 0000000a dc9f923b
Feb 28 11:22:04 maurice kernel: Call Trace:
Feb 28 11:22:04 maurice kernel:  [hpfs_rename+155/1632] hpfs_rename 
+0x9b/0x660
Feb 28 11:22:04 maurice kernel:  [hpfs_map_dnode+113/736]  
hpfs_map_dnode
+0x71/0x2e0
Feb 28 11:22:04 maurice kernel:  [map_dirent+295/416] map_dirent 
+0x127/0x1a0
Feb 28 11:22:04 maurice kernel:  [hpfs_lookup+101/848] hpfs_lookup 
+0x65/0x350
Feb 28 11:22:04 maurice kernel:  [vfs_rename_other+161/224]  
vfs_rename_other
+0xa1/0xe0
Feb 28 11:22:04 maurice kernel:  [vfs_rename+320/880] vfs_rename 
+0x140/0x370
Feb 28 11:22:04 maurice kernel:  [sys_rename+499/560] sys_rename 
+0x1f3/0x230
Feb 28 11:22:04 maurice kernel:  [sys_lstat64+55/64] sys_lstat64 
+0x37/0x40
Feb 28 11:22:04 maurice kernel:  [syscall_call+7/11] syscall_call 
+0x7/0xb
Feb 28 11:22:04 maurice kernel:
Feb 28 11:22:04 maurice kernel: Code: ff 0d 2c 00 00 00 0f 88 60 07 00  
00 ff
0d 2c 00 00 00 0f 88

My kernel configuration is as follows:

#
# Automatically generated make config: don't edit
#
CONFIG_X86=y
CONFIG_MMU=y
CONFIG_UID16=y
CONFIG_GENERIC_ISA_DMA=y

#
# Code maturity level options
#
CONFIG_EXPERIMENTAL=y
CONFIG_CLEAN_COMPILE=y
CONFIG_STANDALONE=y
CONFIG_BROKEN_ON_SMP=y

#
# General setup
#
CONFIG_SWAP=y
CONFIG_SYSVIPC=y
CONFIG_BSD_PROCESS_ACCT=y
CONFIG_SYSCTL=y
CONFIG_LOG_BUF_SHIFT=14
CONFIG_HOTPLUG=y
CONFIG_IKCONFIG=y
CONFIG_IKCONFIG_PROC=y
# CONFIG_EMBEDDED is not set
CONFIG_KALLSYMS=y
CONFIG_FUTEX=y
CONFIG_EPOLL=y
CONFIG_IOSCHED_NOOP=y
CONFIG_IOSCHED_AS=y
CONFIG_IOSCHED_DEADLINE=y
# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set

#
# Loadable module support
#
CONFIG_MODULES=y
CONFIG_MODULE_UNLOAD=y
# CONFIG_MODULE_FORCE_UNLOAD is not set
CONFIG_OBSOLETE_MODPARM=y
# CONFIG_MODVERSIONS is not set
CONFIG_KMOD=y

#
# Processor type and features
#
CONFIG_X86_PC=y
# CONFIG_X86_ELAN is not set
# CONFIG_X86_VOYAGER is not set
# CONFIG_X86_NUMAQ is not set
# CONFIG_X86_SUMMIT is not set
# CONFIG_X86_BIGSMP is not set
# CONFIG_X86_VISWS is not set
# CONFIG_X86_GENERICARCH is not set
# CONFIG_X86_ES7000 is not set
# CONFIG_M386 is not set
# CONFIG_M486 is not set
# CONFIG_M586 is not set
# CONFIG_M586TSC is not set
# CONFIG_M586MMX is not set
# CONFIG_M686 is not set
# CONFIG_MPENTIUMII is not set
CONFIG_MPENTIUMIII=y
# CONFIG_MPENTIUMM is not set
# CONFIG_MPENTIUM4 is not set
# CONFIG_MK6 is not set
# CONFIG_MK7 is not set
# CONFIG_MK8 is not set
# CONFIG_MELAN is not set
# CONFIG_MCRUSOE is not set
# CONFIG_MWINCHIPC6 is not set
# CONFIG_MWINCHIP2 is not set
# CONFIG_MWINCHIP3D is not set
# CONFIG_MCYRIXIII is not set
# CONFIG_MVIAC3_2 is not set
# CONFIG_X86_GENERIC is not set
CONFIG_X86_CMPXCHG=y
CONFIG_X86_XADD=y
CONFIG_X86_L1_CACHE_SHIFT=5
CONFIG_RWSEM_XCHGADD_ALGORITHM=y
CONFIG_X86_WP_WORKS_OK=y
CONFIG_X86_INVLPG=y
CONFIG_X86_BSWAP=y
CONFIG_X86_POPAD_OK=y
CONFIG_X86_GOOD_APIC=y
CONFIG_X86_INTEL_USERCOPY=y
CONFIG_X86_USE_PPRO_CHECKSUM=y
# CONFIG_HPET_TIMER is not set
# CONFIG_HPET_EMULATE_RTC is not set
# CONFIG_SMP is not set
# CONFIG_PREEMPT is not set
# CONFIG_X86_UP_APIC is not set
CONFIG_X86_TSC=y
CONFIG_X86_MCE=y
CONFIG_X86_MCE_NONFATAL=y
# CONFIG_TOSHIBA is not set
# CONFIG_I8K is not set
CONFIG_MICROCODE=y
CONFIG_X86_MSR=y
CONFIG_X86_CPUID=y
# CONFIG_EDD is not set
CONFIG_NOHIGHMEM=y
# CONFIG_HIGHMEM4G is not set
# CONFIG_HIGHMEM64G is not set
# CONFIG_MATH_EMULATION is not set
CONFIG_MTRR=y
# CONFIG_REGPARM is not set

#
# Power management options (ACPI, APM)
#
CONFIG_PM=y
# CONFIG_SOFTWARE_SUSPEND is not set
# CONFIG_PM_DISK is not set

#
# ACPI (Advanced Configuration and Power Interface) Support
#
# CONFIG_ACPI is not set

#
# APM (Advanced Power Management) BIOS Support
#
CONFIG_APM=y
# CONFIG_APM_IGNORE_USER_SUSPEND is not set
# CONFIG_APM_DO_ENABLE is not set
# CONFIG_APM_CPU_IDLE is not set
# CONFIG_APM_DISPLAY_BLANK is not set
# CONFIG_APM_RTC_IS_GMT is not set
# CONFIG_APM_ALLOW_INTS is not set
# CONFIG_APM_REAL_MODE_POWER_OFF is not set

#
# CPU Frequency scaling
#
# CONFIG_CPU_FREQ is not set

#
# Bus options (PCI, PCMCIA, EISA, MCA, ISA)
#
CONFIG_PCI=y
# CONFIG_PCI_GOBIOS is not set
# CONFIG_PCI_GODIRECT is not set
CONFIG_PCI_GOANY=y
CONFIG_PCI_BIOS=y
CONFIG_PCI_DIRECT=y
# CONFIG_PCI_LEGACY_PROC is not set
CONFIG_PCI_NAMES=y
CONFIG_ISA=y
# CONFIG_EISA is not set
# CONFIG_MCA is not set
# CONFIG_SCx200 is not set

#
# PCMCIA/CardBus support
#
# CONFIG_PCMCIA is not set
CONFIG_PCMCIA_PROBE=y

#
# PCI Hotplug Support
#
# CONFIG_HOTPLUG_PCI is not set

#
# Executable file formats
#
CONFIG_BINFMT_ELF=y
# CONFIG_BINFMT_AOUT is not set
CONFIG_BINFMT_MISC=y

#
# Device Drivers
#

#
# Generic Driver Options
#
# CONFIG_FW_LOADER is not set

#
# Memory Technology Devices (MTD)
#
# CONFIG_MTD is not set

#
# Parallel port support
#
CONFIG_PARPORT=y
CONFIG_PARPORT_PC=y
CONFIG_PARPORT_PC_CML1=y
# CONFIG_PARPORT_SERIAL is not set
CONFIG_PARPORT_PC_FIFO=y
# CONFIG_PARPORT_PC_SUPERIO is not set
# CONFIG_PARPORT_OTHER is not set
CONFIG_PARPORT_1284=y

#
# Plug and Play support
#
# CONFIG_PNP is not set

#
# Block devices
#
CONFIG_BLK_DEV_FD=y
# CONFIG_BLK_DEV_XD is not set
# CONFIG_PARIDE is not set
# CONFIG_BLK_CPQ_DA is not set
# CONFIG_BLK_CPQ_CISS_DA is not set
# CONFIG_BLK_DEV_DAC960 is not set
# CONFIG_BLK_DEV_UMEM is not set
CONFIG_BLK_DEV_LOOP=y
# CONFIG_BLK_DEV_CRYPTOLOOP is not set
# CONFIG_BLK_DEV_NBD is not set
CONFIG_BLK_DEV_RAM=y
CONFIG_BLK_DEV_RAM_SIZE=4096
CONFIG_BLK_DEV_INITRD=y
CONFIG_LBD=y
# CONFIG_DCSSBLK is not set

#
# ATA/ATAPI/MFM/RLL support
#
CONFIG_IDE=y
CONFIG_BLK_DEV_IDE=y

#
# Please see Documentation/ide.txt for help/info on IDE drives
#
# CONFIG_BLK_DEV_HD_IDE is not set
CONFIG_BLK_DEV_IDEDISK=y
# CONFIG_IDEDISK_MULTI_MODE is not set
# CONFIG_IDEDISK_STROKE is not set
CONFIG_BLK_DEV_IDECD=y
# CONFIG_BLK_DEV_IDETAPE is not set
# CONFIG_BLK_DEV_IDEFLOPPY is not set
# CONFIG_IDE_TASK_IOCTL is not set
CONFIG_IDE_TASKFILE_IO=y

#
# IDE chipset support/bugfixes
#
CONFIG_IDE_GENERIC=y
# CONFIG_BLK_DEV_CMD640 is not set
CONFIG_BLK_DEV_IDEPCI=y
# CONFIG_IDEPCI_SHARE_IRQ is not set
# CONFIG_BLK_DEV_OFFBOARD is not set
CONFIG_BLK_DEV_GENERIC=y
# CONFIG_BLK_DEV_OPTI621 is not set
# CONFIG_BLK_DEV_RZ1000 is not set
CONFIG_BLK_DEV_IDEDMA_PCI=y
# CONFIG_BLK_DEV_IDEDMA_FORCED is not set
CONFIG_IDEDMA_PCI_AUTO=y
# CONFIG_IDEDMA_ONLYDISK is not set
CONFIG_BLK_DEV_ADMA=y
# CONFIG_BLK_DEV_AEC62XX is not set
# CONFIG_BLK_DEV_ALI15X3 is not set
# CONFIG_BLK_DEV_AMD74XX is not set
# CONFIG_BLK_DEV_CMD64X is not set
# CONFIG_BLK_DEV_TRIFLEX is not set
# CONFIG_BLK_DEV_CY82C693 is not set
# CONFIG_BLK_DEV_CS5520 is not set
# CONFIG_BLK_DEV_CS5530 is not set
# CONFIG_BLK_DEV_HPT34X is not set
# CONFIG_BLK_DEV_HPT366 is not set
# CONFIG_BLK_DEV_SC1200 is not set
# CONFIG_BLK_DEV_PIIX is not set
# CONFIG_BLK_DEV_NS87415 is not set
# CONFIG_BLK_DEV_PDC202XX_OLD is not set
# CONFIG_BLK_DEV_PDC202XX_NEW is not set
# CONFIG_BLK_DEV_SVWKS is not set
# CONFIG_BLK_DEV_SIIMAGE is not set
# CONFIG_BLK_DEV_SIS5513 is not set
# CONFIG_BLK_DEV_SLC90E66 is not set
# CONFIG_BLK_DEV_TRM290 is not set
# CONFIG_BLK_DEV_VIA82CXXX is not set
# CONFIG_IDE_CHIPSETS is not set
CONFIG_BLK_DEV_IDEDMA=y
# CONFIG_IDEDMA_IVB is not set
CONFIG_IDEDMA_AUTO=y
# CONFIG_DMA_NONPCI is not set
# CONFIG_BLK_DEV_HD is not set

#
# SCSI device support
#
# CONFIG_SCSI is not set

#
# Old CD-ROM drivers (not SCSI, not IDE)
#
# CONFIG_CD_NO_IDESCSI is not set

#
# Multi-device support (RAID and LVM)
#
# CONFIG_MD is not set

#
# Fusion MPT device support
#

#
# IEEE 1394 (FireWire) support
#
# CONFIG_IEEE1394 is not set

#
# I2O device support
#
# CONFIG_I2O is not set

#
# Macintosh device drivers
#

#
# Networking support
#
CONFIG_NET=y

#
# Networking options
#
CONFIG_PACKET=y
# CONFIG_PACKET_MMAP is not set
# CONFIG_NETLINK_DEV is not set
CONFIG_UNIX=y
# CONFIG_NET_KEY is not set
CONFIG_INET=y
# CONFIG_IP_MULTICAST is not set
# CONFIG_IP_ADVANCED_ROUTER is not set
# CONFIG_IP_PNP is not set
# CONFIG_NET_IPIP is not set
# CONFIG_NET_IPGRE is not set
# CONFIG_ARPD is not set
# CONFIG_INET_ECN is not set
# CONFIG_SYN_COOKIES is not set
# CONFIG_INET_AH is not set
# CONFIG_INET_ESP is not set
CONFIG_INET_IPCOMP=y

#
# IP: Virtual Server Configuration
#
# CONFIG_IP_VS is not set
# CONFIG_IPV6 is not set
# CONFIG_DECNET is not set
# CONFIG_BRIDGE is not set
CONFIG_NETFILTER=y
CONFIG_NETFILTER_DEBUG=y

#
# IP: Netfilter Configuration
#
CONFIG_IP_NF_CONNTRACK=y
CONFIG_IP_NF_FTP=y
CONFIG_IP_NF_IRC=y
# CONFIG_IP_NF_TFTP is not set
# CONFIG_IP_NF_AMANDA is not set
# CONFIG_IP_NF_QUEUE is not set
CONFIG_IP_NF_IPTABLES=y
CONFIG_IP_NF_MATCH_LIMIT=y
# CONFIG_IP_NF_MATCH_IPRANGE is not set
# CONFIG_IP_NF_MATCH_MAC is not set
# CONFIG_IP_NF_MATCH_PKTTYPE is not set
# CONFIG_IP_NF_MATCH_MARK is not set
# CONFIG_IP_NF_MATCH_MULTIPORT is not set
# CONFIG_IP_NF_MATCH_TOS is not set
# CONFIG_IP_NF_MATCH_RECENT is not set
# CONFIG_IP_NF_MATCH_ECN is not set
# CONFIG_IP_NF_MATCH_DSCP is not set
# CONFIG_IP_NF_MATCH_AH_ESP is not set
# CONFIG_IP_NF_MATCH_LENGTH is not set
# CONFIG_IP_NF_MATCH_TTL is not set
# CONFIG_IP_NF_MATCH_TCPMSS is not set
# CONFIG_IP_NF_MATCH_HELPER is not set
CONFIG_IP_NF_MATCH_STATE=y
# CONFIG_IP_NF_MATCH_CONNTRACK is not set
# CONFIG_IP_NF_MATCH_OWNER is not set
CONFIG_IP_NF_FILTER=y
# CONFIG_IP_NF_TARGET_REJECT is not set
CONFIG_IP_NF_NAT=y
CONFIG_IP_NF_NAT_NEEDED=y
CONFIG_IP_NF_TARGET_MASQUERADE=y
# CONFIG_IP_NF_TARGET_REDIRECT is not set
# CONFIG_IP_NF_TARGET_NETMAP is not set
# CONFIG_IP_NF_TARGET_SAME is not set
# CONFIG_IP_NF_NAT_LOCAL is not set
# CONFIG_IP_NF_NAT_SNMP_BASIC is not set
CONFIG_IP_NF_NAT_IRC=y
CONFIG_IP_NF_NAT_FTP=y
# CONFIG_IP_NF_MANGLE is not set
CONFIG_IP_NF_TARGET_LOG=y
CONFIG_IP_NF_TARGET_ULOG=y
# CONFIG_IP_NF_TARGET_TCPMSS is not set
# CONFIG_IP_NF_ARPTABLES is not set
CONFIG_XFRM=y
CONFIG_XFRM_USER=y

#
# SCTP Configuration (EXPERIMENTAL)
#
CONFIG_IPV6_SCTP__=y
# CONFIG_IP_SCTP is not set
# CONFIG_ATM is not set
# CONFIG_VLAN_8021Q is not set
# CONFIG_LLC2 is not set
# CONFIG_IPX is not set
# CONFIG_ATALK is not set
# CONFIG_X25 is not set
# CONFIG_LAPB is not set
# CONFIG_NET_DIVERT is not set
# CONFIG_ECONET is not set
# CONFIG_WAN_ROUTER is not set
# CONFIG_NET_FASTROUTE is not set
# CONFIG_NET_HW_FLOWCONTROL is not set

#
# QoS and/or fair queueing
#
# CONFIG_NET_SCHED is not set

#
# Network testing
#
# CONFIG_NET_PKTGEN is not set
CONFIG_NETDEVICES=y

#
# ARCnet devices
#
# CONFIG_ARCNET is not set
CONFIG_DUMMY=y
# CONFIG_BONDING is not set
# CONFIG_EQUALIZER is not set
# CONFIG_TUN is not set

#
# Ethernet (10 or 100Mbit)
#
CONFIG_NET_ETHERNET=y
# CONFIG_MII is not set
# CONFIG_HAPPYMEAL is not set
# CONFIG_SUNGEM is not set
CONFIG_NET_VENDOR_3COM=y
# CONFIG_EL1 is not set
# CONFIG_EL2 is not set
# CONFIG_ELPLUS is not set
# CONFIG_EL16 is not set
# CONFIG_EL3 is not set
# CONFIG_3C515 is not set
CONFIG_VORTEX=y
# CONFIG_TYPHOON is not set
# CONFIG_LANCE is not set
# CONFIG_NET_VENDOR_SMC is not set
# CONFIG_NET_VENDOR_RACAL is not set

#
# Tulip family network device support
#
# CONFIG_NET_TULIP is not set
# CONFIG_AT1700 is not set
# CONFIG_DEPCA is not set
# CONFIG_HP100 is not set
# CONFIG_NET_ISA is not set
# CONFIG_NET_PCI is not set
# CONFIG_NET_POCKET is not set

#
# Ethernet (1000 Mbit)
#
# CONFIG_ACENIC is not set
# CONFIG_DL2K is not set
# CONFIG_E1000 is not set
# CONFIG_NS83820 is not set
# CONFIG_HAMACHI is not set
# CONFIG_YELLOWFIN is not set
# CONFIG_R8169 is not set
# CONFIG_SIS190 is not set
# CONFIG_SK98LIN is not set
# CONFIG_TIGON3 is not set

#
# Ethernet (10000 Mbit)
#
# CONFIG_IXGB is not set
# CONFIG_FDDI is not set
# CONFIG_HIPPI is not set
# CONFIG_PLIP is not set
CONFIG_PPP=y
# CONFIG_PPP_MULTILINK is not set
# CONFIG_PPP_FILTER is not set
CONFIG_PPP_ASYNC=y
CONFIG_PPP_SYNC_TTY=y
CONFIG_PPP_DEFLATE=y
CONFIG_PPP_BSDCOMP=y
# CONFIG_PPPOE is not set
# CONFIG_SLIP is not set

#
# Wireless LAN (non-hamradio)
#
# CONFIG_NET_RADIO is not set

#
# Token Ring devices
#
# CONFIG_TR is not set
# CONFIG_RCPCI is not set
# CONFIG_SHAPER is not set

#
# Wan interfaces
#
# CONFIG_WAN is not set

#
# Amateur Radio support
#
# CONFIG_HAMRADIO is not set

#
# IrDA (infrared) support
#
# CONFIG_IRDA is not set

#
# Bluetooth support
#
# CONFIG_BT is not set

#
# ISDN subsystem
#
CONFIG_ISDN=y

#
# Old ISDN4Linux
#
CONFIG_ISDN_I4L=y
CONFIG_ISDN_PPP=y
CONFIG_ISDN_PPP_VJ=y
CONFIG_ISDN_MPP=y
# CONFIG_ISDN_PPP_BSDCOMP is not set
# CONFIG_ISDN_AUDIO is not set

#
# ISDN feature submodules
#
# CONFIG_ISDN_DRV_LOOP is not set

#
# ISDN4Linux hardware drivers
#

#
# Passive cards
#
CONFIG_ISDN_DRV_HISAX=y

#
# D-channel protocol features
#
CONFIG_HISAX_EURO=y
# CONFIG_DE_AOC is not set
# CONFIG_HISAX_NO_SENDCOMPLETE is not set
# CONFIG_HISAX_NO_LLC is not set
# CONFIG_HISAX_NO_KEYPAD is not set
# CONFIG_HISAX_1TR6 is not set
# CONFIG_HISAX_NI1 is not set
CONFIG_HISAX_MAX_CARDS=8

#
# HiSax supported cards
#
# CONFIG_HISAX_16_0 is not set
# CONFIG_HISAX_16_3 is not set
# CONFIG_HISAX_TELESPCI is not set
# CONFIG_HISAX_S0BOX is not set
# CONFIG_HISAX_AVM_A1 is not set
# CONFIG_HISAX_FRITZPCI is not set
# CONFIG_HISAX_AVM_A1_PCMCIA is not set
# CONFIG_HISAX_ELSA is not set
# CONFIG_HISAX_IX1MICROR2 is not set
CONFIG_HISAX_DIEHLDIVA=y
# CONFIG_HISAX_ASUSCOM is not set
# CONFIG_HISAX_TELEINT is not set
# CONFIG_HISAX_HFCS is not set
# CONFIG_HISAX_SEDLBAUER is not set
# CONFIG_HISAX_SPORTSTER is not set
# CONFIG_HISAX_MIC is not set
# CONFIG_HISAX_NETJET is not set
# CONFIG_HISAX_NETJET_U is not set
# CONFIG_HISAX_NICCY is not set
# CONFIG_HISAX_ISURF is not set
# CONFIG_HISAX_HSTSAPHIR is not set
# CONFIG_HISAX_BKM_A4T is not set
# CONFIG_HISAX_SCT_QUADRO is not set
# CONFIG_HISAX_GAZEL is not set
# CONFIG_HISAX_HFC_PCI is not set
# CONFIG_HISAX_W6692 is not set
# CONFIG_HISAX_HFC_SX is not set
# CONFIG_HISAX_ENTERNOW_PCI is not set
# CONFIG_HISAX_DEBUG is not set

#
# HiSax PCMCIA card service modules
#

#
# HiSax sub driver modules
#
# CONFIG_HISAX_ST5481 is not set
# CONFIG_HISAX_HFCUSB is not set
# CONFIG_HISAX_FRITZ_PCIPNP is not set

#
# Active cards
#
# CONFIG_ISDN_DRV_ICN is not set
# CONFIG_ISDN_DRV_PCBIT is not set
# CONFIG_ISDN_DRV_SC is not set
# CONFIG_ISDN_DRV_ACT2000 is not set
# CONFIG_ISDN_DRV_TPAM is not set
# CONFIG_HYSDN is not set

#
# CAPI subsystem
#
# CONFIG_ISDN_CAPI is not set

#
# Telephony Support
#
# CONFIG_PHONE is not set

#
# Input device support
#
CONFIG_INPUT=y

#
# Userland interfaces
#
CONFIG_INPUT_MOUSEDEV=y
CONFIG_INPUT_MOUSEDEV_PSAUX=y
CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024
CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
# CONFIG_INPUT_JOYDEV is not set
# CONFIG_INPUT_TSDEV is not set
# CONFIG_INPUT_EVDEV is not set
# CONFIG_INPUT_EVBUG is not set

#
# Input I/O drivers
#
CONFIG_GAMEPORT=y
CONFIG_SOUND_GAMEPORT=y
# CONFIG_GAMEPORT_NS558 is not set
# CONFIG_GAMEPORT_L4 is not set
# CONFIG_GAMEPORT_EMU10K1 is not set
# CONFIG_GAMEPORT_VORTEX is not set
# CONFIG_GAMEPORT_FM801 is not set
# CONFIG_GAMEPORT_CS461x is not set
CONFIG_SERIO=y
CONFIG_SERIO_I8042=y
CONFIG_SERIO_SERPORT=y
# CONFIG_SERIO_CT82C710 is not set
# CONFIG_SERIO_PARKBD is not set
# CONFIG_SERIO_PCIPS2 is not set

#
# Input Device Drivers
#
CONFIG_INPUT_KEYBOARD=y
CONFIG_KEYBOARD_ATKBD=y
# CONFIG_KEYBOARD_SUNKBD is not set
# CONFIG_KEYBOARD_XTKBD is not set
# CONFIG_KEYBOARD_NEWTON is not set
CONFIG_INPUT_MOUSE=y
CONFIG_MOUSE_PS2=y
# CONFIG_MOUSE_SERIAL is not set
# CONFIG_MOUSE_INPORT is not set
# CONFIG_MOUSE_LOGIBM is not set
# CONFIG_MOUSE_PC110PAD is not set
# CONFIG_INPUT_JOYSTICK is not set
# CONFIG_INPUT_TOUCHSCREEN is not set
CONFIG_INPUT_MISC=y
CONFIG_INPUT_PCSPKR=y
# CONFIG_INPUT_UINPUT is not set

#
# Character devices
#
CONFIG_VT=y
CONFIG_VT_CONSOLE=y
CONFIG_HW_CONSOLE=y
# CONFIG_SERIAL_NONSTANDARD is not set

#
# Serial drivers
#
CONFIG_SERIAL_8250=y
# CONFIG_SERIAL_8250_CONSOLE is not set
CONFIG_SERIAL_8250_NR_UARTS=4
# CONFIG_SERIAL_8250_EXTENDED is not set

#
# Non-8250 serial port support
#
CONFIG_SERIAL_CORE=y
CONFIG_UNIX98_PTYS=y
# CONFIG_LEGACY_PTYS is not set
CONFIG_PRINTER=y
# CONFIG_LP_CONSOLE is not set
# CONFIG_PPDEV is not set
# CONFIG_TIPAR is not set

#
# Mice
#
# CONFIG_BUSMOUSE is not set
# CONFIG_QIC02_TAPE is not set

#
# IPMI
#
# CONFIG_IPMI_HANDLER is not set

#
# Watchdog Cards
#
# CONFIG_WATCHDOG is not set
# CONFIG_HW_RANDOM is not set
# CONFIG_NVRAM is not set
CONFIG_RTC=y
# CONFIG_DTLK is not set
# CONFIG_R3964 is not set
# CONFIG_APPLICOM is not set
# CONFIG_SONYPI is not set

#
# Ftape, the floppy tape device driver
#
# CONFIG_FTAPE is not set
CONFIG_AGP=y
# CONFIG_AGP_ALI is not set
# CONFIG_AGP_ATI is not set
# CONFIG_AGP_AMD is not set
# CONFIG_AGP_AMD64 is not set
CONFIG_AGP_INTEL=y
# CONFIG_AGP_NVIDIA is not set
# CONFIG_AGP_SIS is not set
# CONFIG_AGP_SWORKS is not set
# CONFIG_AGP_VIA is not set
# CONFIG_AGP_EFFICEON is not set
# CONFIG_DRM is not set
# CONFIG_MWAVE is not set
# CONFIG_RAW_DRIVER is not set
# CONFIG_HANGCHECK_TIMER is not set

#
# I2C support
#
# CONFIG_I2C is not set

#
# Multimedia devices
#
# CONFIG_VIDEO_DEV is not set

#
# Digital Video Broadcasting Devices
#
# CONFIG_DVB is not set

#
# Graphics support
#
# CONFIG_FB is not set
# CONFIG_VIDEO_SELECT is not set

#
# Console display driver support
#
CONFIG_VGA_CONSOLE=y
# CONFIG_MDA_CONSOLE is not set
CONFIG_DUMMY_CONSOLE=y

#
# Sound
#
CONFIG_SOUND=y

#
# Advanced Linux Sound Architecture
#
CONFIG_SND=y
CONFIG_SND_SEQUENCER=y
# CONFIG_SND_SEQ_DUMMY is not set
CONFIG_SND_OSSEMUL=y
CONFIG_SND_MIXER_OSS=y
CONFIG_SND_PCM_OSS=y
# CONFIG_SND_SEQUENCER_OSS is not set
# CONFIG_SND_RTCTIMER is not set
# CONFIG_SND_VERBOSE_PRINTK is not set
# CONFIG_SND_DEBUG is not set

#
# Generic devices
#
# CONFIG_SND_DUMMY is not set
# CONFIG_SND_VIRMIDI is not set
# CONFIG_SND_MTPAV is not set
# CONFIG_SND_SERIAL_U16550 is not set
# CONFIG_SND_MPU401 is not set

#
# ISA devices
#
# CONFIG_SND_AD1848 is not set
# CONFIG_SND_CS4231 is not set
# CONFIG_SND_CS4232 is not set
# CONFIG_SND_CS4236 is not set
# CONFIG_SND_ES1688 is not set
# CONFIG_SND_ES18XX is not set
# CONFIG_SND_GUSCLASSIC is not set
# CONFIG_SND_GUSEXTREME is not set
# CONFIG_SND_GUSMAX is not set
# CONFIG_SND_INTERWAVE is not set
# CONFIG_SND_INTERWAVE_STB is not set
# CONFIG_SND_OPTI92X_AD1848 is not set
# CONFIG_SND_OPTI92X_CS4231 is not set
# CONFIG_SND_OPTI93X is not set
# CONFIG_SND_SB8 is not set
# CONFIG_SND_SB16 is not set
# CONFIG_SND_SBAWE is not set
# CONFIG_SND_WAVEFRONT is not set
# CONFIG_SND_CMI8330 is not set
# CONFIG_SND_OPL3SA2 is not set
# CONFIG_SND_SGALAXY is not set
# CONFIG_SND_SSCAPE is not set

#
# PCI devices
#
# CONFIG_SND_ALI5451 is not set
# CONFIG_SND_AZT3328 is not set
# CONFIG_SND_BT87X is not set
# CONFIG_SND_CS46XX is not set
# CONFIG_SND_CS4281 is not set
# CONFIG_SND_EMU10K1 is not set
# CONFIG_SND_KORG1212 is not set
# CONFIG_SND_NM256 is not set
# CONFIG_SND_RME32 is not set
# CONFIG_SND_RME96 is not set
# CONFIG_SND_RME9652 is not set
# CONFIG_SND_HDSP is not set
# CONFIG_SND_TRIDENT is not set
# CONFIG_SND_YMFPCI is not set
# CONFIG_SND_ALS4000 is not set
# CONFIG_SND_CMIPCI is not set
# CONFIG_SND_ENS1370 is not set
CONFIG_SND_ENS1371=y
# CONFIG_SND_ES1938 is not set
# CONFIG_SND_ES1968 is not set
# CONFIG_SND_MAESTRO3 is not set
# CONFIG_SND_FM801 is not set
# CONFIG_SND_ICE1712 is not set
# CONFIG_SND_ICE1724 is not set
# CONFIG_SND_INTEL8X0 is not set
# CONFIG_SND_SONICVIBES is not set
# CONFIG_SND_VIA82XX is not set
# CONFIG_SND_VX222 is not set

#
# ALSA USB devices
#
# CONFIG_SND_USB_AUDIO is not set

#
# Open Sound System
#
# CONFIG_SOUND_PRIME is not set

#
# USB support
#
CONFIG_USB=y
CONFIG_USB_DEBUG=y

#
# Miscellaneous USB options
#
CONFIG_USB_DEVICEFS=y
# CONFIG_USB_BANDWIDTH is not set
# CONFIG_USB_DYNAMIC_MINORS is not set

#
# USB Host Controller Drivers
#
# CONFIG_USB_EHCI_HCD is not set
# CONFIG_USB_OHCI_HCD is not set
CONFIG_USB_UHCI_HCD=y

#
# USB Device Class drivers
#
# CONFIG_USB_AUDIO is not set
# CONFIG_USB_BLUETOOTH_TTY is not set
# CONFIG_USB_MIDI is not set
# CONFIG_USB_ACM is not set
# CONFIG_USB_PRINTER is not set

#
# SCSI support is needed for USB Storage
#
# CONFIG_USB_STORAGE is not set

#
# USB Human Interface Devices (HID)
#
# CONFIG_USB_HID is not set

#
# USB HID Boot Protocol drivers
#
# CONFIG_USB_KBD is not set
# CONFIG_USB_MOUSE is not set
# CONFIG_USB_AIPTEK is not set
# CONFIG_USB_WACOM is not set
# CONFIG_USB_KBTAB is not set
# CONFIG_USB_POWERMATE is not set
# CONFIG_USB_XPAD is not set

#
# USB Imaging devices
#
# CONFIG_USB_MDC800 is not set

#
# USB Multimedia devices
#
# CONFIG_USB_DABUSB is not set

#
# Video4Linux support is needed for USB Multimedia device support
#

#
# USB Network adaptors
#
# CONFIG_USB_CATC is not set
# CONFIG_USB_KAWETH is not set
# CONFIG_USB_PEGASUS is not set
# CONFIG_USB_RTL8150 is not set
# CONFIG_USB_USBNET is not set

#
# USB port drivers
#
# CONFIG_USB_USS720 is not set

#
# USB Serial Converter support
#
# CONFIG_USB_SERIAL is not set

#
# USB Miscellaneous drivers
#
# CONFIG_USB_EMI62 is not set
# CONFIG_USB_EMI26 is not set
# CONFIG_USB_TIGL is not set
# CONFIG_USB_AUERSWALD is not set
# CONFIG_USB_RIO500 is not set
# CONFIG_USB_LEGOTOWER is not set
# CONFIG_USB_BRLVGER is not set
# CONFIG_USB_LCD is not set
# CONFIG_USB_LED is not set
# CONFIG_USB_TEST is not set

#
# USB Gadget Support
#
# CONFIG_USB_GADGET is not set

#
# File systems
#
CONFIG_EXT2_FS=y
# CONFIG_EXT2_FS_XATTR is not set
# CONFIG_EXT3_FS is not set
# CONFIG_JBD is not set
# CONFIG_REISERFS_FS is not set
# CONFIG_JFS_FS is not set
# CONFIG_XFS_FS is not set
# CONFIG_MINIX_FS is not set
# CONFIG_ROMFS_FS is not set
# CONFIG_QUOTA is not set
# CONFIG_AUTOFS_FS is not set
# CONFIG_AUTOFS4_FS is not set

#
# CD-ROM/DVD Filesystems
#
CONFIG_ISO9660_FS=y
CONFIG_JOLIET=y
CONFIG_ZISOFS=y
CONFIG_ZISOFS_FS=y
CONFIG_UDF_FS=y

#
# DOS/FAT/NT Filesystems
#
CONFIG_FAT_FS=y
CONFIG_MSDOS_FS=y
CONFIG_VFAT_FS=y
# CONFIG_NTFS_FS is not set

#
# Pseudo filesystems
#
CONFIG_PROC_FS=y
CONFIG_PROC_KCORE=y
CONFIG_DEVFS_FS=y
CONFIG_DEVFS_MOUNT=y
CONFIG_DEVFS_DEBUG=y
# CONFIG_DEVPTS_FS_XATTR is not set
CONFIG_TMPFS=y
# CONFIG_HUGETLBFS is not set
# CONFIG_HUGETLB_PAGE is not set
CONFIG_RAMFS=y

#
# Miscellaneous filesystems
#
# CONFIG_ADFS_FS is not set
# CONFIG_AFFS_FS is not set
# CONFIG_HFS_FS is not set
# CONFIG_HFSPLUS_FS is not set
# CONFIG_BEFS_FS is not set
# CONFIG_BFS_FS is not set
# CONFIG_EFS_FS is not set
# CONFIG_CRAMFS is not set
# CONFIG_VXFS_FS is not set
CONFIG_HPFS_FS=y
# CONFIG_QNX4FS_FS is not set
# CONFIG_SYSV_FS is not set
# CONFIG_UFS_FS is not set

#
# Network File Systems
#
# CONFIG_NFS_FS is not set
# CONFIG_NFSD is not set
# CONFIG_EXPORTFS is not set
# CONFIG_SMB_FS is not set
# CONFIG_CIFS is not set
# CONFIG_NCP_FS is not set
# CONFIG_CODA_FS is not set
# CONFIG_AFS_FS is not set

#
# Partition Types
#
# CONFIG_PARTITION_ADVANCED is not set
CONFIG_MSDOS_PARTITION=y

#
# Native Language Support
#
CONFIG_NLS=y
CONFIG_NLS_DEFAULT="iso8859-1"
CONFIG_NLS_CODEPAGE_437=y
# CONFIG_NLS_CODEPAGE_737 is not set
# CONFIG_NLS_CODEPAGE_775 is not set
CONFIG_NLS_CODEPAGE_850=y
# CONFIG_NLS_CODEPAGE_852 is not set
# CONFIG_NLS_CODEPAGE_855 is not set
# CONFIG_NLS_CODEPAGE_857 is not set
# CONFIG_NLS_CODEPAGE_860 is not set
# CONFIG_NLS_CODEPAGE_861 is not set
# CONFIG_NLS_CODEPAGE_862 is not set
# CONFIG_NLS_CODEPAGE_863 is not set
# CONFIG_NLS_CODEPAGE_864 is not set
# CONFIG_NLS_CODEPAGE_865 is not set
# CONFIG_NLS_CODEPAGE_866 is not set
# CONFIG_NLS_CODEPAGE_869 is not set
# CONFIG_NLS_CODEPAGE_936 is not set
# CONFIG_NLS_CODEPAGE_950 is not set
# CONFIG_NLS_CODEPAGE_932 is not set
# CONFIG_NLS_CODEPAGE_949 is not set
# CONFIG_NLS_CODEPAGE_874 is not set
# CONFIG_NLS_ISO8859_8 is not set
# CONFIG_NLS_CODEPAGE_1250 is not set
# CONFIG_NLS_CODEPAGE_1251 is not set
CONFIG_NLS_ISO8859_1=y
# CONFIG_NLS_ISO8859_2 is not set
# CONFIG_NLS_ISO8859_3 is not set
# CONFIG_NLS_ISO8859_4 is not set
# CONFIG_NLS_ISO8859_5 is not set
# CONFIG_NLS_ISO8859_6 is not set
# CONFIG_NLS_ISO8859_7 is not set
# CONFIG_NLS_ISO8859_9 is not set
# CONFIG_NLS_ISO8859_13 is not set
# CONFIG_NLS_ISO8859_14 is not set
CONFIG_NLS_ISO8859_15=y
# CONFIG_NLS_KOI8_R is not set
# CONFIG_NLS_KOI8_U is not set
# CONFIG_NLS_UTF8 is not set

#
# Profiling support
#
# CONFIG_PROFILING is not set

#
# Kernel hacking
#
# CONFIG_DEBUG_KERNEL is not set
CONFIG_EARLY_PRINTK=y
# CONFIG_DEBUG_SPINLOCK_SLEEP is not set
# CONFIG_FRAME_POINTER is not set

#
# Security options
#
# CONFIG_SECURITY is not set

#
# Cryptographic options
#
CONFIG_CRYPTO=y
CONFIG_CRYPTO_HMAC=y
# CONFIG_CRYPTO_NULL is not set
# CONFIG_CRYPTO_MD4 is not set
# CONFIG_CRYPTO_MD5 is not set
# CONFIG_CRYPTO_SHA1 is not set
# CONFIG_CRYPTO_SHA256 is not set
# CONFIG_CRYPTO_SHA512 is not set
# CONFIG_CRYPTO_DES is not set
# CONFIG_CRYPTO_BLOWFISH is not set
# CONFIG_CRYPTO_TWOFISH is not set
# CONFIG_CRYPTO_SERPENT is not set
# CONFIG_CRYPTO_AES is not set
# CONFIG_CRYPTO_CAST5 is not set
# CONFIG_CRYPTO_CAST6 is not set
CONFIG_CRYPTO_DEFLATE=y
# CONFIG_CRYPTO_TEST is not set

#
# Library routines
#
# CONFIG_CRC32 is not set
CONFIG_ZLIB_INFLATE=y
CONFIG_ZLIB_DEFLATE=y
CONFIG_X86_BIOS_REBOOT=y
CONFIG_PC=y

-- 
Maurice van der Stee
stee@planet.nl


-- 
Maurice van der Stee
stee@planet.nl

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2004-02-29 14:42 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-02-28 17:12 2.6.4-rc1 oops on HPFS filesystem file rename Maurice van der Stee
2004-02-28 19:06 ` viro
2004-02-29 11:31   ` Maurice van der Stee
2004-02-29 13:14     ` viro
2004-02-29 13:58       ` viro
2004-02-29 14:41         ` viro
  -- strict thread matches above, loose matches on Subject: below --
2004-02-28 11:04 Maurice van der Stee
2004-02-28 11:42 ` viro
2004-02-28 17:05   ` Diego Calleja

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®