Ian Smith | 31 Oct 17:24 2014
Picon

Re: Every day my FreeBSD 9.3 machines reboot by watchdog timeout

In freebsd-questions Digest, Vol 543, Issue 5, Message: 8
On Fri, 31 Oct 2014 01:06:10 -0700 (PDT) BBlister <bblister <at> gmail.com> wrote:

 > Greetings,
 > 
 > I have a very strange problem. I am administering a number of FreeBSD
 > machines (64bit) with:
 > 
 > 9.3-STABLE   

 > FreeBSD 9.3-STABLE #2 r268794: Sat Oct 11 09:59:45 EEST 2014
 >     root <at> XXXXXXXX:/usr/obj/usr/src/sys/bigb5 amd64

 > FreeBSD 9.3-STABLE #6 r271376: Sun Oct 12 10:25:52 EEST 2014
 >     root <at> XXXXXXX:/usr/obj/usr/src/sys/arch amd64

You've provided lots of good info, but not to the best list.  If running 
STABLE, you should post this to freebsd-stable <at> freebsd.org, where lurk 
not a few people who eat crash dumps for breakfast.  Just a suggestion.

cheers, Ian
_______________________________________________
freebsd-questions <at> freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe <at> freebsd.org"

dweimer | 31 Oct 16:13 2014
Picon

Unifi3 port

I have been running UniFi manually installing it for a while, I just now 
noticed that there was a port for it, so I decided to give it a try. 
However I can't get it to successfully start. Despite the fact that it 
runs fine from my manual installation.

After some investigating I have found the source of the problem, but 
can't figure out a fix.

the source appears to stem from running it inside a jail:

The mongod instance fails to start after failing to bind to 127.0.0.1, 
and the socket.

2014-10-31T09:42:50.157-0500 [initandlisten] db version v2.6.5
2014-10-31T09:42:50.157-0500 [initandlisten] git version: nogitversion
2014-10-31T09:42:50.157-0500 [initandlisten] OpenSSL version: OpenSSL 
1.0.1j 15 Oct 2014
2014-10-31T09:42:50.157-0500 [initandlisten] build info: FreeBSD 
unifi.dweimer.local 10.0-RELEASE-p9 FreeBSD 10.0-RELEASE-p9 #1 r271669: 
Tue Sep 16 11:12:21 CDT 2014    

dweimer <at> freebsd.dweimer.local:/jails/devel/ROOT/usr/obj/jails/devel/ROOT/usr/src/sys/GENERIC 
amd64 BOOST_LIB_VERSION=1_49
2014-10-31T09:42:50.157-0500 [initandlisten] allocator: system
2014-10-31T09:42:50.157-0500 [initandlisten] options: { net: { bindIp: 
"127.0.0.1", http: { enabled: false }, port: 27117 }, storage: { dbPath: 
"/usr/local/share/java/unifi/data/db" }, systemLog: { destination: 
"file", logAppend: true, path: "logs/mongod.log" } }
2014-10-31T09:42:50.160-0500 [initandlisten] journal 
dir=/usr/local/share/java/unifi/data/db/journal
(Continue reading)

Mason Loring Bliss | 31 Oct 16:01 2014

Whence RC4?

I've been watching the update servers eagerly since the day RC4 was to begin
building, based on the schedule here:

    https://www.freebsd.org/releases/10.1R/schedule.html

And yet, http://update.freebsd.org/10.1-RC4/ continues not to exist.

I haven't found a public releng coordination mailing list or any real
explanation of the process. Can someone enlighten me? The article

    https://www.freebsd.org/doc/en_US.ISO8859-1/articles/releng/article.html

talks about binary patchkits existing to match releng/x.y branches, but it
doesn't describe their creation or how such a process might differ for
release candidates.

While I'm interested in this, I've also got the secondary goal of exploring
how to move back to using binary patches and freebsd-update after having
built from source for a while. My home desktop is my test case, and it's
currently identifying itself as being 10.1-RC3, built from this at the right
time:

    https://svn0.us-east.freebsd.org/base/releng/10.1

Something I'm not clear on is the possibility of finding a particular point
in time along a branch with Subversion, be it a tag or a date. I still think
in terms of CVS and that seems not to be valid when applied to SVN. It seems
like Subversion has 'svn up -r' to update to a particular revision number, or
a rough date specifier to update to "revision at start of the date".

(Continue reading)

BBlister | 31 Oct 09:06 2014
Picon

Every day my FreeBSD 9.3 machines reboot by watchdog timeout


Greetings,

I have a very strange problem. I am administering a number of FreeBSD
machines (64bit) with:

9.3-STABLE   

and after the upgrade to 9.3 for the past months until now I have noticed
that every day at approximately
the same time the machines reboot by watchdog timeout. I believe the problem
lies on an entry on the crontab which is difficult to debug because the
crontab has too many entries [280 lines].

All the previous versions of freebsd worked fine (even 9.2) and had uptime
for many months. 
After going to 9.3 the problem arose.

I have made debugging symbols for all the kernels and I have some logs of
it, in case you can help me debug this strange problem.

The watchdog fires almost every day in the morning (not exactly at the same
minute), as the log files bellow show. Some days they skip the reboot.

NOTE: This happens in every FreeBSD server that I have updated to 9-3 even
with different hardware. 
If I kill the crontab no reboot will happen (at least for 3 days that I
tried it). 
All the servers bear similar crontab.

(Continue reading)

francesco scaglione | 30 Oct 22:48 2014
Picon

/usr/src update

Hi,

I'm receiving warnings when trying to perform a "freebsd-update" on a
server:

# freebsd-update fetch
Looking up update.FreeBSD.org mirrors... 5 mirrors found.
Fetching metadata signature for 8.4-RELEASE from update6.freebsd.org...
done. Fetching metadata index... done.
Inspecting system... done.
Preparing to download files... done.

The following files will be added as part of updating to
8.4-RELEASE-p18: /usr/src/share/zoneinfo/leap-seconds.list
/usr/src/share/zoneinfo/zone1970.tab

The following files will be updated as part of updating to
8.4-RELEASE-p18: /boot/kernel/linker.hints
/usr/share/zoneinfo/Africa/Bamako
/usr/share/zoneinfo/Africa/Banjul
/usr/share/zoneinfo/Africa/Conakry
/usr/share/zoneinfo/Africa/Dakar
/usr/share/zoneinfo/Africa/Freetown
/usr/share/zoneinfo/Africa/Lome
/usr/share/zoneinfo/Africa/Nouakchott
/usr/share/zoneinfo/Africa/Ouagadougou
/usr/share/zoneinfo/Africa/Sao_Tome
/usr/share/zoneinfo/Atlantic/St_Helena
/usr/share/zoneinfo/Pacific/Johnston

(Continue reading)

françai s | 30 Oct 18:18 2014
Picon

What are the countries that have the laws that make it illegal you from writing any code that you want?

Hi to all

It is written in documentation " A Quick Guide to GPLv3 " of GNU
Operating System in title " Neutralizing Laws That Prohibit Free
Software — But Not Forbidding DRM ":

" You're probably familiar with the Digital Restrictions Management
(DRM) on DVDs and other media. You're probably also familiar with the
laws that make it illegal to write your own tools to bypass those
restrictions, like the Digital Millennium Copyright Act and the
European Union Copyright Directive. Nobody should be able to stop you
from writing any code that you want, and GPLv3 protects this right for
you.

It's always possible to use GPLed code to write software that
implements DRM. However, if someone does that with code protected by
GPLv3, section 3 says that the system will not count as an effective
technological "protection" measure. This means that if you break the
DRM, you'll be free to distribute your own software that does that,
and you won't be threatened by the DMCA or similar laws.

As usual, the GNU GPL does not restrict what people do in software; it
just stops them from restricting others. "

What are the countries that have the laws that make it illegal to
write your own tools to bypass  restrictions, like the Digital
Millennium Copyright Act and the European Union Copyright Directive?

What are the countries that have the laws that make it illegal you
from writing any code that you want?
(Continue reading)

Matthias Apitz | 30 Oct 07:59 2014
Picon

/usr/X11R6 sym link


Hello,

I wanted to update one of my laptops with my usual procedure:

- boot from a well prepared USB key with 11-CURRENT, packages, src, ...
- wipe out with newfs(8) all file systems, but not /usr
- mount the (old) /usr as /mnt/usr
- rm -rf everything in /mnt/usr, but not /mnt/usr/home
- install 'make installworld ...' into /mnt
- ...

A pity that I overlooked that the old /usr/X11R6 was a sym link to
(fully qualified) /usr/local:

$ ls -l /mnt/usr
total 58
lrwxr-xr-x   1 root  wheel     10  7 abr  2011 X11R6 -> /usr/local
drwxr-xr-x   2 root  wheel   7680  1 ago  2012 bin
drwxr-xr-x   2 root  wheel    512 12 abr  2011 compat
drwxr-xr-x   2 root  wheel    512 18 abr  2011 games
...

This (rm -rf /mnt/usr/X11R6) damaged the system I was sitting on, i.e.
the USB key :-(

Ofc, I have had an image of the key and could recreate the key in a few
minutes. And of course, I could have seen this and ofc I will keep my
eyes wider open next time, but I'm curious: what piece of old package
could have created such a symlink in this older (9-CURRENT)
(Continue reading)

William | 29 Oct 23:45 2014
Picon

Loader vs loader efi ficl incompatibility

Hi,

To get my laptop working (Macbook pro) with freebsd, at boot you need to
outb to some memory locations before boot so that graphics works. 

In a test vm, I defined the following ficl:

: display_fix ( -- )
    ." ========= "
    0x710 inb emit
    0x728 inb emit
    0x740 inb emit
    0x750 inb emit
;

display_fix

I wanted to run inb to start with to see the current state of the
values, rather than charging in setting memory values.

In a VM, I add this to boot.4th, and it works, I see characters on the
screen.

On the real hardware with loader.efi, I get the error "inb not found"
and the boot.4th doesn't run. 

Both systems are running 10.1rc3.

Are there differences in the ficl interpreter between loader and
loader.efi? Is this perhaps a bug?
(Continue reading)

Swain, Sachidananda | 29 Oct 14:09 2014

Configuring pipe with random/variable delay in Dummynet

Hi,

We are using FreeBSD 10.0-RELEASE on i386 Intel PC with 2GB RAM.

Requirement in Dummynet:

Can we set some variable delay may be 1 to 10 ms through Dummynet in FreeBSD.

If Yes, then what would be the command.

Found one article:

http://www.cs.unc.edu/~jeffay/dirt/FAQ/dummynet-modifications.html<http://www.cs.unc.edu/%7Ejeffay/dirt/FAQ/dummynet-modifications.html>

I didn't find those sysctl variables in FreeBSD 10.0

We followed the procedure to create pipe and configure with delay in Dummynet:

------------------------------------------------------------------------------

Creating Pipe and configuring for Delay

Adding Pipe

ipfw add 100 pipe 1 ip from any to any

OR

ipfw add pipe 1 ip from any to any

(Continue reading)

Picon

Oracle JDK

Hi,

Someone pointed out that the Oracle JDK will, again, be available.

When will this be in ports/packages?

I, presently, am trying to work on the port for the OpenNMS monitoring 
software and it seems to have a bug in the openjdk 7 and 8 versions.

The OpenNMS people are saying the bug does not exist in the Oracle 
version.  (Yes, I've already mailed to the FreeBSD java people on this.)

Thank you,

P.
_______________________________________________
freebsd-questions <at> freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe <at> freebsd.org"

Sibananda Sahu | 29 Oct 13:58 2014

Open file descriptor reference count implementation in driver

Hi,

Can anybody suggest how can I implement the Open file descriptor reference
count in a freebsd driver???

I have looked up at certain places in the cdev structure(sys/conf.h) and
found two integer values:

Int          si_refcount;

Int          si_usecount;

I think these are the stuffs  useful for me.

Can somebody explain what are the significance of the above mentioned
integer values inside the cdev structure?

Any help would be greatly appreciated.

Thanks,

Sibananda Sahu
_______________________________________________
freebsd-questions <at> freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe <at> freebsd.org"


Gmane