Re: formatting tools for Docbook

2006-06-16 Thread Bob Johnson

On 6/15/06, Chuck Robey [EMAIL PROTECTED] wrote:

Greg Barniskis wrote:

 Chuck Robey wrote:

docs, because then no one else would be able to use my documents.  Am I
wrong in considering the FDP generated documentation as being in that
category, not terribly uselful outside the FreeBSD project.


I believe you are wrong, or I misunderstand the question.

I haven't used XML DocBook, but I've used DocBook with DSSSL.  I
assume what you are really asking is not whether the FreeBSD
extensions to the DocBook markup language are a problem (they aren't),
but whether the stylesheets used by FreeBSD are compatible with those
on other systems.  They are (or they claim to be, as I said I haven't
actually used the XML/XSL tools yet).

To clarify: the real issue for me, and probably what you are really
referring to, is that the output format is not defined by the DocBook
markup, but by the stylesheets (or equivalent) in the tool set used to
produce the output.  That's both the advantage and disadvantage of
Docbook (and SGML in general).  If you want strict control of the
output format, then you run into the problem of a standard stylesheet
format so you can also distribute your stylesheets along with your
marked up documents.  DSSSL stylesheets are an incredible pain to
modify, and I sympathize with your desire to avoid them.  XSL
stylesheets are becoming a widely accepted standard, so that's the way
to go, and since they are pretty much a standard, the details of what
tools you use to do your document rendering shouldn't matter.

If you need to modify the standard XSL stylesheets to meet your
needs, just distribute the modified stylesheets along with your marked
up documents and that should allow the person at the other end to
duplicate your output.  The FreeBSD XML DocBook tool set claims to use
XSL stylesheets, so as I said, the answer to your question should be
no, the tools are not FreeBSD specific.

Is that explanation helping at all, or am I way off track?  And have I
said anything that is just flat wrong?

You may also want to look at
http://wiki.docbook.org/topic/DocBookXslStylesheets if you haven't
already.

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


Re: ripping enhanced audio CDs

2006-06-16 Thread Mikhail Goriachev
Mac Newbold wrote:
 Today at 2:55pm, Mikhail Goriachev said:
 
 Jun 14 11:27:21 mybox kernel: acd0: FAILURE - READ_CD HARDWARE ERROR
 asc=0x08 ascq=0x01 error=0
 Jun 14 11:27:21 mybox kernel: acd0: FAILURE - READ_CD ILLEGAL REQUEST
 asc=0x64 ascq=0x00 error=0
 Jun 14 11:27:22 mybox last message repeated 11 times
 
 This is an anti-piracy feature included on some discs. Nowadays there
 are more and more protected discs around. Some of them even crash
 computers when loading. How silly is that? Programs like CloneCD can
 handle such things on Windows boxes. That is what I use after having
 long frustrated sessions with open-source tools.
 
 I am pretty sure this isn't an anti-piracy feature. It happens to me
 with _any_ enhanced CD (audio+data mixed CD), and _only_ on enhanced
 CDs. Never has it happened to me on any non-enhanced audio CD. My
 problem is not with the inability to get the data off, that doesn't seem
 to be a real issue. The problem is with the crashing of the computer.
 
 Why should _any_ data read from a removable disk of any kind be causing
 FreeBSD to crash by the mere act of attempting to read it from the disk?
 The device is reporting a failure, but why isn't the OS handling that
 failure gracefully?
 
 If I'm asking the wrong list, and should be asking [EMAIL PROTECTED]
 or some list related to multimedia, please let me know.


The following contains a very short and good explanation on audio disc
protections:

http://en.wikipedia.org/wiki/Copy_protection#Copy_protection_for_audio_CDs

Also, I did not specifically mention FreeBSD or any other OSes. I just
merely said some of them (discs) even crash computers. Not only
FreeBSDs are out there.

For example, my Mac won't accept Linkin Park's Meteora, Jack Johnson's
On and On or Missy Elliot's This is not a Test. They get spat out right
away. I tried to extract tracks off those discs on FreeBSD but I get the
very same errors you get.

My car's player goes nuts trying to play Korn's Greatest Hits Vol.1 last
track. Years ago, every time I wanted to put something onto my MD player
I had to duplicate the disc on Windows first and then put it through
Sony's patented/protected/secure software. Otherwise it would just
freeze on last tracks (note: some enhanced discs, not all of them).

Also, as Fabian said, by copying you even get better discs. I agree. I
duplicate all problematic discs so my Mac will accept them as well as my
car's player.

In short, everything depends on your hardware, software and media you're
trying to copy. The protection mainly is based on errors and faults on a
disc that try to confuse your CD drive and not your CD player. This is
where software comes into play and saves the day. Your results may vary.


Cheers,
Mikhail.

-- 
Mikhail Goriachev
Webanoide

Telephone: +61 (0)3 62252501
Mobile Phone: +61 (0)4 38255158
E-Mail: [EMAIL PROTECTED]
Web: http://www.webanoide.org

PGP Key ID: 0x4E148A3B
PGP Key Fingerprint: D96B 7C14 79A5 8824 B99D 9562 F50E 2F5D 4E14 8A3B
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD 6.1 Installation Prob

2006-06-16 Thread John S

Hi,

   Thanks for all your comments everyone.

   The FreeBSD version 6.1 was downloaded (ISO image) from the production
release page (some mirror site).

My PC is a Pentium 4 (915G) , 512MB sdram, 128MB video memory, Maxtor SATA
HDD, OS -  (Windows (C:), Linux (/,swap), BSD(/,swap,tmp,var,usr). The FS
selected was UFS2.

   Also the packages selected were X packages + all the normal stuff

   Next comes the screen, where it asks do I want to commit the partitions.
I hit yes and it aborts.

/Arun




On 6/15/06, Eric Anderson [EMAIL PROTECTED] wrote:


John S wrote:
 Hi,

I am trying to install FreeBSD on my machine which already has
Windows
 XP, SUSE Linux 10.1.

 After partitioning and selecting the installation packages; as soon as i
 hit
 the button to start install; it says /dev/X not found and aborted the
 install. I am trying to install from CD. What is the problem?

   BTW this is the first time I am trying to install FreeeBSD or for that
 matter any flavour of BSD. But I am ok with Linux installtions.

Can you report the actual /dev/* it warns about?  What kind of system is
it?  Also - you might try a FreeBSD 6.1-RELEASE CD instead of -CURRENT,
as -CURRENT is considered 'beta', and any -RELEASE should be stable.

Eric



--

Eric AndersonSr. Systems AdministratorCentaur Technology
Anything that works is better than anything that doesn't.



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


Re: php_XML_ParserCreate error

2006-06-16 Thread David Landgren

Mike Sacauskis wrote:

Hi

I'm trying to install mambo on a 5.4 release.  I'm running into a 
problem with the mambo editor.  I've traced it to an error in the apache 
log:



/libexec/ld-elf.so.1: /usr/local/lib/php/20020429/xml.so: Undefined 
symbol php_XML_ParserCreate


Hello Mike,

I have just run into this same problem. Did you ever get the problem 
resolved to your satisfaction? I've just rebuilt php using a more recent 
version (4.4.0), and I'm getting the same error, and I can't see what's 
missing either.


Best,
David

I did an nm on the xml.so library and the symblols for 
php_XML_ParserCreate are undefined.


6940 t parserInit
U php_XML_ErrorString
U php_XML_ExpatVersion
U php_XML_GetCurrentByteIndex
U php_XML_GetCurrentColumnNumber
U php_XML_GetCurrentLineNumber
U php_XML_GetErrorCode
U php_XML_Parse
U php_XML_ParserCreate
U php_XML_ParserCreateNS
U php_XML_ParserFree
U php_XML_SetCharacterDataHandler
U php_XML_SetDefaultHandler
U php_XML_SetElementHandler
U php_XML_SetEndNamespaceDeclHandler
U php_XML_SetExternalEntityRefHandler
U php_XML_SetNotationDeclHandler
U php_XML_SetProcessingInstructionHandler
U php_XML_SetStartNamespaceDeclHandler
U php_XML_SetUnparsedEntityDeclHandler
U php_XML_SetUserData
U php_error_docref0

There are macros in /usr/ports/lang/php4/work/php-4.4.1/main that map 
the php_XML routines to XML_ routines.  Is this how these symbols are 
supposed to be resolved?  If so is there something that needs to be 
configured to allow this?


These are the ports I have installed:

apache-1.3.34_3 The extremely popular Apache http server. Very fast, 
very

php4-4.4.1_3PHP Scripting Language (Apache Module and CLI)
php4-gd-4.4.1_3 The gd shared extension for php
php4-mysql-4.4.1_3  The mysql shared extension for php
php4-pcre-4.4.1_3   The pcre shared extension for php
php4-session-4.4.1_3 The session shared extension for php
php4-xml-4.4.1_3The xml shared extension for php
php4-zlib-4.4.1_3   The zlib shared extension for php

Any help would be greatly appreciated.

Mike Sacauskis


--
Much of the propaganda that passes for news in our own society is given 
to immobilising and pacifying people and diverting them from the idea 
that they can confront power. -- John Pilger


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


Re: php_XML_ParserCreate error

2006-06-16 Thread David Landgren

David Landgren wrote:

Mike Sacauskis wrote:

Hi

I'm trying to install mambo on a 5.4 release.  I'm running into a 
problem with the mambo editor.  I've traced it to an error in the 
apache log:



/libexec/ld-elf.so.1: /usr/local/lib/php/20020429/xml.so: Undefined 
symbol php_XML_ParserCreate


Hello Mike,

I have just run into this same problem. Did you ever get the problem 
resolved to your satisfaction? I've just rebuilt php using a more recent 
version (4.4.0), and I'm getting the same error, and I can't see what's 
missing either.


That should read 4.4.2 (upgrading from 4.4.0)

David

--
Much of the propaganda that passes for news in our own society is given 
to immobilising and pacifying people and diverting them from the idea 
that they can confront power. -- John Pilger


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


GUIDE step-by-step - FreeBSD-RELENG-upgrade + BUILDWORLD process, using CVSUP

2006-06-16 Thread Hanno Krusken

Hi all,
specially for the novice of you, please read carefully
!!

OK, this is a the step-by-step GUIDE to do a
FreeBSD-RELENG-upgrade + BUILDWORLD process, using
CVSUP

I have seen a lot of buildworld questions, and even
more tips, on this news-group and now, finally I
provide my GUIDE for all FreeBSD-RELENG-X.xx,
builds, patches, ports-upgrades, in hope it will be
help full for any one who still has problems building
the system.. to make a BUILDWORLD as fast,
safe and easy as possible using the CVSUP way !
You will find your answer to most of your questions
below.
NOTE !!!
I only pull together and compress all the tips and
information's out of news-groups, BSD-handbook,
O'Reilly's publications and most my own try-and-error
experiences. Even if it seams not quite perfect for
some BSD-Gurus, but it happily dose the job for me,
highly customised kernel and 520-installed-ports in
one go, with out trouble.

I used this steps for years now on all
FreeBSD-releng-4.8, 4.9, 4.10, 4.11, 5.4, 5.5, 6.0 and
on all patch levels.
(well 4.x wont's it the old way, but 5.x and 6.x
sweeps flawless ahead)
Recently upgraded my Laptop from FreeBSD-5.4-p15 to
FreeBSD-5.5-p1 and a FreeBSD-6.0 with out any
problems,
it will work for FreeBSD-6.1 and above as
well promised ;o)

Usually CVSUP the source, fetch the distfiles and
e-mails in a pub with WiFi WLan down the road on my
Laptop, have a beer or two, compile, build, install
the rest on the way home and over night if needed.
No joke, I have no DSL, ISDN or phone at home but it
works sweet for me,
beer taste better than a phone bill ;o) and keeps my
system up-to-date as well.

Now to make it even more convenience to fetch it all,
using fastest_cvsup for the source is a treat, but
to keep it simple in this guide I'll only describe
the basic way. (at the end of this mail you'll find a
small script to CVSUP with fatetest_cvsup) any way
;o)

Over all, a buildworld or upgrade with this guide
will only work if your config files are OK before you
carry on to follow this guide: !!
Make sure the following files are looked over and work
sweet 
you'll run in to a lot of error messages, if not
crafted carefully to suit your machine!!
you have to tweak this files first, to match your
system, before you even can think about calling a
buildworld-step out of this guide !!!
build a customs kernel first and you get in to it.
If your machine boots up with your own kernel, give it
a go

/etc/make.conf
/usr/src/sys/i386/conf/YOUR-KERNEL-FILE
/etc/standard-supfile
/etc/ports-supfile

### STEP-BY-STEP the stupid way, but easy as that
1+2=3a or 1+2=3b  ;o)
###
### 1.) FETCHING SRC-SOURCE BY CVSUP, CLEANING SYSTEM
AND RUNNING BUILDWORLD !!
### 2.) BOOT UP IN SINGLE MODE, MERGEMASTER AND
INSTALLWORLD !!
### 3-a.) use for: RELEASE-PATCH-UPGRADE +
DAILY-PORTS-UPGRADE AND FINISH !!
### 3-b.) or use for: FULL-RELEASE-UPGRADE +
FULL-PORTS-UPGRADE AND FINISH !!
###
### BUILDWORLD PROCESS WITH CVSUP:
### guide for system upgrade:
### all action as root or su to root   ;o)
###--
### 1.) FETCHING SRC SOURCE BY CVSUP, CLEANING SYSTEM
AND RUNNING BUILDWORLD:

# cvsup -g -L 2 /etc/standard-supfile   ### (you need
to be online for this one to fetch the source)

# cd /usr/obj

# chflags -R noschg *

# rm -rf *

# cd /usr/src

# make clean

# make -j4 buildworld

# make buildkernel KERNCONF=YOUR-KERNEL-FILE

# make installkernel KERNCONF=YOUR-KERNEL-FILE

# reboot

###--
### 2.) BOOT UP IN SINGLE MODE, MERGEMASTER AND
INSTALLWORLD !!!

# hit the space-key if boot up delay counter starts
!!

# boot -s

# mount -a

# cd /usr/src

# mergemaster -p### pre-buildworld mode, only
essential files !

# make installworld

# cp -Rp /etc /etc.old

# mergemaster -cv   ### do all changes as needed, take
your time and think, redo every step if unsure !!! ...
or you can hack the files by hand 

# reboot

###---
### 3-a.) use FOR RELEASE-PATCH-UPGRADE,
DAILY-PORTS-UPGRADE AND FINISH !!
### BOOT UP IN NORMAL MODE, PORTS UPGRADE AND FINISH
!!!

### open a xterm if running in X11

# su

# Password:

# uname -a

# cd /usr/src

# make clean

# cvsup -g -L 2 /etc/ports-supfile   ### (you need to
be online for this one to fetch the ports
collection)

# cd /usr/ports

# make fetchindex   ### (or make index but takes
time)

# portupgrade -rRaF   ### (you need to be online for
this one to fetch the distfiles SKIP THIS STEP IF
PERMANENT ONLINE)

# portupgrade -rRa ### (you can go offline for
this one now)

### RESTART X11 and/or boot !!! FINISHED :o)

###---
### 3-b.) FOR FULL-RELEASE-UPGRADE, AND
FULL-PORTS-UPGRADE AND FINISH !!!
### (AFTER RELEASE UPGRADE) - after FreeBSD upgrade
from 5.4 to 5.x, 6.x or newer !!

# cvsup -g -L 2 /etc/ports-supfile   ### (you need to
be online for this one to fetch the ports
collection)

# cd /usr/ports

# make fetchindex   ### (or make index but takes
time)


FFS data integrity

2006-06-16 Thread Pablo Marín Ramón
Here goes a newbie question about classical FFS (without
softupdates).

As metadata is updated synchronously, can an i-node, at some
point, end pointing to not written yet data blocks? Is this a
security risk, i.e., can those pointed to data blocks pertain to
another user's deleted on memory but not deleted on disk data, or
that deleted data will be marked in metadata as not initialized
and after a crash fsck will fix all i-nodes pointing to it?

AFAIK, softupdates and ext3 in the default mode (data=ordered)
don't have this problem, but journalling filesystems that journal
only metadata do. Is this correct?

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


FreeBSD 6.1 + Intel D101GGC Motherboard

2006-06-16 Thread Muthu_T
I am unable to get the sound card working with the Intel D101GGC mother
board.
One more issue is the X runs fine with vesa driver, but the screen
becomes white if I use 'ati' driver.
 
Any idea?
 
Thanks.
--T. Muthu Mohan
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: formatting tools for Docbook

2006-06-16 Thread Chuck Swiger

Chuck Robey wrote:
[ ... ]
You know, I don't want to argue about thread hijacking, I only want my 
question answered, so i will try again.  Has anyone out there used a 
tool from the ports set, to be able  to do general purpose creation and 
formatting of XML Docbook documents?


Yes.  It's usually easier to start with the Docbook templates provided by 
FreeBSD for, say, an article, but it's entirely possible to go your own way, 
and write new documents in pure XML rather than SGML, for example.


Or work with 4.x XML Docbook documents published on the Linux side rather than 
SGML from the BSD side.


Specifically, this is not intended to reference the FDP tools.  It might 
be possible that the FDP tools supply a 100% 4.5 Docbook XML 
compatiblity, and if those tools occur in the FreeBSD ports (I think 
they do) theIN could care about it here, but I don't want o referenc 
ethe FDP tools at all, otherwise.  I don't have any specific intention 
to use the FDP toolset.


Well, I've got news for you: the FDP toolset is the toolset one would use for 
working on both XML and SGML Docbook documents.


If you don't want to follow the fine directions in the FDP guidelines, and 
install jade by hand or use something besides tidy to do HTML cleanup, or you 
don't want to install a PDF output tool because you aren't generating PDFs as 
an output format, OK, fine, that's your concern.


Outside of 100% tested compatiblity that you yourself have used in 
creating and reading non-FreeBSD documents, I really would appreciate 
not hearing about the FDP tools.


OK.  Well, the FDP worked with:

http://www.pkix.net/~chuck/doc/sco-vs-ibm.xml

...which is a Docbook 4.1.2 XML document, for example.

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


additions in adzap

2006-06-16 Thread dharam paul
Hi,
Where is the location of 'squid_redirect' for adzap in
freebsd?
On Windows I can locate it. 

Regards



__
Yahoo! India Answers: Share what you know. Learn something new
http://in.answers.yahoo.com/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


pop mail password error

2006-06-16 Thread Scott Kaplan
After a hacker got on my server I can't gather mail by pop I get a password 
error even though I log on as root and use passwd to change passwords I 
subscribed to freebsd hackers mailing list but when I try to log on I get 
roster authentication error The hacker also sent out 250,000 emails each 
with attached viruses to invalid recipients causing them all to be returned 
to the server as failed mail
Let me know if you can help Sorry to be of any trouble I'm unable to get 
help elsewhere cause I'm blacklisted on mirc by the same criminal group who 
did this to my server The authorities not interested in helping me so far 
Let me know if you can help me repair my server and gather my mail or how to 
use the mailing list Thank You, Scott Kaplan


_
Express yourself instantly with MSN Messenger! Download today - it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/


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


Re: storcon for FreeBSD 6.x ... ?

2006-06-16 Thread Oleg Sharoiko
On Mon, 2006-06-12 at 02:10 -0300, Marc G. Fournier wrote:

 Does anyone know if there is one somewhere for FreeBSD 6.x?  Intel's site 
 only has a 4.1 version that I can find ...
 
 If not, what is the best method of connecting to and looking at an IIR 
 controller with FreeBSD 6.x?

Archive available from inetl.com contains packages for both 4.x and 5.x.
It's possible that storcon will work with corresponding COMPAT_XX
options in kernel and misc/compatXX packages. At least you will be
surely able to start storcon. I have SRCU32 controller in 6.x but that's
AMD64 machine and storcon reports that it can not find controller. I'm
not sure if this is due to version or architecture change. I'll probably
try to contact intel regarding this case...

-- 
Oleg Sharoiko.
Software and Network Engineer
Computer Center of Rostov State University.

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


freebsd on a newer pc

2006-06-16 Thread Jonathan Horne
trying to install freebsd 6.1 on a hp dc7100 (p4 3.4, sata, a pci-x slot,
etc).  im having a couple issues getting it up and running with freebsd.

main issue is, i cannot get the system to power off with acpi.  it will
shutdown, but it stops at a screen that just says the system  has powered
off with acpi, hit any key to reboot, or something along that nature. 
ideally, i would like to figure out how to get it to behave normally, and
fully power itself off when i give it 'shutdown -p now'.  the bios
mentions lots of S3 related stuff under power management, but i dont have
a good understanding of what that does.  i did try disabling some stuff,
but it had no effect on powerdown behavior.

i would appreciate any advice anyone has.

thanks,
jonathan

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


Multicast/IGMP Join in FreeBSD 6.1

2006-06-16 Thread Mayo, Richard A RDECOM CERDEC STCD SRI
Can anybody tell me how to configure the multicast groups my computer will 
attempt to join?  I when my computers boot, I can see a IGMP join request for 
224.0.0.9, but I would like to add more.


Any suggestions?

Rich Mayo
SRI International
x76435


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


pop passwords no longer working after hacker got on my server

2006-06-16 Thread Scott Kaplan
After a hacker got on my server pop passwords are no longer working I tried 
deleting and re-adding popa3d but it didn't help Of course this is very big 
problem for me Anyone can help?


_
Express yourself instantly with MSN Messenger! Download today - it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/


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


Re: pop passwords no longer working after hacker got on my server

2006-06-16 Thread Derek Ragona
You should first verify your pop daemon is running, either from inet or on 
boot.  What errors are you getting?


-Derek


At 08:36 AM 6/16/2006, Scott Kaplan wrote:
After a hacker got on my server pop passwords are no longer working I 
tried deleting and re-adding popa3d but it didn't help Of course this is 
very big problem for me Anyone can help?


_
Express yourself instantly with MSN Messenger! Download today - it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/


___
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: Kismet and wi0

2006-06-16 Thread Christopher Sean Hilton
On Wed, Jun 14, 2006 at 08:16:32AM -0400, Christopher Sean Hilton wrote:
 I'm wondering if anyone else is having trouble with the combination
 between Kismet and the Orinoco Gold card. This setup worked flawlessly
 for me under FreeBSD 5.4 (I retested it last night) but I get no joy
 with FreeBSD 6.1-STABLE. Here's what I see:
 

Just a followup. I was able to get Kismet working un six but only
intermittently. It appears that when kismet sets up the wi0 interface
it sets it into ad-hoc rather than infrastructure mode. I can get it
to work if I change the card from ad-hoc back to infrastructure with:

 # wicontrol -i wi0 -p 1

at _exactly_ the right time and re-run kismet. I'm in the process of
building a FreeBSD 5.5-RELEASE box right now and I will retest this
there.

-- Thanks
Chris

-- 
Chris Hilton   chris-at-vindaloo-dot-com

All I was doing was trying to get home from work!
 -- Rosa Parks
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Intel 82563EB + Blackford on v6.1

2006-06-16 Thread Danial Thom
It seems that most of the new MBs with the
Blackford chipset use the 82563EB dual gig intel
controller. Is there support forthcoming for the
controller? Has anyone tested with a blackford MB
yet?

DT

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Probably a simple question but...

2006-06-16 Thread Atom Powers

I haven't worked with multicast much, but from my understanding you
may have to join the router to the multicast domain.

On 6/15/06, Mayo, Richard A RDECOM CERDEC STCD SRI
[EMAIL PROTECTED] wrote:

I believe this is a simple fix, but I sure can't find it.

I set up 2 FreeBSD boxes as dual-stack network routers and I'm using them to 
test an application capable of generating both TCP and UDP messaging.  The TCP 
part of this equation is working great -- my message fly around the network 
just like they should.

However, my routers appear to be eating my multicast UDP packets.  The packets 
are addressed to 225.0.0.41 and static routes for that prefix are defined in 
both rc.conf files (I only use 1 multicast address, so I don't see a reason to 
use a multicast routing daemon).  Obviously, I don't believe the static route 
is defined correctly.

Can somebody clue me in to the proper method for configuring a FreeBSD 
computer, functioning as a network router, to accept all packets addressed to 
225.0.0.41 on either Ethernet interface and forward them out the other??  
(they're RL0 and RL1, lower case.)

Do I need to define 2 static routes?
Do I need to switch something else on?



Thanks for any help,
Rich Mayo



P.S.  It may be significant that when I installed the OS on the computer, there was only 
1 NIC present.  I added the other one after I got the software running, so it occurs to 
me that there may be a switch relating to forwarding that's not ON, but I 
have no idea where to look for that.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]




--
--
Perfection is just a word I use occasionally with mustard.
--Atom Powers--
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Probably a simple question but...

2006-06-16 Thread Danial Thom
Are you running mrouted? 

--- Atom Powers [EMAIL PROTECTED] wrote:

 I haven't worked with multicast much, but from
 my understanding you
 may have to join the router to the multicast
 domain.
 
 On 6/15/06, Mayo, Richard A RDECOM CERDEC STCD
 SRI
 [EMAIL PROTECTED] wrote:
  I believe this is a simple fix, but I sure
 can't find it.
 
  I set up 2 FreeBSD boxes as dual-stack
 network routers and I'm using them to test an
 application capable of generating both TCP and
 UDP messaging.  The TCP part of this equation
 is working great -- my message fly around the
 network just like they should.
 
  However, my routers appear to be eating my
 multicast UDP packets.  The packets are
 addressed to 225.0.0.41 and static routes for
 that prefix are defined in both rc.conf files
 (I only use 1 multicast address, so I don't see
 a reason to use a multicast routing daemon). 
 Obviously, I don't believe the static route is
 defined correctly.
 
  Can somebody clue me in to the proper method
 for configuring a FreeBSD computer, functioning
 as a network router, to accept all packets
 addressed to 225.0.0.41 on either Ethernet
 interface and forward them out the other?? 
 (they're RL0 and RL1, lower case.)
 
  Do I need to define 2 static routes?
  Do I need to switch something else on?
 
 
 
  Thanks for any help,
  Rich Mayo
 
 
 
  P.S.  It may be significant that when I
 installed the OS on the computer, there was
 only 1 NIC present.  I added the other one
 after I got the software running, so it occurs
 to me that there may be a switch relating to
 forwarding that's not ON, but I have no idea
 where to look for that.
 
 ___
  freebsd-questions@freebsd.org mailing list
 

http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to
 [EMAIL PROTECTED]
 
 
 
 -- 
 --
 Perfection is just a word I use occasionally
 with mustard.
 --Atom Powers--
 ___
 freebsd-questions@freebsd.org mailing list

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


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: formatting tools for Docbook

2006-06-16 Thread Chuck Robey

Bob Johnson wrote:


On 6/15/06, Chuck Robey [EMAIL PROTECTED] wrote:


Greg Barniskis wrote:

 Chuck Robey wrote:

docs, because then no one else would be able to use my documents.  Am I
wrong in considering the FDP generated documentation as being in that
category, not terribly uselful outside the FreeBSD project.



I believe you are wrong, or I misunderstand the question.

I haven't used XML DocBook, but I've used DocBook with DSSSL.  I
assume what you are really asking is not whether the FreeBSD
extensions to the DocBook markup language are a problem (they aren't),
but whether the stylesheets used by FreeBSD are compatible with those
on other systems.  They are (or they claim to be, as I said I haven't
actually used the XML/XSL tools yet).

Look, how come you won't follow politely formed requests?  I've asked 
now repeatedly, if you haven't yourself used the XML Docbook tools (not 
just Docbook, not just your own private mission statement here) then 
please to let this go, not to respond.  I wrote that same request to my 
very first email.  How come you can't react politely to a polite request?


In private mail, you have tried to tell  me that Docbook-xml didn't 
exist, and that FDP referred to the FreeBSD Development Project, not the 
FreeBSD Documentation Project.  Aren't you being just a little bit 
juvenile here?  Your own mail shows you know that Docbook-xml exists, 
and all you need to do is to look at the FreeBSD 
ports/textproc/docbook-xml-* ports to see what I mean (if you really 
don't know this).  Especially if you are innocently ignorant of XML, 
then you are the sort of person I did not wwant to have respnd at all.


Please, please, let this go, it's not your thread, and I dont' want to 
use your tools!


If you respond again, I won't answer you anymore.  I will just let this 
thread go entirely.  I'm sure the rest of this list is quite fed up with 
this by now.



To clarify: the real issue for me, and probably what you are really
referring to, is that the output format is not defined by the DocBook
markup, but by the stylesheets (or equivalent) in the tool set used to
produce the output.  That's both the advantage and disadvantage of
Docbook (and SGML in general).  If you want strict control of the
output format, then you run into the problem of a standard stylesheet
format so you can also distribute your stylesheets along with your
marked up documents.  DSSSL stylesheets are an incredible pain to
modify, and I sympathize with your desire to avoid them.  XSL
stylesheets are becoming a widely accepted standard, so that's the way
to go, and since they are pretty much a standard, the details of what
tools you use to do your document rendering shouldn't matter.

If you need to modify the standard XSL stylesheets to meet your
needs, just distribute the modified stylesheets along with your marked
up documents and that should allow the person at the other end to
duplicate your output.  The FreeBSD XML DocBook tool set claims to use
XSL stylesheets, so as I said, the answer to your question should be
no, the tools are not FreeBSD specific.

Is that explanation helping at all, or am I way off track?  And have I
said anything that is just flat wrong?

You may also want to look at
http://wiki.docbook.org/topic/DocBookXslStylesheets if you haven't
already.

- Bob
___
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: Verizon Wireless PC5740 on FreeBSD?

2006-06-16 Thread Mike
On Wed, Jun 14, 2006 at 09:06:29PM -0700, YTResearch wrote:
 Has anyone been successful with using Verizon Wireless on FreeBSD. I  
 have read where the PC5740 card has been successfully used on Linux  
 claiming 160mbps with a ohci-hcd module. If that's true, I was  
 thinking this should be possible on FreeBSD. I have a mix of Darwin  
 and FreeBSD and it seems more likely that FreeBSD would be the better  
 bet since the linux module might run as is. Hate to put the money out  
 and find out differently. Has anyone tried this?

Hello,

I have not tried this on FreeBSD, but I have on Linux.

ochi-hcd is a linux kernel module for USB host so you can't run
it on FreeBSD.  The Verizon cards are USB serial devices that you
can talk to with minicom using an AT command set.  Going online
with one of these in FreeBSD involves modifying /etc/ppp/ppp.conf
with the correct information.

You have to initialize the card on a Windows machine.  I used
my roommate's notebook.

I don't know if FreeBSD needs to be tweaked out the way Linux
(ohci-hcd) does.

 Thanks,
 Chris

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


Re: ripping enhanced audio CDs

2006-06-16 Thread Mac Newbold

Yesterday at 4:23pm, Mac Newbold said:


Today at 2:55pm, Mikhail Goriachev said:


Jun 14 11:27:21 mybox kernel: acd0: FAILURE - READ_CD HARDWARE ERROR
asc=0x08 ascq=0x01 error=0
Jun 14 11:27:21 mybox kernel: acd0: FAILURE - READ_CD ILLEGAL REQUEST
asc=0x64 ascq=0x00 error=0
Jun 14 11:27:22 mybox last message repeated 11 times


I am pretty sure this isn't an anti-piracy feature. It happens to me with 
_any_ enhanced CD (audio+data mixed CD), and _only_ on enhanced CDs. Never 
has it happened to me on any non-enhanced audio CD. My problem is not with the 
inability to get the data off, that doesn't seem to be a real issue. The 
problem is with the crashing of the computer.


Why should _any_ data read from a removable disk of any kind be causing 
FreeBSD to crash by the mere act of attempting to read it from the disk? The 
device is reporting a failure, but why isn't the OS handling that failure 
gracefully?


If I'm asking the wrong list, and should be asking [EMAIL PROTECTED] or some 
list related to multimedia, please let me know.


Thanks to everyone who has contributed answers to this thread. (BTW, it is 
helpful if you keep me cc'd in your replies, since I'm not on the list 
itself and only see responses when I go check the archive.)


To answer some of the questions that came up:

1. It never happens on any plain/normal/non-enhanced audio CD I've tried, 
which I'm quite sure might include some that are copy protected or have 
some kind of DRM in place.


2. None of them have said anything about being non-functional or limited 
with certain computer players or operating systems that I have noticed.


If we can, I'd like to take this discussion in a slightly different 
direction. Let's change our thinking by making the following assumptions:


A. It is not a DRM or copy protection scheme causing the errors.

B. Since it happens on every enhanced CD (i.e. one containing audio 
tracks and a data track meant to be read on a computer) that I've been 
able to try, but not on any non-enhanced CDs, of which I've tested many 
hundreds, let's assume it is related to the fact that it is enhanced.


By combining assumption A and assumption B, I'm led to the conclusion that 
there is something about Enhanced CDs that is causing FreeBSD to get 
unrecoverable errors that lead inevitably to a system crash. Namely, it 
generates READ_CD Hardware Error messages, followed by a series of 
READ_CD Illegal Request messages immediately prior to the crash.


Does anyone have some ideas (other than copy protection or DRM) on why 
this might be happening or what might be done to solve the problem?


Does anyone have some ideas of other places or lists where I might ask a 
similar question and be more likely to get closer to solving the problem?


Thanks again,
Mac

--
Mac Newbold MNE - Mac Newbold Enterprises, LLC
[EMAIL PROTECTED]   http://www.macnewbold.com/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


How to get best results from FreeBSD-questions

2006-06-16 Thread Greg Lehey

How to get the best results from FreeBSD questions.
===

Last update $Date: 2005/08/10 02:21:44 $

This is a regular posting to the FreeBSD questions mailing list.  If
you got it in answer to a message you sent, it means that the sender
thinks that at least one of the following things was wrong with your
message:

- You left out a subject line, or the subject line was not appropriate.
- You formatted it in such a way that it was difficult to read.
- You asked more than one unrelated question in one message.
- You sent out a message with an incorrect date, time or time zone.
- You sent out the same message more than once.
- You sent an 'unsubscribe' message to FreeBSD-questions.

If you have done any of these things, there is a good chance that you
will get more than one copy of this message from different people.
Read on, and your next message will be more successful.

This document is also available on the web at
http://www.lemis.com/questions.html.

=

Contents:

I:Introduction
II:   How to unsubscribe from FreeBSD-questions
III:  Should I ask -questions or -hackers?
IV:   How to submit a question to FreeBSD-questions
V:How to answer a question to FreeBSD-questions

I: Introduction
===

This is a regular posting aimed to help both those seeking advice from
FreeBSD-questions (the newcomers), and also those who answer the
questions (the hackers).

   Note that the term hacker has nothing to do with breaking
   into other people's computers.  The correct term for the latter
   activity is cracker, but the popular press hasn't found out
   yet.  The FreeBSD hackers disapprove strongly of cracking
   security, and have nothing to do with it.

In the past, there has been some friction which stems from the
different viewpoints of the two groups.  The newcomers accused the
hackers of being arrogant, stuck-up, and unhelpful, while the hackers
accused the newcomers of being stupid, unable to read plain English,
and expecting everything to be handed to them on a silver platter.  Of
course, there's an element of truth in both these claims, but for the
most part these viewpoints come from a sense of frustration.

In this document, I'd like to do something to relieve this frustration
and help everybody get better results from FreeBSD-questions.  In the
following section, I recommend how to submit a question; after that,
we'll look at how to answer one.

II:  How to unsubscribe from FreeBSD-questions
==

When you subscribed to FreeBSD-questions, you got a welcome message
from [EMAIL PROTECTED]  In this message, amongst
other things, it told you how to unsubscribe.  Here's a typical
message:

  Welcome to the freebsd-questions@freebsd.org mailing list!

If you ever want to unsubscribe or change your options (eg, switch to
or from digest mode, change your password, etc.), visit your
subscription page at:

  http://lists.freebsd.org/mailman/options/freebsd-questions/[EMAIL PROTECTED]
  
(obviously, substitute your mail address for [EMAIL PROTECTED]).  You can
also make such adjustments via email by sending a message to:

  [EMAIL PROTECTED]
  
with the word 'help' in the subject or body (don't include the
quotes), and you will get back a message with instructions.

You must know your password to change your options (including
changing the password, itself) or to unsubscribe.
  
Normally, Mailman will remind you of your freebsd.org mailing list
passwords once every month, although you can disable this if you
prefer.  This reminder will also include instructions on how to
unsubscribe or change your account options.  There is also a button on
your options page that will email your current password to you.

  Here's the general information for the list you've
  subscribed to, in case you don't already have it:

  FREEBSD-QUESTIONS   User questions
  This is the mailing list for questions about FreeBSD.  You should not
  send how to questions to the technical lists unless you consider the
  question to be pretty technical.

Normally, unsubscribing is even simpler than the message suggests: you
don't need to specify your mail ID unless it is different from the one
which you specified when you subscribed.

If Majordomo replies and tells you (incorrectly) that you're not on
the list, this may mean one of two things:

  1.  You have changed your mail ID since you subscribed.  That's where
  keeping the original message from majordomo comes in handy.  For
  example, the sample message above shows my mail ID as
  [EMAIL PROTECTED]  Since then, I have changed it to
  [EMAIL PROTECTED]  If I were to try to remove [EMAIL PROTECTED] from
  the list, it would fail: I would have to specify the name with
  which I joined.

  2.  You're subscribed to a mailing list which is subscribed to
  

The Complete FreeBSD: errata and addenda

2006-06-16 Thread Greg Lehey
The trouble with books is that you can't update them the way you can a web page
or any other online documentation.  The result is that most leading edge
computer books are out of date almost before they are printed.  Unfortunately,
The Complete FreeBSD, published by O'Reilly, is no exception.  Inevitably, a
number of bugs and changes have surfaced.

The Complete FreeBSD has been through a total of five editions, including its
predecessor Installing and Running FreeBSD.  Two of these have been reprinted
with corrections.  I maintain a series of errata pages.  Start at
http://www.lemis.com/errata-4.html to find out how to get the errata
information.

Note also that the book has now been released for free download in PDF
form.  Instead of downloading the changed pages, you may prefer to
download the entire book.  See http://www.lemis.com/grog/Documentation/CFBSD/ 
for more information.

Have you found a problem with the book, or maybe something confusing?
Please let me know: I'm no longer constantly updating it, but I may be
able to help

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


Re: ripping enhanced audio CDs

2006-06-16 Thread Garrett Cooper

Mac Newbold wrote:


Yesterday at 4:23pm, Mac Newbold said:


Today at 2:55pm, Mikhail Goriachev said:


Jun 14 11:27:21 mybox kernel: acd0: FAILURE - READ_CD HARDWARE ERROR
asc=0x08 ascq=0x01 error=0
Jun 14 11:27:21 mybox kernel: acd0: FAILURE - READ_CD ILLEGAL REQUEST
asc=0x64 ascq=0x00 error=0
Jun 14 11:27:22 mybox last message repeated 11 times




I am pretty sure this isn't an anti-piracy feature. It happens to me 
with _any_ enhanced CD (audio+data mixed CD), and _only_ on 
enhanced CDs. Never has it happened to me on any non-enhanced audio 
CD. My problem is not with the inability to get the data off, that 
doesn't seem to be a real issue. The problem is with the crashing of 
the computer.


Why should _any_ data read from a removable disk of any kind be 
causing FreeBSD to crash by the mere act of attempting to read it 
from the disk? The device is reporting a failure, but why isn't the 
OS handling that failure gracefully?


If I'm asking the wrong list, and should be asking 
[EMAIL PROTECTED] or some list related to multimedia, please let me 
know.



Thanks to everyone who has contributed answers to this thread. (BTW, 
it is helpful if you keep me cc'd in your replies, since I'm not on 
the list itself and only see responses when I go check the archive.)


To answer some of the questions that came up:

1. It never happens on any plain/normal/non-enhanced audio CD I've 
tried, which I'm quite sure might include some that are copy 
protected or have some kind of DRM in place.


2. None of them have said anything about being non-functional or 
limited with certain computer players or operating systems that I have 
noticed.


If we can, I'd like to take this discussion in a slightly different 
direction. Let's change our thinking by making the following assumptions:


A. It is not a DRM or copy protection scheme causing the errors.

B. Since it happens on every enhanced CD (i.e. one containing audio 
tracks and a data track meant to be read on a computer) that I've been 
able to try, but not on any non-enhanced CDs, of which I've tested 
many hundreds, let's assume it is related to the fact that it is 
enhanced.


By combining assumption A and assumption B, I'm led to the conclusion 
that there is something about Enhanced CDs that is causing FreeBSD to 
get unrecoverable errors that lead inevitably to a system crash. 
Namely, it generates READ_CD Hardware Error messages, followed by a 
series of READ_CD Illegal Request messages immediately prior to the 
crash.


Does anyone have some ideas (other than copy protection or DRM) on why 
this might be happening or what might be done to solve the problem?


Does anyone have some ideas of other places or lists where I might ask 
a similar question and be more likely to get closer to solving the 
problem?


Thanks again,
Mac


Ok then... what is the CD drive and model?
-Garrett
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Probably a simple question but...

2006-06-16 Thread Mayo, Richard A RDECOM CERDEC STCD SRI
 -Original Message-
 From: Danial Thom [mailto:[EMAIL PROTECTED] 
 Sent: Friday, June 16, 2006 11:59 AM
 To: Atom Powers; Mayo, Richard A RDECOM CERDEC STCD SRI
 Cc: freebsd-questions@freebsd.org
 Subject: Re: Probably a simple question but...
 
 Are you running mrouted?




I'm not.  And when I try, I get an error about the functionality not being 
built into the kernel...

I'm guessing this is my problem.  Any suggestions on how to correct this will 
be greatly appreciated.

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


Re: formatting tools for Docbook

2006-06-16 Thread Bill Campbell
On Fri, Jun 16, 2006, Chuck Robey wrote:
Bob Johnson wrote:

On 6/15/06, Chuck Robey [EMAIL PROTECTED] wrote:

Greg Barniskis wrote:

 Chuck Robey wrote:

docs, because then no one else would be able to use my documents.  Am I
wrong in considering the FDP generated documentation as being in that
category, not terribly uselful outside the FreeBSD project.


I believe you are wrong, or I misunderstand the question.

I haven't used XML DocBook, but I've used DocBook with DSSSL.  I
assume what you are really asking is not whether the FreeBSD
extensions to the DocBook markup language are a problem (they aren't),
but whether the stylesheets used by FreeBSD are compatible with those
on other systems.  They are (or they claim to be, as I said I haven't
actually used the XML/XSL tools yet).

Look, how come you won't follow politely formed requests?  I've asked 
now repeatedly, if you haven't yourself used the XML Docbook tools (not 
just Docbook, not just your own private mission statement here) then 
please to let this go, not to respond.  I wrote that same request to my 
very first email.  How come you can't react politely to a polite request?

I use docbook xml for many things here on a FreeBSD 4.8 system
(yeah I know it's out of date, but its uptime is 723 days :-).

I'm using the OpenPKG portable packaging system's versions of
docbook, openjade, tetex along with docbook-toys from SuSE Linux.

docbook-toys is a set of scripts, db2dvi, db2html, db2pdf, etc.
which provide simple interfaces to openjade and jadetex.

Bill
--
INTERNET:   [EMAIL PROTECTED]  Bill Campbell; Celestial Software LLC
URL: http://www.celestial.com/  PO Box 820; 6641 E. Mercer Way
FAX:(206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676

The difference between science and the fuzzy subjects is that science
requires reasoning while those other subjects merely require scholarship.
-- Robert Heinlein
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


pf + ftp throughput

2006-06-16 Thread J.D. Bronson

given the following rules:

# Permit internal network to send packets through the firewall
pass in quick on $INT_IF from $INT_IF:network to any flags S/SA keep state

# Permit traffic from firewall to initiate connection to internal network:
pass out quick on $INT_IF from any to $INT_IF:network flags S/SA keep state

..I have noticed that if I use 'keep state' ftp rates are fine 
(machine to machine...not via ftp-proxy) but if I change this to 
'modulate state'

my ftp rates fall...

For example...moving a 50MB file:

'keep state' = 11-12MB/sec over 100MB-FDX
'modulate state = 6-7MB/sec over 100MB-FDX

..it took me a while to determine the culprit here - but I am curious 
as to why this is the case?


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


Re: pf + ftp throughput

2006-06-16 Thread Darrin Chandler
On Fri, Jun 16, 2006 at 01:59:01PM -0500, J.D. Bronson wrote:
 For example...moving a 50MB file:
 
 'keep state' = 11-12MB/sec over 100MB-FDX
 'modulate state = 6-7MB/sec over 100MB-FDX
 
 ..it took me a while to determine the culprit here - but I am curious 
 as to why this is the case?

Since modulate state substitues its own high quality random sequence for
the TCP stream in both directions, a wimpy CPU or similar problem could
easily cause this, I think. Still, I'm surprised to see a 50% hit from
using modulate state.

-- 
Darrin Chandler|  Phoenix BSD Users Group
[EMAIL PROTECTED]   |  http://bsd.phoenix.az.us/
http://www.stilyagin.com/  |
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: pf + ftp throughput

2006-06-16 Thread J.D. Bronson

At 02:10 PM 6/16/2006, Darrin Chandler wrote:

On Fri, Jun 16, 2006 at 01:59:01PM -0500, J.D. Bronson wrote:
 For example...moving a 50MB file:

 'keep state' = 11-12MB/sec over 100MB-FDX
 'modulate state = 6-7MB/sec over 100MB-FDX

 ..it took me a while to determine the culprit here - but I am curious
 as to why this is the case?

Since modulate state substitues its own high quality random sequence for
the TCP stream in both directions, a wimpy CPU or similar problem could
easily cause this, I think. Still, I'm surprised to see a 50% hit from
using modulate state.


Yes. I am too!
This is a P4-3.06 with 1GB ram...under almost no load...so I cant 
fault the CPU this time


-JD 


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


Possible to go from 5.5 to 5.4?

2006-06-16 Thread Tuc
Hi,

 I recently upgraded from 5.4 to 5.5, and now if I leave it in X for a
few minutes it ends up locking up, usually when the screen blanks on
its own. I wanted to go backwards to see if that behaviour goes away.

 I wasn't sure if there was a risk doing this.

Thanks, Tuc

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


Re: pf + ftp throughput

2006-06-16 Thread Darrin Chandler
On Fri, Jun 16, 2006 at 02:13:00PM -0500, J.D. Bronson wrote:
 At 02:10 PM 6/16/2006, Darrin Chandler wrote:
 On Fri, Jun 16, 2006 at 01:59:01PM -0500, J.D. Bronson wrote:
  For example...moving a 50MB file:
 
  'keep state' = 11-12MB/sec over 100MB-FDX
  'modulate state = 6-7MB/sec over 100MB-FDX
 
  ..it took me a while to determine the culprit here - but I am curious
  as to why this is the case?
 
 Since modulate state substitues its own high quality random sequence for
 the TCP stream in both directions, a wimpy CPU or similar problem could
 easily cause this, I think. Still, I'm surprised to see a 50% hit from
 using modulate state.
 
 Yes. I am too!
 This is a P4-3.06 with 1GB ram...under almost no load...so I cant 
 fault the CPU this time

The only two things that come to mind are 1) pf is using a really
complex and slow random source, or 2) something is going haywire with
the connection.

Have your tried tcpdump on either interface (not pflog) to see if
anything strange is going on (ACK storms, etc)? Just fishing at this
point...

-- 
Darrin Chandler|  Phoenix BSD Users Group
[EMAIL PROTECTED]   |  http://bsd.phoenix.az.us/
http://www.stilyagin.com/  |
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: pf + ftp throughput

2006-06-16 Thread J.D. Bronson

At 02:27 PM 6/16/2006, Darrin Chandler wrote:

The only two things that come to mind are 1) pf is using a really
complex and slow random source, or 2) something is going haywire with
the connection.

Have your tried tcpdump on either interface (not pflog) to see if
anything strange is going on (ACK storms, etc)? Just fishing at this
point...


Thanks. Well its on the same segment of the lan on a 3Com managed 
(and not busy) switch.


I am using S/SA and I thought that should help ACK issues

for a trial, I am going to fire up a drive loaded with OpenBSD 3.9 
and PF and see if there is anything better/worse with the same pf.conf file.


Something is amiss and unacceptable!

-JD





--
J.D. Bronson
Information Services
Telecommunications Site Support
Aurora West Allis Memorial Hospital
Office: 414.978.8282 Fax: 414.977.5299

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


Re: FFS data integrity

2006-06-16 Thread Bob Johnson

On 6/16/06, Pablo Marín Ramón [EMAIL PROTECTED] wrote:

Here goes a newbie question about classical FFS (without
softupdates).

As metadata is updated synchronously, can an i-node, at some
point, end pointing to not written yet data blocks? Is this a
security risk, i.e., can those pointed to data blocks pertain to
another user's deleted on memory but not deleted on disk data, or
that deleted data will be marked in metadata as not initialized
and after a crash fsck will fix all i-nodes pointing to it?



The short answer is that fsck can detect the bad inodes and fix or
delete them.  Assuming no programming errors, you don't have to worry
about a file containing bogus data after fsck has run.  Unfortunately,
if write-caching is enabled on your hard drive (and it probably is,
for speed), then the drive may internally re-order the writes and the
carefully crafted sequence of writes disappears, so there are no
guarantees (or at least, not as many).  Whether this is actually a
problem depends on the brand, model, and firmware version of the
drive, because some drives claim that data has been written to the
disk when it is actually only in the drive buffer, while other drives
are more honest.

More details are found in
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/configtuning-disk.html


AFAIK, softupdates and ext3 in the default mode (data=ordered)
don't have this problem, but journalling filesystems that journal
only metadata do. Is this correct?


I think that is answered in the handbook section referenced above.

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


Re: Possible to go from 5.5 to 5.4?

2006-06-16 Thread Kövesdán Gábor

Tuc wrote:

Hi,

 I recently upgraded from 5.4 to 5.5, and now if I leave it in X for a
few minutes it ends up locking up, usually when the screen blanks on
its own. I wanted to go backwards to see if that behaviour goes away.

 I wasn't sure if there was a risk doing this.

Thanks, Tuc

  
Have you tried recompiling X? That might help. Take a look at 
sysutils/portupgrade, if you haven't used that before. I think going 
backward is unwise, there must be a better way.


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


Re: ripping enhanced audio CDs

2006-06-16 Thread Micah

Mac Newbold wrote:

Yesterday at 4:23pm, Mac Newbold said:


Today at 2:55pm, Mikhail Goriachev said:


Jun 14 11:27:21 mybox kernel: acd0: FAILURE - READ_CD HARDWARE ERROR
asc=0x08 ascq=0x01 error=0
Jun 14 11:27:21 mybox kernel: acd0: FAILURE - READ_CD ILLEGAL REQUEST
asc=0x64 ascq=0x00 error=0
Jun 14 11:27:22 mybox last message repeated 11 times


I am pretty sure this isn't an anti-piracy feature. It happens to me 
with _any_ enhanced CD (audio+data mixed CD), and _only_ on enhanced 
CDs. Never has it happened to me on any non-enhanced audio CD. My 
problem is not with the inability to get the data off, that doesn't 
seem to be a real issue. The problem is with the crashing of the 
computer.


Why should _any_ data read from a removable disk of any kind be 
causing FreeBSD to crash by the mere act of attempting to read it from 
the disk? The device is reporting a failure, but why isn't the OS 
handling that failure gracefully?


If I'm asking the wrong list, and should be asking [EMAIL PROTECTED] 
or some list related to multimedia, please let me know.


Thanks to everyone who has contributed answers to this thread. (BTW, it 
is helpful if you keep me cc'd in your replies, since I'm not on the 
list itself and only see responses when I go check the archive.)


To answer some of the questions that came up:

1. It never happens on any plain/normal/non-enhanced audio CD I've 
tried, which I'm quite sure might include some that are copy protected 
or have some kind of DRM in place.


2. None of them have said anything about being non-functional or limited 
with certain computer players or operating systems that I have noticed.


If we can, I'd like to take this discussion in a slightly different 
direction. Let's change our thinking by making the following assumptions:


A. It is not a DRM or copy protection scheme causing the errors.

B. Since it happens on every enhanced CD (i.e. one containing audio 
tracks and a data track meant to be read on a computer) that I've been 
able to try, but not on any non-enhanced CDs, of which I've tested many 
hundreds, let's assume it is related to the fact that it is enhanced.


By combining assumption A and assumption B, I'm led to the conclusion 
that there is something about Enhanced CDs that is causing FreeBSD to 
get unrecoverable errors that lead inevitably to a system crash. Namely, 
it generates READ_CD Hardware Error messages, followed by a series of 
READ_CD Illegal Request messages immediately prior to the crash.


Does anyone have some ideas (other than copy protection or DRM) on why 
this might be happening or what might be done to solve the problem?


Does anyone have some ideas of other places or lists where I might ask a 
similar question and be more likely to get closer to solving the problem?


Thanks again,
Mac

--
Mac NewboldMNE - Mac Newbold Enterprises, LLC
[EMAIL PROTECTED]http://www.macnewbold.com/


I can confirm that enhanced CDs do not rip properly on FreeBSD 6.1 
with cdparanoia -B. cdparanoia reports a bunch of V's (Uncorrected 
error/skip) and my messages log is FILLED (74MB) with thousands of the 
following errors:


Jun 16 12:00:00 trisha kernel: acd0: FAILURE - READ_CD ILLEGAL REQUEST 
asc=0x64 ascq=0x00 acd0: FAILURE - READ_CD ILLEGAL REQUEST asc=0x64 
ascq=0x00 acd0: FAILURE - READ_CD ILLEGAL REQUEST asc=0x64 ascq=0x00 
acd0: FAILURE - READ_CD ILLEGAL REQUEST asc=0x64 ascq=0x00 acd0: FAILURE 
- READ_CD ILLEGAL REQUEST asc=0x64 ascq=0x00 acd0: FAILURE - READ_CD 
ILLEGAL REQUEST asc=0x64 ascq=0x00 acd0: FAILURE - READ_CD ILLEGAL 
REQUEST asc=0x64 ascq=0x00 acd0: FAILURE - READ_CD ILLEGAL REQUEST 
asc=0x64 ascq=0x00 acd0: FAILURE - READ_CD ILLEGAL REQUEST asc=0x64 
ascq=0x00 acd0: FAILURE - READ_CD ILLEGAL REQUEST asc=0x64 ascq=0x00 
acd0: FAILURE - READ_CD ILLEGAL REQUEST asc=0x64 ascq=0x00 acd0: FAILURE 
- READ_CD ILLEGAL REQUEST asc=0x64 ascq=0x00 acd0: FAILURE - READ_CD 
ILLEGAL REQUEST asc=0x64 ascq=0x00 acd0: FAILURE - READ_CD ILLEGAL 
REQUEST asc=0x64 ascq=0x00 acd0: FAILURE - READ_CD ILLEGAL REQUEST 
asc=0x64 ascq=0x00 acd0: FAILURE - READ_CD ILLEGAL REQUEST asc=0x64 
ascq=0x00 acd0: FAILURE - READ_CD ILLEGAL REQUEST asc=0x64 ascq=0x00 
acd0: FAILURE


That's just one of nearly 88,000 similar lines from messages. But I do 
NOT get a reboot/crash, just thousands of errors and a silent rip of the 
track. This is on a NEC DVD RW ND-3520AW/3.05 accessed via /dev/acd0


The CDs I used are very unlikely to have any DRM or copy protection as 
they are circa 1998 CDs. Three CDs tried, all three had the error near 
the data track.


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


Re: Possible to go from 5.5 to 5.4?

2006-06-16 Thread Kris Kennaway
On Fri, Jun 16, 2006 at 09:39:27PM +0200, K?vesd?n G?bor wrote:
 Tuc wrote:
 Hi,
 
  I recently upgraded from 5.4 to 5.5, and now if I leave it in X for a
 few minutes it ends up locking up, usually when the screen blanks on
 its own. I wanted to go backwards to see if that behaviour goes away.
 
  I wasn't sure if there was a risk doing this.
 
 Thanks, Tuc
 
   
 Have you tried recompiling X? That might help. Take a look at 
 sysutils/portupgrade, if you haven't used that before. I think going 
 backward is unwise, there must be a better way.

Also make sure you recompile any kernel modules you might be using.
The most likely one would be the nvidia driver.

Kris


pgpVlK22lBPGQ.pgp
Description: PGP signature


Getting Source Code after Installing the Software

2006-06-16 Thread Mayo, Richard A RDECOM CERDEC STCD SRI
I installed FreeBSD on a couple of computers without installing any source 
code.  Now (naturally), I want to get a hold of the kernel source so I can 
re-compile and enable support for PIM and Multicast Routing.

However, I can't figure how to get the source off my CDs.  I downloaded the 
ISO's for Disk 1 and Disk 2 of FreeBSD 6.1--RELEASE.
Can anybody tell me where I can find the source code on these disks so I don't 
have to run a re-installation just to get it??



Thanks,

Rich Mayo

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


Re: Getting Source Code after Installing the Software

2006-06-16 Thread Andy Greenwood

You can get the source code at any time with cvsup, which is availible
through ports. check out

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

On 6/16/06, Mayo, Richard A RDECOM CERDEC STCD SRI
[EMAIL PROTECTED] wrote:

I installed FreeBSD on a couple of computers without installing any source 
code.  Now (naturally), I want to get a hold of the kernel source so I can 
re-compile and enable support for PIM and Multicast Routing.

However, I can't figure how to get the source off my CDs.  I downloaded the 
ISO's for Disk 1 and Disk 2 of FreeBSD 6.1--RELEASE.
Can anybody tell me where I can find the source code on these disks so I don't 
have to run a re-installation just to get it??



Thanks,

Rich Mayo

___
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: Getting Source Code after Installing the Software

2006-06-16 Thread Lowell Gilbert
Mayo, Richard A RDECOM CERDEC STCD SRI [EMAIL PROTECTED]
writes:

 I installed FreeBSD on a couple of computers without installing any source 
 code.  Now (naturally), I want to get a hold of the kernel source so I can 
 re-compile and enable support for PIM and Multicast Routing.

 However, I can't figure how to get the source off my CDs.  I downloaded the 
 ISO's for Disk 1 and Disk 2 of FreeBSD 6.1--RELEASE.
 Can anybody tell me where I can find the source code on these disks so I 
 don't have to run a re-installation just to get it??

You can run sysinstall without doing an install.
If you really want to extract the source directly with tar, it's been
explained on this list a number of times over the years.

Or get more up-to-date sources by cvsup, as someone else suggested.

Shall we go on?  There are more possibilities, albeit less generally
useful.  
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Possible to go from 5.5 to 5.4?

2006-06-16 Thread Tuc
 On Fri, Jun 16, 2006 at 09:39:27PM +0200, K?vesd?n G?bor wrote:
  Tuc wrote:
  Hi,
  
   I recently upgraded from 5.4 to 5.5, and now if I leave it in X for=
  a
  few minutes it ends up locking up, usually when the screen blanks on
  its own. I wanted to go backwards to see if that behaviour goes away.
  
   I wasn't sure if there was a risk doing this.
  
  Thanks, Tuc
  
   =20
  Have you tried recompiling X? That might help. Take a look at=20
  sysutils/portupgrade, if you haven't used that before. I think going=20
  backward is unwise, there must be a better way.
 
 Also make sure you recompile any kernel modules you might be using.
 The most likely one would be the nvidia driver.
 
I had upgraded the nvidia one at the same time since I knew it 
needed to be rebuilt. The 2nd step to resolve this is to portdowngrade 
to the previous version, still no luck. Just for shites and giggles I
built world and am letting it run for a while. Next step is recompile X.
After that, it unless I get any more suggestions, it'll be go back to 5.4 .

Thanks for the suggestions guys, I guess I was jumping to conclusions
too quick.

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


Re: Possible to go from 5.5 to 5.4?

2006-06-16 Thread Kris Kennaway
On Fri, Jun 16, 2006 at 04:41:35PM -0400, Scott Tuc Ellentuch at T-B-O-H wrote:
  On Fri, Jun 16, 2006 at 09:39:27PM +0200, K?vesd?n G?bor wrote:
   Tuc wrote:
   Hi,
   
I recently upgraded from 5.4 to 5.5, and now if I leave it in X for=
   a
   few minutes it ends up locking up, usually when the screen blanks on
   its own. I wanted to go backwards to see if that behaviour goes away.
   
I wasn't sure if there was a risk doing this.
   
   Thanks, Tuc
   
=20
   Have you tried recompiling X? That might help. Take a look at=20
   sysutils/portupgrade, if you haven't used that before. I think going=20
   backward is unwise, there must be a better way.
  
  Also make sure you recompile any kernel modules you might be using.
  The most likely one would be the nvidia driver.
  
   I had upgraded the nvidia one at the same time since I knew it 
 needed to be rebuilt.

In what order did you do this?  Since you are using the module, it's
still the #1 suspect.

Kris


pgpnZHYfmjWKr.pgp
Description: PGP signature


Cvsup into NFS mounted directory problem

2006-06-16 Thread Denny White

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


Over on my old windoze xp box, I've got a program called
cvsnt. I wanted to see if I could update the source dir
over there by mounting the dir here locally, then running
cvsup to put everything there, before unmounting it. Then,
use cvsnt for a local network source repository server.
Cvsup does fine on the remotely mounted nfs dir until I
get to this:

Updater failed: Cannot install /home/mydir/cvsdir/src/contrib/
libreadline/#cvs.cvsup-91834.13672 to
/home/mydir/cvsdir/src/contrib/libreadline/ChangeLog,v:
Permission denied

Command to mount the remote windows directory:
mount -w -t nfs remotebox:cvsdir /home/mydir/cvsdir

I've done everything with the local  remote dirs except put
them on eBay. :-) Chmoded them to 777  still get the same
message. Wouldn't doubt if it's something very simple I'm
just overlooking. I was wondering if maybe it has something
to do with my cvsup usage  not the dir/file permissions.
Here's the supfile being used:

#
*default host=cvsup17.us.FreeBSD.org
*default base=/home/mydir/cvsdir
*default prefix=/home/mydir/cvsdir
*default release=cvs
*default delete use-rel-suffix
*default compress
src-all
ports-all tag=.
doc-all tag=.
www
cvsroot-all
#

As can be seen above, the delete is pretty standard  what
I use everywhere else locally:

*default delete use-rel-suffix

Thanks for any help, advice, new hair to replace what I've
pulled out, etc.


GnuPG key  : 0x1644E79A  |  http://wwwkeys.nl.pgp.net
Fingerprint: D0A9 AD44 1F10 E09E 0E67  EC25 CB44 F2E5 1644 E79A

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2.2 (OpenBSD)

iD8DBQFEkxj9y0Ty5RZE55oRAhahAKCQw4UASb/QPT9+Ea9wxcXXSFJUVwCglwvC
yWNr36x5DC9Vnb+JvnNN/44=
=5RXl
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Possible to go from 5.5 to 5.4?

2006-06-16 Thread Tuc
 On Fri, Jun 16, 2006 at 04:41:35PM -0400, Scott Tuc Ellentuch at T-B-O-H wr=
 ote:
   On Fri, Jun 16, 2006 at 09:39:27PM +0200, K?vesd?n G?bor wrote:
Tuc wrote:
Hi,

 I recently upgraded from 5.4 to 5.5, and now if I leave it in X=
  for=3D
a
few minutes it ends up locking up, usually when the screen blanks on
its own. I wanted to go backwards to see if that behaviour goes away.

 I wasn't sure if there was a risk doing this.

Thanks, Tuc

 =3D20
Have you tried recompiling X? That might help. Take a look at=3D20
sysutils/portupgrade, if you haven't used that before. I think going=
 =3D20
backward is unwise, there must be a better way.
  =20
   Also make sure you recompile any kernel modules you might be using.
   The most likely one would be the nvidia driver.
  =20
  I had upgraded the nvidia one at the same time since I knew it=20
  needed to be rebuilt.
 
 In what order did you do this?  Since you are using the module, it's
 still the #1 suspect.
 
1) 
cvsup -g -L 2 ./stable-supfile (cd /usr/src;make buildworld)  (cd /usr/src;m
ake buildkernel KERNCONF=HIMINBJORG53)
echo Press ENTER to install kernel
read c
(cd /usr/src;make installkernel KERNCONF=HIMINBJORG53)
echo Need to reboot

stable-supfile :

*default host=cvsup2.freebsd.org
*default base=/usr
*default prefix=/usr
*default release=cvs tag=RELENG_5_5
*default delete use-rel-suffix
*default compress
src-all

2) Reboot

3) 
echo Press ENTER to mergemaster
read a
mergemaster -p
echo Press ENTER to installworld
read b
(cd /usr/src;make installworld)
echo Press ENTER to mergemaster
read c
mergemaster
echo REBOOT

4) Reboot

5) 
cvsup -g -L 2 -h `fastest_cvsup -c us -Q` ./ports-supfile
(cd /usr/ports;make fetchindex)
pkg_version -l '' -v  not.txt
more not.txt

ports-supfile:

*default host=cvsup11.freebsd.org
*default base=/usr
*default prefix=/usr
*default release=cvs tag=.
*default delete use-rel-suffix
ports-all

6) portupgrade -Ri of anything that was xorg*, nvidia*

7) Reboot

8) startx, do work for a few hours, stop working for a little while, come
back and there is nothing on the screen, and I can't get it to do
anything, even ctrl-alt-backspace

9) Power off, reboot, happens again like in 8, power off, reboot, happens again
like in 8

10) run portdowngrade against nvidia to the previous version

11) reboot, happens again like in 8

12) Post to the newsgroup

12+1) Steps 1-4 again

14) Reply to this email. ;)

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


Re: Upgrading Ports on 5.3

2006-06-16 Thread Chris Whitehouse

Chris Hill wrote:

On Sun, 11 Jun 2006, Ron wrote:


Is there a way to use the current ports system if I am still running 5.3?


That's the only way.

I really need to update subversion, mysql, plus make sure I'm running 
the latest versions of other software, but since 5.4 came out (and now 
5.5 and 6.0), I am no longer been able to get new ports.


If change my cvs-supfile to be:

--
*default tag=RELENG_5_4


I second what Bill Moran said: tag=. for ports. I keep two separate 
supfiles - one for the system, another for ports. (I'm also running 5.4 
on this machine.) I'll send them to you off-list if you want.


If you still have the original ports tree from when you installed 5.4, 
it's kind of long in the tooth by now and there may initially be a 
certain amount of dependency hell, but I'd bite the bullet and do it 
anyway when you have a free Saturday; it will fix a lot of problems, and 
will be less trouble down the road.


If someone can point me to some specific information that will help, I 
would be very appreciative.


What I usually do is

# cvsup -g /etc/cvsupfile.ports   - my ports supfile with tag=.


I've found the very excellent portmanager walks through most complex 
updates. It will only upgrade ports that need it but if yours are old 
that probably means most  so it's going to take time.


portmanager -s will tell you what needs to be done
portmanager -u -l will do it. If you are upgrading jdk14 run make -n in 
the java/jdk14 directory and manually fetch any files it wants into 
distfiles/. Also I run portmanager -s  some.file to get a list of what 
needs doing, then use some.file to make a script that looks in each port 
directory that's going to get upgraded and does make config - then 
portmanager can pretty well run unattended. (I'm still experimenting 
with the make config bit so ymmv)


Chris



# pkgdb -aF   - may throw a lot of errors, esp.
  - if you have an old ports tree.
  - Fix manually if needed!
# cd /usr/ports
# portsdb -u
# portsclean -C
# pkgdb -u
# portversion -v | grep needs - see what needs to be upgraded

...and then

# portupgrade -Rr whatever port I want to upgrade

or if I really have a lot of time,

# portupgrade -aRr

...which will upgrade everything, but may take many hours even on a fast 
machine.


HTH.

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






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


Re: Possible to go from 5.5 to 5.4?

2006-06-16 Thread Kris Kennaway
On Fri, Jun 16, 2006 at 05:08:30PM -0400, Scott Tuc Ellentuch at T-B-O-H wrote:

 6) portupgrade -Ri of anything that was xorg*, nvidia*

If you didn't use -f for nvidia-driver then it may not have rebuilt.

Kris


pgp09noI5d4Dd.pgp
Description: PGP signature


Re: Getting Source Code after Installing the Software

2006-06-16 Thread dgmm
On Friday 16 June 2006 21:27, Mayo, Richard A RDECOM CERDEC STCD SRI wrote:
 I installed FreeBSD on a couple of computers without installing any source
 code.  Now (naturally), I want to get a hold of the kernel source so I can
 re-compile and enable support for PIM and Multicast Routing.

 However, I can't figure how to get the source off my CDs.  I downloaded the
 ISO's for Disk 1 and Disk 2 of FreeBSD 6.1--RELEASE. Can anybody tell me
 where I can find the source code on these disks so I don't have to run a
 re-installation just to get it??

As root run sysinstall

select:
Configure
Distributions
src
Install
-- 
Dave
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Possible to go from 5.5 to 5.4?

2006-06-16 Thread Tuc at T-B-O-H.NET
 On Fri, Jun 16, 2006 at 05:08:30PM -0400, Scott Tuc Ellentuch at T-B-O-H 
 wrote:
 
  6) portupgrade -Ri of anything that was xorg*, nvidia*
 
 If you didn't use -f for nvidia-driver then it may not have rebuilt.
 
Well, my nvidia-driver was out of date as is. So I didn't
need to do an -f. Same with alot of my xorg*. I probably should
have been smarter (TOO LATE!!) to upgrade my nvidia first, run for
a while THEN go to 5.5 . 

So it did get rebuilt. And when I portdowngraded and then
portupgraded -f'd it, (I did mention that, right?) it would have
re-installed it anyway.

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


Re: Directory and file comparison tool for X?

2006-06-16 Thread martinko
Norberto Meijome wrote:
 Hi all,
 I'm looking for a tool that will allow me to compare directories (recursively)
 showing what files are different,etc. meld ( textproc/meld ) can do this to
 some extent, showing missing files,etc, but not showing what files are
 different withoug having to open each file and do a diff.
 
 There is a little app for Win32 called Beyond Compare (commercial, written in
 Delphi) , from Scooter Software (www.scootersoftware.com) which does all this 
 -
 i need an similar tool :)
 
 Any suggestions?
 
 thanks in advance,
 Beto

try these (from ports):

dirdiff
tkdiff

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


Re: Getting Source Code after Installing the Software

2006-06-16 Thread Jonathan Chen
On Fri, Jun 16, 2006 at 04:27:31PM -0400, Mayo, Richard A RDECOM CERDEC STCD 
SRI wrote:
 I installed FreeBSD on a couple of computers without installing any source 
 code.  Now (naturally), I want to get a hold of the kernel source so I can 
 re-compile and enable support for PIM and Multicast Routing.
 
 However, I can't figure how to get the source off my CDs.  I downloaded the 
 ISO's for Disk 1 and Disk 2 of FreeBSD 6.1--RELEASE.
 Can anybody tell me where I can find the source code on these disks so I 
 don't have to run a re-installation just to get it??

# mount /cdrom
# cd /cdrom/6.1-RELEASE/src
# ./install.sh

-- 
Jonathan Chen [EMAIL PROTECTED]
--
char *p=char *p=%c%s%c;main(){printf(p,34,p,34);};main(){printf(p,34,p,34);}
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ripping enhanced audio CDs

2006-06-16 Thread martinko
Mac Newbold wrote:
 
 This has finally caused me enough grief that I'm going to ask about it
 and see if there's something I'm doing wrong or some nice solution to
 this really annyoing problem.
 
 I'm on a 5-STABLE box, currently 5.5-PRERELEASE. I use cdparanoia and
 lame (via abcde) to rip my CDs to MP3. (This has happened to me with
 other rippers, like cdda2wav, IIRC, also.) Whenever I try to rip an
 enhanced CD that has one or more data tracks along with the audio
 tracks, it crashes the computer when it gets near the enhanced tracks.
 It has happened on a wide variety of CDs, all enhanced, and over a long
 period of time. It is very repeatable. Even if I ask the ripper to rip
 only the track prior to the enhanced track, it still crashes when it
 gets about 90-95% through the track. Even if I try to break out at that
 point, it still crashes the box.
 
 Jun 14 11:27:21 mybox kernel: acd0: FAILURE - READ_CD HARDWARE ERROR
 asc=0x08 ascq=0x01 error=0
 Jun 14 11:27:21 mybox kernel: acd0: FAILURE - READ_CD ILLEGAL REQUEST
 asc=0x64 ascq=0x00 error=0
 Jun 14 11:27:22 mybox last message repeated 11 times
 
 I know has happened to me on both CD-ROM/RW drives and on my atapicam
 DVD+/-RW drive. I seem to remember it happening on 4-STABLE boxes too,
 with widely different hardware (different mobo makers, chipsets, etc.)
 
 Does anyone know what causes this or what the fix is? Has anyone else
 had this problem and found a suitable workaround?
 
 Right now the only workaround I've found is to start ripping the track,
 and let it crash the computer, then encode the track when it boots back
 up. Not a very happy workaround, as I have to fsck every time. :(
 
 Any help or suggestions you can offer are greatly appreciated!
 
 Thanks,
 Mac
 
 -- 
 Mac NewboldMNE - Mac Newbold Enterprises, LLC
 [EMAIL PROTECTED]http://www.macnewbold.com/
 ___

well, it has happened to me last week. but until now i've been under
impression it was because of copy-protection. but hey, it happened right
there before the end of the last track which was followed by data track.
the cd was depeche mode playing the angel from 2005. the cover says it's
copy protected. still i haven't had any issue grabbing the whole disc
but the last track. crashing my system is very bad indeed. shouldn't
happen, never. the sw used was abcde with cdparanoia.

regards.

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


portsnap recreates /usr/ports for no apparent reason

2006-06-16 Thread martinko
hello,

i've just discovered strange and unexpected behaviour of portsnap:
i configured sudo to allow me to run the script with the following contents:
/usr/sbin/portsnap fetch
/usr/sbin/portsnap update
/usr/local/sbin/portversion -v -l 
/usr/local/sbin/portaudit -Fda
to be precise -- i allow my user to run (via sudo) any of the programs
above plus the script itself.
now when i first ran the script as a normal user via sudo, portsnap
deleted and recreated the whole /usr/ports directory structure.
subsequent runs went as expected. then i ran the script from root as i
had been always doing and again portsnap deleted and recreated the whole
ports directory structure.
i guess this is not intended right?
or am i missing something here?

cheers,

martin

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


Contributor/Developer

2006-06-16 Thread James Retza
Good day!

 

Since FreeBSD 3 I have been an active student/user/hacker on my own x86
(Netfinity) based small cluster of servers. Initially, I started with
FreeBSD as a path to learn *NIX style operating systems as well as the c
programming language, after having spent several years breaking and fixing
just about everything I could, and running FreeBSD alongside Solaris x86 
Fedora, I now feel confident enough to take the next step in joining the
community. 



I would like to become a contributor/developer for FreeBSD. I am
particularly interested in bringing new features such as ZFS and DTrace to
BSD. I am aware of the ongoing work by folks already working on porting
DTrace, but am unaware of any ongoing projects to bring ZFS to FreeBSD.
Regardless of my preferences, I would be more than happy to get involved
where-ever I might be of use whether it be in code, documentation, etc. I am
fortunate enough to make my living at home as a website and web application
developer for a small design firm with a handful of solid clients; so I can
easily make the necessary commitment of time and resources to pursue such a
path. My previous contributions have included development work for JRun 3 
4 and ColdFusion 4-7 for the now Adobe owned Macromedia and once upon a time
Allaire. I wish now to take on something more challenging and rewarding.
Please inform me as to how I may become a contributor/developer/whatever and
where I may most be of use. 

 

Thank you,

 

James Retza

[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: freebsd on a newer pc

2006-06-16 Thread Jonathan Horne
 trying to install freebsd 6.1 on a hp dc7100 (p4 3.4, sata, a pci-x slot,
 etc).  im having a couple issues getting it up and running with freebsd.

 main issue is, i cannot get the system to power off with acpi.  it will
 shutdown, but it stops at a screen that just says the system  has powered
 off with acpi, hit any key to reboot, or something along that nature.
 ideally, i would like to figure out how to get it to behave normally, and
 fully power itself off when i give it 'shutdown -p now'.  the bios
 mentions lots of S3 related stuff under power management, but i dont have
 a good understanding of what that does.  i did try disabling some stuff,
 but it had no effect on powerdown behavior.

 i would appreciate any advice anyone has.

 thanks,
 jonathan

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



well, i figured out that if at the boot selection screen, if i choose
option 2 boot with acpi enabled, i can then give 'shutdown -p now' and
the system will then power off properly. easy enough...

but how do i set option 2 as my default boot selection?  i dont see
anything about this in the handbook.

thanks,
jonathan


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


Re: ripping enhanced audio CDs

2006-06-16 Thread Dave

Hello,
   I don't know if this is related to the topic under discussion, but i'm 
trying to rip a new CD it contains both video and audio and i'm stuck on 
track 13. In my /var/log/messages i'm seeing this, and then the msg Last 
message repeated 300 times and as the system tries to read and writes out 
the message to syslog the machine gets slower and slower. This is on a 6.1 
box, and i never let it go long enough for a crash.

Thanks.
Dave.

Jun 16 19:55:25 zeus kernel: acd0: FAILURE - READ_CD ILLEGAL REQUEST 
asc=0x64 ascq=0x00 error=4ABORTED

Jun 16 19:55:57 zeus last message repeated 338 times

- Original Message - 
From: martinko [EMAIL PROTECTED]

To: freebsd-questions@freebsd.org
Sent: Friday, June 16, 2006 6:21 PM
Subject: Re: ripping enhanced audio CDs



Mac Newbold wrote:


This has finally caused me enough grief that I'm going to ask about it
and see if there's something I'm doing wrong or some nice solution to
this really annyoing problem.

I'm on a 5-STABLE box, currently 5.5-PRERELEASE. I use cdparanoia and
lame (via abcde) to rip my CDs to MP3. (This has happened to me with
other rippers, like cdda2wav, IIRC, also.) Whenever I try to rip an
enhanced CD that has one or more data tracks along with the audio
tracks, it crashes the computer when it gets near the enhanced tracks.
It has happened on a wide variety of CDs, all enhanced, and over a long
period of time. It is very repeatable. Even if I ask the ripper to rip
only the track prior to the enhanced track, it still crashes when it
gets about 90-95% through the track. Even if I try to break out at that
point, it still crashes the box.

Jun 14 11:27:21 mybox kernel: acd0: FAILURE - READ_CD HARDWARE ERROR
asc=0x08 ascq=0x01 error=0
Jun 14 11:27:21 mybox kernel: acd0: FAILURE - READ_CD ILLEGAL REQUEST
asc=0x64 ascq=0x00 error=0
Jun 14 11:27:22 mybox last message repeated 11 times

I know has happened to me on both CD-ROM/RW drives and on my atapicam
DVD+/-RW drive. I seem to remember it happening on 4-STABLE boxes too,
with widely different hardware (different mobo makers, chipsets, etc.)

Does anyone know what causes this or what the fix is? Has anyone else
had this problem and found a suitable workaround?

Right now the only workaround I've found is to start ripping the track,
and let it crash the computer, then encode the track when it boots back
up. Not a very happy workaround, as I have to fsck every time. :(

Any help or suggestions you can offer are greatly appreciated!

Thanks,
Mac

--
Mac NewboldMNE - Mac Newbold Enterprises, LLC
[EMAIL PROTECTED]http://www.macnewbold.com/
___


well, it has happened to me last week. but until now i've been under
impression it was because of copy-protection. but hey, it happened right
there before the end of the last track which was followed by data track.
the cd was depeche mode playing the angel from 2005. the cover says it's
copy protected. still i haven't had any issue grabbing the whole disc
but the last track. crashing my system is very bad indeed. shouldn't
happen, never. the sw used was abcde with cdparanoia.

regards.

___
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: Possible to go from 5.5 to 5.4?

2006-06-16 Thread Ian Moore
On Saturday 17 June 2006 07:04, Tuc at T-B-O-H.NET wrote:
  On Fri, Jun 16, 2006 at 05:08:30PM -0400, Scott Tuc Ellentuch at T-B-O-H 
wrote:
   6) portupgrade -Ri of anything that was xorg*, nvidia*
 
  If you didn't use -f for nvidia-driver then it may not have rebuilt.

   Well, my nvidia-driver was out of date as is. So I didn't
 need to do an -f. Same with alot of my xorg*. I probably should
 have been smarter (TOO LATE!!) to upgrade my nvidia first, run for
 a while THEN go to 5.5 .

   So it did get rebuilt. And when I portdowngraded and then
 portupgraded -f'd it, (I did mention that, right?) it would have
 re-installed it anyway.

Are you running an opengl screensaver? If so, I'd suspect it's opengl that's 
causing the problem.
I do the following in such cases:
portupgrade -f nvidia-driver\* xorgclients\* 
portupgrade -fr libglut\*

A portupgrade -f xorg\* wouldn't go astray either!

Cheers,
Ian
gpg key: http://home.swiftdsl.com.au/~imoore/no-spam.asc


pgpBC5suZWLTM.pgp
Description: PGP signature


Re: freebsd on a newer pc

2006-06-16 Thread Chad Leigh -- Shire.Net LLC


On Jun 16, 2006, at 5:09 PM, Jonathan Horne wrote:


well, i figured out that if at the boot selection screen, if i choose
option 2 boot with acpi enabled, i can then give 'shutdown -p  
now' and

the system will then power off properly. easy enough...

but how do i set option 2 as my default boot selection?  i dont see
anything about this in the handbook.



My experience has been that once you boot that way once it becomes  
the default.  Play around with it


Chad

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


Random panics on FreeeBSD 6.0

2006-06-16 Thread Matthew Navarre
I've got an AMD Sempron machine running FreeBSD 6.0 that's been  
experiencing random panics while trying to build world. In fact it  
just paniced now, with no activity.


The panic message is TPTE at 0xbfc20624 IS ZERO @ VA 0810
bad pte

This started last night while I was portupgrading ruby and I got  
random apps segfaulting, mostly gcc, so I suspected bad memory. I  
installed new memory today, tried to buildworld. And *BAM* panic: bad  
pte


I'm still guessing that this is a hardware problem, and not software  
but I'm not sure. If anyone can give me a clue I'd appreciate it.


Machine details:
AMD Sempron
ECS K8M800-M2 mainboard
1 GB Kingston PC-3200.

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


Re: Random panics on FreeeBSD 6.0

2006-06-16 Thread Micah

Matthew Navarre wrote:
I've got an AMD Sempron machine running FreeBSD 6.0 that's been 
experiencing random panics while trying to build world. In fact it just 
paniced now, with no activity.


The panic message is TPTE at 0xbfc20624 IS ZERO @ VA 0810
bad pte

This started last night while I was portupgrading ruby and I got random 
apps segfaulting, mostly gcc, so I suspected bad memory. I installed new 
memory today, tried to buildworld. And *BAM* panic: bad pte


I'm still guessing that this is a hardware problem, and not software but 
I'm not sure. If anyone can give me a clue I'd appreciate it.


Machine details:
AMD Sempron
ECS K8M800-M2 mainboard
1 GB Kingston PC-3200.

Thanks,
Matt


First, a quick Google of bad pte turns up some ideas. Try disabling or 
changing APIC and/or ACPI settings.  Make sure your swap partition is 
error free and has enough room.  Google a bit more just on the 
lists.freebsd.org site for several possibilities.


For hardware, you can try memtest86+ to check to make sure the new 
memory is good. There are other stress tests you can run as well - I 
usually use the ultimate boot CD for that stuff. Other possible problems 
are faulty or too small power supply; too much heat on CPU, RAM, or 
expansion boards; faulty expansion cards and/or components; or faulty 
hard drive.


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


Re: Contributor/Developer

2006-06-16 Thread Eric Schuele

On 06/16/06 17:39, James Retza wrote:

Good day!



[snip]


Please inform me as to how I may become a contributor/developer/whatever and
where I may most be of use. 


might start here:
http://www.freebsd.org/doc/en_US.ISO8859-1/articles/contributing/

HTH



 


Thank you,

 


James Retza

[EMAIL PROTECTED]

 






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




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


Re: Random panics on FreeeBSD 6.0

2006-06-16 Thread Matthew Navarre


On Jun 16, 2006, at 7:17 PM, Micah wrote:


Matthew Navarre wrote:
I've got an AMD Sempron machine running FreeBSD 6.0 that's been  
experiencing random panics while trying to build world. In fact it  
just paniced now, with no activity.

The panic message is TPTE at 0xbfc20624 IS ZERO @ VA 0810
bad pte
This started last night while I was portupgrading ruby and I got  
random apps segfaulting, mostly gcc, so I suspected bad memory. I  
installed new memory today, tried to buildworld. And *BAM* panic:  
bad pte
I'm still guessing that this is a hardware problem, and not  
software but I'm not sure. If anyone can give me a clue I'd  
appreciate it.

Machine details:
AMD Sempron
ECS K8M800-M2 mainboard
1 GB Kingston PC-3200.
Thanks,
Matt


First, a quick Google of bad pte turns up some ideas. Try  
disabling or changing APIC and/or ACPI settings.  Make sure your  
swap partition is error free and has enough room.  Google a bit  
more just on the lists.freebsd.org site for several possibilities.


Yeah, I was wondering if it might be something in the BIOS settings.  
I'll google around and see what I find. I don't know if the first  
panic was a bad pte error since the machine was running headless.




For hardware, you can try memtest86+ to check to make sure the new  
memory is good. There are other stress tests you can run as well -  
I usually use the ultimate boot CD for that stuff. Other possible  
problems are faulty or too small power supply; too much heat on  
CPU, RAM, or expansion boards; faulty expansion cards and/or  
components; or faulty hard drive.


I kinda wondered if heat might be an issue, since it was kind of  
tucked away in a spot with bad airflow. I'll try the memtest thing.  
Is there a way to get the CPU temp in FreeBSD?


Meh. let's see if this thing'll actually compile...

Thanks, Micah


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


Re: Random panics on FreeeBSD 6.0

2006-06-16 Thread Chris Hill

On Fri, 16 Jun 2006, Matthew Navarre wrote:


Is there a way to get the CPU temp in FreeBSD?


sysutils/mbmon

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


Re: freebsd on a newer pc

2006-06-16 Thread Jonathan Horne

 On Jun 16, 2006, at 5:09 PM, Jonathan Horne wrote:

 well, i figured out that if at the boot selection screen, if i choose
 option 2 boot with acpi enabled, i can then give 'shutdown -p
 now' and
 the system will then power off properly. easy enough...

 but how do i set option 2 as my default boot selection?  i dont see
 anything about this in the handbook.


 My experience has been that once you boot that way once it becomes
 the default.  Play around with it

 Chad

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




i dont think thats the behavior im getting.  when i hit 2 to boot:

athena# kldstat
Id Refs AddressSize Name
 13 0xc040 6ab778   kernel
 21 0xc0aac000 59960acpi.ko
athena# uname -a
FreeBSD athena.int.dfwlp.com 6.1-STABLE FreeBSD 6.1-STABLE #0: Fri Jun 16
20:48:52 CDT 2006
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/ATHENA  i386

and when i dont:
athena# kldstat
Id Refs AddressSize Name
 11 0xc040 6ab778   kernel

when i want to boot the acpi support, i hit 2.  is that the proper way, or
is there some other way that resets this mode as default?

thanks,
jonathan



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


Re: freebsd on a newer pc

2006-06-16 Thread Micah

Jonathan Horne wrote:

On Jun 16, 2006, at 5:09 PM, Jonathan Horne wrote:

well, i figured out that if at the boot selection screen, if i choose
option 2 boot with acpi enabled, i can then give 'shutdown -p
now' and
the system will then power off properly. easy enough...

but how do i set option 2 as my default boot selection?  i dont see
anything about this in the handbook.


My experience has been that once you boot that way once it becomes
the default.  Play around with it

Chad

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





i dont think thats the behavior im getting.  when i hit 2 to boot:

athena# kldstat
Id Refs AddressSize Name
 13 0xc040 6ab778   kernel
 21 0xc0aac000 59960acpi.ko
athena# uname -a
FreeBSD athena.int.dfwlp.com 6.1-STABLE FreeBSD 6.1-STABLE #0: Fri Jun 16
20:48:52 CDT 2006
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/ATHENA  i386


and when i dont:
athena# kldstat
Id Refs AddressSize Name
 11 0xc040 6ab778   kernel

when i want to boot the acpi support, i hit 2.  is that the proper way, or
is there some other way that resets this mode as default?

thanks,
jonathan


Last I read FreeBSD defaults ACPI off for systems that have broken 
ACPI, and defaults on for systems that have working ACPI. If you're 
sure your ACPI works without any problems add acpi_load=YES to your 
loader.conf. (that might not be the correct solution, but it should work).


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


Re: Random panics on FreeeBSD 6.0

2006-06-16 Thread Micah

Matthew Navarre wrote:


On Jun 16, 2006, at 7:17 PM, Micah wrote:


Matthew Navarre wrote:
I've got an AMD Sempron machine running FreeBSD 6.0 that's been 
experiencing random panics while trying to build world. In fact it 
just paniced now, with no activity.

The panic message is TPTE at 0xbfc20624 IS ZERO @ VA 0810
bad pte
This started last night while I was portupgrading ruby and I got 
random apps segfaulting, mostly gcc, so I suspected bad memory. I 
installed new memory today, tried to buildworld. And *BAM* panic: bad 
pte
I'm still guessing that this is a hardware problem, and not software 
but I'm not sure. If anyone can give me a clue I'd appreciate it.

Machine details:
AMD Sempron
ECS K8M800-M2 mainboard
1 GB Kingston PC-3200.
Thanks,
Matt


First, a quick Google of bad pte turns up some ideas. Try disabling 
or changing APIC and/or ACPI settings.  Make sure your swap partition 
is error free and has enough room.  Google a bit more just on the 
lists.freebsd.org site for several possibilities.


Yeah, I was wondering if it might be something in the BIOS settings. 
I'll google around and see what I find. I don't know if the first panic 
was a bad pte error since the machine was running headless.




For hardware, you can try memtest86+ to check to make sure the new 
memory is good. There are other stress tests you can run as well - I 
usually use the ultimate boot CD for that stuff. Other possible 
problems are faulty or too small power supply; too much heat on CPU, 
RAM, or expansion boards; faulty expansion cards and/or components; or 
faulty hard drive.


I kinda wondered if heat might be an issue, since it was kind of tucked 
away in a spot with bad airflow. I'll try the memtest thing. Is there a 
way to get the CPU temp in FreeBSD?


As mentioned, mbmon might work, but don't think that CPU is the only 
generator of heat. I had random reboots due to an overheating graphics 
card once. A spot thermometer comes in handy at a time like this.


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


FreeBSD equivalent to DRBD

2006-06-16 Thread bsd
Hi all,

ISTR something about a FreeBSD equivalent to DRBD on Linux ie creating a
raid device using disks on different machines, but I've not been able to
locate any info.

Does anybody have any info and or howtos. I am thinking of putting
together a HA NFS server cluster using something like heartbeat with DRBD.
As all my servers are Freebsd, I would like to stick with it. Any
suggestions?

Rob



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