Freebsd support in Adelaide wanted

2013-09-21 Thread Danny Beger
I have a small law firm in Adelaide and I am looking to engage someone to build 
/ purchase a new server to replace my current server which runs v6 freebsd.

Can you recommend anyone?

Regards

_ _
Danny Beger  |  Beger  Co Lawyers
p: 8362 6400  |  f: 8362 3555
www.beger.com.au


Liability limited by a scheme approved under Professional Standards Legislation 

___
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


http://localhost/phpmyadmin

2013-03-21 Thread Danny Gia

___
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


OpenOSPFd replacing network routes

2011-08-19 Thread Danny Srepel
There's a fundamental difference between OpenBSD and FreeBSD's respective 
networking. Specifically, the kernel routing table. In OpenBSD, it is possible 
to have multiple routes to the same destination, and are differentiated by 
priority. This capability does not exist in FreeBSD.

Let me just get right into the details by outlining a functioning OpenBSD 
system, and where FreeBSD's issues are.

This is my example ospfd.conf,

01| router-id 0.0.0.1
02| redistribute connected
03| redistribute static
04| area 0.0.0.0 {
05|         interface vlan1
06| }

Below is output from `netstat -rn' taken form an OpenBSD machine before the 
OpenOSPFd process was started. The 192.168.11.0/24 network is used to exchange 
OSPF information with its neighbours. 192.168.12.0/24 is a connected network to 
this host. 192.168.13.0/24 is one hop away (via 192.168.11.2, its only 
neighbour).

07| Destination        Gateway            Flags   Refs      Use   Mtu  Prio 
Iface
08| 127/8              127.0.0.1          UGRS       0        0 33160     8 lo0
09| 127.0.0.1          127.0.0.1          UH         1        0 33160     4 lo0
10| 192.168.11/24      link#5             UC         0        0     -     4 
vlan1
11| 192.168.12/24      link#6             UC         0        0     -     4 
vlan2
12| 224/4              127.0.0.1          URS        0        0 33160     8 lo0

And this is `netstat -rn' taken after OpenOSPFd finished negotiating with its 
neighbour,

13| Destination        Gateway            Flags   Refs      Use   Mtu  Prio 
Iface
14| 127/8              127.0.0.1          UGRS       0        0 33160     8 lo0
15| 127.0.0.1          127.0.0.1          UH         1        0 33160     4 lo0
16| 192.168.11/24      link#5             UC         2        0     -     4 
vlan1
17| 192.168.11/24      192.168.11.1       UG         0        0     -    32 
vlan1
18| 192.168.11.1       00:50:56:96:00:89  UHLc       1        0     -     4 lo0
19| 192.168.11.2       00:50:56:96:00:90  UHLc       2        7     -     4 
vlan1
20| 192.168.12/24      link#6             UC         0        0     -     4 
vlan2
21| 192.168.13/24      192.168.11.2       UG         0        0     -    32 
vlan1
22| 224/4              127.0.0.1          URS        0        0 33160     8 lo0

Notice there are multiple entries for 192.168.11.0/24 (line #16-17). Line #17 
was added by ospfd.

Before continuing, I'm going to paste the equivalent information on FreeBSD's 
side, so that we can better compare. Below is `netstat -rn' taken before ospfd 
is started,

23| Destination        Gateway            Flags    Refs      Use  Netif Expire
24| 127.0.0.1          link#3             UH          0      139    lo0
25| 192.168.11.0/24    link#1             U           0        0    em0
26| 192.168.11.1       link#1             UHS         0        0    lo0
27| 192.168.12.0/24    link#9             U           0        0 em0_vl
28| 192.168.12.1       link#9             UHS         0        0    lo0

And this is `netstat -rn' taken after OpenOSPFd finished negotiating with its 
neighbour,

29| Destination        Gateway            Flags    Refs      Use  Netif Expire
30| 127.0.0.1          link#3             UH          0      147    lo0
31| 192.168.11.0/24    192.168.1.1        U           1        6    em0
32| 192.168.11.1       link#1             UHS         0        0    lo0
33| 192.168.12.0/24    link#9             U           0        0 em0_vl
34| 192.168.12.1       link#9             UHS         0        0    lo0
35| 192.168.13.0/24    192.168.1.2        UG          0        0    em0
36| 192.168.13.1/32    192.168.1.2        UG          0        0    em0

Notice there's only one entry for 192.168.11.0/24 (line #25 got replaced with 
line #31).

And that's really the cruft of the issue: in FreeBSD you can only have the one 
network route, whereas in OpenBSD, you can have multiple. When a neighbour goes 
away in FreeBSD, the 192.168.11.0/24 route gets deleted. In OpenBSD, there's no 
negative impact, since there are multiple routes to the same network. Using our 
example, line #10 still exists as line #16 in OpenBSD, line #25 gets deleted 
and line #31 gets created in FreeBSD.

This isn't really a bug, it's more a difference in capabilities between 
FreeBSD's and OpenBSD's respective networking. OpenOSPFd doesn't seem to have 
any special considerations for FreeBSD.

The Fix / Workaround


The concept is simple: create an IP alias where the network overlaps the 
existing IP/network.
In our example, 192.168.11.0/24 is used to exchange OSPF information. Create an 
alias of 192.168.10.1/23. That way when the 192.168.11.0/24 route gets deleted, 
the systems will be accessible to each other over the 192.168.10.0/23 route. In 
order for this to work as expected, you'll need to make a couple changes to 
your ospfd.conf file.

This is the original ospfd.conf file taken from the FreeBSD system,

37| router-id 0.0.0.1
38| redistribute connected
39| 

Re: Like it or not, Theo has a point... freebsd is shipping export-restricted software in the core

2010-10-07 Thread Danny Carroll
 On 7/10/2010 8:23 PM, Gonzalo Nemmi wrote:

 I would assume you already did that before walking into my office to
 ask me about the set of licenses up for a review ... otherwise,
 there´s no way to me to look close enough where I wasn´t asked to look
 ...
 If you go tell your Dr. you have a simple cof and a runy nose, he
 won´t ask you to go trhough a colonoscopy or a brain tomography ...
 and, _please_, _by_all_means_ don´t count on him finding anything on
 your colon or in your brain in that case.


True, but if you told your doctor to test that you did not have cancer
and he neglected to give you a colonoscopy, then he'd be, well, negligent.
But I am just being fecetious, I guess a lawyer may not have the
technical knowledge to know *where* to get each license that may be used.

-D
___
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


Windows XP Backup resetting unix perms.

2010-09-06 Thread Danny Carroll
 Today I decided to make a backup of some of my unix data to an XP
machine in preparation for a migration.
I set windows XP backup running and when it started backing up files in
my home directory I noticed that it set u-x permissions on all of the
files.  
Directories are unaffected.

If I use XP's security dialog to set the permissions back, they are
applied OK.

Has anyone seen this behaviour before?

-D
___
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: Windows XP Backup resetting unix perms.

2010-09-06 Thread Danny Carroll
On 7/09/2010 12:00 PM, Frank Shute wrote:
 On Tue, Sep 07, 2010 at 11:39:19AM +1000, Danny Carroll wrote:

  Today I decided to make a backup of some of my unix data to an XP
 machine in preparation for a migration.
 I set windows XP backup running and when it started backing up files in
 my home directory I noticed that it set u-x permissions on all of the
 files.  
 Directories are unaffected.

 If I use XP's security dialog to set the permissions back, they are
 applied OK.

 Has anyone seen this behaviour before?

 
 Yeah, it does that because it doesn't understand unix permissions.
 
 Proper way to back up to XP is to make a tarball of your $HOME first 
 then copy it to XP, that way the permissions are preserved.
 


Hmmm.   Apart from creating a readonly share, is there a way to tell
samba to disallow this?   Perhaps there is an option to disallow
permissions updates altogether.

-D
___
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: Could not chdir to home directory

2010-08-27 Thread Danny Carroll
 Hiya Nita,...

I'm sure you'll get lots of help on this list.  Just a question for you.
Any chance you could convice the Juniper bigwigs to release the source
code for the DX platform given that it's now end of life?

I know it was based on FreeBSD and, as a former Redline/DX user I know
it's got some nice stuff under the hood.
I know that the BSD community would be thrilled if Juniper were to give
something back to the people who provided the platform that DX was based on.
If such a thing were to happen, I know I'd find it hard to ever
recommend a different network tech vendor to my clients.

It's a long shot, but I figured it was worth asking the question ;-)

-D
p.s. if you still are stuck with your homedir problems, feel free to
contact me off-list.

On 27/08/2010 3:41 AM, Nita Pavitran wrote:
 Hi,

 I get the following error message and I seem to be in the root directory
 instead of the home directory:

 Could not chdir to home directory /homes/nitap: Permission denied
 uname -a
 FreeBSD bigpink.juniper.net 4.10-RELEASE-p2 FreeBSD 4.10-RELEASE-p2 #0:
 Mon Oct 25 16:23:23 PDT 2004
 r...@bigpink.juniper.net:/usr/src/sys/compile/bigpink  i386
  
 Please let me know how I can get to my home directory.

 Thanks and regards,
 Nita
 
 Nita Pavitran
 Technical Publishing Engineer
 Juniper Networks
 o   +91 80 30711390
 m  +91 98808 66566
 ni...@juniper.net
 www.juniper.net
  


 ___
 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


___
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: Upgrading ports while processes are running.

2010-08-17 Thread Danny Carroll
 On 17/08/2010 12:13 PM, Mark Shroyer wrote:
 On Tue, 17 Aug 2010 03:23:27 +0200, Polytropon free...@edvax.de wrote:
 At least, the step that wants to write will fail, and this will
 mostly be (finally) signaled by a make error.
snip!
 That isn't to say you won't see any negative consequences from
 overwriting a running port with a newer version.  Hypothetically, you
 might install a new Python including a new standard library, and if your
 running (old) Python process tries to load one of its deleted modules
 from disk something could break.  Or not; I'm no expert on the ports
 system, they might have some way of working around this.  But as for a
 pragmatic answer to your question, I err on the side of caution with
 this stuff :)



Thanks for the info...

I guess I can take this to read:
The way install works, the binary files can be updated even though they
are in use.   Restart of the port (or it's deps in the case of libs) is
required.
If nothing is restarted, then the old process code happily resides in
memory until it's no longer referenced.   This can cause a problem with
a dynamically loaded lib that is not the same version as expected.

I wonder what happens when you upgrade a port, don't restart, then the
following week upgrade it again  hmmm.

In any case I like the restart the whole server option after a major
upgrade because if it works then I can essentially rule out the upgrade
if I have to troubleshoot a problem at a later date.

-D



___
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


Upgrading ports while processes are running.

2010-08-16 Thread Danny Carroll
 Hiya All,

I just finished upgrading perl on one of my machines and something
crossed my mind while it was busy compiling and reinstalling all of the
ports that depended on perl.
Will a port install fail if it cannot write to a file because it's in-use?
Also, is it necessary to restart the server or at lease the apps after a
port upgrade?

The answer to the second question is certainly yes.   But is it
considered dangerous to upgrade a port that is currently running?
Things like mysql and apache come to mind.

To take it one step further, what about shared libraries?   If a process
is using a shared lib, then it seems that it does not lock the file for
writing, but I would think that it would not start using the lib until
you restarted all of the processes that used that shared lib.
Once the last process using the shared lib is killed, is it
automatically unlinked from memory?

I guess best practice should be to restart the system after a major port
upgrade (unless you know which processes depend on the files that have
been upgraded - then you should just be able to restart those processes).

-D




___
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: Problem building GCC - Postfix install from ports failed

2010-02-09 Thread Danny Edge
On Mon, Feb 8, 2010 at 5:09 PM, Adam Vande More amvandem...@gmail.comwrote:

 On Mon, Feb 8, 2010 at 3:59 PM, Danny Edge nocmon...@gmail.com wrote:

 I was advised to try this again. New install FreeBSD 7.2 R, installing
 Postfix from cd /usr/ports/mail/postfix  make install clean

 I receive the following error near the end of the install:

 checking whether -fkeep-inline-functions is supported... yes
 updating cache ./config.cache
 creating ./config.status
 creating Makefile
 ===  Building for gcc-4.2.5_20090325
 cd ./..//gcc-4.2-20090325  autogen Makefile.def
 autogen: not found
 gmake: *** [..//gcc-4.2-20090325/Makefile.in] Error 127
 *** Error code 1

 Stop in /usr/ports/lang/gcc42.
 *** Error code 1

 Stop in /usr/ports/mail/addresses.
 *** Error code 1

 Stop in /usr/ports/mail.
 mx#


 I guess gcc42 requires /usr/ports/devel/autogen

 Looks like the port is missing a dependency for some reason.  Try
 installing that port, and resume your gcc build.  If it works you could file
 a bug report.


Installing the autogen port seemed to have solved the issue. Thank you!


-- 
CPDE - Certified Petroleum Distribution Engineer
CCBC - Certified Canadian Beer Consumer
___
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


Problem building GCC - Postfix install from ports failed

2010-02-08 Thread Danny Edge
I was advised to try this again. New install FreeBSD 7.2 R, installing
Postfix from cd /usr/ports/mail/postfix  make install clean

I receive the following error near the end of the install:

checking whether -fkeep-inline-functions is supported... yes
updating cache ./config.cache
creating ./config.status
creating Makefile
===  Building for gcc-4.2.5_20090325
cd ./..//gcc-4.2-20090325  autogen Makefile.def
autogen: not found
gmake: *** [..//gcc-4.2-20090325/Makefile.in] Error 127
*** Error code 1

Stop in /usr/ports/lang/gcc42.
*** Error code 1

Stop in /usr/ports/mail/addresses.
*** Error code 1

Stop in /usr/ports/mail.
mx#

Here is my dmesg output:

Copyright (c) 1992-2009 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 7.2-RELEASE-p4 #0: Fri Oct  2 12:21:39 UTC 2009
r...@i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: AMD Sempron(tm)  2400+ (1666.49-MHz 686-class CPU)
  Origin = AuthenticAMD  Id = 0x681  Stepping = 1
  
Features=0x383fbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE
  AMD Features=0xc0480800SYSCALL,MP,MMX+,3DNow!+,3DNow!
real memory  = 536084480 (511 MB)
avail memory = 510578688 (486 MB)
ACPI APIC Table: A M I  OEMAPIC 
MADT: Forcing active-low polarity and level trigger for SCI
ioapic0 Version 0.3 irqs 0-23 on motherboard
kbd1 at kbdmux0
acpi0: A M I OEMRSDT on motherboard
acpi0: [ITHREAD]
acpi0: Power Button (fixed)
acpi0: reservation of 0, a (3) failed
acpi0: reservation of 10, 1ff0 (3) failed
Timecounter ACPI-fast frequency 3579545 Hz quality 1000
acpi_timer0: 24-bit timer at 3.579545MHz port 0x808-0x80b on acpi0
pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0
pci0: ACPI PCI bus on pcib0
agp0: VIA KT880 host to PCI bridge on hostb0
agp0: aperture size is 128M
pcib1: ACPI PCI-PCI bridge at device 1.0 on pci0
pci1: ACPI PCI bus on pcib1
vgapci0: VGA-compatible display port 0xd000-0xd0ff mem
0xb000-0xb7ff,0xfe20-0xfe20 irq 16 at device 0.0 on
pci1
vgapci1: VGA-compatible display mem
0xa800-0xafff,0xfe00-0xfe00 at device 0.1 on pci1
skc0: Marvell Gigabit Ethernet port 0xe400-0xe4ff mem
0xfe90-0xfe903fff irq 18 at device 9.0 on pci0
skc0: Marvell Yukon Lite Gigabit Ethernet rev. A3(0x7)
sk0: Marvell Semiconductor, Inc. Yukon on skc0
sk0: Ethernet address: 00:11:2f:b9:91:f2
miibus0: MII bus on sk0
e1000phy0: Marvell 88E1011 Gigabit PHY PHY 0 on miibus0
e1000phy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX-FDX, auto
skc0: [ITHREAD]
atapci0: VIA 6420 SATA150 controller port
0xeff0-0xeff7,0xefe4-0xefe7,0xefa8-0xefaf,0xefe0-0xefe3,0xef90-0xef9f,0xe800-0xe8ff
irq 20 at device 15.0 on pci0
atapci0: [ITHREAD]
ata2: ATA channel 0 on atapci0
ata2: [ITHREAD]
ata3: ATA channel 1 on atapci0
ata3: [ITHREAD]
atapci1: VIA 8237 UDMA133 controller port
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xfc00-0xfc0f at device 15.1 on
pci0
ata0: ATA channel 0 on atapci1
ata0: [ITHREAD]
ata1: ATA channel 1 on atapci1
ata1: [ITHREAD]
uhci0: VIA 83C572 USB controller port 0xeec0-0xeedf irq 21 at device
16.0 on pci0
uhci0: [GIANT-LOCKED]
uhci0: [ITHREAD]
usb0: VIA 83C572 USB controller on uhci0
usb0: USB revision 1.0
uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 on usb0
uhub0: 2 ports with 2 removable, self powered
uhci1: VIA 83C572 USB controller port 0xef00-0xef1f irq 21 at device
16.1 on pci0
uhci1: [GIANT-LOCKED]
uhci1: [ITHREAD]
usb1: VIA 83C572 USB controller on uhci1
usb1: USB revision 1.0
uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 on usb1
uhub1: 2 ports with 2 removable, self powered
uhci2: VIA 83C572 USB controller port 0xef20-0xef3f irq 21 at device
16.2 on pci0
uhci2: [GIANT-LOCKED]
uhci2: [ITHREAD]
usb2: VIA 83C572 USB controller on uhci2
usb2: USB revision 1.0
uhub2: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 on usb2
uhub2: 2 ports with 2 removable, self powered
uhci3: VIA 83C572 USB controller port 0xef40-0xef5f irq 21 at device
16.3 on pci0
uhci3: [GIANT-LOCKED]
uhci3: [ITHREAD]
usb3: VIA 83C572 USB controller on uhci3
usb3: USB revision 1.0
uhub3: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 on usb3
uhub3: 2 ports with 2 removable, self powered
ehci0: VIA VT6202 USB 2.0 controller mem 0xfea0-0xfea000ff irq
21 at device 16.4 on pci0
ehci0: [GIANT-LOCKED]
ehci0: [ITHREAD]
usb4: EHCI version 1.0
usb4: companion controllers, 2 ports each: usb0 usb1 usb2 usb3
usb4: VIA VT6202 USB 2.0 controller on ehci0
usb4: USB revision 2.0
uhub4: VIA EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 on usb4
uhub4: 8 ports with 8 removable, self powered
isab0: PCI-ISA bridge at device 17.0 on pci0
isa0: ISA bus on isab0
acpi_button0: Power Button on acpi0
acpi_button1: Sleep Button on acpi0
atkbdc0: Keyboard controller 

Fwd: autogen gcc makefile.def error Postfix 2.5.6

2010-02-07 Thread Danny Edge
I haven't used FreeBSD in eight years and haven't installed Postfix since
then. Can someone please help with the GCC error below?

Thanks.

-- Forwarded message --
From: Wietse Venema wie...@porcupine.org
Date: Sun, Feb 7, 2010 at 8:51 PM
Subject: Re: autogen gcc makefile.def error Postfix 2.5.6
To: Postfix users postfix-us...@postfix.org


Danny Edge:
 Stop in /usr/ports/lang/gcc42.
 *** Error code 1

You have a problem bulding GCC. You are about 100 miles away
from building Postfix.

   Wietse



-- 
CPDE - Certified Petroleum Distribution Engineer
CCBC - Certified Canadian Beer Consumer
___
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: autogen gcc makefile.def error Postfix 2.5.6

2010-02-07 Thread Danny Edge
On Sun, Feb 7, 2010 at 9:14 PM, Adam Vande More amvandem...@gmail.comwrote:

 On Sun, Feb 7, 2010 at 7:55 PM, Danny Edge nocmon...@gmail.com wrote:

 I haven't used FreeBSD in eight years and haven't installed Postfix since
 then. Can someone please help with the GCC error below?

 Thanks.


 You'll need to include a lot more info than that.

 You can review this page to get the best experience here:


 http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-questions/article.html

 Since you've been away so long a review of the handbook would be helpful
 for you as well.

 The best guess I can make given the info you provided is that you're trying
 to built a port without being root.  That isn't going to work, you need
 appropriate permissions.


make install clean was performed as root from the postfix ports path. This
is a new install of 7.2R. What additional information can I provide?

Thanks.


-- 
CPDE - Certified Petroleum Distribution Engineer
CCBC - Certified Canadian Beer Consumer
___
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


Software RAID options

2010-01-29 Thread Danny Edge
What works for you and can you suggest a guide? I haven't setup a BSD server
in 8 years, but my environment will be:

FreeBSD 7.2 Release
x2 HD's (not the same size, if I need to spend the money, on two like
drives, kindly insist)
DNS cache and auth
Postfix MTA
1 user/1 IMAP mailbox  less than 10GB's of data

I also plan on backing up via newbie rsync and SSH scripts.

Thanks.


-- 
CPDE - Certified Petroleum Distribution Engineer
CCBC - Certified Canadian Beer Consumer
___
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: Software RAID options

2010-01-29 Thread Danny Edge
On Fri, Jan 29, 2010 at 11:18 PM, Glen Barber glen.j.bar...@gmail.comwrote:

 Hi,

 Danny Edge wrote:
  What works for you and can you suggest a guide? I haven't setup a BSD
 server
  in 8 years, but my environment will be:

 I've been using gmirror for some time, without problems.

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


Thanks, Glen, I should have mentioned that I did see gmirror mentioned in
the HB. Pending further suggestions, I will try gmirror for software RAID 1
(yes, as large as the smallest disk).

[Snip...]
.


 
  I also plan on backing up via newbie rsync and SSH scripts.
 

 May I suggest rsnapshot?


I will look into rsnapshot. All these new tools that I didn't have 10 years
ago!



-- 
CPDE - Certified Petroleum Distribution Engineer
CCBC - Certified Canadian Beer Consumer
___
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


Sendmail Masqurading and root mails

2009-08-02 Thread Danny Carroll
I have a situation that I've come across from time to time that I have
never found a good fix for.

Sometimes I'll install a freebsd box at a site with private  addresses
(RFC 1918).  Most of the time these sites also have local DNS setups.

I'll take my home network as an example.  My FreeBSD box (7.2) does:
 - File serving
 - PPP/Routing/NATd for the local network
 - WWW
 - Local DNS

Nothing special.
The network is a 192.168 network and the local domain is .lan

The problem is when I try to forward periodic output to my real email
address.  My email box see's the EHLO from beastie.lan and rejects the
message based on the fact that r...@beastie.lan is an unroutable address.

There are a few solutions I've used in the past.
 - Replace sendmail with exim and configure the SMTP domain.
 - Put beastie.lan in my email servers hosts file.

Neither of these are what I am looking for.  I'd like to make sendmail
re-write all outgoing emails (envelope as well as message) as
*...@some.real.domain instead of *...@beastie.lan.

I have a simple sendmail submit setup.  (sendmail=no in rc.conf)

I've added the following to the default sendmail mc file:

MASQUERADE_AS(`mypublicdomain.com')dnl
FEATURE(masquerade_envelope)dnl
MASQUERADE_DOMAIN(beasie.lan)dnl

Recompiled the cf files and restarted sendmail.

Here is the kicker.  If I log in as a normal user it masquerades just
fine.

If I simply su -  to root, the masquerading works fine and the mail is
sent as the original logged in user.

But if I log in as root via the console then it does not alter the messages.

Apart from ditching sendmail for another MTA, does anyone know how I
might coerce sendmail into rewriting root's messages as well?
___
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: Sendmail Masqurading and root mails

2009-08-02 Thread Danny Carroll
Jeffrey Goldberg wrote:
 I found the answer to your problem here:
 
  http://www.grok.org.uk/docs/smroot.html
 
 
 The file that is being included which has the
 
   EXPOSED_USER(`root')
 
 line lives at
 
  /usr/share/sendmail/cf/domain/generic.m4
 
 Just make a copy of that file, call it beasie.m4, remove the
 EXPOSE_USER directive from your copy and then change
 
  DOMAIN(generic)
 
 to
 
  DOMAIN(beasie)
 
 in your mail .mc file.
 
 Cheers,


It seems your google-fu is much better than mine.
Thanks so much for your help.

-D
___
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


Strange startup behaviour.

2009-07-02 Thread Danny Carroll
Since I recently started using freebsd as a adsl gateway I have noticed
some strange things at startup.

/etc/rc.d/natd does not get executed.   If I run it manually it works
fine but not at boot time.

I just rebooted now and (again) had to re-start natd.  Looking at the
startup scipts I see some strange things.  The access time on some
scripts is from yesterday.

I wonder if someone might have an idea on where I'd start to look at
this, or perhaps has seen this behaviour before?   The systems is 7.2 P5.

# ls -lasut /etc/rc.d/
total 382
 2 -r-xr-xr-x   1 root  wheel285 Jul  3 00:17 adjkerntz
 2 -r-xr-xr-x   1 root  wheel   1763 Jul  3 00:17 random
 2 -r-xr-xr-x   1 root  wheel405 Jul  3 00:17 FILESYSTEMS
10 -r-xr-xr-x   1 root  wheel   9386 Jul  3 00:17 bluetooth
 2 -r-xr-xr-x   1 root  wheel328 Jul  3 00:17 ccd
 2 -r-xr-xr-x   1 root  wheel523 Jul  3 00:17 ddb
 2 -r-xr-xr-x   1 root  wheel   1120 Jul  3 00:17 dumpon
 2 -r-xr-xr-x   1 root  wheel383 Jul  3 00:17 early.sh
 2 -r-xr-xr-x   1 root  wheel   1151 Jul  3 00:17 encswap
 2 -r-xr-xr-x   1 root  wheel   1248 Jul  3 00:17 fsck
 4 -r-xr-xr-x   1 root  wheel   2173 Jul  3 00:17 gbde
 4 -r-xr-xr-x   1 root  wheel   2702 Jul  3 00:17 geli
 4 -r-xr-xr-x   1 root  wheel   2800 Jul  3 00:17 hostid
 2 -r-xr-xr-x   1 root  wheel   1780 Jul  3 00:17 initrandom
 6 -r-xr-xr-x   1 root  wheel   5130 Jul  3 00:17 mdconfig
 2 -r-xr-xr-x   1 root  wheel983 Jul  3 00:17 mountcritlocal
 2 -r-xr-xr-x   1 root  wheel747 Jul  3 00:17 root
 2 -r-xr-xr-x   1 root  wheel260 Jul  3 00:17 swap1
 4 -r-xr-xr-x   1 root  wheel   3147 Jul  3 00:17 var
 2 -r-xr-xr-x   1 root  wheel593 Jul  3 00:17 wpa_supplicant
 2 -r-xr-xr-x   1 root  wheel   1335 Jul  3 00:17 zfs
 4 drwxr-xr-x   2 root  wheel   2560 Jul  2 14:20 .
 4 drwxr-xr-x  20 root  wheel   2560 Jul  2 14:20 ..
 2 -r-xr-xr-x   1 root  wheel887 Jul  2 14:17 bgfsck
 4 -r-xr-xr-x   1 root  wheel   2298 Jul  2 14:17 bridge
 2 -r-xr-xr-x   1 root  wheel313 Jul  2 14:17 bsnmpd
 2 -r-xr-xr-x   1 root  wheel382 Jul  2 14:17 cron
 2 -r-xr-xr-x   1 root  wheel277 Jul  2 14:17 ftp-proxy
 2 -r-xr-xr-x   1 root  wheel385 Jul  2 14:17 ftpd
 2 -r-xr-xr-x   1 root  wheel   1951 Jul  2 14:17 geli2
 2 -r-xr-xr-x   1 root  wheel446 Jul  2 14:17 hostapd
 2 -r-xr-xr-x   1 root  wheel322 Jul  2 14:17 idmapd
 2 -r-xr-xr-x   1 root  wheel367 Jul  2 14:17 inetd
16 -r-xr-xr-x   1 root  wheel  15107 Jul  2 14:17 jail
 2 -r-xr-xr-x   1 root  wheel   1147 Jul  2 14:17 localpkg
 4 -r-xr-xr-x   1 root  wheel   2462 Jul  2 14:17 mixer
 2 -r-xr-xr-x   1 root  wheel   1668 Jul  2 14:17 moused
 2 -r-xr-xr-x   1 root  wheel283 Jul  2 14:17 msgs
 2 -r-xr-xr-x   1 root  wheel350 Jul  2 14:17 othermta
 2 -r-xr-xr-x   1 root  wheel528 Jul  2 14:17 securelevel
 4 -r-xr-xr-x   1 root  wheel   2570 Jul  2 14:17 sendmail
 2 -r-xr-xr-x   1 root  wheel933 Jul  2 14:17 sysctl
 4 -r-xr-xr-x   1 root  wheel   2299 Jul  2 14:17 sshd
 6 -r-xr-xr-x   1 root  wheel   4552 Jul  2 14:17 syscons
 2 -r-xr-xr-x   1 root  wheel   1673 Jul  2 14:17 watchdogd
 2 -r-xr-xr-x   1 root  wheel745 Jul  2 14:17 ypset
 2 -r-xr-xr-x   1 root  wheel755 Jul  2 14:17 ypupdated
 2 -r-xr-xr-x   1 root  wheel764 Jul  2 14:17 ypxfrd
 2 -r-xr-xr-x   1 root  wheel404 Jul  2 14:17 LOGIN
 2 -r-xr-xr-x   1 root  wheel977 Jul  2 14:17 motd
 2 -r-xr-xr-x   1 root  wheel713 Jul  2 14:17 mountlate
 2 -r-xr-xr-x   1 root  wheel   1083 Jul  2 14:17 nscd
 2 -r-xr-xr-x   1 root  wheel   1268 Jul  2 14:17 ntpd
 2 -r-xr-xr-x   1 root  wheel432 Jul  2 14:17 powerd
 2 -r-xr-xr-x   1 root  wheel346 Jul  2 14:17 rarpd
 4 -r-xr-xr-x   1 root  wheel   2400 Jul  2 14:17 rfcomm_pppd_server
 2 -r-xr-xr-x   1 root  wheel   1684 Jul  2 14:17 rtadvd
 2 -r-xr-xr-x   1 root  wheel279 Jul  2 14:17 rwho
 2 -r-xr-xr-x   1 root  wheel471 Jul  2 14:17 sdpd
 2 -r-xr-xr-x   1 root  wheel286 Jul  2 14:17 timed
 2 -r-xr-xr-x   1 root  wheel682 Jul  2 14:17 ugidfw
 2 -r-xr-xr-x   1 root  wheel802 Jul  2 14:17 yppasswdd
 2 -r-xr-xr-x   1 root  wheel614 Jul  2 14:17 apm
 2 -r-xr-xr-x   1 root  wheel784 Jul  2 14:17 apmd
 2 -r-xr-xr-x   1 root  wheel333 Jul  2 14:17 bootparams
 2 -r-xr-xr-x   1 root  wheel656 Jul  2 14:17 bthidd
 2 -r-xr-xr-x   1 root  wheel460 Jul  2 14:17 hcsecd
 2 -r-xr-xr-x   1 root  wheel535 Jul  2 14:17 local
 2 -r-xr-xr-x   1 root  wheel439 Jul  2 14:17 lpd
 2 -r-xr-xr-x   1 root  wheel241 Jul  2 14:17 DAEMON
 2 -r-xr-xr-x   1 root  wheel   1610 Jul  2 14:17 virecover
 2 -r-xr-xr-x   1 root  wheel979 Jul  2 14:17 amd
 4 -r-xr-xr-x   1 root  wheel   2406 Jul  2 14:17 atm3
 2 -r-xr-xr-x   1 root  wheel574 Jul  2 14:17 auditd
 2 -r-xr-xr-x   1 root  wheel   1703 Jul  2 14:17 cleartmp
 2 -r-xr-xr-x   1 root  wheel   1237 Jul  2 14:17 dhclient
 2 -r-xr-xr-x   1 root  wheel427 Jul  2 14:17 dmesg
 2 -r-xr-xr-x   1 root  wheel317 Jul  2 14:17 

Re: Strange startup behaviour.

2009-07-02 Thread Danny Carroll
Bill Moran wrote:
 Probably good to attach your rc.conf file, as that's the most likely thing
 that's wrong, given the information you provided.
 

That would surprise me.   The thing that looked strange to me was that
there was a heap of files in /etc/rc.d/ that look like they had not been
accessed since the last shutdown of the machine.

Here is my rc.conf

named_enable=YES
gateway_enable=YES
hostname=nas.lan
keymap=us.iso
sshd_enable=YES
zfs_enable=YES

openntpd_enable=YES

natd_enable=YES
natd_interface=tun0
natd_flags=-f /etc/natd.conf

apache2_enable=YES
apache2_profiles=default backuppc
apache2_default_configfile=/usr/local/etc/apache2/httpd.conf
apache2_backuppc_configfile=/usr/local/etc/apache2/httpd-backuppc.conf

inetd_enable=YES

nmbd_enable=YES
smbd_enable=YES

winbindd_enable=NO
backuppc_enable=YES

rpcbind_enable=YES
nfs_server_enable=YES
mountd_enable=YES
mountd_flags=-n -r

nut_enable=YES
nut_upslog_enable=YES
nut_upsmon_enable=YES

firewall_enable=YES
firewall_logging=YES
firewall_type=custom
firewall_script=/etc/firewall.rules

racoon_enable=NO

pf_enable=NO # Enable PF (load module if required)
pf_rules=/etc/pf.conf # rules definition file for pf
pf_flags= # additional flags for pfctl startup
pflog_enable=NO  # start pflogd(8)
pflog_logfile=/var/log/pflog  # where pflogd should store the logfile
pflog_flags=  # additional flags for pflogd startup

ppp_enable=YES
ppp_mode=ddial
ppp_nat=NO

#For Office subnet
ifconfig_fxp0=inet 172.21.5.118 netmask 255.255.255.248
#Lan subnet
ifconfig_em0=inet 192.168.10.21 netmask 255.255.255.0 media 1000baseTX
mediaopt full-duplex
#Media subnet
ifconfig_em1=inet 192.168.1.1 netmask 255.255.255.0 media 100baseTX
mediaopt full-duplex
# Wireless lan subnet
ifconfig_ath0=inet 192.168.2.1 netmask 255.255.255.0 ssid WIFI wepmode
on weptxkey 1 wepkey 1:0xSomeKeyThatIsPrivate channel 4 mode 11g
mediaopt hostap
# For the internet PPP0E link
ifconfig_fxp1=inet 10.0.0.2 netmask 255.255.255.0 media 100baseTX
mediaopt full-duplex

syslogd_flags=-a 172.21.5.0/24:* -a 192.168.10.0/24:*

smartd_enable=YES
doorman_enable=YES
pureftpd_enable=YES

dhcpd_enable=YES  # dhcpd enabled?
dhcpd_flags=-q# command option(s)
dhcpd_conf=/usr/local/etc/dhcpd.conf  # configuration file
dhcpd_ifaces=ath0 em0 em1 # ethernet interface(s)
dhcpd_withumask=022   # file creation mask

mysql_enable=YES
asterisk_enable=YES




___
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: Strange startup behaviour.

2009-07-02 Thread Danny Carroll
Danny Carroll wrote:
 That would surprise me.   The thing that looked strange to me was that
 there was a heap of files in /etc/rc.d/ that look like they had not been
 accessed since the last shutdown of the machine.

I think I figured out this behaviour.
I believe that the access times are different because at boot time
adjkerntz runs and sets the correct time (or rather zone) during boot.

The times are 10 hours apart which is the difference between UTC and my
time zone.  It was a strange co-incidence that I rebooted my machine
yesterday twice, the second time was almost 10 hours after the first
which is why I was confused.

Perhaps if the clock was set to UTC then this would not happen.

It still does not explain why /etc/rc.d/natd does not start natd at
boot.  I also tried copying /etc/rc.d/natd to /usr/local/etc/rc.d in the
thought that this was a chicken/egg problem and /usr/local/etc/rc.d
scripts might run late enough to work.  But I still need to restart natd
manually.

-D
___
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


upgrading installed ports: time to do it ?

2009-06-21 Thread danny
Hi list members ,

I frequently update the contents of the ports tree but I have never upgraded 
any port. I am studying the way to do it, by following the handbook and an 
article on The FreeBSD Diary about the use of portupgrade.
At the moment I am focuing the attention to the '/usr/ports/UPDATING' file. 
The question that arose is the following: is there any automated way to check 
if any of the port to be upgraded has specific upgrading notes written in 
that file ? 
Do you prefer doing a mass or selective upgrade ? 

Thanks !

dan
___
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: iSCSI initiator lockups

2009-03-11 Thread Danny Braniss
 
 --VbJkn9YxBvnuCH5J
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 Content-Transfer-Encoding: quoted-printable
 
 In our last exciting episode, Danny Braniss (da...@cs.huji.ac.il) said:
  I guess it's time to fix this.
  danny
 
 Thank you very much for the pointer to the newer version; we have seen a=20
 marked improvement with none of the 30 second studdering. I appreciate
 your rapid assistance!

Good,
can you send me the info of the target/s you are using to add
to the list of supported targets?

Cheers,
danny


___
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: iSCSI initiator lockups

2009-03-10 Thread Danny Braniss
 
 --ikeVEW9yuYc//A+q
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 Content-Transfer-Encoding: quoted-printable
 
 I'm running into some odd headaches regarding what looks like iSCSI initiat=
 ors
 going to sleep for approximately 30 seconds before returning to life and
 pumping a ton of information back to the target. While this is happening,
 system load climbs up alarmingly fast. Looking at tcpdumps in Wireshark, it
 shows what appears to be a nearly exact 30 second delay where the initiator
 stops talking to the target server, then abruptly restarts. Currently
 8 machines are talking to 2 servers with 4 targets a piece, and while its=
 =20
 working, we get good throughput. Activity is moderately high, as we are=20
 using the iSCSI targets as spool disks in an email cluster. As it appears
 that iscsi-target is a single-threaded process, would it be valuable to
 put each target in its own process on its own port? At any rate, this is
 causing serious problems on the mail processing machines.
 
can you send me the output of
sysctl net.iscsi

chears,

danny

___
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


Optimal File System config for 2.5TB RAID5

2008-09-30 Thread Danny Do
Hello,

I am building a 6x500GB SATA HARDWARE RAID5 storage server to
- Store large files, 10BM~1GB/file
- Handling 500+ concurrent connections
- Transfer rate around 100~200Mbit/s

I am thinking of using the patch from Wojciech Puchar to reduce hard drive
data seek in order to handle large number of concurrent connections whilst
outputting 100~200Mbit/s.

patch /usr/src/sys/sys/param.h
#ifndef DFLTPHYS
#define DFLTPHYS(1024 * 1024)   /* default max raw I/O transfer size
*/
#endif
#ifndef MAXPHYS
#define MAXPHYS (1024 * 1024)   /* max raw I/O transfer size */
#endif
#ifndef MAXDUMPPGS


To store files greater than 10MB, I come up with the following proposal for
my File System:
- UFS2
- Soft Update  Enable
- block-size   1,048,576

I am not completely sure what advantage I got from this configuration but I
am pretty sure that FSCK is much quicker with 1M file system block-size. 

Is there any other thing I need to consider in term of performance and
reliability?

I hope that this system will perform much better than my current 6x300GB
SCSI 10K RPM system.

Appreciate any advice,

Danny

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


RE: Optimal File System config for 2.5TB RAID5

2008-09-30 Thread Danny Do
Why do you think slower drives using an interface that has known
problems handling concurrent connections will be faster than faster
drives using an interface designed for concurrency?

My current 6x300GB SCSI system using the FreeBSD default max raw I/O
transfer size (64KB). Assume that all reads are random. In order to read
1MB from the hard drive, it would cost:
- 1024/64 * (seek time + time to read 64K)
- 16 * (8ms + 1ms) [average seek time on SATA 7200RPM is 8ms, make it 0ms
for read time]
- 128ms to read 1MB

If I change the default max raw I/O transfer size to 1MB it would only
cost (8ms seek time + 2.6ms read 1MB using SATA300). So, the time to read
1MB is only about 10.6ms.

As we can see here reading 1MB from the hard disk is at least 10 times
better if we increase the default max raw I/O transfer size to 1MB. This
is mainly because the main cost for reading random data from hard disk is
seek time.

I think the drawback from such configuration is that our server will consume
at least:
- n concurrent connections * default max raw I/O transfer size 
of memory just for reading the data from hard disk. RAM quite cheap these
days, I think it's ok.



Based on my experiences with SATA vs. U160/U320 SCSI or SAS your likely
outcome is to see a marked decrease in performance.  I'd be interested
to hear your results.

If both SATA and SCSI system using the same configuration, the end result
should be obvious. However, If SCSI system using 64K IO transfer size whilst
SATA using 1MB IO transfer size, I don't know! I think the SATA system will
outperform the SCSI system. 

I'll let you know when I get the new SATA system from my ISP.


Cheers,

Danny

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


RE: Optimal File System config for 2.5TB RAID5

2008-09-30 Thread Danny Do
Hi Wojciech Puchar,

The reason I want to use hardware RAID is because I got so much problem with
software RAID5 4 years ago on FreeBSD 5.4. I still remember those
nightmares. Furthermore, hardware RAID5 doesn't require much knowledge and
management.

But you could be right, the CPU speed is triple now, software RAID gets
smarter and more stable, it could perform better than hardware RAID because
it's more flexible. But again, I still prefer hardware because it's easy to
use and easy to manage. 

Thanks all the tips Wojciech Puchar,

Danny

 

-Original Message-
From: Wojciech Puchar [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, 30 September 2008 9:16 PM
To: Danny Do
Cc: 'Josh Paetzel'; freebsd-questions@freebsd.org
Subject: RE: Optimal File System config for 2.5TB RAID5

 SATA using 1MB IO transfer size, I don't know! I think the SATA system
will

SATA drives aren't much slower than SCSI.

simply make this 1MB IO transfer size.

as you still want hardware RAID5 it looks you simply read maybe every 
second word from my mails we exchanged privately.


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


RE: Optimal File System config for 2.5TB RAID5

2008-09-30 Thread Danny Do
Hi Wojciech Puchar,

I got Perc 4E-DI Embedded Raid Adapter (256MB) from DELL for my current SCSI
system. They said it's the enterprise class. I don't know much about the
performance between software RAID and hardware RAID.

Could you please tell me if this type of hardware RAID controller could
match the software RAID you were talking about? 

I don't want to pay for it if I don't really need it.


Thanks,

Danny



-Original Message-
From: Wojciech Puchar [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, 1 October 2008 1:56 AM
To: Danny Do
Cc: freebsd-questions@freebsd.org
Subject: RE: Optimal File System config for 2.5TB RAID5


 The reason I want to use hardware RAID is because I got so much problem
with
 software RAID5 4 years ago on FreeBSD 5.4. I still remember those
 nightmares. Furthermore, hardware RAID5 doesn't require much knowledge and
 management.

 But you could be right, the CPU speed is triple now, software RAID gets
 smarter and more stable, it could perform better than hardware RAID
because
 it's more flexible. But again, I still prefer hardware because it's easy
to

it's someone more than that, still - you don't read my mails carefully.

you will get better performance with my patch, but still it will be crappy 
with your hardware RAIDs compared to what it should be

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


RE: Optimal File System config for 2.5TB RAID5

2008-09-30 Thread Danny Do
Thanks for the concrete example of the pitfall of hardware RAID Jeremy.

I never had any problem with hardware driver, that's why I never thought of
it. But you are quite right! I should be avoiding hardware RAID whenever
possible. I get much more support and quicker response here than from
hardware vendor.

Ok, I have to pickup gVinum where I left it 4 years ago. Hopefully, the
software is stable now. 


Thanks again Jeremy Chadwick, Wojciech Puchar and this wonderful community,

Danny



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jeremy Chadwick
Sent: Wednesday, 1 October 2008 5:45 AM
To: Danny Do
Cc: 'Wojciech Puchar'; freebsd-questions@freebsd.org
Subject: Re: Optimal File System config for 2.5TB RAID5

On Wed, Oct 01, 2008 at 04:49:27AM +0700, Danny Do wrote:
 I got Perc 4E-DI Embedded Raid Adapter (256MB) from DELL for my current
SCSI
 system. They said it's the enterprise class. I don't know much about the
 performance between software RAID and hardware RAID.

I'm not familiar with PERC (LSI) controllers, just for the record.

 Could you please tell me if this type of hardware RAID controller could
 match the software RAID you were talking about? 

What you're asking for is too much -- and this conversation is
starting to delve into freebsd-hardware, not freebsd-questions.

Unless someone out there has done full benchmarks comparing FreeBSD ZFS
or FreeBSD gvinum to a PERC 4E-DI, with all kinds of test cases (what
sort of server it is, what it's doing disk-wise, etc.), I doubt you'll
be able to get a conclusive answer here.  Such benchmarking would
require weeks of effort by someone.

Heck, I'm not even sure FreeBSD supports the PERC 4E-DI.

That said, if you go with that controller, you should be aware of the
following things: there are many problems with hardware RAID.

1) If the controller goes bad after the lifetime of the controller has
expired, there is very little chance the vendor will give you a
replacement controller that understands the metadata of the previous/bad
controller.

You are flat out stuck with that model of controller for the rest of
your life, unless the vendor can *guarantee* backwards compatibility
when providing a newer controller.  And I'm willing to bet money that
general technical support has no idea what metadata is, or any
technical details; they just know what they're told (controller X is no
longer available, give them controller Y)

2) Driver support is often iffy with such controllers, at least under
FreeBSD.  FreeBSD SCSI CAM is quite reliable, so that's not the problem.
Here's some past evidence of mfi(4) and mpt(4) having problems
administrating arrays, or experiencing horrible performance, requiring
tuning be done and much troubleshooting:

http://wiki.freebsd.org/JeremyChadwick/Commonly_reported_issues

3) You are at the whim of the hardware RAID controller's BIOS.
Performance can be affected by bugs in the BIOS, or BIOS bugs can cause
you trouble down the road.  You have to ask yourself how much you
ultimately trust the technical support people at Dell vs. the FreeBSD
community.

4) Driver regressions may hurt you.  There may be a day when you go
to upgrade to FreeBSD 8.0 (when it becomes stable), only to find that
your controller isn't recognised, or has odd problems.  (I myself
just ran into this situation with -CURRENT last week, where my SATA
controller isn't detected, while works perfectly in RELENG_7).  You're
then stuck on an older FreeBSD until those problems can be worked
out.


The only hardware RAID controller I've seen praise for, under FreeBSD,
are Areca controllers.  I'm told the performance (on a purely general
level) is absolutely incredible/blazing fast.  I don't know what
those people are comparing against, though.

Be aware that many developers, including folks like Matt Dillon (of
DragonflyBSD) and Ade Lovett (very familiar with filers and disk
storage) recommend you *completely avoid* hardware RAID controllers or
on-motherboard RAID (e.g. Intel MatrixRAID), and go with OS-based RAID
(ZFS, gvinum, or standalone UFS2+SU filesystems).

If you reach a point where disk I/O on that server is becoming so
heavy that you feel you need a hardware RAID controller, that would
be when you should come back to the list (freebsd-stable,
freebsd-hardware, or freebsd-isp) to discuss the problems you're
having with performance.

-- 
| Jeremy Chadwickjdc at parodius.com |
| Parodius Networking   http://www.parodius.com/ |
| UNIX Systems Administrator  Mountain View, CA, USA |
| Making life hard for others since 1977.  PGP: 4BD6C0CB |

___
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

Hard disk bottle neck.

2008-09-28 Thread Danny Do
Hi guys,

 

I have this problem for years but couldn't find a way to solve it.

I have a file server handling large files from 1MByte to 1GByte. 

Server Info:
FreeBSD 6.2 
Apache 2.2.9

DELL PowerEdge 1850
2GB RAM (only 184MB is active)
6x300MB SCSI 10K RPM RAID5
Gigabit Ethernet Connection

My server can output NO MORE than 60Mbps (read only). 

The bottle neck is the hard disk. If I use ONE connection to download file
from my server, the speed can go up to about 400Mbps. 

If I let visitors download using multiple connections, the server cannot
output more than 60Mbps. 

My service is similar to rapidshare/megaupload, I am wondering how they
configure their servers?

If I recall correctly, it doesn't cost much time to read the data from the
disk but it does cost a lot of time to seek for the data. Correct me if I am
wrong, if I increase the read buffer size, there would be less disk seek
(disk access). Let's say the read buffer is 64K, if I increase it to 640K,
the disk seek would reduce by 90%. Thus, more data can be read from the hard
drive.

What should I do now?


Any suggestion is appreciated!

Danny Do

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


RE: Hard disk bottle neck.

2008-09-28 Thread Danny Do
Hi Matthew  Wojciech Puchar and others,

First of all, I'd like to correct one mistyped:
- I got 6x300GB SCSI 10K RPM hard drive.
- Most of my files are about 100MB, many as big as 1GB.
- Caching is not an option.

Thanks for the advices but caching is not an option for me as most of my
files are about 100MB, many files are as big as 1GB. 

I tried Lighty a few years ago but it doesn't help. The problem I think is
disk seek. If I can reduce disk seek by increasing read buffer, I think
problem would be solved. 

I am thinking of trying Wojciech Puchar method by patching the kernel with
the following code:

patch /usr/src/sys/sys/param.h

#ifndef DFLTPHYS
#define DFLTPHYS(1024 * 1024)   /* default max raw I/O transfer size
*/
#endif
#ifndef MAXPHYS
#define MAXPHYS (1024 * 1024)   /* max raw I/O transfer size */
#endif
#ifndef MAXDUMPPGS

I'll update the result. I'll tell you how I go. Maybe sometimes in the next
fortnight.

Thanks everyone, thanks Wojciech Puchar,

Danny


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Matthew Seaman
Sent: Sunday, 28 September 2008 7:30 PM
To: Danny Do
Cc: freebsd-questions@freebsd.org
Subject: Re: Hard disk bottle neck.

Danny Do wrote:
 Hi guys,
 
  
 
 I have this problem for years but couldn't find a way to solve it.
 
 I have a file server handling large files from 1MByte to 1GByte. 
 
 Server Info:
 FreeBSD 6.2
 Apache 2.2.9
 
 DELL PowerEdge 1850
 2GB RAM (only 184MB is active)
 6x300MB SCSI 10K RPM RAID5
 Gigabit Ethernet Connection
 
 My server can output NO MORE than 60Mbps (read only). 
 
 The bottle neck is the hard disk. If I use ONE connection to download 
 file from my server, the speed can go up to about 400Mbps.
 
 If I let visitors download using multiple connections, the server 
 cannot output more than 60Mbps.
 
 My service is similar to rapidshare/megaupload, I am wondering how 
 they configure their servers?
 
 If I recall correctly, it doesn't cost much time to read the data from 
 the disk but it does cost a lot of time to seek for the data. Correct 
 me if I am wrong, if I increase the read buffer size, there would be 
 less disk seek (disk access). Let's say the read buffer is 64K, if I 
 increase it to 640K, the disk seek would reduce by 90%. Thus, more 
 data can be read from the hard drive.
 
 What should I do now?

Try some different webservers. Apache is great, but it is designed to be
maximally flexible and capable of doing anything you can imagine rather than
to be absolutely as fast as possible.

There are some light-weight servers which have put work into optimizing
delivery of static content -- usually spoken of in the context of serving
images but any static files will be suitable material.  Personally, I really
like nginx for this.  Lots of people go for lighttpd and there are a number
of other alternatives in ports.

Also, depending on exactly how much content you have to serve and whether
certain items are very much more popular than others, a reverse proxy /
memory cache (a.k.a http accelerator) may help.  varnish is the obvious
candidate here, but you'll have to experiment a bit to see what the optimal
settings are and if it actually helps at all.

If your website runs using a scripting language such as PHP, then another
possibility is memcached -- although described as a cache for dynamically
generated pages, it can cache just about anything, but you will need some
sort of scripting language to interface to it from your web server.  There
are memcached APIs for all popular languages and probably a few you've never
heard of...

The various caching strategies basically work because they keep recently
accessed files in RAM, avoiding an expensive round-trip to the HDD to
retrieve the data (memory access takes nano- or micro- seconds: disk
accesses take milliseconds).  Of course, the OS itself also does exactly the
same thing in a general way, and FreeBSD is already very good in this
respect.  Caching  software however gives you more control over what gets
cached and for how long,  enabling you to tune this specific application for
maximum performance.

Cheers,

Matthew

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


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


RE: Hard disk bottle neck.

2008-09-28 Thread Danny Do
Hi Diego,

The reason I use RAID5 because I don't want to waste too much space on 
redundancy whilst taking the advantage of read. Over 99% of disk access are 
expected to be reading. 

I could split to 2xRAID5 but I will have difficulty with file management later. 
Furthermore, the system would use 2 disks for parity. I don't want to lose too 
much space. [EMAIL PROTECTED] SCSI disks are still very expensive. :(





-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Diego F. Arias R.
Sent: Sunday, 28 September 2008 11:25 PM
To: Bill Moran
Cc: Wojciech Puchar; Danny Do; freebsd-questions@freebsd.org
Subject: Re: Hard disk bottle neck.

On Sun, Sep 28, 2008 at 11:17 AM, Bill Moran [EMAIL PROTECTED] wrote:
 Wojciech Puchar [EMAIL PROTECTED] wrote:

 after you recompile the kernel with that patch, check your disk
 performance in some directory consisting of many large files

 cd that_dir
 for x in *;do (cat $x /dev/null );done

 while running systat,:vmstat on another console

 More specifically, do this before and after you make the change, to
 demonstrate whether or not you actually fixed the problem.

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


do you check gstat?

If the patch dont works, maybe yoy may try to split the raid (2 raid
5) or better use a raid 10. The raid 5 isnt a top performance raid.

-- 
mmm, interesante.
___
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: Avermedia 507 TV

2008-04-17 Thread Danny Pansters
On Thursday 17 April 2008 13:31:50 Da Rock wrote:

snip

 You'll have to excuse me presumption here (I'll normally read all
 messages before adding to a thread), but you sound like a very good
 source of info here. May I ask you if you can supply some references to
 what you're posting here? I'd like to investigate this much further...

Principal source I used for the current tuner support with saa:

FQ1200MK3 application note from Philips (google).

The bandswitch commands for the different types come from the original saa 
example code (which I found didn't work properly for mk3 tuners until I added 
more initialization). Also, in the kbtv2 tarball, in drivers/saa/saa.h there 
are quite extensive comments.

There are plenty (semi-)technical datasheets you can find online, but 
documents such as application notes seem to be hard to get by.

There are two things, with tuners and any other hardware chip or component 
really: one is you need to understand how they work and what certain 
words/lingo mean (an electrical circuit schema can in principle be enough), 
two is there will always be a certain specific way (registers) to pass and 
retrieve and possibly convert the data you send/receive from the programmable 
parts of the circuity, even if two tuner types essentially use the exact same 
physics.

Contrary to popular belief, the problem with HW support in OSS is the latter 
more often than the former I think. That's not to say that the first isn't a 
hurdle. ATM I find myself studying PLLs more closely with the expectation 
that eventually I can understand a specific configuration more easily and 
possibly guess to some extend how HW registers are organized. I'd like to 
reorganize the tuner support that's now in the saa backend so that this 
becomes one type/class while adding other types, such as the newer silicon 
tuners (microtune, xceive, fujitsu).

I have some pdfs I could send you but there's no one definitive guide to a 
very broad area like this. And I wouldn't say that I have a broad enough view 
here to act as a trusty guide frankly.

If you're mostly interested in (digital) video I can recommend Video 
demystified by Keith Jack. Pretty hard core but stuffed with all sorts of 
useful info.

 Also, I thought I read somewhere that firmware is used in most tuners.
 Plus I found the linux drivers use firmware to make this work. Just a
 thought.

Well firmware can and is used for more than tuner support, also for example 
for a/v decoding (not to be confused with mpeg encoding) with the cxm driver, 
i.e. hauppauge PVR-150, i.e. pvrxxx). Tuning is just one thing that could be 
in a firmware. There's a firmware kernel module, used with cxm, that can load 
firmware. Essentially firmware is a blob that runs in your kernel.

So, if not needed, I prefer to avoid it, especially with saa, because the a/v 
stuff is all OSS and BSD licensed and it works alright.

There's another thing which may be confused with firmware, and that's eeprom. 
Tuners tend to have an eeprom that can be read to identify itself (eeproms 
don't execute code), and while they may be useful for identifying tuners 
they're also often busted or produce nonsense or disinformation. If you don't 
need to depend on an eeprom, I'd say avoid it.

All IMHO of course -- I'm just self-taught here. I once wanted to just make a 
nice tv viewer for bktr. Then I got an avermedia card for 20 euro... then 
stole a webcam (lately it has been stolen back though, but it lasted long 
enough to support it in kbtv), and honestly bought a pvr150 card :) And then 
there's this eyeTV hybrid stick and I haven't even started on getting that to 
work. It looks at me ... support me, support me. Creepy little thing.


HTH,

Dan

[ I don't mind discussing more specific things, except for creepy little 
things that whisper support me, but off list then please ]


 ___
 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: Avermedia 507 TV

2008-04-16 Thread Danny Pansters
On Tuesday 15 April 2008 04:36:26 Da Rock wrote:
 On Tue, 2008-04-15 at 01:30 +0200, Danny Pansters wrote:
  On Monday 14 April 2008 12:25:14 Victor M. Blood wrote:
   On 14.04.2008, Da Rock wrote:
On Mon, 2008-04-14 at 11:02 +0400, Victor M. Blood wrote:
Hi, All.
   
Anyone run tuner on phillips chip 7133/7135 on freebsd, I try to use
saa driver, devices saa0, sau0, cii0 is present in /dev/ , kbtv
runs, but freeze on begin chanel tunin...
   
How to test tuner and drivers works or not.
   
I haven't had success yet- but I have an E506AR. Where did you get
the drivers from? I couldn't get access myself.
  
   saa_driver included in kbtv distrib, and can be found in inet, driver
   homepage is broken. I-m install it from port kbtv, the nessasary
   bsd-patche within distrib tarball
 
  I suspect your tuner (terratec?)  is not amongst the supported ones.

 Both are Avermedia actually as posted, and yes they're only marginally
 supported. So far only the analogue works (possibly).

Avermedia is not a type or brand of tuner. They're a HW company that assemble 
certain cards/sticks from parts such as tuners, decoders etc.


 That saa driver- I thought there was a problem with the site, but I had

Saa driver is still available from purpe.com, but only from a direct download 
link (there's no page anymore):

http://download.purpe.com/files/saa-REL_14.tgz

 no idea it could be downloaded with kbtv. I thought it was only compiled
 with support for the driver, not the driver itself.

kbtv1 includes it also, for convenience, and because its needed for the saa 
backend anyway (well, some header).

The saa driver only covers video and audio (I only use shunted audio with 
kbtv, not real audio capture). Tuner support is all userspace (directly via 
iic device). The generic tuner support that comes with the driver (as example 
sort of) seems to indicate that this is for a class of tuners that has three 
fixed bands and must be set to switch between it (as in Philips reference 
design). TDA and MKn init require some extra iic babble.

Modern silicon tuners work differently and have quite different registers that 
need to be set for tuning.


HTH,

Dan


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


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


Re: Avermedia 507 TV

2008-04-16 Thread Danny Pansters
On Tuesday 15 April 2008 08:41:45 Victor M. Blood wrote:
 On 15.04.2008, Da Rock wrote:
  On Tue, 2008-04-15 at 01:30 +0200, Danny Pansters wrote:
  On Monday 14 April 2008 12:25:14 Victor M. Blood wrote:
   On 14.04.2008, Da Rock wrote:
On Mon, 2008-04-14 at 11:02 +0400, Victor M. Blood wrote:
Hi, All.
   
Anyone run tuner on phillips chip 7133/7135 on freebsd, I try to
use saa driver, devices saa0, sau0, cii0 is present in /dev/ , kbtv
runs, but freeze on begin chanel tunin...
   
How to test tuner and drivers works or not.
   
I haven't had success yet- but I have an E506AR. Where did you get
the drivers from? I couldn't get access myself.
  
   saa_driver included in kbtv distrib, and can be found in inet, driver
   homepage is broken. I-m install it from port kbtv, the nessasary
   bsd-patche within distrib tarball
 
  I suspect your tuner (terratec?)  is not amongst the supported ones.
 
  Both are Avermedia actually as posted, and yes they're only marginally
  supported. So far only the analogue works (possibly).
 
  That saa driver- I thought there was a problem with the site, but I had
  no idea it could be downloaded with kbtv. I thought it was only compiled
  with support for the driver, not the driver itself.

 =from kbtv README
 If you set the
 WITH_SAA variable to True the saa.ko kernel module will be built and
 installed, as well as the tvv X-based viewer (gets embedded into kbtv) and
 a saa Python module that allows for tuning and such, exactly like the bt848
 module provides for Brooktree based hardware. Note that some parts, not
 needed for kbtv, are not built and not installed by kbtv.
 =

This is from an ancient version of kbtv. Tvv is not being used as viewer for a 
long time, instead a SDL based viewer, similar to the bktr viewer is used, 
and together with the tuning and some other stuff it makes up the saa 
backend


Hope that explains things a bit,

Dan


 ls kbtv-1.0/saa/patches
 patch-Makefile
 patch-support::tuner_ctrl.h
 ls kbtv-1.0/saa/saa
 kmod
 ROMS
 support
 tvv
 LICENSE
 Makefile
 Makevars
 README

 saa-driver that loading is here
 http://download.purpe.com/files/saa-REL_14.tgz   or
 http://download.purpe.com/files/

 bsd patches from /usr/ports/multimedia/kbtv/work/*/saa/patches

 kbtv:
 http://freebsd.ricin.com/kbtv/
 http://sourceforge.net/projects/kbtv
 http://freebsd.ricin.com/ports/distfiles/kbtv-1.2.5.tbz

kbtv-1.2.5 cetrainly uses its own backend, not tvv.

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


Re: Avermedia 507 TV

2008-04-16 Thread Danny Pansters
On Tuesday 15 April 2008 08:43:05 Victor M. Blood wrote:
 On 15.04.2008, Da Rock wrote:

 How I can test my tuner? I'm newbee to bsd and can't understan why
 tuner do not works, than driver loaded without errors

Tuner support is not provided by the saa driver. The kbtv backend has support 
for some tuners, but not all possible tuners.

Dan


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


Re: Avermedia 507 TV

2008-04-14 Thread Danny Pansters
On Monday 14 April 2008 12:25:14 Victor M. Blood wrote:
 On 14.04.2008, Da Rock wrote:
  On Mon, 2008-04-14 at 11:02 +0400, Victor M. Blood wrote:
  Hi, All.
 
  Anyone run tuner on phillips chip 7133/7135 on freebsd, I try to use
  saa driver, devices saa0, sau0, cii0 is present in /dev/ , kbtv runs,
  but freeze on begin chanel tunin...
 
  How to test tuner and drivers works or not.
 
  I haven't had success yet- but I have an E506AR. Where did you get the
  drivers from? I couldn't get access myself.

 saa_driver included in kbtv distrib, and can be found in inet, driver
 homepage is broken. I-m install it from port kbtv, the nessasary
 bsd-patche within distrib tarball

I suspect your tuner (terratec?)  is not amongst the supported ones.

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


Re: FreeBSD installation on AMD64

2008-04-01 Thread Danny Pansters
On Tuesday 01 April 2008 15:06:24 Ivan Voras wrote:
 Sébastien Morand wrote:
  Hi,
 
  I'm new in FreeBSD, I'm used to GNU/Linux from many years but I'm trying
  to migrate to FreeBSD.
  My hardware is AMD64 / 1GB RAM / envy24ht network car / nVidia 7300GS GC
  / USB Scanner / HP 660 Printer

 This looks like a desktop computer, with multimedia capabilities. It's
 very likely you won't be able to use some or all of the non-essential
 components.

  So nothing to worry about except the AMD64. I read that FreeBSD i386
  installation is faster on AMD64 than amd64.

 This is not very likely, or at least as valid as in any other comparison
 between a 32-bit and a 64-bit operating systems.

  I installed amd64 and was quite
  disappointed by the performance issue, particularly because the nv driver
  is not good, and I got a lot of slowdown when some operations are made
  within X server.

 Yes, nVidia doesn't have good FreeBSD drivers, and I think they don't
 have any drivers for 64-bit FreeBSD. You're probably using the default

As you should know, they have a published wishlist of certain kernel 
requirements that we have yet to implement.

 X.Org drivers, which have only basic functionality.

I found that with a gforce (SLI) card in my amd64 box I have to disable any 
and all HW acceleration. The xorg drivers have more functionality but it 
needs to be disabled for xorg to work at all without freezing (with anything 
multithreaded -- this last observation is mine).

People send one complaint after another but no one seems to be able to connect 
the dots let alone look at the real problems. And no, I don't care enough 
about my spare (testing) box to fix it but the problems are real.


  So before reinstalling everything, I'd like to know :
  Is it a reasonable choice (in terme of performance, reliability, and
  compatibility terms) to install i386 over amd64 arch?
  Will I be able to install nvidia drivers and every i386 tools? (I got
  only working under i386 several times when installing port)
  Are there other issues I should be aware of using such an installation?

 While there are people using FreeBSD for a graphical desktop, and some
 of them are even using the 64-bit version, they are few and far between,
 and most of them are satisfied with the bare essentials. For X.Org
 issues you might try the freebsd-x11@ mailing list. For issues with
 specific ports, try stable@ or [EMAIL PROTECTED] Be ready for a lot of
 manual configuration (as compared to Linux).

It's considered TIER-1. It doesn't come close.

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


Re: Headless Azureus with any X11 Dependencies ??

2008-03-18 Thread Danny Woods

Wael Nasreddine wrote:

My server is not that fast, The specs are:

Pentium4 1.7Ghz
1024Mb RAM
7200 RPM, 250Gb HDD

  


I run mldonkey, a multi-protocol, headless server, on a 600MHz VIA Eden 
processor with 512MB RAM (http://mldonkey.sourceforge.net/, also in 
ports).  Even with many simultaneous downloads, torrents or not, the 
load on the server is negligible.  It has built in Web and telnet 
interfaces, and also allows connections to the core from external tools 
(Sancho (http://sancho-gui.sourceforge.net/) is particularly good: I 
have it running from Mac OS X, Linux and Windows).


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


Re: tar( bzip2 parts of manpage )

2008-03-09 Thread Danny Pansters
On Sunday 09 March 2008 23:52:59 Markus Klaschka wrote:
 Hi,
 I never used built-in bzip functionality of tar, but I like bzip2 more
 than gzip, so I just searched and found following:
  -j  (c mode only) Compress the resulting archive with bzip2(1). 
 In extract or list modes, this option is ignored.  Note that, unlike
  other tar implementations, this implementation recognizes
 bzip2 compression automatically when reading archives.
 and
  -y  (c mode only) Compress the resulting archive with bzip2(1). 
 In extract or list modes, this option is ignored.  Note that, unlike
  other tar implementations, this implementation recognizes
 bzip2 compression automatically when reading archives.

 what's going on there?

 I tested the -j option, works good. I created a file.tar.bz2 and like
 the manpage describes, tar -cvf is enough to unpack the tarball,

you mean tar xvf

 Is that a FreeBSD feature, how is it on other platforms?
 Is bzip2 used, or is that build in as a tar?

bsdtar != gtar

In bsdtar -j (-y) indeed uses bzip2 to compress rather than gzip and upon 
unpacking it handles both tgz and tbz transparantly that's why you don't need 
to specify -j there (different from gtar IIRC). I think -j and -y are mainly 
there to be compatible with gtar but I'm not sure. Note that both bsdtar and 
bzip2 are in base and have been for a while so it seems like a logical 
feature for bsdtar. Knowing whether its a gzip or bzip2 compressed is easy to 
see from magic numbers.

Cheers,

Dan 


 Cheers

 -
 Markus Klaschka
 MKDev - Markus Klaschka Development
 http://www.mkdev.eu

 Spain:0034 - 63 747 23 07
 UK:
   0044 - 750 910 2718
 Mail: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
 Skype:mark-use
 IRC:  mark-use @ irc.freenode.net : #freebsd, ##security, #freebsd-src,
 #bsdforen.de, #bsdgroup.de


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


To sourceforge or not to sourceforge

2008-02-14 Thread Danny Pansters
Hi folks,

II would like to sollicit opinions and advice on whether or not to put a 
project on sourceforge or perhaps somewhere else (better?)

I have put kbtv1 on sourceforge as well as on my own website. Apart from 
getting to use sf.net as the first download location in its port I can't 
really say that it has been useful in any way. And updating it is a pain.

Now that I'm starting to distribute kbtv2 (beta) I find myself wondering 
whether I should continue to use sf.net or just use my own site (and possibly 
some secondary location in one of our committers' webspaces under freebsd.org 
(easy to add to port).

My primary objective with hosting my source (and to a lesser extend docs) 
elsewhere is availability (and to a lesser extend offloading data traffic). 
You know, just the simple thought what if I drop dead tomorrow.

Are there better/simpler/faster alternatives to SF that people recommend?

One thing I noticed with SF is that there's all sorts of me-too (that is 
marketing) websites that just scrape SF and then forever have outdated info 
and downloads. I don't find this desirable at all. And besides, if you're 
using FreeBSD you're going to use ports not some external stale copy of the 
source. BUT it appears that there *are* people downloading old crud from such 
sites.

I tend to have the feeling that simply hosting it my damn self will work 99% 
of the time and cause fewest headaches, but I'm open to any suggestions.

Cheers,

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


Re: what happened to linuxflashplugin?

2008-02-13 Thread Danny Pansters
I said:

 Maybe Qt's ActiveQt (wrapper for windows' activex) might be of some value to 
 implement active x support to some extend and use the windows targetted 
 controls rather than NSplugin. I reckon it possible but it probably won't be 
 very easy, all the real heavy lifting would have to be done by the developer 
 in question. I'm not volunteering though! ;-)

Come to think of it, I was harsh about PC-BSD intenting to use wine, but that 
just may be (at least partly) the logical conclusion of the above. Shame on 
me there. 

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


Re: what happened to linuxflashplugin?

2008-02-13 Thread Danny Pansters
On Wednesday 13 February 2008 20:17:03 you wrote:
  Let me be the one to point out the (next) controversial thing:
  here's a
  perfect example why using linux binaries for stuff like this is
  a dead end.
 
  And don't even start about the PC-BSD folks who want to make
  flash9 work
  via WINE.
 
  We need a native flash or a replacement for the animation side,
  and where
  flash is merely used as a video container, we have not option
  but to use
  youitube-dl, miro, and the like. But there too, some native
  solution is
  needed, otherwise it will continue to work like crap if at all.

 Personally, I tried both gnash and swfdec. It was several months ago.
 They worked just fine on some sites, silently didn't work on other sites.
 But the problem was that sometimes I saw another behaviour: after
 opening a webpage I couldn't interact with the computer at all. Mouse
 was moving on the screen, but nothing could be done either by mouse
 or keyboard. Actually, the only button working on the computer was
 power off on the front panel of the computer, next to reset... So, I felt

I think this is problems with the various XEmbed implementations (IIRC its API 
itself has been a moving target too).

 browsing the internet just like a miner game: if you catch the wrong
 site, you need to reboot. I can't afford that, so I removed them and
 installed back the linux flash player. I'm not sure what exactly caused
 the problem - flash itself, or something between flash and KDE;

On konqueror, (kde3), I can confirm that the newer style xembed as used in the 
linux flash 9 has not yet been (completely?) put into its nsplugin code.

For me, flash7 works, flash9 almost never. It likely depends on which 
(missing) xembed thingies are used. Then there's the general bugginess of the 
flash9 plugin. Whenever konqi seems to choke up my box, I killall -9 
nspluginviewer.

Add to that, last time I looked at it, it looked that (konqueror) the way 
nspluginviewer invokes the actual npviewer.bin out-of-process and its killing 
(if needed) seems errant. There's some RedHat patches that can make this a 
little better.

 I would be able to live with that if native flash didn't hang the computer,
 if it just didn't work silently. Have you tried native solutions recently?

See above. I sometimes use linux-firefox if I really need to. And for youtube 
etc I made an add-on to kmplayer (which port I maintain) called tubestuff, 
that can bypass kmplayer's normal url handling and instead download and play 
the video via dcop. It's not extremely robust but works fairly well for me (I 
don't mind the download time which is typically  half of the video 
playtime). It's not in ports yet, sorry (and it needs to be updated to use 
the new youtube-dl, and I noticed today that my liveleak-dl script doesn't 
seem to work anymore).

Maybe Qt's ActiveQt (wrapper for windows' activex) might be of some value to 
implement active x support to some extend and use the windows targetted 
controls rather than NSplugin. I reckon it possible but it probably won't be 
very easy, all the real heavy lifting would have to be done by the developer 
in question. I'm not volunteering though! ;-)

What does OSX use? ActiveX, npapi, or something entirely different. Does 
anyone know?


 Andriy

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


Re: Some ideas for FreeBSD

2008-02-13 Thread Danny Pansters
On Thursday 14 February 2008 00:18:39 Chad Perrin wrote:
 On Sun, Feb 10, 2008 at 10:39:30AM -0600, Chris wrote:
  On Fri, 8 Feb 2008 20:12:37 -0800
 
  Ted Mittelstaedt [EMAIL PROTECTED] wrote:
-Original Message-
From: Wojciech Puchar [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 07, 2008 11:32 PM
To: Ted Mittelstaedt
Cc: [EMAIL PROTECTED]; freebsd-questions@freebsd.org
Subject: RE: Some ideas for FreeBSD
   
 It is one thing to add support for a POSIX call into FreeBSD.
 That's fine.

 It's quite another to break a header or supply hacky 32-bit-only
 code in a library or some such just because Linux does the same
 brain-dead stuff and the Linux maintainers are too stubborn or
 stupid to fix Linux.
   
don't forget that linux changed from being good unix OS to be
windows competitor. and it's competing well.
  
   Ah, something to strive for! :-)
  
   Reason # 1 to be happy with Linux:  It attracts all the morons who
   would otherwise fuck up FreeBSD?
 
  Oh my! Ted my man! I'm sure that was a /Sarcasm remark! As you do
  know, many of us happy BSD'ers are well versed in Linux-eeze and
  actually live very happily in both worlds.
 
  I would hate to think I may fall into that category! Oh wait! I do!
  Doh!!!

 I don't believe he said that morons were the *only* people attracted to
 Linux.  Something can be a lightning rod and still serve as a place to
 tie off your clothesline (to stretch a metaphor) every now and then.

IMHO, that stretched methaphor is not only funny but also very true.

Then again, someone's FreeBSD lightning rod is probably also someone else's 
clothesline too. They're just both a smaller part of the overall whole of 
lightning-strikers and cloth-washers.

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


Re: downloading video from http://video.google.com/googleplayer.swf?docId=...

2008-02-13 Thread Danny Pansters
On Thursday 14 February 2008 01:37:16 RW wrote:
 On Wed, 13 Feb 2008 21:52:21 +

 Frank Shute [EMAIL PROTECTED] wrote:
  On Wed, Feb 13, 2008 at 04:07:12PM +0100, Matthias Apitz wrote:
   Hello,
  
   Is there any command line tool in FreeBSD for downloading a video
   from a URL like
   http://video.google.com/googleplayer.swf?docId=7540047147367608928
   in the way youtube-dl, for example, does? Thx in advance
  
 matthias
 
  Not exactly what you're looking for but there is a video downloader
  extension for firefox that works with video.google amongst others:
 
  https://addons.mozilla.org/en-US/firefox/addon/3006
 
  I suppose by reverse engineering the video downloader extension you
  could probably come up with a perl/python script to use from the
  command line. AFAIK nobodys done this.

 Do this and youtube-dl still work?

 I recently tried to download some youtube videos with the
 all-in-one video bookmarket, which used to work fine, and it didn't find
 any video on the pages.  I think youtube may have change the way they
 display video.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]

youtube-dl was recently updated. I bet the mozilla stuff just uses that.

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


Re: what happened to linuxflashplugin?

2008-02-12 Thread Danny Pansters
On Wednesday 13 February 2008 00:27:53 Da Rock wrote:
 

  Date: Tue, 12 Feb 2008 14:50:40 -0500
  From: [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  CC: freebsd-questions@freebsd.org
  Subject: Re: what happened to linuxflashplugin?
 
  -BEGIN PGP SIGNED MESSAGE-
  Hash: SHA1
 
  Jonathan McKeown wrote:
  On Monday 11 February 2008 22:26, Chuck Robey wrote:
  All you folks who are focussing on YouTube are (purposefully?  I don't
  know) the fact that with just about half of the entire Web using flash
  in one way or antoehr, not using Flash is a huge problem, as anyone who
  browses without a flashplayer knows.
 
  Just to provide a counterpoint to this sweeping generalisation, I browse
  without a Flash player and it's never caused me any problem at all.
 
  There are a few sites which don't work without Flash. Having checked on
  a number of occasions, I've found (and I stress this is a personal
  opinion) that heavy use of Flash is a fairly reliable marker of a site I
  wouldn't be interested in whatever publishing techniques were used.
 
  It's rather like the old saying in the British advertising industry:
  only sing in an ad if you have nothing to say.
 
  How does Flash fit in with accessibility guidelines? In many countries,
  a commercial site which doesn't degrade gracefully when viewed with (eg)
  Lynx may fall foul of legislation protecting people with disabilities
  such as visual impairment.
 
  You know, there are some folks out there who are still using their old
  M32 TTY's, and they can't understand why any folks would need mouses. 
  Those of us who have successfully made the move to the 21st century can
  tell them, but honestly, most of us are very tired of hearing the same
  hoary old excuses why things aren't necessary.  The majority of folks
  doing browsing today aren't impressed that maybe some 3rd world country
  is unhappy with flash sites, they just want their flash sites to work,
  and ours don't.  Why don't they?  Because everytime someone comes up with
  a workable plan, all the real cave-men out there trot out there
  war-stories, and bore us all to death with their memoirs, and endlessly
  recursive arguments.  Everytime they get proven wrong on one item, they
  just move the clock back a few months, grab the previous
  self-justification, and start the argument all back up again.  You can't
  out-last them.
 
  I personally tried to fix things, got soundly beaten to death over it
  (and I WILL NOT try that one again, under pain of death, sorry!).  MY
  flash works here and that's all I will worry about.  I can't predict when
  things will finally improve, maybe when enough folks realize they don't
  have to put up with this.
 
  In short, I think ``half of the entire Web using Flash'' may be a bit of
  an overstatement even if you count Flash ad banners (which frankly I can
  do without), and the small number of Flash-only sites I encounter hasn't
  caused me temporary inconvenience, never mind ``a huge problem''.
 
  Jonathan
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to
  [EMAIL PROTECTED]
 
  -BEGIN PGP SIGNATURE-
  Version: GnuPG v2.0.4 (FreeBSD)
  Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
 
  iD8DBQFHsfiQz62J6PPcoOkRAu6/AKCArtXTPwLGKD0xN+r6MG8fk+wEUwCglafp
  Al9ztYns1ZHDV7IQ8foSU7o=
  =1fY6
  -END PGP SIGNATURE-
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to
  [EMAIL PROTECTED]

 That was a right pretty speech there, and I agree with the sentiments of
 moving forward with technology. However, I disagree that this is merely a
 case backward compatibility. Are you aware that the w3 consortium has web
 accessibility drafting committee?

 Consider also the facts that I have brought forward that Adobe has singled
 out OS's that are not allowed to run Flash Player.

 Consider also the fact that most designers simply use flash because they
 can't design properly and use other more accessible methods to achieve the
 same thing.

 I agree that a fix needs to be found, but this is not a cave man
 mentality, and we're not bringing up old war stories. The fact that this
 has not been all that successful given the larger number of sites now
 designed with flash player 9 which has been the number one problem here. If
 you have a fix I am sure we would all welcome the knowledge and use it- I
 certainly would. I merely point out (hopefully reaching some web designers
 and other flash fans) that flash is not the only way to go, and is
 certainly not preferable.

Let me be the one to point out the (next) controversial thing: here's a 
perfect example why using linux binaries for stuff like this is a dead end.

And 

Re: Python threading - some ports depend on it, others break with it

2008-01-09 Thread Danny Pansters
On Wednesday 09 January 2008 19:40:04 Gunther Mayer wrote:
 Hi guys,

 I'm having so much trouble with this. I'm hosting a trac based project
 which is implemented in python and uses an sqlite db backend along with
 its python bindings. Now it turns out that pysqlite breaks badly
 (compiles and installs fine but chokes on import, see
 http://lists.initd.org/pipermail/pysqlite/2006-May/000553.html) if
 python itself is compiled *without threading* support.

 However, on the same box I run a postgresql development and testing
 database and we have some triggers and other functions implemented in
 pl/python. Guess what? The compile of postgresql-plpython chokes upon
 configure if python is built *with threading* support. Running it seems
 to work fine, but there's a reason upstream put this check into
 configure because supposedly this is known to break things.

 Chicken and egg - one of my ports insists on python with threads
 enabled, the other port insists I use python without thread support. My
 workaround is to compile python without threading, install(or upgrade)
 postgresql-plpython, then recompile python with threading, install(or
 upgrade) trac and pray that plpython won't eat my dog when I use it. A
 really painful and error prone exercise, especially when an upgrade
 comes along (security or otherwise).

 I need both of these ports on one box and I'm not sure what to do to
 sort out this mess properly. Any ideas? What's up with Python's
 threading support on FreeBSD in any case, why is is broken?

 To get you an idea of what versions I'm running, the affected postgresql
 ports are

 postgresql-plpython-8.2.6
 postgresql-server-8.2.6

 for the trac dependencies the involved culprits are:

 py25-pysqlite-2.0.7_1
 python25-2.5.1_1
 python-2.5,2
 sqlite-3.3.8 # peripheral

 I remember with python 2.4 I had the same endless issues over a year ago
 so it's not 2.5's fault. Oh, and btw, I'm running 6.2-RELEASE-p9 i386.

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

It's my understanding that threading *in* python works well, but threading 
*with* python doesn't and you shouldn't use/rely on it. I'm afraid I can't 
tell you much more without an hour of googling and I wouldn't be sure if I 
can adequately explain after. I think it has to do with the GIL.

I suggest to ask at [EMAIL PROTECTED]

Dan
___
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 replace two strings in a file in the same time with sed command ?

2007-12-11 Thread Danny Pansters
On Tuesday 11 December 2007 17:20:50 Halid Faith wrote:
 I want to replace two or more strings in a file in the same time with sed
 command. How do I that ?
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]

just use -e s/foo/bar/ as many times as needed.

e.g.

%cat afile
foo1 foo3 foo2 foo7
%sed -e s/foo1/bar1/ -e s/foo2/bar2/ -e s/foo3/bar3/ -i .bak afile
%cat afile.bak
foo1 foo3 foo2 foo7
%cat afile
bar1 bar3 bar2 foo7

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


Re: DVD's and FreeBSD

2007-12-07 Thread Danny Pansters
On Friday 07 December 2007 22:37:12 Gary Kline wrote:
   Update:

   Well, totem chokes when trying to play a DVD, but kmplayer works
   --altho with fewer control flow options.  And after compiling
   in device atapicam into my KERNCONF, k3b still chokes.   So.
   For toys, Linux; for superior [unbeatable] stability, FreeBSD
   is still first rate.

   gary

You may want to enable the xine backend in the kmplayer port. It's more 
recommended for DVD playback than mplayer, from what I read. I hardly use 
DVDs but I think it gives more menu functionality if that's what you're 
after.

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


Re: DVD's and FreeBSD

2007-12-07 Thread Danny Pansters
On Friday 07 December 2007 22:37:12 Gary Kline wrote:
   Update:

   Well, totem chokes when trying to play a DVD, but kmplayer works
   --altho with fewer control flow options.  And after compiling
   in device atapicam into my KERNCONF, k3b still chokes.   So.
   For toys, Linux; for superior [unbeatable] stability, FreeBSD
   is still first rate.

   gary

For k3b/atapicam:

Make sure you are in the operator group and have 

# CD/DVD RW access via atapicam
perm cd0   0660
perm pass0 0660
perm xpt0  0660

in /etc/devfs.conf. If you need to edit this file, make sure to restart devfs:
/etc/rc.d/devfs restart

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


Re: Sadly, my tinker-time has run out....

2007-09-05 Thread Danny Pansters
I reckon the last two additions to this thread was the passive-aggressive 
version of can't we just all get along.. and now STFU.

Look, Ted's right (ouch, that hurt ;-). 

Quite often -- arguably always -- if you really want to be heard you have to 
be able to confront controversial issues head on and tell it like it is (ok, 
or rather how you think/feel/know it is). If you're on the other side of such 
an issue, it's easy to publicly nod and safely join the herd, but it's much 
harder to go against the grain. It's not called 'against the grain' for 
nothing.

And though I not always (probably mostly not) agree with Ted, I for one 
respect such a personality trait. It's easy to be a yes-man, it's much harder 
to be a no-man. But if you believe in certain things or find that you have 
gathered adequate evidence to support a different opinion, it's a good thing 
to have the balls to say so. Nice form and good manners are valuable, but if 
only used in order to maintain status quo they're merely shields for 
the yes-men. 

Besides, I'm of the persuasion that thinks that a good flamewar now and than 
isn't that bad, it's probably more harmful if the environment is such that 
any strong resentment cannot be expressed without some form of repraisal 
(sp?). Once you find yourself in such an environment it's do or die and you 
bet that folks are going to leave eventually. For that reason alone, I 
believe that the FreeBSD community actually needs people that tend to go 
against the grain from time to time.  It's a healthy thing.

Now to get back to the subject, what I don't understand is how OP thinks that 
[k]ubuntu would not need tinkering time. It's quite possible that a generic 
debian or arch install requires less tinkering to get it to behave the way 
you want (perhaps initially some more, but not after). Why not buy one of 
those gorgeous new imacs or a Mac lappy and be done with it, while still 
being able to do a lot of hacking if you really want to? From what I've read 
OSX is a great development system.

Cheers,

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


Re: spammers harvesting emaill address from this list

2007-08-23 Thread Danny Pansters
I don't want to hijack this, erm, thread, but I get loads of spam (my mail 
goes through a hosting provider, I (post-)filter locally) and a significant 
part of it is loaded with technical terms, even FreeBSD specific. I suppose 
it's meant to confuse filters. Do other folks get this too?

Dan

On Friday 24 August 2007 01:00:20 Paul Schmehl wrote:
 --On Thursday, August 23, 2007 22:37:53 +0100 dgmm [EMAIL PROTECTED]

 wrote:
  Basically, what you (and others as well) are suggesting is that the list
  maintainers do double the work so that you don't have to bother with
  spam filtering.
 
  How does this equate to double the work for the list maintainers?  I've
  never  operated a mailing list so I don't understand what work is
  involved in  operating one or how that workload might be increased if
  some people post  with one name while having the automated system mail
  out to a different,  subscribed address

 Most modern mailing list software tests addresses periodically,
 automatically to make sure they are accepting mail.  Some have suggested
 solving the spam problem by using throwaway addresses to send email to
 the list **even if the address doesn't work**.  Now the maintainers have to
 maintain a separate list of exemptions and configure separate options so
 that those throwaway addresses aren't dropped from the list automatically
 after the requisite number of bounces.  And endure the endless bounce
 notifications from hundreds of thoughtless people.

  Seems rather self-centered to me.
 
  In what way?

 You have a problem.  You want someone else to help you solve it by creating
 more work for them so that you'll have less work to do.

  This is the internet.  Spam is endemic.
 
  So rather than look for multiple methods to reduce the amount of incoming
  to  *my* address I should just accept it all and filter it locally?

 Absolutely.  It isn't the responsibility of the rest of the world to solve
 your problem.

  That seems rather irresponsible to me,  ANy method which can help stop it
  source appeaers on the face of it to be a better solution.

 Of course it does, because it requires no work on your part.  It's always
 better if you can get someone else to expend energy on your behalf while
 you sit back and reap the benefits.  That's why unthinking people love
 socialism.

  Short of encasing your computer in
  concrete, there's no way to avoid getting spam **even if you never post
  to a mailing list**.  Either learn to deal with it or stop subscribing
  to lists.
 
  I'm sure that attitude will appear welcoming to new users.

 Gee, I'm sorry I hurt someone's feelings by suggesting they take
 responsibility for their own problems.  Let me get down on my knees and beg
 forgiveness.

 I subscribe to more than 50 lists.  You have no idea what a pleasure it is
 to read, over and over again, about other people's problems with spam.
 It's useless chatter that solves nothing and makes the list less valuable.
 (And yes, you do enough of it, and I'll /dev/null your address and never
 hear from you again.)  If people took a few minutes to figure out how to
 rid themselves of the spam, they'd accomplish more than all the endless
 discussions about how to solve an unsolveable problem.


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


Re: Convince me, please!

2007-08-10 Thread Danny Pansters
On Thursday 09 August 2007 06:22:26 Latitude wrote:
 I'm interested in changing over to FreeBSD from Windows, but I'll have
 to say, you guys don't really present a forceful argument to Windows

Well, it's a very different thing. But it can do mostly the same tasks though 
(and many more).

 users of how easy the switch may be.  I get knee-deep in FreeBSD jargon
 the second I get to your webpage. I need to see an overwhelming argument

Everything that is sorta specialized has its jargon, especially something that 
is very technical, like an operating system. We do have a very good handbook 
though, which does a pretty good job to gently introduce all that jargon to 
people who want to know what it's all about.

 that FreeBSD is a perfectly acceptable alternative for home desktop
 users who have previously known only Windows.

It can be an acceptable alternative depending on what's considered acceptable, 
that is, what you want to do with it. I use it exclusively on my desktop. 
I'll admit that sometimes you may have to hack around a little though. But 
that's also the fun of it.

I also do some programming specifically for the FreeBSD desktop. We surely 
need improvement there, of course we do, we're a volunteer project. But for 
me it's nice enough and if I want to I can control it to a level that Windows 
never allows a user to get to. If you're not a tinkerer you could try and see 
if you like PC-BSD or DesktopBSD. They are similar but preconfigured 
FreeBSD based operating systems.

 For instance, if I download and install FreeBSD, will I instantly have a
 desktop windowing environment that I can navigate in while I figure out

You can have that if you select a desktop environment at install (e.g. KDE or 
GNOME).

 what's going on?  Will I have a browser and way to setup an internet

Browser: yes, even many if you select many.

 connection right off the bat?  How will I migrate files from other

Nowadays most people have DSL or cable and both come with a modem and/or 
router. If you are in the sysinstall installer and you have such a 
connection through DHCP it should instantly work. Otherwise, if for example 
behind a (or your own) firewall, at worst, you'd have to type an IP address, 
make up some computer name for it, and maybe type in the DNS addresses of 
your ISP. You'd need to do this too in windows.

If you have a dial-in modem, I suggest you try installing KDE and use kppp to 
connect.

 operating systems?

It's possible to mount windows FAT and NTFS partitions and then copy the data 
over. Obviously if some data is dependent on a Microsoft program to be 
useful, we may not have an ability to load it into another equivalent 
program. But for most common formats, like most Office documents, this is no 
problem for software like OpenOffice or KOffice (perhaps some minor things 
need to be adjusted).

 I understand you guys have been around for a while, but you don't seem
 to understand the monumental fear involved in switching operating

The fear is justified. Something else will always be, well, different :)

 systems.  You need to address those concerns head on from the start.  I

Like I said, the handbook does this quite well. It's still for the technically 
inclined, yes. That probably won't change, if only because at FreeBSD they 
like to give the user (which may also be a developer of course!) as much 
choice as [s]he needs.

But you know what, all in all, I think to have a nice desktop on FreeBSD and 
have your network up and everything work, etc, and perhaps some multimedia 
hardware setup, all that is probably in less then 10 config files, which are 
all text, so once you read up on how to use them and all the possibilities 
they have (just focus on the ones you're interested in, I do that too), you 
have a lot of power on your hands.

Is that user unfriendly or user-enabling? Again, depends on what you expect I 
guess. But I hope that you can understand that if this enabling wasn't 
there we wouldn't have the developer community that we have and need.

 need to see several screenshots of apps that I can use as alternatives
 to what I have.

Generally, the screenshots you see from Linux distributions show the same 
programs that have been ported and thus run on FreeBSD. So that's your 
browser, email program, music player, etc. There's many of them.

 Help me (and yourselves) out.

Hope I did. It's not all that hard to give a to-the-point and honest answer.


Now here's some food for thought for all the advocates who found it 
necessary to answer:

It's apparently harder to shut your fat fucking face if you don't have 
anything useful to contribute.

With the notable exceptions of  Paul Schmehl, Mario Lobo and a few others, the 
majority of snide answers here are nothing short of disgraceful. Great way to 
chase folks away. It's immaterial if its flamebait or not. 

I for one *am* doing my best to make the FreeBSD desktop nicer and 
more idiot-proof (KDE in my case) and then to read 

Re: high resource demand fron mldonkey

2007-07-23 Thread Danny Woods
On Mon, Jul 23, 2007 at 04:44:17PM -0400, Tsu-Fan Cheng wrote:
 Hi,
   I run mldonkey (mlnet+gui) on freebsd 6.2 and found it takes up a lot of
 CPU resources. Is this a common thing or just me.

I run mlnet 2.8.7 *without* the GUI on 6.2 on a 533MHz VIA C3 (hardly a 
powerhorse) and it consumes very, very little CPU at all.  It does consume as 
much memory as it can, and the CPU load is high for the first minute after 
launching, but overall it runs very smoothly.

The advantage of running it headless is that you can use different GUIs to 
connect in from different hosts.  Sancho (http://sancho-gui.sourceforge.net) is 
a good choice, but there are others.

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


Re: building packages for dependencies

2007-05-21 Thread Danny Pansters
On Monday 21 May 2007 22:11:34 Erik Norgaard wrote:
 Hi:

 When I do a

 # make install package

 I only get a package built for the port in question, not for
 dependencies. How do I make packages of all dependencies too?

 Thanks, Erik

make package-recursive

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


Re: STABLE + KEXI 1.1.2 (koffice 1.6.2) + KDE 3.5.6 = no sql?

2007-05-11 Thread Danny Pansters
On Friday 11 May 2007 22:44:39 Bram Schoenmakers wrote:
 Op vrijdag 11 mei 2007, schreef Drew Sanford:

 Hi,

  I am using Kexi to track various things in my office, including time
  off. This works well because I can write queries for each employee
  showing me how much time they have requested off, etc. - however it
  appears that after a recent upgrade of all ports, which included a KDE
  update, SQL no longer works. For instance, I have a table called
  time_off that has many records in it, but even a simple query such as
 
  SELECT * FROM time_off;
 
  yields an empty result. Does anyone have any pointers on what it might
  take to get this working again? I have about 30 saved queries, none of
  them work any more.

 What kind of database? Native (SQLite), MySQL, Postgres?

 Kind regards,

I think you should install the qt database(s) support you want via ports:

qt-ibase-plugin
qt-mysql-plugin
qt-odbc-plugin
qt-pgsql-plugin
qt-sqlite-plugin
qt4-ibase-plugin
qt4-mysql-plugin
qt4-odbc-plugin
qt4-pgsql-plugin
qt4-sql
qt4-sqlite-plugin
qt4-sqlite3-plugin

All are in PORTSDIR/databases.

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


Re: A good server motherboard.

2007-05-02 Thread Danny Woods
On Tue, May 01, 2007 at 08:58:19PM +0200, Andreas Rudisch wrote:
 On Tue, 01 May 2007 17:01:48 +0200, Christopher Prance  
 [EMAIL PROTECTED] wrote:
 
 If you were to build a server using FreeBSD 6.2 , basically for home use,
 serving media files, small web server, basically a very small load, which
 motherboard would you recommend?  Mid range as far as price is concerned.
 
 What about one of these: http://www.via.com.tw/en/products/mainboards/
 
 I have been running a VIA Epia PD for a couple of years now as a home
 server/router without any problems.
 
 Andreas

I'll second that.  I have a EPIA-M board with a fanless 533 C3 that's been 
running pretty much constantly (moves aside) for the past four or five years.  
It's not going to break any speed records, but it quite happily works as a Web 
server, Subversion repository, mail hub, torrent node and file server without 
any trouble at all.

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


Re: misc question #2:: howto stream .RAM/realplay via kmplayer??

2007-04-29 Thread Danny Pansters
On Sunday 29 April 2007 03:55:04 you wrote:
 On Sun, Apr 29, 2007 at 12:32:37AM +0200, Danny Pansters wrote:
  On Saturday 28 April 2007 21:57:21 Gary Kline wrote:
 I'm still building my backup DNS server on my remaining Kayak
 playing with various window managers (aka desktops). Stuck.
 To any browser/media/audio wizards out there in freebsd-land:
  
 A few weeks ago (after failing with both mozilla and firefox)
 I tried the KDE broswer to stream video.  And after several
 tries, got kmplayer working with Konqueror.  It streams windows
 video and better yet, streams windows audio (using the Mplayer
 backend).  But there are some NPR/PBS webcasts only in
 real-audio.  After a few hours of poking around the web and
 trying to reconfigure Konqueror I-give-up.
  
 I've reached the File Association - Audio and to
 x-pn-realplay {or something like that}, then I'm wedged.
 Is there an honest textfile I can use to associate [.ra, .rm,
 .ram] with /usr/X11R6/bin/realplay
  
 thanks for any help!
  
  
 gary
 
  First, you need to confirm that you can play Real in kmplayer. You must
  have the win32 codecs. Fast forward and such in a Real stream will be a
  bitch. But it plays. Then you want to go through the mime types in
  konqueror's config and set kmplayer to the first app to play such types
  with. And for embedding (the other tab) set the kmplayer_part or
  whatsitcalled as the first or only.

   Yeah, I finally finally clicked on the Other tab.  But then what?
   Where are the mimetypes and config for konqueror??

In the list on the left? I bet it's also in some file, but that's what I do if 
I want to change default viewer for certain mime types. The search for file 
pattern is useful. Agreed, it helps if you know what to look for. Seems to 
me that googling for 'realplayer mimetypes' or something would be a start. 
Sorry that I can't easily present you with a complete list.

  Mime types would include/have: vn-realmedia, rm, ra, ram, rv, smil,
  vn-realaudio vn-realvideo, x-pn-realaudio, and several other older ones.
  If you don't find them all at first you'll find them when encountering a
  oddly mime-ified stream that wont play.

   I do have a ~/.mimetypes file on this server.  Maybe I'll
   just scp it over and see.

My first guess would be that that's for your unix account's email. KDE 
settings and resource files are under ~/.kde/shared

  There's another way to have Real with konqueror, and that is with the
  plugin that comes with the realplayer port. It may have poor layout in
  the webpage but at least it does support moving back and forth in the
  stream. To make this work you use the linuxpluginwrapper port and an
  appropriate libmap.conf.

   Well getting  the plugin is a no-brainer; same with the
   linuxwrapper/plugin port; but the libmap.cnf is another matter!
   Do you have one to send?   Or anyone else on-list?

I have this for Real plugin:

###
# Helix RealPlayer with Mozilla/Firebird/Galeon/Epiphany/Konqueror/Kazehakase
[/usr/X11R6/lib/linux-mozilla/plugins/nphelix.so]
libstdc++.so.5  libstdc++.so.5
libc.so.6   pluginwrapper/realplayer.so
libm.so.6   libm.so.4
libgcc_s.so.1   pluginwrapper/realplayer.so


  Both work reasonably well, or equally bad depending on the tilting of the
  earth and the humidity on the moon :) I usually prefer kmplayer because
  it can be used as a general a/v plugin replacement in konqueror and if
  something with Real doesn't work I can always try to Open with..
  realplayer instead.
 
   :-)

   I do the open-with and it starts to work/tries to, then hangs.
   I'd just like to be able to watch the BBC/PBS stuff and listen to
   Windose or Real streams without too much hassle!

The only Realvideo stream I regularly watch is DemocracyNow. It's perfectly 
possible that their setup is weird or even that their streaming solution 
tries to not serve non-official clients, such as mplayer. It's hard to tell. 
I'd say that if it doesnt play in realplayer it wont play in mplayer either.

Dan


  HTH,

   So far, so good, thankee!

   gary

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


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


Re: misc question #2:: howto stream .RAM/realplay via kmplayer??

2007-04-28 Thread Danny Pansters
On Saturday 28 April 2007 21:57:21 Gary Kline wrote:
   I'm still building my backup DNS server on my remaining Kayak
   playing with various window managers (aka desktops). Stuck.
   To any browser/media/audio wizards out there in freebsd-land:

   A few weeks ago (after failing with both mozilla and firefox)
   I tried the KDE broswer to stream video.  And after several
   tries, got kmplayer working with Konqueror.  It streams windows
   video and better yet, streams windows audio (using the Mplayer
   backend).  But there are some NPR/PBS webcasts only in
   real-audio.  After a few hours of poking around the web and
   trying to reconfigure Konqueror I-give-up.

   I've reached the File Association - Audio and to
   x-pn-realplay {or something like that}, then I'm wedged.
   Is there an honest textfile I can use to associate [.ra, .rm,
   .ram] with /usr/X11R6/bin/realplay

   thanks for any help!


   gary

First, you need to confirm that you can play Real in kmplayer. You must have 
the win32 codecs. Fast forward and such in a Real stream will be a bitch. But 
it plays. Then you want to go through the mime types in konqueror's config 
and set kmplayer to the first app to play such types with. And for embedding 
(the other tab) set the kmplayer_part or whatsitcalled as the first or only.

Mime types would include/have: vn-realmedia, rm, ra, ram, rv, smil, 
vn-realaudio vn-realvideo, x-pn-realaudio, and several other older ones. If 
you don't find them all at first you'll find them when encountering a oddly 
mime-ified stream that wont play.

There's another way to have Real with konqueror, and that is with the plugin 
that comes with the realplayer port. It may have poor layout in the webpage 
but at least it does support moving back and forth in the stream. To make 
this work you use the linuxpluginwrapper port and an appropriate libmap.conf.

Both work reasonably well, or equally bad depending on the tilting of the 
earth and the humidity on the moon :) I usually prefer kmplayer because it 
can be used as a general a/v plugin replacement in konqueror and if something 
with Real doesn't work I can always try to Open with.. realplayer instead.

HTH,

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


Re: mmap on freebsd vs linux

2007-04-18 Thread Danny Pansters
I'm not really an expert on this but here goes...

On Wednesday 18 April 2007 18:05:44 [EMAIL PROTECTED] wrote:
 Hi All,

 i am looking into implementing a piece of the V4L interface. this
 involves mmap'ing from userspace into kernelspace.

 in mplayer, this is what is called:

 tvi_v4l2.c:
 
 priv-map[i].addr = mmap (0, priv-map[i].buf.length, PROT_READ |
   PROT_WRITE, MAP_SHARED,
 priv-video_fd,priv-map[i].buf.m.offset);
 

 the file descriptor parameter is the file descriptor of the opened
 capture device. the offset parameter should be filled in by the opened
 device.

A device won't fill in anything. A driver must.

 does mmap work on freebsd as it works on linux? ie: can i mmap any
 device? are there constraints on the device which should be met?

You can mmap anything, but only if you get a (frame-) buffer of known size 
will it be useful to actually do something with it. The mplayer code probably 
takes the offset from what it knows about capture size (which for PAL/NTSC is 
known if also the YUV output type is known). You also need some signalling to 
know when to read the (new) buffer data again.

I'd also advise to cast the address to caddr_t and the offset to off_t types. 
Will probably help compiling on 64 bits archs. And using both  PROT_READ and 
PROT_WRITE seems non-sensical. You only want to read the buffer not 
(directly) write to it, unless perhaps if it contains more than just the 
framedata. That would seem bad design to me though, if you have to write to 
the same buffer that also contains data that you absolutely dont want to 
overwrite.

I'm not familiar with v4l but simple and working mmap examples for FreeBSD 
with bktr and for saa are here: 
http://freebsd.ricin.com/kbtv/kbtv-1.2.4/bt848/bt848.c and 
http://freebsd.ricin.com/kbtv/kbtv-1.2.4/saa/saa.c 

Scroll down to Framebuffer. The buffer size is determined by the frame pixel 
size and by which YUV type is being used. The latter determines how much data 
is used on average per pixel, so you can calculate the datasize.

See how bktr has offset 0 while saa has offset SAA_MMAP_T0_OFFSET. Both are 
what they are because of how their drivers are organized.

See mmap(2) for the nitty-gritty on mmap. In general: if it segfaults or 
spontaneously reboots you likely made a mistake with the buffer size or 
offset :)

HTH,

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


Re: AMD64

2007-04-18 Thread Danny Pansters
On Wednesday 18 April 2007 21:30:14 Michael S wrote:
 Good day all.

 I am getting my (first) Athlon 64 x 2 today or
 tomorrow and was wondering whether I should stick with
 the reliable x86 or try the  AMD64 port.

I'd try it but ...

 Any performance penalties when running x86 FreeBSD on
 a 64-bit machine?

... for some things it may ...

 Also what are the common problems, i.e. drivers,
 applications that are known not to work under the
 AMD64. This is going to be a desktop/workstation type
 system.

... there are quite a few 3rd party things that don't work or that need kludgy 
32bits emulation. Flash comes to mind, also (MS/Real/..) media codecs. All 
the stuff we love to hate.

Most importantly though, you can't use nvidia driver (32bit). I have a spare 
amd64 box with a nvidia based board (ASUS SLI something with the graphics 
card in a PCI Express slot, gforce4 IIRC) and I found I could only use plain 
(xorg) nv driver, and had to disable any hardware acceleration. Else it would 
just reboot randomly. I only use this machine to test kbtv on amd64. Moving 
the TV window around or resizing it is painfully slow (the video itself is OK 
but it eats a lot more CPU with non accelerated x rendering, up to 10%). 
Needless to say the machine is turned off most of the time...

So I think what matters is whether these things matter to you :) I don't think 
the base system is any faster or slower. But it depends on what you're going 
to use it for.

HTH,

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


Re: Binary file not executable

2007-04-10 Thread Danny Pansters
Op Tuesday 10 April 2007 19:13:04 schreef Christian Walther:
 On 10/04/07, h t [EMAIL PROTECTED] wrote:
  I'm freebsd beginner
  I Download RealPlayer10GOLD.bin from http://www.real.com/linux/
  then chmod +x RealPlayer10GOLD.bin
  run
  ./RealPlayer10GOLD.bin
  but broken
  the message is
 
  ELF binary type 0 not known.
  ./RealPlayer10GOLD.bin: Exec format error. Binary file not executable.

 As it says in the URL where you downloaded the Realplayer from, it's
 for Linux. But FreeBSD is not Linux. There is a Linux Emulation Layer
 available that allows you to execute Linux binaries. You can do a

 # kldload linux

 to enable it. But you'll need to install some additional stuff,
 because Linux application will need Linux libraries...

  How can I do this?
  Not install in port

 Realplayer is in Ports:

 # cd /usr/ports
 # make search name=realplayer
 Port:   linux-realplayer-10.0.8.805.20060718
 Path:   /usr/ports/multimedia/linux-realplayer
 Info:   Linux RealPlayer 10 from RealNetworks
 Maint:  [EMAIL PROTECTED]
 B-deps:
 R-deps: linux-atk-1.9.1 linux-expat-1.95.8 linux-fontconfig-2.2.3_6
 linux-glib2-2.6.6 linux-gtk2-2.6.10 linux-jpeg-6b.34 linux-pango-1.8.1
 linux-png-1.2.8_2 linux-tiff-3.7.1 linux-xorg-libs-6.8.2_5
 linux_base-fc-4_9
 WWW:https://player.helixcommunity.org/

 AFAIK Realplayer GOLD is not freely available, you'll have to pay for it.

No, it's the same thing. Same release also. It's just branding. From past 
experience, I think when Real starts naming a major version Gold it more or 
less means it's slated for obsoleteness (or declared final to phrase it more 
friendly). They're probably brewing a new release based on helix2. I wonder 
if it will only support ALSA (like flash9). I don't follow helix development 
though (its redundant IMHO).

Dan
___
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 handle forthcoming PR originator e-mail address

2007-03-29 Thread Danny Pansters
On Thursday 29 March 2007 23:22:28 Giorgos Keramidas wrote:
 On 2007-03-29 23:40, Dmitry Pryanishnikov [EMAIL PROTECTED] wrote:
 On Thu, 29 Mar 2007, Giorgos Keramidas wrote:
  I'm an originator of 4 open PRs and 9 closed ones. My e-mail address
  will change soon. How should I handle the change to stay reachable
  for people working on PRs? Sorry to bother the list with
  (seems-to-be) a trivial question, I can't find reply in PR-related
  articles.
 
  Point me to the PRs and I will use pr-edit to fix the email address.
 
Thank you, Gabor Kovesdan has already done it.

 Nice.

  This can also be done by any FreeBSD committer with ssh access to the
  FreeBSD cluster.
 
  I just thought that some kind of automatic tool should exist to
  accomplish originator's e-mail change. After all, people _do_ change
  their e-mails sometimes...

 Not really.  Gnats is very flexible in this; it allows manual editing of
 the bug report itself.  This is also one of its relatively annoying
 'flaws' though.  Care must be taken when bug reports are manually
 modified by a committer, and there are not very many tools to automake

Also by a submitter. I recently learnt this: Never steep so low as to try and 
modify the (attached) patch rather than rolling a new PR, pasting in the same 
old text, etc. However tempting when you are PR'ing a series of 20 or so. But 
it will always bite you in the butt at some point!

Dan

 stuff like what you wanted to do.

 Anyway, I'm glad this has been resolved now :)

 ___
 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: Upgrade suggestion

2007-03-26 Thread Danny Pansters
On Tuesday 27 March 2007 01:40:40 Gary Kline wrote:
   Hi Folks,

   Last night it struck me that one reason I constantly find new
   ports to upgrade is that with ~17K ports, if you're running one
   of the more common desktop managers and several popular apps,
   there are going to be at least a dozen minor tweaks every day.
   E.g.:going from foo-1.6.7_2  to foo-1.6.7_3.   I used to run
   port[upgrade|manager] twice/week.  Was swamped; recently,
   upgrading things daily.   Since a lot of the wm ports take

24 hours to build/re-build, I'm pretty much wedged.   Thus

But you don't *have* to rebuild all the time. I'd wager to say that it's 
foolish to do so. When you have, e.g. a nice open-office, compiled with, say, 
the KDE option, there's no immediate need to update the beast if it happens 
to be updated. Maybe if it's a security fix, but otherwise if the thing works 
well for you, no need to update. Unless you want to of course. I do a massive 
portupgrade every 1-2 months on my desktop and I don't feel I'm missing out 
(and if I do I'll do that update earlier). And yes, usually there's a thing 
or two that I have to fix manually. It will happen also if you 
csup-through-cron every day. Perhaps more often. I think you're trying to 
overdo whilst still trying to minimize build time (= stability shall we say) 
and such. They're two conflicting goals. 


   this suggestion  (for all port/package upgrade suites):
   have a flag, say 'u' for urgent when *foo* goes from
   foo-1.6.7 to -1.6.8  or else when/if foo makes a critical
   fix.

We have more than one port update tools (and they do somewhat different 
things), that would complicate things a lot I think (what color is yer 
bikeshed), and such a thing would probably need to be in the binary update 
(Colin's) stuff too. 

   I Would've loved to have joined into the Coding ``love-in''
   this coming summer,  but my shoulder said,  ARE YOU AN IDIOT!
   so not now.   Besides, other tasks await.

contro
IMHO the sooner Google or in general the second IT/OSS boom fizzles out and 
stops solliciting what in the end equals free labor the better. Just my 
opinion. I don't trust them. They just want to have their fishing spot in 
their own backyard just like MS and Sun and Apple and Novell and they want it 
on the cheap. Once the IP wars go all out they are not going to give one 
damn about the original author of a work that has become theirs or what (s)he 
thinks or believes. 
/versial

I think if you want certain things in ports/packages to change or to have (yet 
another) alternative management tool, the thing to do is to write it and PR 
it. It will also give you the largest amount of control. And I bet you can do 
it.

   Flames to /dev/null,guys; rational responses see-vous-play.

   gary

   Still trying to learn French :-)

Meh. l'Amour et l'enfer are all you need to know. Oh, yeah, and fries of 
course. That's s'il vous-plait (needs two ^'s on both i's IIRC). I also found 
it useful to know where the Rue des Bons-Enfants was in Paris but you 
probably don't. Very off-topic :)

   PS:  I hopefully will be upgrading//getting a faster used server
to replace TAO.  Even if that resolves part of my upgrade
problem, I think we can do lots better with maintaining
current ports.

A week or so ago, you were asking about packages and if they might be offered 
by port submitters. I think if submitters would use tinderbox to build 
packages it may be much easier to get pkgs that are all from (somewhat or 
even exactly) the same pristine build environment. That's one idea I thought 
of (some port maintainers and most committers use it). I wonder if it might 
be too much to ask of our submitters/maintainers though.

Dan

___
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 Surf From FBSD?

2007-03-22 Thread Danny Pansters
On Thursday 22 March 2007 21:22:15 Stan Cooper wrote:
 Hi;
 I have a server I just built with FBSD and I'd like to be able to surf
 using a browser. What do I need to build to make that happen?
 Thanks,
 Stan2

If you mean a browser on the console (not in XWindow system) there's lynx and 
links for that. Lynx is one of the first things I install (after joe) on a 
non-X box. 

Dan

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


Re: Optimizationn questions?

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

 me, too.


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

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

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

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


Re: FreeBSD Devil Image

2007-03-15 Thread Danny Pansters
On Thursday 15 March 2007 06:59:36 Ted Mittelstaedt wrote:
 - Original Message -
 From: Jeff Rollin [EMAIL PROTECTED]

  I think it needs to be clarified that the reason /why/ the image of
  Beastie is so apt to represent a Daemon is only /because/ it LOOKS
  like a daemon/devil.

 How do ye know what thee Angel of the Bottomless Pit looks like?  Do
 ye regularly meet with the Antichrist?

Some people on this mailing list might argue that they regularly do ;-)

Couldn't resist. Cheers,

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


Re: binary patches?

2007-03-14 Thread Danny Pansters
On Thursday 15 March 2007 00:00, Gary Kline wrote:
 On Wed, Mar 14, 2007 at 05:07:43PM +0100, Gabor Kovesdan wrote:
  Gary Kline schrieb:
 Regarding most (or many) of the port changes--say, upgrading
 foo-2.1.9_5 to foo-2.1.9_6, if  the upgrade could be done by
 downloading a binary diff file, could the resulting
 /usr/local/bin/foo-2.1.9_6 be achieved by downloading a
 relatively small binary patch?  Seems to me that smaller scale
 upgrades could be done this way in preference to re-compiling
 ports or downloading entire pacakes.  --Same would go for any
 dependencies.
  
 Why is this a bad idea!

I don't think it's a bad idea at all, but impractical

  
 gary
 
  The final form of actual binaries depend on a lot of things, e.g. which
  version of dependency you compiled with, which CFLAGS you have used,
  what options the port you built it. Some of these applies to packages as
  well, that's why I prefer ports over packages at all. E.g. let's see
  lang/php5. It does not have the apache module enabled by default. If it
  were, then the problem comes up with Apache versions. IIRC, 2.2 is the
  default now, but what if you use 2.0? How would you install php for your
  apache version from package? The situtation has been already pretty
  complicated with packages if you have higher needs for fine tuning, but
  you can use them if you don't have special needs. Binary diffs would be
  so complicated that I think this way we could really not follow.

Yes, seperate binpatches for every port option or build setting. And for any 
differently configured dependency! And those would have to be all checksummed 
also. Preferably from a seperate reliable source. So it quickly gets much 
much bigger and complicated than a source-only approach. Which is complicated 
enough as it stands :)

  If you need simplicity at all, use portupgrade with packages. It has an
  option (don't remember which one) you can use to make it fetch packages
  instead of building from source. Nowadays, this network traffic should
  not be a real problem, I think.

   You've brought up a lot of things I didn't consider; this was
   part of the reason for my post.  It seems to me that there would
   need to be some simple ground rules from the binary patches I'm
   got in mind.  The *default* CFLAGS in the port would match those
   in the patch is one place to start.

But you only had an example with one single binary. Not many useful apps 
installs one single binary. And then there's a multitude of libs (which of 
course depend on other libs)

   Obviously, this could get way out of hand very quickly.  Two of

Yes, after two iterations or so. IOW: instantly.

   my slowest servers (one 400MHz, 192M RAM) were rebuilding parts
   of the KDE suite; the new kdelib-3.5.6 [??] just finished and I
   already scp'd it over to my more beefy platform.  Once I've got
   all my servers up to date, it may not be that hard to keep them
   current.  You're right that bandwidth isn't a problem--um, in
   most places {{ clearing my throat! }}.  Bandwidth isn't the main
   issue.  It's time.

   cheers!

Also, it frequently happens that when upgrading a large project (say Gnome) 
you pretty much have to remove the old-install the new anyway.

As others said as well, it's a nice idea if you have unlimited manpower, but 
practically speaking it's a maintenance nightmare much more than a source 
approach is.


Cheers,

Dan

   gary

  Regards,
  Gabor
  ___
  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: binary patches?

2007-03-14 Thread Danny Pansters
On Thursday 15 March 2007 00:55, Beech Rintoul wrote:

snip

 This issue comes up about every six months. If you google the mailing
 list you will find extensive discussion about why binary upgrades are
 a bad idea. If you want to upgrade using packages only
 use 'portupgrade -PP'. Bear in mind it takes the package build
 cluster a couple of weeks to catch up. For security reasons we
 (maintainers) don't build packages and building binaries for every

That's not (mainly) for security reasons, it's for QA reasons (as in: does 
your port survive a pointyhat run when in some cases there may even be 
trouble caused by a dependent package not yours but you may have to deal with 
it anyway). That's the main reason for building (and deinstalling) them in a 
known environment as the build cluster does. 

I do usually make available a (i386) package on my site when I PR a port but I 
expect that people who use them know that they're using a stop-gap solution 
(while the port isn't committed yet) or perhaps an get outdated package or 
one that differs in any way from the official one that goes on the FreeBSD 
CD and FTP mirrors. In other words I don't do package QA, while the build 
cluster and the FreeBSD pkg people do. But it's not a security thing I think.

 possible configuration would place an extreme load on the build
 cluster (not to mention the space required to host them all).

I suspect that the build cluster is waiting for user input after failed builds 
mostly ;-) Not building packages for every possible port config is probably 
more a people limit than a CPU/RAM horsepower limit. Some poor soul is going 
to have to report and/or fix it when it breaks after all...

Cheers,

Dan

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


Re: Optimizationn questions?

2007-03-14 Thread Danny Pansters
On Thursday 15 March 2007 02:16, Gary Kline wrote:
   Two quick one for kernel and/or compiler wizards:  first, is
   a 400Mz processor considered a 586 (for my KERNELCONF file)?

Think its 686 (but really, leaving 486 and 586 in isn't going to slow down 
booting or anything!) I always say: Use GENERIC unless you have a good reason 
not to.

   Second, is it safe to do a buildworld with -O3?  If there are

No. It's not supported if things break.

   stability concerns, I'll go with the default when I rebuild my
   6.2 systems.

The defaults should be fine. Also, like I said consider just using GENERIC and 
load the odd kmod if needed. Generally it's less headache and equal 
performance.

   thanks in advance,

   gary

Cheers,

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


Re: binary patches?

2007-03-14 Thread Danny Pansters
On Thursday 15 March 2007 03:13, Danny Pansters wrote:
 I suspect that the build cluster is waiting for user input after failed
 builds mostly ;-)

Before I get spanked for this, I know it's automated, what I meant to say is 
that the build time only isn't the only time it all takes to get things to 
work together. That humans are involved etc.

Dan

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


Sound Driver for REALTEK ALC660 ON BOARD

2007-03-11 Thread DANNY ALEXANDER
I'm looking for the driver files for the Realtek ALC660 onboard sound card. 
I'm using an ASUS M2V and it works great. Except the sound.



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


Re: Linux equivalent to freebsd

2007-03-02 Thread Danny Pansters
If you have a (Free)BSD mindset and like your rc.conf but don't mind 
typing pacman instead of pkg_* or portupgrade -P * and you don't mind using 
something called ABS for src packages, which is like ports, only with a stage 
install before live-system install, then you may just like ArchLinux.

I tried many but besides Debian, Arch is the only one I really enjoyed toying 
with. Haven't used Arch on serious production system, but it appears that 
other people do. Gentoo is nice (and keeps you busy/entertained) until it 
blows up on you.

Just my 0.02 as a long time FreeBSD user. The linux I used most was Debian but 
that was long ago before I landed at BSD.

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


Re: KBTV setup problem

2006-09-06 Thread Danny Pansters

Are you by chance attempting to use bktr's MSP for sound (kernel option)? 
That's not supported by kbtv (unless someone who has a card to reproduce this 
writes the code), only wiring through the soundcard.

HTH,

Dan

On Wednesday 06 September 2006 05:09, Mike jeays wrote:
 Has anyone else encountered this problem with KBTV?  Note that the line
 showing the mixer channel seems to lack an entry.

 chaucer 501 /usr/home/mike # btsetup
 btsetup show
 BKTR - BrookTree/Conexant BT8x8 based cards
 ===
 BKTR MODULE LOADED... Yes
 BKTR DEVICE PERMISSIONS.. OK
 BKTR CAPTURE CHIP BrookTree 878
 BKTR TV CARD. Hauppauge WinCast/TV
 BKTR TUNER TYPE.. Philips NTSC

 SAA - Philips SAA713x based cards
 ===
 SAA MODULE LOADED No
 SAA DEVICE PERMISSIONS... Not OK

 PWC - Philips and compatible USB webcams
 ===
 PWC MODULE LOADED No
 PWC DEVICE PERMISSIONS... Not OK

 SOUND - Sound card and tuner sound wiring
 ===
 SND MODULE LOADED Yes
 AUDIO CHIP... CMedia CMI8738
 MIXER CHANNEL FOR TV.
 btsetup quit

 chaucer 502 /usr/home/mike # kbtv
 kbtv: WARNING: KLocale: trying to look up  in catalog. Fix the program
 Traceback (most recent call last):
   File ./kbtv_application.py, line 136, in ?
 mainwindow = KbtvPart(player)
   File /usr/local/share/apps/kbtv/kbtv_part.py, line 118, in __init__
 self.extendToolbar()
   File /usr/local/share/apps/kbtv/kbtv_part.py, line 389, in
 extendToolbar
 self.toolbarwidget = KbtvToolbarWidget(self, tb)
   File /usr/local/share/apps/kbtv/kbtv_toolbar.py, line 48, in
 __init__
 self.mixerchan = bthardware.MIXER_CHANNEL_NAMES.index(mchan)
 ValueError: list.index(x): x not in list
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: KBTV setup problem

2006-09-06 Thread Danny Pansters
On Wednesday 06 September 2006 17:33, you wrote:

snip

   SOUND - Sound card and tuner sound wiring
   ===
   SND MODULE LOADED Yes
   AUDIO CHIP... CMedia CMI8738


Hmm, someone else had the same problem a while ago, also had a CMedia CMI8738. 
I guess that driver doesn't work well with python's ossaudiodev module that 
kbtv uses to handle audio. This would be something to be coordinated by the 
snd_cmi and python maintainers I'm afraid. Maybe snd_cmi doesn't support 
ossaudio device/mixer at all?

If you try the attached test that I sent him (put both files somewhere in the 
same directory and run 'python test.py' from there), do you get:

% python test.py 
DEBUG:
IOError or OSSAudioError occured

?

If so, and there's nothing wrong with permissions on dsp and mixer devices, 
that would confirm my hypothesis (can you let me know if this is the case?) 

Sorry. Maybe you can try with a separate sound card. At least I know now that 
the MSP is not the problem.

Thanks for the feedback,

Dan

   MIXER CHANNEL FOR TV.
   btsetup quit
  
   chaucer 502 /usr/home/mike # kbtv
   kbtv: WARNING: KLocale: trying to look up  in catalog. Fix the
   program Traceback (most recent call last):
 File ./kbtv_application.py, line 136, in ?
   mainwindow = KbtvPart(player)
 File /usr/local/share/apps/kbtv/kbtv_part.py, line 118, in __init__
   self.extendToolbar()
 File /usr/local/share/apps/kbtv/kbtv_part.py, line 389, in
   extendToolbar
   self.toolbarwidget = KbtvToolbarWidget(self, tb)
 File /usr/local/share/apps/kbtv/kbtv_toolbar.py, line 48, in
   __init__
   self.mixerchan = bthardware.MIXER_CHANNEL_NAMES.index(mchan)
   ValueError: list.index(x): x not in list

PS: It's possible to set mchan to, say, line in the code instead of 
uninitialized, but I would think that would only make things better 
cosmetically (no crash) but it wouldn't make sound work.

 No, I am trying to use the snd drivers via the built-in sound card in
 the motherboard.  I removed all references to the TV card from the
 kernel definition file, and let it be loaded dynamically, as suggested
 in the documentation.

 chaucer 507 /etc # kldstat
 Id Refs AddressSize Name
  1   37 0xc040 387d9c   kernel
  21 0xc0788000 3204 splash_bmp.ko
  31 0xc078c000 4228 vesa.ko
  41 0xc07dc000 328c snd_driver.ko
  52 0xc07e 4d08 snd_ad1816.ko
  6   29 0xc07e5000 1d9c8sound.ko
  72 0xc0803000 4c4c snd_als4000.ko
  82 0xc0808000 4fcc snd_cmi.ko

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

Kbtv application: I'm looking for someone who wants to take over maintainership/development

2006-09-04 Thread Danny Pansters
FYI:

Kbtv is a small TV app for FreeBSD/KDE. It works with Brooktree/Conexant and 
with Philips SAA713x based analog TV cards (I actually recommend using the 
latter). AFAIK, it is the only properly working app that uses SAA (and unlike 
bktr, saa never freezes or panics). Also supports webcams that work with the 
pwcbsd driver. The tarball and some blahblah are now hosted at sourceforge 
(also still at my website).

I also put a recruitment message on SF: 
http://sourceforge.net/people/viewjob.php?group_id=176370job_id=26247

I want to withdraw from this project, and would love to pass it on to one or 
more people who are interested in this kind of app, rather than just 
abandoning it. There is a port for it as well, it would seem logical to hand 
over maintainership to that as well. It is in a good working state.

SF project page for kbtv: http://sourceforge.net/projects/kbtv
My web page for kbtv: http://freebsd.ricin.com/kbtv
Relevant buzzwords: Python, PyKDE, SWIG, SDL, C, bktr, saa, pwc

If interested, let me know. I will gladly help you to get started.

I crossposted to have maximum exposure, if replying and CC'ing mailing list, 
please CC to multimedia@ only.


Cheers,

Dan

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


Re: Problems with recording

2006-08-23 Thread Danny Pansters
On Wednesday 23 August 2006 22:37, Matti J. Karki wrote:
 Mixer vol      is currently set to  55:55
 Mixer pcm      is currently set to  48:48
 Mixer speaker  is currently set to   0:0
 Mixer line     is currently set to   0:0
 Mixer mic      is currently set to   1:1
 Mixer cd       is currently set to  52:52
 Mixer rec      is currently set to   0:0

Try setting rec to something  0, say 80

 Recording source: mic

HTH,

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


Re: Flash Upgrade

2006-08-18 Thread Danny Pansters
On Friday 18 August 2006 01:45, Garrett Cooper wrote:
 Danny Pansters wrote:
  On Thursday 17 August 2006 12:52, Gerard Seibert wrote:
  chris wrote:
  I didn't see any such notices in fresh ports.
 
  Port:   linux-flashplugin-7.0r63_1
  Path:   /usr/ports/www/linux-flashplugin7
  Info:   Adobe Flash Player NPAPI Plugin
  Maint:  [EMAIL PROTECTED]
  B-deps:
  R-deps: linux_base-fc-4_7
  WWW:http://www.adobe.com/
 
  Is this what you are referring to?
 
  I almost don't dare asking, but :)
 
  does anyone have this working with konqueror?
 
  Dan

 If it works with Mozilla 1.2+, it will work with Konqueror. See the
 installation prereqs from the adobe site.

No. It works in FF but not in konq, if I point nsplugin finder to the right 
place it doesnt recognize it as a plugin. Something with relying on a .xpt 
file which is ignored by konq's idea of a nsplugin. At least to me that seems 
to be the problem.

Thats why I asked if anyone else had it working.

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


Re: Flash Upgrade

2006-08-17 Thread Danny Pansters
On Thursday 17 August 2006 12:52, Gerard Seibert wrote:
 chris wrote:
  I didn't see any such notices in fresh ports.

 Port:   linux-flashplugin-7.0r63_1
 Path:   /usr/ports/www/linux-flashplugin7
 Info:   Adobe Flash Player NPAPI Plugin
 Maint:  [EMAIL PROTECTED]
 B-deps:
 R-deps: linux_base-fc-4_7
 WWW:http://www.adobe.com/

 Is this what you are referring to?

I almost don't dare asking, but :)

does anyone have this working with konqueror?

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


Re: Rebuilding, Got Questions

2006-08-15 Thread Danny Pansters
On Tuesday 15 August 2006 20:44, beno wrote:
 Hi;
 The box I've taken over has BSD 5.3 so I need to upgrade. This is a big
 jump and the console is half a world away so I have some questions:
 * Can I do all of the steps of the installation without reverting to
 single user mode?
 * Where do I find the src to download?? All I find are ISOs. Is there no
 *.tgz file anywhere?
 * I'm upgrading from 5.3 to 6.1. Will I have to run mergemaster -p
 before running buildworld?

 Do I need anything more in /etc/make.conf than the following?
 CFLAGS= -O -pipe
 NO_BLUETOOTH=  true# I have no need of this
 NO_SENDMAIL=   true# I use qmail

 The current /etc/make.conf has this and I don't understand why:

 # -- use.perl generated deltas -- #
 # Created: Wed Dec 21 21:11:27 2005
 # Setting to use base perl from ports:
 PERL_VER=5.8.5
 PERL_VERSION=5.8.5
 PERL_ARCH=mach
 NOPERL=yo
 NO_PERL=yo
 NO_PERL_WRAPPER=yo

 Should I leave the above? Merge the two? Throw out the above and just
 use what I've written (above that)? Will that screw up the installation?
 Will that screw up perl?

Not sure about perl, I only have

PERL_VER=5.8.8
PERL_VERSION=5.8.8

on 6.1

 Here is my procedure. Look good?


I'd recommend to first 

rm -rf /usr/obj/* 

to be sure you don't have any stale object files, and copy your old kernel to 
another name so you can revert back to that known one at any time.

 cd /usr/src
 make -j4 buildworld // single CPU system
 make buildkernel
 make installkernel

 reboot

I wouldn't do this, because after reboot your kernel and userland are sure to 
be out of sync and that may cause problems preventing you from fully 
(multi-user) booting. Or what if the rc scripts have changed (but not 
installed yet) and your NIC doesn't come up because of that...

If you are willing to risk not rebooting to single user, then don't do a 
reboot after installkernel. Instead, first (optionally but recommended):

mergemaster -p

p means preen mode, for when for example a user and group needs to be added to 
your user database. You want to use this before installworld (or skip it and 
pay attention to /usr/src/UPDATING and while running mergemaster after 
installworld).

 make installworld

 mergemaster -p

without the -p. Should you need to merge some config files, press l to keep 
the left sided line/version, r to keep the right sided.

 reboot


The above recipe (with or without mergemaster -p) is what I've been using for 
as long as I can remember. It's pretty safe and if you don't have a serial 
console hooked up at your remote site, it's probably the best you can do. 
(also shut down all services except ssh before installworld). 

Well, if you're experienced and not too whimpy you *could* also use the dist 
tarballs from a recent install CD, extract them or copy first then juggle 
with some mountpoints to see if anything breaks, go back and forth a bit if 
needed... so you'd replace your /bin, your /sbin, .. etc, one by one and in 
the end reboot. 

HTH,

Dan

 TIA,
 beno
 ___
 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: KT port?

2006-08-15 Thread Danny Pansters
On Tuesday 15 August 2006 21:16, Andreas Davour wrote:
 On Tue, 15 Aug 2006, Kurt Wall wrote:
  On Sun, Aug 13, 2006 at 11:35:57PM +0400, Andrew Pantyukhin wrote:
  On 8/13/06, stan [EMAIL PROTECTED] wrote:
  I did a quick look around for KT in the ports tree, and
  did not find it.
 
  Am I overlooking omehitng? If it's not in the ports, has
  anyone gotten this package working on FreeBSD?
 
  Not yet, but we've got RX and SG. We're also expecting
  NJ and PH any time now. Try MB, it's a nice one.
 
  Personally, I'm partial to PA.

 Stan, are you by any chance looking for Qt?

 /andreas

My guess would be KnowledgeTree. PHP/apache/mySQL document/metadata tracker 
from what I've seen. No port, but I'd expect it to run out of the box when 
all requisite packages are installed.

Is that it? KT2 or KT3

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


Re: coldfusion alternative

2006-07-19 Thread Danny Thuering

On 7/20/06, Glenn McCalley [EMAIL PROTECTED] wrote:
...

I'd even put CF on the system and be done with it if there was a FreeBSD
version (anyone have any luck with that?).  Tracked down BlueDragon but
that's apparently Win only as well.

...

hi,

you can deploy cf as a java application on any j2ee compliant
application server like tomcat :-)

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


Re: KDE Text to Speech

2006-07-04 Thread Danny Pansters
On Tuesday 04 July 2006 17:12, Gerard Seibert wrote:
 System Info:
 FreeBSD seibercom.net 6.1-STABLE FreeBSD 6.1-STABLE #0: Sat May 13 19:46:07
 EDT 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SEIBERCOM  i386

 I am not sure if this is the proper forum for this question or not, but I
 might as well start here.

 I am trying to get the KDE text to speech to work. I installed the
 'festival' port and the 'festvox-aec' port. Everything seems to be OK, but
 no sound is emitted. The sound works fine on everything else. There are no
 error messages displayed so I do not know where to look to get this
 working.

You probably need to install voices, these are ports that start with 
festvox-* and festlex-*. I've only played with it to the extend I had it read 
slashdot and such, nothing really serious, but I also found that it did 
nothing until I installed some synthesized voices.

HTH,

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


Is there a method to not probe certain devices at startup?

2006-05-17 Thread Danny MacMillan
Hi,

I have a FreeBSD 4.11 box (monowall, actually) that has apparently had a
bit of a crisis with its USB controller hardware.  This is completely
irrelevant to me as it is a purpose-built box with no need to use USB
now or in the future.  The only problem is that when the box boots, it
hangs for about 5 to 10 minutes trying to talk to the USB device.

Here is an excerpt from dmesg (pardon the wrapping):

uhci0: VIA 83C572 USB controller port 0xd400-0xd41f irq 11 at device
16.0 on pci0
usb0: VIA 83C572 USB controller on uhci0
usb0: USB revision 1.0
uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1: VIA 83C572 USB controller port 0xd800-0xd81f irq 11 at device
16.1 on pci0
usb1: VIA 83C572 USB controller on uhci1
usb1: USB revision 1.0
uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2: VIA 83C572 USB controller port 0xdc00-0xdc1f irq 9 at device
16.2 on pci0
usb2: VIA 83C572 USB controller on uhci2
usb2: USB revision 1.0
uhub2: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
uhub2: device problem, disabling port 2

Immediately before the last line of output above is where it hangs.

I found some oblique references to device.hints on google but I couldn't
find anything that describes exactly what needs to go in that file.

Thanks,

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


Re: Is there a method to not probe certain devices at startup?

2006-05-17 Thread Danny MacMillan
fbsd wrote:
 
 Check that the pc bios has USB disabled.
 Also check that rc.conf does not have statement to enable USB.

It is not possible to disable USB in the BIOS for this board (a VIA EPIA
CL1).  Also, because it is monowall, there is no rc.conf.  I will
ask this question on a monowall forum to find out where I should look
for this setting.

Thanks,

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


Re: Is there a method to not probe certain devices at startup?

2006-05-17 Thread Danny MacMillan
On Wed, May 17, 2006 at 12:35:25PM -0600, Danny MacMillan wrote:
 fbsd wrote:
  
  Check that the pc bios has USB disabled.
  Also check that rc.conf does not have statement to enable USB.
 
 It is not possible to disable USB in the BIOS for this board (a VIA EPIA
 CL1).  Also, because it is monowall, there is no rc.conf.  I will
 ask this question on a monowall forum to find out where I should look
 for this setting.

To further elaborate:

It's kind of like building a ship in a bottle.  There is no shell access
to the box.  However, files can be uploaded and downloaded and arbitrary
commands can be executed via a web interface.  Using these mechanisms I
have explored the filesystem and can verify /etc/rc.conf does not exist.
That is not entirely surprising because the overview documentation for
monowall says they have moved as much of the initialization code into
PHP as possible.  It's a little weird.

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


Re: FreeBSD-multi-boot

2006-05-15 Thread Danny Butroyd
Vlad GURDIGA wrote:
 Hello all,

 I have these slices on my HDD:
 - /dev/ad0s1 - Windows XP
 - /dev/ad0s2 - FreeBSD/i386
 - /dev/ad0s3 - FreeBSD/amd64

 and I want them all in my boot.ini.

 Till now I succeeded with FreeBSD/i386 (first did dd if=/dev/ad0s2
 of=boot.bsd bs=512 count=1 from FreeBSD/i386, then copied the
 resulted boot.bsd file to Windows C:\)

 I did the same trick with FreeBSD/amd64 (first did dd if=/dev/ad0s3
 of=boot64.bsd bs=512 count=1 from FreeBSD/amd64, then copied the
 resulted boot64.bsd file to Windows C:\) so, my boot.ini looks like
 this:

 ---cut here--
 [boot loader]
 timeout=3
 default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
 [operating systems]
 multi(0)disk(0)rdisk(0)partition(1)\WINDOWS=Microsoft Windows XP
 Professional /noexecute=optin /fastdetect
 C:\boot.bsd=UNIX FreeBSD/i386
 C:\boot64.bsd=UNIX FreeBSD/amd64
 ---cut here--


 Now, the problem is that when I choose UNIX FreeBSD/amd64 from the
 boot menu, it boots UNIX FreeBSD/i386!!!

 What did I missed?
this page may help:-

http://www.ubergeek.co.uk/howtos/grub-freebsd-windowsxp.html

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


Re: newly installed apps not in path?

2006-05-15 Thread Danny Pansters
On Monday 15 May 2006 22:36, Atom Powers wrote:
 I've noticed this behavior since 4.3, but it's just now starting to
 get really annoying.

 Whan I install a new application (from ports) I have to execute it
 with the full path until I start a new shell. (in sh, tcsh, and bash)

 What causes this behavior, and how can I fix it (cause newly installed
 apps to be executable without a full path)?

If you're using the [t]csh shell, you need to run 'rehash' to update your 
current path. It would be good if the post-everything part of ports would do 
that when needed.

Dan.


 
 DIT793# which sudo
 sudo: Command not found.
 DIT793# portinstall sudo
 ...
 DIT793# ll /usr/local/bin/sudo
 ---s--x--x  2 root  wheel  89020 May 15 13:31 /usr/local/bin/sudo
 DIT793# which sudo
 sudo: Command not found.
 DIT793# tcsh
 DIT793# which sudo
 /usr/local/bin/sudo
 DIT793# exit
 exit
 DIT793# which sudo
 sudo: Command not found.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: GUI mail client recommendations ...

2006-05-07 Thread Danny Pansters
On Sunday 07 May 2006 03:29, Marc G. Fournier wrote:
 On Sun, 7 May 2006, Ian Moore wrote:
  On Sunday 07 May 2006 09:10, Marc G. Fournier wrote:
  I've been using pine *forever* now and am finding it really hard to find
  a good GUI to replace it :(  Tried kmail, didn't like it ...
 
  Off the top of my head, the only thing(s) it needs to do is:
 
  multiple identities
  IMAP
  PGP
 
  As much as I hate admitting doing things under Windows, I have used
  Eudora in the past and like its interface, but, alas, there is no Eudora
  for Unix
 
  I use kmail (part of kde) which is also very nice and will do all the
  above.

 I tried it, and was turned off very question ... my first beef ... I
 couldn't seem to select multiple messags in the thread window to do a mass
 operation on it ... for instance, in eudora, I could do 'shift-up/dn' to
 highlight several articles ... under kmail, the up/dn arrow scrolls the
 bottom message window ;(

As you've noticed the up and down keys are already used for scrolling in the 
content widget.  Instead use shift or ctrl and the left mouse button instead 
or the + and - keys (go to latter/next unread message) or the arrow-left and 
arrow-right keys (go to latter/next message). See Keyboard Shortcuts in the 
KMail handbook which is the obvious place to look ;-)

Finally, most core KDE apps have a settings - shortcuts menu entry so you can 
even change the defaults. Some people call this bloat.

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


Re: scripting languages...

2006-04-27 Thread Danny Pansters
To get back to the original question, I think there's one crucial part: 
libraries. Or modules, or function sets or whatever they're called in [ pick 
language ] sphere.

It's the extra stuff that you can easily add or import which makes a language 
worth while, whether it's interpreted or not. That's whjat defines how much 
functionality it has for you.

Now for scripting languages I'd say perl (if you like) or python (if you like, 
I do) or perhaps ruby (if you like), as all have a lot of libraries/modules 
you can easily incorporate and build upon.

If all you're going to do is shell stuff, then I'd say you should use portable 
sh scripting and nothing else. Or one higher level scripting language (by 
preference), but not a shell-plus. Like bash...

Or if you really want C syntax , use C ;-)

IMHO,

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


Re: Firefox::::: ugh.

2006-04-24 Thread Danny Pansters
On Tuesday 25 April 2006 02:35, Gary Kline wrote:
   If firefox is supposedly superior to every other browser,
   why, when it sees a realplayer smil file, does it pop up
   a rectangle with radio-button  options and a BROWSE button?

   I press BROWSE and another frame opens.  I click on X11R6 and
   eventually get to bin, and there the only file I see is
   xauth.  ...CCan anybody 'splain this?

   gary

Set mime types and handlers correctly?

I use KDE and konqueror, but once in a while I have to set some mine type - 
handler things and it looks like you got a similar thing.

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


Re: direct rending doesnt work in xorg

2006-04-18 Thread Danny Butroyd
Björn König wrote:
 Danny Butroyd schrieb:
 
 Section Device
 Identifier  Card0
 Driver  ati
 VendorName  ATI Technologies Inc
 BoardName   Radeon R250 Lf [Radeon Mobility 9000 M9]
 BusID   PCI:1:0:0
 Screen  0
 EndSection
 
 You have to use the driver radeon in order to use 3D acceleration.

I have tried this but it has made no difference :(
 
 [rvn] /home/danny# glxinfo
 name of display: :0.0
 libGL: XF86DRIGetClientDriverName: 5.0.3 r200 (screen 0)
 libGL: OpenDriver: trying /usr/X11R6/lib/modules/dri/r200_dri.so
 libGL error: dlopen /usr/X11R6/lib/modules/dri/r200_dri.so failed
 (/usr/X11R6/lib/modules/dri/r200_dri.so: Undefined symbol
 _glapi_add_entrypoint)
 libGL error: unable to find driver: r200_dri.so

 The solution (according to the wiki) is to reinstall DRI and LIBGL from
 source, however, I have reinstalled all the relevant ports but I still
 get the same problem.  Can anyone help?
 
 Does /usr/X11R6/lib/modules/dri/r200_dri.so exist?

Yes it does

 
 Regards
 Björn
 ___
 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]


direct rending doesnt work in xorg

2006-04-16 Thread Danny Butroyd
Hi All

I have been tearing my hair out trying to fix this problem.  Basically
Direct Rendering isnt working.  My setup:-

OS:-

FreeBSD 6.1-PRERELEASE #3

Xorg Installed from ports:-

[rvn] /home/danny# pkg_info | grep xorg
xorg-6.9.0  X.Org distribution metaport
xorg-clients-6.9.0_2 X client programs and related files from X.Org
xorg-documents-6.9.0 Documentation of X11 protocol and libraries from X.Org
xorg-fonts-100dpi-6.9.0_1 X.Org 100dpi bitmap fonts
xorg-fonts-75dpi-6.9.0_1 X.Org 75dpi bitmap fonts
xorg-fonts-cyrillic-6.9.0_1 X.Org Cyrillic bitmap fonts
xorg-fonts-encodings-6.9.0_1 X.Org font encoding files
xorg-fonts-miscbitmaps-6.9.0_1 X.Org miscellaneous bitmap fonts
xorg-fonts-truetype-6.9.0 X.Org TrueType fonts
xorg-fonts-type1-6.9.0 X.Org Type1 fonts
xorg-fontserver-6.9.0_1 X font server from X.Org
xorg-libraries-6.9.0 X11 libraries and headers from X.Org
xorg-manpages-6.9.0 X.Org library manual pages
xorg-nestserver-6.8.2 Nesting X server from X.Org
xorg-printserver-6.8.2_2 X Print server from X.Org
xorg-server-6.9.0_1 X.Org X server and related programs
xorg-vfbserver-6.9.0 X virtual framebuffer server from X.Org


dri-devel install from ports:-

[rvn] /home/danny# pkg_info | grep dri
dri-6.2.20050719,1  DRI OpenGL drivers snapshot

All drivers seem to be working ok:-

[rvn] /home/danny# dmesg | grep drm
drm0: ATI Radeon Lf R250 Mobility 9000 M9 port 0xc000-0xc0ff mem
0xe800-0xefff,0xfcff-0xfcff irq 11 at device 0.0 on pci1
info: [drm] AGP at 0xe000 128MB
info: [drm] Initialized radeon 1.19.0 20050911
info: [drm] Loading R200 Microcode

Xorg is setup correctly (as far as I know):-

---snip---
Section Module
Load  extmod
Load  glx
Load  dri
Load  dbe
Load  record
Load  xtrap
Load  type1
Load  freetype
EndSection

Section DRI
Mode 0666
EndSection

Section Device
Identifier  Card0
Driver  ati
VendorName  ATI Technologies Inc
BoardName   Radeon R250 Lf [Radeon Mobility 9000 M9]
BusID   PCI:1:0:0
Screen  0
EndSection
---snip---

From this page (http://dri.freedesktop.org/wiki/DriTroubleshooting) I
have been through all the checks and my setup fails on the following:-

[rvn] /home/danny# setenv LIBGL_DEBUG verbose
[rvn] /home/danny# glxinfo
name of display: :0.0
libGL: XF86DRIGetClientDriverName: 5.0.3 r200 (screen 0)
libGL: OpenDriver: trying /usr/X11R6/lib/modules/dri/r200_dri.so
libGL error: dlopen /usr/X11R6/lib/modules/dri/r200_dri.so failed
(/usr/X11R6/lib/modules/dri/r200_dri.so: Undefined symbol
_glapi_add_entrypoint)
libGL error: unable to find driver: r200_dri.so

The solution (according to the wiki) is to reinstall DRI and LIBGL from
source, however, I have reinstalled all the relevant ports but I still
get the same problem.  Can anyone help?

Thanks in advance.
Danny

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


Re: TV Tuner viewing software suggestions

2006-04-16 Thread Danny Pansters
On Sunday 16 April 2006 14:39, Jim Stapleton wrote:
 I'm trying to use my TV Tuner (A Leadtek Brooktree chipset tuner), and
 I have gotten FXTV to work great with one exception: It appears to
 only work in something that looks to be about 320x240, when I go
 fullscreen or anything larger than what it opens as, it only draws to
 part of the screen... providing something, that while rather cool
 looking, is not productive for watching tv or playing console games.

 I tried getting kbtv to work, but I'm getting an error installing py-kde.

If you do so please try version 1.0 from http://freebsd.ricin.com/kbtv (no 
port yet sorry, use install/deinstall). the one currently in ports is two 
releases behind.

 the last of the py-kde compile:
 c++ -c -Wno-deprecated-declarations -pipe -fPIC -O2
 -fno-strict-aliasing -pipe -march=athlon-mp -Wall -W -DQT_NO_DEBUG
 -DQT_THREAD_SUPPORT -I. -I../extra/kde350 -I/usr/local/include
 -I/usr/local/include/python2.4 -I/usr/X11R6/include -o
 sipkdecorepart0.o sipkdecorepart0.cpp
 sip/kdecore/ktimezones.sip: In function `PyObject*
 convertFrom_ZoneMap(void*)': /usr/local/include/ktimezones.h:191: error:
 `KTimezone::KTimezone(const KTimezone)' is private
 sip/kdecore/ktimezones.sip:209: error: within this context
 sipkdecorepart0.cpp: In function `void* init_KTimezones(sipWrapper*,
 PyObject*, sipWrapper**)':
 /usr/local/include/ktimezones.h:340: error:
 `KTimezones::KTimezones(const KTimezones)' is private
 sipkdecorepart0.cpp:9497: error: within this context
 sipkdecorepart0.cpp: In function `void* init_KTimezone(sipWrapper*,
 PyObject*, sipWrapper**)':
 /usr/local/include/ktimezones.h:191: error:
 `KTimezone::KTimezone(const KTimezone)' is private
 sipkdecorepart0.cpp:10450: error: within this context
 sip/kdecore/kmountpoint.sip: In function `PyObject*
 convertFrom_KMountPoint_List(void*)':
 sip/kdecore/kmountpoint.sip:151: warning: taking address of temporary
 sipkdecorepart0.cpp: In function `PyObject* convertFrom_Display(void*)':
 sipkdecorepart0.cpp:34478: warning: unused variable 'sipCpp'
 sip/kdecore/kconfigbase.sip: In function `PyObject*
 convertFrom_ulonglong(void*)':
 sip/kdecore/kconfigbase.sip:307: warning: unused variable 'LongLong'
 sip/kdecore/kwinmodule.sip: In function `PyObject*
 convertFrom_QValueList_2100(void*)':
 sip/kdecore/kwinmodule.sip:111: warning: unused variable 'inst'
 sipkdecorepart0.cpp: At global scope:
 sipkdecorepart0.cpp:34440: warning: unused parameter 'sipPy'
 sipkdecorepart0.cpp:34440: warning: unused parameter 'sipIsErr'
 *** Error code 1

 Stop in /usr/ports/x11-toolkits/py-kde/work/PyKDE-snapshot20060122/kdecore.
 *** Error code 1

 Stop in /usr/ports/x11-toolkits/py-kde/work/PyKDE-snapshot20060122.
 *** Error code 1

 Stop in /usr/ports/x11-toolkits/py-kde.

I'm aware of this problem and can now reproduce it (just updated KDE from 
3.5.1 to 3.5.2 and now it shows up). I'm looking into it. There's also a new 
py-kde to be released one of these days, and then I'm planning to update the 
sip/py-qt/py-kde ports altogether.

Dan

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


Re: Firefox 1.5 getting downright irritating

2006-04-04 Thread Danny Butroyd
Paul Schmehl wrote:
 --On April 3, 2006 5:48:34 PM +0100 Danny Butroyd [EMAIL PROTECTED]
 wrote:

 Maybe you're editing the wrong file? Or while Firefox is running? Too
 tight file permissions? Just some thoughts. Here's mine profiles.ini:

 Or maybe it's KDE.there are several things that, when changed in
 Xwindows do not change at all.  profiles is just one of them.

 I'll have to investigate some more..
 I use Fluxbox and am experiencing exactly the same problem.and yes
 it is very irritating.  If I get anywhere with it I will let post to the
 list.

 Or maybe it's Gnome.  I'm playing around with Firefox tonight from
 home, and each time it starts up it asks me if I want to make it the
 default browser.  When I click on Yes, I get this in the terminal
 window I launched Firefox from:


 (Gecko:31267): libgnomevfs-WARNING **: Deprecated function.  User
 modifications to the MIME database are no longer supported.

 (Gecko:31267): libgnomevfs-WARNING **: Deprecated function.  User
 modifications to the MIME database are no longer supported.

 (Gecko:31267): libgnomevfs-WARNING **: Deprecated function.  User
 modifications to the MIME database are no longer supported.

 (Gecko:31267): libgnomevfs-WARNING **: Deprecated function.  User
 modifications to the MIME database are no longer supported.

 (Gecko:31267): libgnomevfs-WARNING **: Deprecated function.  User
 modifications to the MIME database are no longer supported.

 (Gecko:31267): libgnomevfs-WARNING **: Deprecated function.  User
 modifications to the MIME database are no longer supported.

 I'm going to uninstall Gnome and see what happens.  I've had nothing
 but trouble from it anyway
I did this on my last upgrade of Firefox and unfortunately it has not
helped.

Danny

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


Re: Portupgrad Problem

2006-04-03 Thread Danny Butroyd
Cody Holland wrote:
 Using FreeBSD 5.4-Stable #0.  Trying to update my ports using portsnap,
 pkg_version, and portupgrade.  All goes well until I get to portupgrade
 -arR.  All my ports update except for of them.  Here is the message I
 get:

 # portupgrade -arR
 cd: can't cd to /usr/ports/archivers/pear-Archive_Tar
 cd: can't cd to /usr/ports/devel/pear-Console_Getopt
 cd: can't cd to /usr/ports/devel/pear-XML_RPC
 cd: can't cd to /usr/ports/devel/php4-pear
 ** Package 'php4-pear' has been removed from ports tree.
 ** Port directory not found: devel/php4-pear
 ** Package 'pear-Console_Getopt' has been removed from ports tree.
 ** Port directory not found: devel/pear-Console_Getopt
 ** Package 'pear-XML_RPC' has been removed from ports tree.
 ** Port directory not found: devel/pear-XML_RPC
 ** Package 'pear-Archive_Tar' has been removed from ports tree.
 ** Port directory not found: archivers/pear-Archive_Tar
 ** Listing the failed packages (*:skipped / !:failed)
 !  (php4-pear-4.4.1_1)  (port directory error)
 !  (pear-Console_Getopt-1.2)(port directory error)
 !  (pear-XML_RPC-1.4.3) (port directory error)
 !  (pear-Archive_Tar-1.3.1) (port directory error)
 ---  Packages processed: 0 done, 73 ignored, 0 skipped and 4 failed

 I know this is telling me that there is no ports directory for these
 ports...and there isn't one.  I just don't know what to do, to correct
 this.  Any advice would greatly be appreciated.
   
/usr/ports/UPDATING reports the following:-

-snip-

20051213:
  AFFECTS: users of pear ports
  AUTHOR: [EMAIL PROTECTED]

  A few old pear ports have been removed from the tree in favor of a
  single devel/pear port.  If portupgrade complains about missing ports,
  you may safely remove pear-XML_RPC, pear-Console_Getopt, pear-Archive_Tar
  and php[45]-pear and then run:

  portupgrade -o devel/pear -f pear-PEAR


-snip-

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


Re: Firefox 1.5 getting downright irritating

2006-04-03 Thread Danny Butroyd
Paul Schmehl wrote:
 --On Monday, April 03, 2006 18:11:25 +0200 Karol Kwiatkowski
 [EMAIL PROTECTED] wrote:

 it's working here as expected - Don't ask at startup box changes
 StartWithLastProfile to 0/1 and ProfileManager starts every time if
 set to 0.

 I'm using it ever since I installed Firefox 2.0a in addition to 1.5.
 The machine is running FreeBSD 6-STABLE, Firefox 1.5 and 2.0a,
 Enlightenment DR17 but I doubt it's related.

 Maybe you're editing the wrong file? Or while Firefox is running? Too
 tight file permissions? Just some thoughts. Here's mine profiles.ini:

 Or maybe it's KDE.there are several things that, when changed in
 Xwindows do not change at all.  profiles is just one of them.

 I'll have to investigate some more..
I use Fluxbox and am experiencing exactly the same problem.and yes
it is very irritating.  If I get anywhere with it I will let post to the
list.

Cheers
Danny

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


Re: reconfiguring a package

2006-04-02 Thread Danny Pansters
On Sunday 02 April 2006 22:23, Luiz Eduardo Guida Valmont wrote:
 I'm sorry if this is one of those rtfm cases, but I've exhausted my options
 so far (except asking for help here ^^).

 When you make install a package, for some the first thing you get is a
 screen where you choose some compile-time options that affect the package's
 dependancies (eg. postgresql support when trying to install amarok). The
 question is simple: is there a way or a make target that deletes my choices
 and / or forces make to ask them again?

The proper way is to use 'make rmconfig'. Can also be done recursively.

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


Can FreeBSD safely use a (un-booted from) drive that is invisible to the BIOS?

2006-03-31 Thread Danny MacMillan
Hi,

I have a machine with the following two drives (as listed in dmesg):

ad0: 12427MB Maxtor 91303D6 GAS54A12 at ata0-master UDMA33
ad2: 76319MB Maxtor 6L080P0 BAJ41G10 at ata1-master UDMA33

ad0 is the boot drive.  It is recognized by the BIOS, obviously, and
has been in the machine for some years.  ad2 is a new drive I just
added to the machine yesterday.  It is not visible to the BIOS at all.
If anyone can posit a reason it would not be visible to the BIOS, I
would like to know the answer.  The BIOS supports LBA and ad0 is more
than 8GB so it wouldn't appear to be the 8GB limit, and the next limit
I am aware of is comfortably larger than 76GB.

At any rate ... it is not visible to the BIOS, but it is visible to
FreeBSD.  Since I'm not booting from the drive, I think it shouldn't
matter ... but when I use Fdisk from sysinstall I get the following
familiar error message:

|WARNING:  A geometry of 155061/16/63 for ad2 is incorrect.  Using  ?
?a more likely geometry.  If this geometry is incorrect or you  ?
?are unsure as to whether or not it's correct, please consult   ?
?the Hardware Guide in the Documentation submenu or use the ?
?(G)eometry command to change it now.   ?
?   ?
?Remember: you need to enter whatever your BIOS thinks the  ?
?geometry is!  For IDE, it's what you were told in the BIOS ?
?setup. For SCSI, it's the translation mode your controller is  ?
?using.  Do NOT use a ``physical geometry''.|

Since I don't actually know what the BIOS thinks the geometry is,
I got cold feet and decided to ask the list.  I don't =think= it
should matter, since the BIOS shouldn't ever touch the disk, at least
as far as my understanding goes.

I do have one concern.  This drive was purchased more or less to act
as an emergency backup of the drive that's already in there.  If ad0
ever fails, ad2 drive will have to be put in a new machine whose BIOS
recognizes it in order to boot.  If I accept the mystery geometry for
the drive today, will I later face a problem where the BIOS disagrees
and the drive will be unbootable?

Thank you for your kind attention.

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


Re: Can FreeBSD safely use a (un-booted from) drive that is invisible to the BIOS?

2006-03-31 Thread Danny MacMillan
On Fri, Mar 31, 2006 at 03:48:57PM -0500, Bob Johnson wrote:
 On 3/31/06, Danny MacMillan [EMAIL PROTECTED] wrote:
  [,,,]
  ad0 is the boot drive.  It is recognized by the BIOS, obviously, and
  has been in the machine for some years.  ad2 is a new drive I just
  added to the machine yesterday.  It is not visible to the BIOS at all.
  If anyone can posit a reason it would not be visible to the BIOS, I
  would like to know the answer.  The BIOS supports LBA and ad0 is more
  than 8GB so it wouldn't appear to be the 8GB limit, and the next limit
  I am aware of is comfortably larger than 76GB.
 
 If ad2 were operating as the slave drive without a master on that
 controller, that could explain it, but that doesn't seem to be what's
 happening here.
 

ad2 is the only device on the second controller and it is definitely
jumpered as master.  I also get the same behaviour when the second drive
is attached as a slave on the first controller (e.g. as ad1).

Interestingly, attaching an ATAPI CD-ROM drive as slave on the first
controller works.

 Are you sure you don't have the second drive disabled in the BIOS
 somehow?

Positive.  It's an old BIOS, the options are limited, but it is set to
Auto (choices Auto, User, and None).  I had a thought and changed the
addressing mode from Auto to LBA but it made no difference.  The
only difference between selecting Auto and None in the BIOS is that
when the setting is Auto, the machine hangs at the following and will
not boot:

Secondary Master: Detecting [Press F4 to skip]

At this point, the machine is completely stuck -- pressing F4 does
nothing, neither does pressing ctrlaltdel if I recall correctly.
I have to power cycle it to get it to do anything.

Now that I'm going through this thought process, I have some vague
recollection that I used to have a second disk in there, but I had to
remove it because it stopped working for some reason -- it exhibited
the same hang when detecting the second drive.  At the time it didn't
occur to me to disable the drive in the BIOS to get the machine to
boot and just let FreeBSD access the drive directly.  Of course, it
doesn't speak favourably to the reliability of the hardware.

  [...]
 
  Since I don't actually know what the BIOS thinks the geometry is,
  I got cold feet and decided to ask the list.  I don't =think= it
  should matter, since the BIOS shouldn't ever touch the disk, at least
  as far as my understanding goes.
 
 FreeBSD uses BIOS routines to start the boot process, then uses its
 own idea of what's on the disk.  So, as far as I know, you will only
 have a problem if they are different enough to either cause the boot
 process to fail, or on a dual boot system, to cause Windows to think
 the partitions are in different places than does FreeBSD, or if your
 BIOS is picky about the partition table.
 
 A few years ago I started ignoring that message and it's worked for
 me.  I just let sysinstall do what it wants (I believe I started that
 practice when a bug in sysinstall gave me no choice).  I *think* that
 with modern block addressed, i/o buffered disks, on which the
 physical geometry is an illusion anyway, the only real problem you
 can run into is different ideas of the total size of the disk, i.e.
 where the last usable block is.  One geometry might give you a few
 megabytes more than another geometry, but the difference is at the end
 of the disk.  That isn't going to have any effect on booting (assuming
 the BIOS is willing to start the boot process), and not likely to even
 be a problem when dual booting.

I generally ignore the warning, too.  My only concern this time is that
in a case where the drive is visible to the BIOS, at least if I get it
spectacularly wrong I will find out right away.  Also the question of
whether different BIOSes will assign the same geometry to the drive.

 
 
  I do have one concern.  This drive was purchased more or less to act
  as an emergency backup of the drive that's already in there.  If ad0
  ever fails, ad2 drive will have to be put in a new machine whose BIOS
  recognizes it in order to boot.  If I accept the mystery geometry for
  the drive today, will I later face a problem where the BIOS disagrees
  and the drive will be unbootable?
 
 
 If my understanding is correct, it is unlikely to cause a problem, but
 it might.  The BIOS routines will still be able to read the first few
 sectors to start the boot process.  If your BIOS is so picky that it
 notices that the partition table claims to use bytes beyond what it
 thinks is the end of the disk (or some other imagined offense), and
 refuses to boot, then you might have a problem.  I've seen such picky
 BIOSes, but not for several years.  I think (hope) that manufacturers
 are learning that quibbling over such things doesn't make the system
 better.  If you were to change the geometry settings of a disk after
 you put a filesystem on it, you would likely trigger other issues, but
 that's not what you're asking

Re: HP OfficeJet 4215 Scanner question

2006-03-30 Thread Danny Pansters
On Friday 31 March 2006 02:45, M. Warner Losh wrote:
 [[ please CC me on any reply, I'm not on this list ]]

 Greetings,

 I was wondering if anybody had any luck getting an HP OfficeJet 4125
 working on FreeBSD.  I plugged it into my 6.1-beta4 system, and it was
 recognized as a printer.  However, my attempts to get sane to access
 the scanner portion have have failed.  What am I doing worng?

 It looks like I might need the hpijs for printing, but I need hplip
 for scanning.  The hpijs appears to be a FreeSBD port, but I don't see
 a hplip port.  Is there one?  Is this what I need?  Is there something
 else that would work?

 Warner

 P.S.  Keywords for searches:

 Office Jet OfficeJet Series 4200 xsane

You tried the hpoj port? It uses the ptal low level driver and cups for 
printing, others for scanning or faxing or photo camera flash card.


Dan


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


  1   2   3   4   5   6   >