OOPS[devfs]: reproducible in vfs_follow_link 2.4.9,2.4.10-pre4

OOPS[devfs]: reproducible in vfs_follow_link 2.4.9,2.4.10-pre4

Post by Richard Gooc » Sat, 08 Sep 2001 04:50:12



Alexander Viro writes:


> > Hello.

> > Since yesterdey, every time I run a 2.4.9 or 2.4.10pre-4 without the
> > "devfs=nomount" I
> > have two oops + /usr, /home /boot not mounted (all (also /): ext2).

>    Don't use devfs. One of the known bugs - devfs passes a string
> to vfs_follow_link() and doesn't care to preserve it until
> vfs_follow_link() is done.

Devfs-patch-v186 had my first fix for this. It removes the race on UP
entirely, and has only a small SMP race. So apply the latest devfs
patch:
ftp://ftp.kernel.org/pub/linux/kernel/people/rgooch/v2.4/devfs-patch-...

It was released early August.

Quote:> E.g. rmmod during the symlink traversal will end up with

Was an rmmod being performed at this time?

Quote:>    And yes, Richard had been informed about that months ago. Sigh...

And my first patch was a month ago. And I've been fixing other races
and doing code cleanups as well. I've been sending Linus my patches
for a month now, but he hasn't applied them. Sigh...

And my current tree has half the code ripped apart as I add
refcounting and spinlocks to key places, and do proper freeing upon
unregister. My apologies for not posting it to the list, but it
doesn't compile yet, and won't for a while.

If people could test the latest devfs patch, that would be really
helpful. Linus isn't applying it because he's concerned that the many
SD support may break something. Even if you don't have many SD's,
please apply the patch and send a message to the list (and Cc: me)
stating whether or not your system still works.

                                Regards,

                                        Richard....


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

 
 
 

1. new OOPS 2.4.10-pre11, do_generic_file_read [devfs related?]

Wow! I should try 2.4.10-pre11. I have't had a chance yet.

Only small progress: I spent last week in Boston setting up some test
boxes, which was slower than expected thanks to battling with the
non-standardness of Compaq boxen. Grrr.

                                Regards,

                                        Richard....


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

2. ipfwadm masquerade blues

3. VM: 2.4.10 vs. 2.4.10-ac2 and qsort()

4. SRPM question

5. Swapping in 2.4.10.SuSE-3 (2.4.10aa1 + some patches).

6. OT: Gnome1.4+ ??

7. OOPS in scsi generic stuff 2.4.10-pre6

8. Help needed???? Printing while at LINUX

9. 2.4.10 oops through usb-uhci

10. kernel 2.4.10 masquerading (debian)

11. Analog joystick fails on 2.4.10

12. Compiling kernel 2.4.10

13. 2.4.10-ac12 compile error