Failed to allocate receive buffer problem

2013-06-12 Thread Alex Liptsin
Hi.

I have a problem that when running a ping (or any other traffic) over IPoIB 
port,
Traffic fails after some time.
At destination server DMESG I see that errors:

Jun 11 14:42:11 h-qa-033 kernel: ib1: failed to allocate receive buffer 253
Jun 11 14:42:12 h-qa-033 kernel: ib1: failed to allocate receive buffer 254
Jun 11 14:42:13 h-qa-033 kernel: ib1: failed to allocate receive buffer 255
Jun 11 14:42:14 h-qa-033 kernel: ib1: failed to allocate receive buffer 0
Jun 11 14:42:15 h-qa-033 kernel: ib1: failed to allocate receive buffer 1
Jun 11 14:42:16 h-qa-033 kernel: ib1: failed to allocate receive buffer 2
Jun 11 14:42:17 h-qa-033 kernel: ib1: failed to allocate receive buffer 3
Jun 11 14:42:18 h-qa-033 kernel: ib1: failed to allocate receive buffer 4
Jun 11 14:42:19 h-qa-033 kernel: ib1: failed to allocate receive buffer 5
Jun 11 14:42:20 h-qa-033 kernel: ib1: failed to allocate receive buffer 6
Jun 11 14:42:21 h-qa-033 kernel: ib1: failed to allocate receive buffer 7

I work with FreeBSD 9.1.

Is it a bug or some configuration issues?

Thanks.

Regards,
Alex Liptsin
Software Quality Assurance Engineer | Mellanox Technologies Ltd.
Office: +972 (74) 7236141
Mobile: +972(54) 7833986
Fax: +972(74) 7236161
Email: al...@mellanox.commailto:al...@mellanox.com
Mellanox, Tel-Hai Industrial Park. Building 7, M.P. Upper Galilee 12100 Israel

___
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: mini express cards supported by freebsd

2013-06-12 Thread Warren Block

On Fri, 7 Jun 2013, david coder wrote:


i need a mini express wifi card for a thinkpad laptop.  does anybody know of
one that is supported by freebsd?  the aironet card i have is too fat.


Thinkpads have a BIOS blacklist that only allows approved cards to be 
used.  The approved cards likely vary significantly depending on the 
Thinkpad model.  The Lenovo web site has information on which cards are 
available for each model.  Some people patch the BIOS to prevent the 
test and allow other cards.


As far as FreeBSD is concerned, I've had the best experience with 
Atheros cards.  There is a list of cards here:

https://wiki.freebsd.org/dev/ath_hal%284%29/HardwareSupport

There are two sizes for mini PCIE cards, and two or three antenna 
connectors, so it's important to match the existing card.

___
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


Which is the parser plugin for encoding trig?

2013-06-12 Thread Peter Ulrich Kruppa
Hi,

some ports on my 9.1-STABLE fail with this message:

Could not find parser plugin for encoding trig

I found some mails mentioning this problem in the archives and tried to
reinstall sysutils/raptor2 - as recommended - but the error remains the
same.

Any ideas?

Greetings

Peter
___
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 9.1 Carrier Detection

2013-06-12 Thread Rad Stor
Background:

I was having troubles with carrier detection for modems/null modem
connections under Solaris 8 (i.e. login session remains active after the
modem disconnects). I tried two different dumb modems (do not respond to AT
commands). They both output the appropriate voltage on the CD  line when a
carrier is detected/not detected (I have confirmed this using a volt meter
and applying the appropriate carrier tone via a function  generator). I
then decided to try a null modem connection  When accessing the serial
console on the Solaris 8 system using a null  modem cable, the login
session remains active when disconnecting the cable and plugging it back
in. To my understanding this should not happen, in the first case with the
modem, or with the null modem cable (as I disabled software carrier
detection).

I decided to test out carrier detection on FreeBSD 9.1 on a different
machine running within virtual box. I used a usb-serial dongle which shows
up as ttyu0 on the BSD machine. Carrier detection appears to work. When I
establish a null modem connection I receive a login prompt. If I login, and
then unplug and plug back the cable, I get the login prompt again and the
old session does not continue. This is the correct behaviour to my
understanding however I am curious of the way the getty process behaves,
esp. on bootup in FreeBSD.

Question:

The line in my /etc/ttys file is as follows:

ttyu0   /usr/libexec/getty std.300   dialup on

I then issued the command kill -HUP 1 and restarted the system with
*nothing* plugged into the serial port.

Reading the documentation it is my understanding that when the system
starts up and no carrier is detected, when issuing the ps -ax command, the
result I am supposed to see should be something as follows:

  114 ??  I  0:00.10 /usr/libexec/getty std.300 ttyu0

However I instead see a similar output to the above but the question marks
are replaced by letters. Per the documentation at :
ttp://www.freebsd.org/doc/en/books/handbook/dialup.html it indicates that
if something like this is displayed it means that getty has completed its
open on the communications port. This could indicate a problem with the
cabling or a misconfigured modem, because getty should not be able to open
the communications port until carrier detect has been asserted by the
modem.

I figured that since nothing is connected into the serial port, perhaps the
voltage levels may be floating, instead of being held at the negative
voltage which would indicate no carrier. I therefore applied a negative
voltage to the CD line and restarted the system. Upon restart I issuing the
ps -ax command and the result was as before, letters instead of the
question marks. I then manually applied a positive voltage to the CD line
and then a negative voltage again. I had to do it a couple times
however eventually it showed up with question marks. I then was able to
toggle back and forth, positive voltage resulted in letters, negative voltage
on CD line resulted in question marks (which is the correct behaviour to my
understanding).

Why is it that when a negative voltage is applied to the CD line, upon
system start-up  getty indicates via the ps -ax command that it has opened
the port? [i.e. letters appear instead of question marks] I would expect
that with a negative voltage applied to the CD line,
upon restart it would show up with ??

I need to toggle the voltage between negative to positive and then back to
negative (sometimes I need to do it a couple times) for it to eventually
show up with ?? and then it would toggle back and forth as I switch the
voltages thereafter.
___
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: 9.1-RELEASE slow boot

2013-06-12 Thread Fernando Apesteguía
On Wed, Jun 12, 2013 at 1:10 AM, Adam Vande More amvandem...@gmail.com wrote:
 On Tue, Jun 11, 2013 at 4:43 PM, Fernando Apesteguía
 fernando.apesteg...@gmail.com wrote:

 I recompiled the GENERIC kernel and changed SCSI_DELAY to 2000 instead
 the default 5000.
 Still no luck. It doesn't make any difference so I suppose something
 else changed.

 Any ideas?

 Thanks in advance.


 Try setting hw.usb.no_boot_wait=1

I set it up in loader.conf and had no luck. The same messages in
verbose mode are shown: it is probing the da[0-3] devices until it
seems to give up.


 --
 Adam Vande More
___
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: 9.1-RELEASE slow boot

2013-06-12 Thread Chris Whitehouse

On Fri, 7 Jun 2013 19:38:34 +0200, Fernando Apesteguía wrote:

Since I updated to 9.1-RELEASE my boot process seems to stall for a
while. Booting in verbose mode shows messages like these ones:

Opening device da0 -  6 (repeated like 30 times or so)
Opening device da1 -  6 (repeated like 30 times or so)
Opening device da2 -  6 (repeated like 30 times or so)
Opening device da3 -  6 (repeated like 30 times or so)

Those devices correspond to my internal SD card reader that doesn't
work on FreeBSD anyway. This seems some kind of probing right? I don't
want to wait for those devices. What can I do to speed up booting? I
didn't change my system settings either. Did anything related change
in the kernel about probing these type of devices?


Since you are not using the device could you not just disable it in the 
BIOS?


Chris
___
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: 9.1-RELEASE slow boot

2013-06-12 Thread Fernando Apesteguía
On Wed, Jun 12, 2013 at 9:56 PM, Chris Whitehouse cwhi...@onetel.comwrote:

 On Fri, 7 Jun 2013 19:38:34 +0200, Fernando Apesteguía wrote:

 Since I updated to 9.1-RELEASE my boot process seems to stall for a
 while. Booting in verbose mode shows messages like these ones:

 Opening device da0 -  6 (repeated like 30 times or so)
 Opening device da1 -  6 (repeated like 30 times or so)
 Opening device da2 -  6 (repeated like 30 times or so)
 Opening device da3 -  6 (repeated like 30 times or so)

 Those devices correspond to my internal SD card reader that doesn't
 work on FreeBSD anyway. This seems some kind of probing right? I don't
 want to wait for those devices. What can I do to speed up booting? I
 didn't change my system settings either. Did anything related change
 in the kernel about probing these type of devices?


 Since you are not using the device could you not just disable it in the
 BIOS?


Not that option in my PC (Compaq Presario SR5000).

Also, I would be missing the point... why so slow?



 Chris
 __**_
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/**mailman/listinfo/freebsd-**questionshttp://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-**
 unsubscr...@freebsd.org 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: which reader/tablet/whatever

2013-06-12 Thread ito
Hi,

Have you seen Project Gutenberg.  There are alot of books there that are
out of print and published in a variety of formats.  I have gotten stuff
onto a older kindle (black and white) with the cable that it comes with
(usb) plugged into the computer, in windows to kindle, dragging and
dropping to the drive.

Other than that I think its much easier (and transparent) in common
usage with wifi or cellular plan. Just navigate and select I would
guess.   

I looked around on the web and found some stuff that might be of
interest to you,

there was a thread ( it appears ) on this list last year about the
potential of using FreeBSD on tablets:

http://freebsd.1045724.n5.nabble.com/Vivaldi-Tablet-td5593818.html

Also there is a text to speech add-on for firefox.

https://addons.mozilla.org/en-us/firefox/addon/text-to-voice/

Anyway,

checked a bit thought it might help.


 a5'



  On Sun, 2013-06-09 at 20:13 -0700, Gary Kline wrote:
   guys,
 
   most of you know that im physically disabled.  anyway, the
   disability extends to my speech and is why the cellphone I 
   have is datged and never got upgraded.  
 
   Anyway ... whilei dont need a new cell, I =have= been eyeing 
   something that I can buy ebooks and have the player/reader/???
   have the text {ASCII =only=} read to me.  I would google up 
   something, but I dont even know what to search for.   can I put
   freebsd on these tablet devices?  if I bought, say, WAR AND PIECE
   or something out of copyright  { schopenhauer or marcus aurelius }
   that is in text, how do I get it to whatever tablet I have?  
   right now we've got cable and I use the telco for my server.
   I know that works, but it is only good for my computer network.
 
   but say I wanted to keep things simple and buy some kind of kindle
   or nook.  how does amazon.com or bn.com get their new ebooks onto
   my reader?
 
   thanks in advance,
 
   gary
 
 
 


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


How to force a static /etc/resolv.conf?

2013-06-12 Thread Darren Pilgrim
I'm running 9.1.  I run a local recursive resolver, so my 
/etc/resolv.conf needs to remain static.  I have DHCPv4, DHCPv6 and VPN 
clients running which all want to modify /etc/resolv.conf.  I have set 
in /etc/resolvconf.conf:


search_domains=example.com. example.net.
name_servers=2001:db8::53

But that only prepends that information.  Search domains and nameservers 
from other sources still get included.  I can set /etc/resolv.conf as 
immutable, but's a hack and it generates errors from resolveconf.


How do I tell resolvconf to always use a static configuration or, better 
yet, to not muck with /etc/resolv.conf at all?

___
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