Page MenuHomeFreeBSD

jim.chen.1827_gmail.com (Jim Huang Chen)
User

Projects

User does not belong to any projects.

User Details

User Since
May 11 2026, 1:34 PM (9 w, 5 h)

Recent Activity

Yesterday

jim.chen.1827_gmail.com updated the diff for D58095: Status/2026Q2/rpi-imager_port.adoc: Add report.

Remove contraction and break sentences across lines.

Sun, Jul 12, 4:50 PM

Wed, Jul 8

jim.chen.1827_gmail.com requested review of D58095: Status/2026Q2/rpi-imager_port.adoc: Add report.
Wed, Jul 8, 12:17 AM

Thu, Jun 18

jim.chen.1827_gmail.com added a comment to D57242: Update fwget(8) to identify packages available in wifi-firmware-kmod.
In D57242#1317770, @bz wrote:

This isn't quite correct yet (though probably not wrong).

mt7921 has an entry for a different vendor as well these days:

{ PCI_DEVICE(PCI_VENDOR_ID_ITTIM, 0x7922),
        .driver_data = (kernel_ulong_t)MT7922_FIRMWARE_WM },

Not sure anymore if the script doesn't check or if it simply didn't barf and it goes unnoticed as it is the same device ID as for mediatek?

Another reason we need a newer fwget (I should get back and rewrite my lua take I) to avoid adding different files for vendors but rather have the logical unit be a driver or similar. *sigh*

I would suggest, for now, to manually add the extra file to fwget and not try to automate this just yet. Maybe a printf saying to check for other vendor IDs in the driver or to list them at the end?

grep -r PCI_VENDOR_ID sys/contrib/dev/mediatek/mt76/ | grep -v PCI_VENDOR_ID_MEDIATEK
sys/contrib/dev/mediatek/mt76/mt7921/pci.c:     { PCI_DEVICE(PCI_VENDOR_ID_ITTIM, 0x7922),
Thu, Jun 18, 2:39 PM
jim.chen.1827_gmail.com updated the diff for D57242: Update fwget(8) to identify packages available in wifi-firmware-kmod.
Thu, Jun 18, 2:36 PM

Wed, Jun 17

jim.chen.1827_gmail.com added a comment to D57140: Bug 294513 - hw.ncpu loader(8) tunable for x86 architectures.
In D57140#1319211, @kib wrote:

By consistency I mean that blindly ignoring some CPU IDs might result in some devices not working. For instance, there might be interrupts hard-coded to be routed through specific APICs, which would break.

We already have the knob to disable SMP, and knobs to disable specific LAPICs. I am not sure that blindly adding the cap on the OS-assigned CPUIDs it good idea, at least on x86. Although I probably think that the knob is fine as far as people who use it know the consequences. Might be a wording in smp(4) should be added to explain why the knob is there but broken.

Wed, Jun 17, 9:10 PM

Jun 11 2026

jim.chen.1827_gmail.com added inline comments to D57140: Bug 294513 - hw.ncpu loader(8) tunable for x86 architectures.
Jun 11 2026, 4:49 AM

Jun 10 2026

jim.chen.1827_gmail.com edited reviewers for D57140: Bug 294513 - hw.ncpu loader(8) tunable for x86 architectures, added: emaste, kib, olce; removed: emaste_freebsdfoundation.org.
Jun 10 2026, 6:54 PM

Jun 8 2026

jim.chen.1827_gmail.com updated the diff for D57242: Update fwget(8) to identify packages available in wifi-firmware-kmod.

Removed realtek changes.

Jun 8 2026, 1:30 PM

May 26 2026

jim.chen.1827_gmail.com added a comment to D57242: Update fwget(8) to identify packages available in wifi-firmware-kmod.
In D57242#1311904, @bz wrote:

Not saying that I'll take them but where did you get the two Realtek driver files from?
The ones I am aware off are different, that's why I am asking.

May 26 2026, 5:00 PM
jim.chen.1827_gmail.com added a reviewer for D57242: Update fwget(8) to identify packages available in wifi-firmware-kmod: bz.
May 26 2026, 3:44 PM
jim.chen.1827_gmail.com requested review of D57242: Update fwget(8) to identify packages available in wifi-firmware-kmod.
May 26 2026, 7:18 AM

May 22 2026

jim.chen.1827_gmail.com updated the diff for D57002: Bug 295139 - kldload prints wrong error message to terminal upon attempt to load incorrect module version.

Changed potentially ambiguous KASSERTs into MPASS

May 22 2026, 3:24 PM
jim.chen.1827_gmail.com added inline comments to D57002: Bug 295139 - kldload prints wrong error message to terminal upon attempt to load incorrect module version.
May 22 2026, 3:02 PM
jim.chen.1827_gmail.com updated the diff for D57002: Bug 295139 - kldload prints wrong error message to terminal upon attempt to load incorrect module version.

Removed unnecessary line wrap

May 22 2026, 3:00 PM

May 21 2026

jim.chen.1827_gmail.com updated the diff for D57002: Bug 295139 - kldload prints wrong error message to terminal upon attempt to load incorrect module version.

Rebased onto main

May 21 2026, 10:12 PM
jim.chen.1827_gmail.com updated the diff for D57002: Bug 295139 - kldload prints wrong error message to terminal upon attempt to load incorrect module version.

Added suggested edit to comment

May 21 2026, 4:27 PM
jim.chen.1827_gmail.com updated the diff for D57002: Bug 295139 - kldload prints wrong error message to terminal upon attempt to load incorrect module version.

Added missing diff context

May 21 2026, 4:22 PM
jim.chen.1827_gmail.com updated the diff for D57002: Bug 295139 - kldload prints wrong error message to terminal upon attempt to load incorrect module version.
  • Shortened error messages
  • Added entry to exterr_cat_filenames.h
  • Addressed potential memleak introduced in linker_load_module() line 2315
May 21 2026, 4:16 PM

May 20 2026

jim.chen.1827_gmail.com requested review of D57140: Bug 294513 - hw.ncpu loader(8) tunable for x86 architectures.
May 20 2026, 7:59 PM

May 15 2026

jim.chen.1827_gmail.com updated the diff for D57002: Bug 295139 - kldload prints wrong error message to terminal upon attempt to load incorrect module version.
May 15 2026, 8:13 PM
jim.chen.1827_gmail.com retitled D57002: Bug 295139 - kldload prints wrong error message to terminal upon attempt to load incorrect module version from Bug 295139 - kldload prints wrong error message to terminal upon attempt to load incorrect module version to Bug 295139 - (WIP) kldload prints wrong error message to terminal upon attempt to load incorrect module version.
May 15 2026, 6:36 PM
jim.chen.1827_gmail.com updated the diff for D57002: Bug 295139 - kldload prints wrong error message to terminal upon attempt to load incorrect module version.

Changed ENOENT errors to ENOEXEC for more semantic correctness in the case where the file exists but is unusable due to version incompatibility.

May 15 2026, 6:22 PM

May 14 2026

jim.chen.1827_gmail.com added a reviewer for D57002: Bug 295139 - kldload prints wrong error message to terminal upon attempt to load incorrect module version: emaste_freebsdfoundation.org.
May 14 2026, 3:47 PM
jim.chen.1827_gmail.com requested review of D57002: Bug 295139 - kldload prints wrong error message to terminal upon attempt to load incorrect module version.
May 14 2026, 3:42 PM