Re: mount(2) broken?

1999-12-07 Thread Poul-Henning Kamp
In message [EMAIL PROTECTED], Luoqi Chen writes: I'd like to add something about the last buffer wouldn't sync. This occurs when a shutdown syscall is issued when the syncer process is asleep waiting for a buffer write to complete. The write will never complete, because the syncer won't be given

Re: mount(2) broken?

1999-12-07 Thread Nick Hibma
Most probably this is exactly the problem I was describing to you a couple of days ago on IRC, phk. The solution is to boot single user, fsck / and reboot. After that things are back to normal. Even crashing the machine does not make this problem reoccur. Nah. This is about the

Re: mount(2) broken?

1999-12-07 Thread Matthew Jacob
Happens to me every boot. And I'm up to date with all binaries and kernel. I don't have softupdates on the root filesystem. On Mon, 6 Dec 1999, Mike Smith wrote: On Mon, 6 Dec 1999, Nick Hibma wrote: Most probably this is exactly the problem I was describing to you a couple of days

Re: mount(2) broken?

1999-12-07 Thread Matthew Jacob
On Tue, 7 Dec 1999, Luoqi Chen wrote: I've seen this exact same thing before too. In fact it was two rather annoying things, one being a single solitary last buffer that wouldn't sync and thus left the whole fs marked dirty, and then fsck would check it, see it was fine, but mount

Re: mount(2) broken?

1999-12-07 Thread Bruce Evans
On Mon, 6 Dec 1999, Mike Smith wrote: On Mon, 6 Dec 1999, Nick Hibma wrote: Most probably this is exactly the problem I was describing to you a couple of days ago on IRC, phk. The solution is to boot single user, fsck / and reboot. After that things are back to normal. Even

Re: mount(2) broken?

1999-12-07 Thread Luoqi Chen
I'd like to add something about the last buffer wouldn't sync. This occurs when a shutdown syscall is issued when the syncer process is asleep waiting for a buffer write to complete. The write will never complete, because the syncer won't be given a chance to run again, and the buffer will

Re: mount(2) broken?

1999-12-07 Thread Nick Hibma
That sounds like the conclusion I came to as well. I had a different patch, but looking at yours, mine looks wrong. Nick "mount -f /" on a dirty root file system causes the clean flag to stay off forever. (I forgot to change the unclean flag for mount -u.) diff -c2 ffs_vfsops.c~

Re: mount(2) broken?

1999-12-06 Thread Nick Hibma
Please update your /dev entries. You need to copy MAKEDEV from the source area (it isn't installed by default) and run it with the right arguments to recreate the device nodes you need. I've seen this exact same thing before too. In fact it was two rather annoying things, one being a

Re: mount(2) broken?

1999-12-06 Thread Alex Zepeda
On Mon, 6 Dec 1999, Nick Hibma wrote: Most probably this is exactly the problem I was describing to you a couple of days ago on IRC, phk. The solution is to boot single user, fsck / and reboot. After that things are back to normal. Even crashing the machine does not make this problem

Re: mount(2) broken?

1999-12-06 Thread Mike Smith
On Mon, 6 Dec 1999, Nick Hibma wrote: Most probably this is exactly the problem I was describing to you a couple of days ago on IRC, phk. The solution is to boot single user, fsck / and reboot. After that things are back to normal. Even crashing the machine does not make this

Re: mount(2) broken?

1999-12-06 Thread Jeroen Ruigrok/Asmodai
-On [19991206 00:00], Khetan Gajjar ([EMAIL PROTECTED]) wrote: On Sun, 5 Dec 1999, Garrett Wollman wrote: * Why isn't MAKEDEV installed by `make install' in a kernel compilation directory? Afaik, anyone tracking -current either knows to do this or uses a tool (like mergemaster) that does it for

Re: mount(2) broken?

1999-12-06 Thread Luoqi Chen
I've seen this exact same thing before too. In fact it was two rather annoying things, one being a single solitary last buffer that wouldn't sync and thus left the whole fs marked dirty, and then fsck would check it, see it was fine, but mount wouldn't recognize that it was clean. 'Course

Re: mount(2) broken?

1999-12-05 Thread Poul-Henning Kamp
In message [EMAIL PROTECTED], Vallo Kallaste writes: On Sat, Dec 04, 1999 at 08:01:43PM -0800, "Brian W. Buchanan" [EMAIL PROTECTED] wrote: After an unfortunate hard reboot today, the system fscked everything and then barfed attempting to mount /, claiming it to be unclean. I dropped to

Re: mount(2) broken?

1999-12-05 Thread Vallo Kallaste
On Sun, Dec 05, 1999 at 11:12:29AM +0100, Poul-Henning Kamp [EMAIL PROTECTED] wrote: Please update your /dev entries. You need to copy MAKEDEV from the source area (it isn't installed by default) and run it with the right arguments to recreate the device nodes you need. Thanks, that was

Sv: mount(2) broken?

1999-12-05 Thread Leif Neland
Why isn't MAKEDEV installed by make (install)world? Leif - Original Message - From: Poul-Henning Kamp [EMAIL PROTECTED] Please update your /dev entries. You need to copy MAKEDEV from the source area (it isn't installed by default) and run it with the right arguments to recreate

Re: Sv: mount(2) broken?

1999-12-05 Thread Poul-Henning Kamp
In message 003001bf3f5d$1ff01780$[EMAIL PROTECTED], "Leif Neland" writes: Why isn't MAKEDEV installed by make (install)world? I'm actually starting to wonder about that too... -- Poul-Henning Kamp FreeBSD coreteam member [EMAIL PROTECTED] "Real hackers run -current on

Re: Sv: mount(2) broken?

1999-12-05 Thread Brian Fundakowski Feldman
On Sun, 5 Dec 1999, Poul-Henning Kamp wrote: In message 003001bf3f5d$1ff01780$[EMAIL PROTECTED], "Leif Neland" writes: Why isn't MAKEDEV installed by make (install)world? I'm actually starting to wonder about that too... Just like with the base KLDs, I really think this should be installed

Re: Sv: mount(2) broken?

1999-12-05 Thread Garrett Wollman
On Sun, 05 Dec 1999 21:14:12 +0100, Poul-Henning Kamp [EMAIL PROTECTED] said: In message 003001bf3f5d$1ff01780$[EMAIL PROTECTED], "Leif Neland" writes: Why isn't MAKEDEV installed by make (install)world? I'm actually starting to wonder about that too... Um, the correct question would have

Re: Sv: mount(2) broken?

1999-12-05 Thread Rodney W. Grimes
In message 003001bf3f5d$1ff01780$[EMAIL PROTECTED], "Leif Neland" writes: Why isn't MAKEDEV installed by make (install)world? I'm actually starting to wonder about that too... Because the source is buried in src/etc, and src/etc is not run as a SUBDIR target. It had always been my intent

Re: mount(2) broken?

1999-12-05 Thread Alex Zepeda
On Sun, 5 Dec 1999, Poul-Henning Kamp wrote: Same here, except I'm able to mount after fscking an rebooting. ATA disk and new ata drivers. Please update your /dev entries. You need to copy MAKEDEV from the source area (it isn't installed by default) and run it with the right arguments to

mount(2) broken?

1999-12-04 Thread Brian W. Buchanan
After an unfortunate hard reboot today, the system fscked everything and then barfed attempting to mount /, claiming it to be unclean. I dropped to single-user mode and proceeded to re-fsck / and then tried to mount it again to no avail. Rebooting didn't help things either. # fsck -p