On Wed, Oct 03, 2001 at 05:15:37PM -0700, Nico Stuurman wrote: > I am trying to use the Fasttrack 100 Tx card together with SGIs xfs > filesystem. I installed their kernel rpm (spm) and kernel srpm and > rebooted with that kernel. After changing GFP_NOIO into GFP_BUFFER it > comiled. However, insmod ataraid.o fails with: > unresolved symbol del_gendisk and add_gendisk. those are from newer kernels; add the following to ataraid.h (at the bottom or so) and it should work: static inline void add_gendisk(struct gendisk *gp) { gp->next = gendisk_head; gendisk_head = gp; } static inline void del_gendisk(struct gendisk *gp) { struct gendisk **gpp; for (gpp = &gendisk_head; *gpp; gpp = &((*gpp)->next)) if (*gpp == gp) break; if (*gpp) *gpp = (*gpp)->next; }