Bug 8269

Summary: nightly-arm sanity test throws kernel-panic
Product: [QA/Testing] Runtime Testing Reporter: Beth Flanagan <elizabeth.flanagan>
Component: generalAssignee: Alexandru Georgescu <alexandru.c.georgescu>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: Undecided CC: juro.bystricky
Version: unspecified   
Target Milestone: ---   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Beth Flanagan 2015-09-08 16:35:17 UTC
https://autobuilder.yoctoproject.org/main/builders/nightly-arm/builds/497/steps/Running%20Sanity%20Tests/logs/stdio

ERROR: Qemu log output from /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-arm/build/build/tmp/work/qemuarm-poky-linux-gnueabi/core-image-sato/1.0-r0/testimage/qemu_boot_log.20150907172656:
Uncompressing Linux... done, booting the kernel.
Booting Linux on physical CPU 0x0
Initializing cgroup subsys cpuset
Initializing cgroup subsys cpu
Initializing cgroup subsys cpuacct
Linux version 4.1.6-yocto-standard (pokybuild@opensuse131) (gcc version 5.2.0 (GCC) ) #1 PREEMPT Sat Sep 5 08:28:00 GMT 2015
CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00093177
CPU: VIVT data cache, VIVT instruction cache
Machine: ARM-Versatile PB
Memory policy: Data cache writeback
sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32480
Kernel command line: root=/dev/sda rw console=ttyAMA0,115200 console=tty ip=192.168.7.6::192.168.7.5:255.255.255.0 mem=128M highres=off rootfstype=ext4  console=tty1 console=ttyS0,115200n8
PID hash table entries: 512 (order: -1, 2048 bytes)
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 119488K/131072K available (6876K kernel code, 515K rwdata, 1868K rodata, 356K init, 631K bss, 11584K reserved, 0K cma-reserved)
Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
    vmalloc : 0xc8800000 - 0xff000000   ( 872 MB)
    lowmem  : 0xc0000000 - 0xc8000000   ( 128 MB)
    modules : 0xbf000000 - 0xc0000000   (  16 MB)
      .text : 0xc0008000 - 0xc089247c   (8746 kB)
      .init : 0xc0893000 - 0xc08ec000   ( 356 kB)
      .data : 0xc08ec000 - 0xc096cc24   ( 516 kB)
       .bss : 0xc096cc24 - 0xc0a0ac1c   ( 632 kB)
SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Preemptible hierarchical RCU implementation.
	Additional per-CPU info printed with stalls.
NR_IRQS:224
VIC @f1140000: id 0x00041190, vendor 0x41
FPGA IRQ chip 0 "SIC" @ f1003000, 13 irqs, parent IRQ: 63
clocksource timer3: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275 ns
Console: colour dummy device 80x30
console [tty0] enabled
Calibrating delay loop... 511.18 BogoMIPS (lpj=2555904)
pid_max: default: 32768 minimum: 301
Security Framework initialized
Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
Initializing cgroup subsys blkio
Initializing cgroup subsys memory
Initializing cgroup subsys devices
Initializing cgroup subsys freezer
Initializing cgroup subsys net_cls
Initializing cgroup subsys debug
CPU: Testing write buffer coherency: ok
ftrace: allocating 22468 entries in 66 pages
Setting up static identity map for 0x8400 - 0x8458
devtmpfs: initialized
VFP support v0.3: implementor 41 architecture 1 part 10 variant 9 rev 0
clocksource jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
xor: measuring software checksum speed
   arm4regs  :   452.400 MB/sec
   8regs     :   786.800 MB/sec
   32regs    :   764.000 MB/sec
xor: using function: 8regs (786.800 MB/sec)
NET: Registered protocol family 16
DMA: preallocated 256 KiB pool for atomic coherent allocations
Serial: AMBA PL011 UART driver
dev:f1: ttyAMA0 at MMIO 0x101f1000 (irq = 44, base_baud = 0) is a PL011 rev1
console [ttyAMA0] enabled
dev:f2: ttyAMA1 at MMIO 0x101f2000 (irq = 45, base_baud = 0) is a PL011 rev1
dev:f3: ttyAMA2 at MMIO 0x101f3000 (irq = 46, base_baud = 0) is a PL011 rev1
fpga:09: ttyAMA3 at MMIO 0x10009000 (irq = 70, base_baud = 0) is a PL011 rev1
PCI core found (slot 11)
PCI host bridge to bus 0000:00
pci_bus 0000:00: root bus resource [mem 0x50000000-0x5fffffff]
pci_bus 0000:00: root bus resource [mem 0x60000000-0x6fffffff pref]
pci_bus 0000:00: root bus resource [io  0x1000-0xffff]
pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
PCI: bus0: Fast back to back transfers disabled
pci 0000:00:0d.0: BAR 2: assigned [mem 0x50000000-0x50001fff]
pci 0000:00:0d.0: BAR 1: assigned [mem 0x50002000-0x500023ff]
pci 0000:00:0c.0: BAR 0: assigned [mem 0x50002400-0x500024ff]
pci 0000:00:0d.0: BAR 0: assigned [io  0x1000-0x10ff]
raid6: int32x1  gen()   231 MB/s
raid6: int32x1  xor()   102 MB/s
raid6: int32x2  gen()   177 MB/s
raid6: int32x2  xor()    93 MB/s
raid6: int32x4  gen()    66 MB/s
raid6: int32x4  xor()   120 MB/s
raid6: int32x8  gen()   174 MB/s
raid6: int32x8  xor()    97 MB/s
raid6: using algorithm int32x1 gen() 231 MB/s
raid6: .... xor() 102 MB/s, rmw enabled
raid6: using intx1 recovery algorithm
vgaarb: loaded
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
Switched to clocksource timer3
NET: Registered protocol family 2
TCP established hash table entries: 1024 (order: 0, 4096 bytes)
TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
TCP: Hash tables configured (established 1024 bind 1024)
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
RPC: Registered named UNIX socket transport module.
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
pci 0000:00:0c.0: enabling device (0100 -> 0102)
futex hash table entries: 256 (order: -1, 3072 bytes)
NFS: Registering the id_resolver key type
Key type id_resolver registered
Key type id_legacy registered
jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
aufs 4.1-20150629
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
clcd-pl11x dev:20: PL110 rev0 at 0x10120000
clcd-pl11x dev:20: Versatile hardware, VGA display
Console: switching to colour frame buffer device 80x30
brd: module loaded
sym53c8xx 0000:00:0d.0: enabling device (0100 -> 0103)
sym0: <895a> rev 0x0 at pci 0000:00:0d.0 irq 94
sym0: No NVRAM, ID 7, Fast-40, LVD, parity checking
sym0: SCSI BUS has been reset.
scsi host0: sym-2.2.3
sym0: unknown interrupt(s) ignored, ISTAT=0x5 DSTAT=0x80 SIST=0x0
scsi 0:0:0:0: Direct-Access     QEMU     QEMU HARDDISK    2.4. PQ: 0 ANSI: 5
scsi target0:0:0: tagged command queuing enabled, command queue depth 16.
scsi target0:0:0: Beginning Domain Validation
scsi target0:0:0: Domain Validation skipping write tests
scsi target0:0:0: Ending Domain Validation
scsi 0:0:2:0: CD-ROM            QEMU     QEMU CD-ROM      2.4. PQ: 0 ANSI: 5
scsi target0:0:2: tagged command queuing enabled, command queue depth 16.
scsi target0:0:2: Beginning Domain Validation
scsi target0:0:2: Domain Validation skipping write tests
scsi target0:0:2: Ending Domain Validation
sd 0:0:0:0: [sda] 728232 512-byte logical blocks: (372 MB/355 MiB)
smc91x.c: v1.1, sep 22 2004 by Nicolas Pitre <nico@fluxnic.net>
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
smc91x smc91x.0 eth0: SMC91C11xFD (rev 1) at c8a64000 IRQ 57
 [nowait]
smc91x smc91x.0 eth0: Ethernet addr: 52:54:00:12:34:56
sd 0:0:0:0: [sda] Attached SCSI disk
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ehci-pci: EHCI PCI platform driver
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
ohci-pci: OHCI PCI platform driver
ohci-pci 0000:00:0c.0: OHCI PCI host controller
ohci-pci 0000:00:0c.0: new USB bus registered, assigned bus number 1
ohci-pci 0000:00:0c.0: irq 93, io mem 0x50002400
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 3 ports detected
uhci_hcd: USB Universal Host Controller Interface driver
mousedev: PS/2 mouse device common for all mice
rtc-pl031 dev:e8: rtc core: registered pl031 as rtc0
md: linear personality registered for level -1
md: raid0 personality registered for level 0
md: raid1 personality registered for level 1
md: raid10 personality registered for level 10
md: multipath personality registered for level -4
md: faulty personality registered for level -5
device-mapper: ioctl: 4.31.0-ioctl (2015-3-12) initialised: dm-devel@redhat.com
mmci-pl18x fpga:05: No vmmc regulator found
mmci-pl18x fpga:05: No vqmmc regulator found
mmci-pl18x: probe of fpga:05 failed with error -22
mmci-pl18x fpga:0b: No vmmc regulator found
mmci-pl18x fpga:0b: No vqmmc regulator found
mmci-pl18x: probe of fpga:0b failed with error -22
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
oprofile: no performance counters
oprofile: using timer interrupt.
input: AT Raw Set 2 keyboard as /devices/fpga:06/serio0/input/input0
u32 classifier
    Actions configured
NET: Registered protocol family 10
sit: IPv6 over IPv4 tunneling driver
NET: Registered protocol family 17
Key type dns_resolver registered
Btrfs loaded
console [netcon0] enabled
netconsole: network logging started
rtc-pl031 dev:e8: setting system clock to 2015-09-07 17:27:37 UTC (1441646857)
smc91x smc91x.0 eth0: link up
IP-Config: Complete:
     device=eth0, hwaddr=52:54:00:12:34:56, ipaddr=192.168.7.6, mask=255.255.255.0, gw=192.168.7.5
     host=192.168.7.6, domain=, nis-domain=(none)
     bootserver=255.255.255.255, rootserver=255.255.255.255, rootpath=
usb 1-1: new full-speed USB device number 2 using ohci-pci
input: Wacom Penpartner Pen as /devices/pci0000:00/0000:00:0c.0/usb1/1-1/1-1:1.0/0003:056A:0000.0001/input/input3
input: ImExPS/2 Generic Explorer Mouse as /devices/fpga:07/serio1/input/input2
wacom 0003:056A:0000.0001: : USB HID v10.01 Mouse [QEMU Wacom PenPartner] on usb-0000:00:0c.0-1/input0
md: Waiting for all devices to be available before autodetect
md: If you don't use raid, use raid=noautodetect
md: Autodetecting RAID arrays.
md: Scanned 0 and added 0 devices.
md: autorun ...
md: ... autorun DONE.
EXT4-fs (sda): mounted filesystem with ordered data mode. Opts: (null)
VFS: Mounted root (ext4 filesystem) on device 8:0.
devtmpfs: mounted
Freeing unused kernel memory: 356K (c0893000 - c08ec000)
udevd[70]: starting version 182
random: nonblocking pool is initialized
sd 0:0:0:0: [sda] ABORT operation started
Kernel panic - not syncing: assertion "i && sym_get_cam_status(cp->cmd) == DID_SOFT_ERROR" failed: file "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-arm/build/build/tmp/work-shared/qemuarm/kernel-source/drivers/scsi/sym53c8xx_2/sym_hipd.c", line 3399

CPU: 0 PID: 0 Comm: swapper Not tainted 4.1.6-yocto-standard #1
Hardware name: ARM-Versatile PB
[<c0016c1c>] (unwind_backtrace) from [<c0013104>] (show_stack+0x20/0x24)
[<c0013104>] (show_stack) from [<c063447c>] (dump_stack+0x20/0x28)
[<c063447c>] (dump_stack) from [<c06304a8>] (panic+0x94/0x1ec)
[<c06304a8>] (panic) from [<c0421278>] (sym_interrupt+0x56c/0x1798)
[<c0421278>] (sym_interrupt) from [<c041cbf0>] (sym53c8xx_intr+0x54/0xbc)
[<c041cbf0>] (sym53c8xx_intr) from [<c00598cc>] (handle_irq_event_percpu+0xb8/0x280)
[<c00598cc>] (handle_irq_event_percpu) from [<c0059b04>] (handle_irq_event+0x70/0x90)
[<c0059b04>] (handle_irq_event) from [<c005c9b0>] (handle_level_irq+0xe8/0x14c)
[<c005c9b0>] (handle_level_irq) from [<c0059020>] (generic_handle_irq+0x30/0x40)
[<c0059020>] (generic_handle_irq) from [<c03a6984>] (fpga_irq_handle+0x9c/0xa8)
[<c03a6984>] (fpga_irq_handle) from [<c0059020>] (generic_handle_irq+0x30/0x40)
[<c0059020>] (generic_handle_irq) from [<c0059264>] (__handle_domain_irq+0xa0/0xdc)
[<c0059264>] (__handle_domain_irq) from [<c000944c>] (vic_handle_irq+0x68/0x90)
[<c000944c>] (vic_handle_irq) from [<c0639aa0>] (__irq_svc+0x40/0x6c)
Exception stack(0xc08edf30 to 0xc08edf78)
df20:                                     00000000 00093177 00092177 60000013
df40: c08ec000 00000000 c08ee080 c08ee080 c7ffc840 c08cd858 008cabdc c08edf84
df60: 600000d3 c08edf78 c0010340 c001034c 60000013 ffffffff
[<c0639aa0>] (__irq_svc) from [<c001034c>] (arch_cpu_idle+0x3c/0x44)
[<c001034c>] (arch_cpu_idle) from [<c004d8e8>] (cpu_startup_entry+0x22c/0x280)
[<c004d8e8>] (cpu_startup_entry) from [<c062fbcc>] (rest_init+0x80/0x98)
[<c062fbcc>] (rest_init) from [<c0893cb4>] (start_kernel+0x36c/0x3dc)
---[ end Kernel panic - not syncing: assertion "i && sym_get_cam_status(cp->cmd) == DID_SOFT_ERROR" failed: file "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-arm/build/build/tmp/work-shared/qemuarm/kernel-source/drivers/scsi/sym53c8xx_2/sym_hipd.c", line 3399


ERROR: Function failed: core-image-sato - FAILED to start qemu - check the task log and the boot log
ERROR: Logfile of failure stored in: /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-arm/build/build/tmp/work/qemuarm-poky-linux-gnueabi/core-image-sato/1.0-r0/temp/log.do_testimage.7488
NOTE: recipe core-image-sato-1.0-r0: task do_testimage: Failed
ERROR: Task 1 (/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-arm/build/meta/recipes-sato/images/core-image-sato.bb, do_testimage) failed with exit code '1'
Comment 1 Juro Bystricky 2015-09-10 14:32:38 UTC
https://bugzilla.yoctoproject.org/show_bug.cgi?id=8060

*** This bug has been marked as a duplicate of bug 8060 ***