On Fri, Feb 08, 2013 at 06:56:08PM +0100, Christian Groessler wrote: > Hi, > > I've tried to make a kernel config which only includes what I need. It's > attached. > > The resulting kernel crashes in vga_pci_attach() when it writes to > do_real_mode_post. > do_real_mode_post is in the text section, so should be readonly, > therefore the crash makes sense. > > But when I build GENERIC the crash doesn't happen, do_real_mode_post > still in text section. > How does this work? > > And, what is wrong with my config? In the meanwhile I'm avoiding the > crash by patching > vga_pci.c. The machine won't got to sleep (it's a server), so it's ok > for now. >
Kernels other than GENERIC/GENERIC.MP and RAMDISK aren't supported by devs. That being said, we should probably clean up the do_real_mode_post business at some point. I think it's outlived its usefulness. -ml

