When optimizing the kernel (vaniilla-sources) with GCC option "-O2" or "-O3" you get a kernel panic, that means after a scsi timeout the kernel stops to load. To prevent this problem you must patch the kernel source (tested only with vanilla-source) You must add: CFLAGS_ide-scsi.o = -O1 -fomit-frame-pointer into /usr/src/linux/drivers/scsi/Makefile this is because of a bug in GCC 3.3.1 and 3.3.2; no problems with GCC 3.3.
can this patch make it into the vanilla-sources ebuild probably? thanks, Alex
similar problem with 2.4.22-gentoo-r7 and gcc-Version 3.3.2 20031218, but with ide-scsi as a module. "modprobe ide-scsi" works but no device is usable. With "CFLAGS_ide-scsi.o = -O1" added to x/drivers/scsi/Makefile, there is no problem anymore.
I believe ide-scsi is unmaintained in the kernel, only so far as to make sure it compiles. I believe it's slated for removal in 2.7. If you need it to burn CDs/DVDs, consider switching to using cdrecord's (or equivalent program's) ATAPI support, as it's the poreferred way. Even Linus wants to see ide-scsi go to that bit bucket in the sky.
It is slated for removal in 2.7 along with a few other things. I believe that the 2.4 kernels can do ATAPI burning now as well. If I'm wrong, please correct me.
As far as I know IDE Atapi burning was backported from the kernel 2.6 series into 2.4 series. Furthermore, I'd read that ide-scsi support would be removed in 2.7/2.8, too.
For this to be solved upstream, this bug should really go to the upstream kernel developers at http://bugme.osdl.org who maintain the core vanilla sources. Could you please file a bug there instead? Thanks!