system: Sun U2 2Gb DRAM 2x296MHz CPU gentoo 2004.0 stage3 kernel build failed when Qlogic ISP FC SCSI support is in: ld -m elf64_sparc -r -o scsidrv.o scsi_mod.o qlogicfc.o sym53c8xx_2/sym53c8xx_2.o esp.o qlogicpti.o st.o sd_mod.o sr_mod.o qlogicpti.o(.rodata+0x0): multiple definition of `mbox_param' qlogicfc.o(.rodata+0x0): first defined here ld: Warning: size of symbol `mbox_param' changed from 114 in qlogicfc.o to 67 in qlogicpti.o make[3]: *** [scsidrv.o] Error 1 make[3]: Leaving directory `/usr/src/linux-2.4.25-sparc/drivers/scsi' make[2]: *** [first_rule] Error 2 make[2]: Leaving directory `/usr/src/linux-2.4.25-sparc/drivers/scsi' make[1]: *** [_subdir_scsi] Error 2 make[1]: Leaving directory `/usr/src/linux-2.4.25-sparc/drivers' make: *** [_dir_drivers] Error 2
There is no need to send us your kernel .config ... we can read your mind and configure the kernel ourself to reproduce this... </sarcasm>
Created attachment 27835 [details] kernel config Not sure the sarcasm was called for. The flag that caused the failure was listed in the bug report. Anyways, FWIW here is the working config after removal of the Qlogic ISP FC flag.
Looking at your config you have PCI support enabled on a box which does not have a PCI bus. Therefore you are seeing drivers, such as the qlogicfc, which you should not be seeing for an Ultra2. Disable PCI and the option for that card should not even appear. However, saying that, you seem to have found a real bug. It appears that there is a namespace collision between the qlogicfc and qlogicpti drivers. Although rare it is possible for both of these cards to be present in one system, such as an Exx00 with both sbus and pci I/O boards.
Yeah, this one's been around for a while. I'm pretty sure that the person who discovered it last time informed the upstream maintainers. Maybe worth sending a reminder?
This was fixed in 2.6 and also in 2.4; see changeset 1.1302.36.1. 2.4.26-pre3 and newer should work for you.