very strange reaction of the md disks

2008-06-03 Thread The Ghost
Hello,

Maybe I just don't understand something, but anyway, it looks really odd.

I have a machine with 2 Gb RAM with a clean newly-installed 
FREEBSD-7.0-RELEASE. I make two 300-MB mdconfig disks and populate them, and 
when the first one was already full and the second one is only half-full, I get 
a kernel panic not enough memory. I wonder where did 1,5 Gb go?? Well, I 
tried to reboot and allocate them with -o reserve to prevent the kernel panic, 
but the second one said that enough memory can't be allocated (though top still 
showed 1,5 Gb left). Well, I rebooted and tried to allocate one 1-Gb disk, but 
it also failed. Then I gave up on this and came to my other work, but when I 
loaded some small kernel module, I got a kernel panic!! What, didn't the disk 
allocation have to kinda free up the used memory when it fails?! And then the 
last thing. I reboot and copy a 220-m file from a samba-mounted directory to my 
hard drive (UFS2 with soft-updates). I was very surprised to see that one 
gigabyte of my memory suddenly became used up. I wonder if the soft-updat
 es really don't care about how much memory they use...

A friend of mine told me that such a panic is really a thing to write a 
bugreport on it, but I know about this behaviour for few years already and so I 
guess I just don't know something about the memory allocation system, and, 
kinda, it really works just like that. Should I read something to understand 
why it's just like that or really write a report on some of these things?..



   The Ghost [EMAIL PROTECTED]

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


Re: mfi freebsd7

2008-06-03 Thread Vince Hoffman
kalin m wrote:
 sorry for the double posting  just to update:
 
 i installed also the linux-megamgr same result:
 Failed to open driver node /dev/megadev0
 
 after linking megadev0 to mfi0 it can not see the version... it gets
 more and more pathetic by the minute...
 

odd that it wouldnt install as it did for me just now. Is your ports
tree up to date? I'm guessing not since the latest version reference in
ports is 1.01.40 and you found and got the 1.01.09 rpm/zip
try updating your ports to the latest tree (portsnap is my method of
choice but csup works fine too :) then try
cd /usr/ports/sysutils/linux-megacli  make install clean
Be sure to pay attention to the post-install message as it tells you
about whats needed in the way of kernel modules and sysctl variables as
well as what periodic config is available.


We do have a server at work using the LSI Logic / Symbios Logic MegaRAID
SAS 1078 which hosts 40 VPS's running quite happily in a RAID 1+0
config, each VPS running web/mail/ftp for a number between 1 and 100
websites, so they seem to perform well enough, this is a linux server
though.
If you've been sold a RAID1 array i'd imagine thats what you have
unless you have reason to believe otherwise. It will appear as a singe
block device (/dev/mfid0) to the operating system though as you have see.


Vince



 
 
 
 
 kalin m wrote:
 thanks Vince...  i didnt wanted to install the linux base because a
 lot of kids will be running some 'cool' boards or blogs that probably
 have cool linux holes too. but just for the hell of it and for he
 purpose to get to the controller i did. it took a while to find the
 Linux_MegaCli_1.01.09.zip. it's not on the freebsd site and not on the
 LSI site (anymore) either..  anyway after a lot of rpm downloads and
 patching and variable changing and fs mountings i get this:

 # /usr/local/sbin/megacli -adpCount
ERROR:Could not detect controller.

 Controller Count: 0.


 pretty neat system...


 now what?!




 Vince Hoffman wrote:
 kalin m wrote:
 megarc, right... read about it..  here:

 # megarc -AllAdpInfo help
 usage :
 cmd -AllAdpInfo
   : prints info of all cards


 .  ok .

 # megarc -AllAdpInfo

   
 **
  MEGARC MegaRAID Configuration
 Utility(FreeBSD)-1.04(03-02-2005) By LSI Logic Corp.,USA
   
 **
  [Note: For SATA-2, 4 and 6 channel controllers, please specify
  Ch=0 Id=0..15 for specifying physical drive(Ch=channel,
 Id=Target)]

Type ? as command line arg for help

No Adapters Found Error: No MegaRaid Found


 ?!?!?!  does that mean that there is no raid?  why then the df
 output? the machine is supposed to have 4 250gig SAS drives.


 Its more likely that megarc doesnt support the newer controllers
 which is a shame. you might have more luck with
 sysutils/linux-megacli since that explicitly mentions LSI MegaRAID
 SAS, I wish they would make the util open source though. Will mean
 you need the linux-base port installed and linux.ko loaded.

 A RAID1 config shoudl suit a busy webserver well.

 Vicne




 thanks...





 Vince Hoffman wrote:
 kalin m wrote:
 hi all...

 a hosting facility build a new dedicated server for me and looking
 at the dmesg i see:

 mfi0: LSI MegaSAS 1078 port 0xec00-0xecff mem
 0xfc48-0xfc4b,0xfc44-0xfc47 irq 16 at device 0.0
 on pci1
 mfi0: Megaraid SAS driver Ver 2.00

 for df i get:
 Filesystem   SizeUsed   Avail Capacity  Mounted on
 /dev/mfid0s1a496M197M259M43%/
 devfs1.0K1.0K  0B   100%/dev
 /dev/mfid0s1e496M 12K456M 0%/tmp
 /dev/mfid0s1f661G636M608G 0%/usr
 /dev/mfid0s1d8.7G1.4M8.0G 0%/var


 i asked for raid1. i cant find too much information about the mfi
 driver. just that it works with freebsd 7.


 you might want to look at sysutils/megarc and possibly
 sysutils/linux-megamgr so you can more closely monitor/investigate
 your array.

 Vince

 i'll keep looking but - has anybody successfully deployed
 production servers using the LSI MegaSAS 1078 in RAID1 on a very
 busy web server?
 is there any loss in performance using that hardware in RAID1?
 any performance loss in RAID1 at all?


 thanks...

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

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

FreeBSD 7.0 Kernel + Dell PE2950 III ?

2008-06-03 Thread VeeJay
Hi guys

I am going to install a Web Server (apache+mysql+php) at my work place. To
boost performance, I am just thinking that should I configure and rebuild
FreeBSD KERNEL for this hardware? And if so, what paramters I should
follow? Any help would be highly appreciated.

Server's hardware configuration is as follow:

 2  x  Quad Core Xeon E5450 3.0GHz,2x6MB,1333FSB
 16GB (8x2GB Dual Rank DIMMs) 667MHz FBD

 6  x  450GB SAS 15k 3.5 HD Hot Plug
 PERC 6/i, Integrated Controller Card x6 backplane
 PE2950 III C5 MSS R10 Add-in PERC 5/i / 6/i 1 S
 TCP/IP Offload Engine 2P
 Broadcom TCP/IP Offload Engine functionality (TOE) Not Enabled

Thank you guys.

VJ

-- 
Thanks!

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


RE: Duplex printer advice

2008-06-03 Thread Wojciech Puchar
This depends a lot on your print jobs.  Low quality machine-generated 
PostScript output can be slow.  PCL can also be slow.  The only way to really 
know is to benchmark with your print jobs.


there was no case i found postscript to print faster.

There's also the potential overhead of the print processing systems. Just 
sending PS in the first place may be quicker than apsfilter or CUPS.


i use lpd+my script for filtering postscript to PCL

Recent printers have fast RISC CPUs and fast PS interpreters.  I/O speed 
comes into it, too.  FreeBSD seems particularly slow over parallel and USB


both not true, but just use lptcontrol for parallel port!

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


Re: very strange reaction of the md disks

2008-06-03 Thread Wojciech Puchar

you use freebsd/i386 not /amd64 isn't it?


On Tue, 3 Jun 2008, The Ghost wrote:


Hello,

Maybe I just don't understand something, but anyway, it looks really odd.

I have a machine with 2 Gb RAM with a clean newly-installed FREEBSD-7.0-RELEASE. I make 
two 300-MB mdconfig disks and populate them, and when the first one was already full and 
the second one is only half-full, I get a kernel panic not enough memory. I 
wonder where did 1,5 Gb go?? Well, I tried to reboot and allocate them with -o reserve to 
prevent the kernel panic, but the second one said that enough memory can't be allocated 
(though top still showed 1,5 Gb left). Well, I rebooted and tried to allocate one 1-Gb 
disk, but it also failed. Then I gave up on this and came to my other work, but when I 
loaded some small kernel module, I got a kernel panic!! What, didn't the disk allocation 
have to kinda free up the used memory when it fails?! And then the last thing. I reboot 
and copy a 220-m file from a samba-mounted directory to my hard drive (UFS2 with 
soft-updates). I was very surprised to see that one gigabyte of my memory suddenly became 
used up. I wonder if the soft-up!

dat

es really don't care about how much memory they use...

A friend of mine told me that such a panic is really a thing to write a 
bugreport on it, but I know about this behaviour for few years already and so I 
guess I just don't know something about the memory allocation system, and, 
kinda, it really works just like that. Should I read something to understand 
why it's just like that or really write a report on some of these things?..



  The Ghost [EMAIL PROTECTED]

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



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


Re: NFS drops with em0 driver

2008-06-03 Thread Subhro
Thanks everyone for the replies so far. I have disabled ACPI on my
boxes. However the drops still persist. I would be grateful if someone
can provide more ideas.

Thanks
Subhro

On Sun, Jun 1, 2008 at 2:17 PM, Catalin Miclaus [EMAIL PROTECTED] wrote:
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Subhro
 Sent: Sunday, June 01, 2008 7:06 AM
 To: freebsd-questions@freebsd.org
 Subject: NFS drops with em0 driver

 Hello,

 I am facing a strange problem on my systems. I am running
 FreeBSD-6.2-RELEASE-p12. My network interface uses the em driver. I am
 facing a lot of issues where the NFS connections are dying randomly.
 Is there any known bug with the em driver? I am using the SCHED_ULE
 scheduler.

 Thanks
 Subhro



 Check this:

 http://wiki.freebsd.org/JeremyChadwick/Commonly_reported_issues





 Best Regards
 Catalin Miclaus
 Network/Security ISP-Data
 Starcomms Ltd.




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




-- 
Subhro Kar
Software Engineer
Dynamic Digital Technologies Pvt. Ltd.
EPY-3, Sector: V
Salt Lake City
700091
India
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 7-STABLE Watchdog Timeout

2008-06-03 Thread Pieter de Goeje
On Tuesday 03 June 2008, Jeremy Karlson wrote:
 I'm still looking into my watchdog timeout with me re card.  I'm
 starting to wonder if my problem is in any way related to the
 discussion back in September 2006 starting with this post:

 6.2 SHOWSTOPPER - em completely unusable on 6.2
 http://lists.freebsd.org/pipermail/freebsd-stable/2006-September/028792.htm
l

 It seems that under certain conditions and loads, a network interface
 with a shared interrupt would stop responding until the watchdog
 resets it.  This seems to be very similar to what I see.  At the time,
 they seemed mostly concerned about fixing the em driver; I'm using re.

 Unfortunately though, I can't seem to find what the resolution to this
 was, and if it could be related to the failure I'm seeing.  Does
 anyone know what happened with that problem?

 -- Jeremy

If I remember correctly, there were two problems: 1) there was a race in the 
interrupt handler (this affected all interrupt handlers), 2) em used the now 
obsolete if_timer to implement it's watchdog timeout. This timer is 
unreliable. Both items have been fixed, so this shouldn't be related to your 
problem. #2 wasn't fixed in all drivers, but if you are affected you should 
see a warning on startup stating the use of the obsolete timer. I believe 
if_re was converted some time ago.

Note that in theory watchdog timeouts could also mean broken hardware, bad 
connection to PCI bus or other intermittent hw failure. I would try reseating 
the card in another slot.

-- 
Pieter de Goeje

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


Re: Duplex printer advice

2008-06-03 Thread Wojciech Puchar

The only time inkjet makes sense is if your printing needs for your
lifetime consist of a single ream of paper.


Or if you want photo quality.


then i give my images to the fotograph shop on CD/DVD and got it on photo 
paper and quality.

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


RE: Duplex printer advice

2008-06-03 Thread Ted Mittelstaedt


 -Original Message-
 From: David Kelly [mailto:[EMAIL PROTECTED]
 Sent: Monday, June 02, 2008 7:37 PM
 To: Ted Mittelstaedt
 Cc: FreeBSD Questions
 Subject: Re: Duplex printer advice
 
 
 We have one at work that if it was up to me I too would sell it for $50
 if anyone offered. Its a networked color HP 4M something that prints 11
 wide. Letter prints sideways, and 11x17 prints lengthwise.
 
 Its slower than Christmas when printing photos. Maybe 2 pages per hour.
 
 We keep it because 1) its paid for, 2) we have space for it, and 3) it
 prints very pretty color text for proposals.
 

The HP4M color is a completely different technology than modern
HP color laserjets.  It is also different than the 4+ which is
a black and white.

HP made 2 printers they called the 4M and the 4M Color.  Completely
different printers.  DIfferent electronics, imaging engines, etc.

We have a HP color 3550 laserjet in our office.  The print
speed is faster than the black and white laserjets which are
older.  The 3550 is a newer printer.

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


RE: Duplex printer advice

2008-06-03 Thread Ted Mittelstaedt


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Gary Kline
 Sent: Monday, June 02, 2008 3:41 PM
 To: Ted Mittelstaedt
 Cc: FreeBSD Questions; Kurt Buff; Chuck Robey; Derek Ragona
 Subject: RE: Duplex printer advice
 
 
 At the same time, HP's patents are about to expire in the next few
 years.  Anybody 
 know when, to-the-year?
 

HP uses Canon's imaging engines for their printers, the patents are
mainly on the HP-specific control stuff, which nobody really cares
much about.

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


RE: Duplex printer advice

2008-06-03 Thread Ted Mittelstaedt


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Wojciech Puchar
 Sent: Tuesday, June 03, 2008 1:06 AM
 To: Warren Block
 Cc: FreeBSD Questions
 Subject: RE: Duplex printer advice
 
 
  This depends a lot on your print jobs.  Low quality machine-generated 
  PostScript output can be slow.  PCL can also be slow.  The only 
 way to really 
  know is to benchmark with your print jobs.
 
 there was no case i found postscript to print faster.
 

You won't on an HP printer, at least not an older one.  Remember
that HP had to pay a very hefty fee to Adobe for licensing
PostScript for each printer.  HP did everything possible to push
PCL and discourage customers from selecting PS because they 
did not want to continue to have to pay Adobe.  HP did not
dare mess with the PostScript implementation itself for fear
of a lawsuit - every HP printer that went out the door they
definitely made sure was completely compliant with PostScript -
but they did everything else to discourage it.  They told all
the companies that wrote tutorials to minimize PostScript and
enhance PCL, they make PostScript models much more expensive,
they didn't ship models with Postscript with enough ram to
run the PostScript interpreter reasonably quickly, and they
made no effort to speed up the PostScript implementation. Still
another trick was distributing PPD files that didn't have a
complete definition of all printer accessories so that when
you printed PostScript from, for example, Windows, you might
not have a duplexer definition and could only print duplex
on PCL.

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


RE: Looking for gurus willing to help write Freebsd tutorials

2008-06-03 Thread Ted Mittelstaedt


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Pollywog
 Sent: Monday, June 02, 2008 11:57 AM
 To: freebsd-questions@freebsd.org
 Subject: Re: Looking for gurus willing to help write Freebsd tutorials
 
 
 On Monday 02 June 2008 15:58:55 [EMAIL PROTECTED] wrote:
 
  I agree completely, it's what got me over to BSD !
 
 
 I am a little confused.  I just see a sphere with horns on it 
 that reminds 
 me of the BSD daemon's head, only made to look less demonic.  Is it 
 supposed to be something else?
 

No, that is what it's supposed to be.

The sex toy issue is that you saw the sphere with horns AFTER you
saw Beastie.  So you had a frame of reference, and naturally assume
it's Beastie's head.

The problem is, think about people who have NEVER seen Beastie before
seeing the sex toy logo for the first time.  Since they have no
frame of reference they can easily assume that it means anything
at all.  Such as the business end of a French tickler, which it
kind of resembles.

When those of us in the know call it a sex toy, we are making
a little inside joke, as we are basically saying the logo design
is terrible because it does not indicate to anyone looking at
it what it is supposed to represent.

The Linux penguin is no different - someone seeing a Penguin
isn't going to know it has to do with an operating system, either.

Many corporate logos also suffer from the same problem.

The difference between the corporate logos and Linux and us, is
that those organizations have the marketing muscle to take their
rediculous logo designs and pound them into the public conciousness
through endless advertising.

See a blue oval?  Most people think Ford  Not because a blue
oval has anything to do with cars.  It's because Ford has dumped
trillions of dollars in advertising over the years pounding that
association into the public mind.

The designer of the FreeBSD logo approached it from the usual corporate
arrogance of we can create anything we want, then just pay money
for the association.  The only problem is that the FreeBSD project
has no money to spend to create this association.  As a result the
logo completely fails in it's job.

Arguably, there is also no public association between Beastie and
the FreeBSD operating system either, so in the long run we aren't
any worse off than we were.  (aside from the arrogant setting aside
of 20 some years of BSD Unix history)

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


FreeBSD 6.2 update

2008-06-03 Thread Jos Chrispijn
I want to upgrade 6.2 to 6.3. Can you tell me where I can obtain the 
'FreeBSD Update utility as described in the FreeBSD 6.3 and FreeBSD 7.0

release announcements' ? Thanks.

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


Re: FreeBSD 6.2 update

2008-06-03 Thread Andreas Rudisch
On Tue, 03 Jun 2008 11:31:40 +0200
Jos Chrispijn [EMAIL PROTECTED] wrote:

 I want to upgrade 6.2 to 6.3. Can you tell me where I can obtain the 
 'FreeBSD Update utility as described in the FreeBSD 6.3 and FreeBSD 7.0
 release announcements' ? Thanks.

http://www.freebsd.org/releases/6.3R/announce.html

Scroll down to 'FreeBSD Update'.

Andreas
--
GnuPG key  : 0x2A573565|http://www.gnupg.org/howtos/de/
Fingerprint: 925D 2089 0BF9 8DE5 9166  33BB F0FD CD37 2A57 3565


pgpraNLiEQuw6.pgp
Description: PGP signature


buildworld fails on FreeBSD 7 - fresh cvsup - libreadline.so complaints

2008-06-03 Thread Rudy


Problem:
Fresh cvsup of FreeBSD-7 and make buildworld failed...

Workaround:
If I go directly into /usr/src/gnu/usr.bin and type 'make' things are built...
(still building, so I don't know if this will hose the system  :)


Error:
 (note gnu/usr.bin/bc also failed with the similar errors [libreadline.so 
complaints])

=== gnu/usr.bin/gdb/gdb (all)
cc -O2 -fno-strict-aliasing -pipe -march=pentium4 -DHAVE_CONFIG_H -DRL_NO_COMPAT -DMI_OUT=1 -DTUI=1 
-I. -I/usr/src/gnu/usr.bin/gdb/gdb/../arch/i386 
-I/usr/src/gnu/usr.bin/gdb/gdb/../../binutils/libbfd 
-I/usr/src/gnu/usr.bin/gdb/gdb/../../binutils/libbfd/i386 
-I/usr/src/gnu/usr.bin/gdb/gdb/../../../../contrib/gdb/gdb 
-I/usr/src/gnu/usr.bin/gdb/gdb/../../../../contrib/gdb/gdb/config 
-I/usr/src/gnu/usr.bin/gdb/gdb/../../../../contrib/gdb/include 
-I/usr/src/gnu/usr.bin/gdb/gdb/../../../../contrib/binutils/include 
-I/usr/src/gnu/usr.bin/gdb/gdb/../../../../contrib/binutils/bfd  -c 
/usr/src/gnu/usr.bin/gdb/gdb/../../../../contrib/gdb/gdb/gdb.c
cc -O2 -fno-strict-aliasing -pipe -march=pentium4 -DHAVE_CONFIG_H -DRL_NO_COMPAT -DMI_OUT=1 -DTUI=1 
-I. -I/usr/src/gnu/usr.bin/gdb/gdb/../arch/i386 
-I/usr/src/gnu/usr.bin/gdb/gdb/../../binutils/libbfd 
-I/usr/src/gnu/usr.bin/gdb/gdb/../../binutils/libbfd/i386 
-I/usr/src/gnu/usr.bin/gdb/gdb/../../../../contrib/gdb/gdb 
-I/usr/src/gnu/usr.bin/gdb/gdb/../../../../contrib/gdb/gdb/config 
-I/usr/src/gnu/usr.bin/gdb/gdb/../../../../contrib/gdb/include 
-I/usr/src/gnu/usr.bin/gdb/gdb/../../../../contrib/binutils/include 
-I/usr/src/gnu/usr.bin/gdb/gdb/../../../../contrib/binutils/bfd   -Wl,-E -o gdb gdb.o 
/usr/obj/usr/src/gnu/usr.bin/gdb/gdb/../../gdb/libgdb/libgdb.a 
/usr/obj/usr/src/gnu/usr.bin/gdb/gdb/../../binutils/libbfd/libbfd.a 
/usr/obj/usr/src/gnu/usr.bin/gdb/gdb/../../binutils/libopcodes/libopcodes.a 
/usr/obj/usr/src/gnu/usr.bin/gdb/gdb/../../binutils/libiberty/libiberty.a -lm -lreadline -ltermcap 
-lgnuregex
/usr/obj/usr/src/gnu/usr.bin/gdb/gdb/../../gdb/libgdb/libgdb.a(tui.o)(.text+0x6a9): In function 
`tui_rl_switch_mode':

: undefined reference to `rl_newline'
/usr/obj/usr/src/gnu/usr.bin/gdb/gdb/../../gdb/libgdb/libgdb.a(tui.o)(.text+0x8a2): In function 
`tui_rl_command_mode':

: undefined reference to `rl_insert'
/usr/obj/usr/src/gnu/usr.bin/gdb/gdb/../../gdb/libgdb/libgdb.a(top.o)(.text+0x174): In function 
`gdb_rl_operate_and_get_next':

: undefined reference to `rl_newline'
/usr/obj/usr/src/tmp/usr/lib/libreadline.so: undefined reference to 
`rl_rubout_or_delete'
/usr/obj/usr/src/tmp/usr/lib/libreadline.so: undefined reference to 
`rl_clear_screen'
/usr/obj/usr/src/tmp/usr/lib/libreadline.so: undefined reference to `rl_delete'
/usr/obj/usr/src/tmp/usr/lib/libreadline.so: undefined reference to 
`rl_insert_comment'
/usr/obj/usr/src/tmp/usr/lib/libreadline.so: undefined reference to `rl_rubout'
/usr/obj/usr/src/tmp/usr/lib/libreadline.so: undefined reference to 
`rl_delete_horizontal_space'
/usr/obj/usr/src/tmp/usr/lib/libreadline.so: undefined reference to 
`rl_insert_text'
/usr/obj/usr/src/tmp/usr/lib/libreadline.so: undefined reference to 
`rl_refresh_line'
/usr/obj/usr/src/tmp/usr/lib/libreadline.so: undefined reference to 
`rl_quoted_insert'
/usr/obj/usr/src/tmp/usr/lib/libreadline.so: undefined reference to 
`rl_transpose_chars'
/usr/obj/usr/src/tmp/usr/lib/libreadline.so: undefined reference to 
`rl_backward_word'
/usr/obj/usr/src/tmp/usr/lib/libreadline.so: undefined reference to 
`rl_char_search'
/usr/obj/usr/src/tmp/usr/lib/libreadline.so: undefined reference to 
`rl_arrow_keys'
/usr/obj/usr/src/tmp/usr/lib/libreadline.so: undefined reference to 
`rl_backward_byte'
/usr/obj/usr/src/tmp/usr/lib/libreadline.so: undefined reference to 
`_rl_char_search_internal'
/usr/obj/usr/src/tmp/usr/lib/libreadline.so: undefined reference to 
`rl_end_of_line'
/usr/obj/usr/src/tmp/usr/lib/libreadline.so: undefined reference to 
`rl_forward_byte'
/usr/obj/usr/src/tmp/usr/lib/libreadline.so: undefined reference to 
`rl_forward_word'
/usr/obj/usr/src/tmp/usr/lib/libreadline.so: undefined reference to 
`_rl_set_mark_at_pos'
/usr/obj/usr/src/tmp/usr/lib/libreadline.so: undefined reference to 
`rl_set_mark'
/usr/obj/usr/src/tmp/usr/lib/libreadline.so: undefined reference to 
`rl_replace_line'
/usr/obj/usr/src/tmp/usr/lib/libreadline.so: undefined reference to 
`_rl_rubout_char'
/usr/obj/usr/src/tmp/usr/lib/libreadline.so: undefined reference to 
`_rl_overwrite_char'
/usr/obj/usr/src/tmp/usr/lib/libreadline.so: undefined reference to 
`rl_do_lowercase_version'
/usr/obj/usr/src/tmp/usr/lib/libreadline.so: undefined reference to 
`rl_upcase_word'
/usr/obj/usr/src/tmp/usr/lib/libreadline.so: undefined reference to 
`rl_tab_insert'
/usr/obj/usr/src/tmp/usr/lib/libreadline.so: undefined reference to 
`rl_backward_char'
/usr/obj/usr/src/tmp/usr/lib/libreadline.so: undefined reference to 
`rl_forward_char'
/usr/obj/usr/src/tmp/usr/lib/libreadline.so: undefined reference to 
`rl_capitalize_word'

FreeBSD MySQL Performance Tunning suggestions???

2008-06-03 Thread VeeJay
Hi Guys

I need some performance tuning suggestions/help from you.

At my job, I am going to build a Web Server with

 1. FreeBSD 7.0-RELEASE amd64
 2. Apache 2.2.8
 3. PHP 4.4.8 (or may be PHP5, what do you suggest?)

Server's hardware configuration is as follow:

 2  x  Quad Core Xeon E5450 3.0GHz,2x6MB,1333FSB
 16GB (8x2GB Dual Rank DIMMs) 667MHz FBD
 6  x  450GB SAS 15k 3.5 HD Hot Plug
 PERC 6/i, Integrated Controller Card x6 backplane
 PE2950 III C5 MSS R10 Add-in PERC 5/i / 6/i 1 S
 TCP/IP Offload Engine 2P
 Broadcom TCP/IP Offload Engine functionality (TOE) Not Enabled

For FreeBSD 7.0-RELEASE amd64 Which MySQL 5.0 would be used ?
 1. FreeBSD 7.x (x86_64)
  or
 2. FreeBSD 6.x (x86)

I have done some googling and made these configuration files for Apache and
MySQL?

Apache:
httpd.conf-start
# =
# Basic settings
# =
ServerType standalone
ServerRoot /usr/local/apache
PidFile /usr/local/apache/logs/httpd.pid
ScoreBoardFile /usr/local/apache/logs/httpd.scoreboard
ResourceConfig /dev/null
AccessConfig /dev/null
# =
# Performance settings
# =
Timeout 300
KeepAlive On
MaxKeepAliveRequests 100
KeepAliveTimeout 15
MinSpareServers 5
MaxSpareServers 10
StartServers 5
MaxClients 256
MaxRequestsPerChild 0
# =
# Apache modules
# =
ClearModuleList
AddModule mod_log_config.c
AddModule mod_mime.c
AddModule mod_dir.c
AddModule mod_access.c
AddModule mod_auth.c
AddModule mod_php4.c
AddModule mod_rewrite.c
AddModule mod_security.c
AddModule mod_setenvif.c
# =
# General settings
# =
Port 80
User apache
Group apache
ServerAdmin [EMAIL PROTECTED]
UseCanonicalName Off
ServerSignature Off
HostnameLookups Off
ServerTokens Prod
IfModule mod_dir.c
DirectoryIndex index.html
/IfModule
DocumentRoot /home/apache/www
# =
# Access control
# =
Directory /
Options None
AllowOverride None
Order deny,allow
Deny from all
/Directory
Directory /home/apache/www
Order allow,deny
Allow from all
/Directory
Directory /home/apache/www/vhosts/mydomain.com/public_html
Order allow,deny
Allow from all
/Directory
# =
# MIME encoding
# =
IfModule mod_mime.c
TypesConfig /usr/local/apache/conf/mime.types
/IfModule
DefaultType text/plain
IfModule mod_mime.c
AddEncoding x-compress Z
AddEncoding x-gzip gz tgz
AddType application/x-tar .tgz
AddType application/x-httpd-php .html
/IfModule
# =
# Logs
# =
LogLevel warn
LogFormat %h %l %u %t \%r\ %s %b \%{Referer}i\ \%{User-Agent}i\
combined
LogFormat %h %l %u %t \%r\ %s %b common
LogFormat %{Referer}i - %U referer
LogFormat %{User-agent}i agent
ErrorLog /var/apache/logs/error_log
CustomLog /var/apache/logs/access_log combined
# =
# Virtual hosts
# =
NameVirtualHost *
VirtualHost *
DocumentRoot /home/apache/www/vhosts/mydomain.com/public_html
ServerName www.mydomain.com
ServerAlias mydomain.com
ErrorLog /var/apache/logs/vhosts/mydomain.com/error_log
CustomLog /var/apache/logs/vhosts/mydomain.com/access_log combined
IfModule mod_rewrite.c
 RewriteEngine on
 RewriteRule ^/([a-z]{2})/index.html$ /index.html?topicid=$1
/IfModule
ErrorDocument 400 /page_error.html
ErrorDocument 401 /page_error.html
ErrorDocument 403 /page_error.html
ErrorDocument 404 /page_error.html
ErrorDocument 500 /page_error.html
/VirtualHost
# 
# Logging GET/POST requests, defending against
# Cross-Site-Scripting (XSS) and SQL Injection attacks
# 
IfModule mod_security.c
AddHandler application/x-httpd-php .html

#Turn the filtering engine On or Off
 SecAuditEngine On
# Only log suspicious requests
 SecAuditEngine RelevantOnly
 SecAuditLog /var/apache/logs/audit_log
 SecFilterScanPOST On
 SecFilterEngine On

 SecFilterDefaultAction deny,log,status:500
 SecFilter \

#generic bogus path sigs
 SecFilterSelective THE_REQUEST \.\.\./
id:36,rev:1,severity:2,msg:'Bogus Path denied'
 SecFilterSelective POST_PAYLOAD [[:space:]]+\.\.\.+\;

RE: Duplex printer advice

2008-06-03 Thread Ted Mittelstaedt


 -Original Message-
 From: Wojciech Puchar [mailto:[EMAIL PROTECTED]
 Sent: Monday, June 02, 2008 2:32 PM
 To: Ted Mittelstaedt
 Cc: Chuck Robey; Kurt Buff; FreeBSD Questions; Derek Ragona;
 [EMAIL PROTECTED]
 Subject: RE: Duplex printer advice

 
 
 my HP LaserJet 4 shows 122000 pages, was 88000 when i bought it 
 for 100PLN 
 (about 40$)+another 100 for made-in-Poland new ink cardridge (enough for 
 about 8000-1 pages).
 
 HP LaserJet 4 and 3 is excellent, anything newer - crap, as HP joined 
 others in making craps so every year user has to buy new one.


The 5Si is also an excellent printer.

The higher-end HP LJ's are not crap, and last many many years too.
The problem is that around the post-4 and post-5 years HP started
coming out with the personal LJ printers, which are all crap,
and jacked up the price of the workgroup printers to prevent 
sabotaging the sales of the cheap crap.
 
  My HP Laserjet 4+ at home is the oldest operating piece of
  computer equipment I have.  And I fully expect it to last
  another decade, and once it dies, I have another one in the
  basement that I picked up for $50 - WITH a duplexer.
 
 i don't think it will stop within 10 years. but do you have original 
 HP manual? if not - i have for laserjet 4 in PDF.
 do not try to disassembly without it :)
 

I do, and have repaired many fuser idler gears in these printers,
as that is usually what gets teeth broken off it and is responsible
for most of the jams.

Ebay is flooded with cheap HP LJ 4 parts.  I kind of suspect that
somewhere in China is a company that produces counterfeits of these
and other popular HP Laserjets.

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


Re: FreeBSD MySQL Performance Tunning suggestions???

2008-06-03 Thread Rudy



MySQL:



[mysqld]
port  = 3306
socket  = /tmp/mysql.sock
skip-locking
skip-networking
skip-name-resolve
server-id=1
#2008-02-10
max_connections=499
interactive_timeout=100
wait_timeout=100
connect_timeout=10
thread_cache_size=256
connect_timeout=10
myisam_sort_buffer_size=32M
key_buffer=16M
join_buffer=3M
record_buffer=3M
sort_buffer=5M
table_cache=1024
#-
# increase until threads_created doesnt grow anymore
thread_cache=512
query_cache_type=1
query_cache_limit=2M
query_cache_size=64M
# Try number of CPU's*2 for thread_concurrency
thread_concurrency=4
set-variable=local-infile=0
#ng below 5 lines
init_connect='SET collation_connection = utf8_unicode_ci'
init_connect='SET NAMES utf8'
default-character-set=utf8
character-set-server=utf8
collation-server=utf8_unicode_ci
#NG: new variables for fulltext search:
ft_min_word_len=2
ft_max_word_len=15

# Replication Master Server (default)
# binary logging is required for replication
log-bin=mysql-bin
# required unique id between 1 and 2^32 - 1
# defaults to 1 if master-host is not set
# but will not function as a master if omitted
server-id = 1


I don't see innodb tunings... if you have innodb tables, you should use about 
4GB of RAM for that.
DOn't forget, Edit your /boot/loader.conf to allow your MySQL to grow up to about 8GB (for 
starters).  People forget this about as often as they forget to put INDEXES on their tables.


Speaking of that!  Turn on your slow_query_log... set it to 5 seconds and monitor the 
slow_query_log file.


Are you going to replicate?  If not, disable log-bin (you have skip-networking, so I assume you are 
not setting up a master/slave).  Only reason to do log-bin is to fill your disk up with files you 
will never yse.


Up query_cache_limit=8M (depends, may not matter for your site).  (That is the max limit per query 
to cache...).  Keep an eye on your cache fill rate and up those values if you need to.


Keep an eye on your table_cache... table_cache=1024 may be fine, but if you have 4000 tables, that 
may need to be higher.


Set your key_buffer higher (depending on your site) --- several 100GB.  Connections can *probably* 
be lower... the only reason to have a real hig number for connections is to get your machine to 
swap.  :p


Oh, check out the my-huge.cnf file that comes with MySQL... I think it is in 
/usr/local/share/mysql/ or somewhere good tips there.



Good luck.

Rudy

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


Re: buildworld fails on FreeBSD 7 - fresh cvsup - libreadline.so complaints

2008-06-03 Thread Rudy

Rudy wrote:

Workaround:
If I go directly into /usr/src/gnu/usr.bin and type 'make' things are 
built...

(still building, so I don't know if this will hose the system  :)



This came up about 5 more times (usr.sbin , bin, ...) so I finally gave up.

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


RE: Duplex printer advice

2008-06-03 Thread Wojciech Puchar


You won't on an HP printer, at least not an older one.  Remember
that HP had to pay a very hefty fee to Adobe for licensing
PostScript for each printer.  HP did everything possible to push
PCL and discourage customers from selecting PS because they
did not want to continue to have to pay Adobe.  HP did not


well that make sense. anyway - idon't think that implementing postscript 
processing (or any other language) in printers make sense at all.
computers are powerfull, printer could just take a bitmap and print 
it (and be cheaper).


unfortunately such implementations are usually winprinters ...

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


I am now on Refriendz!

2008-06-03 Thread hari krishna
Hi!
I would like to invite you to visit my Refriendz page and see my latest photos.

In order to visit my space, you must go to:
http://www.refriendz.com/?do=Login.Inviterid=harij2007[EMAIL PROTECTED]

(If this link does not work, please copy and paste it into your browser or go 
to www.refriendz.com and enter 'harij2007' as Invitation ID to Login to the web 
site.)

P.S. Refriendz is Invitation-Only, so do not miss your chance to visit my page!

Cheers!

hari






~~~
Unsubscribe: to opt out of ALL future emails from Refriendz, visit:
http://www.refriendz.com/?do=Login.RemoveEntry[EMAIL PROTECTED]

Please do not reply directly to this email.  This mailbox is not monitored and 
you will not receive a response.

Refriendz Limited, PO BOX 1184, Luton, Bedfordshire, LU1 9AT, UK.


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


Re: VPN (IPSEC)

2008-06-03 Thread Nikos Vassiliadis
On Sunday 01 June 2008 02:49:22 alexus wrote:
 Hello,

 I'm trying to establish a VPN tunnel over internet, I read a
 http://www.freebsd.org/doc/en/books/handbook/ipsec.html on how to set
 it up, I'm some what strangeling if my setup will work at all.

 i have box #1 that have 1 primary IP, which is private IP but in front
 of my box, I have a device that translate a public IP address into
 private IP, so technicaly its a public IP not a private, yet system
 sees it as private, yet my box #2 has interface with real public ip
 and another interface with private ip, i created GIF0 interface, yet i
 can't ping private range on other box.


 box#1

 fxp0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu
 1500 options=8VLAN_MTU
 ether 00:0f:fe:aa:f4:61
 inet 192.168.1.251 netmask 0xff00 broadcast 192.168.1.255
 inet 172.16.172.16 netmask 0x broadcast 172.16.172.16
 media: Ethernet autoselect (100baseTX full-duplex)
 status: active
 plip0: flags=108810POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT metric 0
 mtu 1500 lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST metric 0 mtu
 16384 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
 inet6 ::1 prefixlen 128
 inet 127.0.0.1 netmask 0xff00
 gif0: flags=8051UP,POINTOPOINT,RUNNING,MULTICAST metric 0 mtu 1280
 tunnel inet 38.96.123.42 -- 74.2.252.194
 inet 192.168.1.251 -- 192.168.2.252 netmask 0x

You said that the router in front of box#1 is willing to NAT
your rfc1918 address to a public one. Yet, you seem to have
configured gif0 with your exterior peer address 38.96.123.42,
which is not your address, but seems like the public one.

Example configuration:
box#1 ifconfig fxp0 1.1.1.1
box#2 ifconfig fxp0 2.2.2.2

## let's set up the endpoints of tunnel
box#1 ifconfig gif0 tunnel 1.1.1.1 2.2.2.2
box#2 ifconfig gif0 tunnel 2.2.2.2 1.1.1.1

## let's set up the interior addresses
box#1 ifconfig gif0 10.234.78.1 10.234.78.2 netmask 255.255.255.255
box#2 ifconfig gif0 10.234.78.2 10.234.78.1 netmask 255.255.255.255

You should be able to ping remote peer addresses at this time.
box#1 ping 10.234.78.2
Set up some routes and it will be fine.

Nevertheless, in case it doesn't be sure that the NAT device:
1) is willing to NAT IPIP
and 2) will do 1:1 NAT

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


Re: logo

2008-06-03 Thread John Almberg

On Jun 2, 2008, at 5:48 PM, Frank Shute wrote:


On Mon, Jun 02, 2008 at 06:57:00PM +, Pollywog wrote:


On Monday 02 June 2008 15:58:55 [EMAIL PROTECTED] wrote:


I agree completely, it's what got me over to BSD !



I am a little confused.  I just see a sphere with horns on it that
reminds me of the BSD daemon's head, only made to look less
demonic.  Is it supposed to be something else?


It's the FreeBSD equivalent of the Rorschach inkblot test. Some people
see a daemon's head and other's see a sex toy.



If it is one of those toys is that what FreeBSD folks really want
to project as an image?


The image is only in the beholder's eye. It would likely have sent
Mary Whitehouse* apoplectic if she'd seen it ;)

* http://en.wikipedia.org/wiki/Mary_Whitehouse



I must lead a very sheltered life... sex toy??? I don't get it! :-)

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


Re: logo

2008-06-03 Thread Giorgos Keramidas
On Tue, 3 Jun 2008 11:00:22 -0400, John Almberg [EMAIL PROTECTED] wrote:
 I must lead a very sheltered life... sex toy??? I don't get it! :-)

Good.  You're happy then.  Why spoil that?

/me grins

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


any news? 3945 ABG driver!

2008-06-03 Thread Long Story

Hello Gurus,
 
  Well, any good news or working drivers for wireless 3945ABG ?
   for 7.0-R or 6.3-R ?
  Can anyone kindly provide any useful information ?
 
  THANK YOU
  Marwan.
_
It’s easy to add contacts from Facebook and other social sites through Windows 
Live™ Messenger. Learn how.
https://www.invite2messenger.net/im/?source=TXT_EML_WLH_LearnHow___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: any news? 3945 ABG driver!

2008-06-03 Thread Vince Hoffman
Long Story wrote:
 Hello Gurus,
  
   Well, any good news or working drivers for wireless 3945ABG ?
for 7.0-R or 6.3-R ?
   Can anyone kindly provide any useful information ?
  

man wpi ;)

(sorry to rtfm you but the man page explains it better than I could)

Vince

   THANK YOU
   Marwan.
 _
 It’s easy to add contacts from Facebook and other social sites through 
 Windows Live™ Messenger. Learn how.
 https://www.invite2messenger.net/im/?source=TXT_EML_WLH_LearnHow___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

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


Re: The machine which does nothing

2008-06-03 Thread Bill Moran
In response to Nicolas Haller [EMAIL PROTECTED]:

 Hi all,
 
 I have a very strange problem with a machine. The box have a postfix
 which give e-mail to an amavisd-new and deliver ham to mailboxes.
 
 The problem is the mail queue grow but the machine doesn't work at full
 capacity. CPU is 90% idle, vmstat don't see proc are waiting for
 anything, disks are playing poker and there is a lot of RAM available.
 
 The machine have this problem under freebsd 6.3 and 7.0-RELEASE with a
 bi-Xeon Quad core.

amavisd and postfix do a lot of stuff.  Could be timing out on DNS or
other networking issues.  Grab a tcpdump while it's running and see
if any networking is taking an extraordinary amount of time.

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


Re: very strange reaction of the md disks

2008-06-03 Thread RW
On Tue, 03 Jun 2008 11:31:05 +0400
The Ghost [EMAIL PROTECTED] wrote:

 Hello,
 
 Maybe I just don't understand something, but anyway, it looks really
 odd.
 
 I have a machine with 2 Gb RAM with a clean newly-installed
 FREEBSD-7.0-RELEASE. I make two 300-MB mdconfig disks and populate
 them, and when the first one was already full and the second one is
 only half-full, I get a kernel panic not enough memory. I wonder
 where did 1,5 Gb go?? 

Try using swap-backed md devices instead. With both malloc and swap
devices the data is stored in ram and paged-out to swap as needed, but
it helps with some of the malloc limitations.

I'm using a 2.7GB /tmp directory with 1.6GB of ram and have not had any
problems. I don't actually see any swap usage unless I put a lot of
data on the device, otherwise I can even do a swapoff.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


The machine which does nothing

2008-06-03 Thread Nicolas Haller
Hi all,

I have a very strange problem with a machine. The box have a postfix
which give e-mail to an amavisd-new and deliver ham to mailboxes.

The problem is the mail queue grow but the machine doesn't work at full
capacity. CPU is 90% idle, vmstat don't see proc are waiting for
anything, disks are playing poker and there is a lot of RAM available.

The machine have this problem under freebsd 6.3 and 7.0-RELEASE with a
bi-Xeon Quad core.

I have an another box which has the same configuration and it work
perfectly.

thanks,

-- 
Nicolas Haller


signature.asc
Description: Digital signature


Re: The machine which does nothing

2008-06-03 Thread Nicolas Haller
On Tue, Jun 03, 2008 at 10:23:27AM -0400, Bill Moran wrote:
 In response to Nicolas Haller [EMAIL PROTECTED]:

  Hi all,
  
  I have a very strange problem with a machine. The box have a postfix
  which give e-mail to an amavisd-new and deliver ham to mailboxes.
  
  The problem is the mail queue grow but the machine doesn't work at full
  capacity. CPU is 90% idle, vmstat don't see proc are waiting for
  anything, disks are playing poker and there is a lot of RAM available.
  
  The machine have this problem under freebsd 6.3 and 7.0-RELEASE with a
  bi-Xeon Quad core.

 amavisd and postfix do a lot of stuff.  Could be timing out on DNS or
 other networking issues.  Grab a tcpdump while it's running and see
 if any networking is taking an extraordinary amount of time.

Ho, it seems my box randomly send ICMP port unreachable packets to my DNS
server. It's an another problem. I see my box doing the DNS request,
I see my DNS server answer and, sometimes, my box send the ICMP packet.

Anyone know why my box send ICMP port unreachable?

-- 
Nicolas Haller


signature.asc
Description: Digital signature


Re: Looking for gurus willing to help write Freebsd tutorials

2008-06-03 Thread prad
On Tue, 3 Jun 2008 01:03:40 -0700
Ted Mittelstaedt [EMAIL PROTECTED] wrote:

 (aside from the arrogant setting aside
 of 20 some years of BSD Unix history)

i don't really understand the reason for the changing beastie - who is
easily the cutest of any os (even better than the excellent puffy of
openbsd)! 

we link to freebsd with beastie and there are certainly
several beasties on http://www.freebsd.org/art.html, but none on
http://www.freebsd.org/logo.html suggesting that the logo is the logo,
but beastie is not?

i always thought the daemon was inextricably linked with the bsds - i
think it appeared even on the older versions of netbsd and openbsd.

-- 
In friendship,
prad

  ... with you on your journey
Towards Freedom
http://www.towardsfreedom.com (website)
Information, Inspiration, Imagination - truly a site for soaring I's
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Duplex printer advice

2008-06-03 Thread Ted Mittelstaedt


 -Original Message-
 From: Wojciech Puchar [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, June 03, 2008 4:43 AM
 To: Ted Mittelstaedt
 Cc: Warren Block; FreeBSD Questions
 Subject: RE: Duplex printer advice
 
 
 
  You won't on an HP printer, at least not an older one.  Remember
  that HP had to pay a very hefty fee to Adobe for licensing
  PostScript for each printer.  HP did everything possible to push
  PCL and discourage customers from selecting PS because they
  did not want to continue to have to pay Adobe.  HP did not
 
 well that make sense. anyway - idon't think that implementing postscript 
 processing (or any other language) in printers make sense at all.
 computers are powerfull, printer could just take a bitmap and print 
 it (and be cheaper).
 

PostScript predates the existence of multi-gigahertz CPU screamers...

For simply printing graphics bitmaps your not using any of the
Postscript features and a binary dump to the printer is just as
useful.

But that is not what PostScript is all about.  Neither is PCL6
all about that, either.

 unfortunately such implementations are usually winprinters ...
 

Uh, what exactly do you think that HP's Linux driver does that
supports many different models of HP desktop printers?  HP
wrote that

Ted

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


Re: Duplex printer advice

2008-06-03 Thread Chuck Robey
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Ted Mittelstaedt wrote:
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Wojciech Puchar
 Sent: Tuesday, June 03, 2008 1:06 AM
 To: Warren Block
 Cc: FreeBSD Questions
 Subject: RE: Duplex printer advice


 This depends a lot on your print jobs.  Low quality machine-generated 
 PostScript output can be slow.  PCL can also be slow.  The only 
 way to really 
 know is to benchmark with your print jobs.
 there was no case i found postscript to print faster.

 
 You won't on an HP printer, at least not an older one. 

??  I had one of the original LaserJet-1's, which derived it's postscript
emulation via a plugin cartridge.  I was  Very happily surprised when I finally
switched to using ghostscript, because my print rate went up on every class of
printing, whether it be the faster text only jobs, or the unbelieveably slow
binary images.  Didn't have color back then.  Text was faster, but FAR faster
with ghostscript.  This was my personal printer, not something told to me by 
others.

 Remember
 that HP had to pay a very hefty fee to Adobe for licensing
 PostScript for each printer.  HP did everything possible to push
 PCL and discourage customers from selecting PS because they 
 did not want to continue to have to pay Adobe.  HP did not
 dare mess with the PostScript implementation itself for fear
 of a lawsuit - every HP printer that went out the door they
 definitely made sure was completely compliant with PostScript -
 but they did everything else to discourage it.  They told all
 the companies that wrote tutorials to minimize PostScript and
 enhance PCL, they make PostScript models much more expensive,
 they didn't ship models with Postscript with enough ram to
 run the PostScript interpreter reasonably quickly, and they
 made no effort to speed up the PostScript implementation. Still
 another trick was distributing PPD files that didn't have a
 complete definition of all printer accessories so that when
 you printed PostScript from, for example, Windows, you might
 not have a duplexer definition and could only print duplex
 on PCL.
 
 Ted
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

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

iD8DBQFIRWxmz62J6PPcoOkRArlnAKCjw6AEzF3yLxUArG/2tHLJ1bK4dwCcC3Mj
eNWZXUd7LxZCCdyKxPTgZe4=
=JKb+
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: any news? 3945 ABG driver!

2008-06-03 Thread Long Story

Hi Vince!
 
 
  The (rtfm) advice it might exist in 7.0R which I didnot install or upgrade to 
Yet,
   Im using PC-BSD which is 6.3-R
  and I think i need to do the driver manualy, any info ?
  or i _have_ to go for 7.0-R for this driver to work ?
 
  Thanks.
 
  Marwan. Date: Tue, 3 Jun 2008 16:42:40 +0100 From: [EMAIL PROTECTED] To: 
[EMAIL PROTECTED] CC: freebsd-questions@freebsd.org Subject: Re: any news? 
3945 ABG driver!  Long Story wrote:  Hello Gurus,Well, any good 
news or working drivers for wireless 3945ABG ?  for 7.0-R or 6.3-R ?  Can 
anyone kindly provide any useful information ?man wpi ;)  (sorry to 
rtfm you but the man page explains it better than I could)  Vince   THANK 
YOU  Marwan.  
_  It’s easy 
to add contacts from Facebook and other social sites through Windows Live™ 
Messenger. Learn how.  
https://www.invite2messenger.net/im/?source=TXT_EML_WLH_LearnHow___
  freebsd-questions@freebsd.org mailing list  
http://lists.freebsd.org/mailman/listinfo/freebsd-questions  To unsubscribe, 
send any mail to [EMAIL PROTECTED] 
_
Instantly invite friends from Facebook and other social networks to join you on 
Windows Live™ Messenger.
https://www.invite2messenger.net/im/?source=TXT_EML_WLH_InviteFriends___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Trouble with freenx server

2008-06-03 Thread David Karapetyan
Hello everyone; I am trying to set up a freenx server on my fbsd box. I 
have added users 'nx' and 'davidkarapetyan', and edited node.conf so 
that .xinitrc is identified as my nx session startup script. Here is the 
error I get when I try to connect from my windows client box:


NX 203 NXSSH running with pid: 1516
NX 285 Enabling check on switch command
NX 285 Enabling skip of SSH config files
NX 285 Setting the preferred NX options
NX 200 Connected to address: 66.254.239.155 on port: 22
NX 202 Authenticating user: nx
NX 208 Using auth method: publickey
HELLO NXSERVER - Version 1.5.0-60 OS (GPL)
NX 105 hello NXCLIENT - Version 1.5.0
NX 134 Accepted protocol: 1.5.0
NX 105 SET SHELL_MODE SHELL
NX 105 SET AUTH_MODE PASSWORD
NX 105 login
NX 101 User: davidkarapetyan
NX 102 Password:
NX 103 Welcome to: abode.resnet.nd.edu user: davidkarapetyan
NX 105 listsession --user=davidkarapetyan 
--status=suspended,running --geometry=1024x768x32+render 
--type=unix-default

NX 127 Sessions list of user 'davidkarapetyan' for reconnect:

Display Type Session ID   Options  Depth 
Screen Status  Session Name
---    - 
-- --- --



NX 148 Server capacity: not reached for user: davidkarapetyan
NX 105 startsession  --rootless=1 --virtualdesktop=0 --link=lan 
--backingstore=1 --encryption=1 --cache=16M --images=64M 
--media=0 --session=officetohome --type=unix-default --kbload= 
--kbload=pc102/en_US --keymap= --keymap=en_US --kbtype=pc102/en_US 
--aux=1 --screeninfo=1024x715x32+render


NX 1000 NXNODE - Version 1.5.0-60 OS (GPL)
NX 700 Session id: 
abode.resnet.nd.edu-1000-B066639755F3B3F405A9DAE63946F1D1

NX 705 Session display: 1000
NX 703 Session type: unix-default
NX 701 Proxy cookie: e07a1335477d108f28225cc31a3f1ef2
NX 702 Proxy IP: 127.0.0.1
NX 706 Agent cookie: e07a1335477d108f28225cc31a3f1ef2
NX 704 Session cache: unix-default
NX 707 SSL tunneling: 1
NX 1009 Session status: starting
NX 1004 Error: Session did not start.
NX 596 Session start failed.
NX 999 Bye
NX 280 Exiting on signal: 15


Any ideas on how to fix this?

--
Best,

David Karapetyan
http://nd.edu/~dkarapet/

University of Notre Dame
Department of Mathematics
255 Hurley Hall
Notre Dame, IN 46556-4618
Phone: 574-631-5706
FAX: 574-631-6579

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


Re: how to check if spf record is set

2008-06-03 Thread Zbigniew Szalbot

Hello,

Fraser Tweedale:


On Mon, Jun 02, 2008 at 04:34:47PM -0500, Paul Schmehl wrote:
--On Tuesday, June 03, 2008 01:09:57 +0400 Yuri Pankov [EMAIL PROTECTED] 
wrote:


 Zbigniew Szalbot wrote:
 Hello,

 Pardon my lack of knowledge but how can one check if SPF record is
 correctly set using standard UNIX tools?
 dig? host?

 $ man dig |grep spf
 $ man host |grep spf

 yield nothing. Many thanks!


 SPF uses TXT record, so a simple `host -t txt yourdomain.com` should do the
 trick.


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


Or #dig -t TXT domain.tld will do the same thing.

--
Paul Schmehl
As if it wasn't already obvious,
my opinions are my own and not
those of my employer.



You don't even need the -t flag.  `dig TXT host` will do the trick... and let's 
not forget about the newer, dedicated SPF record type; to query that, use `dig 
SPF host`.



Big thank you to everyone who has responded!

At least now I know that the domain's SPF record is not set correctly, 
contrary to what the admin told me.


$ dig TXT slowo.pl
;; ANSWER SECTION:
slowo.pl.   16802   IN  TXT Slowo Dnia

I appreciate your help! Thanks!

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


Re: 7.0 upgrade compile error

2008-06-03 Thread Casey Scott
Question inline:

- Kris Kennaway [EMAIL PROTECTED] wrote:

 Casey Scott wrote:
  With the new output below, does anyone have any thought on why the 
  build fails?
 
 You seem to be missing critical parts of your source tree.  Double
 check 
 your cvsupfile (or similar).
I've resync'd source, same issue. This is the config from the cvsupfile:

*default host=cvsup15.FreeBSD.org
*default base=/var/db
*default prefix=/usr
*default release=cvs tag=RELENG_7
*default delete use-rel-suffix
*default compress
src-all

 
  Please show us more context.
  These seems to be all the relevant output:
 
 
 **
  cd /usr/src/etc; make buildincludes; make installincludes
 
  --
  stage 4.2: building libraries
  --
  cd /usr/src;  MAKEOBJDIRPREFIX=/usr/obj  MACHINE_ARCH=i386 
  MACHINE=i386  CPUTYPE=pentium4 
  GROFF_BIN_PATH=/usr/obj/usr/src/tmp/legacy/usr/bin 
  GROFF_FONT_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/groff_font 
  GROFF_TMAC_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/tmac 
  _SHLIBDIRPREFIX=/usr/obj/usr/src/tmp  INSTALL=sh
  /usr/src/tools/install.sh 
 
 PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/usr/bin:/usr/obj/usr/src/tmp/legacy/usr/games:/usr/obj/usr/src/tmp/usr/sbin:/usr/obj/usr/src/tmp/usr/bin:/usr/obj/usr/src/tmp/usr/games:/sbin:/bin:/usr/sbin:/usr/bin
  make -f Makefile.inc1 DESTDIR=/usr/obj/usr/src/tmp -DNO_FSCHG
  -DWITHOUT_HTML -DWITHOUT_INFO -DNO_LINT  -DWITHOUT_MAN
 -DWITHOUT_NLS
  -DWITHOUT_PROFILE libraries
  cd /usr/src;  make -f Makefile.inc1 _prereq_libs;  make -f
  Makefile.inc1 _startup_libs;  make -f Makefile.inc1 _prebuild_libs;
 
  make -f Makefile.inc1 _generic_libs;
  === gnu/lib/libgcc (obj,depend,all,install)
  make -f /usr/src/gnu/lib/libgcc/../../usr.bin/cc/cc_tools/Makefile
  MFILE=/usr/src/gnu/lib/libgcc/../../usr.bin/cc/cc_tools/Makefile
  GCCDIR=/usr/src/gnu/lib/libgcc/../../../contrib/gcc tm.h
  TARGET_CPU_DEFAULT=  HEADERS=options.h i386/i386.h i386/unix.h
  i386/att.h dbxelf.h elfos.h freebsd-native.h freebsd-spec.h
 freebsd.h
  i386/freebsd.h defaults.h  DEFINES=  /bin/sh
  /usr/src/gnu/lib/libgcc/../../../contrib/gcc/mkconfig.sh tm.h
  echo '#define EXTRA_MODES_FILE i386/i386-modes.def'  tm.h
  make -f /usr/src/gnu/lib/libgcc/../../usr.bin/cc/cc_tools/Makefile
  MFILE=/usr/src/gnu/lib/libgcc/../../usr.bin/cc/cc_tools/Makefile
  GCCDIR=/usr/src/gnu/lib/libgcc/../../../contrib/gcc tconfig.h
  TARGET_CPU_DEFAULT=  HEADERS=auto-host.h ansidecl.h 
  DEFINES=USED_FOR_TARGET  /bin/sh
  /usr/src/gnu/lib/libgcc/../../../contrib/gcc/mkconfig.sh tconfig.h
  make -f /usr/src/gnu/lib/libgcc/../../usr.bin/cc/cc_tools/Makefile
  MFILE=/usr/src/gnu/lib/libgcc/../../usr.bin/cc/cc_tools/Makefile
  GCCDIR=/usr/src/gnu/lib/libgcc/../../../contrib/gcc options.h
  awk -f /usr/src/gnu/lib/libgcc/../../../contrib/gcc/opt-gather.awk
  /usr/src/gnu/lib/libgcc/../../../contrib/gcc/c.opt
  /usr/src/gnu/lib/libgcc/../../../contrib/gcc/common.opt
  /usr/src/gnu/lib/libgcc/../../../contrib/gcc/config/i386/i386.opt
 
  optionlist
  awk -f
 /usr/src/gnu/lib/libgcc/../../../contrib/gcc/opt-functions.awk 
  -f /usr/src/gnu/lib/libgcc/../../../contrib/gcc/opth-gen.awk  
  optionlist  options.h
  make -f /usr/src/gnu/lib/libgcc/../../usr.bin/cc/cc_tools/Makefile
  MFILE=/usr/src/gnu/lib/libgcc/../../usr.bin/cc/cc_tools/Makefile
  GCCDIR=/usr/src/gnu/lib/libgcc/../../../contrib/gcc unwind.h
  ln -sf
 /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-generic.h
  unwind.h
  make -f /usr/src/gnu/lib/libgcc/../../usr.bin/cc/cc_tools/Makefile
  MFILE=/usr/src/gnu/lib/libgcc/../../usr.bin/cc/cc_tools/Makefile
  GCCDIR=/usr/src/gnu/lib/libgcc/../../../contrib/gcc gthr-default.h
  ln -sf /usr/src/gnu/lib/libgcc/../../../contrib/gcc/gthr-posix.h
  gthr-default.h
  cc -c -O2 -pipe -march=pentium4 -DIN_GCC -DIN_LIBGCC2
  -D__GCC_FLOAT_NOT_NEEDED  -DHAVE_GTHR_DEFAULT 
  -I/usr/src/gnu/lib/libgcc/../../../contrib/gcclibs/include 
  -I/usr/src/gnu/lib/libgcc/../../../contrib/gcc/config
  -I/usr/src/gnu/lib/libgcc/../../../contrib/gcc -I. 
  -I/usr/src/gnu/lib/libgcc/../../usr.bin/cc/cc_tools 
  -fvisibility=hidden -DHIDE_EXPORTS -fPIC -fexceptions
 -D__GLIBC__=3
  -DElfW=__ElfN -o unwind-dw2.o
  /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c
  In file included from
  /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:32:
  /usr/src/gnu/lib/libgcc/../../../contrib/gcc/tsystem.h:47:20:
 error:
  stddef.h: No such file or directory
  /usr/src/gnu/lib/libgcc/../../../contrib/gcc/tsystem.h:48:19:
 error:
  float.h: No such file or directory
  /usr/src/gnu/lib/libgcc/../../../contrib/gcc/tsystem.h:87:20:
 error:
  stdarg.h: No such file or directory
  /usr/src/gnu/lib/libgcc/../../../contrib/gcc/tsystem.h:90:19:
 error:
  stdio.h: No such file or directory
  

Help Installing Sun JDK on FreeBSD

2008-06-03 Thread triggerme2ice

Hi all,

I was wondering if anyone would know of a brute force way of installing the
(newest possible) sun JDK on FreeBSD 5.0 (or any other versions for further
info)

Help a freeBSD user in need :teeth:
-- 
View this message in context: 
http://www.nabble.com/Help-Installing-Sun-JDK-on-FreeBSD-tp17628876p17628876.html
Sent from the freebsd-questions mailing list archive at Nabble.com.

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


IPv6 jails for FreeBSD (6.* preferably)

2008-06-03 Thread Wojciech Puchar

does patch exist for it?

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


git

2008-06-03 Thread Chuck Robey
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Wonder if anyone could tell me why anything I do to run git-pull gives me a
coredump?  The image that gets dumped is git-fetch, if that helps, and I was
just trying to update the xorg source tree.
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.4 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIRY37z62J6PPcoOkRAnXeAJ93lrCpYso1hj+KOEZqAT02tI3W9QCbBLbJ
vBsWFdvjm/6uAXpp8etLZWY=
=b4R6
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Duplex printer advice

2008-06-03 Thread Chuck Robey
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Gary Kline wrote:
 Agree 100.0%, Ted.   Long run, the inkjet will bleed you like a leech.
 My 1991 [?] DeskJet 500 was  $400, major bux.  But having bought at
 least
 two cadtrides/year until last winter.  Lowball it: $20 per cartridge.
 
 Well over a kilobuck.  
 
 I *know* what it's like to be squeezed for cash, Chuck.  It may take you
 weeks 
 of surfing for the best deal, but go laser if you can.
 
 At the same time, HP's patents are about to expire in the next few
 years.  Anybody 
 know when, to-the-year?

Well, having had both, the only problem I've seen in some of the Inkjets is that
 (and HP is bad at this) the ink tends to dry up and jam both the ink cart. and
(in HP's case) the printheads also.  Least so far, I haven't see this at all
with Epson.  I *have* seen that there's a thriving market in those 3rd party
inks, which are dirt-cheap, but I haven't any experience in inkjets with 3rd
party inks, only the lasers, where they do ok.

I have been looking at the Epson RX680, where it's less than $200 for all the
features (except the postscript emulation) of the Brother $700 printer (I forget
the model I liked, just remembered the list price from the Brother web page).
That's a 350% difference there, Gary.  I'm still making up my mind, but I just
don't print all that often to need a $700 unit, and I did notice that there is
just about no 3rd party market at all for the Brother units (just a huge ink
market) and they are conspicuously missing from ebay also.  Means I'm likely to
actually PAY the full 700, not even slightly true of the Epson model.

Yeah, quality is a very nice thing to have ... if I had a user report on the 3rd
party inks from someone I trusted (and it wasn't too evil) I would probagbly
jump to the Epson, it's just too darn expensive to go quality when you print
once a week.

I do need the fax  scanner features, no matter how seldom I use them, though.
Big help for someone who's disabled.

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

iD8DBQFIRZMLz62J6PPcoOkRAtMoAKCJVRhRjXMi5ubZ68vC3MnGKn764QCfeGjm
fJCsYSyRUcy0rnNPoxI/6bA=
=C1yI
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Setting up a VPN

2008-06-03 Thread Schiz0
Hey,

I'm looking for information on how to setup a Virtual Private Network
on a FreeBSD 7.0-RELEASE system. The only VPNs that I've worked with
previously is Hamachi on windows and linux, so I have no experience in
OpenVPN or IPSec.

The purpose of this VPN is to restrict certain things to only
administrators. For example, phpmyadmin and vsFTPd. I'd prefer not to
have these things listen on the public interface.

I read the Handbook entry on IPSec/VPNs:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ipsec.html

However, that entry only has examples for how to connect one network
to another network via FreeBSD gateways. I don't want a setup like
this; I just want the freebsd system, my windows XP system, and a few
other windows XP systems to be on a VPN together.

Can anyone link me to how-tos or any references on how to do this?
Also, any suggestions on which software to use (OpenVPN, IPSec, etc)
would be appreciated.

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


Re: Setting up a VPN

2008-06-03 Thread Wojciech Puchar

Hey,

I'm looking for information on how to setup a Virtual Private Network
on a FreeBSD 7.0-RELEASE system. The only VPNs that I've worked with


if you need unix-unix VPN use /usr/ports/net/vtun

if unix-windoze - then use /usr/ports/net/mpd

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


Re: Setting up a VPN

2008-06-03 Thread Bill Moran
In response to Schiz0 [EMAIL PROTECTED]:

 Hey,
 
 I'm looking for information on how to setup a Virtual Private Network
 on a FreeBSD 7.0-RELEASE system. The only VPNs that I've worked with
 previously is Hamachi on windows and linux, so I have no experience in
 OpenVPN or IPSec.
 
 The purpose of this VPN is to restrict certain things to only
 administrators. For example, phpmyadmin and vsFTPd. I'd prefer not to
 have these things listen on the public interface.
 
 I read the Handbook entry on IPSec/VPNs:
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ipsec.html
 
 However, that entry only has examples for how to connect one network
 to another network via FreeBSD gateways. I don't want a setup like
 this; I just want the freebsd system, my windows XP system, and a few
 other windows XP systems to be on a VPN together.
 
 Can anyone link me to how-tos or any references on how to do this?
 Also, any suggestions on which software to use (OpenVPN, IPSec, etc)
 would be appreciated.

Not sure I agree with the mpd recommendation.  In my experience, that
particular piece of Windows VPN technology is better relegated to
history, much in the same way as the Holocaust and other disasters.

If you're having trouble understanding IPsec, don't worry.  IPsec is
confusing.  The biggest problem with IPsec is that it's more complicated
than it needs to be.

Based on your description of your requirement, I suggest pursuing an
OpenVPN solution.  I've done this with FreeBSD/Windows.  There's a neat
tool to generate .msi files for Windows machines to allow users idiot-
proof installation, which I've had good success with, and the simple
VPN you describe is pretty easy to set up from this HOWTO:
http://openvpn.net/index.php/documentation/howto.html#pki

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


Re: logo

2008-06-03 Thread Camilo Reyes
It was started by a question posted about wanting help for a certain project. 
See below.
 Camilo
Bono Vince Malum
 Message: 4
 Date: Mon, 2 Jun 2008 19:44:35 -0300
 From: Gonzalo Nemmi 
 Subject: Re: logo
 To: freebsd-questions@freebsd.org
 Message-ID: [EMAIL PROTECTED]
 Content-Type: text/plain;  charset=iso-8859-1
 
 On Monday 02 June 2008 18:48:56 Frank Shute wrote:
  On Mon, Jun 02, 2008 at 06:57:00PM +, Pollywog wrote:
   On Monday 02 June 2008 15:58:55 [EMAIL PROTECTED] wrote:
I agree completely, it's what got me over to BSD !
  
   I am a little confused.  I just see a sphere with horns on it that
   reminds me of the BSD daemon's head, only made to look less
   demonic.  Is it supposed to be something else?
 
  It's the FreeBSD equivalent of the Rorschach inkblot test. Some people
  see a daemon's head and other's see a sex toy.
 
   If it is one of those toys is that what FreeBSD folks really want
   to project as an image?
 
  The image is only in the beholder's eye. It would likely have sent
  Mary Whitehouse* apoplectic if she'd seen it ;)
 
  * http://en.wikipedia.org/wiki/Mary_Whitehouse
 
  Regards,
 
 May I ask where was it that this thread started?
 I'd pretty much like to get the whole picture of what is being discussed .. 
 I did dig the list archives but couldn't find the first mail of this thread ..
 So .. any pointers will be greatly appreciated
 
 Thanks =)
 -- 
 Blessings
 Gonzalo Nemmi
 
 
 
 Message: 30
 Date: Tue, 3 Jun 2008 01:03:40 -0700
 From: Ted Mittelstaedt 
 Subject: RE: Looking for gurus willing to help write Freebsd tutorials
 To: Pollywog ,
     
 Message-ID: 
 Content-Type: text/plain;    charset=iso-8859-1
 
 
 
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] Behalf Of Pollywog
  Sent: Monday, June 02, 2008 11:57 AM
  To: freebsd-questions@freebsd.org
  Subject: Re: Looking for gurus willing to help write Freebsd tutorials
  
  
  On Monday 02 June 2008 15:58:55 [EMAIL PROTECTED] wrote:
  
   I agree completely, it's what got me over to BSD !
  
  
  I am a little confused.  I just see a sphere with horns on it 
  that reminds 
  me of the BSD daemon's head, only made to look less demonic.  Is it 
  supposed to be something else?
  
 
 No, that is what it's supposed to be.
 
 The sex toy issue is that you saw the sphere with horns AFTER you
 saw Beastie.  So you had a frame of reference, and naturally assume
 it's Beastie's head.
 
 The problem is, think about people who have NEVER seen Beastie before
 seeing the sex toy logo for the first time.  Since they have no
 frame of reference they can easily assume that it means anything
 at all.  Such as the business end of a French tickler, which it
 kind of resembles.
 
 When those of us in the know call it a sex toy, we are making
 a little inside joke, as we are basically saying the logo design
 is terrible because it does not indicate to anyone looking at
 it what it is supposed to represent.
 
 The Linux penguin is no different - someone seeing a Penguin
 isn't going to know it has to do with an operating system, either.
 
 Many corporate logos also suffer from the same problem.
 
 The difference between the corporate logos and Linux and us, is
 that those organizations have the marketing muscle to take their
 rediculous logo designs and pound them into the public conciousness
 through endless advertising.
 
 See a blue oval?  Most people think Ford  Not because a blue
 oval has anything to do with cars.  It's because Ford has dumped
 trillions of dollars in advertising over the years pounding that
 association into the public mind.
 
 The designer of the FreeBSD logo approached it from the usual corporate
 arrogance of we can create anything we want, then just pay money
 for the association.  The only problem is that the FreeBSD project
 has no money to spend to create this association.  As a result the
 logo completely fails in it's job.
 
 Arguably, there is also no public association between Beastie and
 the FreeBSD operating system either, so in the long run we aren't
 any worse off than we were.  (aside from the arrogant setting aside
 of 20 some years of BSD Unix history)
 
 Ted
 
 
 --
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 
 End of freebsd-questions Digest, Vol 218, Issue 5
 *




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


Re: git

2008-06-03 Thread N.J. Thomas
* Chuck Robey [EMAIL PROTECTED] [2008-06-03 14:31:24-0400]:
 Wonder if anyone could tell me why anything I do to run git-pull gives
 me a coredump?  The image that gets dumped is git-fetch, if that
 helps, and I was just trying to update the xorg source tree.

Have you tried to clone other repositories and see if you can replicate
this error?

I built my git from ports and IIRC, it seemed to clone and pull the xorg
tree fine (but that was about 3 weeks ago).

Thomas

-- 
N.J. Thomas
[EMAIL PROTECTED]
Etiamsi occiderit me, in ipso sperabo
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Setting up a VPN

2008-06-03 Thread Wojciech Puchar

particular piece of Windows VPN technology is better relegated to
history, much in the same way as the Holocaust and other disasters.


as the whole windoze. but people use it - their problem. so if they use - 
let they have win-VPNs, and mpd gives it and works fine.


i don't know how secure is windows-vpn. possibly not much, but who cares?
anyone who cares about security should just don't use windows at all.

those who like to feel secure - feels secure. that's all.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: logo

2008-06-03 Thread Chris Whitehouse

Well I think it's a space hopper
http://images.google.co.uk/images?q=space%20hopperie=UTF-8oe=utf-8rls=org.mozilla:en-US:officialclient=firefox-aum=1sa=Ntab=wi

(and Mary is not my aunt)

Chris
Beastie fan

Camilo Reyes wrote:

It was started by a question posted about wanting help for a certain project. 
See below.
 Camilo
Bono Vince Malum

Message: 4
Date: Mon, 2 Jun 2008 19:44:35 -0300
From: Gonzalo Nemmi 
Subject: Re: logo

To: freebsd-questions@freebsd.org
Message-ID: [EMAIL PROTECTED]
Content-Type: text/plain;  charset=iso-8859-1

On Monday 02 June 2008 18:48:56 Frank Shute wrote:

On Mon, Jun 02, 2008 at 06:57:00PM +, Pollywog wrote:

On Monday 02 June 2008 15:58:55 [EMAIL PROTECTED] wrote:

I agree completely, it's what got me over to BSD !

I am a little confused.  I just see a sphere with horns on it that
reminds me of the BSD daemon's head, only made to look less
demonic.  Is it supposed to be something else?

It's the FreeBSD equivalent of the Rorschach inkblot test. Some people
see a daemon's head and other's see a sex toy.


If it is one of those toys is that what FreeBSD folks really want
to project as an image?

The image is only in the beholder's eye. It would likely have sent
Mary Whitehouse* apoplectic if she'd seen it ;)

* http://en.wikipedia.org/wiki/Mary_Whitehouse

Regards,

May I ask where was it that this thread started?
I'd pretty much like to get the whole picture of what is being discussed .. 
I did dig the list archives but couldn't find the first mail of this thread ..

So .. any pointers will be greatly appreciated

Thanks =)
--
Blessings
Gonzalo Nemmi



Message: 30
Date: Tue, 3 Jun 2008 01:03:40 -0700
From: Ted Mittelstaedt 
Subject: RE: Looking for gurus willing to help write Freebsd tutorials

To: Pollywog ,

Message-ID: 
Content-Type: text/plain;charset=iso-8859-1





-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Pollywog
Sent: Monday, June 02, 2008 11:57 AM
To: freebsd-questions@freebsd.org
Subject: Re: Looking for gurus willing to help write Freebsd tutorials


On Monday 02 June 2008 15:58:55 [EMAIL PROTECTED] wrote:


I agree completely, it's what got me over to BSD !

I am a little confused.  I just see a sphere with horns on it 
that reminds 
me of the BSD daemon's head, only made to look less demonic.  Is it 
supposed to be something else?



No, that is what it's supposed to be.

The sex toy issue is that you saw the sphere with horns AFTER you
saw Beastie.  So you had a frame of reference, and naturally assume
it's Beastie's head.

The problem is, think about people who have NEVER seen Beastie before
seeing the sex toy logo for the first time.  Since they have no
frame of reference they can easily assume that it means anything
at all.  Such as the business end of a French tickler, which it
kind of resembles.

When those of us in the know call it a sex toy, we are making
a little inside joke, as we are basically saying the logo design
is terrible because it does not indicate to anyone looking at
it what it is supposed to represent.

The Linux penguin is no different - someone seeing a Penguin
isn't going to know it has to do with an operating system, either.

Many corporate logos also suffer from the same problem.

The difference between the corporate logos and Linux and us, is
that those organizations have the marketing muscle to take their
rediculous logo designs and pound them into the public conciousness
through endless advertising.

See a blue oval?  Most people think Ford  Not because a blue
oval has anything to do with cars.  It's because Ford has dumped
trillions of dollars in advertising over the years pounding that
association into the public mind.

The designer of the FreeBSD logo approached it from the usual corporate
arrogance of we can create anything we want, then just pay money
for the association.  The only problem is that the FreeBSD project
has no money to spend to create this association.  As a result the
logo completely fails in it's job.

Arguably, there is also no public association between Beastie and
the FreeBSD operating system either, so in the long run we aren't
any worse off than we were.  (aside from the arrogant setting aside
of 20 some years of BSD Unix history)

Ted


--

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

End of freebsd-questions Digest, Vol 218, Issue 5
*




  
___

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



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

growfs

2008-06-03 Thread Doug Sampson
I want to ensure that I am correctly applying the concept of the growfs
command.

I want to remove /dev/ad2s1h and expand /dev/ad2s1g to occupy all of the
space left behind by the deletion of /dev/ad2s1h.

[EMAIL PROTECTED]:/root# bsdlabel -e /dev/ad2s1
# /dev/ad2s1:
8 partitions:
#size   offsetfstype   [fsize bsize bps/cpg]
  a:   52428804.2BSD 2048 16384 32776
  b:  4138384   524288  swap
  c: 5860993320unused0 0 # raw part, don't
edit
  d:   524288  46626724.2BSD0 0 0
  e:   524288  51869604.2BSD0 0 0
  f: 10485760  57112484.2BSD0 0 0
  g: 167772160 161970084.2BSD0 0 0
  h: 402130164 1839691684.2BSD0 0 0

[EMAIL PROTECTED]:/root# df
Filesystem   1K-blocks UsedAvail Capacity  Mounted on
/dev/ad2s1a 25367860858   17252626%/
devfs110   100%/dev
/dev/ad2s1e 253678  410   232974 0%/tmp
/dev/ad2s1f5077038  4129758   54111888%/usr
/dev/ad2s1d 253678   130346   10303856%/var
/dev/ad2s1g   81245672 67645604  710041691%/data
/dev/ad2s1h  194736504 99902864 7925472056%/backup

According to http://www.freebsd.org/cgi/man.cgi?query=growfssektion=8, it
looks like that if I wish to expand /dev/ad2s1g to fill out the slice, the
only thing I need to do are the following:

-remove /dev/ad2s1h
-growfs -s 569902324 /dev/ad2s1g
-edit /etc/fstab to remove all references to /dev/ad2s1h

Is this correct? Am I missing any other commands?

Since the only tool I am familiar with and use for disk partitioning is
sysinstall, how do I remove /dev/ad2s1h without resorting to sysinstall?
Fdisk?

I want to be extremely sure that I am taking the correct steps to perform
this operation. Yes, I have backups but this machine is in production and I
want to eliminate every possibility of downtime due to issues arising from
the improper understanding and use of the 'growfs' command. Thanks.

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


Re: git

2008-06-03 Thread Chuck Robey
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

N.J. Thomas wrote:
 * Chuck Robey [EMAIL PROTECTED] [2008-06-03 14:31:24-0400]:
 Wonder if anyone could tell me why anything I do to run git-pull gives
 me a coredump?  The image that gets dumped is git-fetch, if that
 helps, and I was just trying to update the xorg source tree.
 
 Have you tried to clone other repositories and see if you can replicate
 this error?
 
 I built my git from ports and IIRC, it seemed to clone and pull the xorg
 tree fine (but that was about 3 weeks ago).
 
 Thomas
 

No, that's the only git repo I have now.  Got a url of one that works for you?
I have extra disk to give it a try.

Beyond that, I just tried purposefully sticking a division by zero in a little
demo C prog of mine, and that one, when I do the gdb -c corefile gives me the
same thing, thousands of empty stack frames and no full ones.  Why should that
be?  I have used gdb very recently to debug static images, they work ok
(although I didn't try the corefiles on those).
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.4 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIRa2/z62J6PPcoOkRAscOAJ9kkx1COQ+4UR/AU1xECliyGlE68QCfRWiB
tPZC6YOG1cZ4xgkpD3+FjK0=
=4hBV
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


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

2008-06-03 Thread Daniel Gerzo
Hello Wojciech,

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

 does patch exist for it?

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

-- 
Best regards,
 Danielmailto:[EMAIL PROTECTED]

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


Re: git

2008-06-03 Thread N.J. Thomas
* Chuck Robey [EMAIL PROTECTED] [2008-06-03 16:46:55-0400]:
   git-pull gives me a coredump
  
  Have you tried to clone other repositories and see if you can
  replicate this error?
 
 No, that's the only git repo I have now.  Got a url of one that works
 for you? I have extra disk to give it a try.

Debian has nice list of git repositories available for cloning:

http://git.debian.org/

Thomas

-- 
N.J. Thomas
[EMAIL PROTECTED]
Etiamsi occiderit me, in ipso sperabo
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 7.0-R freezes with: swap_pager: indefinite wait buffer: bufobj

2008-06-03 Thread Oskar Eyb

Hi,

the SMART-status looks ok!

SMART overall-health self-assessment test result: PASSED

Maybe other applications causes high I/O load?
Howto determine this? Other suggestions?


Cheers,
Oskar


Kris Kennaway schrieb am 02.06.2008 20:58:

Oskar Eyb wrote:

Hello,

on a  7.0-RELEASE maschine I have now again a big problem with freezing.


swap_pager: indefinite wait buffer: bufobj: 0, blkno: 388449, size: 4096
swap_pager: indefinite wait buffer: bufobj: 0, blkno: 388452, size: 20480
swap_pager: indefinite wait buffer: bufobj: 0, blkno: 387805, size: 16384


# swapctl -l
Device:   1024-blocks Used:
/dev/mirror/gm0s1b   1048576485332
/dev/md01048576485316


What to do against this, is there a patch available?


Your disk is taking an enormously long time to reply to swap I/O, which 
is what is eventually timing out with those errors.  Check that it is 
not failing.


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

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


Re: git

2008-06-03 Thread Chuck Robey
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

N.J. Thomas wrote:
 * Chuck Robey [EMAIL PROTECTED] [2008-06-03 16:46:55-0400]:
 git-pull gives me a coredump
 Have you tried to clone other repositories and see if you can
 replicate this error?
 No, that's the only git repo I have now.  Got a url of one that works
 for you? I have extra disk to give it a try.
 
 Debian has nice list of git repositories available for cloning:
 
 http://git.debian.org

I'm very new at git, and while I know cvs pretty well, I just don't know git.  I
just tried to do a git clone on a Clisp image, worked fine, then I cd'ed into
it until I saw a .git directory (I assume that's something like cvs's CVS dirs)
but when I tried to do a git pull (no params here) it gave me a coredump.  Did
I do that right?  I mean, it was a correct test?

Does the git-clone call git-fetch?  Because that's the part that's failing in
the pull, so I wonder if it's getting called in the clone.

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

iD8DBQFIRbpGz62J6PPcoOkRAmrgAKCWomx2cbl04sL6pLIoVItr7YUEOwCgnLNS
eRxvuroEpnM3rZBr0cgMfWg=
=qsIX
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


md, mount_mfs and swap

2008-06-03 Thread Christopher Sean Hilton
I've recently started playing with NetBSD and notice that by default  
it mounts /tmp as an MFS backed by swap. A quick read of the md,  
mount_mfs man page would lead me to believe that


 md /tmp rw,async,-s1024m 0 0

will move my /tmp dir to a swap backed 1G space. This would make me  
feel much more comfortable about my continuing adherence to the  
practice of giving my machine twice as much swap space as they have  
memory.


Are there any downsides to this?

-- Chris 



Chris Hilton   e: chris|at|vindaloo| 
dot|com


  The pattern juggler lifts his hand; The orchestra  
begin.
  As slowly turns the grinding wheel in the court of the crimson  
king.
   -- Ian McDonald / Peter  
Sinfield




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


RE: Duplex printer advice

2008-06-03 Thread Warren Block

On Tue, 3 Jun 2008, Wojciech Puchar wrote:

This depends a lot on your print jobs.  Low quality machine-generated 
PostScript output can be slow.  PCL can also be slow.  The only way to 
really know is to benchmark with your print jobs.


there was no case i found postscript to print faster.


But then you've said you're using a LaserJet 4, which came out in 1992 
and has a slow PS interpreter.


Some of my print jobs ran much faster in PS, because it only sent a few 
K of PS rather than a megabyte of bitmap in PCL.


There's also the potential overhead of the print processing systems. Just 
sending PS in the first place may be quicker than apsfilter or CUPS.


i use lpd+my script for filtering postscript to PCL

Recent printers have fast RISC CPUs and fast PS interpreters.  I/O speed 
comes into it, too.  FreeBSD seems particularly slow over parallel and USB


both not true, but just use lptcontrol for parallel port!


Did that, didn't help (at the time).  Not an issue with Ethernet.

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


Re: 7.0-R freezes with: swap_pager: indefinite wait buffer: bufobj

2008-06-03 Thread Wojciech Puchar

Hi,

the SMART-status looks ok!

SMART overall-health self-assessment test result: PASSED

Maybe other applications causes high I/O load?


no reason to fail.


Howto determine this? Other suggestions?


Cheers,
Oskar


Kris Kennaway schrieb am 02.06.2008 20:58:

Oskar Eyb wrote:

Hello,

on a  7.0-RELEASE maschine I have now again a big problem with freezing.


swap_pager: indefinite wait buffer: bufobj: 0, blkno: 388449, size: 4096
swap_pager: indefinite wait buffer: bufobj: 0, blkno: 388452, size: 20480
swap_pager: indefinite wait buffer: bufobj: 0, blkno: 387805, size: 16384


# swapctl -l
Device:   1024-blocks Used:
/dev/mirror/gm0s1b   1048576485332
/dev/md01048576485316


What to do against this, is there a patch available?


Your disk is taking an enormously long time to reply to swap I/O, which is 
what is eventually timing out with those errors.  Check that it is not 
failing.


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

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



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


Fatal trap 12 --- can lack of APIC on SMP cause crashes?

2008-06-03 Thread Rudy


My kernel panics!  I reinstlled i386 and scrapped my amd64 install, however, I forgot the APIC 
line... would that cause crashes under load or high network activity?

  device  apic# I/O apic




- Rudy





# uname
FreeBSD example.monkeybrains.net 7.0-STABLE FreeBSD 7.0-STABLE #0: Mon May 12 15:17:23 PDT 2008 
 root@:/usr/obj/usr/src/sys/EXAMPLE  i386



# crash message:
Fatal trap 12: page fault while in kernel mode
instruction pointer = 0x20:0xc05330da

Following this advice:
 
http://www.freebsd.org/doc/en/books/faq/advanced.html#KERNEL-PANIC-TROUBLESHOOTING
Nothing close to 0xc05330da... here is the closest:
# nm -n /boot/kernel/kernel | grep c053


c0532c5a t turnstile_first_waiter
c0532c80 T turnstile_head
c0532c8f T turnstile_empty
c0532ca5 t turnstile_fini
c0532cb8 t turnstile_init
c0532d2a T init_turnstiles
c0532dc6 t turnstile_adjust_thread
c0532f48 t propagate_priority
c0533101 T turnstile_adjust
c0533144 T turnstile_free
c0533168 T turnstile_alloc
c053318d t init_turnstile0




-
kernel config file:


###cpu HAMMER   # wasn't working on amd64...
cpu I686_CPU
ident   EXAMPLE

# To statically compile in device wiring instead of /boot/device.hints
#hints  GENERIC.hints # Default places to look for devices.

makeoptions DEBUG=-g# Build kernel with gdb(1) debug symbols

options SCHED_4BSD  # 4BSD scheduler
options PREEMPTION  # Enable kernel thread preemption
options INET# InterNETworking
#optionsINET6   # IPv6 communications protocols
#optionsSCTP# Stream Control Transmission Protocol
options FFS # Berkeley Fast Filesystem
options SOFTUPDATES # Enable FFS soft updates support
options UFS_ACL # Support for access control lists
options UFS_DIRHASH # Improve performance on big directories
#optionsUFS_GJOURNAL# Enable gjournal-based UFS journaling
options MD_ROOT # MD is a potential root device
options NFSCLIENT   # Network Filesystem Client
#optionsNFSSERVER   # Network Filesystem Server
options NFS_ROOT# NFS usable as /, requires NFSCLIENT
#optionsNTFS# NT File System
#optionsMSDOSFS # MSDOS Filesystem
#optionsCD9660  # ISO 9660 Filesystem
options PROCFS  # Process filesystem (requires PSEUDOFS)
options PSEUDOFS# Pseudo-filesystem framework
#optionsGEOM_PART_GPT   # GUID Partition Tables.
options GEOM_LABEL  # Provides labelization
options COMPAT_43TTY# BSD 4.3 TTY compat [KEEP THIS!]
#optionsCOMPAT_IA32 # Compatible with i386 binaries
#optionsCOMPAT_FREEBSD4 # Compatible with FreeBSD4
#optionsCOMPAT_FREEBSD5 # Compatible with FreeBSD5
#optionsCOMPAT_FREEBSD6 # Compatible with FreeBSD6
options SCSI_DELAY=5000 # Delay (in ms) before probing SCSI
#optionsKTRACE  # ktrace(1) support
options SYSVSHM # SYSV-style shared memory
options SYSVMSG # SYSV-style message queues
options SYSVSEM # SYSV-style semaphores
options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time 
extensions
options KBD_INSTALL_CDEV# install a CDEV entry in /dev
options ADAPTIVE_GIANT  # Giant mutex is adaptive.
options STOP_NMI# Stop CPUS using NMI instead of IPI
#optionsAUDIT   # Security event auditing
# Make an SMP-capable kernel by default
options SMP # Symmetric MultiProcessor Kernel

# CPU frequency control
device  cpufreq

# Bus support.
device  acpi
device  eisa
device  pci

# ATA and ATAPI devices
device  ata
device  atadisk # ATA disk drives
options ATA_STATIC_ID   # Static device numbering

# atkbdc0 controls both the keyboard and the PS/2 mouse
device  atkbdc  # AT keyboard controller
device  atkbd   # AT keyboard
device  psm # PS/2 mouse

device  kbdmux  # keyboard multiplexer
device  vga # VGA video card driver

device  splash  # Splash screen and screen saver support

# syscons is the default console driver, resembling an SCO console
device  sc

device  agp # support several AGP chipsets

# Serial (COM) ports
device  sio # 8250, 16[45]50 based serial ports
device

Re: md, mount_mfs and swap

2008-06-03 Thread RW
On Tue, 3 Jun 2008 17:43:27 -0400
Christopher Sean Hilton [EMAIL PROTECTED] wrote:

 I've recently started playing with NetBSD and notice that by default  
 it mounts /tmp as an MFS backed by swap. A quick read of the md,  
 mount_mfs man page would lead me to believe that
 
   md /tmp rw,async,-s1024m 0 0
 
 will move my /tmp dir to a swap backed 1G space. This would make me  
 feel much more comfortable about my continuing adherence to the  
 practice of giving my machine twice as much swap space as they have  
 memory.
 
 Are there any downsides to this?
 

Not in my experience. You can do it simply by adding the following to
rc.conf

tmpmfs=YES
tmpsize=1024m

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


Re: Duplex printer advice

2008-06-03 Thread Christopher Sean Hilton


On Jun 2, 2008, at 5:31 PM, Wojciech Puchar wrote:


Color laser is what you want.  There are some really
good inexpensive units out there.  I recall reading the
inexpensieve Samsung color laser even speaks Postscript.


while i don't use color printers, usually this postscript is  
disadventage. if there is a choice like in HP laserjets - switching  
to PCL and using ghostscript works MUCH faster giving same results.


your computer's CPU is much faster than printer's.


Usually your computer has more available memory than your printer. In  
fact usually your printer's memory bound. I have two printers an HP  
Business Inkjet 2250 with 80MB of RAM and an HP Laserjet 4000 with  
64MB of RAM. The Business Inkjet prints Postscript at 12+ pages a  
minute. The 4000 does 17+ pages of postscript / minute. These speeds  
are pretty much as fast as the respective printers can spit out pages.  
Factory stock memory for the Inkjet is 16MB and it 4MB for the laser.  
With stock memory the inkjet does 7 pages / minute max and the  
Laserjet might make 12. Optimizing a CPU for Postscript isn't all that  
hard but for some reason the printer manufacturers ship these machines  
with very low RAM. BTW The RAM in these machines was scavenged out of  
some long dead laptop.



-- Chris  



Chris Hilton   e: chris|at|vindaloo| 
dot|com


  The pattern juggler lifts his hand; The orchestra  
begin.
  As slowly turns the grinding wheel in the court of the crimson  
king.
   -- Ian McDonald / Peter  
Sinfield




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


Re: Trouble with freenx server

2008-06-03 Thread Kitche
 Hello everyone; I am trying to set up a freenx server on my fbsd box. I
 have added users 'nx' and 'davidkarapetyan', and edited node.conf so
 that .xinitrc is identified as my nx session startup script. Here is the
 error I get when I try to connect from my windows client box:

 NX 203 NXSSH running with pid: 1516
 NX 285 Enabling check on switch command
 NX 285 Enabling skip of SSH config files
 NX 285 Setting the preferred NX options
 NX 200 Connected to address: 66.254.239.155 on port: 22
 NX 202 Authenticating user: nx
 NX 208 Using auth method: publickey
 HELLO NXSERVER - Version 1.5.0-60 OS (GPL)
 NX 105 hello NXCLIENT - Version 1.5.0
 NX 134 Accepted protocol: 1.5.0
 NX 105 SET SHELL_MODE SHELL
 NX 105 SET AUTH_MODE PASSWORD
 NX 105 login
 NX 101 User: davidkarapetyan
 NX 102 Password:
 NX 103 Welcome to: abode.resnet.nd.edu user: davidkarapetyan
 NX 105 listsession --user=davidkarapetyan
 --status=suspended,running --geometry=1024x768x32+render
 --type=unix-default
 NX 127 Sessions list of user 'davidkarapetyan' for reconnect:

 Display Type Session ID   Options  Depth
 Screen Status  Session Name
 ---    -
 -- --- --


 NX 148 Server capacity: not reached for user: davidkarapetyan
 NX 105 startsession  --rootless=1 --virtualdesktop=0 --link=lan
 --backingstore=1 --encryption=1 --cache=16M --images=64M
 --media=0 --session=officetohome --type=unix-default --kbload=
 --kbload=pc102/en_US --keymap= --keymap=en_US --kbtype=pc102/en_US
 --aux=1 --screeninfo=1024x715x32+render

 NX 1000 NXNODE - Version 1.5.0-60 OS (GPL)
 NX 700 Session id:
 abode.resnet.nd.edu-1000-B066639755F3B3F405A9DAE63946F1D1
 NX 705 Session display: 1000
 NX 703 Session type: unix-default
 NX 701 Proxy cookie: e07a1335477d108f28225cc31a3f1ef2
 NX 702 Proxy IP: 127.0.0.1
 NX 706 Agent cookie: e07a1335477d108f28225cc31a3f1ef2
 NX 704 Session cache: unix-default
 NX 707 SSL tunneling: 1
 NX 1009 Session status: starting
 NX 1004 Error: Session did not start.
 NX 596 Session start failed.
 NX 999 Bye
 NX 280 Exiting on signal: 15


 Any ideas on how to fix this?

 --
 Best,

 David Karapetyan
 http://nd.edu/~dkarapet/
 University of Notre Dame
 Department of Mathematics
 255 Hurley Hall
 Notre Dame, IN 46556-4618
 Phone: 574-631-5706
 FAX: 574-631-6579

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

I m not sure but I knew that nx was broken for a while with X

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


Re: git

2008-06-03 Thread Giorgos Keramidas
On Tue, 03 Jun 2008 14:31:24 -0400, Chuck Robey [EMAIL PROTECTED] wrote:
 Wonder if anyone could tell me why anything I do to run git-pull gives me a
 coredump?  The image that gets dumped is git-fetch, if that helps, and I was
 just trying to update the xorg source tree.

Hi Chuck,

Something is obviously broken in Git 1.5.5.  My installation from Ports
core dumps pretty fast too:

  [EMAIL PROTECTED]:/home/keramida/git/erc$ git fetch
  Segmentation fault: 11 (core dumped)
  [EMAIL PROTECTED]:/home/keramida/git/erc$

I have a kernel+userland compiled with debugging symbols, and this seems
to be a double-free bug in git-fetch(1):

: [EMAIL PROTECTED]:/home/keramida$ cd git/erc
: [EMAIL PROTECTED]:/home/keramida/git/erc$ git-fetch
: Segmentation fault: 11 (core dumped)
: [EMAIL PROTECTED]:/home/keramida/git/erc$ gdb /usr/local/bin/git-fetch 
git-fetch.core
: GNU gdb 6.1.1 [FreeBSD]
: Copyright 2004 Free Software Foundation, Inc.
: GDB is free software, covered by the GNU General Public License, and you are
: welcome to change it and/or distribute copies of it under certain conditions.
: Type show copying to see the conditions.
: There is absolutely no warranty for GDB.  Type show warranty for details.
: This GDB was configured as i386-marcel-freebsd...No symbol table is loaded. 
 Use the file command.
:
: Core was generated by `git-fetch'.
: Program terminated with signal 11, Segmentation fault.
: Reading symbols from /usr/local/lib/libcurl.so.4...done.
: Loaded symbols for /usr/local/lib/libcurl.so.4
: Reading symbols from /lib/libz.so.4...done.
: Loaded symbols for /lib/libz.so.4
: Reading symbols from /usr/local/lib/libiconv.so.3...done.
: Loaded symbols for /usr/local/lib/libiconv.so.3
: Reading symbols from /lib/libcrypto.so.5...done.
: Loaded symbols for /lib/libcrypto.so.5
: Reading symbols from /lib/libc.so.7...done.
: Loaded symbols for /lib/libc.so.7
: Reading symbols from /usr/lib/libssl.so.5...done.
: Loaded symbols for /usr/lib/libssl.so.5
: Reading symbols from /libexec/ld-elf.so.1...done.
: Loaded symbols for /libexec/ld-elf.so.1
: #0  idalloc (ptr=0x5a5a5a5a) at /home/build/src/lib/libc/stdlib/malloc.c:3386
: 3386  arena_dalloc(chunk-arena, chunk, ptr);
: (gdb) bt
: #0  idalloc (ptr=0x5a5a5a5a) at /home/build/src/lib/libc/stdlib/malloc.c:3386
: #1  0x28441357 in free (ptr=0x5a5a5a5a) at 
/home/build/src/lib/libc/stdlib/malloc.c:4714
: #2  0x080d7a54 in transport_unlock_pack ()
: #3  0x080667f7 in unlock_pack ()
: #4  0x28495af3 in __cxa_finalize (dso=0x0) at 
/home/build/src/lib/libc/stdlib/atexit.c:180
: #5  0x2844549a in exit (status=0) at /home/build/src/lib/libc/stdlib/exit.c:67
: #6  0x0804b15d in handle_internal_command ()
: #7  0x0804b88d in main ()
: (gdb) quit

Note the 0x5a5a5a5a pointer value in free().  That's a bug in git-fetch.
A double free() that our malloc uncovers.  This is a double-free()
because I'm running my laptop with:

  [EMAIL PROTECTED]:/home/keramida$ ls -l /etc/malloc*
  lrwxr-xr-x  1 root  wheel  - 2 Mar 28 19:31 /etc/malloc.conf - AJ
  [EMAIL PROTECTED]:/home/keramida$

and 'J' enables the following malloc()/free() behavior:

  Each byte of new memory allocated by malloc(), realloc() or
  reallocf() will be initialized to 0xa5.  All memory returned by
  free(), realloc() or reallocf() will be initialized to 0x5a.
  This is intended for debugging and will impact performance
  negatively.

Are you also running with option 'J' enabled in `malloc.conf'?

HTH,
Giorgos

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


Re: git

2008-06-03 Thread Giorgos Keramidas
On Wed, 04 Jun 2008 04:22:09 +0300, Giorgos Keramidas [EMAIL PROTECTED] wrote:
 On Tue, 03 Jun 2008 14:31:24 -0400, Chuck Robey [EMAIL PROTECTED] wrote:
 Wonder if anyone could tell me why anything I do to run git-pull gives me a
 coredump?  The image that gets dumped is git-fetch, if that helps, and I was
 just trying to update the xorg source tree.

 Hi Chuck,
 Something is obviously broken in Git 1.5.5.  My installation from Ports
 core dumps pretty fast too:

   [EMAIL PROTECTED]:/home/keramida/git/erc$ git fetch
   Segmentation fault: 11 (core dumped)
   [EMAIL PROTECTED]:/home/keramida/git/erc$
[...]
 Are you also running with option 'J' enabled in `malloc.conf'?

Verified.  Setting malloc.conf options to 'aj', lets git-fetch run
without crashing:

: [EMAIL PROTECTED]:/etc# ln -fs aj malloc.conf
: [EMAIL PROTECTED]:/etc#
:
: [EMAIL PROTECTED]:/home/keramida/git/erc$ git-fetch
: [EMAIL PROTECTED]:/home/keramida/git/erc$

: [EMAIL PROTECTED]:/etc# ln -fs AJ malloc.conf
: [EMAIL PROTECTED]:/etc#
:
: [EMAIL PROTECTED]:/home/keramida/git/erc$ git-fetch
: Segmentation fault: 11 (core dumped)
: [EMAIL PROTECTED]:/home/keramida/git/erc$

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


Re: Duplex printer advice

2008-06-03 Thread Robert Huff

Christopher Sean Hilton writes:

  ... but for some reason the printer manufacturers ship these
  machines with very low RAM.

Because the average consumer only looks at the shelf price.
Most can't even explain why more memory is important,
(I have a LaserJet 6MP - came with 3m, was uch perkier once I
added 16.)


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


Re: Cannot open /etc/termcap

2008-06-03 Thread Frank Shute
On Mon, Jun 02, 2008 at 05:17:28AM -0500, Sam Fourman Jr. wrote:

 
   csh: Cannot open /etc/termcap.
   csh: using dumb terminal settings.
 
  Are you sure /usr/share/misc/termcap isn't empty and accesible
  on the target machine?
  lrwxr-xr-x  1 root  wheel23B May 31  2007 /etc/termcap@ -
  /usr/share/misc/termcap
 
 
 I receive the following
 %cp /usr/share/misc/termcap /etc/termcap
 cp: /etc/termcap and /usr/share/misc/termcap are identical (not copied).
 
 
 is there a quick fix to this?

A quick fix would be to scp /usr/share/misc/termcap from your home
machine to ~/.termcap on the remote host.

Then ssh into remote host and:

$ echo TERMCAP=$HOME/.termcap  ~/.ssh/environment

Log out and ssh in again.

Might work.

Regards,

-- 

 Frank 


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

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


Re: Cannot open /etc/termcap

2008-06-03 Thread Pollywog
On Wednesday 04 June 2008 03:10:13 Frank Shute wrote:


 A quick fix would be to scp /usr/share/misc/termcap from your home
 machine to ~/.termcap on the remote host.

 Then ssh into remote host and:

 $ echo TERMCAP=$HOME/.termcap  ~/.ssh/environment

 Log out and ssh in again.

 Might work.

In other words, do it with a test account first, so you don't lock yourself 
out of your regular account.  I have locked myself out a few times while 
testing things.

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


Re: Cannot open /etc/termcap

2008-06-03 Thread Sam Fourman Jr.
I had a friend help me with this. the trouble is my TERM was set to wsvt25
somehow.
and all I had to do was set it to env TERM cons25 and vim would compile.

I am not even sure what I did to make wsvt25 happen, other than that is the
terminal setting I use on my OpenBSD
firewall (that I have to ssh into first before I ssh into my samba server
(the one that has the termcap problem)


Thank you for all your help

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


Re: Stumped:: web HTML. Caution, may be OT.

2008-06-03 Thread Modulok
 looks like what i need NOW is a debugger, :-)   i have virtually
 zero design skills  except keep it simple

To quote Albert Einstein, Everything should be made as simple as possible, but
not simpler.

Much of the problem with the web today is the reliance on 'designers,' who are
primarily concerned with making things look pretty, rather than ensuring the
delivering of the underlying content. The latter of which far supersedes the
former in its importance.

To that end, the less reliance your page has on the client's environment,
something that is entirely beyond your control as a developer, the higher the
probability of successfully delivering the content. (Which should be your main
objective: If the content cannot be delivered, what was the bloody point?)
JavaScript, CSS, browser plugins,... despite modern trends, should be avoid
where possible. If they must be used, ensure that they do not compromise the
delivery of the content, in the event those mechanisms are un-available to the
client. For example, hyperlinks implemented solely in JavaScript is a sad state
of modern affairs.

The web is constantly evolving and may trends come and go, I can recall the days
where JavaScript was the hot new thing and everyone used it to do utterly
pointless things, like having snowflakes follow the pointer. Eventually it was
realized that this was pointless, annoying, and hampered the delivery of the
underlying content. Its usage faded out. Following this, was the rise of
websites built around the then Macromedia Flash. Flash was the new web, going to
replace conventional markup. This too was largely a commercial failure, as the
delivery of the content was impaired. Eventually, the long-forgotten JavaScript
had a resurgence with a new name and a few new friends (AJAX). Unfortunately,
it comes with all of the same old problems. Though solutions to many of these
problems exist, rarely are they used consistently and correctly. Additionally,
one must question if the added functionality is worth the reduction in the
probability of successful delivery.

Telling people to upgrade their browser, or enable certain features is a cop-out
which harkens back to the days of make your browser this wide, followed by a
horizontal rule.

As far as editors and such, I personally write all of my code in a text editor,
regardless of the language. I have used hand-written code in a text editor to
implement websites for multi-million dollar companies. Ironically enough, I'm a
visual effects artist.

Anyway, I think I have likely gotten off topic myself and haven't contributed
much to solving your original problem. Enough rambling out of me for now. Best
of luck, Gary.

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


Samba in Windows XP Error

2008-06-03 Thread Ruel Luchavez
Hi ALL

I have installed the samba package 3.0.28 in my freebsd 7.0, the
installation all goes well my problem only is when i add the
samba in an existing workgroup i can access it in my windows xp client
however if it has its own workgroup i always have this
error in windows xp pro The network path was not found.. what would i
miss??

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


Re: Cannot open /etc/termcap

2008-06-03 Thread Frank Shute
On Tue, Jun 03, 2008 at 10:44:57PM -0500, Sam Fourman Jr. wrote:

 I had a friend help me with this. the trouble is my TERM was set to
 wsvt25 somehow.  and all I had to do was set it to env TERM cons25
 and vim would compile.

You would have expected to get an error message from csh along the
lines of $TERM not found in /etc/termcap not Cannot find
/etc/termcap wouldn't you?

 
 I am not even sure what I did to make wsvt25 happen, other than that
 is the terminal setting I use on my OpenBSD firewall (that I have to
 ssh into first before I ssh into my samba server (the one that has
 the termcap problem)

I don't know why it would take OpenBSD's $TERM. ssh should take $TERM
from the target machine (according to the openssh manpage) which is
cons25 by default. Is there a ~/.ssh/environment with $TERM set on
your Samba server?

You might want to set it there for future use to cons25.

 
 
 Thank you for all your help

Regards,

-- 

 Frank 


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

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