Package: linux-image-2.6.18-3-686 Version: 2.6.18-7 Tags: upstream,patch Severity: important
Hello, there is a bug in the gdth driver causing crashes and potential data losses when using tape. The bug is also described and confirmed on the lklm on 13 Oct 2006 Message-ID: <[EMAIL PROTECTED]> The included patch is derived directly from that mail. Please consider including it until it has made it upstream, as it endangers machines doing tape backups. Bye, Joerg --- gdth.c.orig 2007-02-23 12:48:56.000000000 +0100 +++ gdth.c 2007-02-23 12:51:44.000000000 +0100 @@ -3092,6 +3092,7 @@ cmdp->u.raw64.direction = gdth_direction_tab[scp->cmnd[0]]==DOU ? GDTH_DATA_OUT:GDTH_DATA_IN; memcpy(cmdp->u.raw64.cmd,scp->cmnd,16); + cmdp->u.raw64.sg_ranz = 0; } else { cmdp->u.raw.reserved = 0; cmdp->u.raw.mdisc_time = 0; @@ -3108,6 +3109,7 @@ cmdp->u.raw.direction = gdth_direction_tab[scp->cmnd[0]]==DOU ? GDTH_DATA_OUT:GDTH_DATA_IN; memcpy(cmdp->u.raw.cmd,scp->cmnd,12); + cmdp->u.raw.sg_ranz = 0; } if (scp->use_sg) { -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]