Jenkins build is back to normal : FreeBSD_HEAD #109

2016-02-02 Thread jenkins-admin
See 

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


INET6 related tailq crash?

2016-02-02 Thread Larry Rosenman
Got the following panic:

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

Tue Feb  2 20:59:14 CST 2016

FreeBSD borg.lerctr.org 11.0-CURRENT FreeBSD 11.0-CURRENT #4 r294926: Wed Jan 
27 12:37:06 CST 2016 r...@borg.lerctr.org:/usr/obj/usr/src/sys/VT-LER  amd64

panic: Bad tailq NEXT(0x81e8b5f8->tqh_last) != NULL

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:
panic: Bad tailq NEXT(0x81e8b5f8->tqh_last) != NULL
cpuid = 4
KDB: stack backtrace:
db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfe2e025122c0
vpanic() at vpanic+0x182/frame 0xfe2e02512340
panic() at panic+0x43/frame 0xfe2e025123a0
nd6_ra_input() at nd6_ra_input+0x13da/frame 0xfe2e02512680
icmp6_input() at icmp6_input+0x97e/frame 0xfe2e02512820
ip6_input() at ip6_input+0xc3c/frame 0xfe2e02512900
netisr_dispatch_src() at netisr_dispatch_src+0x81/frame 0xfe2e02512960
ether_demux() at ether_demux+0x15e/frame 0xfe2e02512990
ether_nh_input() at ether_nh_input+0x344/frame 0xfe2e025129d0
netisr_dispatch_src() at netisr_dispatch_src+0x81/frame 0xfe2e02512a30
ether_input() at ether_input+0x4f/frame 0xfe2e02512a60
if_input() at if_input+0xa/frame 0xfe2e02512a70
em_rxeof() at em_rxeof+0x2f5/frame 0xfe2e02512ae0
em_handle_que() at em_handle_que+0x40/frame 0xfe2e02512b20
taskqueue_run_locked() at taskqueue_run_locked+0xf0/frame 0xfe2e02512b80
taskqueue_thread_loop() at taskqueue_thread_loop+0x88/frame 0xfe2e02512bb0
fork_exit() at fork_exit+0x84/frame 0xfe2e02512bf0
fork_trampoline() at fork_trampoline+0xe/frame 0xfe2e02512bf0
--- trap 0, rip = 0, rsp = 0, rbp = 0 ---
Uptime: 8h40m34s
Dumping 3340 out of 64467 MB:..1%..11%..21%..31%..41%..51%..61%..71%..81%..91%

Reading symbols from /boot/kernel/linux.ko...Reading symbols from 
/usr/lib/debug//boot/kernel/linux.ko.debug...done.
done.
Loaded symbols for /boot/kernel/linux.ko
Reading symbols from /boot/kernel/linux_common.ko...Reading symbols from 
/usr/lib/debug//boot/kernel/linux_common.ko.debug...done.
done.
Loaded symbols for /boot/kernel/linux_common.ko
Reading symbols from /boot/kernel/if_lagg.ko...Reading symbols from 
/usr/lib/debug//boot/kernel/if_lagg.ko.debug...done.
done.
Loaded symbols for /boot/kernel/if_lagg.ko
Reading symbols from /boot/kernel/snd_envy24ht.ko...Reading symbols from 
/usr/lib/debug//boot/kernel/snd_envy24ht.ko.debug...done.
done.
Loaded symbols for /boot/kernel/snd_envy24ht.ko
Reading symbols from /boot/kernel/snd_spicds.ko...Reading symbols from 
/usr/lib/debug//boot/kernel/snd_spicds.ko.debug...done.
done.
Loaded symbols for /boot/kernel/snd_spicds.ko
Reading symbols from /boot/kernel/coretemp.ko...Reading symbols from 
/usr/lib/debug//boot/kernel/coretemp.ko.debug...done.
done.
Loaded symbols for /boot/kernel/coretemp.ko
Reading symbols from /boot/kernel/fuse.ko...Reading symbols from 
/usr/lib/debug//boot/kernel/fuse.ko.debug...done.
done.
Loaded symbols for /boot/kernel/fuse.ko
Reading symbols from /boot/kernel/ichsmb.ko...Reading symbols from 
/usr/lib/debug//boot/kernel/ichsmb.ko.debug...done.
done.
Loaded symbols for /boot/kernel/ichsmb.ko
Reading symbols from /boot/kernel/smbus.ko...Reading symbols from 
/usr/lib/debug//boot/kernel/smbus.ko.debug...done.
done.
Loaded symbols for /boot/kernel/smbus.ko
Reading symbols from /boot/kernel/ichwd.ko...Reading symbols from 
/usr/lib/debug//boot/kernel/ichwd.ko.debug...done.
done.
Loaded symbols for /boot/kernel/ichwd.ko
Reading symbols from /boot/kernel/cpuctl.ko...Reading symbols from 
/usr/lib/debug//boot/kernel/cpuctl.ko.debug...done.
done.
Loaded symbols for /boot/kernel/cpuctl.ko
Reading symbols from /boot/kernel/cryptodev.ko...Reading symbols from 
/usr/lib/debug//boot/kernel/cryptodev.ko.debug...done.
done.
Loaded symbols for /boot/kernel/cryptodev.ko
Reading symbols from /boot/kernel/dtraceall.ko...Reading symbols from 
/usr/lib/debug//boot/kernel/dtraceall.ko.debug...done.
done.
Loaded symbols for /boot/kernel/dtraceall.ko
Reading symbols from /boot/kernel/profile.ko...Reading symbols from 
/usr/lib/debug//boot/kernel/profile.ko.debug...done.
done.
Loaded symbols for /boot/kernel/profile.ko
Reading symbols from /boot/kernel/dtrace.ko...Reading symbols from 
/usr/lib/debug//boot/kernel/dtrace.ko.debug...done.
done.
Loaded symbols for /boot/kernel/dtrace.ko
Reading symbols from /boot/kernel/systrace_freebsd32.ko...Reading symbols from 
/usr/lib/debug//boot/kernel/systrace_freebsd32.ko.debug...done.
done.
Loaded symbols for /boot/kernel/systrace_freebsd32.ko
Reading symbols from /boot/kernel/systrace.ko...Reading symbols from

Re: HEADS UP Avoid r295167 - r295187

2016-02-02 Thread Craig Rodrigues
On Tuesday, February 2, 2016, Bryan Drewery  wrote:

> Avoid this range of revisions. I broke 'make distribution', causing
> etcupdate to nuke /etc. Sorry about that.


Ah ok, that explains this failure:
https://jenkins.freebsd.org/job/FreeBSD_HEAD/108/

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


Build failed in Jenkins: FreeBSD_HEAD #108

2016-02-02 Thread jenkins-admin
See 

--
[...truncated 339434 lines...]
===> usr.sbin/bsnmpd/modules/snmp_mibII (installconfig)
===> usr.sbin/bsnmpd/modules/snmp_target (installconfig)
===> usr.sbin/bsnmpd/modules/snmp_usm (installconfig)
===> usr.sbin/bsnmpd/modules/snmp_vacm (installconfig)
===> usr.sbin/bsnmpd/modules/snmp_wlan (installconfig)
===> usr.sbin/bsnmpd/modules/snmp_pf (installconfig)
===> usr.sbin/bsnmpd/modules/snmp_netgraph (installconfig)
===> usr.sbin/bsnmpd/tools (installconfig)
===> usr.sbin/bsnmpd/tools/libbsnmptools (installconfig)
===> usr.sbin/bsnmpd/tools/bsnmptools (installconfig)
===> usr.sbin/ctm (installconfig)
===> usr.sbin/ctm/ctm (installconfig)
===> usr.sbin/ctm/ctm_rmail (installconfig)
===> usr.sbin/ctm/ctm_smail (installconfig)
===> usr.sbin/ctm/ctm_dequeue (installconfig)
===> usr.sbin/fdcontrol (installconfig)
===> usr.sbin/fdformat (installconfig)
===> usr.sbin/fdread (installconfig)
===> usr.sbin/fdwrite (installconfig)
===> usr.sbin/fmtree (installconfig)
===> usr.sbin/freebsd-update (installconfig)
===> usr.sbin/gssd (installconfig)
===> usr.sbin/gpioctl (installconfig)
===> usr.sbin/ip6addrctl (installconfig)
===> usr.sbin/mld6query (installconfig)
===> usr.sbin/ndp (installconfig)
===> usr.sbin/rip6query (installconfig)
===> usr.sbin/route6d (installconfig)
===> usr.sbin/rrenumd (installconfig)
===> usr.sbin/rtadvctl (installconfig)
===> usr.sbin/rtadvd (installconfig)
===> usr.sbin/rtsold (installconfig)
===> usr.sbin/traceroute6 (installconfig)
===> usr.sbin/inetd (installconfig)
===> usr.sbin/ipfwpcap (installconfig)
===> usr.sbin/iscsid (installconfig)
===> usr.sbin/jail (installconfig)
===> usr.sbin/jexec (installconfig)
===> usr.sbin/jls (installconfig)
===> usr.sbin/kbdcontrol (installconfig)
===> usr.sbin/kbdmap (installconfig)
===> usr.sbin/moused (installconfig)
===> usr.sbin/vidcontrol (installconfig)
===> usr.sbin/pppctl (installconfig)
===> usr.sbin/nscd (installconfig)
===> usr.sbin/lpr (installconfig)
===> usr.sbin/lpr/common_source (installconfig)
===> usr.sbin/lpr/chkprintcap (installconfig)
===> usr.sbin/lpr/lp (installconfig)
===> usr.sbin/lpr/lpc (installconfig)
===> usr.sbin/lpr/lpd (installconfig)
===> usr.sbin/lpr/lpq (installconfig)
===> usr.sbin/lpr/lpr (installconfig)
===> usr.sbin/lpr/lprm (installconfig)
===> usr.sbin/lpr/lptest (installconfig)
===> usr.sbin/lpr/pac (installconfig)
===> usr.sbin/lpr/filters (installconfig)
===> usr.sbin/lpr/filters.ru (installconfig)
===> usr.sbin/lpr/filters.ru/koi2alt (installconfig)
===> usr.sbin/lpr/filters.ru/koi2855 (installconfig)
===> usr.sbin/manctl (installconfig)
===> usr.sbin/flowctl (installconfig)
===> usr.sbin/lmcconfig (installconfig)
===> usr.sbin/ngctl (installconfig)
===> usr.sbin/nghook (installconfig)
===> usr.sbin/rpc.yppasswdd (installconfig)
===> usr.sbin/rpc.ypupdated (installconfig)
===> usr.sbin/rpc.ypxfrd (installconfig)
===> usr.sbin/ypbind (installconfig)
===> usr.sbin/ypldap (installconfig)
===> usr.sbin/yp_mkdb (installconfig)
===> usr.sbin/yppoll (installconfig)
===> usr.sbin/yppush (installconfig)
===> usr.sbin/ypserv (installconfig)
===> usr.sbin/ypset (installconfig)
===> usr.sbin/ntp (installconfig)
===> usr.sbin/ntp/libopts (installconfig)
===> usr.sbin/ntp/libntp (installconfig)
===> usr.sbin/ntp/libntpevent (installconfig)
===> usr.sbin/ntp/libparse (installconfig)
===> usr.sbin/ntp/ntpd (installconfig)
===> usr.sbin/ntp/ntpdc (installconfig)
===> usr.sbin/ntp/ntpq (installconfig)
===> usr.sbin/ntp/ntpdate (installconfig)
===> usr.sbin/ntp/ntptime (installconfig)
===> usr.sbin/ntp/ntp-keygen (installconfig)
===> usr.sbin/ntp/sntp (installconfig)
===> usr.sbin/ntp/doc (installconfig)
===> usr.sbin/ntp/doc/drivers (installconfig)
===> usr.sbin/ntp/doc/drivers/icons (installconfig)
===> usr.sbin/ntp/doc/drivers/scripts (installconfig)
===> usr.sbin/ntp/doc/hints (installconfig)
===> usr.sbin/ntp/doc/icons (installconfig)
===> usr.sbin/ntp/doc/pic (installconfig)
===> usr.sbin/ntp/doc/scripts (installconfig)
===> usr.sbin/keyserv (installconfig)
===> usr.sbin/pc-sysinstall (installconfig)
===> usr.sbin/pc-sysinstall/backend (installconfig)
===> usr.sbin/pc-sysinstall/backend-partmanager (installconfig)
===> usr.sbin/pc-sysinstall/backend-query (installconfig)
===> usr.sbin/pc-sysinstall/conf (installconfig)
===> usr.sbin/pc-sysinstall/doc (installconfig)
===> usr.sbin/pc-sysinstall/examples (installconfig)
===> usr.sbin/pc-sysinstall/pc-sysinstall (installconfig)
===> usr.sbin/ftp-proxy (installconfig)
===> usr.sbin/pkg (installconfig)
===> usr.sbin/pmcannotate (installconfig)
===> usr.sbin/pmccontrol (installconfig)
===> usr.sbin/pmcstat (installconfig)
===> usr.sbin/portsnap (installconfig)
===> usr.sbin/portsnap/portsnap (installconfig)
===> usr.sbin/portsnap/make_index (installconfig)
===> usr.sbin/portsnap/phttpget (installconfig)
===> usr.sbin/ppp (installconfig)
install -C -o root -g wheel -m 600  
/b

HEADS UP Avoid r295167 - r295187

2016-02-02 Thread Bryan Drewery
Avoid this range of revisions. I broke 'make distribution', causing
etcupdate to nuke /etc. Sorry about that.

-- 
Regards,
Bryan Drewery



signature.asc
Description: OpenPGP digital signature


Re: Occasional crashes, Bug or dying disk?

2016-02-02 Thread Jonathan T. Looney
On 2/2/16, 5:53 PM, "owner-freebsd-curr...@freebsd.org on behalf of
Christian Walther"  wrote:

>Hello list,
>
>since updating the current installation on my trusty Thinkpad T43 I
>keep getting occasional crashes like the following:
>
>#1  0xc0c23a03 in kern_reboot (howto=260)
>at /usr/src/sys/kern/kern_shutdown.c:364
>#2  0xc0c23f3d in vpanic (fmt=, ap=out>)
>at /usr/src/sys/kern/kern_shutdown.c:757
>#3  0xc0c23f5b in panic (fmt=0xc1590fad "ffs_blkfree_cg: freeing free
>frag")
>at /usr/src/sys/kern/kern_shutdown.c:688
>[...]
>I wonder if this might be a bug in FFS or a related subsystem, or my
>hard disk dying. smartctl lists several READ DMA und WRITE DMA related
>errors.

I (and several others) spent time trying to track down "the bug" causing
panics like this on a particular set of hardware. I finally wrote a
program that wrote and read byte patterns from the disk (using O_DIRECT).
I found that what the program read back didn't match what it wrote. In
circumstances like that, you can't expect any filesystem to work reliably.

Given the long pedigree of the UFS/FFS code, I think it is much more
likely to be a hardware problem than a problem with the UFS/FFS code.

Jonathan


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


Build failed in Jenkins: FreeBSD_HEAD #107

2016-02-02 Thread jenkins-admin
See 

--
[...truncated 336820 lines...]
===> usr.sbin/bsnmpd/modules/snmp_mibII (installconfig)
===> usr.sbin/bsnmpd/modules/snmp_target (installconfig)
===> usr.sbin/bsnmpd/modules/snmp_usm (installconfig)
===> usr.sbin/bsnmpd/modules/snmp_vacm (installconfig)
===> usr.sbin/bsnmpd/modules/snmp_wlan (installconfig)
===> usr.sbin/bsnmpd/modules/snmp_pf (installconfig)
===> usr.sbin/bsnmpd/modules/snmp_netgraph (installconfig)
===> usr.sbin/bsnmpd/tools (installconfig)
===> usr.sbin/bsnmpd/tools/libbsnmptools (installconfig)
===> usr.sbin/bsnmpd/tools/bsnmptools (installconfig)
===> usr.sbin/ctm (installconfig)
===> usr.sbin/ctm/ctm (installconfig)
===> usr.sbin/ctm/ctm_rmail (installconfig)
===> usr.sbin/ctm/ctm_smail (installconfig)
===> usr.sbin/ctm/ctm_dequeue (installconfig)
===> usr.sbin/fdcontrol (installconfig)
===> usr.sbin/fdformat (installconfig)
===> usr.sbin/fdread (installconfig)
===> usr.sbin/fdwrite (installconfig)
===> usr.sbin/fmtree (installconfig)
===> usr.sbin/freebsd-update (installconfig)
===> usr.sbin/gssd (installconfig)
===> usr.sbin/gpioctl (installconfig)
===> usr.sbin/ip6addrctl (installconfig)
===> usr.sbin/mld6query (installconfig)
===> usr.sbin/ndp (installconfig)
===> usr.sbin/rip6query (installconfig)
===> usr.sbin/route6d (installconfig)
===> usr.sbin/rrenumd (installconfig)
===> usr.sbin/rtadvctl (installconfig)
===> usr.sbin/rtadvd (installconfig)
===> usr.sbin/rtsold (installconfig)
===> usr.sbin/traceroute6 (installconfig)
===> usr.sbin/inetd (installconfig)
===> usr.sbin/ipfwpcap (installconfig)
===> usr.sbin/iscsid (installconfig)
===> usr.sbin/jail (installconfig)
===> usr.sbin/jexec (installconfig)
===> usr.sbin/jls (installconfig)
===> usr.sbin/kbdcontrol (installconfig)
===> usr.sbin/kbdmap (installconfig)
===> usr.sbin/moused (installconfig)
===> usr.sbin/vidcontrol (installconfig)
===> usr.sbin/pppctl (installconfig)
===> usr.sbin/nscd (installconfig)
===> usr.sbin/lpr (installconfig)
===> usr.sbin/lpr/common_source (installconfig)
===> usr.sbin/lpr/chkprintcap (installconfig)
===> usr.sbin/lpr/lp (installconfig)
===> usr.sbin/lpr/lpc (installconfig)
===> usr.sbin/lpr/lpd (installconfig)
===> usr.sbin/lpr/lpq (installconfig)
===> usr.sbin/lpr/lpr (installconfig)
===> usr.sbin/lpr/lprm (installconfig)
===> usr.sbin/lpr/lptest (installconfig)
===> usr.sbin/lpr/pac (installconfig)
===> usr.sbin/lpr/filters (installconfig)
===> usr.sbin/lpr/filters.ru (installconfig)
===> usr.sbin/lpr/filters.ru/koi2alt (installconfig)
===> usr.sbin/lpr/filters.ru/koi2855 (installconfig)
===> usr.sbin/manctl (installconfig)
===> usr.sbin/flowctl (installconfig)
===> usr.sbin/lmcconfig (installconfig)
===> usr.sbin/ngctl (installconfig)
===> usr.sbin/nghook (installconfig)
===> usr.sbin/rpc.yppasswdd (installconfig)
===> usr.sbin/rpc.ypupdated (installconfig)
===> usr.sbin/rpc.ypxfrd (installconfig)
===> usr.sbin/ypbind (installconfig)
===> usr.sbin/ypldap (installconfig)
===> usr.sbin/yp_mkdb (installconfig)
===> usr.sbin/yppoll (installconfig)
===> usr.sbin/yppush (installconfig)
===> usr.sbin/ypserv (installconfig)
===> usr.sbin/ypset (installconfig)
===> usr.sbin/ntp (installconfig)
===> usr.sbin/ntp/libopts (installconfig)
===> usr.sbin/ntp/libntp (installconfig)
===> usr.sbin/ntp/libntpevent (installconfig)
===> usr.sbin/ntp/libparse (installconfig)
===> usr.sbin/ntp/ntpd (installconfig)
===> usr.sbin/ntp/ntpdc (installconfig)
===> usr.sbin/ntp/ntpq (installconfig)
===> usr.sbin/ntp/ntpdate (installconfig)
===> usr.sbin/ntp/ntptime (installconfig)
===> usr.sbin/ntp/ntp-keygen (installconfig)
===> usr.sbin/ntp/sntp (installconfig)
===> usr.sbin/ntp/doc (installconfig)
===> usr.sbin/ntp/doc/drivers (installconfig)
===> usr.sbin/ntp/doc/drivers/icons (installconfig)
===> usr.sbin/ntp/doc/drivers/scripts (installconfig)
===> usr.sbin/ntp/doc/hints (installconfig)
===> usr.sbin/ntp/doc/icons (installconfig)
===> usr.sbin/ntp/doc/pic (installconfig)
===> usr.sbin/ntp/doc/scripts (installconfig)
===> usr.sbin/keyserv (installconfig)
===> usr.sbin/pc-sysinstall (installconfig)
===> usr.sbin/pc-sysinstall/backend (installconfig)
===> usr.sbin/pc-sysinstall/backend-partmanager (installconfig)
===> usr.sbin/pc-sysinstall/backend-query (installconfig)
===> usr.sbin/pc-sysinstall/conf (installconfig)
===> usr.sbin/pc-sysinstall/doc (installconfig)
===> usr.sbin/pc-sysinstall/examples (installconfig)
===> usr.sbin/pc-sysinstall/pc-sysinstall (installconfig)
===> usr.sbin/ftp-proxy (installconfig)
===> usr.sbin/pkg (installconfig)
===> usr.sbin/pmcannotate (installconfig)
===> usr.sbin/pmccontrol (installconfig)
===> usr.sbin/pmcstat (installconfig)
===> usr.sbin/portsnap (installconfig)
===> usr.sbin/portsnap/portsnap (installconfig)
===> usr.sbin/portsnap/make_index (installconfig)
===> usr.sbin/portsnap/phttpget (installconfig)
===> usr.sbin/ppp (installconfig)
install -C -o root -g wheel -m 600  
/b

Occasional crashes, Bug or dying disk?

2016-02-02 Thread Christian Walther
Hello list,

since updating the current installation on my trusty Thinkpad T43 I
keep getting occasional crashes like the following:

#1  0xc0c23a03 in kern_reboot (howto=260)
at /usr/src/sys/kern/kern_shutdown.c:364
#2  0xc0c23f3d in vpanic (fmt=, ap=)
at /usr/src/sys/kern/kern_shutdown.c:757
#3  0xc0c23f5b in panic (fmt=0xc1590fad "ffs_blkfree_cg: freeing free frag")
at /usr/src/sys/kern/kern_shutdown.c:688
#4  0xc0eb467a in ffs_blkfree_cg (ump=0xc7e11000, fs=0xc7e120d4,
devvp=, bno=32075253, size=,
inum=, dephd=)
at /usr/src/sys/ufs/ffs/ffs_alloc.c:2237
#5  0xc0eb0b27 in ffs_blkfree (ump=0x0, fs=0x0, devvp=0xc7abdc34,
bno=32075253, size=4096, vtype=,
dephd=) at /usr/src/sys/ufs/ffs/ffs_alloc.c:2343
#6  0xc0edea9a in freework_freeblock (freework=)
at /usr/src/sys/ufs/ffs/ffs_softdep.c:7749
#7  0xc0ed1f85 in handle_workitem_freeblocks (freeblks=0xc76a5d00, flags=512)
at /usr/src/sys/ufs/ffs/ffs_softdep.c:7803
#8  0xc0eda341 in process_worklist_item (mp=)
at /usr/src/sys/ufs/ffs/ffs_softdep.c:1799
#9  0xc0ec5d5f in softdep_process_worklist (mp=0xc7d8fd20, full=0)
at /usr/src/sys/ufs/ffs/ffs_softdep.c:1593
#10 0xc0eca3ee in softdep_flush (addr=0xc7d8fd20)
at /usr/src/sys/ufs/ffs/ffs_softdep.c:1395
#11 0xc0be7c9e in fork_exit (callout=0xc0eca310 )
at /usr/src/sys/kern/kern_fork.c:1010
#12 0xc1162d50 in fork_trampoline () at /usr/src/sys/i386/i386/exception.s:287

I wonder if this might be a bug in FFS or a related subsystem, or my
hard disk dying. smartctl lists several READ DMA und WRITE DMA related
errors.
Appears to be related to Bug 132960, which might celebrate it's 10th
birthday soon. ;)


Any ideas?


Best wishes,
Christian Walther
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: LSI SAS 3108 RAID Controller

2016-02-02 Thread Mike Tancsa
On 2/2/2016 12:06 PM, Zara Kanaeva wrote:
> Dear list,
> 
> I have one Fujitsu server with LSI SAS 3108 RAID Controller. These LSI
> SAS 3108 RAID Controller is supported by the mpr driver

Try and attach the mrsas driver to the card. I had a similar problem
with an onboard variant.  Either compile the kernel without the mfi
driver, or force the kernel to assign the mrsas driver to it instead of
the mfi driver.
hw.mfi.mrsas_enable=1
in /boot/loader.conf

# pciconf -lv mrsas0
mrsas0@pci0:1:0:0:  class=0x010400 card=0x080915d9 chip=0x005d1000
rev=0x02 hdr=0x00
vendor = 'LSI Logic / Symbios Logic'
device = 'MegaRAID SAS-3 3108 [Invader]'
class  = mass storage
subclass   = RAID


---Mike

-- 
---
Mike Tancsa, tel +1 519 651 3400
Sentex Communications, m...@sentex.net
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada   http://www.tancsa.com/
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: LSI SAS 3108 RAID Controller

2016-02-02 Thread Pete Wright


On 02/02/16 09:06, Zara Kanaeva wrote:
> Dear list,
> 
> I have one Fujitsu server with LSI SAS 3108 RAID Controller. These LSI
> SAS 3108 RAID Controller is supported by the mpr driver
> (https://www.freebsd.org/relnotes/CURRENT/hardware/support.html).
> If I try to install the FreeBSD-stable 10.0 or FreeBSD-current 11.0 on
> this server I can make partitions, but I can not write install files on
> the disks (better to say RAID5 virtual drive) without errors.
> The erorrs are:
> mfi0 failed to get command
> mfi0: COMMAND ... TIMEOUT AFTER  ... SECONDS
> 
> By the installations I see my virtual drive as device with mfi0 as
> identifier.
> 
> My questions are:
> 1) Why I see the virtual drive as device with mfi0 as identifier. I
> would expect that my virtual drive has identifier mpr0 or something like
> this.
> 2) Why I can install FreeBSD on one of the disks connected to LSI SAS
> 3108 RAID Controller, if the disks do not build any virtual drive (no
> matter which RAID level). Is that possible because mpr driver supports
> the LSI SAS 3108 RAID Controller as SCSI Controller and not as RAID
> Controller (see Kernel configuration)?
> 

it may be helpful to investigate your system using mfiutil(8).  It's
possible you have flaky hardware as I have used that card before with
out issues IIRC.

Hope this helps,
-pete

-- 
Pete Wright
p...@nomadlogic.org
twitter => @nomadlogicLA

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


LSI SAS 3108 RAID Controller

2016-02-02 Thread Zara Kanaeva

Dear list,

I have one Fujitsu server with LSI SAS 3108 RAID Controller. These LSI  
SAS 3108 RAID Controller is supported by the mpr driver  
(https://www.freebsd.org/relnotes/CURRENT/hardware/support.html).
If I try to install the FreeBSD-stable 10.0 or FreeBSD-current 11.0 on  
this server I can make partitions, but I can not write install files  
on the disks (better to say RAID5 virtual drive) without errors.

The erorrs are:
mfi0 failed to get command
mfi0: COMMAND ... TIMEOUT AFTER  ... SECONDS

By the installations I see my virtual drive as device with mfi0 as identifier.

My questions are:
1) Why I see the virtual drive as device with mfi0 as identifier. I  
would expect that my virtual drive has identifier mpr0 or something  
like this.
2) Why I can install FreeBSD on one of the disks connected to LSI SAS  
3108 RAID Controller, if the disks do not build any virtual drive (no  
matter which RAID level). Is that possible because mpr driver supports  
the LSI SAS 3108 RAID Controller as SCSI Controller and not as RAID  
Controller (see Kernel configuration)?


Thanks in advance, Z. Kanaeva.

--
Dipl.-Inf. Zara Kanaeva
Heidelberger Akademie der Wissenschaften
Forschungsstelle "The role of culture in early expansions of humans"
an der Universität Tübingen
Geographisches Institut
Universität Tübingen
Ruemelinstr. 19-23
72070 Tuebingen

Tel.: +49-(0)7071-2972132
e-mail: zara.kana...@geographie.uni-tuebingen.de
---
- Theory is when you know something but it doesn't work.
- Practice is when something works but you don't know why.
- Usually we combine theory and practice:
Nothing works and we don't know why.

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

Re: Cannot include header files from sys/contrib directory

2016-02-02 Thread Hans Petter Selasky

On 02/02/16 14:11, Marcin Mazurek wrote:

Now my config line looks like:

dev/al_eth/al_eth.coptional al_eth \
 no-depend\
 compile-with "${CC} -c -o ${.TARGET} ${CFLAGS}
-I$S/contrib/alpine-hal -I$S/contrib/alpine-hal/eth ${PROF} ${.IMPSRC}"


Unfortunately I still get the same errors as before:



Hi,


mkdep: compile failed


^^^ The depend will fail, this is expected. Maybe you need to clean the 
build directory after applying the config above. Note, the compile-with 
and no-depend must be the same for all files you compile.


Can you show the command you are running to build?

Can you show the full path for the .c and .h files in question?

--HPS

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


Re: ZFSROOT UEFI boot

2016-02-02 Thread Tomoaki AOKI
Thanks! The behavior is fixed and now boots as expected. :-)
Please see attached.

What's not tested yet is:
  *Fallback to UFS from ZFS in the same disk works or not.
  *Without -DEFI_DEBUG binary.

Regards.


On Mon, 1 Feb 2016 18:06:14 +
Steven Hartland  wrote:

> Ok thanks, I hoped as much, otherwise we where looking a very broken EFI 
> firmware ;-)
> 
> I've found and fixed the match issue, so if you could re-test 2 and 3 we 
> should be able confirm all is good.
> 
> If all is good a confirmation that there's no issues with the rest, but 
> no need for output, needed.
> 
>  Regards
>  Steve
> 
> On 01/02/2016 16:19, Tomoaki AOKI wrote:
> > Woops! Found mistype in Diff8 report. Sorry. :-(
> > Attached is the fixed one. [imagepath line of 1) is fixed.]
> >
> >
> > On Mon, 1 Feb 2016 23:36:27 +0900
> > Tomoaki AOKI  wrote:
> >
> >> Thanks in advance.
> >> But unfortunately, the boot behavior of Diff7 and Diff8 are changed
> >> from Diff6. Back to old problematic behavior.
> >>
> >> FYI, I re-tested Diff6 (previously built binary) and reproduced the
> >> behavior I already reported. (So no new logs for it.)
> >>
> >> Please see attached 2 files (for Diff7 and Diff8 respectively).
> >> In addition to test 2) and 3), 5) [USB boot] for Diff7 and 1) [single
> >> drive] for Diff8 are done.
> >>
> >> Regards.
> >>
> >>
> >> On Sun, 31 Jan 2016 13:58:23 +
> >> Steven Hartland  wrote:
> >>
> >>> Thanks for doing that it was very helpful, and I know transcribing from
> >>> video would have been quite a time consuming task.
> >>>
> >>> I noticed a few interesting facts:
> >>> 1. It looks like when you boot from ada0 and ada1 its still picking the
> >>> same device (according to device order).
> >>> Its not 100% clear as your devices are sata which Diff 6 didn't have
> >>> decoding for. I've added that now so hopefully we can confirm, also
> >>> added output of boot1 imgpath: so we can see what the EFI thinks the
> >>> boot device is.
> >>> 2. Your usb device path has two message path entries which means
> >>> msg_paths_match would result in a false positive for usb devices, this
> >>> is now fixed by matching until we see a media path.
> >>>
> >>> If you can now re-test the following two cases:
> >>> 2) Boot from ada0 without USB memstick attached (2 drives).
> >>> 3) Boot from ada1 without USB memstick attached (2 drives).
> >>>
> >>> I'm interested to confirm two things:
> >>> 1. If the boot1 imgpath lines do indeed vary
> >>> 2. If the "load: '/boot/loader.efi'" line devpath matches the boot1 
> >>> imgpath.
> >>>
> >>> The changes from Diff 7 shouldn't effect the outcome of the other tests,
> >>> but confirming that too wouldn't hurt but no need for the output.
> >>>
> >>>   Regards
> >>>   Steve
> >>> On 31/01/2016 11:43, Tomoaki AOKI wrote:
>  I found Diff6 you uploaded to PHABRICATOR. So my report below is based
>  on it.
> 
>  The patched boot1.efi runs as expected (== as you wrote) for me.
>  *boot1.efi without -DEFI_DEBUG isn't tested. Needed?
> 
>  As I mentioned in my previous post, I have no serial console
>  environment. So I took movie of limited tests and typed it.
> 
>  Which of the tests are typed:
> 
>  1) Boot from ada0 removing ada1, no USB memstick attached, ZFS in
> ada0 has loader.efi. (Single drive config.)
> 
>  2) Boot from ada0, no USB memstick attached, ZFS in ada0 has
> loader.efi.
> 
>  3) Boot from ada1, no USB memstick attached, ZFS in ada1 has
> loader.efi.
> 
>  4) Boot from ada1, no USB memstick attached, only UFS in ada0 has
> loader.efi.
> 
>  5) Boot from da0 (USB memstick with memstick.img of head).
> UFS in da0 has loader.efi and ZFS isn't present in da0.
> (3 drives [2 drives + USB memstick] config.)
> 
>  Please see attached text for detail. Are more outputs needed?
> 
>  Thanks in advance! I'm looking forward to see this MFC'ed before
>  releng/10.3 is branched. (Relies on imp@'s test?)
> 
> *Will need to be in conjunction with changes after r294265 in head, as
>  currently Diff6 doesn't apply to stable/10.
> 
>  Regards.
> 
> 
>  On Sat, 30 Jan 2016 19:12:34 +
>  Steven Hartland  wrote:
> 
> > I believe, based on testing, that the from Diff 5 onwards of
> > https://reviews.freebsd.org/D5108 this should work as you expect it i.e.
> >
> > If boot1 is loaded from a device which has either a UFS or ZFS bootable
> > install then this is the device that will be used to boot.
> >
> > If said device has both then the ZFS setup will still be tried first.
> >
> > If you can test in your setup and confirm either way that would be most
> > appreciated.
> >
> >Regards
> >Steve
> >
> > On 30/01/2016 06:57, Tomoaki AOKI wrote:
> >> Thanks

Re: Cannot include header files from sys/contrib directory

2016-02-02 Thread Marcin Mazurek
Now my config line looks like:

dev/al_eth/al_eth.coptional al_eth \
no-depend\
compile-with "${CC} -c -o ${.TARGET} ${CFLAGS}
-I$S/contrib/alpine-hal -I$S/contrib/alpine-hal/eth ${PROF} ${.IMPSRC}"


Unfortunately I still get the same errors as before:

In file included from
/root/mma/anpa-fbsd/sys/contrib/alpine-hal/al_hal_iofic.c:45:
/root/mma/anpa-fbsd/sys/contrib/alpine-hal/al_hal_iofic.h:52:10: error:
'al_hal_common.h' file not found with  include; use "quotes" instead
#include 
 ^
 "al_hal_common.h"
1 error generated.
/root/mma/anpa-fbsd/sys/contrib/alpine-hal/al_hal_udma_config.c:44:10:
error: 'al_hal_common.h' file not found with  include; use "quotes"
instead
#include 
 ^
 "al_hal_common.h"
/root/mma/anpa-fbsd/sys/contrib/alpine-hal/al_hal_udma_config.c:45:10:
error: 'al_hal_udma_regs.h' file not found with  include; use
"quotes" instead
#include 
 ^
 "al_hal_udma_regs.h"
/root/mma/anpa-fbsd/sys/contrib/alpine-hal/al_hal_udma_config.c:46:10:
error: 'al_hal_udma_config.h' file not found with  include; use
"quotes" instead
#include 
 ^
 "al_hal_udma_config.h"
In file included from
/root/mma/anpa-fbsd/sys/contrib/alpine-hal/al_hal_udma_iofic.c:45:
In file included from
/root/mma/anpa-fbsd/sys/contrib/alpine-hal/al_hal_udma_iofic.h:53:
/root/mma/anpa-fbsd/sys/contrib/alpine-hal/al_hal_iofic.h:52:10: error:
'al_hal_common.h' file not found with  include; use "quotes" instead
#include 
 ^
 "al_hal_common.h"
In file included from
/root/mma/anpa-fbsd/sys/contrib/alpine-hal/al_hal_udma_iofic.c:45:
/root/mma/anpa-fbsd/sys/contrib/alpine-hal/al_hal_udma_iofic.h:54:10:
error: 'al_hal_udma_regs.h' file not found with  include; use
"quotes" instead
#include 
 ^
 "al_hal_udma_regs.h"

mkdep: compile failed
*** [.depend] Error code 1

make[2]: stopped in
/root/mma/anpa-build/arm.armv6/root/mma/anpa-fbsd/sys/ALPINE
1 error

make[2]: stopped in
/root/mma/anpa-build/arm.armv6/root/mma/anpa-fbsd/sys/ALPINE
*** [buildkernel] Error code 2

make[1]: stopped in /root/mma/anpa-fbsd
1 error

make[1]: stopped in /root/mma/anpa-fbsd
*** [buildkernel] Error code 2

make: stopped in /root/mma/anpa-fbsd
1 error

make: stopped in /root/mma/anpa-fbsd


Could you tell me how can I update conf file to set a correct dependencies?

2016-02-02 13:37 GMT+01:00 Hans Petter Selasky :

> On 02/02/16 13:29, Marcin Mazurek wrote:
>
>> I just tested this, but without any result.
>> I got the same errors.
>>
>>
> Can you show the errors you got? Try temporarily adding "no-depend"
> keyword to the config line before build-with .
>
> You should also update conf/XXX to have a special depend for your files,
> because there is no depend-with option.
>
> --HPS
>
>
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: Cannot include header files from sys/contrib directory

2016-02-02 Thread Hans Petter Selasky

On 02/02/16 13:29, Marcin Mazurek wrote:

I just tested this, but without any result.
I got the same errors.



Can you show the errors you got? Try temporarily adding "no-depend" 
keyword to the config line before build-with .


You should also update conf/XXX to have a special depend for your files, 
because there is no depend-with option.


--HPS

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


Re: Cannot include header files from sys/contrib directory

2016-02-02 Thread Marcin Mazurek
I just tested this, but without any result.
I got the same errors.

2016-02-02 13:21 GMT+01:00 Hans Petter Selasky :

> On 02/02/16 13:07, Marcin Mazurek wrote:
>
>> Thanks for your response.
>>
>> I saw that and I tried doing it this way:
>>
>> dev/al_eth/al_eth.coptional al_eth  compile-with
>> "-I$S/contrib/alpine-hal -I$S/contrib/alpine-hal/eth"
>>
>>
> Hi,
>
> Try something like this:
>
> dev/al_eth/al_eth.coptional al_eth  compile-with "${CC} -c -o
> ${.TARGET} ${CFLAGS} -I$S/contrib/alpine-hal -I$S/contrib/alpine-hal/eth
> ${PROF} ${.IMPSRC}"
>
> --HPS
>
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: Cannot include header files from sys/contrib directory

2016-02-02 Thread Hans Petter Selasky

On 02/02/16 13:07, Marcin Mazurek wrote:

Thanks for your response.

I saw that and I tried doing it this way:

dev/al_eth/al_eth.coptional al_eth  compile-with
"-I$S/contrib/alpine-hal -I$S/contrib/alpine-hal/eth"



Hi,

Try something like this:

dev/al_eth/al_eth.coptional al_eth  compile-with "${CC} -c -o 
${.TARGET} ${CFLAGS} -I$S/contrib/alpine-hal -I$S/contrib/alpine-hal/eth 
${PROF} ${.IMPSRC}"


--HPS
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: Cannot include header files from sys/contrib directory

2016-02-02 Thread Marcin Mazurek
Thanks for your response.

I saw that and I tried doing it this way:

dev/al_eth/al_eth.coptional al_eth  compile-with
"-I$S/contrib/alpine-hal -I$S/contrib/alpine-hal/eth"

Unfortunately it didn't work for me, I got some error messages like:

In file included from
/root/mma/anpa-fbsd/sys/contrib/alpine-hal/eth/al_hal_eth_kr.h:51:
/root/mma/anpa-fbsd/sys/contrib/alpine-hal/eth/al_hal_eth.h:53:10: fatal
error: 'al_hal_common.h' file not found
#include "al_hal_common.h"
 ^
1 error generated.
In file included from
/root/mma/anpa-fbsd/sys/contrib/alpine-hal/al_hal_iofic.c:45:
/root/mma/anpa-fbsd/sys/contrib/alpine-hal/al_hal_iofic.h:52:10: error:
'al_hal_common.h' file not found with  include; use "quotes" instead
#include 
 ^
 "al_hal_common.h"
1 error generated.

2016-02-02 13:01 GMT+01:00 Hans Petter Selasky :

> On 02/02/16 12:46, Marcin Mazurek wrote:
>
>> Hello all,
>>
>> I'm trying to include header files in the networking driver under
>> sys/dev/,
>> however the headers are located in sys/contrib directory.
>> Does anyone have a clue or an advice on how to do this properly without
>> making too much trouble in the build system?
>> I would prefer to avoid changing content of the header files.
>>
>> I tried adding 'compile-with' + '-I' flags in files but that did not work
>> as expected.
>>
>> Thank you in advance for your help.
>>
>
> Hi,
>
> Are you in the kernel or userspace? This part is a bit troublesome and
> Bryan Drewery has some changes pending in this area. See:
>
> https://svnweb.freebsd.org/changeset/base/294915
>
> For example how it is currently done in the kernel.
>
> --HPS
>
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: Cannot include header files from sys/contrib directory

2016-02-02 Thread Hans Petter Selasky

On 02/02/16 12:46, Marcin Mazurek wrote:

Hello all,

I'm trying to include header files in the networking driver under sys/dev/,
however the headers are located in sys/contrib directory.
Does anyone have a clue or an advice on how to do this properly without
making too much trouble in the build system?
I would prefer to avoid changing content of the header files.

I tried adding 'compile-with' + '-I' flags in files but that did not work
as expected.

Thank you in advance for your help.


Hi,

Are you in the kernel or userspace? This part is a bit troublesome and 
Bryan Drewery has some changes pending in this area. See:


https://svnweb.freebsd.org/changeset/base/294915

For example how it is currently done in the kernel.

--HPS
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Cannot include header files from sys/contrib directory

2016-02-02 Thread Marcin Mazurek
Hello all,

I'm trying to include header files in the networking driver under sys/dev/,
however the headers are located in sys/contrib directory.
Does anyone have a clue or an advice on how to do this properly without
making too much trouble in the build system?
I would prefer to avoid changing content of the header files.

I tried adding 'compile-with' + '-I' flags in files but that did not work
as expected.

Thank you in advance for your help.

Marcin Mazurek
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"