Re: Error: shared library "mysqlclient.18" does not exist

2013-03-15 Thread Jeff Tipton

On 03/12/2013 18:47, Jeff Tipton wrote:

On 03/12/2013 17:03, Greg Larkin wrote:
Hi Jeff, Good news and thanks for the update. The maia Makefile seems 
to imply that RAR support can be provided either by archivers/rar or 
archivers/unrar, and if so, those options should likely be exclusive. 
I found some problems related to detecting the MySQL dependencies in 
general, too. I'll create a PR to fix these issues. In the mean time, 
can you test whether maia does what you want with just the UNRAR 
option enabled? Thank you, Greg -BEGIN PGP SIGNATURE- 
Version: GnuPG v1.4.13 (Darwin) Comment: Using GnuPG with Thunderbird 
- http://www.enigmail.net/ 
iEYEARECAAYFAlE/Q8kACgkQ0sRouByUApDjIwCgqujnwXRPxrNq4/ARjK6Tv98m 
5qsAn37lrANQqCp9op1Y4WPZXz1gcYn/ =NQdO -END PGP SIGNATURE- 
___ 
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" 

Hi Greg,

Thank you very much, your really helped me. Ok, I think I will test 
Maia with RARed eicar; only it will still take some time until I 
finish the whole mailsystem. I'll report back as soon as I get to the 
point of testing.


Jeff

Hi Greg,

I finished my mailsystem setup with Maia (without RAR support and with 
UNRAR support), and tried to scan a RARed eicar file, and, yes, it 
detected that file as infected.


But there were 2 other issues:

1. configtest.pl hung because of p5-Forks. I found an explanation and a 
link to a patch for FreeBSD here:


http://comments.gmane.org/gmane.mail.virus.maiamailguard/15493

The patch solved this problem. As I understood from the discussion, not 
every install might have this problem but it often shows up in a jail, 
and I have this installation in a jail.


2. When Maia was freshly installed, Logout did not work because the 
function "session_is_registered" is no longer supported in PHP 5.4. I 
replaced the row 87 in logout.php


if (session_is_registered("uid")) {

with

if (isset($_SESSION['uid'])) {

as explained here:

http://comments.gmane.org/gmane.mail.virus.maiamailguard/15586

and now logging out works ok.

Maybe this information is useful.

Thanks, Greg for help and interest
Jeff
___
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: linux program with kernel module

2013-03-15 Thread Ruben de Groot
On Thu, Mar 14, 2013 at 10:42:41PM +0100, Ralf Mardorf typed:
> On Thu, 2013-03-14 at 21:43 +0100, Istvan Gabor wrote:
> > Can it run linux programs that have their own (linux) kernel module?
> > If yes, how can I install such program, and how can I load the kernel 
> > module?
> > 
> > (If I know correctly nvidia drivers have their own kernel modules, and 
> > FreeBSD can
> > run linux nvidia drivers).
> 
> Yesno.
> 
> You need to compile kernel modules to fit to the version of FreeBSD or
> Linux.
> 
> I also call user space "FreeBSD" and "Linux", but it's _not_ correct to
> do it. FreeBSD is a kernel and Linux is a kernel, not the whole system
> is called Linux or FreeBSD and both kernels are available in different
> versions.

You're right about Linux (being only a kernel). Not so for FreeBSD. FreeBSD
is the name of the OS,, kernel plus userland. You can compare it to debian,
another (linux based) OS.

___
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: linux program with kernel module

2013-03-15 Thread Ralf Mardorf
On Fri, 2013-03-15 at 15:03 +, Ruben de Groot wrote:
> On Thu, Mar 14, 2013 at 10:42:41PM +0100, Ralf Mardorf typed:
> > On Thu, 2013-03-14 at 21:43 +0100, Istvan Gabor wrote:
> > > Can it run linux programs that have their own (linux) kernel module?
> > > If yes, how can I install such program, and how can I load the kernel 
> > > module?
> > > 
> > > (If I know correctly nvidia drivers have their own kernel modules, and 
> > > FreeBSD can
> > > run linux nvidia drivers).
> > 
> > Yesno.
> > 
> > You need to compile kernel modules to fit to the version of FreeBSD or
> > Linux.
> > 
> > I also call user space "FreeBSD" and "Linux", but it's _not_ correct to
> > do it. FreeBSD is a kernel and Linux is a kernel, not the whole system
> > is called Linux or FreeBSD and both kernels are available in different
> > versions.
> 
> You're right about Linux (being only a kernel). Not so for FreeBSD. FreeBSD
> is the name of the OS,, kernel plus userland. You can compare it to debian,
> another (linux based) OS.

Ok, thanks :).

However, I also should be more precise about compiling modules.
It might be that somebody did build a package, that does provide a
kernel module for a special kernel version.

I don't have experiences with FreeBSD and for FreeBSD I anyway build
from the ports tree, so I have no idea about packages for FreeBSD, but I
suspect that it's as it is for most Linux distros.

Sometimes packages do provide modules for the current default kernel. So
on major Linux distros you usually can install VBox from a package and
it will come with the kernel modules for the packaged default kernel of
the distro.

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


Is the Intel X520-SR2 (82599ES) supported by the ixbe driver?

2013-03-15 Thread Dennis Glatting


I have a new Intel X520-SR2 that I plopped into my Supermicro H8QGL-6F 
with the hope I could connect 10GbE to a Cisco 3560. The links come but 
but there is much wierdness. Looking through the driver I see the 82599EB 
is supported but no mention of the ES.


Should this work?

I have:

Keystone# uname -a
FreeBSD Keystone 9.1-STABLE FreeBSD 9.1-STABLE #0 r248293: Thu Mar 14 
19:31:29 PDT 2013 root@Keystone:/usr/obj/disk-3/src/sys/SECRACK  amd64



Keystone# dmesg | egrep 'ix[01]'
ix0: STABLE/9> port 0x8400-0x841f mem 
0xdce8-0xdcef,0xdce7c000-0xdce7 irq 32 at device 0.0 on pci3

ix0: Using MSIX interrupts with 9 vectors
ix0: Ethernet address: 90:e2:ba:2f:5f:9c
ix0: PCI Express Bus: Speed 5.0Gb/s Width x8
ix1: STABLE/9> port 0x8800-0x881f mem 
0xdcf8-0xdcff,0xdcf7c000-0xdcf7 irq 33 at device 0.1 on pci3

ix1: Using MSIX interrupts with 9 vectors
ix1: Ethernet address: 90:e2:ba:2f:5f:9d
ix1: PCI Express Bus: Speed 5.0Gb/s Width x8
ix0: link state changed to UP


Keystone# ifconfig ix0
ix0: flags=8843 metric 0 mtu 8192

options=407bb
ether 90:e2:ba:2f:5f:9c
nd6 options=29
media: Ethernet autoselect (10Gbase-SR )
status: active


Here's an interesting point. If I set the address for the interface, it is 
accepted but an ifconfig of the interface is shown above. Specifically, I 
previously executed this command:


Keystone# ifconfig ix0 inet 192.168.3.2/24 mtu 8192 up


Executing that command a second time yields:

Keystone# ifconfig ix0 inet 192.168.3.2/24 mtu 8192 up
ifconfig: ioctl (SIOCAIFADDR): File exists


A truss of that command yields more interesting things, specifically:

kldload("if_ix") ERR#2 'No such file or 
directory'


There is no driver named if_ix. It is also weird that the interface is 
named ix0 rather than ixgbe0.



Also, an arp shows:

Keystone# arp -an
? (192.168.17.1) at 2c:21:72:cb:f5:0c on vlan17 expires in 166 seconds 
[vlan]
? (192.168.13.33) at 78:e7:d1:ea:7a:4e on vlan13 expires in 760 seconds 
[vlan]
? (192.168.13.1) at 2c:21:72:cb:f5:0c on vlan13 expires in 97 seconds 
[vlan]
? (192.168.13.3) at 00:21:d8:0b:57:98 on vlan13 expires in 232 seconds 
[vlan]
? (192.168.7.6) at dc:7b:94:9a:52:41 on vlan7 expires in 268 seconds 
[vlan]
? (192.168.7.4) at e0:2f:6d:30:39:41 on vlan7 expires in 290 seconds 
[vlan]
? (192.168.7.3) at 00:21:d8:0b:57:98 on vlan7 expires in 210 seconds 
[vlan]
? (192.168.7.66) at 28:92:4a:2e:e0:a0 on vlan7 expires in 1199 seconds 
[vlan]
? (192.168.7.33) at 78:e7:d1:ea:7a:4e on vlan7 expires in 143 seconds 
[vlan]
? (192.168.7.65) at 28:92:4a:2e:eb:22 on vlan7 expires in 615 seconds 
[vlan]

? (192.168.3.2) at 90:e2:ba:2f:5f:9c on ix0 permanent [ethernet]


So clearly there is a MAC/IP association however I cannot ping the IP:


Keystone# ping 192.168.3.2
PING 192.168.3.2 (192.168.3.2): 56 data bytes
(nothing)


Can someone clue me in?




___
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: Is the Intel X520-SR2 (82599ES) supported by the ixbe driver?

2013-03-15 Thread Teske, Devin
I suspect you're running out of mbuf clusters.

Try:

echo kern.ipc.nmbclusters=524288 >> /etc/sysctl.conf
echo kern.ipc.nmbjumbop=524288 >> /etc/sysctl.conf
reboot

-- 
Devin


From: owner-freebsd-questi...@freebsd.org [owner-freebsd-questi...@freebsd.org] 
on behalf of Dennis Glatting [d...@pki2.com]
Sent: Friday, March 15, 2013 10:17 AM
To: freebsd-questions@freebsd.org
Subject: Is the Intel X520-SR2 (82599ES) supported by the ixbe driver?

I have a new Intel X520-SR2 that I plopped into my Supermicro H8QGL-6F
with the hope I could connect 10GbE to a Cisco 3560. The links come but
but there is much wierdness. Looking through the driver I see the 82599EB
is supported but no mention of the ES.

Should this work?

I have:

Keystone# uname -a
FreeBSD Keystone 9.1-STABLE FreeBSD 9.1-STABLE #0 r248293: Thu Mar 14
19:31:29 PDT 2013 root@Keystone:/usr/obj/disk-3/src/sys/SECRACK  amd64


Keystone# dmesg | egrep 'ix[01]'
ix0:  port 0x8400-0x841f mem
0xdce8-0xdcef,0xdce7c000-0xdce7 irq 32 at device 0.0 on pci3
ix0: Using MSIX interrupts with 9 vectors
ix0: Ethernet address: 90:e2:ba:2f:5f:9c
ix0: PCI Express Bus: Speed 5.0Gb/s Width x8
ix1:  port 0x8800-0x881f mem
0xdcf8-0xdcff,0xdcf7c000-0xdcf7 irq 33 at device 0.1 on pci3
ix1: Using MSIX interrupts with 9 vectors
ix1: Ethernet address: 90:e2:ba:2f:5f:9d
ix1: PCI Express Bus: Speed 5.0Gb/s Width x8
ix0: link state changed to UP


Keystone# ifconfig ix0
ix0: flags=8843 metric 0 mtu 8192

options=407bb
 ether 90:e2:ba:2f:5f:9c
 nd6 options=29
 media: Ethernet autoselect (10Gbase-SR )
 status: active


Here's an interesting point. If I set the address for the interface, it is
accepted but an ifconfig of the interface is shown above. Specifically, I
previously executed this command:

Keystone# ifconfig ix0 inet 192.168.3.2/24 mtu 8192 up


Executing that command a second time yields:

Keystone# ifconfig ix0 inet 192.168.3.2/24 mtu 8192 up
ifconfig: ioctl (SIOCAIFADDR): File exists


A truss of that command yields more interesting things, specifically:

kldload("if_ix") ERR#2 'No such file or 
directory'


There is no driver named if_ix. It is also weird that the interface is
named ix0 rather than ixgbe0.


Also, an arp shows:

Keystone# arp -an
? (192.168.17.1) at 2c:21:72:cb:f5:0c on vlan17 expires in 166 seconds
[vlan]
? (192.168.13.33) at 78:e7:d1:ea:7a:4e on vlan13 expires in 760 seconds
[vlan]
? (192.168.13.1) at 2c:21:72:cb:f5:0c on vlan13 expires in 97 seconds
[vlan]
? (192.168.13.3) at 00:21:d8:0b:57:98 on vlan13 expires in 232 seconds
[vlan]
? (192.168.7.6) at dc:7b:94:9a:52:41 on vlan7 expires in 268 seconds
[vlan]
? (192.168.7.4) at e0:2f:6d:30:39:41 on vlan7 expires in 290 seconds
[vlan]
? (192.168.7.3) at 00:21:d8:0b:57:98 on vlan7 expires in 210 seconds
[vlan]
? (192.168.7.66) at 28:92:4a:2e:e0:a0 on vlan7 expires in 1199 seconds
[vlan]
? (192.168.7.33) at 78:e7:d1:ea:7a:4e on vlan7 expires in 143 seconds
[vlan]
? (192.168.7.65) at 28:92:4a:2e:eb:22 on vlan7 expires in 615 seconds
[vlan]
? (192.168.3.2) at 90:e2:ba:2f:5f:9c on ix0 permanent [ethernet]


So clearly there is a MAC/IP association however I cannot ping the IP:


Keystone# ping 192.168.3.2
PING 192.168.3.2 (192.168.3.2): 56 data bytes
(nothing)


Can someone clue me in?




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

_
The information contained in this message is proprietary and/or confidential. 
If you are not the intended recipient, please: (i) delete the message and all 
copies; (ii) do not disclose, distribute or use the message in any manner; and 
(iii) notify the sender immediately. In addition, please be aware that any 
message addressed to our domain is subject to archiving and review by persons 
other than the intended recipient. Thank you.
___
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: No sound with Thinkpad X60

2013-03-15 Thread Michael Ross
On Thu, 14 Mar 2013 23:59:09 +0100, Peter Harrison  
 wrote:



Hi list,

I've a problem with sound on a Thinkpad X60, which has an Intel HDA chip.

This is what I see in dmesg:

hdac0:  mem 0xee24-0xee243fff irq 17 at  
device 27.0 on pci0

hdacc0:  at cad 0 on hdac0
hdaa0:  at nid 1 on hdacc0
pcm0:  at nid 5 and 25,8 on hdaa0
hdacc1:  at cad 1 on hdac0
unknown:  at nid 2 on  
hdacc1 (no driver attached)


and from sndstat:

FreeBSD Audio Driver (newpcm: 32bit 2009061500/i386)
Installed devices:
pcm0:  (play/rec) default

and from mixer:

Mixer vol  is currently set to 100:100
Mixer pcm  is currently set to 100:100
Mixer speaker  is currently set to 100:100
Mixer cd   is currently set to   1:1
Mixer rec  is currently set to   1:1
Mixer igainis currently set to  42:42
Mixer ogainis currently set to 100:100
Mixer monitor  is currently set to  67:67
Recording source: cd

But I have no sound. This is using Gnome 2.32 on 9.1-R. I did initially  
accidentally install Pulseaudio, but have subsequently deleted it and  
reinstalled everything that depended on it without the Pulseaudio  
dependency.


Any thoughts on what I'm doing wrong?

Thanks in advance.


Possibly not helping a lot:

I have a T510 thinkpad with Intel HDA audio, running Windows 7.
I need to have the audio driver *and* the modem driver installed for any  
sound to work.

So possibly the modem part has to be initialised or something.
You have "no driver attached" on your modem, so maybe that's worth looking  
at.


You could also try if sound works from a terminal without running Gnome at  
all,

just to be sure it's not some Gnome configuration thing.

Regards,

Michael
___
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: Can't fetch boost-jam

2013-03-15 Thread Gary Dunn
Open Slate  gmail.com> writes:

> 
> For several days I have not been able to update my ports due to fetch
> errors. Right now the first port portupgrade wants to update is
> devel/boost-jam. 
[snip]
Still cannot build this port today. Same problem.


___
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: Is the Intel X520-SR2 (82599ES) supported by the ixbe driver?

2013-03-15 Thread Dennis Glatting



On Fri, 15 Mar 2013, Teske, Devin wrote:


I suspect you're running out of mbuf clusters.

Try:

echo kern.ipc.nmbclusters=524288 >> /etc/sysctl.conf
echo kern.ipc.nmbjumbop=524288 >> /etc/sysctl.conf
reboot


These were my settings:

Keystone> sysctl -a kern.ipc.nmbclusters
kern.ipc.nmbclusters: 1048576

Keystone> sysctl -a kern.ipc.nmbjumbop
kern.ipc.nmbjumbop: 524288




--
Devin


From: owner-freebsd-questi...@freebsd.org [owner-freebsd-questi...@freebsd.org] 
on behalf of Dennis Glatting [d...@pki2.com]
Sent: Friday, March 15, 2013 10:17 AM
To: freebsd-questions@freebsd.org
Subject: Is the Intel X520-SR2 (82599ES) supported by the ixbe driver?

I have a new Intel X520-SR2 that I plopped into my Supermicro H8QGL-6F
with the hope I could connect 10GbE to a Cisco 3560. The links come but
but there is much wierdness. Looking through the driver I see the 82599EB
is supported but no mention of the ES.

Should this work?

I have:

Keystone# uname -a
FreeBSD Keystone 9.1-STABLE FreeBSD 9.1-STABLE #0 r248293: Thu Mar 14
19:31:29 PDT 2013 root@Keystone:/usr/obj/disk-3/src/sys/SECRACK  amd64


Keystone# dmesg | egrep 'ix[01]'
ix0:  port 0x8400-0x841f mem
0xdce8-0xdcef,0xdce7c000-0xdce7 irq 32 at device 0.0 on pci3
ix0: Using MSIX interrupts with 9 vectors
ix0: Ethernet address: 90:e2:ba:2f:5f:9c
ix0: PCI Express Bus: Speed 5.0Gb/s Width x8
ix1:  port 0x8800-0x881f mem
0xdcf8-0xdcff,0xdcf7c000-0xdcf7 irq 33 at device 0.1 on pci3
ix1: Using MSIX interrupts with 9 vectors
ix1: Ethernet address: 90:e2:ba:2f:5f:9d
ix1: PCI Express Bus: Speed 5.0Gb/s Width x8
ix0: link state changed to UP


Keystone# ifconfig ix0
ix0: flags=8843 metric 0 mtu 8192

options=407bb
ether 90:e2:ba:2f:5f:9c
nd6 options=29
media: Ethernet autoselect (10Gbase-SR )
status: active


Here's an interesting point. If I set the address for the interface, it is
accepted but an ifconfig of the interface is shown above. Specifically, I
previously executed this command:

Keystone# ifconfig ix0 inet 192.168.3.2/24 mtu 8192 up


Executing that command a second time yields:

Keystone# ifconfig ix0 inet 192.168.3.2/24 mtu 8192 up
ifconfig: ioctl (SIOCAIFADDR): File exists


A truss of that command yields more interesting things, specifically:

kldload("if_ix") ERR#2 'No such file or 
directory'


There is no driver named if_ix. It is also weird that the interface is
named ix0 rather than ixgbe0.


Also, an arp shows:

Keystone# arp -an
? (192.168.17.1) at 2c:21:72:cb:f5:0c on vlan17 expires in 166 seconds
[vlan]
? (192.168.13.33) at 78:e7:d1:ea:7a:4e on vlan13 expires in 760 seconds
[vlan]
? (192.168.13.1) at 2c:21:72:cb:f5:0c on vlan13 expires in 97 seconds
[vlan]
? (192.168.13.3) at 00:21:d8:0b:57:98 on vlan13 expires in 232 seconds
[vlan]
? (192.168.7.6) at dc:7b:94:9a:52:41 on vlan7 expires in 268 seconds
[vlan]
? (192.168.7.4) at e0:2f:6d:30:39:41 on vlan7 expires in 290 seconds
[vlan]
? (192.168.7.3) at 00:21:d8:0b:57:98 on vlan7 expires in 210 seconds
[vlan]
? (192.168.7.66) at 28:92:4a:2e:e0:a0 on vlan7 expires in 1199 seconds
[vlan]
? (192.168.7.33) at 78:e7:d1:ea:7a:4e on vlan7 expires in 143 seconds
[vlan]
? (192.168.7.65) at 28:92:4a:2e:eb:22 on vlan7 expires in 615 seconds
[vlan]
? (192.168.3.2) at 90:e2:ba:2f:5f:9c on ix0 permanent [ethernet]


So clearly there is a MAC/IP association however I cannot ping the IP:


Keystone# ping 192.168.3.2
PING 192.168.3.2 (192.168.3.2): 56 data bytes
(nothing)


Can someone clue me in?




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

_
The information contained in this message is proprietary and/or confidential. 
If you are not the intended recipient, please: (i) delete the message and all 
copies; (ii) do not disclose, distribute or use the message in any manner; and 
(iii) notify the sender immediately. In addition, please be aware that any 
message addressed to our domain is subject to archiving and review by persons 
other than the intended recipient. Thank you.
___
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: configure recursively and build question

2013-03-15 Thread Lowell Gilbert
Istvan Gabor  writes:

> 2013. március 12. 21:17 napon Lowell Gilbert 
>  írta:
>> 
>> Second, config-recursive only does the configuration of the port
>> options.
>
> Then I misunderstood the handbook, chich says:
>
> "To avoid this when there are many dependencies, first run make 
> config-recursive
> to do the configuration in one batch."
>
> I understood this as the configuration is done on all the dependencies as 
> well.

You understood the handbook correctly. My comment was poorly worded and
unnecessary (I was actually making the same point as in #4.

The word "options" can mean slightly different things. The port's
framework may define options, which the port will require you to choose
among before building its software. The program being built may
*additionally* require user input for building, and the port framework
(in particular, "make config") can't store those choices. This is
unusual, but some common ports do it (for example, ghostscript is one).

> The handbook also writes:
>
> "Tip: When using config-recursive, the list of ports to configure are 
> gathered by the
> all-depends-list make(1) target. It is often recommended to run make 
> config-recursive
> until all dependent ports options have been defined, and ports options 
> dialog(1) screens
> no longer appear, to be certain all ports options have been configured as 
> intended."
>
> Does this mean if I run config-recursive several times in a raw, all the 
> dependencies will
> be configured?

This is a slightly different issue. Changing a port's options may change
its dependencies, so another round of config-recursive  might be needed
to config the new dependencies.

> ...
>
>> Fourth (and, you'll be glad to hear, finally) some ports are interactive
>> for reasons beyond options. See the manual for ports(7), noting the
>> environment variables INTERACTIVE and BATCH.
>
> I will look at this.
>
>> > Second, after I've done a configure-recursive, how can I start it over 
>> > from scratch in case
>> > I want to change some config option? If I reissue make configure-recursive,
>> > I get only no configuration needed messages.
>> 
>> If you really want to start from scratch, you can use
>> "rmconfig-recursive" on the dependent port.
>
> Yes I meant only the given port and its dependencies, not the all ports.
___
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"


Can an ISO file be mounted from /etc/fstab at boot?

2013-03-15 Thread Oscar Hodgson
I'm pretty sure the answer is "no, just write a local rc script to do
that", but thought I'd check.

Can't see any hint of that capability in the handbook or fstab(5).

Really just looking for a single point of management for file systems 

Thanks in advance.

Oscar
___
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: Can't fetch boost-jam

2013-03-15 Thread Lowell Gilbert
Open Slate  writes:

> For several days I have not been able to update my ports due to fetch
> errors. Right now the first port portupgrade wants to update is
> devel/boost-jam. Here is the tail of the output of make issued in
> /usr/ports/devel/boost-jam:

You seem to have overridden a master site variable; downloading it from
sourceforge (as the port does by default) works fine.
___
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: Can an ISO file be mounted from /etc/fstab at boot?

2013-03-15 Thread Lowell Gilbert
Oscar Hodgson  writes:

> I'm pretty sure the answer is "no, just write a local rc script to do
> that", but thought I'd check.
>
> Can't see any hint of that capability in the handbook or fstab(5).
>
> Really just looking for a single point of management for file systems 

I don't see a way offhand. You need to do the mdconfig before you can
mount, and I don't think that can be done inside of fstab. 

I think that adding such a capability to mount(8) as a program option
would be a fairly minor hack.
___
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: Is the Intel X520-SR2 (82599ES) supported by the ixbe driver?

2013-03-15 Thread Dennis Glatting


Sorry for the noise. The problem was old sysctls.


On Fri, 15 Mar 2013, Dennis Glatting wrote:




On Fri, 15 Mar 2013, Teske, Devin wrote:


I suspect you're running out of mbuf clusters.

Try:

echo kern.ipc.nmbclusters=524288 >> /etc/sysctl.conf
echo kern.ipc.nmbjumbop=524288 >> /etc/sysctl.conf
reboot


These were my settings:

Keystone> sysctl -a kern.ipc.nmbclusters
kern.ipc.nmbclusters: 1048576

Keystone> sysctl -a kern.ipc.nmbjumbop
kern.ipc.nmbjumbop: 524288




--
Devin


From: owner-freebsd-questi...@freebsd.org 
[owner-freebsd-questi...@freebsd.org] on behalf of Dennis Glatting 
[d...@pki2.com]

Sent: Friday, March 15, 2013 10:17 AM
To: freebsd-questions@freebsd.org
Subject: Is the Intel X520-SR2 (82599ES) supported by the ixbe driver?

I have a new Intel X520-SR2 that I plopped into my Supermicro H8QGL-6F
with the hope I could connect 10GbE to a Cisco 3560. The links come but
but there is much wierdness. Looking through the driver I see the 82599EB
is supported but no mention of the ES.

Should this work?

I have:

Keystone# uname -a
FreeBSD Keystone 9.1-STABLE FreeBSD 9.1-STABLE #0 r248293: Thu Mar 14
19:31:29 PDT 2013 root@Keystone:/usr/obj/disk-3/src/sys/SECRACK  amd64


Keystone# dmesg | egrep 'ix[01]'
ix0:  port 0x8400-0x841f mem
0xdce8-0xdcef,0xdce7c000-0xdce7 irq 32 at device 0.0 on pci3
ix0: Using MSIX interrupts with 9 vectors
ix0: Ethernet address: 90:e2:ba:2f:5f:9c
ix0: PCI Express Bus: Speed 5.0Gb/s Width x8
ix1:  port 0x8800-0x881f mem
0xdcf8-0xdcff,0xdcf7c000-0xdcf7 irq 33 at device 0.1 on pci3
ix1: Using MSIX interrupts with 9 vectors
ix1: Ethernet address: 90:e2:ba:2f:5f:9d
ix1: PCI Express Bus: Speed 5.0Gb/s Width x8
ix0: link state changed to UP


Keystone# ifconfig ix0
ix0: flags=8843 metric 0 mtu 8192

options=407bb
ether 90:e2:ba:2f:5f:9c
nd6 options=29
media: Ethernet autoselect (10Gbase-SR )
status: active


Here's an interesting point. If I set the address for the interface, it is
accepted but an ifconfig of the interface is shown above. Specifically, I
previously executed this command:

Keystone# ifconfig ix0 inet 192.168.3.2/24 mtu 8192 up


Executing that command a second time yields:

Keystone# ifconfig ix0 inet 192.168.3.2/24 mtu 8192 up
ifconfig: ioctl (SIOCAIFADDR): File exists


A truss of that command yields more interesting things, specifically:

kldload("if_ix") ERR#2 'No such file or 
directory'



There is no driver named if_ix. It is also weird that the interface is
named ix0 rather than ixgbe0.


Also, an arp shows:

Keystone# arp -an
? (192.168.17.1) at 2c:21:72:cb:f5:0c on vlan17 expires in 166 seconds
[vlan]
? (192.168.13.33) at 78:e7:d1:ea:7a:4e on vlan13 expires in 760 seconds
[vlan]
? (192.168.13.1) at 2c:21:72:cb:f5:0c on vlan13 expires in 97 seconds
[vlan]
? (192.168.13.3) at 00:21:d8:0b:57:98 on vlan13 expires in 232 seconds
[vlan]
? (192.168.7.6) at dc:7b:94:9a:52:41 on vlan7 expires in 268 seconds
[vlan]
? (192.168.7.4) at e0:2f:6d:30:39:41 on vlan7 expires in 290 seconds
[vlan]
? (192.168.7.3) at 00:21:d8:0b:57:98 on vlan7 expires in 210 seconds
[vlan]
? (192.168.7.66) at 28:92:4a:2e:e0:a0 on vlan7 expires in 1199 seconds
[vlan]
? (192.168.7.33) at 78:e7:d1:ea:7a:4e on vlan7 expires in 143 seconds
[vlan]
? (192.168.7.65) at 28:92:4a:2e:eb:22 on vlan7 expires in 615 seconds
[vlan]
? (192.168.3.2) at 90:e2:ba:2f:5f:9c on ix0 permanent [ethernet]


So clearly there is a MAC/IP association however I cannot ping the IP:


Keystone# ping 192.168.3.2
PING 192.168.3.2 (192.168.3.2): 56 data bytes
(nothing)


Can someone clue me in?




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


_
The information contained in this message is proprietary and/or 
confidential. If you are not the intended recipient, please: (i) delete the 
message and all copies; (ii) do not disclose, distribute or use the message 
in any manner; and (iii) notify the sender immediately. In addition, please 
be aware that any message addressed to our domain is subject to archiving 
and review by persons other than the intended recipient. Thank you.

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


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubsc

Re: No sound with Thinkpad X60

2013-03-15 Thread Peter Harrison
Friday, 15 March 2013 at 18:48:24 +0100, Michael Ross said:
> On Thu, 14 Mar 2013 23:59:09 +0100, Peter Harrison  
>  wrote:
> 
> > Hi list,
> >
> > I've a problem with sound on a Thinkpad X60, which has an Intel HDA chip.
> >
> > This is what I see in dmesg:
> >
> > hdac0:  mem 0xee24-0xee243fff irq 17 at  
> > device 27.0 on pci0
> > hdacc0:  at cad 0 on hdac0
> > hdaa0:  at nid 1 on hdacc0
> > pcm0:  at nid 5 and 25,8 on hdaa0
> > hdacc1:  at cad 1 on hdac0
> > unknown:  at nid 2 on  
> > hdacc1 (no driver attached)
> >
> > and from sndstat:
> >
> > FreeBSD Audio Driver (newpcm: 32bit 2009061500/i386)
> > Installed devices:
> > pcm0:  (play/rec) default
> >
> > and from mixer:
> >
> > Mixer vol  is currently set to 100:100
> > Mixer pcm  is currently set to 100:100
> > Mixer speaker  is currently set to 100:100
> > Mixer cd   is currently set to   1:1
> > Mixer rec  is currently set to   1:1
> > Mixer igainis currently set to  42:42
> > Mixer ogainis currently set to 100:100
> > Mixer monitor  is currently set to  67:67
> > Recording source: cd
> >
> > But I have no sound. This is using Gnome 2.32 on 9.1-R. I did initially  
> > accidentally install Pulseaudio, but have subsequently deleted it and  
> > reinstalled everything that depended on it without the Pulseaudio  
> > dependency.
> >
> > Any thoughts on what I'm doing wrong?
> >
> > Thanks in advance.
> 
> Possibly not helping a lot:
> 
> I have a T510 thinkpad with Intel HDA audio, running Windows 7.
> I need to have the audio driver *and* the modem driver installed for any  
> sound to work.
> So possibly the modem part has to be initialised or something.
> You have "no driver attached" on your modem, so maybe that's worth looking  
> at.
> 
> You could also try if sound works from a terminal without running Gnome at  
> all,
> just to be sure it's not some Gnome configuration thing.
> 
> Regards,
> 
> Michael

Thanks Michael.

Tried turning gnome off. Still no sound from the console. Is there a FreeBSD 
kernel module for the modem?

Thanks again,



Peter Harrison.

___
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: No sound with Thinkpad X60

2013-03-15 Thread Michael Ross
On Sat, 16 Mar 2013 00:28:27 +0100, Peter Harrison  
 wrote:



Friday, 15 March 2013 at 18:48:24 +0100, Michael Ross said:

On Thu, 14 Mar 2013 23:59:09 +0100, Peter Harrison
 wrote:

> Hi list,
>
> I've a problem with sound on a Thinkpad X60, which has an Intel HDA  
chip.

>
> This is what I see in dmesg:
>
> hdac0:  mem 0xee24-0xee243fff irq 17  
at

> device 27.0 on pci0
> hdacc0:  at cad 0 on hdac0
> hdaa0:  at nid 1 on  
hdacc0

> pcm0:  at nid 5 and 25,8 on hdaa0
> hdacc1:  at cad 1 on hdac0
> unknown:  at nid 2  
on

> hdacc1 (no driver attached)
>
> and from sndstat:
>
> FreeBSD Audio Driver (newpcm: 32bit 2009061500/i386)
> Installed devices:
> pcm0:  (play/rec) default
>
> and from mixer:
>
> Mixer vol  is currently set to 100:100
> Mixer pcm  is currently set to 100:100
> Mixer speaker  is currently set to 100:100
> Mixer cd   is currently set to   1:1
> Mixer rec  is currently set to   1:1
> Mixer igainis currently set to  42:42
> Mixer ogainis currently set to 100:100
> Mixer monitor  is currently set to  67:67
> Recording source: cd
>
> But I have no sound. This is using Gnome 2.32 on 9.1-R. I did  
initially

> accidentally install Pulseaudio, but have subsequently deleted it and
> reinstalled everything that depended on it without the Pulseaudio
> dependency.
>
> Any thoughts on what I'm doing wrong?
>
> Thanks in advance.

Possibly not helping a lot:

I have a T510 thinkpad with Intel HDA audio, running Windows 7.
I need to have the audio driver *and* the modem driver installed for any
sound to work.
So possibly the modem part has to be initialised or something.
You have "no driver attached" on your modem, so maybe that's worth  
looking

at.

You could also try if sound works from a terminal without running Gnome  
at

all,
just to be sure it's not some Gnome configuration thing.

Regards,

Michael


Thanks Michael.

Tried turning gnome off. Still no sound from the console. Is there a  
FreeBSD kernel module for the modem?




Don't know.
But stepping back, do you have snd_hda loaded?
( Silly me, should have been the first question. )

Found this:
http://www.bmichelsen.no/blog/2012/01/28/configuring-freebsd-for-x60s/

Regards,

Michael
___
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: Can't fetch boost-jam

2013-03-15 Thread Open Slate
Apparently my employer blocks sourceforge. If the FreeBSD site would
upgrade their distfiles this port, and I suspect a few more, would update
just fine. I may have to give up running FreeBSD at work.



On Fri, Mar 15, 2013 at 9:27 AM, Lowell Gilbert <
freebsd-questions-lo...@be-well.ilk.org> wrote:

> Open Slate  writes:
>
> > For several days I have not been able to update my ports due to fetch
> > errors. Right now the first port portupgrade wants to update is
> > devel/boost-jam. Here is the tail of the output of make issued in
> > /usr/ports/devel/boost-jam:
>
> You seem to have overridden a master site variable; downloading it from
> sourceforge (as the port does by default) works fine.
>



-- 
Gary Dunn
Open Slate Project
http://openslate.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"


Weird NFS Performance Problem

2013-03-15 Thread Tim Daneliuk

I have a FreeBSD 9.1-STABLE exhibiting weird NFS performance issues
and I'd appreciate any suggestions.

I have several different directories exported from the same filesystem.
The machine that mounts them (a Linux Mint 12 desktop) writes
nice and fast to one of them, but writes to the other one
are dreadfully slow.  Both are mounted on the LM machine using
'rw,soft,intr' in that machine's fstab file.

Any ideas on what might be the culprit here?


--

Tim Daneliuk tun...@tundraware.com
PGP Key: http://www.tundraware.com/PGP/

___
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: Weird NFS Performance Problem

2013-03-15 Thread Mehmet Erol Sanliturk
On Fri, Mar 15, 2013 at 5:09 PM, Tim Daneliuk  wrote:

> I have a FreeBSD 9.1-STABLE exhibiting weird NFS performance issues
> and I'd appreciate any suggestions.
>
> I have several different directories exported from the same filesystem.
> The machine that mounts them (a Linux Mint 12 desktop) writes
> nice and fast to one of them, but writes to the other one
> are dreadfully slow.  Both are mounted on the LM machine using
> 'rw,soft,intr' in that machine's fstab file.
>
> Any ideas on what might be the culprit here?
>
>
> --
> --**--**
> 
> Tim Daneliuk tun...@tundraware.com
> PGP Key: http://www.tundraware.com/PGP/
>


Is the slow directory a LINK ?
If it is a LINK , then , try with the real directory name .


Thank you very much .

Mehmet Erol Sanliturk
___
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 9.1 without re-partitioning hard drive

2013-03-15 Thread leeoliveshackelford
Good evening, Free BSD enthusiasts.  Thank you to each of the several people 
who have responded to my previous messages.  I have made significant progress, 
but am now flummoxed at the installation of the boot loader.  The handbook says 
to run this command, "boot0cfg -B ad0".  When I run this command, I get the 
following error message:  "Unable to get providername for ad0".  What is a 
provider name? How do I determine the provider name for ad0?  How do I 
communicate that information to boot0cfg?  I know that this problem has 
something to do with the "geom" command, but the "man geom" goes on for many 
pages.  While I think the answer may be in there somewhere, I could not find 
it.  Any and all comments will be appreciated.  Sincerely, Newby Lee

___
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 9.1 without re-partitioning hard drive

2013-03-15 Thread Erich Dollansky
Hi,

On Fri, 15 Mar 2013 20:11:24 -0700 (PDT)
 wrote:

> Good evening, Free BSD enthusiasts.  Thank you to each of the several

good morning,


> people who have responded to my previous messages.  I have made
> significant progress, but am now flummoxed at the installation of the

this is good to hear.

> boot loader.  The handbook says to run this command, "boot0cfg -B
> ad0".  When I run this command, I get the following error message:
> "Unable to get providername for ad0".  What is a provider name? How
> do I determine the provider name for ad0?  How do I communicate that
> information to boot0cfg?  I know that this problem has something to
> do with the "geom" command, but the "man geom" goes on for many
> pages.  While I think the answer may be in there somewhere, I could
> not find it.  Any and all comments will be appreciated.  Sincerely,
> Newby Lee

ad0? This sounds like that it would overwrite the loader from your
Windows installation.

Did you read man gpart?

gpart should be able to show you the current layout of the disk. It is
also able to install the boot code you need.

If I remember, you want to have Windows and FreeBSD on the same disk.
So, you should have some kind of boot manager which will give you the
choice between them. Of course, you can use whatever boot manager you
want. The one which comes with FreeBSD is a bit simple but does its job.

Erich
___
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"