Author: glebius
Date: Sun Nov 2 05:51:31 2014
New Revision: 273960
URL: https://svnweb.freebsd.org/changeset/base/273960
Log:
NG_NODE_NAME(node) is always not NULL. Use correct macro.
Submitted by: Dmitry Luhtionov
Modified:
head/sys/netgraph/ng_bridge.c
Modified: head/sys/netgraph/ng
Woo, this fixed the embedded boot! Thanks!
-adrian
On 1 November 2014 19:01, Dag-Erling Smørgrav wrote:
> Author: des
> Date: Sun Nov 2 02:01:55 2014
> New Revision: 273958
> URL: https://svnweb.freebsd.org/changeset/base/273958
>
> Log:
> Restore the auto-reseed logic, but move it to a muc
Mark Murray writes:
> Log:
> This is the much-discussed major upgrade to the random(4) device,
> known to you all as /dev/random.
[...]
> Modified: head/sys/dev/random/randomdev_soft.c
> ===
> --- head/sys/dev/random/randomdev_soft
On Sun, 2014-11-02 at 03:05 +0100, Dag-Erling Smørgrav wrote:
> Adrian Chadd writes:
> > Dag-Erling Smørgrav writes:
> > > I'm working on a patch.
> > Ok, thanks. I'm happy to test it out on this MIPS AP I have on my
> > bench right now.
>
> r273957 cleans up the rc scripts, r273958 re-enables a
Author: mjg
Date: Sun Nov 2 02:32:33 2014
New Revision: 273959
URL: https://svnweb.freebsd.org/changeset/base/273959
Log:
filedesc: tidy up fdcheckstd
No functional changes.
Modified:
head/sys/kern/kern_descrip.c
Modified: head/sys/kern/kern_descrip.c
==
Adrian Chadd writes:
> Dag-Erling Smørgrav writes:
> > I'm working on a patch.
> Ok, thanks. I'm happy to test it out on this MIPS AP I have on my
> bench right now.
r273957 cleans up the rc scripts, r273958 re-enables auto-reseed.
DES
--
Dag-Erling Smørgrav - d...@des.no
_
Author: des
Date: Sun Nov 2 02:01:55 2014
New Revision: 273958
URL: https://svnweb.freebsd.org/changeset/base/273958
Log:
Restore the auto-reseed logic, but move it to a much later point,
immediately before kick_init.
Approved by: so (self)
Modified:
head/sys/dev/random/random_adapto
Author: des
Date: Sun Nov 2 01:47:27 2014
New Revision: 273957
URL: https://svnweb.freebsd.org/changeset/base/273957
Log:
Get rid of the postrandom script. It was born in a time when the
random script ran before filesystems were mounted, which is no
longer the case.
In random_start(),
Author: mjg
Date: Sun Nov 2 01:13:11 2014
New Revision: 273956
URL: https://svnweb.freebsd.org/changeset/base/273956
Log:
filedesc: lock filedesc lock in fdcloseexec only when needed
Modified:
head/sys/kern/kern_descrip.c
Modified: head/sys/kern/kern_descrip.c
==
On 1 November 2014 17:26, Dag-Erling Smørgrav wrote:
> Adrian Chadd writes:
>> Ok, so i figured maybe it hadn't been seeded just yet:
>
> which is what I've been saying all along.
>
> And the reason it hasn't been reseeded is that Mark disabled the
> automatic reseeding that used to happen late i
Adrian Chadd writes:
> Ok, so i figured maybe it hadn't been seeded just yet:
which is what I've been saying all along.
And the reason it hasn't been reseeded is that Mark disabled the
automatic reseeding that used to happen late in the boot :(
I'm working on a patch.
DES
--
Dag-Erling Smørgr
Adrian Chadd writes:
> So, is there some way to go back to whatever the previous revision
> before this did? It at least comes up and doesn't hang things.
svn up -r273871
DES
--
Dag-Erling Smørgrav - d...@des.no
___
svn-src-all@freebsd.org mailing lis
Ok, so i figured maybe it hadn't been seeded just yet:
# cat /boot/kernel/* | dd of=/dev/random bs=8k
random: random_adaptor_write 8192
random: random_adaptor_write 8192
random: random_adaptor_write 8192
random: random_adaptor_write 8192
random: random_adaptor_write 8192
random: random_adaptor_wri
Author: jmg
Date: Sun Nov 2 00:11:25 2014
New Revision: 273955
URL: https://svnweb.freebsd.org/changeset/base/273955
Log:
add an rc.d script to automatically grow the specified FS... It has
been tested on both MBR and GPT... It won't be enabled until you add
growfs_enable="YES" and will o
Ian Lepore writes:
> Yeah. I vaguely remember discussion about this something like 12-18
> months ago. As I remember it, there was a desire to avoid using the
> same startup saved entropy on a rapid series of reboots and the thinking
> was to combat that by generating some fresh saved entropy on
Hi,
Right - but I'm not even getting to anywhere near this point.
It's hanging in hostapd when hostapd tries reading random data.
again, if i try ctrl-C'ing whilst the random device is inside
random_adaptor_read(), it's just .. broken. The read doesn't finish,
the process doesn't accept any new
On Sun, 2014-11-02 at 00:33 +0100, Dag-Erling Smørgrav wrote:
> Dag-Erling Smørgrav writes:
> > From the code. This is a portion of the rc script that only runs at
> > shutdown. If random_stop() runs during boot, something is seriously
> > wrong *somewhere else* and you are welcome to help find
On Sun, 2014-11-02 at 00:33 +0100, Dag-Erling Smørgrav wrote:
> Dag-Erling Smørgrav writes:
> > From the code. This is a portion of the rc script that only runs at
> > shutdown. If random_stop() runs during boot, something is seriously
> > wrong *somewhere else* and you are welcome to help find
Ian Lepore writes:
> and so it tries to write an entropy file at startup and hangs,
> presumably because /dev/random hasn't been sufficiently fed to
> generate that much random output?
That's problem #2, /dev/random *should* be unblocked by then.
BTW, there is no such thing as being "sufficientl
On Sun, 2014-11-02 at 00:24 +0100, Dag-Erling Smrgrav wrote:
> Ian Lepore writes:
> > Mark R V Murray writes:
> > > The writing happens at shutdown; before you do the shutdown could
> > > you please do a ‘sysctl kern.random’ and post the result?
> > I'm not sure where you're getting "at shutdown"
Dag-Erling Smørgrav writes:
> From the code. This is a portion of the rc script that only runs at
> shutdown. If random_stop() runs during boot, something is seriously
> wrong *somewhere else* and you are welcome to help find out what.
I found it - postrandom triggers it. For now, just remove
Ian Lepore writes:
> Mark R V Murray writes:
> > The writing happens at shutdown; before you do the shutdown could
> > you please do a ‘sysctl kern.random’ and post the result?
> I'm not sure where you're getting "at shutdown" from.
From the code. This is a portion of the rc script that only ru
On Sat, 2014-11-01 at 22:39 +, Mark R V Murray wrote:
> Hi
>
> I’m not sure what you are showing me here?
>
> How yo you draw the “not enough entropy” conclusion?
>
> The writing happens at shutdown; before you do the shutdown could you please
> do a ‘sysctl kern.random’ and post the result
Here's what I have so far:
# sysctl kern.random
kern.random.adaptors: yarrow(90),dummy(1)
kern.random.active_adaptor: yarrow
kern.random.live_entropy_sources:
kern.random.yarrow.gengateinterval: 10
kern.random.yarrow.bins: 10
kern.random.yarrow.fastthresh: 96
kern.random.yarrow.slowthresh: 128
ker
On Sat, 1 Nov 2014 22:39:17 +
Mark R V Murray wrote:
> Hi
>
> I'm not sure what you are showing me here?
>
> How yo you draw the "not enough entropy" conclusion?
>
> The writing happens at shutdown; before you do the shutdown could you
> please do a 'sysctl kern.random' and post the result
On Sat, 2014-11-01 at 22:39 +, Mark R V Murray wrote:
> Hi
>
> I’m not sure what you are showing me here?
>
> How yo you draw the “not enough entropy” conclusion?
>
> The writing happens at shutdown; before you do the shutdown could you please
> do a ‘sysctl kern.random’ and post the result
On 1 November 2014 15:39, Mark R V Murray wrote:
> Hi
>
> I’m not sure what you are showing me here?
>
> How yo you draw the “not enough entropy” conclusion?
This is a kernel backtrace from the hostap process. It's stuck in that
particular read, waiting somewhere in random_adaptor_read().
If I h
Hi
I’m not sure what you are showing me here?
How yo you draw the “not enough entropy” conclusion?
The writing happens at shutdown; before you do the shutdown could you please do
a ‘sysctl kern.random’ and post the result?
Do you have anything random-related in your rc.conf?
Could you please
Author: mjg
Date: Sat Nov 1 22:36:40 2014
New Revision: 273953
URL: https://svnweb.freebsd.org/changeset/base/273953
Log:
Fix up module unload for syscall_module_handler consumers.
After r273707 it was registering syscalls as static.
This fixes hwpmc module unload.
Reported by: m
Yeah I can't do that for a wireless AP.
Oh, and if I hit Ctrl-C, the whole system hangs! :(
-adrian
On 1 November 2014 15:15, Alexander Kabaev wrote:
> On Sat, 1 Nov 2014 14:57:02 -0700
> Adrian Chadd wrote:
>
>> Hi,
>>
>> I'm having a problem with this on MIPS router boards now:
>>
>> db> b
On Sat, 1 Nov 2014 14:57:02 -0700
Adrian Chadd wrote:
> Hi,
>
> I'm having a problem with this on MIPS router boards now:
>
> db> bt 277
> Tracing pid 277 tid 100034 td 0x80d7b9c0
> cpu_switch+90 (?,?,?,?) ra ca90db68 sp 0 sz 0
> sched_switch+224 (?,?,?,?) ra ca90db680028 sp 0 sz 0
Author: ngie
Date: Sat Nov 1 22:00:46 2014
New Revision: 273952
URL: https://svnweb.freebsd.org/changeset/base/273952
Log:
Port h_hash and t_sha2 to FreeBSD
t_sha2 contains dirty copy-paste hacks that need to be fixed with the openssh
OpenBSD compat layer
Submitted by: pho
Modified
Hi,
I'm having a problem with this on MIPS router boards now:
db> bt 277
Tracing pid 277 tid 100034 td 0x80d7b9c0
cpu_switch+90 (?,?,?,?) ra ca90db68 sp 0 sz 0
sched_switch+224 (?,?,?,?) ra ca90db680028 sp 0 sz 0
mi_switch+27c (?,?,?,?) ra ca90db900020 sp 0 sz 0
80176358+1a0 (?,?,
Author: ngie
Date: Sat Nov 1 21:30:18 2014
New Revision: 273951
URL: https://svnweb.freebsd.org/changeset/base/273951
Log:
Expect :sscanf_whitespace to fail on !NetBSD OSes
Submitted by: pho
Modified:
head/contrib/netbsd-tests/lib/libc/stdio/t_scanf.c
Modified: head/contrib/netbsd-test
Author: ngie
Date: Sat Nov 1 21:25:22 2014
New Revision: 273950
URL: https://svnweb.freebsd.org/changeset/base/273950
Log:
Skip :fopen_regular on !NetBSD because it's a NetBSD specific test
Submitted by: pho
Modified:
head/contrib/netbsd-tests/lib/libc/stdio/t_fopen.c
Modified: head/co
Author: ngie
Date: Sat Nov 1 21:23:27 2014
New Revision: 273949
URL: https://svnweb.freebsd.org/changeset/base/273949
Log:
Add new atf_tc_expect_fail to fflush_err; this is a new (within the past
couple months) bug
Modified:
head/contrib/netbsd-tests/lib/libc/stdio/t_fflush.c
Modified: hea
Author: ngie
Date: Sat Nov 1 21:21:06 2014
New Revision: 273948
URL: https://svnweb.freebsd.org/changeset/base/273948
Log:
Disable testcases 12 and 15-22 on FreeBSD
Submitted by: pho
Modified:
head/contrib/netbsd-tests/lib/libc/stdio/t_fmemopen.c
Modified: head/contrib/netbsd-tests/lib
Author: ngie
Date: Sat Nov 1 21:00:40 2014
New Revision: 273947
URL: https://svnweb.freebsd.org/changeset/base/273947
Log:
Expect :snprintf_posarg_error to blow up with a SIGSEGV on !NetBSD OSes
Modified:
head/contrib/netbsd-tests/lib/libc/stdio/t_printf.c
Modified: head/contrib/netbsd-test
Author: ngie
Date: Sat Nov 1 20:50:39 2014
New Revision: 273946
URL: https://svnweb.freebsd.org/changeset/base/273946
Log:
Port h_atexit to FreeBSD
__cxa_atexit varies between FreeBSD and NetBSD, and thus we must use pointers
instead of static fields in the BSS. More extensive discussion
Author: ngie
Date: Sat Nov 1 20:45:45 2014
New Revision: 273945
URL: https://svnweb.freebsd.org/changeset/base/273945
Log:
Port t_mincore to FreeBSD
Mark :mincore_resid as atf_tc_expect_fail on FreeBSD because of new bug
discovered in running the tests (it succeeded from earlier on in th
Author: ngie
Date: Sat Nov 1 20:41:40 2014
New Revision: 273943
URL: https://svnweb.freebsd.org/changeset/base/273943
Log:
Port t_kevent to FreeBSD
Submitted by: pho
Modified:
head/contrib/netbsd-tests/lib/libc/sys/t_kevent.c
Modified: head/contrib/netbsd-tests/lib/libc/sys/t_kevent.c
Author: ngie
Date: Sat Nov 1 20:33:42 2014
New Revision: 273942
URL: https://svnweb.freebsd.org/changeset/base/273942
Log:
Skip :sethostname_basic because it messes up the test host's hostname
Convert code from #if defined(__FreeBSD__) to #ifdef __FreeBSD__
Modified:
head/contrib/netbsd
Author: gavin
Date: Sat Nov 1 20:07:32 2014
New Revision: 273941
URL: https://svnweb.freebsd.org/changeset/base/273941
Log:
Updates to the list of CPUs supported by the amd64 platform
MFC after:3 days
Modified:
head/release/doc/en_US.ISO8859-1/hardware/article.xml
Modified: head/re
Author: marcel
Date: Sat Nov 1 18:51:48 2014
New Revision: 273940
URL: https://svnweb.freebsd.org/changeset/base/273940
Log:
Change the order of the arguments to file_loadraw(). They were swapped
as of r262345 when file_loadraw() was made public and this little detail
got overlooked during
Author: markm
Date: Sat Nov 1 17:52:04 2014
New Revision: 273939
URL: https://svnweb.freebsd.org/changeset/base/273939
Log:
Remove duplicate macro settings (probably due to an SVN merge /faux pas/ on
my part.
Spotted by: DES
Approved by: DES(implicit)
Modified:
head/sys/modules/Make
Author: ngie
Date: Sat Nov 1 17:22:53 2014
New Revision: 273938
URL: https://svnweb.freebsd.org/changeset/base/273938
Log:
getitimer on FreeBSD returns the last set time instead of the remaining time;
test for that instead
Submitted by: pho
Modified:
head/contrib/netbsd-tests/lib/libc
Author: ngie
Date: Sat Nov 1 17:19:43 2014
New Revision: 273937
URL: https://svnweb.freebsd.org/changeset/base/273937
Log:
Port lib/libc/sys/t_dup to FreeBSD/Linux
- The requirements differ between FreeBSD/Linux when dealing with oldd/newd
being equal (both fail with EINVAL, not EBADF)
Author: ngie
Date: Sat Nov 1 17:14:29 2014
New Revision: 273936
URL: https://svnweb.freebsd.org/changeset/base/273936
Log:
Port lib/libc/net/h_dns_server to FreeBSD
Submitted by: pho
Modified:
head/contrib/netbsd-tests/lib/libc/net/h_dns_server.c
Modified: head/contrib/netbsd-tests/lib
Author: ngie
Date: Sat Nov 1 17:13:13 2014
New Revision: 273935
URL: https://svnweb.freebsd.org/changeset/base/273935
Log:
Port tests to FreeBSD/Linux
Some of the testcases don't work outside of NetBSD, and the behavior of
ether_aton_r differs between FreeBSD, Linux, and NetBSD, and the
Author: andrew
Date: Sat Nov 1 17:12:44 2014
New Revision: 273934
URL: https://svnweb.freebsd.org/changeset/base/273934
Log:
Start to allow platforms other than U-Boot to use the FDT code in loader by
moving U-Boot specific code from libfdt.a to a new libuboot_fdt.a. This
needs to be a new
Author: ngie
Date: Sat Nov 1 17:09:39 2014
New Revision: 273933
URL: https://svnweb.freebsd.org/changeset/base/273933
Log:
Don't prune duplicate services in the expected output from /etc/services on
FreeBSD
Submitted by: pho
Modified:
head/contrib/netbsd-tests/lib/libc/net/t_servent.s
Author: dumbbell
Date: Sat Nov 1 17:05:15 2014
New Revision: 273932
URL: https://svnweb.freebsd.org/changeset/base/273932
Log:
vt(4): Adjust the cursor position after changing the window size
A new terminal_set_cursor() is added: it wraps the existing
teken_set_cursor() function.
In
Julian Elischer writes:
> Log:
> Allow loading of dtraceall without nfscl if what you really wnat is
> nfsclient
... or if what you really want is neither, no NFS by default.
>
> Obtained from: Panzura tree
> MFC after: 1 week
>
> Modified:
> head/sys/modules/dtrace/dtraceall/
Hi Garrett,
> On 31 Oct 2014, at 21:04, Garrett Cooper wrote:
> Could you please add an UPDATING entry for this? Some users (like me) who do
> make installworld from old kernels are experiencing issues (some dealing with
> filesystem corruption). Please see this thread on -current@ for more det
Author: dim
Date: Sat Nov 1 13:45:01 2014
New Revision: 273931
URL: https://svnweb.freebsd.org/changeset/base/273931
Log:
MFC r273837:
Fix a clang 3.5 warning about abs(3) being given an argument of type
quad_t in setusercontext(). While here, sanitize the clamping of the
priority val
Author: dim
Date: Sat Nov 1 13:45:01 2014
New Revision: 273931
URL: https://svnweb.freebsd.org/changeset/base/273931
Log:
MFC r273837:
Fix a clang 3.5 warning about abs(3) being given an argument of type
quad_t in setusercontext(). While here, sanitize the clamping of the
priority val
Author: dim
Date: Sat Nov 1 13:45:01 2014
New Revision: 273931
URL: https://svnweb.freebsd.org/changeset/base/273931
Log:
MFC r273837:
Fix a clang 3.5 warning about abs(3) being given an argument of type
quad_t in setusercontext(). While here, sanitize the clamping of the
priority val
Author: dim
Date: Sat Nov 1 13:45:01 2014
New Revision: 273931
URL: https://svnweb.freebsd.org/changeset/base/273931
Log:
MFC r273837:
Fix a clang 3.5 warning about abs(3) being given an argument of type
quad_t in setusercontext(). While here, sanitize the clamping of the
priority val
Author: jmmv
Date: Sat Nov 1 11:19:50 2014
New Revision: 273930
URL: https://svnweb.freebsd.org/changeset/base/273930
Log:
Remove empty directories for the deprecated (now gone) tools.
The tools-related directories should have been removed with the import of
atf-0.20 months ago, but I mi
Author: jmmv
Date: Sat Nov 1 11:17:54 2014
New Revision: 273929
URL: https://svnweb.freebsd.org/changeset/base/273929
Log:
MFV: Import atf-0.21.
Added:
head/contrib/atf/atf-c++/atf-c++.3
- copied unchanged from r273873, vendor/atf/dist/atf-c++/atf-c++.3
head/contrib/atf/atf-c/atf-c.3
Author: jmmv
Date: Sat Nov 1 11:07:59 2014
New Revision: 273928
URL: https://svnweb.freebsd.org/changeset/base/273928
Log:
Put mtree test files into a subdirectory.
Kyua 0.11 points TMPDIR to the test's work directory, and atf_check creates
auxiliary files in TMPDIR. This confuses a cou
Author: andrew
Date: Sat Nov 1 10:50:18 2014
New Revision: 273927
URL: https://svnweb.freebsd.org/changeset/base/273927
Log:
Move the definitions of the fdt functions from a uboot header to a new fdt
header. There is nothing in the fdt spec that ties it to U-Boot.
While here sort and fix
On Sat, Nov 1, 2014 at 7:56 AM, Bjoern A. Zeeb wrote:
>
> On 31 Oct 2014, at 19:15 , Luiz Otavio O Souza wrote:
>
>> Author: loos
>> Date: Fri Oct 31 19:15:14 2014
>> New Revision: 273917
>> URL: https://svnweb.freebsd.org/changeset/base/273917
>>
>> Log:
>> Fix the gpiobus locking by using a more
Author: loos
Date: Sat Nov 1 10:40:29 2014
New Revision: 273926
URL: https://svnweb.freebsd.org/changeset/base/273926
Log:
Fix the build of non-FDT systems by moving the gpiobusvar.h header outside
the FDT #ifdef.
While here remove a few unused headers.
Modified:
head/sys/dev/gpio/gpi
Author: tuexen
Date: Sat Nov 1 10:35:45 2014
New Revision: 273925
URL: https://svnweb.freebsd.org/changeset/base/273925
Log:
Don't zero the stats before they are read out.
MFC after: 3 days
Modified:
head/sys/netinet/sctp_sysctl.c
Modified: head/sys/netinet/sctp_sysctl.c
==
On 31 Oct 2014, at 19:15 , Luiz Otavio O Souza wrote:
> Author: loos
> Date: Fri Oct 31 19:15:14 2014
> New Revision: 273917
> URL: https://svnweb.freebsd.org/changeset/base/273917
>
> Log:
> Fix the gpiobus locking by using a more sane model where it isn't necessary
> hold the gpiobus lock b
Garrett Cooper writes:
> rcorder errors are indeed cryptic/confusing. I can quickly add a
> testcase for this if you like (basically check for all the scenarios
> that need to be covered via /etc/rc). Does that sound good?
Yes, that sounds great. I'll look into adding a loop detection and
report
Author: des
Date: Sat Nov 1 09:10:21 2014
New Revision: 273924
URL: https://svnweb.freebsd.org/changeset/base/273924
Log:
is a superset of and must always come
first. Coincidentally, today is the 11th anniversary of this man
page's (and this bug's) first appearance in FreeBSD.
MFC a
68 matches
Mail list logo