[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#281434: Cannot use PCMCIA New Media Bus Toaster SCSI adapter



Package: kernel-image-2.6.8-powerpc
Version: 2.6.8-6
Severity: normal
Tags: patch

I cannot use that card in any 2.6.8 kernel since the driver oops when
the card is inserted. I contacted the linux driver author and he found
the problem and provided a patch that I did tested, even on 2.6.9. Here
it is.

I think that this patch is required even on other architectures.

Thanks,
Giuseppe

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: powerpc (ppc)
Kernel: Linux 2.6.9-gs
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8

Versions of packages kernel-image-2.6.8-powerpc depends on:
ii  initrd-tools                  0.1.74     tools to create initrd
image for p
ii  module-init-tools             3.1-pre6-1 tools for managing Linux
kernel mo

-- no debconf information

--- linux/drivers/scsi/pcmcia/sym53c500_cs.c.orig	Wed Jul  7 07:24:21 2004
+++ linux/drivers/scsi/pcmcia/sym53c500_cs.c	Wed Oct 27 22:21:20 2004
@@ -85,7 +85,7 @@
 module_param(pc_debug, int, 0);
 #define DEBUG(n, args...) if (pc_debug>(n)) printk(KERN_DEBUG args)
 static char *version =
-"sym53c500_cs.c 0.9b 2004/05/10 (Bob Tracy)";
+"sym53c500_cs.c 0.9c 2004/10/27 (Bob Tracy)";
 #else
 #define DEBUG(n, args...)
 #endif
@@ -95,7 +95,7 @@
 /* Parameters that can be set with 'insmod' */
 
 /* Bit map of interrupts to choose from */
-static unsigned int irq_mask = 0xdeb8;	/* 3, 6, 7, 9-12, 14, 15 */
+static unsigned int irq_mask = 0xdeb8;	/* 3-5, 7, 9-12, 14, 15 */
 static int irq_list[4] = { -1 };
 static int num_irqs = 1;
 
@@ -830,7 +830,7 @@
 	data = (struct sym53c500_data *)host->hostdata;
 
 	if (irq_level > 0) {
-		if (request_irq(irq_level, SYM53C500_intr, 0, "SYM53C500", host)) {
+		if (request_irq(irq_level, SYM53C500_intr, SA_SHIRQ, "SYM53C500", host)) {
 			printk("SYM53C500: unable to allocate IRQ %d\n", irq_level);
 			goto err_free_scsi;
 		}

Reply to: