[Bug 213983] Lenovo B590 does not boot in EFI mode

2018-07-01 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=213983

--- Comment #8 from snthib...@gmail.com ---
I tried modifying the boot image as you suggested, but this turns out to be
difficult without a FreeBSD installation, since Ubuntu/Windows cannot write to
UFS.
Any suggestions to make this modification quickly?

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 225159] `make installkernel’ should display a “completed” message if done

2018-07-01 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=225159

--- Comment #3 from commit-h...@freebsd.org ---
A commit references this bug:

Author: wosch
Date: Sun Jul  1 10:05:46 UTC 2018
New revision: 335838
URL: https://svnweb.freebsd.org/changeset/base/335838

Log:
  `make installworld' should display "completed" message if done

  PR: 225159
  Reviewed by:bdrewery
  Approved by:cem (mentor)
  Differential Revision:  https://reviews.freebsd.org/D14057

Changes:
  head/Makefile.inc1

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 207940] [patch] sys/boot/efi/boot1 select boot partition

2018-07-01 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=207940

nico...@deffayet.com changed:

   What|Removed |Added

 CC||nico...@deffayet.com

--- Comment #23 from nico...@deffayet.com ---
The patch can be applied on FreeBSD 11.1-RELEASE but not anymore on FreeBSD
11.2-RELEASE due to big change in boot1.c.

For exemple, hd->PartitionNumber didn't exist anymore in boot1.c of FreeBSD
11.2-RELEASE.

Anyone can make this patch working on 11.2-RELEASE ?

Many thanks

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 207940] [patch] sys/boot/efi/boot1 select boot partition

2018-07-01 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=207940

--- Comment #24 from nico...@deffayet.com ---
See https://svnweb.freebsd.org/changeset/base/329114 for big changes done
between 11.1-RELEASE and 11.2-RELEASE.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 213983] Lenovo B590 does not boot in EFI mode

2018-07-01 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=213983

--- Comment #9 from Kyle Evans  ---
(In reply to snthibaud from comment #8)

I could whip up an image based on a recent snapshot with the requested
modifications made, if you'd be willing to boot it. If so- amd64-memstick or a
different image?

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 229453] ps (process status) charset problem

2018-07-01 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=229453

Bug ID: 229453
   Summary: ps (process status) charset problem
   Product: Base System
   Version: 11.1-RELEASE
  Hardware: i386
OS: Any
Status: New
  Severity: Affects Many People
  Priority: ---
 Component: bin
  Assignee: b...@freebsd.org
  Reporter: veg...@yandex.ru

If current LOCALE not UTF-8, national encoding in "ps" output broken.

For example, mplayer with cyrillic args (filename in KOI8-R) not present in
"COMMAND" column.

Bug in bin/ps/ps.c:

# diff -u bin/ps/ps.c.orig bin/ps/ps.c 
--- bin/ps/ps.c.orig2017-07-21 06:43:20.0 +0700
+++ bin/ps/ps.c 2018-07-01 22:05:52.817718000 +0700
@@ -668,7 +668,7 @@
fwidthmin = (xo_get_style(NULL) != XO_STYLE_TEXT ||
(STAILQ_NEXT(vent, next_ve) == NULL &&
(vent->var->flag & LJUST))) ? 0 : vent->var->width;
-   snprintf(fmtbuf, sizeof(fmtbuf), "{:%s/%%%s%d..%ds}",
+   snprintf(fmtbuf, sizeof(fmtbuf), "{:%s/%%%s%d..%dhs}",
vent->var->field ?: vent->var->name,
(vent->var->flag & LJUST) ? "-" : "",
fwidthmin, fwidthmax);


Function xo_emit requires an argument %s in UTF-8 only encoding. But acceptably
replace %s with %hs, in which case pass argument in $LANG encoding.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 207940] [patch] sys/boot/efi/boot1 select boot partition

2018-07-01 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=207940

--- Comment #25 from Tomoaki AOKI  ---
Created attachment 194818
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=194818&action=edit
boot1.c patch rev4 for stable/11 r330813 and later

Quick and ugly hack by mainly reviving deleted-but-needed-for-patch codes.
Should be applicable to 11.2, as releng/11.2 branched after r330813 (at
r334459).
I had not enough time to dig into code changes to be tracked. :-(

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 229453] ps (process status) charset problem

2018-07-01 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=229453

Vladimir  changed:

   What|Removed |Added

   Keywords||patch
   Severity|Affects Many People |Affects Some People
 CC||veg...@yandex.ru

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 229454] System enabled for FC target mode using QLOGIC HBA panics with “fault code = supervisor write data, page not present - Fatal trap 12: page fault while in kernel mode”

2018-07-01 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=229454

Bug ID: 229454
   Summary: System enabled for FC target mode using QLOGIC HBA
panics with “fault code = supervisor write data, page
not present - Fatal trap 12: page fault while in
kernel mode”
   Product: Base System
   Version: 11.1-RELEASE
  Hardware: Any
OS: Any
Status: New
  Severity: Affects Only Me
  Priority: ---
 Component: kern
  Assignee: b...@freebsd.org
  Reporter: setsqu...@gmail.com

Hi,

Pulling my hair out with this one.

System overview:

Intel(R) Xeon(R) CPU E3-1245 v6 @ 3.70GHz
32GB ECC RAM
Quad port QLOGIC PCIe adaptor listed as “Qlogic ISP 2432 PCI FC-AL Adapter” (1
of the ports is not connected, but 3 are)
No fibre channel switches are being used, connectivity is directly from the FC
HBA on the FreeBSD storage server to 3x ESXi hosts.
FC Target devices for CTL, tried both physical block devices and ZVOLS on ZFS,
the problem occurs with both.
FC Target devices for CTL are SAMSUNG SSD’s (EVO 840/850) & Crucial
CT240M500SSD1
Problem does not seem to occur when using ISCSI using the same target devices
for CTL, only seen the panic when using FC on the same server hardware.
3 LUNs were presented to the ESXi hosts (issue occurs with direct block device
and ZVOL backing)

Kernel compiled with following in config file:

include GENERIC
ident FCTARGETMODE

device  ispfw
options ISP_TARGET_MODE
options ISP_DEFAULT_ROLES=1

Problem description:

The FreeBSD storage system as a FC target seems to function without issue using
a single ESXi host as an initiator (from what I can tell, no panics). After
additional ESXi hosts are powered on and the system becomes more active, higher
load, storage vMotions a system panic occurs with the following. I have only
ever noticed the panics when there are multiple systems accessing the target
concurrently.

Under FreeBSD 10.4-RELEASE-p8 (Seems to have more info in crash textdump):

Fatal trap 12: page fault while in kernel mode
cpuid = 2; apic id = 02
fault virtual address   = 0x0
fault code  = supervisor write data, page not present
instruction pointer = 0x20:0x8057a028
stack pointer   = 0x28:0xfe07c69fb230
frame pointer   = 0x28:0xfe07c69fb2b0
code segment= base 0x0, limit 0xf, type 0x1b
= DPL 0, pres 1, long 1, def32 0, gran 1
processor eflags= interrupt enabled, resume, IOPL = 0
current process = 12 (irq270: isp3:0)
trap number = 12
panic: page fault
cpuid = 2
KDB: stack backtrace:
#0 0x809d0340 at kdb_backtrace+0x60
#1 0x80990c16 at vpanic+0x126
#2 0x80990ae3 at panic+0x43
#3 0x80db03cd at trap_fatal+0x35d
#4 0x80db06e8 at trap_pfault+0x308
#5 0x80dafd4a at trap+0x47a
#6 0x80d9551c at calltrap+0x8
#7 0x80578702 at isp_async+0x13b2
#8 0x8058c9af at isp_target_notify+0xf9f
#9 0x80570fd4 at isp_intr_atioq+0xa4
#10 0x805896bb at isp_pci_run_isr_2400+0xab
#11 0x8057ab23 at isp_platform_intr+0x53
#12 0x8095a0a9 at intr_event_execute_handlers+0xb9
#13 0x8095a516 at ithread_loop+0x96
#14 0x8095796a at fork_exit+0x9a
#15 0x80d95a5e at fork_trampoline+0xe
Uptime: 20h32m44s
Dumping 1447 out of 32633 MB:..2%..12%..21%..31%..41%..51%..61%..71%..81%..91%

Reading symbols from /boot/kernel/ctl.ko.symbols...done.
Loaded symbols for /boot/kernel/ctl.ko.symbols
Reading symbols from /boot/kernel/iscsi.ko.symbols...done.
Loaded symbols for /boot/kernel/iscsi.ko.symbols
#0  doadump (textdump=) at pcpu.h:219
219 pcpu.h: No such file or directory.
in pcpu.h
(kgdb) #0  doadump (textdump=) at pcpu.h:219
#1  0x80990833 in kern_reboot (howto=260)
at /usr/src/sys/kern/kern_shutdown.c:486
#2  0x80990c55 in vpanic (fmt=, 
ap=) at /usr/src/sys/kern/kern_shutdown.c:889
#3  0x80990ae3 in panic (fmt=0x0)
at /usr/src/sys/kern/kern_shutdown.c:818
#4  0x80db03cd in trap_fatal (frame=, 
eva=) at /usr/src/sys/amd64/amd64/trap.c:858
#5  0x80db06e8 in trap_pfault (frame=0xfe07c69fb180, 
usermode=) at /usr/src/sys/amd64/amd64/trap.c:681
#6  0x80dafd4a in trap (frame=0xfe07c69fb180)
at /usr/src/sys/amd64/amd64/trap.c:447
#7  0x80d9551c in calltrap ()
at /usr/src/sys/amd64/amd64/exception.S:238
#8  0x8057a028 in isp_handle_platform_atio7 (
isp=, aep=0xfe07c69fb5c0)
at /usr/src/sys/dev/isp/isp_freebsd.c:1931
#9  0x80578702 in isp_async (isp=0xf80009723800, 
cmd=) at /usr/src/sys/dev/isp/isp_freebsd.c:3941
#10 0x8058c9af in isp_target_notify (isp=, 
vptr=, optrp=)
at /usr/src/sys/dev/isp/isp_target.c:735
#11 0x80570fd4 in isp_intr_atioq (isp=0xf8

[Bug 229454] System enabled for FC target mode using QLOGIC HBA panics with “fault code = supervisor write data, page not present - Fatal trap 12: page fault while in kernel mode”

2018-07-01 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=229454

--- Comment #1 from Setsquare  ---
In Addition to the above sometimes I have also noticed that the FC target LUNs
show as dead from the initiator but the FreeBSD server has not panic'd. There
doesn't seem to be anything I can do on the FreeBSD FC target to bring them
back up. Only option I have had is to restart the FreeBSD server.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 207940] [patch] sys/boot/efi/boot1 select boot partition

2018-07-01 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=207940

--- Comment #26 from nico...@deffayet.com ---
Many thanks for the updated patch. It apply without any issue on FreeBSD
11.2-RELEASE.

On FreeBSD 11.1, it was easy to recompile only boot1 with the following
commands:

# cd /usr/src/sys/boot/efi/boot1

# make

It compile fine and generate both boot1.efi & boot1.efifat binary.

But on FreeBSD 11.2:

# cd /usr/src/stand/efi/boot1

# make
Killed.
pid 1026 (make), uid 0, was killed: out of swap space

The machine have 6 Gb of free memory before running make. Running make eat all
available memory.

How can I fix that ? What the best method to recompile only boot1.efi &
boot1.efifat in a standalone way without recompile a full world ?

Many thanks

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 229457] recent syslogd swaps host and facility.priority

2018-07-01 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=229457

Bug ID: 229457
   Summary: recent syslogd swaps host and facility.priority
   Product: Base System
   Version: 11.2-STABLE
  Hardware: Any
OS: Any
Status: New
  Severity: Affects Many People
  Priority: ---
 Component: bin
  Assignee: b...@freebsd.org
  Reporter: m...@fbsd.e4m.org

Running a syslogd as of today, it seems that the host and facility.priority
fields are suddenly swapped. Now we have:

Jul  1 19:35:40 gate  kernel: GEOM_ELI: Device ada4.eli created.

For the last 25 years it was:

Jun 14 17:02:54  gate kernel: GEOM_ELI: Device ada4.eli created.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


Problem reports for b...@freebsd.org that need special attention

2018-07-01 Thread bugzilla-noreply
To view an individual PR, use:
  https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=(Bug Id).

The following is a listing of current problems submitted by FreeBSD users,
which need special attention. These represent problem reports covering
all versions including experimental development code and obsolete releases.

Status  |Bug Id | Description
+---+---
In Progress |155163 | [patch] Add Recursive Functionality to setfacl(1) 
In Progress |210415 | vidcontrol -h  does not work with v 
New |197876 | [devfs] an error in devfs leads to data loss and  
New |198797 | [PATCH] Added an option to install BSDstats to bs 
New |202290 | /usr/bin/vi conversion error on valid character   
New |202362 | ntp: restore refclocks selection (10.2-RELEASE re 
New |202740 | vi/ex string substitution problem when there is m 
New |204097 | witness_initialize() does not perform bound check 
New |204115 | freebsd-update: Add support for better user messa 
New |204545 | Adding quirk entry for some (Acer C720P Chromeboo 
New |209213 | UEFI Loader shows only black screen with Nvidia G 
New |210804 | installerconfig - using ZFS create in custom scri 
New |212561 | stucking kyua test (/usr/tests/sys/acl/01) with e 
New |214705 | Kernel panic trying to playback encrypted DVD, "F 
New |221906 | sys/cddl: Allow to modify the ZFS deadman sysctls 
New |221973 | cam iosched: BIO_ZONE commands probably shouldn't 
New |221974 | cam iosched: The iops limiter should enforce limi 
New |224436 | vt: CONS_CLRHIST (vidcontrol -C) not implemented  
Open| 71667 | [patch] cleanup of the usr.sbin/bootparamd code   
Open|155873 | calendar(1) recurring date not working
Open|157718 | input data trigers a core dump from calendar(1) [ 
Open|183618 | [panic] Dell PowerEdge R620 -- PERC H710 Mini (mf 
Open|194925 | [pf] [ifconfig] interface group keywords do not w 
Open|196973 | sh(1) broken UTF-8 input  
Open|204121 | numa(4) is broken: "vm_page_alloc: missing page"  
Open|206528 | Emulex LPe 16002 FC HBA Not Recognized by oce(4)  
Open|206585 | hpt_set_info possible buffer overflow 
Open|206754 | Out of bounds negative array index in iicrdwr 
Open|207109 | makefs includes a timestamp that prevents reprodu 
Open|207248 | [patch] daemon(8): Add option to redirect stdout  
Open|211713 | NVME controller failure: resetting (Samsung SM961 
Open|212418 | kernel panic in _taskqgroup_adjust - uninitialize 
Open|212562 | stucking kyua test (/usr/tests/lib/libutil) on 10 
Open|217505 | [asmc] [patch] Add Support for Macbook Pro 8,1
Open|220246 | syslogd does not send RFC3164-conformant messages 
Open|221305 | Mouse cursor loss when moving cursor while loadin 
Open|221350 | Unable to boot/install on HPE Proliant MicroServe 
Open|221854 | makefs: Reject UFS labels that are too long to fi 
Open|222632 | connect(2) not available in capability mode   
New |229000 | update and replace old rc daemons by google_netwo 
Open|191348 | [mps] LSI2308 with WD3000FYYZ drives disappears a 
Open|206754 | Out of bounds negative array index in iicrdwr 

42 problems total for which you should take action.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 229264] init died (signal 0, exit 1) and kernel panic

2018-07-01 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=229264

Gergely Kiss  changed:

   What|Removed |Added

 CC||mail.g...@gmail.com

--- Comment #3 from Gergely Kiss  ---
Assuming the build was produced using the freebsd-wifi-build scripts: I was
also facing this issue with the same board and managed to resolve it. My idea
was to include the "real" /sbin/init binary instead of the symlink pointing to
bsdbox. This way I could get the following output:

Trying to mount root from ufs:map/rootfs.uzip []...
Warning: no time-of-day clock registered, system time will not be set
accurately
start_init: trying /sbin/init
uhub0: 1 port with 1 removable, self powered
random: harvesting attach, 8 bytes (4 bits) from uhub0
Jul  1 20:08:55 init: login_getclass: unknown class 'daemon'
rtl8366rb0port4: link state changed to UP
Shared object "libsbuf.so.6" not found, required by "lib80211.so.1"
Enter full pathname of shell or RETURN for /bin/sh: 

After including the missing libraries in the image, the issue was gone:

https://github.com/kissg1988/freebsd-wifi-build/commit/0477cf50fad030e574a5cf901541c55be248e96b

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 229457] recent syslogd swaps host and facility.priority

2018-07-01 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=229457

Mark Linimon  changed:

   What|Removed |Added

   Assignee|b...@freebsd.org|e...@freebsd.org

--- Comment #1 from Mark Linimon  ---
Ed, I think this one may be for you.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"