Re: git: 8d49fd7331bc - main - pf: remove DIOCGETRULE and DIOCGETSTATUS : net/py-libdnet and net/scapy now broken, kyua test suite damaged

2023-09-17 Thread Kristof Provost
On 14 Sep 2023, at 15:34, Mark Millard wrote: > [I've cc'd a couple of folks that have dealt with fixing > breakage in the past.] > I’ve submitted a fix for libdnet in https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273899 because it blocks net/scapy, which we rely on for tests. I do not plan

Fwd: git: 8d49fd7331bc - main - pf: remove DIOCGETRULE and DIOCGETSTATUS : net/py-libdnet and net/scapy now broken, kyua test suite damaged

2023-09-14 Thread Mark Millard
[I've cc'd a couple of folks that have dealt with fixing breakage in the past.] From: Kristof Provost Subject: Re: git: 8d49fd7331bc - main - pf: remove DIOCGETRULE and DIOCGETSTATUS : net/py-libdnet and net/scapy now broken, kyua test suite damaged Date: September 14, 2023 at 02:02:38 PDT

Re: git: 8d49fd7331bc - main - pf: remove DIOCGETRULE and DIOCGETSTATUS : net/py-libdnet and net/scapy now broken, kyua test suite damaged

2023-09-14 Thread Kristof Provost
Hi Mark, On 14 Sep 2023, at 7:37, Mark Millard wrote: > This change leads the port net/py-libdnet to be broken: > > --- fw-pf.lo --- > fw-pf.c:212:22: error: use of undeclared identifier 'DIOCGETRULE' > if (ioctl(fw->fd, DIOCGETRULE, ) == 0 && > ^ > fw-pf.c:252:22: error: use of undeclared

Re: git: 8d49fd7331bc - main - pf: remove DIOCGETRULE and DIOCGETSTATUS : net/py-libdnet and net/scapy now broken, kyua test suite damaged

2023-09-14 Thread Mark Millard
This change leads the port net/py-libdnet to be broken: --- fw-pf.lo --- fw-pf.c:212:22: error: use of undeclared identifier 'DIOCGETRULE' if (ioctl(fw->fd, DIOCGETRULE, ) == 0 && ^ fw-pf.c:252:22: error: use of undeclared identifier 'DIOCGETRULE' if (ioctl(fw->fd, DIOCGETRULE, ) == 0 && ^ ---

Re: An attempted test of main's "git: 2ad756a6bbb3" "merge openzfs/zfs@95f71c019" possible file odd result

2023-09-05 Thread Mark Millard
Just FYI: For the specific machine/storage media combination used for the openzfs import testing, the following combination seemed to work well relative to the subject of the "odd result": A) /etc/sysctl.conf having "vfs.zfs.per_txg_dirty_frees_percent=30" B) autotrim off but use of "zpool trim

Re: An attempted test of main's "git: 2ad756a6bbb3" "merge openzfs/zfs@95f71c019" possible file odd result

2023-09-05 Thread Mark Millard
On Sep 5, 2023, at 00:00, Mark Millard wrote: > On Sep 4, 2023, at 22:06, Mark Millard wrote: > >> . . . > > So I tried 30 for per_txg_dirty_frees_percent for 2 contexts: > autotrim on > vs. > autotrim off > > where there was 100 GiByte+ to delete after a poudriere > bulk run. > > autotrim

Re: An attempted test of main's "git: 2ad756a6bbb3" "merge openzfs/zfs@95f71c019" that did not go as planned

2023-09-05 Thread Mark Millard
can't promise >>> I'll take it right now, so anybody else is welcome. >> >> As I understand, there are contexts were 5 is inappropriate >> and 30 works fairly well: no good single answer as to what >> value range will avoid problems. >> >>>> An

Re: An attempted test of main's "git: 2ad756a6bbb3" "merge openzfs/zfs@95f71c019" that did not go as planned

2023-09-04 Thread Mark Millard
FS >> upstream to be visible to a wider public. Unfortunately I have several >> other project I must work on, so if it is not a regression I can't promise >> I'll take it right now, so anybody else is welcome. > > As I understand, there are contexts were 5 is inappropriate >

Re: An attempted test of main's "git: 2ad756a6bbb3" "merge openzfs/zfs@95f71c019" that did not go as planned

2023-09-04 Thread Mark Millard
so if it is not a regression I can't promise I'll take it right > now, so anybody else is welcome. As I understand, there are contexts were 5 is inappropriate and 30 works fairly well: no good single answer as to what value range will avoid problems. >> An overall point for the goal of my activity i

Re: An attempted test of main's "git: 2ad756a6bbb3" "merge openzfs/zfs@95f71c019" that did not go as planned

2023-09-04 Thread Alexander Motin
. Unfortunately I have several other project I must work on, so if it is not a regression I can't promise I'll take it right now, so anybody else is welcome. An overall point for the goal of my activity is: what makes a good test context for checking if ZFS is again safe to use? May be other

Re: An attempted test of main's "git: 2ad756a6bbb3" "merge openzfs/zfs@95f71c019" that did not go as planned

2023-09-04 Thread Mark Millard
kpointed before doing the >>>> git fetch to start to set up the experiment. > > OK. And I see no scrub or async destroy, that could delay sync thread. > Though I don't see them in the above procstat either. > >>>> /etc/sysctl.conf does have: >>>>

Re: An attempted test of main's "git: 2ad756a6bbb3" "merge openzfs/zfs@95f71c019" that did not go as planned

2023-09-04 Thread Alexander Motin
On 04.09.2023 05:56, Mark Millard wrote: On Sep 4, 2023, at 02:00, Mark Millard wrote: On Sep 3, 2023, at 23:35, Mark Millard wrote: On Sep 3, 2023, at 22:06, Alexander Motin wrote: On 03.09.2023 22:54, Mark Millard wrote: After that ^t produced the likes of: load: 6.39 cmd: sh 4849

Re: An attempted test of main's "git: 2ad756a6bbb3" "merge openzfs/zfs@95f71c019" that did not go as planned

2023-09-04 Thread Mark Millard
On Sep 4, 2023, at 02:00, Mark Millard wrote: > On Sep 3, 2023, at 23:35, Mark Millard wrote: > >> On Sep 3, 2023, at 22:06, Alexander Motin wrote: >> >>> >>> On 03.09.2023 22:54, Mark Millard wrote: After that ^t produced the likes of: load: 6.39 cmd: sh 4849

Re: An attempted test of main's "git: 2ad756a6bbb3" "merge openzfs/zfs@95f71c019" that did not go as planned

2023-09-04 Thread Mark Millard
On Sep 3, 2023, at 23:35, Mark Millard wrote: > On Sep 3, 2023, at 22:06, Alexander Motin wrote: > >> >> On 03.09.2023 22:54, Mark Millard wrote: >>> After that ^t produced the likes of: >>> load: 6.39 cmd: sh 4849 [tx->tx_quiesce_done_cv] 10047.33r 0.51u 121.32s >>> 1% 13004k >> >> So the

Re: An attempted test of main's "git: 2ad756a6bbb3" "merge openzfs/zfs@95f71c019" that did not go as planned

2023-09-04 Thread Mark Millard
ibdaemon-0.14_1 [00:21:49] [29] [00:15:17] Builder started [00:21:49] [20] [00:15:18] Builder started [00:21:49] [41] [00:15:17] Builder started [00:21:49] [29] [00:00:00] Building textproc/libunibreak | libunibreak-5.1,1 [00:21:49] [20] [00:00:00] Building graphics/poppler-data | poppler-data-0.

Re: An attempted test of main's "git: 2ad756a6bbb3" "merge openzfs/zfs@95f71c019" that did not go as planned

2023-09-04 Thread Mark Millard
On Sep 3, 2023, at 22:06, Alexander Motin wrote: > > On 03.09.2023 22:54, Mark Millard wrote: >> After that ^t produced the likes of: >> load: 6.39 cmd: sh 4849 [tx->tx_quiesce_done_cv] 10047.33r 0.51u 121.32s 1% >> 13004k > > So the full state is not "tx->tx", but is actually a >

Re: An attempted test of main's "git: 2ad756a6bbb3" "merge openzfs/zfs@95f71c019" that did not go as planned

2023-09-03 Thread Alexander Motin
Mark, On 03.09.2023 22:54, Mark Millard wrote: After that ^t produced the likes of: load: 6.39 cmd: sh 4849 [tx->tx_quiesce_done_cv] 10047.33r 0.51u 121.32s 1% 13004k So the full state is not "tx->tx", but is actually a "tx->tx_quiesce_done_cv", which means the thread is waiting for new

An attempted test of main's "git: 2ad756a6bbb3" "merge openzfs/zfs@95f71c019" that did not go as planned

2023-09-03 Thread Mark Millard
ThreadRipper 1950X (32 hardware threads) doing bulk -J128 with USE_TMPFS=no , no ALLOW_MAKE_JOBS , no ALLOW_MAKE_JOBS_PACKAGES , USB3 NVMe SSD storage/ZFS-boot-media, debug system build in use : [00:03:44] Building 34214 packages using up to 128 builders [00:03:44] Hit CTRL+t at any time to see

See bugzilla's 272965 and 272966 for cortex-A7 armv7 example kyua test case panics for main [so: 14], split by backtrace structure

2023-08-06 Thread Mark Millard
See: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=272965 and: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=272966 All involve 'Alignment Fault' on read at some point but the 272966 ones first involve: Kernel page fault with the following non-sleepable locks held during

Some results from my crude technique of using (some of) Kyua to test aarch64's lib32 vs. kyua runs in a armv7 chroot on aarch64

2023-08-01 Thread Mark Millard
-chroot/bin\ :/usr/obj/DESTDIRs/main-CA7-chroot/usr/sbin\ :/usr/obj/DESTDIRs/main-CA7-chroot/usr/bin\ :/usr/obj/DESTDIRs/main-CA7-chroot/usr/local/sbin\ :/usr/obj/DESTDIRs/main-CA7-chroot/usr/local/bin\ :/usr/obj/DESTDIRs/main-CA7-chroot/root/bin \ /usr/obj/DESTDIRs/main-CA7-chroot/usr/bin/kyua test

FYI for aarch64/armv7 lib32: armv7 kyua test sys/net/if_bridge_test:gif with preloaded if_bridge.ko still panics in my style of testing

2023-07-29 Thread Mark Millard
r/obj/DESTDIRs/main-CA7-chroot/usr/bin\ > :/usr/obj/DESTDIRs/main-CA7-chroot/usr/local/sbin\ > :/usr/obj/DESTDIRs/main-CA7-chroot/usr/local/bin\ > :/usr/obj/DESTDIRs/main-CA7-chroot/root/bin \ > /usr/obj/DESTDIRs/main-CA7-chroot/usr/bin/kyua test \ > -k /usr/obj/DESTDIRs/main-C

Re: For snapshot builds: armv7 chroot on aarch64 has kyua test -k /usr/tests/Kyuafile sys/kern/kern_copyin hung up [in getpid?], unkillable, prevents reboot

2023-07-07 Thread Mark Millard
ops the reference on the current >>>>>> address space an extra time, probably freeing it). >>>>>> >>>>>> Mike >>>> >>>> The fix is in >>>> https://cgit.freebsd.org/src/commit/?id=be30fd3ab2e8418a69

Re: For snapshot builds: armv7 chroot on aarch64 has kyua test -k /usr/tests/Kyuafile sys/kern/kern_copyin hung up [in getpid?], unkillable, prevents reboot

2023-07-07 Thread Mike Karels
gt;>>>> >>>>> Mike >>> >>> The fix is in >>> https://cgit.freebsd.org/src/commit/?id=be30fd3ab2e8418a696e69f54a91a7e2db5962de. >>> >>>> The bug was introduced in January, 2022. It allows 32 bit binaries to >>>>

Re: For snapshot builds: armv7 chroot on aarch64 has kyua test -k /usr/tests/Kyuafile sys/kern/kern_copyin hung up [in getpid?], unkillable, prevents reboot

2023-07-07 Thread Mark Millard
https://cgit.freebsd.org/src/commit/?id=be30fd3ab2e8418a696e69f54a91a7e2db5962de. >> >>> The bug was introduced in January, 2022. It allows 32 bit binaries to >>> crash a 64 bit system when COMPAT_FREEBSD32 is on. Test coverage of the >>> buggy function (sysctl_kern_p

Re: For snapshot builds: armv7 chroot on aarch64 has kyua test -k /usr/tests/Kyuafile sys/kern/kern_copyin hung up [in getpid?], unkillable, prevents reboot

2023-07-07 Thread Mark Millard
as introduced in January, 2022. It allows 32 bit binaries to >> crash a 64 bit system when COMPAT_FREEBSD32 is on. Test coverage of the >> buggy function (sysctl_kern_proc_vm_layout) was added at the same time. >> >> There should be routine runs of 32 bit test suites

Re: For snapshot builds: armv7 chroot on aarch64 has kyua test -k /usr/tests/Kyuafile sys/kern/kern_copyin hung up [in getpid?], unkillable, prevents reboot

2023-07-07 Thread Mike Karels
e an extra time, probably freeing it). >> >> Mike The fix is in https://cgit.freebsd.org/src/commit/?id=be30fd3ab2e8418a696e69f54a91a7e2db5962de. > The bug was introduced in January, 2022. It allows 32 bit binaries to crash > a 64 bit system when COMPAT_FREEB

Re: For snapshot builds: armv7 chroot on aarch64 has kyua test -k /usr/tests/Kyuafile sys/kern/kern_copyin hung up [in getpid?], unkillable, prevents reboot

2023-07-07 Thread John F Carr
introduced in January, 2022. It allows 32 bit binaries to crash a 64 bit system when COMPAT_FREEBSD32 is on. Test coverage of the buggy function (sysctl_kern_proc_vm_layout) was added at the same time. There should be routine runs of 32 bit test suites on 64 bit systems. Although i386 and arm

Re: For snapshot builds: armv7 chroot on aarch64 has kyua test -k /usr/tests/Kyuafile sys/kern/kern_copyin hung up [in getpid?], unkillable, prevents reboot

2023-07-06 Thread Mike Karels
On 6 Jul 2023, at 18:53, John F Carr wrote: > The hang is caused by the sysctl call in tests/sys/kern/kern_copyin.c. The > function below hangs when called in a 32 bit ARM process running in a chroot > environment on a 64 bit ARM system. I will write up a bug report. > > static int >

Re: For snapshot builds: armv7 chroot on aarch64 has kyua test -k /usr/tests/Kyuafile sys/kern/kern_copyin hung up [in getpid?], unkillable, prevents reboot

2023-07-06 Thread Mark Millard
On Jul 6, 2023, at 16:53, John F Carr wrote: > On Jun 25, 2023, at 20:16, Mark Millard wrote: >> >> . . . >> > > The hang is caused by the sysctl call in tests/sys/kern/kern_copyin.c. The > function below hangs when called in a 32 bit ARM process running in a chroot > environment on a 64

Re: For snapshot builds: armv7 chroot on aarch64 has kyua test -k /usr/tests/Kyuafile sys/kern/kern_copyin hung up [in getpid?], unkillable, prevents reboot

2023-07-06 Thread John F Carr
g behavior after setting up storage > media based on them. (This was a test that my builds were not > odd for the issue.) > > Boot the aarch64 media and log in. (Note: I logged in > as root.) > > mount the armv7 media (-noatime is just my habit) > and then put it to use: &g

Re: For snapshot builds: armv7 chroot on aarch64 has kyua test -k /usr/tests/Kyuafile sys/kern/kern_copyin hung up [in getpid?], unkillable, prevents reboot

2023-07-06 Thread Mark Millard
vior after setting up storage > media based on them. (This was a test that my builds were not > odd for the issue.) > > Boot the aarch64 media and log in. (Note: I logged in > as root.) > > mount the armv7 media (-noatime is just my habit) > and then put it to use: > > #

For snapshot builds: armv7 chroot on aarch64 has kyua test -k /usr/tests/Kyuafile sys/kern/kern_copyin hung up [in getpid?], unkillable, prevents reboot

2023-06-25 Thread Mark Millard
Using the likes of: FreeBSD-14.0-CURRENT-arm64-aarch64-ROCK64-20230622-b95d2237af40-263748.img and: FreeBSD-14.0-CURRENT-arm-armv7-GENERICSD-20230622-b95d2237af40-263748.img I have shown the following behavior after setting up storage media based on them. (This was a test that my builds were

Re: TP-LINK USB no carrier after speed test

2023-01-18 Thread Hans Petter Selasky
On 1/18/23 12:45, Gary Jennejohn wrote: It's not clear from the content of README.md whether Hans has added thunderbolt to the files under /sys/conf. Currently not so much has changed there, except from regularly rebasing the repository on top of FreeBSD-main. I currently have my hands

Re: TP-LINK USB no carrier after speed test

2023-01-18 Thread Gary Jennejohn
xHCI Host Controller' > class = serial bus > subclass = USB > > > maybe this tiger lake support is the problem? > > > I have checked your git repository above, how could i test it here ? what > dirs am i supposed to copy to my /usr/src ? > > thank you

Re: RES: TP-LINK USB no carrier after speed test

2023-01-17 Thread Ivan Quitschal
= 'Intel Corporation' device = 'Tiger Lake-LP USB 3.2 Gen 2x1 xHCI Host Controller' class = serial bus subclass = USB maybe this tiger lake support is the problem? I have checked your git repository above, how could i test it here ? what dirs am i supposed to copy to my

Re: RES: TP-LINK USB no carrier after speed test

2023-01-17 Thread Hans Petter Selasky
On 1/17/23 14:13, Ivan Quitschal wrote: not THAT fine of course, since its limited to around 300mbps. when in USB 3 it reaches 600mbps just fine. but besides that limitation from the version 2.0, it really works. ive tried a whole day of heavy traffic here and nothing happened at all. rings

Re: RES: TP-LINK USB no carrier after speed test

2023-01-17 Thread Ivan Quitschal
On Wed, 28 Sep 2022, Ivan Quitschal wrote: FYI: There is some experimental thunderbolt support at:

Re: RES: TP-LINK USB no carrier after speed test

2022-09-28 Thread Ivan Quitschal
ssages, 64 bit enabled with 1 message cap 09[90] = vendor (length 20) Intel cap 15 version 0 cap 09[b0] = vendor (length 0) Intel cap 0 version 1 Does the system you also has Thunderbolt chip, or you use native Intel chipet's XHCI? Also, when running the stress test and you see t

Re: RES: TP-LINK USB no carrier after speed test

2022-09-28 Thread Hans Petter Selasky
On 9/28/22 11:47, Tomoaki AOKI wrote: As I stated on Bug 237666 [1], I have Titan Ridge TB3 bridge on my ThinkPad P52. The relevant part of HW probe is at comment 206 [2]. Are there any other info I can provide for Titan Ridge support? (Not yet tried the codes.)

Re: RES: TP-LINK USB no carrier after speed test

2022-09-28 Thread Tomoaki AOKI
On Tue, 27 Sep 2022 20:17:54 +0200 Hans Petter Selasky wrote: > On 9/27/22 15:22, Hans Petter Selasky wrote: (snip) > FYI: There is some experimental thunderbolt support at: > > https://github.com/hselasky/usb4 > > But I'm not sure if it supports the hardware you've got. > > --HPS

Re: RES: TP-LINK USB no carrier after speed test

2022-09-28 Thread Hans Petter Selasky
cap 09[90] = vendor (length 20) Intel cap 15 version 0 cap 09[b0] = vendor (length 0) Intel cap 0 version 1 Does the system you also has Thunderbolt chip, or you use native Intel chipet's XHCI? Also, when running the stress test and you see the traffic stops, what happens if you run this comma

RES: RES: TP-LINK USB no carrier after speed test

2022-09-28 Thread Ivan Quitschal
> > FYI: There is some experimental thunderbolt support at: > > https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.c > om%2Fhselasky%2Fusb4data=05%7C01%7C%7C14c86eee9f5d492c41d50 > 8daa0b49bdb%7C84df9e7fe9f640afb435%7C1%7C0%7C6379989 >

Re: RES: TP-LINK USB no carrier after speed test

2022-09-27 Thread Hans Petter Selasky
0 version 1 Does the system you also has Thunderbolt chip, or you use native Intel chipet's XHCI? Also, when running the stress test and you see the traffic stops, what happens if you run this command as root on the ugen which the if_ure belongs to: usbconfig -d ugenX.Y dump_stri

Re: RES: TP-LINK USB no carrier after speed test

2022-09-27 Thread Hans Petter Selasky
rbolt chip, or you use native Intel chipet's XHCI? Also, when running the stress test and you see the traffic stops, what happens if you run this command as root on the ugen which the if_ure belongs to: usbconfig -d ugenX.Y dump_string 0 Does the traffic resume? Nope. Out of 4 times wh

Re: RES: TP-LINK USB no carrier after speed test

2022-09-27 Thread Ivan Quitschal
pet's XHCI? Also, when running the stress test and you see the traffic stops, what happens if you run this command as root on the ugen which the if_ure belongs to: usbconfig -d ugenX.Y dump_string 0 Does the traffic resume? Nope. Out of 4 times when traffic stopped 2 times it reported a

Re: RES: TP-LINK USB no carrier after speed test

2022-09-27 Thread Hans Petter Selasky
I supports 8 messages, 64 bit enabled with 1 message     cap 09[90] = vendor (length 20) Intel cap 15 version 0     cap 09[b0] = vendor (length 0) Intel cap 0 version 1 Does the system you also has Thunderbolt chip, or you use native Intel chipet's XHCI? Also, when running the stress test a

Re: RES: RES: TP-LINK USB no carrier after speed test

2022-09-27 Thread Hans Petter Selasky
On 9/27/22 00:25, Ivan Quitschal wrote: Hi Hans, how do you want me to do those tests for you ? with or without any of your patches? With the actual code on git ? Without any patches. --HPS

Re: RES: TP-LINK USB no carrier after speed test

2022-09-26 Thread Alexander Motin
] = vendor (length 20) Intel cap 15 version 0 cap 09[b0] = vendor (length 0) Intel cap 0 version 1 Does the system you also has Thunderbolt chip, or you use native Intel chipet's XHCI? Also, when running the stress test and you see the traffic stops, what happens if you run this comma

Re: RES: TP-LINK USB no carrier after speed test

2022-09-26 Thread Ivan Quitschal
to be something about it obviously On my tests I found that reduction of URE_MAX_TX from 4 to 1 actually help a lot more without so dramatic performance decrease.  Though it is likely only a workaround and does not explain the cause, so I hope Hans more ideas for us to test. ;) Hi, I've got

RES: RES: TP-LINK USB no carrier after speed test

2022-09-26 Thread Ivan Quitschal
> -Mensagem original- > De: Hans Petter Selasky > Enviada em: segunda-feira, 26 de setembro de 2022 18:29 > Para: Alexander Motin ; Ivan Quitschal > > Cc: freebsd-current@freebsd.org; freebsd-...@freebsd.org > Assunto: Re: RES: TP-LINK USB no carrier after speed te

Re: RES: TP-LINK USB no carrier after speed test

2022-09-26 Thread Hans Petter Selasky
that reduction of URE_MAX_TX from 4 to 1 actually help a lot more without so dramatic performance decrease.  Though it is likely only a workaround and does not explain the cause, so I hope Hans more ideas for us to test. ;) Hi, I've got a supposedly "broken" if_ure dongle from

Re: RES: TP-LINK USB no carrier after speed test

2022-09-26 Thread Alexander Motin
actually help a lot more without so dramatic performance decrease. Though it is likely only a workaround and does not explain the cause, so I hope Hans more ideas for us to test. ;) -- Alexander Motin

Re: RES: TP-LINK USB no carrier after speed test

2022-09-26 Thread Ivan Quitschal
On Mon, 26 Sep 2022, Hans Petter Selasky wrote: Hi Ivan, Can you revert all if_ure patches, and try this one instead. --HPS hi Hans bad news im afraid, problem occurred at the first attempt on speedtest.net. and I'm really trying to help you analizying this code here myself, but

Re: RES: TP-LINK USB no carrier after speed test

2022-09-26 Thread Hans Petter Selasky
Hi Ivan, Can you revert all if_ure patches, and try this one instead. --HPSdiff --git a/sys/dev/usb/controller/xhci.c b/sys/dev/usb/controller/xhci.c index 045be9a40b99..09aefb02687d 100644 --- a/sys/dev/usb/controller/xhci.c +++ b/sys/dev/usb/controller/xhci.c @@ -2848,8 +2848,16 @@

Re: RES: TP-LINK USB no carrier after speed test

2022-09-20 Thread Ivan Quitschal
On Mon, 19 Sep 2022, Ivan Quitschal wrote: On Mon, 19 Sep 2022, Hans Petter Selasky wrote: Hi Ivan, Can you also test this USB kernel patch? And revert your if_ure.c patch? --HPS hi Hans, it *almost* worked ... everything was perfect , full speed 600/300 on the first 5 tests

Re: RES: TP-LINK USB no carrier after speed test

2022-09-19 Thread Ivan Quitschal
On Mon, 19 Sep 2022, Hans Petter Selasky wrote: Hi Ivan, Can you also test this USB kernel patch? And revert your if_ure.c patch? --HPS hi Hans, it *almost* worked ... everything was perfect , full speed 600/300 on the first 5 tests (on sppedtest.net), on the 6th test, the same

Re: RES: TP-LINK USB no carrier after speed test

2022-09-19 Thread Hans Petter Selasky
Hi Ivan, Can you also test this USB kernel patch? And revert your if_ure.c patch? --HPSdiff --git a/sys/dev/usb/usb_transfer.c b/sys/dev/usb/usb_transfer.c index 20ed2c897aac..757697926106 100644 --- a/sys/dev/usb/usb_transfer.c +++ b/sys/dev/usb/usb_transfer.c @@ -419,6 +419,7

Re: RES: TP-LINK USB no carrier after speed test

2022-09-19 Thread Hans Petter Selasky
fine, way better now. should this bug be in bugzilla for this ure driver as well wehave for axge? thanks --tzk Hi Ivan, I got one of those if_ure adapters at my hand, and will test it a bit before concluding. Stay tuned and thanks for your testing efforts! --HPS

Re: RES: TP-LINK USB no carrier after speed test

2022-09-18 Thread Ivan Quitschal
@freebsd.org Assunto: Re: TP-LINK USB no carrier after speed test On 9/16/22 14:18, Ivan Quitschal wrote: On Fri, 16 Sep 2022, Hans Petter Selasky wrote: On 9/16/22 08:34, Hans Petter Selasky wrote: On 9/16/22 08:20, Hans Petter Selasky wrote: On 9/15/22 17:36, Ivan Quitschal wrote: On Thu, 15

Re: RES: TP-LINK USB no carrier after speed test

2022-09-16 Thread Ivan Quitschal
after speed test On 9/16/22 14:18, Ivan Quitschal wrote: On Fri, 16 Sep 2022, Hans Petter Selasky wrote: On 9/16/22 08:34, Hans Petter Selasky wrote: On 9/16/22 08:20, Hans Petter Selasky wrote: On 9/15/22 17:36, Ivan Quitschal wrote: On Thu, 15 Sep 2022, Ivan Quitschal wrote: On Thu, 15

Re: RES: TP-LINK USB no carrier after speed test

2022-09-16 Thread Hans Petter Selasky
On 9/16/22 16:31, Ivan Quitschal wrote: -Mensagem original- De: Hans Petter Selasky Enviada em: sexta-feira, 16 de setembro de 2022 10:40 Para: Ivan Quitschal Cc: freebsd-current@freebsd.org Assunto: Re: TP-LINK USB no carrier after speed test On 9/16/22 14:18, Ivan Quitschal wrote

RES: TP-LINK USB no carrier after speed test

2022-09-16 Thread Ivan Quitschal
> -Mensagem original- > De: Hans Petter Selasky > Enviada em: sexta-feira, 16 de setembro de 2022 10:40 > Para: Ivan Quitschal > Cc: freebsd-current@freebsd.org > Assunto: Re: TP-LINK USB no carrier after speed test > > On 9/16/22 14:18, Ivan Quitschal wrote

Re: TP-LINK USB no carrier after speed test

2022-09-16 Thread Hans Petter Selasky
Hi, I compared the Linux code and the FreeBSD code, and the Linux code has firmware upload support for this device. Maybe implementing that will fix some issues. Will come back to this after EuroBSDcon :-) --HPS

Re: TP-LINK USB no carrier after speed test

2022-09-16 Thread Hans Petter Selasky
net or any other) , at the end of the test the eth interface dies .. it changes from full-duplex to half-duplex/no carrier and the only way to get the internet back thru ue0 is by rebooting the whole thing. not even a "service netif restart" does anything if anyone has any ideas

Re: TP-LINK USB no carrier after speed test

2022-09-16 Thread Ivan Quitschal
the wireless but a TP-LINK USB ethernet connected on "ue0" ugen0.6: at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (200mA) but something really strange is happening .. everytime i open the chromium e do a speedtest (could be speedtest.net or any other) , at the end of the te

Re: TP-LINK USB no carrier after speed test

2022-09-16 Thread Hans Petter Selasky
on "ue0" ugen0.6: at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (200mA) but something really strange is happening .. everytime i open the chromium e do a speedtest (could be speedtest.net or any other) , at the end of the test the eth interface dies .. it changes from f

Re: TP-LINK USB no carrier after speed test

2022-09-16 Thread Hans Petter Selasky
=0 md=HOST spd=HIGH (480Mbps) pwr=ON (200mA) but something really strange is happening .. everytime i open the chromium e do a speedtest (could be speedtest.net or any other) , at the end of the test the eth interface dies .. it changes from full-duplex to half-duplex/no carrier and the only

Re: TP-LINK USB no carrier after speed test

2022-09-16 Thread Hans Petter Selasky
=ON (200mA) but something really strange is happening .. everytime i open the chromium e do a speedtest (could be speedtest.net or any other) , at the end of the test the eth interface dies .. it changes from full-duplex to half-duplex/no carrier and the only way to get the internet back thru ue0 is by

Re: TP-LINK USB no carrier after speed test

2022-09-15 Thread void
On Thu, Sep 15, 2022 at 01:45:11PM -0300, Ivan Quitschal wrote: capabilities=68009b ether 54:af:97:86:be:2c inet 192.168.0.35 netmask 0xff00 broadcast 192.168.0.255 media: Ethernet 1000baseT status: active supported media: media

Re: TP-LINK USB no carrier after speed test

2022-09-15 Thread Ivan Quitschal
=ON (200mA) but something really strange is happening .. everytime i open the chromium e do a speedtest (could be speedtest.net or any other) , at the end of the test the eth interface dies .. it changes from full-duplex to half-duplex/no carrier and the only way to get the internet back

Re: TP-LINK USB no carrier after speed test

2022-09-15 Thread Ivan Quitschal
happening .. everytime i open the chromium e do a speedtest (could be speedtest.net or any other) , at the end of the test the eth interface dies .. it changes from full-duplex to half-duplex/no carrier and the only way to get the internet back thru ue0 is by rebooting the whole thing. not even a &quo

Re: TP-LINK USB no carrier after speed test

2022-09-15 Thread Ivan Quitschal
speedtest (could be speedtest.net or any other) , at the end of the test the eth interface dies .. it changes from full-duplex to half-duplex/no carrier and the only way to get the internet back thru ue0 is by rebooting the whole thing. not even a "service netif restart" does anythin

Re: TP-LINK USB no carrier after speed test

2022-09-15 Thread Hans Petter Selasky
t the end of the test the eth interface dies .. it changes from full-duplex to half-duplex/no carrier and the only way to get the internet back thru ue0 is by rebooting the whole thing. not even a "service netif restart" does anything if anyone has any ideas why is that , would be appreci

Re: TP-LINK USB no carrier after speed test

2022-09-15 Thread Hans Petter Selasky
USB ethernet connected on "ue0" ugen0.6: at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (200mA) but something really strange is happening .. everytime i open the chromium e do a speedtest (could be speedtest.net or any other) , at the end of the test the eth interface dies ..

TP-LINK USB no carrier after speed test

2022-09-15 Thread Ivan Quitschal
ugen0.6: at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (200mA) but something really strange is happening .. everytime i open the chromium e do a speedtest (could be speedtest.net or any other) , at the end of the test the eth interface dies .. it changes from full-duplex to h

Re: test-includes breaks buildworld when WITHOUT_PF is set in src.conf

2022-02-09 Thread Gary Jennejohn
On Wed, 09 Feb 2022 11:08:44 +0100 Kristof Provost wrote: > On 9 Feb 2022, at 10:57, Gary Jennejohn wrote: > > test-includes uses pf.h when checking usage of pfvar.h. > > > > But, these lines in include/Makefile remove pf.h when WITHOUT_PF is > > set in sr

Re: test-includes breaks buildworld when WITHOUT_PF is set in src.conf

2022-02-09 Thread Kristof Provost
On 9 Feb 2022, at 10:57, Gary Jennejohn wrote: > test-includes uses pf.h when checking usage of pfvar.h. > > But, these lines in include/Makefile remove pf.h when WITHOUT_PF is > set in src.conf: > > .if ${MK_PF} != "no" > INCSGROUPS+= PF > .endif > > Th

test-includes breaks buildworld when WITHOUT_PF is set in src.conf

2022-02-09 Thread Gary Jennejohn
test-includes uses pf.h when checking usage of pfvar.h. But, these lines in include/Makefile remove pf.h when WITHOUT_PF is set in src.conf: .if ${MK_PF} != "no" INCSGROUPS+= PF .endif This breaks buildworld. The error message: In file included from net_pfvar.c:1: /usr/obj/usr

Re: kyua run under WITH_ASAN= built world reports a global-buffer-overflow during cpio test.

2022-01-12 Thread Mark Millard
0x010753ca thread T0 >#0 0x1139bd9 in hexdump > /usr/main-src/contrib/libarchive/test_utils/test_main.c:875:35 >#1 0x113b73c in assertion_text_file_contents > /usr/main-src/contrib/libarchive/test_utils/test_main.c:1182:3 >#2 0x1125d46 in basic_cpio > /usr/main

kyua run under WITH_ASAN= built world reports a global-buffer-overflow during cpio test.

2022-01-12 Thread Mark Millard
/contrib/libarchive/test_utils/test_main.c:875:35 #1 0x113b73c in assertion_text_file_contents /usr/main-src/contrib/libarchive/test_utils/test_main.c:1182:3 #2 0x1125d46 in basic_cpio /usr/main-src/contrib/libarchive/cpio/test/test_basic.c:84:2 #3 0x11259dc in test_basic /usr/main-src

Re: FYI: An example ASAN failure report during kyua test -k /usr/tests/Kyuafile (info for some more examples)

2022-01-09 Thread Mark Millard
On 2022-Jan-9, at 13:47, Mark Millard wrote: > On 2022-Jan-7, at 03:39, Mark Millard wrote: > >> Having done a buildworld with both WITH_ASAN= and WITH_UBSAN= >> after finding what to control to allow the build, I installed >> it in a directory tree for chroot use a

Re: FYI: An example ASAN failure report during kyua test -k /usr/tests/Kyuafile (info for some more examples)

2022-01-09 Thread Mark Millard
On 2022-Jan-7, at 03:39, Mark Millard wrote: > Having done a buildworld with both WITH_ASAN= and WITH_UBSAN= > after finding what to control to allow the build, I installed > it in a directory tree for chroot use and have > "kyua test -k /usr/tests/Kyuafile" running. >

Re: FYI: An example type of UBSAN failure during kyua test -k /usr/tests/Kyuafile

2022-01-07 Thread Mark Millard
On 2022-Jan-7, at 04:31, Stefan Esser wrote: > Am 07.01.22 um 12:49 schrieb Mark Millard: >> Having done a buildworld with both WITH_ASAN= and WITH_UBSAN= >> after finding what to control to allow the build, I installed >> it in a directory tree for chroot use and have

Re: FYI: An example type of UBSAN failure during kyua test -k /usr/tests/Kyuafile

2022-01-07 Thread Mark Millard
On 2022-Jan-7, at 05:08, Mark Millard wrote: > On 2022-Jan-7, at 03:49, Mark Millard wrote: > >> Having done a buildworld with both WITH_ASAN= and WITH_UBSAN= >> after finding what to control to allow the build, I installed >> it in a directory tree for chroot use a

Re: FYI: An example type of UBSAN failure during kyua test -k /usr/tests/Kyuafile

2022-01-07 Thread Mark Millard
On 2022-Jan-7, at 03:49, Mark Millard wrote: > Having done a buildworld with both WITH_ASAN= and WITH_UBSAN= > after finding what to control to allow the build, I installed > it in a directory tree for chroot use and have > "kyua test -k /usr/tests/Kyuafile" runnin

Re: FYI: An example type of UBSAN failure during kyua test -k /usr/tests/Kyuafile

2022-01-07 Thread Stefan Esser
Am 07.01.22 um 12:49 schrieb Mark Millard: > Having done a buildworld with both WITH_ASAN= and WITH_UBSAN= > after finding what to control to allow the build, I installed > it in a directory tree for chroot use and have > "kyua test -k /usr/tests/Kyuafile" running. > &g

FYI: An example type of UBSAN failure during kyua test -k /usr/tests/Kyuafile

2022-01-07 Thread Mark Millard
Having done a buildworld with both WITH_ASAN= and WITH_UBSAN= after finding what to control to allow the build, I installed it in a directory tree for chroot use and have "kyua test -k /usr/tests/Kyuafile" running. I see evidence of various examples of one type of undefined behavior:

FYI: An example ASAN failure report during kyua test -k /usr/tests/Kyuafile

2022-01-07 Thread Mark Millard
Having done a buildworld with both WITH_ASAN= and WITH_UBSAN= after finding what to control to allow the build, I installed it in a directory tree for chroot use and have "kyua test -k /usr/tests/Kyuafile" running. I see evidence of one AddressSanitizer report. (kyua is sti

Re: FYI: WITH_REPRODUCIBLE_BUILD= problem for some files? [aarch64 test did not reproduce the issue]

2021-05-05 Thread Mark Millard via freebsd-current
ration. >>> >>> WITH_REPRODUCIBLE_BUILD= makes a distinction between these >>> if I remember right: (partially?) disabling itself for >>> -dirty style. >>> >>> To reproduce the original style of test I need to create >>> a branch wi

Re: FYI: WITH_REPRODUCIBLE_BUILD= problem for some files? [aarch64 test did not reproduce the issue]

2021-05-04 Thread Mark Millard via freebsd-current
remember right: (partially?) disabling itself for >> -dirty style. >> >> To reproduce the original style of test I need to create >> a branch with my few patches checked in and do the >> buildworlds from that branch. >> >> This will, of course, take a w

Re: FYI: WITH_REPRODUCIBLE_BUILD= problem for some files? [Ignore recent test: -dirty vs. checked-in usage difference]

2021-05-04 Thread Mark Millard via freebsd-current
y experimenting. This time it was in a -dirty form (not > checked in), again as part of my experimental exploration. > > WITH_REPRODUCIBLE_BUILD= makes a distinction between these > if I remember right: (partially?) disabling itself for > -dirty style. > > To reproduce the ori

Re: FYI: WITH_REPRODUCIBLE_BUILD= problem for some files? [Ignore recent test: -dirty vs. checked-in usage difference]

2021-05-04 Thread Mark Millard via freebsd-current
= makes a distinction between these if I remember right: (partially?) disabling itself for -dirty style. To reproduce the original style of test I need to create a branch with my few patches checked in and do the buildworlds from that branch. This will, of course, take a while. Sorry for the noise

Re: test suite for NIC features...

2020-07-20 Thread Kurt Jaeger
Hi! > Has anyone compiled a script/test suite for testing various NIC > features to make sure they work/function properly? > > That is, being able to run a couple interfaces back to back, and turn > off the features off on one, and make sure things like checksum offload >

test suite for NIC features...

2020-07-20 Thread John-Mark Gurney
Has anyone compiled a script/test suite for testing various NIC features to make sure they work/function properly? That is, being able to run a couple interfaces back to back, and turn off the features off on one, and make sure things like checksum offload and the like work properly? -- John

Re: Undeletable files after kyua test runs

2020-07-05 Thread Gordon Bergling
ling >>> <mailto:g...@freebsd.org>> wrote: > >>> > >>> Hi, > >>> > >>> I recently stumbled across undeletable files that are generated by kyua > >>> test runs, > >>> for example > >>> > >>>

Re: Undeletable files after kyua test runs

2020-07-04 Thread Enji Cooper
; wrote: >>> >>> Hi, >>> >>> I recently stumbled across undeletable files that are generated by kyua >>> test runs, >>> for example >>> >>> -rwxr-xr-x 1 root wheel 0 May 9 13:10 >>> /tmp/kyua.aB

Re: Undeletable files after kyua test runs

2020-07-04 Thread Enji Cooper
> On Jul 2, 2020, at 7:57 PM, Enji Cooper wrote: > >> >> On Jun 29, 2020, at 10:26 AM, Gordon Bergling wrote: >> >> Hi, >> >> I recently stumbled across undeletable files that are generated by kyua test >> runs, >> for example >

Re: Undeletable files after kyua test runs

2020-07-02 Thread Enji Cooper
> On Jun 29, 2020, at 10:26 AM, Gordon Bergling wrote: > > Hi, > > I recently stumbled across undeletable files that are generated by kyua test > runs, > for example > > -rwxr-xr-x 1 root wheel 0 May 9 13:10 > /tmp/kyua.aB4q62/8676/work/fileforaudit

Re: Undeletable files after kyua test runs

2020-06-29 Thread Gordon Bergling
> > On Mon, Jun 29, 2020 at 10:26 AM Gordon Bergling < > > > > > g...@freebsd.org> wrote: > > > > > > I recently stumbled across undeletable files that are > > > > > > generated by kyua > > > > > > test runs, > >

Re: Undeletable files after kyua test runs

2020-06-29 Thread Michael Gmelin
t; On Mon, Jun 29, 2020 at 10:26 AM Gordon Bergling < >>>>> g...@freebsd.org> wrote: >>>>>> I recently stumbled across undeletable files that are >>>>>> generated by kyua >>>>>> test runs, >>>>>> for examp

  1   2   3   4   5   6   7   8   9   >