Re: Panic after updating

2021-01-11 Thread Hans Petter Selasky
On 1/11/21 5:24 PM, Jakob Alvermark wrote: On 1/11/21 1:14 PM, Hans Petter Selasky wrote: On 1/11/21 11:12 AM, Jakob Alvermark wrote: Updated my Acer laptop from r367734 to main-c255666-g1790f5e654f Rebooting with the newly build kernel i get this panic. Fatal    trap 12: page fault

Re: Panic after updating

2021-01-12 Thread Hans Petter Selasky
On 1/12/21 12:32 PM, Jakob Alvermark wrote: Alright, after a new bisect run I got a different result, so I most likely did something wrong the first time. ff3468ac94597efdcbc56f372528dfc98b114dac is the first bad commit commit ff3468ac94597efdcbc56f372528dfc98b114dac Author: Ian Lepore Date:  

Re: Panic after updating

2021-01-12 Thread Hans Petter Selasky
On 1/12/21 1:43 PM, Jakob Alvermark wrote: On 1/12/21 12:54 PM, Hans Petter Selasky wrote: On 1/12/21 12:32 PM, Jakob Alvermark wrote: Alright, after a new bisect run I got a different result, so I most likely did something wrong the first time. ff3468ac94597efdcbc56f372528dfc98b114dac

Re: Panic after updating

2021-01-12 Thread Hans Petter Selasky
On 1/12/21 2:40 PM, Jakob Alvermark wrote: On 1/12/21 2:16 PM, Hans Petter Selasky wrote: On 1/12/21 1:43 PM, Jakob Alvermark wrote: On 1/12/21 12:54 PM, Hans Petter Selasky wrote: On 1/12/21 12:32 PM, Jakob Alvermark wrote: Alright, after a new bisect run I got a different result, so I

Re: Current amd64 main-c255825-g2a4b22514635-dirty panic triggered by ure(4) detach

2021-01-12 Thread Hans Petter Selasky
On 1/12/21 4:58 PM, Oleg V. Nauman wrote: __curthread () at /usr/src/sys/amd64/include/pcpu_aux.h:55 55 __asm("movq %%gs:%P1,%0" : "=r" (td) : "n" (offsetof(struct pcpu, (kgdb) #0 __curthread () at /usr/src/sys/amd64/include/pcpu_aux.h:55 #1 doadump (textdump=) at

Re: panic shortly after boot when amdgpu.ko is loaded (fpu?)

2020-11-27 Thread Hans Petter Selasky
On 11/27/20 6:09 AM, Rebecca Cran wrote: I have a Threadripper 2990WX system that I recently installed an AMD Radeon Pro W5700 into. It runs fine unless I load the amdgpu driver, at which point it panics several seconds after boot: I have enough time to login and run a few commands, but even

Re: buildworld fails ( stopped in /usr/src/lib/libsysdecode )

2020-11-30 Thread Hans Petter Selasky
On 11/30/20 11:43 AM, Johan Hendriks wrote: My server running FreeBSD 13.0-CURRENT #7 r368110 fails to build to r368182 I did a make cleanworld && make cleanworld to make sure i use a fresh build but it errors out with the following message. This is a known issue and will be fixed. --HPS

Re: after update to r368166: no sound recording

2020-12-09 Thread Hans Petter Selasky
On 12/9/20 10:44 AM, Matthias Apitz wrote: Hello, I've updated a laptop Acer C720 from r342378 to r368166 and do not have any sound incoming anymore. I rebooted r342378 from an USB stick and the old kernel produces already noise in the speakers when I touch the micro hole in the keyboard, the

Re: after update to r368166: no sound recording

2020-12-09 Thread Hans Petter Selasky
On 12/9/20 11:48 AM, Matthias Apitz wrote: El día miércoles, diciembre 09, 2020 a las 11:05:09a. m. +0100, Hans Petter Selasky escribió: On 12/9/20 10:44 AM, Matthias Apitz wrote: Hello, I've updated a laptop Acer C720 from r342378 to r368166 and do not have any sound incoming anymore. I

Re: Issues with USB-C external monitors

2020-12-01 Thread Hans Petter Selasky
On 12/1/20 2:14 PM, Ali Abdallah wrote: Hello, I have a T495 with a USB-C docking station with two external monitors, running current to get the vega 10 amdgpu to work. When the power is lost for on the USB-C dock, then the X server looses all external monitors. They appear as disconnected

Re: page fault due to close(2), possibly drm and i915kms related

2020-12-03 Thread Hans Petter Selasky
On 12/3/20 11:43 AM, Trond Endrestøl wrote: [160176] --- trap 0xc, rip = 0x808cbd2c, rsp = 0xfe018500e700, rbp = 0xfe018500e780 --- [160176] __mtx_lock_sleep() at 0x808cbd2c = __mtx_lock_sleep+0xfc/frame 0xfe018500e780 [160176] doselwakeup() at 0x8095fbee =

Re: debug head -r368500 kernel (for example) : "lock order reversal: (sleepable after non-sleepable)" involving ure0 and a sysctl lock; more

2020-12-19 Thread Hans Petter Selasky
Please test: https://svnweb.freebsd.org/changeset/base/368799 https://svnweb.freebsd.org/changeset/base/368801 --HPS ___ freebsd-current@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail

Re: make buildkernel is broken (linuxkpi vs drm)

2021-01-20 Thread Hans Petter Selasky
On 1/21/21 7:13 AM, Steve Kargl wrote: It is 'make buildkernel' in /usr/src after a 'make buildworld'. I have 'PORTS_MODULES+= graphics/drm-current-kmod' in /etc/make.conf. Try to update the ports tree. I'm not aware of any current build issues in this area. --HPS

Re: make buildkernel is broken (linuxkpi vs drm)

2021-01-20 Thread Hans Petter Selasky
On 1/21/21 6:46 AM, Steve Kargl wrote: My buildkernel after a buildworld is dying with In file included from /media/obj/usr/src/i386.i386/sys/MOBILE/usr/ports/graphics/drm-current-kmod/work/drm-kmod-drm_v5.4.62_7/linuxkpi/gplv2/include/linux/pci.h:10: In file included from

Re: bus_dmamem_alloc failed to align memory properly

2021-01-18 Thread Hans Petter Selasky
On 1/18/21 6:51 PM, Steve Kargl wrote: I've used a SCHED_BSD for a long time on my i586-*-freebsd laptop. Recently, FreeBSD just locks up on this system. No panic. No screen. No keyboard. Nothing. So, yesterday, while trying to deal with the blank console problem, I switch to SCHED_ULE to

Re: Panic after updating

2021-01-13 Thread Hans Petter Selasky
Yes! That works! Thank you! See: https://cgit.freebsd.org/src/commit/?id=bafb682656724d06045fa494efb83a4312036f1f --HPS ___ freebsd-current@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send

Re: Problem with drm

2021-01-15 Thread Hans Petter Selasky
On 1/15/21 10:11 AM, Filippo Moretti wrote: After upgrading my custom kernel I get the following error (that did not occur before hid):hidbus0: on usbhid0 link_elf_obj: symbol linux_pci_get_class undefined Warning: memory type debugfsint leaked memory on destroy (2 allocations, 80 bytes

Re: Current kernel build broken with linuxkpi?

2021-01-13 Thread Hans Petter Selasky
On 1/13/21 3:31 PM, Santiago Martinez wrote: Hi there, Just wondering if somebody else is having issues building the kernel (amd64) with the latest current. I have tried with clean,  etc and same issue. Uploaded the make output into "pastebin.com" https://pastebin.com/va5HCYtY Try to

Re: Current kernel build broken with linuxkpi?

2021-01-13 Thread Hans Petter Selasky
On 1/13/21 3:42 PM, Hans Petter Selasky wrote: On 1/13/21 3:40 PM, Santiago Martinez wrote: Thanks Peter,  this is what i got root@tucho:/usr/src # git status On branch main Your branch is up to date with 'origin/main'. am i missing something? portsnap fetch update You need to update

Re: Current kernel build broken with linuxkpi?

2021-01-13 Thread Hans Petter Selasky
On 1/13/21 3:40 PM, Santiago Martinez wrote: Thanks Peter,  this is what i got root@tucho:/usr/src # git status On branch main Your branch is up to date with 'origin/main'. am i missing something? portsnap fetch update Maybe? --HPS ___

Re: Panic after updating

2021-01-12 Thread Hans Petter Selasky
On 1/12/21 7:45 PM, Ian Lepore wrote: - for (int i = 0; i <= sc->sc_npins; i++) { + for (int i = 0; i != sc->sc_npins; i++) { mtx_destroy(>sc_pin_intr[i].mtx); free(>sc_pin_intr[i].pin, M_GPIOC); } --HPS If that is the problem, I'd rather

Re: Panic after updating

2021-01-12 Thread Hans Petter Selasky
On 1/12/21 2:46 PM, Hans Petter Selasky wrote: On 1/12/21 2:40 PM, Jakob Alvermark wrote: On 1/12/21 2:16 PM, Hans Petter Selasky wrote: On 1/12/21 1:43 PM, Jakob Alvermark wrote: On 1/12/21 12:54 PM, Hans Petter Selasky wrote: On 1/12/21 12:32 PM, Jakob Alvermark wrote: Alright, after

Re: Kernel/driver hacking: panic: Assertion vm_object_busied((m->object)) failed at /usr/src/sys/vm/vm_page.c:5455

2021-06-16 Thread Hans Petter Selasky
On 6/16/21 5:36 AM, Neel Chauhan wrote: Hi current@, First off, sorry if I spammed developers@ and other mailing lists with my previous message, and to bz@/hselasky@/manu@ sent so many duplicate emails. Right now, I am attempting to update the drm-kmod driver to the Linux 5.7 code, and am

Re: Kernel/driver hacking: panic: Assertion vm_object_busied((m->object)) failed at /usr/src/sys/vm/vm_page.c:5455

2021-06-16 Thread Hans Petter Selasky
Hi Neel, On 6/16/21 5:28 PM, Neel Chauhan wrote: Hi, On 2021-06-16 00:35, Hans Petter Selasky wrote: Do you have the full backtrace? Yes. I have attached a stack trace in the previous email, but if you didn't get it, I have uploaded it to GitHub: https://gist.github.com/neelchauhan

Re: kernel panic while copying files

2021-06-08 Thread Hans Petter Selasky
On 6/8/21 11:04 AM, Mateusz Guzik wrote: Apparently caused by recent changes to CAM. Let me know if you want more information. Maybe you can print the *ccb being freed and figure out which device it belongs to. --HPS

Re: drm-kmod kernel crash fatal trap 12

2021-06-09 Thread Hans Petter Selasky
On 6/9/21 4:43 PM, Thomas Laus wrote: I updated my system this morning to main-n247260-dc318a4ffab June 9 2012 and the first boot after the kernel was loaded I received: 'fatal trap 12' fault virtual address = 0x0 fault code = supervisor write data, page not present instruction pointer =

Re: drm-kmod kernel crash fatal trap 12

2021-06-10 Thread Hans Petter Selasky
On 6/10/21 4:13 PM, Thomas Laus wrote: The drm-kmod module is the latest from the pkg server. It all worked this past Monday after the recent drm-kmod update. When you use -current, you need to compile this pkg from the latest ports. I'm not sure if that happens automatically when you

Re: Kernel/driver hacking: panic: Assertion vm_object_busied((m->object)) failed at /usr/src/sys/vm/vm_page.c:5455

2021-06-20 Thread Hans Petter Selasky
On 6/20/21 7:32 AM, Neel Chauhan wrote: On 2021-06-18 20:03, Neel Chauhan wrote: Apparently, the vm_start values is for some reason coming as 0 when it is passed into vm_fault_cpu(). That's why it's giving these errors: of course the address at 0 is mapped, it is (probably) used by the kernel.

Re: kernel panic while copying files

2021-06-08 Thread Hans Petter Selasky
On 6/8/21 1:34 PM, Gary Jennejohn wrote: Fields in the ccb like periph_name, unit_number and dev_name are filled with zeroes. Smells like a double free, like the panic message indicates, but would be nice to know exactly which driver is doing this, if it is "ATA" or "UMASS", so to speak.

Patch for patch, but not foreach :-)

2021-05-07 Thread Hans Petter Selasky
Time has come that I make a patch for the most central patching tool in FreeBSD, patch :-) https://reviews.freebsd.org/D30160 --HPS ___ freebsd-current@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-current To

Re: Patch for patch, but not foreach :-)

2021-05-10 Thread Hans Petter Selasky
On 5/7/21 11:58 PM, Chris wrote: On 2021-05-07 14:10, Michael Gmelin wrote: What about using "."? Or "/" (which would match the muscle memory of "search" in less/more/vi/some browsers)? +1 I really like that idea. Hi, Thank you for all the good feedback! Based on the input I've got, the

Re: Problem compiling world

2021-05-29 Thread Hans Petter Selasky
On 5/29/21 10:25 AM, Filippo Moretti via current wrote: I have the following error while compiling world:--- linux_genalloc.o ---In file included from /usr/local/sys/modules/drm-current-kmod/linuxkpi/gplv2/src /linux_genalloc.c:35:In file included from

Undefined compiler behaviour or a compiler bug?

2021-04-29 Thread Hans Petter Selasky
Hi, Can someone please explain what C-compiler flag I'm missing, to make this simple C-program terminate? I have a function _abs() which at some point is equal to one, but the compiler thinks it is not required to emit the test for the while() at all, looking at the assembly code! A

Re: Undefined compiler behaviour or a compiler bug?

2021-04-29 Thread Hans Petter Selasky
On 4/29/21 11:06 PM, Hans Petter Selasky wrote: Hi, Can someone please explain what C-compiler flag I'm missing, to make this simple C-program terminate? I have a function _abs() which at some point is equal to one, but the compiler thinks it is not required to emit the test for the while

Re: Undefined compiler behaviour or a compiler bug?

2021-04-30 Thread Hans Petter Selasky
On 4/30/21 12:13 AM, Dimitry Andric wrote: % clang -fsanitize=undefined test.c -o test Thank you! Didn't know about that flag. --HPS ___ freebsd-current@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-current To

Re: probs. with latest drm-current-kmod update

2021-04-25 Thread Hans Petter Selasky
On 4/25/21 4:19 PM, lizbethmutterh...@gmail.com wrote: did make the update and got a "nice" surprise: graphics didn't do anymore with "kldload i915kms.ko" so I thoughta I lost system. built new kernel (minimal), built new world, installed it, still graphics in 1024x768. Thank god I forgot for a

Re: panic in drm or vt or deadlock on mutex or ...

2021-02-08 Thread Hans Petter Selasky
On 2/8/21 1:53 PM, Alastair Hogge wrote: Boot to multi-user; login (getty): $ doas kldload /boot/modules/amdgpu.ko $ sysctl [panic] ..is a guaranteed way to panic my system. Hi, Maybe you could do a hack and edit the sysctl source code: 1) print the sysctl before it is queried. 2) sleep 1

Re: system freeze on 14.0-CURRENT

2021-03-28 Thread Hans Petter Selasky
On 3/28/21 7:03 AM, Masachika ISHIZUKA wrote: I have trouble with recent 14.0-CURRENT 146 (e.x. main-6a762cfae, main-3ead60236, main-25bfa4486). It works well on recent 14.0-CURRENT until starting firefox. If I start firefox (v87.0), system freeze but no core dumps. If it booted

Re: freebsd 13 ryzen micro stutter

2021-03-28 Thread Hans Petter Selasky
On 3/27/21 11:54 AM, Santiago Martinez wrote: Hi, i have the same output as @Nils B. If i run with steal =2 and dtrace the micro stutter doesn't happen but as soon as i stop the dtrace script it the stutters come back again. Here is a patch which you can try. Not sure if it helps.

Re: panic: malloc(M_WAITOK) with sleeping prohibited

2021-03-10 Thread Hans Petter Selasky
On 3/10/21 10:15 AM, Peter Holm wrote: I just got this panic: igb0: port 0xd020-0xd03f mem 0xfb32-0xfb33,0xfb344000-0xfb347fff irq 16 at device 0.0 on pci8 igb0: Using 1024 TX descriptors and 1024 RX descriptors igb0: queue equality override not set, capping rx_queues at 6 and

Re: panic in drm or vt or deadlock on mutex or ...

2021-03-09 Thread Hans Petter Selasky
On 3/9/21 9:31 AM, Alastair Hogge wrote: On 2021-02-08 21:01, Hans Petter Selasky wrote: On 2/8/21 1:53 PM, Alastair Hogge wrote: Boot to multi-user; login (getty): $ doas kldload /boot/modules/amdgpu.ko $ sysctl [panic] ..is a guaranteed way to panic my system. Hi, Maybe you could do

Re: panic: malloc(M_WAITOK) with sleeping prohibited

2021-03-10 Thread Hans Petter Selasky
On 3/10/21 12:41 PM, Peter Holm wrote: On Wed, Mar 10, 2021 at 10:52:53AM +0100, Hans Petter Selasky wrote: On 3/10/21 10:15 AM, Peter Holm wrote: I just got this panic: igb0: port 0xd020-0xd03f mem 0xfb32-0xfb33,0xfb344000-0xfb347fff irq 16 at device 0.0 on pci8 igb0: Using 1024 TX

Re: Boot time crash - Sleeping thread owns a non-sleepable lock

2021-03-19 Thread Hans Petter Selasky
On 3/19/21 2:09 AM, David R. Bergstein wrote: I have been seeing this boot time crash on an intermittent basis on a virtual machine; FreeBSD-13.0-RC2.   Below is a copy of the kernel crash dump file in case it is helpful to anyone: --

Re: Problems with Webcam and USB 3.X

2021-04-14 Thread Hans Petter Selasky
Hi, On 4/14/21 1:10 PM, Nilton Jose Rizzo wrote: root@valfenda:/usr/ports/multimedia/webcamd # webcamd -d ugem1.3 -m uvc_driver.trace=1 ^^^ ugem -> ugen ugen was spelled wrong. --HPS ___

Re: Problems with Webcam and USB 3.X

2021-04-14 Thread Hans Petter Selasky
Hi, The following thread suggests using a UVC quirk: https://sourceforge.net/p/linux-uvc/mailman/linux-uvc-devel/?viewmonth=202102 Translated to webcamd parameters, it becomes: "-s uvc_driver.quirks=0x100" Can you try that? --HPS ___

Re: Problems with Webcam and USB 3.X

2021-04-14 Thread Hans Petter Selasky
On 4/14/21 4:15 PM, Nilton Jose Rizzo wrote: The last version tha I Know that work need libhal, Just do "make config" and de-select HAL support, before building. Webcamd doesn't need it. --HPS ___ freebsd-current@freebsd.org mailing list

Re: Problems with Webcam and USB 3.X

2021-04-14 Thread Hans Petter Selasky
On 4/14/21 4:27 PM, Nilton Jose Rizzo wrote: "-s uvc_driver.quirks=0x100" When I start webcamd with this, return a LONG list of other variables and webcamd not run. Is it right? Try: "-m uvc_driver.quirks=0x100" --HPS ___

Re: Problems with Webcam and USB 3.X

2021-04-13 Thread Hans Petter Selasky
On 4/14/21 2:49 AM, Nilton Jose Rizzo wrote: ugen1.3: at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (500mA) Hi, This webcam is connected VIA USB2.0 protocols only. No USB 3.x involved. Unstable picture may indicate a bandwidth problem. You can also compile webcamd with debugging and

Re: Problems with Webcam and USB 3.X

2021-04-13 Thread Hans Petter Selasky
On 4/14/21 3:05 AM, Nilton Jose Rizzo wrote: 22:03:30.860068 usbus1.3 SUBM-ISOC-EP=0081,SPD=HIGH,NFR=128,SLEN=0,IVAL=0 22:03:30.860079 usbus1.3 DONE-ISOC-EP=0081,SPD=HIGH,NFR=128,SLEN=13608,IVAL=0,ERR=0 22:03:30.876112 usbus1.3 SUBM-ISOC-EP=0081,SPD=HIGH,NFR=128,SLEN=0,IVAL=0

Re: Problems with Webcam and USB 3.X

2021-04-13 Thread Hans Petter Selasky
On 4/14/21 1:38 AM, Nilton Jose Rizzo wrote: The USB 3.1 not was reconise by FreeBSD. when I create a meet in Jitsi, the webcam show image, but its seens like loose horizontal and vertical sync. What does usbconfig say about the webcam? Any errors in dmesg? --HPS

Re: Problems with Webcam and USB 3.X

2021-04-13 Thread Hans Petter Selasky
On 4/14/21 1:38 AM, Nilton Jose Rizzo wrote: The webcamd create two devices ( /dev/video{0,1} ) and the pwcview open the window, but not show image, onle a green screen, but the webcam active LED turn on. You should only use the first of the two devices. The second device is for

Re: Problems with Webcam and USB 3.X

2021-04-13 Thread Hans Petter Selasky
On 4/14/21 1:38 AM, Nilton Jose Rizzo wrote: Apr 13 20:28:43 valfenda kernel: pcm6: unregister: mixer busy Apr 13 20:28:43 valfenda kernel: pcm6: Waiting for sound application to exit! Apr 13 20:28:43 valfenda kernel: pcm6: unregister: mixer busy Apr 13 20:28:43 valfenda kernel: pcm6: Waiting

Re: Problems with Webcam and USB 3.X

2021-04-13 Thread Hans Petter Selasky
On 4/14/21 3:10 AM, Nilton Jose Rizzo wrote: On 4/14/21 1:38 AM, Nilton Jose Rizzo wrote: The webcamd create two devices ( /dev/video{0,1} ) and the pwcview open the window, but not show image, onle a green screen, but the webcam active LED turn on. But in my old

Re: Problems with Webcam and USB 3.X [solved]

2021-04-14 Thread Hans Petter Selasky
On 4/14/21 5:16 PM, Nilton Jose Rizzo wrote: On 4/14/21 4:27 PM, Nilton Jose Rizzo wrote: "-s uvc_driver.quirks=0x100" When I start webcamd with this, return a LONG list of other variables and webcamd not run. Is it right? Try: "-m uvc_driver.quirks=0x100" It's

Re: choosing different sound input and output devices

2021-04-21 Thread Hans Petter Selasky
On 4/21/21 1:42 PM, Marek Zarychta wrote: Dear subscribers, I tried to deploy the Chromium browser run on FreeBSD CURRENT to work with Microsoft Teams and it almost works fine except for audio settings. To use USB microphone I have changed sysctl hw.snd.default_unit and was able to use my

Re: Problems with Webcam and USB 3.X

2021-04-14 Thread Hans Petter Selasky
On 4/14/21 3:49 AM, Nilton Jose Rizzo wrote: On 4/14/21 3:05 AM, Nilton Jose Rizzo wrote: 22:03:30.860068 usbus1.3 SUBM-ISOC-EP=0081,SPD=HIGH,NFR=128,SLEN=0,IVAL=0 22:03:30.860079 usbus1.3 DONE-ISOC-EP=0081,SPD=HIGH,NFR=128,SLEN=13608,IVAL=0,ERR=0 :< CUT >: Hi, I see

Re: Is stand/kshim/bsd_kernel.h 's __FreeBSD_version supposed to track main's 13->14 change?

2021-02-17 Thread Hans Petter Selasky
change . . . author Hans Petter Selasky 2020-11-18 13:22:22 + committer Hans Petter Selasky 2020-11-18 13:22:22 + commit a2dd1caade2f9cb829261a42812431781c685d46 (patch) tree466a86138a99f5f6c73c54cd531dbdb9884678c0 /stand/kshim/bsd_kernel.h parent

Re: Is stand/kshim/bsd_kernel.h 's __FreeBSD_version supposed to track main's 13->14 change?

2021-02-17 Thread Hans Petter Selasky
I'll take it. --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: Is stand/kshim/bsd_kernel.h 's __FreeBSD_version supposed to track main's 13->14 change?

2021-02-17 Thread Hans Petter Selasky
On 2/17/21 4:43 PM, Hans Petter Selasky wrote: I'll take it. https://cgit.freebsd.org/src/commit/?id=d23b583dfdd5669aeeb0693bdf3b30bfde98d4b4 --HPS ___ freebsd-current@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd

Re: unused function errors in tcp_lro.c

2021-02-17 Thread Hans Petter Selasky
On 2/17/21 6:12 PM, Gary Jennejohn wrote: Running buildkernel after 48e62e6561b..effe8b9cb31 -- stage 3.1: building everything -- /usr/src/sys/netinet/tcp_lro.c:1297:1:

Re: webcamd not started automatically

2021-02-18 Thread Hans Petter Selasky
On 2/18/21 3:04 PM, Jakob Alvermark wrote: Hi, Webcamd is not started automatically for my Logitech webcam as it used to do. Starting it from the command line works fine. It works for the built in webcam on the ThinkPad, (Chicony) The change happened somewhere between n244736-dba7b0ef928

Re: webcamd not started automatically

2021-02-18 Thread Hans Petter Selasky
On 2/18/21 3:14 PM, Jakob Alvermark wrote: It used to start webcamd for both of them, now it is only started for the built in Chicony. Can you share your configuration? Any errors printed in dmesg? --HPS ___ freebsd-current@freebsd.org mailing list

Re: webcamd not started automatically

2021-02-20 Thread Hans Petter Selasky
On 2/20/21 5:09 PM, Jakob Alvermark wrote: On 2/20/21 5:00 PM, Hans Petter Selasky wrote: On 2/20/21 3:33 PM, Jakob Alvermark wrote: # service webcamd start ugen1.7 webcamd 19267 - - Attached to ugen1.7[0] # ls /var/run/webcamd.* /var/run/webcamd.1.7.0.pid    /var/run/webcamd.2.4.0.pid # cat

Re: webcamd not started automatically

2021-02-20 Thread Hans Petter Selasky
On 2/20/21 3:33 PM, Jakob Alvermark wrote: # service webcamd start ugen1.7 webcamd 19267 - - Attached to ugen1.7[0] # ls /var/run/webcamd.* /var/run/webcamd.1.7.0.pid    /var/run/webcamd.2.4.0.pid # cat /var/run/webcamd.1.7.0.pid It might be something in the devd script which only starts the

Re: webcamd not started automatically

2021-02-20 Thread Hans Petter Selasky
On 2/20/21 3:33 PM, Jakob Alvermark wrote: # service webcamd start ugen2.4 webcamd already running?  (pid=19268). When you come to this step, does this pid exist? ps auxw --HPS ___ freebsd-current@freebsd.org mailing list

Re: webcamd not started automatically

2021-02-20 Thread Hans Petter Selasky
Hi, Basically devd is responsible for attaching webcamd automagically. Default rule is to look for .bInterfaceClass = 0x0e : cat /usr/local/etc/devd/webcamd.conf # Generic USB video devices. notify 100 { match "system" "USB"; match "subsystem" "INTERFACE";

Re: webcamd not started automatically

2021-02-20 Thread Hans Petter Selasky
On 2/20/21 7:48 PM, Jakob Alvermark wrote: The problem is that it DID work Are there any webcamd.core files? --HPS ___ freebsd-current@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail

Re: webcamd not started automatically

2021-02-21 Thread Hans Petter Selasky
Sorry for taking so long to nail this issue. I believe the following patch will fix it: https://svnweb.freebsd.org/changeset/ports/566228 --HPS ___ freebsd-current@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-current To

Re: webcamd not started automatically

2021-02-19 Thread Hans Petter Selasky
On 2/18/21 5:27 PM, Jakob Alvermark wrote: On 2/18/21 4:49 PM, Steve Wills wrote: Hi, On 2/18/21 9:14 AM, Jakob Alvermark wrote: It used to start webcamd for both of them, now it is only started for the built in Chicony. I have a similar problem. I have 3 cameras (one Logitech and two USB

AMD Ryzen 5 3400G with Radeon Vega Graphics

2021-08-05 Thread Hans Petter Selasky
Hi, I was lucky to get the hands on a mini-ITX containing a "AMD Ryzen 5 3400G with Radeon Vega Graphics". FreeBSD-13 installed just fine and 4K HDMI output works too with AMDGPU. However I noticed some problems with a webcamd DVB-T receiver, that it had lots of dropouts I couldn't

Re: [HEADSUP] making /bin/sh the default shell for root

2021-09-23 Thread Hans Petter Selasky
Hi, I've always used "tcsh" for root. The little help you get on the command line to search and repeat commands is very useful compared to plain "sh". Sorry for top-posting. --HPS

Re: After updating main (so: 14) Orange Pi+ 2E panicked: ucom_cons_softc "'Translation Fault (L2)' on read" while typing first command after login

2021-10-12 Thread Hans Petter Selasky
On 10/12/21 3:11 AM, Mark Millard via freebsd-arm wrote: There is this "mixer" oddity for each boot: Feeding entropy: . mixer: 75:75: no such device mixer: 75:75: no such device mixer: 75:75: no such device mixer: 25:25: no such device mixer: 75:75: no such device mixer: 75:75: no such device

Re: What to do about tgammal?

2021-12-04 Thread Hans Petter Selasky
On 12/4/21 19:53, Steve Kargl wrote: What to do about tgammal? A long time ago (2013-09-06), theraven@ committed a kludge that mapped several missing long double math functions to double math functions (e.g., tanhl(x) was mapped to tanh(x)). Over the next few years, I (along with bde and das

Re: observations on Ryzen 5xxx (Zen 3) processors

2021-12-22 Thread Hans Petter Selasky
On 12/22/21 13:42, Andriy Gapon wrote: There have been some reports on strange / unexpected things with Ryzen 5xxx processors.  I think I have seen 5950X, 5900X and 5800X mentioned, not sure about others. Since I have 5800X myself I looked into a couple of issues that have straightforward

Re: sound on FreeBSD 14.0-CURRENT

2021-11-17 Thread Hans Petter Selasky
Hi Ludovit, It does not work automatically on the new notebook. I suppose pcm1, is the output for the jack headphones. I just tried without virtual_oss, with virtual_oss, starting with -f /dev/dsp0; /dev/dsp1; /dev/dsp2; /dev/dsp1.0; /dev/dsp2.0; then using virtual_oss_cmd using different

Re: sound on FreeBSD 14.0-CURRENT

2021-11-17 Thread Hans Petter Selasky
On 11/17/21 13:36, Ludovit Koren wrote: firefox plays via speakers In firefox go to "about:config", then add this string: media.cubeb.backend oss Then restart firefox. --HPS

Re: sound on FreeBSD 14.0-CURRENT

2021-11-17 Thread Hans Petter Selasky
Hi, Still the same result... Please show all commands you try! Can you explain, which if these devices you want to receive audio from, and which you want to transmit audio to: pcm0: (play/rec) default pcm1: (play) pcm2: (play) It might also be the mixer has the volume or recording

Re: sound on FreeBSD 14.0-CURRENT

2021-11-16 Thread Hans Petter Selasky
On 11/16/21 10:40, Ludovit Koren wrote: Hi, I am running FreeBSD 14.0-CURRENT #0 main-n250646-c0525ab1d1c-dirty: Sat Nov 13 16:42:44 CET 2021 Here is the output from: cat /dev/sndstat Installed devices: pcm0: (play/rec) default pcm1: (play) pcm2: (play) Installed devices from userspace:

Re: sound on FreeBSD 14.0-CURRENT

2021-11-16 Thread Hans Petter Selasky
On 11/16/21 11:26, Ludovit Koren wrote: Hans Petter Selasky writes: > On 11/16/21 10:40, Ludovit Koren wrote: >> Hi, >> I am running FreeBSD 14.0-CURRENT #0 main-n250646-c0525ab1d1c-dirty: >> Sat Nov 13 16:42:44 CET 2021 >> Here is the ou

Re: sound on FreeBSD 14.0-CURRENT

2021-11-16 Thread Hans Petter Selasky
Hi, It is not working... Just a thought... Could not be the problem how are the apps built (chromium, firefox), i.e. which options are set on? No, the default should work out of the box. What does "which virtual_oss_cmd" output? Maybe /usr/local/bin is not in your PATH? regards, Can

Re: sound on FreeBSD 14.0-CURRENT

2021-11-16 Thread Hans Petter Selasky
On 11/16/21 20:59, Ludovit Koren wrote: Hans Petter Selasky writes: > Hi, >> It is not working... >> Just a thought... Could not be the problem how are the apps built >> (chromium, firefox), i.e. which options are set on? > No, the default sh

Re: current now panics when starting VBox VM

2021-11-02 Thread Hans Petter Selasky
On 11/2/21 16:37, Greg V via freebsd-current wrote: On November 2, 2021 5:16:35 PM GMT+03:00, Michael Butler via freebsd-current wrote: On current as of this morning (I haven't tried to bisect yet) .. .. with either graphics/drm-devel-kmod or graphics/drm-current-kmod, trying to start a

Re: LAN ure interface problem

2021-10-22 Thread Hans Petter Selasky
On 10/22/21 16:00, Ludovit Koren wrote: Hi, I have installed FreeBSD 14.0-CURRENT #1 main-n250134-225639e7db6-dirty on my notebook HP EliteBook 830 G7 and I am using RealTek usb LAN interface: ure0 on uhub0 ure0: on usbus1 miibus0: on ure0 rgephy0: PHY 0 on miibus0 rgephy0: OUI 0x00e04c,

Re: On amd64 main-n251456-22c4ab6cb015-dirty (Dec.-7): /boot/kernel/ng_ubt.ko is getting "symbol sysctl___net_bluetooth undefined"

2021-12-16 Thread Hans Petter Selasky
On 12/15/21 23:58, Mark Millard via freebsd-current wrote: Back when I upgraded the ThreadRipper 1950X amd64 system to (line split for readability): # uname -apKU FreeBSD CA72_16Gp_ZFS 14.0-CURRENT FreeBSD 14.0-CURRENT #25 main-n251456-22c4ab6cb015-dirty: Tue Dec 7 19:38:53 PST 2021

sys/conf: Simplify configuration files

2021-12-02 Thread Hans Petter Selasky
Hi fellow kernel developers, I have two patches for config(8) which will allow us to group filenames in sys/conf/files* among others. Any strong opinions about the following change? https://reviews.freebsd.org/D33224 --HPS

Re: What are the in-kernel functions to format time?

2022-03-11 Thread Hans Petter Selasky
On 3/11/22 10:49, Alexander Leidinger wrote: Hi, I'm looking for a function to convert bintime to a human readable format in the kernel... and what is the usual format we use? The use case for this is: if something throws a log from the kernel about a signal, I want to know when it

Re: What are the in-kernel functions to format time?

2022-03-11 Thread Hans Petter Selasky
On 3/11/22 12:20, Gary Jennejohn wrote: Do you mean the %zd? kvprintf() checks for a zflag and handles the argument as size_t or ssize_t, depending on whether the sign is positive or negative. Hi, Given that time is a 64-bit value, then probably "%llu", and (unsigned long long)bintime would

Re: New panic in main-n253273-a52d8d4a6c6:

2022-02-21 Thread Hans Petter Selasky
On 2/21/22 14:07, Michael Jung wrote: (kgdb) fram 16 #16 0x80bad587 in closefp_impl (fdp=0xfe012b7c0430, fd=4, fp=0xf801cc119280, td=0xfe00df8d0560, audit=true) at /usr/src/sys/kern/kern_descrip.c:1300 1300error = closef(fp, td); (kgdb) print /x *fdp $1 =

Re: Patch for patch, but not foreach :-)

2022-02-18 Thread Hans Petter Selasky
On 5/10/21 15:57, Hans Petter Selasky wrote: On 5/7/21 11:58 PM, Chris wrote: On 2021-05-07 14:10, Michael Gmelin wrote: What about using "."? Or "/" (which would match the muscle memory of "search" in less/more/vi/some browsers)? +1 I really like that idea. H

Re: USB CD Eject Failures

2022-02-17 Thread Hans Petter Selasky
On 2/17/22 03:31, Sean Bruno wrote: Been playing around with sysutils/eject to automate some media backup stuff. I note that "after a number of ejects" the USB 2 CD drive will cease responding.  I don't think its a race to failure, it acts like resource starvation/leak.  Seems fairly

Re: New panic in main-n253273-a52d8d4a6c6:

2022-02-21 Thread Hans Petter Selasky
On 2/22/22 00:42, Michael Jung wrote: Hi: I was trying to remember what I did that was odd when this crash occurred then it hit me. You can repeat this panic by doing: # watch -I -W pts/0 Here is another panic that happened write after issuing "watch" for comparison.

pxeboot binary is too big on FreeBSD (>640KBytes)

2022-02-20 Thread Hans Petter Selasky
FYI: After a lot of digging trying everything, I found that the pxeboot and loader.efi was too big simply due to ZFS support. So I did this after buildworld: cd /usr/src/stand make WITHOUT_LOADER_ZFS=YES clean make WITHOUT_LOADER_ZFS=YES all make WITHOUT_LOADER_ZFS=YES install And now it

Re: New panic in main-n253273-a52d8d4a6c6:

2022-02-20 Thread Hans Petter Selasky
On 2/20/22 21:53, Michael Jung wrote: Hi! The box was quite busy at the time. The only odd thing I am aware of and which I do not think is related is I have not been able to expand one of my zpool's. ZFS sees my added draid2:2d:10c:0s vdev but I can't seem to force zpool's expansion - my

Re: vt newcons mouse paste issue FIXED

2022-06-24 Thread Hans Petter Selasky
Hi Tomoaki, On 6/24/22 16:48, Hans Petter Selasky wrote: IDEOGRAPHIC (Full-width) SPACE According to this page: https://jkorpela.fi/chars/spaces.html There are multiple uni-code characters which are spaces. Should we support them all? --HPS

Re: vt newcons mouse paste issue FIXED

2022-06-24 Thread Hans Petter Selasky
On 6/24/22 16:02, Tomoaki AOKI wrote: On Thu, 23 Jun 2022 21:41:38 +0200 Hans Petter Selasky wrote: Hi, https://reviews.freebsd.org/D35552 Updated! Please test! --HPS As I've commented on Phabricator, works perfect except one CJK-related mis-behaviour. IDEOGRAPHIC (Full-width) SPACE

Re: vt newcons mouse paste issue FIXED

2022-06-25 Thread Hans Petter Selasky
On 6/24/22 18:51, Tomoaki AOKI wrote: On Fri, 24 Jun 2022 17:29:26 +0200 Hans Petter Selasky wrote: Hi Tomoaki, Please retest: https://reviews.freebsd.org/D35552 Pushing this after some local tests. --HPS

Re: RES: RES: RES: RES: vt newcons mouse paste issue FIXED

2022-06-23 Thread Hans Petter Selasky
On 6/23/22 21:32, Ivan Quitschal wrote: Hi, Please test this latest version:

Re: vt newcons mouse paste issue FIXED

2022-06-23 Thread Hans Petter Selasky
Hi, https://reviews.freebsd.org/D35552 Updated! Please test! --HPS

Re: RES: RES: RES: vt newcons mouse paste issue FIXED

2022-06-23 Thread Hans Petter Selasky
Hi, Please test this latest version: https://reviews.freebsd.org/D35552 --HPS

Re: Accessibility in the FreeBSD installer and console

2022-07-07 Thread Hans Petter Selasky
On 7/7/22 23:26, John Kennedy wrote: On Thu, Jul 07, 2022 at 10:11:52PM +0200, Klaus Küchemann wrote: Am 07.07.2022 um 19:32 schrieb Hans Petter Selasky : The only argument I've heard from some non-sighted friends about not using FreeBSD natively is that ooh, MacOSX is so cool. It starts

<    5   6   7   8   9   10   11   >