All of lore.kernel.org
 help / color / mirror / Atom feed
From: Masao Fukuchi <fukuchi.masao@jp.fujitsu.com>
To: "Moore, Eric Dean" <Emoore@lsil.com>
Cc: Christoph Hellwig <hch@lst.de>, linux-scsi@vger.kernel.org
Subject: Re: [PATCH] fix dma mapping leak in fusion
Date: Mon, 23 Aug 2004 10:41:33 +0900	[thread overview]
Message-ID: <200408230141.AA03503@fukuchi.jp.fujitsu.com> (raw)
In-Reply-To: <0E3FA95632D6D047BA649F95DAB60E5704DE6A9E@exa-atlanta>

[-- Attachment #1: Type: text/plain, Size: 4026 bytes --]

Hi Eric,

I took a message according to your request.
Please look at the message and comment me.

Masao Fukuchi

Moore, Eric Dean wrote:
>Would it be possible for you to set up remote system 
>to send kernel messages over serial cable?
>Is so, pls recompile the driver with MPT_DEBUG_TM defined in
>the mpt device driver Makefile; then send me log file.
>
>Thanks,
>Eric
>
>On Thursday, August 19, 2004 9:05 PM, Masao Fukuchi wrote:
>> 
>> 
>> Eric,
>> 
>> I applyed your patch and tested it, but the patch didn't work well.
>> I didn't met Oops. 
>> But after read command finishing with fail, keyboard and mouse click 
>> didn't work.
>> And also I couldn't login from other server.
>> 
>> The message was almost same as Fusion MPT driver 3.01.15.
>> 
>> Masao Fukuchi
>> 
>> Moore, Eric Dean wrote:
>> >Here is a patch to apply against 3.01.15. It will have a small
>> >fix in mptscsih_abort which should work with Christoph's suggestion
>> >of removing the "is the device is offline" check in 
>> >mptscsih_flush_running_cmds.  Pls test and let me know if you still 
>> >hit the oops.
>> >
>> >Eric
>> >
>> >
>> >On Thursday, August 19, 2004 7:15 AM, Masao Fukuchi wrote:
>> >> 
>> >> I tried fusion MPT driver 3.01.15 and I didn't met Oops.
>> >> (Eric fixed Oops problem by Fusion MPT driver 3.01.04)
>> >> 
>> >> Masao Fukuchi
>> >> 
>> >> Message:
>> >>  18:19:01 kernel: mptscsih: ioc3: >> Attempting task abort! 
>> >> (sc=e00000007c205080)
>> >>  18:19:01 kernel: mptscsih: ioc3: >> Attempting target reset! 
>> >> (sc=e00000007c205080)
>> >>  18:19:01 kernel: mptscsih: ioc3: >> Attempting bus reset! 
>> >> (sc=e00000007c205080)
>> >>  18:19:03 kernel: mptbase: Initiating ioc3 recovery
>> >>  18:19:28 kernel: mptscsih: ioc3: >> Attempting task abort! 
>> >> (sc=e00000007c205080)
>> >>  18:19:28 kernel: mptscsih: ioc3: >> Attempting host reset! 
>> >> (sc=e00000007c205080)
>> >>  18:19:28 kernel: mptbase: Initiating ioc3 recovery
>> >>  18:19:52 kernel: mptscsih: ioc3: >> Attempting task abort! 
>> >> (sc=e00000007c205080)
>> >>  18:19:52 kernel: scsi: Device offlined - not ready after 
>> >> error recovery: host 3 channel 0 id 1 lun 0
>> >>  18:19:52 kernel: scsi3 (1:0): rejecting I/O to offline device
>> >>  18:19:52 kernel: Buffer I/O error on device sdb, logical block 0
>> >>  18:19:52 kernel: Buffer I/O error on device sdb, logical block 1
>> >>  18:19:52 kernel: Buffer I/O error on device sdb, logical block 2
>> >>  18:19:52 kernel: Buffer I/O error on device sdb, logical block 3
>> >>  18:19:52 kernel: Buffer I/O error on device sdb, logical block 4
>> >>  18:19:52 kernel: Buffer I/O error on device sdb, logical block 5
>> >>  18:19:52 kernel: Buffer I/O error on device sdb, logical block 6
>> >>  18:19:52 kernel: Buffer I/O error on device sdb, logical block 7
>> >>  18:19:52 kernel: scsi3 (1:0): rejecting I/O to offline device
>> >>  18:19:52 kernel: Buffer I/O error on device sdb, logical block 0
>> >>  18:19:52 kernel: Buffer I/O error on device sdb, logical block 1
>> >>  18:19:54 kernel: mptbase: Initiating ioc3 recovery
>> >> 
>> >> 
>> >> Christoph Hellwig wrote:
>> >> >On Thu, Aug 19, 2004 at 12:01:11PM +0900, Masao Fukuchi wrote:
>> >> >> Hi Christoph,
>> >> >> 
>> >> >> I applyed attached patch into latest fusion MPT 
>> driver(3.01.15) and
>> >> >> tested it, but I still met Oops.
>> >> >> Then I also applyed your latest patch(it gets rid of the 
>> >> fusion pendingQ
>> >> >> in favour of using the scsi midlayer queuing), but I met 
>> >> Oops again.
>> >> >
>> >> >Can you try the patch Eric posted instead?
>> >> >
>> >> >-
>> >> >To unsubscribe from this list: send the line "unsubscribe 
>> >> linux-scsi" in
>> >> >the body of a message to majordomo@vger.kernel.org
>> >> >More majordomo info at  http://vger.kernel.org/majordomo-info.html
>> >> 
>> >
>> 
>-
>To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
>the body of a message to majordomo@vger.kernel.org
>More majordomo info at  http://vger.kernel.org/majordomo-info.html

[-- Attachment #2: tmo_oops --]
[-- Type: application/octet-stream, Size: 7004 bytes --]

mptscsih: ioc3: >> Attempting task abort! (sc=e00000007c1a6880)
TM_REQUEST:
01000001 00000100 000d0062 00000000 00000000 00000000 00000000 00000000 
00000000 00000000 00000000 00000000 
mptscsih: ioc3: mptscsih_taskmgmt_timeout: TM request timed out!
mptscsih: IOC setup_reset routed to SCSI host driver!
mptscsih: ioc3: WARNING - Setup-Diag Reset
mptscsih: IOC setup_reset routed to SCSI host driver!
mptscsih: ioc2: WARNING - Setup-Diag Reset
mptscsih: IOC pre_reset routed to SCSI host driver!
mptscsih: ioc3: WARNING - Pre-Diag Reset
mptscsih: ioc3: WARNING - Pre-Reset complete.
mptscsih: IOC pre_reset routed to SCSI host driver!
mptscsih: ioc2: WARNING - Pre-Diag Reset
mptscsih: ioc2: WARNING - Pre-Reset complete.
mptscsih: ioc3: >> Attempting bus reset! (sc=e00000007c1a6880)
mptscsih: IOC post_reset routed to SCSI host driver!
mptscsih: ioc3: WARNING - Post-Diag Reset
mptscsih: ioc3: WARNING - Post-Reset complete.
mptscsih: IOC post_reset routed to SCSI host driver!
mptscsih: ioc2: WARNING - Post-Diag Reset
mptscsih: ioc2: WARNING - Post-Reset complete.
mptscsih: ioc3: mptscsih_taskmgmt_timeout
mptscsih: ioc3: >> Attempting task abort! (sc=e00000007c1a6880)
TM_REQUEST:
01000001 00000100 000d0077 00000000 00000000 00000000 00000000 00000000 
00000000 00000000 00000000 00000000 
mptscsih: ioc3: >> Attempting host reset! (sc=e00000007c1a6880)
mptscsih: IOC setup_reset routed to SCSI host driver!
mptscsih: ioc3: WARNING - Setup-Diag Reset
mptscsih: IOC setup_reset routed to SCSI host driver!
mptscsih: ioc2: WARNING - Setup-Diag Reset
mptscsih: IOC pre_reset routed to SCSI host driver!
mptscsih: ioc3: WARNING - Pre-Diag Reset
mptscsih: ioc3: WARNING - Pre-Reset complete.
mptscsih: IOC pre_reset routed to SCSI host driver!
mptscsih: ioc2: WARNING - Pre-Diag Reset
mptscsih: ioc2: WARNING - Pre-Reset complete.
mptscsih: IOC post_reset routed to SCSI host driver!
mptscsih: ioc3: WARNING - Post-Diag Reset
mptscsih: ioc3: WARNING - Post-Reset complete.
mptscsih: IOC post_reset routed to SCSI host driver!
mptscsih: ioc2: WARNING - Post-Diag Reset
mptscsih: ioc2: WARNING - Post-Reset complete.
mptscsih: mptscsih_host_reset: Status = SUCCESS
mptscsih: ioc3: >> Attempting task abort! (sc=e00000007c1a6880)
TM_REQUEST:
01000001 00000100 000d008b 00000000 00000000 00000000 00000000 00000000 
00000000 00000000 00000000 00000000 
scsi3 (1:0): rejecting I/O to offline device
Buffer I/O error on device sdb, logical block 0
Buffer I/O error on device sdb, logical block 1
Buffer I/O error on device sdb, logical block 2
Buffer I/O error on device sdb, logical block 3
Buffer I/O error on device sdb, logical block 4
Buffer I/O error on device sdb, logical block 5
Buffer I/O error on device sdb, logical block 6
Buffer I/O error on device sdb, logical block 7
scsi3 (1:0): rejecting I/O to offline device
Buffer I/O error on device sdb, logical block 0
Buffer I/O error on device sdb, logical block 1
mptscsih: ioc3: mptscsih_taskmgmt_timeout: TM request timed out!
mptscsih: IOC setup_reset routed to SCSI host driver!
mptscsih: ioc3: WARNING - Setup-Diag Reset
mptscsih: IOC setup_reset routed to SCSI host driver!
mptscsih: ioc2: WARNING - Setup-Diag Reset
mptscsih: IOC pre_reset routed to SCSI host driver!
mptscsih: ioc3: WARNING - Pre-Diag Reset
Unable to handle kernel NULL pointer dereference (address 0000000000000000)
events/0[4]: Oops 8813272891392 [1]
Modules linked in: ide_cd cdrom md5 ipv6 button autofs ohci1394 ieee1394 e1000 n
ls_iso8859_1 nls_cp437 vfat fat mptscsih mptbase sd_mod scsi_mod

Pid: 4, CPU 0, comm:             events/0
psr : 0000101008026018 ifs : 800000000000050e ip  : [<a00000010023aca0>]    Tain
ted: GF 
ip is at swiotlb_unmap_sg+0xa0/0x220
unat: 0000000000000000 pfs : 0000000000000814 rsc : 0000000000000003
rnat: e00000007f947d60 bsps: e00000007f940000 pr  : 00000000056aaa55
ldrs: 0000000000000000 ccv : 0000000000000000 fpsr: 0009804c8a70433f
csd : 0000000000000000 ssd : 0000000000000000
b0  : a0000002000bd790 b6  : a000000100238d00 b7  : a00000010023ac00
f6  : 1003e0000000000000088 f7  : 0ffe8bb4ee9e400000000
f8  : 1003e0000000000003300 f9  : 1003e0000000000000060
f10 : 1003e000000000ea00000 f11 : 1003e00000000367b7ad0
r1  : a0000001009d7e20 r2  : e00000007f947da0 r3  : a0000002000d0900
r8  : 0000000000000088 r9  : a0000001008038c0 r10 : 6db6db6db6db6db7
r11 : e00000007c142000 r12 : e00000007f947d90 r13 : e00000007f940000
r14 : a0007fffff900000 r15 : 0000000000003300 r16 : a0000001007eff08
r17 : 0000000000000010 r18 : e00000007c1a6958 r19 : a00000010023ac00
r20 : a0000001006592d8 r21 : 0000000000000000 r22 : e00000007f768e94
r23 : 0000000000000000 r24 : a0000001007f25e8 r25 : 0000001008022018
r26 : 0000000000000001 r27 : 0000000000000000 r28 : a000000100086c30
r29 : a000000100241760 r30 : 0000000000000000 r31 : e0000000010045b8

Call Trace:
 [<a000000100019ba0>] show_stack+0x80/0xa0
                                sp=e00000007f947960 bsp=e00000007f941410
 [<a00000010003fed0>] die+0x1d0/0x280
                                sp=e00000007f947b30 bsp=e00000007f9413e0
 [<a00000010005f260>] ia64_do_page_fault+0x380/0x980
                                sp=e00000007f947b30 bsp=e00000007f941380
 [<a000000100012340>] ia64_leave_kernel+0x0/0x260
                                sp=e00000007f947bc0 bsp=e00000007f941380
 [<a00000010023aca0>] swiotlb_unmap_sg+0xa0/0x220
                                sp=e00000007f947d90 bsp=e00000007f941310
 [<a0000002000bd790>] mptscsih_flush_running_cmds+0x170/0x320 [mptscsih]
                                sp=e00000007f947da0 bsp=e00000007f941290
 [<a0000002000c2ac0>] mptscsih_ioc_reset+0x120/0x560 [mptscsih]
                                sp=e00000007f947da0 bsp=e00000007f941250
 [<a0000002000a42e0>] mpt_diag_reset+0xd20/0xe00 [mptbase]
                                sp=e00000007f947da0 bsp=e00000007f9411b0
 [<a0000002000a3220>] KickStart+0x60/0x400 [mptbase]
                                sp=e00000007f947da0 bsp=e00000007f941148
 [<a0000002000a1020>] MakeIocReady+0x1a0/0x660 [mptbase]
                                sp=e00000007f947da0 bsp=e00000007f9410c8
 [<a00000020009f860>] mpt_do_ioc_recovery+0x140/0xbc0 [mptbase]
                                sp=e00000007f947db0 bsp=e00000007f941050
 [<a0000002000aa9a0>] mpt_HardResetHandler+0x260/0x4a0 [mptbase]
                                sp=e00000007f947db0 bsp=e00000007f940fe0
 [<a0000002000c4c90>] mptscsih_schedule_reset+0x30/0xe0 [mptscsih]
                                sp=e00000007f947db0 bsp=e00000007f940fc0
 [<a0000001000be650>] worker_thread+0x410/0x5e0
                                sp=e00000007f947db0 bsp=e00000007f940f28
 [<a0000001000c7b00>] kthread+0x180/0x1a0
                                sp=e00000007f947e20 bsp=e00000007f940ef8
 [<a00000010001bb00>] kernel_thread_helper+0xe0/0x100
                                sp=e00000007f947e30 bsp=e00000007f940ed0
 [<a000000100009080>] start_kernel_thread+0x20/0x40
                                sp=e00000007f947e30 bsp=e00000007f940ed0
 

  reply	other threads:[~2004-08-23  1:41 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-20 15:01 [PATCH] fix dma mapping leak in fusion Moore, Eric Dean
2004-08-23  1:41 ` Masao Fukuchi [this message]
  -- strict thread matches above, loose matches on Subject: below --
2004-08-31 14:42 Moore, Eric Dean
2004-08-30 22:29 Moore, Eric Dean
2004-08-31 12:56 ` Luben Tuikov
2004-08-31 13:14   ` Luben Tuikov
2004-08-23 15:56 Moore, Eric Dean
2004-08-28 19:02 ` Christoph Hellwig
2004-08-19 14:47 Moore, Eric Dean
2004-08-20  3:05 ` Masao Fukuchi
2004-08-17 16:42 Moore, Eric Dean
2004-08-17 16:46 ` Christoph Hellwig
2004-08-17 17:17   ` Christoph Hellwig
2004-08-17 18:18 ` Luben Tuikov
2004-08-17 16:16 Christoph Hellwig
2004-08-19  3:01 ` Masao Fukuchi
2004-08-19 10:14   ` Christoph Hellwig
2004-08-19 13:14     ` Masao Fukuchi

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=200408230141.AA03503@fukuchi.jp.fujitsu.com \
    --to=fukuchi.masao@jp.fujitsu.com \
    --cc=Emoore@lsil.com \
    --cc=hch@lst.de \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.