[Bug 225175] Kernel panic - i915_gem* functions problem?

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

Bug ID: 225175
   Summary: Kernel panic - i915_gem* functions problem?
   Product: Base System
   Version: 11.1-STABLE
  Hardware: amd64
OS: Any
Status: New
  Severity: Affects Only Me
  Priority: ---
 Component: kern
  Assignee: freebsd-bugs@FreeBSD.org
  Reporter: petr.fisc...@me.com

Backtrace from kernel crashlog:

--
cpuid = 0; apic id = 00
fault virtual address   = 0x40
fault code  = supervisor read data, page not present
instruction pointer = 0x20:0x8260f700
stack pointer   = 0x0:0xfe0466418580
frame pointer   = 0x0:0xfe04664185b0
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 = 1895 (Compositor)
trap number = 12
panic: page fault
cpuid = 0
KDB: stack backtrace:
#0 0x80aadac7 at kdb_backtrace+0x67
#1 0x80a6bba6 at vpanic+0x186
#2 0x80a6ba13 at panic+0x43
#3 0x80edf832 at trap_fatal+0x322
#4 0x80edf889 at trap_pfault+0x49
#5 0x80edf0c6 at trap+0x286
#6 0x80ec36d1 at calltrap+0x8
#7 0x824f4aff at i915_gem_evict_something+0x9f   <---
#8 0x824f0f5f at i915_gem_object_pin+0x37f
#9 0x824eeac9 at i915_gem_pager_populate+0x1a9
#10 0x80d57c99 at vm_fault_hold+0x1179
#11 0x80d56ad5 at vm_fault+0x75
#12 0x80edf927 at trap_pfault+0xe7
#13 0x80edf170 at trap+0x330
#14 0x80ec36d1 at calltrap+0x8
Uptime: 10m22s
Dumping 1205 out of 16271 MB:..2%..11%..22%..31%..42%..51%..62%..71%..81%..91%



#0  doadump (textdump=) at pcpu.h:222
in pcpu.h
222 pcpu.h: No such file or directory.
(kgdb)
--

HW: Toshiba Z30-A laptop
Machine class:  amd64
CPU Model:  Intel(R) Core(TM) i5-4210U CPU @ 1.70GHz
Haswell-ULT Integrated Graphics Controller

-- 
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 225162] Source file zfs_acl.c, function zfs_aclset_common contains a use after end of the lifetime of a local variable

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

Yuri Pankov  changed:

   What|Removed |Added

 CC||yur...@icloud.com

--- Comment #2 from Yuri Pankov  ---
Reported upstream: https://www.illumos.org/issues/8966

-- 
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 188833] [suspend/resume] Suspend/resume with Intel GMA HD 4000: AIGLX fails to restart

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

Niclas Zeising  changed:

   What|Removed |Added

 Status|In Progress |Closed
 Resolution|--- |Overcome By Events

--- Comment #7 from Niclas Zeising  ---
Closing this, submitter says the issue is fixed.

-- 
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 188833] [suspend/resume] Suspend/resume with Intel GMA HD 4000: AIGLX fails to restart

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

--- Comment #6 from Bengt Ahlgren  ---
(In reply to Niclas Zeising from comment #5)
Not an issue for me since quite some time with a newer xorg stack (possibly
also due to upgrading to 10.x from 9.x).

-- 
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 225162] Source file zfs_acl.c, function zfs_aclset_common contains a use after end of the lifetime of a local variable

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

--- Comment #1 from WHR  ---
Source file
https://svnweb.freebsd.org/base/head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_acl.c
(latest version r323491 at this time), line 1220, in function zfs_aclset_common
have a local variable definition "zfs_acl_phys_t acl_phys;". At line 1297, the
pointer to this variable (_phys) is stored into the array "bulk"; then the
current code block and the lifetime of "acl_phys" is ended after this, but
"bulk" is still got used at line 1314.

This code resulted in undefined behavior, meaning this bug may not be generally
noticeable. In my test, the clang 3.4.1 on FreeBSD 10.3 amd64 won't trigger
wrong behavior; however gcc 4.7 4.8 4.9 at any optimization level (except
"-O0") will resulting a buggy behavior which showing to the user as:

[WHR@kmod-test /testpool]$ mkdir 35
[WHR@kmod-test /testpool]$ cd 35
-bash: cd: 35: Permission denied

Due the ACL is failed to store.

The attached patch will fix this bug by moving the definition of "acl_phys" to
the top block of the function, thus its lifetime will cover the whole function.

-- 
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 225162] Source file zfs_acl.c, function zfs_aclset_common contains a use after end of the lifetime of a local variable

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

Bug ID: 225162
   Summary: Source file zfs_acl.c, function zfs_aclset_common
contains a use after end of the lifetime of a local
variable
   Product: Base System
   Version: CURRENT
  Hardware: Any
OS: Any
Status: New
  Severity: Affects Only Me
  Priority: ---
 Component: kern
  Assignee: freebsd-bugs@FreeBSD.org
  Reporter: msl023...@gmail.com

Created attachment 189714
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=189714=edit
Patch

Source file
https://svnweb.freebsd.org/base/head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_acl.c
(latest version r323491 at this time), line 1220, in function zfs_aclset_common
have a local variable definition "zfs_acl_phys_t acl_phys;". At line 1297, the
pointer to this variable (_phys) is stored into the array "bulk"; then the
current code block and the lifetime of "acl_phys" is ended after this, but
"bulk" is still got used at line 1314.

This code resulted in undefined behavior, meaning this bug may not be generally
noticeable. In my test, the clang 3.4.1 on FreeBSD 10.3 amd64 won't trigger
wrong behavior; however gcc 4.7 4.8 4.9 at any optimization level (except
"-O0") will resulting a buggy behavior which showing to the user as:

[WHR@kmod-test /testpool]$ mkdir 35
[WHR@kmod-test /testpool]$ cd 35
-bash: cd: 35: Permission denied

Due the ACL is failed to store.

The attached patch will fix this bug by moving the definition of "acl_phys" to
the top block of the function, thus its lifetime will cover the whole function.

-- 
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 225077] [VIMAGE] lld-linked i386 VIMAGE kernel hangs on boot

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

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

Author: emaste
Date: Sun Jan 14 16:04:52 UTC 2018
New revision: 327969
URL: https://svnweb.freebsd.org/changeset/base/327969

Log:
  Enable VIMAGE in i386 GENERIC (revert r327840)

  We've switched back to ld.bfd on i386 for now.

  PR:   225077
  Sponsored by: The FreeBSD Foundation

Changes:
  head/sys/i386/conf/GENERIC

-- 
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 205256] Segmentation fault with mount_smbfs

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

w.schwarzenf...@utanet.at changed:

   What|Removed |Added

 Status|New |Closed
 Resolution|--- |Overcome By Events

-- 
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-01-14 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=225159

Wolfram Schneider  changed:

   What|Removed |Added

 Depends on||224433
 Status|New |Open


Referenced Bugs:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=224433
[Bug 224433] `make buildkernel' should display the build time in seconds
-- 
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-01-14 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=225159

--- Comment #1 from Wolfram Schneider  ---
Created attachment 189708
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=189708=edit
makefile patch

-- 
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-01-14 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=225159

Bug ID: 225159
   Summary: `make installkernel’ should display a “completed”
message if done
   Product: Base System
   Version: CURRENT
  Hardware: Any
OS: Any
Status: New
  Severity: Affects Only Me
  Priority: ---
 Component: kern
  Assignee: freebsd-bugs@FreeBSD.org
  Reporter: wo...@freebsd.org

If you build a kernel you will see in the log output some status messages as

$ make buildkernel
>>> Kernel build for GENERIC started on Sun Jan 14 05:03:57 PST 2018
>>> stage 1: configuring the kernel
[...]
>>> Kernel build for GENERIC completed on Sun Jan 14 05:54:22 PST 2018

If you see the message “Kernel build for GENERIC completed” then you know the
kernel was successfully build.

if you install the kernel

$ make installkernel
>>> Installing kernel GENERIC
[]
kldxref /boot/kernel

There is no  “Installing kernel GENERIC completed” message. It is not obvious
if the kernel installation was successfully.

BTW, we should also display the time when the kernel was installed, as we do
for the build.

-- 
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 224433] `make buildkernel' should display the build time in seconds

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

Wolfram Schneider  changed:

   What|Removed |Added

   Assignee|freebsd-bugs@FreeBSD.org|wo...@freebsd.org

-- 
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 205256] Segmentation fault with mount_smbfs

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

--- Comment #11 from Arrigo Marchiori  ---
(In reply to w.schwarzenfeld from comment #10)
> 9.3 is EOL. So i think this is overcome by events.
I think so. And also bug #206740 should be marked as such.

-- 
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"