jail network problems

2000-10-29 Thread Stefan Aeschbacher
Hi I am running 4.1-stable updated ca 22.10.00. I set up a jail, started it but I have no network at all. I made an alias for the used IP address, I ran /etc/rc with the following output: Skipping disk checks ... dmesg: short read dmesg: kvm_read: Doing initial network setup:. Additional routing

Re: Filesystem holes

2000-10-29 Thread Wes Peters
Luigi Rizzo wrote: > > Hi, > > how about using an indirect table of 64M 32-bit pointers into > the actual blocks being used ? For insertions you just > allocate a new fixed size block from the file. Isn't this roughly what dbm does with the hash key method? -- "Where am I, and wha

re: Re: Need dotfiles for various L10N groups

2000-10-29 Thread chromexa
> ** Original Subject: Re: Need dotfiles for various L10N groups > ** Original Sender: Olexander Kunytsa <[EMAIL PROTECTED]> > ** Original Date: Sat, 28 Oct 2000 19:29:01 -0400 > ** Original Message follows... > > On Sun, 29 Oct 2000, Nik Clayton wrote: > > > I am trying to collect various d

Signal 11 when compiling app with LinuxThreads

2000-10-29 Thread Nicolai Petri
I think I've configured and compiled the application (latest ntop) correct but it crashes hard on the following way. (see bottom) There's no problem when compiled without thread support. Another issue is if I should use linuxthreads or not.. What's the difference in lthread and pthread in short

Re: Filesystem holes

2000-10-29 Thread Matt Dillon
:> Hi all... :> :> One the tasks that I have undertaken lately is to improve the efficiency :> of a couple of storage facilities we use internally, here. Basically, :> they are moderate-size tables currently implemented in SQL, which is OK in :> terms of performance, but the hash function is bre

ulpt is broken.

2000-10-29 Thread Vadim Belman
I've tried to use uplt instead of lpt and got a kernel panic. From kernel stack trace I found that it happens due to a wrong pointer to dev structure being passed to usbd_do_request_flags. I've made a PR for the problem (despite its number is'n known to me yet) but would like to duplicate it here

PPP patch (CHAP81 + MPPE)

2000-10-29 Thread Ustimenko Semen
Hi! Here is a patch attached (made from current from 2813). Patch makes ppp able to respond and initiate MS-CHAP-v2 authentication and supports MPPE encryption protocol. With all these ppp can participate in MS VPN. Please look at this, and tell me what you think? Bye! ppp-mppe-patch.gz

disklabel madness, make it boot...

2000-10-29 Thread David Preece
It should be easy. I'm trying to get a 24Mb CF card to be a bootable drive from 4.0. I have it wired on the primary IDE as a slave drive, it is therefore ad1 and the following almost works: fdisk -I ad1 #take the whole MSDOS partition table dd if=/dev/zero of=/dev/rad1 bs=1k count=1 #Wipe the e

Re: Filesystem holes

2000-10-29 Thread Matt Dillon
:> :> storage is rather inefficient for our table of about 2,850,000 members :> :> (~2.1 GB total storage). There are 64M possible hash values in our :> :> current implementation, and our record size is variable, but could be :> :> safely fixed at about 1.5KB... So, total storage if all values we

Re: PPP patch (CHAP81 + MPPE)

2000-10-29 Thread Brian Somers
Hi, Thanks for the patches. I've committed the changes although I'm having problems with MPPE. I suspect the problems are actually in the CCP stuff though - and I've suspected this for some time, something to do with running ppp back-to-back (and not over a tty). I'll look into this soon.

Re: Filesystem holes

2000-10-29 Thread Ryan Thompson
Matt Dillon wrote to Ryan Thompson: > :> :> storage is rather inefficient for our table of about 2,850,000 members > :> :> (~2.1 GB total storage). There are 64M possible hash values in our > :> :> current implementation, and our record size is variable, but could be > :> :> safely fixed at abou

Re: Filesystem holes

2000-10-29 Thread Ryan Thompson
Ryan Thompson wrote to Matt Dillon: > Matt Dillon wrote to Ryan Thompson: > > > :> :> storage is rather inefficient for our table of about 2,850,000 members > > :> :> (~2.1 GB total storage). There are 64M possible hash values in our > > :> :> current implementation, and our record size is vari

Re: Filesystem holes

2000-10-29 Thread Matt Dillon
:Hi, Matt! Thanks for the replies. I'll try and keep you interested ;-) : :Hmm... Perhaps you're still missing my original point? I'm talking about :a file with 96GB in addressable bytes (well, probably a bunch of files, :given logical filesize limitations, but let's say for simplicity's sake :

DMA/66 not available for secondary IDE bus?

2000-10-29 Thread Brian McGovern
This may be intentional, but I've noticed that if you have a non-UDMA66 device on the primary IDE bus, FreeBSD 4.x does not allow you to have UDMA66 on the secondary bus. To wit, if you had a configuration similar to: Primary bus Older (UDMA33 or earlier) IDE boot disk CD ROM Secondary bus 15G

Logging users out

2000-10-29 Thread andrew
Hi, What is the best way to go about logging a user out given their tty? I had a couple of ideas: (a) open their tty and set the baud rate to 0 (b) use tcgetpgrp to get the process group id of the foreground process group on that tty, then with that info use libkvm to find the session leader's

Re: Filesystem holes

2000-10-29 Thread David Preece
At 19:16 29/10/00 -0800, you wrote: > Ahh.. yes, I know. I'm a filesystem expert :-) However, that said, I > will tell you quite frankly that virtually *nobody* depends on holes > for efficient storage. There are only a few problems where it's > practical some forms of exec

Re: Filesystem holes

2000-10-29 Thread Leif Neland
> Hmm... Perhaps you're still missing my original point? I'm talking about > a file with 96GB in addressable bytes (well, probably a bunch of files, > given logical filesize limitations, but let's say for simplicity's sake > that we have a single file). It's actual "size" (in terms of allocated

Re: Filesystem holes

2000-10-29 Thread Ryan Thompson
Matt Dillon wrote to Ryan Thompson: > :Hi, Matt! Thanks for the replies. I'll try and keep you interested ;-) > : > :Hmm... Perhaps you're still missing my original point? I'm talking about > :a file with 96GB in addressable bytes (well, probably a bunch of files, > :given logical filesize lim

Kernel tutorials

2000-10-29 Thread qianfeng
Hi,everybody, I am a newbie to the FreeBSD, so I just wander where can I find some kernel tutorials on the internet. Thanks for your help! Qian Feng To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: Filesystem holes

2000-10-29 Thread Matt Dillon
:> :What will happen, if somebody (possibly you, as mahordomo says), tries to :make a backup of that file. That will depend on the backup program. dump/restore can handle holes just fine. tar can handle them in a 'fake' way, and you have to tell it. Programs like 'cp' cannot handle

Re: Filesystem holes

2000-10-29 Thread Matt Dillon
: :Presumably writing into these holes repeatedly is a none-too-efficient :affair (requiring moving all the stuff on either side), or am I missing the :point slightly? : :Dave :) It isn't quite that bad, but it isn't a walk in the park either. Since data blocks are referenced from a blo

Re: DMA/66 not available for secondary IDE bus?

2000-10-29 Thread Soren Schmidt
It seems Brian McGovern wrote: > This may be intentional, but I've noticed that if you have a non-UDMA66 device > on the primary IDE bus, FreeBSD 4.x does not allow you to have UDMA66 on > the secondary bus. Say what ? there is NO such limitation in the ATA driver What chipset are we talking

Re: Kernel tutorials

2000-10-29 Thread Alfred Perlstein
* qianfeng <[EMAIL PROTECTED]> [001029 23:18] wrote: > Hi,everybody, > I am a newbie to the FreeBSD, so I just wander where can I find > some kernel tutorials on the internet. > Thanks for your help! Try browsing the mailing lists and searching the committer's websites (http://people.freebs

Re: Filesystem holes

2000-10-29 Thread Ryan Thompson
Leif Neland wrote to Ryan Thompson and Matt Dillon: > > What will happen, if somebody (possibly you, as mahordomo says), tries to > make a backup of that file. Make sure to use a program that can cope ;-) > Will the copy also be with holes, or would that file suddenly use all 96GB? > It will

Re: Filesystem holes

2000-10-29 Thread Matt Dillon
:Yes, there's a high probability of that. It's one of the reasons :why people typically use the feature, at least not for 'permanent' :data sets. Ahhh... of course I meant 'typically do not use the feature'. Heh. -Matt To Unsubscribe:

Re: Really odd "BTX halted" problem booting FreeBSD on VALinuxhardware

2000-10-29 Thread sthaug
> I know I'm getting into this late but I can reliably reproduce this > problem. I ran into it about 3 months ago when using a custom PXE-based > installer for our SCSI boxes. I even annoyed -hackes and got John Baldwin > to help me decode the register dumps. The IP does end up in the SCSI BIOS

Re: Really odd "BTX halted" problem booting FreeBSD on VALinuxhardware

2000-10-29 Thread Doug White
On Fri, 27 Oct 2000, Paul Saab wrote: > Mike Smith ([EMAIL PROTECTED]) wrote: > > > > > > :I'm just curious. How many disks are in this box? We saw something > > > :similar here at work and it turned out that there were multiple disklabels > > > :on the other disks and for somereason it was co

Re: Really odd "BTX halted" problem booting FreeBSD on VALinux

2000-10-29 Thread Daniel O'Connor
On 27-Oct-00 Robert Nordier wrote: > > around the broken bioses I use. I just might start using program posted > > in this thread that lets you do labels right in lieu of anything else, or > > perhaps I'll fix disklabel to work right as was suggeseted elsewhere. > Don't sysinstall work in a sc

Re: Filesystem holes

2000-10-29 Thread Ryan Thompson
Matt Dillon wrote to Ryan Thompson and [EMAIL PROTECTED]: > :> Hi all... > :> > :> One the tasks that I have undertaken lately is to improve the efficiency > :> of a couple of storage facilities we use internally, here. Basically, > :> they are moderate-size tables currently implemented in SQL,