Re: Slowish 5.3 network throughput (LAN)

2004-11-11 Thread Nelis Lamprecht
On Thu, 11 Nov 2004 14:38:48 -0600 (CST), [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
> Hi list,
> 
> About 4 days ago I downloaded 5.3-RELEASE (.iso) from ftp.nl. at about
> 6mB/s from a server I have on a .nl provider. Today I wanted to do some
> testing, and while downloading that same ISO (which I downloaded at 6
> megabytes/s) from two different servers on the same subnet, the best I got
> was 130kB/s.
> 
> My outgoing port 80 pipe on the server allows up to 40mbits, so this rate
> is incredibly low, and the servers are all on the same subnet!
> 
> The clients are downloading the .iso from an apache 1.3.33 server with a
> basic configuration. I didn't have time to test over NFS, to check if it
> would be any faster..
> 
> What's happening here? I can download at 1mBps from my crappy P200 MMX w/
> freebsd 4.10 at my lan. This server is a Dual Xeon 2.4Ghz w/ 2GB ram and a
> decent hdd. It should saturate the 100mbps, but won't go past 130kB/s.
> 
> Could this be because the server NIC is an em(4) ? I heard there are some
> problems with the em driver under 5.3.
> 
> Here are some specs:
> 
> CPU: Intel(R) Xeon(TM) CPU 2.40GHz (2399.33-MHz 686-class CPU)
>   Hyperthreading: 2 logical CPUs
> FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
> SMP: AP CPU #3 Launched!
> SMP: AP CPU #1 Launched!
> SMP: AP CPU #2 Launched!
> 
> em0:  port
> 0x3000-0x303f mem 0xfc20-0xfc21 irq 54 at device 3.0 on pci2
> 
> 487 mbufs in use
> 270/32768 mbuf clusters in use (current/max)
> 0/4/6656 sfbufs in use (current/peak/max)
> 661 KBytes allocated to network
> 0 requests for sfbufs denied
> 0 requests for sfbufs delayed
> 0 requests for I/O initiated by sendfile
> 28 calls to protocol drain routines
> 
> FreeBSD celestia.celeritystorm.com 5.3-RELEASE FreeBSD 5.3-RELEASE #0: Mon
> Nov 1 22:21:19 UTC 2004
> [EMAIL PROTECTED]:/usr/obj/usr/src/sys/celestia i386
> 
> I don't have polling enabled. sacks on, delayed acks on.
> 
> the PF queue:
> 
> queue  http_out bandwidth 40Mb priority 5
>   [ pkts:  59257  bytes:   88471020  dropped pkts:  0 bytes:  0 ]
>   [ qlength:   0/ 50  borrows:  0  suspends:177 ]
> 
> Any ideas of what might be causing the tremendous slowdown ?
> 

We have several machines which use the em driver but I haven't used
5.3 with them yet. What I did notice though that when I set the
managed switch and the interface to full duplex instead of letting it
auto sense it made a noticable difference in speed. I would be
interested to know if 5.3 has the same effect.

ifconfig em0 media 100baseTX mediaopt full-duplex

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


Re: PID in linux emulation

2004-11-11 Thread Malcolm Kay
On Fri, 12 Nov 2004 02:17 am, Dan Nelson wrote:
> In the last episode (Nov 11), Malcolm Kay said:
> > I am attempting to run a commercial CAD software suite compiled for
> > Linux on a FreeBSD 4.10 OS. It runs as well or perhaps better than on
> > a Linux box until the PID becomes large.
> >
> > The MAX_PID for FreeBSD is 9 while Linux has a limit of 0x8000.
>
> [...]
>
> > Can I edit in /usr/include/sys/proc.h and recompile the system
> > (kernel) for a lower MAX_PID? Will it work? Will it lead to other
> > complications? Is this where the kernel compilation obtains its
> > value?
>
> Sure.  You have to lower PID_MAX when running FreeBSD 2.x or ancient
> IBCS code, too.  There should be no ill effects.
>

Thanks, I'll give it a go.

> > Can MAX_PID be changed via sysctl?
> >
> > Is there someway to reset the current PID without rebooting?
>
> PID_MAX could be converted into a sysctl/boot-time tuneable without
> much trouble.  The kernel uses values above PID_MAX for thread ids, so
> I don't think moving the ceiling at runtime is a good idea.  Allowing
> it to be set to any value less than the boot-time limit should work
> fine, though.
>
> You also might want to ask your vendor to fix their hardcoded limit.
> There is no guarantee that the stock Linux kernel will use 16-bit pid
> values forever, and there is already a "pidhashing" patch that bumps it
> up to 4 million.

Yes, I'll probably do this -- but I can't really demand any action to 
support a non-Linux OS.

On the other hand the vendor has expressed some interest in my suggestion of a 
native FreeBSD version of his suite.

But of course thes things take time.

Malcolm

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


FreeBSD 5.3 floppy transfer rate problem

2004-11-11 Thread Andrej G. Zadorozhnyj

I have FreeBSD 5.3 installed on my Intel D865GBFL motherboard and I have low
transfer rate (2.3 Kb/s) on my floppy drive 1.44 MB 3.5" for read operation,
against 13 Kb/s in FreeBSD 4.10.
Have anybody same problems.

Andrej.  

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


mount hides underlying files

2004-11-11 Thread Jay O'Brien
If I mkdir /test and then place files in /test, those files 
are no longer visible when I use /test as a mount point. The 
files become visible again when I unmount the device.

I have read documentation explaining this phenomenon, and I 
would like to review that documentation again. Is it in the 
handbook? 

A reference or link would be appreciated.

Jay O'Brien

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


Re: portsdb -Uu Segmentation fault

2004-11-11 Thread Tabor Kelly
Tabor Kelly wrote:
This has been discussed DOZENS of times on this list including TODAY.

What do you think the archives are for?!

Sorry, I will look harder. Like I said, I found a lot of people having
the problem (in the archives), I didn't find anyone explaining what
causes the problem or how to fix it.
Again, Sorry.

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


RE: FreeBSD 5.3 and updating Kernel -do I need to rebuild world?

2004-11-11 Thread Subhro

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of robg
Sent: Friday, November 12, 2004 6:23
To: f-questions
Subject: FreeBSD 5.3 and updating Kernel -do I need to rebuild world?

Hi,

Hello :-)


Is it safe to simply edit the kernel file and `cd /usr/src/ && make
buildkernel KERNCONF=MYKERNEL && make installkernel KERNCONF=MYKERNEL`

You do not need to rebuild the entire world. Just rebuilding the kernel
would solve your purpose.

or would I have to rebuild world as well?  I thought I read somewhere
that it was bad to just recompile the kernel without recompiling world
as well.

Thanks.

You are most welcome

Regards
S.

Subhro Sankha Kar
Block AQ-13/1, Sector V
Salt Lake City
PIN 700091
India___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


smime.p7s
Description: S/MIME cryptographic signature


using a driver written for 3.x on 5.3 adaptation?

2004-11-11 Thread John Mearns
I'm wanting to play around with Asterisk some and have a Tormenta 2 pci
card supporting 4T1s.  Someone has written drivers for it, but the drivers
and instructions were for 3.x, which was before I got into FreeBSD.  The
instructions are here for using the drivers
http://www.zapatatelephony.org/install-tor.txt

This is my first time using a non-bundled driver and some of the stuff I'm
just not familiar with.  For example theres an entry that should have went
into majors.i386 which no longer seems to be used.  My understanding is
that with 5.3 they are dynamically assigned so that portion should be
unnecessary then I guess?

Is the format:
i386/isa/tor.c  optionaltor device-driver
for files.i386 still valid?  It looks like device-driver may be dropped
now.

Anyway any thoughts or help are quite appreciated.
John
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


portsdb -Uu Segmentation fault

2004-11-11 Thread Tabor Kelly
Hello,
This is on a Pentium-II running FreeBSD 4.10R, portupgrade-20040701_3, 
ruby-1.8.2.p2_1, and ruby18-bdb1-0.2.2. Here is what I did:

$ pkgdb -F
$ cvsup ports-supfile
$ portsdb -Uu
And here is the output I get from portsdb:
Updating the ports index ... Generating INDEX.tmp - please wait.. Done.
done
[Updating the portsdb  in /usr/ports ... - 11939 port 
entries found 
.1000.2000.3000.4000.5000
.6000.7000.8000../usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:587: 
[BUG] Segmentation fault
ruby 1.8.2 (2004-07-29) [i386-freebsd4]

Abort trap (core dumped)
I did a google search, and found a bunch of people had a similar problem 
(Bus Error, not Segmentation fault) in early September, but I didn't 
notice what (portupgrade/ruby/the ports tree) was actually the problem.

What really stumps me is that I have 2 other servers that have the same 
version of FreeBSD, Ruby and Portupgrade installed that work fine.

Any help would be much appreciated.
Thank You,
Tabor Kelly
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: problems with sound :[

2004-11-11 Thread Danny MacMillan
On Thu, Nov 11, 2004 at 05:27:27PM -0700, eodyna wrote:
> Hi all
> 
> thank-you ohh so much for your help thus far!
> It was indeed that little cable. When i looked it
> didn't exist :) [not very good with hardware] i will
> need to buy one and try that out!

In the meantime, I think there are other applications that play
CDs the hard way, especially as evidenced by Jason's post.  I
don't know what they are, as  I've actually never played an
audio CD in any of my FreeBSD boxes.

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


RE: RDEsktop/VNC questions

2004-11-11 Thread James Hong
use /usr/ports/net/tsclient too if you're on rdp more than vnc
GUI to rdesktop (still got some limitation than CLI)

James H

 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Louis LeBlanc
Sent: Thursday, November 11, 2004 10:15 AM
To: FreeBSD Questions
Subject: RDEsktop/VNC questions

Quick question about interconnectivity.

You OSX users may be familiar with a very slick little utility called RDC
(Remote Desktop Connection).  Some of you other *BSDers may also be familiar
with one called VNC (Visual Network Connection ?) or RDP (?).
The purpose of said utilities is to provide a sort of graphical shell
similar to an X session from a remote machine in a window.

There are several rdesktop and vnc clients in the ports, so rather than go
through the flurry of install-tryout-uninstall/repeat, I figured I'd go to
the place to ask questions.  Here.

So, who's using these clients, and how effective have you been finding them?
Any gotchas?  How cool is it?  Do they just plain suck?  And more to the
point, which one(s) should I start with on the short list?

All feedback is welcome - and appreciated.
Lou
-- 
Louis LeBlanc   [EMAIL PROTECTED]
Fully Funded Hobbyist, KeySlapper Extrordinaire :)
http://www.keyslapper.org ԿԬ

Pickle's Law:
  If Congress must do a painful thing,
  the thing must be done in an odd-number year.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

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


Moving quotas from partition to partition

2004-11-11 Thread Dan Mahoney, System Admin
Hey all,
I'm about to move my server up to a larger drive, and I'd like to know if 
it's possible to use an existing quota file, or migrate the quota file 
somehow onto the new drive?  Otherwise, it's going to be a LOT of work by 
hand.

-Dan Mahoney
PS, is this question better asked in -hackers?
--
"SOY BOMB!"
-The Chest of the nameless streaker of the 1998 Grammy Awards' Bob Dylan
Performance.
Dan Mahoney
Techie,  Sysadmin,  WebGeek
Gushi on efnet/undernet IRC
ICQ: 13735144   AIM: LarpGM
Site:  http://www.gushi.org
---
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Please take this somewhere else (was RE: difference

2004-11-11 Thread Jay Moore
On Thursday 11 November 2004 05:49 pm, Greg 'groggy' Lehey wrote:

> > Well, the person did address his complaint to the "moderator" of the
> > list and, tho sent to the wrong place, did not address it to the
> > list per se.
>
> There's a good reason for this: this list is (currently) unmoderated.
> Some of us pay attention, though.  We have been discussing some recent
> abusive mail messages, and though we condemn them, we're discussing
> how to deal with it.  By far our favourite choice would be for the
> people in question to come into line with existing list policy.

Suggestion: a forced subscription to [EMAIL PROTECTED] for a few weeks should 
be an adequate deterrent to further abuse.

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


FreeBSD 5.3 and updating Kernel -do I need to rebuild world?

2004-11-11 Thread robg
Hi,

I have a fresh copy of FreeBSD 5.3 and just finished updating the
latest source code via cvsup and rebuilt world and the kernel using my
custom kernel config.  However, I forgot to add an option to my kernel
that I'd like to add now.

Is it safe to simply edit the kernel file and `cd /usr/src/ && make
buildkernel KERNCONF=MYKERNEL && make installkernel KERNCONF=MYKERNEL`
or would I have to rebuild world as well?  I thought I read somewhere
that it was bad to just recompile the kernel without recompiling world
as well.

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


Re: problems with sound :[

2004-11-11 Thread eodyna
Hi all

thank-you ohh so much for your help thus far!
It was indeed that little cable. When i looked it
didn't exist :) [not very good with hardware] i will
need to buy one and try that out!

thank-you so much. there are very knowledgable and
talented people here.

arigatou!
and thanks for the explanation danny!
--ams

 --- Danny MacMillan <[EMAIL PROTECTED]>
wrote: 
> On Thu, Nov 11, 2004 at 08:56:54AM -0700, jason
> wrote:
> > Danny MacMillan wrote:
> > >On Wed, Nov 10, 2004 at 11:34:14PM -0700, eodyna
> wrote:
> > > >hi everyone,
> > > >
> > > >I can play mp3's :) but i cant seam to be able
> to play
> > > >cd's.
> > > >
> > > >any ideas?
> > > >
> > > >thanks again.
> > > 
> > > It seems likely that the tiny analog or digital
> cable
> > > between your sound card and your CD-ROM drive is
> not
> > > connected.
> > 
> > My cds play just fine without that cable.
> 
> There are two ways sound gets from the CD to the
> sound card.
> It can go directly from the CD to the sound card
> through the
> analog or digital cable connecting the two.  Or it
> can be
> read from the CD as data via the IDE interface and
> channeled
> to the sound card through the system bus in the same
> way as
> MP3s or any other digital sound information.  How
> the sound
> actually travels is a function of what application
> is used
> to play the sound.  The former is a more efficient
> use of
> system resources.
> 
> Since the original poster can play MP3s but not CDs,
> there
> are two probable candidates for failure.  The first
> and most
> likely is that the CD-ROM and sound card are not
> connected
> by that little cable, and that the original poster
> is using
> an application that just tells the CD-ROM drive to
> start
> playing instead of actually reading the music from
> the CD.
> The other and less likely is that the CD-ROM is not
> able to
> read the CD at all.
> 
> -- 
> Danny
>  

Find local movie times and trailers on Yahoo! Movies.
http://au.movies.yahoo.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FAT32/NTFS, external hard drive issue

2004-11-11 Thread Warren Block
On Thu, 11 Nov 2004, scott renna wrote:
I created a FAT32 parition on the external drive from
/stand/sysinstall and dropped some files onto it.  I
then moved it over to the win box to see if it could
see it and sadly no.  Is there a way to set up
pseudo-drive assignments from FreeBSD on a FAT32
partition so that Windows can see it?
Windows can be rather stupid about what it thinks is allowed.  Create 
the FAT32 partition with Windows, and FreeBSD should have no problem 
reading and writing to it.

-Warren Block * Rapid City, South Dakota USA
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Putting /usr on a vinum striped volume?

2004-11-11 Thread Warren Block
On Thu, 11 Nov 2004, Artem Kazakov wrote:
Tom Przybylinski wrote:
Would someone be so kind as to point me at a HOWTO
where I can RTFM on moving my /usr to a freshly
vinum'd stripey vol?

now either dump /usr or tar it and then restore or untar consequently.
If you choose tar do the following:
tar -C /usr -cpf - . | tar -C /mnt/new_usr -xpvf -
To use dump you need some additional disk space to store dump-file.
The "Huge-New-Disk" section of the FAQ shows how to use dump and restore 
without a temporary file.  Pretty much the same as tar shown here, but 
dump/restore should be safer.

http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html#NEW-HUGE-DISK
-Warren Block * Rapid City, South Dakota USA
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Please take this somewhere else (was RE: difference

2004-11-11 Thread Greg 'groggy' Lehey
On Wednesday, 10 November 2004 at 23:31:49 -0800, Ted Mittelstaedt wrote:
> On  Wednesday, November 10, 2004 8:20 AM, Jerry McAllister wrote:
>> Also, there is a difference between censorship and taking an action
>> against abuse of persons.   The behavior indicated is indeed abusive.
>
> That is a judgement that needs to be made by the people running the
> list, not by the recipient of 'the abuse'  Anybody that is being
> told to shut up, or is being told they are an idiot, is going to
> claim it abuse.

I think this would be a valid claim.  It's certainly not the image
that the charter tries to foster.

> I would consider something like posting someone's complete name,
> address, phone number along with a statement that you and your Klan
> friends are going to be there Friday with a rope, to be abusive.
> But simple name calling?  pish posh.  I wish I had a nickle for
> every time someone swore on a mailing list!

It's not the words that count, it's the meaning.  You're really saying
this with the Klan example.  And since we're all supposed to be big
boys now, not to mention the occasional girl, I don't think it makes
sense to lay down the law exactly.  But when a number of people
complain about your behaviour, you're probably doing something wrong.

On Thursday, 11 November 2004 at 10:05:50 -0500, Jerry McAllister wrote:
> [missing attribution]
>> On  Wednesday, November 10, 2004 8:20 AM, Jerry McAllister wrote:
>>
>>> Also, there is a difference between censorship and taking an action
>>> against abuse of persons.   The behavior indicated is indeed abusive.
>>
>> That is a judgement that needs to be made by the people running the
>> list, not by the recipient of 'the abuse'  Anybody that is being
>> told to shut up, or is being told they are an idiot, is going to
>> claim it abuse.
>
> Well, the person did address his complaint to the "moderator" of the
> list and, tho sent to the wrong place, did not address it to the
> list per se.

There's a good reason for this: this list is (currently) unmoderated.
Some of us pay attention, though.  We have been discussing some recent
abusive mail messages, and though we condemn them, we're discussing
how to deal with it.  By far our favourite choice would be for the
people in question to come into line with existing list policy.

> Finally, it is up to the list manager to choose what to do.  I don't
> think anyone has disagreed with that - at not in a public posting.

Heh.  I might :-)  See my previous paragraph.

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.


pgp7YJpQLrbYJ.pgp
Description: PGP signature


Slowish 5.3 network throughput (LAN)

2004-11-11 Thread klr
Hi list,

About 4 days ago I downloaded 5.3-RELEASE (.iso) from ftp.nl. at about
6mB/s from a server I have on a .nl provider. Today I wanted to do some
testing, and while downloading that same ISO (which I downloaded at 6
megabytes/s) from two different servers on the same subnet, the best I got
was 130kB/s.

My outgoing port 80 pipe on the server allows up to 40mbits, so this rate
is incredibly low, and the servers are all on the same subnet!

The clients are downloading the .iso from an apache 1.3.33 server with a
basic configuration. I didn't have time to test over NFS, to check if it
would be any faster..

What's happening here? I can download at 1mBps from my crappy P200 MMX w/
freebsd 4.10 at my lan. This server is a Dual Xeon 2.4Ghz w/ 2GB ram and a
decent hdd. It should saturate the 100mbps, but won't go past 130kB/s.

Could this be because the server NIC is an em(4) ? I heard there are some
problems with the em driver under 5.3.

Here are some specs:

CPU: Intel(R) Xeon(TM) CPU 2.40GHz (2399.33-MHz 686-class CPU)
  Hyperthreading: 2 logical CPUs
FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
SMP: AP CPU #3 Launched!
SMP: AP CPU #1 Launched!
SMP: AP CPU #2 Launched!

em0:  port
0x3000-0x303f mem 0xfc20-0xfc21 irq 54 at device 3.0 on pci2

487 mbufs in use
270/32768 mbuf clusters in use (current/max)
0/4/6656 sfbufs in use (current/peak/max)
661 KBytes allocated to network
0 requests for sfbufs denied
0 requests for sfbufs delayed
0 requests for I/O initiated by sendfile
28 calls to protocol drain routines

FreeBSD celestia.celeritystorm.com 5.3-RELEASE FreeBSD 5.3-RELEASE #0: Mon
Nov 1 22:21:19 UTC 2004
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/celestia i386


I don't have polling enabled. sacks on, delayed acks on.

the PF queue:

queue  http_out bandwidth 40Mb priority 5
  [ pkts:  59257  bytes:   88471020  dropped pkts:  0 bytes:  0 ]
  [ qlength:   0/ 50  borrows:  0  suspends:177 ]



Any ideas of what might be causing the tremendous slowdown ?

Regards,

Hugo

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


Re: Upgrade to 5.3

2004-11-11 Thread Kris Kennaway
On Thu, Nov 11, 2004 at 03:36:15PM -0800, Doug Hardie wrote:
> I am doing some testing of 5.3 in preperation to converting a number of 
> production boxes from 4.6.  A couple questions I have not been able to 
> find answers for:
> 
> One of my systems has a very large IDE drive that is used to hold some 
> long term very large files that are rarely created but occasionally 
> referenced.  The system disks are all SCSI.  When I convert that system 
> will the IDE drive (UFS format obviously) be mountable on 5.3?  Or do I 
> need to reformat it also?  I don't have any easy way to preserve those 
> files because of their size.

You don't need to reformat; 5.3 reads UFS filesystems (and this is
unlikely to ever change).

> The port pstack doesn't work on the basic 5.3 install.  It expects 
> /proc to be there.  I can mount /proc and then pstack works just fine.  
> My guess is that proc was removed for a reason.

procfs is historically very insecure against malicious local users.
If you don't care, you can just continue to mount procfs.

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


Upgrade to 5.3

2004-11-11 Thread Doug Hardie
I am doing some testing of 5.3 in preperation to converting a number of 
production boxes from 4.6.  A couple questions I have not been able to 
find answers for:

One of my systems has a very large IDE drive that is used to hold some 
long term very large files that are rarely created but occasionally 
referenced.  The system disks are all SCSI.  When I convert that system 
will the IDE drive (UFS format obviously) be mountable on 5.3?  Or do I 
need to reformat it also?  I don't have any easy way to preserve those 
files because of their size.

The port pstack doesn't work on the basic 5.3 install.  It expects 
/proc to be there.  I can mount /proc and then pstack works just fine.  
My guess is that proc was removed for a reason.  However, is there a 
replacement for pstack or do I need to mount /proc?

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


Re: FreeBSD 5.3 Network performance tests

2004-11-11 Thread Robert Watson

On Thu, 11 Nov 2004 [EMAIL PROTECTED] wrote:

> Given these results, I would conclude that the raw routing stack in 5.3
> is 35-40% slower than its 4.x counterpart. 
> 
> The tests are easy enough to duplicate, so there is no reason to
> question the numbers. Feel free to try it yourself. Obviously different
> Mobos and CPUs will yield different numbers, but my experience with this
> test is that the "differences" between the OS versions are linearly
> similar on different systems. 

(was just pointed at this thread, sorry if I missed other posts)

FreeBSD 5.3 sees an observably higher per-packet processing costs than the
4.x branch due to in-progress changes to the synchronization and queueing
models.  Specifically, the SMPng work has changed the interrupt and
synchronization models throughout the kernel in order to increase
concurrency and preemptibility (i.e., lower latency in interrupt-based
processing).  However, this has increaseed the overall overhead of
synchronization on the stack.  The network stack forwarding path is
particularly sensitive to this, so while other parts of the system see
immediate concurrency benefits (i.e., socket-centric web servers that now
see less contention on SMP, and more preemption on UP), this path still
runs slower for many workloads.  We're actively working to remedy this,
and you will see changes merged to the 6.x and 5.x branches over the next
couple of months that will cut into the numbers you see above by quite a
bit.  Off the top of my head, I would have expected to see more around a
15% overhead on UP for the workload you're seeing, but as you point out,
results can and do vary.

There are a number of tunables presenting in 5.3 that can improve
performance, which you may want to explore:

- net.isr.enable, which enables direct dispatch of the network stack from
  the ithread, rather than context switching to the netisr, which adds
  overhead.  This is an experimental feature, but works quite well in a
  number of environments to lower both latency (time to process) and
  overhead (cost to process).  There is a known bug in inbound UDP
  processing with multiple packet sources on 5.3 with net.isr.enable
  enabled (hence it being experimental), but I will be backporting the fix
  shortly.  However, for your workload, this bug won't manifest, as it's
  in address processing for locally delivered packets, not for forwarded
  packets.

- Make sure that if this is a UP box, you're compiling with a non-SMP
  kernel, as that substantially lowers the synchronization overhead.

- Device polling, which eliminates the overhead of high rate interrupts,
  which can cause substantial context switching.

- If your ethernet device supports interrupt coalescing but the thresholds
  are tuned wrong, you may be able to improve their tuning.

- Disable entropy harvesting for ethernet devices and interrupts.  There
  are optimizations present in 6.x that have not yet been backported that
  improve the overhead of entropy harvesting, but you can get the same
  benefits by disabling it.  In your environment, it's likely not needed. 
  I hope to backport these changes in a couple of weeks to 5-STABLE. 

- If other devices share the same IRQ with your ethernet devices, you may
  want to look at compiling out support for the devices.  For example, I
  have a number of Dell boxes where the USB hardware uses the same
  interrupt as the ethernet device on the motherboard.  The additional
  overhead associated with processing other devices is non-trivial,
  especially if the order of processing has changed in 5.x due to hardware
  probe order changes, ACPI, etc.

Something I'd be interested in seeing you measure, since you have a
specific test environment configured, is the incremental cost of adding a
thousand firewall rules.  The synchronize costs for firewall processing
are based on entry to the firewall code, and don't apply to each rule.  So
you may find that while the cost of entering the first rule is higher in
5.x, the cost to process additional rules is the same or lower, due to
other optimizations, compiler improvements, etc. 

You can find information on the on-going network performance work at the
following locations:

  http://www.watson.org/~robert/freebsd/netperf/

I've just put a new web page online at:

  http://www.freebsd.org/projects/netperf/

However, that page has probably not been rebuilt on most of the web server
mirrors yet, so it might take a day or two to become reachable.

There's quite an active team working on the netperf work, so as I
mentioned above, while there is additional overhead for some paths
currently, you should see improvements in the near future pipeline. Packet
bridging and packet forwarding are both considered critical optimization
targets for 5.4 (and 5-STABLE before then).  One of the things we would
find most helpful is people with interesting and useful workloads who are
able to measure the impact of change proposals to improve performance.  S

Re: Vinum configuration lost at vinum stop / start

2004-11-11 Thread Greg 'groggy' Lehey
[Format recovered--see http://www.lemis.com/email/email-format.html]

Text wrapped.

On Thursday, 11 November 2004 at 12:00:52 +0200, Kim Helenius wrote:
> Greetings. I posted earlier about problems with vinum raid5 but it
> appears it's not restricted to that:
>
> Let's make a fresh start with vinum resetconfig. Then vinum create
> kala.txt which contains:
>
> ...
>
> Now I can newfs /dev/vinum/vinum0, mount it, use it, etc. But when I do
> vinum stop, vinum start, vinum stop, and vinum start something amazing
> happens. Vinum l after this is as follows:
>
> ...
> 0 volumes:
> 0 plexes:
> 0 subdisks:
>
> Where did my configuration go?! I can of course recreate it, with no
> data lost, but imagine this on a raid5 where the plex goes into init
> mode after creation. Not a pleasant scenario. Also recreating the
> configuration from a config file after every reboot doesn't sound
> interesting.

There have been a lot of replies to this thread, but nobody asked you
the obvious: where is the information requested at
http://www.vinumvm.org/vinum/how-to-debug.html?

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.


pgpKO8NfAJe5K.pgp
Description: PGP signature


conf/72964

2004-11-11 Thread Bob Bomar
Curious to the status of conf/72964.  It pertains to 
adding an rc.d script to start wireless interfaces.


-- 
Bob Bomar
[EMAIL PROTECTED]
http://www.bomar.us


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


Re: What are all these processes in `ps -aux`?

2004-11-11 Thread Dan Nelson
In the last episode (Nov 11), robg said:
> I have FreeBSD 5.3 running on a remote machine and when doing `ps -aux` I see:
> 
> root13  0.0  0.0 0   12  ??  WL4:06PM   0:00.00 [irq1: atkbd0]
> root14  0.0  0.0 0   12  ??  WL4:06PM   0:00.00 [irq3: sio1]

Those are all kernel threads; they aren't really processes.  You can
tell the difference because kernel threads have a VSZ of 0.

> What are all of these?  This is a fresh install and I didn't see all
> of those in 5.2.1.. Is there a way to clean them up or are they vital
> to the system?

It may be that ps in 5.3 displays these by default, where 5.2 might not
have.  They were definitely there :)

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


Re: RDEsktop/VNC questions

2004-11-11 Thread Andrew L. Gould
On Thursday 11 November 2004 02:27 pm, Benjamin Walkenhorst wrote:
> Louis LeBlanc wrote:
> >Quick question about interconnectivity.
> >
> >You OSX users may be familiar with a very slick little utility
> > called RDC (Remote Desktop Connection).  Some of you other *BSDers
> > may also be familiar with one called VNC (Visual Network Connection
> > ?) or RDP (?). The purpose of said utilities is to provide a sort
> > of graphical shell similar to an X session from a remote machine in
> > a window.
> >
> >There are several rdesktop and vnc clients in the ports, so rather
> > than go through the flurry of install-tryout-uninstall/repeat, I
> > figured I'd go to the place to ask questions.  Here.
> >
> >So, who's using these clients, and how effective have you been
> > finding them?  Any gotchas?  How cool is it?  Do they just plain
> > suck?  And more to the point, which one(s) should I start with on
> > the short list?
> >
> >All feedback is welcome - and appreciated.
> >Lou
>
> In my experience, vnc is painfully slow.
> rdesktop on the other hand has always performed to my full
> satisfaction. On Unix machines (and IIRC OSX, as well) you can also
> use X11 (preferrably tunneled
> through ssh).
>
> Kind regards,
> Benjamin

In addition to being secure, tunnelling apps through ssh allows you to 
minimize the number of ports you leave open in your firewall.  (In 
fact, I think rsync works through ssh by default.  You can also start a 
ssh connection from within kermit for a secure kermit connection.)

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


What are all these processes in `ps -aux`?

2004-11-11 Thread robg
Hi,

I have FreeBSD 5.3 running on a remote machine and when doing `ps -aux` I see:

root13  0.0  0.0 0   12  ??  WL4:06PM   0:00.00 [irq1: atkbd0]
root14  0.0  0.0 0   12  ??  WL4:06PM   0:00.00 [irq3: sio1]
root15  0.0  0.0 0   12  ??  WL4:06PM   0:00.00 [irq4: sio0]
root16  0.0  0.0 0   12  ??  WL4:06PM   0:00.00 [irq5:]
root17  0.0  0.0 0   12  ??  WL4:06PM   0:00.00 [irq6:]
root18  0.0  0.0 0   12  ??  WL4:06PM   0:00.00 [irq7:]
root19  0.0  0.0 0   12  ??  WL4:06PM   0:00.00 [irq8: rtc]
root20  0.0  0.0 0   12  ??  WL4:06PM   0:00.00 [irq9: acpi0]
root21  0.0  0.0 0   12  ??  WL4:06PM   0:00.00 [irq10:]
root22  0.0  0.0 0   12  ??  WL4:06PM   0:00.00 [irq11:]
root23  0.0  0.0 0   12  ??  WL4:06PM   0:00.00 [irq12:]
root24  0.0  0.0 0   12  ??  WL4:06PM   0:00.00 [irq13:]
root25  0.0  0.0 0   12  ??  WL4:06PM   0:00.02 [irq14: ata0]
root26  0.0  0.0 0   12  ??  WL4:06PM   0:00.00 [irq15: ata1]
root27  0.0  0.0 0   12  ??  WL4:06PM   0:00.00 [irq16: uhci0 uhci3]
root28  0.0  0.0 0   12  ??  WL4:06PM   0:00.00 [irq17:]
root29  0.0  0.0 0   12  ??  WL4:06PM   0:00.00 [irq18: uhci2+]
root30  0.0  0.0 0   12  ??  WL4:06PM   0:00.00 [irq19: uhci1]
root31  0.0  0.0 0   12  ??  WL4:06PM   0:00.00 [irq20:]
root32  0.0  0.0 0   12  ??  WL4:06PM   0:00.00 [irq21:]
root33  0.0  0.0 0   12  ??  WL4:06PM   0:00.00 [irq22:]
root34  0.0  0.0 0   12  ??  WL4:06PM   0:00.11 [irq23: rl0]
root35  0.0  0.0 0   12  ??  WL4:06PM   0:00.00 [irq0: clk]
root36  0.0  0.0 0   12  ??  WL4:06PM   0:02.36 [swi5: clock sio]
root37  0.0  0.0 0   12  ??  WL4:06PM   0:00.00 [swi4: vm]
root38  0.0  0.0 0   12  ??  WL4:06PM   0:00.05 [swi1: net]
root39  0.0  0.0 0   12  ??  DL4:06PM   0:00.05 [yarrow]
root40  0.0  0.0 0   12  ??  WL4:06PM   0:00.00 [swi6: task queue]
root41  0.0  0.0 0   12  ??  WL4:06PM   0:00.00 [swi6:+]
root42  0.0  0.0 0   12  ??  WL4:06PM   0:00.00 [swi6: acpitaskq]
root43  0.0  0.0 0   12  ??  WL4:06PM   0:00.00 [swi6:+]
root44  0.0  0.0 0   12  ??  WL4:06PM   0:00.00 [swi2: camnet]
root45  0.0  0.0 0   12  ??  WL4:06PM   0:00.00 [swi3: cambio]
root46  0.0  0.0 0   12  ??  DL4:06PM   0:00.09 [acpi_thermal]
root47  0.0  0.0 0   12  ??  DL4:06PM   0:00.00 [usb0]
root48  0.0  0.0 0   12  ??  DL4:06PM   0:00.00 [usbtask]
root49  0.0  0.0 0   12  ??  DL4:06PM   0:00.00 [usb1]
root50  0.0  0.0 0   12  ??  DL4:06PM   0:00.00 [usb2]
root51  0.0  0.0 0   12  ??  DL4:06PM   0:00.00 [usb3]
root52  0.0  0.0 0   12  ??  WL4:06PM   0:00.00 [swi0: sio]
root53  0.0  0.0 0   12  ??  DL4:06PM   0:00.00 [pagedaemon]
root54  0.0  0.0 0   12  ??  DL4:06PM   0:00.00 [vmdaemon]
root55  0.0  0.0 0   12  ??  DL4:06PM   0:00.40 [pagezero]
root56  0.0  0.0 0   12  ??  DL4:06PM   0:00.00 [bufdaemon]
root57  0.0  0.0 0   12  ??  DL4:06PM   0:00.01 [syncer]
root58  0.0  0.0 0   12  ??  DL4:06PM   0:00.00 [vnlru]
root59  0.0  0.0 0   12  ??  DL4:06PM   0:00.00 [hpt_wt]
root60  0.0  0.0 0   12  ??  IL4:06PM   0:00.00 [nfsiod 0]
root61  0.0  0.0 0   12  ??  IL4:06PM   0:00.00 [nfsiod 1]
root62  0.0  0.0 0   12  ??  IL4:06PM   0:00.00 [nfsiod 2]
root63  0.0  0.0 0   12  ??  IL4:06PM   0:00.00 [nfsiod 3]
root64  0.0  0.0 0   12  ??  DL4:06PM   0:00.02 [schedcpu]

What are all of these?  This is a fresh install and I didn't see all
of those in 5.2.1.. Is there a way to clean them up or are they vital
to the system?

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


xfce4-xmms-controller-plugin Undefined symbol "pthread_mutex_trylock"

2004-11-11 Thread jimmie james
After running gnome_update.sh (and getting around the gnomevfs2 issue)
and a fresh cvsup of ports at around 2pm EST, installing the
multimedia/xfce4-xmms-controller-plugin on 4.10-STABLE, and relauncing
the xfce4-panel, I'm getting:

** (xfce4-panel:81087): WARNING **: xfce4-panel: module
/usr/X11R6/lib/xfce4/panel-plugins/libxfcexmms.so cannot be opened
(/usr/local/lib/libgthread12.so.3: Undefined symbol
"pthread_mutex_trylock")

Searching the lists suggests that it's a libxml2 issue, and to
recompile without threads, so, make rmconfig, recompile libxml2
(choose defaults, threads where off) and I'm still getting the error.

Hints, suggestions?

I would submit a PR, but no reverse DNS(dialup) and gtk-send-pr seems
to never make it to the list.

libxml-1.8.17_3 Xml parser library for GNOME
libxml2-2.6.16  XML parser library for GNOME
py23-libxml2-2.6.16 Python interface for XML parser library for GNOME
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: RDEsktop/VNC questions

2004-11-11 Thread Benjamin Walkenhorst
Louis LeBlanc wrote:
Quick question about interconnectivity.
You OSX users may be familiar with a very slick little utility called
RDC (Remote Desktop Connection).  Some of you other *BSDers may also be
familiar with one called VNC (Visual Network Connection ?) or RDP (?).
The purpose of said utilities is to provide a sort of graphical shell
similar to an X session from a remote machine in a window.
There are several rdesktop and vnc clients in the ports, so rather than
go through the flurry of install-tryout-uninstall/repeat, I figured I'd
go to the place to ask questions.  Here.
So, who's using these clients, and how effective have you been finding
them?  Any gotchas?  How cool is it?  Do they just plain suck?  And more
to the point, which one(s) should I start with on the short list?
All feedback is welcome - and appreciated.
Lou
 

In my experience, vnc is painfully slow.
rdesktop on the other hand has always performed to my full satisfaction.
On Unix machines (and IIRC OSX, as well) you can also use X11 
(preferrably tunneled
through ssh).

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


Re: Rebooting fails after installing 5.3-RELEASE

2004-11-11 Thread Travis J. Hicks
On 11/10/04 8:56 AM, "Subhro" <[EMAIL PROTECTED]> wrote:

> On Wed, 10 Nov 2004 03:10:02 -0600, Travis J. Hicks
> <[EMAIL PROTECTED]> wrote:
>
>>> Shutting down ACPI
>>> Stray irq9
>>> ACPI-0265: *** Error: Hardware never changed modes
>> 
> Really odd, could you just check the mo'bo manufacturer site for any
> BIOS updates. Also kindly let us know the part number for the board
> and the output of dmesg -a.

I checked and there have been a few BIOS updates for the board, but the
notes indicate that the only changes have been to support newer AMD
processors. Still, I should give it a try in case more was actually changed.
I don't have a floppy drive in the machine to run the BIOS update; I'll get
one and report back. Thanks for your help.


-- 
Best Regards,
Travis J. Hicks


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


How to use ALT_PKGDEP?

2004-11-11 Thread Kirk Strauser
I'm always having to manually fix dependencies that get broken whenever a 
port option I've chosen gives that port a different name than usual.  For 
example, I installed openldap-{client,server} with the "SASL" option and 
the resulting packages are named openldap-sasl-{client,server}-$version.  
This gives no end of problems such as:

# portversion -vL=
Stale dependency: kdeadmin-3.3.1 --> openldap-client-2.2.18 -- manually 
run 'pkgdb -F' to fix, or specify -O to force.  I've added what I thought 
were appropriate alternate package dependency lines to pkgtools.conf:

  ALT_PKGDEP = {
'apache-1.3.*'  => 'apache+mod_ssl-1.3.*',
'openldap-client-*' => 'openldap-sasl-client-*',
'openldap-server-*' => 'openldap-sasl-server-*'
  }

but they don't seem to have the desired effect.  Am I doing something wrong, 
or is ALT_PKGDEP not the appropriate way to solve this?
-- 
Kirk Strauser


pgprE1IJCpD8K.pgp
Description: PGP signature


Re: problems with sound :[

2004-11-11 Thread Danny MacMillan
On Thu, Nov 11, 2004 at 08:56:54AM -0700, jason wrote:
> Danny MacMillan wrote:
> >On Wed, Nov 10, 2004 at 11:34:14PM -0700, eodyna wrote:
> > >hi everyone,
> > >
> > >I can play mp3's :) but i cant seam to be able to play
> > >cd's.
> > >
> > >any ideas?
> > >
> > >thanks again.
> > 
> > It seems likely that the tiny analog or digital cable
> > between your sound card and your CD-ROM drive is not
> > connected.
> 
> My cds play just fine without that cable.

There are two ways sound gets from the CD to the sound card.
It can go directly from the CD to the sound card through the
analog or digital cable connecting the two.  Or it can be
read from the CD as data via the IDE interface and channeled
to the sound card through the system bus in the same way as
MP3s or any other digital sound information.  How the sound
actually travels is a function of what application is used
to play the sound.  The former is a more efficient use of
system resources.

Since the original poster can play MP3s but not CDs, there
are two probable candidates for failure.  The first and most
likely is that the CD-ROM and sound card are not connected
by that little cable, and that the original poster is using
an application that just tells the CD-ROM drive to start
playing instead of actually reading the music from the CD.
The other and less likely is that the CD-ROM is not able to
read the CD at all.

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


Re: What's happening to FreeBSD 4.10 ?

2004-11-11 Thread Admin
Radek Kozlowski wrote:
On Thu, Nov 11, 2004 at 08:06:34PM +0100, Hasse wrote:
 

And now ruby is seg faulting and core dumps when I run portsdb -uU
odin# portsdb -uU
Updating the ports index ... Generating INDEX.tmp - please 
wait..Warning: Duplicate INDEX entry: mod_jk2-apache2-2.0.2
Warning: Duplicate INDEX entry: mod_rpaf-ap2-0.5
Done.
done
[Updating the portsdb  in /usr/ports ... - 11933 port 
entries found 
.1000.2000.3000.4000.5000.6000.7000.8000../usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:587: 
[BUG] Segmentation fault
ruby 1.8.2 (2004-07-29) [i386-freebsd4]

Abort (core dumped)
   

This has been asked too many times on the lists. See the original
suggestion of portupgrade's author and/or check the archives:
http://lists.freebsd.org/pipermail/freebsd-ports/2004-September/016006.html
-Radek
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"
 

A. Sorry for that one.
I'm a bit frustrated about my seg faulting Apache server :-)
Thx for your pointer.
The line " ENV['PORTS_DBDRIVER'] = 'dbm_hash' " have been added to my 
pkgtools.conf

You might also have a point of direction to my other problem with seg 
faulting apache2 ?
All my efforts are documented here if you are interested :

http://lists.freebsd.org/pipermail/freebsd-ports/2004-September/016006.html
The problem seems to be the php4-pcre-4.3.9 extension.
What I understand from my digging, is that 4.3.4 version should work.
I just don't know how to get hold of it, or how to install it.
Well, I could download php4 4.3.4 version and extract it from the 
extension dir, but then what ?
How do I install it and where ?
Any help or advice would be highly appreciated.

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


Netgear MA401 on FreeBSD 5.3

2004-11-11 Thread Dave Walton
I've got a Netgear MA401 that works great on 4.x.  I just installed 
5.3-RELEASE, and it's not recognizing the card.  It reports:

pccard0: Card has no functions
I've also tried a Linksys EC2T, which also works in 4.x, with the same 
results.  Both cards are present in /etc/defaults/pccard.conf.  I'm not 
sure what I need to do to make these cards work.  Suggestions?

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


Re: Outputting command to a text file

2004-11-11 Thread Andrew L. Gould
On Thursday 11 November 2004 01:08 pm, CHris Rich wrote:
> I want to use the du command to check on the sizes of files in a
> directory, but i want the output to be put into a text file so I can
> look at it later.
>
> I did some search on google, and found nothing that applied.
> Searched other places (lists and things) and couldn't find what i was
> looking for, perhaps i was using the wrong search terms.
>
> Any help will be greatly appreciated
>
> Thanks

You can redirect the output of commands into files using '>' and '>>'.

du > du_results.txt

The command above will send the output of du to the file du_results.txt  
The command creates du_results.txt, overwriting it if it already 
exists.

To append results to existing files, use '>>'.

du >> du_results

This, and other cool information can be found in the man page for your 
chosen shell.

Best of luck,

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


want to change my gateway to fbsd from win xp

2004-11-11 Thread Marty Landman
My office network is set up as follows:
gateway/win xp home ed./apache
fbsd 4.8/apache
rh linux 9/apache
win xp home/lots of im'g
win xp home
* dual boot - debian/win me
That last one's pending a repair and os installs currently runs w98.
I'd like to move the gateway from my xp workstation to the fbsd box. This 
raises a bunch of questions for me:

1. is there a CLI query to let me find the speed of the currently installed 
modem?
2. besides plugging my phone line into the fbsd modem and moving my xp 
hosts file to /etc/hosts, what else is needed? e.g. how do I setup the isp 
connection and the fbsd equivalent of window's internet connection service?
3. what is advisable to use on the fbsd gateway to control viruses and 
adware that's been spreading like wildfire on my windows nodes?
4. overall, how big a deal is the migration?

Marty
Marty Landman, Face 2 Interface Inc. 845-679-9387
Search & Sort Easily: http://face2interface.com/Products/FormATable.shtml
Web Installed Formmail: http://face2interface.com/formINSTal
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: What's happening to FreeBSD 4.10 ?

2004-11-11 Thread Radek Kozlowski
On Thu, Nov 11, 2004 at 08:06:34PM +0100, Hasse wrote:
> And now ruby is seg faulting and core dumps when I run portsdb -uU
> 
> odin# portsdb -uU
> Updating the ports index ... Generating INDEX.tmp - please 
> wait..Warning: Duplicate INDEX entry: mod_jk2-apache2-2.0.2
> Warning: Duplicate INDEX entry: mod_rpaf-ap2-0.5
> Done.
> done
> [Updating the portsdb  in /usr/ports ... - 11933 port 
> entries found 
> .1000.2000.3000.4000.5000.6000.7000.8000../usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:587:
>  
> [BUG] Segmentation fault
> ruby 1.8.2 (2004-07-29) [i386-freebsd4]
> 
> Abort (core dumped)

This has been asked too many times on the lists. See the original
suggestion of portupgrade's author and/or check the archives:

http://lists.freebsd.org/pipermail/freebsd-ports/2004-September/016006.html

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


RE: Outputting command to a text file

2004-11-11 Thread Haulmark, Chris
Someone broke the silence: 

> I want to use the du command to check on the sizes of files in a
> directory, but i want the output to be put into a text file so I can
> look at it later. 
>

Use the character > at the end of your command to redirect it to wherever you 
want.

For example,  if I was to want the output of du results to a file named du.log 
in the /home/chris directory, I would do this:

du -d 1 -h / > /home/chris/du.log

If I wanted to do it again but to have it added at the end of du.log.  I would 
use two >>.

du -d 1 -h / >> /home/chris/du.og

Remember, if you use one >, you will wipe out the original results and replace 
it with the newer results.

Files are not the only thing you can usually use after the > character.

 
> I did some search on google, and found nothing that applied.
> Searched other places (lists and things) and couldn't find what i was
> looking for, perhaps i was using the wrong search terms.
> 
> Any help will be greatly appreciated
> 
> Thanks
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"

--
Chris Haulmark
System Admin. Freelancer
"In market for IT corrections for a salary."
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Outputting command to a text file

2004-11-11 Thread Jorge Alvarenga
I want to use the du command to check on the sizes of files in a
directory, but i want the output to be put into a text file so I can
look at it later.
you can try
$ du > some_file
HTH
--
Jorge Luis Alvarenga
Dpto. de Investigaciones
I.T.H. Consultora Tecnológica
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Outputting command to a text file

2004-11-11 Thread Admin
CHris Rich wrote:
I want to use the du command to check on the sizes of files in a
directory, but i want the output to be put into a text file so I can
look at it later.
I did some search on google, and found nothing that applied.
Searched other places (lists and things) and couldn't find what i was
looking for, perhaps i was using the wrong search terms.
Any help will be greatly appreciated
Thanks
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"
 

Hi.
Maybe
du -h > filename
is what you are looking for ?
Regards
Hasse Hansson.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Outputting command to a text file

2004-11-11 Thread Radek Kozlowski
On Thu, Nov 11, 2004 at 01:08:18PM -0600, CHris Rich wrote:
> I want to use the du command to check on the sizes of files in a
> directory, but i want the output to be put into a text file so I can
> look at it later.

You can do `command > filename` or use script(1).

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


Re: Trying to build a speed demon

2004-11-11 Thread pete wright
On Thu, 11 Nov 2004 08:54:41 -0700, Randy Grafton
<[EMAIL PROTECTED]> wrote:
> Hi All,
> 
> I am trying to build a Samba file server that will serve 2TB to a single
> dept. The dept will have a large variety of file types being saved to
> the server; thousands of small (<32K) files to hundreds of medium to
> large files (a few hundred KB in size to a few hundred MB in size). I am
> using a 3ware 9500 series card in a PCX slot with 8 SATA drives
> connected to it in a RAID 5 config. The proc is an Intel 3.2GHz with 4GB
> of 400MHz DDR ECC Dual Channel RAM. The computer also has a single GB
> Ethernet. The clients are all XP Pro. I have put 5.3 on it and
> recompiled the kernel with only the items (drivers?) in it that are
> physically on the system and being used. For example I've turned off
> USB, Serial and Parallel ports in the motherboard's BIOS and have
> removed them from my kernel. Do you gurus have anything else you could
> recommend? I know that RAID5 will have a slowdown in write performance
> as will using UFS (Journaled file system). Of course I'm not
> specifically asking for Samba help but any advice for kernel/OS/Network
> config or insight to fine tuning SAMBA on FreeBSD, so that this machine
> can set new land speed records. I was also wondering about dual NIC for
> load balancing as I'm hoping that the network is actually going to be
> the bottleneck here.
> 
first thing i would take a look at when doing file serving in this
type of config is to look at disk i/o as your main bottleneck.  RAID 5
will not give you the best throughput, also the 3Ware cards do not
have much onboard cache (as do most "pro-sumer" IDE RAID cards).  If
you are really concerned about limiting all bottlenecks I would move
away from IDE RAID and goto SCSI controllers with large amounts of
onboard cache.  not only will you gain the added benifits of quicker
disk I/O with SCSI RAID but I think you find a much more reliable
system in the long run.

HTH

-p


-- 
~~o0OO0o~~
Pete Wright
www.nycbug.org
NYC's *BSD User Group
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Outputting command to a text file

2004-11-11 Thread CHris Rich
I want to use the du command to check on the sizes of files in a
directory, but i want the output to be put into a text file so I can
look at it later.

I did some search on google, and found nothing that applied.
Searched other places (lists and things) and couldn't find what i was
looking for, perhaps i was using the wrong search terms.

Any help will be greatly appreciated

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


What's happening to FreeBSD 4.10 ?

2004-11-11 Thread Hasse
Hi everybody !
Am I the only one experiencing lots of problems with seg faults in 4.10 ?
This server have been running with regular cvsups of source and ports 
for about 2 years now
without any problems until a month ago when it all started.

First I got a segfaulting Apache2 , and nobody seems able to help.
http://lists.freebsd.org/mailman/htdig/freebsd-questions/2004-November/064208.html
And now ruby is seg faulting and core dumps when I run portsdb -uU
odin# portsdb -uU
Updating the ports index ... Generating INDEX.tmp - please 
wait..Warning: Duplicate INDEX entry: mod_jk2-apache2-2.0.2
Warning: Duplicate INDEX entry: mod_rpaf-ap2-0.5
Done.
done
[Updating the portsdb  in /usr/ports ... - 11933 port 
entries found 
.1000.2000.3000.4000.5000.6000.7000.8000../usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:587: 
[BUG] Segmentation fault
ruby 1.8.2 (2004-07-29) [i386-freebsd4]

Abort (core dumped)
I have tried to deinstall portupgrade and ruby and reinstall, and yes, I 
have been reading UPDATING  in /usr/ports

odin# uname -a
FreeBSD odin.swedehost.com 4.10-RELEASE-p3 FreeBSD 4.10-RELEASE-p3 #0: 
Mon Nov  8 23:55:07 CET 2004 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/ODIN  i386

Any sugestions, anyone ?
Regards
Hasse Hansson.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


OT: Powerbook Problem.

2004-11-11 Thread pixiedave
Hope someone can help!  When I boot my powerbook, my desktop image
loads, and then the apple bar starts to load, then the rainbow wheel
keeps spinning, and the apple bar keeps flashing on and off as iif it
is trying to load.  A disc will eject with the eject button, and the
volume buttons work including the display, but the os never finishes
loading.  So I want to reinstall, but how do i get the g4 to boot from
the install dvd without having the machine up and running, installing
the disc, choosing install and rebooting?  I imagine there is a key
sequence, but cant find it
-- 
"You Never Blow Your Trip Forever" Daevid Allen
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FreeBSD 5.3 Network performance tests

2004-11-11 Thread pete wright
On Fri, 12 Nov 2004 00:04:44 +0530, Subhro <[EMAIL PROTECTED]> wrote:
> Hi,
> 
> 
> 
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]
> Sent: Thursday, November 11, 2004 23:57
> To: [EMAIL PROTECTED]
> Subject: FreeBSD 5.3 Network performance tests
> 
> As promised, I've tested the basic network stack for 5.3 -RELEASE
> The results follow:
> 
> Hardware:
> 
> Celeron 1.7Ghz processor
> Dual onboard Intel NICs, fxp driver
> Intel 845G chipset
> 256MB Ram, 120MB allocated to the kernel.
> 
> Setup:
> 
> Setup 1: Generic Kernel
> 
> FreeBSD 4.10: 40% interrupt usage
> FreeBSD 5.3: 55% interrupt usage
> 
> Setup 2:
> 
> The systems were stripped of all hooks, including firewalls,
> gif and bpf inputs.
> 
> FreeBSD 4.10: 35% interrupt usage
> FreeBSD 5.3: 48% interrupt usage
> 
> Setup 3:
> 
> We typically use Freebsd with IPFIREWALL and
> IPDIVERT enabled. The setup had only 1 allow
> rule in the ruleset:
> 
> FreeBSD 4.10: 42% interrupt usage
> FreeBSD 5.3: 58% interrupt usage
> 
> 
> Thanks for your test results. Was DEVICE_POLLING enables in the kernel and
> the sysctl?

yes i think it's good that we can now get down to testing real metrics
here!  would it also be worth posting a dmesg/kernconf as well.

cheers,
 pete



-- 
~~o0OO0o~~
Pete Wright
www.nycbug.org
NYC's *BSD User Group
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: FreeBSD 5.3 Network performance tests

2004-11-11 Thread Subhro
Hi,

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]
Sent: Thursday, November 11, 2004 23:57
To: [EMAIL PROTECTED]
Subject: FreeBSD 5.3 Network performance tests

As promised, I've tested the basic network stack for 5.3 -RELEASE
The results follow:

Hardware:

Celeron 1.7Ghz processor
Dual onboard Intel NICs, fxp driver
Intel 845G chipset
256MB Ram, 120MB allocated to the kernel.

Setup:

Setup 1: Generic Kernel

FreeBSD 4.10: 40% interrupt usage
FreeBSD 5.3: 55% interrupt usage

Setup 2: 

The systems were stripped of all hooks, including firewalls,
gif and bpf inputs. 

FreeBSD 4.10: 35% interrupt usage
FreeBSD 5.3: 48% interrupt usage

Setup 3:

We typically use Freebsd with IPFIREWALL and 
IPDIVERT enabled. The setup had only 1 allow 
rule in the ruleset:

FreeBSD 4.10: 42% interrupt usage
FreeBSD 5.3: 58% interrupt usage



Thanks for your test results. Was DEVICE_POLLING enables in the kernel and
the sysctl?

Regards
S.

Subhro Sankha Kar
Block AQ-13/1, Sector V
Salt Lake City
PIN 700091
India


smime.p7s
Description: S/MIME cryptographic signature


FreeBSD 5.3 Network performance tests

2004-11-11 Thread TM4526
As promised, I've tested the basic network stack for 5.3 -RELEASE
The results follow:

Hardware:

Celeron 1.7Ghz processor
Dual onboard Intel NICs, fxp driver
Intel 845G chipset
256MB Ram, 120MB allocated to the kernel.

Setup:

Traffic Generator -> FreeBSD System -> Server

The FreeBSD system is set up to route between the traffic
generator and the server on the other side. A unidirectional 
stream of ~34000 UDP packets/second (a full 100Mb/s ethernet
load) was sent through the system. The unidirecitonal flow
avoids random bus contention of return traffic, and the server
was discarding the packets.  The routing table was minimal. 

The test measures raw throughput through
a minimal system with a minimal routing table, or more 
precisely it measures the raw abilty of the kernel to move 
packets from one interface to another through the normal IP 
stack. 

Setup 1: Generic Kernel

FreeBSD 4.10: 40% interrupt usage
FreeBSD 5.3: 55% interrupt usage

Setup 2: 

The systems were stripped of all hooks, including firewalls,
gif and bpf inputs. 

FreeBSD 4.10: 35% interrupt usage
FreeBSD 5.3: 48% interrupt usage

Setup 3:

We typically use Freebsd with IPFIREWALL and 
IPDIVERT enabled. The setup had only 1 allow 
rule in the ruleset:

FreeBSD 4.10: 42% interrupt usage
FreeBSD 5.3: 58% interrupt usage


Given these results, I would conclude that the raw routing stack in
5.3 is 35-40% slower than its 4.x counterpart.

The tests are easy enough to duplicate, so there is no reason to 
question the numbers. Feel free to try it yourself. Obviously 
different Mobos and CPUs will yield different numbers, but my 
experience with this test is that the "differences" between the OS
versions are linearly similar on different systems.

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


syslog imapd pop3d

2004-11-11 Thread Mark Frasa
Hello,

I was wondering wheter it's possible that pop3d and imapd don't log to
maillog

My syslog.conf is like this:

mail.info   /var/log/maillog
!imapd
*.* /var/log/imapd.log
!pop3d
*.* /var/log/imapd.log

So every pop3 and imap (Couriers) connection made are logged to
imapd.log

The problem is that i don't want it logged to /var/log/maillog but it
does. 
How can i stop syslog from doing that, but leave the normal mail
information to log towards /var/log/maillog?

Mark.


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


Re: Adding non-kernels to boot-loader

2004-11-11 Thread Nathan Kinkade
On Thu, Nov 11, 2004 at 12:35:26PM -0500, Dan Kilbourne wrote:
> Nathan Kinkade extolled:
> 
> > You will probably have better luck using a more flexible boot loader
> > like GRUB.  How about just putting memtest86 on a floppy or CDROM and
> > your techs can boot to the removable media whenever they need to test
> > memory.  This approach seems much more flexible, as any machine can then
> > be used for tests instead of only the ones on which you have made
> > special configurations.
> > 
> > Nathan
> 
> 
> I would agree, but I am looking for more of an out of the box
> solution. We have a couple thousand servers, several hundred of them
> running FreeBSD. I want our build team to be able to simply install
> memtest as a bootloader option so that any time a machine needs to be
> tested, it can be without having to be removed from the rack.
> Currently we install the kernel-image-like version of it on all of our
> Linux boxen with no problems, I just need to figure out how to do it
> for FreeBSD. As for removable media, our machines are not built with
> CDs or floppies - everything is generally done via a network installer
> we have hooked up, so removable media is not an option.
> 
> -- 
> ___
> Dan

Ahh, I see.  Well, GRUB has the ability to load a network image.  I see
at the memtest86.com site that one is able to build a network bootable
image of memtest86.  This way you could keep a single copy on an
NFS/TFTP server and it could be loaded over the network.  GRUB will need
to be compiled with support for the various network cards you
use, though I would image that your data center probably uses mostly the
same cards in all the machines.

Nathan
-- 
PGP Public Key: pgp.mit.edu:11371/pks/lookup?op=get&search=0xD8527E49


pgpxsfsZSK1OH.pgp
Description: PGP signature


Re: Nightly backup using CD-ROM - how do i?

2004-11-11 Thread Anish Mistry
On Thursday 11 November 2004 11:45 am, you wrote:
> * Anish Mistry <[EMAIL PROTECTED]> [20041110 03:21]: wrote:
>
> [snip]
>
> Hey Anish,
>
> Thank you so much for your script.
>
> I am not quite a newbie on Unix, but your script has gotten me lost,
> such that I feel like a newbie ;)
>
> Could you kindly explain to me, step-by-step, how it works, please?
>
> > #!/bin/sh
> > # the date
> > DATESTRING=`date +"%Y%m%d"`
> > BACKUP_DIR=/usr/local/var/backup
> > CD_DEVICE=/dev/acd0c
> >
Defining the date of the backups to copy, it assumes the current.  Set the 
directory where the already tar'ed files are locations, and also set the 
CDROM device.
> > # first check if there is enough space left on device
> > # mount
> > #/sbin/mount /cdrom
> > #CD_SIZE=700
> > #CD_FILL=`/usr/bin/du /cdrom | /usr/bin/cut -f 1`
> > # unmount
> > #/sbin/umount /cdrom
> >
This is just commented out since it I ended up no needing it.
> > cd $BACKUP_DIR
> > # get previous multisession info
> > MSINFO=`/usr/sbin/burncd -f $CD_DEVICE msinfo`
> > if [ "$MSINFO" != "" ]
> > then
> > MULTISESSION="-C $MSINFO -M $CD_DEVICE"
> > else
> > echo "First session."
> > fi
Here we probe the CD to get the last session's track info.  If there is not 
last session info, then that means that it's a blank cd so we don't add 
the multisession info to the mkisofs command.
> > # create the .iso
> > echo "Creating backup ISO..."
> > /usr/local/bin/mkisofs -r -J -quiet $MULTISESSION -o
> > $BACKUP_DIR/$DATESTRING.iso $BACKUP_DIR/$DATESTRING*.tar.gz # burn
> > backups to cd
We create an ISO offset with multisession info if available with the files 
in the backup directory that match the date string.
> > echo "Burning backups to $CD_DEVICE..."
> > /usr/sbin/burncd -f $CD_DEVICE -q -s 24 -m data
> > $BACKUP_DIR/$DATESTRING.iso fixate if [ $? -ne 0 ]
> > then
> >  echo "Sysadmin, I\'m sorry the backup failed." | /usr/bin/mail -s
> > "The sky is falling!" [EMAIL PROTECTED] fi
We burn the iso to the CD, it the command returns non-zero then it goes 
into the if statement and sends off and email tell someone to change the 
CD.
> > # delete the .iso
> > echo "Deleting ISO..."
> > rm $BACKUP_DIR/$DATESTRING.iso
> > echo "Done."
> > exit 0
Cleanup and exit.

Hope that helps.
-- 
Anish Mistry


pgpgo05CUJaPy.pgp
Description: PGP signature


Bad blocks & 3ware RAID rebuild -- resolution

2004-11-11 Thread Matt Staroscik
I'm answering myself since (with the help of the list) I got my problem 
solved. I hope this summary helps a future searcher. Thanks to Jerry and 
everyone else who posted.

Summary of problem: My RAID mirror (3ware 7000-2) lost a drive, and it was 
failing to rebuild with a new replacement disk (under 4.10). I was not sure 
why the rebuild failed, due to a vague "disk error" message.

At this time I dumped the filesystems to a spare drive, but dump reported a 
read error on /usr. I fsck'd, but this did not eliminate the problem. 
Great, my degraded RAID's one "good" disk is having trouble!

It was pointed out to me that fsck would not fix bad blocks. I had to try 
something else to repair the disk. I located a corrupt file by tarring up 
/usr and waiting for trouble... A forgotten core dump showed a read error. 
I deleted it, and a subsequent dump of /usr did not report errors. 
Progress! However, the RAID would still not rebuild.

It turns out that an IDE drive will not remap a bad sector when READ... it 
must be WRITTEN. So, after I deleted the file that (presumably) sat on the 
bad sectors I filled up /usr with misc files. Afterwards, I checked the 
disk SMART error log and sure enough, it showed some new bad sectors had 
been remapped. (I checked disk 0 on the RAID with smartctl -a -d 3ware,0 
/dev/twed0)

I deleted the temporary files and initiated a RAID rebuild in the 3dm web 
interface. Before the sector repair, it would die after just a couple of 
minutes, but after the sector repair the rebuild completed successfully.

SMART still reports that the drive is overall healthy... I am not sure how 
many spare sectors are left but I have a working mirror again so I have 
bought myself some time.

Thanks again.
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
[EMAIL PROTECTED] * KF6IYW * http://wrongcrowd.com
"I am Matt Staroscik and I approved this message."
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Vinum configuration lost at vinum stop / start

2004-11-11 Thread Kim Helenius
Stijn Hoop wrote:
Hi,
On Thu, Nov 11, 2004 at 04:53:39PM +0200, Kim Helenius wrote:
Stijn Hoop wrote:
I don't know the state of affairs for 5.2.1-RELEASE, but in 5.3-RELEASE 
gvinum is the way forward.
Thanks again for answering. Agreed, but there still seems to be a long 
way to go. A lot of 'classic' vinum functionality is still missing and 
at least for me it still doesn't do the job the way I would find 
trustworthy. See below.

That's absolutely true. While 5.3 is IMHO pretty stable, gvinum is quite new
and therefore a bit less well tested than the rest of the system.  Fortunately
Lukas Ertl, the maintainer of gvinum, is pretty active and responsive to
problems.
So if you need a critically stable vinum environment you would be better off
with 4.x.

I tested gvinum with some interesting results. First the whole system 
froze after creating a concatenated drive and trying to gvinum -rf -r 
objects (resetconfig command doesn't exist).

That's not good. Nothing in dmesg? If you can consistently get this to happen
you should send in a problem report.

Next, I created the volume, 
newfs, copied some data on it. The rebooted, and issued gvinum start. 

This is what follows:
2 drives:
D d1State: up   /dev/ad4s1d A: 285894/286181 
MB (99%)
D d2State: up   /dev/ad5s1d A: 285894/286181 
MB (99%)

1 volume:
V vinum0State: down Plexes:   1 Size:572 MB
1 plex:
P vinum0.p0   C State: down Subdisks: 2 Size:572 MB
2 subdisks:
S vinum0.p0.s0  State: staleD: d1   Size:286 MB
S vinum0.p0.s1  State: staleD: d2   Size:286 MB
I'm getting a bit confused. Issuing separately 'gvinum start vinum0' 
does seem to fix it (all states go 'up') but surely it should come up 
fine with just 'gvinum start'? This is how I would start it in loader.conf.

I think I've seen this too, but while testing an other unrelated problem.  At
the time I attributed it to other factors. Can you confirm that when you
restart again, it stays up? Or maybe try an explicit 'saveconfig' when it is
in the 'up' state, and then reboot.

Have you read
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/current-stable.html
Particularly the 19.2.2 section, 'Staying stable with FreeBSD'?
I have read it and used -stable in 4.x, and if I read it really 
carefully I figure out that -stable does not equal "stable" which is way 
I stopped tracking -stable in the first place. And when knowing I would 
only need it to fix raid5 init I'm a bit reluctant to do it as I found 
out I can't even create a concat volume correctly.

That I can understand. If I may make a polite suggestion, it sounds like you
value stability above all else. In this case where vinum is involved, I would
recommend you to stay with 4.x until 5.4 is released. That should take another
6-8 months and probably most of the gvinum issues will have been tackled by
then. Although I know that there are a lot of users, myself included, that run
gvinum on 5.x, it is pretty new technology and therefore unfortunately
includes pretty new bugs.
The other option is to bite the bullet now, and fiddle with gvinum for a few
days. Since other users are using it, it is certainly possible.  This will
take you some time however. It will save you time when the upgrade to 5.4 will
be though.
It is your decision what part of the tradeoff you like the most.
HTH,
--Stijn
Stability is exactly what I'm looking for. However, I begin to doubt 
there's something strange going on with my setup. I mentioned gvinum 
freezing - there's indeed a fatal kernel trap message (page fault) on 
the console. Now, then, thinking of good old FreeBSD 4.x I decided to 
spend some more time on this issue.

Ok... so I tested vinum with FreeBSD 4.10 and amazing things just keep 
happening. Like with 5.x, I create a small test concat volume with 
vinum. Newfs, mount, etc, everything works. Now, then, I issue the 
following commands: vinum stop, then vinum start. Fatal kernel trap -> 
automatic reboot. So, the root of the problem must lie deeper than 
(g)vinum in 5.x.

More info on my 5.3 setup:
Copyright (c) 1992-2004 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 5.3-RELEASE #1: Mon Nov  8 21:43:07 EET 2004
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/KIUKKU
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: AMD Athlon(TM) XP 1600+ (1400.06-MHz 686-class CPU)
  Origin = "AuthenticAMD"  Id = 0x662  Stepping = 2
Features=0x383f9ff
  AMD Features=0xc048
real memory  = 536788992 (511 MB)
avail memory = 519794688 (495 MB)
npx0: [FAST]
npx0:  on motherboard
npx0: INT 16 interface
acpi0:  on motherboard
acpi0: Power Button (fixed)
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0xe408-0xe40b on acpi

Re: RDEsktop/VNC questions

2004-11-11 Thread Andrew L. Gould
On Thursday 11 November 2004 10:38 am, Louis LeBlanc wrote:
> On 11/10/04 06:14 PM, Louis LeBlanc sat at the `puter and typed:
> > Quick question about interconnectivity.
> >
> > You OSX users may be familiar with a very slick little utility
> > called RDC (Remote Desktop Connection).  Some of you other *BSDers
> > may also be familiar with one called VNC (Visual Network Connection
> > ?) or RDP (?). The purpose of said utilities is to provide a sort
> > of graphical shell similar to an X session from a remote machine in
> > a window.
> >
> > There are several rdesktop and vnc clients in the ports, so rather
> > than go through the flurry of install-tryout-uninstall/repeat, I
> > figured I'd go to the place to ask questions.  Here.
> >
> > So, who's using these clients, and how effective have you been
> > finding them?  Any gotchas?  How cool is it?  Do they just plain
> > suck?  And more to the point, which one(s) should I start with on
> > the short list?
> >
> > All feedback is welcome - and appreciated.
> > Lou
>
> Very cool feedback.  Thank you all.  I'll start looking into the
> terminal service (it didn't get installed with W2K, but I haven't
> checked out XP Pro yet) and use VNC in the meantime.  I'll be using
> it to write Word docs mostly, and if it's efficient enough, I might
> just see how well Escape Velocity works (I know, probably not at
> all). Network security isn't an issue because it's all my personal
> network behind a firewall.
>
> Thanks again.
> Lou

I'm entering this thread late; so please forgive me if I'm duplicating 
someone else's input.

One of TightVNC's enhancements over VNC is the ability to access the 
server from a web browser.

TightVNC listens on port 5800 + the display number. Therefore, if you 
would normally use a vncviewer to access the TightVNC server 
192.168.0.1:1, you could also access the desktop using any gui internet 
browser at:

http://192.168.0.1:5801/ 

(I have NOT tested this from browser on a pda or cell phone.)

TightVNC is available for many operating systems including FreeBSD (it's 
in the ports), Windows and Linux.  I don't think it's available for Mac 
OSX.

Best of luck,

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


Re: Adding non-kernels to boot-loader

2004-11-11 Thread Dan Kilbourne
Nathan Kinkade extolled:

I would agree, but I am looking for more of an out of the box solution. We have 
a couple thousand servers, several hundred of them running FreeBSD. I want our 
build team to be able to simply install memtest as a bootloader option so that 
any time a machine needs to be tested, it can be without having to be removed 
from the rack. Currently we install the kernel-image-like version of it on all 
of our Linux boxen with no problems, I just need to figure out how to do it for 
FreeBSD. As for removable media, our machines are not built with CDs or 
floppies - everything is generally done via a network installer we have hooked 
up, so removable media is not an option.



> You will probably have better luck using a more flexible boot loader
> like GRUB.  How about just putting memtest86 on a floppy or CDROM and
> your techs can boot to the removable media whenever they need to test
> memory.  This approach seems much more flexible, as any machine can then
> be used for tests instead of only the ones on which you have made
> special configurations.
> 
> Nathan
> -- 
> PGP Public Key: pgp.mit.edu:11371/pks/lookup?op=get&search=0xD8527E49



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


Unable to move windows in KDE, FreeBSD 5.2.1

2004-11-11 Thread Jay Moore
I'm not sure exactly when this happened, but I can no longer move or re-size 
any windows. Open windows behave normally otherwise - I can minimize, 
maximize, close, move to another desktop, etc, etc. They just can't be moved 
or re-sized.

Is this a known problem, or just some weird anomaly requiring a re-startx?

Oh - I'm using XFree86; this is a 5.2.1 installation.

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


Re: Adding non-kernels to boot-loader

2004-11-11 Thread Nathan Kinkade
On Thu, Nov 11, 2004 at 11:43:02AM -0500, Dan Kilbourne wrote:
> Hello,
> I am looking for a way to add memtest86 to the FreeBSD bootloader so
> that my techs can easily test RAM when needed.  From what I
> understand, the memtest86 build script makes two objects:
> 1) linux-kernel-alike image.
> 2) an ELF object.
>
> Thing is, I'm unfamiliar with the FBSD loader and how to add items to
> it.  I'm guessing maybe if the memtest ELF object is in /boot it can
> be specified from the loader prompt with /boot/memtest86 ? 
> 
> Anyone have any insite?
> 
> -- ___ Dan ___

You will probably have better luck using a more flexible boot loader
like GRUB.  How about just putting memtest86 on a floppy or CDROM and
your techs can boot to the removable media whenever they need to test
memory.  This approach seems much more flexible, as any machine can then
be used for tests instead of only the ones on which you have made
special configurations.

Nathan
-- 
PGP Public Key: pgp.mit.edu:11371/pks/lookup?op=get&search=0xD8527E49


pgp8KnVgrc3Jc.pgp
Description: PGP signature


Using USB2.0 hard drives (performance) on FreeBSD 5.3

2004-11-11 Thread Forrest Aldrich
I need extra disk space on one of my machines (in short order).   So I 
decided to experiment with attaching a USB2.0 hard drive (Maxtor 
OneTouch) to the system (SIIG PCI controller).  I use a OneTouch on my 
Windows/XP sytem and it works really well.

I wanted to explore placing my mailstore on an external USB2.0 drive - 
would be easy to port the data to another system if I needed.

However, in experimenting with replicating some data (via rsync), I'm 
wondering if this is a bad idea.   While rsyncing data over the wire to 
the USB2.0 drive (mirroring some data, basically), the shell response to 
something like "ls" would hang (eventually completed, but much later).

I wonder if someone can advise about the use of this drive for that 
purpose (mailstore) and if there may be some tunables I would need to 
tweak to get better performance.

Thanks.

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


Re: FAT32/NTFS, external hard drive issue

2004-11-11 Thread Brian McCann
Is this between 2 different PCs?  Why not use Samba?  Or, if you are
daring, an NFS client for Windows.

--Brian


On Thu, 11 Nov 2004 05:58:23 -0800 (PST), scott renna
<[EMAIL PROTECTED]> wrote:
> Hello list,
> 
> I was wondering if you all might be able to help on
> this.  I recently purchased an external hard drive
> case and dropped an IDE drive into it.  It's great and
> all, except that the transfer speed is limited to
> 1Mb/s due to an error message that I had posted on the
> list a few days back(GET MAX LUN STALLED).  That's
> fine, I can deal with it for now.  Here's the issue:
> 
> I created a FAT32 parition on the external drive from
> /stand/sysinstall and dropped some files onto it.  I
> then moved it over to the win box to see if it could
> see it and sadly no.  Is there a way to set up
> pseudo-drive assignments from FreeBSD on a FAT32
> partition so that Windows can see it?
> 
> __
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
>
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: inetd problem with 5.3-RELEASE

2004-11-11 Thread Boris Spirialitious


Kris Kennaway <[EMAIL PROTECTED]> wrote:On Wed, Nov 10, 2004 at 05:16:10PM 
-0800, Boris Spirialitious wrote:

> > inetd[xxx]: unknown rpc/udp6 rpc/tcp6

> > Any modification of GENERIC from 5.3 seems to have the 
> > problem. I have another config that I ported from 4.x that
> > works fine (with lots of stuff turned off). It must be some 
> > driver that has a dependency that isn't working. Note that
> > INET6 is enabled.
> > 
> > What causes this error?
> 
> Perhaps your inetd.conf is bad; can you show it to us?
> 
> kris
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to [EMAIL PROTECTED]

> only ftp and telnet are enbled. Everything below here is disabled.

Are you *absolutely certain* about this? Note that there's no mention
of rpc/udp6 or rpc/tcp6 in what you posted; it does appear later on in
the sample inetd.conf, but in a way that isn't a syntax error.

> As I said, it works fine with a config copied from 4.x. Here is a
> kernel that doesn't work. Sorry about the format, but yahoo is no
> good.

I don't see what could cause this in your kernel config (even in
theory), but if you have a kernel that works on the same machine you
could diff them to find out what it is.
inetd[xxx]: unknown rpc/udp6 rpc/tcp6> As I said, it works fine with a config 
copied from 4.x. Here is a
> kernel that doesn't work. Sorry about the format, but yahoo is no
> good.

>I don't see what could cause this in your kernel config (even in
>theory), but if you have a kernel that works on the same machine you
could diff them to find out what it is.

Kris


Yes, if it was something obvious then I wouldn't have had to ask the question. 
There are 100 differences. Doesn't anyone know what things might
cause this error? Is it looking for a module that isn't loaded? Some piece
of code thats missing? One or two clues?
 
TIA
 
Boris


-
Do you Yahoo!?
 Check out the new Yahoo! Front Page. www.yahoo.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Adding non-kernels to boot-loader

2004-11-11 Thread Dan Kilbourne
Hello,
I am looking for a way to add memtest86 to the FreeBSD bootloader so that my 
techs
 can easily test RAM when needed.
>From what I understand, the memtest86 build script makes two objects: 
1) a linux-kernel-alike image.
2) an ELF object.   

   
Thing is, I'm unfamiliar with the FBSD loader and how to add items to it.  I'm  

 
guessing maybe if the memtest ELF object is in /boot it can be specified from   

 
the loader prompt with /boot/memtest86 ? 

Anyone have any insite?


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


Re: Maybe a bug in 5.3 [Was: Re: BIND9 dump file]

2004-11-11 Thread Gerard Samuel
Gerard Samuel wrote:
Erik Norgaard wrote:
Gerard Samuel wrote:
 

Im getting a bunch of these in the logs ->
Nov 10 10:30:48 gatekeeper named[312]: dumping master file:
master/tmp-SLtSQEmBBK: open: permission denied
So I figured a filesystem permissions problem.  I chowned
Thanks for any info that you may provide...

Im confused.  I've read the named and rc.conf man pages, and didn't 
find
out
why named is behaving as it is.
  

I don't know if this will help or is related. I had a problem with named
not creating the pid-file with a permision denied error (see other 
thread).

I eventually solved it by creating a new chroot-dir and setting
permissions on that. It still remains a mystery to me why I ever got
that problem or why this worked.
I dont think recreating the chroot will fix it.
According to the docs, the chroot process is automatic in 5.3.
And since, I have no idea where these *automatic* instructions live,
I dont think moving/recreating the chroot will fix it.
I believe the problem lies within the *automatic* instructions.
Even in the docs for DNS in the handbook states that ->
   *
 Create all directories that named expects to see:
# cd /etc/namedb
# mkdir -p bin dev etc var/tmp var/run master slave
# chown bind:bind slave var/*
  

 
 

 named only needs write access to these directories, so that is
 all we give it.
Im not sure why the author assumes that named shouldn't write to the 
master directory.
In my case, DHCP can only update master zones (DHCP updates DNS within 
the LAN),
not slave zones, so master should be writeable by named.

What Im going to try is this.
Since the slave directory never seems to change permissions, I'll move 
the
LAN's zone files to the slave directory instead of the master directory.
And change named.conf ->
zone "trini0.org" {
   type master;
   file "slave/trini0.org";
   allow-update { key DHCP_UPDATER; };
};

zone "0.168.192.in-addr.arpa" {
   type master;
   file "slave/trini0.org.rev";
   allow-update { key DHCP_UPDATER; };
};
Kind of a contradiction if you're a stickler on the naming convention.
Hopefully if this *automatic* process doesn't recreate the directories 
at boot time,
this should work out.
I'll try this, and report any findings.

Well its been over 2 hours, and its not reporting any problems in the logs.
So Im going to leave it as it is.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: RDEsktop/VNC questions

2004-11-11 Thread Louis LeBlanc
On 11/10/04 06:14 PM, Louis LeBlanc sat at the `puter and typed:
> Quick question about interconnectivity.
> 
> You OSX users may be familiar with a very slick little utility called
> RDC (Remote Desktop Connection).  Some of you other *BSDers may also be
> familiar with one called VNC (Visual Network Connection ?) or RDP (?).
> The purpose of said utilities is to provide a sort of graphical shell
> similar to an X session from a remote machine in a window.
> 
> There are several rdesktop and vnc clients in the ports, so rather than
> go through the flurry of install-tryout-uninstall/repeat, I figured I'd
> go to the place to ask questions.  Here.
> 
> So, who's using these clients, and how effective have you been finding
> them?  Any gotchas?  How cool is it?  Do they just plain suck?  And more
> to the point, which one(s) should I start with on the short list?
> 
> All feedback is welcome - and appreciated.
> Lou

Very cool feedback.  Thank you all.  I'll start looking into the
terminal service (it didn't get installed with W2K, but I haven't
checked out XP Pro yet) and use VNC in the meantime.  I'll be using it
to write Word docs mostly, and if it's efficient enough, I might just
see how well Escape Velocity works (I know, probably not at all).
Network security isn't an issue because it's all my personal network
behind a firewall.

Thanks again.
Lou
-- 
Louis LeBlanc   [EMAIL PROTECTED]
Fully Funded Hobbyist, KeySlapper Extrordinaire :)
http://www.keyslapper.org ԿԬ

There is an old time toast which is golden for its beauty.
"When you ascend the hill of prosperity may you not meet a friend."
-- Mark Twain
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: unpacking as root gives weird ownership...

2004-11-11 Thread Dan Nelson
In the last episode (Nov 11), Andy Firman said:
> On Thu, Nov 11, 2004 at 10:11:37AM -0600, Dan Nelson wrote:
> > In the last episode (Nov 11), Andy Firman said:
> > > On Thu, Nov 11, 2004 at 09:52:55AM -0600, Dan Nelson wrote:
> > > > > Why wouldn't it unpack with root, wheel ownership?
> > > > 
> > > > Tarfiles extracted as root preserve the original ownership of the
> > > > files.  You can use the -o flag to make all the extracted files
> > > > owned by root.
> 
> When I use the -o switch it still won't unpack as root:wheel.

-o works for the native tar on Solaris, Tru64, and IAX.  gnutar doesn't
understand -o but does know about --no-same-owner.  bsdtar understands
both flags; I just tested it.

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


Re: Perl 5.005 on Freebsd 5.3

2004-11-11 Thread Benjamin Walkenhorst
Volker Lieder wrote:
Hello list,
i need the perlversion 5.005 on Freebsd 5.3.
I tried to compile it by hand, but when i try "make" i got an error like
make: don't know how to make . Stop
I need this perl-version only for one application :-/
Perhaps anybody has an idea.
I also need version 5.8.5, but thats not the problem.
Perhaps you can help me.
Have you tried gmake?
Some programs that won't build with FreeBSD's make build just
fine using gmake. It's always the first thing I try when make fails.
Otherwise, you can look for a binary package - even if it's old,
you can probably get it to run with COMPAT_*
Hope this helps,
Benjamin
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: help

2004-11-11 Thread Andrew L. Gould
On Thursday 11 November 2004 01:20 pm, Aaron Carranza wrote:
> I installed freebsd version 4.9 after installing the os, I tried to
> download some packages; however, I can't get connected to any site in
> the sysinstall configuration window. Even if I try to do a pkg_add -r
> cvsup-without-gui-161h, it returns an error and at the en of the
> message I get file not found, no access. Plese help me.

Have you tried using the port name without the version number?

pkg_add -r cvsup-without-gui

Best of luck,

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


Re: unpacking as root gives weird ownership...

2004-11-11 Thread Andy Firman
On Thu, Nov 11, 2004 at 10:11:37AM -0600, Dan Nelson wrote:
> In the last episode (Nov 11), Andy Firman said:
> > On Thu, Nov 11, 2004 at 09:52:55AM -0600, Dan Nelson wrote:
> > > > Why wouldn't it unpack with root, wheel ownership?
> > > 
> > > Tarfiles extracted as root preserve the original ownership of the
> > > files.  You can use the -o flag to make all the extracted files
> > > owned by root.
> > 
> > Hmm.  I am Linux guy getting into FreeBSD. This is new to me and this
> > doesn't happen on any Linux flavor I have been on.
> 
> It's been standard procedure for tar as far back as I can remember, on
> all OSes.

You are right.  I spoke too quickly as I am just starting to work as root
more and more.  Normally everything is done with sudo.

When I use the -o switch it still won't unpack as root:wheel.

Doesn't really matter, just being curious.

Thanks,
Andy


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


Re: /dev/io problem in 5.3

2004-11-11 Thread Louis LeBlanc
On 11/10/04 11:22 PM, Gerard Samuel sat at the `puter and typed:
> Louis LeBlanc wrote:
> 
> >Just got through buildworld/kernel on 5.3.  Strange problem I can't
> >find the solution to.
> >
> >Xorg won't start:
> >
> >Fatal server error:
> >xf86EnableIO: Failed to open /dev/io for extended I/O
> >
> >Please consult the The x.org Foundation support at http://wiki.X.org
> >for help.
> >Yada Yada Yada.
> >
> >Only one hit on Google, and it's just a bug report.  Anyone else have
> >any ideas?  I know /dev/is supposed to be more dynamic in 5.3, but
> >this isn't working.
> >
> Make sure your kernel has "device   io".
> X needs it in 5.3.

Thanks for the post.  One more google search found that exact answer.
I also spotted the mem device that is apparently new in 5.3.

Guess I shoulda been more careful about recycling my 5.2.1 kernel
config.

And thanks to all those who answered.  Now it's in the archives on the
list again :)

Lou
-- 
Louis LeBlanc   [EMAIL PROTECTED]
Fully Funded Hobbyist, KeySlapper Extrordinaire :)
http://www.keyslapper.org ԿԬ

Osborn's Law:
  Variables won't; constants aren't.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


help

2004-11-11 Thread Aaron Carranza
I installed freebsd version 4.9 after installing the os, I tried to download
some packages; however, I can't get connected to any site in the sysinstall
configuration window. Even if I try to do a pkg_add -r
cvsup-without-gui-161h, it returns an error and at the en of the message I
get file not found, no access. Plese help me.

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


error in portugrading kdemultimedia to 3.3.1

2004-11-11 Thread FreeBsdBeni
Hello,

When trying to portupgrade kdemultimedia to 3.3.1, I get the following error :
...
/usr/local/lib/libtag.so: undefined reference to 
`std::__default_alloc_template::_S_node_allocator_lock'
/usr/local/lib/libmusicbrainz.so: undefined reference to 
`std::__default_alloc_template::deallocate(void*, unsigned int)'
gmake[3]: *** [juk] Error 1
gmake[3]: Leaving directory 
`/usr/ports/multimedia/kdemultimedia3/work/kdemultimedia-3.3.1/juk'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory 
`/usr/ports/multimedia/kdemultimedia3/work/kdemultimedia-3.3.1/juk'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory 
`/usr/ports/multimedia/kdemultimedia3/work/kdemultimedia-3.3.1'
gmake: *** [all] Error 2
*** Error code 2

Stop in /usr/ports/multimedia/kdemultimedia3.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade67064.72 
make
** Fix the problem and try again.
** Listing the failed packages (*:skipped / !:failed)
! multimedia/kdemultimedia3 (kdemultimedia-3.3.0)   (linker error)
--->  Packages processed: 0 done, 72 ignored, 0 skipped and 1 failed

When looking for "juk", I found it in /usr/ports/audio/juk, and 
in /usr/local/bin but : 
localhost# cd /usr/ports/audio/juk
localhost# make deinstall
===>  Deinstalling for audio/juk
===>   juk not installed, skipping
and a make && make install clean just got me :
===>  juk-1.1_3 is marked as broken: Does not compile on FreeBSD >= 5.x.

I'm running 5.3-rel now. How do I get kdemultimedia upgraded to 3.3.1 ? All 
the rest of kde got upgraded without any (major) problems.
Thx,
-- 
FreeBsdBeni.


pgpyoNXwRRnFl.pgp
Description: PGP signature


Re: unpacking as root gives weird ownership...

2004-11-11 Thread Dan Nelson
In the last episode (Nov 11), Andy Firman said:
> On Thu, Nov 11, 2004 at 09:52:55AM -0600, Dan Nelson wrote:
> > > Why wouldn't it unpack with root, wheel ownership?
> > 
> > Tarfiles extracted as root preserve the original ownership of the
> > files.  You can use the -o flag to make all the extracted files
> > owned by root.
> 
> Hmm.  I am Linux guy getting into FreeBSD. This is new to me and this
> doesn't happen on any Linux flavor I have been on.

It's been standard procedure for tar as far back as I can remember, on
all OSes.

# dpkg -l tar
||/ Name   VersionDescription
+++-==-==-
ii  tar1.13.93-4  GNU tar
# touch testfile
# chown : testfile
# ls -l testfile
-rw-rw-r--  1   0 Nov 11 10:01 testfile
# tar cvf testfile.tar testfile
testfile
# rm testfile
rm: remove regular empty file `testfile'? y
# tar xvf testfile.tar
testfile
# ls -l
-rw-rw-r--  1   0 Nov 11 10:01 testfile

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


Re: About FreeBSD

2004-11-11 Thread cpghost
On Thu, Nov 11, 2004 at 08:18:19AM -0200, Rafa wrote:
> Good Morning!!
> 
> Hey, I'm from Brazil and I would like to know whereI can find the
> "code source" of FreeBSD, I don't if this name is correct, but in
> Portuguese it's "C?digo Fonte" of FreeBSD!!!

Yes, source code is available with the system. If you install
FreeBSD on your PC, the installer gives you the option to install
source code as well. Sources are under /usr/src and are used to
recompile the whole system.

> I also would like to know if I can use FreeBSD without install in my
> PC, Look, there's a operational system, called Kurumin, that can be
> used in the CD!!!

Yes you can! Check out FreeSBIE CD from http://www.freesbie.org/

> Rafael

Welcome to FreeBSD!

Cheers,
cpghost.

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


Re: Will a SD card reader solve this problem?

2004-11-11 Thread Ada Cheng
Just to close this thread, the SD card reader worked beautifully.  I 
bought a Lexar JumpDrive Trio which cost less than US$20.

Ada
 On Thu, 11 Nov 2004, Greg 'groggy' Lehey wrote:
On Wednesday, 10 November 2004 at  8:58:27 -0500, Ada Cheng wrote:
Good morning,
I am trying to connect my Minolta Z2 camera with my box, currently
running 4.10 stable.
...
After rebuilding the kernel and rebooting, I tested the configuration by
plugging in my camera. The following is the output of dmesg:
umass0: KONICA_MINOLTA DiMAGE Z2, rev 2.00/1.00, addr 2
umass0: BBB reset failed, TIMEOUT (this is repeated if I don't unplug the
camera)
Hmm.  Not good.
If I do a camcontrol devlist I obtain
  at scbus1 target 0 lun 0 (probe0)
so I guess the camera is recognized but no device node was probed.
I am also getting the following error when i do
$mount -t msdos -r /dev/da0s1c /camera
msdos: /dev/da0s1c: Device not configured
which I guess isn't too surprising.
I have read various threads regarding this TIMEOUT failure error and
some has suggested doing some quirks with the src/sys/cam/scsi/scsi_da.c
file which I am not comfortable with doing.
I'm in a similar (but not the same) situation with a Ricoh camera.  I
can understand your position.
Will a SD card reader solve this problem?
Almost certainly.  That's what I did.
See http://www.lemis.com/grog/diary-nov2004.html#7 for more details.
Greg
--
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: problems with sound :[

2004-11-11 Thread Andrew L. Gould
On Thursday 11 November 2004 09:56 am, jason wrote:
> Danny MacMillan wrote:
> >On Wed, Nov 10, 2004 at 11:34:14PM -0700, eodyna wrote:
> >>hi everyone,
> >>
> >>I can play mp3's :) but i cant seam to be able to play
> >>cd's.
> >>
> >>any ideas?
> >>
> >>thanks again.
> >
> >It seems likely that the tiny analog or digital cable between
> >your sound card and your CD-ROM drive is not connected.
>
> My cds play just fine without that cable.

1. How are you trying to play cd's?  (what application, etc)

2. Did you recently recompile your kernel with atapicam and forget to 
change you CDROM device in /etc/fstab?

Best of luck,

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


Re: unpacking as root gives weird ownership...

2004-11-11 Thread Andy Firman
On Thu, Nov 11, 2004 at 09:52:55AM -0600, Dan Nelson wrote:
> > 
> > Why wouldn't it unpack with root, wheel ownership?
> 
> Tarfiles extracted as root preserve the original ownership of the
> files.  You can use the -o flag to make all the extracted files owned
> by root.

Hmm.  I am Linux guy getting into FreeBSD. This is new to me and this
doesn't happen on any Linux flavor I have been on.

Is there any particular reason for this default on FreeBSD?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: problems with sound :[

2004-11-11 Thread jason
Danny MacMillan wrote:
On Wed, Nov 10, 2004 at 11:34:14PM -0700, eodyna wrote:
 

hi everyone,
I can play mp3's :) but i cant seam to be able to play
cd's.
any ideas?
thanks again.
   

It seems likely that the tiny analog or digital cable between
your sound card and your CD-ROM drive is not connected.
 

My cds play just fine without that cable.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Trying to build a speed demon

2004-11-11 Thread Randy Grafton
Hi All,
I am trying to build a Samba file server that will serve 2TB to a single 
dept. The dept will have a large variety of file types being saved to 
the server; thousands of small (<32K) files to hundreds of medium to 
large files (a few hundred KB in size to a few hundred MB in size). I am 
using a 3ware 9500 series card in a PCX slot with 8 SATA drives 
connected to it in a RAID 5 config. The proc is an Intel 3.2GHz with 4GB 
of 400MHz DDR ECC Dual Channel RAM. The computer also has a single GB 
Ethernet. The clients are all XP Pro. I have put 5.3 on it and 
recompiled the kernel with only the items (drivers?) in it that are 
physically on the system and being used. For example I've turned off 
USB, Serial and Parallel ports in the motherboard's BIOS and have 
removed them from my kernel. Do you gurus have anything else you could 
recommend? I know that RAID5 will have a slowdown in write performance 
as will using UFS (Journaled file system). Of course I'm not 
specifically asking for Samba help but any advice for kernel/OS/Network 
config or insight to fine tuning SAMBA on FreeBSD, so that this machine 
can set new land speed records. I was also wondering about dual NIC for 
load balancing as I'm hoping that the network is actually going to be 
the bottleneck here.

On a quick side note, I have been a part of this list for a couple of 
years now and have offered support when I can or wasn't already beaten 
to it. I just wanted to give a BIG Thank You to the developers for hands 
down 'The Best OS' on the planet and to the individuals on this list who 
have consistently taken time from their day to offer their technical 
expertise and talent in an effort to further FreeBSD!

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


Re: unpacking as root gives weird ownership...

2004-11-11 Thread Dan Nelson
In the last episode (Nov 11), Andy Firman said:
> I can't figure out why, when I unpack something like 
> awstats-6.2.tgz it gives me this:
> 
> # tar xvzf awstats-6.2.tgz
> # ls -al
> drwx--   5 1007 513 512 Nov  6 06:03 awstats-6.2
> -rw-r--r--   1 root wheel860606 Nov  6 06:26 awstats-6.2.tgz
> 
> I have used vipw to get rid of a bunch of users and am wondering
> if that is a problem.  User 1007 does not even exist. 
> There is a group 513.
> 
> Why wouldn't it unpack with root, wheel ownership?

Tarfiles extracted as root preserve the original ownership of the
files.  You can use the -o flag to make all the extracted files owned
by root.

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


Re: PID in linux emulation

2004-11-11 Thread Dan Nelson
In the last episode (Nov 11), Malcolm Kay said:
> I am attempting to run a commercial CAD software suite compiled for
> Linux on a FreeBSD 4.10 OS. It runs as well or perhaps better than on
> a Linux box until the PID becomes large.
> 
> The MAX_PID for FreeBSD is 9 while Linux has a limit of 0x8000.
[...] 
> Can I edit in /usr/include/sys/proc.h and recompile the system
> (kernel) for a lower MAX_PID? Will it work? Will it lead to other
> complications? Is this where the kernel compilation obtains its
> value?

Sure.  You have to lower PID_MAX when running FreeBSD 2.x or ancient
IBCS code, too.  There should be no ill effects.

> Can MAX_PID be changed via sysctl?
> 
> Is there someway to reset the current PID without rebooting?

PID_MAX could be converted into a sysctl/boot-time tuneable without
much trouble.  The kernel uses values above PID_MAX for thread ids, so
I don't think moving the ceiling at runtime is a good idea.  Allowing
it to be set to any value less than the boot-time limit should work
fine, though.

You also might want to ask your vendor to fix their hardcoded limit.
There is no guarantee that the stock Linux kernel will use 16-bit pid
values forever, and there is already a "pidhashing" patch that bumps it
up to 4 million.

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


unpacking as root gives weird ownership...

2004-11-11 Thread Andy Firman

I can't figure out why, when I unpack something like 
awstats-6.2.tgz it gives me this:

# tar xvzf awstats-6.2.tgz
# ls -al
drwx--   5 1007 513 512 Nov  6 06:03 awstats-6.2
-rw-r--r--   1 root wheel860606 Nov  6 06:26 awstats-6.2.tgz

I have used vipw to get rid of a bunch of users and am wondering
if that is a problem.  User 1007 does not even exist. 
There is a group 513.

Why wouldn't it unpack with root, wheel ownership?

What am I doing wrong?


Andy


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


Perl 5.005 on Freebsd 5.3

2004-11-11 Thread Volker Lieder
Hello list,
i need the perlversion 5.005 on Freebsd 5.3.
I tried to compile it by hand, but when i try "make" i got an error like
make: don't know how to make . Stop
I need this perl-version only for one application :-/
Perhaps anybody has an idea.
I also need version 5.8.5, but thats not the problem.
Perhaps you can help me.
Volker
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Fixing bad blocks (was: Re: Do you need to dismount /usr to

2004-11-11 Thread Jerry McAllister
> 
> At 01:18 PM 11/10/2004, you wrote:
> >Your problem seems to be bad blocks in the /usr file system.
> >That has nothing to do with dump.  It is a bad spot on the disk.
> >fsck will not fix that sort of thing.   If you can figure out
> >what files sit on the bad spots, you might be able to delete them
> >and then do your dump.   Then you should immediately replace the
> >disk.
> 
> I tarred up all of /usr to another filesystem, and I did see an error 
> reading a core dump file from squid. I deleted the file and I was then able 
> to dump /usr successfully. So that's good news.
> 
> However, I apparently need to fix the bad blocks before my RAID will 
> rebuild. (I had hoped it would do file-wise copies, but it looks like it 
> does lower level reading.)
> 
> It is my understanding that an IDE disk will only remap a bad block on a 
> write, not just a read. My plan is to load up /usr with enough files to 
> fill it up; this should write to the bad blocks and force them to be 
> remapped to spares.
> 
> I am hopeful that the drive is still healthy, as it only shows 2 SMART 
> errors. (Can a core dump cause a bad block or two?)

A core dump will not create bad blocks.  They are usually due to bad
spots on the disk - it is physical.   You could see if there is a
surface scan available in your bios or some accompanying diagnostic
utilities.   But, the reality is that if you start actually seeing
bad blocks reported, then there is a strong likelyhood that the disk
has already had others that were concealed by the automatic remapping
and is coming near to its demise.  So, that makes it a good time to
replace the drive rather than leaving yourself open to problems later - 
and maybe not so much later either.

So, good luck,

jerry

> 
> (Of course, the 3ware twe driver may not allow rebuilds yet on the 7000 
> cards, so I may have to try a Knoppix CD too.)
> 
> Thanks to all for the input.
> 
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> Matt Staroscik * KF6IYW * [EMAIL PROTECTED] * http://wrongcrowd.com
> "The combined weight of the horrors I have authored wrought would crush
> your carbon hearts into perfect diamonds of terror."
>  -- Leonid Kasparov Destroyovitch
> 
> 
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> 

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


Re: About FreeBSD

2004-11-11 Thread Jeremy Faulkner
Rafa wrote:
I also would like to know if I can use FreeBSD without install in my
PC, Look, there's a operational system, called Kurumin, that can be
used in the CD!!!
This thread on the questions@ mailing list from yesterday (Nov 10):
http://docs.freebsd.org/cgi/getmsg.cgi?fetch=2040659+0+current/freebsd-questions
--
Jeremy Faulkner <[EMAIL PROTECTED]>
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Vinum configuration lost at vinum stop / start

2004-11-11 Thread Stijn Hoop
Hi,

On Thu, Nov 11, 2004 at 04:53:39PM +0200, Kim Helenius wrote:
> Stijn Hoop wrote:
> > I don't know the state of affairs for 5.2.1-RELEASE, but in 5.3-RELEASE 
> > gvinum is the way forward.
> 
> Thanks again for answering. Agreed, but there still seems to be a long 
> way to go. A lot of 'classic' vinum functionality is still missing and 
> at least for me it still doesn't do the job the way I would find 
> trustworthy. See below.

That's absolutely true. While 5.3 is IMHO pretty stable, gvinum is quite new
and therefore a bit less well tested than the rest of the system.  Fortunately
Lukas Ertl, the maintainer of gvinum, is pretty active and responsive to
problems.

So if you need a critically stable vinum environment you would be better off
with 4.x.

> I tested gvinum with some interesting results. First the whole system 
> froze after creating a concatenated drive and trying to gvinum -rf -r 
> objects (resetconfig command doesn't exist).

That's not good. Nothing in dmesg? If you can consistently get this to happen
you should send in a problem report.

> Next, I created the volume, 
> newfs, copied some data on it. The rebooted, and issued gvinum start. 
>
> This is what follows:
> 
> 2 drives:
> D d1State: up   /dev/ad4s1d A: 285894/286181 
> MB (99%)
> D d2State: up   /dev/ad5s1d A: 285894/286181 
> MB (99%)
> 
> 1 volume:
> V vinum0State: down Plexes:   1 Size:572 MB
> 
> 1 plex:
> P vinum0.p0   C State: down Subdisks: 2 Size:572 MB
> 
> 2 subdisks:
> S vinum0.p0.s0  State: staleD: d1   Size:286 MB
> S vinum0.p0.s1  State: staleD: d2   Size:286 MB
> 
> I'm getting a bit confused. Issuing separately 'gvinum start vinum0' 
> does seem to fix it (all states go 'up') but surely it should come up 
> fine with just 'gvinum start'? This is how I would start it in loader.conf.

I think I've seen this too, but while testing an other unrelated problem.  At
the time I attributed it to other factors. Can you confirm that when you
restart again, it stays up? Or maybe try an explicit 'saveconfig' when it is
in the 'up' state, and then reboot.

> > Have you read
> >
> >http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/current-stable.html
> >
> > Particularly the 19.2.2 section, 'Staying stable with FreeBSD'?
> >
> 
> I have read it and used -stable in 4.x, and if I read it really 
> carefully I figure out that -stable does not equal "stable" which is way 
> I stopped tracking -stable in the first place. And when knowing I would 
> only need it to fix raid5 init I'm a bit reluctant to do it as I found 
> out I can't even create a concat volume correctly.

That I can understand. If I may make a polite suggestion, it sounds like you
value stability above all else. In this case where vinum is involved, I would
recommend you to stay with 4.x until 5.4 is released. That should take another
6-8 months and probably most of the gvinum issues will have been tackled by
then. Although I know that there are a lot of users, myself included, that run
gvinum on 5.x, it is pretty new technology and therefore unfortunately
includes pretty new bugs.

The other option is to bite the bullet now, and fiddle with gvinum for a few
days. Since other users are using it, it is certainly possible.  This will
take you some time however. It will save you time when the upgrade to 5.4 will
be though.

It is your decision what part of the tradeoff you like the most.

HTH,

--Stijn

-- 
Apparently, 1 in 5 people in the world are Chinese. And there are 5 people
in my family, so it must be one of them. It's either my mum or my dad..
or maybe my older brother John. Or my younger brother Ho-Cha-Chu. But I'm
pretty sure it's John.


pgppjpGDUdUn1.pgp
Description: PGP signature


Re: Please take this somewhere else (was RE: difference

2004-11-11 Thread Jerry McAllister
> > -Original Message-
> > From: Jerry McAllister [mailto:[EMAIL PROTECTED]
> > Sent: Wednesday, November 10, 2004 8:20 AM
> > To: Ted Mittelstaedt
> > Cc: [EMAIL PROTECTED]
> > Subject: Re: Please take this somewhere else (was RE: difference
> > 
> > A person may not realize there is a place such a complaint can be
> > sent other than posting it on the list.   Probably they could find
> > out by reading up on the use of the list, but if they didn't realize
> > the one, they might not think of the other either.   So, though not 
> > quite the right way to go about dealing with the situation, it might 
> > not have had the dastardly intent you describe.
> 
> That is a point.
> 
> > Also, there is a difference between censorship and taking an action
> > against abuse of persons.   The behavior indicated is indeed abusive.  
> 
> That is a judgement that needs to be made by the people running the
> list, not by the recipient of 'the abuse'  Anybody that is being
> told to shut up, or is being told they are an idiot, is going to
> claim it abuse.

Well, the person did address his complaint to the "moderator" of the 
list and, tho sent to the wrong place, did not address it to the 
list per se.

The attack mentioned was particularly virulent and personal but you are
right, I have seen plenty of other times when such language was used
(doesn't make it right or acceptable though).  Most often it was followed 
by someone telling the person such was not acceptable on the list.  Sending 
such a attack message off the list in response to legitimate posting should 
not be acceptable either.

Finally, it is up to the list manager to choose what to do.  I don't
think anyone has disagreed with that - at not in a public posting.

jerry

> 
> I would consider something like posting someone's complete name,
> address, phone number along with a statement that you and your
> Klan friends are going to be there Friday with a rope, to be
> abusive.  But simple name calling?  pish posh.  I wish I had
> a nickle for every time someone swore on a mailing list!
> 
> > Interdicting that type of behavior stands short of censorship, though
> > the issue of appropriate action is such a case is never completely clear.
> > 
> 
> Fortunately though, we don't have to make a decision on the
> appropriateness of any action taken.
> 
> Ted
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> 

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


Re: RDEsktop/VNC questions

2004-11-11 Thread Gary Hayers
On Nov 10, 2004, at 6:14 PM, Bart Silverstrim wrote:
>Some of you other *BSDers may also be familiar with one called VNC
>(Visual Network >Connection ?)
Virtual Network Computing
Regards,
Gary Hayers
IT Support & Unix Administrator
WENN.com
World Entertainment News Network
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Vinum configuration lost at vinum stop / start

2004-11-11 Thread Kim Helenius
Stijn Hoop wrote:
Greetings. I posted earlier about problems with vinum raid5 but it 
appears it's not restricted to that.
Are you running regular vinum on 5.x? It is known broken. Please use
'gvinum' instead.
There is one caveat: the gvinum that shipped with 5.3-RELEASE contains an
error in RAID-5 initialization. If you really need RAID-5 you either need
to wait for the first patch level release of 5.3, or you can build
RELENG_5 from source yourself. The fix went in on 2004-11-07.
Thank you for your answer. I tested normal concat with both 5.2.1-RELEASE and
5.3-RELEASE with similar results. Plenty of people (at least I get this
impression after browsing several mailing lists and websites) have working
vinum setups with 5.2.1 (where gvinum doesn't exist) so there's definately 
something I'm doing wrong here. So my problem is not limited to raid5.

I don't know the state of affairs for 5.2.1-RELEASE, but in 5.3-RELEASE gvinum
is the way forward.
Thanks again for answering. Agreed, but there still seems to be a long 
way to go. A lot of 'classic' vinum functionality is still missing and 
at least for me it still doesn't do the job the way I would find 
trustworthy. See below.

I'm aware of gvinum and the bug and actually tried to cvsup & make world 
last night but it didn't succeed due to some missing files in netgraph 
dirs. I will try again tonight.
I tested gvinum with some interesting results. First the whole system 
froze after creating a concatenated drive and trying to gvinum -rf -r 
objects (resetconfig command doesn't exist). Next, I created the volume, 
newfs, copied some data on it. The rebooted, and issued gvinum start. 
This is what follows:

2 drives:
D d1State: up   /dev/ad4s1d A: 285894/286181 
MB (99%)
D d2State: up   /dev/ad5s1d A: 285894/286181 
MB (99%)

1 volume:
V vinum0State: down Plexes:   1 Size:572 MB
1 plex:
P vinum0.p0   C State: down Subdisks: 2 Size:572 MB
2 subdisks:
S vinum0.p0.s0  State: staleD: d1   Size:286 MB
S vinum0.p0.s1  State: staleD: d2   Size:286 MB
I'm getting a bit confused. Issuing separately 'gvinum start vinum0' 
does seem to fix it (all states go 'up') but surely it should come up 
fine with just 'gvinum start'? This is how I would start it in loader.conf.

OK, I think that will help you out. But the strange thing is, RELENG_5 should
be buildable. Are you sure you are getting that?
Have you read
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/current-stable.html
Particularly the 19.2.2 section, 'Staying stable with FreeBSD'?
I have read it and used -stable in 4.x, and if I read it really 
carefully I figure out that -stable does not equal "stable" which is way 
I stopped tracking -stable in the first place. And when knowing I would 
only need it to fix raid5 init I'm a bit reluctant to do it as I found 
out I can't even create a concat volume correctly.

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


Re: /dev/io problem in 5.3

2004-11-11 Thread Ruben de Groot
On Thu, Nov 11, 2004 at 09:19:29AM +0200, Nelis Lamprecht typed:
> On Wed, 10 Nov 2004 23:22:59 -0500, Gerard Samuel
> <[EMAIL PROTECTED]> wrote:
> > Louis LeBlanc wrote:
> > 
> > 
> > 
> > >Just got through buildworld/kernel on 5.3.  Strange problem I can't
> > >find the solution to.
> > >
> > >Xorg won't start:
> > >
> > >Fatal server error:
> > >xf86EnableIO: Failed to open /dev/io for extended I/O
> > >
> > >Please consult the The x.org Foundation support at http://wiki.X.org
> > >for help.
> > >Yada Yada Yada.
> > >
> > >Only one hit on Google, and it's just a bug report.  Anyone else have
> > >any ideas?  I know /dev/is supposed to be more dynamic in 5.3, but
> > >this isn't working.
> > >
> > Make sure your kernel has "device   io".
> > X needs it in 5.3.
> > 
> 
> Out of curiosity does 5.3 have this in the Generic kernel ? I don't
> have a copy installed yet to check but if it doesn't then it certainly
> should IMO. I've seen this problem reported a few times already.

I'm not entirely sure (haven't tested), but since there is now a module io.ko
in /boot/kernel you might get away with a "kldload io"

Ruben

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


RE: Thru a 'nasty' proxy

2004-11-11 Thread Butterworth, Thaddaeus (Manpower Contract)


>-Original Message-
>From: [EMAIL PROTECTED]
[mailto:owner-freebsd->[EMAIL PROTECTED] On Behalf Of Nelis
Lamprecht
>Sent: Thursday, November 11, 2004 6:47 AM
>To: Vittorio
>Cc: FreeBSD Questions
>Subject: Re: Thru a 'nasty' proxy
>
>On Thu, 11 Nov 2004 13:55:43 +, Vittorio <[EMAIL PROTECTED]>
>wrote:
>> Old linux user now moving gradually to freebsd 5.2.1, at office we
have
>> a lan
>> 1) with an http proxy for which authentication via userid & passwd is
>> needed AND
>> 2) ftp is blocked, not permitted.
>> 
>> I want to use the ports and compile my programs. I have already tried
to
>> set the http proxy (as under linux, by the way!)  issuing:
>> 
>> env HTTP_PROXY="http://userid:[EMAIL PROTECTED]:8080"
>> 
>> to no avail; freebsd complains endlessly that
>> ...
>> fetch: ftp://: Host not found
>> .
>
>Try putting in the following in /etc/make.conf
>
>FETCH_ENV=  FTP_PROXY=http://userid:[EMAIL PROTECTED]:8080
>FETCH_ENV=  HTTP_PROXY=http://userid:[EMAIL PROTECTED]:8080
>
>To be honest, haven't tried it with authentication but the above would
>be the correct way to make use of a proxy for ports.
>
>Nelis
>___
>[EMAIL PROTECTED] mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>To unsubscribe, send any mail to
"freebsd-questions->[EMAIL PROTECTED]"
>

If you want to test it without editing your /etc/make.conf file then you
can always type in setenv
FTP_PROXY=http://userid:[EMAIL PROTECTED]:8080. That's what I use to
make sure that I've got the right settings before I change any conf
files.

Thad

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


Maybe a bug in 5.3 [Was: Re: BIND9 dump file]

2004-11-11 Thread Gerard Samuel
Erik Norgaard wrote:
Gerard Samuel wrote:
 

Im getting a bunch of these in the logs ->
Nov 10 10:30:48 gatekeeper named[312]: dumping master file:
master/tmp-SLtSQEmBBK: open: permission denied
So I figured a filesystem permissions problem.  I chowned
Thanks for any info that you may provide...
 

Im confused.  I've read the named and rc.conf man pages, and didn't find
out
why named is behaving as it is.
   

I don't know if this will help or is related. I had a problem with named
not creating the pid-file with a permision denied error (see other thread).
I eventually solved it by creating a new chroot-dir and setting
permissions on that. It still remains a mystery to me why I ever got
that problem or why this worked.
I dont think recreating the chroot will fix it.
According to the docs, the chroot process is automatic in 5.3.
And since, I have no idea where these *automatic* instructions live,
I dont think moving/recreating the chroot will fix it.
I believe the problem lies within the *automatic* instructions.
Even in the docs for DNS in the handbook states that ->
   *
 Create all directories that named expects to see:
# cd /etc/namedb
# mkdir -p bin dev etc var/tmp var/run master slave
# chown bind:bind slave var/*
   

 

 named only needs write access to these directories, so that is
 all we give it.
Im not sure why the author assumes that named shouldn't write to the 
master directory.
In my case, DHCP can only update master zones (DHCP updates DNS within 
the LAN),
not slave zones, so master should be writeable by named.

What Im going to try is this.
Since the slave directory never seems to change permissions, I'll move the
LAN's zone files to the slave directory instead of the master directory.
And change named.conf ->
zone "trini0.org" {
   type master;
   file "slave/trini0.org";
   allow-update { key DHCP_UPDATER; };
};
zone "0.168.192.in-addr.arpa" {
   type master;
   file "slave/trini0.org.rev";
   allow-update { key DHCP_UPDATER; };
};
Kind of a contradiction if you're a stickler on the naming convention.
Hopefully if this *automatic* process doesn't recreate the directories 
at boot time,
this should work out.
I'll try this, and report any findings.

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


Re: RDEsktop/VNC questions

2004-11-11 Thread Bart Silverstrim
On Nov 10, 2004, at 6:45 PM, Matthew T. Lager wrote:
rdesktop (net/rdesktop) is flawless. Use it everday to manage my 
Windows
2000 Servers. Supports many many many different features. Highly
recommened.
I'd also add that the WTS is encrypted.  I don't believe VNC does much 
to encrypt the connection, so it should be wrapped in SSH if possible 
or used over only a trusted network.

At least that's my understanding of it.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: RDEsktop/VNC questions

2004-11-11 Thread Bart Silverstrim
On Nov 10, 2004, at 6:14 PM, Louis LeBlanc wrote:
Quick question about interconnectivity.
You OSX users may be familiar with a very slick little utility called
RDC (Remote Desktop Connection).  Some of you other *BSDers may also be
familiar with one called VNC (Visual Network Connection ?) or RDP (?).
The purpose of said utilities is to provide a sort of graphical shell
similar to an X session from a remote machine in a window.
There are several rdesktop and vnc clients in the ports, so rather than
go through the flurry of install-tryout-uninstall/repeat, I figured I'd
go to the place to ask questions.  Here.
So, who's using these clients, and how effective have you been finding
them?  Any gotchas?  How cool is it?  Do they just plain suck?  And 
more
to the point, which one(s) should I start with on the short list?

I've used them both (RDP protocol client and various VNC clients on 
different platforms), and they're for two different things.

RDP (the RDC client) is for connecting to Windows Terminal Services; 
you get a desktop login of your own in your own session.  VNC takes 
remote control of a desktop running the server application.  RDP is a 
hack to turn Windows into a "multi user" system, while VNC is 
single-user implementation.

Which one should you start with?  Depends on the platform and what 
you're trying to do.  If you have a Windows Terminal Server, an RDP 
client is the way to go.  If you don't...VNC is the way to go :-)

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


FAT32/NTFS, external hard drive issue

2004-11-11 Thread scott renna
Hello list,

I was wondering if you all might be able to help on
this.  I recently purchased an external hard drive
case and dropped an IDE drive into it.  It's great and
all, except that the transfer speed is limited to
1Mb/s due to an error message that I had posted on the
list a few days back(GET MAX LUN STALLED).  That's
fine, I can deal with it for now.  Here's the issue:

I created a FAT32 parition on the external drive from
/stand/sysinstall and dropped some files onto it.  I
then moved it over to the win box to see if it could
see it and sadly no.  Is there a way to set up
pseudo-drive assignments from FreeBSD on a FAT32
partition so that Windows can see it?



__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Thru a 'nasty' proxy

2004-11-11 Thread Nelis Lamprecht
On Thu, 11 Nov 2004 13:55:43 +, Vittorio <[EMAIL PROTECTED]> wrote:
> Old linux user now moving gradually to freebsd 5.2.1, at office we have
> a lan
> 1) with an http proxy for which authentication via userid & passwd is
> needed AND
> 2) ftp is blocked, not permitted.
> 
> I want to use the ports and compile my programs. I have already tried to
> set the http proxy (as under linux, by the way!)  issuing:
> 
> env HTTP_PROXY="http://userid:[EMAIL PROTECTED]:8080"
> 
> to no avail; freebsd complains endlessly that
> ...
> fetch: ftp://: Host not found
> .

Try putting in the following in /etc/make.conf

FETCH_ENV=  FTP_PROXY=http://userid:[EMAIL PROTECTED]:8080
FETCH_ENV=  HTTP_PROXY=http://userid:[EMAIL PROTECTED]:8080

To be honest, haven't tried it with authentication but the above would
be the correct way to make use of a proxy for ports.

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


Re: Vinum configuration lost at vinum stop / start

2004-11-11 Thread Stijn Hoop
On Thu, Nov 11, 2004 at 03:32:58PM +0200, Kim Helenius wrote:
> On Thu, 11 Nov 2004, Stijn Hoop wrote:
> > On Thu, Nov 11, 2004 at 12:00:52PM +0200, Kim Helenius wrote:
> > > Greetings. I posted earlier about problems with vinum raid5 but it 
> > > appears it's not restricted to that.
> > 
> > Are you running regular vinum on 5.x? It is known broken. Please use
> > 'gvinum' instead.
> > 
> > There is one caveat: the gvinum that shipped with 5.3-RELEASE contains an
> > error in RAID-5 initialization. If you really need RAID-5 you either need
> > to wait for the first patch level release of 5.3, or you can build
> > RELENG_5 from source yourself. The fix went in on 2004-11-07.
> 
> Thank you for your answer. I tested normal concat with both 5.2.1-RELEASE and
> 5.3-RELEASE with similar results. Plenty of people (at least I get this
> impression after browsing several mailing lists and websites) have working
> vinum setups with 5.2.1 (where gvinum doesn't exist) so there's definately 
> something I'm doing wrong here. So my problem is not limited to raid5.

I don't know the state of affairs for 5.2.1-RELEASE, but in 5.3-RELEASE gvinum
is the way forward.

> I'm aware of gvinum and the bug and actually tried to cvsup & make world 
> last night but it didn't succeed due to some missing files in netgraph 
> dirs. I will try again tonight.

OK, I think that will help you out. But the strange thing is, RELENG_5 should
be buildable. Are you sure you are getting that?

Have you read

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

Particularly the 19.2.2 section, 'Staying stable with FreeBSD'?

HTH,

--Stijn

-- 
I have great faith in fools -- self confidence my friends call it.
-- Edgar Allan Poe


pgpZ9gvLIDHlj.pgp
Description: PGP signature


Re: Vinum configuration lost at vinum stop / start

2004-11-11 Thread Kim Helenius
On Thu, 11 Nov 2004, Stijn Hoop wrote:

> On Thu, Nov 11, 2004 at 12:00:52PM +0200, Kim Helenius wrote:
> > Greetings. I posted earlier about problems with vinum raid5 but it 
> > appears it's not restricted to that.
> 
> Are you running regular vinum on 5.x? It is known broken. Please use
> 'gvinum' instead.
> 
> There is one caveat: the gvinum that shipped with 5.3-RELEASE contains an
> error in RAID-5 initialization. If you really need RAID-5 you either need
> to wait for the first patch level release of 5.3, or you can build
> RELENG_5 from source yourself. The fix went in on 2004-11-07.

Thank you for your answer. I tested normal concat with both 5.2.1-RELEASE and
5.3-RELEASE with similar results. Plenty of people (at least I get this
impression after browsing several mailing lists and websites) have working
vinum setups with 5.2.1 (where gvinum doesn't exist) so there's definately 
something I'm doing wrong here. So my problem is not limited to raid5.

I'm aware of gvinum and the bug and actually tried to cvsup & make world 
last night but it didn't succeed due to some missing files in netgraph 
dirs. I will try again tonight.

> 
> --Stijn
> 
> -- 
> Fairy tales do not tell children that dragons exist. Children already
> know dragons exist. Fairy tales tell children the dragons can be
> killed.
>   -- G.K. Chesterton
> 

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


Re: /dev/io problem in 5.3

2004-11-11 Thread Gerard Samuel
Nelis Lamprecht wrote:
On Wed, 10 Nov 2004 23:22:59 -0500, Gerard Samuel
<[EMAIL PROTECTED]> wrote:
 

Louis LeBlanc wrote:

   

Just got through buildworld/kernel on 5.3.  Strange problem I can't
find the solution to.
Xorg won't start:
Fatal server error:
xf86EnableIO: Failed to open /dev/io for extended I/O
Please consult the The x.org Foundation support at http://wiki.X.org
for help.
Yada Yada Yada.
Only one hit on Google, and it's just a bug report.  Anyone else have
any ideas?  I know /dev/is supposed to be more dynamic in 5.3, but
this isn't working.
 

Make sure your kernel has "device   io".
X needs it in 5.3.
   

Out of curiosity does 5.3 have this in the Generic kernel ? I don't
have a copy installed yet to check but if it doesn't then it certainly
should IMO. I've seen this problem reported a few times already.
Yes its part of the 5.3 GENERIC kernel.
Also (I ran into this with X also), you also need device mem if you dont 
already have it.
--
device  mem # Memory and kernel memory devices
device  io  # I/O device
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Network hang on 5.3

2004-11-11 Thread Svein Halvor Halvorsen

I just installed a new bridge a couple of weeks ago, and the other day I
upgraded it to RELENG_5_3 by source. It runs with a custom kernel which
has bridge, ipfirewall, sound and some other things in it.

Today the machine just suddenly locked up. This has also happened before
(two days ago). The bridge seem to work still though, as I can connect to
machines on the other side of the box and vice versa. It also answers on
ping. However, if I try to connect via ssh or http the connection just
seems to hang. If I do 'telnet bridge 22' I get

Trying xxx.xxx.xxx.xxx...
Connected to x.x.xxx.
Escape character is '^]'.


And nothing. It just hangs, and I can't ctrl-c or ctrl-z or anything. I
have to kill the telnet process from another tty. Only the ports that are
supposed to be open gives this result (22, 80, etc). If I try to connect
to any other port, I get the usual 'Connection refused'


I do not have a monitor on this machine, and ssh is the only way in. How
can I find out what's wrong, either before or after rebooting it.


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


Thru a 'nasty' proxy

2004-11-11 Thread Vittorio
Old linux user now moving gradually to freebsd 5.2.1, at office we have 
a lan 
1) with an http proxy for which authentication via userid & passwd is 
needed AND 
2) ftp is blocked, not permitted.

I want to use the ports and compile my programs. I have already tried to 
set the http proxy (as under linux, by the way!)  issuing:

env HTTP_PROXY="http://userid:[EMAIL PROTECTED]:8080"

to no avail; freebsd complains endlessly that 
...
fetch: ftp://: Host not found
.
as if it cannot resolve the ftp site (which in turn is blocked) even 
though  I have the nameserver under /etc/resolv.conf


Could you please tell me in a straightforward manner what **exactly** 
should I do for both 1) and 2)? 

Is there any alternative way of getting the source ports using an http 
connection (I cannot buy the CDs and similkar things)?

Ciao

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


Re: Vinum configuration lost at vinum stop / start

2004-11-11 Thread Stijn Hoop
On Thu, Nov 11, 2004 at 12:00:52PM +0200, Kim Helenius wrote:
> Greetings. I posted earlier about problems with vinum raid5 but it 
> appears it's not restricted to that.

Are you running regular vinum on 5.x? It is known broken. Please use
'gvinum' instead.

There is one caveat: the gvinum that shipped with 5.3-RELEASE contains an
error in RAID-5 initialization. If you really need RAID-5 you either need
to wait for the first patch level release of 5.3, or you can build
RELENG_5 from source yourself. The fix went in on 2004-11-07.

--Stijn

-- 
Fairy tales do not tell children that dragons exist. Children already
know dragons exist. Fairy tales tell children the dragons can be
killed.
-- G.K. Chesterton


pgppv4V8ikVEN.pgp
Description: PGP signature


named logging: POKED TIMER

2004-11-11 Thread Rob
Hi,
With 5.3, running named (cashing nameserver only) and ntpd to sync
the time, I see in /var/log/messages about twice a day a line like
this:
  Nov 11 05:41:44 para named[356]: *** POKED TIMER ***
  Nov 11 14:51:09 para named[355]: *** POKED TIMER ***
What does this mean? Is it still a bug in 5.3?
See also:
 
http://lists.freebsd.org/mailman/htdig/freebsd-threads/2004-November/002651.html
Thanks,
Rob.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


  1   2   >