Re: radeon panics kernels

2019-10-04 Thread Johannes Lundberg
On Fri, Oct 4, 2019 at 11:39 Steve Kargl wrote: > On Thu, Oct 03, 2019 at 11:52:38PM +0200, Hans Petter Selasky wrote: > > On 2019-10-03 22:26, Steve Kargl wrote: > > > On Thu, Oct 03, 2019 at 03:05:27PM +0200, Hans Petter Selasky wrote: > > >> > > >> If you leave the port debug knob for

Re: The support for AMD graphics and how freebsd hardware support

2019-09-25 Thread Johannes Lundberg
On 9/25/19 8:00 AM, c...@riseup.net wrote: > On Wed, Sep 25, 2019 at 09:28:49AM -0500, Valeri Galtsev wrote: >> >> On 2019-09-25 01:04, Kevin Oberman wrote: >>> On Tue, Sep 24, 2019 at 8:56 PM wrote: >>> developed Reply-To: X-Priority: 1 Importance: high

Re: wlan can't discover known networks after relocating

2019-09-19 Thread Johannes Lundberg
On 9/19/19 7:30 PM, Cy Schubert wrote: > In message om> > , Johannes Lundberg writes: >> --0875960592f275a3 >> Content-Type: text/plain; charset="UTF-8" >> Content-Transfer-Encoding: quoted-printable >> >> Tested today with bgscan a

Re: wlan can't discover known networks after relocating

2019-09-19 Thread Johannes Lundberg
Tested today with bgscan added. Didn’t connect to home network until I manually run ifconfig wlan0 scan. Again, this is with failover lagg. It did however realize I wasn’t at the office anymore and the ssid field was empty in ifconfig output. Sometimes it stays the same long after I leave the

Re: wlan can't discover known networks after relocating

2019-09-19 Thread Johannes Lundberg
On 9/19/19 3:06 PM, Adrian Chadd wrote: > So roaming in ifconfig/net80211 is what's set to manual. > > wpa_supplicant right now does RSSI threshold based roaming. All of the > roaming and network preferences when wpa_supplicant is running is done > in wpa_supplicant. That's where you have to

wlan can't discover known networks after relocating

2019-09-17 Thread Johannes Lundberg
Hi For a long time now I have had this problem with iwm and wlan0. Whenever I move between work and home it won't reconnect automatically and I have to do wlan0 scan manually for it to pick up the different network. Anyone have a solution for this? For now I think I'll put a 'ifconfig wlan0

Re: pseudofs broken(?) with r351741

2019-09-04 Thread Johannes Lundberg
On 9/4/19 1:55 PM, Mateusz Guzik wrote: > have you tried with https://svnweb.freebsd.org/changeset/base/351815 ? That fixes it. Thanks! > > On 9/4/19, Johannes Lundberg wrote: >> Hey >> >> I noticed that linuxkpi's debugfs which is based on pfs stopped show any &g

pseudofs broken(?) with r351741

2019-09-04 Thread Johannes Lundberg
Hey I noticed that linuxkpi's debugfs which is based on pfs stopped show any content in mounted folders. r351740 works as expected, r351741 does not. Just as if there are no files. Does this change require any patches to users of pfs to work or is pfs broken? commit

Re: pkg: Cannot open /dev/null:No such file or directory

2019-06-11 Thread Johannes Lundberg
m having the same issue with poudriere image; could you please let > me know what you did to fix it?  I'm assuming the image.sh you're > referring to is /usr/local/share/poudriere/image.sh, but I'm not sure > where the change would need to be made. > > Thanks in advance, > Joseph > >

Re: pkg: Cannot open /dev/null:No such file or directory

2019-06-04 Thread Johannes Lundberg
On 6/3/19 10:44 PM, Baptiste Daroussin wrote: > On Tue, Jun 04, 2019 at 07:32:16AM +0200, O. Hartmann wrote: >> Hello List, >> >> lately I ran into a serious problem installing packages in a nanoBSD >> environment, in which the package repository server is "remotely" on site. >> The >> issue as

Re: UEFI boot broken in 13?

2019-06-03 Thread Johannes Lundberg
On 6/3/19 7:25 PM, Rodney W. Grimes wrote: >> Hi >> >> I'm using poudriere-image to create usb memstick images. The images are >> identical except OS version. They are tested on a laptop with 13-CURRENT >> installed as only OS, having UEFI boot and root on zfs. >> >> 12-STABLE memstick boots

UEFI boot broken in 13?

2019-06-03 Thread Johannes Lundberg
Hi I'm using poudriere-image to create usb memstick images. The images are identical except OS version. They are tested on a laptop with 13-CURRENT installed as only OS, having UEFI boot and root on zfs. 12-STABLE memstick boots fine with in UEFI mode. With 13-CURRENT memstick it boots the

Re: Inconsistent behavior with wpa / devd / network interfaces

2019-05-30 Thread Johannes Lundberg
On 5/30/19 1:25 PM, Miroslav Lachman wrote: > Greg Rivers wrote on 2019/05/30 18:37: > > [...] > >>> Do I have something weird in my setup causing this? I don't recall ever >>> having this issue when not using failover lagg. Running recent >>> 13-CURRENT. >>> >> I think there's a (unknown?)

Re: Inconsistent behavior with wpa / devd / network interfaces

2019-05-30 Thread Johannes Lundberg
On 5/30/19 12:37 PM, Cy Schubert wrote: > In message <85a5bf45-231e-1bb4-4c26-677e414af...@freebsd.org>, Johannes > Lundber > g writes: >> On 5/30/19 9:37 AM, Greg Rivers wrote: >>> On Thursday, May 30, 2019 10:31:45 AM CDT Johannes Lundberg wrote: >

Re: Inconsistent behavior with wpa / devd / network interfaces

2019-05-30 Thread Johannes Lundberg
On 5/30/19 9:37 AM, Greg Rivers wrote: > On Thursday, May 30, 2019 10:31:45 AM CDT Johannes Lundberg wrote: >> Hi >> >> I have a bridge and an ethernet/wifi lagg failover like this: >> >> # First define all cloned interfaces >> cloned_interfac

Inconsistent behavior with wpa / devd / network interfaces

2019-05-30 Thread Johannes Lundberg
Hi I have a bridge and an ethernet/wifi lagg failover like this: # First define all cloned interfaces cloned_interfaces="bridge0 lagg0" # bhyve bridge ifconfig_bridge0="inet 192.168.8.1/24 addm lagg0 up" # Ethernet/WiFi failvoer ifconfig_em0="up" wlans_iwm0="wlan0" ifconfig_wlan0="WPA up"

Heads up for LinuxKPI updates to 12-STABLE

2019-05-25 Thread Johannes Lundberg
Hi As with recent 13-CURRENT, we're pushing some updates that might break build of drm modules temporarily on 12-STABLE. One of those changes is moving lindebugfs.ko from ports to base. If you're building your kernel with MODULES_OVERRIDE, don't forget to include it since it is required by drm

Re: Weirdness when writing to pseudofs file

2019-05-22 Thread Johannes Lundberg
On 5/22/19 4:22 PM, Alan Somers wrote: > On Wed, May 22, 2019 at 5:18 PM Johannes Lundberg wrote: >> >> On 5/22/19 4:12 PM, Johannes Lundberg wrote: >>> On 5/22/19 3:02 PM, Conrad Meyer wrote: >>>> On Wed, May 22, 2019 at 1:58 PM Johannes Lundberg &

Re: Weirdness when writing to pseudofs file

2019-05-22 Thread Johannes Lundberg
On 5/22/19 4:12 PM, Johannes Lundberg wrote: > On 5/22/19 3:02 PM, Conrad Meyer wrote: >> On Wed, May 22, 2019 at 1:58 PM Johannes Lundberg >> wrote: >>>> It seems, a single '>' will cause it to try to create the file (even >>>> though it a

Re: Weirdness when writing to pseudofs file

2019-05-22 Thread Johannes Lundberg
On 5/22/19 3:02 PM, Conrad Meyer wrote: > On Wed, May 22, 2019 at 1:58 PM Johannes Lundberg wrote: >>> It seems, a single '>' will cause it to try to create the file (even >>> though it already exists) and that fails (kern_openat). >>> >> I would gu

Re: Weirdness when writing to pseudofs file

2019-05-22 Thread Johannes Lundberg
On 5/22/19 1:53 PM, Johannes Lundberg wrote: > On 5/22/19 11:03 AM, Alan Somers wrote: >> On Wed, May 22, 2019 at 11:59 AM Johannes Lundberg >> wrote: >>> On 5/22/19 10:51 AM, Konstantin Belousov wrote: >>>> On Wed, May 22, 2019 at 10:36:34AM -070

Re: Weirdness when writing to pseudofs file

2019-05-22 Thread Johannes Lundberg
On 5/22/19 11:03 AM, Alan Somers wrote: > On Wed, May 22, 2019 at 11:59 AM Johannes Lundberg > wrote: >> >> On 5/22/19 10:51 AM, Konstantin Belousov wrote: >>> On Wed, May 22, 2019 at 10:36:34AM -0700, Johannes Lundberg wrote: >>>> Hi >>>>

Re: Weirdness when writing to pseudofs file

2019-05-22 Thread Johannes Lundberg
On 5/22/19 10:51 AM, Konstantin Belousov wrote: > On Wed, May 22, 2019 at 10:36:34AM -0700, Johannes Lundberg wrote: >> Hi >> >> I'm fiddling with lindebugfs, which is based on pseudofs. When writing >> to a file, >> >> this works: # echo  1 >> /p

Weirdness when writing to pseudofs file

2019-05-22 Thread Johannes Lundberg
Hi I'm fiddling with lindebugfs, which is based on pseudofs. When writing to a file, this works: # echo  1 >> /path/to/file but this does not: # echo 1 > /path/to/file "Operation not supported." is returned before the pseudofs code is even entered. Is this expected behavior? (if so, why?)

Re: Heads up for breaking drm update.

2019-05-19 Thread Johannes Lundberg
On 5/19/19 7:36 PM, Steve Kargl wrote: > On Sun, May 19, 2019 at 02:50:54PM -0700, Johannes Lundberg wrote: >> LinuxKPI in base have received a lot of updates recently for Linux 5.0, >> a couple of them will break drm-current-kmod. So, as of r347973 you will >> need

Heads up for breaking drm update.

2019-05-19 Thread Johannes Lundberg
Hi Cross posting to -current and -x11. LinuxKPI in base have received a lot of updates recently for Linux 5.0, a couple of them will break drm-current-kmod. So, as of r347973 you will need drm-current-kmod 4.16.g20190519. Ports have been updated and new packages should be available shortly. A

Rotating (efi) framebuffer

2019-05-02 Thread Johannes Lundberg
Hi I have a Lenovo Ideapad where the screen is rotated 90 degrees and I can't rotate it to landscape mode until I'm in X. How many of you are in the same situation and would like a fix? Seeing how development is going with small (tiny) computers it will probably be more and more common with ultra

RTL8821CU USB WiFi

2019-04-29 Thread Johannes Lundberg
Hi Is anyone working on adding support for RTL8811CU & RTL8821CU chipsets?  ___ freebsd-current@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to

Re: SVN r346645 breaks build of DRM drivers

2019-04-24 Thread Johannes Lundberg
Hi Sorry about that. Github has been updated to workaround this https://github.com/FreeBSDDesktop/kms-drm (default branch = drm-current-kmod) The port will be updated asap. /Johannes On 4/24/19 8:03 PM, Michael Butler wrote: > The removal of dma_mask (around line 105) in >

Re: Switching fb backend back to default

2019-03-18 Thread Johannes Lundberg
On Mon, Mar 18, 2019 at 19:48 Oliver Pinter wrote: > > > On Sunday, March 17, 2019, Johannes Lundberg wrote: > >> On Sun, Mar 17, 2019 at 21:35 Emmanuel Vadot >> wrote: >> >> > On Sun, 17 Mar 2019 16:32:43 + >> > Johannes Lundberg wrote: >

Re: Switching fb backend back to default

2019-03-18 Thread Johannes Lundberg
On Mon, Mar 18, 2019 at 19:28 Pete Wright wrote: > > > On 3/17/19 2:50 PM, Johannes Lundberg wrote: > > On Sun, Mar 17, 2019 at 21:35 Emmanuel Vadot > wrote: > > > >> On Sun, 17 Mar 2019 16:32:43 + > >> Johannes Lundberg wrote: &

Use mic from headphone jack on freebsd laptop?

2019-03-18 Thread Johannes Lundberg
Hi On my Dell laptop the output audio switches to the headphones automatically when plugged in, however, the same does not seem to be true for the mic. Is there any configuration magic that can be done to use the headphone mic instead of the internal one? Here's pin config: hdaa0: Dumping AFG

Re: Switching fb backend back to default

2019-03-17 Thread Johannes Lundberg
On Sun, Mar 17, 2019 at 21:35 Emmanuel Vadot wrote: > On Sun, 17 Mar 2019 16:32:43 + > Johannes Lundberg wrote: > > > > > On 3/17/19 3:34 PM, Greg V wrote: > > > > > > > > > On Sun, Mar 17, 2019 at 3:07 PM, Johannes Lundberg > > &

Re: Switching fb backend back to default

2019-03-17 Thread Johannes Lundberg
On 3/17/19 3:34 PM, Greg V wrote: > > > On Sun, Mar 17, 2019 at 3:07 PM, Johannes Lundberg > wrote: >> Hi >> >> I'm working on making i915kms unload properly. I've come to what I think >> is the last issue. The drm driver unloads ok, the "efifb&q

Switching fb backend back to default

2019-03-17 Thread Johannes Lundberg
Hi I'm working on making i915kms unload properly. I've come to what I think is the last issue. The drm driver unloads ok, the "efifb" backend is restored (according to logs) and vt_efifb_init() is being called but the screen (laptop built in display) stays black. The system seems operational

Re: What is evdev and autoloading?

2019-02-19 Thread Johannes Lundberg
On 2/19/19 5:35 PM, Steve Kargl wrote: > On Tue, Feb 19, 2019 at 08:17:48AM -0800, Cy Schubert wrote: >> On February 18, 2019 9:17:37 AM PST, Pete Wright wrote: >>> >>> On 2/18/19 8:50 AM, Rodney W. Grimes wrote: > On Mon, Feb 18, 2019 at 9:12 AM Rodney W. Grimes < > > I don't know.

Re: What is evdev and autoloading?

2019-02-19 Thread Johannes Lundberg
On 2/18/19 10:54 PM, Mark Linimon wrote: > On Mon, Feb 18, 2019 at 08:50:27AM -0800, Rodney W. Grimes wrote: >> I think one serious problem here is the summary dismissal of things >> simply on the "5 year old" basis. > IIUC the graphics changes are being forced upon FreeBSD by external > projects

Re: What is evdev and autoloading?

2019-02-19 Thread Johannes Lundberg
On 2/19/19 12:37 AM, Warner Losh wrote: > On Mon, Feb 18, 2019 at 9:50 AM Steve Kargl < > s...@troutmask.apl.washington.edu> wrote: > >> On Mon, Feb 18, 2019 at 09:11:14AM -0700, Warner Losh wrote: >>> You do know these constant complaints about people trying to make things >>> better is

Re: What is evdev and autoloading?

2019-02-18 Thread Johannes Lundberg
On 2/18/19 3:12 PM, Rodney W. Grimes wrote: >> On 2/18/19 12:06 PM, Stefan Blachmann wrote: >>> On 2/18/19, Vladimir Kondratyev wrote: On 2019-02-17 21:03, Steve Kargl wrote: > Anyone have insight into what evdev is? evdev.ko is a small in-kernel library that makes all your input

Fwd: What is evdev and autoloading?

2019-02-18 Thread Johannes Lundberg
Missed to include current@ Forwarded Message Subject:Re: What is evdev and autoloading? Date: Mon, 18 Feb 2019 12:02:50 + From: Johannes Lundberg To: freebsd-hack...@freebsd.org On 2/18/19 11:06 AM, Stefan Blachmann wrote: > On 2/18/19, Vladi

Re: drm2 removed?

2019-02-11 Thread Johannes Lundberg
On 2/11/19 4:23 PM, Niclas Zeising wrote: > On 2/11/19 5:20 PM, Steve Kargl wrote: >> On Mon, Feb 11, 2019 at 08:12:05AM -0800, Steve Kargl wrote: >>> Anyone have any idea which recent change broke the >>> drm-legacy-kmod port.  This is why I raised an issue >>> with removal of drm2 from src/sys. 

Re: axp288 on Intel HW

2018-11-16 Thread Johannes Lundberg
On Fri, Nov 16, 2018 at 5:11 PM John Baldwin wrote: > On 11/16/18 12:51 AM, Johannes Lundberg wrote: > > Hi > > > > I have a Lenovo Ideapad Miix 310 that has a Intel CherryTrail CPU and it > > runs FreeBSD quite nicely (with accelerated graphics). What I'm missing &

axp288 on Intel HW

2018-11-16 Thread Johannes Lundberg
Hi I have a Lenovo Ideapad Miix 310 that has a Intel CherryTrail CPU and it runs FreeBSD quite nicely (with accelerated graphics). What I'm missing is battery life status.. I can get this information using smb (for some reason i2c just returns error sending start condition) smbmsg -f /dev/smb6

Re: Graphics open-source-friendliness, AMD Ryzen vs. Intel

2018-11-12 Thread Johannes Lundberg
On Mon, Nov 12, 2018 at 2:04 AM Johannes Dieterich wrote: > On Sun, Nov 11, 2018 at 4:48 PM Johannes Lundberg > wrote: > > > > I have an AMD Ryzen 3 2200G (with Vega graphics) and it panics all the > time > > with references to various memory access errors (use

Re: Graphics open-source-friendliness, AMD Ryzen vs. Intel

2018-11-11 Thread Johannes Lundberg
I have an AMD Ryzen 3 2200G (with Vega graphics) and it panics all the time with references to various memory access errors (use after free among other). Ubuntu is also unstable on this machine but Windows 10 works well after a windows update (I had to reinstall the previous motherboard with

Re: drm changes and updating to 12.0

2018-11-05 Thread Johannes Lundberg
On Mon, Nov 5, 2018 at 10:05 PM Carsten Mattner wrote: > On Mon, Nov 5, 2018 at 7:00 PM Johannes Lundberg > wrote: > > > Which Linux version is tracked is listed in the port info. > > drm-stable-kmod is currently at Linux 4.9 > > drm-devel-kmod is currently at Linux 4

Re: drm changes and updating to 12.0

2018-11-05 Thread Johannes Lundberg
On Mon, Nov 5, 2018 at 5:27 PM Robert Huff wrote: > > Warner Losh writes: > > > I'm curious where 2013 comes from. I know that Intel Sandy Bridge > graphics > > is supported with VAAPI acceleration by drm-stable-kmod, since it i > working > > on the system I am using to send this

Re: is 4k desktop possible on freebsd-12?

2018-10-11 Thread Johannes Lundberg
On Thu, Oct 11, 2018 at 9:58 AM tech-lists wrote: > On 10/10/2018 15:24, Slawa Olhovchenkov wrote: > > You need check HDMI 2.0 available on video card and monitor. > > For HDMI 1.4 you need check of support both card and monitor support > 4K@24. > > Yes, the card, cable and monitor are all

Re: is 4k desktop possible on freebsd-12?

2018-10-10 Thread Johannes Lundberg
On Wed, Oct 10, 2018 at 11:18 AM tech-lists wrote: > Hi, > > I'm trying to get xorg to display 4k. The context is: > > FreeBSD 12.0-ALPHA8 r339084 amd64 > ports r481640 > AMD RX580 GPU > Asus X99 Extreme3 mobo > cpu: intel e5-2699v4 > 48GB RAM > Samsung UE48JU6410U monitor connected via HDMI > >

Re: drm confusion / xorg / AMD RX580 GPU

2018-10-09 Thread Johannes Lundberg
On Mon, Oct 8, 2018 at 1:47 PM tech-lists wrote: > Hi, > > context: 12-alpha8, amd64, xorg, AMD rx580 card > > As per /usr/ports/UPDATING, I have installed graphics/drm-kmod which has > installed drm-next-kmod-4.11.g20180822 > > As per pkg message, it's loaded with this line in /etc/rc.conf: > >

Re: linux-c7 and opengl apps?

2018-10-06 Thread Johannes Lundberg
On Sat, Oct 6, 2018 at 1:39 PM Greg V wrote: > > > On Fri, Oct 5, 2018 at 11:21 PM, Theron wrote: > > % /compat/linux/opt/VirtualGL/bin/glxinfo | grep OpenGL > > libGL error: MESA-LOADER: failed to retrieve device information > > Do you have linsysfs mounted? > > Try reading

Re: Radeon HD 7570M: drm: deep frustration with r339186

2018-10-06 Thread Johannes Lundberg
o further e.g. no login manager > (sddm); no response to Control-Alt-F2; no response to Control-Alt-Delete. > The apparent unpredictability leading to a dead-end situation has created a > sense of unease; now I'm genuinely afraid to test suspend :-( > > i believe johannes lundberg is

Re: Sound issues with Dell Latitude 7490 (kabylake)

2018-10-03 Thread Johannes Lundberg
On Wed, Oct 3, 2018 at 2:30 PM Jakob Alvermark wrote: > On 10/3/18 3:06 PM, David Wolfskill wrote: > > On Mon, Oct 01, 2018 at 11:12:25PM +0200, Jakob Alvermark wrote: > >> > >> Do the headphones work with this patch? > >> > >> Index: sys/dev/sound/pci/hda/hdaa.c > >>

linux-c7 and opengl apps?

2018-10-03 Thread Johannes Lundberg
Hi Have anyone successfully run opengl apps with linux-c7? Linux opengl apps works great with linux-c6 on gpu < kabylake but linux-c6-dri does not include support for kabylake gpus. Linux glxinfo in c7 show support for hardware rendering on kabylake but any attempt to run an opengl app results

Re: Sound issues with Dell Latitude 7490 (kabylake)

2018-10-02 Thread Johannes Lundberg
On Tue, Oct 2, 2018 at 9:36 PM Johannes Lundberg wrote: > > > On Tue, Oct 2, 2018 at 9:32 PM Jakob Alvermark > wrote: > >> On 10/2/18 9:56 PM, Johannes Lundberg wrote: >> >> >> >> On Mon, Oct 1, 2018 at 10:12 PM Jakob Alvermark >> wrote:

Re: Sound issues with Dell Latitude 7490 (kabylake)

2018-10-02 Thread Johannes Lundberg
On Tue, Oct 2, 2018 at 9:32 PM Jakob Alvermark wrote: > On 10/2/18 9:56 PM, Johannes Lundberg wrote: > > > > On Mon, Oct 1, 2018 at 10:12 PM Jakob Alvermark > wrote: > >> On 10/1/18 10:56 PM, Johannes Lundberg wrote: >> > On Mon, Oct 1, 2018

Re: Sound issues with Dell Latitude 7490 (kabylake)

2018-10-02 Thread Johannes Lundberg
On Mon, Oct 1, 2018 at 10:12 PM Jakob Alvermark wrote: > On 10/1/18 10:56 PM, Johannes Lundberg wrote: > > On Mon, Oct 1, 2018 at 8:37 PM Jakob Alvermark > wrote: > > > >> On 10/1/18 5:57 PM, Johannes Lundberg wrote: > >>> Hi > >>> > >>

Re: Sound issues with Dell Latitude 7490 (kabylake)

2018-10-01 Thread Johannes Lundberg
On Mon, Oct 1, 2018 at 8:37 PM Jakob Alvermark wrote: > On 10/1/18 5:57 PM, Johannes Lundberg wrote: > > Hi > > > > While sound work out of the box (with headphone switching) on the 1-2 > year > > older Latitude 7270, it does not on my new machine. > > >

Re: Sound issues with Dell Latitude 7490 (kabylake)

2018-10-01 Thread Johannes Lundberg
On Mon, Oct 1, 2018 at 5:43 PM Rodney W. Grimes < freebsd-...@pdx.rh.cn85.dnsmgr.net> wrote: > > Hi > > > > While sound work out of the box (with headphone switching) on the 1-2 > year > > older Latitude 7270, it does not on my new machine. > > > > The internal speaker works fine. If I plug in

Sound issues with Dell Latitude 7490 (kabylake)

2018-10-01 Thread Johannes Lundberg
Hi While sound work out of the box (with headphone switching) on the 1-2 year older Latitude 7270, it does not on my new machine. The internal speaker works fine. If I plug in external speakers in the headphone jack, sound still goes to the internal speaker while a very load buzz comes from the

Re: Resume Issue with em(4) ALPHA7

2018-09-30 Thread Johannes Lundberg
On Sun, Sep 30, 2018 at 8:24 AM Ali Abdallah wrote: > I'm having also the same problem on my Thinkpad x230. However I'm running a > minimal kernel, so usually I do kldunload/kldload if_em, > to reset the hardware and to avoid a reboot. > > Hopefully this gets fixed soon. > > Hi I've been having

Dell latitude 7490 touchpad support?

2018-09-29 Thread Johannes Lundberg
Hi I just got a new work laptop and the touchpad does not work. Some information points to that this machine has a Microsoft precision touchpad. I can't see any USB device so I'm wondering if this is an I2C device? Do we have any driver for this? /Johannes

Re: drm2 in base

2018-09-28 Thread Johannes Lundberg
drm-legacy-kmod will be ready before 12 is released. On Fri, Sep 28, 2018 at 13:48 Steve Kargl wrote: > On Fri, Sep 28, 2018 at 01:30:59PM -0700, Matthew Macy wrote: > > > > Bug reports are addressed as they come in. If issues haven't come up > > it likely reflects a scarcity of users. > > > >

Re: 12.0-ALPHA5 - ZFS default ARC max apparently forcing system to run out of memory

2018-09-27 Thread Johannes Lundberg
On Thu, Sep 27, 2018 at 15:03 Rebecca Cran wrote: > I'm running 12.0-ALPHA5 on a laptop which has 32GB RAM and 2GB swap. > I've found it running out of memory when building ports via synth: I > think I've also seen it when running a buildworld. Johannes on > FreeBSDDesktop suggested it might be

Re: r338641 && /dev/cyapa0: moused does not show pointer on console

2018-09-26 Thread Johannes Lundberg
On Mon, Sep 24, 2018 at 21:57 Matthias Apitz wrote: > El día Monday, September 24, 2018 a las 09:01:34PM +0200, Michael Gmelin > escribió: > > > >> On 24/09/2018 13:21, Matthias Apitz wrote: > > >> Re/ i915kms, I have to load it with kldload by hand. If I load it via > > >> loader.conf, the

Random reboots with wifi/wpa/iwm (12-alpha6)

2018-09-22 Thread Johannes Lundberg
Hi For a while I have had occasional random reboots. Today I managed to get 2 core dumps, both with the same backtrace. It might be the case that this only happens after the system has been resumed from S3 but I'm not sure. The second time the reboot was 30 minutes after resume. I'm using

Re: usb rtwn not loaded properly at boot

2018-09-19 Thread Johannes Lundberg
ue, Sep 18, 2018 at 6:55 AM Johannes Lundberg > wrote: > > > On Tue, Sep 18, 2018 at 10:03 AM Johannes Lundberg > > wrote: > > > > > > > > > > > On Tue, Sep 18, 2018 at 9:43 AM Johannes Lundberg > > > wrote:

Re: usb rtwn not loaded properly at boot

2018-09-18 Thread Johannes Lundberg
On Tue, Sep 18, 2018 at 10:03 AM Johannes Lundberg wrote: > > > On Tue, Sep 18, 2018 at 9:43 AM Johannes Lundberg > wrote: > >> >> >> On Tue, Sep 18, 2018 at 9:39 AM Daniel Braniss >> wrote: >> >>> >>> >>> > On 18 S

Re: usb rtwn not loaded properly at boot

2018-09-18 Thread Johannes Lundberg
On Tue, Sep 18, 2018 at 9:43 AM Johannes Lundberg wrote: > > > On Tue, Sep 18, 2018 at 9:39 AM Daniel Braniss > wrote: > >> >> >> > On 18 Sep 2018, at 10:32, Johannes Lundberg wrote: >> > >> > On Tue, Sep 18, 2018 at 9:27 AM Yuri Pankov

Re: usb rtwn not loaded properly at boot

2018-09-18 Thread Johannes Lundberg
On Tue, Sep 18, 2018 at 9:39 AM Daniel Braniss wrote: > > > > On 18 Sep 2018, at 10:32, Johannes Lundberg wrote: > > > > On Tue, Sep 18, 2018 at 9:27 AM Yuri Pankov wrote: > > > >> Johannes Lundberg wrote: > >>> Hi > >>&

Re: usb rtwn not loaded properly at boot

2018-09-18 Thread Johannes Lundberg
On Tue, Sep 18, 2018 at 9:27 AM Yuri Pankov wrote: > Johannes Lundberg wrote: > > Hi > > > > I have (with 12-ALPHA5) > > > > /boot/loader.conf > > rtwn_load="YES" > > if_urtw_usb_load="YES" > > rtwn(4) thinks this should

usb rtwn not loaded properly at boot

2018-09-18 Thread Johannes Lundberg
Hi I have (with 12-ALPHA5) /boot/loader.conf rtwn_load="YES" if_urtw_usb_load="YES" /etc/rc.conf wlans_rtwn0="wlan0" ifconfig_wlan0="WPA DHCP" but still after boot only lo0 exists and all modules are loaded. Manually running ifconfig wlan0 create wlandev rtwn0 sets up the interface correctly.

Re: drm / drm2 removal in 12

2018-08-25 Thread Johannes Lundberg
; cannot? > > Those 30,000 ports many of them bring bugs with them because of this > Linuxkpi stuff. Just recently there was a user who said google earth > doesn't work the answer was it doesn't work and that's that. > > They get ported and then get dropped so while the ports tree is

Re: drm / drm2 removal in 12

2018-08-25 Thread Johannes Lundberg
Hi Owen I'm truly sorry you feel this way about our work. At first I was thinking "I'm not going to feed the troll" but after giving what you're writing some more thought it seems maybe you have misunderstood some things that I want to clarify to make sure there's no misunderstanding by you or

Re: priority of paths to kernel modules?

2018-08-24 Thread Johannes Lundberg
On Fri, Aug 24, 2018 at 5:43 PM Warner Losh wrote: > > > On Fri, Aug 24, 2018 at 9:27 AM Johannes Lundberg > wrote: > >> There's some tricks we can do here. >>> >>> First, I talked to Kyle yesterday about augmenting the Lua loader to >>> ha

Re: priority of paths to kernel modules?

2018-08-24 Thread Johannes Lundberg
On Fri, Aug 24, 2018 at 5:20 PM Warner Losh wrote: > > > On Fri, Aug 24, 2018 at 8:13 AM Rodney W. Grimes < > freebsd-...@pdx.rh.cn85.dnsmgr.net> wrote: > >> > On Fri, Aug 24, 2018 at 3:22 AM Johannes Lundberg >> wrote: >> > > >> >

Re: priority of paths to kernel modules?

2018-08-24 Thread Johannes Lundberg
for the clarification. That's a good compromise I guess. Still, regardless of drm, aren't modules in overlay folders suppose to have higher priority than those in the kernel folder? > > > > On Fri, Aug 24, 2018 at 01:06 Johannes Lundberg > wrote: > >> Hi >> >>

priority of paths to kernel modules?

2018-08-24 Thread Johannes Lundberg
Hi Since we now stuck with drm2 in base for a few more years I have an idea would make things much smoother for many of us, hugely reduce the amount of bug reports we get and I think would be beneficial in other ways too. Current I run with something like this in /boot/loader.conf

Re: Suspend, resume, UEFI, CSM, drm-stable-kmod and drm-next-kmod with Radeon HD 7570M

2018-08-22 Thread Johannes Lundberg
On Wed, Aug 22, 2018 at 6:00 PM Graham Perrin wrote: > On 22/08/2018 17:50, Pete Wright wrote: > > not sure this will address this specific issue - but have you tested > setting this sysctl knob and seeing if that fixes your resume issues: > > hw.acpi.reset_video=1 > > Thanks, I'll be away for

Re: Make drm drivers use MTRR write-combine

2018-08-16 Thread Johannes Lundberg
On Tue, Aug 14, 2018 at 9:54 PM Johannes Lundberg wrote: > > > On Tue, Aug 14, 2018 at 3:39 PM Konstantin Belousov > wrote: > >> On Tue, Aug 14, 2018 at 08:55:36AM -0500, Eric van Gyzen wrote: >> > On 8/14/18 4:12 AM, Johannes Lundberg wrote: >> > > Hi

Re: Make drm drivers use MTRR write-combine

2018-08-14 Thread Johannes Lundberg
On Tue, Aug 14, 2018 at 3:39 PM Konstantin Belousov wrote: > On Tue, Aug 14, 2018 at 08:55:36AM -0500, Eric van Gyzen wrote: > > On 8/14/18 4:12 AM, Johannes Lundberg wrote: > > > Hi > > > > > > Something that we have seen for a long time on FreeBSD is t

Make drm drivers use MTRR write-combine

2018-08-14 Thread Johannes Lundberg
Hi Something that we have seen for a long time on FreeBSD is the boot message Failed to add WC MTRR for [0xd000-0xdfff]: -22; performance may suffer Taking a closer look at this with memcontrol I can see that the 256 MB region that DRM wants to set as WC is already covered by this entry

Re: Early kernel boot log?

2018-08-09 Thread Johannes Lundberg
On Thu, Aug 9, 2018 at 9:29 AM Konstantin Belousov wrote: > On Thu, Aug 09, 2018 at 08:54:31AM +0100, Johannes Lundberg wrote: > > Hi > > > > So I believe the reason I'm not seeing and printf output in dmesg is that > > it is too early in some functions. &g

Early kernel boot log?

2018-08-09 Thread Johannes Lundberg
Hi So I believe the reason I'm not seeing and printf output in dmesg is that it is too early in some functions. For example machdep.s getmemsize() add_efi_map_entries() etc However, these functions do contain debug printf statements so if they're logging to somewhere, where/how can I see

Re: Unkillable linux processes

2018-08-07 Thread Johannes Lundberg
On Tue, Aug 7, 2018 at 21:16 Konstantin Belousov wrote: > On Tue, Aug 07, 2018 at 08:54:39PM +0100, Johannes Lundberg wrote: > > Hi > > > > I seem to have some unkillable Linux processes... > > This is on my AMD Ryzen, the exact same installation on my Broadwell

Unkillable linux processes

2018-08-07 Thread Johannes Lundberg
Hi I seem to have some unkillable Linux processes... This is on my AMD Ryzen, the exact same installation on my Broadwell laptop does not show this behavior. At the second top output, the three remaining processes' cpu usage is fluctuating, just as when they are running normally. Kernel is from

Need to reserve Intel graphics memory in early boot

2018-08-07 Thread Johannes Lundberg
Hi I'm working on getting the graphics drivers up to Linux 4.16 version and there has been a patch for Intel gpus that require some code in early boot. The problem is that no all bios report the memory allocated for the gpu, called stolen memory, correctly so on some configurations the OS can

Re: Linux process causes kernel panic

2018-08-06 Thread Johannes Lundberg
On Sat, Aug 4, 2018 at 3:22 PM Konstantin Belousov wrote: > On Sat, Aug 04, 2018 at 01:12:17PM +0100, Johannes Lundberg wrote: > > No panic over night with that tunable so it seems you're on the right > > track. > > Please try this, on top of r337316. > Been running

IOMMU for GPUs

2018-08-05 Thread Johannes Lundberg
Hi First I have to say I don't know much when it comes to virtual GPUs and IOMMU. I'm trying to figure out what we have and what is missing in regards to sharing the GPU to virtual guests on Intel and AMD and things like the amdkfd driver (for Radeon open compute). Looking at the state of IOMMU

Re: Linux process causes kernel panic

2018-08-04 Thread Johannes Lundberg
On Fri, Aug 3, 2018 at 9:43 PM Konstantin Belousov wrote: > On Fri, Aug 03, 2018 at 09:26:08PM +0100, Johannes Lundberg wrote: > > Hi > > > > After install new kernel+world built from today's checkout I keep getting > > the same crash over and over. Never had this p

Re: Linux process causes kernel panic

2018-08-03 Thread Johannes Lundberg
On Fri, Aug 3, 2018 at 9:43 PM Konstantin Belousov wrote: > On Fri, Aug 03, 2018 at 09:26:08PM +0100, Johannes Lundberg wrote: > > Hi > > > > After install new kernel+world built from today's checkout I keep getting > > the same crash over and over. Never had this p

Re: Linux process causes kernel panic

2018-08-03 Thread Johannes Lundberg
On Fri, Aug 3, 2018 at 9:34 PM Oliver Pinter wrote: > Hi! > > On 8/3/18, Johannes Lundberg wrote: > > Hi > > > > After install new kernel+world built from today's checkout I keep getting > > the same crash over and over. Never had this problem before. The pre

Linux process causes kernel panic

2018-08-03 Thread Johannes Lundberg
Hi After install new kernel+world built from today's checkout I keep getting the same crash over and over. Never had this problem before. The previous kernel was from 3 weeks ago. Looks familiar to anyone? Fatal trap 12: page fault while in kernel mode cpuid = 0; apic id = 00 fault virtual

Re: acpiconf -s 3 does not call acpi sleep event handlers

2018-08-01 Thread Johannes Lundberg
On Thu, Aug 2, 2018 at 06:20 Andriy Gapon wrote: > On 02/08/2018 01:17, Conrad Meyer wrote: > > I don't understand the concern. There is only one listener to the > > event and it just invokes ReqSleepState, which is responsible for > > performing all suspend behavior. The behavior is identical

Re: acpiconf -s 3 does not call acpi sleep event handlers

2018-08-01 Thread Johannes Lundberg
acpiconf (but they do when suspending via lid or sleep button). I think one would expect the same behavior when suspending via command line or physical switch. > > Best, > Conrad > > On Wed, Aug 1, 2018 at 2:48 PM, Johannes Lundberg > wrote: > > > > > > On We

Re: acpiconf -s 3 does not call acpi sleep event handlers

2018-08-01 Thread Johannes Lundberg
return ACPI_SUCCESS(AcpiOsExecute(OSL_NOTIFY_HANDLER, + acpi_invoke_sleep_eventhandler, )) ? 0 : ENXIO; device_printf(sc->acpi_dev, "power off via acpi ioctl not supported\n"); error = EOPNOTSUPP; break; > Best, > Conrad > > On Wed,

acpiconf -s 3 does not call acpi sleep event handlers

2018-08-01 Thread Johannes Lundberg
Hi As the title says, callbacks registered with EVENTHANDLER_REGISTER(acpi_sleep_event, does not get called when calling acpiconf -s 3. They do however, when suspending with lid or sleep button. Is this deliberate or an oversight? Cheers ___

Re: atomic changes break drm-next-kmod?

2018-07-06 Thread Johannes Lundberg
On Fri, Jul 6, 2018 at 9:49 AM Konstantin Belousov wrote: > On Fri, Jul 06, 2018 at 09:52:24AM +0200, Niclas Zeising wrote: > > On 07/06/18 00:02, Warner Losh wrote: > > > > > > > > > On Thu, Jul 5, 2018 at 1:44 PM, John Baldwin > > > wrote: > > > > > > On 7/5/18

Re: Ryzen public erratas

2018-06-13 Thread Johannes Lundberg
Konstantin Belousov writes: > Today I noted that AMD published the public errata document for Ryzens, > https://developer.amd.com/wp-content/resources/55449_1.12.pdf > > Some of the issues listed there looks quite relevant to the potential > hangs that some people still experience with the

Re: How to run drm-next-kmod on r334511

2018-06-02 Thread Johannes Lundberg
Masachika ISHIZUKA writes: > Hi. > > When I updated to r334511, drm-next-kmod is not working with > the message '[drm:fw_domain_wait_ack] render: timed out waiting > for forcewake ack request.'. > > drm-next-kmod was working fine on r333704. > > My CPU is pentium G4560(kaby lake). Hi

  1   2   >