Re: -current hangs during boot

2000-10-22 Thread Jos Backus
On Mon, Oct 23, 2000 at 01:38:36AM +0200, [EMAIL PROTECTED] wrote: > Randomized file generation numbers to make NFS attacks more difficult, > as far as I can remember. >From p. 315 of the "red devil book": A generation number is assigned to an inode each time that the latter is allocated to repr

Re: -current hangs during boot

2000-10-22 Thread Jim Bryant
In reply: > On Sun, Oct 22, 2000 at 04:14:08PM +0800, Donny Lee wrote: > > with the mfs enable, it hangs there right after FILESYSTEM > > checking, and with random_load set to YES, it hangs at ldconfig. > > mount_mfs is blocking on "rndblk". Our /dev/*random is fubar'ed *again*. quick fix, wo

Re: PPP over ATM

2000-10-22 Thread Archie Cobbs
Brian Smith writes: > >>Are you aware of any efforts to add PPP over ATM or Netgraph > >>support to the current ATM code? > > > >I'm not aware of any activity in the ATM code at all... > > Ok, well if I were to netgraphify the ATM code, would mpd be sufficient > to get PPP over ATM working? (I

Re: new rc.network6 and rc.firewall6

2000-10-22 Thread Bill Vermillion
On Sun, Oct 22, 2000 at 03:39:57PM -0700, David O'Brien thus spoke: > On Sat, Oct 21, 2000 at 11:05:37AM -0700, Jordan Hubbard wrote: > > > I wish to update rc.network6 and introduce rc.firewall6. > > H. I must confess that I see /etc as getting rather cluttered > > these days. Is there no

current hangs when boot

2000-10-22 Thread Bigbear
i update my system from 4.1 to current, when system boot, it hangs when: start elf ldconfig: /usr/lib /usr/lib/compat /usr/X11R6/lib why? __ BIGBEAR === ÐÂÀËÃâ·Ñµç×ÓÓÊÏä http://mail.sina.com.cn ÐÂÀË

Re: -current hangs during boot

2000-10-22 Thread sthaug
>Anyone know the history on the '#ifdef FSIRAND' code? Randomized file generation numbers to make NFS attacks more difficult, as far as I can remember. Steinar Haug, Nethelp consulting, [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in t

Re: -current hangs during boot

2000-10-22 Thread John W. De Boskey
- David O'Brien's Original Message - > On Sun, Oct 22, 2000 at 04:14:08PM +0800, Donny Lee wrote: > > with the mfs enable, it hangs there right after FILESYSTEM > > checking, and with random_load set to YES, it hangs at ldconfig. > > mount_mfs is blocking on "rndblk". Our /dev/*random

Re: m4 not in build tools for make world

2000-10-22 Thread David O'Brien
On Sun, Oct 22, 2000 at 01:01:57AM +0200, Rogier R. Mulhuijzen wrote: > > I don't know if m4 should be in the build tools that are made during make > world, but it isn't. No it shouldn't. > And because I had the GNU m4 installed as m4 and not gm4 the building > of the boot blocks went belly up

Re: -current hangs during boot

2000-10-22 Thread David O'Brien
On Sun, Oct 22, 2000 at 04:14:08PM +0800, Donny Lee wrote: > with the mfs enable, it hangs there right after FILESYSTEM > checking, and with random_load set to YES, it hangs at ldconfig. mount_mfs is blocking on "rndblk". Our /dev/*random is fubar'ed *again*. -- -- David ([EMAIL PROTECTED]

Re: new rc.network6 and rc.firewall6

2000-10-22 Thread David O'Brien
On Sat, Oct 21, 2000 at 11:05:37AM -0700, Jordan Hubbard wrote: > > I wish to update rc.network6 and introduce rc.firewall6. > > H. I must confess that I see /etc as getting rather cluttered > these days. Is there no way to perhaps collapse some of the most > related functionality into sing

Re: -current hangs during boot

2000-10-22 Thread David O'Brien
On Sun, Oct 22, 2000 at 12:14:03PM +0800, Donny Lee wrote: > /dev/da0s1e: FILESYSTEM CLEAN, SKIPPING CHECK > /dev/da0s1e: clean, 92565 free (125 frags, 11555 blocks, > 0.1%fragmentation) > > then no more, Next time hit control-T to find out what is hanging and why. -- -- David ([EMAIL P

RE: sys/i386/i386/machdep.c:cpu_idle() changes causes this Was:

2000-10-22 Thread Tor . Egge
> > On 20-Oct-00 Valentin Chopov wrote: > > I found that if I remove #ifndef SMP /#endif in: > > Errr, this doesn't really make sense, and if anything is probably > hiding the problem. Also, this change will potentially increase > interrupt latency even further on SMP machines. Interrupts ar

Re: Junior Kernel Hacker Task: M_ZERO

2000-10-22 Thread Peter van Dijk
On Sun, Oct 22, 2000 at 06:23:57PM -0400, Peter Dufault wrote: [snip] > I guess I'm suggesting a clarification on when you want to set this flag. > If I want to be sure I get my zeroed out stuff real soon should I use > still use bzero? No. What he means is that this 'zeroing process' will happen

Re: Junior Kernel Hacker Task: M_ZERO

2000-10-22 Thread Peter Dufault
> I have introduced the M_ZERO flag to the kernel malloc, which provides > the service to bzero() the memory allocted. > > In the kernel sources, the archetypical change to use this facility > looks like this: > > Old code: >databuf = malloc(length, M_DEVBUF, M_WAITOK); >

Re: Junior Kernel Hacker Task: M_ZERO

2000-10-22 Thread David Malone
On Sun, Oct 22, 2000 at 09:07:48PM +0200, Jesper Skriver wrote: > What about using something like > > #if defined(__FreeBSD__) && __FreeBSD_version >= 5x > > This would probably make it easier for multi OS code, and also make > it easier to MFC some of the affected code into -stable ?? I

Re: divert as module?

2000-10-22 Thread Leif Neland
> On Sun, 22 Oct 2000, Nimrod Mesika wrote: > > >> Or can I use ppp's nat together with ipfw? > > > >I see no reason why you can't. In fact, it will probably be more > >efficient as you will not need two user processes (ppp and natd). > I tried, I can. (I should just have tried instead of asking

Re: divert as module?

2000-10-22 Thread Brandon D. Valentine
On Sun, 22 Oct 2000, Nimrod Mesika wrote: >> Or can I use ppp's nat together with ipfw? > >I see no reason why you can't. In fact, it will probably be more >efficient as you will not need two user processes (ppp and natd). Furthermore, I don't see why ipfw gains you anything over ppp filters. Ju

Re: divert as module?

2000-10-22 Thread Nimrod Mesika
On Sun, Oct 22, 2000 at 09:52:03PM +0200, Leif Neland wrote: > But the command > "ipfw add divert natd all from any to any via tun0 " > fails: > 0 divert 8668 ip from any to any via tun0 > ipfw: setsockopt(IP_FW_ADD): Invalid argument I don't know about a kernel module, but when ipfw is compi

Re: -current hangs during boot

2000-10-22 Thread Donny Lee
Leif Neland wrote: > > Does this make any different? > > shutdown is fine, but ctrl-alt-del is not so good, > > whenever I did this, the next boot takes a long time on > > fixing filesystems. > You mean your system doesn't unmount the disks at ctrl-alt-del? > Does it a hard reset instead?

Re: -current hangs during boot

2000-10-22 Thread Leif Neland
> Leif Neland wrote: > > > do you mean one should use "shutdown -r now" or Ctrl-Alt-Del > > > instead of "reboot" right after make world and kernel? > > Exactly. Except not just after make world/kernel, every time you > > want to reboot/halt. > > Does this make any different? > > shutdow

divert as module?

2000-10-22 Thread Leif Neland
I want to install ipfw and natd to a machine working as isdn-router, which I lost the kernel config for I connect to the world via userland-ppp and isdnd. I don't have any ipfw or divert compiled in the kernel, but I can load ipfw.ko, so the firewall rules can work (I now see my isp sends IGMP's

$B#N#P#O7]G=J!;c2;3ZJ82=;v6H6(2q(B$B!V@83h%W%i%9(B2$B$N2q!W(B

2000-10-22 Thread NPO
$B!!(B $B!!"'"$"&"%"'"$"&"%#N#P#O@83h%W%i%9(B2$B$N2q"'"$"&"%"'"$"&"%(B $B!!F|K\NsEg=)0lCJ$H?<$^$j9HMU$N5(@a$H$J$j3'!9MM$4@61I$N$3$H$H$*4n$S?=$7(B $B>e$2$^$9!#(B $B!!$4B?K;CfFMA3$K$3$N$h$&$J%a!<%k$rAw?.$9$k<:Ni$r$*5v$72<$5$$!#(B $B;d$I$b#N#P#O7]G=J!;c2;3ZJ82=;v6H6(2q!V@83h%W%i%9(B2

Re: Junior Kernel Hacker Task: M_ZERO

2000-10-22 Thread Jesper Skriver
On Sun, Oct 22, 2000 at 06:54:25PM +0100, David Malone wrote: > > Now, if one or two people will review this patch and verify that > > LINT & GENERIC kernels compile the same, we're set for commit... > > It works fine with GENERIC - atleast I tested a buildworld with > sources build with it. I do

Re: test from mysql's configure

2000-10-22 Thread Daniel Eischen
On Sun, 22 Oct 2000, Andrey Rouskol wrote: > > Hi there ! > > Some days ago I was tring to compile mysql at -current and found that > ./configure freezes at 'checking for restartable system calls'. Here is a > code witch is executed - if you compile it with '-lc_r -lm -lcrypt' it will > freeze.

Re: Junior Kernel Hacker Task: M_ZERO

2000-10-22 Thread David Malone
> Now, if one or two people will review this patch and verify that > LINT & GENERIC kernels compile the same, we're set for commit... It works fine with GENERIC - atleast I tested a buildworld with sources build with it. I don't think LINT compiles at the moment, atleast it seems to get stuck in

Re: CVSUP access

2000-10-22 Thread Jesper Skriver
On Sun, Oct 22, 2000 at 01:19:01PM -0400, Forrest Aldrich wrote: > What's the latest scoop on cvsup access? Yesterday, I started up the > process in the early AM, returning late in the evening to find that it > still wasn't able to connect (connection limit exceeded). Which cvsup server are y

Re: -current hangs during boot

2000-10-22 Thread Donny Lee
Leif Neland wrote: > > do you mean one should use "shutdown -r now" or Ctrl-Alt-Del > > instead of "reboot" right after make world and kernel? > Exactly. Except not just after make world/kernel, every time you > want to reboot/halt. Does this make any different? shutdown is fine, but c

CVSUP access

2000-10-22 Thread Forrest Aldrich
What's the latest scoop on cvsup access? Yesterday, I started up the process in the early AM, returning late in the evening to find that it still wasn't able to connect (connection limit exceeded). I recall some conversation on, a while back, about this. _F To Unsubscribe: send mail to [

Re: -current hangs during boot

2000-10-22 Thread Leif Neland
- Original Message - From: "Donny Lee" <[EMAIL PROTECTED]> To: "Leif Neland" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Sunday, October 22, 2000 10:59 AM Subject: Re: -current hangs during boot > Leif Neland wrote: > > > I've done a very recent week's make world(S) on -current,

Re: Junior Kernel Hacker Task: M_ZERO

2000-10-22 Thread Poul-Henning Kamp
In message <[EMAIL PROTECTED]>, David Malone writes: >On Sat, Oct 21, 2000 at 09:48:47AM -0400, Garrett Rooney wrote: >> > If anybody is looking for a simple task to perform in the FreeBSD >> > kernel: this is it. >> > >Before anyone else starts looking at this, I've collected and >cleaned up the

Re: test from mysql's configure

2000-10-22 Thread Andrey Rouskol
On Sun, 22 Oct 2000, Daniel Eischen wrote: > On Sun, 22 Oct 2000, Andrey Rouskol wrote: > > > > Some days ago I was trying to compile mysql at -current and found that > > ./configure freezes at 'checking for restartable system calls'. Here is a > > code witch is executed - if you compile it wit

Please review: PC-Card melody beep code.

2000-10-22 Thread MIHIRA Sanpei Yoshiro
Hi. FreeBSD developers. This is PC-Card melody beep code for 5-current(/sys/pccard/pccard_beep.c) from PAO3. This patch does not need to change sys/i386/isa/clock.c. Any problems, please let me know. --- MIHIRA, Sanpei Yoshiro Yokohama, Japan. Index: src/sys/pccard/driver.h =

Re: PPP over ATM

2000-10-22 Thread Brian Smith
On Sun, 22 Oct 2000 03:41:27 +0200, Poul-Henning Kamp wrote: Who knows about the ATM stuff in the kernel? >>> >>>We have two ATM stacks: >>> * The minimalist "chuck" stack. >>> * The full-blown HARP stack. >>> >>>Neither support netgraph. >> >>Are you aware of any efforts to add PPP o

Re: Bug in tagged queuing patches causes read timeouts

2000-10-22 Thread Dag-Erling Smorgrav
Soren Schmidt <[EMAIL PROTECTED]> writes: > Hmm, have you tried the latest current ?? does that still cause trouble ?? If you mean the commits you did today, no, but I see nothing in the commit logs that seems pertinent to my problem. If not, then yes, I've tried the latest sources. DES -- Dag-

Re: test from mysql's configure

2000-10-22 Thread Daniel Eischen
On Sun, 22 Oct 2000, Andrey Rouskol wrote: > > Hi there ! > > Some days ago I was tring to compile mysql at -current and found that > ./configure freezes at 'checking for restartable system calls'. Here is a > code witch is executed - if you compile it with '-lc_r -lm -lcrypt' it will It shoul

Re: PPP over ATM

2000-10-22 Thread Poul-Henning Kamp
In message <[EMAIL PROTECTED] lting.com>, "Brian Smith" writes: >On Sun, 22 Oct 2000 03:16:38 +0200, Poul-Henning Kamp wrote: > >> >>>Who knows about the ATM stuff in the kernel? >> >>We have two ATM stacks: >> * The minimalist "chuck" stack. >> * The full-blown HARP stack. >> >>Neither

Re: PPP over ATM

2000-10-22 Thread Brian Smith
On Sun, 22 Oct 2000 03:16:38 +0200, Poul-Henning Kamp wrote: > >>Who knows about the ATM stuff in the kernel? > >We have two ATM stacks: > * The minimalist "chuck" stack. > * The full-blown HARP stack. > >Neither support netgraph. Are you aware of any efforts to add PPP over ATM or N

Re: Bug in tagged queuing patches causes read timeouts

2000-10-22 Thread Soren Schmidt
It seems Dag-Erling Smorgrav wrote: > Fresh -CURRENT kernels render the system disk (IBM-DTTA-371010) > unusable; even small amounts of disk activity cause repeated read > timeouts. I've narrowed the breakage down: the latest known-good > kernel is 09/18/2000, earliest known-bad is 09/20/2000, whi

Re: PPP over ATM

2000-10-22 Thread Poul-Henning Kamp
>Who knows about the ATM stuff in the kernel? We have two ATM stacks: * The minimalist "chuck" stack. * The full-blown HARP stack. Neither support netgraph. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 [EMAIL PROTECTED] | TCP/IP since RFC 956 FreeBSD committe

test from mysql's configure

2000-10-22 Thread Andrey Rouskol
Hi there ! Some days ago I was tring to compile mysql at -current and found that ./configure freezes at 'checking for restartable system calls'. Here is a code witch is executed - if you compile it with '-lc_r -lm -lcrypt' it will freeze. test.c: /* Exit 0 (true) if wait returns something oth

Re: PPP over ATM

2000-10-22 Thread Brian Smith
On Sun, 22 Oct 2000 04:30:30 -0700, Julian Elischer wrote: >Don't forget to consider how you could do this with netgraph. >We already have ppp over ethernet and other transports using netgraph, >(and mpd (in ports) already uses teh netgraph kernel ppp stack) I am not familiar with netgraph

Re: -current hangs during boot

2000-10-22 Thread John W. De Boskey
- Leif Neland's Original Message - > > > On Sun, 22 Oct 2000, Donny Lee wrote: > > > > > Hi there, > > > > I've done a very recent week's make world(S) on -current, making > > and installing world and kernel go fine, but all hang on boot, > > with no error codes or msgs. > > > So

Re: newfs/fsck problem (bad superblocks)

2000-10-22 Thread John W. De Boskey
Patch appears to fix the problem. Do you want to commit it? Peter? me? Thanks, John ps: it would be interesting to add a statistic to determine how often the cache block is flushed due to size or read interference. May determine that the cache should be larger (or smaller). Did you

Re: PPP over ATM

2000-10-22 Thread Julian Elischer
Brian Smith wrote: > > I was wondering what the state of PPP over ATM is, if there is at all. And would >like to offer my services in it's > development if it isn't finished (or started) yet. I inquired on #FreeBSDHelp on >EFNet but I didn't get any > useful results. I am not sure if this is

Re: I18N Progress, Plans, and Proposals

2000-10-22 Thread itojun
>> which part looks gratuitous? could you be more specific? >#ifdef's for FreeBSD. we don't do this just for FreeBSD. while it is okay to claim that they should be stripped off on import, i believe you are missing the point. they are not gratuitous. >rune_t/_rune_t

Re: I18N Progress, Plans, and Proposals

2000-10-22 Thread Jeroen Ruigrok van der Werven
-On [20001022 10:55], [EMAIL PROTECTED] ([EMAIL PROTECTED]) wrote: > >>I seriously advice against directly importing the Citrus code. >>It is very good work and a lot will be borrowed, but on my latest >>investigations it also made a lot of unnecessary and gratuitous changes.

Re: -current hangs during boot

2000-10-22 Thread Donny Lee
Leif Neland wrote: > > I've done a very recent week's make world(S) on -current, making > > and installing world and kernel go fine, but all hang on boot, > > with no error codes or msgs. > Solution: Due to changes in the random/entropy stuff, you have to reboot > the machine with "shutdown -r

Re: I18N Progress, Plans, and Proposals

2000-10-22 Thread itojun
>I seriously advice against directly importing the Citrus code. >It is very good work and a lot will be borrowed, but on my latest >investigations it also made a lot of unnecessary and gratuitous changes. which part looks gratuitous? could you be more specific? itojun To Unsubscribe:

Re: I18N Progress, Plans, and Proposals

2000-10-22 Thread Jeroen Ruigrok van der Werven
-On [20001019 22:15], Jun-ichiro itojun Hagino ([EMAIL PROTECTED]) wrote: >>3. Itojun mentioned that the CITRUS Japanese people will be able >> to import the wchar* and libxpg4 changes soon. > > the code is there, but as i talked, we need more manpower for > babysitting. > cvs

Re: newfs/fsck problem (bad superblocks)

2000-10-22 Thread Dmitry Valdov
Hi! I've seen the same problem. And I've lost all content of my second hd. After newfs fsck can't check fs with the same diagnostic. Dmitry. On Sat, 21 Oct 2000, John W. De Boskey wrote: > Date: Sat, 21 Oct 2000 21:16:56 -0700 > From: "John W. De Boskey" <[EMAIL PROTECTED]> > To: [EMAIL PROT

Re: -current hangs during boot

2000-10-22 Thread Leif Neland
On Sun, 22 Oct 2000, Donny Lee wrote: > > Hi there, > > I've done a very recent week's make world(S) on -current, making > and installing world and kernel go fine, but all hang on boot, > with no error codes or msgs. > Solution: Due to changes in the random/entropy stuff, you have to reb

Re: -current hangs during boot

2000-10-22 Thread Makoto MATSUSHITA
leifn> My hangs at loading ldconf. I can continue with ^C. Are you using MFS ? I suppose you are not. I've found that: - if /etc/fstab has 'mfs' line, system stops during mounting filesystem. Interrupting with CTRL-C works (and system goes to single user mode). - if /etc/fstab does not ha

Re: newfs/fsck problem (bad superblocks)

2000-10-22 Thread Tor . Egge
> Reverting src/sbin/newfs/mkfs.c to revision 1.29 fixes > the problem. > > With just a quick review of the patch, I'm not sure I > understand what forces the last dirty buffer to be > written. > > revert the patch? try to fix it? comments? Try the enclosed patch. It flushes the dirty buffer b

Re: -current hangs during boot

2000-10-22 Thread Donny Lee
John W. De Boskey noticed me some points to check out, I now can boot my fbsd box with the recent built kernel. I disabled mfs, and random_load, these 2 made my fbsd box hangs (not really hangs, it looks like waiting for some jobs done) 2 times at boot. with the mfs enable, it hangs

Re: -current hangs during boot

2000-10-22 Thread Leif Neland
On Sun, 22 Oct 2000, Donny Lee wrote: > > Hi there, > > I've done a very recent week's make world(S) on -current, making > and installing world and kernel go fine, but all hang on boot, > with no error codes or msgs. > > When boot, all go fine at the beginning, and stop right after > s