Re: Fixing DST manually on rel4 & rel5

2007-03-15 Thread Ted Mittelstaedt

- Original Message - 
From: "Chuck Swiger" <[EMAIL PROTECTED]>
To: "Ted Mittelstaedt" <[EMAIL PROTECTED]>
Cc: "Ken Cochran" <[EMAIL PROTECTED]>; 
Sent: Thursday, March 15, 2007 9:12 AM
Subject: Re: Fixing DST manually on rel4 & rel5


> On Mar 14, 2007, at 10:29 PM, Ted Mittelstaedt wrote:
> > echo "ln -s /usr/share/zoneinfo/PST8PDT /etc/localtime"
> > [ ... ]
> >
> > I think the ln-s line is backwards, I didn't check it.  I think it's
> > been a while since they used softlinks for localtime
> 
> The use of "ln -s" will work just fine as written.  I don't know why  
> tzsetup makes a copy of the zoneinfo file rather than setting up a  
> symlink, but making a copy simply allows the file in /etc to become  
> out-of-sync if one updates the files under /usr/share{/lib}/zoneinfo  
> without re-running tzsetup again.
> 

Maybe they want the timezone to be correct if you boot into
single user mode and don't mount /usr?

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


Re: DNS configuration at FreeBSD

2007-03-15 Thread Nicklas B. Westerlund

neo neo wrote:

could u please tell me detail how to configure DNS ip ?


Please stop posting the same question multiple times.
Also, 
http://www.freebsd.org/doc/en_US.ISO8859-1/articles/mailing-list-faq/etiquette.html


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


Flash with Firefox 2

2007-03-15 Thread Jay Chandler
I can't be the first person to ask this, but a Google and a cursory 
search of the archives don't lend me much in the way of hints.


Anyone have a link or an explanation of how to get the Flash plugin 
working within Firefox?  I've gotten Java up already, but Flash 
continues to elude me...


--
Jay Chandler
Network Administrator
Chapman University

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


Re: Should I Upgrade 5.4 -> 6.2?

2007-03-15 Thread Kris Kennaway
On Thu, Mar 15, 2007 at 08:46:45PM -0700, Garrett Cooper wrote:
> Kris Kennaway wrote:
> >On Thu, Mar 15, 2007 at 05:09:57PM -0400, Jerry McAllister wrote:
> >>On Thu, Mar 15, 2007 at 04:47:06PM -0400, [EMAIL PROTECTED] wrote:
> >>
> >>>First off, I want to thank the people who responded to my thread 
> >>>"Stability Issues on a 5.4-RELEASE box" a couple of weeks ago; after 
> >>>disabling hyperthreading, getting a clean run of Memtest back, and 
> >>>doing some serious fsck'ing of the disks, the box appears to now be 
> >>>completely stable. I'm still not sure which of the above fixed the 
> >>>problem...but I'll take a stable system at this point. :-)
> >>>
> >>>That said, in that thread I had asked about the advisability of 
> >>>upgrading to 6.2, and it was intelligently pointed out that doing so in 
> >>>pursuit of stability was a bad idea. Now that the box is stable, 
> >>>though, I'm back to the same question: should I make the upgrade, and 
> >>>if so, how should I do it?
> >>>
> >>>My primary driver for doing so would be to keep current enough that I'm 
> >>>still getting security and other patches on a regular basis, and that I 
> >>>can upgrade my applications from ports as necessary. If this is not an 
> >>>issue, then my only remaining concern would be that it's usually easier 
> >>>to get support on lists like this if you're running a modern version of 
> >>>the OS (that's certainly the case with the OpenBSD folks).
> >>>
> >>>My primary concern with upgrading is that the box is in Portland, OR, 
> >>>and I'm in Arlington, VA...and while the ISP is friendly, I doubt that 
> >>>I could count on them for major system recovery if I botch something 
> >>>during the upgrade. My other worry is that I don't want to break 
> >>>existing apps if possible (the main one I'm concerned about is 
> >>>Zope/Plone). This is a production box with moderate traffic, and it 
> >>>would be a problem if there was extensive downtime.
> >>>
> >>>Is it worth upgrading? If so, what's the best way to do so -- CVSup, or 
> >>>some other way? Are there any major caveats if I do choose to upgrade 
> >>>(or choose to stay with the existing OS)?
> >>You should if you can reasonably do it, for the reasons you give plus
> >>improvements in performance and in some utilities.  
> >>
> >>My sentiment is usually to do a clean install over major version numbers. 
> >>It tends to leave less dross laying around.  but I do not have to worry 
> >>about down times very much, a couple of hours at night is not terribly
> >>noticable in my stuff.  It does require more time down to do a clean 
> >>from scratch install.   But, I think you can get away with a cvsup 
> >>upgrade from 5.4 to 6.2.   Then your downtime is just the reboot and 
> >>stuff at single user (mergemaster), plus probably some for upgrading 
> >>various ports.
> >
> >Yes, a source upgrade from 5.x to 6.x (followed by portupgrade -fa)
> >isn't too bad.  As with any upgrade you do need a recovery strategy
> >though.
> >
> >Kris
> 
> I agree with both Kris and Jerry. Besides, if you run 6.2 you're running 
> a supported version of FreeBSD whereas 5.4 isn't supported anymore (5.5 
> is the last supported version in the legacy 5.x branch). Plus there are 
> slight improvements from 5.x to 6.x.

s/slight/major/ ;)

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


Re: Verifying my 3D drivers set up properly for my nVidia based graphics card

2007-03-15 Thread Norbert Papke
On Thursday 15 March 2007 20:50, Garrett Cooper wrote:
> Composite still isn't the greatest under the 6.9 branch of Xorg
> (and it wasn't that great under Xorg 7.0 either). It might have improved
> since then though in 7.1/7.2.

I am running 7,2 and still cannot get the nvidia drivers to work with 
composite + OpenGL.

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


CI INVESTMENTS' e-mail policy - Action Taken

2007-03-15 Thread Symantec_AntiVirus_for_SMTP_Gateways
The attachment(s) from the following e-mail was removed due to CI Investments' 
e-mail policy.

From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Date: Thu, 15 Mar 2007 23:40:18 -0500
Subject: STATUS


The following violations were detected:

--- Scan information follows ---

Virus Name: [EMAIL PROTECTED]
File Attachment: [EMAIL PROTECTED]
Attachment Status: deleted





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


Re: CD burning problem

2007-03-15 Thread Garrett Cooper

Aaron Siegel wrote:

Hello

I am unable to burn cd with my new Sony DVD-RW. I have been fighting with this 
for month. Sorry for have to post this message for such a basic task, Bellow 
is the error message that is produced by cdrecord 


Thank you
Aaron

<[EMAIL PROTECTED]># cdrecord -scanbus
Cdrecord-Clone 2.01 (i386-unknown-freebsd6.1) Copyright (C) 1995-2004 Jörg 
Schilling

Using libscg version 'schily-0.8'.
scsibus1:
1,0,0   100) 'SONY' 'DVD RW DRU-820A ' '1.0b' Removable CD-ROM
1,1,0   101) *
1,2,0   102) *
1,3,0   103) *
1,4,0   104) *
1,5,0   105) *
1,6,0   106) *
1,7,0   107) *

<[EMAIL PROTECTED]># cdrecord dev=1,0,0 k3b_image.iso
cdrecord: No write mode specified.
cdrecord: Asuming -tao mode.
cdrecord: Future versions of cdrecord may have different drive dependent 
defaults.

cdrecord: Continuing in 5 seconds...
Cdrecord-Clone 2.01 (i386-unknown-freebsd6.1) Copyright (C) 1995-2004 Jörg 
Schilling

scsidev: '1,0,0'
scsibus: 1 target: 0 lun: 0
Using libscg version 'schily-0.8'.
Device type: Removable CD-ROM
Version: 0
Response Format: 2
Capabilities   : 
Vendor_info: 'SONY'

Identifikation : 'DVD RW DRU-820A '
Revision   : '1.0b'
Device seems to be: Generic mmc2 DVD-R/DVD-RW.
cdrecord: This version of cdrecord does not include DVD-R/DVD-RW support code.
cdrecord: If you need DVD-R/DVD-RW support, ask the Author for 
cdrecord-ProDVD.
cdrecord: Free test versions and free keys for personal use are at 
ftp://ftp.berlios.de/pub/cdrecord/ProDVD/

Using generic SCSI-3/mmc   CD-R/CD-RW driver (mmc_cdr).
Driver flags   : MMC-3 SWABAUDIO BURNFREE 
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R

Starting to write CD/DVD at speed 40 in real TAO mode for single session.
Last chance to quit, starting real write0 seconds. Operation starts.
Turning BURN-Free off
cdrecord: Input/output error. write_g1: scsi sendcmd: retryable error
CDB:  2A 00 00 00 01 55 00 00 1F 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 04 00 00 00 00 0A 4F 85 00 00 08 03 00 00 00 00 00 00 00 00 
00 00 00 00 00 00 00 00 00 00

Sense Key: 0x4 Hardware Error, Segment 0
Sense Code: 0x08 Qual 0x03 (logical unit communication crc error 
(ultra-dma/32)) Fru 0x0
Sense flags: Blk 0 (not valid) 
cmd finished after 18.206s timeout 40s

write track data: error after 698368 bytes
cdrecord: A write error occured.
cdrecord: Please properly read the error message above.
cdrecord: Input/output error. close track/session: scsi sendcmd: retryable 
error

CDB:  5B 00 02 00 00 00 00 00 00 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 05 00 00 00 00 0A 00 00 00 00 2C 00 00 00 00 00 00 00 00 00 
00 00 00 00 00 00 00 00 00 00

Sense Key: 0x5 Illegal Request, Segment 0
Sense Code: 0x2C Qual 0x00 (command sequence error) Fru 0x0
Sense flags: Blk 0 (not valid) 
cmd finished after 0.000s timeout 480s

cmd finished after 0.000s timeout 480s
cdrecord: Cannot fixate disk.


Cheap media? How much data are you trying to burn?
-Garrett
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


CD burning problem

2007-03-15 Thread Aaron Siegel
Hello

I am unable to burn cd with my new Sony DVD-RW. I have been fighting with this 
for month. Sorry for have to post this message for such a basic task, Bellow 
is the error message that is produced by cdrecord 

Thank you
Aaron

<[EMAIL PROTECTED]># cdrecord -scanbus
Cdrecord-Clone 2.01 (i386-unknown-freebsd6.1) Copyright (C) 1995-2004 Jörg 
Schilling
Using libscg version 'schily-0.8'.
scsibus1:
1,0,0   100) 'SONY' 'DVD RW DRU-820A ' '1.0b' Removable CD-ROM
1,1,0   101) *
1,2,0   102) *
1,3,0   103) *
1,4,0   104) *
1,5,0   105) *
1,6,0   106) *
1,7,0   107) *

<[EMAIL PROTECTED]># cdrecord dev=1,0,0 k3b_image.iso
cdrecord: No write mode specified.
cdrecord: Asuming -tao mode.
cdrecord: Future versions of cdrecord may have different drive dependent 
defaults.
cdrecord: Continuing in 5 seconds...
Cdrecord-Clone 2.01 (i386-unknown-freebsd6.1) Copyright (C) 1995-2004 Jörg 
Schilling
scsidev: '1,0,0'
scsibus: 1 target: 0 lun: 0
Using libscg version 'schily-0.8'.
Device type: Removable CD-ROM
Version: 0
Response Format: 2
Capabilities   : 
Vendor_info: 'SONY'
Identifikation : 'DVD RW DRU-820A '
Revision   : '1.0b'
Device seems to be: Generic mmc2 DVD-R/DVD-RW.
cdrecord: This version of cdrecord does not include DVD-R/DVD-RW support code.
cdrecord: If you need DVD-R/DVD-RW support, ask the Author for 
cdrecord-ProDVD.
cdrecord: Free test versions and free keys for personal use are at 
ftp://ftp.berlios.de/pub/cdrecord/ProDVD/
Using generic SCSI-3/mmc   CD-R/CD-RW driver (mmc_cdr).
Driver flags   : MMC-3 SWABAUDIO BURNFREE 
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R
Starting to write CD/DVD at speed 40 in real TAO mode for single session.
Last chance to quit, starting real write0 seconds. Operation starts.
Turning BURN-Free off
cdrecord: Input/output error. write_g1: scsi sendcmd: retryable error
CDB:  2A 00 00 00 01 55 00 00 1F 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 04 00 00 00 00 0A 4F 85 00 00 08 03 00 00 00 00 00 00 00 00 
00 00 00 00 00 00 00 00 00 00
Sense Key: 0x4 Hardware Error, Segment 0
Sense Code: 0x08 Qual 0x03 (logical unit communication crc error 
(ultra-dma/32)) Fru 0x0
Sense flags: Blk 0 (not valid) 
cmd finished after 18.206s timeout 40s
write track data: error after 698368 bytes
cdrecord: A write error occured.
cdrecord: Please properly read the error message above.
cdrecord: Input/output error. close track/session: scsi sendcmd: retryable 
error
CDB:  5B 00 02 00 00 00 00 00 00 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 05 00 00 00 00 0A 00 00 00 00 2C 00 00 00 00 00 00 00 00 00 
00 00 00 00 00 00 00 00 00 00
Sense Key: 0x5 Illegal Request, Segment 0
Sense Code: 0x2C Qual 0x00 (command sequence error) Fru 0x0
Sense flags: Blk 0 (not valid) 
cmd finished after 0.000s timeout 480s
cmd finished after 0.000s timeout 480s
cdrecord: Cannot fixate disk.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Verifying my 3D drivers set up properly for my nVidia based graphics card

2007-03-15 Thread Garrett Cooper

Norbert Papke wrote:

On Thursday 15 March 2007 10:37, Jim Stapleton wrote:

 Also a couple of OpenGL applications are running slower
than one would expect given my card (especially in the screen savers
area, where the same apps would run /too fast/ with my old Ti4200.
These in conjunction lead me to suspect my graphics setup.



/etc/X11/xorg.conf:

[...]

Section "Extensions"
Option "Composite" "Enable"
EndSection


Even though the nvidia drivers claim to support OpenGL with the composite 
extension enabled, my experience has been that it leads to performance 
similar to what you are describing.  Try disabling composite.


Cheers,

-- Norbert.


True. Composite still isn't the greatest under the 6.9 branch of Xorg 
(and it wasn't that great under Xorg 7.0 either). It might have improved 
since then though in 7.1/7.2.


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


Re: Should I Upgrade 5.4 -> 6.2?

2007-03-15 Thread Garrett Cooper

Kris Kennaway wrote:

On Thu, Mar 15, 2007 at 05:09:57PM -0400, Jerry McAllister wrote:

On Thu, Mar 15, 2007 at 04:47:06PM -0400, [EMAIL PROTECTED] wrote:

First off, I want to thank the people who responded to my thread 
"Stability Issues on a 5.4-RELEASE box" a couple of weeks ago; after 
disabling hyperthreading, getting a clean run of Memtest back, and 
doing some serious fsck'ing of the disks, the box appears to now be 
completely stable. I'm still not sure which of the above fixed the 
problem...but I'll take a stable system at this point. :-)


That said, in that thread I had asked about the advisability of 
upgrading to 6.2, and it was intelligently pointed out that doing so in 
pursuit of stability was a bad idea. Now that the box is stable, 
though, I'm back to the same question: should I make the upgrade, and 
if so, how should I do it?


My primary driver for doing so would be to keep current enough that I'm 
still getting security and other patches on a regular basis, and that I 
can upgrade my applications from ports as necessary. If this is not an 
issue, then my only remaining concern would be that it's usually easier 
to get support on lists like this if you're running a modern version of 
the OS (that's certainly the case with the OpenBSD folks).


My primary concern with upgrading is that the box is in Portland, OR, 
and I'm in Arlington, VA...and while the ISP is friendly, I doubt that 
I could count on them for major system recovery if I botch something 
during the upgrade. My other worry is that I don't want to break 
existing apps if possible (the main one I'm concerned about is 
Zope/Plone). This is a production box with moderate traffic, and it 
would be a problem if there was extensive downtime.


Is it worth upgrading? If so, what's the best way to do so -- CVSup, or 
some other way? Are there any major caveats if I do choose to upgrade 
(or choose to stay with the existing OS)?

You should if you can reasonably do it, for the reasons you give plus
improvements in performance and in some utilities.  

My sentiment is usually to do a clean install over major version numbers. 
It tends to leave less dross laying around.  but I do not have to worry 
about down times very much, a couple of hours at night is not terribly
noticable in my stuff.  It does require more time down to do a clean 
from scratch install.   But, I think you can get away with a cvsup upgrade 
from 5.4 to 6.2.   Then your downtime is just the reboot and stuff at single 
user (mergemaster), plus probably some for upgrading various ports.


Yes, a source upgrade from 5.x to 6.x (followed by portupgrade -fa)
isn't too bad.  As with any upgrade you do need a recovery strategy
though.

Kris


I agree with both Kris and Jerry. Besides, if you run 6.2 you're running 
a supported version of FreeBSD whereas 5.4 isn't supported anymore (5.5 
is the last supported version in the legacy 5.x branch). Plus there are 
slight improvements from 5.x to 6.x.


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


Re: Optimizationn questions?

2007-03-15 Thread Gary Kline
On Thu, Mar 15, 2007 at 08:25:43PM -0700, Garrett Cooper wrote:
> Gary Kline wrote:
> >On Wed, Mar 14, 2007 at 08:19:49PM -0700, [EMAIL PROTECTED] wrote:
> >>On Thu, 15 Mar 2007, Danny Pansters wrote:
> >>
> 
> No problem. -funroll-loops might not buy you too much other than a few 
> less instructions overall but I'm not sure how intelligent gcc is at 
> unrolling loops. It seemed like there was a difference between 
> optimizations in the 4.x branch compared to the 3.4.x sub branch. They 
> made a lot of improvements in the 4.x branch though.. it's just that 
> some of those improvements broke code, so that's probably why FreeBSD 
> doesn't have gcc-4.x in the base system.


Until one of my hardware buddes can swap memory from an unsed
Kayak into my "new" (koff-koff) one, I have to be careful about 
the added bytes that loop unrolling costs.  It's ballpark 10%
with the default gcc.  I'm building the 4.x stuff now with no
++CFLAGS.  The compiler guys know their stuff.  If any good and
surprising news happens, I'll post it.  "Unix: get every last
billionth-of-a-penny's worth out of your hardware."   ah, life!

gary

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

-- 
  Gary Kline  [EMAIL PROTECTED]   www.thought.org  Public Service Unix

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


Re: burncd makes disk that is unmountable

2007-03-15 Thread Garrett Cooper

Jerry McAllister wrote:

On Thu, Mar 15, 2007 at 01:06:10PM +0100, Dieter wrote:


AMD64 running 6.0
Drive is:
  acd0: DVDR  at ata0-master UDMA66
Media is CD-RW

Burned a 6.2 disk using:
  burncd data 6.2-RELEASE-amd64-disc1.iso fixate
as suggested in
  http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/creating-cds.html


I don't remember the details, but when I got to 6.1, I found that
my old burncd parameters would not work and I had to change them.

I don't remember the details, but I settled upon:
  /usr/sbin/burncd -v -f /dev/acd0 data FreeBSD62-disc1.iso fixate
which seems to work find.  Both boots and mounts.  That doesn't look
materially different from yours, but...

jerry


Seemed to go okay.  Disk boots, but I cannot mount it:

fstab entry:
  /dev/acd0   /cdrom  cd9660  ro,noauto   0   0

Yields:
  g_vfs_done():acd0[READ(offset=32768, length=2048)]error = 5

Tried it with and without "fixate", neither will mount.

Other iso disks (probably burned using NetBSD) mount fine.
UFS DVD+RW disks burned under FreeBSD using growisofs mount fine.

Given the error message, I assume that the block/sector at 32768 isn't
getting written.


I hate to slam burncd because it does the job, but I've always found 
cdrecord / mkisofs to be a better set of software for burning CDs than 
burncd.. Besides, burncd chokes on permission errors on my machine 
whereas cdrecord keeps on humming away with issue, and I've been using 
it for 2 releases now (6.1, 6.2).


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


Re: SUMMARY: CPUTYPE for VIA EPIA M-Series Mini-ITX

2007-03-15 Thread Garrett Cooper

Jeffrey Goldberg wrote:

[mailed, posted and bcc'ed to off list respondents]


First let me quote my original query:


I have one of these

CPU: VIA C3 Nehemiah (999.52-MHz 686-class CPU)
  Origin = "CentaurHauls"  Id = 0x691  Stepping = 1
  Features=0x380b035

http://www.via.com.tw/en/products/mainboards/motherboards.jsp?motherboard_id=81 



And 6.2-RELEASE p2

When I set CPUTYPE=c3 in /etc/make.conf the world seemed to build just 
fine, but (at least) gcc ended up broken.  Most compiling attempts 
after that ended up with gcc reporting an internal error.


Now that I've entered the FreeBSD world and am building everything 
from source, I would like to take advantage of that by compiling for 
my system.


Does anyone have a similar system?  And what CPUTYPE or local tuning 
do you recommend?


A dmesg for the system is available at

  http://ntp0.goldmark.org/temp/dmesg


I've had two responses telling me that the make.conf defaults are just 
fine, and two (one off list) recommending i686/pentiumpro.  One for 
pentiumpro and the other for i686, but as Andreas Rudish helpfully 
pointed out, those two are probably the same thing.  No one suggested 
using c3.  In fact, cpghost emphatically stated not to use C3 in make.conf


Adbullah Ibn Hamad Al-Marri also helpfully directed me for information 
about safe CFLAGS to


  http://gentoo-wiki.com/Safe_Cflags

where the entry for the Via Nehemiah says:

==
   Nehemiah (C5XL)/C5P (Via)

CHOST="i686-pc-linux-gnu"
CFLAGS="-march=i686 -msse -mmmx -O2 -pipe -fomit-frame-pointer"
CXXFLAGS="${CFLAGS}"

note: The more recent versions of the C3 do support the cmov instruction 
and hence -march=i686. If you must be compatible with all VIA C3 
versions, do not use the settings in this section.


note: it is also possible to use "-march=c3-2". <-- Comment to this: I 
got a problem "compiler can't create executables" with this setting.


note: I had much better luck with -Os than with -O2. The cache on the 
nehemiah chips is really small, so making the executables small helps 
more than anything else.

==

The off list response added



- Setting CPUTYPE to pentium, or pentiumpro both work fine.  IIRC,
  the C3 designation is Linux-specific and doesn't exist for
  FreeBSD.



If everybody agrees that the c3 designation is unwise to use, then 
probably the distributed


   /usr/share/examples/etc/make.conf

The off list responded gave extremely helpful and detailed information 
about trimming the kernel for a similar box.  I've already done most of 
what that recommends.


In sum, don't use the c3 specification in /etc/make.conf even though the 
example would suggested otherwise.


Thanks all for your help

-j


Indeed. After reading a mock up of the processor is appears that it's an 
Intel 686 clone. See: 
 
(it's a bit old for an article, so I hope you don't mind the dust :)..).


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


Re: No matter what I try I can't get Nvidia 3d acceleration to work. Please help!

2007-03-15 Thread Garrett Cooper

Sean Bryant wrote:

Norbert Papke wrote:

On Monday 12 March 2007 20:58, [EMAIL PROTECTED] wrote:
 
I'm actually having the same problem, but after I took out device agp 
out

of my kernel. And I still cannot start x with nvidia driver.

It complains that /dev/nvidiactl couldn't be opened. And then it says it
failed to load the kernel module.



It seems that the graphics card is not detected.  Does
'pciconf -l | grep nvidia'

show anything?

What model is it?  If it is an older card, you may need the older 
version of the NVIDIA driver.


 

sysctl -a | grep nvidia
hw.nvidia.version: NVIDIA UNIX x86 Kernel Module  1.0-9746  Tue Dec 19
13:20:59 PST 2006
hw.nvidia.registry.EnableVia4x: 0
hw.nvidia.registry.EnableALiAGP: 0
hw.nvidia.registry.NvAGP: 1
hw.nvidia.registry.EnableAGPSBA: 0
hw.nvidia.registry.EnableAGPFW: 0
hw.nvidia.registry.SoftEDIDs: 1
hw.nvidia.registry.Mobile: 4294967295
hw.nvidia.registry.ResmanDebugLevel: 4294967295
hw.nvidia.registry.FlatPanelMode: 0
hw.nvidia.registry.DevicesConnected: 0
hw.nvidia.registry.RmLogonRC: 1
hw.nvidia.registry.DetectPrimaryVga: 1
hw.nvidia.registry.dwords:



For comparison, here is my output.  Note that  there are card specific 
entries.


# sysctl -a | grep nvidia
   nvidia   603  1293K   -38844  
16,32,64,128,256,512,1024,2048,4096
nvidia0:  port 0xbc00-0xbc7f mem 
0xfd00-0xfdff,0xc000-0xcfff,0xfc00-0xfcff irq 
16 at device 0.0 on pci3

nvidia0: [GIANT-LOCKED]
hw.nvidia.version: NVIDIA UNIX x86 Kernel Module  1.0-9746  Tue Dec 19 
13:20:59 PST 2006

hw.nvidia.registry.EnableVia4x: 0
hw.nvidia.registry.EnableALiAGP: 0
hw.nvidia.registry.NvAGP: 1
hw.nvidia.registry.EnableAGPSBA: 0
hw.nvidia.registry.EnableAGPFW: 0
hw.nvidia.registry.SoftEDIDs: 1
hw.nvidia.registry.Mobile: 4294967295
hw.nvidia.registry.ResmanDebugLevel: 4294967295
hw.nvidia.registry.FlatPanelMode: 0
hw.nvidia.registry.DevicesConnected: 0
hw.nvidia.registry.RmLogonRC: 1
hw.nvidia.registry.DetectPrimaryVga: 1
hw.nvidia.registry.dwords:
hw.nvidia.cards.0.model: GeForce 7600 GS
hw.nvidia.cards.0.irq: 16
hw.nvidia.cards.0.vbios: 05.73.22.16.02
hw.nvidia.cards.0.type: PCI-E
dev.nvidia.0.%desc: GeForce 7600 GS
dev.nvidia.0.%driver: nvidia
dev.nvidia.0.%location: slot=0 function=0
dev.nvidia.0.%pnpinfo: vendor=0x10de device=0x0392 subvendor=0x3842 
subdevice=0xc547 class=0x03

dev.nvidia.0.%parent: pci3


It seems the driver is attached:
[EMAIL PROTECTED]:0:0:   class=0x03 card=0x chip=0x00f910de 
rev=0xa2 hdr=0x00


its a 6800 GT. From BFG.  I am on CURRENT. And xorg 6.9.0


Driver section from Xorg?

Also, this could be an issue with some changes to the kernel interfaces 
for AGP / PCI-express, video, ABI, etc.. -CURRENT can be problematic 
sometimes and something may have gotten broken after an update.


You may want to take this question up on the -current@ list though.
-Garrett
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Verifying my 3D drivers set up properly for my nVidia based graphics card

2007-03-15 Thread Garrett Cooper

Jim Stapleton wrote:

I have a 7300GT in my computer, and I have run into a couple of errors
trying to set up WoW in Wine (couldn't find copies of the error
elsewhere). Also a couple of OpenGL applications are running slower
than one would expect given my card (especially in the screen savers
area, where the same apps would run /too fast/ with my old Ti4200.
These in conjunction lead me to suspect my graphics setup.

What application/method would you suggest to test this? I'd prefer
something that would provide command line information, rather than
"about how fast does this run?"

I checked for the libraries mentioned on nVidias web site, and they
are all in the right spots, which leads me to suspect it's an
xorg.conf error, but I'm not sure. I've attached the xorg.conf file to
the end, just in case.

Thanks,
-Jim Stapleton


/etc/X11/xorg.conf:


[snipped config]


/var/log/Xorg.0.log:


[snipped long log]

Jim,
	I'm not sure about your wine config because wine's a very twitchy beast 
(over the past couple years in particular because of an API change I 
think). All I know is that I was very happy and amazed when I got 
Half-Life 1 to play on my desktop back when I ran KDE in Linux. It was 
astonishing..


	glxgears will provide you with some performance info about your OpenGL 
stats though.


	It also depends on what you're running, what your 7300GT runs for 
shared RAM, etc because I noticed that you mentioned Ti4200 (my first 
nVidia card), and they customarily came stock with 64MB of VRAM, whereas 
the 7300GT cards I can only assume come with around 256MB ~ 368MB. This 
in turn could seriously eat up system RAM if you don't have a lot and 
reduce performance in your machine, like what occurred with me and my 
first desktop after I upgraded to a Geforce 6200 card with 128MB of RAM 
since my system only has 512MB of RAM to allocate. Some things got 
faster, some things stayed the same, and some things got slower..


	It also depends on the vendor that you bought the card from too. nVidia 
contracted their chipset to quite a few 3rd parties after the 5000 
series, and it seems like their graphics quality in some respects has 
become inconsistent, and degraded with some vendors.


-Garrett

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


Re: Optimizationn questions?

2007-03-15 Thread Garrett Cooper

Gary Kline wrote:

On Wed, Mar 14, 2007 at 08:19:49PM -0700, [EMAIL PROTECTED] wrote:

On Thu, 15 Mar 2007, Danny Pansters wrote:


On Thursday 15 March 2007 02:16, Gary Kline wrote:

Two quick one for kernel and/or compiler wizards:  first, is
a 400Mz processor considered a 586 (for my KERNELCONF file)?

Think its 686 (but really, leaving 486 and 586 in isn't going to slow down
booting or anything!) I always say: Use GENERIC unless you have a good 
reason

not to.


Second, is it safe to do a buildworld with -O3?  If there are

No. It's not supported if things break.


stability concerns, I'll go with the default when I rebuild my
6.2 systems.
The defaults should be fine. Also, like I said consider just using GENERIC 
and

load the odd kmod if needed. Generally it's less headache and equal
performance.


thanks in advance,

gary

Cheers,

Dan
As Dan and Gary said -O3 isn't supported, and in many cases that "level of 
optimization" gets filtered out while compiling sections of FreeBSD.


Besides, I've compiled stuff with -O3 and various optimizations in Gentoo 
Linux before, and let me say that it caused a great deal of headaches... 
that's why I stick with -O2 now, because it's better to have something in 
executable shape and a bit slower (arguably because some optimizations slow 
things down) than it is to have something run fast and break all the time.


Some food for thought :).



--Food for thought and a chuckle too!  (not to mention that
it's waaay early, the chickens are still snoring, and I've
only had *one* cup of joe)...   I've done some investigation
with optimizing my own code, usually < 1000 lines, and haven't
seen much gain between -O2 and -O3. Loop-unrolling may be
	different; one trick that compiler hackers at supercomputer 
	companies use by default in to unroll small loops.  Cray is

one example.  S, to get any real gain is going to mean
going thru the most freq used tools (*grep, find, ls) and
	hand-tweak.  Might buy 5 - 7%.  


have a good one,

gary


-Garrett


No problem. -funroll-loops might not buy you too much other than a few 
less instructions overall but I'm not sure how intelligent gcc is at 
unrolling loops. It seemed like there was a difference between 
optimizations in the 4.x branch compared to the 3.4.x sub branch. They 
made a lot of improvements in the 4.x branch though.. it's just that 
some of those improvements broke code, so that's probably why FreeBSD 
doesn't have gcc-4.x in the base system.


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


Re: FreeBSD Devil Image

2007-03-15 Thread Danny Pansters
On Thursday 15 March 2007 06:59:36 Ted Mittelstaedt wrote:
> - Original Message -
> From: "Jeff Rollin" <[EMAIL PROTECTED]>
>
> > I think it needs to be clarified that the reason /why/ the image of
> > Beastie is so apt to represent a Daemon is only /because/ it LOOKS
> > like a daemon/devil.
>
> How do ye know what thee Angel of the Bottomless Pit looks like?  Do
> ye regularly meet with the Antichrist?

Some people on this mailing list might argue that they regularly do ;-)

Couldn't resist. Cheers,

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


Re: Optimizationn questions?

2007-03-15 Thread Danny Pansters
On Friday 16 March 2007 01:04:51 Jeffrey Goldberg wrote:
> On Mar 15, 2007, at 5:21 PM, Jorn Argelo wrote:
> > [EMAIL PROTECTED] wrote:
> >> On Thu, 15 Mar 2007, Danny Pansters wrote:
> >>  I know that this has been discussed a few times before, but
> >> IMO running a slightly stripped down kernel (i.e. custom, not
> >> GENERIC) actually proves to be helpful in increasing boot times
> >> (if options were added statically) and compile times if [(# of
> >> options added) < (# of options in GENERIC)].
> >
> > I can confirm this too. I noticed on both desktop and servers the
> > boot time can be decreased by stripping the kernel configuration of
> > stuff you don't need. I don't have any hard facts to prove this but
> > this is what my personal experience is.
>
> me, too.
>

Of course it will speed up booting but then again how much time does one spend 
booting, compared to using the puter: not much (at least I hope so for them!)

If I do build my own kernel, for example to switch schedulers, I tend to toss 
out a heap of devices that I don't have anyway. But other than a bit more 
memory usage (which compared to the software that's run will typically be 
minor anyhow unless you're talking embedded system or maybe not-so-embedded 
but still of low spec special purpose boxes, like a satellite receiver box) 
you're not going to have a slower system because your kernel happens to have 
some built-in drivers that it doesn't use. The exception is a debug kernel of 
course that will impact performance because it increases runtime tasks/load.

On a server I'd strip down the kernel, but for other reasons (avoiding any 
unneeded complexity). On a desktop I don't care as long as thingie works. 
YMMV of course.

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


Xfce 4.4 and Thunar automounting of USB stick

2007-03-15 Thread Chess Griffin

Hello!  My first post to the list.  :)

I have FreeBSD 6.2 installed and running wonderfully.  I have built
Xfce 4.4from ports and it too, is working very well, but I have one
problem -- the
new Thunar file manager does not auto-mount USB sticks.

I know there is the traditional way of allowing users to mount usb per the
handbook:

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

and that actually works fine for me.  However, Thunar (the new Xfce file
manager) has the capability to automount devices and it's not working.

I have installed Hal, Dbus, and polkit and have those 3 things enabled in my
/etc/rc.conf.  I also installed thunar and the thunar-volman plugin.
However, when I go to the "Advanced" tab in the File Manager settings
manager in order to activate the auto-mounting, it states "Build thunar-vfs
with HAL support to use the volume management support in Thunar."  When I
built Thunar I did enable Hal support, and I can't find anything in ports or
packages about thunar-vfs.

partial output of /etc/rc.conf:
dbus_enable="YES"
polkitd_enable="YES"
hald_enable="YES"
devfs_system_ruleset="localrules"

in /etc/sysctl.conf I put:
vfs.usermount=1

and in /etc/devfs.rules I have:
[localrules=1]
add path 'da*' mode 0660 group operator

I can mount a usb stick as my normal user without issues.  It's just the
automount feature in Thunar that is not working.

If anyone has a fix or other suggestions I would be most appreciative.

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


Have you mistake on *Legal Notices* subpages?

2007-03-15 Thread mgr Ryszard W. Czekaj

Hi!

Walking around yours copyright pages I find that you don't have  
returning link on *Trademark Legend*? Is it your standard?


RYCHoo
8-)

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


Re: Verifying my 3D drivers set up properly for my nVidia based graphics card

2007-03-15 Thread Norbert Papke
On Thursday 15 March 2007 10:37, Jim Stapleton wrote:
>  Also a couple of OpenGL applications are running slower
> than one would expect given my card (especially in the screen savers
> area, where the same apps would run /too fast/ with my old Ti4200.
> These in conjunction lead me to suspect my graphics setup.

> /etc/X11/xorg.conf:
[...]
> Section "Extensions"
> Option "Composite" "Enable"
> EndSection

Even though the nvidia drivers claim to support OpenGL with the composite 
extension enabled, my experience has been that it leads to performance 
similar to what you are describing.  Try disabling composite.

Cheers,

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


Re: Strange freeze on -STABLE

2007-03-15 Thread Steven Hartland

If its always when the box is quiet / no one using it, is
it something to do with power saving settings?

   Steve
Deniss Lee wrote:

But what's interesting - music keeps playing (line-in). Both pf
(firewall/routing) and sound card
is loaded as modules, music keeps playing, but network is
unresponsive. And this box usually
freezes when I'm asleep or when I'm not physically using it (ssh
only). 




This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. 


In the event of misdirection, illegible or incomplete transmission please 
telephone +44 845 868 1337
or return the E.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]"


Strange freeze on -STABLE

2007-03-15 Thread Deniss Lee

Nothing really has changed to my box (no new software, configuration
issues). I just like
rebuilding world/kernel to the latest  -STABLE at least once in week. And
about two weeks
ago I started getting strange freezes. Since then I've tried doing anything
to get away from
those stupid freezes, but nothing helps.

On random time periods my box freezes, but not like the usual way when I
can't do anything.
It drops all network connections (this box is also router), so I can't
connect with SSH anymore
or use Internet through it. It mystical freezes everything else - if I had
opened some xterms (x11
also on this box) then can write some command (for example "ls") - it may or
may not be
executed, but what's strange - after execution it doesn't return to shell,
it even doesn't react on
^C, ^Z or anything at all. Some applications I can close, some I cant and
they just ignore my
attempts. Sometimes I can even ctrl+alt+backspace (it gets executed after
some while),
sometimes I can't. Same with alt+ctrl+f1-f9 - it may work, it may not work.

Only thing I can do is press "power button", but then (again - sometimes) I
get:
"acpi: suspend request ignored (not ready yet)".

Then I just press it for 5 seconds and it powers off. After reboot fsck &
stuff.

It's just driving my crazy.

But what's interesting - music keeps playing (line-in). Both pf
(firewall/routing) and sound card
is loaded as modules, music keeps playing, but network is unresponsive. And
this box usually
freezes when I'm asleep or when I'm not physically using it (ssh only).

I'm really desperate.
I've tried reinstalling from scratch, rebuilding world, using even GENERIC,
but nothing helps.

I'm using lastest FreeBSD 6.2-STABLE (recompiled even yesterday, but got
crash again).
Box is AMD Sempron.

Please - really - any suggestions? I've run FreeBSD for years but I don't
know what to do now
with this situation.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Optimizationn questions?

2007-03-15 Thread Jeffrey Goldberg

On Mar 15, 2007, at 5:21 PM, Jorn Argelo wrote:


[EMAIL PROTECTED] wrote:

On Thu, 15 Mar 2007, Danny Pansters wrote:
 I know that this has been discussed a few times before, but  
IMO running a slightly stripped down kernel (i.e. custom, not  
GENERIC) actually proves to be helpful in increasing boot times  
(if options were added statically) and compile times if [(# of  
options added) < (# of options in GENERIC)].


I can confirm this too. I noticed on both desktop and servers the  
boot time can be decreased by stripping the kernel configuration of  
stuff you don't need. I don't have any hard facts to prove this but  
this is what my personal experience is.


me, too.

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


Re: DNS configuration at FreeBSD

2007-03-15 Thread Beech Rintoul
On Thursday 15 March 2007 14:53, neo neo said:
> could u please tell me detail how to configure DNS ip ?

You really need to read the handbook. Most of your questions will be 
answered there.

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

Bind and DNS questions here:

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

And here:

http://www.isc.org/sw/bind/

Also google is your friend.

Beech

-- 
---
Beech Rintoul - Port Maintainer - [EMAIL PROTECTED]
/"\   ASCII Ribbon Campaign  | FreeBSD Since 4.x
\ / - NO HTML/RTF in e-mail   | http://www.freebsd.org
 X  - NO Word docs in e-mail | Latest Release:
/ \  - http://www.freebsd.org/releases/6.2R/announce.html
---





pgpB4njkJT9Wk.pgp
Description: PGP signature


Re: FreeBSD 2.2.9 / Installation problem

2007-03-15 Thread Josh Paetzel
On Thursday 15 March 2007, Kris Kennaway wrote:
> On Thu, Mar 15, 2007 at 08:43:32PM +0100, Nino Ivanov wrote:
> > Dear Chistian, Dear Kris,
> >
> > I also think the RAM will not be the issue, as it is a text-only
> > install, and indeed, I am not planning to "get fancy". I
> > completely don't need X. Midnight Commander is perfectly fine as
> > a working environment. 4.11 seemed OK.
> >
> > But I am having a different problem right now, which I am still
> > researching: It does not recognize the device from where to mount
> > root correctly. I mean the following: When I put FreeBSD into the
> > Compaq for installation, the harddrive is ad4 or ad8. But in the
> > system where I want to run it, the HP Omnibook, it is ad0.
> >
> > Now, when I start it back in the HP Omnibook, it says that swap
> > is not configured correctly on ad8s-something. Which is true, it
> > should look for it on ad0... I have only once been able till now
> > to mount root. (And this is my basis for assuming that even 4.11
> > CAN potentially run.) I said as command ufs:/dev/ad0 when it
> > asked me where to mount root from. This worked, however, e.g.
> > ufs:/dev/ad0s1 did not work. I am thinking that I might have made
> > a mistake, and should have said ad0s1a.
> >
> > Yet, the principal new problem persists: FreeBSD does not realize
> > that it should now look at ad0 instead of ad4 or ad8. (However,
> > in the booting process, it correctly "sees" ad0 as having 325 MB
> > etc.) Is there a way to solve this?
>
> Probably the /etc/fstab is wrong and refers to the ad4 or ad8
> devices. The root should indeed typically be ufs:/dev/ad0s1a.
>
> Kris

I'm a tad confused, as I thought we were talking about FBSD 2.x, which 
would've called your drive wd0, not ad0.  But Kris is correct in that 
your fstab is wrong...your /boot/loader.conf probably has the wrong 
root device as well.


-- 
Thanks,

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


DNS configuration at FreeBSD

2007-03-15 Thread neo neo

could u please tell me detail how to configure DNS ip ?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Optimizationn questions?

2007-03-15 Thread Jorn Argelo

[EMAIL PROTECTED] wrote:

On Thu, 15 Mar 2007, Danny Pansters wrote:


On Thursday 15 March 2007 02:16, Gary Kline wrote:

Two quick one for kernel and/or compiler wizards:  first, is
a 400Mz processor considered a 586 (for my KERNELCONF file)?


Think its 686 (but really, leaving 486 and 586 in isn't going to slow 
down
booting or anything!) I always say: Use GENERIC unless you have a 
good reason

not to.


Second, is it safe to do a buildworld with -O3?  If there are


No. It's not supported if things break.


stability concerns, I'll go with the default when I rebuild my
6.2 systems.


The defaults should be fine. Also, like I said consider just using 
GENERIC and

load the odd kmod if needed. Generally it's less headache and equal
performance.


thanks in advance,

gary


Cheers,

Dan


Dan,
 I know that this has been discussed a few times before, but IMO 
running a slightly stripped down kernel (i.e. custom, not GENERIC) 
actually proves to be helpful in increasing boot times (if options 
were added statically) and compile times if [(# of options added) < (# 
of options in GENERIC)].
I can confirm this too. I noticed on both desktop and servers the boot 
time can be decreased by stripping the kernel configuration of stuff you 
don't need. I don't have any hard facts to prove this but this is what 
my personal experience is.


Jorn


 I like being able to compile my kernel on my P4 in less than 10 
minutes anyhow with less options :). The only thing that was brought 
up earlier (sometime later last year in a thread--I think either Oct 
or Nov) is that removing options removes flexibility as well. But 
that's a tradeoff you have to make.


-Garrett

___
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: Wireless Bridge in FreeBSD 6.1

2007-03-15 Thread Kevin Downey

On 3/15/07, Sung Park <[EMAIL PROTECTED]> wrote:

How about EoIP tunnel to establish wireless bridge?  Is it possible?  How
about other tunnels? Do you have any suggestion to make it possible in
FreeBSD?

Thank you

On 3/13/07, Kevin Downey <[EMAIL PROTECTED]> wrote:
>
> On 3/13/07, Sung Park <[EMAIL PROTECTED]> wrote:
> > I'm having trouble to bridge two wireless card which is Atheros AR5213A
in
> > FreeBSD 6.1.  I try to make transparent bridge in these two wireless
card.
> >
> > I compiled BRIDGE in kernel and I put
> >
> > net.link.ether.bridge=1
> > net.link.ether.bridge_cfg=*ath0*,*ath1*
> > net.link.ether.bridge_ipfw=1
> >
> > in sysctl.conf.
> >
> > Following diagram is what I did it.
> >
> > (192.168.0.1)Ath0Ath0,Ath1( 192.168.0.2)Ath0(192.168.0.100)
> >
> > Left unit is wireless router. Middle unit is transparent bridge. Right
unit
> > is client.  I set up like this.  Ath0 of left unit is AP. Ath0 of middle
> > unit is Station.  Ath1 of middle unit is AP. Ath0 of right unit is
Station.
> > I can ping from 192.168.0.100 to 192.168.0.2 but I can't ping from
> > 192.168.0.100 to 192.168.0.1.
> >
> > I tested wired LAN bridge with same configuration. It works well.
> >
> > Anyone has idea about this or has same problem. Please, help me. Any
kind of
> > information will save me.
>
> My understanding is that because of how the 802.11 is designed, this
> sort of setup is not possible using ethernet bridging code(if_bridge
> and friends) if you are using infrastructure mode and a-hoc mode is
> kind of slow. WDS may be waht you are looking for but I don't know if
> FreeBSD supports it yet..
>


I would read the manpage for the gif interface, it may be what you are
looking for

--
The biggest problem with communication is the illusion that it has occurred.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: DNS configuration

2007-03-15 Thread Dick Hoogendijk
On Thu, 15 Mar 2007 10:16:46 -1200
"neo neo" <[EMAIL PROTECTED]> wrote:

> but i don't know how to configure DNS . plz .. ?

Read the same handbook as adviced earlier. And for DNS the O'Reilly
book is great. DNS is no toy. It should be handled with great care. The
internet depends on it.

-- 
Dick Hoogendijk -- PGP/GnuPG key: F86289CE
++ http://nagual.nl/ | Solaris 10 11/06 ++
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: NAT

2007-03-15 Thread Peter A. Giessel
You might want to read the handbook, a lot of your questions are
answered there.

On 2007/03/15 13:44, neo neo seems to have typed:
> hi
> 
> i want to do NAT with my FreeBSD . How can i do that ? thankz for reply.

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

> How to configure Gateway ?

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

> How to configure DNS ?

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

> How to configure NAT ?

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-natd.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


DNS configuration

2007-03-15 Thread neo neo

hi

For NAT ;

i already configure internal and external ip . And also finished gateway.

but i don't know how to configure DNS . plz .. ?

by the way , " route add default xx.xx.xx.xx " is setting gateway .. is it
right ?

very thankz... i am very happy for your support..

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


Re: NAT

2007-03-15 Thread Chuck Swiger

On Mar 15, 2007, at 2:44 PM, neo neo wrote:
i want to do NAT with my FreeBSD.  How can i do that ? thankz for  
reply.


How to configure Gateway ?
How to configure DNS ?
How to configure NAT ?


There's a friendly manual available for you to read:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/advanced- 
networking.html
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network- 
natd.html


--
-Chuck

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


NAT

2007-03-15 Thread neo neo

hi

i want to do NAT with my FreeBSD . How can i do that ? thankz for reply.

How to configure Gateway ?
How to configure DNS ?
How to configure NAT ?

thankz everybody.. i really thankz for your reply.

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


Re: boot2 can't boot from USB?

2007-03-15 Thread Craig Rodrigues
On Thu, Mar 15, 2007 at 11:16:16AM +0100, Fluffles wrote:
> If so, i may have found some bugs / problems with boot2. Long ago i
> tried to make a bootable USB pendrive with FreeBSD 6.1 on it. It failed
> to boot with the message "invalid slice" and i got a prompt like:

I have worked a lot with getting FreeBSD to boot off of USB devices,
and have gotten it to work.
Specifically, I have worked with USB pen drives, and USB CD-ROM drives.
It *is* possible, but what I have found is the following:
- on some motherboards, you need to explicitly configure the BIOS
  to boot off of a USB device (either a disk, a CD-ROM, or a "Zip drive")
- booting off of USB-CDROM devices seems to be much more reliable than
  booting off of USB pen drives
- if you have an "older" motherboard BIOS, say from about 3-4 years ago,
  booting off of USB devices is more unreliable, than a "newer" motherboard
  BIOS
- if I have 5 different models of USB pen drives, each model may behave
  differently, and may or may not boot.  Same for USB CD-ROM drives,
  but I've found CD-ROM drives to be more reliable than pen drives.

So to summarize: 
- booting off of USB devices seems to be sensitive
  to your motherboard BIOS, and the firmware written into your USB device.
- booting off of USB CD-ROM drives seems to be more reliable than booting
  off of USB pen drives

There is no logic to this, I've just found this out from trial and error,
and banging my head a lot.

-- 
Craig Rodrigues
[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: Should I Upgrade 5.4 -> 6.2?

2007-03-15 Thread Tamouh H.
 
> 
> First off, I want to thank the people who responded to my 
> thread "Stability Issues on a 5.4-RELEASE box" a couple of 
> weeks ago; after disabling hyperthreading, getting a clean 
> run of Memtest back, and doing some serious fsck'ing of the 
> disks, the box appears to now be completely stable. I'm still 
> not sure which of the above fixed the problem...but I'll take 
> a stable system at this point. :-)
> 
> That said, in that thread I had asked about the advisability 
> of upgrading to 6.2, and it was intelligently pointed out 
> that doing so in pursuit of stability was a bad idea. Now 
> that the box is stable, though, I'm back to the same 
> question: should I make the upgrade, and if so, how should I do it?
> 
> My primary driver for doing so would be to keep current 
> enough that I'm still getting security and other patches on a 
> regular basis, and that I can upgrade my applications from 
> ports as necessary. If this is not an issue, then my only 
> remaining concern would be that it's usually easier to get 
> support on lists like this if you're running a modern version 
> of the OS (that's certainly the case with the OpenBSD folks).
> 
> My primary concern with upgrading is that the box is in 
> Portland, OR, and I'm in Arlington, VA...and while the ISP is 
> friendly, I doubt that I could count on them for major system 
> recovery if I botch something during the upgrade. My other 
> worry is that I don't want to break existing apps if possible 
> (the main one I'm concerned about is Zope/Plone). This is a 
> production box with moderate traffic, and it would be a 
> problem if there was extensive downtime.
> 
> Is it worth upgrading? If so, what's the best way to do so -- 
> CVSup, or some other way? Are there any major caveats if I do 
> choose to upgrade (or choose to stay with the existing OS)?
> 
> Thanks,
> Alex Kirk
> 

If it is not broken, don't try to fix it! We had to upgrade from 5.4 to 6.1 
because the performance was not good, crashing issues...etc.

I advise my clients not to upgrade unless they have a performance or stability 
issue they are looking to resolve.

However, should you decide to upgrade; as everyone had said: backup! backup! 
backup!

Also, find a local service company in the city to call upon should the upgrade 
goes bad. We've upgraded many FBSD 5.4 to 6.1 with no problems and have always 
been able to SSH back to the box.

Tamouh


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


Re: Wireless Bridge in FreeBSD 6.1

2007-03-15 Thread Mike

Sung Park wrote:

How about EoIP tunnel to establish wireless bridge?  Is it possible?  How
about other tunnels? Do you have any suggestion to make it possible in
FreeBSD?
This site is 2,5 years old, but maybe it is helpful:  
http://www.cs.ait.ac.th/ai3/reports/eop/


Abstract:

"This document explains the configurations and procedures to enable 
Ethernet over IP tunneling on FreeBSD. I succesfully performed the test 
on a FreeBSD 4.10-RELEASE. I make no claim that it will work on other 
releases. I also tested it on FreeBSD 4.7-RELEASE."

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


Re: Should I Upgrade 5.4 -> 6.2?

2007-03-15 Thread Kris Kennaway
On Thu, Mar 15, 2007 at 05:09:57PM -0400, Jerry McAllister wrote:
> On Thu, Mar 15, 2007 at 04:47:06PM -0400, [EMAIL PROTECTED] wrote:
> 
> > First off, I want to thank the people who responded to my thread 
> > "Stability Issues on a 5.4-RELEASE box" a couple of weeks ago; after 
> > disabling hyperthreading, getting a clean run of Memtest back, and 
> > doing some serious fsck'ing of the disks, the box appears to now be 
> > completely stable. I'm still not sure which of the above fixed the 
> > problem...but I'll take a stable system at this point. :-)
> > 
> > That said, in that thread I had asked about the advisability of 
> > upgrading to 6.2, and it was intelligently pointed out that doing so in 
> > pursuit of stability was a bad idea. Now that the box is stable, 
> > though, I'm back to the same question: should I make the upgrade, and 
> > if so, how should I do it?
> > 
> > My primary driver for doing so would be to keep current enough that I'm 
> > still getting security and other patches on a regular basis, and that I 
> > can upgrade my applications from ports as necessary. If this is not an 
> > issue, then my only remaining concern would be that it's usually easier 
> > to get support on lists like this if you're running a modern version of 
> > the OS (that's certainly the case with the OpenBSD folks).
> > 
> > My primary concern with upgrading is that the box is in Portland, OR, 
> > and I'm in Arlington, VA...and while the ISP is friendly, I doubt that 
> > I could count on them for major system recovery if I botch something 
> > during the upgrade. My other worry is that I don't want to break 
> > existing apps if possible (the main one I'm concerned about is 
> > Zope/Plone). This is a production box with moderate traffic, and it 
> > would be a problem if there was extensive downtime.
> > 
> > Is it worth upgrading? If so, what's the best way to do so -- CVSup, or 
> > some other way? Are there any major caveats if I do choose to upgrade 
> > (or choose to stay with the existing OS)?
> 
> You should if you can reasonably do it, for the reasons you give plus
> improvements in performance and in some utilities.  
> 
> My sentiment is usually to do a clean install over major version numbers. 
> It tends to leave less dross laying around.  but I do not have to worry 
> about down times very much, a couple of hours at night is not terribly
> noticable in my stuff.  It does require more time down to do a clean 
> from scratch install.   But, I think you can get away with a cvsup upgrade 
> from 5.4 to 6.2.   Then your downtime is just the reboot and stuff at single 
> user (mergemaster), plus probably some for upgrading various ports.

Yes, a source upgrade from 5.x to 6.x (followed by portupgrade -fa)
isn't too bad.  As with any upgrade you do need a recovery strategy
though.

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


Re: Wireless Bridge in FreeBSD 6.1

2007-03-15 Thread Sung Park

How about EoIP tunnel to establish wireless bridge?  Is it possible?  How
about other tunnels? Do you have any suggestion to make it possible in
FreeBSD?

Thank you

On 3/13/07, Kevin Downey <[EMAIL PROTECTED]> wrote:


On 3/13/07, Sung Park <[EMAIL PROTECTED]> wrote:
> I'm having trouble to bridge two wireless card which is Atheros AR5213A
in
> FreeBSD 6.1.  I try to make transparent bridge in these two wireless
card.
>
> I compiled BRIDGE in kernel and I put
>
> net.link.ether.bridge=1
> net.link.ether.bridge_cfg=*ath0*,*ath1*
> net.link.ether.bridge_ipfw=1
>
> in sysctl.conf.
>
> Following diagram is what I did it.
>
> (192.168.0.1)Ath0Ath0,Ath1(192.168.0.2)Ath0(192.168.0.100)
>
> Left unit is wireless router. Middle unit is transparent bridge. Right
unit
> is client.  I set up like this.  Ath0 of left unit is AP. Ath0 of middle
> unit is Station.  Ath1 of middle unit is AP. Ath0 of right unit is
Station.
> I can ping from 192.168.0.100 to 192.168.0.2 but I can't ping from
> 192.168.0.100 to 192.168.0.1.
>
> I tested wired LAN bridge with same configuration. It works well.
>
> Anyone has idea about this or has same problem. Please, help me. Any
kind of
> information will save me.

My understanding is that because of how the 802.11 is designed, this
sort of setup is not possible using ethernet bridging code(if_bridge
and friends) if you are using infrastructure mode and a-hoc mode is
kind of slow. WDS may be waht you are looking for but I don't know if
FreeBSD supports it yet..

--
The biggest problem with communication is the illusion that it has
occurred.
___
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: Should I Upgrade 5.4 -> 6.2?

2007-03-15 Thread Jerry McAllister
On Thu, Mar 15, 2007 at 04:47:06PM -0400, [EMAIL PROTECTED] wrote:

> First off, I want to thank the people who responded to my thread 
> "Stability Issues on a 5.4-RELEASE box" a couple of weeks ago; after 
> disabling hyperthreading, getting a clean run of Memtest back, and 
> doing some serious fsck'ing of the disks, the box appears to now be 
> completely stable. I'm still not sure which of the above fixed the 
> problem...but I'll take a stable system at this point. :-)
> 
> That said, in that thread I had asked about the advisability of 
> upgrading to 6.2, and it was intelligently pointed out that doing so in 
> pursuit of stability was a bad idea. Now that the box is stable, 
> though, I'm back to the same question: should I make the upgrade, and 
> if so, how should I do it?
> 
> My primary driver for doing so would be to keep current enough that I'm 
> still getting security and other patches on a regular basis, and that I 
> can upgrade my applications from ports as necessary. If this is not an 
> issue, then my only remaining concern would be that it's usually easier 
> to get support on lists like this if you're running a modern version of 
> the OS (that's certainly the case with the OpenBSD folks).
> 
> My primary concern with upgrading is that the box is in Portland, OR, 
> and I'm in Arlington, VA...and while the ISP is friendly, I doubt that 
> I could count on them for major system recovery if I botch something 
> during the upgrade. My other worry is that I don't want to break 
> existing apps if possible (the main one I'm concerned about is 
> Zope/Plone). This is a production box with moderate traffic, and it 
> would be a problem if there was extensive downtime.
> 
> Is it worth upgrading? If so, what's the best way to do so -- CVSup, or 
> some other way? Are there any major caveats if I do choose to upgrade 
> (or choose to stay with the existing OS)?

You should if you can reasonably do it, for the reasons you give plus
improvements in performance and in some utilities.  

My sentiment is usually to do a clean install over major version numbers. 
It tends to leave less dross laying around.  but I do not have to worry 
about down times very much, a couple of hours at night is not terribly
noticable in my stuff.  It does require more time down to do a clean 
from scratch install.   But, I think you can get away with a cvsup upgrade 
from 5.4 to 6.2.   Then your downtime is just the reboot and stuff at single 
user (mergemaster), plus probably some for upgrading various ports.

jerry

> 
> Thanks,
> Alex Kirk
> 
> ___
> 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: Should I Upgrade 5.4 -> 6.2?

2007-03-15 Thread Kris Kennaway
On Thu, Mar 15, 2007 at 04:47:06PM -0400, [EMAIL PROTECTED] wrote:
> First off, I want to thank the people who responded to my thread 
> "Stability Issues on a 5.4-RELEASE box" a couple of weeks ago; after 
> disabling hyperthreading, getting a clean run of Memtest back, and 
> doing some serious fsck'ing of the disks, the box appears to now be 
> completely stable. I'm still not sure which of the above fixed the 
> problem...but I'll take a stable system at this point. :-)
> 
> That said, in that thread I had asked about the advisability of 
> upgrading to 6.2, and it was intelligently pointed out that doing so in 
> pursuit of stability was a bad idea. Now that the box is stable, 
> though, I'm back to the same question: should I make the upgrade, and 
> if so, how should I do it?
> 
> My primary driver for doing so would be to keep current enough that I'm 
> still getting security and other patches on a regular basis, and that I 
> can upgrade my applications from ports as necessary. If this is not an 
> issue, then my only remaining concern would be that it's usually easier 
> to get support on lists like this if you're running a modern version of 
> the OS (that's certainly the case with the OpenBSD folks).
> 
> My primary concern with upgrading is that the box is in Portland, OR, 
> and I'm in Arlington, VA...and while the ISP is friendly, I doubt that 
> I could count on them for major system recovery if I botch something 
> during the upgrade. My other worry is that I don't want to break 
> existing apps if possible (the main one I'm concerned about is 
> Zope/Plone). This is a production box with moderate traffic, and it 
> would be a problem if there was extensive downtime.
> 
> Is it worth upgrading? If so, what's the best way to do so -- CVSup, or 
> some other way? Are there any major caveats if I do choose to upgrade 
> (or choose to stay with the existing OS)?

On general grounds it is well worth running 6.2 over 5.x - depending
on your workload you should see performance improvements, and support
for 6.2 is much better than for the legacy 5.x branch.

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


Should I Upgrade 5.4 -> 6.2?

2007-03-15 Thread alex
First off, I want to thank the people who responded to my thread 
"Stability Issues on a 5.4-RELEASE box" a couple of weeks ago; after 
disabling hyperthreading, getting a clean run of Memtest back, and 
doing some serious fsck'ing of the disks, the box appears to now be 
completely stable. I'm still not sure which of the above fixed the 
problem...but I'll take a stable system at this point. :-)


That said, in that thread I had asked about the advisability of 
upgrading to 6.2, and it was intelligently pointed out that doing so in 
pursuit of stability was a bad idea. Now that the box is stable, 
though, I'm back to the same question: should I make the upgrade, and 
if so, how should I do it?


My primary driver for doing so would be to keep current enough that I'm 
still getting security and other patches on a regular basis, and that I 
can upgrade my applications from ports as necessary. If this is not an 
issue, then my only remaining concern would be that it's usually easier 
to get support on lists like this if you're running a modern version of 
the OS (that's certainly the case with the OpenBSD folks).


My primary concern with upgrading is that the box is in Portland, OR, 
and I'm in Arlington, VA...and while the ISP is friendly, I doubt that 
I could count on them for major system recovery if I botch something 
during the upgrade. My other worry is that I don't want to break 
existing apps if possible (the main one I'm concerned about is 
Zope/Plone). This is a production box with moderate traffic, and it 
would be a problem if there was extensive downtime.


Is it worth upgrading? If so, what's the best way to do so -- CVSup, or 
some other way? Are there any major caveats if I do choose to upgrade 
(or choose to stay with the existing OS)?


Thanks,
Alex Kirk

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


6.2-amd64 Hang at reboot on Supermicro X7DBR-i+

2007-03-15 Thread Guy Helmer
I'm investigating a problem where a pretty much stock 6.2 SMP kernel 
randomly hangs on multiple Supermicro X7DBR-i+ and X7DBR-8+ systems.  
The system syncs the filesystems and prints "Uptime: ...", then hangs.


So far, I've narrowed it down to the MOD_SHUTDOWN request to the 
"rootbus" module.  Adding a printf() before and after the 
"device_shutdown(child);" line in subr_bus.c method 
bus_generic_shutdown() seems to make the problem go away, as does 
running a kernel with INVARIANTS, WITNESS, and DDB/KDB.  I'm trying to 
reproduce the hang on a plain SMP kernel with just DDB/KDB, but it 
hasn't hung yet.


Any ideas?

Guy

--
Guy Helmer, Ph.D.
Chief System Architect
Palisade Systems, Inc.

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


Re: burncd makes disk that is unmountable

2007-03-15 Thread Jerry McAllister
On Thu, Mar 15, 2007 at 01:06:10PM +0100, Dieter wrote:

> AMD64 running 6.0
> Drive is:
>   acd0: DVDR  at ata0-master UDMA66
> Media is CD-RW
> 
> Burned a 6.2 disk using:
>   burncd data 6.2-RELEASE-amd64-disc1.iso fixate
> as suggested in
>   http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/creating-cds.html

I don't remember the details, but when I got to 6.1, I found that
my old burncd parameters would not work and I had to change them.

I don't remember the details, but I settled upon:
  /usr/sbin/burncd -v -f /dev/acd0 data FreeBSD62-disc1.iso fixate
which seems to work find.  Both boots and mounts.  That doesn't look
materially different from yours, but...

jerry

> 
> Seemed to go okay.  Disk boots, but I cannot mount it:
> 
> fstab entry:
>   /dev/acd0   /cdrom  cd9660  ro,noauto   0   0
> 
> Yields:
>   g_vfs_done():acd0[READ(offset=32768, length=2048)]error = 5
> 
> Tried it with and without "fixate", neither will mount.
> 
> Other iso disks (probably burned using NetBSD) mount fine.
> UFS DVD+RW disks burned under FreeBSD using growisofs mount fine.
> 
> Given the error message, I assume that the block/sector at 32768 isn't
> getting written.
> ___
> 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]"


burncd makes disk that is unmountable

2007-03-15 Thread Dieter
AMD64 running 6.0
Drive is:
  acd0: DVDR  at ata0-master UDMA66
Media is CD-RW

Burned a 6.2 disk using:
  burncd data 6.2-RELEASE-amd64-disc1.iso fixate
as suggested in
  http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/creating-cds.html

Seemed to go okay.  Disk boots, but I cannot mount it:

fstab entry:
  /dev/acd0   /cdrom  cd9660  ro,noauto   0   0

Yields:
  g_vfs_done():acd0[READ(offset=32768, length=2048)]error = 5

Tried it with and without "fixate", neither will mount.

Other iso disks (probably burned using NetBSD) mount fine.
UFS DVD+RW disks burned under FreeBSD using growisofs mount fine.

Given the error message, I assume that the block/sector at 32768 isn't
getting written.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FreeBSD 2.2.9 / Installation problem

2007-03-15 Thread Kris Kennaway
On Thu, Mar 15, 2007 at 08:43:32PM +0100, Nino Ivanov wrote:
> Dear Chistian, Dear Kris,
> 
> I also think the RAM will not be the issue, as it is a text-only install,
> and indeed, I am not planning to "get fancy". I completely don't need X.
> Midnight Commander is perfectly fine as a working environment. 4.11 seemed
> OK.
> 
> But I am having a different problem right now, which I am still researching:
> It does not recognize the device from where to mount root correctly. I mean
> the following: When I put FreeBSD into the Compaq for installation, the
> harddrive is ad4 or ad8. But in the system where I want to run it, the HP
> Omnibook, it is ad0.
> 
> Now, when I start it back in the HP Omnibook, it says that swap is not
> configured correctly on ad8s-something. Which is true, it should look for it
> on ad0... I have only once been able till now to mount root. (And this is my
> basis for assuming that even 4.11 CAN potentially run.) I said as command
> ufs:/dev/ad0 when it asked me where to mount root from. This worked,
> however, e.g. ufs:/dev/ad0s1 did not work. I am thinking that I might have
> made a mistake, and should have said ad0s1a.
> 
> Yet, the principal new problem persists: FreeBSD does not realize that it
> should now look at ad0 instead of ad4 or ad8. (However, in the booting
> process, it correctly "sees" ad0 as having 325 MB etc.) Is there a way to
> solve this?

Probably the /etc/fstab is wrong and refers to the ad4 or ad8 devices.
The root should indeed typically be ufs:/dev/ad0s1a.

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


"elf_begin" returns NULL

2007-03-15 Thread Robe
Hi,

I'm trying to create an object file (.o) using the "libelf" library.
Below appear the full source code.

Does any body know why the "elf_begin" statement return NULL?


#include < stdio.h>
#include 
#include 

int main()
{
int FileDes;

Elf *pElf = elf_begin(FileDes, ELF_C_WRITE, NULL);  // 3rd argument
is ignored for "ELF_C_WRITE"

if (!pElf)
printf("elf_begin: error\n");

Elf32_Ehdr *pEhdr = elf32_newehdr(pElf);

if (!pEhdr)
printf("elf32_newehdr: error\n");


elf_end(pElf);

// Free the memory
free(pElf);
free(pEhdr);

return 0;
}

Thanx,

Robe.


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


AW: FreeBSD 2.2.9 / Installation problem

2007-03-15 Thread Nino Ivanov
Dear Chistian, Dear Kris,

I also think the RAM will not be the issue, as it is a text-only install,
and indeed, I am not planning to "get fancy". I completely don't need X.
Midnight Commander is perfectly fine as a working environment. 4.11 seemed
OK.

But I am having a different problem right now, which I am still researching:
It does not recognize the device from where to mount root correctly. I mean
the following: When I put FreeBSD into the Compaq for installation, the
harddrive is ad4 or ad8. But in the system where I want to run it, the HP
Omnibook, it is ad0.

Now, when I start it back in the HP Omnibook, it says that swap is not
configured correctly on ad8s-something. Which is true, it should look for it
on ad0... I have only once been able till now to mount root. (And this is my
basis for assuming that even 4.11 CAN potentially run.) I said as command
ufs:/dev/ad0 when it asked me where to mount root from. This worked,
however, e.g. ufs:/dev/ad0s1 did not work. I am thinking that I might have
made a mistake, and should have said ad0s1a.

Yet, the principal new problem persists: FreeBSD does not realize that it
should now look at ad0 instead of ad4 or ad8. (However, in the booting
process, it correctly "sees" ad0 as having 325 MB etc.) Is there a way to
solve this?

If this really works I think I'll write a step-by-step guide...

I really appreciate your help in this matter - thank you a lot!

-Ursprüngliche Nachricht-
Von: Kris Kennaway [mailto:[EMAIL PROTECTED] 
Gesendet: Donnerstag, 15. März 2007 19:13
An: Christian Walther
Cc: Nino Ivanov; freebsd-questions@freebsd.org
Betreff: Re: FreeBSD 2.2.9 / Installation problem

On Thu, Mar 15, 2007 at 12:28:12PM +0100, Christian Walther wrote:
> On 15/03/07, Nino Ivanov <[EMAIL PROTECTED]> wrote:
> >Dear Sir or Madam,
> >
> [...]
> >
> >The target machine is a HP Omnibook 600c laptop with 8MB RAM, a 486 DX4
> >processor, 300 MB disk space. No CD drive. No network available. External
> >floppy drive without DMA. (I tried NetBSD, but because of the lack of DMA

> >it
> >did not work properly.) The functioning of the floppy drive is critical,
> >being the machine's only practical means of communicating with the outer
> >world. Due to cost and time considerations, no upgrades are possible. If 
> >the
> >target machine is not suitable for an installation of FreeBSD, please let

> >me
> >know so I stop further attempts.
> 
> I guess you're without luck in this case. AFAIK FreeBSD needs at least
> 64 MB RAM to work happily. I tried installing it on an P1/133MHz
> Laptop with 16MB RAM, and it freezes after a few minutes. And it's
> dead slow.

Well it is only true of more modern versions that they do not function
well on systems with e.g. 8MB.  FreeBSD 2.x was happy with as little
as 4MB.

Kris

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


Re: per-interface default routes?

2007-03-15 Thread dex

On 3/14/07, Alexandre Biancalana <[EMAIL PROTECTED]> wrote:

On 3/14/07, Wojciech Puchar <[EMAIL PROTECTED]> wrote:
> yes. but ipfw is most universal having all needed things at one place.
> firewalling, routing, shaping, etc.

PF too. is all at same place.


And pf has nat built-in, so it runs in kernel space.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


SUMMARY: CPUTYPE for VIA EPIA M-Series Mini-ITX

2007-03-15 Thread Jeffrey Goldberg

[mailed, posted and bcc'ed to off list respondents]


First let me quote my original query:


I have one of these

CPU: VIA C3 Nehemiah (999.52-MHz 686-class CPU)
  Origin = "CentaurHauls"  Id = 0x691  Stepping = 1
  Features=0x380b035

http://www.via.com.tw/en/products/mainboards/motherboards.jsp? 
motherboard_id=81


And 6.2-RELEASE p2

When I set CPUTYPE=c3 in /etc/make.conf the world seemed to build  
just fine, but (at least) gcc ended up broken.  Most compiling  
attempts after that ended up with gcc reporting an internal error.


Now that I've entered the FreeBSD world and am building everything  
from source, I would like to take advantage of that by compiling  
for my system.


Does anyone have a similar system?  And what CPUTYPE or local  
tuning do you recommend?


A dmesg for the system is available at

  http://ntp0.goldmark.org/temp/dmesg


I've had two responses telling me that the make.conf defaults are  
just fine, and two (one off list) recommending i686/pentiumpro.  One  
for pentiumpro and the other for i686, but as Andreas Rudish  
helpfully pointed out, those two are probably the same thing.  No one  
suggested using c3.  In fact, cpghost emphatically stated not to use  
C3 in make.conf


Adbullah Ibn Hamad Al-Marri also helpfully directed me for  
information about safe CFLAGS to


  http://gentoo-wiki.com/Safe_Cflags

where the entry for the Via Nehemiah says:

==
   Nehemiah (C5XL)/C5P (Via)

CHOST="i686-pc-linux-gnu"
CFLAGS="-march=i686 -msse -mmmx -O2 -pipe -fomit-frame-pointer"
CXXFLAGS="${CFLAGS}"

note: The more recent versions of the C3 do support the cmov  
instruction and hence -march=i686. If you must be compatible with all  
VIA C3 versions, do not use the settings in this section.


note: it is also possible to use "-march=c3-2". <-- Comment to this:  
I got a problem "compiler can't create executables" with this setting.


note: I had much better luck with -Os than with -O2. The cache on the  
nehemiah chips is really small, so making the executables small helps  
more than anything else.

==

The off list response added



- Setting CPUTYPE to pentium, or pentiumpro both work fine.  IIRC,
  the C3 designation is Linux-specific and doesn't exist for
  FreeBSD.



If everybody agrees that the c3 designation is unwise to use, then  
probably the distributed


   /usr/share/examples/etc/make.conf

The off list responded gave extremely helpful and detailed  
information about trimming the kernel for a similar box.  I've  
already done most of what that recommends.


In sum, don't use the c3 specification in /etc/make.conf even though  
the example would suggested otherwise.


Thanks all for your help

-j

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


Re: Help installing "nasm"

2007-03-15 Thread Pietro Cerutti

On 3/15/07, Robe <[EMAIL PROTECTED]> wrote:

Hi,

Hello,


I'm trying to install the Netwide Assembler (nasm) in such a way:
# cd /usr/ports/devel/nasm
# make
But I get the following error:
=> Couldn't fetch it – please try to retrieve this port manually into
/usr/ports/distfiles/ and try again.

*** Error code 1
I'm using the stable version 6.1
And I'm behind a proxy. What can I do?



from:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports-using.html

"The ports system uses fetch(1) to download the files, which honors
various environment variables, including FTP_PASSIVE_MODE, FTP_PROXY,
and FTP_PASSWORD. You may need to set one or more of these if you are
behind a firewall, or need to use an FTP/HTTP proxy. See fetch(3) for
the complete list."


Thanx,


You're welcome,


--

Robe.
Psiquiatría: el único negocio donde el cliente nunca tiene la razón.


--
Pietro Cerutti

- ASCII Ribbon Campaign -
against HTML e-mail and
proprietary attachments
  www.asciiribbon.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: sendmail not working?

2007-03-15 Thread Chuck Swiger

On Mar 15, 2007, at 6:15 AM, Nagy László Zsolt wrote:
I know it is not the newest, but should work. I rebooted the  
machine, but it did not help. By the way, I do NOT want postfix to  
listen on TCP/25. I have to use an ssh tunnel. But I would like to  
be able to deliver e-mail messages locally.


Here is what I did for now:

- deinstalled postfix
- changed mailer.conf back to the original version
- disabled postfix and re-enabled sendmail in rc.conf
- started sendmail with "/etc/rc.d/sendmail start"

And it works! But why couldn't I do this with postfix?


Sendmail combines the functionality of something which listens on  
port 25 (aka a MTA), with something which performs local delivery  
(aka a MDA, Mail Delivery Agent), although sendmail can also be  
configured to use procmail, the OS/vendor-specific MDA "mail.local"  
or similar, etc.  However, if sendmail is not configured to use an  
external MDA, it will perform local delivery without needing to route  
the mail via the MTA first.


Postfix is designed to keep a firm separation of MTA and MDA  
functionality for security reasons and always wants to receive  
incoming mail via the MTA...it will not short-circuit to doing local  
delivery the way sendmail can.


--
-Chuck

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


Re: 'nodump' on directories: new contents still dumped

2007-03-15 Thread Bram Schoenmakers
Op donderdag 15 maart 2007, schreef John Nielsen:

Hi,

> On Thursday 15 March 2007 13:57, Bram Schoenmakers wrote:
> > I'm using dump(8) for backing up a FreeBSD 4.10 server. In order to
> > decrease the resulting file size, I flagged some directories like
> > /usr/ports and /usr/src with 'nodump'. I adjusted the dump level 0 script
> > to have -h 0, so that worked fine. The other scripts for dumps >0 do not
> > have a -h flag set, because -h 1 is default.
> >
> > The problem is that new files appearing in the /usr/ports tree (daily
> > portsnap cron) do not have the 'nodump' flag set. But despite the
> > 'nodump' flag on the /usr/ports directory, the new files in the tree are
> > still dumped.
> >
> > I understood that dump does not enter directories with 'nodump' flag set,
> > so it shouldn't see the new files inside, right? Or is this behavior
> > implemented in a newer version than FreeBSD 4.10? I have scanned the CVS
> > logs for dump, but couldn't find anything relevant.
>
> Read the dump manpage more carefully, and pay particular attention to the
> -h flag. You probably want '-h0'.

-h 0 just works fine, that is not the problem.

I may have forgotten one detail in case that was not clear. The level 0 backup 
does not contain any folder marked with 'nodump' (so it's all OK, despite 
the -h0 you mentioned). New contents (which have no flags set) in these 
folders emerge in higher level dumps.

The problem is that dump(8) enters directories with 'nodump' flags set while 
it shouldn't.

Kind regards,

-- 
Bram Schoenmakers

What is mind? No matter. What is matter? Never mind.
(Punch, 1855)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: 'nodump' on directories: new contents still dumped

2007-03-15 Thread John Nielsen
On Thursday 15 March 2007 14:37, John Nielsen wrote:
> On Thursday 15 March 2007 13:57, Bram Schoenmakers wrote:
> > I'm using dump(8) for backing up a FreeBSD 4.10 server. In order to
> > decrease the resulting file size, I flagged some directories like
> > /usr/ports and /usr/src with 'nodump'. I adjusted the dump level 0 script
> > to have -h 0, so that worked fine. The other scripts for dumps >0 do not
> > have a -h flag set, because -h 1 is default.
> >
> > The problem is that new files appearing in the /usr/ports tree (daily
> > portsnap cron) do not have the 'nodump' flag set. But despite the
> > 'nodump' flag on the /usr/ports directory, the new files in the tree are
> > still dumped.
> >
> > I understood that dump does not enter directories with 'nodump' flag set,
> > so it shouldn't see the new files inside, right? Or is this behavior
> > implemented in a newer version than FreeBSD 4.10? I have scanned the CVS
> > logs for dump, but couldn't find anything relevant.
>
> Read the dump manpage more carefully, and pay particular attention to the
> -h flag. You probably want '-h0'.

Sorry.. I obviously didn't read your post carefully enough. My understanding 
is the same as yours (also from versions more recent than 4.x), so I don't 
have any additional input.

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


Re: amarok lyrics: proxy and ruby?

2007-03-15 Thread Tijl Coosemans
On Thursday 15 March 2007 18:12:57 Anna Vazquez Nikonova wrote:
> Well the problem is that im behind a proxy and i cant see the lyrics in
> amarok with 1.4.5 version, it gave me an error with all lyrics scipts
> for example with LyriWiki is this:
> 
> Failed to establish a connection with LyricWiki.org SOAP Server.
> LyricWiki.org is either down or experiencing an problem with their SOAP
> server. The script will run, but will be less responsive than usual.
> 
> With Leos script is this:
> 
> Lyrics could not be retrieved because the server was not reachable.
> 
> and with the default scipt it gave me this error:
> 
> Lyrics could not be retrieved because the server was not reachable.
> 
> To me it seems that is becouse amarok didnt find the proxy.But with
> older version 1.3.9 i can, what is the problem? Can somebody help me?

Have you asked this on the amarok mailing list or forum? My first
guess is that this is an Amarok problem and not FreeBSD.

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


Re: 'nodump' on directories: new contents still dumped

2007-03-15 Thread John Nielsen
On Thursday 15 March 2007 13:57, Bram Schoenmakers wrote:
> I'm using dump(8) for backing up a FreeBSD 4.10 server. In order to
> decrease the resulting file size, I flagged some directories like
> /usr/ports and /usr/src with 'nodump'. I adjusted the dump level 0 script
> to have -h 0, so that worked fine. The other scripts for dumps >0 do not
> have a -h flag set, because -h 1 is default.
>
> The problem is that new files appearing in the /usr/ports tree (daily
> portsnap cron) do not have the 'nodump' flag set. But despite the 'nodump'
> flag on the /usr/ports directory, the new files in the tree are still
> dumped.
>
> I understood that dump does not enter directories with 'nodump' flag set,
> so it shouldn't see the new files inside, right? Or is this behavior
> implemented in a newer version than FreeBSD 4.10? I have scanned the CVS
> logs for dump, but couldn't find anything relevant.

Read the dump manpage more carefully, and pay particular attention to the -h 
flag. You probably want '-h0'.

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


Re: Trying to Upgrade Version of Tar on a 5.3 System.

2007-03-15 Thread Jonathan Chen
On Thu, Mar 15, 2007 at 11:23:24AM -0500, Martin McCormick wrote:

>   Will either freetar or gtar give me the capability to
> use a reference file to only get the new files that have either
> appeared or changed since yesterday?

There's always find+cpio if you're interested.

find /what/ever -mtime -1 -print | cpio -o -H ustar > file.tar

Cheers.
-- 
Jonathan Chen <[EMAIL PROTECTED]>
--
   "Lots of folks confuse bad management with destiny"
 - Kin Hubbard
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Build your own ISO-install-CD?

2007-03-15 Thread Kevin Kinsey

Ewald Jenisch wrote:

On Thu, Mar 15, 2007 at 10:27:02AM +0100, cpghost wrote:

He meant the command to create the iso image. Something like
'make release' or so...



Hi,

Yes you're right - the question is about how to create a *custom*
ISO-image. I've already tried the following:

cd /usr/src
# make release -DMAKE_ISOS
`release' is up to date.
#


I believe you're in the wrong WD.  Check release(7).


yet, no .iso-files to find :-(

I also came across /usr/src/release/i386/mkisoimages.sh
It needs the following params: 
"mkisoimages.sh [-b] image-label image-name base-bits-dir [extra-bits-dir]"


Where is "base-bits-dir" supposed to be?


I dunno, 'cause in using 'make release' that script is used by make 
instead of us humans ... ;-)


KDK
--
The great nations have always acted like gangsters and the small nations
like prostitutes.
-- Stanley Kubrick
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Build your own ISO-install-CD?

2007-03-15 Thread Kevin Kinsey

Ewald Jenisch wrote:

Hi,

I need to build my own ISO-install-CD for FreeBSD 6.2. Is this
possible (given an up-to-date /usr/src tree)? 


IIRC, you actually need a CVS tree outside of /usr/src, unless your 
/usr/src is actually a repo copy of the CVS tree.  It's been a while, so 
maybe I'm wrong on that.



If yes, how?


I did this once, back after 6.0, for the experience as much as anything 
I can remember now.  I don't seem to find any notes, however.


release(7) is the canonical reference, and you should be able to do this 
after a fairly thorough study of same.



Will this process build build a "mini"-CD or a full "Disc1"?


It depends on what you tell it to do.  If MAKE_ISOS is defined, you will 
get all of the ISO's that are built with any standard release.  I don't 
know if there are any variables to control *which* of the ISO's might be 
omitted, etc.  I'm thinking maybe not, but IANAE.



Can this "home-brewn" install-CD be used instead of the Disc1 of the
6.2 CD-set when installing a machine from scratch?


I don't see why not, as that is what it is designed for.  We used 
"OurCompany-6.0-RELEASE" on a few servers back then.



Will it prompt for the second CD containing the various
packages?


It should behave as any other of the FBSD CDs, providing you follow the 
instructions and burn the CD correctly.



Thanks in advance for any clue,
-ewald

PS: Just for explanation: The original 6.2 install-CDs don't support a
specific NIC I've got in my blade-systems. A new-version of the
corresponding driver has already been submitted though. In order to
avoid the "chicken-and-egg-problem" (i.e. can't update the source
since the machine can't connect to the net when installed via the
original 6.2 CDs) I thought about building a custom 6.2 CD install set
from a machine that has up-to-date 6.2 sources.


A good reason to give it a try, I suppose.  The Friendly manual is what 
you need, plus a bit of time for reading/planning and a fairly fast 
build machine --- or a *lot* of time on a slower box.  Happy release(7)-ing!


Kevin Kinsey
--
1 + 1 = 3, for large values of 1.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


'nodump' on directories: new contents still dumped

2007-03-15 Thread Bram Schoenmakers
Hi,

I'm using dump(8) for backing up a FreeBSD 4.10 server. In order to decrease 
the resulting file size, I flagged some directories like /usr/ports 
and /usr/src with 'nodump'. I adjusted the dump level 0 script to have -h 0, 
so that worked fine. The other scripts for dumps >0 do not have a -h flag 
set, because -h 1 is default.

The problem is that new files appearing in the /usr/ports tree (daily portsnap 
cron) do not have the 'nodump' flag set. But despite the 'nodump' flag on 
the /usr/ports directory, the new files in the tree are still dumped.

I understood that dump does not enter directories with 'nodump' flag set, so 
it shouldn't see the new files inside, right? Or is this behavior implemented 
in a newer version than FreeBSD 4.10? I have scanned the CVS logs for dump, 
but couldn't find anything relevant.

One 'hack' is to run a script prior to the dump to recursively set 
all 'nodump' flags where appropriate, but I'm hoping that someone can 
enlighten me what is going on.

Thanks in advance,

-- 
Bram Schoenmakers

What is mind? No matter. What is matter? Never mind.
(Punch, 1855)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Help installing "nasm"

2007-03-15 Thread Mike

Robe wrote:

And I’m behind a proxy. What can I do?

  
Try following what this guy did. It sounds like you're having the same 
problem (i.e. fetch not working with a proxy):


http://cyberjames.pbwiki.com/FreeBSD:%20Installing%20ports%20via%20proxy
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FreeBSD 2.2.9 / Installation problem

2007-03-15 Thread Kris Kennaway
On Thu, Mar 15, 2007 at 12:28:12PM +0100, Christian Walther wrote:
> On 15/03/07, Nino Ivanov <[EMAIL PROTECTED]> wrote:
> >Dear Sir or Madam,
> >
> [...]
> >
> >The target machine is a HP Omnibook 600c laptop with 8MB RAM, a 486 DX4
> >processor, 300 MB disk space. No CD drive. No network available. External
> >floppy drive without DMA. (I tried NetBSD, but because of the lack of DMA 
> >it
> >did not work properly.) The functioning of the floppy drive is critical,
> >being the machine's only practical means of communicating with the outer
> >world. Due to cost and time considerations, no upgrades are possible. If 
> >the
> >target machine is not suitable for an installation of FreeBSD, please let 
> >me
> >know so I stop further attempts.
> 
> I guess you're without luck in this case. AFAIK FreeBSD needs at least
> 64 MB RAM to work happily. I tried installing it on an P1/133MHz
> Laptop with 16MB RAM, and it freezes after a few minutes. And it's
> dead slow.

Well it is only true of more modern versions that they do not function
well on systems with e.g. 8MB.  FreeBSD 2.x was happy with as little
as 4MB.

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


rbl-milter

2007-03-15 Thread David King
I'm using mail/rbl-milter-0.30_2 on FreeBSD 6.2 (which sports  
Sendmail 8.13.8 compiled with -DMILTER). rbl-bilter is a sendmail  
milter that checks a DNS RBL (in this case, spamcop) to see if an  
address is a known-spammer, and if so, adds a header to the email


rbl-milter starts, and creates a socket in /var/run/rbl-milter

srwxr-xr-x  1 root  wheel 0B 14 Mar 14:27 /var/run/rbl-milter=

When I receive an email from a known spammer, I get a message in  
syslog that looks like this:


Mar 14 15:03:05 melchoir rbl-milter[30345]: RBL entry found for  
82.23.177.133


So I know that rbl-milter gets the message, and does its lookup. I  
receive the emails as I would expect, except no header has been  
added. I'm launching rbl-milter from the shipped a init.d script with:


/usr/local/sbin/rbl-milter -l -r -p local:/var/run/rbl-milter -d  
$BLOCKLIST


(where BLOCKLIST is bl.spamcop.net, defined earlier), and the rbl- 
milter portion of my sendmail.mc looks like:


dnl pipe through rbl-milter socket
INPUT_MAIL_FILTER(`rbl-milter',`S=local:/var/run/rbl-milter')
define(`confINPUT_MAIL_FILTERS', `rbl-milter')

(the entire sendmail.mc is at the end of the message). The INSTALL  
file indicates that a negotiation should happen, to quote:


7.  Restart sendmail.  Send yourself an email.  In your maillogs you
should see lines like the following:

	sm-mta[2826]: g19CaLob002826: Milter (rbl-milter): init success to  
negotiate

sm-mta[2826]: g19CaLob002826: Milter: connect to filters
sm-mta[2826]: g19CaLob002826: Milter accept: message

I do NOT see that negotiation happening (but of course I *do* see rbl- 
milter indicating that the addresses in the message are on a blocklist).


All of this seems to work, since rbl-milter obviously sees the mail  
and does the proper lookup. Do you know of any way that it would be  
able to do this, but not able to add the header?


I can of course furnish additional configuration, but I'm not sure  
what's applicable. Here is my entire sendmail.mc:


-- cut here --
divert(0)
VERSIONID(`$FreeBSD: src/etc/sendmail/freebsd.mc,v 1.27 2002/10/16  
22:52:56 keramida Exp $')

OSTYPE(freebsd5)
DOMAIN(generic)

FEATURE(access_db, `hash -o -T /etc/mail/access')
FEATURE(blacklist_recipients)
FEATURE(local_lmtp)
FEATURE(mailertable, `hash -o /etc/mail/mailertable')
FEATURE(virtusertable, `hash -o /etc/mail/virtusertable')

dnl Uncomment the first line to change the location of the default
dnl /etc/mail/local-host-names and comment out the second line.
dnl define(`confCW_FILE', `-o /etc/mail/sendmail.cw')
define(`confCW_FILE', `-o /etc/mail/local-host-names')

dnl pipe through rbl-milter socket
INPUT_MAIL_FILTER(`rbl-milter',`S=local:/var/run/rbl-milter')
define(`confINPUT_MAIL_FILTERS', `rbl-milter')

FEATURE(`local_procmail')

dnl set SASL options
TRUST_AUTH_MECH(`LOGIN PLAIN')dnl
define(`confAUTH_MECHANISMS', `LOGIN PLAIN')dnl
define(`confDEF_AUTH_INFO', `/etc/mail/auth-info')dnl

define(`CERT_DIR', `/etc/ssl')dnl
define(`confCACERT_PATH', `CERT_DIR')dnl
define(`confCACERT', `CERT_DIR/cacert.pem')dnl
define(`confSERVER_CERT', `CERT_DIR/mail-cert.pem')dnl
define(`confSERVER_KEY', `CERT_DIR/private/mail-key.pem')dnl
DAEMON_OPTIONS(`Port=smtp, Name=MTA')dnl
DAEMON_OPTIONS(`Port=smtps, Name=TLSMTA, M=s')dnl

define(`confBIND_OPTS', `WorkAroundBroken')
define(`confMAX_MIME_HEADER_LENGTH', `256/128')
define(`confNO_RCPT_ACTION', `add-to-undisclosed')
define(`confPRIVACY_FLAGS', `authwarnings,noexpn,novrfy')
MAILER(local)
MAILER(smtp)
-- cut here --
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: amarok lyrics: proxy and ruby?

2007-03-15 Thread Mike

Anna Vazquez Nikonova wrote:

To me it seems that is becouse amarok didnt find the proxy.But with
older version 1.3.9 i can, what is the problem? Can somebody help me?
___
  

Leave Amarok open and type this in a console window:

dcop amarok script proxyForProtocol http

If it prints an empty line instead of a string like 
"http://somehost:someport";, you probably need to open kcontrol and 
configure the proxy settings.  Even if you don't use KDE, you need to 
configure proxy support in kcontrol (don't worry, if you can run Amarok 
then you have kdelibs, which means you also have kcontrol), because 
Amarok grabs its knowledge of the proxy addresses from there.

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


Re: No matter what I try I can't get Nvidia 3d acceleration to work. Please help!

2007-03-15 Thread Sean Bryant

Norbert Papke wrote:

On Monday 12 March 2007 20:58, [EMAIL PROTECTED] wrote:
  

I'm actually having the same problem, but after I took out device agp out
of my kernel. And I still cannot start x with nvidia driver.

It complains that /dev/nvidiactl couldn't be opened. And then it says it
failed to load the kernel module.



It seems that the graphics card is not detected.  Does 


'pciconf -l | grep nvidia'

show anything?

What model is it?  If it is an older card, you may need the older version of 
the NVIDIA driver.


  

sysctl -a | grep nvidia
hw.nvidia.version: NVIDIA UNIX x86 Kernel Module  1.0-9746  Tue Dec 19
13:20:59 PST 2006
hw.nvidia.registry.EnableVia4x: 0
hw.nvidia.registry.EnableALiAGP: 0
hw.nvidia.registry.NvAGP: 1
hw.nvidia.registry.EnableAGPSBA: 0
hw.nvidia.registry.EnableAGPFW: 0
hw.nvidia.registry.SoftEDIDs: 1
hw.nvidia.registry.Mobile: 4294967295
hw.nvidia.registry.ResmanDebugLevel: 4294967295
hw.nvidia.registry.FlatPanelMode: 0
hw.nvidia.registry.DevicesConnected: 0
hw.nvidia.registry.RmLogonRC: 1
hw.nvidia.registry.DetectPrimaryVga: 1
hw.nvidia.registry.dwords:



For comparison, here is my output.  Note that  there are card specific 
entries.


# sysctl -a | grep nvidia
   nvidia   603  1293K   -38844  
16,32,64,128,256,512,1024,2048,4096
nvidia0:  port 0xbc00-0xbc7f mem 
0xfd00-0xfdff,0xc000-0xcfff,0xfc00-0xfcff irq 16 at 
device 0.0 on pci3

nvidia0: [GIANT-LOCKED]
hw.nvidia.version: NVIDIA UNIX x86 Kernel Module  1.0-9746  Tue Dec 19 
13:20:59 PST 2006

hw.nvidia.registry.EnableVia4x: 0
hw.nvidia.registry.EnableALiAGP: 0
hw.nvidia.registry.NvAGP: 1
hw.nvidia.registry.EnableAGPSBA: 0
hw.nvidia.registry.EnableAGPFW: 0
hw.nvidia.registry.SoftEDIDs: 1
hw.nvidia.registry.Mobile: 4294967295
hw.nvidia.registry.ResmanDebugLevel: 4294967295
hw.nvidia.registry.FlatPanelMode: 0
hw.nvidia.registry.DevicesConnected: 0
hw.nvidia.registry.RmLogonRC: 1
hw.nvidia.registry.DetectPrimaryVga: 1
hw.nvidia.registry.dwords:
hw.nvidia.cards.0.model: GeForce 7600 GS
hw.nvidia.cards.0.irq: 16
hw.nvidia.cards.0.vbios: 05.73.22.16.02
hw.nvidia.cards.0.type: PCI-E
dev.nvidia.0.%desc: GeForce 7600 GS
dev.nvidia.0.%driver: nvidia
dev.nvidia.0.%location: slot=0 function=0
dev.nvidia.0.%pnpinfo: vendor=0x10de device=0x0392 subvendor=0x3842 
subdevice=0xc547 class=0x03

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

It seems the driver is attached:
[EMAIL PROTECTED]:0:0:   class=0x03 card=0x chip=0x00f910de 
rev=0xa2 hdr=0x00


its a 6800 GT. From BFG.  I am on CURRENT. And xorg 6.9.0

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


Re: Help installing "nasm"

2007-03-15 Thread Duane Hill

On Thu, 15 Mar 2007, Robe wrote:


Hi,



I’m trying to install the Netwide Assembler (nasm) in such a way:



# cd /usr/ports/devel/nasm

# make



But I get the following error:



=> Couldn’t fetch it – please try to retrieve this port manually into
/usr/ports/distfiles/ and try again.

*** Error code 1



I’m using the stable version 6.1



And I’m behind a proxy. What can I do?


I've received the same error a few times in the past. It was caused by the 
fact my computer didn't have its NIC configured correctly to establish a 
connection to the Internet. Could be the same in your case.___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

amarok lyrics: proxy and ruby?

2007-03-15 Thread Anna Vazquez Nikonova
Well the problem is that im behind a proxy and i cant see the lyrics in
amarok with 1.4.5 version, it gave me an error with all lyrics scipts
for example with LyriWiki is this:

Failed to establish a connection with LyricWiki.org SOAP Server.
LyricWiki.org is either down or experiencing an problem with their SOAP
server. The script will run, but will be less responsive than usual.

With Leos script is this:

Lyrics could not be retrieved because the server was not reachable.

and with the default scipt it gave me this error:

Lyrics could not be retrieved because the server was not reachable.

To me it seems that is becouse amarok didnt find the proxy.But with
older version 1.3.9 i can, what is the problem? Can somebody help me?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Verifying my 3D drivers set up properly for my nVidia based graphics card

2007-03-15 Thread Jim Stapleton

I have a 7300GT in my computer, and I have run into a couple of errors
trying to set up WoW in Wine (couldn't find copies of the error
elsewhere). Also a couple of OpenGL applications are running slower
than one would expect given my card (especially in the screen savers
area, where the same apps would run /too fast/ with my old Ti4200.
These in conjunction lead me to suspect my graphics setup.

What application/method would you suggest to test this? I'd prefer
something that would provide command line information, rather than
"about how fast does this run?"

I checked for the libraries mentioned on nVidias web site, and they
are all in the right spots, which leads me to suspect it's an
xorg.conf error, but I'm not sure. I've attached the xorg.conf file to
the end, just in case.

Thanks,
-Jim Stapleton


/etc/X11/xorg.conf:

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 1.0  ([EMAIL PROTECTED])  Tue Feb
6 05:44:08 UTC 2007

Section "ServerLayout"
   Identifier "X.org Configured"
   Screen  0  "Screen0" 0 0
   InputDevice"Mouse0" "CorePointer"
   InputDevice"Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
   RgbPath "/usr/X11R6/lib/X11/rgb"
   ModulePath  "/usr/X11R6/lib/modules"
   FontPath"/usr/X11R6/lib/X11/fonts/misc/"
   FontPath"/usr/X11R6/lib/X11/fonts/TTF/"
   FontPath"/usr/X11R6/lib/X11/fonts/Type1/"
   FontPath"/usr/X11R6/lib/X11/fonts/CID/"
   FontPath"/usr/X11R6/lib/X11/fonts/75dpi/"
   FontPath"/usr/X11R6/lib/X11/fonts/100dpi/"
EndSection

Section "Module"
   Load   "extmod"
   Load   "glx"
   Load   "dbe"
   Load   "record"
   Load   "xtrap"
   Load   "type1"
   Load   "freetype"
EndSection

Section "InputDevice"
   Identifier "Keyboard0"
   Driver "kbd"
EndSection

Section "InputDevice"
   Identifier "Mouse0"
   Driver "mouse"
   Option "Protocol" "auto"
   Option "Device" "/dev/sysmouse"
   Option "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
### Comment all HorizSync and VertSync values to use DDC:
   Identifier "Monitor0"
   VendorName "SAM"
   ModelName  "SyncMaster"
   HorizSync   30.0 - 81.0
   VertRefresh 56.0 - 75.0
   Option "DPMS"
EndSection


Section "Extensions"
   Option "Composite" "Enable"
EndSection



Section "Device"
   Identifier "Card0"
   Driver "nvidia"
   VendorName "nVidia Corporation"
   BoardName  "Unknown Board"
EndSection

Section "Screen"
   Identifier "Screen0"
   Device "Card0"
   Monitor"Monitor0"
   SubSection "Display"
   Viewport0 0
   Depth   24
   Modes  "1280x1024" "1024x768" "800x600" "640x480"
   EndSubSection
   SubSection "Display"
   Viewport0 0
   Depth   16
   Modes  "1280x1024" "1024x768" "800x600" "640x480"
   EndSubSection
   SubSection "Display"
   Viewport0 0
   Depth   15
   Modes  "1280x1024" "1024x768" "800x600" "640x480"
   EndSubSection
   SubSection "Display"
   Viewport0 0
   Depth   8
   Modes  "1280x1024" "1024x768" "800x600" "640x480"
   EndSubSection
   SubSection "Display"
   Viewport0 0
   Depth   4
   Modes  "1280x1024" "1024x768" "800x600" "640x480"
   EndSubSection
   SubSection "Display"
   Viewport0 0
   Modes  "1280x1024" "1024x768" "800x600" "640x480"
   EndSubSection
EndSection





/var/log/Xorg.0.log:


X Window System Version 6.9.0
Release Date: 21 December 2005
X Protocol Version 11, Revision 0, Release 6.9
Build Operating System: FreeBSD 6.2 i386 [ELF]
Current Operating System: FreeBSD elrond.ameritech.net 6.2-STABLE
FreeBSD 6.2-STABLE #0: Fri Mar  2 21:01:49 UTC 2007
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/JIM20070302 i386
Build Date: 08 February 2007
Before reporting problems, check http://wiki.X.Org
to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Tue Mar 13 17:47:13 2007
(==) Using config file: "/etc/X11/xorg.conf"
(==) ServerLayout "X.org Configured"
(**) |-->Screen "Screen0" (0)
(**) |   |-->Monitor "Monitor0"
(**) |   |-->Device "Card0"
(**) |-->Input Device "Mouse0"
(**) |-->Input Device "Keyboard0"
(WW) The directory "/usr/X11R6/lib/X11/fonts/CID/" does not exist.
Entry deleted from font path.
(**) FontPath set to
"/usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/TTF/,/usr/X11R6/lib/X11/fonts/Type1/,/usr/X11R6/lib/X11/fonts/75dpi/,/usr/X11R6/lib/X11/fonts/100dpi/"
(**) RgbPath set to "/usr/X11R6/lib/X11/rgb"
(**) ModulePath set to "/usr/X11R6/lib/modules"

Re: Help installing "nasm"

2007-03-15 Thread Firas Kraiem
On Thursday 15 March 2007 18:59:05 Robe wrote:
> Hi,
>
>
>
> I’m trying to install the Netwide Assembler (nasm) in such a way:
>
>
>
> # cd /usr/ports/devel/nasm
>
> # make
>
>
>
> But I get the following error:
>
>
>
> => Couldn’t fetch it – please try to retrieve this port manually into
> /usr/ports/distfiles/ and try again.
>
> *** Error code 1
>
>
>
> I’m using the stable version 6.1
>
>
>
> And I’m behind a proxy. What can I do?
>
>
>
> Thanx,
>
>
>
> --
>
> Robe.
>
>
>
> Psiquiatría: el único negocio donde el cliente nunca tiene la razón.
>
>
>
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"

Hi,

is the URL of the file outputted to your terminal ? If so, you could do as it 
suggests : download the file yourself, via your web browser or otherwise, and 
put it in /usr/port/distfiles



pgpKipSOZQZhR.pgp
Description: PGP signature


Slim Server

2007-03-15 Thread Jason Gretz
Hey guys, I got Slim Server installed… although it won’t load when I run 
“slimserver.pl --daemon” I checked out the /var/log folder but I cannot find 
out where the log is… any ideas?


-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.446 / Virus Database: 268.18.11/723 - Release Date: 3/15/2007 
11:27 AM
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Help installing "nasm"

2007-03-15 Thread Robe
Hi,

 

I’m trying to install the Netwide Assembler (nasm) in such a way:

 

# cd /usr/ports/devel/nasm

# make

 

But I get the following error: 

 

=> Couldn’t fetch it – please try to retrieve this port manually into
/usr/ports/distfiles/ and try again.

*** Error code 1

 

I’m using the stable version 6.1

 

And I’m behind a proxy. What can I do?

 

Thanx,

 

--

Robe.

 

Psiquiatría: el único negocio donde el cliente nunca tiene la razón.

 

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


Re: Fixing DST manually on rel4 & rel5

2007-03-15 Thread Chuck Swiger

On Mar 14, 2007, at 10:29 PM, Ted Mittelstaedt wrote:

echo "ln -s /usr/share/zoneinfo/PST8PDT /etc/localtime"
[ ... ]

I think the ln-s line is backwards, I didn't check it.  I think it's
been a while since they used softlinks for localtime


The use of "ln -s" will work just fine as written.  I don't know why  
tzsetup makes a copy of the zoneinfo file rather than setting up a  
symlink, but making a copy simply allows the file in /etc to become  
out-of-sync if one updates the files under /usr/share{/lib}/zoneinfo  
without re-running tzsetup again.


--
-Chuck

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


Web Hosting @ StartLogic

2007-03-15 Thread Alberto Crippa
Web Hosting @ StartLogic ! 

StartLogic. Free setup and domain, Web builder, unlimited emails,
PHP, mySQL, CGI, FrontPage. From $6.50/month.

http://www.kqzyfj.com/click-2184376-10305063?sid=81d9ced2138352b76d03e1949009cf82

Click here for more info 



--


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


Re: Trying to Upgrade Version of Tar on a 5.3 System.

2007-03-15 Thread Dan Nelson
In the last episode (Mar 15), Martin McCormick said:
>   I am transfering all our working group files from a
> FreeBSD5.3 platform to a bigger, faster and FreeBSD6.2 system.
> I discovered that bsdtar on the 5.3 system doesn't appear to
> have the --newer-than feature in which you only archive files
> newer than either a given date or a reference file such as the
> last monster tar ball from, say, /usr/home.
[..]
>   Will either freetar or gtar give me the capability to
> use a reference file to only get the new files that have either
> appeared or changed since yesterday?

gtar has the --newer and  --newer-mtime options, which should suffice
for what you need.  You could also build the latest bsdtar from
http://people.freebsd.org/~kientzle/libarchive/ , but since you just
need it for this one operation, building gtar from ports is probably
easier.

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


Web Hosting @ StartLogic

2007-03-15 Thread Alberto Crippa
Web Hosting @ StartLogic ! 

StartLogic. Free setup and domain, Web builder, unlimited emails,
PHP, mySQL, CGI, FrontPage. From $6.50/month.

http://www.kqzyfj.com/click-2184376-10305063?sid=93c050fee20b0415473a78138849ce03

Click here for more info 



--


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


Trying to Upgrade Version of Tar on a 5.3 System.

2007-03-15 Thread Martin McCormick
I am transfering all our working group files from a
FreeBSD5.3 platform to a bigger, faster and FreeBSD6.2 system.
I discovered that bsdtar on the 5.3 system doesn't appear to
have the --newer-than feature in which you only archive files
newer than either a given date or a reference file such as the
last monster tar ball from, say, /usr/home.

The plan was to copy the monster tar ball over which has
happened without problems, and then do a second pass just before
we shut the older system down and pick up everybody's files
which have changed in a hopefully much smaller tar ball which
can then be overlayed to bring everything up to date as to what
it was on the old system.

The ports collection has gtar and freetar and the older
system is  using the bsdtar that unpacked from the iso image so
it would not be productive to try to install what I already have
as there is nothing wrong.

Will either freetar or gtar give me the capability to
use a reference file to only get the new files that have either
appeared or changed since yesterday?

Is there another way to use the existing tar that I
might have missed that does the same thing?

Thanks.

Martin McCormick WB5AGZ  Stillwater, OK 
Systems Engineer
OSU Information Technology Department Network Operations Group
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Build your own ISO-install-CD?

2007-03-15 Thread James Anderson

On 3/15/07, Ewald Jenisch <[EMAIL PROTECTED]> wrote:

Yes you're right - the question is about how to create a *custom*
ISO-image.


I tried to find something about this in the FreeBSD docs, but I didn't
look very hard:

http://romana.now.ie/writing/customfreebsdiso.html


From the article:


"""
I needed to install FreeBSD on a system (a Dell PowerEdge 400SC) with
an LSILogic 1030 Ultra4 SCSI adapter. At that time support for this
device was only available with an mpt driver patch that hadn't yet
made it into FreeBSD. I needed to make install media that incorporated
the mpt patch.
"""

It's for a different driver patch, not sure if it will work as I
haven't tried it myself, and again it's not the FreeBSD docs, but
hopefully it will help a bit.


cd /usr/src
# make release -DMAKE_ISOS
`release' is up to date.
#

yet, no .iso-files to find :-(

I also came across /usr/src/release/i386/mkisoimages.sh


The link I found was googled with "mkisoimages.sh" as the query
string.  Most of the results were from CVS check-ins, but if you want
to search for more documentation, searching for things that mention
that file could be a good start.


It needs the following params:
"mkisoimages.sh [-b] image-label image-name base-bits-dir [extra-bits-dir]"

Where is "base-bits-dir" supposed to be?

-ewald


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


Re: Problem with X11 and S3 Savage video card

2007-03-15 Thread Derek Ragona
If your video is AGP, it is likely an AGP issue.  AGP cards can be managed 
by the driver or by the kernel.  You need the correct AGP setting.


-Derek


At 08:36 AM 3/15/2007, Lubomir Toshev wrote:

Hello,

I am trying to run X11 on a machine with FreeBSD 6.2 and S3 Savage
video card. The installation of X11 was successful. The initial test
is ok, everything seems to function normally. The problem occures when
I try to exit the test with Ctrl-Alt-Backspace. At that moment it
looks like an attempt is made to switch the video mode and the screen
remains black. After some time the monitor goes to power down mode as
if there is no video signal.

Please, give me a link to a possible solution.

--
Best regards,
 Lubomir Toshev  mailto:[EMAIL PROTECTED]

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

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


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

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


Re: Problem with X11 and S3 Savage video card

2007-03-15 Thread Mike

Lubomir Toshev wrote:

Hello,

I am trying to run X11 on a machine with FreeBSD 6.2 and S3 Savage
video card. The installation of X11 was successful. The initial test
is ok, everything seems to function normally. The problem occures when
I try to exit the test with Ctrl-Alt-Backspace. At that moment it
looks like an attempt is made to switch the video mode and the screen
remains black. After some time the monitor goes to power down mode as
if there is no video signal.

  
By "test" do you mean you just ran the startx script without having a 
desktop environment installed?  Did an xterm  (or rather 3 xterms) pop 
up?  If so, usually closing it or typing "exit" at the prompt inside of 
it should cause the X-Server to shutdown.


As far as killing the server with the keyboard, compare the values in 
the manpage with those in your configuration file for "man xorg.conf" 
regarding these options:  DontZap, DontVTSwitch, HandleSpecialKeys, and 
XkbDisable.


It may also be that xkbmap is not loading or cannot find your keyboard 
map.  The next time you start the server, try logging all output 
somewhere and seeing if there are any errors coming up.

Please, give me a link to a possible solution.

  


http://linuxreviews.org/man/XF86Config/

http://lists.freedesktop.org/archives/xorg/2004-September/thread.html#3473
(For the above: Read the entire thread starting with Xorg 6.8.1: can't 
switch VT or resolution)

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


Re: Optimizationn questions?

2007-03-15 Thread Gary Kline
On Wed, Mar 14, 2007 at 08:19:49PM -0700, [EMAIL PROTECTED] wrote:
> On Thu, 15 Mar 2007, Danny Pansters wrote:
> 
> >On Thursday 15 March 2007 02:16, Gary Kline wrote:
> >>Two quick one for kernel and/or compiler wizards:  first, is
> >>a 400Mz processor considered a 586 (for my KERNELCONF file)?
> >
> >Think its 686 (but really, leaving 486 and 586 in isn't going to slow down
> >booting or anything!) I always say: Use GENERIC unless you have a good 
> >reason
> >not to.
> >
> >>Second, is it safe to do a buildworld with -O3?  If there are
> >
> >No. It's not supported if things break.
> >
> >>stability concerns, I'll go with the default when I rebuild my
> >>6.2 systems.
> >
> >The defaults should be fine. Also, like I said consider just using GENERIC 
> >and
> >load the odd kmod if needed. Generally it's less headache and equal
> >performance.
> >
> >>thanks in advance,
> >>
> >>gary
> >
> >Cheers,
> >
> >Dan
> 
> As Dan and Gary said -O3 isn't supported, and in many cases that "level of 
> optimization" gets filtered out while compiling sections of FreeBSD.
> 
> Besides, I've compiled stuff with -O3 and various optimizations in Gentoo 
> Linux before, and let me say that it caused a great deal of headaches... 
> that's why I stick with -O2 now, because it's better to have something in 
> executable shape and a bit slower (arguably because some optimizations slow 
> things down) than it is to have something run fast and break all the time.
> 
> Some food for thought :).


--Food for thought and a chuckle too!  (not to mention that
it's waaay early, the chickens are still snoring, and I've
only had *one* cup of joe)...   I've done some investigation
with optimizing my own code, usually < 1000 lines, and haven't
seen much gain between -O2 and -O3. Loop-unrolling may be
different; one trick that compiler hackers at supercomputer 
companies use by default in to unroll small loops.  Cray is
one example.  S, to get any real gain is going to mean
going thru the most freq used tools (*grep, find, ls) and
hand-tweak.  Might buy 5 - 7%.  

have a good one,

gary

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

-- 
  Gary Kline  [EMAIL PROTECTED]   www.thought.org  Public Service Unix

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


Re: squid

2007-03-15 Thread Jerry McAllister
On Thu, Mar 15, 2007 at 06:45:22AM +, neo neo wrote:

> hello ;
> 
> thankz for your reply .
> 
> could u please help me about that.?
> 
> How to configure to use my FreeBSD as a proxy with Squid ?

You are going to have to learn to read and use documentation.
People aren't going to be happy doing thing over that have already
been written up, just because you don't read about it.

jerry

> 
> thankz a lot
> 
> ZAW HTET AUNG
> ___
> 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: (no subject)

2007-03-15 Thread Jerry McAllister
On Thu, Mar 15, 2007 at 06:03:25AM +, neo neo wrote:

A request, first.
Please include a meaningful subject line on messages to the list.
Most people will ignore messages with no subject line as all are
quite busy enough taking care of things already.

> hello ;
> 
> i am new at FreeBSD .
> 
> Where can i get FreeBSD commands list?

There is no comprehensive list.   That is because it is not only
possible, but required and encouraged for you to add to the system
what you need or desire to run.

There are a few basic thing that exist for everyone.  
First, you should probably know ls(1) and man(1).  ls lists
files.   man is a utility to display or print the manual page
(usually shortened to just 'man' page) for something.  Note that 
the number in parens (1) or (8) or whatever, you will often see 
refers to the manual section.   Most often the one you want is
the one that comes up by default, but there are some things with
information in more than one man section.

Then there are the shell built-in commands.   See  'man builtin'
It lists the built in shell commands for the two main shell
families that are used in the system.   sh includes sh and bash.
csh includes csh and tcsh.  There are others, but less often used.
In FreeBSD the default shell is tcsh for a login and mose system
scripts use sh.

Finally, list the contents of directories  /bin  /sbin /usr/bin, /usr/sbin
and /usr/local/bin and /usr/local/sbin.Those files are almost all 
utilities that can be executed directly as a command.   

Check the man page for any that you want to learn about - type  'man yes' 
(without the quote marks) to see the brief man page for the  yes  utility, 
for example.   Man pages have a formal/stylized structure and wording.
Sometimes that can seem a little dense and you will want to look 
for additional information in a book or in a search engine on the web.

You should also check out the 'man hier' man page as it describes
the way FreeBSD file systems and directories are layed out. 


jerry

> 
> thankz .
> 
> ZAW HTET AUNG
> ___
> 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]"


Problem with X11 and S3 Savage video card

2007-03-15 Thread Lubomir Toshev
Hello,

I am trying to run X11 on a machine with FreeBSD 6.2 and S3 Savage
video card. The installation of X11 was successful. The initial test
is ok, everything seems to function normally. The problem occures when
I try to exit the test with Ctrl-Alt-Backspace. At that moment it
looks like an attempt is made to switch the video mode and the screen
remains black. After some time the monitor goes to power down mode as
if there is no video signal.

Please, give me a link to a possible solution.

-- 
Best regards,
 Lubomir Toshev  mailto:[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: sendmail not working?

2007-03-15 Thread Gerard
On Thursday March 15, 2007 at 09:15:50 (AM) Nagy László Zsolt wrote:


> And it works! But why couldn't I do this with postfix?

Because you have postfix configured wrong. I would need the output of

postconf -n

to even begin to tell what is happening.

Are you subscribed to the postfix mail forum?

http://www.postfix.com/lists.html

You can subscribe by sending an email to:

[EMAIL PROTECTED]

Place this is the body -- not the subject portion:

subscribe postfix-users

Then once you are subscribed submit your 'postconf -n' output along with
your OS version and postfix version. Include the relevant lines from the
/var/log/mail.log file as well as what your problem is.

By the way, I would still up date to the latest stable version before
posting. You have a better chance of getting a satisfactory response.

Good luck!

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


Re: sendmail not working?

2007-03-15 Thread Alex Zbyslaw

Nagy László Zsolt wrote:



I'm sorry, I did not paste all lines related to sendmail. Here are the 
options:


messias# cat /etc/rc.conf | grep sendm
sendmail_enable="NO"
sendmail_submit_enable="NO"
sendmail_outbound_enable="NO"
sendmail_msp_queue_enable="NO"
messias# cat /etc/rc.conf | grep postf


[...]


postfix-2.3.5,1 A secure alternative to widely-used Sendmail

I know it is not the newest, but should work.



Things changed in the way postfix is installed,  In particular old ports 
required sendmail_enable="YES" and some substitutions to various 
sendmail commands.


To be sure you did the right thing you would have to look at the 
pkg-message *from the version of the port that you installed*.


An old port should work, but you have to make sure that you followed the 
instructions from that port.


I can't tell whether this is the case for you or not.

Either way, it might help to get the latest version of the port (either 
cvsup/portsnap/csup, or just downloading the latest port from 
http://www.freebsd.org/cgi/ports.cgi?query=postfix&stype=name and 
download whichever version it is you have and overwrite the version in 
/usr/ports (after backing it up :-))


--Alex



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


Re: sendmail not working?

2007-03-15 Thread Nagy László Zsolt



You haven't configured it correctly.
  

I think I did.

To enable postfix startup script please add postfix_enable="YES" in
your rc.conf

If you not need Sendmail anymore, please add in your rc.conf:

sendmail_enable="NO"
sendmail_submit_enable="NO"
sendmail_outbound_enable="NO"
sendmail_msp_queue_enable="NO"
  
I'm sorry, I did not paste all lines related to sendmail. Here are the 
options:


messias# cat /etc/rc.conf | grep sendm
sendmail_enable="NO"
sendmail_submit_enable="NO"
sendmail_outbound_enable="NO"
sendmail_msp_queue_enable="NO"
messias# cat /etc/rc.conf | grep postf
postfix_enable="YES"


And you can disable some sendmail specific daily maintenance routines
in your /etc/periodic.conf file:

daily_clean_hoststat_enable="NO"
daily_status_mail_rejects_enable="NO"
daily_status_include_submit_mailq="NO"
daily_submit_queuerun="NO"
  

Okay, this was missing but I guess this did not affect local mail delivery.

You also need to modify the /etc/mail/mailer.conf file. This is done
automatically by postfix. 
Yes. When I reinstalled postfix, it asked me if I want to enable postfix 
in mailer.conf. I answered YES. Here is my mailer.conf:


messias# cat /etc/mail/mailer.conf
#
# Execute the Postfix sendmail program, named /usr/local/sbin/sendmail
#
sendmail/usr/local/sbin/sendmail
send-mail   /usr/local/sbin/sendmail
mailq   /usr/local/sbin/sendmail
newaliases  /usr/local/sbin/sendmail

If your version is not current, you might want to update it. 

messias# pkg_info | grep postfix
postfix-2.3.5,1 A secure alternative to widely-used Sendmail

I know it is not the newest, but should work. I rebooted the machine, 
but it did not help. By the way, I do NOT want postfix to listen on 
TCP/25. I have to use an ssh tunnel. But I would like to be able to 
deliver e-mail messages locally.


Here is what I did for now:

- deinstalled postfix
- changed mailer.conf back to the original version
- disabled postfix and re-enabled sendmail in rc.conf
- started sendmail with "/etc/rc.d/sendmail start"

And it works! But why couldn't I do this with postfix?

Thanks,

  Laszlo

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


Re: started getting repeated "bge0: PHY read timed out" messages

2007-03-15 Thread Chad Leigh -- Shire.Net LLC


On Mar 15, 2007, at 12:48 AM, Michael K. Smith - Adhost wrote:



Have you considered hard-setting the speed/duplex to 1000/Full instead
of 100/Full?  There may be some issues in the autonegotiation  
happening

between switch and server.  We used to see some of this early on in
inter-vendor GigE connections; perhaps the switch vendor and the  
FreeBSD

devels are reading the standards differently.


I thought of that.  However, I thought that if that were the case,  
the problem would happen at boot and not start at some random time  
after boot and work for a while first.  Is that not a valid thought?


Chad



Mike


---
Chad Leigh -- Shire.Net LLC
Your Web App and Email hosting provider
chad at shire.net



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


ipnat. Mapping only specified port

2007-03-15 Thread Алексей Б.
I use IPFilter firewall and I need to remap only packets with specified 
port in destination. Other traffic should not be remapped.


IPNAT(5) says following:

Matching of packets has now been extended to allow more complex compares. In 
place of the address which is to be translated, an IP address and port number 
comparison can be made using the same expressions available with *ipf*.

I tried the following line in ipnat.rules:

map rl0 from 192.168.0.0/24 to any port=pop3 -> 0.0.0.0/32

But it didn’t help:


isrv# ipnat -CF -f /etc/ipnat.rules

0 entries flushed from NAT table

1 entries flushed from NAT list



isrv# ipnat -l

List of active MAP/Redirect filters:

map rl0 from 192.168.0.0/24 to any -> 0.0.0.0/32



List of active sessions:

isrv#



As you can see, active filter didn’t contain port I need.



How can I specify IP address and port number to be translated in ipnat.rules?

Or can I restrict NAT for all traffic to specified network?




---
Alexey B.

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


Re: ifstated check commands behavior

2007-03-15 Thread Alexandre Biancalana

On 3/14/07, Alexandre Biancalana <[EMAIL PROTECTED]> wrote:


Hi list,

  I'm trying to setup ifstated to check two links and if some go down, do
some actions like change pf rules and machine's route.

  My doubt is about the execution order/repetition of the states body of
ifstated.conf, in all configs that I tried just the last check is executed
always, follow and example:

ifstated.conf:
==
loglevel debug

ping1 = '( "ping -q -c 1 -t 3 www.site1.com > /dev/null" every 10 ) '
ping2 = '( "ping -q -c 1 -t 3 www.site2.com > /dev/null" every 10 ) '

state one {
if ! ( $ping1 && $ping2 ) {
set-state two
}
}

state two {

init {
run "logger -p console.notice -t ifstated 'Restarting
network !'"
}

if ( $ping && $ping2 ) {
set-state one
}
}

==

# ifstated -dv
ping1 = "( "ping -q -c 1 -t 3 www.site1.com > /dev/null" every 10 ) "
ping2 = "( "ping -q -c 1 -t 3 www.site2.com > /dev/null" every 10 ) "
ifstated: initial state: one
ifstated: changing state to one
ifstated: running ping -q -c 1 -t 3 www.site1.com > /dev/null
ifstated: running ping -q -c 1 -t 3 www.site2.com > /dev/null
ifstated: started
ifstated: changing state to two
ifstated: running ping -q -c 1 -t 3 www.site1.com > /dev/null
ifstated: running ping -q -c 1 -t 3 www.site2.com > /dev/null
ifstated: running ping -q -c 1 -t 3 www.site2.com > /dev/null
ifstated: running ping -q -c 1 -t 3 www.site2.com > /dev/null


As you can see, after change state ifstated execute only the *last* check
command of the statement (ping2) forever

This is the expected behavior ?




This shouldn't execute all state body until state change  ??



Thanks for any help.

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


Re: boot2 can't boot from USB?

2007-03-15 Thread Oliver Fromme
Fluffles <[EMAIL PROTECTED]> wrote:
 > Sorry if this is offtopic. Am i right to assume that:
 > - boot0 and boot1 both read from the disk via BIOS
 > - boot2 tries to read from the disk directly, without BIOS
 > ?

No, only the kernel contains drivers that are independent
from the BIOS.  Everything else (the boot* blocks and
/boot/loader) use BIOS calls.

 > If so, i may have found some bugs / problems with boot2. Long ago i
 > tried to make a bootable USB pendrive with FreeBSD 6.1 on it. It failed
 > to boot with the message "invalid slice" and i got a prompt like:
 > 
 > FreeBSD/i386 BOOT
 > Default: 0:ad(0,a)/boot/loader
 > boot:
 > 
 > Whatever i tried, it fails to load "Loader" or the kernel. Later, i
 > tried FreeNAS which enables the user to write an image to an USB
 > pendrive which contains a bootable FreeNAS installation. The copying
 > went ok, but i got the same boot problem. I then tried it on three
 > different systems with two different USB pendrives and they all had the
 > same problem. All of the systems supported USB boot, and it does
 > actually boot from USB how else could i see that FreeBSD boot prompt?
 > Some systems are brand new: dualcore SLI motherboards, etc.
 > 
 > It appears to me the boot2 program fails to read from USB. boot0 and
 > boot1 appear not to have this problem since it uses the BIOS to read
 > from the disk. Is this correct?

No, see above, they all use the BIOS.  The difference is
that boot2 needs to understand UFS, locate the correct
slice and partition with /boot/loader in it and load it.
The earlier boot blocks are relatively dumb and only know
how to load boot2 from a fixed location on the media.

So, if boot2 doesn't work for you, it's probably unable
to locate your FreeBSD slice and/or partition.  How did
you create them?

(Another difference is that boot2 enters protected mode
in order to be able to access memory above 1 MB, while
the earlier boot blocks use pure real mode.  But that
should not be related to the problem that you see.)

 > Are USB boot problems by boot2 known, should i file a PR?

boot2 doesn't know about USB at all.  It only knows about
BIOS-accessible drives (which may include USB drives if
that's enabled in the BIOS setup).

Best regards
   Oliver

-- 
Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M.
Handelsregister: Registergericht Muenchen, HRA 74606,  Geschäftsfuehrung:
secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün-
chen, HRB 125758,  Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart

FreeBSD-Dienstleistungen, -Produkte und mehr:  http://www.secnetix.de/bsd

"With sufficient thrust, pigs fly just fine.  However, this
is not necessarily a good idea.  It is hard to be sure where
they are going to land, and it could be dangerous sitting
under them as they fly overhead." -- RFC 1925
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Don't buy AMD products (was Re: Xorg and ATI card query.)

2007-03-15 Thread Andrew Reilly
On Wed, Mar 14, 2007 at 11:55:20AM -0400, Sean Bryant wrote:
> Try the 'vesa' xorg driver. It may not be fancy or all that accelerated 
> but it works quite well. I have an nvidia card and cannot get it to work 
> for the life of me. the drive attached, but nothing happens after that. 
> It might be the fact that I have a PCI express card. But the vesa driver 
> is working just fine for me.

I have tried the vesa driver.  Indeed I re-use it sometimes when
I power-cycle the computer, because one of the quirks of the nv
driver is that it doesn't seem to be able to put the card into a
state where it actually displays a useful or stable image.  Once
the vesa driver has that sorted out, though, the nv driver seems
to work reliably for me, and seems to be slightly faster, thanks
(I think) to some 2D acceleration.

Other things the nv driver won't do for me: power control of
the monitor from screen-saver, and ability to drive my display
at its rated 1600x1200 resolution (logs claim that it's
restricted to 1280x1024 by BIOS, whatever that means...)
I don't think that the vesa driver can do either of those
either, though.

Cheers,

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


Re: FreeBSD 2.2.9 / Installation problem

2007-03-15 Thread Christian Walther

On 15/03/07, Nino Ivanov <[EMAIL PROTECTED]> wrote:

Dear Sir or Madam,


[...]


The target machine is a HP Omnibook 600c laptop with 8MB RAM, a 486 DX4
processor, 300 MB disk space. No CD drive. No network available. External
floppy drive without DMA. (I tried NetBSD, but because of the lack of DMA it
did not work properly.) The functioning of the floppy drive is critical,
being the machine's only practical means of communicating with the outer
world. Due to cost and time considerations, no upgrades are possible. If the
target machine is not suitable for an installation of FreeBSD, please let me
know so I stop further attempts.


I guess you're without luck in this case. AFAIK FreeBSD needs at least
64 MB RAM to work happily. I tried installing it on an P1/133MHz
Laptop with 16MB RAM, and it freezes after a few minutes. And it's
dead slow.
So I tried NetBSD which worked better on my machine. Maybe there is a
switch or configuration setting to turn off DMA for the Floppy Drive?

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


Re: Periodic xl watchdog timeouts on 6.2-RELEASE

2007-03-15 Thread Brian J. Conway
On Mon, 12 Mar 2007 22:22:44 -0800
"Ted Mittelstaedt" <[EMAIL PROTECTED]> wrote:

> I have found with some of the intel MBs that the latest BIOS update
> actually causes trouble.  Don't be afraid to try back-flashing to an
> older BIOS update.  Intel has all the BIOS versions up on their site for
> each board.
> 
> Ted

Tried a few things in the past couple days:

- Set the interfaces to not auto-negotiate and hard-coded them: No change.
- Tried the past 3 BIOS revisions I had been using previously: No change.

Next up, started swapping around cards.  I noticed that one of my 3 3c905C
cards hadn't been giving the watchdog timeout errors that I could
remember, even though I'm doubting 2/3 of my previously-good cards are
actually bad, but I kept that one at xl1 and tried a good 3c905B as xl0. 
This worked a little differently, now instead of watchdog timeouts, on the
previously-normal xl1 I get:

Mar 15 05:56:51 imogen kernel: xl1: transmission error: 90
Mar 15 05:56:51 imogen kernel: xl1: tx underrun, increasing tx start
threshold to 120 bytes

I know it's *technically* an informational message and not a problem, I'm
a perfectionist and would prefer it not to be there.  Perhaps I need to
start from stratch with some em* cards, they've been working well for me
everywhere else.

(Original discussion:
http://lists.freebsd.org/pipermail/freebsd-questions/2007-March/144227.html)

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


Re: Sendmail on a new Freebsd6.2 Won't Send or Receive. Solved!

2007-03-15 Thread Martin McCormick
"Ted Mittelstaedt" writes:
> sendmail_enable="YES" in /etc/rc.conf?

Many thanks.  That's exactly what I had, but after
looking at it again, I also had something much worse in the
startup line.  This new system is a replacement for the one I am
on now and the name is similar.  The rc.conf.local file was
copied from the old system and this part looks like:

sendmail_enable="YES"   # Run the sendmail inbound daemon (YES/NO/NONE).
#   # If NONE, don't start any sendmail processes.
sendmail_flags="-L sm-mta -bd -q15m -C/etc/mail/dc.cis.okstate.edu.cf" # Flags 
to sendmail (as a server)

That was the problem.  The file name referenced there
doesn't exist on the new system.  When I used the right
configuration file name, all is well.

Again, thanks for your help because it made me look
everything over once again and find the problem.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


boot2 can't boot from USB?

2007-03-15 Thread Fluffles
Dag-Erling Smørgrav wrote:
> Barry Pederson <[EMAIL PROTECTED]> writes:
>   
>> Is there any hope for someday optionally using ZFS as a root filesystem?
>> 
>
> For that to be possible, both /boot/boot2 and /boot/loader need to
> understand ZFS well enough to read files from it.  There isn't much
> room to spare in /boot/boot2, so we'd have to have a separate version
> for ZFS and teach 'disklabel -B' how to pick the right one.
>   

Sorry if this is offtopic. Am i right to assume that:
- boot0 and boot1 both read from the disk via BIOS
- boot2 tries to read from the disk directly, without BIOS
?

If so, i may have found some bugs / problems with boot2. Long ago i
tried to make a bootable USB pendrive with FreeBSD 6.1 on it. It failed
to boot with the message "invalid slice" and i got a prompt like:

FreeBSD/i386 BOOT
Default: 0:ad(0,a)/boot/loader
boot:

Whatever i tried, it fails to load "Loader" or the kernel. Later, i
tried FreeNAS which enables the user to write an image to an USB
pendrive which contains a bootable FreeNAS installation. The copying
went ok, but i got the same boot problem. I then tried it on three
different systems with two different USB pendrives and they all had the
same problem. All of the systems supported USB boot, and it does
actually boot from USB how else could i see that FreeBSD boot prompt?
Some systems are brand new: dualcore SLI motherboards, etc.

It appears to me the boot2 program fails to read from USB. boot0 and
boot1 appear not to have this problem since it uses the BIOS to read
from the disk. Is this correct?
Are USB boot problems by boot2 known, should i file a PR?

Thanks,

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


WG: FreeBSD 2.2.9 / Installation problem

2007-03-15 Thread Nino Ivanov
Dear Sir or Madam,

 

I tried again installing FreeBSD 4.11, but the problem is that when I put
back the harddisk into the Omnibook and boot it, the system does not
recognize from where to mount root (sorry for the misinformation in my mail
below – it appears not to be a RAM issue!). It starts probing devices, until
it finally gives up and asks me to input it manually. I managed finally
installing FreeBSD 2.2.9, by using the bootfloppies from 4.11. Same problem:
When booting it does not recognize from where to mount root. I would be
grateful if you could help me.

 

Kind regards,

 

Nino Ivanov

 

  _  

Von: Nino Ivanov [mailto:[EMAIL PROTECTED] 
Gesendet: Donnerstag, 15. März 2007 09:59
An: 'freebsd-questions@FreeBSD.org'
Betreff: FreeBSD 2.2.9 / Installation problem

 

Dear Sir or Madam,

 

First of all, I would like to thank all involved in this project for the
work they do, and wish them all the best for its continuation.

 

I would like to use FreeBSD on a certain machine, but unfortunately I have a
problem with the installation. I would like to mention that I have a
non-technical background, which might be relevant regarding any information
I supply, and also the way you address my problem. I am writing you with
regard to the following issue, and would appreciate your help greatly:

 

1. Ultimate Goal.

 

I am a law student, and in my field we are working a lot with
.pdf-documents. To my surprise, the Midnight Commander is able to display
them, at least in FreeBSD 6.1 which I use normally. (I have read somewhere
there is no text-mode .pdf-viewer; fortunately, this appears to be
incorrect.) I decided to put FreeBSD in text mode on my old laptop, so I can
view .pdf-documents on it while working on another machine.

 

2. The Means.

 

The target machine is a HP Omnibook 600c laptop with 8MB RAM, a 486 DX4
processor, 300 MB disk space. No CD drive. No network available. External
floppy drive without DMA. (I tried NetBSD, but because of the lack of DMA it
did not work properly.) The functioning of the floppy drive is critical,
being the machine’s only practical means of communicating with the outer
world. Due to cost and time considerations, no upgrades are possible. If the
target machine is not suitable for an installation of FreeBSD, please let me
know so I stop further attempts.

 

Fortunately, the harddrive can be put into my main machine, a Compaq Armada
Laptop whose type I unfortunately don’t know. Specifications of the Compaq
machine: 192 MB RAM, Internet access available, 300MHz PII CPU, CD drive and
floppy drive available. The CD drive cannot boot from CDs, so I am using the
boot floppies to initialize installation. The HP Omnibook harddrive fits in
by placing it into the PCMCIA slot, as the HP Omnibook drive physically has
PCMCIA connections.

 

3. The Problem.

 

I chose Novice Installation. The next screen informed me of what is to
happen now. The screen following it said:

 

No disk found! Please verify that your disk controller is being

properly probed at boot time.  See the Hardware Guide on the

Documentation menu for clues on diagnosing this type of problem. 

 

4. Analysis.

 

Frankly, I have no idea what to do. I have tried to install FreeBSD 4.11
using the same method. It was successful, however, I could not run it on the
HP Omnibook machine, as it appears it had not sufficient RAM: The booting
process of FreeBSD 4.11 initiated, but after a while started to preduce
errors until it broke off.

 

I must say, I have read the documentation, searched many times the Internet
etc., but not found anything regarding the issue. Maybe I have overlooked a
solution because of my non-technical background.

 

5. Desired solution.

 

All I want is a FreeBSD system with the Midnight Commander that shall
display my .pdf-files on my HP Omnibook 600c. I have no pretentions as to
which version, so long as it fits the purpose. So, I would be grateful if
you could advise me as to how to correct my installation problem of FreeBSD
2.2.9; however, if another solution looks better to you, please do not
hesitate to mention it.

 

I thank you in advance for your help.

 

Yours faithfully,

 

Nino Ivanov

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


Re: binary patches?

2007-03-15 Thread Gabor Kovesdan

Gary Kline schrieb:

On Wed, Mar 14, 2007 at 05:07:43PM +0100, Gabor Kovesdan wrote:
  

Gary Kline schrieb:


Regarding most (or many) of the port changes--say, upgrading
foo-2.1.9_5 to foo-2.1.9_6, if  the upgrade could be done by
downloading a binary diff file, could the resulting
	/usr/local/bin/foo-2.1.9_6 be achieved by downloading a 
	relatively small binary patch?  Seems to me that smaller scale

upgrades could be done this way in preference to re-compiling
ports or downloading entire pacakes.  --Same would go for any
dependencies.

Why is this a bad idea!

gary
 
  
The final form of actual binaries depend on a lot of things, e.g. which 
version of dependency you compiled with, which CFLAGS you have used, 
what options the port you built it. Some of these applies to packages as 
well, that's why I prefer ports over packages at all. E.g. let's see 
lang/php5. It does not have the apache module enabled by default. If it 
were, then the problem comes up with Apache versions. IIRC, 2.2 is the 
default now, but what if you use 2.0? How would you install php for your 
apache version from package? The situtation has been already pretty 
complicated with packages if you have higher needs for fine tuning, but 
you can use them if you don't have special needs. Binary diffs would be 
so complicated that I think this way we could really not follow.


If you need simplicity at all, use portupgrade with packages. It has an 
option (don't remember which one) you can use to make it fetch packages 
instead of building from source. Nowadays, this network traffic should 
not be a real problem, I think.





You've brought up a lot of things I didn't consider; this was
part of the reason for my post.  It seems to me that there would
need to be some simple ground rules from the binary patches I'm
	got in mind.  The *default* CFLAGS in the port would match those 
	in the patch is one place to start. 


Obviously, this could get way out of hand very quickly.  Two of
my slowest servers (one 400MHz, 192M RAM) were rebuilding parts
of the KDE suite; the new kdelib-3.5.6 [??] just finished and I
	already scp'd it over to my more beefy platform.  Once I've got 
	all my servers up to date, it may not be that hard to keep them

current.  You're right that bandwidth isn't a problem--um, in
most places {{ clearing my throat! }}.  Bandwidth isn't the main
	issue.  It's time.  

  


As you said, bandwith is not an issue, but time is, what I understand, 
of course. What I wanted to point out was exactly the same. For time 
concerns, you can use portupgrade with packages (somebody already 
mentioned with which option you can do this) and it will fetch the 
appropriate new packages for you. Binary patches would not make this 
process much faster if bandwith is not a concern.


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


Re: Build your own ISO-install-CD?

2007-03-15 Thread Ewald Jenisch
On Thu, Mar 15, 2007 at 10:27:02AM +0100, cpghost wrote:
> 
> He meant the command to create the iso image. Something like
> 'make release' or so...
> 

Hi,

Yes you're right - the question is about how to create a *custom*
ISO-image. I've already tried the following:

cd /usr/src
# make release -DMAKE_ISOS
`release' is up to date.
#

yet, no .iso-files to find :-(

I also came across /usr/src/release/i386/mkisoimages.sh
It needs the following params: 
"mkisoimages.sh [-b] image-label image-name base-bits-dir [extra-bits-dir]"

Where is "base-bits-dir" supposed to be?

-ewald



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


Re: CPUTYPE for VIA EPIA M-Series Mini-ITX

2007-03-15 Thread Abdullah Ibn Hamad Al-Marri

On 3/15/07, cpghost <[EMAIL PROTECTED]> wrote:

On Wed, Mar 14, 2007 at 08:44:21PM -0500, Jeffrey Goldberg wrote:
> I have one of these
>
> CPU: VIA C3 Nehemiah (999.52-MHz 686-class CPU)
>   Origin = "CentaurHauls"  Id = 0x691  Stepping = 1
>   Features=0x380b035
>
> http://www.via.com.tw/en/products/mainboards/motherboards.jsp?
> motherboard_id=81
>
> And 6.2-RELEASE p2
>
> When I set CPUTYPE=c3 in /etc/make.conf the world seemed to build
> just fine, but (at least) gcc ended up broken.  Most compiling
> attempts after that ended up with gcc reporting an internal error.
>
> Now that I've entered the FreeBSD world and am building everything
> from source, I would like to take advantage of that by compiling for
> my system.
>
> Does anyone have a similar system?  And what CPUTYPE or local tuning
> do you recommend?

I have

CPU: VIA C3 Samuel 2 (533.36-MHz 686-class CPU)
  Origin = "CentaurHauls"  Id = 0x673  Stepping = 3
  Features=0x803035
real memory  = 528416768 (503 MB)

running FreeBSD 6.2 without problems. The key here is NOT to set
CPUTYPE in /etc/make.conf. Just use the defaults and you're fine.

> A dmesg for the system is available at
>
>   http://ntp0.goldmark.org/temp/dmesg
>
> Cheers,
>
> -j
>
>
> --
> Jeffrey Goldberghttp://www.goldmark.org/jeff/

Regards,
-cpghost.

--
Cordula's Web. http://www.cordula.ws/


As cpghost said, there is no big difference when you make an
optimization for the time being.

You can also check http://gentoo-wiki.com/Safe_Cflags and see what
cflag you can use with it.


--
Regards,

-Abdullah Ibn Hamad Al-Marri
Arab Portal
http://www.WeArab.Net/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Server hanged on VFS lock problem

2007-03-15 Thread Andrea Venturoli

Hello.
Yesterday a 6.2/amd64 SMP server of mine entered DDB after a problem 
with locks. Since I was not there, I instructed one user to type "panic" 
and I got a dump.

Here's what I get:


x# kgdb kernel.debug /var/crash/vmcore.0
[GDB will not be able to debug user-mode threads: /usr/lib/libthread_db.so: Undefined 
symbol "ps_pglobal_lookup"]
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "amd64-marcel-freebsd".

Unread portion of the kernel message buffer:
KDB: stack backtrace:
vfs_badlock() at vfs_badlock+0x95
assert_vop_elocked() at assert_vop_elocked+0x7d
VOP_WRITE_APV() at VOP_WRITE_APV+0xee
vn_write() at vn_write+0x1ec
dofilewrite() at dofilewrite+0x87
kern_writev() at kern_writev+0x51
write() at write+0x4a
syscall() at syscall+0x4d1
Xfast_syscall() at Xfast_syscall+0xa8
--- syscall (4, FreeBSD ELF64, write), rip = 0x8017ecbac, rsp = 0x7fffb568, 
rbp = 0x8054079c0 ---
VOP_WRITE: 0xff00097f1ca8 is not exclusive locked but should be
KDB: enter: lock violation
Locked vnodes

0xff00097f1ca8: tag ufs, type VREG
usecount 5, writecount 2, refcount 560 mountedhere 0
flags ()
v_object 0xff0002f65000 ref 3 pages 2216
 lock type ufs: SHARED (count 1)#0 0x80238786 at lockmgr+0x5f6
#1 0x8033d558 at ffs_lock+0x58
#2 0x803b4df1 at VOP_LOCK_APV+0x81
#3 0x802b80cb at vn_lock+0x6b
#4 0x802b92c6 at vn_write+0x156
#5 0x80271b37 at dofilewrite+0x87
#6 0x80271e01 at kern_writev+0x51
#7 0x80271efa at write+0x4a
#8 0x803854a1 at syscall+0x4d1
#9 0x80370b78 at Xfast_syscall+0xa8

ino 1078094, on dev mirror/gm0s1e
panic: from debugger
cpuid = 0
Uptime: 13d23h8m15s
Dumping 1023 MB (2 chunks)
  chunk 0: 1MB (151 pages) ... ok
  chunk 1: 1023MB (261744 pages) 1007 991 975 959 943 927 911 895 879 863 847 
831 815 799 783 767 751 735 719 703 687 671 655 639 623 607 591 575 559 543 527 
511 495 479 463 447 431 415 399 383 367 351 335 319 303 287 271 255 239 223 207 
191 175 159 143 127 111 95 79 63 47 31 15

#0  doadump () at pcpu.h:172
172 __asm __volatile("movq %%gs:0,%0" : "=r" (td));
(kgdb)  



Any hint?
Is there a way I can get these dumps automatically, without entering 
DDB, since this is an unattended server?

I have this options in my kernel configuration:

options KDB
options DDB
options KDB_UNATTENDED
options INVARIANTS
options INVARIANT_SUPPORT
options WITNESS
options DEBUG_LOCKS
options DEBUG_VFS_LOCKS
options DIAGNOSTIC

 bye & Thanks
av.

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


  1   2   >