Re: Newbie Upgrading 4.8 - 5.2, filesystem full

2004-02-10 Thread Jez Hancock
On Tue, Feb 10, 2004 at 12:36:27PM +1100, Richard Beyer wrote:
 I tried doing an upgrade from 4.8 to 5.2, and part way through I got a
 filesystem full error (about 3 in a row actually) as each partion filled
 up.  (No panic - doing it off a mirror).
 
 My question is - obviously the CDROM sysinstall isn't going to work for me
 - what now?
Get a bigger hard drive? :P

More details might help - how big is the disk drive you're installing
to?  How big are the partitions created in the install process?  What
type of installation are you attempting - full/minimal/etc ?

The minimal installation takes up very little room - around 3-400MB iirc
which should be small enough to fit on any hdd manufactured in the last
5 years or so.


-- 
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: SCP fails while ssh works...

2004-02-10 Thread Quintin Riis
Are you using bash ?

If ~/.bashrc generates ANY output, it WILL break the scp and rcp commands.

		Quintin

twig les wrote:

Hey all, I have to identical boxes running 4.6 and all of a
sudden one stopped taking SCP even though it still takes ssh
connections.  The other box is still working fine and they are
on the same subnet.  The only thing I could find online about
this is an MTU mismatch which makes no sense in this situation. 
I can bounce the sshd proc when I get someone on site since
these are in a different state.  The -v outputs are below,
snipped for clari/brevity.  Notice the bad guy's (booo, hiss
hiss) inability to form a complete connection.

GOOD CONNECTION:
debug: SshConfig/sshconfig.c:2232/ssh2_parse_config: Unable to
open /opt/home/ktokash/.ssh2/identification
debug: Ssh2AuthClient/sshauthc.c:316/ssh_authc_completion_proc:
Method 'publickey' disabled.
debug: server offers auth methods
'publickey,password,keyboard-interactive'.
debug:
Ssh2AuthPasswdClient/authc-passwd.c:95/ssh_client_auth_passwd:
Starting password query...
[EMAIL PROTECTED]'s password: 
debug: Ssh2Common/sshcommon.c:286/ssh_common_special: Received
SSH_CROSS_AUTHENTICATED packet from connection protocol.
debug: Ssh2/ssh2.c:646/client_authentication_notify: Returning
user input stream to original values.
scp:SshFCTransfer/sshfc_transfer.c:1592/transfer_stat_before_rm_cb:
No connection yet. Waiting...
debug: Ssh2Common/sshcommon.c:829/ssh_common_new_channel:
num_channels now 1
debug:
SshTtyFlags/sshttyflags.c:354/ssh_internal_encode_tty_flags: Not
a tty. (fd = 0)
scp:SshFCTransfer/sshfc_transfer.c:1866/transfer_rm_dest:
Removing destination file ./snortrules-stable.tar.gz .
scp:SshFCTransferCore/sshfc_trcore.c:125/transfer_start:
Starting transfer for file snortrules-stable.tar.gz, destination
./snortrules-stable.tar.gz
snortrules-stable.tar.gz
 |  211kB |
211.2 kB/s | TOC: 00:00:01 | 100%
scp:SshFCTransfer/sshfc_transfer.c:2489/transfer_one_done:
Finished with file ./snortrules-stable.tar.gz.
scp:Scp2/scp2.c:706/transfer_ready_cb: Received error SSH_FC_OK,
error message .
scp:Scp2/scp2.c:867/scp_transfer: Transfer ready
scp:ssh_pipe_stream_destroy
scp:SshAppCommon/sshappcommon.c:146/ssh_app_free_global_regex_context:
Freeing global SshRegex context.
debug:
SshConnection/sshconn.c:405/ssh_conn_send_channel_data_type: EOF
from channel stream
cge01% debug:
SshConnection/sshconn.c:667/ssh_conn_channel_write: EOF received
on write from channel 0x207570, extended stream 0.
debug:
Ssh2ChannelSession/sshchsession.c:1716/ssh_channel_session_request_exit_status:
received exit status : 0
debug: Ssh2Common/sshcommon.c:803/ssh_common_destroy_channel:
num_channels now 0
debug: Got session close with exit_status=0
debug: destroying client struct...
debug: Ssh2Client/sshclient.c:1478/ssh_client_destroy:
Destroying client.
debug: SshConfig/sshconfig.c:537/ssh_config_pki_free: Freeing
pki. (host_pki != NULL, user_pki = NULL)
debug: SshConnection/sshconn.c:1982/ssh_conn_destroy: Destroying
SshConn object.
debug: Ssh2Client/sshclient.c:1540/ssh_client_destroy_finalize:
Destroying client completed.
debug:
SshAuthMethodClient/sshauthmethodc.c:89/ssh_client_authentication_uninitialize:
Destroying authentication method array.
debug: Ssh2/ssh2.c:363/sigpipe_nonfatal_cb: Received SIGPIPE.
debug:
SshAppCommon/sshappcommon.c:146/ssh_app_free_global_regex_context:
Freeing global SshRegex context.
debug: SshConfig/sshconfig.c:537/ssh_config_pki_free: Freeing
pki. (host_pki = NULL, user_pki = NULL)



BAD GUY (booo, hiss hiss):
debug: SshConfig/sshconfig.c:2232/ssh2_parse_config: Unable to
open /opt/home/ktokash/.ssh2/identification
debug: Ssh2AuthClient/sshauthc.c:316/ssh_authc_completion_proc:
Method 'publickey' disabled.
debug: server offers auth methods
'publickey,password,keyboard-interactive'.
debug:
Ssh2AuthPasswdClient/authc-passwd.c:95/ssh_client_auth_passwd:
Starting password query...
[EMAIL PROTECTED]'s password: 
debug: Ssh2Common/sshcommon.c:286/ssh_common_special: Received
SSH_CROSS_AUTHENTICATED packet from connection protocol.
debug: Ssh2/ssh2.c:646/client_authentication_notify: Returning
user input stream to original values.
scp:SshFCTransfer/sshfc_transfer.c:1592/transfer_stat_before_rm_cb:
No connection yet. Waiting...
debug: Ssh2Common/sshcommon.c:829/ssh_common_new_channel:
num_channels now 1
debug:
SshTtyFlags/sshttyflags.c:354/ssh_internal_encode_tty_flags: Not
a tty. (fd = 0)
debug:
Ssh2ChannelSession/sshchsession.c:2232/ssh_channel_start_session_completion2:
starting session failed: result 0
scp:SshFCTransfer/sshfc_transfer.c:1592/transfer_stat_before_rm_cb:
No connection yet. Waiting...
scp:SshFCTransfer/sshfc_transfer.c:1592/transfer_stat_before_rm_cb:
No connection yet. Waiting...
scp:SshFCTransfer/sshfc_transfer.c:1592/transfer_stat_before_rm_cb:
No connection yet. Waiting...

gd_curproc undefined

2004-02-10 Thread Elijah Plunkett
Hi,

I tried out the DRM kernel module port and i keep getting this annoying 
thing saying that something called gd_curproc is undefined and so won't 
load the module.

Any ideas on how to make it go?
Thanks!
Elijah.

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


syslogd: select: Bad file descriptor

2004-02-10 Thread Sten Daniel Sørsdal

Feb 10 08:07:45 xx syslogd: select: Bad file descriptor

FreeBSD 4.9-RELEASE-p1 i386

run as in a ttys wrapper script:
/usr/sbin/syslogd -4 -A -cc -n -s -d -f /etc/syslog.conf

the output of script/command is not redirected to /var/log but i 
suspect it happens when newsyslog runs.

Has anyone encountered the same? Does anyone know of a remedy?

_// Sten Daniel Sørsdal
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


snmpd Error opening specified endpoint

2004-02-10 Thread Antoine Jacoutot
Hi :)

I'm having a problem starting snmpd under FreeBSD-5.2-p2...
I tried several options but I always get some strange errors.
Note that I launch snmpd as root...

---
# snmpd -p /var/run/snmpd.pid -c /usr/local/share/snmp/snmpd.conf -Ls d 
127.0.0.1

snmpd: Error opening specified endpoint 127.0.0.1
snmpd: Server Exiting with code 1
---
# snmpd -p /var/run/snmpd.pid -c /usr/local/share/snmp/snmpd.conf


snmpd: Error opening specified endpoint udp:161
snmpd: Server Exiting with code 1
---
# netstat -a | grep snm
udp4   0  0  *.snmp *.*

# ps ax | grep snmp
-- nothing !!!
---

If you have any idea on what's happening, I would really appreciate.
Thanks in advance.

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


cdrom hangs FreeBSD boot

2004-02-10 Thread Antoine Jacoutot
Hi :)

I'm using FreeBSD-5.2-RELEASE-p2 and I'm experiencing a very serious problem.
When my cdrom is connected (slave on first IDE slot), FreeBSD hangs on boot 
at:

Timecounter TSC frequency 2399937676 Hz quality 800
Timecounters tick every 10.000 msec

There's no error, no panic, no messages whatsoever, it just stays like this 
and stop booting.
I set IDE1/slave to NONE is my bios, so the cdrom would not be discovered on 
boot (temporary solution until it works), but I get the same problem... it 
just hangs.
For now, the only solution is to unplug the cdrom... :(
Just to make sure this was not hardware related, Linux and Windows boot fine 
on the same box with the cdrom pluged-in. FreeBSD also boots fine when the 
cdrom is alone (slave or master) on its IDE slot.

If you have any idea I would really appreciate.
Thanks in advance.
Regards,

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


Re: MP3 + Create Music CD

2004-02-10 Thread Mark Phillips
On Sun, 8 Feb 2004, Bryan Cassidy wrote:

 I have a bunch of mp3s and I want to burn them onto a cd so I can play
 them in my car cd player. Is there any recomendations on how to go about
 doing this? Would greatly appreciate it.

/usr/ports/sysutils/k3b

K3b is like 'Nero' for *nix. Very good app, should do just what you want.

--Mark
___
[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 Beyer
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

Cheers,
Richard


On Tue, 10 Feb 2004, Jez Hancock wrote:

 On Tue, Feb 10, 2004 at 12:36:27PM +1100, Richard Beyer wrote:
  I tried doing an upgrade from 4.8 to 5.2, and part way through I got a
  filesystem full error (about 3 in a row actually) as each partion filled
  up.  (No panic - doing it off a mirror).
 
  My question is - obviously the CDROM sysinstall isn't going to work for me
  - what now?
 Get a bigger hard drive? :P

 More details might help - how big is the disk drive you're installing
 to?  How big are the partitions created in the install process?  What
 type of installation are you attempting - full/minimal/etc ?

 The minimal installation takes up very little room - around 3-400MB iirc
 which should be small enough to fit on any hdd manufactured in the last
 5 years or so.


 --
 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: Newbie Upgrading 4.8 - 5.2, filesystem full

2004-02-10 Thread Jez Hancock
Hi Richard,

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

Is there no chance you can perform a standard install from scratch?  I
had contemplated moving from 4.8 to 5.x, but am seriously putting it
off because I imagine *upgrading* from 4.x to 5.x isn't too
straight-forward - perhaps others could shed light on whether it's
recommended to attempt it or not?

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.

 
 Cheers,
 Richard
 
 
 On Tue, 10 Feb 2004, Jez Hancock wrote:
 
  On Tue, Feb 10, 2004 at 12:36:27PM +1100, Richard Beyer wrote:
   I tried doing an upgrade from 4.8 to 5.2, and part way through I got a
   filesystem full error (about 3 in a row actually) as each partion filled
   up.  (No panic - doing it off a mirror).
  
   My question is - obviously the CDROM sysinstall isn't going to work for me
   - what now?
  Get a bigger hard drive? :P
 
  More details might help - how big is the disk drive you're installing
  to?  How big are the partitions created in the install process?  What
  type of installation are you attempting - full/minimal/etc ?
 
  The minimal installation takes up very little room - around 3-400MB iirc
  which should be small enough to fit on any hdd manufactured in the last
  5 years or so.
 
 
  --
  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
 

-- 
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: 5.2 install hangs after menu

2004-02-10 Thread Kathy Quinlan


 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of 
 Dimitri Aivaliotis
 Sent: Monday, 9 February 2004 11:44 PM
 To: [EMAIL PROTECTED]
 Subject: Re: 5.2 install hangs after menu
 
 
 On Mon, 9 Feb 2004 23:26:51 +0800
 Kathy Quinlan [EMAIL PROTECTED] wrote:
 
 
If I select option 5 (verbose debug) it gives the 
 following error
message:
ACPI autoload failed - no such file or directory.

   
   
   Have you tried option 2 (no ACPI)?
  
  Yeap, only option that does not hang is 6, but it would if 
 I sent it 
  back on its way lol
  
 
 Can you give more debug info?  The kernel prints out copious 
 messages to the screen when it's loading.  If they go by too 
 quickly to catch, you can press Scroll-Lock, and then either 
 use the arrow keys or the PageUp/PageDown keys to navigate.
 
 It'll be quite a lot of typing, unless you're booting from a 
 serial console and can copy-paste.
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.

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]


Re: /usr/ports/net/cvsupit

2004-02-10 Thread Rod Brookes
Hi
Thanks for your reply ...this solves the problem. Will install one of 
the cvsupit packages.
Rod

On 9 Feb 2004, at 14:03, Lowell Gilbert wrote:

Rod Brookes [EMAIL PROTECTED] writes:

For some time now i have been installing FreeBSD from 4 to 5 although
still a newbie, now all of a sudden which i can't understand when i
run cd /usr/ports/net/cvsupit it does'nt work when first installing a
cvsup in the pseudo-portcan anyone help please?
cvsupit was removed from the ports collection some time ago.
Try just installing one of the cvsup packages.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Out of memory and inactive memory

2004-02-10 Thread Douwe Osinga
Hi,

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?

Douwe Osinga
http://www.world66.com

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


Re: NTFS drive D in fstab

2004-02-10 Thread Ion-Mihai Tetcu
On Tue, 10 Feb 2004 08:51:32 +0200
Robert Golovniov [EMAIL PROTECTED] wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 On Monday, February 9, 2004, 4:52:36 PM, Ion-Mihai Tetcu wrote:
 
 IMT For my reference, what does ls /dev/ad0* print ?
 
 /dev/ad0/dev/ad0s2   /dev/ad0s3a/dev/ad0s3c   /dev/ad0s5
 /dev/ad0s1  /dev/ad0s3   /dev/ad0s3b/dev/ad0s3d

Thanks,

IOnut



-- 
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: PHP 4.3.4_6 make failed

2004-02-10 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2004-02-10 07:55:38 +0800:
 I was compiling PHP 4.3.4_6
 but the configure script failed with this message:
 
 
 checking for Apache 1.x module support via DSO through APXS...
 
 Sorry, I was not able to successfully run APXS.  Possible reasons:
 
 1.  Perl is not installed;
 2.  Apache was not compiled with DSO support (--enable-module=so);
 3.  'apxs' is not in your path.  Try to use --with-apxs=/path/to/apxs
 
 
 I confirmed that Perl has been installed,
 apache was compiled with DSO support,
 and I also modified the Makefile to include
 --with-apxs=/usr/local/sbin/apxs

are you sure you have apache13, not apache2, installed?

-- 
If you cc me or remove the list(s) completely I'll most likely ignore
your message.see http://www.eyrie.org./~eagle/faqs/questions.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


SMBFS and vfs.usermount. BUG??

2004-02-10 Thread Edd Barrett
Hi there. I think i may have discovered a bug in free bsd 5.2-RELEASE, it
may be in earlier versions too, but I have not tried it (maybe someone
running 4.x could try it)

I have made an fstab entry and nsmbrc file for a smb share. vfs.usermount is
set to 1.
A normal user (me in this case (edd)) can mount a cdrom drive (on a dir
owned by him):

mount /home/edd/cdrom
umount /home/edd/cdrom

this returns no errors and proves that vfs.usermount is working for cd9660
fs.

mount /home/edd/rhome

works fine... but

umount /home/edd/rhome

does NOT work. (permission denied) Is this a bug or am I being dumb?

Thanks!

___
[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 Chuck Swiger
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.

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


Re: sendmail to a smarthost?

2004-02-10 Thread Simon Barner
Zhang Weiwu wrote:
 Try reading Simon Barner's tutorial on setting up FreeBSD for workstations.
 
 http://home.leo.org/~barner/freebsd/articles/mailsetup/article.html
  
 
 Oh this article is really helpful, I'm reading it .. it is really long.
 But my situation is pertty typical; I believe many people are like me to 
 rely on ISP's authenticated smtp server. Must things be so complicated 
 for those people like me, as  said in that article?
 Isn't there a replacement of sendmail to do simple mail transfer by just 
 asking a smtp server to do everything?

Postfix + SASL + TSL/SSL. (There is a nice article on that combination
on http://www.postfix.org)

When I wrote the article, my goal was to use FreeBSD's base system for
as many task as possible. That's why I chose sendmail over postfix.

Simon


pgp0.pgp
Description: PGP signature


Re: 5.2 install hangs after menu

2004-02-10 Thread Dimitri Aivaliotis
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:

http://docs.freebsd.org/cgi/getmsg.cgi?fetch=923898+0+archive/2002/freebsd-current/20020317.freebsd-current

which had as a follow-up:

http://docs.freebsd.org/cgi/getmsg.cgi?fetch=13624+0+/usr/local/www/db/text/2002/freebsd-current/20020324.freebsd-current

and

http://docs.freebsd.org/cgi/getmsg.cgi?fetch=1041883+0+archive/2002/freebsd-current/20020317.freebsd-current


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

I've got RELEASE (specifically, the i386 miniinst iso-image), and it worked for me.


- Dimitri



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


issues..

2004-02-10 Thread rozzy zainal
dear sir/madam,
 
i am one of the freebsd user.and btw, i want to ask something that related to freebsd 
and open source community:
1.what is the current issue that cameout in BSD and open sorce O.S, especially freebsd?
2.how to compare FreeBSD O.S with microsoft?what are features in freebsd that 
microsoft don't have?
3.why people like to using microsoft and some people always fighting with microsoft 
rather than they just using open source O.S?
 
and thanx for the answer
 
your sincerely,
rozzy



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


[no subject]

2004-02-10 Thread
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!



-
Do You Yahoo!?
60
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Problems with kdevelop3

2004-02-10 Thread J. Seth Henry
Guys,
I recently built kdevelop3 from the ports tree, and it has been, to say the 
least, a bit unstable. Has anyone else had any problems with it?

Specifically, after opening a project, it will crash out very easily. Closing 
the project, adding files to the project -  even closing the application a 
project open will cause a crash handler to pop up. I thought it might be 
having a problem with old configuration files, so I removed all of the 
kdevelop specific configuration files from my home directory. 

I'm not sure whether this is a specific build problem on my system, perhaps a 
problem with the FreeBSD port, or a kdevelop issue. It seems a bit strange 
they would call this a stable build if it were happening to everyone. Also, 
since it isn't yet built into a package, perhaps it's just a port bug that 
hasn't been worked out yet?

As for the build environment, it's a FreeBSD 4.9-RELEASE system (I haven't 
cvsup'ed the base system). I am using the ports tree from Monday, around 
12:00 PM EST.

Also, how do you turn on debugging information when you compile via the ports 
tree? If I need to file a kde bug report, it would be nice to have a full 
backtrace.

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


Re: How to safely merge two slices on harddisk?

2004-02-10 Thread Malcolm Kay
On Tue, 10 Feb 2004 04:19, Rob wrote:
 Malcolm,

 Thank you for your detailed answer to my question.

 Malcolm Kay wrote:
  On Mon, 9 Feb 2004 13:46, Rob wrote:
  Do not change the offset of 'f'. If 'g' does not physically
  follow 'f' on the disk then this is not going to work -- give up
  now!!!

 How can I find that out? Is it the slice order in the disk label editor
 from /stand/sysinstall :

No! What you want is disklabel (see man page). On 5.x this seems to
have been replaced by bsdlabel -- but I have no experience with 5.x.

You can first gather the partition information; and later when you 
decide what you want to do you can modify the table using this utility.

It shows partition sizes and offsets in sectors; and assists in editing these.
But if you don't already know of this utility then tread very carefully.
Even small fiddles if you don't know what you are doing can make it 
almost impossible to recover any of the information in the slice.



 Disk: ad1   Partition name: ad1s1   Free: 0 blocks (0MB)

 Part  Mount  Size Newfs
   -   -
 ad1s1anone100MB *
 ad1s1enone   3100MB *
 ad1s1fnone   3100MB *
 ad1s1gnone   3100MB *
 ad1s1hnone300MB *
 ad1s1bnone300MB *
 ad1s1dnone  66316MB *


 In this table f and g are back-to-front lined up.
 Does that mean f physically follows g?

   Asking a question and giving a non-existent email address is quite rude.

 Sorry, but I consider a potential spam risk when using a real address on
 this publicly accessible list. The list is my communication medium and I
 monitor the list on gmane. I hope you understand.

Of course spam occurs but almost everyone else on the list posts a genuine
e-mail address. Why should you get special privileges?


Malcolm Kay

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


Re: Wireless network support

2004-02-10 Thread Bob Collins
On Mon, Feb  9, 2004, Per Hallstrm clacked the keyboard to produce:
 Hi!
 
 I need a wireless network card which will work with FreeBSD, and 
 according to the handbook there are some supported chipsets. However, I 
 am unable to find a network card with any of those chipsets (I am 
 having a hard time just finding manufacturers that tells me what 
 chipsets they are using in the cards).
 
 So, to people successfully using a wireless network card with FreeBSD: 
 what card should I buy? Full model name etc is appreciated, of course. 
 11 Mbit cards are totally out of the question, by the way.
 
 Thanks in advance!
 
 Since I don't want to expose my email (getting enough crap already), 
 please reply to the list.
 

man wi will list quite a few cards with model numbers.

-- 
Bob

Play is the work of children. It's very serious stuff. And if it's
properly structured in a developmental program, children can blossom.
-Bob Keeshan aka `Captain Kangaroo'
___
[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]


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]


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

much unneccesary detail snipped - see earlier posts

 
 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]


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


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


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


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


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


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]


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


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


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


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]


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]


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]


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: SiS 7012 port 0xa000-0xa07f,0xa400-0xa4ff irq 18 at device
  2.7 on pci0 pcm0: Unknown AC97 Codec (id = 0x41445368)
 
  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 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


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]


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


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=nl=ldonlinee=questions%40freebsd.orgp=7390

- 

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


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]


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


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


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


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


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


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


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


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


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


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: 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=sysctlapropos=0sektion=0manpath=FreeBSD+4.9-RELEASEformat=html
http://www.freebsd.org/cgi/man.cgi?query=sysctl.confsektion=5apropos=0manpath=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]


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


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


-- 
Insert your favourite quote here.
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: 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


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=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CM
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: math processor on motherboard
npx0: INT 16 interface
pcib0: ServerWorks host to PCI bridge(unknown chipset) on motherboard 
pci0: PCI bus on pcib0
bge0: Broadcom BCM5702 Gigabit Ethernet, ASIC rev. 0x1002 mem
0xfe00-0xfe00
 irq 12 at device 3.0 on pci0
bge0: Ethernet address: 00:0c:6e:ec:8f:0d
miibus0: MII bus on bge0
brgphy0: BCM5703 10/100/1000baseTX PHY on miibus0
brgphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 
1000baseTX-
FDX, auto
pci0: ATI Mach64-GR graphics accelerator at 9.0 irq 10
isab0: PCI to ISA bridge (vendor=1166 device=0203) at device 15.0 on pci0
isa0: ISA bus on isab0
atapci0: Generic PCI ATA controller 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: OHCI (generic) USB controller mem 0xfc00-0xfc000fff irq 11 
at device
 15.2 on pci0
usb0: OHCI version 1.0, legacy support
usb0: OHCI (generic) USB controller 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: ServerWorks host to PCI bridge(unknown chipset) on 
motherboard pci255: PCI bus on pcib255
pcib1: Host to PCI bridge on motherboard
pci1: PCI bus on pcib1
orm0: Option ROM 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: Keyboard controller (i8042) at port 0x60,0x64 on isa0
atkbd0: AT Keyboard flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on 
isa0 sc0: System console 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 WDC WD1200JB-00FUA0 [232581/16/63] at ata0-master 
BIOSDMA ad1: 114473MB WDC WD1200JB-00FUA0 [232581/16/63] at ata0-slave 
WDMA2 acd0: DVD-ROM IDE DVD-ROM 16X 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 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


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


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 ip address of the machine that has the share 
//username@net bios name/share name /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: 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 ip address of the machine that has the share 
//username@net bios name/share name /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 domain name 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]


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]


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


  1   2   >