(switched to email. Please respond via emailed reply-to-all, not via the bugzilla web interface). On Tue, 21 Oct 2008 11:36:12 -0700 (PDT) bugme-daemon@xxxxxxxxxxxxxxxxxxx wrote: > http://bugzilla.kernel.org/show_bug.cgi?id=11800 > > Summary: building SES support fails w/ gcc-3.4.5 > Product: SCSI Drivers > Version: 2.5 > KernelVersion: 2.6.27.1 > Platform: All > OS/Version: Linux > Tree: Mainline > Status: NEW > Severity: normal > Priority: P1 > Component: Other > AssignedTo: scsi_drivers-other@xxxxxxxxxxxxxxxxxxxx > ReportedBy: bugzilla.kernel.org@xxxxxxxx > > > [beej@dell ~]$ cat /etc/redhat-release > CentOS release 4.3 (Final) > [beej@dell ~]$ rpm -qf `which gcc` > gcc-3.4.5-2 > [beej@dell linux-2.6.27.1]$ diff .config .config.old > 4c4 > < # Tue Oct 21 14:07:00 2008 > --- > > # Thu Oct 16 17:54:42 2008 > 1006c1006 > < # CONFIG_SCSI_ENCLOSURE is not set > --- > > CONFIG_SCSI_ENCLOSURE=m > > using .config.old, > [beej@dell linux-2.6.27.1]$ make > <snip> > Kernel: arch/x86/boot/bzImage is ready (#2) > Building modules, stage 2. > MODPOST 668 modules > ERROR: "__you_cannot_kmalloc_that_much" [drivers/scsi/ses.ko] undefined! > make[1]: *** [__modpost] Error 1 > make: *** [modules] Error 2 > That's weird. It means that we did a kmalloc(N, ...) where the value of N is known at compile time, and N is too large. But I can find no such kmalloc/kzalloc calls in ses.c. It might be gcc bustage - we've seen that before. Please do make drivers/scsi/ses.s then have a look in drivers/scsi/ses.s and see which function is emitting a call to __you_cannot_kmalloc_that_much. Or email me drivers/scsi/ses.s and I'll take a look. Thanks. -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html