NetBSD-Bugs archive

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

port-evbmips/54133: Binaries fail to execute



>Number:         54133
>Category:       port-evbmips
>Synopsis:       Binaries fail to execute
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-evbmips-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Apr 20 18:10:00 +0000 2019
>Originator:     Sevan Janiyan
>Release:        NetBSD-HEAD
>Organization:
>Environment:
>Description:
Binaries from currently available snapshots on nycdn for HEAD fail to execute. During the upgrade process, sysinst reports "Command ended on signal" errors and aborts (I was using an install kernel from 8.99.30)
e.g.
Status: Command ended on signal
Command: /etc/rc.d/random_seed stop
Hit enter to continue

On boot, the system crashes with "panic: init died (signal 0, exit 1)"

Configuration [Bonito,EL,NET,IDE]
Version: PMON2000 2.1 (Bonito) #5: 2010-08-31 08:00:54.
Supported loaders [txt, srec, elf, bin]
Supported filesystems [net, fat, fs, disk, iso9660, socket, tty, ram]
This software may be redistributed under the BSD copyright.
Copyright 2000-2002, Opsycon AB, Sweden.
Copyright 2006, Lemote Corp. Ltd., ICT CAS.
CPU Loongson2F @ 800.02 MHz / Bus @ 66.00 MHz
Memory size 1024 MB (256 MB Low memory, 768 MB High memory) .
Primary Instruction cache size 64kb (32 line, 4 way)
Primary Data cache size 64kb (32 line, 4 way)
Secondary cache size 512kb


file is not set or not exist!
file is not set or not exist!
The boot.cfg not existed!System will try default entry from al.
BEV1
BEV0
BEV in SR set to zero.
PMON> load (wd0,0)/netbsd
Loading file: (wd0,0)/netbsd (elf)
(elf)
0x80200000/8288240 + 0x809e77f0/192272(z) + 11084 syms/
Entry address is 80200000
PMON> g  
   zero      at       v0       v1       a0       a1       a2       a3   
 00000000 00000000 00000000 00000000 00000004 aff7fcf0 aff7fd04 800c7460
    t0       t1       t2       t3       t4       t5       t6       t7   
 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    s0       s1       s2       s3       s4       s5       s6       s7   
 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    t8       t9       k0       k1       gp       sp       s8       ra   
 00000000 00000000 00000000 00000000 00000000 aff7fcd0 00000000 80086c38
[   1.0000000] phys segment: 0x3f5e8000 @ 0x80a18000
[   1.0000000] adding 0x3f5e8000 @ 0x80a18000 to freelist 0
[   1.0000000] Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
[   1.0000000]     2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017,
[   1.0000000]     2018, 2019 The NetBSD Foundation, Inc.  All rights reserved.
[   1.0000000] Copyright (c) 1982, 1986, 1989, 1991, 1993
[   1.0000000]     The Regents of the University of California.  All rights reserved.

[   1.0000000] NetBSD 8.99.37 (LOONGSON) #0: Fri Apr 19 22:06:03 UTC 2019
[   1.0000000] 	mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/evbmips/compile/LOONGSON
[   1.0000000] Lemote Fuloong
[   1.0000000] total memory = 1024 MB
[   1.0000000] avail memory = 1005 MB
[   1.0000000] mainbus0 (root)
[   1.0000000] cpu0 at mainbus0: 800.02MHz (hz cycles = 4000100, delay divisor = 400)
[   1.0000000] cpu0: ICT Loongson 2F CPU (0x6303) Rev. 0.3 with MIPS R4010 FPC Rev. 0.1
[   1.0000000] cpu0: 64 TLB entries, 1TB (40-bit) VAs, 1TB (40-bit) PAs, 16MB max page size
[   1.0000000] cpu0: 64KB/32B 4-way set-associative L1 instruction cache
[   1.0000000] cpu0: 64KB/32B 4-way set-associative write-back L1 data cache
[   1.0000000] cpu0: 512KB/32B 4-way set-associative write-back L2 unified cache
[   1.0000000] bonito0 at mainbus0: Memory and PCI-X controller, rev. 1
[   1.0000000] pci0 at bonito0 bus 0
[   1.0000000] re0 at pci0 dev 6 function 0: RealTek 8169/8110 Gigabit Ethernet (rev. 0x10)
[   1.0000000] re0: interrupting at pci inta
[   1.0000000] re0: Ethernet address 00:23:9e:
[   1.0000000] rgephy0 at re0 phy 7: RTL8211B 1000BASE-T media interface
[   1.0000000] rgephy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
[   1.0000000] sisfb0 at pci0 dev 8 function 0: vendor 1039 product 0325 (rev. 0x00)
[   1.0000000] sisfb0: : 640x400x8 frame buffer
[   1.0000000] wsdisplay0 at sisfb0 kbdmux 1
[   1.0000000] gcscpcib0 at pci0 dev 14 function 0: vendor 1022 product 2090 (rev. 0x03)
[   1.0000030] gcscpcib0: GPIO
[   1.0000030] gpio0 at gcscpcib0: 32 pins
[   1.0000030] viaide0 at pci0 dev 14 function 2: AMD CS5536 IDE Controller (rev. 0x01)
[   1.0000030] viaide0: primary channel interrupting at isa irq 14
[   1.0000030] atabus0 at viaide0 channel 0
[   1.0000030] viaide0: secondary channel ignored (disabled)
[   1.0000030] gcscaudio0 at pci0 dev 14 function 3: AMD Geode CS5536 Audio
[   1.0000030] gcscaudio0: interrupting at isa irq 9
[   1.0000030] gcscaudio0: ac97: Avance Logic ALC655 codec; no 3D stereo
[   1.0000030] gcscaudio0: ac97: ext id 0x9c4<AC97_23,LDAC,SDAC,CDAC,SPDIF>
[   1.0000030] audio0 at gcscaudio0: full duplex, playback, capture, mmap, independent
[   1.0000030] gcscaudio0: Virtual format configured - Format SLINEAR, precision 16, channels 2, frequency 48000
[   1.0000030] gcscaudio0: Latency: 256 milliseconds
[   1.0000030] spkr0 at audio0: PC Speaker (synthesized)
[   1.0000030] wsbell at spkr0 not configured
[   1.0000030] ohci0 at pci0 dev 14 function 4: vendor 1022 product 2094 (rev. 0x02)
[   1.0000030] ohci0: interrupting at isa irq 11
[   1.0000030] ohci0: OHCI version 1.0, legacy support
[   1.0000030] usb0 at ohci0: USB revision 1.0
[   1.0000030] ehci0 at pci0 dev 14 function 5: vendor 1022 product 2095 (rev. 0x02)
[   1.0000030] ehci0: interrupting at isa irq 11
[   1.0000030] ehci0: 1 companion controller, 4 ports: ohci0
[   1.0000030] usb1 at ehci0: USB revision 2.0
[   1.0000030] isa0 at gcscpcib0
[   1.0000030] com0 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
[   1.0000030] com0: console
[   1.0000030] com1 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
[   1.0000030] mcclock0 at isa0 port 0x70-0x71: mc146818 compatible time-of-day clock
[   4.5010005] wd0 at atabus0 drive 0
[   4.5310021] wd0: <Hitachi HTS543232A7A384>
[   4.5447605] wd0: 298 GB, 620181 cyl, 16 head, 63 sec, 512 bytes/sect x 625142448 sectors
[   4.5528180] uhub0 at usb0: NetBSD (0000) OHCI root hub (0000), class 9/0, rev 1.00/1.00, addr 1
[   4.5621029] uhub1 at usb1: NetBSD (0000) EHCI root hub (0000), class 9/0, rev 2.00/1.00, addr 1
[   5.2909928] boot device: wd0
[   5.7109881] root on wd0a dumps on wd0b
[   5.7609885] root file system type: ffs
[   5.7609885] kern.module.path=/stand/evbmips/8.99.37/modules
[   6.0709860] Process (pid 1) got sig 6
[   6.0709860] Process (pid 1) got sig 6
[   6.0836008] panic: init died (signal 0, exit 1)
[   6.0836008] cpu0: Begin traceback...
[   6.0916524] pid -2127430672 not found
[   6.0916524] cpu0: End traceback...
[   6.0916524] kernel: breakpoint trap
Stopped in pid 1.1 (init) at    netbsd:cpu_Debugger+0x4:        lui     at,0xcff
f
db>  bt
0x980000008131fc10: cpu_Debugger+4 (0,ff00,0,ffffffff808f6da0) ra ffffffff805e16
38 sz 0
0x980000008131fc10: vpanic+158 (0,ff00,0,ffffffff808f6da0) ra ffffffff805e16dc s
z 64
0x980000008131fc50: panic+34 (0,0,1,ffffffff807f0000) ra ffffffff8057f408 sz 96
0x980000008131fcb0: exit1+4c0 (0,0,1,ffffffff807f0000) ra ffffffff8057f9a0 sz 19
2
0x980000008131fd70: sys_exit+48 (0,0,1,ffffffff807f0000) ra ffffffff80362f88 sz 3
2
0x980000008131fd90: netbsd32_exit+18 (0,0,1,ffffffff807f0000) ra ffffffff8030d85
0 sz 32
0x980000008131fdb0: syscall+170 (0,0,1,ffffffff807f0000) ra ffffffff80300654 sz 2
40
0x980000008131fea0: loongson2_systemcall+f4 (0,0,1,ffffffff807f0000) ra 785cdeb4
 sz 0
PC 0x785cdeb4: not in kernel space
0x980000008131fea0: 0+785cdeb4 (0,0,1,ffffffff807f0000) ra 0 sz 0
User-level: pid 1.1
db> ps
PID    LID S CPU     FLAGS       STRUCT LWP *               NAME WAIT
1    >   1 7   0         0   98000000bf8884e0               init
0       44 3   0       200   98000000bf889ac0           aiodoned aiodoned
0       43 3   0       200   98000000bf889660            ioflush syncer
0       42 3   0       200   98000000bf889200           pgdaemon pgdaemon
0       41 5   0       200   98000000bf888da0           (zombie)
0       39 3   0       200   98000000bf931640               usb1 usbevt
0       38 3   0       200   98000000bf933940               usb0 usbevt
0       37 3   0       200   98000000bf888940            npfgc-0 npfgccv
0       36 3   0       200   98000000bf888080            rt_free rt_free
0       35 3   0       200   98000000bf931f00              unpgc unpgc
0       34 3   0       200   98000000bf932360    icmp6_wqinput/0 icmp6_wqinput
0       33 3   0       200   98000000bf9327c0          nd6_timer nd6_timer
0       32 3   0       200   98000000bf932c20     icmp_wqinput/0 icmp_wqinput
0       31 3   0       200   98000000bf933080           rt_timer rt_timer
0       30 3   0       200   98000000bf9334e0        vmem_rehash vmem_rehash
0       20 3   0       200   98000000bf9311e0         usbtask-dr usbtsk
0       19 3   0       200   98000000bf930d80         usbtask-hc usbtsk
0       18 3   0       280   98000000bf930920           audiomix play
0       17 3   0       280   98000000bf9304c0           audiorec record
0       16 3   0       200   98000000bf930060            atabus0 atath
0       15 3   0       200   98000000bfecb920             sysmon smtaskq
0       14 3   0       200   98000000bfecb4c0         pmfsuspend pmfsuspend
0       13 3   0       200   98000000bfecb060           pmfevent pmfevent
0       12 3   0       200   98000000bfecac00         sopendfree sopendfr
0       11 3   0       200   98000000bfeca7a0           nfssilly nfssilly
0       10 3   0       200   98000000bfeca340            cachegc cachegc
0        9 3   0       200   98000000bfec9ee0             vdrain vdrain
0        8 3   0       200   98000000bfec9a80          modunload mod_unld
0        7 3   0       200   98000000bfec9620            xcall/0 xcall
0        6 1   0       200   98000000bfec91c0          softser/0
0        5 1   0       200   98000000bfec8d60          softclk/0
0        4 1   0       200   98000000bfec8900          softbio/0
0        3 1   0       200   98000000bfec84a0          softnet/0
0        2 1   0       201   98000000bfec8040             idle/0
0        1 3   0       200   ffffffff8090ac80            swapper uvm

>How-To-Repeat:
Boot a current DAILY build on evbmips64-el
>Fix:



Home | Main Index | Thread Index | Old Index