Using IPFW/NAT with multiport PCI cards

2004-03-30 Thread Odhiambo Washington
Dear Ladies and Gentlemen,

I am writing to request for advise/recommendations on the subject. I've
been tasked to build a router/firewall based on FreeBSD. I'd like to use
5.2-RELEASE.

Now my only problem is that I have played a little with ipfw in a
situation where I have just two interfaces, 1 external and 1 internal.
My current requirement however involves one external interface and
four (or more) internal interfaces (which should all be SEPARATE
networks, invisible from each other).

Is this doable? (I hope someone has done this before). I would say I am
a total newbie on this one.

I am looking for recommendations on the following aspects:

1. Known compatible quad port PCI ethernet cards. The cost is a factor,
   but perhaps may not be very important as compared to
   functionality/stability.

2. Guides/Pointers on HOWTO configure this WRT to ipfw configuration.
   Any minute gotchas/clues will be highly appreciated. URL links
   pointing to people's experiences also welcome.


Thanking you in advance.


-Wash

http://www.netmeister.org/news/learn2quote.html

--
+==+
|\  _,,,---,,_ | Odhiambo Washington[EMAIL PROTECTED]
Zzz /,`.-'`'-.  ;-;;,_ | Wananchi Online Ltd.   www.wananchi.com
   |,4-  ) )-,_. ,\ (  `'-'| Tel: +254 20 313985-9  +254 20 313922
  '---''(_/--'  `-'\_) | GSM: +254 722 743223   +254 733 744121
+==+
Anyone who uses the phrase easy as taking candy from a baby has never
tried taking candy from a baby.
-- Robin Hood
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: port questions (why do I find myself fudging symlinks to make stuff work?)

2004-03-30 Thread Matthew Seaman
On Mon, Mar 29, 2004 at 09:21:34PM -0800, paul beard wrote:
 [ please cc me as I am not on the list]
 
 I have been trying to upgrade cups to 1.1.20 and have been running into 
 some problems with libraries not being found (specifically jpeg.9 and 
 tiff.4). After a few different iterations of pkg_add, portupgrade, 
 portinstall, and accompanying pkg_delete, pkg_deinstall, make install, 
 etc., I finally tried symlinking the .so files to the numbered versions 
 that don't seem to exist and all seems to be well.
 
  ln -s /usr/local/lib/libjpeg.a /usr/local/lib/libjpeg.so.9
  ln -s /usr/local/lib/libtiff.a /usr/local/lib/libtiff.so.4

I hope the above wasn't actually what you did.  You should have:

% ls -l libjpeg* libtiff*
-rw-r--r--  1 root  wheel  157600 Mar 19 15:46 libjpeg.a
lrwxr-xr-x  1 root  wheel  12 Mar 19 15:46 libjpeg.so@ - libjpeg.so.9
-rwxr-xr-x  1 root  wheel  135245 Mar 19 15:46 libjpeg.so.9*
-r--r--r--  1 root  wheel  374922 Feb  8 10:05 libtiff.a
lrwxr-xr-x  1 root  wheel  12 Feb  8 10:05 libtiff.so@ - libtiff.so.4
-r--r--r--  1 root  wheel  322199 Feb  8 10:05 libtiff.so.4

Linking a static library (.a) to a shlib (.so.N) will have undesirable
effects.

 pkgdb doesn't seem to have any problems (I have run it enough times 
 today), cvsup has done its magic a couple of times.

That sounds like what I'd expect, since those commands affect some
completely different sets of files to the ones that are giving you
problems.  A more interesting question would be what output do you get
from:

% pkg_info -g jpeg-\* tiff-\*

The symlinks in question should be known to the packaging system:

% pkg_info -L jpeg-\* tiff-\* | grep '.so$'
/usr/local/lib/libjpeg.so
/usr/local/lib/libtiff.so

 I thought portinstall/upgrade -rR would fix any out-of-date ports and 
 make everything happy? What am I doing wrong to make this libraries not 
 get installed?

Yes -- there is certainly something going wrong wrong with the way
your system is operating: maybe not with the ports/packages system
itself, but something took out those symlinks which should have been
there.  If you reinstall those two packages you should get all of
those files and symlinks recreated correctly for you automatically.

However, portupgrade won't necessarily pick up that an installed
package has been damaged.  The ports system will find that, eg.
libjpeg.so.9 is missing (which is the file it specifically checks for
when testing if the correct dependencies have been installed), and so
assume that the whole graphics/jpeg port hasn't been installed.  Then
when it goes to install the missing dependency, and finds that it
isn't actually missing at all.  The general answer to this problem is
to force a re-install of the damaged packages:

# portupgrade -f graphics/jpeg
# portupgrade -f graphics/tiff

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


Any support for SMC 2635W wireless card ? I guess there is not, because it doesn't work but.... (^--^)

2004-03-30 Thread Juan Rodriguez Hervella

-- 
**
JFRH
**

Get Revenge!  Live long enough to be a problem for your children!
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


sf.net: host not found

2004-03-30 Thread Zhang Weiwu
Hello. It has been three days since I cannot access sourceforge.net, using 
many different Chinese dns server:

[EMAIL PROTECTED]:~host sf.net
Host not found, try again.
[EMAIL PROTECTED]:~host sourceforge.net
Host not found, try again.
It behave like the last year's Google being blocked in China. But I don't 
know sourceforge has anything to do with political stuff. 

Can anyone tell me sourceforge's ip address? Or better tell me a 
world-accessible dns server, that I can help myself with such things.

If it is truly blocked, then it is no use to have IP address. But I'll have 
a try.

Thank you.

_
 MSN Explorer:   http://explorer.msn.com/lccn/  

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


Re: mozilla: mms is not registered protocol ?

2004-03-30 Thread Matthew Seaman
On Tue, Mar 30, 2004 at 03:03:06PM +0900, Rob wrote:
 
 
 Hi,
 
 The multimedia internet radio sites, usually link to something like
 
   mms://211.233.92.44/L_1FM
 
 but when I click on such a link I get an Alert dialog, that says:
 
   mms is not a registered protocol
 
 
 How can I teach mozilla to open mplayer with this site, instead
 of popping up this Alert dialog.
 
 Manually, in an xterminal, I can type:
   mplayer mms://211.233.92.44/L_1FM
 
 which works fine, but why does mozilla not know about this.

Take a look at http://bugzilla.mozilla.org/show_bug.cgi?id=202715 --
you should be able to persuade Mozilla to open Microsoft Media
Streaming URLs via mplayer by editing the prefs.js file under
~/.mozilla There's also:

http://linux.sgms-centre.com/howto/mozilla.php

which you can trawl for clues.

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: Using IPFW/NAT with multiport PCI cards

2004-03-30 Thread Toni Heinonen
 I am writing to request for advise/recommendations on the 
 subject. I've
 been tasked to build a router/firewall based on FreeBSD. I'd 
 like to use
 5.2-RELEASE.
 
 Now my only problem is that I have played a little with ipfw in a
 situation where I have just two interfaces, 1 external and 1 internal.
 My current requirement however involves one external interface and
 four (or more) internal interfaces (which should all be SEPARATE
 networks, invisible from each other).

Sure, this is possible. To tell you the truth, if you're not sure how to do it, the 
cheapest and easiest way would be to just get 4 ethernet cards for the internal 
interfaces. However, the most dynamic way would be to get an ethernet card that 
supports 802.1q or Cisco ISL, which are switch trunking protocols. You could then 
separate the networks into different virtual LANs in a switch, that was connected to 
the 802.1q NIC. That NIC would then have an IP address from each of the networks.

I'm not sure how 802.1q can be configured in FreeBSD, but that shouldn't be too hard - 
the more difficult part should be configuring the switch.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Using IPFW/NAT with multiport PCI cards

2004-03-30 Thread Wayne Pascoe
On Tue, Mar 30, 2004 at 11:06:16AM +0300, Odhiambo Washington wrote:

 Now my only problem is that I have played a little with ipfw in a
 situation where I have just two interfaces, 1 external and 1 internal.
 My current requirement however involves one external interface and
 four (or more) internal interfaces (which should all be SEPARATE
 networks, invisible from each other).

 Is this doable? (I hope someone has done this before). I would say I am
 a total newbie on this one.

Not only is it doable, it's fairly trivial if you've done a 1 in, 1 out
ipfw firewall before. You just take that idea and grow it a little.

 2. Guides/Pointers on HOWTO configure this WRT to ipfw configuration.
Any minute gotchas/clues will be highly appreciated. URL links
pointing to people's experiences also welcome.

Just set the firewall to deny by default and add your rules really...
Here's an example that would allow FTP to one network and HTTP to
another...

${fwcmd} add allow tcp from any to 192.168.1.0/24 80 tcpflags syn keep-state in via 
xl0 
${fwcmd} add allow tcp from any to 192.168.2.0/24 21 tcpflags syn keep-state in via 
xl0 

You can also have rules between your networks as well... This one allows
all machines on one of the protected networks to ssh to all machines in
the other network.

${fwcmd} add allow tcp from 192.168.1.0/24 to 192.168.2.0/24 22 tcpflags syn 
keep-state in via xl1 

Note the following things about this rule...

1. I've specified a source range to allow. 
2. I've used a different interface. This guarantees that this traffic
   isn't coming in via the main external interface, but that it is
   coming in on one of the protected interfaces.

Of course, everywhere I've used an entire range here, you could use a
single IP range. Combining IP addresses with via interface statements
lets you be pretty flexible :)

Hope this helps some ? 

-- 
Wayne Pascoe
BSD is for people who love UNIX; Linux is for
people who hate Windows 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


My FreeBSD 3.2

2004-03-30 Thread Lyndon M. Realubit
Dear Friends,

In no apparent reason, I have used my 4-disc of FreeBSD 3.2 since I bought 
it.  I read the book but now I want to install it.  Now my question, if I 
install them is there a long shot to get by CSV the new FreeBSD 5.2.1 
kernel and porting other supporting softwares.  What steps should I do to 
eventually have the new release? Reading the handbook on-line, I found that 
it confusing how to compile the FREEBSD either by the old way or the new way.

Looking forward hearing from you.

Regards,

Lyndon

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


Re: port questions (why do I find myself fudging symlinks to make stuff work?)

2004-03-30 Thread Kris Kennaway
On Mon, Mar 29, 2004 at 09:21:34PM -0800, paul beard wrote:
 [ please cc me as I am not on the list]
 
 I have been trying to upgrade cups to 1.1.20 and have been running into 
 some problems with libraries not being found (specifically jpeg.9 and 
 tiff.4). After a few different iterations of pkg_add, portupgrade, 
 portinstall, and accompanying pkg_delete, pkg_deinstall, make install, 
 etc., I finally tried symlinking the .so files to the numbered versions 
 that don't seem to exist and all seems to be well.
 
  ln -s /usr/local/lib/libjpeg.a /usr/local/lib/libjpeg.so.9
  ln -s /usr/local/lib/libtiff.a /usr/local/lib/libtiff.so.4
 
 pkgdb doesn't seem to have any problems (I have run it enough times 
 today), cvsup has done its magic a couple of times.
 
 I thought portinstall/upgrade -rR would fix any out-of-date ports and 
 make everything happy? What am I doing wrong to make this libraries not 
 get installed?

No idea, you'd have to post some details.

Kris


pgp0.pgp
Description: PGP signature


Wine-20040309 broken?

2004-03-30 Thread Remi
%uname -a
FreeBSD node2 5.2.1-RELEASE-p4 FreeBSD 5.2.1-RELEASE-p4 #5: Mon Mar 29 
16:09:11 PST 2004 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/BART  i386

Hello,
I am having major problems with wine. I will receive an Abort error on 
every exe I attempt to execute, example:
%wine /opt/wine/c/Iris405Demo.exe
Abort

Has anyone experienced this problem or know how to fix it. I have no 
CFLAGS, CXXFLAGS, CPUTYPE defined The .EXE's all have 777 permissions. 
Ports CVSuped Mar 29.  Assume the root of the problem lies with (what is 
signal 6?):

%ldd /usr/local/bin/wine
/usr/local/bin/wine:
/usr/local/bin/wine: signal 6
Heres my wine.conf:
WINE REGISTRY Version 2
[Drive C]
Path = /opt/wine/c
Type = hd
[wine]
Windows = c:\\windows
System = c:\\windows\\system
Path = c:\\windows;c:\\windows\\system
Profile = c:\\windows\\Profiles\\Administrator
GraphicsDriver = x11drv
ShowDirSymlinks = 1
ShowDotFiles = 1
ShellLinker = wineshelllink
# [wineconf]
[Version]
Windows = win98
DOS = 6.22
[DllOverrides]
oleaut32 = builtin, native
ole32= builtin, native
comdlg32 = builtin, native
shell32  = builtin, native
shfolder = builtin, native
shlwapi  = builtin, native
shdocvw  = builtin, native
advapi32 = builtin, native
msvcrt   = native, builtin
mciavi.drv   = native, builtin
mcianim.drv  = native, builtin
msi  = native, builtin
*notepad.exe = native, builtin
C:\\windows\\regedit.exe = native, builtin
* = builtin, native
[x11drv]
AllocSystemColors = 100
PrivateColorMap = N
PerfectGraphics = N
UseDGA = Y
UseXVidMode = Y
UseXRandR = Y
UseTakeFocus = Y
DXGrab = N
DesktopDoubleBuffered = N
[fonts]
Resolution = 96
Default = -adobe-helvetica-
DefaultFixed = fixed
DefaultSerif = -adobe-times-
DefaultSansSerif = -adobe-helvetica-
[FontDirs]
[ppdev]
[Debug]
[registry]
LoadGlobalRegistryFiles = Y
LoadHomeRegistryFiles = Y
LoadWindowsRegistryFiles = Y
WritetoHomeRegistryFiles = Y
SaveOnlyUpdatedKeys = Y
[Tweak.Layout]
WineLook = Win95
[Clipboard]
ClearAllSelections = 0
PersistentSelection = 1
UsePrimary = 0
[afmdirs]
1 = /usr/share/ghostscript/fonts
2 = /usr/share/a2ps/afm
3 = /usr/share/enscript
4 = /usr/X11R6/lib/X11/fonts/Type1
[WinMM]
Drivers = wineoss.drv  ; default for most common configurations
WaveMapper = msacm.drv
MidiMapper = midimap.drv
[dsound]
[Network]
[AppDefaults\\_INS0432._MP\\x11drv]
Desktop = 640x480
[AppDefaults\\_INS0466._MP\\x11drv]
Desktop = 640x480
[AppDefaults\\_INS0576._MP\\x11drv]
Desktop = 640x480
[AppDefaults\\_INS5176._MP\\x11drv]
Desktop = 640x480
[AppDefaults\\_INS5576._MP\\x11drv]
Desktop = 640x480
# [/wineconf]
And finally ls output of /opt/wine/c:
%ls -R /opt/wine/c/
Iris405Demo.exe windows
/opt/wine/c/windows:
Profilessystem
/opt/wine/c/windows/Profiles:
Administrator
/opt/wine/c/windows/Profiles/Administrator:

/opt/wine/c/windows/system:

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


Why all my application giving me core dumped error?

2004-03-30 Thread Suhaimi Jamalludin
Hi All,

I got some question regarding FreeBSD.
Today I just install FreeBSD 5.2-RELEASE from CD. Then  I cvsup port-all 
tag=. to the current one and complete the portupgrade -arR for update.
I want to setup LDAP+SAMBA3. Then I install all the required ports. Then 
After I install samba-devel. my system going crazy it give me all these 
core dumped error.

A) Why this happen?
B) How to check what is wrong with my system?
Can some body advice me...Please

thanks,
Suhaimi
my-svr # dmesg
--snip-
SMP: AP CPU #2 Launched!
Mounting root from ufs:/dev/da0s1a
em1: Link is up 100 Mbps Full Duplex
pid 412 (sendmail), uid 25: exited on signal 11
pid 414 (sendmail), uid 25: exited on signal 11
pid 416 (sendmail), uid 25: exited on signal 11
pid 469 (sendmail), uid 0: exited on signal 11
pid 472 (sendmail), uid 25: exited on signal 11
pid 491 (mail.local), uid 0: exited on signal 11 (core dumped)
pid 498 (mail.local), uid 0: exited on signal 11 (core dumped)
pid 499 (mail.local), uid 0: exited on signal 11 (core dumped)
pid 497 (sendmail), uid 0: exited on signal 11
pid 508 (mail.local), uid 0: exited on signal 11 (core dumped)
pid 517 (mail.local), uid 0: exited on signal 11 (core dumped)
pid 505 (sendmail), uid 0: exited on signal 11
pid 518 (mail.local), uid 0: exited on signal 11 (core dumped)
pid 474 (sendmail), uid 25: exited on signal 11
pid 475 (sendmail), uid 0: exited on signal 11
pid 529 (mail.local), uid 0: exited on signal 11 (core dumped)
pid 530 (mail.local), uid 0: exited on signal 11 (core dumped)
pid 528 (sendmail), uid 0: exited on signal 11
pid 531 (mail.local), uid 0: exited on signal 11 (core dumped)
pid 532 (mail.local), uid 0: exited on signal 11 (core dumped)
pid 533 (mail.local), uid 0: exited on signal 11 (core dumped)
pid 534 (mail.local), uid 0: exited on signal 11 (core dumped)
pid 535 (mail.local), uid 0: exited on signal 11 (core dumped)
pid 536 (mail.local), uid 0: exited on signal 11 (core dumped)
pid 471 (sendmail), uid 0: exited on signal 11
pid 527 (id), uid 0: exited on signal 11 (core dumped)
pid 572 (sshd), uid 22: exited on signal 11
MyStep

1) #cd /usr/ports/security/openssl
# make install clean
2)#cd /usr/ports/net/openldap21-server
#make install clean
3)#cd /usr/ports/net/p5-perl-ldap
#make install clean
4)#cd /usr/ports/security/pam_ldap/
#make install clean
5)#cd /usr/ports/net/nss_ldap
#make install clean
6)#cd /usr/ports/net/samba-devel
#make install clean
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: My FreeBSD 3.2

2004-03-30 Thread Matthew Seaman
On Tue, Mar 30, 2004 at 04:44:53PM +0800, Lyndon M. Realubit wrote:

 In no apparent reason, I have used my 4-disc of FreeBSD 3.2 since I bought 

Err -- do you mean that you have /not/ used it? 

 it.  I read the book but now I want to install it.  Now my question, if I 
 install them is there a long shot to get by CSV the new FreeBSD 5.2.1 
 kernel and porting other supporting softwares.  What steps should I do to 
 eventually have the new release? Reading the handbook on-line, I found that 
 it confusing how to compile the FREEBSD either by the old way or the new 
 way.

You can certainly install FreeBSD-3.2 if you have appropriate
hardware.  Remember that there won't be much support (if any) in 3.2
for anything that has been introduced in the last 5 or so years (3.2
was released in May 1999).

If you succeed in building a 3.2 system, please don't expose it to the
Internet without due care and attention.  There were several nasty
security holes closed in that and later versions: even worse, by now,
it's so old that security fixes don't get backported to it.

You can almost definitely use a 3.2 system to download the 5.2.1
sources via cvsup(1) [not CSV -- that's comma separated values, a
text format for columnar data...]  However, once you've got the 5.2.1
sources, there's not a lot else you can do with them.  You won't be
able to compile 5.2.1 directly on 3.2, nor will you be able to upgrade
in one jump.

I think your best bet is to put away your 3.2 CDs as of historical
interest only.  To install 5.2.1, either download one of the iso
images and cut your own CD, or make yourself some install floppies.
You can install the whole system over the net quite readily -- there
are detailed instructions here:

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

The 5.2.1 floppy images are at:

   ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/5.2.1-RELEASE/floppies/

and you need kern.flp and mfsroot.flp images, plus possibly the
drivers.flp image depending on your hardware.  See the README.TXT and
DRIVERS.TXT files in that directory.

To find .iso images to download, use the mirrorlist.freebsd.org
service:

http://mirrorlist.freebsd.org/FBSDsites.php

The minimum you need is the 'bootonly.iso' (21184Kb) which gives you a
bootable CD-Rom with sysinstall(8) -- to use this, from within
sysinstall you'll setup a network connection and then download
everything else for the rest of the system over the net.

Next in size is the miniinst.iso (245536Kb) which has everything on
the bootonly.iso, plus all of the system.  You won't get an X-Windows
environment or anything like that: just the console.  No ports or
extra packages.  With this disk you can do a minimal install, and then
setup cvsup(1) to pull down system sources, the ports tree etc.

Third option is to grab the disc1.iso (659328), which is basically
miniinst.iso + some popular packages.  The disk2.iso (268416Kb) is not
usually needed unless things go horribly wrong -- it contains a live
filesystem image which you can boot into and use to fix an otherwise
unbootable system.

Even so, there will not be many 3rd party packages bundled with these
.iso's.  Vendors like http://www.freebsdmall.com/ or
http://www.bsdmall.com/ will happilly sell you a 4-disk set: this
consists of the disk1 and disk2 iso images as above, with all spare
space and another two disks jam packed with extra 3rd party software.
Mind you, even that is nowhere near a complete copy of the available
packages -- you'ld need 11 or 12 CD-Roms to provide that.

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: Why all my application giving me core dumped error?

2004-03-30 Thread Matthew Seaman
On Tue, Mar 30, 2004 at 05:45:11PM +0800, Suhaimi Jamalludin wrote:

 I got some question regarding FreeBSD.
 Today I just install FreeBSD 5.2-RELEASE from CD. Then  I cvsup port-all 
 tag=. to the current one and complete the portupgrade -arR for update.
 I want to setup LDAP+SAMBA3. Then I install all the required ports. Then 
 After I install samba-devel. my system going crazy it give me all these 
 core dumped error.
 
 A) Why this happen?
 B) How to check what is wrong with my system?
 
 Can some body advice me...Please

Either you have hardware problems, or (and this seems to me more
likely in this case) you chose the wrong time to pull down the
5-CURRENT sources.  Remember that HEAD is a development branch -- it's
not intended for anything other than system developers to use, and
there's no guarrantee that sources pulled down from HEAD will even
compile, let alone run correctly and stably.

If what you want is a rock-solid reliable server then you should
install 4.9-RELEASE-pN (RELENG_4_9), or possibly 4.9-STABLE
(RELENG_4).  If it's a home system or you don't mind it not being as
reliable as *BSD aims to be, or you have hardware not supported in
older versions, or you have a particular requirement for functionality
like nss_ldap not available in older versions, then run the latest
Early Adopter release, which right now is 5.2.1-RELEASE-p4
(RELENG_5_2).

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: Why all my application giving me core dumped error?

2004-03-30 Thread Matthew Seaman
On Tue, Mar 30, 2004 at 10:58:13AM +0100, Matthew Seaman wrote:
 On Tue, Mar 30, 2004 at 05:45:11PM +0800, Suhaimi Jamalludin wrote:
 
  I got some question regarding FreeBSD.
  Today I just install FreeBSD 5.2-RELEASE from CD. Then  I cvsup port-all 
  tag=. to the current one and complete the portupgrade -arR for update.
  I want to setup LDAP+SAMBA3. Then I install all the required ports. Then 
  After I install samba-devel. my system going crazy it give me all these 
  core dumped error.
  
  A) Why this happen?
  B) How to check what is wrong with my system?
  
  Can some body advice me...Please
 
 Either you have hardware problems, or (and this seems to me more
 likely in this case) you chose the wrong time to pull down the
 5-CURRENT sources.

Ooops.  I'm sorry -- I misread your e-mail.  You cvsuped ports to
HEAD, which is correct, and not the system as I seemed to have accused
you of doing.  Apologies.

I'm afraid that means the bad hardware theory is prime suspect.  It
does sound like you've blown a memory chip or some such.  You can try
running a few passes of memtest86 -- see http://www.memtest86.com/ --
which will confirm the failure if it finds anything wrong.  Swap out
memory sticks to see if you can isolate the problem.

What I said about 5-CURRENT and the various releases in my previous
messages is correct, but irrelevant.  However, once you've got your
system running stably again, do think about cvsup'ing and upgrading to
5.2.1-RELEASE-p4 (which you can do in a sing make buildworld cycle
from 5.2-RELEASE I should think, as they are both taken from the
RELENG_5_2 branch).  There have been some nasty security bugs
announced recently, and 5.2.1 was released in part because of some
nasty (non-security) bugs in 5.2.

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: Why all my application giving me core dumped error?

2004-03-30 Thread Suhaimi Jamalludin
Hi  Matthew,

Really appreciate your advice
I also have check with my friends herehe also suspect that it might 
be hardware memory problem.

Regards,
Suhaimi
Matthew Seaman wrote:

On Tue, Mar 30, 2004 at 10:58:13AM +0100, Matthew Seaman wrote:
 

On Tue, Mar 30, 2004 at 05:45:11PM +0800, Suhaimi Jamalludin wrote:

   

I got some question regarding FreeBSD.
Today I just install FreeBSD 5.2-RELEASE from CD. Then  I cvsup port-all 
tag=. to the current one and complete the portupgrade -arR for update.
I want to setup LDAP+SAMBA3. Then I install all the required ports. Then 
After I install samba-devel. my system going crazy it give me all these 
core dumped error.

A) Why this happen?
B) How to check what is wrong with my system?
Can some body advice me...Please
 

Either you have hardware problems, or (and this seems to me more
likely in this case) you chose the wrong time to pull down the
5-CURRENT sources.
   

Ooops.  I'm sorry -- I misread your e-mail.  You cvsuped ports to
HEAD, which is correct, and not the system as I seemed to have accused
you of doing.  Apologies.
I'm afraid that means the bad hardware theory is prime suspect.  It
does sound like you've blown a memory chip or some such.  You can try
running a few passes of memtest86 -- see http://www.memtest86.com/ --
which will confirm the failure if it finds anything wrong.  Swap out
memory sticks to see if you can isolate the problem.
What I said about 5-CURRENT and the various releases in my previous
messages is correct, but irrelevant.  However, once you've got your
system running stably again, do think about cvsup'ing and upgrading to
5.2.1-RELEASE-p4 (which you can do in a sing make buildworld cycle
from 5.2-RELEASE I should think, as they are both taken from the
RELENG_5_2 branch).  There have been some nasty security bugs
announced recently, and 5.2.1 was released in part because of some
nasty (non-security) bugs in 5.2.
	Cheers,

	Matthew

 

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


# bsdlabel -w /dev/amrd1 auto

2004-03-30 Thread Roberto Nunnari
hello.

What does the auto argument mean?

# bsdlabel -w /dev/amrd1 auto

Is it possible that the command above configures amrd1
as the default boot partition and modifies amrd0 not the
be the active? And even modifies the partition table on
amrd0 so that it starts at sect 0 instead of sect 63 as before?
Thank you.
--
  Roberto Nunnari -software engineer-
   mailto:[EMAIL PROTECTED]
 Scuola Universitaria Professionale della Svizzera Italiana
 Dipartimento Tecnologie Innovative
  http://www.dti.supsi.ch
 SUPSI-DTI
 Via Cantonaletel: +41-91-6108561
 6928 Mannofax: +41-91-6108570
 Switzerland   (o o)
===oOO==(_)==OOo
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Latest SSH?

2004-03-30 Thread Danny Woods
On Mon, Mar 29, 2004 at 10:58:01AM +0100, Matthew Seaman wrote:

 It's false.  I assume it's complaining about the problems described in
 ftp://ftp.freebsd.org/pub/FreeBSD/CERT/advisories/FreeBSD-SA-03:15.openssh.asc
 as that's the last OpenSSH advisory published.

Thanks for the information, Matthew. Much appreciated.

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


Re: ahc reports lots of pci parity errors

2004-03-30 Thread Toomas Aas
Hi!

 It starts going havoc if there are more than 4 PCI cards inserted. If
 the fifth card is a PCI card, I get lots of errors and even lockups
 really soon, if the fifth card is an ISA card, i get less errors and
 I've only encountered one lockup until now.

On lot of motherboards I've seen some PCI slots share a single 
interrupt. I don't know if this is the case with your motherboard, but 
if it is then I can certainly imagine it causing problems.
--
Toomas Aas | [EMAIL PROTECTED] | http://www.raad.tartu.ee/~toomas/
* If they combined country with rap, would they call it crap?

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


Re: Hardware on FreeBSD 5.2.1

2004-03-30 Thread Olaf Hoyer
On Mon, 29 Mar 2004, Banana Flex wrote:

 hello!

 i have a little problem, can u help me?

 i would like to buy a new server called HP Proliant ML310
 the hardware on this machine for the ethernet is a Compaq NC7760

 this is working on FreeBSD 5.2.1? i have not seen this number on the
 hardware notes

HP relabels Intel and Broadcom chips.

I havent't looked yet, due to some lack of time, but they should be gigE
chips, and then its whether bge(4) or em(4) which will work.
(have tested on 380G3 with similar cards)

HTH
Olaf

-- 
Olaf Hoyer[EMAIL PROTECTED]
Fuerchterliche Erlebniss geben zu raten,
ob der, welcher sie erlebt, nicht etwas Fuerchterliches ist.
(Nietzsche, Jenseits von Gut und Boese)
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


[no subject]

2004-03-30 Thread ryutaroh
I do not read the email account [EMAIL PROTECTED].
Thank you.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Why all my application giving me core dumped error?

2004-03-30 Thread Suhaimi Jamalludin
Hi Matthew,

I have check my system memory using the bios utilities.
There is no error on the memory.:(
Regards,

Suhaimi



Suhaimi Jamalludin wrote:

Hi  Matthew,

Really appreciate your advice
I also have check with my friends herehe also suspect that it 
might be hardware memory problem.

Regards,
Suhaimi
Matthew Seaman wrote:

On Tue, Mar 30, 2004 at 10:58:13AM +0100, Matthew Seaman wrote:
 

On Tue, Mar 30, 2004 at 05:45:11PM +0800, Suhaimi Jamalludin wrote:

  

I got some question regarding FreeBSD.
Today I just install FreeBSD 5.2-RELEASE from CD. Then  I cvsup 
port-all tag=. to the current one and complete the portupgrade -arR 
for update.
I want to setup LDAP+SAMBA3. Then I install all the required ports. 
Then After I install samba-devel. my system going crazy it give me 
all these core dumped error.

A) Why this happen?
B) How to check what is wrong with my system?
Can some body advice me...Please

Either you have hardware problems, or (and this seems to me more
likely in this case) you chose the wrong time to pull down the
5-CURRENT sources.
  


Ooops.  I'm sorry -- I misread your e-mail.  You cvsuped ports to
HEAD, which is correct, and not the system as I seemed to have accused
you of doing.  Apologies.
I'm afraid that means the bad hardware theory is prime suspect.  It
does sound like you've blown a memory chip or some such.  You can try
running a few passes of memtest86 -- see http://www.memtest86.com/ --
which will confirm the failure if it finds anything wrong.  Swap out
memory sticks to see if you can isolate the problem.
What I said about 5-CURRENT and the various releases in my previous
messages is correct, but irrelevant.  However, once you've got your
system running stably again, do think about cvsup'ing and upgrading to
5.2.1-RELEASE-p4 (which you can do in a sing make buildworld cycle
from 5.2-RELEASE I should think, as they are both taken from the
RELENG_5_2 branch).  There have been some nasty security bugs
announced recently, and 5.2.1 was released in part because of some
nasty (non-security) bugs in 5.2.
Cheers,

Matthew

 

___
[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: # bsdlabel -w /dev/amrd1 auto

2004-03-30 Thread Matthew Seaman
On Tue, Mar 30, 2004 at 12:26:51PM +0200, Roberto Nunnari wrote:
 hello.
 
 What does the auto argument mean?
 
 # bsdlabel -w /dev/amrd1 auto

Hmmm... Interesting.  It seems that the description of 'auto' has
vanished from the bsdlabel(8) man page, although it is present in the
disklabel(8) man page from 4.x (disklabel was renamed bsdlabel between
4.x and 5.x):


http://www.freebsd.org/cgi/man.cgi?query=disklabelapropos=0sektion=0manpath=FreeBSD+4.9-stableformat=html

According to disklabel(8), 'auto' means that {disk,bsd}label should
try and create a virgin disklabel on the slice -- that (if I
remember correctly) is essentially a 'c' partition spanning the whole
slice, and nothing else.  bsdlabel(8) either works the same way, or it
will search for an entry marked 'auto' in disktab(5) -- see
/etc/disktab -- and there is no such entry in the default
/etc/disktab.

Assuming bsdlabel(8) still works the same way as disklabel(8): note
that the auto behaviour doesn't work on all media -- only those where
{disk,bsd}label can find the parameters it needs without having to
read the thing it's labelling directly.  However, that includes all
SCSI or IDE hard drives, vnodes and regular files.
 
 Is it possible that the command above configures amrd1
 as the default boot partition and modifies amrd0 not the
 be the active? And even modifies the partition table on
 amrd0 so that it starts at sect 0 instead of sect 63 as before?

No.  bsdlabel(8) is all about BSD partitioning -- the final 'a' in a
device name like /dev/amr1s1a It's fdisk(8) that sets /slices/ (the
's1' part in the device name) as bootable/non-bootable by altering the
master boot record (MBR) on the drive (the 'amr1' part of the device
name).

If you're using fdisk(8) on a different drive to the one you usually
boot from, then it won't be able to affect the usual booting process
in the way you are asking about.  If you used fdisk(8) to turn of the
bootable flag on all slices on your boot drive, then yes, there would
be an effect.  However, I'm sure you would remember doing something
like that.  It's easy to reverse if you did -- just use fdisk(8)
again.

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


`make`ing kernel for 4.5 with nonnative cc

2004-03-30 Thread CBuH.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1



Hello, world! ;-)

Preamble:

Some time ago I've `configure  make  make install`-ed gcc-3.2.1, while 4.5
box has cc 2.95 (AFAIK).


Issue:

[EMAIL PROTECTED] bsdmake depend
cc -c -O -pipe  -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes
- -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual
- -fformat-extensions -ansi  -nostdinc -I- -I. -I../.. -I../../../include
- -I../../contrib/ipfilter  -D_KERNEL -include opt_global.h -elf
- -mpreferred-stack-boundary=2 ../../i386/i386/genassym.c
cc1: unrecognized option `-fformat-extensions'
*** Error code 1

Stop in /usr/src/sys/compile/TELEFEN-EXP-1.
[EMAIL PROTECTED]

(``bsdmake'' is a copy of native FreeBSD ``make'', while ``make'' is a `ln -s
gmake' -- cause of some badly crafted ``Makefile''s ...)


Is the _only_ solve to get gcc-2.95 to be on the box?
- --

CBuH. CG[CX] XVyGYjau 479001600(at)mail.ru, ICQ#70929413
GnuPG(PGP) public key is: http://www.vinnied.narod.ru/pubkey.asc
http://www.vinnied.narod.ru


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3 (FreeBSD)

iD8DBQFAaVsh5Cj3gqxcdCoRAsbaAJwPExOXfbiXDWH6bLIcr9TEw1r2pQCdEGCg
d79aTYQ7lNnNV5TvpxDBQB4=
=1BZZ
-END PGP SIGNATURE-

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


Re: Why all my application giving me core dumped error?

2004-03-30 Thread Matthew Seaman
On Tue, Mar 30, 2004 at 07:23:37PM +0800, Suhaimi Jamalludin wrote:

 I have check my system memory using the bios utilities.
 There is no error on the memory.:(

Unfortunately the BIOS memory check is pretty useless.  It only
detects really major problems, like there's a smoking crater where my
memory used to be.  That the BIOS memory check passes doesn't tell
you anything worth knowing.  Use a more sensitive tester like
memtest86, or if you can possibly get access to one, a hardware memory
tester.  Only the hardware tester will be able to give your memory
sticks a 100% known good bill of health, but something like memtest86
will catch most problems, and it doesn't tell you there are errors
when there aren't.

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


good network troubleshooting tool

2004-03-30 Thread Roger 'Rocky' Vetterberg
Hi list,

Im looking for suggestions on a good tool to track down packetlosses.
MTR (/usr/ports/net/mtr) is exactly what I want with one exception: 
MTR uses ICMP, I would like something TCP based.
I have tried a lot of the utilities in ports but has so far not 
found anything that suits my needs. Does anyone have any suggestions 
on utilities or pointers where to look?

TIA

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


Re: My FreeBSD 3.2

2004-03-30 Thread Peter N. M. Hansteen
Lyndon M. Realubit [EMAIL PROTECTED] writes:

 In no apparent reason, I have used my 4-disc of FreeBSD 3.2 since I bought 
 it.  I read the book but now I want to install it.  Now my question, if I 
 install them is there a long shot to get by CSV the new FreeBSD 5.2.1 
 kernel and porting other supporting softwares.  What steps should I do to 
 eventually have the new release? Reading the handbook on-line, I found that 
 it confusing how to compile the FREEBSD either by the old way or the new way.

Upgrading by cvsuping all the way from 3.2 to 5.2.1 is likely to take
a long time, and as far as I know should not be done in one
step. Seriously, you'll save yourself a lot of trouble by just
installing the newer release clean and restoring whatever it is you
need (such as home directories) from a reliable backup.

- P
-- 
Peter N. M. Hansteen, member of the first RFC 1149 implementation team
http://www.blug.linux.no/rfc1149/   http://www.datadok.no/
First, we kill all the spammers The Usenet Bard, Twice-forwarded tales

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


Re: good network troubleshooting tool

2004-03-30 Thread brian-freebsd-001
On 30 March, 2004, at 13:34 (+0200)
Roger 'Rocky' Vetterberg [EMAIL PROTECTED] wrote:

 Im looking for suggestions on a good tool to track down packetlosses.
 MTR (/usr/ports/net/mtr) is exactly what I want with one exception:
 MTR uses ICMP, I would like something TCP based.
 I have tried a lot of the utilities in ports but has so far not
 found anything that suits my needs. Does anyone have any suggestions
 on utilities or pointers where to look?

You might start with tcptraceroute (/usr/ports/net/tcptraceroute).

Brian Clapper, http://www.clapper.org/bmc/
Death is God's way of telling you not to be such a wise guy.

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


Re: Anti-virus

2004-03-30 Thread Bart Silverstrim
On Mar 29, 2004, at 9:52 PM, Earl Larsen wrote:

I was wondering what is a good, free ;) anti virus program for FreeBSD.
Clamav has worked very well for me...

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


Re: Anti-virus

2004-03-30 Thread Lewis Thompson
On Mon, Mar 29, 2004 at 08:52:23PM -0600, Earl Larsen wrote:
 I was wondering what is a good, free ;) anti virus program for FreeBSD.

Depending what you mean by free... maybe try security/f-prot.  It's free
for non-commercial use.

-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: `make`ing kernel for 4.5 with nonnative cc

2004-03-30 Thread Kris Kennaway
On Tue, Mar 30, 2004 at 03:33:53PM +0400, CBuH. wrote:

 Is the _only_ solve to get gcc-2.95 to be on the box?

Yes, you must compile FreeBSD (kernel + world) with the system
compiler.

If you want to install another gcc version, use the relevant port,
which will happily coexist with the system compiler.

Kris

pgp0.pgp
Description: PGP signature


Re: build of current failes

2004-03-30 Thread Daan Hoogland
Does anybody have any suggetions or links to further information?

On 30-mrt-04, at 7:47, Daan Hoogland wrote:

On 29-mrt-04, at 11:36, Odhiambo Washington wrote:

* Daan Hoogland [EMAIL PROTECTED] [20040329 11:56]: wrote:
ls,

I am building the cvs version of freebsd on a openbrick machine. My
present installation is a 5.0 version with a broken su. su - gives a
bus error. When i throw away usr/obj and usr/src, cvsup all possible
things, and do a make build world, the machine works for a day or so
and then stops. First I had with the following messages:


Don't run -CURRENT.
Use RELENG_5_2 for cvsup.
After another day of tiring waiting I can say that this approach makes 
no difference, except that I now get the first error again:

crunchgen: make error: cd: can't cd to 
/usr/obj/usr/src/rescue/rescue/../../contrib/tcsh/nls/ukrainian

Run make -f rescue.mk to build crunched binary.
*** Error code 1
as before: Some other languages preceding and some levels of nested 
makes following.

D.A.A.N.

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


D.A.A.N.

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


fsck: cannot increase directory list

2004-03-30 Thread Elliot Moore
Hello.
I have a 4.4-RELEASE FreeBSD system, it crashed and rebooted and could
not fsck the volume /data01, giving error: 
fsck: cannot increase directory list

I ran fsck again (even after recompiling kernel with new options for
MAXDSIZ, MAXSSIZ, DFLDSIZ)
And I still get the same problem.

Here is the output and system environment:

Any help will be much appreciated.

Elliot Moore




# fsck /data01
** /dev/amrd1s1e
** Last Mounted on /data01
** Phase 1 - Check Blocks and Sizes
fsck: cannot increase directory list


Size and inode usage
(from mounting filesystem r/o)
--
# df -Hi /data01
Filesystem   Size   Used  Avail Capacity iused   ifree  %iused 
Mounted on
/dev/amrd1s1e141G   121G   9.2G93% 20522986 1393512460%  
/data01


Snippet from kernel conf

machine i386
cpu I686_CPU
ident   KERNELv2node1
maxusers128
makeoptions  COPTFLAGS=-O
-pipe 
  options MAXDSIZ=(256*1024*1024)
options MAXSSIZ=(256*1024*1024)
options DFLDSIZ=(256*1024*1024)


tunefs output
-
tunefs -p /data01
tunefs: soft updates:  (-n)enabled
tunefs: maximum contiguous block count: (-a)   15
tunefs: rotational delay between contiguous blocks: (-d)   0 ms
tunefs: maximum blocks per file in a cylinder group: (-e)  2048
tunefs: minimum percentage of free space: (-m) 8%
tunefs: optimization preference: (-o)  space
tunefs: should optimize for time with minfree = 8%


sysctl
--
kern.ostype: FreeBSD
kern.osrelease: 4.4-RELEASE
kern.osrevision: 199506
kern.version: FreeBSD 4.4-RELEASE #0: Tue Mar 30 14:06:28 BST 2004
[EMAIL PROTECTED]:/usr/src/sys/compile/KERNELv2node1
 
kern.maxvnodes: 66342
kern.maxproc: 2068
kern.maxfiles: 8192
kern.argmax: 65536
kern.securelevel: -1
kern.hostname: node1
kern.hostid: 0
kern.clockrate: { hz = 100, tick = 1, tickadj = 5, profhz = 1024,
stathz = 128 }
kern.posix1version: 199309
kern.ngroups: 16
kern.job_control: 1
kern.saved_ids: 0
kern.boottime: { sec = 1080652421, usec = 766626 } Tue Mar 30 14:13:41
2004
kern.domainname:
kern.osreldate: 44
kern.bootfile: /kernel
kern.maxfilesperproc: 4096
kern.maxprocperuid: 2067
kern.dumpdev:
kern.ipc.maxsockbuf: 262144
kern.ipc.sockbuf_waste_factor: 8
kern.ipc.somaxconn: 1024
kern.ipc.max_linkhdr: 16
kern.ipc.max_protohdr: 40
kern.ipc.max_hdr: 56
kern.ipc.max_datalen: 156
kern.ipc.nmbclusters: 4096
kern.ipc.semmap: 30
kern.ipc.semmni: 10
kern.ipc.semmns: 60
kern.ipc.semmnu: 30
kern.ipc.semmsl: 60
kern.ipc.semopm: 100
kern.ipc.semume: 10
kern.ipc.semusz: 92
kern.ipc.semvmx: 32767
kern.ipc.semaem: 16384
kern.ipc.shmmax: 33554432
kern.ipc.shmmin: 1
kern.ipc.shmmni: 192
kern.ipc.shmseg: 128
kern.ipc.shmall: 8192
kern.ipc.shm_use_phys: 0
kern.ipc.mbuf_wait: 32
kern.ipc.mbtypes: 2 182 8 0 0 0 0 0 0 0 0 0 0 0 0 0
kern.ipc.nmbufs: 16384
kern.ipc.maxsockets: 4136
kern.dummy: 0
kern.ps_strings: 3217031152
kern.usrstack: 3217031168
kern.logsigexit: 1
kern.cam.da.retry_count: 4
kern.cam.da.default_timeout: 60
kern.cam.cd.changer.min_busy_seconds: 5
kern.cam.cd.changer.max_busy_seconds: 15
kern.fallback_elf_brand: -1
kern.init_path: /sbin/init:/sbin/oinit:/sbin/init.bak:/stand/sysinstall
kern.module_path: /;/boot/;/modules/
kern.acct_suspend: 2
kern.acct_resume: 4
kern.acct_chkfreq: 15
kern.cp_time: 3066 0 1177 340 343872
kern.timecounter.method: 0
kern.timecounter.hardware: i8254
kern.openfiles: 43
kern.ps_arg_cache_limit: 256
kern.ps_argsopen: 1
kern.fast_vfork: 1
kern.randompid: 0
kern.maxusers: 128
kern.ps_showallprocs: 1
kern.shutdown.poweroff_delay: 5000
kern.shutdown.kproc_shutdown_wait: 60
kern.sugid_coredump: 0
kern.coredump: 1
kern.corefile: %N.core
kern.quantum: 10
kern.ccpu: 1948
kern.fscale: 2048
kern.devstat.numdevs: 4
kern.devstat.generation: 4
kern.devstat.version: 4
kern.disks: amrd1 amrd0
kern.log_wakeups_per_second: 5
kern.msgbuf:
kern.msgbuf_clear: 0
kern.nselcoll: 0
kern.consmute: 0
kern.filedelay: 30
kern.dirdelay: 29
kern.metadelay: 28
kern.chroot_allow_open_directories: 1
vm.loadavg: { 0.00 0.00 0.00 }
vm.v_free_min: 1700
vm.v_free_target: 7216
vm.v_free_reserved: 416
vm.v_inactive_target: 10824
vm.v_cache_min: 7216
vm.v_cache_max: 14432
vm.v_pageout_free_min: 34
vm.pageout_algorithm: 0
vm.swap_enabled: 1
vm.swap_async_max: 4
vm.swap_idle_threshold1: 2
vm.swap_idle_threshold2: 10
vm.v_free_severe: 1058
vm.stats.sys.v_swtch: 93065
vm.stats.sys.v_trap: 88345
vm.stats.sys.v_syscall: 247443
vm.stats.sys.v_intr: 393505
vm.stats.sys.v_soft: 14203
vm.stats.vm.v_vm_faults: 97009
vm.stats.vm.v_cow_faults: 8411
vm.stats.vm.v_cow_optim: 0
vm.stats.vm.v_zfod: 72662
vm.stats.vm.v_ozfod: 72556
vm.stats.vm.v_swapin: 0
vm.stats.vm.v_swapout: 0
vm.stats.vm.v_swappgsin: 0
vm.stats.vm.v_swappgsout: 0
vm.stats.vm.v_vnodein: 263
vm.stats.vm.v_vnodeout: 

Re: download

2004-03-30 Thread Bill Moran
[This question should really go to the [EMAIL PROTECTED] mailing list,
as it doesn't really relate to documenation.  Please direct followups to
that list]
Nora Angélica Saravia Bianchini wrote:
Hi, I'd like to know where from can I download BSD to try it. Thanks a lot.
Chapter 2 of The FreeBSD Handbook describes installing FreeBSD.  Specifically,
section 2.13 covers getting files to create your own installation media:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-diff-media.html
--
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]


((need help on the server))))

2004-03-30 Thread stan ask
I am having problems using Apache web server. I installed from the port and it wants 
to start at bootup. I go to Root and type in my IP address.NOTHING HAPPENS !!!
Unfortunately I am using Abyss web server on Port 80 in Root. I tried to edit the 
Apache Httpd-config file putting my IP address in. I tried to rerun it and got into 
the terminal..
 
The terminal stated this message :
[alert] httpd: could not determine the server's fully quailified domain name, using 
127.0.0.1 for the serverName
 
Also, How can I serve on Port 80 when using user account ?
 
I look forward to hearing from you soon. This is driving me crazy. Please take a look 
at my homepage.
http://stans.servequake.com
 
Also I have researched the internet and can't find a thing to help me.
 
PS- I have a router and I have also tried 4.9 and 5.21 on two separate PC's with the 
same problem coming up on both PC's


-
Do you Yahoo!?
Yahoo! Finance Tax Center - File online. File on time.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ((need help on the server))))

2004-03-30 Thread Andrew L. Gould
On Monday 29 March 2004 03:30 pm, stan ask wrote:
 I am having problems using Apache web server. I installed from the port and
 it wants to start at bootup. I go to Root and type in my IP
 address.NOTHING HAPPENS !!! Unfortunately I am using Abyss web server
 on Port 80 in Root. I tried to edit the Apache Httpd-config file putting my
 IP address in. I tried to rerun it and got into the terminal..

 The terminal stated this message :
 [alert] httpd: could not determine the server's fully quailified domain
 name, using 127.0.0.1 for the serverName

 Also, How can I serve on Port 80 when using user account ?

 I look forward to hearing from you soon. This is driving me crazy. Please
 take a look at my homepage. http://stans.servequake.com

 Also I have researched the internet and can't find a thing to help me.

 PS- I have a router and I have also tried 4.9 and 5.21 on two separate PC's
 with the same problem coming up on both PC's

Have you added the computer's IP address and name to /etc/hosts?

Best regards,

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


Re: download

2004-03-30 Thread Matthew Seaman
On Mon, Mar 29, 2004 at 11:44:20PM -0300, Nora Angélica Saravia Bianchini wrote:
 Hi, I'd like to know where from can I download BSD to try it. Thanks a lot.

This sort of question is better suited to the freebsd-questions@
mailing list: follow-ups redirected appropriately.

For everything you ever wanted or needed to know about getting hold of
FreeBSD, consult the Handbook:

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

In particular, you'll be interested in the FreeBSD mirror sites
database:

http://mirrorlist.freebsd.org/FBSDsites.php

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


list patches

2004-03-30 Thread Yaraghchi, Stephan
Hi fellows!

I'm wondering if there's an easy way to list all
the patches already applied to a FreeBSD box.

Any suggestions?


Mit freundlichen Gruessen / with kind regards


+++ S t e p h a n   F.   Y a r a g h c h i
+++
+++ Information Technology
+++
+++ Boerse Berlin-Bremen
+++ Fasanenstr. 85
+++ 10623 Berlin
+++
+++ mail  [EMAIL PROTECTED]
+++ web   http://www.boerse-berlin-bremen.de
+++
+++ phone +49 (0) 30 3110910
+++ fax   +49 (0) 30 31109178
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


portupgrade problem w/ dependency?

2004-03-30 Thread Bart Silverstrim
After doing a make install on openssl and then a portupgrade -f  
portupgrade, here's what I ran...

server# pkgdb -F
---  Checking the package registry database
server# portsdb -Uu
Updating the ports index ... Generating INDEX.tmp - please wait.. Done.
done
[Updating the portsdb format:bdb1_btree in /usr/ports ... - 10657  
port entries found  
.1000.2000.3000.4000.5000... 
..6000.7000.8000.9000.1.. .  
done]
server# pkdgdb -F
pkdgdb: Command not found.
server# pkgdb -F
---  Checking the package registry database
server#

This was what was happening after my previous selection of the  
portupgrade as a dependency using tab completion (it wouldn't allow  
openssl with tab completion); no errors seemed to show up afterwards.

How can I tell that the link/dependency is properly fixed with  
portupgrade now, or does the above show it's okay?  I don't know if now  
portupgrade has a circular dependency or not... :-( (below was the  
exchange that started my problem in the first place and prompted me to  
send to the list)

I'd think that the command failed part meant nothing was  
changed?...below was what prompted the question, above is the output  
after installing openssl and going portupgrade -f portupgrade, sorry  
for the out-of-sequence-of-events-posting :-)


server# pkgdb -F
---  Checking the package registry database
Stale dependency: portupgrade-20040325_1 - openssl-0.9.7d  
(security/openssl):
New dependency? (? to help): ?
 [Enter] to skip, [Ctrl]+[D] to delete,  [.][Enter] to abort, [Tab] to  
complete
New dependency? (? to help):  portupgrade-20040325_1
Fixed. (- portupgrade-20040325_1)
Cyclic dependencies: portupgrade-20040325_1 - (portupgrade-20040325_1)
Unlink portupgrade-20040325_1 - portupgrade-20040325_1 ? [yes]
Command failed [exit code 1]: grep -v  
\^portupgrade-20040325_1\\\$\   
/var/db/pkg/portupgrade-20040325_1/+REQUIRED_BY   
/tmp/+REQUIRED_BY82988.0
server#
*

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


Re: I need help badly with freebsd

2004-03-30 Thread Jerry McAllister
 
 Hi ,
 I really need help getting FreeBSD. I cant seem to figure out how to 
 get FreeBSD. I really want and need this but I need to know how to get 
 it. My platform is I386 and please email me witha solution.

Go to the FreeBSD web site.   http://www.freebsd.org/

Click on the Installation Guide item in the list on the right.

You will find lots of information on obtaining and installing FreeBSD.
Whether you choose to buy a CD set from one of the sites that burn
them and package them with a handbook or download the ISO and burn it
yourself and install via FTP primarily depends on two things.  
1- the quality/speed of your internet connection.   If you have a slow
   connection or if it is unreliable, it can be a long tedius task to do 
   it all by download.  But with a good connection, it is easy and quick.
2- If you are able to financially support the FreeBSD project.  Most
   of the companies that package installation CD sets contribute some
   of the money to the FreeBSD project.

jerry

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


tcopy tape to tape WAY too slow

2004-03-30 Thread Jesse Guardiani
Howdy list,

I'm copying 35G/90G AIT-1 tapes on FreeBSD
from tape drive to tape drive (nrsa0 and nrsa1)
using the tcopy -c command and it's taking WAY
too long. Over 12 hours including the
verification process. (not sure exactly how long
as it finished when I was sleeping)

Is there something I can do to speed this up?

-- 
Jesse Guardiani, Systems Administrator
WingNET Internet Services,
P.O. Box 2605 // Cleveland, TN 37320-2605
423-559-LINK (v)  423-559-5145 (f)
http://www.wingnet.net


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


Re: troubles with jdk-1.4.2p6_4

2004-03-30 Thread Lowell Gilbert
Nikita S. Sychevsky [EMAIL PROTECTED] writes:

 I can't build jdk-1.4.2p6_4 from the ports collection on jdk-1.4.2p6_4
 system. Can anybody help please?

Looks like a known problem; it's failing on the test cluster as well.  
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: SpamAssassin

2004-03-30 Thread Kevin Kinsey
On Mon, Mar 29, 2004 at 12:31:25PM -0500, Bart Silverstrim wrote:
 Question...Is anyone else running amavisd-new with spamassassin from 
 ports?


Just started about a week ago, with dual-Sendmail setup + SA and 
ClamAV.
 
 If so, where/how should I be updating or altering the spamassassin 
 rules?
 
 I'd like to try updating some of the rules from the spamassassin site, 
 but didn't know where the ports version was putting the rulesets...
 a) what directory should I put them into?
 b) is there a config file I'd have to alter to get spamassassin to use 
 them?
 c) can I just plonk new SA files into that directory and they would be 
 used automatically?
 d) should I just wait until the ports version of SA is updated to get 
 new rules, or does ports have the newer rules integrated into it?
 e) do I need to alter anything in amavisd-new to get the new rules to 
 work?
 
 Thanks!
 -Bart
 

Most everything of the rules/config nature is plonked into
/usr/local/etc/spamassassin/.  I'm not so sure about adding
to those files, but if you're brave, you might go ahead.

The comments in the files might be helpful.

And, there's this, from /usr/local/share/spamassassin/user_prefs.template:

# SpamAssassin user preferences file.  See 'perldoc Mail::SpamAssassin::Conf'  
 
# for details of what can be tweaked.

HTH,

Kevin Kinsey

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


Re: list patches

2004-03-30 Thread Matthew Seaman
On Tue, Mar 30, 2004 at 04:20:57PM +0200, Yaraghchi, Stephan wrote:

 I'm wondering if there's an easy way to list all
 the patches already applied to a FreeBSD box.

Err -- no.  FreeBSD doesn't really work that way.  You sound as if
you're used to, say, Solaris where there is a system of
vendor-produced binary patches and the scripting interface to manage
them.  While there is http://www.daemonology.net/ there is no official
FreeBSD project binary patch system at the moment.

FreeBSD does things differently.  The primary means of getting updates
to the system is to pull down updates to the source code and
recompile.  There are several ways of doing that, all described in the
Handbook:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/mirrors.html
(especially the section on CVSup which is what most people would use.)

In general then the way you'ld characterise the state of the system is
to note the time at which you last synchronised your sources against
the FreeBSD CVS repository, and which CVS tag you used.  There are
certain cases which can be described in a more-or-less shortcut
manner: those are (a) using one of the releases installed straight
from CD, which is refered to as eg. 5.2.1-RELEASE or (b) tracking one
of the -RELEASE CVS branches, eg.  RELENG_5_2 -- in this case every
time a patch is applied the system version as returned by 'uname -r'
will indicate a patch level eg. 5.2.1-RELEASE-p4.  However, you can
manually apply the same patches (as directed in the accompanying
security advisory) and recompile just the affected part of the system.
This gets your system to exactly the same state as tracking the
release branch, except that the various version numbers don't get
updated.

That doesn't count any other sort of ad-hoc patches or local
customizations which may have been applied.  Neither does it deal with
3rd party software (but see pkg_info(1) for how to deal with that).

In short, the most effective way to learn everything you need to know
about the state of a FreeBSD box is to ask the person doing the system
administration.

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

2004-03-30 Thread Peter Risdon
Alex Zivenko wrote:

Hi all!
What do you think about this chipset, and motherboards on it???
I have got it some day ago. And I want to setup it on me FreeBSD server.
Does anybody know something about it?
 

A very late reply, but... you'll need to use FreeBSD 5.2.1 for the most 
complete device support. If you want to use 4.9, add a supported network 
card.

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


Re: tcopy tape to tape WAY too slow

2004-03-30 Thread Dan Nelson
In the last episode (Mar 30), Jesse Guardiani said:
 I'm copying 35G/90G AIT-1 tapes on FreeBSD from tape drive to tape
 drive (nrsa0 and nrsa1) using the tcopy -c command and it's taking
 WAY too long. Over 12 hours including the verification process. (not
 sure exactly how long as it finished when I was sleeping)
 
 Is there something I can do to speed this up?

I don't think tcopy is double-buffered; if you only have one file on
that tape and know the blocksize, dd if=/dev/nrsa0 bs=##k | dd
of=/dev/nrsa0 bs=##k should be much faster.  If you have multiple files
or unknown blocksizes, the cptp command from the MAG package at
http://www.cs.vu.nl/~dick/mag.html will preserve filemark and blocksize
info through pipes, so you could do a cptp | cptp pipe.

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


A night with threads and gdb

2004-03-30 Thread Andrea Venturoli
 A night with threads and gdb

 or

 How I began to wonder whether 5.2.1 works
or thread support is really broken


It all started on Saturday 2004/3/27: the spring sun was shining hot and
I was struggling in the effort to get apache
working decently on a 5.2.1p3/i386 (more on this later).
While portupgrading mod_php4, the system suddenly stopped working
properly: no more make install, no more install,
even ls -l would dump core!!! I wondered what could have caused this
and thought that any changes to installed ports
should not affect the stability of binaries from the base system; I
tried moving /usr/local/lib out of the way and ls
-l would work again. Logic or intuition lead me to blame nss_ldap, so I
disabled it and everything would work fine
again.
To make it clear: with nss_ldap enabled, everything that accessed the
user database would crash: so ls -l,
id and so on (but not, e.g., ls without -l).
I recompiled ls and libc with -ggdb3 and found out that the problem was
in nsdispatch.c, and precisely in the last line
of the following function:
nss_atexit(void)
{
(void)_pthread_rwlock_wrlock(nss_lock);
vector_free((void **)_nsmap, _nsmapsize, sizeof(*_nsmap),
(vector_free_elem)ns_dbt_free);
vector_free((void **)_nsmod, _nsmodsize, sizeof(*_nsmod),
(vector_free_elem)ns_mod_free);
(void)_pthread_rwlock_unlock(nss_lock);
}
Once again Google turned out to be man's best friend, by providing me
the following link:
http://groups.google.it/groups?q=vector_free+nss_atexithl=itlr=ie=UTF-8oe=UTF-8selm=1080344625.82158.35.camel_server.mcneil.com%40ns.sol.netrnum=1

Apart from the psychological help derived from knowing I'm not alone,
this suggested to patch that file to look like:
nss_atexit(void)
{
if (__isthreaded) (void)_pthread_rwlock_wrlock(nss_lock);
vector_free((void **)_nsmap, _nsmapsize, sizeof(*_nsmap),
(vector_free_elem)ns_dbt_free);
vector_free((void **)_nsmod, _nsmodsize, sizeof(*_nsmod),
(vector_free_elem)ns_mod_free);
if (__isthreaded) (void)_pthread_rwlock_unlock(nss_lock);
}
I did, and did similarly for other pthread calls in that file, declaring
__isthreaded as:
extern int __isthreaded;



That was one step ahead: now ls -l /bin would crash no more, but ls
-l /home would still be problematic. Obviously
the difference between the two is that in /bin everything is owned by
system accounts, while listing /home would imply
searching for users in the ldap database.
I guessed the problem was that upgrading php had upgraded openldap too,
so I looked at freshport and found out that
the main difference was in the makefile, where -with-threads had been
replaced with -with-threads=posix.
I decided to try the three alternatives:
a) -without-threads would not do, as it would cause slapd to crash when
ldapsearching with a filter (i.e. ldapsearch -b
'dc=mydomain' works fine, but ldapsearch -b 'dc=mydomain'
(objectClass=posixAccount) not);
b) -with-threads=posix would exhibit the above mentioned problem with ls;
c) -with-threads would work best.
Now I could even ls -l /home and see the correct usernames. However, I
could not login or su anymore. (This forced me
to go and ask for the keys to the server room and wait until Sunday).
I ended up finding out (again by 'gdb su') that now using nss_ldap
hampers the ability of a process to read from stdin.
I can even provide this demonstrative program:
#include stdio.h
int main(int argc,char**argv)
{
  char ch;
  getpwent();
  while (1)
{
  ch=getchar();
  putchar(ch);
}
}
If I want it to work, I'll either need to comment the call to getpwent()
or ldap in /etc/nsswitch.conf.
ktracing su showed resource temporarily unavailable when it tried to
read from descriptor 0.
Also, telnetting to localhost:pop3 had qpopper say I/O error.


Afternoon was over, darkness was coming and the machine had to be up
again before morning, so I decided to leave
nss_ldap and migrate the user accounts to the system password files.
This will not do in the long run, since it
prevents web management, but has allow several mail domains to be up
again before any message was lost!
However, I was forced to increase the username length limit (MAXLOGNAME
to 65 in /usr/src/sys/sys/param and
UT_NAMESIZE=64 in utmp.h). This is a deviation from a standard system
which I'd like to avoid, but it is needed until
the day I can get nss_ldap back up.
(Long base system recompile).



Now I had pop3 back up, time to think about smtp.

I tried recompiling /usr/ports/mail/sendmail-ldap but it hangs on
t-event test, after the message:
./t-event
This test may hang. If there is no output within twelve seconds, abort it
and recompile with -DSM_CONF_SETITIMER=0
I tried make -DSM_CONF_SETITIMER=0, but it makes no difference.
This test calls sleep(1) and program flow never gets out of it; if I use
gdb and interrupt it, I see it's in poll(); if
I single 

Custom kernel for PXE / cdrom installation

2004-03-30 Thread Don
Related to a problem I had earlier:

I am trying to set up a network installation of FreeBSD. I have a couple
of other problems with this process but one of the most stubborn is
getting a custom kernel to boot.

If I take kernel.gz and mfsroot.gz from the boot floppies and put those in
the NFS share for the PXE boot then the isntallation proceeds correctly
through the normal boot floppy sequence.

I want to avoid being prompted for a driver disk and things like that so I
want to be able to boot my own kernel. I have taken a kernel from an
identical system, copied it to the NFS share, and then copied my modules
to the mfsroot image. Even though I do not use the modules I figured I
would stick them in the mfsroot just to be sure.

When I attempt to boot the new kernel I get errors about being unable to
load each module, and the kernel ends up hanging.

I have tried using my own kernel with the stock modules directory and I
have made sure to compile in everything I can think of in the kernel.

Can anyone shed some light on the kernel options required for a PXE boot
image or why I am getting module loading errors?

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


How to auto-login on boot up

2004-03-30 Thread Pranav A. Desai
Hi all!

   Is there a way to auto login on the console when the system boots up.
So that I can run a script that will provide with a menu to the user
instead of the login prompt. And also if the script is killed or it dies
it should respawn.
Something similar to what /etc/inittab can do in linux.
I would appreciate any suggestions or solutions.

Thanks

***
Pranav A. Desai



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


Filter web site requests in apache

2004-03-30 Thread JJB
My Apache server is being flooded with single home page requests
that
contain spoofed sender names.
Does Apache have way to hard code sender names to ignore?

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


Re: portupgrade problem w/ dependency?

2004-03-30 Thread Odhiambo Washington
* Bart Silverstrim [EMAIL PROTECTED] [20040330 17:23]: wrote:
 
 After doing a make install on openssl and then a portupgrade -f  
 portupgrade, here's what I ran...
 
 server# pkgdb -F
 ---  Checking the package registry database
 server# portsdb -Uu
 Updating the ports index ... Generating INDEX.tmp - please wait.. Done.
 done
 [Updating the portsdb format:bdb1_btree in /usr/ports ... - 10657  
 port entries found  
 .1000.2000.3000.4000.5000... 
 ..6000.7000.8000.9000.1.. .  
 done]

for file in /var/db/pkg/portupgrade\-*; do pkg_delete -f $file; done
reinstall portupgrade by going into /usr/port/blah/blah  make install clean


-Wash

http://www.netmeister.org/news/learn2quote.html

--
+==+
|\  _,,,---,,_ | Odhiambo Washington[EMAIL PROTECTED]
Zzz /,`.-'`'-.  ;-;;,_ | Wananchi Online Ltd.   www.wananchi.com
   |,4-  ) )-,_. ,\ (  `'-'| Tel: +254 20 313985-9  +254 20 313922
  '---''(_/--'  `-'\_) | GSM: +254 722 743223   +254 733 744121
+==+
What color is a chameleon on a mirror?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: good network troubleshooting tool

2004-03-30 Thread Joe Marcus Clarke
On Tue, 2004-03-30 at 06:34, Roger 'Rocky' Vetterberg wrote:
 Hi list,
 
 Im looking for suggestions on a good tool to track down packetlosses.
 MTR (/usr/ports/net/mtr) is exactly what I want with one exception: 
 MTR uses ICMP, I would like something TCP based.
 I have tried a lot of the utilities in ports but has so far not 
 found anything that suits my needs. Does anyone have any suggestions 
 on utilities or pointers where to look?

Take a look at net/pchar.

Joe

 
 TIA
 
 --
 R
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
-- 
PGP Key : http://www.marcuscom.com/pgp.asc




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


Re: Sendmail refusing connection

2004-03-30 Thread Shantanoo
+++ Payne [freebsd] [29-03-04 16:10 -0500]:
| Hi,
| 
| I have installed FreeBSD 5.2 and I am trying to get to access mail from  
| the outside world. But when I do a telnet to port 25 I get this error,
| 
| telnet mail.eatme.com
| trying xxx.xxx.xxx.xxx

telnet mail.eatme.com 25

| 
| telnet: connect to address xxx.xxx.xxx.xxx: Connection refused
| 
| where do I need to go to tell my server it ok to access mail.
| 
| Payne
| 
| 
| Please note that eatme.com and xxx.xxx.xxx.xxx are flake to protect the 
| real server.
| 
| 
| --
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: howto mount logical fat32 partition? (Invalid argument error...)

2004-03-30 Thread Shantanoo
+++ Tamas ZADORI [freebsd] [30-03-04 00:24 +0200]:
| Hi!
| 
| After browsing and googleing a lot I have no other idea how to mount my
| logical partition. I'm using RELEASE-5.2.1 with a freshly compiled
| kernel (yes, with msdosfs included).
| 
| The output of fdisk is here:
| 
| #fdisk ad0
| *** Working on device /dev/ad0 ***
| parameters extracted from in-core disklabel are:
| cylinders=116301 heads=16 sectors/track=63 (1008 blks/cyl)
| 
| Figures below won't work with BIOS for partitions not in cyl 1
| parameters to be used for BIOS calculations are:
| cylinders=116301 heads=16 sectors/track=63 (1008 blks/cyl)
| 
| Media sector size is 512
| Warning: BIOS sector numbering starts with sector 1
| Information from DOS bootblock is:
| The data for partition 1 is:
| sysid 7 (0x07),(OS/2 HPFS, NTFS, QNX-2 (16 bit) or Advanced UNIX)
| start 63, size 16386237 (8001 Meg), flag 80 (active)
|   beg: cyl 0/ head 1/ sector 1;
|   end: cyl 1019/ head 254/ sector 63
| The data for partition 2 is:
| sysid 15 (0x0f),(Extended DOS (LBA))
| start 16386300, size 100840005 (49238 Meg), flag 0
|   beg: cyl 1020/ head 0/ sector 1;
|   end: cyl 1023/ head 254/ sector 63
| 
| # file -s /dev/ad0s5
| /dev/ad0s5: x86 boot sector, extended partition table
| 
| After I try to mount it brings up the following error:
| 
| [EMAIL PROTECTED]:~# mount -t msdos /dev/ad0s5 /mnt
| msdosfs: /dev/ad0s5: Invalid argument
| [EMAIL PROTECTED]:~# mount -t msdosfs /dev/ad0s5 /mnt
| msdosfs: /dev/ad0s5: Invalid argument
| [EMAIL PROTECTED]:~# mount_msdosfs /dev/ad0s5 /mnt
| mount_msdosfs: /dev/ad0s5: Invalid argument
| 
| Is there a workaround for this? As I mentioned I found nothing on the
| web that could help me.
| 
| Thanks,
| Thomas
| 
| ps: I'm not on the list, please cc it to me as well.

try 'scandisk' through windows and then try re-mounting.
This type of prob. is faced when you have Win2k and FBSD dual booted.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: sf.net: host not found

2004-03-30 Thread Shantanoo
+++ Zhang Weiwu [freebsd] [30-03-04 16:29 +0800]:
| 
| Hello. It has been three days since I cannot access sourceforge.net, using 
| many different Chinese dns server:
| 
| [EMAIL PROTECTED]:~host sf.net
| Host not found, try again.
| [EMAIL PROTECTED]:~host sourceforge.net
| Host not found, try again.
| 
| It behave like the last year's Google being blocked in China. But I don't 
| know sourceforge has anything to do with political stuff. 
| 
| Can anyone tell me sourceforge's ip address? Or better tell me a 
| world-accessible dns server, that I can help myself with such things.
| 
| If it is truly blocked, then it is no use to have IP address. But I'll have 
| a try.
| 
| Thank you.

As you are using FreeBSD, why not have your own caching name server?
Method:

1. set your hostname
hostname=test.tld
in your /etc/rc.conf
2. cd /etc/namedb
3. sh make-localhost
4. start named.
add following line in /etc/rc.conf
named_enable=YES

to test

dig -x 127.0.0.1


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


Kernel: Panic problem with TCPDUMP

2004-03-30 Thread Guthemberg Silvestre
Hi everyone,
I'm using the FreeBSD 5.2(FreeBSD 5.2-RELEASE #0: Sun Jan 11 04:21:45 GMT 
2004),default installation, to collect packets with TCPDUMP. The computer 
has:
- CPU: AMD Athlon(tm) XP 2400+ (2004.56-MHz 686-class CPU)
- real memory  = 536805376 (511 MB)
- rl0: RealTek 8139 10/100BaseTX port 0xd400-0xd4ff mem 
0xdfffbf00-0xdfffbfff irq 18 at device 8.0 on pci0, etc.
The problem is when I start the program TCPDUMP to collect the packets from 
a 32Mb/s link (at the rl0 interface). After some time, the following log 
error messages appear:
Mar 30 11:29:22 p2p kernel: panic: vm_fault: fault on nofault entry, addr: 
e0aae000
Mar 30 11:29:22 p2p kernel: cpuid = 0;
Mar 30 11:29:22 p2p kernel:
Mar 30 11:29:22 p2p kernel: syncing disks, buffers remaining... 3842 3842 
3842 3842 3842 3842 3842 3842 3842 3842 3842 3842 3842 3842 3842 38
42 3842 3842 3842 3842
Mar 30 11:29:22 p2p kernel: giving up on 26 buffers
Mar 30 11:29:22 p2p kernel: Uptime: 58m52s
Mar 30 11:29:22 p2p kernel: kernel trap 12 with interrupts disabled
Mar 30 11:29:22 p2p kernel:
Mar 30 11:29:22 p2p kernel:
Mar 30 11:29:22 p2p kernel: Fatal trap 12: page fault while in kernel mode
Mar 30 11:29:22 p2p kernel: cpuid = 0; apic id = 00
Mar 30 11:29:22 p2p kernel: fault virtual address   = 0x24
Mar 30 11:29:22 p2p kernel: fault code  = supervisor read, page not 
present
Mar 30 11:29:22 p2p kernel: instruction pointer = 0x8:0xc0654dae
Mar 30 11:29:22 p2p kernel: stack pointer   = 0x10:0xd77e4c0c
Mar 30 11:29:22 p2p kernel: frame pointer   = 0x10:0xd77e4c30
Mar 30 11:29:22 p2p kernel: code segment= base 0x0, limit 
0xf, type 0x1b
Mar 30 11:29:22 p2p kernel: = DPL 0, pres 1, def32 1, gran 1
Mar 30 11:29:22 p2p kernel: processor eflags= resume, IOPL = 0
Mar 30 11:29:22 p2p kernel: current process = 36 (swi8: tty:sio 
clock)
Mar 30 11:29:22 p2p kernel: trap number = 12
Mar 30 11:29:22 p2p kernel: panic: page fault
Mar 30 11:29:22 p2p kernel: cpuid = 0;
Mar 30 11:29:22 p2p kernel: Uptime: 58m52s
Mar 30 11:29:22 p2p kernel: Shutting down ACPI
Mar 30 11:29:22 p2p kernel: Automatic reboot in 15 seconds - press a key on 
the console to abort
Mar 30 11:29:22 p2p kernel: Rebooting...
Mar 30 11:29:22 p2p kernel: Copyright (c) 1992-2004 The FreeBSD Project.
What can I do to correct this problem?
Thanks in advance.
Guthemberg Silvestre

_
MSN Messenger: instale grátis e converse com seus amigos. 
http://messenger.msn.com.br

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


Re: I need help badly with freebsd

2004-03-30 Thread Streiner, Justin
On Mon, 29 Mar 2004, Steven Soria wrote:

 I really need help getting FreeBSD. I cant seem to figure out how to
 get FreeBSD. I really want and need this but I need to know how to get
 it. My platform is I386 and please email me witha solution.

There are several ways to get it, depending on what hardware you have.

If you have a machine equipped with a CD burner, you can download the ISO
images for the current FreeBSD i386 distribution, burn them onto CDs
(total of 4 for the most recent 5.2 release), and install from that. Make
sure your CD writer software recognizes that the files you downloaded are
ISO images and not regular data files.

If you don't have a CD burner, your best bet may be to either order the
CDs from freebsdmall.com, or make an appropriate boot/install set on
floppies, then complete the actual installation by downloading the
packages you need from the net.

Instructions for getting and installing FreeBSD are on the website at
www.freebsd.org.

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


Re: How to auto-login on boot up

2004-03-30 Thread Matthew Seaman
On Tue, Mar 30, 2004 at 09:47:45AM -0600, Pranav A. Desai wrote:

Is there a way to auto login on the console when the system boots up.
 So that I can run a script that will provide with a menu to the user
 instead of the login prompt. And also if the script is killed or it dies
 it should respawn.
 Something similar to what /etc/inittab can do in linux.
 I would appreciate any suggestions or solutions.

See ttys(5), getty(8), gettytab(5).  Basically you setup a terminal
type via /etc/gettytab -- copy the 'Pc' entry and append the
'al=username' property -- which causes that terminal to autologin as
the named user. Then you use /etc/ttys to tell the system to run a
getty(8) with that terminal type on a particular tty (the console, or
a vty) -- init(8) scans the /etc/ttys file and will detect when the
associated getty program exits and respawn it.

Set the login shell of the username you select to the program you want
to run on the console, and take steps so that you can't get into that
account by other means, like ftp(1) or ssh(1).

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: Re: Security related questions

2004-03-30 Thread jim
 could anyone explain some examples of setting up a restricted group for
 limiting users?  using chmod and chown.. i\'ve had a little luck, but not
 overall.

Is this what you\'re asking for?

   #echo \jamesgroup:*:5000:james,me\  /etc/group
   #touch /home/me/james-file
   #chgrp jamesgroup /home/me/james-file
   #chmod 770 /home/me/james-file

Note that \5000\ was an arbitrary choice.  At the
very least, it should be a gid that isn\'t already
present ;-)

If you\'ve never played with /etc/group before, be
sure you have a backup copy before you start ...


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


about Ultra-sparc and alpha: what makes the difference?

2004-03-30 Thread Zhang Weiwu
Hello. The question sounds really silly, but google with compare sparc 
i386 alpha / benchmark sparc i386 alpha doesn't give meaningful 
result in several pages. Please suggest me a better keyword compilation:)

I don't know about anything other than i386, but the sparc servers and 
alpha servers are much more expensive than i386 servers on the same 
clock rate. People keep telling me they are expensive because they are 
more advanced, but I prefer to read some comperhasive data, benchmarks 
and such like.

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


Re: good network troubleshooting tool

2004-03-30 Thread Streiner, Justin
On Tue, 30 Mar 2004, Roger 'Rocky' Vetterberg wrote:

 Im looking for suggestions on a good tool to track down packetlosses.
 MTR (/usr/ports/net/mtr) is exactly what I want with one exception:
 MTR uses ICMP, I would like something TCP based.
 I have tried a lot of the utilities in ports but has so far not
 found anything that suits my needs. Does anyone have any suggestions
 on utilities or pointers where to look?

You can try something like lft (layer four traceroute).  This may do what
you're looking for.

http://www.mainnerve.com/lft/

Hope this helps.

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


Problems building JDK 1.4

2004-03-30 Thread Chris Meyers
I am trying to build java/jdk14 with portupgrade, and I have run into a
problem. After downloading all the necessary patches and the j2sdk
binaries and src files from Sun, I ran the following:

portupgrade --new java/jdk14

Things went along fine for about 2 hours, and then wham I get the
following error:

Java HotSpot(TM) Client VM warning: Can't detect initial thread stack
location
/usr/ports/java/jdk14/work/control/build/bsd-i586/gensrc/java/util/CurrencyData.java:1:
 'class' or 'interface' expected
Java HotSpot(TM) Client VM warning: Can't detect initial thread stack
location
^
/usr/ports/java/jdk14/work/control/build/bsd-i586/gensrc/java/util/CurrencyData.java:1:
 unclosed character literal
Java HotSpot(TM) Client VM warning: Can't detect initial thread stack
location
   ^
2 errors
gmake[4]: *** [.compile.classlist] Error 1
gmake[4]: Leaving directory
`/usr/ports/java/jdk14/work/j2se/make/java/java'
gmake[3]: *** [optimized] Error 2
gmake[3]: Leaving directory
`/usr/ports/java/jdk14/work/j2se/make/java/java'
gmake[2]: *** [all] Error 1
gmake[2]: Leaving directory `/usr/ports/java/jdk14/work/j2se/make/java'
gmake[1]: *** [all] Error 1
gmake[1]: Leaving directory `/usr/ports/java/jdk14/work/j2se/make'
gmake: *** [j2se-build] Error 2
*** Error code 2

Stop in /usr/ports/java/jdk14.
** Command failed [exit code 1]: /usr/bin/script -qa
/tmp/portupgrade8248.0 make
** Fix the problem and try again.
** The following packages were not installed or upgraded (*:skipped /
!:failed)
! java/jdk14(unknown build error)

I did some searching and noticed that someone else posted the exact same
problem a couple weeks ago, but unfortunately no one replied to his
problem.

Has anyone solved this, or know what I should do to fix the problem?
Here's some more info that may be helpful:

port: jdk-1.4.2p6_4
uname -mp: 5.1-RELEASE-p2 i386

Thanks for any help,
Chris

p.s. sorry for the long lines in the error


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


Re: port questions (why do I find myself fudging symlinks to make stuff work?)

2004-03-30 Thread paul beard
On Mar 30, 2004, at 12:23 AM, Matthew Seaman wrote:

A more interesting question would be what output do you get
from:
% pkg_info -g jpeg-\* tiff-\*
[/usr/local/lib]# ls -l libjpeg* libtiff*
-rw-r--r--  1 root  wheel  159384 Mar 30 08:04 libjpeg.a
-r--r--r--  1 root  wheel  354610 Mar 29 21:11 libtiff.a
[/usr/local/lib]# pkg_info -g jpeg-\* tiff-\*
Information for jpeg-6b_2:
Mismatched Checksums:
pkg_info: /usr/local/lib/libjpeg.so doesn't exist
pkg_info: /usr/local/lib/libjpeg.so.9 doesn't exist

Information for tiff-3.6.1_1:

Mismatched Checksums:
pkg_info: /usr/local/lib/libtiff.so doesn't exist
pkg_info: /usr/local/lib/libtiff.so.4 doesn't exist

Hmm, portinstall -f on those two ports seems to get caught in some 
recursive loop. I'm going thru my entire installed base and redoing it 
all. Perhaps there's a more clueful way to do it, but unless this will 
do any harm, it seems the most thorough.

I need to explore the docs and get a better understanding of the ports 
tools: I seem to find this happening again and again.

Thanks for the quick and detailed reply.

--
Paul Beard
www.paulbeard.org/
paulbeard [at] mac.com


re: security related questions

2004-03-30 Thread kdk
Oops ... please don\'t include \jim\ in the
reply.  He won\'t have the foggiest...

Testing a webmail interface; my maildir, but
apparently it was using *his* username/address
information.

Time to track a bug...

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


Ordering of dummynet and natd.

2004-03-30 Thread Lewis Thompson
Hi,

Can anybody help me out with ipfw rules to do dummynet shaping before
packets hit natd for translation.

  192.168.0.4 should be able to upload at just 100KB/s.  The default
gateway and natd is done on 192.168.0.1 where I have the following
rules:

pipe 1 ip from 192.168.0.4 to any via xl1
divert 8668 ip from any to any via xl1
allow ip from any to any

pipe 1 just limits the bandwidth to 10KB/s.  pipe 1 is before divert
because if I put it after then natd has already translated the address
so I cannot shape the bandwidth as I want.

  Am I wrong in thinking I can use pipes like this?

-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: tcopy tape to tape WAY too slow

2004-03-30 Thread Jesse Guardiani
On Tuesday 30 March 2004 10:39, you wrote:
 In the last episode (Mar 30), Jesse Guardiani said:
  I'm copying 35G/90G AIT-1 tapes on FreeBSD from tape drive to tape
  drive (nrsa0 and nrsa1) using the tcopy -c command and it's taking
  WAY too long. Over 12 hours including the verification process. (not
  sure exactly how long as it finished when I was sleeping)
 
  Is there something I can do to speed this up?

 I don't think tcopy is double-buffered; if you only have one file on
 that tape and know the blocksize, dd if=/dev/nrsa0 bs=##k | dd
 of=/dev/nrsa0 bs=##k should be much faster.

No, I've got between 70 and 90 files per tape.


  If you have multiple files
 or unknown blocksizes, the cptp command from the MAG package at
 http://www.cs.vu.nl/~dick/mag.html will preserve filemark and blocksize
 info through pipes, so you could do a cptp | cptp pipe.

That looks promising. Do you have special build instructions for this
package under FreeBSD 4.x?

I'm getting the following error on 'gmake' or 'make':

-
gcc -ansi -DUNIX -O -s -c tperr.c
tperr.c:18: initializer element is not constant
*** Error code 1

Stop in /usr/local/src/mag.
Exit 1
-

-- 
Jesse Guardiani, Systems Administrator
WingNET Internet Services,
P.O. Box 2605 // Cleveland, TN 37320-2605
423-559-LINK (v)  423-559-5145 (f)
http://www.wingnet.net


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


Possibly OpenLDAP problems (was Re: Why all my application giving me core dumped error?)

2004-03-30 Thread Kirk Strauser
At 2004-03-30T09:45:11Z, Suhaimi Jamalludin [EMAIL PROTECTED] writes:

 I got some question regarding FreeBSD.  Today I just install FreeBSD
 5.2-RELEASE from CD. Then I cvsup port-all tag=. to the current one and
 complete the portupgrade -arR for update.  I want to setup
 LDAP+SAMBA3. Then I install all the required ports. Then After I install
 samba-devel. my system going crazy it give me all these core dumped error.

A few people have been reporting problems with programs that link against
OpenLDAP after a recent upgrade.  I had a cascade of failures until I
temporarily removed the ldap entries from /etc/nsswitch.conf.  If your
portupgrade -arR upgraded OpenLDAP, then you may be bitten by the same bug.

For an example, see:

http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/64932

I'm currently gathering information to submit more detailed debugging
information.
-- 
Kirk Strauser

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

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


FreeBSD 5.2.1 nstall problem: filesystem error.

2004-03-30 Thread Chris
I was trying to install FreeBSD 5.2.1 on my PC, but I got a strange error about
the filesystem being full. I just created the filesystems, with / having 256MB.
It was able to copy a few files from the mfsroot disk to /, then when it tried
to extract the packages, cpio complained about / being full. I've verified that the 
disk geometry was correct and the partitions were set up right. System is
an eMachines T2778. I was atempting FTP installation. Anyone know what might be
wrong?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


openssl-0.9.7d vs STABLE

2004-03-30 Thread Stacey Roberts
Hello,
Is openssl-0.9.7d in STABLE yet?

If so, which cvs servers actually have it? My reasons for asking this is simply that 
I've cvsup'd one of my machines here last night and found that I'm still running the 
same version of openssl in my base system:

$ uname -v
FreeBSD 4.9-STABLE #0: Mon Mar 29 22:52:04 BST 2004 
snipped@snipped:/usr/obj/usr/src/sys/snipped
$

Regards,

Stacey
-- 
Stacey Roberts

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


Re: troubles with jdk-1.4.2p6_4

2004-03-30 Thread Lewis Thompson
On Tue, Mar 30, 2004 at 09:35:58AM -0500, Lowell Gilbert wrote:
 Nikita S. Sychevsky [EMAIL PROTECTED] writes:
 
  I can't build jdk-1.4.2p6_4 from the ports collection on jdk-1.4.2p6_4
  system. Can anybody help please?
 
 Looks like a known problem; it's failing on the test cluster as well.  

You can't build java in a directory with the sticky bit.  Try and set
your WRKDIRPREFIX somewhere else.

-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: FreeBSD 5.2.1 nstall problem: filesystem error.

2004-03-30 Thread Jerry McAllister
 
 I was trying to install FreeBSD 5.2.1 on my PC, but I got a strange error 
 about the filesystem being full. 
 I just created the filesystems, with / having 256MB.
 It was able to copy a few files from the mfsroot disk to /, then when it 
 tried
 to extract the packages, cpio complained about / being full. I've verified 
 that the disk geometry was correct and the partitions were set up right. 
 System is
 an eMachines T2778. I was atempting FTP installation. Anyone know what 
 might be wrong?

What other filesystems did you create.   

Certainly if you only made a 256MB / file system and no /usr or /var, 
etc (so it would put everything there in root), it would not be enough 
room to do a complete installation.   If you want to make one big root (/)
for the whole installation, you will need it to be something like 1.5GB
or more, depending on how much other stuff like X and ports you install.

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


System offline when portsdb is running

2004-03-30 Thread meimi
Hello everyone,
  My server suddenly offline when the command `portsdb -Uu`is running. I
have checked /var/log/messages. But, I couldn't find why. Could anyone what
steps I should do to find the error?

  *I have no phyical access to the server.

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


Re: openssl-0.9.7d vs STABLE

2004-03-30 Thread albi
On Tue, 30 Mar 2004 19:16:52 +0100
Stacey Roberts [EMAIL PROTECTED] wrote:

 Is openssl-0.9.7d in STABLE yet?

 $ uname -v
 FreeBSD 4.9-STABLE #0: Mon Mar 29 22:52:04 BST 2004

in ports it still seems to be openssl 0.9.7c*, not sure about the
base-system

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


Re: portupgrade problem w/ dependency?

2004-03-30 Thread Kent Stewart
On Tuesday 30 March 2004 06:20 am, Bart Silverstrim wrote:
 After doing a make install on openssl and then a portupgrade -f
 portupgrade, here's what I ran...

 server# pkgdb -F
 ---  Checking the package registry database
 server# portsdb -Uu
 Updating the ports index ... Generating INDEX.tmp - please wait..
 Done. done
 [Updating the portsdb format:bdb1_btree in /usr/ports ... - 10657
 port entries found
 .1000.2000.3000.4000.5000
... ..6000.7000.8000.9000.1..
 . done]
 server# pkdgdb -F
 pkdgdb: Command not found.
 server# pkgdb -F
 ---  Checking the package registry database
 server#

 This was what was happening after my previous selection of the
 portupgrade as a dependency using tab completion (it wouldn't allow
 openssl with tab completion); no errors seemed to show up afterwards.

 How can I tell that the link/dependency is properly fixed with
 portupgrade now, or does the above show it's okay?  I don't know if
 now portupgrade has a circular dependency or not... :-( (below was
 the exchange that started my problem in the first place and prompted
 me to send to the list)

 I'd think that the command failed part meant nothing was
 changed?...below was what prompted the question, above is the output
 after installing openssl and going portupgrade -f portupgrade, sorry
 for the out-of-sequence-of-events-posting :-)

This shows normal output. If nothing is wrong with the links, pkgdb -F 
doesn't do anything. I have seen portupgrade do what you had happen. It 
doesn't always do that but will install the ports that is needs. If you 
have a version of openssl installed and don't 
portupgrade -R portupgrade

It can also leave you with the broken link that you saw originally.  
What is broken right now is the dependancy of portupgrade. 
If you do a  run the following

cd /usr/ports
make search name=portupgrade
 
Openssl will not be listed. If you portupgrade -f porupgrade, you can 
see it clean for openssl. Something is broken but if you know that the 
message is really telling you that openssl needed to be updated, you 
won't have a problem. The latest version may have fixed the problem 
since it cleaned for openssl. I don't know.

For right now, I would just remember how you fixed it by updating 
openssl and know that you should never point a port back to itself. You 
have to skip and drop out of the pkgdb -F before you can fix the broken 
link.

You are doing a number of things you don't need to. For example, I only 
run pkgdb -F when the system tells me to. I have a script that cvsup 
updates only ports-all and immediately after the cvsup, The script runs 
the equivalent of portsdb -uU. That is the only time portsdb -uU needs 
to be run. If you use a script, it will always be run when it needs to 
be run.

In a normal situation, I never run pkgdb or portsdb from the command 
line. I may go for weeks without running pkgdb -F but I have a cron job 
that updates ports-all at 4am and 4pm. I try to keep my system clean so 
that I can answer questions like yours. I follow -ports@ and cvs-all@ 
and in the past would only upgrade my ports when something significant 
came along. The updates may have been weeks apart. I don't fix things 
that aren't broken and there are a lot of ports that seem to be updated 
for no special reason.

I keep my systems current because if I have to spend 4 hours updating 
ruby before I can test your problem, my response is going to be kind of 
slow. Ruby is an AMD 2400+ XP with a lot of HD space and memory. When I 
did the portupgrade -rf expat2, it required 13 hours. That would have 
been a really slow response :). 

Half of any problem is knowing if it is probably on your end and not a 
generic problem affecting everyone. If two or more people have the same 
problem, it is probably something generic on the FreeBSD end and many 
times you can easily track down who broke ports-all. I keep all of the 
cvs-all messages for a week. The change that broke things will be in 
there along with the email address of the person making the change.

Kent


 
 server# pkgdb -F
 ---  Checking the package registry database
 Stale dependency: portupgrade-20040325_1 - openssl-0.9.7d
 (security/openssl):
 New dependency? (? to help): ?
   [Enter] to skip, [Ctrl]+[D] to delete,  [.][Enter] to abort, [Tab]
 to complete
 New dependency? (? to help):  portupgrade-20040325_1
 Fixed. (- portupgrade-20040325_1)
 Cyclic dependencies: portupgrade-20040325_1 -
 (portupgrade-20040325_1) Unlink portupgrade-20040325_1 -
 portupgrade-20040325_1 ? [yes] Command failed [exit code 1]: grep -v
 \^portupgrade-20040325_1\\\$\ 
 /var/db/pkg/portupgrade-20040325_1/+REQUIRED_BY 
 /tmp/+REQUIRED_BY82988.0
 server#
 *

 Thanks,
 -Bart

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html
___
[EMAIL PROTECTED] mailing list

Re: openssl-0.9.7d vs STABLE

2004-03-30 Thread Clint Gilders
albi wrote:
On Tue, 30 Mar 2004 19:16:52 +0100
Stacey Roberts [EMAIL PROTECTED] wrote:

   Is openssl-0.9.7d in STABLE yet?


$ uname -v
FreeBSD 4.9-STABLE #0: Mon Mar 29 22:52:04 BST 2004


in ports it still seems to be openssl 0.9.7c*, not sure about the
base-system
My ports tree has 0.9.7d.   Freshports says it was upgraded on the 17th

http://www.freshports.org/security/openssl/

--
Clint Gilders [EMAIL PROTECTED]
Director of Technology Services
OnlineHobbyist.com, Inc.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


tar ssh: strange gzip error message?

2004-03-30 Thread Zev Thompson
Hi all,

If I want to copy a bunch of files over ssh without extra servers, it's 
easy enough to use the following command:

[EMAIL PROTECTED] ssh [EMAIL PROTECTED] cd /directory/to/copy  tar -cvf 
- * | tar -xf - -C .

This works without complaint. However, when I change the options passed 
to tar, adding gzip compression on one end and decompression on the 
other:

[EMAIL PROTECTED] ssh [EMAIL PROTECTED] cd /directory/to/copy  tar 
-cvzf - * | tar -xzf - -C .

I get this error message:

gzip: stdin: decompression OK, trailing garbage ignored
tar: Child died with signal 13
tar: Error exit delayed from previous errors
Is my method wrong? It appears that the files transferred just fine, 
but I'm still curious as to what's going on. Thanks in advance to any 
replies.

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


unable to install gnome2 from ports

2004-03-30 Thread marella
Aloha

I am having a rough time trying to install Gnome 2 from ports. I have FreeBSD 5.1 
running on a different PC and just installed 5.2-RC1 on a new computer.
This new PC is a P4 2.6G with 1G of ram on an Asus P4800 mobo. I am installing on the 
first 60 GB of a 120 GB SATA drive.

I installed FreeBSD from CD and did not install XFree86 from the CD. I CVSup'd for new 
port trees and downloaded XFree86 4.4 binaries and installed it. I went through some 
gyrations to get support in the kernel for my Radeon 9200se. All went well and XFree86 
configured fine.

I then tried do a make install clean for Gnome2.
I am now stuck with an error that states;
cannot find -lpthread


Thanks for any help anyone can provide.

Robert

p.s.I have attached the outputs of dmesg and pkg_info as dmesg.txt and pkg_inf.txt

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 5.2-RC1 #0: Wed Mar 24 13:30:39 HST 2004
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
Preloaded elf kernel /boot/kernel/kernel at 0xc0a2c000.
Preloaded elf module /boot/kernel/acpi.ko at 0xc0a2c21c.
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: Intel(R) Pentium(R) 4 CPU 2.60GHz (2598.76-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0xf29  Stepping = 9
  
Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE
  Hyperthreading: 2 logical CPUs
real memory  = 1072889856 (1023 MB)
avail memory = 1032749056 (984 MB)
ACPI APIC Table: A M I  OEMAPIC 
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
ioapic0 Version 2.0 irqs 0-23 on motherboard
Pentium Pro MTRR support enabled
npx0: [FAST]
npx0: math processor on motherboard
npx0: INT 16 interface
acpi0: A M I  OEMRSDT  on motherboard
pcibios: BIOS version 2.10
Using $PIR table, 14 entries at 0xc00f5230
acpi0: Power Button (fixed)
Timecounter ACPI-fast frequency 3579545 Hz quality 1000
acpi_timer0: 24-bit timer at 3.579545MHz port 0x808-0x80b on acpi0
acpi_cpu0: CPU on acpi0
acpi_cpu1: CPU on acpi0
pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0
pci0: ACPI PCI bus on pcib0
agp0: Intel 82865 host to AGP bridge mem 0xf000-0xf7ff at device 0.0 on pci0
pcib1: ACPI PCI-PCI bridge at device 1.0 on pci0
pcib1: could not get PCI interrupt routing table for \\_SB_.PCI0.P0P1 - AE_NOT_FOUND
pci1: ACPI PCI bus on pcib1
pci1: display, VGA at device 0.0 (no driver attached)
pci1: display at device 0.1 (no driver attached)
uhci0: Intel 82801EB (ICH5) USB controller USB-A port 0xeec0-0xeedf irq 16 at device 
29.0 on pci0
usb0: Intel 82801EB (ICH5) USB controller USB-A on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1: Intel 82801EB (ICH5) USB controller USB-B port 0xef00-0xef1f irq 19 at device 
29.1 on pci0
usb1: Intel 82801EB (ICH5) USB controller USB-B on uhci1
usb1: USB revision 1.0
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
ums0: MacALLY Macally USB Scrolling Mouse, rev 1.00/2.00, addr 2, iclass 3/1
ums0: 6 buttons and Z dir.
uhci2: Intel 82801EB (ICH5) USB controller USB-C port 0xef20-0xef3f irq 18 at device 
29.2 on pci0
usb2: Intel 82801EB (ICH5) USB controller USB-C on uhci2
usb2: USB revision 1.0
uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
uhci3: Intel 82801EB (ICH5) USB controller USB-D port 0xef40-0xef5f irq 16 at device 
29.3 on pci0
usb3: Intel 82801EB (ICH5) USB controller USB-D on uhci3
usb3: USB revision 1.0
uhub3: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub3: 2 ports with 2 removable, self powered
pci0: serial bus, USB at device 29.7 (no driver attached)
pcib2: ACPI PCI-PCI bridge at device 30.0 on pci0
pci2: ACPI PCI bus on pcib2
skc0: 3Com 3C940 Gigabit Ethernet port 0xd800-0xd8ff mem 0xfeafc000-0xfeaf irq 
22 at device 5.0 on pci2
skc0: 3Com Gigabit LOM (3C940)
sk0: Marvell Semiconductor, Inc. Yukon on skc0
sk0: Ethernet address: 00:0c:6e:91:de:a6
miibus0: MII bus on sk0
e1000phy0: Marvell 88E1000 Gigabit PHY on miibus0
e1000phy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX-FDX, auto
isab0: PCI-ISA bridge at device 31.0 on pci0
isa0: ISA bus on isab0
atapci0: Intel ICH5 UDMA100 controller port 0xfc00-0xfc0f,0-0x3,0-0x7,0-0x3,0-0x7 at 
device 31.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata0: [MPSAFE]
ata1: at 0x170 irq 15 on atapci0
ata1: [MPSAFE]
atapci1: Intel ICH5 SATA150 controller port 
0xef90-0xef9f,0xefa8-0xefab,0xefa0-0xefa7,0xefac-0xefaf,0xefe0-0xefe7 irq 18 at device 
31.2 on pci0
atapci1: [MPSAFE]
ata2: at 0xefe0 on atapci1
ata2: [MPSAFE]
ata3: at 0xefa0 on atapci1
ata3: [MPSAFE]
pci0: serial bus, SMBus at device 31.3 (no driver 

Re: Security Updates and Patching Two Choices?

2004-03-30 Thread Chuck Swiger
Giorgos Keramidas wrote:
On 2004-03-29 15:07, Charles Swiger [EMAIL PROTECTED] wrote:
On Mar 29, 2004, at 2:28 PM, Sean Murphy wrote:
[ ... ]
If a tag just the 4_9 Release in the CVSupfile can i just ignore the
mergemaster? also can I just CVSup the sources and build the ones I
want? (see above)
Generally one can ignore doing the mergemaster simply for a security
patch.
Unless, of course, the security patch fixes problems in /etc files that
mergemaster *must* update.  It's not very difficult to run mergemaster.
I wouldn't recomment avoiding it altogether.   [ ... ]
Oh, I agree with you: I think mergemaster is a useful tool, and I don't think 
it's very difficult to use.

Reasonable people disagree, however.  In particular, people who aren't 
familiar with diff generally find mergemaster to be incomprehensible.  :-)

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


BGP On Host

2004-03-30 Thread Rick Duvall
Has anybody heard of making a webserver redundant using BGP?  That is, if I
set up 2 machines on different ISP's, with exactly the same content on them
(mirrored).  If both hosts are up, the traffic is routed to the closes
server to the person making the request.  Otherwise, if one server is down,
traffic is automatically re-routed to the other box.

Sincerely,

Rick Duvall
Online Highways
System Administrator
Office: (541) 997-8401 x 111
Cell:   (541) 999-2338

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


Re: Kernel: Panic problem with TCPDUMP

2004-03-30 Thread scion+fbsdq
From: Guthemberg Silvestre [EMAIL PROTECTED]
Date: Tue, 30 Mar 2004 13:46:06 -0300

Hi everyone,
I'm using the FreeBSD 5.2(FreeBSD 5.2-RELEASE #0: Sun Jan 11 04:21:45 GMT 
2004),default installation, to collect packets with TCPDUMP. The computer 
has:
- CPU: AMD Athlon(tm) XP 2400+ (2004.56-MHz 686-class CPU)
- real memory  = 536805376 (511 MB)
- rl0: RealTek 8139 10/100BaseTX port 0xd400-0xd4ff mem 
0xdfffbf00-0xdfffbfff irq 18 at device 8.0 on pci0, etc.
The problem is when I start the program TCPDUMP to collect the packets from 
a 32Mb/s link (at the rl0 interface). After some time, the following log 
error messages appear:
Mar 30 11:29:22 p2p kernel: panic: vm_fault: fault on nofault entry, addr: 
e0aae000
Mar 30 11:29:22 p2p kernel: cpuid = 0;
Mar 30 11:29:22 p2p kernel:
Mar 30 11:29:22 p2p kernel: syncing disks, buffers remaining... 3842 3842 
3842 3842 3842 3842 3842 3842 3842 3842 3842 3842 3842 3842 3842 38
42 3842 3842 3842 3842

You don't by any chance have a Shuttle Xpc do you?

Those are very similar dmesg lines to my Xpc.  I have
found that the memory boards are woefully undercooled
in this box.  I experimented with many coverings of the 
vent holes to increase the pressures near the front
where the memory resides.  Eventually I wedged a fan
inside and aimed it along the two dimms.  Runs fine now.

Before that I had the *same* results as you whenever
I ran software that exercised dma to disk, net, whatever.
Which meant that the system often crashed the first 
time I read mail...


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


Re: BGP On Host

2004-03-30 Thread jan . muenther
 (mirrored).  If both hosts are up, the traffic is routed to the closes
 server to the person making the request.  Otherwise, if one server is down,
 traffic is automatically re-routed to the other box.

That is not what BGP is made for. It's an exterior routing protocol for
routes between AS. 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


5.2.1 sysinstall disk geometry problem

2004-03-30 Thread Don
Ok last problem I am having:

When scripting sysinstall, it still halts with an error about my disk
geometry. The problem is, even if I specify the geometry that FreeBSD
wants to use by setting the geometry= variable, I still get the error.

Everything else in sysinstall is being scripted correctly. The only
problems I am having are disk related. Can anyone shed any light on this
subject?

Thanks,
-Don



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


Re: BGP On Host

2004-03-30 Thread Rick Duvall
I wasn't sure if it was BGP or if it was something else.  Definetly between
routers would be using BGP.  But, I heard at an apache conference somebody
was doing something where the machine would send a keepalive to the directly
connected Cisco router, and if the router didn't receive the keepalive
signal, BGP would re-route the traffic to the other host.  Both hosts are on
different ISP, but have the same IP address.  Traffic is routed from the
requester to the closest logical server.  I think UltraDNS does this with
their DNS servers as well.

Anyway, I don't know what the host uses to send the keepalive to the Cisco
router, or even how to configure the BGP to make it work.  I was wondering
if somebody on the list has set up the same configuration on a couple of
fault tolerant FreeBSD boxes.

Sincerely,

Rick Duvall
- Original Message - 
From: [EMAIL PROTECTED]
To: Rick Duvall [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, March 30, 2004 11:26 AM
Subject: Re: BGP On Host


  (mirrored).  If both hosts are up, the traffic is routed to the closes
  server to the person making the request.  Otherwise, if one server is
down,
  traffic is automatically re-routed to the other box.

 That is not what BGP is made for. It's an exterior routing protocol for
 routes between AS.


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


shared memory release...

2004-03-30 Thread Tim Traver
Hi all,

Ok, I am running a 4.7 FreeBSD box that is a web server running apache.

It looks like some module that I have is leaking memory, and eventually, 
apache crashes on restarts becuase of this error :

shmget() failed:  No space left on device

which means it can't get any more memory, which I understand.

When I look at the top list, it shows me something like this :

Mem: 140M Active, 879M Inact, 151M Wired, 181M Cache, 199M Buf, 660M Free

But when you look at the processes that are still up, they hardly take up 
any memory.

So, my question is this.

Is there a way to free up Inactive memory from crashed processes ???

Without just rebooting the box ???

I know that I need to find the source of the leaking and crashing to begin 
with, but in the mean time, if it happens, I'd like to free up the memory 
manually, so I can get the box running again...

Thanks,

Tim.

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


shmem release

2004-03-30 Thread Tim Traver
Hi all,

Ok, I am running a 4.7 FreeBSD box that is a web server running apache.

It looks like some module that I have is leaking memory, and eventually, 
apache crashes on restarts becuase of this error :

shmget() failed:  No space left on device

which means it can't get any more memory, which I understand.

When I look at the top list, it shows me something like this :

Mem: 140M Active, 879M Inact, 151M Wired, 181M Cache, 199M Buf, 660M Free

But when you look at the processes that are still up, they hardly take up 
any memory.

So, my question is this.

Is there a way to free up Inactive memory from crashed processes ???

Without just rebooting the box ???

I know that I need to find the source of the leaking and crashing to begin 
with, but in the mean time, if it happens, I'd like to free up the memory 
manually, so I can get the box running again...

Thanks,

Tim.



SimpleNet's Back !
http://www.simplenet.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


FreeBSD Hard disk repair

2004-03-30 Thread Rick Duvall
I have a FreeBSD hard drive in which the circuit board is dead, but
everything else is fine.  Does anybody know where I can purchase just the
circuit board?  I don't want to buy a whole new drive just to remove the
board from it to use on my old drive.

Sincerely,

Rick Duvall
Online Highways
System Administrator
Office: (541) 997-8401 x 111
Cell:   (541) 999-2338

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


Re: BGP On Host

2004-03-30 Thread Marc G. Fournier

sounds like you are describing a load balancing switch ... two seperate
boxes behind the switch, with a single public IP in front that sends a
heartbeat to the boxes behind it ...

On Tue, 30 Mar 2004, Rick Duvall wrote:

 I wasn't sure if it was BGP or if it was something else.  Definetly between
 routers would be using BGP.  But, I heard at an apache conference somebody
 was doing something where the machine would send a keepalive to the directly
 connected Cisco router, and if the router didn't receive the keepalive
 signal, BGP would re-route the traffic to the other host.  Both hosts are on
 different ISP, but have the same IP address.  Traffic is routed from the
 requester to the closest logical server.  I think UltraDNS does this with
 their DNS servers as well.

 Anyway, I don't know what the host uses to send the keepalive to the Cisco
 router, or even how to configure the BGP to make it work.  I was wondering
 if somebody on the list has set up the same configuration on a couple of
 fault tolerant FreeBSD boxes.

 Sincerely,

 Rick Duvall
 - Original Message -
 From: [EMAIL PROTECTED]
 To: Rick Duvall [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED]
 Sent: Tuesday, March 30, 2004 11:26 AM
 Subject: Re: BGP On Host


   (mirrored).  If both hosts are up, the traffic is routed to the closes
   server to the person making the request.  Otherwise, if one server is
 down,
   traffic is automatically re-routed to the other box.
 
  That is not what BGP is made for. It's an exterior routing protocol for
  routes between AS.
 

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



Marc G. Fournier   Hub.Org Networking Services (http://www.hub.org)
Email: [EMAIL PROTECTED]   Yahoo!: yscrappy  ICQ: 7615664
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Security Updates and Patching Two Choices?

2004-03-30 Thread Joshua Lokken
* Chuck Swiger [EMAIL PROTECTED] [2004-03-30 11:14]:
 Giorgos Keramidas wrote:
 On 2004-03-29 15:07, Charles Swiger [EMAIL PROTECTED] wrote:
 On Mar 29, 2004, at 2:28 PM, Sean Murphy wrote:
 [ ... ]
 If a tag just the 4_9 Release in the CVSupfile can i just ignore the
 mergemaster? also can I just CVSup the sources and build the ones I
 want? (see above)
 
 Generally one can ignore doing the mergemaster simply for a security
 patch.
 
 Unless, of course, the security patch fixes problems in /etc files that
 mergemaster *must* update.  It's not very difficult to run mergemaster.
 I wouldn't recomment avoiding it altogether.   [ ... ]
 
 Oh, I agree with you: I think mergemaster is a useful tool, and I don't 
 think it's very difficult to use.
 
 Reasonable people disagree, however.  In particular, people who aren't 
 familiar with diff generally find mergemaster to be incomprehensible.  :-)
 

From a [relative] newbie; it's only incomprehensible the first time or
two. 

-- 
Joshua

A woman should have compassion.
-- Kirk, Catspaw, stardate 3018.2
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: BGP On Host

2004-03-30 Thread Rick Duvall
Kind of, except both machines are on 2 different ISP, in different states.
At ApacheCon, I described how I have a server in Oregon and a server in
Florida, and I have a monitoring program that does a dynamic DNS update when
one of the hosts goes down.  The individual described that what they are
doing is something to do with BGP, in which they have multiple servers in
different countries, all with the same IP address.  Traffic is routed to the
nearest logical server, until one goes down, then the traffic is routed to
the nearest logical server that is still up.  That is what I am wanting.
Since I didn't get the person's contact information, I am trying to figure
out how to do it myself.

Sincerely,

Rick Duvall
- Original Message - 
From: Marc G. Fournier [EMAIL PROTECTED]
To: Rick Duvall [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Tuesday, March 30, 2004 11:43 AM
Subject: Re: BGP On Host



 sounds like you are describing a load balancing switch ... two seperate
 boxes behind the switch, with a single public IP in front that sends a
 heartbeat to the boxes behind it ...

 On Tue, 30 Mar 2004, Rick Duvall wrote:

  I wasn't sure if it was BGP or if it was something else.  Definetly
between
  routers would be using BGP.  But, I heard at an apache conference
somebody
  was doing something where the machine would send a keepalive to the
directly
  connected Cisco router, and if the router didn't receive the keepalive
  signal, BGP would re-route the traffic to the other host.  Both hosts
are on
  different ISP, but have the same IP address.  Traffic is routed from the
  requester to the closest logical server.  I think UltraDNS does this
with
  their DNS servers as well.
 
  Anyway, I don't know what the host uses to send the keepalive to the
Cisco
  router, or even how to configure the BGP to make it work.  I was
wondering
  if somebody on the list has set up the same configuration on a couple of
  fault tolerant FreeBSD boxes.
 
  Sincerely,
 
  Rick Duvall
  - Original Message -
  From: [EMAIL PROTECTED]
  To: Rick Duvall [EMAIL PROTECTED]
  Cc: [EMAIL PROTECTED]
  Sent: Tuesday, March 30, 2004 11:26 AM
  Subject: Re: BGP On Host
 
 
(mirrored).  If both hosts are up, the traffic is routed to the
closes
server to the person making the request.  Otherwise, if one server
is
  down,
traffic is automatically re-routed to the other box.
  
   That is not what BGP is made for. It's an exterior routing protocol
for
   routes between AS.
  
 
  ___
  [EMAIL PROTECTED] mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to
[EMAIL PROTECTED]
 

 
 Marc G. Fournier   Hub.Org Networking Services
(http://www.hub.org)
 Email: [EMAIL PROTECTED]   Yahoo!: yscrappy  ICQ:
7615664


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


Re: about Ultra-sparc and alpha: what makes the difference?

2004-03-30 Thread scion+fbsdq
Date: Wed, 31 Mar 2004 01:27:51 +0800
From: Zhang Weiwu [EMAIL PROTECTED]

Hello. The question sounds really silly, but google with compare sparc 
i386 alpha / benchmark sparc i386 alpha doesn't give meaningful 
result in several pages. Please suggest me a better keyword compilation:)

How about this instead:

Sparc (UltraSparc) A 32(64) bit processor designed by Sun
Microsystems to advance beyond the Motorola 68040.
Chips made by TI, Fujitsu, and perhaps others.

www.sparcinternational.com

Alpha, A 64 bit processor designed by Digital to advance
beyond the VAX architecture.  Digital, bought by Compaq,
merged into HP.
Chips made by Samsung (only, I think)

www.alpha-processor.com (which may no longer work)

FreeBSD runs on them all, multi-processor.  They are more
expensive primarily due to their lower volumes and the 
desire of their manufacturers to not enter low-margin 
markets.  As a result, there is more money per computer
to manufacture hi-quality enclosures.  But this can be
done with x86 systems, of course.

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


Re: shared memory release...

2004-03-30 Thread Chuck Swiger
Tim Traver wrote:
Ok, I am running a 4.7 FreeBSD box that is a web server running apache.

It looks like some module that I have is leaking memory, and eventually, 
apache crashes on restarts becuase of this error :

shmget() failed:  No space left on device

which means it can't get any more memory, which I understand.
SysV shared memory is a limited resource which has tunables you need to set or 
adjust in your kernel config file.  It's not the same as physical RAM.

When I look at the top list, it shows me something like this :

Mem: 140M Active, 879M Inact, 151M Wired, 181M Cache, 199M Buf, 660M Free
top is measuring something else, here.

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


Re: How to auto-login on boot up

2004-03-30 Thread Pranav A. Desai
Nice! ... works great !

Thanks a lot for your help.

-Pranav


***
Pranav A. Desai


On Tue, 30 Mar 2004, Matthew Seaman wrote:

 On Tue, Mar 30, 2004 at 09:47:45AM -0600, Pranav A. Desai wrote:

 Is there a way to auto login on the console when the system boots up.
  So that I can run a script that will provide with a menu to the user
  instead of the login prompt. And also if the script is killed or it dies
  it should respawn.
  Something similar to what /etc/inittab can do in linux.
  I would appreciate any suggestions or solutions.

 See ttys(5), getty(8), gettytab(5).  Basically you setup a terminal
 type via /etc/gettytab -- copy the 'Pc' entry and append the
 'al=username' property -- which causes that terminal to autologin as
 the named user. Then you use /etc/ttys to tell the system to run a
 getty(8) with that terminal type on a particular tty (the console, or
 a vty) -- init(8) scans the /etc/ttys file and will detect when the
 associated getty program exits and respawn it.

 Set the login shell of the username you select to the program you want
 to run on the console, and take steps so that you can't get into that
 account by other means, like ftp(1) or ssh(1).

   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


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


Re: BGP On Host

2004-03-30 Thread scion+fbsdq
It's a reasonable way to perform certain kinds of replication.
DDNS can often converge faster than BGP, but this *requires* 
that clients observe TTLs.  Many do not.  I don't know about
current browsers, but not too long ago browsers would keep
the results of a DNS lookup until they died.

We offer a replication service (as a special) based on BGP.
We do not recommend it unless the DDNS approach will not 
meet requirements.  And then we work to find alternatives!

To do it yourself is rather simple (Catbert's grin here.)

First.  Find a collection of ISPs that will agree to accept
your BGP4 announcements of this foreign (to all save perhaps
one ISP) AS.

Oh, get an AS #. 

Then get someone to assign you some address space that can
be so advertised.  If you're lucky you have a spare /19 in
your back pocket. :)

After that it's *easy*.

OK, I'm being cute.  Some large ISPs will work with you 
to do this wholly in their diverse facilities with private
AS numbers and address space they have reserved for this.

AFAIK, the last free version of gated will work for IPv4
versions of this approach.  And that runs on FreeBSD.

-sam


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


Re: tcopy tape to tape WAY too slow

2004-03-30 Thread Dan Nelson
In the last episode (Mar 30), Jesse Guardiani said:
 On Tuesday 30 March 2004 10:39, you wrote:
  If you have multiple files or unknown blocksizes, the cptp command
  from the MAG package at http://www.cs.vu.nl/~dick/mag.html will
  preserve filemark and blocksize info through pipes, so you could do
  a cptp | cptp pipe.
 
 That looks promising. Do you have special build instructions for this
 package under FreeBSD 4.x?
 
 I'm getting the following error on 'gmake' or 'make':
 
 gcc -ansi -DUNIX -O -s -c tperr.c
 tperr.c:18: initializer element is not constant
 *** Error code 1

Bug in the program (stderr cannot be used to initialize static
variables).  Replace line 18 with

#define tperr stderr

and it'll build.  It looks like you may also want to edit tploc.h, line
49, and replace those two 8's with %d's.  Then something like 
cptp -m 0 of=- | cptp -m 1 if=- should copy from rmt0 to rmt1 with a
little bit of pipe buffering inbetween.  Adding team or buffer
(both in ports/misc) inbetween will add even more buffering.

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


Building KSambaPlugin Port question pt2

2004-03-30 Thread Joe Kraft
I don't know if it helps but I figured out that it doesn't freeze with the
command line:
kcmshell --nocrashhandler kcmsambaconf

Can anyone give me a nudge in the right direction?

Joe.

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Joe Kraft
 Sent: Saturday, March 13, 2004 10:32
 To: [EMAIL PROTECTED]
 Subject: KSambaPlugin question


 I've been looking at the KSambaPlugin and am interested in it. I noticed
  there used to be a port for this KControl plugin, but it appears to not
  have been updated and was removed.  I figured it's as good of a place as
  any to start digging into FreeBSD, but I've run into a problem with it.

  I've made the changes to the port files and it configures and 
 builds fine,
  but it won't run.  I'm new with programming on FreeBSD, so forgive me if
  this is an easy problem to solve...

  I'm using KDE 3.2, Samba 3.0.1, FreeBSD 5.2, and ksambaplugin 0.5.  
    kde-3.2.0   The meta-port for KDE
    kdebase-3.2.0_1 Basic applications for the KDE system
    kdelibs-3.2.0   Base set of libraries needed by KDE programs
    samba-3.0.1_2,1 A free SMB and CIFS client and server for UNIX
    samba-libsmbclient-3.0.1 The shared lib from the samba packages

  The compile is relatively clean, only a few messages about 
 unused variables
  and arguments and a couple about using some print headers which are
  supposed to be for internal KDE use.  No errors though.

  What is happening is that the plugin is freezing when it's called.  I've
  tracked it down to the external process call (testParam.start), 
 which never
  returns.  Here's the relevant code parts:

  --- start code ---
    KProcess testParam;
    testParam  testparm;
    testParam  -V;
    _parmOutput = QString();
    _sambaVersion = 2;

    connect( testParam, SIGNAL(receivedStdout(KProcess*,char*,int)),
    this, SLOT(testParmStdOutReceived(KProcess*,char*,int)));

  =if (testParam.start(KProcess::Block,KProcess::Stdout)) {
  if (_parmOutput.find(3)  -1)
    _sambaVersion = 3;
    } 
  --- end code ---
  --- more code ---
    void SambaFile::testParmStdOutReceived(KProcess *, char *buffer, int
  buflen)
    {
  _parmOutput+=QString::fromLatin1(buffer,buflen);
    }
  --- end more code ---

  I can run the 'testparm -V' from a shell to get the samba 
 version, but the
  response seems to get lost here.  Is there anything that should be
  different in this snippet of code?  It appears the plugin has only been
  tested in Linux; so, is there a common problem I'm running into here. 
  Pointers to any additional documentation I should read would be
  appreciated.

  Thanks,
  Joe.

 ___
 [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: shmem release

2004-03-30 Thread Dan Nelson
In the last episode (Mar 30), Tim Traver said:
 Hi all,
 
 Ok, I am running a 4.7 FreeBSD box that is a web server running apache.
 
 It looks like some module that I have is leaking memory, and eventually, 
 apache crashes on restarts becuase of this error :
 
 shmget() failed:  No space left on device
 
 which means it can't get any more memory, which I understand.

ipcs -m will list your current shm segments, and ipcrm will let you
delete the ones not in use anymore.  SYSV shared memory usage is
limited by the kern.ipc.shmmax sysctl, I believe.

-- 
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: Installation fdisk partitioning (slices)

2004-03-30 Thread Russell E. Mayfield
I know that writing is my worst form of communication ever!
If something is not clear please ask.
I will not bother you again.
Thanks
Russ

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Russell E.
Mayfield
Sent: Monday, March 29, 2004 6:12 AM
To: freebsd-questions
Subject: Installation  fdisk partitioning (slices)


 I picked up a copy of the FreeBSD Handbook 2nd Ed the other day, it came
with a installation disk for version 5.1 Current and that is what I am
trying to install. This is my first attempt to do anything with FreeBSD.
 First let me describe my system, I have a pentium 200 MMX cpu with 128MB
Ram and two 20GB hard drives (ad0  ad2).
 I am installing FreeBSD to ad2s2. I made room for fbsd with Partition Magic
so when installing fbsd all I had to do was make it bootable and format it.
The first time I installed fbsd everything went well but I remember
wondering about the C flag that came up with the A flag when I made the
slice bootable. Later I decided on a better way to arrange my partitions, so
I had to reinstall fbsd. I tried  for 4 days to get that C flag back in
there (which the online help says is the default) and couldn't. When ever I
went ahead wihtout the C flag it made the disk unusable to anything except
fbsd, also in the disklabel program the d partition was skiped the first
time, which the handbook cautions about using, but without the C flag I had
to make a fake partition then delete it to get ride of it.
 Finaly I decided to live dangerously an I changed the geometry of the drive
to match the bios figures. It seems to work, but I haven't gotten into it
very deep.

Can somebody shed some light on this, and should I make out a bug report?
Thanks Russ

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.614 / Virus Database: 393 - Release Date: 3/5/04

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

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.614 / Virus Database: 393 - Release Date: 3/5/04

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.614 / Virus Database: 393 - Release Date: 3/5/04

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


Re: tar ssh: strange gzip error message?

2004-03-30 Thread Joshua Lokken
* Zev Thompson [EMAIL PROTECTED] [2004-03-30 11:14]:
 Hi all,
 
 If I want to copy a bunch of files over ssh without extra servers, it's 
 easy enough to use the following command:
 
 [EMAIL PROTECTED] ssh [EMAIL PROTECTED] cd /directory/to/copy  tar -cvf 
 - * | tar -xf - -C .
 
 This works without complaint. However, when I change the options passed 
 to tar, adding gzip compression on one end and decompression on the 
 other:
 
 [EMAIL PROTECTED] ssh [EMAIL PROTECTED] cd /directory/to/copy  tar 
 -cvzf - * | tar -xzf - -C .
 
 I get this error message:
 
 gzip: stdin: decompression OK, trailing garbage ignored
 tar: Child died with signal 13
 tar: Error exit delayed from previous errors
 
 Is my method wrong? It appears that the files transferred just fine, 

I don't think so...

[EMAIL PROTECTED] ssh [EMAIL PROTECTED] cd /test  tar -cvzf - *
| tar -xzf - -C .

GUIDE.pdf
HeterogenousClusters.pdf
SecurityAndopenMosix.pdf

[EMAIL PROTECTED]

Both forms work happily here, but i did notice on subsequent copies of
the same files I experienced some data corruption:

GUIDE.pdf
HeterogenousClusters.pdf
SecurityAndopenMosix.pdf
tar: SecurityAndopenMosix.pdf: file changed as we read it
linux-kongress_2003_openMosix.pdf
tar: Error exit delayed from previous errors


-- 
Joshua

Suffocating together ... would create heroic camaraderie.
-- Khan Noonian Singh, Space Seed, stardate 3142.8
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Largest Hard Drive

2004-03-30 Thread Jason Dusek
Hi Everyone,

What is the largest hard drive that FreeBSD can suppport?  Is there a limit?

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


sysinstall Unable to find device node...

2004-03-30 Thread Don
Using an install.cfg with sysinstall off the boot floppies I am getting
the following error:

Unable to find device node for /dev/ad0s1b in /dev!
The creation of filesystems will be aborted

This only happens if I specify the file systems and sizes I want in
install.cfg and tell it to do an installCommit or a diskLabelCommit.

If I go into the disklabel editor after the install fails, I see the root
partition and the swap partition but not my /usr or /var partitions.

The debug screen says:
Scanning disk ad0 for swap partitions
Found swapdev at ad0s1b!

It would appear that the swap device is there, and being found, but for
some reason sysinstall is erroring out and I do not know why.

This is only a problem when running it from install.cfg

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


e2fsprogs install

2004-03-30 Thread Ron Joordens
Hello FreeBSDers,

Just installed e2fsprogs from ports and it gave some instructions for
vreating some links as follows:

--
To have your ext2 and ext3 filesystems fsck'ed correctly without explicitly
invoking the fsck_ext2fs utility installed by this port you will need to
create links for the fsck utilities installed by this port in /sbin, e.g.

ln -f /usr/local/sbin/fsck_ext2fs /sbin/ 2/dev/null \
  || install -m755 /usr/local/sbin/fsck_ext2fs /sbin/
ln -f /usr/local/sbin/e2fsck /sbin/e2fsck 2/dev/null \
  || install -m755 /usr/local/sbin/e2fsck /sbin/e2fsck

IMPORTANT: you also need to repeat the above steps after a port upgrade!

-

I haven't done this yet as I am a little cinfused by the syntax. 

In particular, I assume that each of these two commands are meant to be
entered as one line, and has been shown over two lines to fit on the page. I
also assume that there is a symbol denoting that the command is continued on
the next line. But which one? The \ and the end of the first line, or the
| at the beginning of the second line, or both? 

Can some one set me straight?

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


  1   2   >