Re: Gentoo and FreeBSD

2005-10-15 Thread Graham Bentley
>I see the beauty of FreeBSD land corrupted by GPL chaos :(

Mmm, that chaos seems to have gotten stallman et alii a long
way ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Help Understanding While Loop

2005-10-15 Thread Parv
in message <[EMAIL PROTECTED]>,
wrote Drew Tomlinson thusly...
>
> Thus I set the following variables:
> 
> remote_pictures_dir="/multimedia/Pictures"
> local_pictures_dir="/tv/pictures"
> find_args="-iname '*.jpg' -or -iname '*.gif'"
> 
> Then I called the 'find' command as follows:
> 
> for original in $(/usr/bin/find $remote_pictures_dir $find_args -print)
> 
> But when I run my script, I get "/usr/bin/find: invalid predicate
> `-iname '*.jpg' -or -iname '*.gif''". 

I don't get the "invalid predicate"; i get nothing printed at all
(bash3 & sh).


> However if I don't try and
> use $find_args and type the arguments in specifically, the script
> runs fine.

Are you really sure about the "runs fine" part?  Here, when the
"-iname" options were not surrounded by '\(' & '\)', find searched
only for the last option, in this case "-iname '*.gif'", ignoring
all the '*.jpg' files.


> I tried various combinations of quoting and escaping
> those quotes but can't come up with a combination that works.

Add "eval" before "find" so that find recognizes $find_args as
separate options not one long string, and group $find_args to make
it work  what you actually wanted ...

  for f in $( eval "find $dir \( $find_args \) -print" )
  do
echo "$f"
  done


  - Parv

-- 

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


Flash drive device name difficulties.

2005-10-15 Thread Malcolm Kay
I am running FreeBSD 5.4 RELEASE.
I recently aquired a 256M USB flash drive
which the system recognises when plugged in;
and I can mount and use it -- all working well.

But now I'd like to make it available to a user
or group of users through mtools. To do this I need
to change the permissions on /dev/da0s1 where the 
flash drive msdos partition appears. This I can make happen 
automatically using /etc/usbd.conf by adding the lines:

device "RunDisk"
vendor  0x0ef5
product 0x2366   
attach "sleep 1; /bin/chmod g+rw /dev/da[0-9]*"

giving members of the operator group access.
But this changes permissions on all "da[0-9]" devices.
I know the man pages suggest ${DEVICENAME} to obtain the 
particular device but this doesn't work here because usbd
sees the device as "umass0" which doesn't appear in /dev/*.

For the moment this is the only device I have appearing 
in the "da*" group so the problem is not immediate/urgent.
But is there some way I can extract the specific "da*" device
name to use in the attach statement or is there some way I can 
make the flash drive always pop up at a specific da name.

I've also taken a look at devd.conf but the documentation here 
seems somewhat sparse.

You consideration is appreciated,

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


kldload snd_driver locks up 5.4-STABLE

2005-10-15 Thread Annelise Anderson


On 5.4-STABLE on a Dell Optiplex GX620, there's
an "Integrated AC97 Audio".

dmesg says:

pci0:  at device 30.2 (no driver attached)


If I try to load sound drivers with kldload, the machine
locks up entirely and a reset is required.  Perhaps the solution
is just to "not do that", but if anyone knows anything about
this, I'd be interested.

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


Re: interesting past 4 hours...

2005-10-15 Thread Gary Kline
On Sat, Oct 15, 2005 at 08:30:56PM -0500, Vulpes Velox wrote:
> On Sat, 15 Oct 2005 13:57:05 -0700
> Gary Kline <[EMAIL PROTECTED]> wrote:
> 
> > On Sat, Oct 15, 2005 at 02:23:58PM -0500, Vulpes Velox wrote:
> > > On Wed, 12 Oct 2005 14:36:32 -0700
> > > Gary Kline <[EMAIL PROTECTED]> wrote:
> > > 
> > > > This is to anybody with Gnome or KDE insights,
> > > > 
> > > > Oh: I brought up linux-mozilla under Gnome, pointed 
> > > > audio/x-pn-realaudio at realplay; it works except that
> > > > the audio "quivers".  With ctwm, I can nice apps down; with 
> > > > user-friendly window mangers, things are hidden away.
> > > > 
> > > > Anyway. If anybody knows how to add other KDE apps to
> > > > the default, and how I can fix firefox to point to realplay, 
> > > > I would appreciate it.
> > > 
> > > BTW what version of FreeBSD are you running on it? Mine had
> > > problems till a update done some time after 5.4. Had something to
> > > do with cpu cx states, acpi, or something like that, that my
> > > audio worked nicely. Previously it had to be on at cx 1 to work
> > > properly. It works properly at others now.
> > 
> > I'm running 5.3 everywhere except for my Ubuntu server.
> > No need/reason to move to v 6.X as far as I'm concerned.
> > I may not have moved over the new linuxpluginwrapper file 
> > to /etc. I can't think of any other  reason that mplayer 
> > would hang after every 1+ sec or that realplay would 
> > sound off/quiver/echo.  
> > 
> > But:  before I go  and change wm's and wind up with
> > something that just doesn't work, there's lots of testing to do.  
> 
> I would suggest cvsuping to the newest 5.x. I had problems with one
> of the older versions of 5.x on my laptop till it was fixed in one of
> the commits.


Underway.  I always read UPGRADING nowadays, but if there
are any recent gotchas, please drop a line.  I've got a 
week before I more/less vanish into studyland for a few 
months.  The more I can get done now, the happier, &c.

thanks,

gary



-- 
   Gary Kline [EMAIL PROTECTED]   www.thought.org Public service Unix

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


Re: Recommended partitioning

2005-10-15 Thread Teo De Las Heras
Some of my reading in books and online does suggest straying from the
default when configuring mail and web servers (for example). I do understand
the importance of following standards, and that's why I'm asking for
feedback from this list.
 Teo

 On 10/15/05, Andrew P. <[EMAIL PROTECTED]> wrote:
>
> On 10/16/05, Teo De Las Heras <[EMAIL PROTECTED]> wrote:
> > -- Forwarded message --
> > From: Teo De Las Heras <[EMAIL PROTECTED]>
> > Date: Oct 15, 2005 4:11 PM
> > Subject: Feeback on partitioning
> > To: freebsd-questions@freebsd.org
> >
> > I'm getting ready to set up a single system as a mail, print, web, and
> file
> > server. I may be installing other applications but nothing as intense as
> > Xorg. If at all, I'll probably just install some network monitoring
> tools.
> > I'm placing all of these roles on a single system because it is only for
> my
> > lab. I have a 160 GB to use and I'm thinking about laying out the
> partitions
> > as follows:
> > Part Size
> > / 10G - for both the / and /usr files
> > (swap) 2G
> > /var 10G - Web server, print spool, other log files??
> > /var/mail 10G - for all mail files and easy backup
> > /home 50G - for all user files
> > /home/teo 40G - For my files and easy backup
> > *The rest of the space I'll leave unused in case I need to grow a
> partition
> > I'm new to FreeBSD/*Nix so all criticism is welcome.
> > Teo
> > ___
> > freebsd-questions@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to "
> [EMAIL PROTECTED]"
> >
> >
>
> FreeBSD is flexible enough to handle any directory
> layout you like. No matter what background you
> come from, you can always turn a few knobs -
> and make yourself at home.
>
> But if you want to stay with FreeBSD for some
> time, if you want to know it better, it's best to
> accept the installer's defaults - and get used
> to them then. Minimum /, small /var and /tmp,
> huge /usr - where all huge things are meant
> to be, including web content, home dirs and
> even huge logs and huge temporary files.
>
> The talk is that hier and partitioning might
> need some brushing up, but for now, if
> you stick to it, you'll find it hard to run into
> real trouble when you're left with no solution
> other than repartitioning your whole disk.
>
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Recommended partitioning

2005-10-15 Thread Andrew P.
On 10/16/05, Teo De Las Heras <[EMAIL PROTECTED]> wrote:
> -- Forwarded message --
> From: Teo De Las Heras <[EMAIL PROTECTED]>
> Date: Oct 15, 2005 4:11 PM
> Subject: Feeback on partitioning
> To: freebsd-questions@freebsd.org
>
> I'm getting ready to set up a single system as a mail, print, web, and file
> server. I may be installing other applications but nothing as intense as
> Xorg. If at all, I'll probably just install some network monitoring tools.
> I'm placing all of these roles on a single system because it is only for my
> lab. I have a 160 GB to use and I'm thinking about laying out the partitions
> as follows:
>  Part Size
> / 10G - for both the / and /usr files
> (swap) 2G
> /var 10G - Web server, print spool, other log files??
> /var/mail 10G - for all mail files and easy backup
> /home 50G - for all user files
> /home/teo 40G - For my files and easy backup
> *The rest of the space I'll leave unused in case I need to grow a partition
>  I'm new to FreeBSD/*Nix so all criticism is welcome.
>  Teo
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
>
>

FreeBSD is flexible enough to handle any directory
layout you like. No matter what background you
come from, you can always turn a few knobs -
and make yourself at home.

But if you want to stay with FreeBSD for some
time, if you want to know it better, it's best to
accept the installer's defaults - and get used
to them then. Minimum /, small /var and /tmp,
huge /usr - where all huge things are meant
to be, including web content, home dirs and
even huge logs and huge temporary files.

The talk is that hier and partitioning might
need some brushing up, but for now, if
you stick to it, you'll find it hard to run into
real trouble when you're left with no solution
other than repartitioning your whole disk.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: portupgrade -ar (why?)

2005-10-15 Thread Peter Matulis

--- "Andrew P." <[EMAIL PROTECTED]> wrote:

> Honestly guys, what is this thread about?

Hum, understanding something?

> You're not gonna make portupgrade work any faster or
> smoother if you weed out a couple of switches from the
> command-line.

See above.

> I don't mean to bother anyone if you're
> having fun, but it just seems that portupgrade's manpage
> covers it all.

Ha, I knew a manpage guy would come around sooner or later.  Don't
you think I read it already?  I have questions it does not cover.

> If you're not sure - just try it. If something's
> strange - see if it's a bug, and if you're sure it is - send-pr.

I can use all the switches if I want.  The entire alphabet soup. 
But that won't help me understand what is happening.  I am not
satisfied with not "seeing something strange".






__ 
Find your next car at http://autos.yahoo.ca
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Is rcorder working under /usr/local/etc/rc.d?

2005-10-15 Thread Daniel O'Connor
On Sun, 16 Oct 2005 04:42, Lefteris Tsintjelis wrote:
> I am getting all these "no provider" and rcorder doesn't seem to
> work properly under /usr/local/etc/rc.d. Services seem to start
> alphabetically and not in the right order specified. The keywords
> REQUIRE, PROVIDE, BEFORE and KEYWORD seem to be ignored. Services
> like SERVERS, NETWORKING, LOGIN, etc, are all provided within
> /etc/rc.d.
>
> rcorder /usr/local/etc/rc.d/*

I believe rcorder is not used to start stuff in /usr/local/etc/rc.d 
(unfortunately).

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


pgp3JmrmVUkfj.pgp
Description: PGP signature


Re: problem compiling jdk14

2005-10-15 Thread Micah

Filippo Moretti wrote:

I ran inthe following error while attempint to upgrade sun-jdk14 on
5.4-stable i386 architecture
/bsd_i486/vm -I../generated 
-DHOTSPOT_BUILD_VERSION="\"1.4.2-p7-filippo_14_oct_2005_15_44\""
Compiling 
/usr/ports/java/jdk14/work/hotspot/src/share/vm/runtime/functionAtStart.cpp
Compiling 
/usr/ports/java/jdk14/work/hotspot/src/share/vm/utilities/accessFlags.cpp

Compiling ../generated/adfiles/ad_i486.cpp
{standard input}: Assembler messages:
{standard input}:46443: Warning: end of file not at end of a line; 
newline inserted

{standard input}:46859: Error: unknown pseudo-op: `.'
g++: Internal error: Killed (program cc1plus)
Please submit a full bug report.
See http://gcc.gnu.org/bugs.html> for instructions.
gmake[3]: *** [ad_i486.o] Error 1
gmake[3]: Leaving directory 
`/usr/ports/java/jdk14/work/control/build/bsd-i586/h

otspot-i586/tmp/bsd_i486_compiler2/jvmg'
gmake[2]: *** [the_vm] Error 2
gmake[2]: Leaving directory 
`/usr/ports/java/jdk14/work/control/build/bsd-i586/hotspot-i586/tmp/bsd_i486_compiler2/jvmg' 


gmake[1]: *** [jvmg] Error 2
gmake[1]: Leaving directory 
`/usr/ports/java/jdk14/work/control/build/bsd-i586/hotspot-i586/tmp'

gmake: *** [jvmg] Error 2
*** Error code 2

Stop in /usr/ports/java/jdk14.
** Command failed [exit code 1]: /usr/bin/script -qa 
/tmp/portupgrade66043.1 make

any  help appreciated
sincerely
Filippo Moretti


I just updated jdk 1.4 twice on two computers in the last couple of 
days, so the port is working (at least in my case :).  The kind of error 
you're getting sounds like a memory or filesystem error.  Try running 
some diagnostics, such as memtest86+ (or some other memory tester), to 
make sure.  The ultimate boot cd at http://www.ultimatebootcd.com/ has a 
good collection of diagnostic tools.  Also, if you have the processing 
time, try again.  If it dies with a similiar message in a different 
module you are probably dealing with hardware issues.


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


Re: interesting past 4 hours...

2005-10-15 Thread David Kirchner
On 10/15/05, Gary Kline <[EMAIL PROTECTED]> wrote:
> You know, what I'd like my wm to be able to do is
> set  app (say xload)
>
> /usr/bin/nice -n -17 xload -g 50x90+0+0 &
>
> so that I'll be able to nice it down to some low  value,
> control the placing and size of the app, and so on.
> I assume that Gnome/KDE (and their light versions)
> have some ~user/.* XML files where things are tuned,
> but grep  -r .* hasn't found anything ...
> Is there/Where is the files that list the apps so that
> I can set up things and season-to-my-tastes?
>
> For me, functioality is more imortant than how "pretty"
> things look.

The bizarrely-named 'devilspie' will handle window location, sizing,
pinning, and the default workspace assignment (in case you don't want
it pinned). It doesn't handle nicing, however.

It works fine with devilspie. I expect it will work OK with KDE or twm too.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: interesting past 4 hours...

2005-10-15 Thread Vulpes Velox
On Sat, 15 Oct 2005 13:57:05 -0700
Gary Kline <[EMAIL PROTECTED]> wrote:

> On Sat, Oct 15, 2005 at 02:23:58PM -0500, Vulpes Velox wrote:
> > On Wed, 12 Oct 2005 14:36:32 -0700
> > Gary Kline <[EMAIL PROTECTED]> wrote:
> > 
> > >   This is to anybody with Gnome or KDE insights,
> > > 
> > >   Oh: I brought up linux-mozilla under Gnome, pointed 
> > >   audio/x-pn-realaudio at realplay; it works except that
> > > the audio "quivers".  With ctwm, I can nice apps down; with 
> > >   user-friendly window mangers, things are hidden away.
> > > 
> > >   Anyway. If anybody knows how to add other KDE apps to
> > > the default, and how I can fix firefox to point to realplay, 
> > >   I would appreciate it.
> > 
> > BTW what version of FreeBSD are you running on it? Mine had
> > problems till a update done some time after 5.4. Had something to
> > do with cpu cx states, acpi, or something like that, that my
> > audio worked nicely. Previously it had to be on at cx 1 to work
> > properly. It works properly at others now.
> 
>   I'm running 5.3 everywhere except for my Ubuntu server.
>   No need/reason to move to v 6.X as far as I'm concerned.
>   I may not have moved over the new linuxpluginwrapper file 
>   to /etc. I can't think of any other  reason that mplayer 
>   would hang after every 1+ sec or that realplay would 
>   sound off/quiver/echo.  
> 
>   But:  before I go  and change wm's and wind up with
> something that just doesn't work, there's lots of testing to do.  

I would suggest cvsuping to the newest 5.x. I had problems with one
of the older versions of 5.x on my laptop till it was fixed in one of
the commits.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: portupgrade stale dependencies

2005-10-15 Thread Andrew P.
On 10/16/05, John DeStefano <[EMAIL PROTECTED]> wrote:
> I'm trying to use portupgrade to update my installed ports. I ran into
> trouble with dependencies with ImageMagick and xorg-libraries, and I then
> followed the suggestion in UPDATING to delete XFree86 the imake-4 packages,
> and install the full xorg port.
>
> After all that, I got more dependency errors:
> 'Stale dependency: aalib-1.4.r5_1 --> imake-4.3.0_1 -- manually run 'pkgdb
> -F' to fix, or specify -O to force.'
>
> 'pkgdb -O' returned an invalid option error, and 'pkgdb -o aalib-1.4.r5_1'
> returned 'graphics/aalib'. I then ran 'pkgdb -F' to try and fix this (and
> many, many other) stale dependencies, but the error I got when trying to run
> portupgrade afterward simply changed the stale dependency error to '
> aalib-1.4.r5_1 --> XFree86-libraries-4.3.0_6'.
>
> How does one get around these dependency errors without destroying a system?
> Any good resources on dealing with this? I keep reading that I should just
> run 'pkgdb -F' but that only gets one so far.
>
> Thanks,
> ~John
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
>
>

If you don't have a whole free week, consider
deinstalling every port on your system (with
pkg_deinstall preferably), installing cvsup,
updating your ports tree, installing portupgrade,
and portinstalling all the ports you really need.
That should only take a couple of days :-)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: portupgrade -ar (why?)

2005-10-15 Thread Andrew P.
On 10/16/05, Peter Matulis <[EMAIL PROTECTED]> wrote:
>
> --- Petersen <[EMAIL PROTECTED]> wrote:
>
> > Uninstalled dependancies of an installed port are irrelevant in
> > any portupgrade case, as the port will automatically pull them in
> as
> > part of its compilation.
>
> What if a port now has a new dependency?
>
> But back to 'r',
>
> My system shows this:
>
> ---
> $ pkg_info -xR openldap
> Information for openldap-client-2.2.29:
>
> Required by:
> bluefish-1.0.4
> dirmngr-0.9.2
> gnome-menus-2.10.2_1
> gnomevfs2-2.10.1_1
> gnupg-devel-1.9.19
> gtksourceview-1.2.1
> libbonoboui-2.10.1
> libgnomeui-2.10.1_1
> rox-2.3
> samba-libsmbclient-3.0.20_2
> ---
>
> Just to be clear on this, if I do...
>
> # portupgrade -r openldap-client
>
> ...all those listed ports will be recompiled whether they need to be
> or not?  That seems mighty inefficient.
>
>
>
>
>
>
> __
> Find your next car at http://autos.yahoo.ca
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
>
>

No, they won't. Honestly guys, what is this thread about?
You're not gonna make portupgrade work any faster or
smoother if you weed out a couple of switches from the
command-line. I don't mean to bother anyone if you're
having fun, but it just seems that portupgrade's manpage
covers it all. If you're not sure - just try it. If something's
strange - see if it's a bug, and if you're sure it is - send-pr.

chat@ is the right place for topics like this one..


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


Re: Gathering statistics on disk usage

2005-10-15 Thread Josh Paetzel
> It definitely should have applied cleanly on 5.4.  I just tested
> it. Try downloading the "Raw PR" link at the bottom of the page;
> that will remove any html-escaping.  The patch won't work on 4.x
> because the devstat interface got overhauled between 4.x and 5.x.

All right, I get the point hat for this one.  You're right, it works 
fine on 5.4 for me now.

-- 
Thanks,

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


portupgrade stale dependencies

2005-10-15 Thread John DeStefano
I'm trying to use portupgrade to update my installed ports. I ran into
trouble with dependencies with ImageMagick and xorg-libraries, and I then
followed the suggestion in UPDATING to delete XFree86 the imake-4 packages,
and install the full xorg port.

After all that, I got more dependency errors:
'Stale dependency: aalib-1.4.r5_1 --> imake-4.3.0_1 -- manually run 'pkgdb
-F' to fix, or specify -O to force.'

'pkgdb -O' returned an invalid option error, and 'pkgdb -o aalib-1.4.r5_1'
returned 'graphics/aalib'. I then ran 'pkgdb -F' to try and fix this (and
many, many other) stale dependencies, but the error I got when trying to run
portupgrade afterward simply changed the stale dependency error to '
aalib-1.4.r5_1 --> XFree86-libraries-4.3.0_6'.

How does one get around these dependency errors without destroying a system?
Any good resources on dealing with this? I keep reading that I should just
run 'pkgdb -F' but that only gets one so far.

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


Re: test

2005-10-15 Thread Greg 'groggy' Lehey
On Saturday, 15 October 2005 at 17:56:19 -0400, Teo De Las Heras wrote:
> test
> ___
> freebsd-questions@freebsd.org mailing list


Please do *not* send "test" messages to FreeBSD questions.  Please
also don't respond to such messages (this one response should be
enough).  If you want to test, use the FreeBSD-test list.

I'm sending this message to stop other people from doing so as well.
We often see "me too" message.  Think how much network traffic you're
generating.


Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers.


pgpo1a9ugKCCe.pgp
Description: PGP signature


RE: portupgrade -ar (why?)

2005-10-15 Thread Peter Matulis

--- Petersen <[EMAIL PROTECTED]> wrote:

> Uninstalled dependancies of an installed port are irrelevant in
> any portupgrade case, as the port will automatically pull them in
as
> part of its compilation.

What if a port now has a new dependency?

But back to 'r',

My system shows this:

---
$ pkg_info -xR openldap
Information for openldap-client-2.2.29:

Required by:
bluefish-1.0.4
dirmngr-0.9.2
gnome-menus-2.10.2_1
gnomevfs2-2.10.1_1
gnupg-devel-1.9.19
gtksourceview-1.2.1
libbonoboui-2.10.1
libgnomeui-2.10.1_1
rox-2.3
samba-libsmbclient-3.0.20_2
---

Just to be clear on this, if I do...

# portupgrade -r openldap-client

...all those listed ports will be recompiled whether they need to be
or not?  That seems mighty inefficient.






__ 
Find your next car at http://autos.yahoo.ca
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: portupgrade -ar (why?)

2005-10-15 Thread Petersen
Peter Matulis <[EMAIL PROTECTED]> wrote:
> --- Petersen <[EMAIL PROTECTED]> wrote:
> 
>> The -a switch will upgrade a port only if its version number has
>> increased (as you know). 
>> 
>> The -r switch will upgrade a port if one of its dependancies has been
>> upgraded, regardless of whether its version number has changed or
>> not. 
>> 
>> e.g.
>> 
>> Appbar-1.0 depends on libfoo-1.0. Libfoo gets a portbump to 1.1.
>> portupgrade -r libfoo will install libfoo-1.1, plus also force a
>> recompile and reinstallation of appbar-1.0, irrespective of the fact
>> that appbar's version remains the same. Thus, any ABI changes that
>> happened in libfoo that could potentially break appbar that was
>> compiled/linked against the previous version are limited.
>> 
>> In an ideal world, this wouldn't be a problem. ABIs and APIs
>> should remain constant, until a library revision bump (i.e., if
>> libfoo.1's ABI changed and broke apps, it shoulda been bumped to
> libfoo.2). > Most times you can get away with not recompiling a
> port's dependants
>> because developers, but if you don't then it can shoot you in the
>> foot (read the recent list archives regarding openssl-0.9.8 to see
>> an example of this).
> 
> Thank you very much (BTW, there is something missing in your last
> sentence). 
> 

..because developers mostly take ABI breakage into account and tend not
to do it on minor versions, but if you don't...

> One last thing.  Is this the case with the 'R' switch as well?
> 
> 
> 

Well, the -R switch won't force anything to upgrade if it's already at
the latest version. AFAIK (someone please correct me on this if I'm
wrong) it is pointless to use it with the -a switch as -a by its very
nature is upgrading anything that needs upgrading anyway, which includes
any dependancies of a port, and AFAIK -a will sort the upgrades so that
dependancies are done before upgrades (thus, 'portupgrade -a' is
functionally equivalent to 'portupgrade -R *').

Uninstalled dependancies of an installed port are irrelevant in any
portupgrade case, as the port will automatically pull them in as part of
its compilation.

Petersen


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


ng_one2many v.s. AFT (NIC Fault Tolerance/Fail Over/Redundancy Revisited)

2005-10-15 Thread Brian A. Seklecki
Re: 
http://lists.freebsd.org/pipermail/freebsd-questions/2005-October/100623.html


First: This is all very preliminary from some testing over the weekend.

Dell's reponse was that Intel's AFT/ALB was entirely software based.

That left me with few options:
1) Try userland layer 3 failover (ugly)
2) Use ng_one2many

However, ng_one2many only permits for two algorithms: 
NG_ONE2MANY_XMIT_ROUNDROBIN and NG_ONE2MANY_XMIT_ALL.


However, none of these meet the need:
- Round-Robin results in 50% packet loss if a hook/interface is lost (not 
acceptable in any mission critical environment).
- Xmit-All causes twice as much load on to be placed on the switch /fabric 
and switch CPU.


What ng_one2many needs is a "Active-Standy" XMIT algorithm (STP BOFH's 
will think BLOCKING/FORWARDING).  It could even be used on top of other 
NetGraph nodes like ng_fec or possibly (hopefully) ng_802.3ad >:}


Essentially, a single layer 3 IP address needs to be visible in a "switch 
fault tolerant" or "adapter fault tolerant" configuration.  A 
userland-level daemon could be scripted, and it has been done before:


http://lists.freebsd.org/pipermail/freebsd-isp/2003-November/001314.html

So when a fail-over occurs, the layer IP 3 address moves from one layer 2 
MAC address to another layer 2 MAC address on the same machine (and same 
subnet, same ethernet segment, just a different interface).  TCP sockets 
should not be affected due to layer abstraction.


This got me thinking about HSRP/VRRP.  That protocol is designed strictly 
to move a layer 3 address between two different hosts.   Excellent 
applications are Router/Firewall and VPN concentrator, as OpenBSD's 
carp(4) has implemented with the help of pfsync.  I was experimenting with 
the OpenBSD variant and I realized that client hosts weren't seeing the 
usual warnings about MAC address changes.


As of 3.7, OpenBSD's CARP shares a virtual MAC address between the hosts, 
Cisco's HSRP does not.


Then I was thinking about the OpenBSD/NetBSD bridge(4) interface.  If the 
host acting as the bridge wishes too, it can participate in the bridged 
networks by assigning a layer 3 address.  The address isn't ifconfig(8)'d 
do the "bridge0" interface.  Instead, it's assigned to the first interface 
included in the "bridge[0-9]", say fxp0.


Further more, regardless of what network segment/port a host participating 
in a bridge(4)'d network resides, the ARP'd IP address of the 
OpenBSD/NetBSD host is persistently the MAC first physical interface 
ifconfig(8)'d with the IP.


Plus OpenBSD/NetBSD bridge(4) supports 802.1d spanning tree >:}

This is important.  Spanning Tree as an alogirth could provide Intel AFT 
"Fault Tolerance" intelligence if the persistent layer2 address of a host 
was unchanged with the NIC interface change.  The function of STP is to 
provide a loop free path to every layer2 MAC in a segment.  But a STP 
enabled bridge(4) with an IP address assigned has a persistent MAC address 
associated with a layer 3 address!


Therefore, the solution has been there all along.  The attached diagram 
explains in greater detail.


http://digitalfreaks.org/~lavalamp/OpenBSD_Bridge_AFT.png

In this diagram, switch 0 is configured manually as the spanning tree root 
and switch 1 is the backup spanning tree root.  By default, rl0 will be in 
BLOCKING and rl1 will being FORWARDING.  However, as tcpdump(8) 
illustrates, regardless of which interface is the root port, ARP replys 
will always return the MAC if the bridge(4) member interface ifconfig(8)'d 
with the IP.


rl0: flags=8943 mtu 1500
address: 00:50:fc:9d:24:d6
media: Ethernet autoselect (100baseTX full-duplex)
status: active
inet 192.168.100.1 netmask 0xff00 broadcast 192.168.100.255

rl1: flags=8943 mtu 1500
address: 00:50:fc:9d:08:cd
media: Ethernet autoselect (100baseTX full-duplex)
status: active

---

bridge0: flags=41
Configuration:
priority 32768 hellotime 2 fwddelay 15 maxage 20
Interfaces:
rl1 flags=b
port 2 ifpriority 128 ifcost 55 forwarding
rl0 flags=b
port 1 ifpriority 128 ifcost 55 blocking
Addresses (max cache: 100, timeout: 240):
00:01:63:bb:f7:c9 rl1 1 flags=0<>
00:0f:1f:c1:f2:b7 rl1 1 flags=0<>
-
# tcpdump -i rl1 -n arp
12:38:17.806885 arp who-has 192.168.100.1 tell 192.168.100.254
12:38:17.806951 arp reply 192.168.100.1 is-at 0:50:fc:9d:24:d6
12:38:17.806966 arp reply 192.168.100.1 is-at 0:50:fc:9d:24:d6

bs0#sh spanning-tree vlan 11 interface fa0/9

Spanning tree 11 is executing the IEEE compatible Spanning Tree protocol
  Bridge Identifier has priority 100, address 0001.63bb.f7c2
  Configured hello time 2, max age 20, forward delay 15
  We are the root of the spanning tree
  Topology change flag not set, detected flag not set, changes 54
  Times:  hold 1, topology change 35, notification 2
  

Re: Bash Pattern Matching Syntax

2005-10-15 Thread Will Maier
On Sat, Oct 15, 2005 at 03:37:11PM -0700, Drew Tomlinson wrote:
> I want to list the files in a directory that end in ".jpg"
> irregardless of case.  Thus after reading the bash man page, it
> seems I should be able to issue a command something along the
> lines of "ls [*.[JjPpGg]]"  or "ls *.[JjPpGg]" but neither of
> these work and return a "No such file or directory" message.  I've
> also tried various ways of  escaping the '*' and '." but that
> didn't help either.  However "ls *[JjPpGg]" does work by listing
> the files.  However I want to match the "." before "jpg" as well.
> What is the correct syntax for what I'm trying to do?

The square brackets define a range of characters; [a-z] includes all
lowercase alphabetic characters between 'a' and 'z' and will match
_only one character from that range_ in a given string.

[a-z] matches 'b'
[a-z] matches 'z'
[a-z] doesn't match 'all'
[a-z] doesn't match '1'

Your first attempt, [*.[JjPpGg]], has an extra pair of brackets.
Secondly, it (like your second attempt) defines a range that would
match only one character, JjPpGg:

[JjPpGg] matches 'j'
[JjPpGg] matches 'G'
[JjPpGg] doesn't match 'JPG'
[JjPpGg] doesn't match 'jpg'

You need to break your patterns up; what you're looking for is a
pattern of three characters, with 'J' or 'j' in the first position,
'P' or 'p' in the second, and 'G' or 'g' in the third. That entire
pattern should be prepended by a string of any characters (*) and a
period (.).

Here are some examples to demonstrate what I've written above; they
conclude with a pattern that will match the files you're looking
for.

sh-3.00$ ls
a  all  test.JPG  test.jpg
sh-3.00$ ls [a-z]
a
sh-3.00$ ls [all]
a
sh-3.00$ ls *.[JjPpGg]
ls: *.[JjPpGg]: No such file or directory
sh-3.00$ ls *.[Jj][Pp][Gg]
test.JPG  test.jpg

-- 

o--{ Will Maier }--o
| jabber:[EMAIL PROTECTED] | email:[EMAIL PROTECTED] |
| [EMAIL PROTECTED] | [EMAIL PROTECTED] |
*--[ BSD Unix: Live Free or Die ]--*

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


Re: Help Understanding While Loop

2005-10-15 Thread Drew Tomlinson

On 10/14/2005 3:24 PM David Kirchner wrote:


On 10/14/05, Drew Tomlinson <[EMAIL PROTECTED]> wrote:
 


OK, I've been working on an sh script and I'm almost there.  In the
script, I created a 'while read' loop that is doing what I want.  Now I
want to keep track of how many times the loop executes.  Thus I included
this line between the 'while read' and 'done' statements:

count = $(( count + 1 ))

I've tested this by adding an 'echo $count' statement in the loop and it
increments by one each time the loop runs.  However when I attempt to
call $count in an 'echo' statement after the 'done', the variable is
null.  Thus I assume that $count is only local to the loop and I have to
export it to make it available outside the loop?  What must I do?
   



Oh yeah, that's another side effect of using the while read method.
Because it's "| while read" it's starting a subshell, so any variables
are only going to exist there. You'd need to have some sort of 'echo'
within the while read, and then | wc -l at the end of the while loop,
or something along those lines.

The IFS method someone else mentioned, in regards to 'for' loops,
would probably be better all around. So you'd want:

OLDIFS=$IFS
# Note this is a single quote, return, single quote, no spaces
IFS='
'

for i in `find etc`
do
done

IFS=$OLDIFS
 



OK, I've tried this and it does fix the "count" problem.  However it 
messes up another part of the script and I'm trying understand why.  I 
tried to make this script dynamic in that all I would need to do is edit 
variables set at the top and then not have to worry about all 
occurrences in the script.  Thus I set the following variables:


remote_pictures_dir="/multimedia/Pictures"
local_pictures_dir="/tv/pictures"
find_args="-iname '*.jpg' -or -iname '*.gif'"

Then I called the 'find' command as follows:

for original in $(/usr/bin/find $remote_pictures_dir $find_args -print)

But when I run my script, I get "/usr/bin/find: invalid predicate 
`-iname '*.jpg' -or -iname '*.gif''".  However if I don't try and use 
$find_args and type the arguments in specifically, the script runs 
fine.  I tried various combinations of quoting and escaping those quotes 
but can't come up with a combination that works.


What is going on?  And is there some way to set verbosity so I can see 
how the shell is expanding the variables?


Thanks much,

Drew

--
Visit The Alchemist's Warehouse
Magic Tricks, DVDs, Videos, Books, & More!

http://www.alchemistswarehouse.com

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


Bash Pattern Matching Syntax

2005-10-15 Thread Drew Tomlinson
I want to list the files in a directory that end in ".jpg" irregardless 
of case.  Thus after reading the bash man page, it seems I should be 
able to issue a command something along the lines of "ls [*.[JjPpGg]]"  
or "ls *.[JjPpGg]" but neither of these work and return a "No such file 
or directory" message.  I've also tried various ways of  escaping the 
'*' and '." but that didn't help either.  However "ls *[JjPpGg]" does 
work by listing the files.  However I want to match the "." before "jpg" 
as well.  What is the correct syntax for what I'm trying to do?


Thanks,

Drew

--
Visit The Alchemist's Warehouse
Magic Tricks, DVDs, Videos, Books, & More!

http://www.alchemistswarehouse.com

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


make release cvsroot directory

2005-10-15 Thread Antoine Solomon
Hello all

When creating a release using "make release" is it possible to specify the
CVSROOT using pserver or ext?
Or will I have to use NFS to mount my CVSROOT directory?

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


Re: Is rcorder working under /usr/local/etc/rc.d?

2005-10-15 Thread Giorgos Keramidas
On 2005-10-16 00:41, Lefteris Tsintjelis <[EMAIL PROTECTED]> wrote:
> Giorgos Keramidas wrote:
> >% flame:/home/keramida$ rcorder /etc/rc.d/* /usr/local/etc/rc.d/* >/dev/null
> >% rcorder: Circular dependency on provision `mountcritremote' in file 
> >`/etc/rc.d/newsyslog'.
> >% rcorder: Circular dependency on provision `mountcritremote' in file 
> >`/etc/rc.d/syslogd'.
>
> Gia sou Giorgo kai pali,

Hehehe, "geia" :)

> That certainly fixes just about all of the "no providers" but the start up
> rcorder problem remains. To be more specific, I specify for a service this:
>
> # REQUIRE: mysql
>
> This service however still fails to start after MySQL and keeps on starting
> right before it.

Hmm, that's odd.  Can I see the dependency lines of the two scripts and
the output of rcorder?

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


test

2005-10-15 Thread Teo De Las Heras
test
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Is rcorder working under /usr/local/etc/rc.d?

2005-10-15 Thread Lefteris Tsintjelis

Giorgos Keramidas wrote:


[...]

These look like stuff that is "provided" by /etc/rc.d/* scripts.

Try including all the scripts in the rcorder command line:

% flame:/home/keramida$ rcorder  /usr/local/etc/rc.d/* >/dev/null
% rcorder: file `/usr/local/etc/rc.d/samba.sh' is before unknown provision 
`DAEMON'
% rcorder: requirement `named' in file `/usr/local/etc/rc.d/samba.sh' has no 
providers.
% rcorder: requirement `SERVERS' in file `/usr/local/etc/rc.d/samba.sh' has no 
providers.
% rcorder: requirement `NETWORKING' in file `/usr/local/etc/rc.d/samba.sh' has 
no providers.
% rcorder: requirement `ldconfig' in file 
`/usr/local/etc/rc.d/perforce.sh.sample' has no providers.
% rcorder: requirement `ldconfig' in file `/usr/local/etc/rc.d/mysql.sh' has no 
providers.
% rcorder: requirement `ldconfig' in file `/usr/local/etc/rc.d/000.pkgtools.sh' 
has no providers.

% flame:/home/keramida$ rcorder /etc/rc.d/* /usr/local/etc/rc.d/* >/dev/null
% rcorder: Circular dependency on provision `mountcritremote' in file 
`/etc/rc.d/newsyslog'.
% rcorder: Circular dependency on provision `mountcritremote' in file 
`/etc/rc.d/syslogd'.


Gia sou Giorgo kai pali,

That certainly fixes just about all of the "no providers" but the start up
rcorder problem remains. To be more specific, I specify for a service this:

# REQUIRE: mysql

This service however still fails to start after MySQL and keeps on starting
right before it.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: portupgrade -ar (why?)

2005-10-15 Thread Peter Matulis

--- Petersen <[EMAIL PROTECTED]> wrote:

> > But still, a port requires upgrading or it does not.  Using 'r',
> > portupgrade ultimately checks whether some port should be
> upgraded.
> > Are you saying that the 'r' switch involves a different decision
> > making process than 'a'? 
> > 
> 
> The -a switch will upgrade a port only if its version number has
> increased (as you know).
> 
> The -r switch will upgrade a port if one of its dependancies has
> been
> upgraded, regardless of whether its version number has changed or
> not.
> 
> e.g.
> 
> Appbar-1.0 depends on libfoo-1.0. Libfoo gets a portbump to 1.1.
> portupgrade -r libfoo will install libfoo-1.1, plus also force a
> recompile and reinstallation of appbar-1.0, irrespective of the
> fact
> that appbar's version remains the same. Thus, any ABI changes that
> happened in libfoo that could potentially break appbar that was
> compiled/linked against the previous version are limited.
> 
> In an ideal world, this wouldn't be a problem. ABIs and APIs
> should remain constant, until a library revision bump (i.e., if
> libfoo.1's ABI changed and broke apps, it shoulda been bumped to
libfoo.2). > Most times you can get away with not recompiling a
port's dependants
> because developers, but if you don't then it can shoot you in the
foot
> (read the recent list archives regarding openssl-0.9.8 to see an
example of
> this).

Thank you very much (BTW, there is something missing in your last
sentence).

One last thing.  Is this the case with the 'R' switch as well?







__ 
Find your next car at http://autos.yahoo.ca
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Is rcorder working under /usr/local/etc/rc.d?

2005-10-15 Thread Giorgos Keramidas
On 2005-10-15 22:12, Lefteris Tsintjelis <[EMAIL PROTECTED]> wrote:
> I am getting all these "no provider" and rcorder doesn't seem to work
> properly under /usr/local/etc/rc.d. Services seem to start
> alphabetically and not in the right order specified. The keywords
> REQUIRE, PROVIDE, BEFORE and KEYWORD seem to be ignored. Services like
> SERVERS, NETWORKING, LOGIN, etc, are all provided within /etc/rc.d.
>
> rcorder /usr/local/etc/rc.d/*
>
> rcorder: requirement `SERVERS' in file `squid.sh' has no providers.
> rcorder: requirement `NETWORKING' in file `squid.sh' has no providers.
> rcorder: requirement `DAEMON' in file `snmptrapd.sh' has no providers.
[...]

These look like stuff that is "provided" by /etc/rc.d/* scripts.

Try including all the scripts in the rcorder command line:

% flame:/home/keramida$ rcorder  /usr/local/etc/rc.d/* >/dev/null
% rcorder: file `/usr/local/etc/rc.d/samba.sh' is before unknown provision 
`DAEMON'
% rcorder: requirement `named' in file `/usr/local/etc/rc.d/samba.sh' has no 
providers.
% rcorder: requirement `SERVERS' in file `/usr/local/etc/rc.d/samba.sh' has no 
providers.
% rcorder: requirement `NETWORKING' in file `/usr/local/etc/rc.d/samba.sh' has 
no providers.
% rcorder: requirement `ldconfig' in file 
`/usr/local/etc/rc.d/perforce.sh.sample' has no providers.
% rcorder: requirement `ldconfig' in file `/usr/local/etc/rc.d/mysql.sh' has no 
providers.
% rcorder: requirement `ldconfig' in file `/usr/local/etc/rc.d/000.pkgtools.sh' 
has no providers.

% flame:/home/keramida$ rcorder /etc/rc.d/* /usr/local/etc/rc.d/* >/dev/null
% rcorder: Circular dependency on provision `mountcritremote' in file 
`/etc/rc.d/newsyslog'.
% rcorder: Circular dependency on provision `mountcritremote' in file 
`/etc/rc.d/syslogd'.

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

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


Recommended partitioning

2005-10-15 Thread Teo De Las Heras
-- Forwarded message --
From: Teo De Las Heras <[EMAIL PROTECTED]>
Date: Oct 15, 2005 4:11 PM
Subject: Feeback on partitioning
To: freebsd-questions@freebsd.org

I'm getting ready to set up a single system as a mail, print, web, and file
server. I may be installing other applications but nothing as intense as
Xorg. If at all, I'll probably just install some network monitoring tools.
I'm placing all of these roles on a single system because it is only for my
lab. I have a 160 GB to use and I'm thinking about laying out the partitions
as follows:
 Part Size
/ 10G - for both the / and /usr files
(swap) 2G
/var 10G - Web server, print spool, other log files??
/var/mail 10G - for all mail files and easy backup
/home 50G - for all user files
/home/teo 40G - For my files and easy backup
*The rest of the space I'll leave unused in case I need to grow a partition
 I'm new to FreeBSD/*Nix so all criticism is welcome.
 Teo
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: interesting past 4 hours...

2005-10-15 Thread Gary Kline
On Sat, Oct 15, 2005 at 02:23:58PM -0500, Vulpes Velox wrote:
> On Wed, 12 Oct 2005 14:36:32 -0700
> Gary Kline <[EMAIL PROTECTED]> wrote:
> 
> > This is to anybody with Gnome or KDE insights,
> > 
> > Oh: I brought up linux-mozilla under Gnome, pointed 
> > audio/x-pn-realaudio at realplay; it works except that the
> > audio "quivers".  With ctwm, I can nice apps down; with 
> > user-friendly window mangers, things are hidden away.
> > 
> > Anyway. If anybody knows how to add other KDE apps to the
> > default, and how I can fix firefox to point to realplay, 
> > I would appreciate it.
> 
> BTW what version of FreeBSD are you running on it? Mine had problems
> till a update done some time after 5.4. Had something to do with cpu
> cx states, acpi, or something like that, that my audio worked nicely.
> Previously it had to be on at cx 1 to work properly. It works
> properly at others now.

I'm running 5.3 everywhere except for my Ubuntu server.
No need/reason to move to v 6.X as far as I'm concerned.
I may not have moved over the new linuxpluginwrapper file 
to /etc. I can't think of any other  reason that mplayer 
would hang after every 1+ sec or that realplay would 
sound off/quiver/echo.  

But:  before I go  and change wm's and wind up with something 
that just doesn't work, there's lots of testing to do.  

gary


-- 
   Gary Kline [EMAIL PROTECTED]   www.thought.org Public service Unix

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


RE: portupgrade -ar (why?)

2005-10-15 Thread Petersen
[EMAIL PROTECTED] <> wrote:
> --- Jan Grant <[EMAIL PROTECTED]> wrote:
> 
>> On Sat, 15 Oct 2005, Peter Matulis wrote:
>> 
>>> What is the use of specifying the 'r' switch when using the 'a'
>>> switch? 
>>> 
>>> # portupgrade -ar
>>> 
>>> This says to upgrade all ports plus the ones that depend on all
>>> those ports.  Am I missing something?  Wouldn't "the ones that
>>> depend" be upgraded anyway?
>> 
>> Not necessarily. For instance: package P might use library L. A
>> change in L might alter the size and layout of structures exposed to
>> P. The source-level API of L is unchanged; the binary-level ABI is
>> altered. So whilst the source code of P might not have changed, it
>> might (for instance) be using a macro defined by a header in L that
>> will look at the wrong offset in the new structure. These kinds of
>> ABI compatibility problems can be fixed by recompilihng P.
> 
> But still, a port requires upgrading or it does not.  Using 'r',
> portupgrade ultimately checks whether some port should be upgraded.
> Are you saying that the 'r' switch involves a different decision
> making process than 'a'? 
> 
> 

The -a switch will upgrade a port only if its version number has
increased (as you know).

The -r switch will upgrade a port if one of its dependancies has been
upgraded, regardless of whether its version number has changed or not.

e.g.

Appbar-1.0 depends on libfoo-1.0. Libfoo gets a portbump to 1.1.
portupgrade -r libfoo will install libfoo-1.1, plus also force a
recompile and reinstallation of appbar-1.0, irrespective of the fact
that appbar's version remains the same. Thus, any ABI changes that
happened in libfoo that could potentially break appbar that was
compiled/linked against the previous version are limited.

In an ideal world, this wouldn't be a problem. ABIs and APIs should
remain constant, until a library revision bump (i.e., if libfoo.1's ABI
changed and broke apps, it shoulda been bumped to libfoo.2). Most times
you can get away with not recompiling a port's dependants because
developers, but if you don't then it can shoot you in the foot (read the
recent list archives regarding openssl-0.9.8 to see an example of this).

Petersen

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


Re: Gentoo and FreeBSD

2005-10-15 Thread Giorgos Keramidas
On 2005-10-15 13:12, Garrett Cooper <[EMAIL PROTECTED]> wrote:
>On Oct 15, 2005, at 12:22 PM, Tom Norris wrote:
>>Sean wrote:
>>> Gentoo/FreeBSD is an effort to provide a fully-capable FreeBSD
>>> operating system with Gentoo's design sensibilities. The long-term
>>> goal of the Gentoo/BSD project is to allow users to choose any
>>> combination of *BSD or Linux kernels, *BSD or GNU libc, and *BSD or
>>> GNU userland tools.
>>
>> I see the beauty of FreeBSD land corrupted by GPL chaos :( Oh well,
>> I'm going try to not to be a jerk until I at least *try* their
>> product.
>
> I do like how their compiling and feature management works, ie
> portage as opposed to ports (it's done through stability/arch masks
> and feature 'compile flags'), but it still isn't 100% kosher and
> doesn't work all the time even in native Gentoo Linux.

I can only wish them "good luck", in all honesty :)

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


Re: interesting past 4 hours...

2005-10-15 Thread Gary Kline
On Sat, Oct 15, 2005 at 09:51:44AM +0100, Glyn Millington wrote:
> Gary Kline <[EMAIL PROTECTED]> writes:
> 
> > I'll give xfce a try.  Again.  I  played with it months ago
> > but gave up on it after a few days.  Can I run all KDE-ware 
> > and Gnome suites too?
> 
> Hi Gary,
> 
> I'm running Xfce4 over here on Slackware, and there are no problems
> firing up KDE apps as needed. 
> 
> A neat thing if you have python aboard is the MenuMaker script
> 
> http://menumaker.sourceforge.net/
> 
> ,
> | MenuMaker is utility written entirely in Python that scans through the
> | system for installed programs and generates menu for specified X window
> | manager. It is by far more superior to existing solutions in terms of
> | knowledge base size, maintainability and extensibility, and has a number
> | of features that have no counterparts in its class. MenuMaker is intended
> | for users of lightweight *NIX graphical desktop environments.
> `
> 
> But it will scoop up all your KDE and Gnome apps too :-)  It certainly
> beats churning out menus by hand!  It works with Fluxbox, openbox, Icewm,
> Windowmaker, Xfce and Xfce4...
> 

Thanks for the tip. This sounds worth checking into.  Be nice '
if I can tell menumaker to include things like rclock and asam;
and whatever generic, non-wm-specific apps too.  

Ok, from the online docs, it looks like this script works best
with xfce4.

gary



-- 
   Gary Kline [EMAIL PROTECTED]   www.thought.org Public service Unix

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


Re: Is rcorder working under /usr/local/etc/rc.d?

2005-10-15 Thread Giorgos Keramidas
On 2005-10-15 22:12, Lefteris Tsintjelis <[EMAIL PROTECTED]> wrote:
> I am getting all these "no provider" and rcorder doesn't seem to work
> properly under /usr/local/etc/rc.d. Services seem to start
> alphabetically and not in the right order specified. The keywords
> REQUIRE, PROVIDE, BEFORE and KEYWORD seem to be ignored. Services like
> SERVERS, NETWORKING, LOGIN, etc, are all provided within /etc/rc.d.
>
> rcorder /usr/local/etc/rc.d/*
>
> rcorder: requirement `SERVERS' in file `squid.sh' has no providers.
> rcorder: requirement `NETWORKING' in file `squid.sh' has no providers.
> rcorder: requirement `DAEMON' in file `snmptrapd.sh' has no providers.
[...]

These look like stuff that is "provided" by /etc/rc.d/* scripts.

Try including all the scripts in the rcorder command line:

% flame:/home/keramida$ rcorder  /usr/local/etc/rc.d/* >/dev/null
% rcorder: file `/usr/local/etc/rc.d/samba.sh' is before unknown provision 
`DAEMON'
% rcorder: requirement `named' in file `/usr/local/etc/rc.d/samba.sh' has no 
providers.
% rcorder: requirement `SERVERS' in file `/usr/local/etc/rc.d/samba.sh' has no 
providers.
% rcorder: requirement `NETWORKING' in file `/usr/local/etc/rc.d/samba.sh' has 
no providers.
% rcorder: requirement `ldconfig' in file 
`/usr/local/etc/rc.d/perforce.sh.sample' has no providers.
% rcorder: requirement `ldconfig' in file `/usr/local/etc/rc.d/mysql.sh' has no 
providers.
% rcorder: requirement `ldconfig' in file `/usr/local/etc/rc.d/000.pkgtools.sh' 
has no providers.

% flame:/home/keramida$ rcorder /etc/rc.d/* /usr/local/etc/rc.d/* >/dev/null
% rcorder: Circular dependency on provision `mountcritremote' in file 
`/etc/rc.d/newsyslog'.
% rcorder: Circular dependency on provision `mountcritremote' in file 
`/etc/rc.d/syslogd'.

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


Re: Gentoo and FreeBSD

2005-10-15 Thread Andrew P.
On 10/16/05, Garrett Cooper <[EMAIL PROTECTED]> wrote:
>
> On Oct 15, 2005, at 12:22 PM, Tom Norris wrote:
>
> > Sean wrote:
> >
> >> Gentoo/FreeBSD is an effort to provide a fully-capable FreeBSD
> >> operating system with Gentoo's design sensibilities. The long-term
> >> goal of the Gentoo/BSD project is to allow users to choose any
> >> combination of *BSD or Linux kernels, *BSD or GNU libc, and *BSD
> >> or GNU userland tools.
> >>
> >
> >
> > I see the beauty of FreeBSD land corrupted by GPL chaos :(
> > Oh well, I'm going try to not to be a jerk until I at least *try*
> > their product.
>
>  I do like how their compiling and feature management works, ie
> portage as opposed to ports (it's done through stability/arch masks
> and feature 'compile flags'), but it still isn't 100% kosher and
> doesn't work all the time even in native Gentoo Linux.
> -Garrett
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
>
>

The original idea belongs to the Debian project. See
here:

http://www.debian.org/ports/kfreebsd-gnu/

Such projects help us (in theory, at least) improve
the linux compatibility layer.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: How to get a high resolution console for FreeBSD inside a VMWare image?

2005-10-15 Thread Jared Evans
Thanks for taking the time to reply. I shall try your patch and see if I can
get it to work.

Jared

On 10/14/05, Nikolas Britton <[EMAIL PROTECTED]> wrote:
>
> On 10/14/05, Jared Evans <[EMAIL PROTECTED]> wrote:
> > I know that this isn't exactly a standard configuration (VMWare as
> opposed
> > to native installation) for FreeBSD so most of the answers I found
> online
> > weren't really applicable for me.
> >
> > I simply wanted a high resolution FreeBSD console PTYs running under
> VMWare.
> > It was surprisingly more complex than I expected:
> >
> > When attempting to change screen resolution for a console in FreeBSD
> running
> > under VMWare, I ran across this error message:
> >
> > > vidcontrol -g 100x37 VESA_800x600
> >
> > vidcontrol: cannot set videomode inappropriate ioctl for device
> >
> > It seemed to me that VMWare was unable to init VESA correctly in console
> but
> > strangely enough Xorg is capable of changing to a higher resolution
> without
> > any problems.
> >
> > After some googling:
> >
> > VESA driver in current source tree checks the NONVGA flag of VESA
> > information block when loading. If this flag is set it will refuse to
> > initialize. Most VESA adapters do not set this flag, but the virtual
> display
> > adapter in VMWare does.
> >
> > in src/sys/i386/isa/vesa.c, there is a check for the flag V_NONVGA in
> line
> > 655. If you comment it out, flag check will be bypassed. After all, if
> Xorg
> > can use higher resolution, there shouldn't be a problem using VESA on
> the
> > console!
> >
> > Re-compiling my kernel to include the below as suggested by several more
> web
> > searches:
> >
> > options VESA
> > options SC_PIXEL_MODE
> > options VGA_WIDTH90
> >
> > rebooting then:
> >
> > > vidcontrol -g 100x37 VESA_800x600
> >
> > vidcontrol: operation not supported by device
> >
> > Any more tips for me?
>
> You computer (VMware) doesn't have a "proper" VESA BIOS and that is
> why 800x600 raster text mode won't work etc. FreeBSD 6 has this all
> worked just put 'allscreens_flags="MODE_279"' in rc.conf for
> 1024x768... you can get a list of other modes supported by typing in
> vidcontrol -i MODE (I think, can never remember :-)). if you want this
> for FreeBSD 5.x then your going to have to manually patch your system,
> but I have a simple script that will do it for you. somewhere around
> here.. check for patch errors after you run the script.
> --
> cd /tmp
> rm current-vesa_patch.tar.gz
> fetch http://www.nbritton.org/uploads/current-vesa_patch.tar.gz
> rm -r current-vesa_patch
> tar -zxf current-vesa_patch.tar.gz
> cd /usr/src/sys/dev/syscons
> patch  cd /usr/src/usr.sbin/vidcontrol
> cp /tmp/current-vesa_patch/current-vidcontrol.1 ./vidcontrol.1
> cp /tmp/current-vesa_patch/current-vidcontrol.c ./vidcontrol.c
> make && make install && make clean
> -
> You still need to put in your kernel (both FreeBSD 5 and 6):
> options VESA
> options SC_PIXEL_MODE
>
> and when you cvsup your src in FreeBSD 5 you will need to reapply the
> patch, cvsup will overwrite the files becouse the cvs revision tags
> don't match up.
>
> Anyways
>
>


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


Re: interesting past 4 hours...

2005-10-15 Thread Garrett Cooper


On Oct 15, 2005, at 12:35 PM, Gary Kline wrote:


On Sat, Oct 15, 2005 at 12:06:30PM +0400, Andrew P. wrote:


On 10/15/05, Gary Kline <[EMAIL PROTECTED]> wrote:


On Fri, Oct 14, 2005 at 09:08:31PM -0500, Nikolas Britton wrote:


On 10/12/05, Gary Kline <[EMAIL PROTECTED]> wrote:


This is to anybody with Gnome or KDE insights,

First, both environments do work on my 400Mhz ThinkPad
(with almost 300M/SDRAM).  KDE has a nicer feel for my  
tastes

but the response in beyond crummy even with nearly all
eye-candy.



Did you mean to say with all eye-candy disabled?... Have you  
checked out XFCE?


Intro to XFCE:
http://www.xfce.org/index.php?page=overview&lang=en

Here are some flash based demos:
http://www.xfce.org/various/flash_demos.html

The XFCE meta port is in x11-wm/xfce4 and don't forget about all  
the

plugins: http://www.freebsd.org/cgi/ports.cgi?query=XFCE&stype=all

After you install the XFCE meta port type in rehash and then
startxfce4, if you like it and want to keep it as your default  
desktop
environment type in "echo "/usr/X11R6/bin/startxfce4" >  
~/.xinitrc".

the FreeBSD handbook as a bit about XFCE in section 5.7.4
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x11- 
wm.html


I use KDE on my fast systems and XFCE on the slow ones.




I'll give xfce a try.  Again.  I  played with it months ago
but gave up on it after a few days.  Can I run all KDE-ware
and Gnome suites too?

Thanks for the pointers!

gary



--
   Gary Kline [EMAIL PROTECTED]   www.thought.org Public  
service Unix


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






Many FreeBSD users came to love Fluxbox. It's
a windowmaker-based manager, very nice, very
lightweight. It's not an environment, so there are
no file managers, viewers, keyrings, etc. included.
But it has some support for both KDE and Gnome
programs, so you can easily install any Gnome-
based tool (it'll also install some parts of Gnome,
but not all of it). It has no conflicts with Gnome/
KDE, so you can install and see if you like it.



You know, what I'd like my wm to be able to do is
set  app (say xload)

/usr/bin/nice -n -17 xload -g 50x90+0+0 &

so that I'll be able to nice it down to some low  value,
control the placing and size of the app, and so on.
I assume that Gnome/KDE (and their light versions)
have some ~user/.* XML files where things are tuned,
but grep  -r .* hasn't found anything ...
Is there/Where is the files that list the apps so that
I can set up things and season-to-my-tastes?

For me, functioality is more imortant than how "pretty"
things look.

gary

--
   Gary Kline [EMAIL PROTECTED]   www.thought.org Public  
service Unix


You should be able to accomplish that via fluxbox the best since  
it lists all of the programs out in an XML file (I know I'm reaching  
a bit since I haven't used fluxbox in a while), somewhere in  
~/.fluxbox/[something].
Also, you could setup aliases in ~/.bash_alias (see alias syntax  
with man alias) for your more common programs; I know it's just  
patching the problem, but it should do the trick.

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


Re: Gentoo and FreeBSD

2005-10-15 Thread Garrett Cooper


On Oct 15, 2005, at 12:22 PM, Tom Norris wrote:


Sean wrote:

Gentoo/FreeBSD is an effort to provide a fully-capable FreeBSD  
operating system with Gentoo's design sensibilities. The long-term  
goal of the Gentoo/BSD project is to allow users to choose any  
combination of *BSD or Linux kernels, *BSD or GNU libc, and *BSD  
or GNU userland tools.





I see the beauty of FreeBSD land corrupted by GPL chaos :(
Oh well, I'm going try to not to be a jerk until I at least *try*  
their product.


I do like how their compiling and feature management works, ie  
portage as opposed to ports (it's done through stability/arch masks  
and feature 'compile flags'), but it still isn't 100% kosher and  
doesn't work all the time even in native Gentoo Linux.

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


Feeback on partitioning

2005-10-15 Thread Teo De Las Heras
I'm getting ready to set up a single system as a mail, print, web, and file
server. I may be installing other applications but nothing as intense as
Xorg. If at all, I'll probably just install some network monitoring tools.
I'm placing all of these roles on a single system because it is only for my
lab. I have a 160 GB to use and I'm thinking about laying out the partitions
as follows:
 Part Size
/ 10G - for both the / and /usr files
(swap) 2G
/var 10G - Web server, print spool, other log files??
/var/mail 10G - for all mail files and easy backup
/home 50G - for all user files
/home/teo 40G - For my files and easy backup
*The rest of the space I'll leave unused in case I need to grow a partition
 I'm new to FreeBSD/*Nix so all criticism is welcome.
 Teo
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Gentoo and FreeBSD

2005-10-15 Thread Kris Kennaway
On Sat, Oct 15, 2005 at 03:13:36PM -0400, Sean wrote:
> I came across the Gentoo/FreeBSD project at 
> http://www.gentoo.org/doc/en/gentoo-freebsd.xml
> 
> A description states
> What is Gentoo/FreeBSD?
> 
> Gentoo/FreeBSD is an effort to provide a fully-capable FreeBSD operating 
> system with Gentoo's design sensibilities. The long-term goal of the 
> Gentoo/BSD project is to allow users to choose any combination of *BSD 
> or Linux kernels, *BSD or GNU libc, and *BSD or GNU userland tools.
> 
> What exactly does this gain a user?
> Use of both Linux and FreeBSD fully, partially, some sort of mutant 
> creature?
> 
> FreeBSD is a complete from top to bottom, so again, what does this combo 
>  do for a user?

You'd have to ask them, they have nothing to do with the freebsd project.

Kris

> Would this gain something else instead of having linux support enabled?
> 
>   Thanks
>   Sean
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> 


pgpbFcfF1DlWS.pgp
Description: PGP signature


Re: Burning DVDs

2005-10-15 Thread Jerry McAllister
> 
> Hi all,
> My DVD drive read and mounts CDs and DVDs properly, but K3B refuses to
> burn : "K3B did not find a suitable writer. You will only be able to 
> create an image". Gut feeling is that there probably is something wrong 
> in the drive's read/write permission. I checked the /etc/fstab
> file for read/write status and I got the following :
> 
> # Device   Mountpoint  FStype  Options DumpPass#
> /dev/ad0s3bnoneswapsw  0   0
> /dev/ad0s3a/   ufs rw  1   1
> /dev/acd0  /cdrom  cd9660  ro,noauto   0   0
> 
> This was the default set up that I haven't altered (yet...). Is there a
> reason why the DVD drive would be set in read only mode, as a default ?
> Should I just launch vi and edit the line from ro,noauto to rw,noauto or 
> is there another way ?

Generally burners do not work through a mount on a drive.  
They do their work directly to the device.   They might not
even work on a drive until it is unmounted.  I haven't tried
that claim to verify it though.   If that is true, you would
have to unmount the device before running the burner.

So, there is no reason to mount a CD/DVD as writable because, 
from the point of view of a mounted device, it is read only. 

jerry

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


Re: interesting past 4 hours...

2005-10-15 Thread Gary Kline
On Sat, Oct 15, 2005 at 12:06:30PM +0400, Andrew P. wrote:
> On 10/15/05, Gary Kline <[EMAIL PROTECTED]> wrote:
> > On Fri, Oct 14, 2005 at 09:08:31PM -0500, Nikolas Britton wrote:
> > > On 10/12/05, Gary Kline <[EMAIL PROTECTED]> wrote:
> > > > This is to anybody with Gnome or KDE insights,
> > > >
> > > > First, both environments do work on my 400Mhz ThinkPad
> > > > (with almost 300M/SDRAM).  KDE has a nicer feel for my tastes
> > > > but the response in beyond crummy even with nearly all
> > > > eye-candy.
> > >
> > > Did you mean to say with all eye-candy disabled?... Have you checked out 
> > > XFCE?
> > >
> > > Intro to XFCE:
> > > http://www.xfce.org/index.php?page=overview&lang=en
> > >
> > > Here are some flash based demos:
> > > http://www.xfce.org/various/flash_demos.html
> > >
> > > The XFCE meta port is in x11-wm/xfce4 and don't forget about all the
> > > plugins: http://www.freebsd.org/cgi/ports.cgi?query=XFCE&stype=all
> > >
> > > After you install the XFCE meta port type in rehash and then
> > > startxfce4, if you like it and want to keep it as your default desktop
> > > environment type in "echo "/usr/X11R6/bin/startxfce4" > ~/.xinitrc".
> > > the FreeBSD handbook as a bit about XFCE in section 5.7.4
> > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x11-wm.html
> > >
> > > I use KDE on my fast systems and XFCE on the slow ones.
> > >
> >
> > I'll give xfce a try.  Again.  I  played with it months ago
> > but gave up on it after a few days.  Can I run all KDE-ware
> > and Gnome suites too?
> >
> > Thanks for the pointers!
> >
> > gary
> >
> >
> >
> > --
> >Gary Kline [EMAIL PROTECTED]   www.thought.org Public service 
> > Unix
> >
> > ___
> > freebsd-questions@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> >
> >
> 
> Many FreeBSD users came to love Fluxbox. It's
> a windowmaker-based manager, very nice, very
> lightweight. It's not an environment, so there are
> no file managers, viewers, keyrings, etc. included.
> But it has some support for both KDE and Gnome
> programs, so you can easily install any Gnome-
> based tool (it'll also install some parts of Gnome,
> but not all of it). It has no conflicts with Gnome/
> KDE, so you can install and see if you like it.

You know, what I'd like my wm to be able to do is
set  app (say xload)

/usr/bin/nice -n -17 xload -g 50x90+0+0 &

so that I'll be able to nice it down to some low  value,
control the placing and size of the app, and so on.
I assume that Gnome/KDE (and their light versions)
have some ~user/.* XML files where things are tuned,
but grep  -r .* hasn't found anything ... 
Is there/Where is the files that list the apps so that 
I can set up things and season-to-my-tastes?

For me, functioality is more imortant than how "pretty"
things look.

gary

-- 
   Gary Kline [EMAIL PROTECTED]   www.thought.org Public service Unix

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


Re: Gentoo and FreeBSD

2005-10-15 Thread Tom Norris

Sean wrote:
Gentoo/FreeBSD is an effort to provide a fully-capable FreeBSD operating 
system with Gentoo's design sensibilities. The long-term goal of the 
Gentoo/BSD project is to allow users to choose any combination of *BSD 
or Linux kernels, *BSD or GNU libc, and *BSD or GNU userland tools.



I see the beauty of FreeBSD land corrupted by GPL chaos :(
Oh well, I'm going try to not to be a jerk until I at least *try* their 
product.

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


Re: interesting past 4 hours...

2005-10-15 Thread Vulpes Velox
On Wed, 12 Oct 2005 14:36:32 -0700
Gary Kline <[EMAIL PROTECTED]> wrote:

>   This is to anybody with Gnome or KDE insights,
> 
>   First, both environments do work on my 400Mhz ThinkPad
>   (with almost 300M/SDRAM).  KDE has a nicer feel for my
> tastes but the response in beyond crummy even with nearly all
>   eye-candy.  Gnome has slightly better response, but still
>   slow.
> 
>   Two questions: is there a way I can add "KSayIt" to run
> under Gnome?  Like, what file do I hand edit?  I'm rebuilding our
>   own mozilla right now so the screen is very slow with KDE.
> I don't even know if KSayIt is there.
> 
>   Second question: as its default, firefox uses mplayer for 
>   both real and windows audio streams.  Why and can I chance
> at least the Real Audio to use /usr/local/bin/realplay?  Both
>   players sound terrible.  At least they play, but in windows 
>   audio mode, the stream hiccups about every 1.5 seconds;
> when it plays in real mode, the audio is garbled;  it sounds like
>   two or three people talking over one another.  ((If anybody
>   know what's going n, please clue me in!!   ...but I think 
>   this is just one of those cosmic mysteries))
> 
>   Oh: I brought up linux-mozilla under Gnome, pointed 
>   audio/x-pn-realaudio at realplay; it works except that the
>   audio "quivers".  With ctwm, I can nice apps down; with 
>   user-friendly window mangers, things are hidden away.
> 
>   Anyway. If anybody knows how to add other KDE apps to the
>   default, and how I can fix firefox to point to realplay, 
>   I would appreciate it.

BTW what version of FreeBSD are you running on it? Mine had problems
till a update done some time after 5.4. Had something to do with cpu
cx states, acpi, or something like that, that my audio worked nicely.
Previously it had to be on at cx 1 to work properly. It works
properly at others now.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Is rcorder working under /usr/local/etc/rc.d?

2005-10-15 Thread Lefteris Tsintjelis

I am getting all these "no provider" and rcorder doesn't seem to
work properly under /usr/local/etc/rc.d. Services seem to start
alphabetically and not in the right order specified. The keywords
REQUIRE, PROVIDE, BEFORE and KEYWORD seem to be ignored. Services
like SERVERS, NETWORKING, LOGIN, etc, are all provided within
/etc/rc.d.

rcorder /usr/local/etc/rc.d/*

rcorder: requirement `SERVERS' in file `squid.sh' has no providers.
rcorder: requirement `NETWORKING' in file `squid.sh' has no providers.
rcorder: requirement `DAEMON' in file `snmptrapd.sh' has no providers.
rcorder: requirement `DAEMON' in file `snmpd.sh' has no providers.
rcorder: requirement `LOGIN' in file `sa-spamd.sh' has no providers.
rcorder: requirement `LOGIN' in file `rsyncd.sh' has no providers.
rcorder: requirement `SERVERS' in file `radiusd.sh' has no providers.
rcorder: requirement `NETWORKING' in file `radiusd.sh' has no providers.
rcorder: requirement `NETWORKING' in file `pfspamd.sh' has no providers.
rcorder: requirement `SERVERS' in file `mysql-server.sh' has no providers.
rcorder: requirement `NETWORKING' in file `mysql-server.sh' has no providers.
rcorder: requirement `DAEMON' in file `courier-authdaemond.sh' has no providers.
rcorder: requirement `LOGIN' in file `courier-imap-pop3d.sh' has no providers.
rcorder: requirement `LOGIN' in file `courier-imap-pop3d-ssl.sh' has no 
providers.
rcorder: requirement `LOGIN' in file `courier-imap-imapd.sh' has no providers.
rcorder: requirement `LOGIN' in file `courier-imap-imapd-ssl.sh' has no 
providers.
rcorder: requirement `SERVERS' in file `apache2.sh' has no providers.
rcorder: requirement `NETWORKING' in file `apache2.sh' has no providers.
rcorder: requirement `ldconfig' in file `000.pkgtools.sh' has no providers.

Am I doing something wrong or is this a problem?

Please CC

Thnx,

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


Gentoo and FreeBSD

2005-10-15 Thread Sean
I came across the Gentoo/FreeBSD project at 
http://www.gentoo.org/doc/en/gentoo-freebsd.xml


A description states
What is Gentoo/FreeBSD?

Gentoo/FreeBSD is an effort to provide a fully-capable FreeBSD operating 
system with Gentoo's design sensibilities. The long-term goal of the 
Gentoo/BSD project is to allow users to choose any combination of *BSD 
or Linux kernels, *BSD or GNU libc, and *BSD or GNU userland tools.


What exactly does this gain a user?
Use of both Linux and FreeBSD fully, partially, some sort of mutant 
creature?


FreeBSD is a complete from top to bottom, so again, what does this combo 
 do for a user?

Would this gain something else instead of having linux support enabled?

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


Re: portupgrade -ar (why?)

2005-10-15 Thread Peter Matulis

--- Jan Grant <[EMAIL PROTECTED]> wrote:

> On Sat, 15 Oct 2005, Peter Matulis wrote:
> 
> > What is the use of specifying the 'r' switch when using the 'a'
> > switch?
> > 
> > # portupgrade -ar
> > 
> > This says to upgrade all ports plus the ones that depend on all
> > those ports.  Am I missing something?  Wouldn't "the ones that
> > depend" be upgraded anyway?
> 
> Not necessarily. For instance: package P might use library L. A
> change in L might alter the size and layout of structures exposed
to P.
> The source-level API of L is unchanged; the binary-level ABI is
> altered. So whilst the source code of P might not have changed, it
might (for 
> instance) be using a macro defined by a header in L that will look
> at the wrong offset in the new structure. These kinds of ABI
> compatibility problems can be fixed by recompilihng P.

But still, a port requires upgrading or it does not.  Using 'r',
portupgrade ultimately checks whether some port should be upgraded. 
Are you saying that the 'r' switch involves a different decision
making process than 'a'?






__ 
Find your next car at http://autos.yahoo.ca
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re[2]: portupgrade -ar (why?)

2005-10-15 Thread Gerard Seibert
On Saturday, October 15, 2005 2:32:25 PM, Jan Grant <[EMAIL PROTECTED]>
Subject: Re: portupgrade -ar (why?)
Wrote these words of wisdom:

> On Sat, 15 Oct 2005, Peter Matulis wrote:
> 
> > What is the use of specifying the 'r' switch when using the 'a'
> > switch?
> > 
> > # portupgrade -ar
> > 
> > This says to upgrade all ports plus the ones that depend on all
> > those ports.  Am I missing something?  Wouldn't "the ones that
> > depend" be upgraded anyway?
> 
> Not necessarily. For instance: package P might use library L. A change 
> in L might alter the size and layout of structures exposed to P. The 
> source-level API of L is unchanged; the binary-level ABI is altered. So 
> whilst the source code of P might not have changed, it might (for 
> instance) be using a macro defined by a header in L that will look at 
> the wrong offset in the new structure. These kinds of ABI compatibility 
> problems can be fixed by recompilihng P.
> 
> 
> -- 
> jan grant, ILRT, University of Bristol. http://www.ilrt.bris.ac.uk/
> Tel +44 (0)117 3317661   http://ioctl.org/jan/
> Strive to live every day as though it was last Wednesday.

* REPLY SEPARATOR *
On 10/11/2005 5:29:42 PM, Gerard Replied:

That is one of the reasons I use portmanager. It takes care of those
requirements without any additional instructions.

-- 
Gerard Seibert
[EMAIL PROTECTED]

You know the very powerful and the very stupid have one thing in
common. They don't alter their views to fit the facts, they alter
the facts to fit their views, which can be uncomfortable if you
happen to be one of the facts that needs altering.

Dr. Who, in "The Face of Evil"
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: bizar problem with a Dell latitude D600's onboard nic

2005-10-15 Thread Philip Keuleers



Alan Gerber wrote:


Gerard Seibert wrote:

On Saturday, October 15, 2005 11:51:26 AM, Philip Keuleers 
<[EMAIL PROTECTED]>

Subject: Re: bizar problem with a Dell latitude D600's onboard nic
Wrote these words of wisdom:

 


Gerard Seibert wrote:

  

On Saturday, October 15, 2005 11:15:26 AM, Philip Keuleers 
<[EMAIL PROTECTED]>

Subject: bizar problem with a Dell latitude D600's onboard nic
Wrote these words of wisdom:






Hi,

I'm looking for some help with a problem I've been having with a 
Dell D600 with a FreeBSD 5.2.1 install. A while ago I started 
getting network timeouts. In my message logs I found entries like 
this:


Oct 10 14:35:04 loki kernel: bge0: PHY read timed out
Oct 10 14:35:04 loki last message repeated 2 times
Oct 10 14:35:09 loki kernel: bge0: watchdog timeout -- resetting
Oct 10 14:35:09 loki kernel: bge0: PHY read timed out
Oct 10 14:35:09 loki kernel: bge0: PHY read timed out
Oct 10 14:35:09 loki kernel: bge0: RX CPU self-diagnostics failed!
Oct 10 14:35:09 loki kernel: bge0: flow-through queue init failed
Oct 10 14:35:09 loki kernel: bge0: initialization failure
Oct 10 14:35:09 loki kernel: bge0: PHY read timed out
Oct 10 14:35:14 loki last message repeated 5 times
Oct 10 14:35:15 loki su: cz2nhc to root on /dev/ttyv0
Oct 10 14:35:19 loki kernel: bge0: PHY read timed out
Oct 10 14:35:29 loki last message repeated 7 times
Oct 10 14:35:29 loki kernel: bge0: RX CPU self-diagnostics failed!
Oct 10 14:35:30 loki kernel: bge0: flow-through queue init failed
Oct 10 14:35:30 loki kernel: bge0: initialization failure
Oct 10 14:35:30 loki kernel: bge0: PHY read timed out
Oct 10 14:36:00 loki last message repeated 20 times

Only a reboot managed to get the onboard nic back in working order 
again. I suspected hardware problems, called Dell support who 
couldn't help me unless I had win XP installed. So I switched 
disks with a colleage and lo and behold my bsd-disk in his laptop: 
no problem, his disk in my laptop: no problem... Not telling Dell 
the whole story I managed to convince them my disk in someone 
elses laptop worked fine thus it must be hardware related. They 
replaced the systemboard and the laptop worked fine for about a 
week or two and the same problem came back... slowly increasing in 
frequency. At first it would be every few days (I could live with 
that) but after a while it was every few hours (no way I could 
live with that). Even worse, at one point the nic wouldn't even 
show up in dmesg as if it wasn't there.
Called Dell again... same blabla.. no XP no help. They insisted I 
upgrade my bios ... so I did and everything worked again... for a 
day and a half... the nic disappeared again. Tried both a linux 
and a XP live cd .. none see the nic. In my messages file I get


Oct 14 18:11:02 loki kernel: pccard1: Card has no functions!
Oct 14 18:11:02 loki kernel: cbb1: PC Card card activation failed

Does anyone have a bright idea of what is happening here? It looks 
like a hardware issue to me but since the systemboard has already 
been replaced I'll need some good arguments to convince the Dell 
boys it's not a FreeBSD issue. Or could it be ?

I'll gladly post any logs or output that could help ... just ask :-)

In working order the nic is listed in a scanpci as

pci bus 0x0002 cardnum 0x00 function 0x00: vendor 0x14e4 device 
0x165d

Broadcom Corporation NetXtreme BCM5705M Gigabit Ethernet

pci bus 0x0002 cardnum 0x01 function 0x00: vendor 0x1217 device 
0x7113

O2 Micro, Inc. Device unknown

pci bus 0x0002 cardnum 0x01 function 0x01: vendor 0x1217 device 
0x7113

O2 Micro, Inc. Device unknown

Thanx in advance for your help

Greetz,
Philip
 
  


* REPLY SEPARATOR *
On 10/11/2005 5:29:42 PM, Gerard Replied:

Maybe I am missing something here, but if you switched disks and the
problem did not resurface, why are you wasting Dell's time swapping 
out

hardware? If you are going to buy a computer system and install an OS
that is not supported by the computer's manufacturer, you have to 
assume

all risks and responsibilities involved with that system. All you are
doing is wasting the time of the tech support people at Dell. They are
obviously not trained to work systems with non Microsoft OS's.

By the way, 5.2.1 is an old build. Why not try 5.4 instead. It might
very well rectify your problem.






I'm aware 5.2.1 is rather old and probably not the best release but 
it worked fine for me on this laptop since it was released. I also 
tried booting from a Freesbie live cd (based on FreeBSD 5.3) with 
the same results.
As for wasting Dell's time... just swapping disks with my collegue 
was a test and at best a workaround, not a solution. On top of that 
I'm only wasting Dell's time if it is proven that FreeBSD is causing 
the problem (wich is actually what I'm trying to determin). If it is 
hardware it IS there problem... besides right now wether I boot it 
with FreeBSD, Linux or XP the problem is there


anyway, I just wanted to ask a questi

Re: portupgrade -ar (why?)

2005-10-15 Thread Jan Grant
On Sat, 15 Oct 2005, Peter Matulis wrote:

> What is the use of specifying the 'r' switch when using the 'a'
> switch?
> 
> # portupgrade -ar
> 
> This says to upgrade all ports plus the ones that depend on all
> those ports.  Am I missing something?  Wouldn't "the ones that
> depend" be upgraded anyway?

Not necessarily. For instance: package P might use library L. A change 
in L might alter the size and layout of structures exposed to P. The 
source-level API of L is unchanged; the binary-level ABI is altered. So 
whilst the source code of P might not have changed, it might (for 
instance) be using a macro defined by a header in L that will look at 
the wrong offset in the new structure. These kinds of ABI compatibility 
problems can be fixed by recompilihng P.


-- 
jan grant, ILRT, University of Bristol. http://www.ilrt.bris.ac.uk/
Tel +44 (0)117 3317661   http://ioctl.org/jan/
Strive to live every day as though it was last Wednesday.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: bizar problem with a Dell latitude D600's onboard nic

2005-10-15 Thread Alan Gerber

Gerard Seibert wrote:


On Saturday, October 15, 2005 11:51:26 AM, Philip Keuleers <[EMAIL PROTECTED]>
Subject: Re: bizar problem with a Dell latitude D600's onboard nic
Wrote these words of wisdom:

 


Gerard Seibert wrote:

   


On Saturday, October 15, 2005 11:15:26 AM, Philip Keuleers <[EMAIL PROTECTED]>
Subject: bizar problem with a Dell latitude D600's onboard nic
Wrote these words of wisdom:



 


Hi,

I'm looking for some help with a problem I've been having with a Dell 
D600 with a FreeBSD 5.2.1 install. A while ago I started getting network 
timeouts. In my message logs I found entries like this:


Oct 10 14:35:04 loki kernel: bge0: PHY read timed out
Oct 10 14:35:04 loki last message repeated 2 times
Oct 10 14:35:09 loki kernel: bge0: watchdog timeout -- resetting
Oct 10 14:35:09 loki kernel: bge0: PHY read timed out
Oct 10 14:35:09 loki kernel: bge0: PHY read timed out
Oct 10 14:35:09 loki kernel: bge0: RX CPU self-diagnostics failed!
Oct 10 14:35:09 loki kernel: bge0: flow-through queue init failed
Oct 10 14:35:09 loki kernel: bge0: initialization failure
Oct 10 14:35:09 loki kernel: bge0: PHY read timed out
Oct 10 14:35:14 loki last message repeated 5 times
Oct 10 14:35:15 loki su: cz2nhc to root on /dev/ttyv0
Oct 10 14:35:19 loki kernel: bge0: PHY read timed out
Oct 10 14:35:29 loki last message repeated 7 times
Oct 10 14:35:29 loki kernel: bge0: RX CPU self-diagnostics failed!
Oct 10 14:35:30 loki kernel: bge0: flow-through queue init failed
Oct 10 14:35:30 loki kernel: bge0: initialization failure
Oct 10 14:35:30 loki kernel: bge0: PHY read timed out
Oct 10 14:36:00 loki last message repeated 20 times

Only a reboot managed to get the onboard nic back in working order 
again. I suspected hardware problems, called Dell support who couldn't 
help me unless I had win XP installed. So I switched disks with a 
colleage and lo and behold my bsd-disk in his laptop: no problem, his 
disk in my laptop: no problem... Not telling Dell the whole story I 
managed to convince them my disk in someone elses laptop worked fine 
thus it must be hardware related. They replaced the systemboard and the 
laptop worked fine for about a week or two and the same problem came 
back... slowly increasing in frequency. At first it would be every few 
days (I could live with that) but after a while it was every few hours 
(no way I could live with that). Even worse, at one point the nic 
wouldn't even show up in dmesg as if it wasn't there.
Called Dell again... same blabla.. no XP no help. They insisted I 
upgrade my bios ... so I did and everything worked again... for a day 
and a half... the nic disappeared again. Tried both a linux and a XP 
live cd .. none see the nic. In my messages file I get


Oct 14 18:11:02 loki kernel: pccard1: Card has no functions!
Oct 14 18:11:02 loki kernel: cbb1: PC Card card activation failed

Does anyone have a bright idea of what is happening here? It looks like 
a hardware issue to me but since the systemboard has already been 
replaced I'll need some good arguments to convince the Dell boys it's 
not a FreeBSD issue. Or could it be ?

I'll gladly post any logs or output that could help ... just ask :-)

In working order the nic is listed in a scanpci as

pci bus 0x0002 cardnum 0x00 function 0x00: vendor 0x14e4 device 0x165d
Broadcom Corporation NetXtreme BCM5705M Gigabit Ethernet

pci bus 0x0002 cardnum 0x01 function 0x00: vendor 0x1217 device 0x7113
O2 Micro, Inc. Device unknown

pci bus 0x0002 cardnum 0x01 function 0x01: vendor 0x1217 device 0x7113
O2 Micro, Inc. Device unknown

Thanx in advance for your help

Greetz,
Philip
  

   


* REPLY SEPARATOR *
On 10/11/2005 5:29:42 PM, Gerard Replied:

Maybe I am missing something here, but if you switched disks and the
problem did not resurface, why are you wasting Dell's time swapping out
hardware? If you are going to buy a computer system and install an OS
that is not supported by the computer's manufacturer, you have to assume
all risks and responsibilities involved with that system. All you are
doing is wasting the time of the tech support people at Dell. They are
obviously not trained to work systems with non Microsoft OS's.

By the way, 5.2.1 is an old build. Why not try 5.4 instead. It might
very well rectify your problem.



 

I'm aware 5.2.1 is rather old and probably not the best release but it 
worked fine for me on this laptop since it was released. I also tried 
booting from a Freesbie live cd (based on FreeBSD 5.3) with the same 
results.
As for wasting Dell's time... just swapping disks with my collegue was a 
test and at best a workaround, not a solution. On top of that I'm only 
wasting Dell's time if it is proven that FreeBSD is causing the problem 
(wich is actually what I'm trying to determin). If it is hardware it IS 
there problem... besides right now wether I boot it with FreeBSD, Linux 
or XP the problem is there


anyway, I just wanted to ask a question ... not start a flame war

Gr

Re: Help Understanding While Loop

2005-10-15 Thread Jan Grant
On Fri, 14 Oct 2005, Will Maier wrote:

> > count = $(( count + 1 ))
>  ^^^ 
> 
> You're missing something here ;)

Actually, you don't need the leading "$". With it, you'll get variable 
interpolation, which'll normally do the same thing. Once the expression 
has been interpolated, it's evaluated, using the values of any variables 
named in the expression.

That is,

count=1
count=$((count + 1))
will do what Drew intended. I think his problem is elsewhere (the while 
loop is a subshell).

-- 
jan grant, ILRT, University of Bristol. http://www.ilrt.bris.ac.uk/
Tel +44 (0)117 3317661   http://ioctl.org/jan/
"I think therefore I am." -- Ronnie Descartes
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


portupgrade -ar (why?)

2005-10-15 Thread Peter Matulis
What is the use of specifying the 'r' switch when using the 'a'
switch?

# portupgrade -ar

This says to upgrade all ports plus the ones that depend on all
those ports.  Am I missing something?  Wouldn't "the ones that
depend" be upgraded anyway?

I understand the reasoning behind using the 'R' switch with 'a'
since there may be new ports that are not installed that are
required by upgradeable ports. 






__ 
Find your next car at http://autos.yahoo.ca
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Gathering statistics on disk usage

2005-10-15 Thread Dan Nelson
In the last episode (Oct 15), Josh Paetzel said:
> > If you apply the patch at
> > http://www.freebsd.org/cgi/query-pr.cgi?pr=bin/68840, you will be
> > able to get %busy stats out of iostat.
> 
> Thanks for your quick reply.  Unfortunately your patch does not apply
> cleanly to a 4.11-STABLE box.  I can supply iostat.c.rej if you want
> it.  I also tried it on a 5.4-RELENG-p7 box and it failed there as
> well.

It definitely should have applied cleanly on 5.4.  I just tested it.
Try downloading the "Raw PR" link at the bottom of the page; that will
remove any html-escaping.  The patch won't work on 4.x because the
devstat interface got overhauled between 4.x and 5.x.

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


kern_fork.c

2005-10-15 Thread tethys ocean
Hi all,

My server messages log is on below and also cant login by root
error: fork: resource temporarily unavalible


mail1 kernel: kern.maxfiles limit exceeded by uid 87, please see tunning (7)
mail1 kernel: maxproc limit exceeded by uid 0, please see tuning (7) and
login.conf

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


Re[2]: bizar problem with a Dell latitude D600's onboard nic

2005-10-15 Thread Gerard Seibert
On Saturday, October 15, 2005 11:51:26 AM, Philip Keuleers <[EMAIL PROTECTED]>
Subject: Re: bizar problem with a Dell latitude D600's onboard nic
Wrote these words of wisdom:

> Gerard Seibert wrote:
> 
> >On Saturday, October 15, 2005 11:15:26 AM, Philip Keuleers <[EMAIL 
> >PROTECTED]>
> >Subject: bizar problem with a Dell latitude D600's onboard nic
> >Wrote these words of wisdom:
> >
> >  
> >
> >>Hi,
> >>
> >>I'm looking for some help with a problem I've been having with a Dell 
> >>D600 with a FreeBSD 5.2.1 install. A while ago I started getting network 
> >>timeouts. In my message logs I found entries like this:
> >>
> >>Oct 10 14:35:04 loki kernel: bge0: PHY read timed out
> >>Oct 10 14:35:04 loki last message repeated 2 times
> >>Oct 10 14:35:09 loki kernel: bge0: watchdog timeout -- resetting
> >>Oct 10 14:35:09 loki kernel: bge0: PHY read timed out
> >>Oct 10 14:35:09 loki kernel: bge0: PHY read timed out
> >>Oct 10 14:35:09 loki kernel: bge0: RX CPU self-diagnostics failed!
> >>Oct 10 14:35:09 loki kernel: bge0: flow-through queue init failed
> >>Oct 10 14:35:09 loki kernel: bge0: initialization failure
> >>Oct 10 14:35:09 loki kernel: bge0: PHY read timed out
> >>Oct 10 14:35:14 loki last message repeated 5 times
> >>Oct 10 14:35:15 loki su: cz2nhc to root on /dev/ttyv0
> >>Oct 10 14:35:19 loki kernel: bge0: PHY read timed out
> >>Oct 10 14:35:29 loki last message repeated 7 times
> >>Oct 10 14:35:29 loki kernel: bge0: RX CPU self-diagnostics failed!
> >>Oct 10 14:35:30 loki kernel: bge0: flow-through queue init failed
> >>Oct 10 14:35:30 loki kernel: bge0: initialization failure
> >>Oct 10 14:35:30 loki kernel: bge0: PHY read timed out
> >>Oct 10 14:36:00 loki last message repeated 20 times
> >>
> >>Only a reboot managed to get the onboard nic back in working order 
> >>again. I suspected hardware problems, called Dell support who couldn't 
> >>help me unless I had win XP installed. So I switched disks with a 
> >>colleage and lo and behold my bsd-disk in his laptop: no problem, his 
> >>disk in my laptop: no problem... Not telling Dell the whole story I 
> >>managed to convince them my disk in someone elses laptop worked fine 
> >>thus it must be hardware related. They replaced the systemboard and the 
> >>laptop worked fine for about a week or two and the same problem came 
> >>back... slowly increasing in frequency. At first it would be every few 
> >>days (I could live with that) but after a while it was every few hours 
> >>(no way I could live with that). Even worse, at one point the nic 
> >>wouldn't even show up in dmesg as if it wasn't there.
> >>Called Dell again... same blabla.. no XP no help. They insisted I 
> >>upgrade my bios ... so I did and everything worked again... for a day 
> >>and a half... the nic disappeared again. Tried both a linux and a XP 
> >>live cd .. none see the nic. In my messages file I get
> >>
> >>Oct 14 18:11:02 loki kernel: pccard1: Card has no functions!
> >>Oct 14 18:11:02 loki kernel: cbb1: PC Card card activation failed
> >>
> >>Does anyone have a bright idea of what is happening here? It looks like 
> >>a hardware issue to me but since the systemboard has already been 
> >>replaced I'll need some good arguments to convince the Dell boys it's 
> >>not a FreeBSD issue. Or could it be ?
> >>I'll gladly post any logs or output that could help ... just ask :-)
> >>
> >>In working order the nic is listed in a scanpci as
> >>
> >>pci bus 0x0002 cardnum 0x00 function 0x00: vendor 0x14e4 device 0x165d
> >>Broadcom Corporation NetXtreme BCM5705M Gigabit Ethernet
> >>
> >>pci bus 0x0002 cardnum 0x01 function 0x00: vendor 0x1217 device 0x7113
> >>O2 Micro, Inc. Device unknown
> >>
> >>pci bus 0x0002 cardnum 0x01 function 0x01: vendor 0x1217 device 0x7113
> >>O2 Micro, Inc. Device unknown
> >>
> >>Thanx in advance for your help
> >>
> >>Greetz,
> >>Philip
> >>
> >>
> >
> >
> >* REPLY SEPARATOR *
> >On 10/11/2005 5:29:42 PM, Gerard Replied:
> >
> >Maybe I am missing something here, but if you switched disks and the
> >problem did not resurface, why are you wasting Dell's time swapping out
> >hardware? If you are going to buy a computer system and install an OS
> >that is not supported by the computer's manufacturer, you have to assume
> >all risks and responsibilities involved with that system. All you are
> >doing is wasting the time of the tech support people at Dell. They are
> >obviously not trained to work systems with non Microsoft OS's.
> >
> >By the way, 5.2.1 is an old build. Why not try 5.4 instead. It might
> >very well rectify your problem.
> >
> >  
> >
> I'm aware 5.2.1 is rather old and probably not the best release but it 
> worked fine for me on this laptop since it was released. I also tried 
> booting from a Freesbie live cd (based on FreeBSD 5.3) with the same 
> results.
> As for wasting Dell's time... just swapping disks with my collegue was a 
> test and at best a workaround, not a solution. On top of that I'm only 
> wasting De

theme ports

2005-10-15 Thread eoghan

Hello
Im having some troulbe loading a theme from  a port  i have  
installed. I installed the baghira theme from the x11-theme ports and  
everything went smooth.
But I dont see it from control centre. I  did the make search key=kde  
| grep Path
and it is there for kde (which is what im using). I didnt find any  
information on this. Do I need to load the theme form the theme  
manager in control centre?

Im not sure where it put the theme... whereis doesnt help me here...
Thanks
Eoghan
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Gathering statistics on disk usage

2005-10-15 Thread Josh Paetzel
> If you apply the patch at
> http://www.freebsd.org/cgi/query-pr.cgi?pr=bin/68840, you will be
> able to get %busy stats out of iostat.
>

Thanks for your quick reply.  Unfortunately your patch does not apply 
cleanly to a 4.11-STABLE box.  I can supply iostat.c.rej if you want 
it.  I also tried it on a 5.4-RELENG-p7 box and it failed there as 
well.

-- 
Thanks,

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


Re: su - does not ask for password

2005-10-15 Thread Kris Anderson
Teo,

If you check your log files you may see something in
there about passwordless accounts. :)

~Mr. Anderson
--- Teo De Las Heras <[EMAIL PROTECTED]> wrote:

> That's exactly why I just assumed that I had set a
> password for root...I
> didn't think it was possible to not have a password
> set.
>  Teo
> 
>  On 10/15/05, Andrew P. <[EMAIL PROTECTED]>
> wrote:
> >
> > On 10/15/05, Teo De Las Heras <[EMAIL PROTECTED]>
> wrote:
> > > That worked! I thought I remembered giving root
> a password!? So, if
> > > you don't have a password set, one is not asked
> for?
> > >
> > > Teo
> > >
> >
> > Quite so. You should never ever leave root
> password
> > blank. In fact, FreeBSD as an OS and many programs
> > try to be secure and deny root access (in some
> ways)
> > if there's no password.
> >
> >
> ___
> freebsd-questions@freebsd.org mailing list
>
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"
> 





__ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Install FreeBSD, and put the disk in a other computer...

2005-10-15 Thread Peter Schuller
> Except for system dependent kernel options, are there any thing that I 
> should be aware of?

The logical position of the drive in question might affect the boot
process (e.g., moving the system from a secondary slave position, with
another drive as secondary master, to another system where it is
primary master). Even then I believe there should be no problems
beyond the obvious /etc/fstab issues, though I have seen some weird
stuff happening on at least one machine (with some wacky Dell BIOS).

> And one other question, how does people backup a Maildir structure, 
> tar/gz and just move the fil away from the system?

tar.gz or just copy the directory structure (e.g, using rsync or
rdiff-backup). Part of the nice thing about Maildir is that this is
perfectly safe (part of the not-so-nice thing is that hundreds of
thousands of small files are not the most efficient to back up).

>  afterwards its just 
> hard to find the deleted mail cause the names in Maildir  are odd. I 
> havent found any good answers to this on google

What do you mean by deleted mail? I do not understand how deleted
mails are related to backing up the Maildir.

-- 
/ Peter Schuller, InfiDyne Technologies HB

PGP userID: 0xE9758B7D or 'Peter Schuller <[EMAIL PROTECTED]>'
Key retrieval: Send an E-Mail to [EMAIL PROTECTED]
E-Mail: [EMAIL PROTECTED] Web: http://www.scode.org

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


Re: Gathering statistics on disk usage

2005-10-15 Thread Dan Nelson
In the last episode (Oct 15), Josh Paetzel said:
> I am trying to set up mrtg to graph disk usage.  I've tried using the
> output of iostat to provide me with usage in MB/s.  The problem with
> this is that moving data from disk to disk on the system causes the
> usage to jump to around 30MB/s.  Even with mrtg configured to draw
> the graphs logarithmically they basically blow up and the normal
> transfers are not really visable.  systat -vm gives statistics on
> disk usage with a percent busy field.  This stat would be easier to
> graph and I would like to use it.  My problem is that I can't seem to
> extract the output of systat properly.  I've tried doing systat -vm |
> tail -n -1 and that doesn't work.  I've also tried systat -vm >
> somefile.txt and that doesn't work.  There doesn't seem to be a way
> to get systat to run once and then quit either.
> 
> Can anyone think of a way to either capture systat's output or
> recommend a utility that will give me a % busy output?  I've tried
> iostat without success.

If you apply the patch at
http://www.freebsd.org/cgi/query-pr.cgi?pr=bin/68840, you will be able
to get %busy stats out of iostat.

You can also try installing net-snmp and polling the diskIOLA5 value
for the disk, but on my system at least, the values don't seem to make
sense (I have seen numbers from -2546 to 3000).

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


Install FreeBSD, and put the disk in a other computer...

2005-10-15 Thread Mikael Syska

Hi,

Just wanted to know if there are any problem in installing FreeBSD in 
one computer and then take the disk and put it in a other computer? I 
want the setup the new system first, before taking the old down, but its 
the same computer thats suppose to run the new system. I have a spare 
computer i will install on first, and then just change the disk.


Conveting from OpenBSD -> FreeBSD

Except for system dependent kernel options, are there any thing that I 
should be aware of?


And one other question, how does people backup a Maildir structure, 
tar/gz and just move the fil away from the system? afterwards its just 
hard to find the deleted mail cause the names in Maildir  are odd. I 
havent found any good answers to this on google


best regards
Syska


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


Re: su - does not ask for password

2005-10-15 Thread Teo De Las Heras
That's exactly why I just assumed that I had set a password for root...I
didn't think it was possible to not have a password set.
 Teo

 On 10/15/05, Andrew P. <[EMAIL PROTECTED]> wrote:
>
> On 10/15/05, Teo De Las Heras <[EMAIL PROTECTED]> wrote:
> > That worked! I thought I remembered giving root a password!? So, if
> > you don't have a password set, one is not asked for?
> >
> > Teo
> >
>
> Quite so. You should never ever leave root password
> blank. In fact, FreeBSD as an OS and many programs
> try to be secure and deny root access (in some ways)
> if there's no password.
>
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: interesting past 4 hours...

2005-10-15 Thread Andrew P.
On 10/15/05, Vulpes Velox <[EMAIL PROTECTED]> wrote:
> On Sat, 15 Oct 2005 12:06:30 +0400
> "Andrew P." <[EMAIL PROTECTED]> wrote:
>
> > Many FreeBSD users came to love Fluxbox. It's
> > a windowmaker-based manager, very nice, very
> > lightweight. It's not an environment, so there are
> > no file managers, viewers, keyrings, etc. included.
> > But it has some support for both KDE and Gnome
> > programs, so you can easily install any Gnome-
> > based tool (it'll also install some parts of Gnome,
> > but not all of it). It has no conflicts with Gnome/
> > KDE, so you can install and see if you like it.
>
> Actually Fluxbox is blackbox based.
>
>

Yes, indeed. But Fluxbox/Blackbox graphics
implementation is still very similar to that of WM.
I should've said WM-like.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: bizar problem with a Dell latitude D600's onboard nic

2005-10-15 Thread Philip Keuleers

Gerard Seibert wrote:


On Saturday, October 15, 2005 11:15:26 AM, Philip Keuleers <[EMAIL PROTECTED]>
Subject: bizar problem with a Dell latitude D600's onboard nic
Wrote these words of wisdom:

 


Hi,

I'm looking for some help with a problem I've been having with a Dell 
D600 with a FreeBSD 5.2.1 install. A while ago I started getting network 
timeouts. In my message logs I found entries like this:


Oct 10 14:35:04 loki kernel: bge0: PHY read timed out
Oct 10 14:35:04 loki last message repeated 2 times
Oct 10 14:35:09 loki kernel: bge0: watchdog timeout -- resetting
Oct 10 14:35:09 loki kernel: bge0: PHY read timed out
Oct 10 14:35:09 loki kernel: bge0: PHY read timed out
Oct 10 14:35:09 loki kernel: bge0: RX CPU self-diagnostics failed!
Oct 10 14:35:09 loki kernel: bge0: flow-through queue init failed
Oct 10 14:35:09 loki kernel: bge0: initialization failure
Oct 10 14:35:09 loki kernel: bge0: PHY read timed out
Oct 10 14:35:14 loki last message repeated 5 times
Oct 10 14:35:15 loki su: cz2nhc to root on /dev/ttyv0
Oct 10 14:35:19 loki kernel: bge0: PHY read timed out
Oct 10 14:35:29 loki last message repeated 7 times
Oct 10 14:35:29 loki kernel: bge0: RX CPU self-diagnostics failed!
Oct 10 14:35:30 loki kernel: bge0: flow-through queue init failed
Oct 10 14:35:30 loki kernel: bge0: initialization failure
Oct 10 14:35:30 loki kernel: bge0: PHY read timed out
Oct 10 14:36:00 loki last message repeated 20 times

Only a reboot managed to get the onboard nic back in working order 
again. I suspected hardware problems, called Dell support who couldn't 
help me unless I had win XP installed. So I switched disks with a 
colleage and lo and behold my bsd-disk in his laptop: no problem, his 
disk in my laptop: no problem... Not telling Dell the whole story I 
managed to convince them my disk in someone elses laptop worked fine 
thus it must be hardware related. They replaced the systemboard and the 
laptop worked fine for about a week or two and the same problem came 
back... slowly increasing in frequency. At first it would be every few 
days (I could live with that) but after a while it was every few hours 
(no way I could live with that). Even worse, at one point the nic 
wouldn't even show up in dmesg as if it wasn't there.
Called Dell again... same blabla.. no XP no help. They insisted I 
upgrade my bios ... so I did and everything worked again... for a day 
and a half... the nic disappeared again. Tried both a linux and a XP 
live cd .. none see the nic. In my messages file I get


Oct 14 18:11:02 loki kernel: pccard1: Card has no functions!
Oct 14 18:11:02 loki kernel: cbb1: PC Card card activation failed

Does anyone have a bright idea of what is happening here? It looks like 
a hardware issue to me but since the systemboard has already been 
replaced I'll need some good arguments to convince the Dell boys it's 
not a FreeBSD issue. Or could it be ?

I'll gladly post any logs or output that could help ... just ask :-)

In working order the nic is listed in a scanpci as

pci bus 0x0002 cardnum 0x00 function 0x00: vendor 0x14e4 device 0x165d
Broadcom Corporation NetXtreme BCM5705M Gigabit Ethernet

pci bus 0x0002 cardnum 0x01 function 0x00: vendor 0x1217 device 0x7113
O2 Micro, Inc. Device unknown

pci bus 0x0002 cardnum 0x01 function 0x01: vendor 0x1217 device 0x7113
O2 Micro, Inc. Device unknown

Thanx in advance for your help

Greetz,
Philip
   




* REPLY SEPARATOR *
On 10/11/2005 5:29:42 PM, Gerard Replied:

Maybe I am missing something here, but if you switched disks and the
problem did not resurface, why are you wasting Dell's time swapping out
hardware? If you are going to buy a computer system and install an OS
that is not supported by the computer's manufacturer, you have to assume
all risks and responsibilities involved with that system. All you are
doing is wasting the time of the tech support people at Dell. They are
obviously not trained to work systems with non Microsoft OS's.

By the way, 5.2.1 is an old build. Why not try 5.4 instead. It might
very well rectify your problem.

 

I'm aware 5.2.1 is rather old and probably not the best release but it 
worked fine for me on this laptop since it was released. I also tried 
booting from a Freesbie live cd (based on FreeBSD 5.3) with the same 
results.
As for wasting Dell's time... just swapping disks with my collegue was a 
test and at best a workaround, not a solution. On top of that I'm only 
wasting Dell's time if it is proven that FreeBSD is causing the problem 
(wich is actually what I'm trying to determin). If it is hardware it IS 
there problem... besides right now wether I boot it with FreeBSD, Linux 
or XP the problem is there


anyway, I just wanted to ask a question ... not start a flame war

Greetz,
Philip


Q: How many Bill Gates does it take to change a lightbulb ?
A: None, he just defines Darknessā„¢ as the new industry standard...
___
freebsd-questions@freebsd.org mailing

Re: 3c905C: very high system/interrupt CPU usage

2005-10-15 Thread Peter Schuller
I should add that this is currently on RELENG_6_0, but the situations
has been the same for a long time. At least as far back as 5.3, but I
believe "forever" (meaning probably 5.1 or so for this machine, I am
not sure).

-- 
/ Peter Schuller, InfiDyne Technologies HB

PGP userID: 0xE9758B7D or 'Peter Schuller <[EMAIL PROTECTED]>'
Key retrieval: Send an E-Mail to [EMAIL PROTECTED]
E-Mail: [EMAIL PROTECTED] Web: http://www.scode.org

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


Re: interesting past 4 hours...

2005-10-15 Thread Vulpes Velox
On Sat, 15 Oct 2005 00:57:10 -0700
Gary Kline <[EMAIL PROTECTED]> wrote:

>   I'll give xfce a try.  Again.  I  played with it months ago
>   but gave up on it after a few days.  Can I run all KDE-ware 
>   and Gnome suites too?

Yeah, it will work. Gnome and KDE just use plain old X for graphics.
Meaning you can easily mix and match it to your needs.

The difference between them is toolkits used to achieve the same
thing.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Gathering statistics on disk usage

2005-10-15 Thread Josh Paetzel
I am trying to set up mrtg to graph disk usage.  I've tried using the 
output of iostat to provide me with usage in MB/s.  The problem with 
this is that moving data from disk to disk on the system causes the 
usage to jump to around 30MB/s.  Even with mrtg configured to draw 
the graphs logarithmically they basically blow up and the normal 
transfers are not really visable.  systat -vm gives statistics on 
disk usage  with a percent busy field.  This stat would be easier to 
graph and I would like to use it.  My problem is that I can't seem to 
extract the output of systat properly.  I've tried doing systat -vm | 
tail -n -1 and that doesn't work.  I've also tried systat -vm > 
somefile.txt and that doesn't work.  There doesn't seem to be a way 
to get systat to run once and then quit either.

Can anyone think of a way to either capture systat's output or 
recommend a utility that will give me a % busy output?  I've tried 
iostat without success.
 
-- 
Thanks,

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


Re: interesting past 4 hours...

2005-10-15 Thread Vulpes Velox
On Sat, 15 Oct 2005 12:06:30 +0400
"Andrew P." <[EMAIL PROTECTED]> wrote:

> Many FreeBSD users came to love Fluxbox. It's
> a windowmaker-based manager, very nice, very
> lightweight. It's not an environment, so there are
> no file managers, viewers, keyrings, etc. included.
> But it has some support for both KDE and Gnome
> programs, so you can easily install any Gnome-
> based tool (it'll also install some parts of Gnome,
> but not all of it). It has no conflicts with Gnome/
> KDE, so you can install and see if you like it.

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


Re: Samba File Transfer Causes Lockup

2005-10-15 Thread Gerard Seibert
On Saturday, October 15, 2005 11:19:49 AM, Brian Watt <[EMAIL PROTECTED]>
Subject: Samba File Transfer Causes Lockup
Wrote these words of wisdom:

> Hello,
> 
> This is my first post to the mailing list, I'll try not to do too many
> annoying things :-)
> 
> I'm having an issue when transferring large files (~350 MB) from a Windows
> XP machine to a Samba share on a FreeBSD server. The transfer starts fine
> and then after a few minutes, Windows shows that the transfer has only gone
> about 50% and the BSD box is locked up completely - I can't input anything
> directly from the console. However, after rebooting the BSD machine, I find
> that the file has transferred successfully in it's entirety. I don't have
> any problems with the disk otherwise, as far as day to day Samba use.
> This is just a small home network - no other users were using any resources
> at the time.
> 
> The machine has two disks, ad0 for the OS and ad1 for /export
> 
> Here is the error message that I see at the console when the machine is
> locked up:
> ad1: TIMEOUT - WRITE_DMA retrying (2 retries left) LBA 7550143
> 
> Some other services running on the BSD box are squid, privoxy, and named.
> 
> uname output:
> FreeBSD turpin 5.4-RELEASE FreeBSD 5.4-RELEASE #0: Sun May 8 10:21:06 UTC
> 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386
> 
> samba-3.0.14a_1,1
> 
> xl0: <3Com 3c905B-TX Fast Etherlink XL>
> 
> Thank you for any input.
> 
> Brian


* REPLY SEPARATOR *
On 10/11/2005 5:29:42 PM, Gerard Replied:

You might try updating your ports and then installing the latest version
of Samba. There were a few problems fixed in the new version that
related to file transfers.

-- 
Gerard Seibert
[EMAIL PROTECTED]


My grandfather once told me that there are two kinds of people:
those who work and those who take the credit. He told me to try to
be in the first group; there was less competition there.

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


Re: bizar problem with a Dell latitude D600's onboard nic

2005-10-15 Thread Gerard Seibert
On Saturday, October 15, 2005 11:15:26 AM, Philip Keuleers <[EMAIL PROTECTED]>
Subject: bizar problem with a Dell latitude D600's onboard nic
Wrote these words of wisdom:

> Hi,
> 
> I'm looking for some help with a problem I've been having with a Dell 
> D600 with a FreeBSD 5.2.1 install. A while ago I started getting network 
> timeouts. In my message logs I found entries like this:
> 
> Oct 10 14:35:04 loki kernel: bge0: PHY read timed out
> Oct 10 14:35:04 loki last message repeated 2 times
> Oct 10 14:35:09 loki kernel: bge0: watchdog timeout -- resetting
> Oct 10 14:35:09 loki kernel: bge0: PHY read timed out
> Oct 10 14:35:09 loki kernel: bge0: PHY read timed out
> Oct 10 14:35:09 loki kernel: bge0: RX CPU self-diagnostics failed!
> Oct 10 14:35:09 loki kernel: bge0: flow-through queue init failed
> Oct 10 14:35:09 loki kernel: bge0: initialization failure
> Oct 10 14:35:09 loki kernel: bge0: PHY read timed out
> Oct 10 14:35:14 loki last message repeated 5 times
> Oct 10 14:35:15 loki su: cz2nhc to root on /dev/ttyv0
> Oct 10 14:35:19 loki kernel: bge0: PHY read timed out
> Oct 10 14:35:29 loki last message repeated 7 times
> Oct 10 14:35:29 loki kernel: bge0: RX CPU self-diagnostics failed!
> Oct 10 14:35:30 loki kernel: bge0: flow-through queue init failed
> Oct 10 14:35:30 loki kernel: bge0: initialization failure
> Oct 10 14:35:30 loki kernel: bge0: PHY read timed out
> Oct 10 14:36:00 loki last message repeated 20 times
> 
> Only a reboot managed to get the onboard nic back in working order 
> again. I suspected hardware problems, called Dell support who couldn't 
> help me unless I had win XP installed. So I switched disks with a 
> colleage and lo and behold my bsd-disk in his laptop: no problem, his 
> disk in my laptop: no problem... Not telling Dell the whole story I 
> managed to convince them my disk in someone elses laptop worked fine 
> thus it must be hardware related. They replaced the systemboard and the 
> laptop worked fine for about a week or two and the same problem came 
> back... slowly increasing in frequency. At first it would be every few 
> days (I could live with that) but after a while it was every few hours 
> (no way I could live with that). Even worse, at one point the nic 
> wouldn't even show up in dmesg as if it wasn't there.
> Called Dell again... same blabla.. no XP no help. They insisted I 
> upgrade my bios ... so I did and everything worked again... for a day 
> and a half... the nic disappeared again. Tried both a linux and a XP 
> live cd .. none see the nic. In my messages file I get
> 
> Oct 14 18:11:02 loki kernel: pccard1: Card has no functions!
> Oct 14 18:11:02 loki kernel: cbb1: PC Card card activation failed
> 
> Does anyone have a bright idea of what is happening here? It looks like 
> a hardware issue to me but since the systemboard has already been 
> replaced I'll need some good arguments to convince the Dell boys it's 
> not a FreeBSD issue. Or could it be ?
> I'll gladly post any logs or output that could help ... just ask :-)
> 
> In working order the nic is listed in a scanpci as
> 
> pci bus 0x0002 cardnum 0x00 function 0x00: vendor 0x14e4 device 0x165d
> Broadcom Corporation NetXtreme BCM5705M Gigabit Ethernet
> 
> pci bus 0x0002 cardnum 0x01 function 0x00: vendor 0x1217 device 0x7113
> O2 Micro, Inc. Device unknown
> 
> pci bus 0x0002 cardnum 0x01 function 0x01: vendor 0x1217 device 0x7113
> O2 Micro, Inc. Device unknown
> 
> Thanx in advance for your help
> 
> Greetz,
> Philip


* REPLY SEPARATOR *
On 10/11/2005 5:29:42 PM, Gerard Replied:

Maybe I am missing something here, but if you switched disks and the
problem did not resurface, why are you wasting Dell's time swapping out
hardware? If you are going to buy a computer system and install an OS
that is not supported by the computer's manufacturer, you have to assume
all risks and responsibilities involved with that system. All you are
doing is wasting the time of the tech support people at Dell. They are
obviously not trained to work systems with non Microsoft OS's.

By the way, 5.2.1 is an old build. Why not try 5.4 instead. It might
very well rectify your problem.

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


3c905C: very high system/interrupt CPU usage

2005-10-15 Thread Peter Schuller
Hello,

I have a machine here with a couple of 3c905C:s in it. For some
reason, network activity causes very high amounts of system and
interrupt CPU usage. By "very high" i mean more than 50% interrupt,
and more than 25% system usage.

It is not just a measuring issue either, because the whole reason I
looked into it was that file transfers have been slow for as long as I
can remember.  Especially with ssh, everything is extremely slow given
that only a small fraction of the available CPU resources are left
over for userspace.

Any ideas on what would cause this? I am not experiencing any other
issues with the NIC or anything else, its just the high CPU
usage. Could it be that the xl driver has fallen back to not using DMA
(is that even supported with 3c905c?)? If this is the case, is there a
way to find out whether it is currently using DMA? (I see nothing in
particular in the kernel log).

Also: The CPU usage problem occurrs on both outgoing and incoming
traffic, and on both NIC:s.

-- 
/ Peter Schuller, InfiDyne Technologies HB

PGP userID: 0xE9758B7D or 'Peter Schuller <[EMAIL PROTECTED]>'
Key retrieval: Send an E-Mail to [EMAIL PROTECTED]
E-Mail: [EMAIL PROTECTED] Web: http://www.scode.org

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


Samba File Transfer Causes Lockup

2005-10-15 Thread Brian Watt
Hello,

This is my first post to the mailing list, I'll try not to do too many
annoying things :-)

I'm having an issue when transferring large files (~350 MB) from a Windows
XP machine to a Samba share on a FreeBSD server. The transfer starts fine
and then after a few minutes, Windows shows that the transfer has only gone
about 50% and the BSD box is locked up completely - I can't input anything
directly from the console. However, after rebooting the BSD machine, I find
that the file has transferred successfully in it's entirety. I don't have
any problems with the disk otherwise, as far as day to day Samba use.
This is just a small home network - no other users were using any resources
at the time.

The machine has two disks, ad0 for the OS and ad1 for /export

Here is the error message that I see at the console when the machine is
locked up:
ad1: TIMEOUT - WRITE_DMA retrying (2 retries left) LBA 7550143

Some other services running on the BSD box are squid, privoxy, and named.

uname output:
FreeBSD turpin 5.4-RELEASE FreeBSD 5.4-RELEASE #0: Sun May 8 10:21:06 UTC
2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386

samba-3.0.14a_1,1

xl0: <3Com 3c905B-TX Fast Etherlink XL>

Thank you for any input.

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


bizar problem with a Dell latitude D600's onboard nic

2005-10-15 Thread Philip Keuleers

Hi,

I'm looking for some help with a problem I've been having with a Dell 
D600 with a FreeBSD 5.2.1 install. A while ago I started getting network 
timeouts. In my message logs I found entries like this:


Oct 10 14:35:04 loki kernel: bge0: PHY read timed out
Oct 10 14:35:04 loki last message repeated 2 times
Oct 10 14:35:09 loki kernel: bge0: watchdog timeout -- resetting
Oct 10 14:35:09 loki kernel: bge0: PHY read timed out
Oct 10 14:35:09 loki kernel: bge0: PHY read timed out
Oct 10 14:35:09 loki kernel: bge0: RX CPU self-diagnostics failed!
Oct 10 14:35:09 loki kernel: bge0: flow-through queue init failed
Oct 10 14:35:09 loki kernel: bge0: initialization failure
Oct 10 14:35:09 loki kernel: bge0: PHY read timed out
Oct 10 14:35:14 loki last message repeated 5 times
Oct 10 14:35:15 loki su: cz2nhc to root on /dev/ttyv0
Oct 10 14:35:19 loki kernel: bge0: PHY read timed out
Oct 10 14:35:29 loki last message repeated 7 times
Oct 10 14:35:29 loki kernel: bge0: RX CPU self-diagnostics failed!
Oct 10 14:35:30 loki kernel: bge0: flow-through queue init failed
Oct 10 14:35:30 loki kernel: bge0: initialization failure
Oct 10 14:35:30 loki kernel: bge0: PHY read timed out
Oct 10 14:36:00 loki last message repeated 20 times

Only a reboot managed to get the onboard nic back in working order 
again. I suspected hardware problems, called Dell support who couldn't 
help me unless I had win XP installed. So I switched disks with a 
colleage and lo and behold my bsd-disk in his laptop: no problem, his 
disk in my laptop: no problem... Not telling Dell the whole story I 
managed to convince them my disk in someone elses laptop worked fine 
thus it must be hardware related. They replaced the systemboard and the 
laptop worked fine for about a week or two and the same problem came 
back... slowly increasing in frequency. At first it would be every few 
days (I could live with that) but after a while it was every few hours 
(no way I could live with that). Even worse, at one point the nic 
wouldn't even show up in dmesg as if it wasn't there.
Called Dell again... same blabla.. no XP no help. They insisted I 
upgrade my bios ... so I did and everything worked again... for a day 
and a half... the nic disappeared again. Tried both a linux and a XP 
live cd .. none see the nic. In my messages file I get


Oct 14 18:11:02 loki kernel: pccard1: Card has no functions!
Oct 14 18:11:02 loki kernel: cbb1: PC Card card activation failed

Does anyone have a bright idea of what is happening here? It looks like 
a hardware issue to me but since the systemboard has already been 
replaced I'll need some good arguments to convince the Dell boys it's 
not a FreeBSD issue. Or could it be ?

I'll gladly post any logs or output that could help ... just ask :-)

In working order the nic is listed in a scanpci as

pci bus 0x0002 cardnum 0x00 function 0x00: vendor 0x14e4 device 0x165d
Broadcom Corporation NetXtreme BCM5705M Gigabit Ethernet

pci bus 0x0002 cardnum 0x01 function 0x00: vendor 0x1217 device 0x7113
O2 Micro, Inc. Device unknown

pci bus 0x0002 cardnum 0x01 function 0x01: vendor 0x1217 device 0x7113
O2 Micro, Inc. Device unknown

Thanx in advance for your help

Greetz,
Philip


Q: How many Bill Gates does it take to change a lightbulb ?
A: None, he just defines Darknessā„¢ as the new industry standard...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: interesting past 4 hours...

2005-10-15 Thread Giorgos Keramidas
On 2005-10-14 21:08, Nikolas Britton <[EMAIL PROTECTED]> wrote:
> I use KDE on my fast systems and XFCE on the slow ones.

Hehe!  I tend to use XFCE even on my fast ones :)

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


Re: 2 keyboards, 2 mice, 2 monitors with 1 PC; possible?

2005-10-15 Thread Micah

John Oxley wrote:

On Thu, Oct 13, 2005 at 07:53:54PM -0700, Micah wrote:


Rob wrote:


xorg supports dual-head, which could be
a starting point.


crw---  1 root  wheel3,  63 Sep 11 15:52
/dev/kbd0
crw---  1 root  wheel3, 195 Sep 11 15:52
/dev/kbd1
crw---  1 root  wheel3,  31 Sep 11 15:52
/dev/sysmouse



Check out 
http://www.google.com/search?hl=en&lr=&as_qdr=all&q=+site:lists.freebsd.org+freebsd+multiple+keyboards

A few minutes of reading suggests:
FreeBSD recognizes multiple keyboards.
Console can only accept input from one keyboard at a time.
You can read input from the keyboard that is not in use.
Setting up X may be tricky.



The tricky part of X will be to get one server to run on monitor A and
another to run on monitor B.

You need to create two xorg.conf (or similar for XFree86) files, and
modify the "InputDevice" sections for the CorePointer and CoreKeyboard
sections for the second X server.

The mouse one should be easy
Option  "Device""/dev/input/mice"
just change that line.  I presume the Keyboard section will have
something similar in it.

I have no idea how you'd handle the two monitors though.

-John



Don't forget to CC the list or the original poster will never benefit 
from your advice.


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


Re: Should I increase vfs.read_max

2005-10-15 Thread Dan Nelson
In the last episode (Oct 15), Deepak Naidu said:
> Hi,
>  I am running FreeBSD 5.4 on SunFire v20 on single
> hard disk 73 GB...
> 
> I googled down some links regarding increasing IO
> performance.  It said increase vfs.read_max from 8 to
> 16. I have done that, but cant justify any
> improvement, as I am running mailserver(spam checker).
>  Should I revert to 8 or use 16.

Raising vfs.read_max is most helpful when you are reading large
sequential files from RAID arrays.  On a single-disk system, all it
does is allow sequential readers to starve random readers.

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


Re: Should I increase vfs.read_max

2005-10-15 Thread Andrew P.
On 10/15/05, Deepak Naidu <[EMAIL PROTECTED]> wrote:
> Thanx Andrew,
>
>  Could u provide some details, where can I
> obtain 6.0, stable or what ever the updated release is
> there for 6.0.  The exact ISO download location.
>
> Bcos, I am always confused which one of 6.0 is perfect
> or  good.  If at all I am upgrading, how should I do.
>
> Thanx again for the feedback.
>
> Can I use Raisefs/XFS in Read and Write mode in 6.0
>
> I know I am asking for more.
>

I see that you live in India. Unfortunately, there are no
good mirrors there that I know about. You can try to
download 6.0-RC1 image from our central ftp server:
ftp://ftp.freebsd.org/pub/FreeBSD/ISO-IMAGES-i386/6.0/6.0-RC1-i386-disc1.iso

But if the box is directly connected to the Internet
(even via slow/lossy link), you'd better cvsup to
the latest source tree and rebuild world/kernel.
The update from 5.4 to 6.0 is painless.

6.0 has read-only support for ReiserFS partitions,
there's an effort to provide XFS support also, but
it's far from complete yet. For most applications,
UFS2 is as good (fast, reliable, feature-rich) as
it gets.

You can learn how to upgrade your system to
6.0 by reading this:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cutting-edge.html

post to this list in case of trouble, but choose
a new subj line.


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


Re: p7zip 4.20 -> 4.29

2005-10-15 Thread Sergey Matveychuk

Andrew P. wrote:


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


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


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


Re: p7zip 4.20 -> 4.29

2005-10-15 Thread Andrew P.
On 10/15/05, Andrew P. <[EMAIL PROTECTED]> wrote:
> On 10/15/05, Sergey Matveychuk <[EMAIL PROTECTED]> wrote:
> > Andrew P. wrote:
> > > archivers/p7zip:
> > > 4.20 -> 4.29
> >
> > Already in ports tree for a week.
> > Use http://www.freshports.org to see ports updates.
> > --
> > Sem.
> >
> >
>
> http://www.freshports.org/archivers/p7zip/
> http://www.freebsd.org/cgi/cvsweb.cgi/ports/archivers/p7zip/
>
> Last update was 4 months ago, wake up already :-)
>
>

Sorry, it wasn't meant to be sent to questions@
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: p7zip 4.20 -> 4.29

2005-10-15 Thread Andrew P.
On 10/15/05, Sergey Matveychuk <[EMAIL PROTECTED]> wrote:
> Andrew P. wrote:
> > archivers/p7zip:
> > 4.20 -> 4.29
>
> Already in ports tree for a week.
> Use http://www.freshports.org to see ports updates.
> --
> Sem.
>
>

http://www.freshports.org/archivers/p7zip/
http://www.freebsd.org/cgi/cvsweb.cgi/ports/archivers/p7zip/

Last update was 4 months ago, wake up already :-)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Problem with modem Zyxel OMNI PCI in FreeBSD 5.3-RELEASE

2005-10-15 Thread ZeroCool
Hi all

How use this modem in FreeBSD 
I have read HandBook, as well as HARDWARE.TXT on Install CD, 
but don't find necessary information.

I will be grateful for the help !


Sukharew Andrew 
System Administrator 
State institution "Research of Yamal"
Tel.(work) +7(34922)7-16-05 
  (Internal) 502, 777
  (home) +7 (34922) 7-27-17
e-mail: [EMAIL PROTECTED]
ICQ UIN# 174811927
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Should I increase vfs.read_max

2005-10-15 Thread Deepak Naidu
Thanx Andrew,

 Could u provide some details, where can I
obtain 6.0, stable or what ever the updated release is
there for 6.0.  The exact ISO download location.

Bcos, I am always confused which one of 6.0 is perfect
or  good.  If at all I am upgrading, how should I do.

Thanx again for the feedback.

Can I use Raisefs/XFS in Read and Write mode in 6.0

I know I am asking for more.

Cheers,
Deepak Naidu.

--- "Andrew P." <[EMAIL PROTECTED]> wrote:

> On 10/15/05, Deepak Naidu <[EMAIL PROTECTED]>
> wrote:
> > Hi,
> >  I am running FreeBSD 5.4 on SunFire v20 on
> single
> > hard disk 73 GB...
> >
> > I googled down some links regarding increasing IO
> > performance.  It said increase vfs.read_max from 8
> to
> > 16. I have done that, but cant justify any
> > improvement, as I am running mailserver(spam
> checker).
> >  Should I revert to 8 or use 16.
> >
> > Have any one tried or is it recommended.
> >
> > Also, how do I enable hyperthearding, does it
> improve
> > performance...
> >
> > Link:
> >
>
http://www.mail-archive.com/freebsd-performance@freebsd.org/msg00144.html
> >
> > Cheers,
> > Deepak Naidu
> >
> >
> >
> >
>
___
> > How much free photo storage do you get? Store your
> holiday
> > snaps for FREE with Yahoo! Photos
> http://uk.photos.yahoo.com
> > ___
> > freebsd-questions@freebsd.org mailing list
> >
>
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"
> >
> >
> 
> Think about upgrading to 6.0-RC1, its disk
> performance
> is great.
> 
> Hyperthreading will probably bring you more
> problems,
> than performance. If you don't run very intensive
> virus scanning, you don't need it.
> ___
> freebsd-questions@freebsd.org mailing list
>
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"
> 



Linux your Life, Don't Window it [[]] 

   { All for the best }






___ 
Does your mail provider give you FREE antivirus protection? 
Get Yahoo! Mail http://uk.mail.yahoo.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Should I increase vfs.read_max

2005-10-15 Thread Deepak Naidu

--- "Andrew P." <[EMAIL PROTECTED]> wrote:

> On 10/15/05, Deepak Naidu <[EMAIL PROTECTED]>
> wrote:
> > Hi,
> >  I am running FreeBSD 5.4 on SunFire v20 on
> single
> > hard disk 73 GB...
> >
> > I googled down some links regarding increasing IO
> > performance.  It said increase vfs.read_max from 8
> to
> > 16. I have done that, but cant justify any
> > improvement, as I am running mailserver(spam
> checker).
> >  Should I revert to 8 or use 16.
> >
> > Have any one tried or is it recommended.
> >
> > Also, how do I enable hyperthearding, does it
> improve
> > performance...
> >
> > Link:
> >
>
http://www.mail-archive.com/freebsd-performance@freebsd.org/msg00144.html
> >
> > Cheers,
> > Deepak Naidu
> >
> >
> >
> >
>
___
> > How much free photo storage do you get? Store your
> holiday
> > snaps for FREE with Yahoo! Photos
> http://uk.photos.yahoo.com
> > ___
> > freebsd-questions@freebsd.org mailing list
> >
>
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"
> >
> >
> 
> Think about upgrading to 6.0-RC1, its disk
> performance
> is great.
> 
> Hyperthreading will probably bring you more
> problems,
> than performance. If you don't run very intensive
> virus scanning, you don't need it.
> ___
> freebsd-questions@freebsd.org mailing list
>
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"
> 



Linux your Life, Don't Window it [[]] 

   { All for the best }






___ 
How much free photo storage do you get? Store your holiday 
snaps for FREE with Yahoo! Photos http://uk.photos.yahoo.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


problem compiling jdk14

2005-10-15 Thread Filippo Moretti

I ran inthe following error while attempint to upgrade sun-jdk14 on
5.4-stable i386 architecture
/bsd_i486/vm -I../generated 
-DHOTSPOT_BUILD_VERSION="\"1.4.2-p7-filippo_14_oct_2005_15_44\""
Compiling 
/usr/ports/java/jdk14/work/hotspot/src/share/vm/runtime/functionAtStart.cpp
Compiling 
/usr/ports/java/jdk14/work/hotspot/src/share/vm/utilities/accessFlags.cpp

Compiling ../generated/adfiles/ad_i486.cpp
{standard input}: Assembler messages:
{standard input}:46443: Warning: end of file not at end of a line; 
newline inserted

{standard input}:46859: Error: unknown pseudo-op: `.'
g++: Internal error: Killed (program cc1plus)
Please submit a full bug report.
See http://gcc.gnu.org/bugs.html> for instructions.
gmake[3]: *** [ad_i486.o] Error 1
gmake[3]: Leaving directory 
`/usr/ports/java/jdk14/work/control/build/bsd-i586/h

otspot-i586/tmp/bsd_i486_compiler2/jvmg'
gmake[2]: *** [the_vm] Error 2
gmake[2]: Leaving directory 
`/usr/ports/java/jdk14/work/control/build/bsd-i586/hotspot-i586/tmp/bsd_i486_compiler2/jvmg'

gmake[1]: *** [jvmg] Error 2
gmake[1]: Leaving directory 
`/usr/ports/java/jdk14/work/control/build/bsd-i586/hotspot-i586/tmp'

gmake: *** [jvmg] Error 2
*** Error code 2

Stop in /usr/ports/java/jdk14.
** Command failed [exit code 1]: /usr/bin/script -qa 
/tmp/portupgrade66043.1 make

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


Re: Burning DVDs

2005-10-15 Thread edward

Hi albi, Mark, Robert and Paul,
I followed albi's advice and rebuilt the kernel with a scsi emulator.
Works perfect.
Thanks for your help, guys.
Edward


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


Re: interesting past 4 hours...

2005-10-15 Thread Glyn Millington
Gary Kline <[EMAIL PROTECTED]> writes:

>   I'll give xfce a try.  Again.  I  played with it months ago
>   but gave up on it after a few days.  Can I run all KDE-ware 
>   and Gnome suites too?

Hi Gary,

I'm running Xfce4 over here on Slackware, and there are no problems
firing up KDE apps as needed. 

A neat thing if you have python aboard is the MenuMaker script

http://menumaker.sourceforge.net/

,
| MenuMaker is utility written entirely in Python that scans through the
| system for installed programs and generates menu for specified X window
| manager. It is by far more superior to existing solutions in terms of
| knowledge base size, maintainability and extensibility, and has a number
| of features that have no counterparts in its class. MenuMaker is intended
| for users of lightweight *NIX graphical desktop environments.
`

But it will scoop up all your KDE and Gnome apps too :-)  It certainly
beats churning out menus by hand!  It works with Fluxbox, openbox, Icewm,
Windowmaker, Xfce and Xfce4...


Good luck

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


Re: Contact Management Software

2005-10-15 Thread Andrew P.
On 10/14/05, Mark Kane <[EMAIL PROTECTED]> wrote:
> Hi everyone. I have a co-worker who wants to get away from Windows as
> much as possible. I've told him about free and open source alternatives
> for everything else he needs to do, but contact management is something
> I'm having problems with.
>
> The good thing is he doesn't already have years of data in one format
> like ACT. I'm looking for a something comparable on the FreeBSD side to
> Maximizer, ACT, or Goldmine. Some key features he requires are:
>
> - Contact Manager
> - Keep track of every aspect of every contact. Things like call logs,
> letter logs, comments, to-do lists.
> - Reports of contacts. To do items, completed items, etc
> - Mail merge
> - Label Printing
> - Expense report. Hours spent on clients or projects.
> - Possible remote access so a couple associates could login and add
> things and look at things
> - Possible integration with an email client like Mozilla Thunderbird to
> file incoming mail by contact.
>
> He already owns the Maximizer 7 software for Windows but has not started
> to use it yet, so that's why I'm trying to get suggestions or input on
> what you all use for your contact management and sales software.
>
> Thanks very much in advance!
>
> -Mark
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
>
>

If I were him, I'd wait for a web-based solution from
Google or some other vendor. I think we'll see a
beta within a couple of months.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Should I increase vfs.read_max

2005-10-15 Thread Andrew P.
On 10/15/05, Deepak Naidu <[EMAIL PROTECTED]> wrote:
> Hi,
>  I am running FreeBSD 5.4 on SunFire v20 on single
> hard disk 73 GB...
>
> I googled down some links regarding increasing IO
> performance.  It said increase vfs.read_max from 8 to
> 16. I have done that, but cant justify any
> improvement, as I am running mailserver(spam checker).
>  Should I revert to 8 or use 16.
>
> Have any one tried or is it recommended.
>
> Also, how do I enable hyperthearding, does it improve
> performance...
>
> Link:
> http://www.mail-archive.com/freebsd-performance@freebsd.org/msg00144.html
>
> Cheers,
> Deepak Naidu
>
>
>
> ___
> How much free photo storage do you get? Store your holiday
> snaps for FREE with Yahoo! Photos http://uk.photos.yahoo.com
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
>
>

Think about upgrading to 6.0-RC1, its disk performance
is great.

Hyperthreading will probably bring you more problems,
than performance. If you don't run very intensive
virus scanning, you don't need it.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FreeBSD routing

2005-10-15 Thread Andrew P.
On 10/15/05, Bob Hepple <[EMAIL PROTECTED]> wrote:
> Hello!
>
> I'm new to FreeBSD (5.3) and trying to make the transition from Linux. One
> thing that has me stumped is a routing question... it must be something
> really simple because I can do it all the time in Linux.
>
> I just want to add an arbitrary machine (eg. with IP 192.168.2.214) to my
> home network 192.168.254.0/24. Under Linux I just do a
>
> route add -host 192.168.2.214 eth0
>
> and I can ping it.
>
> On FreeBSD I tried both
>
> route add -host 192.168.2.214 192.168.254.245
> route add -host 192.168.2.214 -interface rl0
>
> but I'm getting some kind of redirect loop. Apparently my use of the
> FreeBSD route command is wrong.
>
> BTW - I don't want to use DHCP for various reasons (mainly because I need
> to ssh to the new machine and therefore need to have a known IP address -
> but also because some of the machines I need to add don't support DHCP
> clients or else setting them up to do so is just too much).
>
> I haven't got round to natd and firewalling stuff yet and I won't try
> turning these on until I can at least ping the new box. For now, these
> features are not enabled in /etc/rc.conf.
>
> Just to eliminate the obvious - yes I booted Linux on this machine
> and tested it and it worked - so it's not a h/w problem.
>
> Here's the detail: I'm issuing the "route add" commands on "raita" and
> trying to reach "rasam":
>
>   internet
> |
>   router
> .192.168.0.1
> .
> .  wireless
> .
> .ath0/192.168.0.18
>   raita
> |rl0/192.168.254.245
> |
> -- 10baseT
>|
>|
>|192.168.2.214
>  rasam
>
> bash-2.05b# ifconfig -a
> rl0: flags=8843 mtu 1500
> options=8
> inet 192.168.254.245 netmask 0xff00 broadcast 192.168.254.255
> inet6 fe80::201:29ff:fe74:99c2%rl0 prefixlen 64 scopeid 0x1
> ether 00:01:29:74:99:c2
> media: Ethernet autoselect (none)
> status: no carrier
> ath0: flags=8843 mtu 1500
> inet 192.168.0.18 netmask 0xff00 broadcast 192.168.0.255
> inet6 fe80::209:5bff:fee8:b9d2%ath0 prefixlen 64 scopeid 0x3
> ether 00:09:5b:e8:b9:d2
> media: IEEE 802.11 Wireless Ethernet autoselect (OFDM/54Mbps)
> status: associated
> ssid Baroona 1:Baroona
> channel 6 authmode OPEN powersavemode OFF powersavesleep 100
> rtsthreshold 2312 protmode CTS
> wepmode MIXED weptxkey 1
> wepkey 1:40-bit
>
> I tried two ways to add the route to rasam from raita:
>
> 1/ using the address for the interface:
>
> # netstat -rn
> Routing tables
>
> Internet:
> DestinationGatewayFlagsRefs  Use  Netif Expire
> default192.168.0.1UGS 0   24   ath0
> 127.0.0.1  127.0.0.1  UH  0  139lo0
> 192.168.0  link#3 UC  00   ath0
> 192.168.0.1link#3 UHLW1   22   ath0
> 192.168.254link#1 UC  00rl0
>
> bash-2.05b# route add -host 192.168.2.214 192.168.254.245
> add host 192.168.2.214: gateway 192.168.254.245
> bash-2.05b# netstat -rn
> Routing tables
>
> Internet:
> DestinationGatewayFlagsRefs  Use  Netif Expire
> default192.168.0.1UGS 0  700   ath0
> 127.0.0.1  127.0.0.1  UH  0  139lo0
> 192.168.0  link#3 UC  00   ath0
> 192.168.0.100:09:5b:ec:45:4a  UHLW1   44   ath0547
> 192.168.2.214  192.168.254.245UGHS0  448rl0
> 192.168.254link#1 UC  00rl0
> 192.168.254.24500:01:29:74:99:c2  UHLW1  448lo0
>
> bash-2.05b# ping rasam
> PING rasam.gc.eracom-tech.com (192.168.2.214): 56 data bytes
> 36 bytes from raita.finder.com.au (192.168.254.245): Redirect Host(New addr: 
> 192.168.254.245)
> Vr HL TOS  Len   ID Flg  off TTL Pro  cks  Src  Dst
>  4  5  00 0054 00ba   0   40  01 f6d2 192.168.254.245  192.168.2.214
> ...
>
> 2/ By using the interface name:
>
> bash-2.05b# netstat -rn
> Routing tables
>
> Internet:
> DestinationGatewayFlagsRefs  Use  Netif Expire
> default192.168.0.1UGS 0  708   ath0
> 127.0.0.1  127.0.0.1  UH  0  139lo0
> 192.168.0  link#3 UC  00   ath0
> 192.168.0.100:09:5b:ec:45:4a  UHLW1   44   ath0315
> 192.168.254link#1 UC  00rl0
> 192.168.254.24500:01:29:74:99:c2  UHLW0  448lo0
>
> bash-2.05b# route add -host 192.168.2.214 -interface rl0
> add host 192.168.2.214: ga

Re: interesting past 4 hours...

2005-10-15 Thread Andrew P.
On 10/15/05, Gary Kline <[EMAIL PROTECTED]> wrote:
> On Fri, Oct 14, 2005 at 09:08:31PM -0500, Nikolas Britton wrote:
> > On 10/12/05, Gary Kline <[EMAIL PROTECTED]> wrote:
> > > This is to anybody with Gnome or KDE insights,
> > >
> > > First, both environments do work on my 400Mhz ThinkPad
> > > (with almost 300M/SDRAM).  KDE has a nicer feel for my tastes
> > > but the response in beyond crummy even with nearly all
> > > eye-candy.
> >
> > Did you mean to say with all eye-candy disabled?... Have you checked out 
> > XFCE?
> >
> > Intro to XFCE:
> > http://www.xfce.org/index.php?page=overview&lang=en
> >
> > Here are some flash based demos:
> > http://www.xfce.org/various/flash_demos.html
> >
> > The XFCE meta port is in x11-wm/xfce4 and don't forget about all the
> > plugins: http://www.freebsd.org/cgi/ports.cgi?query=XFCE&stype=all
> >
> > After you install the XFCE meta port type in rehash and then
> > startxfce4, if you like it and want to keep it as your default desktop
> > environment type in "echo "/usr/X11R6/bin/startxfce4" > ~/.xinitrc".
> > the FreeBSD handbook as a bit about XFCE in section 5.7.4
> > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x11-wm.html
> >
> > I use KDE on my fast systems and XFCE on the slow ones.
> >
>
> I'll give xfce a try.  Again.  I  played with it months ago
> but gave up on it after a few days.  Can I run all KDE-ware
> and Gnome suites too?
>
> Thanks for the pointers!
>
> gary
>
>
>
> --
>Gary Kline [EMAIL PROTECTED]   www.thought.org Public service Unix
>
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
>
>

Many FreeBSD users came to love Fluxbox. It's
a windowmaker-based manager, very nice, very
lightweight. It's not an environment, so there are
no file managers, viewers, keyrings, etc. included.
But it has some support for both KDE and Gnome
programs, so you can easily install any Gnome-
based tool (it'll also install some parts of Gnome,
but not all of it). It has no conflicts with Gnome/
KDE, so you can install and see if you like it.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: interesting past 4 hours...

2005-10-15 Thread Gary Kline
On Fri, Oct 14, 2005 at 09:08:31PM -0500, Nikolas Britton wrote:
> On 10/12/05, Gary Kline <[EMAIL PROTECTED]> wrote:
> > This is to anybody with Gnome or KDE insights,
> >
> > First, both environments do work on my 400Mhz ThinkPad
> > (with almost 300M/SDRAM).  KDE has a nicer feel for my tastes
> > but the response in beyond crummy even with nearly all
> > eye-candy.
> 
> Did you mean to say with all eye-candy disabled?... Have you checked out XFCE?
> 
> Intro to XFCE:
> http://www.xfce.org/index.php?page=overview&lang=en
> 
> Here are some flash based demos:
> http://www.xfce.org/various/flash_demos.html
> 
> The XFCE meta port is in x11-wm/xfce4 and don't forget about all the
> plugins: http://www.freebsd.org/cgi/ports.cgi?query=XFCE&stype=all
> 
> After you install the XFCE meta port type in rehash and then
> startxfce4, if you like it and want to keep it as your default desktop
> environment type in "echo "/usr/X11R6/bin/startxfce4" > ~/.xinitrc".
> the FreeBSD handbook as a bit about XFCE in section 5.7.4
> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x11-wm.html
> 
> I use KDE on my fast systems and XFCE on the slow ones.
> 

I'll give xfce a try.  Again.  I  played with it months ago
but gave up on it after a few days.  Can I run all KDE-ware 
and Gnome suites too?

Thanks for the pointers!

gary



-- 
   Gary Kline [EMAIL PROTECTED]   www.thought.org Public service Unix

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


Re: su - does not ask for password

2005-10-15 Thread Andrew P.
On 10/15/05, Teo De Las Heras <[EMAIL PROTECTED]> wrote:
> That worked!  I thought I remembered giving root a password!?  So, if
> you don't have a password set, one is not asked for?
>
> Teo
>

Quite so. You should never ever leave root password
blank. In fact, FreeBSD as an OS and many programs
try to be secure and deny root access (in some ways)
if there's no password.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


promise sx6000 on 4.11-RELEASE-p12

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

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

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

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

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


Should I increase vfs.read_max

2005-10-15 Thread Deepak Naidu
Hi,
 I am running FreeBSD 5.4 on SunFire v20 on single
hard disk 73 GB...

I googled down some links regarding increasing IO
performance.  It said increase vfs.read_max from 8 to
16. I have done that, but cant justify any
improvement, as I am running mailserver(spam checker).
 Should I revert to 8 or use 16.

Have any one tried or is it recommended.

Also, how do I enable hyperthearding, does it improve
performance...

Link:
http://www.mail-archive.com/freebsd-performance@freebsd.org/msg00144.html

Cheers,
Deepak Naidu



___ 
How much free photo storage do you get? Store your holiday 
snaps for FREE with Yahoo! Photos http://uk.photos.yahoo.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"