Finding symlink information in MAC Framework

2011-07-15 Thread s
Hello everyone, I am trying to get some information related to the symlink which is being accessed by the user in MAC Framework. Currently I managed to get the uid/gid of the owner of the symlink that is being read, but now I need to get the same information about the target, that the symlink

Re: Finding symlink information in MAC Framework

2011-07-26 Thread s
On Mon, 25 Jul 2011 10:42:53 +0100 (BST), Robert Watson wrote: On Fri, 15 Jul 2011, s wrote: I am trying to get some information related to the symlink which is being accessed by the user in MAC Framework. Currently I managed to get the uid/gid of the owner of the symlink that is being read

Re: Finding symlink information in MAC Framework

2011-07-26 Thread s
On Mon, 25 Jul 2011 10:42:53 +0100 (BST), Robert Watson wrote: On Fri, 15 Jul 2011, s wrote: I am trying to get some information related to the symlink which is being accessed by the user in MAC Framework. Currently I managed to get the uid/gid of the owner of the symlink that is being read

MAC Framework, Socket information

2011-07-28 Thread s
Hi, I need to get some info about the socket being created by the user. What I want to do is log all TCP/UDP outgoing connections that are being made. I *need* to get the local and remote address, as well as the local and remote port. I managed to get all of the remote data, but this is usele

MAC Framework, retreiving information from sysctl

2011-10-07 Thread s
Hi, Once again I would like to ask some question about kernel module programming using the MAC framework - but this time it may not be strictly related to MAC. So, I have made a simple security module (which I will publish as soon as I'll finish it), and now I'd like to have some nice tool t

IICBUS_READ

2001-09-05 Thread s
I've look at /sys/dev/iicbus/iiconf.c: > int > iicbus_read(device_t bus, char *buf, int len, int *read, int last, int delay) > { > struct iicbus_softc *sc = (struct iicbus_softc *)device_get_softc(bus); > > /* a slave must have been started with the appropriate address */ >

BWN State with BCM4321

2011-03-17 Thread Domagoj S.
I need an insight, regarding my wifi card: I've found this on maillist freebsd-current: http://lists.freebsd.org/pipermail/freebsd-current/2010-January/014782.html Which motivated me, to directly mail, writer of driver. ME: Hello, How long until bwn(4) will work with: Broadcom 432AGN WiFi

Re: Custom USB layout & sysinstall (Starting FIXIT)

2010-05-27 Thread Domagoj S.
t works now). > > - -- >Ken Smith I think it would be, as it would just look in a extended way for devices. Thus, covering old ones and satisfying my needs/aims Domagoj S. ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"

Re: loader prompt: list / on other device

2010-06-23 Thread Domagoj S.
2010/6/23 Eugene Grosbein : > On 23.06.2010 23:03, rank1see...@gmail.com wrote: >> I've escaped to loader prompt: >> Current device is disk0s3a, from which this loader is running. >> >> My USB stick is device1 and device1s2a is UFS /, on which I would like to >> reach some file or simply list direc

ls, mount point aware

2010-07-30 Thread Domagoj S.
As I can see, more and more base apps, are aware of mount points. I.e; In 8.1, chgrp(1), chown(8) and cp(1) now have an -x flag. And what about human users? 'ls' command, should in it's long list of directories, show something like: Hey, this directory, is also a mount point. One letter flag? __

Re: intel i5 - core? or core2?

2010-08-21 Thread Domagoj S.
8.1 RELEASE 32bit # gcc --version gcc (GCC) 4.2.1 20070719 [FreeBSD] As per: http://gcc.gnu.org/gcc-4.2/changes.html core2 is supported Setting CPUTYPE(for i386) to: "nocona", "core" or "core2", will at the end, ALWAYS set CPUTYPE to: "prescott", which again results in set: MACHINE_CPU = ss

Re: intel i5 - core? or core2?

2010-08-23 Thread Domagoj S.
On Sat, Aug 21, 2010 at 6:25 PM, Anonymous wrote: > "Domagoj S." writes: > >> 8.1 RELEASE  32bit >> >> # gcc --version >> gcc (GCC) 4.2.1 20070719  [FreeBSD] >> >> As per:  http://gcc.gnu.org/gcc-4.2/changes.html >> core2 is supported >

Re: 4.3-RC bug in /usr/bin/netstat

2001-03-28 Thread Evan S
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Perhaps this problem is specific to your system setup. I also run 4.3-RC, and my netstat -ia appears to work fine. [teqnix](~)%uname -a FreeBSD teqnix.sekt7.org 4.3-RC FreeBSD 4.3-RC #32: Mon Mar 26 06:28:30 GMT 2001 [EMAIL PROTECTED]:/usr/src/sy

nfsd hangs in ``inode'' state

2001-04-11 Thread S. Natori
eeBSD. Do you have any idea to solve or circumvent this problem? Any suggestions would be appreciated. Many thanks in advance, S. Natori +- |More detailed information about the NFS

question on kvm_getprocs

2001-04-13 Thread Evan S
mp;kinfo[i])->ki_p = proc_list; if (KI_PROC(&kinfo[i])->p_prison) { printf("Jailed Process\n"); pri

syscall list

2005-01-31 Thread H. S.
Hi, I don't remember how to extract the syscall list from the kernel. There was an article some time ago about this, and checking the syscall address to make sure it was not changed in the kernel. Could anyone point me to this article? I've tried to google around but didn't find it. Best Regards

Re: Idea about 'skeleton jail' -- desirable jail features

2005-02-01 Thread H. S.
In my opinion, FreeBSD is currently behind in virtual server implementations for a few reasons; It does not support multiple IPs in jails. Sure, there are patches, but the one here doesn't compile on 5.3-STABLE, for example. Support integrated into the base system would be neat. It would also be n

basic programming questions

2005-03-10 Thread H. S.
Hey, Sorry if this is a little offtopic, but I need some basic help with C. I'm not a programmer, but I need to get something done in C for a project. I need to do a console application, and as I've got some free time, I'd like to add bold sentences and characters with other colors (ie blue, red,

RE: basic programming questions

2005-03-10 Thread H. S.
D] > Sent: Thursday, March 10, 2005 9:59 AM > To: H. S. > Cc: freebsd-hackers@freebsd.org > Subject: Re: basic programming questions > > > On Thu, 10 Mar 2005, H. S. wrote: > >> Hey, >> >> Sorry if this is a little offtopic, but I need some basic help

Re: basic programming questions

2005-03-11 Thread H. S.
it's not working. I've also tried getchar() but it didn't work either (or I did it in a wrong way).. I'm missing something obvious here! What should I do to correct this? And is my buffer-not-empty-so-scanf-gets-a-waiting-character theory correct ? Your curses program and the l

IP packets from host system showing inside a jail?

2005-03-12 Thread H. S.
Hey, I've noticed something odd.. I'm using FreeBSD 5.3-STABLE with PF, on a dual xeon 2.4 system. I have two jails running for web and mail servers. Today I was testing something and needed a tcpdump, so inside a jail I started tcpdump as root. To my amazement, IP packets from the host system (I

passwd & permissions

2005-03-20 Thread H. S.
Hey, I'm using FreeBSD on various servers for many time now, and there is something that always bothered me. It is related to /etc/passwd and /etc/pwd.db permissions. I have custom (0640) permissions on these files. However, each time a user changes his/her password, the system will reset the pas

Re: passwd & permissions

2005-03-20 Thread H. S.
ve said in my previous mail, changing the mtree/ files to reflect my desired permissions sounded logical, but either I failed some step or it isn't the way to go. > On Sun, Mar 20, 2005 at 01:26:57PM -0600, H. S. wrote: >> I'm using FreeBSD on various servers for many time now, a

Re: passwd & permissions

2005-03-23 Thread H. S.
> On Sun, Mar 20, 2005 at 01:26:57PM -0600, H. S. typed: >> Hey, >> >> I'm using FreeBSD on various servers for many time now, and there is >> something that always bothered me. It is related to /etc/passwd and >> /etc/pwd.db permissions. >> >&g

A few thoughts..

2005-03-29 Thread H. S.
se utilities. Please consider the following example: [EMAIL PROTECTED]:/home/UNAME/] sftp [EMAIL PROTECTED] Connecting to 192.168.0.254... -- lan gateway -- [EMAIL PROTECTED]'s password: sftp> put /sbin/dmesg dmesg 100% 5392 122.4KB/s 00:00

Re: A few thoughts..

2005-03-29 Thread H. S.
> On Tue, 29 Mar 2005 13:19:06 -0600 (CST) > "H. S." <[EMAIL PROTECTED]> wrote: > > >> [EMAIL PROTECTED]:/home/USERNAME]$ ./dmesg >> Copyright (c) 1992-2004 The FreeBSD Project. >> Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993,

Re: A few thoughts..

2005-03-29 Thread H. S.
> On Tue, Mar 29, 2005 at 03:12:25PM -0600, H. S. wrote: >> This could be compared to what was done in FreeBSD lately, I remember in >> 4.7 (and probably later, up to 4.10 I think) a user could see the full >> connection lists (even connections from other u

Re: A few thoughts..

2005-03-30 Thread H. S.
he system a bit to return errors if some information is accessed by a normal user. I'd like to know if getuid() would work that deep in the system? And how can I register sysctl mibs in the kernel ? For example, say I wanted to create a kern.disclosure.no_dmesg ; Assuming I could find the p

Re: A few thoughts..

2005-03-30 Thread H. S.
> On Wed, 2005-Mar-30 11:06:53 -0600, H. S. wrote: >>As I stated previously, I'm not much of a C programmer, but I can do some >>coding. I've been thinking into changing the core of the system a bit to >>return errors if some information is accessed by a normal user

Re: A few thoughts..

2005-03-31 Thread H. S.
> On Tue, 29 Mar 2005, H. S. wrote: > >> My "USERNAME" account doesn't have access to /sbin/dmesg, but I uploaded >> a /sbin/dmesg from a 5.2.1-RELEASE to a 5.3-STABLE box, and then I could >> have access to this system information. The same goes for systat ,

imminent disk failure ?

2005-04-14 Thread H. S.
Hi gang, I have a server running 4.X for almost two years now, without problems - rock solid as it should be - yesterday the server became unresponsive, now that I have access again, and while checking the logs, I found this as the last message before the unresponsiveness: /kernel: ad0: READ comm

Advanced OS Questions only you can answer...

2000-08-22 Thread bliss-s
I am stuck between a rock and a hard place. I've been to your website, I've logged in under deja.news and posted questions, I've emailed several people, and my Dad even called the BSD 800 number for me and paid a fee to find out that all my questions are too advanced for their services. The repr

Reg: Adaptec AIC-7892 on board SCSI controller ..

2001-01-10 Thread S Chandrasekaran
86, DID=2411 PCI_IDE: not 100% native mode: will probe irqs later ide0: BM-DMA at 0xffa0-0xffa7, BIOS settings: hda:pio, hdb:pio ide1: BM-DMA at 0xffa8-0xffaf, BIOS settings: hdc:DMA, hdd:pio hdc: FX4820T, ATAPI CDROM drive ide1 at 0x170-0x177,0x376 on irq 15 hdc: ATAPI 48X CD-ROM drive, 128

Re: Reg: Adaptec AIC-7892 on board SCSI controller ..

2001-01-10 Thread S Chandrasekaran
On Wed, Jan 10, 2001 at 10:21:59PM -0700, Justin T. Gibbs wrote: > > I bought 3.3 CD's from Walnut Creek and use BSD at home, but that > >has a IDE disk. This is my first attempt at installing one with SCSI. > >Upgrading to 4.x is not an option. > > FreeBSD 3.3 does not include support for t

Re: Mergemaster+RCS

2004-01-16 Thread S . Yamagishi
$B1)?6$j$NNI$/$J$C$?$+$D$F$NIt2<$KD$r5-$7$?%O%k$N2s8\O?Iw$K(B $B$O!"(B"$B#1#0!s$N9XF~A}(B"$B!"(B"$BM}2r$r5a$a$k(B"$B$O;~4V2T$.$G!"2?$+$r1#$7$F$$$k>Z5r$H(B $B2rl$ON?$2$k$H;W$C$F$$$k!"A10U$KK~$A$?(B $B$O$$$k$,7hDj8"$NA4$/$J$$7/$_$?

Local APIC on FreeBSD/i386

2004-02-23 Thread Ralph S.
Hi, I've been using FreeBSD for some time but I've never found a way to enable the local APIC on my system (UP, Intel P3/450 (Katmai)). What I'd like to know is whether there is a reason for the APIC not to be used on UP systems (like Linux does, for example) or if not, what I would need to do to

Re: Local APIC on FreeBSD/i386

2004-02-25 Thread Ralph S.
Hmm.. I'm running FreeBSD-current (as of Feb 12, 04) and it does implement 'device apic' for UP systems... but onyl if the APIC has been enabled by the BIOS. (Maybe I'm just doing something wrong there, though. However, Intel's Katmai CPUs have an APIC built in, I'm sure of that.) I have tried to

Re: cable modem connection problem

2001-12-06 Thread S. Aeschbacher
Hi I experienced similar problems here in Switzerland. It happend with FreeBSD as well as with OpenBSD routers. A solution I found is deleting the arp table entry of the default router of the cable modem provider (as a cron job). I did not investigate the source of the problem. Anyone got any clue

Re: cable modem connection problem

2001-12-07 Thread S. Aeschbacher
Hi crontab -e as root and then, insert the following line: */10 * * * * /usr/sbin/arp -d IP.OF.DEF.GW or the brutal version which deletes the entire arp-cache */10 * * * * /usr/sbin/arp -da Stefan Mike D wrote: > > Stefan, > > could you (if it's not too much hassle) mail me the details of s

Re: cable modem connection problem

2001-12-09 Thread S. Aeschbacher
Hal Snyder wrote: > [snip] > Sounds as if the MAC of the upstream provider occasionally changes. > Don't know enough about cable to understand it better, and problem is > gone now so can't check for sure. As far as my cases are concerned, the MAC address does not change. When the arp entry is del

Re: cable modem connection problem

2001-12-10 Thread S. Aeschbacher
Hi [snip] > Actually, it sounds like your provider actively mucks with the link > after a certain time - are these "residential" pipes? If so, they may do This is possible, but I did not verify it (what kind of "mucking" could cause such kind of behaviour?). most of them are "better" residental pi

Re: cable modem connection problem

2001-12-11 Thread S. Aeschbacher
Lars Eggert wrote: > > S. Aeschbacher wrote: > > This is possible, but I did not verify it (what kind of "mucking" > > could cause such kind of behaviour?). most of them are "better" > > residental pipes. > > Having a packet filter drop y

Re: cable modem connection problem

2001-12-11 Thread S. Aeschbacher
Hiten Pandya wrote: > > >what kind of "mucking" could cause such kind of > >behaviour?. > > this kind of problem did occur to me several times > with NTL (http://ntl.com/) in UK... > > there were installing a Universal Shared Bandwith > Router in their CO (Central Office), after they > installe

jiffy.

2003-03-30 Thread Evan S.
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello, I'm wondering if FreeBSD-current has anything similar to Linux jiffies? Thanks, Evan :-) -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+h1pYECYZSrUV88QRAo9DAKDm6D40Z7/tYuseLzrKcQg669ic7gCgzxGS yyVDuJQlOWiMCWfWrKZEMNw=

Re: jiffy.

2003-03-31 Thread Evan S.
ing jiffies. For example, process 1's deadline is when jiffies=10 and so on. I just discovered the global variable 'ticks' which seems to suit my needs, is this correct? - - Evan -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+iLMiECYZSrUV88QRAl3gAJ4uk5Ep7QR2

Re: Changing the NAT IP on demand?

2003-10-07 Thread S . Yamagishi
$BEl$5$s$N%Q%9%o!<%I$O0c$$$^$9!#7/$,=q$$$?$N$O(BFileserver$B$N$G$9!#(B (B $B$D$+$l$?$d(B (BTel.:090-2439-5219 (BFax :0423-64-6293 (B___ (B[EMAIL PROTECTED] mailing list (Bhttp://lists.freebsd.org/mailman/listinfo/freebsd-hackers (

Radui card with FM tuner PV-BT878P +FM

2002-10-17 Thread Mantas S.
Hi averybody, I got %subj% but I cannot find support fot this on FreeBSD. Yes, Linux have this, but maybe anyone had such card or smth. Thanks Mantas S. http://mantas.lt ICQ UIN 31072511 To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the b

Recurring "rescan already queued" message

2012-02-28 Thread Dmitry S. Kasterin
Hello! I am trying to install 9.0-RELEASE from standard amd64 memstick image. During the install huge amount of "rescan already queued" messages breaks installer interface. (noperiph:ata1:0:-1:-1): rescan already queued (noperiph:ata1:0:-1:-1): rescan already queued (noperiph:ata1:0:-1:-1): resca

Re: Recurring "rescan already queued" message

2012-02-28 Thread Dmitry S. Kasterin
Hi Sean! 2012/2/28, Sean Bruno : > I had the same issue on my laptop with an eSATA port. I disabled the > eSATA port and that made the messages go away. According to mav@ these > were harmless, but annoying. The problem is that my laptop has no eSATA port. I've thoroughly examined the case and

Re: Recurring "rescan already queued" message

2012-03-01 Thread Dmitry S. Kasterin
> I had the same issue on my laptop with an eSATA port. I disabled the > eSATA port and that made the messages go away. According to mav@ these > were harmless, but annoying. I've found the topic here: http://forums.pcbsd.org/showthread.php?t=16055 The problem has been solved by setting "hint.a

download quota of 200MB per voucher

2012-12-12 Thread Prabhpal S. Mavi
Dear Friends, i have a question for you, i am sure someone can help. The pfsense captive portal is up and running. Time countdown vouchers are working without issue, such as 30m, 45m, 1h & so on. However, I'd like to set up a download quota of 200MB per voucher. but then you need to login with a

Captive Portal & FreeRadius to use MySQL

2012-12-12 Thread Prabhpal S. Mavi
Dear Users, i want Captive Portal & FreeRadius to use MySQL for authentication but am not sure how to install MySQL on PfSense Box. Can anyone advice how do we do when using MySQL with FreeRadius PfSense? Thanks ___ freebsd-hackers@freebsd.org ma

RE: One method to recover a lost root password

2007-03-16 Thread David S. Madole
> From Derekj Tourneo on Friday, March 16, 2007 4:46 PM > > How I recovered a lost root password in FreeBSD > > Luckily I did know one user name and it had no password. > cgadmin > > going to the repair mode with CDROM/DVD option off the > install menu, using the "live" CDROM filesystem gave

RE: Why can't I sendto() to 127.255.255.255

2007-04-30 Thread David S. Madole
> From: Abraham K. Mathen on Monday, April 30, 2007 5:54 AM > > I wrote a short program (on FreeBSD 6.0), that attempts > to call sendto() on a UDP socket, with 127.255.255.255 as > the destination address. It failed - with errno 49 (EADDRNOTAVAIL). > Setting SO_BROADCAST and IP_ONESBCAST did not

FreeBSD UFS/ZFS Snapshot Management Environment (20071111.1)

2007-11-11 Thread Ralf S. Engelschall
ing the details under # http://people.freebsd.org/~rse/snapshot/ $ [...] # deinstallation and cleanup $ cd /tmp/freebsd-snapshot-2007.1 $ make uninstall $ cd .. $ rm -rf freebsd-snapshot-2007.1* Happy snapshooting... ;-) -- [EMAIL PROTECTED]

Re: Replace/rewrite reverse.c for tail(1)

1999-07-29 Thread John S. Dyson
Charles Randall said: > > Out of 128M of ram, it's swapped nearly everything else out to keep 85M of > this 400M file in ram, even though it will never touch it again. :) > > I see two possible fixes for this. One could be madvise'ing periodically > with MADV_DONTNEED. If I understand correctly,

bootloader....

1999-07-30 Thread Nielsen, Roy S
I'm looking at booting(embedded devices) and I've been looking at lilo boot loader code and booteasy bootloader code... does anyone know of any documentation that anyone out there has done on this topic? -- more specifically without bios calls/support? I've seen the booteasy code at: ftp://ftp.f

Re: mmap mapped segment length

1999-08-21 Thread John S. Dyson
Don Lewis said: > On Aug 21, 2:10am, Wes Peters wrote: > } Subject: mmap mapped segment length > } I discovered to my dismay today that the length field in the mmap call is > } a size_t, not an off_t. I was attempting to process a large (~50 MByte) > file > } and found I was only processing the

Re: Possible race in pipe device driver, esp on multi-cpu machines.

1999-05-29 Thread John S. Dyson
Matthew Dillon said: > > We are attempting to reproduce the problem with a smaller dataset, but > if anyone is hot on the pipe code in the kernel and can give it a > once-over > we may be able to find the bug more quickly. > After a quick code inspection (and I really don't remember

Re: Possible race in pipe device driver, esp on multi-cpu machines.

1999-05-31 Thread John S. Dyson
Matthew Dillon said: > > Alan and I are working on it. We are testing a fix for pipe_read() now > and I'm working on one for pipe_write(). The fixes basically involve > holding the pipe's lock throughout all calculations and I/O ops except > when the code needs to explicitly tsl

Re: Matt's Commit status (was Re: 3.2-stable, panic #12)

1999-06-03 Thread John S. Dyson
Nate Williams said: > > Case in point, John Dyson's comments explanation to the mailing list for > many of his design decisions explained to even an uninformed person like > me that some of the changes you've made were penalizing FreeBSD, not > helping it in some cases. > BTW, my frustration was

Re: 3.2-stable, panic #12

1999-06-03 Thread John S. Dyson
Amancio Hasty said: > > Silly me , I was wondering what happen to you . I vote that your commit > priviliges should not be taken away by the "Dark Side" of core and > should be re-instated. > It wasn't the "dark side" of core, it was the panic'ed and worried part of core that was seeing things hap

Re: 3.2-stable, panic #12

1999-06-03 Thread John S. Dyson
> > It wasn't the "dark side" of core, it was the panic'ed and worried > > part of core that was seeing things happening without careful review. > > The system was becoming unstable due to Matts changes. Whether the > instabilities were in Matts code or somewhere else is irrelevent. > The reac

Re: 3.2-stable, panic #12

1999-06-03 Thread John S. Dyson
> On Fri, 4 Jun 1999, Brian Somers wrote: > > > The system was becoming unstable due to Matts changes. Whether the > > instabilities were in Matts code or somewhere else is irrelevent. > > The reaction was (IMHO) the right thing to do. > > I think where the problem lied is very relevent. > >

Re: 3.2-stable, panic #12

1999-06-03 Thread John S. Dyson
> > And this nonsense in another email about things being untested is also > complete bull. I had a machine dedicated to running test kernels 24 hours > a day. I still do. > Testing on local machines isn't generally sufficient, due to the need for running diverse applications in vari

Re: 3.2-stable, panic #12

1999-06-03 Thread John S. Dyson
> > Some sort of arrangement/understanding/procedure/whatever would need to be > worked out to make sure that everybody involved understands everybody's > angle so that we don't repeat it all over again. Maybe some of the > groundwork can be done at usenix next week, but not all everybody will be

Re: 3.2-stable, panic #12

1999-06-03 Thread John S. Dyson
> >> IMO, revokation of commit privs has given enough time to support > >> the learning curve and enforce a review process. > > > >I've been following this conversation with growing concern. It seems > >to me there is a fairly simple solution to this problem: create a > >branch for the ongoing VM

Re: 3.2-stable, panic #12

1999-06-04 Thread John S. Dyson
> > I'm sure that the fact that -release ended up with such obvious > > instabilities was out of your control (IMHO RELENG_3 shouldn't have > > been dubbed -stable 'till 3.2 was tagged), but I'd bet that this did > > Just a side comment on this - there was tremendous flammage that the > RELENG_

Re: 3.2-stable, panic #12

1999-06-04 Thread John S. Dyson
> > The problem was not that the original programmers were being ignored. > It's that the original programmers found it difficult to express to a > newcommer, the subtleties of what they had internalised years before. > > Both sides showed remarkable lack of patience.. Matt was in a hurry and > J

Re: 3.2-stable, panic #12

1999-06-05 Thread John S. Dyson
Matthew Jacob said: > > In terms of design reviews and architecture *before* the commit, well, if > you want to go that route I can assure you it's a major amount of work. It > will bring FreeBSD into "adult" development- no large scale project with > > 50 engineers really succeeds long term witho

Re: Matt's Commit status (was Re: 3.2-stable, panic #12)

1999-06-05 Thread John S. Dyson
Matthew Dillon said: > > I don't want to be a pest, because this really shouldn't be on an > open forum. But John: I would ask you questions and the answers I > would get would be in the form: "Nobody understands that > code but me, don't touch what you don't understand", or "T

Re: Matt's Commit status (was Re: 3.2-stable, panic #12)

1999-06-05 Thread John S. Dyson
> On Sat, 5 Jun 1999 03:24:07 -0500 (EST) > > > The frustration that I was showing was a result of off the wall assertions > > being made, with few coherent questions. Your questions are often > > analogous to someone saying that the VM code sucks, but will you help me > > with it, by teachi

Re: problem for the VM gurus

1999-06-06 Thread John S. Dyson
Arun Sharma said: > bread > ffs_read > ffs_getpages > vnode_pager_getpages > vm_fault > --- > slow_copyin > ffs_write > vn_write > dofilewrite > write > syscall > > getblk finds that the buffer is marked B_BUSY and sleeps on it. But I > can't figure out who marked it busy. > This looks l

Re: problem for the VM gurus

1999-06-07 Thread John S. Dyson
> > One of the problems that would make it sensible to do a complete rewrite > of vfs_bio.c is this? > Specifically for that reason, probably not. However, if the effort was taken as an entire and encompassing effort, with the understanding of what is really happening in the code regarding policy

Re: problem for the VM gurus

1999-06-07 Thread John S. Dyson
Brian Feldman said: > In the long-standing tradition of deadlocks, I present to you all a new one. > This one locks in getblk, and causes other processes to lock in inode. It's > easy to induce, but I have no idea how I'd go about fixing it myself > (being very new to that part of the kernel.) >

Re: problem for the VM gurus

1999-06-09 Thread John S. Dyson
Howard Goldstein said: > On Mon, 7 Jun 1999 18:38:51 -0400 (EDT), Brian Feldman > wrote: > : On Mon, 7 Jun 1999, Matthew Dillon wrote: > : > ... what version of the operating system? > : 4.0-CURRENT > > 3.2R too... > I just checked the source (CVS) tree, and something bad happend between

Re: problem for the VM gurus

1999-06-09 Thread John S. Dyson
> On Wed, 9 Jun 1999, John S. Dyson wrote: > > > Howard Goldstein said: > > > On Mon, 7 Jun 1999 18:38:51 -0400 (EDT), Brian Feldman > > > wrote: > > > : On Mon, 7 Jun 1999, Matthew Dillon wrote: > > > : > ... what version of the opera

Re: problem for the VM gurus

1999-06-09 Thread John S. Dyson
> John S. Dyson writes: > > Howard Goldstein said: > > > On Mon, 7 Jun 1999 18:38:51 -0400 (EDT), Brian Feldman > wrote: > > > : 4.0-CURRENT > > > > > > 3.2R too... > > > > > I just checked the source (CVS) tree, and some

Re: linux and freebsd kernels conceptually different?

1999-06-10 Thread John S. Dyson
Dag-Erling Smorgrav said: > Arun Sharma writes: > > I'd say most of the differences are in implementation and development > > methodology. Linux camp seems to be proud of breaking traditions and > > concepts invented after lengthy research. I haven't seen that many > > iconoclasts in my short enco

Re: Matt's Commit status (was Re: 3.2-stable, panic #12)

1999-06-10 Thread John S. Dyson
> > For what it's worth, and to throw another hat into the fray, it > seems to me that two things are driving the tension here: > > 1)Matt is effectively in a position where he no longer has > to work, and can now dedicate a significant amount of > focussed effort over long interv

Re: linux and freebsd kernels conceptually different?

1999-06-11 Thread John S. Dyson
Warner Losh said: > In message <199906102125.oaa28...@mag.ucsd.edu> Bill Huey writes: > : Yeah, that's problematic and short sighted on their part. It's certainly > : not a question of expertise from what I've seen since there are very > : competent technical folks with strong acedemic CS backgroun

Re: High syscall overhead?

1999-06-11 Thread William S. Duncanson
200MMX running RH 6.0 Linux: hindenburg /home/wduncan/src/tmp $ time ./sc 2.24user 5.09system 0:07.53elapsed 97%CPU (0avgtext+0avgdata 0maxresident)k 0inputs+0outputs (65major+8minor)pagefaults 0swaps -- William S. Duncansoncae...@starkreality.com Smash forehead on keybo

Re: High syscall overhead?

1999-06-12 Thread John S. Dyson
Soren Schmidt said: [Charset ISO-8859-1 unsupported, filtering to ASCII...] > It seems Christopher R. Bowman wrote: > [exelent explanation snipped] > > The alternative to the Giant Kernel Lock(tm) is so called fine grained > > locking > > wherein locking is pushed down closer to the data structure

Re: High syscall overhead?

1999-06-12 Thread John S. Dyson
Wes Peters said: > > Try a more meaningful benchmark, one that actually does something in > the kernel before returning, and see how they do. Try calling kill > or socket/close a few hundred thousand times and see how they do. > Historically, my emphasis on FreeBSD kernel work was to make it wor

Re: High syscall overhead?

1999-06-12 Thread John S. Dyson
> "John S. Dyson" writes: > > > Finegrained locking either requires developers with IQ's of 200 or higher, > > or a different kernel structure. I suggest that finegrained locking is > > cool, > > and can be intelligently used to mitigate (but n

Re: High syscall overhead?

1999-06-12 Thread John S. Dyson
> > > Think of it like this: since alot of desktops sit in idle loops much > > of the time, perhaps the Linux philosophy has been to improve such > > behavior :-). > > The Linux philosophy already has better performance and will also get > you much stronger TCP/IP user land copy performance unde

Re: problem for the VM gurus

1999-06-13 Thread John S. Dyson
> > * We hack a fix to deal with the mmap/write case. > > A permanent vnode locking fix is many months away because core > decided to ask Kirk to fix it, which was news to me at the time. > However, I agree with the idea of having Kirk fix VNode locking. > > But since

Re: Inactive vs. free Memory

1999-06-15 Thread John S. Dyson
Arun Sharma said: > "James E. Housley" writes: > > > Just for my infomation. What is the difference between "Inactive" and > > "Free" memory. Right now top says I have 157M Inact and 3260K Free. > > Inactive means the page contains valid data belonging to some file, > but is not mapped into an

Re: Anybody using the Efficient Networks ATM PCI adapter?

1999-06-25 Thread Soren S. Jorvang
On Fri, Jun 25, 1999 at 09:18:53AM +0200, Jesper Skriver wrote: > On Thu, Jun 24, 1999 at 06:39:07PM -0700, Jaye Mathisen wrote: > > > > I see it's supported, but I'm curious if anybody is using it. If so, I'd > > like to ask a few questions off-line of

Re: Improving the Unix API

1999-06-28 Thread David S. Miller
Date:Mon, 28 Jun 1999 06:12:44 -0400 (EDT) From: Alexander Viro 3) openpromfs - sparc only (?), AFAICS not actively maintained. Oh, it's maintained and used every day, believe me. Later, David S. Miller da...@redhat.com To Unsubscribe: send mail to majord...@freebsd.org

Re: Running a shell script on becoming the CARP master?

2005-11-26 Thread David S. Madole
From: "Matthew Hagerty" <[EMAIL PROTECTED]> Are there any hooks into CARP to run a shell script when a machine becomes the master? Also, is there a way to force a machine to become the master without powering off the current master (for example to do maintenance on the current master)? I d

Re: Loading gzipped mfsroot

2005-11-28 Thread David S. Madole
From: "Iasen Kostov" <[EMAIL PROTECTED]> I've seen a lot of examples where peeple load gzipped mfsroot images and everything looks fine for them, but not for me. It loads uncompressed image and boots ok, it loads compressed image and does not uncompress it and then tries to mount ufs directly on

Re: Telling BSD to stop resetting the connection!

2006-01-11 Thread David S. Madole
From: "Dan Joumaa" <[EMAIL PROTECTED]> I'm trying to code a software gateway with divert sockets. So far basic things are working, but the net stack constantly resets the connection whenever a SYN-ACK is sent to it. Any ideas on how to stop the net stack from resetting my connections, prefe

Re: Telling BSD to stop resetting the connection!

2006-01-11 Thread David S. Madole
From: "Dan Joumaa" <[EMAIL PROTECTED]> 103 9.443254 192.168.1.6 -> 205.166.76.40 TCP pacmand > https [SYN] Seq=0 Ack=0 Win=2920 Len=0 MSS=536 104 9.443364 192.168.1.2 -> 205.166.76.40 TCP pacmand > https [SYN] Seq=0 Ack=0 Win=2920 Len=0 MSS=536 105 9.443617 192.168.1.6 -> 205.166.76.40

Re: tuning to run large (1000+) numbers of null_mounts

2006-01-18 Thread David S. Madole
From: "Ensel Sharon" <[EMAIL PROTECTED]> I am running over 2000 null mounts on a FreeBSD 6.0-RELEASE system. I am well aware of the status of the null_mount code, as advertised in the mount_nullfs man page: I am noticing both system instability and data corruption issues on disk following

Re: IPFW + NATD

2006-05-10 Thread David S. Madole
[EMAIL PROTECTED] wrote: Now i =ave tried the likes of "ipfw add divert natd all from 10.150.200.= 35 to 196.25.211.150 via tun0" And that does not work. Ive tried many examples. And cannot come right That is fine, but you need to make sure the packets for both directions of the conn

Re: truncate tool - must be root?

2006-05-30 Thread David S. Madole
Eric Anderson wrote: Is it expected that truncate(8) must be used by a superuser? If so, then the man page should probably mention it. If not, then it's broken :) That's a pretty weak attempt at a bug report, and a wrong one, too: $ uname -m -r -s FreeBSD 5.4-RELEASE i386 $ i

Re: Strange keyboard (viral?) behaviour

2006-06-12 Thread David S. Madole
Philip Lykke Carlsen wrote: Hm. A little more research seems to have narrowed it down a bit. Apparently the text come from my sisters windows pc and is transmitted realtime to my freebsd machine, peculiar as it may sound. but at least now I have the means to look at the problem more carefully.

RE: Geli questions

2006-08-23 Thread David S. Madole
> From: Jeff Palmer > Sent: Wednesday, August 23, 2006 2:17 PM > > The idea: I'd like to use geli to encrypt *everything* on > the disk. So if someone (a competitor maybe) removes the > disk from the machine, he can't gain any data off of it > easily. I know nothing is 100%, but why make th

RE: Interesting TCP issue

2007-01-01 Thread David S. Madole
> From Steve Watt on Monday, January 01, 2007 4:37 PM > > # tcpdump -vv -s 1500 -i dc0 -X net 213.244.128.0/18 > tcpdump: lestening on dc0, link-type EN10MB (Ethernet), capture size 1500 > bytes > 13:18:13.607493 IP (tos 0x20, ttl 58, id 12896, offset 0, flags [DF], > proto

  1   2   >