From: Geert U. <ge...@li...> - 2000-09-14 17:02:02
|
On Thu, 14 Sep 2000, Roman Zippel wrote: > I know now why debug=mem wasn't working. It calls amiga_chip_alloc(), > which calls request_mem_region(), what doesn't work yet at that time yet. > I had the same problem for amiga_init_sound(), that I could easily delay, > but for debugging output we need that memory as early as possible. > Right now I simply don't call request_mem_region() when mem_init_done > isn't true yet, but somehow I don't like this. Anyone any better idea? > Anyway, debug=mem is now usable again... So on APUS that doesn't work? On m68k (I have to admit using an older kernel) the request_mem_region() just fails. Usually the solution is to provide your own struct resource and call request_resource(&iomem_resource, &my_resource) for `early' resource management. I'll try to cook an (untested) patch... Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@li... In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds |