Re: the pause that removes

2009-03-16 Thread Frank Shute
On Thu, Mar 12, 2009 at 10:37:13PM -0700, prad wrote:

 one of the neat things i've found about freebsd vs linux is the
 'instantaneous' rm.
 
 when you remove a large file or a substantial directory, freebsd does
 it right away ard you get your prompt back, while with every linux i've
 tried, you wait and wait and wait.
 
 i presume freebsd just takes the pointer to the file out so it can be
 overwritten, while may be the linuxes fill stuff with zeros or
 something like that??
 
 is this instantaneity a result of the ufs file system vs say ext3 or
 reiser?
 

ext3 has a journal, so I guess the journal has to be updated after a
big delete unlike FreeBSD.

This could be the delay you've noticed. I don't know anything about
Reiser.

To confirm this, you could mount the ext3 as ext2 and see if that
helps.


Regards,

-- 

 Frank 


 Contact info: http://www.shute.org.uk/misc/contact.html 

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


Re: 7.1 phpmyadmin skip logon screen?

2009-03-16 Thread Matthew Seaman

Fbsd1 wrote:

In 7.1 phpmyadmin now drops you into a logon screen.
How do I stop this function and always go to main menu screen?


That's nothing to do with the FreeBSD version -- phpMyAdmin works the
same on any platform.

To make phpMyAdmin auto-login to a DB, you need to use 'config'
authentication mode.

  http://www.phpmyadmin.net/documentation/#authentication_modes

It's probably the least secure authentication mode provided, so you
should take further steps in your Apache config to stop the world
gaining access to your database.

Cheers,

Matthew

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



signature.asc
Description: OpenPGP digital signature


Advise on PCIX dual network card

2009-03-16 Thread Olivier Nicole
Hi,

I need to buy a PCI eXtended dual network card, any advise on what
brand is supported and work reliabily?

TIA,

Olivier
___
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: Advise on PCIX dual network card

2009-03-16 Thread Wojciech Puchar

look at chips that are on that card.

On Mon, 16 Mar 2009, Olivier Nicole wrote:


Hi,

I need to buy a PCI eXtended dual network card, any advise on what
brand is supported and work reliabily?

TIA,

Olivier
___
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: Advise on PCIX dual network card

2009-03-16 Thread Olivier Nicole
Hi,

 look at chips that are on that card.
  I need to buy a PCI eXtended dual network card, any advise on what
  brand is supported and work reliabily?

I would need to have the card to lok at the chips, but I need to know
what card is good before I order it and before I can look at the
chips.


Olivier
___
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 8.0-CUURENT/amd64 coredumps when shutdown

2009-03-16 Thread O. Hartmann

Hello.
I have a difficult problem and apart from possible hardware problems I 
need to track down problems.
My lab's box is a Intel Q6600 driven box with a ASUS P5K-Deluxe WiFi 
mainboard (Intel P35 chipset, ICH9, 8GB DDR2-800 RAM).


Symptomatics:

Whenever I shutdown or reboot the box, it dumps a core! This happens 
only if the box is in multiuser mode.
First I suspected the new 'drm' code, but disabling every module loading 
and even with X11-free environment the box dies when shutting down or 
reboot.
The weir thing is: I realised this faulty behaviour before the upgrade 
to FreeBSD 6.0-CURRENT/amd64 I did last week when the box ran FreeBSD 
7.1-STABLE/amd64. Whenever I left a Xsession, the box died. Whenever I 
rebootet it, the box died.


I already checked cabling and SMART logs of the harddrives making sure 
there is no issue with lost blocks or similar. Then I tried testing 
memory, but also with no success finding an issue.


A weird behaviour is: whenever I load drm.ko module on that box 
(remember, P35/ICH9/Q6600, that means NO AGP!) agp.ko gets also loaded. 
None of the other 8.0-CURRENT/amd64 boxes with PCIe hardware show that 
behaviour (most of them are older).


Well, I saw this strange crashing-behaviour prior to that of my desk's 
box on one of our DELL PowerEdge 1950 III server days before. That box 
is running FreeBSD 8.0-CURRENT/amd64 on two 4-core XEONs. Whenever I 
rebootet that box, I got a coredump. That vanished now with the mature 
of the 8.0-CURRENT sourcs, but it occurs now for the desktop box.


I can not provide a sophisticated core or a screendump of the log 
message since I need the box by the end of the week due to some 
conference prapartions (so all of the debugging stuff has been 
disabled), but I will provide more by next week if this issue seems not 
familiar to someone.


By the way, BIOS of the board is 1101 - newest on market for that mobo.

I'm open for some hints and tips tracking down the issue ...

A dmesg output is provided.

Regards,
Oliver
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 8.0-CURRENT #2 r189870: Mon Mar 16 09:03:05 UTC 2009
r...@telesto.geoinf.fu-berlin.de:/usr/obj/usr/src/sys/TELESTO
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: Intel(R) Core(TM)2 Quad CPUQ6600  @ 2.40GHz (3013.58-MHz K8-class CPU)
  Origin = GenuineIntel  Id = 0x6fb  Stepping = 11
  
Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE
  Features2=0xe3bdSSE3,DTES64,MON,DS_CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM
  AMD Features=0x20100800SYSCALL,NX,LM
  AMD Features2=0x1LAHF
  TSC: P-state invariant
  Cores per package: 4
usable memory = 8579391488 (8181 MB)
avail memory  = 8283136000 (7899 MB)
ACPI APIC Table: A_M_I_ OEMAPIC 
FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
 cpu2 (AP): APIC ID:  2
 cpu3 (AP): APIC ID:  3
ioapic0 Version 2.0 irqs 0-23 on motherboard
kbd1 at kbdmux0
netsmb_dev: loaded
cryptosoft0: software crypto on motherboard
acpi0: A_M_I_ OEMXSDT on motherboard
acpi0: [ITHREAD]
acpi0: Power Button (fixed)
acpi0: reservation of 0, a (3) failed
acpi0: reservation of 10, cff0 (3) failed
Timecounter ACPI-safe frequency 3579545 Hz quality 850
acpi_timer0: 24-bit timer at 3.579545MHz port 0x808-0x80b on acpi0
acpi_hpet0: High Precision Event Timer iomem 0xfed0-0xfed003ff on acpi0
Timecounter HPET frequency 14318180 Hz quality 900
pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0
pci0: ACPI PCI bus on pcib0
pcib1: ACPI PCI-PCI bridge irq 16 at device 1.0 on pci0
pci1: ACPI PCI bus on pcib1
vgapci0: VGA-compatible display port 0xb000-0xb0ff mem 
0xd000-0xdfff,0xfe8e-0xfe8e irq 16 at device 0.0 on pci1
hdac0: ATI RV730 High Definition Audio Controller mem 0xfe8fc000-0xfe8f 
irq 17 at device 0.1 on pci1
hdac0: HDA Driver Revision: 20090226_0129
hdac0: [ITHREAD]
uhci0: Intel 82801I (ICH9) USB controller port 0xa800-0xa81f irq 16 at device 
26.0 on pci0
uhci0: [ITHREAD]
uhci0: LegSup = 0x0f30
usbus0: Intel 82801I (ICH9) USB controller on uhci0
uhci1: Intel 82801I (ICH9) USB controller port 0xa880-0xa89f irq 21 at device 
26.1 on pci0
uhci1: [ITHREAD]
uhci1: LegSup = 0x0f30
usbus1: Intel 82801I (ICH9) USB controller on uhci1
uhci2: Intel 82801I (ICH9) USB controller port 0xac00-0xac1f irq 18 at device 
26.2 on pci0
uhci2: [ITHREAD]
uhci2: LegSup = 0x0f30
usbus2: Intel 82801I (ICH9) USB controller on uhci2
ehci0: Intel 82801I (ICH9) USB 2.0 controller mem 0xfe7ffc00-0xfe7f irq 
18 at device 26.7 on pci0
ehci0: [ITHREAD]
usbus3: EHCI version 1.0
usbus3: Intel 82801I (ICH9) USB 2.0 controller on ehci0
hdac1: Intel 82801I High Definition Audio Controller mem 

Re: Advise on PCIX dual network card

2009-03-16 Thread Wojciech Puchar

so first check what chips it uses before ordering ask manufacturer/seller.

or if it's intel - buy without checking :)


On Mon, 16 Mar 2009, Olivier Nicole wrote:


Hi,


look at chips that are on that card.

I need to buy a PCI eXtended dual network card, any advise on what
brand is supported and work reliabily?


I would need to have the card to lok at the chips, but I need to know
what card is good before I order it and before I can look at the
chips.


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


Mar 16 10:41:41 thusnelda kernel: Mar 16 10:41:41 thusnelda sshd[19231]: fatal: login_get_lastlog: Cannot find account for uid XXX

2009-03-16 Thread O. Hartmann
After updating the LDAP server from OpenLDAP 2.4.14/db46 to 2.4.15/db47 
I receive on an attached client the following message when trying to log 
in via ssh:


Mar 16 10:41:41 thusnelda kernel: Mar 16 10:41:41 thusnelda sshd[19231]: 
fatal: login_get_lastlog: Cannot find account for uid


I'm able to su - to the specific, by ssh blocked user which is kept in 
LDAP database.


I'm a little bit worried, since I also updated OpenLDAP 2.4.14 on the 
client to OpenLDAP 2.4.15 and did so with nss_ldap and pam_ldap.


Searching for IDs on the client which are kept in the LDAP database 
performs well. Also a authetication of users accessing webpages secured 
via authentication through LDAP (lighttpd) works well with the LDAP 
server in question. But no ssh-login works!
I checked the sshd_config file in /etc/ssh but it hasn't been changed, 
so I guess there is possibly another issue.


Any hints or tips are appreciated,


regards and thanks in advance,

Oliver
___
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: Advise on PCIX dual network card

2009-03-16 Thread Erik Trulsson
On Mon, Mar 16, 2009 at 03:28:03PM +0700, Olivier Nicole wrote:
 Hi,
 
 I need to buy a PCI eXtended dual network card, any advise on what
 brand is supported and work reliabily?

The Intel PRO/1000 series should all work fine.



-- 
Insert your favourite quote here.
Erik Trulsson
ertr1...@student.uu.se
___
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: Advise on PCIX dual network card

2009-03-16 Thread Derek Ragona

At 03:28 AM 3/16/2009, Olivier Nicole wrote:

Hi,

I need to buy a PCI eXtended dual network card, any advise on what
brand is supported and work reliabily?

TIA,

Olivier


I use the intel PCI-X cards with multiple OS's.  They have 2 and 4 port 
versions.


-Derek

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

___
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: MGA(0): Unable to map BAR 0. Invalid argument (22) / X.Org Server V. 1.5.3, mga_drv V. 1.9.100, 7.1-STABLE

2009-03-16 Thread Peter Cornelius
Hi Warren,

 The last time I saw that error was on a -CURRENT test system several 
 months ago.  That system is updating now to the latest -CURRENT.  Time 
 will not be available for at least the next few days to try 7.1, but 
 I'll see what I can do.

I know that feeling, so thanks for offering. Please take it easy :)

 The 1.4.9 version of mga may work.  I'd give portdowngrade instructions 
 for it, but the anoncvs server isn't answering.

I did eye that, funny you say so. I found on some X.org repository that 1.4.9 
was considerably 'younger' than 1.9.100. I may (might) have a look at it 
tonight depending on when I may get outta here.

 If you have the option of replacing the Matrox card, better-supported 
 Radeons are available in AGP, PCI, and PCIE versions.

Oh, I had even less success with a radeon in an IBM box but that's admittedly 
before 7.4 and probably another story. I'll have another dig into my junk box 
but so far I only got PCI out of it (and the G200 has AGP, dunno if that makes 
*the* difference though ;-)).

Alright, then,

Thanks a lot, and

All the best,

Peter.

-- 
Peter Cornelius p...@gmx.net - Karlsruhe DE

Pt! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: 
http://www.gmx.net/de/go/multimessenger01
___
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: Advise on PCIX dual network card

2009-03-16 Thread Robert Huff

Derek Ragona writes:

  I need to buy a PCI eXtended dual network card, any advise on what
  brand is supported and work reliabily?
  
  I use the intel PCI-X cards with multiple OS's.  They have 2 and
  4 port versions.

/Nota bene/: I bought an (AGP) PRO/1000 GT dual port a while
back. PRO/1000s generally were harder to find and (if I remember
correctly) the two- and four-porters more expensive per port tham
/N/ single-port cards.


Robert Huff

___
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


LibSM: You should recreate aclocal.m4

2009-03-16 Thread michel

Hello,
I'm having problems upgrading LibSM.. I'm getting You should recreate 
aclocal.m4.

I tried to run aclocal in work/libSM-1.1.0 but it didn't really help.
Thanks for your help
Michel

FreeBSD  6.2-RELEASE-p12 i386

---  Upgrading 'libSM-1.1.0,1' to 'libSM-1.1.0_1,1' (x11/libSM)
---  Building '/usr/ports/x11/libSM'
===  Cleaning for libSM-1.1.0_1,1
===  Extracting for libSM-1.1.0_1,1
= MD5 Checksum OK for xorg/lib/libSM-1.1.0.tar.bz2.
= SHA256 Checksum OK for xorg/lib/libSM-1.1.0.tar.bz2.
===  Patching for libSM-1.1.0_1,1
===  Applying FreeBSD patches for libSM-1.1.0_1,1
===   libSM-1.1.0_1,1 depends on file: 
/usr/local/share/aclocal/xorg-macros.m4 - found
===   libSM-1.1.0_1,1 depends on file: 
/usr/local/libdata/pkgconfig/xtrans.pc - found
===   libSM-1.1.0_1,1 depends on file: 
/usr/local/libdata/pkgconfig/ice.pc - found
===   libSM-1.1.0_1,1 depends on file: 
/usr/local/libdata/pkgconfig/xproto.pc - found

===   libSM-1.1.0_1,1 depends on file: /usr/local/bin/automake-1.10 - found
===   libSM-1.1.0_1,1 depends on file: /usr/local/bin/autoconf-2.62 - found
===   libSM-1.1.0_1,1 depends on file: /usr/local/bin/libtool - found
===   libSM-1.1.0_1,1 depends on executable: pkg-config - found
===  Configuring for libSM-1.1.0_1,1
/usr/local/share/aclocal/gtk.m4:7: warning: underquoted definition of 
AM_PATH_GTK

/usr/local/share/aclocal/gtk.m4:7:   run info '(automake)Extending aclocal'
/usr/local/share/aclocal/gtk.m4:7:   or see 
http://sources.redhat.com/automake/automake.html#Extending-aclocal
configure.ac:15: warning: do not use m4_patsubst: use patsubst or 
m4_bpatsubst

../../lib/autoconf/general.m4:196: AC_FOREACH is expanded from...
/usr/local/share/aclocal/header.m4:12: AM_CONFIG_HEADER is expanded from...
configure.ac:15: the top level
configure.ac:57: warning: do not use m4_regexp: use regexp or m4_bregexp
/usr/local/share/aclocal/header.m4:58: _AM_DIRNAME is expanded from...
../../lib/autoconf/status.m4:1578: _AC_OUTPUT_MAIN_LOOP is expanded from...
configure.ac:57: the top level
configure.ac:15: warning: do not use m4_patsubst: use patsubst or 
m4_bpatsubst

../../lib/autoconf/general.m4:196: AC_FOREACH is expanded from...
aclocal.m4:279: AM_CONFIG_HEADER is expanded from...
configure.ac:15: the top level
configure.ac:57: warning: do not use m4_regexp: use regexp or m4_bregexp
aclocal.m4:325: _AM_DIRNAME is expanded from...
../../lib/autoconf/status.m4:1578: _AC_OUTPUT_MAIN_LOOP is expanded from...
configure.ac:57: the top level
configure.ac:15: warning: do not use m4_patsubst: use patsubst or 
m4_bpatsubst

../../lib/autoconf/general.m4:196: AC_FOREACH is expanded from...
aclocal.m4:279: AM_CONFIG_HEADER is expanded from...
configure.ac:15: the top level
configure.ac:57: warning: do not use m4_regexp: use regexp or m4_bregexp
aclocal.m4:325: _AM_DIRNAME is expanded from...
../../lib/autoconf/status.m4:1578: _AC_OUTPUT_MAIN_LOOP is expanded from...
configure.ac:57: the top level
configure.ac:15: warning: do not use m4_patsubst: use patsubst or 
m4_bpatsubst

../../lib/autoconf/general.m4:196: AC_FOREACH is expanded from...
aclocal.m4:279: AM_CONFIG_HEADER is expanded from...
configure.ac:15: the top level
configure.ac:57: warning: do not use m4_regexp: use regexp or m4_bregexp
aclocal.m4:325: _AM_DIRNAME is expanded from...
../../lib/autoconf/status.m4:1578: _AC_OUTPUT_MAIN_LOOP is expanded from...
configure.ac:57: the top level
configure.ac:11: your implementation of AM_INIT_AUTOMAKE comes from an
configure.ac:11: old Automake version.  You should recreate aclocal.m4
configure.ac:11: with aclocal and run automake again.
/usr/local/share/automake-1.10/am/depend2.am: am__fastdepCC does not 
appear in AM_CONDITIONAL
/usr/local/share/automake-1.10/am/depend2.am:   The usual way to define 
`am__fastdepCC' is to add `AC_PROG_CC'
/usr/local/share/automake-1.10/am/depend2.am:   to `configure.ac' and 
run `aclocal' and `autoconf' again.

*** Error code 63

Stop in /usr/ports/x11/libSM.
** Command failed [exit code 1]: /usr/bin/script -qa 
/tmp/portupgrade20090316-95249-1itn24r-0 env UPGRADE_TOOL=portupgrade 
UPGRADE_PORT=libSM-1.1.0,1 UPGRADE_PORT_VER=1.1.0,1 make

** Fix the problem and try again.
** Listing the failed packages (-:ignored / *:skipped / !:failed)
   ! x11/libSM (libSM-1.1.0,1) (unknown build error)

___
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: Inetd and multiple IP addresses

2009-03-16 Thread Frank Shute
On Fri, Mar 13, 2009 at 03:38:05AM +0100, skx wrote:

 I have inetd configured to open a listening port for leafnode 
  nntp stream tcp nowait news /usr/libexec/tcpd /usr/local/sbin/leafnode
 but this opens the port on all IP addresses associated with this machine. 
 I would like to choose only one. 
 
 I tried 
  192.168.13.2:nntp stream tcp nowait 
 news /usr/libexec/tcpd /usr/local/sbin/leafnode
 
 but it doesn't work
 
  Mar 11 02:59:21 rewers inetd[89528]: 192.168.13.2:nntp/tcp: unknown 
 service
 
 What am I doing wrong? Isn't ip:service_name a correct entry? 
 
 FreeBSD 7.1-RELEASE-p1 with custom kernel if that matters. 
 

You want to have a look at hosts_access(5)

I've got this in /etc/hosts.allow as an example:

leafnode: 127.0.0.1 : allow


Regards,

-- 

 Frank 


 Contact info: http://www.shute.org.uk/misc/contact.html 

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


Re: cvsup TreeList failed connection timed out

2009-03-16 Thread Troy
On Mon, Mar 16, 2009 at 05:22:04AM +, RW wrote:
 On Sun, 15 Mar 2009 22:32:49 -0500
 Troy t...@twisted.net wrote:
 
  I'm having a problem with cvsup and it just started happening. I have
  other servers on the same LAN that are having no problem connecting
  to the very same servers.  I found other people that had this problem
  by searching but nothing gave a definitive answer on how to solve
  this.  I tried to rebuild cvsup from source again and it build just
  fine but the problem still exists.  
 
 Since you don't mention that you are running an old release, have you
 tried switching to csup in the base system?

I am on RELENG_7.  I just rebuilt the world on the machine when this
problem started. I should have mentioned that. I also rebuilt the world on
a second server sitting right next to this one and it has no problem with
CVSUP.  There has to be a cause for why this cvsup is failing or a file
that can be deleted and rebuilt or some other troubleshooting to this
problem.  Anyone have ideas?


___
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: Advise on PCIX dual network card

2009-03-16 Thread Wojciech Puchar


 I use the intel PCI-X cards with multiple OS's.  They have 2 and
 4 port versions.


/Nota bene/: I bought an (AGP) PRO/1000 GT dual port a while
back. PRO/1000s generally were harder to find and (if I remember
correctly) the two- and four-porters more expensive per port tham
/N/ single-port cards.

PCI-X cards are quite cheap here (up to 4 ports) second-hands because 
newer computers doesn't have PCI-X. same with SATA controllers

___
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: Issue with apcupsd and gd.h missing?

2009-03-16 Thread smagnuson


Eric Sheesley-2 wrote:
 
 When trying to do a portupgrade of apcupsd I received the following error:
 
 checking for gd2/gd.h... no
 configure: error: Found system GD library but no header file.
  Please find the file gd.h in your system
  include directories and report its
 location
  to apcupsd-users at lists.sourceforge.net
 
 The system is Freebsd 7.1.  I checked and gd.h does exist so I'm a bit
 confused as to what is going on.  The file is located in
 /usr/local/include, a path that it appears the port checks.  Anyone else
 experiencing this?
 
 Any suggestions on how to fix it?
 
 gd is installed.
 [snip]
 

Eric,

I am seeing exactly the same thing, and I also have gd installed.  As
described in the error message, I sent the requested output to the
maintainer, ite...@freebsd.org.

Regards,

Steve


-- 
View this message in context: 
http://www.nabble.com/Issue-with-apcupsd-and-gd.h-missing--tp22523557p22539828.html
Sent from the freebsd-questions mailing list archive at Nabble.com.

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


Re: netstat -NM uses

2009-03-16 Thread Dan Nelson
In the last episode (Mar 16), Cipta H said:
 I found these options in netstat and I'm interested in what they're for:
 
  -M    Extract values associated with the name list from the specified
    core instead of the default /dev/kmem.
 
  -N    Extract the name list from the specified system instead of the
    default, which is the kernel image the system has booted from.
 
 what are they for? Is it related to retrieving network data from another
 host / system? What are the uses of these options? Thanks

They're for extracting info from kernel crashdumps after the system has
rebooted.  ps, vmstat, and I think some other commands have them too.

-- 
Dan Nelson
dnel...@allantgroup.com
___
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


links vs real directories

2009-03-16 Thread John Almberg
I always thought that links to real directories were pretty much the  
same as real directories, but I've just discovered a situation where  
they are not and I'm wondering if I'm doing something wrong...


I have a Ruby on Rails application running on a FreeBSD server. All  
Rails apps use the same directory structure, that consists of an  
application directory, plus a number of subdirectories. One of these  
sub directories is called 'config'.


I would like to move this config directory out of the main Rails app  
directory, and then add a link from the app directory to the moved  
config directory.


so:

app -- config

will become

app -- config(link) -- config

Basically, what I'm doing is:

cd ~/app # now in directory with real 'config' dir
mv config ~/shared/config
ln -s ~/shared/config config

That moves the directory and creates a functional link to it (I  
tested it), but Rails doesn't like it and refuses to run the app. The  
permissions are correct, I believe:


[mas...@on:current] ls -l
total 34
... snip ...
drwxrwxr-x  3 master  master   512 Mar 16 11:06 bin
drwxrwxr-x  3 master  master   512 Mar 16 11:06 components
lrwxr-xr-x  1 master  master26 Mar 16 11:07 config - /home/ 
master/shared/config

drwxr-xr-x  4 master  master   512 Mar 16 11:06 db
etc...


So, I guess a link is NOT exactly equivalent to a directory. At least  
not the way I am doing it.


I'm guessing I'm making a real newbie mistake, so if anyone can set  
me straight, I'd appreciate it.


Thank: John
 
___

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: links vs real directories

2009-03-16 Thread Erik Trulsson
On Mon, Mar 16, 2009 at 11:22:13AM -0400, John Almberg wrote:
 I always thought that links to real directories were pretty much the  
 same as real directories, but I've just discovered a situation where  
 they are not and I'm wondering if I'm doing something wrong...

A *soft* link to a directory entry (be it a directory or a file or something
else) is not quite equivalent to the original entry since they are easily
distinguished and some programs do treat softlinks differently from other 
targets.

A hardlink to a file is exactly equivalent to the original (since the original
directory entry is itself a hardlink).  The system does not however allow
you to create hardlinks to directories since it is far too easy to
make Very Bad Things happen that way.


 
 I have a Ruby on Rails application running on a FreeBSD server. All  
 Rails apps use the same directory structure, that consists of an  
 application directory, plus a number of subdirectories. One of these  
 sub directories is called 'config'.
 
 I would like to move this config directory out of the main Rails app  
 directory, and then add a link from the app directory to the moved  
 config directory.
 
 so:
 
 app -- config
 
 will become
 
 app -- config(link) -- config
 
 Basically, what I'm doing is:
 
 cd ~/app # now in directory with real 'config' dir
 mv config ~/shared/config
 ln -s ~/shared/config config
 
 That moves the directory and creates a functional link to it (I  
 tested it), but Rails doesn't like it and refuses to run the app. The  
 permissions are correct, I believe:
 
 [mas...@on:current] ls -l
 total 34
 ... snip ...
 drwxrwxr-x  3 master  master   512 Mar 16 11:06 bin
 drwxrwxr-x  3 master  master   512 Mar 16 11:06 components
 lrwxr-xr-x  1 master  master26 Mar 16 11:07 config - /home/ 
 master/shared/config
 drwxr-xr-x  4 master  master   512 Mar 16 11:06 db
 etc...
 
 
 So, I guess a link is NOT exactly equivalent to a directory. At least  
 not the way I am doing it.
 
 I'm guessing I'm making a real newbie mistake, so if anyone can set  
 me straight, I'd appreciate it.
 
 Thank: John
   

-- 
Insert your favourite quote here.
Erik Trulsson
ertr1...@student.uu.se
___
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: links vs real directories

2009-03-16 Thread John Almberg


On Mar 16, 2009, at 11:22 AM, John Almberg wrote:

I always thought that links to real directories were pretty much  
the same as real directories, but I've just discovered a situation  
where they are not and I'm wondering if I'm doing something wrong...


I have a Ruby on Rails application running on a FreeBSD server. All  
Rails apps use the same directory structure, that consists of an  
application directory, plus a number of subdirectories. One of  
these sub directories is called 'config'.


I would like to move this config directory out of the main Rails  
app directory, and then add a link from the app directory to the  
moved config directory.


so:

app -- config

will become

app -- config(link) -- config

Basically, what I'm doing is:

cd ~/app # now in directory with real 'config' dir
mv config ~/shared/config
ln -s ~/shared/config config

That moves the directory and creates a functional link to it (I  
tested it), but Rails doesn't like it and refuses to run the app.  
The permissions are correct, I believe:


[mas...@on:current] ls -l
total 34
... snip ...
drwxrwxr-x  3 master  master   512 Mar 16 11:06 bin
drwxrwxr-x  3 master  master   512 Mar 16 11:06 components
lrwxr-xr-x  1 master  master26 Mar 16 11:07 config - /home/ 
master/shared/config

drwxr-xr-x  4 master  master   512 Mar 16 11:06 db
etc...


So, I guess a link is NOT exactly equivalent to a directory. At  
least not the way I am doing it.


I'm guessing I'm making a real newbie mistake, so if anyone can set  
me straight, I'd appreciate it.


Thank: John
___
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


A little more information on this... from the Rails log, I can see  
that a Ruby script in the config directory cannot load ('require') a  
needed file because it can't find it:


/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in  
`gem_original_require': no such file to load -- application  
(MissingSource File)


It looks like this require statement is using a relative path, like  
'../path/to/file'. Does '..' not work properly with a soft link? In  
other words, '..', should mean ~/app, but since the config directory  
is really in '~/shared', perhaps '..' translates to '~/shared'? That  
would cause the problem finding the file.


Is there a way around this problem?

Digging in man ls, right now..

-- John

___
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: links vs real directories

2009-03-16 Thread John Almberg


On Mar 16, 2009, at 11:39 AM, Erik Trulsson wrote:


On Mon, Mar 16, 2009 at 11:22:13AM -0400, John Almberg wrote:

I always thought that links to real directories were pretty much the
same as real directories, but I've just discovered a situation where
they are not and I'm wondering if I'm doing something wrong...


A *soft* link to a directory entry (be it a directory or a file or  
something
else) is not quite equivalent to the original entry since they are  
easily
distinguished and some programs do treat softlinks differently from  
other

targets.


I can see that, now... If I create a soft link to ~/shared/config,  
and then cd into the directory, when I type 'ls ..', I get the  
listing for ~/shared, not ~/app.


Bummer...

I've just dug through man ln, and don't see any obvious solution.  
Since this must be a problem for anyone who wants to do something  
like this, I guess I am taking the wrong approach, altogether.


Will have to re-think this

smell of burning rubber commences...

-- John

___
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: Xorg - Resolution issues

2009-03-16 Thread Martin Turgeon

Francis Dubé a écrit :

Francis Dubé wrote :

Hi everyone,

I got this TV : 
http://www.samsung.com/ca/consumer/detail/spec.do?group=tvtype=tvsubtype=lcdmodel_cd=LN40A330J1DXZCfullspec=F 



I'm trying to use it as my screen under FreeBSD 7.1-RELEASE with a 
resolution of 1366x768 which is suposed to be suported by the TV, 
acording with the TV's specs. I did the same with another very similar 
TV and it was working #1 without having to create any Xorg.conf, a 
plain startx and the display was perfect (1366x768).


With my new TV, X only start in 1280x720. So I created a config file 
with Xorg -configure, then I tried to force Xorg to use 1366x768 but 
it keeps loading in 1280x720. In my Xorg.0.log it looks like there's 
no support for the resolution I want :


[...]
(==) Using config file: /etc/X11/xorg.conf
[...]
(II) RADEON(0): Panel infos found from DDC detailed: 1280x720
[...]
(II) RADEON(0): Supported additional Video Mode:
(II) RADEON(0): clock: 74.2 MHz   Image Size:  160 x 90 mm
(II) RADEON(0): h_active: 1280  h_sync: 1390  h_sync_end 1430 
h_blank_end 1650 h_border: 0
(II) RADEON(0): v_active: 720  v_sync: 725  v_sync_end 730 v_blanking: 
750 v_border: 0

(II) RADEON(0): Supported additional Video Mode:
(II) RADEON(0): clock: 74.2 MHz   Image Size:  160 x 90 mm
(II) RADEON(0): h_active: 1920  h_sync: 2008  h_sync_end 2052 
h_blank_end 2200 h_border: 0
(II) RADEON(0): v_active: 540  v_sync: 542  v_sync_end 547 v_blanking: 
562 v_border: 0
(II) RADEON(0): Ranges: V min: 23  V max: 61 Hz, H min: 26  H max: 68 
kHz, PixClock max 150 MHz

(II) RADEON(0): Monitor name: SAMSUNG
[...]
(II) RADEON(0): Output DVI-0 using initial mode 1280x720
[...]

This is how i configured my resolution in my /etc/X11/xorg.conf :
[...]
Section Screen
   Identifier Screen0
   Device Card0
   MonitorMonitor0
   DefaultDepth 24
   SubSection Display
   Viewport   0 0
   Depth 24
   Modes   1366x768
   EndSubSection
EndSection
[...]

My video card is a Radeon HD 3450 and my Xorg version is xorg-7.3_2

Also, the only other resolution supported by the TV according to the 
log file would be 1920x540...but it's not supported by the TV !


Am I missing something ?

Thanks for reading.

Francis
___
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
I had this problem last month, I tought it was fixed using this little 
trick suggested by Polytropon :


Polytropon wrote :

If it doesn't work, there's always an option to use xrandr via
~/.xinitrc:

xrandr --size 1366x768 
xrandr --fb 1366x768 

I have a similar issue with the ati driver, using an ATI Radeon 9200
(RV250) which I need to force to 1400x1050 (worked with old XFree86
and the setting in the config file, as you mentioned it). The
autodetection of the screen (21 CRT) leads to stupid values that
are completely unusable.
The screen is located far from my office so I can't be in front of it to 
test, that's why I haven't spotted it wasn't working. I tought it was 
because when i take a screenshot with 'scrot' i get a full screenshot in 
1366x768 and everything is clean, but the TV itself shows a 1280x720 
display. I should've watched the Xorg's log instead of simply assuming 
it was working with a screenshot, but anyway now my problem is the same 
: The PC is configured in 1366x768, but the TV don't care and shows a 
1280x720.


Anyone got a similar issue and a way to fix it ?

Thanks,

Francis Dubé


Hi!

I have the same problem with the same model of TV (Samsung A330). Did 
you solved your problem?


Thanks,

Martin

___
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: links vs real directories

2009-03-16 Thread John Almberg


On Mar 16, 2009, at 11:47 AM, John Almberg wrote:



On Mar 16, 2009, at 11:39 AM, Erik Trulsson wrote:


On Mon, Mar 16, 2009 at 11:22:13AM -0400, John Almberg wrote:

I always thought that links to real directories were pretty much the
same as real directories, but I've just discovered a situation where
they are not and I'm wondering if I'm doing something wrong...


A *soft* link to a directory entry (be it a directory or a file or  
something
else) is not quite equivalent to the original entry since they are  
easily
distinguished and some programs do treat softlinks differently  
from other

targets.


I can see that, now... If I create a soft link to ~/shared/config,  
and then cd into the directory, when I type 'ls ..', I get the  
listing for ~/shared, not ~/app.


Bummer...

I've just dug through man ln, and don't see any obvious solution.  
Since this must be a problem for anyone who wants to do something  
like this, I guess I am taking the wrong approach, altogether.


Will have to re-think this

smell of burning rubber commences...


Okay! I guess I wasn't the first to have this problem...

lndir (in ports) solves the problem by creating a set of soft links  
for all the files in the 'linked' directory. Kinda kludgy, but it works.


-- John

___
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: links vs real directories

2009-03-16 Thread Erik Trulsson
On Mon, Mar 16, 2009 at 11:47:23AM -0400, John Almberg wrote:
 
 On Mar 16, 2009, at 11:39 AM, Erik Trulsson wrote:
 
  On Mon, Mar 16, 2009 at 11:22:13AM -0400, John Almberg wrote:
  I always thought that links to real directories were pretty much the
  same as real directories, but I've just discovered a situation where
  they are not and I'm wondering if I'm doing something wrong...
 
  A *soft* link to a directory entry (be it a directory or a file or  
  something
  else) is not quite equivalent to the original entry since they are  
  easily
  distinguished and some programs do treat softlinks differently from  
  other
  targets.
 
 I can see that, now... If I create a soft link to ~/shared/config,  
 and then cd into the directory, when I type 'ls ..', I get the  
 listing for ~/shared, not ~/app.

Yes, because '..' is a hardlink to the parent directory, and 'cd' does not
know how you got to ~/shared/config so it does not know anything about the
softlink used to get theere.


 
 Bummer...
 
 I've just dug through man ln, and don't see any obvious solution.  
 Since this must be a problem for anyone who wants to do something  
 like this, I guess I am taking the wrong approach, altogether.
 
 Will have to re-think this
 
 smell of burning rubber commences...
 
 -- John
 

-- 
Insert your favourite quote here.
Erik Trulsson
ertr1...@student.uu.se
___
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: links vs real directories

2009-03-16 Thread Chris Rees
2009/3/16 John Almberg jalmb...@identry.com:

 On Mar 16, 2009, at 11:39 AM, Erik Trulsson wrote:

 On Mon, Mar 16, 2009 at 11:22:13AM -0400, John Almberg wrote:

 I always thought that links to real directories were pretty much the
 same as real directories, but I've just discovered a situation where
 they are not and I'm wondering if I'm doing something wrong...

 A *soft* link to a directory entry (be it a directory or a file or
 something
 else) is not quite equivalent to the original entry since they are easily
 distinguished and some programs do treat softlinks differently from other
 targets.

 I can see that, now... If I create a soft link to ~/shared/config, and then
 cd into the directory, when I type 'ls ..', I get the listing for ~/shared,
 not ~/app.

 Bummer...

 I've just dug through man ln, and don't see any obvious solution. Since this
 must be a problem for anyone who wants to do something like this, I guess I
 am taking the wrong approach, altogether.

 Will have to re-think this

 smell of burning rubber commences...

 -- John

 ___
 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


When we're talking in a technical sense, we should probably use the
correct terms. The 'official' and more descriptive name for a softlink
is a symbolic link.

Symbolic links are an absolute nightmare for security purposes, and
many programs (especially ones set to run suid) choke on them. This
could be intentional

Since RoR is free software, you could dive in and edit where it looks
for in the source code, or look for a compile-time option. Try

/dir/to/port's/work/directory # ./configure --help


Chris

--
R $h !  $- ! $+      $@ $2  @ $1 .UUCP.  (sendmail.cf)
___
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


grammer checker

2009-03-16 Thread Aryeh M. Friedman
I use editors/openoffice.org-3 and need to grammer check a text file but 
there seems to be no option (or plugin) for this in OoO and a search of 
the ports tree for grammer returned nothing either... ideas (I want to 
avoid wine+MS office if possible)

___
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: links vs real directories

2009-03-16 Thread Bill Moran
In response to John Almberg jalmb...@identry.com:
 
 A little more information on this... from the Rails log, I can see  
 that a Ruby script in the config directory cannot load ('require') a  
 needed file because it can't find it:
 
 /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in  
 `gem_original_require': no such file to load -- application  
 (MissingSource File)
 
 It looks like this require statement is using a relative path, like  
 '../path/to/file'. Does '..' not work properly with a soft link? In  
 other words, '..', should mean ~/app, but since the config directory  
 is really in '~/shared', perhaps '..' translates to '~/shared'? That  
 would cause the problem finding the file.

That's a common problem with soft links and interpreted languages.

 Is there a way around this problem?

Generally, you have to fix this in the application itself.  I'm not a
Ruby expert, but I can list some of the methods that solve the problem
in PHP:

1 If Ruby has a config value for including library files (often called a
  search path), configure it  to the correct paths and tell Ruby to
  include the file name with the configured path information.
2 Write a wrapper around the requirement function that normalizes the path
  so that it works.
3 Ditch the softlink altogether and require files by absolute path.

The first one is probably the most desirable, although I've had good
success using PHP's __autoload() to accomplish #2.  Don't know if there's
an equivalent in Ruby.

In any event, if you're explicitly including files by relative path, you'll
have to stop doing that.  It's a bad idea in any event.

-- 
Bill Moran
http://www.potentialtech.com
http://people.collaborativefusion.com/~wmoran/
___
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: grammer checker

2009-03-16 Thread Matt
On Mon, Mar 16, 2009 at 11:32 AM, Aryeh M. Friedman
aryeh.fried...@gmail.com wrote:
 I use editors/openoffice.org-3 and need to grammer check a text file but
 there seems to be no option (or plugin) for this in OoO and a search of the
 ports tree for grammer returned nothing either... ideas (I want to avoid
 wine+MS office if possible)

How about LanguageTool?
http://extensions.services.openoffice.org/project/languagetool

Does that do what you're looking for?

Matt
___
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: grammer checker

2009-03-16 Thread Bill Moran
In response to Aryeh M. Friedman aryeh.fried...@gmail.com:

 I use editors/openoffice.org-3 and need to grammer check a text file but 
 there seems to be no option (or plugin) for this in OoO and a search of 
 the ports tree for grammer returned nothing either... ideas (I want to 
 avoid wine+MS office if possible)

Spelling grammar correctly will help:
http://www.freshports.org/textproc/link-grammar/

Never used that program myself, so I can't vouch for it.

-- 
Bill Moran
http://www.potentialtech.com
http://people.collaborativefusion.com/~wmoran/
___
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


portsnap ignores REFUSE directives

2009-03-16 Thread Charles Howse

Hi,
I just installed 6.4-RELEASE on the way to -STABLE.
I chose NOT to install the ports during installation.
I configured /etc/portsnap.conf, uncommenting the REFUSE directives,  
because I only speak English.


I created the proper directories, including /usr/ports.
I ran 'portsnap fetch extract', and now I find arabic, chinese,  
french, german, hebrew, hungarian, etc. in my ports tree.


What might be the problem here?


--
Thanks,
Charles

Things that make you say, Hmm...
If you spend your day doing nothing, how do you know when you're done?

___
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


What happened with KWeather (from kde3) applet in kde4?

2009-03-16 Thread Yuri

I installed kde4. And can't find KWeather that happily worked in kde3.5.
It's not in any list and can't be found in ports either.

Thanks,
Yuri

___
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: links vs real directories

2009-03-16 Thread Wojciech Puchar

drwxr-xr-x  4 master  master   512 Mar 16 11:06 db
etc...


So, I guess a link is NOT exactly equivalent to a directory. At least not the 
way I am doing it.


I'm guessing I'm making a real newbie mistake, so if anyone can set me 
straight, I'd appreciate it.


IMHO you did everything properly, this program must actually check if it's 
link.

___
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: bsd vs gpl

2009-03-16 Thread Chad Perrin
On Wed, Mar 11, 2009 at 08:36:21AM +, Saifi Khan wrote:
 
 There are two rights associated.
  Rights to Usage
  Rights to Modify
 
 When you take a piece of code licensed under GPL and modify it, you
 are required to make your changes available and also under the same
 license ie. GPL. So the rights to modify comes with covenants in GPL.
 In the case of BSD and ASL, there is no such covenant.
 
 It may also be pertinent to know that under any license, the recipient
 cannot change the copyright ownership or the notice for eg.  ... The
 Regents of the University of California.  All rights reserved. ...

This is not an accurate representation.  You have the right to modify
with BSD-licensed code just as with GPLed code.  The difference is that,
if you distribute what you've modified, with the GPL you are required to
conform to specific restrictions on how it may distributed, whereas with
the BSD license that requirement does not exist.

-- 
Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]
Quoth The Financial Times: As an ultimate incentive to solve the
millennium bug computer problem, China has ordered its airline
executives to take a flight on January 1, 2000.


pgp33YZBJvL4O.pgp
Description: PGP signature


Shared ftp access to a apache root

2009-03-16 Thread DAve

Good afternoon all,

I have a strange request and mind is just not up to the task today. We 
have a client who wants each web developer (there are four) to have a 
unique login to the same apache site root.


I am not even certain that is possible. Anyone have any ideas? This is a 
dedicated server running FreeBSD 6.4 inside ESXi.


DAve

--
Posterity, you will know how much it cost the present generation to
preserve your freedom.  I hope you will make good use of it.  If you
do not, I shall repent in heaven that ever I took half the pains to
preserve it. John Quincy Adams

http://appleseedinfo.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: Shared ftp access to a apache root

2009-03-16 Thread DAve

DAve wrote:

Good afternoon all,

I have a strange request and mind is just not up to the task today. We 
have a client who wants each web developer (there are four) to have a 
unique login to the same apache site root.


That would be a unique FTP login, again, my mind is toast today.

DAve



I am not even certain that is possible. Anyone have any ideas? This is a 
dedicated server running FreeBSD 6.4 inside ESXi.


DAve




--
Posterity, you will know how much it cost the present generation to
preserve your freedom.  I hope you will make good use of it.  If you
do not, I shall repent in heaven that ever I took half the pains to
preserve it. John Quincy Adams

http://appleseedinfo.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: Shared ftp access to a apache root

2009-03-16 Thread Rodrigo Gonzalez
DAve wrote:
 Good afternoon all,

 I have a strange request and mind is just not up to the task today. We
 have a client who wants each web developer (there are four) to have a
 unique login to the same apache site root.

 I am not even certain that is possible. Anyone have any ideas? This is
 a dedicated server running FreeBSD 6.4 inside ESXi.

 DAve

Make the 4 users sharing the home directory and their main group.
At your ftp server configuration change umask or default permissions so
owner and group can read and write to files and directories.
You are done, all of them can connect and will connect to the same home
directory (www site root) and when upload something will be writable by
the others.

I hope this helps

Rodrigo


smime.p7s
Description: S/MIME Cryptographic Signature


Re: bsd vs gpl

2009-03-16 Thread Chad Perrin
On Wed, Mar 11, 2009 at 12:36:44PM -0700, prad wrote:
 
 thank you everyone for your comments on this topic.

A few more links:

+   Copyfree licensing
http://copyfree.org/

+   Copyfree vs. Copyleft
http://www.wikivs.com/wiki/Copyfree_vs_Copyleft

+   BSD/Copyfree vs. Corporate Copyleft
http://sob.apotheon.org/?p=622

+   Choose the right licensing model for security software
http://blogs.techrepublic.com.com/security/?p=610

-- 
Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]


pgpcJ3CbiK5F8.pgp
Description: PGP signature


Re: portsnap ignores REFUSE directives

2009-03-16 Thread RW
On Mon, 16 Mar 2009 12:18:06 -0500
Charles Howse cho...@charter.net wrote:

 Hi,
 I just installed 6.4-RELEASE on the way to -STABLE.
 I chose NOT to install the ports during installation.
 I configured /etc/portsnap.conf, uncommenting the REFUSE directives,  
 because I only speak English.
 
 I created the proper directories, including /usr/ports.
 I ran 'portsnap fetch extract', and now I find arabic, chinese,  
 french, german, hebrew, hungarian, etc. in my ports tree.
 
 What might be the problem here?

Are these directories actually populated with ports?

If not, my guess is that it's simply ignoring ports that match the
category, rather than removing the category entirely.
___
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


installing packages

2009-03-16 Thread marco.borsat...@libero.it

Hi, this are my questions.

1) I've installed many packages using pkg_add -rK [package] because I had the 
idea to use the same packages on a different PC. Packages are present in the 
directory i used as a repository, but only the requested packages, not the 
dependecies.

When I tried on another PC pkg_add [package] (I've copied all the requested 
packages on a USB HD) the program tells me that it cannot find dependencies. 
What is my mistake?

2) I've installed FreeBSD 7.1 on a 2.6Gh Celeron with 1Gb of RAM and a fast 
internet connection. I haven't installed KDE 3.5 because I wished to install 
KDE 4.

When I used pkg_add -r kde4 the PC worked for almost 6 hours. During the 
installation I saw many error messages but, when finished, KDE was working.

Is this the only possibility or is there a better way to install a big program 
with a lot of dependecies?

Thanks for help.

Marco

 
___
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: installing packages

2009-03-16 Thread Vasadi I. Claudiu Florin


Is this the only possibility or is there a better way to install a big  
program with a lot of dependecies?




Not the best way, but certainly the fastest. Best way if you ask me is  
through the ports system. Keep in mind that it takes so much longer (~days)

___
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: portsnap ignores REFUSE directives

2009-03-16 Thread Charles Howse


On Mar 16, 2009, at 2:28 PM, RW wrote:


On Mon, 16 Mar 2009 12:18:06 -0500
Charles Howse cho...@charter.net wrote:


Hi,
I just installed 6.4-RELEASE on the way to -STABLE.
I chose NOT to install the ports during installation.
I configured /etc/portsnap.conf, uncommenting the REFUSE directives,
because I only speak English.

I created the proper directories, including /usr/ports.
I ran 'portsnap fetch extract', and now I find arabic, chinese,
french, german, hebrew, hungarian, etc. in my ports tree.

What might be the problem here?


Are these directories actually populated with ports?

If not, my guess is that it's simply ignoring ports that match the
category, rather than removing the category entirely.


I checked the chinese, and yes, there are ports as well as the  
makefile etc. under the port.

Looks completely normal as if I wasn't using REFUSE.

If you look at the /etc/portsnap.conf file, the lines look like this:
#
#
# REFUSE this that t'other
# REFUSE some more stuff

I just deleted the '#' and left the space at the beginning of the line.
Surely that wouldn't fubar it, would it?
I'll try again and remove the leading space, but I'n not optimistic.

Is the portsnap author a member of this list?

___
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


installing packages

2009-03-16 Thread marco.borsat...@libero.it
This is the reason why I prefer to use packages. I don't need a perfect machine 
as I don't use it it for professional purposes.So I will use this method. Is 
this the only possibility or is there a better way to install a big   program 
with a lot of dependecies?Not the best way, but certainly the fastest. Best 
way if you ask me is  through the ports system. Keep in mind that it takes so 
much longer (~days)
___
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: Speeding up exit(2)?

2009-03-16 Thread Dan
Wojciech Puchar(woj...@wojtek.tensor.gdynia.pl)@2009.03.15 19:14:57 +0100:
 would be really nice about advocacy of GOOD web browser that not only  
 exits faster, but WORKS faster. i don't know any, except links but links  
 doesn't have CSS support

I know one: Google Chrome - but it's only for Windows. Not only was it
designed to be faster, but also more secure. It uses multi-process 
model for fault isolation and less memory fragmentation, the one
so familiar to *nix.
___
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: MSI nettop supported?

2009-03-16 Thread Lowell Gilbert
Jaime ja...@snowmoon.com writes:

 I'm considering getting one of MSI's nettop computers to run a small
 server in my home.  I was wondering if anyone could tell me if it
 would run FreeBSD or not?  There is a model with Linux pre-installed,
 so I'm hopeful.  I just figured I'd ask before spending a few hundred
 dollars.  :)

 http://msicomputer.com/product/p_spec.asp?model=Wind_Nettop_CS120class=npc

 Also, I have no prior experience with FreeBSD's wifi support or using
 Compact Flash or SD cards.  (Despite using FreeBSD since version
 2.2.1!)  Any pointers?

The wifi support is hard to evaluate, because that web page doesn't list
any details about the hardware.

Flash disks are no big deal, especially if they will already be inserted
at boot time.

-- 
Lowell Gilbert, embedded/networking software engineer, Boston area
http://be-well.ilk.org/~lowell/
___
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: Portinstall insists on rebuilding openldap client

2009-03-16 Thread Frank Shute
On Sat, Mar 14, 2009 at 01:12:56PM -0400, Robert Fitzpatrick wrote:

 I was trying to install samba and it keeps wanting to build the openldap
 client package that I already have installed. I really don't want to
 mess with that as it is also supporting other packages for the mail
 system. Why would it be wanting to build a package that is already
 installed?
 
 mx1# ls /var/db/pkg | grep ldap
 openldap-sasl-client-2.3.43
 openldap-sasl-server-2.3.43
 p5-perl-ldap-0.34
 php5-ldap-5.2.5_1
 phpldapadmin-1.1.0.5_1,1
 mx1# portinstall samba
 ---  Found 3 ports matching 'samba':
   net/samba3
   net/samba32
   net/samba33
 Install 'net/samba3'? [yes] no
 Install 'net/samba32'? [yes] no
 Install 'net/samba33'? [yes]   
 [Gathering depends for net/samba33 
  done]
 ---  Installing 'openldap-sasl-client-2.3.43' from a port 
 (net/openldap23-client)
 ---  Building '/usr/ports/net/openldap23-client'
 ===  Cleaning for openldap-sasl-client-2.3.43
 ===  Vulnerability check disabled, database not found
 ===  Extracting for openldap-sasl-client-2.3.43
 = MD5 Checksum OK for openldap-2.3.43.tgz.
 = SHA256 Checksum OK for openldap-2.3.43.tgz
 -- 
 Robert

You could try using the exclude flag of portupgrade:

# portupgrade -Nvx samba33 openldap23-client

(I havent tested it).

I don't think you would have a problem if it did rebuild the ldap
client though as it should use the same config options that you
originally built it with.

An alternative is to build samba without ldap support by unchecking
that option within make config (I guess you probably want ldap support
with samba though).

Regards,

-- 

 Frank 


 Contact info: http://www.shute.org.uk/misc/contact.html 

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


Re: installing packages

2009-03-16 Thread Roland Smith
On Mon, Mar 16, 2009 at 08:22:02PM +0100, marco.borsat...@libero.it wrote:
 
 Hi, this are my questions.
 
 1) I've installed many packages using pkg_add -rK [package] because I
 had the idea to use the same packages on a different PC. Packages are
 present in the directory i used as a repository, but only the
 requested packages, not the dependecies.

When creating packages with pkg_add, also add the -R option to create
packages for all dependencies.

 When I tried on another PC pkg_add [package] (I've copied all the
 requested packages on a USB HD) the program tells me that it cannot
 find dependencies. What is my mistake?

Not creating packages for all required dependencies, I think.

Probably the easiest way is to install all the ports you want on one
machine, and then copy /usr/local and /var/db/pkg to the other PC.
Provided of course that both machines use the same hardware
architecture! Use rsync(1) if you can make a network connection between
the machines. This can be very fast. Otherwise write the files to a USB
disk.

 2) I've installed FreeBSD 7.1 on a 2.6Gh Celeron with 1Gb of RAM and a
 fast internet connection. I haven't installed KDE 3.5 because I wished
 to install KDE 4.
 
 When I used pkg_add -r kde4 the PC worked for almost 6 hours. During
 the installation I saw many error messages but, when finished, KDE was
 working.

 Is this the only possibility or is there a better way to install a big
 program with a lot of dependecies?

I prefer compiling ports from source myself, so I can use non-standard
options. But this might take a lot longer.

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


pgpDFK0NxKFB3.pgp
Description: PGP signature


Re: Speeding up exit(2)?

2009-03-16 Thread Wojciech Puchar


I know one: Google Chrome - but it's only for Windows. Not only was it
designed to be faster, but also more secure.


You mean more securely getting all data about user for google.

NO THANKS!
___
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: issues in XFCE 4.6

2009-03-16 Thread Keith Seyffarth

 Keith Seyffarth said the following on 2009-03-16 02:38:
  Sorry, should have had you do rmconfig-recursive first.  There's a 
  
  OK. I'll have to think about that. It is mostly working now, having
  added an xrandr line to the .xinitrc file to fix the resolution.
 
 What line was that?

xrandr -s 1 

___
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: portsnap ignores REFUSE directives

2009-03-16 Thread Charles Howse


On Mar 16, 2009, at 2:43 PM, Charles Howse wrote:



On Mar 16, 2009, at 2:28 PM, RW wrote:


On Mon, 16 Mar 2009 12:18:06 -0500
Charles Howse cho...@charter.net wrote:


Hi,
I just installed 6.4-RELEASE on the way to -STABLE.
I chose NOT to install the ports during installation.
I configured /etc/portsnap.conf, uncommenting the REFUSE directives,
because I only speak English.

I created the proper directories, including /usr/ports.
I ran 'portsnap fetch extract', and now I find arabic, chinese,
french, german, hebrew, hungarian, etc. in my ports tree.

What might be the problem here?


Are these directories actually populated with ports?

If not, my guess is that it's simply ignoring ports that match the
category, rather than removing the category entirely.


I checked the chinese, and yes, there are ports as well as the  
makefile etc. under the port.

Looks completely normal as if I wasn't using REFUSE.

If you look at the /etc/portsnap.conf file, the lines look like this:
#
#
# REFUSE this that t'other
# REFUSE some more stuff

I just deleted the '#' and left the space at the beginning of the  
line.

Surely that wouldn't fubar it, would it?
I'll try again and remove the leading space, but I'n not optimistic.

Is the portsnap author a member of this list?


I fired off a quick email to the portsnap author, and here is his reply:


Hello,
I was just wondering if you were answering questions about portsnap?
You might want to look at the thread on freebsd-questions titled  
'portsnap ignores REFUSE directives'


REFUSE directives must start a line in portsnap.conf -- your leading
whitespace is making portsnap not recognize the option.


I guess that settles that.  :-)  Nice to know that folks higher in the  
FreeBSD 'food chain' are so quick to respond and help.


___
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: MSI nettop supported?

2009-03-16 Thread Peter Cornelius
Re...

 Flash disks are no big deal, especially if they will already be inserted
 at boot time.

I take it that the atom CPU just works, right?

Regarding the WindPC 2713 (if that's the one you look at), I am not even sure 
whether there is a WLAN card in it at all (the Wind U100X netbook allegedly has 
an Atheros AR928X as per iX 3/2009, [1]), and iX also comments that it was 
somewhat slow in their test. In their article, they recommend to buy parts, and 
so do other people [3] but due to lack of time  funding, I have no personal 
experience.

Hth., anyways...

Regards,

Peter.

---

[1]  http://www.ix.de/
[2]  Links of the article, 
http://www.heise.de/ix/artikel/2009/03/links/078.shtml
[3]  http://www.skyline-service.de/stromsparserver.php
 Babelfish: 
http://66.196.80.202/babelfish/translate_url_content?.intl=delp=de_entrurl=http%3A%2F%2Fwww.skyline-service.de%2Fstromsparserver.php
-- 
Neu: GMX FreeDSL Komplettanschluss mit DSL 6.000 Flatrate + Telefonanschluss 
für nur 17,95 Euro/mtl.!* http://dsl.gmx.de/?ac=OM.AD.PD003K11308T4569a
___
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: MGA(0): Unable to map BAR 0. Invalid argument (22) / X.Org Server V. 1.5.3, mga_drv V. 1.9.100, 7.1-STABLE

2009-03-16 Thread Peter Cornelius
Hiya, re...

  The 1.4.9 version of mga may work.  I'd give portdowngrade instructions 
  for it, but the anoncvs server isn't answering.
 
 I did eye that, funny you say so. I found on some X.org repository that
 1.4.9 was considerably 'younger' than 1.9.100. I may (might) have a look at
 it tonight depending on when I may get outta here.

I did get out late but I could not leave it, as usual, so got the 1.4.9 
(Makefile,v 1.7 2009/01/08 16:58:29 and the corresponding distinfo), rebuilt 
the port and, success...

Well, mostly. I had to DefaultDepth 16 in the Screen to really get her up 
(errors otherwise, [1]). The other option probably is to go w/o DRI, and I 
really may consider that since it looks kinda crappy still -- but not today 
anymore. At least, we're back to xorg.conf, and also there still is the option 
with the junk box... :)

So thanks for the hint, and

All the best regards,

Peter.

---

[1] Errors remain at 24 bpp depth.
(EE) MGA(0): Static buffer allocation failed, not initializing the DRI
(EE) MGA(0): Need at least 9216 kB video memory at this resolution, bit depth

-- 
Pt! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: 
http://www.gmx.net/de/go/multimessenger01
___
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: Speeding up exit(2)?

2009-03-16 Thread Dan
No, that's not what I meant.
___
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 performance? RAID-Z or vinum and RAID5?

2009-03-16 Thread Mike Manlief
I'm looking into moving a workstation from Ubuntu 10 to FreeBSD 7.1
(both amd64) and I'm a bit worried about storage -- specifically
moving from mdadm, which performs very well for me.

Current in Linux I use an mdadm RAID5 of 5 disks.  After investigating
FreeBSD storage options, RAID-Z sounds optimal[1].  I'd like to avoid
levels 3 and 1 due to write bottlenecks[2], and level 0 for obvious
reasons.  Migrating from the existing mdadm is not an issue.  I also
do not plan to boot from the software array.

Various docs/postings seem to indicate that using ZFS/RAID-Z under
FreeBSD will destroy my computer, run over my cat, and bail out the
investment banking industry.  Will it really perform that poorly on a
Phenom and 8GB RAM?  Significantly more resources than mdadm in Linux?
 How about compared to RAID 5 under vinum?

Thanks,
~Mike Manlief

1: The ability to read the array with the Linux FUSE ZFS
implementation is very appealing; don't care about performance for
such inter-op scenarios.  Copy-on-write sounds awesome too.

2: ...and even level 5, now that I've learned of RAID-Z.
___
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: Installing 7.1 amd64 on Dell powerEdge 2950

2009-03-16 Thread Steve Polyack

Olivier Nicole wrote:

I spent a couple of days trying to install FreeBSD 7.1 amd64 on a Dell
PowerEdge 2950.

It won't finish booting properly from the installation CD
  


I've had(and have) several fairly new Dell PowerEdge2950 servers running 
FreeBSD 7.1/amd64 just fine.  Is this a brand new 2950 (2950 III, or 
whatever), or an older one?  I'd make sure that the BIOS, BMC, and PERC 
(if you have one) firmwares are all up to date.  Barring that, have you 
tried another installation CD?

___
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


libburnia / xfburn won't recognize NEC ND-3500AG

2009-03-16 Thread Steve Franks
I've had this drive forever.  I actually burn CD's with it all the
time, but you know, sometimes, a gui really is more convineient.
Xfburn stubbornly refuses to detect it, however...even when I run as
root...

Thanks,
Steve
___
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


snd_hda questions

2009-03-16 Thread Jimmie James

With the recent snd_hda changes, I have more audio devices than ever:
hdac0: HDA Codec #0: Realtek ALC880
pcm0: HDA Realtek ALC880 PCM #0 Digital at cad 0 nid 1 on hdac0
pcm1: HDA Realtek ALC880 PCM #1 Analog at cad 0 nid 1 on hdac0
pcm2: HDA Realtek ALC880 PCM #2 Analog at cad 0 nid 1 on hdac0
pcm3: HDA Realtek ALC880 PCM #3 Analog at cad 0 nid 1 on hdac0

hd...@pci0:0:27:0:	class=0x040300 card=0x814e1043 chip=0x26688086 
rev=0x03 hdr=0x00

vendor = 'Intel Corporation'
device = '11583659 Realtek High Definition Audio Controllers'
class  = multimedia
subclass   = HDA

With  hw.snd.default_unit=1 I have (adjusting vol and pcm changes volume 
level here.)

Mixer vol  is currently set to  55:55
Mixer pcm  is currently set to  50:50
Mixer mix  is currently set to   0:0

With hw.snd.default_unit=2 I have (adjusting vol and pcm does nothing 
here, 0:0 or 100:100 nothing changes)

Mixer vol  is currently set to   0:0
Mixer pcm  is currently set to   0:0
Mixer mic  is currently set to   0:0
Mixer mix  is currently set to  60:60
Mixer rec  is currently set to   0:0
Recording source: mic

With hw.snd.default_unit=3 I have
Recording source:

Mail notification sounds from Thunderbird are barely audible, and I 
can't control the volume for it.
Can someone point me in the right direction to control/use the different 
pcm* devices, the man pages aren't totally clear to me.


Thanks

--
Over the years I've come to regard you as people I've met.

___
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: installing packages

2009-03-16 Thread icemaca

marco.borsat...@libero.it wrote:

Hi, this are my questions.

1) I've installed many packages using pkg_add -rK [package] because I had the 
idea to use the same packages on a different PC. Packages are present in the 
directory i used as a repository, but only the requested packages, not the 
dependecies.

  
what you did only saves (keeps) the *first* package you  enter  in the 
pkg_add command (only 1 package). not sure how well -R works, but you 
would be better off with portupgrade -NPP x11/xorg etc.. to use packages or
portupgrade -Np x11/kde4 or portmaster -gu x11/kde4 to use ports and 
keep packages.

___
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


Need help for acroread8

2009-03-16 Thread Manish Jain


Hi all,

After browsing mailing lists for hours, I was finally able to 
install acroread8 on my FreeBSD 7.1R system. But it STILL does not 
start. Attached below is the output (repeated messages removed) :



Gtk-Message: Failed to load module gnomebreakpad:
 libgnomebreakpad.so: cannot open shared object file: No such file 
or directory


(acroread:9218): GdkPixbuf-WARNING **: Cannot open pixbuf loader module file 
'/etc/gtk-2.0/gdk-pixbuf.loaders':

 No such file or directory


(acroread:9218): GdkPixbuf-WARNING **: Error loading XPM image loader: Image 
type 'xpm' is not supported

(acroread:9218): GLib-GObject-CRITICAL **: g_object_ref: assertion `G_IS_OBJECT 
(object)' failed

(acroread:9218): Gdk-CRITICAL **: gdk_window_set_icon_list: assertion 
`GDK_IS_PIXBUF (pixbuf)' failed

(acroread:9218): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_width: assertion `pixbuf 
!= NULL' failed

(acroread:9218): Pango-WARNING **: No builtin or dynamically loaded modules
were found. Pango will not work correctly. This probably means
there was an error in the creation of:
  '/etc/pango/pango.modules'
You may be able to recreate this file by running pango-querymodules.

(acroread:9218): Pango-CRITICAL **: _pango_engine_shape_shape: assertion 
`PANGO_IS_FONT (font)' failed

Pango-ERROR **: file shape.c: line 75 (pango_shape): assertion failed: 
(glyphs-num_glyphs  0)
aborting...

[2]+  Exit 1  acroread


My loader.conf has linux_load=YES, rc.conf has linux_enable=YES, 
linprocfs_enable=YES and fstab has an entry for linproc. I 
downloaded the latest ports tarball yesterday, did a 'portupgrade 
-rf emulators/linux_base-fc4', and [re]installed a number of ports 
(pango, linux-pango, cairo, linux-cairo, gdk-pixbuf, 
linux-gdk-pixbuf, pixman and may be a couple more). Then I installed 
acroread8.  But it still does not start, as you can from the message 
above.


Actually, there is at least one bug in the port as the message 
reveals. At runtime, acroread8 tries to look for 
/etc/pango/pango.modules, which - because of the port's linux 
heritage - translates to /compat/linux/etc/pango/pango.modules. This 
path is incorrect, at least with linux_base-fc4 - with which the 
correct  path turns out to be 
/compat/linux/etc/pango/i686-redhat-linux-gnu/pango.modules in my 
case. The user has to fix it with a symlink himself.


I am beginning to wonder why can't FreeBSD simply put on the 
distribution media binary packages for programs that almost everyone 
uses these days (thunderbird, acroread) and which take an immense 
amount of time/effort to build. The FreeBSD DVD is more than half 
empty and I am sure nobody would mind spending a couple of hours 
extra at download-time what possibly might save a couple of weeks 
and a whole lot of headaches at install-time.


Anyway, if anyone has any clue how to get me out of this acroread 
mess, I would be really grateful.


Thanks in advance
Manish Jain
invalid.poin...@gmail.com
___
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


Compiling everything myself?

2009-03-16 Thread Daniel
Hi list

This may be a basic question, but a question non the less.

I have been using Debian for some years and have gotten tired by system 
freezes, having a slow system, and having a package system that requires that I 
install every skin of KDE to get KDE up and running.

I hope FreeBSD will be better! :-)

What I want to know is the following: Do I get the option of fetching sources 
and running through a guided compilation; or do I get binaries (like Debian) 
only?

Thanks in advanced. 
-- 
Daniel
___
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: Compiling everything myself?

2009-03-16 Thread Mike Jeays

-- 

On March 16, 2009 09:11:32 pm Daniel wrote:
 Hi list

 This may be a basic question, but a question non the less.

 I have been using Debian for some years and have gotten tired by system
 freezes, having a slow system, and having a package system that requires
 that I install every skin of KDE to get KDE up and running.

 I hope FreeBSD will be better! :-)

 What I want to know is the following: Do I get the option of fetching
 sources and running through a guided compilation; or do I get binaries
 (like Debian) only?

 Thanks in advanced.

You can do either one. The ports system automates source download, compilation 
and installation.  The package system fetches and installs pre-compiled 
binaries. Take your pick.

Mike Jeays
http://www.jeays.ca
http://www.rotarycpmm.ca

___
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: Compiling everything myself?

2009-03-16 Thread Ivan Rambius Ivanov
Hello

On Tue, Mar 17, 2009 at 3:11 AM, Daniel annonymejens+...@runbox.no wrote:
 Hi list

 This may be a basic question, but a question non the less.

 I have been using Debian for some years and have gotten tired by system 
 freezes, having a slow system, and having a package system that requires that 
 I install every skin of KDE to get KDE up and running.

 I hope FreeBSD will be better! :-)

 What I want to know is the following: Do I get the option of fetching sources 
 and running through a guided compilation; or do I get binaries (like Debian) 
 only?

You can get the system's sources using csup or cvsup, please check the
handbook at [1]. The system consist of the kernel and the world. You
can rebuild the kernel and the world following [2].

For applications such as KDE you can use the ports tree or install the
as packages. These options are described at [3].

Regards
Rambius

P.S. I do not understand what you mean with getting binaries like
Debian only. As far as I remember in (but I may be wrong) Debian
using its package management system you can build pretty much
everything and it treats even the linux kernel as a package. This is
different in FreeBSD - you do not install the kernel as a package or
port.

[1] http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html
[2] http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html
[3] http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports.html

-- 
Tangra Mega Rock: http://www.radiotangra.com
___
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: Advise on PCIX dual network card

2009-03-16 Thread Olivier Nicole
Hi,

 PRO/1000s generally were harder to find and (if I remember
 correctly) the two- and four-porters more expensive per port tham
 /N/ single-port cards.

Thanks, but I have only one slot (1U rack) and I need 2 ports, so I
have little choice :)

Bests,

Olivier
___
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: Installing 7.1 amd64 on Dell powerEdge 2950

2009-03-16 Thread Olivier Nicole
Hi,

 I've had(and have) several fairly new Dell PowerEdge2950 servers running 
 FreeBSD 7.1/amd64 just fine.  Is this a brand new 2950 (2950 III, or 
 whatever), or an older one?  

Depends how new is new, we bought it at the end of last year.

 I'd make sure that the BIOS, BMC, and PERC 
 (if you have one) firmwares are all up to date.  

OK.

 Barring that, have you tried another installation CD?

No, but that very installation CD worked well on other machines (Dell
1950 and Dell 200).

And both Dell 2950 are failing the same way.

Best regards,

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


FreeBSD7.1/i386 crash (fatal trap 12)

2009-03-16 Thread anborn
Hello,
I have problem with FreeBSD 7.1-STABLE/i386.
We have FreeBSD-based cluster of VPN servers (mpd3.18 as PPTP server), and 
sometimes its fall down.

#dmesg | less
Fatal trap 12: page fault while in kernel mode
cpuid = 1; apic id = 01
fault virtual address   = 0x1ac
fault code  = supervisor write, page not present
instruction pointer = 0x20:0x806d673a
stack pointer   = 0x28:0xe6c6ca68
frame pointer   = 0x28:0xe6c6cacc
code segment= base 0x0, limit 0xf, type 0x1b
= DPL 0, pres 1, def32 1, gran 1
processor eflags= interrupt enabled, resume, IOPL = 0
current process = 12 (swi1: net)
trap number = 12
panic: page fault
cpuid = 1
Uptime: 1d13h20m2s
Cannot dump. No dump device defined.
Automatic reboot in 15 seconds - press a key on the console to abort
Rebooting...
# uname -a
FreeBSD vpn-17 7.1-STABLE FreeBSD 7.1-STABLE #6: Wed Mar 11 12:59:09 YEKT 2009  
   r...@vpn:/usr/src/sys/i386/compile/kconf  i386
# nm -n /usr/local/drbd/vpntest/boot/kernel/kernel | grep 806d67
806d671b t ng_pptpgre_rcvdata_lower

Sometimes:

#dmesg | grep 'instruction pointer'
instruction pointer = 0x20:0x806ca7e1
# nm -n /usr/local/drbd/vpntest/boot/kernel/kernel | grep 806ca7
806ca740 t ng_iface_ioctl

What can I do with it? I don`t have experience in using gdb or programming on C.
___
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: Need help for acroread8

2009-03-16 Thread bf




--- On Mon, 3/16/09, Manish Jain invalid.poin...@gmail.com wrote:

 From: Manish Jain invalid.poin...@gmail.com
 Subject: Need help for acroread8
 To: freebsd-questions@freebsd.org, bf20...@yahoo.com
 Date: Monday, March 16, 2009, 9:03 PM
 Hi all,
 
 After browsing mailing lists for hours, I was finally able
 to install acroread8 on my FreeBSD 7.1R system. But it STILL
 does not start. Attached below is the output (repeated
 messages removed) :
 
  Gtk-Message: Failed to load module
 gnomebreakpad:
  libgnomebreakpad.so: cannot open shared object file:
 No such file or directory
  
  (acroread:9218): GdkPixbuf-WARNING **: Cannot open
 pixbuf loader module file
 '/etc/gtk-2.0/gdk-pixbuf.loaders':
  No such file or directory
  
  (acroread:9218): GdkPixbuf-WARNING **: Error loading
 XPM image loader: Image type 'xpm' is not supported
  
  (acroread:9218): GLib-GObject-CRITICAL **:
 g_object_ref: assertion `G_IS_OBJECT (object)' failed
  
  (acroread:9218): Gdk-CRITICAL **:
 gdk_window_set_icon_list: assertion `GDK_IS_PIXBUF
 (pixbuf)' failed
  
  (acroread:9218): GdkPixbuf-CRITICAL **:
 gdk_pixbuf_get_width: assertion `pixbuf != NULL' failed
  
  (acroread:9218): Pango-WARNING **: No builtin or
 dynamically loaded modules
  were found. Pango will not work correctly. This
 probably means
  there was an error in the creation of:
'/etc/pango/pango.modules'
  You may be able to recreate this file by running
 pango-querymodules.
  
  (acroread:9218): Pango-CRITICAL **:
 _pango_engine_shape_shape: assertion `PANGO_IS_FONT
 (font)' failed
  
  Pango-ERROR **: file shape.c: line 75 (pango_shape):
 assertion failed: (glyphs-num_glyphs  0)
  aborting...
  
  [2]+  Exit 1  acroread
 
 My loader.conf has linux_load=YES, rc.conf has
 linux_enable=YES, linprocfs_enable=YES and fstab has an
 entry for linproc. I downloaded the latest ports tarball
 yesterday, did a 'portupgrade -rf
 emulators/linux_base-fc4', and [re]installed a number of
 ports (pango, linux-pango, cairo, linux-cairo, gdk-pixbuf,
 linux-gdk-pixbuf, pixman and may be a couple more). Then I
 installed acroread8.  But it still does not start, as you
 can from the message above.
 
 Actually, there is at least one bug in the port as the
 message reveals. At runtime, acroread8 tries to look for
 /etc/pango/pango.modules, which - because of the port's
 linux heritage - translates to
 /compat/linux/etc/pango/pango.modules. This path is
 incorrect, at least with linux_base-fc4 - with which the
 correct  path turns out to be
 /compat/linux/etc/pango/i686-redhat-linux-gnu/pango.modules
 in my case. The user has to fix it with a symlink himself.
 
 I am beginning to wonder why can't FreeBSD simply put
 on the distribution media binary packages for programs that
 almost everyone uses these days (thunderbird, acroread) and
 which take an immense amount of time/effort to build. The
 FreeBSD DVD is more than half empty and I am sure nobody
 would mind spending a couple of hours extra at download-time
 what possibly might save a couple of weeks and a whole lot
 of headaches at install-time.
 
 Anyway, if anyone has any clue how to get me out of this
 acroread mess, I would be really grateful.
 
 Thanks in advance
 Manish Jain
 invalid.poin...@gmail.com


The DVD is new. Until fairly recently, only CDs were built, and
so the people making the distribution were somewhat conservative
in their choice of software to include.  And with a big DVD
image both users and FreeBSD servers will have to cope with more
network traffic. Also, everyone has their own ideas about what
to include, and you can't satisfy everyone.  I have been using
FreeBSD for years now and I have never used any of the software
that you mention.

In this case, though, there is another constraint: the Adobe
software has a more restrictive license which forbids
redistribution, without going through the trouble of 
obtaining a Distribution License Agreement, renewing the
license, determining whether you are in complicance, etc, etc.
The FreeBSD project is generally opposed to using such software,
and in any case they don't want to be burdened with legal
rigmarole and expense.  So you should complain to Adobe (good
luck! ;) ) about this, not FreeBSD.  (If you do, you can tell
Adobe to get off their asses and build native FreeBSD binaries,
so that you won't have to jump through all these hoops.)

Have you examined your alternatives?  There are a number of other
PDF readers in Ports that don't have restrictive licenses, and
don't require Linux emulation, and will serve just as well except
perhaps on some very new PDF files with special features that
aren't all that commmon and may not work anyway:

1) print/ghostscript, either by itself, or with one of it's many front-ends:
print/gv
print/gspdf
print/gsview
...

2) a graphics/poppler based front-end:
graphics/epdfview
graphics/evince
...

3) graphics/xpdf

4) print/pdf-renderer

etc.

Likewise, there are many alternatives to Thunderbird.

To 

Webinar: Learning About CRM

2009-03-16 Thread Matthew Kallas

Your invitation to join our webinar:

Everything you always wanted to know about CRM
(But Were Afraid to Ask)
Thu, Mar 19, 2009
No cost to attendees, but space is limited. Sign up here:
http://online.intelestream.net/em/link.php?M=560226N=247L=52F=T

Intelestream's Chief Operating Officer Richard Baldwin will
address five key aspects of CRM with which all businesses should
be familiar:

- Defining CRM and why businesses use it
- CRM processes involving sales, marketing, customer support,
e-commerce, and reporting
- Implementation best practices and encouraging user adoption
- Customizations, maintenance, and enhancement
- Overview of the CRM marketplace: matching specific business
needs with the right CRM platform

There will be a question and answer session focusing on the
specific business case scenarios of attendees.

More about Intelestream

To learn more about Intelestream, go to www.intelestream.net
Click this link to unsubscribe:
http://online.intelestream.net/em/unsubscribe.php?M=560226C=37154b2f8e89c5869e71017173569a0bL=8N=247
___
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