Re: Panic with r346530 [Re: svn commit: r346530 - in head/sys: netinet netinet6]

2019-04-22 Thread Hans Petter Selasky
On 4/22/19 3:28 PM, Kristof Provost wrote: On 22 Apr 2019, at 12:25, Enji Cooper wrote: Either the sys/netinet/ or sys/netipsec/ tests triggered the panic. Not sure which right now. That looks to be happening during a vnet jail teardown, so it’s likely the sys/netipsec or sys/netpfil/pf

Re: [RESOLVED] Re: FreeBSD 13.0-CURRENT r346362 + webcamd -- no /dev/video*

2019-04-22 Thread Hans Petter Selasky
On 4/21/19 11:09 PM, Boris Samorodov wrote: Hi All, The problem is resolved with the help of Tom Rushworth (via private emails) by starting hald. I had not run it and this dependency is noted at WEBCAMD(8) neither. Cool :-) --HPS ___

Re: FreeBSD 13.0-CURRENT r346362 + webcamd -- no /dev/video*

2019-04-22 Thread Hans Petter Selasky
On 4/21/19 5:48 PM, Boris Samorodov wrote: Hi All, I use a fresh FreeBSD-current system and webcamd but get no /dev/video* device: - %uname -a FreeBSD latt.bsnet 13.0-CURRENT FreeBSD 13.0-CURRENT r346362 PKG64X amd64 % ls -l /dev/cuse crw-rw 1 root operator 0x77 21 апр. 18:04

Re: Building freebsd on another OS

2019-03-17 Thread Hans Petter Selasky
On 3/16/19 1:44 AM, Jonathan Moore wrote: Hi, Is it possible to build freebsd on Windows All I could find is this.: https://forums.freebsd.org/threads/building-the-freebsd-kernel-on-another-os.32275/ See the freebsd-build utils package for Linux. --HPS

Re: SVN r345102 breaks drm-current-kmod

2019-03-14 Thread Hans Petter Selasky
On 3/14/19 9:22 AM, Niclas Zeising wrote: On March 14, 2019 7:37:50 AM UTC, Hans Petter Selasky wrote: CC'ing Johannes and Niclas. Hi, The patch in question has been reverted until these issues are resolved. https://svnweb.freebsd.org/changeset/base/345127 --HPS

Re: SVN r345102 breaks drm-current-kmod

2019-03-14 Thread Hans Petter Selasky
CC'ing Johannes and Niclas. --HPS On 3/14/19 1:20 AM, Michael Butler wrote: As below .. --- drm_atomic_helper.o --- In file included from /usr/ports/graphics/drm-current-kmod/work/kms-drm-78e51d0/drivers/gpu/drm/drm_atomic_helper.c:28: In file included from

Re: Optimization bug with floating-point?

2019-03-13 Thread Hans Petter Selasky
On 3/13/19 4:50 PM, Steve Kargl wrote: Using sin() and cos() directly as in /* Double precision csinh() without using C's double complex.s */ void dp_csinh(double x, double y, double *re, double *im) { double c, s; *re = sinh(x) * cos(y); *im = cosh(x) * sin(y); } does not change

Re: Optimization bug with floating-point?

2019-03-13 Thread Hans Petter Selasky
On 3/13/19 4:16 PM, Steve Kargl wrote: On Tue, Mar 12, 2019 at 07:45:41PM -0700, Steve Kargl wrote: gcc8 --version gcc8 (FreeBSD Ports Collection) 8.3.0 gcc8 -fno-builtin -o z a.c -lm && ./z gcc8 -O -fno-builtin -o z a.c -lm && ./z gcc8 -O2 -fno-builtin -o z a.c -lm && ./z gcc8 -O3

Re: USB problems on -CURRENT (controller keeps getting reset)

2019-02-12 Thread Hans Petter Selasky
The USB timeout error might indicate an IRQ issue. Can you try setting: hw.usb.xhci.use_polling=1 In /boot/loader.conf and reboot. --HPS ___ freebsd-current@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-current To

Re: drm2 removed?

2019-02-11 Thread Hans Petter Selasky
On 2/11/19 5:12 PM, 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. How is suppose to be fixed? --- ttm_bo_manager.o --- cc -O2 -pipe -march=core2 -fno-strict-aliasing -march=core2

Re: usb/234503 already committed, but needs modification to cover more devices

2019-01-26 Thread Hans Petter Selasky
On 1/26/19 1:41 AM, Mel Pilgrim wrote: A quirk for a USB flashdrive was added to head (r342657), but the modification was too narrow.  The quirk affects all of the devices in the Chipfancier SLC family, not just the one specific device for which the quirk was added. I replied to usb/234503

Re: r342378: usbconfig takes 3-5 minutes to read the bus

2019-01-02 Thread Hans Petter Selasky
On 1/2/19 4:57 PM, Hans Petter Selasky wrote: On 1/2/19 4:47 PM, Matthias Apitz wrote: After card removal and insert devd(8) starts a new pcsd: Does pcsd install this devd(8) rule? I thought pcsd would no longer need to be restarted. > Let's move this thread freebsd-usb only. Have a l

Re: r342378: usbconfig takes 3-5 minutes to read the bus

2019-01-02 Thread Hans Petter Selasky
On 1/2/19 4:47 PM, Matthias Apitz wrote: After card removal and insert devd(8) starts a new pcsd: Does pcsd install this devd(8) rule? I thought pcsd would no longer need to be restarted. --HPS ___ freebsd-current@freebsd.org mailing list

Re: r342378: usbconfig takes 3-5 minutes to read the bus

2019-01-02 Thread Hans Petter Selasky
On 1/2/19 11:48 AM, Matthias Apitz wrote: El día miércoles, enero 02, 2019 a las 09:44:06a. m. +0100, Hans Petter Selasky escribió: On 1/1/19 2:51 PM, Matthias Apitz wrote: Now with r342378, it works only after boot but not after withdraw/re-insert anymore. To separate the problem from GnuPG

Re: r342378: usbconfig takes 3-5 minutes to read the bus

2019-01-02 Thread Hans Petter Selasky
On 1/1/19 2:51 PM, Matthias Apitz wrote: Now with r342378, it works only after boot but not after withdraw/re-insert anymore. To separate the problem from GnuPG and it's software stack, I have here some small tests with usbconfig(8). First usbconfig reads fine the bus, but then it takes 3-5

Re: drm kmod kernel panic

2018-11-27 Thread Hans Petter Selasky
On 11/27/18 1:36 PM, Ruslan Makhmatkhanov wrote: swap_pager_getswapspace(19): failed swap_pager_getswapspace(12): failed Is the system running low on memory? --HPS ___ freebsd-current@freebsd.org mailing list

Re: r339929 no audio output to some sound devices with Firefox and some other applications

2018-11-03 Thread Hans Petter Selasky
On 11/3/18 11:32 AM, Graham Perrin wrote: for example: - audible in Chromium, Falkon and Web - silent in Firefox, New Moon (Pale Moon) and Waterfox. HP EliteBook 8570p, integral loudspeakers. If I recall correctly: yesterday I _did_ get audio from at least one of

Re: fix WARNING pid 24503 (uhsoctl): ioctl sign-extension ioctl ffffffff8044692b

2018-11-02 Thread Hans Petter Selasky
On 11/2/18 5:24 PM, Enji Cooper (yaneurabeya) wrote: signed ioctl value warnings in uhsoctl(). Here you go: https://svnweb.freebsd.org/changeset/base/340089 --HPS ___ freebsd-current@freebsd.org mailing list

Re: Page fault in midi/sequencer.c

2018-10-22 Thread Hans Petter Selasky
On 10/20/18 6:56 PM, Peter Holm wrote: I can trigger this on 13.0-CURRENT r339445 with a non-root test program: Hi, The following commits should fix the issues you experience: https://svnweb.freebsd.org/changeset/base/339581 https://svnweb.freebsd.org/changeset/base/339582

Re: Page fault in midi/sequencer.c

2018-10-21 Thread Hans Petter Selasky
On 10/20/18 6:56 PM, Peter Holm wrote: I can trigger this on 13.0-CURRENT r339445 with a non-root test program: Calling uiomove() with the following non-sleepable locks held: exclusive sleep mutex seqflq (seqflq) r = 0 (0xf80003860c08) locked @ dev/sound/midi/sequencer.c:952 stack

Re: DRM: radeonkms … can not be unloaded (kernel panic)) …

2018-10-20 Thread Hans Petter Selasky
On 10/20/18 3:10 AM, Graham Perrin wrote: On 20/10/2018 00:01, Graham Perrin wrote: kldunload radeonkms – results in a kernel panic. Found, at under 'drm-devel-kmod g20180822 screen freeze': … normally you

Re: drm confusion / xorg / AMD RX580 GPU

2018-10-08 Thread Hans Petter Selasky
On 10/8/18 3:06 PM, Warner Losh wrote: You need "/boot/kernel/amdgpu.ko" here Warner Or did you mean: /boot/modules/amdgpu.ko --HPS ___ freebsd-current@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-current To

Re: Is there a standard way to check patch before submitting for review or upstreaming?

2018-10-04 Thread Hans Petter Selasky
On 10/4/18 1:08 PM, Rajesh Kumar wrote: Hi, Do we have any standard tools/process in FreeBSD to check/validate the patch for basic issues before we submit them for review or upstreaming? Basically, something like checkpatch.pl in Linux. Thanks, Rajesh. Hi, There is something in

Re: drm / drm2 removal in 12

2018-08-26 Thread Hans Petter Selasky
On 8/26/18 3:20 AM, blubee blubeeme wrote: Have you or anyone working on this drm-legacy-kmod stuff done any testings of how this will affect current users? Hi Blubee, Are you here to try to stir a conflict? If so that is not appreciated. --HPS ___

Re: panic after ifioctl/if_clone_destroy

2018-08-11 Thread Hans Petter Selasky
On 8/11/18 9:44 AM, Roman Bogorodskiy wrote: Hans Petter Selasky wrote: On 08/06/18 21:43, Matthew Macy wrote: The struct thread is typesafe. The problem is that the link is no longer typesafe now that it’s not part of the thread. Thanks for pointing this out. I’ll commit a fix later today

Re: panic after ifioctl/if_clone_destroy

2018-08-08 Thread Hans Petter Selasky
On 08/06/18 21:43, Matthew Macy wrote: The struct thread is typesafe. The problem is that the link is no longer typesafe now that it’s not part of the thread. Thanks for pointing this out. I’ll commit a fix later today. Is there a patch yet? --HPS

Re: panic after ifioctl/if_clone_destroy

2018-08-06 Thread Hans Petter Selasky
Hi Matthew, On 08/06/18 10:02, Hans Petter Selasky wrote: - if ((tdwait = TAILQ_FIRST(>er_tdlist)) != NULL && - TD_IS_RUNNING(tdwait->et_td)) { At least the TD_IS_RUNNING() check is invalid. The "tdwait" structure is in the control of t

Re: panic after ifioctl/if_clone_destroy

2018-08-06 Thread Hans Petter Selasky
Hi Roman, Can you try the attached patch? --HPS Index: sys/kern/subr_epoch.c === --- sys/kern/subr_epoch.c (revision 336962) +++ sys/kern/subr_epoch.c (working copy) @@ -232,33 +232,14 @@ struct epoch_thread *tdwait; struct

Re: panic after ifioctl/if_clone_destroy

2018-08-06 Thread Hans Petter Selasky
Hi, I think the problem is the thread pointed to by tdwait exited. I would say it is not allowed to peek into the other records threads, because they may change under the hood and are not protected by the current context. if (record->er_cpuid != curcpu) { This optimisation is

Re: atomic changes break drm-next-kmod?

2018-07-06 Thread Hans Petter Selasky
wrote: On 7/5/18 12:36 PM, Konstantin Belousov wrote: > On Thu, Jul 05, 2018 at 09:12:24PM +0200, Hans Petter Selasky wrote: >> On 07/05/18 20:59, Hans Petter Selasky wrote: >>> On 07/05/18 19:48, Pete Wright wrote: >>>> >>>>

Re: atomic changes break drm-next-kmod?

2018-07-05 Thread Hans Petter Selasky
On 07/05/18 20:59, Hans Petter Selasky wrote: On 07/05/18 19:48, Pete Wright wrote: On 07/05/2018 10:10, John Baldwin wrote: On 7/3/18 5:10 PM, Pete Wright wrote: On 07/03/2018 15:56, John Baldwin wrote: On 7/3/18 3:34 PM, Pete Wright wrote: On 07/03/2018 15:29, John Baldwin wrote

Re: atomic changes break drm-next-kmod?

2018-07-05 Thread Hans Petter Selasky
On 07/05/18 19:48, Pete Wright wrote: On 07/05/2018 10:10, John Baldwin wrote: On 7/3/18 5:10 PM, Pete Wright wrote: On 07/03/2018 15:56, John Baldwin wrote: On 7/3/18 3:34 PM, Pete Wright wrote: On 07/03/2018 15:29, John Baldwin wrote: That seems like kgdb is looking at the wrong CPU. 

Re: Crash in udp6_input on -HEAD

2018-07-04 Thread Hans Petter Selasky
On 07/04/18 18:51, Larry Rosenman wrote: borg.lerctr.org dumped core - see /var/crash/vmcore.0 Ideas? https://svnweb.freebsd.org/changeset/base/335958 ___ freebsd-current@freebsd.org mailing list

Re: Help USB keyboard trouble

2018-06-15 Thread Hans Petter Selasky
On 06/15/18 08:45, Alex V. Petrov wrote: Hans Petter! What can you say about my problem? Hi, I didn't have time to look into this. --HPS ___ freebsd-current@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-current To

Re: RealTek RTL8192E/RTL8192SE Wireless Support

2018-06-14 Thread Hans Petter Selasky
On 06/14/18 12:15, Stephen Albright wrote: Pete, That did not work either. interestingly enough, they did not load after reboot. 'kldstat' reports 'kernel' as the only thing loaded. Is /boot/modules empty? Are there any errors in dmesg? --HPS

Re: evdev + ps/2 dell touchpad weirdness

2018-05-31 Thread Hans Petter Selasky
On 05/31/18 13:39, Johannes Lundberg wrote: EV_REL is for pushing events. For evdev_push_rel(), use REL_{axis}. Does this work: https://svnweb.freebsd.org/changeset/base/334422 --HPS ___ freebsd-current@freebsd.org mailing list

Re: [RFC] Deprecation and removal of the drm2 driver

2018-05-31 Thread Hans Petter Selasky
On 05/30/18 23:51, O. Hartmann wrote: Loading graphics/drm-stable-kmod as requested (via rc.conf.local) ends up in a trap 12/crash. Very nice for such an old hardware. graphics/drm-next-kmod does load without crashing the system - but the console is stuck in the clumsy 80x25 mode. So why

Re: head@r334204, Bad link elm in callout_process()

2018-05-29 Thread Hans Petter Selasky
On 05/29/18 13:20, Andriy Gapon wrote: (kgdb) p *$4.lh_first->c_links.le.le_next $6 = { c_links = { le = { le_next = 0x0, le_prev = 0xfe0003999f98 Where does the le_prev point? Typically happens when callouts are not properly drained before freeing memory. --HPS

Re: [RFC] Deprecation and removal of the drm2 driver

2018-05-24 Thread Hans Petter Selasky
On 05/24/18 08:16, M - Krasznai András wrote: I tried to set it to drm-stable-kmod as well as to drm-next-kmod, none was working, I got a fatal trap, kernel panic during boot. Did you build from source? Can you show the panic? drm-next-kmod should be loaded by /etc/rc.conf like this, can you

Re: [RFC] Deprecation and removal of the drm2 driver

2018-05-19 Thread Hans Petter Selasky
On 05/19/18 05:56, Daniel Eischen wrote: Yes, with VESA, albeit aspect ratios are off. I'm using drm2 with an AMD (née ATI) Radeon 4850 (RV770), AGP. This is on an amd64 somewhat old -current system. Is this supported by the drm-next-kmod port? I've used drm2 in the past, but noticed the

Re: Help USB keyboard trouble

2018-05-09 Thread Hans Petter Selasky
On 05/09/18 05:52, Alex V. Petrov wrote: The new USB-keyboard "Qumo Dragon War Mechanicus K11" continues to print "A" when connected, as if the "a" key is pressed. But in Windows and Linux keyboard work normaly. In log: May 9 10:43:38 alex kernel: ugen2.3: at usbus2 May 9 10:43:38 alex

Re: CURRENT r331284: crashing with USB

2018-03-21 Thread Hans Petter Selasky
On 03/21/18 12:07, Hartmann, O. wrote: Hello. Incident: CURRENT r331284 can be brought down reliably with an USB flash drive plugged in and out without mounting or doing anything with it. I first recognized the incident with a ZFS on a SanDisk 32GB USB 3.0 flash drive. Plugging the USB flash

Re: webcamd based touchscreen problem on Pi3

2018-03-09 Thread Hans Petter Selasky
On 03/09/18 12:40, Bernd Walter wrote: Will do the quirk test later. I don't see any stalls during plug-in, so it might be a request webcamd issues, which the device doesn't support. Try building webcamd with debug support. --HPS ___

Re: webcamd based touchscreen problem on Pi3

2018-03-09 Thread Hans Petter Selasky
On 03/09/18 01:44, Bernd Walter wrote: On Thu, Mar 08, 2018 at 10:10:47PM +0100, Hans Petter Selasky wrote: You can try running usbdump to capture USB packets. ktrace is also your friend. dd if=/dev/input/event0 bs=1 Also check ownership of devices, that X.org can read from them

Re: webcamd based touchscreen problem on Pi3

2018-03-08 Thread Hans Petter Selasky
On 03/08/18 22:08, Bernd Walter wrote: On Thu, Mar 08, 2018 at 09:08:49PM +0100, Bernd Walter wrote: On Thu, Mar 08, 2018 at 08:11:31PM +0100, Bernd Walter wrote: This is what I have right now: [20]sa# cat /etc/X11/xorg.conf Section "InputDevice" Identifier "Touchscreen"

Re: webcamd based touchscreen problem on Pi3

2018-03-08 Thread Hans Petter Selasky
On 03/08/18 17:16, Bernd Walter wrote: Hardware is a Raspberry Pi3 with current r330034. I'm trying to run a USB touchscreen. Tested wmt and uep, but neither wants to attach, although the Waveshare display I'm using is likely running an egalaxy firmware. However webcamd accepts the device and

Re: drm-next-kmod regression

2018-03-02 Thread Hans Petter Selasky
On 03/02/18 17:40, Manuel Stühn wrote: Hi, the last drm-next-kmod worked fine on my Lenovo T420 with i5-2520M and a HD Graphics 3000. After the update to the actual version (4.11) from ports, I'm seeing regression in form of a very slow xfce4-desktop. The slowness starts after some short

Re: Recent world+kernel has broken Linux 3D apps?

2018-02-20 Thread Hans Petter Selasky
On 02/20/18 14:03, Johannes Lundberg wrote: On Tue, Feb 20, 2018 at 12:57 PM, Hans Petter Selasky <h...@selasky.org> wrote: On 02/20/18 12:39, Johannes Lundberg wrote: Before rebuilding world my system was running Linux games fine with a couple of months old world/kernel and drm-nex

Re: Recent world+kernel has broken Linux 3D apps?

2018-02-20 Thread Hans Petter Selasky
On 02/20/18 12:39, Johannes Lundberg wrote: Before rebuilding world my system was running Linux games fine with a couple of months old world/kernel and drm-next-kmod. Since updating world+kernel last week all Linux 3D apps fail (native binaries like glxgears and supertuxkart works fine).

Re: r329501 devd doesn't find USB devices

2018-02-17 Thread Hans Petter Selasky
On 02/18/18 05:14, Ian FREISLICH wrote: On 02/17/18 22:48, Warner Losh wrote: On Feb 17, 2018 8:24 PM, "Ian FREISLICH" > wrote: Hi Since devmatch some of my USB devices no longer get their drivers loaded. 

Re: panic in daprobedone: Unholding 4 with cnt = 0

2018-02-17 Thread Hans Petter Selasky
On 02/17/18 16:15, Warner Losh wrote: I've done that with my systems here... If you can reliably reproduce it, booting a kernel with 'options DA_TRACK_REFS=2' in the kernel config and send me the output? Warner I have a reproduction. I'll send you the photo off-list. --HPS

Re: panic in daprobedone: Unholding 4 with cnt = 0

2018-02-17 Thread Hans Petter Selasky
On 02/17/18 15:47, Warner Losh wrote: That's interesting. What did you do to get there? There's some code path that's unholding the periph without first holding it. I've been trying to find a scenario. I just booted into single user mode with a multi-card USB reader attached. Seems like some

Re: devd in r329188M don't start

2018-02-17 Thread Hans Petter Selasky
On 02/17/18 15:58, Warner Losh wrote: USB WAS ABSOLUTELY TESTED. I rebooted my machine several times, unloaded drivers, etc. It all just worked for me. Please don't make snide comments like this, along with drive by commits to devmatch without even discussing the problems with me. It's really

Re: devd in r329188M don't start

2018-02-17 Thread Hans Petter Selasky
On 02/17/18 15:22, Alex V. Petrov wrote: Sorry, prev msg this only afrer one patch. Now is all OK. There is one more, but not so important: https://svnweb.freebsd.org/changeset/base/329458 Thank for your testing! --HPS ___

Re: mlx4 weird error "Failed to map EQ context memory" after update

2018-02-17 Thread Hans Petter Selasky
On 02/17/18 14:51, Greg V wrote: On 01/20/2018 12:18, Hans Petter Selasky wrote: On 01/20/18 00:17, Greg V via freebsd-net wrote: On 01/19/2018 12:54, Hans Petter Selasky wrote: On 01/18/18 14:11, Greg V wrote: Hi. I've upgraded CURRENT from December 19 (https://github.com/freebsd/freebsd

Re: devd in r329188M don't start

2018-02-17 Thread Hans Petter Selasky
On 02/17/18 14:51, Alex V. Petrov wrote: devmatch: Malformed NOMATCH string: ''?'' persists Did you reinstall /etc ? --HPS ___ freebsd-current@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe,

Re: devd in r329188M don't start

2018-02-17 Thread Hans Petter Selasky
On 02/17/18 11:38, Alex V. Petrov wrote: 12.0-CURRENT #12 r329446M: Sat Feb 17 17:11:05 +07 2018: on boot multilines: devmatch: Malformed NOMATCH string: ''?'' Can you try these two patches: https://svnweb.freebsd.org/changeset/base/329455 https://svnweb.freebsd.org/changeset/base/329456

Re: Since last week (today) current on my Ryzen box is unstable

2018-02-17 Thread Hans Petter Selasky
On 02/17/18 13:42, Hans Petter Selasky wrote: On 02/17/18 13:16, Andrew Reilly wrote: On a side-note, the new devmatch workings are giving me 43 boot warnings about "Malformed NOMATCH string: ''?'', and devmatch_enable="NO" in /etc/rc.conf doesn't seem to help, and the new m

Re: Since last week (today) current on my Ryzen box is unstable

2018-02-17 Thread Hans Petter Selasky
On 02/17/18 13:16, Andrew Reilly wrote: On a side-note, the new devmatch workings are giving me 43 boot warnings about "Malformed NOMATCH string: ''?'', and devmatch_enable="NO" in /etc/rc.conf doesn't seem to help, and the new matching is very very keen to load cc_vegas.ko, a lot. Here's the

panic in daprobedone: Unholding 4 with cnt = 0

2018-02-17 Thread Hans Petter Selasky
I've started to hit this panic with USB mass storage, before even the device has become in-use: panic: Unholding 4 with cnt = 0 Backtrace: vpanic() panic() daprobedone() dadone() xpt_done_process() xpt_done_td() fork_exit() fork_trampoline() db> static inline void da_periph_unhold(struct

Re: devd in r329188M don't start

2018-02-13 Thread Hans Petter Selasky
On 02/13/18 10:47, Jakob Alvermark wrote: +1 My USB mouse was working fine before the switch to devmatch. Now I have to 'kldload ums' manually. Same for USB audio, snd_uaudio.ko was loaded by devd before. Hi, This is a known issue. Can you try the attached patch? Rebuild devmatch(8)

Re: devd in r329188M don't start

2018-02-13 Thread Hans Petter Selasky
On 02/13/18 10:20, Alex V. Petrov wrote: usb.conf is not found anywhere in the system. This is normal? devmatch is supposed to replace usb.conf . The contents of usb.conf is now part of the linker hints, /boot/kernel/linker.hints . --HPS ___

Re: devd in r329188M don't start

2018-02-13 Thread Hans Petter Selasky
On 02/13/18 09:02, Alex V. Petrov wrote: after update, devd don't starting with: devd: Cannot parse /etc/devd/devmatch.conf at line 13 (file default!) If I disable it, don't work mouse in xorg. https://svnweb.freebsd.org/changeset/base/329194 --HPS

Re: devd in r329188M don't start

2018-02-13 Thread Hans Petter Selasky
On 02/13/18 09:02, Alex V. Petrov wrote: after update, devd don't starting with: devd: Cannot parse /etc/devd/devmatch.conf at line 13 (file default!) If I disable it, don't work mouse in xorg. I think there is a missing ";" at the end of line 13. Try adding one. --HPS

Re: USB wifi dongle can't work

2018-01-28 Thread Hans Petter Selasky
On 01/28/18 04:42, KIRIYAMA Kazuhiko wrote: Hi, I've tested a USB wifi dongle but can't work. It's usbconfig is as follows: ugen0.2: at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (160mA) bLength = 0x0012 bDescriptorType = 0x0001 bcdUSB = 0x0201 bDeviceClass = 0x

Re: Periodical interrupt storm when playing game with USB keyboard

2018-01-24 Thread Hans Petter Selasky
Hi, Can you test and review: https://reviews.freebsd.org/D14027 --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: Periodical interrupt storm when playing game with USB keyboard

2018-01-23 Thread Hans Petter Selasky
On 01/23/18 12:27, Johannes Lundberg wrote: Hi all Some quick dtracing with play causing lag, vs play not causing lag (that is not hold down any key on a usb keyboard for too long). Hi, The only thing I can think about is that one or more of kb_delay1 or kb_delay2 are zero:

Re: Periodical interrupt storm when playing game with USB keyboard

2018-01-22 Thread Hans Petter Selasky
On 01/21/18 23:57, Johannes Lundberg wrote: Thanks for the further explanation. I curious as to where the problem might be though.. It is the game's binary-only Linux executable (Unreal Engine 2.5), Linux SDL 1.2, or on the FreeBSD side? Haven't experienced anything similar with Quake3...

Re: Periodical interrupt storm when playing game with USB keyboard

2018-01-22 Thread Hans Petter Selasky
On 01/21/18 23:57, Johannes Lundberg wrote: Thanks for the further explanation. I curious as to where the problem might be though.. It is the game's binary-only Linux executable (Unreal Engine 2.5), Linux SDL 1.2, or on the FreeBSD side? Haven't experienced anything similar with Quake3...

Re: Periodical interrupt storm when playing game with USB keyboard

2018-01-21 Thread Hans Petter Selasky
On 01/21/18 21:45, Johannes Lundberg wrote: What does kern.eventtimer.periodic do? The sysctl description wasn't that elaborate... It turns off re-programming the timer every time there is a new callout with earlier completion time. --HPS ___

Re: Periodical interrupt storm when playing game with USB keyboard

2018-01-21 Thread Hans Petter Selasky
On 01/21/18 16:41, Johannes Lundberg wrote: Hi Finally I found the root to the problem that's been having me puzzled for the last week. I started playing UT2004 on my laptop while away from home. Worked perfectly. When I'm home and connect external display+mouse/keyboard, I get weird random

Re: mlx4 weird error "Failed to map EQ context memory" after update

2018-01-20 Thread Hans Petter Selasky
On 01/20/18 00:17, Greg V via freebsd-net wrote: On 01/19/2018 12:54, Hans Petter Selasky wrote: On 01/18/18 14:11, Greg V wrote: Hi. I've upgraded CURRENT from December 19 (https://github.com/freebsd/freebsd/commit/fd53ccf393f4f8ac1948e97eca108) to today (https://github.com/freebsd/freebsd

Re: mlx4 weird error "Failed to map EQ context memory" after update

2018-01-19 Thread Hans Petter Selasky
On 01/18/18 14:11, Greg V wrote: Hi. I've upgraded CURRENT from December 19 (https://github.com/freebsd/freebsd/commit/fd53ccf393f4f8ac1948e97eca108) to today (https://github.com/freebsd/freebsd/commit/391a83c86bb91ae3840cf37b7de478f42cc97e2a) and my Mellanox ConnectX-2 network card stopped

Re: inconsistent for() and while() behavior when using floating point

2018-01-15 Thread Hans Petter Selasky
Hi, The "seq" utility should use two 64-bit integers to represent the 10-base decimal number instead of float/double. And then you need to step this pair of integers. --HPS ___ freebsd-current@freebsd.org mailing list

Re: inconsistent for() and while() behavior when using floating point

2018-01-15 Thread Hans Petter Selasky
On 01/15/18 15:38, Yuri Pankov wrote: Hi, Looking at https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=217149, I noticed that it isn't a seq(1) problem per se, rather for() and while() loops behaving inconsistently while using floating point, i.e.:     double i;     for (i = 1; i

Re: [Request for review] Profiling the FreeBSD kernel boot

2017-12-22 Thread Hans Petter Selasky
On 12/22/17 10:44, Colin Percival wrote: track down the places where we're wasting time during the boot, and then to fix them. Hi, The USB stack will try to enumerate all USB controllers simultaneously. DELAY() is frequently a problem having to wait for chips to reset during enumeration as

Re: valloric YCM [header definitions]

2017-12-08 Thread Hans Petter Selasky
On 12/08/17 14:23, blubee blubeeme wrote: On Wed, Dec 6, 2017 at 2:18 AM, blubee blubeeme wrote: Hi, These questions are better off at questi...@freebsd.org :-) I'm looking for where the u_int, u_long headers are defined? Anyway, it appears you are having some fun

Re: panic r326359

2017-11-30 Thread Hans Petter Selasky
On 11/30/17 02:25, Masachika ISHIZUKA wrote: After updating r326359, kernel panic has occure. ( I can boot up but panics within a few minutes.) It was good working up to r325887. Try to set: kern.smp.disabled=1 from loader or in /boot/loader.conf Thank you for reply, HPS. It

Re: panic r326359

2017-11-29 Thread Hans Petter Selasky
On 11/29/17 13:37, Masachika ISHIZUKA wrote: After updating r326359, kernel panic has occure. ( I can boot up but panics within a few minutes.) It was good working up to r325887. # cat /var/crash/info.6 Dump header from device: /dev/gpt/fbswap Architecture: amd64 Architecture

Re: pcsc-lite hangs up after unplugging an USB card reader

2017-11-06 Thread Hans Petter Selasky
On 11/06/17 13:11, Roberto Fernandez Cueto wrote: Roberto Fernandez-Cueto schrieb am 06.11.2017 13:11 _ On Mon, Nov 06, 2017 at 12:55:20PM +0100, Hans Petter Selasky wrote: On 11/06/17 09:27, Roberto Fernandez Cueto wrote

Re: pcsc-lite hangs up after unplugging an USB card reader

2017-11-06 Thread Hans Petter Selasky
On 11/06/17 09:27, Roberto Fernandez Cueto wrote: Roberto Fernandez-Cueto schrieb am 06.11.2017 09:27 _ Hi people, the original person who wrote this email has left our company so I will retake it from here. Hi Roberto,

Re: Emacs and LLD

2017-11-03 Thread Hans Petter Selasky
On 11/03/17 16:29, Tobias Kortkamp wrote: Hi, I cannot build editors/emacs-nox11 (or any other Emacs port) on FreeBSD 12 anymore for several months now. The build aborts with: ./temacs --batch --load loadup bootstrap Fatal error 'Can't allocate initial thread' at line 337 in file

Re: r325250: panics on USB stick insert

2017-11-02 Thread Hans Petter Selasky
On 11/02/17 15:19, Poul-Henning Kamp wrote: I updated to r325250M amd64 last night, and now my laptop panics in geom when I plug my mobile phone in. I'll try to get a panic message when I'm in less of a hurry... This is likely GEOM related and not USB related. There are no recent changes in

Re: pcsc-lite hangs up after unplugging an USB card reader

2017-11-01 Thread Hans Petter Selasky
On 11/01/17 12:05, Jairo Montes González wrote: Jairo Montes schrieb am 01.11.2017 11:04 _ The output from "procstat -ak" is attached to this email. Here are the relevant bits: 898 100592 pcscd -

Re: pcsc-lite hangs up after unplugging an USB card reader

2017-10-30 Thread Hans Petter Selasky
On 10/30/17 18:10, Jairo Montes González wrote: Jairo Montes schrieb am 30.10.2017 17:09 _ Hi people! My problem appears only when unplugging one device. I can have more than one connected, but when I disconnect one, an error

Re: Okular or any pdf reader

2017-10-25 Thread Hans Petter Selasky
On 10/25/17 13:15, blubee blubeeme wrote: Okay, I tried using chatbot for android to ssh into this laptop and that works just fine. Then when I launch okular the computer had locks up and the ssh dies on the phone as well. So it seems not even ssh works when this this freezes up. Any other

Re: Okular or any pdf reader

2017-10-25 Thread Hans Petter Selasky
On 10/25/17 11:55, blubee blubeeme wrote: "os.lock_mtx" Oct 25 17:52:58 blubee kernel: 1st os.lock_mtx @ nvidia_os.c:841 Oct 25 17:52:58 blubee kernel: 2nd os.lock_mtx @ nvidia_os.c:841 Oct 25 17:52:58 blubee kernel: stack backtrace: Oct 25 17:52:58 blubee kernel: #0 0x80ab6f30 at

Re: Okular or any pdf reader

2017-10-25 Thread Hans Petter Selasky
On 10/25/17 11:39, blubee blubeeme wrote: Typo on the [audio] Here's my /var/log/messages for the past hour or so, the failure should be logged in there somewhere: https://pastebin.com/FCkXEn1v Other than that there's this: https://ibb.co/gUBVkm Try: dbus-launch okular --HPS

Re: Okular or any pdf reader

2017-10-25 Thread Hans Petter Selasky
On 10/25/17 11:30, blubee blubeeme wrote: any audio pdf viewer Audio?? Do you have a kernel trace or dmesg ? --HPS ___ freebsd-current@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any

Re: There is *NO* abi stability in -head

2017-10-24 Thread Hans Petter Selasky
On 10/23/17 22:35, Mateusz Guzik wrote: This is your friendly reminder that in head struct layouts can change and each update requires you to rebuild *all* modules (including ones which come from ports). In practice you can get away without it most of the time, but if in doubt or seeing funny

Booting native 4K SSD disk from FreeBSD ?

2017-10-03 Thread Hans Petter Selasky
Hi, I accidentially ordered a Sata SSD disk which diskinfo reports a sector-size 4K instead of 512 bytes. Trying to get it to boot under FreeBSD appeared impossible. Then I started looking into the boot0,1,2 and loader and the assumptions they make about 512 byte sector size LBA :-( Anyone

Re: net/asterisk13: memory leak under 12-CURRENT?

2017-09-27 Thread Hans Petter Selasky
On 09/27/17 09:05, Guido Falsi wrote: On 09/26/2017 15:41, O. Hartmann wrote: On Tue, 26 Sep 2017 15:06:23 +0200 Guido Falsi wrote: Since I run net/asterisk with automatic module loading (I'm new to asterisk), this is very likely and might cause the problem somehow.

[HEADS UP] Update of graphics/drm-next-kmod is required after FreeBSD r323702

2017-09-18 Thread Hans Petter Selasky
Hi, If you are using the drm-next-kmod from ports, don't upgrade your kernel beyond r323702 until the drm-next-kmod port has been updated. There are some changes planned for the LinuxKPI which can lead to memory leaks if you mix the versions together. Rebuilding the drm-next-kmod module is

Re: [CFT] New version of webcamd, now v4.12.0.1

2017-08-06 Thread Hans Petter Selasky
On 08/06/17 09:24, Chris Rees wrote: I'm a bit stuck on how to further debug this- I've tried with both cuse and cuse4bsd, and I've just downgraded and it works. 1) Compile webcamd with debugging. 2) Grep of idVendor and idProduct in webcamd sources as output from usbconfig -d X.Y

Re: [CFT] New version of webcamd, now v4.12.0.1

2017-08-06 Thread Hans Petter Selasky
On 08/06/17 09:24, Chris Rees wrote: Any ideas? I have a firmware file too if that would help, but I imagine that's not relevant. Can you run: webcamd -l Maybe you need to update your attach string? --HPS ___ freebsd-current@freebsd.org mailing

Re: order of executing MOD_LOAD and registering module sysctl-s

2017-08-02 Thread Hans Petter Selasky
On 08/02/17 17:49, John Baldwin wrote: On Wednesday, August 02, 2017 12:39:36 PM Hans Petter Selasky wrote: On 08/02/17 12:13, Andriy Gapon wrote: As far as I understand a module initialization routine is executed via the sysinit mechanism. Specifically, module_register_init is set up

Re: order of executing MOD_LOAD and registering module sysctl-s

2017-08-02 Thread Hans Petter Selasky
On 08/02/17 12:13, Andriy Gapon wrote: As far as I understand a module initialization routine is executed via the sysinit mechanism. Specifically, module_register_init is set up as the sysinit function for every module and it calls MOD_EVENT(mod, MOD_LOAD) to invoke the module event handler.

Re: HEAD/i386 r320212: three reproducible panics

2017-06-30 Thread Hans Petter Selasky
On 06/30/17 11:01, Oleg V. Nauman wrote: On Friday 23 June 2017 19:42:55 Oleg V. Nauman wrote: a) Panic on shutdown: Fatal trap 1: privileged instruction fault while in kernel mode cpuid = 1; apic id = 01 instruction pointer = 0x20:0xc6be2023 stack pointer = 0x28:0xe13c39f4 frame

Re: r319971 -> r320351: Fatal error 'Cannot allocate red zone for initial thread'

2017-06-29 Thread Hans Petter Selasky
On 06/29/17 13:16, Hans Petter Selasky wrote: On 06/26/17 15:03, O. Hartmann wrote: On Mon, 26 Jun 2017 14:48:58 +0200 Gary Jennejohn <gljennj...@gmail.com> wrote: On Mon, 26 Jun 2017 14:00:48 +0200 "O. Hartmann" <ohartm...@walstatt.org> wrote: On Mon, 26 Jun 20

Re: r319971 -> r320351: Fatal error 'Cannot allocate red zone for initial thread'

2017-06-29 Thread Hans Petter Selasky
On 06/26/17 15:03, O. Hartmann wrote: On Mon, 26 Jun 2017 14:48:58 +0200 Gary Jennejohn wrote: On Mon, 26 Jun 2017 14:00:48 +0200 "O. Hartmann" wrote: On Mon, 26 Jun 2017 13:26:08 +0200 Gary Jennejohn wrote: On Mon,

  1   2   3   4   5   6   7   8   >