NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/55958: pciback.hide parsing error



Adjusting the size of the static buffer path to 256 bytes had yielded
a positive outcome.  Adjusted /boot program had yielded a successful
boot on a system with BIOS firmware, and arguments to pciback were
interpreted correctly by the kernel subsequently.

---8<---
[     1.000003] pciback_pci_init: hide claim device 8:0:0
[     1.000003] pciback_pci_init: hide claim device 1:0:1
[     1.000003] pciback_pci_init: hide claim device 1:0:0
---8<---

The corresponding patch is:

---8<---

diff --git a/sys/arch/x86/include/bootinfo.h b/sys/arch/x86/include/bootinfo.h
index 9d0ee542d892..6b3d967e1a7e 100644
--- a/sys/arch/x86/include/bootinfo.h
+++ b/sys/arch/x86/include/bootinfo.h
@@ -178,7 +178,7 @@ struct btinfo_biosgeom {
 };

 struct bi_modulelist_entry {
-       char path[80];
+       char path[256];
        int type;
        int len;
        uint32_t base;

---8<---



Home | Main Index | Thread Index | Old Index