Re: Questions about HUP'ing nfsd

2007-10-13 Thread Derek Ragona

At 10:25 AM 10/12/2007, Michael Smith wrote:

Hello All:

We have a NAS that's running 6.2 with nfds, mountd, rpc_statd,
rpcbind and rpc_lockd.  Last night we had a scenario where nfs
clients, once disconnected, couldn't reconnect to the NAS, reporting
RPC timeouts.

We attempted to restart all of the services above in various orders,
but we were not able to get the clients reconnected.  We ultimately
rebooted the NAS server and all was well.

My question is, in troubleshooting this sort of thing, is there a
proper sequence for stopping and restarting the various services
associated with nfs?   Any hints would be greatly appreciated.

Regards,

Mike


I wouldn't know the right order, and even if you did stop and start 
everything in the right order, it may not fix the problem.  Your problem 
could be in the network stack, or someplace else.  That is why I usually:

If in doubt, reboot it out

Your users already couldn't connect correctly, so no real harm in a reboot.

-Derek

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.

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


FreeBSD locks up on J7F4 motherboard

2007-10-13 Thread Thomas Gielfeldt
Hi

Has anyone any experience with the Jetway Motherboards and FreeBSD?

My motherboard is a Jetway 7F4K1G2E-PB has dual gigabit lan (realtek) detected 
as re0 and re1. I'm trying to install FreeBSD 6.2 Release, but as soon as it 
tries to dhcp on re1, it freezes. I have to power off and on.

I've also tried booting an already installed FreeBSD 6.2 stable, but this also 
resulted in a freeze when re1 comes up. It just freezes, no messages or 
anything. 

Somewhere on the net, I saw someone who said that it only happens after a 
cold-reset. I've been part able to confirm this, but even after getting freebsd 
up and running with both nics up, after a while it just locks up.

I've tried changed from auto-sense to e.g. base1000tx full-duplex, but that did 
not resolve the issue either. I'm not entirely sure that the problem are the 
nics, but it seems to point in that direction.

Windows XP runs fine, so it shouldn't be a hardware error. However running XP 
is not the solution to my problems :-)

Does anyone know this problem, or perhaps (even better) a solution to it?

Thanks.

Br,

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


Re: help with text-append over SSH ? - dd: unknown operand

2007-10-13 Thread Svein Halvor Halvorsen
 I want to append the contents of a local text file
 to the contents of
 a remote text file, over SSH.

:

Andrew Pantyukhin wrote:
 cat file1 | ssh [EMAIL PROTECTED] dd -of file2

That will replace the contents of file2, not append it. Also it
should be dd of=file1. However, you can use seek=n to append,
like this:

cat file1 | ssh remote dd of=file2 seek=n

... where n is the length of file2
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Install FreeBSD on hp notebook

2007-10-13 Thread Zhang hw
I have installed my freebsd os with acpi disabled finally. But I could
only enter the system with acpi disable and I will get the system
halt , press any key to reboot result if I shutdown -p the system,
how to deal with it? I have tried amd64 and i386 version, the amd64
version show the cpu as k8-class and the i386 version show it as
686-class, and there are some errors on the amd64 version but the i386
version run without error messages show up, shouldn't I choose the
amd64 version?
Thanks!

2007/10/12, Zhang hw [EMAIL PROTECTED]:
 Hello everyone!
 I have a hp 6515b notebook ,  the cpu is amd athlon(tm) 64x2 dual core
 tk-53(1700mhz), with 512m shared ddrII memory , and the gpu is ati
 radeon x1250. I've download the 6.2-release-amd64-disc1.iso , but
 there are some problems when I install the freebsd on the notebook ,
 sometimes the install process stop at probing device , and sometimes
 stop at selecting country with the keyboard has no response .
 Is there anyone who has some experience on this ?

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


Re: rpc_lockd and syslogd

2007-10-13 Thread mr. phreak
Message: 16 Date: Sat, 13 Oct 2007 01:06:26 +0200 From: Mel 
[EMAIL PROTECTED] Subject: Re: rpc_lockd and syslogd 
To: freebsd-questions@freebsd.org Message-ID: 
[EMAIL PROTECTED] Content-Type: 
text/plain; charset=iso-8859-1 On Saturday 13 October 2007 00:41:31 
mr. phreak wrote:



 I have a chicken-egg problem. On my diskless setup the syslogd gives me
 this error during boot:

 syslogd: cannot open pid file: operation not supported

 And I tracked the issue to flock() and enabled rpc_lockd. Still it gives
 me the same error - because rpc_lockd
 starts AFTER syslogd does. I've tried fiddling around with REQUIRES and
 PROVIDES in the rc.d files but I cannot make it work... It gives me the
 error anyway. (or other errors due to rc.d-hacking)... is there any way
 to solve this? I'd appreciate some help!

 when running syslogd when logged in it doesn't give me the error so I
 guess rpc_lockd *really* is the sollution.
  


Or the solution is specifying a pid file on a memory disk? I can't think of 
any issues with /var/run being /dev/md*, but there might some. In any case, 
syslogd_flags=-s -P /tmp/syslogd.pid should work as well. The issue I see 
with that is that /etc/rc.d/syslogd doesn't expose it's pidfile for outside 
configuration.


-- Mel Since I don't have memorydisks, only nfs-mounts (/tmp and /var) 
the problem still remains. It's really a chicken-egg problem and I can't 
find any new point of view to tackle the issue. The best would be if 
someone successfully have altered the rc.d-scrips for a correct rcorder 
and would like to share it - i.e rpc_lockd BEFORE syslogd. J


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


Re: PF ALTQ CBQ rules

2007-10-13 Thread Ovi

Mel wrote:


On Saturday 13 October 2007 00:17:32 Ovi wrote:
 


Hello guys

I have this example from OpenBSD:

altq on $br1_if cbq bandwidth 20Mb qlimit 100 tbrsize 1000 queue { std1,
customer_1 } queue customer_1 bandwidth 1Mb cbq(red,ecn) { customer_1_bulk,
customer_1_ack } queue customer_1_ack priority 7
queue customer_1_bulk priority 0

I want to use CBQ on FreeBSD, with similar rules still I have the
following problem:
On a 20Mb internet line I have 100 users. I want to limit (cap)
bandwidth per user at 1 Mb and to add queues for all 100 users.
The problem is that on FreeBSD this rules are not working, instead I
must use this:

altq on $br1_if cbq bandwidth 20Mb qlimit 100 tbrsize 1000 queue { std1,
customer_1 } queue customer_1 bandwidth 1Mb cbq(red,ecn) { customer_1_bulk,
customer_1_ack } queue customer_1_ack bandwidth 800Kb priority 7
queue customer_1_bulk bandwidth 128Kb priority 0


This bandwidth option does not help me because I must not exceed 1 Mb.
   



This can't be done with cbq, because in cbq the sum of child queues must match 
the interface bandwidth or less. Use hfsc for this.

Also, you reserve 80% for ack and 20% for bulk, you might wanna reverse that.

 


So my question is: how I do bandwidthupper limit with CBQ per user, like
no more than 1 Mb, and add rules for 100 users?
   



See above.

A good resource on HFSC:
http://www.probsd.net/pf/index.php/HFSC

It would look something like this:
# Use interface bandwidth, so your interface doesn't get limited
altq on $br1_if bandwidth 100Mb hfsc(upperlimit 100Mb) queue { \
NO_CUSTOMER, \
CUSTOMERS
}
# Any traffic not assigned to a customer comes on the NO_CUSTOMER queue.
# Backlogged traffic consumes a maximum of 80Mbit
# There's always 55Mbit available.
# Realtime values may not exceed 75% of root queue
queue NO_CUSTOMER bandwidth 80Mb hfsc(realtime 55Mb default)

# Create a customers root queue, setting hard limits for any customers
# It ensures the entire internet connection is available at all times
# and also limits it to that ammount
queue CUSTOMERS bandwidth 20Mb hfsc(realtime 20Mb upperlimit 20Mb) { \
customer_1, \
customer_2, \
..., \
}
# Assign 1% per customer (100 customers) for backlogged traffic.
# No realtime guarantees, let hfsc figure out how to spend the 20Mbit
# from the CUSTOMERS parent queue.
# No customer gets more then 1Mbit even if he's alone surfing the net.
queue customer_1 bandwidth 1% hfsc(linkshare 1% upperlimit 1Mb) \
{ customer_1_bulk, customer_1_ack }
# default priority is 1
queue customer_1_bulk bandwidth 80% hfsc
queue customer_1_ack bandwidth 20% priority 2 hfsc

 


Thank you for your answer!

Well, I've simplified the example. My real situation is that I have 2500 
users, sharing 100 Mb fiber optic line..

For 2500 users 1% will be too much. Can I use 0.25% ?

Also regarding HFSC, I know is an linear algorytm, which means many does 
not scale well for lots of users. I know is hardcoded at 64, I've 
modified and used with success for up to 500 queues. For more queues it 
is working very slow, even with Xeon CPUs. So for 2500 users I would 
probably need 4-5 separate machines.


I've used rules similar to your HFSC example, and I had to switch to 
ipfw + dummynet because of poor performance (on one machine) of HFSC 
with so many queues. (using ipfw+dummynet, multiple pass, to a limiting 
pipe then to queues to share load is working ok for browsing but I have 
2 issues: first the traffic is not stable, it variates to much, second 
the traffic does not reach 100 Mbps which is my bandwidth (if i disable 
the firewall,when trafic goes to 100 Mbps). I have to mention that CPU 
is 95% idle.


So my question is, what would be a choice to shape bandwidth with 
FreeBSD for like 2000 users, with bandwidth limiting, and sharing using 
clases. On linux it works for 1000-2000 users using HTB, (tc, traffic 
control) and scales well, but I want to use FreeBSD, there must be a way 
to get similar performance on FreeBSD too.


Thank you again, and
Best Regards,
ovi

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


Re: Howto: Prepare USB key with FreeDOS using FreeBSD

2007-10-13 Thread CyberLeo Kitsana
O. Hartmann wrote:
 Does anyone do have an idea?

Ah, the disproportionate march of progress...

The easy way out would be to procure a USB floppy drive. If the machines
support booting from a USB stick, they can handle booting a USB floppy
in legacy mode.

If you're really bent on using a USB thumbdrive, you're in for quite a
ride. Due to the way DOS is designed, it needs a pretty nonstandard
(nowadays) method of booting.

You could 'format' the thumbdrive with FAT12 or FAT16 and put the files
on there, but you would need to find a way to do so from within DOS
itself, as neither Linux nor FreeBSD can create FAT filesystems that
boot DOS.

Your best bet is to use an already existing bootable DOS floppy image,
loading the files onto there (using mdconfig to mount it), and using
GRUB (or another modern boot loader) and memdisk (part of syslinux) to
boot the floppy image off the thumbdrive. This worked for me when
building a thumbdrive capable of booting Norton Ghost, PM8, FreeDOS, and
a few other DOS-only utility diskettes. I believe it's also the method
used by the Ultimate Boot CD.

Good luck!

-- 
Fuzzy love,
-CyberLeo
Technical Administrator
CyberLeo.Net Webhosting
http://www.CyberLeo.Net
[EMAIL PROTECTED]

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


Re: rpc_lockd and syslogd

2007-10-13 Thread Mel
On Saturday 13 October 2007 14:37:30 mr. phreak wrote:
  Message: 16 Date: Sat, 13 Oct 2007 01:06:26 +0200 From: Mel
  [EMAIL PROTECTED] Subject: Re: rpc_lockd and syslogd
  To: freebsd-questions@freebsd.org Message-ID:
  [EMAIL PROTECTED] Content-Type:
  text/plain; charset=iso-8859-1 On Saturday 13 October 2007 00:41:31
 
  mr. phreak wrote:
I have a chicken-egg problem. On my diskless setup the syslogd gives
me this error during boot:
   
syslogd: cannot open pid file: operation not supported
   
And I tracked the issue to flock() and enabled rpc_lockd. Still it
gives me the same error - because rpc_lockd
starts AFTER syslogd does. I've tried fiddling around with REQUIRES
and PROVIDES in the rc.d files but I cannot make it work... It gives
me the error anyway. (or other errors due to rc.d-hacking)... is
there any way to solve this? I'd appreciate some help!
   
when running syslogd when logged in it doesn't give me the error so I
guess rpc_lockd *really* is the sollution.
 
  Or the solution is specifying a pid file on a memory disk? I can't think
  of any issues with /var/run being /dev/md*, but there might some. In any
  case, syslogd_flags=-s -P /tmp/syslogd.pid should work as well. The
  issue I see with that is that /etc/rc.d/syslogd doesn't expose it's
  pidfile for outside configuration.
 -- Mel Since I don't have memorydisks, only nfs-mounts (/tmp and /var)
 the problem still remains. It's really a chicken-egg problem and I can't
 find any new point of view to tackle the issue. The best would be if
 someone successfully have altered the rc.d-scrips for a correct rcorder
 and would like to share it - i.e rpc_lockd BEFORE syslogd. J

You can't spare 4MB of memory for a memory disk? On my system /var/run isn't 
even 100k so you can probably do with 256KB one to be on the safe side. View 
mount_mfs(8) for more info.

If you can't, I don't think poking around with rcorder(8) is a good thing. But 
you can perhaps set syslogd_enable to NO and start it from an @reboot 
crontab. This would cause some boot logging to be lost, but rpc_lockd would 
start before syslog.

Or you can send-pr(1) and request support for rpc_lockd being started before 
syslogd.
-- 
Mel
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: PF ALTQ CBQ rules

2007-10-13 Thread Mel
On Saturday 13 October 2007 16:04:10 Ovi wrote:
 Mel wrote:
 On Saturday 13 October 2007 00:17:32 Ovi wrote:
 Hello guys
 
 I have this example from OpenBSD:
 
 altq on $br1_if cbq bandwidth 20Mb qlimit 100 tbrsize 1000 queue { std1,
 customer_1 } queue customer_1 bandwidth 1Mb cbq(red,ecn) {
  customer_1_bulk, customer_1_ack } queue customer_1_ack priority 7
 queue customer_1_bulk priority 0
 
 I want to use CBQ on FreeBSD, with similar rules still I have the
 following problem:
 On a 20Mb internet line I have 100 users. I want to limit (cap)
 bandwidth per user at 1 Mb and to add queues for all 100 users.
 The problem is that on FreeBSD this rules are not working, instead I
 must use this:
 
 altq on $br1_if cbq bandwidth 20Mb qlimit 100 tbrsize 1000 queue { std1,
 customer_1 } queue customer_1 bandwidth 1Mb cbq(red,ecn) {
  customer_1_bulk, customer_1_ack } queue customer_1_ack bandwidth 800Kb
  priority 7 queue customer_1_bulk bandwidth 128Kb priority 0
 
 
 This bandwidth option does not help me because I must not exceed 1 Mb.
 
 This can't be done with cbq, because in cbq the sum of child queues must
  match the interface bandwidth or less. Use hfsc for this.
 Also, you reserve 80% for ack and 20% for bulk, you might wanna reverse
  that.
 
 So my question is: how I do bandwidthupper limit with CBQ per user, like
 no more than 1 Mb, and add rules for 100 users?
 
 See above.
 
 A good resource on HFSC:
 http://www.probsd.net/pf/index.php/HFSC
 
 It would look something like this:
 # Use interface bandwidth, so your interface doesn't get limited
 altq on $br1_if bandwidth 100Mb hfsc(upperlimit 100Mb) queue { \
  NO_CUSTOMER, \
  CUSTOMERS
 }
 # Any traffic not assigned to a customer comes on the NO_CUSTOMER queue.
 # Backlogged traffic consumes a maximum of 80Mbit
 # There's always 55Mbit available.
 # Realtime values may not exceed 75% of root queue
 queue NO_CUSTOMER bandwidth 80Mb hfsc(realtime 55Mb default)
 
 # Create a customers root queue, setting hard limits for any customers
 # It ensures the entire internet connection is available at all times
 # and also limits it to that ammount
 queue CUSTOMERS bandwidth 20Mb hfsc(realtime 20Mb upperlimit 20Mb) { \
  customer_1, \
  customer_2, \
  ..., \
 }
 # Assign 1% per customer (100 customers) for backlogged traffic.
 # No realtime guarantees, let hfsc figure out how to spend the 20Mbit
 # from the CUSTOMERS parent queue.
 # No customer gets more then 1Mbit even if he's alone surfing the net.
 queue customer_1 bandwidth 1% hfsc(linkshare 1% upperlimit 1Mb) \
  { customer_1_bulk, customer_1_ack }
 # default priority is 1
 queue customer_1_bulk bandwidth 80% hfsc
 queue customer_1_ack bandwidth 20% priority 2 hfsc

 Thank you for your answer!

 Well, I've simplified the example. My real situation is that I have 2500
 users, sharing 100 Mb fiber optic line..
 For 2500 users 1% will be too much. Can I use 0.25% ?

 Also regarding HFSC, I know is an linear algorytm, which means many does
 not scale well for lots of users. I know is hardcoded at 64, I've
 modified and used with success for up to 500 queues. For more queues it
 is working very slow, even with Xeon CPUs. So for 2500 users I would
 probably need 4-5 separate machines.

 I've used rules similar to your HFSC example, and I had to switch to
 ipfw + dummynet because of poor performance (on one machine) of HFSC
 with so many queues. (using ipfw+dummynet, multiple pass, to a limiting
 pipe then to queues to share load is working ok for browsing but I have
 2 issues: first the traffic is not stable, it variates to much, second
 the traffic does not reach 100 Mbps which is my bandwidth (if i disable
 the firewall,when trafic goes to 100 Mbps). I have to mention that CPU
 is 95% idle.

 So my question is, what would be a choice to shape bandwidth with
 FreeBSD for like 2000 users, with bandwidth limiting, and sharing using
 clases. On linux it works for 1000-2000 users using HTB, (tc, traffic
 control) and scales well, but I want to use FreeBSD, there must be a way
 to get similar performance on FreeBSD too.

Hmm, have you tried freebsd-isp@ list? That many users/queues, I can't comment 
on with real-life experience and don't think I can simulate that either ;). 
Also, there's more then one factor impacting performance here (nic driver, 
kernel threading concurrency, locking, pf/ipfw implementation) - I'm sure 
folks over @current are very interested in hearing your results with 
7-RELEASE coming up.

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


Re: Recent branching of CURRENT

2007-10-13 Thread Mel
On Saturday 13 October 2007 02:22:31 Per olof Ljungmark wrote:
 Mel wrote:
  On Saturday 13 October 2007 01:15:45 Kris Kennaway wrote:
  Mel wrote:
  On Friday 12 October 2007 23:15:32 Kris Kennaway wrote:
  Per olof Ljungmark wrote:
  Hi,
  Just out of curiosity, why did I fail to notice the branching of
  RELENG_7 and 8-CURRENT? I'm subscribed to -stable, -current and
  -announce.
 
  Because it's an administrative change that is just a normal part of
  the release engineering process.  i.e. 7.0 is not released etc.
 
  And RELENG_7 is not considered the 'stable' branch yet, but 8-CURRENT
  is just forked for development of entirely new features? I.o.w. do we 2
  current or 2 stable branches now?
 
  Those are just names, don't worry too much about it.  RELENG_7 will be
  the start of a new -STABLE branch once it is released.
 
  That is actually what I'm worried about. It means drivers are less likely
  to be MFC'd to RELENG_6 from 7.0-RELEASE onwards - I was hoping that
  wouldn't happen till 7.1.

 It's called progress. This is normal. If you need a driver that is
 happening in 7- only, then upgrade to 7. RELENG_6 will turn into a
 supported fix branch or whatever the name is and RELENG_7 is where the
 action takes place, just like it has been going on for quite some time
 (please correct me if I'm wrong).

Well, 6.0-RELEASE was still on -current. I consider that a good thing, because 
many people won't go near a new release till it's got at least one -RELEASE 
and that's when the nasty bugs come out to play ;).

Also, as of this writing, x11/nvidia-driver is *still* on compat5x, so those 
new video interfaces nvidia wanted can't have been tested enough in the real 
world. It would be nice to have that driver in the ports so people (like me) 
can test those :).

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


Re: help with text-append over SSH ? - dd: unknown operand

2007-10-13 Thread Mel
On Saturday 13 October 2007 12:08:16 Svein Halvor Halvorsen wrote:
  I want to append the contents of a local text file
 
  to the contents of
 
  a remote text file, over SSH.

 Andrew Pantyukhin wrote:
  cat file1 | ssh [EMAIL PROTECTED] dd -of file2

 That will replace the contents of file2, not append it. Also it
 should be dd of=file1. However, you can use seek=n to append,
 like this:

 cat file1 | ssh remote dd of=file2 seek=n

 ... where n is the length of file2

or better:
cat file1 | ssh remote dd of=file2 conv=notrunc

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


Re: Howto: Prepare USB key with FreeDOS using FreeBSD

2007-10-13 Thread Tijl Coosemans
If the BIOS can boot from USB it's as easy as using dd.

dd if=freedos-floppy.img of=/dev/daX
mount -t msdosfs /dev/daX /mnt
(Add extra files. You only have about 1.5Mb though.)
(Reboot with USB key plugged. You may have to alter the boot device
 ordering in the BIOS first.)

Afterwards you can restore the USB key to its full capacity using
fdisk(8) and newfs(8) or newfs_msdos(8).
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Error when launch realplay and flashplugins

2007-10-13 Thread ronggui
 realplay
/usr/local/lib/RealPlayer/realplay.bin: error while loading shared
libraries: /usr/lib/libstdc++.so.5: ELF file OS ABI invalid

What does the above msg mena ? What's the cause of such an problem? and what
I should do?

 nspluginwrapper -a -i -v
/usr/local/lib/nspluginwrapper/i386/linux/npviewer.bin: error while loading
shared libraries: libfreetype.so.6: cannot open shared object file: No such
file or directory
/usr/local/lib/nspluginwrapper/i386/linux/npviewer.bin: error while loading
shared libraries: libfreetype.so.6: cannot open shared object file: No such
file or directory
/usr/local/lib/nspluginwrapper/i386/linux/npviewer.bin: error while loading
shared libraries: libfreetype.so.6: cannot open shared object file: No such
file or directory

What packages should I install to get the libfreetype.so.6? Thanks.

-- 
Ronggui Huang

Department of Sociology, Fudan University, Shanghai, China

Department of Public and Social Administration, CityU, HK
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: I performed an rm -r on /var/lib/pkg

2007-10-13 Thread Mel
On Saturday 13 October 2007 02:13:49 RW wrote:
 On Fri, 12 Oct 2007 23:13:58 +0200

 Mel [EMAIL PROTECTED] wrote:
  On Friday 12 October 2007 22:19:41 RW wrote:
   On Thu, 11 Oct 2007 14:26:19 -0600
  
   James [EMAIL PROTECTED] wrote:
Call it a moment of sheer stupidity, call it a misremembering,
call it whatever you want (and I imagine I'll hear a few
different ones), but I just did an rm -r /var/lib/pkg.
   
Before I type anything to damage things further, does anyone have
any suggestions as to how to recover from this? I have other
FreeBSD boxes available to me, none with the same pkg list,
though. I'll be reading man pkgdb in the meantime..
  
   This came up recently in another thread, and what seemed to be the
   best solution to me, was this:
  
   1. work out which leaf-ports you actually need - don't worry about
   the dependencies.
  
   2. at your leisure build new packages under a chroot environment,
   or on another machine.
  
   3. back-up /usr/local/etc (or the whole of /usr/local)
  
   4. rm -rf  /usr/local/*
  
   5. Restore  /usr/local/etc and install packages.
 
  Why would you go through 3-5 when you can just
  mv /chroot/build/directory/var/db/pkg /var/db/pkg ?

 For the reasons that that you snipped off the bottom of my post.

... avoids leaving any orphaned files,and most
   importantly makes sure that all of the installed package have an
   entry in /var/db/pkg. If you miss any of these entries, it may
   cause a lot of trouble down the line.

 /chroot/build/directory/var/db/pkg is only a rough guess as to
 what was actually installed under /usr/local/.

So don't guess if you're that paranoid. It can be much much harder to restore 
some directories under /usr/local to a working state, 
like /usr/local/pgsql, /usr/local/www and some perl ports like rrd.

Depending how long builds take, it may be faster let a script run 
over /usr/ports/*/* that runs make generate-plist for each port, appends 
grep -v '^@' ${TMPPLIST} into a file, thus building an index of every file 
that a port can install, then let a script run over /usr/local that queries 
that index for each file it encounters. Like I said, for the ultra paranoid.

 Maybe some forgotten 
 dependency doesn't get included in the new build.  A year from now you
 may find odd build problems, or new port installs may use orphaned
 files with critical vulnerabilities that portaudit can't detect.

Nope. Orphaned files create stale deps, which are easily found with pkgdb -F, 
because the dependency check checks if ${LOCALBASE}/bin/foo exists and if it 
does adds the dependency to /var/db/pkg.
Also, `make missing' for a given port easily lists all dependencies that 
aren't in $PKG_DBDIR, so if you run make missing after a new install for a 
while, you'll easily identify those.

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


Re: Recent branching of CURRENT

2007-10-13 Thread Erik Trulsson
On Sat, Oct 13, 2007 at 04:20:49PM +0200, Mel wrote:
 On Saturday 13 October 2007 02:22:31 Per olof Ljungmark wrote:
  Mel wrote:
   On Saturday 13 October 2007 01:15:45 Kris Kennaway wrote:
   Mel wrote:
   On Friday 12 October 2007 23:15:32 Kris Kennaway wrote:
   Per olof Ljungmark wrote:
   Hi,
   Just out of curiosity, why did I fail to notice the branching of
   RELENG_7 and 8-CURRENT? I'm subscribed to -stable, -current and
   -announce.
  
   Because it's an administrative change that is just a normal part of
   the release engineering process.  i.e. 7.0 is not released etc.
  
   And RELENG_7 is not considered the 'stable' branch yet, but 8-CURRENT
   is just forked for development of entirely new features? I.o.w. do we 2
   current or 2 stable branches now?
  
   Those are just names, don't worry too much about it.  RELENG_7 will be
   the start of a new -STABLE branch once it is released.
  
   That is actually what I'm worried about. It means drivers are less likely
   to be MFC'd to RELENG_6 from 7.0-RELEASE onwards - I was hoping that
   wouldn't happen till 7.1.
 
  It's called progress. This is normal. If you need a driver that is
  happening in 7- only, then upgrade to 7. RELENG_6 will turn into a
  supported fix branch or whatever the name is and RELENG_7 is where the
  action takes place, just like it has been going on for quite some time
  (please correct me if I'm wrong).
 
 Well, 6.0-RELEASE was still on -current.

No, it wasn't.  6.0-RELEASE was the first release from the 6-STABLE branch.
4.0-RELEASE was also considered a -STABLE release.  


-- 
Insert your favourite quote here.
Erik Trulsson
[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


[PMX:VIRUS] error

2007-10-13 Thread connectionists-owner
You are not allowed to post to this mailing list, and your message has
been automatically rejected.  If you think that your messages are
being rejected in error, contact the mailing list owner at
[EMAIL PROTECTED]

---BeginMessage---
The original message was received at Sun, 14 Oct 2007 02:13:30 +1000
from freebsd.org [144.254.6.173]

- The following addresses had permanent fatal errors -
[EMAIL PROTECTED]

- Transcript of the session follows -
... while talking to server cs.cmu.edu.:
 RCPT To:[EMAIL PROTECTED]
 550 5.1.1 [EMAIL PROTECTED]... Invalid recipient

The original content of this message part has been replaced
by this text because it tested positive for the following
virus(es):

W32/MyDoom-O, W32/MyDoom-O

The original message has been quarantined pending further
action by the mail administrator.  For further information
about the message and its delivery status, please contact
the undersigned, and include the full content of this
message.  The identifier for this message is
'l9DGB8Yp020102'.

This notification is being sent to you and any other
original envelope recipient(s).   To avoid creating a
nuisance and to keep mail traffic under control, the
original sender  of the message has NOT been notified.
However, you may want to notify the sender at your
discretion.


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

PPPoE dialer CPU usage

2007-10-13 Thread Dave Curry
Hi.  I was wondering if anyone had any idea what might be causing excessive CPU 
usage by the rp-pppoe dialer.  What I've been running into is since the
5th, the message Unexpected packet code 9 has been showing up every 10 
seconds in syslog, the CPU usage is maxed, I seem to be getting pinged by my
PPPoE gateway every 10 seconds, and I can't seem to find out what the cause of 
this is.  Have checked other net traffic to no avail, tried compiling 
the dialer with debugging options which did nothing, and any sort of insight 
that could be offered at this point is dearly welcome.

-- 
David Michael Curry (Dave)
[EMAIL PROTECTED]

() ASCII Ribbon Campaign | Against HTML e-mail
/\  www.asciiribbon.org  | Against proprietary extensions

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


Re: software to cut mp3 files?

2007-10-13 Thread Eriam Schaffter

Zbigniew Szalbot wrote:

Hello,

Sorry for an unusual request - does anyone know of software that is
able to split an mp3 file into multiple chunks at specified locations
(doesn't have to have gui, actually best if it didn't), one that works
under FreeBSD?

I have files with a few songs in them and I would like to cut them
into separate files. Never been there nor done that. All advice
greatly appreciated.
  

Hello

I recently used MP3::Splitter, a perl module that does exactly this. 
It's not a full software tho but maybe then you can make it suits 
exactly your needs.


Just in case.

Thanks

Eriam

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


Re: Howto: Prepare USB key with FreeDOS using FreeBSD

2007-10-13 Thread Boris Samorodov
On Fri, 12 Oct 2007 18:35:08 +0200 O. Hartmann wrote:

 Well, I have a bunch of TYAN S2925B based boxes, all without floppy
 drives. For BIOS flash preparation I need an installation media and
 due to the fact I do not have a Windows XP box or FreeDOS box I need
 my laptop for creation of a bootable USB key media with the
 appropriate BIOS flash images and flashing tools.
 It seems to be a desaster. Every Wiki I visited looking for the
 subject referes to Gentoo/FreeDOS or highly complicated voodoo
 sessions installing first some files on floppy drive and the creating
 a bootable USB key ... blabla.
 Sorry, but I do not have FreeDOS running nor do I have Linux/Gentoo or
 Windows XP, I run FreeBSD on all of my machines. But in the age of
 legacy free computers, were floppy drives seems to be not essential
 anymore I run into massif problems having a legacy free server from
 TYAN without the ability taking any BIOS images from an USB key :-(
 The problem is I picked up some memory issues which have been solved
 with one of the newer BIOS images so I desperately need an update
 solution.

 Does anyone do have an idea?

It is not an answer to your question. It's just how I do
it. Limitation: I use only PXE-capable cards.

1. Set up a dhcp server. In my case all servers are located at one
   hardware server.
2. Set up a tftp server.
3. Use pxelinux [1] to boot the needed binary.

1. Dhcp config (partial):
-
host temp1 {
  hardware ethernet MAC-address;
  fixed-address ip-address;
  filename pxelinux.0;
  server-name booting.domain.com;
  next-server booting.domain.com;
  option host-name temp1.domain.com;
}
-


[1] http://syslinux.zytor.com/pxe.php


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


Re: Howto: Prepare USB key with FreeDOS using FreeBSD

2007-10-13 Thread Boris Samorodov
On Fri, 12 Oct 2007 18:35:08 +0200 O. Hartmann wrote:

 Well, I have a bunch of TYAN S2925B based boxes, all without floppy
 drives. For BIOS flash preparation I need an installation media and
 due to the fact I do not have a Windows XP box or FreeDOS box I need
 my laptop for creation of a bootable USB key media with the
 appropriate BIOS flash images and flashing tools.
 It seems to be a desaster. Every Wiki I visited looking for the
 subject referes to Gentoo/FreeDOS or highly complicated voodoo
 sessions installing first some files on floppy drive and the creating
 a bootable USB key ... blabla.
 Sorry, but I do not have FreeDOS running nor do I have Linux/Gentoo or
 Windows XP, I run FreeBSD on all of my machines. But in the age of
 legacy free computers, were floppy drives seems to be not essential
 anymore I run into massif problems having a legacy free server from
 TYAN without the ability taking any BIOS images from an USB key :-(
 The problem is I picked up some memory issues which have been solved
 with one of the newer BIOS images so I desperately need an update
 solution.

 Does anyone do have an idea?

It is not an answer to your question. It's just how I do
it. 

1. Set up a dhcp server. In my case all servers are located at one
   hardware server.
2. Set up a tftp server.
3. Use pxelinux [1] to boot the needed binary.

1. Dhcp config (partial):
-
host temp1 {
  hardware ethernet MAC-address;
  fixed-address ip-address;
  filename pxelinux.0;
  server-name booting.domain.com;
  next-server booting.domain.com;
  option host-name temp1.domain.com;
}
-

2. /tftpboot directory contains

. a directory pxelinux.cfg with the config file default
(partially):
-
default memtest
prompt 5
timeout 30

label memtest
  kernel memtest86+-1.70

label 3ware
  kernel memdisk
  append initrd=3WARE-FLASH-9.4.0.1.DOS

label ep
  kernel memdisk
  append initrd=EP-9HEAI.DOS

label freebsd7
  kernel pxeboot.0
-

. file pxelinux.0 [1];
. file memdisk [2] needed to load floppies with DOS images;
. file memtest86+-1.70 is an image of memtest floppy, good for
  testing new hardware;
. file 3WARE-FLASH-9.4.0.1.DOS is an image of DOS floppy with 3WARE
  updates;
. file EP-9HEAI.DOS is an image of DOS floppy with flasher for the
  EP-9HEAI motherboard;
. file pxeboot.0 (renamed from pxeboot since pxelinux need it) is a
  real pxeboot to boot FreeBSD.

One can choose what to boot while PXE-booting (use a label from the
config file).

I use one of those free DOS available at internet. To create the
needed image:
-
# mdconfig -a -t vnode -f floppy_dos_image -u 0
# mount -t msdosfs /dev/md0 /mnt
-

Then copy the needed files to /mnt. Don't forget to do:
-
# umount /mnt
# mdconfig -d -u 0
-

That's it, here is a floppy image one can boot via PXE.

Limitations:
1. I use only PXE-capable network cards.
2. An old flash image cannot be saved.


[1] http://syslinux.zytor.com/pxe.php
[2] http://syslinux.zytor.com/memdisk.php


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


Re: Howto: Prepare USB key with FreeDOS using FreeBSD

2007-10-13 Thread Boris Samorodov
Sorry for the first email, it was sent by an accident.

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


Re: software to cut mp3 files?

2007-10-13 Thread Tsu-Fan Cheng
or try audacity.

TFC

On 10/8/07, Eriam Schaffter [EMAIL PROTECTED] wrote:

 Zbigniew Szalbot wrote:
  Hello,
 
  Sorry for an unusual request - does anyone know of software that is
  able to split an mp3 file into multiple chunks at specified locations
  (doesn't have to have gui, actually best if it didn't), one that works
  under FreeBSD?
 
  I have files with a few songs in them and I would like to cut them
  into separate files. Never been there nor done that. All advice
  greatly appreciated.
 
 Hello

 I recently used MP3::Splitter, a perl module that does exactly this.
 It's not a full software tho but maybe then you can make it suits
 exactly your needs.

 Just in case.

 Thanks

 Eriam

 ___
 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: I performed an rm -r on /var/lib/pkg

2007-10-13 Thread RW
On Sat, 13 Oct 2007 17:05:10 +0200
Mel [EMAIL PROTECTED] wrote:

 On Saturday 13 October 2007 02:13:49 RW wrote:
  On Fri, 12 Oct 2007 23:13:58 +0200
 
  Mel [EMAIL PROTECTED] wrote:
   On Friday 12 October 2007 22:19:41 RW wrote:
On Thu, 11 Oct 2007 14:26:19 -0600
   
James [EMAIL PROTECTED] wrote:
 Call it a moment of sheer stupidity, call it a misremembering,
 call it whatever you want (and I imagine I'll hear a few
 different ones), but I just did an rm -r /var/lib/pkg.

 Before I type anything to damage things further, does anyone
 have any suggestions as to how to recover from this? I have
 other FreeBSD boxes available to me, none with the same pkg
 list, though. I'll be reading man pkgdb in the meantime..
   
This came up recently in another thread, and what seemed to be
the best solution to me, was this:
   
1. work out which leaf-ports you actually need - don't worry
about the dependencies.
   
2. at your leisure build new packages under a chroot
environment, or on another machine.
   
3. back-up /usr/local/etc (or the whole of /usr/local)
   
4. rm -rf  /usr/local/*
   
5. Restore  /usr/local/etc and install packages.
  
   Why would you go through 3-5 when you can just
   mv /chroot/build/directory/var/db/pkg /var/db/pkg ?
 
  For the reasons that that you snipped off the bottom of my post.
 
 ... avoids leaving any orphaned files,and most
importantly makes sure that all of the installed package have an
entry in /var/db/pkg. If you miss any of these entries, it may
cause a lot of trouble down the line.
 
  /chroot/build/directory/var/db/pkg is only a rough guess as to
  what was actually installed under /usr/local/.
 
 So don't guess if you're that paranoid.

If you haven't kept a list of origins, you may not have much choice
unless the dependencies are simple. Dealing with conflicts is
bad enough when you have a complete record of what's installed.  

 It can be much much harder to
 restore some directories under /usr/local to a working state, 
 like /usr/local/pgsql, /usr/local/www and some perl ports like rrd.

Whether that is hard to do or not depends on the individual case,
a backed-up /usr/local can easily be restored, if it doesn't work-out.
   
 Depending how long builds take, it may be faster let a script run 
 over /usr/ports/*/* that runs make generate-plist for each port,
 appends grep -v '^@' ${TMPPLIST} into a file, thus building an index
 of every file that a port can install, then let a script run
 over /usr/local that queries that index for each file it encounters.
 Like I said, for the ultra paranoid.

That assumes that everything was installed from the same ports tree,
you know which tree it was, and that every packing-list is accurate
-otherwise it may flag an essential file for deletion.

  Maybe some forgotten 
  dependency doesn't get included in the new build.  A year from now
  you may find odd build problems, or new port installs may use
  orphaned files with critical vulnerabilities that portaudit can't
  detect.
 
 Nope. Orphaned files create stale deps, which are easily found with
 pkgdb -F, because the dependency check checks if ${LOCALBASE}/bin/foo
 exists and if it does adds the dependency to /var/db/pkg.
 Also, `make missing' for a given port easily lists all dependencies
 that aren't in $PKG_DBDIR, so if you run make missing after a new
 install for a while, you'll easily identify those.

It depends what state the ports were in at the time of the accident. If
you haven't run a leaf-cutting program recently you may have old
dependencies and tools that have become leaves - they may take years
to show-up.

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


Re: Error when launch realplay and flashplugins

2007-10-13 Thread Boris Samorodov
On Sat, 13 Oct 2007 22:47:05 +0800 ronggui wrote:

  realplay
 /usr/local/lib/RealPlayer/realplay.bin: error while loading shared
 libraries: /usr/lib/libstdc++.so.5: ELF file OS ABI invalid

 What does the above msg mena ? What's the cause of such an problem? and what
 I should do?

Please show the output of commands uname -a, locate libstdc++.so.5,
pkg_info | grep linux, sysctl -a | grep linux.

  nspluginwrapper -a -i -v
 /usr/local/lib/nspluginwrapper/i386/linux/npviewer.bin: error while loading
 shared libraries: libfreetype.so.6: cannot open shared object file: No such
 file or directory
 /usr/local/lib/nspluginwrapper/i386/linux/npviewer.bin: error while loading
 shared libraries: libfreetype.so.6: cannot open shared object file: No such
 file or directory
 /usr/local/lib/nspluginwrapper/i386/linux/npviewer.bin: error while loading
 shared libraries: libfreetype.so.6: cannot open shared object file: No such
 file or directory

 What packages should I install to get the libfreetype.so.6? Thanks.

-
srv% locate libfreetype.so.6   
/usr/compat/linux/usr/lib/libfreetype.so.6
/usr/compat/linux/usr/lib/libfreetype.so.6.3.7
srv% pkg_info -W /compat/linux/usr/lib/libfreetype.so.6
/compat/linux/usr/lib/libfreetype.so.6 was installed by package 
linux_base-fc-4_9
-

Did you enable linux support (i.e. kldload linux)?


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


Re: help with text-append over SSH ?

2007-10-13 Thread Wojciech Puchar

'dd' command (among others) on the remote host ... so
for instance, I can do things like this:

ssh [EMAIL PROTECTED] rm -rf filename

So, with all that in mind, how do I append the
contents of a local file to a remote file, over SSH,
using either 'echo' or 'dd' ?

Thanks.




cat file |ssh [EMAIL PROTECTED] cat file

replace cat with dd if you have to




 

Catch up on fall's hot new shows on Yahoo! TV. Watch previews, get listings, 
and more!
http://tv.yahoo.com/collections/3658

___
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: PPPoE dialer CPU usage

2007-10-13 Thread RW
On Fri, 12 Oct 2007 22:57:25 -0500
Dave Curry [EMAIL PROTECTED] wrote:

 Hi.  I was wondering if anyone had any idea what might be causing
 excessive CPU usage by the rp-pppoe dialer.  What I've been running
 into is since the 5th, the message Unexpected packet code 9 has
 been showing up every 10 seconds in syslog, the CPU usage is maxed, I
 seem to be getting pinged by my PPPoE gateway every 10 seconds, and I
 can't seem to find out what the cause of this is.  Have checked other
 net traffic to no avail, tried compiling the dialer with debugging
 options which did nothing, and any sort of insight that could be
 offered at this point is dearly welcome.


Is there any particular reason for using the roaring-penguin version?

ppp in the base-system works fine for me, and it uses next to no
cpu time.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: PPPoE dialer CPU usage

2007-10-13 Thread Dave Curry
On Sun, Oct 14, 2007 at 12:37:43AM +0100, RW wrote:
 On Fri, 12 Oct 2007 22:57:25 -0500
 Dave Curry [EMAIL PROTECTED] wrote:
 
  Hi.  I was wondering if anyone had any idea what might be causing
  excessive CPU usage by the rp-pppoe dialer.  What I've been running
  into is since the 5th, the message Unexpected packet code 9 has
  been showing up every 10 seconds in syslog, the CPU usage is maxed, I
  seem to be getting pinged by my PPPoE gateway every 10 seconds, and I
  can't seem to find out what the cause of this is.  Have checked other
  net traffic to no avail, tried compiling the dialer with debugging
  options which did nothing, and any sort of insight that could be
  offered at this point is dearly welcome.
 
 
 Is there any particular reason for using the roaring-penguin version?
 
 ppp in the base-system works fine for me, and it uses next to no
 cpu time.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

Yeah, I had mistakenly compiled ppp without netgraph support (Just found that
out today), so I was using rp-pppoe.  Since I fixed the problem with ppp it's
not vitally important to find out what hosed rp-pppoe now, though if anyone can
offer info on what caused this it'd be nice to know for curiosity's sake.

-- 
David Michael Curry (Dave)
[EMAIL PROTECTED]

() ASCII Ribbon Campaign | Against HTML e-mail
/\  www.asciiribbon.org  | Against proprietary extensions

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


php4 to php5 upgrade

2007-10-13 Thread Grant Peel

Hi all,

Does anyone know where there might be some clear documentation the discribes 
the complete removal of php4 and its extentions, then how to build php5 
extentions.


I want to use ports if possible.

-Grant

P.S. one thing I have always tripped over is weather to build php first, 
then, run the meta port for extensions or vice versa ... ? 


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


mailing list

2007-10-13 Thread John Tele2
K you please stop sending me this spam from your account:
[EMAIL PROTECTED]
 
I am not interested in that shit!

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


Re: php4 to php5 upgrade

2007-10-13 Thread Kevin Kinsey

Grant Peel wrote:

Hi all,

Does anyone know where there might be some clear documentation the 
discribes the complete removal of php4 and its extentions, then how to 
build php5 extentions.


I can't say for sure that there's any such.  Has a web search
turned up nothing, then?

Surely it's not much harder than:

$ cd /usr/ports/lang/php4-extensions  make deinstall clean  make distclean
$ cd /usr/ports/lang/php4  make deinstall clean  make distclean

and a little cleaning up in /usr/local/lib and /usr/local/etc.



I want to use ports if possible.


Definitely possible.



P.S. one thing I have always tripped over is weather to build php first, 
then, run the meta port for extensions or vice versa ... ?



The extensions meta-port will pull PHP in as a dependency if you
haven't already installed it*, so the answer is not vice-versa, per
se.   Do lang/php5 first.

Kevin Kinsey

*Or it will crap out.  Can't remember OTTOMH.
--
Start every day off with a smile and get it over with.
-- W.C. Fields
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: php4 to php5 upgrade

2007-10-13 Thread Grant Peel
Hi Kevin,

Yes, I have done many web searches. The only thing that came up that was near 
what I needed was:

http://lists.freebsd.org/pipermail/freebsd-questions/2006-July/127059.html

However, since I can completely remove php4, then install php5, the method they 
talk about there seems a bit tedious.

Thanks for the reply, I thought deinstall and install should do the trick 
will let you know how I make out.

-Grant
  - Original Message - 
  From: Kevin Kinsey 
  To: Grant Peel 
  Cc: freebsd-questions@freebsd.org 
  Sent: Saturday, October 13, 2007 9:48 PM
  Subject: Re: php4 to php5 upgrade


  Grant Peel wrote:
   Hi all,
   
   Does anyone know where there might be some clear documentation the 
   discribes the complete removal of php4 and its extentions, then how to 
   build php5 extentions.

  I can't say for sure that there's any such. Has a web search
  turned up nothing, then?

  Surely it's not much harder than:

  $ cd /usr/ports/lang/php4-extensions  make deinstall clean  make distclean
  $ cd /usr/ports/lang/php4  make deinstall clean  make distclean

  and a little cleaning up in /usr/local/lib and /usr/local/etc.


   I want to use ports if possible.

  Definitely possible.

   
   P.S. one thing I have always tripped over is weather to build php first, 
   then, run the meta port for extensions or vice versa ... ?


  The extensions meta-port will pull PHP in as a dependency if you
  haven't already installed it*, so the answer is not vice-versa, per
  se. Do lang/php5 first.

  Kevin Kinsey

  *Or it will crap out. Can't remember OTTOMH.
  -- 
  Start every day off with a smile and get it over with.
  -- W.C. Fields

--
Total Control Panel  Login  
To: [EMAIL PROTECTED]  Message Score:  50   High (60): Pass  
From: [EMAIL PROTECTED]  My Spam Blocking Level:  High  Medium (75): 
Pass  
 Low (90): Pass 
   Block messages from this sender (blacklist)
  
This message was delivered because the content filter score did not 
exceed your filter level.  
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Debugging FreeBSD running on VMware

2007-10-13 Thread Akshay Kawale
Hi,

I want to attach gdb to my FreeBSD kernel (6.2 RELEASE-p8) running on VMware.
My host OS is Ubuntu Linux 7.04.

I've created a virtual serial port, which terminates in a named pipe on my host 
OS.
What other steps do I need to take to be able to step through and debug my 
kernel?
Will gdb automatically find the source code if its copied to /usr/src on my 
host?

Thanks.

- Akshay





   

Boardwalk for $500? In 2007? Ha! Play Monopoly Here and Now (it's updated for 
today's economy) at Yahoo! Games.
http://get.games.yahoo.com/proddesc?gamekey=monopolyherenow
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: mailing list

2007-10-13 Thread Bill Moran
John Tele2 [EMAIL PROTECTED] wrote:

 K you please stop sending me this spam from your account:
 [EMAIL PROTECTED]

Note below:

 To unsubscribe, send any mail to [EMAIL PROTECTED]

Each mail contains information on how to unsubscribe from the mailing
lists.

If you have attempted to unsubscribe and have been unsuccessful, an
email to [EMAIL PROTECTED] _detailing_ your attempts and including
an example email will likely produce results.

Unfortunately, it's impossible to assist you with the small amount of
information you've provided.  In addition, this list will not be
monitored by the people who can actually do anything about your
predicament.

Hope this helps.

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


Re: mailing list

2007-10-13 Thread Erich Dollansky

Hi,

Bill Moran wrote:

John Tele2 [EMAIL PROTECTED] wrote:

K you please stop sending me this spam from your account:
[EMAIL PROTECTED]


this guy first writes to all the lists and the complains that he gets 
answers.


I believe that it is some remote controlled Windows machine whith 
someone in control testing new Windows-clustering software.


Erich

Note below:


To unsubscribe, send any mail to [EMAIL PROTECTED]


Each mail contains information on how to unsubscribe from the mailing
lists.

If you have attempted to unsubscribe and have been unsuccessful, an
email to [EMAIL PROTECTED] _detailing_ your attempts and including
an example email will likely produce results.

Unfortunately, it's impossible to assist you with the small amount of
information you've provided.  In addition, this list will not be
monitored by the people who can actually do anything about your
predicament.

Hope this helps.


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


The FreeBSD Diary: 2007-09-23 - 2007-10-13

2007-10-13 Thread Dan Langille
The FreeBSD Diary contains a large number of practical 
examples and how-to guides.  This message is posted weekly
to freebsd-questions@freebsd.org with the aim of letting people
know what's available on the website.  Before you post a question
here it might be a good idea to first search the mailing list 
archives http://www.freebsd.org/search/search.html#mailinglists 
and/or The FreeBSD Diary http://www.freebsddiary.org/. 


-- 
Dan Langille
BSDCan - http://www.BSDCan.org/ - BSD Conference

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


How to set up a network-attached printer

2007-10-13 Thread perryh
Where would I find a specific method for setting up a Samsung
ML-2571N network-attached PostScript printer in FreeBSD 6.1?
I'm hoping for something less generic than what I've found in
the handbook.

It just works from MacOS X, as did the old LaserWriter IIf
that the Samsung replaced, so I suppose one approach would be
to use the Mac as a print server; but I would prefer to print
from FreeBSD directly so that the Mac does not need to be up
in order to print from the FreeBSD machine.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]