All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Caspar Smit" <c.smit@truebit.nl>
To: linux-scsi@vger.kernel.org
Subject: Re: [PATCH 6/7]MVSAS: Enhanced hot plug handling
Date: Thu, 17 Dec 2009 14:44:43 +0100 (CET)	[thread overview]
Message-ID: <26320.87.210.74.220.1261057483.squirrel@ketsers.dhs.org> (raw)

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



Hi Andy,

After apllying this patch (and 1-5) to the 2.6.32
vanilla kernel I still get lots and lots of kernel panics when
hotplugging a disk.

ps. And I posted a mvsas related bug that
causes an
instant kernel panic at boot when using 3 Marvell 6480
controllers in one machine. Any news on that?

 Kind regards,
 Caspar Smit
 
---

[  222.575814] BUG: unable
to handle kernel
NULL pointer dereference at 0000000000000118
[  222.575999] IP:
[<ffffffffa013beb1>]
mvs_int_port+0x1d3/0x4ef [mvsas]
[ 
222.576001] PGD
7f0ea067 PUD 0 
[  222.576001] Oops: 0000 [#1]
SMP 
[  222.576001] last sysfs file:
/sys/devices/platform/coretemp.3/temp1_input
[  222.576001]
CPU
3 
[  222.576001] Modules linked in: iscsi_trgt crc32c
nfsd
lockd nfs_acl auth_rpcgss sunrpc exportfs ib_iser rdma_cm ib_cm
iw_cm ib_sa ib_mad ib_core ib_addr iscsi_tcp libiscsi_tcp libiscsi
scsi_transport_iscsi bonding coretemp w83627hf w83793 hwmon_vid loop
netconsole configfs rng_core i5k_amb evdev snd_pcm snd_timer snd soundcore
snd_page_alloc i2c_i801 i2c_core pcspkr uhci_hcd ehci_hcd ioatdma
i5000_edac edac_core floppy parport_pc parport container button
processor shpchp pci_hotplug dm_mirror dm_region_hash dm_log dm_snapshot
dm_mod raid456 async_raid6_recov async_pq raid6_pq async_xor xor
async_memcpy async_tx raid10 md_mod thermal fan thermal_sys mvsas
libsas
scsi_transport_sas sata_mv e1000e igb dca ext3 jbd mbcache
sd_mod
crc_t10dif ata_piix libata scsi_mod
[  222.576001]
Pid: 0, comm:
swapper Not tainted 2.6.32 #1 X7DB8
[ 
222.576001] RIP:
0010:[<ffffffffa013beb1>] 
[<ffffffffa013beb1>]
mvs_int_port+0x1d3/0x4ef [mvsas]
[  222.576001] RSP:
0018:ffff880001983e58  EFLAGS:
00010246
[  222.576001] RAX:
0000000000000000 RBX:
0000000000000000 RCX: ffff88007f095e98
[ 
222.576001] RDX:
0000000000000873 RSI: ffffffffa0141ccd RDI:
ffffffffa0141fab
[  222.576001] RBP: ffff88007d840000 R08:
0000000000000000
R09: ffffffff810531c2
[  222.576001] R10:
0000000000000092
R11: 0000000000000400 R12: ffff88007d8408b8
[ 
222.576001]
R13: 0000000000000003 R14: 0000000000000001 R15:
0000000000000003
[  222.576001] FS:  0000000000000000(0000)
GS:ffff880001980000(0000) knlGS:0000000000000000
[ 
222.576001]
CS:  0010 DS: 0018 ES: 0018 CR0: 000000008005003b
[ 
222.576001] CR2: 0000000000000118 CR3: 000000007eba3000
CR4:
00000000000406e0
[  222.576001] DR0: 0000000000000000
DR1:
0000000000000000 DR2: 0000000000000000
[  222.576001]
DR3:
0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
[ 
222.576001] Process swapper (pid: 0, threadinfo
ffff88007f084000, task ffff88007f066780)
[  222.576001]
Stack:
[ 
222.576001]  ffffffff8105983c
0000000000000003 ffff88007d840000
0000000000000800
[ 
222.576001] <0> ffffc90001b20150
0000000000000001
0000000000000000 ffffffffa013e863
[ 
222.576001] <0>
ffff88007dcf2f18 ffff88007d840000 0000000000000001 ffff88007d840008
[  222.576001] Call Trace:
[ 
222.576001] 
<IRQ> 
[  222.576001] 
[<ffffffff8105983c>] ? run_timer_softirq+0x4c/0x268
[ 
222.576001]  [<ffffffffa013e863>] ?
mvs_int_full+0x42/0x88
[mvsas]
[  222.576001] 
[<ffffffffa013e8da>] ?
mvs_64xx_isr+0x31/0x40 [mvsas]
[  222.576001] 
[<ffffffffa013a0da>] ?
mvs_interrupt+0x61/0x78 [mvsas]
[ 
222.576001] 
[<ffffffff81092554>] ?
handle_IRQ_event+0x58/0x126
[ 
222.576001] 
[<ffffffff81093e26>] ?
handle_fasteoi_irq+0x7d/0xb5
[ 
222.576001] 
[<ffffffff81013817>] ? handle_irq+0x17/0x1d
[ 
222.576001]  [<ffffffff81012e71>] ?
do_IRQ+0x57/0xb6
[  222.576001]  [<ffffffff81011393>]
?
ret_from_intr+0x0/0x11
[  222.576001]  <EOI> 
[  222.576001]  [<ffffffff81017cdd>] ?
mwait_idle+0x72/0x7d
[  222.576001] 
[<ffffffff81017c8d>] ? mwait_idle+0x22/0x7d
[ 
222.576001]  [<ffffffff8100fdf3>] ? cpu_idle+0x59/0x91
[  222.576001] Code: a0 00 00 00 ba 73 08 00 00 48 c7 c6 cd 1c
14
a0 48 c7 c7 ab 1f 14 a0 44 8b 40 04 49 8b 84 24 b8 02 00 00 44 0f
af 85 40 24 00 00 <8b> 88 18 01 00 00 31 c0 47 8d 44 05 00 e8 fc 56
1b e1 41 83 e6 
[  222.576001] RIP 
[<ffffffffa013beb1>]
mvs_int_port+0x1d3/0x4ef [mvsas]
[  222.576001]  RSP
<ffff880001983e58>
[ 
222.576001] CR2: 0000000000000118
[  222.593420] ---[ end trace
f9b64cadb09cc87c ]---
[ 
222.593489] Kernel panic - not
syncing: Fatal exception in interrupt [  222.593561] Pid: 0, comm:
swapper Tainted:
G      D   
2.6.32 #1
[ 
222.593631] Call Trace:
[ 
222.593694]  <IRQ> 
[<ffffffff812f1504>] ?
panic+0x86/0x141
[ 
222.593820] 
[<ffffffff81011533>] ?
apic_timer_interrupt+0x13/0x20
[  222.593896] 
[<ffffffff810148e7>] ?
oops_end+0x64/0xb4
[ 
222.593968] 
[<ffffffff8101492a>] ? oops_end+0xa7/0xb4

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: mvsas-kernel-panic-on-hotplug.log --]
[-- Type: text/x-log; name="mvsas-kernel-panic-on-hotplug.log", Size: 4186 bytes --]

[  222.575814] BUG: unable to handle kernel NULL pointer dereference at 0000000000000118
[  222.575999] IP: [<ffffffffa013beb1>] mvs_int_port+0x1d3/0x4ef [mvsas]
[  222.576001] PGD 7f0ea067 PUD 0 
[  222.576001] Oops: 0000 [#1] SMP 
[  222.576001] last sysfs file: /sys/devices/platform/coretemp.3/temp1_input
[  222.576001] CPU 3 
[  222.576001] Modules linked in: iscsi_trgt crc32c nfsd lockd nfs_acl auth_rpcgss sunrpc exportfs ib_iser rdma_cm ib_cm iw_cm ib_sa ib_mad ib_core ib_addr iscsi_tcp libiscsi_tcp libiscsi scsi_transport_iscsi bonding coretemp w83627hf w83793 hwmon_vid loop netconsole configfs rng_core i5k_amb evdev snd_pcm snd_timer snd soundcore snd_page_alloc i2c_i801 i2c_core pcspkr uhci_hcd ehci_hcd ioatdma i5000_edac edac_core floppy parport_pc parport container button processor shpchp pci_hotplug dm_mirror dm_region_hash dm_log dm_snapshot dm_mod raid456 async_raid6_recov async_pq raid6_pq async_xor xor async_memcpy async_tx raid10 md_mod thermal fan thermal_sys mvsas libsas scsi_transport_sas sata_mv e1000e igb dca ext3 jbd mbcache sd_mod crc_t10dif ata_piix libata scsi_mod
[  222.576001] Pid: 0, comm: swapper Not tainted 2.6.32 #1 X7DB8
[  222.576001] RIP: 0010:[<ffffffffa013beb1>]  [<ffffffffa013beb1>] mvs_int_port+0x1d3/0x4ef [mvsas]
[  222.576001] RSP: 0018:ffff880001983e58  EFLAGS: 00010246
[  222.576001] RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffff88007f095e98
[  222.576001] RDX: 0000000000000873 RSI: ffffffffa0141ccd RDI: ffffffffa0141fab
[  222.576001] RBP: ffff88007d840000 R08: 0000000000000000 R09: ffffffff810531c2
[  222.576001] R10: 0000000000000092 R11: 0000000000000400 R12: ffff88007d8408b8
[  222.576001] R13: 0000000000000003 R14: 0000000000000001 R15: 0000000000000003
[  222.576001] FS:  0000000000000000(0000) GS:ffff880001980000(0000) knlGS:0000000000000000
[  222.576001] CS:  0010 DS: 0018 ES: 0018 CR0: 000000008005003b
[  222.576001] CR2: 0000000000000118 CR3: 000000007eba3000 CR4: 00000000000406e0
[  222.576001] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[  222.576001] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
[  222.576001] Process swapper (pid: 0, threadinfo ffff88007f084000, task ffff88007f066780)
[  222.576001] Stack:
[  222.576001]  ffffffff8105983c 0000000000000003 ffff88007d840000 0000000000000800
[  222.576001] <0> ffffc90001b20150 0000000000000001 0000000000000000 ffffffffa013e863
[  222.576001] <0> ffff88007dcf2f18 ffff88007d840000 0000000000000001 ffff88007d840008
[  222.576001] Call Trace:
[  222.576001]  <IRQ> 
[  222.576001]  [<ffffffff8105983c>] ? run_timer_softirq+0x4c/0x268
[  222.576001]  [<ffffffffa013e863>] ? mvs_int_full+0x42/0x88 [mvsas]
[  222.576001]  [<ffffffffa013e8da>] ? mvs_64xx_isr+0x31/0x40 [mvsas]
[  222.576001]  [<ffffffffa013a0da>] ? mvs_interrupt+0x61/0x78 [mvsas]
[  222.576001]  [<ffffffff81092554>] ? handle_IRQ_event+0x58/0x126
[  222.576001]  [<ffffffff81093e26>] ? handle_fasteoi_irq+0x7d/0xb5
[  222.576001]  [<ffffffff81013817>] ? handle_irq+0x17/0x1d
[  222.576001]  [<ffffffff81012e71>] ? do_IRQ+0x57/0xb6
[  222.576001]  [<ffffffff81011393>] ? ret_from_intr+0x0/0x11
[  222.576001]  <EOI> 
[  222.576001]  [<ffffffff81017cdd>] ? mwait_idle+0x72/0x7d
[  222.576001]  [<ffffffff81017c8d>] ? mwait_idle+0x22/0x7d
[  222.576001]  [<ffffffff8100fdf3>] ? cpu_idle+0x59/0x91
[  222.576001] Code: a0 00 00 00 ba 73 08 00 00 48 c7 c6 cd 1c 14 a0 48 c7 c7 ab 1f 14 a0 44 8b 40 04 49 8b 84 24 b8 02 00 00 44 0f af 85 40 24 00 00 <8b> 88 18 01 00 00 31 c0 47 8d 44 05 00 e8 fc 56 1b e1 41 83 e6 
[  222.576001] RIP  [<ffffffffa013beb1>] mvs_int_port+0x1d3/0x4ef [mvsas]
[  222.576001]  RSP <ffff880001983e58>
[  222.576001] CR2: 0000000000000118
[  222.593420] ---[ end trace f9b64cadb09cc87c ]---
[  222.593489] Kernel panic - not syncing: Fatal exception in interrupt
[  222.593561] Pid: 0, comm: swapper Tainted: G      D    2.6.32 #1
[  222.593631] Call Trace:
[  222.593694]  <IRQ>  [<ffffffff812f1504>] ? panic+0x86/0x141
[  222.593820]  [<ffffffff81011533>] ? apic_timer_interrupt+0x13/0x20
[  222.593896]  [<ffffffff810148e7>] ? oops_end+0x64/0xb4
[  222.593968]  [<ffffffff8101492a>] ? oops_end+0xa7/0xb4

             reply	other threads:[~2009-12-17 13:44 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-17 13:44 Caspar Smit [this message]
     [not found] ` <e938503f0912201737r1296c47k4518fbeecd48ff00@mail.gmail.com>
2009-12-23 12:13   ` [PATCH 6/7]MVSAS: Enhanced hot plug handling Caspar Smit
  -- strict thread matches above, loose matches on Subject: below --
2009-11-09 12:27 Andy Yan
2009-11-10  1:38 ` jack wang
2009-11-10  2:51 ` jack wang

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=26320.87.210.74.220.1261057483.squirrel@ketsers.dhs.org \
    --to=c.smit@truebit.nl \
    --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.