Skip to contentSkip to conversation

Driver Problem

DISCUSSION Mohan Kumar M. 1 participant 2 messages Jul 17, 2003 SCSI

lore
Share & tools
lore
#0 lore raw

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?

          =-=
Thanks n Regards,
        Mohan.
          =-=
#1 lore raw

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." <[email protected]>
To: <[email protected]>
Sent: Thursday, July 17, 2003 2:17 PM
Subject: Driver Problem

Quoted 11 lines

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?