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

2007-03-16 Thread Dieter
An alternative to undocumented graphics/video cards is in the works.
The Open Graphics Project has a prototype working.  If you can
assist the project (engineering talent, financial, etc.) the
production boards will be available sooner.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: burncd makes disk that is unmountable

2007-03-16 Thread Dieter
> > > > AMD64 running 6.0
> > > > Drive is:
> > > >   acd0: DVDR  at ata0-master UDMA66
> > > > Media is CD-RW
> > > > 
> > > > Burned a 6.2 disk using:
> > > >   burncd data 6.2-RELEASE-amd64-disc1.iso fixate
> > > > as suggested in
> > > >   
> > > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/creating-cds.html
> > > 
> > > I don't remember the details, but when I got to 6.1, I found that
> > > my old burncd parameters would not work and I had to change them.
> > > 
> > > I don't remember the details, but I settled upon:
> > >   /usr/sbin/burncd -v -f /dev/acd0 data FreeBSD62-disc1.iso fixate
> > > which seems to work find.  Both boots and mounts.  That doesn't look
> > > materially different from yours, but...
> > 
> > It is defaulting to the correct device.
> > 
> > > > Seemed to go okay.  Disk boots, but I cannot mount it:
> > > > 
> > > > fstab entry:
> > > >   /dev/acd0   /cdrom  cd9660  ro,noauto   0 
> > > >   0
> > > > 
> > > > Yields:
> > > >   g_vfs_done():acd0[READ(offset=32768, length=2048)]error = 5
> > > > 
> > > > Tried it with and without "fixate", neither will mount.
> > > > 
> > > > Other iso disks (probably burned using NetBSD) mount fine.
> > > > UFS DVD+RW disks burned under FreeBSD using growisofs mount fine.
> > > > 
> > > > Given the error message, I assume that the block/sector at 32768 isn't
> > > > getting written.
> > 
> > New data:  NetBSD mounts both disks (with and without "fixate") just fine.
> > So perhaps the problem is with FreeBSD's mount rather than burncd?
>
> Typing in mount yields what options with NetBSD?

Command is:

 mount /cdrom

NetBSD's fstab entry:

/dev/cd0a   /cdrom  cd9660  ro,noauto   0  0

Identical to FreeBSD's entry, except for the device name and perhaps whitespace.

I now have FreeBSD 6.2 up and limping, and it fails the same way as 6.0.
Also tried another OS, but the stupid penguin can't even find the drive.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Error Compile Kernel

2007-03-16 Thread Kris Kennaway
On Sat, Mar 17, 2007 at 11:35:47AM +0700, Toan. Bach Quang Bao wrote:

> ip_input.o(.text+0x200): In function `ip_init':
> 
> ../../../netinet/ip_input.c:312: undefined reference to
> `nf_sockopt_init'

You forgot to mention what version of FreeBSD you are trying to
compile, but I can't find any remotely similar function call in that
file (or in the entire kernel) in either 6.x or 7.x.

Are you sure this isn't a local modification you made?

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


Re: Error Compile Kernel

2007-03-16 Thread Garrett Cooper

On Mar 16, 2007, at 9:35 PM, Toan. Bach Quang Bao wrote:


Dear,



I have compile kernel:



 cd /usr/src/sys/i386/conf

 mkdir /root/kernels

 cp GENERIC /root/kernels/MYKERNEL

 ln -s /root/kernels/MYKERNEL

 /usr/sbin/config MYKERNEL

 cd ../compile/MYKERNEL

 make depend

 make

 make install



But when I "make" it have error:



# make

linking kernel.debug

ip_input.o(.text+0x200): In function `ip_init':

../../../netinet/ip_input.c:312: undefined reference to
`nf_sockopt_init'

*** Error code 1



Stop in /usr/src/sys/i386/compile/MYKERNEL.



Please help me.



Thanks & Best Regard,

Bach Quang Bao Toan


You're missing a dependency in your kernel config. Best way to  
resolve this with the most learning experience is to take your  
drivers included in your kernel and go "man {driver name}". The man  
page lists all the dependencies for the required driver.


As a hint though, I bet the driver you're missing is net related,  
most likely dealing with bpf, ether, or options INET.


Make sure to run make clean when changing options if you have  
NO_CLEAN set to yes in /etc/make.conf.

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


Error Compile Kernel

2007-03-16 Thread Toan. Bach Quang Bao
Dear,

 

I have compile kernel:

 

 cd /usr/src/sys/i386/conf

 mkdir /root/kernels

 cp GENERIC /root/kernels/MYKERNEL   

 ln -s /root/kernels/MYKERNEL

 /usr/sbin/config MYKERNEL

 cd ../compile/MYKERNEL

 make depend

 make

 make install

 

But when I "make" it have error:

 

# make

linking kernel.debug

ip_input.o(.text+0x200): In function `ip_init':

../../../netinet/ip_input.c:312: undefined reference to
`nf_sockopt_init'

*** Error code 1

 

Stop in /usr/src/sys/i386/compile/MYKERNEL.

 

Please help me.

 

Thanks & Best Regard,

Bach Quang Bao Toan

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


Re: Corrupted OS

2007-03-16 Thread Garrett Cooper

On Mar 16, 2007, at 7:34 PM, Drew Jenkins wrote:

How large is "large"? Why filesystem are you using with what  
options?The MySQL database was just under a gigabyte, and the Zope  
Data.fs file/database was somewhere under 2 gigabytes. Options? No  
options. I had symlinks from where these dbases were supposed to  
live on the SCSI drives to the 500 GB drive. Then suddenly, poof!  
They were gone.

Drew


Well, I was curious because I thought it could be something to deal  
with the 2GB file limit. You still haven't answered my question about  
the filesystem though: are you using UFS2 or something else?


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


Re: Corrupted OS

2007-03-16 Thread Drew Jenkins
2How large is "large"? Why filesystem are you using with what options?The MySQL 
database was just under a gigabyte, and the Zope Data.fs file/database was 
somewhere under 2 gigabytes. Options? No options. I had symlinks from where 
these dbases were supposed to live on the SCSI drives to the 500 GB drive. The 
MySQL was called from the Zope, of course. Then suddenly, poof! They were gone.
Drew

 
-
Never miss an email again!
Yahoo! Toolbar alerts you the instant new Mail arrives. Check it out.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Corrupted OS

2007-03-16 Thread Drew Jenkins
How large is "large"? Why filesystem are you using with what options?The MySQL 
database was just under a gigabyte, and the Zope Data.fs file/database was 
somewhere under 2 gigabytes. Options? No options. I had symlinks from where 
these dbases were supposed to live on the SCSI drives to the 500 GB drive. Then 
suddenly, poof! They were gone.
Drew

 
-
 Get your own web address.
 Have a HUGE year through Yahoo! Small Business.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Optimizationn questions?

2007-03-16 Thread Jeffrey Goldberg

On Mar 16, 2007, at 10:00 AM, Jerry McAllister wrote:


On Fri, Mar 16, 2007 at 02:19:25AM +0100, Danny Pansters wrote:


On Friday 16 March 2007 01:04:51 Jeffrey Goldberg wrote:



me, too.


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


Ah but some of us boot frequently.  We have to after each kernel  
rebuild.


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


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

YMMV of course.


I think what he was saying is that if you already need to build a
kernel for some other reason, then go ahead and strip out the
unused stuff.   But, if you don't have any other reason to do it,
it is not worth the bother to build another kernel just to strip
it of unused stuff - that it won't make THAT much difference.

I'd agree with that.


me, too.

I've got some linux workstations for which I've never felt the need  
to compile my own kernel.  But my FreeBSD box is a headless ITX-mini  
board that will run as a public server.  Because there was so much of  
GENERIC that I could discard for my box, it seemed to make sense.   
But I suppose the single most important factor in my decision to  
compile my own kernel is


 "Building a custom kernel is one of the most important rites of  
passage nearly

  every BSD user must endure."

From:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ 
kernelconfig-custom-kernel.html


Also I have m0n0wall running on a Soekris box, and someday I may want  
to customize that, so this is a good learning experience.


It's really

-j


--
Jeffrey Goldberghttp://www.goldmark.org/jeff/

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


Re: Corrupted OS

2007-03-16 Thread Wojciech Puchar

23Hi;
Is it possible to rebuild an OS without reformatting the hard drive? I have 
FBSD6.2, so I can't upgrade.


upgrade to what?

of course it's is possible to do this with any version.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Xfce 4.4 and Thunar automounting of USB stick

2007-03-16 Thread Kevin Kinsey

Chess Griffin wrote:

On 3/16/07, Kevin Kinsey <[EMAIL PROTECTED]> wrote:

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

ports or packages about thunar-vfs.


Hmm, which did you install first, HAL or Thunar?



*doh!*

I had installed Thunar first and then HAL... :)  I just uninstalled
Thunar and rebuilt it with HAL on the system. Auto-mounting works
fine, now.  Problem solved.  Sheesh, I feel silly.

Thank you, Kevin!


NP --- everybody has those moments.  And, for a real kick in the funny 
bone, look what a random pass of `fortune -s` added to the .sig on this 
one


H.A.N.D.!!

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


Re: Corrupted OS

2007-03-16 Thread youshi10

On Fri, 16 Mar 2007, Drew Jenkins wrote:


Thanks! That's great!
Here's why the OS is corrupt:
1) Suddenly, large data files which were on the 500 GB HD were wiped. I hadn't 
been working in anything associated with them for some time before that. They 
just disappeared. This is exactly what happened before on the old server, but 
then I had done something to damage it (entered a bad command).
2) Now, as then, quirky things are happening, forcing me to do work-arounds 
when none should be done, or to abandon projects I'd like to do. For example, I 
copied a MySQL database as another dbase with another name, wiped all the data 
from the new dbase, and copied a shopping cart app I've built in Zope to a new 
site I'm building. I entered new categories into the new dbase. However, when I 
surf to my interface in the new Zope site I'm building, the old cats appear! 
There's no connection whatsoever. Even the background color of the display 
pages is picked up from the old site, goodness knows how. If I use the Zope 
interface to enter data into the products table, it works, but with the old 
cats. If I enter data into that table through MySQL, it displays in the new 
Zope site. I had to hard-wire the new cats to get it to work. I still don't 
know why the bgcolor for the page is the same as the old site, either.

This kind of crap happens over and over again, and I have no explanation.2 Last 
time, it screwed up my clients' email, something I'm loathe to do. Eventually, 
the whole system died on me.
TIA,
Drew

Jerry McAllister <[EMAIL PROTECTED]> wrote: On Fri, Mar 16, 2007 at 01:33:42PM 
-0700, Drew Jenkins wrote:


I believe you misunderstand. I have 3 disks:
2 are SCSI RAID and are 80 GB each
1 is not and is 500 GB
I don't actually need the 500 GB now. I haven't even used up the 80 GB HD's.
So I can wipe the 500 GB clean. I don't have to keep data on it at all.
But...can I do that remotely, and run those commands remotely, with that
disk being unmounted, and if so...how?


You can do it remotely.   Once everything on that disk is unmounted
and unreferenced, then fdisk and bsdlabel will be happy to work on it.

The best documentation for that is down in the examples of
the bsdlabel man page.

  dd if=/dev/zero of=/dev/da0 bs=512 count=32
  fdisk -BI da0
  dd if=/dev/zero of=/dev/da0s1 bs=512 count=32
  bsdlabel -w -B da0s1
  bsdlabel -e da0s1

Change the device names to be what yours really are (da0 may be ad3
or something.   I also upped the count on the dd, but it doesn't matter.

Follow this with a newfs for each partition except swap that you
create on this disk.



The problem *is* a corrupt OS. I currently don't have any data on
that 500 GB HD. And the problems persist. Sorry to have confused you.
Are things clearer now?


Well, it seems clear that there is no problem with the 500 GB disk.
You can just fdisk it.   If you want, write a few blocks of zeros to
it first to make sure the system believes it clean if you want.  Probably
shouldn't need to, though.
 dd if=/dev/zero of=/dev/extra-drive-name bs=512 count=250

As for the corrupt OS, I don't understand what that is and why
you think that or whatever.

jerry


TIA,
Drew2


How large is "large"? Why filesystem are you using with what options?

-Garrett

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


Re: Optimizationn questions?

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

Thanks for another tip to squeeze the last picosecond out of my
elderly box!  (I just began re-building gcc-43 after its 12mar07
update; it may be better at loop-unrolling than gcc-3.x.  Every 
jot helps;)

gary


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

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


Re: FW: /usr parition is empty!

2007-03-16 Thread rloefgren
Check /etc/fstab; /usr might be a mountpoint for a filesystem on another 
drive in the localhost, or a completely different machine, although I 
suspect if that were the case you'd see some complaints in the bott 
output.

Good luck,

r



On Fri, 16 Mar 2007, Bret J. Esquivel wrote:






From: Bret J. Esquivel [mailto:[EMAIL PROTECTED]
Sent: Friday, March 16, 2007 3:54 PM
To: [EMAIL PROTECTED]
Subject: /usr parition is empty!



Help!



I'm currently stumped at a client of mine. Their /usr partition on this 6.1
box is completely empty. The problem arose when no one could login due to
the fact that /usr/bin/login was missing. Does anyone have any advice or
information about this?



I rebooted to single-user mode and mounted /usr without problems. It is only
empty.



Thank you very much in advance!



Bret Esquivel

___
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: Automating MERGEMASTER(8)

2007-03-16 Thread Pieter de Goeje
On Friday 16 March 2007 10:32, Kyrre Nygård wrote:
> Hello,
>
> Is it possible to make MERGEMASTER(8) automatically replace files
> with a FreeBSD CVS Id, and skip (or prompt interactively) the ones
> without a FreeBSD CVS Id? The ones without are most certainly my own
> personalized configuration files. I'd really like to keep them
> intact. And on every MERGEMASTER(8) session I tend to replace every
> single file but them.
>
> Thanks everyone!
>
> All the best,
> Kyrre
mergemaster -U

Cheers,

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


Re: Xfce 4.4 and Thunar automounting of USB stick

2007-03-16 Thread Chess Griffin

On 3/16/07, Kevin Kinsey <[EMAIL PROTECTED]> wrote:

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

Hmm, which did you install first, HAL or Thunar?

KDK


*doh!*

I had installed Thunar first and then HAL... :)  I just uninstalled
Thunar and rebuilt it with HAL on the system. Auto-mounting works
fine, now.  Problem solved.  Sheesh, I feel silly.

Thank you, Kevin!

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


HPLIP and FreeBsd

2007-03-16 Thread Charlie & Root
I have HP Office Jet 4315 All -in- one(USB).
everething installed. Just one problem - Print Manager(HPlip) does not see 
this usb-printer. I'll appreciate a little help.
Thankyou.
here is some logs:
1)

ool-18bb9d56# /usr/local/share/hplip/check

HP Linux Imaging and Printing System (ver. 1.7.1)
Dependency/Version Check Utility ver. 5.2

Copyright (c) 2003-6 Hewlett-Packard Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.


---
| SYSTEM INFO |
---

Basic system information:
FreeBSD ool-18bb9d56.dyn.optonline.net 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri 
Jan 12 11:05:30 UTC 2007     
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/SMP  i386

Detected distro (/etc/issue):
unknown 0.0

Detected distro (lsb_release):
error: lsb_release not found.

Currently installed HPLIP version...
HPLIP 1.7.1 currently installed in '/usr/local/share/hplip'.

Current contents of '/etc/hp/hplip.conf' file:
# hplip.conf

[hpiod]
# port=0 (dynamic IP port)
port=2208
[hpssd]
# port=0 (dynamic IP port)
port=2207
[dirs]
run=/var/run

[hplip]
version=1.7.1
jdprobe=0

[dirs]
home=/usr/local/share/hplip
run=/var/run
ppd=/usr/local/share/ppd/HP
doc=/usr/local/share/doc/hplip-1.7.1

# Following values are determined at configure time and cannot be changed.
[configure]
network-build=1
pp-build=0
gui-build=1
scanner-build=1
fax-build=1
installinitd=
chkconfig=
internal-tag=1.7.1.5
home=/usr/local/share/hplip
ppd=/usr/local/share/ppd


HPLIP running?
Yes, HPLIP is running (OK).

HPOJ running?
error: Yes, HPOJ is running. HPLIP is not compatible with HPOJ. To run HPLIP, 
please remove HPOJ.

Checking Python version...
OK, version 2.4.3 installed

Checking PyQt version...
OK, version 3.17 installed.

Checking SIP version...
OK, Version 4.5.2 installed


| DEPENDENCIES |



Checking for dependency libcrypto - OpenSSL cryptographic library...
error: Not found!
error: This is a REQUIRED dependency. Please make sure that this dependency is 
installed before installing or running HPLIP.

Checking for dependency gcc - GNU Project C and C++ Compiler...
OK, found.

Checking for dependency SANE - Scanning library...
error: Not found!
error: This is a REQUIRED dependency. Please make sure that this dependency is 
installed before installing or running HPLIP.

Checking for dependency GhostScript - PostScript and PDF language interpreter 
and previewer...
OK, found.

Checking for dependency libjpeg - JPEG library...
error: Not found!
error: This is a REQUIRED dependency. Please make sure that this dependency is 
installed before installing or running HPLIP.

Checking for dependency libpthread - POSIX threads library...
error: Not found!
error: This is a REQUIRED dependency. Please make sure that this dependency is 
installed before installing or running HPLIP.

Checking for dependency make - GNU make utility to maintain groups of 
programs...
error: Not found!
error: This is a REQUIRED dependency. Please make sure that this dependency is 
installed before installing or running HPLIP.

Checking for dependency python-devel - Python development files...
error: Not found!
error: This is a REQUIRED dependency. Please make sure that this dependency is 
installed before installing or running HPLIP.

Checking for dependency Reportlab - PDF library for Python...
error: Not found!
This is an OPTIONAL dependency. Some HPLIP functionality may not function 
properly.

Checking for dependency PyQt - Qt interface for Python...
OK, found.

Checking for dependency cups-devel- Common Unix Printing System development 
files...
error: Not found!
error: This is a REQUIRED dependency. Please make sure that this dependency is 
installed before installing or running HPLIP.

Checking for dependency ppdev - Parallel port support kernel module
error: Not found!
This is an OPTIONAL dependency. Some HPLIP functionality may not function 
properly.

Checking for dependency libusb - USB library...
error: Not found!
error: This is a REQUIRED dependency. Please make sure that this dependency is 
installed before installing or running HPLIP.

Checking for dependency scanimage - Shell scanning program...
OK, found.

Checking for dependency libnetsnmp-devel - SNMP networking library development 
files...
error: Not found!
error: This is a REQUIRED dependency. Please make sure that this dependency is 
installed before installing or running HPLIP.

Checking for dependency Python 2.2 or greater - Python programming language...
OK, found.

Checking for dependency LSB - Linux Standard Base support...
error: Not found!
error: This is a REQUIRED dependency. Please make sure that this dependency is 
installed before installing or running HPLIP.

Checking for dependency xsane - Graphical scanner frontend for SANE...
OK, found.

Checking for dependency cups - Common Unix Printing System...
OK, found.

Check

Re: Xfce 4.4 and Thunar automounting of USB stick

2007-03-16 Thread Kevin Kinsey

Chess Griffin wrote:

Hello!  My first post to the list.  :)

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




I have installed Hal, Dbus, and polkit and have those 3 things enabled 
in my

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


Hmm, which did you install first, HAL or Thunar?

KDK
--
I'm glad I was not born before tea.
-- Sidney Smith (1771-1845)

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


Re: Xfce 4.4 and Thunar automounting of USB stick

2007-03-16 Thread Chris Shenton
"Chess Griffin" <[EMAIL PROTECTED]> writes:

> It's just that nothing automounts like it's supposed to, and
> that includes both USB sticks and CDs.
>
> Should I post this in freebsd-ports as well?  I don't want to double-post if
> the port maintainers also monitor this list as well.  I may post in the
> thunar or xfce mailing lists, but I think this is a FreeBSD issue since the
> Thunar automounting works in various Linux distributions.

Yeah, I'd try ports but I didn't get much useful feedback.  I
understand Thunar's developer is a freebsd guy so I posted on the
thunar list too... but heard nothing.

Good luck! Xfce and Thunar seem rather nice and lighter than the
alternatives, I just wish they were a bit more stable. 

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


Logrotating and running a command

2007-03-16 Thread José Pablo Fernández
Hello,
I need to rotate some logs, but instead of getting the PID out of a file and 
sending a SIGHUP to that process, like newsyslog does, I need to run a 
command.
Is that possible with newsyslog? how should I do it?
Thank you.
-- 
José Pablo Fernández
[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: Corrupted OS

2007-03-16 Thread Drew Jenkins
Thanks! That's great!
Here's why the OS is corrupt:
1) Suddenly, large data files which were on the 500 GB HD were wiped. I hadn't 
been working in anything associated with them for some time before that. They 
just disappeared. This is exactly what happened before on the old server, but 
then I had done something to damage it (entered a bad command).
2) Now, as then, quirky things are happening, forcing me to do work-arounds 
when none should be done, or to abandon projects I'd like to do. For example, I 
copied a MySQL database as another dbase with another name, wiped all the data 
from the new dbase, and copied a shopping cart app I've built in Zope to a new 
site I'm building. I entered new categories into the new dbase. However, when I 
surf to my interface in the new Zope site I'm building, the old cats appear! 
There's no connection whatsoever. Even the background color of the display 
pages is picked up from the old site, goodness knows how. If I use the Zope 
interface to enter data into the products table, it works, but with the old 
cats. If I enter data into that table through MySQL, it displays in the new 
Zope site. I had to hard-wire the new cats to get it to work. I still don't 
know why the bgcolor for the page is the same as the old site, either. 

This kind of crap happens over and over again, and I have no explanation.2 Last 
time, it screwed up my clients' email, something I'm loathe to do. Eventually, 
the whole system died on me.
TIA,
Drew

Jerry McAllister <[EMAIL PROTECTED]> wrote: On Fri, Mar 16, 2007 at 01:33:42PM 
-0700, Drew Jenkins wrote:

> I believe you misunderstand. I have 3 disks:
> 2 are SCSI RAID and are 80 GB each
> 1 is not and is 500 GB
> I don't actually need the 500 GB now. I haven't even used up the 80 GB HD's. 
> So I can wipe the 500 GB clean. I don't have to keep data on it at all. 
> But...can I do that remotely, and run those commands remotely, with that 
> disk being unmounted, and if so...how?

You can do it remotely.   Once everything on that disk is unmounted
and unreferenced, then fdisk and bsdlabel will be happy to work on it.

The best documentation for that is down in the examples of
the bsdlabel man page.

   dd if=/dev/zero of=/dev/da0 bs=512 count=32
   fdisk -BI da0
   dd if=/dev/zero of=/dev/da0s1 bs=512 count=32
   bsdlabel -w -B da0s1
   bsdlabel -e da0s1

Change the device names to be what yours really are (da0 may be ad3 
or something.   I also upped the count on the dd, but it doesn't matter.

Follow this with a newfs for each partition except swap that you
create on this disk.

> 
> The problem *is* a corrupt OS. I currently don't have any data on 
> that 500 GB HD. And the problems persist. Sorry to have confused you. 
> Are things clearer now?

Well, it seems clear that there is no problem with the 500 GB disk.
You can just fdisk it.   If you want, write a few blocks of zeros to
it first to make sure the system believes it clean if you want.  Probably
shouldn't need to, though.  
  dd if=/dev/zero of=/dev/extra-drive-name bs=512 count=250

As for the corrupt OS, I don't understand what that is and why
you think that or whatever.

jerry

> TIA,
> Drew2
> 
> Jerry McAllister  wrote: On Fri, Mar 16, 2007 at 09:12:02AM -0700, Drew 
> Jenkins wrote:
> 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


 
-
Be a PS3 game guru.
Get your game face on with the latest PS3 news and previews at Yahoo! Games.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Xfce 4.4 and Thunar automounting of USB stick

2007-03-16 Thread Chess Griffin

On 3/16/07, Chris Shenton <[EMAIL PROTECTED]> wrote:


When you try to open a Thunar window to look at some directory, does
it work?  It did for me on one box, once, but since thing the window
comes up with a gray pane and two white panels then hangs, with "top"
saying it's in state "kserel".  I haven't been able to resolve this on
the ports or thunar lists. :-(

The one time I saw it work, it was able to mount USB drives
automatically (in my case, a digital audio recorder). I didn't have to
do anything special but I was running hald and friends.




Chris, thanks for your reply.  Yes, Thunar works just fine browsing the
filesystem.  It's just that nothing automounts like it's supposed to, and
that includes both USB sticks and CDs.

Should I post this in freebsd-ports as well?  I don't want to double-post if
the port maintainers also monitor this list as well.  I may post in the
thunar or xfce mailing lists, but I think this is a FreeBSD issue since the
Thunar automounting works in various Linux distributions.

I would really like to get this to work, but scouring google hits and
mailing lists has turned up empty.  :(
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Corrupted OS

2007-03-16 Thread Jerry McAllister
On Fri, Mar 16, 2007 at 01:33:42PM -0700, Drew Jenkins wrote:

> I believe you misunderstand. I have 3 disks:
> 2 are SCSI RAID and are 80 GB each
> 1 is not and is 500 GB
> I don't actually need the 500 GB now. I haven't even used up the 80 GB HD's. 
> So I can wipe the 500 GB clean. I don't have to keep data on it at all. 
> But...can I do that remotely, and run those commands remotely, with that 
> disk being unmounted, and if so...how?

You can do it remotely.   Once everything on that disk is unmounted
and unreferenced, then fdisk and bsdlabel will be happy to work on it.

The best documentation for that is down in the examples of
the bsdlabel man page.

   dd if=/dev/zero of=/dev/da0 bs=512 count=32
   fdisk -BI da0
   dd if=/dev/zero of=/dev/da0s1 bs=512 count=32
   bsdlabel -w -B da0s1
   bsdlabel -e da0s1

Change the device names to be what yours really are (da0 may be ad3 
or something.   I also upped the count on the dd, but it doesn't matter.

Follow this with a newfs for each partition except swap that you
create on this disk.

> 
> The problem *is* a corrupt OS. I currently don't have any data on 
> that 500 GB HD. And the problems persist. Sorry to have confused you. 
> Are things clearer now?

Well, it seems clear that there is no problem with the 500 GB disk.
You can just fdisk it.   If you want, write a few blocks of zeros to
it first to make sure the system believes it clean if you want.  Probably
shouldn't need to, though.  
  dd if=/dev/zero of=/dev/extra-drive-name bs=512 count=250

As for the corrupt OS, I don't understand what that is and why
you think that or whatever.

jerry

> TIA,
> Drew2
> 
> Jerry McAllister <[EMAIL PROTECTED]> wrote: On Fri, Mar 16, 2007 at 
> 09:12:02AM -0700, Drew Jenkins wrote:
> 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Corrupted OS

2007-03-16 Thread youshi10

On Fri, 16 Mar 2007, Drew Jenkins wrote:


I believe you misunderstand. I have 3 disks:
2 are SCSI RAID and are 80 GB each
1 is not and is 500 GB
I don't actually need the 500 GB now. I haven't even used up the 80 GB HD's. So 
I can wipe the 500 GB clean. I don't have to keep data on it at all. But...can 
I do that remotely, and run those commands remotely, with that disk being 
unmounted, and if so...how?

The problem *is* a corrupt OS. I currently don't have any data on that 500 GB 
HD. And the problems persist. Sorry to have confused you. Are things clearer 
now?
TIA,
Drew2

Jerry McAllister <[EMAIL PROTECTED]> wrote: On Fri, Mar 16, 2007 at 09:12:02AM 
-0700, Drew Jenkins wrote:


Jerry McAllister  wrote: On Fri, Mar 16, 2007 at 07:16:33AM -0700, Drew Jenkins 
wrote:


2Kevin Kinsey  wrote:> > synch your source to 6.2
> >
> > How? And is this necessary since it's already at 6.2?
>
> The command below, "cvsup -g -L 2 supfile".  Assuming, of > course, that
> the supfile is valid.  Is it necessary?  Depends; if you're convinced
> that something is wrong with your current installation, then you might
> not need to, because you can rebuild exactly the system that you
> *should* have (for example, perhaps you fat-fingered a chmod or rm
> call?).




Can you finally learn to break you lines at about 70 characters in length.
Having them run on long makes it much more difficult to make responses.
Most Email clients allow you to configure it to break lines.  If yours
does not, just hit a a RETURN/ENTER about there each time.


Yahoo's new beta must be the problem. Let's see if the old yahoo system works. 
Just switched back. Let me know.


That I don't quite get.  If you are just adding a disk to your machine,
it is not likely to corript the rest of the system unless you execute
something on that disk.


Which I did. Trust me. I've ruled everything else out. It's the HD.


When you fdisk, bsdlabel and newfs it, it is
wiped and the previous contents are gone.  If you precede that with
a nice dd to overwrite initial sectors with zeros, then it is even
more wiped before you even get to the fdisk.


Can I bsdlabel, newfs and fdisk that disk without wiping the other disks, and 
do it remotely?


Or are you trying to add this disk to a mirror in such a way that
the raid controller thinks it is the good disk and the other is
corrupt and tries to rebuild the mirror with the contents of the
added disk?   That you don't want to do.


That I am not doing. There are two other disks in the box that are SCSIs.


My thoughts are that something is happening that you haven't declared
yet.   An HD does not go out and zap files.   That is like saying one
book on a shelf skipped over and trashed the contents of another book
on a shelf.


You misread. The files were on the new HD. The "action scripts", or s/w
that calls those dbase files, are on the SCSI drives.


That is a much bigger problem then.  You can't just go and rebuild
stuff and expect to keep the files on that disk.  You might be able
to used fdisk if the slice table got smuched and if you put back
exactly what was originally there.  You might even be able to use
bsdlabel to fix a partition table, again if the new was exactly the
same as the old, but I am not sure of that.   You must not attempt
to build filesystems on the disk with newfs or then all will be
gone and beyond recovery except by those very expensive spy type
folk that try to get secret information from overwritten storage.

But, what you are describing is not a corrupt OS.  It is a problem
with reading information from a disk.I have responded to several
different people lately on similar issues and can't remember which
is which.   If it is a bad space on disk, then you are going to have
to reconstruct the date by reading as much as you can and putting
it together the hard way.  If it is some incompatibilty the file system
versions between how it written and being read, you need to track down
just how it was written and try to bridge the difference.


jerry



TIA,
Drew


As long as the disk isn't in use, yes you can do this type of thing anytime you 
like.

So unless I'm missing the boat here, why in the world has this thread gone on 
so long if it was this trivial of an issue?

-Garrett

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


Re: FW: /usr parition is empty!

2007-03-16 Thread Jerry McAllister
On Fri, Mar 16, 2007 at 03:54:32PM -0500, Bret J. Esquivel wrote:

> 
> From: Bret J. Esquivel [mailto:[EMAIL PROTECTED] 
> Sent: Friday, March 16, 2007 3:54 PM
> To: [EMAIL PROTECTED]
> Subject: /usr parition is empty!
> 
> Help!
> 
> I'm currently stumped at a client of mine. Their /usr partition on this 6.1
> box is completely empty. The problem arose when no one could login due to
> the fact that /usr/bin/login was missing. Does anyone have any advice or
> information about this? 
> 
> I rebooted to single-user mode and mounted /usr without problems. It is only
> empty. 

Well, I wonder if it once was too full and so they moved it somewhere
and either intended but failed to make a link or somehow the link
got overwritten so it can't find the stuff.

In otherwords, all the files and directory structure had been 
moved somewhere and there should be a link to it of the sort:
  ln -s /some/other/place /usr
but the link is missing.

If so, you just need to find out where it got put and
make the link for it.

Just one guess,

jerry

> 
> Thank you very much in advance!
> 
> Bret Esquivel
> 
> ___
> 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]"


FW: /usr parition is empty!

2007-03-16 Thread Bret J. Esquivel
 

 

From: Bret J. Esquivel [mailto:[EMAIL PROTECTED] 
Sent: Friday, March 16, 2007 3:54 PM
To: [EMAIL PROTECTED]
Subject: /usr parition is empty!

 

Help!

 

I'm currently stumped at a client of mine. Their /usr partition on this 6.1
box is completely empty. The problem arose when no one could login due to
the fact that /usr/bin/login was missing. Does anyone have any advice or
information about this? 

 

I rebooted to single-user mode and mounted /usr without problems. It is only
empty. 

 

Thank you very much in advance!

 

Bret Esquivel

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


Re: An alternative to FOP

2007-03-16 Thread Midori

Hi,

Isn't it font issue? 
Because arabic char is over ascii.
Have you tried to use org.apache.fop.fonts.apps.TTFReader ?


-- 
View this message in context: 
http://www.nabble.com/An-alternative-to-FOP-tf3360679.html#a9522542
Sent from the freebsd-questions mailing list archive at Nabble.com.

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


Re: Xfce 4.4 and Thunar automounting of USB stick

2007-03-16 Thread Chris Shenton
When you try to open a Thunar window to look at some directory, does
it work?  It did for me on one box, once, but since thing the window
comes up with a gray pane and two white panels then hangs, with "top"
saying it's in state "kserel".  I haven't been able to resolve this on
the ports or thunar lists. :-(

The one time I saw it work, it was able to mount USB drives
automatically (in my case, a digital audio recorder). I didn't have to
do anything special but I was running hald and friends.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


optimizing squid and freebsd

2007-03-16 Thread Dave

Hello,
   Running squid on a 6.x box. I'm going to implement digest user 
authentication, and want to ensure squid is running optimally. Googling and 
reading "Squid the Definitive Guide" by Oreilly indicates that the file 
descriptors should be raised. I did a


sysctl -a|grep maxfiles

and found a value of 1440. It was suggested to increase this to 8192, which 
i did. I then found entries in /etc/login.conf that make me wonder if this 
change was necessary. All of these are set to unlimited in the default 
option: datasize, stacksize, memoryuse, filesize and openfiles (one of these 
the descriptors), maxproc, and Given this do i have to add an

options maxfiles=8192
in my kernel config file? Any other suggestions welcome.
Thanks.
Dave.
sbsize. 


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


Re: Corrupted OS

2007-03-16 Thread Drew Jenkins
I believe you misunderstand. I have 3 disks:
2 are SCSI RAID and are 80 GB each
1 is not and is 500 GB
I don't actually need the 500 GB now. I haven't even used up the 80 GB HD's. So 
I can wipe the 500 GB clean. I don't have to keep data on it at all. But...can 
I do that remotely, and run those commands remotely, with that disk being 
unmounted, and if so...how?

The problem *is* a corrupt OS. I currently don't have any data on that 500 GB 
HD. And the problems persist. Sorry to have confused you. Are things clearer 
now?
TIA,
Drew2

Jerry McAllister <[EMAIL PROTECTED]> wrote: On Fri, Mar 16, 2007 at 09:12:02AM 
-0700, Drew Jenkins wrote:

> Jerry McAllister  wrote: On Fri, Mar 16, 2007 at 07:16:33AM -0700, Drew 
> Jenkins wrote:
> 
> > 2Kevin Kinsey  wrote:> > synch your source to 6.2 
> > > > 
> > > > How? And is this necessary since it's already at 6.2?
> > > 
> > > The command below, "cvsup -g -L 2 supfile".  Assuming, of > course, that 
> > > the supfile is valid.  Is it necessary?  Depends; if you're convinced 
> > > that something is wrong with your current installation, then you might 
> > > not need to, because you can rebuild exactly the system that you 
> > > *should* have (for example, perhaps you fat-fingered a chmod or rm 
> > > call?).  
> > 
> 
> > Can you finally learn to break you lines at about 70 characters in length.
> > Having them run on long makes it much more difficult to make responses.
> > Most Email clients allow you to configure it to break lines.  If yours
> >does not, just hit a a RETURN/ENTER about there each time.
> 
> Yahoo's new beta must be the problem. Let's see if the old yahoo system 
> works. Just switched back. Let me know.
> 
> > That I don't quite get.  If you are just adding a disk to your machine,
> > it is not likely to corript the rest of the system unless you execute
> > something on that disk.   
> 
> Which I did. Trust me. I've ruled everything else out. It's the HD.
> 
> > When you fdisk, bsdlabel and newfs it, it is
> > wiped and the previous contents are gone.  If you precede that with
> > a nice dd to overwrite initial sectors with zeros, then it is even
> > more wiped before you even get to the fdisk.   
> 
> Can I bsdlabel, newfs and fdisk that disk without wiping the other disks, and 
> do it remotely? 
> 
> > Or are you trying to add this disk to a mirror in such a way that
> > the raid controller thinks it is the good disk and the other is
> > corrupt and tries to rebuild the mirror with the contents of the
> > added disk?   That you don't want to do.
> 
> That I am not doing. There are two other disks in the box that are SCSIs.
> 
> > My thoughts are that something is happening that you haven't declared
> > yet.   An HD does not go out and zap files.   That is like saying one
> > book on a shelf skipped over and trashed the contents of another book
> > on a shelf.   
> 
> You misread. The files were on the new HD. The "action scripts", or s/w 
> that calls those dbase files, are on the SCSI drives.

That is a much bigger problem then.  You can't just go and rebuild
stuff and expect to keep the files on that disk.  You might be able
to used fdisk if the slice table got smuched and if you put back
exactly what was originally there.  You might even be able to use
bsdlabel to fix a partition table, again if the new was exactly the
same as the old, but I am not sure of that.   You must not attempt
to build filesystems on the disk with newfs or then all will be
gone and beyond recovery except by those very expensive spy type
folk that try to get secret information from overwritten storage.

But, what you are describing is not a corrupt OS.  It is a problem
with reading information from a disk.I have responded to several
different people lately on similar issues and can't remember which
is which.   If it is a bad space on disk, then you are going to have
to reconstruct the date by reading as much as you can and putting
it together the hard way.  If it is some incompatibilty the file system 
versions between how it written and being read, you need to track down
just how it was written and try to bridge the difference.


jerry

> 
> TIA,
> Drew
> 
>  
> -
> We won't tell. Get more on shows you hate to love
> (and love to hate): Yahoo! TV's Guilty Pleasures list.
> ___
> 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]"


 
-
Finding fabulous fares is fun.
Let Yahoo! FareChase search your favorite travel sites to find flight and hotel 
bargains.
___
freebsd-questions@freebsd.org mailing 

Re: Portupgrade and replacing apache 1.3.37 with apache 2.2.4

2007-03-16 Thread Matthew Seaman
Doug Poland wrote:
> Hello,
> 
> I'm running FreeBSD 6.2-STABLE on an i386 test box with apache
> 1.3.37/PHP-5/MySQL-5.  As the subject says, I'd like to replace apache
> 1.3 with apache 2.2.
> 
> I understand httpd.conf will change and that I'll have to edit that by
> hand, but is there a portupgrade command that will remove 1.3.37,
> install 2.2.4, and rebuild all apache dependent programs?
> 
> I'm thinking something like:
> 
> # portupgrade -R -f -o www/apache22 www/apache13-modssl
> 
> 

portupgrade -o www/apache22 -rf apache13\* 

will install apache22 in place of apache13-modssl and force a rebuild
of everything that depends on apache13-modssl

Putting 

  APACHE_PORT= www/apache22
  WITH_APACHE2=yes

into /etc/make.conf before trying that is generally a good idea too.

Note that this sort of command is not going to cover all of the edge
cases.  apache13-modssl has a different dependency tree to apache22 --
for example, libmm (devel/mm) is not needed by apache22.  Having libmm
floating around unused shouldn't break anything though.

Not relevant to the OP, but if you were a mod_perl user, you would
need to do a bit more work and install the www/mod_perl2 port in place
of www/mod_perl when upgrading to apache22.

Cheers,

Matthew

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



signature.asc
Description: OpenPGP digital signature


Re: burncd makes disk that is unmountable

2007-03-16 Thread youshi10

On Fri, 16 Mar 2007, Dieter wrote:


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

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


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

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


It is defaulting to the correct device.


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

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

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

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

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

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


New data:  NetBSD mounts both disks (with and without "fixate") just fine.
So perhaps the problem is with FreeBSD's mount rather than burncd?


Typing in mount yields what options with NetBSD?

-Garrett

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


Re: mirror without destroying existing contents

2007-03-16 Thread John Nielsen
On Friday 16 March 2007 15:48, Steve Franks wrote:
> On 3/16/07, John Nielsen <[EMAIL PROTECTED]> wrote:
> > On Friday 16 March 2007 11:18, Steve Franks wrote:
> > > I get the following:
> > >
> > > #gmirror label -v -b split -s 1024 data ad0
> > > can't store metadata on ad0: operation not permitted.
> >
> > That most likely means that you currently have a filesystem on ad0
> > mounted. If that's the case you should be glad that the OS was smarter
> > than you. What steps had you taken prior to this?
>
> It appears to say in the manpage that you can do this on a disk with
> an existing filesys - would you expect it to work if the disk is
> unmounted first, then?
>
> Steve
>
> man gmirror:
> "Create a mirror on disk with valid data (note that the last sector of the
>  disk will be overwritten).  Add another disk to this mirror, so it
> will be synchronized with existing disk:
>
>  gmirror label -v -b round-robin data da0
>  gmirror insert data da1
> "

I would expect it to, yes.

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


Re: Corrupted OS

2007-03-16 Thread youshi10

On Fri, 16 Mar 2007, Drew Jenkins wrote:


How do I access it (through SSH) if it's unmounted?
Drew2

Jerry McAllister <[EMAIL PROTECTED]> wrote: On Fri, Mar 16, 2007 at 09:11:58AM 
-0700, Drew Jenkins wrote:


Jerry McAllister  wrote: On Fri, Mar 16, 2007 at 07:16:33AM -0700, Drew Jenkins 
wrote:


2Kevin Kinsey  wrote:> > synch your source to 6.2
> >
> > How? And is this necessary since it's already at 6.2?
>
> The command below, "cvsup -g -L 2 supfile".  Assuming, of > course, that
> the supfile is valid.  Is it necessary?  Depends; if you're convinced
> that something is wrong with your current installation, then you might
> not need to, because you can rebuild exactly the system that you
> *should* have (for example, perhaps you fat-fingered a chmod or rm
> call?).




Can you finally learn to break you lines at about 70 characters in length.
Having them run on long makes it much more difficult to make responses.
Most Email clients allow you to configure it to break lines.  If yours
does not, just hit a a RETURN/ENTER about there each time.


Yahoo's new beta must be the problem. Let's see if the old yahoo system works. 
Just switched back. Let me know.


That I don't quite get.  If you are just adding a disk to your machine,
it is not likely to corript the rest of the system unless you execute
something on that disk.


Which I did. Trust me. I've ruled everything else out. It's the HD.


When you fdisk, bsdlabel and newfs it, it is
wiped and the previous contents are gone.  If you precede that with
a nice dd to overwrite initial sectors with zeros, then it is even
more wiped before you even get to the fdisk.


Can I bsdlabel, newfs and fdisk that disk without wiping the other disks,
and do it remotely?


Yes.   You just have to have everything on that disk unmounted.
Then you can run fdisk either directly or via sysinstall.   I have
lost track of where you have stuff you want to protect, etc, etc.
But a separate disk that you want to wipe and start over again on
can be fdisked, bsdlabeled and newfsed independently from the one
you are booted from and not affect anything on any other disk and
you don't need to be able to touch it, just unmount what is
currently there.

jerry




Or are you trying to add this disk to a mirror in such a way that
the raid controller thinks it is the good disk and the other is
corrupt and tries to rebuild the mirror with the contents of the
added disk?   That you don't want to do.


That I am not doing. There are two other disks in the box that are SCSIs.


My thoughts are that something is happening that you haven't declared
yet.   An HD does not go out and zap files.   That is like saying one
book on a shelf skipped over and trashed the contents of another book
on a shelf.


You misread. The files were on the new HD. The "action scripts", or s/w that 
calls those dbase files, are on the SCSI drives.

TIA,
Drew


In true grumpier old men style:

"you mount the disk son :)" (after logging in via ssh). Jerry can provide you 
with the RAID specific details.

-Garrett

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


Re: sound drivers

2007-03-16 Thread freenity

Thanks a lot guys, it works now :)

On 3/16/07, Ariff Abdullah <[EMAIL PROTECTED]> wrote:


On Fri, 16 Mar 2007 16:22:37 -0300
freenity <[EMAIL PROTECTED]> wrote:
> ok. I downloaded this. and copied the file snd_hda to /boot/kernel
> and /boot/GENERIC
> then I executed kldload snd_hda but there was this error:
>
> can't load snd_hda: Exec format error
>

http://people.freebsd.org/~ariff/lowlatency/

Please read the README, there.


--
Ariff Abdullah
FreeBSD

... Recording in stereo is obviously too advanced
and confusing for us idiot * users :P 


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


Re: mirror without destroying existing contents

2007-03-16 Thread Steve Franks

On 3/16/07, John Nielsen <[EMAIL PROTECTED]> wrote:

On Friday 16 March 2007 11:18, Steve Franks wrote:
> I get the following:
>
> #gmirror label -v -b split -s 1024 data ad0
> can't store metadata on ad0: operation not permitted.

That most likely means that you currently have a filesystem on ad0 mounted. If
that's the case you should be glad that the OS was smarter than you. What
steps had you taken prior to this?




It appears to say in the manpage that you can do this on a disk with
an existing filesys - would you expect it to work if the disk is
unmounted first, then?

Steve

man gmirror:
"Create a mirror on disk with valid data (note that the last sector of the
disk will be overwritten).  Add another disk to this mirror, so it will
be synchronized with existing disk:

   gmirror label -v -b round-robin data da0
   gmirror insert data da1

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


Re: $PATH problem

2007-03-16 Thread youshi10

On Fri, 16 Mar 2007, Jonathan Horne wrote:


i recently switched from KDE to XFCE4.  underneath, i also switch my DM from 
kdm to slim.  now that slim is operating, my paths have changed significantly 
when i log in via the GUI login.  my current paths:

[EMAIL PROTECTED] ~]$ echo $PATH
./:/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin

conversly, if i log into this system via ssh or console, i get this (much 
better):

[EMAIL PROTECTED] ~]$ echo $PATH
/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/home/jhorne/bin

where can i got to change this so that i always have the second set of paths 
even when im in xfce?  thanks!

jonathan


Not sure about "slim" but I would assume that it's seriously monkeying around 
with your path variables, so I'd check the config file for the DM.

-Garrett

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


Re: burncd makes disk that is unmountable

2007-03-16 Thread Dieter
> > AMD64 running 6.0
> > Drive is:
> >   acd0: DVDR  at ata0-master UDMA66
> > Media is CD-RW
> > 
> > Burned a 6.2 disk using:
> >   burncd data 6.2-RELEASE-amd64-disc1.iso fixate
> > as suggested in
> >   
> > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/creating-cds.html
> 
> I don't remember the details, but when I got to 6.1, I found that
> my old burncd parameters would not work and I had to change them.
> 
> I don't remember the details, but I settled upon:
>   /usr/sbin/burncd -v -f /dev/acd0 data FreeBSD62-disc1.iso fixate
> which seems to work find.  Both boots and mounts.  That doesn't look
> materially different from yours, but...

It is defaulting to the correct device.

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

New data:  NetBSD mounts both disks (with and without "fixate") just fine.
So perhaps the problem is with FreeBSD's mount rather than burncd?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: nfsiod && nfs_client_flags

2007-03-16 Thread youshi10

On Fri, 16 Mar 2007, Konrad Heuer wrote:



Hi everyone,

after replacing 4.11-RELEASE by 6.1-RELEASE on most of my systems I just 
remembered the rc.conf variable "nfs_client_flags" which I used under 4.x to 
raise the number of nfsiod's on heavily loaded systems. I can't find 
nfs_client_flags in 6.1 although the man page of nfsiod still documents the 
"-n" flag.


Is there any reason for this?

Thanks for any reply!

Best regards
Konrad Heuer
GWDG, Am Fassberg, 37077 Goettingen, Germany, [EMAIL PROTECTED]


man rc.conf will provide you with any updates to rc.conf.
-Garrett

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


Re: sound drivers

2007-03-16 Thread Ariff Abdullah
On Fri, 16 Mar 2007 16:22:37 -0300
freenity <[EMAIL PROTECTED]> wrote:
> ok. I downloaded this. and copied the file snd_hda to /boot/kernel
> and /boot/GENERIC
> then I executed kldload snd_hda but there was this error:
> 
> can't load snd_hda: Exec format error
> 

http://people.freebsd.org/~ariff/lowlatency/

Please read the README, there.


--
Ariff Abdullah
FreeBSD

... Recording in stereo is obviously too advanced
and confusing for us idiot * users :P 


pgpbJCO2IQihj.pgp
Description: PGP signature


Re: sound drivers

2007-03-16 Thread freenity

ok. I downloaded this. and copied the file snd_hda to /boot/kernel and
/boot/GENERIC
then I executed kldload snd_hda but there was this error:

--
can't load snd_hda: Exec format error
--

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


On Wed, 14 Mar 2007 20:12:35 -0300
freenity <[EMAIL PROTECTED]> wrote:
> yes multimedia worked. output:
>
>
> $ pciconf -vl | grep -iB 4 multimedia
> class= bridge
> subclass = PCI-PCI
> [EMAIL PROTECTED]:16:1:   class=0x040300 card=0xcb8410de
> chip=0x026c10de rev=0xa2 hdr=0x00
> vendor   = 'NVIDIA Corporation'
> class= multimedia
> $
>

This require snd_hda , not snd_ich.


http://people.freebsd.org/~ariff/lowlatency/sndkld_releng6_amd64_lowlatency.tar.gz


--
Ariff Abdullah
FreeBSD

... Recording in stereo is obviously too advanced
and confusing for us idiot * users :P 



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


Re: Corrupted OS

2007-03-16 Thread Jerry McAllister
On Fri, Mar 16, 2007 at 09:12:02AM -0700, Drew Jenkins wrote:

> Jerry McAllister <[EMAIL PROTECTED]> wrote: On Fri, Mar 16, 2007 at 
> 07:16:33AM -0700, Drew Jenkins wrote:
> 
> > 2Kevin Kinsey  wrote:> > synch your source to 6.2 
> > > > 
> > > > How? And is this necessary since it's already at 6.2?
> > > 
> > > The command below, "cvsup -g -L 2 supfile".  Assuming, of > course, that 
> > > the supfile is valid.  Is it necessary?  Depends; if you're convinced 
> > > that something is wrong with your current installation, then you might 
> > > not need to, because you can rebuild exactly the system that you 
> > > *should* have (for example, perhaps you fat-fingered a chmod or rm 
> > > call?).  
> > 
> 
> > Can you finally learn to break you lines at about 70 characters in length.
> > Having them run on long makes it much more difficult to make responses.
> > Most Email clients allow you to configure it to break lines.  If yours
> >does not, just hit a a RETURN/ENTER about there each time.
> 
> Yahoo's new beta must be the problem. Let's see if the old yahoo system 
> works. Just switched back. Let me know.
> 
> > That I don't quite get.  If you are just adding a disk to your machine,
> > it is not likely to corript the rest of the system unless you execute
> > something on that disk.   
> 
> Which I did. Trust me. I've ruled everything else out. It's the HD.
> 
> > When you fdisk, bsdlabel and newfs it, it is
> > wiped and the previous contents are gone.  If you precede that with
> > a nice dd to overwrite initial sectors with zeros, then it is even
> > more wiped before you even get to the fdisk.   
> 
> Can I bsdlabel, newfs and fdisk that disk without wiping the other disks, and 
> do it remotely? 
> 
> > Or are you trying to add this disk to a mirror in such a way that
> > the raid controller thinks it is the good disk and the other is
> > corrupt and tries to rebuild the mirror with the contents of the
> > added disk?   That you don't want to do.
> 
> That I am not doing. There are two other disks in the box that are SCSIs.
> 
> > My thoughts are that something is happening that you haven't declared
> > yet.   An HD does not go out and zap files.   That is like saying one
> > book on a shelf skipped over and trashed the contents of another book
> > on a shelf.   
> 
> You misread. The files were on the new HD. The "action scripts", or s/w 
> that calls those dbase files, are on the SCSI drives.

That is a much bigger problem then.  You can't just go and rebuild
stuff and expect to keep the files on that disk.  You might be able
to used fdisk if the slice table got smuched and if you put back
exactly what was originally there.  You might even be able to use
bsdlabel to fix a partition table, again if the new was exactly the
same as the old, but I am not sure of that.   You must not attempt
to build filesystems on the disk with newfs or then all will be
gone and beyond recovery except by those very expensive spy type
folk that try to get secret information from overwritten storage.

But, what you are describing is not a corrupt OS.  It is a problem
with reading information from a disk.I have responded to several
different people lately on similar issues and can't remember which
is which.   If it is a bad space on disk, then you are going to have
to reconstruct the date by reading as much as you can and putting
it together the hard way.  If it is some incompatibilty the file system 
versions between how it written and being read, you need to track down
just how it was written and try to bridge the difference.


jerry

> 
> TIA,
> Drew
> 
>  
> -
> We won't tell. Get more on shows you hate to love
> (and love to hate): Yahoo! TV's Guilty Pleasures list.
> ___
> 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: Flash with Firefox 2

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




===>   Running ldconfig
/compat/linux/sbin/ldconfig -r /compat/linux
ELF binary type "3" not known.
/compat/linux/sbin/ldconfig: 1: Syntax error: "(" unexpected
*** Error code 2

Stop in /usr/ports/graphics/linux-png.
*** Error code 1

Stop in /usr/ports/x11-toolkits/linux-gtk2.
*** Error code 1

Stop in /usr/ports/multimedia/linux-realplayer.
*** Error code 1

Stop in /usr/ports/www/linuxpluginwrapper.


What did I forget to install/adjust? :-)


You need to enable linux compatibility in rc.conf.  Or just

kldload linux

Cheers,

  Laszlo

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


Xvfb + VNC

2007-03-16 Thread Laszlo Nagy


 Hello,

I could install gdm with Xorg and vnc.so module loaded. This is fine, 
now I can access that X server with vnc. The problem is that the Xorg 
server needs a video card. So if somebody connects a montior to that 
server while I'm working from home then he/she will see what I'm doing. 
(I cannot restrict physical access to that computer, but I do not want 
others to see my desktop...)


My idea is to create a virtual framebuffer server with Xvfb,  and load 
vnc.so module there. Since vnc.so can be password protected, in theory, 
nobody will have access to that X session, except me. But I cannot do 
this. Xvfb(1) tells me that it has the same options that Xserver(1) has. 
The Xserver(1) does not tell me anything about loadable modules, but X 
is a symlink to Xorg. Well, Xorg has a -config option but Xvfb does not. 
:-( Does it mean that I cannot load "vnc.so" into the virtual 
framebuffer server?


Is there a better solution?

In my dreams:

1. I would run a virtual X server, that is not visible directly (not 
requiring any video card)

2. I would access this X server with some program remotely (preferrably VNC)
3. This remote access needs to be secure to some extent
4. This remote access should be fast enough to use through a DSL connection

Can my dreams come true?

Thanks,

  Laszlo

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


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

2007-03-16 Thread George
On Fri, Mar 16, 2007 at 04:33:15PM +, RW wrote:
> On Thu, 15 Mar 2007 14:39:00 -0500
> Jeffrey Goldberg <[EMAIL PROTECTED]> wrote:
> 
> > I've had two responses telling me that the make.conf defaults are
> > just fine, and two (one off list) recommending i686/pentiumpro.  One
> > for pentiumpro and the other for i686, but as Andreas Rudish
> > helpfully pointed out, those two are probably the same thing.  No
> > one suggested using c3.  In fact, cpghost emphatically stated not to
> > use C3 in make.conf
> 
> From: /usr/share/mk/bsd.cpu.mk 
> 
> .  elif ${CPUTYPE} == "c3"
> MACHINE_CPU = 3dnow mmx i586 i486 i386
> .  elif ${CPUTYPE} == "c3-2"
> MACHINE_CPU = sse mmx i586 i486 i386
> 
> If you look at the screenshot of the CPUID window from the review
> linked by Garrett, it says the Nehemiah has sse but not 3dnow, which
> matches the c3-2 settings above. 
> 
> I would recommend that you comment out C[XX]FLAGS and try again
> with CPUTYPE=c3-2
> 
> FreeBSD isn't Gentoo, and using Gentoo's settings may cause trouble in
> the long-term. If you set CPUTYPE properly, FreeBSD will normally
> come-up with sensible optimizations.

The above is good advice, but I personally don't recall there ever being
a c3 CPUTYPE designation.  For example: 

$ grep -i c3 /usr/share/mk/bsd.cpu.mk

$ sed q /usr/share/mk/bsd.cpu.mk ; uname -r
# $FreeBSD: src/share/mk/bsd.cpu.mk,v 1.48 2005/05/24 21:24:40 cognet Exp $
6.1-RELEASE

On other hand, from reading your headers:

X-Mailer: Claws Mail 2.8.0 (GTK+ 2.10.11; i386-portbld-freebsd6.2)

suggests to me that it may have been added to 6.2.  If that's the case,
then it merits being pointed out.

Cheers.

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


Re: Wrong dependencies..

2007-03-16 Thread Gerard Seibert
On Fri, 16 Mar 2007 10:27:10 -0800
Gary Kline <[EMAIL PROTECTED]> wrote:

>   How can I convinced portmanager that some/most of these
>   dependencies are incorrect?  E.G.: both playmidi and 
>   ghostscript-aafpl have been pkg_deleted!  WWhat utility do 
>   I need to run to update the ports/packages list?  I have the
>   regular ghostscript-gnu that I've had for 12 years...  Any 
>   clues will be greatly appreciated!!

Run 'make config' in the directory and uncheck:

IMAGEMAGICK_GSLIB

That should do it. Personally, I run the ghostscript-afpl version
myself. On my system, the majority of programs that I use prefer that
version.

As far as 'bison' goes, what program is requiring it? I had the same
problem once, forget what program it was, and I had to configure it to
use the older version of 'bison'. I don't know of any graceful way
around it.

-- 
Gerard

You are only young once, but you can stay immature indefinitely.


signature.asc
Description: PGP signature


ssh authorized_keys AND opie

2007-03-16 Thread Terry Todd
FreeBSD 6.2 ssh question:

Is there a way to have sshd prompt for the authorized_keys passphrase
and then also go on to require an opie password as well to authenticate
the user?

If so how would it be configured to work this way?

I can make it do one or the other but haven't figured out how to
make it do both.

TIA,
Terry Todd


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


Re: Flash with Firefox 2

2007-03-16 Thread Jay Chandler

Pietro Cerutti wrote:

On 3/16/07, Jay Chandler <[EMAIL PROTECTED]> wrote:

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

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


I'm currently running 6.2-STABLE, firefox-2.0.0.2,1,
linux-flashplugin-7.0r69 and linuxpluginwrapper-20051113_7 and flash
plugin works well on most of the websites I've been.

Here's the relevant part of my /etc/libmap.conf
[/usr/local/lib/npapi/linux-flashplugin/libflashplayer.so]
libpthread.so.0 libpthread.so.2
libdl.so.2pluginwrapper/flash7.so
libz.so.1 libz.so.3
libm.so.6 libm.so.4
libc.so.6 pluginwrapper/flash7.so

Don't forget to add the symbolic links required:

# cd /usr/local/lib/browser_plugins
# ln -s /usr/local/lib/npapi/linux-flashplugin/flashplayer.xpt .
# ln -s /usr/local/lib/npapi/linux-flashplugin/libflashplayer.so .

Hope this helps,



--
Jay Chandler
Network Administrator
Chapman University




Hmm...

===>   Running ldconfig
/compat/linux/sbin/ldconfig -r /compat/linux
ELF binary type "3" not known.
/compat/linux/sbin/ldconfig: 1: Syntax error: "(" unexpected
*** Error code 2

Stop in /usr/ports/graphics/linux-png.
*** Error code 1

Stop in /usr/ports/x11-toolkits/linux-gtk2.
*** Error code 1

Stop in /usr/ports/multimedia/linux-realplayer.
*** Error code 1

Stop in /usr/ports/www/linuxpluginwrapper.


What did I forget to install/adjust? :-)

--
Jay Chandler
Network Administrator
Chapman University

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


Wrong dependencies..

2007-03-16 Thread Gary Kline
How can I convinced portmanager that some/most of these
dependencies are incorrect?  E.G.: both playmidi and 
ghostscript-aafpl have been pkg_deleted!  WWhat utility do 
I need to run to update the ports/packages list?  I have the
regular ghostscript-gnu that I've had for 12 years...  Any 
clues will be greatly appreciated!!

gary


skipping ImageMagick-6.3.2.0_1 /graphics/ImageMagick until dependency
ghostscript-afpl-8.54_1,1 updated
skipping ghostscript-afpl-8.54_1,1 /print/ghostscript-afpl marked IGNORE
reason: conflicts with another installed port
skipping jre-1.1.8 /java/jre until dependency compat3x-i386-5.0.20020925
updated
skipping compat3x-i386-5.0.20020925 /misc/compat3x marked IGNORE reason:
port marked FORBIDDEN
skipping playmidi-2.5 /audio/playmidi marked IGNORE reason: port marked
IGNORE
skipping bison-2.3 /devel/bison2 marked IGNORE reason: conflicts with
another installed port


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

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


Re: Rsync w/ Windows

2007-03-16 Thread Lee Capps

At 09:31 Fri 16 Mar 2007, Chris Maness wrote:
I need to sync a directory with my freebsd box.  In linux/bsd I use the 
command  rsync -vaur [EMAIL PROTECTED]:/home/chris/beer /home/chris/beer and 
this works perfectly for me.  However, using the cwrsync package in 
windows with this syntax does not work.


Do you get an error message when you run the command above?  Since it appears 
you are able sync to the FreeBSD box from other machines, it sounds like this 
question is maybe a little OT here.  You might have better luck asking the 
cwrsync folks.

That having been said, here's what I know.  At work we use cwrsync to backup 
some Windows boxes to a NAS sharing directories over samba.  Our rsync looks 
more or less like this (cutting some switches for clarity):

rsync -rvt --delete "/cygdrive/c/Documents and Settings/lcapps" \ 
   //SNAP203762/backups/staff/lcapps/pc_bak


A couple of things -- are you sure you're specifying the "cygdrive" correctly?  
How are you accessing the remote box from Windows?  SSH?  (I don't have any experience 
using rsync that way.)  Our Windows machines are already connected to the shared 
directory before rsync runs.

Good luck,

--
Lee Capps
Technology Specialist
CTE Resource Center


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


Re: Corrupted OS

2007-03-16 Thread Drew Jenkins
How do I access it (through SSH) if it's unmounted?
Drew2

Jerry McAllister <[EMAIL PROTECTED]> wrote: On Fri, Mar 16, 2007 at 09:11:58AM 
-0700, Drew Jenkins wrote:

> Jerry McAllister  wrote: On Fri, Mar 16, 2007 at 07:16:33AM -0700, Drew 
> Jenkins wrote:
> 
> > 2Kevin Kinsey  wrote:> > synch your source to 6.2 
> > > > 
> > > > How? And is this necessary since it's already at 6.2?
> > > 
> > > The command below, "cvsup -g -L 2 supfile".  Assuming, of > course, that 
> > > the supfile is valid.  Is it necessary?  Depends; if you're convinced 
> > > that something is wrong with your current installation, then you might 
> > > not need to, because you can rebuild exactly the system that you 
> > > *should* have (for example, perhaps you fat-fingered a chmod or rm 
> > > call?).  
> > 
> 
> > Can you finally learn to break you lines at about 70 characters in length.
> > Having them run on long makes it much more difficult to make responses.
> > Most Email clients allow you to configure it to break lines.  If yours
> >does not, just hit a a RETURN/ENTER about there each time.
> 
> Yahoo's new beta must be the problem. Let's see if the old yahoo system 
> works. Just switched back. Let me know.
> 
> > That I don't quite get.  If you are just adding a disk to your machine,
> > it is not likely to corript the rest of the system unless you execute
> > something on that disk.   
> 
> Which I did. Trust me. I've ruled everything else out. It's the HD.
> 
> > When you fdisk, bsdlabel and newfs it, it is
> > wiped and the previous contents are gone.  If you precede that with
> > a nice dd to overwrite initial sectors with zeros, then it is even
> > more wiped before you even get to the fdisk.   
> 
> Can I bsdlabel, newfs and fdisk that disk without wiping the other disks, 
> and do it remotely? 

Yes.   You just have to have everything on that disk unmounted.
Then you can run fdisk either directly or via sysinstall.   I have
lost track of where you have stuff you want to protect, etc, etc.
But a separate disk that you want to wipe and start over again on
can be fdisked, bsdlabeled and newfsed independently from the one
you are booted from and not affect anything on any other disk and
you don't need to be able to touch it, just unmount what is
currently there.

jerry

> 
> > Or are you trying to add this disk to a mirror in such a way that
> > the raid controller thinks it is the good disk and the other is
> > corrupt and tries to rebuild the mirror with the contents of the
> > added disk?   That you don't want to do.
> 
> That I am not doing. There are two other disks in the box that are SCSIs.
> 
> > My thoughts are that something is happening that you haven't declared
> > yet.   An HD does not go out and zap files.   That is like saying one
> > book on a shelf skipped over and trashed the contents of another book
> > on a shelf.   
> 
> You misread. The files were on the new HD. The "action scripts", or s/w that 
> calls those dbase files, are on the SCSI drives.
> 
> TIA,
> Drew
> 
>  
> -
> We won't tell. Get more on shows you hate to love
> (and love to hate): Yahoo! TV's Guilty Pleasures list.


 
-
Finding fabulous fares is fun.
Let Yahoo! FareChase search your favorite travel sites to find flight and hotel 
bargains.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Rsync w/ Windows

2007-03-16 Thread Chris Maness

Roger Olofsson wrote:

Hello Chris,

May I suggest that you take a peek at 
http://www.itefix.no/phpws/index.php?module=pagemaster&PAGE_user_op=view_page&PAGE_id=6&MMN_position=23:23 



As example I have the following syntax in my cwrsync.cmd

(In this example I backup documents and settings from pc to FreeBSD by 
using the script cwrsync.cmd included in the cwrsync distribution. The 
script can be run with the windows scheduler)


rsync --exclude-from=excludefiles.txt -avz --delete -e "ssh -i 
bin/.ssh/identify" "/cygdrive/c/documents and settings/username" 
[EMAIL PROTECTED]:/path/on/freebsd/server


You will need to create a folder named .ssh in the bin folder of 
cwrsync and in that folder create the necessary ssh keys.


Good luck!






Thank you.  This works awesome.

--
Chris Maness
(909) 223-9179
http://www.chrismaness.com

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


RE: DST

2007-03-16 Thread Jean-Paul Natola



> 
> Hi everyone,
> 
> I'm still having an issue with the new daylight saving-
> 
> I ran tzsetup entered the appropriate zone- but when I reboot 
> the machine it still in the old time zone-
> 
> Is there a patch for freebsd 5.4
> 

Paste the results of:

zdump -v /etc/localtime | grep 2007

&

date

/etc/localtime  Sun Apr  1 06:59:59 2007 UTC = Sun Apr  1 01:59:59 2007 EST
isdst=0 gmtoff=-18000
/etc/localtime  Sun Apr  1 07:00:00 2007 UTC = Sun Apr  1 03:00:00 2007 EDT
isdst=1 gmtoff=-14400
/etc/localtime  Sun Oct 28 05:59:59 2007 UTC = Sun Oct 28 01:59:59 2007 EDT
isdst=1 gmtoff=-14400
/etc/localtime  Sun Oct 28 06:00:00 2007 UTC = Sun Oct 28 01:00:00 2007 EST
isdst=0 gmtoff=-18000

Fri Mar 16 13:26:27 EST 2007
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: "elf_begin" returns NULL

2007-03-16 Thread Kris Kennaway
On Wed, Mar 14, 2007 at 11:37:02AM -0500, Robe wrote:
> Hi,
> 
> I'm trying to create an object file (.o) using the "libelf" library.
> Below appear the full source code.
> 
> Does any body know why the "elf_begin" statement return NULL?

This kind of technical question should be discussed on [EMAIL PROTECTED]  Or
since there is restricted experience with libelf, try CC'ing the
author (jkoshy@)

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


$PATH problem

2007-03-16 Thread Jonathan Horne
i recently switched from KDE to XFCE4.  underneath, i also switch my DM from 
kdm to slim.  now that slim is operating, my paths have changed significantly 
when i log in via the GUI login.  my current paths:

[EMAIL PROTECTED] ~]$ echo $PATH
./:/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin

conversly, if i log into this system via ssh or console, i get this (much 
better):

[EMAIL PROTECTED] ~]$ echo $PATH
/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/home/jhorne/bin

where can i got to change this so that i always have the second set of paths 
even when im in xfce?  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: Rsync w/ Windows

2007-03-16 Thread Roger Olofsson

Hello Chris,

May I suggest that you take a peek at 
http://www.itefix.no/phpws/index.php?module=pagemaster&PAGE_user_op=view_page&PAGE_id=6&MMN_position=23:23


As example I have the following syntax in my cwrsync.cmd

(In this example I backup documents and settings from pc to FreeBSD by 
using the script cwrsync.cmd included in the cwrsync distribution. The 
script can be run with the windows scheduler)


rsync --exclude-from=excludefiles.txt -avz --delete -e "ssh -i 
bin/.ssh/identify" "/cygdrive/c/documents and settings/username" 
[EMAIL PROTECTED]:/path/on/freebsd/server


You will need to create a folder named .ssh in the bin folder of cwrsync 
and in that folder create the necessary ssh keys.


Good luck!



Chris Maness skrev:
I need to sync a directory with my freebsd box.  In linux/bsd I use the 
command  rsync -vaur [EMAIL PROTECTED]:/home/chris/beer /home/chris/beer and 
this works perfectly for me.  However, using the cwrsync package in 
windows with this syntax does not work.


Pleas help!
Thanks...


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


Re: config version = 600003, version required = 600004

2007-03-16 Thread Kris Kennaway
On Fri, Mar 16, 2007 at 04:38:38PM +0100, Luca Masini wrote:
> Niclas Zeising wrote:
> >Have a look in the handbook here:
> >http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig.html 
> >
> >and here:
> >http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cutting-edge.html 
> >
> >for instructions on how to rebuild/upgrade your kernel and system.
> Will do!
> :-P
> 
> >Usually you have to upgrade userland along with your kernel or things
> >will get out of sync and Bad Things(tm) will happen.
> I don't want to upgrade the current system.
> I only need to be able to compile a reference GENERIC of 7-CURRENT
> in a user subdirectory.

Running a 7.x kernel on a 6.x system is unsupported.  You can do it,
but some things won't work and it's for "advanced users only".  A good
alternative might be for you to run 7.0 under qemu.

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


"The Complete FreeBSD": errata and addenda

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


How to get best results from FreeBSD-questions

2007-03-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
  Fr

Re: Problems with your ftp site

2007-03-16 Thread Kris Kennaway
On Fri, Mar 16, 2007 at 12:05:25PM +0100, Mike wrote:
> Nino Ivanov wrote:
> >Dear Sir or Madam,
> >
> >I tried reaching
> >
> >ftp://ftp-archive.freebsd.org/pub/FreeBSD-Archive/old-releases/
> >
> >from my Windows XP machine, using Firefox 2.0.0.2, and it requires me to
> >input a username and a password. The same happens with IE7. I would like to
> >download old ISO images. Is this a bug, or is it some new regular 
> >behaviour,
> >and in any case, is there a way to download these images?
> >
> >  
> No, there is a problem.  This shouldn't happen normally:
> 
> Name (ftp-archive.freebsd.org:porridge): anonymous
> 331 Guest login ok, send your complete e-mail address as password.
> Password:
> 530 Login incorrect.
> ftp: Login failed.

It's reached its user limit.  Retry or use a client that will do this
automatically.

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


Re: Rsync w/ Windows

2007-03-16 Thread Jeremy Gransden

On 3/16/07, Chris Maness <[EMAIL PROTECTED]> wrote:


I need to sync a directory with my freebsd box.  In linux/bsd I use the
command  rsync -vaur [EMAIL PROTECTED]:/home/chris/beer /home/chris/beer and
this works perfectly for me.  However, using the cwrsync package in
windows with this syntax does not work.

Pleas help!
Thanks...

--
Chris Maness
(909) 223-9179
http://www.chrismaness.com

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




You have to tell windows the full path including drive letter.  This is what
i use to sync Xp laptop to freebsd server:

rsync.exe -r /cygdrive/c/z-test/ [EMAIL PROTECTED]:/home/jeremy/backup/

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


Re: Fixing DST manually on rel4 & rel5

2007-03-16 Thread Chuck Swiger

On Mar 16, 2007, at 12:56 AM, Ted Mittelstaedt wrote:

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


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


*shrug*-- maybe, but if you don't mount /usr, the system isn't  
capable of running much which cares about the timezone.  Even syslogd  
itself is under /usr/sbin


--
-Chuck

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


Re: Flash with Firefox 2

2007-03-16 Thread Pietro Cerutti

On 3/16/07, Jay Chandler <[EMAIL PROTECTED]> wrote:

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

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


I'm currently running 6.2-STABLE, firefox-2.0.0.2,1,
linux-flashplugin-7.0r69 and linuxpluginwrapper-20051113_7 and flash
plugin works well on most of the websites I've been.

Here's the relevant part of my /etc/libmap.conf
[/usr/local/lib/npapi/linux-flashplugin/libflashplayer.so]
libpthread.so.0 libpthread.so.2
libdl.so.2pluginwrapper/flash7.so
libz.so.1 libz.so.3
libm.so.6 libm.so.4
libc.so.6 pluginwrapper/flash7.so

Don't forget to add the symbolic links required:

# cd /usr/local/lib/browser_plugins
# ln -s /usr/local/lib/npapi/linux-flashplugin/flashplayer.xpt .
# ln -s /usr/local/lib/npapi/linux-flashplugin/libflashplayer.so .

Hope this helps,



--
Jay Chandler
Network Administrator
Chapman University



--
Pietro Cerutti

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


Failed ftp

2007-03-16 Thread Nino Ivanov
Thank you very much for your suggestions.

I succeeded in IE7, by not entering anything in the box. I entered:

ftp://ftp-archive.freebsd.org/pub/FreeBSD-Archive/old-releases/

Then, I clicked my way to the ISO-IMAGES directory. On the way it asked me
again with a login box. I tried with checking the box, but it did not work.
So I changed Anonymous to anonymous. I tried with the Microsoft-password
[EMAIL PROTECTED], and it worked. However, on a repeated try, anonymous
with my own [EMAIL PROTECTED] as password would not work.

Firefox, however, would fail, no matter what I do.

Right now I am downloading disk1-kde. I don't know if it is important, but I
am using the net from my dorm, and there everything goes through some
central machine. Is this relevant? Till now, all was just fine...

-Ursprüngliche Nachricht-
Von: Jerry McAllister [mailto:[EMAIL PROTECTED] 
Gesendet: Freitag, 16. März 2007 15:29
An: Ian Lord
Cc: [EMAIL PROTECTED]; 'Josh Paetzel'; freebsd-questions@freebsd.org; 'Kris
Kennaway'
Betreff: Re: FreeBSD 2.2.9 / Installation problem

On Fri, Mar 16, 2007 at 08:58:00AM -0400, Ian Lord wrote:

> 
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Nino Ivanov
> Sent: 16 mars 2007 07:07
> To: 'Josh Paetzel'; freebsd-questions@freebsd.org
> Cc: 'Kris Kennaway'
> Subject: AW: FreeBSD 2.2.9 / Installation problem
> 
> I tried to send to freebsd-questions the following twice, and twice
failed!:

Looks like both were posted.   Why would you think it failed?

jerry

> 
> Dear Sir or Madam,
> 
> I tried reaching
> 
> ftp://ftp-archive.freebsd.org/pub/FreeBSD-Archive/old-releases/
> 
> from my Windows XP machine, using Firefox 2.0.0.2, and it requires me to
> input a username and a password. The same happens with IE7. I would like
to
> download old ISO images. Is this a bug, or is it some new regular
behaviour,
> and in any case, is there a way to download these images?
> 
> NetBSD archives work well, so it is not a problem in my machine I think.
> 
> Regards,
> 
> Nino Ivanov
> 
> Lol :)
> 
> In Ie7, just click the "log on anonymously" checkbox and press login
> 
> ___
> 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: FreeBSD 2.2.9 / Installation problem

2007-03-16 Thread Kris Kennaway
On Fri, Mar 16, 2007 at 12:07:26PM +0100, Nino Ivanov wrote:
> I tried to send to freebsd-questions the following twice, and twice failed!:
> 
> Dear Sir or Madam,
> 
> I tried reaching
> 
> ftp://ftp-archive.freebsd.org/pub/FreeBSD-Archive/old-releases/
> 
> from my Windows XP machine, using Firefox 2.0.0.2, and it requires me to
> input a username and a password. The same happens with IE7. I would like to
> download old ISO images. Is this a bug, or is it some new regular behaviour,
> and in any case, is there a way to download these images?
> 
> NetBSD archives work well, so it is not a problem in my machine I think.

Probably it's just busy.

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


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

2007-03-16 Thread RW
On Thu, 15 Mar 2007 14:39:00 -0500
Jeffrey Goldberg <[EMAIL PROTECTED]> wrote:

> I've had two responses telling me that the make.conf defaults are  
> just fine, and two (one off list) recommending i686/pentiumpro.  One  
> for pentiumpro and the other for i686, but as Andreas Rudish  
> helpfully pointed out, those two are probably the same thing.  No
> one suggested using c3.  In fact, cpghost emphatically stated not to
> use C3 in make.conf
> 
> Adbullah Ibn Hamad Al-Marri also helpfully directed me for  
> information about safe CFLAGS to
> 
>http://gentoo-wiki.com/Safe_Cflags
> 
> where the entry for the Via Nehemiah says:
> 
> ==
> Nehemiah (C5XL)/C5P (Via)
> 
> CHOST="i686-pc-linux-gnu"
> CFLAGS="-march=i686 -msse -mmmx -O2 -pipe -fomit-frame-pointer"
> CXXFLAGS="${CFLAGS}"
> 
> note: The more recent versions of the C3 do support the cmov  
> instruction and hence -march=i686. If you must be compatible with
> all VIA C3 versions, do not use the settings in this section.
> 
> note: it is also possible to use "-march=c3-2". <-- Comment to this:  
> I got a problem "compiler can't create executables" with this setting.

From: /usr/share/mk/bsd.cpu.mk 

.  elif ${CPUTYPE} == "c3"
MACHINE_CPU = 3dnow mmx i586 i486 i386
.  elif ${CPUTYPE} == "c3-2"
MACHINE_CPU = sse mmx i586 i486 i386


If you look at the screenshot of the CPUID window from the review
linked by Garrett, it says the Nehemiah has sse but not 3dnow, which
matches the c3-2 settings above. 

I would recommend that you comment out C[XX]FLAGS and try again
with CPUTYPE=c3-2

FreeBSD isn't Gentoo, and using Gentoo's settings may cause trouble in
the long-term. If you set CPUTYPE properly, FreeBSD will normally
come-up with sensible optimizations. 



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


Rsync w/ Windows

2007-03-16 Thread Chris Maness
I need to sync a directory with my freebsd box.  In linux/bsd I use the 
command  rsync -vaur [EMAIL PROTECTED]:/home/chris/beer /home/chris/beer and 
this works perfectly for me.  However, using the cwrsync package in 
windows with this syntax does not work.


Pleas help!
Thanks...

--
Chris Maness
(909) 223-9179
http://www.chrismaness.com

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


Re: nfsiod && nfs_client_flags

2007-03-16 Thread Dan Nelson
In the last episode (Mar 16), Konrad Heuer said:
> after replacing 4.11-RELEASE by 6.1-RELEASE on most of my systems I
> just remembered the rc.conf variable "nfs_client_flags" which I used
> under 4.x to raise the number of nfsiod's on heavily loaded systems.
> I can't find nfs_client_flags in 6.1 although the man page of nfsiod
> still documents the "-n" flag.

nfsiods in 5.* and newer are completely kernel-based and are controlled
by three sysctls: vfs.nfs.iodmin, vfs.nfs.iodmax, and
vfs.nfs.iodmaxidle.  The kernel will automatically start up new nfsiods
as it needs them, up to 'iodmax'.  If an nfsiod had been idle for
'iodmaxidle' seconds, the kernel will kill it off, but will always
leave at least 'iodmin' processes running.

All /sbin/nfsiod does is set the iodmax sysctl (which defaults to 20);
it's not really needed anymore.

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


Re: DST

2007-03-16 Thread DAve

Jean-Paul Natola wrote:

Hi everyone,

I'm still having an issue with the new daylight saving-

I ran tzsetup entered the appropriate zone- but when I reboot the machine it
still in the old time zone-

Is there a patch for freebsd 5.4


Dan Busarow posted an excellent step by step earlier. I used it with 
success on version 4.8 to 6.2 with no problems (Except the AMD64 port 
which has a zdump problem).


See below,

DAve

--


Grant,

Search for an email I sent to the list on 2/22 with Subject

 Determining daylight savings changes on BSD

It has the steps needed to update manually from source.

Here's the steps

If you can't use the ports to update your time zone files here is the manual 
procedure.

1. create a new directory and cd into it
   e.g. # mkdir myzoneinfo; cd myzoneinfo

2. # fetch ftp://elsie.nci.nih.gov/pub/tzdata2007c.tar.gz

3. # tar -zxvf tzdata2007c.tar.gz

4. you will now have a bunch of files in the directory extracted from 
tzdata2007b.
   you need to edit zone.tab and comment out these lines

#AX +6006+01957 Europe/Mariehamn
#GG +4927-00232 Europe/Guernsey
#IM +5409-00428 Europe/Isle_of_Man
#JE +4912-00207 Europe/Jersey
#ME +4226+01916 Europe/Podgorica
#RS +4450+02030 Europe/Belgrade
#TL -0833+12535 Asia/Dili

5. run this command
   # zic -d ./zoneinfo -p America/Los_Angeles -m 0644 -y ./yearistype \
   africa antarctica asia australasia etcetera europe \
   factory northamerica southamerica systemv

   that's all one long line
   the zic command will create a new directory named zoneinfo and
   fill it with the new zoneinfo files.  You can compare it to
   /usr/share/zoneinfo

6. install the new files by running
   # cp -R -p ./zoneinfo/ /usr/share/zoneinfo
   # cp ./zone.tab /usr/share/zoneinfo
   # tzsetup

7. to verify that all went well run
   # zdump -v /etc/localtime | grep 2007
   your should get

/etc/localtime  Sun Mar 11 09:59:59 2007 UTC = Sun Mar 11 01:59:59 2007 PST 
isdst=0 gmtoff=-28800
/etc/localtime  Sun Mar 11 10:00:00 2007 UTC = Sun Mar 11 03:00:00 2007 PDT 
isdst=1 gmtoff=-25200
/etc/localtime  Sun Nov  4 08:59:59 2007 UTC = Sun Nov  4 01:59:59 2007 PDT 
isdst=1 gmtoff=-25200
/etc/localtime  Sun Nov  4 09:00:00 2007 UTC = Sun Nov  4 01:00:00 2007 PST 
isdst=0 gmtoff=-28800


I've done this on 1/2 dozen older 4.x and 5.x servers and it works fine.



Dan 



--


--
Three years now I've asked Google why they don't have a
logo change for Memorial Day. Why do they choose to do logos
for other non-international holidays, but nothing for
Veterans?

Maybe they forgot who made that choice possible.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Corrupted OS

2007-03-16 Thread Drew Jenkins
Jerry McAllister <[EMAIL PROTECTED]> wrote: On Fri, Mar 16, 2007 at 07:16:33AM 
-0700, Drew Jenkins wrote:

> 2Kevin Kinsey  wrote:> > synch your source to 6.2 
> > > 
> > > How? And is this necessary since it's already at 6.2?
> > 
> > The command below, "cvsup -g -L 2 supfile".  Assuming, of > course, that 
> > the supfile is valid.  Is it necessary?  Depends; if you're convinced 
> > that something is wrong with your current installation, then you might 
> > not need to, because you can rebuild exactly the system that you 
> > *should* have (for example, perhaps you fat-fingered a chmod or rm 
> > call?).  
> 

> Can you finally learn to break you lines at about 70 characters in length.
> Having them run on long makes it much more difficult to make responses.
> Most Email clients allow you to configure it to break lines.  If yours
>does not, just hit a a RETURN/ENTER about there each time.

Yahoo's new beta must be the problem. Let's see if the old yahoo system works. 
Just switched back. Let me know.

> That I don't quite get.  If you are just adding a disk to your machine,
> it is not likely to corript the rest of the system unless you execute
> something on that disk.   

Which I did. Trust me. I've ruled everything else out. It's the HD.

> When you fdisk, bsdlabel and newfs it, it is
> wiped and the previous contents are gone.  If you precede that with
> a nice dd to overwrite initial sectors with zeros, then it is even
> more wiped before you even get to the fdisk.   

Can I bsdlabel, newfs and fdisk that disk without wiping the other disks, and 
do it remotely? 

> Or are you trying to add this disk to a mirror in such a way that
> the raid controller thinks it is the good disk and the other is
> corrupt and tries to rebuild the mirror with the contents of the
> added disk?   That you don't want to do.

That I am not doing. There are two other disks in the box that are SCSIs.

> My thoughts are that something is happening that you haven't declared
> yet.   An HD does not go out and zap files.   That is like saying one
> book on a shelf skipped over and trashed the contents of another book
> on a shelf.   

You misread. The files were on the new HD. The "action scripts", or s/w that 
calls those dbase files, are on the SCSI drives.

TIA,
Drew

 
-
We won't tell. Get more on shows you hate to love
(and love to hate): Yahoo! TV's Guilty Pleasures list.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Portupgrade and replacing apache 1.3.37 with apache 2.2.4

2007-03-16 Thread Doug Poland
Hello,

I'm running FreeBSD 6.2-STABLE on an i386 test box with apache
1.3.37/PHP-5/MySQL-5.  As the subject says, I'd like to replace apache
1.3 with apache 2.2.

I understand httpd.conf will change and that I'll have to edit that by
hand, but is there a portupgrade command that will remove 1.3.37,
install 2.2.4, and rebuild all apache dependent programs?

I'm thinking something like:

# portupgrade -R -f -o www/apache22 www/apache13-modssl


-- 
Regards,
Doug

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


RE: DST

2007-03-16 Thread Tamouh H.
> 
> Hi everyone,
> 
> I'm still having an issue with the new daylight saving-
> 
> I ran tzsetup entered the appropriate zone- but when I reboot 
> the machine it still in the old time zone-
> 
> Is there a patch for freebsd 5.4
> 

Paste the results of:

zdump -v /etc/localtime | grep 2007

&

date

somebody posted this code before:

fetch ftp://sunrise.ipinc.net/pub/tzdata2007c.tar.gz
tar -xzf tzdata2007c.tar.gz
zic -d zoneinfo northamerica
cp -R zoneinfo/* /usr/share/zoneinfo


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


Re: mirror without destroying existing contents

2007-03-16 Thread John Nielsen
On Friday 16 March 2007 11:18, Steve Franks wrote:
> I get the following:
>
> #gmirror label -v -b split -s 1024 data ad0
> can't store metadata on ad0: operation not permitted.

That most likely means that you currently have a filesystem on ad0 mounted. If 
that's the case you should be glad that the OS was smarter than you. What 
steps had you taken prior to this?

> Ideas?  Same behavior with /dev/ad0.  Does this only work with da0
> disks, not sata drives?  I'm logged in as root, not su.  The drive is
> on a promise non-raid sata card (the sw raid chipset on my asus bios
> lost support going from 6.1 to 6.2 - something about some new method
> not supported by the bios according to Soren).

Gmirror should work with any GEOM provider, and definitely works with SATA 
disks. As long as your controller is supported to the point of seeing and 
accessing the disks connected to it the software raid support is irrelevant 
(that's what you're using gmirror for).

JN

> On 3/13/07, John Nielsen <[EMAIL PROTECTED]> wrote:
> > On Tuesday 13 March 2007 15:12, Steve Franks wrote:
> > > Anyone made a mirror w/o destroying what's in the disk already?  The
> > > atacontrol man page is less than adequate in this respect...is is even
> > > possible?
> >
> > If you want to use gmirror (which I recommend), the most conservative
> > approach is as follows. This can probably be adapted to other mirroring
> > techniques/software as well.
> >
> > Verify that your backups are up-to-date and reliable.
> >
> > Create a "degraded" single-member mirror on the blank disk (or a
> > partition/slice on said disk). (gmirror label command) Make sure that the
> > size of the disk/slice/partition is equal to or smaller than the size of
> > the disk/slice/partition which already contains your data.
> >
> > Create (a) new filsystem(s) on the new mirror. (newfs and possibly
> > bsdlabel, depending on how/if you want to break it up)
> >
> > Transfer your data from the existing filesystem to the new filesystem
> > (dump/restore -- it's easier than it sounds). (Alternative: restore from
> > the backup you created to begin with.)
> >
> > Verify data transfer, make relevant changes to /etc/fstab, possibly other
> > intermediate steps.
> >
> > Destroy the original filesystem (possibly using dd and /dev/zero) (not
> > strictly necessary, but wiping at least the first part of the
> > disk/slice/partition can help avoid potential confusion (for you and the
> > system) later.)
> >
> > Insert the original disk/slice/partition into your new mirro (gmirror
> > insert command).
> >
> > This approach can take longer than some others (due to the transfer
> > requirement), but the finished product is less likely to contain
> > surprises. I have successfully used this approach to migrate several
> > types of volumes to gmirror sets, including boot partitions.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Serial Port Problems (Solved)

2007-03-16 Thread Dan D Niles
On Fri, 2007-03-16 at 11:16 -0400, David Robillard wrote:

> That being said, I checked /usr/src/libexec/getty/main.c to find out
> how to recreate your fix. But I'm not a huge C programmer, so I tried
> other ways to solve this.

I submitted a bug report and patch, but it has not been accepted yet.
I'm not even sure that it has been reviewed.  I'll attach my patch to
this message.

> That brought me to gettytab(5) which says that the "de" field controls
> the "delay secs and flush input before writing first prompt" as the
> man page puts it.

This puts a delay before the first prompt but not the prompts after
entering a null login name or other invalid input.   It could help if
you were having problems with garbled output all the time not just after
invalid input.  If  that is the case, you probably need to set de and
use my patch.

Dan


--- libexec/getty/main.c.orig   Tue Mar  6 15:55:35 2007
+++ libexec/getty/main.cTue Mar  6 15:58:06 2007
@@ -295,6 +295,8 @@
/* remove any noise */
(void)tcflush(STDIN_FILENO, TCIOFLUSH);
}
+   if (!first_sleep)
+   sleep(1);
first_sleep = 0;
 
setttymode(0);
@@ -376,6 +378,7 @@
continue;
if (name[0] == '-') {
puts("user names may not start with '-'.");
+   oflush();
continue;
}
if (!(upper || lower || digit)) {
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: boot2 can't boot from USB?

2007-03-16 Thread Jerry McAllister
On Thu, Mar 15, 2007 at 05:30:45PM -0400, Craig Rodrigues wrote:

> On Thu, Mar 15, 2007 at 11:16:16AM +0100, Fluffles wrote:
> > If so, i may have found some bugs / problems with boot2. Long ago i
> > tried to make a bootable USB pendrive with FreeBSD 6.1 on it. It failed
> > to boot with the message "invalid slice" and i got a prompt like:
> 
> I have worked a lot with getting FreeBSD to boot off of USB devices,
> and have gotten it to work.
> Specifically, I have worked with USB pen drives, and USB CD-ROM drives.
> It *is* possible, but what I have found is the following:
> - on some motherboards, you need to explicitly configure the BIOS
>   to boot off of a USB device (either a disk, a CD-ROM, or a "Zip drive")
> - booting off of USB-CDROM devices seems to be much more reliable than
>   booting off of USB pen drives
> - if you have an "older" motherboard BIOS, say from about 3-4 years ago,
>   booting off of USB devices is more unreliable, than a "newer" motherboard
>   BIOS
> - if I have 5 different models of USB pen drives, each model may behave
>   differently, and may or may not boot.  Same for USB CD-ROM drives,
>   but I've found CD-ROM drives to be more reliable than pen drives.
> 
> So to summarize: 
> - booting off of USB devices seems to be sensitive
>   to your motherboard BIOS, and the firmware written into your USB device.
> - booting off of USB CD-ROM drives seems to be more reliable than booting
>   off of USB pen drives

Just to add to your list, I have been successful booting from
a USB floppy drive.   I don't remember the floppy drive make, but
I have used it on both a Dell Optiplex and a IBM (Lenova) laptop.

jerry

> 
> There is no logic to this, I've just found this out from trial and error,
> and banging my head a lot.
> 
> -- 
> Craig Rodrigues
> [EMAIL PROTECTED]
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
> 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: Corrupted OS

2007-03-16 Thread Drew Jenkins
I have lots of other files, yes, several gigabytes worth. I have a satellite 
dish connection, which for uploading has all the speed of a telephone line. 
It's a production server. And I don't have my hands on the console. I think 
I'll avoid fdisk, but thanks anyway ;)
Drew

- Original Message 
From: Jerry McAllister <[EMAIL PROTECTED]>
To: Drew Jenkins <[EMAIL PROTECTED]>
Cc: freebsd-questions@freebsd.org
Sent: Friday, March 16, 2007 11:17:55 AM
Subject: Re: Corrupted OS

On Fri, Mar 16, 2007 at 05:09:15PM +0700, Drew Jenkins wrote:

> 23Hi;
> Is it possible to rebuild an OS without reformatting the hard drive? I 
> have FBSD6.2, so I can't upgrade.

I am not sure just what you are trying to avoid.
First of all, strictly speaking, when installing FreeBSD you never
format or reformat the hard-drive.  That is a much lower level
operation.  FreeBSD and all other OSen use the factory format
unless you do something unusually drastic.

Doing fdisk/bsdlabel/newfs is not technically 'formatting' the drive
but rather building slices, partitions and filesystems on the drive.

Now.   You do not have to redo the fdisk, bsdlabel and newfs to
wipe out and reinstall things, but why not do them?   They take
very little time.The only reason I could think of would be if
you have a lot of your own files you don't want to nuke.  But, in
that case, the better course of action would be to back them up
somewhere safe and do the complete reinstall from scratch and then
bring your own files back.

jerry

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







 

Expecting? Get great news right away with email Auto-Check. 
Try the Yahoo! Mail Beta.
http://advision.webevents.yahoo.com/mailbeta/newmail_tools.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


DST

2007-03-16 Thread Jean-Paul Natola
Hi everyone,

I'm still having an issue with the new daylight saving-

I ran tzsetup entered the appropriate zone- but when I reboot the machine it
still in the old time zone-

Is there a patch for freebsd 5.4









Jean-Paul Natola
Network Administrator
Information Technology
Family Care International
588 Broadway Suite 503
New York, NY 10012
Phone:212-941-5300 xt 36
Fax:  212-941-5563
Mailto: [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: config version = 600003, version required = 600004

2007-03-16 Thread Luca Masini

Niclas Zeising wrote:

Have a look in the handbook here:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig.html 


and here:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cutting-edge.html 


for instructions on how to rebuild/upgrade your kernel and system.

Will do!
:-P


Usually you have to upgrade userland along with your kernel or things
will get out of sync and Bad Things(tm) will happen.

I don't want to upgrade the current system.
I only need to be able to compile a reference GENERIC of 7-CURRENT
in a user subdirectory.

Ciao.

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


Re: config version = 600003, version required = 600004

2007-03-16 Thread Luca Masini

Nikos Vassiliadis wrote:

How useful is a 7-CURRENT kernel with
6-SOMETHING userland?
  

Not much useful but the intention was just to compile a reference
kernel; not to upgrade the current installed system.
(everything is in a user subdirectory)

It was explained in a tutorial article about kernel load module.
I just need to be able to compile a reference GENERIC of this 7-CURRENT
before doing the modification (the simple load module).
Probably the author didn't had the problem with config...


Perhaps you should try "make kernel" instead of config(8).
This is the new way.

Please, read /usr/src/UPDATING.
  


I will try.

Thanks.

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


Re: DNS configuration at FreeBSD

2007-03-16 Thread Roger Olofsson

Hello there hiding behind an anonymous email account whoever you are,

Not knowing what you really ask for, since you don't provide much 
information I assume that you want to setup a small dns for LAN with 
forwarding to your ISP?


If this is correct may I suggest that you have look at djbdns from the 
ports tree and follow the guides at http://cr.yp.to/djbdns.html . The 
examples are plentiful and it's a fairly easy dns to setup and run.


Good luck!



neo neo skrev:

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




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


Re: squid

2007-03-16 Thread Bart Silverstrim


On Mar 16, 2007, at 10:51 AM, RW wrote:


On Thu, 15 Mar 2007 06:45:22 +
"neo neo" <[EMAIL PROTECTED]> wrote:



How to configure to use my FreeBSD as a proxy with Squid ?


Just install it and read the notes that are printed-out at the end of
the install.


What exactly is the question regarding Squid?  How to configure some  
feature, how to get clients to work with it, what is a proxy...?


You might want to google for Squid and read the docs on their project  
home page if you're totally lost on what and how it works.

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


Re: Corrupted OS

2007-03-16 Thread Jerry McAllister
On Fri, Mar 16, 2007 at 07:16:33AM -0700, Drew Jenkins wrote:

> 2Kevin Kinsey <[EMAIL PROTECTED]> wrote:> > synch your source to 6.2 
> > > 
> > > How? And is this necessary since it's already at 6.2?
> > 
> > The command below, "cvsup -g -L 2 supfile".  Assuming, of > course, that 
> > the supfile is valid.  Is it necessary?  Depends; if you're convinced 
> > that something is wrong with your current installation, then you might 
> > not need to, because you can rebuild exactly the system that you 
> > *should* have (for example, perhaps you fat-fingered a chmod or rm 
> > call?).  
> 

Drew,

Can you finally learn to break you lines at about 70 characters in length.
Having them run on long makes it much more difficult to make responses.
Most Email clients allow you to configure it to break lines.  If yours
does not, just hit a a RETURN/ENTER about there each time.

> Yes. The system was working fine. The problem is with an extra HD I have that 
> I told the server farm to check out thoroughly before installing it in the 
> new server because I knew it had a problem. They said they didand didn't. 
> So that's what corrupted the system again...exactly the same way it did 
> before, too. But yes, the system was working fine before I had data files on 
> the HD in question linked to s/w on the SCSI hard drives.

That I don't quite get.  If you are just adding a disk to your machine,
it is not likely to corript the rest of the system unless you execute
something on that disk.   When you fdisk, bsdlabel and newfs it, it is
wiped and the previous contents are gone.  If you precede that with
a nice dd to overwrite initial sectors with zeros, then it is even
more wiped before you even get to the fdisk.   

Or are you trying to add this disk to a mirror in such a way that
the raid controller thinks it is the good disk and the other is
corrupt and tries to rebuild the mirror with the contents of the
added disk?   That you don't want to do.

> > OTOH, if you are attempting to get "up to date" on security 
> > fixes, etc., then you should read up on "the Cutting Edge" so that you 
> > understand the CVS tags, and use cvsup as shown below.  
> 
> Well, it never hurts to get up to date on security, does it? Where do I find 
> this cutting edge?
> 
> > Be *certain* you 
> > have the CVS tag you really want in the supfile before you press enter, 
> > though.
> 
> Will that be outlined in the cutting edge, or elsewhere?
> 
> > Now, if you think that the system is corrupt because your source tree is 
> > corrupt, then you would also want to sync your source tree.  Of course, 
> > why would it be corrupt?  If a committer made an error, you'd probably 
> > see some discussion of it on this list of the stable@ list.
> 
> The HD zapped two data files--MySQL and a Zope instance Data.fs--and that's 
> what caused the problem both times. I doubt this would have hurt the source 
> tree. Your thoughts?

My thoughts are that something is happening that you haven't declared
yet.   An HD does not go out and zap files.   That is like saying one
book on a shelf skipped over and trashed the contents of another book
on a shelf.   

The only ways that the new HD could be involved would be either if you
executed something on that disk or if it was being improperly 
incorporated in to a mirror.

jerry

> 

> ...and I don't need this either, since I'm not doing mergmaster at all, right?
> 
> mergemaster
> TIA,
> Drew
> 
>  
> -
> Don't be flakey. Get Yahoo! Mail for Mobile and 
> always stay connected to friends.
> ___
> 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: Flash with Firefox 2

2007-03-16 Thread Tom Grove

Albert Shih wrote:

 Le 16/03/2007 à 09:31:57+0100, Nagy László Zsolt a écrit
  

Jay Chandler írta:

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


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


  
You need to install the linux version. Flash plugin is not supported in 
the FreeBSD version. In Linux compatibility mode, the flash plugin makes 
the browser unstable. Too bad. :-(


There are some applications that we would like to have ported to 
FreeBSD. Firefox flash plugin is on of them. Another one is a natvive 
skype port. The authors of these softwares do not support FreeBSD and 
the source code is closed. :-(





andvmware

It's very usefull software for make test of new-software.

Regards
--
Albert SHIH
Observatoire de Paris Meudon
SIO batiment 15
Heure local/Local time:
Ven 16 mar 2007 11:06:13 CET
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"
  

Have you tried Win4BSD?  It isn't perfect but get's the job done.

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


Re: mirror without destroying existing contents

2007-03-16 Thread Steve Franks

I get the following:

#gmirror label -v -b split -s 1024 data ad0
can't store metadata on ad0: operation not permitted.

Ideas?  Same behavior with /dev/ad0.  Does this only work with da0
disks, not sata drives?  I'm logged in as root, not su.  The drive is
on a promise non-raid sata card (the sw raid chipset on my asus bios
lost support going from 6.1 to 6.2 - something about some new method
not supported by the bios according to Soren).

Thanks,
Steve

On 3/13/07, John Nielsen <[EMAIL PROTECTED]> wrote:

On Tuesday 13 March 2007 15:12, Steve Franks wrote:
> Anyone made a mirror w/o destroying what's in the disk already?  The
> atacontrol man page is less than adequate in this respect...is is even
> possible?

If you want to use gmirror (which I recommend), the most conservative approach
is as follows. This can probably be adapted to other mirroring
techniques/software as well.

Verify that your backups are up-to-date and reliable.

Create a "degraded" single-member mirror on the blank disk (or a
partition/slice on said disk). (gmirror label command) Make sure that the
size of the disk/slice/partition is equal to or smaller than the size of the
disk/slice/partition which already contains your data.

Create (a) new filsystem(s) on the new mirror. (newfs and possibly bsdlabel,
depending on how/if you want to break it up)

Transfer your data from the existing filesystem to the new filesystem
(dump/restore -- it's easier than it sounds). (Alternative: restore from the
backup you created to begin with.)

Verify data transfer, make relevant changes to /etc/fstab, possibly other
intermediate steps.

Destroy the original filesystem (possibly using dd and /dev/zero) (not
strictly necessary, but wiping at least the first part of the
disk/slice/partition can help avoid potential confusion (for you and the
system) later.)

Insert the original disk/slice/partition into your new mirro (gmirror insert
command).

This approach can take longer than some others (due to the transfer
requirement), but the finished product is less likely to contain surprises. I
have successfully used this approach to migrate several types of volumes to
gmirror sets, including boot partitions.

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




--
Steve Franks, KE7BTE
Staff Engineer
La Palma Devices, LLC
http://www.lapalmadevices.com
(520) 312-0089
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Corrupted OS

2007-03-16 Thread Jerry McAllister
On Fri, Mar 16, 2007 at 05:09:15PM +0700, Drew Jenkins wrote:

> 23Hi;
> Is it possible to rebuild an OS without reformatting the hard drive? I 
> have FBSD6.2, so I can't upgrade.

I am not sure just what you are trying to avoid.
First of all, strictly speaking, when installing FreeBSD you never
format or reformat the hard-drive.  That is a much lower level
operation.  FreeBSD and all other OSen use the factory format
unless you do something unusually drastic.

Doing fdisk/bsdlabel/newfs is not technically 'formatting' the drive
but rather building slices, partitions and filesystems on the drive.

Now.   You do not have to redo the fdisk, bsdlabel and newfs to
wipe out and reinstall things, but why not do them?   They take
very little time.The only reason I could think of would be if
you have a lot of your own files you don't want to nuke.  But, in
that case, the better course of action would be to back them up
somewhere safe and do the complete reinstall from scratch and then
bring your own files back.

jerry

> TIA,
> Drew
> 
> ___
> 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]"


nfsiod && nfs_client_flags

2007-03-16 Thread Konrad Heuer


Hi everyone,

after replacing 4.11-RELEASE by 6.1-RELEASE on most of my systems I just 
remembered the rc.conf variable "nfs_client_flags" which I used under 4.x 
to raise the number of nfsiod's on heavily loaded systems. I can't find 
nfs_client_flags in 6.1 although the man page of nfsiod still documents 
the "-n" flag.


Is there any reason for this?

Thanks for any reply!

Best regards
Konrad Heuer
GWDG, Am Fassberg, 37077 Goettingen, Germany, [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: Serial Port Problems (Solved)

2007-03-16 Thread David Robillard

On Thu, 2007-03-01 at 15:27 -0600, Dan D Niles wrote:

If I disconnect and come back later
(sometimes), or if I hit return without entering a login name (always)
it starts spitting out junk like:

nooo~:Woo{;>6(|uww~now~nou})|t}}t9-


I found a solution, although I'm not sure why it works.

When you just hit enter getty goes back to the beginning of its loop.
This also happens if you enter a name starting with "-" or consisting of
just spaces.  These also causes the output to become garbled.

At the beginning of the loop it calls setttymode(0).  If I insert a
sleep(1) before this call, everything works correctly.  If I insert the
sleep after that, the output still gets garbled.

Like I said, I don't know why it works, but it does.

I don't think a short delay is unreasonable after entering invalid or no
information.  I am going to submit a PR with a patch.


I have the same behavior as you do on some machines here. But I
originally thought it was caused by the (old) serial port card I used
to build a serial console server.

The card is an EasyIO PCI 8-port card from Stallion Technologies as
suggested by Gregory Bond's article "Console Server" from
http://www.freebsd.org/doc/en_US.ISO8859-1/articles/console-server/index.html
(BTW, don't buy this card today because it's driver was not ported
from FreeBSD 4.x to neither 5.x nor 6.x.)

That being said, I checked /usr/src/libexec/getty/main.c to find out
how to recreate your fix. But I'm not a huge C programmer, so I tried
other ways to solve this.

That brought me to gettytab(5) which says that the "de" field controls
the "delay secs and flush input before writing first prompt" as the
man page puts it.

So I changed a test machine's gettytab default entry from:

default:\
   :cb:ce:ck:lc:fd#1000:im=\r\n%h (%t)\r\n\r\n:sp#1200:\
   :if=/etc/issue:

To:

default:\
   :cb:ce:ck:lc:fd#1000:im=\r\n%h (%t)\r\n\r\n:sp#1200:\
   :if=/etc/issue:de=2:

And restarted (not sure if a reboot is necessary here?). I had to
fiddle a bit with the delay, but it did help.

HTH,

David
--
David Robillard
UNIX systems administrator & Oracle DBA
CISSP, RHCE & Sun Certified Security Administrator
Montreal: +1 514 966 0122
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Corrupted OS

2007-03-16 Thread Drew Jenkins
You have probably already read those details in another one of my emails 
between when you emailed and when I responded to yours, but in case not, here 
it is again:

I executed a bad command on my old server which I am convinced damaged a 500 GB 
HD I had. The server farm says otherwise, but it is in their best interest to 
talk a lot and do as little work as possible...and rake in more money for 
screwing up OS's, etc. So I had them build out another server which I built out 
after they got me up. First, however, I built a mirror server here and wrote 
down every command I executed in building it, to make sure there would be no 
mistakes. Then one day, all of a sudden, when I wasn't doing any work at all in 
the given areas, two of my databases got wiped: MySQL and one of my Zope 
instances' Data.fs, both of which were symlinked to the SCSI HDs from the 500 
GB HD. This is exactly what happened on the old server, except on the old one 
it happened because of an erroneous copy command. Now, strange little things 
are happening for which there is no logical explanation other than corruption 
of the OS...exactly what transpired on the old server.
 Well, that's more detail than in my last email ;)
TIA,
Drew

- Original Message 
From: Garrett Cooper <[EMAIL PROTECTED]>
To: freebsd-questions@freebsd.org
Sent: Friday, March 16, 2007 10:43:38 AM
Subject: Re: Corrupted OS

Christian Walther wrote:
> On 16/03/07, Drew Jenkins <[EMAIL PROTECTED]> wrote:
>> 23Hi;
>> Is it possible to rebuild an OS without reformatting the hard drive? I 
>> have FBSD6.2, so I can't upgrade.
> 
> What are you trying to do? You could always go to /usr/src and do a
> make buildworld, which would rebuild the entire FreeBSD userland.
> Ports can be rebuilt, too, for example by doing a portupgrade -afk
> 
>> TIA,
>> Drew
> 
> Christian

Drew,
Depends on how "corrupted" it is. Could you provide details?
Thanks,
-Garrett
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"







 

Be a PS3 game guru.
Get your game face on with the latest PS3 news and previews at Yahoo! Games.
http://videogames.yahoo.com/platform?platform=120121
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Optimizationn questions?

2007-03-16 Thread Jerry McAllister
On Fri, Mar 16, 2007 at 02:19:25AM +0100, Danny Pansters wrote:

> On Friday 16 March 2007 01:04:51 Jeffrey Goldberg wrote:
> > On Mar 15, 2007, at 5:21 PM, Jorn Argelo wrote:
> > > [EMAIL PROTECTED] wrote:
> > >> On Thu, 15 Mar 2007, Danny Pansters wrote:
> > >>  I know that this has been discussed a few times before, but
> > >> IMO running a slightly stripped down kernel (i.e. custom, not
> > >> GENERIC) actually proves to be helpful in increasing boot times
> > >> (if options were added statically) and compile times if [(# of
> > >> options added) < (# of options in GENERIC)].
> > >
> > > I can confirm this too. I noticed on both desktop and servers the
> > > boot time can be decreased by stripping the kernel configuration of
> > > stuff you don't need. I don't have any hard facts to prove this but
> > > this is what my personal experience is.
> >
> > me, too.
> >
> 
> Of course it will speed up booting but then again how much time does one 
> spend 
> booting, compared to using the puter: not much (at least I hope so for them!)
> 
> If I do build my own kernel, for example to switch schedulers, I tend to toss 
> out a heap of devices that I don't have anyway. But other than a bit more 
> memory usage (which compared to the software that's run will typically be 
> minor anyhow unless you're talking embedded system or maybe not-so-embedded 
> but still of low spec special purpose boxes, like a satellite receiver box) 
> you're not going to have a slower system because your kernel happens to have 
> some built-in drivers that it doesn't use. The exception is a debug kernel of 
> course that will impact performance because it increases runtime tasks/load.
> 
> On a server I'd strip down the kernel, but for other reasons (avoiding any 
> unneeded complexity). On a desktop I don't care as long as thingie works. 
> YMMV of course.

I think what he was saying is that if you already need to build a
kernel for some other reason, then go ahead and strip out the 
unused stuff.   But, if you don't have any other reason to do it,
it is not worth the bother to build another kernel just to strip
it of unused stuff - that it won't make THAT much difference.

I'd agree with that.   

jerry

> 
> Dan
> ___
> 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: config version = 600003, version required = 600004

2007-03-16 Thread Nikos Vassiliadis
On Friday 16 March 2007 15:33, Luca Masini wrote:
> Hi,
> 
> I tried to compile a reference GENERIC kernel from 7-CURRENT
> as explainde in an article.
> I downloaded the CVS repository and then co a local copy
> of 7-CURRENT in a user directory (as explained etc.)
> 

How useful is a 7-CURRENT kernel with
6-SOMETHING userland?

> When I try
>$ config GENERIC
> I get the message
>ERROR: version of config(8) does not match kernel!
>config version = 63, version required = 64
>Make sure that /usr/src/usr.sbin/config is in sync
>with your /usr/src/sys and install a new config binary
>before trying this again.
> 
> I suppose I need to upgrade the config that come with 7-CURRENT ?
> (or can I upgrade the one of the installed system?)
> 
> The question is:
>How is the correct way to do this upgrade ?

Perhaps you should try "make kernel" instead of config(8).
This is the new way.

Please, read /usr/src/UPDATING.

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


safe0 and kernel panic

2007-03-16 Thread Rajkumar S

Hi,

I am trying to install SafeNet 1141 support in one of the freebsd
boxes here. according to safe(4), I have to add "device safe" into my
kernel config and compile to enable hardware crypto acceleration. But
after I boot with safe module enabled I get a kernel panic.

The last couple of lines in my boot message are

safe0 mem 0xf612-0xf6121fff irq 5 at device 10.0 on pci0
safe0: cannot allocate DMA tag
device_attach: safe0 attach returned 6
re0:  port 0xb000-0xb0ff mem 0xf6120
re0: could not allocate dma tag


Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0x60
fault code  = supervisor read, page not present
instruction pointer = 0x20:0xc0570ea5
stack pointer   = 0x28:0xc0c20bd0
frame pointer   = 0x28:0xc0c20be4
code segment= base 0x0, limit 0xf, type 0x1b
   = DPL 0, pres 1, def32 1, gran 1
processor eflags= interrupt enabled, resume, IOPL = 0
current process = 0 (swapper)
trap number = 12
panic: page fault
Uptime: 1s

I have appended my kernel config at the end of this mail.

To test this further, I commented the "device safe" line from the
kernel config and this time the system booted up correctly. The diff
of the messages up to the point of panic is

--- embedded.txt2007-03-16 15:59:52.528876360 +0530
+++ freebsd.dump2007-03-16 15:58:18.852117392 +0530
@@ -3,7 +3,7 @@
The Regents of the University of California. All rights
reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
-FreeBSD 6.2-RELEASE-p3 #0: Fri Mar 16 08:57:36 UTC 2007
+FreeBSD 6.2-RELEASE-p3 #0: Thu Mar 15 11:46:30 UTC 2007

[EMAIL PROTECTED]:/usr/obj.pfSense/usr/src/sys/pfSense_wrap.6
Timecounter "i8254" frequency 1193182 Hz quality 0
@@ -69,6 +69,24 @@
rlphy7:  on miibus7
rlphy7:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
rl7: Ethernet address: 00:60:e0:04:29:e4
-pci0:  at device 10.0 (no driver attached)
+safe0 mem 0xf612-0xf6121fff irq 5 at device 10.0 on pci0
+safe0: cannot allocate DMA tag
+device_attach: safe0 attach returned 6
re0:  port 0xb000-0xb0ff
mem 0xf6120
+re0: could not allocate dma tag
+
+
+Fatal trap 12: page fault while in kernel mode
+fault virtual address   = 0x60
+fault code  = supervisor read, page not present
+instruction pointer = 0x20:0xc0570ea5
+stack pointer   = 0x28:0xc0c20bd0
+frame pointer   = 0x28:0xc0c20be4
+code segment= base 0x0, limit 0xf, type 0x1b
+= DPL 0, pres 1, def32 1, gran 1
+processor eflags= interrupt enabled, resume, IOPL = 0
+current process = 0 (swapper)
+trap number = 12
+panic: page fault
+Uptime: 1s

It's only 2 lines about could not allocate dma tag, I have searched
for this error message, but nothing came up.

Any help to get the safe(4) working will me very much appreciated. I
can provide more information if required.

The kernel config is at the end of the mail.

Thanks for reading,

raj

--
machine i386
cpu I486_CPU
cpu I586_CPU
cpu I686_CPU
ident   embedded

# To statically compile in device wiring instead of /boot/device.hints
#hints  "GENERIC.hints" # Default places to look for devices.

options COMPAT_FREEBSD5

options CPU_GEODE
options CPU_SOEKRIS
options CPU_ELAN
#optionsCPU_ELAN_PPS
#optionsCPU_ELAN_XTAL=32768000

#optionsSCHED_ULE   # ULE scheduler
options SCHED_4BSD  # 4BSD scheduler
options INET# InterNETworking
options INET6   # IPv6 communications protocols
options FFS # Berkeley Fast Filesystem
options SOFTUPDATES # Enable FFS soft updates support
options UFS_ACL # Support for access control lists
options UFS_DIRHASH # Improve performance on big directories
options MD_ROOT # MD is a potential root device
options NFSCLIENT   # Network Filesystem Client
options NFSSERVER   # Network Filesystem Server
options NFS_ROOT# NFS usable as /, requires NFSCLIENT
options MSDOSFS # MSDOS Filesystem
options CD9660  # ISO 9660 Filesystem
options PROCFS  # Process filesystem (requires PSEUDOFS)
options PSEUDOFS# Pseudo-filesystem framework
options GEOM_GPT# GUID Partition Tables.
options COMPAT_43   # Compatible with BSD 4.3 [KEEP THIS!]
options COMPAT_FREEBSD4 # Compatible with FreeBSD4
options SCSI_DELAY=5000 # Delay (in ms) before probing SCSI
options KTRACE  # ktrace(1) support
options SYSVSHM   

Re: DNS configuration

2007-03-16 Thread Jerry McAllister
On Thu, Mar 15, 2007 at 10:16:46AM -1200, neo neo wrote:

> hi
> 
> For NAT ;
> 
> i already configure internal and external ip . And also finished gateway.
> 
> but i don't know how to configure DNS . plz .. ?

Will you be doing your own DNS or will that be done by your ISP?

> 
> by the way , " route add default xx.xx.xx.xx " is setting gateway .. is it
> right ?
> 
> very thankz... i am very happy for your support..
> 
> ZAW HTET AUNG
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: burncd makes disk that is unmountable

2007-03-16 Thread Jerry McAllister
On Thu, Mar 15, 2007 at 08:44:00PM -0700, Garrett Cooper wrote:

> Jerry McAllister wrote:
> >On Thu, Mar 15, 2007 at 01:06:10PM +0100, Dieter wrote:
> >
> >>AMD64 running 6.0
> >>Drive is:
> >>  acd0: DVDR  at ata0-master UDMA66
> >>Media is CD-RW
> >>
> >>Burned a 6.2 disk using:
> >>  burncd data 6.2-RELEASE-amd64-disc1.iso fixate
> >>as suggested in
> >>  
> >> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/creating-cds.html
> >
> >I don't remember the details, but when I got to 6.1, I found that
> >my old burncd parameters would not work and I had to change them.
> >
> >I don't remember the details, but I settled upon:
> >  /usr/sbin/burncd -v -f /dev/acd0 data FreeBSD62-disc1.iso fixate
> >which seems to work find.  Both boots and mounts.  That doesn't look
> >materially different from yours, but...
> >
> >jerry
> >
> >>Seemed to go okay.  Disk boots, but I cannot mount it:
> >>
> >>fstab entry:
> >>  /dev/acd0   /cdrom  cd9660  ro,noauto   0   
> >>  0
> >>
> >>Yields:
> >>  g_vfs_done():acd0[READ(offset=32768, length=2048)]error = 5
> >>
> >>Tried it with and without "fixate", neither will mount.
> >>
> >>Other iso disks (probably burned using NetBSD) mount fine.
> >>UFS DVD+RW disks burned under FreeBSD using growisofs mount fine.
> >>
> >>Given the error message, I assume that the block/sector at 32768 isn't
> >>getting written.
> 
> I hate to slam burncd because it does the job, but I've always found 
> cdrecord / mkisofs to be a better set of software for burning CDs than 
> burncd.. Besides, burncd chokes on permission errors on my machine 
> whereas cdrecord keeps on humming away with issue, and I've been using 
> it for 2 releases now (6.1, 6.2).

When I was having trouble the last time, I thought about using
cdrecord, but managed to get burncd working OK.  I use it because
it is there and normally does what I want.  I would have to
install cdrecord separately and figure out how to use it.

jerry

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


Re: squid

2007-03-16 Thread RW
On Thu, 15 Mar 2007 06:45:22 +
"neo neo" <[EMAIL PROTECTED]> wrote:


> How to configure to use my FreeBSD as a proxy with Squid ?

Just install it and read the notes that are printed-out at the end of
the install. 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Corrupted OS

2007-03-16 Thread Drew Jenkins
Thanks :)

- Original Message 
From: RW <[EMAIL PROTECTED]>
To: freebsd-questions@freebsd.org
Sent: Friday, March 16, 2007 10:31:53 AM
Subject: Re: Corrupted OS

On Fri, 16 Mar 2007 07:16:33 -0700 (PDT)
Drew Jenkins <[EMAIL PROTECTED]> wrote:


> Well, it never hurts to get up to date on security, does it? Where do
> I find this cutting edge?

It's a badly named chapter in the handbook, but the process for
following a security branch is the same as tracking a development
branch.

BTW if you are just rebuilding, or picking up minor changes on a
security branch, there is no need for mergemaster. I don't bother with
single user mode either, since so little's changing.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"







 

Never miss an email again!
Yahoo! Toolbar alerts you the instant new Mail arrives.
http://tools.search.yahoo.com/toolbar/features/mail/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Corrupted OS

2007-03-16 Thread Garrett Cooper

Christian Walther wrote:

On 16/03/07, Drew Jenkins <[EMAIL PROTECTED]> wrote:

23Hi;
Is it possible to rebuild an OS without reformatting the hard drive? I 
have FBSD6.2, so I can't upgrade.


What are you trying to do? You could always go to /usr/src and do a
make buildworld, which would rebuild the entire FreeBSD userland.
Ports can be rebuilt, too, for example by doing a portupgrade -afk


TIA,
Drew


Christian


Drew,
Depends on how "corrupted" it is. Could you provide details?
Thanks,
-Garrett
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Corrupted OS

2007-03-16 Thread RW
On Fri, 16 Mar 2007 07:16:33 -0700 (PDT)
Drew Jenkins <[EMAIL PROTECTED]> wrote:


> Well, it never hurts to get up to date on security, does it? Where do
> I find this cutting edge?

It's a badly named chapter in the handbook, but the process for
following a security branch is the same as tracking a development
branch.

BTW if you are just rebuilding, or picking up minor changes on a
security branch, there is no need for mergemaster. I don't bother with
single user mode either, since so little's changing.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FreeBSD 2.2.9 / Installation problem

2007-03-16 Thread Jerry McAllister
On Fri, Mar 16, 2007 at 08:58:00AM -0400, Ian Lord wrote:

> 
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Nino Ivanov
> Sent: 16 mars 2007 07:07
> To: 'Josh Paetzel'; freebsd-questions@freebsd.org
> Cc: 'Kris Kennaway'
> Subject: AW: FreeBSD 2.2.9 / Installation problem
> 
> I tried to send to freebsd-questions the following twice, and twice failed!:

Looks like both were posted.   Why would you think it failed?

jerry

> 
> Dear Sir or Madam,
> 
> I tried reaching
> 
> ftp://ftp-archive.freebsd.org/pub/FreeBSD-Archive/old-releases/
> 
> from my Windows XP machine, using Firefox 2.0.0.2, and it requires me to
> input a username and a password. The same happens with IE7. I would like to
> download old ISO images. Is this a bug, or is it some new regular behaviour,
> and in any case, is there a way to download these images?
> 
> NetBSD archives work well, so it is not a problem in my machine I think.
> 
> Regards,
> 
> Nino Ivanov
> 
> Lol :)
> 
> In Ie7, just click the "log on anonymously" checkbox and press login
> 
> ___
> 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: Problems with your ftp site

2007-03-16 Thread Jerry McAllister
On Fri, Mar 16, 2007 at 11:39:25AM +0100, Nino Ivanov wrote:

> 
> Dear Sir or Madam,
> 
> I tried reaching
> 
> ftp://ftp-archive.freebsd.org/pub/FreeBSD-Archive/old-releases/
> 
> from my Windows XP machine, using Firefox 2.0.0.2, and it requires me to
> input a username and a password. The same happens with IE7. I would like to
> download old ISO images. Is this a bug, or is it some new regular behaviour,
> and in any case, is there a way to download these images?

This is an anonymous ftp site.   
So, when it asks for login id, give it  anonymous
When it asks for password, give it  your email address.
Then it should work fine.

jerry

> 
> NetBSD archives work well, so it is not a problem in my machine I think.
> 
> Regards,
> 
> Nino Ivanov
> 
> ___
> 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: Corrupted OS

2007-03-16 Thread Drew Jenkins
2Kevin Kinsey <[EMAIL PROTECTED]> wrote:> > synch your source to 6.2 
> > 
> > How? And is this necessary since it's already at 6.2?
> 
> The command below, "cvsup -g -L 2 supfile".  Assuming, of > course, that 
> the supfile is valid.  Is it necessary?  Depends; if you're convinced 
> that something is wrong with your current installation, then you might 
> not need to, because you can rebuild exactly the system that you 
> *should* have (for example, perhaps you fat-fingered a chmod or rm 
> call?).  

Yes. The system was working fine. The problem is with an extra HD I have that I 
told the server farm to check out thoroughly before installing it in the new 
server because I knew it had a problem. They said they didand didn't. So 
that's what corrupted the system again...exactly the same way it did before, 
too. But yes, the system was working fine before I had data files on the HD in 
question linked to s/w on the SCSI hard drives.

> OTOH, if you are attempting to get "up to date" on security 
> fixes, etc., then you should read up on "the Cutting Edge" so that you 
> understand the CVS tags, and use cvsup as shown below.  

Well, it never hurts to get up to date on security, does it? Where do I find 
this cutting edge?

> Be *certain* you 
> have the CVS tag you really want in the supfile before you press enter, 
> though.

Will that be outlined in the cutting edge, or elsewhere?

> Now, if you think that the system is corrupt because your source tree is 
> corrupt, then you would also want to sync your source tree.  Of course, 
> why would it be corrupt?  If a committer made an error, you'd probably 
> see some discussion of it on this list of the stable@ list.

The HD zapped two data files--MySQL and a Zope instance Data.fs--and that's 
what caused the problem both times. I doubt this would have hurt the source 
tree. Your thoughts?

> OK, that's fine.  This next stuff is a tad strange, any reason you can't 
> just "shutdown -r now"?  The point is to attempt to boot with the new 
> kernel, and going to single-user at this point doesn't do that.

I need to avoid single user mode, as you probably recognize, since the machine 
is on the other side of the planet. The below worked when I upgraded once from 
5.5 to 6.1.

> > sh /etc/rc.shutdown # kills all your services
> > pkill sendmail
> > pkill syslogd
> > mergemaster -p
> 
> As noted above, this ("mergemaster -p") is actually meant to be done 
> "pre-buildworld" ... see mergemaster(8).

In other words, it's not necessary since I'm just rebuilding what I already 
have, right?

> Thinking a tad more clearly, I suppose you mean, since the process of 
> upgrading (buildworld, installworld, whatever) is attached to my 
> terminal (which is an SSH session), what happens if I'm disconnected - 
> will my upgrade continue?

No, what I mean is if my connection gets dropped.

> The answer is that it will not continue unless you've planned for that 
> possibility.  Are you familiar with job control, e.g.:

> $ make buildworld &

Ah! Good idea! So just use the old "&" symbol.
How do I know when it's finished? Putting jobs in the background, one can't see 
their progress, that is, I don't know how to monitor it if it's not flashing 
before my face ;) And that's the only place I have to put a job in the 
background? Reviewing my notes again, that wouldn't be necessary for any of the 
following?
make clean;make cleanworld
make buildkernel KERNCONF=LOCAL 
make installkernel KERNCONF=LOCAL 
make installworld

...and I don't need this either, since I'm not doing mergmaster at all, right?

mergemaster
TIA,
Drew

 
-
Don't be flakey. Get Yahoo! Mail for Mobile and 
always stay connected to friends.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


  1   2   >