uart device numbering

2012-11-29 Thread Norbert Koch
Hello,

I have an embedded system
which is equipped with uart
hardware controlled by the puc
driver. There are no standard
uarts at 0x3f8/0x2f8.

When I boot FreeBSD 8.2
I see my uarts as devices 0..3.
FreeBSD 9 shows them as 2..5.

The kernel configurations are
more or less identical and disabling
uarts 0 & 1 through /boot/device.hints
seems not to change anything.

Is this behaviour expected/wanted?

Thank you,
Norbert Koch
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"


Re: LK_SHARED/LK_DOWNGRADE adjustments to lock.9 manual page

2012-11-29 Thread Andriy Gapon
on 16/11/2012 16:42 Andriy Gapon said the following:
> on 15/11/2012 23:44 Attilio Rao said the following:
>> Do you think you can test this patch?:
>> http://www.freebsd.org/~attilio/lockmgr_forcerec.patch
> 
> I will use this patch in my tree, but I think that it is effectively already 
> quite
> well tested by using INVARIANTS+WITNESS.
> 

I've been using this patch in both debug and non-debug environments and I have 
not
run into any issues.  Please commit when you get a chance.
Thank you.

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


Re: postfix mail server infected ?

2012-11-29 Thread Ivan Voras
On 25/11/2012 19:27, trafdev wrote:
> Hi. Can you please point me to some discussions and solutions related to
> this problem? Thanks.

Since this is a developers-mostly mailing list, I think you could get a
better response at the freebsd-secur...@freebsd.org list.




signature.asc
Description: OpenPGP digital signature


Re: lib for working with graphs

2012-11-29 Thread Andriy Gapon
on 28/11/2012 17:02 Jonathan Anderson said the following:
> On Wednesday, 28 November 2012 at 14:37, Andriy Gapon wrote:
>> Graphs as in vertices, edges, etc :) And things like graph basics: BFS, DFS,
>> connected components, topological sort, etc
>> 
> 
> I've used igraph in my research: http://igraph.sourceforge.net/. It's very
> full-featured, with attention to efficiency and sensible choices for (at least
> some) algorithms, but it is GPL'ed rather than BSD-licenced.

Yeah, a bummer for me.

>> And, big oops sorry, forgot one very important detail - it has to be C.
> 
> 
> 
> Does it have to *be* C, or does it have to be *interoperable with* C? For
> instance, igraph has a core C library to do the heavy lifting, but I'd never
> want to use it directly when exploring data sets because the Python wrapper 
> API
> is so very convenient (and I can pop the resulting data into matplotlib).

It has to be C because I need to use it from C code in a "C runtime".

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


Re: lib for working with graphs

2012-11-29 Thread Andriy Gapon
on 28/11/2012 18:36 Mehmet Erol Sanliturk said the following:
> 
> 
> On Wed, Nov 28, 2012 at 6:37 AM, Andriy Gapon  > wrote:
> 
> on 28/11/2012 16:31 David Wolfskill said the following:
> > On Wed, Nov 28, 2012 at 04:20:28PM +0200, Andriy Gapon wrote:
> >>
> >> Does anyone know a light-weight BSD-licensed (or analogous) library / 
> piece of
> >> code for doing useful things with graphs?
> >> Thank you.
> >> 
> >
> > Errr "graphs" is fairly ambiguous, and "things with graphs" covers a
> > very wide range of activities.
> 
> Graphs as in vertices, edges, etc :)
> And things like graph basics: BFS, DFS, connected components, topological
> sort, etc
> 
> > ports/math/R may be useful for this -- I use it to generate graphs (and
> > perform statistical analyses).
> >
> > ports/graphics/plotmtv is possibly of some interest, as well, as it
> > allows a certain level of interactivity (though the code hasn't been
> > updated in quite some time -- but it still works).
> >
> > If neither of those suits your intent, perhaps you could expand a bit on
> > what that intent is?
> 
> And, big oops sorry, forgot one very important detail - it has to be C.
> 
> http://en.wikipedia.org/wiki/JUNG
> http://en.wikipedia.org/wiki/Xfig
> http://en.wikipedia.org/wiki/SVG-edit
> 
> 
> http://en.wikipedia.org/wiki/Category:Graph_drawing_software
> http://en.wikipedia.org/wiki/Comparison_of_vector_graphics_editors
> http://en.wikipedia.org/wiki/Category:Free_diagramming_software
> 
> 
> Thank you very much .

Thank you, but all of these appear to be off-mark.
They all are end-user oriented applications for drawing/editing graphs, etc.
While I need a light-weight library for "embedding" graph analysis.

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


Re: lib for working with graphs

2012-11-29 Thread Andriy Gapon
on 28/11/2012 17:09 Dan Nelson said the following:
> In the last episode (Nov 28), Andriy Gapon said:
>> on 28/11/2012 16:31 David Wolfskill said the following:
>>> On Wed, Nov 28, 2012 at 04:20:28PM +0200, Andriy Gapon wrote:

 Does anyone know a light-weight BSD-licensed (or analogous) library /
 piece of code for doing useful things with graphs?  Thank you.
 
>>>
>>> Errr "graphs" is fairly ambiguous, and "things with graphs" covers a
>>> very wide range of activities.
>>
>> Graphs as in vertices, edges, etc :) And things like graph basics: BFS,
>> DFS, connected components, topological sort, etc
> 
> Graphviz would be the most popular package for stuff like this, I think, and
> it includes a C API.  It's licensed under the Eclipse Public License.
> 
> http://www.graphviz.org/
> http://www.graphviz.org/Gallery.php
> http://www.graphviz.org/doc/libguide/libguide.pdf

The library sounds interesting, but I need to evaluate the license and
light-weight-ness of it.  EPL is not as long as GPL, but is not as short as BSDL
unfortunately.

Thank you!

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


Re: lib for working with graphs

2012-11-29 Thread Bakul Shah
On Nov 29, 2012, at 7:12 AM, Andriy Gapon  wrote:

> on 28/11/2012 18:36 Mehmet Erol Sanliturk said the following:
>> 
>> 
>> On Wed, Nov 28, 2012 at 6:37 AM, Andriy Gapon > > wrote:
>> 
>>on 28/11/2012 16:31 David Wolfskill said the following:
>>> On Wed, Nov 28, 2012 at 04:20:28PM +0200, Andriy Gapon wrote:
 
 Does anyone know a light-weight BSD-licensed (or analogous) library / 
 piece of
 code for doing useful things with graphs?
 Thank you.
 
>>> 
>>> Errr "graphs" is fairly ambiguous, and "things with graphs" covers a
>>> very wide range of activities.
>> 
>>Graphs as in vertices, edges, etc :)
>>And things like graph basics: BFS, DFS, connected components, topological
>>sort, etc
>> 
>>> ports/math/R may be useful for this -- I use it to generate graphs (and
>>> perform statistical analyses).
>>> 
>>> ports/graphics/plotmtv is possibly of some interest, as well, as it
>>> allows a certain level of interactivity (though the code hasn't been
>>> updated in quite some time -- but it still works).
>>> 
>>> If neither of those suits your intent, perhaps you could expand a bit on
>>> what that intent is?
>> 
>>And, big oops sorry, forgot one very important detail - it has to be C.
>> 
>> http://en.wikipedia.org/wiki/JUNG
>> http://en.wikipedia.org/wiki/Xfig
>> http://en.wikipedia.org/wiki/SVG-edit
>> 
>> 
>> http://en.wikipedia.org/wiki/Category:Graph_drawing_software
>> http://en.wikipedia.org/wiki/Comparison_of_vector_graphics_editors
>> http://en.wikipedia.org/wiki/Category:Free_diagramming_software
>> 
>> 
>> Thank you very much .
> 
> Thank you, but all of these appear to be off-mark.
> They all are end-user oriented applications for drawing/editing graphs, etc.
> While I need a light-weight library for "embedding" graph analysis.

What about Prof. Knuth's Stanford GraphBase library? It is in public domain.
And there is a whole book about it! 
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"


Re: lib for working with graphs

2012-11-29 Thread Mehmet Erol Sanliturk
On Thu, Nov 29, 2012 at 7:12 AM, Andriy Gapon  wrote:

> on 28/11/2012 18:36 Mehmet Erol Sanliturk said the following:
> >
> >
> > On Wed, Nov 28, 2012 at 6:37 AM, Andriy Gapon  > > wrote:
> >
> > on 28/11/2012 16:31 David Wolfskill said the following:
> > > On Wed, Nov 28, 2012 at 04:20:28PM +0200, Andriy Gapon wrote:
> > >>
> > >> Does anyone know a light-weight BSD-licensed (or analogous)
> library / piece of
> > >> code for doing useful things with graphs?
> > >> Thank you.
> > >> 
> > >
> > > Errr "graphs" is fairly ambiguous, and "things with graphs"
> covers a
> > > very wide range of activities.
> >
> > Graphs as in vertices, edges, etc :)
> > And things like graph basics: BFS, DFS, connected components,
> topological
> > sort, etc
> >
> > > ports/math/R may be useful for this -- I use it to generate graphs
> (and
> > > perform statistical analyses).
> > >
> > > ports/graphics/plotmtv is possibly of some interest, as well, as it
> > > allows a certain level of interactivity (though the code hasn't
> been
> > > updated in quite some time -- but it still works).
> > >
> > > If neither of those suits your intent, perhaps you could expand a
> bit on
> > > what that intent is?
> >
> > And, big oops sorry, forgot one very important detail - it has to be
> C.
> >
> > http://en.wikipedia.org/wiki/JUNG
> > http://en.wikipedia.org/wiki/Xfig
> > http://en.wikipedia.org/wiki/SVG-edit
> >
> >
> > http://en.wikipedia.org/wiki/Category:Graph_drawing_software
> > http://en.wikipedia.org/wiki/Comparison_of_vector_graphics_editors
> > http://en.wikipedia.org/wiki/Category:Free_diagramming_software
> >
> >
> > Thank you very much .
>
> Thank you, but all of these appear to be off-mark.
> They all are end-user oriented applications for drawing/editing graphs,
> etc.
> While I need a light-weight library for "embedding" graph analysis.
>
> --
> Andriy Gapon
>



Graph Theory is vast subject area :

http://en.wikipedia.org/wiki/Category:Graph_theory
http://en.wikipedia.org/wiki/Graph_theory
http://en.wikipedia.org/wiki/Graph_%28mathematics%29
http://en.wikipedia.org/wiki/Power_graph_analysis

http://www.cs.sunysb.edu/~algorith/implement/graphbase/implement.shtml


If a subject with a selected title is specified , it may be possible to
find more detailed information about it .


Thank you very much .

Mehmet Erol Sanliturk
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"


Re: 9.1-RC3 IGB dropping connections.

2012-11-29 Thread Gleb Smirnoff
On Tue, Nov 27, 2012 at 10:26:55PM -0500, Zaphod Beeblebrox wrote:
Z> > Are you using pf ? Also, did you confirm it is the igb nic and not
Z> > something more general ? e.g. if you put in a different nic, does the
Z> > problem go away ?
Z> 
Z> No pf, the motherboard em-driver NIC does not have this problem.

I'd suggest to do some traffic sniffing when connection is dropped. May be
some other host on network takes your IP address and resets connection?


-- 
Totus tuus, Glebius.
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"