Re: freebsd-questions Digest, Vol 96, Issue 37

2005-05-17 Thread [EMAIL PROTECTED]
On Wed, 18 May 2005 06:32:52 + (GMT)
[EMAIL PROTECTED] wrote:

> Patrikios wrote:
> > I say, is there a good reason why the main FreeBSD web site
> > (www.freebsd.org) is always out of date by comparison with
> > the mirrors?  Anyone relying on your main site will still
> > not know about the availability of 4.11 or 5.4.
> > 

> You must have a faulty web cache or something between you and the 
> freebsd.org site, I just checked and 5.4 and 4.11 are there for me. 
> (5.4 was there about an hour or two after it was out last week).
> 
> -Gabe

I agree likely a cache issue. I just checked the main site and it is
in sync with the mirror I use (both show  5.4 and 4.11). You might try
reloading the main page from your browser--depending on the browser you
use you may have to hold a key down when you reload/refresh to
actually reload the page from the net rather than the cache.

I may be going out on a limb here speaking about things of which I know
little, but I would say that the situation you describe would be highly
unlikely because I suspect that the mirror pages are direct copies of
the main site, not individually updated pages (i.e only the main site is
actually edited then it is copied over to the mirrors--hence virtually
impossible for the mirrors to be more up to date than the main site.

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


Re: Main web site (still) out of date

2005-05-17 Thread Tony Shadwick
Just out of curiousity...
cat /etc/resolv.conf
nslookup www.freebsd.org
:)
On Wed, 18 May 2005, Gavin R. Putland wrote:
Thanks to those who informed me that www.freebsd.org refers
to versions 4.11 and 5.4 in the right column.  I'll take
your word for it -- just as I hope you'll take my word when
I tell you that, from down here in Oz, the main page has
long said, and still says, that the latest versions are
4.10 and 5.3!
Curiouser and curiouser,
Gavin R. Putland.
___
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: 3C905B-TX problems on fresh install

2005-05-17 Thread Ion-Mihai Tetcu
On Tue, 17 May 2005 22:44:38 -0700
"Ted Mittelstaedt" <[EMAIL PROTECTED]> wrote:

> 
> The RealTek 8139 is also an iffy card, but not in the same way
> the 3c905 is.  With the 3c905 you have a lot of timing/driver
> issues to where you get different results depending on what
> motherboard your using it in.  With the Realtek, they always work
> from that standpoint, the problem is that sometimes their autodetection
> goes haywire and you have to hard-code them to a specific speed
> and duplex in your ifconfig statement.  They also don't have an
> optimal register setup and so consume more CPU to get data in and out
> of the card.  You wouldn't use one in a FreeBSD router, but other
> than that, they are fine under FreeBSD.  I use about 3 or 4 of them
> myself.

And some of the rl cards (the older ones from my experience) have the
nasty habit of blocking themselves after some time. I have a cron job
the ifconfigs down and up each 4 hours to resolve that.


-- 
IOnut
Unregistered ;) FreeBSD "user"


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


Re: Main web site (still) out of date

2005-05-17 Thread Gavin R. Putland

Thanks to those who informed me that www.freebsd.org refers
to versions 4.11 and 5.4 in the right column.  I'll take
your word for it -- just as I hope you'll take my word when
I tell you that, from down here in Oz, the main page has
long said, and still says, that the latest versions are
4.10 and 5.3!

Curiouser and curiouser,
Gavin R. Putland.

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


Re: 3C905B-TX problems on fresh install

2005-05-17 Thread Olivier Nicole
> Thanks, Ted. Exactly what I needed to know. The easiest card for me to
> pick up to replace it with is a realtek 8139d. Any opinion on that
> card or the rl driver?

lately I tend to go for intel when it is a production machine. But I
still have some 3c905 floating around.

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


Re: Main web site out of date

2005-05-17 Thread Chad Leigh -- Shire.Net LLC
On May 17, 2005, at 11:20 PM, Patrikios wrote:
I say, is there a good reason why the main FreeBSD web site
(www.freebsd.org) is always out of date by comparison with
the mirrors?  Anyone relying on your main site will still
not know about the availability of 4.11 or 5.4.
???
On the front page it says that 5.4 and 4.11 are the current of their  
respective versions

Chad
Kind regards,
--
Gavin R. Putland
(Brisbane, Australia)
NO SPAM: Please don't make my email address publicly
visible in plain text or HTML.
___
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]"


Re: Apache libraries/modules

2005-05-17 Thread Olivier Nicole
> Did you do a "make install"
> 
> > No problem so far, then I try to:
> > # work/apache_1.3.33/src/httpd -t -DSSL
> 
> 
> I think you need to do "make install" then httpd should be in 
> /usr/local/sbin/httpd
> and the libraries should also be int he right place.
> Whether there is an additional change/setting I am not sure, but I do 
> think that trying to run a port from the "work" directory is unlikely to work.
Yes I did (in a previous install that I did not deinstall).

But anyway I found it: the directive ServerRoot in apache conf file
taht is a bit more than the place where to find the log and conf
file. It is also where to find the modules...

Thanks

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


Re: Main web site out of date

2005-05-17 Thread Gabriel O'Brien
You must have a faulty web cache or something between you and the 
freebsd.org site, I just checked and 5.4 and 4.11 are there for me. 
(5.4 was there about an hour or two after it was out last week).

-Gabe
Gabriel M. O'Brien
http://web.quay.net/
Patrikios wrote:
I say, is there a good reason why the main FreeBSD web site
(www.freebsd.org) is always out of date by comparison with
the mirrors?  Anyone relying on your main site will still
not know about the availability of 4.11 or 5.4.
Kind regards,
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: Upgrading from Samba 2 to Samba 3

2005-05-17 Thread Konrad Heuer

On Tue, 17 May 2005, Ted Mittelstaedt wrote:

> It's great if you like your server applications to be twice as
> complicated
> as before.  Seriously, though, you can turn off all the fru-fru and
> set it up pretty much equivalent to a samba 2 server.  The fru-fru is
> needed if you have a lot of XP stuff and you want to interoperate with a
> Microsoft AD.
>
> Ted
>
> > -Original Message-
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] Behalf Of Roger Merritt
> > Sent: Tuesday, May 17, 2005 7:40 PM
> > To: freebsd-questions@freebsd.org
> > Subject: Upgrading from Samba 2 to Samba 3
> >
> >
> > I've just become aware that samba.org is no longer supporting Samba 2
> > (which has served me well for so long) and I should upgrade to
> > Samba 3,
> > which is now the stable version. I don't find any warnings about it in
> > /usr/ports/UPDATING. Does anyone have any gotchas I should be aware of?
> >

I recently heard a lecture about the evolution of Samba 4. Seems to me you
can't understand it unless your are Microsoft certified systems engineer
with lots of special active directory knowledge ... ;-)

Best regards

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: Main web site out of date

2005-05-17 Thread Olivier Nicole
> I say, is there a good reason why the main FreeBSD web site
> (www.freebsd.org) is always out of date by comparison with
> the mirrors?  Anyone relying on your main site will still
> not know about the availability of 4.11 or 5.4.

Hu?

I only access the main site and it reads on the right:

Production Release: 5.4
· Installation Guide
· Release Notes
· Hardware Notes
· Installation Notes
· Errata
· Migration Guide

Production (Legacy) Release: 4.11
· Installation Guide
· Release Notes
· Hardware Notes
· Installation Notes
· Errata

Olivier
___
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
Ted Mittelstaedt wrote:
> Would you post a diff of the files you had to change to the list once
> you get it running?

If you follow this thread, it would be quite easy. Anyway, it is my pleasure to 
do a summary here. But I don't know how to put the diff result into a more 
readable format (like the old line is prefixed with a "-", and the newline is 
prefixed with a "+") than this: 

gso_dev_2# diff configure.org configure
5234,5235c5234,5235
<   GGO_SOME_WARNINGS='-Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual 
-Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes 
-Wmissing-declarations -Wp,-lang-c89'
<   GGO_ALL_WARNINGS='-Wall -W -Wshadow -Wpointer-arith -Wbad-function-cast 
-Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes 
-Wmissing-prototypes -Wmissing-declarations -Wp,-lang-c89'
---
>   GGO_SOME_WARNINGS='-Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual 
> -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes 
> -Wmissing-declarations -Wp,-std=c89'
>   GGO_ALL_WARNINGS='-Wall -W -Wshadow -Wpointer-arith -Wbad-function-cast 
> -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes 
> -Wmissing-prototypes -Wmissing-declarations -Wp,-std=c89'

It is quite unreadable. Actually, all I have done to this file is: 
sed -i -e "s/-lang-c89/-std=c89/g" configure

If you can tell me how to do it in a "-", "+" format, I will post a complete 
revision to the list. 

thanks, 

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: Upgrading from Samba 2 to Samba 3

2005-05-17 Thread Joerg Pulz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Wed, 18 May 2005, Roger Merritt wrote:
I've just become aware that samba.org is no longer supporting Samba 2 (which 
has served me well for so long) and I should upgrade to Samba 3, which is now 
the stable version. I don't find any warnings about it in 
/usr/ports/UPDATING. Does anyone have any gotchas I should be aware of?
Hi,
you should definitely take a look into the official Samba-3 HOWTO.
http://us3.samba.org/samba/docs/Samba-HOWTO-Collection.pdf
there is a separate part about migration and updating.
you should also read about the "Account Information Databases" in 
part-III/chapter 10, as this is importand to reuse your old smbpasswd or 
passdb.tdb file.

good luck ;-)
Joerg
- -- 
The beginning is the most important part of the work.
-Plato
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (FreeBSD)

iD8DBQFCitbiSPOsGF+KA+MRAhAqAJoCVyfh4ncLnS9S5ZK7/qgXSr8CYwCdF8Iw
fr/opIoZLDrtZ6tjUWRKdtI=
=67og
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Apache libraries/modules

2005-05-17 Thread Francisco Reyes
On Wed, 18 May 2005, Olivier Nicole wrote:
I build apache13-modssl with:
# nice make WITH_APACHE_SUEXEC=yes APACHE_SUEXEC_CALLER=httpd 
APACHE_SUEXEC_DOCROOT=/usr/local/apache/sites
APACHE_SUEXEC_UIDMIN=80 APACHE_SUEXEC_GIDMIN=30 PREFIX=/usr/local 
PORTDIR=/usr/local
Did you do a "make install"
No problem so far, then I try to:
# work/apache_1.3.33/src/httpd -t -DSSL

I think you need to do "make install" then httpd should be in 
/usr/local/sbin/httpd
and the libraries should also be int he right place.
Whether there is an additional change/setting I am not sure, but I do 
think that trying to run a port from the "work" directory is unlikely to work.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: 3C905B-TX problems on fresh install

2005-05-17 Thread Ted Mittelstaedt

The RealTek 8139 is also an iffy card, but not in the same way
the 3c905 is.  With the 3c905 you have a lot of timing/driver
issues to where you get different results depending on what
motherboard your using it in.  With the Realtek, they always work
from that standpoint, the problem is that sometimes their autodetection
goes haywire and you have to hard-code them to a specific speed
and duplex in your ifconfig statement.  They also don't have an
optimal register setup and so consume more CPU to get data in and out
of the card.  You wouldn't use one in a FreeBSD router, but other
than that, they are fine under FreeBSD.  I use about 3 or 4 of them
myself.

Realtek also has developers who actually run FreeBSD themselves
and have contributed code to the rl driver in FreeBSD, which is a 360
degrees shift from 3com's "I never heard of FreeBSD and I don't want
to know about it" attitude.

Ted

> -Original Message-
> From: Dana Baguley [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, May 17, 2005 10:34 PM
> To: Ted Mittelstaedt
> Cc: freebsd-questions@freebsd.org
> Subject: Re: 3C905B-TX problems on fresh install
>
>
> Thanks, Ted. Exactly what I needed to know. The easiest card for me to
> pick up to replace it with is a realtek 8139d. Any opinion on that
> card or the rl driver?
>
> On 5/17/05, Ted Mittelstaedt <[EMAIL PROTECTED]> wrote:
> > Hi Dana,
> >
> >   Unfortunately, the 3com 3C905b card is a rather so-so network card
> > from a hardware point of view, and the xl driver that drives it, has
> > had lots of fixes applied, but the driver still isn't the
> best driver.
> >
> >   I happen to have a server right now using one of those
> cards and it's
> > rock solid.  BUT, the network card in it just happened to come out of
> > an IBM Aptiva running Windows 98 where it gave huge amounts
> of trouble -
> > I only put it in the BSD box to see what would happen.
> After I pulled
> > that card out of the Aptiva I put in a cheapo Realtek and the Aptiva
> > has been running Win 98 solid ever since.
> >
> >   In the past we used these cards under Windows - then when
> > those Windows boxes got too old and we started converting them to
> > FreeBSD and Linux, we started having lots of problems similar to what
> > you are seeing. Some machines would work fine, others not.
> At one point
> > I had 3 of the cards out, all different board revisions but
> exact same
> > model number, and one of the cards would work in any box
> under any OS,
> > one of the cards would only work in some boxes but not
> others, and the
> > last card wouldn't work in anything under either Linux or FreeBSD, it
> > would only work under Windows.
> >
> > Ted
> >
> > > -Original Message-
> > > From: [EMAIL PROTECTED]
> > > [mailto:[EMAIL PROTECTED] Behalf Of
> Dana Baguley
> > > Sent: Tuesday, May 17, 2005 8:57 PM
> > > To: freebsd-questions@freebsd.org
> > > Subject: 3C905B-TX problems on fresh install
> > >
> > >
> > > Hi, I'm a FreeBSD Newbie. I've had some experience with Linux,
> > > particularly Gentoo. I'm running a computer that I've installed
> > > FreeBSD on behind a router that's connected to my DSL modem. The
> > > router provides DHCP for all the 3 computers on my home network.
> > > Everything works fine with the other computers and
> everything worked
> > > fine on this computer when I was running Gentoo on it. My NIC is a
> > > 3Com 3C905B-TX. My motherboard is a EPOX EP-3VBA. When I installed
> > > FreeBSD I wanted to use FTP, but the DHCP step didn't work so I
> > > installed from CD. Now whenever I boot up I get the error message
> > > "xl0: watchdog timeout" repeatedly when dhclient starts
> up, when sshd
> > > comes up, and occasionally after boot at seemingly random
> times. I've
> > > noticed when I get this error that my link light goes off
> for a little
> > > over a second. I can only ping the localhost. Also I get
> an error with
> > > the date, time, name of my computer, and "inetd[435]:
> ssh/tcp: bind:
> > > Address already in use" every ten minutes. netstat -rn
> shows 10.0.0.1
> > > (the router) as the default gateway and 127.0.0.1 as the
> gateway for
> > > 10.0.0.100, the address assigned by the router. The correct MAC
> > > address for the router shows up as the gateway for 10.0.0.1.  The
> > > computer shows up on the router's DHCP clients table. ifconfig -a
> > > gives me
> > >
> > > xl0: flags=8843 mtu 1500
> > > options=9
> > > inet6 fe80::210:5aff:fe09:f53e%xl0 prefixlen 64 scopeid 0x1
> > > inet 10.0.0.100 netmask 0xff00 broadcast 10.0.0.255
> > > ether 00:10:5a:09:f5:3e
> > > media: Ethernet autoselect (100baseTX )
> > > status: no active
> > > plip0: flags=108810 mtu 1500
> > > lo0: flags=8049 mtu 16384
> > > inet 127.0.0.1 netmask 0xff00
> > > inet6 ::1 prefixlen 128
> > > inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
> > >
> > > I don't know what to do to get networking working on this computer.
> > > Any ideas? Tha

Re: Upgrading from Samba 2 to Samba 3

2005-05-17 Thread Francisco Reyes
On Wed, 18 May 2005, Roger Merritt wrote:
/usr/ports/UPDATING. Does anyone have any gotchas I should be aware of?
You running 4.X or 5.X
One FreeBSD gotach I recall was the need to have
samba_enable="YES" in /etc/rc.conf
As for Samba... I think there was one (maybe two) options in smb.conf 
which were no longer valid and I just took them out and all was well.

I only have samba on 2 very small networks, but other than the smb.conf 
options have not had any issues/problems.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: 3C905B-TX problems on fresh install

2005-05-17 Thread Dana Baguley
Thanks, Ted. Exactly what I needed to know. The easiest card for me to
pick up to replace it with is a realtek 8139d. Any opinion on that
card or the rl driver?

On 5/17/05, Ted Mittelstaedt <[EMAIL PROTECTED]> wrote:
> Hi Dana,
> 
>   Unfortunately, the 3com 3C905b card is a rather so-so network card
> from a hardware point of view, and the xl driver that drives it, has
> had lots of fixes applied, but the driver still isn't the best driver.
> 
>   I happen to have a server right now using one of those cards and it's
> rock solid.  BUT, the network card in it just happened to come out of
> an IBM Aptiva running Windows 98 where it gave huge amounts of trouble -
> I only put it in the BSD box to see what would happen.   After I pulled
> that card out of the Aptiva I put in a cheapo Realtek and the Aptiva
> has been running Win 98 solid ever since.
> 
>   In the past we used these cards under Windows - then when
> those Windows boxes got too old and we started converting them to
> FreeBSD and Linux, we started having lots of problems similar to what
> you are seeing. Some machines would work fine, others not.  At one point
> I had 3 of the cards out, all different board revisions but exact same
> model number, and one of the cards would work in any box under any OS,
> one of the cards would only work in some boxes but not others, and the
> last card wouldn't work in anything under either Linux or FreeBSD, it
> would only work under Windows.
> 
> Ted
> 
> > -Original Message-
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] Behalf Of Dana Baguley
> > Sent: Tuesday, May 17, 2005 8:57 PM
> > To: freebsd-questions@freebsd.org
> > Subject: 3C905B-TX problems on fresh install
> >
> >
> > Hi, I'm a FreeBSD Newbie. I've had some experience with Linux,
> > particularly Gentoo. I'm running a computer that I've installed
> > FreeBSD on behind a router that's connected to my DSL modem. The
> > router provides DHCP for all the 3 computers on my home network.
> > Everything works fine with the other computers and everything worked
> > fine on this computer when I was running Gentoo on it. My NIC is a
> > 3Com 3C905B-TX. My motherboard is a EPOX EP-3VBA. When I installed
> > FreeBSD I wanted to use FTP, but the DHCP step didn't work so I
> > installed from CD. Now whenever I boot up I get the error message
> > "xl0: watchdog timeout" repeatedly when dhclient starts up, when sshd
> > comes up, and occasionally after boot at seemingly random times. I've
> > noticed when I get this error that my link light goes off for a little
> > over a second. I can only ping the localhost. Also I get an error with
> > the date, time, name of my computer, and "inetd[435]: ssh/tcp: bind:
> > Address already in use" every ten minutes. netstat -rn shows 10.0.0.1
> > (the router) as the default gateway and 127.0.0.1 as the gateway for
> > 10.0.0.100, the address assigned by the router. The correct MAC
> > address for the router shows up as the gateway for 10.0.0.1.  The
> > computer shows up on the router's DHCP clients table. ifconfig -a
> > gives me
> >
> > xl0: flags=8843 mtu 1500
> > options=9
> > inet6 fe80::210:5aff:fe09:f53e%xl0 prefixlen 64 scopeid 0x1
> > inet 10.0.0.100 netmask 0xff00 broadcast 10.0.0.255
> > ether 00:10:5a:09:f5:3e
> > media: Ethernet autoselect (100baseTX )
> > status: no active
> > plip0: flags=108810 mtu 1500
> > lo0: flags=8049 mtu 16384
> > inet 127.0.0.1 netmask 0xff00
> > inet6 ::1 prefixlen 128
> > inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
> >
> > I don't know what to do to get networking working on this computer.
> > Any ideas? Thanks in advance for your help!
> >
> > Dana Baguley
> > ___
> > 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 Ted Mittelstaedt


> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Xu Qiang
> Sent: Tuesday, May 17, 2005 9:58 PM
> To: Dan Nelson; Xu Qiang
> Cc: Giorgos Keramidas; freebsd-questions@freebsd.org
> Subject: RE: The availability of socketbits.h?
>
>
> Dan Nelson wrote:
> > The rest of the code in command.c makes use of the
> command_count value
> > and assumes that all the array elements are fully populated.  The
> > qsort routime tried to compare a NULL comm_name value and seg
> > faulted.  His fix would have worked if the rest of the program used
> > the same code loop as the one at command.c:1149, but it doesn't.
>
> Yeah, you hit the point again!
>
> Just found the variable noofcomms (= COUNTOF(command_list)) is
> used in the function qsort()
> -
> qsort(&(command_list),noofcomms,sizeof command_list[0],&command_cmp);
> -
>
> No wonder trailing NULL element at the end of the array
> command_list[] is used in qsort(), and the segmentation fault.
>
> Since the number of actual non-NULL elements in the array is
> one less than the array's size, I changed the calculation of
> noofcomms as:
> -
> noofcomms = COUNTOF(command_list) - 1;
> -
>
> Now the program can work properly. :)
>
> > The author may not have tested it on many systems, and since the
> > source is so old (relatively speaking), standards have changed.  It's
> > no longer acceptable to provide your own prototypes for system
> > functions, for example (which was the cause of your first few compile
> > errors).
>
> I am very lucky to have you and Giorgos around to help me in
> compiling this software. Thank you two so much for your help
> and patience!
>
> with my best wishes,
> Xu Qiang
>

Would you post a diff of the files you had to change to the list once
you get it running?

Thanks,
Ted

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


Main web site out of date

2005-05-17 Thread Patrikios

I say, is there a good reason why the main FreeBSD web site
(www.freebsd.org) is always out of date by comparison with
the mirrors?  Anyone relying on your main site will still
not know about the availability of 4.11 or 5.4.

Kind regards,

-- 

Gavin R. Putland
(Brisbane, Australia)

NO SPAM: Please don't make my email address publicly
visible in plain text or HTML.

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


illegal user root user failed login attempts

2005-05-17 Thread Peter Kropholler
This link might help:
http://seclists.org/lists/incidents/2005/Feb/0004.html
Karol,
Thanks for this pointer.
There are two really important pieces of advice on that web page
which persuade me to ditch any thoughts of trying to determine
what passwords people are using with their illegal login scams:
1. it's probably illegal
2. it potentially gives hackers an excuse: someone else knew their  
password?!

As things stand, ssh is designed so you can't get at people's passwords
and I am leaving it alone. Focussing instead on the task of making
sure my passwords are strong, limiting AllowUsers to specific users and
trusted ip addresses, and moving ssh off port 22.
Other advice I received was to consider logging ip addresses and
sending complaints to the relevant authorities: however I doubt that
there is very much point in doing so since my guess is that most
scams come from hacked machines anyway. Basically you never see
the same ip address twice.
many thanks
Peter K

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


RE: Upgrading from Samba 2 to Samba 3

2005-05-17 Thread Ted Mittelstaedt

It's great if you like your server applications to be twice as
complicated
as before.  Seriously, though, you can turn off all the fru-fru and
set it up pretty much equivalent to a samba 2 server.  The fru-fru is
needed if you have a lot of XP stuff and you want to interoperate with a
Microsoft AD.

Ted

> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Roger Merritt
> Sent: Tuesday, May 17, 2005 7:40 PM
> To: freebsd-questions@freebsd.org
> Subject: Upgrading from Samba 2 to Samba 3
>
>
> I've just become aware that samba.org is no longer supporting Samba 2
> (which has served me well for so long) and I should upgrade to
> Samba 3,
> which is now the stable version. I don't find any warnings about it in
> /usr/ports/UPDATING. Does anyone have any gotchas I should be aware of?
>
> --
> Roger
>
> ___
> 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: 3C905B-TX problems on fresh install

2005-05-17 Thread Ted Mittelstaedt
Hi Dana,

  Unfortunately, the 3com 3C905b card is a rather so-so network card
from a hardware point of view, and the xl driver that drives it, has
had lots of fixes applied, but the driver still isn't the best driver.

  I happen to have a server right now using one of those cards and it's
rock solid.  BUT, the network card in it just happened to come out of
an IBM Aptiva running Windows 98 where it gave huge amounts of trouble -
I only put it in the BSD box to see what would happen.   After I pulled
that card out of the Aptiva I put in a cheapo Realtek and the Aptiva
has been running Win 98 solid ever since.

  In the past we used these cards under Windows - then when
those Windows boxes got too old and we started converting them to
FreeBSD and Linux, we started having lots of problems similar to what
you are seeing. Some machines would work fine, others not.  At one point
I had 3 of the cards out, all different board revisions but exact same
model number, and one of the cards would work in any box under any OS,
one of the cards would only work in some boxes but not others, and the
last card wouldn't work in anything under either Linux or FreeBSD, it
would only work under Windows.

Ted

> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Dana Baguley
> Sent: Tuesday, May 17, 2005 8:57 PM
> To: freebsd-questions@freebsd.org
> Subject: 3C905B-TX problems on fresh install
> 
> 
> Hi, I'm a FreeBSD Newbie. I've had some experience with Linux,
> particularly Gentoo. I'm running a computer that I've installed
> FreeBSD on behind a router that's connected to my DSL modem. The
> router provides DHCP for all the 3 computers on my home network.
> Everything works fine with the other computers and everything worked
> fine on this computer when I was running Gentoo on it. My NIC is a
> 3Com 3C905B-TX. My motherboard is a EPOX EP-3VBA. When I installed
> FreeBSD I wanted to use FTP, but the DHCP step didn't work so I
> installed from CD. Now whenever I boot up I get the error message
> "xl0: watchdog timeout" repeatedly when dhclient starts up, when sshd
> comes up, and occasionally after boot at seemingly random times. I've
> noticed when I get this error that my link light goes off for a little
> over a second. I can only ping the localhost. Also I get an error with
> the date, time, name of my computer, and "inetd[435]: ssh/tcp: bind:
> Address already in use" every ten minutes. netstat -rn shows 10.0.0.1
> (the router) as the default gateway and 127.0.0.1 as the gateway for
> 10.0.0.100, the address assigned by the router. The correct MAC
> address for the router shows up as the gateway for 10.0.0.1.  The
> computer shows up on the router's DHCP clients table. ifconfig -a
> gives me
> 
> xl0: flags=8843 mtu 1500
> options=9
> inet6 fe80::210:5aff:fe09:f53e%xl0 prefixlen 64 scopeid 0x1
> inet 10.0.0.100 netmask 0xff00 broadcast 10.0.0.255
> ether 00:10:5a:09:f5:3e
> media: Ethernet autoselect (100baseTX ) 
> status: no active
> plip0: flags=108810 mtu 1500
> lo0: flags=8049 mtu 16384
> inet 127.0.0.1 netmask 0xff00
> inet6 ::1 prefixlen 128
> inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
> 
> I don't know what to do to get networking working on this computer.
> Any ideas? Thanks in advance for your help!
> 
> Dana Baguley
> ___
> 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 Xu Qiang
Dan Nelson wrote:
> The rest of the code in command.c makes use of the command_count value
> and assumes that all the array elements are fully populated.  The
> qsort routime tried to compare a NULL comm_name value and seg
> faulted.  His fix would have worked if the rest of the program used
> the same code loop as the one at command.c:1149, but it doesn't.

Yeah, you hit the point again! 

Just found the variable noofcomms (= COUNTOF(command_list)) is used in the 
function qsort() 
-
qsort(&(command_list),noofcomms,sizeof command_list[0],&command_cmp);
-

No wonder trailing NULL element at the end of the array command_list[] is used 
in qsort(), and the segmentation fault.

Since the number of actual non-NULL elements in the array is one less than the 
array's size, I changed the calculation of noofcomms as: 
-
noofcomms = COUNTOF(command_list) - 1;
-

Now the program can work properly. :)

> The author may not have tested it on many systems, and since the
> source is so old (relatively speaking), standards have changed.  It's
> no longer acceptable to provide your own prototypes for system
> functions, for example (which was the cause of your first few compile
> errors). 

I am very lucky to have you and Giorgos around to help me in compiling this 
software. Thank you two so much for your help and patience!

with my best wishes,
Xu Qiang


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


named & ntpd quirkyness

2005-05-17 Thread Gabriel O'Brien
Hi folks,
I've a FreeBSD 5.4 system here that is running an ipfw firewall, ntpd, 
BIND, etc. and I'm having a strange little problem whenever I reboot my 
system.  This system is a gateway multihomed with 4 interfaces and 
connected to the internet via plain old PPPoE/ADSL.  For the most part 
everything seems to be working like a charm however whenever I reboot 
the server I have two issues:

1) named doesn't seem to be able to bind to the tun0 interface properly, 
I've got a few theories about this but none of them have gotten me 
anywhere!  At first I thought it was my firewall rules, but after 
playing around with it, including building a firewall with "options 
IPFIREWALL_DEFAULT_TO_ACCEPT" and turning off all the rules I'm starting 
to think that wasn't it.  I've wondered if it can't connect becasue that 
interface doesn't exist yet (since it's PPPoE), but I'm not sure about 
that either.

At any rate the symptom is that named is listening and accepting queries 
on all of the interfaces including loopback, except the tun0 interface. 
 There's currently nothing in the logs to suggest anything awry, though 
for a while I was getting these errors:

May  9 21:03:48 sol named[284]: creating IPv4 interface tun0 failed; 
interface ignored

I can't figure out what I might have done to stop those errors from 
appearing but they don't anymore.

2) ntpd doesn't connect properly to it's servers via the tun0 interface 
though this symptom is much more intermittent and I don't have any hard 
evidence other than my own two eyes to actually prove it ever happened. 
 As of right now it's working fine.

I've been trying to sort out this problem on and off for about a month 
of so on both 5.3 and 5.4 and haven't had a whole lot of luck.  I'm 
wondering if anyone has any suggestions as to where I can look to sort 
this out.  I have a doable workaround, essentially I just log in after a 
reboot and restart named and then everything is fine, but it's a bit of 
a hassle and if I forget eventually my server will stop resolving (when 
the zone expires in various caches out there)... this is how I 
discovered it the first time.  I can post some more info on my setup if 
anyone thinks it will help, but I won't clutter up inboxes with loads of 
config files unless it's necessary.

Thanks in advance for any help!
-Gabe
Gabriel M. O'Brien
http://web.quay.net/
___
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 Kris Kennaway
On Tue, May 17, 2005 at 06:08:27PM -0500, Tony Shadwick wrote:
> Was this a 5.4 change?  Very important since I haven't migrated our 
> systems from 5.3 to 5.4 yet.  I have a test build running on a single cpu 
> box without smp enabled.  Would have sucked if I hadn't known that ahead 
> of time...

Nope, you just used the wrong option name (hint: case is important).

Kris


pgpoF9utqlNQH.pgp
Description: PGP signature


3C905B-TX problems on fresh install

2005-05-17 Thread Dana Baguley
Hi, I'm a FreeBSD Newbie. I've had some experience with Linux,
particularly Gentoo. I'm running a computer that I've installed
FreeBSD on behind a router that's connected to my DSL modem. The
router provides DHCP for all the 3 computers on my home network.
Everything works fine with the other computers and everything worked
fine on this computer when I was running Gentoo on it. My NIC is a
3Com 3C905B-TX. My motherboard is a EPOX EP-3VBA. When I installed
FreeBSD I wanted to use FTP, but the DHCP step didn't work so I
installed from CD. Now whenever I boot up I get the error message
"xl0: watchdog timeout" repeatedly when dhclient starts up, when sshd
comes up, and occasionally after boot at seemingly random times. I've
noticed when I get this error that my link light goes off for a little
over a second. I can only ping the localhost. Also I get an error with
the date, time, name of my computer, and "inetd[435]: ssh/tcp: bind:
Address already in use" every ten minutes. netstat -rn shows 10.0.0.1
(the router) as the default gateway and 127.0.0.1 as the gateway for
10.0.0.100, the address assigned by the router. The correct MAC
address for the router shows up as the gateway for 10.0.0.1.  The
computer shows up on the router's DHCP clients table. ifconfig -a
gives me

xl0: flags=8843 mtu 1500
options=9
inet6 fe80::210:5aff:fe09:f53e%xl0 prefixlen 64 scopeid 0x1
inet 10.0.0.100 netmask 0xff00 broadcast 10.0.0.255
ether 00:10:5a:09:f5:3e
media: Ethernet autoselect (100baseTX ) 
status: no active
plip0: flags=108810 mtu 1500
lo0: flags=8049 mtu 16384
inet 127.0.0.1 netmask 0xff00
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3

I don't know what to do to get networking working on this computer.
Any ideas? Thanks in advance for your help!

Dana Baguley
___
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 18), Xu Qiang said:
> Dan Nelson wrote:
> > That for loop should really read:
> > 
> >   for(i=0; i > 
> > , since command_count should already be set to
> > COUNTOF(command_list) by a previous call to command_init().
> 
> Thank you, Dan. Your fix works!
> 
> Still, I wonder why the fix of Giorgos doesn't work, because it seems
> quite right to me, too.

The rest of the code in command.c makes use of the command_count value
and assumes that all the array elements are fully populated.  The qsort
routime tried to compare a NULL comm_name value and seg faulted.  His
fix would have worked if the rest of the program used the same code
loop as the one at command.c:1149, but it doesn't.
 
> (Btw, I can't understand why this software has so many bugs to be
> fixed before it can be compiled and run successfully. The developers
> don't check their product before shipping out? I have compiled and
> installed quite a number of GNU softwares, never saw such a buggy
> one. Yet, I am a go game lover, and want to set up a local NNGS
> server. And this is the only available open source go server software
> in the world. Alas!)

The author may not have tested it on many systems, and since the source
is so old (relatively speaking), standards have changed.  It's no
longer acceptable to provide your own prototypes for system functions,
for example (which was the cause of your first few compile errors).

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


Apache libraries/modules

2005-05-17 Thread Olivier Nicole
Hi,

I am running Apache/moddssl/php a 5.3 RELENG server. I build the
distribution by hand from the source: everything installed in
/usr/local/apache

For simplicity/compatibility/upgradability, I want to switch to the
ports. But when I try to run the new apache, it always looks for the
modules in /usr/local/apache/libexec/apache instead of the expected
/usr/local/libexec/apache

I build apache13-modssl with:

# nice make WITH_APACHE_SUEXEC=yes APACHE_SUEXEC_CALLER=httpd 
APACHE_SUEXEC_DOCROOT=/usr/local/apache/sites APACHE_SUEXEC_UIDMIN=80 
APACHE_SUEXEC_GIDMIN=30 PREFIX=/usr/local PORTDIR=/usr/local

No problem so far, then I try to:

# work/apache_1.3.33/src/httpd -t -DSSL
Syntax error on line 38 of /usr/local/etc/apache/httpd.conf:
Cannot load /usr/local/apache/libexec/apache/mod_mmap_static.so into server: 
Cannot open "/usr/local/apache/libexec/apache/mod_mmap_static.so"
# ls /usr/local/libexec/apache
httpd.exp   mod_cgi.so  mod_mime_magic.so
libphp4.so  mod_define.so   mod_mmap_static.so
libproxy.so mod_digest.so   mod_negotiation.so
[...]

I beleive it is something with the order of the libraries but I don't
know where to go from here.

TIA

Olivier
___
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
Dan Nelson wrote:
> It's usually caused by an incorrect pointer, or a stack overflow,
> where the program tries to read a memory address not available to it.
> In fact, I can see the problem right away.  command_list is a
> statically-initilized array (defined at command_list.h:55).  Note that
> there is no special "end-of-list" value at the end of the array.  The
> loop at command.c:1149 loops until command_list[i].comm_name is NULL,
> but since there's no explicit NULL entry at the end, the loop falls
> off the end of the array, where it eventually hits an unmapped page of
> memory and gets a bus error.
> 
> That for loop should really read:
> 
>   for(i=0; i 
> , since command_count should already be set to COUNTOF(command_list)
> by a previous call to command_init().

Thank you, Dan. Your fix works!

Still, I wonder why the fix of Giorgos doesn't work, because it seems quite 
right to me, too.

(Btw, I can't understand why this software has so many bugs to be fixed before 
it can be compiled and run successfully. The developers don't check their 
product before shipping out? I have compiled and installed quite a number of 
GNU softwares, never saw such a buggy one. Yet, I am a go game lover, and want 
to set up a local NNGS server. And this is the only available open source go 
server software in the world. Alas!)

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: Cyrus IMAP from Ports in 5.X?

2005-05-17 Thread Francisco Reyes
On Tue, 17 May 2005, [EMAIL PROTECTED] wrote:
Francisco Reyes wrote:
Anyone got Cyrus IMAP working from installing the ports?

Are you running both sasl AND sasl2 ports at the same time?
No.
sasldblistusers2 is from sasl2 and saslpasswd is from sasl.
If that was just a typo,
Yup.
check permissions on /usr/local/etc/sasldb
(or /usr/local/etc/sasldb2) and make sure it allows reading by the
user running your pop/imap/mta.
Running saslpasswd2 as root.
For /usr/local/etc/sasldb2 also tried setting the owner to cyrus and 
giving the group (mail) write capabilities.

Changing to use a different Berkeley DB version changes the error to
May 17 23:04:16 testpompa saslpasswd2: setpass succeeded for fran
May 17 23:04:16 testpompa saslpasswd2: error deleting entry from sasldb: 
DB_NOTFOUND: No matching key/data pair found

Where able to get Cyrus running from ports?
___
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
Giorgos Keramidas wrote:
> A bug in the program.  The relevant code seems to be this part of
> nngs-1.1.14/nrat/command.c:
> 
>1131 void commands_init()
>1132 {
>1133   FILE *fp, *afp;
>1134   int i = 0;
>1135
>1136   fp = xyfopen(FILENAME_CMDS, "w");
>1137   if (!fp) {
>1138 return;
>1139   }
>1140   afp = xyfopen(FILENAME_ACMDS, "w");
>1141   if (!afp) {
>1142 fclose(fp);
>1143 return;
>1144   }
>1145   for (i = 0; command_list[i].comm_name; i++) {
>1146 if (command_list[i].adminLevel >= ADMIN_ADMIN) {
>1147   fprintf(afp, "%s\n", command_list[i].comm_name);
>1148 } else {
>1149   fprintf(fp, "%s\n", command_list[i].comm_name);
>1150 }
>1151   }
>1152   fclose(fp);
>1153   fclose(afp);
>1154 }
> 
> If we put for a while the horrible style aside, the bug seems to be
> that the for loop doesn't properly check the bounds of the
> command_list[] array.  This would probably be ok if the command_list
> array was declared to have a trailing element set to an "all zeroes"
> value: 
> 
>   struct command_type command_list[] = {
> {"accept","n",com_accept, ADMIN_USER },
> {"actitle",   "dS",   com_actitle,ADMIN_ADMIN },
> {0,   0,  0,  0 },
>   };
> 
> but it's not (look in nngs-1.1.14/nrat/command_list.h):
> 
>/* NameOptions Functions   Security */
>   struct command_type command_list[] = {
> {"accept","n",com_accept, ADMIN_USER },
> {"actitle",   "dS",   com_actitle,ADMIN_ADMIN },
> [...]
> /* by Syncanph */
> {"shownote",  "", com_shownote,   ADMIN_USER },
>   };
> 
> and this is *EXACTLY* where this particular bug lies.

Thank you, Giorgos. You hit the cause I didn't see. 

But after compile, there is a new segmentation fault, here is the GDB trace: 
gso_dev_2# gdb nngssrv nngssrv.core 
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-marcel-freebsd"...
Core was generated by `nngssrv'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /lib/libcrypt.so.2...done.
Loaded symbols for /lib/libcrypt.so.2
Reading symbols from /lib/libm.so.3...done.
Loaded symbols for /lib/libm.so.3
Reading symbols from /lib/libc.so.5...done.
Loaded symbols for /lib/libc.so.5
Reading symbols from /libexec/ld-elf.so.1...done.
Loaded symbols for /libexec/ld-elf.so.1
#0  0x281803d2 in strcmp () from /lib/libc.so.5
(gdb) bt
#0  0x281803d2 in strcmp () from /lib/libc.so.5
#1  0x2817f125 in qsort () from /lib/libc.so.5
#2  0x0805d740 in command_init () at command.c:212
#3  0x0805ae95 in main (argc=1116386171, argv=0xbfbfe958) at nngsmain.c:158

It seems still related to the array of command_list. 

Any further suggestions?

thanks, 

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


Upgrading from Samba 2 to Samba 3

2005-05-17 Thread Roger Merritt
I've just become aware that samba.org is no longer supporting Samba 2 
(which has served me well for so long) and I should upgrade to Samba 3, 
which is now the stable version. I don't find any warnings about it in 
/usr/ports/UPDATING. Does anyone have any gotchas I should be aware of?

--
Roger
___
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 18), Xu Qiang said:
> Dan Nelson wrote:
> > 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.
> 
> Thank you again. It can roll forward when the declaration of the "random" 
> function function is removed. It seems 1.1.16 version is full of bugs, like 
> stated above. The 1.1.14 version is much better in compiling. 
> 
> However, both versions give me an error when I run the compiled application 
> after gmake, gmake install. I go to bin directory and type "./nngssrv", it 
> told me: 
> Bus error (core dumped)
> 
> GDB trace is here: 
> (gdb) bt
> #0  0x2818bbc5 in __vfprintf () from /lib/libc.so.5
> #1  0x2818a513 in vfprintf () from /lib/libc.so.5
> #2  0x28177352 in fprintf () from /lib/libc.so.5
> #3  0x0805f98c in commands_init () at command.c:1149
> #4  0x0805aeab in main (argc=1116382465, argv=0x807e702) at nngsmain.c:162
> ---
> 
> What is a "Bus error"? 

It's usually caused by an incorrect pointer, or a stack overflow, where
the program tries to read a memory address not available to it.  In
fact, I can see the problem right away.  command_list is a
statically-initilized array (defined at command_list.h:55).  Note that
there is no special "end-of-list" value at the end of the array.  The
loop at command.c:1149 loops until command_list[i].comm_name is NULL,
but since there's no explicit NULL entry at the end, the loop falls off
the end of the array, where it eventually hits an unmapped page of
memory and gets a bus error.

That for loop should really read:

  for(i=0; ihttp://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


correct instructions for building a 4.11 debugging kernel?

2005-05-17 Thread Dan Langille
Hi folks,

I'm trying to capture a dump from my 4.11 fatal trap 12.  Reading 
this URL:

   

I'm finding that I'm not getting the expected results.  In 
particular, I'm not getting the kernel I promised by the docs:

  The make(1) process will have built two kernels. kernel and
  kernel.debug.

I have no kernel.debug despite having done this:

cd /usr/src/sys/i386/conf/
config -g BAST
cd ../../compile/BAST
make depend && make && make install

I know I have a new kernel:

[EMAIL PROTECTED]:/] # ls -l /kernel*
-r-xr-xr-x  1 root  wheel  4077437 May 18 18:41 /kernel
-r-xr-xr-x  1 root  wheel  3559066 Sep 18  2001 /kernel.GENERIC
-r-xr-xr-x  1 root  wheel  3559066 Sep 18  2001 
/kernel.GENERIC.original
-r-xr-xr-x  1 root  wheel  4033421 May  8 19:38 /kernel.nodebug
-r-xr-xr-x  1 root  wheel  3954128 Apr  4  2003 /kernel.pre.tcp.patch
[EMAIL PROTECTED]:/] #


NOTE: /kernel.nodebug was renamed from /kernel.old to keep it around.

What am I missing?

FreeBSD bast.unixathome.org 4.11-STABLE FreeBSD 4.11-STABLE #1: Wed 
May 18 18:39:50 EDT 2005 [EMAIL PROTECTED]:/usr
/src/sys/compile/BAST  i386

Thank you
-- 
Dan Langille : http://www.langille.org/
BSDCan - The Technical BSD Conference - http://www.bsdcan.org/
   NEW brochure available at http://www.bsdcan.org/2005/advocacy/

___
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-18 10:02, Xu Qiang <[EMAIL PROTECTED]> wrote:
> Thank you again. It can roll forward when the declaration of the
> "random" function function is removed. It seems 1.1.16 version is full
> of bugs, like stated above. The 1.1.14 version is much better in
> compiling.
>
> However, both versions give me an error when I run the compiled
> application after gmake, gmake install. I go to bin directory and type
> "./nngssrv", it told me: Bus error (core dumped)
>
> GDB trace is here:
> ---
> gso_dev_2# gdb nngssrv nngssrv.core
> (gdb) bt
> [...]
> #0  0x2818bbc5 in __vfprintf () from /lib/libc.so.5
> #1  0x2818a513 in vfprintf () from /lib/libc.so.5
> #2  0x28177352 in fprintf () from /lib/libc.so.5
> #3  0x0805f98c in commands_init () at command.c:1149
> #4  0x0805aeab in main (argc=1116382465, argv=0x807e702) at nngsmain.c:162
> ---
>
> What is a "Bus error"?

A bug in the program.  The relevant code seems to be this part of
nngs-1.1.14/nrat/command.c:

   1131 void commands_init()
   1132 {
   1133   FILE *fp, *afp;
   1134   int i = 0;
   1135
   1136   fp = xyfopen(FILENAME_CMDS, "w");
   1137   if (!fp) {
   1138 return;
   1139   }
   1140   afp = xyfopen(FILENAME_ACMDS, "w");
   1141   if (!afp) {
   1142 fclose(fp);
   1143 return;
   1144   }
   1145   for (i = 0; command_list[i].comm_name; i++) {
   1146 if (command_list[i].adminLevel >= ADMIN_ADMIN) {
   1147   fprintf(afp, "%s\n", command_list[i].comm_name);
   1148 } else {
   1149   fprintf(fp, "%s\n", command_list[i].comm_name);
   1150 }
   1151   }
   1152   fclose(fp);
   1153   fclose(afp);
   1154 }

If we put for a while the horrible style aside, the bug seems to be that
the for loop doesn't properly check the bounds of the command_list[]
array.  This would probably be ok if the command_list array was declared
to have a trailing element set to an "all zeroes" value:

struct command_type command_list[] = {
  {"accept","n",com_accept, ADMIN_USER },
  {"actitle",   "dS",   com_actitle,ADMIN_ADMIN },
  {0,   0,  0,  0 },
};

but it's not (look in nngs-1.1.14/nrat/command_list.h):

 /* NameOptions Functions   Security */
struct command_type command_list[] = {
  {"accept","n",com_accept, ADMIN_USER },
  {"actitle",   "dS",   com_actitle,ADMIN_ADMIN },
  [...]
  /* by Syncanph */
  {"shownote",  "", com_shownote,   ADMIN_USER },
};

and this is *EXACTLY* where this particular bug lies.

> Any hints to overcome this last barrier?

Yes.  Don't run software that is full of bugs, unless you're keen on
fixing those bugs :-(

The nngs.sourceforge.net web page shows *no* release of nngs after 2002.
The history of that project shows that the ones developing it would
release very often; some times twice within the same week.  The fact
that there has been absolutely no release for more than 3 years means
that nngs is, for all purposes, thoroughly dead.

- Giorgos

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


Re: Cyrus IMAP from Ports in 5.X?

2005-05-17 Thread [EMAIL PROTECTED]
Francisco Reyes wrote:
> Anyone got Cyrus IMAP working from installing the ports?
> 
> After 3 days trying.. I am leaning towards possible problems with the
> ports options. For example upon installation the cyrus-sasl-2.1.20_1
> port there are errors in /var/log/auth.log
> 
> May 16 23:47:39 testpompa saslpasswd2: setpass succeeded for cyrus
> May 16 23:47:39 testpompa saslpasswd2: Couldn't update db
> 
> Runing saslapsswd produces the same, yet running sasldblistusers2 I see
> [EMAIL PROTECTED]: userPassword
> 
> My imapd.conf is
> configdirectory: /var/imap
> partition-default: /var/imap/spool
> servername: testpompa.natserv.net
> allowanonymouslogin: no
> admins: cyrus root
> autocreatequota: 102400
> loginrealms: stringsutils.com, dataeverywhere.net
> sieveusehomedir: false
> sievedir: /var/imap/sieve
> sasl_pwcheck_method: auxprop
> lmtpsocket: /var/imap/socket/lmtp
> idlesocket: /var/imap/socket/idle
> notifysocket: /var/imap/socket/notify
> virtdomains: yes
> defaultdomain: stringsutils.com
> 
> The "Couldn't update db" seems like a common problem when installing
> Cyrus, yet I could not find a single reference on how to fix the problem.
> 
> Ran the mkimap without any problems. Both the impad and sasl programs
> are running and no errors reported at startup for either of them.
> 
> Moreover, I tried using a different Berkeley DB with cyrus-sasl and
> after that got different errors, so I am wondering if the default
> options in the port may be wrong.


Are you running both sasl AND sasl2 ports at the same time?
sasldblistusers2 is from sasl2 and saslpasswd is from sasl.
If that was just a typo, check permissions on /usr/local/etc/sasldb
(or /usr/local/etc/sasldb2) and make sure it allows reading by the
user running your pop/imap/mta.

G
___
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
> You really confused me now.
(B
(B:-(
(B
(B> Are you saying ftp://current.freebsd.org/pub/FreeBSD/snapshots/  is
(B> a CVS server
(B
(BErrr ...
(B
(B> I think you are still talking about the normal cvsup source update
(B> method which targets a bunch of different cvsup servers.
(B
(BNear as I understand, cvsup is one way to get to a snapshot. (If that's
(Bwrong, someone correct me.)
(B
(B> ftp://current.freebsd.org/pub/FreeBSD/snapshots/pub/FreeBSD/i386/
(B> does not look like an cvs server.
(B
(BLooks like a 550 error to me.
(B
(B> Have you ever used this snapshots ftp site before
(B
(BNo, I tend to use one of the Japanese cvsup servers. (I don't do binary
(Bupgrades, because I read somewhere that source upgrades are recommended.)
(B
(BI vaguely recall reading somewhere that you can do source upgrades to
(Bthe snapshots by using appropriate tags. Gave it about a half hour, but
(Bcouldn't find it again. So I can't tell you what those tags would look
(Blike, but I have the vague impression that RELENG_5 would be equivalent
(Bto the snapshot at the time of the cvsup.
(B
(BHave you tried, for instance, running sysinstall from the command line 
(B(as root) and selecting the Upgrade option? Did you read the
(Bdocumentation that refers you to?
(B
(BBTW, did you have problems finding the documentation that directs you to?
(BYou should probably go ahead and load those docs if they aren't there.
(B
(B--
(BJoel Rees   <[EMAIL PROTECTED]>
(Bdigitcom, inc.   $B3t<02qhttp://www.ddcom.co.jp> **
(B
(B___
(Bfreebsd-questions@freebsd.org mailing list
(Bhttp://lists.freebsd.org/mailman/listinfo/freebsd-questions
(BTo unsubscribe, send any mail to "[EMAIL PROTECTED]"

Cyrus IMAP from Ports in 5.X?

2005-05-17 Thread Francisco Reyes
Anyone got Cyrus IMAP working from installing the ports?
After 3 days trying.. I am leaning towards possible problems with the 
ports options. For example upon installation the cyrus-sasl-2.1.20_1 port 
there are errors in /var/log/auth.log

May 16 23:47:39 testpompa saslpasswd2: setpass succeeded for cyrus
May 16 23:47:39 testpompa saslpasswd2: Couldn't update db
Runing saslapsswd produces the same, yet running sasldblistusers2 I see
[EMAIL PROTECTED]: userPassword
My imapd.conf is
configdirectory: /var/imap
partition-default: /var/imap/spool
servername: testpompa.natserv.net
allowanonymouslogin: no
admins: cyrus root
autocreatequota: 102400
loginrealms: stringsutils.com, dataeverywhere.net
sieveusehomedir: false
sievedir: /var/imap/sieve
sasl_pwcheck_method: auxprop
lmtpsocket: /var/imap/socket/lmtp
idlesocket: /var/imap/socket/idle
notifysocket: /var/imap/socket/notify
virtdomains: yes
defaultdomain: stringsutils.com
The "Couldn't update db" seems like a common problem when installing 
Cyrus, yet I could not find a single reference on how to fix the 
problem.

Ran the mkimap without any problems. Both the impad and sasl programs are 
running and no errors reported at startup for either of them.

Moreover, I tried using a different Berkeley DB with cyrus-sasl and after 
that got different errors, so I am wondering if the default options in the 
port may be wrong.
___
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
Dan Nelson wrote:
> 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.

Thank you again. It can roll forward when the declaration of the "random" 
function function is removed. It seems 1.1.16 version is full of bugs, like 
stated above. The 1.1.14 version is much better in compiling. 

However, both versions give me an error when I run the compiled application 
after gmake, gmake install. I go to bin directory and type "./nngssrv", it told 
me: 
Bus error (core dumped)

GDB trace is here: 
---
gso_dev_2# gdb nngssrv nngssrv.core 
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-marcel-freebsd"...
Core was generated by `nngssrv'.
Program terminated with signal 10, Bus error.
Reading symbols from /lib/libcrypt.so.2...done.
Loaded symbols for /lib/libcrypt.so.2
Reading symbols from /lib/libm.so.3...done.
Loaded symbols for /lib/libm.so.3
Reading symbols from /lib/libc.so.5...done.
Loaded symbols for /lib/libc.so.5
Reading symbols from /libexec/ld-elf.so.1...done.
Loaded symbols for /libexec/ld-elf.so.1
#0  0x2818bbc5 in __vfprintf () from /lib/libc.so.5
(gdb) bt
#0  0x2818bbc5 in __vfprintf () from /lib/libc.so.5
#1  0x2818a513 in vfprintf () from /lib/libc.so.5
#2  0x28177352 in fprintf () from /lib/libc.so.5
#3  0x0805f98c in commands_init () at command.c:1149
#4  0x0805aeab in main (argc=1116382465, argv=0x807e702) at nngsmain.c:162
---

What is a "Bus error"? 

Any hints to overcome this last barrier?

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

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

There's quite a lot of RTFMming to do on these issues.  For
example, a whole boatload of README.foo under /usr/local/share/doc/amavis*.
I've tried a number of different approaches with varying degrees of
success.  The greylisting idea is interesting (relaydelay.pl? --- I need to
go check Warren's updated article), but I've found there's quite a few
really dumb MTA out there (that don't know a 451 from a hole in the
ground) ...
I've got a box or two that I've used Sendmail+amavisd-new+Spamassassin+
clamav in a "Dual Sendmail" setup.  Pretty darn effective ... AAMOF when
I got too draconian with my .conf, my wife didn't get email from anyone
for a good long time, and now thinks her correspondents have all given
up.
The downside on the "Dual Sendmail" is that you really, really, need a 
moderate
chunk of Sendmail-fu.  I think that probably my knowledge of Sendmail is
== 1.5 hill o' beans, and there've been a couple of times I had to shell 
in and
"unstick" a queue 

In that particular setup, one instance of Sendmail handles the SMTP 
(exterior)
stuff, and passes everything to amavisd on localhost TCP:10024.  The 2nd 
sendmail
is listening on 10025 and gets the "good" stuff from amavisd for local 
delivery.

I'll have to admit ignorance of Milter technology   sounds like 
there might
be some advantages I should find time to look into ...

HTH,
Kevin Kinsey
___
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 Mike Jeays
On Tue, 2005-05-17 at 18:42, Mike Jeays wrote:
> On Tue, 2005-05-17 at 15:44, dgmm wrote:
> > 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" ;-)
> > 
> 
> That was a really useful hint, thanks!  escputil now works, but my
> ghostscript filter still needs work.
> 
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"

I apologise for following up my own post, but here is the excerpt from
my non-working filter.  I think the DeviceModel parameter needs to be
corrected, but I have googled for some time, and can't find the answer.
More ideas will be very welcome!

cat $TMP | /usr/local/bin/gs \
 -sDEVICE=ijs \
 -sIjsServer=/usr/local/bin/ijsgimpprint \
 -sDeviceManufacturer=EPSON \
 -sDeviceModel=escp2-870 \  # I also tried escp2-ex and escp2-670
 -q -dNOPAUSE -r600 
 

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


firefox/mozilla wont start

2005-05-17 Thread Ryan Winograd
im running 5.3 w/ KDE desktop and am having problems getting firefox and 
mozilla to start. when i try to start them from a terminal, nothing 
happens. there is no output. it simply skips to the next line and gives 
me a %. I have tried installing from package, port, and then 
resinstalling from both, but cant get anything to work. what am i 
missing here? I've never had this problem before!

thanks in advance for all help
Ryan w
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: ssh to new ip...

2005-05-17 Thread Tomas Quintero
> 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?
Ignorance prevails in this posting. I love derogatory references to
software vendors. Never-the-less, DHCP has nothing to do with port
redirection commonly, and I highly doubt it has anything to do with
this one.

Try opening your Linksys/Dlink/etc. SoHo router via HTTP in your
favorite browser, and forwarding port 22 or whatever your SSH port of
choice is, to your FreeBSD box.

I imagine your setup is something like this.

Internet -> Router -> LAN (Windows, FreeBSD, etc.)

You have to forward the port from the Internet, through your router,
and into a local box on your LAN. You could also edit the DMZ setting
on your router so that the FreeBSD box, or perhaps any other box on
your LAN receives all ports automatically.

Lastly:
> How can I tell?
See that blue/grey box connected to your modem? Your ISP will tell you
the exact same thing. It's a configuration issue on your end, since
you're using a router.

I'd suggest some RTFM'ing.

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


Problem burning DVD using growisofs under 5.4-RELEASE.

2005-05-17 Thread Ray Newman
%uname -a
FreeBSD fred.local 5.4-RELEASE FreeBSD 5.4-RELEASE #0: Mon May 16 18:48:24 EST 
2005 [EMAIL PROTECTED]:/usr/src/sys/i386/compile/GENERIC  i386

%dmesg (part)
ad0: 38166MB  [77545/16/63] at ata0-master UDMA100
acd0: DVDR  at ata0-slave UDMA33
cd0 at ata0 bus 0 target 1 lun 0
cd0:  Removable CD-ROM SCSI-0 device
cd0: 33.000MB/s transfers
cd0: Attempt to query device size failed: NOT READY, Medium not present
%growisofs -Z /dev/cd0 -speed=2 -r -J music
Executing 'mkisofs -r -J music | builtin_dd of=/dev/pass0 obs=32k seek=0'
Using FRANK000 for  /Frankie_Valli_&_The_Four_Seasons (Frankie_Miller)
...
Using THEME001.MP3;1 for  music/Various/Theme_From_Bilitis.mp3 
(Theme_From_Antarctica.mp3)
/dev/pass0: "Current Write Speed" is 2.5x1385KBps.
  0.28% done, estimate finish Wed May 18 14:47:37 2005
...
 99.77% done, estimate finish Wed May 18 10:13:42 2005
Total translation table size: 0
Total rockridge attributes bytes: 152518
Total directory bytes: 487424
Path table size(bytes): 3072
Max brk space used 181624
1799127 extents written (3513 MB)
builtin_dd: 1799136*2KB out @ average 2.3x1385KBps
/dev/pass0: flushing cache
:-[ SYNCHRONOUS FLUSH CACHE failed with SK=6h/ASC=29h/ACQ=00h]: Input/output error

fred# sysctl hw.ata.
hw.ata.ata_dma: 1
hw.ata.wc: 1
hw.ata.atapi_dma: 1
This has been tried with the DVDRAM as slave (above) and as master on the 
other
bus - same result.
burncd was tried with the following result:
fred# burncd -s 4 -e -f /dev/acd0 data MUSIC.iso fixate
next writeable LBA 0
writing from file MUSIC.iso size 3598254 KB
written this track 3598254 KB (100%) total 3598254 KB
burncd: ioctl(CDRIOCFLUSH): Input/output error
The same behaviour occured under 5.3-RELEASE
Any help greatly appreciated (I've used 14 blank DVDs out of a box of 15 so 
far).

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


Re: Small business software for FreeBSD

2005-05-17 Thread Mark Bucciarelli
Damian Gerow wrote:
I've given the ports tree a quick search, and I've poked through
freshmeat.net and Google to no avail.  Does anyone know of any small
business management software -- something that can do quotes, invoicing,
time tracking, etc. -- that runs on FreeBSD?
sql-ledger.  (you have to do time tracking with sales orders.)
Regards,
m
___
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
> 
> > But, even doing that doesn't fix the problem we often see with
> > writes to tape failing in that manner.=20
> >=20
> > 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.
> 
> Are you absolutely certain that the tape device is not in use at the
> time that the application receives the error?

Yes.  It can even happen in single user.   So far I have only had the
problem with various levels of DAT tapes.  It has never failed that way 
with DLTs.

jerry

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


Re: Multiple Apaches

2005-05-17 Thread [EMAIL PROTECTED]
On Tue, 17 May 2005 18:23:11 -0500
Josh Paetzel <[EMAIL PROTECTED]> wrote:

> > Should I plan on repeating the what I did before, which is to
> > maintain an apache installation separate from ports?  Or is there
> > some clever way to have ports install stuff in different places
> > under different names?  For instance, I'd like to have www/apache2
> > installed in the default location and install www/apache13-modperl
> > with some PREFIX, telling it to disregard any CONFLICTS?  Can I
> > give a ports installation a different DISTNAME so that it's in the
> > package database under some other name?
> >
> > TIA!
> 
> This may be wrong or even mis-guided advice but the first thing that 
> came to my mind was perhaps running one (or both I suppose) apache in 
> a jail.

i agree, if you are used to using jails, this is, in general, an easy
and effective solution

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


Re: Multiple Apaches

2005-05-17 Thread Ion-Mihai Tetcu
On Tue, 17 May 2005 16:00:42 -0700
David Marshall <[EMAIL PROTECTED]> wrote:

[ ... ]

> Should I plan on repeating the what I did before, which is to maintain
> an apache installation separate from ports?  Or is there some clever
> way to have ports install stuff in different places under different
> names?  For instance, I'd like to have www/apache2 installed in the
> default location and install www/apache13-modperl with some PREFIX,
> telling it to disregard any CONFLICTS?  Can I give a ports
> installation a different DISTNAME so that it's in the package database
> under some other name?

 ( This would be a question for ports@ )

Ports do not conflict if having different PREFIX. You don't need (and
don't want) to play with DISTNAME.

You will want to pay attention to LOCALBASE also, for dependencies
checking (PREFIX is where the ports installs, LOCALBASE is where it
checks for dependencies; see Porters Handbook and bsd.ports.mk. for
details).


-- 
IOnut
Unregistered ;) FreeBSD "user"


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


Re: Multiple Apaches

2005-05-17 Thread Josh Paetzel
On Tuesday 17 May 2005 18:00, David Marshall wrote:
> Hi all,
>
> My boss has finally seen the light, and we're migrating from a
> cobbled-together Linux box to FreeBSD very soon.  In the four
> months I've been working for him, I have spent more time fiddling
> with our Linux servers than I spent in 4 years running FreeBSD on a
> number of servers.
>
> On one of my old FreeBSD servers, I wanted a regular Apache
> installation, so I had /usr/ports/www/apache13 installed.  At the
> same time, I maintained a specially-configured Apache installation
> in /usr/local2 that was, among other things, statically linked with
> mod_perl.
>
> On the new box that we're putting together soon, we'll need to have
> apache2 going, so that's obviously something to install/maintain
> via ports.  At the same time, we're going to need a couple of
> statically linked apache13 installations.
>
> Should I plan on repeating the what I did before, which is to
> maintain an apache installation separate from ports?  Or is there
> some clever way to have ports install stuff in different places
> under different names?  For instance, I'd like to have www/apache2
> installed in the default location and install www/apache13-modperl
> with some PREFIX, telling it to disregard any CONFLICTS?  Can I
> give a ports installation a different DISTNAME so that it's in the
> package database under some other name?
>
> TIA!

This may be wrong or even mis-guided advice but the first thing that 
came to my mind was perhaps running one (or both I suppose) apache in 
a jail.

-- 
Thanks,

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


Re: FreeBSD 5.4 SMP

2005-05-17 Thread Tony Shadwick
Was this a 5.4 change?  Very important since I haven't migrated our 
systems from 5.3 to 5.4 yet.  I have a test build running on a single cpu 
box without smp enabled.  Would have sucked if I hadn't known that ahead 
of time...

On Tue, 17 May 2005, Kris Kennaway wrote:
On Tue, May 17, 2005 at 01:05:26PM -0400, 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.
'options smp' is indeed not the choice :-)
Check the documentation (e.g. handbook, sample kernel configurations)
for precise instructions.
Kris
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Multiple Apaches

2005-05-17 Thread David Marshall
Hi all,

My boss has finally seen the light, and we're migrating from a
cobbled-together Linux box to FreeBSD very soon.  In the four months
I've been working for him, I have spent more time fiddling with our
Linux servers than I spent in 4 years running FreeBSD on a number of
servers.

On one of my old FreeBSD servers, I wanted a regular Apache
installation, so I had /usr/ports/www/apache13 installed.  At the same
time, I maintained a specially-configured Apache installation in
/usr/local2 that was, among other things, statically linked with
mod_perl.

On the new box that we're putting together soon, we'll need to have
apache2 going, so that's obviously something to install/maintain via
ports.  At the same time, we're going to need a couple of statically
linked apache13 installations.

Should I plan on repeating the what I did before, which is to maintain
an apache installation separate from ports?  Or is there some clever
way to have ports install stuff in different places under different
names?  For instance, I'd like to have www/apache2 installed in the
default location and install www/apache13-modperl with some PREFIX,
telling it to disregard any CONFLICTS?  Can I give a ports
installation a different DISTNAME so that it's in the package database
under some other name?

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


Re: sharing ext3 partition

2005-05-17 Thread RW
On Tuesday 17 May 2005 15:24, backdoc wrote:
> 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?

No, you may be able to resize it though. You are allowed 4 primary partions, 
one of which may be an extended partition.  FreeBSD install on a single 
primary partion and places all it's native partions inside it without it 
counting as the one 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?  

No, but ext3 is compatible with ext2 provided that fsck understands ext3 
journals, which I believe is the case with FreeBSD.

> Any drawbacks to sharing an ext3 
> partition between Gentoo and FreeBSD?

Since you'll be using it as ext2 (probably with synchronous writes) writing 
may be slow under FreeBSD. 
___
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 Mike Jeays
On Tue, 2005-05-17 at 15:44, dgmm wrote:
> 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" ;-)
> 

That was a really useful hint, thanks!  escputil now works, but my
ghostscript filter still needs work.

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


Re: ssh to new ip...

2005-05-17 Thread Roland Smith
On Tue, May 17, 2005 at 04:13:47PM -0500, Bagus wrote:
> 
> 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?

Try disabling the firewall(s). If it works without them, it's a firewall
issue. :-)

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


pgpSr7z9RtzRf.pgp
Description: PGP signature


Re: Small business software for FreeBSD

2005-05-17 Thread Roland Smith
On Tue, May 17, 2005 at 05:58:18PM -0400, Damian Gerow wrote:
> I've given the ports tree a quick search, and I've poked through
> freshmeat.net and Google to no avail.  Does anyone know of any small
> business management software -- something that can do quotes, invoicing,
> time tracking, etc. -- that runs on FreeBSD?
> 
> The only thing I've found is phpaga[1], but I'd prefer to not use something
> web-based.

Try http://freshmeat.net/browse/76/. One of the things you could look
into is http://www.compiere.org/. Or maybe http://www.gnucash.org/ will
do. It can do invoices now, so it's no longer just personal finances.

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


pgpOaDhcq9ZVM.pgp
Description: PGP signature


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

2005-05-17 Thread Bob Johnson
Joseph Borg wrote:
Hi Bob,
Thanks for the info :)
[...]
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
- I've installed this tool. Which binary in particular should I use (e.g. to
copy a directory to a dvd). The following binaries were installed:
dvd+rw-booktype   dvd+rw-mediainfo  dvdbackup
dvd+rw-format dvd-ram-control   dvdnav-config
It should have also installed growisofs, which writes an ISO image to 
the DVD on the fly.  Does "man growisofs" find anything?

Sorry I forgot to mention that little detail.
- Bob
___
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 Wed, May 18, 2005 at 12:01:23AM +0200, Joseph Borg wrote:

> As for the DVD, I've search my ports for growisofs however, I cannot find
> it. Can I download it off anywhere?

The program is called growisofs, but it's packaged as dvd+rw-tools (in
/usr/ports/sysutils).

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


pgp57tNHMbWET.pgp
Description: PGP signature


Re: Epson Stylus C86 Printer

2005-05-17 Thread Mike Jeays
On Tue, 2005-05-17 at 11:49, [EMAIL PROTECTED] wrote:
> >-- 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]"

I think he meant define a shell variable called WITH_CUPS, with any
value, before doing the 'make'.  This is easily done as "export
WITH_CUPS=1".

I tried this, and am no nearer a solution. CUPS seems like a confusing
morass to me; I would much prefer the ghostscript command that I can put
into a filter and then call from /etc/printcap

However, I since tried the command  'escputil -i -u -r /dev/ulpt0'
My printer makes a few noises, and them times out, so I think I will try
a parallel cable instead of the USB connection - unfortunately I think I
have to go and buy one.
> 

___
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 Kris Kennaway
On Tue, May 17, 2005 at 02:51:58PM -0400, 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???

Only if you want to run your system in amd64 mode.

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

That sounds like a problem with your scsi system then.

Kris

pgpv7Y0jrdmbD.pgp
Description: PGP signature


Re: FreeBSD 5.4 SMP

2005-05-17 Thread Kris Kennaway
On Tue, May 17, 2005 at 01:05:26PM -0400, 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.

'options smp' is indeed not the choice :-)

Check the documentation (e.g. handbook, sample kernel configurations)
for precise instructions.

Kris


pgpsbAXN8IuWE.pgp
Description: PGP signature


Re: Transferring dump file to tape?

2005-05-17 Thread Kris Kennaway
On Tue, May 17, 2005 at 08:59:36AM -0400, Jerry McAllister wrote:

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

Also mine :0

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

Are you absolutely certain that the tape device is not in use at the
time that the application receives the error?

Kris


pgpBA6Oi8GhYQ.pgp
Description: PGP signature


RE: 5.4 install disc1 will not find hard drive

2005-05-17 Thread Bob Johnson
Date: Tue, 17 May 2005 16:10:39 -0400
From: "fbsd_user" <[EMAIL PROTECTED]>
Subject: RE: 5.4 install disc1 will not find hard drive
To: "[EMAIL PROTECTED] ORG" 
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain;   charset="iso-8859-1"

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?
Yes, on an old laptop:
atapci0:  port [...etc.]
ata0: channel #0 on atapci0
ata1: channel #1 on atapci0
[...]
ad0: 6194MB  [13424/15/63] at ata0-master UDMA33
Works fine.
I'd guess the ATA controller chipset is more important than the drive 
model in diagnosing this.  There has been some discussion of possible 
(not confirmed) ATA controller problems on freebsd-stable recently, 
although they seem to be saying it started in 5.3 RELEASE.

- Bob
___
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 Joseph Borg
Hi Ron,
Thanks for your tips. The sound card and mixer look ok now. I've also
installed xsane and I'm now figuring out how to use it.

As for the DVD, I've search my ports for growisofs however, I cannot find
it. Can I download it off anywhere?

Thanks,
Joe

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


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

2005-05-17 Thread Joseph Borg
Hi Bob,
Thanks for the info :)

I've never used it, but the standard answer seems to be SANE:

/usr/ports/graphics/xsane
/usr/ports/graphics/sane-frontends

- I've installed it; now I'll try and figure out how to use it. Shouldn't be
a problem I guess.

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

- I've installed this tool. Which binary in particular should I use (e.g. to
copy a directory to a dvd). The following binaries were installed:

dvd+rw-booktype   dvd+rw-mediainfo  dvdbackup
dvd+rw-format dvd-ram-control   dvdnav-config



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.

- Yep, this seems to have done the trick. At least a VIA driver is loading,
now I'll test out gnome.


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.

- Will keep in mind. Thanks again.
Joe

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


Small business software for FreeBSD

2005-05-17 Thread Damian Gerow
I've given the ports tree a quick search, and I've poked through
freshmeat.net and Google to no avail.  Does anyone know of any small
business management software -- something that can do quotes, invoicing,
time tracking, etc. -- that runs on FreeBSD?

The only thing I've found is phpaga[1], but I'd prefer to not use something
web-based.

  - Damian

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


Re: ssh to new ip...

2005-05-17 Thread Tony Shadwick
Hmm...from home, visit http://www.whatismyip.com
Go to work (or whatever the remote site is) and nmap that ip address
ssh open?
You could also pay a visit to http://www.dyndns.org, set up an account 
(it's free) and set a client on your freebsd box to update the ip address 
as it changes to make sure you're always able to get through.

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


Re: FreeBSD Releng 5.2 => 5.4 Upgrade make Buildworld Failure

2005-05-17 Thread Tony Shadwick
This may be a 'well duh', so forgive me if it is, but have you tried:
(cvsup the src tree, tag=RELENG_5_4)
cd /usr/src
make clean
cd /usr/obj
chflags -R noschg *
rm -rf *
cd /usr/src
make buildworld
etc etc etc
?
Tony
On Tue, 17 May 2005, Mikeal Clark wrote:
I found some information on google about this error being caused with
MAKEOBJDIRPREFIX
defined in /etc/make.conf but we havent done that.  I couldnt find much
else.  Any help greatly
appreciated.
Updated the source tree with cvsup:
# change "RELENG_4" to "RELENG_3" or "RELENG_2_2" respectively.
*default release=cvs tag=RELENG_5
*default delete use-rel-suffix
Attempted to buildworld:
rm -rf /usr/obj/usr/src/i386
mkdir -p /usr/obj/usr/src/i386/legacy
/usr/bin
mkdir -p /usr/obj/usr/src/i386/legacy/usr/games
mkdir -p /usr/obj/usr/src/i386/legacy/usr/include/c++/3.4
mkdir -p /usr/obj/usr/src/i386/legacy/usr/include/sys
mkdir -p /usr/obj/usr/src/i386/legacy/usr/lib
mkdir -p /usr/obj/usr/src/i386/legacy/usr/libexec
mkdir -p /usr/obj/usr/src/i386/legacy/usr/sbin
mkdir -p /usr/obj/usr/src/i386/legacy/usr/share/dict
mkdir -p /usr/obj/usr/src/i386/legacy/usr/share/groff_font/devX100
mkdir -p /usr/obj/usr/src/i386/legacy/usr/share/groff_font/devX100-12
mkdir -p /usr/obj/usr/src/i386/legacy/usr/share/groff_font/devX75
mkdir -p /usr/obj/usr/src/i386/legacy/usr/share/groff_font/devX75-12
mkdir -p /usr/obj/usr/src/i386/legacy/usr/share/groff_font/devascii
mkdir -p /usr/obj/usr/src/i386/legacy/usr/share/groff_font/devcp1047
mkdir -p /usr/obj/usr/src/i386/legacy/usr/share/groff_font/devdvi
mkdir -p /usr/obj/usr/src/i386/legacy/usr/share/groff_font/devhtml
mkdir -p /usr/obj/usr/src/i386/legacy/usr/share/groff_font/devkoi8-r
mkdir -p /usr/obj/usr/src/i386/legacy/usr/share/groff_font/devlatin1
mkdir -p /usr/obj/usr/src/i386/legacy/usr/share/groff_font/devlbp
mkdir -p /usr/obj/usr/src/i386/legacy/usr/share/groff_font/devlj4
mkdir -p /usr/obj/usr/src/i386/legacy/usr/share/groff_font/devps
mkdir -p /usr/obj/usr/src/i386/legacy/usr/share/groff_font/devutf8
mkdir -p /usr/obj/usr/src/i386/legacy/usr/share/tmac/mdoc
mkdir -p /usr/obj/usr/src/i386/legacy/usr/share/tmac/mm
mkdir -p /usr/obj/usr/src/i386/lib
mkdir -p /usr/obj/usr/src/i386/usr/bin
mkdir -p /usr/obj/usr/src/i386/usr/include
mkdir -p /usr/obj/usr/src/i386/usr/lib/compat/aout
mkdir -p /usr/obj/usr/src/i386/usr/libdata/ldscripts
mkdir -p /usr/obj/usr/src/i386/usr/libexec
mkdir -p /usr/obj/usr/src/i386/usr/sbin
mkdir -p /usr/obj/usr/src/i386/usr/share/misc
mkdir -p /usr/obj/usr/src/i386/usr/share/snmp/defs
mkdir -p /usr/obj/usr/src/i386/usr/share/snmp/mibs
mtree -deU -f /usr/src/etc/mtree/BSD.include.dist  -p
/usr/obj/usr/src/i386/usr/include >/dev/null
ln -sf /usr/src/sys /usr/obj/usr/src/i386
--
stage 1.1: legacy release compatibility shims
--
+cd /usr/src; MAKEOBJDIRPREFIX=/usr/obj/usr/src/i386  INSTALL="sh
/usr/src/tools/install.sh"
PATH=/usr/obj/usr/src/i386/legacy/usr/sbin:/usr/obj/usr/src/i386/
legacy/usr/bin:/usr/obj/usr/src/i386/legacy/usr/games:/sbin:/bin:/usr/
sbin:/usr/bin  WORLDTMP=/usr/obj/usr/src/i386  MAKEFLAGS="-m
/usr/src/tools/build/mk  -m /usr/src/share/mk" make -f Makefile.inc1
DESTDIR=  BOOTSTRAPPING=502010  -DNOHTML -DNOINFO -DNOLINT -DNOMAN
-DNOPIC -DNOPROFILE  -DNOSHARED -DNO_CPU_CFLAGS -DNO_WARNS legacy
+cd: not found
*** Error code 127
Stop in /usr/src.
*** Error code 1
Stop in /usr/src.

___
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 Releng 5.2 => 5.4 Upgrade make Buildworld Failure

2005-05-17 Thread Mikeal Clark
I found some information on google about this error being caused with
MAKEOBJDIRPREFIX
defined in /etc/make.conf but we havent done that.  I couldnt find much
else.  Any help greatly
appreciated.


Updated the source tree with cvsup:

# change "RELENG_4" to "RELENG_3" or "RELENG_2_2" respectively.
*default release=cvs tag=RELENG_5
*default delete use-rel-suffix


Attempted to buildworld:

rm -rf /usr/obj/usr/src/i386
mkdir -p /usr/obj/usr/src/i386/legacy
/usr/bin
mkdir -p /usr/obj/usr/src/i386/legacy/usr/games
mkdir -p /usr/obj/usr/src/i386/legacy/usr/include/c++/3.4
mkdir -p /usr/obj/usr/src/i386/legacy/usr/include/sys
mkdir -p /usr/obj/usr/src/i386/legacy/usr/lib
mkdir -p /usr/obj/usr/src/i386/legacy/usr/libexec
mkdir -p /usr/obj/usr/src/i386/legacy/usr/sbin
mkdir -p /usr/obj/usr/src/i386/legacy/usr/share/dict
mkdir -p /usr/obj/usr/src/i386/legacy/usr/share/groff_font/devX100
mkdir -p /usr/obj/usr/src/i386/legacy/usr/share/groff_font/devX100-12
mkdir -p /usr/obj/usr/src/i386/legacy/usr/share/groff_font/devX75
mkdir -p /usr/obj/usr/src/i386/legacy/usr/share/groff_font/devX75-12
mkdir -p /usr/obj/usr/src/i386/legacy/usr/share/groff_font/devascii
mkdir -p /usr/obj/usr/src/i386/legacy/usr/share/groff_font/devcp1047
mkdir -p /usr/obj/usr/src/i386/legacy/usr/share/groff_font/devdvi
mkdir -p /usr/obj/usr/src/i386/legacy/usr/share/groff_font/devhtml
mkdir -p /usr/obj/usr/src/i386/legacy/usr/share/groff_font/devkoi8-r
mkdir -p /usr/obj/usr/src/i386/legacy/usr/share/groff_font/devlatin1
mkdir -p /usr/obj/usr/src/i386/legacy/usr/share/groff_font/devlbp
mkdir -p /usr/obj/usr/src/i386/legacy/usr/share/groff_font/devlj4
mkdir -p /usr/obj/usr/src/i386/legacy/usr/share/groff_font/devps
mkdir -p /usr/obj/usr/src/i386/legacy/usr/share/groff_font/devutf8
mkdir -p /usr/obj/usr/src/i386/legacy/usr/share/tmac/mdoc
mkdir -p /usr/obj/usr/src/i386/legacy/usr/share/tmac/mm
mkdir -p /usr/obj/usr/src/i386/lib
mkdir -p /usr/obj/usr/src/i386/usr/bin
mkdir -p /usr/obj/usr/src/i386/usr/include
mkdir -p /usr/obj/usr/src/i386/usr/lib/compat/aout
mkdir -p /usr/obj/usr/src/i386/usr/libdata/ldscripts
mkdir -p /usr/obj/usr/src/i386/usr/libexec
mkdir -p /usr/obj/usr/src/i386/usr/sbin
mkdir -p /usr/obj/usr/src/i386/usr/share/misc
mkdir -p /usr/obj/usr/src/i386/usr/share/snmp/defs
mkdir -p /usr/obj/usr/src/i386/usr/share/snmp/mibs
mtree -deU -f /usr/src/etc/mtree/BSD.include.dist  -p
/usr/obj/usr/src/i386/usr/include >/dev/null
ln -sf /usr/src/sys /usr/obj/usr/src/i386

--
>>> stage 1.1: legacy release compatibility shims
--
+cd /usr/src; MAKEOBJDIRPREFIX=/usr/obj/usr/src/i386  INSTALL="sh
/usr/src/tools/install.sh"
PATH=/usr/obj/usr/src/i386/legacy/usr/sbin:/usr/obj/usr/src/i386/
legacy/usr/bin:/usr/obj/usr/src/i386/legacy/usr/games:/sbin:/bin:/usr/
sbin:/usr/bin  WORLDTMP=/usr/obj/usr/src/i386  MAKEFLAGS="-m
/usr/src/tools/build/mk  -m /usr/src/share/mk" make -f Makefile.inc1
DESTDIR=  BOOTSTRAPPING=502010  -DNOHTML -DNOINFO -DNOLINT -DNOMAN
-DNOPIC -DNOPROFILE  -DNOSHARED -DNO_CPU_CFLAGS -DNO_WARNS legacy
+cd: not found
*** Error code 127

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

Stop in /usr/src.



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


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


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


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: 
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:  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: 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:  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: 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)
, (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: 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: 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"
Monitor"Monitor0"
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]"


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


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: 


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


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


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


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


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


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:

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


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


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


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 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: 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:  port 
0xa000-0xa01f irq 18 at device 13.0 on pci0
May 16 18:31:34 bsdmoose kernel: pcm0: 

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 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: 
> port  0xa000-0xa01f irq 18 at device 13.0 on pci0
> May 16 18:31:34 bsdmoose kernel: pcm0:  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: 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 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:  port 
0xa000-0xa01f irq 18 at device 13.0 on pci0
May 16 18:31:34 bsdmoose kernel: pcm0: 

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


  1   2   >