[Bug 191468] [vimage] options VIMAGE + Infiniband - kernel panic, crashes during system boot

2014-11-29 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191468

Craig Rodrigues  changed:

   What|Removed |Added

Summary|[vimage] options VIMAGE -   |[vimage] options VIMAGE +
   |kernel panic, crashes   |Infiniband - kernel panic,
   |during system boot  |crashes during system boot

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"


Re: RFC: Enabling VIMAGE in GENERIC

2014-11-29 Thread Craig Rodrigues
On Mon, Nov 24, 2014 at 9:03 AM, Julian Elischer  wrote:
>
>
> also look at the following: (a little dated)
>
>
http://p4web.freebsd.org/@md=d&cd=//depot/projects/vimage/&cdf=//depot/projects/vimage/porting_to_vimage.txt&c=tO0@//depot/projects/vimage/porting_to_vimage.txt?ac=22


 This is a useful document.  I put it on the wiki:
https://wiki.freebsd.org/VIMAGE/porting-to-vimage

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


How do I use net-mgmt/unifi{2,3,4} for Ubiquity UAP-PRO?

2014-11-29 Thread David Wolfskill
[Reply-To set, as I'm not subscribed to -net@ -- dhw]

I have just received a new Ubiquity UAP-PRO access point.

I would like to be able to use it.

I first tried ; that only has links
for MacOS and MS Windows.  I ran nmap, and found that 22/tcp seems
to be open, but I was unable to guess a login & password combination.
I wrote to  and received a pointer to
,
which includes:

| Download
| 
| UniFi Controller for Mac
| UniFi Controller for Windows
| UniFi.unix.zip (UniFi Zipped Package is also provide for DIYers. See
|   readme.txt for details.)

The seeme dto require databases/mongodb, so I built & installed that
(bringing in archivers/snappy and lang/v8 in the process).

That done, I fixed the mongod symlink, then tried

java -jar lib/ace.jar start

That seemed to "do stuff" for a bit (quietly), then settle down to doing
gettimeofday() calls (according to ktrace output).  I failed to find
this useful.

A bit of poking around on the Net made me aware of
net-mgmt/unifi{2,3,4}, so I looked at the pkg-descr files, and decided
to try one of them.

Given that this is a new device, I figured I'd try unifi4.  It
installed... but now what?  It doesn't seem to have installed any
executables.  And (semi-)blindly hacking yields:

g1-253(10.1-S)[22] cd /usr/local/share/java/unifi
g1-253(10.1-S)[23] ls -lT bin/mongod 
lrwxr-xr-x  1 root  wheel  21 Nov 29 12:45:57 2014 bin/mongod -> 
/usr/local/bin/mongod
g1-253(10.1-S)[24] java -jar lib/ace.jar start
log4j:ERROR setFile(null,true) call failed.
java.io.FileNotFoundException: logs/server.log (No such file or directory)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.(FileOutputStream.java:221)
at java.io.FileOutputStream.(FileOutputStream.java:142)
at org.apache.log4j.FileAppender.setFile(FileAppender.java:294)
at 
org.apache.log4j.RollingFileAppender.setFile(RollingFileAppender.java:207)
at org.apache.log4j.FileAppender.activateOptions(FileAppender.java:165)
at 
org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:307)
at 
org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:172)
at 
org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:104)
at 
org.apache.log4j.PropertyConfigurator.parseAppender(PropertyConfigurator.java:842)
at 
org.apache.log4j.PropertyConfigurator.parseCategory(PropertyConfigurator.java:768)
at 
org.apache.log4j.PropertyConfigurator.configureRootCategory(PropertyConfigurator.java:648)
at 
org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:514)
at 
org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:580)
at 
org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:526)
at org.apache.log4j.LogManager.(LogManager.java:127)
at org.apache.log4j.Logger.getLogger(Logger.java:104)
at com.ubnt.oOOO.D.OO0O.o0(Unknown Source)
at com.ubnt.oOOO.D.OO0O.(Unknown Source)
at com.ubnt.ace.Launcher.(Unknown Source)
Exception in thread "launcher" 
org.springframework.beans.factory.BeanCreationException: Error creating bean 
with name 'int' defined in class com.ubnt.oOOO.new: Instantiation of bean 
failed; nested exception is 
org.springframework.beans.factory.BeanDefinitionStoreException: Factory method 
[public com.ubnt.oOOO.D.D com.ubnt.oOOO.new.int()] threw exception; nested 
exception is org.springframework.beans.factory.BeanCreationException: Error 
creating bean with name 'class' defined in class com.ubnt.oOOO.new: Invocation 
of init method failed; nested exception is java.io.FileNotFoundException: 
/common/local/share/java/unifi/data/db/version (No such file or directory)
at 
org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:597)
at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1055)
at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:951)
at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:487)
at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458)
at 
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:296)
at 
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
at 
org.springframework.beans.factory.support.Abstr