Re: flowchart drawing tool for BSD

2008-08-26 Thread Daniel Molina Wegener

Dánielisz László escribió:

Anyone know of a good flowchart drawing tool for BSD?
Something like Visio?


  Hello, you can try de following:

  kivio (I think it's under koffice)
  bouml
  umbrello
  dia
  xfig



Laci


 [SNIP]


Regards,
DMW

___
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 set TCP parameter?

2008-08-19 Thread Daniel Molina Wegener
On Tuesday 19 August 2008 21:17:46 EdwardKing wrote:
 How to set TCP parameters,such as tcp_time_wait_interval?

  Try sysctl(8) and sysctl.conf(8)


 Thanks


 [SNIP]

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


Regards,
-- 
 .O. | Daniel Molina Wegener   | C/C++ Developer
 ..O | dmw [at] unete [dot] cl | FOSS Coding Adict
 OOO | FreeBSD  Linux User| Standards Rocks!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: building a OS

2008-08-10 Thread Daniel Bye
On Sun, Aug 10, 2008 at 02:24:19AM -0700, Marshall wrote:
 hi,
  I would like some help. I want to make my own build,
 how do I? What tools do I need? is there a stripped
 down to the base I use and add the apps I want? I'm
 not sure how to go about it. I don't want to be a new
 distro or anything like that, I just want to build for
 me.
 thanks
 Marshall

That's quite an ambitious task. The first thing to do is to reread
the Handbook (you have read it already, haven't you?), and then take
a look at

http://www.freebsd.org/doc/en_US.ISO8859-1/articles/releng/index.html

As for stripped down systems, there are a number of approaches. Search
Google for things like minibsd, picobsd, nanobsd. There are plenty of
pages out there.

Good luck!

Dan

-- 
Daniel Bye
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \


pgpPZAUl6VTVw.pgp
Description: PGP signature


Re: buildworld, buildkernel, installkernel, shutdow now, fsck -p -- NO WRITE ACCESS

2008-08-04 Thread Daniel Bye
On Mon, Aug 04, 2008 at 04:00:56PM -0400, [EMAIL PROTECTED] wrote:
 I do not code in any way.  With that being said, should you be able to 
 help please do so with the knowledge that I can not code.  I'm following 
 the freebsd handbook when the following occurs.
 
 -- separate fresh 'dangerously dedicated' installs of both 7.0 and 
 6.3-RELEASE on the same machine, yield the following:
 In multi-user mode make buildworld, buildkernel and installkernel.
 Shutdown now

This will only drop you to single user mode with all filesystems still
mounted. It is not a good idea to run fsck on a mounted filesystem...

Instead, you need to run

# shutdown -r now

to REBOOT the machine with the newly installed kernel. At the loader
menu, press `4' to boot into single user mode (at this point, only /
will be mounted, so your `fsck -p' should work just fine).

Now procede with the next steps...


 -- fsck -p
 /dev/ad4s1a: NO WRITE ACCESS
 /dev/ad4s1a: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY
 
 This happens each and everytime no matter if I install from iso -or- ftp 
 (passive). After numerous attempts the only way to get past this is 
 'fsck -y'. Could the fbsd handbook section I'm following need updating 
 or is there another issue taking place here?

I think you're getting confused by the instructions (don't have a browser
to hand so can't check the handbook, so apologies if this isn't the case).
IIRC, the handbook suggests you drop to single user BEFORE you begin, in 
order to ensure nothing else is running while you run the build. In my
experience, this has not been necessary. Even still, after the installkernel
you MUST reboot the newly installed kernel before you continue.

HTH

Dan

-- 
Daniel Bye
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \


pgp37l6bYbf2D.pgp
Description: PGP signature


Re: buildworld, buildkernel, installkernel, shutdow now, fsck -p -- NO WRITE ACCESS

2008-08-04 Thread Daniel Bye
On Mon, Aug 04, 2008 at 06:37:28PM -0400, email wrote:
 I thank you.  In addition, I am quite sure the command we are referred 
 to in 23.4.5 Drop to Single User Mode is in fact 'shutdown now' and 
 not 'shutdown -r now'.  

Yes. But that section relates to dropping to single user mode for the
duration of the build, not for the installworld phase. To quote from 
23.4.5:

  You may want to *compile* the system in single user mode. (Emphasis
  mine)

It is merely a possible preparatory step that some people like to take
before embarking on the rest of the process.

Section 23.4.9 goes on to talk about what to do after the world and 
kernel build are complete, and you have installed the new kernel:

  You should reboot into single user mode to test the new kernel works.
  Do this by following the instructions in Section 23.4.5.

This refers specifically to the part of 23.4.5 that talks about 
rebooting into single user mode, and not the part that talks about
dropping to single user mode. (A subtle, but important, distinction.)

I would suggest that the simplest approach would be something like:

# cd /usr/src
# make buildworld  make buildkernel
# make installkernel
(reboot into single user mode)
# fsck -p
# mount -u /
# mount -at ufs
# swapon -a
# cd /usr/src
# make installworld
# mergemaster

(Just so we're clear - section 23.4.5 talks about going to single
user mode for the duration of the *first 3 steps* of the above process.
As I mentioned previously, I have never found this step necessary, but
there is certainly no harm in it, and it may be the sensible thing to
do if your system has a lot of users logged in during normal operations.
Note that you must still reboot after installing the new kernel, and
before continuing to installworld.)

Dan

-- 
Daniel Bye
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \


pgpnzbqKAcFb9.pgp
Description: PGP signature


Re: FreeBSD 7.0 Hardware Requirement.

2008-07-31 Thread Daniel de Oliveira
Im using 7.0 on my Dell Latitude C400 and works very fine (Pentium3
1.2, 256 ram). Sure, because I'm sometimes paranoic about performane
even with slow machines, I'm using xfce.

On Thu, Jul 31, 2008 at 11:43, ketan tada [EMAIL PROTECTED] wrote:
 Hello

 I've tried to find hardware requirement for FreeBSC 7.0
 but I couldn't found that. Can you please send me the hardware requirement?
 I have laptop(celeron 1.4, 256 ram) so Can you suggest me which verson is
 suitable for my hardware.

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




-- 
Daniel de Oliveira

Network and System Analyst
Security Specialist
IBM RISC Specialist
IBM Storage Specialist
Linux/Unix Specialist
Linux User #: 405334
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: tex, teTex, LaTeX help

2008-07-30 Thread Daniel Molina Wegener

Joey Mingrone escribió:

Hello,

I've been told that LaTeX is probably the best solution for creating
scientific papers with math fonts, so I'm trying to get a working
installation.

My first attempt was to install the latex2e-2003.12_1 port, which
installed the tex-3.14159_3 port as a dependency.  This seemed to
work, but there were some things referenced in the documentation that
seemed to be missing.  For example, the amsmath package wasn't
available.  I thought there must be a port specifically for these
fonts, but it seems they are in the teTex port, but that port
conflicts with the tex port and it seems teTex is no longer being
updated.

Is there a guide for getting all this set up, or can some kind soul
suggest a installation method that works well for them?

Thanks,

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

Try teTex and other packages regarding it.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: tex, teTex, LaTeX help

2008-07-30 Thread Daniel Molina Wegener

Polytropon escribió:

On Wed, 30 Jul 2008 18:05:59 +0100, Glyn Millington [EMAIL PROTECTED] wrote:
  

Joey Mingrone [EMAIL PROTECTED] writes:


fonts, but it seems they are in the teTex port, but that port
conflicts with the tex port and it seems teTex is no longer being
updated.
  

Alas the news about teTeX is true.



I'm very sad to hear this, allthough I'm always installing teTeX
via pkg_add -r, and I never found something not working anymore.
Is there any consideration to remove teTeX completely from the
ports tree, or is it still valid to keep using it?

(I use LaTeX for nearly everything: work, documentation, literature,
even for letters (dinbrief class), so I'm interested in this topic.)

Many thanks for pointing out how to get \LaTeX{} from TeXLive.


  

Try:

portinstall -PP teTex

Regards,
DMW

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


Re: seen in ports and used but dont remember the name ;)

2008-07-30 Thread Daniel Molina Wegener

DSA - JCR escribió:

Hi all
  

Hi

FreeBSD 6.2

I have used in the past year an utility for terminal that permit me to
split the terminal in several sesions vertically/horizontally and also
save and restore the sesion, letting it doing some commands.

I installed from ports, but I dont remember its name. ;-)
  
window(1), screen -- in the ports collection and as terminal emulators, 
you have yakuake.

Can anyone help me?


Thanks in advance

Juan Coruña
Desarrollo de Software Atlantico




___
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: upgrade from 6.3 to 7.0

2008-07-26 Thread Daniel Bye
On Sat, Jul 26, 2008 at 08:38:08AM +0200, Wojciech Puchar wrote:
 k
 Hi
 
 I ve got 6.3 stable database server.  Can i directly upgrade my server from
 6.3 to 7.0
 
 yes.
 anyway - if your server works fine - why?

Because 7 is demonstrably faster than 6.x? Because local policy requires
the upgrade? Because he wants to run 7?

-- 
Daniel Bye
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \


pgpwjlsxCXf6X.pgp
Description: PGP signature


Re: [Samba] Samba and LDAP install on FreeBSD

2008-07-22 Thread Daniel O'Connor
On Tue, 22 Jul 2008, [EMAIL PROTECTED] wrote:
 Here is my problem.  I installed the OpenLdap 2.4.10 server and SASL
 client.  I then went to install the Samba 3.0.30 Port and it tells me
 that it needs to install OpenLDAP client 2.3.42, but the 2.4.10 is in
 the same place and I need to deinstall it.  I deinstall 2.4.10 and
 samba will install, but now openldap will not run because it has
 missing files.  I went to reinstall the 2.4.10 SASL client, but it
 tells me that the openldap 2.3.42 needs to be removed.

 If I go to remove the 2.3.42 openldap client, it tells me that samba
 3.0.30 relies on it.  I am kind of stuck here.  Does samba 3.0.30 not
 work with openldap 2.4?  Do I have to have openldap 2.3?

Put this in /etc/make.conf
WANT_OPENLDAP_VER=24

It tells the ports tree that you want OpenLDAP 2.4 if a port doesn't 
specify a particular version.

-- 
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
The nice thing about standards is that there
are so many of them to choose from.
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C


signature.asc
Description: This is a digitally signed message part.


Re: Locate command

2008-07-10 Thread Daniel Gerzo

Hello,

 Actually, the very first thing I always do after installing a FreeBSD is
 add this line to crontab:

 00 02 * * * /usr/libexec/locate.updatedb

 I guess I'm a locate-freak ;^D

 
 Done.  Thanks again.

You guys should rather use /etc/periodic/weekly/310.locate script
to update your locate database.

-- 
Best regards,
  Daniel Gerzo

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


Re: locate:database too small

2008-07-10 Thread Daniel Bye
On Fri, Jul 11, 2008 at 11:26:19AM +0800, EdwardKing wrote:
 I use locate command,like follows:
 $locate mail
 locate:database too small: /var/db/locate.database
 
 I know it need to update from document: /usr/libexec/locate.updatedb ,but I 
 don't know how to execute above command,I am a newer to Unix,how to do it?

Probably the best way to do it is to become root using su(1) or sudo(1),
and then type:

/etc/periodic/weekly/310.locate

This could take several minutes, depending on your system.

Or you could wait another couple of days, and it will run automatically
(take a look at cron(8), crontab(1,5), periodic(8) and periodic.conf(5))

-- 
Daniel Bye
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \


pgpI0tDv00GP5.pgp
Description: PGP signature


Re: Jails and IP Aliasing

2008-07-08 Thread Daniel Gerzo

Hello,

* Something like a loopback address inside the jail.  It may be
  127.0.0.2 instead of 127.0.0.1 but most software can be persuaded
  to use it for loopback style things.
 
* The ability to map several IPs onto the jailed system by use of
  NAT and redirect within firewall rules
 
* The ability to have a jail with /no/ external IP for when the
  paranoia becomes unbearable[*].

Most of this is actually implemented by [EMAIL PROTECTED] You can find some 
patches
at http://sources.zabbadoz.net/freebsd/jail.html 

-- 
Best regards,
  Daniel Gerzo

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


Re: to shell (and X window System) wizards.

2008-07-03 Thread Daniel Bye
On Wed, Jul 02, 2008 at 07:13:50PM -0700, Gary Kline wrote:
 
   would this works, say in .zlogin, to  say that X is up:
 
   if [ -e /tmp/.X11-unix/X0 ]
   then
   echo X is up.
   exit 0;
   else
   echo No X yet
   exit 1;
   fi
 
   or is there something more clever?

I'm not sure if it's any cleverer, but I would probably make a call to
pgrep(1) instead of relying on the existence of a file that might exist,
even if X isn't running (unusual, but it does happen now and then, here at
least) - something like

if (pgrep Xorg)
then
  echo X is up.
  exit 0
else
  echo No X yet...
  exit 1
fi

... should do the trick.

And bear in mind that ~/.zlogin is run *after* ~/.zshrc, whereas ~/.zprofile
is run *before* it. It might matter, depending on what you are trying to do.

Dan

-- 
Daniel Bye
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \


pgpQGnb8FAuUm.pgp
Description: PGP signature


Re: PAE support using freebsd-update procedure

2008-07-01 Thread Daniel Bye
On Tue, Jul 01, 2008 at 07:39:12PM +0200, bsd wrote:
 --- Wouldn't It be better to run amd64 instead of i386?
 
 I have seen that this will allow to take full capacity of the memory -  
 on the other hand there seems to have restriction on the ports
 Can anyone let me know if these restrictions will apply to:
 
 - postfix
 - postgreSQL
 - amavisd-new
 - dovecot

I think all of those will work just fine. You can check by inspecting 
the respective ports' Makefiles. If a port won't build on a particular
platform, the Makefile will have that knowledge - there will be a flag
called ONLY_FOR_ARCHS whose value will be set to a list of the platforms
the port works on. lang/ezm3 is a good illustrative example:

ONLY_FOR_ARCHS= alpha amd64 i386 sparc64

If you try to build the port on an unsupported platform, you'll get
an error message and the build will halt.

I don't use FreeBSD/AMD64, but I would think by now that most ports
will work on it, particularly the type of things you mention above.

Dan

-- 
Daniel Bye
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \


pgpv5jlWj6JD4.pgp
Description: PGP signature


Re: XScreensaver issue

2008-06-30 Thread Daniel Bye
On Sun, Jun 29, 2008 at 04:04:36PM -0400, Matthew Donovan wrote:
  Hi,
 
  I'm getting since my last update an error message in xscreensaver:
  glslideshow: couldn't create GL context
 
  Actually I'm not able to use any OpenGL screensaver anymore. OpenGL is
  running
  fine, I'm using composite options and gears program run at 400 FPS. Load
  GLX
  is activated in xorg.conf, that's why I don't understand.
 
 snipped the email since it was a bit long but with the nvidia binary
 driver you do not have to load glx since the nvidia binary has it's own
 glx setup. which you seem to be using nvidia binary driver.

In addition to Matthew's suggestion, you might do well to force a 
reinstall of the nvidia-driver port, to ensure that its own GL libs
are available, instead of any installed by other ports.

Note also that if you update your system, you should reinstall the
port, as it needs to be compiled against the source for the running
kernel. Not recompiling it in the event you carry out a buildworld/
buildkernel cycle, etc, will likely lead to strange failures of the 
driver.

Dan

-- 
Daniel Bye
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \


pgp2QEN8dTcUe.pgp
Description: PGP signature


Re: trouble shooting samba performance

2008-06-24 Thread Sten Daniel Soersdal

worms wrote:

Hello,


Can anyone point me to a guide on trouble shooting samba performance
or a quick list of common issues I can check for.
I've been googling but haven't found much that referenced a recent
version of FreeBSD and Samba.

I am running FreeBSD 7.0 on VmWare Server 2.0 hosted on a CentOS Linux box.
I've used nttcp and iozone to verify that the performance of the
FreeBSD 7.0 VM is good and am able to copy 6.5GB on disk from one
location to another in about 2.5 minutes.

Copying to a Windows 2003 server yields a 45 minute transfer time.

Copying to a Windows XP workstation yields a 4 minute transfer time

Summary:
FreeBSD 7.0  -- FreeBSD 7.0  -- 2.5 minutes ( copying on disk )
FreeBSD 7.0 -- WinXP -- 4 minutes ( samba )
FreeBSD 7.0 - Windows 2003 -- 45 minutes ( samba )
WinXP -- Windows 2003 -- 5 minutes

Both windows machines are on the same domain.

I've used samba for a number of years and this is the first time I've
ran into a problem such as this.

So if someone could give me a good starting point on how to
troubleshoot this I'd appreciate it.

Thanks
--Lance


The numbers indicate something i've seen several times but there has 
been different answers to it. Sometimes it was the indication that the 
RAID on the Windows2003 server was misconfigured or running in DEGRADED 
mode.

However i've also seen issues regarding TCP/IP settings.
Often it can be a good exercise to try to toggle this sysctl before 
transfer (net.inet.tcp.delayed_ack).

Of course these are just clues and not real answers.

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


RE: Fixing a RAID

2008-06-19 Thread Daniel Eriksson
Ryan Coleman wrote:

 Jun  4 23:02:28 testserver kernel: ar0: 715425MB HighPoint v3
RocketRAID RAID5 (stripe 64 KB) status: READY
 Jun  4 23:02:28 testserver kernel: ar0: disk0 READY using ad13 at
ata6-slave
 Jun  4 23:02:28 testserver kernel: ar0: disk1 READY using ad16 at
ata8-master
 Jun  4 23:02:28 testserver kernel: ar0: disk2 READY using ad15 at
ata7-slave
 Jun  4 23:02:28 testserver kernel: ar0: disk3 READY using ad17 at
ata8-slave
 Jun  4 23:05:35 testserver kernel:
g_vfs_done():ar0s1c[READ(offset=501963358208, length=16384)]error = 5
 ...

My guess is that the rebuild failure is due to unreadable sectors on one
(or more) of the original three drives.

I recently had this happen to me on an 8 x 1 TB RAID-5 array on a
Highpoint RocketRAID 2340 controller. For some unknown reason two drives
developed unreadable sectors within hours of each other. To make a long
story short, the way I fixed this was to:

1. Used a tool I got from Highpoint tech-support to re-init the array
information (so the array was no longer marked as broken).
2. Unplugged both drives and hooked them up to another computer using a
regular SATA controller.
3. One of the drives was put through a complete recondition cycle(a).
4. The other drive was put through a partial recondition cycle(b).
5. I hooked up both drives to the 2340 controller again. The BIOS
immediately marked the array as degraded (because it didn't recognize
the wiped drive as part of the array), and I could re-add the wiped
drive so a rebuild of the array could start.
6. I finally ran a zpool scrub on the tank, and restored the few files
that had checksum errors.

(a) I tried to run a SMART long selftest, but it failed. I then
completely wiped the drive by writing zeroes to the entire surface,
allowing the firmware to remap the bad sectors. After this procedure the
long selftest succeeded. I finally used a diagnostic program from the
drive vendor (Western Digital) to again verify that the drive was
working properly.

(b) The SMART long selftest failed the first time, but after running a
surface scan using the diagnostic program from Western Digital the
selftest passed. I'm pretty sure the diagnostic program remapped the bad
sector, replacing it with a blank one. At least the program warned me to
back up all data before starting the surface scan. Alternatively I could
have used dd (with offset) to write to just the failed sector (available
in the SMART selftest log).


If I were you I would run all three drives through a SMART long
selftest. I'm sure you'll find that at least one of them will fail the
selftest. Use something like SpinRite 6 to recover the drive, or use dd
/ dd_rescue to copy the data to a fresh drive. Once all three of the
original drives pass a long selftest the array should be able to finish
a rebuild using a fourth (blank) drive.

By the way, don't try to use SpinRite 6 on 1 TB drives, it will fail
halfway through with a division-by-zero error. I haven't tried it on any
500 GB drives yet.

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


Re[4]: Fwd: twe0 interrupt storm

2008-06-15 Thread Daniel Gerzo
Hello Stanislav,

Sunday, June 15, 2008, 12:40:57 PM, you wrote:

 Dear Daniel,

 Please tell me you had this storms only with 3ware 8006-2LP?

Actually, I do have them on the boxes which do not have the raid
controller. I have several boxes in hetzner. The ones that does not
have any additional devices attached to the motherboard seem like not
having the problem. However most of my machines have at least
additional NIC device.

Please note that my machines does not crash even when there is an
interrupt storm. On the other hand, they suffer from some performance
problems :/

The funny thing is that after reboot there's some silent period of
time, when the interrupts are OK. After the systems becomes to be
loaded more, the interrupt rate increases unless it reaches around
350k interrupt rate...

I have tried to play with the BIOS settings, nothing really helped.

 Because as I remember on MSI motherboard controller, I have no
 problems with FreeBSD 6.2, but when I upgraded to FreeBSD 7.0 that
 storms appeared, but not so often as with 3ware.

 P.S. Maybe I have to ask them to update BIOS? I am so happy with their
 network and service,  don't want to move to another server...

I have tried to ask them to update the BIOS in the past, AFAIR they
replied that the BIOS update is up to me...

-- 
Best regards,
 Danielmailto:[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: Fwd: twe0 interrupt storm

2008-06-14 Thread Daniel Gerzo
Hello Stanislav,

Thursday, June 12, 2008, 3:45:36 PM, you wrote:

 Hi, I have problem on FreeBSD 6.2, 7.0 with 3ware 8006-2LP RAID-1 controller:

Is it MSI mobo by any cnance?
I am seeing these interrupt storms on a few boxes (irq21 too, twe(4) or
fxp(4) attached to these) with an

Base Board Information
Manufacturer: MICRO-STAR INTERANTIONAL CO.,LTD
Product Name: MS-7368
Version: 1.0

I was unable so far to fix this problem...seems like some hardware
issue

-- 
Best regards,
 Danielmailto:[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]: Fwd: twe0 interrupt storm

2008-06-14 Thread Daniel Gerzo
Hello FreeBSD,

Saturday, June 14, 2008, 4:38:10 PM, you wrote:

 Be careful with hetzner.de hosting, here is their answer:

 The controller is compatible with the mainboard. With linux there are no
 problems. FreeBSD is also not officially supported by us (only
 Debian/Ubuntu/Suse).

Yea, I know they do not officialy support FreeBSD, unluckily :-(

These interrupt storms are the only problem I have with hetzner.de...

-- 
Best regards,
 Danielmailto:[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: FreeBSD + ZFS on a production server?

2008-06-12 Thread Daniel Eriksson
Anders Häggström wrote:

 I plan to install a web server for production use and ZFS looks very
 interesting, especially since it has built-in support for RAID and
 checksum.

ZFS is very nice, but slightly over-hyped imho. However, some of the hype is 
warranted and for some use cases ZFS is a much better fit than UFS.

Despite what Wojciech Puchar says, ZFS checksumming can be very useful. I 
recently had two drives in a hardware RAID-5 array (8 x 1 TB on a Highpoint 
RocketRAID 2340) develop unreadable sectors seemingly at the same time. I'm not 
sure what caused it but the end result was a broken/unavailable array. To make 
a long story short I managed to get the drives to remap the bad sectors and 
bring the array back online. Since I had ZFS on the array I didn't have to wait 
for fsck to run (takes a very long time on a 7 TB array and requires a LOT of 
memory to even work), and after the pool had been scrubbed I had a list of 
files with bad checksums that I could restore from backup. With UFS I would 
have had silent data corruption.

Beware, there have been reports of mmap not working properly together with ZFS. 
I'm not sure if this is still a problem and if it would affect a typical web 
server. It does not seem to affect any of my fileservers (exporting NFS).

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


Re: IPv6 jails for FreeBSD (6.* preferably)

2008-06-03 Thread Daniel Gerzo
Hello Wojciech,

Tuesday, June 3, 2008, 8:27:56 PM, you wrote:

 does patch exist for it?

http://sources.zabbadoz.net/freebsd/jail.html

-- 
Best regards,
 Danielmailto:[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: Can I Reinstall FreeBSD Over SSH?

2008-05-25 Thread Daniel Gerzo
Hello Kyrre,

Sunday, May 25, 2008, 9:42:37 AM, you wrote:

 My server is getting kinda messy, but my ISP charges too much for a
 reinstall. Can I do this myself over SSH? Or perhaps there are ways to
 make ones system as clean as a fresh install? Thanks.

This will probably help you:

http://www.freebsd.org/doc/en_US.ISO8859-1/articles/remote-install/

-- 
Best regards,
 Danielmailto:[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: Your suggestions about this Dell configuration?

2008-05-25 Thread Sten Daniel Soersdal

VeeJay wrote:

Hello Frank

Really good points. I am really glad to have your thoughts. Regarding your
questions and comments, I have given some answers and a couple of questions
in *RED* colour. Please comment if you happen to manage some time during
weekend, Thanks!

*Please continue...*

On Thu, May 22, 2008 at 4:01 AM, Frank Shute [EMAIL PROTECTED] wrote:


On Wed, May 21, 2008 at 08:49:51AM +0200, VeeJay wrote:

Hello friends,

My employer is buying this Dell server and I would like to have your

opinion

about the configuration.

Requirements are:
2 Websites with 3-4 million hits per month with video ads.

If it's 3-4 million hits per month as you've stated twice now, then
your hardware is complete overkill.

So I'll assume you mean 3-4 million hits a day for each site.



*No, its 3-4 million each site per month and we are having problem. Because,
either Apache or MySQL stops responding. I have following settings as
Performance:*
**
*# =
# Performance settings
# =
Timeout 300
KeepAlive On
MaxKeepAliveRequests 100
KeepAliveTimeout 15
MinSpareServers 5
MaxSpareServers 10
StartServers 5
MaxClients 256
MaxRequestsPerChild 0*



Operating System:
*FreeBSD AMD647-STABBLE*

I'd use 7.0-RELEASE.


Database:
*PHP+MySQL with Apache*

No problem. You should use Apache 2.*.



*We will use Apache 2.**



Server Configuration:
*PowerEdge? 6850 SCSI*

Dual Core Intel(R) Xeon(R) Processor 7130M, 3.2GHz, 8MB L3 Cache, 800Mhz

FSB

1x Additional Dual Core Intel(R) Xeon(R) Processor 7130M, 3.2GHz, 8MB L3

Cache,

800MHz FSB

Slow FSB. I suppose they hope you hit the cache. Shouldn't matter
because your server is more likely to be disk bound rather than bus
bound.



Changed Processor to:

*PE 2950 III Quad Core Xeon X5450 (3.0GHz, 2x6MB, 1333MHz FSB)*

*what do you think about E5450?*


  16GB 400MHz Dual Rank DDR2 Memory (8X2GB)

Slow memory, to match the slow FSB :) But you've got 250MB per hit.
So use the excess to cache frequently accessed content.




*We have changed it to:*

*16GB (8x2GB Dual Rank DIMMs) 667MHz FBD*


 C5 Drives attached to embedded PERC4ei, RAID 10

  PERC 4/DC RAID controller (128MB cache) (1 intern and 1 extern Channel)
(Should I use controller with Both Internal or Both External Channel?

What

they do?)

Supported according to a quick Google search.


5 x 146GB SCSI Ultra320 (15000rpm) 1'' 80 pin harddrives

No name or a brand?


 *We have changed the disks to :*

*6 x 450GB SAS 15k 3.5 HD Hot Plug, (Hitachi Japan)*


We have the PERC 4e/Di and that works wonderfully (256 MB battery backed 
cache). One hint is that the PERC 4e/Di (and possibly the entire series) 
does not do correct RAID 1 + 0 (mirrored then striped) but instead does 
RAID 1 and concatenates those mirrors.








Chassis with support for 3.5'' SCSI Hard Drives

Dell Remote Access Card 4 SERVER MANAGEMENT CARD

Don't know if this will work. Most guys use a serial console/ssh for
management.


(I will have hot swappable drives  chassis)


Get it if your server is going to be remote.
It lets you mount CD-ROM disks and ISOs, Floppy images and gives you 
real keyboard/mouse/video display of the server. It also lets you power 
up/down/reboot the server remotely. A necessity to do firmware/BIOS 
upgrades. Serial console/ssh only lets you work with an already working 
system. The DRAC lets you do remote installs/reinstall/upgrades.





Thank you in advance.

The performance of this hardware will depend on what *sort* of hits
you get. Are a lot of them just for the homepage? Then just cache it.

Is it static content?



*No, its dynamic contents, data is coming form Database.*



If you're getting lots of ad-hoc database queries and fetches/writes
from/to disk, then your disks could get a thrashing.

How big's your database? Being read from more than written to? How
precious is the data?


*More than 20 million records and more than 1000 Tables.*
*And of course, data is always preciouse. :)*


How many of these hits are reading video ads? All of them? How many
KBs are these awful ads?


*50% of users are going to see the Video Ads.*
**
*Size would vary between 100KB to 2MB. *

What bandwidth do you have to these servers?
*100 Mbps*

How you are going to get the best out of your hardware depends on
questions like these, so you have to analyse your Apache logs and tune
appropriately.

Tuning Apache, mysql and PHP are all subjects in their own right.

For FreeBSD, read tuning(7).

Are you running FreeBSD ATM? Then some numbers from iostat, top etc.
would be useful in analysing how your new server is going to cope and
how much spare capacity you'll have, but the numbers are dependent on
how you've tuned it (if at all).

Hope I've given you something to think about.

Regards,


--

 Frank


 Contact info: http://www.shute.org.uk/misc/contact.html







--
Sten Daniel Soersdal
___
freebsd

Re: Server crashing, no explanations

2008-05-21 Thread Daniel Marsh
On Wed, May 21, 2008 at 6:11 PM, Wojciech Puchar 
[EMAIL PROTECTED] wrote:

 I guess it can, but in the past when hardware has failed for me, I
 generally got some indicative errors in the logs.


 hardware failures are different. rarely causes reboot, or reboots ramdomly
 independent of what you do.

 with bad memory it usually produces sig11 or similar errors much more often
 than rebooting.


heavy load, heats the cpu,  cpu reaches upper  temp limit set in bios,
computer reboots without warning to OS, nothing in logs, nothing recorded in
bios, no crashdump cos the os didn't crash.

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


Re: (semi-)OT programming non-ASCII characters

2008-05-18 Thread Daniel Molina Wegener
On Sunday 18 May 2008 15:44:27 Robert Huff wrote:
   A casual project I'm working on (in C) has just discovered
 the need to work with 8-bit characters  127.
   Does anyone have pointers to tutorials on how to work with
 these?  Or would be willing to answer questions off-list?

  Try using wchar types and functions, also iconv can be 
usefull.

   Thanks,


   Robert Huff

 [SNIP]

Regards,
-- 
 .O. | Daniel Molina Wegener   | C/C++ Developer
 ..O | dmw [at] unete [dot] cl | FOSS Coding Adict
 OOO | FreeBSD  Linux User| Standards Rocks!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: raid6 on freebsd7 only showing 61GB instead of 4TB

2008-05-16 Thread Daniel Eriksson
Oliver Howe wrote:

 I bought a new storage server and installed freebsd7 onto it. 
 it came with two raid partitions, one of 32GB which i used 
 for the o/s and one of 4.7TB which i am planning to use as a 
 nfs partition. everything went fine during the install, fdisk 
 said that there was 4.7TB on the second partition which i 
 labelled /export. but when the machine booted up and i did 
 df -h it said that that partition only has 61GB and not 4.7TB

As others have pointed out, fdisk is not able to handle partitions this
big.

You need to:
1. umount /export
2. dd if=/dev/zero of=/dev/da1 bs=64k count=1
3. gpt create /dev/da1
4. gpt add /dev/da1
5. newfs -O2 -U /dev/da1p1
6. edit your /etc/fstab and change /dev/da1s1d to /dev/da1p1
7. mount /export
8. be happy!

The GENERIC kernel comes with GEOM_PART_GPT support so there is no need
to load any kernel modules or recompile your kernel to get this to work.

(Step #2 above is probably overkill. It erases the old disklabel so that
your /dev/da1?? devices disappear.)

Beware that running fsck on a 4.7TB partition will take a REALLY long
time. If you run FreeBSD 7 in 64 bit mode (amd64), and you really should
with 16 GB of memory, then I would recommend using ZFS instead of UFS.

For ZFS you would do something like this:
1. umount /export
2. dd if=/dev/zero of=/dev/da1 bs=64k count=1
3. zpool create tank /dev/da1
4. edit /boot/loader.conf and add something like this:
vm.kmem_size=1024M
vm.kmem_size_max=1024M
vfs.zfs.arc_max=512M
vfs.zfs.prefetch_disable=1
5. edit /etc/rc.conf and add zfs_enable=YES
6. reboot
7. be happy!

(With 16 GB memory you can probably use larger values for slightly
better performance in step #4 above.)

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


Re: Installing Xfce4: Request for help

2008-05-10 Thread Daniel Bye
On Sat, May 10, 2008 at 09:07:15PM +0530, Girish Kulkarni wrote:
 Hello,
 
 I am trying in install Xfce4 in FreeBSD 7.0 on my laptop. I try to use
 the ports by saying:
 
 -
 # cd /usr/ports/x11-wm/xfce4
 # make install clean
 -
 
 But then I get the following error:
 
 -
 ===  Installing for xfce-4.4.2
 ===   xfce-4.4.2 depends on file:
 /usr/local/lib/xfce4/mcs-plugins/ui_plugin.so - found
 ===   xfce-4.4.2 depends on executable: xfwm4 - not found
 ===Verifying install for xfwm4 in /usr/ports/x11-wm/xfce4-wm
 ===  Patching for xfce4-wm-4.4.2
 ===  Applying extra patch
 /usr/ports/x11-wm/xfce4-wm/files/extrapatch-src__events.c
 Ignoring previously applied (or reversed) patch.
 1 out of 1 hunks ignored--saving rejects to src/events.c.rej
 *** Error code 1
 
 Stop in /usr/ports/x11-wm/xfce4-wm.
 *** Error code 1
 
 Stop in /usr/ports/x11-wm/xfce4-wm.
 *** Error code 1
 
 Stop in /usr/ports/x11-wm/xfce4.
 -
 
 I am clueless. Could somebody help?

Try running a make clean in x11-wm/xfce4-wm and have another go - it looks
like some kind of artefact from a previous, unsuccessful attempt to 
build it. 

portsclean, part of the portupgrade package, can help with things like 
this - run portsclean -CDD every so often to keep your workdirs clean,
and to remove distfiles for ports that aren't installed.

Dan

-- 
Daniel Bye
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \


pgpvZ2YNE7Eo6.pgp
Description: PGP signature


rxvt-unicode - termcap.

2008-04-29 Thread Daniel Andersson
Hi

I seem to have some trouble with my /etc/termcap. I get Cannot find
termcap entry for 'rxvt-unicode' when i try to recover a screen on my
FreeBSD server. I use rxvt-unicode to connect to the server. Is there
some neat way to fix this?
I don't want to install all rxvt's deps on the server to get it to
work... gnome-terminal works fine though.

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


Re: Ports Question

2008-04-27 Thread Daniel Bye
On Sun, Apr 27, 2008 at 01:19:57AM +0200, Roland Smith wrote:
 On Sat, Apr 26, 2008 at 04:40:58PM -0400, Grant Peel wrote:
  Hi all,
  
  What is the proper method to pass configure arguments when installing a 
  port?
 
 While you can supply arguments on the command line, it is hard to
 remember.
 
 Therefore I think it is best to set arguments in make.conf. For example;
 
 -- make.conf excerpt --
 .if ${.CURDIR:M*/graphics/xpdf}
 A4=yes
 .endif
 
 .if ${.CURDIR:M*/mail/mutt-devel}
 WITH_MUTT_SLANG2=yes
 WITHOUT_MUTT_HTML=yes 
 WITHOUT_MUTT_XML=yes 
 WITHOUT_MUTT_COMPRESSED_FOLDERS=yes 
 WITHOUT_NLS=yes 
 NOPORTDOCS=yes
 .endif
 
 .if ${.CURDIR:M*/print/cups*}
 CUPS_OVERWRITE_BASE=true
 .endif
 -- make.conf excerpt --
 
 The '.if' statement ensures that the variables are only set when make is
 called from the praticular port direction.

I find the portconf method a little easier to manage - installing 
ports-mgmt/portconf adds some lines to your make.conf, which allow you
to set options for your ports in a file called /usr/local/etc/ports.conf.

For example,

mail/exim: WITH_MYSQL=1 | WITH_SPF=1

The file is honoured by manual builds, and by the likes of portinstall,
portmaster etc.

Dan

-- 
Daniel Bye
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \


pgpZmDM7Pr4rr.pgp
Description: PGP signature


Re: ntpd not starting at boot time

2008-04-24 Thread Daniel Bye
On Thu, Apr 24, 2008 at 06:39:46AM -0700, David Newman wrote:
 I've installed ntp-4.2.4p4 from ports on a FreeBSD 6.3/i386 system.
 
 The ntpd process does not start at boot time. These lines exists in 
 /etc/rc.conf:
 
 ntpd_enable=YES
 ntpd_program=/usr/local/bin/ntpd
 ntpd_flags=-c /etc/ntp.conf -p /var/run/ntpd.pid
 ntpd_sync_on_start=YES
 
 Manually running '/etc/rc.d/ntpd start' produces this error:
 
 Starting ntpd.
 ERROR:  only one configfile option allowed
 
 I've pasted the contents of ntp.conf and /etc/rc.d/ntpd files below.
 
 Thanks in advance for clues as to what's missing.



 
 ##
 # BEGIN /etc/rc.d/ntpd
 ##
 
 
 # PROVIDE: ntpd
 # REQUIRE: DAEMON ntpdate cleanvar devfs
 # BEFORE:  LOGIN
 # KEYWORD: nojail
 
 . /etc/rc.subr
 
 name=ntpd
 rcvar=`set_rcvar`
 #command=/usr/sbin/${name}
 command=/usr/local/bin/${name}
 pidfile=/var/run/${name}.pid
 start_precmd=ntpd_precmd
 
 load_rc_config $name
 
 required_files=${ntpd_config}
 
 ntpd_precmd()
 {
 rc_flags=-c ${ntpd_config} ${ntpd_flags}

You need to set ntpd_config to the path to your config file - as it is
now, you are also setting it in ntpd_flags, which the above line then
expands to something like this:

rc_flags=-c /path/in/ntpd_config -c /etc/ntp.conf

So, remove it from your ntpd_flags definition and all should be well!

Dan

-- 
Daniel Bye
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \


pgpSvxDE420O7.pgp
Description: PGP signature


Re: clean for kernel build

2008-04-23 Thread Daniel Bye
On Tue, Apr 22, 2008 at 04:00:42PM -0600, Andrew Falanga wrote:
 On Tue, Apr 22, 2008 at 3:17 PM, Fraser Tweedale [EMAIL PROTECTED] wrote:
  `make buildkernel` in /usr/src does a clean before building.  You most
  likely are missing something in your kernel config (i.e. a device that is
  depended on by another device).
 
   frase
 
 
 
 
 Thanks.  What options are needed in conjunction with IPSEC?  I have
 this in my config file:
 
 options  IPSEC
 options  IPSEC_ESP # from the handbook
 
 The IPSec  VPN page in the handbook says to use these.  However, the
 IPSEC_ESP errors out of the build with unknown option.  What else is
 needed?  Also, if I'm not mistaken, the linker errors I'm seeing are
 dealing with the IPSEC implementation.  What kernel options are
 necessary for building a kernel with IPSec?

I'm not sure, as I don't user IPSEC, but this entry from /usr/src/UPDATING
might be of use:

20070704:
The new IPsec code is now compiled in using the IPSEC option.  The
IPSEC option now requires device crypto be defined in your kernel
configuration.  The FAST_IPSEC kernel option is now deprecated.


We have recently moved from the KAME Project's IPSEC to FAST_IPSEC.

Dan

-- 
Daniel Bye
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \


pgpvzQrQ3wIeD.pgp
Description: PGP signature


Re: How to switch scheduler on 7.0?

2008-04-16 Thread Daniel Tourde
Hi!

Thank you for your answer. So, I need to recompile the kernel. Fine!
At first I thought there might be a switch somewhere, to do the 
conversion The soft way,  but OK, I'll rebuild the kernel.

Daniel

   I would like to switch scheduler on my FreeBSD 7.0 box but I don't know
  how to do that. The scheduler by default has terrible performances under
  KDE/Gnome and I would like to test the new one.

 See the following for building a custom kernel:

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

 You will want to use options SCHED_ULE instead of SCHED_4BSD in your
 kernel config.

 Regards,
 Josh

___
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 switch scheduler on 7.0?

2008-04-16 Thread Daniel Tourde
Hi Robert,

The expression terrible performances was maybe not the best way to express 
myself. My intentions were not to step on anyone's toe or being nasty. Sorry 
about that.

To describe things shortly, the problem is responsiveness. I have been running 
FreeBSD since 4.7 and never experienced what I am experiencing now:
- Bad responsiveness of the desktop
- Temporary freeze (10 to 30s)
- Slow mouse (and not a very smooth movement, a kind of 'step by step')
etc.

Daniel

 I would like to switch scheduler on my FreeBSD 7.0 box but I don't
 know how todo that.
 
   You will want to use options SCHED_ULE instead of SCHED_4BSD in your
   kernel config.

   Am I correct in remembering SCHED_ULE /is/ the default for 7.0+?
   If this is true, and you (the OP) do not need the machine for
 production, there are people who would be interested in hearing
 about your problems - especially if you are prepared to define (and
 document) terrible performace and help diagnosing the issue.


   Robert Huff

___
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 switch scheduler on 7.0?

2008-04-16 Thread Daniel Tourde
Hi!


  I would like to switch scheduler on my FreeBSD 7.0 box but I don't know
  how to do that. The scheduler by default has terrible performances under
  KDE/Gnome and I would like to test the new one.

 What made you believe it is the scheduler?

I googled and read comments of people having the same kind of issues than the 
ones I have. Their conclusion: The scheduler.
I wanted to switch scheduler to see if they were right or wrong... ;)

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


How to switch scheduler on 7.0?

2008-04-15 Thread Daniel Tourde
Hi!

I would like to switch scheduler on my FreeBSD 7.0 box but I don't know how to 
do that. The scheduler by default has terrible performances under KDE/Gnome 
and I would like to test the new one.

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


RAID-5/Stripe Size and verifying absolute disk stripe access

2008-04-10 Thread Sten Daniel Soersdal
My problem is aligning reads/writes properly on a 3 disk RAID-5 volume 
with stripe size of 16384. Since my measurements all show the same 
relatively low read/write performance on the volume matter which offset 
i choose on the disklabel partition (i've tried with the granularity 
of a single sector and the results are the same).


In FreeBSD 7.0-RELEASE, is there any way to find out a absolute 
read/write sector location for the beginning of filesystem within a 
disklabel partition?



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


Re: Accidently deleted the INDEX files out of my /usr/ports/

2008-04-01 Thread Daniel Bye
On Tue, Apr 01, 2008 at 08:38:47PM -0400, Eduardo Cerejo wrote:
 While trying to fix cyclic dependencies with pkgdb I deleted the INDEX 
 files out of my /usr/ports directory.  How can I fix it now?  cvsuping 
 won't do it.

cd /usr/ports  make fetchindex

-- 
Daniel Bye
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \


pgpObAM9T67wx.pgp
Description: PGP signature


Re: from 6.3 to 7.0, will this work?

2008-03-27 Thread Daniel Gerzo
Hello Tsu-Fan,

Thursday, March 27, 2008, 7:43:27 PM, you wrote:

 Hi,
 I am thinking upgrading my hardware to core2 duo to enjoy fbsd
 7.0, my old 6.3 runs on amd64 3400+. If I just buy a new m-board+core
 2 cpu, can my old installation boot up the system, and then allow me
 to recompile kernel and stuff? I thought about getting a new drive too
 to do a fresh install, but my bay is full and kinda on a budget, thank
 you!!

It should work fine.

-- 
Best regards,
 Danielmailto:[EMAIL PROTECTED]

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


Understanding Flags, Refs, Use, Expire in Routing Table

2008-03-27 Thread Daniel Dias Gonçalves
I would like an explanation on each field it command netstat - rn, 
example:

Flags,Refs,Use,Expire
In Flags: UGS, UC, UHLW, UH
Somebody can explain me ?

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


Re: Jittery PS/2 Mouse in 7.0-RELEASE

2008-03-20 Thread Daniel Bye
On Thu, Mar 20, 2008 at 09:11:55AM -0400, Alexander Dunn wrote:
 I am using a custom kernel, but this problem does not change even when I am
 using the GENERIC kernel.

Which kernel scheduler are you using? I had very similar symptoms on early
versions of 7 with the default SCHED_BSD. Switching to SCHED_ULE resulted
in a marked improvement.

Dan

-- 
Daniel Bye
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \


pgp44UP9SrY7w.pgp
Description: PGP signature


Re: nvidia driver 96.43.05 crashes Xorg

2008-03-17 Thread Daniel Bye
On Mon, Mar 17, 2008 at 01:56:53PM +0100, tesolarisc wrote:
 When I updated my ports lately the nvidia driver got updated.
 Since then I can't use openGL screensavers without crashing Xorg.
 
 nvidia driver is 96.43.05
 Xorg server 1.4.0
 (FreeBSD 7.0-Release)
 
 Do I have to downgrade to 96.43.(01?) again or is there a solution?

Is there any reason you're not using the latest driver? It's up to 
169.12 now (x11/nvidia-driver) 

Did you remember to update the nVidia driver port /after/ everything
else? If not, it's possible, depending on what other ports you upgraded,
you've got GL and GLX libs from somewhere other than the driver port. 
Try uninstalling and reinstalling it.

Dan

-- 
Daniel Bye
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \


pgpIDdgvANHq7.pgp
Description: PGP signature


Re: Does softupdate help squid ?

2008-03-17 Thread Daniel Bye
On Mon, Mar 17, 2008 at 07:34:04PM +, Pollywog wrote:
 On Monday 17 March 2008 19:17:58 Wojciech Puchar wrote:
   Hello
  
   I'm setting up a squid cache (3.0.2) machine FreeBSD 7.0 based and I
   wonder if softupdates could help (make it faster ) or not the cache
   partition ?
 
  i would say it's absolutely needed.
 
  anyway - any reason to not use soft updates on every filesystem?
 
 What exactly is a soft update?

It's a bit like a hard update, but it won't hurt your disks as much
if your system crashes... ;-P

On a more serious note, it's a technique for ensuring the integrity of
disks after a system crash or power failure.  Like journalling, they 
don't guarantee data won't be lost, but instead that the disks will be 
in a consistent state at recovery.

There are many many papers on the subject on the web, if you're 
interested.

Dan
 
-- 
Daniel Bye
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \


pgpUrSxD2B4H7.pgp
Description: PGP signature


interrupt storms

2008-03-17 Thread Daniel Gerzo
Hello,

 recently, we have inserted a new NIC into our machine, and after a
 few hours of operation, the machine starts to suffer from interrupt
 storms.

Mar 17 21:05:24 ha-web1 kernel: interrupt storm detected on irq22:; 
throttling interrupt source
Mar 17 21:05:54 ha-web1 last message repeated 30 times
Mar 17 21:07:54 ha-web1 last message repeated 120 times
Mar 17 21:17:54 ha-web1 last message repeated 600 times
Mar 17 21:27:54 ha-web1 last message repeated 600 times

 Here is the output of vmstat -i:

interrupt  total   rate
irq1: atkbd0   5  0
irq9: acpi01  0
irq16: ohci0   1  0
irq17: ohci1 ohci3 1  0
irq18: ohci2 ohci4 1  0
irq20: em0  22617825   1714
irq22: em1 atapci0 699549409  53036
cpu0: timer 26380374   2000
cpu1: timer 26380325   2000
Total  774927942  58751

 Any idea, why em1 and atapci0 share the same irq? I don't think this
 is correct. Is there some way how to work this around?

 Thanks.

-- 
Best regards,
 Daniel  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]


Major version binary upgrade 6.3-RELEASE - 7-RELEASE

2008-03-14 Thread Daniel Demacek
Hi,

in my testing environemnt I've tryied binary upgrade from 6.3-RELEASE - 
7-RELEASE by following Colin Percival's article at 
http://www.daemonology.net/blog/2007-11-11-freebsd-major-version-upgrade.html

I am stuck at the step portupgrade -f ruby:   

---  Reinstalling 'ruby-1.8.6.111_1,1' (lang/ruby18)
---  Building '/usr/ports/lang/ruby18'
===  Cleaning for ruby-1.8.6.111_1,1
===  Found saved configuration for ruby-1.8.6,1
===  Extracting for ruby-1.8.6.111_1,1
= MD5 Checksum OK for ruby/ruby-1.8.6-p111.tar.bz2.
= SHA256 Checksum OK for ruby/ruby-1.8.6-p111.tar.bz2.
/bin/mv /usr/ports/lang/ruby18/work/ruby-1.8.6-p111/ext/dl/h2rb 
/usr/ports/lang/ruby18/work/ruby-1.8.6-p111/bin/
===  Patching for ruby-1.8.6.111_1,1
===  Applying FreeBSD patches for ruby-1.8.6.111_1,1
/usr/bin/sed -i.bak -e 's|-l$pthread_lib|-pthread|g'  
/usr/ports/lang/ruby18/work/ruby-1.8.6-p111/configure
/bin/rm -rf /usr/ports/lang/ruby18/work/ruby-1.8.6-p111/ext/Win32API
/bin/rm -rf /usr/ports/lang/ruby18/work/ruby-1.8.6-p111/ext/win32ole
/bin/mv /usr/ports/lang/ruby18/work/ruby-1.8.6-p111/ext/gdbm 
/usr/ports/lang/ruby18/work/
/bin/mv /usr/ports/lang/ruby18/work/ruby-1.8.6-p111/ext/iconv 
/usr/ports/lang/ruby18/work/
/bin/mv /usr/ports/lang/ruby18/work/ruby-1.8.6-p111/ext/tk 
/usr/ports/lang/ruby18/work/
===  Configuring for ruby-1.8.6.111_1,1
/usr/bin/touch /usr/ports/lang/ruby18/work/ruby-1.8.6-p111/configure
configure: WARNING: you should use --build, --host, --target
checking build system type... i386-portbld-freebsd6
checking host system type... i386-portbld-freebsd6
checking target system type... i386-portbld-freebsd6
checking for i386-portbld-freebsd6-gcc... cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... Bad system call (core dumped)
configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details.
===  Script configure failed unexpectedly.
Please report the problem to [EMAIL PROTECTED] [maintainer] and attach the
/usr/ports/lang/ruby18/work/ruby-1.8.6-p111/config.log including the output
of the failure of your make command. Also, it might be a good idea to provide
an overview of all packages installed on your system (e.g. an `ls
/var/db/pkg`).
*** Error code 1

Stop in /usr/ports/lang/ruby18.
*** Error code 1

Stop in /usr/ports/lang/ruby18.
! lang/ruby18 (ruby-1.8.6.111_1,1)(configure error)



Any suggestions? Thank you.
Dan.









  

Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  
http://tools.search.yahoo.com/newsearch/category.php?category=shopping
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Installation

2008-03-12 Thread Daniel Bye
On Wed, Mar 12, 2008 at 05:37:25PM +1100, dajaasge wrote:
 Hi there
 
 As a relatively inexperienced user of FreeBSD I have little input to offer  
 the community as a whole save to suggest that offering a DVD iso image  
 from which to install would save the sometimes extreme tediousness of disc  
 swapping when adding packages. If I knew more about it I would make such  
 an image myself, however, having never had to do it before it is something  
 I will have to pen in for a later time.

I believe there are a few people/organisations who provide DVD
images - I'm sure Google will help you locate them.

I think it fair to say that most people will use ports to compile and
install software, rather than relying on the packages on the release
ISOs, for the simple reason that the ports tree is a moving target -
the packages included with any particular release are out of date
(as a set, if not individually) quite quickly, because the porters
do a fantastic job of adding new software and updating existing ports.

So, my suggestion (as an old hack who's been around for almost a 
decade ;-) would be to familiarise yourself with the ports tree 
and all its magic - you'll probably find yourself using it in
preference to precompiled packages. The handbook is the best place
to start, as ever.

Dan

-- 
Daniel Bye
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \


pgpWrELcG3jQy.pgp
Description: PGP signature


Re: Installation

2008-03-12 Thread Daniel Bye
On Wed, Mar 12, 2008 at 10:09:12AM +, Mike Clarke wrote:
 On Wednesday 12 March 2008, Daniel Bye wrote:
 
  I think it fair to say that most people will use ports to compile and
  install software, rather than relying on the packages on the release
  ISOs, for the simple reason that the ports tree is a moving target -
  the packages included with any particular release are out of date
  (as a set, if not individually) quite quickly, because the porters
  do a fantastic job of adding new software and updating existing ports.
 
  So, my suggestion (as an old hack who's been around for almost a
  decade ;-) would be to familiarise yourself with the ports tree
  and all its magic - you'll probably find yourself using it in
  preference to precompiled packages. The handbook is the best place
  to start, as ever.
 
 I agree that there are advantages in using ports to ensure things are kept up 
 to date but using the packages supplied with the release can be an advantage 
 for a newcomer to FreeBSD.

Of course, a point I realised I missed in my original reply.

 The ports system can be quite daunting until one has become familiar with the 
 system especially if even just one of the ports fails to build. A new user 
 probably won't have the expertise to recognise and fix the cause of the 
 problem. Installing packages from the CD's pretty well ensures that the new 
 user can get a new system up and running without complication. Many new users 
 would prefer a slightly out of date system that works instead of struggling 
 to fix problems in a totally unfamiliar system. When I first started to use 
 FreeBSD I relied on the packages on the CDs, as I gained more familiarity I 
 was much more confident in using ports for the applications that weren't 
 available as precompiled packages.

Yes, of course; you make several good points, Mike. I hope my suggestion
didn't come over as sounding like ports is the only way - as you point
out below, packages are the sane option for most of us mortals for huge
collections of software like KDE.

Speaking for myself (it's all I'm qualified to do, after all), I will
say that I found the learning process in FreeBSD to be on the whole
straight forward and very enjoyable - I emigrated from Linuxland after
a particularly frustrating problem for which I got nothing but scorn for
being a n00b on the newsgroups (I know most Linux communities these days
are not like that - but back then, the one I went to for help most
certainly was). All I wanted to do was learn about something other than
Windows. So at the recommendation of a couple of colleagues, I tried
4.0-RELEASE, joined this mailing list, and never looked back. From the
first day, I can remember being blown away by how easy it was to install
from the ports - it resolves dependencies for you? Yeah, right... wait,
it's resolving dependencies for me! After wrestling with RPMs, who
wouldn't love that? (Again, I know a hell of a lot of work has gone
into the various software management tools available for Linuxes, but
I still haven't found one I like as much as our own ports.)

I could bang on for hours about how much I enjoy using FreeBSD (it has
been my primary desktop OS since 4.2, my business is based on FreeBSD
VPS services, I supply FreeBSD Internet appliances to my clients, blah
blah blah) and about how elegant and well thought out it is. It has
its glitches, sure, but it's a huge evolving system.  Such an immense
amount of intelligence and talent has gone into making FreeBSD what it 
is, and a good proportion of that intelligence and talent is available 
at first hand for free on the lists - in my experience, you just don't
get that very often.

Anyway - to the OP - my apologies for hijacking your thread, and welcome
aboard. Keep at it, you'll love it, I'm sure. Keep asking questions - 
this list is a fantastic resource for newcomers and more experienced
users alike.

 Although I'm now quite comfortable building from ports I still use 
 precompiled 
 packages where they are available because I've got a relatively low powered 
 PC which makes very heavy going with the bigger ports (e.g. gcc, firefox, 
 KDE)

Indeed. I'll never get back those days waiting for KDE and OO.o to
build...

Right, that's me done ;-)

Dan

-- 
Daniel Bye
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \


pgp8ZgKofywJN.pgp
Description: PGP signature


Re: atacontrol mode D PIO4 persist across reboots

2008-03-10 Thread Daniel Gerzo
Hello Philip,

Monday, March 10, 2008, 8:46:46 AM, you wrote:

 $ atacontrol mode ad2 PIO4
 current mode = PIO4

 My problem is how do I get this to persist across reboot ?

putting it into /etc/rc.conf.local should work...

-- 
Best regards,
 Danielmailto:[EMAIL PROTECTED]

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


faster booting

2008-03-05 Thread Daniel Feenberg


We have several network services hosted on a FreeBSD system, and want it 
to come up quickly, so that these services (dhcp, nameservice, nis, tftp 
etc) are available when systems are restarting after a prolonged power 
failure.


That is, several times a year we have multi-hour power failures (generally 
starting at midnight because that is  utility maintainance time) and our 
UPSs run out of power. That is OK, but we would like the systems to come 
up when the power returns, without going to the server room and 
restarting systems in a prescribed order.


In most cases the clients hang because essential services are not 
available, and in most cases the clients do not proceed to boot later when 
the service does become available.


So, is there advice anywhere about speeding up the boot process? It 
appears that most of the 1 minute 45 seconds to boot our system is wait 
time for checking the existence of non-existant hardware and would not be 
appreciable reduced with a faster CPU or disk. Are there kernel options 
that we could use to avoid this checking? Would recompiling the kernel in 
some specialized way help? Would pico-bsd be faster?


About the only thing I can find is to reduce the 10 second boot screen 
delay - but we need to cut more than 30 seconds.


The server is statically configured but the clients obtain network 
configuration from dhcp and pxeboot with nfs mounted root directories. 
Clients are FreeBSD and Linux, and we are not eager to give up pxeboot as 
it has greatly simplified maintainance.


Any suggestions, pointers much appreciated.

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


Re: faster booting

2008-03-05 Thread Daniel Feenberg



On Wed, 5 Mar 2008, Bill Moran wrote:


In response to Daniel Feenberg [EMAIL PROTECTED]:


We have several network services hosted on a FreeBSD system, and want it
to come up quickly, so that these services (dhcp, nameservice, nis, tftp
etc) are available when systems are restarting after a prolonged power
failure.

That is, several times a year we have multi-hour power failures (generally
starting at midnight because that is  utility maintainance time) and our
UPSs run out of power. That is OK, but we would like the systems to come
up when the power returns, without going to the server room and
restarting systems in a prescribed order.

In most cases the clients hang because essential services are not
available, and in most cases the clients do not proceed to boot later when
the service does become available.

So, is there advice anywhere about speeding up the boot process? It
appears that most of the 1 minute 45 seconds to boot our system is wait
time for checking the existence of non-existant hardware and would not be
appreciable reduced with a faster CPU or disk. Are there kernel options
that we could use to avoid this checking? Would recompiling the kernel in
some specialized way help? Would pico-bsd be faster?

About the only thing I can find is to reduce the 10 second boot screen
delay - but we need to cut more than 30 seconds.

The server is statically configured but the clients obtain network
configuration from dhcp and pxeboot with nfs mounted root directories.
Clients are FreeBSD and Linux, and we are not eager to give up pxeboot as
it has greatly simplified maintainance.

Any suggestions, pointers much appreciated.


Three things I can think of:
* The 10 sec boot delay, which you already mentioned
* Make sure the wait time for SCSI devices is a low as reliably works.
 If it only has SCSI disks, this could probably very short, 1 sec or so
* Recompile your kernel removing any devices that don't exist in your
 hardware.

I'm not buying this, however.  My laptop boots in ~30 seconds with a
mostly stock kernel.  Please provide specific details as to what's
slowing it down.  Are you sure it's not a slow BIOS?  Many of the Dell
systems we have take several minutes with BIOS self-checks before the
OS even starts to boot.


The BIOS time isn't terrible - BTX shows up on the console within 15 
seconds. The major delays happen when the last console message is about 
atapci: (25 seconds) and ad2: (15 seconds).


Daniel Feenberg




--
Bill Moran
http://www.potentialtech.com


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


Re: faster booting

2008-03-05 Thread Daniel Feenberg



On Wed, 5 Mar 2008, Kevin Kinsey wrote:


Bill Moran wrote:


So, is there advice anywhere about speeding up the boot process? It
appears that most of the 1 minute 45 seconds to boot our system is wait
time for checking the existence of non-existant hardware and would not 
be

appreciable reduced with a faster CPU or disk. Are there kernel options
that we could use to avoid this checking? Would recompiling the kernel 
in

some specialized way help? Would pico-bsd be faster?

About the only thing I can find is to reduce the 10 second boot screen
delay - but we need to cut more than 30 seconds.

The server is statically configured but the clients obtain network
configuration from dhcp and pxeboot with nfs mounted root directories.
Clients are FreeBSD and Linux, and we are not eager to give up pxeboot 
as

it has greatly simplified maintainance.

Any suggestions, pointers much appreciated.

Three things I can think of:
* The 10 sec boot delay, which you already mentioned
* Make sure the wait time for SCSI devices is a low as reliably works.
 If it only has SCSI disks, this could probably very short, 1 sec or so
* Recompile your kernel removing any devices that don't exist in your
 hardware.

I'm not buying this, however.  My laptop boots in ~30 seconds with a
mostly stock kernel.  Please provide specific details as to what's
slowing it down.  Are you sure it's not a slow BIOS?  Many of the Dell
systems we have take several minutes with BIOS self-checks before the
OS even starts to boot.
The BIOS time isn't terrible - BTX shows up on the console within 15 
seconds. The major delays happen when the last console message is about 
atapci: (25 seconds) and ad2: (15 seconds).


Funky.  That's a Looong time to wait for an ATA controller to determine
whether or not their's a disk attached.  Do you have an ad2?  If not,
you might want to check the BIOS to see if there's an option to disable
that particular part of the ATA chain to see if that speeds FreeBSD's
probe up.


Let's be sure of this, though; are we actually talking about an ATA
controller issue?  The phrase last console message doesn't necessarily
mean it's the ATA controller, but whatever is *next* in the bootup process, 
AFAICT, *after* the probe of /dev/ad2, which, on my systems

is the mounting of the root filesystem.


Yes, there is an ad2 - it is the root filesystem, but given the point made 
above, it might be that the best thing to do is put that on a faster 
device. It is currently on a 2.5 drive that was selected to reduce power 
consumption and make the UPS last longer. Maybe a thumb drive would be 
better.


As for the suggestion that we delay the clients, we plan to enable memory 
testing in the BIOS of the clients to delay the first request for dhcp 
services. Any delays placed later in the boot sequence won't help with the 
problem.


Dan Feenberg




OTOH, turning off BIOS probes for disks that don't exist is
a good idea, IMHO.

Kevin Kinsey


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


Booting the install cd results in a reboot

2008-03-04 Thread Daniel Andersson
Hello!

I'm having some trouble installing FreeBSD on one of my boxes.
When I try to boot the install cd it starts to boot but it reboots before
I can read how far it gets. I've tried disabling all APIC and ACPI options
in my bios. No go. Here is a dmesg from OpenBSD:
http://pastebin.com/f55031392

Any ideas on how to get it to boot properly?

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


Booting the install cd results in a reboot

2008-03-04 Thread Daniel Andersson
Hrm. If I remove my SATA disks it boots just fine, odd. This applies to fbsd
6.3+.
Seems there might be some issues with my sata controller then?

Promise Technology, Inc. PDC20579 SATAII 150 IDE Controller (rev 02)

My other sata(nvidia) connector is directly under the cpu fan so I'll have
to
work some cable magic to connect it.

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


Re: looks like success

2008-03-02 Thread Daniel Gerzo
Hello B.,

Thursday, February 28, 2008, 9:27:03 PM, you wrote:

 Hello all,

 make delete-old (took a long time to do by hand)
 and make delete-old-libs (went rather quickly)

if you really want to delete all things:

# yes | make delete-old

-- 
Best regards,
 Danielmailto:[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:[solved] gdm + xdmcp

2008-03-02 Thread Daniel Iliev
On Sat, 1 Mar 2008 06:31:39 +0530
Girish Venkatachalam [EMAIL PROTECTED] wrote:

 On 01:10:06 Mar 01, Daniel Iliev wrote:
  Hi, people
  
  
  I installed FreeBSD using the 7.0-RELEASE-i386-bootonly.iso CD
  image. After I installed Gnome (pkg_add -r gnome2), I was able to
  start it on the FreeBSD and show it on my GNU/Linux workstation
  like this:
  
  1) (Xnest :1 ) ; terminal --display=:1
  2) in the Xnested terminal:
  ssh -Y bsd.example.org gnome-session 
  (Ctrl+D)
  
  Next I started gdmsetup on the FreeBSD system and enabled Remote
  Login (XDMCP). It was followed by a gdm-restart. No error
  messages, everything seems fine, but I can not connect to the
  FreeBSD box issuing Xnest -query bsd.example.org :2 from the
  workstation.
  
  The above steps are usually enough to get XDMCP working between
  GNU/Linux hosts. Actually the reverse scenario works just fine - I
  was able to get my GNU/Linux Gnome showing on the FreeBSD system via
  XDMCP. The two hosts are on the same HUB and in the same /24 private
  network.
  
  
  What am I missing in the FreeBSD setup?
  
 


I'm posting this one just for future reference if someone else hits the
same problem.

I rebuilt the kernel w/o IPv6 support (and a bunch of other things I
don't need but they seem irrelevant). After rebooting into the kernel
the gdm started crashing.

cd /usr/ports/*/gdm ; make deinstall ; make install clean.

The last command brings a configuration menu where I disabled the IPv6
support. After building and installing gdm this way the new instance
speaks XDMCP as expected.



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


gdm + xdmcp

2008-02-29 Thread Daniel Iliev
Hi, people


I installed FreeBSD using the 7.0-RELEASE-i386-bootonly.iso CD image.
After I installed Gnome (pkg_add -r gnome2), I was able to start it on
the FreeBSD and show it on my GNU/Linux workstation like this:

1) (Xnest :1 ) ; terminal --display=:1
2) in the Xnested terminal:
ssh -Y bsd.example.org gnome-session 
(Ctrl+D)

Next I started gdmsetup on the FreeBSD system and enabled Remote
Login (XDMCP). It was followed by a gdm-restart. No error messages,
everything seems fine, but I can not connect to the FreeBSD box issuing
Xnest -query bsd.example.org :2 from the workstation.

The above steps are usually enough to get XDMCP working between
GNU/Linux hosts. Actually the reverse scenario works just fine - I
was able to get my GNU/Linux Gnome showing on the FreeBSD system via
XDMCP. The two hosts are on the same HUB and in the same /24 private
network.


What am I missing in the FreeBSD setup?



P.S.

/* off-topic
I'm new to the *BSD world and it's my first message to this list.
So, I'd like to ask if there are any special rules here that I should
know about? Would no html, no thread-hijacking, no top-posting be
enough to avoid offending the more sensitive folks on the list when it
comes to correct e-mail formatting?
*/



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


Re: gdm + xdmcp

2008-02-29 Thread Daniel Iliev
On Sat, 1 Mar 2008 06:31:39 +0530
Girish Venkatachalam [EMAIL PROTECTED] wrote:

 On 01:10:06 Mar 01, Daniel Iliev wrote:

== snip ==

  I started gdmsetup on the FreeBSD system and enabled Remote
  Login (XDMCP). It was followed by a gdm-restart. No error
  messages, everything seems fine, but I can not connect to the
  FreeBSD box issuing Xnest -query bsd.example.org :2 from the
  workstation.
  

== snip ==

   The two hosts are on the same HUB and in the same /24 private
  network.
  
  
  What am I missing in the FreeBSD setup?
  
 
 I am confused why you need Xnest.
 
 If you want the XDMCP of the remote host there are other means. Xnest
 is meant for running multiple X sessions in the same server.
 
 If you want to access a remote machine's gdm, then you don't need
 Xnest for that.
 

Indeed. It is not my intention to use XDMCP like that (although it has
some advantages in some cases), but since the remote host wasn't on the
local XDMCP list I tried a more direct approach.


 You can test for UDP port 177 along with the TCP ports 6000 and above
 with the nmap command.
 
 # nmap -sT -p 6000-6005 bsd.example.org # For X
 # nmap -sU -p 177 bsd.example.org # For XDMCP
 

Sorry, I forgot to mention that. nmap gives:

PORTSTATE  SERVICE
177/udp closed xdmcp
6000/tcp open  X11

Actually I think the latter is not required, but I'll let everything be
open and allowing until I get it working, then I'll disable the
unnecessary options afterwards.


 Most likely you have to enable TCP listening in gdm.conf. Just
 uncomment the relevant line and you should be all set.
 

Now, this is where I get confused. In the gdm(1) man page it is stated
the configuration file should be gdm.conf. Well, the man page is from
2003 and pkg_info -L doesn't show such a file. Instead there is
custom.conf{,.default} and gdmsetup seems to be writing to this one.
Its content seems OK (meaning policy=allow all) to me:

sed -e '/^$/d;/#/d' /usr/local/etc/gdm/custom.conf
[daemon]
[security]
AllowRemoteRoot=true
DisallowTCP=false
[xdmcp]
Enable=true
[gui]
[greeter]
Use24Clock=yes
[chooser]
[debug]
[servers]


So, I believe there's something about gdm that I'm still missing or
it's just not working on FreeBSD. (bug?)


 Best of luck!
 
 -Girish


Thanks and the same to you!

(Although I'd appreciate more help than luck in this case.)

 :)



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


Re: gdm + xdmcp

2008-02-29 Thread Daniel Iliev
On Sat, 1 Mar 2008 10:22:29 +0530
Girish Venkatachalam [EMAIL PROTECTED] wrote:

  Sorry, I forgot to mention that. nmap gives:
  
  PORTSTATE  SERVICE
  177/udp closed xdmcp
  6000/tcp open  X11
  
  Actually I think the latter is not required, but I'll let
  everything be open and allowing until I get it working, then I'll
  disable the unnecessary options afterwards.
  
 
 Then your problem is right here.
 
 The XDMCP port is closed.
 

Agreed.

 
 Open the XDMCP port and you are done.
 


How am I supposed to do that? I believe it's up to gdm to open the port
it should be listening on. Just like Xorg did. If you mean I should
allow access to this port in the firewall, I must say I've not
(explicitly) enabled one on this system because it's connected to a
private (in the sense of RFC1918) LAN with no offenders other than me
and my family. :)


[EMAIL PROTECTED] ~]# /etc/rc.d/ipfw rcvar
# ipfw
firewall_enable=NO
[EMAIL PROTECTED] ~]# /etc/rc.d/ipfilter rcvar
# ipfilter
ipfilter_enable=NO
[EMAIL PROTECTED] ~]# /etc/rc.d/pf rcvar
# pf
pf_enable=NO
[EMAIL PROTECTED] ~]# 


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


Open source quiry

2008-02-25 Thread Daniel Jennings
Hello,

 

Recently I was told that 2wire dsl gateways http://www.2wire.com use a
variant of rt FreeBSD. 

 

If this is true are they required to make the source code available to the
public? And if so how does one go about getting the GPL source

 

Thankfully

 

Daniel

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


ports problems

2008-02-24 Thread Daniel Molina Wegener

Hi,

I've updated and upgraded the ports tree to the . branch
but serveral of ports doesn't compile or are completly absent
on the repositories.

What can I do?, I need the system working.

I'm using 6.3-STABLE.

-8--8--8--8--8-
pkg_create: make_dist: tar command failed with code 256
** Command failed [exit code 
1]: /usr/bin/script -qa /priv/down/dmw/tmp/portupgrade.86606.7 
env UPGRADE_TOOL=portupgrade UPGRADE_PORT=py25-setuptools-0.6c7 
UPGRADE_PORT_VER=0.6c7 make -DFORCE_PKG_REGISTER reinstall
** Command failed [exit code 
1]: /usr/bin/script -qa /priv/down/dmw/tmp/portupgrade.86606.5 
env UPGRADE_TOOL=portupgrade UPGRADE_PORT=py25-flup-0.5.r2311 
UPGRADE_PORT_VER=0.5.r2311 make FETCH_BEFORE_ARGS=-q
** Command failed [exit code 
1]: /usr/bin/script -qa /priv/down/dmw/tmp/portupgrade.86606.17 
env UPGRADE_TOOL=portupgrade UPGRADE_PORT=scons-0.97 
UPGRADE_PORT_VER=0.97 make -DFORCE_PKG_REGISTER reinstall
** Command failed [exit code 
1]: /usr/bin/script -qa /priv/down/dmw/tmp/portupgrade.86606.12 
env UPGRADE_TOOL=portupgrade UPGRADE_PORT=libusb-0.1.12_1 
UPGRADE_PORT_VER=0.1.12_1 make FETCH_BEFORE_ARGS=-q
** Command failed [exit code 
1]: /usr/bin/script -qa /priv/down/dmw/tmp/portupgrade.86606.4 
env UPGRADE_TOOL=portupgrade UPGRADE_PORT=nvidia-xconfig-1.0_1 
UPGRADE_PORT_VER=1.0_1 make FETCH_BEFORE_ARGS=-q
** Command failed [exit code 
1]: /usr/bin/script -qa /priv/down/dmw/tmp/portupgrade.86606.12 
env UPGRADE_TOOL=portupgrade UPGRADE_PORT=py25-numeric-24.2 
UPGRADE_PORT_VER=24.2 make FETCH_BEFORE_ARGS=-q
checking command to parse /usr/bin/nm -B output... failed
** Command failed [exit code 
1]: /usr/bin/script -qa /priv/down/dmw/tmp/portupgrade.86606.21 
env UPGRADE_TOOL=portupgrade UPGRADE_PORT=py25-psycopg-1.1.21 
UPGRADE_PORT_VER=1.1.21 make FETCH_BEFORE_ARGS=-q
checking command to 
parse /usr/ports/lang/gcc42/work/build/./gcc/nm output... 
failed
** Command failed [exit code 
1]: /usr/bin/script -qa /priv/down/dmw/tmp/portupgrade.86606.14 
env UPGRADE_TOOL=portupgrade UPGRADE_PORT=blas-1.0_1 
UPGRADE_PORT_VER=1.0_1 make FETCH_BEFORE_ARGS=-q
** Command failed [exit code 
1]: /usr/bin/script -qa /priv/down/dmw/tmp/portupgrade.86606.13 
env UPGRADE_TOOL=portupgrade UPGRADE_PORT=OpenEXR-1.4.0 
UPGRADE_PORT_VER=1.4.0 make FETCH_BEFORE_ARGS=-q
** Command failed [exit code 
1]: /usr/bin/script -qa /priv/down/dmw/tmp/portupgrade.86606.15 
env UPGRADE_TOOL=portupgrade UPGRADE_PORT=py25-MySQLdb-1.2.2 
UPGRADE_PORT_VER=1.2.2 make FETCH_BEFORE_ARGS=-q
of the failed make command, and (c) the gnomelogalyzer output. 
Also, it might
** Command failed [exit code 
1]: /usr/bin/script -qa /priv/down/dmw/tmp/portupgrade.86606.5 
env UPGRADE_TOOL=portupgrade UPGRADE_PORT=py25-gobject-2.12.3 
UPGRADE_PORT_VER=2.12.3 make FETCH_BEFORE_ARGS=-q
** Command failed [exit code 
1]: /usr/bin/script -qa /priv/down/dmw/tmp/portupgrade.86606.9 
env UPGRADE_TOOL=portupgrade UPGRADE_PORT=mesa-demos-7.0.1 
UPGRADE_PORT_VER=7.0.1 make FETCH_BEFORE_ARGS=-q
** Command failed [exit code 
1]: /usr/bin/script -qa /priv/down/dmw/tmp/portupgrade.86606.19 
env UPGRADE_TOOL=portupgrade UPGRADE_PORT=gnome-libs-1.4.2_7 
UPGRADE_PORT_VER=1.4.2_7 make FETCH_BEFORE_ARGS=-q
** Command failed [exit code 
1]: /usr/bin/script -qa /priv/down/dmw/tmp/portupgrade.86606.3 
env UPGRADE_TOOL=portupgrade UPGRADE_PORT=ffmpeg-2007.10.04_1 
UPGRADE_PORT_VER=2007.10.04_1 make FETCH_BEFORE_ARGS=-q
** Command failed [exit code 
1]: /usr/bin/script -qa /priv/down/dmw/tmp/portupgrade.86606.1 
env UPGRADE_TOOL=portupgrade 
UPGRADE_PORT=linux-flashplugin-7.0r70 UPGRADE_PORT_VER=7.0r70 
make FETCH_BEFORE_ARGS=-q
** Command failed [exit code 
1]: /usr/bin/script -qa /priv/down/dmw/tmp/portupgrade.86606.7 
env UPGRADE_TOOL=portupgrade UPGRADE_PORT=gstreamer-0.10.14_1 
UPGRADE_PORT_VER=0.10.14_1 make FETCH_BEFORE_ARGS=-q
** Command failed [exit code 
1]: /usr/bin/script -qa /priv/down/dmw/tmp/portupgrade.86606.10 
env UPGRADE_TOOL=portupgrade UPGRADE_PORT=mplayer-0.99.10_13 
UPGRADE_PORT_VER=0.99.10_13 make FETCH_BEFORE_ARGS=-q
** Command failed [exit code 
1]: /usr/bin/script -qa /priv/down/dmw/tmp/portupgrade.86606.24 
env UPGRADE_TOOL=portupgrade UPGRADE_PORT=libgnome-2.18.0_2 
UPGRADE_PORT_VER=2.18.0_2 make FETCH_BEFORE_ARGS=-q
-8--8--8--8--8-

Best regards,
-- 
 .O. | Daniel Molina Wegener   | C/C++ Developer
 ..O | dmw [at] unete [dot] cl | FOSS Coding Adict
 OOO | FreeBSD  Linux User| Standards Rocks!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


gmirror on slice

2008-02-23 Thread Daniel Gerzo
Hello people,

 I'm trying to set up a gmirror on two slices, but I am stuck
 somewhere. I am unable to find out what is wrong. Here's what I have
 done so far:

 I have 2 disks in the box. I have created 2 slices on both of them
 (ad{4,6}s1 and ad{4,6}s2) through sysinstall. (btw,
 http://www.freebsd.org/cgi/query-pr.cgi?pr=72895cat= is really
 annoying, lucky I had a remote console :-))

 Now I want to initialize gmirror on slice 1:

ha-db1# gmirror label -v -b round-robin gm0 /dev/ad4s1
gmirror: Can't store metadata on /dev/ad4s1: Operation not permitted.
ha-db1# sysctl kern.geom.debugflags=16
kern.geom.debugflags: 0 - 16
ha-db1# gmirror label -v -b round-robin gm0 /dev/ad4s1
gmirror: Can't store metadata on /dev/ad4s1: Operation not permitted.

for additional information, I am including the following:

ha-db1# fdisk -vp ad4
# /dev/ad4
g c1453521 h16 s63
p 1 0xa5 63 72340632
a 1
p 2 0xa5 72340695 1392803370

ha-db1# disklabel /dev/ad4s1
# /dev/ad4s1:
8 partitions:
#size   offsetfstype   [fsize bsize bps/cpg]
  a:  104857604.2BSD 2048 16384 8
  b: 25165824  1048576  swap
  c: 723406320unused0 0 # raw part, don't edit
  d: 25165824 262144004.2BSD 2048 16384 28528
  e: 20960408 513802244.2BSD 2048 16384 28528


 Any ideas will be much appreciated.

-- 
Best regards,
 Daniel  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]: gmirror on slice

2008-02-23 Thread Daniel Gerzo
Hello Wojciech,

Saturday, February 23, 2008, 5:15:14 PM, you wrote:

 Now I want to initialize gmirror on slice 1:

 ha-db1# gmirror label -v -b round-robin gm0 /dev/ad4s1
 gmirror: Can't store metadata on /dev/ad4s1: Operation not permitted.
 ha-db1# sysctl kern.geom.debugflags=16

 you try to make a mirror on used slice or some partition of that

and what's wrong with that, actually?
how do I create gmirror-ed slice then?

I have also tried the above commands on system that has ad4s1 and its
partitions unmounted, still getting the same error.

-- 
Best regards,
 Danielmailto:[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[3]: gmirror on slice

2008-02-23 Thread Daniel Gerzo
Hello Wojciech,

Saturday, February 23, 2008, 8:41:55 PM, you wrote:

 gmirror: Can't store metadata on /dev/ad4s1: Operation not permitted.
 ha-db1# sysctl kern.geom.debugflags=16

 you try to make a mirror on used slice or some partition of that

 and what's wrong with that, actually?
 how do I create gmirror-ed slice then?

 I have also tried the above commands on system that has ad4s1 and its
 partitions unmounted, still getting the same error.
 swap off?

no swap being used.

-- 
Best regards,
 Danielmailto:[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: Root User logged in at terminal

2008-02-20 Thread Daniel Bye
On Wed, Feb 20, 2008 at 08:27:13AM -0500, Grant Peel wrote:
 Hi all,
 
 I installed a new server this weekend and it appears I did not log out 
 befor disconnection the keyboard and monitor.
 
 Is the a way through ssh to force a logout of the root user?

Sure. Find out the pid of the shell running on the tty, and kill it.

Dan

-- 
Daniel Bye
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \


pgpRa7th0IuWa.pgp
Description: PGP signature


Re: Propagate changes to /etc/group to logged-in users?

2008-02-19 Thread Daniel Bye
On Tue, Feb 19, 2008 at 11:00:20AM -0700, Modulok wrote:
 Assume I have users logged in and I edit /etc/group...
 How do I propagate the changes to /etc/group to affect currently-logged-in
 users? I do not want to force users to logout, just to change group 
 memberships.

So far as I know, that's the only way. Any new shells they start up after
your changes should pick up the new values, but I don't think it's possible
to force changes out to existing sessions.

Dan

-- 
Daniel Bye
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \


pgppLLPjt2TNc.pgp
Description: PGP signature


RE: Promise RAID array and mounting questions

2008-02-12 Thread Daniel Eriksson
Trevor Hearn wrote:

 I can see the promise array, it shows us as DA0. The problem 
 is what is
 listed in the Dmesg stream shows the right amount of storage 
 space on the
 array, but when I use sysinstall, I cannot mount that space 
 as the full
 volume. I don't know if I am missing information on what to put for
 geometry, but anything I put does not get accepted as usable.

You will not be able to use sysinstall for this, the array is too big.
You should use gpt instead.

Do you want the entire array as one partition?
# gpt create /dev/da0
# gpt add /dev/da0
# newfs -O2 -U /dev/da0p1  (or 'newfs -O2 -U -i 524288 /dev/da0p1' if
you have mostly multi-megabyte files)

If you want multiple partitions you will have to pass a size (in
sectors) as a parameter to 'gpt add'.

Beware that you might not be able to fsck the filesystem because of its
size. I'm not sure how well gjournal handles fsck of large filesystems.
Personally I'm going with ZFS for my next large array (8x750GB).

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


DEVICE_POLLING IF_EM CPU usage

2008-02-09 Thread Daniel Dias Gonçalves

Hi,

I activated polling in 8 interfaces em0... em7 (ifconfig em* polling) to 
carry through performance tests, when activating, it had a significant 
reduction of CPU usage, load average measured of 0,50, 0,69, 0,52 for 
0,43, 0,39, 0,21 and the CPU usage (SNMP Graphic) measured of 35% for 
5%. Passed some hours I disactivated polling (ifconfig em* - polling) 
and CPU usage continues low.

Somebody could explain this to me?

Some information:

FreeBSD 6.3-RELEASE

CPU: Intel(R) Xeon(TM) CPU 3.20GHz (3200.13-MHz 686-class CPU)
Logical CPUs per core: 2
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
SMP: AP CPU #1 Launched!

Interfaces if_em:
  vendor = 'Intel Corporation'
  device = '82546EB Dual Port Gigabit Ethernet Controller'


Thanks.

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


Re: PHP - mbstring question

2008-02-08 Thread Daniel Bye
On Fri, Feb 08, 2008 at 02:06:45PM -0600, Darryl Hoar wrote:
 Greetings,
 I installed php4 and php4_extensions on my 6.3-release box.
 Tried installing SugarCRM (downloaded from their site as the 
 freebsd port is broken).   When installing it generates an error:
 
 Functions associated with Multi-byte strings PHP extensions (mbstring)
 are needed by application.
 
 How do I add that ?   Any help greatly appreciated.

 # cd /usr/ports/lang/php4-extensions
 # make install

Add mutlibyte (MBSTRING) support in the config dialog, and let the
install continue. 

Dan

-- 
Daniel Bye
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \


pgpAcWNoU3Rmx.pgp
Description: PGP signature


Problems with WMP54G Wireless Adapter

2008-02-08 Thread Daniel Tate
Even though I am relatively new to FreeBSD I have been able to configure 
most everything flawlessly.
There is only one problem that has needed fixing and that is with my 
wireless adapter from Linksys that use the ral(4) driver.
I have tried using ifconfig, yet I get a response saying that ral 
doesn't exist even though in my kernel I have the appropriate driver.

Also when I try dmesg | grep ral0 nothing comes up.
After all of this I loaded the driver into my kernel using ndisgen(8) 
and I got a response saying that there was a binary error.

When I do pciconf -lv i get this:

[EMAIL PROTECTED]:2:0: class=0x028000 card=0x00551737 chip=0x03011814 rev= 0x00 
hdr=0x00


   vendor = 'Ralink Technology, Corp'
   class= network

I have searched through various forums and even other mail threads but I 
have found nothing of value.

If more information is needed let me know.

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


Re: mail checker for evo/kmail//mutt-IMAP

2008-02-07 Thread Daniel Bye
On Wed, Feb 06, 2008 at 06:18:22PM -0800, Gary Kline wrote:
   Can anybody point me to a mailbox checker that works from a
   desktop and watches (via network), the mail server?   Until my
   re-org, xbiff was sufficient.   But no mo'.

I've just started using mail/mail-notification, which follows the
Open Desktop standards - so should work just fine with KDE/Gnome/XFCE
etc. I'm using it to check my IMAP mailboxes. It supports SSL/TLS, and
several different mailbox formats.

Dan

-- 
Daniel Bye
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \


pgp09155OyMY1.pgp
Description: PGP signature


Re: Nvidia video driver and Fb7

2008-01-30 Thread Daniel Bye
On Wed, Jan 30, 2008 at 12:25:41PM +, Kemian Dang wrote:
 Hi, everyone,
 I have installed the FB7-rc1 and the nvidia driver from port and kept 
 update to the newest version, but when I change the xorg.conf to use the 
 nvidia instead of nv, the X gave a complain about no /dev/nvidiactl 
 and stops, so I can only use nv, which seems slow on some 3d application.
 I tried to download the source from nvidia web page to compile, but it 
 said it is not for fb7 now. But, when I install from port, it did not 
 give any error or warning.
 
 
 So, have anyone tried nvidia driver on fb7 and succeed? Please give some 
 advice on how to solve this problem.

Yep, no problems here. Are you sure the driver is loaded into your
kernel?

 # kldstat
 Id Refs AddressSize Name
 1   15 0xc040 550b18   kernel
 22 0xc099c000 28638linux.ko
 ...
 51 0xc0a18000 693b10   nvidia.ko

You need these lines in /boot/loader.conf:

nvidia_load=YES
linux_load=YES

(The Linux mod is if you built the driver with support for Linux
DRI)

Dan

-- 
Daniel Bye
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \


pgpuF6ZQHazRM.pgp
Description: PGP signature


Re: 7.0 installation problem

2008-01-30 Thread Daniel Bye
On Wed, Jan 30, 2008 at 09:53:14AM -0500, FreeBSD User wrote:
 Hello,
 
 I have tried installing FreeBSD 7.0-Current for amd64, and I am having
 problems with my mouse and video card.
 
 My hardware is as follows:
 
 Gigabyte p35-ds3r motherboard
 Intel Core 2 Quad 2.4GHz (Q6600)
 NVidia 8400GS
 Microsoft Comfort Optical 3000 mouse
 Microsoft Natural Ergonomic Keyboard 4000
 
 Problem 1:
 The mouse is not working at all.  When I look at the output of dmesg,
 I see the mouse (ums0), however no movement.  I have gone into sysinstall
 and tried every available option under mouse configuration, but I can't get
 it to work.
 
 Problem 2:
 I cannot get X started.  I get the following errors:
 
 Failed to load module nv (module does not exist, 0)
 Failed to load module mouse (module does not exist, 0)
 Failed to load module kbd (module does not exist, 0)
 No drivers available

Try the following:

 # cd /usr/ports/x11-drivers/xorg-drivers
 # make config

Are the relevant items for mouse, keyboard and the nv driver checked?
If not, check them and try reinstalling the drivers package.

HTH

Dan

-- 
Daniel Bye
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \


pgphvcFMhFAuB.pgp
Description: PGP signature


Re: error while updating ports: x11/xorg-libraries

2008-01-27 Thread Daniel Bye
On Sun, Jan 27, 2008 at 06:41:26AM +0100, Huub wrote:
 
 Hmm, how did you end up with 7.2 installed, with the old /usr/X11R6 dir?
 I thought that went away in the transition from 6.9 to 7.2...
 
 So it apparently should be..
 
 
 Anyhow, following Kris' instructions in UPDATING should see you through
 the upgrade OK. I did it quite painlessly on a few machines, although
 others did report difficulties. If it comes to it, you can uninstall
 all your X-related ports and do a clean install of Xorg 7.3 - it'll
 take a while, but it will get the job done.
 
 According to the instructions:
 
  Unfortunately portupgrade (nor portupgrade-devel) cannot yet handle
   the rigors of the xorg upgrade without a small bit of help:
 
   # portupgrade -Rf libXft
 
 results in:
 
 ** Listing the failed packages (*:skipped / !:failed)
 * x11/xorg-libraries (xorg-libraries-7.2_1)
 ---  Packages processed: 112 done, 47 ignored, 1 skipped and 0 failed

Yep, because /usr/X11R6 still exists. Try running the mergebase.sh script
at /usr/ports/Tools/scripts/mergebase.sh. My guess is that in the past
you began the upgrade path from 6.9 to 7.x but didn't quite finish the
procedure (note that is very much a guess). You should probably read
through the script before you run it, just in case your system isn't
set up as it expects.

 
 So I guess I'm gonna do a clean install of all of Xbut can you tell 
 me which packages I should remove exactly?

Depends very much on what you have installed - pkg_info(1)'s -r and -R
options will help you to build up an overview of what you need to 
remove/update, if mergebase doesn't work. It's a good idea to save a list
of currently-installed ports to refer to in the event this all goes *pop*.

Good luck!

Dan

-- 
Daniel Bye
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \


pgpsoNw2ZYT4P.pgp
Description: PGP signature


Re: error while updating ports: x11/xorg-libraries

2008-01-26 Thread Daniel Bye
On Sat, Jan 26, 2008 at 09:18:58PM +0100, Huub wrote:
 Hi,
 
 After a quite some time of not using the machine, I decided to update a 
 PentiumIII pc running FreeBSD 6.2. Starting with portupgrade -R 
 firefox it ends with:
 
 [Updating the pkgdb format:bdb_btree in /var/db/pkg ... - 685 packages 
 found (-0 +1) . done]
 ---  Skipping 'graphics/cairo' (cairo-1.4.10) because a requisite 
 package 'xorg-libraries-7.2_1' (x11/xorg-libraries) failed (specify -k 
 to force)
 ---  Skipping 'x11-toolkits/pango' (pango-1.16.5) because a requisite 
 package 'cairo-1.4.10' (graphics/cairo) failed (specify -k to force)
 ---  Skipping 'x11-toolkits/gtk20' (gtk-2.10.14) because a requisite 
 package 'pango-1.16.5' (x11-toolkits/pango) failed (specify -k to force)
 ---  Skipping 'www/firefox' (firefox-2.0.0.6,1) because a requisite 
 package 'pango-1.16.5' (x11-toolkits/pango) failed (specify -k to force)
 ** Listing the failed packages (*:skipped / !:failed)
 ! x11/xorg-libraries (xorg-libraries-7.2_1) (unknown build 
 error)
 * graphics/cairo (cairo-1.4.10)
 * x11-toolkits/pango (pango-1.16.5)
 * x11-toolkits/gtk20 (gtk-2.10.14)
 * www/firefox (firefox-2.0.0.6,1)
 ---  Packages processed: 34 done, 61 ignored, 4 skipped and 1 failed
 
 So, starting to look for information about xorg-libraries, I've searched 
  in /usr/ports/CHANGES, MOVED and UPDATING but found nothing. Can 
 someone please tell me how to get on with this?

First off, you should probably update your ports tree. Firefox is now
at 2.0.0.11,1, and xorg-libraries is at 7.3_1.

Then try the upgrade again. If it still fails, show us the errors from
the xorg-libraries build.

Dan

-- 
Daniel Bye
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \


pgpqY1GQzyuRM.pgp
Description: PGP signature


Re: error while updating ports: x11/xorg-libraries

2008-01-26 Thread Daniel Bye
On Sat, Jan 26, 2008 at 09:57:20PM +0100, Huub wrote:
 
 First off, you should probably update your ports tree. Firefox is now
 at 2.0.0.11,1, and xorg-libraries is at 7.3_1.
 
 I started with updating the ports tree.
 
 
 Then try the upgrade again. If it still fails, show us the errors from
 the xorg-libraries build.
 
 [Updating the pkgdb format:bdb_btree in /var/db/pkg ... - 685 packages 
 found (-0 +1) . done]
 ---  Upgrading 'xorg-libraries-7.2_1' to 'xorg-libraries-7.3_1' 
 (x11/xorg-libraries)
 ---  Building '/usr/ports/x11/xorg-libraries'
 ===  Cleaning for xorg-libraries-7.3_1
 /usr/X11R6 exists, but it is not a symlink. Installation cannot proceed.
 This looks like an incompletely removed old version of X.  In the 
 current version, /usr/X11R6 must be a symlink if it exists at all.Please 
 read /usr/ports/UPDATING (entry of 20070519) for the procedure to 
 upgrade X.org related ports.*** Error code 1
 
 Stop in /usr/ports/x11/xorg-libraries.
 ** Command failed [exit code 1]: /usr/bin/script -qa 
 /tmp/portupgrade.15405.6 env UPGRADE_TOOL=portupgrade 
 UPGRADE_PORT=xorg-libraries-7.2_1 UPGRADE_PORT_VER=7.2_1 make
 ** Fix the problem and try again.
 
 
 
 OK, so it looks like I have to update Xorg ports first. Reading UPDATING 
 it seems quite a lot of work. Can you tell it will work out ok?

Hmm, how did you end up with 7.2 installed, with the old /usr/X11R6 dir?
I thought that went away in the transition from 6.9 to 7.2...

Anyhow, following Kris' instructions in UPDATING should see you through
the upgrade OK. I did it quite painlessly on a few machines, although
others did report difficulties. If it comes to it, you can uninstall
all your X-related ports and do a clean install of Xorg 7.3 - it'll
take a while, but it will get the job done.

I hope it works out!

Dan

-- 
Daniel Bye
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \


pgpNswrDxte1s.pgp
Description: PGP signature


Re: Updating older 7.0 to newer sources, local buildworld problems

2008-01-23 Thread Sten Daniel Soersdal

Jason C. Wells wrote:

Sten Daniel Soersdal wrote:
I'm having troubles updating my buildworld and i've had troubles 
narrowing it down on google.


My question is:

Is there any way i could update the system in the state it is now?
(Preferably without reinstalling the entire system from scratch.)

PS. I've heard about freebsd-update but never got it to work (see below)


I have never used freebsd-update so I can't comment there.  I think 
that's a binary update though.  You are trying to build from source.


I would use cvsup to update my source tree to 7.0-RELEASE.  Since your 
initial sources are before Sep 19, they are not 7.0-RELEASE.  Read about 
cvsup in the handbook.  Look at the example files in 
/usr/share/examples/cvsup.  The I would run 'make clean' and 'make 
buildworld' all over again.


Except for creating a newfs and tweaking files in /etc, building the 
world is pretty much installing the entire system.


http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cutting-edge.html

Be careful about the cvs tag that you use.  RELENG_7_0_0_RELEASE is what 
you will eventually want.  If that tag has not yet been set by releng@, 
then you will delete your sources.  I recommend '-d 20' with cvsup to 
protect yourself from accidental deletions.  RELENG_7 is probably what 
you want until 7.0 is actually released.




Thank you, i appreciate your time.
At the bottom of the (messy) mail i sent there was the error i get from 
building sources. I think it's the same error, no matter what version of 
sources i download.
Could it have any relations to any compiler version upgrades done in 7.0 
(not by me but by freebsd project)?


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


Updating older 7.0 to newer sources, local buildworld problems

2008-01-22 Thread Sten Daniel Soersdal
/cc_tools.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.


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


Re: ipfw(8) doc bug?

2008-01-21 Thread Daniel Gerzo
Hello Ian,

Monday, January 21, 2008, 2:42:53 PM, you wrote:

 I was just browsing various versions of ipfw(8) such as:

 http://www.freebsd.org/cgi/man.cgi?query=ipfwapropos=0sektion=0manpath=FreeBSD+6.3-stableformat=html

 and noticed that (and 6.3-RELEASE) manuals sport 'FreeBSD 7.0' footers,
 however the proper FreeBSD 7 manual includes the new 'ipfw nat' section,
 so is different in at least that respect.

As far as I know, this isn't a bug. The reason why you see FreeBSD
7.0 in the footer is that the machine, which is serving the online
manuals is running 7.0, but the real content of the man page is the
same as you will find in the 6.3-RELEASE.

-- 
Best regards,
 Danielmailto:[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]: kernel make error: /usr/src/sys/crypto/rijndael/* missing

2008-01-19 Thread Daniel Gerzo
Hello Colin,

Saturday, January 19, 2008, 3:13:31 PM, you wrote:

 Unfortunately, I got another error. Any ideas what is going wrong here?

I would guess a missing device scbus and/or da in your kernel
configuration file.

-- 
Best regards,
 Danielmailto:[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 be *nix programmer

2008-01-17 Thread Sten Daniel Soersdal

Radheshyam Bhatt wrote:

Hello  People,


   How's it going?I am interested in to developing drivers
for FreeBSD.   How do I go about start learning program for that?  What
books  resources I should look in to.   I know C, and I am learning about
processes, and system calls.   Also where would I take my questions to if I
don't get something and need help for something in system's programming...
Please email me back..



I would recommend reading:
The Design and Implementation of the FreeBSD Operating System
by by Marshall Kirk McKusick (Author), George V. Neville-Neil (Author)

The questions go where they are appropriate (scsi driver? perhaps 
freebsd-scsi@ or freebsd-hackers@ ?).



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


Re: RAID mirror really worked

2008-01-17 Thread Sten Daniel Soersdal

Wojciech Puchar wrote:

gmirror works too very good without any hardware :)


CB Yes, but a hardware RAID works without the OS having to know about 
it. :-)


...and its failures? ;)


:)

for mirroring there is almost no CPU overhead so buying extra hardware 
doesn't make sense at all. not mentioning that most of such hardware are 
actually normal disk controllers with extra soft in BIOS. these are 
supported by ataraid driver.



much better is to use gmirror so it will be completely portable.

and - with gmirror you DO NOT have to mirror/stripe/concat whole drives.
and that's what i do most often - mirror important data but store 
unimportant data without it.


... But with a raid controller mirror you do not have to send the data 
twice over the host bus.


gmirror is awesome

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


clamav under 6.2-RELEASE/SPARC64

2008-01-13 Thread Daniel Bye
Hi all,

I have found that under 6.2-RELEASE/SPARC64, security/clamav is not
building correctly - specifically, clamd and clamdscan are not getting
compiled. Everything else is built and installed as expected, just not 
these two rather key components... The same is true of the development
snapshot version as well.

It works fine on 6.2-RELEASE/I386 and 7.0-RC1/I386.

Before going any deeper, has anyone else noticed this?

Thanks for your time,

Dan

-- 
Daniel Bye
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \


pgpmV8znmdmw9.pgp
Description: PGP signature


Re: Secure update of /usr/src

2008-01-13 Thread Daniel Gerzo
Hello ??,

Sunday, January 13, 2008, 11:17:13 AM, you wrote:

 Hello all,

 is there any way to securely follow the STABLE branch of FreeBSD, e.g.

 I am afraid that this isn't currently possible with -STABLE branches.

-- 
Best regards,
 Danielmailto:[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: apache portupgrade conflicts with apr-db43

2008-01-12 Thread Daniel Rucci

Volodymyr Kostyrko wrote:

Tankko пишет:

Does anyone know the answer to this?  I am stuck as to how to proceed?


Rebuild subversion with apache support. That way you would not need 
separate apr package.



Volodymyr Kostyrko wrote:

Tankko пишет:

Does anyone know the answer to this?  I am stuck as to how to proceed?


Rebuild subversion with apache support. That way you would not need 
separate apr package.
Over the years of having subversion + apache, I've noticed that 
occasionally things will upgrade and forget my preferences.. Now im 
using ports-mgmt/portconf with a ports.conf that contains:


devel/subversion: WITH_BERKELEYDB=db43 | WITH_MOD_DAV_SVN
www/apache22: WITH_BERKELEYDB=db43
and have not had any problems.. (Similar setup can be done with the 
appropriate variables in /etc/make.conf if you don't want to install 
portconf)


Dan


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


Re: goffice fails to install

2008-01-12 Thread Daniel Rucci

Ghirai wrote:

Hello list,

I had gnumeric installed, and wanted to upgrade.

portupgrade gnumeric failed because it wanted a newer version of
goffice.

I deinstalled the old goffice and did make install.
It fails here:
  

I'd remove  devel/goffice/work  and try make; make install again .

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


Re: index.php not automatically displaying

2008-01-12 Thread Daniel Rucci

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Chris Maness wrote:
| I have two web servers -- one old, and another I have just set up.  I 
have tried to set up the new http.conf the same for php files, but the 
new one does not automatically parse index.php like index.html.  This 
works on the old server, but not the new.

I have
AddType application/x-httpd-php .php

and

IfModule dir_module
~DirectoryIndex index.html index.php
/IfModule

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.4 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHiVya35WRARjlw0YRAm2HAJ44kEEO3oSg31AP6iLZY57UHJYJXwCdE1nN
kSohV1xCrGQdW/yJALS+7TI=
=pEo7
-END PGP SIGNATURE-

___
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-PRE/AMD64: missing f77/Fortran compiler ...

2008-01-11 Thread Daniel Rucci

Kris Kennaway wrote:
No, it's not convenient.  There is a large maintenance cost for 
keeping the fortran compiler in the base system for little gain 
(nothing in FreeBSD uses it), and it is also only of use to a small 
subset of FreeBSD users, so this is a perfect situation where moving 
it to the ports collection made sense.
Does this mean i can take WITHOUT_FORTRAN out of my /etc/src.conf? If 
thats the case, src.conf(5) should be updated.


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


Re: How backup huge pgsql ?

2008-01-11 Thread Daniel Bye
On Thu, Jan 10, 2008 at 11:10:58PM +0100, Albert Shih wrote:
 Hi all
 
 I want to known how can I make backup of huge postgresql database (huge
 mean ~ 2To). 
 
 I can stop the access of the database during N1 hours.
 
 Any idea about this ? 

Take a look at the PostgreSQL web site - they have a section in the 
docs dedicated to this subject, detailing several different strategies.
I'm sure one of them will fit!

http://www.postgresql.org/docs/8.2/static/backup.html

(If you're running a diffrent version of PostgreSQL, check out the
relevant section of the docs - accessible from 
http://www.postgresql.org/docs/manuals/) 

Dan

-- 
Daniel Bye
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \


pgpFFxdXeXc0q.pgp
Description: PGP signature


Re: xf86-video drivers

2008-01-05 Thread Daniel Bye
On Sat, Jan 05, 2008 at 03:49:42PM -0500, E. J. Cerejo wrote:
 I'm running FBSD6 stable and using portupgrade to manage my ports.  I 
 was wondering how do you stop all of these video drivers from building 
 and installing when all I need is xf86-video-nv?

 # cd /usr/ports/x11-drivers/xorg-drivers
 # make config

Uncheck all the ones you don't want, then 

 # make deinstall reinstall

to unregister the drivers you just removed, and finally uninstall all
the unwanted ones from the system.

Dan 

-- 
Daniel Bye
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \


pgpulwDxKTwyF.pgp
Description: PGP signature


Re: console server using a modern 1U box

2008-01-03 Thread Daniel Ponticello

Hello Andrew,
i know PCI Express Moxa cards are supported on freebsd (they provide 
proprietary drivers): http://www.moxa.com/product/CP-104EL.htm


Anyway, i'm only using the ethernet to RS232 devices from Moxa, and they 
work pretty well.



Cheers,

Daniel

Andrew Pantyukhin ha scritto:

What are the options? Should we go the USB-RS232 way or are
there PCI Express or PCI-X multiport cards supported by FreeBSD?
This is a telecom-ish environment, so ease of rackmounting is a
plus (consumer USB stuff is thus a PITA for us).

Any comment will be appreciated!
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-isp
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: Logitech keyboard/mouse?

2007-12-27 Thread Daniel Bye
On Thu, Dec 27, 2007 at 01:18:19PM -0500, Robert Huff wrote:
 
   As long as we're in the viciity:
   I have a Logitech i-Touch keyboard; standard 104 (or whatever
 it is these days) setup plus a dozen extra buttons and two dials.
   Great product.
   It would be even greater if
   a) I could get X to register/comunicate all the extra stuff
   and
   b) programs understood and used those inputs.
   Has anyone seen this done?  I'd dearly loce to be able to use
 the little dial by the TAB key for volume control in xmms.

I tinkered with this stuff a while ago. Let me see if I can remember
how (an object lesson in making copious notes whenever you try something
new, I guess...)

To find out what keycodes your extra keys are bound to, run xev(1) from
an Xterm or similar. With your mouse pointer over the little window that
pops up, hit each extra key you are interested in and make a note of its
keycode value. Quit xev(1) and edit or create ~/.Xmodmap, which allows
you to assign keysyms to particular keycodes, etc (see xmodmap(1) for
the full story). On my keyboard, turning the dial clockwise generates
keycode 176, and anti-clockwise 174 which I map to the XF86AudioRaiseVolume
and XF86AudioLowerVolume keysyms:

keycode 176 = XF86AudioRaiseVolume
keycode 174 = XF86AudioLowerVolume

I also have a mute button next to the dial which generates 140:

keycode 140 = XF86AudioMute

(A full list of keysyms can be found in /usr/local/lib/X11/XKeysymDB)

For this to be useful, you need to figure out how your window manager 
handles keyboard customisation.[1] Under XFCE4, the Keyboard settings
applet allows creation of keyboard shortcuts by attaching commands
to keysyms. For example, to change the mixer volume, I have 
`aumix -v +10' assigned to XF86AudioRaiseVolume and `aumix -v -10'
assigned to XF86AudioLowerVolume. (aumix is available in the ports).
I have assigned a custom shell script to the mute button (XF86AudioMute)
which toggles the volume on or off:

#!/bin/sh -x

# If we are currently playing, mute the speakers and register current
# volume level in /tmp/mute-${XINE_PID}
#
# If mute (ie, if mute-${XINE_PID} exists), restore volume to the level
# recorded in the file, and remove the file.

XINE_PID=$(pgrep xine)

if [ -f /tmp/mute-${XINE_PID} ]
then
  VOL=$(cat /tmp/mute-${XINE_PID})
  aumix -v${VOL}
  rm /tmp/mute-${XINE_PID}
else
  VOL=$(aumix -q | awk '/^vol/ {print $2}' | sed -e 's/,//')
  echo ${VOL}  /tmp/mute-${XINE_PID}
  aumix -v0
fi

It's a little naive, but it works for me (TM). I'm sure much more sophist-
icated and robust solutions are to be found!

I have also created a very simplistic play/pause/resume script which is
bound to XF86AudioPlay (keycode 162 in my case):

#!/bin/sh

# Play/Pause/Unpause control for Xine.
# Invoked from the XFCE4 keyboard shortcuts.

XINE_PID=$(pgrep xine)

if [ -f /tmp/play_pause-${XINE_PID} ]
then
  rm /tmp/play_pause-${XINE_PID}  exec xine -S play
else
  touch /tmp/play_pause-${XINE_PID}  exec xine -S pause
fi

Again, pretty naive, but it works here. 

Once you have customised your .Xmodmap, you can ativate the changes by
adding to your ~/.xsession or ~/.xinitrc

xmodmap /path/to/your/home/.Xmodmap

Obviously, the same command can be used to load your modifications
without logging off.

HTH

Dan

[1] http://gentoo-wiki.com/HOWTO_Use_Multimedia_Keys gives details
for various window managers.
-- 
Daniel Bye
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \


pgp2inOxfeGAA.pgp
Description: PGP signature


Re: Logitech keyboard/mouse?

2007-12-27 Thread Daniel Bye
On Thu, Dec 27, 2007 at 02:30:32PM -0500, Robert Huff wrote:
 Daniel Bye writes:
 
 I have a Logitech i-Touch keyboard; standard 104 (or whatever
it is these days) setup plus a dozen extra buttons and two dials.
 Great product.
 It would be even greater if
 a) I could get X to register/comunicate all the extra stuff
 
 Has anyone seen this done?  I'd dearly loce to be able to use
the little dial by the TAB key for volume control in xmms.
   
   To find out what keycodes your extra keys are bound to, run
   xev(1) from an Xterm or similar. With your mouse pointer over the
   little window that pops up, hit each extra key you are interested
   in and make a note of its keycode value.
 
   We can stop right here: nothing gets reported.

Absolutely nothing? Hmm. Never seen that before... 

A few minutes' googling suggests that you might get on better with
a different keyboard model in your xorg.conf. What's it currently
set to? Mine is 

Option XkbModel pc101

Try looking for your keyboard in /usr/local/share/X11/xkb/rules/base.lst
and try the model name in the first column.

Apart from that, I have no idea, sorry.

Dan

-- 
Daniel Bye
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \


pgpBzkcXCP0yH.pgp
Description: PGP signature


PV entries

2007-12-26 Thread Daniel Gerzo
Hello questions,

  I'm getting these messages on my FreeBSD 7.0-RC1 as well as on BETA4
  boxes (I haven't noticed it in the past):

  Dec 27 01:18:49 web1 kernel: Approaching the limit on PV entries, consider 
increasing either the vm.pmap.shpgperproc or the vm.pmap.pv_entry_max sysctl.

  I  would like to ask, what are these PV entries, in order to be able
  to tweak these numbers accordingly.

  Just for the record, following numbers are set (should be defaults):

  vm.pmap.shpgperproc: 200
  vm.pmap.pv_entry_max: 3254323

  Thanks.

-- 
Best regards,
 Daniel  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]


mount ntfs-3g

2007-12-24 Thread Daniel Rucci

Hi,
   I'm trying to mount an ntfs-3g partition but get an error when using 
mount.


mount -t ntfs-3g /dev/ad6s1 /win
mount: /dev/ad6s1 : Operation not supported by device

if i use mount_ntfs-3g ... it works fine but that won't help me with 
respect to mounting during boot.


Is there anything special that needs to be done to get a non standard 
mount_* command to work via mount? I read somewhere to add a symlink to 
mount_ntfs-3g to /sbin/ but that did not seem to do anything.


Thanks,
   Dan


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


Re: Ethernet Card Times out on Transfer of Large Files

2007-12-17 Thread Daniel Bye
On Mon, Dec 17, 2007 at 01:07:57AM -0600, W. D. wrote:
 Hello Gentlemen:
 
 The NVidia Ethernet card, nve0, seems to burp on transfers
 of large files.  After browsing the Web, apparently this
 is a fairly common problem:
 
 http://www.google.com/search?q=nve0+device+timeout+FreeBSD
 
 From what I can tell, this seems to be the best, most recent
 fix:
 http://www.f.csce.kyushu-u.ac.jp/~shigeaki/software/freebsd-nfe.html
 
 Could anyone please point me to some instructions on 
 how to compile, install, and load this driver?
 
 When running make install, this error shows up:
 
 /usr/share/mk/bsd.kmod.mk, line 12 can't find kernel source tree
 
 Thank you so much for any light you can shed on this
 problem.

Install the source, do a buildworld/buildkernel and try again. There are
detailed instructions on both tasks in the handbook.

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html

Dan

-- 
Daniel Bye
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \


pgpJYYELRnM8y.pgp
Description: PGP signature


RE: smart_host on sendmail min config

2007-12-13 Thread Daniel Eriksson

Why are you not using the supplied scripts and configuration knobs to
start Sendmail? It works just fine for 99% of FreeBSD users (my guess),
so what makes your environment so special that your needs cannot be met
without custom scripts?

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


Re: Suggestions please for what POP or IMAP servers to use

2007-12-13 Thread Daniel Bye
On Thu, Dec 13, 2007 at 09:40:50AM -0700, Andrew Falanga wrote:
 sounds like everyone is sold on dovecot.  Great!.  I've a few questions.  I
 went and looked it up on freshports.org and found the main web site.  Can
 anyone explain to me what problems they have with mail clients attaching?
 See http://wiki.dovecot.org/Clients .  This shows some interesting problems
 and I'd like to know if everyone using dovecot sees these problems.

I use mutt 1.4.2.3i, which works without problems. I have also used 
Thunderbird with it, as does my business partner, and spotted no issues
there either. 

 
 Second, how do programs like dovecot manage users?  Does each user of the
 e-mail system need to be a user of the FreeBSD system (installed locally)?

As Gerard said, dovecot can handle virtual users. There are several ways
to do this - probably the most scalable will be SQL and LDAP, although
you can use passwd-file as well. There's some good documentation on the
web site, particularly http://wiki.dovecot.org/Authentication.

Dan

-- 
Daniel Bye
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \


pgp6jDohN9QhC.pgp
Description: PGP signature


Re: login.conf password options

2007-12-13 Thread Daniel Bye
On Thu, Dec 13, 2007 at 07:30:21PM +0100, Peter Boosten wrote:
 Quoting James Harrison [EMAIL PROTECTED]:
 
 :passwordtime=150d:\
 :warnpassword=150d:
 
 Is it me, or did you forget the backslash here?

No, that's correct. It's the last line of a class definition. The backslash
is used as a line continuation character, and is not necessary on the last
line. In fact, it must not be included, else it will cause the system to
interpret the next line as part of the same class definition, rather than
the start of the next.

Dan

-- 
Daniel Bye
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \


pgpIF5pu7AMAP.pgp
Description: PGP signature


<    2   3   4   5   6   7   8   9   10   11   >