Skip to contentSkip to conversation

aic7xxx oops with 2.4.5-ac13

DISCUSSION Trevor Hemsley 3 participants 3 messages Jun 21, 2001 – Jun 22, 2001

Subsystems (2)
lore
Share & tools
lore
#0 lore raw
Quoted 2 lines · Jeff V. Merkey

Ditto. I am also seeing this oops calling the sg driver for a robotic tape library, and it also seems to happen on 2.4.4.

In my case it appears that it was the symptom of severe bus problems. About 5 minutes after I posted the initial report I discovered that the cable from the back of the Nikon to the MO drive had fallen off so the bus was running unterminated. Replugging it fixed teh bus error and the oops.

Looks like error handling is all fscked up...

Signature · 2 lines
Trevor Hemsley, Brighton, UK.
[email protected]
#1 lore raw

Hello,

At Thu, 21 Jun 2001 08:15:10,

Quoted 7 lines · Trevor Hemsley
Quoted 2 lines · Jeff V. Merkey

Ditto. I am also seeing this oops calling the sg driver for a robotic tape library, and it also seems to happen on 2.4.4.

Quoted 8 lines

In my case it appears that it was the symptom of severe bus problems. About 5 minutes after I posted the initial report I discovered that the cable from the back of the Nikon to the MO drive had fallen off so the bus was running unterminated. Replugging it fixed teh bus error and the oops.

Looks like error handling is all fscked up...

I saw this oops too. The following patch is working for me, but I don't
know this is a correct fix.

drivers/scsi/aic7xxx/aic7xxx_linux.c +3 -1
diff -r -N -u linux.org/drivers/scsi/aic7xxx/aic7xxx_linux.c linux/drivers/scsi/aic7xxx/aic7xxx_linux.c
@@ -1872,7 +1872,9 @@
 		break;
         case AC_BUS_RESET:
 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,3,0)
-		scsi_report_bus_reset(ahc->platform_data->host, channel - 'A');
+		if (ahc->platform_data->host) {
+			scsi_report_bus_reset(ahc->platform_data->host, channel - 'A');
+		}
 #endif
                 break;
         default:
#2 lore raw
In reply to Trevor Hemsley

On Thu, Jun 21, 2001 at 05:08:24PM +0900, Tachino Nobuhiro wrote:

Thanks,

I'll try this patch.

Jeff

Quoted 44 lines

Hello,

At Thu, 21 Jun 2001 08:15:10,

Quoted 7 lines · Trevor Hemsley
Quoted 2 lines · Jeff V. Merkey

Ditto. I am also seeing this oops calling the sg driver for a robotic tape library, and it also seems to happen on 2.4.4.

Quoted 8 lines

In my case it appears that it was the symptom of severe bus problems. About 5 minutes after I posted the initial report I discovered that the cable from the back of the Nikon to the MO drive had fallen off so the bus was running unterminated. Replugging it fixed teh bus error and the oops.

Looks like error handling is all fscked up...

I saw this oops too. The following patch is working for me, but I don't
know this is a correct fix.

diff -r -N -u linux.org/drivers/scsi/aic7xxx/aic7xxx_linux.c linux/drivers/scsi/aic7xxx/aic7xxx_linux.c

drivers/scsi/aic7xxx/aic7xxx_linux.c +3 -2
@@ -1872,7 +1872,9 @@
 		break;
         case AC_BUS_RESET:
 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,3,0)
-		scsi_report_bus_reset(ahc->platform_data->host, channel - 'A');
+		if (ahc->platform_data->host) {
+			scsi_report_bus_reset(ahc->platform_data->host, channel - 'A');
+		}
 #endif
                 break;
         default:
-

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/