remote startup scripts

2008-03-01 Thread Björn König
Hello,

I have a setup where /usr/local is actually not a local file system. It's
NFS. My problem is that the initialization scripts doesn't seem to
consider that startup scripts could be remote. Am I right or are there
options that I missed yet?

Please don't tell me that /usr/local is intended for local files. Imagine
that you have /usr/remote additionally.

Björn


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


RE: New FreeBSD art?

2007-11-08 Thread Björn König
Ted Mittelstaedt wrote:

 [...] One of the (many) problems with the
 new logo is the large color variation.  This makes it look
 real kewel when it's displayed on the cover of a CD case,
 or a poster or a book.  But shrinking it down would remove all
 of that and you would end up with essentially a red splotch.

This is not a problem because one requirement was the ability to have a
logo that looks still nice with two or tree colors or even grayscaled. You
can see examples on http://logo-contest.freebsd.org/result/640-1.png

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]


Re: My questions about freeBSD

2007-09-03 Thread Björn König
Hello,

 Robustness:

 - Does FreeBSD offer Load-Balancinglike Piranha, with the standard
 packages? This can be supported be clustering software or by dispatching
 service requests to different instances of the same server.
 -
 - Does it offer Failover with the standard packages? This can be
 supported be clustering software or by dispatching service requests to
 different instances of the same server.

FreeBSD doesn't support clustering.

 - Is it possible to make a persistent image of the status of the
 running OS? This is needed to freeze the system and late continue
 computation with the same internal state.

No.

 - Is it possible to set the maximum allowed system resources for
 any process? To support real time system, some kind of partitioning or
 resource ensurance is needed.

Yes.

 Security:

 - What security mechanisms does free BSD offer on the network and
 data link layer? In target solution the security of the other layers
 (transport and application) are handled by the running applications and
 the middleware.

A lot. What do you need?

 - Availability, Acess Control and Integrity are important. What
 does FreeBSD offer to support these kinds of security?

http://www.trustedbsd.org/

 - Is there a way to ensure Non-repudiation on a FreeBSD system?
 The system is security critical and might handle credit card information
 and other data to identify persons. Is it possible to link this data to
 user action on the OS level?

Everything is possible if you employ competent developers.

 - Are tools provided for browsing audit trails?

 - Are security violations automatically logged?

 - Is it possible to add custom monitors to the standard auditing?

 - Are tools provided to create from auditing trails custom
 reports?

Yes. Yes. Yes. Depends on what you expect.

http://www.trustedbsd.org/openbsm.html

 - Is it possible to audit all transaction of the system or specify
 what transaction to audit?

Yes.

 Support:

 - Is there commercial developer support for freeBSD available?

There is no official commercial support for the standard distribution, but
there are many companies that develop embedded solutions with FreeBSD.
Most likely these companies offer support for their FreeBSD-based
products.

 - Do freeBSD drivers for ARINC 429 exist?
 -
 - Do freeBSD drivers for the CAN bus exist?
 -
 - Do freeBSD drivers for ADFX exist?

Maybe somebody out there wrote such drivers. Probably closed source. I
don't know. At least they are not part of the standard distribution.

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]


How to bootstrap a world?

2007-06-04 Thread Björn König
Hello,

how can I bootstrap a world? If I compile libc I get the message

  ld: cannot find -lgcc

and if I compile libgcc I get

  ld: cannot find -lc

This looks like a chicken-egg-problem. I try to build a world for a
different architecture.

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]


Re: FreeBSD 7.0 sysctl?

2007-05-27 Thread Björn König
 Hello,

 I was able to use this command in 6.x

 Now when I tried it it doesn't work in 7.0

 sysctl kern.threads.max_groups_per_proc=4

 What is the similar command in 7.0-CURRENT?

 I need this to tweak MySQL.

It has beend removed six month ago with the following notice:

[remove] Any reference of the ksegrp structure. This feature was
never fully utilised and made things overly complicated.

I suggest further discussion on [EMAIL PROTECTED] if you think and can
prove that it was really useful.

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]


Re: mpd4 cann't work after upgrade freebsd os

2007-05-25 Thread Björn König
Hello Pei,

show your kernel configuration and the content of /boot/kernel/ please.

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]


Re: mpd4 cann't work after upgrade freebsd os

2007-05-25 Thread Björn König
Pei skrev:
 mail# find / -name ng_socket.ko
 /usr/obj/usr/src/sys/MYKNL/modules/usr/src/sys/modules/netgraph/socket/ng_socket.ko
 /boot/kernel/ng_socket.ko
 /boot/kernel.old/ng_socket.ko
 mail# find / -name ng_ppp.ko
 /usr/obj/usr/src/sys/MYKNL/modules/usr/src/sys/modules/netgraph/ppp/ng_ppp.ko
 /boot/kernel/ng_ppp.ko
 /boot/kernel.old/ng_ppp.ko
 mail# find / -name ng_bpf.ko
 /usr/obj/usr/src/sys/MYKNL/modules/usr/src/sys/modules/netgraph/bpf/ng_bpf.ko
 /boot/kernel/ng_bpf.ko
 /boot/kernel.old/ng_bpf.ko
 mail# find / -name ng_iface.ko
 /usr/obj/usr/src/sys/MYKNL/modules/usr/src/sys/modules/netgraph/iface/ng_iface.ko
 /boot/kernel/ng_iface.ko
 /boot/kernel.old/ng_iface.ko

 So I find these files in /boot/kernel, but why kldload can not load them.

/var/log/messages may contain further information.

Björn


___
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 start problem

2007-05-22 Thread Björn König
Andriy schrieb:
 (II) Loading font FreeType
 (II) LoadModule: mga
 (WW) Warning, couldn't open module mga
 (II) UnloadModule: mga
 (EE) Failed to load module mga (module does not exist, 0)
 (II) LoadModule: mouse
 (WW) Warning, couldn't open module mouse
 (II) UnloadModule: mouse
 (EE) Failed to load module mouse (module does not exist, 0)
 (II) LoadModule: kbd
 (WW) Warning, couldn't open module kbd
 (II) UnloadModule: kbd
 (EE) Failed to load module kbd (module does not exist, 0)
 (EE) No drivers available.

You need at least the following ports:

  x11-drivers/xf86-video-mga
  x11-drivers/xf86-input-mouse
  x11-drivers/xf86-input-keyboard

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]


Re: kill won't kill

2007-05-21 Thread Björn König
Bill schrieb:
 On Linux systems I frequently use ``strace -p pid'' to see what
 a process is doing. I don't know the FreeBSD equivalent of strace.

strace is not a program that is dedicated to Linux. You can use strace
with FreeBSD too. You only need to install it and mount procfs:

  # pkg_add -r strace
  # mount_procfs procfs /proc

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]


Re: weird messages in daily security run output mails

2007-05-19 Thread Björn König
Jan L. Nauta schrieb:

 [...]
 +NMI 2ISAN MI ISA 38, EIS3A8,  E0I
 +S
 +A 0
 +2N2NMMII I SAIS A 38, E3I8S, AEI S0A NMI ISA 38, EISA 0 kernel trap
 +19 with interrupts disabled NMI ISA 28, EISA 0 NMI 2INSAM I ISA 28,
 +EISA2 08
 [...]
 g_vfs_done():mirror/gm0s1f[READ(offset=356486479872, length=16384)]error
 [...]

That looks like a hardware error. If you don't already have an assumption
I would try to find the broken hardware by testing the hard disks
separately, e.g. by reading the entire disk and watching the log: dd
if=/dev/da0 of=/dev/zero bs=64k and tail -f /var/log/messages.

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]


Re: ports on FreeBSD 4

2007-05-16 Thread Björn König
Brian Behlendorf schrieb:

 *default release=cvs tag=RELENG_4_EOL


Use RELEASE_4_EOL.

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]


Re: CVS tags

2007-05-07 Thread Björn König


 I have been spending a lot of time building machines at work. Our
 engineers  want to have the machine in question to have a specific
 version of FreeBSD, ie. FreeBSD 4.11-RELEASE-p11 for example. I have
 noticed that there is not a CVS tag for this in the tree. Is there
 a specific reason why we do not tag the tree for the patch levels?

Although it should never be necessary to use -p11 explicitely, you can get
it if you use RELENG_4_11 and the date 2005/06/30 00:00:00 for example.
The appropriate line in your supfile looks like this:

*default release=cvs tag=RELENG_4_11 date=2005.06.30.00.00.00

The file src/sys/conf/newvers.sh contains the version number. You can
determine the date in the CVS repository.

http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/conf/newvers.sh?f=uonly_with_tag=RELENG_4_11logsort=date

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]


Re: Broadcom BCM5721 Ethernet Not Recognized on 6.2-RELEASE

2007-04-08 Thread Björn König

[EMAIL PROTECTED] schrieb:


[EMAIL PROTECTED]:0:0:  class=0x02 card=0x165914e4 chip=0x165914e4 rev=
0x11 hdr=0x00
vendor   = 'Broadcom Corporation'
device   = 'BCM5750A1 NetXtreme Gigabit Ethernet PCI Express'
class= network
subclass = ethernet


Obviously your device is recognized and a driver has been attached. The 
name of the device is bge0 and ifconfig bge0 should show information 
about its current configuration.


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]


Re: Broadcom BCM5721 Ethernet Not Recognized on 6.2-RELEASE

2007-04-04 Thread Björn König

Hello Alex,

please show the output of pciconf -lv.

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]


Re: IPv6 Tunnel issues...

2007-03-20 Thread Björn König

Eric F Crist schrieb:

[...] I'm performing the configuration as follows:

ifconfig gif0 create
ifconfig gif0 tunnel my IPv4 address my ISP IPv4 address
ifconfig gif0 inet6 alias ::a::a ::b::b prefixlen 126

When I execute the last command, I get:
ifconfig: ioctl (SIOCAIFADDR): Invalid argument

[...]


Use a prefix length of 128 instead of 126.

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]


Re: upgraded 6.2 and mysql lost all privileges

2007-03-06 Thread Björn König

Noah schrieb:

Hi there,

I just upgraded to 6.2 and now I do not see my mysql privileges.  is 
there an easy way to get them back in place.  I thought they would 
magically appear in the /var/db/mysql directory and stuff.


Is there an easy way to recover these accounts or do I need to readd 
them manually??


What privileges do you mean? Privileges for accessing the database or 
/var/db/mysql? What do you expect? What happens? More input (and output) 
please.


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


Re: FreeBSD X11 settings in Virtual PC 2007

2007-03-01 Thread Björn König

Hello Anthony,

it seems like that Virtual PC 2007 doesn't support 24 bit color. I had 
no problems with 16 bit and 1152x768.


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]


Re: FreeBSD X11 settings in Virtual PC 2007

2007-03-01 Thread Björn König

Hello Anthony,

this is my xorg.conf:

http://www.alpha-tierchen.de/dateien/etc/xorg.conf-vpc2007.txt

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


Re: linuxpluginwrapper error in ports

2007-02-23 Thread Björn König

Dino Vliet schrieb:

[...]
ELF binary type 3 not known.
[...]

What is wrong?



Load the Linux compatibility kernel module.

  kldload linux

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


Re: help needed setting up NATIVE ipv6 connection

2007-02-21 Thread Björn König

Arone Silimantia schrieb:


--- Björn König [EMAIL PROTECTED]
wrote:


Add the following line in /etc/rc.conf

ipv6_enable=YES

This is enough to let FreeBSD configure the
interface with IPv6 
automatically using router solicitation.



Hmmm...that sounds very nice - just adding that one
line and _nothing else_.  This system is a server
though, so how will that router know to give me the
same IP every time ?


It assigns an IP that corresponds with you hardware MAC address.


ifconfig_fxp4=inet ipv4
ifconfig_fxp4_alias0=inet ipv4
ifconfig_fxp4_alias1=inet6 1234:1234:1234::2/64
ifconfig_fxp4_alias2=inet6 1234:1234:1234::3/64



Ok, yes, I think I would like to do it manually like
this.  I notice you do not have a ipv6 default route
statement there - is it not needed ?


Sorry, I forgot that.

ipv6_defaultrouter=1234:1234:1234::1


Do I need to tell my provider that I am taking the /48
they gave me and using it with a /64 like that, or can
I just stick in the /64 and it will work fine ?



I assume that if I just want to keep things simple I
can just put /48 in place of your /64, right ?


Both will work without problems.


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]


Re: help needed setting up NATIVE ipv6 connection

2007-02-20 Thread Björn König

Joe Holden schrieb:

Arone Silimantia wrote:

[...]
My provider has given me a /48.  They emailed me and told me the 
following:


- IP block is 1234:1234:1234::/48
- gateway is ::1

That is all they told me.  So my first instinct was to ifconfig an 
alias on em0 with inet6, and then add a inet6 default route.  BUT, I 
keep reading that with ipv6 you don't want to manually configure 
addresses and routes - there is some kind of fancy autoconfigure you 
can do with your gateway so that you don't need to manually configure 
the addresses (?)


So two questions:

- is there indeed some fancy autoconfigure, and I don't need to 
manually ifconfig and 'route add inet6 default'


Add the following line in /etc/rc.conf

ipv6_enable=YES

This is enough to let FreeBSD configure the interface with IPv6 
automatically using router solicitation.


- if not, assuming I just want to assign a single ipv6 address to 
myself (let's say, ::2, since ::1 is the gateway) what is the ifconfig 
syntax to add that one ipv6 address to my NIC (em0) as an alias that 
will not interfere with the ipv4 address that is already there ?


ifconfig_fxp4=inet ipv4
ifconfig_fxp4_alias0=inet ipv4
ifconfig_fxp4_alias1=inet6 1234:1234:1234::2/64
ifconfig_fxp4_alias2=inet6 1234:1234:1234::3/64


Thanks.


Think of it in the same way as Static/DHCP v4 works.
Static machines have manually assigned addresses, dynamic/moving
clients have autoconfigure by dhcp. It works in a similiar way,
you will need to configure ip addresses using ifconfig em0 inet6
as normal.


Autoconfiguration is not intended to be done by DHCP. There may be a 
router advertising daemon rtadvd(8) running on the gateway that answers 
router solicitation requests of hosts in the network. Nevertheless 
DHCPv6 has been designed to offer IP to requesting clients. 
Unfortunately there is no DHCPv6 daemon available that implements this 
feature as far as I know, not even the WIDE-DHCPv6 daemon (net/dhcp6).


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]


Re: Cannot mount file-backed msdosfs filesystem

2007-01-29 Thread Björn König

Jeremie Le Hen schrieb:

Hi,

(Please Cc: in your replies.)

I used to mount an msdosfs filesystem and it has been working correctly
so far.  Unfortuntely I can't do it anymore today:

% jarjarbinks:/usr/src:108# mdconfig -lu 0
% md0 vnode 1.8G  /mnt/msdos/FreeBSD-SSP_src.ufs
% jarjarbinks:/usr/src:109# mount -t msdos /dev/md0 /home/tataz/src/ssp/src/
% mount_msdosfs: /dev/md0: Invalid argument
% jarjarbinks:/usr/src:110# fsck_msdosfs /dev/md0
% ** /dev/md0
% Invalid signature in boot block: 


I'm not sure, but the filename FreeBSD-SSP_src.ufs hints to an UFS 
file system. Try


mount /dev/md0 /home/tataz/src/ssp/src/

instead. Executing fsck_msdosfs with an UFS file system gives me the 
same error message: Invalid signature in boot block: .


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]


Re: Multiple Directories for Jails

2007-01-29 Thread Björn König

Karl Fischer schrieb:

Hi
I'm a n00b to freebsd and jails is there away that I can specify
multiple Directories in the jails.conf ?

JAIL_HOME=/data1; /data2 etc.


What are you trying to do or what do you expect?

A file system hierarchy can only have one root directory. You probably 
want to play with unionfs. You can read about its concept here: 
http://people.freebsd.org/~daichi/unionfs/

http://en.wikipedia.org/wiki/UnionFS

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]


Re: customize floppies

2007-01-29 Thread Björn König

Oliver Koch schrieb:

Hello,

is it possible to customize the kernel in the images of the kernel
floppies (kern1.flp, kern2.flp, kern3.flp) for FreeBSD 6.2? I need a
custom kernel with a special kernel option for my bge network interface
(BGE_FAKE_AUTONEG) to get network access on my Intel Blade.

Thanks in advance!


You can modify the existing floppy images. boot.flp contains the first 
part of the kernel and kern*.flp the further parts.


Build a custom kernel using

  makeoptions MODULES_OVERRIDE=

in your kernel configuration file.

  # cd /usr/src/sys/i386/conf
  # config YOURKERNEL
  # cd ../compile
  # make cleandepend; make depend
  # make

Take your kernel file and compress it:

  # gzip -9nc kernel  kernel.gz

Now you can use the 'split-file.sh' script from src/release/scripts to 
split the compressed kernel into parts.


  # /usr/src/release/scripts/split-file.sh kernel.gz destdir 1392 Kernel

You can mount a floppy disk image with the following commands:

  # mdconfig -af boot.flp
  md45
  # mount /dev/md45 /mnt

Replace the kernel parts with your own.

I hope this helps. I havn't tested it before. There are other ways that 
are more elegant.


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]


Re: Why sendmail?

2006-09-01 Thread Björn König

Martin Möller schrieb:

Does anybody know, why the FreeBSD developers decided to use sendmail as
the standard MTA? Has there been a discussion about it and where could I
find information about it?


It's strong, flexible, its licence is suitable... Why do you ask?

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


Re: pkg_add is driving me NUTS!

2006-06-22 Thread Björn König

Remington L schrieb:

I have two servers, exact same hardware, exact same version of FreeBSD, in
this case 4.10. When I run pkg_add blah.tbz on one machine, it takes 
between

2-8 hours, on the other 8-10 minutes. These machines are quad-Intel
2.8Xeons, with 4GB of memory.

Ive done everything from running make world, to md5ing pkg_add, bzip2, and
tar, there identical.

I noticed on the one thing, on the machine that takes forever, bzip2 is 
only

using 1-3% load, while the other, which does work, takes 100%. I have SMP
compiled into the kernel, well actually, there both using the exact same
kernconf.

Anyone have ideas??


I would try to encircle the problem. Try to compress and decompress 
idendical random data with bzip2 on both machines. Try also the GENERIC 
kernel without SMP. At a glance I would assume that there is a hardware 
fault.


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


Re: smp kernel

2006-06-20 Thread Björn König

Michael P. Soulier schrieb:

Hello,

Is SMP enabled in the GENERIC kernel? I have a hyperthreading box, and on
Linux it shows up with two cpus. When I do a top on the box in FreeBSD I still
see only one CPU. Also, sysctl -a | grep cpu only shows a dev.cpu.0. 


If you install FreeBSD 6.1 then you can choose between a generic kernel 
without SMP support and an SMP enabled kernel. These kernels are named 
GENERIC and SMP. If you missed that point you can install it 
subsequently:


 # mount /cdrom
 # cd /cdrom/6.1-RELEASE/kernels
 # ./install SMP
 # echo 'kernel=SMP'  /boot/loader.conf
 # shutdown -r now

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]


Re: Does FreeBSD 4.11-STABLE support the Intel PWLA8391GT NIC?

2006-06-19 Thread Björn König

Mark schrieb:

A similar question as before: does FreeBSD 4.11-STABLE support the Intel
PWLA8391GT NIC card?


According to Google this card is also known as Intel PRO/1000. It should 
work with the em(4) driver.


See also http://www.freebsd.org/releases/4.11R/hardware-i386.html#ETHERNET


Earlier, I recieved a link to the FreeBSD site for 'older' versions, but I
only saw 4.11-RELEASE there.


4.11-RELEASE is the latest release of the 4-STABLE branch. There are 
only a few minor changes between the latest release and -STABLE in this 
case.


You should consider to use a more recent release, e.g. 6.1-RELEASE.

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


Re: FreeBSD equivalent to DRBD

2006-06-18 Thread Björn König

[EMAIL PROTECTED] schrieb:


It look like ggated + geom will do at least part of the job. Setting up
the raid part looks fairly straight forward, the question is howto manage
the swop aspect, ie machine a primary to machine b primary. I guess it is
shutdown geom + gated and starting them on the the other machine. I don't
see any way of doing this though. Perhaps I'm missing something.

The exporting the drive via NFS and swopping under haertbeat looks ok to.
It is just the gom + ggated aspect I am not sure about.


I think ggated and gmirror won't satisfy you because I'd like to call 
ggated experimental. Furthermore it is not intended for those tasks, 
because it is kept very simple. A better scenario for the current 
implementation of ggated is to mount a remote CD filesystem locally.


If you really need DRBD then stay with DRDB and linux.

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


Re: FreeBSD equivalent to DRBD

2006-06-17 Thread Björn König

[EMAIL PROTECTED] schrieb:


ISTR something about a FreeBSD equivalent to DRBD on Linux ie creating a
raid device using disks on different machines, but I've not been able to
locate any info.

Does anybody have any info and or howtos. I am thinking of putting
together a HA NFS server cluster using something like heartbeat with DRBD.
As all my servers are Freebsd, I would like to stick with it. Any
suggestions?


Hello,

as far as I know there is no such thing. I could refer you to ggated(8) 
and gmirror(8), but I suppose this is not what you want. ;-)


Björn


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


Re: natd not starting on boot-up

2006-06-07 Thread Björn König

Hello Roger,

what happens if you type

  /etc/rc.d/natd start

after boot-up?

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


Re: Running out of swap space????

2006-06-06 Thread Björn König

[EMAIL PROTECTED] schrieb:

I've got a server that is running out of swap space:

+pid 37308 (mysqld), uid 88, was killed: out of swap space
+swap_pager: out of swap space
+swap_pager_getswapspace(1): failed

The strange this is, this server has a 6GB swap partition!

swapinfo -h
Device  1K-blocks UsedAvail Capacity
/dev/da0s1b   6291456 2.6G 6.0G43%

This isn't exactly a resource-starved machine either:

CPU: AMD Opteron(tm) Processor 244 (1793.88-MHz K8-class CPU)
 Origin = AuthenticAMD  Id = 0xf5a  Stepping = 10

Features=0x78bfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,S 


SE,SSE2
 AMD Features=0xe0500800SYSCALL,NX,MMX+,LM,3DNow+,3DNow
real memory  = 2146893824 (2047 MB)
avail memory = 2065797120 (1970 MB)
ACPI APIC Table: PTLTD  APIC  
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
cpu0 (BSP): APIC ID:  0
cpu1 (AP): APIC ID:  1

FreeBSD hostname.utdallas.edu 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Thu 
Mar 30 19:25:18 CST 2006 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/SMPKERNEL  amd64


last pid: 52327;  load averages:  0.45,  0.46,  0.45 up 11+03:42:04  
03:32:15

63 processes:  1 running, 62 sleeping
CPU states:  5.3% user,  0.0% nice,  0.8% system,  3.9% interrupt, 90.1% 
idle

Mem: 1410M Active, 126M Inact, 190M Wired, 82M Cache, 214M Buf, 78M Free
Swap: 6144M Total, 2687M Used, 3457M Free, 43% Inuse

Any suggestions are welcome - what could cause this?


ps aux | sort -n +5

The latter processes need most memory.

How to 
troubleshoot?


This may be normal behaviour. It depends on the processes.


Possible solutions/workarounds?


It depends also. Possible solutions are: Add more RAM, add swap (see 
[1]) or run less processes.


[1] http://www.freebsd.org/handbook/adding-swap-space.html

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]


Re: FreeBSD 6.0, ThinkPad 600, dc0: watchdog timeout - ACPI?

2006-06-06 Thread Björn König

Hello,

I had a Thinkpad 600 and a lot of problems too, especially with 
networking and the cardbus. It received the impression that the chipset 
of the 600 is totally broken. The revisited successor 600E doesn't make 
so much trouble at all.


Add the following lines to /boot/loader.conf, restart and see what 
happens. These lines solved some of my problems regarding unreliable 
networking.


   hw.cbb.start_memory=0xd8000
   hw.pci.link.LNKA.irq=11
   hw.pci.link.LNKB.irq=11
   hw.pci.link.LNKC.irq=11
   hw.pci.link.LNKD.irq=11


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]


Re: Illegal instruction while portupgrade

2006-05-31 Thread Björn König

snnn wrote:

# portupgrade scim\*
[Updating the pkgdb format:dbm_hash in /var/db/pkg ... Illegal 
instruction
I don't know exactly who says Illegal instruction in your case, but I 
would take it as a hint that you try to execute code that doesn't work 
with your CPU. Did you compiled ruby yourself and used special CFLAGS? 
What kind of CPU do you use?


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


Re: have devfs but no /dev/fd0

2006-05-12 Thread Björn König

Paul Berner schrieb:


dmesg says:
fdc0: floppy drive controller (FDE) port ...etc.
so I guess the boot probe found by floppy hardware.


Probably you didn't quote the relevant lines. Please show the complete 
/var/run/dmesg.boot.


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


Re: New FreeBSD Logo

2006-05-10 Thread Björn König

Chad Leigh -- Shire.Net LLC schrieb:


And doesn't beastie represent the complete *BSD family, not just  FreeBSD?


I think so.

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


Re: New FreeBSD Logo

2006-05-09 Thread Björn König

Lawrence Horvath schrieb:


I quite like the new logo, i think the new one is far more
professional then the old one, though i liked them both.


I would say that there isn't an old one. Beastie is a little bit older 
than FreeBSD and I would understand it as mascot, not as a logo. So the 
new logo is not a replacement, but rather something that is missing for 
many years; and Beastie is still alive.


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]


Re: how get /var/db/pkg?

2006-05-03 Thread Björn König

xiang schrieb:

Today,i run pkgdb -F,but get a error message:you do not own
/var/db/pkg,becouse i had delete /var/db/pkg by oversight just the other
day.
and i install som ports by pkg_add just now, then i can get
/var/db/pkg,but only a record of few ports in /var/db/pkg.
As a result,It do not show all ports that had installed in my machine 
when i

run pkg_info or pkg_version.and i do not use portupgrade upgrade all
ports!
how can i do now?


I think you can't do nothing except reinstalling your software unless 
you have a backup of your old /var/db/pkg.


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]


Re: i386/96661: Can not setup the ethernet

2006-05-02 Thread Björn König

Quoted from PR i386/96661:
 I'm using dell 8200. I'm trying to configure the DHCP server ,
 It's not working.
 In my Dmesg there was something like Giant Locked and I'm unable
 to connect to the internet.
 Thanks

Hello Faris,

you'll get better results if you send a mail with your issue to one of 
the FreeBSD mailing lists[1], in this case [EMAIL PROTECTED] The 
problem report database is a platform for solving specific problems that 
are already encircled. Your problem seems to be very general.


You should tell the *accurate* error message from your log file if you 
want useful feedback. Furthermore it looks like that you have more than 
one problem. Setting up a DHCP server doesn't make sense if networking 
doesn't work properly. I would deal with this at first.


How did you configured your network adapter in /etc/rc.conf? What's the 
configuration of your LAN? Show the output of ifconfig and netstat 
-r. After you've told this, then somebody might be able to give advise.


[1]
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/eresources.html#ERESOURCES-MAIL

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]


Re: direct rending doesnt work in xorg

2006-04-16 Thread Björn König

Danny Butroyd schrieb:


Section Device
Identifier  Card0
Driver  ati
VendorName  ATI Technologies Inc
BoardName   Radeon R250 Lf [Radeon Mobility 9000 M9]
BusID   PCI:1:0:0
Screen  0
EndSection


You have to use the driver radeon in order to use 3D acceleration.


[rvn] /home/danny# glxinfo
name of display: :0.0
libGL: XF86DRIGetClientDriverName: 5.0.3 r200 (screen 0)
libGL: OpenDriver: trying /usr/X11R6/lib/modules/dri/r200_dri.so
libGL error: dlopen /usr/X11R6/lib/modules/dri/r200_dri.so failed
(/usr/X11R6/lib/modules/dri/r200_dri.so: Undefined symbol
_glapi_add_entrypoint)
libGL error: unable to find driver: r200_dri.so

The solution (according to the wiki) is to reinstall DRI and LIBGL from
source, however, I have reinstalled all the relevant ports but I still
get the same problem.  Can anyone help?


Does /usr/X11R6/lib/modules/dri/r200_dri.so exist?

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]


Re: /etc/fstab FS-specific parameters

2006-04-10 Thread Björn König

Andrey V. Semyonov schrieb:

Hi there!

How do you use FS-specific parameters in /etc/fstab (like -E for 
mount_msdosfs, or -I for mount_smbfs, etc...) ?


As far as I know this is not possible. I had a similar problem when I 
wanted to mount NFS with -L using fstab. In my case there was a 
solution, because if you specify -o nolockd then it has the same effect 
as -L. I just wrote nolockd into the options column of /etc/fstab. I 
guess this won't help you much, because mount_smbfs seems to don't make 
use of the -o parameter.


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]


Re: MPPC compression

2006-04-09 Thread Björn König

ZOleg schrieb:

FreeBSD dont have MPPC compression support, but why dont add code from
this link - http://mppe-mppc.alphacron.de/ ?


What wrong with ng_mppc(4)? ;-)

Björn

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


Re: Why are so many people using 4.x?

2006-03-28 Thread Björn König

Joseph Vella schrieb:
I notice a lot of references to version 4.x.  Is there any overwhelming reason 
why its use seems to be still popular.


Because these systems were installed a few years ago and they are still 
runnnig fine. Furthermore it might be not harmless to upgrade a 
production server to a newer version of FreeBSD.


I'm wanting to set up a server (just 
for play) on my home network using a PII machine.  Am I better off using an 
older version for such old equipment?  If so, do any particular versions 
stand out?


Try latest first, i.e. 6.0-RELEASE or 6.1-BETA if you like. I have no 
problems with 6.0-RELEASE running on a Pentium III 300 machine.


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


Re: C++ unit testing?

2006-03-06 Thread Björn König

Yuan Jue schrieb:

Hi, all.

How could I do a C++ unit testing? Is there an open source tool like
JUnit for Jaca unit testing?

Thanks in advance.



[22:11:03] [EMAIL PROTECTED]:/usr/ports 
  make 
search key=^cppunit 


Port:   cppunit-1.10.2
Path:   /usr/ports/devel/cppunit
Info:   C++ port of the JUnit framework for unit testing
Maint:  [EMAIL PROTECTED]
B-deps:
R-deps:
WWW:http://cppunit.sourceforge.net


Hope that helps.

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


Re: Setting fbsd up as a router?

2006-03-06 Thread Björn König

Huy Ton That schrieb:

Would anyone happen to know where I may find tutorials on setting up my FBSD
6.0 Release box as a router with the intention to add firewall services?
Thank you in advance, I spent the greater part of my afternoon breaking
things in the OS :.


Chapter 26 of the FreeBSD handbook [1] gives an introducion to this 
topic. If you deceide to use pf then I suggest to read the documentation 
from the OpenBSD website [2].


[1] http://www.freebsd.org/handbook/
[2] http://cvs.openbsd.org/faq/pf/index.html

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


Re: Haven't been able to make world in about a year

2006-03-05 Thread Björn König

Hello Kristian,

the thread becomes larger and more complex for me. I'd like to see an 
updated output of the build on your Pentium 120 machine with the 
following prerequisites:


  * /etc/make.conf is empty (except comments and two lines for perl)
  * verify that grep '# $FreeBSD:' /usr/share/mk/sys.mk shows 1.80.2.1
  * rm -Rf /usr/src  rm -Rf /usr/obj  cvsup /etc/cvsupfile

If you diverge from one of these points (even in a minor detail) then 
tell me please.


Now run

  cd /usr/src  make _build-tools

and show me the output please.

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


Re: Problem with mysql-server.sh script (5.0.18 on 6.1-PRE)

2006-02-28 Thread Björn König

James Long schrieb:

Hello,

I suppose the owner of /var/db/mysql is not mysql. Check this and show 
ls -ld /var/db/mysql.



Thank you for your reply.

www : 23:54:45 /root# ls -ld /var/db/mysql
drwx--  4 mysql  mysql  512 Feb 27 21:52 /var/db/mysql/



Ok, I would try to delete /var/db/mysql completely and then start mysql 
with the start script again.


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


Re: Replacing broken drive on RocketRaid 1520 SATA RAID controller

2006-02-28 Thread Björn König

N3TW4LK3R schrieb:


The one I'm having trouble with right now only has 3 options in its BIOS:
Create Array, Delete Array, Set Boot Disk. That's it :(


I had a 1520 too and as far as I can remember the controller BIOS asks 
for rebuilding a broken array automatically on boot.


Unfortunately I can't help with the current problem because I used the 
controller with Highpoint's binary-only driver that let the array appear 
as da0 instead of ar0. I used Highpoint's management software to rebuild 
 an array on-the-fly, but I think this won't work as long as you don't 
use this driver.


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


Re: 4.X Binaries on 5.X or 6.X?

2006-02-27 Thread Björn König

Don O'Neil schrieb:

Are there any reasons why I couldn't run any userland apps that were built
on 4.X (some on 4.6, some one 4.11) on the 5.X or 6.X versions of FreeBSD?


Most likely there are reasons. What's the error message? Did you 
installed misc/compat4x?


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


Re: 4.X Binaries on 5.X or 6.X?

2006-02-27 Thread Björn König

Don O'Neil schrieb:


I haven't tried running them yet, I'm just asking since I'm planning on
building a new server and would prefer to use 5.x or 6.x rather than 4.11
which my old server is running. 


Oh, I'm sorry. I misunderstood your question. :-)

There are binary-only programs like Opera for example which was compiled 
on FreeBSD 4.6 and runs without problems on 7-CURRENT.


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


Re: Problem with mysql-server.sh script (5.0.18 on 6.1-PRE)

2006-02-27 Thread Björn König

Hello,

I suppose the owner of /var/db/mysql is not mysql. Check this and show 
ls -ld /var/db/mysql.


Björn


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


Re: Shared object libmysqlclient.so.15 not found

2006-02-27 Thread Björn König

Robert Uzzi schrieb:

I am seeing two different but related errors and I'm trying to figure out
how to fix them. At bootup:

/libexec/ld-elf.so.1: Shared object libmysqlclient.so.15 not found,
required by pure-ftpd

and while running:

Feb 27 18:06:28 www postfix/smtpd[874]: unable to dlopen /usr/local/lib/s
asl2/libsql.so: Shared object libmysqlclient.so.15 not found, required
by libsql.so

I checked the obvious
ls -l /usr/local/lib/mysql/libmysqlclient.so.15 -rwxr-xr-x  1 root  wheel 
417578 Feb 27 17:37 /usr/local/lib/mysql/libmysqlclient.so.15


ls -l /usr/local/lib/sasl2/libsql.so lrwxr-xr-x  1 root  wheel  11 Feb 27
17:49 /usr/local/lib/sasl2/libsql.so - libsql.so.2

ls -l /usr/local/lib/sasl2/libsql.so.2 -rwxr-xr-x  1 root  wheel  20693
Feb 27 17:49 /usr/local/lib/sasl2/libsql.so.2

So they exist but I'm at a loss for how to fix this.


Is the missing library shown by ldconfig -r? I guess not. Does it work 
if you run the skript /usr/local/etc/rc.d/000.mysql-client.sh start 
manually?


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


Re: Remving All of MySQL Database

2006-02-18 Thread Björn König

Roman Shakin schrieb:
hello i need to remove all of the mysql databases... i messed it up... 
and now cant log in? please help. I tried deleting the /var/dg/mysql and 
running mysql_install_sh


just start mysql after removing the database, i.e.

/usr/local/etc/rc.d/mysql-server.sh stop
rm -R /var/db/mysql
/usr/local/etc/rc.d/mysql-server.sh start

That's it. Now you have a fresh clean database. The password of the root 
account is  (without quotes ;-)


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


Re: Mounting data DVDs?

2006-02-16 Thread Björn König

Ronald F. Guilmette schrieb:


I know that I'm very late to the party, but I just recently bought and
installed my first ever DVD burner.

The burner is installed on a system that I have set up to dual boot
to either FreeBSD 5.2.1 (yea, I know, that's ancient) or else to
Windoze ME.

So anyway, yesterday I followed all of the instructions located at:

  http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/creating-dvds.html

in order to create and install a fresh kernel that would have all of the
required stuff in it to be able to burn data DVDs.

I then burned my first ever data DVD... made from some data I had that I
wanted to make a backup of.

All went smoothly.  So far, so good.

The tricky part came when I then went to _mount_ my freshly burned DVD
onto FreeBSD.  (I wanted to do this just in order to verify that the
data had in fact successfully been burned onto the DVD.)

Unfortunately, try as I might, I couldn't fingure out how to just simply
mount the burned DVD onto the FreeBSD system.  I tried both:

mount -t cd9660 /dev/cd0 /mnt

which yielded only the error message:

cd9660: /dev/cd0: Device not configured

and I also tried:

mount -t cd9660 /dev/acd0 /mnt

which yielded the error:

cd9660: /dev/acd0: Input/output error

OK, so what am I doing wrong?
[...]


Maybe /var/log/messages gives you a hint what's happening.

Björn
___
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 tell what ran what

2006-02-15 Thread Björn König

Glenn McCalley schrieb:


Is there a way to find out -which- -process- calls another process?


Each process is associated with a parent; look at the ppid column:

  ps axo user,pid,ppid,command

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


Re: PPPoE question

2006-02-15 Thread Björn König

My ppp.conf looks like this:

  default:

  qdsl:
nat enable yes
set device PPPoE:fxp1
add! default HISADDR
set authname username
set authkey password

Maybe the missing ! after the add keyword is the solution to your 
problem.


Björn

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


Re: FreeBSD 6 on DVD

2006-02-10 Thread Björn König

Chris schrieb:

It's obvious that you have not installed at least 6.0 - and if you have, 
you have not installed more then just the base.


I suggest to install not more than just the base at first and install 
packages later. Then you need to switch the CD once only.


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


Re: FreeBSD Ports vs. Gentoo Portage (a matter of concept)

2006-02-07 Thread Björn König

FreeBSD Prospect schrieb:
[...] Now I am wondering, how this is even possible considering the 
following:
 
 - Portage divides all software into three states: hardmasked, masked 
unstable/testing (~arch) and stable (arch). 
 
 - In ports there is no such difference, which means the lastest software is 
just available using the usual port management features, without the need to 
fiddle around with unmasking something, to be able to install it. In most 
cases (even the usual desktop stuff, like Gnome  KDE) software in ports is 
more up-to-date than in portage. 
 
That means, to be able to compare Gentoo Linux with FreeBSD, you would have to 
run a pure unstable (~arch) Gentoo system, which is generally not 
recommended, and especially not for a production system. 
 
So how is it possible, that FreeBSD is considered to be more suited as a 
production environment, if it runs the latest software-versions, which are 
considered unstable/testing in Gentoo?
 
[...]


I think this has something to do with the responsibility of the 
operating system. Typical Linux-based systems, including Gentoo, attach 
importance to the package manager and the software that they provide. 
FreeBSD is mainly a kernel and a set of well maintained userland tools 
and services. Everything beyond this is more a kind of meeting the 
system administrator halfway. This requires from the administrator that 
he know what he is doing, that he visit websites routinely and read news 
and security bulletins regularyly instead of blindly updating software. 
I don't want to say that I disfavour the way of Gentoo, because it can 
support the administrator significantly. I just want to say, that the 
FreeBSD ports are much older and therefore they don't take those aspects 
in account. If you ask why it's not there then the answer would be that 
nobody implemented it. The answer to the question why it is considered 
as suitable for production environment depends on the kind of this 
environment. Look at Debian; why is this distribution a good choice for 
production environments although they provide software that you can find 
in a museum? Because most production environments requires stability for 
the purpose of changelessness. You don't want the latest and best 
software, but rather thoughtfulness. The way of Debian is to let the 
package maintainers think about the available software; the way of 
FreeBSD is to let the administrator think about it.


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


Re: MySQL version for 6.0

2006-02-06 Thread Björn König

Greg 'groggy' Lehey schrieb:


I'd be interested to know why you recommend version 4.1 over 5.0.


I still had not enough time to investigate 5.0. I just ran sql-bench a 
few times on a dual Pentium III 733 machine and noticed that 5.0 was up 
to 10% slower than 4.1 with the default configuration. So my 
recommendation is neither binding nor reasonable; it's just a random 
proposal according to my feeling. :-)


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


Re: FreeBSD and quantum computing

2006-02-05 Thread Björn König

Kristian Vaaf schrieb:


Hello.

I do not know much about quantum computing.

http://en.wikipedia.org/wiki/Quantum_computing

But does anybody know what plans FreeBSD has for it?
Does it intend to put any research into it?

Thanks,
Vaaf


Don't we need quantum computers at first? Are you looking for 
pre-(r)evolutionary development? I suppose you won't have success with 
general purpose operating systems like FreeBSD.


Björn
___
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 create partitions?

2006-02-05 Thread Björn König

Peter schrieb:

What tool allows me to boot on some media (cd, fd) and create partitions
of various types (for FreeBSD, Windows 98/2000 at least) and sizes (in sectors)?


You can use the bootonly CD to do this task.

ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/ISO-IMAGES/6.0/6.0-RELEASE-i386-bootonly.iso

Björn
___
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 create partitions?

2006-02-05 Thread Björn König

Peter schrieb:


Given that, on a windows client, I have backed up the partition the OS and
its applications reside on. 
Given that the client's disk becomes unusable.

Given that I can recreate the correct partition size and type with this
CD.

What is the best way to set up the MBR of the windows client so it will
boot?  An aborted Windows install?


I'm not sure what you are trying to do. sysinstall's fdisk programm 
which is on the CD writes suitable boot code to the MBR if you want it.


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


Re: MySQL version for 6.0

2006-02-05 Thread Björn König

je killen schrieb:

Greetings:
I'm looking to find out if there is a current version of MySQL specific 
for v6 FreeBSD on AMD64. I don't see one
on the MySQL site and I don't know if I can successfully build it from 
source on this machine.

thanks;
Jeff K


You can use FreeBSD's software management to install mysql. After you 
have installed FreeBSD you can install MySQL easily:


  pkg_add -r mysql41-server

Alternativeyl you can choose mysql323-server, mysql40-server or 
mysql50-server.


Add these lines to /etc/rc.conf:

  mysql_enable=YES
  mysql_dbdir=/path/to/database/dir   # this is optionally

Then run

  /usr/local/etc/rc.d/mysql-server.sh start

That's all. Now you have set up a MySQL server.

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


Re: Any idea when Xorg 7.0's coming to FBSD?

2006-02-03 Thread Björn König

Kent Stewart schrieb:

On Thursday 02 February 2006 23:53, Björn König wrote:


The noticeable difference is that 7.0 takes much more time to compile
all in all because of its modularity. A German magazine tested both:
6.9 took 19 minutes and 7.0 75 minutes on their dual Opteron 246
machine with 2 GB RAM (source: iX 1/2006).


Differences like that usually point out a poor interaction between the 
files and the make process. [...]


As far as I know they use the wide spreaded tools automake, autoconf, 
libtool and pkgconfig to prepare the build process. I'm sure most users 
noticed that executing ./configure takes a lot of time in many cases. It 
may be that 7.0 takes so much time because it is frequently testing 
whether strlen() exists or not. :-P


Björn


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


Re: We need your help

2006-02-02 Thread Björn König

[EMAIL PROTECTED] schrieb:

Dear Sir or Madame,

we are about to launch a book about Free BSD and would like to ask if we may
use your logo for the front cover - I send you the dummy attached.
 6538-8 Entwurf3_2.2.06.jpeg.jpg 


There is no attachment.

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


Re: Freebsd kernel guide

2006-02-02 Thread Björn König

Ananth.G schrieb:

hi all,
 Is anyone aware of a good book that teaches the internals of
freebsd kernel? ie. books for understanding kernel internals,
kernel module programming and kernel source (tree)guide.

regards,
ananth g.


I recommend this book:

http://www.amazon.com/gp/product/0201702452

This book is very good if you want to understand how the FreeBSD kernel 
works. It discusses various important parts of the kernel in detail. It 
is less suitable for practical application; I suggest to read kernel 
source code. ;-)


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


Re: Any idea when Xorg 7.0's coming to FBSD?

2006-02-02 Thread Björn König

Garrett Cooper schrieb:

Erm, unless 6.9 is modular (which I didn't think was the case), there 
should be a noticeable difference.


The noticeable difference is that 7.0 takes much more time to compile 
all in all because of its modularity. A German magazine tested both: 6.9 
took 19 minutes and 7.0 75 minutes on their dual Opteron 246 machine 
with 2 GB RAM (source: iX 1/2006).


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


Re: /dev/dsp

2006-02-01 Thread Björn König

Mohsen Pahlevanzadeh schrieb:

Dear all,
I have installed FreeBSD 6.0.But since 5 series,MAKEDEV was removed. 
replace with devfs.

I haven't /dev/dsp
Please help me that i can create it
Yours,Mohsen


Did you load the appropriate driver for your sound chip? Show me 
kldstat and pciconv -lv please.


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


Re: How I can create UFS file system on DVD-RAM?

2006-01-23 Thread Björn König

cblasius schrieb:

Hello!

How I can create UFS file system on DVD-RAM?


You can do it this way if acd0 is your DVD-RAM drive:

  newfs /dev/acd0

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]


Re: boot process failure (/boot.config, boot2, loader)

2006-01-17 Thread Björn König

J oberweith schrieb:

[...]

Now during boot it stops in (apparently) boot2 with:

Free BSD/i386 boot
Default: 0:ad(0,a)2
boot:

[...]

Any ideas on how to use the boot2 system to find/edit/remove the /boot.config 
file?


You can't.


Or maybe to just tell the boot2 process to ignore /boot.config?


As far as I know you can't either.

But try /boot/loader instead of 2 or root ;-)

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


Re: quotas + jail ?

2006-01-11 Thread Björn König

Vladimir Dvorak schrieb:


I have simple question - is possible to use quotas in jail(8) environment ?
[...]

It seems to be impossible ( some kernel restriction ). :-( Is there some
way to allow this ? My last idea was to replicate users and groups to
main system and use quotas from it - but it is not good solution if we
have several hundreds users in jail(8).


You don't need to replicate users and groups, just use UIDs and GIDs. 
There is a serious disadvantage: if you set quota for a specific UID 
then it affects all users with the same UID in different jails and even 
at the host; I guess this is not what you want.


If you want to restrict the space that can be consumed by a jail then 
you might use memory devices, i.e.


# create 1 GiB file
$ dd if=/dev/zero of=myjail321 count=16k bs=64k
$ mdconfig -af myjail321
md321
$ mkdir /jail/myjail321
$ mount /dev/md321 /jail/myjail321
$ cd /usr/src
$ make installworld DESTDIR=/jail/myjail321

and so on ...


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]


Re: Enabling atapi-cam and other kernel features

2006-01-07 Thread Björn König

Alistar Erlas schrieb:

Recently, I read in the FreeBSD handbook, that in
order to use the atapi-cam support, it has to be
compiled into the kernel. Why not include the
atapi-cam support in a module that can simply be
loaded by the user without rebooting the machine?


It is possible to load an atapicam module with 6.0-RELEASE and later.

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]


Re: FreeBSD 6.0 AMD64 Dont Detect My PCIExpress Card...? Radeon X300.

2006-01-03 Thread Björn König

perikillo schrieb:

  Hi people.
I have this motherboard:

http://www.msi.com.tw/program/products/mainboard/mbd/pro_mbd_detail.php?UID=652

   K8N Neo4 AMD64

   I install freebsd 6.0 AMD64, the installation was easy. The
problema is my VGA card is one PCIExpress ATI Radeon X300, i install
suse 10 on the same computer and suse detect the card, i say if suse
can bsd can, but no :-(


There is no reason for this conclusion.


, on the BIOS i dont have the option PnP OS =
YES or NO, i have 2 options for the VGA card:
PCIE or PCI, and IRQ Auto and Manual, i test both Auto and Manual, but
still didnt detect my card.


What do you mean with detection of the card? How do you determine 
whether the card has been detected or not?



I read the NOTES file and found two options:

drm
radeondrm


These are for 3D support, but man radeon says that your card isn't 
supported in this regard by this driver.



[...]

   If iam correct pci5 is my the PCIE card...? But dont see nothing
that say PCIExpress Card...?


This is not a problem because PCI express devices appear as regular PCI 
devices.



   I have 2 options, find another VGA card compatible with freebsd or
continue locking for help and maybe the results would not be good ?


Buy an Nvidia card if you need 3D support necessarily, because Nvidia 
offers drivers for FreeBSD. ATI does not; they support Linux only.


The third option would be to do it without 3D support. This should work 
always. If you have problems with configuring the X Window Server then 
/var/log/Xorg.0.log might be helpful. :-)



   Another thing is that, if i compile the GENERIC kernel deleting
some fields but let the 3 options for Firewire support, make send me
errors and dosent finish...?

[...]


Most likely you deleted some options that are necessary for firewire 
support. I can't say more unless you tell the error message and your 
kernel configuration file.


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]


Re: make buildworld

2005-12-27 Thread Björn König

Doug Hardie schrieb:
I am upgrading a server to 6.0 and encountered an error in make  
buildworld.  However, I don't know what the error was as I piped  stdout 
to a file, but not stderr.  It was fairly near the end so I  really hate 
to restart from the beginning again.  The master server  is a fairly 
slow machine.  When  something like this happens, is  there a way to 
restart the make where it died?  Is there an easy way  to build the 
specific module that failed to get the complete errors?   In this case 
the module was /usr/libexec/telnet.  I went to /usr/src/ libexec/telnet 
and did a make.  It completed without any problems.   So, I ended up 
restarting the make from the top again, but would like  to know for 
future situations.  Thanks.


Try make -DNO_CLEAN buildworld next time. This prevents the build 
script from deleting object files in /usr/obj.


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]


Re: 3D Hardware Graphics

2005-12-27 Thread Björn König

Jon schrieb:

Hello all,

I'm wondering how to get 3D Hardware graphics going
under FreeBSD. 
I tried both the LibGL.so that came with the driver

for my graphics card and the default LibGL.so that
came with FreeBSD '/usr/X11R6/lib' but no go, still
slow software mode. I have a DRI radeon enabled driver
and a radeon driver for xorg.conf, AGP was built into
my kernel. What else can I try to get this going?

Thanks
FreeBSD 6.0 STABLE - ATI Radeon 9800 Pro


This is almost not possible because ATI doesn't provide a driver for 
FreeBSD and the driver that comes with X.org supports only models up to 
Radeon 9000 concerning 3D capabilities; you'll find more information 
about supported cards in the radeon manpage of the xorg-server 
package. There is an open source project that aims 3D support for more 
recent cards:


http://r300.sourceforge.net/R300.php

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]


Re: kernel options

2005-12-27 Thread Björn König

Imran Imtiaz schrieb:

where can i find all the customization options of ther kernel?


See src/sys/conf/NOTES for platform-independent options and for example 
src/sys/i386/conf/NOTES for i386-specific options.


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]


Re: Memory upgrade and resizing the /swap partition ...

2005-12-27 Thread Björn König

Kiffin Gish schrieb:

I just upgraded my laptop from 512MB to 1024MB memory.

It is said that the /swap partition has to be at least as much as the maximum 
available memory, [...]


This is more an ancient rule of thumb. You can even have a working 
system without swap at all. Swap will be only used if you have to less 
memory available and it depends on the main purpose of the computer how 
much swap you need. For example I have a small server at home that acts 
as small web server, mail server, file server and many other things; the 
server has 768 MB RAM and 128 MB swap and ran for the last two years 
without out of memory failures.



Can I increase the size of the existing swap partition or do I have to create a 
new one? [...]


There is another solution: you can use a file that extends your swap 
partition.


# create an empty 256 MB file
dd if=/dev/zero of=/usr/swapfile bs=1024k count=256

# add an appropriate line to rc.conf
echo 'swapfile=/usr/swapfile'  /etc/rc.conf

# add swap
/etc/rc.d/addswap start

'swapinfo' shows information about your current swap partition and files.

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]


Re: Missing lib

2005-12-27 Thread Björn König

[EMAIL PROTECTED] schrieb:

Hi all,


My system (FBSD 5.4, Xorg, Gnome2), started to show the following 
message.


/libexec/ld-elf.so.1: Shared object libexif.so.10 not found, required 
by nautilus


I indeed, could not find libexif.so.10.
How can I fix that?


There are several ways how this could happen, but I don't want to 
speculate about the reasons. I guess you have installed nautilus 2.10 
and a newer or older version of libexif.


Make sure that you have either latest versions of both pieces of 
software, i.e. libexif 0.6.12_1 and nautilus2 2.12.2, or install both as 
packages from the same source FTP directory.


If you are still unsure then show pkg_version -v.

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]


Re: CardBus problems. $PIR: ROUTE_INTERRUPT Failed.

2005-12-18 Thread Björn König

Andrew Walker schrieb:

[...]
cbb0: TI1250 PCI-CardBus Bridge mem 0x20822000-0x20822fff at device
2.0 on pci0
cardbus0: CardBus bus on cbb0
cbb0: TI1250 PCI-CardBus Bridge mem 0x20821000-0x20821fff at device
2.1 on pci0
cardbus0: CardBus bus on cbb1
$PIR: ROUTE_INTERRUPT failed.
cbb: Unable to map IRQ...
device_attach: cbb1 attach returned 12
[...]


I had similar errors with my Thinkpad 760XL. Try FreeBSD 4.11 and if 
this work you can mostly use 5.x by using a custom kernel with


 device  pcic
 device  card

instead of

 device  cbb
 device  pccard
 device  cardbus


This is because a new pccard bus driver infrastructure was added in 
FreeBSD 5 and the old was removed as alternative in 6. The new one 
doesn't work with old ISA hardware.


Björn
___
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 make init(8) run a daemon to me??

2005-12-18 Thread Björn König

Gustavo Parrini schrieb:


I'm having a pretty hard time trying to figure out how
can I get init(8) to run a daemon and respawn it if it
crashes. By the time I was a Linux user, it was done by
adding a line in /etc/inittab and it was all...

I know that it must be done in /etc/ttys but I couldn't
find any syntax example after searching the FreeBSD manpages,
maillists, Handbook and Google.


This is an example for /etc/ttys:

  /bin/sleep 12 unknown on  secure


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


Re: When using make install for php5 it fails

2005-12-14 Thread Björn König

Kevin Kinsey schrieb:


And we should also be asking, *why* is it failing?

The tarball really doesn't seem to exist on ftp.freebsd.org.
Strange that the Makefile would assume it does --- and,
furthermore, ale@ announced on the 10th of this month
that he was bumping the port up to 5.1.1 ...


That's why I asked if MASTER_SITES is set. The port works for me in 
general; it uses the correct servers and downloads php-5.1.1.tar.bz2 
from one of the PHP mirror servers without any problems. But I get 
exactly the same error message as Jose if I set MASTER_SITES to a random 
value.


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


Re: When using make install for php5 it fails

2005-12-13 Thread Björn König

Jose Borquez schrieb:
When attempting to install php5 from ports it attempts to download, but 
I get the following errors:


Attempting to fetch from 
ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/.
fetch: 
ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/php-5.1.1.tar.bz2: 
File unavailable (e.g., file not found, no access)

[...]


Is this the complete output? Have you set MASTER_SITES somewhere, e.g. 
in /etc/make.conf? If so, remove it.


A workaround would be to download the file manually and place it in 
ports/distfiles. After you have done this, use the port again to install it.


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


Re: Can't connect to local MySQL server

2005-12-13 Thread Björn König

Jose Borquez schrieb:
I am attempting to create a mysql database so that I can install Group 
Office using

mysqladmin create groupoffice and I keep getting the following errors:

mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket 
'/tmp/mysql.sock' (2)'

Check that mysqld is running and that the socket: '/tmp/mysql.sock' exists!

I looked in /tmp and mysql.sock is not there.

Can someone please tell me what is wrong and what I need to do to 
correct this?


I install MySQL this way and the socket is there for me:

# rm -R /var/db/mysql   // removes old databases
# pkg_add -r mysql41-server // install software
# ls -l /tmp/mysql.sock
ls: /tmp/mysql.sock: No such file or directory
# /usr/local/etc/rc.d/mysql-server.sh forcestart// start server
# ls -l /tmp/mysql.sock
srwxrwxrwx  1 mysql  wheel  0 14 Dez 08:32 /tmp/mysql.sock
# echo 'mysql_enable=YES'  /etc/rc.conf

That's it.

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


Re: I need a better way to loop in the shell...

2005-12-13 Thread Björn König

Hello user,

This worked for me:

  xargs -I% rm %  file


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


Re: SCP!

2005-12-12 Thread Björn König

Svein Halvor Halvorsen schrieb:

On 12/12/05, Giorgos Keramidas [EMAIL PROTECTED] wrote:


You use PSCP.EXE instead of PUTTY.EXE from a Windows' cmd prompt.
That's probably awful, if you're looking for something with fancy,
colourful GUI buttons, but it has certainly saved my a$$ a few times :)



http://winscp.net/ is a nice GUI scp and sftp client for Windows.


Yet another GUI which is my favourite:

ftp://ftp.ssh.com/pub/ssh/SSHSecureShellClient-3.2.9.exe

Free of charge for non-commercial use.

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]


Re: FreeBSD 6 and Mysql

2005-12-10 Thread Björn König

mohammad babaei schrieb:


Is the problem with mysql  freebsd threads still remaining ?


Which problem?

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


Re: Purge all removed packages ?

2005-12-09 Thread Björn König

Mehmet Fatih AKBULUT schrieb:

hi all.
how can i purge all removed packages ?
does freebsd has something like this : *dpkg -l | awk '/^rc/ {print $2}' |
xargs dpkg --purge *??? (which works on debian!)
any suggestion ?


This is not necessary because if you install with pkg_add -r the 
package will be downloaded into a temporary directory and deleted after 
the software has been installed.


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


Re: killing freezed tty's

2005-12-07 Thread Björn König

spen schrieb:
 hello all, 
  I am new to fbsd world and I have a question about how to kill a ttyv_ that has freezed.
  I tried to ps -aux and did not see any PID that could relate to ttyv1.  
  When I am via ssh I can kill the proccess of ssh.

  thank you and sorry if the question seems stupid.


You get information about processes that use tty devices by using fstat, 
e.g. 'fstat /dev/ttyv1'.


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


Re: Linksys

2005-12-06 Thread Björn König

Douglass, Erik schrieb:


I know linksys isn't the best for freebsd, but
I've run the ndisgen and loaded the win drivers.
I load the ndis into the kernal and it seems to
initialize something as the card gets a power
light. The card is still not showing in ifconfig.
Any ideas?


Are there some important messages in /var/log/messages after loading the 
driver?


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


Re: buildworld with 6.0

2005-12-04 Thread Björn König

eoghan schrieb:

[...]
Ive cvsup my src to 6.0 and ran:
/usr/src make buildword
however im getting the following error:
=== sbin/ipf/ipf (obj)
mkdir: /usr/obj/usr/src/sbin/ipf/ipf: File exists
*** Error code 1
[...]
Can someone help me with this? Im currently running 5.4-RELEASE.
[...]


Remove your object directory and try again, i.e. rm -R /usr/obj.

Björn
___
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 enable NCQ?

2005-12-01 Thread Björn König

Wojciech Puchar schrieb:

a bit not understanding! does NCQ require some special hardware on 
motherboard?! isn't that just serial ATA?


NCQ is part of the SATA II specification and doesn't work with ATA 
controllers that can only deal with SATA devices of the first generation.


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


Re: Mounting a linux partition under freebsd

2005-12-01 Thread Björn König

Guillaume R. schrieb:


I can't mount a linux partition under freebsd with the -t ext3fs
option could someone explain me how I could mount a linux partition
under freebsd?


FreeBSD has limited support for ext2, therefore you can mount it as ext2 
filesystem only. You can convert the filesystem between ext2 and ext3 
without data loss by just executing fsck. Run fsck.ext2 from the 
e2fsprogs package first. Now you can mount it with mount_ext2fs and 
access data. Finally after you have unmounted it you need run fsck.ext3 
to recreate the filesystem journal.



I got an other question: how could I obtain a human readable output of
fdisk to know the content in terms of partition of my disk?


In case you get used to use linux fdisk, you might get lucky with the 
ncurses based program cfdisk-linux from the linuxfdisk package. ;-)


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


Re: Can't run scripts no more: permission denied

2005-12-01 Thread Björn König

Blue Raccoon schrieb:


I tried to make a simple script to launch sylpheed when mailto: is clicked
in firefox:
 sylpheed --compose $1
I put that in a plain text file, made it executable.. and nothing happened.
From the command line I get permission denied when I run it. Even when I
set perm to 777.


Do you try to run it with ./nameofthescript? Could it be that the 
filesystem where you saved your script, is mounted with the noexec flag? 
mount lists the flags of each mounted file system.


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


Re: 6.0 Release no /stand/sysinstall ?

2005-11-18 Thread Björn König

Björn König schrieb:

This does not only concern 6.0, but rather FreeBSD since 5.0 some years 
ago. There is a huge amount of changes across from FreeBSD 4.x.


Right now I noticed that this is a mistake at my part. /stand/sysinstall 
still exists in 5.x. I'm sorry for confusion.


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


Re: ntpdate

2005-11-15 Thread Björn König

dick hoogendijk schrieb:

I have a ntpdate -b server rule in my rc.conf before the ntpd daemon
starts up. I get error msgs that the time server cannot be found.
Is named run before or after ntpdate?
Should I change the rule in something like ntpdate -b ip ?
What is the rule of thumb?


According to rcorder /etc/rc.d/* named will be executed before 
ntpdate. Does it work if you use an IP?


Björn

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


Re: 6.0 Release no /stand/sysinstall ?

2005-11-14 Thread Björn König

BSD Mail schrieb:


I've just installed a vanila FreeBSD 6.0 Release from CD. As usual I thought
i might want to add other
things from /stand/sysinstall but looks like I'm getting command not found
so I cd to the / directory
but there is no stand directory in there. Anything I should know about in
regards of 6.0 ??


This does not only concern 6.0, but rather FreeBSD since 5.0 some years 
ago. There is a huge amount of changes across from FreeBSD 4.x.


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]


Re: mbr and boot disks?

2005-10-21 Thread Björn König

Mark wrote:


I am currently dual booting between windows and freebsd but I need to
reinstall windows on the other partition. How do I create a freebsd boot
disk so that after windows rewrites my mbr I can still get back to bsd?
Then how would I re-install freebsd's boot manager so I can continue to
dual boot?


Hello Mark,

use disc1* of FreeBSD. Boot from CD-ROM and choose Fixit and then 
CDROM/DVD and run boot0cfg -B /dev/ad0. That's it.


*) The live filesystem is on disc2 if you use FreeBSD 5.3 or previous 
versions.


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]


Re: route question

2005-10-21 Thread Björn König

Jeff Maxwell wrote:
I added a route to my rc.conf now I get this message. The route that  I 
added seems to work, but


Cron [EMAIL PROTECTED] /usr/libexec/save-entropy

route: not found

The route that I added seems to work, but the syntax must be wrong.
this is what I added:

defaultrouter=10.10.10.1
hostname=mail..com
ifconfig_fxp0=inet 10.10.10.7  netmask 255.255.255.0
route add -net 10.10.30.0 10.10.10.3


This is a quite bad idea, because rc.conf will be included everytime an 
rc script is called. This means that your command line will be executed 
several times if you just call /etc/rc.d/inetd restart for example.


# echo 'echo hello world'  /etc/rc.conf

# /etc/rc.d/inetd forcerestart
hello world
hello world
inetd not running? (check /var/run/inetd.pid).
hello world
Starting inetd.


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


Re: TSC Timer Quality ?

2005-10-14 Thread Björn König

   Peter B schrieb:

Intel pentium cpu timer tsc:
  'Timecounter TSC frequency X Hz quality Y' (from dmesg)

What is the definition of quality ..?


I have looked briefly in the /usr/src/sys/i386/i386/tsc.c sourcefile and
the intel-celeron datasheet. Without finding anything useful.

   From src/sys/sys/timetc.h:
54 int tc_quality;
55 /*
56  * Used to determine if this timecounter is
   better than
57  * another timecounter higher means better.
   Negative
58  * means only use at explicit request.
59  */
   As far as I understand this, it is used internally only.
   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]


Re: TSC Timer Quality ?

2005-10-14 Thread Björn König

Peter B schrieb:


Btw, avoid html encoded email pls.
 


I'm really sorry. :-(

Normally I disapprove HTML mails. I forgot to check that because this is 
not my PC.


Björn

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


  1   2   3   >