Promise Fastrak ATA RAID 1 rebuild failed

2004-02-10 Thread Michael Shafae
Hi,

I have an intel motherboard, s845wd1, with an onboard Promise Fastrak 
ATA RAID. Its running 4.8p10 on two mirrored Seagate 80 GB disks. It 
lost the mirror reporting this:
ad6: hard error reading fsbn 140018943 of 0-127 (ad6 bn 140018943; cn 
138907 tn
10 sn 57) trying PIO mode
ad6: DMA problem fallback to PIO mode
ad6: DMA problem fallback to PIO mode
ad6: DMA problem fallback to PIO mode
ad6: DMA problem fallback to PIO mode
ad6: hard error reading fsbn 140019007 of 0-127 (ad6 bn 140019007; cn 
138907 tn
11 sn 58) status=59 error=00
ar0: WARNING - mirror lost

So following the handbooks steps at 
 I 
detached channel 3 (which has ad6), attached channel 3 and then 
`atacontrol rebuild ar0`. An hour later it died with this message at 
the prompt:

# atacontrol rebuild ar0
atacontrol: ioctl(ATARAIDREBUILD): Input/output error
On the console, I saw the following message:
ad4: hard error reading fsbn 75859712 of 0-255 (ad4 bn 75859712; cn 
75257 tn 10 sn 26) trying PIO mode
ad4: DMA problem fallback to PIO mode
ad4: DMA problem fallback to PIO mode
ad4: DMA problem fallback to PIO mode
ad4: DMA problem fallback to PIO mode
ad4: DMA problem fallback to PIO mode
ad4: read error detected (too) late

Running `atacontrol status ar0` returned:
ar0: ATA RAID1 subdisks: ad4 ad6 status: REBUILDING 48% completed
I waited 10 minutes or so and ran the command again and got the same 
output.

I rebooted the system and it came up ok but with these messages on the 
console:
ata0-slave: ATAPI identify retries exceeded
ar0: 76293MB  [9726/255/63] status: DEGRADED subdisks:
 0 READY ad4: 76319MB  [155061/16/63] at ata2-master UDMA100
  1 SPARE ad6: 76319MB  [155061/16/63] at 
ata3-master UDMA100
 acd0: CDROM  at ata0-master PIO4
Mounting root from ufs:/dev/ar0s1a
swapon: adding /dev/ar0s1b as swap device
Automatic boot in progress...
/dev/ar0s1a: FILESYSTEM CLEAN; SKIPPING CHECKS
/dev/ar0s1a: clean, 78595 free (123 frags, 9809 blocks, 0.1% 
fragmentation)
/dev/ar0s1f: FILESYSTEM CLEAN; SKIPPING CHECKS
/dev/ar0s1f: clean, 515272 free (720 frags, 64319 blocks, 0.1% 
fragmentation)
/dev/ar0s1g: FILESYSTEM CLEAN; SKIPPING CHECKS
/dev/ar0s1g: clean, 31729380 free (80444 frags, 3956117 blocks, 0.2% 
fragmentation)
/dev/ar0s1e: FILESYSTEM CLEAN; SKIPPING CHECKS
/dev/ar0s1e: clean, 2975836 free (1076 frags, 371845 blocks, 0.0% 
fragmentation)

If I understand this correctly, ar0 is now basically ad4. ad4 was the 
one that had the read error so ad6 couldn't be rebuilt. ad6 had a 
similar error and that's why the mirror was lost.

I would like to rebuild the mirror, but I don't see how I can do this 
without re-installing the entire system. Has anyone had any similar 
experience or some insight on how I can get out of this bind?

Thanks,

Michael

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


MASTER_SITE_OVERRIDE make.conf variables in 5.x ?

2004-02-10 Thread Nelis Lamprecht
Hi,

In 4.x you can use variables such as MASTER_SITE_OVERRIDE to add in your
local mirrors for the distribution files. Where in 5.x do you put these
? I copied my usual make.conf settings across to a 5.x machine and it
doesn't seem to be working.

Thanks.

-- 
Nelis Lamprecht
PGP: http://www.8ball.co.za/pgpkey/nelis.asc
"Unix IS user friendly.. It's just selective about who its friends are."


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


error to install cvsup-without-gui

2004-02-10 Thread blue glacier
Hi,
i have order my first server with freebsd (4.9).
I have try to update my box.
First i run: pkg_add -r cvsup-without-gui
but i receive this error:

eda# pkg_add -r cvsup-without-gui
Fetching
ftp://ftp.freebsd.org/pub/FreeBSD/p...hout-gui.tgz...
Done.
tar: bin/cvpasswd: Cannot unlink: Not a directory
tar: bin/cvsup: Cannot unlink: Not a directory
tar: Error exit delayed from previous errors
pkg_add: extract_plist: can not invoke 176 byte tar
pipeline: tar cf - 'man/man1/cvpasswd.1.gz'
'man/man1/cvsup.1.gz' 'man/man8/cvsupd.8.gz'
'bin/cvpasswd' 'bin/cvsup' 'sbin/cvsupd'
'share/cvsup/License'|tar --unlink -xpf - -C
/usr/local


Also if i try to use ports i receive this error:
*

eda# cd /usr/ports/net/cvsup-without-gui/
hera# make install distclean
===> cvsup-without-gui-16.1h depends on file:
/usr/local/lib/m3/pkg/tcp/FreeBSD4/libm3tcp.a - not
found
===> Verifying install for
/usr/local/lib/m3/pkg/tcp/FreeBSD4/libm3tcp.a in
/usr/ports/lang/ezm3
===> ezm3-1.1 depends on executable: gmake - not found
===> Verifying install for gmake in
/usr/ports/devel/gmake
===> gmake-3.80_1 depends on shared library: intl.5 -
not found
===> Verifying install for intl.5 in
/usr/ports/devel/gettext
===> gettext-0.12.1 depends on shared library: iconv.3
- not found
===> Verifying install for iconv.3 in
/usr/ports/converters/libiconv
===> libiconv-1.9.1_1 depends on file:
/usr/local/libexec/libtool13/libtool - not found
===> Verifying install for
/usr/local/libexec/libtool13/libtool in
/usr/ports/devel/libtool13
===> Installing for libtool-1.3.5_1
===> Generating temporary packing list
===> Checking if devel/libtool13 already installed
Making install in .
/bin/sh ./mkinstalldirs /usr/local/bin
mkdir /usr/local/bin
mkdir: /usr/local/bin: File exists
*** Error code 1

Stop in /usr/ports/devel/libtool13/work/libtool-1.3.5.
*** Error code 1

Stop in /usr/ports/devel/libtool13/work/libtool-1.3.5.
*** Error code 1

Stop in /usr/ports/devel/libtool13/work/libtool-1.3.5.
*** Error code 1

Stop in /usr/ports/devel/libtool13.
*** Error code 1

Stop in /usr/ports/converters/libiconv.
*** Error code 1

Stop in /usr/ports/devel/gettext.
*** Error code 1

Stop in /usr/ports/devel/gmake.
*** Error code 1

Stop in /usr/ports/lang/ezm3.
*** Error code 1

Stop in /usr/ports/net/cvsup-without-gui.


Can everyone help me on this?
Thanks in advance.
Regards,

__
Do you Yahoo!?
Yahoo! Finance: Get your refund fast by filing online.
http://taxes.yahoo.com/filing.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: deactivate slave on first IDE

2004-02-10 Thread Antoine Jacoutot
On Wednesday 11 February 2004 03:00, Gautam Gopalakrishnan wrote:
> I assume you're running 5.2 p2. I had the same problem and it is solved
> by having a cd in the drive while booting. Seems like a known bug and is
> being fixed.

I am running 5.2-p2 indeed...
But having a cd in the drive does not help at all, I already tried it.
Thanks anyway.

Antoine

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


RE: Cannot ssh from FreeBSD to Linux

2004-02-10 Thread P.V.N
>From Debian:

Kernel IP routing table
Destination Gateway Genmask Flags   MSS Window  irtt

24.0.240.0  *   255.255.252.0   U 0 0  0

default c-24-0-240-1.cl 0.0.0.0 UG0 0  0




>From FreeBSD:


Internet:
DestinationGatewayFlagsRefs  Use  Netif
Expire
defaultc-24-0-240-1.clien UGSc2   10em0
c-24-0-240-0.clien link#1 UC  20em0
c-24-0-240-1.clien MAC-addressUHLW30em0
1194
FreeBSDIP.cli  localhost  UGHS00lo0
DebianIP.cli   MAC-addressUHLW0   45em0
555
localhost  localhost  UH  1   18lo0


As noted above, my debian IP and MAC address seem to be listed. Could
this be the problem? 


Thanks again for all the help,

PVN







-Original Message-
From: Chad Leigh -- Shire.Net LLC [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, February 10, 2004 11:13 PM
To: P.V.N
Cc: '[EMAIL PROTECTED] ORG'
Subject: Re: Cannot ssh from FreeBSD to Linux


On Feb 10, 2004, at 10:11 PM, P.V.N wrote:

> No they are on the same network. Everything is identical except for
the
> last two digits of the IP address.

What does the route on each look like?

% netstat -r


>
> -Original Message-
> From: Chad Leigh -- Shire.Net LLC [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, February 10, 2004 11:07 PM
> To: P.V.N
> Cc: [EMAIL PROTECTED] ORG
> Subject: Re: Cannot ssh from FreeBSD to Linux
>
>
>
>
>>  I am running FreeBSD 5.1 and running Debian Woody stock 2.2.20
> kernel.
>> My ISP is Comcast and each machine has an IP address assigned by
DHCP,
>> from Comcast.
>> My problem is: I am unable to ssh to the FreeBSD machine from my
> Debian
>> machine and cannot ssh to Debian from FreeBSD. However, I can ssh to
>> each machine from a Windows XP machine, also on Comcast. As a matter
> of
>> fact, all three of the machines are attached to the same hub.
>
> Per chance what are the IP addresses assigned by DHCP to the Linux and
> FBSD machines?  Could they be on different "networks" ?
>
> Chad
>
>
> ---
> Inexpensive WebObjects hosting -- www.shire.net
>

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


Re: library/linking problems

2004-02-10 Thread Joey Mingrone
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Kent,

I did a comparison with a similar box at work and there were two libs 
in /usr/local/lib on my box that weren't on the box at work.  They 
were /usr/local/lib/libstdc++.a and /usr/local/lib/libstdc++.la*.  I did a 
pkg_which on them but no port matches.  I'm not sure how they got there, but 
after moving them out of the way ports starting linking again.  Thanks for 
you help.  ...very much appreciated.

Cheers,

Joey

On February 10, 2004 01:30, Kent Stewart wrote:
> On Monday 09 February 2004 07:29 pm, Joey Mingrone wrote:
> > -BEGIN PGP SIGNED MESSAGE-
> > Hash: SHA1
> >
> > Thanks for the tips Kent.  I'm running 4.9 (4.9-RELEASE-p2).
> >
> > I also did a cvsup of the ports tree and a portsdb -uU, and after
> > make/buid world and a new kernel I also deleted everything is
> > /usr/include/g++ and did: cd /usr/src && rm -r /usr/include/g++ &&
> > make includes
> >
> > portupgrade -Rf id3lib updates the dependencies properly but still
> > produces the same errors.
> >
> > I'm guessing the problem is in /usr/lib???I
>
> I logged my build and then cp'ed your output onto my machine. We compare
> until yours gets to section on "Making all in examples" and then after,
> "mkdir .libs", yours falls apart and mine makes the lib and then
> proceeds to "creating id3info". The only -L is /usr/local/lib. The
> undefined references are typical c++ stuff. For example,
>
> demo_info.o: In function `PrintUsage(char const *)':
> demo_info.o(.text+0x1d): undefined reference to `cout'
> demo_info.o(.text+0x22): undefined reference to
> `ostream::operator<<(char const *)'
> demo_info.o(.text+0x2b): undefined reference to
> `ostream::operator<<(char const *)'
> demo_info.o(.text+0x34): undefined reference to
> `ostream::operator<<(char const *)'
> demo_info.o(.text+0x40): undefined reference to `endl(ostream &)'
>
> Do you have any refuses where you could be using old code or options
> in /etc/make.conf? Also, are you cvsuping src-all completely. I am
> running 4.9-stable but we shouldn't be that different.
>
> Kent
>
> > Thanks,
> >
> > Joey
> >
> > On February 9, 2004 16:53, Kent Stewart wrote:
> > > On Monday 09 February 2004 07:38 am, Joey Mingrone wrote:
> > > > -BEGIN PGP SIGNED MESSAGE-
> > > > Hash: SHA1
> > > >
> > > > Hi,
> > > >
> > > > I have some sort of problem with my c++ stream libraries.  A
> > > > bunch of ports that rely on things like cerr are giving linking
> > > > errors.  (lots of "undefined reference to `cerr', undefined
> > > > reference to `ostream::operator<<(char const *)'").
> > > >
> > > > I've posted output from the some the builds that fail at
> > > > http://mingrone.org/errors/.
> > > >
> > > > I also cvsuped my sources and rebuilt userland and my kernel, but
> > > > no luck.
> > >
> > > Just to make sure, did you reboot?  You appear to be running 5.x
> > > but gives us a "uname -a" to let us see.
> > >
> > > > Any suggestions?
> > >
> > > I don't know which header is missing. Since you seem to have a
> > > general problem, I think I would a pattern for what is broken by
> > > doing the following: cvsup ports-all, make index, and portsdb -u.
> > >
> > > Then portupgrade -Rf id3lib. The will rebuild everything that
> > > id3lib uses and you will see more quickly if it fixes your problem
> > > than to rebuild the pieces of arts-1.1.4
> > >
> > > I have kde-3.2 running on both 4.9-stable and 5.2-current. I am
> > > using kmail from 3.2 to send this. Building it on -current I had to
> > > use a kluge but it works. When someone figures out the real fix, I
> > > will rebuild everything to get away from the kluge.
> > >
> > > Kent
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQFAKbzB0NQPEWppBZsRAuINAJ4of09CNtq6VJrX7Fxq2h2T0xsOzwCgoWfw
vrSWRB7SJSUrxA+lzEo/iTU=
=6Xc3
-END PGP SIGNATURE-

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


Re: Cannot ssh from FreeBSD to Linux

2004-02-10 Thread Chad Leigh -- Shire.Net LLC
On Feb 10, 2004, at 10:11 PM, P.V.N wrote:

No they are on the same network. Everything is identical except for the
last two digits of the IP address.
What does the route on each look like?

% netstat -r


-Original Message-
From: Chad Leigh -- Shire.Net LLC [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 10, 2004 11:07 PM
To: P.V.N
Cc: [EMAIL PROTECTED] ORG
Subject: Re: Cannot ssh from FreeBSD to Linux



 I am running FreeBSD 5.1 and running Debian Woody stock 2.2.20
kernel.
My ISP is Comcast and each machine has an IP address assigned by DHCP,
from Comcast.
My problem is: I am unable to ssh to the FreeBSD machine from my
Debian
machine and cannot ssh to Debian from FreeBSD. However, I can ssh to
each machine from a Windows XP machine, also on Comcast. As a matter
of
fact, all three of the machines are attached to the same hub.
Per chance what are the IP addresses assigned by DHCP to the Linux and
FBSD machines?  Could they be on different "networks" ?
Chad

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


RE: Cannot ssh from FreeBSD to Linux

2004-02-10 Thread P.V.N
No they are on the same network. Everything is identical except for the
last two digits of the IP address.

-Original Message-
From: Chad Leigh -- Shire.Net LLC [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, February 10, 2004 11:07 PM
To: P.V.N
Cc: [EMAIL PROTECTED] ORG
Subject: Re: Cannot ssh from FreeBSD to Linux




>  I am running FreeBSD 5.1 and running Debian Woody stock 2.2.20
kernel.
> My ISP is Comcast and each machine has an IP address assigned by DHCP,
> from Comcast.
> My problem is: I am unable to ssh to the FreeBSD machine from my
Debian
> machine and cannot ssh to Debian from FreeBSD. However, I can ssh to
> each machine from a Windows XP machine, also on Comcast. As a matter
of
> fact, all three of the machines are attached to the same hub.

Per chance what are the IP addresses assigned by DHCP to the Linux and 
FBSD machines?  Could they be on different "networks" ?

Chad


---
Inexpensive WebObjects hosting -- www.shire.net

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


Re: Cannot ssh from FreeBSD to Linux

2004-02-10 Thread Chad Leigh -- Shire.Net LLC



 I am running FreeBSD 5.1 and running Debian Woody stock 2.2.20 kernel.
My ISP is Comcast and each machine has an IP address assigned by DHCP,
from Comcast.
My problem is: I am unable to ssh to the FreeBSD machine from my Debian
machine and cannot ssh to Debian from FreeBSD. However, I can ssh to
each machine from a Windows XP machine, also on Comcast. As a matter of
fact, all three of the machines are attached to the same hub.
Per chance what are the IP addresses assigned by DHCP to the Linux and 
FBSD machines?  Could they be on different "networks" ?

Chad

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


Re: Please help me update my address book

2004-02-10 Thread Benjamin Meade
Buck Jones wrote:

sorry for the inconvenience Freebsd-Questions,

I'm updating my address book. Please take a moment to update
your latest contact information. Your information is stored in
my personal address book and will not be shared with anyone
else. Plaxo is free, if you'd like to give it a try.
only enter the information you want me to have. I will share
this with no one...I just like to have a good contact list. it
saves on bounced emails..
Click the following link to correct or confirm your information: https://www.plaxo.com/edit_contact_info?r=21475104694-14407503--157195037
http://www.theregister.co.uk/content/6/35443.html

--
Benjamin Meade
System Administrator
LanWest Pty Ltd
Ph:  +61 (8) 9440 3033
Fax: +61 (8) 9440 3370
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Fw: problem with mouse driver during install / toshiba satellite 1135 laptop

2004-02-10 Thread Peter Kurpis
> >I am installing FreeBSD 4.7 on my laptop, and when I get to
> >the mouse configuration part, it seems I can't get any combination
> >of protocol and port to test right (i.e. for mouse movement).
> 
> Why such an old code base?

I have some system-level software I want to play with that isn't 
tested to run at later versions, and will probably have problems
at later versions.

I would rather find out what I have to patch and rebuild than upgrade
versions.

[More below.]

> >Windows says it's an Alps Pointing Device, on interrupt 12.
> 
> >(1) What should work?
> 
> Not sure, as I don't use that particular device.  I have used "moused"
> both for my Dell i5000e and for a ThinkPad 600E.
> 
> >(2) If I disable the mouse driver, will this affect my X Windows 
> >installation?
> 
> Yes.  X won't work without a pointer device.

Oh, so it doesn't have its own driver...

Is there maybe another testing or probing utililty besides the one in 
/stand/sysinstall?

Thanks for any suggestions or help!

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


Re: Cannot ssh from FreeBSD to Linux

2004-02-10 Thread Kris Kennaway
On Tue, Feb 10, 2004 at 10:08:54PM -0600, P.V.N wrote:
> Hello all,
> 
>  I am running FreeBSD 5.1 and running Debian Woody stock 2.2.20 kernel.
> My ISP is Comcast and each machine has an IP address assigned by DHCP,
> from Comcast. 
> My problem is: I am unable to ssh to the FreeBSD machine from my Debian
> machine and cannot ssh to Debian from FreeBSD. However, I can ssh to
> each machine from a Windows XP machine, also on Comcast. As a matter of
> fact, all three of the machines are attached to the same hub. Also I can
> ssh to both of the machines from the world, from work for instance.
> Neither machine can ping each other and neither can hit port 80 on the
> other machine. I access the machines via IP address so DNS is not an
> issue, at least I don't think so.
> Has anyone else experienced an issue like this? Does anyone know where I
> may be able to get a resolution.

You should do some more debugging using the sshd -d and ssh -v flags.

Kris


pgp0.pgp
Description: PGP signature


DVD drive

2004-02-10 Thread Pamadi, Vivek
hi 


   Regading Error messgae Device /dev/dvd not found 
  Try setting up a symbolic link; as root, type:

ln -s /dev/cdrom /dev/dvd


it will work 

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


Cannot ssh from FreeBSD to Linux

2004-02-10 Thread P.V.N
Hello all,

 I am running FreeBSD 5.1 and running Debian Woody stock 2.2.20 kernel.
My ISP is Comcast and each machine has an IP address assigned by DHCP,
from Comcast. 
My problem is: I am unable to ssh to the FreeBSD machine from my Debian
machine and cannot ssh to Debian from FreeBSD. However, I can ssh to
each machine from a Windows XP machine, also on Comcast. As a matter of
fact, all three of the machines are attached to the same hub. Also I can
ssh to both of the machines from the world, from work for instance.
Neither machine can ping each other and neither can hit port 80 on the
other machine. I access the machines via IP address so DNS is not an
issue, at least I don't think so.
Has anyone else experienced an issue like this? Does anyone know where I
may be able to get a resolution.

Thanks in advance,

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


py-wxPython compilation error

2004-02-10 Thread Tsu-Fan Cheng
Hi freebsd, I have a problem in compiling x11-toolkit/py-wxPython from
ports, the output are follows:

cc -fno-strict-aliasing -DNDEBUG -O -pipe -march=pentiumpro -D_THREAD_SAFE
-DTHREAD_STACK_SIZE=0x2 -O -pipe -march=pentiumpro -fPIC -DSWIG_GLOBAL
-DHAVE_CONFIG_H -DWXP_USE_THREAD=1 -UNDEBUG -Isrc
-I/usr/local/include/python2.3 -c src/gtk/frames.cpp -o
build-gtk2/temp.freebsd-4.8-STABLE-i386-2.3/src/gtk/frames.o
-I/usr/X11R6/include/wx/gtk2-2.4 -I/usr/X11R6/include -DGTK_NO_CHECK_CASTS
-D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES
-I/usr/local/include/atk-1.0 -I/usr/local/include/glib-2.0
-I/usr/local/lib/glib-2.0/include -I/usr/X11R6/include/gtk-2.0
-I/usr/X11R6/lib/gtk-2.0/include -I/usr/X11R6/include/pango-1.0
-I/usr/X11R6/include -I/usr/local/include/freetype2 -I/usr/local/include
src/gtk/frames.cpp: In function `struct PyObject *
_wrap_wxTopLevelWindow_SetShape(PyObject *, PyObject *, PyObject *)':
src/gtk/frames.cpp:716: no matching function for call to
`wxTopLevelWindow::SetShape (wxRegion &)'
error: command 'cc' failed with exit status 1
*** Error code 1


any idea? thanks a bunch!


Best Regards, :-)

Tsu-Fan Cheng [鄭祖帆] (BIG5)
SUNY at Stony Brook
Stony Brook, NY, 11794

"We are luckier than we think!"
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Grave vinum problem (at least for me)

2004-02-10 Thread Greg 'groggy' Lehey
On Thursday,  5 February 2004 at  6:48:18 +0100, Ole Voss wrote:
>
> Last night I reinstalled freebsd and obviously somewhere along the way my
> 400GB concat vinum volume wasn't unmounted (at least that's what freebsd
> told me). Now, when I run 'fsck -t ufs /dev/vinum/abyss'
>
> I get this:
>
> titan# fsck -t ufs /dev/vinum/abyss
> ** /dev/vinum/abyss
>
> CANNOT READ BLK: 843781344
> CONTINUE? [yn] y
>
> THE FOLLOWING DISK SECTORS COULD NOT BE READ: 843781344, 843781345,
> 843781346, 843781347,
> /dev/vinum/abyss: CANNOT FIGURE OUT FILE SYSTEM PARTITION
>
> It mounted fine last night and everything looked perfect. Then I did a
> reboot and ... well, this is it now.
>
> Can anybody help me out?

We need more information than this.  This message alone could mean
that one of your disks is defective, or that some component of the
Vinum array is down.  Take a look at
http://www.vinumvm.org/vinum/how-to-debug.html and supply the info I
ask for there.

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


pgp0.pgp
Description: PGP signature


FIXIT CD and Non-Bootable CDROM

2004-02-10 Thread Rishi Chopra
Is it possible to boot the FreeBSD FIXIT CD from a non-bootable CDROM 
drive, by using a FreeBSD boot disk or something similar?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: 5.2 install hangs after menu -- USB ISSUES

2004-02-10 Thread Kathy Quinlan


> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> Dimitri Aivaliotis
> Sent: Tuesday, 10 February 2004 9:06 PM
> To: [EMAIL PROTECTED]
> Subject: Re: 5.2 install hangs after menu
> 
> 
> On Tue, 10 Feb 2004 17:47:27 +0800
> "Kathy Quinlan" <[EMAIL PROTECTED]> wrote:
> 
> > OK here is the info I get:
> > 
> > After the menu, and the kernel load:
> > loading required module 'pci'
> > ACPI autoload failed - no such file or directory
> > \
> > int= 0006 err=  efl=0001 0896 eip=8903 8b08 
> eax=  
> > ebx=0043 af10 ecx= 003f edx=  esi=000b e1e8 
> edi=0005 8a65 
> > ebp=0009 48a0 esp=0009 e858 cs=0008 ds=0010 es=0010 fs=0010 gs=0010 
> > ss=0010 cs:eip= ff ff ff ff ff ff ff ff-ff ff ff ff ff ff ff ff
> > ff ff ff ff ff ff ff ff-ff ff ff ff ff ff ff ff
> > ss:esp= df af 43 00 10 af 43 00-e8 e1 06 00 00 08 00 80
> > 75 00 00 a0 00 00 00 00-00 00 00 00 00 00 00 00
> > 
> > BTX halted
> > 
> > That is all I get sofar.
> > 
> 
> Google ist your friend:
> 
> Searching for "FreeBSD ACPI autoload failed - no such file or 
> directory" yielded:
> 

OK this was all a red herring :o(

The fault turned out to be that in BIOS I had USB support for legacy
KBD/MOUSE/FDD enabled.

Then the installer hung while I had an ATMEL USB development board
plugged in, and also a MGE USB UPS.

So it looks like the install loader hangs on USB devices that are not
generic (USB HP ScanJet 5200C, Aopen optical USB mouse and M$ USB
keyboard are ok)

Installing the 5.2 Boot Loader trashed Win XP, but a rebuild fixed win
XP with no loss of data (but I had the data backed up anyway) and I
installed GAG boot loader so I could dual boot.

Everything seems to be running sweet now :o)

Regards,

Kat.

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.580 / Virus Database: 367 - Release Date: 6/02/2004
 

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


Fw: ftp problems R4.8

2004-02-10 Thread Graham North

- Original Message - 
From: Graham North 
To: [EMAIL PROTECTED] 
Sent: Monday, February 09, 2004 10:17 PM
Subject: ftp problems R4.8


Help!   I am a newbie who has set up a command line FreeBSD system on an XPI 166 
laptop. 
Most things seem to work okay except the ftp - I have been struggling with this on and 
off for a couple of weeks.   To download some packages I ended up running ncftp and it 
was able to successfully operate but excruciatingly slowly (ie 950secs) for a download 
of about 1MB - I operate on ADSL - go figure.

Both the regular and nc ftp packages seem prone to stalling.   My latest problems 
centre about trying to download some webpage files from another machine (WinXP) 
attached to (and behind) a USR router/firewall (yes the USRobotics firewall is 
enabled) my Freebsd one is not.   The ftp server is filezilla server on the WinXP 
machine.  I was starting with downloading a simple webpage to test apache - two files, 
index.htm and a small (30K) jpeg image.   Index file downloaded quickly, the jpeg 
stalled after 26K - and kept on stalling - same place.   When I tried using ncftp this 
time, it stalled at about 18K.  Things are set up well enough that I am able to 
connect to and navigate the server from my FreeBSD system.
Clearly there must be some basic setting that is incorrect or incompatible - perhaps 
related to my router - but am not too sure.
The only reference which I could find was related to problems with tcp.recvspace being 
set at 56K for 4.8, but it seemed to refer to modem related problems.   In any event I 
was not able to change it.
Any suggestions would be greatly appreciated.
Graham/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: deactivate slave on first IDE

2004-02-10 Thread Gautam Gopalakrishnan
On Tue, 10 Feb 2004 16:42:50 +0100
Antoine Jacoutot <[EMAIL PROTECTED]> wrote:

> Hi :)
> 
> Since my system doesn't boot when my cdrom is plugged in (it hangs
> after timecounter... ; see my previous post), I was wondering if it
> was possible to tell FreeBSD not to "deal" with IDE1-slave (something
> like "boot -noide2)... Indeed, in my bios, I set the IDE1-slave to
> none, but FreeBSD keeps hanging on bootup.

I assume you're running 5.2 p2. I had the same problem and it is solved
by having a cd in the drive while booting. Seems like a known bug and is
being fixed.

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


FreeBSD 4.9, Apache 2.0.47 and PHP 4.3.3

2004-02-10 Thread Mike Bowie
All,

I should probably be asking this in an Apache or PHP group, but given that the source 
of the issue seems to be so elusive, I can't point the finger at either just yet so 
I'm hoping someone here can point me in the right direction.

I have a fresh FreeBSD 4.9 server running at a co-location facility.  I've twiddled 
the kernel a little for firewalling and removed all of the devices not in use.

Once the install was complete, I cvsup'd the ports tree to cvs release, in order to 
have the more recent builds available and installed PostgreSQL, Apache and PHP4 as I 
usually do.  I then went to work preparing the sites to be transferred to the new 
environment.

The problem is, every now and then, (generally after Apache has been running for about 
an hour, but sometime after only a few minutes,) Apache stops parsing the files as PHP 
and starts serving them unparsed as application/x-httpd-php, which obviously doesn't 
go over well.

When it started to happen, I first blamed my rather sleek httpd.conf, which I use on 
about four other servers as it is... without fault.  So I setup my virtual host 
entries etc in the default httpd.conf and went back to porting the sites.

It happened  again... so I blamed the PHP module, so I rebuilt it again with only the 
default options, minus mysql and plus postgresql.  Same result.  
So I reverted back to the original ports tree which shipped with 4.9 and rebuilt PHP 
again.  Same result.
I then rebuilt Apache from the original 4.9 ports tree and PHP again to match... same 
result.

It's almost like PHP is core dumping somewhere... without warning or notice.  I can't 
seem to get anything special to come out in the logs, even when I run "httpd -e debug 
-X" it happens and doesn't tell me anything.

The most frustrating thing is the lack of knowing where to begin.  Without anything 
returning an error, I'm stumped.  Any suggestions are welcomed!

Thanks in advance,

Mike.

ps... I'd attach my whole httpd.conf and php.ini, but the problem presents itself even 
when I use the stock versions from the ports installations.

= begin virtualhost example =


# Server values and flags
ServerName my.domain.com
ServerAlias testing.domain.com
DocumentRoot "/usr/local/www/html" 
# Parse .html files as PHP scripts
AddType application/x-httpd-php .html
# Compatibility flags while porting
php_flag asp_tags on
php_admin_flag register_globals on
# Directory level controls

Order allow,deny
Allow from all



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


Re: how to make psybnc

2004-02-10 Thread Chris Ganderton
> 
>I would like to ask how to make psybnc on FreeBSD 5.2-RELEASE
>(GENERIC)
the psybnc port is in /usr/ports/irc/psybnc. Assuming the ports collection is 
installed on your system, just cd to
that directory and issue the command `make install' as root, which will start to 
install it.

If you don't have the ports collection installed, then mount your install cd and 
install it (using /stand/sysinstall, or goto the ports directory and use the install 
script for it.


>i'm unfamiliar with FreeBSD's directory layout
> 
Read the hier(7) manpage, to get to grips where everything is in FreeBSD. Reading the 
handbook in further detail should help you with other tasks, and different ways to 
install software and updates for your system.

http://www.freebsd.org/doc/en/books/handbook/index.html

-- 




pgp0.pgp
Description: PGP signature


[SOLVED] Re: Segmentation Fault Question

2004-02-10 Thread Brendan McAlpine
Sorry for the quick post before everyone.  Turns out that the problem 
WAS with vpopmail and wasn't a system wide thing.  Basically an entry 
in a file was corrupt and had to be deleted.

On Tuesday, February 10, 2004, at 05:42  PM, Brendan McAlpine wrote:

Hey everyone,

I am running version 4.3 and I am running into the following problem.  
When running one of the commands in vpopmail, I am getting a core dump 
(segmentation fault).

There is no obvious vpopmail answer, so I'm thinking it might be 
system related.

I ran ktrace/kdump on the process, and here are the last few lines of 
the output:

77402 vpasswd  RET   write 8192/0x2000
 77402 vpasswd  PSIG  SIGSEGV SIG_DFL
 77402 vpasswd  NAMI  "vpasswd.core"
Can anyone tell me why I am getting segmentation faults?  Let me know 
if you need any more info.  The configuration of the system hasn't 
been changed and everything was working fine until recently, when the 
command started generating these errors.

TIA

Brendan

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

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


how to make psybnc

2004-02-10 Thread Donny Ridwan

   hello,

   I would like to ask how to make psybnc on FreeBSD 5.2-RELEASE
   (GENERIC)

   i'm unfamiliar with FreeBSD's directory layout

   Thank you
   --

   ___
   Sign-up for Ads Free at Mail.com
   [1]http://www.mail.com/?sr=signup

References

   1. http://mail01.mail.com/scripts/payment/adtracking.cgi?bannercode=adsfreejump01
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: mount_smbfs

2004-02-10 Thread Jason Taylor
Brian H wrote:

Greetings:
I am trying to use mount_smb to mount a share on a windows machine on my 
local area network.
The problem is I think I need to authenticate with a domain controller 
to do so. I have tried
a couple of things, but i have had no success. Here is what i have tried 
so far. Any thoughts?

mount_smbfs -I  
//@/ /mnt

for username I have tried: the domain/username and just the username 
bare. I get the same results.

Thanks,

Brian

I had the same problem.  Using the -W  option and a bare 
user name solved it.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


mount_smbfs

2004-02-10 Thread Brian H
Greetings:
I am trying to use mount_smb to mount a share on a windows machine on my 
local area network.
The problem is I think I need to authenticate with a domain controller to do 
so. I have tried
a couple of things, but i have had no success. Here is what i have tried so 
far. Any thoughts?

mount_smbfs -I  
//@/ /mnt

for username I have tried: the domain/username and just the username bare. I 
get the same results.

Thanks,

Brian

_
Check out the great features of the new MSN 9 Dial-up, with the MSN Dial-up 
Accelerator. http://click.atdmt.com/AVE/go/onm00200361ave/direct/01/

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


Re: How about them optimizations?

2004-02-10 Thread Roop Nanuwa
Kirk Strauser wrote:

At 2004-02-10T20:14:46Z, Roop Nanuwa <[EMAIL PROTECTED]> writes:

 

The only reason they're in there is because I saw them on a website about
what people use to optimize gentoo.
   

Don't take this wrong, but that's like asking for car performance advice
From some guy with a whaletail on his Sentra.
 

Oh, don't get me wrong. I realize that this is about as close to eRicing 
as OS discussions get. I was
wondering if there was any merit at all to this. I mean, adding a 
spoiler that makes your car look
like a shopping cart is one thing. Putting a reasonable spoiler on a car 
is another as it is actually
beneficial to some degree for more than just looks. I was trying to see 
where on the spectrum
these optimizations were from "reasonable" to "ricer".

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


Segmentation Fault Question

2004-02-10 Thread Brendan McAlpine
Hey everyone,

I am running version 4.3 and I am running into the following problem.  
When running one of the commands in vpopmail, I am getting a core dump 
(segmentation fault).

There is no obvious vpopmail answer, so I'm thinking it might be system 
related.

I ran ktrace/kdump on the process, and here are the last few lines of 
the output:

77402 vpasswd  RET   write 8192/0x2000
 77402 vpasswd  PSIG  SIGSEGV SIG_DFL
 77402 vpasswd  NAMI  "vpasswd.core"
Can anyone tell me why I am getting segmentation faults?  Let me know 
if you need any more info.  The configuration of the system hasn't been 
changed and everything was working fine until recently, when the 
command started generating these errors.

TIA

Brendan

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


Re: How about them optimizations?

2004-02-10 Thread Kris Kennaway
On Tue, Feb 10, 2004 at 12:14:46PM -0800, Roop Nanuwa wrote:
> Part of my current /etc/make.conf on my 5.2-CURRENT box looks like:
> 
> CPUTYPE= athlon-xp
> CFLAGS= -O2 -pipe -fomit-frame-pointer -mmmx -msse -m3dnow -mfpmath=sse
> COPTFLAGS= -O -pipe
> 
> Now what I'm wondering is if those extras like mmmx msse actually do 
> anything. The
> only reason they're in there is because I saw them on a website about 
> what people
> use to optimize gentoo. I had nothing better to do so I recompiled the 
> world with
> them. I didn't really notice anything good or bad happening after that. 
> I did have
> to mess around with a couple of makefiles to get around the 
> strict-aliasing problem
> that O2 introduces. Besides that, though, are there any advantages or 
> disadvantages
> to compiling with those optimizations and switches?
> 
> Does -mfpmath=sse actually do anything relevent for the FreeBSD world? I 
> know
> what the GCC manual says about it but I'd rather hear some real world info.
> 
> An enquiring mind wants to know.

That's superfluous, because gcc already uses all available opcodes
when you tell it to optimize for your CPU type with CPUTYPE=athlon-xp.
Using -O2 is recommended against, though - see the sample make.conf
file.

Kris


pgp0.pgp
Description: PGP signature


FreeBSD 4.9: Server Works GCSL --> unknown chipset

2004-02-10 Thread Benjamin Thelen (CCGIS)
Hello list,

First off, the environment:

FreeBSD 4.9 RELEASE,
Intel P4 3GH with HTT enabled
Mainboard ASUS NRL-L533
North Bridge: ServerWorks CMIC-SL
South Bridge: ServerWorks CSB6


I checked google and the mailing list archive but couldn't find helpful 
(for me) information on this.

A client brought us a server to install FreeBSD 4.9 on it, but the 
chipset isn't recognized by the system. I had to disable DMA in the BIOS 
to get FreeBSD booting off the IDE-HDD. I then read the Hardware Release 
notes (I know, it's too late):

FreeBSD 4.9: ServerWorks CSB5 ATA66/ATA100
FreeBSD 5.2: ServerWorks CSB5 and CSB6 ATA66/ATA10
According to this, it is the only way to install 5.2? Would 4.9-stable 
recognize the chipset? Is that lack fundamental to the whole system or 
would it suffice to just buy a new IDE-Controller?

I was so happy to have our client conviced of FreeBSD, that it would be 
a pity, if that faild now.

Thanks very much in advance,
Benjamin


dmesg:

Copyright (c) 1992-2003 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 4.9-RELEASE #0: Mon Oct 27 17:51:09 GMT 2003
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
Timecounter "i8254"  frequency 1193182 Hz
CPU: Intel(R) Pentium(R) 4 CPU 3.06GHz (3065.82-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0xf27  Stepping = 7
Features=0xbfebfbff
OV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
  Hyperthreading: 2 logical CPUs
real memory  = 1073721344 (1048556K bytes)
avail memory = 1039736832 (1015368K bytes)
Preloaded elf kernel "kernel" at 0xc053f000.
Warning: Pentium 4 CPU: PSE disabled
Pentium Pro MTRR support enabled
md0: Malloc disk
Using $PIR table, 10 entries at 0xc00f1ce0
npx0:  on motherboard
npx0: INT 16 interface
pcib0:  on motherboard 
pci0:  on pcib0
bge0:  mem
0xfe00-0xfe00
 irq 12 at device 3.0 on pci0
bge0: Ethernet address: 00:0c:6e:ec:8f:0d
miibus0:  on bge0
brgphy0:  on miibus0
brgphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 
1000baseTX-
FDX, auto
pci0:  at 9.0 irq 10
isab0:  at device 15.0 on pci0
isa0:  on isab0
atapci0:  port
0x9400-0x940f,0x9800-0x9803,0xa000-0xa
007,0xa400-0xa403,0xa800-0xa807 at device 15.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
ohci0:  mem 0xfc00-0xfc000fff irq 11 
at device
 15.2 on pci0
usb0: OHCI version 1.0, legacy support
usb0:  on ohci0
usb0: USB revision 1.0
uhub0: (0x1166) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 4 ports with 4 removable, self powered
pcib255:  on 
motherboard pci255:  on pcib255
pcib1:  on motherboard
pci1:  on pcib1
orm0:  at iomem 0xc-0xc7fff on isa0
pmtimer0 on isa0
fdc0: ready for input in output
fdc0: cmd 3 failed at out byte 1 of 3
atkbdc0:  at port 0x60,0x64 on isa0
atkbd0:  flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
vga0:  at port 0x3c0-0x3df iomem 0xa-0xb on 
isa0 sc0:  at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
ppc0: parallel port not found.
ad0: 114473MB  [232581/16/63] at ata0-master 
BIOSDMA ad1: 114473MB  [232581/16/63] at ata0-slave 
WDMA2 acd0: DVD-ROM  at ata1-master PIO4
Mounting root from ufs:/dev/ad0s1a
stray irq 7
stray irq 7
stray irq 7
stray irq 7
stray irq 7
too many stray irq 7's; not logging any more

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


Re: How about them optimizations?

2004-02-10 Thread Kirk Strauser
At 2004-02-10T20:14:46Z, Roop Nanuwa <[EMAIL PROTECTED]> writes:

> The only reason they're in there is because I saw them on a website about
> what people use to optimize gentoo.

Don't take this wrong, but that's like asking for car performance advice
From some guy with a whaletail on his Sentra.
-- 
Kirk Strauser

"94 outdated ports on the box,
 94 outdated ports.
 Portupgrade one, an hour 'til done,
 82 outdated ports on the box."


pgp0.pgp
Description: PGP signature


Re: What does __restrict do?

2004-02-10 Thread Erik Trulsson
On Tue, Feb 10, 2004 at 02:35:58PM -0500, Bill Moran wrote:
> In various places in the source code, for example, in the code for printf():
> 
> printf(char const * __restrict fmt, ...)
> 
> I understand everything except __restrict.  What does that mean/do?  Is it
> a FreeBSDism?  (I can't find anything about it in any C docs)

'__restrict' is a macro that expands to either 'restrict' if the
compiler used supports that keyword, or to the empty string otherwise.

'restrict' is a standard C keyword since 1999, and is essentially used
to inform the compiler that two pointers don't alias each other and
that the compiler is therefore free to perform certain optimizations
that otherwise might not be legal.
It is just a hint to the compiler, and can always be removed (but not
necessarily added) without changing the semantics of a program.

Any C book that covers C99 should contain a more complete explanation.


-- 

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


RE: Newbie Upgrading 4.8 - 5.2, filesystem full

2004-02-10 Thread richard
Migrating data will be problematic as there's lot of user cr*p and custom
built web apps from generations of cowboy programmers, plus about 300 users
and a couple of dozen virtual domains.

As I'm really only after a stable implementation of a USB external drive
(for backup) am I better off trying an upgrade from 4.8 to 4.9?

Cheers,
Richard

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Lowell Gilbert
Sent: Wednesday, 11 February 2004 1:38 AM
To: Jez Hancock
Cc: Richard Beyer; [EMAIL PROTECTED]
Subject: Re: Newbie Upgrading 4.8 - 5.2, filesystem full

Jez Hancock <[EMAIL PROTECTED]> writes:

> On Tue, Feb 10, 2004 at 08:10:05PM +1100, Richard Beyer wrote:
> > Thanks Jez,
> > 
> > Here's my df -h
> > FilesystemSize   Used  Avail Capacity  Mounted on
> > /dev/ad0s1a   126M   106M   9.4M92%/
> > /dev/ad0s1f   252M   9.6M   222M 4%/tmp
> > /dev/ad0s1g72G   2.7G64G 4%/usr
> > /dev/ad0s1e   252M51M   181M22%/var
> > procfs4.0K   4.0K 0B   100%/proc
> > 
> > 
> > It's an 80Gig HDD and I was using the sysinstall | upgrade | all |
include
> > ports
> 
> Seems odd that so much space is taken up by / - perhaps under 5.x more
> space is required?  I really do need to install 5.x at some point ... :P

Yes, more space is used in the root filesystem for 5.x.  [For 
several different reasons...]  

> Can you not do a backup of your data and start over with a fresh install
> of 5.2?  You have stacks of room on the hdd spare, so presumably doing
> this wouldn't be too problematic.

That's definitely the way to go if possible; there are a number of
advantagious new features that will be difficult to take advantage 
of otherwise. 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: HP jetdirect printer installation

2004-02-10 Thread Matthew Seaman
On Tue, Feb 10, 2004 at 10:01:44AM -0500, Tom Hollingsworth wrote:
> Is there a utility similar to hppi for Solaris to install HP jetdirect
> network printers under FreeBSD?

Nothing obvious that has specific support for JetDirect features.
However JetDirect printers work well with just about any Unix printing
software -- either the system supplied lpd(8) or the currently
fashionable CUPS.  If you're using lpd(8), then look at installing the
print/apsfilter port, which add a raft of filters for automatically
translating a number of file formats into postscript for printing.
CUPS has similar functionality, and also supports using PPD files to
provide support for the options provided by your printer.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature


Re: AMD vs Intel ...

2004-02-10 Thread Chad Leigh -- Shire.Net LLC
On Feb 10, 2004, at 11:13 AM, Charles Swiger wrote:

On Feb 10, 2004, at 12:58 PM, Chad Leigh -- Shire.Net LLC wrote:
Just a note:  If you want ECC with an AMD Athlon (not AMD64), you 
need to buy a dual board anyway, since I don't know of anyone who 
makes a board with a chipset that supports ECC that isn't a dual.
Hi, Chad--

I've got a Shuttle AK31v3 motherboard which does registered+ECC 
memory, which is a single-proc motherboard:

System Mainboard
Manufacturer : HOLCO (Shuttle)
MP Support : No
Model : VT8366-8233
BIOS ID : 04/17/2002-VT8366-8233-6A6LVH2CC-00
Chipset : VIA KT266/A Chipset
Hmm, that must have been a KT266A (versus KT266) feature.

Anyone know of any current AMD Athlon motherboards with chipsets that 
support ECC that are not dual MB?  The KT266A is an older chipset.

The AMD 760 series of chipsets support ECC but you only find these in 
dual motherboards usually.  I have the Gigabyte dual and it seems to 
work great with the Gentoo Linux installed on it (needed it for some 
specialized Java stuff) and I also have some Tyan Tiger MP (not MPX) 
and they run great with FreeBSD.

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


RE: Manuals?

2004-02-10 Thread JJB
Replace sendmail with postfix and your email server world will
become much simpler. Sendmail is an legacy email server application
which uses macros and compiles to configure it's self. A real pain
in the butt. Postfix is configured with text files and no compiling.
Sendmail has an thick manual you have to buy from book store,
postfix has simple online manual. After 5 years fighting sendmail I
went to postfix and could kick my self for ever going with sendmail
in the first place.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Robert
Golovniov
Sent: Tuesday, February 10, 2004 9:41 AM
To: [EMAIL PROTECTED]
Subject: Manuals?

Hello,

  Can  anybody  suggest  some  good  reading  material about
Sendmail,
  Fetchmail, and Amavis?

  Thank you!

--
 -=Robert & Beata Golovniov | Lviv, Ukraine=-

~~
mailto:[EMAIL PROTECTED]&Body=Embedded%20key

~~
   "Raise your eyes high up and see. Who has created these things?"
(Isaiah 40:26)



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

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


How about them optimizations?

2004-02-10 Thread Roop Nanuwa
Part of my current /etc/make.conf on my 5.2-CURRENT box looks like:

CPUTYPE= athlon-xp
CFLAGS= -O2 -pipe -fomit-frame-pointer -mmmx -msse -m3dnow -mfpmath=sse
COPTFLAGS= -O -pipe
Now what I'm wondering is if those extras like mmmx msse actually do 
anything. The
only reason they're in there is because I saw them on a website about 
what people
use to optimize gentoo. I had nothing better to do so I recompiled the 
world with
them. I didn't really notice anything good or bad happening after that. 
I did have
to mess around with a couple of makefiles to get around the 
strict-aliasing problem
that O2 introduces. Besides that, though, are there any advantages or 
disadvantages
to compiling with those optimizations and switches?

Does -mfpmath=sse actually do anything relevent for the FreeBSD world? I 
know
what the GCC manual says about it but I'd rather hear some real world info.

An enquiring mind wants to know.

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


Re: Options for a New Kernel

2004-02-10 Thread peter lageotakes

--- Gerard Seibert <[EMAIL PROTECTED]> wrote:
> I am still trying to learn how FreeBSD works. Can I
> create a new kernel file with the following entries
> or are they just for use in the loader.conf file?
> 
> hint.acpi.0.disabled=0  # enable ACPI (i386
> only)
> hw.ata.ata_dma=1 # enable  IDE DMA
> hw.ata.atapi_dma=1 # enable ATAPI/IDE DMA
> hw.ata.wc=1# enable  IDE
> disk write cache
> hw.eisa_slots=0# disable probing for
> EISA devices
> 
> If I can place them in the kernel file, what would
> be the correct syntax to use, and where in the file
> should I place it? Would I have to do anything else
> special before compiling the kernel?
> 
> Thanks!
> 
> Gerard Seibert
> [EMAIL PROTECTED]
> 
> ___
> [EMAIL PROTECTED] mailing list
>
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
"[EMAIL PROTECTED]"

You might want to look into using:
sysctl and sysctl.conf

http://www.freebsd.org/cgi/man.cgi?query=sysctl&apropos=0&sektion=0&manpath=FreeBSD+4.9-RELEASE&format=html
http://www.freebsd.org/cgi/man.cgi?query=sysctl.conf&sektion=5&apropos=0&manpath=FreeBSD+4.9-RELEASE


=
ESCape with VI. Cheese A La mode.

__
Do you Yahoo!?
Yahoo! Finance: Get your refund fast by filing online.
http://taxes.yahoo.com/filing.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Funky characters in KMail 1.5.4

2004-02-10 Thread Matthew Seaman
On Mon, Feb 09, 2004 at 05:05:43PM -0500, Gerard Samuel wrote:
> Im not sure what to google for, so Im checking here to see if any other 
> FreeBSD users experience this.
> Every now and then my emails that I send contain extra characters like
> =2D and =46
> I have no idea what is causing it, and Im hoping someone on here can direct me 
> to something on the net to help me correct this.
> 
> Thanks for any advise you can pass along...

That's something to do with the quoted-printable MIME type used in the
body of many e-mails.  See RFC 2045, section 6.7 at, eg:

http://www.faqs.org/rfcs/rfc2045.html

However, your mail client should translate those character escapes
back to normal text before displaying it -- perhaps you're seeing the
escapes in some messages because those messages don't have the correct
MIME type in the headers?

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature


Re: checking checksums on binaries and checking for rootkits

2004-02-10 Thread Dan Nelson
In the last episode (Feb 10), Jerry McAllister said:
> > hello, im using FBSD 4.9 ... IS there a way to check the checksum
> > on binairies like "ls , ps" etc..  to check for rootkits ?
> > 
> > On Solaris you can run md5 on a binary and compare it against a
> > utility on SUNS website that will cehck the finger print to see
> > whether the binary is part of a rootkit or the original binary. 
> > Does Freebsd have a tool like this ?
> 
> The checksums are available for the ISOs on the FreeBSd site in the
> same directory as the ISOs.
> 
> As for individual routines, I don't know. 

mtree is great for this.  Run "mtree -k sha1digest,time,size -c -p /etc", 
save the output to a secure location, and run "mtree -p /etc < mtree.txt" 
later to verify timestamps and checksums.  Although it's mainly for
self-verification.  I suppose you could run it against the live cdrom.

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


What does __restrict do?

2004-02-10 Thread Bill Moran
In various places in the source code, for example, in the code for printf():

printf(char const * __restrict fmt, ...)

I understand everything except __restrict.  What does that mean/do?  Is it
a FreeBSDism?  (I can't find anything about it in any C docs)
--
Bill Moran
Potential Technologies
http://www.potentialtech.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: checking checksums on binaries and checking for rootkits

2004-02-10 Thread Jerry McAllister
> 
> hello,
> im using FBSD 4.9 ... IS there a way to check the checksum on binairies
> like "ls , ps" etc..  to check for rootkits ?
> 
> On Solaris you can run md5 on a binary and compare it against a utility on
> SUNS website that will cehck the finger print to see whether the binary is
> part of a rootkit or the original binary.  Does Freebsd have a tool like
> this ?

The checksums are available for the ISOs on the FreeBSd site 
in the same directory as the ISOs.

As for individual routines, I don't know. 

jerry

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


checking checksums on binaries and checking for rootkits

2004-02-10 Thread Brent Bailey
hello,
im using FBSD 4.9 ... IS there a way to check the checksum on binairies
like "ls , ps" etc..  to check for rootkits ?

On Solaris you can run md5 on a binary and compare it against a utility on
SUNS website that will cehck the finger print to see whether the binary is
part of a rootkit or the original binary.  Does Freebsd have a tool like
this ?


-- 
Brent Bailey



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


Re: AMD vs Intel ...

2004-02-10 Thread Kenneth Culver
Quoting "Chad Leigh -- Shire.Net LLC" <[EMAIL PROTECTED]>:

On Feb 10, 2004, at 11:24 AM, Kenneth Culver wrote:

Quoting "Chad Leigh -- Shire.Net LLC" <[EMAIL PROTECTED]>:

On Feb 10, 2004, at 5:25 AM, Chuck Swiger wrote:

Marc Wiz wrote:
On Mon, Feb 09, 2004 at 01:53:38PM -0500, Charles Swiger wrote:
OK.  The price difference for AMD vs. Intel is pretty 
significant, but be aware that you'll also pay a significant 
premium for dual-proc hardware versus single-proc machines: 
compare an AMD 2400MP versus the 2400XP price, or the 2.4GHz 
Xeon P4 vs. a Northwood P4, and then factor in the additional 
costs for a MP-capable motherboard.
Try about $159 for a dual processor motherboard from Tyan.
I just bought a S2466 for about that much brand new.
You can get a decent single-proc AMD motherboard for about $55 
(Shuttle AK39N w/ VIA KT400 + VT8235, onboard LAN and audio), 
which is one third the cost of your dual-proc MB, although 
obviously one can spend more on either type.

Just a note:  If you want ECC with an AMD Athlon (not AMD64), you need
to buy a dual board anyway, since I don't know of anyone who makes a
board with a chipset that supports ECC that isn't a dual.
Unless you buy one of the single processor athlon 64/opteron boards 
and get an
opteron/athlon 64 fx chip.

Which is why I said "(not AMD64)"
yeah, I saw that right after I responded :-P

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


Re: Options for a New Kernel

2004-02-10 Thread Benjamin Walkenhorst
On Tue, 10 Feb 2004 13:36:56 -0500
Gerard Seibert <[EMAIL PROTECTED]> wrote:

> I am still trying to learn how FreeBSD works. Can I create a new
> kernel file with the following entries or are they just for use in the
> loader.conf file?
> 
> hint.acpi.0.disabled=0  # enable ACPI (i386 only)
> hw.ata.ata_dma=1 # enable  IDE DMA
> hw.ata.atapi_dma=1 # enable ATAPI/IDE DMA
> hw.ata.wc=1# enable  IDE disk write cache
> hw.eisa_slots=0# disable probing for EISA devices

To quote /usr/src/sys/i386/conf/GENERIC:

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


The disadvantage of this approach is that you cannot change any hints
after you have compiled the kernel, unless you compile again everytime
you change one of the hints... 
I'm not sure this is a wise thing to do, but as you see, it's perfectly
possible. =) If your device-hints aren't like to change it's quite safe,
but I don't think your system's going to boot faster or something like
that.
Anyway, just write all of your device-hints to a file of your choice and
add
---
hints   "your_device_hints.hints"
---
to your kernel-config, "make kernel", reboot and enjoy. =)

I'm not entirely sure, but to be on the safe side, you probably place
the hints-file in the folder of your kernel-config
(/usr/src/sys//conf).

> Thanks!
> 
> Gerard Seibert
> [EMAIL PROTECTED]

Hope it helps,

kind regards,

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


Re: AMD vs Intel ...

2004-02-10 Thread Chad Leigh -- Shire.Net LLC
On Feb 10, 2004, at 11:24 AM, Kenneth Culver wrote:

Quoting "Chad Leigh -- Shire.Net LLC" <[EMAIL PROTECTED]>:

On Feb 10, 2004, at 5:25 AM, Chuck Swiger wrote:

Marc Wiz wrote:
On Mon, Feb 09, 2004 at 01:53:38PM -0500, Charles Swiger wrote:
OK.  The price difference for AMD vs. Intel is pretty significant, 
but be aware that you'll also pay a significant premium for 
dual-proc hardware versus single-proc machines: compare an AMD 
2400MP versus the 2400XP price, or the 2.4GHz Xeon P4 vs. a 
Northwood P4, and then factor in the additional costs for a 
MP-capable motherboard.
Try about $159 for a dual processor motherboard from Tyan.
I just bought a S2466 for about that much brand new.
You can get a decent single-proc AMD motherboard for about $55 
(Shuttle AK39N w/ VIA KT400 + VT8235, onboard LAN and audio), which 
is one third the cost of your dual-proc MB, although obviously one 
can spend more on either type.

Just a note:  If you want ECC with an AMD Athlon (not AMD64), you need
to buy a dual board anyway, since I don't know of anyone who makes a
board with a chipset that supports ECC that isn't a dual.
Unless you buy one of the single processor athlon 64/opteron boards 
and get an
opteron/athlon 64 fx chip.

Which is why I said "(not AMD64)"

Chad

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


Options for a New Kernel

2004-02-10 Thread Gerard Seibert
I am still trying to learn how FreeBSD works. Can I create a new kernel file with the 
following entries or are they just for use in the loader.conf file?

hint.acpi.0.disabled=0  # enable ACPI (i386 only)
hw.ata.ata_dma=1 # enable  IDE DMA
hw.ata.atapi_dma=1 # enable ATAPI/IDE DMA
hw.ata.wc=1# enable  IDE disk write cache
hw.eisa_slots=0# disable probing for EISA devices

If I can place them in the kernel file, what would be the correct syntax to use, and 
where in the file should I place it? Would I have to do anything else special before 
compiling the kernel?

Thanks!

Gerard Seibert
[EMAIL PROTECTED]

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


RE: installing 5.2 for AMD 64

2004-02-10 Thread Edmund Craske
As far as I know, there are no packages yet built for amd64, so
the only install disc is the miniinst one, which is essentially
what you would normally get, but without packages. This one is
the one to use.

Ed

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Pete Molina
> Sent: 10 February 2004 18:10
> To: [EMAIL PROTECTED]
> Subject: installing 5.2 for AMD 64
> 
> 
> good day..   i guess this is a stupid question...   i have 
> been using freebsd  
> 5.1... and im just getting into the AMD64 chips..  i noticed 
> that the AMD64 
> versions of 5.1 or 5.2 only have the boot only ISO..  the 
> disk2 ISO and the 
> mininst ISO..  my question is how do you install the 64 bit 
> version..? 5.1 
> and 5.2 for 386 has a disk1 which i use to boot and start the 
> install..  but 
> for the life of me i can;t figure out how to get the 64bit versions 
> installed..
> 
> thanks for any help anyone can offer
> 
>  
> -- 
> Pete Molina
> PC/LAN Admin
> DME Corporation
> 954 975 2210
> 954 979 3313 (fax)
> [EMAIL PROTECTED]
> 
> ___
> [EMAIL PROTECTED] mailing list 
> http://lists.freebsd.org/mailman/listinfo/free> bsd-questions
> 
> To unsubscribe, send any mail to 
> "[EMAIL PROTECTED]"
> 

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


Re: AMD vs Intel ...

2004-02-10 Thread Kenneth Culver
Quoting "Chad Leigh -- Shire.Net LLC" <[EMAIL PROTECTED]>:

On Feb 10, 2004, at 5:25 AM, Chuck Swiger wrote:

Marc Wiz wrote:
On Mon, Feb 09, 2004 at 01:53:38PM -0500, Charles Swiger wrote:
OK.  The price difference for AMD vs. Intel is pretty significant, 
but be aware that you'll also pay a significant premium for 
dual-proc hardware versus single-proc machines: compare an AMD 
2400MP versus the 2400XP price, or the 2.4GHz Xeon P4 vs. a 
Northwood P4, and then factor in the additional costs for a 
MP-capable motherboard.
Try about $159 for a dual processor motherboard from Tyan.
I just bought a S2466 for about that much brand new.
You can get a decent single-proc AMD motherboard for about $55 
(Shuttle AK39N w/ VIA KT400 + VT8235, onboard LAN and audio), which 
is one third the cost of your dual-proc MB, although obviously one 
can spend more on either type.

Just a note:  If you want ECC with an AMD Athlon (not AMD64), you need
to buy a dual board anyway, since I don't know of anyone who makes a
board with a chipset that supports ECC that isn't a dual.
Unless you buy one of the single processor athlon 64/opteron boards and get an
opteron/athlon 64 fx chip.
Ken
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Choosing between sh and perl for system scripts

2004-02-10 Thread Jerry McAllister
> 
> On Tue, Feb 10, 2004 at 11:48:48AM -0500, Jerry McAllister wrote:
> : > 
> : > 
> : > Now that I have a desktop workstation and network, I'm trying to learn the
> : > true admin side of BSD, such as the periodic tasks, and how to automate
> : > things.  I see perl all over the system, and I know it's powerful and easy
> : > to use.  What might help me decide which tool would be best for the scripts
> : > I want to write?
> : 
> : Probably the two main things to consider are what type of processing
> : you will be doing and how much it will be used.
> : 
> : Perl is great for text processing - grabbing things out of text
> : streams, mashing it around, creating easily searched and manipulated 
> : tables of that sort of stuff.   It is not really so good at anything
> : that needs a lot of floating point number crunching.
> 
> One place I saw it used that piqued my interest was as an aid to maintaining
> source code.  The book 'The Pragmatic Programmer' talks about perl scripts
> being used to mark areas that need attention, extract comments, make reports
> on changes, and so on.

Well, since that would be a lot of mucking through text files, Perl
would probably be a good choice for it.

> : Perl is good for scripts that get used now and then.  But, it is
> : kind of big so if the script is likely to be used a lot - every
> : second or so, then you will want to use something leaner.  Probably
> : either sh or even write it in C.
> 
> For me on my home box, I will probably be using it to run backups, cvsup,
> build world, and so on.

Hmmm.   Could go either way on those.  Most of our backup stuff is
in either sh because it is not very complicated or C because it needs
to run SUID.

jerry

> 
> jm
> -- 
> My other computer is your Windows box.
> 

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


Re: AMD vs Intel ...

2004-02-10 Thread Marc Wiz
On Tue, Feb 10, 2004 at 10:58:34AM -0700, Chad Leigh -- Shire.Net LLC wrote:
> 
> On Feb 10, 2004, at 5:25 AM, Chuck Swiger wrote:
> 
> >Marc Wiz wrote:
> >>On Mon, Feb 09, 2004 at 01:53:38PM -0500, Charles Swiger wrote:
> >>>OK.  The price difference for AMD vs. Intel is pretty significant, 
> >>>but be aware that you'll also pay a significant premium for 
> >>>dual-proc hardware versus single-proc machines: compare an AMD 
> >>>2400MP versus the 2400XP price, or the 2.4GHz Xeon P4 vs. a 
> >>>Northwood P4, and then factor in the additional costs for a 
> >>>MP-capable motherboard.
> >>Try about $159 for a dual processor motherboard from Tyan.
> >>I just bought a S2466 for about that much brand new.
> >
> >You can get a decent single-proc AMD motherboard for about $55 
> >(Shuttle AK39N w/ VIA KT400 + VT8235, onboard LAN and audio), which is 
> >one third the cost of your dual-proc MB, although obviously one can 
> >spend more on either type.
> >
> 
> Just a note:  If you want ECC with an AMD Athlon (not AMD64), you need 
> to buy a dual board anyway, since I don't know of anyone who makes a 
> board with a chipset that supports ECC that isn't a dual.

That's exactly why I bought that board.  I already had ECC memory.

Marc
-- 
Marc Wiz
[EMAIL PROTECTED]
Yes, that really is my last name.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: AMD vs Intel ...

2004-02-10 Thread Charles Swiger
On Feb 10, 2004, at 12:58 PM, Chad Leigh -- Shire.Net LLC wrote:
Just a note:  If you want ECC with an AMD Athlon (not AMD64), you need 
to buy a dual board anyway, since I don't know of anyone who makes a 
board with a chipset that supports ECC that isn't a dual.
Hi, Chad--

I've got a Shuttle AK31v3 motherboard which does registered+ECC memory, 
which is a single-proc motherboard:

System Mainboard
Manufacturer : HOLCO (Shuttle)
MP Support : No
Model : VT8366-8233
BIOS ID : 04/17/2002-VT8366-8233-6A6LVH2CC-00
Chipset : VIA KT266/A Chipset
[ ... ]
Logical/Chipset Memory Banks
Bank 0 Setting : 128MB DDR-SDRAM Registered 8-1-1-1R 4-1-1-1W 2.5-3-3CL 
1CMD
Bank 1 Setting : 128MB DDR-SDRAM Registered 8-1-1-1R 4-1-1-1W 2.5-3-3CL 
1CMD
Bank 2 Setting : 256MB DDR-SDRAM Registered 8-1-1-1R 4-1-1-1W 2.5-3-3CL 
1CMD
Speed : 2x 133MHz (266MHz data rate)
Multiplier : 1/1x

Memory Modules
Memory Module 1 : Micron 18VDDT3272DG-265Z1 080EBD07 256MB 18x(16Mx8) 
ECC
DDR-SDRAM PC2100R-2533-750 (CL2.5 upto 133MHz) (CL2 upto 100MHz)
Memory Module 2 : Micron 9VDDT3272G-265B2 1B1B108E 256MB 9x(32Mx8) ECC
DDR-SDRAM PC2100R-2533-750 (CL2.5 upto 133MHz) (CL2 upto 100MHz)

...but you are right that ECC support is quite uncommon for AMD 
motherboards.

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


installing 5.2 for AMD 64

2004-02-10 Thread Pete Molina
good day..   i guess this is a stupid question...   i have been using freebsd  
5.1... and im just getting into the AMD64 chips..  i noticed that the AMD64 
versions of 5.1 or 5.2 only have the boot only ISO..  the disk2 ISO and the 
mininst ISO..  my question is how do you install the 64 bit version..? 5.1 
and 5.2 for 386 has a disk1 which i use to boot and start the install..  but 
for the life of me i can;t figure out how to get the 64bit versions 
installed..

thanks for any help anyone can offer

 
-- 
Pete Molina
PC/LAN Admin
DME Corporation
954 975 2210
954 979 3313 (fax)
[EMAIL PROTECTED]

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


Re: Choosing between sh and perl for system scripts

2004-02-10 Thread Jonathon McKitrick
On Tue, Feb 10, 2004 at 11:48:48AM -0500, Jerry McAllister wrote:
: > 
: > 
: > Now that I have a desktop workstation and network, I'm trying to learn the
: > true admin side of BSD, such as the periodic tasks, and how to automate
: > things.  I see perl all over the system, and I know it's powerful and easy
: > to use.  What might help me decide which tool would be best for the scripts
: > I want to write?
: 
: Probably the two main things to consider are what type of processing
: you will be doing and how much it will be used.
: 
: Perl is great for text processing - grabbing things out of text
: streams, mashing it around, creating easily searched and manipulated 
: tables of that sort of stuff.   It is not really so good at anything
: that needs a lot of floating point number crunching.

One place I saw it used that piqued my interest was as an aid to maintaining
source code.  The book 'The Pragmatic Programmer' talks about perl scripts
being used to mark areas that need attention, extract comments, make reports
on changes, and so on.

: Perl is good for scripts that get used now and then.  But, it is
: kind of big so if the script is likely to be used a lot - every
: second or so, then you will want to use something leaner.  Probably
: either sh or even write it in C.

For me on my home box, I will probably be using it to run backups, cvsup,
build world, and so on.

jm
-- 
My other computer is your Windows box.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: AMD vs Intel ...

2004-02-10 Thread Chad Leigh -- Shire.Net LLC
On Feb 10, 2004, at 5:25 AM, Chuck Swiger wrote:

Marc Wiz wrote:
On Mon, Feb 09, 2004 at 01:53:38PM -0500, Charles Swiger wrote:
OK.  The price difference for AMD vs. Intel is pretty significant, 
but be aware that you'll also pay a significant premium for 
dual-proc hardware versus single-proc machines: compare an AMD 
2400MP versus the 2400XP price, or the 2.4GHz Xeon P4 vs. a 
Northwood P4, and then factor in the additional costs for a 
MP-capable motherboard.
Try about $159 for a dual processor motherboard from Tyan.
I just bought a S2466 for about that much brand new.
You can get a decent single-proc AMD motherboard for about $55 
(Shuttle AK39N w/ VIA KT400 + VT8235, onboard LAN and audio), which is 
one third the cost of your dual-proc MB, although obviously one can 
spend more on either type.

Just a note:  If you want ECC with an AMD Athlon (not AMD64), you need 
to buy a dual board anyway, since I don't know of anyone who makes a 
board with a chipset that supports ECC that isn't a dual.

Chad

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


RE: Shell script containing passwords.

2004-02-10 Thread Eric F Crist
yes

Eric F Crist
President
AdTech Integrated Systems, Inc
(612) 998-3588



-Original Message-
From: Lewis Thompson [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 10, 2004 11:24 AM
To: Eric F Crist
Cc: [EMAIL PROTECTED]; Lowell Gilbert
Subject: Re: Shell script containing passwords.


On Tue, Feb 10, 2004 at 09:41:22AM -0600, Eric F Crist wrote:
> Check the syntax for the .htaccess files in the httpd.conf file.  This

> is a file that must be non-readable by regular users via php, but
> apache has a filter written within the httpd.conf file to disallow
> access.  I know it's about 3/4 of the way down the page.

Am I correct in assuming you mean set this sort of security up for the
files I wish to protect?

-lewiz.

--
I was so much older then, I'm younger than that now.  --Bob Dylan, 1964.

-| msn:[EMAIL PROTECTED] | jabber:[EMAIL PROTECTED] | url:www.lewiz.org |-



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


Re: Shell script containing passwords.

2004-02-10 Thread Lewis Thompson
On Tue, Feb 10, 2004 at 09:41:22AM -0600, Eric F Crist wrote:
> Check the syntax for the .htaccess files in the httpd.conf file.  This
> is a file that must be non-readable by regular users via php, but
> apache has a filter written within the httpd.conf file to disallow
> access.  I know it's about 3/4 of the way down the page.

Am I correct in assuming you mean set this sort of security up for the
files I wish to protect?

-lewiz.

-- 
I was so much older then, I'm younger than that now.  --Bob Dylan, 1964.

-| msn:[EMAIL PROTECTED] | jabber:[EMAIL PROTECTED] | url:www.lewiz.org |-


pgp0.pgp
Description: PGP signature


Re: Shell script containing passwords.

2004-02-10 Thread Eric F Crist
On Tuesday 10 February 2004 09:28 am, Lewis Thompson wrote:
> On Tue, Feb 10, 2004 at 10:12:09AM -0500, Lowell Gilbert wrote:
> > Lewis Thompson <[EMAIL PROTECTED]> writes:
> > >   I am worried that because the script must be read/writeable by the
> > > Apache user (www) that anybody that can write a PHP script on my
> > > machine can read the auth script and read the passwords that would be
> > > contained within -- those to my MySQL server.
> >
> > Why would the script be readable or writeable by any user?
> > It only needs to be executable, right?
>
> Well, since it's an interpreted script (it's some standalone PHP) in
> order to execute it, the user must be able to read it.  Since the script
> holds passwds that means that any user with the ability to run it can
> get the passwds (in my case to access my MySQL server).
>
>   This is a ``flaw'' with the way Apache works because everything Apache
> executes must be +rw for the Apache user (www).  As a result any person
> able to write PHP code (all of my users) can read anything that the
> Apache user can, because mod_php executes as the Apache user.
>
>   There are security features in PHP (safe_mode) but these conflict with
> a large number of PHP scripts.  I'm trying to work it out this way now
> but it's a lot of hassle.
>
>   Thanks for your response,
>
> -lewiz.

Check the syntax for the .htaccess files in the httpd.conf file.  This is a 
file that must be non-readable by regular users via php, but apache has a 
filter written within the httpd.conf file to disallow access.  I know it's 
about 3/4 of the way down the page.

HTH

-- 
Eric F Crist
AdTech Integrated Systems, Inc
(612) 998-3588


pgp0.pgp
Description: signature


Re: Shell script containing passwords.

2004-02-10 Thread Lewis Thompson
On Tue, Feb 10, 2004 at 05:52:17PM +0100, Robert Barten wrote:
> No need for safe_mode, set
> php_admin_value open_basedir "/www/dir/to/user/"
> in your vhost config, add if desired /tmp/phpupload/:/tmp/phpsession/

Yes, I've looked at this.  However, I want to use userdir=public_html
for serving PHP from people's public_html dir in their home dir.

  This doesn't seem compatible with open_basedir
(open_basedir=/home/*/public_html doesn't work) and I can't find any
other way to do it.

  Thanks a lot,

-lewiz.

-- 
I was so much older then, I'm younger than that now.  --Bob Dylan, 1964.

-| msn:[EMAIL PROTECTED] | jabber:[EMAIL PROTECTED] | url:www.lewiz.org |-


pgp0.pgp
Description: PGP signature


Re: Choosing between sh and perl for system scripts

2004-02-10 Thread Jerry McAllister
> 
> 
> Now that I have a desktop workstation and network, I'm trying to learn the
> true admin side of BSD, such as the periodic tasks, and how to automate
> things.  I see perl all over the system, and I know it's powerful and easy
> to use.  What might help me decide which tool would be best for the scripts
> I want to write?

Probably the two main things to consider are what type of processing
you will be doing and how much it will be used.

Perl is great for text processing - grabbing things out of text
streams, mashing it around, creating easily searched and manipulated 
tables of that sort of stuff.   It is not really so good at anything
that needs a lot of floating point number crunching.

Perl handles CGIs for web stuff pretty well unless you are getting
thousands of hits on something.  Then it can be a little slow.
Or, if it involves talking to a database, maybe you would prefer PHP
for that part of things.

Perl is good for scripts that get used now and then.  But, it is
kind of big so if the script is likely to be used a lot - every
second or so, then you will want to use something leaner.  Probably
either sh or even write it in C.

Some people crab about Perl being less secure, but I think that
is mostly like everything else.  A poorly written script will
be insecure in any language.  A well written script will be more
secure.  Since Perl handles all your data types for you, you do not
have so much of a problem of overrunning buffers, which is where
most cracks develop in the UNIX world.   So, in that sense, Perl
can be more secure than C code.

If you need something that runs in single user mode, then you
will want to use sh for that.

jerry

> 
> NOTE: Please CC me, as I am not currently subscribed.  Thanks.
> 
> jm
> -- 
> My other computer is your windows box.
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> 

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


Re: Shell script containing passwords.

2004-02-10 Thread Robert Barten
On Tue, Feb 10, 2004 at 03:28:14PM +, Lewis Thompson wrote:
> On Tue, Feb 10, 2004 at 10:12:09AM -0500, Lowell Gilbert wrote:
> > Lewis Thompson <[EMAIL PROTECTED]> writes:
> > 
> > >   I am worried that because the script must be read/writeable by the
> > > Apache user (www) that anybody that can write a PHP script on my machine
> > > can read the auth script and read the passwords that would be contained
> > > within -- those to my MySQL server.
> > 
> > Why would the script be readable or writeable by any user?  
> > It only needs to be executable, right?
> 
> Well, since it's an interpreted script (it's some standalone PHP) in
> order to execute it, the user must be able to read it.  Since the script
> holds passwds that means that any user with the ability to run it can
> get the passwds (in my case to access my MySQL server).
> 
>   This is a ``flaw'' with the way Apache works because everything Apache
> executes must be +rw for the Apache user (www).  As a result any person
> able to write PHP code (all of my users) can read anything that the
> Apache user can, because mod_php executes as the Apache user.
> 
>   There are security features in PHP (safe_mode) but these conflict with
> a large number of PHP scripts.  I'm trying to work it out this way now
> but it's a lot of hassle.

No need for safe_mode, set
php_admin_value open_basedir "/www/dir/to/user/"
in your vhost config, add if desired /tmp/phpupload/:/tmp/phpsession/
suphp doesn't work with mod_php AFAIR
Keep in mind: users (CGI scripts as well) can still browse into other user
directories unless you force them into one group (e.g. users), home to 705
and use SuEXEC.

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


Hpt Rocketraid 454

2004-02-10 Thread Rhiannon
Hello
Sorry my bad english

I use RocketRaid 454.
Mainboard: MSI kt4av-l
CPU: AMD XP 2000+
RAM: 2x512MB DDR333
HDD: Samsung SV0411N (40.0 GB)-RAID1 

I install FreeBSD 4.9-RELEASE with hpt374-4.9 (374-r5-bsd-v121.zip -
http://www.highpoint-tech.com) to RAID1 via HPT Rocketraid 454.

#: bonnie -d /usr -s 2048
or
#: cd /usr/src
#: make buildworld

/kernel: dev =#da /0x20006, block = x, fs=usr
/kernel: panic: ffs_blkfree: freeing free block
/kernel:
/kernel: syncing disk ... 12 5 5 5 ...

and restart.

Why? What is this error?

Zsolt Erdei


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


Re: Choosing between sh and perl for system scripts

2004-02-10 Thread Ion-Mihai Tetcu
On Tue, 10 Feb 2004 15:44:16 +
Jonathon McKitrick <[EMAIL PROTECTED]> wrote:

> 
> Now that I have a desktop workstation and network, I'm trying to learn the
> true admin side of BSD, such as the periodic tasks, and how to automate
> things.  I see perl all over the system, and I know it's powerful and easy
> to use.  What might help me decide which tool would be best for the scripts
> I want to write?

Your own experience ;) 

sh is more portable, you will find it on almost every *nix; you will have to learn 
about it to understand
various scripts from the base system like (/usr/local)etc/rc.d/*;
make(1) has a very similar syntax.

perl on the other hand is more powerful and you have a lot of modules (CPAN).

You will end up knowing both, probably.


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


Re: Shell script containing passwords.

2004-02-10 Thread Jez Hancock
On Tue, Feb 10, 2004 at 04:06:37PM +, Lewis Thompson wrote:
> On Tue, Feb 10, 2004 at 03:56:08PM +, Peter Risdon wrote:

> > Not that I know of, but have you considered compiling apache with 
> > suexec? Assuming your other users have seperate logins, this might work. 
> > You can have apache execute scripts as the appropriate user, not www. 
> > That way, a 700 permission should prevent other users from reading your 
> > scripts.
> 
> I read some stuff about this.  I got the impression it required using
> PHP as a CGI, instead of mod_php.  Am I wrong in thinking this?  The
> overhead of using PHP as CGI is a little too high because the server is
> already pretty stretched...

Have a look at /usr/ports/www/suphp - be warned though, last time I
looked at it the checks it uses to ensure UID 0 scripts aren't executed
did not work correctly on FreeBSD.

One slightly more complicated option is to rearrange your user/group
permissions on a server-wide basis - there's a detailed description in
this post:


http://lists.freebsd.org/pipermail/freebsd-questions/2003-August/014731.html

HTH

-- 
Jez Hancock
 - System Administrator / PHP Developer

http://munk.nu/
http://jez.hancock-family.com/  - Another FreeBSD Diary
http://ipfwstats.sf.net/- ipfw peruser traffic logging
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Shell script containing passwords.

2004-02-10 Thread Peter Risdon
Lewis Thompson wrote:

On Tue, Feb 10, 2004 at 03:56:08PM +, Peter Risdon wrote:
 

Lewis Thompson wrote:
   

I am worried that because the script must be read/writeable by the
Apache user (www) that anybody that can write a PHP script on my machine
can read the auth script and read the passwords that would be contained
within -- those to my MySQL server.
 

 

All you can do really is store the passwords themselves in an include 
file that you put in the most secure place possible, preferably not in 
webspace. But I imagine you have this covered.
   

Yeah, but this is really security through obscurity, not something I'm
keen on ;)
 

That's kind of what we're talking about here, though. Keeping a file's 
contents inaccessible.

 

Is there any way I can have a script that is not readable by a user,
while still allowing that user to execute it?  Maybe through using a
wrapper of some sort?  I do not have UFS2 so I cannot use ACLs.
 

Not that I know of, but have you considered compiling apache with 
suexec? Assuming your other users have seperate logins, this might work. 
You can have apache execute scripts as the appropriate user, not www. 
That way, a 700 permission should prevent other users from reading your 
scripts.
   

I read some stuff about this.  I got the impression it required using
PHP as a CGI, instead of mod_php.  Am I wrong in thinking this? 

Yes, you can use mod_php with suexec. Makes most sense with virtual 
hosts, because each host must run as a single user.

PWR.

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


Re: proxy problems when updating ports

2004-02-10 Thread Ion-Mihai Tetcu
On Tue, 10 Feb 2004 08:25:09 -0800 (PST)
Dino Vliet <[EMAIL PROTECTED]> wrote:

> I can't use the cvsup method of updating my ports
> collection because I'm behind a proxy server and no
> matter what I try (like putting HTTP_PROXY = my.proxy
> in my environment as superuser and rerunning cvsup),
> my system can't seem to connect.
> 
> Is there another way of obtaining the same?

Use CTM:
/usr/share/doc/en_US.ISO8859-1/books/handbook/ctm.html
 
> In the handbook, you could use /stand/sysinstall. But
> if I do that, what files under /usr/ports do I have to
> backup (like /usr/ports/distfile for instance..)
> Will that work? If I just use /stand/sysinstall to
> copy the whole ports collection again (I then use the
> http proxy as installation medium...)

Read again, you haven't got it right.



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


proxy problems when updating ports

2004-02-10 Thread Dino Vliet
I can't use the cvsup method of updating my ports
collection because I'm behind a proxy server and no
matter what I try (like putting HTTP_PROXY = my.proxy
in my environment as superuser and rerunning cvsup),
my system can't seem to connect.

Is there another way of obtaining the same?

In the handbook, you could use /stand/sysinstall. But
if I do that, what files under /usr/ports do I have to
backup (like /usr/ports/distfile for instance..)
Will that work? If I just use /stand/sysinstall to
copy the whole ports collection again (I then use the
http proxy as installation medium...)

Brgds
Dino


__
Do you Yahoo!?
Yahoo! Finance: Get your refund fast by filing online.
http://taxes.yahoo.com/filing.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


ldonline Unsubscription

2004-02-10 Thread ldonline

Unsubscription from list: 

ldonline 

is successful.

If you would like to subscribe to ldonline 
in the future, just click this link: 

http://www.ldonline.org/cgi-bin/mojo/mojo.cgi?f=n&l=ldonline&e=questions%40freebsd.org&p=7390

- 

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


[Fwd: Re: 5.2.1-RC floppy install: many if_X.ko modules failed to load]

2004-02-10 Thread Rostislav Krasny
Members of freebsd-current mailing list are probably too busy, so I'm 
forwarding my question to more dynamic freebsd-questions mailing list. 
Is my guess about the /src/release/Makefile right or wrong?

BTW when 5.2.1-RC2 is going to be released? I saw few cvs commits with 
preparation to this release.

Thanks

 Original Message 
Subject: Re: 5.2.1-RC floppy install: many if_X.ko modules failed to load
Date: Sun, 08 Feb 2004 16:38:31 +0200
From: Rostislav Krasny <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
References: <[EMAIL PROTECTED]>
Rostislav Krasny wrote:
Hello.

When I boot from the installation floppies of 5.2.1-RC, at the beginning 
of sysinstall is starting I get a window on the blue background with 
following error message on it:

Loading module if_pcn.ko failed
AMD Am79c79x PCI ethernet card
then next window with the same error message:

Loading module if_vr.ko failed
VIA VT3043/VT86C100A Rhide PCI ethernet card
and so on about if_ste.ko, if_xl.ko, if_ed.ko, if_bge.ko, if_re.ko, 
if_wb.ko, if_rl.ko, if_sis.ko, if_dc.ko, if_bfe.ko, if_aue.ko, if_fxp.ko 
and if_sf.ko modules.

Previously I successfully installed FreeBSD 5.2-RELEASE from the 
floppies. Now, when I'm trying to install FreeBSD 5.2.1-RC by the same 
way, I'm geting the above error messages, so I'm forbearing to continue 
this installation. This problem is always repeatable, even after I made 
the floppies on different diskettes. This system doesn't have any AMD or 
VIA chip on it.
Could it be a result of revision 1.825.2.2 of the /src/release/Makefile
that adds a 'strip -x' run on the kernel modules on the mfsroot floppy?


 Original Message 
Subject: Re: 5.2.1-RC floppy install: many if_X.ko modules failed to load
Date: Sat, 7 Feb 2004 14:04:41 + (UTC)
From: [EMAIL PROTECTED] (Lowell Gilbert)
> [my very first email, skipped]

It looks like miibus is having some sort of problem:  the modules that
complain are all dependent on it.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


build problems with fresh cvsup (5.2)

2004-02-10 Thread Goodleaf, John M
I started with a blank src dir and cvsup'd the whole 5.2 tree. A buildworld
yields this:


/usr/src/contrib/libstdc++/libsupc++/eh_personality.cc:38:23: unwind-pe.h:
No such file or directory
In file included from
/usr/src/contrib/libstdc++/libsupc++/eh_terminate.cc:34:
/usr/src/contrib/libstdc++/libsupc++/unwind-cxx.h:41:20: unwind.h: No such
file or directory
In file included from /usr/src/contrib/libstdc++/libsupc++/eh_throw.cc:32:
/usr/src/contrib/libstdc++/libsupc++/unwind-cxx.h:41:20: unwind.h: No such
file or directory
In file included from /usr/src/contrib/libstdc++/libsupc++/eh_type.cc:32:
/usr/src/contrib/libstdc++/libsupc++/unwind-cxx.h:41:20: unwind.h: No such
file or directory
In file included from /usr/src/contrib/libstdc++/libsupc++/pure.cc:31:
/usr/src/contrib/libstdc++/libsupc++/unwind-cxx.h:41:20: unwind.h: No such
file or directory
In file included from /usr/src/contrib/libstdc++/libsupc++/vec.cc:37:
/usr/src/contrib/libstdc++/libsupc++/unwind-cxx.h:41:20: unwind.h: No such
file or directory
mkdep: compile failed
*** Error code 1
 
Stop in /usr/src/gnu/lib/libstdc++.



I can build if I turn off CXX in /etc/make.conf. This is on a working
machine already running 5.2-RELEASE.

What gives?

-John


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


Re: Shell script containing passwords.

2004-02-10 Thread Lewis Thompson
On Tue, Feb 10, 2004 at 03:56:08PM +, Peter Risdon wrote:
> Lewis Thompson wrote:
> > I am worried that because the script must be read/writeable by the
> >Apache user (www) that anybody that can write a PHP script on my machine
> >can read the auth script and read the passwords that would be contained
> >within -- those to my MySQL server.

> All you can do really is store the passwords themselves in an include 
> file that you put in the most secure place possible, preferably not in 
> webspace. But I imagine you have this covered.

Yeah, but this is really security through obscurity, not something I'm
keen on ;)

> > Is there any way I can have a script that is not readable by a user,
> >while still allowing that user to execute it?  Maybe through using a
> >wrapper of some sort?  I do not have UFS2 so I cannot use ACLs.
> > 
> >
> Not that I know of, but have you considered compiling apache with 
> suexec? Assuming your other users have seperate logins, this might work. 
> You can have apache execute scripts as the appropriate user, not www. 
> That way, a 700 permission should prevent other users from reading your 
> scripts.

I read some stuff about this.  I got the impression it required using
PHP as a CGI, instead of mod_php.  Am I wrong in thinking this?  The
overhead of using PHP as CGI is a little too high because the server is
already pretty stretched...

  Thanks very much,

-lewiz.

-- 
I was so much older then, I'm younger than that now.  --Bob Dylan, 1964.

-| msn:[EMAIL PROTECTED] | jabber:[EMAIL PROTECTED] | url:www.lewiz.org |-


pgp0.pgp
Description: PGP signature


Re: onboard sound does not work

2004-02-10 Thread Andrew Hall
On Mon, 2004-02-09 at 17:05, Nicolas wrote:
> On Monday 09 February 2004 22.29, Andrew Hall wrote:
> > On Mon, 2004-02-09 at 16:24, Nicolas wrote:
> > > On Monday 09 February 2004 21.50, Andrew Hall wrote:
> > > > On Mon, 2004-02-09 at 15:24, Nathan Kinkade wrote:
> > > > > On Mon, Feb 09, 2004 at 03:47:31PM +0100, by way of Gaf
> > >
> > > <[EMAIL PROTECTED]> wrote:
> > > > > > Hello.
> > > > > > I am a newbie to both unix and FreeBSD. I am trying to configure my
> > > > > > onboard sond without success.
> > > > > >  My motherboard: ASUS P4S800-MX
> > > > > > Audio spec: ADI AD1888 6channel audio codec.
> > > > > >
> > > > > > pciconf -lv says:
> > > > > > [EMAIL PROTECTED]:2:7:  class=0x040100 card=0x810d1043 chip=0x70121039
> > > > > > rev=0xa0 hdr=0x00
> > > > > > vendor   = 'Silicon Integrated Systems (SiS)'
> > > > > > device   = 'SiS7012 PCI Audio Accelerator'
> > > > > > class= multimedia
> > > > > > subclass = audio
> > > > > >
> > > > > > dmesg:
> > > > > > pcm0:  port 0xa000-0xa07f,0xa400-0xa4ff irq 18 at device
> > > > > > 2.7 on pci0 pcm0: 
> > > > > >
> > > > > > I tried kldload snd_driver.ko but
> > > > > > kldstat says:
> > > > > > Id Refs AddressSize Name
> > > > > >  1   35 0xc040 37fd84   kernel
> > > > > >  21 0xc078 51a18acpi.ko
> > > > > >  31 0xc2c24000 8000 ipfw.ko
> > > > > >  41 0xc2c62000 19000linux.ko
> > > > > >  51 0xc3306000 2000 snd_driver.ko
> > > > > >  61 0xc3308000 8000 snd_maestro3.ko
> > > > > >
> > > > > > I have device pcm in my kernel.
> > > > > > Is there something more you need to know??
> > > > > > I have read man pcm, the handbook and complete freebsd but I can t
> > > > > > figure it out. I still think that everything is a bit confusing
> > > > > > because i am not very good at computers and i am sure that I miss
> > > > > > something fundamental. Hope that somebody can direct me to what i
> > > > > > am missing. Many thanks Gaf
> > > >
> > > > I think you need snd_ich.ko. Run 'kldload /boot/kernel/snd_ich.ko' and
> > > > try again.  Search the freebsd list archives for 'sis 7012' and you'll
> > > > find a lot of relevant entries.
> > > >
> > > > Drew
> > > >
> > > > ___
> > > > [EMAIL PROTECTED] mailing list
> > > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > > > To unsubscribe, send any mail to
> > > > "[EMAIL PROTECTED]"
> > >
> > > Hi.
> > > I tried to do what you suggested and I get:
> > > kldload: can't load snd_ich.ko: File exists
> > > I have also tried with options PNPBIOS before but that is already in 5.2,
> > > I was told.
> > > I will look in the archives.
> > > Thank You for answering!!
> > > Gaf
> >
> > I can't guarantee success, but I would kldunload snd_driver.ko and
> > snd_maestro, then kldload snd_pcm.ko and snd_ich.ko.   I use the ich
> > driver, and thats the only two sound modules I load.
> >
> > Drew
> 
> Nope. No sucess this time either. Just tells me the files exists. And I 
> checked the arhives multimedia and questions and there where no entries for 
> SiS 7012. Back to zero.
> Prehaps it is not supported??
> Thanks again.
> 

Sorry man wish I could help out more.   FWIW I searched for 'sis 7012'
and found a few postings on the first page of results.  The file exists
error means that you are attempting to load a module into the kernel
that is already there via another module or compiled in,  

Drew

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


Re: Shell script containing passwords.

2004-02-10 Thread Peter Risdon
Lewis Thompson wrote:

Hi,

I'm trying to write a script to use with the Apache auth plugin
mod_auth_any.  I have the whole setup working, bar the script that does
the authentication.
 I am worried that because the script must be read/writeable by the
Apache user (www) that anybody that can write a PHP script on my machine
can read the auth script and read the passwords that would be contained
within -- those to my MySQL server.
 

All you can do really is store the passwords themselves in an include 
file that you put in the most secure place possible, preferably not in 
webspace. But I imagine you have this covered.

 Is there any way I can have a script that is not readable by a user,
while still allowing that user to execute it?  Maybe through using a
wrapper of some sort?  I do not have UFS2 so I cannot use ACLs.
 

Not that I know of, but have you considered compiling apache with 
suexec? Assuming your other users have seperate logins, this might work. 
You can have apache execute scripts as the appropriate user, not www. 
That way, a 700 permission should prevent other users from reading your 
scripts.

PWR.

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


Choosing between sh and perl for system scripts

2004-02-10 Thread Jonathon McKitrick

Now that I have a desktop workstation and network, I'm trying to learn the
true admin side of BSD, such as the periodic tasks, and how to automate
things.  I see perl all over the system, and I know it's powerful and easy
to use.  What might help me decide which tool would be best for the scripts
I want to write?

NOTE: Please CC me, as I am not currently subscribed.  Thanks.

jm
-- 
My other computer is your windows box.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


deactivate slave on first IDE

2004-02-10 Thread Antoine Jacoutot
Hi :)

Since my system doesn't boot when my cdrom is plugged in (it hangs after 
timecounter... ; see my previous post), I was wondering if it was possible to 
tell FreeBSD not to "deal" with IDE1-slave (something like "boot -noide2)...
Indeed, in my bios, I set the IDE1-slave to none, but FreeBSD keeps hanging on 
bootup.

Thanks for any hints.

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


Re: Shell script containing passwords.

2004-02-10 Thread Lewis Thompson
On Tue, Feb 10, 2004 at 10:12:09AM -0500, Lowell Gilbert wrote:
> Lewis Thompson <[EMAIL PROTECTED]> writes:
> 
> >   I am worried that because the script must be read/writeable by the
> > Apache user (www) that anybody that can write a PHP script on my machine
> > can read the auth script and read the passwords that would be contained
> > within -- those to my MySQL server.
> 
> Why would the script be readable or writeable by any user?  
> It only needs to be executable, right?

Well, since it's an interpreted script (it's some standalone PHP) in
order to execute it, the user must be able to read it.  Since the script
holds passwds that means that any user with the ability to run it can
get the passwds (in my case to access my MySQL server).

  This is a ``flaw'' with the way Apache works because everything Apache
executes must be +rw for the Apache user (www).  As a result any person
able to write PHP code (all of my users) can read anything that the
Apache user can, because mod_php executes as the Apache user.

  There are security features in PHP (safe_mode) but these conflict with
a large number of PHP scripts.  I'm trying to work it out this way now
but it's a lot of hassle.

  Thanks for your response,

-lewiz.

-- 
I was so much older then, I'm younger than that now.  --Bob Dylan, 1964.

-| msn:[EMAIL PROTECTED] | jabber:[EMAIL PROTECTED] | url:www.lewiz.org |-


pgp0.pgp
Description: PGP signature


Problem ins - /usr/libexec/ld-elf.so.1: Shared object "libmysqlclient.so.12"

2004-02-10 Thread Jun
Greetings!
 
I would like to ask if how can i fix the error i always receive from my box FreeBSD 
5.1-release-p12 when i run the "/usr/lib/courier-imap/libexec/authlib/authdaemond 
start" to run the IMAP.
 
itgateway # /usr/lib/courier-imap/libexec/authlib/authdaemond start
/usr/libexec/ld-elf.so.1: Shared object "libmysqlclient.so.12" not found
itgateway #

That's the error i always receiv, i don't know if how can i fix it :( 
I already try to find the library is the of that libmysqlclient.so.12 it is on the 
/usr/local/mysql/lib/mysql/libmysqlclient.so.12
 
Thanks and More power.
 
Jun


-
Do you Yahoo!?
Yahoo! Finance: Get your refund fast by filing online
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Shell script containing passwords.

2004-02-10 Thread Lowell Gilbert
Lewis Thompson <[EMAIL PROTECTED]> writes:

> I'm trying to write a script to use with the Apache auth plugin
> mod_auth_any.  I have the whole setup working, bar the script that does
> the authentication.
> 
>   I am worried that because the script must be read/writeable by the
> Apache user (www) that anybody that can write a PHP script on my machine
> can read the auth script and read the passwords that would be contained
> within -- those to my MySQL server.

Why would the script be readable or writeable by any user?  
It only needs to be executable, right?

>   Is there any way I can have a script that is not readable by a user,
> while still allowing that user to execute it?  Maybe through using a
> wrapper of some sort?  I do not have UFS2 so I cannot use ACLs.
> 
>   Any suggestions for this as I'm stumped.  Thanks very much,

Check how Apache normally deals with this; I haven't used the auth
module, but I can't believe that it requires insecure practices...
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Booting non-freebsd partition from loader(8)?

2004-02-10 Thread Lowell Gilbert
Peter Schmiedeskamp <[EMAIL PROTECTED]> writes:

> Hello, I have a question that google seems to be
> unable to answer.
> 
> My question: Is it possible to boot from a non-freebsd
> partition after loader(8) is already in memory? 
> Ultimately, I would like to see the familiar boot menu
> (where Chuck gives me all sorts of options such as
> booting with and without ACPI support) with another
> option "Boot Windows from partition X."
> 
> I understand this is a bit of an odd usage, so I'll
> explain why I would like to do this rather than the
> standard hard disk "F1 DOS", "F2 FreeBSD" method.
> 
> I'm using a tftp-enabled pxeboot that boots a small
> MFS-based freebsd.  I would like to give users the
> option of booting from the harddrive or booting from
> the network.  PC Bios screens are unfortunately rather
> inconsistent and cumbersome to navigate.  So, I would
> like to always get a consistent boot menu from the
> network.  Getting this from the network allows me to
> update this boot menu centrally.
> 
> So, any thoughts?  Is it possible to chain load
> another operating system in this fashion?

It's probably possible to write loader code to do that, but I don't
believe that such code exists now.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: snmpd Error opening specified endpoint

2004-02-10 Thread Antoine Jacoutot
On Tuesday 10 February 2004 15:52, Saint Aardvark the Carpeted wrote:
> something else listening on UDP port 161:
> > # netstat -a | grep snm
> > udp4   0  0  *.snmp *.*

Yes, strange, isn't it ?
Especially since this is a brand new system not even connected to the internet 
(I mean, there can't be any rootkit or so...).

> Try running "sockstat | grep 161" and posting the results.

Pfuhh, why didn't I do this before, what an idiot...
I can't reach the server right now, so I'll post the output as soon as I get 
to the box...

> Also, a quick Google for "snmp specified endpoint" turns up a fair
> number of newsgroup messages; some seem to suggest that there may be
> problems with the very latest version of net-snmpd.  By any chance, are
> you compiling a very recent version?

Yes, I've seen all those google posts before asking here, BUT:
- I compiled net-snmp from the ports collection
- the latest port is from January 2nd, so I guess someone would have caught 
this problem before me if it was specifically FreeBSD/port related.

Obviously, there's something wrong on my box...
I'll try to give more information soon.

Thanks.

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


Re: Out of memory and inactive memory

2004-02-10 Thread Uwe Doering
Douwe Osinga wrote:
Do you happen to have a per-process data size limit?  What does
Hey, thanks, that could be it. It says datasize limit = 130 Mbyte
sort of where the process stopped working.
Is there a way to change this setting on a global scale? I.e. if
I limit datasize unlimited, it seems that only works for the
current session.
Provided it doesn't get set explicitly by a 'ulimit' or 'limit' command 
in some shell start-up script the datasize limit could be set in 
'/etc/login.conf'.  If you change anything in there don't forget to run 
'cap_mkdb /etc/login.conf' in order to re-generate the corresponding 
database file.

   Uwe
--
Uwe Doering |  EscapeBox - Managed On-Demand UNIX Servers
[EMAIL PROTECTED]  |  http://www.escapebox.net
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: disabling nfs in 5.2R-p2 ?

2004-02-10 Thread Chris Ganderton
On Tue, Feb 10, 2004 at 04:26:30PM +0200, Nelis Lamprecht wrote:
> Hi,
> 
> Out of curiosity how do you disable local NFS asynchronous I/O server/s
> in 5.2 ?
> 
> I thought a simple..
> 
> nfs_server_enable="NO"
> nfs_client_enable="NO"
> 
> in rc.conf would disable it completely but after rebooting I still see:
> 
> guardian# ps -aux | grep nfs
> root 97  0.0  0.0 0   12  ??  IL3:39PM   0:00.00  (nfsiod 0)
> root 98  0.0  0.0 0   12  ??  IL3:39PM   0:00.00  (nfsiod 1)
> root 99  0.0  0.0 0   12  ??  IL3:39PM   0:00.00  (nfsiod 2)
> root100  0.0  0.0 0   12  ??  IL3:39PM   0:00.00  (nfsiod 3)
> 
> thanks.
> -- 
> Nelis Lamprecht
> PGP: http://www.8ball.co.za/pgpkey/nelis.asc
> "Unix IS user friendly.. It's just selective about who its friends are."

Not entirely sure, but try and unload the kernel modules for nfs, a these may be 
loaded, or
if its built into your kernel (most likley if you're still using a GENERIC kernel) you 
could take out the options for NFS in your kernel config and rebuilding. 

-- 




pgp0.pgp
Description: PGP signature


HP jetdirect printer installation

2004-02-10 Thread Tom Hollingsworth
Is there a utility similar to hppi for Solaris to install HP jetdirect
network printers under FreeBSD?

Thank you 
Tom Hollingsworth 
Unix Administrator 
Celebrity Resorts 
4700 Millenia Boulevard
6th Floor 
Orlando, FL 32839 
http://www.celebrityresorts.com 
 Telephone: 407-997-5594 
  
Fax: 407-997-5219 
  
   
Email: [EMAIL PROTECTED] 
  
  
The information contained in this electronic message sent by [EMAIL PROTECTED], 
including all attachments hereto, is intended only for the personal and confidential 
use of the following email recipient(s): [EMAIL PROTECTED] and those other names as 
listed above.  This message may be an attorney-client communication or otherwise 
privileged communication, and as such is privileged and confidential by law.  If the 
reader of this message  and any attachments hereto is not the named intended 
recipient(s) or an agent responsible for delivering it to the intended recipients(s), 
you are hereby noticed that you have received this document in error, and that any 
review, dissemination, distribution, or copying of this message or any attachments 
hereto is strictly prohibited.  Unless otherwise expressly stated, this electronic 
communication may represent the thoughts, ideas and/or opinions of the sending party; 
they do not represent those of the management, its officers, directors or its 
employees unless specifically stated herein.  If the recipient or anyone reading this 
electronic communication, including the attachments hereto, finds any part or all of 
this electronic message to be improper, vulgar, insensitive or otherwise offensive, 
please be advised that transmission of such information or material is the sole 
responsibility of the sending party (Tom Hollingsworth) and these materials are 
transmitted to you by the sending party without the authority, permission or knowledge 
of management and all liability associated with this electronic communication is 
hereby expressly disclaimed by management, its officers, directors and employees. 
 
  
 
 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: snmpd Error opening specified endpoint

2004-02-10 Thread Saint Aardvark the Carpeted
Antoine Jacoutot disturbed my sleep to write:
> I'm having a problem starting snmpd under FreeBSD-5.2-p2...
> I tried several options but I always get some strange errors.

Hm...it looks like you may already have snmp running, or at least
something else listening on UDP port 161:

> # netstat -a | grep snm
> udp4   0  0  *.snmp *.*

Try running "sockstat | grep 161" and posting the results.

Also, a quick Google for "snmp specified endpoint" turns up a fair
number of newsgroup messages; some seem to suggest that there may be
problems with the very latest version of net-snmpd.  By any chance, are
you compiling a very recent version?

Hugh

--
Saint Aardvark the Carpeted
[EMAIL PROTECTED]
Because the plural of Anecdote is Myth.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: Out of memory and inactive memory

2004-02-10 Thread Douwe Osinga
> Do you happen to have a per-process data size limit?  What does
Hey, thanks, that could be it. It says datasize limit = 130 Mbyte
sort of where the process stopped working.

Is there a way to change this setting on a global scale? I.e. if
I limit datasize unlimited, it seems that only works for the
current session.


Thanks again,


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


Manuals?

2004-02-10 Thread Robert Golovniov
Hello,

  Can  anybody  suggest  some  good  reading  material about Sendmail,
  Fetchmail, and Amavis?

  Thank you!

-- 
 -=Robert & Beata Golovniov | Lviv, Ukraine=-
~~
mailto:[EMAIL PROTECTED]&Body=Embedded%20key
~~
   "Raise your eyes high up and see. Who has created these things?"
(Isaiah 40:26)



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


Re: Newbie Upgrading 4.8 - 5.2, filesystem full

2004-02-10 Thread Lowell Gilbert
Jez Hancock <[EMAIL PROTECTED]> writes:

> On Tue, Feb 10, 2004 at 08:10:05PM +1100, Richard Beyer wrote:
> > Thanks Jez,
> > 
> > Here's my df -h
> > FilesystemSize   Used  Avail Capacity  Mounted on
> > /dev/ad0s1a   126M   106M   9.4M92%/
> > /dev/ad0s1f   252M   9.6M   222M 4%/tmp
> > /dev/ad0s1g72G   2.7G64G 4%/usr
> > /dev/ad0s1e   252M51M   181M22%/var
> > procfs4.0K   4.0K 0B   100%/proc
> > 
> > 
> > It's an 80Gig HDD and I was using the sysinstall | upgrade | all | include
> > ports
> 
> Seems odd that so much space is taken up by / - perhaps under 5.x more
> space is required?  I really do need to install 5.x at some point ... :P

Yes, more space is used in the root filesystem for 5.x.  [For 
several different reasons...]  

> Can you not do a backup of your data and start over with a fresh install
> of 5.2?  You have stacks of room on the hdd spare, so presumably doing
> this wouldn't be too problematic.

That's definitely the way to go if possible; there are a number of
advantagious new features that will be difficult to take advantage 
of otherwise. 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Newbie Upgrading 4.8 - 5.2, filesystem full

2004-02-10 Thread Danny Pansters
On Tuesday 10 February 2004 10:10, Richard Beyer wrote:
> Thanks Jez,
>
> Here's my df -h
> FilesystemSize   Used  Avail Capacity  Mounted on
> /dev/ad0s1a   126M   106M   9.4M92%/
> /dev/ad0s1f   252M   9.6M   222M 4%/tmp
> /dev/ad0s1g72G   2.7G64G 4%/usr
> /dev/ad0s1e   252M51M   181M22%/var
> procfs4.0K   4.0K 0B   100%/proc
>
>
> It's an 80Gig HDD and I was using the sysinstall | upgrade | all | include
> ports

I run 5.2.1-REL. Here are some differences:

4.x: kernel and modules reside in /kernel and /modules, there's a /standl 
around

5.x: kernel and modules reside in /boot/kernel, there's a /rescue replacing 
the old /stand (sysinstall in /usr/sbin now)

So, if you delete old 4.x kernel(s) and modules and nuke /stand if you don't 
want it anymore you should probably be able to free some space. 5.x also uses 
somewhat more space in / but the difference isn't that much:
   
Filesystem   1K-blocksUsedAvail Capacity  Mounted on
/dev/ad0s1a 253678   54124   17926023%/

most of this is in /boot:

%du /boot
18  /boot/defaults
16586   /boot/kernel
1732/boot/modules <-- appears that the nvidia module sits here, weird..
16602   /boot/kernel.old
35816   /boot


HTH,

Dan

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


Re: FreeBSD on Laptop

2004-02-10 Thread rfa
hi kris,

i was in the process of upgrading my kernel from 5.0 Release to 5.2 (on my
laptop) and it won't boot. my boss gave me these instructions:

#cd /usr/ports/net/cvsup-without-gui && make all install clean
#cp /usr/share/examples/cvsup/stable-supfile /etc/stable-supfile
change default host -> cvsup10 or cvsup13
#rm -rf /usr/src
#cvsup -g -L 2 /etc/stable-supfile
#cd /usr/src && make world
#make buildkernel KERNCONF=GENERIC
#make installkernel KERNCONF=GENERIC
#reboot

when it boots up, wait for it to pause and press ESC "boot -s"
>>this is where it stops<<-

#cd /usr
#fsck -p
#mount -u /
#mount -a
#cd /usr/src
#adjkerntz -i
#mergemaster -p
#make installworld
#mergemaster
press "yes" and press "i" whenever it prompted you
repeat ur steps
#mergemaster -p
try to press "no" if there is a yes/no something
just press the letter "i"
delete what is left of /var/tmp/temproot
#reboot

when it stops up, the messages from the boot script end like this:

mounting root from ufs:/dev/ad0s2a
pccard: card inserted, slot 1
pccard: card removed, slot 1
pccard: card inserted, slot 1


i traced the problem to the pcic device(pc card duh!) and i want to
disable it. How can i do this?

i tried unset but cant get it to work.
tried
   unset pcic0
   unset hints.pcic
   unset pcic1 (although it was disabled na)
also i tried
unload
boot kernel.old
that didnt work.

i got to this point after TONS of reboots and searching thru man pages on
the devices show() says.

hope you can help! =)

rommel


>
> 5.0 is by now very old; you should try a modern release.  5.2.1 is due
> out soon, so you might like to wait for that.
>
> Kris


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


Framebuffer support?

2004-02-10 Thread Christian

Hello all,

Just wondering if FreeBSD's later versions will have framebuffer support at
boot.
If not, has it been considered already? Would be a nice tweak if it did.

Best of luck,

Christian

_
Free email with personality! Over 200 domains!
http://www.MyOwnEmail.com
Looking for friendships,romance and more?
http://www.MyOwnFriends.com

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


Re: cvsup gets connection refused

2004-02-10 Thread James Gallagher
Hi Carl,

Just out of curiosity, do you have a firewall between your BSD box and 
the cvs server you're trying to connect to? Alternatively, have you 
tested another cvs server? The reason I ask about the firewall is that 
I had a similar problem recently which turned out to be a particular 
port being blocked. I can look back and see what it was if you think 
it's relevant. It's the only thing I can think of right now.

James

On 10 Feb 2004, at 14:38, Carl Libra wrote:

When starting cvsup I get the message connection refused when trying 
to FTP. I think it takes the user id from my server and uses that ... 
and that's not known at the download server ofcourse.

Where can I configure to use an anonymous userid or is there another 
way to solve this.

Thanks,
Carl
_
Let the advanced features & services of MSN Internet Software maximize 
your online time. 
http://click.atdmt.com/AVE/go/onm00200363ave/direct/01/

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

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


disabling nfs in 5.2R-p2 ?

2004-02-10 Thread Nelis Lamprecht
Hi,

Out of curiosity how do you disable local NFS asynchronous I/O server/s
in 5.2 ?

I thought a simple..

nfs_server_enable="NO"
nfs_client_enable="NO"

in rc.conf would disable it completely but after rebooting I still see:

guardian# ps -aux | grep nfs
root 97  0.0  0.0 0   12  ??  IL3:39PM   0:00.00  (nfsiod 0)
root 98  0.0  0.0 0   12  ??  IL3:39PM   0:00.00  (nfsiod 1)
root 99  0.0  0.0 0   12  ??  IL3:39PM   0:00.00  (nfsiod 2)
root100  0.0  0.0 0   12  ??  IL3:39PM   0:00.00  (nfsiod 3)

thanks.
-- 
Nelis Lamprecht
PGP: http://www.8ball.co.za/pgpkey/nelis.asc
"Unix IS user friendly.. It's just selective about who its friends are."


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


Re: portinstall inn

2004-02-10 Thread Lowell Gilbert
dick hoogendijk <[EMAIL PROTECTED]> writes:

> I wanted to portinstall "inn" nbut get a refusal stating: "changing
> ownership of system directories" Now I do understand that this changing
> happening is bad. But what if I want the Internet News Server installed?
> Is this possible without a system ownership dir change? Or what?

Please show the output precisely.
[The script(1) command may help.]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Please help me update my address book

2004-02-10 Thread Buck Jones
sorry for the inconvenience Freebsd-Questions,

I'm updating my address book. Please take a moment to update
your latest contact information. Your information is stored in
my personal address book and will not be shared with anyone
else. Plaxo is free, if you'd like to give it a try.
only enter the information you want me to have. I will share
this with no one...I just like to have a good contact list. it
saves on bounced emails..


Click the following link to correct or confirm your information: 
https://www.plaxo.com/edit_contact_info?r=21475104694-14407503--157195037

Name: Freebsd-Questions
Job Title: 
Company: 
Work E-mail: [EMAIL PROTECTED]
Work Phone: 
Work Fax: 
Work Address Line 1: 
Work Address Line 2: 
Work City, State, Zip: 
Mobile Phone: 

Home E-mail: 
Home Phone: 
Home Fax: 
Home Address Line 1: 
Home Address Line 2: 
Home City, State, Zip: 
Birthday: 
My current contact information:



P.S. I've included my Plaxo card below so that you have my current information.  I've 
also attached a copy as a vCard.

 +-
 | Buck Jones
 | [EMAIL PROTECTED]
 | Owner
 | 
 | www.buck-jones.com
 | san diego area - mobile computer repair
 | work: 619-308-8065
 | web: www.buck-jones.com
 +-


This message was sent to you by [EMAIL PROTECTED]
via Plaxo.  To have Plaxo automatically handle these messages
in the future, go to: http://www.plaxo.com/autoreply

Plaxo's Privacy Policy: http://www.plaxo.com/support/privacy
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: 5.2 install hangs after menu

2004-02-10 Thread Dimitri Aivaliotis

Kathy-

Please reply to the list, not me personally.  Others may have the same problems, and 
can only benefit from an answer posted to the list.


On Tue, 10 Feb 2004 21:54:03 +0800
"Kathy Quinlan" <[EMAIL PROTECTED]> wrote:



> 
> So, perhaps the media/build you have are corrupted.  Which 5.2 are you
> trying to install? RELEASE, CURRENT?
> 
> 5.2-RELEASE-i386-disc1.iso
> 

Can you download and try 5.2-RELEASE-i386-miniinst.iso?

We'll see if there's a difference - if so, then it lies with the iso image (did you 
check the md5sum before burning?).

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


Re: SCP fails while ssh works...

2004-02-10 Thread Lowell Gilbert
Quintin Riis <[EMAIL PROTECTED]> writes:

> Are you using bash ?
> 
> If ~/.bashrc generates ANY output, it WILL break the scp and rcp commands.

And there's nothing about this specific to bash, either; on any shell,
producing output 
 from the startup scripts 
 in a non-interactive shell 
WILL break the scp and rcp commands.

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


Re: your mail

2004-02-10 Thread Peter Ulrich Kruppa
On Tue, 10 Feb 2004, [gb2312] 飞 汪 wrote:

> Sir,
>would please ask me a simple problem? How can I download the
> source code and what is the URL? Now,I am trying to construct a
> operating system, and I have lots of questions about OS. Can
> you help me?
>Thanks a lot!
The freebsd documentation team invests a lot of work on writing
an excellent online handbook and FAQ collection, which should
answer all kinds of basic and advanced questions.

You will find them on
www.freebsd.org/handbook
and
www.freebsd.org/doc/faq

Regards,

Uli.


>
>
>
> -
> Do You Yahoo!?
> 完全免费的雅虎电邮,马上注册获赠额外60兆网络存储空间
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
>

+---+
|Peter Ulrich Kruppa|
| Wuppertal |
|  Germany  |
+---+
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: your mail

2004-02-10 Thread Bernard El-Hagin
?? ?? wrote:
> Sir,
>would please ask me a simple problem? How can I download the source
> code and what is the U RL? Now,I am trying to construct a operating
> system, and I have lots of questions about OS. Can you help me?
>Thanks a lot!


You'll find everything you need at:


  http://www.freebsd.org/


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


Re: Out of memory and inactive memory

2004-02-10 Thread Uwe Doering
Douwe Osinga wrote:
I'm running Zope under FreeBSD 4. Zope keeps getting memory errors, i.e.
malloc() fails. But top reports lots of inactive memory available. I'm new
to BSD, but I did search around in archives and I think I learned that
inactive memory is only kept around in case it is needed again and should be
given to a process needing it. So why does Zope fail here?
Do you happen to have a per-process data size limit?  What does

  ulimit -a

or

  limit

show?  The former is for sh or bash, the latter for csh or tcsh.

   Uwe
--
Uwe Doering |  EscapeBox - Managed On-Demand UNIX Servers
[EMAIL PROTECTED]  |  http://www.escapebox.net
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Sun cobalt raq 550

2004-02-10 Thread Ksenia Marasanova
Hi list,

Does anyone has good experience with running FreeBSD -stable on this 
server?
I am thinking about buying one for spare.

Appreciate any feedback,

Ksenia.

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


  1   2   >