public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
From: "Mohan Kumar M." <MohanKumarM@AmiIndia.co.in>
To: linux-scsi@vger.kernel.org
Subject: Re: Driver Problem
Date: Thu, 17 Jul 2003 15:54:01 +0530	[thread overview]
Message-ID: <00c701c34c4d$8e0a0540$5b00000a@RiseOfMachine> (raw)
In-Reply-To: 005e01c34c40$20383bc0$5b00000a@RiseOfMachine

The problem I am facing in the driver is:

When I give
   dd if=/dev/zero of=/dev/sda bs=1024 count=100
It works, if I give
   dd if=/dev/zero of=/dev/sda bs=1024 count=1000 (Samething works in Kernel
2.4.18-3)
System crashes.

I am not using interrupt handler and scatter gather lists.

Here is my driver_template structure:

#define MY_SCSI \
{ \
 name: DRVR_NAME, \
 proc_info: myscsi_proc_info,\
 bios_param:myscsi_bios_param,\
 detect:myscsi_detect, \
 info:myscsi_info,\
 release:myscsi_release,\
 command:myscsi_command,\
 queuecommand:myscsi_queuecommand,\
 can_queue:0, \
 this_id:7,\
 cmd_per_lun:1,\
 sg_tablesize:SG_NONE, \
 unchecked_isa_dma:0,\
 highmem_io:1, \
}

          =-=
Thanks n Regards,
        Mohan.
          =-=
----- Original Message -----
From: "Mohan Kumar M." <MohanKumarM@AmiIndia.co.in>
To: <linux-scsi@vger.kernel.org>
Sent: Thursday, July 17, 2003 2:17 PM
Subject: Driver Problem

> Hi all,
> I have written a low level scsi driver for our scsi/raid controller.
>
> The driver is working fine in Kernel v.2.4.18-3, but its not working in
> Kernel v.2.4.19 onwards! (System crashes!!!!!)
>
> I am not using interrupts, SG Lists.
>
> Is SCSI subsystem has been changed from 2.4.18 to 2.4.19??
>
> Can anyone help me to solve this problem?



      reply	other threads:[~2003-07-17 10:04 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-17  8:47 Driver Problem Mohan Kumar M.
2003-07-17 10:24 ` Mohan Kumar M. [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='00c701c34c4d$8e0a0540$5b00000a@RiseOfMachine' \
    --to=mohankumarm@amiindia.co.in \
    --cc=linux-scsi@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox