Custom release ISO questions.

2013-09-04 Thread Sergey
Hi all!

Is there a way to create custom ISO without buildworld?
I just want to edit some configs and bsdinstall scripts for silent
automated install - why need to recompile whole world?
It will be great if you'll share some useful links about this process.

Thanks.
___
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: Custom release ISO questions.

2013-09-04 Thread Sergey
Thank you Paul!

 mkisofs ...
It is interesting, does the Linux version of mkisofs fit?

 slightly different approach.
Very nice! Thanks again.

On Wed, Sep 4, 2013 at 4:17 PM, Paul Wootton 
paul-free...@fletchermoorland.co.uk wrote:

 On 09/04/13 10:27, Sergey wrote:

 Hi all!

 Is there a way to create custom ISO without buildworld?
 I just want to edit some configs and bsdinstall scripts for silent
 automated install - why need to recompile whole world?
 It will be great if you'll share some useful links about this process.

 Thanks.


 Hi,

 To create a custom ISO, download the ISO you want to use as your base, use
 tar to extract the ISO into a new directory, make the changes you want and
 then run mkisofs -V FreeBSD9 -J -R -b boot/cdboot -no-emul-boot -o
 ../freebsd_custom.iso . from the new directory.
 That will create a bootable CD.

 What I did when making a custom install CD for my server (it's 1000s of
 miles away in a datacenter) was a slightly different approach.
 I created a sparse file (sparse to save on disk space) the exact size of
 my server harddrive on my running BSD box, used mdconfig to give me a md
 device and pointed VirtualBox at it. Within a VBox session, I did a normal
 install (manually created the ZFS filing systems), made all the config
 changes I wanted, installed the apps I wanted then shut the VBox session
 down. I DD-ed in the md device and piped it to bzip2, creating a bz2 file.
 Added the bz2 file to the custom BSD install ISO and modified /etc/rc.local
 file to un-bzip the bz2 file, pipe it to mbuffer (so the opperator could
 see something was happening) and write the output to the harddrive, popping
 the reset line when complete.
 When the server restarted, it was configured with all the right user
 accounts, ip addresses, nameserver settings etc.

 Just my 2 pence worth...

 Paul

___
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


chmod go-r /tmp

2013-08-29 Thread Kozlov Sergey
Hi

As I know, all the applications know the names of files they create in /tmp.
So is it ok to chmod go-r /tmp for security reasons, so the attacker
can't get a list of temp files? Won't it break any applications?

I search a lot, but I couldn't find anything about it.
All the /tmp security hardening advised is to set nosuid,noexec for the
partition.

Tanks for answers.

Kozlov Sergey.
___
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


CURDIR-relative paths in ports' Makefiles

2013-08-27 Thread Koslov Sergey

Hello

I've noticed that many ports are using ${.CURDIR}/../../some/port 
construction in their Makefiles.


But if you copy on of these ports elsewhere it won't work as expected 
because of the relative path.

Shouldn't they use ${PORTSDIR}/some/port instead?

Thanks for the replies.

Kozlov Sergey
___
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


Redmine rmagick dependencies

2013-07-09 Thread Kozlov Sergey
Hi all. This is my first post.

Recently the redmine port was updated to 2.3.1 and when i tried to install
it i've noticed that it has two rmagick dependencies -
ruby-rmagick(optional) and rubygem-rmagick(non-optional).
ruby-rmagic and rubygem-rmagick ports have the same COMMENT and VERSION so
i have some questions:

1) What's the difference between ruby-rmagick and rubygem-rmagick?
2) Why does redmine need rubygem-rmagick even if i turn rmagick option off
(is it a bug)?

Before the port was updated i've installed redmine dependencies using
bundler, and i had no rmagick at all while redmine working properly.

Best regards,
Kozlov Sergey.
___
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: Cant boot 9-RELEASE on Intel L440GX+ based system

2012-08-03 Thread Sergey Listopad
2012/8/3 jb jb.1234a...@gmail.com:
 Sergey Listopad psychosensor at gmail.com writes:


 Hi.

 I try to boot topic on retro dual PIII Intel L440GX+ based system. It
 is onboard AIC-7896 SCSI controller with 1 COMPAQ HDD. CDROM is IDE.
 When I try boot from installation CD, boot stuck on

 CD Loader 1.2
 ...
 BTX loader 1.00 BTX version is 1.02
 Consoles: internal video/keyboard
 BIOS CD is cd0
 BIOS drive A: is disk0

 If I remove HDD, system (/boot/loader) boot from CD just fine. Then I
 insert HDD (hotswap) and able to install on it. But after reboot (with
 installation CD disk removed from drive) system unable to boot. And
 stuck on the same place, after
 ...
 BIOS drive A: is disk0

 Maybe anybody can help me to resolve this issue. I can post any
 additional information which may be helpful.

 Thanx.


 This has been reported for FreeBSD and PC-BSD for quite some time.

 The booting sequence always looks like this:
 ...
 BIOS drive A: is disk0    last message seen
 BIOS drive B: is disk1    or this
 ...

 Based on Google search results:
 - solved by disabling SATA in BIOS
 - combination of IDE (ATA) and SATA disks caused a problem, disconnecting
   either one solved it; it could also mean a problem with hd device driver
 - old/buggy firmware; BIOS update solved the problem
 - disable ACPI, or Firewire, or USB emulation, or ... in BIOS :-)
 - A wild guess could be that there's something on the RAID volume that's
   keeping the boot loader from working. Maybe the partition table is wrong
   in a subtle way? If you can get the RAID array to work *after* you boot
   from a FreeBSD installation CD (i.e. boot the machine without the
   drives, add drives later), try clearing the first megabyte of the array
   (dd if=/dev/zero of=/dev/yourdrive bs=1m count=1).
 - With my rocketraid somethingsomething PCI-SATA2 card with disks
   connected crashes the BTX loader. Connecting the disks to the internal
   via epia motherboard solved the problem ...
   I have a feeling that it might be some combinations of BTX, BIOS and
   RAID firmware that causes these crashes.
 - CC'ing John Baldwin on this, as he has knowledge of BTX's internals.

 For those of you who are adventurous:
 http://svnweb.freebsd.org/base/head/sys/boot/i386/loader/


I'he updated BIOS and now all works as expected.
System is bootable from installation CD with HDD connected, system
bootable from HDD.

Thanks for help.


-- 
S.Listopad
___
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: Cant boot 9-RELEASE on Intel L440GX+ based system

2012-08-02 Thread Sergey Listopad
2012/8/1 jb jb.1234a...@gmail.com:
 Sergey Listopad psychosensor at gmail.com writes:


 Hi.

 I try to boot topic on retro dual PIII Intel L440GX+ based system. It
 is onboard AIC-7896 SCSI controller with 1 COMPAQ HDD. CDROM is IDE.
 When I try boot from installation CD, boot stuck on

 CD Loader 1.2
 ...
 BTX loader 1.00 BTX version is 1.02
 Consoles: internal video/keyboard
 BIOS CD is cd0
 BIOS drive A: is disk0

 If I remove HDD, system (/boot/loader) boot from CD just fine. Then I
 insert HDD (hotswap) and able to install on it. But after reboot (with
 installation CD disk removed from drive) system unable to boot. And
 stuck on the same place, after
 ...
 BIOS drive A: is disk0

 Maybe anybody can help me to resolve this issue. I can post any
 additional information which may be helpful.

 Thanx.


 If FreeBSD boot loader can not find a root partition (slice), you can help
 with a boot parameter, for example
 vfs.root.mountfrom=ufs:ad4s4a

 After booting, verify and update /etc/fstab, otherwise add it to
 /boot/loader.conf .

 Also, the FreeBSD boot slice must be marked as bootable (active).
 jb

As you can see, bootstrap process stuck much earlier kernel
booting/root mounting. It stuck on loader stage (loader can't do
something. But what exactly?)

I've been able to boot system manually (so system on HDD is workable),
by skipping loader stage (boot kernel directly from boot block prompt)
   FreeBSD/i386 BOOT
 Default: 0:ad(0p2)/boot/loader
 boot:/boot/kernel/kernel

and then
mountroot ufs:/dev/da0p2
-- 
S.Listopad
___
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: Cant boot 9-RELEASE on Intel L440GX+ based system

2012-08-02 Thread Sergey Listopad
2012/8/2 jb jb.1234a...@gmail.com:
 Sergey Listopad psychosensor at gmail.com writes:

 ...
 As you can see, bootstrap process stuck much earlier kernel
 booting/root mounting. It stuck on loader stage (loader can't do
 something. But what exactly?)

 I've been able to boot system manually (so system on HDD is workable),
 by skipping loader stage (boot kernel directly from boot block prompt)
FreeBSD/i386 BOOT
  Default: 0:ad(0p2)/boot/loader
  boot:/boot/kernel/kernel

 OK. So it looks like you have succeeded with stage 1 and 2.
 At this point the boot slice is known - the boot process knows where to find
 defaults.
 After that stage 3 should be auto-executed, but it does not.
It is auto-executed, but stuck.

So far I have system with GPT partitioning scheme. To exclude this
layer, I've reinstall system with MBR scheme, but loader(8) stuck in
the same place.

BTX loader 1.00 BTX version is 1.02
Consoles: internal video/keyboard
BIOS drive A: is disk0


 At this point check if you have /boot.config by chance. This file, if exists,
 may contain options modifying stages of the boot process, in this case
 the transition from stage 2 to 3 is of interest.
 Check it out and, if applies, read BOOT.CONFIG(5) and its examples.

 jb


 ___
 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



-- 
S.Listopad
___
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


Cant boot 9-RELEASE on Intel L440GX+ based system

2012-08-01 Thread Sergey Listopad
Hi.

I try to boot topic on retro dual PIII Intel L440GX+ based system. It
is onboard AIC-7896 SCSI controller with 1 COMPAQ HDD. CDROM is IDE.
When I try boot from installation CD, boot stuck on

CD Loader 1.2
...
BTX loader 1.00 BTX version is 1.02
Consoles: internal video/keyboard
BIOS CD is cd0
BIOS drive A: is disk0

If I remove HDD, system (/boot/loader) boot from CD just fine. Then I
insert HDD (hotswap) and able to install on it. But after reboot (with
installation CD disk removed from drive) system unable to boot. And
stuck on the same place, after
...
BIOS drive A: is disk0

Maybe anybody can help me to resolve this issue. I can post any
additional information which may be helpful.

Thanx.

-- 
S.Listopad
___
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: Cant boot 9-RELEASE on Intel L440GX+ based system

2012-08-01 Thread Sergey Listopad
2012/8/1 jb jb.1234a...@gmail.com:
 Sergey Listopad psychosensor at gmail.com writes:


 Hi.

 I try to boot topic on retro dual PIII Intel L440GX+ based system. It
 is onboard AIC-7896 SCSI controller with 1 COMPAQ HDD. CDROM is IDE.
 When I try boot from installation CD, boot stuck on

 CD Loader 1.2
 ...
 BTX loader 1.00 BTX version is 1.02
 Consoles: internal video/keyboard
 BIOS CD is cd0
 BIOS drive A: is disk0


 I would suggest that you get a Live CD from one of Linux distros: Knoppix,
 Debian, Fedora.
 It looks criticial to learn more about your disk (manufacturer, model, etc) -
 you get it with 'dmesg', and about your disk partitions - you get it with
 'cfdisk',or 'fdisk', or 'parted'
 Post it all here.

HDD is COMPAQ AD00932372 9.1Gb 1RPM
It is autopartitioned by bsd installer on step 2 (boot without HDD and
insert it when kernel is booting).


-- 
S.Listopad
___
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: compiling glib20 failed

2012-04-04 Thread Sergey Kandaurov
On 4 April 2012 07:02, gahn ipfr...@yahoo.com wrote:
 hi gurus:

 i got problem with compiling glib20:

 ===   glib-2.28.8_4 depends on file: /usr/local/bin/perl5.10.1 - found
 /libexec/ld-elf.so.1: /usr/local/lib/liblzma.so.5: version XZ_5.0 required by 
 /usr/bin/xz not defined
 ===  Missing license file for LGPL20 in 
 /usr/ports/devel/glib20/work/glib-2.28.8/COPYING
 *** Error code 1

 Stop in /usr/ports/devel/glib20.
 *** Error code 1


 basically i was trying to install tshark on freebsd 8.1 but it told me i need 
 to upgrade glib but i got into this mess.


Looks like the source of your problem may lie in that your base /usr/bin/xz
tries to dlopen /usr/local/lib/liblzma.so.5 installed from ports and not
the one from base (i.e. there should be /usr/lib/liblzma.so.5 instead).
The one from ports doesn't have the symbol versioning
(or at least doesn't have specific symbols the base xz wants)
and, for aught I know, shall not be used by the base xz in any way.

I wonder how did you manage to install xz from ports on 8.1
as this port is specifically IGNORE'd to install on 8.1 system
with the reason is already in the base system.

First I would try to pkgrm xz and see how it helps.

-- 
wbr,
pluknet
___
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


BUS_SETUP_INTR definition

2011-11-09 Thread Sergey Ryazanov
Hello,

I learning interrupt handling inside FreeBSD kernel but can't find
BUS_SETUP_INTR() function realization or even definition.
Could somebody advice me where defined and realized BUS_SETUP_INTR()
function/macro?

-- 
With best wishes
Sergey Ryazanov
___
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: BUS_SETUP_INTR definition

2011-11-09 Thread Sergey Ryazanov
2011/11/9 Sergey Ryazanov ryazanov@gmail.com:
 I learning interrupt handling inside FreeBSD kernel but can't find
 BUS_SETUP_INTR() function realization or even definition.
 Could somebody advice me where defined and realized BUS_SETUP_INTR()
 function/macro?

I found the answer on one's own.

BUS_SETUP_INTR() is the inline function defined in
/usr/obj/usr/src/sys/XXX/*/bus_if.h which is generated during build
time from /sys/kern/bus_if.m template.

-- 
With best wishes
Sergey Ryazanov
___
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 error RTC BIOS diagnostic error 8fixed_disk means?

2011-03-06 Thread Sergey
Hello All!

I have motherboard INTEL S3200SHX and two SATA drive.
ad0: 152627MB WDC WD1600JD-00GBB0 02.05D02 at ata0-master UDMA100 SATA 1.5Gb/s
ad2: 1430799MB Seagate ST31500541AS CC34 at ata1-master UDMA100 SATA 3Gb/s

I see  RTC BIOS diagnostic error 8fixed_disk error  at /var/run/dmesg.boot.
What this error means?

Bye. Serg   
___
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


ntpd on 8.1 cycles around select() with EBADF

2010-11-17 Thread Sergey Kandaurov
Hi.

This is the second time I noted it.

 2581 root 1 1180 11736K  3532K CPU66  60.7H 100.00% ntpd

# ntpq -p
localhost: timed out, nothing received
***Request timed out

` /etc/rc.d/ntpd restart` make it work. What can be the reason ?

  2581 ntpd CALL  select(0x420,0x7fffec20,0,0,0)
  2581 ntpd RET   select -1 errno 9 Bad file descriptor
  2581 ntpd CALL  stat(0x7fffe100,0x7fffe080)
  2581 ntpd NAMI  /usr/share/nls/C/libc.cat
  2581 ntpd RET   stat -1 errno 2 No such file or directory
  2581 ntpd CALL  stat(0x7fffe100,0x7fffe080)
  2581 ntpd NAMI  /usr/share/nls/libc/C
  2581 ntpd RET   stat -1 errno 2 No such file or directory
  2581 ntpd CALL  stat(0x7fffe100,0x7fffe080)
  2581 ntpd NAMI  /usr/local/share/nls/C/libc.cat
  2581 ntpd RET   stat -1 errno 2 No such file or directory
  2581 ntpd CALL  stat(0x7fffe100,0x7fffe080)
  2581 ntpd NAMI  /usr/local/share/nls/libc/C
  2581 ntpd RET   stat -1 errno 2 No such file or directory
  2581 ntpd CALL  clock_gettime(0xd,0x7fffd7e0)
  2581 ntpd RET   clock_gettime 0
  2581 ntpd CALL  getpid
  2581 ntpd RET   getpid 2581/0xa15
  2581 ntpd CALL  sendto(0x3,0x7fffd870,0x43,0,0,0)
  2581 ntpd GIO   fd 3 wrote 67 bytes
   99Nov 17 18:14:17 ntpd[2581]: select() error: Bad file descriptor
  2581 ntpd RET   sendto 67/0x43


-- 
wbr,
pluknet
___
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


Routes to local addresses through lo0 on 8.0-BETA4

2009-09-14 Thread Sergey Listopad
Hi!

On  8.0-BETA4 gate I see than in routing table are number of routes
(link# records) through lo0 for some local addresses:

hole netstat -rnfinet | grep lo0
127.0.0.1  link#7 UH  030764lo0
172.22.254.10  link#7 UHS 00lo0
192.168.253.254link#7 UHS 00lo0

xl0: flags=8943UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST metric
0 mtu 1500
options=9RXCSUM,VLAN_MTU
ether 00:04:76:16:5b:bc
inet 10.106.148.206 netmask 0xf000 broadcast 10.106.159.255
media: Ethernet autoselect (100baseTX full-duplex)
status: active
[...]
xl2: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500
options=9RXCSUM,VLAN_MTU
ether 00:b0:d0:e1:6b:62
inet 192.168.253.254 netmask 0xff00 broadcast 192.168.253.255
media: Ethernet autoselect (100baseTX full-duplex)
status: active
tun3: flags=8051UP,POINTOPOINT,RUNNING,MULTICAST metric 0 mtu 1390
inet 172.22.254.10 -- 172.22.254.9 netmask 0x
Opened by PID 1971

Is it normal.
On older FreeBSD I see link# records only for network prefix.

-- 
S.Listopad
___
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: ath(4) Atheros AR9285 support

2009-09-08 Thread Sergey Vinogradov
herbs wrote:
 I had serious problems using the port hal in combination with an Atheros
 WiFi card. Maybe disable hal and try again?
 
 Cheers
 herb langhans
  
 On Tue, Sep 08, 2009 at 05:23:10PM +0400, Sergey Vinogradov wrote:
 Hi,
 Just wanted to know, if there will be any Atheros AR9285 support in
 ath(4) driver in nearest future? I've got my ASUS Eee 1005HA with one of
 these wireless adapters, and it doesn't seem to be working.

 -- 
 wbr,
 Boo

 
 
 
It's a fresh install, nothing but base system and GENERIC kernel installed.

-- 
wbr,
Boo



signature.asc
Description: OpenPGP digital signature


FreeBSD on Dell Servers

2009-03-23 Thread Sergey Kirichok
Hi all,

 

Yesterday we successfully tested FreeBSD 7.0 on servers Dell PowerEdge 1850
and Dell PowerEdge R200.

Installation passed correctly without any issues, both servers works
properly.

If needed, you may add this information to supported hardware.

 

 

Best regards,
Sergey Kirichok
Technical Director,

MiroMIX United Ltd.

Dell Authorised Distributor

Dell Authorised Service Provider

Dell | EMC2  Service Delivery Partner

Office phone +380 44 503 0115
Fax: +380 44 503 0116
Desk phone +380 44 503 0117
Mobile: +380 50 352 9729
e-mail: sergey_kiric...@miromix.kiev.ua

 

FreeBSD  7.0-RC1 FreeBSD 7.0-RC1 #0: Mon Dec 24 12:18:24 UTC 2007 
r...@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386

Mar 21 08:42:44  syslogd: kernel boot file is /boot/kernel/kernel
Mar 21 08:42:44  kernel: Copyright (c) 1992-2007 The FreeBSD Project.
Mar 21 08:42:44  kernel: Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 
1991, 1992, 1993, 1994
Mar 21 08:42:44  kernel: The Regents of the University of California. All 
rights reserved.
Mar 21 08:42:44  kernel: FreeBSD is a registered trademark of The FreeBSD 
Foundation.
Mar 21 08:42:44  kernel: FreeBSD 7.0-RC1 #0: Mon Dec 24 12:18:24 UTC 2007
Mar 21 08:42:44  kernel: r...@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC
Mar 21 08:42:44  kernel: Timecounter i8254 frequency 1193182 Hz quality 0
Mar 21 08:42:44  kernel: CPU: Intel(R) Xeon(TM) CPU 3.20GHz (3192.22-MHz 
686-class CPU)
Mar 21 08:42:44  kernel: Origin = GenuineIntel  Id = 0xf4a  Stepping = 10
Mar 21 08:42:44  kernel: 
Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE
Mar 21 08:42:44  kernel: 
Features2=0x641dSSE3,RSVD2,MON,DS_CPL,CNXT-ID,CX16,xTPR
Mar 21 08:42:44  kernel: AMD Features=0x2010NX,LM
Mar 21 08:42:44  kernel: AMD Features2=0x1LAHF
Mar 21 08:42:44  kernel: Logical CPUs per core: 2
Mar 21 08:42:44  kernel: real memory  = 2147221504 (2047 MB)
Mar 21 08:42:44  kernel: avail memory = 2091679744 (1994 MB)
Mar 21 08:42:44  kernel: ACPI APIC Table: DELL   PE BKC  
Mar 21 08:42:44  kernel: FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
Mar 21 08:42:44  kernel: cpu0 (BSP): APIC ID:  0
Mar 21 08:42:44  kernel: cpu1 (AP): APIC ID:  1
Mar 21 08:42:44  kernel: ioapic0: Changing APIC ID to 2
Mar 21 08:42:44  kernel: ioapic1: Changing APIC ID to 3
Mar 21 08:42:44  kernel: ioapic2: Changing APIC ID to 4
Mar 21 08:42:44  kernel: ioapic0 Version 2.0 irqs 0-23 on motherboard
Mar 21 08:42:44  kernel: ioapic1 Version 2.0 irqs 32-55 on motherboard
Mar 21 08:42:44  kernel: ioapic2 Version 2.0 irqs 64-87 on motherboard
Mar 21 08:42:44  kernel: kbd1 at kbdmux0
Mar 21 08:42:44  kernel: ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, 
RF5112, RF2413, RF5413)
Mar 21 08:42:44  kernel: hptrr: HPT RocketRAID controller driver v1.1 (Dec 24 
2007 12:17:58)
Mar 21 08:42:44  kernel: acpi0: DELL PE BKC on motherboard
Mar 21 08:42:44  kernel: acpi0: [ITHREAD]
Mar 21 08:42:44  kernel: acpi0: Power Button (fixed)
Mar 21 08:42:44  kernel: Timecounter ACPI-fast frequency 3579545 Hz quality 
1000
Mar 21 08:42:44  kernel: acpi_timer0: 24-bit timer at 3.579545MHz port 
0x808-0x80b on acpi0
Mar 21 08:42:44  kernel: acpi_hpet0: High Precision Event Timer iomem 
0xfed0-0xfed003ff on acpi0
Mar 21 08:42:44  kernel: Timecounter HPET frequency 14318180 Hz quality 900
Mar 21 08:42:44  kernel: cpu0: ACPI CPU on acpi0
Mar 21 08:42:44  kernel: p4tcc0: CPU Frequency Thermal Control on cpu0
Mar 21 08:42:44  kernel: cpu1: ACPI CPU on acpi0
Mar 21 08:42:44  kernel: p4tcc1: CPU Frequency Thermal Control on cpu1
Mar 21 08:42:44  kernel: pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0
Mar 21 08:42:44  kernel: pci0: ACPI PCI bus on pcib0
Mar 21 08:42:44  kernel: pcib1: ACPI PCI-PCI bridge at device 2.0 on pci0
Mar 21 08:42:44  kernel: pci1: ACPI PCI bus on pcib1
Mar 21 08:42:44  kernel: pcib2: ACPI PCI-PCI bridge at device 0.0 on pci1
Mar 21 08:42:44  kernel: pci2: ACPI PCI bus on pcib2
Mar 21 08:42:44  kernel: amr0: LSILogic MegaRAID 1.53 mem 
0xf80f-0xf80f,0xfe9e-0xfe9f irq 46 at device 14.0 on pci2
Mar 21 08:42:44  kernel: amr0: [ITHREAD]
Mar 21 08:42:44  kernel: amr0: delete logical drives supported by controller
Mar 21 08:42:44  kernel: amr0: LSILogic PERC 4e/Si Firmware 521X, BIOS H430, 
256MB RAM
Mar 21 08:42:44  kernel: pcib3: ACPI PCI-PCI bridge at device 0.2 on pci1
Mar 21 08:42:44  kernel: pci3: ACPI PCI bus on pcib3
Mar 21 08:42:44  kernel: pcib4: ACPI PCI-PCI bridge at device 4.0 on pci0
Mar 21 08:42:44  kernel: pci4: ACPI PCI bus on pcib4
Mar 21 08:42:44  kernel: pcib5: ACPI PCI-PCI bridge at device 5.0 on pci0
Mar 21 08:42:44  kernel: pci5: ACPI PCI bus on pcib5
Mar 21 08:42:44  kernel: pcib6: ACPI PCI-PCI bridge at device 0.0 on pci5
Mar 21 08:42:44  kernel: pci6: ACPI PCI bus on pcib6
Mar 21 08:42:44  kernel: em0: Intel(R) PRO/1000 Network Connection Version - 
6.7.3 port 0xecc0-0xecff mem 0xfe6e

Re: ports-mgmt/portmaster question

2008-12-28 Thread Sergey Kovalev

Matthew Seaman wrote:

Mel wrote:

On Wednesday 24 December 2008 03:35:07 Matthew Seaman wrote:

B. Cook wrote:

Is there a way to pass make args (other than -m) for each port?


If you want options that only apply to specific ports, then you can use
a construct like this:

.if ${.CURDIR:M*/databases/mysql*}
WITH_CHARSET=utf8
WITH_XCHARSET=none
WITH_COLLATION=utf8_unicode_ci
WITH_OPENSSL=yes
BUILD_OPTIMIZED=yes
WITH_INNODB=yes
WITH_ARCHIVE=yes
WITH_FEDERATED=yes
WITH_NDB=yes
WITH_CSV=yes
WITH_SPHINXSE=yes
.endif


Or, so you don't have one blobby make.conf that needs to be read for 
everything that uses FreeBSD's make, you can make a file called 
Makefile.local in the port's directory and set these.
There are only a few special cases in which this won't work, because 
it is included at the bottom of the port's Makefile, but then you 
can resort to /etc/make.conf.


Yep.  That's true.  Unfortunately though if you use freebsd-update to 
update your ports tree it will blow away any additional files like 
that.  csup(1) users will not have that problem.


There is also a nice port ports-mgmt/portconf which adds some snippet to
/etc/make.conf which allows you to add your options in a neat way to
/usr/local/etc/ports.conf.

___
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: *.ko.symbols files in /boot/kernel

2008-12-28 Thread Sergey Kovalev

Wojciech Puchar wrote:

turn it off:

makeoptions DEBUG=-g# Build kernel with gdb(1) debug 
symbols


Thank you. I just figured that out experimenatlly about an hour ago.
I was quite sure that this string was uncommented in my 6.4 KERNCONF and 
there were no any *.symbols there but I may be wrong of course.
Besides I was confused by the fact that it was uncommented in GENERIC 
and also missed the comment to DEBUG option firstly.



On Sun, 28 Dec 2008, Sergey Kovalev wrote:


I've decided to upgrade from 6.4-p1 to 7.1-RC2 on my home desktop pc.
Somewhat during this procedure triggered building and installing of 
*.ko.symbols and kernel.symbols files.

Here are my upgrade commands
cd /usr/src
env -i make buildworld
env -i make buildkernel KERNCONF=KOCA
env -i make installkernel KERNCONF=KOCA

After that I get errors because my / patrition is only 128M in size. 
And /boot/kernel gets filled with *.symbols files.

What could trigger their building and installation?

___
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


*.ko.symbols files in /boot/kernel

2008-12-27 Thread Sergey Kovalev

I've decided to upgrade from 6.4-p1 to 7.1-RC2 on my home desktop pc.
Somewhat during this procedure triggered building and installing of 
*.ko.symbols and kernel.symbols files.

Here are my upgrade commands
cd /usr/src
env -i make buildworld
env -i make buildkernel KERNCONF=KOCA
env -i make installkernel KERNCONF=KOCA

After that I get errors because my / patrition is only 128M in size. And 
/boot/kernel gets filled with *.symbols files.

What could trigger their building and installation?

And how I should cleanly rebuild/reinstall kernel in this case without 
rebuilding the world. I know the right path to rebuild everything 
cleanly, but never faced such difficulties.


My /etc/make.conf: http://kovalev.com.ru/make.conf
My kernel config: http://kovalev.com.ru/KOCA

Please CC me cause I'm subscribed to the list.

PS I've mistyped address and first posted to freebsd-us...@freebsd.org. 
Sorry if I posted to the same list twice.

___
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: FreeBSD 5.4 - filesystem full

2008-11-12 Thread Sergey Babkin
Varshavchick Alexander wrote:
 
 I have an old enough server with FreeBSD 5.4 which from time to time
 complains about filesystem full. But the problem is that the partition
 in question has about 15G free space and more than 1000 free inodes.
 Then all by itself the error dissapears, only to be repeated several hours
 later. What can it be and where to look? The server runs mainly apache and
 sendmail, nothing special.

I vaguely remember that there was an issue with softupdates
that didn't report blocks as free until the filesystem was
synced, and with intense disk activity the filesystem was
not syncing by itself often enough.

-SB
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Firefox won't start

2008-09-19 Thread Sergey Zaharchenko
Hello Joe!

Thu, Sep 18, 2008 at 03:21:11PM -0400 you wrote:

 I recently did a ports update and after a bit of effort I got firefox3
 to compile with no errors.  But now when I either select Firefox from
 the menu or start it from a terminal window nothing happens.  Firefox
 does not start and there's no indication of any problems.  When I use ps
 to see if it's hung I see nothing.  Ideas?

Been there. Destroying ~/.mozilla (which had the right permissions) did
it for me.

-- 
DoubleF
No virus detected in this message. Ehrm, wait a minute...
/kernel: pid 56921 (antivirus), uid 32000: exited on signal 9
Oh yes, no virus:)


pgpX0ReJ90N9Y.pgp
Description: PGP signature


Re: FB on 3BSD

2008-09-17 Thread Sergey Kovalev

Graham Bentley пишет:

So if you rebuild your fluxbox port with the default settings,
transparency should work fine.


And that is exactlyt why I am asking - it doesnt!

As reported issuing a plain make results in fluxbox -info
output of -RENDER  ie. it is NOT included !!!

Of course the first thing I did before my posts was to test
transparency which didnt work which led me to the list!

Any more suggestions appreciated though :) 


Try
make -V CONFIGURE_ARGS
and watch if there are any strange options.
Default output from this command should be
--enable-imlib2 --enable-nls --enable-remember --enable-slit 
--enable-toolbar --enable-xrender --disable-gnome 
--x-libraries=/usr/local/lib --x-includes=/usr/local/include 
--prefix=/usr/local ${_LATE_CONFIGURE_ARGS}

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


HELP!

2008-08-18 Thread Sergey Daemonic
Hello!
There is a problem with supporting NIC broadcom 59xx!
When it's gonna be resolved?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Stick memory USB

2008-05-25 Thread Sergey Zaharchenko
Hello Mark!

Mon, May 26, 2008 at 05:40:50AM +0100 you wrote:

  It is detected as da2 and da3 (phone and memory stick - mine's a SCSI
  system so da0 and da1 are the HDDs) but only the top-level device nodes
  (/dev/da[23]) are created.
 
  I can try to mount /dev/da3 until I'm blue in the face and it always
  fails but as soon as I attempt to mount /dev/da3s1 it fails first time
  but succeeds the second time because the /dev/da3s1 device node gets
  created on the first (failed) mount attempt.

I had a similar problem with my card reader. AFAIU the problem with
those is that they don't report media change events; the system gets to
know what's there only when it tries to access it, one way or the other.
This might be of help both to you and to the OP:

http://lists.freebsd.org/pipermail/freebsd-questions/2007-January/138907.html

It's not beautiful, but it works.

-- 
DoubleF
No virus detected in this message. Ehrm, wait a minute...
/kernel: pid 56921 (antivirus), uid 32000: exited on signal 9
Oh yes, no virus:)


pgpkIaQcGOOrU.pgp
Description: PGP signature


Path MTU netstat

2008-02-27 Thread Sergey
I want to see currently discovered Path MTU.

I tried netstat -rnaW, but it doesn't show any cloned routes, but i clearly
see Path MTU discovery working, by watching tcpdump tracing. An application
sends full sized packet with DF bit, receives ICMP Unreach Frag message and
retransmits downsized packet again.

I need this, because there is another  6.2-RELEASE-p3  host, which doesn't
perfom Path MTU discovery, although:
# sysctl -a | grep path_mtu
net.inet.tcp.path_mtu_discovery: 1

I tried disabling firewall, simplifying routing, but none helps.

Anyone help?

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Path MTU netstat

2008-02-27 Thread Sergey
I want to see currently discovered Path MTU.

I tried netstat -rnaW, but it doesn't show any cloned routes, but i clearly
see Path MTU discovery working, by watching tcpdump tracing. An application
sends full sized packet with DF bit, receives ICMP Unreach Frag message and
retransmits downsized packet again.

I need this, because there is another  6.2-RELEASE-p3  host, which doesn't
perfom Path MTU discovery, although:
# sysctl -a | grep path_mtu
net.inet.tcp.path_mtu_discovery: 1

I tried disabling firewall, simplifying routing, but none helps.

Anyone help?

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Broadcasting to Jail in 6.2

2007-10-09 Thread Sergey Sysoev
Hi,

I've  just  installed isc-dhcp3-server 3.0.5 from FreeBSD 6.2 ports in
jail  using  Sockets  on  Alias  IP  address  and  it seems broadcasts
255.255.255.255  can't  reach  inside  jail. All unicast requests goes
fine, but no broadcasts on jail network interface.

In  case I move bpf inside jail using devfs, dhcpd is working fine -
fine with bpf only but not sockets.

After some search in google I see some posts with same jail/dhcpd
behaviour:

http://lists.freebsd.org/pipermail/freebsd-stable/2006-September/028521.html
http://www.nabble.com/isc-dhcpd-and-jails-bound-to-an-aliased-ip-t2293530.html
http://www.nabble.com/isc-dhcp3-server-in-a-jail--t3860378.html


Maybe  anyone  know,  is this Jail limitation/part-of-design or just a
bug?  To  my  mind it is not so good idea to put BPF inside, but it is
only way to go for now.

Thanks.

--
Sergey Sysoev





___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: USB dev lock

2007-07-21 Thread Sergey Zaharchenko
Hello Tim!

Sat, Jul 21, 2007 at 08:12:46AM -0400 you wrote:

 I have a PC running FreeBSD 6.1. We use a 1GB USB key to transfer files
 from our desktop PC's to this purposed machine.
 
 Problem is, when inserting the key, it may or may not select the same
 device name. For ease of use, and too many newbies
 that don't want to learn, I'd like the device to show as the same name
 every time I mount it.
 
 I have added /dev/da0  with a mountpoint of /flash in the /etc/fstab,
 but don't want to deal with adding additional lines and 
 mountpoints either. I'd like the command mount /flash to work with any
 one of the 10   1GB keys I purchased.

You might want to kldload geom_label.ko (or compile your kernel with the
appropriate option), then label all the USB key filesystems with the
same identifier, and then they can be accessed as
/dev/msdosfs/YOUR-LABEL-HERE. The label is the -L argument to
newfs_msdos or the value in the `Volume Label' editbox in the Windows
formatting program. geom_label also works similarly on other
filesystems.

For example, my USB flash shows up as /dev/msdosfs/DOUBLEF and
/etc/fstab has the line

/dev/msdosfs/DOUBLEF/home/df/flash  msdosfs rw,noauto,...

HTH,

-- 
DoubleF
No virus detected in this message. Ehrm, wait a minute...
/kernel: pid 56921 (antivirus), uid 32000: exited on signal 9
Oh yes, no virus:)


pgpcmLwBOaRKb.pgp
Description: PGP signature


Invite from Sergey Lapin ([EMAIL PROTECTED])

2007-06-15 Thread Sergey Lapin
Join Sergey on Quechup

You have been invited to join
SergeyLapin's
friends network

http://quechup.com/ - REGISTER NOW FOR FREE and find out why everyone's
joining

As a member of Quechup you can...
- Start a blog and share your thoughts with private groups, friends or the
world
- Get in touch with old friends.
- Meet new people in your area, or anywhere else in the world.
- Online instant messenger with full video and audio support.
- Socialize with 'friends-of-friends' and mutual acquaintances.
- Increase your social circle
... and so much more!

Become part of Sergey's Quechup.com friends.

New amp; Coming Soon on Quechup

- Games - play Solitaire, Mahjong, Dice, Bubble Up and more online
- Blogs - let people know what you're up to
- Video Posts - use your webcam to record video clips on Quechup
- Member Comments - on photos and blogs

--
You received this because Sergey Lapin ([EMAIL PROTECTED]) knows and
agreed to invite you. You will only receive one invitation from
[EMAIL PROTECTED] Quechup will not spam or sell your email address, see
our privacy policy - http://quechup.com/privacy.php
Go to
http://quechup.com/emailunsubscribe.php/ZW09ZnJlZWJzZC1xdWVzdGlvbnNAZnJlZWJzZC5vcmc%3D
if you do not wish to receive any more emails from Quechup.
--

This e-mail was sent on behalf of SergeyCopyright Quechup.com 2007.
Quechup.com is owned by iDate Ltd
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Xorg 7.2.0 Release

2007-05-19 Thread Sergey Kovalev

Garrett Cooper wrote:

(sorry for cross-posting, but this is relevant to ports@ too)

Please be aware that the portsnap snapshot hasn't been updated yet to 
include the X.org 7.2 addition, if you use portsnap. I need to try cvsup 
as well to see if the modifications outstanding with the cvsup servers too.


I'm going to try upgrading ports tree via portsnap tomorrow.
I wonder is it safe to fetch changes via portsnap since I don't exactly 
know if there is great difference between csup and portsnap from Xorg 
upgrade perspective.


Sorry for my english.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Sysinstall does not install GENERIC kernel

2007-04-09 Thread Belov, Sergey
Yes, 'kernels'  still doesn't work. I have January2007 ISO images, maybe
later it was fixed. I don't know.

And one more thing. Is there anyone who can explain why these commands
are failed?
http://beautynn.cololo.com/lj/tupoy/system.gif



-Original Message-
From: Kris Kennaway [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 09, 2007 7:51 PM
To: Kris Kennaway; Belov, Sergey; freebsd-questions@freebsd.org;
[EMAIL PROTECTED]
Subject: Re: Sysinstall does not install GENERIC kernel

On Mon, Apr 09, 2007 at 04:39:08AM -0500, Josh Paetzel wrote:
 Kris Kennaway wrote:
  On Mon, Apr 09, 2007 at 09:23:38AM +0400, Belov, Sergey wrote:
   
hit the same bug too with FreeBSD-6.1. To workaround this, i've 
just added the distribution set GENERIC to dists (this value 
wasn't mentionned on the sysinstall manpage by the way :-( ) So 
try with this:
dists=base GENERIC catpages info manpages proflibs kernel 
distSetCustom
   
   Thank you. I've also found interesting thread here:
   http://lists.freebsd.org/pipermail/freebsd-questions/2006-June/123
   640.ht
   ml
   
   It seems that automatic installation mechanism is far from perfect

   and there's nobody who interested in fixing the problems.
  
  Are you sure it was not fixed in 6.2?
  
  Kris
 
 distSetCustom has been broken ever since the goo was added to make 
 sysinstall smart enough to install either GENERIC or SMP depending on 
 how many processors are in the machine.  After that change was made 
 the kernels target to distSetCustom stopped working.  My workaround 
 has been to hack the distSetMinimal target in sysinstall to put in 
 what I want.  I guess I should've submitted a PR at some point...

Yes.

Kris

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Sysinstall does not install GENERIC kernel

2007-04-08 Thread Belov, Sergey

 hit the same bug too with FreeBSD-6.1. To workaround this, i've just
 added the distribution set GENERIC to dists (this value wasn't
 mentionned on the sysinstall manpage by the way :-( )
 So try with this:
 dists=base GENERIC catpages info manpages proflibs kernel
 distSetCustom

Thank you. I've also found interesting thread here:
http://lists.freebsd.org/pipermail/freebsd-questions/2006-June/123640.ht
ml

It seems that automatic installation mechanism is far from perfect and
there's nobody 
who interested in fixing the problems.

BTW, I've just selected distSetMinimum and in this case kernel was
istalled.
But except of this a problem I found a new trouble: system commands
which I've put in install.cfg 
doesn't seems to be executed. It just stops with the error 'system -1
command not found' 
or something like that.

Even when the commands are pretty simple like this: 
command=/sbin/shutdown -p now
system

It doesn't work and stops with the error.
How about your commands? Can you show some examples of your install.cfg
here if it works properly? :)

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Sysinstall does not install GENERIC kernel

2007-04-06 Thread Belov, Sergey
I found a strange problem while making automatic install disk from
official iso 6.2-RELEASE.

I've made a custom install.cfg:

##
# This is the installation configuration file

# Turn on extra debugging.
debug=yes
nonInteractive=yes

# My host specific data
hostname=testmachine
domainname=test.com
nameserver=192.168.50.10

# Which installation device to use
mediaSetCDROM

# Select which distributions we want.
#dists=base bin catpages info manpages ports prof
dists=base catpages info manpages proflibs kernel
distSetCustom

disk=ad0
partition=all
bootManager=standard
diskPartitionEditor

# All sizes are expressed in 512 byte blocks!
ad0s1-1=ufs 614400 /
ad0s1-2=swap 1048576 none
ad0s1-3=ufs 2048 /usr 1
ad0s1-4=ufs 0 /var 1

diskLabelEditor
diskLabelCommit

# OK, everything is set.  Do it!
installCommit
3

Then I placed it to prepared iso:
gunzip mfsroot.gz
mdconfig -a -t vnode -f mfsroot
mount /dev/md0 /mnt/floppy
cp ~/install.cfg /mnt/floppy
umount /mnt/floppy
mdconfig -d -u 0
gzip mfsroot

Then I created a new bootable iso-image and burnt it to CD-RW.

But after installing it on the test machine and after rebooting of that
machine the system was unable to boot. Because the /boot/kernel/
directory was empty, no modules, no kernels been in there. 
Why the sysintsall didn't copy GENERIC kernel to my hard disk??
All distribution was copied but only the kernel and modules weren't. 
Is it a bug or a feature? And how to fix it?

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Invisible process killing the CPU

2007-02-16 Thread Sergey Zaharchenko
Hello Nagy!

Fri, Feb 16, 2007 at 05:54:18PM +0100 you wrote:

[ systat -vmstat 1 ]
 Namei Name-cacheDir-cache   4960 prcfr
  

Looks like processes on this system are forking at a rate of 5000/sec.
The `last pid' in the top output should be incrementing like mad. The
processes finish before top gets to see them for a long enough time, so
you don't get to see a single process eating up all cpu.

-- 
DoubleF
No virus detected in this message. Ehrm, wait a minute...
/kernel: pid 56921 (antivirus), uid 32000: exited on signal 9
Oh yes, no virus:)


pgpHHUve85SeK.pgp
Description: PGP signature


Re: Invisible process killing the CPU

2007-02-16 Thread Sergey Zaharchenko
Hello Nagy!

Fri, Feb 16, 2007 at 10:25:03PM +0300 I wrote:

 [ systat -vmstat 1 ]
  Namei Name-cacheDir-cache   4960 prcfr
   
 
 Looks like processes on this system are forking at a rate of 5000/sec.

Ouch, that's pages freed by exiting processes, not process forks (gotta
get some sleep). Anyway, if this is persistent, then some processes are
exiting all the time, and they have to get created somehow, so the
scenario is the same...

-- 
DoubleF
No virus detected in this message. Ehrm, wait a minute...
/kernel: pid 56921 (antivirus), uid 32000: exited on signal 9
Oh yes, no virus:)


pgpS17j1kaAjF.pgp
Description: PGP signature


Re: problem mounting digital camera

2007-01-14 Thread Sergey Zaharchenko
Hello Andy!

Sun, Jan 14, 2007 at 07:07:18AM -0500 you wrote:

 I am having a problem mounting my digital camera, it is a Nikon Coolpix 
 7600.  It shows up in dmesg:
  ugen0: NIKON NIKON DSC E7600-PTP, rev 2.00/1.00, addr 2

I too have a Coolpix here, it's 5900 but yours should be similar. Enter
the camera's `Setup', Select `Interface' from the menu, select `USB',
and select `Mass storage' (you probably have PTP there, which is why
dmesg is saying so). It should show up as umass then.

HTH,

-- 
DoubleF
No virus detected in this message. Ehrm, wait a minute...
/kernel: pid 56921 (antivirus), uid 32000: exited on signal 9
Oh yes, no virus:)


pgpYvgqtNa7GD.pgp
Description: PGP signature


Openbgpd TCP-MD5

2006-12-07 Thread Sergey Alexanov

Hello,

Seemingly like you don't have rfc 2385 support in your kernel

from /usr/src/sys/conf/NOTES :

# TCP_SIGNATURE adds support for RFC 2385 (TCP-MD5) digests. These are
# carried in TCP option 19. This option is commonly used to protect
# TCP sessions (e.g. BGP) where IPSEC is not available nor desirable.
# This is enabled on a per-socket basis using the TCP_MD5SIG socket option.
# This requires the use of 'device crypto', 'options FAST_IPSEC' or 'options
# IPSEC', and 'device cryptodev'.
#optionsTCP_SIGNATURE   #include support for RFC 2385


Regards,

--
Sergey Alexanov
SA1215-RIPE
[EMAIL PROTECTED]

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: fxp(4) and Intel 82801GB NIC

2006-11-10 Thread Sergey Solyanik

Lowell Gilbert wrote:


I have a problem with my -STABLE, fxp(4) doesn't detect available media
 in the Intel 82801GB onboard NIC. It shows that:

[EMAIL PROTECTED] ifconfig fxp1
fxp1: flags=9943UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,LINK0,MULTICAST
mtu 1500
options=8VLAN_MTU
inet 192.168.250.1 netmask 0xff00 broadcast 192.168.250.255
ether 00:14:85:1a:fc:d3
media: Ethernet manual

[EMAIL PROTECTED] ifconfig -m fxp1
fxp1: flags=9943UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,LINK0,MULTICAST
mtu 1500
options=8VLAN_MTU
capabilities=8VLAN_MTU
inet 192.168.250.1 netmask 0xff00 broadcast 192.168.250.255
ether 00:14:85:1a:fc:d3
media: Ethernet manual
supported media:
media manual



Please help me to fix it. I will test patches.


I don't follow what you're trying here.  You should have both sides
set to autodetect, or neither side set for it.  [That's not always
necessary, but it's a good idea.]


Sorry for my English.
The problem not in autodetection stuff.

The problem is in fxp(4) dirver, that doesn't detect/show all available 
media types on the NIC. It shows only media manual.


Other well supported Intel 82559-based PCI Card shows like that:

[EMAIL PROTECTED] ifconfig fxp0
fxp0: flags=9943UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,LINK0,MULTICAST 
mtu 1500

options=8VLAN_MTU
ether 00:03:47:e3:7d:c8
media: Ethernet autoselect (100baseTX full-duplex)
status: active
[EMAIL PROTECTED] ifconfig -m fxp0
fxp0: flags=9943UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,LINK0,MULTICAST 
mtu 1500

options=8VLAN_MTU
capabilities=8VLAN_MTU
ether 00:03:47:e3:7d:c8
media: Ethernet autoselect (100baseTX full-duplex)
status: active
supported media:
media autoselect
media 100baseTX mediaopt full-duplex
media 100baseTX
media 10baseT/UTP mediaopt full-duplex
media 10baseT/UTP
media none
media 100baseTX mediaopt hw-loopback


The autodetection problem solved easily with correct cable and setting 
switch to 'auto speed/auto duplex'.


However, it is not possible to select other than 'auto' mode on 
ICH7-based fxp1 interface, scince only 'manual' available.


That's my request for help - add support to fxp(4) for ICH7-based NIC 
for the full range of media types.


Excuse my English again, thanks!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


fxp(4) and Intel 82801GB NIC

2006-11-09 Thread Sergey Solyanik

Hello!

I have a problem with my -STABLE, fxp(4) doesn't detect available media
 in the Intel 82801GB onboard NIC. It shows that:

[EMAIL PROTECTED] ifconfig fxp1
fxp1: flags=9943UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,LINK0,MULTICAST
mtu 1500
options=8VLAN_MTU
inet 192.168.250.1 netmask 0xff00 broadcast 192.168.250.255
ether 00:14:85:1a:fc:d3
media: Ethernet manual

[EMAIL PROTECTED] ifconfig -m fxp1
fxp1: flags=9943UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,LINK0,MULTICAST
mtu 1500
options=8VLAN_MTU
capabilities=8VLAN_MTU
inet 192.168.250.1 netmask 0xff00 broadcast 192.168.250.255
ether 00:14:85:1a:fc:d3
media: Ethernet manual
supported media:
media manual

The NIC working (100M/Full) when plugged in switch (Cisco 2950), but
doesn't when connected with another one with crossover cable, or to the
wireless AP (D-Link DWL-2100AP) which do autodetection of speed MDI-X/MDI.
The link continually flapping up and down.
Running Windows XP I can manually select 100M/Full media to link up. But
I can't do that with FreeBSD.

Here is the part of pciconf -lv output:
[...]
[EMAIL PROTECTED]:8:0:  class=0x02 card=0xe0141631 chip=0x27dc8086 rev=0x01
hdr=0x00
vendor   = 'Intel Corporation'
device   = '82801GB I/O Controller Hub LAN'
class= network
subclass = ethernet

Please help me to fix it. I will test patches.
Thanks!
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Constant changing ahc0: Transceiver state changing

2006-09-15 Thread Sergey Donskikh
I have the same error messages on my Mail server and can not login as a root as 
well.
 
Is anybody has a solution regarding this issue?
 
Thanks in advance.
 
Sergey Donskikh
System Administrator
Lifestyles Global Network
8100 Keele Street
Vaughan ON Canada L4K  2A3
Tel. 905.760.9615 x2306 Fax. 905.760.9616
[EMAIL PROTECTED]
 
Live Better. Every Day.
 
This e-mail and any attachments may be confidential or legally privileged. Do 
not disclose unless advised to do so.  If you received this message in error or 
are not the intended recipient, you should destroy the e-mail message and any 
attachment(s) or copies, and you are prohibited from retaining, distributing, 
disclosing or using any information contained herein.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: CUPS, USB printers Permission Denied

2006-06-26 Thread Sergey Akifyev
On вс, 2006-06-25 at 23:32 -0400, John Nielsen wrote:
 On Sunday 25 June 2006 20:04, Anthony Agelastos wrote:
  On Jun 25, 2006, at 7:35 PM, John Nielsen wrote:
   On Sunday 25 June 2006 19:28, Anthony Agelastos wrote:
   I updated CUPS and I cannot print to my USB laser printer. The web
   interface shows the following:
  
   hp_LaserJet_1160Le (Default Printer) Unable to open USB device
   usb:/dev/ulpt0: Permission denied
   Description: Hewlett-Packard LaserJet 1160Le
   Location: Den
   Make and Model: HP LaserJet 1160 Foomatic/hpijs (recommended)
   Printer State: stopped, accepting jobs, published.
   Device URI: usb:/dev/ulpt0
  
   Doing a `dmesg | grep ulpt0`, I get
  
   ulpt0: Hewlett-Packard hp LaserJet 1160 series, rev 1.10/1.00,
   addr 2,
   iclass 7/1
   ulpt0: using bi-directional mode
  
   The printer itself works (I plugged it directly into my MacBook
   and it
   printed fine). To ensure it wasn't an awkward build error, I issued a
  
   `portupgrade -fR cups`
  
   and rebuilt it and everything it is dependent upon. Does anyone
   else have
   any ideas? I am running an early 6.1-STABLE (FreeBSD dell.home.iq
   6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sat May 13 01:04:32 EDT 2006
   [EMAIL PROTECTED]:/usr/obj/usr/src/sys/IQKERNEL  i386).
  
   Just a me too so far with an el cheapo Lexmark USB laser printer
   (E210).
   Are you using the foomatic script? I am, with a PPD from
   linuxprinting.org.
 
  I am not sure, actually (it was so long ago, I do not remember how I
  got it working). I installed hpijs and Make and Model mentions
  Foomatic/hpijs, so perhaps. I am sorry I could not be of more
  assistance with this question.
 
   I'm going to try backing up and blowing away my etc/cups dir, re-
   updating
   the port, reinstalling foomatic and my ppd, and see if that makes any
   difference. I'll post whatever I learn.
 
  Thank you for posting your findings and for your quick reply.
 
 No luck. I basically re-installed everything (including config files and the 
 foomatic filters) from scratch. I also changed the permissions 
 on /dev/ulpt0 to be 0664 for root:cups. That prevents the permissions 
 error, but I still get nothing from the printer. The message that comes up 
 in the cups web interface when I try to print a test page is:
 
 /usr/local/libexec/cups/backend/usb failed
 

Could you set
LogLevel debug
in your /usr/local/etc/cups/cupsd.conf file, and then mail
me /var/log/cups/error_log ?

Whatever your problem is - the answer is there.

 I did get my other printer (on a different machine) working with cups 1.2.0 
 by just changing the permissions on the device node. I hadn't ever set this 
 printer up with cups before today, though. It's using gutenprint.
 
 JN
-- 
regards,
Sergey Akifyev
AGAVA Software Ltd http://agava.com
PGP key available from:
ftp://ftp.gascom.ru/pub/PGP-keys/asa.txt

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: portupgrade confusing '-P' and '-p'?

2006-06-19 Thread Sergey Matveychuk
[EMAIL PROTECTED] wrote:
 Hi,
 
 I'm in the middle of configuring a repeatable jail installation with some
 ports - in a nutshell, I want to install from locally built packages, but
 if not available locally I want to build the port myself _and_ create a
 package for future repetition. To prevent remote fetching, I set the
 PKG_FETCH variable to /bin/false as recommended. Here's the part I found
 curious:

I don't understand how you plan to build a port without of fetching of a
distfile?

-- 
Dixi.
Sem.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: portupgrade across NFS

2006-06-06 Thread Sergey Matveychuk
Michael Collette wrote:
 This problem only occurs when using portupgrade.  Both pkg_delete and
 pkg_deinstall work without error.  Also, everything else in the process
 that portupgrade goes through appears to work properly.  Just that
 /var/db/pkg directory won't delete when NFS mounted.

Have you tried the last (2.1.1) version?
I've fixed a few problems and one of them looks like yours. But it's not
relate to NFS however.

-- 
Dixi.
Sem.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Illegal instruction while portupgrade

2006-06-01 Thread Sergey Zaharchenko
Hello snnn!

Thu, Jun 01, 2006 at 04:46:28PM +0800 you wrote:
 Kris Kennaway wrote:
 Probably, are you sure that is the CPU you have?
 I'm sure.

Could it be that you need to recompile your kernel with the
CPU_ATHLON_SSE_HACK option?

# CPU_ATHLON_SSE_HACK tries to enable SSE instructions when the BIOS has
# forgotten to enable them.

-- 
DoubleF
No virus detected in this message. Ehrm, wait a minute...
/kernel: pid 56921 (antivirus), uid 32000: exited on signal 9
Oh yes, no virus:)


pgpSvgsudj4Du.pgp
Description: PGP signature


Re: Problem with enabling soft-updates via tunefs

2006-03-22 Thread Sergey Kovalev

Andrew Pantyukhin wrote:

As a side-note, softupdates on / is a bad idea, just
as bad as a single large /


It is just our client's will not mine.
I just want to have an opportunity to enable soft-updates remotely if 
somebody asks me to do so.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Problem with enabling soft-updates via tunefs

2006-03-21 Thread Sergey Kovalev
Several weeks ago I tried enabling soft-updates on / partition of active 
file system in multi-user mode via

tunefs -n enable /dev/ar0s1a
having remounted it read-only.
After that I just rebooted the system and according to mount 
soft-updates were enabled. (I tried remounting / partition to RW w/o 
rebooting but mount showed soft-updates were disabled).
I was rather satisfied that it is possible w/o making newfs, but today I 
the same actions didn't work on another system (almost the same hardware 
except MB). (I even tried them on the first one, but there everything 
still worked fine).


On second system I got an error something like:
/dev/ar0s1a: can't write superblock information
(to my regret I can't remember exactly but I can repeat if necessary)

Differences between system:
I.
1) / partition is the first on disk (256 Mb)
2) FreeBSD-5.4-RELEASE-p8 (with patch fixing soft-updates' problem with 
inodes); link to patch http://kovalev.com.ru/softupdates-5.4R-p8.diff.txt

3) Custom kernel (i can provide kernel configuration if necessary)
II.
1) / partition was the only partition on disk (approximately 65 Gb); 
there was also second 2 Gb swap partition

2) FreeBSD-6.0-RELEASE
3) GENERIC kernel

Is there a possibility to enable soft-updates on large / partitions at 
all or there may be something else?

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 6.1-BETA 4 stable for normal use?

2006-03-21 Thread Sergey Kovalev

Rakhesh Sasidharan wrote:

Hi,

I'd like to try out FreeBSD and was wondering whether
I should start with 6.1-BETA4 or 6.0? Its just for
home use anyways, more as a way to fool around with
FreeBSD a bit, so was wondering if 6.1-BETA4 would
suffice for the purpose ... is it stable enough or
would it give me issues? 


Also, suppose I were to go with 6.0, is there some way
I can update to the 6.1 release when its released,
*without* downloading the CDs etc? Maybe give some
command which would download the required parts over
the Internet? 


I think you better install 6.0 so you can later upgrade it to 6.1 when 
it would be released and tested several weeks.
The upgrade procedure is not so simple and requires much attention, but 
it is pretty good described in FreeBSD Handbook, and you can get 
valueble expirience in upgrading. You won't need to download CDs.
Besides I think security patches for 6.0 would be provided until 6.2 
version of FreeBSD will be released.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


SpreadBSD

2006-03-01 Thread Sergey Olontsev
Hi, Guys !!!
My name is Sergey Olontsev. I am 22 year old network administrator in
Arkhangelsk, Russia. I really appreciate your work for FreeBSD. It's
without any doubt an excellent work.

So, let me say the thing why I am writing this letter to you. I want
to support FreeBSD by creating and supporting the following website:
SpreadBSD.com. Why ?  I think we all know about success of Mozilla
Firefox through SpreadFirefox.com. People know about Linux because of
PR, but not all know that there is something better than Linux - it's
BSD. So, the question is that I can open such a website to help people
get aquainted with FreeBSD, but I first decided to ask you, cause you
are the chief developers.

I have resources to register domain and place to host website. I have
friends who are ready to create a good resource. And we have good
ideas and will to work. :-)

So, I have not registered domain yet. If you want to do all that I
wrote before by yourself - rememder, that my idea is BSD licensed.
:-)))

So guys, keep working. :-))
Sergey.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: grep'ping the ps output....

2005-12-13 Thread Sergey Zaharchenko
Hello Eric!

Mon, Dec 12, 2005 at 10:04:51AM -0600 you wrote:

 I was wondering if someone could explain why it is sometimes there and 
 not other times.

Sometimes the ps process manages to catch the system state when grep has
not been started yet by the shell. Sometimes it doesn't.

 And how I should correctly go about detecting if the 
 process is running before I perform my action.

You may use the -c flag of ps:

 -c  Change the ``command'' column output to just contain the exe-
 cutable name, rather than the full command line.

Like:

[EMAIL PROTECTED]:~ ps axc |grep init
1  ??  ILs0:00,00 init

-- 
DoubleF
No virus detected in this message. Ehrm, wait a minute...
/kernel: pid 56921 (antivirus), uid 32000: exited on signal 9
Oh yes, no virus:)


pgpMqVIJl7TcG.pgp
Description: PGP signature


Re: Error on boot, significant?

2005-11-21 Thread sergey akifiev
On Sun, Nov 20, 2005 at 10:17:00AM -0800, ross wrote:
 FreeBSD 6.0-STABLE #3: Wed Nov 16 07:13:11 PST 2005
 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/MYKERNEL6
 module_register: module pci/tdfx already exists!
 Module pci/tdfx failed to register: 17
 Timecounter i8254 frequency 1193182 Hz quality 0
 ...
 
 To me, this seems like a problem but I was hoping somebody who understood  
 this a little bit more could clarify what's going on their. I'm I getting  
 all the bang for my buck from my video card?

you've built tdfx driver into kernel and trying to load module at boot time.
check if that module mentioned in /boot/loader.conf and comment it out if so.

-- 
WBFH: -error IL2: =SB=error
SGA16-RIPE
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Broadcom BCM5721 Gigabit Ethernet Controllers

2005-11-14 Thread Sergey Lapin
Hi, all!!!
Are BCM5721's supported?
We'd like to setup router on them - is it a good idea?

Thanks a lot!
S.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


promise sx6000 on 4.11-RELEASE-p12

2005-10-15 Thread sergey akifiev
i have installed promise sx6000 card on my FreeBSD 4.11-RELEASE-p12 box. then
i have created raid5 array of 5x250GB WD hard drives.
in dmesg i see:
pstpci0: Promise SuperTrak SX6000 ATA RAID controller mem
0xdc00-0xdfff irq 5 at device 3.1 on pci2
pst0: 953900MB PROMISE TECH. I2O RAID DEVICE [121605/255/63] on pstpci0
(i noted, that geometry, supplied by card's bios (56040/255/63),and what 
freebsd kernel sees are differ)

and then weird things began.
when formatting a pst0e device i got numerous messages, like that:
pst: timeout mfa=0x002a3e10 cmd=WRITE

card beeps shortly, when theese messages appears. and after some messages,
array change status to CRITICAL and began rebuilding (card emits short beeps
in equal times).

also i've got damaged filesystem, when normally shutting down/rebooting
server.
i want to ask, is that normal?

PS if it is wrong place to ask such question, pls, redirect me to correct one.
PPS pardon my english :-)
-- 
WBFH: -error IL2: =SB=error
SGA16-RIPE
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: p7zip 4.20 - 4.29

2005-10-15 Thread Sergey Matveychuk

Andrew P. wrote:


Last update was 4 months ago, wake up already :-)


Yes, it's my mistake. I remember I've checked the port update but forget 
I still not commit it because of problems with build.


--
Sem.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


FreeBSD 5.2.1-STABLE boot problem

2005-10-12 Thread Sergey Khenkin
Hi All,

I ran into a problem installing FreeBSD 5.2.1-STABLE on an old PC
(Am5x86, 133MHz, 40M RAM, 700M HDD).
After I finish the install and reboot the PC under FreeBSD it fails to
load the kernel. Here's what is on the screen (manually copied):

Loading /boot/defaults/loader.conf
/boot/kernel/kernel text=0x45d64c -
elf32_loadexec: archsw.readin failed
/boot/kernel/kernel text=0x45d64c -
elf32_loadexec: archsw.readin failed
/boot/kernel/kernel text=0x45d64c -
elf32_loadexec: archsw.readin failed
Unable to find a kernel!
|
Hit [Enter] to boot immediately, or any other key for command prompt.
Booting [/boot/kernel/kernel] ...
/boot/kernel/kernel text=0x45d64c -
elf32_loadexec: archsw.readin failed
can't load 'kernel'

I successfully installed the same system on several other modern PCs.
Can anyone assist me in solving this problem and making FreeBSD boot
up?

-- 
Best regards,
 Sergey  mailto:[EMAIL PROTECTED]

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


FreeBSD 5.2.1-STABLE boot problem

2005-10-12 Thread Sergey Khenkin
Hi All,

I ran into a problem installing FreeBSD 5.2.1-STABLE on an old PC
(Am5x86, 133MHz, 40M RAM, 700M HDD).
After I finish the install and reboot the PC under FreeBSD it fails to
load the kernel. Here's what is on the screen (manually copied):

Loading /boot/defaults/loader.conf
/boot/kernel/kernel text=0x45d64c -
elf32_loadexec: archsw.readin failed
/boot/kernel/kernel text=0x45d64c -
elf32_loadexec: archsw.readin failed
/boot/kernel/kernel text=0x45d64c -
elf32_loadexec: archsw.readin failed
Unable to find a kernel!
|
Hit [Enter] to boot immediately, or any other key for command prompt.
Booting [/boot/kernel/kernel] ...
/boot/kernel/kernel text=0x45d64c -
elf32_loadexec: archsw.readin failed
can't load 'kernel'

I successfully installed the same system on several other modern PCs.
Can anyone assist me in solving this problem and making FreeBSD boot
up?

-- 
Best regards,
 Sergey  mailto:[EMAIL PROTECTED]

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


bind9: dir for files with dynamic updates

2005-08-27 Thread Sergey Matveychuk

Hi.

As I can see there is a directory for dynamic updates: 
/var/named/etc/namedb/dynamic.


But files with dynamic updates still placed next to zones files 
(/var/named/etc/namedb/master).


I've looked for an option for it in documentation but failed.
So, how can I use /var/named/etc/namedb/dynamic?

--
Sem.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Question

2005-08-22 Thread Sergey Kirichok

Hi!

I have a question regarding support in FreeBSD on-board SCSI LSI 53c1030 
controller.


In the FreeBSD/i386 4.11 Release Hardware Notes I found the only one string:

LSI Logic Fusion/MP architecture Fiber Channel controllers (mpt driver)

   *

 LSI FC909, FC929

   *

 LSI 53c1020, 53c1030


but in the official LSI Logic  web-site I found next:

LSI53C1030 PCI-X to Dual-Channel Ultra320 SCSI Controller

Possible mistake?

Its not Fiber Channels Controler!

Please help, its very important for us!!!

Or may be You have official confirmation regarding support FreeBSD 4.11 
on servers Dell PowerEdge 2850 in SCSI mode?


Please give us official confirmation (or disclaimer) regarding support 
LSI53C1030 in FreeBSD 4.11.


--
Best Regards,

Sergey Kirichok,
Technical Director

MiroMIX United Ltd.,
Dell Authorised Distributor
Dell Authorised Service Provider

Tel: +380(44)492-8662
Fax: +380(44)458-5318

E-mail: [EMAIL PROTECTED]

www.miromix.com.ua




___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: man malloc

2005-08-18 Thread Sergey Matveychuk

Chuck Swiger wrote:


What does suitable aligned for storage of *any* type of object means?



On some platforms, it is either desirable or required that, say, a 
8-byte double is stored at a memory location which is is also aligned to 
8-bytes:


Oh, it was told for different architectures. It's quite clear for me now.




What is pointer coercion? I have no pointer before malloc() returns.



Right.  Well, malloc returns a (void *), but most people want to use the 
memory malloc returns to hold their own arrays, structs, whatever, which 
means that you need to be able to coerce the (void *) malloc gave you 
into whatever pointer type you want to actually use.


So the memory malloc gives you needs to be aligned so that it's OK to be 
used for even the most restrictive datatype known to the system, 
commonly 8, 16, or 32 bytes.




Pointer coercion means a type cast? I see now.
I read it as 'force change of pointer value' before.

Thanks, guys!
--
Sem.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Kerberos authentication

2005-08-17 Thread Sergey Lapin
Hi, all!
There is simple Kerberos question.

We have w2k3 PDC here and want to setup one machine
(machine.domain.com) to interoperate with it.
Samba's net ads join works.
kinit works.

but telnet to machine.domain.com from the same machine fails with thw
following debug:
[ Trying mutual KERBEROS5 (host/[EMAIL PROTECTED])... ]
Kerberos V5: mk_req failed (Message stream modified)
[ Trying KERBEROS5 (host/[EMAIL PROTECTED])... ]
Kerberos V5: mk_req failed (Message stream modified)


-bash-2.05b$ klist
Credentials cache: FILE:/tmp/krb5cc_1002
Principal: [EMAIL PROTECTED]

  Issued   Expires  Principal
Aug 17 21:06:40  Aug 18 07:06:40  krbtgt/[EMAIL PROTECTED]


/etc/krb5.conf:
[libdefaults]
  default_realm = DOMAIN.COM
  default_keytab_name = FILE:/etc/krb5.keytab

  dns_lookup_realm = false
  dns_lookup_kdc = true

[domain_realm]
  .domain.com = DOMAIN.COM


[realms]
  DOMAIN.COM = {
  kdc  = tcp/dc.domain.com
  kpasswd_server = dc.domain.com
  admin_server = udp/dc.domain.com
  }
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


man malloc

2005-08-17 Thread Sergey Matveychuk
I know it may be stupid, but I can't understand this sentence from 
malloc(3) man page:



The allocated space is suitably aligned (after possible pointer 
coercion) for storage of any type of object.



What does suitable aligned for storage of *any* type of object means?
What is pointer coercion? I have no pointer before malloc() returns.

--
Sem.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


kernel debugger

2005-08-10 Thread Sergey Lapin
Hi!
We have some networking problem, with PF and route-to, actually,
system locks and
sends junk to net. But I'm able to enter debugger. Is it possible to
localize problem using it?
I have acess to console and get do debugger prompt. I'd like to make
proper report using debugger to send to freebsd-pf list.

Thanks a lot!

Sergey Lapin
System Administrator
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


pf problems

2005-08-04 Thread Sergey Lapin
 on $dmz_if route-to ($ext_if1 $ext_gw1) proto tcp tagged
DMZ_TO_EXT1 flags S/SA modulate state
pass in quick on $dmz_if route-to ($ext_if1 $ext_gw1) proto { udp,
icmp } tagged DMZ_TO_EXT1 keep state

pass in quick on $dmz_if route-to ($ext_if2 $ext_gw2) proto tcp tagged
DMZ_TO_EXT2 flags S/SA modulate state
pass in quick on $dmz_if route-to ($ext_if2 $ext_gw2) proto { udp,
icmp } tagged DMZ_TO_EXT2 keep state

#  Allow OUT traffic

pass out quick on $ext_if1 route-to ($ext_if2 $ext_gw2) proto tcp
tagged DMZ_TO_EXT2 flags S/SA modulate state
pass out quick on $ext_if1 route-to ($ext_if2 $ext_gw2) proto { udp,
icmp } tagged DMZ_TO_EXT2 keep state

pass out quick on $ext_if2 route-to ($ext_if1 $ext_gw1) proto tcp
tagged DMZ_TO_EXT1 flags S/SA modulate state
pass out quick on $ext_if2 route-to ($ext_if1 $ext_gw1) proto { udp,
icmp } tagged DMZ_TO_EXT1 keep state

#
#  Clasify traffic from Internet to DMZ   
 #
#

# WHISKEY
pass in on vlan0 proto tcp from any to 1.1.1.144/32 port = 22 flags
S/SA keep state tag EXT1_TO_DMZ
pass in on vlan1 proto tcp from any to 2.2.2.2/32 port = 22 flags S/SA
keep state tag EXT2_TO_DMZ

#
#  Allow classified traffic from Internet to DMZ  
 #
#

#  Pass to DMZ traffic already approved by earlier rules
#  and route replies to corresponding interface

#  EXT1
pass out quick on $dmz_if reply-to ($ext_if1 $ext_gw1) proto tcp
tagged EXT1_TO_DMZ flags S/SA keep state
pass out quick on $dmz_if reply-to ($ext_if1 $ext_gw1) tagged
EXT1_TO_DMZ keep state

#  EXT2
pass out quick on $dmz_if reply-to ($ext_if2 $ext_gw2) proto tcp
tagged EXT2_TO_DMZ flags S/SA keep state
pass out quick on $dmz_if reply-to ($ext_if2 $ext_gw2) tagged
EXT2_TO_DMZ keep state


#
#  Other traffic  
 #
#

#  general pass out rules for external interfaces
pass out on { $ext_if1, $ext_if2, $dmz_if } proto tcp from any to any
flags S/SA modulate state
pass out on { $ext_if1, $ext_if2, $dmz_if } proto { udp, icmp } from
any to any keep state

#  Zebra uses IGMP so let it work on DMZ interface
pass out on $dmz_if proto igmp from any to any allow-opts

Test case:
(done from Linix machine from 1.1.1.128/25)

tcpreplay -e 1.1.1.133:255.255.255.255 -i eth0 packet
(where packet is random captured UDP packet using tcpdump -peni)

or

tcpreplay -e 1.1.1.133:10.2.2.2 -i eth0 packet
(where packet is random captured UDP packet)

kills machine.
Machine hangs and doesn't react on keyboard, whatever.
Only reset helps.
Directly blocking addresses in pf.conf help and normal connections
with UDP disabled
work well.
Any ideas?
Thanks a lot!

Sergey Lapin
System Administrator
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


(no subject)

2005-08-03 Thread Sergey
Hello.

Say how easiest to adjust please pppd.

-- 
Best regards,
 Sergey  mailto:[EMAIL PROTECTED]

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


KDE in FreeBSD

2005-07-29 Thread Sergey
Hello.

Explain how to adjust please dial-up connection in
KDE about the help kppp? I have made all as it is necessary
but by pressing connect there is a tablet  modem is busy .
The modem does not react.


-- 
Best regards,
 Sergey  mailto:[EMAIL PROTECTED]

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


/etc/exports - a strange restriction

2005-07-21 Thread Sergey Matveychuk
I'd like to share some directories hierarchy under /usr file system, but 
 I don't want to share all /usr at all.


On these lines in /etc/exports:

/usr/tinderbox -ro -alldirs -maproot=0:0 localhost

i get an error message:

mountd[347]: -alldirs requested but /usr/tinderbox is not a filesystem 
mountpoint


Why so strict restriction?
--
Sem.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: /etc/exports - a strange restriction

2005-07-21 Thread Sergey Matveychuk

Norbert Koch wrote:

/usr/tinderbox -ro -alldirs -maproot=0:0 localhost


As far as I know, it is a restriction of the nfs specification.
If you only want to export a single directory, you could e.g.
use mount_null/mount_nullfs(8).


Well, in my example remote host is localhost. But if I need to share 
files on a network?
I've made a quick look at RFC1813 but could not find this restriction. 
But why this restriction anyway for? It's very unconvenient.


--
Sem.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: dangerous situation with shutdown process

2005-07-14 Thread Sergey N. Voronkov
On Thu, Jul 14, 2005 at 04:17:06PM -0400, asym wrote:
 At 15:19 7/14/2005, Wilko Bulte wrote:
 On Thu, Jul 14, 2005 at 12:14:49PM -0700, Kevin Oberman wrote..
   Date: Thu, 14 Jul 2005 20:38:15 +0200
   From: Anatoliy Dmytriyev [EMAIL PROTECTED]
   Sender: [EMAIL PROTECTED]
  
   Hello, everybody!
  
   I have found unusual and dangerous situation with shutdown process:
   I did a copy of 200 GB data on the 870 GB partition (softupdates is
   enabled) by cp command.
   It took a lot of time when I did umount for this partition exactly 
 after
   cp, but procedure finished correctly.
   In case, if I did ???shutdown ???h(r)???, also exactly after cp, the 
 shutdown
   procedure waited for ???sync??? (umounting of the file system) but sync
   process was terminated by  timeout, and fsck checked and did correction
   of the file system after boot.
  
   System 5.4-stable, RAM 4GB, processor P-IV 3GHz.
  
   How can I fix it on my system?
 
 The funny thing about all the replies here.. is that this guy is not saying 
 that sync doesn't work.
 
 He's saying that the timeout built into shutdown causes it to *terminate* 
 the sync forcibly before it's done, and then reboot.
 
 All finger pointing about IDE, SCSI, softupdates, and journals aside.. I 
 think all he wants/needs is a way to increase that timer.
 

If you can't increase shutdown timeout, decrease softupdates timers.

# tail -3 /etc/sysctl.conf
kern.metadelay=14
kern.dirdelay=15
kern.filedelay=17

That was my solution for shutdown wait timeout.

Serg N. Voronkov,
Sibitex JSC,
Tyumen, Russia.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re[2]: fresh port install off apache

2005-06-02 Thread Sergey S. Ropchan
Add line below to /etc/rc.conf:

apache_enable=YES


 Philip Wege wrote:

 Did a fresh port install , added apache to rc.conf , apache says it
 starts up but it just doesn't start up , anyone had this before ?
 
 diesel-electric# /usr/local/etc/rc.d/apache.sh start
 Starting apache.
 diesel-electric# /usr/local/etc/rc.d/apache.sh start
 Starting apache.
 diesel-electric# /usr/local/etc/rc.d/apache.sh stop
 apache not running? (check /var/run/httpd.pid).

 Hello,

 the output of

tail /var/log/httpd-error.log

 might be helpful. Show it.

 Regards
 Björn
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]



-- 
Best regards,
 Sergey S. Ropchan  mailto:[EMAIL PROTECTED]

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ctime date

2005-05-27 Thread Sergey S. Ropchan
On Thu, 2005-05-26 at 22:50 -0700, Evan Sayer wrote:
 Hello-
 Does anyone know how to get the ctime(3) format of the date in a script 
 (i.e without actually writing a C program to return it).
 -Thanks.
#!/bin/sh

#get current date
DATE=`date +%d%m%y`

echo $DATE;

you can play with specs: %D, %Y ... etc

read man date

 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: fsck on startup

2005-05-26 Thread Sergey S. Ropchan
Hello
 Hi,
 
 I'm not sure what is causing this, but virtually -every- unclean system 
 shutdown
 results in my server asking for the root password to run fsck manually, and 
 this
 is a co-located server in a remote datacenter which I unfortunately can not 
 get
 to as easily as I would want.
 
 Is there anyway to tell rc.conf or sysctl or anything else to get bsd to not 
 pause for the root password???  
Yes, of course add folowing strings to your rc.conf:

fsck_y_enable=YES
background_fsck=YES


 Don't ask me why, but this has happened twice 
 already now in one week that the system would for some reason just do a cold
 restart, and then sit at the startup waiting for the passwords 
 
 This is 5.4-STABLE on a P4 3.4GHz 1GB Ram.  
 
 --
 Chris.
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ftp server

2005-05-20 Thread Sergey S. Ropchan
No, it's working ...

try traceroute to server, maybe it's something with route ...

 I am unable to get access to the ftp.freebsd.org server. Is it down?
 
 Jason King
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How do I run this cron job?

2005-05-20 Thread Sergey S. Ropchan
On Fri, 2005-05-20 at 01:49 +0300, Odhiambo Washington wrote:
 Perhaps trivial
 
 How do I run a cron job at the end of every month?

#minute hourmdaymonth   wdaywho command

59  23   29   *   * user/path/to/cmd

 
 http://www.netmeister.org/news/learn2quote.html
 
 --
 +==+
 |\  _,,,---,,_ | Odhiambo Washington[EMAIL PROTECTED]
 Zzz /,`.-'`'-.  ;-;;,_ | Wananchi Online Ltd.   www.wananchi.com
|,4-  ) )-,_. ,\ (  `'-'| Tel: +254 20 313985-9  +254 20 313922
   '---''(_/--'  `-'\_) | GSM: +254 722 743223   +254 733 744121
 +==+
 This novel is not to be tossed lightly aside, but to be hurled with
 great force.
   -- Dorothy Parker
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Correct system message configuration?

2005-05-20 Thread Sergey S. Ropchan
On Fri, 2005-05-20 at 12:36 +0200, Frits Westra wrote:
 Hello,
 
 My system appears to be sending system messages to my ISP at  
 [EMAIL PROTECTED] and [EMAIL PROTECTED]
 
 How do I disable this? I still want to be able to view log messages, of  
 course.

Try to edit /etc/mail/aliases ...

you must find:
root: [EMAIL PROTECTED]

chang this email and save file



 
 Thanks for your help.
 
 Regards,
 Frits
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FBSD 5.4 netstat -an

2005-05-16 Thread Sergey S. Ropchan
Hello
 Hello freebsd-questions,
 
 i have 2 freebsd 5.4 running .
 
 On one of them, if if do the classic netstat -an i do NOT see tcp
 connection while i can see them on the other..

This may happend when you rebuild your source tree without make
installworld ...

try to recompile and install world with kernel.

As addition you cat try:

sockstat -4cl

 
 There are tcp connection on the box, at least me trough ssh (tcpdump
 show it).
 
 Any clue ?
 
 thank you
 

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Daemon Process

2005-05-16 Thread Sergey S. Ropchan
Hello Gowtham,

Monday, May 16, 2005, 6:41:03 PM, you wrote:

 Hi,
 I want to know how can I programmatically restart a dead daemon process in
 Unix?

You can restart daemon process with:

kill -HUP `cat /path/to/processname.pid`

or you can do that in your own C program this kill syscall, read
before:

man 2 kill


-- 
Best regards,
 Sergey  S. Ropchan mailto:[EMAIL PROTECTED]

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How to replace words in all files?

2005-05-13 Thread Sergey S. Ropchan
find / -name '*' -print | xargs grep lnc0 
- gives you all files in your system with lnc0 ...

perl -pi.bak -pe 's/lnc0/rl0/' file1 file2 ... fileN
- will replace lnc0 - rl0 in all specified files, with backuping of old
files in *.bak

 Hello!
 
 I have a bunch of configuration files which all contain the word,
 or the reference to, my dysfunctional network interface lnc0. I used
 to have this simple script -- to replace a word in all ASCII files
 containing it -- with another word. In this case, I need to replace
 the string `lnc0' with `rl0' in all my configuration files. And is
 it possible having this script tell me what files it modified?
 
 I promise I'll write it down this time :)
 And be generous on handing it back out to the society!
 
 
 --
 
 Fafa Hafiz Krantz
   Research Designer @ http://www.home.no/barbershop
   Enlightened @ http://www.home.no/barbershop/smart/sharon.pdf
 
 
 

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How to replace words in all files?

2005-05-13 Thread Sergey S. Ropchan
On Fri, 2005-05-13 at 05:23 -0500, Fafa Hafiz Krantz wrote:
  find / -name '*' -print | xargs grep lnc0
  - gives you all files in your system with lnc0 ...
  
  perl -pi.bak -pe 's/lnc0/rl0/' file1 file2 ... fileN
  - will replace lnc0 - rl0 in all specified files, with backuping of old
  files in *.bak
 
 Thank you!
You are welcome !

Why when you send message - always 2 messages in maillist !?

 
 *nods in burning respect*
 
 --
 
 Fafa Hafiz Krantz
   Research Designer @ http://www.home.no/barbershop
   Enlightened @ http://www.home.no/barbershop/smart/sharon.pdf
 
 
 

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: clustering solution for freebsd

2005-05-11 Thread Sergey S. Ropchan
On Wed, 2005-05-11 at 15:05 +0530, Ananth.G (GMail) wrote:
 hi all,
  is anyone aware of a good clustering solution for freebsd, i tried google
 i didnt come accross any opensource implementation .
 
Hi, check this mailinglist:

http://lists.freebsd.org/mailman/listinfo/freebsd-cluster

 thanks,
 ananth.g
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: kernel build problem

2005-05-11 Thread Sergey S. Ropchan
Check config file carefully, and you will find next string:

device  umass   # Disks/Mass storage - Requires scbus and da

in your config da and scbus -disabeled, 


# SCSI peripherals
#device scbus   # SCSI bus (required for SCSI)
.
.
.
#device da  # Direct Access (disks)
.
.
.

you need enable it - and all will works ...


 i have attached my config file.
 
 regrds,
 ananth.g
 
 
 Sergey S. Ropchan wrote:
 
 Content of kernel config please ? It's look like wrong option in config.
 
 
   
 
 dear all,
im having trouble compiling kernel on 5.3 , i did a `make depend` and 
 `make`.
 The following is the error that i got, i might have missed a module  
 i guess...
 
 cc -c -O -pipe -march=pentiumpro -Wall -Wredundant-decls 
 -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes 
 -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -std=c99  
 -nostdinc -I-  -I. -I../../.. -I../../../contrib/dev/acpica 
 -I../../../contrib/altq -I../../../contrib/ipfilter 
 -I../../../contrib/pf -I../../../contrib/dev/ath 
 -I../../../contrib/dev/ath/freebsd -I../../../contrib/ngatm -D_KERNEL 
 -include opt_global.h -fno-common -finline-limit=8000 --param 
 inline-unit-growth=100 --param large-function-growth=1000  
 -mno-align-long-strings -mpreferred-stack-boundary=2 -ffreestanding 
 -Werror  vers.c
 linking kernel
 umass.o(.text+0x1b73): In function `umass_cam_attach_sim':
 : undefined reference to `cam_simq_alloc'
 umass.o(.text+0x1bc4): In function `umass_cam_attach_sim':
 : undefined reference to `cam_sim_alloc'
 umass.o(.text+0x1bd3): In function `umass_cam_attach_sim':
 : undefined reference to `cam_simq_free'
 umass.o(.text+0x1bf5): In function `umass_cam_attach_sim':
 : undefined reference to `xpt_bus_register'
 umass.o(.text+0x1c21): In function `umass_cam_rescan_callback':
 : undefined reference to `xpt_free_path'
 umass.o(.text+0x1c94): In function `umass_cam_rescan':
 : undefined reference to `xpt_periph'
 umass.o(.text+0x1ca3): In function `umass_cam_rescan':
 : undefined reference to `xpt_create_path'
 umass.o(.text+0x1cbf): In function `umass_cam_rescan':
 : undefined reference to `xpt_setup_ccb'
 umass.o(.text+0x1cdc): In function `umass_cam_rescan':
 : undefined reference to `xpt_action'
 umass.o(.text+0x1dda): In function `umass_cam_detach_sim':
 : undefined reference to `xpt_bus_deregister'
 umass.o(.text+0x1df6): In function `umass_cam_detach_sim':
 : undefined reference to `cam_sim_free'
 umass.o(.text+0x1e4d): In function `umass_cam_action':
 : undefined reference to `xpt_done'
 umass.o(.text+0x1ec4): In function `umass_cam_action':
 : undefined reference to `xpt_done'
 umass.o(.text+0x1ee5): In function `umass_cam_action':
 : undefined reference to `xpt_done'
 umass.o(.text+0x1f76): In function `umass_cam_action':
 : undefined reference to `xpt_done'
 umass.o(.text+0x204a): In function `umass_cam_action':
 : undefined reference to `xpt_done'
 umass.o(.text+0x208e): more undefined references to `xpt_done' follow
 umass.o(.text+0x2254): In function `umass_cam_action':
 : undefined reference to `cam_calc_geometry'
 umass.o(.text+0x225c): In function `umass_cam_action':
 : undefined reference to `xpt_done'
 umass.o(.text+0x226d): In function `umass_cam_action':
 : undefined reference to `xpt_done'
 umass.o(.text+0x227e): In function `umass_cam_action':
 : undefined reference to `xpt_done'
 umass.o(.text+0x22ec): In function `umass_cam_cb':
 : undefined reference to `xpt_done'
 umass.o(.text+0x23db): In function `umass_cam_cb':
 : undefined reference to `xpt_done'
 umass.o(.text+0x23ff): more undefined references to `xpt_done' follow
 fdc.o(.text+0xf33): In function `fdc_worker':
 : undefined reference to `isa_dmadone'
 fdc.o(.text+0x199b): In function `fdc_worker':
 : undefined reference to `isa_dmastart'
 fdc.o(.text+0x1d08): In function `fdc_worker':
 : undefined reference to `isa_dmadone'
 fdc.o(.text+0x2cd4): In function `fdc_detach':
 : undefined reference to `isa_dma_release'
 fdc.o(.text+0x2ead): In function `fdc_attach':
 : undefined reference to `isa_dma_acquire'
 fdc.o(.text+0x2eca): In function `fdc_attach':
 : undefined reference to `isa_dmainit'
 fdc_acpi.o(.text+0x1d6): In function `fdc_acpi_attach':
 : undefined reference to `fdc_isa_alloc_resources'
 ppc.o(.text+0xff7): In function `ppcintr':
 : undefined reference to `isa_dmadone'
 ppc.o(.text+0x11b3): In function `ppc_write':
 : undefined reference to `isa_dmastart'
 ppc.o(.text+0x1214): In function `ppc_write':
 : undefined reference to `isa_dmadone'
 ppc.o(.text+0x1963): In function `ppc_attach':
 : undefined reference to `isa_dma_acquire'
 ppc.o(.text+0x1976): In function `ppc_attach':
 : undefined reference to `isa_dmainit'
 sio.o(.text+0x62a): In function `sioprobe':
 : undefined reference to `isa_irq_pending'
 sio.o(.text+0x7fa): In function `sioprobe':
 : undefined reference to `isa_irq_pending'
 sio.o(.text+0x81c): In function `sioprobe':
 : undefined reference

Re: The configuration of my core doesn't work!!

2005-05-09 Thread Sergey S. Ropchan


 When I try to use the command make depend it doesn't work.
 What must I do.

Yon need to do following, New Way (in order as below):

make buildkernel KERNCONF=YOUR_KERNEL_NAME_HERE
make installkernel KERNCONF=YOUR_KERNEL_NAME_HERE


Check handook:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-building.html


 -
  Découvrez le nouveau Yahoo! Mail : 250 Mo d'espace de stockage pour vos 
 mails !
 Créez votre Yahoo! Mail  

 __ NOD32 1.1091 (20050509) Information __

 This message was checked by NOD32 antivirus system.
 http://www.nod32.com




-- 
Best regards,
 Sergey S. Ropchan  mailto:[EMAIL PROTECTED]

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re[2]: Learning UNIX internals

2005-05-07 Thread Sergey S. Ropchan

 On 5/7/05, Jon Drews [EMAIL PROTECTED] wrote:
 Hi:
 
   I was thinking of getting one of these two books. I want to learn
 more about how UNIX and in particular, FreeBSD work. Has anyone read
 either of these books?
 
 UNIX Internals: The New Frontiers
 by Uresh Vahalia

I have read this book. I guess it's a good choise not only for you but
for others too. A lot of useful information about different *nix systems
implementations with good explanations (mutexe, threads, process,
scheduler .. etc).



 
 http://www.amazon.com/exec/obidos/tg/detail/-/0131019082/ref=pd_bxgy_img_2/104-6904022-3119131?v=glances=booksn=3863
 
 Design of the UNIX Operating System (Prentice Hall Software Series)
 by Maurice J. Bach

This book more difficult (in educational purposes) then book above, you can 
read it after Unix
Internals ... by Uresh Vahalia. This is my personal opinion.

 http://www.amazon.com/gp/product/customer-reviews/0132017997/ref=cm_cr_dp_2_1/104-6904022-3119131?%5Fencoding=UTF8customer-reviews.sort%5Fby=-SubmissionDaten=3863
 --
 Kind regards,
 Jonathan
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]
 

 If you are interested in Unix and FreeBSD this is a good choice:

 http://www.amazon.co.uk/exec/obidos/tg/stores/detail/-/books/0201702452/reviews/026-9762435-1924466
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]




-- 
Ñ óâàæåíèåì,
 Sergey  mailto:[EMAIL PROTECTED]

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Driver for orinoco classic from turbocell.

2005-04-14 Thread Sergey Tokarev
Hello, I`m tech ingeneer from isp Leader Plus Lugansk,Ukraine.
Support driver from turbocell karlnet is expected?
Pls Reply.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: route entries after ICMP redirect

2005-04-11 Thread Sergey Matveychuk
Uwe Doering wrote:
This has been fixed in CVS in MAIN (rev. 1.52) and MFC'ed to RELENG_4 
(rev. 1.37.2.5) and RELENG_5 (rev. 1.51.4.2) a couple of weeks ago:
Oh, thank you!
And thanks to [EMAIL PROTECTED]
--
Sem.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


route entries after ICMP redirect

2005-04-10 Thread Sergey Matveychuk
I've got some problem with route entries that was created after ICMP 
redirect messages. They are never expired.

Our default gateway (it's a HP switch) send ICMP redirect messages if it 
see a short path to destination. It's makes it not so overloaded. But 
pathes sometime changed. There is no problem with Windows workstations, 
they are rebooted daily. But my FreeBSD boxes hold dinamic route entries 
forever.

I've looked through RFCs and Stevens' books and found no answer on what 
TTL for this entries.
Now I just add route flush as cron job. But may be there is another way?

--
Sem.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: route entries after ICMP redirect

2005-04-10 Thread Sergey Matveychuk
[EMAIL PROTECTED] wrote:
If you want to handle this in a more clever way than a cron job you
could write a small daemon which reads routing messages and does the
right thing for whatever your situation is.
I've explore a code and found I can do quite easy addition for dynamic 
routes - fill an expire field, check it periodicaly and remove expired 
entries (just like for arp entries).

I think to do a sysctl variable for indication what time will set as 
expire values and set it to zero by default (no expires).

--
Sem.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: dummynet problems

2005-04-06 Thread Sergey Lapin
 I don't use dummynet myself, but surely it would be easier to help you
 if you described what the actual problem is?
 
Well, actual problem description:
FreeBSD-5.3 router;
rl0 - internal interface
rl1 - external.
rl1 is connected to ADSL modem from provider;
The link bandwidth is 64kbps.

${fwcmd} -f flush
${fwcmd} -f pipe flush
${fwcmd} pipe 1 config bw 64Kbit/s queue 10KBytes
${fwcmd} queue 4 config pipe 1 weight 1 mask dst-ip 0x buckets
10 queue 9 gred 0.002/7/21/0.1
${fwcmd} add 780 queue 4 log logamount 10 tcp from any to
192.168.0.30/32 out via rl0
${fwcmd} queue 10 config pipe 1 weight 100 mask dst-ip 0x
queue 9 gred 0.002/7/21/0.1
${fwcmd} add 790 queue 10 log logamount 10 tcp from any to
192.168.0.99/32 out via rl0
${fwcmd} queue 25 config pipe 1 weight 30 mask dst-ip 0x
buckets 15 queue 10 gred 0.002/7/21/0.1
${fwcmd} queue 20 config pipe 1 weight 100 mask dst-ip 0x
buckets 100 queue 9 gred 0.002/7/21/0.1
${fwcmd} queue 30 config pipe 1 weight 20 mask dst-ip 0x
buckets 100 queue 9 gred 0.002/7/21/0.1
${fwcmd} queue 40 config pipe 1 weight 10 mask dst-ip 0x
buckets 100 queue 9 gred 0.002/7/21/0.1
${fwcmd} add 891 queue 20 log logamount 10 tcp from any 5190 to
192.168.0.1/25  out via rl0
${fwcmd} add 892 queue 25 log logamount 10 tcp from any to 192.168.0.6
out via rl0
${fwcmd} add 893 queue 25 log logamount 10 tcp from any to
192.168.0.29 out via rl0
${fwcmd} add 894 queue 25 log logamount 10 tcp from any to
192.168.0.62 out via rl0
${fwcmd} add 895 queue 25 log logamount 10 tcp from any to
192.168.0.27 out via rl0
${fwcmd} add 898 queue 30 log logamount 10 tcp from any
25,110,43,53,119,123,143,953 to
192.168.0.1/25{1-3,5,7-26,28,31-61,63-98,100}  out via rl0
${fwcmd} add 897 queue 40 log logamount 10 tcp from any
80,443,3128,21,20 to 192.168.0.1/25{1-3,5,7-26,28,31-61,63-98,100} 
out via rl0

ipfw pipe show:

1:  99.000 Kbit/s0 ms  10 KB 0 queues (1 buckets) droptail
mask: 0x00 0x/0x - 0x/0x
q4: weight 1 pipe 19 sl. 1 queues (10 buckets)
  GRED w_q 0.001999 min_th 7 max_th 21 max_p 0.01
mask: 0x00 0x/0x - 0x/0x
BKT Prot ___Source IP/port Dest. IP/port Tot_pkt/bytes Pkt/Byte Drp
  2 ip   0.0.0.0/0192.168.0.30/0 2198  1821083  00  43
q00010: weight 100 pipe 19 sl. 1 queues (64 buckets)
  GRED w_q 0.001999 min_th 7 max_th 21 max_p 0.01
mask: 0x00 0x/0x - 0x/0x
BKT Prot ___Source IP/port Dest. IP/port Tot_pkt/bytes Pkt/Byte Drp
 51 ip   0.0.0.0/0192.168.0.99/09  813  00   0
q00020: weight 100 pipe 19 sl. 13 queues (100 buckets)
  GRED w_q 0.001999 min_th 7 max_th 21 max_p 0.01
mask: 0x00 0x/0x - 0x/0x
BKT Prot ___Source IP/port Dest. IP/port Tot_pkt/bytes Pkt/Byte Drp
  2 ip   0.0.0.0/0192.168.0.30/0   42 6662  00   0
  5 ip   0.0.0.0/0 192.168.0.1/0   36 6054  00   0
 13 ip   0.0.0.0/0 192.168.0.9/0   37 5021  00   0
 15 ip   0.0.0.0/0192.168.0.11/0   6116333  00   0
 25 ip   0.0.0.0/0192.168.0.53/0   23 3463  00   0
 29 ip   0.0.0.0/0192.168.0.85/0  20123807  00   0
 33 ip   0.0.0.0/0192.168.0.61/0   65 6704  00   0
 34 ip   0.0.0.0/0192.168.0.62/0  16639971  00   0
 38 ip   0.0.0.0/0192.168.0.94/0   36 7726  00   0
 39 ip   0.0.0.0/0192.168.0.35/0  15162681  00   0
 47 ip   0.0.0.0/0192.168.0.71/0  20717475  00   0
 88 ip   0.0.0.0/0192.168.0.16/0   25 4751  00   0
 98 ip   0.0.0.0/0192.168.0.26/0   44 8235  00   0
q00025: weight 30 pipe 1   10 sl. 2 queues (15 buckets)
  GRED w_q 0.001999 min_th 7 max_th 21 max_p 0.01
mask: 0x00 0x/0x - 0x/0x
BKT Prot ___Source IP/port Dest. IP/port Tot_pkt/bytes Pkt/Byte Drp
  5 ip   0.0.0.0/0 192.168.0.6/0 1093   518028  00  51
 14 ip   0.0.0.0/0192.168.0.62/0 3604  2254945  4 3098  50
q00030: weight 20 pipe 19 sl. 8 queues (100 buckets)
  GRED w_q 0.001999 min_th 7 max_th 21 max_p 0.01
mask: 0x00 0x/0x - 0x/0x
BKT Prot ___Source IP/port Dest. IP/port Tot_pkt/bytes Pkt/Byte Drp
 15 ip   0.0.0.0/0192.168.0.11/0   20 1081  00   0
 33 ip   0.0.0.0/0192.168.0.61/0  14224203  00   0
 38 ip   0.0.0.0/0192.168.0.94/0   21 1008  00   0
 39 ip   0.0.0.0/0192.168.0.35/0   21 3090  00   0
 53 ip   0.0.0.0/0192.168.0.77/0  848   

dummynet problems

2005-04-04 Thread Sergey Lapin
Hi, all! 
Here I have a problem with dummynet. System is FreeBSD-5.3-STABLE month ago. 
we have very small bandwidth from LAN. 
rl0 is internal interface. 

ipfw rukes are (fwcmd=/sbin/ipfw): 
${fwcmd} pipe 1 config bw 60Kbit/s 
${fwcmd} add 778 pipe 1 tcp from any
25,43,53,80,110,119,123,143,953,5190 to 192.168.0.0/25 out via rl0

${fwcmd} queue 1 config pipe 1 weight 100 mask dst-ip 0x queue 5 
${fwcmd} add 790 queue 1 log logamount 10 tcp from any to 192.168.0.99
out via rl0


${fwcmd} queue 2 config pipe 1 weight 100 mask dst-ip 0x0fff
buckets 150 queue 10
${fwcmd} queue 3 config pipe 1 weight 30 mask dst-ip 0x0fff
buckets 150 queue 10
${fwcmd} queue 4 config pipe 1 weight 70 mask dst-ip 0x0fff
buckets 150 queue 10
${fwcmd} add 791 queue 2 log logamount 10 tcp from any 5190 to
192.168.0.0/25  out via rl0
${fwcmd} add 795 queue 3 log logamount 10 tcp from any 80,3128,21,20
to 192.168.0.0/25  out via rl0
${fwcmd} add 792 queue 4 log logamount 10 tcp from any
25,110,43,53,119,123,143,953 to 192.168.0.0/25  out via rl0

Thanks a lot! 

S.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: supermicro 6014H-82

2005-03-29 Thread Sergey Shyman
Perhaps you should try to install 5.2.1-R, then cvsup to 5.4 (or 
anything else you want).

Eugene Mitrofanov wrote:
Hi list
I've got the subj and tried to install FreeBSD. 
5.3-R, 5.4-BETA1, 5.4-STABLE did not install at all. They timeouted on ATA 
and hang while probing asr0, but 5.2.1-R installed fine. Any suggestion? I 
would like to use 5.4-R. Does anybody use the subj with 5.3-R or later?
Best Regards
--
Best regards,
Sergey Shyman
SSI-RIPE
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Physical ethernet interface and TAP in same bridge group

2005-02-16 Thread Sergey Evteeff
Hello.

First, I have a question about correct TAP interface bringing up. How I must 
do it? 
Some people recommend do it like this:
dd if=/dev/null of=/dev/tap0 bs=1500 count=1
dd if=/dev/null of=/dev/tap1 bs=1500 count=1
dd if=/dev/null of=/dev/tap2 bs=1500 count=1

All ok, but I think it's not correct. So, how?

Second question I'd have is how I can join it into bridge group?
Some hand-passes like 
sysctl -w net.link.ether.bridge_cfg=fxp0:1,tap0:1,tap1:1,tap2:1
sysctl -w net.link.ether.bridge=1
is work, in this case IP traffic through bridge group successfully but 
Ethernet frames not. 

As a result of this I want have more than one ng pppoed at one physical 
interface. I think that:
/usr/libexec/pppoed -a Hub0 -l hub0 tap0
/usr/libexec/pppoed -a Hub1 -l hub1 tap1
/usr/libexec/pppoed -a Hub2 -l hub2 tap2
will work.

Maybe I think wrong? Anybody have some solution for me?

Thanks.

PS: sorry for my english.
-- 
Sergey Evteeff  mailto:[EMAIL PROTECTED]

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: diff: memory exhausted

2005-02-09 Thread Sergey Matveychuk
Chuck Swiger wrote:
Sergey Matveychuk wrote:
How can I compare two big text files?

Does the -H option help any?  (How big is big?)
-H does not help. With the same message.
It an output of mysqldump. 12Mb.
--
Sem.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: diff: memory exhausted

2005-02-09 Thread Sergey Matveychuk
Dan Nelson wrote:

 or you can try installing the textproc/2bsd-diff
port which apparently doesn't try to load the files into RAM, so it can
work on large files more easily.
Yes! That's it. Thanks!
--
Sem.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


diff: memory exhausted

2005-02-08 Thread Sergey Matveychuk
How can I compare two big text files?
--
Sem.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Exporting mounted filesystems

2005-01-21 Thread Sergey Zaharchenko
On Fri, Jan 21, 2005 at 08:27:00PM +0100,
 Jan Branbergen probably wrote:
Content-Description: body
  Hi,
  
   i am running FBSD 4.10 and i am trying to export mounted
  filesystems ( usb
   stick and cdrom )
  
   currently there are 2 subdirs in /mnt: da0 and cdrom.
  From man exports :
  ... specifies the mount point(s) and export flags
  within
  one local server
   file system for one or more
  hosts.
 
 I will try to clarify:
 
 HOST1:
 
 /etc/exports:
 /mnt-network 192.168.1 -mask 255.255.255.0 -maproot=0
 
 my /mnt contains 2 directories: da0 and cdrom
 
 next, on this machine i mount a usb stick:
   mount_msdos /dev/da0s1 /mnt/da0 

You export a filesystem, not a directory with its subdirectories. You
need to export /mnt/da0 etc. explicitly it /etc/exports.

-- 
DoubleF
Always remember that you are unique.  Just like everyone else.


pgpzqNnswrBLh.pgp
Description: PGP signature


Re: Multiple libexec/pppoed (ng pppoe) on a single interface

2005-01-18 Thread Sergey Evteeff
 Can I initialize more than one pppoed on a single physical interface?
 FreeBSD 4.10 || 5.3

anybody home?


-- 
Sergey Evteeff  mailto:[EMAIL PROTECTED]
cell:+7(902)324-8310
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Multiple libexec/pppoed (ng pppoe) on a single interface

2005-01-17 Thread Sergey Evteeff
Hi everyone.

Can I initialize more than one pppoed on a single physical interface? 
FreeBSD 4.10 || 5.3


-- 
Sergey Evteeff  mailto:[EMAIL PROTECTED]
cell:+7(902)324-8310
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


[no subject]

2005-01-14 Thread Sergey Kulikov


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Someone trying to break in.

2005-01-04 Thread Sergey Zaharchenko
On Tue, Jan 04, 2005 at 10:06:39AM -0500,
 Bill Moran probably wrote:
 
 Over the holiday I replaced a server that appeared to have been cracked.
 Basically built a replacement with the same services in a sandbox, then
 swapped it with the old one.
 
 The new server seems to be secure, as we're not seeing the spam coming
 off it that the old one was generating, however, I'm seeing a lot of
 messages in the log files.  For example:
 
 Jan  4 07:15:13 mail su: _secure_path: cannot stat 
 /usr/sbin/nologin/.login_conf: Not a directory

It looks like `/usr/sbin/nologin/' is someone's ``home directory'' and
that someone is trying to su. /usr/sbin/nologin can't be a home
directory, it must be the shell for some user who isn't supposed to log
in. /nonexistent should be the home directory. It looks possible that
your password file specifies /usr/sbin/nologin as a home directory and a
valid shell for some system user. Maybe you omitted or added an extra
`:'? Just a guess,

-- 
DoubleF
Dealing with failure is easy: work hard to improve.  Success is also
easy to handle: you've solved the wrong problem.  Work hard to
improve.


pgpl3NNJnkPkX.pgp
Description: PGP signature


Re: gcc violates const-ness of variable?

2004-12-02 Thread Sergey Zaharchenko
Figured Rob would never get an off-list reply because of an invalid
address... sending the reply here

On Thu, Dec 02, 2004 at 11:27:24AM +,
 Richard Tobin probably wrote:
  IIRC const does not exist in *standardized* C...
 
 No, it exists in both C89 and C99.  But the error is in your program,
 not the compiler.  const in C is a promise that you do not change
 the value, and you break that promise.
 
 It may be different in C++, I don't know.

In C, your promise is a promise to yourself only. In C++, the compiler
believes your promise and optimizes out the variable so that
printf(...,n) becomes printf(...,0). C++ is intendedly so `gullible' to
make more aggressive optimizations (like this) possible.

Try turning off optimizations for g++ to see if that `helps', but the
code is not valid C++ anyway.

HTH,

-- 
DoubleF
A LISP programmer knows the value of everything, but the cost of
nothing.


pgpZOAtF8hdlR.pgp
Description: PGP signature


  1   2   3   >