booting off 6.0 cdrom for Install

2005-12-29 Thread Daniel Goldberg
Dear FreeBSD forum,
 
Please forgive this question if it seems so elementary.
I am a newbie and have googled the matter, searched the FreeBSD.org
mailing list archives and read the Handbook and still am in the dark.
 
ISSUE:
Trying to install FreeBSD 6.0 from cdrom on my PIII laptop and not
reaching an "install" menu.
 
BACKGROUND:
I have created a "FreeBSD_Install" cdrom from the
6.0-RELEASE-i386-disc1.iso download.
When I boot from the cd I reach a 6-option Boot menu but do not get to
the Install menu described in 2.3.1 of the Handbook.
 
Note: If I do try to boot, the boot process itself seems to fail with a
"Cannot dump: no dump device defined" following a "Fatal trap 12 page
fault while in kernel mode"- in case that illustrates anything, and
that's boot attempts with or without APCI.
 
MY SYSTEM:
PIII Laptop with recent rev BIOS & 512MB ram
Internal hard drive with 3 partitions:
1Primary NTFS (30GB with XP)
2Primary FAT32 (6GB for FreeBSD)
3Primary FAT32 (800MB for swapping between XP &
FreeBSD)
 
* The pc definitely allows me to boot from a cd
* The MD5 hash on my download matches the published hash
* Yes, I am going nuts- being so eager to get this OS up and dig
into it!
 
 
So the basic question is:
Is the install process supposed to be as simple as: 
A create a primary FAT32 partition
B boot your machine from the FreeBSD_Install (DISK 1) cd 
C follow the prompts through the install process 
 
 
 
Your advice is most appreciated,
 
 
Daniel Goldberg
 
 
 
IT | Post-Production Systems Engineer
Avid ACSR (Unity/Windows)
Apple ACHDS
Microsoft MCP
Cisco CCNA
 
email   [EMAIL PROTECTED]
mobile 847.400.7949
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: SATA 80G HDD can't detect

2005-12-29 Thread rocky
Dear Gayn,

In fact, I try to install Linux FC4 and that is successful.
I try to get the dmeg and will mail to you again.
So, what I am thinking is Dell made something and which FreeBSD can't
install.

Regards,
Rocky


- Original Message - 
From: "Gayn Winters" <[EMAIL PROTECTED]>
To: "'rocky'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Friday, December 30, 2005 1:51 PM
Subject: RE: SATA 80G HDD can't detect


> > On Behalf Of rocky
> > Sent: Thursday, December 29, 2005 5:20 PM
> > Subject: SATA 80G HDD can't detect
> >
> > Dear all,
> >
> > I got the Dell PE850 server, which is running SATA with 80G
> > HDD, but I try to boot it up and install the FreeBSD6.0,
> >
> > it can detect the Disk Controller but any HDD.
> >
> > In the boot up screen, it show me the chipset is ICH7.
> >
> > Please help.
>
> The ata driver in 6.0 supports ICH7 (man ata).
>
> First, double check the fundamentals:  cables, power, BIOS, and the
> daughter card connector.  Try the other SATA connector on the MB's
> daughter card.  Does the BIOS see and correctly identify the HDD?  Is it
> set to boot from a SATA or a SCSI drive?
>
> Second, run the system diagnostics that came with the PE850.  (They take
> a long time to run.)  What do the disk diagnostics say?  [Hopefully,
> since FBSD can't see the HDD, you haven't blown away the utility
> partition on your HDD.  If you have, then you'll have to download them,
> repartition the HDD and reinstall them.)  Cf.
> http://support.dell.com/support/edocs/systems/pe850/en/it/t8652c30.htm#w
> p1053632
>
> Third, run the disk manufacturer's diagnostics.
>
> Hopefully, all hardware checks ok including the HDD, and the BIOS can
> boot the system utilities (which in particular means it can read/write
> the HDD.)  I'm assuming you can boot FBSD's first installation disk.
> You'll need to post the dmesg from that.  Also tell us precisely what
> the "fdisk section" says.
>
> Good luck!
>
> -gayn
>
> Bristol Systems Inc.
> 714/532-6776
> www.bristolsystems.com
>
>
>
>
>
>

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


RE: SATA 80G HDD can't detect

2005-12-29 Thread Gayn Winters
> On Behalf Of rocky
> Sent: Thursday, December 29, 2005 5:20 PM
> Subject: SATA 80G HDD can't detect
> 
> Dear all,
> 
> I got the Dell PE850 server, which is running SATA with 80G 
> HDD, but I try to boot it up and install the FreeBSD6.0,
> 
> it can detect the Disk Controller but any HDD.
> 
> In the boot up screen, it show me the chipset is ICH7. 
> 
> Please help.

The ata driver in 6.0 supports ICH7 (man ata).

First, double check the fundamentals:  cables, power, BIOS, and the
daughter card connector.  Try the other SATA connector on the MB's
daughter card.  Does the BIOS see and correctly identify the HDD?  Is it
set to boot from a SATA or a SCSI drive?  

Second, run the system diagnostics that came with the PE850.  (They take
a long time to run.)  What do the disk diagnostics say?  [Hopefully,
since FBSD can't see the HDD, you haven't blown away the utility
partition on your HDD.  If you have, then you'll have to download them,
repartition the HDD and reinstall them.)  Cf.  
http://support.dell.com/support/edocs/systems/pe850/en/it/t8652c30.htm#w
p1053632

Third, run the disk manufacturer's diagnostics.

Hopefully, all hardware checks ok including the HDD, and the BIOS can
boot the system utilities (which in particular means it can read/write
the HDD.)  I'm assuming you can boot FBSD's first installation disk.
You'll need to post the dmesg from that.  Also tell us precisely what
the "fdisk section" says.

Good luck!

-gayn

Bristol Systems Inc.
714/532-6776
www.bristolsystems.com 





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


How much memory is a jail using ... ?

2005-12-29 Thread Marc G. Fournier


Is there an easy way to do this?  I know I can find out what processes are 
running in a jail by looking at /proc/*/status ,but none of the fields 
appear to relate to memory used by that process ... so, I'm guessing I 
should be able to 'read' one of the other fiels in the procfs directory 
for this?


Thanks ...


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


Hardware graphics

2005-12-29 Thread Jon
Hi,

I need some help getting hardware graphics going. I
built radeon.ko and drm.ko from drm cvs and loaded
them, a quick dmesg drm says the modules are loaded.
(drm 1.21.0 20051229) I was told on here I would need
the r300 DRI module for my ATI Radeon 9800 Pro which I
got from the FreeBSD Ports 'dri-6.2.20050719,1', that
built and installed r300_dri.so. I'm using
radeon_drv.o in my Xorg.conf file as the display
driver, I had a look at my Xorg.conf Log file and it
says: 
(WW) RADEON(0): Direct rendering not yet supported on
Radeon 9500 and newer 
(II) RADEON(0): Render acceleration unsupported on
Radeon 9500/9700 and newer.
(II) RADEON(0): Render acceleration disabled

What else could be the problem?
-- Thanks
FreeBSD 6.0 STABLE






__ 
Find your next car at http://autos.yahoo.ca
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: ext2fs and NFS

2005-12-29 Thread Malcolm Kay
On Sat, 29 Oct 2005 04:23 am, Bob Hepple wrote:
> On Thu, 27 Oct 2005 11:39:03 +1000
>
> Bob Hepple <[EMAIL PROTECTED]> wrote:
> > I need to export an ext2fs file system mounted at /mnt/guest
> > - it's a removable IDE disc that I carry to & from my linux
> > system at work...
> >
> > "mount" shows:
> >
> > /dev/ad2s1 on /mnt/guest (ext2fs, local)
> >
> > So, I put an entry into /etc/exports:
> >
> > /mnt/guest -alldirs -network 192.168.254.0 -mask
> > 255.255.255.0
> >
> > and then:
> >
> > kill -s HUP `cat /var/run/mountd.pid`
> >
> > "showmount localhost" shows nothing and in /var/log/messages
> > I have:
> >
> > Oct 27 11:36:01 raita kernel: ext2fs doesn't support the old
> > mount syscall Oct 27 11:36:01 raita mountd[417]: can't
> > export /mnt/guest Oct 27 11:36:01 raita mountd[417]: bad
> > exports list line /mnt/guest -network 192.168.254.0 -mask
> > 255.255.255.0
> >
> > ... so there's really no way to NFS export an ext2fs file
> > system???
>
> Hmmm - looks like no-one has good news for me on this front so
> I'll try a different approach:
>
> Can anyone suggest a UNIX filesystem for a removable IDE disc
> that can be used on linux and freebsd and that can be exported
> by NFS?
>

I thought most linux systems could mount 'ufs' file systems; 
perhaps not 'ufs2' so you might need to be specific in creating 
the file system.

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


Re: Mozilla plugins broken after port upgrade

2005-12-29 Thread Micah

Chris Hill wrote:
Yesterday I cvsup'ed and upgraded my ports, using the procedure I've 
been using for quite some time. After it was done, most of my Mozilla 
plug-ins no longer work. I did not upgrade my operating system at that 
time, since I'm already at the latest patchlevel.


The specific issues are with acroread7, flash and mplayer-plugin. All of 
these worked as plug-ins before the upgrade, but now none of them do. 
Acroread7 and mplayer work fine in their standalone application 
incarnations, but not as plug-ins. Curiously, the java plug-in still 
works fine. In Mozilla, about:plugins shows java and the mplayer stuff, 
but not anything pertaining to Acrobat or PDFs.


Here is what I've done to try to fix this:

tripel# mv /etc/libmap.conf /etc/libmap.conf.old
tripel# cp 
/usr/local/share/examples/linuxpluginwrapper/libmap.conf-FreeBSD5-stable 
/etc/libmap.conf


/etc/libmap.conf - both the new and old versions - have an entry like
# Acrobat7 with Mozilla/Firebird/Galeon/Epiphany/Konqueror/Kazehakase
[/usr/compat/linux/usr/local/Adobe/Acrobat7.0/Browser/intellinux/nppdf.so]
libc.so.6   pluginwrapper/acrobat.so

libc.so.6 exists; it's a symlink to libc-2.3.2.so, both in 
/usr/compat/linux/lib. However, the path shown in [square brackets] does 
not exist. Does it need to? man libc.conf doesn't say anything about 
those square bracket entries. On the off chance, I tried creating that 
heirarchy of directories and touch'ing nppdf.so, but no love so I got 
rid of it.


  $ ls /usr/local/lib/pluginwrapper
  acrobat.so   flash7.so   java3d.so   oci8.so   realplayer.so
  flash6.sojai.so  java3d_snd.so   pips.so

A search of the list archive turned up a post saying that you have to 
have linprocfs mounted *before* doing the *install* on 
linuxpluginwrapper. I made that happen; relevant df output is

  Filesystem  1K-blocks  Used  Avail Capacity  Mounted on
  linprocfs   4 4  0   100%/usr/compat/linux/proc

I then deinstalled the following via 'make deinstall', then did 'make 
reinstall' in this order:

  print/acroread7
  www/mozilla
  www/linuxpluginwrapper
  www/linux-flashplugin
  www/mplayer-plugin

Question: Can someone point me to a writeup of what I need to do, in 
what order, to repair this?


Thanks very much.

$ uname -a
FreeBSD tripel.monochrome.org 5.4-RELEASE-p8 FreeBSD 5.4-RELEASE-p8 #0: 
Thu Oct 13 22:12:04 EDT 2005 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/TRIPEL i386


 --
Chris Hill   [EMAIL PROTECTED]
** [ Busy Expunging <|> ]


Search the list archives for "Flash Plugin in 6.0" and "Flash no longer 
displayed in Firefox".  It's an issue with the linuxpluginwrapper port, 
several methods to make it work are described in those recent threads.


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


RE: FreeBSD on IBM Blade Center?

2005-12-29 Thread Gestur A. Grjetarsson
hi

no, I haven't been able to use any version of FreeBSD.
I did try to boot the IBM Blade on all of the available versions on 
ftp.freebsd.org ,, but with no success.

I got some info from the internet that FreeBSD version 4.1 would work, but I 
tried that and it didn't work.


when booting Blade from mounted iso or from cdrom install disk, I always stop 
in OK prompt, where I get error about the boot loader not finding kernel or 
device, when using the lsdev I find that the cdrom device is vanished, so there 
is no media to load kernel from, this happens both when trying to boot from 
mounted iso or the built in cdrom.

I've learned that the only way to boot the system is using FreeBSD floppies, 
that I upload to the usb flash memory, ie. I upload boot floppy, start the 
system, upload the kern1.flp when the system request it and then upload the 
second kern floppy etc.etc. until I get the system running in sysinstall for 
initial setup.
With that, I find that there is no hard disk available, no lun to mount from 
the DS400 SAN, only disk device is the USB flash memory.


The ISP driver is completely broken and not able to detect any disk device from 
my IBM Blade Center which has Qlogic 2312 FC controller.


When I contacted the IBM service for technical help on this severe problem, 
they informed me that this matter is 100% a FreeBSD problem, not anything that 
IBM should worry about, no help there.

This is very bad for me, as I've used FreeBSD as the foundation for my 
services, have been using it since 1993, and am forced to use Gentoo which has 
no problems with the IBM Blade.

If needed, I'm willing to work with any one that is capable on getting the IBM 
Blade to work and I'm also positive on giving some time for getting the FreeBSD 
to install and detect all hardware on my IBM Blade Center if needed.  I think 
this is something that FreeBSD community needs to get resolved quickly... as 
the Blade Centers are getting more popular day by day.

kveðja / Best regards
Gestur

 

-Original Message-
From: fbsd_user [mailto:[EMAIL PROTECTED] 
Sent: 29. desember 2005 19:27
To: freebsd-questions@freebsd.org
Cc: Gestur A. Grjetarsson
Subject: RE: FreeBSD on IBM Blade Center?


Gestur I need some clarification on your question.
Are you saying that you were able to use FreeBSD on older versions of IBM 
BLADES or that you were able to use older FreeBSD versions before???


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Jonathan Fosburgh
Sent: Thursday, December 29, 2005 11:16 AM
To: freebsd-questions@freebsd.org
Cc: Gestur A. Grjetarsson
Subject: Re: FreeBSD on IBM Blade Center?


On Wednesday 28 December 2005 07:32, Gestur A. Grjetarsson wrote:
> Hi
>
> I have IBM Blade with Qlogic 2312 adapters using DS400 SAN
>
> now I have learned that after over 10 years of good FreeBSD
experience on
> various sorts of hardware, I can't use FreeBSD anymore as it
does'nt work
> on IBM Blade. I have read alot on this problem trying to solve
this problem
> and done alot of testing and hacking but without any progress.
>
> so I have two questions:
>
> is FreeBSD going to support IBM Blade?
>
> if it is going to support and work on IBM Blade, can you give me
an
> estimation on when it will be ready to run on IBM Blade?

The blade center is a bizarre beast and it is difficult to make the officially 
supported Operating Systems work correctly with it.  We had difficulties making 
AIX work properly on the JS20 blade, for instance.  With IBM hardware, it is 
best to stick with officially supported products.  Sometimes, IBM doesn't 
support something for a reason...

I would be (pleasantly) surprised to laern you were able to attach FreeBSD to 
IBM storage.  Of course, IBM will provide you with no help in either of these, 
and I wouldn't venture to guess if you can do concurrent maintenance on your 
DS4000 with FreeBSD running.

--
Jonathan Fosburgh
AIX and Storage Administrator
UT MD Anderson Cancer Center
Houston, TX

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


Mozilla plugins broken after port upgrade

2005-12-29 Thread Chris Hill
Yesterday I cvsup'ed and upgraded my ports, using the procedure I've 
been using for quite some time. After it was done, most of my Mozilla 
plug-ins no longer work. I did not upgrade my operating system at that 
time, since I'm already at the latest patchlevel.


The specific issues are with acroread7, flash and mplayer-plugin. All of 
these worked as plug-ins before the upgrade, but now none of them do. 
Acroread7 and mplayer work fine in their standalone application 
incarnations, but not as plug-ins. Curiously, the java plug-in still 
works fine. In Mozilla, about:plugins shows java and the mplayer stuff, 
but not anything pertaining to Acrobat or PDFs.


Here is what I've done to try to fix this:

tripel# mv /etc/libmap.conf /etc/libmap.conf.old
tripel# cp 
/usr/local/share/examples/linuxpluginwrapper/libmap.conf-FreeBSD5-stable 
/etc/libmap.conf


/etc/libmap.conf - both the new and old versions - have an entry like
# Acrobat7 with Mozilla/Firebird/Galeon/Epiphany/Konqueror/Kazehakase
[/usr/compat/linux/usr/local/Adobe/Acrobat7.0/Browser/intellinux/nppdf.so]
libc.so.6   pluginwrapper/acrobat.so

libc.so.6 exists; it's a symlink to libc-2.3.2.so, both in 
/usr/compat/linux/lib. However, the path shown in [square brackets] does 
not exist. Does it need to? man libc.conf doesn't say anything about 
those square bracket entries. On the off chance, I tried creating that 
heirarchy of directories and touch'ing nppdf.so, but no love so I got 
rid of it.


  $ ls /usr/local/lib/pluginwrapper
  acrobat.so   flash7.so   java3d.so   oci8.so   realplayer.so
  flash6.sojai.so  java3d_snd.so   pips.so

A search of the list archive turned up a post saying that you have to 
have linprocfs mounted *before* doing the *install* on 
linuxpluginwrapper. I made that happen; relevant df output is

  Filesystem  1K-blocks  Used  Avail Capacity  Mounted on
  linprocfs   4 4  0   100%/usr/compat/linux/proc

I then deinstalled the following via 'make deinstall', then did 'make 
reinstall' in this order:

  print/acroread7
  www/mozilla
  www/linuxpluginwrapper
  www/linux-flashplugin
  www/mplayer-plugin

Question: Can someone point me to a writeup of what I need to do, in 
what order, to repair this?


Thanks very much.

$ uname -a
FreeBSD tripel.monochrome.org 5.4-RELEASE-p8 FreeBSD 5.4-RELEASE-p8 #0: 
Thu Oct 13 22:12:04 EDT 2005 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/TRIPEL i386


 --
Chris Hill   [EMAIL PROTECTED]
** [ Busy Expunging <|> ]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FreeBSD 6.0 Installed on Adaptec 2100S RAID 5 But Won't Boot

2005-12-29 Thread Derek Flenniken
Solved. Something in the BIOS. I reset to defaults, then re-configured.  
Only thing that's different is that it boots now.


Derek

Derek Flenniken wrote:
I am able to install with no problems. RAID5 "Drive" is visible for 
slice creation, partition.


Use Entire Disk + Set Bootable
FreeBSD Boot Manager
Default Partition Scheme

If I install again I see my slice and partitions from the previous 
install.


I've gone through the configurations with the 2100S and can't find 
anything wrong with the settings.


System POSTs, 2100S POSTs, then blinking cursor for a while and 
finally a No OS message.


Any ideas?

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


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


SATA 80G HDD can't detect

2005-12-29 Thread rocky
Dear all,

 

Currently I am facing a very big problem.

I got the Dell PE850 server, which is running SATA with 80G HDD, but I try to 
boot it up and install the FreeBSD6.0,

it can detect the Disk Controller but any HDD.

In the boot up screen, it show me the chipset is ICH7.



Please help.

Thank you





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


Re: Java Server Pages

2005-12-29 Thread Soo-Hyun Choi
So, if I get the information all together, I need Apache, Tomcat, and
the connector (mod_jk). Right?

Thanks,


On 12/30/05, Andy W Clements <[EMAIL PROTECTED]> wrote:
> That is correct... and you can use mod_jk to connect them.
> http://tomcat.apache.org/connectors-doc/
> that page contains the download and the instructions
>
> --Andy
>
>
> On Thu, 2005-12-29 at 22:24 +, Soo-Hyun Choi wrote:
> > So what you mean is that I need to install Tomcat alongside Apache? Is
> > this correct?
> >
> > On 12/29/05, Jon Brisbin <[EMAIL PROTECTED]> wrote:
> > > On Thu, 2005-12-29 at 20:38 +, Soo-Hyun Choi wrote:
> > > > hi,
> > > >
> > > > apart from apache, what sort of things do i need to get JSP (java
> > > > server pages) working? (maybe, do i need to manually install tomcat on
> > > > top of apache?)
> > >
> > > It doesn't actually work that way. You install Tomcat, Jetty, JBoss,
> > > Resin, or Enhydra (the top choices for JSP/Servlet containers)
> > > *alongside* Tomcat. You then either access the Tomcat server on it's own
> > > port (http://your-server:8080) or you install mod_jk in Apache and map
> > > certain URLs or patterns to your servlet container.
> > >
> > > We use JBoss, but if you're just looking to do plain JSP, you can get a
> > > tar-gz'd archive of tomcat and unzip it onto your BSD box. It's not
> > > necessary to install it from ports.
> > >
> > > Jetty and Resin seem like faster application servers, but I've had more
> > > trouble getting them configured than I have Tomcat. Maybe that's because
> > > I started with Tomcat back in the JServ days and am just more familiar
> > > with it.
> > >
> > > Good luck.
> > >
> > > Jon Brisbin
> > > Webmaster
> > > NPC International, Inc.
> > >
> > >
> > ___
> > freebsd-questions@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> >
>
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Java Server Pages

2005-12-29 Thread Andy W Clements
That is correct... and you can use mod_jk to connect them.
http://tomcat.apache.org/connectors-doc/
that page contains the download and the instructions

--Andy


On Thu, 2005-12-29 at 22:24 +, Soo-Hyun Choi wrote:
> So what you mean is that I need to install Tomcat alongside Apache? Is
> this correct?
> 
> On 12/29/05, Jon Brisbin <[EMAIL PROTECTED]> wrote:
> > On Thu, 2005-12-29 at 20:38 +, Soo-Hyun Choi wrote:
> > > hi,
> > >
> > > apart from apache, what sort of things do i need to get JSP (java
> > > server pages) working? (maybe, do i need to manually install tomcat on
> > > top of apache?)
> >
> > It doesn't actually work that way. You install Tomcat, Jetty, JBoss,
> > Resin, or Enhydra (the top choices for JSP/Servlet containers)
> > *alongside* Tomcat. You then either access the Tomcat server on it's own
> > port (http://your-server:8080) or you install mod_jk in Apache and map
> > certain URLs or patterns to your servlet container.
> >
> > We use JBoss, but if you're just looking to do plain JSP, you can get a
> > tar-gz'd archive of tomcat and unzip it onto your BSD box. It's not
> > necessary to install it from ports.
> >
> > Jetty and Resin seem like faster application servers, but I've had more
> > trouble getting them configured than I have Tomcat. Maybe that's because
> > I started with Tomcat back in the JServ days and am just more familiar
> > with it.
> >
> > Good luck.
> >
> > Jon Brisbin
> > Webmaster
> > NPC International, Inc.
> >
> >
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> 

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


Re: NATD Internal Network problems

2005-12-29 Thread Greg Barniskis

Chris S. Wilson wrote:

Weird, every other router I've used forwards all the packets properly,
even my backup linksys when I hook it up.


Probably works there because there's not a very complex packet 
filtering operation in the middle when using an off-the-shelf router.


Keep in mind that I'm speaking from distant memory. What you 
describe doesn't work for me, never did, and I know it's been talked 
about on this list as being an undesirable thing to do anyway, given 
that there are better alternatives than torturing your packets.


You can possibly make FreeBSD do what you want, but (IIRC) it's 
going to take some ipfw wizardry, or whatever you're using to drive 
packets into natd. Also, I believe the result of that is that you'd 
have to create a less secure set of rules about what is permitted to 
pass. In other words the real reason this doesn't work is that as a 
best practice, it shouldn't.


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


RE: NATD Internal Network problems

2005-12-29 Thread Chris S. Wilson
Weird, every other router I've used forwards all the packets properly,
even my backup linksys when I hook it up.

Really I don't want to do the split dns stuff, sadly I will have to move
away from FreeBSD for performing this operation I guess.

Thanks for the help!

CW. 

-Original Message-
From: Greg Barniskis [mailto:[EMAIL PROTECTED] 
Sent: Thursday, December 29, 2005 3:05 PM
To: Chris S. Wilson
Cc: freebsd-questions
Subject: Re: NATD Internal Network problems

Chris S. Wilson wrote:
> Hello! :)
> 
> I am having a problem with freebsd 5.3-release and natd.
> 
> When I try to connect to a service on my internal network to an IP on 
> my external network that has a port redirected, it wont connect.
> 
> IE: 67.128.100.2 is my external IP, on my internal network I try to 
> connect to 67.128.101.2:80 which is forwarded in my natd.conf and the 
> connection is refused.
> 
> Does anyone know why?

I don't know the exact technical reasons "why" but I will confirm for
you that this simply does not work, and the reasons why center around it
being a rather tortured mess.

Your inside machines should reach your inside server by its inside
address. Think about how you're sending your request outside the
firewall (getting the request NATed on the way out) and then back in
(getting the request re-NATed), and then having the reply packets from
the web server have to take the reverse of that path. Yuck.

Use split DNS so that that "www.example.com" appears to external clients
as being your external NAT server address, and appears to inside clients
as the web server's real inside address.


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


Re: NATD Internal Network problems

2005-12-29 Thread Greg Barniskis

Chris S. Wilson wrote:

Hello! :)

I am having a problem with freebsd 5.3-release and natd.

When I try to connect to a service on my internal network to an IP on my
external network that has a port redirected, it wont connect. 


IE: 67.128.100.2 is my external IP, on my internal network I try to
connect to 67.128.101.2:80 which is forwarded in my natd.conf and the
connection is refused.

Does anyone know why?


I don't know the exact technical reasons "why" but I will confirm 
for you that this simply does not work, and the reasons why center 
around it being a rather tortured mess.


Your inside machines should reach your inside server by its inside 
address. Think about how you're sending your request outside the 
firewall (getting the request NATed on the way out) and then back in 
(getting the request re-NATed), and then having the reply packets 
from the web server have to take the reverse of that path. Yuck.


Use split DNS so that that "www.example.com" appears to external 
clients as being your external NAT server address, and appears to 
inside clients as the web server's real inside address.



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


FreeBSD 6.0 Installed on Adaptec 2100S RAID 5 But Won't Boot

2005-12-29 Thread Derek Flenniken
I am able to install with no problems. RAID5 "Drive" is visible for 
slice creation, partition.


Use Entire Disk + Set Bootable
FreeBSD Boot Manager
Default Partition Scheme

If I install again I see my slice and partitions from the previous install.

I've gone through the configurations with the 2100S and can't find 
anything wrong with the settings.


System POSTs, 2100S POSTs, then blinking cursor for a while and finally 
a No OS message.


Any ideas?

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


Threaded version of Perl

2005-12-29 Thread Gerard Seibert
Is there any real advantage to building a threaded version of Perl? What 
are the disadvantages, if any?


--
Gerard
[EMAIL PROTECTED]

Vini, vidi, velcro...
I came, I saw, I stuck around
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Java Server Pages

2005-12-29 Thread Soo-Hyun Choi
So what you mean is that I need to install Tomcat alongside Apache? Is
this correct?

On 12/29/05, Jon Brisbin <[EMAIL PROTECTED]> wrote:
> On Thu, 2005-12-29 at 20:38 +, Soo-Hyun Choi wrote:
> > hi,
> >
> > apart from apache, what sort of things do i need to get JSP (java
> > server pages) working? (maybe, do i need to manually install tomcat on
> > top of apache?)
>
> It doesn't actually work that way. You install Tomcat, Jetty, JBoss,
> Resin, or Enhydra (the top choices for JSP/Servlet containers)
> *alongside* Tomcat. You then either access the Tomcat server on it's own
> port (http://your-server:8080) or you install mod_jk in Apache and map
> certain URLs or patterns to your servlet container.
>
> We use JBoss, but if you're just looking to do plain JSP, you can get a
> tar-gz'd archive of tomcat and unzip it onto your BSD box. It's not
> necessary to install it from ports.
>
> Jetty and Resin seem like faster application servers, but I've had more
> trouble getting them configured than I have Tomcat. Maybe that's because
> I started with Tomcat back in the JServ days and am just more familiar
> with it.
>
> Good luck.
>
> Jon Brisbin
> Webmaster
> NPC International, Inc.
>
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


I just can't find GCJ on my FreeBSD 6 box

2005-12-29 Thread Jon Brisbin
I installed GCC 4.1 twice, thinking I just missed it. I can't find any
of the gcj tools on my BSD 6 box. I made extra double sure that Java was
compiled into GCC, but the gcj tools are nowhere to be found.

Am I doing something wrong? I'm trying to follow the instructions here:

http://developer.classpath.org/mediation/ClasspathShowcase#head-7d9a556e8485fc84fd5ce0e52be6104d85e24316

I have this in 4.1 on my PowerBook, but I can't find the darn thing on
BSD. Where is it? How can I use gcj on BSD? Can I?

Thanks!

Jon Brisbin
Webmaster
NPC International, Inc.

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


Re: Using SCHED_ULE vs. SCHED_4BSD ...

2005-12-29 Thread Michael Vince

Kiffin Gish wrote:


I recently upgraded from 5.4 to 6.0 and noticed the introduction of
option SCHED_ULE for supporting multi-processor environments.

However, I understood that using SCHED_ULE with only one CPU can also
improve performance significantly.

Is this true, and if so, what are the risks involved dropping good old
SCHED_4BSD for the new-and-improved scheduler?

Thanks alot in advance.

 

I was benchmarking a Java servlet under ULE a few weeks ago, and I 
couldn't get result scores as high under ULE as I could under the 
regular the 4BSD (although it wasn't too far off) and when I left the 
machine benchmarking all night under ULE I came back in the morning to 
find the machine unresponsive and in need of a hard reboot.


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


sendmail-submit and envelope-from

2005-12-29 Thread Ruben Bloemgarten
Hi all, 

 

I hope someone could help me out with the following :

 

On 5.4 I'm running a few jails, one of which is running the mail::toaster
incarnation of qmail. All is well. From another jail I want to use a php
script to generate mailings rewriting the envelope-from:

 

 

 

This does work on a different system, not running on jails with a non ports
compile of qmail (not installed by me).

 

The main difference here being that on the 'working system', the
mail-sendmail wrapper is used instead of sendmail. So I went and tested the
same script on the qmail jail, which has the same 'problem' as sendmail does
from the other jail. So something seems to have been changed on this setup
to allow this behaviour (I assume having 'From', rewrite both return address
and the envelope-from). I can't for the life of me figure out what.

 

Oh, and unrelated but also annoying is the submit from the different jails
to the qmail jail is a bit slow. 

 

Any pointers anyone ?

 

Thanks,

Ruben

 

( I already sent this to isp-freebsd, but I'm guessing questions might also
have some answers)

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


Re: Harddrive size being reported incorrectly?

2005-12-29 Thread Jerry McAllister
> 
> On Thursday 29 December 2005 12:22 pm, Jerry McAllister wrote:
> > > Now, I understand that harddrive manufacturers measure things differently
> > > (1000kbytes per gbyte rather than 1024, or something like that) than
> > > expected, but I've been told by a few people that I should be getting
> > > around 305-312GB of available space after the drive has been formatted.
> >
> > They didn't do their arithmetic.
> >
> > When you slice and partition the drive, there will likely be a handful
> > of sectors that don't round out to an even value so those are dropped.
> > Then, when you do the newfs, some space is taken by the spare superblocks
> > and finally the system reserves 8%. So, I would say you are getting
> > it all.
> 
> 289GB is before the 8% reservation. I actually turned that off with tunefs.

I strongly suggest you do not do that - at least completely off.
Reduce it some, if you like, but keep some.

jerry

> 
> Thanks to all who responded so quickly, makes me feel better about filling 
> the 
> drive up. Wanted to verify this before using the drive as to not end up 
> having to re-newfs it in the future to gain back any possible unused space.
> 
> Thanks,
> -- 
> Travis Poppe
> IRC: tlp @ irc.freenode.net
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> 

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


The hardships of ownerships (part 3)

2005-12-29 Thread Kristian Vaaf

I cannot RE: my own e-mails? Strange ...

Anyway, I had to correct these:

--

daemon:*:1:
operator:*:2:root
kmem:*:3:
bin:*:4:
tty:*:5:
news:*:6:
man:*:7:

--

daemon:*:1:1::0:0:System Processes:/root:/usr/sbin/nologin
operator:*:2:2::0:0:Operator:/:/usr/sbin/nologin
kmem:*:3:65533::0:0:KMem:/:/usr/sbin/nologin
bin:*:4:4::0:0:Binaries:/:/usr/sbin/nologin
tty:*:5:65533::0:0:Titty:/:/usr/sbin/nologin
news:*:6:6::0:0:News:/:/usr/sbin/nologin
man:*:7:7::0:0:Manuals:/usr/share/man:/usr/sbin/nologin

--

Bye!


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


Re: The hardships of ownerships

2005-12-29 Thread Kristian Vaaf

This is how I want my users layout to look like.

Ofcourse I'm afraid to actually commit these changes, since I'm afraid my 
entire system will break.

But there has to be a way to deal with this!

# cat /etc/group (imaginary)

nobody:*:5:
wheel:*:0:root

daemon:*:1:
operator:*:2:root
kmem:*:3:
bin:*:4:
tty:*:5:
news:*:8:
man:*:9:

sshd:*:101:
www:*:102:
ftp:*:103:
mysql:*:104:
proxy:*:105:
smmsp:*:106:
mailnull:*:107:
postfix:*:108:
cyrus:*:109:
spamd:*:110:
vscan:*:111:
clamav:*:112:
tinydns:*:113:
axfrdns:*:114:
dnscache:*:115:
dnslog:*:116:

nomad:*:1002:
polvott:*:1003:
nughaud:*:1004:
asphyx:*:1005:
speak:*:1007:
zarul:*:1008:
sky:*:1009:
spamd:*:58:
indranil:*:1010:
stila:*:1011:
mats:*:1012:
edgar:*:1014:
holy5:*:1015:

# cat /etc/master.passwd (imaginary)

nobody:*:5:5::0:0:Unprivileged:/nonexistent:/usr/sbin/nologin
root:$1$xsL49xbt$of5hvUCiVT/b/D3B70bZv1:0:0::0:0:Core:/root:/usr/local/bin/zsh

(starts from 1)

daemon:*:1:1::0:0:System processes:/root:/usr/sbin/nologin
operator:*:2:2::0:0:Operator:/:/usr/sbin/nologin
kmem:*:3:65533::0:0:KMem:/:/usr/sbin/nologin
bin:*:4:4::0:0:Binaries:/:/usr/sbin/nologin
tty:*:5:65533::0:0:Titty:/:/usr/sbin/nologin
news:*:8:8::0:0:News:/:/usr/sbin/nologin
man:*:9:9::0:0:Manuals:/usr/share/man:/usr/sbin/nologin

(starts from 101)

sshd:*:101:101::0:0:Secure Shell:/var/empty:/usr/sbin/nologin
www:*:102:102::0:0:World Wide Web:/usr/local/www:/usr/sbin/nologin
ftp:*:103:103::0:0:PureFTP:/home/websites:/usr/sbin/nologin
mysql:*:104:104::0:0:MySQL:/var/db/mysql:/sbin/nologin
proxy:*:105:105::0:0:Packet Filter:/nonexistent:/usr/sbin/nologin
smmsp:*:106:106::0:0:Sendmail 
Submission:/var/spool/clientmqueue:/usr/sbin/nologin
mailnull:*:107:107::0:0:Sendmail Default:/var/spool/mqueue:/usr/sbin/nologin
postfix:*:108:108::0:0:Postfix:/var/spool/postfix:/usr/sbin/nologin
cyrus:*:109:109::874400:0:Cyrus:/nonexistent:/usr/sbin/nologin
spamd:*:110:110::0:0:SpamAssassin:/var/spool/spamd:/sbin/nologin
vscan:*:111:111::0:0:Scanner:/var/amavis:/bin/sh
clamav:*:112:112::0:0:ClamAV:/nonexistent:/usr/sbin/nologin
tinydns:*:113:113::0:0:Tiny:/nonexistent:/usr/sbin/nologin
axfrdns:*:114:114::0:0:A-Transfer:/nonexistent:/usr/sbin/nologin
dnscache:*:115:115::0:0:Cache:/nonexistent:/usr/sbin/nologin
dnslog:*:116:116::0:0:Logging:/nonexistent:/usr/sbin/nologin

(starts from 1001)

johann:*:1001:0::0:0:Johann:/home/johann:/usr/local/bin/zsh
nomad:*:1002:1002::0:0:Hednod:/home/nomad:/usr/local/bin/zsh
polvott:*:1003:1003::0:0:Thomas:/home/polvott:/usr/local/bin/zsh
nughaud:*:1004:1004::0:0:King:/home/nughaud:/usr/local/bin/zsh
asphyx:*:1005:1005::0:0:Matthew:/home/asphyx:/usr/local/bin/zsh
speak:*:1007:1007::0:0:Poetry:/home/speak:/usr/local/bin/zsh
zarul:*:1008:1008::0:0:Zarul:/home/zarul:/usr/local/bin/zsh
sky:*:1009:1009::0:0:High:/home/sky:/usr/local/bin/zsh
indranil:*:1010:1010::0:0:Troidus:/home/indranil:/usr/local/bin/zsh
stila:*:1011:1011::0:0:Standup:/home/stila:/usr/local/bin/zsh
mats:*:1012:1012::0:0:Kohler:/home/mats:/usr/local/bin/zsh
cole:*:1013:1013::0:0:Cole:/home/cole:/usr/local/bin/zsh
edgar:*:1014:1014::0:0:Otero:/home/edgar:/usr/local/bin/zsh
holy5:*:1015:1015::0:0:Khanira:/home/holy5:/usr/local/bin/zsh

I guess I'm a sucker for correctness ...

All the best,
Kristian Vaaf


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


Re: Unable to install Webmin

2005-12-29 Thread Gerard Seibert
On Thursday, December 29, 2005 10:15:24 AM
Lowell Gilbert <[EMAIL PROTECTED]>
Subject: Re: Unable to install Webmin
Wrote these words of wisdom:

> Hmm.  I can't reproduce the problem.
> 
> Did you install from the port?
> If so, did you set the rc.conf variable as instructed by the port?


* REPLY SEPARATOR *
On 10/11/2005 5:29:42 PM, Gerard Replied:

Yes, I have the proper notation in rc.conf. The 'webmin' program is
causing a perl.core dump, and I cannot fathom why. I have deleted and
rebuilt everything, but still no success.

I spoke to someone a day ago who said that they had webmin running fine
and then suddenly one day it started doing the same thing as mine. They
never got it to work either until they dumped the system and started
over. I am not about to go that route.

I have no idea what to do with the perl.core file. Perhaps someone knows
how to debug this situation.

-- 
Gerard Seibert
[EMAIL PROTECTED]

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


Re: Java Server Pages

2005-12-29 Thread Jon Brisbin
On Thu, 2005-12-29 at 20:38 +, Soo-Hyun Choi wrote:
> hi,
> 
> apart from apache, what sort of things do i need to get JSP (java
> server pages) working? (maybe, do i need to manually install tomcat on
> top of apache?)

It doesn't actually work that way. You install Tomcat, Jetty, JBoss,
Resin, or Enhydra (the top choices for JSP/Servlet containers)
*alongside* Tomcat. You then either access the Tomcat server on it's own
port (http://your-server:8080) or you install mod_jk in Apache and map
certain URLs or patterns to your servlet container. 

We use JBoss, but if you're just looking to do plain JSP, you can get a
tar-gz'd archive of tomcat and unzip it onto your BSD box. It's not
necessary to install it from ports.

Jetty and Resin seem like faster application servers, but I've had more
trouble getting them configured than I have Tomcat. Maybe that's because
I started with Tomcat back in the JServ days and am just more familiar
with it.

Good luck.

Jon Brisbin
Webmaster
NPC International, Inc.

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


The hardships of ownerships

2005-12-29 Thread Kristian Vaaf

Hello!

I am trying to arrange my user database properly.

I am having a hard time keeping /etc/master.passwd from vipw in sync with 
/etc/group.
It's quite a mystery trying to make them function as one entity. Why are they 
seperated into
two files anyway? My group file has tons of groups that aren't even in 
master.passwd.

Then, let's say I want to arrange the GIDs from group to go chronologically. 
Giving each
group the ID of the port its daemon may or may not run on, seems to me like 
something a
kid would do when there's no cartoons on TV.

And let's say I do that, and edit my master.passwd with vipw accordingly. Just 
because
I am seeking order in my things, my entire system has to suffer and most 
ownerships will
be broken. I guess what I am asking for is this: does anybody have a script 
that updates
your system according to your need to clean up your system?

Thank you all for your time.

Kristian Vaaf


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


RE: NATD Internal Network problems

2005-12-29 Thread Chris S. Wilson
Everything works great from the nat box and from the outside (people are
currently using it to get into my web server from the outside). 

It's odd.

CW.

-Original Message-
From: Chuck Swiger [mailto:[EMAIL PROTECTED] 
Sent: Thursday, December 29, 2005 12:55 PM
To: Chris S. Wilson
Cc: freebsd-questions@freebsd.org
Subject: Re: NATD Internal Network problems

Chris S. Wilson wrote:
> Hmm, still does'nt work.
> 
> That seemed to be a typo however I still cant connect :(

Does "telnet 10.0.10.2 80" from the firewall box work?
Does normal NAT work OK (ie, can internal machines connect outside)?
Does not using the external IP help:

redirect_port tcp 10.0.10.2:80 80

Be prepared to invoke 'tcpdump' to see what is going on...

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


Re: NATD Internal Network problems

2005-12-29 Thread Chuck Swiger

Chris S. Wilson wrote:

Hmm, still does'nt work.

That seemed to be a typo however I still cant connect :(


Does "telnet 10.0.10.2 80" from the firewall box work?
Does normal NAT work OK (ie, can internal machines connect outside)?
Does not using the external IP help:

redirect_port tcp 10.0.10.2:80 80

Be prepared to invoke 'tcpdump' to see what is going on...

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


Re: qmail + vpopmail + procmail

2005-12-29 Thread Angelin Lalev

Michael P. Soulier wrote:


On 12/28/05, Angelin Lalev <[EMAIL PROTECTED]> wrote:
 


But now my friend's clients want all mail that is tagged as spam
(in my case, prefixed with "[SPAM]" in the subject)  moved to
separate courier imap folder (for example .SPAM).
I figured out (maybe I make error here) that I need procmail
to deliver the mail to the different courier-imap folders in the Maildir.
I couldn't find on the net clear algorithm that does that. (or at least
I failed reproducing it).
Anyone could help?
   



This is up to the end user to do. My $HOME/.qmail looks like so

| preline procmail ~/.procmailrc


From there, you can filter in .procmailrc like...


:0
^Subject:.*SPAM
$MAILDIR/junkmail/

where MAILDIR=$HOME/Maildir, or some other appropriate place for the user's MUA.


 


Thanks very much for the advice.
I've tried something like that, but in the end of .procmailrc file I've 
piped the "regular" messages to vdelivermail, instead
of delivering them directly (stupid, wasn't it :-)). I'm sure that it 
would work even that way, if I used -p option and 
correct paths in .procmailrc file.
Anyway, I've read in the net that there is some incompatibility of exit 
codes between procmail and qmail.
Since I was not sure if that's fixed, had no time to dig into the 
documentation and I was working

on production system, decided to use maildrop, which did the job nicely.
But I'm still curious if that incompatibility is fixed ...


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


RE: NATD Internal Network problems

2005-12-29 Thread Chris S. Wilson
Hmm, still does'nt work.

That seemed to be a typo however I still cant connect :(

CW

 

-Original Message-
From: Chuck Swiger [mailto:[EMAIL PROTECTED] 
Sent: Thursday, December 29, 2005 12:42 PM
To: Chris S. Wilson
Cc: freebsd-questions@freebsd.org
Subject: Re: NATD Internal Network problems

Chris S. Wilson wrote:
[ ... ]
> IE: 67.128.100.2 is my external IP, on my internal network I try to 
> connect to 67.128.101.2:80 which is forwarded in my natd.conf and the 
> connection is refused.
> 
> Does anyone know why?

Change the "-" to a "0" in:

redirect_port tcp 10.0.10.2:8- 67.128.100.2:80

...?

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


Re: NATD Internal Network problems

2005-12-29 Thread Chuck Swiger

Chris S. Wilson wrote:
[ ... ]

IE: 67.128.100.2 is my external IP, on my internal network I try to
connect to 67.128.101.2:80 which is forwarded in my natd.conf and the
connection is refused.

Does anyone know why?


Change the "-" to a "0" in:

   redirect_port tcp 10.0.10.2:8- 67.128.100.2:80

...?

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


Java Server Pages

2005-12-29 Thread Soo-Hyun Choi
hi,

apart from apache, what sort of things do i need to get JSP (java
server pages) working? (maybe, do i need to manually install tomcat on
top of apache?)

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


NATD Internal Network problems

2005-12-29 Thread Chris S. Wilson
Hello! :)

I am having a problem with freebsd 5.3-release and natd.

When I try to connect to a service on my internal network to an IP on my
external network that has a port redirected, it wont connect. 

IE: 67.128.100.2 is my external IP, on my internal network I try to
connect to 67.128.101.2:80 which is forwarded in my natd.conf and the
connection is refused.

Does anyone know why?

My Config:

IPFW Startup Script:

/sbin/ipfw -f flush
/sbin/ipfw add divert natd all from any to any via xl1
/sbin/ipfw add pass all from any to any

Natd.conf:

use_sockets yes
same_ports yes
redirect_port tcp 10.0.10.2:8- 67.128.100.2:80

Rc.conf

gateway_enable="YES"
firewall_enable="YES"
natd_enable="YES"
natd_interface="xl1"
natd_flags="-m -s -f /etc/natd.conf"

Thanks!

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


Gripe about new dhclient

2005-12-29 Thread Luke Dean


Ever since FreeBSD switched to OpenBSD's dhclient, I've had a serious 
problem.  I'm running 6-STABLE as of earlier this week, but the problem 
has existed ever since we switched dhclients.


Whenever I take the system offline long enough for the lease to expire, it 
will never get a new lease.  On startup dhclient appears to broadcast 
requests for an IP address, but it never gets one.


Once this situation occurs, the only way to get an IP address is to delete 
the leases file.  I picked up this tip from someone on the list a few 
months ago, and it works.  I even read that some people have gone so 
far as to create scripts that delete the leases file automatically 
somewhere in the boot process.  I really don't want to do this.  It's a 
hack and it defeats the purpose of having a leases file.


This morning I spent an hour on the phone talking a nontechnical person 
through the process of deleting the leases file so we could get the server 
back online after it had been offline overnight, and I'm not going to do 
that again.  I want to stick with the new dhclient program since it's the 
one that FreeBSD has adopted as its standard, but I can't live with this 
behavior.  Does anyone have a good solution?


my /etc/dhclient.conf is
prepend domain-name-servers 127.0.0.1;

my /etc/rc.conf contains
ifconfig_vr0="DHCP"
and does not override any standard behavior for dhclient.

This machine connects directly to a DSL modem, so there's no firewalls or 
NAT to interfere with getting an IP address.

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


Re: Going from bind9 to djbdns

2005-12-29 Thread DAve

Kristian Vaaf wrote:

Hello!

My friend, who hosts most of my stuff, is using djbdns. Probably for security 
and simplicity.

Anyway I thought I'd do the same. But I'm having serious difficulties finding a 
user-friendly howto.

I've basically picked stuff from here and there and put them together.

Would this be what I need to set up a djbdns equivalent to 
http://www.home.no/hedhnta/namedb?


Without reading through what you have (sorry, my hands are really full 
right now) I would suggest you check into http://lifewithdjbdns.org/ and 
DJB's own docs.


The biggest issue you will face is, it is not as complicated as it 
seems. Follow the directions, join the list for djbdns. When posting to 
the list, outline what you are trying to do, what you have already 
tried, what sources of information you based your configuration on.


Hope that helps.

DAve



--

Create users:

tinydns
axfrdns
dnslog
dnscache

--

Run these commands:

mkdir /etc/tinydns
mkdir /etc/axfrdns
mkdir /etc/dnslog
mkdir /etc/dnscache
mkdir /etc/dnscache/root
mkdir /etc/dnscache/root/ip
mkdir /etc/dnscache/root/servers

Should the above directories be set as home for the users above?

--

Continue with:

dnscache-conf dnscache dnslog /etc/dnscache 127.0.0.1

touch /etc/dnscache/root/ip/192.168.187.1
touch /etc/dnscache/root/ip/192.168.187.2

echo 127.0.0.1 > /etc/dnscache/root/servers/mydomain.lan
echo 127.0.0.1 > /etc/dnscache/root/servers/187.168.192.in-addr.arpa

tinydns-conf tinydns dnslog /etc/tinydns 213.187.181.70

axfrdns-conf axfrdns dnslog /etc/axfrdns /etc/tinydns 213.187.181.70

ln -s /etc/dnscache /service
ln -s /etc/tinydns /service

svc -t /service/dnscache

--

Would djbdns now have created this file for me?

If so, can I skip this? If not, I take it I should:

vim /etc/tinydns/data

And type in:

.mydomain.com::ns1.mydomain.com
@mydomain.com::mail.mydomain.com
=myhost.mydomain.com:213.181.112.43
+mail.mydomain.com:213.181.112.43
+www.mydomain.com:213.181.112.43

Then:

cd /etc/tinydns
make

--

To allow my 213.181.102.23 to be ns2.mydomain.com, I must do this?

vi /etc/axfrdns/tcp

And then type in:

213.181.102.23:allow,AXFR="*"

I have a lot of domains. I want the ns2 to handle them all.
Is the wildcard "*" valid, or should I list them all?

Anyway:

cd /etc/axfrdns
make

--

As for my zone files, I take it I could cram all my domains into the data file?
How would that look?

--

That's it.

I'm hoping that once everything is up, my configuration will be stored in files
that I can back up and easily redeploy incase of an accident (similar to my 
current
namedb setup I posted above).

Thank you all, and happy new year!
Kristian Vaaf


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




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


Re: pkgdb format

2005-12-29 Thread Mark Ovens

Colin Percival wrote:

Mark Ovens wrote:

After reading this thread, I killed the upgrade, deleted INDEX-6,
INDEX-6.db, and pkgdb.db; rebuilt pkgdb.db using `pkgdb -u' and re-ran
`portupgrade -af'

It started off OK (using dbm_hash) but after a couple of hours it had
started continually rebuilding pkgdb.db.

Anyone else got any ideas?


I had exactly the same problem during portupgrading after a 5.4->6.0
base system upgrade until I did a `portupgrade -fR portupgrade`, at
which point it stopped (and has been fine ever since).  I have no idea
what the problem is or why this would fix it, but you might like to
try this and see if it helps.



Thanks! That seems to have fixed it for me too - it's now using 
bdb1_btree consistently :-)


As to why, I'm not sure, but here's what upgrading portupgrade the way 
you suggested affects:


/home/mark{101}# portupgrade -fRn portupgrade

[snip]

--->  Listing the results (+:done / -:ignored / *:skipped / !:failed)
+ databases/db4 (db4-4.0.14_1,1)
+ lang/perl5.8 (perl-5.8.7_2)
+ lang/ruby18 (ruby-1.8.2_5,1)
+ databases/ruby-bdb (ruby18-bdb4-0.5.7)
+ sysutils/portupgrade (portupgrade-20051204)
--->  Packages processed: 5 done, 0 ignored, 0 skipped and 0 failed

I don't know if any of those were actually upgraded or just reinstalled 
but databases/ruby-bdb looks like a candidate for being the culprit 
since portupgrade uses ruby so, if ruby itself and one or more of it's 
dependencies are out of sync it could explain it; i.e. if part of ruby 
got upgraded but not another by `portupgrade -af' - although if that is 
the case it is puzzling that when I aborted the first run, deleted the 
INDEX and pkgdb files that it ran OK for a while - the ports that had 
already been upgraded hadn't been downgraded 


Maybe portupgrade needs to be changed to upgrade itself 
upward-recursively first whenever the -a option is used?


Thanks again for your help.

Regards,

Mark

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


Re: Harddrive size being reported incorrectly?

2005-12-29 Thread Travis Poppe
On Thursday 29 December 2005 12:22 pm, Jerry McAllister wrote:
> > Now, I understand that harddrive manufacturers measure things differently
> > (1000kbytes per gbyte rather than 1024, or something like that) than
> > expected, but I've been told by a few people that I should be getting
> > around 305-312GB of available space after the drive has been formatted.
>
> They didn't do their arithmetic.
>
> When you slice and partition the drive, there will likely be a handful
> of sectors that don't round out to an even value so those are dropped.
> Then, when you do the newfs, some space is taken by the spare superblocks
> and finally the system reserves 8%. So, I would say you are getting
> it all.

289GB is before the 8% reservation. I actually turned that off with tunefs.

Thanks to all who responded so quickly, makes me feel better about filling the 
drive up. Wanted to verify this before using the drive as to not end up 
having to re-newfs it in the future to gain back any possible unused space.

Thanks,
-- 
Travis Poppe
IRC: tlp @ irc.freenode.net
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: FreeBSD on IBM Blade Center?

2005-12-29 Thread fbsd_user

Gestur I need some clarification on your question.
Are you saying that you were able to use FreeBSD on
older versions of IBM BLADES
or that you were able to use older FreeBSD versions before???


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Jonathan
Fosburgh
Sent: Thursday, December 29, 2005 11:16 AM
To: freebsd-questions@freebsd.org
Cc: Gestur A. Grjetarsson
Subject: Re: FreeBSD on IBM Blade Center?


On Wednesday 28 December 2005 07:32, Gestur A. Grjetarsson wrote:
> Hi
>
> I have IBM Blade with Qlogic 2312 adapters using DS400 SAN
>
> now I have learned that after over 10 years of good FreeBSD
experience on
> various sorts of hardware, I can't use FreeBSD anymore as it
does'nt work
> on IBM Blade. I have read alot on this problem trying to solve
this problem
> and done alot of testing and hacking but without any progress.
>
> so I have two questions:
>
> is FreeBSD going to support IBM Blade?
>
> if it is going to support and work on IBM Blade, can you give me
an
> estimation on when it will be ready to run on IBM Blade?

The blade center is a bizarre beast and it is difficult to make the
officially
supported Operating Systems work correctly with it.  We had
difficulties
making AIX work properly on the JS20 blade, for instance.  With IBM
hardware,
it is best to stick with officially supported products.  Sometimes,
IBM
doesn't support something for a reason...

I would be (pleasantly) surprised to laern you were able to attach
FreeBSD to
IBM storage.  Of course, IBM will provide you with no help in either
of
these, and I wouldn't venture to guess if you can do concurrent
maintenance
on your DS4000 with FreeBSD running.

--
Jonathan Fosburgh
AIX and Storage Administrator
UT MD Anderson Cancer Center
Houston, TX

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


Re: Harddrive size being reported incorrectly?

2005-12-29 Thread Jerry McAllister
> 
> Hello, 
> 
> I've recently purchased an IDE 320GB Western Digital WD3200JB-22KFA0 
> harddrive for use in my FreeBSD 6.0-RELEASE fileserver. The BIOS in the 
> system 
> reports the drive as being a 320GB, but FreeBSD (dmesg) sees it as a 305245MB 
> (or 298GB drive) in two separate machines. When it has finally been formatted 
> for use, I get 289GB of available space.

A nominal 320GB drive works out to 298.02 GB using the 1024 MB number
system that the system uses.

eg  320,000,000,000 / 1024 / 1024 / 1024 / 1024 = 298.02
or  320,000,000,000 / 1,073,741,824 = 298.02

> Now, I understand that harddrive manufacturers measure things differently 
> (1000kbytes per gbyte rather than 1024, or something like that) than 
> expected, but I've been told by a few people that I should be getting around 
> 305-312GB of available space after the drive has been formatted. 

They didn't do their arithmetic.

When you slice and partition the drive, there will likely be a handful
of sectors that don't round out to an even value so those are dropped.
Then, when you do the newfs, some space is taken by the spare superblocks
and finally the system reserves 8%. So, I would say you are getting
it all.

> sysinstall had to adjust the drive geometry because the reported one was 
> 'invalid'. I tried to manually specify the geometry BIOS reported, but this 
> too was rejected as invalid. 

Let the system do what it thinks is right.
You are not losing any due to invalid geometry.

> 
> BIOS Geometry-CYL/HD/SECT: 65535/16/255 
> 
> Am I really getting the full potential out of this drive, or is something 
> wrong? 

Doesn't look like anything is wrong.   It looks right.

jerry

> 
> Thanks,
> -- 
> Travis Poppe
> IRC: tlp @ irc.freenode.net
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> 

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


Re: Harddrive size being reported incorrectly?

2005-12-29 Thread Matthew D. Fuller
On Thu, Dec 29, 2005 at 12:02:51PM -0700 I heard the voice of
Travis Poppe, and lo! it spake thus:
> 
> reports the drive as being a 320GB, but FreeBSD (dmesg) sees it as a
> 305245MB (or 298GB drive) in two separate machines. When it has
> finally been formatted for use, I get 289GB of available space.
> 
> Now, I understand that harddrive manufacturers measure things
> differently (1000kbytes per gbyte rather than 1024, or something
> like that) than expected, but I've been told by a few people that I
> should be getting around 305-312GB of available space after the
> drive has been formatted. 

Don't be told.  Do the math.

320,000,000,000 bytes (hard drive manufacturer 'gigabytes'), divided
by 1024 gives 312,500,000 kbytes, divided by 1024 gives 305,175.8
mbytes, divided by 1024 gives 298.023 gbytes according to a quick
dc(1).


-- 
Matthew Fuller (MF4839)   |  [EMAIL PROTECTED]
Systems/Network Administrator |  http://www.over-yonder.net/~fullermd/
   On the Internet, nobody can hear you scream.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Harddrive size being reported incorrectly?

2005-12-29 Thread Lowell Gilbert
Travis Poppe <[EMAIL PROTECTED]> writes:

> Hello, 
> 
> I've recently purchased an IDE 320GB Western Digital WD3200JB-22KFA0 
> harddrive for use in my FreeBSD 6.0-RELEASE fileserver. The BIOS in the 
> system 
> reports the drive as being a 320GB, but FreeBSD (dmesg) sees it as a 305245MB 
> (or 298GB drive) in two separate machines. When it has finally been formatted 
> for use, I get 289GB of available space.
> 
> Now, I understand that harddrive manufacturers measure things differently 
> (1000kbytes per gbyte rather than 1024, or something like that) than 
> expected, but I've been told by a few people that I should be getting around 
> 305-312GB of available space after the drive has been formatted. 

Well, no.  305245MB is (305245x1024x1024), or just a *hair* larger
than 320 x 10e10 bytes.  So what FreeBSD reports is exactly what you
should expect from the manufacturer's specification.

> sysinstall had to adjust the drive geometry because the reported one was 
> 'invalid'. I tried to manually specify the geometry BIOS reported, but this 
> too was rejected as invalid. 
> 
> BIOS Geometry-CYL/HD/SECT: 65535/16/255 

C/H/S geometries are (more or less) fictitious these days anyway.  I
let the installer do what it wants, and haven't had a problem in a
long time.

> Am I really getting the full potential out of this drive, or is something 
> wrong? 

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


RE: Harddrive size being reported incorrectly?

2005-12-29 Thread fbsd_user
Just use FreeBSD's best guess and it will work fine.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Travis
Poppe
Sent: Thursday, December 29, 2005 2:03 PM
To: freebsd-questions@freebsd.org; freebsd-hardware@freebsd.org
Subject: Harddrive size being reported incorrectly?


Hello,

I've recently purchased an IDE 320GB Western Digital WD3200JB-22KFA0
harddrive for use in my FreeBSD 6.0-RELEASE fileserver. The BIOS in
the system
reports the drive as being a 320GB, but FreeBSD (dmesg) sees it as a
305245MB
(or 298GB drive) in two separate machines. When it has finally been
formatted
for use, I get 289GB of available space.

Now, I understand that harddrive manufacturers measure things
differently
(1000kbytes per gbyte rather than 1024, or something like that) than
expected, but I've been told by a few people that I should be
getting around
305-312GB of available space after the drive has been formatted.

sysinstall had to adjust the drive geometry because the reported one
was
'invalid'. I tried to manually specify the geometry BIOS reported,
but this
too was rejected as invalid.

BIOS Geometry-CYL/HD/SECT: 65535/16/255

Am I really getting the full potential out of this drive, or is
something
wrong?

Thanks,
--
Travis Poppe
IRC: tlp @ irc.freenode.net
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
"[EMAIL PROTECTED]"

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


SCTP Kernel resource overhead

2005-12-29 Thread Keith Bottner
I am trying to find some information on what kernel resources are expended
when creating an SCTP association. In particular I wanted to be able to
compare a TCP connection to an SCTP association and see how the use of
kernel resources between the two different protocols differ. Does anybody
have an idea on where I can find such information?
 
I am quite familiar with TCP and UDP and am interested to see if SCTP can
replace a UDP implementation that has "reliability" added into the
application level. The reason UDP is being used is due to the
interconnectedness of the network of servers. If SCTP could be used instead
then that would definately be the better solution. Any ideas?
 
Thanks in advance,

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


Harddrive size being reported incorrectly?

2005-12-29 Thread Travis Poppe
Hello, 

I've recently purchased an IDE 320GB Western Digital WD3200JB-22KFA0 
harddrive for use in my FreeBSD 6.0-RELEASE fileserver. The BIOS in the system 
reports the drive as being a 320GB, but FreeBSD (dmesg) sees it as a 305245MB 
(or 298GB drive) in two separate machines. When it has finally been formatted 
for use, I get 289GB of available space.

Now, I understand that harddrive manufacturers measure things differently 
(1000kbytes per gbyte rather than 1024, or something like that) than 
expected, but I've been told by a few people that I should be getting around 
305-312GB of available space after the drive has been formatted. 

sysinstall had to adjust the drive geometry because the reported one was 
'invalid'. I tried to manually specify the geometry BIOS reported, but this 
too was rejected as invalid. 

BIOS Geometry-CYL/HD/SECT: 65535/16/255 

Am I really getting the full potential out of this drive, or is something 
wrong? 

Thanks,
-- 
Travis Poppe
IRC: tlp @ irc.freenode.net
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Going from bind9 to djbdns

2005-12-29 Thread Kirk Strauser
On Thursday 29 December 2005 10:55, Kristian Vaaf wrote:
> Hello!
>
> My friend, who hosts most of my stuff, is using djbdns. Probably for
> security and simplicity.

1) BIND 9 is a whole different animal from BIND <=8, with many fewer 
vulnerabilities.

2) In this case, "simplicity" means "staggering lack of functionality" - no 
IXFR, dynamic DNS, etc.

> Anyway I thought I'd do the same. But I'm having serious difficulties
> finding a user-friendly howto.

DJB hates users.  They do pesky things like find vulnerabilities in his code 
and make him work to find a reason to blame them on something else.
-- 
Kirk Strauser


pgpVXH011ahj1.pgp
Description: PGP signature


RE: New IDE drive in old PC

2005-12-29 Thread Gayn Winters
> On Behalf Of Gayn Winters
> Sent: Thursday, December 29, 2005 10:04 AM
> > On Behalf Of RW
> > Sent: Thursday, December 29, 2005 9:18 AM
> > On Wednesday 28 December 2005 07:14, Robert Slade wrote:
> > > On Tue, 2005-12-27 at 22:12, Robert Ames wrote:
> > > > I have an old (very old) ASUS P5 motherboard running 
> FreeBSD 5.4.
> > > > The boot disk is a 40MB Western Digital WD400 IDE drive 
> > jumpered to
> > > > only use 32MB so it can be booted from since the BIOS in this PC
> > > > (the latest and greatest) can't deal with anything larger 
> > than 32MB.
> > > > This PC is working well for me and I don't want to upgrade it.
> > > > However I would like to add a lot of disk space.  So my question
> > > > is, can I go out and buy a new 300 GB (or whatever) IDE disk and
> > > > attach it to the secondary IDE controller and hope to 
> use all 300
> > > > GB?  I will still use the old disk for booting and to 
> hold the OS.
> > > > The new disk will be just for data.  If this will "just 
> > work" how do
> > > > I configure the BIOS so the PC will boot with the large 
> > drive installed?
> > >
> > > Robert,
> > >
> > > If you had to jumper the boot disk for it to work with the 
> > BIOS of the motherboard, then the chances are that you would have to
> do the same
> > > with the 2nd hard drive.
> > >
> > > ISTR that ASUS produced updated BIOS' for most of their 
> > motherboards to get around this. Have a look at their website to see
> if there is and
> > > upgrade. There is also a area on the site for questions 
> > such as yours.
> > 
> > I would have thought the main issue is support for 48-bit 
> > LBA. The limit for 32-bit LBA is 137GB (128 GiB).
> 
> Since the OP wants more disk space and somehow can't upgrade this old
> BIOS (the preferred option), separate the issue into two:
> 1.  How to boot
> 2.  How to access the large disk.
> 
> I haven't tried it, but if you installed the large drive as a second
> disk, then you could boot off the older (jumpered even) hard drive.
> Even if the BIOS doesn't see the second hard drive, it 
> probably won't go
> belly up.  I would think FreeBSD would then see the second 
> drive when it
> booted and handle it correctly (since FreeBSD doesn't use the BIOS for
> access.)  Map the second drive as /data and enjoy. 
> 
> I recommend putting the old drive as primary (master) on the first IDE
> channel and putting the new drive as slave or as master on the second
> IDE channel.
> 
> I don't think trying this risks data on your old drive, but back it up
> anyway!  

Chuck Swinger's caveat will apply to the above:

FreeBSD will use LBA addressing modes, even if your BIOS does not
support it. 
However, to access a drive above 137GB, your hardware needs to support
48-bit LBA.

However, you can get a PCI ATA controller to do the job which is cheap
and 
convenient, or simply update your MB to something newer...

-- 
-Chuck

-gayn

Bristol Systems Inc.
714/532-6776
www.bristolsystems.com 
 


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


RE: New IDE drive in old PC

2005-12-29 Thread Gayn Winters
> On Behalf Of RW
> Sent: Thursday, December 29, 2005 9:18 AM
> On Wednesday 28 December 2005 07:14, Robert Slade wrote:
> > On Tue, 2005-12-27 at 22:12, Robert Ames wrote:
> > > I have an old (very old) ASUS P5 motherboard running FreeBSD 5.4.
> > > The boot disk is a 40MB Western Digital WD400 IDE drive 
> jumpered to
> > > only use 32MB so it can be booted from since the BIOS in this PC
> > > (the latest and greatest) can't deal with anything larger 
> than 32MB.
> > > This PC is working well for me and I don't want to upgrade it.
> > > However I would like to add a lot of disk space.  So my question
> > > is, can I go out and buy a new 300 GB (or whatever) IDE disk and
> > > attach it to the secondary IDE controller and hope to use all 300
> > > GB?  I will still use the old disk for booting and to hold the OS.
> > > The new disk will be just for data.  If this will "just 
> work" how do
> > > I configure the BIOS so the PC will boot with the large 
> drive installed?
> >
> > Robert,
> >
> > If you had to jumper the boot disk for it to work with the 
> BIOS of the motherboard, then the chances are that you would have to
do the same
> > with the 2nd hard drive.
> >
> > ISTR that ASUS produced updated BIOS' for most of their 
> motherboards to get around this. Have a look at their website to see
if there is and
> > upgrade. There is also a area on the site for questions 
> such as yours.
> 
> I would have thought the main issue is support for 48-bit 
> LBA. The limit for 32-bit LBA is 137GB (128 GiB).

Since the OP wants more disk space and somehow can't upgrade this old
BIOS (the preferred option), separate the issue into two:
1.  How to boot
2.  How to access the large disk.

I haven't tried it, but if you installed the large drive as a second
disk, then you could boot off the older (jumpered even) hard drive.
Even if the BIOS doesn't see the second hard drive, it probably won't go
belly up.  I would think FreeBSD would then see the second drive when it
booted and handle it correctly (since FreeBSD doesn't use the BIOS for
access.)  Map the second drive as /data and enjoy. 

I recommend putting the old drive as primary (master) on the first IDE
channel and putting the new drive as slave or as master on the second
IDE channel.

I don't think trying this risks data on your old drive, but back it up
anyway!  

Good luck, 

-gayn

Bristol Systems Inc.
714/532-6776
www.bristolsystems.com 


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


Re: New IDE drive in old PC

2005-12-29 Thread Chuck Swiger

Chris Whitehouse wrote:

On Tue, 2005-12-27 at 22:12, Robert Ames wrote:

[ ... ]

The new disk will be just for data.  If this will "just work" how do
I configure the BIOS so the PC will boot with the large drive installed?


I presume you mean GB for size. I just plugged a 250GB drive into a PIII 
500 Supermicro board. The bios thinks it is 8GB. I get No Rom Basic if I 
try to boot. I also tried it as an external USB drive and fdisk'd and 
bsdlabelled it as 250GB without problem using FBSD6.

[ ... ]

FreeBSD will use LBA addressing modes, even if your BIOS does not support it. 
However, to access a drive above 137GB, your hardware needs to support 48-bit LBA.


However, you can get a PCI ATA controller to do the job which is cheap and 
convenient, or simply update your MB to something newer...


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


Re: New IDE drive in old PC

2005-12-29 Thread Chris Whitehouse

On Tue, 2005-12-27 at 22:12, Robert Ames wrote:


I have an old (very old) ASUS P5 motherboard running FreeBSD 5.4.
The boot disk is a 40MB Western Digital WD400 IDE drive jumpered to
only use 32MB so it can be booted from since the BIOS in this PC
(the latest and greatest) can't deal with anything larger than 32MB.
This PC is working well for me and I don't want to upgrade it.
However I would like to add a lot of disk space.  So my question
is, can I go out and buy a new 300 GB (or whatever) IDE disk and
attach it to the secondary IDE controller and hope to use all 300
GB?  I will still use the old disk for booting and to hold the OS.
The new disk will be just for data.  If this will "just work" how do
I configure the BIOS so the PC will boot with the large drive installed?


I presume you mean GB for size. I just plugged a 250GB drive into a PIII 
500 Supermicro board. The bios thinks it is 8GB. I get No Rom Basic if I 
try to boot. I also tried it as an external USB drive and fdisk'd and 
bsdlabelled it as 250GB without problem using FBSD6.


I think if I could have booted there would have been no problem with the 
disk on the IDE chain as FBSD sees disks directly not through the BIOS 
(or so I understand).


I can test on a P5AB if you want but it will take a day or two.

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


Re: inetd[469] messages

2005-12-29 Thread James Long
> Date: Thu, 29 Dec 2005 14:11:39 +
> From: Robin Becker <[EMAIL PROTECTED]>
> Subject: inetd[469] messages
> To: freebsd-questions@freebsd.org
> Message-ID: <[EMAIL PROTECTED]>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> 
> Hi, I've recently installed/upgraded to freebsd 6.0 from freebsd 4.9. Most 
> things have gone very smoothly and I thank the developers.
> 
> However, I'm seeing a lot of these messages in the system log
> 
> Dec 29 02:41:46 www inetd[469]: ssh/tcp: bind: Address already in use
> 
> It seems like these are every 10 minutes. I suppose it's something obvious, 
> but 
> I don't know what.
> 
> Can anyone help?
> -- 
> Robin Becker

It's not "anything obvious" if you don't post any info.  Since inetd
is the one making the complaining log entries, why not post inetd.conf?

Just a guess, but I'd venture that you're running ssh as a daemon AND
from inetd.conf.  If so, remove the entry from inetd.conf.

But without seeing your inetd configuration, that's pure speculation.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: New IDE drive in old PC

2005-12-29 Thread RW
On Wednesday 28 December 2005 07:14, Robert Slade wrote:
> On Tue, 2005-12-27 at 22:12, Robert Ames wrote:
> > I have an old (very old) ASUS P5 motherboard running FreeBSD 5.4.
> > The boot disk is a 40MB Western Digital WD400 IDE drive jumpered to
> > only use 32MB so it can be booted from since the BIOS in this PC
> > (the latest and greatest) can't deal with anything larger than 32MB.
> > This PC is working well for me and I don't want to upgrade it.
> > However I would like to add a lot of disk space.  So my question
> > is, can I go out and buy a new 300 GB (or whatever) IDE disk and
> > attach it to the secondary IDE controller and hope to use all 300
> > GB?  I will still use the old disk for booting and to hold the OS.
> > The new disk will be just for data.  If this will "just work" how do
> > I configure the BIOS so the PC will boot with the large drive installed?
>
> Robert,
>
> If you had to jumper the boot disk for it to work with the BIOS of the
> motherboard, then the chances are that you would have to do the same
> with the 2nd hard drive.
>
> ISTR that ASUS produced updated BIOS' for most of their motherboards to
> get around this. Have a look at their website to see if there is and
> upgrade. There is also a area on the site for questions such as yours.

I would have thought the main issue is support for 48-bit LBA. The limit for 
32-bit LBA is 137GB (128 GiB).
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: 6.0-REL && isos of distfiles

2005-12-29 Thread Greg Barniskis

[EMAIL PROTECTED] wrote:

El día Thursday, December 29, 2005 a las 04:54:42PM +0100, Andreas Rudisch 
escribió:



On Thu, 29 Dec 2005 16:10:00 +0100, <[EMAIL PROTECTED]> wrote:

[snip]

Just install FreeBSD 6.0 and use the packages provided with the RELEASE,
or cvsup your ports tree and do a fresh install of the ports you need.



My point was that I don't have a fast Internet link at home to fetch all
the (new) sources for the distfiles and I was looking for distfiles on
CD which match exactly the 6.0-REL ports collection requirements;


If you don't have a fast connection you might want to consider 
installing the ports from packages (which *are* on the release ISO 
images, at least for popular ports) rather than compiling all your 
ports from source.


Anyway, do you think you could download an ISO of the sources all 
that much faster than just downloading the sources directly from 
their respective repositories around the world as is normally done? 
OK, maybe a little bit faster, but not that much.


If you simply must have sources not packages, you might consider 
using something like portupgrade -F to prefetch the sources you want 
separately from doing compilation, and just batch it to do that 
fetching overnight or something.




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


Re: 6.0-REL && isos of distfiles

2005-12-29 Thread Andreas Rudisch

On Thu, 29 Dec 2005 17:10:25 +0100, <[EMAIL PROTECTED]> wrote:


My point was that I don't have a fast Internet link at home to fetch all
the (new) sources for the distfiles and I was looking for distfiles on
CD which match exactly the 6.0-REL ports collection requirements;


In that case use the packages from the install CDs and do _not_ use ports.

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


Going from bind9 to djbdns

2005-12-29 Thread Kristian Vaaf

Hello!

My friend, who hosts most of my stuff, is using djbdns. Probably for security 
and simplicity.

Anyway I thought I'd do the same. But I'm having serious difficulties finding a 
user-friendly howto.

I've basically picked stuff from here and there and put them together.

Would this be what I need to set up a djbdns equivalent to 
http://www.home.no/hedhnta/namedb?

--

Create users:

tinydns
axfrdns
dnslog
dnscache

--

Run these commands:

mkdir /etc/tinydns
mkdir /etc/axfrdns
mkdir /etc/dnslog
mkdir /etc/dnscache
mkdir /etc/dnscache/root
mkdir /etc/dnscache/root/ip
mkdir /etc/dnscache/root/servers

Should the above directories be set as home for the users above?

--

Continue with:

dnscache-conf dnscache dnslog /etc/dnscache 127.0.0.1

touch /etc/dnscache/root/ip/192.168.187.1
touch /etc/dnscache/root/ip/192.168.187.2

echo 127.0.0.1 > /etc/dnscache/root/servers/mydomain.lan
echo 127.0.0.1 > /etc/dnscache/root/servers/187.168.192.in-addr.arpa

tinydns-conf tinydns dnslog /etc/tinydns 213.187.181.70

axfrdns-conf axfrdns dnslog /etc/axfrdns /etc/tinydns 213.187.181.70

ln -s /etc/dnscache /service
ln -s /etc/tinydns /service

svc -t /service/dnscache

--

Would djbdns now have created this file for me?

If so, can I skip this? If not, I take it I should:

vim /etc/tinydns/data

And type in:

.mydomain.com::ns1.mydomain.com
@mydomain.com::mail.mydomain.com
=myhost.mydomain.com:213.181.112.43
+mail.mydomain.com:213.181.112.43
+www.mydomain.com:213.181.112.43

Then:

cd /etc/tinydns
make

--

To allow my 213.181.102.23 to be ns2.mydomain.com, I must do this?

vi /etc/axfrdns/tcp

And then type in:

213.181.102.23:allow,AXFR="*"

I have a lot of domains. I want the ns2 to handle them all.
Is the wildcard "*" valid, or should I list them all?

Anyway:

cd /etc/axfrdns
make

--

As for my zone files, I take it I could cram all my domains into the data file?
How would that look?

--

That's it.

I'm hoping that once everything is up, my configuration will be stored in files
that I can back up and easily redeploy incase of an accident (similar to my 
current
namedb setup I posted above).

Thank you all, and happy new year!
Kristian Vaaf


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


ex/vi: Error: Log file: No such file or directory (solved)

2005-12-29 Thread Jed Clear
For the record[1]:

After a non OS drive hardware[2] failure I started getting the following
when trying to vi a file as a non root user:

ex/vi: Error: Log file: No such file or directory

I spent time chasing a few other things since chunks of /var and /etc
were also missing[3].  However, I was ultimately forced to use the
source, Luke.  What I found was that my non root account had $TMPDIR set
to a directory that was on the defunct disk.

-Jed

[1] So Google will show up something less useless in the future.
[2] The second Maxtor Atlas 10K IV to fail on me.
[3] Possibly related to the SCSI controller aborting.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Unable to install Webmin

2005-12-29 Thread Gary Hayers

Lowell Gilbert wrote:

Gerard Seibert <[EMAIL PROTECTED]> writes:

Attempting to start Webmin mini web server..
Segmentation fault (core dumped)
ERROR: Failed to start web server!


Script done on Wed Dec 28 08:09:53 2005


I have attempted to remove all traces of Webmin and reinstall, but
still it fails. I even removed and reinstalled Perl, but that made no
difference either.

I checked, and there are no optimizatons in my /etc/make.conf file, so
that should not be the cause of the problem.

What else should I look into to correct this problem?



Hmm.  I can't reproduce the problem.

Did you install from the port?
If so, did you set the rc.conf variable as instructed by the port?


I also have this problem, do I need the suid perl or will the default 
perl install be ok?


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


Re: your advice on vinum, RAIDs

2005-12-29 Thread Robert Slade
On Thu, 2005-12-29 at 15:05, Joe Auty wrote:
> On Dec 29, 2005, at 4:14 AM, Robert Slade wrote:
> 
> > On Thu, 2005-12-29 at 06:09, Joe Auty wrote:
> >> Hello,
> >>
> >> I've been considering buying another hard drive for my FreeBSD
> >> machine, and building a RAID with my current hard drive so that both
> >> drives are treated as one.
> >>
> >> Do any of you have experience in this area? Is this advisable? I'm
> >> assuming I'd be looking at creating a RAID-5? Can this be done
> >> without reformatting my current drive? Does this setup work well? Do
> >> you have any general advice for me? I need to know if there is risk
> >> involved here.
> >>
> >>
> >>
> >> Thanks in advance!
> >
> > Joe,
> >
> > It depends on what you need to do. If you just want data integrity  
> > then
> > you need raid 1 - mirroring and GEOM is your friend. There is a good
> > section in the Handbook on setting a GEOM raid 1 without formatting  
> > the
> > original drive.
> >
> >
> > If you are also looking for more drive space, then raid 5 gives a
> > measure of both.
> >
> > In both cases, the warning of backing up the system first applies.
> >
> 
> 
> Hmmm. What I need is more drive space. Should I look at GEOM  
> rather than vinum? Do you know whether the drives would need to be  
> reformatted in order to setup the RAID?
> 
> I'll definitely heed your advice on backing up the drive first!

Joe,

I if you are not worried about integrity, I would leave Raid alone. To
add more space, just the drive and mount it. I have just added more
space on a machine by mounting a new drive as /data and copying the home
dirs across then relinking the /home dir to home. 

Have a look at:

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

Rob

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


Re: USB mice

2005-12-29 Thread Jonathan Fosburgh
On Saturday 24 December 2005 04:15, Teilhard Knight wrote:

>
> It didn't work. Actually I have a little more than a USB mouse, I have a
> wireless mouse and wireless keyboard which are both controlled by a central
> unit which plugs into an USB port in the computer. The keyboard works well,
> with the option of booting with an USB keyboard, but I cannot make the
> mouse work. Any suggestions?
>

Try one of the attached patches.  They are taken from usb/77604.  The patch is 
now known to work with at least three different manufacturers mice, and so 
far as I have been able to tell doesn't break anything that works without it.  
Maybe someone will eventually commit these patches to the appropriate trees, 
the PR has only been open for about 10 months...

Choose one of the patches based on the release of FreeBSD you are using.  the 
hid.c.patch file is for RELENG_5, hid.c.patch.6 is for RELENG_6 and HEAD. 
Deposit the file in /usr/src/sys/dev/usb and run patch --- hid.c.orig	Sun Feb  6 06:41:00 2005
+++ hid.c	Wed Mar  9 11:31:02 2005
@@ -371,14 +371,23 @@
 {
 	struct hid_data *d;
 	struct hid_item h;
-	int size, id;
+	int hi, lo, size, id;
 
 	id = 0;
+	hi = lo = -1;
 	for (d = hid_start_parse(buf, len, 1<--- hid.c.orig	Tue Feb 22 01:27:35 2005
+++ hid.c	Tue Feb 22 01:38:44 2005
@@ -371,14 +371,22 @@ hid_report_size(void *buf, int len, enum
 {
 	struct hid_data *d;
 	struct hid_item h;
-	int size, id;
+	int hi, lo, size, id;
 
 	id = 0;
+	hi = lo = -1;
 	for (d = hid_start_parse(buf, len, 1<

pgpcwjnYCM3qs.pgp
Description: PGP signature


Re: FreeBSD on IBM Blade Center?

2005-12-29 Thread Jonathan Fosburgh
On Wednesday 28 December 2005 07:32, Gestur A. Grjetarsson wrote:
> Hi
>
> I have IBM Blade with Qlogic 2312 adapters using DS400 SAN
>
> now I have learned that after over 10 years of good FreeBSD experience on
> various sorts of hardware, I can't use FreeBSD anymore as it does'nt work
> on IBM Blade. I have read alot on this problem trying to solve this problem
> and done alot of testing and hacking but without any progress.
>
> so I have two questions:
>
> is FreeBSD going to support IBM Blade?
>
> if it is going to support and work on IBM Blade, can you give me an
> estimation on when it will be ready to run on IBM Blade?

The blade center is a bizarre beast and it is difficult to make the officially 
supported Operating Systems work correctly with it.  We had difficulties 
making AIX work properly on the JS20 blade, for instance.  With IBM hardware, 
it is best to stick with officially supported products.  Sometimes, IBM 
doesn't support something for a reason...

I would be (pleasantly) surprised to laern you were able to attach FreeBSD to 
IBM storage.  Of course, IBM will provide you with no help in either of 
these, and I wouldn't venture to guess if you can do concurrent maintenance 
on your DS4000 with FreeBSD running.

-- 
Jonathan Fosburgh
AIX and Storage Administrator
UT MD Anderson Cancer Center
Houston, TX 


pgpHYYIFGgQ1g.pgp
Description: PGP signature


Re: 6.0-REL && isos of distfiles

2005-12-29 Thread guru
El día Thursday, December 29, 2005 a las 04:54:42PM +0100, Andreas Rudisch 
escribió:

> On Thu, 29 Dec 2005 16:10:00 +0100, <[EMAIL PROTECTED]> wrote:
> 
> >El día Thursday, December 29, 2005 a las 04:58:14PM +0200, Giorgos  
> >Keramidas escribió:
> >
> >>The distfiles are the sources of the ported programs.
> >
> >I know.
> >
> >>They are
> >>not specific to a single release.  You can just copy over the
> >>distfiles from the older notebook and rebuild your ports.
> >
> >That's not true. I copied over the /usr/ports/distfiles from my
> >5.4-REL to the 6.0-REL but the ports-collection which comes with
> >6.0-REL will use other sources while doing 'make install' in
> >/usr/ports/x11/kde:
> 
> Well, since 6.0 came out much after 5.4, it uses updated ports/
> packages (new features, bugfixes), so the versions of some ports
> of 6.0 will be higher than of 5.4.

Yes, that's the reason and that was what I discovered a few seconds
after fireing up 'make install' in /usr/ports/x11/kde;

to give one example: it is building KDE 3.4.2 and not 3.4.0 which was
used by 5.4-REL;

> What is the point in installing a
> new release of FreeBSD and using 'old' ports.
> 
> Just install FreeBSD 6.0 and use the packages provided with the RELEASE,
> or cvsup your ports tree and do a fresh install of the ports you need.

My point was that I don't have a fast Internet link at home to fetch all
the (new) sources for the distfiles and I was looking for distfiles on
CD which match exactly the 6.0-REL ports collection requirements;

matthias

-- 
Matthias Apitz / Sisis Informationssysteme GmbH
ein Tochterunternehmen der OCLC PICA B.V. Leiden (NL)
D-82041 Oberhaching, Gruenwalder Weg 28g
Fon: +49 89 / 61308-351, Fax: -399, Mobile +49 170 4527211
http://www.sisis.de/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: sudo TTY Unknown messages

2005-12-29 Thread Matthew Seaman

Robin Becker wrote:

I'm being daft; it seems sudo always logs itself. Is there away to get 
sudo to not syslog if it's root sudoing as www? I looked at sudoers, but 
couldn't see an obvious way to set !syslog for


root > www using svnadmin or svnlook etc etc


Well, if you're starting as root, you can just use:

  su user -c 'some command line'

to run a command as whatever user you want -- no password required.  su will 
log to /var/log/auth.log but it's nowhere near as verbose as sudo.

Or you can use /etc/crontab which has an extra  field specifying which UID
a command should be run as, unlike the normal per-user crontab files.  Usual
advice is to leave /etc/crontab alone and put your local cron jobs into the
per-user crontab files.  However the system crontab file /can/ be customised
if you really want to -- you'll just have to merge any changes when you do 
system
updates and so forth.

But on the whole, the best and cleanest solution to running cron jobs as some
arbitrary user is to create a crontab file for that user.  


Cheers,

Matthew

--
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
 Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
 Kent, CT11 9PW


signature.asc
Description: OpenPGP digital signature


Re: 6.0-REL && isos of distfiles

2005-12-29 Thread Andreas Rudisch

On Thu, 29 Dec 2005 16:10:00 +0100, <[EMAIL PROTECTED]> wrote:

El día Thursday, December 29, 2005 a las 04:58:14PM +0200, Giorgos  
Keramidas escribió:



The distfiles are the sources of the ported programs.


I know.


They are
not specific to a single release.  You can just copy over the
distfiles from the older notebook and rebuild your ports.


That's not true. I copied over the /usr/ports/distfiles from my
5.4-REL to the 6.0-REL but the ports-collection which comes with
6.0-REL will use other sources while doing 'make install' in
/usr/ports/x11/kde:


Well, since 6.0 came out much after 5.4, it uses updated ports/
packages (new features, bugfixes), so the versions of some ports
of 6.0 will be higher than of 5.4. What is the point in installing a
new release of FreeBSD and using 'old' ports.

Just install FreeBSD 6.0 and use the packages provided with the RELEASE,
or cvsup your ports tree and do a fresh install of the ports you need.

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


Re: Preserve date when cp over smbfs

2005-12-29 Thread Gilbert Cao
On Wed, Dec 28, 2005 at 12:25:58PM +0100, Gilbert Cao wrote:
> 
> I have quickly looked into the source code of both cp and gqview, and it seems
> that cp relies on utimes(), and gqview relies on utime().
> 

Hi,
I have finally done my little investigation when applying utime() or utimes()
to a SMB file path :

In both case, the access and modification times are preserved.
So it seems that the cp and tar utilities does not its job about
preserving times over SMB path (I still don't know why ...).

I have a source code example available, if anyone is interested.

-- 

 (hika) Gilbert Cao
 http://www.miaouirc.com
  - MiaouIRC Project 2002-2003
 http://www.bsdmon.com
  - The BSD DMON Power to serve
 IRC : #miaule at IRCNET Network



pgpIq0Z68l8pw.pgp
Description: PGP signature


Re: Using SCHED_ULE vs. SCHED_4BSD ...

2005-12-29 Thread Martin Cracauer
Kiffin Gish wrote on Thu, Dec 29, 2005 at 12:21:00PM +0100: 
> I recently upgraded from 5.4 to 6.0 and noticed the introduction of
> option SCHED_ULE for supporting multi-processor environments.
> 
> However, I understood that using SCHED_ULE with only one CPU can also
> improve performance significantly.
> 
> Is this true, and if so, what are the risks involved dropping good old
> SCHED_4BSD for the new-and-improved scheduler?

I have not even noticed an increase in performance from ULE when
running my benchmark suite on a two-processor system.

Some people say ULE has problems, but mostly on high CPU counts.

So it probably doesn't matter either way.

Martin
-- 
%%%
Martin Cracauerhttp://www.cons.org/cracauer/
FreeBSD - where you want to go, today.  http://www.freebsd.org/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: your advice on vinum, RAIDs

2005-12-29 Thread Martin Cracauer
Joe Auty wrote on Thu, Dec 29, 2005 at 10:12:02AM -0500: 
> Some great advice here!
> 
> What RAID level would you recommend for simply maximizing the hard  
> disk space I have available? This is just my personal backup machine  
> and will consist of two drives, so I don't need kick ass performance,  
> and I don't need my files mirrored. I take it that striping is what I  
> need to look at? RAID-0? Can I setup striping without reformatting,  
> or only mirroring?

Why do you want to RAID in first place then? RAID-0 is the only option
that doesn't lose space, but it increases your risk for the benefit of
performance.  Since you don't need performance there is no point in
taking the risk, much less the bootstrapping hassle.

You cannot convert existing filesystems to raid without first moving
the data somewhere.

Martin
-- 
%%%
Martin Cracauerhttp://www.cons.org/cracauer/
FreeBSD - where you want to go, today.  http://www.freebsd.org/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Is there a Freebsd equivalent to this Linux header file

2005-12-29 Thread Ray Seals
On Thu, 2005-12-29 at 09:09 -0600, Dan Nelson wrote:
> In the last episode (Dec 29), Ray Seals said:
> So plug it in and run tcpdump :)
> 

Well, that's what I did.  When you connect the 2 ports they never show a
connection but they pass traffic.  This is because by default they are
in Mode 0.

Oh, I forgot to mention the "modes":

Mode 0: Niagara 2261 in this mode, powers up with Ethernet port 1 and
Ethernet port 2 connected together and the Intel Giga bit controller off
line. In order to set the two ports to send and receive data traffic
from Intel Giga bit MAC and function as a dual giga bit NIC card, the on
board local CPU expects to receive a heartbeat signal from the host at a
pre-programmed interval. In the event that the local CPU does not
receive the heartbeat it removed the Intel Giga bit MAC from the data
path and connects the two Ethernet ports. For detail on local on board
CPU please refer section 2.4

Mode 1: Niagara 2261 in mode 1, powers up with Ethernet port 1 and
Ethernet port 2 not connected together but operate independently similar
to dual giga bit cards. In order to bypass the Intel Giga bit controller
and short the two ports together, the local CPU expects to receive a
heartbeat from the host. For detail on local on board CPU please refer
section 2.4

Mode 2: Niagara 2261 in mode 2 functions similar to dual giga bit NIC
cards. Each port is independent of the other one. No heartbeat is
required.

So it looks like the key here is to setup a heartbeat function so they
can go "active".  I also thought about setting the card to mode 2 just
to play around with tcpdump on 2 different segments, but I could do that
with 2 gig nics I have laying on my desk.

I've contacted the manufacturer and actually have a contact person to
talk to there (via e-mail).  I'm going to ask if they are opposed to
open source development or anything like that.  There source for the
utility programs doesn't have any copy right info, etc.

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


Re: sudo TTY Unknown messages

2005-12-29 Thread Robin Becker

Robin Becker wrote:

I am getting messages from sudo concerning an unknown TTY.

eg

Dec 29 02:30:40 www sudo: root : TTY=unknown ; 
PWD=/usr/tmp/BU/svn_backups ; USER=www ; COMMAND=/usr/local/bin/svnadmin 
dump -q -r0:19591 /svn/private


I think this is caused by not having a tty device in the root cron job. 
I would prefer to keep only one main cron job for my system or is that 
frowned upon.
I'm being daft; it seems sudo always logs itself. Is there away to get sudo to 
not syslog if it's root sudoing as www? I looked at sudoers, but couldn't see an 
obvious way to set !syslog for


root > www using svnadmin or svnlook etc etc
--
Robin Becker
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: your advice on vinum, RAIDs

2005-12-29 Thread Chuck Swiger

Joe Auty wrote:

Some great advice here!

What RAID level would you recommend for simply maximizing the hard  disk 
space I have available?


RAID-0 striping.  Note that it gives you no redundancy or protection.

This is just my personal backup machine  and 
will consist of two drives, so I don't need kick ass performance,  and I 
don't need my files mirrored. I take it that striping is what I  need to 
look at? RAID-0? Can I setup striping without reformatting,  or only 
mirroring?


If you plan to use RAID most effectively, plan to reformat.
Do not attempt to setup RAID without having backups.

However, you can glue two disks together without reformatting using something 
called "concatenation", but it doesn't perform as well as reformatting using 
striping.


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


Re: inetd[469] messages

2005-12-29 Thread Robin Becker

Robin Becker wrote:
Hi, I've recently installed/upgraded to freebsd 6.0 from freebsd 4.9. 
Most things have gone very smoothly and I thank the developers.


However, I'm seeing a lot of these messages in the system log

Dec 29 02:41:46 www inetd[469]: ssh/tcp: bind: Address already in use

It seems like these are every 10 minutes. I suppose it's something 
obvious, but I don't know what.


Can anyone help?


My googling has improved: I see this from Kevin Kinsey


sshd(8) is enabled by adding:

 sshd_enable="YES"

to /etc/rc.conf. It is started at bootup
and it seems likely that running it from inetd
as well would cause an error message such as
the one(s) you are describing.


I blindly added ssh and ftp to the inetd.conf file at install time. Do I need to 
remove one or both? Is there a place where one can see which (if any daemons 
need to be started in the old way). It seems to me that if the standard sshd 
startup has changed then a simple comment in inetd.conf would help to avoid 
problems for people like me.

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


Re: Unable to install Webmin

2005-12-29 Thread Lowell Gilbert
Gerard Seibert <[EMAIL PROTECTED]> writes:

> I have tried several time to install Webmin, but without
> success. Actually, the program does install, it just cannot be run.
> 
> After installing the program, I attempted to run the setup.sh
> script. This is the output from that script.
> 
> Script started on Wed Dec 28 08:08:38 2005
> ***
> *Welcome to the Webmin setup script, version 1.250*
> ***
> Webmin is a web-based interface that allows Unix-like operating
> systems and common Unix services to be easily administered.
> 
> Installing Webmin in /usr/local/lib/webmin ...
> 
> ***
> Webmin uses separate directories for configuration files and log files.
> Unless you want to run multiple versions of Webmin at the same time
> you can just accept the defaults.
> 
> Config file directory [/usr/local/etc/webmin]: Log file directory
> [/var/log/webmin]:
> 
> ***
> Webmin is written entirely in Perl. Please enter the full path to the
> Perl 5 interpreter on your system.
> 
> Full path to perl (default /usr/bin/perl):
> 
> Testing Perl ...
> Perl seems to be installed ok
> 
> ***
> Operating system name:FreeBSD
> Operating system version: 5.4
> 
> ***
> Webmin uses its own password protected web server to provide access
> to the administration programs. The setup script needs to know :
>   - What port to run the web server on. There must not be another
> web server already using this port.
>   - The login name required to access the web server.
>   - The password required to access the web server.
>   - If the webserver should use SSL (if your system supports it).
>   - Whether to start webmin at boot time.
> 
> Web server port (default 1): Login name (default admin): XXX
> Login password:  Password again:  Use SSL (y/n): y
> ***
> Creating web server config files..
> ..done
> 
> Creating access control file..
> ..done
> 
> Creating start and stop scripts..
> ..done
> 
> Copying config files..
> ..done
> 
> Creating uninstall script /usr/local/etc/webmin/uninstall.sh ..
> ..done
> 
> Changing ownership and permissions ..
> ..done
> 
> Running postinstall scripts ..
> ..done
> 
> Attempting to start Webmin mini web server..
> Segmentation fault (core dumped)
> ERROR: Failed to start web server!
> 
> 
> Script done on Wed Dec 28 08:09:53 2005
> 
> 
> I have attempted to remove all traces of Webmin and reinstall, but
> still it fails. I even removed and reinstalled Perl, but that made no
> difference either.
> 
> I checked, and there are no optimizatons in my /etc/make.conf file, so
> that should not be the cause of the problem.
> 
> What else should I look into to correct this problem?

Hmm.  I can't reproduce the problem.

Did you install from the port?
If so, did you set the rc.conf variable as instructed by the port?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: mpd problem

2005-12-29 Thread Nikos Vassiliadis
On Wednesday 28 December 2005 16:59, Mile wrote:
> Hi,
>
> I have a FreeBSD computer acting as gateway to windows clients
> Some sites like msn.com, opera.com, hp.com, najdi.si  dont work on
> LAN... because of MTU problem.
>
> If i set MTU to 1492 instead of default 1500 then this sites work! (on
> windows)
>
> (If i use userland pppoe then everything works without setting MTU on LAN.
> (itself has an option mssfixup).)
>
> I tried with adding "set iface enable tcpmssfix" to mpd.conf as described
> in mpd documentation, but it still doesnt work... msn.com and opera.com
> work now... but others dont.

There is a netgraph node that changes MSS in FreeBSD-6 and it works fine.
Read ng_tcpmss(4). If you are using FreeBSD-5, google it.

HTH, Nikos

>
> mpd.conf (Version 3.18)
> default:
> load PPPoE
>
> PPPoE:
> new -i ng0 PPPoE PPPoE
> set iface addrs 1.1.1.1 2.2.2.2
> set iface route default
> set iface disable on-demand
> set iface idle 0
> set bundle disable multilink
> set bundle authname xxx
> set link no acfcomp protocomp
> set link disable pap chap
> set link accept chap
> set link mtu 1492
> set link keep-alive 10 60
> set ipcp yes vjcomp
> set ipcp ranges 0.0.0.0/0 0.0.0.0/0
> set iface enable tcpmssfix
> open iface
>
>
> natd.conf
> interface ng0
> dynamic yes
> use_sockets yes
>
>
> ipfw
> #natd
> /sbin/ipfw 15 add divert natd all from any to any via ng0
>
>
> sysctl.conf
> security.bsd.see_other_uids=0
> security.bsd.see_other_gids=0
> security.bsd.unprivileged_read_msgbuf=0
> net.inet.tcp.blackhole=2
> net.inet.udp.blackhole=1
> vm.swap_idle_enabled=1
> kern.ipc.maxsockbuf=2097152
> kern.ipc.somaxconn=2048
> kern.maxfiles=65536
> kern.maxfilesperproc=32768
> net.inet.tcp.rfc1323=0
> net.inet.tcp.delayed_ack=0
> net.inet.tcp.sendspace=32768
> net.inet.tcp.recvspace=32768
> net.inet.udp.recvspace=32768
> net.inet.udp.maxdgram=57344
> net.local.stream.recvspace=32768
> net.local.stream.sendspace=32768
> net.inet.icmp.drop_redirect=1
> net.inet.icmp.log_redirect=1
> net.inet.ip.redirect=1
> net.inet6.ip6.redirect=0
> net.inet.ip.sourceroute=1
> net.inet.ip.accept_sourceroute=1
> net.link.ether.inet.max_age=1200
> net.inet.icmp.bmcastecho=0
> #net.inet.tcp.drop_synfin=1
> net.inet.ip.fw.verbose=1
>
> If you need any more info please contact me.
>
>
> thanks,
> Brane
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: your advice on vinum, RAIDs

2005-12-29 Thread Joe Auty

Some great advice here!

What RAID level would you recommend for simply maximizing the hard  
disk space I have available? This is just my personal backup machine  
and will consist of two drives, so I don't need kick ass performance,  
and I don't need my files mirrored. I take it that striping is what I  
need to look at? RAID-0? Can I setup striping without reformatting,  
or only mirroring?


Sorry, still learning the basics here


On Dec 29, 2005, at 9:31 AM, Chuck Swiger wrote:


Joe Auty wrote:
I've been considering buying another hard drive for my FreeBSD   
machine, and building a RAID with my current hard drive so that  
both  drives are treated as one.


This is known as RAID-1 mirroring.


Do any of you have experience in this area? Is this advisable?


Yes and yes.  :-)


I'm assuming I'd be looking at creating a RAID-5?


Not with only two drives.
RAID-5 needs at least 3, and is wasteful unless you have 4-5.


Can this be done without reformatting my current drive?


You can set up mirroring without reformatting, but be sure you have  
good backups of your data regardless.


Does this setup work well?  Do you have any general advice for me?  
I need to

know if there is risk  involved here.


When choosing RAID levels, you are making a tradeoff between  
performance, reliability, and cost:


If you prefer... ...consider using:
---
performance, reliability:RAID-1 mirroring
performance, cost:   RAID-0 striping
reliability, performance:RAID-1 mirroring (+ hot spare, if  
possible)

reliability, cost:   RAID-5 (+ hot spare)
cost, reliability:   RAID-5
cost, performance:   RAID-0 striping

If you've got enough drives, using RAID-10 or RAID-50 will also  
improve performance compared to stock RAID-1 or RAID-5 modes.


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


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


Re: 6.0-REL && isos of distfiles

2005-12-29 Thread guru
El día Thursday, December 29, 2005 a las 04:58:14PM +0200, Giorgos Keramidas 
escribió:

> On 2005-12-29 15:14, [EMAIL PROTECTED] wrote:
> > I'm installing a brand new notebook and have to do it with 6.0-REL
> > because the SATA support; so I can't use my 1 GByte distfiles of the
> > 5.4-REL which I have on the older notebook; is there somehow a place
> > to download isos of the distfiles? I know that I could buy them but
> > not right now here in Germany before the weekend :-(
> 
> The distfiles are the sources of the ported programs.

I know.

> They are
> not specific to a single release.  You can just copy over the
> distfiles from the older notebook and rebuild your ports.

That's not true. I copied over the /usr/ports/distfiles from my
5.4-REL to the 6.0-REL but the ports-collection which comes with
6.0-REL will use other sources while doing 'make install' in
/usr/ports/x11/kde:

5.4-REL:

$ ls -lutr libtoo*
-rw-r--r--  1 root  wheel  2699923 29 dic 13:17 libtool-1.5.10.tar.gz
-rw-r--r--  1 root  wheel   538884 29 dic 13:18 libtool-1.3.5.tar.gz
$ cd KDE
$ ls -lutr kdeba*
-rw-r--r--  1 root  wheel  22670772 29 dic 13:18 kdebase-3.4.0.tar.bz2

6.0-REL:

$ ls -lutr libtoo*
-rw-r--r--  1 root  wheel  2699923 Dec 29 13:17 libtool-1.5.10.tar.gz
-rw-r--r--  1 root  wheel  2780846 Dec 29 13:28 libtool-1.5.18.tar.gz

-rw-r--r--  1 root  wheel   538884 Dec 29 14:10 libtool-1.3.5.tar.gz
$ cd KDE
$ ls -lutr kdeba*
-rw-r--r--  1 root  wheel  22670772 Dec 29 13:18 kdebase-3.4.0.tar.bz2
-rw-r--r--  1 root  wheel  22466433 Dec 29 15:37 kdebase-3.4.2.tar.bz2
 
> There is no such thing as "an ISO of distfiles".

Thx.

matthias

-- 
Matthias Apitz / Sisis Informationssysteme GmbH
ein Tochterunternehmen der OCLC PICA B.V. Leiden (NL)
D-82041 Oberhaching, Gruenwalder Weg 28g
Fon: +49 89 / 61308-351, Fax: -399, Mobile +49 170 4527211
http://www.sisis.de/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Is there a Freebsd equivalent to this Linux header file

2005-12-29 Thread Dan Nelson
In the last episode (Dec 29), Ray Seals said:
> On Wed, 2005-12-28 at 14:42 -0600, Dan Nelson wrote:
> > That's probably a Linux-specific ioctl.  Chances are that FreeBSD's
> > ifconfig command will do what you want (so its sources are a good
> > place to start looking); what do you mean by "change it's operating
> > mode"?
> 
> Here is a snippet from the specs PDF:
> 
> Feature Summary   
...

none of which should require a custom ioctl, though.

> So, it can do a lot of cool things, but at this point I just wanted
> to set the box up as an in-line sniffer using this card for tcpdump
> only and the other built in nic (on the PC) as the management port.

So plug it in and run tcpdump :)

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


Re: your advice on vinum, RAIDs

2005-12-29 Thread Joe Auty


On Dec 29, 2005, at 4:14 AM, Robert Slade wrote:


On Thu, 2005-12-29 at 06:09, Joe Auty wrote:

Hello,

I've been considering buying another hard drive for my FreeBSD
machine, and building a RAID with my current hard drive so that both
drives are treated as one.

Do any of you have experience in this area? Is this advisable? I'm
assuming I'd be looking at creating a RAID-5? Can this be done
without reformatting my current drive? Does this setup work well? Do
you have any general advice for me? I need to know if there is risk
involved here.



Thanks in advance!


Joe,

It depends on what you need to do. If you just want data integrity  
then

you need raid 1 - mirroring and GEOM is your friend. There is a good
section in the Handbook on setting a GEOM raid 1 without formatting  
the

original drive.


If you are also looking for more drive space, then raid 5 gives a
measure of both.

In both cases, the warning of backing up the system first applies.




Hmmm. What I need is more drive space. Should I look at GEOM  
rather than vinum? Do you know whether the drives would need to be  
reformatted in order to setup the RAID?


I'll definitely heed your advice on backing up the drive first!







---
Joe Auty
NetMusician: web publishing software for musicians
http://www.netmusician.org
[EMAIL PROTECTED]


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


Re: 6.0-REL && isos of distfiles

2005-12-29 Thread Giorgos Keramidas
On 2005-12-29 15:14, [EMAIL PROTECTED] wrote:
> I'm installing a brand new notebook and have to do it with 6.0-REL
> because the SATA support; so I can't use my 1 GByte distfiles of the
> 5.4-REL which I have on the older notebook; is there somehow a place
> to download isos of the distfiles? I know that I could buy them but
> not right now here in Germany before the weekend :-(

The distfiles are the sources of the ported programs.  They are
not specific to a single release.  You can just copy over the
distfiles from the older notebook and rebuild your ports.

There is no such thing as "an ISO of distfiles".

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


Re: 6.0-REL && isos of distfiles

2005-12-29 Thread guru
El día Thursday, December 29, 2005 a las 09:44:54AM -0500, Jerry McAllister 
escribió:

> > 
> > 
> > Hi,
> > 
> > I'm installing a brand new notebook and have to do it with 6.0-REL
> > because the SATA support; so I can't use my 1 GByte distfiles of
> > the 5.4-REL which I have on the older notebook; is there somehow
> > a place to download isos of the distfiles? I know that I could buy
> > them but not right now here in Germany before the weekend :-(
> 
> Check out the handbook on the FreeBSD website.   IT will tell you what 
> you need to know.

That's exactly what I did before: reading chap. "4.5.2.1 Installing Ports
from a CD-ROM" and so I know what I do and what I'm asking for (it's
not the 1st FreeBSD installation);

> Anyway, the ISOs are all available at ftp.freebsd.org
> There are mirror sites in various places around the world too.
> Log in as anonymous with a password of your Email address.

that was the second step looking around below
ftp://ftp.FreeBSD.org/pub/FreeBSD/releases/i386/ISO-IMAGES/6.0
(and other places) but I only see the isos for CD1, CD2 and CD-bootonly,
but not the ports;

Pls. be so kind and send me the correct URL. Thx

matthias

-- 
Matthias Apitz / Sisis Informationssysteme GmbH
ein Tochterunternehmen der OCLC PICA B.V. Leiden (NL)
D-82041 Oberhaching, Gruenwalder Weg 28g
Fon: +49 89 / 61308-351, Fax: -399, Mobile +49 170 4527211
http://www.sisis.de/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: 6.0-REL && isos of distfiles

2005-12-29 Thread Jerry McAllister
> 
> 
> Hi,
> 
> I'm installing a brand new notebook and have to do it with 6.0-REL
> because the SATA support; so I can't use my 1 GByte distfiles of
> the 5.4-REL which I have on the older notebook; is there somehow
> a place to download isos of the distfiles? I know that I could buy
> them but not right now here in Germany before the weekend :-(

Check out the handbook on the FreeBSD website.   IT will tell you what 
you need to know.
Anyway, the ISOs are all available at ftp.freebsd.org
There are mirror sites in various places around the world too.
Log in as anonymous with a password of your Email address.

jerry

> 
> Thx
>   matthias
> -- 
> Matthias Apitz / Sisis Informationssysteme GmbH
> ein Tochterunternehmen der OCLC PICA B.V. Leiden (NL)
> D-82041 Oberhaching, Gruenwalder Weg 28g
> Fon: +49 89 / 61308-351, Fax: -399, Mobile +49 170 4527211
> http://www.sisis.de/
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> 

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


Re: your advice on vinum, RAIDs

2005-12-29 Thread Chuck Swiger

Joe Auty wrote:
I've been considering buying another hard drive for my FreeBSD  machine, 
and building a RAID with my current hard drive so that both  drives are 
treated as one.


This is known as RAID-1 mirroring.

Do any of you have experience in this area? Is this advisable? 


Yes and yes.  :-)


I'm assuming I'd be looking at creating a RAID-5?


Not with only two drives.
RAID-5 needs at least 3, and is wasteful unless you have 4-5.


Can this be done without reformatting my current drive?


You can set up mirroring without reformatting, but be sure you have good backups 
of your data regardless.



Does this setup work well?  Do you have any general advice for me? I need to
know if there is risk  involved here.


When choosing RAID levels, you are making a tradeoff between performance, 
reliability, and cost:


If you prefer... ...consider using:
---
performance, reliability:RAID-1 mirroring
performance, cost:   RAID-0 striping
reliability, performance:RAID-1 mirroring (+ hot spare, if possible)
reliability, cost:   RAID-5 (+ hot spare)
cost, reliability:   RAID-5
cost, performance:   RAID-0 striping

If you've got enough drives, using RAID-10 or RAID-50 will also improve 
performance compared to stock RAID-1 or RAID-5 modes.


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


Re: pkgdb format

2005-12-29 Thread Colin Percival
Mark Ovens wrote:
> After reading this thread, I killed the upgrade, deleted INDEX-6,
> INDEX-6.db, and pkgdb.db; rebuilt pkgdb.db using `pkgdb -u' and re-ran
> `portupgrade -af'
> 
> It started off OK (using dbm_hash) but after a couple of hours it had
> started continually rebuilding pkgdb.db.
> 
> Anyone else got any ideas?

I had exactly the same problem during portupgrading after a 5.4->6.0
base system upgrade until I did a `portupgrade -fR portupgrade`, at
which point it stopped (and has been fine ever since).  I have no idea
what the problem is or why this would fix it, but you might like to
try this and see if it helps.

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


Re: Gnokii SMSD and Ports Help

2005-12-29 Thread Lowell Gilbert
"Mike Esquardez" <[EMAIL PROTECTED]> writes:

> Hello everybody. I am trying to work out how to install SMSD from
> ports and not having much luck. I'm jut learning FreeBSD, so my
> knowledge of ports is not very good. When I make, make install, it
> only installs Gnokii. After looking around I found the file
> /usr/ports/comms/gnokii/files/patch-smsd-Makefile and also README
> under /work/smsd. I am totally lost and confused. Google has proved
> not so good for this issue.
> 
> ==
> COMPILATION
> 
> SMSD is not compiled by default with gnokii 'make' command. You must
> compile it
> manually by typing 'make' in smsd directory. But before SMSD compilation
> you must right configure gnokii (autoconf, configure).
> 
> For example:
> (in gnokii directory)
> gettextize# only for CVS copies
> autoconf  # only for CVS copies
> autoheader# only for CVS copies
> ./configure
> [ If you use latest Red Hat with new (0.11) gettext version ]
> [ run autogen.sh with configure options instead of the  ]
> [ above commands. It will do all needed things. ]
> cd smsd
> vi Makefile (edit paths in "DB Modules" section)
> make
> make libpq.la OR make libmysql.la OR make libfile.la
> make install
> 
> Note that you can build all of the modules (libpq, libmysql and libfile) but
> you should use just one.
> ==
> 
> I have installed RPM and Debs before, but I've never had to do
> anything other than make, make install.  Can anyone be so kind enough
> to explain what the above instructions mean? And what the
> "/usr/ports/comms/gnokii/files/patch-smsd-Makefile" file is for and
> how to use it?

You don't need to look that deep into it; just check out the
/usr/ports/comms/gnokii/Makefile and you'll see that what you need is
to build with "WITH_SMSD".  So just do the following:

 $ cd /usr/ports/comms/gnokii
 $ make clean && make -DWITH_SMSD install

and you will end up with /usr/local/sbin/smsd

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


sudo TTY Unknown messages

2005-12-29 Thread Robin Becker

I am getting messages from sudo concerning an unknown TTY.

eg

Dec 29 02:30:40 www sudo: root : TTY=unknown ; PWD=/usr/tmp/BU/svn_backups ; 
USER=www ; COMMAND=/usr/local/bin/svnadmin dump -q -r0:19591 /svn/private


I think this is caused by not having a tty device in the root cron job. I would 
prefer to keep only one main cron job for my system or is that frowned upon.

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


Re: Is there a Freebsd equivalent to this Linux header file

2005-12-29 Thread Ray Seals
On Wed, 2005-12-28 at 14:42 -0600, Dan Nelson wrote:
> That's probably a Linux-specific ioctl.  Chances are that FreeBSD's
> ifconfig command will do what you want (so its sources are a good place
> to start looking); what do you mean by "change it's operating mode"?
> 

Here is a snippet from the specs PDF:

Niagara 2261 is a dual Giga bit NIC card with programmable  Close  or
Open  while in the power off state. The Niagara 2261 is a universal low
profile PCI-X board based on Intel 82546 Dual Gigabit Ethernet
controller. Niagara 2261 is designed to operate either in 64-bit or
32-bit mode with the bus speeds up to 133 MHz. The physical form factor
for Niagara 2261 meets the requirements of PCI Local Bus specifications
Rev2.2 as well as Low profile PCI specifications.

Feature Summary   
- Programmable  Close  or  Open  while in the power off state.   
- Intel s 82546EB controller   
- Two integrated PHYs for 10/100/1000 Mb/s full- and half-duplex
operation
- Bypass - during power off or software failures
- PCI 2.2 compatible, 32/64-bit, 33/66/133MHz
- IEEE 802.3ab, 802.3u, 802.3x compliant
- Host offloading options - TCP/IP/UDP checksum, TCP segmentation and
advanced packet filtering
- Plug and Play
- Software support for, Linux 2.2.x and 2.4.x, FreeBSD 4.x and Solaris 7
and 8 running x86-based platforms
- Two RJ45 Connectors

So, it can do a lot of cool things, but at this point I just wanted to
set the box up as an in-line sniffer using this card for tcpdump only
and the other built in nic (on the PC) as the management port.

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


6.0-REL && isos of distfiles

2005-12-29 Thread guru

Hi,

I'm installing a brand new notebook and have to do it with 6.0-REL
because the SATA support; so I can't use my 1 GByte distfiles of
the 5.4-REL which I have on the older notebook; is there somehow
a place to download isos of the distfiles? I know that I could buy
them but not right now here in Germany before the weekend :-(

Thx
matthias
-- 
Matthias Apitz / Sisis Informationssysteme GmbH
ein Tochterunternehmen der OCLC PICA B.V. Leiden (NL)
D-82041 Oberhaching, Gruenwalder Weg 28g
Fon: +49 89 / 61308-351, Fax: -399, Mobile +49 170 4527211
http://www.sisis.de/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: pkgdb format

2005-12-29 Thread Mark Ovens

Kent Stewart wrote:

On Wednesday 07 December 2005 12:55 pm, eoghan wrote:

Hello
Ive recently upgraded to 6.0 and I decided to upgrade my ports... So
I ran a:
portupgrade -af
Its running fine, but each time its upgrade a port I get:
[Updating the pkgdb  in /var/db/pkg ... Failed
`Inappropriate file type or format'; rebuild needed] [Rebuilding the
pkgdb  in /var/db/pkg ... - 439 packages found (-0
+439)

Just wondering if its to do with my upgrade to 6.0 (from 5.4)
Thanks



Not from my experience. You are setting the package database interface 
one way in one spot and using the default someplace else. Since they 
are incompatible, it has to rebuild the port data base. Look for the 
string bdb in your scripts and in pkgtools.conf.




I've got the same problem running `portupgrade -af' after upgrading from 
5.4 -> 6


After reading this thread, I killed the upgrade, deleted INDEX-6, 
INDEX-6.db, and pkgdb.db; rebuilt pkgdb.db using `pkgdb -u' and re-ran 
`portupgrade -af'


It started off OK (using dbm_hash) but after a couple of hours it had 
started continually rebuilding pkgdb.db. The sequence is:


Build new version of port
Rebuild pkgdb.db in bdb1_btree format
Backup old version of port
Rebuild pkgdb.db in dbm_hash format
Uninstall old version of port
Rebuild pkgdb.db in bdb1_btree format
Deinstall
Clean
Rebuild pkgdb.db in dmb_hash format

It is rebuilding pkgdb.db *4 times per port* which will add several 
hours to the build time.


The fact that Kent hasn't had this problem and that the upgrade started 
off correctly for me suggests that it goes wrong when a particular port 
gets installed.


OP: Did you find a solution to this?

Kent: I don't have the string bdb in pkgtools.conf, nor anywhere else I 
can think to look, except INDEX-6.db - but that was built when 
portupgrade started and things worked OK at first.


Anyone else got any ideas?

Regards and a Happy New Year

Mark

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


inetd[469] messages

2005-12-29 Thread Robin Becker
Hi, I've recently installed/upgraded to freebsd 6.0 from freebsd 4.9. Most 
things have gone very smoothly and I thank the developers.


However, I'm seeing a lot of these messages in the system log

Dec 29 02:41:46 www inetd[469]: ssh/tcp: bind: Address already in use

It seems like these are every 10 minutes. I suppose it's something obvious, but 
I don't know what.


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


Re: Mounting Canon Powershot Digital Camera

2005-12-29 Thread Johan Spee

The bad news is: You can't mount a Powershot because it does not work in USB 
mass storage mode (it uses PTP: picture transfer protocol). 
The good news is: You don't have to because gphoto2 (http://www.gphoto.org/) 
can access PTP cameras without mounting or unmounting on your part. gtkam 
(http://www.gphoto.org/proj/gtkam/) is a nice, simple GUI for gphoto. Both 
programs are in the ports. 
If you want you CAN mount your flash-card though. But you'll have to take it 
out of the camera and put it in a flash-card drive (or whatever it's called).

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


Re: Mounting Canon Powershot Digital Camera

2005-12-29 Thread Mike Jeays
On Wed, 2005-12-28 at 23:32 -0700, TuxGirl wrote:
> I'm trying to figure out how to mount my camera, and I seem to be
> coming up empty.  Here's the info that I got from attaching, and then
> detaching the camera from my system:
> 
> Dec 28 23:18:41 amon-re kernel: ugen1: Canon Inc. Canon Digital
> Camera, rev 2.00/0.02, addr 2
> Dec 28 23:18:43 amon-re kernel: ugen1: at uhub4 port 4 (addr 2) disconnected
> Dec 28 23:18:43 amon-re kernel: All threads purged from ugen1.3
> Dec 28 23:18:43 amon-re kernel: All threads purged from ugen1.2
> Dec 28 23:18:43 amon-re kernel: All threads purged from ugen1.1
> Dec 28 23:18:43 amon-re kernel: All threads purged from ugen1
> Dec 28 23:18:43 amon-re kernel: ugen1: detached
> 
> I'm running FreeBSD 6.0, and I'm fairly new to *bsd.
> I tried mounting /dev/ugen1 (which only exists when the camera is
> plugged in), as well as /dev/ugen.1, etc.  I also tried /dev/usb. 
> Each of them complains that a block device is required.  Someone on
> #freebsd suggested that i try giving it a -t flag, so I tried -t vfat
> (which apparently isn't correct on freebsd), then -t msdosfs, but
> received the same error with that.
> 
> I'm feeling a bit stumped about this, currently.
> 
> Thanks in advance,
> ~TuxGirl
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"

I found it much easier to buy a USB card reader, which can then be
mounted as
'mount -t msdos /dev/da0s1 /mnt'.

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


Weird database error

2005-12-29 Thread Kristian Vaaf

Hello!

I have a serious problem. I am running a regular FreeBSD 4.11 jail, under which 
I've installed 
mysql-client-5.0.16 and mysql-server-5.0.16 plus the PHP modules and extensions.

I've created a database like this: CREATE DATABASE msc; GRANT USAGE ON msc.* TO 
[EMAIL PROTECTED] 
IDENTIFIED BY 'aheeem'; GRANT ALL ON msc.* TO [EMAIL PROTECTED]; and then 
proceeded to install WordPress (the publishing platform). The installation was 
flawless!

Here's the actual problem. Every morning when I wake up, WordPress has an 
"Error establishing the 
database connection". And that makes no sense, because I have not been messing 
with the database nor 
with WordPress. The database is still there.

Now, the _strange_ thing is, that shortly after (from 5 to 15 minutes) I've 
logged onto my FreeBSD jail via 
SSH (and also mysql -u root -p to check if the database is still there), 
WordPress can mysteriously 
re-establish the database connection. That is, I just click Firefox's reload.

What is going on ;)

Thanks a lot,
Kristian


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


Using SCHED_ULE vs. SCHED_4BSD ...

2005-12-29 Thread Kiffin Gish
I recently upgraded from 5.4 to 6.0 and noticed the introduction of
option SCHED_ULE for supporting multi-processor environments.

However, I understood that using SCHED_ULE with only one CPU can also
improve performance significantly.

Is this true, and if so, what are the risks involved dropping good old
SCHED_4BSD for the new-and-improved scheduler?

Thanks alot in advance.

-- 
Kiffin Gish <[EMAIL PROTECTED]>

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


nfs server overload (nfsd)

2005-12-29 Thread Angel Blazquez
Hello,

We are expecting incredible overload in a NFS server. A top shows nfsd
consuming most of the CPU:

PID USERNAME PRI NICE   SIZERES STATE  C   TIME   WCPUCPU COMMAND
6000 root  -80  1204K   660K biord  1 124:15 27.88% 27.88% nfsd
6002 root   40  1204K   660K *Giant 0 124:18 17.58% 17.58% nfsd
6006 root   40  1204K   660K *Giant 0 123:38 10.21% 10.21% nfsd
6005 root   40  1204K   660K *Giant 0 123:36  7.47%  7.47% nfsd
6003 root   40  1204K   660K *Giant 0 123:08  4.15%  4.15% nfsd
6001 root   40  1204K   660K *Giant 0 123:16  2.83%  2.83% nfsd

Memory looks fine:

Mem: 27M Active, 910M Inact, 136M Wired, 51M Cache, 112M Buf, 1828K Free
Swap: 2048M Total, 72K Used, 2048M Free

Typing in the nfs server (console/ssh) becomes terrible, the server does
not reply well.

We are running this nfs server in FreeBSD 5.3-RELEASE-p23 on a Compaq
Proliant server with a Compaq Smart Array 5300 that comunicates with a
array of disks:

/dev/da0s1d  164G124G 27G82%/data0
/dev/da1s1d  131G 80G 41G66%/data1

We have /data0 and /data1 exported:

/data0   -maproot=root -alldirs -network 192.168.62.0 -mask 255.255.255.0
/data1   -maproot=root -alldirs -network 192.168.62.0 -mask 255.255.255.0

so a couple of incoming SMTP servers we have can deliver e-mail to
those filesystems.

We are running exim 4.60.0 in those other servers, 4.10-RELEASE-p5 in
one of them, and FreeBSD 6.0-RELEASE #0 in the other one.

If we stop exim delivering e-mail, nfs server does well, the cpu gets
free, and the nfs server works fine (replies to user interaction, etc).

FreeBSD 6.0 sysctl output (nfs related):

vfs.nfs4.access_cache_timeout: 60
vfs.nfs4.nfsv3_commit_on_close: 0
vfs.nfs.downdelayinitial: 12
vfs.nfs.downdelayinterval: 30
vfs.nfs.realign_test: 1294030
vfs.nfs.realign_count: 0
vfs.nfs.bufpackets: 4
vfs.nfs.reconnects: 2
vfs.nfs.iodmaxidle: 120
vfs.nfs.iodmin: 4
vfs.nfs.iodmax: 20
vfs.nfs.defect: 0
vfs.nfs.nfs_ip_paranoia: 1
vfs.nfs.diskless_valid: 0
vfs.nfs.diskless_rootpath:
vfs.nfs.access_cache_timeout: 2
vfs.nfs.nfsv3_commit_on_close: 0
vfs.nfs.clean_pages_on_close: 1
vfs.nfs.nfs_directio_enable: 0
vfs.nfs.nfs_directio_allow_mmap: 1
vfs.nfsrv.nfs_privport: 0
vfs.nfsrv.async: 0
vfs.nfsrv.commit_blks: 0
vfs.nfsrv.commit_miss: 0
vfs.nfsrv.realign_test: 0
vfs.nfsrv.realign_count: 0
vfs.nfsrv.gatherdelay: 1
vfs.nfsrv.gatherdelay_v3: 0

FreeBSD 4.10 sysctl output (nfs related):

vfs.nfs.nfs_privport: 0
vfs.nfs.async: 0
vfs.nfs.commit_blks: 0
vfs.nfs.commit_miss: 0
vfs.nfs.realign_test: 84602323
vfs.nfs.realign_count: 99713
vfs.nfs.bufpackets: 4
vfs.nfs.gatherdelay: 1
vfs.nfs.gatherdelay_v3: 0
vfs.nfs.defect: 0
vfs.nfs.nfs_ip_paranoia: 1
vfs.nfs.diskless_valid: 0
vfs.nfs.diskless_rootpath:
vfs.nfs.diskless_swappath:
vfs.nfs.access_cache_timeout: 2
vfs.nfs.nfsv3_commit_on_close: 0

This couple of servers mounts the filesystems with this options:

192.168.62.54:/data1/mailnfs
rw,nfsv3,intr,dumbtimer,rdirplus,nosuid,nodev 0 0
192.168.62.54:/data0/data0   nfs
rw,nfsv3,intr,dumbtimer,rdirplus,nosuid,nodev 0 0

On the server, sysctl nfs related output looks like this:

vfs.nfs.downdelayinitial: 12
vfs.nfs.downdelayinterval: 30
vfs.nfs.realign_test: 2694
vfs.nfs.realign_count: 0
vfs.nfs.bufpackets: 4
vfs.nfs.reconnects: 2
vfs.nfs.iodmaxidle: 120
vfs.nfs.iodmin: 4

vfs.nfs.iodmax: 20
vfs.nfs.defect: 0
vfs.nfs.nfs_ip_paranoia: 1
vfs.nfs.diskless_valid: 0
vfs.nfs.diskless_rootpath:
vfs.nfs.access_cache_timeout: 2
vfs.nfs.nfsv3_commit_on_close: 0
vfs.nfs4.access_cache_timeout: 60
vfs.nfs4.nfsv3_commit_on_close: 0
vfs.nfsrv.nfs_privport: 0
vfs.nfsrv.async: 1
vfs.nfsrv.commit_blks: 579238
vfs.nfsrv.commit_miss: 413059
vfs.nfsrv.realign_test: 88269083
vfs.nfsrv.realign_count: 11961
vfs.nfsrv.gatherdelay: 1
vfs.nfsrv.gatherdelay_v3: 0
debug.hashstat.nfsnode: 65536 5 1 0

Thanks in advance,

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


Systat -ip 1 strange problem

2005-12-29 Thread Mihai Tanasescu

Hello,


Don't know if this is the right list to post this problem, but I hope 
I'm not too far off:


I have a Compaq Proliant ML 350 machine with 3 x fxp and 2 x em network 
cards.


If I issue :

systat -ip 1 I see:

   866056packets forwarded0 - no checksum

the same for systat -ip 2.

For systat -ip 3 (and higher):

   83537 packets forwarded0 - no checksum   -   these 
are the correct figures



I  really don't have the figures reported for refresh-interval = 1 or 2 
and have just installed Freebsd 5.4 on it. (The same problem manifests 
with Freebsd 6.0 on that box).


A friend of mine has a similar setup (but not a Compaq box) and doesn't 
see strange values for -ip 1 and -ip 2.




Any clue on what's happening or what's causing this ?



Thanks,
Mihai

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


Re: your advice on vinum, RAIDs

2005-12-29 Thread Robert Slade
On Thu, 2005-12-29 at 06:09, Joe Auty wrote:
> Hello,
> 
> I've been considering buying another hard drive for my FreeBSD  
> machine, and building a RAID with my current hard drive so that both  
> drives are treated as one.
> 
> Do any of you have experience in this area? Is this advisable? I'm  
> assuming I'd be looking at creating a RAID-5? Can this be done  
> without reformatting my current drive? Does this setup work well? Do  
> you have any general advice for me? I need to know if there is risk  
> involved here.
> 
> 
> 
> Thanks in advance!

Joe,

It depends on what you need to do. If you just want data integrity then
you need raid 1 - mirroring and GEOM is your friend. There is a good
section in the Handbook on setting a GEOM raid 1 without formatting the
original drive.


If you are also looking for more drive space, then raid 5 gives a
measure of both. 

In both cases, the warning of backing up the system first applies.

Rob  

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


RE: Sendmail X port

2005-12-29 Thread Ted Mittelstaedt

I think the reason is that, according to the documentation located here:

http://www.sendmail.org/sm-X/index.html

"...but it does not provide any mail content modification capabilities,
e.g., masquerading of addresses or changing (addition, removal) of
headers. Later versions will probably add such capabilities..."

"...sendmail X.0 comes with a policy mail filter library (libpmilter)
which offers similar features as libmilter known from sendmail 8,
however, without mail content modification capabilities (as mentioned
before..."

In other words, to use it, a site needs to totally chuck out all existing
configuration, all institutional knowledge and experience with the
existing sendmail.  And in additon we have to push all our e-mail
scanners
into the local delivery program.  Well I don't know about you but
we happen to use sendmail plus clamav to prefilter mail that's relayed
to icky Exchange servers for some customers, and the mail doesen't even
go through the local delivery program.  So this release would be
basically impossible to use, for us.

I don't see that Sendmail X is the successor to Sendmail 8.13  Instead
I see it as a parallel product.  And why not?  Plenty of people with
very basic mail needs have been bitching about a simplified Sendmail
in the past.  It makes sense that Sendmail Inc would try to market to
that crowd.  If your happy enough with using procmail as the local
delivery agent (and I understand most Linux distros do that) and
calling various scanners out of the procmail config, then this may
work out for you.  But I would bet that 90% of the people running
FreeBSD mailservers would not find anything compelling about this
release.

Ted

>-Original Message-
>From: [EMAIL PROTECTED]
>[mailto:[EMAIL PROTECTED] Behalf Of Brett Glass
>Sent: Tuesday, December 27, 2005 9:36 PM
>To: [EMAIL PROTECTED]
>Subject: Sendmail X port
>
>
>I don't see Sendmail X available as a port or package. I'm
>interested in trying
>this version because it's the first to eliminate the horribly
>cryptic system of
>m4 macros, "classes", and address parsing rules that configured
>earlier versions.
>Is there a reason why it's not available as a package or port
>for FreeBSD?
>
>--Brett Glass
>___
>freebsd-questions@freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>To unsubscribe, send any mail to
>"[EMAIL PROTECTED]"
>
>--
>No virus found in this incoming message.
>Checked by AVG Free Edition.
>Version: 7.1.371 / Virus Database: 267.14.8/215 - Release Date:
>12/27/2005
>

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


Re: Mounting Canon Powershot Digital Camera

2005-12-29 Thread David Wilhelm

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 12/28/05 22:32, TuxGirl wrote:
| I'm trying to figure out how to mount my camera, and I seem to be
| coming up empty.

If you're looking for *any* way to access the camera, as opposed to
mounting it directly, try the graphics/gphoto2 port. It does command
line (up|down)loading, includes a shell mode, and works fine with my
PowerShot.

| I tried mounting /dev/ugen1 (which only exists when the camera is
| plugged in), as well as /dev/ugen.1, etc.  I also tried /dev/usb.
| Each of them complains that a block device is required.  Someone on
| #freebsd suggested that i try giving it a -t flag, so I tried -t vfat
| (which apparently isn't correct on freebsd), then -t msdosfs, but
| received the same error with that.

I don't know if ugen can be used to mount the camera directly, since
it's a generic USB device. Without specific drivers I think you need
more than the mount command, but I'm no expert.

Dave
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2 (FreeBSD)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDs5cEqJ7Y53g8k+gRAgoBAKDZ1ZnIhe21fDSFRgnibvFSgQTRlgCg3IrC
XPsYeLyIGQoRxjIpbm5w3Xo=
=UbqL
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"