lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Tue, 22 Jan 2008 19:50:37 +0200
From:	"Filippos Papadopoulos" <psybases@...il.com>
To:	"Alan Cox" <alan@...rguk.ukuu.org.uk>
Cc:	"James Bottomley" <James.Bottomley@...senpartnership.com>,
	"FUJITA Tomonori" <fujita.tomonori@....ntt.co.jp>,
	linux-scsi@...r.kernel.org, cebbert@...hat.com,
	bharrosh@...asas.com, akpm@...ux-foundation.org,
	linux-kernel@...r.kernel.org
Subject: Re: INITIO scsi driver fails to work properly

I get the following:
SAH
SSH
SCB Q
SCB EXEC
SCB EXEC DONE

After ~3 secs the system freezes.




On Jan 22, 2008 12:20 AM, Alan Cox <alan@...rguk.ukuu.org.uk> wrote:
> Ok my attempt to get the card failed so we are going to have to do this
> the hard way. See where this patch crashes and what it prints
>
> (On top of the other patches)
>
> diff -u --new-file --recursive --exclude-from /usr/src/exclude linux.vanilla-2.6.24-rc8-mm1/drivers/scsi/initio.c linux-2.6.24-rc8-mm1/drivers/scsi/initio.c
> --- linux.vanilla-2.6.24-rc8-mm1/drivers/scsi/initio.c  2008-01-19 14:22:43.000000000 +0000
> +++ linux-2.6.24-rc8-mm1/drivers/scsi/initio.c  2008-01-21 14:54:48.000000000 +0000
> @@ -2537,10 +2537,12 @@
>         struct Scsi_Host *dev = dev_id;
>         unsigned long flags;
>         int r;
> -
> +
> +       printk("ISR\n");
>         spin_lock_irqsave(dev->host_lock, flags);
>         r = initio_isr((struct initio_host *)dev->hostdata);
>         spin_unlock_irqrestore(dev->host_lock, flags);
> +       printk("ISR DONE %d\n", r);
>         if (r)
>                 return IRQ_HANDLED;
>         else
> @@ -2643,6 +2645,7 @@
>         struct initio_host *host = (struct initio_host *) cmd->device->host->hostdata;
>         struct scsi_ctrl_blk *cmnd;
>
> +       printk("SCB QUEUE\n");
>         cmd->scsi_done = done;
>
>         cmnd = initio_alloc_scb(host);
> @@ -2650,7 +2653,9 @@
>                 return SCSI_MLQUEUE_HOST_BUSY;
>
>         initio_build_scb(host, cmnd, cmd);
> +       printk("SCB EXEC\n");
>         initio_exec_scb(host, cmnd);
> +       printk("SCB EXEC DONE\n");
>         return 0;
>  }
>
> @@ -2766,6 +2771,8 @@
>         struct scsi_cmnd *cmnd; /* Pointer to SCSI request block */
>         struct initio_host *host;
>         struct scsi_ctrl_blk *cblk;
> +
> +       printk("SCB POST\n");
>
>         host = (struct initio_host *) host_mem;
>         cblk = (struct scsi_ctrl_blk *) cblk_mem;
> @@ -2934,9 +2941,11 @@
>
>         pci_set_drvdata(pdev, shost);
>
> +       printk("SAH\n");
>         error = scsi_add_host(shost, &pdev->dev);
>         if (error)
>                 goto out_free_irq;
> +       printk("SSH\n");
>         scsi_scan_host(shost);
>         return 0;
>  out_free_irq:
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ