Hiroo Ono (小野寛生 | 1 Sep 09:09 2014
Picon

Re: Kernel page fault with non-sleepable locks held error with kernel r270837

Hello,

2014/09/01 8:31 "Julian Elischer" <julian <at> freebsd.org>:
>
> On 8/30/14, 10:01 PM, Hiroo Ono (小野寛生) wrote:
>>
>> Hello,
>>
>> During upgrading world and kernel from r26939 to r270837, I got the
>>
>
> r26939 has the wrong number of digits.  what was your correct previous
revision?

r269369 is the correct revision.
Sorry for the mistake.
_______________________________________________
freebsd-current <at> freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe <at> freebsd.org"
Craig Rodrigues | 31 Aug 18:36 2014
Picon

Modify bsdinstall to set the default locale?

Hi,

I recently did a fresh install of FreeBSD-10.stable on a new machine.

If I run the 'locale', I get this:

LANG=
LC_CTYPE="C"
LC_COLLATE="C"
LC_TIME="C"
LC_NUMERIC="C"
LC_MONETARY="C"
LC_MESSAGES="C"
LC_ALL=

Can we add something to bsdinstall/bsdconfig for setting the default locale?

We already have stuff in the installer for setting the keyboard and timezone.
--
Craig
_______________________________________________
freebsd-current <at> freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe <at> freebsd.org"

O. Hartmann | 31 Aug 11:28 2014
Picon
Picon

Revision: 270871: kernel build failure due to: [...]/netmap.c:556:23: error: no member named 'if_pspare' in 'struct ifnet'


cc  -c -O3 -fno-strict-aliasing -march=native -std=c99  -Wall -Wredundant-decls
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline
-Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions  -Wmissing-include-dirs
-fdiagnostics-show-option  -Wno-error-tautological-compare -Wno-error-empty-body
-Wno-error-parentheses-equality -Wno-error-unused-function -nostdinc  -I. -I/usr/src/sys
-I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/libfdt -D_KERNEL
-DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h  -fno-omit-frame-pointer
-mno-omit-leaf-frame-pointer -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse
-msoft-float  -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector -mno-aes
-mno-avx
-Werror  /usr/src/sys/dev/netmap/netmap.c /usr/src/sys/dev/netmap/netmap.c:556:23: error:
no member named 'if_pspare' in 'struct ifnet' netmap_set_all_rings(NA(ifp), 1 /* stopped
*/);
Bjoern A. Zeeb | 31 Aug 11:28 2014
Picon

ARM IMX6 build failure


linking kernel.debug
locore.o: In function `virt_done':
(.text+0x130): undefined reference to `initarm'
uart_core.o: In function `uart_bus_probe':
/scratch/tmp/bz/head.svn/sys/dev/uart/uart_core.c:381: undefined reference to `uart_cpu_eqres'
uart_subr.o: In function `uart_getenv':
/scratch/tmp/bz/head.svn/sys/dev/uart/uart_subr.c:307: undefined reference to `uart_bus_space_mem'
/scratch/tmp/bz/head.svn/sys/dev/uart/uart_subr.c:307: undefined reference to `uart_bus_space_io'
uart_tty.o: In function `uart_cnprobe':
/scratch/tmp/bz/head.svn/sys/dev/uart/uart_tty.c:72: undefined reference to `uart_cpu_getdev'
machdep.o: In function `set_stackptrs':
/scratch/tmp/bz/head.svn/sys/arm/arm/machdep.c:1006: undefined reference to `irqstack'
/scratch/tmp/bz/head.svn/sys/arm/arm/machdep.c:1006: undefined reference to `abtstack'
/scratch/tmp/bz/head.svn/sys/arm/arm/machdep.c:1006: undefined reference to `undstack'
mp_machdep.o: In function `init_secondary':
/scratch/tmp/bz/head.svn/sys/arm/arm/mp_machdep.c:257: undefined reference to `pmap_pa'
pmap-v6.o: In function `pmap_enter_locked':
/scratch/tmp/bz/head.svn/sys/arm/arm/pmap-v6.c:3085: undefined reference to `systempage'
pmap-v6.o: In function `pmap_pinit':
/scratch/tmp/bz/head.svn/sys/arm/arm/pmap-v6.c:3506: undefined reference to `systempage'
gic.o: In function `arm_gic_probe':
/scratch/tmp/bz/head.svn/sys/arm/arm/gic.c:134: undefined reference to `ofw_bus_status_okay'
/scratch/tmp/bz/head.svn/sys/arm/arm/gic.c:137: undefined reference to `ofw_bus_is_compatible'
pl310.o: In function `pl310_probe':
/scratch/tmp/bz/head.svn/sys/arm/arm/pl310.c:423: undefined reference to `ofw_bus_status_okay'
/scratch/tmp/bz/head.svn/sys/arm/arm/pl310.c:426: undefined reference to `ofw_bus_is_compatible'
mpcore_timer.o: In function `arm_tmr_probe':
/scratch/tmp/bz/head.svn/sys/arm/arm/mpcore_timer.c:257: undefined reference to `ofw_bus_status_okay'
/scratch/tmp/bz/head.svn/sys/arm/arm/mpcore_timer.c:260: undefined reference to `ofw_bus_is_compatible’
(Continue reading)

Hiroo Ono (小野寛生 | 31 Aug 07:01 2014
Picon

Kernel page fault with non-sleepable locks held error with kernel r270837

Hello,

During upgrading world and kernel from r26939 to r270837, I got the
following problem.
a) the arch is i386
b) kernel is of r270837, userland is of r26939 (make kernel is done
and rebooted, make installworld not yet).
c) booting in single user mode is OK.
d) during startup of multi-user mode, when dhclient is run, the
following message appears, and the system freezes:

Starting devd.
wlan0: link state changed to UP
Starting webcamd.
Attached to ugen4.2[0]
Starting webcready running for ugen4.2.0
/usr/local/etc/rc.d/webcamd: WARNING: failed to start webcamd
Starting dhclient.
DHCPREQUEST on wlan0 to 255.255.255.255 port 67
DHCPACK from 192.168.8.2
Kernel page fault with the following non-sleepable locks held:
exclusive sleep mutex so_rcv (so_rcv) r = 0 (0xc713f078) locked  <at> 
/usr/src/sys/kern/kern_event.c:2005
KDB stack backtrace:
 rapper+0x2d/frame 0xe8f42710
kdb_backtrace(c11aaf80,0,c713f078,c119a9e8,7d5,...) at 0xc0b4b160 =
kdb_backtrace+0x30/frame 0xe8f42778
witness_warn(5,0,c136b0a0,76fb000,c1833d58,...) at 0xc8b68a52 =
witness_warn+0x402/frame 0xe8f427c8
trap_pfault(18,3fd,c0dcc2d0,c1f64a80,c75fa000,...) at 0xc102f46b =
(Continue reading)

Larry Rosenman | 30 Aug 19:29 2014

Solaris Assert: How to fix?

I'm getting:

borg.lerctr.org dumped core - see /var/crash/vmcore.0

Fri Aug 29 16:16:35 CDT 2014

FreeBSD borg.lerctr.org 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r270811: Fri Aug 29 09:21:58 CDT 2014    
root <at> borg.lerctr.org:/usr/obj/usr/src/sys/VT-LER  amd64

panic: solaris assert: l->l_phys->l_hdr.lh_block_type == ((1ULL << 63) + 0) (0x0 ==
0x8000000000000000), file: /usr/src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zap.c,
line: 534

GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "amd64-marcel-freebsd"...

Unread portion of the kernel message buffer:
Copyright (c) 1992-2014 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
	The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 11.0-CURRENT #0 r270811: Fri Aug 29 09:21:58 CDT 2014
    root <at> borg.lerctr.org:/usr/obj/usr/src/sys/VT-LER amd64
FreeBSD clang version 3.4.1 (tags/RELEASE_34/dot1-final 208032) 20140512
VT: running with driver "vga".
(Continue reading)

jenkins-admin | 29 Aug 21:37 2014
Picon

Build failed in Jenkins: FreeBSD_HEAD #1342

See <https://jenkins.freebsd.org/jenkins/job/FreeBSD_HEAD/1342/changes>

Changes:

[jhb] Use a unit number allocator to provide suitable st_dev and st_ino values
for POSIX shared memory descriptors.  The implementation is similar to
that used for pipes.

MFC after:	1 week

[melifaro] * Add SIOCGI2C driver ioctl used to retrieve i2c info.
* Convert ixgbe to use this ioctl
* Convert ifconfig to use generic i2c handler for  "ix" interfaces.

Approved by:	Eric Joyner (ixgbe part)
MFC after:	2 weeks
Sponsored by:	Yandex LLC

------------------------------------------
[...truncated 270113 lines...]
cc  -c -O2 -pipe -fno-strict-aliasing  -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions  -Wmissing-include-dirs -fdiagnostics-show-option  -Wno-error-tautological-compare -Wno-error-empty-body  -Wno-error-parentheses-equality -Wno-error-unused-function -nostdinc  -I. -I<https://jenkins.freebsd.org/jenkins/job/FreeBSD_HEAD/ws/sys> -I<https://jenkins.freebsd.org/jenkins/job/FreeBSD_HEAD/ws/sys/contrib/altq> -I<https://jenkins.freebsd.org/jenkins/job/FreeBSD_HEAD/ws/sys/contrib/libfdt> -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h  -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float  -fno-
 asynchronous-unwind-tables -ffreestanding -fstack-protector -gdwarf-2 -mno-aes -mno-avx -Werror  <https://jenkins.freebsd.org/jenkins/job/FreeBSD_HEAD/ws/sys/fs/nfsserver/nfs_nfsdsubs.c>
--- nfs_clnfsiod.o ---
ctfconvert -L VERSION -g nfs_clnfsiod.o
--- nfs_fha_new.o ---
ctfconvert -L VERSION -g nfs_fha_new.o
--- nfs_nfsdstate.o ---
cc  -c -O2 -pipe -fno-strict-aliasing  -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions  -Wmissing-include-dirs -fdiagnostics-show-option  -Wno-error-tautological-compare -Wno-error-empty-body  -Wno-error-parentheses-equality -Wno-error-unused-function -nostdinc  -I. -I<https://jenkins.freebsd.org/jenkins/job/FreeBSD_HEAD/ws/sys> -I<https://jenkins.freebsd.org/jenkins/job/FreeBSD_HEAD/ws/sys/contrib/altq> -I<https://jenkins.freebsd.org/jenkins/job/FreeBSD_HEAD/ws/sys/contrib/libfdt> -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h  -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float  -fno-
 asynchronous-unwind-tables -ffreestanding -fstack-protector -gdwarf-2 -mno-aes -mno-avx -Werror  <https://jenkins.freebsd.org/jenkins/job/FreeBSD_HEAD/ws/sys/fs/nfsserver/nfs_nfsdstate.c>
--- nfs_nfsdkrpc.o ---
(Continue reading)

David Shao | 29 Aug 07:38 2014
Picon

i386 compilation errors in head/sys/dev/ixl/if_ixl.c

Compilation errors occur in head/sys/dev/ixl/if_ixl.c on i386 for
FreeBSD 11-current for the following:

In function ixl_print_debug_info()

        printf("Queue irqs = %lx\n", que->irqs);
        printf("AdminQ irqs = %lx\n", pf->admin_irq);
...
        printf("RX not ready = %lx\n", rxr->not_done);
        printf("RX packets = %lx\n", rxr->rx_packets);

all cause
error: format specifies type 'unsigned long' but the argument has type
'u64' (aka 'unsigned long long') [-Werror,-Wformat]

In function ixl_stat_update48(struct i40e_hw *hw, u32 hireg, u32 loreg,
        bool offset_loaded, u64 *offset, u64 *stat)

#if __FreeBSD__ >= 10 && __amd64__

causes
error:  '__amd64__' is not defined, evaluates to 0 [-Werror,-Wundef]
_______________________________________________
freebsd-current <at> freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe <at> freebsd.org"

jenkins-admin | 28 Aug 21:53 2014
Picon

Build failed in Jenkins: FreeBSD_HEAD #1334

See <https://jenkins.freebsd.org/jenkins/job/FreeBSD_HEAD/1334/changes>

Changes:

[jfv] Add XL710 device entries to NOTES, and directories to the module
Makefile so they will be built.

MFC after: 1 day

[rodrigc] Use "file -s", so that we can run vmrun.sh against special devices such
as /dev/md memory file systems

Reviewed by: neel

------------------------------------------
[...truncated 254021 lines...]
        eventhandler_tag        vlan_detach;
        ^
--- all_subdir_ixl
---
<https://jenkins.freebsd.org/jenkins/job/FreeBSD_HEAD/ws/sys/modules/ixl/../../dev/ixl/if_ixl.c>:650:21:
error: implicit declaration of function 'EVENTHANDLER_REGISTER' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        vsi->vlan_attach = EVENTHANDLER_REGISTER(vlan_config,
                           ^
--- all_subdir_ixlv
---
<https://jenkins.freebsd.org/jenkins/job/FreeBSD_HEAD/ws/sys/modules/ixlv/../../dev/ixl/if_ixlv.c>:498:21:
error: implicit declaration of function 'EVENTHANDLER_REGISTER' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        vsi->vlan_attach = EVENTHANDLER_REGISTER(vlan_config,
                           ^
(Continue reading)

Garrett Cooper | 27 Aug 00:09 2014
Picon

Re: FreeBSD 10 and zfsd

On Tue, Aug 26, 2014 at 2:43 PM, Alan Somers <asomers <at> freebsd.org> wrote:

...

> Adding a ksh93 tester to Kyua was previously discussed on
> kyua-discuss.  But it was basically shot down.
> https://groups.google.com/forum/#!topic/kyua-discuss/w8oJHeZXuro

Maybe the idea just needs to be approached from a different angle like
I did with /bin/sh/tests (
https://svnweb.freebsd.org/base/head/bin/sh/tests/functional_test.sh?revision=269902&view=markup
)? I know that with DTrace at least, it uses dtest.pl, which
implements its own test "discovery" mechanism, which should be easy to
hook into atf and produce testcases for dynamically. Some additional
logic might be required to work around testcases that fail today on
FreeBSD or cause the system to livelock/panic (e.g.
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192906 ), but
writing in simple hooks for this shouldn't be hard.

> Porting, in whole or in part, the tests to /bin/sh is time consuming,
> but it's the only option that satisfies everyone.

Perhaps. I'm lazier nowadays and prefer not chasing after the perfect
solution if I can help it (especially because it tends to bite me in
the rear later).

Thanks!
-Garrett
_______________________________________________
freebsd-current <at> freebsd.org mailing list
(Continue reading)

Chris H | 26 Aug 20:05 2014

did tar(1) loose xz compression support in 11?

Greetings,
I'm currently testing 11. My build / install is from about 2 days ago.
I generally use xz compression, when creating archives. But when I
attempt the following:

tar -cvJ --options xz:9 -f ./archive-name.tar.xz ./file

it returns the following:

tar: Undefined option: `xz:9'

This has always worked in previous versions. Has the syntax changed,
and the man(1) pages just haven't caught up?

Thank you for all your time, and consideration.

--Chris

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


Gmane