From: Geert U. <ge...@li...> - 2000-07-29 13:31:41
|
On Fri, 28 Jul 2000, Michel [iso-8859-1] Dänzer wrote: > Geert Uytterhoeven wrote: > > Is it a real lock up, or a panic (probably with NULL pointer dereference or > > bad address access. > > I've only tried it from a remote machine yet - will try at the console. Probably there's an interesting message on your console. > > /proc/iomem works on both my m68k Amiga and my PPC CHRP box. > > I thought it might be related to the fact that we don't have an iobase, but I > guess then it shouldn't work on your m68k box either... So /proc/ioports is empty, but /proc/iomem is full (remember, all I/O on m68k and PPC is memory mapped). > > Can you add debugging code in kernel/resource.c:do_resource_list(), so we > > know where it happens? If /proc/iomem doesn't work, changes are high that > > your box will crash also when some driver wants to use the resource tree. > > That would be pretty bad - which Amiga drivers would want to use it? Lot's of drivers. I converted almost all of them (including all drivers for Zorro boards) and the rest is just waiting here to be tested. Look for request_mem_region(). 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 |