Re[2]: bind 192.168.1.1 to all interfaces

2012-12-23 Thread Eugen Konkov
Здравствуйте, Patrick.

Вы писали 23 декабря 2012 г., 15:17:43:

PL> Le Sun, 23 Dec 2012 14:17:47 +0200,
PL> Eugen Konkov  a écrit :

PL> Hello,

>> Or  s there any other method to prevent such ilegal DHCP servers on
>> LAN?

PL> At work we use "dhcp_probe"
PL> http://www.net.princeton.edu/software/dhcp_probe/

PL> It works quite fine, when someone plug a dhcp server it is detected and
PL> we shutdown the switch port.

PL> I don't know if it runs on FreeBSD, it runs on Centos 6.

PL> Regards.

Unfortunately we use unmanaged switches 


-- 
С уважением,
 Eugen  mailto:kes-...@yandex.ru

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

bind 192.168.1.1 to all interfaces

2012-12-23 Thread Eugen Konkov
Hi, FreeBSD.

I have many vlans on server. IPs on those vlans are like 10.X.X.X/Y
I have run DHCP. But some times users on vlan can ON their soho router
like DIR-300 or so and connect their internet cable to LAN port of
that router. So in my vlan I have two DHCP servers. One is mine and
second is on that router. Some users get wrong IPs from that router.

Can I bind 192.168.1.1 address of router to server so restrict such
router to work normally?

Or  s there any other method to prevent such ilegal DHCP servers on LAN?

-- 
 Eugen  mailto:kes-...@yandex.ru

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re[4]: can not build FreeRadius 2.2.0

2012-12-16 Thread Eugen Konkov
Здравствуйте, Fajar.

Вы писали 16 декабря 2012 г., 14:28:34:

FAN> On Sun, Dec 16, 2012 at 3:21 AM, Eugen Konkov  wrote:

>> AD> Eugen Konkov wrote:
>>>> Building freeradiusd on
>>>> # uname -a
>>>> FreeBSD aki 10.0-CURRENT FreeBSD 10.0-CURRENT #0: Wed Jun 13 13:46:00 EEST 
>>>> 2012 adm@aki:/usr/obj/usr/src/sys/AKI  i386
>>>>from /usr/ports/net/freeradius2   (2.2.0 version)
>>>> cause error:
>>>> /usr/bin/ld: attempted static link of dynamic object 
>>>> `/usr/local/lib/libgdbm.so'
>>
>> AlanD>
>> AD>   Don't do "./configure --disable-shared"
>>
>> I do same as on FreeBSD 9:
>> cd /usr/ports/net/freeradius2
>> make install clean


FAN> Are you interested in FIXING your problem, or are you interested in
FAN> saying "I'm not doing anything wrong, freebsd ports are perfect, so it
FAN> must be that your software is broken"?

FAN> If it's the FIRST one, the configure FR manually (i.e. by NOT using
FAN> freebsd ports), and follow Allan's advice:
FAN> - if that works, file a bug report to freebsd (or whoever is managing
FAN> FR ports) that they messed up the recipe
FAN> - If DOESN'T work, paste your configure line as well the make output here.


FAN> Now if it's the SECOND one, you better ask in freebsd's list. It's
FAN> VERY unlikely that you'd get anymore help here, seeing that you
FAN> snubbed the help you already got.

I do not expect you will help me. I just submit a problem report.
In any case thank you very much for your answers. and for the clue/advice.
I will try to build by hand and send PR to freebsd ports also.

-- 
С уважением,
 Eugen  mailto:kes-...@yandex.ru

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Re[2]: make do not work in 10-Current

2012-12-15 Thread Eugen Konkov
Здравствуйте, Boris.

Вы писали 15 декабря 2012 г., 9:30:19:

BS> (maintainer is CCed)

BS> 15.12.2012 02:24, Eugen Konkov пишет:

>> # make
>> "Makefile", line 166: Malformed conditional (${PORT_OPTIONS:MFIREBIRD} && 
>> empty(${PORT_OPTIONS:MEXPERIMENTAL})
>> "Makefile", line 168: if-less endif
>> make: fatal errors encountered -- cannot continue

BS> Please, try the attached patch (missing ")" at the end of the
BS> quoted Makefile line).



thank you

-- 
С уважением,
 Eugen  mailto:kes-...@yandex.ru

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

make do not work in 10-Current

2012-12-14 Thread Eugen Konkov
Здравствуйте, FreeBSD.

# pwd
/usr/ports/net/freeradius2
Press any key to continue...

# uname -a
FreeBSD aki 10.0-CURRENT FreeBSD 10.0-CURRENT #0: Wed Jun 13 13:46:00 EEST 2012 
adm@aki:/usr/obj/usr/src/sys/AKI  i386
Press any key to continue...

# make
"Makefile", line 166: Malformed conditional (${PORT_OPTIONS:MFIREBIRD} && 
empty(${PORT_OPTIONS:MEXPERIMENTAL})
"Makefile", line 168: if-less endif
make: fatal errors encountered -- cannot continue


on this host same version of port work fine:
 # uname -a
FreeBSD newflux 9.1-PRERELEASE FreeBSD 9.1-PRERELEASE #4 r239949: Fri Aug 31 
16:57:42 EEST 2012 root@newflux:/usr/obj/usr/src/sys/KES_KERN_v9  i386
Press any key to continue...


How to fix errors with make in 10-Current?


-- 
 Eugen  mailto:kes-...@yandex.ru

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Re[2]: How to allow httpd to run 'ipfw table 7 add ... '

2012-11-29 Thread Eugen Konkov
Здравствуйте, Steve.

Вы писали 29 ноября 2012 г., 21:38:35:

SOHS> On Wed, 28 Nov 2012 20:09:03 -0800
SOHS> Devin Teske  wrote:

>> 
>> On Nov 28, 2012, at 7:48 PM, Eugen Konkov wrote:
>> 
>> > Hi.
>> > 
>> > How to allow httpd to run this command 'ipfw table 7 add ... '?
>> > 
>> 
>> imho the most secure way is to add an entry to sudoers(5) (you can use visudo

SOHS> This is not very secure for this purpose - see below.

>> (8) to edit sudoers(5)) allowing the apache privilege-separation user (www? 
>> we use apache here -- check your httpd.conf for "User") to execute that 
>> specific command without a password. The entry might look something like 
>> this:
>> 
>> apache ALL=(ALL) NOPASSWD: /sbin/ipfw
>> 
>> That will allow the apache user to do things like:
>> 
>>   sudo ipfw table 7 add …

SOHS> The only problem with this is it will allow apache to
SOHS> do anything with ipfw including flush all of the rules. I would
SOHS> suggest having apache dumping the parameters of the command to
SOHS> be run into a queue of some kind (named pipe perhaps or a file
SOHS> based queue if it's important to survive shutdowns) and have a
SOHS> process reading the queue, sanity checking the parameters and
SOHS> then executing the appropriate command.

maybe:
apache host=(root) NOPASSWD: /my/script/add_table.pl
apache host=(root) NOPASSWD: /my/script/del_table.pl

this will restrict apache to run only add/del tasks with table.
what do you think?

-- 
С уважением,
 Eugen  mailto:kes-...@yandex.ru

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

How to allow httpd to run 'ipfw table 7 add ... '

2012-11-28 Thread Eugen Konkov
Hi.

How to allow httpd to run this command 'ipfw table 7 add ... '?


-- 
 Eugen  mailto:kes-...@yandex.ru

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Production mpd5+FreeBSD+FreeRadius+igb

2012-11-07 Thread Eugen Konkov
Hi

Can any advice me stable release of those combination of tools?



-- 
 Eugen  mailto:kes-...@yandex.ru

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re[2]: HELP: some process eat my /var

2012-11-05 Thread Eugen Konkov
Здравствуйте, Vincent.

Вы писали 5 ноября 2012 г., 12:38:47:

VH> On 05/11/2012 09:32, Eugen Konkov wrote:
>> Здравствуйте, Robert.
>>
>> # du -h /var | sort -nr | head -n 25
>> 976k/var/db/mysql/mysql
>> 892k/var/mail/freeline.in.ua/luda
>> 888M/var/log/radius/radacct/10.11.19.50
>> 858M/var/crash
>> 840k/var/mail/freeline.in.ua/luda/cur
>> 836k/var/db/firebird/help
>> 608k/var/spool
>> 564k/var/db/pkg/perl-threaded-5.14.1_3
>> 552k/var/spool/postfix
>> 512B/var/named/dev
>> 432k/var/db/ports
>> 412k/var/db/pkg/python26-2.6.7_2
>> 392k/var/spool/postfix/defer
>> 354M/var/mail
>> 264k/var/db/pkg/libX11-1.4.4,1
>> 244k/var/db/pkg/en-freebsd-doc-20110521
>> 236k/var/tmp
>> 236k/var/mail/freeline.in.ua/znz2
>> 224k/var/monit
>> 223M/var/log/radius/radacct/10.10.0.2
>> 172M/var/mail/freeline.in.ua
>> 171M/var/mail/freeline.in.ua/office
>> 170M/var/mail/freeline.in.ua/office/cur
>> 158M/var/mail/kes.net.ua
>> 157M/var/mail/kes.net.ua/kes
>>
>> Something mistery take space, because of files take only 6.4G
>> # du -h -d 0 /var
>> 6.4G/var
>>
>> bug df says that there are more space was taken:
>> df -h
>> /dev/ada0s1d 30G 24G3.5G87%/var
>>
>> 6.4G vs 24G
>>
VH> Its possible that a process is holding open an unlinked file (some
VH> processes do this for tmp files as they are automatically deleted if the
VH> program exit, I believe mysql does it for tmp tables for example)
VH> I've had this happen when a log got rotated but the process wasnt
VH> notified so it kept writing to the file.
VH> I believe lsof +L1  will show unlinked but open files.

it shows nothing ((



VH> Vince

>>
>> Вы писали 3 ноября 2012 г., 5:01:49:
>>
>>
>> RH> Gary Aitken writes:
>>
>>>>  Looks like /var/log has most of it.
>>>>  If you're running X, check for a huge Xorg.0.log.
>>>>  I had this problem as a result of a radeon graphics card that would get 
>>>> into
>>>>  some kind of reinitialization loop.
>>>>  In any case, look at the files in /var/log
>> RH> A way to check disk usage:
>>
>> RH> du /var | sort -nr | head -n 25
>>
>> RH> If you see something you don't recognize or that seems wrong
>> RH> 
>>
>>
>> RH> Robert Huff
>>
>>
>> RH> ___
>> RH> freebsd-questions@freebsd.org mailing list
>> RH> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>> RH> To unsubscribe, send any mail to
>> RH> "freebsd-questions-unsubscr...@freebsd.org"
>>
>>
>>
>>





-- 
С уважением,
 Eugen  mailto:kes-...@yandex.ru

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Re[2]: HELP: some process eat my /var

2012-11-05 Thread Eugen Konkov
Здравствуйте, Robert.

# du -h /var | sort -nr | head -n 25
976k/var/db/mysql/mysql
892k/var/mail/freeline.in.ua/luda
888M/var/log/radius/radacct/10.11.19.50
858M/var/crash
840k/var/mail/freeline.in.ua/luda/cur
836k/var/db/firebird/help
608k/var/spool
564k/var/db/pkg/perl-threaded-5.14.1_3
552k/var/spool/postfix
512B/var/named/dev
432k/var/db/ports
412k/var/db/pkg/python26-2.6.7_2
392k/var/spool/postfix/defer
354M/var/mail
264k/var/db/pkg/libX11-1.4.4,1
244k/var/db/pkg/en-freebsd-doc-20110521
236k/var/tmp
236k/var/mail/freeline.in.ua/znz2
224k/var/monit
223M/var/log/radius/radacct/10.10.0.2
172M/var/mail/freeline.in.ua
171M/var/mail/freeline.in.ua/office
170M/var/mail/freeline.in.ua/office/cur
158M/var/mail/kes.net.ua
157M/var/mail/kes.net.ua/kes

Something mistery take space, because of files take only 6.4G
# du -h -d 0 /var
6.4G/var

bug df says that there are more space was taken:
df -h
/dev/ada0s1d 30G 24G3.5G87%/var

6.4G vs 24G



Вы писали 3 ноября 2012 г., 5:01:49:


RH> Gary Aitken writes:

>>  Looks like /var/log has most of it.
>>  If you're running X, check for a huge Xorg.0.log.
>>  I had this problem as a result of a radeon graphics card that would get into
>>  some kind of reinitialization loop.
>>  In any case, look at the files in /var/log

RH> A way to check disk usage:

RH> du /var | sort -nr | head -n 25

RH> If you see something you don't recognize or that seems wrong
RH> 


RH> Robert Huff


RH> ___
RH> freebsd-questions@freebsd.org mailing list
RH> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
RH> To unsubscribe, send any mail to
RH> "freebsd-questions-unsubscr...@freebsd.org"




-- 
С уважением,
 Eugen  mailto:kes-...@yandex.ru

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Re[2]: HELP: some process eat my /var

2012-11-02 Thread Eugen Konkov
Здравствуйте, Bryan.

Вы писали 2 ноября 2012 г., 21:27:15:

BD> On 11/2/2012 2:20 PM, Eugen Konkov wrote:
>> Здравствуйте, Bryan.
>> 
>> Вы писали 2 ноября 2012 г., 21:09:49:
>> 
>> BD> On 11/2/2012 2:05 PM, Eugen Konkov wrote:
>>>> 858M./crash
>>>>
>>>> 1.3G./db
>>>>
>>>> 3.7G./log
>> 
>> BD> Cleanup old coredumps in /crash. Ensure /etc/newsyslog.conf captures all
>> BD> of your big logfiles in /var/log. Also consider moving whatever is large
>> BD> in /var/db elsewhere.
>> 
>> BD> Bryan
>> 
>> Notice df -h
>> /dev/ada0s1d 30G 23G3.7G87%/var
>> 
>> and notice du -h -d 1
>> 6.2G
>> 
>> I have only 6.2G are occupied by files
>> 
>> where 18Gb of disk space?
>> 

BD> Are you running MySQL? It uses hidden tmpfiles that may grow quite
BD> large. Restarting it may cleanup the space.

BD> Bryan

as I have showed  'fstat -f /var' have no mysql running.

as 'top' shows there is no zombie:
# top -SIHP
last pid: 99128;  load averages:  0.85,  0.93,  1.03
  up 3+04:05:04  21:48:50
186 processes: 5 running, 139 sleeping, 42 waiting
CPU 0:  0.0% user,  0.0% nice,  7.7% system,  8.5% interrupt, 83.8% idle
CPU 1:  0.7% user,  0.0% nice, 11.3% system,  5.6% interrupt, 82.4% idle
CPU 2:  1.4% user,  0.0% nice,  4.9% system,  9.2% interrupt, 84.5% idle
CPU 3:  0.7% user,  0.0% nice,  8.5% system,  7.7% interrupt, 83.1% idle
Mem: 97M Active, 1781M Inact, 264M Wired, 55M Cache, 112M Buf, 1274M Free
Swap: 2048M Total, 220K Used, 2048M Free

Maybe other process uses hidden files. How to find such files??



-- 
С уважением,
 Eugen  mailto:kes-...@yandex.ru

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Re[2]: HELP: some process eat my /var

2012-11-02 Thread Eugen Konkov
Здравствуйте, Bryan.

Вы писали 2 ноября 2012 г., 21:09:49:

BD> On 11/2/2012 2:05 PM, Eugen Konkov wrote:
>> 858M./crash
>> 
>> 1.3G./db
>> 
>> 3.7G./log

BD> Cleanup old coredumps in /crash. Ensure /etc/newsyslog.conf captures all
BD> of your big logfiles in /var/log. Also consider moving whatever is large
BD> in /var/db elsewhere.

BD> Bryan

Notice df -h
/dev/ada0s1d 30G 23G3.7G87%/var

and notice du -h -d 1
6.2G

I have only 6.2G are occupied by files

where 18Gb of disk space?

-- 
С уважением,
 Eugen  mailto:kes-...@yandex.ru

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

HELP: some process eat my /var

2012-11-02 Thread Eugen Konkov

how to find which process take space?


root@newflux:/var/log # cd /var
root@newflux:/var #
root@newflux:/var #
root@newflux:/var #
root@newflux:/var #
root@newflux:/var #
root@newflux:/var # df -h
Filesystem  SizeUsed   Avail Capacity  Mounted on
/dev/ada0s1a  2G455M1.3G25%/
devfs   1.0k1.0k  0B   100%/dev
/dev/ada0s1e3.9G488M3.1G13%/tmp
/dev/ada0s1f 37G 27G7.3G79%/usr
/dev/ada0s1d 30G 23G3.7G87%/var
/dev/ada0s1g216G8.0k199G 0%/backup
procfs  4.0k4.0k  0B   100%/proc
devfs   1.0k1.0k  0B   100%/var/named/dev
root@newflux:/var # fstat -f /var
USER CMD  PID   FD MOUNT  INUM MODE SZ|DV R/W
root fstat  97928   wd /var  2 drwxr-xr-x 512  r
root csh96949   wd /var  2 drwxr-xr-x 512  r
root mc 96947   wd /var 802560 drwxr-xr-x3072  r
root csh96124   wd /var  2 drwxr-xr-x 512  r
root snmpd  960247 /var 804161 -rw-r- 728  r
root mpd5   515854 /var 3691792 -rw-r--r--   6 rw
freeradi radiusd515543 /var 802703 -rw-r-   0  w
root inetd  226873 /var 3691804 -rw---   5  w
root cron   22392   wd /var 3772032 drwxr-x--- 512  r
root cron   223923 /var 3691803 -rw---   5  w
smmspsendmail   22311   wd /var 1926151 drwxrwx--- 512  r
smmspsendmail   223114 /var 1926203 -rw---  51  w
root sendmail   22202   wd /var 1926147 drwxr-xr-x 512  r
root sendmail   222025 /var 3691802 -rw---  80  w
bind named   7370   wd /var 401288 drwxr-xr-x 512  r
bind named   7370 root /var 401280 drwxr-xr-x 512  r
bind named   7370 jail /var 401280 drwxr-xr-x 512  r
root devd56935 /var 3691824 -rw---   4  w
quagga   bgpd46163 /var 3691791 -rw-r--r--   5 rw
quagga   zebra   46115 /var 3691788 -rw-r--r--   5 rw
root@newflux:/var # du -h -d 1
4.0k./.snap
4.0k./account
 12k./at
4.0k./audit
3.1M./backups
858M./crash
8.0k./cron
1.3G./db
 36k./empty
4.0k./heimdal
3.7G./log
352M./mail
8.0k./msgs
1.6M./named
4.0k./preserve
108k./run
4.0k./rwho
608k./spool
236k./tmp
 28k./yp
4.0k./games
4.0k./agentx
4.0k./cache
 28k./net-snmp
 28k./lost+found
212k./monit
6.2G.


-- 
 Eugen  mailto:kes-...@yandex.ru

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


9.1-PRERELEASE Panic String: double fault

2012-10-30 Thread Eugen Konkov
Здравствуйте, FreeBSD.

Fatal double fault:
eip = 0xc0e538e8
esp = 0xc7945004
ebp = 0xc7945c64
cpuid = 3; apic id = 03
panic: double fault
cpuid = 3
KDB: stack backtrace:
#0 0xc0af724f at kdb_backtrace+0x4f
#1 0xc0ac3c4f at panic+0x16f
#2 0xc0e68aab at dblfault_handler+0x9b
Uptime: 17h57m50s
Physical memory: 3534 MB
Dumping 452 MB: 437 421 405 389 373 357 341 325 309 293 277 261 245 229 213 197 
181 165 149 133 117 101 85 69 53 37 21 5

Reading symbols from /boot/kernel/accf_http.ko...Reading symbols from 
/boot/kernel/accf_http.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/accf_http.ko
Reading symbols from /boot/kernel/accf_data.ko...Reading symbols from 
/boot/kernel/accf_data.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/accf_data.ko
#0  doadump (textdump=1) at pcpu.h:244
244 pcpu.h: No such file or directory.
in pcpu.h
(kgdb) #0  doadump (textdump=1) at pcpu.h:244
#1  0xc0ac399f in kern_reboot (howto=260)
at /usr/src/sys/kern/kern_shutdown.c:448
#2  0xc0ac3c92 in panic (fmt=Variable "fmt" is not available.
) at /usr/src/sys/kern/kern_shutdown.c:636
#3  0xc0e68aab in dblfault_handler () at /usr/src/sys/i386/i386/trap.c:1051
#4  0xc0e538e8 in Xprot () at /usr/src/sys/i386/i386/exception.s:133
#5  0x00010046 in ?? ()
Previous frame inner to this frame (corrupt stack?)
(kgdb)





Fatal double fault:
eip = 0xc0e538e8
esp = 0xc7942004
ebp = 0xc7942c64
cpuid = 2; apic id = 02
panic: double fault
cpuid = 2
KDB: stack backtrace:
#0 0xc0af724f at kdb_backtrace+0x4f
#1 0xc0ac3c4f at panic+0x16f
#2 0xc0e68aab at dblfault_handler+0x9b
Uptime: 1d10h30m30s
Physical memory: 3534 MB
Dumping 447 MB: 432 416 400 384 368 352 336 320 304 288 272 256 240 224 208 192 
176 160 144 128 112 96 80 64 48 32 16

Reading symbols from /boot/kernel/accf_http.ko...Reading symbols from 
/boot/kernel/accf_http.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/accf_http.ko
Reading symbols from /boot/kernel/accf_data.ko...Reading symbols from 
/boot/kernel/accf_data.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/accf_data.ko
#0  doadump (textdump=1) at pcpu.h:244
244 pcpu.h: No such file or directory.
in pcpu.h
(kgdb) #0  doadump (textdump=1) at pcpu.h:244
#1  0xc0ac399f in kern_reboot (howto=260)
at /usr/src/sys/kern/kern_shutdown.c:448
#2  0xc0ac3c92 in panic (fmt=Variable "fmt" is not available.
) at /usr/src/sys/kern/kern_shutdown.c:636
#3  0xc0e68aab in dblfault_handler () at /usr/src/sys/i386/i386/trap.c:1051
#4  0xc0e538e8 in Xprot () at /usr/src/sys/i386/i386/exception.s:133
#5  0x00010046 in ?? ()
Previous frame inner to this frame (corrupt stack?)
(kgdb)


If you need cores I can send you.





-- 
 Eugen  mailto:kes-...@yandex.ru

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

panic: double fault

2012-10-27 Thread Eugen Konkov
uname -a
FreeBSD newflux 9.1-PRERELEASE FreeBSD 9.1-PRERELEASE #4 r239949: Fri Aug 31 
16:57:42 EEST 2012 root@newflux:/usr/obj/usr/src/sys/KES_KERN_v9  i386

Fatal double fault:
eip = 0xc0e538e8
esp = 0xc7945004
ebp = 0xc7945c64
cpuid = 3; apic id = 03
panic: double fault
cpuid = 3
KDB: stack backtrace:
#0 0xc0af724f at kdb_backtrace+0x4f
#1 0xc0ac3c4f at panic+0x16f
#2 0xc0e68aab at dblfault_handler+0x9b
Uptime: 17h57m50s
Physical memory: 3534 MB
Dumping 452 MB: 437 421 405 389 373 357 341 325 309 293 277 261 245 229 213 197 
181 165 149 133 117 101 85 69 53 37 21 5

Reading symbols from /boot/kernel/accf_http.ko...Reading symbols from 
/boot/kernel/accf_http.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/accf_http.ko
Reading symbols from /boot/kernel/accf_data.ko...Reading symbols from 
/boot/kernel/accf_data.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/accf_data.ko
#0  doadump (textdump=1) at pcpu.h:244
244 pcpu.h: No such file or directory.
in pcpu.h
(kgdb) #0  doadump (textdump=1) at pcpu.h:244
#1  0xc0ac399f in kern_reboot (howto=260)
at /usr/src/sys/kern/kern_shutdown.c:448
#2  0xc0ac3c92 in panic (fmt=Variable "fmt" is not available.
) at /usr/src/sys/kern/kern_shutdown.c:636
#3  0xc0e68aab in dblfault_handler () at /usr/src/sys/i386/i386/trap.c:1051
#4  0xc0e538e8 in Xprot () at /usr/src/sys/i386/i386/exception.s:133
#5  0x00010046 in ?? ()
Previous frame inner to this frame (corrupt stack?)
(kgdb)

-- 
 Eugen  mailto:kes-...@yandex.ru

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re[2]: vlan tagging in releng/8.3 not working

2012-08-15 Thread Eugen Konkov

RM> On Mon, Aug 13, 2012 at 3:39 PM, Rick Miller
RM>  wrote:
>> Hi All,
>>
>> I am running the latest releng/8.3 on a HP DL360 with an Intel 82599
>> 10G NIC using the ixgbe driver.  Without vlan tagging, tcpdump sees
>> traffic on the default vlan.  With vlan tagging there is no traffic on
>> the interface.  Wondering if anyone else has seen similar and/or might
>> be able to provide some additional information?
>>
>> I'm not seeing anything in syslog.  The interface is configured via rc.conf:
>>
>> cloned_interfaces="vlan0"
>> ifconfig_vlan0="inet 10.x.x.x  netmask=255.255.255.0 vlan $id vlandev ix0"

RM> I was missing ifconfig_ix0="up" in rc.conf.  After inserting this, it 
worked!

that is old bug of FreeBSD: interfaces do not auto up if there is only
vlan interfaces


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re[2]: ipfw counters for tables

2012-07-23 Thread Eugen Konkov
Здравствуйте, Ian.

Вы писали 23 июля 2012 г., 8:27:50:

IS> In freebsd-questions Digest, Vol 424, Issue 10, Message: 10
IS> On Sun, 22 Jul 2012 14:55:46 +0300 Eugen Konkov  wrote:

IS> Hi Eugen,

 >> I use ipfw tables to allow host to access to internet.
 >> is there counter for matched packets/bytes for table entry like for 
 >> ipfw rule?
 >> 
 >> #ipfw show 901
 >> rule packetsbytes
 >> 00901  302271108  27717115967 allow ip from 10.10.1.3 to any
 >> 
 >> #ipfw table 7 list
 >> ---table(7)---
 >> 10.7.60.41/32 100
 >> 
 >> No counters here (((

IS> No, there are no individual counters for matched entries in tables.  
IS> Apart from extra space cost, the accounting time cost would be huge; 
IS> lookups are fast but updating radix trees per match would be very slow.

IS> Also, a table may be referenced in multiple rules, or even twice in the
IS> same rule, so what could such a count really indicate?

IS> Of course, counts for matching the table are in the rule/s concerned:

IS> 16100583003060562 deny log logamount 20 ip from table(1) to any in 
recv ng0
IS> 16200 4449 226060 deny log logamount 20 tcp from
IS> table(25) to any dst-port 25,110 in recv ng0 setup
IS> 23000   45   2700 allow log logamount 100 tcp from
IS> table(22) to w.x.y.z dst-port 22 in recv ng0 setup

but if lookup function will return matched entry, then calling rule
may update appropriate counter.

matchedentry= lookup_table( PACKETDATA );
updatecounter(matchedentry);

#ipfw show 16100
16100583003060562 deny *counttable* log logamount 20 ip from table(1) 
to any in recv ng0
 5300 10.5.0.1/32
   300562 10.5.0.7/32
  8000  6 10.5.0.2/32

will this be slow?


IS> Myself, I'd be more interested in a last-match timestamp than a count 
IS> for table entries, but that won't happen either for the above reasons :)

IS> cheers, Ian




-- 
С уважением,
 Eugen  mailto:kes-...@yandex.ru

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


mpd5+igb+9.1prerelease = lag with "youtube HD 1080"

2012-07-22 Thread Eugen Konkov
Hi

http://www.youtube.com/watch?v=H2Lk_6U2864
when I work without vpn connection this video work fine and have a
good portion cached, but when I use VPN connection I have a video lag.

Have anybody same problem?


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


ipfw counters for tables

2012-07-22 Thread Eugen Konkov
Hi
I use ipfw tables to allow host to access to internet.
is there counter for matched packets/bytes for table entry like for ipfw rule?

#ipfw show 901
rule packetsbytes
00901  302271108  27717115967 allow ip from 10.10.1.3 to any

#ipfw table 7 list
---table(7)---
10.7.60.41/32 100

No counters here (((




-- 
 Eugen  mailto:kes-...@yandex.ru

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re[2]: what 'M' is meaning?

2012-05-30 Thread Eugen Konkov
Hi, Matthew.
MS> On 30/05/2012 20:59, Eugen Konkov wrote:
>> Hi, Freebsd-questions.
>> 
>> 8.3-STABLE #8 r236325M
>> 
>> what does 'M' in revision number mean?

MS> That you have local, uncommitted modifications to the /usr/src tree you
MS> compiled from.  Try 'svn diff'

MS> Cheers,

MS> Matthew

oh, yes, I have local modifications. I have removed that modules,
because of
make installkernel fail with 'no such file or directory'
despite on 'geom_part_ldm.ko' compiled successfully and exists
such situation and with others commeted.

Thank you.


Index: sys/modules/Makefile
===
--- sys/modules/Makefile(revision 236325)
+++ sys/modules/Makefile(working copy)
@@ -315,8 +315,6 @@
vr \
vte \
vx \
-   wb \
-   ${_wbwd} \
${_wi} \
wlan \
wlan_acl \
Index: sys/modules/ralfw/Makefile
===
--- sys/modules/ralfw/Makefile  (revision 236325)
+++ sys/modules/ralfw/Makefile  (working copy)
@@ -1,5 +1,6 @@
 # $FreeBSD$

-SUBDIR=rt2561 rt2561s rt2661 rt2860
+SUBDIR=rt2561 rt2561s rt2661
+# rt2860

 .include 
Index: sys/modules/geom/geom_part/Makefile
===
--- sys/modules/geom/geom_part/Makefile (revision 236325)
+++ sys/modules/geom/geom_part/Makefile (working copy)
@@ -4,7 +4,6 @@
geom_part_bsd \
geom_part_ebr \
geom_part_gpt \
-   geom_part_ldm \
geom_part_mbr \
geom_part_pc98 \
geom_part_vtoc8



-- 
С уважением,
 Eugen  mailto:kes-...@yandex.ru

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


what 'M' is meaning?

2012-05-30 Thread Eugen Konkov
Hi, Freebsd-questions.

8.3-STABLE #8 r236325M

what does 'M' in revision number mean?

-- 
 Eugen  mailto:kes-...@yandex.ru

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


re0 take 100% CPU

2012-05-25 Thread Eugen Konkov
How to look what re0 is doing?? And how to debug that?

last pid: 74164;  load averages: 17.97, 13.81, 14.40   
up 47+09:31:54  21:50:58
110 processes: 9 running, 87 sleeping, 14 waiting
CPU:  0.5% user,  0.0% nice,  1.6% system, 97.9% interrupt,  0.0% idle
Mem: 194M Active, 449M Inact, 204M Wired, 20K Cache, 112M Buf, 1143M Free
Swap: 512M Total, 512M Free

  PID USERNAME PRI NICE   SIZERES STATETIME   WCPU COMMAND
   12 root -76- 0K   112K WAIT65.3H 100.00% {irq256: re0}
65795 root  390 13420K  5804K select  19:58  0.63% snmpd
 2664 root  360 14608K  6812K RUN 75:49  0.54% bgpd
0 root -760 0K80K -   31.6H  0.44% {dummynet}
 7758 bind  360 75268K 62880K RUN178:21  0.24% {named}
   12 root -44- 0K   112K WAIT29.4H  0.10% {swi4: clock}

# systat -v
2 usersLoad 13.61 12.24 13.96  May 24 21:49

Mem:KBREALVIRTUAL   VN PAGER   SWAP PAGER
Tot   Share  TotShareFree   in   out in   out
Act  2561006368   626872 8116 1171172  count
All  3539609500  279281226356  pages
Proc:Interrupts
  r   p   d   s   w   Csw  Trp  Sys  Int  Sof  Flt  3 cow4404 total
 12  32  2207  106 4216 4404 3983   48 28 zfod  1 ata0 14
  ozfod  4119 hpet0 20
 4.1%Sys  93.4%Intr  2.6%User  0.0%Nice  0.0%Idle%ozfod   uhci0 ehci
|||||||||||   daefr   284 re0 256
==+++>  7 prcfr
40 dtbuf   44 totfr
Namei Name-cache   Dir-cache111725 desvn  react
   Callshits   %hits   % 64097 numvn  pdwak
31773177 100 27926 frevn  pdpgs
  intrn
Disks   ad1   da0 pass0209000 wire
KB/t  14.85  0.00  0.00198616 act
tps   1 0 0459200 inact
MB/s   0.01  0.00  0.0020 cache
%busy 2 0 0   1169956 free

# vmstat -i
interrupt  total   rate
irq14: ata0  5946124  1
irq20: hpet0  3979660990971
irq23: uhci0 ehci085  0
irq256: re0   3847013663939
Total 7832620862   1912
# uptime
 9:44PM  up 47 days,  9:25, 2 users, load averages: 9.05, 14.17, 15.61

#bwm-ng -I re0
  bwm-ng v0.6 (probing every 0.500s), press 'h' for help
  input: getifaddrs type: rate
  - iface   Rx   TxTotal
  ==
  re0:  13.32 Mb/s   12.42 Mb/s   25.74 Mb/s
  --
total:  14.95 Mb/s   13.94 Mb/s   28.89 Mb/s
# vmstat -z
ITEM   SIZE  LIMIT USED FREE  REQ FAIL SLEEP

UMA Kegs:   128,  0,  92,  28,  92,   0,   0
UMA Zones:  224,  0,  92,  10,  92,   0,   0
UMA Slabs:  284,  0,1158,   4,   29780,   0,   0
UMA RCntSlabs:  544,  0, 919,   5, 919,   0,   0
UMA Hash:   128,  0,   2,  28,   3,   0,   0
16 Bucket:   76,  0,  36,  14,  36,   0,   0
32 Bucket:  140,  0,  43,  13,  44,   0,   0
64 Bucket:  268,  0,  59,  11,  67,  90,   0
128 Bucket: 524,  0, 895,   1,   27120, 585,   0
VM OBJECT:  136,  0,   37976, 130,40520105,   0,   0
MAP:140,  0,   7,  49,   7,   0,   0
KMAP ENTRY:  72,  57505,  32, 127,   79899,   0,   0
MAP ENTRY:   72,  0,2094,1192,100480394,   0,   0
DP fakepg:   72,  0,   0,   0,   0,   0,   0
SG fakepg:   72,  0,   0,   0,   0,   0,   0
mt_zone:   2060,  0, 268,  11, 268,   0,   0
16:  16,  0,5106, 375,251057215,   0,   0
32:  32,  0,   26924, 196,1931894354,   0,   0
64:  64,  0,6372, 413,172309547,   0,   0
128:128,  0,   23931,   41019,195195229,   0,   0
256:256,  0,2786, 289,2302309652,   0,   0
512:512,  0, 638,  58, 4189195,   0,   0
1024:   

Re[2]: find -printf

2012-04-20 Thread Eugen Konkov
Здравствуйте, Chuck.

Вы писали 20 апреля 2012 г., 22:12:50:

CS> On Apr 20, 2012, at 12:08 PM, Eugen Konkov wrote:
>> checking 'man find' there is no -printf parametr.
>> 
>> Does FreeBSD has different version of find utility compare to linux?

CS> Yes.  Linux comes with GNU find.

>> Maybe some knows workaroud for that?

CS> Install GNU find.

cd /usr/ports/misc/findutils && make isntall clean
thank you. that works =)

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


find -printf

2012-04-20 Thread Eugen Konkov
Hi

I have downloaded asvn script to save also filepermitions for files on
FreeBSD in svn repository
http://svn.apache.org/repos/asf/subversion/trunk/contrib/client-side/asvn

but this script fails with:
checking /some/dir for symlinks
find: -printf: unknown primary or operator

in source of script there is a command:
find "$dir" \( -type l -printf "file='%f' dest='%l'\n" \)  -o  -type d ! -name 
"`basename \"$dir\"`" -prune

checking 'man find' there is no -printf parametr.

Does FreeBSD has different version of find utility compare to linux?
Maybe some knows workaroud for that?



-- 
 Eugen  mailto:kes-...@yandex.ru

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re[4]: Problem with vlans on igb (was: fsck problem FreeBSD 8.3)

2012-04-17 Thread Eugen Konkov
Hi, Damien.

With this configuration works without reboots

ifconfig_igb0="-rxcsum -txcsum -lro -tso up"
ifconfig_igb1="-rxcsum -txcsum -lro -tso up"
ifconfig_igb2="-rxcsum -txcsum -lro -tso -vlanhwtag up"
ifconfig_igb3="-rxcsum -txcsum -lro -tso up"


igb0 has only one vlan
igb1 has two vlans
igb2 has 16 vlans
igb3 has 4 vlans


if igb2 has vlanhwtag enabled then server starts to reboot

DF> Yes, I suggest you try with "-vlanhwtag" as well.
DF> If that stops your unwanted reboots, you may want to remove it and see
DF> if the situation changes.


DF> 2012/4/12 Коньков Евгений :
>> Now i350 is configured as:
>>
>> /etc/rc.conf
>> ## TCP/IP
>> ifconfig_igb0="-rxcsum -txcsum -lro -tso up"
>> ifconfig_igb1="-rxcsum -txcsum -lro -tso up"
>> ifconfig_igb2="-rxcsum -txcsum -lro -tso up"
>> ifconfig_igb3="-rxcsum -txcsum -lro -tso up"
>>
>> # ifconfig -m igb1
>> igb1: flags=8843 metric 0 mtu 1500
>>        
>> options=400b8
>>        
>> capabilities=505bb
>>        ether a0:36:9f:00:66:a5
>>        media: Ethernet autoselect (1000baseT )
>>        status: active
>>        supported media:
>>                media autoselect
>>                media 1000baseT
>>                media 1000baseT mediaopt full-duplex
>>                media 100baseTX mediaopt full-duplex
>>                media 100baseTX
>>                media 10baseT/UTP mediaopt full-duplex
>>                media 10baseT/UTP
>>
>> #pciconf -lv
>> igb0@pci0:1:0:0:        class=0x02 card=0x00018086 chip=0x15218086 
>> rev=0x01 hdr=0x00
>>    vendor     = 'Intel Corporation'
>>    class      = network
>>    subclass   = ethernet
>>
>>
>>
>> Do I need to disable VLAN_HWCSUM, VLAN_HWFILTER,VLAN_HWTSO also?
>>
>> PS. I will try to disable those after the holidays
>>
>> DF> Try disabling hardware VLAN tagging like so, I know we had problems a
>> DF> few years back with it.
>>
>> DF> in /etc/rc.conf :
>> DF> ifconfig_igb2=" -vlanhwtag -tso -lro up"
>>
>>
>> DF> 2012/4/11 KES :


  Пересылаемое сообщение  
 11.04.2012, 13:14, "KES" :

 10.04.2012, 08:50, "Da Rock" :

>  On 04/10/12 05:02, Коньков Евгений wrote:
>>   Yes, I have tested.
>>   and on this hardware on this OS it works from  Fri Feb 24 17:07:48 UTC 
>> 2012
>>   but last two days:
>>   reboot   ~ Mon Apr  9 19:50
>>   reboot   ~ Mon Apr  9 18:30
>>   reboot   ~ Sun Apr  8 20:55
>>   reboot   ~ Sun Apr  8 20:00
>>   reboot   ~ Sun Apr  8 19:49
>>   reboot   ~ Sun Apr  8 17:43
>>   reboot   ~ Sun Apr  8 10:58
>>   reboot   ~ Sat Apr  7 21:13
>>   reboot   ~ Sat Apr  7 16:37
>>   reboot   ~ Sat Apr  7 16:07
>>
>>   I remembered. One thing changed.
>>   I add vlans to igb2, but no traffic flow on that devices yet.
>  Perhaps you should test removing the vlans and see if things improve?

 I have removed vlans, two day server works without reboots

>>   Before this I have use: igb0, igb1, igb3
>>   igb0@pci0:1:0:0:    class=0x02 card=0x00018086 chip=0x15218086 
>> rev=0x01 hdr=0x00
>>    vendor = 'Intel Corporation'
>>    class  = network
>>    subclass   = ethernet
>>   igb1@pci0:1:0:1:    class=0x02 card=0x00018086 chip=0x15218086 
>> rev=0x01 hdr=0x00
>>    vendor = 'Intel Corporation'
>>    class  = network
>>    subclass   = ethernet
>>   igb2@pci0:1:0:2:    class=0x02 card=0x00018086 chip=0x15218086 
>> rev=0x01 hdr=0x00
>>    vendor = 'Intel Corporation'
>>    class  = network
>>    subclass   = ethernet
>>   igb3@pci0:1:0:3:    class=0x02 card=0x00018086 chip=0x15218086 
>> rev=0x01 hdr=0x00
>>    vendor = 'Intel Corporation'
>>    class  = network
>>    subclass   = ethernet
>>
>>   ifconfig_vlan100="inet  192.168.0.1 netmask 255.255.255.0 vlan 100 
>> vlandev igb2" #nALL
>>   ifconfig_vlan101="inet  192.168.1.1 netmask 255.255.255.0 vlan 101 
>> vlandev igb2" #n2 p24
>>   ifconfig_vlan102="inet  192.168.2.1 netmask 255.255.255.0 vlan 102 
>> vlandev igb2" #n1 p23
>>   ifconfig_vlan103="inet  192.168.3.1 netmask 255.255.255.0 vlan 103 
>> vlandev igb2" #n3 p22
>>   ifconfig_vlan104="inet  192.168.4.1 netmask 255.255.255.0 vlan 104 
>> vlandev igb2" #n7,9 p21
>>   ifconfig_vlan105="inet  192.168.5.1 netmask 255.255.255.0 vlan 105 
>> vlandev igb2" #n11 p20
>>   ifconfig_vlan106="inet  192.168.6.1 netmask 255.255.255.0 vlan 106 
>> vlandev igb2" #n13 p19
>>   ifconfig_vlan107="inet  192.168.7.

is it possible to update ports tree via svn?

2012-04-17 Thread Eugen Konkov
I have found:
http://wiki.freebsd.org/PortsSVN
but trying to update ports tree using svn co svn://svn.freebsd.org/ports
says that there is no such repository

is it possible to update ports tree via svn?


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re[2]: newfs create to little inodes

2012-04-16 Thread Eugen Konkov
>>
>> Does newfs always must create sufficient count of inodes? 

RB> This begs the question of 'what is a sufficient count of inodes?"

RB> It is well-known that the required 'inode densidy' depends on the usage
RB> of the filesystem.

RB> Newfs uses defaults that are 'reasonable' for 'typical' use, and are
RB> rarely insuficient.
'typical' use: install system and install ports
fetch sources and buildworld
this cause me insuficient inodes
>> Filesystem size   used  avail  capacity iused ifree %iused  mounted on
>> /dev/ad0s1a 4.9G   2.1G  2.4G   47%   331k0 100%   /mnt/disk1

I know 'man' and can read that. I only ask to use different values for
disks with size ~5G. this change will make life easier for newbies.
I only question: 'Is this change will make life easier for others'?
I do not ask, why I can not do something, or help me or else.


RB> *IF*, however, you know you will be creating lots of 'tiny' files on a
RB> particular filesystem, it is a GOOD IDEAT(tm) to use non-default settings.

>>   or I must
>> supply some addition options when creating FS?

RB> "Read the fine manpage" applies. along with 'know your useage'.

>> #df -ih
>> Filesystem size   used  avail  capacity iused ifree %iused  mounted on
>> /dev/ad0s1a 4.9G   2.1G  2.4G   47%   331k0 100%   /mnt/disk1
>>
RB> Yup.  RTFM is -definitely- indicated.
>>



-- 
С уважением,
 Eugen  mailto:kes-...@yandex.ru

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re[2]: newfs create to little inodes

2012-04-16 Thread Eugen Konkov
Здравствуйте, Greg.

Вы писали 16 апреля 2012 г., 18:39:14:

GL> -BEGIN PGP SIGNED MESSAGE-
GL> Hash: SHA1

GL> On 4/16/12 11:07 AM, Eugen Konkov wrote:
>> Здравствуйте, Greg.
>> 
>> Вы писали 16 апреля 2012 г., 17:28:59:
>> 
>> GL> -BEGIN PGP SIGNED MESSAGE- GL> Hash: SHA1
>> 
>> GL> On 4/16/12 10:01 AM, Eugen Konkov wrote:
>>>> 
>>>> Does newfs always must create sufficient count of inodes? or I 
>>>> must supply some addition options when creating FS?
>>>> 
>>>> #df -ih Filesystem size   used  avail  capacity iused ifree
>>>> %iused mounted on /dev/ad0s1a 4.9G   2.1G  2.4G   47%   331k
>>>> 0 100% /mnt/disk1
>>>> 
>>>> 
>> 
>> GL> Hello Eugen,
>> 
>> GL> Yes, please check the -i option of newfs: GL>
>> http://www.freebsd.org/cgi/man.cgi?query=newfs
>> 
>> GL> Hope that helps, GL> Greg
>> 
>> unhappy defaults for disks about ~5G capacity because of this
>> default create only 350k inodes installig system and extract ports
>> eats about 95% of inodes =(
>> 
>> but about 50% disk space are free yet
>> 
>> 

GL> Yes, please try increasing the number of inodes when you create the
GL> filesystem.  The -i option is used to do that if you are not happy
GL> with the default picked by newfs.

I use newfs -U -i 1024 /dev/ad0s1a  I think I got enogh inodes

But maybe post the PR:
 use -i 1024 as default for disks ~5G when doing newfs?


-- 
С уважением,
 Eugen  mailto:kes-...@yandex.ru

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re[2]: newfs create to little inodes

2012-04-16 Thread Eugen Konkov
Здравствуйте, Greg.

Вы писали 16 апреля 2012 г., 17:28:59:

GL> -BEGIN PGP SIGNED MESSAGE-
GL> Hash: SHA1

GL> On 4/16/12 10:01 AM, Eugen Konkov wrote:
>> 
>> Does newfs always must create sufficient count of inodes? or I
>> must supply some addition options when creating FS?
>> 
>> #df -ih Filesystem size   used  avail  capacity iused ifree %iused
>> mounted on /dev/ad0s1a 4.9G   2.1G  2.4G   47%   331k0 100%
>> /mnt/disk1
>> 
>> 

GL> Hello Eugen,

GL> Yes, please check the -i option of newfs:
GL> http://www.freebsd.org/cgi/man.cgi?query=newfs

GL> Hope that helps,
GL> Greg

unhappy defaults for disks about ~5G capacity
because of this default create only 350k inodes
installig system and extract ports eats about 95% of inodes =(

but about 50% disk space are free yet


-- 
С уважением,
 Eugen  mailto:kes-...@yandex.ru

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


newfs create to little inodes

2012-04-16 Thread Eugen Konkov

Does newfs always must create sufficient count of inodes? or I must
supply some addition options when creating FS?

#df -ih
Filesystem size   used  avail  capacity iused ifree %iused  mounted on
/dev/ad0s1a 4.9G   2.1G  2.4G   47%   331k0 100%   /mnt/disk1


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


ia64 vs amd64

2012-04-16 Thread Eugen Konkov
Hi

I have Corei3 540
What is the best fit to this processor: ia64 or amd64?
and what one from those is more stable?

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Does FreeBSD can run as dom0 XEN?

2010-04-12 Thread Eugen Konkov
Hi, all

Does FreeBSD 9-CURRENT can run as dom0 XEN?


-- 
 mailto:kes-...@yandex.ru

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"