Re: [BUG] Kernel panic on heavy disk activity with esp_scsi

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

Thanks for the patch!

> The following patch should fix the OOPS, but not the DMA length
> problem which led to the ESP scsi reset in the first place.

Well, it does fix the OOPS, but now the system is stuck in an infinite
reset-loop. Dmesg shows the "DMA length is zero" message once per
second.

I noticed the DMA address changes every few times, will it work if I
wait a few hours until it has tried all possible addresses? ;)

Regards,
Friedrich
PROMLIB: Sun IEEE Boot Prom 'OBP 3.11.2 1997/12/05 10:25'
PROMLIB: Root node compatible: 
Linux version 2.6.26-rc6 (bluebird@nafrayu) (gcc version 4.3.1 (Gentoo 4.3.1 p1.0) ) #2 SMP PREEMPT Wed Jun 18 21:43:15 CEST 2008
console [earlyprom0] enabled
ARCH: SUN4U
Ethernet address: 08:00:20:9b:c6:91
Kernel: Using 2 locked TLB entries for main kernel image.
Remapping the kernel... done.
OF stdout device is: /SUNW,ffb@1e,0
PROM: Built device tree with 43485 bytes of memory.
Top of RAM: 0x67f22000, Total RAM: 0x47f1e000
Memory hole size: 512MB
Entering add_active_range(0, 0, 98304) 0 entries of 256 used
Entering add_active_range(0, 131072, 163840) 1 entries of 256 used
Entering add_active_range(0, 196608, 212863) 2 entries of 256 used
Entering add_active_range(0, 212864, 212869) 3 entries of 256 used
Entering add_active_range(0, 212870, 212881) 4 entries of 256 used
[0000000200000000-fffff80000400000] page_structs=131072 node=0 entry=0/0
[0000000200000000-fffff80000800000] page_structs=131072 node=0 entry=1/0
[0000000200700000-fffff80000c00000] page_structs=131072 node=0 entry=2/0
[0000000200700000-fffff80001000000] page_structs=131072 node=0 entry=3/0
Zone PFN ranges:
  Normal          0 ->   212881
Movable zone start PFN for each node
early_node_map[5] active PFN ranges
    0:        0 ->    98304
    0:   131072 ->   163840
    0:   196608 ->   212863
    0:   212864 ->   212869
    0:   212870 ->   212881
On node 0 totalpages: 147343
  Normal zone: 1456 pages used for memmap
  Normal zone: 0 pages reserved
  Normal zone: 145887 pages, LIFO batch:15
  Movable zone: 0 pages used for memmap
Booting Linux...
Built 1 zonelists in Node order, mobility grouping on.  Total pages: 145887
Policy zone: Normal
Kernel command line: root=/dev/sda4 bonding.miimon=500
Preemptible RCU implementation.
PID hash table entries: 4096 (order: 12, 32768 bytes)
clocksource: mult[28003] shift[16]
clockevent: mult[6665ea66] shift[32]
Console: colour dummy device 80x25
console handover: boot [earlyprom0] -> real [tty0]
Dentry cache hash table entries: 262144 (order: 8, 2097152 bytes)
Inode-cache hash table entries: 131072 (order: 7, 1048576 bytes)
Memory: 1154368k available (3112k kernel code, 824k data, 168k init) [fffff80000000000,0000000067f22000]
SLUB: Genslabs=14, HWalign=32, Order=0-3, MinObjects=0, CPUs=2, Nodes=16
Calibrating delay using timer specific routine.. 803.75 BogoMIPS (lpj=401878)
Security Framework initialized
Capability LSM initialized
Mount-cache hash table entries: 512
CPU 1: synchronized TICK with master CPU (last diff -9 cycles, maxerr 697 cycles)
Brought up 2 CPUs
net_namespace: 568 bytes
NET: Registered protocol family 16
SCSI subsystem initialized
SYSIO: UPA portID 1f, at 000001fe00000000
sbus0: Clock 25.0 MHz
dma0: HME DVMA gate array 
dma1: ESC Revision 1 
AUXIO: Found device at /sbus@1f,0/auxio@f,1900000
/sbus@1f,0/eeprom@f,1200000: Clock regs at 000001fff1200000
NET: Registered protocol family 2
IP route cache hash table entries: 65536 (order: 6, 524288 bytes)
TCP established hash table entries: 262144 (order: 9, 4194304 bytes)
TCP bind hash table entries: 65536 (order: 7, 1048576 bytes)
TCP: Hash tables configured (established 262144 bind 65536)
TCP reno registered
NET: Registered protocol family 1
Mini RTC Driver
msgmni has been set to 2254
io scheduler noop registered
io scheduler cfq registered (default)
Console: switching to colour frame buffer device 160x64
/SUNW,ffb@1e,0: FFB at 000001fc00000000, type 67, DAC pnum[236c] rev[10] manuf_rev[4]
f005bbcc: ttyS0 at MMIO 0x1fff1100000 (irq = 9) is a zs
f005bbcc: ttyS1 at MMIO 0x1fff1100004 (irq = 9) is a zs
f005d06c: Keyboard at MMIO 0x1fff1000000 (irq = 9) is a zs
f005d06c: Mouse at MMIO 0x1fff1000004 (irq = 9) is a zs
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
loop: module loaded
Ethernet Channel Bonding Driver: v3.2.5 (March 21, 2008)
bonding: MII link monitoring set to 500 ms
sunhme.c:v3.00 June 23, 2006 David S. Miller (davem@xxxxxxxxxxxxx)
eth0: HAPPY MEAL (SBUS) 10/100baseT Ethernet 08:00:20:9b:c6:91
eth1: Quattro HME slot 0 (SBUS) 10/100baseT Ethernet 08:00:20:92:75:38
eth2: Quattro HME slot 1 (SBUS) 10/100baseT Ethernet 08:00:20:92:75:39
eth3: Quattro HME slot 2 (SBUS) 10/100baseT Ethernet 08:00:20:92:75:3a
eth4: Quattro HME slot 3 (SBUS) 10/100baseT Ethernet 08:00:20:92:75:3b
esp: esp0, regs[1ffe8810000:1ffe8800000] irq[10]
esp: esp0 is a FASHME, 40 MHz (ccf=0), SCSI ID 7
scsi0 : esp
esp: esp1, regs[1ff20080000:1ff20081000] irq[14]
esp: esp1 is a FAS236, 40 MHz (ccf=0), SCSI ID 7
scsi 0:0:0:0: Direct-Access     SEAGATE  ST373405LC       0002 PQ: 0 ANSI: 3
scsi target0:0:0: Beginning Domain Validation
scsi target0:0:0: FAST-10 WIDE SCSI 20.0 MB/s ST (100 ns, offset 15)
scsi target0:0:0: Domain Validation skipping write tests
scsi target0:0:0: Ending Domain Validation
scsi 0:0:6:0: CD-ROM            TOSHIBA  CD-ROM XM-5401TA 3605 PQ: 0 ANSI: 2
scsi target0:0:6: Beginning Domain Validation
scsi target0:0:6: FAST-5 SCSI 4.2 MB/s ST (236 ns, offset 15)
scsi target0:0:6: Domain Validation skipping write tests
scsi target0:0:6: Ending Domain Validation
scsi1 : esp
Driver 'sd' needs updating - please use bus_type methods
Driver 'sr' needs updating - please use bus_type methods
OBP Flash: RD 1fff0000000[80000] WR 1fff1380000[80000]
mice: PS/2 mouse device common for all mice
Advanced Linux Sound Architecture Driver Version 1.0.16.
sd 0:0:0:0: [sda] 143374741 512-byte hardware sectors (73408 MB)
sd 0:0:0:0: [sda] Write Protect is off
ALSA device list:
  #0: Sun CS4231 at 0xff:0x00000000dc000000, irq 7
TCP cubic registered
NET: Registered protocol family 10
sd 0:0:0:0: [sda] Mode Sense: a3 00 10 08
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, supports DPO and FUA
NET: Registered protocol family 17
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
sd 0:0:0:0: [sda] 143374741 512-byte hardware sectors (73408 MB)
scsi: waiting for bus probes to complete ...
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: a3 00 10 08
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, supports DPO and FUA
 sda: sda1 sda2 sda3 sda4 sda5 sda6 sda7 sda8
sd 0:0:0:0: [sda] Attached SCSI disk
sr0: scsi-1 drive
Uniform CD-ROM driver Revision: 3.20
sr 0:0:6:0: Attached scsi CD-ROM sr0
input: Sun Type 5 keyboard as /devices/root/f005b27c/f005d06c/serio0/input/input0
input: Sun Mouse as /devices/root/f005b27c/f005d06c/serio1/input/input1
kjournald starting.  Commit interval 5 seconds
EXT3-fs: mounted filesystem with journal data mode.
VFS: Mounted root (ext3 filesystem) readonly.
EXT3 FS on sda4, internal journal
kjournald starting.  Commit interval 5 seconds
EXT3 FS on sda5, internal journal
EXT3-fs: mounted filesystem with journal data mode.
kjournald starting.  Commit interval 5 seconds
EXT3 FS on sda6, internal journal
EXT3-fs: mounted filesystem with journal data mode.
kjournald starting.  Commit interval 5 seconds
EXT3 FS on sda7, internal journal
EXT3-fs: mounted filesystem with journal data mode.
kjournald starting.  Commit interval 5 seconds
EXT3 FS on sda8, internal journal
EXT3-fs: mounted filesystem with journal data mode.
Adding 1952096k swap on /dev/sda2.  Priority:-1 extents:1 across:1952096k
ADDRCONF(NETDEV_UP): bond0: link is not ready
bonding: bond0: enslaving eth0 as an active interface with an up link.
ADDRCONF(NETDEV_CHANGE): bond0: link becomes ready
bonding: bond0: enslaving eth1 as an active interface with an up link.
bonding: bond0: enslaving eth2 as an active interface with an up link.
bonding: bond0: enslaving eth3 as an active interface with an up link.
bonding: bond0: enslaving eth4 as an active interface with an up link.
eth0: Link is up using internal transceiver at 100Mb/s, Full Duplex.
eth1: Link is up using internal transceiver at 100Mb/s, Full Duplex.
eth2: Link is up using internal transceiver at 100Mb/s, Full Duplex.
eth3: Link is up using internal transceiver at 100Mb/s, Full Duplex.
eth4: Link is up using internal transceiver at 100Mb/s, Full Duplex.
esp: esp0: DMA length is zero!
esp: esp0: cur adr[c79e6400] len[00000000]
esp: esp0: DMA length is zero!
esp: esp0: cur adr[c7e98400] len[00000000]
esp: esp0: DMA length is zero!
esp: esp0: cur adr[c8282400] len[00000000]
esp: esp0: DMA length is zero!
esp: esp0: cur adr[c8532400] len[00000000]
esp: esp0: DMA length is zero!
esp: esp0: cur adr[c895a400] len[00000000]
esp: esp0: DMA length is zero!
esp: esp0: cur adr[c8c14400] len[00000000]
esp: esp0: DMA length is zero!
esp: esp0: cur adr[c8ece400] len[00000000]
esp: esp0: DMA length is zero!
esp: esp0: cur adr[c9188400] len[00000000]
esp: esp0: DMA length is zero!
esp: esp0: cur adr[c9444400] len[00000000]
esp: esp0: DMA length is zero!
esp: esp0: cur adr[c96fe400] len[00000000]
esp: esp0: DMA length is zero!
esp: esp0: cur adr[c99b8400] len[00000000]
esp: esp0: DMA length is zero!
esp: esp0: cur adr[c9c72400] len[00000000]
esp: esp0: DMA length is zero!
esp: esp0: cur adr[c9f2c400] len[00000000]
esp: esp0: DMA length is zero!
esp: esp0: cur adr[ca1e6400] len[00000000]
esp: esp0: DMA length is zero!
esp: esp0: cur adr[ca4a0400] len[00000000]
esp: esp0: DMA length is zero!
esp: esp0: cur adr[ca75a400] len[00000000]
esp: esp0: DMA length is zero!
esp: esp0: cur adr[caa14400] len[00000000]
esp: esp0: DMA length is zero!
esp: esp0: cur adr[cacce400] len[00000000]
esp: esp0: DMA length is zero!
esp: esp0: cur adr[caf88400] len[00000000]
esp: esp0: DMA length is zero!
esp: esp0: cur adr[cb242400] len[00000000]
esp: esp0: DMA length is zero!
esp: esp0: cur adr[cb88c400] len[00000000]
esp: esp0: DMA length is zero!
esp: esp0: cur adr[cbc20400] len[00000000]
esp: esp0: DMA length is zero!
esp: esp0: cur adr[cbeda400] len[00000000]
esp: esp0: DMA length is zero!
esp: esp0: cur adr[cc194400] len[00000000]
esp: esp0: DMA length is zero!
esp: esp0: cur adr[cc87a400] len[00000000]

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil


[Index of Archives]     [Kernel Development]     [DCCP]     [Linux ARM Development]     [Linux]     [Photo]     [Yosemite Help]     [Linux ARM Kernel]     [Linux SCSI]     [Linux x86_64]     [Linux Hams]

  Powered by Linux