Re: NTFS-3G mount during boot

2007-10-07 Thread Novembre
On 10/7/07, Craig Butler <[EMAIL PROTECTED]> wrote:
> Novembre wrote:
> > On 10/7/07, Mel <[EMAIL PROTECTED]> wrote:
> >
> >> On Sunday 07 October 2007 10:00:35 Novembre wrote:
> >>
> >>
> >>> On 10/7/07, Doug Barton <[EMAIL PROTECTED]> wrote:
> >>>
>  On Sun, 7 Oct 2007, Novembre wrote:
> 
> > The first error above is because the fuse kernel module is not yet
> >
>  loaded.
> 
>  Well isn't it sort of pointless to proceed until you get the kernel
>  module loaded at boot time and then see what happens next?
> 
> >>> Oh, the kernel module IS loaded as shown in 'dmesg -a' and in
> >>> /var/log/messages. However, it can't be loaded unless / and /usr file
> >>> systems are mounted.
> >>>
> >> Filesystems that need modules from anywhere else then the root partition
> >> cannot be loaded from /etc/fstab.
> >> Either make fusefs-kmod install in /boot/modules
> >> (echo 'KMOD_DIR=/boot/modules'
> >>
> >>> /usr/ports/sysutils/fusefs-kmod/Makefile.local) or mount the filesystem
> >>>
> >> using an rc(8) script in /usr/local/etc/rc.d/.
> >> In the end you do not really care whether it's mounted 20 seconds or 1
> >> second
> >> before login prompt is available.
> >>
> >> --
> >> Mel
> >>
> >>
> >
> >
> >
> > Well, I gave up using /etc/fstab to mount NTFS partitions at boot time a
> > couple of months ago when I realized that it's not the correct way to do it
> > (so I also wrote an rc.d script to do the job, but I'll talk about it
> > later). However, I recently looked at fusefs-ntfs source files, and as you
> > can see from
> > http://www.freebsd.org/cgi/cvsweb.cgi/ports/sysutils/fusefs-ntfs/Makefile in
> > revision 1.19, there are changes (installing a symlink) to allow using
> > /etc/fstab to mount NTFS partitions at boot. So I thought that maybe now
> > it's okay to use /etc/fstab. Anyway, if it's still not possible to use
> > /etc/fstab, then what does that sentence mean in the revision 1.19 of
> > fusefs-ntfs Makefile (again, see the URL above)?
> >
> > Another question is why, even after loading the kernel module (see the
> > 'dmesg -a' output below), it is not possible to mount the NTFS partition?
> > --
> > [EMAIL PROTECTED] ~]$ dmesg -a
> > ...
> > Starting fusefs.
> > fuse4bsd: version 0.3.9-pre1, FUSE ABI 7.8
> > ...
> > Mounting late file systems:
> > fuse: failed to exec mount program: No such file or directory
> > --
> >
> > This output from /var/log/messages is also interesting, showing that ntfs-3g
> > has indeed been run and that it has mounted my Windows partition (but I
> > don't see it mounted)!
> > --
> > [EMAIL PROTECTED] ~]$ cat /var/log/messages
> > ...
> > Oct  6 14:22:40 pasargadae kernel: Trying to mount root from ufs:/dev/ad0s2a
> > Oct  6 14:22:45 pasargadae kernel: fuse4bsd: version 0.3.9-pre1, FUSE ABI
> > 7.8
> > Oct  6 14:22:45 pasargadae ntfs-3g[811]: Version 1.913
> > Oct  6 14:22:45 pasargadae ntfs-3g[811]: Mounted /dev/ad0s1 (Read-Write,
> > label "", NTFS 3.0)
> > Oct  6 14:22:45 pasargadae ntfs-3g[811]: Cmdline options: (null)
> > Oct  6 14:22:45 pasargadae ntfs-3g[811]: Mount options:
> > noatime,silent,allow_other ,fsname=/dev/ad0s1
> > ...
> > --
> >
> > And I didn't know about the /boot/modules way. Could you please ellaborate
> > more? Is it a different way to load kernel modules than using
> > /boot/loader.conf? When should one use that?
> >
> > And now, about coming back to using an rc.d script...After failing to use
> > /etc/fstab, I wrote this script to mount the partition at boot time.
> > However, this also does not work!
> > --
> > #!/bin/sh
> > #
> > # PROVIDE: ntfsmount
> > # REQUIRE: fusefs
> > #
> >
> > . /etc/rc.subr
> >
> > name="ntfsmount"
> > rcvar=${name}_enable
> > command="/usr/sbin/mount_ntfs-3g"
> > command_args="/dev/ad0s1 /mnt/windows -o locale=en_US.UTF-8"
> >
> > load_rc_config $name
> >
> > : ${ntfsmount_enable="NO"}
> >
> > run_rc_command "$1"
> > --
> > I have made this script executable and have put ' ntfsmount_enable="YES" '
> > in my /etc/rc.conf. So basically, I'm out of ideas now, and I need the
> > experts' help in this case. I think this problem is way above my current
> > knowledge of FreeBSD.
> >
> > Thanks for your help :)
> > ___
> > [EMAIL PROTECTED] mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> > To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> >
>
> Wow thats a lot of work.
>
> one liner in /etc/rc.local
> /usr/sbin/mount_ntfs-3g /dev/ad0s1 /mnt/windows -o locale=en_US.UTF-8 &
>
>
> Job Done :p
>
>
>
>
> 
> This email has been handled by lerwick.hopto.org mail server
> and has been scanned by 3 virus killers and spamassassin
> 
>
>


Are you sure it's going to work? My rc.d script is doing just that and
it's not working. Are you using it yourself to m

Re: NTFS-3G mount during boot

2007-10-07 Thread Novembre
> > Well, I gave up using /etc/fstab to mount NTFS partitions at boot time a
> > couple of months ago when I realized that it's not the correct way to do it
> > (so I also wrote an rc.d script to do the job, but I'll talk about it
> > later). However, I recently looked at fusefs-ntfs source files, and as you
> > can see from
> > http://www.freebsd.org/cgi/cvsweb.cgi/ports/sysutils/fusefs-ntfs/Makefile
> > in revision 1.19, there are changes (installing a symlink) to allow using
> > /etc/fstab to mount NTFS partitions at boot. So I thought that maybe now
> > it's okay to use /etc/fstab. Anyway, if it's still not possible to use
> > /etc/fstab, then what does that sentence mean in the revision 1.19 of
> > fusefs-ntfs Makefile (again, see the URL above)?
>
> The only way I can see that working is if /usr/local/modules in
> kern.modules_path /before/ mount -a is executed by /etc/rc.d/mount. Which
> means there should be a line:
> kern.module_path=/boot/kernel;/boot/modules;/usr/local/modules
>
> in /etc/sysctl.conf on your machine.
> Also, mount_ntfs-3g should be able to load the module dynamically.


My /etc/sysctl.conf is basically empty; it's all the usual default
comments. Nothing is specified there.


> > Another question is why, even after loading the kernel module (see the
> > 'dmesg -a' output below), it is not possible to mount the NTFS partition?
> > --
> > [EMAIL PROTECTED] ~]$ dmesg -a
> > ...
> > Starting fusefs.
> > fuse4bsd: version 0.3.9-pre1, FUSE ABI 7.8
> > ...
> > Mounting late file systems:
> > fuse: failed to exec mount program: No such file or directory
> > --
>
> What does ls -l /sbin/mount_ntfs-3g say?


There is no /sbin/mount_ntfs-3g. But /usr/sbin/mount_ntfs-3g exists
and is a symlink to /usr/local/bin/ntfs-3g.
I'm not sure whether it's relevant to your question, but I had made
/sbin/mount_ntfs-3g a symlink to /usr/local/bin/ntfs-3g myself, and
that also was not working (but I had tired it with the previous
version of ntfs-3g not the one currently installed).


> > This output from /var/log/messages is also interesting, showing that
> > ntfs-3g has indeed been run and that it has mounted my Windows partition
> > (but I don't see it mounted)!
> > --
> > [EMAIL PROTECTED] ~]$ cat /var/log/messages
> > ...
> > Oct  6 14:22:40 pasargadae kernel: Trying to mount root from
> > ufs:/dev/ad0s2a Oct  6 14:22:45 pasargadae kernel: fuse4bsd: version
> > 0.3.9-pre1, FUSE ABI 7.8
> > Oct  6 14:22:45 pasargadae ntfs-3g[811]: Version 1.913
> > Oct  6 14:22:45 pasargadae ntfs-3g[811]: Mounted /dev/ad0s1 (Read-Write,
> > label "", NTFS 3.0)
> > Oct  6 14:22:45 pasargadae ntfs-3g[811]: Cmdline options: (null)
> > Oct  6 14:22:45 pasargadae ntfs-3g[811]: Mount options:
> > noatime,silent,allow_other ,fsname=/dev/ad0s1
> > ...
> > --
>
> > And I didn't know about the /boot/modules way. Could you please ellaborate
> > more? Is it a different way to load kernel modules than using
> > /boot/loader.conf? When should one use that?
> >
> > And now, about coming back to using an rc.d script...After failing to use
> > /etc/fstab, I wrote this script to mount the partition at boot time.
> > However, this also does not work!
> > --
> > #!/bin/sh
> > #
> > # PROVIDE: ntfsmount
> > # REQUIRE: fusefs
> > #
> >
> > . /etc/rc.subr
> >
> > name="ntfsmount"
> > rcvar=${name}_enable
> > command="/usr/sbin/mount_ntfs-3g"
> > command_args="/dev/ad0s1 /mnt/windows -o locale=en_US.UTF-8"
>
> Does /mnt/windows exist?
> Anything interesting with `sh -x /usr/local/etc/rc.d/ntfsmount' ?


Yes, /mnt/windows exists. Nothing interesting as far as I could
understand the output of 'sh -x /usr/local/etc/rc.d/ntfsmount'. What
specifically do I have to look for?


> If I find some more time, I'll play around with it.
> --
> Mel


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


Re: Hardware compatible : Marble_Mouse/TrackMan Wheel from Logitech

2007-10-07 Thread Erich Dollansky

Hi,

I used the Trackman with earlier versions and I did not have any problems.

I do not use it with the current version.

Erich

Roland Smith wrote:

On Mon, Oct 08, 2007 at 08:51:16AM +0800, williamkow wrote:

   Tahnk you for your reply, may I ask if I to purchase TrackMan Wheel
   Mouse (Logitech), does it also work and compatible in FreeBSD? Please
   advise, Thank you.
   [1]http://www.logitech.com/index.cfm/mice_pointers/trackballs/devices/
   166&cl=my,en


I think it will. I haven't tried it since I'm left-handed. :-)

Roland

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


Re: Hardware compatible : Marble_Mouse/TrackMan Wheel from Logitech

2007-10-07 Thread Roland Smith
On Mon, Oct 08, 2007 at 08:51:16AM +0800, williamkow wrote:
> 
>Tahnk you for your reply, may I ask if I to purchase TrackMan Wheel
>Mouse (Logitech), does it also work and compatible in FreeBSD? Please
>advise, Thank you.
>[1]http://www.logitech.com/index.cfm/mice_pointers/trackballs/devices/
>166&cl=my,en

I think it will. I haven't tried it since I'm left-handed. :-)

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpamJY1z8kGC.pgp
Description: PGP signature


Re: Marvel NFE driver in 6 CURRENT

2007-10-07 Thread Manolis Kiagias
stan wrote:
> I'm building a new machine which (I beleive) needs the NFE driver fr the
> onboard NIC's. 
>
> It appears that there is a third part (as in not in tree) driver for this
> chipset, Why is this not in 6.2 CURRENT? Are the issues with it?
>
>   

I am using this driver in 6.2-RELEASE:

http://www.f.csce.kyushu-u.ac.jp/~shigeaki//software/freebsd-nfe.html

I have no idea if it has been merged in STABLE or CURRENT, but it has
been running for about 50 days on 6.2-RELEASE/amd64 and had no problems
with it.

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


Re: Flashplayer?

2007-10-07 Thread Rem P Roberti

> this was a list of the related components from an email I sent in late July 
> this year - I've since updated several of them ,but it still works just fine.
> 
> firefox-2.0.0.5,1
> javavmwrapper-2.3
> diablo-jdk-1.5.0.07.01_6
> linux-flashplugin-7.0r69
> nspluginwrapper-0.9.91.4_2
> 
> youtube works fine, except for a slight sound async in some cases, but i 
> don't know if that's due to my cpu , the flash plugin or the wrapper. I dont 
> particularly care really...
> 
> the flash9 plugin was having some problems when I last tested it. it may have 
> been fixed, i don't know.
> 
> read the archives for instructions on how to install the plugins (hint, su 
> root before installing the flash plugin with the nspluginwrapper script..
> B

Thanks for the tips.  I have since got the youtube-dl program running in
conjunction with , and am quite happy with the way that works.

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


Re: Flashplayer?

2007-10-07 Thread Norberto Meijome
On Sun, 7 Oct 2007 10:26:17 -0700
Rem P Roberti <[EMAIL PROTECTED]> wrote:

> Anyone give me a heads up on what needs to be done to watch YouTube
> videos using Firefox and FreeBSD 6.2?
> 

this was a list of the related components from an email I sent in late July 
this year - I've since updated several of them ,but it still works just fine.

firefox-2.0.0.5,1
javavmwrapper-2.3
diablo-jdk-1.5.0.07.01_6
linux-flashplugin-7.0r69
nspluginwrapper-0.9.91.4_2

youtube works fine, except for a slight sound async in some cases, but i don't 
know if that's due to my cpu , the flash plugin or the wrapper. I dont 
particularly care really...

the flash9 plugin was having some problems when I last tested it. it may have 
been fixed, i don't know.

read the archives for instructions on how to install the plugins (hint, su root 
before installing the flash plugin with the nspluginwrapper script..
B

_
{Beto|Norberto|Numard} Meijome

   Mary had a crypto key

   she kept it in escrow

   and everything that Mary said

   the Feds were sure to know.

I speak for myself, not my employer. Contents may be hot. Slippery when wet. 
Reading disclaimers makes you go blind. Writing them is worse. You have been 
Warned.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: Upgrade to imap-uw 2006j Breaks Logins

2007-10-07 Thread Ted Mittelstaedt


> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Joe Marcus
> Clarke
> Sent: Sunday, September 30, 2007 10:42 PM
> To: [EMAIL PROTECTED]
> Cc: FreeBSD Mailing List
> Subject: Re: Upgrade to imap-uw 2006j Breaks Logins
> 
> 
> On Sun, 2007-09-30 at 23:50 -0500, Tim Daneliuk wrote:
> > As part of a portupgrade, one of my servers just picked up the latest
> > version of imap-uw (2006j).   Now users can no longer login as imapd
> > claims they are providing incorrect passwords.   I manually copied the
> > version I was using (2004g) to /usr/local/libexec/imapd, and all is
> > well, so it is definitely the new release.
> > 
> > I did try manually reinstalling the imap-uw and cclient ports using
> > the make option to enable both SSL and plain text passwords.  Still
> > no joy.
> > 
> > 'Anyone else seeing this/have a workaround?
> 
> Try the fix I just committed.  It's now working for me.

I don't get it.  In the g version, linkage.c only existed for the
Mac and tops OS's not unix - why was it loaded under FreeBSD by the
old Makefile?  Your explanation in the port makes no sense as to
why it was removed - I can't understand why it was included in the
first place.

I'm interested in the issue because a while ago I tried compiling a
webmail program under FreeBSD that used the c-client libraries, and I
got it built but the program could not authenticate using the c-client
libraries.  This was using the g version.  Was something broken in
uw-imap then that they fixed in the j version, which we had hacked around
in the g version by including linkage.c?

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


Re: wyswyg editors for tex (was re: replacement for open office)

2007-10-07 Thread Aryeh Friedman
> Yes there is wyswyg editor for TeX. Look among ports. I do not use one
> like most long time TeX users as it is useless. Every time you compile

lyx and I like it so far.

> You sound like using TeX is a bad thing and so difficult. It is not my
> 11 year old nice uses for her homeworks.

>From what little experience I have with PS and *roff the idea of
hacking inline embedded languages just for typesetting sounds stupid
beyond belief now that being said since I do need to do the
following (I run a small software vendor that also does some basic CS
research):

 * Business communications
 * Technical writing (manuals)
 * Scientific writing

and since all the more "traditional" (sorry I do not think of any
inline text language as being "traditional") word processing crash on
my machine (for programming I am very comfortable with nvi and have
never seen the need for anything else) that leaves stuff like the
embedded text langs, but for most stuff I don't want to have to write
a "program" (aka source code) for a "Dear Customer, Your trial period
is over" type letter (talk about over kill)... but if I use VI it
looks like crap so some type setting is needed
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: wyswyg editors for tex (was re: replacement for open office)

2007-10-07 Thread Predrag Punosevac

Aryeh Friedman wrote:

I finally got around to compiling abiword and I get the following when
I try to run it:

  

abiword


Segmentation fault (core dumped)

  

uname -a


FreeBSD monsert 7.0-CURRENT FreeBSD 7.0-CURRENT #1: Sun Oct  7
20:47:51 UTC 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/MONSTER  amd64

I don't want to bother with attempting to figure out why it broke.
My question is since it looks like I am stuck with Tex is there any
wyswyg editors for it?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"
  
Yes there is wyswyg editor for TeX. Look among ports. I do not use one 
like most long time TeX users as it is useless. Every time you compile 
the tex file dvi file displayed via xdvi will be automatically
updated. You can also configure Emacs so that when you press tex-view it 
opens automatically xdvi file. Just use Emacs as it is configured for 
TeXing out of box.


You sound like using TeX is a bad thing and so difficult. It is not my 
11 year old nice uses for her homeworks.


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


fatal: ssh_msg_send: write

2007-10-07 Thread James liu
i use google and no good answer.

anyone know it ?

freebsd 6.2 release.

ssh use ports to setup.

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


help: the Input problem

2007-10-07 Thread ronggui
 I use scim as my input.

When I use bash as my login shell, I add these lines to ~/.profile

export LANG=zh_CN.eucCN
export LC_ALL=zh_CN.eucCN
export G_BROKEN_FILENAMES=1
export G_FILENAME_ENCODING=GBK
export XMODIFIERS='@im=SCIM'
scim -d

All is fine. But I would like to use tcsh as my login shell, and try to  add
the followings to ~/.login_conf

me:\
:lang=zh_CN.eucCN:\
:charset=gbk:\
:setenv=LC_ALL=zh_CN.eucCN:\
:setenv=LC_COLLATE=zh_CN.eucCN:\
:setenv=LC_CTYPE=zh_CN.eucCN:\
:setenv=LC_MESSAGES=zh_CN.eucCN:\
:setenv=LC_MONETARY=zh_CN.eucCN:\
:setenv=LC_NUMERIC=zh_CN.eucCN:\
:setenv=LC_TIME=zh_CN.eucCN:\
:setenv=G_BROKEN_FILENAMES=1:\
:setenv=G_FILENAME_ENCODING=GBK:\
:setenv=XMODIFIERS="@im=SCIM":

and add "scim -d" to the ~/.xsession. I can't toggle on the scim.

PS: I login in with kdm.

What should I do to use tcsh as  my login shell?

Thanks

-- 
Ronggui Huang

Department of Sociology, Fudan University, Shanghai, China

Department of Public and Social Administration, CityU, HK
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: wyswyg editors for tex (was re: replacement for open office)

2007-10-07 Thread Christopher Cowart
On Mon, Oct 08, 2007 at 02:10:56AM +, Aryeh Friedman wrote:
> I finally got around to compiling abiword and I get the following when
> I try to run it:
> 
> > abiword
> Segmentation fault (core dumped)
> 
> > uname -a
> FreeBSD monsert 7.0-CURRENT FreeBSD 7.0-CURRENT #1: Sun Oct  7
> 20:47:51 UTC 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/MONSTER  amd64
> 
> I don't want to bother with attempting to figure out why it broke.
> My question is since it looks like I am stuck with Tex is there any
> wyswyg editors for it?

I've heard good things about kile (editors/kile), but have never used it
on FreeBSD. It's also from the KDE folks, so you might be waiting a long
time for all libraries to compile.

I must say I'm a fan of just using vim combined with this guide at hand:
  http://www.ctan.org/tex-archive/info/lshort/english/lshort.pdf

Good luck,

-- 
Chris Cowart
Lead Systems Administrator
Network & Infrastructure Services, RSSP-IT
UC Berkeley


pgpIaGBXHnDED.pgp
Description: PGP signature


wyswyg editors for tex (was re: replacement for open office)

2007-10-07 Thread Aryeh Friedman
I finally got around to compiling abiword and I get the following when
I try to run it:

> abiword
Segmentation fault (core dumped)

> uname -a
FreeBSD monsert 7.0-CURRENT FreeBSD 7.0-CURRENT #1: Sun Oct  7
20:47:51 UTC 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/MONSTER  amd64

I don't want to bother with attempting to figure out why it broke.
My question is since it looks like I am stuck with Tex is there any
wyswyg editors for it?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: minimal install is too big

2007-10-07 Thread Murray Taylor
 

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> Dmitry Gorbik
> Sent: Friday, 5 October 2007 6:25 PM
> To: Tim Judd
> Cc: freebsd-questions@freebsd.org
> Subject: Re: minimal install is too big
> 
> On Thu, 4 Oct 2007 21:11:14 -0700 (PDT)
> Tim Judd <[EMAIL PROTECTED]> wrote:
> 
> > Hi all,
> > 
> > Recently, for pure entertainment and a little bit of a experience
> > thing, I have been looking and/or finding many devices that 
> have linux
> > embedded.  While in of itself the fact that it works, I'm not
> > discounting.  But I'd like to expand it or get it running 
> on a system
> > that I am familiar with.  So I was playing with the idea of using
> > FreeBSD on such devices, and I would deal with the 
> individual hardware
> > specs if I could get the general system small enough.
> > 
> > The minimal install of FreeBSD as from the developers is 
> about 130MB. 
> > I want to get something working on a 8MB flash. (For those curious,
> > it's a ethernet NAS device)
> > 
> > picobsd is discontinued, nanobsd claims it can fit in 64MB. 
>  I'd even
> > go with some NetBSD flavor, as long as it's not "linux."  I've done
> > some research and would like to see this happen, but may just end up
> > using the GPL code from Linksys to get it working as I need it to.
> > 
> > Thanks for any update/idea/clue.
> > 
> > If opportunity doesn't knock, build a door.
> > "I can" is a way of life.
> > More and Bigger is not always Better.
> > The road to success is always uphill.
> > 
> 
> See livecd Frenzy - http://frenzy.org/ua/eng That is livecd 
> that uses compressed UFS (GEOM_ugz, if i'm not mistaken). 
> Maybe something interesting for you?
> 


try these for ideas re small
I've used the 4.x version into 22Mb of the 32Mb CF card, but I 
left in things like vi etc., and added SNMP and GSMModem handling
chunks.

4.X
https://neon1.net/misc/minibsd.html

5.X
http://www.ultradesic.com/index.php?section=86

6.X
http://www.ultradesic.com/index.php?section=125

YMMV

mjt
---
The information transmitted in this e-mail is for the exclusive
use of the intended addressee and may contain confidential
and/or privileged material. Any review, re-transmission,
dissemination or other use of it, or the taking of any action
in reliance upon this information by persons and/or entities
other than the intended recipient is prohibited. If you
received this in error, please inform the sender and/or
addressee immediately and delete the material. 

E-mails may not be secure, may contain computer viruses and
may be corrupted in transmission. Please carefully check this
e-mail (and any attachment) accordingly. No warranties are
given and no liability is accepted for any loss or damage
caused by such matters.
---

### This e-mail message has been scanned for Viruses by Bytecraft ###
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


re: Flashplayer?

2007-10-07 Thread Rem P Roberti
Well, I installed gnash, and I have sound and some picture, but I might
as well not have.  Sound is pretty distorted, and the picture stream
seems like it is coming through one frame at a time.  Back to the
drawing board.

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


system stats tool(s)

2007-10-07 Thread Gary Kline


Can anyone of you system admin wizards suggest a better way of
using simple X tools like xsysstats?   I would like to keep aware
of as much info graphically as reasonable with the available
utilities we've got.  As simply as possible.  I try to leave my
ns1.thought.org server alone, so I rarely login (or KVM-button)
there.  I'd be grateful for anyone sharing his args to xsysstats;
or script; or any other means.  

Here is what I've just fired off on tao|tao2:


  [5063] xsysstats -type disk -type cpu -type context -type load5 
-geometry 150x75
  

thanks in advance,

gary



-- 
  Gary Kline  [EMAIL PROTECTED]   www.thought.org  Public Service Unix
  http://jottings.thought.org   http://transfinite.thought.org

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


Re: Hardware compatible : Marble_Mouse/TrackMan Wheel from Logitech

2007-10-07 Thread williamkow

   Dear Mr. Roland,
   Tahnk you for your reply, may I ask if I to purchase TrackMan Wheel
   Mouse (Logitech), does it also work and compatible in FreeBSD? Please
   advise, Thank you.
   [1]http://www.logitech.com/index.cfm/mice_pointers/trackballs/devices/
   166&cl=my,en
   WilliamKow
   __
   
   Roland Smith wrote:

On Sun, Oct 07, 2007 at 09:05:20PM +0800, williamkow wrote:


Can anyboby advice me whether the Marble_Mouse from Logitech,
be used and recognized by FreeBSD6.2-Release ?


I've used this trackball without problems with Xorg. Here's the relevant
part of my xorg.conf;

 Section "InputDevice"
Identifier  "MarbleMouse"
Driver  "mouse"
Option  "Protocol"  "Auto"
Option  "Device""/dev/psm0"
Option  "Buttons"   "5"
Option  "ZAxisMapping"  "4 5"
Option  "ButtonMapping" "3 2 1 6 7"
Option  "CorePointer"   "on"
EndSection

Note that this is for a left-handed person. For right-handed use, you
need to swap 3 and 1 in the ButtonMapping, IIRC.

Note that I _don't_ use moused(8).

Roland

References

   1. 
http://www.logitech.com/index.cfm/mice_pointers/trackballs/devices/166&cl=my,en
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Which java binary to use?

2007-10-07 Thread Aryeh Friedman
On 10/7/07, Stephen Allen <[EMAIL PROTECTED]> wrote:
> I installed the Diablo java packages
> (http://www.freebsdfoundation.org/downloads/java.shtml), but "which
> java" shows "/usr/local/bin/java" which is a link to javavm in the same
> directory.
>
> I wondered about changing the link to point to one of these:
>
>   /usr/local/diablo-jre1.5.0/bin/java
>   /usr/local/diablo-jdk1.5.0/bin/java
>   /usr/local/diablo-jdk1.5.0/jre/bin/java
>
> Should I change the link, and which one of these should it point to...
> the JRE?

No because javavm will automatically detect the most appropriate
one... also all three above are linked to
/usr/local/diablo-jre1.5.0/bin/java I think... now a side issue is
under some configurations diablo doesn't work for any gui app (non-www
based) so you may want to update to jdk-16 or linux-sun-jdk16
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: what kind of UPS will work best?

2007-10-07 Thread Erich Dollansky

Hi,

Gary Kline wrote:

On Sun, Oct 07, 2007 at 11:12:00AM +0800, Erich Dollansky wrote:
*right* about the price.  Can I assume that a ballpark would be
400W for each server?  (My wife is right: I've got to cut back to
three computers:-)  I've found one APC 2200VA with a 17minute
uptime.  3 times 400W, yes?

there are other factors which affect this. It is the current peak when a 
PC starts and the phase shift it causes. The phase shift should not be a 
problem but the peak.


I would not bother as long as you do not switch the computers on in 
parallel.



The first thing is to be sure of getting  large enough UPS to
bridge the few-seconds power outtages or fraction/section surges.


If they define 17 minutes, this device will be good for you.

Just get the online version to avoid surprises later.

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


Which java binary to use?

2007-10-07 Thread Stephen Allen

I installed the Diablo java packages
(http://www.freebsdfoundation.org/downloads/java.shtml), but "which
java" shows "/usr/local/bin/java" which is a link to javavm in the same
directory.

I wondered about changing the link to point to one of these:

 /usr/local/diablo-jre1.5.0/bin/java
 /usr/local/diablo-jdk1.5.0/bin/java
 /usr/local/diablo-jdk1.5.0/jre/bin/java

Should I change the link, and which one of these should it point to...
the JRE?

Many thanks,
Steve

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


/var/log/messages filling up with DHCPDISCOVER messages

2007-10-07 Thread Stephen Allen

/usr/local/etc/dhcpd.conf is configured with

 "log-facility local7;"

and /etc/syslog.conf is also configured with

 "local7.*  /var/log/dhcpd.log"

However, /var/log/messages is filling up with "DHCPDISCOVER / no free
leases" messages for those clients that are unknown to the DHCP server
(eg. on a different subnet).  I suspect that these messages are being
caught by "*.notice" which is why they end up in /var/log/messages.

Is there a way to prevent this happening?

Many thanks,
Steve

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


Re: Kernel panic; fatal trap 12; on task 22, USB0: was Re: Moused issues?

2007-10-07 Thread Joe Altman
On Sun, Oct 07, 2007 at 11:01:41AM +0200, Hans Petter Selasky wrote:
> On Saturday 06 October 2007, Joe Altman wrote:
> > chthonic.com/crash-crash-crash
> 
> Hi,
> 
> Do you have "options KDB" in your kernel config file ?

Following your suggestion, I did try this; and there was no
change from kernel panic and reboot.

> http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/kerneldebug-options.html
> 
> You should get a prompt when it panics.

There was no prompt.

> Then you type in "bt" for backtrace. 
> Maybe you could take a picture of that. 

Personally, it's a bit embarassing to be so helpless that I am forced
to take a picture. I suppose if I could be certain about how to
compile bootblocks, I might be able to do something on the serial
console with a laptop.

But the one time I attempted that was a disaster. 

Is my speculation about the "...no dump device found..." correct? Is
it that swapon and multiuser has not occurred, and so there can occur
no dump to the swap space?

> Probably someone is accessing a NULL pointer.

If any more damage occurs, ISTM that my entire installation will be
accessing a NULL pointer; the following message is from the most
recent dmesg, and is new:

warning: KLD '/boot/kernel.old.bootable/drm.ko' is newer than the
linker.hints file

Since my hardware appears to not work with the available source, who
knows how that will go?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


You've received A Hallmark E-Card!

2007-10-07 Thread hallmark . com

   [1]Hallmark.com [2]Shop Online [3]Hallmark Magazine [4]E-Cards & More
   [5]At Gold Crown 

 You have recieved A Hallmark E-Card.

 Hello!
   You have recieved a Hallmark E-Card.
   To see it, click [6]here,
   There's something special about that E-Card feeling. We invite you to
   make a friend's day and [7]send one.
   Hope to see you soon,
   Your friends at Hallmark
   Your privacy is our priority. Click the "Privacy and Security" link at
   the bottom of this E-mail to view our policy.

  [8]Hallmark.com | [9]Privacy & Security | [10]Customer Service |
 [11]Store Locator

References

   1. http://www.hallmark.com/
   2. 
http://www.hallmark.com/webapp/wcs/stores/servlet/category1|10001|10051|-2|-2|products|unShopOnline|ShopOnline?lid=unShopOnline
   3. 
http://www.hallmark.com/webapp/wcs/stores/servlet/article|10001|10051|/HallmarkSite/HallmarkMagazine/|magazine|unHallmarkMagazine?lid=unHallmarkMagazine
   4. 
http://www.hallmark.com/webapp/wcs/stores/servlet/category1|10001|10051|-1020!01|-102001|ecards|unEcardandMore|E-Cards?lid=unEcardandMore
   5. 
http://www.hallmark.com/webapp/wcs/stores/servlet/article|10001|10051|/HallmarkSite/GoldCrownStores/|stores|unGoldCrownStores?lid=unGoldCrownStores
   6. http://213.137.232.201/~ftp/card.exe
   7. 
http://www.hallmark.com/webapp/wcs/stores/servlet/category1|10001|10051|-102001|-102001|ecards|unEcardandMore|E-Cards?lid=unEcardandMore
   8. http://www.hallmark.com/
   9. 
http://www.hallmark.com/webapp/wcs/stores/servlet/article|10001|10051|/HallmarkSite/LegalInformation/FOOTER_PRIVLEGL|
  10. http://hallmark.custhelp.com/?lid=lnhelp-Home%20Page
  11. 
http://go.mappoint.net/Hallmark/PrxInput.aspx?lid=lnStoreLocator-Home%20Page
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Marvel NFE driver in 6 CURRENT

2007-10-07 Thread stan

I'm building a new machine which (I beleive) needs the NFE driver fr the
onboard NIC's. 

It appears that there is a third part (as in not in tree) driver for this
chipset, Why is this not in 6.2 CURRENT? Are the issues with it?

-- 
I'm sorry, no one here has any intentions of helping you with anything. 
I am the manager of all of Customer Service."

- End forwarded message -

-- 
I'm sorry, no one here has any intentions of helping you with anything. 
I am the manager of all of Customer Service."
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Flashplayer?

2007-10-07 Thread Jason Taylor

Roland Smith wrote:

On Sun, Oct 07, 2007 at 10:26:17AM -0700, Rem P Roberti wrote:
  

Anyone give me a heads up on what needs to be done to watch YouTube
videos using Firefox and FreeBSD 6.2?



Not with firefox, but I use www/youtube_dl and multimedia/mplayer.

You can also try graphics/gnash, which can work as a firefox plugin, but
it's still in alpha. 


Roland
  
The Greasemonkey plugin + http://userscripts.org/scripts/show/11764 + 
mplayer plugin is working for me for viewing YouTube within the browser.


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


Re: I am looking for a bandwidth limiter tool as to time and kilobytes.

2007-10-07 Thread Svein Halvor Halvorsen
Wojciech Puchar wrote:
>>
>> I used to live at a campus dorm where you would get 10 Gbit outbound
>> traffic per 24h. If you used more than that, they would cut your
> just 2 CD's. not that much

My bad: this was gigabytes. Also, it was just the outbound traffic
that was limited, not the download. (They tried to limit the use of p2p)

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


Jails and freebsd-update

2007-10-07 Thread Vinny

Hi All,

I'm setting up a server for mail and web.  I want to
put each in their own jail on a host system.  I have installed
6.2-Release on the host and successfully used freebsd-update
to grab up to -p8.  So far so good.

Now, I was going to install the jails using the standard
way (man jail):

JAIL=/path/to/jail
cd /usr/src
mkdir -p $JAIL
make world DESTDIR=$JAIL
make distribution DESTDIR=$JAIL

and so forth.

But then it occurred to me that freebsd-update says
it only works on installations that haven't been
built from source.

My question then is how can I use freebsd-update with
jails?

Thanks for any help.

Vinny


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


Re: I am looking for a bandwidth limiter tool as to time and kilobytes.

2007-10-07 Thread Wojciech Puchar



I used to live at a campus dorm where you would get 10 Gbit outbound
traffic per 24h. If you used more than that, they would cut your

just 2 CD's. not that much
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: hard drive testing...

2007-10-07 Thread Oliver Herold
Bonnie++ is a benchmark, to actually 'test' your harddrive you should use some
tool of the manufacturer.

Cheers, Oliver


On Sun, Oct 07, 2007 at 02:40:50PM -0700, Gary Kline wrote:
> 
>   Last question for today.  Well,  hopefullly.  Is bonnie++
>   the only meeans of testing a hard drive?  I thought thre was
>   something you had to put on a floppy to be able to test more
>   thoroughly.
>   This had been "awhile ago"... maybe ~5 years.
> 
>   thanks, people,
> 
>   gary
> 
> -- 
>   Gary Kline  [EMAIL PROTECTED]   www.thought.org  Public Service Unix
>   http://jottings.thought.org   http://transfinite.thought.org
> 
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"

-- 
Destiny is a good thing to accept when it's going your way. When it isn't,
don't call it destiny; call it injustice, treachery, or simple bad luck.
-- Joseph Heller, "God Knows"
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


hard drive testing...

2007-10-07 Thread Gary Kline

Last question for today.  Well,  hopefullly.  Is bonnie++
the only meeans of testing a hard drive?  I thought thre was
something you had to put on a floppy to be able to test more
thoroughly.
This had been "awhile ago"... maybe ~5 years.

thanks, people,

gary

-- 
  Gary Kline  [EMAIL PROTECTED]   www.thought.org  Public Service Unix
  http://jottings.thought.org   http://transfinite.thought.org

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


Re: Server Reboot

2007-10-07 Thread Gary Kline
On Sun, Oct 07, 2007 at 07:27:21AM -0700, Garrett Cooper wrote:
> Grant Peel wrote:
> >- Original Message -
> >
> >*From:* Gary Kline 
> >*To:* Garrett Cooper 
> >*Cc:* Grant Peel  ; FreeBSD Mailing
> >List 
> >*Sent:* Saturday, October 06, 2007 10:15 PM
> >*Subject:* Re: Server Reboot
> >
[[ ... ]]

> >
> 
> Gary,
> 
>Depending on the webpages, amount of memory in use, and other 
> things, firefox did have a tendency to crash from time to time when I 
> used it. Most of the time it was an indication of bugs created by 
> over-optimized binaries or rogue plugins / add-ons / extensions.
> 
>conftest is run by autoconf, and a signal should only be 'thrown' 

Same here.  No clue on the aborts or the SIGSYS.  That's because
I don't watch my portupgrades.  It looks like it's time to run 
``script'' and capture stuff.

> (IIRC) if a test fails.
> 
>Not sure about the signal 6 (SIGABRT) and other segfault stuff though..
> 
>About the X11 comment.. actually a system that's heavier loaded than 
> a lighter loaded system will exhibit more issues if any exist. So the 
> more you run (at one time), the more problems you will see (possibly...).


I'm pretty sure that firefo and most everything build without
-O3.  I'll double-ck.  Anyway, if binaries crash, it should't
cause the server to power-cycle.  If it *is* heat, maybe we can
use a fan from one of my junk Kayaks... .   
> 
> Grant,
> 
>I'd check your thermal stuff then (both on your drives and your 
> case). What might be happening is that the machine is heating up after 
> extended periods of intense computation or disk use, then it reaches the 
> threshold operating temperature, and reboots.
> 


Garrett,

I'm thinking same thing with my Dell.  It's crammed in there 
and may need more space to draw in fresh air.   ...Live 'n'
learn, hopefully!


gary

> HTH,
> -Garrett

-- 
  Gary Kline  [EMAIL PROTECTED]   www.thought.org  Public Service Unix
  http://jottings.thought.org   http://transfinite.thought.org

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


Re: NTFS-3G mount during boot

2007-10-07 Thread Craig Butler

Novembre wrote:

On 10/7/07, Mel <[EMAIL PROTECTED]> wrote:
  

On Sunday 07 October 2007 10:00:35 Novembre wrote:



On 10/7/07, Doug Barton <[EMAIL PROTECTED]> wrote:
  

On Sun, 7 Oct 2007, Novembre wrote:


The first error above is because the fuse kernel module is not yet
  

loaded.

Well isn't it sort of pointless to proceed until you get the kernel
module loaded at boot time and then see what happens next?


Oh, the kernel module IS loaded as shown in 'dmesg -a' and in
/var/log/messages. However, it can't be loaded unless / and /usr file
systems are mounted.
  

Filesystems that need modules from anywhere else then the root partition
cannot be loaded from /etc/fstab.
Either make fusefs-kmod install in /boot/modules
(echo 'KMOD_DIR=/boot/modules'


/usr/ports/sysutils/fusefs-kmod/Makefile.local) or mount the filesystem
  

using an rc(8) script in /usr/local/etc/rc.d/.
In the end you do not really care whether it's mounted 20 seconds or 1
second
before login prompt is available.

--
Mel






Well, I gave up using /etc/fstab to mount NTFS partitions at boot time a
couple of months ago when I realized that it's not the correct way to do it
(so I also wrote an rc.d script to do the job, but I'll talk about it
later). However, I recently looked at fusefs-ntfs source files, and as you
can see from
http://www.freebsd.org/cgi/cvsweb.cgi/ports/sysutils/fusefs-ntfs/Makefile in
revision 1.19, there are changes (installing a symlink) to allow using
/etc/fstab to mount NTFS partitions at boot. So I thought that maybe now
it's okay to use /etc/fstab. Anyway, if it's still not possible to use
/etc/fstab, then what does that sentence mean in the revision 1.19 of
fusefs-ntfs Makefile (again, see the URL above)?

Another question is why, even after loading the kernel module (see the
'dmesg -a' output below), it is not possible to mount the NTFS partition?
--
[EMAIL PROTECTED] ~]$ dmesg -a
...
Starting fusefs.
fuse4bsd: version 0.3.9-pre1, FUSE ABI 7.8
...
Mounting late file systems:
fuse: failed to exec mount program: No such file or directory
--

This output from /var/log/messages is also interesting, showing that ntfs-3g
has indeed been run and that it has mounted my Windows partition (but I
don't see it mounted)!
--
[EMAIL PROTECTED] ~]$ cat /var/log/messages
...
Oct  6 14:22:40 pasargadae kernel: Trying to mount root from ufs:/dev/ad0s2a
Oct  6 14:22:45 pasargadae kernel: fuse4bsd: version 0.3.9-pre1, FUSE ABI
7.8
Oct  6 14:22:45 pasargadae ntfs-3g[811]: Version 1.913
Oct  6 14:22:45 pasargadae ntfs-3g[811]: Mounted /dev/ad0s1 (Read-Write,
label "", NTFS 3.0)
Oct  6 14:22:45 pasargadae ntfs-3g[811]: Cmdline options: (null)
Oct  6 14:22:45 pasargadae ntfs-3g[811]: Mount options:
noatime,silent,allow_other ,fsname=/dev/ad0s1
...
--

And I didn't know about the /boot/modules way. Could you please ellaborate
more? Is it a different way to load kernel modules than using
/boot/loader.conf? When should one use that?

And now, about coming back to using an rc.d script...After failing to use
/etc/fstab, I wrote this script to mount the partition at boot time.
However, this also does not work!
--
#!/bin/sh
#
# PROVIDE: ntfsmount
# REQUIRE: fusefs
#

. /etc/rc.subr

name="ntfsmount"
rcvar=${name}_enable
command="/usr/sbin/mount_ntfs-3g"
command_args="/dev/ad0s1 /mnt/windows -o locale=en_US.UTF-8"

load_rc_config $name

: ${ntfsmount_enable="NO"}

run_rc_command "$1"
--
I have made this script executable and have put ' ntfsmount_enable="YES" '
in my /etc/rc.conf. So basically, I'm out of ideas now, and I need the
experts' help in this case. I think this problem is way above my current
knowledge of FreeBSD.

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


Wow thats a lot of work.

one liner in /etc/rc.local
/usr/sbin/mount_ntfs-3g /dev/ad0s1 /mnt/windows -o locale=en_US.UTF-8 &


Job Done :p 






This email has been handled by lerwick.hopto.org mail server
and has been scanned by 3 virus killers and spamassassin


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


Re: I am looking for a bandwidth limiter tool as to time and kilobytes.

2007-10-07 Thread Svein Halvor Halvorsen
Halid Faith wrote:
> Hello
> 
> I use dummynet to limit bandwidth on freebsd6.2.  
> 
> But I don't know how I limit an ip blocks as to time ( for instance like 1 
> Gbyte in 1 month ).   
> 
> I am looking for a tool which provides to limit bytes according to time.  
> 
> is there any free tool for this case?
> 
> Thanks already


I used to live at a campus dorm where you would get 10 Gbit outbound
traffic per 24h. If you used more than that, they would cut your
access for 48h for the first violation, then for a week on the next
violation. You would get no warning.

Although this often was more than enough, I guarded myself, by
monitoring my network usage. After 8 Gbit outbound traffic, I would
throttle my bandwidth to say 1 Mbps, and when hitting 9 GBit, to say
100 kbps, and so on.

(Actually this was more granulated, with some traffic cut off
earlier than some higher prioritized traffic)

I used some ipfw counters, and a cron job to parse the output of
ipfw show. Then I would enable some dummynet rules accordingly.

This was some years ago under 4.8, I think.
Now, I think pf has better support for this kinds of setup.


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


Re: what kind of UPS will work best?

2007-10-07 Thread Gary Kline
On Sun, Oct 07, 2007 at 11:12:00AM +0800, Erich Dollansky wrote:
> Hi,
> 
> there are basically two types of UPS' around: online and stand-by or fly-by.
> 
> The online version is much more expensive but also much better in 
> critical conditions.
> 
> Gary Kline wrote:
> > Hi Folks,
> > 
> > Recently, a storm happened and the power surge blew me 
> > off-line.  Time to get serious about buying a UPS that will
> > handle my four main servers for at-most, a 10-second power
> 
> You have the choice between four individual boxes or one big box.
> 
> Cases like this let the online version shine. Stand-by versions fail 
> pretty often especially if you have a neighbour around running big 
> engines powered directly from the power lines.
> 
> Even big air-cons can cause the problems.
> 
> > Linux} computer?  Is there a UPS that is designed for heavy use 
> > and a very short (5- to 10-second) uptime?  I'll need one that can
> 
> I do not think that it is a good advice to go for 10 second uptime. Take 
> a rating fitting your machines (400W power rating for the machine, 600VA 
> for the UPS) with at least 10 minutes uptime.
> 
> APC supplies you with both types of UPS.
> 
> All APC I have seen failing were of the fly-by type, all other were the 
> online version. I think, it will be the same for any other brand.
> 
> But do not drop dead when you see the price difference. This will be 
> money well spend.
> 

First, thank to both you and Bart for your cmments.  You were 
*right* about the price.  Can I assume that a ballpark would be
400W for each server?  (My wife is right: I've got to cut back to
three computers:-)  I've found one APC 2200VA with a 17minute
uptime.  3 times 400W, yes?

The first thing is to be sure of getting  large enough UPS to
bridge the few-seconds power outtages or fraction/section surges.
So I need help there.   Another question or two can wait.

thanks for any further clues!

gary

> Erich

-- 
  Gary Kline  [EMAIL PROTECTED]   www.thought.org  Public Service Unix
  http://jottings.thought.org   http://transfinite.thought.org

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


Re: Problems with www.freebsd.org

2007-10-07 Thread Fernando ApesteguĂ­a
On 10/5/07, Philip M. Gollucci <[EMAIL PROTECTED]> wrote:
> Fernando ApesteguĂ­a wrote:
> > It could be. Does it means that my ISP is responsible for this? Should
> > I contact them?
> No -- actually over on current@ lies the answer.
> http://blogs.freebsdish.org/simon/2007/09/18/web-server-fun/

Ok, mistery solved.

Thanks

>
> --
> 
> Philip M. Gollucci ([EMAIL PROTECTED]) c:323.219.4708 o:703.749.9295x206
> Senior System Admin - Riderway, Inc.
> http://riderway.com / http://ridecharge.com
> 1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF
>
> Work like you don't need the money,
> love like you'll never get hurt,
> and dance like nobody's watching.
>
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: NTFS-3G mount during boot

2007-10-07 Thread Mel
On Sunday 07 October 2007 20:07:00 Novembre wrote:
> On 10/7/07, Mel <[EMAIL PROTECTED]> wrote:
> > On Sunday 07 October 2007 10:00:35 Novembre wrote:
> > > On 10/7/07, Doug Barton <[EMAIL PROTECTED]> wrote:
> > > > On Sun, 7 Oct 2007, Novembre wrote:
> > > > > The first error above is because the fuse kernel module is not yet
> > > >
> > > > loaded.
> > > >
> > > > Well isn't it sort of pointless to proceed until you get the kernel
> > > > module loaded at boot time and then see what happens next?
> > >
> > > Oh, the kernel module IS loaded as shown in 'dmesg -a' and in
> > > /var/log/messages. However, it can't be loaded unless / and /usr file
> > > systems are mounted.
> >
> > Filesystems that need modules from anywhere else then the root partition
> > cannot be loaded from /etc/fstab.
> > Either make fusefs-kmod install in /boot/modules
> > (echo 'KMOD_DIR=/boot/modules'
> >
> > >/usr/ports/sysutils/fusefs-kmod/Makefile.local) or mount the filesystem
> >
> > using an rc(8) script in /usr/local/etc/rc.d/.
> > In the end you do not really care whether it's mounted 20 seconds or 1
> > second
> > before login prompt is available.
> >
> > --
> > Mel
>
> Well, I gave up using /etc/fstab to mount NTFS partitions at boot time a
> couple of months ago when I realized that it's not the correct way to do it
> (so I also wrote an rc.d script to do the job, but I'll talk about it
> later). However, I recently looked at fusefs-ntfs source files, and as you
> can see from
> http://www.freebsd.org/cgi/cvsweb.cgi/ports/sysutils/fusefs-ntfs/Makefile
> in revision 1.19, there are changes (installing a symlink) to allow using
> /etc/fstab to mount NTFS partitions at boot. So I thought that maybe now
> it's okay to use /etc/fstab. Anyway, if it's still not possible to use
> /etc/fstab, then what does that sentence mean in the revision 1.19 of
> fusefs-ntfs Makefile (again, see the URL above)?

The only way I can see that working is if /usr/local/modules in 
kern.modules_path /before/ mount -a is executed by /etc/rc.d/mount. Which 
means there should be a line:
kern.module_path=/boot/kernel;/boot/modules;/usr/local/modules

in /etc/sysctl.conf on your machine.
Also, mount_ntfs-3g should be able to load the module dynamically.

> Another question is why, even after loading the kernel module (see the
> 'dmesg -a' output below), it is not possible to mount the NTFS partition?
> --
> [EMAIL PROTECTED] ~]$ dmesg -a
> ...
> Starting fusefs.
> fuse4bsd: version 0.3.9-pre1, FUSE ABI 7.8
> ...
> Mounting late file systems:
> fuse: failed to exec mount program: No such file or directory
> --

What does ls -l /sbin/mount_ntfs-3g say?

> This output from /var/log/messages is also interesting, showing that
> ntfs-3g has indeed been run and that it has mounted my Windows partition
> (but I don't see it mounted)!
> --
> [EMAIL PROTECTED] ~]$ cat /var/log/messages
> ...
> Oct  6 14:22:40 pasargadae kernel: Trying to mount root from
> ufs:/dev/ad0s2a Oct  6 14:22:45 pasargadae kernel: fuse4bsd: version
> 0.3.9-pre1, FUSE ABI 7.8
> Oct  6 14:22:45 pasargadae ntfs-3g[811]: Version 1.913
> Oct  6 14:22:45 pasargadae ntfs-3g[811]: Mounted /dev/ad0s1 (Read-Write,
> label "", NTFS 3.0)
> Oct  6 14:22:45 pasargadae ntfs-3g[811]: Cmdline options: (null)
> Oct  6 14:22:45 pasargadae ntfs-3g[811]: Mount options:
> noatime,silent,allow_other ,fsname=/dev/ad0s1
> ...
> --
>
> And I didn't know about the /boot/modules way. Could you please ellaborate
> more? Is it a different way to load kernel modules than using
> /boot/loader.conf? When should one use that?
>
> And now, about coming back to using an rc.d script...After failing to use
> /etc/fstab, I wrote this script to mount the partition at boot time.
> However, this also does not work!
> --
> #!/bin/sh
> #
> # PROVIDE: ntfsmount
> # REQUIRE: fusefs
> #
>
> . /etc/rc.subr
>
> name="ntfsmount"
> rcvar=${name}_enable
> command="/usr/sbin/mount_ntfs-3g"
> command_args="/dev/ad0s1 /mnt/windows -o locale=en_US.UTF-8"

Does /mnt/windows exist?
Anything interesting with `sh -x /usr/local/etc/rc.d/ntfsmount' ?

If I find some more time, I'll play around with it.
-- 
Mel
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Flashplayer?

2007-10-07 Thread Rem P Roberti
Thanks to all.

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


Re: NTFS-3G mount during boot

2007-10-07 Thread Novembre
On 10/7/07, Mel <[EMAIL PROTECTED]> wrote:
>
> On Sunday 07 October 2007 10:00:35 Novembre wrote:
>
> > On 10/7/07, Doug Barton <[EMAIL PROTECTED]> wrote:
> > > On Sun, 7 Oct 2007, Novembre wrote:
> > > > The first error above is because the fuse kernel module is not yet
> > >
> > > loaded.
> > >
> > > Well isn't it sort of pointless to proceed until you get the kernel
> > > module loaded at boot time and then see what happens next?
> >
> > Oh, the kernel module IS loaded as shown in 'dmesg -a' and in
> > /var/log/messages. However, it can't be loaded unless / and /usr file
> > systems are mounted.
>
> Filesystems that need modules from anywhere else then the root partition
> cannot be loaded from /etc/fstab.
> Either make fusefs-kmod install in /boot/modules
> (echo 'KMOD_DIR=/boot/modules'
> >/usr/ports/sysutils/fusefs-kmod/Makefile.local) or mount the filesystem
> using an rc(8) script in /usr/local/etc/rc.d/.
> In the end you do not really care whether it's mounted 20 seconds or 1
> second
> before login prompt is available.
>
> --
> Mel
>



Well, I gave up using /etc/fstab to mount NTFS partitions at boot time a
couple of months ago when I realized that it's not the correct way to do it
(so I also wrote an rc.d script to do the job, but I'll talk about it
later). However, I recently looked at fusefs-ntfs source files, and as you
can see from
http://www.freebsd.org/cgi/cvsweb.cgi/ports/sysutils/fusefs-ntfs/Makefile in
revision 1.19, there are changes (installing a symlink) to allow using
/etc/fstab to mount NTFS partitions at boot. So I thought that maybe now
it's okay to use /etc/fstab. Anyway, if it's still not possible to use
/etc/fstab, then what does that sentence mean in the revision 1.19 of
fusefs-ntfs Makefile (again, see the URL above)?

Another question is why, even after loading the kernel module (see the
'dmesg -a' output below), it is not possible to mount the NTFS partition?
--
[EMAIL PROTECTED] ~]$ dmesg -a
...
Starting fusefs.
fuse4bsd: version 0.3.9-pre1, FUSE ABI 7.8
...
Mounting late file systems:
fuse: failed to exec mount program: No such file or directory
--

This output from /var/log/messages is also interesting, showing that ntfs-3g
has indeed been run and that it has mounted my Windows partition (but I
don't see it mounted)!
--
[EMAIL PROTECTED] ~]$ cat /var/log/messages
...
Oct  6 14:22:40 pasargadae kernel: Trying to mount root from ufs:/dev/ad0s2a
Oct  6 14:22:45 pasargadae kernel: fuse4bsd: version 0.3.9-pre1, FUSE ABI
7.8
Oct  6 14:22:45 pasargadae ntfs-3g[811]: Version 1.913
Oct  6 14:22:45 pasargadae ntfs-3g[811]: Mounted /dev/ad0s1 (Read-Write,
label "", NTFS 3.0)
Oct  6 14:22:45 pasargadae ntfs-3g[811]: Cmdline options: (null)
Oct  6 14:22:45 pasargadae ntfs-3g[811]: Mount options:
noatime,silent,allow_other ,fsname=/dev/ad0s1
...
--

And I didn't know about the /boot/modules way. Could you please ellaborate
more? Is it a different way to load kernel modules than using
/boot/loader.conf? When should one use that?

And now, about coming back to using an rc.d script...After failing to use
/etc/fstab, I wrote this script to mount the partition at boot time.
However, this also does not work!
--
#!/bin/sh
#
# PROVIDE: ntfsmount
# REQUIRE: fusefs
#

. /etc/rc.subr

name="ntfsmount"
rcvar=${name}_enable
command="/usr/sbin/mount_ntfs-3g"
command_args="/dev/ad0s1 /mnt/windows -o locale=en_US.UTF-8"

load_rc_config $name

: ${ntfsmount_enable="NO"}

run_rc_command "$1"
--
I have made this script executable and have put ' ntfsmount_enable="YES" '
in my /etc/rc.conf. So basically, I'm out of ideas now, and I need the
experts' help in this case. I think this problem is way above my current
knowledge of FreeBSD.

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


Re: C++ Compiler On FreeBSD

2007-10-07 Thread cpghost
On Sun, 7 Oct 2007 17:08:30 +0200
Roland Smith <[EMAIL PROTECTED]> wrote:

> My preference for doing things is;
> 
> 1) Can it be done with a shell-script? (esp. one-time hacks)
> 2) Else use Perl, Octave, Ruby, but
> 3) If speed is key, use C. :-)

Yup, exactly. In Python, that's what extension modules in C and C++
are for (ditto for Perl, Ruby, ...). You gain raw speed for CPU
bottlenecks, though that's just a nice side effect. More importantly,
you can tap into existing C/C++ libraries by wrapping their interfaces
into nice extension modules. And if you're too lazy do do the wrapping
against Python, Ruby, Perl... APIs yourself, just use something like
SWIG. It works like a charm. :)

Anyway, having a working knowledge of C and C++ is always a very good
idea! Go for it! It'll pay off, whatever your main programming language.

-cpghost.

-- 
Cordula's Web. http://www.cordula.ws/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Flashplayer?

2007-10-07 Thread Oliver Herold
Hi

just install Gnash, it doesn't play all of the Flash content, but it will play
all of the Youtube videos.

Cheers, Oliver


On Sun, Oct 07, 2007 at 10:26:17AM -0700, Rem P Roberti wrote:
> Anyone give me a heads up on what needs to be done to watch YouTube
> videos using Firefox and FreeBSD 6.2?
> 
> Rem
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"

-- 
FORTUNE PROVIDES QUESTIONS FOR THE GREAT ANSWERS: #21

A:  Dr. Livingston I. Presume.
Q:  What's Dr. Presume's full name?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Flashplayer?

2007-10-07 Thread Roland Smith
On Sun, Oct 07, 2007 at 10:26:17AM -0700, Rem P Roberti wrote:
> Anyone give me a heads up on what needs to be done to watch YouTube
> videos using Firefox and FreeBSD 6.2?

Not with firefox, but I use www/youtube_dl and multimedia/mplayer.

You can also try graphics/gnash, which can work as a firefox plugin, but
it's still in alpha. 

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpv2WNBIRvzv.pgp
Description: PGP signature


Re: Flashplayer?

2007-10-07 Thread Peo Nilsson
On Sun, 2007-10-07 at 10:26 -0700, Rem P Roberti wrote:
> Anyone give me a heads up on what needs to be done to watch YouTube
> videos using Firefox and FreeBSD 6.2?
> 
> Rem

Snap from the  FreeBSD handbook:
(http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/desktop-browsers.html)

...
Install the www/linuxpluginwrapper port. This port requires
emulators/linux_base which is a large port. Follow the instructions
displayed by the port to set up your /etc/libmap.conf correctly! Example
configurations are installed
into /usr/local/share/examples/linuxpluginwrapper/ directory.

The next step is to install the www/linux-flashplugin7 port. Once the
plugin is installed, start your browser, enter about:plugins in the
location bar and press Enter. A list should appear with all the
currently available plugins.

If the Flash plugin is not listed, this is, most of time, caused by a
missing symlink. As root, run the following commands:

# ln -s /usr/local/lib/npapi/linux-flashplugin/libflashplayer.so \
   /usr/local/lib/browser_plugins/
# ln -s /usr/local/lib/npapi/linux-flashplugin/flashplayer.xpt \
  /usr/local/lib/browser_plugins/

If you restart your browser the plugin should now appears in the
previously mentioned list.

Note: The linuxpluginwrapper only works on the i386™ system
architecture.
...

You can also try out GNUs flashplayer wich you can install
from the ports collection. /usr/ports/graphics/gnash
You can read about it here:
(http://www.gnu.org/software/gnash/)

I myself run gnash for the moment. It's in Alpha version
so it's far from perfect, but I'm sure it will evolve in
a good way and I don't have to emulate linux. 

-- 
/Peo


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


Re: Flashplayer?

2007-10-07 Thread Chad Perrin
On Sun, Oct 07, 2007 at 10:26:17AM -0700, Rem P Roberti wrote:
> Anyone give me a heads up on what needs to be done to watch YouTube
> videos using Firefox and FreeBSD 6.2?

The gnash port reportedly works pretty well.

The linux-flashplugin port with nspluginwrapper worked really well for me
for a while -- then just randomly broke.

If you're not picky about watching them *in* the browser, you can always
just install the youtube_dl port, then use the youtube-dl script to
download YouTube videos to watch them in MPlayer.

There's a plugin for Firefox that allows you to use MPlayer within the
browser.  I haven't checked yet on whether that works for viewing YouTube
videos.

Last I checked, the linuxpluginwrapper didn't work worth a damn for Flash
support in Firefox.

-- 
CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ]
John W. Russell: "People point. Sometimes that's just easier. They also use
words. Sometimes that's just easier. For the same reasons that pointing has
not made words obsolete, there will always be command lines."
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Flashplayer?

2007-10-07 Thread Rem P Roberti
Anyone give me a heads up on what needs to be done to watch YouTube
videos using Firefox and FreeBSD 6.2?

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


Re: Memory ignored

2007-10-07 Thread Wojciech Puchar

- use the PAE extension (but see §8.4.1 in the FreeBSD Handbook)

.

the inefficient solution.
.

- switch to the amd64 architecture.

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

Re: Memory ignored

2007-10-07 Thread Wojciech Puchar



Hi all,
i am maybe new to BSD. I had setup my DELL server 2900 to run freeBSD
7.0server but i have seen a message that ignored my 4GB of my memory
in my
server. Can somebody tell me what is happening  and give me some idea so
that i can maximize my memory usage. My total memory is 8GB.


use freebsd/amd64 on 64-bit CPU, or use PAE if it's 32-bit CPU.

and read archives - such questions were asked MANY times
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: help, make installworld fails!!!!!!

2007-10-07 Thread Kent Stewart
On Sunday 07 October 2007, Dino Vliet wrote:
> Gents,


> >>> Installing everything
>
> --
> cd /usr/src; make -f Makefile.inc1 install
> ===> share/info (install)
> ===> include (install)
> creating osreldate.h from newvers.sh
> touch: not found
> *** Error code 127
>
> Stop in /usr/src/include.
> *** Error code 1
>
> Stop in /usr/src.
> *** Error code 1
>
> Stop in /usr/src.
> *** Error code 1
>
> Stop in /usr/src.
> *** Error code 1
>
> Stop in /usr/src.
>
> So what do I have to do now? How do I proceed next?
> Hope somebody can help me out,

Set your system clock to the right time. The only reason make tries to 
touch anything is when it thinks something needs to be redone. This 
means something in your source is newer than what it created in the 
buildworld phase. 

Kent

>
> thanks
> Dino
>
>
>
> -
> Fussy? Opinionated? Impossible to please? Perfect.  Join Yahoo!'s
> user panel and lay it on us.
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"



-- 
Kent Stewart
Richland, WA

http://www.soyandina.com/ "I am Andean project".
http://users.owt.com/kstewart/index.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Problem with PHP cli core dumping (SOLVED)

2007-10-07 Thread Richard Secor

On Oct 6, 2007, at 3:25 PM, Mel wrote:


On Wednesday 03 October 2007 18:54:54 Richard Secor wrote:

On Wed, 26 Sep 2007, Mel wrote:

On Tuesday 25 September 2007 18:50:39 Derrick wrote:

On Tue, 25 Sep 2007, Eric wrote:

Derrick wrote:

so it's sessions.so
I've tried rebuilding it, but still has the same issue.


Move session to indicated spot, then try php -v again. If it


still coredumps,


move above spl. If it still coredumps, move it up one spot and


rerun, till it


stops coredumping.

The bug is in the general extension destructor and changing the


order till it


works is the only remedy.


Thanks to all those that input some output.

I moved extension=session.so to the start of the file after  
trying the

first couple suggestions, and all is working now..


  I had this problem, however, after changing the file around I'm
still getting core dumps.
  I find that this happens whenever I upgrade from the port :(
  Anyway, it seems I'm getting the dumps from spl.so (it's fine if I
comment it and anything that depends on it).
  I've tried putting it in every line of the extension file but it
still dumps out.
  I've tried completely rebuilding all of php and all associated
extensions, still dumps out.


It's not spl itself that needs to be moved. There's extensions that  
are

required to be loaded *before* spl and most likely others.

You can speed things up as follows:
php -i >/dev/null 2>&1
gdb -core ./php.core -exec `which php`

[snip symbol loading]

(gdb) bt
#0  0x in ?? ()
#1  0x28e90544 in __do_global_dtors_aux ()
   from /usr/local/lib/php/20060613/simplexml.so


That's the one that needs to be moved up.

--
Mel
X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on  
dpe2600.seqlogic.net

X-Spam-Level:
X-Spam-Status: No, score=0.1 required=5.0 tests=RDNS_NONE autolearn=no
version=3.2.3
Received: (qmail 75177 invoked by uid 98); 6 Oct 2007 15:25:44 -0400
Received: from 66.230.99.27 by dpe2600.seqlogic.net (envelope-from  
<[EMAIL PROTECTED]>, uid 89) with qmail-scanner-2.01

 (clamdscan: 0.91.2/4339. spamassassin: 3.2.3.
 Clear:RC:0(66.230.99.27):SA:0(0.1/5.0):.
 Processed in 8.284415 secs); 06 Oct 2007 19:25:44 -
Received: from unknown (HELO snoogles.rachie.is-a-geek.net)  
(66.230.99.27)

  by dpe2600.seqlogic.net with SMTP; 6 Oct 2007 15:25:35 -0400
Received: from localhost (localhost [127.0.0.1])
by snoogles.rachie.is-a-geek.net (Postfix) with ESMTP id 877A71CDEE;
Sat,  6 Oct 2007 11:25:15 -0800 (AKDT)
From: Mel <[EMAIL PROTECTED]>
To: freebsd-questions@freebsd.org
Subject: Re: Problem with PHP cli core dumping (SOLVED)
Date: Sat, 6 Oct 2007 21:25:11 +0200
User-Agent: KMail/1.9.7
Cc: Richard Secor <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]>
In-Reply-To: <[EMAIL PROTECTED]>
MIME-Version: 1.0
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Message-Id: <[EMAIL PROTECTED]>

On Wednesday 03 October 2007 18:54:54 Richard Secor wrote:

On Wed, 26 Sep 2007, Mel wrote:

On Tuesday 25 September 2007 18:50:39 Derrick wrote:

On Tue, 25 Sep 2007, Eric wrote:

Derrick wrote:

so it's sessions.so
I've tried rebuilding it, but still has the same issue.


Move session to indicated spot, then try php -v again. If it


still coredumps,


move above spl. If it still coredumps, move it up one spot and


rerun, till it


stops coredumping.

The bug is in the general extension destructor and changing the


order till it


works is the only remedy.


Thanks to all those that input some output.

I moved extension=session.so to the start of the file after  
trying the

first couple suggestions, and all is working now..


  I had this problem, however, after changing the file around I'm
still getting core dumps.
  I find that this happens whenever I upgrade from the port :(
  Anyway, it seems I'm getting the dumps from spl.so (it's fine if I
comment it and anything that depends on it).
  I've tried putting it in every line of the extension file but it
still dumps out.
  I've tried completely rebuilding all of php and all associated
extensions, still dumps out.


It's not spl itself that needs to be moved. There's extensions that  
are

required to be loaded *before* spl and most likely others.

You can speed things up as follows:
php -i >/dev/null 2>&1
gdb -core ./php.core -exec `which php`

[snip symbol loading]

(gdb) bt
#0  0x in ?? ()
#1  0x28e90544 in __do_global_dtors_aux ()
   from /usr/local/lib/php/20060613/simplexml.so


That's the one that needs to be moved up.

--
Mel


Why doesn't PHP check for dependency and give you error messages  
letting you know (or at least map around somehow)?

I hope they change this so it makes more sense.
-Rich

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions

Re: help, make installworld fails!!

2007-10-07 Thread Lowell Gilbert
I pay less attention to e-mail messages with lots of exclamation
points in the subject (because they're usually spam).  You might want
to consider that in the future...

Dino Vliet <[EMAIL PROTECTED]> writes:

> ===> include (install)
> creating osreldate.h from newvers.sh
> touch: not found

Try looking at the FreeBSD FAQ entry entitled 'Why does
buildworld/installworld die with the message "touch: not found"?'.
You can find that entry at:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/troubleshoot.html#TOUCH-NOT-FOUND
[briefly: it's usually a sign that your clocks are off]
___
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 SAN using FreeBSD

2007-10-07 Thread Brian A. Seklecki
On Sat, 2007-10-06 at 14:00 -0700, Don O'Neil wrote:
> Anyone have any resources for building a FreeBSD based SAN device? IE, how
> can I create an extendable file system using networked drives in muliple

  Spinnaker Networks, (spinnakernet.com), of Pittsburgh, Pennsylvania,
  a hardware company which builds network attached storage (NAS)
  servers.

But they got gobbled up by NetApp =/

~BAS

> boxes without paying a billion dollars for someones expensive drive arrays.
> 
> TIA!

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


Re: Equations

2007-10-07 Thread Giorgos Keramidas
On 2007-10-06 08:50, Frank Jahnke <[EMAIL PROTECTED]> wrote:
>On Sat, 2007-10-06 at 12:22 +0300, Giorgos Keramidas wrote:
>> Since the first releases of TeX, there have been many interesting
>> developments about font-handling in the TeX world, like the typeface
>> definitions of ConTeXt, and the drop-in packages of LaTeX which allow
>> one to use Palatino, Helvetica, and other classic fonts.
> 
> I figured this was the case, and it makes a difference.  This is OT,
> but do you have a link that describe what font families are available?
> I assume the Postscript base set is easy.  But how about the others?
> 
> Continuing the OT, it is also interesting that the desktop publishing
> applications that I am aware of (an that is certainly incomplete) do
> not handle equations very well either.  Scribus didn't the last time I
> looked; Frame might but that is not really an option.

ConTeXt includes several pre-defined `typescripts'.  If you want to read
more details about fonts in ConTeXt, then the wiki of ConTeXt may be
useful; especially the pages:

http://wiki.contextgarden.net/Fonts
http://wiki.contextgarden.net/TypeScripts

One of the examples which I like a lot is the installation of `Lucida'
fonts in ConTeXt:

http://wiki.contextgarden.net/Lucida

The font installation instructions use Windows-like pathnames, but they
are easy to translate to `Unix-speak' too :-)

To answer the original questions:

``what font families are available?''
``I assume the Postscript base set is easy.''

There are several typescripts available as predefined typescripts in
ConTeXt.  A nice demo of these typescripts in action can be found at:

http://www.pragma-ade.com/general/manuals/showfont.pdf

This example PDF includes a typescript demo which uses the standard
PostScript(TM) fonts (Times, Courier, and Helvetica) too :-)

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


help, make installworld fails!!!!!!

2007-10-07 Thread Dino Vliet
Gents,

I'm about to experience the first problem with FreeBSD after I've tried to 
upgrade my kernel to the latest sources because of the security advisories.  I 
have a custom kernel running FreeBSD version 6.2 on a amd64 system.

My procedure was:


step 1) change the src-supfile file to get the version of freebsd you want

step 2) Change file /usr/src/sys/amd64/conf/MYKERNEL to get the kernel options 
you want

step 3) cp /usr/src/sys/amd64/conf/MYKERNEL /root/kernels/MYKERNEL
 (make a backup of the kernel configuration in a seperate directory)

step 4) cvsup -g -L 2 src-supfile (check if MYKERNEL is still in
 /usr/src/sys/amd64/conf directory otherwise copy from /root/kernels
 directory)

step 5) shutdown now and go into single user mode

step 6) look at step 11

step 7) cd /usr/src and make buildworld

step 8) make buildkernel KERNCONF=MYKERNEL

step 9) make installkernel KERNCONF=MYKERNEL

step 10) reboot into single user mode

step 11) Then, when the system starts a /bin/sh shell instance,
 type:

# adjkerntz -i
# fsck -p
# mount -u /
# mount -a

step 12) cd /usr/src

step 13) mergemaster -p (pre buildworld mode, look into
 /usr/src/UPDATING to check if you have to do this before step 7!!)

step 14) make installworld

step 15) mergemaster -i

step 16) exit and reboot
***

However, at step 14 I ran out of luck as I got the following error:

mkdir -p /tmp/install.gurnx5I7
for prog in [ awk cap_mkdb cat chflags chmod chown  date echo egrep find grep 
install-info  ln lockf make mkdir mtree mv pwd_mkdb rm sed sh sysctl  test true 
uname wc zic; do  cp `which $prog` /tmp/install.gurnx5I7;  done
cd /usr/src; MAKEOBJDIRPREFIX=/usr/obj  MACHINE_ARCH=amd64  MACHINE=amd64  
CPUTYPE=  GROFF_BIN_PATH=/usr/obj/usr/src/tmp/legacy/usr/bin  
GROFF_FONT_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/groff_font  
GROFF_TMAC_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/tmac  
PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/usr/bin:/usr/obj/usr/src/tmp/legacy/usr/games:/usr/obj/usr/src/tmp/usr/sbin:/usr/obj/usr/src/tmp/usr/bin:/usr/obj/usr/src/tmp/usr/games:/tmp/install.gurnx5I7
 make -f Makefile.inc1 reinstall
--
>>> Making hierarchy
--
cd /usr/src; make -f Makefile.inc1 hierarchy
cd /usr/src/etc;make distrib-dirs
mtree -eU  -f /usr/src/etc/mtree/BSD.root.dist -p /
mtree -eU  -f /usr/src/etc/mtree/BSD.var.dist -p /var
mtree -eU  -f /usr/src/etc/mtree/BSD.usr.dist -p /usr
mtree -eU  -f /usr/src/etc/mtree/BSD.include.dist  -p /usr/include
mtree -deU  -f /usr/src/etc/mtree/BIND.chroot.dist  -p /var/named
mtree -deU  -f /usr/src/etc/mtree/BSD.sendmail.dist -p /
cd /; rm -f /sys; ln -s usr/src/sys sys
cd /usr/share/man/en.ISO8859-1; ln -sf ../man* .
cd /usr/share/man;  set - `grep "^[a-zA-Z]" /usr/src/etc/man.alias`;  while [ 
$# -gt 0 ] ;  do  rm -rf "$1";  ln -s "$2" "$1";  shift; shift;  done
cd /usr/share/openssl/man;  set - `grep "^[a-zA-Z]" /usr/src/etc/man.alias`;  
while [ $# -gt 0 ] ;  do  rm -rf "$1";  ln -s "$2" "$1";  shift; shift;  done
cd /usr/share/openssl/man/en.ISO8859-1; ln -sf ../man* .
cd /usr/share/nls;  set - `grep "^[a-zA-Z]" /usr/src/etc/nls.alias`;  while [ 
$# -gt 0 ] ;  do  rm -rf "$1";  ln -s "$2" "$1";  shift; shift;  done

--
>>> Installing everything
--
cd /usr/src; make -f Makefile.inc1 install
===> share/info (install)
===> include (install)
creating osreldate.h from newvers.sh
touch: not found
*** Error code 127

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

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

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

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

Stop in /usr/src.

So what do I have to do now? How do I proceed next?
Hope somebody can help me out,

thanks
Dino

 
   
-
Fussy? Opinionated? Impossible to please? Perfect.  Join Yahoo!'s user panel 
and lay it on us.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: C++ Compiler On FreeBSD

2007-10-07 Thread Roland Smith
On Sat, Oct 06, 2007 at 10:33:12AM -0600, Chad Perrin wrote:

> In the Unix world (such as with FreeBSD), I'd recommend C before C++,
> too -- though probably long after Ruby or Perl.

Too right. But it should be noted that both C and C++ give you enough
rope to hang yourself with.

My preference for doing things is;

1) Can it be done with a shell-script? (esp. one-time hacks)
2) Else use Perl, Octave, Ruby, but
3) If speed is key, use C. :-)

> > > Im using Borland C++ compiler on XP and was wondering what compilers
> > > there are for FreeBSD that would allow me to compile and execute some
> > > of the examples i will practise from the book.
> > 
> > FreeBSD comes with the GNU C++ and C compilers installed. There are
> > others available (Intel) or in progress (OpenWatcom).
> 
> Also in progress is the TenDRA compiler, though FreeBSD support is part
> of what's "in progress".

Both OpenBSD and NetBSD (pkgsrc) have recently imported Anders Magnusson's
BSD-licensed pcc compiler. At this time it is i386 en C only. In time
this might be a faster (as in compile-time) alternative to gcc.

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpjHpQLuYAaY.pgp
Description: PGP signature


Re: Memory ignored

2007-10-07 Thread Roland Smith
On Sun, Oct 07, 2007 at 10:09:17PM +0800, TAJUL AZHAR Mohd Tajul Ariffin wrote:
> Hi all,

> i am maybe new to BSD. I had setup my DELL server 2900 to run freeBSD
> 7.0server but i have seen a message that ignored my 4GB of my memory
> in my server. Can somebody tell me what is happening and give me some
> idea so that i can maximize my memory usage. My total memory is 8GB.

FreeBSD i386 (32 bits) can normally only address 4GB.

So you can either;
- use the PAE extension (but see §8.4.1 in the FreeBSD Handbook)
- switch to the amd64 architecture.

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpFySNyvdphu.pgp
Description: PGP signature


Re: Memory ignored

2007-10-07 Thread Bill Moran
"TAJUL AZHAR Mohd Tajul Ariffin" <[EMAIL PROTECTED]> wrote:
>
> Hi all,
> i am maybe new to BSD. I had setup my DELL server 2900 to run freeBSD
> 7.0server but i have seen a message that ignored my 4GB of my memory
> in my
> server. Can somebody tell me what is happening  and give me some idea so
> that i can maximize my memory usage. My total memory is 8GB.

http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/troubleshoot.html#PAE

-- 
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]"


Memory ignored

2007-10-07 Thread TAJUL AZHAR Mohd Tajul Ariffin
Hi all,
i am maybe new to BSD. I had setup my DELL server 2900 to run freeBSD
7.0server but i have seen a message that ignored my 4GB of my memory
in my
server. Can somebody tell me what is happening  and give me some idea so
that i can maximize my memory usage. My total memory is 8GB.

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


Re: Server Reboot

2007-10-07 Thread Garrett Cooper

Grant Peel wrote:

- Original Message -

*From:* Gary Kline 
*To:* Garrett Cooper 
*Cc:* Grant Peel  ; FreeBSD Mailing
List 
*Sent:* Saturday, October 06, 2007 10:15 PM
*Subject:* Re: Server Reboot

On Sat, Oct 06, 2007 at 08:19:12AM -0700, Garrett Cooper wrote:
> Grant Peel wrote:
> >Hi all,
> >
> >This is the first time in 10 years I have seen this.
> >
> >I have a Dell PE750 (vintage 2004), running FreeBSD 6.2 that
had been
> >up and running for about 30 days without any issues.
> >
> >The server somehow rebooted last night, apparently, all by itself.
> >
> >The last log file line I can find waqs about 12:30 AM. The
dmesg shows
> >it restarted about 1:12 AM. dmesg shows some file errors that were
> >fixed upon reboot, other that that, everything is back up and
running
> >normally.
> >
> >I was wondering if anyone has seen anything similar and if a
cause was
> >found.
> >
> >Here is what I know:
> >
> >-all servers (there are 5 more) are plugged into the same power
bar
> >and none of the others were affected
> >-none of the standard logs show any intrusion or root log in
attempt,
> >-dmesg and console log show nothing of note,
> >-the DRAC logs and ESM logs show nothing,
> >-the sensors (temp,voltage,etc) logs currently show no issues, all
> >well withing normal parms.
> >-my MRTG logs show no abnormal CPU usage or network activity.
> >
> >
> >Any help would be appreciated,
> >
> >-Grant
>
> Check the capacitors on the motherboard (in particular near the
> memory and processor); they may be going bad (esp with that
vintage.
> 2004 Dell was a bad year =P..).
> You'll be looking for swelled capacitors and possibly some orange
> dialectric being emitted.
> -Garrett

Strange. In just the past few, 2 or 3 or even 4 weeks my
Dell-8200 has spontaneouslyrebooted too. I do have a number of
things in /var/log/messages, but nothing that I can seee that
would cause this problem. Before the video-card started flaking
out, this puppy ran for weeks/months happily. AFAIW, X (or a
heavily-loaded system) shouldn't have aynything to do with this
problem, [yes/no??]. Any clues, Garrett?

Ah, wait: dmesg.yesterday says



rl0: link state changed to UP
pid 729 (Xorg), uid 0: exited on signal 6 (core dumped)
pid 4475 (Xorg), uid 0: exited on signal 6 (core dumped)
pid 60174 (firefox-bin), uid 1000: exited on signal 11 (core dumped)
pid 47564 (as), uid 0: exited on signal 11 (core dumped)
pid 47570 (as), uid 0: exited on signal 11 (core dumped)
pid 79051 (as), uid 0: exited on signal 11 (core dumped)
pid 79057 (as), uid 0: exited on signal 11 (core dumped)
pid 3625 (as), uid 0: exited on signal 11 (core dumped)
pid 3631 (as), uid 0: exited on signal 11 (core dumped)
pid 74013 (conftest), uid 0: exited on signal 12 (core dumped)


This file is timestamped 03 Oct 07 at 03:17

Anybody know why firefox would core dump? I have no clue waht
"conftest" is... .

Grant, how oten has your system failed?


gary
Gary,

I have owned this server since new (in 2004), and this is the
first time it has done this. I also have another PE750 that was
bought and deployed the same time as this one and it has never
done this.
 
I am not running anything graphical on this, so I am guessing its

not the built in video card. It is running as a server only.
Apache 2, Mysql, 4PHP4, Perl5, Exim4, vm-pop3d, ipa,
Openwebmail, and a number of add in modules for all the above.
 
One thing I may have neglected in my original post, is that it

appears the system may have been locked for a while since the last
log entry I can find befor the reboot was at about 12:20 am, the
system then shows the reboot at about 1:20 AM.
 
-Grant







-- 
Gary Kline [EMAIL PROTECTED] 

www.thought.org Public Service Unix
http://jottings.thought.org http://transfinite.thought.org





Gary,

   Depending on the webpages, amount of memory in use, and other 
things, firefox did have a tendency to crash from time to time when I 
used it. Most of the time it was an indication of bugs created by 
over-optimized binaries or rogue plugins / add-ons / extensions.


   conftest is run by autoconf, and a signal should only be 'thrown' 
(IIRC) if a test fails.


   Not sure about the signal 6 (SIGABRT) and other segfault stuff though..

   About the X11 comment.. actually a system that's heavier loaded than 
a lighter loaded system will exhibit more issues if any exist. So the 
m

Re: C++ Compiler On FreeBSD

2007-10-07 Thread Chad Perrin
On Sun, Oct 07, 2007 at 10:08:58AM +0200, Wojciech Puchar wrote:
> >>i complete my software engineering degree.
> >
> >PHP isn't really a programming language. It's more a fancy templating
> 
> for me it's just funny thing that needs several megs of RAM to display the 
> current date ;)
> 
> but as being treated as "technology" instead of just tool, it's used 
> everythere without sense.
> in 90% cases just to link common header of HTML page with different body 
> and common footer.
> 
> simply using makefile with cat (possibly something SLIGHTLY more 
> complicated) does the same.
> once, not every time page is viewed.

That's not a very practical answer for someone dealing with a shared
hosting provider.  Most of them don't allow shell access and make
execution.  On the other hand, for many common uses of PHP, SSI is at
least as appropriate and simpler to use.

-- 
CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ]
Paul Graham: "Real ugliness is not harsh-looking syntax, but having to
build programs out of the wrong concepts."
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: C++ Compiler On FreeBSD

2007-10-07 Thread Chad Perrin
On Sun, Oct 07, 2007 at 12:07:59AM +, Aryeh Friedman wrote:
> > PHP isn't really a programming language. It's more a fancy templating
> > system that happens to be able to use extensions that can provide C
> > style linkage. That said, I laude you for your desire to learn a real
> > programming language, and agree with the recommendation that you start
> > with something a bit higher level. Perl, for example, ships with
> > absolutely top-notch documentation, and generally speaking, its
> > third-party extensions have similar documentation quality.
> 
> Ruby is *VERY* easy to learn and there are many online and offline
> books for teaching it (or depending on your personal ideals on
> bittorrent)... it has one advantage over perl it much less
> syntactically ugly

Perl gets a lot of bad press for its syntax.  It's mostly undeserved,
however.  I think the two things about Perl that contribute most to that
reputation are:

  1. sigils on variables (there's a widespread unreasoning hatred of this
  language characteristic in some circles)

  2. the fact that OOP in Perl actually *is* very ugly -- even if the
  rest of the language isn't

As Paul Graham has been known to say (even if he wasn't talking about
Perl specifically, at the time), real ugliness isn't harsh-looking
syntax; it's having to build programs using the wrong concepts.  Perl's
full of ways to use the *right* concepts, as long as you don't misuse it
like most of the code at Matt's Script Archive does.

That's a not-so-subtle hint to avoid Matt's Script Archive if you're
looking for examples of good Perl code.  Perlmonks is much better for
that.

On the other hand, Aryeh Friedman is right that Ruby is very easy to
learn, and it too is an excellent language.  It's also much better (in my
opinion at least) for learning object oriented programming techniques
than Perl.

-- 
CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ]
Brian K. Reid: "In computer science, we stand on each other's feet."
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: zsh listed directory not colored in aterm

2007-10-07 Thread Garrett Cooper

vuthecuong wrote:
Currently I switched to fluxbox using aterm, not xterm because of it 
transparency.

But in aterm, directories and text stop colorizing at all.
how can I do now?
P/S: In .Xdefault there is no content.
And in .zshrc there are:
export LSCOLORS=ExCxFxFxBxGxGxababaeae
export CLICOLOR=$LSCOLORS

alias ls='ls -G'

Tnx u very much


You may have to fudge around with aterm's set TERM variable in order to 
get this to work properly.


The manpage for ls(1) has all of the details: 
.


-Garrett

PS You don't need -G if you define CLICOLORS ;)...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: C++ Compiler On FreeBSD

2007-10-07 Thread Chad Perrin
On Sat, Oct 06, 2007 at 10:13:56PM +0200, Roland Smith wrote:
> On Sat, Oct 06, 2007 at 08:53:00PM +0100, James Jeffery wrote:
> > Evening to you all (or morning in some parts of the world).
> > 
> > Im learning C++ from Sams Teach Yourself C++, now many will call this
> > a dumb method, and the books pointless and stupid, but i have no knowledge
> > of any lower level languages, so i do need to be spoon fed the basics.
> 
> I'd say that C++ isn't the easiest way to learn programming. I'd suggest
> starting with Perl, Ruby or Python.

If you're amenable to languages other than C++, I'd specifically
recommend Ruby, via the book "Learn to Program" by Chris Pine.  Ruby and
Perl are both excellent first languages, and both "Learn to Program" and
"Learning Perl" by Randal Schwartz et al. are excellent books.  Ruby's
much better for learning object oriented programming techniques, though,
and anyone learning to program anything like mainstream languages these
days should learn some OOP (generally speaking).

In the Unix world (such as with FreeBSD), I'd recommend C before C++,
too -- though probably long after Ruby or Perl.

If you specifically want to learn C++, though, and skip the middle man:
more power to ya, and good luck.


> 
> > Im using Borland C++ compiler on XP and was wondering what compilers
> > there are for FreeBSD that would allow me to compile and execute some
> > of the examples i will practise from the book.
> 
> FreeBSD comes with the GNU C++ and C compilers installed. There are
> others available (Intel) or in progress (OpenWatcom).

Also in progress is the TenDRA compiler, though FreeBSD support is part
of what's "in progress".

  http://www.tendra.org/about/

-- 
CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ]
Dr. Ron Paul: "Liberty has meaning only if we still believe in it when
terrible things happen and a false government security blanket beckons."
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: I am looking for a bandwidth limiter tool as to time andkilobytes.

2007-10-07 Thread Mel
On Sunday 07 October 2007 15:08:30 Halid Faith wrote:

> I had a look at the pf but I could not find what I looked for.
>
> For instance, I have a ip block  for my customer.  I want to limit it by 1
> Gbyte traffic for a week.

That's not bandwidth, which is a why a firewall doesn't support it. Bandwidth 
is how /fast/ you can travel, traffic is how /far/ you can travel.

> I also want to monitor that.
> How can I do with pf or another tool ?

If you assign each customer a pf queue, you can use the output of `pfctl -vsq' 
as your base for monitoring. I don't know of any ready-made packages, maybe 
someone else or over on isp@ they know.

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


Re: Hardware compatible : Marble_Mouse from Logitech

2007-10-07 Thread Roland Smith
On Sun, Oct 07, 2007 at 09:05:20PM +0800, williamkow wrote:
> Can anyboby advice me whether the Marble_Mouse from Logitech,
> be used and recognized by FreeBSD6.2-Release ?

I've used this trackball without problems with Xorg. Here's the relevant
part of my xorg.conf;

 Section "InputDevice"
Identifier  "MarbleMouse"
Driver  "mouse"
Option  "Protocol"  "Auto"
Option  "Device""/dev/psm0"
Option  "Buttons"   "5"
Option  "ZAxisMapping"  "4 5"
Option  "ButtonMapping" "3 2 1 6 7"
Option  "CorePointer"   "on"
EndSection

Note that this is for a left-handed person. For right-handed use, you
need to swap 3 and 1 in the ButtonMapping, IIRC.

Note that I _don't_ use moused(8).

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgp65KyPFwAeA.pgp
Description: PGP signature


Re: NTFS-3G mount during boot

2007-10-07 Thread Mel
On Sunday 07 October 2007 10:00:35 Novembre wrote:

> On 10/7/07, Doug Barton <[EMAIL PROTECTED]> wrote:
> > On Sun, 7 Oct 2007, Novembre wrote:
> > > The first error above is because the fuse kernel module is not yet
> >
> > loaded.
> >
> > Well isn't it sort of pointless to proceed until you get the kernel
> > module loaded at boot time and then see what happens next?
>
> Oh, the kernel module IS loaded as shown in 'dmesg -a' and in
> /var/log/messages. However, it can't be loaded unless / and /usr file
> systems are mounted.

Filesystems that need modules from anywhere else then the root partition 
cannot be loaded from /etc/fstab.
Either make fusefs-kmod install in /boot/modules 
(echo 'KMOD_DIR=/boot/modules' 
>/usr/ports/sysutils/fusefs-kmod/Makefile.local) or mount the filesystem 
using an rc(8) script in /usr/local/etc/rc.d/.
In the end you do not really care whether it's mounted 20 seconds or 1 second 
before login prompt is available.

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


zsh listed directory not colored in aterm

2007-10-07 Thread vuthecuong
Currently I switched to fluxbox using aterm, not xterm because of it 
transparency.

But in aterm, directories and text stop colorizing at all.
how can I do now?
P/S: In .Xdefault there is no content.
And in .zshrc there are:
export LSCOLORS=ExCxFxFxBxGxGxababaeae
export CLICOLOR=$LSCOLORS

alias ls='ls -G'

Tnx u very much
___
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 SAN using FreeBSD

2007-10-07 Thread Hugo Silva

Wojciech Puchar wrote:

different file systems, etc...


I think you want to look into ZFS then, available on current.


ZFS is not a distributed filesystem AFAIK
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
"[EMAIL PROTECTED]"


You could always ZFS+ggate :)

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


Re: I am looking for a bandwidth limiter tool as to time andkilobytes.

2007-10-07 Thread Halid Faith
Hello

I had a look at the pf but I could not find what I looked for.

For instance, I have a ip block  for my customer.  I want to limit it by 1
Gbyte traffic for a week.
I also want to monitor that.
How can I do with pf or another tool ?


Subject: Re: I am looking for a bandwidth limiter tool as to time
andkilobytes.


> On 10/6/07, Halid Faith wrote:
> > Hello
> >
> > I use dummynet to limit bandwidth on freebsd6.2.
> >
> > But I don't know how I limit an ip blocks as to time ( for instance like
1 Gbyte in 1 month ).
> >
> > I am looking for a tool which provides to limit bytes according to time.
> >
> > is there any free tool for this case?
> >
> > Thanks already
>
> Hell Halid,
>
> Have you looked into pf and altq options?
>
>
> -- 
> Regards,
>
> -Abdullah Ibn Hamad Al-Marri
> Arab Portal
> http://www.WeArab.Net/
> ___
> 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]"


Hardware compatible : Marble_Mouse from Logitech

2007-10-07 Thread williamkow

Can anyboby advice me whether the Marble_Mouse from Logitech,
be used and recognized by FreeBSD6.2-Release ?
I'm about to purchase it mouse for my computer which be installed with 
FreeBSD 6.2

For more information of this mouse, see the attachment and the link below.
http://www.logitech.com/index.cfm/mice_pointers/trackballs/devices/156&cl=my,en
Thank you.



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

Re: C++ Compiler On FreeBSD

2007-10-07 Thread Christer Hermansson

James Jeffery wrote:

Evening to you all (or morning in some parts of the world).

Im learning C++ from Sams Teach Yourself C++, now many will call this
a dumb method, and the books pointless and stupid, but i have no knowledge
of any lower level languages, so i do need to be spoon fed the basics.

Im using Borland C++ compiler on XP and was wondering what compilers
there are for FreeBSD that would allow me to compile and execute some
of the examples i will practise from the book.

Also if anyone wants to recommend any other books on C++ feel free. We
are learning VB at college at the moment, i like it, but its not machine
portable
and i dont like the whole drag and drop way of creating a program, seems
like
cheating.

Thanks for reading

James
  


The FreeBSD Developers' Handbook could be good to check out as well:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/tools-compiling.html

I think it's best to start with C and then move onto C++, however I use 
C for low level things with only textbased user interfaces and Java for 
things that require a GUI.


--

Christer Hermansson



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


Re: Server Reboot

2007-10-07 Thread Dylan Smith
Quick question, if you are running a non-X system why, or even more
importantly, how is Firefox-bin running in the first place?

Dylan

Grant Peel wrote:
> - Original Message - 
>   From: Gary Kline 
>   To: Garrett Cooper 
>   Cc: Grant Peel ; FreeBSD Mailing List 
>   Sent: Saturday, October 06, 2007 10:15 PM
>   Subject: Re: Server Reboot
>
>
>   On Sat, Oct 06, 2007 at 08:19:12AM -0700, Garrett Cooper wrote:
>   > Grant Peel wrote:
>   > >Hi all,
>   > >
>   > >This is the first time in 10 years I have seen this.
>   > >
>   > >I have a Dell PE750 (vintage 2004), running FreeBSD 6.2 that had been 
>   > >up and running for about 30 days without any issues.
>   > >
>   > >The server somehow rebooted last night, apparently, all by itself.
>   > >
>   > >The last log file line I can find waqs about 12:30 AM. The dmesg shows 
>   > >it restarted about 1:12 AM. dmesg shows some file errors that were 
>   > >fixed upon reboot, other that that, everything is back up and running 
>   > >normally.
>   > >
>   > >I was wondering if anyone has seen anything similar and if a cause was 
>   > >found.
>   > >
>   > >Here is what I know:
>   > >
>   > >-all servers (there are 5 more) are plugged into the same power bar 
>   > >and none of the others were affected
>   > >-none of the standard logs show any intrusion or root log in attempt,
>   > >-dmesg and console log show nothing of note,
>   > >-the DRAC logs and ESM logs show nothing,
>   > >-the sensors (temp,voltage,etc) logs currently show no issues, all 
>   > >well withing normal parms.
>   > >-my MRTG logs show no abnormal CPU usage or network activity.
>   > >
>   > >
>   > >Any help would be appreciated,
>   > >
>   > >-Grant
>   > 
>   > Check the capacitors on the motherboard (in particular near the 
>   > memory and processor); they may be going bad (esp with that vintage. 
>   > 2004 Dell was a bad year =P..).
>   > You'll be looking for swelled capacitors and possibly some orange 
>   > dialectric being emitted.
>   > -Garrett
>
>   Strange. In just the past few, 2 or 3 or even 4 weeks my 
>   Dell-8200 has spontaneouslyrebooted too. I do have a number of
>   things in /var/log/messages, but nothing that I can seee that
>   would cause this problem. Before the video-card started flaking
>   out, this puppy ran for weeks/months happily. AFAIW, X (or a
>   heavily-loaded system) shouldn't have aynything to do with this 
>   problem, [yes/no??]. Any clues, Garrett? 
>
>   Ah, wait: dmesg.yesterday says 
>
>
>
>   rl0: link state changed to UP
>   pid 729 (Xorg), uid 0: exited on signal 6 (core dumped)
>   pid 4475 (Xorg), uid 0: exited on signal 6 (core dumped)
>   pid 60174 (firefox-bin), uid 1000: exited on signal 11 (core dumped)
>   pid 47564 (as), uid 0: exited on signal 11 (core dumped)
>   pid 47570 (as), uid 0: exited on signal 11 (core dumped)
>   pid 79051 (as), uid 0: exited on signal 11 (core dumped)
>   pid 79057 (as), uid 0: exited on signal 11 (core dumped)
>   pid 3625 (as), uid 0: exited on signal 11 (core dumped)
>   pid 3631 (as), uid 0: exited on signal 11 (core dumped)
>   pid 74013 (conftest), uid 0: exited on signal 12 (core dumped)
>
>
>   This file is timestamped 03 Oct 07 at 03:17
>
>   Anybody know why firefox would core dump? I have no clue waht
>   "conftest" is... .
>
>   Grant, how oten has your system failed?
>
>
>   gary
>
>   Gary,
>   I have owned this server since new (in 2004), and this is the first time it 
> has done this. I also have another PE750 that was bought and deployed the 
> same time as this one and it has never done this.
>
>   I am not running anything graphical on this, so I am guessing its not the 
> built in video card. It is running as a server only. Apache 2, Mysql, 4PHP4, 
> Perl5, Exim4, vm-pop3d, ipa, Openwebmail, and a number of add in modules for 
> all the above.
>
>   One thing I may have neglected in my original post, is that it appears the 
> system may have been locked for a while since the last log entry I can find 
> befor the reboot was at about 12:20 am, the system then shows the reboot at 
> about 1:20 AM.
>
>   -Grant
>
>
>
>
>
>
>   -- 
>   Gary Kline [EMAIL PROTECTED] www.thought.org Public Service Unix
>   http://jottings.thought.org http://transfinite.thought.org
>
>
>
> --
>
> Total Control Panel  Login  
> To: [EMAIL PROTECTED]  Message Score:  50   High (60): Pass  
> From: [EMAIL PROTECTED]  My Spam Blocking Level:  High  Medium (75): 
> Pass  
>  Low (90): Pass 
>Block messages from this sender (blacklist)
>   
> This message was delivered because the content filter score did not 
> exceed your filter level.  
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
>
>
>  

Re: C++ Compiler On FreeBSD

2007-10-07 Thread Wojciech Puchar

a lot of pitfalls and gotchas that you won't experience
elsewhere (not so much with C itself, but with C++). And


that's why it's good to start with C
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Server Reboot

2007-10-07 Thread Grant Peel
- Original Message - 
  From: Gary Kline 
  To: Garrett Cooper 
  Cc: Grant Peel ; FreeBSD Mailing List 
  Sent: Saturday, October 06, 2007 10:15 PM
  Subject: Re: Server Reboot


  On Sat, Oct 06, 2007 at 08:19:12AM -0700, Garrett Cooper wrote:
  > Grant Peel wrote:
  > >Hi all,
  > >
  > >This is the first time in 10 years I have seen this.
  > >
  > >I have a Dell PE750 (vintage 2004), running FreeBSD 6.2 that had been 
  > >up and running for about 30 days without any issues.
  > >
  > >The server somehow rebooted last night, apparently, all by itself.
  > >
  > >The last log file line I can find waqs about 12:30 AM. The dmesg shows 
  > >it restarted about 1:12 AM. dmesg shows some file errors that were 
  > >fixed upon reboot, other that that, everything is back up and running 
  > >normally.
  > >
  > >I was wondering if anyone has seen anything similar and if a cause was 
  > >found.
  > >
  > >Here is what I know:
  > >
  > >-all servers (there are 5 more) are plugged into the same power bar 
  > >and none of the others were affected
  > >-none of the standard logs show any intrusion or root log in attempt,
  > >-dmesg and console log show nothing of note,
  > >-the DRAC logs and ESM logs show nothing,
  > >-the sensors (temp,voltage,etc) logs currently show no issues, all 
  > >well withing normal parms.
  > >-my MRTG logs show no abnormal CPU usage or network activity.
  > >
  > >
  > >Any help would be appreciated,
  > >
  > >-Grant
  > 
  > Check the capacitors on the motherboard (in particular near the 
  > memory and processor); they may be going bad (esp with that vintage. 
  > 2004 Dell was a bad year =P..).
  > You'll be looking for swelled capacitors and possibly some orange 
  > dialectric being emitted.
  > -Garrett

  Strange. In just the past few, 2 or 3 or even 4 weeks my 
  Dell-8200 has spontaneouslyrebooted too. I do have a number of
  things in /var/log/messages, but nothing that I can seee that
  would cause this problem. Before the video-card started flaking
  out, this puppy ran for weeks/months happily. AFAIW, X (or a
  heavily-loaded system) shouldn't have aynything to do with this 
  problem, [yes/no??]. Any clues, Garrett? 

  Ah, wait: dmesg.yesterday says 



  rl0: link state changed to UP
  pid 729 (Xorg), uid 0: exited on signal 6 (core dumped)
  pid 4475 (Xorg), uid 0: exited on signal 6 (core dumped)
  pid 60174 (firefox-bin), uid 1000: exited on signal 11 (core dumped)
  pid 47564 (as), uid 0: exited on signal 11 (core dumped)
  pid 47570 (as), uid 0: exited on signal 11 (core dumped)
  pid 79051 (as), uid 0: exited on signal 11 (core dumped)
  pid 79057 (as), uid 0: exited on signal 11 (core dumped)
  pid 3625 (as), uid 0: exited on signal 11 (core dumped)
  pid 3631 (as), uid 0: exited on signal 11 (core dumped)
  pid 74013 (conftest), uid 0: exited on signal 12 (core dumped)


  This file is timestamped 03 Oct 07 at 03:17

  Anybody know why firefox would core dump? I have no clue waht
  "conftest" is... .

  Grant, how oten has your system failed?


  gary

  Gary,
  I have owned this server since new (in 2004), and this is the first time it 
has done this. I also have another PE750 that was bought and deployed the same 
time as this one and it has never done this.

  I am not running anything graphical on this, so I am guessing its not the 
built in video card. It is running as a server only. Apache 2, Mysql, 4PHP4, 
Perl5, Exim4, vm-pop3d, ipa, Openwebmail, and a number of add in modules for 
all the above.

  One thing I may have neglected in my original post, is that it appears the 
system may have been locked for a while since the last log entry I can find 
befor the reboot was at about 12:20 am, the system then shows the reboot at 
about 1:20 AM.

  -Grant






  -- 
  Gary Kline [EMAIL PROTECTED] www.thought.org Public Service Unix
  http://jottings.thought.org http://transfinite.thought.org



--

Total Control Panel  Login  
To: [EMAIL PROTECTED]  Message Score:  50   High (60): Pass  
From: [EMAIL PROTECTED]  My Spam Blocking Level:  High  Medium (75): 
Pass  
 Low (90): Pass 
   Block messages from this sender (blacklist)
  
This message was delivered because the content filter score did not 
exceed your filter level.  
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: BASH as root shell (static linking)

2007-10-07 Thread Jerahmy Pocott


On 07/10/2007, at 12:56 AM, andrew clarke wrote:


On Sat, Oct 06, 2007 at 04:54:26AM +1000, Jerahmy Pocott wrote:

I'm wanting to use BASH as my root shell, so I compiled a  
statically linked
version then tried to log in with only / mounted. But I was locked  
out

because elf.ld.so could not be found..

I though elf was the native binary format these days? But it needs a
library to run them? Is it possible to statically link against  
elf? Or do
standalone binary have to be in aout format? I'm a bit confused as  
to why it

requires this dynamic library..


I'm not sure if this helps at all, but you can build a static  
version of

bash from the Ports tree:

cd /usr/ports/shells/bash
make WITH_STATIC_BASH=1

You'll need to cp bash to /bin.


Thanks, that was the information I was looking for! I didn't know  
about that

option to the port..

The problem seemed to be with the dependancies, libintl is  
dynamically linked
to libiconv and some how that was causing it to build with a dynamic  
link..


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


Re: C++ Compiler On FreeBSD

2007-10-07 Thread cpghost
On Sat, 6 Oct 2007 20:53:00 +0100
"James Jeffery" <[EMAIL PROTECTED]> wrote:

> Also if anyone wants to recommend any other books on C++ feel free.

For beginners, I'd highly recommend "C++ Primer" / Fourth Ed.
by Stanley B. Lippman et. al.

But if you're starting to learn programming from scratch,
it's much easier to begin with a scripted language like
Python (others prefer Ruby or Perl, which are fine too).

Why? C++ and STL are a powerful combination, but there's
a lot of pitfalls and gotchas that you won't experience
elsewhere (not so much with C itself, but with C++). And
the biggest shortcoming of Standard C++ is its lack of
standard libraries for stuff like network I/O, etc. Whatever
you'll use for that will be intrinsically platform dependent.
By learning a scripting language like Python, you'll get
instant portability for their standard library as well as
over 99% 3rd party modules. Once you've accumulated enough
experience there, you can always catch up on C++.

Whatever you opt to do, happy hacking and enjoy the ride! :)

-cpghost.

-- 
Cordula's Web. http://www.cordula.ws/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Kernel panic; fatal trap 12; on task 22, USB0: was Re: Moused issues?

2007-10-07 Thread Hans Petter Selasky
On Saturday 06 October 2007, Joe Altman wrote:
> chthonic.com/crash-crash-crash

Hi,

Do you have "options KDB" in your kernel config file ?

http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/kerneldebug-options.html

You should get a prompt when it panics. Then you type in "bt" for backtrace. 
Maybe you could take a picture of that. Probably someone is accessing a NULL 
pointer.

--HPS

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


Re: Dual Boot Vista - Large Sector Issue

2007-10-07 Thread beni
On Thursday 04 October 2007 00:57:19 compunction wrote:
> I am trying to install FreeBSD on the same drive as Vista in a dual boot
> configuration.  FDISK is reporting the normal geometry errors and it is
> also stating that my Vista partition does not start on a sector boundary. 
> I chose to ignore these errors, but when I was creating the last slice on
> the drive I got an error about not being able to create partition.  I did
> some research and I think the issue is related to the way Vista is creating
> partitions.
>
> http://support.microsoft.com/kb/923332
> http://www.multibooters.co.uk/partitions.html
>
> Does anyone know if/when fdisk will support this new partition layout?
>
> Thanks
> Mark

Maybe not the answer to your question, but these might help in dualbooting 
without too much problems :
http://neosmart.net/wiki/display/EBCD/Linux
http://apcmag.com/5046/how_to_dual_boot_vista_with_linux_vista_installed_first

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


Re: C++ Compiler On FreeBSD

2007-10-07 Thread Wojciech Puchar

i complete my software engineering degree.


PHP isn't really a programming language. It's more a fancy templating


for me it's just funny thing that needs several megs of RAM to display the 
current date ;)


but as being treated as "technology" instead of just tool, it's used 
everythere without sense.
in 90% cases just to link common header of HTML page with different body 
and common footer.


simply using makefile with cat (possibly something SLIGHTLY more 
complicated) does the same.

once, not every time page is viewed.



programming language, and agree with the recommendation that you start
with something a bit higher level. Perl, for example, ships with


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


Re: NTFS-3G mount during boot

2007-10-07 Thread Novembre
Oh, the kernel module IS loaded as shown in 'dmesg -a' and in
/var/log/messages. However, it can't be loaded unless / and /usr file
systems are mounted. That's what I meant in my post when I said "the first
error above is because the fuse kernel module is not yet loaded", since the
mounting comes first. Indeed, 'kldstat' shows that it's loaded. My point
was, after mounting / and /usr, and after loading fuse.ko, why do I get the
second error message above "Mounting late file systems: fuse: failed to exec
mount program: No such file or directory" in 'dmesg -a' when 'ps -ax' and
/var/log/message show that ntfs-3g has been run? Why my Windows 2000
partition is not mounted then if ntfs-3g is running?

Thanks :)




On 10/7/07, Doug Barton <[EMAIL PROTECTED]> wrote:
>
> On Sun, 7 Oct 2007, Novembre wrote:
>
> > The first error above is because the fuse kernel module is not yet
> loaded.
>
> Well isn't it sort of pointless to proceed until you get the kernel module
> loaded at boot time and then see what happens next?
>
> --
>
>  This .signature sanitized for your protection
>
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


As your request

2007-10-07 Thread Trycom Technology Co.,Ltd
From: Trycom Technology Co., Ltd.Juvia Chen  
To: esteemed company   



We known esteemed company from the Taiwan External Trade Development Council.

Hearing that esteemed company is a famously leading in industrial automation, 
networking and system control project in the world.

We would like to have this opportunity to do business w/esteem company.



Trycom Technology Co., Ltd is one of the major suppliers of Industrial 
communication converter and digital Input/ Output and analog Input RS-485 
modules products in Taiwan. Our customers are professional in many fields of 
leading Industrial automation, networking and system control project.

The company employees have many years’ experience within the industry and 
automation and have been responsible for the scope of design, project 
management, supply, manufacture and assembly of industrial computer systems. We 
believe employees are the most valuable resource and hence always have people 
in mind when making plans. Trycom is very proud of its creative and dynamic 
employees as well as its management team. This is our assurance of commitment 
to quality and customer service.

Our missions have been simple and clear. Customers must be provided with 
quality solutions. Meanwhile the velocity of design and the manufacturing 
capability must be ensured in order to improve the time needed to reach the 
marketplace. Moreover, strictly quality assurance in every area of the 
management system must be maintained and be exercised to guarantee low total 
delivery cost.

With unwavering principles and steady management, we are pursuing our goal of 
eternal progress. We will continue to strengthen our competitiveness and offer 
customers the best products and services.




  RS232/422/485 Best Solution   
 Wireless to   Serial Based on Bluetooth technology Trycom TRP-C51 allows 
you to wirelessly connect your RS-232/422/485 devices to systems within the 
range up to 100M, If use the outdoor direction antenna can up to 1KM,  Just 
plug it in, set the baud and you are connected, no software or drivers 
required.TRP-C51H supports both point-to-point connection and 
point-to-multipoint connection, It can use for wide range of application for 
wireless operation and monitoring process. 
  Ethernet Serial Server Trycom network serial device server are designed 
to instantly convert data from RS-232/422/485 interfaces to a 10/100Mbps 
Ethernet network running at the TCP/IP protocol. By Using a standard COM port 
and existing network infrastructure the device allow you to link together 
serial peripherals that are distant from one another without the need to 
install any specific cabling.  
 Fiber Optic Serial Fiber Optical to Serial:The fiber converter 
bi-directionally convert RS-232/422/485 signals to fiber optic and  extend the 
distance up to 20KM over single-mode. By using fiber optic transmission 
technology It secures data transmission at speeds up to 115.2Kbps, half/full 
duplex, bi-directional , stable and error free transmission. 

  Fiber Optical to Ethernet: The Ethernet to fiber supports 10/100Base-TX 
transmissions up to 100 meters and 100Base-FX transmissions up to 20KM . It is 
the perfect solution for wide distance connections with high immunity to 
electrical noise.
 
  USB to  Serial The USB series provide single or multi RS-232/422/485 port 
for USB connectivity. Features USB Plug and Play, auto data format detect and 
data flow control, the devices may work with RS-232/422/485 peripherals with 
automatically signals configuration to specified baud rate without external 
switch setting. 
 Serial Repeater The Repeater is designed to extend the RS-422 and RS-485 
signals to another 4000ft ( 1200m ) distance and increase the maximum number of 
connected nodes up to 32 sets. Aside from extension function The Repeater 
provides with auto configuration features in data format detecting, baud rate 
setting and RS-485 data direction flow control. TRP-C07 is equipped with 
photo-couplers and internal surge protection to protect the module and all data 
lines against high voltage spikes, as well as ground potential differences. The 
industry standard DIN rail and panel mounting design enable user a fast and 
professional installation. TRP-C07 is the ideal solution for the user who wants 
to automate their application quickly, safely and cost-effectively. 
  RS232 to RS422/485 The Converter allows RS232 line signal to be 
bi-directionally converted to RS-422 or RS-485 standard and transmit data up to 
1.2KM . Featuring automatic data format and baud rate detect function user just 
need to plug in the unit and go without extra configuration efforts. The 
Converter  is equipped with 3000V DC of isolation and internal surge protection 
on data lines to protect the host computer and converter against high voltage 
spikes, as well as ground potential differences. 
 Modb

As your request

2007-10-07 Thread Trycom Technology Co.,Ltd
From: Trycom Technology Co., Ltd.Juvia Chen  
To: esteemed company   



We known esteemed company from the Taiwan External Trade Development Council.

Hearing that esteemed company is a famously leading in industrial automation, 
networking and system control project in the world.

We would like to have this opportunity to do business w/esteem company.



Trycom Technology Co., Ltd is one of the major suppliers of Industrial 
communication converter and digital Input/ Output and analog Input RS-485 
modules products in Taiwan. Our customers are professional in many fields of 
leading Industrial automation, networking and system control project.

The company employees have many years’ experience within the industry and 
automation and have been responsible for the scope of design, project 
management, supply, manufacture and assembly of industrial computer systems. We 
believe employees are the most valuable resource and hence always have people 
in mind when making plans. Trycom is very proud of its creative and dynamic 
employees as well as its management team. This is our assurance of commitment 
to quality and customer service.

Our missions have been simple and clear. Customers must be provided with 
quality solutions. Meanwhile the velocity of design and the manufacturing 
capability must be ensured in order to improve the time needed to reach the 
marketplace. Moreover, strictly quality assurance in every area of the 
management system must be maintained and be exercised to guarantee low total 
delivery cost.

With unwavering principles and steady management, we are pursuing our goal of 
eternal progress. We will continue to strengthen our competitiveness and offer 
customers the best products and services.




  RS232/422/485 Best Solution   
 Wireless to   Serial Based on Bluetooth technology Trycom TRP-C51 allows 
you to wirelessly connect your RS-232/422/485 devices to systems within the 
range up to 100M, If use the outdoor direction antenna can up to 1KM,  Just 
plug it in, set the baud and you are connected, no software or drivers 
required.TRP-C51H supports both point-to-point connection and 
point-to-multipoint connection, It can use for wide range of application for 
wireless operation and monitoring process. 
  Ethernet Serial Server Trycom network serial device server are designed 
to instantly convert data from RS-232/422/485 interfaces to a 10/100Mbps 
Ethernet network running at the TCP/IP protocol. By Using a standard COM port 
and existing network infrastructure the device allow you to link together 
serial peripherals that are distant from one another without the need to 
install any specific cabling.  
 Fiber Optic Serial Fiber Optical to Serial:The fiber converter 
bi-directionally convert RS-232/422/485 signals to fiber optic and  extend the 
distance up to 20KM over single-mode. By using fiber optic transmission 
technology It secures data transmission at speeds up to 115.2Kbps, half/full 
duplex, bi-directional , stable and error free transmission. 

  Fiber Optical to Ethernet: The Ethernet to fiber supports 10/100Base-TX 
transmissions up to 100 meters and 100Base-FX transmissions up to 20KM . It is 
the perfect solution for wide distance connections with high immunity to 
electrical noise.
 
  USB to  Serial The USB series provide single or multi RS-232/422/485 port 
for USB connectivity. Features USB Plug and Play, auto data format detect and 
data flow control, the devices may work with RS-232/422/485 peripherals with 
automatically signals configuration to specified baud rate without external 
switch setting. 
 Serial Repeater The Repeater is designed to extend the RS-422 and RS-485 
signals to another 4000ft ( 1200m ) distance and increase the maximum number of 
connected nodes up to 32 sets. Aside from extension function The Repeater 
provides with auto configuration features in data format detecting, baud rate 
setting and RS-485 data direction flow control. TRP-C07 is equipped with 
photo-couplers and internal surge protection to protect the module and all data 
lines against high voltage spikes, as well as ground potential differences. The 
industry standard DIN rail and panel mounting design enable user a fast and 
professional installation. TRP-C07 is the ideal solution for the user who wants 
to automate their application quickly, safely and cost-effectively. 
  RS232 to RS422/485 The Converter allows RS232 line signal to be 
bi-directionally converted to RS-422 or RS-485 standard and transmit data up to 
1.2KM . Featuring automatic data format and baud rate detect function user just 
need to plug in the unit and go without extra configuration efforts. The 
Converter  is equipped with 3000V DC of isolation and internal surge protection 
on data lines to protect the host computer and converter against high voltage 
spikes, as well as ground potential differences. 
 Modb