work praudit with tee & grep

2007-08-20 Thread sam
Hi, all. I am installed AUDIT http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/audit.html # praudit /etc/auditpipe | grep "xxx" & # praudit /etc/auditpipe | tee file.log & # praudit /etc/auditpipe > file.log this is not work please help me /Vladimir Ermakov ___

work praudit with tee & grep

2007-08-20 Thread sam
Hi, all. I am installed AUDIT http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/audit.html # praudit /etc/auditpipe | grep "xxx" & # praudit /etc/auditpipe | tee file.log & # praudit /etc/auditpipe > file.log this is not work please help me /Vladimir Ermakov ___

Re: work praudit with tee & grep

2007-08-21 Thread sam
Robert Watson wrote: On Mon, 20 Aug 2007, sam wrote: I am installed AUDIT http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/audit.html # praudit /etc/auditpipe | grep "xxx" & # praudit /etc/auditpipe | tee file.log & # praudit /etc/auditpipe > file.log this is

Re: work praudit with tee & grep

2007-08-21 Thread sam
Eric Crist wrote: On Aug 21, 2007, at 7:52 AMAug 21, 2007, sam wrote: Robert Watson wrote: On Mon, 20 Aug 2007, sam wrote: I am installed AUDIT http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/audit.html # praudit /etc/auditpipe | grep "xxx" & # praudit /etc/a

Re: work praudit with tee & grep

2007-08-21 Thread sam
Try the --line-buffered option to grep. I've had a lot of luck with it. Something like the following may work for you: # praudit /etc/auditpipe | grep --line-buffered -e "xxx" If you just want to pipe to a file, use something like: # praudit /etc/auditpipe | grep --line-buffered -e "$" >>

linuxolator problem on amd64

2007-08-21 Thread sam
Hi, all. i am try runing Enemy Territory: Quake Wars server (links on http://weec.ovl.ru/csdivision/index.php?topic=662.0 ) # uname -rms FreeBSD 6.2-STABLE amd64 # mount | grep linproc linprocfs on /usr/compat/linux/proc (linprocfs, local) # cat run.sh #!/bin/sh cd `dirname $0` export LD_LIBRA

Re: praudit parse with gnu grep

2007-08-22 Thread sam
Robert Watson wrote: On Tue, 21 Aug 2007, sam wrote: # praudit /etc/auditpipe | grep "bla bla bla" & # praudit /etc/auditpipe | tee file.log this is not work please help me This thread is also on freebsd-hackers, but just to follow up here as well for the purposes o

Re: linuxolator problem on amd64

2007-08-22 Thread sam
Roman Divacky wrote: On Wed, Aug 22, 2007 at 01:36:20AM +0200, Pieter de Goeje wrote: On Tuesday 21 August 2007, sam wrote: Hi, all. i am try runing Enemy Territory: Quake Wars server (links on http://weec.ovl.ru/csdivision/index.php?topic=662.0 ) # uname -rms FreeBSD 6.2-STABLE

Re: linuxolator problem on amd64

2007-08-23 Thread sam
Stefan Lambrev wrote: Hello, Peter Jeremy wrote: On 2007-Aug-22 12:13:48 +0400, sam <[EMAIL PROTECTED]> wrote: Minimum system requirements: ... - Kernel 2.6, configured for 1000Hz tick and other low latency settings FreeBSD currently only emulates kernel 2.4. Kernel

linuxolator problem on i386

2007-08-23 Thread sam
# uname -a FreeBSD localhost 7.0-CURRENT FreeBSD 7.0-CURRENT #7: Thu Aug 23 15:51:18 SAMST 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/CS2 i386 # pkg_info|grep linux linux_base-fc6-6_2 Base set of packages needed in Linux mode (for i386/amd64) # mount /dev/ad0s1a on / (ufs, local) devf

Re: linuxolator problem on amd64

2007-08-23 Thread sam
sam wrote: Stefan Lambrev wrote: Hello, Peter Jeremy wrote: On 2007-Aug-22 12:13:48 +0400, sam <[EMAIL PROTECTED]> wrote: Minimum system requirements: ... - Kernel 2.6, configured for 1000Hz tick and other low latency settings FreeBSD currently only emulates kern

Re: praudit parse with gnu grep

2007-08-28 Thread sam
RCS file: /data/fbsd-cvs/ncvs/src/contrib/openbsm/bin/praudit/praudit.c,v retrieving revision 1.1.1.3 diff -u -r1.1.1.3 praudit.c --- praudit.c16 Apr 2007 15:36:57 -1.1.1.3 +++ praudit.c21 Aug 2007 14:26:43 - @@ -107,6 +107,7 @@ free(buf); if (oneline)

NetXMS witing to commit

2007-08-28 Thread sam
Hi, all. please appreciate my first port *NetXMS* http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/114495 *NetXMS* is new and rapidly developing monitoring system, released under GPL2 license. It can be used for monitoring entire IT infrastructure, starting with SNMP-capable hardware (like switc

linuxolator problem on i386

2007-09-24 Thread sam
Hi # su hlds -c "ktrace -i ./hlds_run -game cstrike +ip 0.0.0.0 +port 27015 +map de_dust -debug" Auto detecting CPU Using Pentium II Optimised binary. Enabling debug mode Auto-restarting the server on crash Console initialized. scandir failed:/usr/home/hlds/1.6/./platform/SAVE Protocol version

fsck of large volume with small memory

2007-09-24 Thread sam
hi, all http://lists.freebsd.org/pipermail/freebsd-questions/2007-June/151686.html my problem # fsck /dev/aacd0s1f ** /dev/aacd0s1f (NO WRITE) ** Last Mounted on /usr ** Phase 1 - Check Blocks and Sizes fsck_ufs: cannot alloc 2378019004 bytes for inoinfo # cat /boot/loader.conf kern.maxdsiz="107

Re: linuxolator problem on i386

2007-09-24 Thread sam
Pieter de Goeje wrote: On Monday 24 September 2007, sam wrote: # mount|grep linux linprocfs on /usr/compat/linux/proc (linprocfs, local) linsysfs on /usr/compat/linux/sys (linsysfs, local) # pkg_info | grep linux linux_base-fc6-6_3 Base set of packages needed in Linux mode (for i386/amd64

Re: fsck of large volume with small memory

2007-09-24 Thread sam
Frank Mayhar wrote: hi, all http://lists.freebsd.org/pipermail/freebsd-questions/2007-June/151686.html my problem # fsck /dev/aacd0s1f ** /dev/aacd0s1f (NO WRITE) ** Last Mounted on /usr ** Phase 1 - Check Blocks and Sizes You might also want to try ports/sysutils/ffsrecov2 before you

Re: fsck of large volume with small memory

2007-09-25 Thread sam
Don Lewis wrote: On 24 Sep, sam wrote: any solutions ? The patch below should allow a manual fsck to run to completion. I'd recommend running "fsck -N" and capturing its output. Then use the clri # fsck -N fsck: illegal option -- N usage: fsck [-dfnpvy

Re: fsck of large volume with small memory

2007-09-25 Thread sam
Don Lewis wrote: On 24 Sep, sam wrote: Expect major file system lossage ... I think this patch could be better, but this should get you going ... Index: sbin/fsck_ffs/pass1.c === RCS file: /home/ncvs/src/sbin/fsck_ffs/pass1.c,v

Re: fsck of large volume with small memory

2007-09-25 Thread sam
sam wrote: Don Lewis wrote: On 24 Sep, sam wrote: Expect major file system lossage ... I think this patch could be better, but this should get you going ... UNEXPECTED SOFT UPDATE INCONSISTENCY LOST 74 DIRECTORIES UNEXPECTED SOFT UPDATE INCONSISTENCY fsck: /dev/aacd0s1f: Segmentation

Re: linuxolator problem on i386

2007-10-08 Thread sam
/ On Monday 24 September 2007, sam wrote: />>/ /> / # mount|grep linux />>>/ linprocfs on /usr/compat/linux/proc (linprocfs, local) />>>/ linsysfs on /usr/compat/linux/sys (linsysfs, local) />>/ />>>/ # pkg_info | grep linux />>>/ linux_base

netcat trouble on timeout

2007-12-14 Thread sam
hi iam use nc on FreeBSD 8.0-CURRENT trouble in -t(timeout) option, absentia full break session (very need) examples: # time nc -w 1 -z 192.168.44.14 443 real1m15.002s user0m0.001s sys 0m0.003s # time nc -w 1 -z google.com 80 Connection to google.com 80 port [tcp/http] succeeded!

syscall linux_getdents() trouble

2008-01-07 Thread sam
program-test (experimental) for testing syscall linux_getdents() http://cs.udmvt.ru/files/temp/linux_dbg.tar.bz2 includes: * temp/ - test_dir with files (special for crash situation) * linux_getdents.c - source of program-test * linux_getdents_static - binary exec file, staticaly compiled on Linu

double start of scripts in /usr/local/etc/rc.d

2008-02-01 Thread sam
hi all description of my trouble: on 6.3-RELEASE i386 --- Clearing /tmp (X related). Starting local daemons:. Updating motd. Mounting late file systems:. Starting mysql. Starting apache. mysql already running? (pid=8720). apache already running? (pid=8721).

Re: double start of scripts in /usr/local/etc/rc.d

2008-02-01 Thread sam
[EMAIL PROTECTED] wrote: Local package initialization:Starting NONE Starting NONE . --- services apache, mysql & shell-script none.sh is double started tryed on 6.3-STABLE i386 - normal work any solution? Could you show us your /etc/rc.conf, and outpu

Re: double start of scripts in /usr/local/etc/rc.d

2008-02-01 Thread sam
Julian H. Stacey wrote: services apache, mysql & shell-script none.sh is double started tryed on 6.3-STABLE i386 - normal work any solution? Maybe a reboot after crash, & old PID files were existant. Check if repeatable. Do a clean reboot, & see if it repeats. If it repeats, insert lines

Re: double start of scripts in /usr/local/etc/rc.d

2008-02-01 Thread sam
Peter Jeremy wrote: On Fri, Feb 01, 2008 at 12:28:39PM +0300, sam wrote: services apache, mysql & shell-script none.sh is double started What do you have as local_startup in /etc/rc.conf or /etc/defaults/rc.conf? Do you still have /usr/X11R6/etc/rc.d listed? /etc/rc.

Re: double start of scripts in /usr/local/etc/rc.d

2008-02-01 Thread sam
Eygene Ryabinkin wrote: Fri, Feb 01, 2008 at 11:59:44AM +, Tom Evans wrote: Sam: what is the output of grep local_startup /etc/rc.conf /etc/defaults/rc.conf And is your /usr/X11R6 symlinked to /usr/local? have this symlink /Vladimir Ermakov

SCHED_ULE trouble after ugrade 6.2-RELEASE -> 6.3-RELEASE

2008-02-04 Thread sam
hi all my trouble description: --part of dmesg--- CPU: Intel(R) Xeon(TM) CPU 2.40GHz (2392.26-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf27 Stepping = 7 Features=0xbfebfbff Features2=0x400 Logical CPUs per core: 2 --- 1. usi

Re: double start of scripts in /usr/local/etc/rc.d

2008-02-04 Thread sam
Eygene Ryabinkin wrote: And is your /usr/X11R6 symlinked to /usr/local? have this symlink Then remove /usr/X11R6/etc from the local_startup variable (in /etc/rc.conf and/or in /etc/defaults/rc.conf) and enjoy single startup of scripts ;)) Seems like you had updated y

[trouble] restart network & vlan`s interface

2008-02-19 Thread sam
hello description of my trouble: part of /etc/rc.conf -- |cloned_interfaces="vlan0" ifconfig_vlan0="inet 10.25.6.20 netmask 255.255.255.0 vlan 11 vlandev rl0" |-- part of command output (/etc/rc.d/netif restart && /etc/rc.d

Re: [trouble] restart network & vlan`s interface

2008-02-20 Thread sam
Brooks Davis wrote: On Wed, Feb 20, 2008 at 10:41:22AM +0300, sam wrote: please help me for writing /etc/rc.conf with vlan`s interfaces (without problem network sub-system restart) We don't really support running /etc/rc.d/netif restart without an interface argument at this

OpenBSM & Jails

2008-02-21 Thread sam
hello i am using OpenBSM on System with jails part of praudit output / action write file in jail -- header,176,10,open(2) - write,creat,trunc,0,Thu Feb 21 13:45:06 2008, + 501 msec,argument,3,0x81ed,mode,argument,2,0x601,flags,path,//site/svn/de

OpenBSM & Jails

2008-02-27 Thread sam
hello i am using OpenBSM on System with jails part of praudit output / action write file in jail -- header,176,10,open(2) - write,creat,trunc,0,Thu Feb 21 13:45:06 2008, + 501 msec,argument,3,0x81ed,mode,argument,2,0x601,flags,path,//site/svn/de

Re: Freebsd 7.0 on ASUS P4R8L - No Disks Found!

2008-03-18 Thread sam
But with that said, what mode is your SATA/IDE controller in? If there is an AHCI or Legacy mode, try it again. or Compatible mode (not Enchansed) in BIOS /Vladimir Ermakov // ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/m

forcefsck on booting stage

2008-07-28 Thread sam
Hello, How to make 'fsck -f' on booting stage of remote system? /Vladimir Ermakov ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"

consolekit on 7.0-STABLE i386

2008-07-30 Thread sam
hello my trouble FreeBSD static 7.0-STABLE FreeBSD 7.0-STABLE #23: Mon Jul 28 18:10:51 MSD 2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/STATIC i386 top_output- |874 root17 00 8296K 2660K waitvt 1 0:00 0.00%

Re: consolekit on 7.0-STABLE i386

2008-07-31 Thread sam
Nate Eldredge wrote: On Wed, 30 Jul 2008, sam wrote: hello my trouble FreeBSD static 7.0-STABLE FreeBSD 7.0-STABLE #23: Mon Jul 28 18:10:51 MSD 2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/STATIC i386 top_output- |874 root

Re: consolekit on 7.0-STABLE i386

2008-08-01 Thread sam
Nate Eldredge wrote: On Wed, 30 Jul 2008, sam wrote: 0 19 0 1113M29M 112 0 0 032 0 0 1 100 5549 1682 11 1 88 0 19 0 1113M29M 297 0 0 0 136 0 0 2 122 78880 1749 6 7 87

Re: consolekit on 7.0-STABLE i386

2008-08-01 Thread sam
Kostik Belousov wrote: On Fri, Aug 01, 2008 at 06:16:49PM +0400, sam wrote: Nate Eldredge wrote: On Wed, 30 Jul 2008, sam wrote: 0 19 0 1113M29M 112 0 0 032 0 0 1 100 5549 1682 11 1 88 0 19 0 1113M29M 297 0 0 0 136 0 0 2 122

Re: consolekit on 7.0-STABLE i386

2008-08-07 Thread sam
Kostik Belousov wrote: On Fri, Aug 01, 2008 at 06:16:49PM +0400, sam wrote: Nate Eldredge wrote: On Wed, 30 Jul 2008, sam wrote: 0 19 0 1113M29M 112 0 0 032 0 0 1 100 5549 1682 11 1 88 0 19 0 1113M29M 297 0 0 0 136 0 0 2 122

Re: consolekit on 7.0-STABLE i386

2008-08-07 Thread sam
Kostik Belousov wrote: On Thu, Aug 07, 2008 at 12:00:37PM +0400, sam wrote: Kostik Belousov wrote: On Fri, Aug 01, 2008 at 06:16:49PM +0400, sam wrote: Nate Eldredge wrote: 0 3 97 0 16 0 68660K 643M 0 0 0 012 0 28 34 120 385 0 3 97 0

Re: em0: The EEPROM Checksum Is Not Valid

2008-08-08 Thread sam
Jeremy Chadwick wrote: On Thu, Aug 07, 2008 at 08:34:44AM +0400, Vladimir Ermakov wrote: Hello my trouble with nic part of `dmesg` output - em0: port 0xec00-0xec3f mem 0xfebc-0xfebd,0xfeb8-0xfebb irq 19

Re: kern/98388: [ata] FreeBSD 6.1 - WDC WD1200JS SATA II disks are seen as older SATA

2008-08-13 Thread sam
[EMAIL PROTECTED] wrote: I bought an ASUS motherboard with onboard SATA II controller. I attached 2 HDs SATA II but when I run dmesg I notice that my system sees them as normal older SATA 150 instead of SATA 300. Is there any suggestion to solve this problem ? Have a nice day. --

Re: kern/98388: [ata] FreeBSD 6.1 - WDC WD1200JS SATA II disks are seen as older SATA

2008-08-13 Thread sam
Andrey V. Elsukov wrote: sam wrote: FreeBSD 7.0-STABLE FreeBSD 7.0-STABLE #5: Tue Aug 12 13:54:27 MSD 2008root@:/usr/obj/usr/src/sys/GENERIC i386 | please, any solution ? Probably speed is limited via jumpers on your

Re: kern/98388: [ata] FreeBSD 6.1 - WDC WD1200JS SATA II disks are seen as older SATA

2008-08-14 Thread sam
Kris Kennaway wrote: sam wrote: Andrey V. Elsukov wrote: sam wrote: FreeBSD 7.0-STABLE FreeBSD 7.0-STABLE #5: Tue Aug 12 13:54:27 MSD 2008root@:/usr/obj/usr/src/sys/GENERIC i386 | please, any solution ? Probably

Re: consolekit on 7.0-STABLE i386

2008-08-14 Thread sam
Kostik Belousov wrote: On Thu, Aug 07, 2008 at 12:00:37PM +0400, sam wrote: Kostik Belousov wrote: On Fri, Aug 01, 2008 at 06:16:49PM +0400, sam wrote: Nate Eldredge wrote: On Wed, 30 Jul 2008, sam wrote: 0 19 0 1113M29M 112 0 0 0

Re: kern/98388: [ata] FreeBSD 6.1 - WDC WD1200JS SATA II disks are seen as older SATA

2008-08-14 Thread sam
Andrey V. Elsukov wrote: sam wrote: So the jumpers were set wrong to begin with, but fixing them didnt help? i`am tried all positions from specification Check your BIOS SATA support or look for an upgrade. BIOS is support SATA have 2 modes (Compatible, Enchanced) i`am tried both modes

Re: kern/98388: [ata] FreeBSD 6.1 - WDC WD1200JS SATA II disks are seen as older SATA

2008-08-14 Thread sam
Jeremy Chadwick wrote: On Thu, Aug 14, 2008 at 12:16:16AM -0700, Jeremy Chadwick wrote: On Thu, Aug 14, 2008 at 10:57:53AM +0400, sam wrote: Andrey V. Elsukov wrote: sam wrote: FreeBSD 7.0-STABLE FreeBSD 7.0-STABLE #5: Tue Aug 12 13:54:27 MSD 2008root@:/usr/obj

Re: kern/98388: [ata] FreeBSD 6.1 - WDC WD1200JS SATA II disks are seen as older SATA

2008-08-14 Thread sam
Jeremy Chadwick wrote: On Thu, Aug 14, 2008 at 12:02:50PM +0400, sam wrote: Jeremy Chadwick wrote: On Thu, Aug 14, 2008 at 12:16:16AM -0700, Jeremy Chadwick wrote: On Thu, Aug 14, 2008 at 10:57:53AM +0400, sam wrote: Andrey V. Elsukov wrote

Re: kern/98388: [ata] FreeBSD 6.1 - WDC WD1200JS SATA II disks are seen as older SATA

2008-08-14 Thread sam
Andrey V. Elsukov wrote: sam wrote: # ident /boot/kernel/kernel | grep ata-chipset $FreeBSD: src/sys/dev/ata/ata-chipset.c,v 1.202.2.11 2008/08/02 12:34:49 remko Exp $ Can

sysinstall -> upgrade

2008-08-18 Thread sam
Hello. Faced with a strange situation. output of downgrade HEAD -> 7.0-RELEASE --- # uname -a FreeBSD damask 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Mon Jun 16 17:44:59 SAMST 2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/DAMASK i386 -

Re: Strange network issue in freebsd 8

2010-01-27 Thread sam
that s why I 've been so in doubt using freebsd AMD64 release. On 28/01/2010 1:05 PM, Sherin George wrote: Hello Sam, The problem happened today again. I am getting this message on traceroute === traceroute: findsaddr: write: No such process When running a

Re: My project wish-list for the next 12 months

2004-12-02 Thread Sam
posed to be able to do mirroring and striping, but I'm told it's not stable enough for "production" use. Sam ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: NFSD stopped in inode state

2000-10-07 Thread Sam
On Sat, Oct 07, 2000 at 08:44:58PM +0200, Karsten W. Rohrbach wrote: > Date: Sat, 7 Oct 2000 20:44:58 +0200 > From: "Karsten W. Rohrbach" <[EMAIL PROTECTED]> > To: Sam <[EMAIL PROTECTED]> > Cc: [EMAIL PROTECTED], [EMAIL PROTECTED] > Subject: Re: NFSD stopped

NFSD stopped in inode state

2000-10-06 Thread Sam
/proc /dev/ccd0c 138969382 16752490 11109934213%/space /dev/ccd1c38856354 22757162 1299068464%/save (/space is exported...) Thanx for any idea of wath is really happening... Sam [EMAIL PROTECTED] Admin - Sys EPITA (Ecole pour l'informatique et les technique

kernel panic, unknown / reserved trap

2004-09-01 Thread Sam
aoe I've also added dev/aoe/ with the files listed above and modules/aoe/ with a makefile similar to modules/md/Makefile. I don't really see how what I did is causing the kernel to panic so early ... is anything obvious? Cheers, Sam ___ [EMAIL P

Re: kernel panic, unknown / reserved trap

2004-09-01 Thread Sam
x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags= interrupt enabled, IOPL = 0 current process = 0 (swapper) interrupt mask = net tty bio cam trap number = 30 panic: unknown/reserved trap Cheers, Sam ___

Re: ZFS

2004-09-15 Thread Sam
foreseeable future." Call me crazy, but does anyone else see this as hooey? 2^64 512B sectors is 8192 zettabytes (zetta, exa, peta, tera, ...). I'm also wondering what perversion of moore's law is applicable to storage consumption. Crappy marketing articles. Sam __

Re: ZFS

2004-09-15 Thread Sam
On Wed, 15 Sep 2004, Paul Schenkeveld wrote: On Wed, Sep 15, 2004 at 06:03:22PM +0100, Matthew Seaman wrote: On Wed, Sep 15, 2004 at 05:43:38PM +0200, Wilko Bulte wrote: On Wed, Sep 15, 2004 at 05:26:39PM +0200, Andrea Campi wrote.. On Wed, Sep 15, 2004 at 10:59:36AM -0500, Sam wrote: Call me

Re: ZFS

2004-09-16 Thread Sam
On Thu, 16 Sep 2004, Jan Grant wrote: On Wed, 15 Sep 2004, Sam wrote: On Wed, 15 Sep 2004, Ivan Voras wrote: It looks like Sun is going to obsolete their UFS: http://www.sun.com/2004-0914/feature/?biga=15 Any comments? Anybody tried it yet? It seems like they have built on and extented concepts

Re: ZFS

2004-09-16 Thread Sam
On Thu, 16 Sep 2004, Jan Grant wrote: On Thu, 16 Sep 2004, Sam wrote: Let's suppose you generate an exabyte of storage per year. Filling a 64-bit filesystem would take you approximately 8 million years. Hang on, I'm not sure I know where these numbers are coming from. 1PB is - what?

Re: ZFS

2004-09-16 Thread Sam
On Thu, 16 Sep 2004, Gary Corcoran wrote: Sam wrote: On Thu, 16 Sep 2004, Jan Grant wrote: On Thu, 16 Sep 2004, Sam wrote: Let's suppose you generate an exabyte of storage per year. Filling a 64-bit filesystem would take you approximately 8 million years. Hang on, I'm not sure I

Re: FreeBSD Kernel buffer overflow

2004-09-20 Thread Sam
il thing was to recognize the place in the C compiler where the two hacks were, and reinsert them into the generated code. So a source audit would turn up nothing, but the system was thoroughly compromised. http://www.acm.org/classics/sep95/ Cheers, Sam

Re: Protection from the dreaded "rm -fr /"

2004-10-02 Thread Sam
This is UNIX, not Windows. Agreed -- besides, it's only a matter of time before this and fourteen other -f related flags are incorporated into the gnu rm. Use it if you've got a problem with simple tools that do what you ask them to. Sam

Re: Protection from the dreaded "rm -fr /"

2004-10-05 Thread Sam
o want it. For times when you really want the -f, you can type /bin/rm -rf. Or `which rm` -rf. Or put it in a shell script and call it rmf. There are a lot of ways to skin this properly without resorting to hacks making the tool smarter than the user. Sam _

Re: please help with: warning: initialization makes integer from pointer

2004-10-08 Thread Sam
n of NULL as 0 is left as implementation specific. Try to change it, however, and see what nightmare ensues. People who argue conventions that have been around for 25 years aren't "standard" and should be "avoided" need therapy. Sam ___ [EMAI

cvsup tag

2004-11-17 Thread Sam
Hello all, I know this is likely a stupid question, but no amount of googling is making this clear to me. Which source base is more recent, RELENG_5 or RELENG_5_3? Cheers, Sam ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo

cpu class & features

2002-11-07 Thread Sam
I can't find if they are available for userland programs either. I suppose they could be parsed from dmesg, but that would be a pretty hacky way of doing it. Is there any better way? Any help would be appreciated. Sam, [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with &q

Re: cpu class & features

2002-11-07 Thread Sam
On Thursday 07 November 2002 06:37 pm, Terry Lambert wrote: > Sam wrote: > > I'm writing an application that needs info on the machine cpu > > architecture, the cpu class, and the cpu features. > > Is this a status display (e.g. "About This Computer...") for a

TeXLive merge into FreeBSD ports tree - FreeBSD project idea

2012-05-26 Thread Sam Lin
t a myth?? I am now thinking that this should be put into the "FreeBSD Project ideas List" [http://wiki.freebsd.org/IdeasPage]. Regards, Sam ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To

What happened to my /proc/curproc/file?

2012-09-03 Thread Sam Varshavchik
Am I the only one who's seeing this weirdness with procfs on 9.0-RELEASE-p3. Unless I'm overlooking something stupid, a process that rmdir(2)s a subdirectory of its current directory ends up with a broken /proc/curproc/file symlink: [mrsam@freebsd ~/stasher/stasher]$ cat t.c #include #incl

Re: What happened to my /proc/curproc/file?

2012-09-04 Thread Sam Varshavchik
Konstantin Belousov writes: The procfs links, as well as any other user of vn_fullpath(9) function, can only translate a vnode to path if namecache contains useful data. As such, the facilities are not guaranteed to success all the time. In case of rmdir(2), UFS explicitely purges the cache for

Re: What happened to my /proc/curproc/file?

2012-09-04 Thread Sam Varshavchik
John Baldwin writes: On Tuesday, September 04, 2012 7:10:42 am Sam Varshavchik wrote: > Konstantin Belousov writes: > > > The procfs links, as well as any other user of vn_fullpath(9) function, > > can only translate a vnode to path if namecache contains useful data. > >

IcyDock FreeBSD 6 Compatibility?

2007-02-27 Thread Sam Sutch
know! :) Thanks, Sam ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"

0x03 (ErrorUndefined) issues with ukbd

2007-02-28 Thread Sam Banks
ntrol keys like ctrl/alt/shift would fill the first element. Has anyone had any similar issues with other keyboards? If so, do you have any insights I may have missed? Cheers, Sam. ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/ma

Re: sysinstall creates corrupt filesystems after repartitioning

2007-03-02 Thread Sam Leffler
he log msgs. I find sysinstall is best diagnosed inside qemu or vmware so you destructively operate on disk images w/o hosing a real system. Sam ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: How should i start working on kernel programming?

2007-03-03 Thread Sam Banks
http://docs.freebsd.org. Some of the man pages can give you good tutorials as well. Other than that, I'm not too sure. I am also interested any additional information sources. Sam. - Original Message Follows - > Hey all, > > I have done a bit of system level programming on l

Re: stopping callouts

2007-06-01 Thread Sam Leffler
will be discarded. callout_drain should not be called while holding my_mtx because it can sleep. Sam ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: loading a firmware image

2007-07-15 Thread Sam Leffler
ge with firmware_get. firmware(9) is a pretty complete description of these facilities. Sam ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: Australian cvs repository

2007-08-16 Thread Sam Lawrance
On 16/08/2007, at 8:49 AM, [EMAIL PROTECTED] wrote: Robert McKenzie wrote: Has anyone noted that the Australian cvs repository seems to be so hopelessly out of sink that you cannot do a clean build using a clean cvsup. Because we are so far away it is hard to keep things sinkronized. We re

Re: How to add wake on lan support for your card

2007-11-28 Thread Sam Leffler
h). I really want to see the WOL support get into the tree. I looked at it before and had some issues with ifconfig integration which is mostly why it's not already there. We're occupied with releases right now so I think the right time to get

Re: Coverity problems?

2008-01-11 Thread Sam Leffler
since filtered out. Sam ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: Nvidia Driver w/RELENG_7

2008-01-14 Thread Sam Leffler
couldn't get the nvidia-driver-96.43.01 driver I need for my Quadro NVS to work correctly. The old build of the driver didn't work because of kernel changes and after rebuild the system locked up after displaying the Nvidia logo. I ended u

Re: How long is a hz?

2008-01-28 Thread Sam Leffler
Sean Bruno wrote: Jason Slagle wrote: On Mon, 28 Jan 2008, Sean Bruno wrote: I couldn't quite find the definition for "hz" in sys/ this morning. What is it's value and where is it defined? From http://en.wikipedia.org/wiki/Hertz The hertz (symbol: Hz) is the International System of Unit

Re: gettimeofday() in hping

2008-02-03 Thread Sam Leffler
full" issue is classic linux-specific mis-behaviour. On linux the process will block when the default qdisc finds the device q is stopped (due to being full). I remember cursing iperf for this. Sam ___ freebsd-hackers@freebsd.o

Re: retrive data from mbuf chain

2008-02-07 Thread Sam Leffler
ufs linked by m_next). I am working ip_output() in netinet/ip_output.c Does there exist inbuilt function/macro to retrive all the data in mbuf chain? man 9 mbuf; look for m_copydata. Sam ___ freebsd-hackers@freebsd.org mailing list h

Re: ath0 will not associate

2008-02-21 Thread Sam Leffler
e, dwell min 20 max 200] So the card never saw any beacon/probe response frames from any ap's. Are there any besides the one you're trying to use? Can you setup a 2nd laptop and sniff to see if your laptop is sending ProbeRequest on the channel the ap is using and/or whether it se

Re: Is it possible that modern wireless card only supports WPA and not WEP or this is a bug in the driver?

2008-02-27 Thread Sam Leffler
hostap succeeds though CAPS doesn't have WEP. Isn't this a bug? No, see above. Sam ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: Is it possible that modern wireless card only supports WPA and not WEP or this is a bug in the driver?

2008-02-27 Thread Sam Leffler
first person that's even noticed you can list capabilities in the 3+ years that's been in place (or at least made public mention). Hardly seems like something that's constantly confused people. Sam ___ freebsd-hackers@freebsd.org ma

Re: wpi -- periodic disconnections

2008-03-04 Thread Sam Leffler
it is unlikely you are getting MIC errors. Sam ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"

7.0-RELEASE Kernel Panic in _mtx_lock_sleep() on shutdown

2008-04-03 Thread Sam Kingston
tid=18446742974215817664, opts=Variable "opts" is not available. ) at /usr/src/sys/kern/kern_mutex.c:335 dmesg (cut due to long length: http://users.sjkwi.com.au/sam/fbsd/dmesg.txt kernel config (cut due to long length): http://users.sjkwi.com.au/sam/fbsd/MIA Any ideas? -- Kind regards,

RE: My GSoC Intro...

2008-04-27 Thread Sam Xia
hi Przemek, I am very interested at what you are going to do. Could you tell me what kind of chips are used in GSoC. (I mean that the chip is made by Freesacle or by the others.) Best Regards, Sam Xia > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROT

Re: hifn(4) DMA fix for review

2010-05-10 Thread Sam Leffler
ince it's implemented in many drivers (usually w/ c&p of the same code as you noted here sometimes a bit different). Sam ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsub

Re: hifn(4) DMA fix for review

2010-05-10 Thread Sam Leffler
ence) It would be good to present these numbers better (e.g. curves on the same graph, ministat output, etc). Sam ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, s

Re: Hifn 7955 doesn't work with Freebsd 7.0-release

2008-05-21 Thread Sam Leffler
penssl likewise are not automatically accelerated. I suggested a patch but it was not accepted. I can't recall how you force openssl and/or consumers to use the device. If you want to check whether the kernel support is working correctly look in src/tools/tools/crypto for cryptotest and

Re: crypto(9) and maxoplen

2008-07-21 Thread Sam Leffler
sider it important to maintain interoperability w/ obsd for the sake of sharing work. However we've long since diverged such that it's infeasible so revamping api's is fair game. If people want to work on the crypto framework that'd be great; they might als

Re: startup options

2008-08-15 Thread Sam Leffler
_stge.c vr/if_vr.c So 5 drivers right now support WOL. Jack said em had support a while back but he seems to have not hooked it up. Sam ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To u

Re: Extending the ddb command set

2008-08-16 Thread Sam Leffler
n list when calling objdump -h Is DB_COMMAND only working within the kernel itself, and not modules? That is correct; you can't add ddb cmds from modules. It should be doable; just hasn't been done yet. Sam ___ freebsd-hackers@freebsd.

Re: Extending the ddb command set

2008-08-17 Thread Sam Leffler
Guillaume Ballet wrote: On Sat, Aug 16, 2008 at 5:15 PM, Sam Leffler <[EMAIL PROTECTED]> wrote: Guillaume Ballet wrote: Hello hackers, I am currently working on a small project and would like to add a few commands to the set that is available in ddb. I found that very inter

  1   2   3   >