Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 45464 - kernel build issue on U2 with qlogicfc on 2004.0
Summary: kernel build issue on U2 with qlogicfc on 2004.0
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: Sparc Linux
: Lowest minor (vote)
Assignee: Sparc Porters
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-22 19:46 UTC by Geordon Marchak
Modified: 2004-03-23 07:31 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
kernel config (kernel.config.u2,22.87 KB, text/plain)
2004-03-22 23:18 UTC, Geordon Marchak
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Geordon Marchak 2004-03-22 19:46:02 UTC
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
Comment 1 Sven Blumenstein (RETIRED) gentoo-dev 2004-03-22 22:55:31 UTC
There is no need to send us your kernel .config ... we can read your mind and configure the kernel ourself to reproduce this...
</sarcasm>
Comment 2 Geordon Marchak 2004-03-22 23:18:25 UTC
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.
Comment 3 Hardave Riar (RETIRED) gentoo-dev 2004-03-23 01:32:35 UTC
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.
Comment 4 Ciaran McCreesh 2004-03-23 04:32:08 UTC
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?
Comment 5 Keith M Wesolowski (RETIRED) gentoo-dev 2004-03-23 07:31:57 UTC
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.