gromit
ich hab auch keine Ahnung ¯\_(^_^)_/¯
- kernel.org:
mainline: 6.8-rc1 - 2024-01-21
- install via
aur/linux-mainline
- reboot
- alles funktioniert
- ?!
- dmesg -> aha, nicht ganz alles!
$ git rev-list --count v6.7..v6.8-rc1
13052
-
git bisect - Use binary search to find the commit that introduced a bug
git bisect start
git bisect bad <ref>
git bisect good <ref>
-
Was tu ich jetzt also pro revision?
$ git bisect start v6.8-rc1 status: waiting for good commit(s), bad commit known $ git bisect good v6.7 Bisecting: 6785 revisions left to test after this (roughly 13 steps) [ba5afb9a84df2e6b26a1b6389b98849cd16ea757] fs: rework listmount() implementation
-
modifiziere
aur/linux-mainline
- baue von commit statt tag
- baue die docs nicht
pkgver()
einbauen um den commit im Paket sichtbar zu machen
-
integration mit mkinitcpio etc.
-
offload-build (hehe)
- kann grob das folgende:
- Baue eine OS Dateistruktur auf
- Package das in ein output format
- (optional) Boote via
systemd-nspawn
oderqemu
- Unterstützt gängige Linux Distributionen (unabhängig des "Hosts")
mkosi.local.conf
:
[Content]
BuildSources=/home/chris/Documents/shared_projects/linux-mkosi:kernel
[Distribution]
Distribution=debian
Commit: 7a36b901a6eb0e9945341db71ed3c45c7721cfa9
("ACPI: OSL: Use a threaded interrupt handler for SCI")
- bug reporting guidelines lesen
- ...
- Reproduzierbarkeit sicherstellen
- Distropatches ausschließen
- Nach Duplikaten suchen
- Neuste Version checken
MAINTAINERS
file für bug report checken
ACPI B: https://bugzilla.kernel.org
Ergebnis: https://bugzilla.kernel.org/show_bug.cgi?id=218407
- es passiert ... nichts?
- Poste bugreport unter den Patch, aber wie? https://lore.kernel.org/all/5745568.DvuYhMxLoT@kreacher/#t
--- a/drivers/pinctrl/pinctrl-amd.c
+++ b/drivers/pinctrl/pinctrl-amd.c
@@ -1162,7 +1162,7 @@ static int amd_gpio_probe(struct platform_device *pdev)
}
ret = devm_request_irq(&pdev->dev, gpio_dev->irq, amd_gpio_irq_handler,
- IRQF_SHARED, KBUILD_MODNAME, gpio_dev);
+ IRQF_SHARED | IRQF_ONESHOT, KBUILD_MODNAME, gpio_dev);
if (ret)
goto out2;
--
2.34.1
Test:
https://lore.kernel.org/all/q336uhrwuvhaf2x4fc6tneaavgugcyszgn75vzbrr4ksf7oxhi@3qcwff6nuvei/
-
#kernelnewbies
on oftc.net IRC network -
https://www.kernel.org/doc/html/latest/admin-guide/reporting-issues.html
-
Daan De Mayer (FOSDEM2024): Streamlining kernel hacking with
mkosi-kernel
https://fosdem.org/2024/schedule/event/fosdem-2024-2209-streamlining-kernel-hacking-with-mkosi-kernel/ -
A re-introduction to mkosi -- A Tool for Generating OS Images https://0pointer.net/blog/a-re-introduction-to-mkosi-a-tool-for-generating-os-images.html