Jenkins build is back to normal : FreeBSD_HEAD #284

2016-05-17 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"


Build failed in Jenkins: FreeBSD_HEAD #283

2016-05-17 Thread jenkins-admin
See 

--
[...truncated 316493 lines...]
===> usr.sbin/quotaon (installconfig)
===> usr.sbin/repquota (installconfig)
===> usr.sbin/rwhod (installconfig)
===> usr.sbin/etcupdate (installconfig)
===> usr.sbin/editmap (installconfig)
===> usr.sbin/mailstats (installconfig)
===> usr.sbin/makemap (installconfig)
===> usr.sbin/praliases (installconfig)
===> usr.sbin/sendmail (installconfig)
===> usr.sbin/tcpdchk (installconfig)
===> usr.sbin/tcpdmatch (installconfig)
===> usr.sbin/timed (installconfig)
===> usr.sbin/timed/timed (installconfig)
===> usr.sbin/timed/timedc (installconfig)
===> usr.sbin/config (installconfig)
===> usr.sbin/crunch (installconfig)
===> usr.sbin/crunch/crunchgen (installconfig)
===> usr.sbin/crunch/crunchide (installconfig)
===> usr.sbin/unbound (installconfig)
===> usr.sbin/unbound/daemon (installconfig)
===> usr.sbin/unbound/anchor (installconfig)
===> usr.sbin/unbound/checkconf (installconfig)
===> usr.sbin/unbound/control (installconfig)
===> usr.sbin/unbound/local-setup (installconfig)
===> usr.sbin/uathload (installconfig)
===> usr.sbin/uhsoctl (installconfig)
===> usr.sbin/usbconfig (installconfig)
===> usr.sbin/usbdump (installconfig)
===> usr.sbin/ac (installconfig)
===> usr.sbin/lastlogin (installconfig)
===> usr.sbin/utx (installconfig)
===> usr.sbin/ancontrol (installconfig)
===> usr.sbin/wlandebug (installconfig)
===> usr.sbin/wpa (installconfig)
===> usr.sbin/wpa/wpa_supplicant (installconfig)
===> usr.sbin/wpa/wpa_cli (installconfig)
===> usr.sbin/wpa/wpa_passphrase (installconfig)
===> usr.sbin/wpa/hostapd (installconfig)
===> usr.sbin/wpa/hostapd_cli (installconfig)
===> usr.sbin/wpa/ndis_events (installconfig)
===> etc (installconfig)
===> etc/newsyslog.conf.d (installconfig)
===> etc/sendmail (installconfig)
+ [ -z '' ]
+ FSTAB='
# DeviceMountpoint  FStype  Options DumpPass#
/procfs /proc   procfs  rw  0   0
fdesc   /dev/fd fdescfs rw  0   0
/dev/ufs/TESTROOT /ufsrw  1   1
'
+ [ -z '' ]
+ RC_CONF='
sshd_enable="YES"
'
+ cd /builds/workspace/FreeBSD_HEAD
+ sudo rm -fr tmp
+ mkdir -p tmp
+ cat
+ sudo cp tmp/fstab /builds/workspace/FreeBSD_HEAD/package/src/etc/fstab
+ sudo cp /etc/resolv.conf 
/builds/workspace/FreeBSD_HEAD/package/src/etc/resolv.conf
+ cat
+ [ -n freebsd-ci/scripts/test/config/config.json ]
+ python -c 'import json; f = 
open('\''freebsd-ci/scripts/test/config/config.json'\'', '\''r'\''); j = 
json.load(f); print(j['\''interface'\''])'
+ INTERFACE=vtnet0
+ python -c 'import json; f = 
open('\''freebsd-ci/scripts/test/config/config.json'\'', '\''r'\''); j = 
json.load(f); print(j['\''ip'\''])'
+ IP=192.168.10.2
+ cat
+ sudo cp tmp/rc.conf /builds/workspace/FreeBSD_HEAD/package/src/etc/rc.conf
+ sudo cp /builds/workspace/FreeBSD_HEAD/package/src/etc/ssh/sshd_config 
tmp/sshd_config
+ sed -i '' -e /PermitRootLogin/d tmp/sshd_config
+ whoami
+ date
+ cat
+ sudo cp tmp/sshd_config 
/builds/workspace/FreeBSD_HEAD/package/src/etc/ssh/sshd_config
+ sudo chroot /builds/workspace/FreeBSD_HEAD/package/src /bin/sh -c 'echo test 
| pw mod user root -h 0'
+ [ -z '' ]
+ sudo /usr/local/sbin/pkg-static -c /builds/workspace/FreeBSD_HEAD/package/src 
install -y ports-mgmt/pkg devel/kyua devel/autoconf shells/bash
pkg-static: Warning: Major OS version upgrade detected.  Running "pkg-static 
install -f pkg" recommended
Updating FreeBSD repository catalogue...
Fetching meta.txz: . done
Fetching packagesite.txz: .. done
Processing entries: .. done
FreeBSD repository update completed. 25192 packages processed.
The following 16 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
pkg: 1.7.2
kyua: 0.11_1,3
autoconf: 2.69
bash: 4.3.42_1
pkgconf: 0.9.12_1
sqlite3: 3.12.2
readline: 6.3.8
indexinfo: 0.2.4
atf: 0.21
lutok: 0.4_6
lua52: 5.2.4
libedit: 3.1.20150325_2
autoconf-wrapper: 20131203
perl5: 5.20.3_13
m4: 1.4.17_1,1
gettext-runtime: 0.19.7

The process will require 104 MiB more space.
23 MiB to be downloaded.
Fetching pkg-1.7.2.txz: .. done
Fetching kyua-0.11_1,3.txz: .. done
Fetching autoconf-2.69.txz: .. done
Fetching bash-4.3.42_1.txz: .. done
Fetching pkgconf-0.9.12_1.txz: ... done
Fetching sqlite3-3.12.2.txz: .. done
Fetching readline-6.3.8.txz: .. done
Fetching indexinfo-0.2.4.txz: . done
Fetching atf-0.21.txz: .. done
Fetching lutok-0.4_6.txz: .. done
Fetching lua52-5.2.4.txz: .. done
Fetching libedit-3.1.20150325_2.txz: .. done
Fetching autoconf-wrapper-20131203.txz: . done
Fetching perl5-5.20.3_13.txz: .. done
Fetching m4-1.4.17_1,1.txz: .. done
Fetching 

Build failed in Jenkins: FreeBSD_HEAD #282

2016-05-17 Thread jenkins-admin
See 

--
[...truncated 316542 lines...]
===> usr.sbin/quotaon (installconfig)
===> usr.sbin/repquota (installconfig)
===> usr.sbin/rwhod (installconfig)
===> usr.sbin/etcupdate (installconfig)
===> usr.sbin/editmap (installconfig)
===> usr.sbin/mailstats (installconfig)
===> usr.sbin/makemap (installconfig)
===> usr.sbin/praliases (installconfig)
===> usr.sbin/sendmail (installconfig)
===> usr.sbin/tcpdchk (installconfig)
===> usr.sbin/tcpdmatch (installconfig)
===> usr.sbin/timed (installconfig)
===> usr.sbin/timed/timed (installconfig)
===> usr.sbin/timed/timedc (installconfig)
===> usr.sbin/config (installconfig)
===> usr.sbin/crunch (installconfig)
===> usr.sbin/crunch/crunchgen (installconfig)
===> usr.sbin/crunch/crunchide (installconfig)
===> usr.sbin/unbound (installconfig)
===> usr.sbin/unbound/daemon (installconfig)
===> usr.sbin/unbound/anchor (installconfig)
===> usr.sbin/unbound/checkconf (installconfig)
===> usr.sbin/unbound/control (installconfig)
===> usr.sbin/unbound/local-setup (installconfig)
===> usr.sbin/uathload (installconfig)
===> usr.sbin/uhsoctl (installconfig)
===> usr.sbin/usbconfig (installconfig)
===> usr.sbin/usbdump (installconfig)
===> usr.sbin/ac (installconfig)
===> usr.sbin/lastlogin (installconfig)
===> usr.sbin/utx (installconfig)
===> usr.sbin/ancontrol (installconfig)
===> usr.sbin/wlandebug (installconfig)
===> usr.sbin/wpa (installconfig)
===> usr.sbin/wpa/wpa_supplicant (installconfig)
===> usr.sbin/wpa/wpa_cli (installconfig)
===> usr.sbin/wpa/wpa_passphrase (installconfig)
===> usr.sbin/wpa/hostapd (installconfig)
===> usr.sbin/wpa/hostapd_cli (installconfig)
===> usr.sbin/wpa/ndis_events (installconfig)
===> etc (installconfig)
===> etc/newsyslog.conf.d (installconfig)
===> etc/sendmail (installconfig)
+ [ -z '' ]
+ FSTAB='
# DeviceMountpoint  FStype  Options DumpPass#
/procfs /proc   procfs  rw  0   0
fdesc   /dev/fd fdescfs rw  0   0
/dev/ufs/TESTROOT /ufsrw  1   1
'
+ [ -z '' ]
+ RC_CONF='
sshd_enable="YES"
'
+ cd /builds/workspace/FreeBSD_HEAD
+ sudo rm -fr tmp
+ mkdir -p tmp
+ cat
+ sudo cp tmp/fstab /builds/workspace/FreeBSD_HEAD/package/src/etc/fstab
+ sudo cp /etc/resolv.conf 
/builds/workspace/FreeBSD_HEAD/package/src/etc/resolv.conf
+ cat
+ [ -n freebsd-ci/scripts/test/config/config.json ]
+ python -c 'import json; f = 
open('\''freebsd-ci/scripts/test/config/config.json'\'', '\''r'\''); j = 
json.load(f); print(j['\''interface'\''])'
+ INTERFACE=vtnet0
+ python -c 'import json; f = 
open('\''freebsd-ci/scripts/test/config/config.json'\'', '\''r'\''); j = 
json.load(f); print(j['\''ip'\''])'
+ IP=192.168.10.2
+ cat
+ sudo cp tmp/rc.conf /builds/workspace/FreeBSD_HEAD/package/src/etc/rc.conf
+ sudo cp /builds/workspace/FreeBSD_HEAD/package/src/etc/ssh/sshd_config 
tmp/sshd_config
+ sed -i '' -e /PermitRootLogin/d tmp/sshd_config
+ whoami
+ date
+ cat
+ sudo cp tmp/sshd_config 
/builds/workspace/FreeBSD_HEAD/package/src/etc/ssh/sshd_config
+ sudo chroot /builds/workspace/FreeBSD_HEAD/package/src /bin/sh -c 'echo test 
| pw mod user root -h 0'
+ [ -z '' ]
+ sudo /usr/local/sbin/pkg-static -c /builds/workspace/FreeBSD_HEAD/package/src 
install -y ports-mgmt/pkg devel/kyua devel/autoconf shells/bash
pkg-static: Warning: Major OS version upgrade detected.  Running "pkg-static 
install -f pkg" recommended
Updating FreeBSD repository catalogue...
Fetching meta.txz: . done
Fetching packagesite.txz: .. done
Processing entries: .. done
FreeBSD repository update completed. 25192 packages processed.
The following 16 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
pkg: 1.7.2
kyua: 0.11_1,3
autoconf: 2.69
bash: 4.3.42_1
pkgconf: 0.9.12_1
sqlite3: 3.12.2
readline: 6.3.8
indexinfo: 0.2.4
atf: 0.21
lutok: 0.4_6
lua52: 5.2.4
libedit: 3.1.20150325_2
autoconf-wrapper: 20131203
perl5: 5.20.3_13
m4: 1.4.17_1,1
gettext-runtime: 0.19.7

The process will require 104 MiB more space.
23 MiB to be downloaded.
Fetching pkg-1.7.2.txz: .. done
Fetching kyua-0.11_1,3.txz: .. done
Fetching autoconf-2.69.txz: .. done
Fetching bash-4.3.42_1.txz: .. done
Fetching pkgconf-0.9.12_1.txz: ... done
Fetching sqlite3-3.12.2.txz: .. done
Fetching readline-6.3.8.txz: .. done
Fetching indexinfo-0.2.4.txz: . done
Fetching atf-0.21.txz: .. done
Fetching lutok-0.4_6.txz: .. done
Fetching lua52-5.2.4.txz: .. done
Fetching libedit-3.1.20150325_2.txz: .. done
Fetching autoconf-wrapper-20131203.txz: . done
Fetching perl5-5.20.3_13.txz: .. done
Fetching m4-1.4.17_1,1.txz: .. done
Fetching 

Re: UEFI dual boot zfs root

2016-05-17 Thread Andreas Nilsson
On Tue, May 17, 2016 at 7:31 PM, Ben Woods  wrote:

> On Tuesday, 17 May 2016, Warren Block  wrote:
>
>> On Sun, 15 May 2016, Andreas Nilsson wrote:
>>
>> Hello,
>>>
>>> I'm trying to install current on my lenovo x1 yoga ( and keeping it dual
>>> boot for now).
>>>
>>> I have a fair amount of disk free after resizing. I can't seem to workout
>>> how to do the partitioning. Do I only need the freebsd-zfs partition (
>>> assuming no/zvol-swap?
>>>
>>
>> I would think, but have not tested ZFS with UEFI.
>>
>> Do I manually copy boot1.efi to the existing EFI partition?
>>>
>>
>> Yes.  Mount the EFI partition with msdosfs, then copy boot1.efi to
>> /EFI/BOOT/.  Then comes the tricky part, getting the UEFI firmware to add
>> that as a boot option.  In a Dell UEFI system, it could be added to the
>> boot options, and the firmware has the user select the file from the EFI
>> partition for that option.
>> ___
>> 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
>> "
>>
>
> Indeed, just 4 days ago I installed a recent snapshot of FreeBSD 11
> current, with root on ZFS and UEFI.
>
> I had to do 2 steps manually, as they were not supported by the installer
> as an auto option:
>
> 1. The auto root on ZFS settings don't let you use a partition or spare
> space... You must give it a full disk. But because I was dual booting
> Windows I chose manual partitioning, dropped to a shell and setup the zpool
> and zfs datasets manually, with altroot=/mnt. Rather than follow one of the
> outdated wiki manuals, I used them as a general guide, but read the
> bsdinstall auto shell script to set it up with the same datasets and
> properties.
>
> 2. After the install had completed, I had to mount my efi partition as
> msdosfs and copy the boot1.efi to it. For me, I have installed the rEFInd
> boot loader, so I just copy the file into /EFI/Boot/ and it shows up in the
> menu upon boot.
> http://www.rodsbooks.com/refind/
>
> The FreeBSD EFI loading of a ZFS file system works great!
>
> Cheers,
> Ben
>
>
> --
>
> --
> From: Benjamin Woods
> woods...@gmail.com


Thank you both! I'll resume the installation procedures then!

Best regards
Andreas
___
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"


riscv buildkernel error

2016-05-17 Thread Shawn Webb
Hey All,

I’m getting this error when doing a buildkernel for RISC-V on the latest HEAD:

=== Begin Log ===
In file included from /usr/src/sys/riscv/riscv/genassym.c:44:0:
/usr/src/sys/sys/bus.h:688:23: fatal error: device_if.h: No such file or 
directory
compilation terminated.
*** Error code 1

Stop.
make[2]: stopped in /usr/obj/riscv.riscv64/usr/src/sys/QEMU
=== End Log ===

I am using HardenedBSD’s source tree. Nothing has changed on HardenedBSD’s side 
in genassym.c.

Thanks,

Shawn Webb
Cofounder and Security Engineer
HardenedBSD

GPG Key ID:  0x6A84658F52456EEE
GPG Key Fingerprint: 2ABA B6BD EF6A F486 BE89  3D9E 6A84 658F 5245 6EEE



signature.asc
Description: Message signed with OpenPGP using GPGMail


UEFI booting & serial console

2016-05-17 Thread Dustin Marquess
All,

I have a couple of Lenovo ThinkServer RD450 servers booting in pure
UEFI mode.  I'm using serial console redirection over IPMI with these
and a fresh install from r298793.

When it boots it picks up the right serial settings and I get the menu:

>> FreeBSD EFI boot block
   Loader path: /boot/loader.efi

   Initializing modules: ZFS UFS
   Probing 13 block devices...+...*..+. done
ZFS found the following pools: zroot
UFS found 1 partition
command args: -S115200 -h
Consoles: EFI console
Command line arguments: loader.efi -S115200 -h
Image base: 0x443aa000
EFI version: 2.40
EFI Firmware: American Megatrends (rev 5.11)

FreeBSD/amd64 EFI loader, Revision 1.1
(r...@releng2.nyi.freebsd.org, Fri Apr 29 20:40:25 UTC 2016)
Loading /boot/defaults/loader.conf
\


However I can't seen to interact with it using either IPMI SoL or via
the IPKVM.  Is this normal?

Thanks!
-Dustin
___
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: UEFI dual boot zfs root

2016-05-17 Thread Ben Woods
On Tuesday, 17 May 2016, Warren Block  wrote:

> On Sun, 15 May 2016, Andreas Nilsson wrote:
>
> Hello,
>>
>> I'm trying to install current on my lenovo x1 yoga ( and keeping it dual
>> boot for now).
>>
>> I have a fair amount of disk free after resizing. I can't seem to workout
>> how to do the partitioning. Do I only need the freebsd-zfs partition (
>> assuming no/zvol-swap?
>>
>
> I would think, but have not tested ZFS with UEFI.
>
> Do I manually copy boot1.efi to the existing EFI partition?
>>
>
> Yes.  Mount the EFI partition with msdosfs, then copy boot1.efi to
> /EFI/BOOT/.  Then comes the tricky part, getting the UEFI firmware to add
> that as a boot option.  In a Dell UEFI system, it could be added to the
> boot options, and the firmware has the user select the file from the EFI
> partition for that option.
> ___
> 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"
>

Indeed, just 4 days ago I installed a recent snapshot of FreeBSD 11
current, with root on ZFS and UEFI.

I had to do 2 steps manually, as they were not supported by the installer
as an auto option:

1. The auto root on ZFS settings don't let you use a partition or spare
space... You must give it a full disk. But because I was dual booting
Windows I chose manual partitioning, dropped to a shell and setup the zpool
and zfs datasets manually, with altroot=/mnt. Rather than follow one of the
outdated wiki manuals, I used them as a general guide, but read the
bsdinstall auto shell script to set it up with the same datasets and
properties.

2. After the install had completed, I had to mount my efi partition as
msdosfs and copy the boot1.efi to it. For me, I have installed the rEFInd
boot loader, so I just copy the file into /EFI/Boot/ and it shows up in the
menu upon boot.
http://www.rodsbooks.com/refind/

The FreeBSD EFI loading of a ZFS file system works great!

Cheers,
Ben


-- 

--
From: Benjamin Woods
woods...@gmail.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: UEFI dual boot zfs root

2016-05-17 Thread Warren Block

On Sun, 15 May 2016, Andreas Nilsson wrote:


Hello,

I'm trying to install current on my lenovo x1 yoga ( and keeping it dual
boot for now).

I have a fair amount of disk free after resizing. I can't seem to workout
how to do the partitioning. Do I only need the freebsd-zfs partition (
assuming no/zvol-swap?


I would think, but have not tested ZFS with UEFI.


Do I manually copy boot1.efi to the existing EFI partition?


Yes.  Mount the EFI partition with msdosfs, then copy boot1.efi to 
/EFI/BOOT/.  Then comes the tricky part, getting the UEFI firmware to 
add that as a boot option.  In a Dell UEFI system, it could be added to 
the boot options, and the firmware has the user select the file from the 
EFI partition for that option.

___
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: EARLY_AP_STARTUP hangs during boot

2016-05-17 Thread Gary Jennejohn
On Mon, 16 May 2016 10:54:19 -0700
John Baldwin  wrote:

> On Monday, May 16, 2016 12:22:42 PM Gary Jennejohn wrote:
> > I tried out EARLY_AP_STARTUP, but the kernel hangs and I can't
> > break into DDB.
> > 
> > I did a verbose boot and the last lines I see are related to routing
> > MSI-X to various local APIC vectors.  I copied the last few lines and
> > they look like this:
> > 
> > msi: routing MSI-X IRQ 256 to local APIC 2 vector 48
> > msi: routing MSI-X IRQ 257 to local APIC 3 vector 48
> > msi: routing MSI-X IRQ 258 to local APIC 4 vector 48
> > msi: routing MSI-X IRQ 256 to local APIC 0 vector 49
 ^^^ Assigning
> > 
> > I tried disabling msi and msix in /boot/loader.conf, but the settings
> > were ignored (probabaly too early).  
> 
> No, those settings are not too early.  However, the routing to different
> CPUs now happens earlier than it used to.  What is the line before the
> MSI lines?  You can take a picture with your phone/camera if that's simplest.
> 

Here a few lines before the MSI routing happens:

hpet0:  iomem 0xfed0-0xfed003ff irq 0,8 on acpi0
hpet0: vendor 0x4353, rev 0x1, 14318180 Hz, 3 timers, legacy route
hpet0: t0 : irqs 0x00c0ff (0), MSI, periodic
hpet0: t1 : irqs 0x00c0ff (0), MSI, periodic
hpet0: t2 : irqs 0x00c0ff (0), MSI, periodic
Timecounter "HPET" frequency 14318180 Hz quality 950

-- 
Gary Jennejohn
___
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 #278

2016-05-17 Thread jenkins-admin
See 

--
Started by an SCM change
Started by an SCM change
 > git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url https://github.com/freebsd/freebsd-ci.git # 
 > timeout=10
Fetching upstream changes from https://github.com/freebsd/freebsd-ci.git
 > git --version # timeout=10
 > git -c core.askpass=true fetch --tags --progress 
 > https://github.com/freebsd/freebsd-ci.git 
 > +refs/heads/*:refs/remotes/origin/* --depth=1
 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10
 > git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10
Checking out Revision 926429031e0241da821577c12b4b8f7db789e7e1 
(refs/remotes/origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 926429031e0241da821577c12b4b8f7db789e7e1
 > git rev-list 926429031e0241da821577c12b4b8f7db789e7e1 # timeout=10
[Pipeline] node
Still waiting to schedule task
jenkins-10.freebsd.org is offline
Resuming build
Aborted by lwhsu
[Pipeline] // node
[Pipeline] node
Running on master in /usr/local/jenkins/workspace/FreeBSD_HEAD
[Pipeline] {
[Pipeline] step
___
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"


panic: destroying non-empty racct: 2113536 allocated for resource 4

2016-05-17 Thread Andriy Gapon

To be fair I got this panic after some exotic sequence of events: running
poudriere, sending SIGSTOP to one of build processes, forgetting about it,
seeing poudriere timeout that job, sending SIGCONT...

This is amd64 head r297350.

Some details:
(kgdb) bt
#0  doadump (textdump=1) at /usr/src/sys/kern/kern_shutdown.c:295
#1  0x8062d7ef in kern_reboot (howto=) at
/usr/src/sys/kern/kern_shutdown.c:363
#2  0x8062de38 in vpanic (fmt=, ap=0xfe0519b73920) at
/usr/src/sys/kern/kern_shutdown.c:639
#3  0x8062db43 in panic (fmt=) at
/usr/src/sys/kern/kern_shutdown.c:572
#4  0x8061ef1c in racct_destroy_locked (racctp=) at
/usr/src/sys/kern/kern_racct.c:478
#5  0x8061ee45 in racct_destroy (racct=0xf802f6301518) at
/usr/src/sys/kern/kern_racct.c:495
#6  0x805fdd3c in prison_racct_free_locked (prr=0xf802f6301400) at
/usr/src/sys/kern/kern_jail.c:4564
#7  0x805fdc8d in prison_racct_free (prr=0xf802f6301400) at
/usr/src/sys/kern/kern_jail.c:4583
#8  0x805fddee in prison_racct_detach (pr=0xf802b073) at
/usr/src/sys/kern/kern_jail.c:4658
#9  0x805fb2cb in prison_deref (pr=, flags=3) at
/usr/src/sys/kern/kern_jail.c:2663
#10 0x805fca25 in prison_remove_one (pr=) at
/usr/src/sys/kern/kern_jail.c:2358
#11 0x805fc8e4 in sys_jail_remove (td=, uap=) at /usr/src/sys/kern/kern_jail.c:2313
#12 0x80820ddd in syscallenter (td=0xf801146019e0,
sa=0xfe0519b73b80) at /usr/src/sys/amd64/amd64/../../kern/subr_syscall.c:135
#13 0x808209af in amd64_syscall (td=0xf801146019e0, traced=0) at
/usr/src/sys/amd64/amd64/trap.c:943

RACCT_RSS is 4.

(kgdb) p *prr
$5 = {
  prr_next = {
le_next = 0xf80382fe4400,
le_prev = 0xf8017ac90600
  },
  prr_name = "basejail-default-job-03", '\000' ,
  prr_refcount = 0,
  prr_racct = 0xf802e3f520b0
}
(kgdb) p *prr->prr_racct
$6 = {
  r_resources = {13884177072, 0, 0, 0, 2113536, 0 ,
13611325009, 0},
  r_rule_links = {
lh_first = 0x0
  }
}

Could it be that somehow the CONT'd process failed to deduct its resources from
the jail's resources because the jail was already marked for destruction or
something like that?

-- 
Andriy Gapon
___
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"