Page MenuHomeFreeBSD

bses30074_gmail.com (Yan-Hao Wang)
User

Projects

User does not belong to any projects.

User Details

User Since
Jun 25 2022, 1:00 PM (101 w, 16 h)

Recent Activity

Sat, May 18

bses30074_gmail.com updated the diff for D45124: rwhod: IPv6 clean.
  • Addressed IPv6 and formatting issues
Sat, May 18, 7:36 AM

Thu, May 9

bses30074_gmail.com added a comment to D45124: rwhod: IPv6 clean.
In D45124#1029225, @imp wrote:

What do you do if neither INET nor INET6 are defined? In a lot of cases, it looks like you fail. Likewise when you don't have the right address family compiled in.

Thu, May 9, 1:28 PM

Wed, May 8

bses30074_gmail.com abandoned D45123: rwhod: IPv6 clean.

I accidentally created it. There is already another revision, D45124.

Wed, May 8, 2:08 PM
bses30074_gmail.com added reviewers for D45124: rwhod: IPv6 clean: hrs, lwhsu.
Wed, May 8, 1:42 PM
bses30074_gmail.com added a comment to D45124: rwhod: IPv6 clean.

I tested the IPv6-only machine and found no errors affecting it. Here are some methods I employed to ensure IPv6 cleanliness:

Wed, May 8, 1:41 PM
bses30074_gmail.com requested review of D45124: rwhod: IPv6 clean.
Wed, May 8, 1:38 PM
bses30074_gmail.com requested review of D45123: rwhod: IPv6 clean.
Wed, May 8, 1:36 PM

Jan 27 2024

bses30074_gmail.com added a comment to F75131370: image.png.

Oh, I get it. It is using the "dev.pcm.0.dest" to control the output. In my device, it is like below. The HDMI output can work whilst setting it to 2.

Jan 27 2024, 8:30 AM

Jan 20 2024

bses30074_gmail.com added a comment to F75131370: image.png.

This is my test result:

Jan 20 2024, 1:08 AM

Jan 19 2024

bses30074_gmail.com added a comment to F75131370: image.png.

Thank you for your response. I'm currently experiencing confusion. I applied the patch from https://lists.freebsd.org/archives/freebsd-arm/2022-February/000949.html to my RPI4 device, compiled it, and encountered no errors. It seems the patch referenced in the link corresponds to D37878, D37878, D36431.

Jan 19 2024, 5:52 PM

Jan 18 2024

bses30074_gmail.com added a comment to D43399: VCHIQ HDMI AUDIO 64 bits BCM2835, BCM2711 Raspberry Pi 4B; correct minor compile errors. bcm2835_audio.c.

Is this patch based on the three preceding patches? Were there compilation warnings (or errors) encountered when applying those three patches, leading to the creation of this patch to address those issues?

image.png (128×848 px, 36 KB)

Jan 18 2024, 9:35 PM · arm64, ARM

Dec 31 2023

bses30074_gmail.com added a comment to D43260: Q4 report from "Yan-Hao Wang".

Greetings! I am Yan-Hao Wang, and I present my Q4 status report, which serves as a continuation of the Q3 report concerning the FreeBSD online editor. I appreciate your review and feedback.

Dec 31 2023, 6:24 PM
bses30074_gmail.com added reviewers for D43260: Q4 report from "Yan-Hao Wang": lwhsu, status.
Dec 31 2023, 6:23 PM
bses30074_gmail.com requested review of D43260: Q4 report from "Yan-Hao Wang".
Dec 31 2023, 6:21 PM

Nov 15 2023

bses30074_gmail.com updated the diff for D41645: geom_union: Add test for geom_union..
  • Use cp -f in "commit" case
Nov 15 2023, 3:40 PM
bses30074_gmail.com updated the diff for D41645: geom_union: Add test for geom_union..
  • Revise "lower_file" in the "commit" case.
Nov 15 2023, 1:33 PM
bses30074_gmail.com updated the diff for D41645: geom_union: Add test for geom_union..
  • Revise lower_file in "basic" and "revert" case
Nov 15 2023, 1:22 PM
bses30074_gmail.com updated the diff for D41645: geom_union: Add test for geom_union..
  • Update according lwhsu advices
    1. Remove gunion unload.
    2. Update "basic" test case.
    3. Move "create" teas case to the first one.
    4. Describe "2097152" magic number.
    5. Update "revert" test case.
Nov 15 2023, 10:31 AM

Nov 9 2023

bses30074_gmail.com updated the diff for D41645: geom_union: Add test for geom_union..
  • Update according lwhsu advices
Nov 9 2023, 3:05 PM

Nov 8 2023

bses30074_gmail.com updated the diff for D41645: geom_union: Add test for geom_union..
  • Update according lwhsu advices
Nov 8 2023, 10:08 AM
bses30074_gmail.com added inline comments to D41645: geom_union: Add test for geom_union..
Nov 8 2023, 10:01 AM

Oct 16 2023

bses30074_gmail.com added a comment to D42219: Q3 status report.

Greetings, I am Yan-Hao Wang, a FreeBSD developer who has been a summer intern at FF. I am pleased to present my Q3 status report.

Oct 16 2023, 8:06 AM
bses30074_gmail.com edited reviewers for D42219: Q3 status report, added: status, lwhsu; removed: salvadore.
Oct 16 2023, 8:05 AM
bses30074_gmail.com requested review of D42219: Q3 status report.
Oct 16 2023, 8:03 AM

Sep 25 2023

bses30074_gmail.com added a comment to D41468: printenv: Add test for printenv..

In its current state, the "base" test doesn't pass. It seems like the expected_value variable isn't getting correctly expanded. Its value is just the name of the variable. Could you please fix that?

Sep 25 2023, 9:02 AM
bses30074_gmail.com updated the diff for D41468: printenv: Add test for printenv..
  • Fix expected_value variable
Sep 25 2023, 8:55 AM

Sep 24 2023

bses30074_gmail.com updated the diff for D40611: Add `pwd` test.
  • Remove $FreeeBSD$
Sep 24 2023, 3:24 AM
bses30074_gmail.com updated the diff for D41468: printenv: Add test for printenv..
  • Fix BSD.tests.dist
Sep 24 2023, 3:07 AM
bses30074_gmail.com updated the diff for D41645: geom_union: Add test for geom_union..
  • Use conf.sh to share common function
Sep 24 2023, 2:56 AM

Sep 23 2023

bses30074_gmail.com updated the diff for D41468: printenv: Add test for printenv..
  • Remove unnecessary code and simplify again.
Sep 23 2023, 9:26 AM
bses30074_gmail.com updated the diff for D41468: printenv: Add test for printenv..
  • Remove unnecessary code and simplify
Sep 23 2023, 9:21 AM

Sep 5 2023

bses30074_gmail.com updated the diff for D41645: geom_union: Add test for geom_union..

Use fsck -p -f to check gunion and readable device

Sep 5 2023, 12:06 PM

Sep 3 2023

bses30074_gmail.com added a comment to D41645: geom_union: Add test for geom_union..

Your checksum test is a good way to verify that everything worked as expected though it is possible that some sort of filesystem corruption snuck in (obviously to both copies). So you might want to add a second check by running 'fsck -p -f' on the both the gunion filesystem and the original filesystem after the gunion has been dissolved. The exit status from fsck should be zero.

Sep 3 2023, 1:46 PM

Sep 2 2023

bses30074_gmail.com updated the diff for D41645: geom_union: Add test for geom_union..

Format writable_device statement remove. In general, upper device is not necessary to format.

Sep 2 2023, 1:13 PM
bses30074_gmail.com added a comment to D41645: geom_union: Add test for geom_union..

I am happy to see a set of gunion tests being added. The set of tests looks complete.

In general, only the lower (readable) disk partition is formatted with a filesystem. The upper (writable) layer is used and managed by gunion. It does not cause any errors for you to format it as a filesystem, but it is not necessary to do so. Attempting to access the top layer as a filesystem after it has been used by gunion is not always going to work as gunion makes no effort to keep it consistent. In particular if you use the -o offset option, any filesystem built on the top layer will cease to be usable after gunion uses it as a top layer.

Have you verified that these tests work?

Sep 2 2023, 12:27 PM

Sep 1 2023

bses30074_gmail.com added a comment to D41645: geom_union: Add test for geom_union..

The tests are described below.

  1. load:
    • Use kldstat to confirm the gunion load and unload is actually work.
  2. create:
    • Look /dev/ folder to confirm the gunion create and destroy is actually work.
  3. commit:
    • Use checksum to check the file is actually commit.
  4. offset:
    • Create two partitions and see if we can mount the union device which use the two partitions. Test the gunion commit -o offset.
  5. size:
    • Use diskinfo test gunion commit -s size.
  6. secsize:
    • Use diskinfo test gunion commit -S secsize.
  7. gunionname:
    • Look /dev/ folder to test gunion commit -Z gunionname.
  8. revert:
    • Use checksum to check the file is actually revert.
Sep 1 2023, 8:51 AM
bses30074_gmail.com updated the diff for D41645: geom_union: Add test for geom_union..
  • add one test case to test gunion commit -o offset
Sep 1 2023, 8:44 AM
bses30074_gmail.com updated the diff for D41645: geom_union: Add test for geom_union..
  • format the code.
Sep 1 2023, 7:09 AM

Aug 31 2023

bses30074_gmail.com added a reviewer for D41645: geom_union: Add test for geom_union.: tests.
Aug 31 2023, 3:31 AM
bses30074_gmail.com requested review of D41645: geom_union: Add test for geom_union..
Aug 31 2023, 3:31 AM

Aug 21 2023

bses30074_gmail.com updated the diff for D41411: efitable: Complete libxo transition..
  • Fix file format.
Aug 21 2023, 12:39 PM
bses30074_gmail.com updated the diff for D41413: jls: Complete libxo transition..
  • Fix the format.
  • Use number style.
Aug 21 2023, 12:35 PM
bses30074_gmail.com updated the diff for D41414: lastlogin: Complete libxo transition..
  • Remove unnecessary xo_finish function.
  • Use number style.
Aug 21 2023, 12:30 PM
bses30074_gmail.com updated the diff for D41417: ndp: Complete libxo transition.
  • Using xo_err to replace printf.
  • Use number style.
Aug 21 2023, 12:24 PM

Aug 20 2023

bses30074_gmail.com updated the diff for D41418: sesutil: Complete libxo transition..
  • Change usage function.
  • Use EXIT_ string style.
Aug 20 2023, 7:39 AM
bses30074_gmail.com updated the diff for D41422: ps: Complete libxo transition..
  • Use number style here.
Aug 20 2023, 7:19 AM
bses30074_gmail.com updated the diff for D41423: iscsictl: Return non-zero status on write failure..
  • Using xo_error instead of 'fprintf'.
  • Decide use number style here.
Aug 20 2023, 7:05 AM
bses30074_gmail.com updated the diff for D41408: arp: Complete libxo transition..

Using xo_error instead of fprintf.

Aug 20 2023, 4:17 AM
bses30074_gmail.com updated the diff for D41408: arp: Complete libxo transition..
Aug 20 2023, 4:13 AM
bses30074_gmail.com updated the diff for D41427: netstat: Complete libxo transition..
  • Using sysexits.h string in all the files.
Aug 20 2023, 3:53 AM
bses30074_gmail.com updated the diff for D41408: arp: Complete libxo transition..
Aug 20 2023, 3:51 AM

Aug 19 2023

bses30074_gmail.com updated the diff for D41427: netstat: Complete libxo transition..
  • Use EX_ string from sysexits.h if the file include it.
Aug 19 2023, 12:36 PM
bses30074_gmail.com added a comment to D41427: netstat: Complete libxo transition..

In some files sysexit.h is not include (below lists), I use the number style there to avoid much change.

a. main.c
b. netisr.c

The above has sysexit.h use EX_ string.

a. common.c
b. if.c
c. nhgrp.c
d. nhops.c
e. route.c
f. route_netlink.c
f. route_netlink.c
Aug 19 2023, 12:32 PM
bses30074_gmail.com added inline comments to D41427: netstat: Complete libxo transition..
Aug 19 2023, 11:52 AM
bses30074_gmail.com updated the diff for D41428: nfsstat: Complete libxo transition..
  • Use xo_error instead of fprintf.
  • Decide using 1 and 0 instead of EXIT_FAILURE and EXIT_SUCESS.
Aug 19 2023, 8:46 AM
bses30074_gmail.com added inline comments to D41428: nfsstat: Complete libxo transition..
Aug 19 2023, 8:43 AM
bses30074_gmail.com updated the diff for D41428: nfsstat: Complete libxo transition..
Aug 19 2023, 8:36 AM
bses30074_gmail.com added inline comments to D41428: nfsstat: Complete libxo transition..
Aug 19 2023, 8:15 AM
bses30074_gmail.com abandoned D35717: Change of words in FreeBSD Documentation Project Primer.

Old revision.

Aug 19 2023, 7:12 AM

Aug 16 2023

bses30074_gmail.com updated the diff for D41468: printenv: Add test for printenv..
  • Fix the file foramt.
Aug 16 2023, 4:21 AM
bses30074_gmail.com updated the diff for D40611: Add `pwd` test.
  • Fix the file format.
Aug 16 2023, 3:57 AM

Aug 15 2023

bses30074_gmail.com added a comment to D41468: printenv: Add test for printenv..

Only simple two test cases.

  1. using echo to check the environment value is correct and the environment variable is actually exist.
  2. try add env and delete the env, then use printenv to check that env.
Aug 15 2023, 7:11 AM
bses30074_gmail.com requested review of D41468: printenv: Add test for printenv..
Aug 15 2023, 7:09 AM
bses30074_gmail.com updated the diff for D40611: Add `pwd` test.
  • use different way to test.
Aug 15 2023, 12:52 AM

Aug 12 2023

bses30074_gmail.com updated the diff for D41432: vmstat: Complete libxo transition..
  • Return non-zero status on write failuer.

Originally check the xo_finish return value can achive the POSIX standard. Howeve I use (trap "" PIPE; vmstat 2>stderr; echo $? >status | true to check this, it didn't work. I find check xo_finish return value is not enough here. Becuase xo_finish will always return 0, there is already a xo_flush call before xo_finish. So we need check xo_flush return value here.

Aug 12 2023, 4:20 AM
bses30074_gmail.com added reviewers for D41432: vmstat: Complete libxo transition.: lwhsu, des.
Aug 12 2023, 3:15 AM
bses30074_gmail.com requested review of D41432: vmstat: Complete libxo transition..
Aug 12 2023, 3:13 AM
bses30074_gmail.com updated the diff for D41418: sesutil: Complete libxo transition..
  • Remove unnecessary space line.
Aug 12 2023, 2:24 AM
bses30074_gmail.com updated the diff for D41417: ndp: Complete libxo transition.
  • Remove unnecessary space line.
Aug 12 2023, 2:21 AM
bses30074_gmail.com updated the diff for D41414: lastlogin: Complete libxo transition..
  • Remove unnecessary space line.
Aug 12 2023, 2:19 AM
bses30074_gmail.com updated the diff for D41413: jls: Complete libxo transition..
  • Remove unnecessary space line.
Aug 12 2023, 2:16 AM
bses30074_gmail.com updated the diff for D41411: efitable: Complete libxo transition..
  • Remove unnecessary space line.
Aug 12 2023, 2:09 AM
bses30074_gmail.com updated the diff for D41408: arp: Complete libxo transition..
  • Remove unnecessary space line.
Aug 12 2023, 2:06 AM
bses30074_gmail.com updated the diff for D41422: ps: Complete libxo transition..
  • Remove unnecessary space line.
Aug 12 2023, 2:02 AM
bses30074_gmail.com updated the diff for D41424: last: Complete libxo transition..

Remove unnecessary space.

Aug 12 2023, 1:55 AM
bses30074_gmail.com updated the diff for D41427: netstat: Complete libxo transition..

Remove unnecessary space.

Aug 12 2023, 1:50 AM
bses30074_gmail.com updated the diff for D41428: nfsstat: Complete libxo transition..

Remove unnecessary space.

Aug 12 2023, 1:29 AM

Aug 11 2023

bses30074_gmail.com added a reviewer for D41428: nfsstat: Complete libxo transition.: des.
Aug 11 2023, 1:46 PM
bses30074_gmail.com requested review of D41428: nfsstat: Complete libxo transition..
Aug 11 2023, 1:45 PM
bses30074_gmail.com added reviewers for D41427: netstat: Complete libxo transition.: lwhsu, des.
Aug 11 2023, 1:31 PM
bses30074_gmail.com requested review of D41427: netstat: Complete libxo transition..
Aug 11 2023, 1:30 PM
bses30074_gmail.com added reviewers for D41424: last: Complete libxo transition.: lwhsu, des.
Aug 11 2023, 7:10 AM
bses30074_gmail.com updated the summary of D41424: last: Complete libxo transition..
Aug 11 2023, 7:10 AM
bses30074_gmail.com requested review of D41424: last: Complete libxo transition..
Aug 11 2023, 7:06 AM
bses30074_gmail.com added reviewers for D41423: iscsictl: Return non-zero status on write failure.: lwhsu, des.
Aug 11 2023, 6:39 AM
bses30074_gmail.com requested review of D41423: iscsictl: Return non-zero status on write failure..
Aug 11 2023, 6:38 AM
bses30074_gmail.com added reviewers for D41422: ps: Complete libxo transition.: lwhsu, des.
Aug 11 2023, 6:22 AM
bses30074_gmail.com requested review of D41422: ps: Complete libxo transition..
Aug 11 2023, 6:21 AM

Aug 10 2023

bses30074_gmail.com added reviewers for D41418: sesutil: Complete libxo transition.: lwhsu, des.
Aug 10 2023, 11:34 PM
bses30074_gmail.com requested review of D41418: sesutil: Complete libxo transition..
Aug 10 2023, 11:34 PM
bses30074_gmail.com added reviewers for D41417: ndp: Complete libxo transition: lwhsu, des.
Aug 10 2023, 11:20 PM
bses30074_gmail.com requested review of D41417: ndp: Complete libxo transition.
Aug 10 2023, 11:15 PM
bses30074_gmail.com added reviewers for D41414: lastlogin: Complete libxo transition.: lwhsu, des.
Aug 10 2023, 10:58 PM
bses30074_gmail.com requested review of D41414: lastlogin: Complete libxo transition..
Aug 10 2023, 10:57 PM
bses30074_gmail.com updated bses30074_gmail.com.
Aug 10 2023, 10:37 PM
bses30074_gmail.com added reviewers for D41413: jls: Complete libxo transition.: lwhsu, des.
Aug 10 2023, 10:36 PM
bses30074_gmail.com requested review of D41413: jls: Complete libxo transition..
Aug 10 2023, 10:33 PM
bses30074_gmail.com added reviewers for D41411: efitable: Complete libxo transition.: des, lwhsu.
Aug 10 2023, 8:42 PM
bses30074_gmail.com requested review of D41411: efitable: Complete libxo transition..
Aug 10 2023, 8:40 PM
bses30074_gmail.com abandoned D41407: arp: Complete libxo transition..

Ignore this. Create this revision accidentally.

Aug 10 2023, 8:11 PM