RE: The availability of socketbits.h?

2005-05-17 Thread Xu Qiang
Xu Qiang wrote:
 
 cc1: error: unrecognized command line option
 -lang-c89
 gmake[2]: *** [command.o] Error 1
 gmake[2]: Leaving directory
 `/usr/games/nngs_sourceforge/nngs-1.1.16/nrat' 
 

Just found out this: 

http://sourceforge.net/tracker/index.php?func=detailaid=1201565group_id=59572atid=491424:
 

-lang-c89 deprecated  
quote from man gcc (3.3.5-20050130)
Note: Previous versions of cpp accepted a -lang option
which selected both the language and the
standards conformance level. This option has been
removed, because it conflicts with the -l option.
just use -std=c89 (not sure but seem to works)

Then I did the modification in the file ./configure, and it can go on. 


But another error appears: 


In file included from comproc.c:44:
../missing.h:30: error: conflicting types for 'ftruncate'
/usr/include/stdio.h:367: error: previous declaration of 'ftruncate' was here
../missing.h:30: error: conflicting types for 'ftruncate' 


It is strange that while 1.1.16 version has this problem, 1.1.14 doesn't. 

Regards,
Xu Qiang


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


Re: tetex, latex, dvips

2005-05-17 Thread Sandy Rutherford
 On Mon, 16 May 2005 23:55:44 +0200, 
 Roland Smith [EMAIL PROTECTED] said:

  LaTeX3 (if it is ever finished) will be integrated into the different
  distributions. OTOH, even Leslie Lamport seems to think that LaTeX will
  fall into disuse in about five years. The consensus seems to be that ConTeXt
  is the most modern TeX macro package.

I find this hard to believe.  There is simply too much scientific
publishing infrastructure invested into LaTeX for the AMS, APS,
Springer-Verlag, and others to make the shift without a good reason.
There are literally 100's of LaTeX compatible packages for specialised
scientific typesetting (commutative diagrams, Feynman diagrams, etc)
that would need to be rewritten.

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


Re: The availability of socketbits.h?

2005-05-17 Thread Dan Nelson
In the last episode (May 17), Xu Qiang said:
 Great that another pal has compiled this stuff. :)

No, I'm just a good troubleshooter :)

In the last episode (May 17), Xu Qiang said:
 But another error appears: 
 
 
 In file included from comproc.c:44:
 ../missing.h:30: error: conflicting types for 'ftruncate'
 /usr/include/stdio.h:367: error: previous declaration of 'ftruncate' was here
 ../missing.h:30: error: conflicting types for 'ftruncate' 
 

 It is strange that while 1.1.16 version has this problem, 1.1.14 doesn't. 

It looks like missing.h was added in 1.1.15, but the author didn't run
all the necessary autoconf commands afterwards.  Try running
autoheader253 (you will see that a HAVE_FTRUNCATE placeholder gets
added to config.h.in), and rerun configure and make.

It looks like there have been some autoconf changes make in CVS after
1.1.16 was released.  You might want to check out the current source to
see if some of these issues have been fixed already.

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


Re: tetex, latex, dvips

2005-05-17 Thread N. Raghavendra
At 2005-05-16T23:11:22+02:00, Florian Hengstberger wrote:

 ===  Installing for dvips-5.76
 
 ===  dvips-5.76 conflicts with installed package(s): 
   teTeX-base-2.0.2_2
   teTeX-texmf-2.0.2


My ports tree, which is already a few weeks old, provides teTeX 3.0.
You may want to upgrade.

In any case, you could try installing the port `print/teTeX', which is
a meta port that contains all the necessary components of the teTeX
distribution.  In particular, it will install `print/dvipsk-tetex' and
`print/xdvik'.  You can also install a PostScript viewer such as
`print/gv', and a PDF viewer such as `print/acroread'.

Raghavendra.

-- 
N. Raghavendra [EMAIL PROTECTED] | See mail headers for contact
Harish-Chandra Research Institute   | and OpenPGP details.

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


highpoint rocketraid 454 - RAID 1

2005-05-17 Thread Eugene Hercun
OK, I'm seriously stuck. I have searched every resource exhaustively,
found bits and pieces, but not what I'm after. This is *honestly* my
last resort.
I have a HighPoint RocketRAID 454 with two Western Digital 200GB disks
(I was hoping to boot FBSD off of these). I've setup a RAID 1 array
under the bios utility program, and ran the FreeBSD 5.4 installer. I
remember seeing two different disks (ad4, ad6) when it came to
formatting/partitionning but I thought nothing of it. Until of course,
I wanted to see if there was a way, other than rebooting, to check the
RAID 1 status. I started reading through atacontrol(8) and found that
I could use 'atacontrol status ar0' which gave me:
atacontrol: ioctl(ATARAIDSTATUS): Device not configured

I do not see anything in my dmesg relating to ar0 being up and
running, and displaying the sub-disks which would explain why
atacontrol would be giving me that error message. However, I do see
that the RAID card, and the two disks, ad4, ad6, have been detected
properly.

I will attach my dmesg output below.
Thank you in advance.

Eugene




$ dmesg

Copyright (c) 1992-2005 The FreeBSD Project.

Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994

The Regents of the University of California. All rights reserved.

FreeBSD 5.4-RELEASE #0: Sun May  8 10:21:06 UTC 2005

[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC

ACPI APIC Table: ASUS   A7V8X-X 

Timecounter i8254 frequency 1193182 Hz quality 0

CPU: AMD Athlon(TM) XP 2200+ (1791.22-MHz 686-class CPU)

  Origin = AuthenticAMD  Id = 0x681  Stepping = 1

  
Features=0x383fbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE

  AMD Features=0xc040AMIE,DSP,3DNow!

real memory  = 536854528 (511 MB)

avail memory = 515678208 (491 MB)

ioapic0: Changing APIC ID to 2

ioapic0 Version 0.3 irqs 0-23 on motherboard

npx0: math processor on motherboard

npx0: INT 16 interface

acpi0: ASUS A7V8X-X on motherboard

acpi0: Power Button (fixed)

Timecounter ACPI-fast frequency 3579545 Hz quality 1000

acpi_timer0: 32-bit timer at 3.579545MHz port 0xe408-0xe40b on acpi0

cpu0: ACPI CPU on acpi0

acpi_button0: Power Button on acpi0

pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0

pci0: ACPI PCI bus on pcib0

agp0: VIA 8377 (Apollo KT400/KT400A/KT600) host to PCI bridge mem
0xf800-0xfbff at device 0.0 on pci0

pcib1: ACPI PCI-PCI bridge at device 1.0 on pci0

pci1: ACPI PCI bus on pcib1

pci1: display, VGA at device 0.0 (no driver attached)

pci1: display at device 0.1 (no driver attached)

atapci0: HighPoint HPT374 (channel 0+1) UDMA133 controller port
0xa400-0xa4ff,0xa800-0xa803,0xb000-0xb007,0xb400-0xb403,0xb800-0xb807
irq 17 at device 14.0 on pci0

ata2: channel #0 on atapci0

ata3: channel #1 on atapci0

atapci1: HighPoint HPT374 (channel 2+3) UDMA133 controller port
0x8800-0x88ff,0x9000-0x9003,0x9400-0x9407,0x9800-0x9803,0xa000-0xa007
irq 17 at device 14.1 on pci0

ata4: channel #0 on atapci1

ata5: channel #1 on atapci1

uhci0: VIA 83C572 USB controller port 0x8400-0x841f irq 21 at device
16.0 on pci0

usb0: VIA 83C572 USB controller on uhci0

usb0: USB revision 1.0

uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1

uhub0: 2 ports with 2 removable, self powered

uhci1: VIA 83C572 USB controller port 0x8000-0x801f irq 21 at device
16.1 on pci0

usb1: VIA 83C572 USB controller on uhci1

usb1: USB revision 1.0

uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1

uhub1: 2 ports with 2 removable, self powered

uhci2: VIA 83C572 USB controller port 0x7800-0x781f irq 21 at device
16.2 on pci0

usb2: VIA 83C572 USB controller on uhci2

usb2: USB revision 1.0

uhub2: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1

uhub2: 2 ports with 2 removable, self powered

pci0: serial bus, USB at device 16.3 (no driver attached)

isab0: PCI-ISA bridge at device 17.0 on pci0

isa0: ISA bus on isab0

atapci2: VIA 8235 UDMA133 controller port
0x7400-0x740f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 17.1 on
pci0

ata0: channel #0 on atapci2

ata1: channel #1 on atapci2

pci0: multimedia, audio at device 17.5 (no driver attached)

vr0: VIA VT6102 Rhine II 10/100BaseTX port 0x7000-0x70ff mem
0xdd80-0xdd8000ff irq 23 at device 18.0 on pci0

miibus0: MII bus on vr0

rlphy0: RTL8201L 10/100 media interface on miibus0

rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto

vr0: Ethernet address: 00:0c:6e:22:7b:e2

fdc0: floppy drive controller port 0x3f7,0x3f2-0x3f5 irq 6 drq 2 on acpi0

fd0: 1440-KB 3.5 drive on fdc0 drive 0

ppc0: ECP parallel printer port port 0x778-0x77b,0x378-0x37f irq 7
drq 3 on acpi0

ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode

ppc0: FIFO with 16/16/16 bytes threshold

ppbus0: Parallel port bus on ppc0

plip0: PLIP network interface on ppbus0

lpt0: Printer on ppbus0

lpt0: Interrupt-driven port

ppi0: Parallel I/O on ppbus0

sio0: 16550A-compatible COM port port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0


RE: The availability of socketbits.h?

2005-05-17 Thread Xu Qiang
Dan Nelson wrote:
 It looks like missing.h was added in 1.1.15, but the author didn't run
 all the necessary autoconf commands afterwards.  Try running
 autoheader253 (you will see that a HAVE_FTRUNCATE placeholder gets
 added to config.h.in), and rerun configure and make.
 
 It looks like there have been some autoconf changes make in CVS after
 1.1.16 was released.  You might want to check out the current source
 to see if some of these issues have been fixed already.

Thanks for your suggestions. Yes, this error is overcome after running 
autoheader. But now another error of the same type appears: 
-
mink.c:22: error: conflicting types for 'random'
/usr/include/stdlib.h:200: error: previous declaration of 'random' was here
mink.c:22: error: conflicting types for 'random'
-

This file is in nngs-1.1.16/src directory, and when I run autoheader in this 
directory: 
-
autoheader: `configure.ac' or `configure.in' is required
-

What shall I do now?

Thanks a lot, 

Regards,
Xu Qiang


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


RE: The availability of socketbits.h?

2005-05-17 Thread Xu Qiang
Xu Qiang wrote:
 Thanks for your suggestions. Yes, this error is overcome after
 running autoheader. But now another error of the same type appears:
 - 
 mink.c:22: error: conflicting types for 'random'
 /usr/include/stdlib.h:200: error: previous declaration of 'random'
 was here 
 mink.c:22: error: conflicting types for 'random'
 -
 
 This file is in nngs-1.1.16/src directory, and when I run
 autoheader in this directory:
 - 
 autoheader: `configure.ac' or `configure.in' is required
 -

Btw, I just found there is a line #undef HAVE_RANDOM in config.h.in, so is it 
due to the src file (mink.c) is not in the same directory as config.h.in? (It 
is one level below: config.h.in is in nngs-1.1.16, while mink.c is in 
nngs-1.1.16/src)

Strange, 

Looking forward to your help, 

Regards,
Xu Qiang


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


RE: highpoint rocketraid 454 - RAID 1

2005-05-17 Thread Ted Mittelstaedt

Hi Eugene,

  OK, let me explain supported just a bit, here. ;-)

  There's 2 kinds of driver support we are talking about.  The first
is driver support where the driver can talk directly to the hard drives
on the IDE controller.  That's what you got.

  The second is the support where the driver can talk to the smarts in
the RAID card that does the RAIDing, so that you can see your array as a
single logical unit - which is what you need.  After all an array ain't
much good if your formatting and partitioning each hard drive in the
array
individually.

  Now, according to the man page for the ata driver in FreeBSD 5.4
RELEASE,
the supported Highpoint raid card models are:

 HighPoint:  HPT302, HPT366, HPT366, HPT368, HPT370, HPT371, HPT372,
 HPT374.

  Your card is detected as:

atapci0: HighPoint HPT374 (channel 0+1) UDMA133 controller

  So, what we have here is a bug.  That is, the ata driver is supposed
to know all about the RAID array on your card - but it don't - so
something is wacked.

  If your card WAS completely supported you WOULD see an ar device in
the dmesg output.  Here's a sample from my system which has a Highpoint
Rocket RAID 100 (actually, an OEMed card to Adaptec, listed under the
Adaptec 1200A model):

atapci0: HighPoint HPT370 UDMA100 controller
ad4: 152627MB ST3160023A/8.01 [310101/16/63] at ata2-master UDMA100
ad6: 152627MB ST3160023A/3.01 [310101/16/63] at ata3-master UDMA100
ar0: 152627MB ATA RAID1 array [19457/255/63] status: READY subdisks:
 disk0 READY on ad4 at ata2-master
 disk1 READY on ad6 at ata3-master

  You don't got this so that is why FreeBSD can only see each disk, and
not the array you created in the BIOS.

  Naturally, if you did have an ar device, you would ignore the ad
devices and do all your formatting/partitioning/installing on the ar
device.

  At this point, your next step needs to be to go to
ftp://current.freebsd.org/pub/FreeBSD/snapshots/ and download the
boot floppies for the most current snapshot of the FreeBSD 5.x release
train, try to boot that and see if it recognizes your card's RAID - it
might very well do this since there's been gobs of changes in the ATA
raid code since the 5.4 release - development on this driver is extremely
active right now, espically in the area of ata RAID.  If it DOES support
the array you got it made - either download the entire SNAP and run that,
or use the current driver to try to find the bug in the 5.4 driver
(most definitely NOT recommended)

  If it DOESEN'T support your card then e-mail Søren Schmidt
[EMAIL PROTECTED]
as he is working on this driver daily.  You can either arrainge to loan
him your card for a week or so, and hope that he gets the bug quashed
quickly,
or (and this is what I would do) just give him your card
and ask him to fix it when he feels like it, then buy one that does not
have
the bug.  Since your disks are only UDMA100 and you only have 2 of them,
the Highpoint RocketRaid 100 card will give you the exact same speed and
functionality.  And, you can get them dirt cheap since people don't know
that the Adaptec 1200A is just a relabeled RocketRaid 100.  In fact I
just picked up one of those cards off Ebay last week for under $20 -
auction
5193591385 it was.

  And of course, one last thing you can do - try creating a mirror in the
raid card BIOS instead of a stripe set, and see if that comes up as an ar
device.  Not that you will want to do this permanently, but it might help
Soren find the bug more quickly if you find that mirroring works and
striping doesen't.

Ted

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Eugene Hercun
 Sent: Tuesday, May 17, 2005 12:11 AM
 To: freebsd-questions@freebsd.org
 Subject: highpoint rocketraid 454 - RAID 1


 OK, I'm seriously stuck. I have searched every resource exhaustively,
 found bits and pieces, but not what I'm after. This is *honestly* my
 last resort.
 I have a HighPoint RocketRAID 454 with two Western Digital 200GB disks
 (I was hoping to boot FBSD off of these). I've setup a RAID 1 array
 under the bios utility program, and ran the FreeBSD 5.4 installer. I
 remember seeing two different disks (ad4, ad6) when it came to
 formatting/partitionning but I thought nothing of it. Until of course,
 I wanted to see if there was a way, other than rebooting, to check the
 RAID 1 status. I started reading through atacontrol(8) and found that
 I could use 'atacontrol status ar0' which gave me:
 atacontrol: ioctl(ATARAIDSTATUS): Device not configured

 I do not see anything in my dmesg relating to ar0 being up and
 running, and displaying the sub-disks which would explain why
 atacontrol would be giving me that error message. However, I do see
 that the RAID card, and the two disks, ad4, ad6, have been detected
 properly.

 I will attach my dmesg output below.
 Thank you in advance.

 Eugene




 $ dmesg

 Copyright (c) 1992-2005 The FreeBSD Project.

 Copyright (c) 1979, 1980, 1983, 1986, 1988, 

Creating a specific/own installation set

2005-05-17 Thread O. Hartmann
Hello out here.
My intention is as follows. I would like to create an installation DVD 
for FreeBSD/AMD64 with a specific set of packages. I would like to do so 
 because I have a set of AMD64 machines which are not connected to a 
fast  internet wire (some due to security reasons, others in private use 
and others in labs without a network facility).
The idea is to have recent FreeBSD 5.4-STABLE/AMD64 DVD with some 
specific amd64 built packages which are common for a set of machine on 
one DVD.

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


Re: Daemon Process

2005-05-17 Thread Gowtham
Hi All,
Thank you very much for the feedback. Now, suppose I want to write a daemon 
for Unix in C whose job is to monitor other daemons and restart dead 
daemons. The daemon may take the list of such daemons to monitor from a 
file. I want to know how can this be programmatically achieved.

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


Re: IPSec and Racoon between 5.4 and 4.11

2005-05-17 Thread Daren Russell
Mike Tancsa wrote:
 On Mon, 16 May 2005 12:51:50 +0100, in sentex.lists.freebsd.questions
 you wrote:
 
 
Hi,

Has anybody got 5.4 - 4.11 talking in this config, or does anybody
know of any pitfalls because of kernel changes?
 
 
 There should not be any issues as I have 90+ RELENG4 boxes deployed
 talking to a 5.4 server and a dozen RELENG_5 boxes talking to 2
 RELENG_4 servers generally with out issue. The one thing we run into
 from time to time is the issue of net.key.prefered_oldsa=1 on
 FAST_IPSEC on RELENG_4.  But other than that, it works.  What issues
 are you running into ?  Did you enable debug logging in racoon ? What
 state do the tunnels get to ? i.e what does setkey -D show ?
 
I didn't think there should be.

A basic tunnel (without any encryption) works fine.  As soon as
ipsec_enable is set in rc.conf, it fails.

setkey -D shows No SAD entries.

When racoon is restarted, the debug log shows (I believe, I honestly
don't understand half of what it logs!) that the /etc/ipsec.conf entries
are read:

(I'm on a different PC, so this is copied from the screen)
racoon: DEBUG: policy.c:184:cmpspidxstrict(): sub:0x7fffe940:
192.168.0.0/24[0] 192.168.1.0/24[0] proto=any dir=out
racoon: DEBUG: policy.c:184:cmpspidxstrict(): db :0x568810:
192.168.1.0/24[0] 192.168.0.0/24[0] proto=any dir=in

with similiar on the second server (althought the IP's are the opposite
way round)

If I start a ping from 192.168.1.254 - 192.168.0.254, the receiving
machine get's an 'Invalid length of payload' error, whilst the sending
machine is getting an 'phase 2 negotiation failed due to time up waiting
for phase1.  ESP 62.x.x.125-82.x.x.141'  (The ip's shown are what they
should be.)  I can probably transfer entire parts of the log files if
required, but at the moment, both machines are isolated.

A further point I've discovered having left them running for a while, is
the racoon on the AMD64 keeps crashing and dumping core (although I
don't know what to do with that!).  Maybe there is an issue with racoon
on 64bit?  Maybe I should try re-installing with a standard i386 arch.
(Last ditch!)

Both racoon's are 'racoon-2005-0510a' BTW.

Thanks
Daren


   ---Mike
 
 Mike Tancsa, Sentex communications http://www.sentex.net
 Providing Internet Access since 1994
 [EMAIL PROTECTED], (http://www.tancsa.com)
 ___
 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]


power off button

2005-05-17 Thread Christopher Cox
Is there any way to control what command is executed when I push the power 
off button on my laptop?

Currently it seems as if it executes a halt or shutdown -h when I push the 
button. In 5.4-RELEASE this does not power my system off ... but halt -p 
does.

Should be some sort of ACPI configuration I think. But where?

-- 
Christopher Cox
[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: Daemon Process

2005-05-17 Thread Tim Stephens
On Tue, May 17, 2005 at 01:57:28PM +0530, Gowtham wrote:
 Hi All,
 Thank you very much for the feedback. Now, suppose I want to write a daemon 
 for Unix in C whose job is to monitor other daemons and restart dead 
 daemons. The daemon may take the list of such daemons to monitor from a 
 file. I want to know how can this be programmatically achieved.

Might this be the thing that you're looking for? 

http://developer.apple.com/documentation/Darwin/Reference/ManPages/man8/launchd.8.html

Slashdot discussion here:
http://apple.slashdot.org/article.pl?sid=05/05/01/1858238from=rss

My understanding is that it will allow starting and watching of other daemons 
and processes, in addition to a few other things.  I expect that it won't be 
too hard to port (assuming that no-one else has already), and Apple have 
released the source.
Tim

___
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 use snapshots

2005-05-17 Thread fbsd_user

(B
(B-Original Message-
(BFrom: [EMAIL PROTECTED]
(B[mailto:[EMAIL PROTECTED] Behalf Of Joel
(BSent: Monday, May 16, 2005 11:47 PM
(BTo: freebsd-questions@FreeBSD.ORG
(BSubject: Re: How to use snapshots
(B
(B
(B(reformatted, to maintain the thread)
(B
(B   ftp://current.freebsd.org/pub/FreeBSD/snapshots/   looks like
(B  install disc1
(B   content.
(B  
(B   How or what do I need to run to use this to update my system?
(B  
(B   Been to the official handbook with no luck.
(B 
(B  It's exactly like any other install image.
(B  Boot the floppies and do a binary upgrade.
(B
(B I have no idea what you mean by those statements.
(B What floppies are you talking about?
(B What does what you say have to do with system snapshots.
(B
(B How do I download the snapshot version with all the files and
(B sub-directors?
(B
(B This snapshot URL must be a normal thing available to the general
(B FreeBSD user.
(B So there must be some pre-canned way to download and use it.
(B How do I find this out?
(B
(BRead this whole section:
(B
(Bhttp://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cutting-ed
(Bge.html
(B
(BNote, in particular, under the heading
(B
(B19.2.2.3 Using FreeBSD-STABLE
(B
(B--
(BJoel Rees   [EMAIL PROTECTED]
(Bdigitcom, inc.   $B3t<02q

nfs send error 32

2005-05-17 Thread Konrad Heuer

Hi all,

I've an NFS-mounted filesystem (server runs deadrat linux) on a lot of my
FreeBSD systems (4.11R), mount options are
bg,rw,intr,-T,-r32768,-w32768. Using TCP and 32k buffers does enhance
performance notably.

But I've a couple of error messages in /var/log/messages of my clients
each day like:

date client /kernel: nfs send error 32 for server deadrat:/fs

When looking into /usr/src/sys/nfs/nfsproto.h, I don't find anything about
error code 32.

Any idea or explanation would be very very welcome!

BTW: NFS server has to run deadrat linux, and more nfs file systems have
to be mounted in future from the same or similar machines.

Thanks

Konrad Heuer
GWDG, Am Fassberg, 37077 Goettingen, Germany, [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 send error 32

2005-05-17 Thread Eric Anderson
Konrad Heuer wrote:
Hi all,
I've an NFS-mounted filesystem (server runs deadrat linux) on a lot of my
FreeBSD systems (4.11R), mount options are
bg,rw,intr,-T,-r32768,-w32768. Using TCP and 32k buffers does enhance
performance notably.
But I've a couple of error messages in /var/log/messages of my clients
each day like:
date client /kernel: nfs send error 32 for server deadrat:/fs
When looking into /usr/src/sys/nfs/nfsproto.h, I don't find anything about
error code 32.
Any idea or explanation would be very very welcome!
BTW: NFS server has to run deadrat linux, and more nfs file systems have
to be mounted in future from the same or similar machines.
I think it's a lost TCP connection. From man errno:
 32 EPIPE Broken pipe.  A write on a pipe, socket or FIFO for which 
there is no process to read the data.

Not sure why the connection is dropping, but there could be a whole slew 
of reasons for that.

Eric

--

Eric AndersonSr. Systems AdministratorCentaur Technology
A lost ounce of gold may be found, a lost moment of time never.

___
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 use snapshots

2005-05-17 Thread Joel
(reformatted, to maintain the thread)
(B ftp://current.freebsd.org/pub/FreeBSD/snapshots/   looks like
(Binstall disc1
(B content.
(B
(B How or what do I need to run to use this to update my system?
(B
(B Been to the official handbook with no luck.
(B   
(BIt's exactly like any other install image.
(BBoot the floppies and do a binary upgrade.
(B  
(B   I have no idea what you mean by those statements.
(B   What floppies are you talking about?
(B   What does what you say have to do with system snapshots.
(B  
(B   How do I download the snapshot version with all the files and
(B   sub-directors?
(B  
(B   This snapshot URL must be a normal thing available to the general
(B   FreeBSD user.
(B   So there must be some pre-canned way to download and use it.
(B   How do I find this out?
(B  
(B  Read this whole section:
(B  
(B  http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cutting-edge.html
(B  
(B  Note, in particular, under the heading
(B  
(B  19.2.2.3 Using FreeBSD-STABLE
(B 
(B That section says  "If you are installing a new system and want it
(B to be as stable as possible, you can simply grab the latest dated
(B branch snapshot from
(B ftp://snapshots.jp.FreeBSD.org/pub/FreeBSD/snapshots/ and install it
(B like any other release. Or you can install the most recent
(B FreeBSD-STABLE release from the mirror sites and follow the
(B instructions below to upgrade your system to the most up to date
(B FreeBSD-STABLE source code."
(B 
(B OK now how does this answer my question of  HOW do I grab the
(B snapshot I want
(B 
(B I know how to use the normal FTP mirror site to fetch the .iso file
(B and burn a bootable cdrom  or use cvs to build the sources to
(B recompile the complete system.
(B
(BThen you should, as nearly as I understand it, know how to install or
(Bupgrade to a snapshot. Try re-reading 
(B
(B19.2.2 Staying Stable with FreeBSD
(B
(BOr were you wondering which tag to pick up. Take a look at sections A.5
(Band A.6.
(B
(Bhttp://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html
(Bhttp://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvs-tags.html
(B
(BI used cvsup, and I think I used the tag RELENG_5 to get the most recent
(Bstable at that point. The steps for buildworld were straightforward,
(Bthough I had plenty of time to do other things while waiting. I used
(Bportupgrade, which is linked somewhere in those pages, to bring the
(Bports up to the current kernel and userland after that also took a fair
(Bamount of time. (Days, in fact.)
(B
(BAnd I did have to read those pages and several others they reference
(Bseveral times while I was following the instructions to get a good idea
(Bof what was happening.
(B
(BBeyond that, I don't know what to tell you. 
(B
(B--
(BJoel Rees   [EMAIL PROTECTED]
(Bdigitcom, inc.   $B3t<02q

Re: IPSec and Racoon between 5.4 and 4.11

2005-05-17 Thread Mike Tancsa
On Tue, 17 May 2005 09:33:40 +0100, in sentex.lists.freebsd.questions
you wrote:
A basic tunnel (without any encryption) works fine.  As soon as
ipsec_enable is set in rc.conf, it fails.

setkey -D shows No SAD entries.


If I start a ping from 192.168.1.254 - 192.168.0.254, the receiving
machine get's an 'Invalid length of payload' error, whilst the sending
machine is getting an 'phase 2 negotiation failed due to time up waiting
for phase1.  ESP 62.x.x.125-82.x.x.141'  (The ip's shown are what they
should be.)  I can probably transfer entire parts of the log files if
required, but at the moment, both machines are isolated.

A further point I've discovered having left them running for a while, is
the racoon on the AMD64 keeps crashing and dumping core (although I
don't know what to do with that!).  Maybe there is an issue with racoon
on 64bit?  Maybe I should try re-installing with a standard i386 arch.
(Last ditch!)

Yes, I would try and see if moving to i386 fixes the problem.
Assuming you do have all the configs correct, there is no reason why
it should not work.

Both racoon's are 'racoon-2005-0510a' BTW.

I have only just started using this version last weekend so I am not
sure how good it is, but I suspect its the AMD64 thats at issue if all
your configs are indeed correct.

---Mike

Mike Tancsa, Sentex communications http://www.sentex.net
Providing Internet Access since 1994
[EMAIL PROTECTED], (http://www.tancsa.com)
___
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 use snapshots

2005-05-17 Thread fbsd_user
  ftp://current.freebsd.org/pub/FreeBSD/snapshots/
(B
(B I know how to use the normal FTP mirror site to fetch the .iso
(Bfile
(B and burn a bootable cdrom  or use cvs to build the sources to
(B recompile the complete system.
(B
(BThen you should, as nearly as I understand it, know how to install
(Bor
(Bupgrade to a snapshot. Try re-reading
(B
(B19.2.2 Staying Stable with FreeBSD
(B
(BOr were you wondering which tag to pick up. Take a look at sections
(BA.5
(Band A.6.
(B
(Bhttp://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.htm
(Bl
(Bhttp://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvs-tags.
(Bhtml
(B
(BI used cvsup, and I think I used the tag RELENG_5 to get the most
(Brecent
(Bstable at that point. The steps for buildworld were straightforward,
(Bthough I had plenty of time to do other things while waiting. I used
(Bportupgrade, which is linked somewhere in those pages, to bring the
(Bports up to the current kernel and userland after that also took a
(Bfair
(Bamount of time. (Days, in fact.)
(B
(BAnd I did have to read those pages and several others they reference
(Bseveral times while I was following the instructions to get a good
(Bidea
(Bof what was happening.
(B
(BBeyond that, I don't know what to tell you.
(B
(B___
(B
(BYou really confused me now.
(BAre you saying ftp://current.freebsd.org/pub/FreeBSD/snapshots/  is
(Ba CVS server
(B
(BI think you are still talking about the normal cvsup source update
(Bmethod which targets a bunch of different cvsup servers.
(B
(B
(Bftp://current.freebsd.org/pub/FreeBSD/snapshots/pub/FreeBSD/i386/
(Bdoes not look like an cvs server.
(B
(BHave you ever used this snapshots ftp site before
(B
(B
(B
(B
(B
(B
(B
(B
(B
(B
(B___
(Bfreebsd-questions@freebsd.org mailing list
(Bhttp://lists.freebsd.org/mailman/listinfo/freebsd-questions
(BTo unsubscribe, send any mail to "[EMAIL PROTECTED]"

ftp server

2005-05-17 Thread Jason King
I am unable to get access to the ftp.freebsd.org server. Is it down?

Jason King

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


Re: highpoint rocketraid 454 - RAID 1

2005-05-17 Thread Bjrn Knig
Hello,
Use the binary driver from HighPoint
http://www.highpoint-tech.com/BIOS%20%2B%20Driver/rr454/FreeBSD/374-r5-bsd-v122.tgz
Though the latest kernel module is intended for 5.3-RELEASE it should 
work with 5.4-RELEASE. I have the SATA counterpart of this controller 
and it does. It might be necessary to install the controller BIOS which 
comes with the tarball or you'll get a blank screen while booting FreeBSD.

If you follow the instruction of the PDF file in this package then the 
RAID array should finally be recognized as da0 device.

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


Re: Transferring dump file to tape?

2005-05-17 Thread Viren Patel

  On Mon, May 16, 2005 at 11:36:18AM -0500, Viren Patel
  wrote:
  Hello. I am using 'dump' to backup client filesystems
 to
  a
  disk file on an NFS mounted partition, e.g.
 
 dump -0aLu -f /bk/var-20050516 /var
 
  Now I'd like to take the backup file (var-200500516)
 and
  move it to tape (on the NFS server). However I'd like
  the
  tape to have the data just as if it had been created
  directly by 'dump', e.g.
 
 dump -0aLu -f /dev/nsa0 /var
 
  Any way to do this?
 
  You can use dd to write a file to a device (e.g.
 tape).
 
  Kris
 

 I thought so too, but it doesn't work. When I issue

dd if=var-20050516 of=/dev/nsa0

 I get the following error:

 dd: /dev/nsa0: Invalid argument
 1+0 records in
 0+0 records out
 0 bytes transferred in 0.000786 secs (0 bytes/sec)

 Since 'dump' works with /dev/nsa0 I am not sure what the
 problem is.

 I would expect the dd to work also.   You may need to do
 something
 with blocksize.

 But, we see that error a lot on different machines while
 attempting
 to write a file to a tape.   We have code that opens the
 drive and
 writes directly to it, other places that attempt to use dd
 and also
 some places that try to cat to the drive.   All of them
 work most of
 the time, but fail consistently on some machines that
 appear to be
 otherwise identical.   We have resorted to numerous tricks
 to write
 to a tape on a system that is failing, usually to no
 avail.   The error
 you report is the one we see with dd.   I generally don't
 see any
 other console message or anything that shows in a dmesg.

 I would very much like to see someone who really knows
 about writing
 tapes respond to this.   I have begun to be suspicious
 that there is
 something weird about the the sa driver or something along
 the line,
 but don't know enough to really dig it out.   I posted
 some questions
 around 3 years ago, but got no response.

 By the way, this has occurred in various versions of
 FreeBSD from
 around 3.2 through 4.9.   I haven't experimented with it
 on 5.xx yet.

 jerry


 Viren


Thanks for your input. As per Kris' suggestion adding the
blocksize worked for me. 'mt' reports my tapedrive having
a blocksize of 1024 bytes (1k), so my command was

  dd if=var-200501516 of=/dev/nsa0 bs=1k

I transfered the dump file to tape and then was able to
restore directly from tape. My test dump file was small
(140K) but today I plan to test with a full-size
multi-gigabyte dump file. I haven't played long with dd to
judge its reliability. While I was looking around, I also
came across sdd (/usr/ports/sysutils/sdd), which claims to
be a better dd replacement.

Viren

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


FTP

2005-05-17 Thread Jason King
Actually, I can get onto the ftp.freebsd.org sitemy pkg_add command 
says this:

Error: FTP Unable to get 
ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5.3-release/Latest/apache13.tbz: 
File unavailable (e.g., file not found, no access)
pkg_add: unable to fetch 
'ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5.3-release/Latest/apache13.tbz' 
by URL

Do you know what that means?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Vsftpd not chown'ing uploads

2005-05-17 Thread Troy Wolf
Did you get an answer to this question? I want to know how to set privs
to allow dir list, upload, but not delete.

 


Vsftpd not chown'ing uploads


http://lists.freebsd.org/pipermail/freebsd-questions/2003-October/021270
.html

 

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


Re: IPSec and Racoon between 5.4 and 4.11

2005-05-17 Thread Daren Russell
Mike Tancsa wrote:
 On Tue, 17 May 2005 09:33:40 +0100, in sentex.lists.freebsd.questions
 you wrote:
 
A basic tunnel (without any encryption) works fine.  As soon as
ipsec_enable is set in rc.conf, it fails.

setkey -D shows No SAD entries.
 
 
If I start a ping from 192.168.1.254 - 192.168.0.254, the receiving
machine get's an 'Invalid length of payload' error, whilst the sending
machine is getting an 'phase 2 negotiation failed due to time up waiting
for phase1.  ESP 62.x.x.125-82.x.x.141'  (The ip's shown are what they
should be.)  I can probably transfer entire parts of the log files if
required, but at the moment, both machines are isolated.

A further point I've discovered having left them running for a while, is
the racoon on the AMD64 keeps crashing and dumping core (although I
don't know what to do with that!).  Maybe there is an issue with racoon
on 64bit?  Maybe I should try re-installing with a standard i386 arch.
(Last ditch!)
 
 
 Yes, I would try and see if moving to i386 fixes the problem.
 Assuming you do have all the configs correct, there is no reason why
 it should not work.
 
Both racoon's are 'racoon-2005-0510a' BTW.
 
 
 I have only just started using this version last weekend so I am not
 sure how good it is, but I suspect its the AMD64 thats at issue if all
 your configs are indeed correct.

With heavy heart...

I triple, quadruple checked and then to be even more sure, I copied all
the files from the live servers into the test servers again, with the
same effect.

Time to start from scratch I guess.

Thanks again
Daren

 
   ---Mike
 
 Mike Tancsa, Sentex communications http://www.sentex.net
 Providing Internet Access since 1994
 [EMAIL PROTECTED], (http://www.tancsa.com)
 ___
 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: Transferring dump file to tape?

2005-05-17 Thread Jerry McAllister
  
   Any way to do this?
  
   You can use dd to write a file to a device (e.g.
  tape).
  
   Kris
  
 
  I thought so too, but it doesn't work. When I issue
 
 dd if=var-20050516 of=/dev/nsa0
 
  I get the following error:
 
  dd: /dev/nsa0: Invalid argument
  1+0 records in
  0+0 records out
  0 bytes transferred in 0.000786 secs (0 bytes/sec)
 
  Since 'dump' works with /dev/nsa0 I am not sure what the
  problem is.
 
  I would expect the dd to work also.   You may need to do
  something
  with blocksize.
 
  But, we see that error a lot on different machines while
  attempting
  to write a file to a tape.   We have code that opens the
  drive and
 ...
  avail.   The error
  you report is the one we see with dd.   I generally don't
  see any
  other console message or anything that shows in a dmesg.
 
  I would very much like to see someone who really knows
  about writing
  tapes respond to this.   I have begun to be suspicious
  that there is
  something weird about the the sa driver or something along
  the line,
  but don't know enough to really dig it out.   I posted
  some questions
  around 3 years ago, but got no response.
 
  By the way, this has occurred in various versions of
  FreeBSD from
  around 3.2 through 4.9.   I haven't experimented with it
  on 5.xx yet.
 
  jerry
 
  Viren
 
 Thanks for your input. As per Kris' suggestion adding the
 blocksize worked for me. 'mt' reports my tapedrive having
 a blocksize of 1024 bytes (1k), so my command was
 
   dd if=var-200501516 of=/dev/nsa0 bs=1k
 
 I transfered the dump file to tape and then was able to
 restore directly from tape. My test dump file was small
 (140K) but today I plan to test with a full-size
 multi-gigabyte dump file. I haven't played long with dd to
 judge its reliability. While I was looking around, I also
 came across sdd (/usr/ports/sysutils/sdd), which claims to
 be a better dd replacement.

Adjusting the blocksize was my suggestion.
But, even doing that doesn't fix the problem we often see with
writes to tape failing in that manner. 

dd itself is reliable.   It is tried and true.   I think our
failures come from something in the sa driver because a drive
that fails usually fails for everything except maybe tar and dump.

I wonder what is better about sdd.  Guess I should look at it.

jerry

 
 Viren
 
___
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 use snapshots

2005-05-17 Thread Lowell Gilbert
Top-post, don't please.

fbsd_user [EMAIL PROTECTED] writes:

 I have no idea what you mean by those statements.
 What floppies are you talking about?

The ones in the floppies directory.

 How do I download the snapshot version with all the files and
 sub-directors?

There are many ways you could do that, but there's no reason to.  Just
do a network-based install, booting from floppies.

 This snapshot URL must be a normal thing available to the general
 FreeBSD user.

must be?  If you want an ISO, stick with releases.  

 So there must be some pre-canned way to download and use it.
 How do I find this out?

Prepare the Boot Media.
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-pre.html

-- 
A man said to the Universe: Sir, I exist!

However, replied the Universe, the fact has not created in me a
sense of obligation.
-- Stephen Crane
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


KDE INSALL

2005-05-17 Thread jean-paul natola
Hi everyone, I'm new to freebsd and you have seen my previous post I do 
apologize, but appraretnly I am unable post from my work email-hence the 
hotmail address now.

I ran  make install clean for  kde  and after 4 days i *think* I'm almost 
done,,

I am now at a promt for GNU ghostscript drivers and have NO CLUE as to what 
to select , my purpose for the FREEBSD install is to run mailscanner  ,  
what should I select , if any, for the GNU ghostscritp driver selection.

Please excuse my ignorance as this the first time I am installing Freebsd
Thanks
PS ;  any reason I would be unable to post from legitimate work email?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FTP

2005-05-17 Thread Lowell Gilbert
Jason King [EMAIL PROTECTED] writes:

 Actually, I can get onto the ftp.freebsd.org sitemy pkg_add
 command says this:
 
 Error: FTP Unable to get
 ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5.3-release/Latest/apache13.tbz:
 File unavailable (e.g., file not found, no access)
 pkg_add: unable to fetch
 'ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5.3-release/Latest/apache13.tbz'
 by URL
 
 
 Do you know what that means?

It means that there is no apache13.tbz file in the
/pub/FreeBSD/ports/i386/packages-5.3-release/Latest/ 
directory on ftp.freebsd.org.

Try apache.tbz instead, I guess.

Or install from the port (preferably updating your
ports first).
___
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 use snapshots

2005-05-17 Thread fbsd_user

fbsd_user [EMAIL PROTECTED] writes:

 I have no idea what you mean by those statements.
 What floppies are you talking about?

The ones in the floppies directory.

 How do I download the snapshot version with all the files and
 sub-directors?

There are many ways you could do that, but there's no reason to.
Just
do a network-based install, booting from floppies.

 This snapshot URL must be a normal thing available to the general
 FreeBSD user.

must be?  If you want an ISO, stick with releases.

 So there must be some pre-canned way to download and use it.
 How do I find this out?

Prepare the Boot Media.
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-pr
e.html



***

You are off the subject.
My question has nothing to do with how to install from floppies, or
using cvsup to load the source to my PC for recompile of the system.
Drop that line of thought.

Question has always been how do people use
ftp://current.freebsd.org/pub/FreeBSD/snapshots/pub/FreeBSD/i386/

to build bootable cdrom to install from?

I have been all through the handbook and it does not cover this
subject.

Can someone who has used
 ftp://current.freebsd.org/pub/FreeBSD/snapshots/pub/FreeBSD/i386/
in the past please respond with how this is done.






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


RE: ftp server

2005-05-17 Thread fbsd_user

there are many ftp servers.
use ftpX.freebsd.org where X= number 1 through 13
See handbook for listed locations of all ftp mirror sites

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Jason King
Sent: Monday, May 16, 2005 4:28 PM
To: [EMAIL PROTECTED]
Subject: ftp server


I am unable to get access to the ftp.freebsd.org server. Is it down?

Jason King

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


Spam/AV filtering

2005-05-17 Thread Charles Lamb
Good morning,
I am using sendmail/qpopper and need a way to do spam and virus
filtering.  There seems to be a number of ports I can use in the ports
collection.  I was hoping to get some advice on which one you prefer.  I
am a bit of a novice so something easy to install would be preferable
and I am also on a budget so cheap/free is preferable as well.  Thanks.
--Chuck 
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: FTP

2005-05-17 Thread fbsd_user

to use pkg_add -r  command you have to specify the port name (IE:
apache13), not it's file download name.
see the install guide section on ports for detailed description
http://www.unixguide.net/freebsd/fbsd_installguide/index.php




-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Jason King
Sent: Monday, May 16, 2005 4:45 PM
To: [EMAIL PROTECTED]
Subject: FTP


Actually, I can get onto the ftp.freebsd.org sitemy pkg_add
command
says this:

Error: FTP Unable to get
ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5.3-release/La
test/apache13.tbz:
File unavailable (e.g., file not found, no access)
pkg_add: unable to fetch
'ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5.3-release/L
atest/apache13.tbz'
by URL


Do you know what that means?
___
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]


Exec format error

2005-05-17 Thread Frank Bonnet
Hello
I recently installed the squidtimes package from ports at 5.4-R
then I have such erreor message when launching it ...
squidtimes: Exec format error. Binary file not executable.
A bit strange as make and make install ran smoothly ...
--
Cordialement/Regards
Frank Bonnet
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Spam/AV filtering

2005-05-17 Thread Chuck Swiger
Charles Lamb wrote:
I am using sendmail/qpopper and need a way to do spam and virus
filtering.  There seems to be a number of ports I can use in the ports
collection.  I was hoping to get some advice on which one you prefer.
Start with amavisd-new + spamassassin + clamav.
--
-Chuck
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Spam/AV filtering

2005-05-17 Thread Charles Lamb
Would I want to enable milter with clamav?  Also does amavisd-new
actually do the handling?  I had clamav installed and it scanned like a
champ but that's all it did.  It showed me a bunch of viruses/malware
but did nothing about it.  Thanks.
 
 

-Original Message-
From: Chuck Swiger [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, May 17, 2005 10:02 AM
To: Charles Lamb
Cc: freebsd-questions@freebsd.org
Subject: Re: Spam/AV filtering

Charles Lamb wrote:
 I am using sendmail/qpopper and need a way to do spam and virus
 filtering.  There seems to be a number of ports I can use in the ports
 collection.  I was hoping to get some advice on which one you prefer.

Start with amavisd-new + spamassassin + clamav.

-- 
-Chuck


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


Re: Creative Sound Blaster Audigy LS

2005-05-17 Thread Fafa Hafiz Krantz

- Original Message -
From: Luca Micali [EMAIL PROTECTED]
To: Fafa Hafiz Krantz [EMAIL PROTECTED]
Subject: Re: Creative Sound Blaster Audigy LS
Date: Mon, 16 May 2005 11:04:16 +

 
 On 5/16/05, Fafa Hafiz Krantz [EMAIL PROTECTED] wrote:
 
  Hello.
 
  I've compiled device sound into my kernel, yet my Creative
  Sound Blaster Audigy LS isn't detected at boot-up.
 
  I take it that I do not need loader.conf settings if I already
  have sound compiled into my kernel?
 
 in 5.4...
 
 SYNOPSIS
   device sound
   device snd_emu10k1
 
 eventually, in loader.conf add the line:
 
 snd_emu10k1_load=YES
 
 hope it's helpful,
 Luca Micali

That didn't really work :(
Any other suggestions?

Thanks.

--

Fafa Hafiz Krantz
  Research Designer @ http://www.home.no/barbershop
  Enlightened @ http://www.home.no/barbershop/smart/sharon.pdf



-- 
___
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm

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


Re: The availability of socketbits.h?

2005-05-17 Thread Dan Nelson
In the last episode (May 17), Xu Qiang said:
 Dan Nelson wrote:
  It looks like missing.h was added in 1.1.15, but the author didn't run
  all the necessary autoconf commands afterwards.  Try running
  autoheader253 (you will see that a HAVE_FTRUNCATE placeholder gets
  added to config.h.in), and rerun configure and make.
  
  It looks like there have been some autoconf changes make in CVS after
  1.1.16 was released.  You might want to check out the current source
  to see if some of these issues have been fixed already.
 
 Thanks for your suggestions. Yes, this error is overcome after running 
 autoheader. But now another error of the same type appears: 
 -
 mink.c:22: error: conflicting types for 'random'
 /usr/include/stdlib.h:200: error: previous declaration of 'random' was here
 mink.c:22: error: conflicting types for 'random'
 -

That's because after including the header that provides a declaration
for random (stdlib.h), the author decided to include another of his own
for some reason, but he used the wrong return type so gcc complained. 
Just remove like 22 of mink.c.

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


sharing ext3 partition

2005-05-17 Thread backdoc
I have a laptop partitioned up into a mixture of Windows and Linux partitions.  
I was thinking about wiping the Ubuntu partition and putting FreeBSD 5.4 in 
its place.  However, there are a couple of concerns that I have before doing 
this.

1)  Everything except for the NTFS partition is inside of an extended 
partition.

If I delete the Ubuntu partition, will FreeBSD install in an extended 
partition?

2)  I use one Linux partition to keep all regular user documents that Ubuntu 
and Gentoo share (eg. photos, OpenOffice documents and etc.)

Does FreeBSD fully support ext3 writing?  Any drawbacks to sharing an 
ext3 
partition between Gentoo and FreeBSD?

Below is a copy of my fdisk -l /dev/hda output from Linux.

Note that /dev/hda2 is the extended partition and /dev/hda8 is the Ubuntu 
partition I'd like to exchange for FreeBSD.  I thought about just changing 
the type of /hda8 to FreeBSD and seeing if 5.4 RELEASE would recognize it and 
use it.  But, I hate to just destroy it only to find out that it wouldn't 
work.


Disk /dev/hda: 60.0 GB, 60011642880 bytes
16 heads, 63 sectors/track, 116280 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes

   Device Boot  Start End  Blocks   Id  System
/dev/hda1   *   1   36577184345567  HPFS/NTFS
/dev/hda2   36577  11628040170501+   f  W95 Ext'd (LBA)
/dev/hda5   36577   40641 2048256b  W95 FAT32
/dev/hda6   40641   41661  514048+  82  Linux swap / Solaris
/dev/hda7   41661   9247025607578+  83  Linux
/dev/hda8   92470  104375 6000246   83  Linux
/dev/hda9  104375  104437   31374   83  Linux
/dev/hda10 104438  116280 5968840+  83  Linux

TIA,
backdoc

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


Re: Spam/AV filtering

2005-05-17 Thread [EMAIL PROTECTED]
On Tue, 17 May 2005 10:06:22 -0400
Charles Lamb [EMAIL PROTECTED] wrote:

 Would I want to enable milter with clamav?  Also does amavisd-new
 actually do the handling?  

amavisd-new works as a sort of in-between tool between the MTA and
clamav

 I had clamav installed and it scanned like
 a champ but that's all it did.  It showed me a bunch of
 viruses/malware but did nothing about it.  Thanks.

without something like amavis (there's more than just amavisd-new)
that's not gonna help, unless you use e.g. the clamav-plugin from
sylpheed-claws if that latter would be your mail-client

personally i'm quite happy with postfix+clamsmtp+spamassassin+procmail,
(clamsmtp is also in the ports-collection)

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


Re: Spam/AV filtering

2005-05-17 Thread Chuck Swiger
Charles Lamb wrote:
Would I want to enable milter with clamav?  Also does amavisd-new
actually do the handling?  I had clamav installed and it scanned like a
champ but that's all it did.  It showed me a bunch of viruses/malware
but did nothing about it.  Thanks.
That depends on whether you want to callout to clamav directly or via amavisd, 
which will then call SA amd clamav if needed.  But yes, if you are using 
sendmail as the MTA, it would be a good idea to enable milter so you can change 
your mind and still have it work.

If you use amavisd, viral and spammy messages get placed in /var/quarantine (or 
some such path).

--
-Chuck
___
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 use snapshots

2005-05-17 Thread Eric Schuele
fbsd_user wrote:
fbsd_user [EMAIL PROTECTED] writes:

I have no idea what you mean by those statements.
What floppies are you talking about?

The ones in the floppies directory.

How do I download the snapshot version with all the files and
sub-directors?

There are many ways you could do that, but there's no reason to.
Just
do a network-based install, booting from floppies.

This snapshot URL must be a normal thing available to the general
FreeBSD user.

must be?  If you want an ISO, stick with releases.

So there must be some pre-canned way to download and use it.
How do I find this out?

Prepare the Boot Media.
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-pr
e.html

***
You are off the subject.
My question has nothing to do with how to install from floppies, or
using cvsup to load the source to my PC for recompile of the system.
Drop that line of thought.
Question has always been how do people use
ftp://current.freebsd.org/pub/FreeBSD/snapshots/pub/FreeBSD/i386/
to build bootable cdrom to install from?
I have been all through the handbook and it does not cover this
subject.
Can someone who has used
 ftp://current.freebsd.org/pub/FreeBSD/snapshots/pub/FreeBSD/i386/
in the past please respond with how this is done.
I could be wrong here... since I've never installed a snapshot. 
(although I am interested in how) but

From reading this thread it would appear that you would create the boot 
floppies... boot from them...  When asked for install media... you would 
select FTP and point it at the snapshot of interest.  I don't think 
they make ISOs of them.  And I dont think they intend for you to 
download it and make a CD out of it.  (just a guess)

I think that is what everyone is trying to tell you.
I'm not sure the snapshots are good for 'upgrading' per se.  I think you 
would install a snapshot... and then keep up to date via cvsup.

Correct? (anyone?)


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

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


Re: NSSwitch settings on 5.4

2005-05-17 Thread Uwe Laverenz
On Mon, May 16, 2005 at 09:18:09AM +0930, Ian Moore wrote:

 passwd: files ldap
 group: files ldap

This is correct and sufficient for local files + ldap.

 On my 5.4-Release system, the default nsswitch.conf is:

AFAIK there never  was a default nsswitch.conf in FreeBSD 5.4, I always
had to create a new one from scratch.

 group: compat
 group_compat: nis
 hosts: files dns
 networks: files
 passwd: compat
 passwd_compat: nis
 shells: files

Nope, delete this.

 Using the 'compat ldap' version, I get errors in /var/log/messages:
   May 13 22:42:26 daemon -csh: NSSWITCH(nsparser): /etc/nsswitch.conf  line 1:
   'compat' used with other sources
   May 13 22:42:26 daemon -csh: NSSWITCH(nsparser): /etc/nsswitch.conf  line 5:
   'compat' used with other sources

man nsswitch.conf

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


Re: write failed filesystem full on fresh install of 5.4

2005-05-17 Thread Matthew Seaman
On Sun, May 15, 2005 at 05:52:54PM +0200, platanthera wrote:
 On Saturday 14 May 2005 23:30, Ross Adams Lippert wrote:
  I'm sorry I was not more specific.
 
  /var has 256MB
  /tmp has 256
  / has 256
  /usr has 4500MB
  newfs had been run on everything.
 
  ftp was passive.
 
  Since base is about 46MB of material, it seems it could put it
  anywhere.
 
  This occurs 3% of the way into the extration of base into / via
  ftp.  I did burn a CD and install off of that in the end and the
  problem went away.
 
 
  -r
 
  On Saturday, 14 May 2005 at 16:19:27 -0400, Jerry McAllister wrote:
It was extracting the distribution into / over ftp and said
   
/: write failed, filesystem is full
   
this was after doing a newfs on /.  Has anyone run into this
problem?
 
 it's not a problem of your fs layout.
 
 i ran into the same problem during 5.4/i386/ftp installation. i can't  
 recall the specific circumstances (probably i did something wrong), but 
 during the next attempt (after rebooting) it didn't reappear. 

It's something that happens if you make a mistake in sysinstall and
attempt to re-do an earlier step.  For unknown reasons, sysinstall
then ends up trying to install the system onto the memory-disk it uses
as the root filesystem, rather than onto the actual hard drive.

   Cheers,

   Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   8 Dane Court Manor
  School Rd
PGP: http://www.infracaninophile.co.uk/pgpkey Tilmanstone
Tel: +44 1304 617253  Kent, CT14 0JL UK


pgpXWLMldxfFr.pgp
Description: PGP signature


RE: Spam/AV filtering

2005-05-17 Thread Warren Block
On Tue, 17 May 2005, Charles Lamb wrote:
Would I want to enable milter with clamav?
Depending on your needs, maybe.  The clamav-milter lets sendmail reject 
mail containing viruses immediately, rather than having to receive them 
and then filter them later.

You should also investigate greylisting, which has very little downside 
and is the most effective antispam measure I've seen yet.

Here's something I wrote on that a while back.  It needs to be updated, 
but it should give an idea:

http://www.wonkity.com/~wblock/greylist.pdf
The default delay introduced by milter-greylist is 30 minutes.  From 
what I've seen in log files, this could probably be reduced to even five 
minutes and still be effective.  Most spamware and viruses don't retry 
even once.

-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: Spam/AV filtering

2005-05-17 Thread Tony Shadwick
I'm going to butt my nose in where it doesn't belong and insert my opinion 
here. :)

Here's the setup we run, and it works incredibly well.
Sendmail
mail/p5-Mail-SpamAssassin
mail/spamass-milter
mail/spamass-rules
mail/spamass-rules_du_jour
sysutils/clamav (built with miltering)
Add to your .mc file:
INPUT_MAIL_FILTER(`clmilter',`S=local:/var/run/clamav/clmilter.sock, F=, 
T=S:4m;R:4m')
INPUT_MAIL_FILTER(`spamassassin', `S=local:/var/run/spamass-milter.sock, 
F=, T=C:15m;S:4m;R:4m;E:10m')

crontab nightly
/usr/local/bin/rules_du_jour
Make sure your ports tree is cron'ed to update regularly, have the 
freshclam daemon running, and I'd strong suggest subscribing to the RSS 
feed at http://www.freshports.org/sysutils/clamav

Just my 2 cents. ;)
On Tue, 17 May 2005, Warren Block wrote:
On Tue, 17 May 2005, Charles Lamb wrote:
Would I want to enable milter with clamav?
Depending on your needs, maybe.  The clamav-milter lets sendmail reject mail 
containing viruses immediately, rather than having to receive them and then 
filter them later.

You should also investigate greylisting, which has very little downside and 
is the most effective antispam measure I've seen yet.

Here's something I wrote on that a while back.  It needs to be updated, but 
it should give an idea:

http://www.wonkity.com/~wblock/greylist.pdf
The default delay introduced by milter-greylist is 30 minutes.  From what 
I've seen in log files, this could probably be reduced to even five minutes 
and still be effective.  Most spamware and viruses don't retry even once.

-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]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Spam/AV filtering

2005-05-17 Thread Tony Shadwick
Oops, that should be security/clamav.  Where my mind is this morning...
On Tue, 17 May 2005, Tony Shadwick wrote:
I'm going to butt my nose in where it doesn't belong and insert my opinion 
here. :)

Here's the setup we run, and it works incredibly well.
Sendmail
mail/p5-Mail-SpamAssassin
mail/spamass-milter
mail/spamass-rules
mail/spamass-rules_du_jour
sysutils/clamav (built with miltering)
Add to your .mc file:
INPUT_MAIL_FILTER(`clmilter',`S=local:/var/run/clamav/clmilter.sock, F=, 
T=S:4m;R:4m')
INPUT_MAIL_FILTER(`spamassassin', `S=local:/var/run/spamass-milter.sock, F=, 
T=C:15m;S:4m;R:4m;E:10m')

crontab nightly
/usr/local/bin/rules_du_jour
Make sure your ports tree is cron'ed to update regularly, have the freshclam 
daemon running, and I'd strong suggest subscribing to the RSS feed at 
http://www.freshports.org/sysutils/clamav

Just my 2 cents. ;)
On Tue, 17 May 2005, Warren Block wrote:
On Tue, 17 May 2005, Charles Lamb wrote:
Would I want to enable milter with clamav?
Depending on your needs, maybe.  The clamav-milter lets sendmail reject 
mail containing viruses immediately, rather than having to receive them and 
then filter them later.

You should also investigate greylisting, which has very little downside and 
is the most effective antispam measure I've seen yet.

Here's something I wrote on that a while back.  It needs to be updated, but 
it should give an idea:

http://www.wonkity.com/~wblock/greylist.pdf
The default delay introduced by milter-greylist is 30 minutes.  From what 
I've seen in log files, this could probably be reduced to even five minutes 
and still be effective.  Most spamware and viruses don't retry even once.

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

___
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: Daemon Process

2005-05-17 Thread Glenn Dawson
At 01:27 AM 5/17/2005, Gowtham wrote:
Hi All,
Thank you very much for the feedback. Now, suppose I want to write a daemon
for Unix in C whose job is to monitor other daemons and restart dead
daemons. The daemon may take the list of such daemons to monitor from a
file. I want to know how can this be programmatically achieved.
I think this is what you are looking for:
http://pobox.com/~djb/daemontools.html
It's in ports:
/usr/ports/sysutils/daemontools
-Glenn

Thank you,
Gowtham
___
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 availability of socketbits.h?

2005-05-17 Thread Giorgos Keramidas
On 2005-05-17 15:59, Xu Qiang [EMAIL PROTECTED] wrote:
Xu Qiang wrote:
 Thanks for your suggestions. Yes, this error is overcome after
 running autoheader. But now another error of the same type appears:
 -
 mink.c:22: error: conflicting types for 'random'
 /usr/include/stdlib.h:200: error: previous declaration of 'random'
 was here
 mink.c:22: error: conflicting types for 'random'
 -

 This file is in nngs-1.1.16/src directory, and when I run
 autoheader in this directory:
 -
 autoheader: `configure.ac' or `configure.in' is required
 -

 Btw, I just found there is a line #undef HAVE_RANDOM in config.h.in,
 so is it due to the src file (mink.c) is not in the same directory as
 config.h.in? (It is one level below: config.h.in is in nngs-1.1.16,
 while mink.c is in nngs-1.1.16/src)

The autoheader/autoconf commands have to be run in the directory that
contains configure.in or configure.ac (usually the top level directory
of the entire distribution).

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


Re: highpoint rocketraid 454 - RAID 1

2005-05-17 Thread Eugene Hercun
Thank you Ted, and Bjorn. I really appreciate your help. I will work
on this tonight since I have a vector calculus midterm today.

So what you're saying Ted is that there is something wrong with my
card? For instance, it might be a different revision of some kind?

I was actually thinking to swap my HighPoint card with an Adaptec
1200a which I'm using as an ide card on the other computer. If it
works, I'll just leave the Adaptec in my FBSD and probably send off
the HighPoint to Søren Schmidt.
I'll keep you posted.
Thank you once again. =)

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


Re: NFS read-ahead?

2005-05-17 Thread Emanuel Strobl
Am Montag, 16. Mai 2005 16:44 schrieb Andrea Venturoli:
 Mike Tancsa wrote:
  Offhand, not really, but if you look around via google for
  mount_nfs freebsd -r a lot of people suggest r=32768,-w=32768.
  Perhaps use that as a starting point and experiment to see what gives
  you the best performance for your situation.

 Tried this: with simple tests it doesn't seem to make any difference.
 I guess I'll have to investigate further.
 Thanks for now.

Try using TCP instead of UDP, this improoved throughput with large files a 
lot for me! Even without touching read and write sizes.

-Harry


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


pgpPMZT9wri9Z.pgp
Description: PGP signature


Re: Daemon Process

2005-05-17 Thread Denis R.
Here is a good example:
http://cr.yp.to/daemontools/svc.html

Download the source and examine it.


Hi All,
Thank you very much for the feedback. Now, suppose I want to write a daemon
for Unix in C whose job is to monitor other daemons and restart dead
daemons. The daemon may take the list of such daemons to monitor from a
file. I want to know how can this be programmatically achieved.

Thank you,
Gowtham


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


Re: Epson Stylus C86 Printer

2005-05-17 Thread vdm . fbsd

-- Messaggio originale --
Date: Mon, 16 May 2005 23:02:56 +0100
From: Chris Hodgins [EMAIL PROTECTED]
To: Mike Jeays [EMAIL PROTECTED]
Cc: freebsd-questions@freebsd.org
Subject: Re: Epson Stylus C86 Printer
Reply-To: Chris Hodgins [EMAIL PROTECTED]

..
Install cups.
Install gimp-print with WITH_CUPS defined.

How do I define WITH_CUPS, where?
Vittorio

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


Re: Spam/AV filtering

2005-05-17 Thread Roland Smith
On Tue, May 17, 2005 at 09:37:22AM -0400, Charles Lamb wrote:
 I am using sendmail/qpopper and need a way to do spam and virus
 filtering.  There seems to be a number of ports I can use in the ports
 collection.  I was hoping to get some advice on which one you prefer.  I
 am a bit of a novice so something easy to install would be preferable
 and I am also on a budget so cheap/free is preferable as well.  Thanks.

Since I installed and trained bogofilter, I hardly get spam and viruses
anymore. Around 100 messages are /dev/null-ed by bogofilter every day,
and I get 2 to 5 messages in the unsure mailbox per week.

However, a large number of spam and non-spam emails (say 1000 of each)
is a prequisite for training bogofilter well.

If you want I could send you my wordlist.db. It's around 8 MB.

When I just started using bogofilter, I saved the spam in a separate
mailbox, to check for false positives. But I dropped that after about
a month.

Roland
-- 
R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text.
public key: http://www.xs4all.nl/~rsmith/pubkey.txt


pgpbofUfXL3yW.pgp
Description: PGP signature


Ping and DUP!s

2005-05-17 Thread vdm . fbsd
I have a simple home lan made of three networked FreeBSD PCs and a dsl router,
all connected to a hub. The PCs (all pointing at the router as a gateway)
have fixed IP address 192.168.10.1,  192.168.10.2, and 192.168.10.3 and
the router 192.168.10.100.

Now it happens that if I ping form one PC to the other, say,  192.168.10.1
to 192.168.10.2 annoying DUP! warnings appear while if I switch off the
dsl router they disappear.

What could be wrong?

Vittorio

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


RE: 5.4 install disc1 will not find hard drive

2005-05-17 Thread fbsd_user

This is not an cable problem.
I can use the 5.3 cdrom and the install goes with out a problem.
But when I use the 5.4 cdrom on the same PC I get error message no
hard drive found.
Then I use the 5.3 cdrom again on the same PC and the install goes
with out a problem.
I have re-downloaded the 5.4 disc1.iso file, run md5 to verify it
good then burned it to cdrom for the second time and still it will
not work.

If it was HD cable problem I would get same error on both 5.3 and
5.4.

Even tried building the bootable floppies from yesterdays 20050516
snapshot for 5.4 and it also gave no disk found error.

Is this a bug with 5.4 and should I submit a bug report.

I am open to any other ideas of how to debug this or work around
this.

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


Re: Ping and DUP!s

2005-05-17 Thread Chuck Robey
[EMAIL PROTECTED] wrote:
I have a simple home lan made of three networked FreeBSD PCs and a dsl router,
all connected to a hub. The PCs (all pointing at the router as a gateway)
have fixed IP address 192.168.10.1,  192.168.10.2, and 192.168.10.3 and
the router 192.168.10.100.
Now it happens that if I ping form one PC to the other, say,  192.168.10.1
to 192.168.10.2 annoying DUP! warnings appear while if I switch off the
dsl router they disappear.
What could be wrong?
Vittorio
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
what's the netmask you're using?  Maybe giving us the ifconfigs for each 
net interface, and one of the results of netstat -rn?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Spam/AV filtering

2005-05-17 Thread Warren Block
On Tue, 17 May 2005, Warren Block wrote:
Here's something I wrote on that a while back.  It needs to be updated, but 
it should give an idea:
Okay, I updated it.  I also moved it into a directory where it should 
have been, so there's an Apache redirect.  The old URL should work, but 
here's the correct new one:

http://www.wonkity.com/~wblock/docs/greylist.pdf
-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]


buffer cache size

2005-05-17 Thread michael luch
I think that the buffer cache on my system is not growing sufficiently and 
wonder if I can I tune it.

Here's a snippet from the output of top on my system:
Mem: 646M Active, 2905M Inact, 174M Wired, 121M Cache, 112M Buf, 5460K Free
Swap: 512M Total, 192K Used, 512M Free
I have a MySQL db that's more than 1GB in size. When I do a SELECT, mysqld 
becomes about 25%busy (fair enough, it's waiting for disk). However, I was 
expecting to see the Buffer Cache size (that's the 121M Cache I think) grow, 
and expected to see subsequent SELECTs cause mysqld become CPU bound, as 
data from the database should now be in the buffer cache. However, this is 
not the case. I have 2GB of inactive memory, but a small buffer cache and a 
disk bound mysqld :(

Are there some tunables I should look at to allow the buffer cache to grow?
All the searches I did suggested that the vm system should look after this 
itself.

Thanks
M
_
Send a sexy animated wink with Messenger 7.0 - FREE download! 
http://messenger.msn.co.uk

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


Re: buffer cache size

2005-05-17 Thread Giorgos Keramidas
On 2005-05-17 16:32, michael luch [EMAIL PROTECTED] wrote:
 I think that the buffer cache on my system is not growing sufficiently and
 wonder if I can I tune it.

 Here's a snippet from the output of top on my system:

 Mem: 646M Active, 2905M Inact, 174M Wired, 121M Cache, 112M Buf, 5460K Free
 Swap: 512M Total, 192K Used, 512M Free

 I have a MySQL db that's more than 1GB in size. When I do a SELECT, mysqld
 becomes about 25%busy (fair enough, it's waiting for disk). However, I was
 expecting to see the Buffer Cache size (that's the 121M Cache I think)
 grow, and expected to see subsequent SELECTs cause mysqld become CPU bound,
 as data from the database should now be in the buffer cache. However, this
 is not the case. I have 2GB of inactive memory, but a small buffer cache
 and a disk bound mysqld :(

 Are there some tunables I should look at to allow the buffer cache to grow?
 All the searches I did suggested that the vm system should look after this
 itself.

Inactive pages are a form of cache too (not buffer cache, but page
cache, but anyway).  The pages on the inactive list are reused as
necessary or used as an extension of the page cache (after they have
been written to storage if necessary).

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


RE: Spam/AV filtering

2005-05-17 Thread Charles Lamb
Well I have amavisd and clamav installed and running but they aren't
filtering the viruses I pick up when I do a clamdscan.


 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Chuck Swiger
Sent: Tuesday, May 17, 2005 10:27 AM
To: Charles Lamb
Cc: freebsd-questions@freebsd.org
Subject: Re: Spam/AV filtering

Charles Lamb wrote:
 Would I want to enable milter with clamav?  Also does amavisd-new
 actually do the handling?  I had clamav installed and it scanned like
a
 champ but that's all it did.  It showed me a bunch of viruses/malware
 but did nothing about it.  Thanks.

That depends on whether you want to callout to clamav directly or via
amavisd, 
which will then call SA amd clamav if needed.  But yes, if you are using

sendmail as the MTA, it would be a good idea to enable milter so you can
change 
your mind and still have it work.

If you use amavisd, viral and spammy messages get placed in
/var/quarantine (or 
some such path).

-- 
-Chuck

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


gnome-vfs does not compile.

2005-05-17 Thread Gregory Nou
When I try to compile gnome-vfs-2.10.1, I get this :
libtool15: link: CURRENT `1000' is not a nonnegative integer
libtool15: link: `1000:1:1000' is not valid version information
gmake[3]: *** [libgnomevfs-2.la] Erreur 1
That's quite surprising. Why does it say 1000 is not a nonnegative 
integer ???
Does anyone knows how I could fix this ?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: gnome-vfs does not compile.

2005-05-17 Thread Tony Shadwick
Few really quick questions here:
1. When was the last time you cvsup'd your ports tree?
2. Have you checked to make sure the rest of your ports are current?
If 1. is recently, and 2. is yes, then I'd make clean on it and try to use 
portinstall gnome-vfs and see what happens.  If you answered never, or 
quite a while ago to the first one, I strongly suggest cvsup'ing your 
ports first, then make sure your other ports are current before attempting 
to proceed, then try portinstall gnome-vfs.

Tony
On Tue, 17 May 2005, Gregory Nou wrote:
When I try to compile gnome-vfs-2.10.1, I get this :
libtool15: link: CURRENT `1000' is not a nonnegative integer
libtool15: link: `1000:1:1000' is not valid version information
gmake[3]: *** [libgnomevfs-2.la] Erreur 1
That's quite surprising. Why does it say 1000 is not a nonnegative integer 
???
Does anyone knows how I could fix this ?
___
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 5.4 SMP

2005-05-17 Thread Jason Lieurance
Hello,

I have a new Dell PowerEdge Dual Xeon 2.8 server and the freebsd install 'sees' 
1
cpu. It loads the HT right but doesn't see the 2nd cpu at all. I went to rebuild
kernel and 'options smp' is not even a choice. I add it along with the others 
that
are mentioned for smp and when I run config it says in effect, 'doesn't 
understand
smp option', meaning it can't be added. Didn't think setting up smp on bsd 
would be
this much trouble.  Any advice? Thanks.

-- 
Jason


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


Re: FreeBSD 5.4 SMP

2005-05-17 Thread Tony Shadwick
Hmm..having rebuilt kernels for SMP support several times, I can't help 
but wonder if this is a clean install you're dealing with, or an upgrade 
from a previous release.

In either case, I'd cvsup your src tree with tag=RELENG_5_4, and follow 
the handbook kernel building instructions step by step.  Putting options 
SMP there should work, but I don't remember if it was already there and 
just commented out or not.  Here's what I have in my config:

# Enable Multiple CPU Support
options SMP
device  apic# I/O APIC
After you have the latest sources and those two lines in your config, 
follow the build and install process from the handbook.  Works beautfilly 
on all of the Poweredge servers I have here. :)

Tony
On Tue, 17 May 2005, Jason Lieurance wrote:
Hello,
I have a new Dell PowerEdge Dual Xeon 2.8 server and the freebsd install 'sees' 
1
cpu. It loads the HT right but doesn't see the 2nd cpu at all. I went to rebuild
kernel and 'options smp' is not even a choice. I add it along with the others 
that
are mentioned for smp and when I run config it says in effect, 'doesn't 
understand
smp option', meaning it can't be added. Didn't think setting up smp on bsd 
would be
this much trouble.  Any advice? Thanks.
--
Jason
___
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]


GimpShop and FreeBSD

2005-05-17 Thread Frank Staals
Hey,
I'm tring to install GimpShop on my FreeBSD laptop ( 5.3 ) but when I 
run configure this happens:

[EMAIL PROTECTED]/configure --prefix=/usr/local
snip
checking fd_set and sys/select... yes
checking for XmuClientWindow in -lXmu... yes
checking for X11/Xmu/WinUtil.h... yes
checking for TIFFReadScanline in -ltiff... no
checking for TIFFWriteScanline in -ltiff... no
checking for TIFFFlushData in -ltiff34... no
configure_tmp: WARNING: *** TIFF plug-in will not be built (TIFF library 
not found) ***
configure_tmp: error:
*** Checks for TIFF libary failed. You can build without it by passing
*** --without-libtiff to configure but you won't be able to use TIFFs then.
[EMAIL PROTECTED]

It don't seem to find libtiff, allthough I did install it:
[EMAIL PROTECTED] pkg_info | grep tiff
linux-tiff-3.6.1_1  TIFF library, Linux/i386 binary
tiff-3.7.2  Tools and library routines for working with TIFF images
[EMAIL PROTECTED]
Because I rarely use .tiff files I used the without-libtiff option, but 
I get the same error for libjpeg, libpng, libmng and libexif. The fact 
that I wouldn't be able to use .jpeg and .png worries me, so my question 
is, does anyone know what to do to fix this problem, what should the 
location of those libaries be ?

I hope someone has an answer because I don't seem to get the logic in 
the UI in the Gimp ( maybe it is because I am used to PhotoShop )

Thanks in advance
--
Frank Staals
-
The Greatest pleasure in life is doing things people say you cannot do  - 
Walter Bagehot
-
With questions or comment mail to [EMAIL PROTECTED] or visit FStaals.nl.eu.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: routed daemon

2005-05-17 Thread Lowell Gilbert
Jim Pazarena [EMAIL PROTECTED] writes:

 Can the routed daemon co-exist with a CISCO router which, by default,
 also responds to routing requests?
 
 The reason I ask, is that I accidentally installed routed, and it
 was running, and my whole network came to a grinding halt, until
 I de-activated routed. I had not set up *any* configuration file
 or anything other than installing the port (by accident).
 
 So did this halt my system because I had no configuration file, or
 because routed cannot co-exist with (in this case) my telco provided
 CISCO gateway router?

Certainly they *can* co-exist, but in your case there is no reason for
them to do so.  Your routed doesn't know about any routes that the
Cisco doesn't.  This is also (most likely) where the problem came
from; your routed was probably advertising routes that went through
the Cisco, causing the Cisco to pick up those routes through the
FreeBSD box, causing a routing loop.  In ordinary routing situations,
split horizon would keep this from happening, but because the
default route was configured statically, routed couldn't detect this.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Creative Sound Blaster Audigy LS

2005-05-17 Thread Matt Crossley
Fafa Hafiz Krantz wrote:
That didn't really work :(
Any other suggestions?
Thanks.
--
I'm using mine just fine...
I didn't include mine in the kernel yet, I just tested with a kldload, 
in 5.4:

kldload snd_emu10k1
from /var/log/messages:
May 16 18:31:34 bsdmoose kernel: pcm0: Creative Audigy (EMU10K2) port 
0xa000-0xa01f irq 18 at device 13.0 on pci0
May 16 18:31:34 bsdmoose kernel: pcm0: SigmaTel STAC9721/23 AC97 Codec

bsdmoose# kldstat
Id Refs AddressSize Name
19 0xc040 5dde24   kernel
2   14 0xc09de000 56270acpi.ko
31 0xc1e67000 17000linux.ko
41 0xc298a000 6000 snd_emu10k1.ko
51 0xc299 18000sound.ko
Works like a charm. It used to be that I needed to compile the emu10kx 
drivers.

Maybe if you included some more information, it would prove to be more 
useful. What is your dmesg saying when you boot up now? What did it say 
before? What happens with a kldload snd_emu10k1, followed by a kldstat 
(if it gave no error)?

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


Re: GimpShop and FreeBSD

2005-05-17 Thread pete wright
On 5/17/05, Frank Staals [EMAIL PROTECTED] wrote:
 Hey,
 
 I'm tring to install GimpShop on my FreeBSD laptop ( 5.3 ) but when I
 run configure this happens:

Not sure about GimpShop, although gimp is available in the ports
collection.  Check out /usr/ports/graphics/gimp.  You should be able
to tweak what parts of the package you want installed by looking at
the Makefile.  I personally would keep TIFF support, it is a decent
image format for high resolution images and is quite portable accross
platforms.

HTH

-pete



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


Re: Creative Sound Blaster Audigy LS

2005-05-17 Thread Ariff Abdullah
On Tue, 17 May 2005 10:54:51 -0700
Matt Crossley [EMAIL PROTECTED] wrote:
 Fafa Hafiz Krantz wrote:
 
 That didn't really work :(
 Any other suggestions?
 
 Thanks.
 
 --
 
 I'm using mine just fine...
 
 I didn't include mine in the kernel yet, I just tested with a
 kldload,  in 5.4:
 
 kldload snd_emu10k1
 
 from /var/log/messages:
 May 16 18:31:34 bsdmoose kernel: pcm0: Creative Audigy (EMU10K2)
 port  0xa000-0xa01f irq 18 at device 13.0 on pci0
 May 16 18:31:34 bsdmoose kernel: pcm0: SigmaTel STAC9721/23 AC97
 Codec
 
 bsdmoose# kldstat
 Id Refs AddressSize Name
  19 0xc040 5dde24   kernel
  2   14 0xc09de000 56270acpi.ko
  31 0xc1e67000 17000linux.ko
  41 0xc298a000 6000 snd_emu10k1.ko
  51 0xc299 18000sound.ko
 
 
 Works like a charm. It used to be that I needed to compile the
 emu10kx  drivers.
 
 Maybe if you included some more information, it would prove to be
 more  useful. What is your dmesg saying when you boot up now? What
 did it say  before? What happens with a kldload snd_emu10k1,
 followed by a kldstat  (if it gave no error)?
 
 HTH,
 Matt

Audigy *LS* is not the same *Audigy* like other Audigy series,
it use different chipset, and unfortunately, not supported in current
emu10k driver.

--

Ariff Abdullah
MyBSD

http://www.MyBSD.org.my (IPv6/IPv4)
http://staff.MyBSD.org.my (IPv6/IPv4)
http://tomoyo.MyBSD.org.my (IPv6/IPv4)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Creative Sound Blaster Audigy LS

2005-05-17 Thread Chuck Robey
Matt Crossley wrote:
Fafa Hafiz Krantz wrote:
That didn't really work :(
Any other suggestions?
Thanks.
--
I'm using mine just fine...
I didn't include mine in the kernel yet, I just tested with a kldload, 
in 5.4:

kldload snd_emu10k1
from /var/log/messages:
May 16 18:31:34 bsdmoose kernel: pcm0: Creative Audigy (EMU10K2) port 
0xa000-0xa01f irq 18 at device 13.0 on pci0
May 16 18:31:34 bsdmoose kernel: pcm0: SigmaTel STAC9721/23 AC97 Codec

bsdmoose# kldstat
Id Refs AddressSize Name
19 0xc040 5dde24   kernel
2   14 0xc09de000 56270acpi.ko
31 0xc1e67000 17000linux.ko
41 0xc298a000 6000 snd_emu10k1.ko
51 0xc299 18000sound.ko
OK, some ideas
1) for several reasons, leave it as a module,  If this isn's crazy 
enough for you, some softrware actually goes looking for the module, and 
assumes no one in their right mind would compile in sound support (truth!)

2) if you have two PCs, like me, using a keyboard A/B swtich, the kind 
with 3 switched RCA jacks (you can buy such at Radio Shack cheaply) 
works particularly well for the Audigy, because you use the connection 
that was intended for your video can be instead used for the Audigy's 
digital port (it's the very bottom connection, the one furthest from the 
 plane created by the motherboard), so that lets you switch both analog 
audio *AND* digital audio with a single button-push.


Works like a charm. It used to be that I needed to compile the emu10kx 
drivers.

Maybe if you included some more information, it would prove to be more 
useful. What is your dmesg saying when you boot up now? What did it say 
before? What happens with a kldload snd_emu10k1, followed by a kldstat 
(if it gave no error)?

HTH,
Matt
___
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: Creative Sound Blaster Audigy LS

2005-05-17 Thread Chuck Robey
Ariff Abdullah wrote:
Works like a charm. It used to be that I needed to compile the
emu10kx  drivers.
Maybe if you included some more information, it would prove to be
more  useful. What is your dmesg saying when you boot up now? What
did it say  before? What happens with a kldload snd_emu10k1,
followed by a kldstat  (if it gave no error)?
HTH,
Matt

Audigy *LS* is not the same *Audigy* like other Audigy series,
it use different chipset, and unfortunately, not supported in current
emu10k driver.
The kind I was talking about is the 2ZS, fully supported by the emu10k1.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: gnome-vfs does not compile.

2005-05-17 Thread Alex Zbyslaw
Tony Shadwick wrote:
On Tue, 17 May 2005, Gregory Nou wrote:
When I try to compile gnome-vfs-2.10.1, I get this :
libtool15: link: CURRENT `1000' is not a nonnegative integer
libtool15: link: `1000:1:1000' is not valid version information
gmake[3]: *** [libgnomevfs-2.la] Erreur 1
That's quite surprising. Why does it say 1000 is not a nonnegative 
integer ???
Does anyone knows how I could fix this ?

You could also try uninstalling and reinstalling libtool15.
cd /usr/ports/devel/libtool15; make deinstall; make reinstall
Also make sure libtool13 isn't there (it should be redundant by now, I 
think, so if it's installled you can uninstall it).

Some combination of the above fixed similar problems for me.
--Alex
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Creative Sound Blaster Audigy LS

2005-05-17 Thread Ariff Abdullah


On Tue, 17 May 2005 18:03:21 +
Chuck Robey [EMAIL PROTECTED] wrote:
 Ariff Abdullah wrote:
 
 Works like a charm. It used to be that I needed to compile the
 emu10kx  drivers.
 
 Maybe if you included some more information, it would prove to be
 more  useful. What is your dmesg saying when you boot up now? What
 did it say  before? What happens with a kldload snd_emu10k1,
 followed by a kldstat  (if it gave no error)?
 
 HTH,
 Matt
  
  
  Audigy *LS* is not the same *Audigy* like other Audigy series,
  it use different chipset, and unfortunately, not supported in
  current emu10k driver.
 
 The kind I was talking about is the 2ZS, fully supported by the
 emu10k1.
 

The kind I was talking about is the LS, which is Fafa's very own,
not supported at all by emu10k1.

--

Ariff Abdullah
MyBSD

http://www.MyBSD.org.my (IPv6/IPv4)
http://staff.MyBSD.org.my (IPv6/IPv4)
http://tomoyo.MyBSD.org.my (IPv6/IPv4)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Video Driver

2005-05-17 Thread Adam Stern
I'm kind of new to freebsd.  I'm using Gnome, and the resolution doesn't
go above 600x800.  I assume that is because it doesn't have the exact
driver for my video card.  I have an Intel motherboard, and when I
looked it up on Intel's site, they didn't have any FreeBSD drivers for
my motherboard, only RedHat and SuSE.  Is there something I can do to
got my resolution to increase?

 

Thanks.

 

Adam

 

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


Dual Boot question

2005-05-17 Thread Paul Schmehl
I have a new machine with two drives.  The primary drive came with Windows 
XP installed, so I installed FreeBSD (5.4. RELEASE) on the slave.  I want 
to dual boot using the Windows boot manager.

I found instructions in the faq:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html#NT-BOOTLOADER
But it's not working.
When I select FreeBSD, the box boots to a prompt, flashing F1 and goes no 
further, periodically beeping.

I ran fdisk to make sure that ad5s1 was flagged as bootable and installed 
the FreeBSD boot manager.  Then I copied /boot/boot0 to the Windows disk on 
C:\ and named it BOOTSEC.BSD and edited the boot.ini file per the 
instructions in the faq.

What did I miss?
Paul Schmehl ([EMAIL PROTECTED])
Adjunct Information Security Officer
The University of Texas at Dallas
AVIEN Founding Member
http://www.utdallas.edu
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: KDE INSALL

2005-05-17 Thread pete wright
On 5/17/05, jean-paul natola [EMAIL PROTECTED] wrote:
 Hi everyone, I'm new to freebsd and you have seen my previous post I do
 apologize, but appraretnly I am unable post from my work email-hence the
 hotmail address now.
 
 I ran  make install clean for  kde  and after 4 days i *think* I'm almost
 done,,
 
 I am now at a promt for GNU ghostscript drivers and have NO CLUE as to what
 to select , my purpose for the FREEBSD install is to run mailscanner  ,
 what should I select , if any, for the GNU ghostscritp driver selection.
 

It's a bit late butif you are going to be using this box a
mailscanner I would not suggest running KDE or X windows at all on
this box.  It will wate resources at best and open up more security
issues that you will have to track in the long run.  Most people
prefer just install the base system along with the specific software
for the task at hand for most servers (in your case which ever mail
filtering software you will be using).  The joy of unix is being able
to admin. boxen remotely via ssh very easily, so there is really no
need for a full blow gui on a server.

for more info on setting up a mail scanner under FreeBSD I would read
the online documentation carefully.  I will really help you out in the
long run:

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



 Please excuse my ignorance as this the first time I am installing Freebsd
 
np welcome :)

 Thanks
 
 PS ;  any reason I would be unable to post from legitimate work email?
 

not sure with out more info, although willing to be there is an issue
with your corporate MTA.


-p

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


J2SE 5.0

2005-05-17 Thread Vizion
Hi

I want to install J2SE 5.0 or equivalent on FreeBSD 5.3. I have gone through 
the distfiles and cannot see anything which indicates there is a freebsd port 
available or information about incorporation of latest sun upgrades. 

Does anyone know what is the best way to go about this. Will the sun downlaod 
install OK on FreeBSD 5.3.

What is the best source of information about java on freebsd.

Thanks in advance

david

-- 
40 yrs navigating and computing in blue waters.
English Owner  Captain of British Registered 60' bluewater Ketch S/V Taurus.
 Currently in San Diego, CA. Sailing May bound for Europe via Panama Canal.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Creative Sound Blaster Audigy LS

2005-05-17 Thread Matt Crossley
Ariff Abdullah wrote:
Audigy *LS* is not the same *Audigy* like other Audigy series,
it use different chipset, and unfortunately, not supported in current
emu10k driver.
--
Ariff Abdullah
MyBSD
 

Ah! My mistake. I'm not really up to date on the latest sound cards or 
video stuff. :)

It also doesn't look like the emu10kx driver supports them either. From 
the Changelog:

09-10-2004
   1. Remove Audigy LS and Audigy 2 Value from list of supported cards.
   They are too different from SB Live!/Audigy, according to their 
Linux
   driver.

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


Re: KDE INSALL

2005-05-17 Thread Toomas Aas
jean-paul natola wrote:
I ran  make install clean for  kde  and after 4 days i *think* I'm 
almost done,,

I am now at a promt for GNU ghostscript drivers and have NO CLUE as to 
what to select , my purpose for the FREEBSD install is to run 
mailscanner  ,  what should I select , if any, for the GNU ghostscritp 
driver selection.
If all you're concerned with is the mailscanner, it doesn't matter at 
all what you select here. Just accept the defaults.

However, if all you're concerned with is the mailscanner, why are you 
installing KDE at all? Typical mail scanning software doesn't need KDE, 
and it sounds like you have a machine that is too slow anyway to run KDE 
in any usable manner (if 'make install' is still not done after 4 days).

PS ;  any reason I would be unable to post from legitimate work email?
Do you get an error message back when you try to post? I understand that 
FreeBSD.org's mail server only accepts messages from hosts that have 
proper reverse DNS defined. This may be your problem, or it may be 
something else :)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: GimpShop and FreeBSD

2005-05-17 Thread [EMAIL PROTECTED]
On Tue, 17 May 2005 19:28:38 +0200
Frank Staals [EMAIL PROTECTED] wrote:

 I'm tring to install GimpShop on my FreeBSD laptop ( 5.3 ) but when I 
 run configure this happens:
-- cut --
 configure_tmp: WARNING: *** TIFF plug-in will not be built (TIFF
 library  not found) ***
-- cut --
 I hope someone has an answer because I don't seem to get the logic in 
 the UI in the Gimp ( maybe it is because I am used to PhotoShop )

i tried to compile GimpShop last week on 5.3, and after skipping tiff,
jpg and png-support it worked, but it did not look any different from
the regular gimp, so.. i wondered what went wrong and what i was missing


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


Re: KDE INSALL

2005-05-17 Thread jean-paul natola
Well  since i'm totally new to this, I wanted some type of gui,
the machine specs are 450 mhz with 256 ram
so I guess I should remove the kde install??
I have verified  my reverse DNS  and it all checks out, and when I 
subscribed I did get the  confirmation request from the list and activated 
it,  all I have been receiving  delayed delivery messages,,,



From: Toomas Aas [EMAIL PROTECTED]
To: jean-paul natola [EMAIL PROTECTED]
CC: [EMAIL PROTECTED]
Subject: Re: KDE INSALL
Date: Tue, 17 May 2005 21:23:34 +0300
jean-paul natola wrote:
I ran  make install clean for  kde  and after 4 days i *think* I'm almost 
done,,

I am now at a promt for GNU ghostscript drivers and have NO CLUE as to 
what to select , my purpose for the FREEBSD install is to run mailscanner  
,  what should I select , if any, for the GNU ghostscritp driver 
selection.
If all you're concerned with is the mailscanner, it doesn't matter at all 
what you select here. Just accept the defaults.

However, if all you're concerned with is the mailscanner, why are you 
installing KDE at all? Typical mail scanning software doesn't need KDE, and 
it sounds like you have a machine that is too slow anyway to run KDE in any 
usable manner (if 'make install' is still not done after 4 days).

PS ;  any reason I would be unable to post from legitimate work email?
Do you get an error message back when you try to post? I understand that 
FreeBSD.org's mail server only accepts messages from hosts that have proper 
reverse DNS defined. This may be your problem, or it may be something else 
:)
___
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: KDE INSALL

2005-05-17 Thread Derrick MacPherson
On Tue, 2005-05-17 at 14:38 -0400, jean-paul natola wrote:
 Well  since i'm totally new to this, I wanted some type of gui,
 
 the machine specs are 450 mhz with 256 ram
 
 so I guess I should remove the kde install??
 
 I have verified  my reverse DNS  and it all checks out, and when I 
 subscribed I did get the  confirmation request from the list and activated 
 it,  all I have been receiving  delayed delivery messages,,,
 
 
 
 
 From: Toomas Aas [EMAIL PROTECTED]
 To: jean-paul natola [EMAIL PROTECTED]
 CC: [EMAIL PROTECTED]
 Subject: Re: KDE INSALL
 Date: Tue, 17 May 2005 21:23:34 +0300
 
 jean-paul natola wrote:
 
 I ran  make install clean for  kde  and after 4 days i *think* I'm almost 
 done,,
 
 I am now at a promt for GNU ghostscript drivers and have NO CLUE as to 
 what to select , my purpose for the FREEBSD install is to run mailscanner  
 ,  what should I select , if any, for the GNU ghostscritp driver 
 selection.
 
 If all you're concerned with is the mailscanner, it doesn't matter at all 
 what you select here. Just accept the defaults.
 
 However, if all you're concerned with is the mailscanner, why are you 
 installing KDE at all? Typical mail scanning software doesn't need KDE, and 
 it sounds like you have a machine that is too slow anyway to run KDE in any 
 usable manner (if 'make install' is still not done after 4 days).
 
 PS ;  any reason I would be unable to post from legitimate work email?
 
 Do you get an error message back when you try to post? I understand that 
 FreeBSD.org's mail server only accepts messages from hosts that have proper 
 reverse DNS defined. This may be your problem, or it may be something else 
 :)

Pretty much everything you will need/want to do, will be done through a
shell, so you needn't use a gui

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


Re: Creative Sound Blaster Audigy LS

2005-05-17 Thread Ariff Abdullah


On Tue, 17 May 2005 11:29:26 -0700
Matt Crossley [EMAIL PROTECTED] wrote:
 Ariff Abdullah wrote:
 
  Audigy *LS* is not the same *Audigy* like other Audigy series,
 
 it use different chipset, and unfortunately, not supported in
 current emu10k driver.
 
 --
 
 Ariff Abdullah
 MyBSD
   
 
 
 Ah! My mistake. I'm not really up to date on the latest sound cards
 or  video stuff. :)
 
 It also doesn't look like the emu10kx driver supports them either.
 From  the Changelog:
 
 09-10-2004
 1. Remove Audigy LS and Audigy 2 Value from list of
 supported cards. They are too different from SB
 Live!/Audigy, according to their 
 Linux
 driver.
 
 
 Oh well.
 
 Matt

:)

By the way, Fafa, (currently) your best bet is to go with binary
driver from http://www.opensound.com/ . It's free for personal use. I
have myself an Audigy LS, I'll see what I can do with it later.

--

Ariff Abdullah
MyBSD

http://www.MyBSD.org.my (IPv6/IPv4)
http://staff.MyBSD.org.my (IPv6/IPv4)
http://tomoyo.MyBSD.org.my (IPv6/IPv4)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Dual Boot question

2005-05-17 Thread Paul Schmehl
--On Tuesday, May 17, 2005 01:14:35 PM -0500 Paul Schmehl 
[EMAIL PROTECTED] wrote:
When I select FreeBSD, the box boots to a prompt, flashing F1 and goes no
further, periodically beeping.
Never mind.  It was waiting for me to hit enter.  Now all I have to do is 
change the default boot to FreeBSD from Windows, and I'll be a happy camper.

Paul Schmehl ([EMAIL PROTECTED])
Adjunct Information Security Officer
The University of Texas at Dallas
AVIEN Founding Member
http://www.utdallas.edu
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Exec format error

2005-05-17 Thread Lowell Gilbert
Frank Bonnet [EMAIL PROTECTED] writes:

 Hello
 
 I recently installed the squidtimes package from ports at 5.4-R
 then I have such erreor message when launching it ...
 
 squidtimes: Exec format error. Binary file not executable.
 
 A bit strange as make and make install ran smoothly ...

It's a port, but it installs a prebuilt binary.  
[Which is the same one as when the port was added, back in '98.]

You will need a.out support in the kernel, which can be installed with
a module, and probably some compatibility libraries.

Good luck.
-- 
Lowell Gilbert, embedded/networking software engineer, Boston area
http://be-well.ilk.org/~lowell/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


FreeBSD 5.4 EM64T question

2005-05-17 Thread Jason Lieurance
HEllo,

I just realized my cpu's in my server are xeon em64t's but I used the i386 
iso's to
install FSD 5.4. Do I have to use the amd64 iso's???

I realized this after running 'portsbd -Uu' and the system dumped in the middle 
of
the operation saying something about the scsi bus reset.

-- 
Jason

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


Re: FreeBSD 5.4 EM64T question

2005-05-17 Thread Chad Leigh -- Shire.Net LLC
On May 17, 2005, at 12:51 PM, Jason Lieurance wrote:
HEllo,
I just realized my cpu's in my server are xeon em64t's but I used  
the i386 iso's to
install FSD 5.4. Do I have to use the amd64 iso's???
I don't know about the EM64T, but I assume they are i386 compatible.   
I run the i386 ISOs on my opteron system just fine

I realized this after running 'portsbd -Uu' and the system dumped  
in the middle of
the operation saying something about the scsi bus reset.
I suspect you have a different problem
Chad
--
Jason
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions- 
[EMAIL PROTECTED]

---
Chad Leigh -- Shire.Net LLC
Your Web App and Email hosting provider
[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


PR kern/78968 MBuf cluster exhaustion. RFC (solutions)

2005-05-17 Thread Ernest Smallis
Hi All,

I am seeing this problem as well:

a. The kernel is in a tight loop via the fxp driver since there are
frames that need to be DMA'd but cannot be because 'b.'

b. The fxp driver calls m_getcl( ) which returns ENOBUFS since
there are no clusters to satisfy the request.  This goes on
constantly so it appears the system is hung.

I submitted a follow-up to the PR and also requested contact with a
committer to discuss this problem and possible solutions.

I think this should be fixed, right away.

If you would like to donate your 2 cents worth to this discussion; I would
be very happy to hear from you and am grateful for the input.

Ernie ;-)

Ernest Smallis
Sr. Software Engineer
RAPID Development
[EMAIL PROTECTED]
858-524-2137

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


Re: Epson Stylus C86 Printer

2005-05-17 Thread dgmm
On Monday 16 May 2005 02:35, Mike Jeays wrote:
 I have just bought one of these printers, and am having trouble getting
 it to work with ghostscript. It is connected via a USB port, and it
 responds momentarily when I send anything directly to /dev/ulpt0.  

 I would appreciate the correct parameters for ghostscript - I think it
 should work with device ijs and 'server' ijsgimpprint, which has been
 installed in /usr/local/bin.

 Some of the instructions recommend CUPS and FooMatic, and seem much more
 complicated than I ought to need for a local installation.

 I tested the printer with Windows, and it does work.

Try /dev/unlpt0

Note the n ;-)


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


portaudit is being stubborn

2005-05-17 Thread Tony Shadwick
This is driving me nuts.  I just downloaded the latest portaudit database 
and ran it on my system:

mx02# portaudit -ad
Database created: Tue May 17 13:40:02 CDT 2005
Affected package: wget-1.8.2_7
Type of problem: wget -- multiple vulnerabilities.
Reference: 
http://www.FreeBSD.org/ports/portaudit/06f142ff-4df3-11d9-a9e7-0001020eed82.html

1 problem(s) in your installed packages found.
You are advised to update or deinstall the affected package(s) 
immediately.

Okayso, that vulnerability isn't of much concern to me, but just to be 
sure I'm current:

mx02# portversion ftp/wget
wget=
So life is good there, so I got back and add this to my 
/usr/local/etc/portaudit.conf file:

# Make portaudit ignore wget vulnerability (no shell users here anyway)
portaudit_fixed=06f142ff-4df3-11d9-a9e7-0001020eed82
I then re-ran portauditit gives me the same output. :(  I want to have 
this cron'ed where I only get ouput when something that actually concerns 
me comes up.  Is the portaudit_fixed variable no longer supported?

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


Re: Ping and DUP!s

2005-05-17 Thread Vittorio De Martino
Alle 18:02, martedì 17 maggio 2005, hai scritto:
 [EMAIL PROTECTED] wrote:
  I have a simple home lan made of three networked FreeBSD PCs and a dsl
  router, all connected to a hub. The PCs (all pointing at the router as a
  gateway) have fixed IP address 192.168.10.1,  192.168.10.2, and
  192.168.10.3 and the router 192.168.10.100.
 
  Now it happens that if I ping form one PC to the other, say, 
  192.168.10.1 to 192.168.10.2 annoying DUP! warnings appear while if I
  switch off the dsl router they disappear.
 
  What could be wrong?
 
  Vittorio


 what's the netmask you're using?  Maybe giving us the ifconfigs for each
 net interface, and one of the results of netstat -rn?

Chuck, the hub *** died *** out of the blue (short circuit? I dunno) and I had 
to  substitute it with a more modern switch AND the problem automagically 
disappeared. Now pings are ok.
Thanks anyway
Vittorio
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Newbie Questions

2005-05-17 Thread Joseph Borg
Hi,
I've got a couple of questions I was hoping someone could help me with:

- I've got an (extremely old) HP Scanjet 4c Scanner hooked up via an Adaptec
SCSI card to my system. Freebsd seems to recognize this scanner at boot: 
May 17 20:48:36 cronus kernel: pass0 at ahc0 bus 0 target 2 lun 0
May 17 20:48:36 cronus kernel: pass0: HP C2520A 3503 Fixed Processor
SCSI-2 device
May 17 20:48:36 cronus kernel: pass0: 3.300MB/s transfers
Would you know of any software (preferably under gnome/X that I can use to
operate this scanner)?

- Secondly, I've also got a NEC IDE DVD-RW drive hooked up which the system
recognizes fine. What software can I use to burn DVDs? All I'm looking for
is some software (preferably also under X/gnome) that would allow me to make
backup DVD's of files I have on the drive (i.e. Data DVDs).

- Finally, I've just installed gnome and when it starts up, I get the
following error: No volume control elements and/or devices found. The A8V
Motherboard on which the system is installed has an inbuilt 8.0 sound card.
Is there any way I can test this is working under Freebsd. Provided this is
the case, how can I eliminate the error in gnome?

Thanks for all your help.


Joe

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


RE: NVIDIA Driver on 5.4 RC3

2005-05-17 Thread Joseph Borg
-Original Message-
From: Mike Jeays [mailto:[EMAIL PROTECTED] 
Sent: 10 May 2005 22:00
To: Rod Person
Cc: [EMAIL PROTECTED]; freebsd-questions@freebsd.org
Subject: Re: NVIDIA Driver on 5.4 RC3

On Tue, 2005-05-10 at 12:37, Rod Person wrote:
 On Tue, 10 May 2005 12:24:30 -0400, Joseph Borg [EMAIL PROTECTED]
wrote:
 
  Hi,
  I've got an NVIDIA TNT2 and I'm trying to install NVIDIA's driver on the

  AMD
  64 Release of 5.4 RC3. The driver I'm trying to install is:
  NVIDIA-FreeBSD-x86-1.0-7174.tar.gz.
 
  When I try to install it, make stops with an error saying that vm86.h
was
  not found. Has anyone come across this problem before?
 
 I have the same type of card and use the NVIDIA driver with no problem.
 I'm not sure, but does the driver support AMD 64 cpu??
 
  Alternatively, does anyone know of another driver I can use with my card
  that will support 1024x768 at true colour depth?
 
 The Xorg driver 'nv' - I believe it is - should support 1024x768, it just
 doesn't do the 3D acceleration of the Nvidia driver.

Even the VESA driver works at this resolution with the GEFORCE 440 card
- I am not saying the performance is spectacular, but it works fine for
me.

Section Device

Identifier  Card0
Driver  vesa
VendorName  nVidia Corporation
BoardName   NV17 [GeForce4 MX 440]
ChipSet vesa
BusID   PCI:1:0:0
EndSection

Section Screen
Identifier Screen0
Device Card0
MonitorMonitor0
SubSection Display
Viewport   0 0
Depth 15
Modes 800x600
EndSubSection
SubSection Display
Viewport   0 0
Depth 16
Modes 1280x1024
EndSubSection
SubSection Display
Viewport   0 0
Depth 24
Modes 1024x768
EndSubSection
EndSection


Thanks Rod and Mike,
The NV driver works just fine in the Xorg conf. Had missed it the first time
round.

Joe





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


RE: 5.4 install disc1 will not find hard drive

2005-05-17 Thread fbsd_user


I have been using the same workbench PC to test the building of the
install cdrom from disc1.iso and miniinst.iso since version 3.0
through 5.3 without any problems. The 5.3 miniinst and disc1 work as
expected. 5.4 does not have an miniinst.iso so used disc1. When 5.4
disc1 install cdrom is used, sysinstall(standerd) option gives error
msg (No hard disk found). Then using the 5.3 disc1 cdrom install
proceeds as expected. I can also run ms/dos fdisk  format on the HD
without any problems. The hard drive is an western digital 310100
10GB 33 udma on ata0 as master with the slave unused. Normally
cabled with 80 pin cable. Have tried with 40 pin cable and get same
error message. Even tried 5.4 install cdrom against my production
server/gateway box which is running 4.10 on a western digital 24300
4GB 33 udma and get the (No hard disk found) msg again. Them tried
the 5.3 cd and it found the hard drive on the production box.

Then I used an western digital 102AA 10GB 66 udma HD and 5.4 found
the HD and installed just fine.

Looks like udma 33 support is not working in 5.4

Anybody have 5.4 installed on a udma 33 HD from a install cdrom?

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


Re: Newbie Questions

2005-05-17 Thread Greg Barniskis
Joseph Borg wrote:
Hi,
I've got a couple of questions I was hoping someone could help me with:
[snip]
- Finally, I've just installed gnome and when it starts up, I get the
following error: No volume control elements and/or devices found. The A8V
Motherboard on which the system is installed has an inbuilt 8.0 sound card.
Is there any way I can test this is working under Freebsd. Provided this is
the case, how can I eliminate the error in gnome?
Can't answer your first couple of questions, but I know from solving 
this for myself over the weekend that this one should just require 
getting the correct kernel module loaded for your sound card. See

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/sound-setup.html
For me, it was as simple as running the sound driver meta loader
kldload snd_driver
to see if my card would fly at all, and then looking at dmesg to see 
that the meta loader was finding device pcm0 and from there figuring 
out which sound module I needed to load from /boot/loader.conf with

my_modname_load=YES (can't remember the actual module name I used)
Then boot, and Gnome starts up happy (just like me every time I boot 
FreeBSD ;-).

--
Greg Barniskis, Computer Systems Integrator
South Central Library System (SCLS)
Library Interchange Network (LINK)
gregb at scls.lib.wi.us, (608) 266-6348
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Newbie Questions

2005-05-17 Thread Roland Smith
On Tue, May 17, 2005 at 09:58:51PM +0200, Joseph Borg wrote:
 Hi,
 I've got a couple of questions I was hoping someone could help me with:
 
 - I've got an (extremely old) HP Scanjet 4c Scanner hooked up via an Adaptec
 SCSI card to my system. Freebsd seems to recognize this scanner at boot: 
 May 17 20:48:36 cronus kernel: pass0 at ahc0 bus 0 target 2 lun 0
 May 17 20:48:36 cronus kernel: pass0: HP C2520A 3503 Fixed Processor
 SCSI-2 device
 May 17 20:48:36 cronus kernel: pass0: 3.300MB/s transfers
 Would you know of any software (preferably under gnome/X that I can use to
 operate this scanner)?

The 'xsane' port works fine. Also needs the 'sane-backends' port.
 
 - Secondly, I've also got a NEC IDE DVD-RW drive hooked up which the system
 recognizes fine. What software can I use to burn DVDs? All I'm looking for
 is some software (preferably also under X/gnome) that would allow me to make
 backup DVD's of files I have on the drive (i.e. Data DVDs).

For dvds: 'growisofs' (port), for CD's burncd (part of the distribution)
or 'cdrecord' (port). These are command-line programs. cdrecord requires
the use of following devices in the kernel: 'atapicam', 'scbus' 'cd' and
'pass'. More info on my FreeBSD page:
http://www.xs4all.nl/~rsmith/freebsd/

There are several GUIs for cdrecord, e.g. k3b (KDE) and gcombust
(GTK). Nautilus can also burn CDs with the nautilus-cd-burner port. Try
searching freshmeat.net.

 - Finally, I've just installed gnome and when it starts up, I get the
 following error: No volume control elements and/or devices found. The A8V
 Motherboard on which the system is installed has an inbuilt 8.0 sound card.
 Is there any way I can test this is working under Freebsd. Provided this is
 the case, how can I eliminate the error in gnome?

If you issue the 'mixer' command in a terminal, what kind of output do
you get? It should look something like:

$ mixer
Mixer vol  is currently set to  75:75
Mixer pcm  is currently set to  58:58
Mixer speaker  is currently set to  75:75
Mixer line is currently set to  75:75
Mixer mic  is currently set to   0:0
Mixer cd   is currently set to  75:75
Mixer rec  is currently set to   0:0
Mixer ogainis currently set to  50:50
Mixer line1is currently set to  75:75
Mixer phin is currently set to   0:0
Mixer phoutis currently set to   0:0
Recording source: mic

If not, there are several things that could be wrong, and it depends on
the error you get. Check that you have sufficient permissions on
/dev/mixer (should be crw-rw-rw-)

HTH, Roland

-- 
R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text.
public key: http://www.xs4all.nl/~rsmith/pubkey.txt


pgpdNdVfJuSCt.pgp
Description: PGP signature


Re: scanner software, dvd software, Gnome sound problem (was:Newbie Questions)

2005-05-17 Thread Bob Johnson
Message: 37
Date: Tue, 17 May 2005 21:58:51 +0200
From: Joseph Borg [EMAIL PROTECTED]
Subject: Newbie Questions
To: freebsd-questions@freebsd.org
Message-ID: [EMAIL PROTECTED]
Content-Type: text/plain;   charset=us-ascii
Hi,
I've got a couple of questions I was hoping someone could help me with:
- I've got an (extremely old) HP Scanjet 4c Scanner hooked up via an Adaptec
SCSI card to my system. Freebsd seems to recognize this scanner at boot: 
May 17 20:48:36 cronus kernel: pass0 at ahc0 bus 0 target 2 lun 0
May 17 20:48:36 cronus kernel: pass0: HP C2520A 3503 Fixed Processor
SCSI-2 device
May 17 20:48:36 cronus kernel: pass0: 3.300MB/s transfers
Would you know of any software (preferably under gnome/X that I can use to
operate this scanner)?

I've never used it, but the standard answer seems to be SANE:
/usr/ports/graphics/xsane
/usr/ports/graphics/sane-frontends
- Secondly, I've also got a NEC IDE DVD-RW drive hooked up which the system
recognizes fine. What software can I use to burn DVDs? All I'm looking for
is some software (preferably also under X/gnome) that would allow me to make
backup DVD's of files I have on the drive (i.e. Data DVDs).
I use dvd+rw-tools (which is not limited to dvd+rw devices, that's just 
how it started life):

/usr/ports/sysutils/dvd+rw-tools
- Finally, I've just installed gnome and when it starts up, I get the
following error: No volume control elements and/or devices found. The A8V
Motherboard on which the system is installed has an inbuilt 8.0 sound card.
Is there any way I can test this is working under Freebsd. Provided this is
the case, how can I eliminate the error in gnome?
First make sure your sound is working.  By default, no sound drivers are 
loaded.  See 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/sound-setup.html

The summary is, edit /boot/loader.conf to add the line kldload 
snd_driver, then reboot.  That loads most of the sound card drivers, so 
it will probably get it working, although not in the most efficient 
manner.  I'm assuming you are using FreeBSD 5.x, under 4.x the answer 
may be different.


Thanks for all your help.
Joe

It's best to post one question per message, with a descriptive subject 
line.  Someone who knows the answer is more likely to notice it that way.

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


Re: Video Driver

2005-05-17 Thread Roland Smith
On Tue, May 17, 2005 at 02:14:46PM -0400, Adam Stern wrote:
 I'm kind of new to freebsd.  I'm using Gnome, and the resolution doesn't
 go above 600x800.  I assume that is because it doesn't have the exact
 driver for my video card.  

Try Ctrl+Alt+Keypad-Plus and see if it switches to a higher resolution.

 I have an Intel motherboard, and when I
 looked it up on Intel's site, they didn't have any FreeBSD drivers for
 my motherboard, only RedHat and SuSE.  Is there something I can do to
 got my resolution to increase?

The driver is part of the X server, not part of the FreeBSD kernel
(if you forget about 3D accelleration). 

I would generally advise to avoid binary only drivers, because if you
upgrade your system and the driver stops working you're screwed. Instead
buy from people who give out enough specs to let the Xorg hackers write
open source drivers.

Study your /etc/X11/xorg.conf and read the manual page: 'man xorg.conf'.

If you want more specific advice, post your /etc/X11/xorg.conf file and
the /var/log/Xorg.0.log. 

Roland
-- 
R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text.
public key: http://www.xs4all.nl/~rsmith/pubkey.txt


pgpCEiKBld8lr.pgp
Description: PGP signature


ssh to new ip...

2005-05-17 Thread Bagus

Hi,

I'm moving my new freebsd 5.3 box to a new static ip address and I'm worried
that once I put it at the isp, I won't be able to ssh to it or anything.

Right now it's still at home and has dhcp. I'm not able to ssh from my
windoze box over to it thru my router. I'm getting a connection refused
error. Trying to ssh from another box on the net isn't successful either.
The operation times out.

I am able to ssh to that address from the box itself tho. Is this a firewall
issue or maybe more of a thing with my dhcp provider?

How can I tell?

Thanks,

Bagus


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


  1   2   >