Hi Thomas, Il giorno lun, 17/03/2008 alle 00.36 +0100, Thomas Bogendoerfer ha scritto: > On Sun, Mar 16, 2008 at 09:27:37PM +0100, Giuseppe Sacco wrote: > > the gcc I am using in versione 4.1.2. Any help is really appreciated. > > 4.2.1 generates nearly the same (reasonable) code. The major difference > between the version with printk and the version without is the size > of the local stack. I guess this prevents killing of *cd. > Could you try the hack below and tell me, if it helps ? This hack > ensures, that the buffer given to the scsi driver is one cache > line big (at least on R5k O2s). If this helps, there are more > places to fix for non-coherent machines... [...] The patch you proposed, that use a larger buffer, does not seems to trigger the bug. Thanks, Giuseppe