Re: problem in installing OpenOffice

2007-06-05 Thread Norberto Meijome
On Tue, 05 Jun 2007 04:46:52 +
dhaneshk k [EMAIL PROTECTED] wrote:

 Please open http://java.sun.com/javase/downloads/index.jsp
 in a web browser and follow the Download link for
 JDK US DST Timezone Update Tool - 1.1.0 to obtain the
 time zone update file, tzupdater-1.1.0-2007c.zip.

Do you have this file?

[EMAIL PROTECTED] [Tue Jun  5 16:18:22 2007]
/usr/home/betom
$ ls -l /usr/ports/distfiles/tzupdater-1.1.0-2007c.zip 

-rw-r--r--  1 betom  betom  480534 Mar 15 23:43 
/usr/ports/distfiles/tzupdater-1.1.0-2007c.zip

if not, you need to download it :) 

_
{Beto|Norberto|Numard} Meijome

Which is worse: ignorance or apathy?
Don't know. Don't care.

I speak for myself, not my employer. Contents may be hot. Slippery when wet. 
Reading disclaimers makes you go blind. Writing them is worse. You have been 
Warned.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Is it better to just rebuild Xorg 7.2

2007-06-05 Thread Norberto Meijome
On Mon, 04 Jun 2007 19:45:48 +
Robin Becker [EMAIL PROTECTED] wrote:

 I've just installed 6.2R and have just about got Xorg going. Is it 
 better for me to just remove all my X related packages and try and build 
 from the xorg-7.2 meta package or to go through the pain of trying to 
 update?

I think it'll be the same. Upgrade was the only option for me
as I had a fully functionally X setup in my laptop - it went pretty smoothly
(for the amount of changes done to the system).

Make sure you follow the instructions in /usr/ports/UPDATING to the letter.

 In either case I need to sync the ports tree etc.

well, if u dont upgrade your tree, you may be able to install xorg 6.9 from
packages (MUCH faster) ; get it working; then sync the ports after this and
upgrade. There is nothing particularly wrong with 6.9, specially if you have a
clean machine and you plan to do the whole upgrade path.

just dont go overkill with setting up KDE / Gnome and other things that depend
on X. twm would do for now ;)

_
{Beto|Norberto|Numard} Meijome

Liberty is not a means to a higher political end. It is itself the highest
political end... liberty is the only object which benefits all alike, and
provokes no sincere opposition... The danger is not that a particular class is
unfit to to govern. Every class is unfit to govern... Power tends to corrupt,
and absolute power corrupts absolutely. Lord Acton

I speak for myself, not my employer. Contents may be hot. Slippery when wet.
Reading disclaimers makes you go blind. Writing them is worse. You have been
Warned.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: startup / shutdown script (rc.d)

2007-06-05 Thread Mikhail Goriachev

gmoniey wrote:

thanks for the ideas, i tried both of your suggestions...i manually ran the
rails.sh file, and everything worked as expected...so i dumped the output to
file...my .sh file looks as such:


[ trim ]


the weird part is that the Rails found stop never printed...and im not sure
why the mongrel_rails fails (im assuming that the kldload works fine as it
doesn't print out any error messages if it is successfull)

i guess i will just keep playing with it...



Let's try a different approach. The following is a working script of 
your rails:


---
#!/bin/sh

# PROVIDE: rails
# KEYWORD: nojail shutdown

. /etc/rc.subr

name=rails
start_cmd=${name} start
stop_cmd=${name} stop

rails() {
case ${rc_arg} in
start)
echo -n Starting ${name}: 
echo -n 1 
echo -n 2 
echo 3
;;
stop)
echo -n Stopping ${name}: 
echo -n 3 
echo -n 2 
echo 1
;;
*)
echo dddz
esac
}

load_rc_config ${name}
run_rc_command ${1}
---

It looks different, but this is the new way how the OS fires things up. 
Place this script as /usr/local/etc/rc.d/rails. Don't add the 
extension to it (.sh). The use of extensions is old school. Chmod it to 
555 (or 755).


Now give it a spin:

# /usr/local/etc/rc.d/rails start
# /usr/local/etc/rc.d/rails stop
# /usr/local/etc/rc.d/rails restart
# /usr/local/etc/rc.d/rails blah

See what happens and then boot your machine. You'll see how it starts 
and stops. Once you're satisfied, tweak it to your needs.



If you want to control all aspects of the thing then you should read:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/configtuning-starting-services.html

Also read the rc.d(8) and all of its rc.* related man pages.


You can get lots of good examples in /etc/rc.d/. For instance 
/etc/rc.d/usbd is the simplest of them all.



Let us know how it goes.


Regards,
Mikhail.

--
Mikhail Goriachev
Webanoide

Telephone: +61 (0)3 62252501
Mobile Phone: +61 (0)4 38255158
E-Mail: [EMAIL PROTECTED]
Web: www.webanoide.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Window reseizing

2007-06-05 Thread Ozan Enginoglu
I use fluxbox and i have a weird problem. I cant reseise windows. For
example aterm terminal window or mercury chat windows. All the windows
have borders and they look very normal. But i cant see resize cursor
when i move the cursor over the corner of the window.

At the beginning it was not a big problem but now it disturbs me. I dont
know if i did something wrong but i dont remember at all.

If you have any opinion pls let me know...

Thanks,

-- 
Ozan Enginoğlu
Mechanical Engineer

GPG / PGP Fingerprint:
247C EE12 7AF9 5181 B6E5  A70F 0D5C 77FB B350 D715


signature.asc
Description: This is a digitally signed message part


Re: GRUB / boot easy problems w / USB stick

2007-06-05 Thread Fred Davidson
Some thoughts:

1.  bsdlabel -Brw /dev/da0s1
- What is the option r?
- bsdlabel is supposed to create standard label
which probably
means creating da0s1a partition (can you call
bsdlabel /dev/da0s1 to
see what was created?) So your next command should be
newfs
/dev/da0s1a rather than newfs /dev/da0s1. And
commands after that
will need to be adjusted as well.

2. boot0cfg -B -s 1 -t -v 182 /dev/da0
It should be -v -t 182 rather than -t -v 182.
Not sure if it
matters though.

Hope this helps.
Andrey

Thanks Andrey,

great news! placing newfs on /dev/da0s1a instead of
/dev/da0s1 really helped.  Now GRUB recognizes the
filesystem on my usb partition. Here's what's new.

#I placed 1 UFS2 partition on my USB key at
#/dev/da0s1a. 

mount /dev/da0s1a /usb
mkdir -p /usb/boot/grub

#copied all files from /boot to /usb/boot and all
files #from /boot/grub to /usb/boot/grub (I know I can
make #it smaller but just copying all for now).  Next
I #invoked the grub shell and did the following:

grub root (hd1,0,a)

Filesystem type is ufs2, partition type is 0xa5.

grub setup (hd1)

Checking if /boot/grub/stage1 exists... yes
Checking if /boot/grub/stage2 exists... yes
Checking if /boot/grub/ufs2_stage1_5 exists... yes
Running embed /boot/grub/ufs2_stage1_5 (hd1)... 16
sectors are embedded.
Succeeded
Running install /boot/grub/stage1 (hd1) (hd1)1+16 p
(hd1,0,a)/boot/grub/stage2 /boot/grub/menu.lst...
Succeeded
Done.

#I reboot, and am excited to see the grub menu I've
set #up.  Here is my menu.lst:

default=0
timeout=30

title NewOS
root (hd0,0,a)
kernel /boot/loader

#You might notice I made root hd0.  This is actually
#helpful for anyone setting GRUB up for the first
time.
#You see when setting up grub from the shell within
#your computer, your first hard drive is always hd0,
#and your usb stick can be anything after that (in my
#case hd1).  You can test this by placing an oddly
#named text file in each of your grub directories (1
in #hard drive, 1 in usb stick), then using find from
the #grub shell to indicate where that oddly named
file is #located:

grub find /boot/grub/weirdfile
(hd0,0,a)

#The main point is that when you reboot to your USB
#key, because it's now the first drive, it's probably
#going to be hd0, instead of hdx, thus my menu.lst.  

# Anyway, back to the menu selection.  When I choose
the 'NewOS', this is what I get:

Booting 'NewOS'

root (hd0,0,a)
Filesystem type is ufs2, partition type is 0xa5
kernel /boot/loader
[FreeBSD-a.out, loadaddr=0x20, text=0x1000,
data=0x32000, bss=0x0, entry=0x20]


BTX loader 1.00 BTX version is 1.01
Consoles: internal video/keyboard
BIOS drive C: is disk0
BIOS drive D: is disk1
BIOS 631kB/980480kB available memory

FreeBSD/i386 bootstrap loader, Revision 1.1
(root @barney.msu.edu, Sun May 8 03:20:03 UTC 2006)

#This is the last line, and if I wait about five
#minutes it prints these additional lines:

can't load 'kernel'

Type '?' for a list of commands, 'help' for more
detailed help.
OK _

#Again I'm pretty sure I must have the right 'hd'
#addressing.  I tested this by changing the root
#location to (hd1,0,a) which found the boot loader off
#of my hard drive and booted.  I tested this by moving
#the loader from my hard drive out of /boot, and
#rebooting, where upon it couldn't find loader
anymore.

Alright I'll leave it there. (Starving for that little
morsel of knowledge out there that will unlock this!)

-Fred

(p.s. I'm new to the mailing lists, and can't find the
charter for any of the groups, anyone have a link? :)



 

Need Mail bonding?
Go to the Yahoo! Mail QA for great tips from Yahoo! Answers users.
http://answers.yahoo.com/dir/?link=listsid=396546091

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


Re: problem in installing OpenOffice

2007-06-05 Thread Jim Capozzoli

On 6/5/07, dhaneshk k [EMAIL PROTECTED] wrote:

Hi everybody ,


I  tried to install  Openoffice  in my FreeBSD 6.0 Intel p4 desktop
gnome2.18

But I am getting errors  as follows


don# cd /usr/ports/editors/openoffice.org-2
don# ls
Makefilefiles   pkg-plist
distinfopkg-descr   work
don# make config
=== No options to configure
don# make install clean
===   openoffice.org-2.2.0_1 depends on file:
/usr/local/diablo-jdk1.5.0/bin/java - not found
===Verifying install for /usr/local/diablo-jdk1.5.0/bin/java in
/usr/ports/java/diablo-jdk15
===  diablo-jdk-1.5.0.07.01_4 :
Because of licensing restrictions, you must fetch the distribution
manually.

Please access

http://www.FreeBSDFoundation.org/cgi-bin/download?download=diablo-caffe-freebsd6-i386-1.5.0_07-b01.tar.bz2

with a web browser and Accept the End User License Agreement for
Caffe Diablo 1.5.0.  Please place the downloaded
diablo-caffe-freebsd6-i386-1.5.0_07-b01.tar.bz2 in /usr/ports/distfiles.

Please open http://java.sun.com/javase/downloads/index.jsp
in a web browser and follow the Download link for
JDK US DST Timezone Update Tool - 1.1.0 to obtain the
time zone update file, tzupdater-1.1.0-2007c.zip.

.*** Error code 1

Stop in /usr/ports/java/diablo-jdk15.
*** Error code 1

Stop in /usr/ports/editors/openoffice.org-2.

SO I FOLLOWED LIKE THIS


don# cp
/home/dhanesh/Desktop/diablo-caffe-freebsd6-i386-1.5.0_07-b01.tar.bz2
/usr/ports/distfiles/
don# pwd
/usr/ports/editors/openoffice.org-2
don# make install clean
===   openoffice.org-2.2.0_1 depends on file:
/usr/local/diablo-jdk1.5.0/bin/java - not found
===Verifying install for /usr/local/diablo-jdk1.5.0/bin/java in
/usr/ports/java/diablo-jdk15
===  diablo-jdk-1.5.0.07.01_4 :
Because of licensing restrictions, you must fetch the distribution
manually.

Please open http://java.sun.com/javase/downloads/index.jsp
in a web browser and follow the Download link for
JDK US DST Timezone Update Tool - 1.1.0 to obtain the
time zone update file, tzupdater-1.1.0-2007c.zip.

.*** Error code 1

Stop in /usr/ports/java/diablo-jdk15.
*** Error code 1

Stop in /usr/ports/editors/openoffice.org-2.
don#

NOW it Showing ERROR about this as above

JDK US DST Timezone Update Tool - 1.1.0



So what the things I made  wrong , if so please give me the right direction
  (  the steps ) I have to follow to install openoffice  perfectly ..


Thanks in advance
Dhanesh

_
Career Aptitude Test. Based on the most scientific MBT Test.
http://ss1.richmedia.in/recurl.asp?pid=64

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


Can't you just download the java jre/jdk from the foundation's website
and pkg_add it by hand?  That's what I've always done and never had
any real problems...you need to pkg_add -r javavmwrapper as well
though.  Or is this some other strange java that openoffice
requires...

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


Re: isc-dhcp3-server in a jail?

2007-06-05 Thread David N

On 05/06/07, Paul Fraser [EMAIL PROTECTED] wrote:

On 6/5/07, David N [EMAIL PROTECTED] wrote:
 To get isc-dhcpd in a jail you need to give the jail access to /dev/bpf0

 so you have to edit /etc/defaults/devfs.rules
 add to the end the unhide rules for bpf eg.
 [devfsrules_unhide_bpf=5]
 add path bpf0 unhide

 [devfsrules_dhcp_jail=6]
 add include $devfsrules_hide_all
 add include $devfsrules_unhide_basic
 add include $devfsrules_unhide_login
 add include $devfsrules_unhide_bpf

 then in your /etc/rc.conf add
 jail_jailname_defs_ruleset=devfsrules_dhcp_jail

 and restart the jail.

Thank you very much David, that's done the trick! I much prefer having
dhcpd sitting in a jail along with a few other network services.

Cheers,

P.

--
Regards,

Paul Fraser
http://furyc0de.net/



np, for the life of me i couldn't get isc-dhcpd working in jails at
all without the bpf0. I tried all the jail patches and everything. Its
the only way i found it to work.

But it does mean that if the dhcpd gets compromised, they'll have
control of the bpf0, not really sure what it does though =)

I'm glad it worked out though

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


what ifa / ifp ?

2007-06-05 Thread bsenthil

route add -net 10.1.1.1/24 0.0.0.0 -ifp fxp0

route add -net 10.1.1.1/24 0.0.0.0 -ifa fxp0   (Error ..ifa)

$  man route
In a change or add command where the destination and gateway are not suf-
ficient to specify the route (as in the ISO case where several 
interfaces

may have the same address), the -ifp or -ifa modifiers may be used to
determine the interface or interface address.

Coule you please explain what -ifp or ifa modifiers mention...

Thanks,
Senthilkumar.

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


Re: total system freeze - where to look for more information

2007-06-05 Thread Alex Zbyslaw

Zbigniew Szalbot wrote:

It is possible that the freeze occured during dump operation which is 
done to a network drive mounted via mount_smbfs option.


One problem we've encountered with dumping to an SMBFS file system is 
virus checking on the Windows host causing all kinds of problems, but 
these (for us under 5.4) manifest as:


   timeouts (i.e dump stops, but it's piping to gzip so maybe that 
makes a difference).


   Inability to rename files.  Operation times out and 30 seconds later 
the file *is* renamed.


Haven't had an opportunity to try with NFS yet, but given that this is 
related to WIndows file system semantics, that probably wouldn't help.


If your virus checker can be set to ignore the folder where you dump to, 
that might help.  You could test by just turning any virus checker off 
for a while.


Also, have you confirmed that you can create files at all on the samba 
share?


I found dd to be the easiest test tool.  e.g. dd if=/dev/zero 
of=/samba/file count=100 bs=64k
and see if dd finishes correctly or not.  Start with a small count and 
keep adding a 0 until bored :-)  Also you can monitor file growth with 
say clear; ls -lsak /samba; sleep 1 in your favourite shell loop.  On 
a working samba folder I see smooth file growth, on a non-working it's 
obviously erratic until it times out.


In that case I will probably be much better of using another HD 
physically connected to the box rather than shared network drive, 
wouldn't I? Lack of free space could not have been the reason - the 
network share can handle about 750GB of data so it must have been 
temporary network error. 


Or just dump to a non-Windows machine :-)  I have no problems using 
gzip/ssh to keep backups on a different host.  NFS ought to be fine too.


--Alex


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


Re: GRUB / boot easy problems w / USB stick

2007-06-05 Thread Fred Davidson
It seems like this thread isn't getting updated when I
post for some reason.  This will be the last one I try
until I figure out what's wrong.  

#I've done some more tests.  In my last post I had
booted
# from the usb key.  the results of lsdev from the
boot #loader prompt were:

OK lsdev

cd devices:
disk devices:
disk0: BIOS drive C:
disk1: BIOS drive D:
  disk1s1a: FFS
  disk1s1b: swap
  disk1s1d: FFS

# If I booted from the hard drive first I got:

cd devices:
disk devices:
disk0: BIOS Drive C:
   disk0s1a: FFS
   disk0s1b: swap
   disk1s1d: FFS
disk1L BIOS Drive D:

#So it's clear that which ever drive is booted from
#first between the hard drive and the usb key drive is

#going to show up as disk0: BIOS Drive C, but I was 

#wondering why the disk slices/partition letters for
#the USB key don't #show up when I boot from it. Or
#even when I boot from the HD and use the loader
#prompt?

# Again just to quickly restate the problem, when 
# booting from the USB key, the BTX loader hangs, and 
# after about 5 minutes I get the loader prompt.  The 
# loader apparently can't find the kernel.  When
#booting normally I have double checked that the
#bsdlabels, filesystems, and required files are at
#least present on the key.

# I'll keep learning the intimate details of various
#config files, and loader commands, and post back if I
 
#find a solution.  Thanks again for any bits of know
#how you send my way.

-Fred  


   

Moody friends. Drama queens. Your life? Nope! - their life, your story. Play 
Sims Stories at Yahoo! Games.
http://sims.yahoo.com/  

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


How to correctly use 2 on board nics

2007-06-05 Thread Ivan Carey

Hello
I have a server board with 2 onboard nic's
I have set them up in rc.conf as follows

defaultrouter=192.168.1.1
network_interfaces=em0 em1 lo0
ifconfig_em0=inet 192.168.1.3 netmask 255.255.255.0
ifconfig_em1=inet 192.168.1.4 netmask 255.255.255.0

The question, is this the correct configuration?

If I have both nic's connected to the switch I can ping 192.168.1.1 and 
192.168.1.3 and 192.168.1.4


If I have only em0 connected I can ping 192.168.1.1 and 192.168.1.3

If I have only em1 connected I can ping 192.168.1.3.

What could the 2 onboard nic's be best used for. I was thinking that in 
the event on was to fail then the other would still be ok.


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


complete static link

2007-06-05 Thread Robin Becker
I'm trying to get a particular utility compiled statically so I can embed it in 
a distribution package. It's just a part of lib tiff. I tried various things 
with ./configure --disable-shared --enable-static, but couldn't eliminate the 
dynamic dependencies. In the end I tried this


gcc -O2 -Wall -W -o tiffcp tiffcp.o  ../libtiff/.libs/libtiff.a 
../port/.libs/libport.a /usr/lib/libz.a /usr/lib/libm.a /usr/lib/libc.a


and although the libz/libm dependencies are gone I still depend on libc.so.6 (or 
4). Is there some esy way to do this?


Also I get warnings about f_prealloc anyone know what that means?
--
Robin Becker
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How to correctly use 2 on board nics

2007-06-05 Thread Tom Judge

Ivan Carey wrote:

Hello
I have a server board with 2 onboard nic's
I have set them up in rc.conf as follows

defaultrouter=192.168.1.1
network_interfaces=em0 em1 lo0
ifconfig_em0=inet 192.168.1.3 netmask 255.255.255.0
ifconfig_em1=inet 192.168.1.4 netmask 255.255.255.0

The question, is this the correct configuration?

If I have both nic's connected to the switch I can ping 192.168.1.1 and 
192.168.1.3 and 192.168.1.4


If I have only em0 connected I can ping 192.168.1.1 and 192.168.1.3

If I have only em1 connected I can ping 192.168.1.3.

What could the 2 onboard nic's be best used for. I was thinking that in 
the event on was to fail then the other would still be ok.


Any ideas would help.
Thanks,
Ivan



You may want to take a look at if_lacc.

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


Re: How to correctly use 2 on board nics

2007-06-05 Thread Ivan Carey

Tom Judge wrote:

Ivan Carey wrote:

Hello
I have a server board with 2 onboard nic's
I have set them up in rc.conf as follows

defaultrouter=192.168.1.1
network_interfaces=em0 em1 lo0
ifconfig_em0=inet 192.168.1.3 netmask 255.255.255.0
ifconfig_em1=inet 192.168.1.4 netmask 255.255.255.0

The question, is this the correct configuration?

If I have both nic's connected to the switch I can ping 192.168.1.1 
and 192.168.1.3 and 192.168.1.4


If I have only em0 connected I can ping 192.168.1.1 and 192.168.1.3

If I have only em1 connected I can ping 192.168.1.3.

What could the 2 onboard nic's be best used for. I was thinking that 
in the event on was to fail then the other would still be ok.


Any ideas would help.
Thanks,
Ivan



You may want to take a look at if_lacc.

Tom



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


Reading temperature on DELL PE2850?

2007-06-05 Thread Sten Daniel Soersdal
I'm contemplating setting sysctl machdep.cpu_idle_hlt=0 on my 4 core 
PE2850, but i am concerned that without HLT-ing would increase the 
temperature levels to dangerous levels.

Are there any ways for me to read temperatures from FreeBSD/DRAC4 ?

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


Re: How to correctly use 2 on board nics

2007-06-05 Thread Tom Judge

Ivan Carey wrote:

Tom Judge wrote:

Ivan Carey wrote:

Hello
I have a server board with 2 onboard nic's
I have set them up in rc.conf as follows

defaultrouter=192.168.1.1
network_interfaces=em0 em1 lo0
ifconfig_em0=inet 192.168.1.3 netmask 255.255.255.0
ifconfig_em1=inet 192.168.1.4 netmask 255.255.255.0

The question, is this the correct configuration?

If I have both nic's connected to the switch I can ping 192.168.1.1 
and 192.168.1.3 and 192.168.1.4


If I have only em0 connected I can ping 192.168.1.1 and 192.168.1.3

If I have only em1 connected I can ping 192.168.1.3.

What could the 2 onboard nic's be best used for. I was thinking that 
in the event on was to fail then the other would still be ok.


Any ideas would help.
Thanks,
Ivan



You may want to take a look at if_lacc.

Tom



What is if_lacc ?



My bad, sorry should be if_lagg.

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


Re: Reading temperature on DELL PE2850?

2007-06-05 Thread Tom Judge

Sten Daniel Soersdal wrote:
I'm contemplating setting sysctl machdep.cpu_idle_hlt=0 on my 4 core 
PE2850, but i am concerned that without HLT-ing would increase the 
temperature levels to dangerous levels.

Are there any ways for me to read temperatures from FreeBSD/DRAC4 ?



Have you tries using IPMI using the onboard base management controller?

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


RE: How to correctly use 2 on board nics

2007-06-05 Thread Bob
The most common configuration for using two nic's is one nic is used for
your dsl or cable modem connection to your ISP and the second nic services
your local LAN.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Ivan Carey
Sent: Tuesday, June 05, 2007 6:55 AM
To: freebsd-questions@freebsd.org
Subject: How to correctly use 2 on board nics

Hello
I have a server board with 2 onboard nic's
I have set them up in rc.conf as follows

defaultrouter=192.168.1.1
network_interfaces=em0 em1 lo0
ifconfig_em0=inet 192.168.1.3 netmask 255.255.255.0
ifconfig_em1=inet 192.168.1.4 netmask 255.255.255.0

The question, is this the correct configuration?

If I have both nic's connected to the switch I can ping 192.168.1.1 and
192.168.1.3 and 192.168.1.4

If I have only em0 connected I can ping 192.168.1.1 and 192.168.1.3

If I have only em1 connected I can ping 192.168.1.3.

What could the 2 onboard nic's be best used for. I was thinking that in
the event on was to fail then the other would still be ok.

Any ideas would help.
Thanks,
Ivan
___
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]


usb keyboard on dell precision 690

2007-06-05 Thread Joshua Frugé

Trying to install freebsd6.2 using a usb keyboard on a dell precision 690.
When I get into sysinstall the keyboard no longer works.  Did some
googling... there is no option in the bios for legacy usb keyboard or
anything like that,  unplugging and replugging/rearranging usb devices did
not work, and entering set hint.atkbd.0.disabled=1 in the loader prompt
does not work.  I believe the issue to be that a false non usb keyboard is
detected, as the loading messages display an at keyboard device.  Any idea
on how I can install freebsd 6.2(amd64) with a usb keyboard?

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


Re: How to correctly use 2 on board nics

2007-06-05 Thread magikman

Bob wrote:

The most common configuration for using two nic's is one nic is used for
your dsl or cable modem connection to your ISP and the second nic services
your local LAN.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Ivan Carey
Sent: Tuesday, June 05, 2007 6:55 AM
To: freebsd-questions@freebsd.org
Subject: How to correctly use 2 on board nics

Hello
I have a server board with 2 onboard nic's
I have set them up in rc.conf as follows

defaultrouter=192.168.1.1
network_interfaces=em0 em1 lo0
ifconfig_em0=inet 192.168.1.3 netmask 255.255.255.0
ifconfig_em1=inet 192.168.1.4 netmask 255.255.255.0

The question, is this the correct configuration?

If I have both nic's connected to the switch I can ping 192.168.1.1 and
192.168.1.3 and 192.168.1.4

If I have only em0 connected I can ping 192.168.1.1 and 192.168.1.3

If I have only em1 connected I can ping 192.168.1.3.

What could the 2 onboard nic's be best used for. I was thinking that in
the event on was to fail then the other would still be ok.

Any ideas would help.
Thanks,
Ivan
___
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]
  
I guess the 'correct' way of using two NICs is really dependent upon 
what your goal of using two NICs is. Do you want to be able to serve two 
networks out of the NICs, one from each interface? Do you want to create 
a gateway of some sort? What is it, exactly, you are trying to 
accomplish by doing this?

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


Re: problem in installing OpenOffice

2007-06-05 Thread Norberto Meijome
On Tue, 5 Jun 2007 05:50:40 -0400
Jim Capozzoli [EMAIL PROTECTED] wrote:

 Can't you just download the java jre/jdk from the foundation's website
 and pkg_add it by hand?  That's what I've always done and never had
 any real problems...you need to pkg_add -r javavmwrapper as well
 though.  Or is this some other strange java that openoffice
 requires...

this should work just fine - i have OO2.2 (from package) using diablo-jdk (from 
package) with no problem at all.

(and, for what is worth, linux-jdk-blackdown for linux-firefox G No conflicts 
between them at all).

B

_
{Beto|Norberto|Numard} Meijome

The distinction between past, present and future is only an illusion, even if 
a stubborn one
  Albert Einstein

I speak for myself, not my employer. Contents may be hot. Slippery when wet. 
Reading disclaimers makes you go blind. Writing them is worse. You have been 
Warned.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Short HOWTO on reading a core to determine why my server is rebooting?

2007-06-05 Thread Lowell Gilbert
Paul Hoffman [EMAIL PROTECTED] writes:

 Hi again. I have a server running 6.0 that has been spontaneously
 rebooting every few weeks. Is there a short HOWTO that tells me how to
 read the files in /var/crash to at least find out what the kernel
 thinks the issue is? There is nothing in /var/log/messages of interest
 before the crash, nothing in 'dmesg -a' in coming up that says
 anything interesting, and there's plenty of room on the drives.

There is some information in developers' handbook.
The FAQ entry about looking at kernel panics might help also.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How to understand partition sizes

2007-06-05 Thread Lowell Gilbert
Ivan Carey [EMAIL PROTECTED] writes:

 Am I actually seeing what is really happening or am I really loosing
 43.5Gb of space on the /server partition

http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html#MANUFACTURER-DISK-SIZE
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: problem compiling xorg 7.2

2007-06-05 Thread Anton Galitch

Hi.
The situation is following:
I had xorg 6.9 installed, after trying to upgrade it with portupgrade I
deinstalled it and now want to install it from scratch.
My portmanager program works strange thats why I cant install it usin
/usr/ports/UPDATING.
Do you know any other way of installing it using another tools??

On 6/4/07, Norberto Meijome [EMAIL PROTECTED] wrote:


On Mon, 4 Jun 2007 22:19:18 -0300
Anton Galitch [EMAIL PROTECTED] wrote:

 Hello.

 I have a problem when I compile /usr/ports/x11/xorg, when I make install
it
 shows the following error:


 configure: error: cannot find GL library - make sure Mesa or other
 OpenGL package is installed
 See `config.log' for more details.
 ===  Script configure failed unexpectedly.

 I have installed libGL and libGLU but it shows the same error.

 I attach my config.log file and the output of ls /var/db/pkg

 Thanks for any help

Hi Anton,
are you upgrading xorg or installing xorg for the first time in this
machine?

you have to follow the steps in /usr/ports/UPDATING, even if not
upgrading.

_
{Beto|Norberto|Numard} Meijome

Your reasoning is excellent -- it's only your basic assumptions that are
wrong.

I speak for myself, not my employer. Contents may be hot. Slippery when
wet. Reading disclaimers makes you go blind. Writing them is worse. You have
been Warned.





--
http://feudaltimes.com.ar - Webmaster, designer and programmer
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


'pkg_create -b iwi-firmware-kmod-3.0_2' failed

2007-06-05 Thread Jan Henrik Sylvester
I produced packages of all installed ports with 'pkg_create -b' to 
transfer them to another machine. iwi-firmware-kmod failed:


janh# pkg_create -b iwi-firmware-kmod-3.0_2
tar: Removing leading '/' from member names
janh# pkg_delete iwi-firmware-kmod-3.0_2
janh# pkg_add iwi-firmware-kmod-3.0_2.tbz
tar: /boot/modules/iwi_bss.ko: Cannot stat: No such file or directory
tar: Error opening archive: Empty input file: Inappropriate file type or 
format
pkg_add: extract_plist: can not invoke 77 byte tar pipeline: 
/usr/bin/tar cf - /boot/modules/iwi\_bss.ko|/usr/bin/tar --unlink -xpf - 
-C /


I see that the port has:

NO_PACKAGE= this is a modified version of a restricted firmware

Anyhow, every other port that may not have a public package succeeded to 
pkg_create just fine.


Should package creation work on NO_PACKAGE ports or not? Should I report 
to the maintainer?


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


using CVS to upgrade

2007-06-05 Thread wo_shi_big_stomach
 Got a question about upgrading using cvsup. 

 

I've been following Richard Bejtlich's excellent howto for keeping FreeBSD 
boxes up to date: 


http://www.taosecurity.com/keeping_freebsd_up-to-date.html 

 

The instructions say to create a supfile with a line like this: 

 

*default release=cvs tag=RELENG_6_1 

 

and if you want to upgrade to the next version, to use this instead: 

 

*default release=cvs tag=RELENG_6_2_0_RELEASE 

 

My question: Is it OK to skip the _RELEASE part and instead use the 

following: 

 

*default release=cvs tag=RELENG_6_2 

 

Many thanks 

 

/wsbs 

 

 

 

 





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


Re: fbsd 6.2 pf starts -- but not on boot

2007-06-05 Thread Ian Smith
On Mon, 4 Jun 2007 15:37:25 -0700 snowcrash+freebsd
 [EMAIL PROTECTED] wrote:

  cat /etc/ppp/ppp.conf
   
   default:
   set device PPPoE:sis1:
   set speed sync
   set ctsrts off
   set dial
   set login
   set cd 10
   set timeout 0
   set redial 0 0
   enable lqr
   set lqrperiod 20
   set log Phase tun command
   
   add default HISADDR
   enable tcpmssfixup
   disable dns
   
   ppp1:
   set authname [EMAIL PROTECTED]
   set authkey  
   set MRU 1492
   set MTU 1492
   
  
  are these NOT supposed to address/solve the problem? or are the
  configs wrong? 

Hello, it's your niggly proofreader (and fellow Stephenson fan) again.

If you really have that blank line before 'add default HISADDR' above,
then it marks the end of your default section.  The 'add default' and
the two lines following will not be executed. 

I expect you'll want the 'add default' line as the last in your ppp1: 
section anyway; the other two could go in either, but I'd opt for the
default block myself.

I'm again unsure whether it's related to your pf problem, rusted-on ipfw
here, but my connections tend to work better with a default route ..

Cheers, Ian

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


Re: Wake-on-LAN

2007-06-05 Thread Steve

On 6/4/07, Jonathan Horne [EMAIL PROTECTED] wrote:

you definatly have to correct the link-light issue when the system is off,
otherwise i dont think youll ever get it working.  are there any ACPI standby
modes in the power section (thats where mine are) in the bios?  S3 seems to
be the best option.

in freebsd, my into pro100s work without any other intervention (aside from
setting S3 in the bios, IBM machines), but i have one IBM with a dual port
pro1000, and its not waking properly right now (but i havent troubleshot that
one any, as its my server and never turns off anyway).


I'll take a look at my PC BIOS settings.  What I would like is the S5
(soft off) state where the NIC is still active and can WOL, not S3
(suspend to RAM).
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: using CVS to upgrade

2007-06-05 Thread Abdullah Ibn Hamad Al-Marri

On 6/5/07, wo_shi_big_stomach [EMAIL PROTECTED] wrote:

 Got a question about upgrading using cvsup.



I've been following Richard Bejtlich's excellent howto for keeping FreeBSD 
boxes up to date:


http://www.taosecurity.com/keeping_freebsd_up-to-date.html



The instructions say to create a supfile with a line like this:



*default release=cvs tag=RELENG_6_1



and if you want to upgrade to the next version, to use this instead:



*default release=cvs tag=RELENG_6_2_0_RELEASE



My question: Is it OK to skip the _RELEASE part and instead use the

following:



*default release=cvs tag=RELENG_6_2



Many thanks



/wsbs


Sure, go ahead :)

--
Regards,

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


Re: using CVS to upgrade

2007-06-05 Thread Nikos Vassiliadis
On Tuesday 05 June 2007 16:38, wo_shi_big_stomach wrote:
  Got a question about upgrading using cvsup.



 I've been following Richard Bejtlich's excellent howto for keeping
 FreeBSD boxes up to date:


 http://www.taosecurity.com/keeping_freebsd_up-to-date.html



 The instructions say to create a supfile with a line like this:



 *default release=cvs tag=RELENG_6_1



 and if you want to upgrade to the next version, to use this instead:



 *default release=cvs tag=RELENG_6_2_0_RELEASE



 My question: Is it OK to skip the _RELEASE part and instead use the

 following:



 *default release=cvs tag=RELENG_6_2



The *_RELEASE tags are points_in_time tags, you'll get
a FreeBSD-something-RELEASE, the same thing that's on
the released CDs.

RELENG_a_b is RELENG_a_b_0_RELEASE + security patches,
the code is very similar to RELENG_a_b_0_RELEASE.

You'll be safe - actually safer - using RELENG_6_2
instead of RELENG_6_2_0_RELEASE.

more here:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvs-tags.html

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


minimal xorg installation?

2007-06-05 Thread Anton Shterenlikht
For an old laptop with a small disk is there an alternative to
a full x11/xorg installation? Previously (version 6.9) I used to get
a working set by installing the components individually. Can I do this
with 7.2. In particular, I cannot find anythig like xorg-clients port.
If not in detail, perhaps in principal what must I have. I alredy
have the following:

=== xorg-cf-files-1.0.2_2
=== xorg-apps-7.2
=== xorg-fonts-truetype-7.2
=== xorg-libraries-7.2_1
=== xorg-server-1.2.0_2,1

thanks a lot
anton

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 928 8233 
Fax: +44 (0)117 929 4423
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Reading temperature on DELL PE2850?

2007-06-05 Thread Grant Peel
I use racadm on my local machine and have found that the linux version will run 
on FreeBSD. 

There are commands in the racadm utility to read temps and voltages etc etc, a 
little cumbersome, but possible.

Too bad DRAC IIIs are so unreliable because the interface includes all that.

racadm is better used from a windows machine to remotely read the drac though.

-GRant
  - Original Message - 
  From: Sten Daniel Soersdal 
  To: freebsd-questions@freebsd.org 
  Sent: Tuesday, June 05, 2007 7:57 AM
  Subject: Reading temperature on DELL PE2850?


  I'm contemplating setting sysctl machdep.cpu_idle_hlt=0 on my 4 core 
  PE2850, but i am concerned that without HLT-ing would increase the 
  temperature levels to dangerous levels.
  Are there any ways for me to read temperatures from FreeBSD/DRAC4 ?

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

--
Total Control Panel  Login  
To: [EMAIL PROTECTED]  Block messages from this sender (blacklist)  
From: [EMAIL PROTECTED]  Remove this sender from my whitelist  
  
You received this message because the sender is on your whitelist.  
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: startup / shutdown script (rc.d)

2007-06-05 Thread Jerry McAllister
On Mon, Jun 04, 2007 at 10:52:43PM -0700, gmoniey wrote:

 
 thanks for the ideas, i tried both of your suggestions...i manually ran the
 rails.sh file, and everything worked as expected...so i dumped the output to
 file...my .sh file looks as such:
 
 #!/bin/sh
 case $1 in
 start)
 echo RAILS found start  /tmp/test.file
 kldload accf_http  /tmp/test.file
 mongrel_rails cluster::start -v -C
 /usr/local/www/app/config/mongrel_cluster.yml  /tmp/test.file
 /usr/local/www/app/script/backgroundrb start
 ;;
 stop)
 echo RAILS found stop  /tmp/test.file
 mongrel_rails cluster::stop -v -C
 /usr/local/www/app/config/mongrel_cluster.yml  /tmp/test.file
 /usr/local/www/app/script/backgroundrb stop
 ;;
 *)
 echo Usage: `basename $0` {start|stop} 2
 exit 64
 ;;
 esac
 
 
 and the test.file ended up with this after the reboot:
 
 $cat /tmp/test.file
 RAILS found start
 
 
 the weird part is that the Rails found stop never printed...and im not sure
 why the mongrel_rails fails (im assuming that the kldload works fine as it
 doesn't print out any error messages if it is successfull)

Well, it looks like something after the case-start echo did not
work and things just died there and nothing else ran.
I would also put an echo just before the start and the stop sections
of the rc.d script end eg, just before the ';;'  in each..

What is the '/usr/local/www/app/config/mongrel_cluster.yml  /tmp/test.file'
supposed to accomplish?

jerry

 
 i guess i will just keep playing with it...
 
 
 
 -- 
 View this message in context: 
 http://www.nabble.com/startup---shutdown-script-%28rc.d%29-tf3848895.html#a10963533
 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]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How to understand partition sizes

2007-06-05 Thread Jerry McAllister
On Tue, Jun 05, 2007 at 01:46:51PM +1000, Ivan Carey wrote:

 Hello,
 After installing a new system on a 500Gb HDD the partition size I 
 allocated at install does no match the size after complete system 
 installation

This is well covered in the FAQ and in numerous posts to this list.
Check the archives.   

jerry

 Disc size comes up as 476937MB
 
 At install I partitioned the disc:
 / 2048Mb
 /swap 4096Mb
 /var2048Mb
 /server   440Gb
 /usr13065Mb
 
 After install and checking the partition sizes with KDiskFree the 
 partitions are:
 /1.9Gb
 /var   1.9Gb
 /server   431.0Gb
 /usr   12.4Gb
 
 The /server is 9Gb smaller than I partitioned and the actual free space 
 without any files in the partition is shown as 396.5Gb which is another 
 34.5Gb smaller.
 
 Am I actually seeing what is really happening or am I really loosing 
 43.5Gb of space on the /server partition
 
 Thanks,
 Ivan
 
 ___
 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]


Absolute Newbie - USB Keyboard not recognized

2007-06-05 Thread Oscar Chavarria

I have used the latest tip in the mailing list archives, to move the cable
to another USB physical port, but still the keyboard will not work at the
BSD prompt..

The purpose is to boot as single user.

Thanks is advance for any help.




-
Regards

Oscar Chavarria
Mobile:  +506 814-0247

--- The more I know people the more I love my FreeBSD ---

--- In a world without boundaries, we don't need Windows or Gates ---
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: problem compiling xorg 7.2

2007-06-05 Thread Gerard
On Tuesday June 05, 2007 at 09:57:53 (AM) Anton Galitch wrote:

 On 6/4/07, Norberto Meijome [EMAIL PROTECTED] wrote:
 
  On Mon, 4 Jun 2007 22:19:18 -0300
  Anton Galitch [EMAIL PROTECTED] wrote:
 
   Hello.
  
   I have a problem when I compile /usr/ports/x11/xorg, when I make install
  it
   shows the following error:
  
  
   configure: error: cannot find GL library - make sure Mesa or other
   OpenGL package is installed
   See `config.log' for more details.
   ===  Script configure failed unexpectedly.
  
   I have installed libGL and libGLU but it shows the same error.
  
   I attach my config.log file and the output of ls /var/db/pkg
  
   Thanks for any help
 
  Hi Anton,
  are you upgrading xorg or installing xorg for the first time in this
  machine?
 
  you have to follow the steps in /usr/ports/UPDATING, even if not
  upgrading.

 Hi.
 The situation is following:
 I had xorg 6.9 installed, after trying to upgrade it with portupgrade I
 deinstalled it and now want to install it from scratch.
 My portmanager program works strange thats why I cant install it usin
 /usr/ports/UPDATING.
 Do you know any other way of installing it using another tools??

Please don't top post. If you don't know what that means, please take
the time to Google for it. I have reformatted this post so that it
might be more readily deciphered.

Now, onto your problem. Unfortunately, my crystal ball is out for
repairs today. Since you did not bother to include any specific
information or a copy of the log file that was created as specified in
the 'UPDATING' file when you attempted to update 'xorg', I cannot
assist you. However, now that you have deinstalled it, you should be
able to start fresh -- I think.

You probably need to follow these instructions:

  It is necessary to set the XORG_UPGRADE environment variable while
  updating from xorg 6.9 to 7.2.  Once the upgrade is complete this
  is no longer be required.

  For users of csh-like shells:
  # setenv XORG_UPGRADE yes

  For users of sh-like shells:
  # export XORG_UPGRADE=yes

I am assuming that you have the portupgrade-devel port installed. If
not, it would probably behoove you to do so first as described in the
'UPDATING' file.

You could also probably go this route via portmanager. First, make
sure you have an up-to-date ports tree. Next, run: 

   pkgdb -Ffuv

This should make sure that all of the dependencies are listed
correctly. Now, run:

   portmanager x11/xorg -l -f

That should get xorg installed along with its dependencies.

-- 
Gerard


  DISCLAIMER
  
  If you find a posting or message from me 
  offensive, inappropriate, or disruptive, 
  please ignore it. If you don't know how to 
  ignore a posting, complain to me and I will 
  be only too happy to demonstrate... ;-)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Absolute Newbie - USB Keyboard not recognized

2007-06-05 Thread Garrett Cooper

Oscar Chavarria wrote:
I have used the latest tip in the mailing list archives, to move the 
cable

to another USB physical port, but still the keyboard will not work at the
BSD prompt..

The purpose is to boot as single user.

Thanks is advance for any help.

   What version do you have installed and what's your motherboard maker?
   Did you also remember to put (proper) usb support in the kernel?
-Garrett
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Absolute Newbie - USB Keyboard not recognized

2007-06-05 Thread Reid Linnemann

Written by Oscar Chavarria on 06/05/07 10:02

I have used the latest tip in the mailing list archives, to move the cable
to another USB physical port, but still the keyboard will not work at the
BSD prompt..

The purpose is to boot as single user.

Thanks is advance for any help.




- 


Regards

Oscar Chavarria
Mobile:  +506 814-0247

--- The more I know people the more I love my FreeBSD ---

--- In a world without boundaries, we don't need Windows or Gates ---
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]


At the loader prompt, set hints.atkbd0.disabled=1. This should allow 
your usb keyboard to work in single user mode.

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


Re: How to solve mysterious system lockups?

2007-06-05 Thread Garrett Cooper

N. Harrington wrote:

--- Garrett Cooper [EMAIL PROTECTED] wrote:

  

N. Harrington wrote:


Hello
  I have several systems that are used as squid
caching servers. I have some systems that use SCSI
disks and some  that use SATA disks. They are
identical in everyway except for the sata vs SCSI
drives. 


 At random times, the sata based systems seem to
  

be


freezing. You can ping them and they respond, but
  

you


cannot log in. Nor are any logs processed during
  

that

time. 


 I figure it mist be something to do with the
  

disks,


but I am not sure how to solve it. There seems to
  

be


little rhyme or reason. It does not happen
  

necessarily


during busy times. It can happen in the middle of
  

the


night.

 Any pointers in how to track down the cause would
  

be


much appreciated.

 Tyan S2881 Motherboard - 4gigs mem
 Using 4 SATA (or scsi) drives
 FreeBSD amd64 6.2-STABLE.

 Thanks!

  Nicole
  
  

Nicole,
What's the driver in use for the SATA and the
SCSI drives?
-Garrett



 Hi Garret
 Here is the driver info.

-- SATA

atapci0: SiI 3114 SATA150 controller port
0xbc00-0xbc07,0xb400-0xb403,0xb000-0xb007,0xac00-0xac03,0xa800-0xa80f

mem
0xfeafec00-0xfeafefff irq 17 at device 5.0 on pci3
ata2: ATA channel 0 on atapci0
ata3: ATA channel 1 on atapci0
ata4: ATA channel 2 on atapci0
ata5: ATA channel 3 on atapci0
pci3: display, VGA at device 6.0 (no driver
attached)
isab0: PCI-ISA bridge at device 7.0 on pci0
isa0: ISA bus on isab0
atapci1: AMD 8111 UDMA133 controller port
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xffa0-0xffaf at
device 7.1 on pci0
ata0: ATA channel 0 on atapci1
ata1: ATA channel 1 on atapci1
pci0: serial bus, SMBus at device 7.2 (no driver
attached)
pci0: bridge at device 7.3 (no driver attached)
pcib2: ACPI PCI-PCI bridge at device 10.0 on pci0
pci2: ACPI PCI bus on pcib2

-- SCSI

ahd0: Adaptec AIC7902 Ultra320 SCSI adapter port 
0x8000-0x80ff,0x7800-0x78ff

mem 0xfc89c000-0xfc89dfff irq 24 at device 10.0 on
pci2
ahd0: [GIANT-LOCKED]
aic7902: Ultra320 Wide Channel A, SCSI Id=7, PCI-X
67-100Mhz, 512 SCBs
ahd1: Adaptec AIC7902 Ultra320 SCSI adapter port 
0x8800-0x88ff,0x8400-0x84ff

mem 0xfc89e000-0xfc89 irq 25 at device 10.1 on
pci2
ahd1: [GIANT-LOCKED]
aic7902: Ultra320 Wide Channel B, SCSI Id=7, PCI-X
67-100Mhz, 512 SCBs
pci0: base peripheral, interrupt controller at
device 10.1 (no driver attached)
pcib3: ACPI PCI-PCI bridge at device 11.0 on pci0
pci1: ACPI PCI bus on pcib3
pci0: base peripheral, interrupt controller at
device 11.1 (no driver attached)



 Thanks!

  Nicole
Ok, so it's an AMD 8111 northbridge versus an Adaptec onboard SCSI 
controller.


1. What release / version of FreeBSD are you using? You should upgrade 
to 6.2 STABLE because there have been a variety of issues worked out in 
previous releases.
2. Do you have any logs for activity during the hours when it locks up 
(in particular anything interesting / fishy popping up)?

3. What scheduler are you using? 4BSD, ULE?
4. Does your machine (using the SATA controllers) lock up under heavy 
load? If so, you may have a northbridge cooling issue that you need to 
put a fan on. For instance, the motherboard that I was using for a while 
(ASUS P5N-E SLI) was really close to my CPU heatsink, and there was a 
lot of heat transfer between my northbridge and CPU heatsink, which was 
raising the onboard temperatures 5~10 degrees C. The new motherboard 
(ASUS P5B DLX) doesn't do that though.


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


Re: minimal xorg installation?

2007-06-05 Thread Nikola Lecic
Hello,

On Tue, 5 Jun 2007 15:13:30 +0100
Anton Shterenlikht [EMAIL PROTECTED] wrote:

 For an old laptop with a small disk is there an alternative to
 a full x11/xorg installation? Previously (version 6.9) I used to get
 a working set by installing the components individually. Can I do this
 with 7.2. In particular, I cannot find anythig like xorg-clients port.
 If not in detail, perhaps in principal what must I have. I alredy
 have the following:
 
 === xorg-cf-files-1.0.2_2
 === xorg-apps-7.2
 === xorg-fonts-truetype-7.2
 === xorg-libraries-7.2_1
 === xorg-server-1.2.0_2,1

You must have xorg-7.2 meta-port installed.

If you worry about the disk space or speed of the new Xorg (on an older
machine), I confirm that Xorg-7.2 is _amazingly_ faster than 6.9;
and this is especially visible on older hardware. In general, startup
time of GTK applications in up to 30-50% shorter, and things like video
playback are incredibly improved.

So, you don't need to cut anything. Just update your working system
according to /usr/ports/UPDATING. If you want to save disk space
(during compilling), use 'portupgrade -aP'. 

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


Isakmpd setup question.

2007-06-05 Thread Christopher Hilton

Hi,

I would like to set up isakmpd so I can connect my roaming laptop to my 
NATed LAN behind an OpenBSD firewall on a cable modem. I have an ISAKMPD 
configuration which allows me to do this but to build it I have setup 
the Phase 1 Identifiers to be the IP Addresses that I get. While the 
Cable modem side of the connection is reasonably static the laptop side 
is anything but. My laptop runs FreeBSD and I have built the isakmpd 
port. My laptop also has a constant FQDN via dyndns.org. I would like to 
know how to convert my current configuration from relying on IP 
addresses to relying on FWDN on both sides.


I grabbed my initial configurations from the OpenBSD examples and 
tweaked them until they worked for me but I need to go those few extra 
steps.


Here's /etc/isakmpd/isakmpd.conf from my OpenBSD firewall/router:


--


#   $OpenBSD: VPN-east.conf,v 1.12 2002/06/09 08:13:07 todd Exp $
#   $EOM: VPN-east.conf,v 1.12 2000/10/09 22:08:30 angelos Exp $

# A configuration sample for the isakmpd ISAKMP/Oakley (aka IKE) daemon.
#
# The network topology of the example net is like this:
#
# 192.168.11.0/24 - west [.11] - 10.1.0.0/24 - [.12] east - #192.168.12.0/24
#
# west and east are the respective secrity gateways (aka VPN-nodes).
## We are east.


[General]
Listen-on=  192.168.132.1

[Phase 1]
172.17.0.1= ISAKMP-peer-west

[Phase 2]
Passive-Connections=IPsec-east-west

[ISAKMP-peer-west]
Phase=  1
Transport=  udp
Address=172.17.0.1
Configuration=  Default-aggressive-mode
Authentication= *** not my real password ***

[IPsec-east-west]
Phase=  2
ISAKMP-peer=ISAKMP-peer-west
Configuration=  Default-quick-mode
Local-ID=   Net-east
Remote-ID=  Net-west

[Net-west]
ID-type=IPV4_ADDR_SUBNET
Network=172.17.0.1
Netmask=255.255.255.255

[Net-east]
ID-type=IPV4_ADDR_SUBNET
Network=10.0.0.0
Netmask=255.255.255.0

[Default-main-mode]
DOI=IPSEC
EXCHANGE_TYPE=  ID_PROT
Transforms= 3DES-SHA

[Default-aggressive-mode]
DOI=IPSEC
EXCHANGE_TYPE=  AGGRESSIVE
Transforms= 3DES-SHA

[Default-quick-mode]
DOI=IPSEC
EXCHANGE_TYPE=  QUICK_MODE
Suites= QM-ESP-AES-SHA-PFS-SUITE

# End of file

And here's the corresponding /etc/isakmpd/isakmpd.conf from my laptop:

-

### We are west here

[General]
# Listen-on=172.17.100.1

[Phase 1]
192.168.132.1=  ISAKMP-peer-west

[Phase 2]
Connections=IPsec-east-west

[ISAKMP-peer-west]
Phase=  1
Transport=  udp
Address=192.168.132.1
Configuration=  Default-aggressive-mode
Authentication= *** not my real password ***

[IPsec-east-west]
Phase=  2
ISAKMP-peer=ISAKMP-peer-west
Configuration=  Default-quick-mode
Local-ID=   Net-west
Remote-ID=  Net-east

[Net-west]
ID-type=IPV4_ADDR_SUBNET
Network=172.17.0.1
Netmask=255.255.255.255

[Net-east]
ID-type=IPV4_ADDR_SUBNET
Network=10.0.0.0
Netmask=255.255.255.0

[Default-main-mode]
DOI=IPSEC
EXCHANGE_TYPE=  ID_PROT
Transforms= 3DES-SHA

[Default-aggressive-mode]
DOI=IPSEC
EXCHANGE_TYPE=  AGGRESSIVE
Transforms= 3DES-SHA

[Default-quick-mode]
DOI=IPSEC
EXCHANGE_TYPE=  QUICK_MODE
Suites= QM-ESP-AES-SHA-PFS-SUITE

## End of file

I appreciate any help that someone could provide. I'm especially 
interested in developing a better understanding of how isakmpd works 
with uses these configurations.


Thank you
-- Chris

--
  __o  All I was doing was trying to get home from work.
_`\,_   -Rosa Parks
___(*)/_(*)___
Christopher Sean Hiltonchris | at | vindaloo.com
pgp key: D0957A2D/f5 30 0a e1 55 76 9b 1f 47 0b 07 e9 75 0e 14
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Registering installation for...

2007-06-05 Thread Roland Smith
On Mon, Jun 04, 2007 at 05:02:03PM -0500, Jeffrey Goldberg wrote:
  On Jun 4, 2007, at 4:08 PM, Roland Smith wrote:
 
  This is probably due to the new structure of xorg. On my system, mplayer
  now depenws on 104 other ports (pkg_info -rx mplayer|grep Dependency:|wc 
  -l).
 
  Some dependencies will be counted multiple times that way, try
 
pkg_info -rx mplayer|grep Dependency:| sort | uniq | wc -l

I still get 104.

  I don't have mplayer on my system so I can't check that particular one, but 
  here's another example
 
   $ pkg_info -rx docproj | grep '^Depend'  | wc -l
   143
   $ pkg_info -rx docproj | grep '^Depend'  | sort | uniq | wc -l
57

Don't have that one. But mozilla gives 100 dependencies both ways.

  I really have no idea of how the pkg database works so I don't know whether 
  it treats those duplications wisely.

I think your database has old dependencies lying around.

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpuEZlD0sJg5.pgp
Description: PGP signature


Re: startup / shutdown script (rc.d)

2007-06-05 Thread gmoniey

thanks guys...i will try the new script tonight (unfortunately i cant work on
this during the day...)

also, Jerry...the line:

'/usr/local/www/app/config/mongrel_cluster.yml  /tmp/test.file'

is only the second half of the  mongrel_rails line (i think the forum just
formatted it to come out to 2 lines...but it is really 1)


gmoniey wrote:
 
 thanks for the ideas, i tried both of your suggestions...i manually ran
 the rails.sh file, and everything worked as expected...so i dumped the
 output to file...my .sh file looks as such:
 
 #!/bin/sh
 case $1 in
 start)
 echo RAILS found start  /tmp/test.file
 kldload accf_http  /tmp/test.file
 mongrel_rails cluster::start -v -C
 /usr/local/www/app/config/mongrel_cluster.yml  /tmp/test.file
 /usr/local/www/app/script/backgroundrb start
 ;;
 stop)
 echo RAILS found stop  /tmp/test.file
 mongrel_rails cluster::stop -v -C
 /usr/local/www/app/config/mongrel_cluster.yml  /tmp/test.file
 /usr/local/www/app/script/backgroundrb stop
 ;;
 *)
 echo Usage: `basename $0` {start|stop} 2
 exit 64
 ;;
 esac
 
 
 and the test.file ended up with this after the reboot:
 
 $cat /tmp/test.file
 RAILS found start
 
 
 the weird part is that the Rails found stop never printed...and im not
 sure why the mongrel_rails fails (im assuming that the kldload works fine
 as it doesn't print out any error messages if it is successfull)
 
 i guess i will just keep playing with it...
 
 
 
 

-- 
View this message in context: 
http://www.nabble.com/startup---shutdown-script-%28rc.d%29-tf3848895.html#a10973422
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]


Loader can't read USB drive @ boot

2007-06-05 Thread Fred Davidson
Well I was having this problem with GRUB which someone
helped me with.  Now Grub will boot my USB key and
load loader.  The problem?  loader hangs, and
eventually says it can't find the kernel.  when I
lsdev it always gives the right description of my hard
disk partitions on the hard drive, but prints nothing
for the USB disk. So...

Is this a problem of FreeBSD not being able to read
from the USB stick this early?

Is this a problem of the BIOS being fishy with FreeBSD
and refusing to give up the details of the USB stick? 


Is this (like a read in another post) just a problem
of the specific USB stick I'm using, and that there's
something different about different sticks? Do these
little sticks really have firmware?

You ponder that, I'm gonna go drop some cash on a new
USB stick, hope that's it.

-Fred




 

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]


Re: startup / shutdown script (rc.d)

2007-06-05 Thread Jerry McAllister
On Tue, Jun 05, 2007 at 09:54:14AM -0700, gmoniey wrote:

 
 thanks guys...i will try the new script tonight (unfortunately i cant work on
 this during the day...)
 
 also, Jerry...the line:
 
 '/usr/local/www/app/config/mongrel_cluster.yml  /tmp/test.file'
 
 is only the second half of the  mongrel_rails line (i think the forum just
 formatted it to come out to 2 lines...but it is really 1)

OK.  Mostly I was wondering if you really expected it to write
anything to that /tmp/test.file.I don't know what output 
it might create.

jerry

 
 
 gmoniey wrote:
  
  thanks for the ideas, i tried both of your suggestions...i manually ran
  the rails.sh file, and everything worked as expected...so i dumped the
  output to file...my .sh file looks as such:
  
  #!/bin/sh
  case $1 in
  start)
  echo RAILS found start  /tmp/test.file
  kldload accf_http  /tmp/test.file
  mongrel_rails cluster::start -v -C
  /usr/local/www/app/config/mongrel_cluster.yml  /tmp/test.file
  /usr/local/www/app/script/backgroundrb start
  ;;
  stop)
  echo RAILS found stop  /tmp/test.file
  mongrel_rails cluster::stop -v -C
  /usr/local/www/app/config/mongrel_cluster.yml  /tmp/test.file
  /usr/local/www/app/script/backgroundrb stop
  ;;
  *)
  echo Usage: `basename $0` {start|stop} 2
  exit 64
  ;;
  esac
  
  
  and the test.file ended up with this after the reboot:
  
  $cat /tmp/test.file
  RAILS found start
  
  
  the weird part is that the Rails found stop never printed...and im not
  sure why the mongrel_rails fails (im assuming that the kldload works fine
  as it doesn't print out any error messages if it is successfull)
  
  i guess i will just keep playing with it...
  
  
  
  
 
 -- 
 View this message in context: 
 http://www.nabble.com/startup---shutdown-script-%28rc.d%29-tf3848895.html#a10973422
 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]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: See output of local xterm session on remote ssh session.

2007-06-05 Thread Tek Bahadur Limbu

Pieter de Goeje wrote:

On Saturday 02 June 2007, Jeremy Gransden wrote:

Hello,

I have been searching Google for a few days for this but have not been
coming up with the correct answer. Then again maybe I am asking the wrong
question... If I start a process, i.e. compile a kernel, on my desktop, how
can I then connect to it from my laptop and see the output of that process
via the ssh session?

thanks,
Jeremy
screen(1) is the tool for this. You can find it in the ports collection 
(sysutils/screen).


For example:
$ screen
$ cd /usr/src; sudo make buildworld
(now press CTRL+A D)

On the other machine, ssh into the desktop
$ screen -r
(press CTRL+A D if you've seen enough)

Also, this will protect the running job from accidental (or purposefully) 
closure of the terminal.


Wow, always thought of learning how to learn this magic. Thanks for 
sharing this wonderful tip!



Thanking you...

FreeBSD Rocks!



HTH,
Pieter de Goeje
___
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: Loader can't read USB drive @ boot

2007-06-05 Thread Jerry McAllister
On Tue, Jun 05, 2007 at 09:16:35AM -0700, Fred Davidson wrote:

 Well I was having this problem with GRUB which someone
 helped me with.  Now Grub will boot my USB key and
 load loader.  The problem?  loader hangs, and
 eventually says it can't find the kernel.  when I
 lsdev it always gives the right description of my hard
 disk partitions on the hard drive, but prints nothing
 for the USB disk. So...

When the FreeBSD loader can't find the kernel, it often means
that it is looking in the wrong place.  Is your Grub MBR pointing
it to the right place?   What is actually on that stick?
Is there aDDsNa partition for it to boot from?  DD being device
and N being a slice number, 1..4.

jerry

 
 Is this a problem of FreeBSD not being able to read
 from the USB stick this early?
 
 Is this a problem of the BIOS being fishy with FreeBSD
 and refusing to give up the details of the USB stick? 
 
 
 Is this (like a read in another post) just a problem
 of the specific USB stick I'm using, and that there's
 something different about different sticks? Do these
 little sticks really have firmware?
 
 You ponder that, I'm gonna go drop some cash on a new
 USB stick, hope that's it.
 
 -Fred
 
 
 
 
  
 
 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]
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How to solve mysterious system lockups?

2007-06-05 Thread Chuck Swiger

On Jun 4, 2007, at 8:49 PM, N. Harrington wrote:

 Hi Garret
 Here is the driver info.

-- SATA

atapci0: SiI 3114 SATA150 controller port
0xbc00-0xbc07,0xb400-0xb403,0xb000-0xb007,0xac00-0xac03,0xa800-0xa80f


Ah-- regrettably, the Silicon Image 3112  3114 chips have some  
significant hardware defects, which tend to show up more frequently  
when you put the disk system under significant load (especially  
RAID).  It's likely to be the case that switching to a better SATA  
controller would resolve the problems you are seeing with your SATA- 
based machines.


If you have a chance, perhaps see whether building a kernel with the  
following patch does anything to help the disk lockups you've seen:


--- sys/dev/ataata-chipset.c~  Wed Jun  1 14:24:26 2005
+++ sys/dev/ataata-chipset.c   Tue Jun  5 12:54:58 2007
@@ -2240,7 +2240,7 @@
 struct ata_pci_controller *ctlr = device_get_softc(dev);
 struct ata_chip_id *idx;
 static struct ata_chip_id ids[] =
-{{ ATA_SII3114,   0x00, SIIMEMIO, SII4CH,   ATA_SA150, SiI  
3114 },
+{{ ATA_SII3114,   0x00, SIIMEMIO, (SII4CH|SIIBUG),  ATA_SA150,  
SiI 3114 },
  { ATA_SII3512,   0x02, SIIMEMIO, 0,ATA_SA150, SiI  
3512 },
  { ATA_SII3112,   0x02, SIIMEMIO, 0,ATA_SA150, SiI  
3112 },
  { ATA_SII3112_1, 0x02, SIIMEMIO, 0,ATA_SA150, SiI  
3112 },


The effect of this change is to limit the SilI controller into doing  
DMA transfers which are smaller than 8KB, which seems to mitigate the  
most significant problems with the chipset, at the cost of some  
performance.


--
-Chuck

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


Problems installing asterisk-addons over FreeBSD 6.2?

2007-06-05 Thread perikillo

 Hi people.

  Im trying to setup my first PBX system with asterisk from ports, my ports
are updated, i install asterisk 1.4.4, gastaman, zaptel driver, but went i
try to install asterisk-addons i receive this error:

asteriskbsd# make install clean
===  Vulnerability check disabled, database not found
===  Extracting for asterisk-addons-1.2.3_1
= MD5 Checksum OK for asterisk-addons-1.2.3.tar.gz.
= SHA256 Checksum OK for asterisk-addons-1.2.3.tar.gz.
===  Patching for asterisk-addons-1.2.3_1
===  Applying FreeBSD patches for asterisk-addons-1.2.3_1
===   asterisk-addons-1.2.3_1 depends on executable in : asterisk - found
===   asterisk-addons-1.2.3_1 depends on executable in : gmake - found
===   asterisk-addons-1.2.3_1 depends on shared library: mysqlclient.15 -
found
===  Configuring for asterisk-addons-1.2.3_1
===  Building for asterisk-addons-1.2.3_1
./mkdep -O -pipe -march=pentium4 -fPIC -I/usr/local/include -D_GNU_SOURCE
-I/usr/local/include/mysql  `ls *.c`
gmake -C format_mp3 all
gmake[1]: Entering directory `/usr/ports/net/asterisk-addons/work/asterisk-
addons-1.2.3/format_mp3'
gcc -pipe -fPIC -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations  -I/usr/local/include -D_REENTRANT -D_GNU_SOURCE
-D_THREAD_SAFE  -O6-c -o common.o common.c
gcc -pipe -fPIC -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations  -I/usr/local/include -D_REENTRANT -D_GNU_SOURCE
-D_THREAD_SAFE  -O6-c -o dct64_i386.o dct64_i386.c
gcc -pipe -fPIC -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations  -I/usr/local/include -D_REENTRANT -D_GNU_SOURCE
-D_THREAD_SAFE  -O6-c -o decode_ntom.o decode_ntom.c
gcc -pipe -fPIC -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations  -I/usr/local/include -D_REENTRANT -D_GNU_SOURCE
-D_THREAD_SAFE  -O6-c -o layer3.o layer3.c
gcc -pipe -fPIC -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations  -I/usr/local/include -D_REENTRANT -D_GNU_SOURCE
-D_THREAD_SAFE  -O6-c -o tabinit.o tabinit.c
gcc -pipe -fPIC -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations  -I/usr/local/include -D_REENTRANT -D_GNU_SOURCE
-D_THREAD_SAFE  -O6-c -o interface.o interface.c
gcc -pipe -fPIC -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations  -I/usr/local/include -D_REENTRANT -D_GNU_SOURCE
-D_THREAD_SAFE  -O6-c -o format_mp3.o format_mp3.c
format_mp3.c:46: error: redefinition of `struct ast_filestream'
format_mp3.c:325: warning: function declaration isn't a prototype
format_mp3.c:336:25: macro ast_format_register passed 12 arguments, but
takes just 1
format_mp3.c: In function `load_module':
format_mp3.c:327: error: `ast_format_register' undeclared (first use in this
function)
format_mp3.c:327: error: (Each undeclared identifier is reported only once
format_mp3.c:327: error: for each function it appears in.)
format_mp3.c: At top level:
format_mp3.c:342: warning: function declaration isn't a prototype
format_mp3.c:347: warning: function declaration isn't a prototype
format_mp3.c:359: warning: function declaration isn't a prototype
format_mp3.c:365: warning: function declaration isn't a prototype
format_mp3.c:76: warning: 'exts' defined but not used
format_mp3.c:107: warning: 'mp3_open' defined but not used
format_mp3.c:135: warning: 'mp3_close' defined but not used
format_mp3.c:219: warning: 'mp3_read' defined but not used
format_mp3.c:267: warning: 'mp3_write' defined but not used
format_mp3.c:275: warning: 'mp3_seek' defined but not used
format_mp3.c:302: warning: 'mp3_rewrite' defined but not used
format_mp3.c:308: warning: 'mp3_trunc' defined but not used
format_mp3.c:315: warning: 'mp3_tell' defined but not used
format_mp3.c:320: warning: 'mp3_getcomment' defined but not used
gmake[1]: *** [format_mp3.o] Error 1
gmake[1]: Leaving directory `/usr/ports/net/asterisk-addons/work/asterisk-
addons-1.2.3/format_mp3'
gmake: *** [format_mp3/format_mp3.so] Error 2
*** Error code 2

 I want to test FreePBX to, but i need this port.

 Some knows how to fix this error?

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


Re: How to solve mysterious system lockups?

2007-06-05 Thread N. Harrington

--- Garrett Cooper [EMAIL PROTECTED] wrote:

 N. Harrington wrote:
  --- Garrett Cooper [EMAIL PROTECTED]
 wrote:
 

  N. Harrington wrote:
  
  Hello
I have several systems that are used as squid
  caching servers. I have some systems that use
 SCSI
  disks and some  that use SATA disks. They are
  identical in everyway except for the sata vs
 SCSI
  drives. 
 
   At random times, the sata based systems seem to

  be
  
  freezing. You can ping them and they respond,
 but

  you
  
  cannot log in. Nor are any logs processed during

  that
  
  time. 
 
   I figure it mist be something to do with the

  disks,
  
  but I am not sure how to solve it. There seems
 to

  be
  
  little rhyme or reason. It does not happen

  necessarily
  
  during busy times. It can happen in the middle
 of

  the
  
  night.
 
   Any pointers in how to track down the cause
 would

  be
  
  much appreciated.
 
   Tyan S2881 Motherboard - 4gigs mem
   Using 4 SATA (or scsi) drives
   FreeBSD amd64 6.2-STABLE.
 
   Thanks!
 
Nicole


  Nicole,
  What's the driver in use for the SATA and the
  SCSI drives?
  -Garrett
  
 
   Hi Garret
   Here is the driver info.
 
  -- SATA
 
  atapci0: SiI 3114 SATA150 controller port
 

0xbc00-0xbc07,0xb400-0xb403,0xb000-0xb007,0xac00-0xac03,0xa800-0xa80f
 
  mem
  0xfeafec00-0xfeafefff irq 17 at device 5.0 on pci3
  ata2: ATA channel 0 on atapci0
  ata3: ATA channel 1 on atapci0
  ata4: ATA channel 2 on atapci0
  ata5: ATA channel 3 on atapci0
  pci3: display, VGA at device 6.0 (no driver
  attached)
  isab0: PCI-ISA bridge at device 7.0 on pci0
  isa0: ISA bus on isab0
  atapci1: AMD 8111 UDMA133 controller port
  0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xffa0-0xffaf
 at
  device 7.1 on pci0
  ata0: ATA channel 0 on atapci1
  ata1: ATA channel 1 on atapci1
  pci0: serial bus, SMBus at device 7.2 (no driver
  attached)
  pci0: bridge at device 7.3 (no driver attached)
  pcib2: ACPI PCI-PCI bridge at device 10.0 on
 pci0
  pci2: ACPI PCI bus on pcib2
 
  -- SCSI
 
  ahd0: Adaptec AIC7902 Ultra320 SCSI adapter port
 
  0x8000-0x80ff,0x7800-0x78ff
  mem 0xfc89c000-0xfc89dfff irq 24 at device 10.0 on
  pci2
  ahd0: [GIANT-LOCKED]
  aic7902: Ultra320 Wide Channel A, SCSI Id=7, PCI-X
  67-100Mhz, 512 SCBs
  ahd1: Adaptec AIC7902 Ultra320 SCSI adapter port
 
  0x8800-0x88ff,0x8400-0x84ff
  mem 0xfc89e000-0xfc89 irq 25 at device 10.1 on
  pci2
  ahd1: [GIANT-LOCKED]
  aic7902: Ultra320 Wide Channel B, SCSI Id=7, PCI-X
  67-100Mhz, 512 SCBs
  pci0: base peripheral, interrupt controller at
  device 10.1 (no driver attached)
  pcib3: ACPI PCI-PCI bridge at device 11.0 on
 pci0
  pci1: ACPI PCI bus on pcib3
  pci0: base peripheral, interrupt controller at
  device 11.1 (no driver attached)
 
 
 
   Thanks!
 
Nicole
 Ok, so it's an AMD 8111 northbridge versus an
 Adaptec onboard SCSI 
 controller.
 
 1. What release / version of FreeBSD are you using?
 You should upgrade 
 to 6.2 STABLE because there have been a variety of
 issues worked out in previous releases.

 I have a range of Versions from 6.1-Pre to 6.2-STABLE
as of a few months ago.

 2. Do you have any logs for activity during the
 hours when it locks up 
 (in particular anything interesting / fishy popping
 up)?

 Nope. That would make it too easy :)
 They commit suicide without a note.

 3. What scheduler are you using? 4BSD, ULE?

4BSD

 4. Does your machine (using the SATA controllers)
 lock up under heavy 
 load? If so, you may have a northbridge cooling
 issue that you need to 
 put a fan on. For instance, the motherboard that I
 was using for a while 
 (ASUS P5N-E SLI) was really close to my CPU
 heatsink, and there was a 
 lot of heat transfer between my northbridge and CPU
 heatsink, which was 
 raising the onboard temperatures 5~10 degrees C. The
 new motherboard 
 (ASUS P5B DLX) doesn't do that though.

 The lockups seem rather random. I have healthd
running and they never seem to show very warm. The
room is cold and the servers have great fans. Altho
healthd can seem wonky as the cpu temp has actually
gone below the minimum. Also the -2Volt line seems
very low. But some servers runs forever that way.

 At least with SCSI, since it seems to manage itself
as another layer away from the system, you get some
error messages. Sort of like windows 3.1 dropping to
dos. Verses sata issues where it's just blue screen of
death but without even some debugging code.

 I am going to try the patch chuck Swiger sent me and
see how that effects things. Also try a few
replacement sata cards. Altho that is always fun
especially in 1U servers. As well as seeing if using
SAS drives may help if I can find some cheap enough. 
 Do you think that using the ULE scheduler could
really help? 

 Thanks

  Nicole


 Cheers,
 -Garrett
 

___
freebsd-questions@freebsd.org mailing list

Re: How to correctly use 2 on board nics

2007-06-05 Thread John Nielsen

Quoting Ivan Carey [EMAIL PROTECTED]:

I have a server board with 2 onboard nic's
I have set them up in rc.conf as follows

defaultrouter=192.168.1.1
network_interfaces=em0 em1 lo0
ifconfig_em0=inet 192.168.1.3 netmask 255.255.255.0
ifconfig_em1=inet 192.168.1.4 netmask 255.255.255.0

The question, is this the correct configuration?


Manually specifying network_interfaces is deprecated (take that line 
out). Putting both NIC's on the same subnet and segment but with 
different IP's like this may not be too useful..


If I have both nic's connected to the switch I can ping 192.168.1.1 
and 192.168.1.3 and 192.168.1.4


If I have only em0 connected I can ping 192.168.1.1 and 192.168.1.3

If I have only em1 connected I can ping 192.168.1.3.


That is because the route to 192.168.1.1 is associated with em0 at this point.

What could the 2 onboard nic's be best used for. I was thinking that 
in the event on was to fail then the other would still be ok.


For that to be most useful you'll want to set something up so they can 
share the same IP. The lagg(4) (link aggregation) virtual interface has 
already been mentioned, but I believe it is still only available in 
-CURRENT. Other possibilities might include attaching ifconfig scripts 
to link up/down events or [lack of] ping responses on one or both 
interfaces.


JN

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


Re: How to correctly use 2 on board nics

2007-06-05 Thread Tom Judge

John Nielsen wrote:

Quoting Ivan Carey [EMAIL PROTECTED]:

I have a server board with 2 onboard nic's
I have set them up in rc.conf as follows

defaultrouter=192.168.1.1
network_interfaces=em0 em1 lo0
ifconfig_em0=inet 192.168.1.3 netmask 255.255.255.0
ifconfig_em1=inet 192.168.1.4 netmask 255.255.255.0

The question, is this the correct configuration?


Manually specifying network_interfaces is deprecated (take that line 
out). Putting both NIC's on the same subnet and segment but with 
different IP's like this may not be too useful..


If I have both nic's connected to the switch I can ping 192.168.1.1 
and 192.168.1.3 and 192.168.1.4


If I have only em0 connected I can ping 192.168.1.1 and 192.168.1.3

If I have only em1 connected I can ping 192.168.1.3.


That is because the route to 192.168.1.1 is associated with em0 at this 
point.


What could the 2 onboard nic's be best used for. I was thinking that 
in the event on was to fail then the other would still be ok.


For that to be most useful you'll want to set something up so they can 
share the same IP. The lagg(4) (link aggregation) virtual interface has 
already been mentioned, but I believe it is still only available in 
-CURRENT. Other possibilities might include attaching ifconfig scripts 
to link up/down events or [lack of] ping responses on one or both 
interfaces.


JN


I thought I saw if_lagg MFC'd to RELENG_6 a few weeks back on 
[EMAIL PROTECTED]  After checking cvsweb it is available in RELENG_6.


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


Re: How to solve mysterious system lockups?

2007-06-05 Thread Kris Kennaway
On Mon, Jun 04, 2007 at 04:40:56PM -0700, Nicole Harrington wrote:
 Hello
   I have several systems that are used as squid
 caching servers. I have some systems that use SCSI
 disks and some  that use SATA disks. They are
 identical in everyway except for the sata vs SCSI
 drives. 
 
  At random times, the sata based systems seem to be
 freezing. You can ping them and they respond, but you
 cannot log in. Nor are any logs processed during that
 time. 
 
  I figure it mist be something to do with the disks,
 but I am not sure how to solve it. There seems to be
 little rhyme or reason. It does not happen necessarily
 during busy times. It can happen in the middle of the
 night.
 
  Any pointers in how to track down the cause would be
 much appreciated.

See the email I sent yesterday to a similar question.

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


rdesktop: segmentation fault under xorg 7.2

2007-06-05 Thread Laszlo Nagy


 Hello All,

I have just upgraded my FreeBSD ports.

uname -a output:

FreeBSD cassiopeia.ronet 6.2-RELEASE-p1 FreeBSD 6.2-RELEASE-p1 #4: Sat 
Feb 17 16:56:53 CET 2007 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/CASSIOPEIA  i386



The ports tree was updated about three days ago. The newly updated 
rdesktop application exits with segmentation fault (core dumped). I 
also tried to install an older version from source (rdesktop 1.4.1) and 
had the same result. Finally, I tried to run rdesktop but send its 
output to a different machine (Ubuntu Feisty). It worked perfectly.


So I believe that the problem is with the new xorg version, not 
rdesktop. I'm not 100% sure. Do you have the same problem? Is there a 
solution for this?


BTW, as a workaround, I'm using an open source java based RDP 
implementation and it works.


Best,

  Laszlo


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


Re: The worst error message in history belongs to... BIND9!

2007-06-05 Thread dgmm
On Thursday 31 May 2007, Tom Wilson wrote:
 I always liked one of the messages from an old version of the VMS (4 or 5?)
 C compiler(may not be exactly it, but this was included):

 Bad Code

Or the Level I BASIC error messages on a TRS-80.

What?

How?

Sorry?

And that's all folks.  The entire repertoire of error reporting on Level I 
Basic :-)

Of course, fitting a BASIC interpretor and OS into only 4K of ROM was quite an 
achievement in itself.  I doubt there were many spare bytes for more 
informative error reports.

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


Can a Cisco Device use RSA authentication for SSH

2007-06-05 Thread Martin McCormick
A person in our group is trying to scp files from a Cisco IOS
device to a FreeBSD work station. The Cisco box uses an RSA key
and sshd on the FreeBSD system won't recognize the algorithm.
The error message on the Cisco side of things looks like:

   39: Jun  5 14:13:59.623 CDT: SSH2 0: hostkey algo not supported:
   client ssh-rsa, server ssh-dss

Is there a safe way to make this work?

Thank you.

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


Re: fbsd 6.2 pf starts -- but not on boot

2007-06-05 Thread Volker
Hi snow,

On 06/05/07 00:37, snowcrash+freebsd wrote:
 On 6/4/07, Volker [EMAIL PROTECTED] wrote:
 without seeing your pf.conf ruleset,
 
 happy to send/post if required/helpful ...

I don't think it's required for now.

 I guess you're using a ppp
 connection to your upstream provider and firewalling on the tunX
 interface (using tun0 as $ext_if).
 
 you're absolutely correct here.
 
 As FreeBSD boots up, this interface does not yet exist when pf is
 loaded.
 
 clear.
 
 As soon as ppp is loaded and interface tun0 has been created,
 pf will happily load your ruleset.
 
 aha. does that suggest that i'm simply not waiting long enough?  your
 following comments suggest otherwise, iiuc, that i need to proactively
 _do_ something different ...

It's not _you_ aren't waiting too long. It's at the time pf is being
loaded, the interface pf want's to filter on does not yet exist. See
it as a wrong load order.

The only thing you could do is only using interfaces which do exist at
boot-up time. tun, ppp and ng interfaces are created a bit later (by
default). You could avoid using dynamic interfaces in your ruleset
(which is not always possible). For example you could filter on the
interface group 'pass out on tun from any to any port http keep state'
should happily be parsed and loaded at boot time, even while no tun
interface does exist. As soon as you're trying to get the IP address
of such interface (rdr rules most likely), pf will fail with a 'device
not configured' error message (or the like).

 The solution is to either have pf rules loaded late (later than ppp is
 started)
 
 clearly, simply including pf-related items in rc.conf after
 pppoe-related items is not sufficient.
 
 i'll take a look at rcorder ... which i wasn't aware of at all.  thanks!

The clearest solution is to have a pf ruleset without any dynamic
interfaces included but having anchors included to later fill the
rules as soon as the dynamic interfaces are created. As that is one
thing on my 2do list for a long time, I don't have any good examples
for that. The OpenBSD pf FAQ does contain a bit about this.

If you want to avoid using anchors, you can use a very quick and dirty
solution by just symlinking /etc/rc.d/pf to /usr/local/etc/rc.d. A bit
better (just a bit) is to create a new rc file in /usr/local/etc/rc.d
which may contain something like:

file: /usr/local/etc/rc.d/pf-late
#!/bin/sh
# PROVIDE: pf-late
# REQUIRE: NETWORKING DAEMON

/etc/rc.d/pf ${1}
#EOF

This script will run after all networking parts and all daemon
processes have been loaded and will load pf rules. Using that, pf
rules will be loaded twice: the first (regular) time will fail and the
2nd time will most likely succeed. Keep in mind this is just a quick
and dirty workaround.

 
 or use anchors and load ext rules into the anchor when the
 ppp interface is up.
 
 i hadn't thought of using anchors in this fashion.
 
 i'm off to google, but any good examples you can reference?
 
 The easier is to have the rules loading late
 (check using rcorder) but this may also fail if something goes wrong
 with ppp.
 
 i /thought/ i'd dealt with the intfc/ppo/pf ordering issue, configuring,
 
 cat /etc/ppp/ppp.linkup
 
 ppp1:
 ! sh -c /sbin/pfctl -ef /usr/local/etc/pf/pf.conf

That might work but I would try to have it running in the background
(!bg) as while forking a foreground process, ppp will be blocked for
that time.

 !bg sh -c echo `/bin/date` `/etc/bin/ip` ppp.linkup 
 /etc/ppp/log
 
 
 cat /etc/ppp/ppp.linkdown
 
 ppp1:
 !bg route delete HISADDR ppp1
 !bg pfctl -F all -d
 
 
 cat /etc/ppp/ppp.conf
 
 default:
 set device PPPoE:sis1:
 set speed sync
 set ctsrts off
 set dial
 set login
 set cd 10
 set timeout 0
 set redial 0 0
 enable lqr
 set lqrperiod 20
 set log Phase tun command
 
 add default HISADDR
 enable tcpmssfixup
 disable dns
 
 ppp1:
 set authname [EMAIL PROTECTED]
 set authkey  
 set MRU 1492
 set MTU 1492
 
 
 are these NOT supposed to address/solve the problem? or are the configs
 wrong?

Other then the bg issue, I don't have an idea why your current config
does not work. You may check (just a guess) if pf does see that
interface at the time the linkup script is executed by inserting
`pfctl -sI' and check the output.

If running that (pf) script in the background does not solve your
problem, you may go the quick workaround by using a 'pf-late' script.
If you really want to have it clear and well designed (and can afford
the time on hacking and testing this), anchors are the way to go.
Within your ppp.linkup script 

Re: rdesktop: segmentation fault under xorg 7.2

2007-06-05 Thread Jan Henrik Sylvester

For me, rdesktop works -- I have all my ports upgraded...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Can a Cisco Device use RSA authentication for SSH

2007-06-05 Thread Chuck Swiger

On Jun 5, 2007, at 12:46 PM, Martin McCormick wrote:

A person in our group is trying to scp files from a Cisco IOS
device to a FreeBSD work station. The Cisco box uses an RSA key
and sshd on the FreeBSD system won't recognize the algorithm.
The error message on the Cisco side of things looks like:

   39: Jun  5 14:13:59.623 CDT: SSH2 0: hostkey algo not  
supported:

   client ssh-rsa, server ssh-dss

Is there a safe way to make this work?


I'd imagine that you can use ssh-keygen to generate a replacement  
RSA1 or RSA2 host key rather than a DSA key:


  /usr/bin/ssh-keygen -t rsa1 -b 1024 -f /etc/ssh/ssh_host_key -N ''

...or -t rsa for a protocol-2 RSA key, if the Cisco can deal with  
those.


--
-Chuck

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


eGroupWare-egw-pear

2007-06-05 Thread Mark Busby
I notice that the new version of egroupware 1.4.001 requires 
eGroupWare-egw-pear.
  Does anyone have a successful install??  I tried an upgrade 1.2.106 but 
something about php5 was broken, and dropped back to php4. I forget what part 
of php5 would not build, it was several months ago.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Ports system gone

2007-06-05 Thread Robert Fitzpatrick
How can I restore my ports system?

I have no idea what happened. I have a server I setup over the weekend
to start testing Maia Mailguard, installed many packages over the last
few days (postfix+amavisd+SA+related). I can't remember the last package
installed via the ports system, I updated it to src-all and back to
ports-all once to compile my kernel. Now, today I go to install a
package and practically everything is gone...this is all I have left...

mx1# ls /usr/ports
INDEX-6 INDEX-6.db  dns security
INDEX-6.bz2 distfiles   net
mx1# ls /usr/ports/dns
bind9-dlz
mx1# ls /usr/ports/security/
vscan
mx1# ls /usr/ports/net/
openldap23-client

At this point I want to assume I mistakenly did a rm sometime, what else
could cause something like this? Can't find any issues in the logs and
no other issues with any services running on the box. Can't find
anything else missing. If I try to run my ports update my ports, it just
hangs here...

mx1# cd /usr/ports
mx1# /usr/local/bin/cvsup /root/ports-supfile
Connected to cvsup9.us.FreeBSD.org
Updating collection ports-all/cvs

-- 
Robert

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


Re: Ports system gone

2007-06-05 Thread John Nielsen

Quoting Robert Fitzpatrick [EMAIL PROTECTED]:


How can I restore my ports system?


Use a valid tag in your ports-supfile (probably .) and try again.



I have no idea what happened. I have a server I setup over the weekend
to start testing Maia Mailguard, installed many packages over the last
few days (postfix+amavisd+SA+related). I can't remember the last package
installed via the ports system, I updated it to src-all and back to
ports-all once to compile my kernel. Now, today I go to install a
package and practically everything is gone...this is all I have left...

mx1# ls /usr/ports
INDEX-6 INDEX-6.db  dns security
INDEX-6.bz2 distfiles   net
mx1# ls /usr/ports/dns
bind9-dlz
mx1# ls /usr/ports/security/
vscan
mx1# ls /usr/ports/net/
openldap23-client

At this point I want to assume I mistakenly did a rm sometime, what else
could cause something like this? Can't find any issues in the logs and
no other issues with any services running on the box. Can't find
anything else missing. If I try to run my ports update my ports, it just
hangs here...

mx1# cd /usr/ports
mx1# /usr/local/bin/cvsup /root/ports-supfile
Connected to cvsup9.us.FreeBSD.org
Updating collection ports-all/cvs


JN

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


Re: The worst error message in history belongs to... BIND9!

2007-06-05 Thread Eduardo Morras

At 14:38 31/05/2007, Robert Huff wrote:


=?iso-8859-1?Q?Kyrre_Nyg=E5rd?= writes:

  It has to be the worst written error message in history.

Not even close.  I commend to you the Amiga's BSOD:

  Software Guru
Meditation Number
   very long string of hex digits


And the  Need 0KB more memory to manage memory  from MacOS system7?


A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail? 


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


Re: Ports system gone

2007-06-05 Thread Lowell Gilbert
Robert Fitzpatrick [EMAIL PROTECTED] writes:

 How can I restore my ports system?

 I have no idea what happened. I have a server I setup over the weekend
 to start testing Maia Mailguard, installed many packages over the last
 few days (postfix+amavisd+SA+related). I can't remember the last package
 installed via the ports system, I updated it to src-all and back to
 ports-all once to compile my kernel. Now, today I go to install a
 package and practically everything is gone...this is all I have left...

 mx1# ls /usr/ports
 INDEX-6 INDEX-6.db  dns security
 INDEX-6.bz2 distfiles   net
 mx1# ls /usr/ports/dns
 bind9-dlz
 mx1# ls /usr/ports/security/
 vscan
 mx1# ls /usr/ports/net/
 openldap23-client

 At this point I want to assume I mistakenly did a rm sometime, what else
 could cause something like this? Can't find any issues in the logs and
 no other issues with any services running on the box. Can't find
 anything else missing. If I try to run my ports update my ports, it just
 hangs here...

 mx1# cd /usr/ports
 mx1# /usr/local/bin/cvsup /root/ports-supfile
 Connected to cvsup9.us.FreeBSD.org
 Updating collection ports-all/cvs

On one of your cvsup runs, you probably used a tag (or
branch name) that doesn't exist in the ports tree.
Always use HEAD (tag=.) for ports.

It could be something else, but my bet would be to
check your ports supfile.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: New != Faster

2007-06-05 Thread Chris

On 04/06/07, Kris Kennaway [EMAIL PROTECTED] wrote:

On Mon, Jun 04, 2007 at 08:54:50PM +0100, Chris wrote:
 On 04/06/07, Colin Percival [EMAIL PROTECTED] wrote:
 Tim Daneliuk wrote:
  Old   2 PIII @600Mhz   768K26M/sec4.11-stable/SMP
  50-60 min
  New   Pent D (2 core)@3.2GHz   2G 50M/sec6.2-stable/SMP
  40-50 min
  Fast  2 Xeon @3GHz 3G130M/sec4.11-stable/SMP
  8 min
 
  Is the difference in speed
  attributable to 4.11 being faster than 6.2?
 
 Close.  The difference in speed is due to the compiler in 4.11 being
 faster than the compiler in 6.2.  FreeBSD uses the gcc compiler, and
 between FreeBSD 4.11 and FreeBSD 6.2 that has been upgraded from 2.9
 to 3.4.  The general trend each time gcc is upgraded is that it takes
 2x longer to compile code, but produces code which is 5% faster (as a
 result of working harder to find optimizations).
 
 FreeBSD 6.2 is faster than FreeBSD 4.11 for almost everything except
 compiling itself. :-)
 
 Colin Percival
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]
 

 What about all the following observations?

 slower disk performance especially under QUOTA.

s/especially//, unless you have further evidence I don't know about.

 both of these have been confirmed numerous times by different people
 so sweeping them under the carpet and saying they simply not true
 would be wrong.

My detailed measurements of disk performance and those of others I am
aware of contradicts your claim: 6.x equals or outperforms 4.x on disk
I/O (depends on driver) and filesystem I/O.  The only true part of it
is the under QUOTA part, which as you know from past discussions, is
still under Giant in 6.x.  As you also know, there is a patch to
address this which is awaiting user testing.  Have you tested it yet?

Kris


Having some hardware coming this week when thats all setup I will have
a box available for testing patches.

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


Re: New != Faster

2007-06-05 Thread Kris Kennaway
On Tue, Jun 05, 2007 at 11:06:52PM +0100, Chris wrote:
 On 04/06/07, Kris Kennaway [EMAIL PROTECTED] wrote:
 On Mon, Jun 04, 2007 at 08:54:50PM +0100, Chris wrote:
  On 04/06/07, Colin Percival [EMAIL PROTECTED] wrote:
  Tim Daneliuk wrote:
   Old   2 PIII @600Mhz   768K26M/sec4.11-stable/SMP
   50-60 min
   New   Pent D (2 core)@3.2GHz   2G 50M/sec6.2-stable/SMP
   40-50 min
   Fast  2 Xeon @3GHz 3G130M/sec4.11-stable/SMP
   8 min
  
   Is the difference in speed
   attributable to 4.11 being faster than 6.2?
  
  Close.  The difference in speed is due to the compiler in 4.11 being
  faster than the compiler in 6.2.  FreeBSD uses the gcc compiler, and
  between FreeBSD 4.11 and FreeBSD 6.2 that has been upgraded from 2.9
  to 3.4.  The general trend each time gcc is upgraded is that it takes
  2x longer to compile code, but produces code which is 5% faster (as a
  result of working harder to find optimizations).
  
  FreeBSD 6.2 is faster than FreeBSD 4.11 for almost everything except
  compiling itself. :-)
  
  Colin Percival
  
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to
  [EMAIL PROTECTED]
  
 
  What about all the following observations?
 
  slower disk performance especially under QUOTA.
 
 s/especially//, unless you have further evidence I don't know about.
 
  both of these have been confirmed numerous times by different people
  so sweeping them under the carpet and saying they simply not true
  would be wrong.
 
 My detailed measurements of disk performance and those of others I am
 aware of contradicts your claim: 6.x equals or outperforms 4.x on disk
 I/O (depends on driver) and filesystem I/O.  The only true part of it
 is the under QUOTA part, which as you know from past discussions, is
 still under Giant in 6.x.  As you also know, there is a patch to
 address this which is awaiting user testing.  Have you tested it yet?
 
 Kris
 
 Having some hardware coming this week when thats all setup I will have
 a box available for testing patches.

Glad to hear it.  It is kind of irritating that you keep loudly
complaining about how terrible QUOTA performance is but have so far
avoided participating in the solution to that problem.

So, just to confirm, you do not in fact have evidence of poor disk
performance apart from this?

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


Re: Absolute Newbie - USB Keyboard not recognized

2007-06-05 Thread youshi10

On Tue, 5 Jun 2007, Oscar Chavarria wrote:


On 6/5/07, Garrett Cooper [EMAIL PROTECTED] wrote:


Oscar Chavarria wrote:
 I have used the latest tip in the mailing list archives, to move the
 cable
 to another USB physical port, but still the keyboard will not work at
the
 BSD prompt..

 The purpose is to boot as single user.

 Thanks is advance for any help.
What version do you have installed and what's your motherboard maker?
Did you also remember to put (proper) usb support in the kernel?
-Garrett



Version: FreeBSD 6.1

Motherboard: VIA. I ran dmesg  file and went through it but couldn't make
out the model.

USB should be supported because I succesfully mounted a USB external HDD on
/home. I used this last physical port to attach the keyboard to make sure I
had a working port, but to no avail.


--
Regards

Oscar Chavarria
Mobile:  +506 814-0247

--- The more I know people the more I love my FreeBSD ---

--- In a world without boundaries, we don't need Windows or Gates ---



ukbd and uhid compiled into the kernel, or is this kernel GENERIC?

Also, please make sure to CC the list next time ;).
-Garrett

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


Failed to load module pcidata

2007-06-05 Thread Gerard
I believe this problem has been reported recently; however, I am unable to 
locate it.


I just finished updating to 'Xorg-7.2'. I followed the directions in the 
UPDATING file to the letter (I think). Now when I attempt to run 'startx', 
this error message is displayed.


X Window System Version 7.2.0
Release Date: 22 January 2007
X Protocol Version 11, Revision 0, Release 7.2
Build Operating System: FreeBSD 6.2-RELEASE-p5 i386 
Current Operating System: FreeBSD scorpio.seibercom.net 6.2-RELEASE-p5 FreeBSD 6.2-RELEASE-p5 #0: Thu May 24 12:27:57 EDT 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SCORPIO i386

Build Date: 01 June 2007
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: /var/log/Xorg.0.log, Time: Tue Jun  5 18:16:09 2007
(==) Using config file: /etc/X11/xorg.conf
(EE) Failed to load module pcidata (module does not exist, 0)

Fatal server error:
Unable to load required base modules, Exiting...

X connection to :0.0 broken (explicit kill or server shutdown).


* This is the contents of the /var/log/Xorg.0.log *

log start

X Window System Version 7.2.0
Release Date: 22 January 2007
X Protocol Version 11, Revision 0, Release 7.2
Build Operating System: FreeBSD 6.2-RELEASE-p5 i386 
Current Operating System: FreeBSD scorpio.seibercom.net 6.2-RELEASE-p5 FreeBSD 6.2-RELEASE-p5 #0: Thu May 24 12:27:57 EDT 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SCORPIO i386

Build Date: 01 June 2007
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: /var/log/Xorg.0.log, Time: Tue Jun  5 18:16:09 2007
(==) Using config file: /etc/X11/xorg.conf
(==) ServerLayout X.org Configured
(**) |--Screen Screen0 (0)
(**) |   |--Monitor Monitor0
(**) |   |--Device Card0
(**) |--Input Device Mouse0
(**) |--Input Device Keyboard0
(WW) The directory /usr/X11R6/lib/X11/fonts/misc/ does not exist.
Entry deleted from font path.
(WW) The directory /usr/X11R6/lib/X11/fonts/TTF/ does not exist.
Entry deleted from font path.
(WW) The directory /usr/X11R6/lib/X11/fonts/Type1/ does not exist.
Entry deleted from font path.
(WW) The directory /usr/X11R6/lib/X11/fonts/CID/ does not exist.
Entry deleted from font path.
(WW) The directory /usr/X11R6/lib/X11/fonts/75dpi/ does not exist.
Entry deleted from font path.
(WW) The directory /usr/X11R6/lib/X11/fonts/100dpi/ does not exist.
Entry deleted from font path.
(WW) The directory /usr/X11R6/lib/X11/fonts/webfonts/ does not exist.
Entry deleted from font path.
(WW) The directory /usr/X11R6/lib/X11/fonts/TTF does not exist.
Entry deleted from font path.
(WW) The directory /usr/X11R6/lib/X11/fonts/URW does not exist.
Entry deleted from font path.
(WW) The directory /usr/X11R6/lib/X11/fonts/urwfonts-ttf does not exist.
Entry deleted from font path.
(**) FontPath set to:
/usr/local/share/ghostscript/fonts/
(**) RgbPath set to /usr/X11R6/lib/X11/rgb
(**) ModulePath set to /usr/X11R6/lib/modules
(II) Loader magic: 0x81c0280
(II) Module ABI versions:
X.Org ANSI C Emulation: 0.3
X.Org Video Driver: 1.1
X.Org XInput driver : 0.7
X.Org Server Extension : 0.3
X.Org Font Renderer : 0.5
(II) Loader running on freebsd
(II) LoadModule: pcidata
(WW) Warning, couldn't open module pcidata
(II) UnloadModule: pcidata
(EE) Failed to load module pcidata (module does not exist, 0)

Fatal server error:
Unable to load required base modules, Exiting...

log end

What is the best way to remedy this problem?

Thanks!

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


Re: Making a new libmap.conf for linux emulation

2007-06-05 Thread Sereno Ternullo

Norberto Meijome ha scritto:

On Tue, 5 Jun 2007 00:54:32 +0200
Sereno Ternullo [EMAIL PROTECTED] wrote:

  
Hi all, 
I made too many mistakes configuring my /etc/libmap.conf file and now 
I'm having problems with my linux sub system.



why do you think you have to do that for? 
  


I'm slowing understanding the source of my disaster.
Watching to my /compat/linux/ dir, and recognizing it as a Fedora Core 4 
base system,
I had the insane idea of installing an entire Fedora core 4 system by 
unpacking all the RMPs

found on the first ISO image of the linux distribution.

# mount /dev/md0 /mnt/FedoraISO
# cd /mnt/FedoraISO
# for rpm in *.rmp
 do
 rpm --ignore-os -i --root-install /compat/linux ${rpm}
 done

After these commands I had my problem with ldconfig and the linux 
emulation.


Now the strangest thing: my /etc/libmap.conf file disappeared.

* I didn't have to install any rpms ?
* I was sleeping and issued rm libmap.conf ?
* someone logged into my system hacking my password by ssh ?
-- I will check my logs

I don't know.

However, my libmap.conf was missing.
I tried to adjust it by hand, but I'm not that expert, and everything I 
do about it

is useless.

Can anyone of you post me his own libmap.conf file with basic linux 
emulation ?


I'm running FreeBSD 6.2 , GENERIC,
the linux base installed system is Fedora Core 4.

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


Re: fbsd 6.2 pf starts -- but not on boot

2007-06-05 Thread snowcrash+freebsd

hi,


Hello, it's your niggly proofreader


:-D


(and fellow Stephenson fan)


!!


If you really have that blank line before 'add default HISADDR' above,
then it marks the end of your default section.  The 'add default' and
the two lines following will not be executed.

I expect you'll want the 'add default' line as the last in your ppp1:
section anyway; the other two could go in either, but I'd opt for the
default block myself.


i had not realized that blank lines were 'read for real'.  it's now
been removed ...

and i've moved the 'add default' to the connection ...


I'm again unsure whether it's related to your pf problem, rusted-on ipfw
here, but my connections tend to work better with a default route ..


recently converted to pf, and been pretty pleased/impressed with it so
far.  a few gotchas, mainly due to not (yet) having read the /right/
man page, bu i'm makin progress!

now, to clean up a bit more, and see if all's better ...

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


Re: How to solve mysterious system lockups?

2007-06-05 Thread youshi10

On Tue, 5 Jun 2007, N. Harrington wrote:



--- Garrett Cooper [EMAIL PROTECTED] wrote:


N. Harrington wrote:

--- Garrett Cooper [EMAIL PROTECTED]

wrote:




N. Harrington wrote:


Hello
  I have several systems that are used as squid
caching servers. I have some systems that use

SCSI

disks and some  that use SATA disks. They are
identical in everyway except for the sata vs

SCSI

drives.

 At random times, the sata based systems seem to


be


freezing. You can ping them and they respond,

but



you


cannot log in. Nor are any logs processed during


that


time.

 I figure it mist be something to do with the


disks,


but I am not sure how to solve it. There seems

to



be


little rhyme or reason. It does not happen


necessarily


during busy times. It can happen in the middle

of



the


night.

 Any pointers in how to track down the cause

would



be


much appreciated.

 Tyan S2881 Motherboard - 4gigs mem
 Using 4 SATA (or scsi) drives
 FreeBSD amd64 6.2-STABLE.

 Thanks!

  Nicole



Nicole,
What's the driver in use for the SATA and the
SCSI drives?
-Garrett



 Hi Garret
 Here is the driver info.

-- SATA

atapci0: SiI 3114 SATA150 controller port




0xbc00-0xbc07,0xb400-0xb403,0xb000-0xb007,0xac00-0xac03,0xa800-0xa80f


mem
0xfeafec00-0xfeafefff irq 17 at device 5.0 on pci3
ata2: ATA channel 0 on atapci0
ata3: ATA channel 1 on atapci0
ata4: ATA channel 2 on atapci0
ata5: ATA channel 3 on atapci0
pci3: display, VGA at device 6.0 (no driver
attached)
isab0: PCI-ISA bridge at device 7.0 on pci0
isa0: ISA bus on isab0
atapci1: AMD 8111 UDMA133 controller port
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xffa0-0xffaf

at

device 7.1 on pci0
ata0: ATA channel 0 on atapci1
ata1: ATA channel 1 on atapci1
pci0: serial bus, SMBus at device 7.2 (no driver
attached)
pci0: bridge at device 7.3 (no driver attached)
pcib2: ACPI PCI-PCI bridge at device 10.0 on

pci0

pci2: ACPI PCI bus on pcib2

-- SCSI

ahd0: Adaptec AIC7902 Ultra320 SCSI adapter port



0x8000-0x80ff,0x7800-0x78ff
mem 0xfc89c000-0xfc89dfff irq 24 at device 10.0 on
pci2
ahd0: [GIANT-LOCKED]
aic7902: Ultra320 Wide Channel A, SCSI Id=7, PCI-X
67-100Mhz, 512 SCBs
ahd1: Adaptec AIC7902 Ultra320 SCSI adapter port



0x8800-0x88ff,0x8400-0x84ff
mem 0xfc89e000-0xfc89 irq 25 at device 10.1 on
pci2
ahd1: [GIANT-LOCKED]
aic7902: Ultra320 Wide Channel B, SCSI Id=7, PCI-X
67-100Mhz, 512 SCBs
pci0: base peripheral, interrupt controller at
device 10.1 (no driver attached)
pcib3: ACPI PCI-PCI bridge at device 11.0 on

pci0

pci1: ACPI PCI bus on pcib3
pci0: base peripheral, interrupt controller at
device 11.1 (no driver attached)



 Thanks!

  Nicole

Ok, so it's an AMD 8111 northbridge versus an
Adaptec onboard SCSI
controller.

1. What release / version of FreeBSD are you using?
You should upgrade
to 6.2 STABLE because there have been a variety of
issues worked out in previous releases.


I have a range of Versions from 6.1-Pre to 6.2-STABLE
as of a few months ago.


2. Do you have any logs for activity during the
hours when it locks up
(in particular anything interesting / fishy popping
up)?


Nope. That would make it too easy :)
They commit suicide without a note.


3. What scheduler are you using? 4BSD, ULE?


4BSD


4. Does your machine (using the SATA controllers)
lock up under heavy
load? If so, you may have a northbridge cooling
issue that you need to
put a fan on. For instance, the motherboard that I
was using for a while
(ASUS P5N-E SLI) was really close to my CPU
heatsink, and there was a
lot of heat transfer between my northbridge and CPU
heatsink, which was
raising the onboard temperatures 5~10 degrees C. The
new motherboard
(ASUS P5B DLX) doesn't do that though.


The lockups seem rather random. I have healthd
running and they never seem to show very warm. The
room is cold and the servers have great fans. Altho
healthd can seem wonky as the cpu temp has actually
gone below the minimum. Also the -2Volt line seems
very low. But some servers runs forever that way.

At least with SCSI, since it seems to manage itself
as another layer away from the system, you get some
error messages. Sort of like windows 3.1 dropping to
dos. Verses sata issues where it's just blue screen of
death but without even some debugging code.

I am going to try the patch chuck Swiger sent me and
see how that effects things. Also try a few
replacement sata cards. Altho that is always fun
especially in 1U servers. As well as seeing if using
SAS drives may help if I can find some cheap enough.
Do you think that using the ULE scheduler could
really help?


Don't try it in 6.x. It's not stable by any means.

7-CURRENT's getting a lot closer though, especially as of late (past week)..

-Garrett

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


Re: rdesktop: segmentation fault under xorg 7.2

2007-06-05 Thread youshi10

On Tue, 5 Jun 2007, Jan Henrik Sylvester wrote:


For me, rdesktop works -- I have all my ports upgraded...


ldd `which rdesktop` says?

-Garrett

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


Re: fbsd 6.2 pf starts -- but not on boot

2007-06-05 Thread snowcrash+freebsd

well, per Ian's catch/suggestion, removing the 'blank line' from my
ppp.conf, and moving,

  add default HISADDR

to the ppp1: connection stanza seems to have done the trick!  pf
loads properly on reboot.

swithc it back, and it does not.

so, guessing, it's the lack of a default root as a result of the blank line.

the gotcha here was that, according to my notes, i *HAD*
checked/ensure that  my default routes were correctly initialized
(with netstat -nr), but, apparently, BEFORE i'd naively/mistakenly
added that blank line.

woohoo!

and, thanks all for the add'l comments -- good pointers on anchors and
pf operation in general.  archiving this thread! :-)

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


Re: See output of local xterm session on remote ssh session.

2007-06-05 Thread youshi10

On Tue, 5 Jun 2007, Tek Bahadur Limbu wrote:


Pieter de Goeje wrote:

On Saturday 02 June 2007, Jeremy Gransden wrote:

Hello,

I have been searching Google for a few days for this but have not been
coming up with the correct answer. Then again maybe I am asking the wrong
question... If I start a process, i.e. compile a kernel, on my desktop, 
how

can I then connect to it from my laptop and see the output of that process
via the ssh session?

thanks,
Jeremy
screen(1) is the tool for this. You can find it in the ports collection 
(sysutils/screen).


For example:
$ screen
$ cd /usr/src; sudo make buildworld
(now press CTRL+A D)

On the other machine, ssh into the desktop
$ screen -r
(press CTRL+A D if you've seen enough)

Also, this will protect the running job from accidental (or purposefully) 
closure of the terminal.


Wow, always thought of learning how to learn this magic. Thanks for sharing 
this wonderful tip!



Thanking you...

FreeBSD Rocks!



HTH,
Pieter de Goeje


Don't forget to run screen -wipe from time to time to get rid of leftover 
screen sockets though. Doesn't happen often, but if screen dies or the machine 
reboots spontaneously, this will happen..
-Garrett

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


Re: Failed to load module pcidata

2007-06-05 Thread Paul Schmehl
--On Tuesday, June 05, 2007 18:25:42 -0400 Gerard [EMAIL PROTECTED] 
wrote:



I believe this problem has been reported recently; however, I am unable
to locate it.

I just finished updating to 'Xorg-7.2'. I followed the directions in the
UPDATING file to the letter (I think). Now when I attempt to run
'startx', this error message is displayed.

X Window System Version 7.2.0
Release Date: 22 January 2007
X Protocol Version 11, Revision 0, Release 7.2
Build Operating System: FreeBSD 6.2-RELEASE-p5 i386 Current Operating
System: FreeBSD scorpio.seibercom.net 6.2-RELEASE-p5 FreeBSD
6.2-RELEASE-p5 #0: Thu May 24 12:27:57 EDT 2007
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/SCORPIO i386
Build Date: 01 June 2007
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: /var/log/Xorg.0.log, Time: Tue Jun  5 18:16:09 2007
(==) Using config file: /etc/X11/xorg.conf
(EE) Failed to load module pcidata (module does not exist, 0)

Fatal server error:
Unable to load required base modules, Exiting...

X connection to :0.0 broken (explicit kill or server shutdown).


* This is the contents of the /var/log/Xorg.0.log *

log start

X Window System Version 7.2.0
Release Date: 22 January 2007
X Protocol Version 11, Revision 0, Release 7.2
Build Operating System: FreeBSD 6.2-RELEASE-p5 i386 Current Operating
System: FreeBSD scorpio.seibercom.net 6.2-RELEASE-p5 FreeBSD
6.2-RELEASE-p5 #0: Thu May 24 12:27:57 EDT 2007
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/SCORPIO i386
Build Date: 01 June 2007
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: /var/log/Xorg.0.log, Time: Tue Jun  5 18:16:09 2007
(==) Using config file: /etc/X11/xorg.conf
(==) ServerLayout X.org Configured
(**) |--Screen Screen0 (0)
(**) |   |--Monitor Monitor0
(**) |   |--Device Card0
(**) |--Input Device Mouse0
(**) |--Input Device Keyboard0
(WW) The directory /usr/X11R6/lib/X11/fonts/misc/ does not exist.
Entry deleted from font path.
(WW) The directory /usr/X11R6/lib/X11/fonts/TTF/ does not exist.
Entry deleted from font path.
(WW) The directory /usr/X11R6/lib/X11/fonts/Type1/ does not exist.
Entry deleted from font path.
(WW) The directory /usr/X11R6/lib/X11/fonts/CID/ does not exist.
Entry deleted from font path.
(WW) The directory /usr/X11R6/lib/X11/fonts/75dpi/ does not exist.
Entry deleted from font path.
(WW) The directory /usr/X11R6/lib/X11/fonts/100dpi/ does not exist.
Entry deleted from font path.
(WW) The directory /usr/X11R6/lib/X11/fonts/webfonts/ does not exist.
Entry deleted from font path.
(WW) The directory /usr/X11R6/lib/X11/fonts/TTF does not exist.
Entry deleted from font path.
(WW) The directory /usr/X11R6/lib/X11/fonts/URW does not exist.
Entry deleted from font path.
(WW) The directory /usr/X11R6/lib/X11/fonts/urwfonts-ttf does not exist.
Entry deleted from font path.
(**) FontPath set to:
/usr/local/share/ghostscript/fonts/
(**) RgbPath set to /usr/X11R6/lib/X11/rgb
(**) ModulePath set to /usr/X11R6/lib/modules
(II) Loader magic: 0x81c0280
(II) Module ABI versions:
X.Org ANSI C Emulation: 0.3
X.Org Video Driver: 1.1
X.Org XInput driver : 0.7
X.Org Server Extension : 0.3
X.Org Font Renderer : 0.5
(II) Loader running on freebsd
(II) LoadModule: pcidata
(WW) Warning, couldn't open module pcidata
(II) UnloadModule: pcidata
(EE) Failed to load module pcidata (module does not exist, 0)

Fatal server error:
Unable to load required base modules, Exiting...

log end

What is the best way to remedy this problem?


Install the xorg metaport: /usr/ports/x11/xorg/

--
Paul Schmehl ([EMAIL PROTECTED])
Senior Information Security Analyst
The University of Texas at Dallas
http://www.utdallas.edu/ir/security/


Re: Problems installing asterisk-addons over FreeBSD 6.2?

2007-06-05 Thread youshi10

On Tue, 5 Jun 2007, perikillo wrote:


Hi people.

 Im trying to setup my first PBX system with asterisk from ports, my ports
are updated, i install asterisk 1.4.4, gastaman, zaptel driver, but went i
try to install asterisk-addons i receive this error:

asteriskbsd# make install clean
===  Vulnerability check disabled, database not found
===  Extracting for asterisk-addons-1.2.3_1
= MD5 Checksum OK for asterisk-addons-1.2.3.tar.gz.
= SHA256 Checksum OK for asterisk-addons-1.2.3.tar.gz.
===  Patching for asterisk-addons-1.2.3_1
===  Applying FreeBSD patches for asterisk-addons-1.2.3_1
===   asterisk-addons-1.2.3_1 depends on executable in : asterisk - found
===   asterisk-addons-1.2.3_1 depends on executable in : gmake - found
===   asterisk-addons-1.2.3_1 depends on shared library: mysqlclient.15 -
found
===  Configuring for asterisk-addons-1.2.3_1
===  Building for asterisk-addons-1.2.3_1
./mkdep -O -pipe -march=pentium4 -fPIC -I/usr/local/include -D_GNU_SOURCE
-I/usr/local/include/mysql  `ls *.c`
gmake -C format_mp3 all
gmake[1]: Entering directory `/usr/ports/net/asterisk-addons/work/asterisk-
addons-1.2.3/format_mp3'
gcc -pipe -fPIC -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations  -I/usr/local/include -D_REENTRANT -D_GNU_SOURCE
-D_THREAD_SAFE  -O6-c -o common.o common.c
gcc -pipe -fPIC -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations  -I/usr/local/include -D_REENTRANT -D_GNU_SOURCE
-D_THREAD_SAFE  -O6-c -o dct64_i386.o dct64_i386.c
gcc -pipe -fPIC -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations  -I/usr/local/include -D_REENTRANT -D_GNU_SOURCE
-D_THREAD_SAFE  -O6-c -o decode_ntom.o decode_ntom.c
gcc -pipe -fPIC -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations  -I/usr/local/include -D_REENTRANT -D_GNU_SOURCE
-D_THREAD_SAFE  -O6-c -o layer3.o layer3.c
gcc -pipe -fPIC -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations  -I/usr/local/include -D_REENTRANT -D_GNU_SOURCE
-D_THREAD_SAFE  -O6-c -o tabinit.o tabinit.c
gcc -pipe -fPIC -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations  -I/usr/local/include -D_REENTRANT -D_GNU_SOURCE
-D_THREAD_SAFE  -O6-c -o interface.o interface.c
gcc -pipe -fPIC -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations  -I/usr/local/include -D_REENTRANT -D_GNU_SOURCE
-D_THREAD_SAFE  -O6-c -o format_mp3.o format_mp3.c
format_mp3.c:46: error: redefinition of `struct ast_filestream'
format_mp3.c:325: warning: function declaration isn't a prototype
format_mp3.c:336:25: macro ast_format_register passed 12 arguments, but
takes just 1
format_mp3.c: In function `load_module':
format_mp3.c:327: error: `ast_format_register' undeclared (first use in this
function)
format_mp3.c:327: error: (Each undeclared identifier is reported only once
format_mp3.c:327: error: for each function it appears in.)
format_mp3.c: At top level:
format_mp3.c:342: warning: function declaration isn't a prototype
format_mp3.c:347: warning: function declaration isn't a prototype
format_mp3.c:359: warning: function declaration isn't a prototype
format_mp3.c:365: warning: function declaration isn't a prototype
format_mp3.c:76: warning: 'exts' defined but not used
format_mp3.c:107: warning: 'mp3_open' defined but not used
format_mp3.c:135: warning: 'mp3_close' defined but not used
format_mp3.c:219: warning: 'mp3_read' defined but not used
format_mp3.c:267: warning: 'mp3_write' defined but not used
format_mp3.c:275: warning: 'mp3_seek' defined but not used
format_mp3.c:302: warning: 'mp3_rewrite' defined but not used
format_mp3.c:308: warning: 'mp3_trunc' defined but not used
format_mp3.c:315: warning: 'mp3_tell' defined but not used
format_mp3.c:320: warning: 'mp3_getcomment' defined but not used
gmake[1]: *** [format_mp3.o] Error 1
gmake[1]: Leaving directory `/usr/ports/net/asterisk-addons/work/asterisk-
addons-1.2.3/format_mp3'
gmake: *** [format_mp3/format_mp3.so] Error 2
*** Error code 2

I want to test FreePBX to, but i need this port.

Some knows how to fix this error?

Thanks all for your time!!!


You should talk to the port maintainer about this.

-Garrett

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


Re: Failed to load module pcidata

2007-06-05 Thread youshi10

On Tue, 5 Jun 2007, Paul Schmehl wrote:


--On Tuesday, June 05, 2007 18:25:42 -0400 Gerard [EMAIL PROTECTED] wrote:


I believe this problem has been reported recently; however, I am unable
to locate it.

I just finished updating to 'Xorg-7.2'. I followed the directions in the
UPDATING file to the letter (I think). Now when I attempt to run
'startx', this error message is displayed.

X Window System Version 7.2.0
Release Date: 22 January 2007
X Protocol Version 11, Revision 0, Release 7.2
Build Operating System: FreeBSD 6.2-RELEASE-p5 i386 Current Operating
System: FreeBSD scorpio.seibercom.net 6.2-RELEASE-p5 FreeBSD
6.2-RELEASE-p5 #0: Thu May 24 12:27:57 EDT 2007
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/SCORPIO i386
Build Date: 01 June 2007
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: /var/log/Xorg.0.log, Time: Tue Jun  5 18:16:09 2007
(==) Using config file: /etc/X11/xorg.conf
(EE) Failed to load module pcidata (module does not exist, 0)

Fatal server error:
Unable to load required base modules, Exiting...

X connection to :0.0 broken (explicit kill or server shutdown).


* This is the contents of the /var/log/Xorg.0.log *

log start

X Window System Version 7.2.0
Release Date: 22 January 2007
X Protocol Version 11, Revision 0, Release 7.2
Build Operating System: FreeBSD 6.2-RELEASE-p5 i386 Current Operating
System: FreeBSD scorpio.seibercom.net 6.2-RELEASE-p5 FreeBSD
6.2-RELEASE-p5 #0: Thu May 24 12:27:57 EDT 2007
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/SCORPIO i386
Build Date: 01 June 2007
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: /var/log/Xorg.0.log, Time: Tue Jun  5 18:16:09 2007
(==) Using config file: /etc/X11/xorg.conf
(==) ServerLayout X.org Configured
(**) |--Screen Screen0 (0)
(**) |   |--Monitor Monitor0
(**) |   |--Device Card0
(**) |--Input Device Mouse0
(**) |--Input Device Keyboard0
(WW) The directory /usr/X11R6/lib/X11/fonts/misc/ does not exist.
Entry deleted from font path.
(WW) The directory /usr/X11R6/lib/X11/fonts/TTF/ does not exist.
Entry deleted from font path.
(WW) The directory /usr/X11R6/lib/X11/fonts/Type1/ does not exist.
Entry deleted from font path.
(WW) The directory /usr/X11R6/lib/X11/fonts/CID/ does not exist.
Entry deleted from font path.
(WW) The directory /usr/X11R6/lib/X11/fonts/75dpi/ does not exist.
Entry deleted from font path.
(WW) The directory /usr/X11R6/lib/X11/fonts/100dpi/ does not exist.
Entry deleted from font path.
(WW) The directory /usr/X11R6/lib/X11/fonts/webfonts/ does not exist.
Entry deleted from font path.
(WW) The directory /usr/X11R6/lib/X11/fonts/TTF does not exist.
Entry deleted from font path.
(WW) The directory /usr/X11R6/lib/X11/fonts/URW does not exist.
Entry deleted from font path.
(WW) The directory /usr/X11R6/lib/X11/fonts/urwfonts-ttf does not exist.
Entry deleted from font path.
(**) FontPath set to:
/usr/local/share/ghostscript/fonts/
(**) RgbPath set to /usr/X11R6/lib/X11/rgb
(**) ModulePath set to /usr/X11R6/lib/modules
(II) Loader magic: 0x81c0280
(II) Module ABI versions:
X.Org ANSI C Emulation: 0.3
X.Org Video Driver: 1.1
X.Org XInput driver : 0.7
X.Org Server Extension : 0.3
X.Org Font Renderer : 0.5
(II) Loader running on freebsd
(II) LoadModule: pcidata
(WW) Warning, couldn't open module pcidata
(II) UnloadModule: pcidata
(EE) Failed to load module pcidata (module does not exist, 0)

Fatal server error:
Unable to load required base modules, Exiting...

log end

What is the best way to remedy this problem?


Install the xorg metaport: /usr/ports/x11/xorg/

--
Paul Schmehl ([EMAIL PROTECTED])
Senior Information Security Analyst
The University of Texas at Dallas
http://www.utdallas.edu/ir/security/



Just do some hunting around the ports tree and search for something like 
'pcidata' in the x11* folders.

Everything's modular now, so to avoid having a large X11 distro laying around, 
it's just better to build the necessary components. Besides, compiling x11/xorg 
will take more time and will be slower with 7.2 than with 6.8 (unless major 
performance enhancements were made between then and now), because of the shared 
lib loading and compiling / installing the components one by one..

The only catch is that it will take a little bit of time to find components if 
stuff is missing, but 

Re: Failed to load module pcidata

2007-06-05 Thread Gerard
On Tuesday June 05, 2007 at 06:46:27 (PM) Paul Schmehl wrote:

{snip}

 Install the xorg metaport: /usr/ports/x11/xorg/

Strange, I had the Xorg-6.9 meta port installed when I did the
original update. Oh well, I will try your suggest. Thanks!

-- 
Gerard


I choose to ignore, of course, the fact that self-Googling is perhaps
the most narcissistic thing a person can do that doesn't involve
actually humping a mirror.

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


Re: Security Run Output Setuid Differences

2007-06-05 Thread Peter Pluta



Roland Smith wrote:
 
 On Mon, May 21, 2007 at 11:59:33AM -0700, PeterPluta wrote:
 snip
  Looks like you were portupgrading around with postfix, screen and
 xterm.
  
  The output is diff(1).  See the man page for details, but it's
 basically
  showing you the difference between last night's directory listing, and
  that
  of the previous day.
  
  For more gory details, see the scripts in /etc/periodic/security, which
  are
  run every night from cron.  Some of the ports you changed resulted in
  changes to setuid/setgid programs installed on the system.  As a
 security-
  concious administrator, you should be interested in the programs on
 your
  system that have elevated privilidges, so this script is provided to
 give
  you a daily report on that.
 
 I see, so basically after reinstalling the default uid/gid of some
 programs
 changed? Is that a problem or anything? 
 
 It's not a problem. It's just something that you should be aware of from
 a security standpoint.
 
 In this case you caused it because you upgraded some ports, which is OK.
 
 But if the size, date, ownership or permissions of a binary change
 without any apparent cause, it _could_ be the work of an intruder or
 rootkit trying to backdoor your system. That's why the system checks it.
 
 In /etc/defaults/periodic.conf you see which settings there are
 concerning security, and what the defaults are. If you want to disable
 some of them, put the settings in /etc/periodic.conf with a NO value
 instead of YES. But I would recommend to leave them as they are.
 
 Roland
 -- 
 R.F.Smith   http://www.xs4all.nl/~rsmith/
 [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
 pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)
 
  
 

mail.***.net setuid diffs:
--- /var/log/setuid.today   Mon May 21 03:02:30 2007
+++ /tmp/security.wq6BsVcr  Sun Jun  3 03:01:48 2007
@@ -20,7 +20,7 @@
 377398 -r-sr-xr-x  2 root  wheel  5828 Jul 30 16:19:57 2006
/usr/bin/yppasswd
 71112 -rwsr-xr-x  1 root  wheel 285580 May 20 18:23:48 2007
/usr/local/bin/screen
 70971 -rwxr-sr-x  1 root  kmem  112708 May 20 18:23:03 2007
/usr/local/sbin/lsof
-73170 -rwxr-sr-x  1 root  maildrop  142559 May 17 14:41:47 2007
/usr/local/sbin/postdrop
-73204 -rwxr-sr-x  1 root  maildrop  152477 May 17 14:41:47 2007
/usr/local/sbin/postqueue
+71432 -rwxr-sr-x  1 root  maildrop  142559 Jun  2 15:47:54 2007
/usr/local/sbin/postdrop
+71433 -rwxr-sr-x  1 root  maildrop  152477 Jun  2 15:47:54 2007
/usr/local/sbin/postqueue
 923168 -rwxr-sr-x  1 root  smmsp   5236 Jul 30 16:20:07 2006
/usr/sbin/mailwrapper
 923264 -r-sr-x---  1 root  network11636 Jul 30 16:20:07 2006
/usr/sbin/sliplogin

I have some more, I'm starting to understand it a bit better. Basically the
user:group id number has changed and the security run is letting me know.
Good deal, but im still confused as to what the @@ -20,7 + 20,7 @@ and + -
mean. Can anyone explain those? I'm curious, also why would yppasswd change
to userid 2? I changed roots name yesterday, could that be the cause of it?
-- 
View this message in context: 
http://www.nabble.com/Security-Run-Output-Setuid-Differences-tf3792025.html#a10979516
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: fbsd 6.2 pf starts -- but not on boot

2007-06-05 Thread RW
On Tue, 05 Jun 2007 21:59:13 +0200
Volker [EMAIL PROTECTED] wrote:

 Hi snow,

  aha. does that suggest that i'm simply not waiting long enough?
  your following comments suggest otherwise, iiuc, that i need to
  proactively _do_ something different ...
 
 It's not _you_ aren't waiting too long. It's at the time pf is being
 loaded, the interface pf want's to filter on does not yet exist. See
 it as a wrong load order.

Have you any particular reason to think that this is really a problem?
Given that /etc/rc.d/ppp automatically reloads the pf rules after the
tun device is created.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problems installing asterisk-addons over FreeBSD 6.2?

2007-06-05 Thread perikillo

On 6/5/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:


On Tue, 5 Jun 2007, perikillo wrote:

 Hi people.

  Im trying to setup my first PBX system with asterisk from ports, my
ports
 are updated, i install asterisk 1.4.4, gastaman, zaptel driver, but went
i
 try to install asterisk-addons i receive this error:

 asteriskbsd# make install clean
 ===  Vulnerability check disabled, database not found
 ===  Extracting for asterisk-addons-1.2.3_1
 = MD5 Checksum OK for asterisk-addons-1.2.3.tar.gz.
 = SHA256 Checksum OK for asterisk-addons-1.2.3.tar.gz.
 ===  Patching for asterisk-addons-1.2.3_1
 ===  Applying FreeBSD patches for asterisk-addons-1.2.3_1
 ===   asterisk-addons-1.2.3_1 depends on executable in : asterisk -
found
 ===   asterisk-addons-1.2.3_1 depends on executable in : gmake - found
 ===   asterisk-addons-1.2.3_1 depends on shared library: mysqlclient.15-
 found
 ===  Configuring for asterisk-addons-1.2.3_1
 ===  Building for asterisk-addons-1.2.3_1
 ./mkdep -O -pipe -march=pentium4 -fPIC -I/usr/local/include
-D_GNU_SOURCE
 -I/usr/local/include/mysql  `ls *.c`
 gmake -C format_mp3 all
 gmake[1]: Entering directory
`/usr/ports/net/asterisk-addons/work/asterisk-
 addons-1.2.3/format_mp3'
 gcc -pipe -fPIC -Wall -Wstrict-prototypes -Wmissing-prototypes
 -Wmissing-declarations  -I/usr/local/include -D_REENTRANT -D_GNU_SOURCE
 -D_THREAD_SAFE  -O6-c -o common.o common.c
 gcc -pipe -fPIC -Wall -Wstrict-prototypes -Wmissing-prototypes
 -Wmissing-declarations  -I/usr/local/include -D_REENTRANT -D_GNU_SOURCE
 -D_THREAD_SAFE  -O6-c -o dct64_i386.o dct64_i386.c
 gcc -pipe -fPIC -Wall -Wstrict-prototypes -Wmissing-prototypes
 -Wmissing-declarations  -I/usr/local/include -D_REENTRANT -D_GNU_SOURCE
 -D_THREAD_SAFE  -O6-c -o decode_ntom.o decode_ntom.c
 gcc -pipe -fPIC -Wall -Wstrict-prototypes -Wmissing-prototypes
 -Wmissing-declarations  -I/usr/local/include -D_REENTRANT -D_GNU_SOURCE
 -D_THREAD_SAFE  -O6-c -o layer3.o layer3.c
 gcc -pipe -fPIC -Wall -Wstrict-prototypes -Wmissing-prototypes
 -Wmissing-declarations  -I/usr/local/include -D_REENTRANT -D_GNU_SOURCE
 -D_THREAD_SAFE  -O6-c -o tabinit.o tabinit.c
 gcc -pipe -fPIC -Wall -Wstrict-prototypes -Wmissing-prototypes
 -Wmissing-declarations  -I/usr/local/include -D_REENTRANT -D_GNU_SOURCE
 -D_THREAD_SAFE  -O6-c -o interface.o interface.c
 gcc -pipe -fPIC -Wall -Wstrict-prototypes -Wmissing-prototypes
 -Wmissing-declarations  -I/usr/local/include -D_REENTRANT -D_GNU_SOURCE
 -D_THREAD_SAFE  -O6-c -o format_mp3.o format_mp3.c
 format_mp3.c:46: error: redefinition of `struct ast_filestream'
 format_mp3.c:325: warning: function declaration isn't a prototype
 format_mp3.c:336:25: macro ast_format_register passed 12 arguments,
but
 takes just 1
 format_mp3.c: In function `load_module':
 format_mp3.c:327: error: `ast_format_register' undeclared (first use in
this
 function)
 format_mp3.c:327: error: (Each undeclared identifier is reported only
once
 format_mp3.c:327: error: for each function it appears in.)
 format_mp3.c: At top level:
 format_mp3.c:342: warning: function declaration isn't a prototype
 format_mp3.c:347: warning: function declaration isn't a prototype
 format_mp3.c:359: warning: function declaration isn't a prototype
 format_mp3.c:365: warning: function declaration isn't a prototype
 format_mp3.c:76: warning: 'exts' defined but not used
 format_mp3.c:107: warning: 'mp3_open' defined but not used
 format_mp3.c:135: warning: 'mp3_close' defined but not used
 format_mp3.c:219: warning: 'mp3_read' defined but not used
 format_mp3.c:267: warning: 'mp3_write' defined but not used
 format_mp3.c:275: warning: 'mp3_seek' defined but not used
 format_mp3.c:302: warning: 'mp3_rewrite' defined but not used
 format_mp3.c:308: warning: 'mp3_trunc' defined but not used
 format_mp3.c:315: warning: 'mp3_tell' defined but not used
 format_mp3.c:320: warning: 'mp3_getcomment' defined but not used
 gmake[1]: *** [format_mp3.o] Error 1
 gmake[1]: Leaving directory
`/usr/ports/net/asterisk-addons/work/asterisk-
 addons-1.2.3/format_mp3'
 gmake: *** [format_mp3/format_mp3.so] Error 2
 *** Error code 2

 I want to test FreePBX to, but i need this port.

 Some knows how to fix this error?

 Thanks all for your time!!!

You should talk to the port maintainer about this.

-Garrett





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


Re: The worst error message in history belongs to... BIND9!

2007-06-05 Thread Jeffrey Goldberg

On Jun 5, 2007, at 4:39 PM, Eduardo Morras wrote:


At 14:38 31/05/2007, Robert Huff wrote:


=?iso-8859-1?Q?Kyrre_Nyg=E5rd?= writes:

  It has to be the worst written error message in history.

Not even close.  I commend to you the Amiga's BSOD:

  Software Guru
Meditation Number
   very long string of hex digits


And the  Need 0KB more memory to manage memory  from MacOS system7?


I still remember as a newcomer to  Unix a long long time ago getting

  Bad magic number

In retrospect, I suspect that I'd typed ld where I'd meant to type  
ls.


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


USB optical mouse issue in x

2007-06-05 Thread Dave

Hello,
   I've got a 6.2 box with xorg running on it and gnome2. My problem is the 
mouse, it's a usb optical job, and moving it in gnome moves the mouse on the 
screen, but the buttons don't work. I know this is a working mouse, any 
suggestions? I've got moused running if that helps.

Thanks.
Dave.

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


Attn Keven O. (or J. Mezz)

2007-06-05 Thread Gary Kline

well, i checked /usr/tmp and NO mergebase.  unless BACKUPDIR is
/bin/rm'd at end/script, that may be the cause of this mess. 
Kevin, i'lll wait till i hear back before i run the mergebase.sh.
( don't want to see smoke coming out of the dell )

but do you know if i abs MUST edit back thins to where they were
before i waiped X11R6 OUt of everywhere in /etc?  ---i cleaned
out X11R6 from evryplace i could find it.   mostly $path
settings, but i'm not 100%.

thanks tons,

gary

ps: btw, /usr/X11R6 is mostly empty now.



-- 
  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: problem compiling xorg 7.2

2007-06-05 Thread Norberto Meijome
On Tue, 5 Jun 2007 10:57:53 -0300
Anton Galitch [EMAIL PROTECTED] wrote:

 I had xorg 6.9 installed, after trying to upgrade it with portupgrade I
 deinstalled it and now want to install it from scratch.
 My portmanager program works strange thats why I cant install it usin
 /usr/ports/UPDATING.
 Do you know any other way of installing it using another tools??

no, use portupgrade as per the UPDATING doc, even if it is,effectively, a 'new' 
install 

_
{Beto|Norberto|Numard} Meijome

Produce great people, the rest will follow.
  Elbert Hubbard

I speak for myself, not my employer. Contents may be hot. Slippery when wet. 
Reading disclaimers makes you go blind. Writing them is worse. You have been 
Warned.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Making a new libmap.conf for linux emulation

2007-06-05 Thread Norberto Meijome
On Wed, 06 Jun 2007 00:28:54 +0200
Sereno Ternullo [EMAIL PROTECTED] wrote:

 From: Sereno Ternullo [EMAIL PROTECTED]
 To: Norberto Meijome [EMAIL PROTECTED]
 CC: freebsd-questions@freebsd.org
 Subject: Re: Making a new libmap.conf for linux emulation
 Date: Wed, 06 Jun 2007 00:28:54 +0200
 User-Agent: Mozilla Thunderbird 1.5.0.12 (Macintosh/20070509)
 
 Norberto Meijome ha scritto:
  On Tue, 5 Jun 2007 00:54:32 +0200
  Sereno Ternullo [EMAIL PROTECTED] wrote:
 
  
  Hi all, 
  I made too many mistakes configuring my /etc/libmap.conf file and now 
  I'm having problems with my linux sub system.

 
  why do you think you have to do that for? 
  
 
 I'm slowing understanding the source of my disaster.
 Watching to my /compat/linux/ dir, and recognizing it as a Fedora Core 4 
 base system,
 I had the insane idea of installing an entire Fedora core 4 system by 
 unpacking all the RMPs
 found on the first ISO image of the linux distribution.

hmm not necessarily the way to go (restraining myself from saying
'definitely bad bad bad')... have you seen all the linux-* ports in /usr/ports?

(and do you REALLY need ALL of the rpms in FC4? )

 
 # mount /dev/md0 /mnt/FedoraISO
 # cd /mnt/FedoraISO
 # for rpm in *.rmp
   do
   rpm --ignore-os -i --root-install /compat/linux ${rpm}
   done  
 
 After these commands I had my problem with ldconfig and the linux 
 emulation.

hmm i dont like it :)

 
 Now the strangest thing: my /etc/libmap.conf file disappeared.
 
 * I didn't have to install any rpms ?
 * I was sleeping and issued rm libmap.conf ?
 * someone logged into my system hacking my password by ssh ?
 -- I will check my logs  

Ockam's razor says you simply stuffed up the system so much it's beyond
recognition.
I suggest reading the FBSD Handbook, including the section about linux
compatibility (and believe the handbook, that is all you have to do to have it
working!), then give this computer another chance by reinstalling.

 
 I don't know.
 
 However, my libmap.conf was missing.
 I tried to adjust it by hand, but I'm not that expert, and everything I 
 do about it
 is useless.
 
 Can anyone of you post me his own libmap.conf file with basic linux 
 emulation ?

I'll say it again - there is NO need to touch libmap.conf when setting up
your run of the mill linux compat. you may *have* to in some cases, but I
haven't had to yet in several years of using linux compat.

 
 I'm running FreeBSD 6.2 , GENERIC,
 the linux base installed system is Fedora Core 4.

you need to install from emulators/linux_base- pick your own. 

Wipe the machine and start again :) that's how we all learnt ;)

good luck!
_
{Beto|Norberto|Numard} Meijome

I used to hate weddings; all the Grandmas would poke me and
say, You're next sonny! They stopped doing that when i
started to do it to them at funerals.

I speak for myself, not my employer. Contents may be hot. Slippery when wet.
Reading disclaimers makes you go blind. Writing them is worse. You have been
Warned.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: problem compiling xorg 7.2

2007-06-05 Thread Garrett Cooper

Norberto Meijome wrote:

On Tue, 5 Jun 2007 10:57:53 -0300
Anton Galitch [EMAIL PROTECTED] wrote:

  

I had xorg 6.9 installed, after trying to upgrade it with portupgrade I
deinstalled it and now want to install it from scratch.
My portmanager program works strange thats why I cant install it usin
/usr/ports/UPDATING.
Do you know any other way of installing it using another tools??



no, use portupgrade as per the UPDATING doc, even if it is,effectively, a 'new' install 


_
{Beto|Norberto|Numard} Meijome

Produce great people, the rest will follow.
  Elbert Hubbard

I speak for myself, not my employer. Contents may be hot. Slippery when wet. 
Reading disclaimers makes you go blind. Writing them is worse. You have been 
Warned.
  
   If it's a clean install of X11 / complete system, you can get away 
with doing the standard make install in the ports directories you want. 
The only thing that you need to do is export / setenv XORG_UPGRADE=yes 
like UPDATING states.
   For upgrades, yeah stick with a supported tool (currently only 
portupgrade-devel and portmaster I believe).

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


Re: Failed to load module pcidata

2007-06-05 Thread Gerard
On Tuesday June 05, 2007 at 07:22:15 (PM) Gerard wrote:


 On Tuesday June 05, 2007 at 06:46:27 (PM) Paul Schmehl wrote:
 
 {snip}
 
  Install the xorg metaport: /usr/ports/x11/xorg/
 
 Strange, I had the Xorg-6.9 meta port installed when I did the
 original update. Oh well, I will try your suggest. Thanks!

OK, I installed the /x11/xorg port. There were only 5 files that
needed updating, but nothing new installed. After installing the port,
I again tried running 'startx' and received the same error message I
was receiving before. I am unable to locate a 'pcidata' file on my
system, although there is a reference to something similar:

/usr/local/lib/xorg/modules/libpcidata.la
/usr/local/lib/xorg/modules/libpcidata.so

I am at a loose here. I have tried Googling; however, I have not come
up with a definitive answer.

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


not able to output anything to /dev/ttyv8?

2007-06-05 Thread Zhang Weiwu
Dear list

On Gentoo Linux I used to redirect the output of a certain app
to /dev/tty10 and switch to tty10 (by using Alt+F10)

this is useful to keep watching the application.

this doesn't work on FreeBSD. I can do
# ehco hello  /dev/ttyv8
# ehco hello  /dev/ttyv9
# ehco hello  /dev/ttyva

But Alt+F9, Alt+F10, Alt+F11 only cause the machine to beep

Possible to use /dev/ttyv9 for output device in FreeBSD? Thanks in
advance.

Best regards
-- 
Zhang Weiwu
Real Softservice
http://www.realss.com
+86 592 2091112

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


Re: fbsd 6.2 pf starts -- but not on boot

2007-06-05 Thread snowcrash+freebsd

hi,


Have you any particular reason to think that this is really a problem?
Given that /etc/rc.d/ppp automatically reloads the pf rules after the
tun device is created.


though the prob's been fixed, just to ack/comment ... the issue 4 me
was that pf itself was not starting, not that it had started but the
rules were not loaded, or some such ...


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


Re: Failed to load module pcidata

2007-06-05 Thread Arthur Barlow


On Jun 5, 2007, at 8:06 PM, Gerard wrote:


On Tuesday June 05, 2007 at 07:22:15 (PM) Gerard wrote:



On Tuesday June 05, 2007 at 06:46:27 (PM) Paul Schmehl wrote:

{snip}


Install the xorg metaport: /usr/ports/x11/xorg/


Strange, I had the Xorg-6.9 meta port installed when I did the
original update. Oh well, I will try your suggest. Thanks!


OK, I installed the /x11/xorg port. There were only 5 files that
needed updating, but nothing new installed. After installing the port,
I again tried running 'startx' and received the same error message I
was receiving before. I am unable to locate a 'pcidata' file on my
system, although there is a reference to something similar:

/usr/local/lib/xorg/modules/libpcidata.la
/usr/local/lib/xorg/modules/libpcidata.so

I am at a loose here. I have tried Googling; however, I have not come
up with a definitive answer.

--  
Gerard

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


Make sure that if you have an xorg.conf file the paths for fonts  
and modules is updated.  The module path should be /usr/local/lib/ 
xorg/modules and the fonts path should be /usr/local/lib/X11/fonts.


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


Re: tar: Unrecognised archive format: Inappropriate file type or format

2007-06-05 Thread Tim Kientzle

Robert,

I recently saw your message on freebsd-questions.

Can you give me any more details?

Tim Kientzle



List:   freebsd-questions
Subject:tar: Unrecognised archive format: Inappropriate file type or format
From:   Robert Davison rob_27_preston () yahoo ! co ! uk
Date:   2007-03-20 22:27:20
Message-ID: 923906.54344.qm () web25007 ! mail ! ukl ! yahoo ! com
[Download message RAW]

I've been using tar to back-up my file system to my tape drive using the 
following command
   
  tar -cvf /dev/sa0 /home /etc
   
  which works fine.
   
  Whenever i run the command
   
  tar -tvf /dev/sa0
   
  the system usualy lists a few file then stops with the error
   
  tar: Unrecognised archive format: Inappropriate file type or format
   
  I'm using the latest RC6.2
   
  I've never had this problem before...

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


Re: fbsd 6.2 pf starts -- but not on boot

2007-06-05 Thread Ian Smith
On Tue, 5 Jun 2007, snowcrash+freebsd wrote:

  well, per Ian's catch/suggestion, removing the 'blank line' from my
  ppp.conf, and moving,
  
 add default HISADDR
  
  to the ppp1: connection stanza seems to have done the trick!  pf
  loads properly on reboot.
  
  swithc it back, and it does not.
  
  so, guessing, it's the lack of a default root as a result of the blank line.

Actually, turns out I was speaking 'historically'; ppp no longer treats
blank lines as section terminators - and may not have for years! :)

/usr/share/examples/ppp/ppp.conf.sample still begins using that style,
with # comment lines within sections and blank lines only at end, but
also points out early on that blank lines are ignored, and some later
example sections indeed use that style. 

To add to the confusion, I'm lately using ppp's successor mpd instead,
which does still use blank lines to terminate conf file sections ..

So the problem was really more the position of your 'add default' line; 
it's needed within the section you've specified to run, here ppp1:

Funny thing is, I doubt I'd have noticed it without your blank line! 

  the gotcha here was that, according to my notes, i *HAD*
  checked/ensure that  my default routes were correctly initialized
  (with netstat -nr), but, apparently, BEFORE i'd naively/mistakenly
  added that blank line.
  
  woohoo!

Glad it goes,

Ian

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