NetBSD-Bugs archive

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

Re: kern/59776: 11.0_BETA Kernel from 15.11.25 crashes on MVME17x Board



The following reply was made to PR kern/59776; it has been noted by GNATS.

From: Denis Ahrens <denis%h3q.com@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: kern/59776: 11.0_BETA Kernel from 15.11.25 crashes on MVME17x
 Board
Date: Thu, 20 Nov 2025 11:27:10 +0100

 > On 20. Nov 2025, at 07:50, Martin Husemann via gnats =
 <gnats-admin%NetBSD.org@localhost> wrote:
 >=20
 > The following reply was made to PR kern/59776; it has been noted by =
 GNATS.
 >=20
 > From: Martin Husemann <martin%duskware.de@localhost>
 > To: gnats-bugs%netbsd.org@localhost
 > Cc:=20
 > Subject: Re: kern/59776: 11.0_BETA Kernel from 15.11.25 crashes on =
 MVME17x
 > Board
 > Date: Thu, 20 Nov 2025 07:45:32 +0100
 >=20
 > On Wed, Nov 19, 2025 at 07:25:01PM +0000, denis%h3q.com@localhost wrote:
 >> [   1.0000000] memc at mainbus0 address 0xfff43100 not configured
 >> [   1.0000000] WARNING: system needs entropy for security; see =
 entropy(7)
 >> [   1.0096440] Kernel Illegal Instruction trap.
 >> [   1.0096440] trap type 2, code =3D 0x0, v =3D 0x0
 >> [   1.0096440] kernel program counter =3D 0x17bed4
 >> [   1.0096440] pid =3D 0, lid =3D 0, pc =3D 0017BED4, ps =3D 2500, =
 sfc =3D 1, dfc =3D 1
 >=20
 > According to gdb this should be here:
 >=20
 >    0x17becc <bswap64>:  movel %sp@(4),%d1
 >    0x17bed0 <bswap64+4>:        movel %sp@(8),%d0
 >    0x17bed4 <bswap64+8>:        rolw #8,%d1
 >    0x17bed6 <bswap64+10>:       rolw #8,%d0
 >    0x17bed8 <bswap64+12>:       swap %d1
 >    0x17beda <bswap64+14>:       swap %d0
 >    0x17bedc <bswap64+16>:       rolw #8,%d0
 >    0x17bede <bswap64+18>:       rolw #8,%d1
 >    0x17bee0 <bswap64+20>:       rts
 >    0x17bee2:    nop
 >=20
 > and
 >=20
 > 0x17bed4 <bswap64+8>:   0xe159e158
 >=20
 > Could this be something later overwritten? Bad RAM?
 
 I did test again with the kernel from end of october and it crashes on a =
 different address with the same error:
 
 [   1.0096110] Kernel Illegal Instruction trap.
 [   1.0096110] trap type 2, code =3D 0x0, v =3D 0x0
 [   1.0096110] kernel program counter =3D 0x17be0c
 [   1.0096110] pid =3D 0, lid =3D 0, pc =3D 0017BE0C, ps =3D 2500, sfc =3D=
  1, dfc =3D 1
 [   1.0096110] Registers:
 [   1.0096110]              0        1        2        3        4        =
 5        6        7
 [   1.0096110] dreg: 000041A7 00002504 00000FFF 00000005 00000000 =
 00000000 00000000 00000008
 [   1.0096110] areg: 00215BD4 003D300A 0017BE00 004156C0 003979A4 =
 000C0AAC 003979A8 FFEFFFFC
 
 177-Bug>ds 17be00:10
 0017BE00 203C0000 41A7     MOVE.L      #$41A7,D0
 0017BE06 207C0021 5BD4     MOVEA.L     #$215BD4,A0
 0017BE0C 4C100C01          MULS.L      (A0),D1:D0
 0017BE10 E388              LSL.L       #$1,D0
 0017BE12 E591              ROXL.L      #$2,D1
 0017BE14 D081              ADD.L       D1,D0
 0017BE16 7201              MOVEQ.L     #$1,D1
 0017BE18 D181              ADDX.L      D1,D0
 0017BE1A E288              LSR.L       #$1,D0
 0017BE1C 2080              MOVE.L      D0,(A0)
 0017BE1E 4E75              RTS
 


Home | Main Index | Thread Index | Old Index