buildworld breaks at xinstall (9.2)

2013-08-20 Thread Rudy


When I svnup and make buildworld, I get a failure at xinstall.

THings

Any chance that FreeBSD will be fixed to allow upgrading in place from 9.1?

http://www.freebsd.org/cgi/query-pr.cgi?pr=bin/181344
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


cron pile up! libnss-mysql and cron (Rehash)

2012-06-22 Thread Rudy
4.5 years ago, I posted about cron's piling up.  It seems if I install 
libnss-mysql on a fresh 9.0-STABLE, this problem persists.


Here was the original post:
http://lists.freebsd.org/pipermail/freebsd-questions/2007-December/164174.html

I've seen this on 6.2, 7.x, and now 9.0 FreeBSD.

How to repeat:
 install a fresh BSD system, install libnss-mysql, wait a few days.




System info:
 FreeBSD 9.0-STABLE amd64
 libnss-mysql-1.5_3  NSS module using a MySQL database for backend
 mariadb-client-5.3.6 Database server - drop-in replacement for MySQL
 mariadb-server-5.3.6 Database server - drop-in replacement for MySQL


ps axlw | grep cron
  0 56084 1   0  20  0  31064   2844 nanslp   IsJ  ??  0:00.78 
/usr/sbin/cron -s
  0 68402 56084   0  20  0  31064   2844 ppwait   DJ   ??  0:00.00 
cron: running job (cron)
  0 68403 68402   0  20  0  31064   2844 so_rcv_s IVsJ ??  0:00.00 
cron: running job (cron)
  0 68527 56084   0  20  0  31064   2848 ppwait   DJ   ??  0:00.00 
cron: running job (cron)
  0 68528 56084   0  20  0  31064   2844 ppwait   DJ   ??  0:00.00 
cron: running job (cron)
  0 68530 68527   0  20  0  31064   2848 so_rcv_s IVsJ ??  0:00.00 
cron: running job (cron)
  0 68531 68528   0  20  0  31064   2844 so_rcv_s IVsJ ??  0:00.00 
cron: running job (cron)
  0 68558 56084   0  20  0  31064   2844 ppwait   DJ   ??  0:00.00 
cron: running job (cron)
  0 68559 68558   0  20  0  31064   2844 so_rcv_s IVsJ ??  0:00.00 
cron: running job (cron)
  0 68591 56084   0  20  0  31064   2844 ppwait   DJ   ??  0:00.00 
cron: running job (cron)
  0 68592 68591   0  20  0  31064   2844 so_rcv_s IVsJ ??  0:00.00 
cron: running job (cron)
  0 68608 56084   0  20  0  31064   2848 ppwait   DJ   ??  0:00.00 
cron: running job (cron)
  0 68609 68608   0  20  0  31064   2848 so_rcv_s IVsJ ??  0:00.00 
cron: running job (cron)
  0 68659 56084   0  20  0  31064   2848 ppwait   DJ   ??  0:00.00 
cron: running job (cron)
  0 68660 68659   0  20  0  31064   2848 sbwait   IVsJ ??  0:00.00 
cron: running job (cron)
  0 68683 56084   0  20  0  31064   2844 ppwait   DJ   ??  0:00.00 
cron: running job (cron)
  0 68684 68683   0  20  0  31064   2844 so_rcv_s IVsJ ??  0:00.00 
cron: running job (cron)
  0 68722 56084   0  21  0  31064   2848 ppwait   DJ   ??  0:00.00 
cron: running job (cron)
  0 68723 68722   0  20  0  31064   2848 so_rcv_s IVsJ ??  0:00.00 
cron: running job (cron)



Interestingly, if I do a truss and hit ^C, the process disappears... 
see below:


# truss -p 68684
^C
# truss -p 68684
truss: can not attach to target process: No such process
# grep 68684 /var/log/cron
Jun 22 16:25:00 mail /usr/sbin/cron[68684]: (root) CMD (/usr/libexec/atrun)


Rudy

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


cron pile up! Lot's of cron: running job (cron)

2012-06-22 Thread Rudy


http://lists.freebsd.org/pipermail/freebsd-questions/2007-December/164174.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Question about forcing fsck at boottime

2009-03-31 Thread Rudy

manish jain wrote:

 Hi,

 I am migrating from Linux and am still learning the basics of FreeBSD.
 One thing that I would to carry over from my Linux days is to force an
 fsck on all filesystems at system startup. On Linux, this was simply a
 matter of editing /etc/rc.sysinit. Things seem a bit more complicated
 in the BSD world. Can somebody please point me in the right direction ?

man fsck
Traditionally, fsck is invoked before the file systems are mounted and all
 checks are done to completion at that time.  If background checking is
 available, fsck is invoked twice.  It is first invoked at the
traditional
 time, before the file systems are mounted, with the -F flag to do
check-
 ing on all the file systems that cannot do background checking.

Also, you can set this in /etc/rc.conf
fsck_y_enable=YES
if you want to automatically run 'fsck -y' ... handy for remote servers.

Oh, and if you use ZFS, there is no such thing as 'fsck'.  That file
system never needs fsck.  :)  If you want less fsck headaches on a big
disk system, make the large partion (/home ?) ZFS.
 http://en.wikipedia.org/wiki/Zfs
 http://wiki.freebsd.org/ZFSQuickStartGuide

Rudy

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


How do I see disk IO for specific ZFS file systems?

2009-02-16 Thread Rudy


I realize I can see per device iostats with zpool or gstat, but I am 
interested in specific mount points.  Is that possible?
What are the read/writes for /tank/BBB.monkeybrains.net?  The READS 
are low and then jump to a higher value and I'm trying to track it down.


READ/WRITE over past 6 months:
http://www.monkeybrains.net/images/IO-past-6months.png


# zfs list
NAME  USED  AVAIL  REFER  MOUNTPOINT
tank 73.1G   368G39K  /tank
tank/AAA.monkeybrains.net2.54G  7.46G  2.45G  
/tank/AAA.monkeybrains.net
tank/BBB.monkeybrains.net2.64G  97.4G  2.64G  
/tank/BBB.monkeybrains.net
tank/CCC.monkeybrains.net1.39G  98.6G  1.39G  
/tank/CCC.monkeybrains.net



# zpool iostat -v
  capacity operationsbandwidth
pool used  avail   read  write   read  write
--  -  -  -  -  -  -
tank67.5G   380G 12 34   446K   257K
 mirror67.5G   380G 12 34   446K   257K
   ad0s2   -  -  3 17   276K   258K
   ad8s2   -  -  3 17   256K   258K
--  -  -  -  -  -  -


# gstat

dT: 1.001s  w: 1.000s
L(q)  ops/sr/s   kBps   ms/rw/s   kBps   ms/w   %busy Name
   0 29  64566.1 223382.3   21.7| ad0
   0 31  86159.8 223382.3   19.2| ad8
   0 26  53924.6 213182.53.1| ad0s1
   0  3  1 64   13.6  1 202.3   19.4| ad0s2
   0 26  5392   10.5 213182.55.8| ad8s1
   0  5  32248.7  1 200.3   16.9| ad8s2

specifically, I am intested in the file systems in ad0s2 and ad8s2.

Thanks if you can point me in the right direction, and thanks if you 
read this far!


Rudy


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


Re: Apache 2 in 6.0 jails: Connection refused: connect to listener on0.0.0.0:80

2008-07-13 Thread Rudy


Philippe,

Ha, I had the same problem in 7.0 jails.  :)
So, here is a response to your email from 2 years ago:

I made this change in httpd.conf and the problem seems gone:
 -Listen 80
 +Listen 208.69.40.119:80

Rudy



Your message from 2 years ago:
 Hi,

 Every now and then, Apache 2.2.2 starts filling my
 httpd-error.log with thousands of lines like:

 [Sat Jul 08 20:57:32 2006] [warn] (61)Connection refused:
 connect to listener on 0.0.0.0:80

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


Re: Fatal trap 12 --- can lack of APIC on SMP cause crashes?

2008-06-28 Thread Rudy

Rudy wrote:


My kernel panics!


Here are a two things I did which seem to stop the Fatal trap 12's with FreeBSD-7.0-RELEASE (saw it 
on three different boxes):


 cvsup to FreeBSD-7.0-STABLE
 (Don't forget to change  SCHED_4BSD -- SCHED_ULE  as that is now the default 
on STABLE)
 disabled CARP

I don't know if it was the SCHED_4BSD, the CARP, or the combination, but my 
boxes seem stable now.

Just wanted to answer my own post in case anyone is searching for Fatal trap 12 cures for 
FreeBSD-7.0-RELEASE.  :)


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


Re: can't access cdrom as regular user

2008-06-28 Thread Rudy


So as root I set the permissions to 777 on acd0, then after a reboot the 
permissions were reset back to what they were previously. What do I have 
to do to get access to my cd drive on my regular account?



Edit your /etc/devfs.conf file...

Add this line:
 permacd00666


Simulate the boot-up of devfs:
 /etc/rc.d/devfs restart

(easier than rebooting)

- Rudy


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


Re: first pre-emptive raid

2008-06-28 Thread Rudy

Derek Ragona wrote:

Mirroring offers redundancy but uses twice the disk space, AND is slower 
than striping.


Actually, disk Reads of a stripe and a mirror are the same.  Writes are same speed as a single disk 
(half the speed of a two disk stripe).


If you use something like gmirror and set the algorithm to 'round robin' reads are done from both 
disks if you access a 2MB file, 1MB is read from disk0 and the other MB from disk1.


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


Re: gmirror metadata: end of slice or end of disk?

2008-06-27 Thread Rudy

Mark Boolootian wrote:

Hi folks,

I'm trying to understand exactly where on disk gmirror is going to write
its metadata,



It just tosses the info in the end of your disk/slice/partition -- I think  ;)

In your example, you had a da1d... you could do partition level mirroring instead of whole disk 
level if you want.  While a machine was running ... and you had data on da1d, run

 gmirror label -v -b round-robin gm0d /dev/da1d
 gmirror instert gm0d da0d  (asusming your da0 is what you are mirroring to)
and you would have a 'parition level' gmirror...

You may need to umount the partition... not sure.  Oh, there is the secret
sysctl kern.geom.debugflags=16
command as well.  Explained in the reference I always use when using gmirror:
 http://www.onlamp.com/pub/a/bsd/2005/11/10/FreeBSD_Basics.html

Rudy


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


Re: Default path.

2008-06-25 Thread Rudy

Peter Clark wrote:

Hello.

I have a FreeBSD 7.0 p2 box. I have upgraded openssl by installing the 
latest port. When I use openssl version I am still calling the base 
/usr/bin/openssl. How do I change my default path to use 
/usr/local/bin/openssl instead?


do this:
 rm /usr/bin/openssl
then type 'rehash'.
 (if you don't really want to delete it, you can do 'chmod 000 
/usr/bin/openssl')
 (and type 'rehash')


or, change the order of your PATH variable (in your .tcshrc file)
or, make an alias of 'openssl' to '/usr/local/bin/openssl'.



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


buildworld fails on FreeBSD 7 - fresh cvsup - libreadline.so complaints

2008-06-03 Thread Rudy


Problem:
Fresh cvsup of FreeBSD-7 and make buildworld failed...

Workaround:
If I go directly into /usr/src/gnu/usr.bin and type 'make' things are built...
(still building, so I don't know if this will hose the system  :)


Error:
 (note gnu/usr.bin/bc also failed with the similar errors [libreadline.so 
complaints])

=== gnu/usr.bin/gdb/gdb (all)
cc -O2 -fno-strict-aliasing -pipe -march=pentium4 -DHAVE_CONFIG_H -DRL_NO_COMPAT -DMI_OUT=1 -DTUI=1 
-I. -I/usr/src/gnu/usr.bin/gdb/gdb/../arch/i386 
-I/usr/src/gnu/usr.bin/gdb/gdb/../../binutils/libbfd 
-I/usr/src/gnu/usr.bin/gdb/gdb/../../binutils/libbfd/i386 
-I/usr/src/gnu/usr.bin/gdb/gdb/../../../../contrib/gdb/gdb 
-I/usr/src/gnu/usr.bin/gdb/gdb/../../../../contrib/gdb/gdb/config 
-I/usr/src/gnu/usr.bin/gdb/gdb/../../../../contrib/gdb/include 
-I/usr/src/gnu/usr.bin/gdb/gdb/../../../../contrib/binutils/include 
-I/usr/src/gnu/usr.bin/gdb/gdb/../../../../contrib/binutils/bfd  -c 
/usr/src/gnu/usr.bin/gdb/gdb/../../../../contrib/gdb/gdb/gdb.c
cc -O2 -fno-strict-aliasing -pipe -march=pentium4 -DHAVE_CONFIG_H -DRL_NO_COMPAT -DMI_OUT=1 -DTUI=1 
-I. -I/usr/src/gnu/usr.bin/gdb/gdb/../arch/i386 
-I/usr/src/gnu/usr.bin/gdb/gdb/../../binutils/libbfd 
-I/usr/src/gnu/usr.bin/gdb/gdb/../../binutils/libbfd/i386 
-I/usr/src/gnu/usr.bin/gdb/gdb/../../../../contrib/gdb/gdb 
-I/usr/src/gnu/usr.bin/gdb/gdb/../../../../contrib/gdb/gdb/config 
-I/usr/src/gnu/usr.bin/gdb/gdb/../../../../contrib/gdb/include 
-I/usr/src/gnu/usr.bin/gdb/gdb/../../../../contrib/binutils/include 
-I/usr/src/gnu/usr.bin/gdb/gdb/../../../../contrib/binutils/bfd   -Wl,-E -o gdb gdb.o 
/usr/obj/usr/src/gnu/usr.bin/gdb/gdb/../../gdb/libgdb/libgdb.a 
/usr/obj/usr/src/gnu/usr.bin/gdb/gdb/../../binutils/libbfd/libbfd.a 
/usr/obj/usr/src/gnu/usr.bin/gdb/gdb/../../binutils/libopcodes/libopcodes.a 
/usr/obj/usr/src/gnu/usr.bin/gdb/gdb/../../binutils/libiberty/libiberty.a -lm -lreadline -ltermcap 
-lgnuregex
/usr/obj/usr/src/gnu/usr.bin/gdb/gdb/../../gdb/libgdb/libgdb.a(tui.o)(.text+0x6a9): In function 
`tui_rl_switch_mode':

: undefined reference to `rl_newline'
/usr/obj/usr/src/gnu/usr.bin/gdb/gdb/../../gdb/libgdb/libgdb.a(tui.o)(.text+0x8a2): In function 
`tui_rl_command_mode':

: undefined reference to `rl_insert'
/usr/obj/usr/src/gnu/usr.bin/gdb/gdb/../../gdb/libgdb/libgdb.a(top.o)(.text+0x174): In function 
`gdb_rl_operate_and_get_next':

: undefined reference to `rl_newline'
/usr/obj/usr/src/tmp/usr/lib/libreadline.so: undefined reference to 
`rl_rubout_or_delete'
/usr/obj/usr/src/tmp/usr/lib/libreadline.so: undefined reference to 
`rl_clear_screen'
/usr/obj/usr/src/tmp/usr/lib/libreadline.so: undefined reference to `rl_delete'
/usr/obj/usr/src/tmp/usr/lib/libreadline.so: undefined reference to 
`rl_insert_comment'
/usr/obj/usr/src/tmp/usr/lib/libreadline.so: undefined reference to `rl_rubout'
/usr/obj/usr/src/tmp/usr/lib/libreadline.so: undefined reference to 
`rl_delete_horizontal_space'
/usr/obj/usr/src/tmp/usr/lib/libreadline.so: undefined reference to 
`rl_insert_text'
/usr/obj/usr/src/tmp/usr/lib/libreadline.so: undefined reference to 
`rl_refresh_line'
/usr/obj/usr/src/tmp/usr/lib/libreadline.so: undefined reference to 
`rl_quoted_insert'
/usr/obj/usr/src/tmp/usr/lib/libreadline.so: undefined reference to 
`rl_transpose_chars'
/usr/obj/usr/src/tmp/usr/lib/libreadline.so: undefined reference to 
`rl_backward_word'
/usr/obj/usr/src/tmp/usr/lib/libreadline.so: undefined reference to 
`rl_char_search'
/usr/obj/usr/src/tmp/usr/lib/libreadline.so: undefined reference to 
`rl_arrow_keys'
/usr/obj/usr/src/tmp/usr/lib/libreadline.so: undefined reference to 
`rl_backward_byte'
/usr/obj/usr/src/tmp/usr/lib/libreadline.so: undefined reference to 
`_rl_char_search_internal'
/usr/obj/usr/src/tmp/usr/lib/libreadline.so: undefined reference to 
`rl_end_of_line'
/usr/obj/usr/src/tmp/usr/lib/libreadline.so: undefined reference to 
`rl_forward_byte'
/usr/obj/usr/src/tmp/usr/lib/libreadline.so: undefined reference to 
`rl_forward_word'
/usr/obj/usr/src/tmp/usr/lib/libreadline.so: undefined reference to 
`_rl_set_mark_at_pos'
/usr/obj/usr/src/tmp/usr/lib/libreadline.so: undefined reference to 
`rl_set_mark'
/usr/obj/usr/src/tmp/usr/lib/libreadline.so: undefined reference to 
`rl_replace_line'
/usr/obj/usr/src/tmp/usr/lib/libreadline.so: undefined reference to 
`_rl_rubout_char'
/usr/obj/usr/src/tmp/usr/lib/libreadline.so: undefined reference to 
`_rl_overwrite_char'
/usr/obj/usr/src/tmp/usr/lib/libreadline.so: undefined reference to 
`rl_do_lowercase_version'
/usr/obj/usr/src/tmp/usr/lib/libreadline.so: undefined reference to 
`rl_upcase_word'
/usr/obj/usr/src/tmp/usr/lib/libreadline.so: undefined reference to 
`rl_tab_insert'
/usr/obj/usr/src/tmp/usr/lib/libreadline.so: undefined reference to 
`rl_backward_char'
/usr/obj/usr/src/tmp/usr/lib/libreadline.so: undefined reference to 
`rl_forward_char'
/usr/obj/usr/src/tmp/usr/lib/libreadline.so: undefined reference to 
`rl_capitalize_word'

Re: FreeBSD MySQL Performance Tunning suggestions???

2008-06-03 Thread Rudy



MySQL:



[mysqld]
port  = 3306
socket  = /tmp/mysql.sock
skip-locking
skip-networking
skip-name-resolve
server-id=1
#2008-02-10
max_connections=499
interactive_timeout=100
wait_timeout=100
connect_timeout=10
thread_cache_size=256
connect_timeout=10
myisam_sort_buffer_size=32M
key_buffer=16M
join_buffer=3M
record_buffer=3M
sort_buffer=5M
table_cache=1024
#-
# increase until threads_created doesnt grow anymore
thread_cache=512
query_cache_type=1
query_cache_limit=2M
query_cache_size=64M
# Try number of CPU's*2 for thread_concurrency
thread_concurrency=4
set-variable=local-infile=0
#ng below 5 lines
init_connect='SET collation_connection = utf8_unicode_ci'
init_connect='SET NAMES utf8'
default-character-set=utf8
character-set-server=utf8
collation-server=utf8_unicode_ci
#NG: new variables for fulltext search:
ft_min_word_len=2
ft_max_word_len=15

# Replication Master Server (default)
# binary logging is required for replication
log-bin=mysql-bin
# required unique id between 1 and 2^32 - 1
# defaults to 1 if master-host is not set
# but will not function as a master if omitted
server-id = 1


I don't see innodb tunings... if you have innodb tables, you should use about 
4GB of RAM for that.
DOn't forget, Edit your /boot/loader.conf to allow your MySQL to grow up to about 8GB (for 
starters).  People forget this about as often as they forget to put INDEXES on their tables.


Speaking of that!  Turn on your slow_query_log... set it to 5 seconds and monitor the 
slow_query_log file.


Are you going to replicate?  If not, disable log-bin (you have skip-networking, so I assume you are 
not setting up a master/slave).  Only reason to do log-bin is to fill your disk up with files you 
will never yse.


Up query_cache_limit=8M (depends, may not matter for your site).  (That is the max limit per query 
to cache...).  Keep an eye on your cache fill rate and up those values if you need to.


Keep an eye on your table_cache... table_cache=1024 may be fine, but if you have 4000 tables, that 
may need to be higher.


Set your key_buffer higher (depending on your site) --- several 100GB.  Connections can *probably* 
be lower... the only reason to have a real hig number for connections is to get your machine to 
swap.  :p


Oh, check out the my-huge.cnf file that comes with MySQL... I think it is in 
/usr/local/share/mysql/ or somewhere good tips there.



Good luck.

Rudy

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


Re: buildworld fails on FreeBSD 7 - fresh cvsup - libreadline.so complaints

2008-06-03 Thread Rudy

Rudy wrote:

Workaround:
If I go directly into /usr/src/gnu/usr.bin and type 'make' things are 
built...

(still building, so I don't know if this will hose the system  :)



This came up about 5 more times (usr.sbin , bin, ...) so I finally gave up.

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


Fatal trap 12 --- can lack of APIC on SMP cause crashes?

2008-06-03 Thread Rudy


My kernel panics!  I reinstlled i386 and scrapped my amd64 install, however, I forgot the APIC 
line... would that cause crashes under load or high network activity?

  device  apic# I/O apic




- Rudy





# uname
FreeBSD example.monkeybrains.net 7.0-STABLE FreeBSD 7.0-STABLE #0: Mon May 12 15:17:23 PDT 2008 
 root@:/usr/obj/usr/src/sys/EXAMPLE  i386



# crash message:
Fatal trap 12: page fault while in kernel mode
instruction pointer = 0x20:0xc05330da

Following this advice:
 
http://www.freebsd.org/doc/en/books/faq/advanced.html#KERNEL-PANIC-TROUBLESHOOTING
Nothing close to 0xc05330da... here is the closest:
# nm -n /boot/kernel/kernel | grep c053


c0532c5a t turnstile_first_waiter
c0532c80 T turnstile_head
c0532c8f T turnstile_empty
c0532ca5 t turnstile_fini
c0532cb8 t turnstile_init
c0532d2a T init_turnstiles
c0532dc6 t turnstile_adjust_thread
c0532f48 t propagate_priority
c0533101 T turnstile_adjust
c0533144 T turnstile_free
c0533168 T turnstile_alloc
c053318d t init_turnstile0




-
kernel config file:


###cpu HAMMER   # wasn't working on amd64...
cpu I686_CPU
ident   EXAMPLE

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

makeoptions DEBUG=-g# Build kernel with gdb(1) debug symbols

options SCHED_4BSD  # 4BSD scheduler
options PREEMPTION  # Enable kernel thread preemption
options INET# InterNETworking
#optionsINET6   # IPv6 communications protocols
#optionsSCTP# Stream Control Transmission Protocol
options FFS # Berkeley Fast Filesystem
options SOFTUPDATES # Enable FFS soft updates support
options UFS_ACL # Support for access control lists
options UFS_DIRHASH # Improve performance on big directories
#optionsUFS_GJOURNAL# Enable gjournal-based UFS journaling
options MD_ROOT # MD is a potential root device
options NFSCLIENT   # Network Filesystem Client
#optionsNFSSERVER   # Network Filesystem Server
options NFS_ROOT# NFS usable as /, requires NFSCLIENT
#optionsNTFS# NT File System
#optionsMSDOSFS # MSDOS Filesystem
#optionsCD9660  # ISO 9660 Filesystem
options PROCFS  # Process filesystem (requires PSEUDOFS)
options PSEUDOFS# Pseudo-filesystem framework
#optionsGEOM_PART_GPT   # GUID Partition Tables.
options GEOM_LABEL  # Provides labelization
options COMPAT_43TTY# BSD 4.3 TTY compat [KEEP THIS!]
#optionsCOMPAT_IA32 # Compatible with i386 binaries
#optionsCOMPAT_FREEBSD4 # Compatible with FreeBSD4
#optionsCOMPAT_FREEBSD5 # Compatible with FreeBSD5
#optionsCOMPAT_FREEBSD6 # Compatible with FreeBSD6
options SCSI_DELAY=5000 # Delay (in ms) before probing SCSI
#optionsKTRACE  # ktrace(1) support
options SYSVSHM # SYSV-style shared memory
options SYSVMSG # SYSV-style message queues
options SYSVSEM # SYSV-style semaphores
options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time 
extensions
options KBD_INSTALL_CDEV# install a CDEV entry in /dev
options ADAPTIVE_GIANT  # Giant mutex is adaptive.
options STOP_NMI# Stop CPUS using NMI instead of IPI
#optionsAUDIT   # Security event auditing
# Make an SMP-capable kernel by default
options SMP # Symmetric MultiProcessor Kernel

# CPU frequency control
device  cpufreq

# Bus support.
device  acpi
device  eisa
device  pci

# ATA and ATAPI devices
device  ata
device  atadisk # ATA disk drives
options ATA_STATIC_ID   # Static device numbering

# atkbdc0 controls both the keyboard and the PS/2 mouse
device  atkbdc  # AT keyboard controller
device  atkbd   # AT keyboard
device  psm # PS/2 mouse

device  kbdmux  # keyboard multiplexer
device  vga # VGA video card driver

device  splash  # Splash screen and screen saver support

# syscons is the default console driver, resembling an SCO console
device  sc

device  agp # support several AGP chipsets

# Serial (COM) ports
device  sio # 8250, 16[45]50 based serial ports
device

Why does portupgrade sometime fail?

2008-04-22 Thread Rudy


I ran a
 portupgrade -r glib

and I get this problem with some packages:

===  Installing for liboil-0.3.14
===   liboil-0.3.14 depends on executable: pkg-config - found
===   Generating temporary packing list
===  Checking if devel/liboil already installed
===   An older version of devel/liboil is already installed (liboil-0.3.12)
  You may wish to ``make deinstall'' and install this port again
  by ``make reinstall'' to upgrade it properly.
  If you really wish to overwrite the old port of devel/liboil
  without deleting it first, set the variable FORCE_PKG_REGISTER
  in your environment or the make install command line.

Why doesn't portupgrade just uninstall and upgrade 'liboil'?

I manually went into devel/liboil and ran:
  make deinstall install

Is there a portupgrade flag I am missing?  And I don't want my pkg_info to end 
up with both versions:
 liboil-0.3.12
 liboil-0.3.14

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


patch for kern_clock.c

2008-04-09 Thread Rudy



I have a machine with 6.3-STABLE in /usr/src.  The system is a 5.5 kernel (not 
sure if this matters).

Any how, buildkernel fails.  Ther error:
/usr/src/sys/kern/kern_clock.c: In function `sysctl_kern_cp_times': 
/usr/src/sys/kern/kern_clock.c:123: warning: unused variable `i'



The patch for kern_clock.c:


--- kern_clock.c.orig   Wed Apr  9 18:18:27 2008
+++ kern_clock.cWed Apr  9 18:18:07 2008
@@ -120,9 +120,10 @@
 {
struct pcpu *pcpu;
int error;
-   int i, c;
+   int c;
long *cp_time;
 #ifdef SCTL_MASK32
+   int i;
unsigned int cp_time32[CPUSTATES];
 #endif
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: limit Xorg to one ip address

2008-03-19 Thread Rudy

Mark Moellering wrote:
I want to set up the jail server but the information I have indicates that I 
cannot have a daemon binding to all IP addresses.  How do i limit Xorg from 
binding to all IP addresses?  Is this still necesary?


  

You can run xorg in a jail.
http://blogs.freebsdish.org/netchild/2007/04/07/a-desktop-environment-in-a-jail/

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


Re: limit Xorg to one ip address

2008-03-19 Thread Rudy

Catalin Miclaus wrote:

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mark Moellering
Sent: Wednesday, March 19, 2008 10:41 PM
To: freebsd-questions@freebsd.org
Subject: limit Xorg to one ip address

I want to set up the jail server but the information I have indicates that I 
cannot have a daemon binding to all IP addresses.  How do i limit Xorg from 
binding to all IP addresses?  Is this still necesary?
  


You can run xorg in a jail.   If you run ANYTHING in a jail, it will 
only bind to the (usually) one IP inside the jail.

Does that make sense?  man jail for more info on jails!

Rudy



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


Re: confusion configuring NAT

2008-03-19 Thread Rudy

Christopher Cowart wrote:

Josh Paetzel wrote:
  
I don't see much in the man page for ipfw concerning nat, certainly not the 
rules you are specifying.   Try man natd  



NAT support was added to ipfw with the 7.0 release. You don't need to
run natd if you're using ipfw nat.


I Need to read the new 7.x man pages!  ignore my previous email saying 
natd was userland  :p


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


OpenSource interface for ZFS like webcvs?

2008-03-19 Thread Rudy


Before I reinvent the wheel, is there an opensource zfs browser?  
Something that shows snapshots, usage, quotas, etc. and allows snapshot 
cloning, cloning, snapshot deleting, etc?


I am loving ZFS and the CLI, but want to let some CLI challenged people 
manage snapshots.


Thanks,
Rudy


Example:
http://static.flickr.com/26/102037367_ddc6781147.jpg
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: confusion configuring NAT

2008-03-19 Thread Rudy

David Alanis wrote:
Being I am a newcomer to freeBSD, on my first install google turned up 
a how to for getting my box on the Internet as a firewall/DHCP/DNS 
server. Since, I've been learning the packet filtering program (pf). 
Everytime I read a question on ipfw I quickly get confused.


What are the major advantages one over the other? I hope not to sound 
biased but pf seems more user friendly, easier to implement, and less 
verbose?
ipnat can handle 80+Mbps on a 2Ghz single core CPU.  ipfw w/ natd will 
crumple around 10Mbps on the same box.  There is one difference.  :)


It has to do with the fact that ipnat is kernel based while DIVERT uses 
the userland natd program.


(I use ipnat as a synonym for pf)

More info:
http://lists.freebsd.org/pipermail/freebsd-ipfw/2004-December/001583.html

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


Re: Which installation iso disc to download?

2008-02-28 Thread Rudy

Zeeshan Ahmad wrote:

Hello!

I want to know which installation iso image i need to download?


Download this one:

File: 7.0-RELEASE-amd64-disc1.iso



Best of luck!

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


Re: If I set up gmirror for a SLICE, how do I set up the MBRs to both be bootable?

2008-02-05 Thread Rudy

Wojciech Puchar wrote:

   NameStatus  Components
mirror/gm0s1  COMPLETE  ad0s1
   ad8

there is definitely something wrong in this setup

i thing second line should be ad8s1 not ad8!



OOPS!  I cut and pasted incorrectly.
   NameStatus  Components
mirror/gm0s1  COMPLETE  ad0s1
   ad8s1 


Rudy

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


If I set up gmirror for a SLICE, how do I set up the MBRs to both be bootable?

2008-02-04 Thread Rudy Rucker


I have two disks, ad0 and ad8.
 ad0s1 and ad8s1 are a gmirror
 ad0s2 and ad8s2 are in a zpool

Other than pulling ad0 and rebooting, is there a set of steps I can take 
to make sure ad8 is bootable?  Is an identical MBR a good enough test?

 dd if=/dev/ad8 of=ad8.mbr bs=512 count=1
 dd if=/dev/ad0 of=ad0.mbr bs=512 count=1
and here are the md5's of the MBR files
 MD5 (ad0.mbr) = f7dced6b4ab7f171cc66ae44ece16a73
 MD5 (ad8.mbr) = f7dced6b4ab7f171cc66ae44ece16a73
I want to check some production boxes to make sure they are set up 
correctly.  I've never had a problem with using whole disks in gmirror, 
but I am new to using gmirror for slices.



Disk setup:

 gmirror status
NameStatus  Components
mirror/gm0s1  COMPLETE  ad0s1
ad8
 zpool status
  pool: tank
 state: ONLINE
 scrub: none requested
config:

NAMESTATE READ WRITE CKSUM
tankONLINE   0 0 0
  mirrorONLINE   0 0 0
ad0s2   ONLINE   0 0 0
ad8s2   ONLINE   0 0 0

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


Can I run ntpd in a jail?

2008-01-31 Thread Rudy


Will this work?
/usr/sbin/jail /var/chroot/ntp ntp.monkeybrains.net 10.10.10.10 \
  /usr/sbin/ntpd  -c /etc/ntp.conf -p /var/run/ntpd.pid

Can ntpd update the system clock from within a jail?

Here is the layout of my jail
# find /var/chroot/ntp/
/var/chroot/ntp/
/var/chroot/ntp/lib
/var/chroot/ntp/lib/libm.so.5
/var/chroot/ntp/lib/libmd.so.4
/var/chroot/ntp/lib/libcrypto.so.5
/var/chroot/ntp/lib/libc.so.7
/var/chroot/ntp/usr
/var/chroot/ntp/usr/sbin
/var/chroot/ntp/usr/sbin/ntpd
/var/chroot/ntp/libexec
/var/chroot/ntp/libexec/ld-elf.so.1
/var/chroot/ntp/etc
/var/chroot/ntp/etc/ntp.conf
/var/chroot/ntp/var
/var/chroot/ntp/var/run
/var/chroot/ntp/var/run/ntpd.pid

# sockstat | grep 123
root ntpd   42707 3  udp4   10.10.10.10:123 *:*

I ran it for a couple of days, and the clock was off by 2 seconds...
# /var/chroot/ntp/etc/ntp.conf
server clock.via.net
server clock.isc.org
driftfile /etc/ntp.drift

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


Re: Future development of Jail

2008-01-31 Thread Rudy

Karl Triebes wrote:


I would like to see per-jail quotas such as the ones Andy mentions,
and would like to hear if anyone would be interested in doing it for
the right price. You may contact me via this list or in private.


Per-jail quotas are Trivial you use zfs... You can even resize a zfs mount 'on 
the fly'.

Here is the command to resize a jail to 100GB of space::
# zfs set quota=100G tank/jails/myNeatoWebsite

As for doing it for a price, I'll consult -- granted I just let The Secret out 
of the bag.  :)
I can build a 1TB to 6TB box for you and have it all set and ready for jails, or you could do it 
yourself.





As for CPU, I 'auto nice' pids with high CPU usage:

#!/usr/local/bin/perl
# This is BEERWARE [b] Rudy
# auto-nice-jails.pl - set this up in cron to run every 5 minutes
#use strict;

open PS, /bin/ps -axo time,pid,nice,state,command | /usr/bin/sort -nr | or die no PS for me. 
$).  $!;


while (PS) {
# examples:
#191:49.16  0 R+J  ./q3ded +set fs_game arena +set vm_game 0 +set 
sv_pure ...etc...
# 21:23.58  4 RN+J ./sc_serv
/^\s*(\d+):(\d+).\d+\s+(\d+)\s+(\d+)\s+(\S+)\s+(.*)$/ or next;
my ($cputime,$pid,$nice,$state,$command) = (($1*60+$2),$3,$4,$5,$6);
### print ($cputime,$pid,$nice,$state,$command)\n;

last if ($cputime  30);
next unless ($state =~ /J/); # only jailed procs...
next if ($nice  5);
my $renice = 2;
$renice = 4 if ($cputime  1000);
$renice = 5 if ($cputime  1);
if ($renice  $nice) {
print $pid\t$nice\t$cputime\t$command\n;
system(/usr/bin/renice +$renice $pid);
}
}


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


Multi IPs in a JAIL?

2008-01-29 Thread Rudy


There was once some talk of multiple IPs in a jail:
 http://garage.freebsd.pl/mijail5.README
 
http://www.freebsd.org/news/status/report-apr-2006-jun-2006.html#Multi-IP-v4/v6-jails

Any way this will every end up in a -RELEASE branch?

I'd love to be able to run this command:
 jail / exmaple.net 192.168.1.105,10.1.0.21 /sbin/ifconfig
and see the output with two IP addresses...

Rudy

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


Re: What version of Freebsd to run

2008-01-25 Thread Rudy

David Alanis wrote:

Darryl:

How dare you ask such question? I mean, if you need to ask such question 
maybe Windows XP will be a solution for you?


Just kidding, I run a similiar dell http/mail/asterisk/dns/IPv6 amd64 
7.0 pre-release under zfs and I couldn't be happier!!!


David


Quoting Darryl Hoar [EMAIL PROTECTED]:


Greetings,
Just received my Dell PowerEdge SC 1435.  Going to
be a webserver for me.




I say, go with FreeBSD-7.0 amd64 kernel.  :)
7 is solid on the boxes I have it on.

Someone mentioned an unsolicited Apache version.  I recommend Version 0.52 of 
Netris.


Rudy
___
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 get Flash7 working!

2008-01-14 Thread Rudy

Modulok wrote:

Does anyone else have audio/video sync issues with linux-flashplugin7?
Following the general procedure outlined in this thread,
linux-flashplugin7 does work...sort of. The video proceeds the audio.
This holds true for linux-opera and linux-firefox. The synch gap
widens as time progresses. In a 5 minute clip, the offset is probably
5-10 seconds or more.



I have audio lag as well.  Never heard of turning off COMPOSITE mode in the xorg.conf... will try 
right now!


Also, I got this update from Alexander Leidinger:
2.6.x emulation is not available in 6.x or 5.x (2.6.20 is totally
wrong, the only 2.6 kernel version we are targeting ATM is 2.6.16). It
is also not stable yet, there are known bugs. linux_base-f7 is also
only useable with 2.6 emulation, installing it is not recommended for
non-developers.

so, set your linuxemu to a lower kernel version than I blindly recommended 
before:
 echo compat.linux.osrelease=2.6.16  /etc/sysctl.conf

I say, push forward and get 2.6.16 stable and forget 2.4.2 on the FreeBSD 7 branch!  People want 
old linux emulation?  Use FreeBSD 6!


Time to restart X,
Rudy




___
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 get Flash7 working!

2008-01-10 Thread Rudy

Aryeh M. Friedman wrote:


rm /usr/ports/distfiles/flashplugin/fp7_archive.zip



An other way to fix it in some ways is to run a make makesum to update
the distfile checksums


The fp7_archive.zip was an odd case were I felt more comfortable deleting it -- hadn't see that 
error before (and didn't save it to cut and paste).  I thought it was only my system, but 
apparently, others had this same issue with the fp7_archive.zip file.  Maybe a new one was released 
with the same filename on adobe?


Would makesum would blindly use what is in the /usr/ports/distfiles -- corrupt, 
man-in-the-middled, or whatever was there?  I've never used makesum...  I will RTFM.  :)


Rudy

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


Re: Finally, Flash seems to be working for Me :)

2008-01-05 Thread Rudy

Robert Huff wrote:


What you need is www/youtube-dl.  Deposits the content in a
form that can be played by mplayer (and presuably others).


That seems like an extra step... People that want to be more efficient with their time -- even when 
watching youtube  :) -- don't want to mess around with extra steps.  I guess if people have time to 
care about the fact that they don't want to use a corporate produced plugin but still want to watch 
content created for that corporate plugin, then they have time to mess with that youtube plugin.


Frankly, I -- and the majority of Internet users -- just need to be able to access Flash content -- 
youtube and other sites -- to get work done quickly and efficiently.  The less time I spend on the 
'puter, the better.  Speaking of, time to go bake some apple tarts, I'm outta here.  :)


Happy New Year,
RUdy


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


HOW-TO get Flash7 working!

2008-01-05 Thread Rudy


With all this talk about FLASH, I found something out by trial and error and want to post again to 
the list so that others searching can get the FLASH player working in their brower:


THIS STEP IS NEEDED OR FLASH WILL NOT WORK:

sysctl compat.linux.osrelease=2.6.20

Better yet, add this to your /etc/sysctl.conf file and reboot:
 compat.linux.osrelease=2.6.20

NOTE: I just picked 2.6.20 kinda at random... seems like that is the linux kernel number (which I 
know nothing about) for the Fedora 7 release.  Oh, and I installed Fedora 7 instead of the default 
Fedora Core 4 on my desktop.


Why does the linux emulation pick 2.4.2 as the kernel version number to report (by default) and not 
2.6.11 (their kernel version shipped with Fedora 4)?  Seems like the ports should and linux module 
should be updated...


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


[HOW-TO] cvsup for ports -- Re: compact portsnap db

2008-01-05 Thread Rudy

Michael Lednev wrote:

Hello.

Is there any way to compact /var/db/portsnap other than deleting it
and doing postsnap fetch?



I don't like portsnap -- granted I've never typed the portsnap command in my 10 years of FreeBSD 
use.  I use cvsup!


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

QUick HOW-TO
Make a file called /usr/src/ports-supfile
-
#/usr/src/ports-supfile
*default host=cvsup8.FreeBSD.org
*default base=/var/db
*default prefix=/usr
*default release=cvs tag=.
*default delete use-rel-suffix
*default compress
ports-all
-

Then, run this command:
cvsup /usr/src/ports-supfile

If you don't have cvsup installed, run this command:
 # pkg_add -r cvsup-without-gui

For more info on the supfile, look at this file on your FreeBSD machine: 
/usr/share/examples/cvsup/ports-supfile


Preferring cvsup to portsnap is kinda like preferring vim over emacs...  It's a holy war and the 
vi/cvsup side uses less disk space.


- Rudy
___
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 get Flash7 working!

2008-01-05 Thread Rudy


By the way, I had some problems installing flash7 from ports a few days 
ago.
It didn't like the size of the file and would fail even if you 
downloaded from Adobe and copied to ports/disfiles. I later did a 
'portsnap fetch update'  that  must have gotten updated makefiles and 
fixed that problems. Anybody else with that issue should try updating 
the ports collection.



Super you got it running.  PS, I had to do that as well...

 rm /usr/ports/distfiles/flashplugin/fp7_archive.zip

From full original instructions:
 http://lists.freebsd.org/pipermail/freebsd-questions/2008-January/165920.html


Updating your ports (with portsnap or the cvsup) when trying to fix problems is always a good idea. 
 Sometimes when everything seems busted the portupgrade tool can be helpful in rebuilding all your 
ports.  Set it running before you go to bed, and ta-da, in the morning everything is working -- or 
completely broken  :)


Rudy

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


Finally, Flash seems to be working for Me :)

2008-01-03 Thread Rudy


Steps to watch YOUTUBE videos:

# Run these commands as root:
 sysctl compat.linux.osrelease=2.6.20
 cd  /usr/ports/emulators/linux_base-f7  make
 pkg_delete linux_\*
 make install

 rm /usr/ports/distfiles/flashplugin/fp7_archive.zip
 pkg_delete linux-flashplugin\*
 cd /usr/ports/www/linux-flashplugin7  make
 make install

 cd /usr/ports/www/nspluginwrapper/  make
 make install

 portupgrade -O linux-\*

# return to your user account (stop being root)
 nspluginwrapper -a -v -i

# the output should look like this:
Auto-install plugins from /usr/local/lib/npapi/linux-flashplugin
Looking for plugins in /usr/local/lib/npapi/linux-flashplugin
Install plugin /usr/local/lib/npapi/linux-flashplugin/libflashplayer.so
  into /home/rudy/.mozilla/plugins/npwrapper.libflashplayer.so



What do other people use for linux.osrelease?
What linux package do people use?  Seems like Fedora core 4 is the default.

WITHOUT SETTING THE SYSCTL VALUE TO 2.6.20, I got this error:
 nspluginwrapper -a -v -i
Auto-install plugins from /usr/local/lib/npapi/linux-flashplugin
Looking for plugins in /usr/local/lib/npapi/linux-flashplugin
FATAL: kernel too old
Auto-install plugins from /home/rudy/.mozilla/plugins
Looking for plugins in /home/rudy/.mozilla/plugins

THEN I DID THE PORTUPGRADE:
 nspluginwrapper -a -v -i
Auto-install plugins from /usr/local/lib/npapi/linux-flashplugin
Looking for plugins in /usr/local/lib/npapi/linux-flashplugin
/usr/local/lib/nspluginwrapper/i386/linux/npviewer.bin: error while loading shared libraries: 
libX11.so.6: cannot open shared object file: No such file or directory

Auto-install plugins from /home/rudy/.mozilla/plugins
Looking for plugins in /home/rudy/.mozilla/plugins

NOW INSTALL WORKS:
 nspluginwrapper -l
/home/rudy/.mozilla/plugins/npwrapper.libflashplayer.so
  Original plugin: /usr/local/lib/npapi/linux-flashplugin/libflashplayer.so
  Wrapper version string: 0.9.91.5

Does anyone know if this upgrade to Fedora-core 7 is necessary, or did the FreeBSD linux.ko change 
at the same time?



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


Re: Finally, Flash seems to be working for Me :)

2008-01-03 Thread Rudy


I forgot to mention, my post is for FreeBSD 7... here is my uname:
FreeBSD 7.0-PRERELEASE #2: Thu Jan  3 15:59:14 PST 2008


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


Re: Finally, Flash seems to be working for Me :)

2008-01-03 Thread Rudy

Xn Nooby wrote:

Why not just use gnash to watch youtube videos?  It works fine for me,
with my user account.


I tried it a couple of years ago and most websites (with falsh content) didn't work... you say it 
works now days?  I'll give it a try.


I do do more than watch youtube videos, but people send me links and I'm always bummed if I have to 
reboot into Ubuntu just to see a stupid video  :)


Rudy


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


Re: How do I use my USB microphone and motherboard audio out?

2007-12-14 Thread Rudy

Watanabe Kazuhiro wrote:

At Thu, 13 Dec 2007 12:16:45 -0800,
Rudy wrote:

Watanabe Kazuhiro wrote:

Hi.

At Tue, 11 Dec 2007 22:16:58 -0800,
Rudy wrote:
After reading some more man pages, I am still stumped but can better 
phrase my question:

 how do I set dsp0.0 as the default OUPUT and dsp1.1 as the default INPUT?

...


Audacity will be able to specify a different dsp device for the
recording and playback device via the Audacity Preferences panel
(Edit - Preferences - Audio I/O); e.g. /dev/dsp0 for playback,
and /dev/dsp1 for recording.

Have you tried such configulation?
---
Watanabe Kazuhiro ([EMAIL PROTECTED])
No luck.  I only see '/dev/dsp'.  It seems that dsp likes to automatically do stuff, but is not 
smart enough to always do the right thing.


OK.  My understanding is:

 * There is /dev/dsp0 which corresponds to pcm0 (snd_hda).

 * /dev/dsp and /dev/dsp0 are the same.  e.g.:

$ ls -l /dev/dsp /dev/dsp0
crw-rw-rw-  1 root  wheel0,  83 Dec 14 20:55 /dev/dsp
crw-rw-rw-  1 root  wheel0,  83 Dec 14 20:55 /dev/dsp0
$ 


 * There is no /dev/dsp1.  But there is /dev/dsp1.1 which corresponds
   to pcm1 (snd_uaudio).

If these are correct, will you try to make a symlink /dev/dsp1 which
points to /dev/dsp1.1 via devfs.conf(5)?  i.e. Add the following line
to /etc/devfs.conf and then reboot the system:

link dsp1.1 dsp1



I entered these lines:

 # attempt to override the dsp0 input with the dsp1 input... doesn't work
 link dsp1.1 dsp0.1
 # this didn't do anything
 link dsp1.1 dsp1
 # this works... wanted to make sure I could do something.  :)
 link dsp1.1 microphone

and ran
 /etc/rc.d/devfs restart

# ll /dev/ | grep dsp
crw-rw-rw-  1 root  wheel0, 121 Dec 14 13:55 /dev/dsp0.0
crw-rw-rw-  1 root  wheel0, 122 Dec 14 09:33 /dev/dsp0.1
crw-rw-rw-  1 root  wheel0, 126 Dec 14 09:33 /dev/dsp0.2
crw-rw-rw-  1 root  wheel0, 145 Dec 14 09:31 /dev/dsp1.0
crw-rw-rw-  1 root  wheel0, 144 Dec 14 09:31 /dev/dsp1.1
lrwxr-xr-x  1 root  wheel 6 Dec 14 13:52 /dev/microphone - dsp1.1

# cat /dev/sndstat
FreeBSD Audio Driver (newpcm: 32bit 2007061600/i386)
Installed devices:
pcm0: NVidia MCP51 High Definition Audio Controller at memory 0xfe024000 irq 21 kld snd_hda 
[20071129_0050] [MPSAFE] (1p:2v/1r:1v channels duplex default)

pcm1: USB Audio at ? kld snd_uaudio [GIANT] (0p:0v/1r:1v channels)
mode 1:(input) 1ch, 16/16bit, pcm, 8000,11025,22050,44100,48000Hz


# pcm0 is the motherboard sound/mic/lineout/etc
# pcm1 is the usb mircophone

# cd /dev
# ln -s dsp1.1 dsp0.111
# ln -s dsp1.1 dsp0.1
# ll dsp*
crw-rw-rw-  1 root  wheel0, 121 Dec 14 14:01 dsp0.0
lrwxr-xr-x  1 root  wheel 6 Dec 14 14:01 dsp0.111 - dsp1.1
crw-rw-rw-  1 root  wheel0, 126 Dec 14 09:33 dsp0.2
crw-rw-rw-  1 root  wheel0, 149 Dec 14 09:31 dsp1.0
crw-rw-rw-  1 root  wheel0, 144 Dec 14 09:31 dsp1.1



I can't seem to force the dsp1.1 to be the dsp0.1


:(

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


Re: Suggestions please for what POP or IMAP servers to use

2007-12-13 Thread Support (Rudy)

Andrew Falanga wrote:

Hi,

I'm working on setting up a server for both WWW and e-mail.  We're using
apache 2.2 w/PHP support (for phpWebSite) and for e-mail I'd like to stay
with sendmail for the MTA, but I've not used any servers that will allow for
POP and IMAP.  What in the ports would be good suggestions from those here
who've used them?


Everyone has mentioned dovecot -- maybe I should check it out -- but I have been using courier-imap 
for 5 or 6 years and like that POP/IMAP package.  All clients connect fine, it does SSL 
(POPs/IMAPs) and never gives me any trouble.  The multiple rc.d files are kinda silly.  I've been 
using it on a mail machine to serve 200 domains and about 2,500 email addresses -- never seems to 
crash, never requires restarts.


Oh, and I use sendmail as the MTA (with 
clamav/milter-regex/sid-milter/milter-greylist).

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


Re: em driver for FreeBSD 6.0

2007-12-13 Thread Support (Rudy)


Using 3rd party drivers is usually a DRAG.  Just update your OS!

Looks like the 6-STABLE (aka 6.3-RC1) has a newer driver.
char em_driver_version[] = Version - 6.7.3;

Rudy



Jay Aikat wrote:

Hi,
I am trying to install the em-6.6 driver (downloaded from the Intel 
site) into my FreeBSD 6.0 kernel.


I followed their instructions.
After running 'make cleandepend', when I run 'make depend' I get the 
following (working directory is /usr/src/sys/i386/compile/mykernel):
../../../dev/em/if_e1000.c:3525:48: macro TBI_ACCEPT requires 7 
arguments, but only 5 given

mkdep: compile failed
*** Error code 1

Any ideas what's wrong here?  Thanks,
--Jay.

___
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 do I use my USB microphone and motherboard audio out?

2007-12-13 Thread Rudy

Watanabe Kazuhiro wrote:

Hi.

At Tue, 11 Dec 2007 22:16:58 -0800,
Rudy wrote:
After reading some more man pages, I am still stumped but can better 
phrase my question:

 how do I set dsp0.0 as the default OUPUT and dsp1.1 as the default INPUT?


...


Audacity will be able to specify a different dsp device for the
recording and playback device via the Audacity Preferences panel
(Edit - Preferences - Audio I/O); e.g. /dev/dsp0 for playback,
and /dev/dsp1 for recording.

Have you tried such configulation?
---
Watanabe Kazuhiro ([EMAIL PROTECTED])


No luck.  I only see '/dev/dsp'.  It seems that dsp likes to automatically do stuff, but is not 
smart enough to always do the right thing.


Rudy


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

Re: cron pile up! Lot's of cron: running job (cron)

2007-12-13 Thread Rudy

Dan Nelson wrote:

In the last episode (Dec 03), Support (Rudy) said:

Below is part of the cron...  Seems like any random cronjob can get
clogged up... load varies from 0.2 to 1.0 on this dual-core box.  I
rebooted the box -- cron's continue to slowly pile up.

One of the cronjobs that is 'stuck' is this one: /root/bin/raid-status.sh
which can be found here:
 http://www.monkeybrains.net/~rudy/example/raid_status.html

Forgot to mention, I am running:
  6.2-STABLE FreeBSD 6.2-STABLE #3: Thu May 31 01:18:15 PDT 2007

OH, ps shows this:
58383  ??  D  0:00.00 cron: running job (cron)
58384  ??  IVs0:00.00 cron: running job (cron)


In general, when troubleshhoting, ps axlw is a more useful command.
It adds among other columns, the MWCHAN one, which details exactly why
a process is stuck in the D state.  


Anyway, cron does a fork and then a vfork creating a child and a
grandchild process.  I'm sort of surprised at the amount of code
between vfork and exec in the grandchild in
/src/usr.sbin/cron/cron/do_command.c .  Since process 3 is actually
using process 2's address space one must be extremely careful not to
modify static variables or change other global state that would affect
the parent once it resumes execution, and all the logging,
environment-setting, and user-context calls are certain to mess with
the parent's state, especially with nss modules in the mix.  I'd
personally recompile cron with all vforks replaced with fork and see
what happens.

It couldn't hurt to update to a newer kernel version along the RELENG_6
branch as a test, I guess.  Note that your uname will change to
6.3-PRERELEASE, but apart from causing lsof to complain, you should be
okay.


/var/log/cron has this entry:
Dec  3 20:16:00 pita /usr/sbin/cron[58384]: (root) CMD  
(/root/bin/raid-status.sh CRON)

BUT there is no 'raid-status.sh' stuck in the ps axw.  Seems like the 
vfork set off the cronjob, it ran, but then cron didn't 'stop' executing.  
Any debuggin tips?


Can you tell if raid-status.sh ever ran?  i.e. is process 2
stuck at the start of vfork or at the end.


I added this line to the top of my cronjob:
 logger -t DEBUG $0: $$
and cron seems stuck BEFORE the script is ever run.  Whether it sticks or not appears random, as 
plenty of log lines are showing up with the output of the logger command in my /var/log/messages.


# tail /var/log/messages
Dec 13 11:16:00 pita DEBUG: /root/bin/raid-status.sh: 64414
Dec 13 12:00:00 pita DEBUG: /root/bin/raid-status.sh: 80115
Dec 13 12:00:00 pita DEBUG: /root/bin/raid-status.sh: 80119
Dec 13 12:11:00 pita DEBUG: /root/bin/raid-status.sh: 84283

Here is the ps output:
# ps axlw
  UID   PID  PPID CPU PRI NI   VSZ   RSS MWCHAN STAT  TT   TIME COMMAND
0 85939 82253   0   8  0  2148  1560 ppwait D ??0:00.00 cron: 
running job (cron)
0 85940 85939   0   4  0  2148  1560 sbwait IVs   ??0:00.00 cron: 
running job (cron)
# grep 85940 /var/log/cron
Dec 13 12:16:00 pita /usr/sbin/cron[85940]: (root) CMD 
(/root/bin/raid-status.sh CRON)

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


Re: (postfix) SPAM filter?

2007-12-12 Thread Rudy

Steve Bertrand wrote:

* Once it is setup then it would require no additional maintenance.
* Potential spam messages are marked with a special header that can be
filtered on user discretion on their local mail client software.



Yes, one recommendation for sure. Give up on your first goal. It'll
never happen, because fighting spam is an arms race, with new tactics
needing to be adopted.


Amen (or Ahem, or what BSDie would say). There will *ALWAYS* be
maintenance. If you are not developing new regexs and/or solutions to
fight the daily produced techniques that make up SPAM, then you are
implementing them.


I have found spam assassin with nightly updates of the helpful (there are other people developing 
new regexs daily).


48 5 * * * /usr/local/bin/sa-update  --channel updates.spamassassin.org  
/usr/local/etc/rc.d/sa-spamd restart


There are other channels you can subscribe to.

Another super helpful bocker is to block all inbound connections from IPs without reverse DNS. 
Don't forget to virus check your email while you are at it -- there are several packages (clamav is 
one).  And finally, a couple of RBLs added into the mix are helpful.


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


Re: How do I use my USB microphone and motherboard audio out?

2007-12-11 Thread Rudy



Rudy wrote:


After reading some more man pages, I am still stumped but can better 
phrase my question:

 how do I set dsp0.0 as the default OUPUT and dsp1.1 as the default INPUT?

Rudy


here is the output of /dev/sndstat
FreeBSD Audio Driver (newpcm: 32bit 2007061600/i386)
Installed devices:
pcm0: NVidia MCP51 High Definition Audio Controller at memory 
0xfe024000 irq 21 kld snd_hda [20071129_0050] [MPSAFE] (1p:1v/1r:1v 
channels duplex default)

pcm1: USB Audio at ? kld snd_uaudio [GIANT] (0p:0v/1r:1v channels)
mode 1:(input) 1ch, 16/16bit, pcm, 8000,11025,22050,44100,48000Hz






Anyone know how do do this, or should I try freebsd-multimedia or something 
like that?

... on other OS'es I've seen ways to define a default microphone when a machine has two 
microphones.  Can't seem to figure that out in BSD (I can assign a default pcm device, but my pcm1 
doesn't have output...


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


How do I use my USB microphone and motherboard audio out?

2007-12-08 Thread Rudy



I want to use the audacity port to record sound and play it back.
I don't have a mini-jack microphone, but I have a USB microphone.  The system tries to record from 
the motherboard sound card (which does not have a microphone attached).


If I run this command:
  sysctl hw.snd.default_unit=1
audacity will not start because my dsp1 does not have any out.


here is the output of /dev/sndstat
FreeBSD Audio Driver (newpcm: 32bit 2007061600/i386)
Installed devices:
pcm0: NVidia MCP51 High Definition Audio Controller at memory 0xfe024000 irq 21 kld snd_hda 
[20071129_0050] [MPSAFE] (1p:1v/1r:1v channels duplex default)

pcm1: USB Audio at ? kld snd_uaudio [GIANT] (0p:0v/1r:1v channels)
mode 1:(input) 1ch, 16/16bit, pcm, 8000,11025,22050,44100,48000Hz



I am using:
 FreeBSD 7.0-BETA4

For other with a similar situation:  this command:
 kldload snd_uaudio
get FreeBSD to recognize your Logitech USB microphone (from the Playstation).

- RUdy
___
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 find out when a package is installed?

2007-12-08 Thread Rudy


I have used this:
 ls -l /var/db/pkg/PORT_NAME/+DESC

replace PORT_NAME with the correct directory name...

RUdy

Simon Gao wrote:

Hi,

Is there a command that can help find out when a package is
installed/compiled? Or what options should I give to pkg_info to find
out installation date?

Simon
___
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 do I use my USB microphone and motherboard audio out?

2007-12-08 Thread Rudy


After reading some more man pages, I am still stumped but can better phrase my 
question:
 how do I set dsp0.0 as the default OUPUT and dsp1.1 as the default INPUT?

Rudy


here is the output of /dev/sndstat
FreeBSD Audio Driver (newpcm: 32bit 2007061600/i386)
Installed devices:
pcm0: NVidia MCP51 High Definition Audio Controller at memory 
0xfe024000 irq 21 kld snd_hda [20071129_0050] [MPSAFE] (1p:1v/1r:1v 
channels duplex default)

pcm1: USB Audio at ? kld snd_uaudio [GIANT] (0p:0v/1r:1v channels)
mode 1:(input) 1ch, 16/16bit, pcm, 8000,11025,22050,44100,48000Hz


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


cron pile up! Lot's of cron: running job (cron)

2007-12-03 Thread Rudy


cron jobs seem to get stuck.  Not always, but within a day, there are at
least 20 stuck.  It is not always the same cronjob that does the
sticking.  :)   When this occurs, I can run ps ax| grep cron and get a
bunch of lines like this:

51921  ??  D  0:00.00 cron: running job (cron)
51922  ??  IVs0:00.00 cron: running job (cron)
52544  ??  D  0:00.00 cron: running job (cron)
52545  ??  IVs0:00.00 cron: running job (cron)
54418  ??  D  0:00.00 cron: running job (cron)
54419  ??  IVs0:00.00 cron: running job (cron)
54667  ??  D  0:00.00 cron: running job (cron)
54668  ??  IVs0:00.00 cron: running job (cron)
55835  ??  D  0:00.00 cron: running job (cron)
55836  ??  IVs0:00.00 cron: running job (cron)

What is going on?  Please help me remedy this situation.

The PID numbers next to cron's with a STATE of IVs show up in
/var/log/cron, for example:

# grep 54668 /var/log/cron
Dec  2 22:32:00 pita /usr/sbin/cron[54668]: (root) CMD
(/root/bin/raid-status.sh CRON)
# grep 55836 /var/log/cron
Dec  2 22:40:00 pita /usr/sbin/cron[55836]: (root) CMD
(/root/bin/10minutes.mail.sh | mail -E -s [ERROR]
mail.monkeybrains.net  [EMAIL PROTECTED])


If I run 'lsof' I can find these open handles:

cron  54668 root  cwd   VDIR   0,80512   471040 
/var/cron
cron  54668 root  rtd   VDIR   0,775122 /
cron  54668 root  txt   VREG   0,82  32496   122864 
/usr/sbin/cron
cron  54668 root  txt   VREG   0,77 16271249929 
/libexec/ld-elf.so.1
cron  54668 root  txt   VREG   0,77  4478849922 
/lib/libutil.so.5
cron  54668 root  txt   VREG   0,77 94195249923 
/lib/libc.so.6
cron  54668 root  txt   VREG   0,82  19277   826439 
/usr/local/lib/nss_mysql.so.1
cron  54668 root  txt   VREG   0,82 413626   826986 
/usr/local/lib/mysql/libmysqlclient.so.15

cron  54668 root  txt   VREG   0,77  6460449928 
/lib/libz.so.3
cron  54668 root  txt   VREG   0,77 10743249918 
/lib/libm.so.4
cron  54668 root  txt   VREG   0,77  2864849916 
/lib/libcrypt.so.3
cron  54668 root0u  PIPE 0xca02c660  16384  
-0xca02c718
cron  54668 root1u  PIPE 0xcc473250  0  
-0xcc473198
cron  54668 root2u  PIPE 0xcc473250  0  
-0xcc473198
cron  54668 root5u  unix 0xc66658580t0  
-0xc67e89bc
cron  54667 root  cwd   VDIR   0,80512   471040 
/var/cron
cron  54667 root  rtd   VDIR   0,775122 /
cron  54667 root  txt   VREG   0,82  32496   122864 
/usr/sbin/cron
cron  54667 root  txt   VREG   0,77 16271249929 
/libexec/ld-elf.so.1
cron  54667 root  txt   VREG   0,77  4478849922 
/lib/libutil.so.5
cron  54667 root  txt   VREG   0,77 94195249923 
/lib/libc.so.6
cron  54667 root  txt   VREG   0,82  19277   826439 
/usr/local/lib/nss_mysql.so.1
cron  54667 root  txt   VREG   0,82 413626   826986 
/usr/local/lib/mysql/libmysqlclient.so.15

cron  54667 root  txt   VREG   0,77  6460449928 
/lib/libz.so.3
cron  54667 root  txt   VREG   0,77 10743249918 
/lib/libm.so.4
cron  54667 root  txt   VREG   0,77  2864849916 
/lib/libcrypt.so.3
cron  54667 root0u  VCHR   0,260t0   26 
/dev/null
cron  54667 root1u  VCHR   0,260t0   26 
/dev/null
cron  54667 root2u  VCHR   0,260t0   26 
/dev/null
cron  54667 root3u  PIPE 0xca02c660  16384  
-0xca02c718
cron  54667 root4u  PIPE 0xca02c718  0  
-0xca02c660
cron  54667 root5u  unix 0xc66658580t0  
-0xc67e89bc
cron  54667 root6u  PIPE 0xcc473198  16384  
-0xcc473250
cron  54667 root7u  unix 0xc67e86f40t0  
-(none)
cron  54667 root8u  PIPE 0xcc473250  0  
-0xcc473198

What is going on?  Is my libnss_mysql acting up?

Rudy


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


Re: cron pile up! Lot's of cron: running job (cron)

2007-12-03 Thread Support (Rudy)


Below is part of the cron...  Seems like any random cronjob can get clogged up... load varies from 
0.2 to 1.0 on this dual-core box.  I rebooted the box -- cron's continue to slowly pile up.



One of the cronjobs that is 'stuck' is this one: /root/bin/raid-status.sh
which can be found here:
 http://www.monkeybrains.net/~rudy/example/raid_status.html

Forgot to mention, I am running:
  6.2-STABLE FreeBSD 6.2-STABLE #3: Thu May 31 01:18:15 PDT 2007

OH, ps shows this:
58383  ??  D  0:00.00 cron: running job (cron)
58384  ??  IVs0:00.00 cron: running job (cron)
/var/log/cron has this entry:
Dec  3 20:16:00 pita /usr/sbin/cron[58384]: (root) CMD 
(/root/bin/raid-status.sh CRON)

BUT there is no 'raid-status.sh' stuck in the ps axw.  Seems like the vfork set off the cronjob, 
it ran, but then cron didn't 'stop' executing.  Any debuggin tips?


Rudy

---

PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/bin:/usr/local/sbin:/usr/X11R6/bin:/root/bin
[EMAIL PROTECTED]

  Root Cron for example.net  

##
# check demons, limit sendmail, generate fwdmail aliases
##
*/10 * * * * /root/bin/10minutes.mail.sh | mail -E -s [ERROR] example.monkeybrains.net 
[EMAIL PROTECTED]

 */16 * * * * /root/bin/raid-status.sh CRON

##
# Anti-Spam measures
##
1 5 * * * /usr/local/etc/mail/blacklist2access.pl  | /usr/bin/mail -E -s [INFO] mail: 
blacklist2access script  [EMAIL PROTECTED]


## update the rules/balcklists list
40 5 * * * /usr/local/bin/sa-update --allowplugins --gpgkey 
D1C035168C1EBC08464946DA258CDB3ABDE9DC10 --channel saupdates.openprotect.com  
/usr/local/etc/rc.d/sa-spamd restart
48 5 * * * /usr/local/bin/sa-update  --channel updates.spamassassin.org  
/usr/local/etc/rc.d/sa-spamd restart


## and anti-virus
49 */2 * * *  su -m clamav -c '/usr/local/bin/freshclam --quiet'
@weekly /usr/bin/find /var/tmp/ -maxdepth 1 -and -path *clamav* -and -type d -and \! -newermt '2 
days ago' -and -delete





###
#  Clean stuff up
#  old trash, viruses, old spam,  and  authdaemon cache
###
## squirrelmail attachments
45 3 * * * /usr/bin/find /var/spool/squirrelmail/attach \! -newermt '9 day ago' 
-delete
## stuff marked as Trash or in Trash folder
55 3 * * * /usr/bin/find /home /data/virtual/ -path */Maildir/* -and -name *:*T -and \! 
-newermt '2 day ago' -delete
35 3 * * * /usr/bin/find /home/ /data/virtual/ -path */Maildir/.Trash/* -name *net* -and \! 
-newermt '4 day ago' -delete



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


Re: New gthumb port

2007-07-19 Thread Rudy Rucker

Pav Lucistnik wrote:

I was looking around, because gThumb is NOT showing any thumbnails 
for me.  :(   Here is my problem:
  
http://lists.freebsd.org/pipermail/freebsd-questions/2007-July/153663.html 




The error comes from gnome-vfs and means:
The file has too many hard links.


Hmmm... AFAIK, every image on my disk only has one hard link.  My /home 
is an 'ext2fs' partition.  Is that causing the breakage?


Wanted to try out Ubuntu, but Linux can't read/write UFS while FreeBSD 
can do ext2fs a-ok.


RUdy


Ah-ha!  I just confirmed!  If I open gthumb to a UFS mount, it works 
fine.  So, gnome-vfs doesn't like ext2fs.  Bummer!


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


gThumb 2.10.4- no thumbnails for me :(

2007-07-16 Thread Support (Rudy)


My gthumb doesn't show thumbnails.  :(  Nautilus does.
I tried
   rm -rf ~/.thumbnails
and that didn't help.  Also, I tried reinstalling gthumb.  Finally, I 
tried updating to 2.10.5 (by editing the port make file to use 2.10.5) 
and that didn't help either.


if I launch gthumb from a terminal window (instead of from the menu) I 
get this error:

  ** (gthumb:22031): WARNING **: Too many links

(actually, if I click on a folder with 12 images, I will get that 
message 12 times in my terminal window.


ANy recommendations on getting gthumb to show thumbnails?


Rudy


SYSTEM INFO:

6.2-STABLE FreeBSD i386

gthumb-2.10.4

@pkgdep pkg-config-0.21
@pkgdep xproto-7.0.10
@pkgdep inputproto-1.3.2
@pkgdep font-util-1.0.1
@pkgdep xmlcatmgr-2.2
@pkgdep xineramaproto-1.1.2
@pkgdep xf86vidmodeproto-2.2.2
@pkgdep xf86miscproto-0.9.2
@pkgdep xf86dgaproto-2.0.2
@pkgdep xextproto-7.0.2
@pkgdep videoproto-2.2.2
@pkgdep xtrans-1.0.3
@pkgdep jpeg-6b_4
@pkgdep kbproto-1.0.3
@pkgdep libiconv-1.9.2_2
@pkgdep sdocbook-xml-1.1,1
@pkgdep docbook-sk-4.1.2_4
@pkgdep scrnsaverproto-1.1.0
@pkgdep gettext-0.16.1_3
@pkgdep renderproto-0.9.2
@pkgdep recordproto-1.13.2
@pkgdep randrproto-1.2.1
@pkgdep python24-2.4.4
@pkgdep libICE-1.0.3,1
@pkgdep printproto-1.0.3
@pkgdep samba-libsmbclient-3.0.24
@pkgdep fixesproto-4.0
@pkgdep png-1.2.18
@pkgdep libxml2-2.6.27
@pkgdep perl-5.8.8
@pkgdep pciids-20070528
@pkgdep encodings-1.0.2,1
@pkgdep expat-2.0.0_1
@pkgdep freetype2-2.2.1_2
@pkgdep mkfontdir-1.0.2
@pkgdep glib-2.12.12_2
@pkgdep popt-1.7_4
@pkgdep py24-libxml2-2.6.27
@pkgdep libSM-1.0.2,1
@pkgdep libXdmcp-1.0.2
@pkgdep libvolume_id-0.75.0_1
@pkgdep libusb-0.1.12_1
@pkgdep libXau-1.0.3_2
@pkgdep libxslt-1.1.20
@pkgdep libiptcdata-1.0.2
@pkgdep shared-mime-info-0.21_2
@pkgdep libfontenc-1.0.4
@pkgdep mkfontscale-1.0.3
@pkgdep p5-XML-Parser-2.34_2
@pkgdep fontconfig-2.4.2_2,1
@pkgdep fontsproto-2.0.2
@pkgdep bitstream-vera-1.10_4
@pkgdep libXfont-1.2.8,1
@pkgdep libexif-0.6.13
@pkgdep libX11-1.1.2,1
@pkgdep libdaemon-0.11
@pkgdep font-misc-meltho-1.0.0_1
@pkgdep libgphoto2-2.3.1
@pkgdep libaudiofile-0.2.6
@pkgdep libart_lgpl-2.3.19,1
@pkgdep libXrender-0.9.2
@pkgdep libXfixes-4.0.3
@pkgdep libxkbfile-1.0.4
@pkgdep liboldX-1.0.1
@pkgdep libXext-1.0.3,1
@pkgdep libdmx-1.0.2
@pkgdep libXt-1.0.5
@pkgdep libXxf86vm-1.0.1
@pkgdep libXxf86misc-1.0.1
@pkgdep libXxf86dga-1.0.1
@pkgdep libXv-1.0.3,1
@pkgdep trapproto-3.4.3
@pkgdep libXvMC-1.0.4
@pkgdep libXtst-1.0.1
@pkgdep libxkbui-1.0.2
@pkgdep libXcursor-1.1.8_1
@pkgdep libXres-1.0.3_1
@pkgdep font-misc-ethiopic-1.0.0
@pkgdep fontcacheproto-0.1.2
@pkgdep font-bh-ttf-1.0.0
@pkgdep libXrandr-1.2.1
@pkgdep libXpm-3.5.6
@pkgdep libXp-1.0.0,1
@pkgdep libXprintUtil-1.0.1
@pkgdep damageproto-1.1.0_2
@pkgdep libXdamage-1.1.1
@pkgdep compositeproto-0.3.1
@pkgdep libXprintAppUtil-1.0.1
@pkgdep libXinerama-1.0.1,1
@pkgdep libXcomposite-0.3.1,1
@pkgdep libXi-1.0.2,1
@pkgdep libXevie-1.0.2
@pkgdep libXmu-1.0.3,1
@pkgdep linc-1.0.3_6
@pkgdep libXaw-1.0.2,1
@pkgdep libFS-1.0.0
@pkgdep libXTrap-1.0.0
@pkgdep tiff-3.8.2_1
@pkgdep libXft-2.1.12
@pkgdep libXScrnSaver-1.1.2
@pkgdep hicolor-icon-theme-0.10_2
@pkgdep cdrtools-2.01_6
@pkgdep xorg-fonts-truetype-7.2
@pkgdep libXfontcache-1.0.4
@pkgdep gnome_subr-1.0
@pkgdep xorg-libraries-7.2
@pkgdep startup-notification-0.9_1
@pkgdep intltool-0.35.5_2
@pkgdep libIDL-0.8.8
@pkgdep dbus-1.0.2_2
@pkgdep ORBit2-2.14.7_1
@pkgdep atk-1.18.0_1
@pkgdep gdbm-1.8.3_3
@pkgdep libbonobo-2.18.0_1
@pkgdep gamin-0.1.8_1
@pkgdep dbus-glib-0.73_1
@pkgdep cairo-1.4.6_1
@pkgdep policykit-0.1.20060514_4
@pkgdep gnomehier-2.2_1
@pkgdep pango-1.16.4_1
@pkgdep gtk-2.10.12_1
@pkgdep libgnomeprint-2.18.0_1
@pkgdep gnome-icon-theme-2.18.0_1
@pkgdep libglade2-2.6.0_3
@pkgdep gconf2-2.18.0.1_1
@pkgdep esound-0.2.38
@pkgdep libgnomecanvas-2.14.0_3
@pkgdep docbook-xml-4.2_1
@pkgdep docbook-xml-4.4
@pkgdep docbook-xml-4.3
@pkgdep docbook-xsl-1.71.1_2
@pkgdep scrollkeeper-0.3.14_8,1
@pkgdep dmidecode-2.8
@pkgdep gnome-mime-data-2.18.0_1
@pkgdep gnome-doc-utils-0.10.3_1
@pkgdep hal-0.5.8.20070403_2
@pkgdep avahi-0.6.18_1
@pkgdep gnome-vfs-2.18.1_1
@pkgdep libgnome-2.18.0_1
@pkgdep gnome-keyring-0.8.1_1
@pkgdep libbonoboui-2.18.0_1
@pkgdep libgnomeprintui-2.18.0_1
@pkgdep libgnomeui-2.18.1_1

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


gdk-pixbuf is stat stat stat stating my files

2007-06-29 Thread Rudy Rucker


My desktop is REAL slow.

Here is an example that something is awry.. if I run
# truss -o /tmp/truss xfce4-tips
and click CLOSE immediately when the window is launched (it takes about 
60 seconds) the truss file is large (76MB):

# ls -s /tmp/truss
 76128 /tmp/truss
# grep -c '/usr/local/share/icons/gnome' /tmp/truss
 531404
# find /usr/local/share/icons/gnome | wc -l
 5597
# grep 
'^stat(//usr/local/share/icons/gnome/22x22/status/stock_volume-min.png' 
/tmp/truss | grep volume-min | wc -l

 125

Things seem to go ape shit after this line in the truss output:
open(/usr/local/etc/gtk-2.0/gdk-pixbuf.loaders,O_RDONLY,00) = 5 (0x5)


So, here are the questions:
why does gdk-pixbuf have to stat every icon 125 times for a total of 
500,000+ stats just to launch one little window?


I can repeat the process with 'Terminal' and other programs...


System info
FreeBSD monchichi.monkeybrains.net 6.2-STABLE FreeBSD 6.2-STABLE i386 
(running on an AMD)

gdk-pixbuf-0.22.0_6
xfce-4.4.1_1


THanks for any tips... running cvsup right now and attempting to upgrade 
(if possible) pixbuf

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


Re: gdk-pixbuf is stat stat stat stating my files

2007-06-29 Thread Rudy Rucker


Thanks!  That fixed up the desktop!

Rudy



See gtk-update-icon-cache(1) manpage and try running it as root with -f
flag. Permissions on icon-theme.cache files is the reason I can think
of.


HTH,
Yuri


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


Re: How can I manually turn off the HDD?

2007-02-14 Thread Daniel Rudy
At about the time of 2/13/2007 10:58 AM, Chuck Swiger stated the following:
 On Feb 13, 2007, at 7:47 AM, [EMAIL PROTECTED] wrote:
 How can I turn off the HDD? .. and leave the buffers in the memory,  
 until the RAM is full .. then spin up the drive, write out the  
 data, then it turn off again.
 
 ENOTSUPPORTED, at least with FreeBSD.  Note that Apple has done a lot  
 of work to facilitate drive spindown for power-saving reasons for  
 their laptops, so MacOS X will make a reasonable attempt to spindown  
 the drives until really needed
 

There is a port called ataidle that you may want to look at.  It
programs the HDD to spin down after a specified timeout.

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


Re: Newbie--new install on Core 2 Duo?

2007-02-14 Thread Daniel Rudy
At about the time of 2/13/2007 12:07 PM, pete wright stated the following:
 On 2/13/07, Gerard [EMAIL PROTECTED] wrote:
 On Tuesday February 13, 2007 at 01:42:23 (PM) pete wright wrote:


 how would you define correct?  have all systems boot with a SMP
 kernel by default so that machines with multiple processors
 automatically detect all available CPU's?  then what about all the
 users that are using uni-proc systems?

 i think the current state of building a system w/o SMP enabled is
 great.  it's not that hard to do a:

 cd /usr/src
 make buildkernel KERNCONF=SMP
 make installkernel KERNCONF=SMP
 reboot

 this is all covered in the FreeBSD handbook, which all new
 admin's/users should be reading and following closely anyway ;)
 It is also a hugh waste of time. Doing the initial system installation,
 there should be an option at the very least to enable SMP. Installing
 a system, then having to rebuilt and and reinstall it again if counter
 productive.

 The market is moving toward multiple CPUs. The FBSD installation routine
 should embrace that reality and afford it the proper consideration that
 it deserves.

 
 hmm...didn't realize that not loading a SMP kernel by default would
 turn people away from running FreeBSD.  building a kernel is much
 different from reinstalling a system though...
 
 OT, but - I know a fair amount of locations will have a custom kernel,
 and most large sites will script sysinstall to load a custom kernel as
 well.  yet, for junior admins maybe a boot time option allow one to
 load a SMP kernel during the install phase (which would also be the
 kernel the system boot's from after installation) may be helpfull.
 There are currently options to disable ACPI (granted that's a .ko) but
 perhaps there is precedent to do this.
 
 
 anyway, sounds like a good PR :)
 
 -pete
 
 
 

Interesting.

I have a computer here that's a AMD 64 3700 and it's not dual core, but
the board is capable of using a X2 processor, so loads a SMP kernel
anyways.  It seems to work just fine with the single core, single CPU.
The thing is though is that it refers to the CPU as cpu0.  Doing it this
way just might be the future...

Oh, and I didn't tell it to use the SMP kernel.  Sysinstall did that
itself.  So based on this behavior, if the bios reports SMP capable (the
bios shows CPU 0 during the post), then sysinstall loads a SMP kernel?

I have to turn acpi off though otherwise I get dead lock up problems.



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


FreeBSD + Asus V2-AH2 + SamSung SyncMaster 204bw

2006-11-27 Thread Rudy Rucker


*** HOW-TO: FreeBSD + Asus V2-AH2 + SamSung SyncMaster 204bw ***
Short answer: FreeBSD 6.2 i386

Phew, I spent a better part of the Thanksgiving weekend getting my new 
machine up and running.  Hopefully, these notes will help out other 
people with Axux V2-AH2 barebones systems.


Motherboard seems similar to the Asus: M2NPV-VM
Graphics chip: Nvidia C51PV
High Definition Audio chip: MCP51
Ethernet driver: nve

I started with 6.1-amd64-release and found all kinds of problems:
 x  ethernet was not working
 x  nv driver in X windows would not do the
native monitor resolution 1680x1050
 x  the nVidia X drivers don't work at all on amd64
 x  the audio would not work at all

*** ETHERNET ***
OK, so step one was putting in an old RealTek ethernet card so I could 
update the ethernet driver.  Sure enough, 6.2-RC1 has the nve driver in it.


*** VIDEO ***
Next was the video driver.  I tried updating X from 6.9 to 7.2 following 
these directions:

 http://wikitest.freebsd.org/ModularXorg
Still, the 'nv' driver did not work as desired --- I couldn't get it to 
run 1680x1050 pixels on my SyncMaster monitor.  I tried downloading the 
nVidia drivers:

 http://www.nvidia.com/object/freebsd_1.0-8776.html
but they only work on i386.  I had to start over and reinstall i386 and 
forgo amd64.  :(  As far as I can tell, there is no way to run Mixed 
Mode kernel objects.  You can run i386 binaries on an amd64 system, 
however, you can't load a i386 ko into a running amd64 kernel.


The nvidia site states:
 If you are using FreeBSD 6.x, you will need to make sure
 that the 'compat5x' package is installed.

Well, I have found you need more than that!  You need the 5x /lib stuff 
as well.  You have to copy the FreeBSD 5.x libraries from somewhere to 
run the nvidia-xconfig script.  Here is what I did:

  rsync -av host-running-5.5:/lib/ /lib55
  cd /lib
  ln -s /lib55/libm.so.3 .
  ln -s /lib55/libc.so.5 .

After running nvidia-xconfig, X windows launches with the proper resolution.

*** AUDIO ***
The last step was getting the audio to work.  The snd_hda driver is needed.

The easiest way to do this, is to download the binary snd_hda module. 
get sndkld_releng6_i386_lowlatency.tar.gz from here:

 http://people.freebsd.org/~ariff/lowlatency/
You need to unpack that tarball and copy sound.ko and snd_hda.ko into 
/boot/kernel.  Then run:

 kld_load snd_hda
Oh, if you already have the old sound.ko loaded, unload it first.

Here is more info on the snd_hda driver:
http://people.freebsd.org/~ariff/
http://lists.freebsd.org/pipermail/freebsd-multimedia/2006-September/004864.html


More references:
Asus site
http://www.asus.com/products4.aspx?l1=1l2=1l3=0model=1159modelmenu=1

This page (and any updates)
http://www.monkeybrains.net/~rudy/example/asus_V2-AH2.html



- Rudy
monkeybrains.net





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


Re: kernel: calcru: negative runtime of -604787 usec for pid 16 (yarrow) messages..

2006-10-11 Thread Rudy


Rob G. asked about calcru: negative runtime  on Sun, 24 Sep 2006 13:14:27
and was not answered.  Well, I too have PDSMi+ motherboards and am 
getting the same error.


What is this error?
Is anyone else using the SuperMicro PDSMi+ motherboards with success?

I am running '6.1-RELEASE FreeBSD' and installed the i386 SMP kernel.

From:   sys/kern/kern_resource.c

   if ((int64_t)tu  0) {
   printf(calcru: negative runtime of %jd usec for pid %d 
(%s)\n,

   (intmax_t)tu, p-p_pid, p-p_comm);
   tu = ptu;
   }   



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


Re: That Drive Geometry Bug

2005-12-27 Thread Daniel Rudy
At about the time of 12/26/2005 5:45 PM, [EMAIL PROTECTED] stated the
following:
 I am trying to back up the drive I have been using (which is now full)
 onto a 60GB Seagate IDE drive - ST360020A. After a bunch of failures at
 configuring the disk, I did some searching on the web and found some info
 on the drive geometry bug.
 
 I followed the directions I found there - essentially, go into my BIOS at
 boot time, write down the drive geometry that the BIOS thinks I have and
 then plug those numbers into FreeBSD fdisk at the beginning of
 installation.
 
 What happened:
 1. FreeBSD complained that the drive geometry it was seeing was wrong, and
 was using its own best guess: 7297/255/63.
 2. I hit G and edited the C/H/S to that which the BIOS reported:
 28733/16/255.
 3. I hit Enter; the installer said `Nope, you're wrong! I'm going to use
 my best guess instead!'
 
 No matter how many times I try to enter the info, it changes it back to
 whatever it thinks is more correct.
 
 I tried switching the head and sector info (trying 28733/255/16). but no joy.
 
 Is there a way to coax the installer into cooperating?
 
 Thanks -
 -- paz.

I just recently ran into this problem myself.  Just use FreeBSD's best
guess and it will work fine.  If you set the BIOS to LBA mode, you will
find that matches FreeBSD's best guess.

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


Re: How do I know if my internal PCI modem works on FreeBSD?

2005-12-06 Thread Daniel Rudy
At about the time of 12/4/2005 7:46 PM, Foo Ji-Haw stated the following:
 Thanks for the good feedback.
 
 Is there a particular modem chipset which if it is spotted on the card, it
 is confirmed that it's more than a WinModem?
 
 

There are various chipsets by both Lucent and Conextent (Formerly known
as Rockwell).  It seems that most of the hardware modems that I have
come across use Conextent chipsets, but that can be hit and miss.  Every
Lucent one that I have seen is a Winmodem.  90 pecent of the time, if
it's a PCI modem, then it's a Winmodem.

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


Re: schedule a script at system startup

2005-12-04 Thread Daniel Rudy
At about the time of 12/3/2005 5:18 PM, Ian Lord stated the following:

 Hi,
 
 I would like to run a shell script at system startup which needs to 
 run under a specific uid...
 
 I don't see anything for this in man cron...
 
 is there a way to do it with cron ? or otherwise is there another way ?
 
 I guess there might be a way to put a script in /etc/rd.d/ but I 
 don't know how to run it under a specifid uid
 
 Any help would be appreciated
 
 Thanks
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 

@reboot username command

The @reboot is a BSD extension.

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


Re: How do I know if my internal PCI modem works on FreeBSD?

2005-12-04 Thread Daniel Rudy
At about the time of 12/3/2005 7:38 AM, Wojciech Puchar stated the
following:

Basically, it all depends on how much you spent for the modem.  A $15-20
modem is more than likely a WinModem (software modem) which FreeBSD does
*NOT* support without a third party driver.  If the modem cost $70-100,
and it is recongized as a serial port by the sio driver, then it
probably will work.
 
 
 
 externally connected modems (by serial) costs less than $100 anyway and do 
 work for sure.
 
 many external modems does connect by USB port and can be cheaper, but 
 check for hayes compatible label (or similar) as some USB modems are 
 winmodems too.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 

So, some USB modems are winmodems now?  I was not aware of that.
Besides, who wants a USB modem anyways?  I didn't mention the external
modems because the OP was asking specifically about his internal PCI modem.

A good internal PCI hardware (controller based) modem is the Zoom 2920.
 They run about $80 or so at Fry's...If you can find them.  Or talk to
Zoom directly at http://www.zoom.com.

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


Re: How do I know if my internal PCI modem works on FreeBSD?

2005-12-03 Thread Daniel Rudy
At about the time of 11/30/2005 10:50 PM, Foo Ji-Haw stated the following:

 Hello there,
 
 I'm thinking of plugging in a Motorola PCI modem into my
 FreeBSD box to act as a fax server (using HylaFax). I tried to
 look for documentation on the installation or support of such
 a modem on FreeBSD (Google, the Handbook), but found none.
 Can anyone point me in the right direction, or better still:
 tell me if my modem will work in FBSD 5.4?
 
 Thanks.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 

Please wrap your lines properly.


Basically, it all depends on how much you spent for the modem.  A $15-20
modem is more than likely a WinModem (software modem) which FreeBSD does
*NOT* support without a third party driver.  If the modem cost $70-100,
and it is recongized as a serial port by the sio driver, then it
probably will work.

The reason why I threw the cost of the equipment into the mix was
because the cheap modems don't have the controller, DSP, data pump, or
other required hardware.  All the functions of those components is
emulated in the software of the host system.  This is why that are known
as software modems.  A hardware modem costs much more, but it also has
all the required hardware such as the controller, DSP, data pump, etc.
so it can function independantly of the host system software.

You can also generally tell by looking at the modem itself.  Usually, if
you see a chip that has what looks like version numbers on it, as well
as one or more large square chips and lots of circutry, then you
probably have a hardware modem.  The best way is lookup the model number
on the manufacturer's web site and see what it is.  If it says it's only
compatible with Windows, then more than likely it's a software modem.

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


Spash screen will not come up

2005-10-18 Thread Daniel Rudy

Hello,

I'm running FreeBSD 5.4-RELEASE.  The problem that I have is that the
splash screen will not come up.  I have made sure that the bmp is 256
colors.  I have tried uncompressed and RLE compressed bmps.  The RLE
compressed versions worked in 4.x.  I have also added the approperiate
lines to /boot/loader.conf.  It seems that ever since I upgraded to 5.x,
I have not been able to get a splash screen.  Upon further examination,
I see this in the dmsg when the system boots:

module_register_init: MOD_LOAD (splash_bmp, 0xc06e4810, 0) error 2

Any ideas as to why I am getting this error?

/boot/loader.conf:
strata:/home/dr2867 1026 $$$ -more /boot/loader.conf
# Verbose output from loader
# verbose_loading=YES # Set to YES for verbose loader output

# Show Splash Graphic
splash_bmp_load=YES   # Set this to YES for bmp splash screen!
bmp_load=YES  # Load bitmap
bitmap_name=/boot/splash.bmp  # Set this to the name of the bmp or pcx
file

# Boot Menus and Delay
autoboot_delay=5  # Delay in seconds before autobooting
beastie_disable=NO# Turn the beastie boot menu on and off

# Panic crashdumps go here
dumpdev=ad0s1b# Set swap device for crash dumps

-- 
Daniel Rudy

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


Re: Spash screen will not come up

2005-10-18 Thread Daniel Rudy
 --- David Kirchner [EMAIL PROTECTED] wrote:
 On 10/18/05, Daniel Rudy [EMAIL PROTECTED] wrote:
 
  Hello,
 
  I'm running FreeBSD 5.4-RELEASE.  The problem that
 I have is that the
  splash screen will not come up.  I have made sure
 that the bmp is 256
  colors.  I have tried uncompressed and RLE
 compressed bmps.  The RLE
  compressed versions worked in 4.x.  I have also
 added the approperiate
  lines to /boot/loader.conf.  It seems that ever
 since I upgraded to 5.x,
  I have not been able to get a splash screen.  Upon
 further examination,
  I see this in the dmsg when the system boots:
 
  module_register_init: MOD_LOAD (splash_bmp,
 0xc06e4810, 0) error 2
 
 I believe error 2 in this context means No such
 file or directory.
 Maybe it's expecting the bmp to be somewhere else?
 ___
 freebsd-questions@freebsd.org mailing list

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

That's interesting because I have specified the
absolute path of the bitmap file in /boot/loader.conf.

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


Re: Controlling init on shutdown/reboot

2003-12-05 Thread Daniel Rudy
Somewhere around the time of 12/02/2003 00:12, the world stopped and
listened as Rob contributed this to humanity:
 I haven't used ppp(8) - I prefer pppd(8) -  so I'm not familiar with
 ppp.linkdown.sh. If this is a shell script, there's a couple of things that
 I've seen cause strange script behaviour: lack of default environment and
 lack of TTY. This usually shows up in scripts that work fine at the command
 line, but fail under other circumstances (such as crontabs).
 
 Does it take more than 2 minutes at the command line?
 
 Have you tried adding
 
 set -x
 
 at the start to see where it's failing? If it's called by rc.shutdown the
 output should be to the console, but I'm not sure what ppp(8) does with
 script output.
 

The script is called by ppp on a link down event.  That is a link down
for ANY reason, including a shutdown.  The problem is that ppp doesn't
differentiate on why the link went down, just that it went down.  Now,
when rc.shutdown executes, it writes a stop file to /tmp that
ppp.linkdown.sh checks for.  If it finds that file, then I have it do
something alittle different.  Does it take long to execute?  Nope, it
runs quite fast, which may be part of the problem.  Because this is
called from ppp and not rc.shutdown, init is killing it before it
finishes because init thinks that it is not part of the system shutdown
sequence.
-- 
Daniel Rudy

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


Controlling init on shutdown/reboot

2003-12-01 Thread Daniel Rudy
Hello,

How does one allocate more time for /etc/rc.shutdown?  It seems that
some of my scripts are not being executed when the system shuts down or
reboots.

-- 
Daniel Rudy

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


Re: Controlling init on shutdown/reboot

2003-12-01 Thread Daniel Rudy
Somewhere around the time of 12/01/2003 03:32, the world stopped and
listened as Rob contributed this to humanity:

From line 99 of /usr/src/sbin/init/init.c,
 
   #define DEATH_SCRIPT  120  /* wait for 2min for /etc/rc.shutdown */
 
 and on line 1576 it looks like you can change this with the sysctl
 'kern.shutdown_timeout'.
 
 But 2 minutes is a long time for a shell script - are you sure that
 everything is working correctly?

The problem is that a ppp.linkdown.sh script needs to do something and
it's not doing it.  Works fine if I execute the script normally from the
command line though using the approperiate parameters that ppp would
send it.  It seems that init is killing the script before the script can
finish, which is the problem.

BTW, that oid, kern.shutdown_timeout does not exist.  I'm running
4.9-RELEASE.


 - Original Message -
 From: Daniel Rudy [EMAIL PROTECTED]
 Subject: Controlling init on shutdown/reboot
 
 
 
Hello,

How does one allocate more time for /etc/rc.shutdown?  It seems that
some of my scripts are not being executed when the system shuts down or
reboots.

--
Daniel Rudy

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


-- 
Daniel Rudy

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


PPP modem init string

2003-09-24 Thread Daniel Rudy
Hello,

How do I get PPP to send an init string to my modem?  I'm using
different PPP profiles in /etc/ppp/ppp.conf, and each one has a
different requirement for the configuration of the modem such as
outbound ISP and incoming.

Thanks.
-- 
Daniel Rudy


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


Re: PPP modem init string

2003-09-24 Thread Daniel Rudy
Somewhere around the time of 09/24/2003 12:31, the world stopped and
listened as fbsd_user contributed this to humanity:
 The (set dial) option sends Hayes 'AT' commands to the modem only
 for dial out. Totally different situation for dial in to FBSD. In
 that case you have to use the Hayes 'AT' commands to setup and save
 your modem configuration in the modem's nvram. You have to tell the
 modem to go into answer mode when the modem is powered on. That's
 the only way to get it to pick up the inbound call.
 
 Check the questions archives, this question has been answered many
 times before and there are detailed instructions on how to setup you
 modem and PPP to do this. Search for key works 'PPP dial in'  or
 'FBSD answering modem' or 'inbound calls'
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Daniel Rudy
 Sent: Wednesday, September 24, 2003 11:54 AM
 To: [EMAIL PROTECTED]
 Subject: PPP modem init string
 
 Hello,
 
 How do I get PPP to send an init string to my modem?  I'm
 using
 different PPP profiles in /etc/ppp/ppp.conf, and each one has a
 different requirement for the configuration of the modem such as
 outbound ISP and incoming.
 
 Thanks.
 --
 Daniel Rudy
 
 
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]
 

I think that the mail archive search engine is broken.  No matter what I
try for a search query, it never finds anything.

-- 
Daniel Rudy

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


Re: Finding your dynamic external IP

2003-08-03 Thread Daniel Rudy
Somewhere around the time of 08/03/2003 15:13, the world stopped and
listened as David S. Jackson spoke these words of wisdom...:
If your external IP number changes, as with DHCP, is there a way
to find out what it currently is?  I was thinking you could keep
BitchX logged into a chat channel and script a /dns yournick and
email yourself the results from time to time.   

How would you do it?

If you know what interface you are running on, then you can do this to 
get the IP address:

ifconfig interface | head -2 | tail -1 | awk '{print $2}'

to get the IP address.  Then if you want to mail it to yourself, then 
you can do the following:

/usr/bin/printf Current IP address: `ifconfig interface | head -2 | 
tail -1 | awk '{print $2}'`\n | /usr/bin/mail -s IP Address 
Assignment root 

To update your Dynamic DNS, use the following:

ddclient -use=if -if=interface

This will run ddclient in daemon mode so that anytime the IP address 
changes on interface it will update the DDNS provider's servers.
--
Daniel Rudy

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