Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 77013 - kernel Fusion MPT SCSI driver
Summary: kernel Fusion MPT SCSI driver
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: PPC64 Linux
: High major (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL: http://bugme.osdl.org/show_bug.cgi?id...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-07 05:17 UTC by isoh
Modified: 2005-01-21 13:11 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
possible problem? (bugs-77013.txt,690 bytes, text/plain)
2005-01-10 11:25 UTC, isoh
Details
dmesg output with mptscsih/mptbase's MPT_DEBUG turned on (bugs-77013-dmesg-with-MPT_DEBUG.txt,20.47 KB, text/plain)
2005-01-11 03:45 UTC, isoh
Details

Note You need to log in before you can comment on or make changes to this bug.
Description isoh 2005-01-07 05:17:02 UTC
kernel spewed this after "modprobe -a mptscsih"
-----------------------------------------------
Fusion MPT base driver 3.01.16
Copyright (c) 1999-2004 LSI Logic Corporation
PCI: Enabling device: (0001:06:03.0), cmd 7
mptbase: Initiating ioc0 bringup
ioc0: 53C1030: Capabilities={Initiator}
PCI: Enabling device: (0001:06:03.1), cmd 7
mptbase: Initiating ioc1 bringup
ioc1: 53C1030: Capabilities={Initiator}
Fusion MPT SCSI Host driver 3.01.16
scsi4 : ioc0: LSI53C1030, FwRev=01030700h, Ports=1, MaxQ=222, IRQ=53
Oops: Kernel access of bad area, sig: 11 [#1]
SMP NR_CPUS=2 POWERMAC 
NIP: C000000000077CD8 XER: 0000000000000000 LR: C000000000077E68
REGS: c00000003ef23920 TRAP: 0300   Not tainted  (2.6.9-gentoo-r9-noide-snd)
MSR: 9000000000001032 EE: 0 PR: 0 FP: 0 ME: 1 IR/DR: 11
DAR: c099f8b83041a3f8, DSISR: 0000000040010000
TASK: c00000003ef311e0[6] 'events/0' THREAD: c00000003ef20000 CPU: 0
GPR00: 0000000000000038 C00000003EF23BA0 C0000000005D4B08 C00000000FF10080 
GPR04: C00000003EDAF010 0000000000000001 0000000000100100 C00000000063A400 
GPR08: 0000000000200200 C099F8B83041A3C8 C0000000005FFE20 EBFDEB7B63FFF77D 
GPR12: C0000000013AAF38 C00000000049F400 0000000000000000 0000000000000000 
GPR16: 0000000000000000 0000000001400000 C0000000004437E0 0000000001840E18 
GPR20: 0000000001840E18 BFFFFFFFFEC00000 C000000000465000 C00000003EDECBB8 
GPR24: 0000000000100100 C00000000FF100B8 C00000003EDAF010 0000000000000001 
GPR28: C00000000FF10098 0000000000000000 C0000000004BCCB8 C00000000FF10080 
NIP [c000000000077cd8] .free_block+0xd4/0x1ac
LR [c000000000077e68] .drain_array_locked+0xb8/0x128
Call Trace:
[c00000003ef23ba0] [c00000003ef311e0] 0xc00000003ef311e0 (unreliable)
[c00000003ef23c50] [c000000000077e68] .drain_array_locked+0xb8/0x128
[c00000003ef23ce0] [c00000000007954c] .cache_reap+0x284/0x2a8
[c00000003ef23db0] [c00000000005c90c] .worker_thread+0x244/0x318
[c00000003ef23ee0] [c000000000062874] .kthread+0x154/0x1a4
[c00000003ef23f90] [c000000000015b98] .kernel_thread+0x4c/0x6c
 <6>scsi5 : ioc1: LSI53C1030, FwRev=01030700h, Ports=1, MaxQ=222, IRQ=53

----------------------------
#cat /proc/cpuinfo 
processor       : 0
cpu             : PPC970, altivec supported
clock           : 2000.000000MHz
revision        : 2.2

processor       : 1
cpu             : PPC970, altivec supported
clock           : 2000.000000MHz
revision        : 2.2

timebase        : 33333333
machine         : PowerMac7,2
motherboard     : PowerMac7,2 MacRISC4 Power Macintosh
detected as     : 336 (PowerMac G5)
pmac flags      : 00000000
pmac-generation : NewWorld
----------------------------------
#uname -rmsp 
Linux 2.6.9-gentoo-r9-noide-snd ppc64 PPC970, altivec supported

------------------------------------
#cat /proc/pci 
PCI devices found:
  Bus 240, device  11, function  0:
    Host bridge: Apple Computer Inc. U3 AGP (rev 0).
      Master Capable.  Latency=16.  
  Bus 240, device  16, function  0:
    VGA compatible controller: ATI Technologies Inc RV350 AP [Radeon 9600] (rev 0).
      IRQ 48.
      Master Capable.  Latency=16.  Min Gnt=8.
      Prefetchable 32 bit memory at 0xb0000000 [0xbfffffff].
      I/O at 0xfffffffffd800400 [0xfffffffffd8004ff].
      Non-prefetchable 32 bit memory at 0xa0000000 [0xa000ffff].
  Bus  0, device   1, function  0:
    PCI bridge: Advanced Micro Devices [AMD] AMD-8131 PCI-X Bridge (rev 18).
      Master Capable.  Latency=32.  
  Bus  0, device   2, function  0:
    PCI bridge: Advanced Micro Devices [AMD] AMD-8131 PCI-X Bridge (#2) (rev 18).
      Master Capable.  Latency=32.  
  Bus  0, device   3, function  0:
    PCI bridge: Apple Computer Inc. K2 HT-PCI Bridge (rev 0).
  Bus  0, device   4, function  0:
    PCI bridge: Apple Computer Inc. K2 HT-PCI Bridge (rev 0).
  Bus  0, device   5, function  0:
    PCI bridge: Apple Computer Inc. K2 HT-PCI Bridge (rev 0).
  Bus  0, device   6, function  0:
    PCI bridge: Apple Computer Inc. K2 HT-PCI Bridge (rev 0).
  Bus  0, device   7, function  0:
    PCI bridge: Apple Computer Inc. K2 HT-PCI Bridge (rev 0).
  Bus  6, device   3, function  0:
    SCSI storage controller: LSI Logic / Symbios Logic 53c1030 PCI-X Fusion-MPT Dual Ultra320 SCSI (rev 7).
      IRQ 53.
      Master Capable.  Latency=16.  Min Gnt=17.Max Lat=18.
      I/O at 0x400 [0x4ff].
      Non-prefetchable 64 bit memory at 0x90060000 [0x9007ffff].
      Non-prefetchable 64 bit memory at 0x90040000 [0x9005ffff].
  Bus  6, device   3, function  1:
    SCSI storage controller: LSI Logic / Symbios Logic 53c1030 PCI-X Fusion-MPT Dual Ultra320 SCSI (#2) (rev 7).
      IRQ 53.
      Master Capable.  Latency=16.  Min Gnt=17.Max Lat=18.
      I/O at 0x0 [0xff].
      Non-prefetchable 64 bit memory at 0x90020000 [0x9003ffff].
      Non-prefetchable 64 bit memory at 0x90000000 [0x9001ffff].
  Bus  1, device   7, function  0:
    Class ff00: Apple Computer Inc. K2 KeyLargo Mac/IO (rev 32).
      Master Capable.  Latency=16.  
      Non-prefetchable 32 bit memory at 0x80000000 [0x8007ffff].
  Bus  1, device   8, function  0:
    USB Controller: Apple Computer Inc. K2 KeyLargo USB (rev 0).
      IRQ 27.
      Master Capable.  Latency=16.  Min Gnt=3.Max Lat=86.
      Non-prefetchable 32 bit memory at 0x80081000 [0x80081fff].
  Bus  1, device   9, function  0:
    USB Controller: Apple Computer Inc. K2 KeyLargo USB (#2) (rev 0).
      IRQ 28.
      Master Capable.  Latency=16.  Min Gnt=3.Max Lat=86.
      Non-prefetchable 32 bit memory at 0x80080000 [0x80080fff].
  Bus  2, device  11, function  0:
    USB Controller: NEC Corporation USB (rev 67).
      IRQ 63.
      Master Capable.  Latency=16.  Min Gnt=1.Max Lat=42.
      Non-prefetchable 32 bit memory at 0x80102000 [0x80102fff].
  Bus  2, device  11, function  1:
    USB Controller: NEC Corporation USB (#2) (rev 67).
      IRQ 63.
      Master Capable.  Latency=16.  Min Gnt=1.Max Lat=42.
      Non-prefetchable 32 bit memory at 0x80101000 [0x80101fff].
  Bus  2, device  11, function  2:
    USB Controller: NEC Corporation USB 2.0 (rev 4).
      IRQ 63.
      Master Capable.  Latency=16.  Min Gnt=16.Max Lat=34.
      Non-prefetchable 32 bit memory at 0x80100000 [0x801000ff].
  Bus  3, device  13, function  0:
    Class ff00: Apple Computer Inc. K2 ATA/100 (rev 0).
      Master Capable.  Latency=32.  
      Non-prefetchable 32 bit memory at 0x80204000 [0x80207fff].
  Bus  3, device  14, function  0:
    FireWire (IEEE 1394): Apple Computer Inc. K2 FireWire (rev 0).
      IRQ 40.
      Master Capable.  Latency=248.  Min Gnt=12.Max Lat=24.
      Non-prefetchable 32 bit memory at 0x80200000 [0x80200fff].
  Bus  4, device  15, function  0:
    Ethernet controller: Apple Computer Inc. K2 GMAC (Sun GEM) (rev 0).
      IRQ 41.
      Master Capable.  Latency=16.  Min Gnt=64.Max Lat=64.
      Non-prefetchable 32 bit memory at 0x80400000 [0x805fffff].
  Bus  5, device  12, function  0:
    IDE interface: PCI device 1166:0240 (ServerWorks) (rev 0).
      Master Capable.  Latency=16.  
      Non-prefetchable 32 bit memory at 0x80600000 [0x80601fff].
Comment 1 Daniel Drake (RETIRED) gentoo-dev 2005-01-07 10:25:42 UTC
Is this easily reproducable? Have you tried 2.6.10?
Comment 2 isoh 2005-01-07 10:43:57 UTC
1. Always, 2. not yet
I think that this is 32ishm problem...
Comment 3 Daniel Drake (RETIRED) gentoo-dev 2005-01-07 10:57:28 UTC
Ok, please try 2.6.10 :)
Comment 4 isoh 2005-01-10 09:10:01 UTC
2.6.10 is "more stable", Oops doesn't appear always...
But with "modprobe -r mptscsih" command it hangs "Doorbell ACK timeout"
always for few minutes. Then it is responsive for few seconds and then
it hangs again; this seems to be never ending loop...

Fusion MPT base driver 3.01.18
Copyright (c) 1999-2004 LSI Logic Corporation
PCI: Enabling device: (0001:06:03.0), cmd 7
mptbase: Initiating ioc0 bringup
ioc0: 53C1030: Capabilities={Initiator}
PCI: Enabling device: (0001:06:03.1), cmd 7
mptbase: Initiating ioc1 bringup
ioc1: 53C1030: Capabilities={Initiator}
Fusion MPT SCSI Host driver 3.01.18
scsi4 : ioc0: LSI53C1030, FwRev=01030700h, Ports=1, MaxQ=222, IRQ=53
scsi5 : ioc1: LSI53C1030, FwRev=01030700h, Ports=1, MaxQ=222, IRQ=53
mptbase: Initiating ioc0 recovery
mptbase: ioc0: ERROR - Doorbell ACK timeout (count=4999), IntStatus=80000000!
mptbase: Initiating ioc0 recovery
mptbase: ioc0: ERROR - Doorbell ACK timeout (count=4999), IntStatus=80000000!
....

---------------
#uname -rmsp
Linux 2.6.10-gentoo-r2-noide-snd ppc64 PPC970, altivec supported
Comment 5 isoh 2005-01-10 10:09:27 UTC
Additional note; even if kernel does not oops by 
"modprobe -a mptscsih", system is not stable anymore 
(programs die ramdomly etc...) after "modprobe -r" so
system have to reboot...
Comment 6 isoh 2005-01-10 11:25:16 UTC
Created attachment 48116 [details]
possible problem?

atleast this should be fixed...
Comment 7 isoh 2005-01-10 11:40:03 UTC
...or not:

---------------
"modprobe -a mptscsih"
result:

Fusion MPT base driver 3.01.18
Copyright (c) 1999-2004 LSI Logic Corporation
PCI: Enabling device: (0001:06:03.0), cmd 7
mptbase: Initiating ioc0 bringup
ioc0: 53C1030: Capabilities={Initiator}
PCI: Enabling device: (0001:06:03.1), cmd 7
mptbase: Initiating ioc1 bringup
ioc1: 53C1030: Capabilities={Initiator}
Fusion MPT SCSI Host driver 3.01.18
scsi4 : ioc0: LSI53C1030, FwRev=01030700h, Ports=1, MaxQ=222, IRQ=53
bad magic number for tty struct (5:2) in tty_poll
bad magic number for tty struct (5:2) in tty_poll
bad magic number for tty struct (5:2) in tty_poll
bad magic number for tty struct (5:2) in tty_poll
bad magic number for tty struct (5:2) in tty_poll
bad magic number for tty struct (5:2) in tty_poll
bad magic number for tty struct (5:2) in tty_poll
bad magic number for tty struct (5:2) in tty_poll
bad magic number for tty struct (5:2) in tty_poll
bad magic number for tty struct (5:2) in tty_poll
bad magic number for tty struct (5:2) in tty_poll
bad magic number for tty struct (5:2) in tty_poll
bad magic number for tty struct (5:2) in tty_poll
bad magic number for tty struct (5:2) in tty_poll
bad magic number for tty struct (5:2) in tty_poll
bad magic number for tty struct (5:2) in tty_poll
bad magic number for tty struct (5:2) in tty_poll
bad magic number for tty struct (5:2) in tty_poll
bad magic number for tty struct (5:2) in tty_poll
bad magic number for tty struct (5:2) in tty_poll
bad magic number for tty struct (5:2) in tty_poll
bad magic number for tty struct (5:2) in tty_poll
bad magic number for tty struct (5:2) in tty_poll
scsi5 : ioc1: LSI53C1030, FwRev=01030700h, Ports=1, MaxQ=222, IRQ=53
bad magic number for tty struct (5:2) in tty_poll
bad magic number for tty struct (5:2) in tty_poll
bad magic number for tty struct (5:2) in tty_poll
...

------
Also "modprobe -r mptscsih" hangs same way as previously...

===========
#uname -rmsp 
Linux 2.6.10-gentoo-r4-noide-snd ppc64 PPC970, altivec supported


Comment 8 isoh 2005-01-11 03:45:07 UTC
Created attachment 48187 [details]
dmesg output with mptscsih/mptbase's MPT_DEBUG turned on
Comment 9 Daniel Drake (RETIRED) gentoo-dev 2005-01-12 14:24:54 UTC
This isn't a problem with Gentoo's patches, please file a bug at http://bugzilla.kernel.org and keep us updated.