Do I need to recompile my standard kernel to enable ipfw?

Aminuddin amin.scg at gmail.com
Sat Aug 25 17:11:00 PDT 2007


Do I need to do the above if I'm not using the NAT function?
I'm using 6.2 release.

thanks

-----Original Message-----
From: owner-freebsd-questions at freebsd.org
[mailto:owner-freebsd-questions at freebsd.org] On Behalf Of
freebsd-questions-request at freebsd.org
Sent: Sunday, August 26, 2007 5:22 AM
To: freebsd-questions at freebsd.org
Subject: freebsd-questions Digest, Vol 191, Issue 38

Send freebsd-questions mailing list submissions to
	freebsd-questions at freebsd.org

To subscribe or unsubscribe via the World Wide Web, visit
	http://lists.freebsd.org/mailman/listinfo/freebsd-questions
or, via email, send a message with subject or body 'help' to
	freebsd-questions-request at freebsd.org

You can reach the person managing the list at
	freebsd-questions-owner at freebsd.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of freebsd-questions digest..."


Today's Topics:

   1. Re: freebsd-questions Digest, Vol 191, Issue 37 (blix)
   2. ports/UPDATING instructions and Python 2.4 (Kirk Strauser)
   3. ath pccard ok on 6.1 600mhz laptop,	same card *no* dmesg at
      all on 6.2 hp laptop (Steve Franks)
   4. Re: Installation Disc Won't Boot
      (lawrence.petrykanyn at sympatico.ca)
   5. update: "Danger Will Robinson" dmesg [ath pccard... ok on 6.1
      600mhz laptop, same card *no* dmesg at all on 6.2 hp laptop]
      (Steve Franks)
   6. Re: load script at bootup (Rob)
   7. Re: Installation Disc Won't Boot (Adam J Richardson)
   8. Re: /var or /usr for data? (Jerry McAllister)
   9. FBSD-friendly UPS for home needs (Zbigniew Szalbot)
  10. RE: How to block 200K ip addresses? (Aminuddin)
  11. Re: How to block 200K ip addresses? (Bill Moran)
  12. Transferring a GEOM array between hosts (Joe Schaefer)
  13. Re: freebsd-questions Digest, Vol 191, Issue 37 (dgmm)
  14. Re: time issue (Bill Moran)
  15. fdisk - can't update an in-use partition (Jo?o Pinheiro)
  16. FBSD-friendly UPS for home needs (Robert Huff)
  17. Re: FBSD-friendly UPS for home needs (Jonathan Horne)
  18. MSK Driver -- Unable to get it working on laptop (Mak Kolybabi)
  19. Re: fdisk - can't update an in-use partition - solved
      (Jo?o Pinheiro)
  20. Re: time issue (Michael P. Soulier)
  21. Re: time issue (Bill Moran)
  22. uknd - uhub DRAC woes. (Grant Peel)
  23. Re: Installation Disc Won't Boot (Manolis Kiagias)
  24. Re: FBSD-friendly UPS for home needs (Derek Ragona)
  25. Re: uknd - uhub DRAC woes. (N.J. Mann)
  26. Re: FBSD-friendly UPS for home needs (Zbigniew Szalbot)
  27. nvidia driver blues (dan sikorsky)
  28. Re: ports/UPDATING instructions and Python 2.4 (Nikola Lecic)
  29. Re: How to block 200K ip addresses? (Dan Nelson)
  30. IPFW and HTTPS problem (Narek Gharibyan)
  31. IPFW and HTTPS problem (Narek Gharibyan)
  32. Re: Test on FreeBSD site (NetOpsCenter)
  33. Re: IPFW and HTTPS problem (Bill Moran)


----------------------------------------------------------------------

Message: 1
Date: Sat, 25 Aug 2007 08:12:38 -0400
From: blix <blix at offworldgaming.com>
Subject: Re: freebsd-questions Digest, Vol 191, Issue 37
To: freebsd-questions at freebsd.org
Message-ID: <1188043958.1307.3.camel at bsdpc.centralamerica>
Content-Type: text/plain

Please help with suggestions on how I can eliminate some console spam.

my console and messages file is filling up with these entries:

Aug 25 08:10:18 bsdpc kernel: (da3:umass-sim0:0:0:3): READ CAPACITY.
CDB: 25 60 
0 0 0 0 0 0 0 0
Aug 25 08:10:18 bsdpc kernel: (da3:umass-sim0:0:0:3): CAM Status: SCSI
Status Er
ror
Aug 25 08:10:18 bsdpc kernel: (da3:umass-sim0:0:0:3): SCSI Status: Check
Conditi
on
Aug 25 08:10:18 bsdpc kernel: (da3:umass-sim0:0:0:3): NOT READY asc:3a,0
Aug 25 08:10:18 bsdpc kernel: (da3:umass-sim0:0:0:3): Medium not present
Aug 25 08:10:18 bsdpc kernel: (da3:umass-sim0:0:0:3): Unretryable error

It jusst repeats over and over again.  I need to get rid of them.

Question 1: How can I silence these messages so they stop repeating in
my logs?

Question 2: If they cannot be silenced, how can I keep them from taking
over my text console when I go into single user mode?

please help with suggestions,

thanks
Dan



------------------------------

Message: 2
Date: Sat, 25 Aug 2007 09:15:52 -0500
From: Kirk Strauser <kirk at strauser.com>
Subject: ports/UPDATING instructions and Python 2.4
To: freebsd-questions at freebsd.org
Message-ID: <DAC61871-4340-4175-B220-26E22519E7F5 at strauser.com>
Content-Type: text/plain; charset="us-ascii"

I need to keep Python 2.4 on my system to run Zope (which isn't  
compatible with 2.5).  So, I dutifully followed the instructions  
under /usr/ports/UPDATING starting with "If want to keep 2.4.x  
installed alongside 2.5.x [...]".  When I came back a little later,  
all of my dependent ports had been upgraded from py24-* to py25-*,  
effectively killing my webserver.

Could someone else take a look at those instructions and see if they  
make sense - they look a little suspicious to me - or if there is  
some gotcha that I might have missed?  Thanks.
-- 
Kirk Strauser

-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
Url :
http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20070825/f1
281c55/PGP-0001.pgp

------------------------------

Message: 3
Date: Sat, 25 Aug 2007 08:15:16 -0700
From: "Steve Franks" <stevefranks at ieee.org>
Subject: ath pccard ok on 6.1 600mhz laptop,	same card *no* dmesg at
	all on 6.2 hp laptop
To: "User Questions" <freebsd-questions at freebsd.org>
Message-ID:
	<539c60b90708250815h7942ceafs99fb43a55604ecef at mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

So, I don't have any dmesg, because I don't get one at all with my
ath0 card that I'm currently typing this on my old dell 600mhz laptop.
 I also have a wi0 card that works on the 600mhz machine, but it gives
a freeze on the new system, and when you remove it, you get "cbb0
ready never happened, staus=00; pccard0 card has no functions".  I've
done my homework, and I know these topics come up, but I can't seem to
google an answer...I really, really, really hate hp/compaq.  I love
the way it disables the machine if you try to put an atheros card in
the internal minipci slot.  Shouldn't have bought the $400 laptop.
What can I say, I used to be a windows user ;) This is my last windows
machine to fall to bsd, at least it is if I can get a NIC in it to
work.

Thanks,
Steve

-- 
Steve Franks, KE7BTE
Staff Engineer
La Palma Devices, LLC
http://www.lapalmadevices.com
(520) 312-0089


------------------------------

Message: 4
Date: Sat, 25 Aug 2007 15:16:47 +0000
From: <lawrence.petrykanyn at sympatico.ca>
Subject: Re: Installation Disc Won't Boot
To: sonicy at otenet.gr
Cc: freebsd-questions at freebsd.org
Message-ID: <BAY105-F20E93AB73FC63F7B7929D283D00 at phx.gbl>
Content-Type: text/plain; format=flowed

Hi, Manoliis:

I took your advice.  I copied the burned iso file into a FreeBSD directory 
and ran md5 and the check digits did not match.  I then copied my downloaded

iso image from Win98 into FreeBSD and ran md5 and the digits did match.  So 
there was nothing wrong with the iso of disc1 that I downloaded from the web

site into Win98.  It must have been the burning of the file in Win98 with 
Nero Express that was the problem.

So I burned another copy of the iso in FreeBSd with burncd using:
   burncd -f /dev/acd1 6.2-RELEASE-i386.iso fixate
and it booted just fine.

Thanks for all of your suggestions and advice.  Now I will be spending the 
better part of the weekend doing the installation of 6.2.  Wish me luck.

Have a great day,
Larry



>From: Manolis Kiagias <sonicy at otenet.gr>
>To: <lawrence.petrykanyn at sympatico.ca>
>CC: freebsd-questions at freebsd.org
>Subject: Re: Installation Disc Won't Boot
>Date: Fri, 24 Aug 2007 21:34:12 +0300
>
>lawrence.petrykanyn at sympatico.ca wrote:
> >
> >   Hi,
> >
> >   I am unable to boot from 6.2-RELEASE i386-disc1.iso.  I have
> >   downloaded it and burned it three times without success.
> >
> >   I am currently running Win98SE and FreeBSD 5.4 on a dual boot.  I had
> >   decided to reformat my hard drives so I reinstalled Win98SE and would
> >   like to install FreeBSD 6.2.  I downloaded the disc 1 iso image and
> >   burned it to a disc in Win98.  I had to boot from my CDrom to
> >   reinstall Win98 so I know that my boot priority is correct and that my
> >   CDrom is working properly.  I looked at the burned cd with the
> >   6.2-RELEASE i386-disc1.iso file on it in FreeBSD 5.4 and everything
> >   appears to be there, including a folder called 'boot'.  But I just
> >   can't seem to boot from it.
> >
> >   1.  Is there something simple I'm missing?
>
>Could be that you are burning the file as a real file on a disk instead
>of burning it as an image?
>You need to select the option from your program that is similar to
>"create cd from iso image"
>
> >   2.  Should I just try downloading (it takes four hours) and burning
> >   more copies again?  (I've already done it three times...)
>
>No. Instead you should check the file you already downloaded
>
> >   3.  Is the fact that I'm burning it in Win98 a problem?
>
>Not really, no
>
> >   4.  Is there anything I can do in FreeBSD 5.4 to see if the file is
> >   corrupted?
> >
>Yes. From the site you downloaded the iso files, download the CHECKSUM
>files as well.
>There are two of them, CHEKSUM.md5 and CHECKSUM.SHA256
>One would be enough to validate your download. For example look at the
>CHECKSUM.md5 file:
>For disk1, the checksum is:
>
>MD5 (6.2-RELEASE-i386-disc1.iso) = 3d27214700687c0b5390e8b6dd3706e3
>
>you can validate this with the md5 command from FreeBSD, or if you don't
>wish to reboot from win98, here is and md5 command for windows:
>
>http://www.fourmilab.ch/md5/md5.zip
>
>use something like:
>
>md5 6.2-RELEASE-i386-disc1.iso
>
>and compare the output to the one on the file.
> >   BTW - I installed FreeBSD 5.4 from discs that I purchased through
> >   FreeBSD Mall.  I thought I would do it from the 6.2-RELEASE
> >   i386-disc1.iso file on FreeBSD's web site this time.
> >
>
>I've bought stuff from them: copies of the handbook, tshirts, sticker,
>beastie dolls :)
>Good service.
>
> >   Any suggestions, advice, or comments would be greatly appreciated.
> >
> >   Thanks,
> >   Larry
> > _______________________________________________
> > freebsd-questions at freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to
> > "freebsd-questions-unsubscribe at freebsd.org"
> >
> >
>Best of luck,
>
>Manolis




------------------------------

Message: 5
Date: Sat, 25 Aug 2007 08:27:26 -0700
From: "Steve Franks" <stevefranks at ieee.org>
Subject: update: "Danger Will Robinson" dmesg [ath pccard... ok on 6.1
	600mhz laptop, same card *no* dmesg at all on 6.2 hp laptop]
To: "User Questions" <freebsd-questions at freebsd.org>
Message-ID:
	<539c60b90708250827r62146dc2k582e0c053d34c786 at mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

update: several minutes after I pulled the ath0 out, I got a dmesg reading:

"cbb0: Danger Will Robinson: Resource left allocated!  This is a
bug... (rid=0, type=1, addr=11)"
"cbb0: Danger Will Robinson: Resource left allocated! This is a bug...
(rid=0, type=4, addr=a100)"

Steve

On 8/25/07, Steve Franks <stevefranks at ieee.org> wrote:
> So, I don't have any dmesg, because I don't get one at all with my
> ath0 card that I'm currently typing this on my old dell 600mhz laptop.
>  I also have a wi0 card that works on the 600mhz machine, but it gives
> a freeze on the new system, and when you remove it, you get "cbb0
> ready never happened, staus=00; pccard0 card has no functions".  I've
> done my homework, and I know these topics come up, but I can't seem to
> google an answer...I really, really, really hate hp/compaq.  I love
> the way it disables the machine if you try to put an atheros card in
> the internal minipci slot.  Shouldn't have bought the $400 laptop.
> What can I say, I used to be a windows user ;) This is my last windows
> machine to fall to bsd, at least it is if I can get a NIC in it to
> work.
>
> Thanks,
> Steve
>
> --
> Steve Franks, KE7BTE
> Staff Engineer
> La Palma Devices, LLC
> http://www.lapalmadevices.com
> (520) 312-0089
>


-- 
Steve Franks, KE7BTE
Staff Engineer
La Palma Devices, LLC
http://www.lapalmadevices.com
(520) 312-0089


------------------------------

Message: 6
Date: Sat, 25 Aug 2007 11:28:47 -0400
From: Rob <r17fbsd at xxiii.com>
Subject: Re: load script at bootup
To: Narek Gharibyan <ngharibyan at arm.synisys.com>
Cc: freebsd-questions at freebsd.org
Message-ID: <46D04AAF.7030007 at xxiii.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Narek Gharibyan wrote:
> 3. Is there a program, script or any way more appropriate to track the
> packet loss and ping availability.?

You might try the "APinger" port in:  ports/net/apinger

I started using it a couple weeks ago to locate some connectivity 
problems, and it's impressive for a small simple utility.  It has a 
startup script, if you wish to run it automatically.

   -R



------------------------------

Message: 7
Date: Sat, 25 Aug 2007 16:30:17 +0100
From: Adam J Richardson <fatman at crackmonkey.us>
Subject: Re: Installation Disc Won't Boot
To: lawrence.petrykanyn at sympatico.ca
Cc: sonicy at otenet.gr, freebsd-questions at freebsd.org
Message-ID: <46D04B09.8050400 at crackmonkey.us>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

lawrence.petrykanyn at sympatico.ca wrote:
> So I burned another copy of the iso in FreeBSd with burncd using:
>   burncd -f /dev/acd1 6.2-RELEASE-i386.iso fixate
> and it booted just fine.
> 
> Thanks for all of your suggestions and advice.  Now I will be spending 
> the better part of the weekend doing the installation of 6.2.  Wish me 
> luck.

Hurrah! :) Better part of a weekend, though? Oh well, mine not to reason 
why...

It occurs to me now that under Win98 you would have had to use the ASPI 
layer to burn your CD. Much as I loathe Nero, I found it was the ASPI 
layer that caused my problems. The ASPI layer [for whatever reason] 
tends to degrade over time until it's unusable. When I finally upgraded 
my systems to Windows 2000, I was able to use the SPTI layer, which I 
found far superior to ASPI.

It might be a good idea not to use Win98 for burning CDs any more. If 
you did decide to use a more recent version of Windows, I can recommend 
the freeware project Burnatonce, which is fully SPTI-capable.


------------------------------

Message: 8
Date: Sat, 25 Aug 2007 11:43:22 -0400
From: Jerry McAllister <jerrymc at msu.edu>
Subject: Re: /var or /usr for data?
To: rloefgren at forethought.net
Cc: Wojciech Puchar <wojtek at wojtek.tensor.gdynia.pl>,	Brad Waite
	<freebsd at wcubed.net>, freebsd-questions at freebsd.org
Message-ID: <20070825154322.GB71640 at gizmo.acns.msu.edu>
Content-Type: text/plain; charset=us-ascii

On Fri, Aug 24, 2007 at 08:20:16PM -0600, rloefgren at forethought.net wrote:

> On Fri, 24 Aug 2007, Wojciech Puchar wrote:
> 
> >>It would appear that the "proper" allocation of filesystems on FreeBSD
is
> >>to put all data in /usr.  I'm used to this and have been doing it for
> >>years.
> >
> >my favourite "proper" allocation is to make ONE partition (/) and nothing

> >more. and forget all problems about how to partition your drive right...
> >_______________________________________________
> >freebsd-questions at freebsd.org mailing list
> >http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> >To unsubscribe, send any mail to 
> >"freebsd-questions-unsubscribe at freebsd.org"
> >
> 
> I've made a quick look-see through my copies of "The Complete FreeBSD" and
> "Absolute BSD" and can't find the reference, but I recall reading
> somewhere in my 4.x days that FreeBSD used a different algorithm to write
> to the /var directory, if it was on its own filesystem, because /var was
> written to a lot (holding logs and all.) Because of this, and all the way
> up to 6.2 today, I put /var on its own filesystem, after / and swap.
> Where the old AIX wonks used to call the "outer middle" of the disk. Was
> this different algorithm really the case? And, now with UFS2, is it still
> the case? I still put pgsql/data on /var.

I think you may be confusing var with swap.    A different algorithm is
used for managing and writing/reading swap.   I haven't heard of any
difference with /var.

////jerry

> 
> r
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
"freebsd-questions-unsubscribe at freebsd.org"


------------------------------

Message: 9
Date: Sat, 25 Aug 2007 18:15:34 +0200
From: Zbigniew Szalbot <zbigniew at szalbot.homedns.org>
Subject: FBSD-friendly UPS for home needs
To: Freebsd questions <freebsd-questions at freebsd.org>
Message-ID: <19b45665395c7bf4ad37b40b0c3efca4 at szalbot.homedns.org>
Content-Type: text/plain; charset="UTF-8"


Hello,

I am going to get a UPS device for my home freebsd gateway/router and
wonder if there is anything that you would recommend? At work I use APC
units and there is a dedicated software to manage it (apcupsd). Not sure if
that's the case with other manufacturers? I'd like to get something that
could be managed by software and at the some time not too expensive... you
know home budget...erm...

Well, many thanks for all recommendations!


Zbigniew Szalbot



------------------------------

Message: 10
Date: Sun, 26 Aug 2007 00:50:17 +0800
From: "Aminuddin" <amin.scg at gmail.com>
Subject: RE: How to block 200K ip addresses?
To: <freebsd-questions at freebsd.org>
Message-ID: <46d05dcf.0abd720a.60a8.fffff7d0 at mx.google.com>
Content-Type: text/plain;	charset="us-ascii"

Hi,
How do you block this large range of ip addresses from different subnet?
IPFW only allows 65536 rules while this will probably use up a few hundred
thousands of lines.

I'm also trying to add this into my proxy configuration file, ss5.conf but
it doesn't allow me to add this large number.

IS this the limitation of IPF or FreeBSD? How do I work around this?



-----Original Message-----
From: owner-freebsd-questions at freebsd.org
[mailto:owner-freebsd-questions at freebsd.org] On Behalf Of
freebsd-questions-request at freebsd.org
Sent: Saturday, August 25, 2007 8:00 PM
To: freebsd-questions at freebsd.org
Subject: freebsd-questions Digest, Vol 191, Issue 37

Send freebsd-questions mailing list submissions to
	freebsd-questions at freebsd.org

To subscribe or unsubscribe via the World Wide Web, visit
	http://lists.freebsd.org/mailman/listinfo/freebsd-questions
or, via email, send a message with subject or body 'help' to
	freebsd-questions-request at freebsd.org

You can reach the person managing the list at
	freebsd-questions-owner at freebsd.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of freebsd-questions digest..."


Today's Topics:

   1. Re: FreeBSD and ImageMagick crashes OS? (Kris Kennaway)
   2. RE: spammers harvesting emaill address from this list
      (Ted Mittelstaedt)
   3. Re: READ_DMA Error (Bahman M.)
   4. Re: best way to keep track of new developments (Michel Talon)
   5. Re: spammers harvesting emaill address from this list
      (Andrew Gould)
   6. Re: /var or /usr for data? (rloefgren at forethought.net)
   7. Mouse suddenly gets detached and reattached (Bahman M.)


----------------------------------------------------------------------

Message: 1
Date: Sat, 25 Aug 2007 05:56:59 +0000
From: Kris Kennaway <kris at FreeBSD.org>
Subject: Re: FreeBSD and ImageMagick crashes OS?
To: Norberto Meijome <freebsd at meijome.net>
Cc: User Questions <freebsd-questions at freebsd.org>,	Roger Olofsson
	<raggen at passagen.se>
Message-ID: <20070825055659.GA42274 at hub.freebsd.org>
Content-Type: text/plain; charset=us-ascii

On Fri, Aug 24, 2007 at 08:26:50PM +1000, Norberto Meijome wrote:
> On Fri, 24 Aug 2007 11:29:59 +0200
> Roger Olofsson <raggen at passagen.se> wrote:
> 
> > Turns out ImageMagick was called through php to resize the .JPG and most

> > likely, the server runs out of memory/disk space. /var/tmp fills up and 
> > console spews as follows:
> > 
> > Aug 22 19:29:49 rutilus kernel: vnode_pager_putpages: I/O error 28
> > Aug 22 19:29:49 rutilus kernel: vnode_pager_putpages: residual I/O 32768

> > at 62620
> > Aug 22 19:29:49 rutilus kernel: pid 29 (syncer), uid 0 inumber 49382 on 
> > /var: filesystem full
> 
> :) having been bitten by that in several unix-like OS (pick any Linux
distro, and freebsd too), i just remove /var/tmp and make a smylink to /tmp
, which is big enough for my foreseeable needs. I like to keep my /var clean
of tmp rubbish.
> 
> and yes,  configuring PHP and it's libraries helps too :)

That's not an answer obviously.  Error 28 is

#define ENOSPC          28              /* No space left on device */

This seems like a bug to me: when a filesystem fills you shouldn't be
getting this behaviour.  Can you please follow the directions in the
developers handbook chapter on kernel debugging, and when you trigger
a hang, break to DDB from the console and force a dump, then file a PR
and make the core file available to the developers.  Unfortunately
unless a developer can replicate the behaviour, providing access to a
core is the only real debugging option.

Thanks,
Kris




------------------------------

Message: 2
Date: Sat, 25 Aug 2007 00:34:30 -0700
From: "Ted Mittelstaedt" <tedm at toybox.placo.com>
Subject: RE: spammers harvesting emaill address from this list
To: "Erik Trulsson" <ertr1013 at student.uu.se>, "fbsd2"
	<fbsd2 at a1poweruser.com>
Cc: "freebsd-questions at FreeBSD. ORG" <freebsd-questions at freebsd.org>
Message-ID: <BMEDLGAENEKCJFGODFOCCEEICAAA.tedm at toybox.placo.com>
Content-Type: text/plain;	charset="US-ASCII"



> -----Original Message-----
> From: owner-freebsd-questions at freebsd.org
> [mailto:owner-freebsd-questions at freebsd.org]On Behalf Of Erik Trulsson
> Sent: Thursday, August 23, 2007 6:52 AM
> To: fbsd2
> Cc: freebsd-questions at FreeBSD. ORG
> Subject: Re: spammers harvesting emaill address from this list
> 
> 
> For this list (freebsd-questions@) in particular it is intentionally and
> explicitly the case that one does not need to be subscribed to post here.
> This is because it is the main support forum for FreeBSD, and much
> documentation exists directing people to ask their questions here.
> 
> The list admins do have their priorities straight - they just 
> have different
> priorities than you do.
> 

Probably the list admins figure that anyone who posts here is an
advanced user type who understands how to setup spam filters that
work.

Ted


------------------------------

Message: 3
Date: Sat, 25 Aug 2007 11:52:30 +0330
From: "Bahman M." <b.movaqar at gmail.com>
Subject: Re: READ_DMA Error
To: "Tamouh H." <hakmi at rogers.com>
Cc: freebsd-questions at freebsd.org
Message-ID:
	<6d62f69a0708250122l1bf53d84p73d64f17837a535 at mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

> > During FreeBSD 6.2 installation, the process failed because
> > of errors like the one below:
> > READ_DMA UDMA .... ICRC error LBA=37505132
> >
> > I managed to install by setting hw.ata.ata_dma=0 at boot time
> > but the same errors occur after installation and at boot time
> > so I had to put hw.ata.ata_dma=0 in loader.conf and now the
> > system is working.
> >
> > I checked my hard disk which a 80GB Western Digital+
> > thoroughly and there were no errors reported (using fsck in
> > single user mode). Also I used to install Fedora Linux on
> > this disk without any problems.
> >
> > It looks that disabling DMA caused my disk to work with lower
> > performance. Am I right? If yes, are there any solutions to
> > eliminate those READ_DMA errors while DMA is enabled?
> >
> > PS:
> > Motherboard: ASUS A7V8X-X
> > CPU: Athlon XP 2500 at 1833MHz
> > $ uname -ai
> > FreeBSD attila 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan 12 10:40:27
> > UTC 2007     root at dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC
> >  i386 GENERIC
>
> Typically, I've seen the READ_DMA error when a hard drive is going bad or
> something wrong with the hardware (power supply is failing). But it could
be
> as you've described.
I tested with another hard disk, the one on which I'd installed
FreeBSD in the past. I put it on another IDE channel but the same
things happened. Now I wonder if it's my IDE controller which has
problems.

Some information about the hardware:
# dmesg | grep -E "^ac?d[[:digit:]]"
ad0: 76319MB <WDC WD800BB-00CJA1 17.07W17> at ata0-master PIO4
ad1: 19540MB <Maxtor 32049H2 YAC614Y0> at ata0-slave PIO4
acd0: DVDR <DVD RW DRU-820A/1.0b> at ata1-master UDMA66
acd1: DVDROM <DVD-ROM DDU1632/VER BS23> at ata1-slave UDMA33

# sysctl -a | grep ata_dma
hw.ata.ata_dma: 0

# sysctl -a | grep atapi
hw.ata.atapi_dma: 1

Bahman


------------------------------

Message: 4
Date: Sat, 25 Aug 2007 10:41:42 +0200
From: Michel Talon <talon at lpthe.jussieu.fr>
Subject: Re: best way to keep track of new developments
To: freebsd-questions at freebsd.org
Message-ID: <20070825084142.GA5233 at lpthe.jussieu.fr>
Content-Type: text/plain; charset=us-ascii

> intel 3945 wireless
> ati x1300 graphics

I have the intel 3945 on my Sony laptop. Works for me with
Damien Bergamini driver 20070121-wpi-freebsd.tar.gz and
FreeBSD-6.2-RELEASE. There are a lot of error messages but it works
nonetheless. However i suspect that it produces memory corruption in
conjunction with the display card, which freezes from time to time
when the 3945 is activated and i am running X. I have never seen a crash
when the 3945 is shut down or i am running on console. The most recent
driver by B. Close is
20070715-wpi-freebsd-7.0-current.tgz
but it works only with FreeBSD-7 so i cannot test it. I have tested
other B. Close drivers, none worked.

As for the video, an Intel card is highly recommended, it works very
well on laptops and is sufficiently powerful to run things like compiz.
There are very good available video modes on console, contrary to many
other models. 

-- 

Michel TALON



------------------------------

Message: 5
Date: Sat, 25 Aug 2007 06:10:06 -0500
From: "Andrew Gould" <andrewlylegould at gmail.com>
Subject: Re: spammers harvesting emaill address from this list
To: "Ted Mittelstaedt" <tedm at toybox.placo.com>
Cc: "freebsd-questions at FreeBSD. ORG" <freebsd-questions at freebsd.org>
Message-ID:
	<d356c5630708250410l38fd104t61a00a1331a029c5 at mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

On 8/25/07, Ted Mittelstaedt <tedm at toybox.placo.com> wrote:
>
>
> Probably the list admins figure that anyone who posts here is an
> advanced user type who understands how to setup spam filters that
> work.
>
> Ted
> _______________________________________________
>


Or doesn't; but wants to.

I tell people that if they "just want a Windows replacement", they should
stick with Windows or use a Mac because they want better service from the
computer without any growth in skills or responsibilities on their part.

A core strength of the *nix operating systems and communities is the
administrator/users' desire for control and acceptance of responsibilities
that come with that control.  System administration is not a spectator
sport.

Andrew


------------------------------

Message: 6
Date: Fri, 24 Aug 2007 20:20:16 -0600 (MDT)
From: rloefgren at forethought.net
Subject: Re: /var or /usr for data?
To: Wojciech Puchar <wojtek at wojtek.tensor.gdynia.pl>
Cc: Brad Waite <freebsd at wcubed.net>, freebsd-questions at freebsd.org
Message-ID: <20070824192101.Y36415 at auden.jmla.com>
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed

On Fri, 24 Aug 2007, Wojciech Puchar wrote:

>> It would appear that the "proper" allocation of filesystems on FreeBSD is
>> to put all data in /usr.  I'm used to this and have been doing it for
>> years.
>
> my favourite "proper" allocation is to make ONE partition (/) and nothing 
> more. and forget all problems about how to partition your drive right...
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
"freebsd-questions-unsubscribe at freebsd.org"
>

I've made a quick look-see through my copies of "The Complete FreeBSD" and
"Absolute BSD" and can't find the reference, but I recall reading
somewhere in my 4.x days that FreeBSD used a different algorithm to write
to the /var directory, if it was on its own filesystem, because /var was
written to a lot (holding logs and all.) Because of this, and all the way
up to 6.2 today, I put /var on its own filesystem, after / and swap.
Where the old AIX wonks used to call the "outer middle" of the disk. Was
this different algorithm really the case? And, now with UFS2, is it still
the case? I still put pgsql/data on /var.

r


------------------------------

Message: 7
Date: Sat, 25 Aug 2007 15:05:16 +0330
From: "Bahman M." <b.movaqar at gmail.com>
Subject: Mouse suddenly gets detached and reattached
To: freebsd-questions at freebsd.org
Message-ID:
	<6d62f69a0708250435x3e1e56f0ne869556e373f23a5 at mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

Hi all,

I just installed X (xorg 7.2) and am using FluxBox. It's working well
and there are no problems. However, the mouse gets suddenly detached
and immediately reattached. I can't say exactly how often this
happens, roughly about 6~7 times a day.

# dmesg | tail -n 4
ums0: at uhub0 port 1 (addr 2) disconnected
ums0: detached
ums0: vendor 0x05e3 USB Mouse, rev 1.10/1.00, addr 2, iclass 3/1
ums0: 5 buttons and Z dir.

# sudo sysctl -a | grep ums
dev.ums.0.%desc: vendor 0x05e3 USB Mouse, rev 1.10/1.00, addr 2, iclass 3/1
dev.ums.0.%driver: ums
dev.ums.0.%location: port=0 interface=0
dev.ums.0.%pnpinfo: vendor=0x05e3 product=0x1205 devclass=0x00
devsubclass=0x00 release=0x0100 sernum="" intclass=0x03
intsubclass=0x01
dev.ums.0.%parent: uhub0

# uname -ai
FreeBSD attila 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan 12 10:40:27
UTC 2007     root at dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC
 i386 GENERIC

Is it sign of a problem? In fact I don't care about the hardware as it
can be easily replaced, I'm afraid that there's something wrong with
software.

Thanks in advance for your help.

Bahman


------------------------------

_______________________________________________
freebsd-questions at freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"

End of freebsd-questions Digest, Vol 191, Issue 37
**************************************************



------------------------------

Message: 11
Date: Sat, 25 Aug 2007 12:56:57 -0400
From: Bill Moran <wmoran at potentialtech.com>
Subject: Re: How to block 200K ip addresses?
To: amin.scg at gmail.com
Cc: freebsd-questions at freebsd.org
Message-ID: <20070825125657.d7b18741.wmoran at potentialtech.com>
Content-Type: text/plain; charset=US-ASCII

In response to "Aminuddin" <amin.scg at gmail.com>:

> Hi,
> How do you block this large range of ip addresses from different subnet?
> IPFW only allows 65536 rules while this will probably use up a few hundred
> thousands of lines.
> 
> I'm also trying to add this into my proxy configuration file, ss5.conf but
> it doesn't allow me to add this large number.
> 
> IS this the limitation of IPF or FreeBSD? How do I work around this?

Not sure if this is a limitation of ipf, but you should be able to do
what you want with pf and pf tables.  As long as you're using a
relatively recent version of FreeBSD, you'll have pf as an option.

-- 
Bill Moran
http://www.potentialtech.com


------------------------------

Message: 12
Date: Sat, 25 Aug 2007 12:43:48 -0400
From: Joe Schaefer <joe+gmane at sunstarsys.com>
Subject: Transferring a GEOM array between hosts
To: freebsd-questions at freebsd.org
Message-ID: <87ir738szf.fsf at gemini.sunstarsys.com>
Content-Type: text/plain; charset=us-ascii


I have an external JBOD array that is a mirror
of two stripes.  What I'd like to do is plug
that array into a new/different freebsd host
machine.  Is there anything I need to do to 
prepare the new machine for the array?

Naively, I'd hope that the new machine will pick
up the geom configuration from the drives themselves,
so I won't have to run any gmirror or gstripe commands 
on the new machine after the JBOD has been plugged
into it.

Can anyone who has done this before give me
a few tips on how to plan appropriately for
such a move?

-- 
Joe Schaefer



------------------------------

Message: 13
Date: Sat, 25 Aug 2007 18:11:52 +0100
From: dgmm <freebsd01 at dgmm.net>
Subject: Re: freebsd-questions Digest, Vol 191, Issue 37
To: freebsd-questions at freebsd.org
Message-ID: <200708251811.52316.freebsd01 at dgmm.net>
Content-Type: text/plain;  charset="iso-8859-15"

On Saturday 25 August 2007, blix wrote:
> Please help with suggestions on how I can eliminate some console spam.
>
> my console and messages file is filling up with these entries:
>
> Aug 25 08:10:18 bsdpc kernel: (da3:umass-sim0:0:0:3): READ CAPACITY.
> CDB: 25 60
> 0 0 0 0 0 0 0 0
> Aug 25 08:10:18 bsdpc kernel: (da3:umass-sim0:0:0:3): CAM Status: SCSI
> Status Er
> ror
> Aug 25 08:10:18 bsdpc kernel: (da3:umass-sim0:0:0:3): SCSI Status: Check
> Conditi
> on
> Aug 25 08:10:18 bsdpc kernel: (da3:umass-sim0:0:0:3): NOT READY asc:3a,0
> Aug 25 08:10:18 bsdpc kernel: (da3:umass-sim0:0:0:3): Medium not present
> Aug 25 08:10:18 bsdpc kernel: (da3:umass-sim0:0:0:3): Unretryable error
>
> It jusst repeats over and over again.  I need to get rid of them.
>
> Question 1: How can I silence these messages so they stop repeating in
> my logs?
>
> Question 2: If they cannot be silenced, how can I keep them from taking
> over my text console when I go into single user mode?
>
> please help with suggestions,

Step 1.  Create a new message to start a new thread or you emails will get 
lost in other, unrelated threads.

Step 2.  Unplug the USB device da3 or stop whatever is trying to automount
it 
from running


-- 
Dave


------------------------------

Message: 14
Date: Sat, 25 Aug 2007 13:13:17 -0400
From: Bill Moran <wmoran at potentialtech.com>
Subject: Re: time issue
To: "Michael P. Soulier" <msoulier at digitaltorque.ca>
Cc: freebsd-questions at freebsd.org
Message-ID: <20070825131317.609d2b45.wmoran at potentialtech.com>
Content-Type: text/plain; charset=US-ASCII

In response to "Michael P. Soulier" <msoulier at digitaltorque.ca>:

> Hello,
> 
> I recently noticed that my clock was running a few minutes slow, even
though I
> have ntpd running on the box. Now I'm seeing this on occasion. 
> 
> Aug 24 20:17:10 kanga dovecot: Time just moved backwards by 105 seconds.
This
> might c
> ause a lot of problems, so I'll just kill myself now.
> http://wiki.dovecot.org/TimeMov
> edBackwards
> 
> 
> Does this suggest a hardware clock issue?

In addition to the other suggestions, FreeBSD may have chosen a crappy
clock.

Believe it or not, most motherboards have multiple clocks.  Depending on
the type of clock and the quality of the mobo, not all of these clocks
are good for keeping time.  FreeBSD tries to choose the best clock at
boot time, but doesn't always get it right.  For some interesting
discussions on this topic, search the list archives for "calcru" or
check out this FAQ entry:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/troubleshoot.html#LAPTO
P-CLOCK-SKEW

-- 
Bill Moran
http://www.potentialtech.com


------------------------------

Message: 15
Date: Sat, 25 Aug 2007 18:16:43 +0100
From: Jo?o Pinheiro <jp at pontosi.pt>
Subject: fdisk - can't update an in-use partition
To: freebsd-questions at freebsd.org
Message-ID: <46D063FB.5070602 at pontosi.pt>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Hi,
I have freebsd 6.2 installed on a disk with a 260Gb partition with only 
a 30Gb label (don't ask :P) and I'm trying to resize the active 
partition to the size of the existing label, so I can create another 
partition. I've already set kern.geom.debugflags=16 to be able to write 
to mbr, but fdisk doesn't update my disk and gives the following error:

fdisk: conflict with open slices

Does anywone know a way to force fdisk to update the partition table? 
This is a remote machine so I can't boot from CD to correct the 
partition table and/or reinstall the SO.

Thanks in advance,
    Joco Pinheiro


------------------------------

Message: 16
Date: Sat, 25 Aug 2007 13:53:19 -0400
From: Robert Huff <roberthuff at rcn.com>
Subject: FBSD-friendly UPS for home needs
To: Freebsd questions <freebsd-questions at freebsd.org>
Message-ID: <18128.27791.491938.844812 at jerusalem.litteratus.org>
Content-Type: text/plain; charset=us-ascii

Zbigniew Szalbot writes:

>  I am going to get a UPS device for my home freebsd gateway/router
>  and wonder if there is anything that you would recommend? At work
>  I use APC units and there is a dedicated software to manage it
>  (apcupsd). Not sure if that's the case with other manufacturers?
>  I'd like to get something that could be managed by software and
>  at the some time not too expensive... you know home
>  budget...erm...

	Assuming the manufacturer does not provide a program - and few
do - the preferred software for APC (and compatible) units is
"apcupsd"; for others, it seems to be "nut" (sysutils/nut).
Check carefully to make sure it works with your UPS.


					Robert Huff



	


------------------------------

Message: 17
Date: Sat, 25 Aug 2007 13:00:11 -0500
From: Jonathan Horne <freebsd at dfwlp.com>
Subject: Re: FBSD-friendly UPS for home needs
To: freebsd-questions at freebsd.org
Message-ID: <200708251300.11373.freebsd at dfwlp.com>
Content-Type: text/plain;  charset="iso-8859-1"

On Saturday 25 August 2007 12:53:19 Robert Huff wrote:
> Zbigniew Szalbot writes:
> >  I am going to get a UPS device for my home freebsd gateway/router
> >  and wonder if there is anything that you would recommend? At work
> >  I use APC units and there is a dedicated software to manage it
> >  (apcupsd). Not sure if that's the case with other manufacturers?
> >  I'd like to get something that could be managed by software and
> >  at the some time not too expensive... you know home
> >  budget...erm...
>
> 	Assuming the manufacturer does not provide a program - and few
> do - the preferred software for APC (and compatible) units is
> "apcupsd"; for others, it seems to be "nut" (sysutils/nut).
> Check carefully to make sure it works with your UPS.
>
>
> 					Robert Huff
>
>
>
>
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe at freebsd.org"

ill put in another vote for an APC with sysutile/apcupsd.  here is some 
example output of the what the software pulls from the unit:

[jhorne at athena ~] $ apcaccess
APC      : 001,037,0912
DATE     : Sat Aug 25 12:57:45 CDT 2007
HOSTNAME : athena.dfwlp.com
RELEASE  : 3.14.1
VERSION  : 3.14.1 (04 May 2007) freebsd
UPSNAME  : Athena APC RS 1500
CABLE    : USB Cable
MODEL    : Back-UPS RS 1500
UPSMODE  : Stand Alone
STARTTIME: Sat Aug 25 07:56:21 CDT 2007
STATUS   : ONLINE
LINEV    : 118.0 Volts
LOADPCT  :  18.0 Percent Load Capacity
BCHARGE  : 100.0 Percent
TIMELEFT :  49.0 Minutes
MBATTCHG : 5 Percent
MINTIMEL : 3 Minutes
MAXTIME  : 0 Seconds
SENSE    : High
LOTRANS  : 097.0 Volts
HITRANS  : 138.0 Volts
ALARMDEL : Always
BATTV    : 27.1 Volts
LASTXFER : Low line voltage
NUMXFERS : 0
TONBATT  : 0 seconds
CUMONBATT: 0 seconds
XOFFBATT : N/A
SELFTEST : NO
STATFLAG : 0x07000008 Status Flag
MANDATE  : 2006-09-19
SERIALNO : BBlalalalalalalalala
BATTDATE : 2001-09-25
NOMINV   : 120
NOMBATTV :  24.0
FIRMWARE : 8.g9 .D USB FW:g9
APCMODEL : Back-UPS RS 1500
END APC  : Sat Aug 25 12:57:49 CDT 2007

(as you can see, its USB connected too, which is a nice convenience)

cheers,
-- 
Jonathan Horne
http://dfwlpiki.dfwlp.org
freebsd at dfwlp.com


------------------------------

Message: 18
Date: Sat, 25 Aug 2007 12:58:06 -0500
From: Mak Kolybabi <mak_kolybabi at umanitoba.ca>
Subject: MSK Driver -- Unable to get it working on laptop
To: freebsd-questions at freebsd.org
Message-ID: <20070825175803.GA19094 at brisbane>
Content-Type: text/plain; charset=us-ascii

I've been trying to get FreeBSD -CURRENT installed on my laptop for several
days
now. Although most things work fine, I cannot get my ethernet card to
function.

I have searched for similar issues on the web and mailing list archives and
found nothing.

The card identifies as:
> mskc0 at pci2:0:0: class=0x020000 card=0x01101025 chip=0x435211ab rev=0x14
hdr=0x00
>     vendor     = 'Marvell Semiconductor (Was: Galileo Technology Ltd)'
>     device     = 'Yukon 88E8038 PCI-E Fast Ethernet Controller'
>     class      = network
>     subclass   = ethernet

The relevant portion of dmesg is:
> pcib1: <ACPI PCI-PCI bridge> irq 16 at device 28.0 on pci0
> pcib1:   secondary bus     2
> pcib1:   subordinate bus   2
> pcib1:   I/O decode        0x0-0x0
> pcib1:   no prefetched decode
> [snip]
> pcib1: matched entry for 2.0.INTA
> pcib1: slot 0 INTA hardwired to IRQ 16
> mskc0: <Marvell Yukon 88E8038 Gigabit Ethernet> irq 16 at device 0.0 on
pci2
> pcib1: mskc0 requested unsupported memory range 0-0xffffffffffffffff
(decoding 0-0, 0-0)
> mskc0: 0x4000 bytes of rid 0x10 res 3 failed (0, 0xffffffffffffffff).
> mskc0: Lazy allocation of 0x4 bytes rid 0x14 type 4 at 0x1080
> mskc0: unknown device: id=0x00, rev=0x00
> device_attach: mskc0 attach returned 6

I've posted full versions of all the relevant configuration info I could
think of at pastebin:
DMESG: http://pastebin.org/1136
PCICONF: http://pastebin.org/1137
SYSCTL: http://pastebin.org/1138

And finally, here's the web page with the laptop's specs:
http://www.acerpanam.com/synapse/forms/portal20.cfm?recordid=540&formid=3404
&website=AcerPanAm.com/canada&siteid=7297&words=all&keywords=&areaid=17

Any help would be much appreciated.

--
Matthew Anthony Kolybabi (Mak)

() ASCII Ribbon Campaign | Against HTML e-mail
/\  www.asciiribbon.org  | Against proprietary extensions



------------------------------

Message: 19
Date: Sat, 25 Aug 2007 19:38:10 +0100
From: Jo?o Pinheiro <jp at pontosi.pt>
Subject: Re: fdisk - can't update an in-use partition - solved
To: freebsd-questions at freebsd.org
Message-ID: <46D07712.4030405 at pontosi.pt>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Joco Pinheiro escreveu:
> Hi,
> I have freebsd 6.2 installed on a disk with a 260Gb partition with 
> only a 30Gb label (don't ask :P) and I'm trying to resize the active 
> partition to the size of the existing label, so I can create another 
> partition. I've already set kern.geom.debugflags=16 to be able to 
> write to mbr, but fdisk doesn't update my disk and gives the following 
> error:
>
> fdisk: conflict with open slices
>
> Does anywone know a way to force fdisk to update the partition table? 
> This is a remote machine so I can't boot from CD to correct the 
> partition table and/or reinstall the SO.
>
> Thanks in advance,
>    Joco Pinheiro
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to 
> "freebsd-questions-unsubscribe at freebsd.org"
>
It seems fdisk updates the partition table anyway, it only displays a 
notice.

    Joco Pinheiro


------------------------------

Message: 20
Date: Sat, 25 Aug 2007 15:04:40 -0400
From: "Michael P. Soulier" <msoulier at digitaltorque.ca>
Subject: Re: time issue
To: Modulok <modulok at gmail.com>
Cc: freebsd-questions at freebsd.org
Message-ID: <20070825190440.GB9340 at piglet.digitaltorque.ca>
Content-Type: text/plain; charset="us-ascii"

On 24/08/07 Modulok said:

> Is this a system that is left running 24/7 connected to the Internet,
> or a system which is frequently turned off? If the latter, you might

It's the former. I'll try the suggested ntp sync option anyway. I'm adding
more sources too, in case the one that I'm syncing too isn't good enough.

Ah, in fact I think that it is not. Perhaps the NRC isn't permitting public
access to their time servers anymore. 

[msoulier at kanga ~]$ ntpq -p
     remote           refid      st t when poll reach   delay   offset
jitter
============================================================================
==
 time.nrc.ca     .INIT.          16 u    -   64    0    0.000    0.000
4000.00
 tick.usask.ca   .GPS.            1 u    9   64    1  111.674  27760.6
0.002
 tock.usask.ca   .GPS.            1 u    8   64    1  107.417  27759.2
0.002
 boudicca.tux.or 65.212.71.102    2 u    7   64    1   95.680  27758.6
0.002
 LOCAL(0)        LOCAL(0)        10 l    6   64    1    0.000    0.000
0.002

Mike
-- 
Michael P. Soulier <msoulier at digitaltorque.ca>
"Any intelligent fool can make things bigger and more complex... It
takes a touch of genius - and a lot of courage to move in the opposite
direction." --Albert Einstein
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url :
http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20070825/0b
35311e/attachment-0001.pgp

------------------------------

Message: 21
Date: Sat, 25 Aug 2007 15:14:03 -0400
From: Bill Moran <wmoran at potentialtech.com>
Subject: Re: time issue
To: "Michael P. Soulier" <msoulier at digitaltorque.ca>
Cc: freebsd-questions at freebsd.org, Modulok <modulok at gmail.com>
Message-ID: <20070825151403.2a2a247d.wmoran at potentialtech.com>
Content-Type: text/plain; charset=US-ASCII

In response to "Michael P. Soulier" <msoulier at digitaltorque.ca>:

> On 24/08/07 Modulok said:
> 
> > Is this a system that is left running 24/7 connected to the Internet,
> > or a system which is frequently turned off? If the latter, you might
> 
> It's the former. I'll try the suggested ntp sync option anyway. I'm adding
> more sources too, in case the one that I'm syncing too isn't good enough.
> 
> Ah, in fact I think that it is not. Perhaps the NRC isn't permitting
public
> access to their time servers anymore. 

If this turns out to be your problem, I recommend using pool.ntp.org.
Read up a bit, it should be much more reliable on a consistent basis.
Also, OpenNTP has support built in to automatically talk to all of
ntp.org's servers without any funky configuration:
http://www.pool.ntp.org/use.html

-- 
Bill Moran
http://www.potentialtech.com


------------------------------

Message: 22
Date: Thu, 25 Oct 2007 16:05:26 -0400
From: "Grant Peel" <gpeel at thenetnow.com>
Subject: uknd - uhub DRAC woes.
To: <freebsd-questions at freebsd.org>
Message-ID: <002001c81742$62d22a00$6501a8c0 at GRANT>
Content-Type: text/plain;	charset="iso-8859-1"

Hi all,

Whenever I reset my DRAC cards on my Dell machines, I can no longer use the
remote terminal applet to access the console. The error I see is this:

ukbd0: at uhub0 port 1 (addr 2) disconnected
ukbd0: detached

Is there any way to reinit the keyboard? (through ssh). i.e can the uhub
and/or the ukbd drivers be restarted. (short of powering down/up the whole
server.

-Grant


------------------------------

Message: 23
Date: Sat, 25 Aug 2007 18:49:06 +0300
From: Manolis Kiagias <sonicy at otenet.gr>
Subject: Re: Installation Disc Won't Boot
To: lawrence.petrykanyn at sympatico.ca
Cc: freebsd-questions at freebsd.org
Message-ID: <46D04F72.2050709 at otenet.gr>
Content-Type: text/plain; charset=ISO-8859-7; format=flowed

lawrence.petrykanyn at sympatico.ca wrote:
> Hi, Manoliis:
>
> I took your advice.  I copied the burned iso file into a FreeBSD 
> directory and ran md5 and the check digits did not match.  I then 
> copied my downloaded iso image from Win98 into FreeBSD and ran md5 and 
> the digits did match.  So there was nothing wrong with the iso of 
> disc1 that I downloaded from the web site into Win98.  It must have 
> been the burning of the file in Win98 with Nero Express that was the 
> problem.
>
> So I burned another copy of the iso in FreeBSd with burncd using:
>   burncd -f /dev/acd1 6.2-RELEASE-i386.iso fixate
> and it booted just fine.
>
> Thanks for all of your suggestions and advice.  Now I will be spending 
> the better part of the weekend doing the installation of 6.2.  Wish me 
> luck.
>
> Have a great day,
> Larry
>
>
Glad I could be of help! Make sure to get some pizza and beer for your 
install party :)
I believe you will find 6.2 to be an excellent release, as most of us on 
this list do.

Take care,
Manolis


------------------------------

Message: 24
Date: Sat, 25 Aug 2007 15:36:45 -0500
From: Derek Ragona <derek at computinginnovations.com>
Subject: Re: FBSD-friendly UPS for home needs
To: Zbigniew Szalbot <zbigniew at szalbot.homedns.org>,	Freebsd questions
	<freebsd-questions at freebsd.org>
Message-ID:
	<6.0.0.22.2.20070825153524.02687ec0 at mail.computinginnovations.com>
Content-Type: text/plain; charset="us-ascii"; format=flowed

At 11:15 AM 8/25/2007, Zbigniew Szalbot wrote:

>Hello,
>
>I am going to get a UPS device for my home freebsd gateway/router and
>wonder if there is anything that you would recommend? At work I use APC
>units and there is a dedicated software to manage it (apcupsd). Not sure if
>that's the case with other manufacturers? I'd like to get something that
>could be managed by software and at the some time not too expensive... you
>know home budget...erm...
>
>Well, many thanks for all recommendations!
>
>
>Zbigniew Szalbot

I use nut from the ports.  I have had no problem with UPS's that have a 
serial interface.  Some USB interfaces work, some do not.  So I would use a 
UPS with a seral interface assuming you have a free serial port on the
server.

         -Derek


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.



------------------------------

Message: 25
Date: Sat, 25 Aug 2007 21:46:04 +0100
From: "N.J. Mann" <njm at njm.f2s.com>
Subject: Re: uknd - uhub DRAC woes.
To: Grant Peel <gpeel at thenetnow.com>
Cc: freebsd-questions at freebsd.org
Message-ID: <20070825204604.GB31483 at oberon.njm.f2s.com>
Content-Type: text/plain; charset=us-ascii

In message <002001c81742$62d22a00$6501a8c0 at GRANT>, Grant Peel wrote:
> 
> Whenever I reset my DRAC cards on my Dell machines,

I'm sorry but I can't help you with your problem.  But, you do need to
reset your clock, since you appear to have reached October two months
before the rest of us.  I noticed this, because my spam filters flagged
your message as probably spam, where of course it wasn't.


Cheers,
       Nick.
-- 



------------------------------

Message: 26
Date: Sat, 25 Aug 2007 22:46:55 +0200
From: Zbigniew Szalbot <zbigniew at szalbot.homedns.org>
Subject: Re: FBSD-friendly UPS for home needs
To: Freebsd questions <freebsd-questions at freebsd.org>
Message-ID: <4b154dd73e0ceaa63c6dc049067bbeea at szalbot.homedns.org>
Content-Type: text/plain; charset="UTF-8"


Hello,

>>that's the case with other manufacturers? I'd like to get something that
>>could be managed by software and at the some time not too expensive...
> you
>>know home budget...erm...

> I use nut from the ports.  I have had no problem with UPS's that have a
> serial interface.  Some USB interfaces work, some do not.  So I would use
> a
> UPS with a seral interface assuming you have a free serial port on the
> server.

Thank you - thank you very much for all the responses. Very helpful. Have a
nice week-end.

Regards,

-- 
Zbigniew Szalbot
www.slowo.pl
www.lcwords.com



------------------------------

Message: 27
Date: Sat, 25 Aug 2007 16:55:32 -0400
From: dan sikorsky <dan at cupid.com>
Subject: nvidia driver blues
To: freebsd-questions at freebsd.org
Message-ID: <46D09744.5060705 at cupid.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

freebsd 6.2 i386 generic
geforce 7300gt
fresh install.. have updated source, and new ports tree..
installd x11, and then nvidia drivers no luck, all i get is

[root at green /usr/ports/x11/nvidia-driver]# make install
===>  Building for nvidia-driver-100.14.11
===> src (all)
cc -O2 -fno-strict-aliasing -pipe -DNV_VERSION_STRING=\"100.14.11\" 
-D__KERNEL__ -DNVRM -UDEBUG -U_DEBUG -DNDEBUG -O -fno-common 
-msoft-float -fno-unit-at-a-time -minline-all-stringops  -D_KERNEL 
-DKLD_MODULE -std=c99 -nostdinc  -I/src -I. -I@ -I@/contrib/altq 
-finline-limit=8000 --param inline-unit-growth=100 --param 
large-function-growth=1000 -fno-common  -mno-align-long-strings 
-mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2 
-mno-sse3 -ffreestanding -Wall -Wredundant-decls -Wnested-externs 
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline 
-Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions -c nvidia_ctl.c
cc1: error: unrecognized command line option "-Wno-pointer-sign"
*** Error code 1

Stop in /usr/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86-100.14.11/src.
*** Error code 1

Stop in /usr/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86-100.14.11.
*** Error code 1

Stop in /usr/ports/x11/nvidia-driver.
*** Error code 1

Stop in /usr/ports/x11/nvidia-driver

any ideas?


------------------------------

Message: 28
Date: Sat, 25 Aug 2007 22:56:41 +0200
From: Nikola Lecic <nlecic at EUnet.yu>
Subject: Re: ports/UPDATING instructions and Python 2.4
To: Kirk Strauser <kirk at strauser.com>
Cc: freebsd-questions at freebsd.org
Message-ID: <200708252101.l7PL1ME1018080 at eunet.yu>
Content-Type: text/plain; charset=UTF-8

On Sat, 25 Aug 2007 09:15:52 -0500
Kirk Strauser <kirk at strauser.com> wrote:

> I need to keep Python 2.4 on my system to run Zope (which isn't  
> compatible with 2.5).  So, I dutifully followed the instructions  
> under /usr/ports/UPDATING starting with "If want to keep 2.4.x  
> installed alongside 2.5.x [...]".  When I came back a little later,  
> all of my dependent ports had been upgraded from py24-* to py25-*,  
> effectively killing my webserver.
> 
> Could someone else take a look at those instructions and see if they  
> make sense - they look a little suspicious to me - or if there is  
> some gotcha that I might have missed?  Thanks.

Hello Kirk,

A couple of thoughts that could be useful.

The instructions explain how to keep both 2.4 and 2.5 versions of
_Python_itself_, that's all. The "PYTHON_DEFAULT_VERSION=python2.5" line
of /etc/make.conf serves as an indicator to all new applications to
avoid confusion if python-2.4 is installed alongside.

You now probably have something like:

  # ls -d /var/db/pkg/py*
  /var/db/pkg/python24-2.4.4_1
  /var/db/pkg/python25-2.5.1
  /var/db/pkg/py25-cairo-1.4.0_1
  /var/db/pkg/py25-chardet-1.0_3
  [... etc., py25-* only ...]

Zope feels fine in this situation:

  # cd /usr/ports/www/zope3
  # make configure
  [...]
  ===>  Patching for zope-3.3.1
  ===>  Applying FreeBSD patches for zope-3.3.1
  ===>   zope-3.3.1 depends on file: /usr/local/bin/python2.4 - found
  ===>  Configuring for zope-3.3.1
  Configuring Zope installation
  Using Python interpreter at /usr/local/bin/python2.4

(The same for other py-* ports that are fixed to 2.4 interpreter (i.e.
www/py-pylons).)

Now, I'm trying to understand what happened to your webserver: you said
that changing py24-* to py25-* broke it. Maybe I'm mistaken, but I
see just 7 py-* ports that have any relationship with Zope. These are: 

  databases/py-psycopg   [WITH_ZOPE optional]
  devel/py-zopeInterface
  devel/py-twistedCore   [dependent on devel/py-zopeInterface]
  lang/py-mx-base        [WITH_ZOPE optional]
  x11-toolkits/py-kiwi   [optionally linked with devel/py-zopeInterface]
  devel/py-zconfig       [not sure about this one]
  textproc/py-zpt        [not sure about this one]

The presence of 'WITH_ZOPE' flag will force the port to use correct
version of Python: 

  # cd /usr/ports/lang/py-mx-base/
  # make USE_ZOPE=yes
  ===>   py23-mx-base-2.0.6 depends on file: /usr/local/bin/python2.3 - not
found
  ===>    Verifying install for /usr/local/bin/python2.3 in
/usr/ports/lang/python23

(ZOPE_VERSION is also available.) So where is the connection between
zope and py-* ports that crashed your webserver? Please elaborate on
this, i.e. how does you webserver depend on py24-*?

In meantime, if you just need py24- versions of several ports, you can
do something like this:

  # portupgrade -f -r -m "PYTHON_VERSION=2.4" py25-imaging

This will install py24-imaging and rebuild ports dependent on it (e.g.
graphics/skencil). Use '-n' flag to see what will happen first.

This is a quick and non-elegant help to get your webserver working
again. If you provide more information you will surely get more
in-depth explanation and more elegant solution from someone, preferably
from other Zope users.

Nikola LeD
iD



------------------------------

Message: 29
Date: Sat, 25 Aug 2007 16:13:52 -0500
From: Dan Nelson <dnelson at allantgroup.com>
Subject: Re: How to block 200K ip addresses?
To: Aminuddin <amin.scg at gmail.com>
Cc: freebsd-questions at freebsd.org
Message-ID: <20070825211352.GB25055 at dan.emsphone.com>
Content-Type: text/plain; charset=us-ascii

In the last episode (Aug 26), Aminuddin said:
> How do you block this large range of ip addresses from different
> subnet? IPFW only allows 65536 rules while this will probably use up
> a few hundred thousands of lines.
> 
> I'm also trying to add this into my proxy configuration file, ss5.conf but
> it doesn't allow me to add this large number.
> 
> IS this the limitation of IPF or FreeBSD? How do I work around this?

Even though there are 65536 rule numbers, each number can actually have
any amount of rules assigned to it.  What you're probably looking for,
though, is ipfw's table keyword, which uses the same radix tree lookup
format as the kernel's routing tables, so it scales well to large
amounts of sparse addresses.  man ipfw, search for "lookup tables".

-- 
	Dan Nelson
	dnelson at allantgroup.com


------------------------------

Message: 30
Date: Sun, 26 Aug 2007 02:15:58 +0500
From: "Narek Gharibyan" <ngharibyan at arm.synisys.com>
Subject: IPFW and HTTPS problem
To: <freebsd-questions at freebsd.org>
Cc: questions at freebsd.org
Message-ID: <01d201c7e75d$21950ea0$180ca8c0 at arm.synisys.com>
Content-Type: text/plain;	charset="koi8-r"

I enabled https for my webmail. It works for LAN client but doesn't work for
Internet clients. I checked with tcpdump ipfw filters the incomping https
packets unless the rule

Ipfw add allow tcp from any to ${webmail} 443

Ipfw add allow tcp from ${webmail} 443 to any

 

Even I tried 

 

Ipfw add allow all from any to ${webmail}  keep-state

Ipfw add allow all from ${webmail} to any keep-state

 

Nothing helps.

 

Any comments? 

Are there any specific ipfw configurations related to https? 

 

Thank you in advance

Narek



------------------------------

Message: 31
Date: Sun, 26 Aug 2007 02:15:58 +0500
From: "Narek Gharibyan" <ngharibyan at arm.synisys.com>
Subject: IPFW and HTTPS problem
To: <freebsd-questions at freebsd.org>
Cc: questions at freebsd.org
Message-ID: <01d201c7e75d$21950ea0$180ca8c0 at arm.synisys.com>
Content-Type: text/plain;	charset="koi8-r"

I enabled https for my webmail. It works for LAN client but doesn't work for
Internet clients. I checked with tcpdump ipfw filters the incomping https
packets unless the rule

Ipfw add allow tcp from any to ${webmail} 443

Ipfw add allow tcp from ${webmail} 443 to any

 

Even I tried 

 

Ipfw add allow all from any to ${webmail}  keep-state

Ipfw add allow all from ${webmail} to any keep-state

 

Nothing helps.

 

Any comments? 

Are there any specific ipfw configurations related to https? 

 

Thank you in advance

Narek



------------------------------

Message: 32
Date: Sat, 25 Aug 2007 11:18:32 -1000
From: NetOpsCenter <noc at hdk5.net>
Subject: Re: Test on FreeBSD site
To: Bill Moran <wmoran at potentialtech.com>
Cc: freebsd-questions at FreeBSD.org
Message-ID: <46D09CA8.2090701 at hdk5.net>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Bill Moran wrote:

>In response to NetOpsCenter <noc at hdk5.net>:
>
>  
>
>>Aloha,
>>
>>How long does it take for a test to be accepted or rejected on the 
>>FreeBSD test mail box?
>>Is three minutes normal for a test to pop up?
>>I had some FreeBSD 7 config issues and this nearly caused me to think I 
>>hadn't cleared the problem  because it took quite a while to pop up.
>>    
>>
>
>It depends on how busy the server is at the time you send it, among
>other factors.  I haven't noticed if the mail servers are doing
>greylisting, but it wouldn't surprise me if they were.
>
>In this day and age, with the spam scourge and all the alleged "solutions"
>that everyone's mail servers use, anything less than 10 minutes for a
>delivery should be considered successful.
>
>  
>
Thanks for the reply.
FreeBSD 7 is excellent. Applause  to the Developers.
I have been using FreeBSD since 2. something.

Is there a good how to set up spam assassin for  FreeBSD?  Most I have tried
have no FreeBSD specific file placements listsed and I can't get it to work.

 
~Al Plant - Honolulu, Hawaii -  Phone:  808-284-2740
  + http://hawaiidakine.com + http://freebsdinfo.org + noc at hdk5.net +
  + http://internetohana.org   - Supporting - FreeBSD 6.* - 7.* +
"All that's really worth doing is what we do for others."- Lewis Carrol




------------------------------

Message: 33
Date: Sat, 25 Aug 2007 17:21:24 -0400
From: Bill Moran <wmoran at potentialtech.com>
Subject: Re: IPFW and HTTPS problem
To: "Narek Gharibyan" <ngharibyan at arm.synisys.com>
Cc: questions at freebsd.org
Message-ID: <20070825172124.6295f597.wmoran at potentialtech.com>
Content-Type: text/plain; charset=US-ASCII


[Any reason you posted to the same list twice?]

In response to "Narek Gharibyan" <ngharibyan at arm.synisys.com>:
>
> I enabled https for my webmail. It works for LAN client but doesn't work
for
> Internet clients. I checked with tcpdump ipfw filters the incomping https
> packets unless the rule
> 
> Ipfw add allow tcp from any to ${webmail} 443
> 
> Ipfw add allow tcp from ${webmail} 443 to any
> 
>  
> 
> Even I tried 
> 
>  
> 
> Ipfw add allow all from any to ${webmail}  keep-state
> 
> Ipfw add allow all from ${webmail} to any keep-state
> 
>  
> 
> Nothing helps.
> 
>  
> 
> Any comments? 

Yes.  Please provide your entire ruleset.  It's impossible to assist in
debugging a ruleset with only a partial ruleset.  Do not trim or edit
the ruleset, as you may trim away the part that is causing the problem.

On your own, the output of 'ipfw show' can be useful for determining
which rules are blocking traffic, as it shows counters of how many
packets have matched each rule.

-- 
Bill Moran
http://www.potentialtech.com


------------------------------

_______________________________________________
freebsd-questions at freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"

End of freebsd-questions Digest, Vol 191, Issue 38
**************************************************



More information about the freebsd-questions mailing list