mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* 2.5.43 aic7xxx segfault sd_synchronize_cache() called after SHT-> release()
@ 2002-10-16 19:41 Adam Radford
  2002-10-16 20:22 ` Patrick Mansfield
  0 siblings, 1 reply; 7+ messages in thread
From: Adam Radford @ 2002-10-16 19:41 UTC (permalink / raw)
  To: 'linux-kernel@vger.kernel.org'; +Cc: 'torvalds@transmeta.com'

I think sd_synchronize_cache() is getting called after SHT->release()
function,
which couldn't possibly be right.  This causes adaptec, 3ware, etc, to
segfault
on rmmod.

See below for adaptec segfault output:

aic7xxx
CPU:    1
EIP:    0060:[<c025918b>]    Not tainted
EFLAGS: 00010202
EIP is at put_device+0x7b/0xa0
eax: 00000000   ebx: c8997028   ecx: 00000001   edx: c0465470
esi: c12f4174   edi: c8997000   ebp: 00000000   esp: c5b81ee4
ds: 0068   es: 0068   ss: 0068
Process rmmod (pid: 1085, threadinfo=c5b80000 task=c5d4a800)
Stack: c8997028 c0481e20 c02d0f3a c8997028 c8997028 c0481f3c c8997028
c0481f4c
       00000000 c66fe1e8 00000286 c798aa00 c0481e20 c12f4000 c13b5000
c02be9aa
       c12f4000 c5b81f30 00000002 00030002 00000002 08072009 c042399f
08071fff
Call Trace:
 [<c02d0f3a>] sg_detach+0x20a/0x240
 [<c02be9aa>] scsi_unregister_host+0x26a/0x5f0
 [<c01418d8>] __alloc_pages+0x88/0x270
 [<c892f12a>] exit_this_scsi_driver+0xa/0xc [aic7xxx]
 [<c893a740>] driver_template+0x0/0x70 [aic7xxx]
 [<c012029e>] free_module+0x1e/0x140
 [<c011f3db>] sys_delete_module+0x1db/0x4c0
 [<c010787f>] syscall_call+0x7/0xb

Code: 0f 0b 0d 01 86 69 3d c0 8b 83 d4 00 00 00 85 c0 74 04 53 ff
 Segmentation fault
[root@localhost boot]#

--
Adam Radford
Software Engineer
3ware, Inc.

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2002-10-21  2:29 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-10-16 19:41 2.5.43 aic7xxx segfault sd_synchronize_cache() called after SHT-> release() Adam Radford
2002-10-16 20:22 ` Patrick Mansfield
2002-10-19 13:20   ` NCR adaptor doesn't see devices (was: 2.5.43 aic7xxx segfault) davidsen
2002-10-19 23:12     ` Mr. James W. Laferriere
2002-10-20 18:33       ` Bill Davidsen
2002-10-20 19:02         ` Mr. James W. Laferriere
2002-10-21  2:34           ` Bill Davidsen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®