tech-kern archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: PCIVERBOSE causing kernel stack overflow during boot - why?
On October 25, 2016 1:02:35 AM EDT, Paul Goyette <paul%whooppee.com@localhost> wrote:
>OK, here's the problem...
>
>The device in question is Intel product code 6fa8 which has a product
>name of (deliberately line-split to facilitate character counting)
>
> "Core i7-6xxxK/Xeon-D Memory Cont"
> "roller (Target Address, Thermal,"
> " RAS)"
>
>That's a total of 65 characters plus trailing '\0'.
>
>Unfortunately pci/pci_verbose.h defines PCI_PRODUCTSTR_LEN to 64 (which
>
>would include the trailing '\0' as well as the space after the final
>word - this final space is removed in dev_untokenstring()), so this
>device's name is too long.
Sound like the processing of the pcidevs file needs some validation too, probably in devlist2h.awk
Eric
Home |
Main Index |
Thread Index |
Old Index