NetBSD Problem Report #30327

From www@netbsd.org  Tue May 24 22:25:48 2005
Return-Path: <www@netbsd.org>
Received: by narn.netbsd.org (Postfix, from userid 31301)
	id 6A52F63B11A; Tue, 24 May 2005 22:25:48 +0000 (UTC)
Message-Id: <20050524222548.6A52F63B11A@narn.netbsd.org>
Date: Tue, 24 May 2005 22:25:48 +0000 (UTC)
From: francois.cami@free.fr
Reply-To: francois.cami@free.fr
To: gnats-bugs@netbsd.org
Subject: using X panics NetBSD/sparc on SS20 + cg14 (UP and SMP)
X-Send-Pr-Version: www-1.0

>Number:         30327
>Category:       port-sparc
>Synopsis:       using X panics NetBSD/sparc on SS20 + cg14 (UP and SMP)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-sparc-maintainer
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue May 24 22:26:00 +0000 2005
>Closed-Date:    Wed Jul 07 20:07:08 +0000 2010
>Last-Modified:  Wed Jul 07 20:07:08 +0000 2010
>Originator:     François Cami
>Release:        2.0.2
>Organization:
>Environment:
NetBSD forestiere 2.0.2 NetBSD 2.0.2 (GENERIC) #0: Wed Mar 23 01:25:37 UTC 2005  jmc@faith.netbsd.org:/home/builds/ab/netbsd-2-0-2-RELEASE/sparc/200503220140Z-obj/home/builds/ab/netbsd-2-0-2-RELEASE/src/sys/arch/sparc/compile/GENERIC sparc
>Description:
hardware configuration :
SS20 + 2x SM71 or 2x HM125 + cg14 + hme + 4GB sun/seagate hdd
************************
software configuration :
2.0.2 binaries from ftp.netbsd.org
UP kernel used (SMP kernel crashes too, but stack trace is from UP) on the 2x SM71 config
************************
Using X (cg3 emulation on cg14) easily crashes X, causing either a
"Level 15 interrupt" 
or a 
"watchdog reset" 
or a 
kernel panic  (2.0.2) with stack trace
************************
sample stack trace (I can generate others if needed, it's almost too easy) :
panic: illegal instruction
syncing disks... 20 20 20 20 20 19 19 18 18 18 17 17 16 16 15 15 14 13 13 12 12 12 10 10 9 9 8 8 7 6 6 6 6 giving up
Frame pointer is at 0xf3706b50
Call traceback:
  pc = 0xf027a208  args = (0xf02e1800, 0x5, 0x0, 0x0, 0xf3706c70, 0x1, 0xf3706bb8)  fp = 0xf3706bb8
  pc = 0xf01a3d24  args = (0x100, 0x0, 0x0, 0x0, 0x0, 0x42, 0xf3706c28)  fp = 0xf3706c28
  pc = 0xf0287b68  args = (0xf02ed690, 0x2, 0xf3706e34, 0xf3706e38, 0xf035ec00, 0x100, 0xf3706c90)  fp = 0xf3706c90
  pc = 0xf0008694  args = (0x2, 0x400010c1, 0xf3706e34, 0xf3706dc8, 0x0, 0x0, 0xf3706d68)  fp = 0xf3706d68
  pc = 0xf3706e2c  args = (0x0, 0xf3706e58, 0xf3706e7c, 0xf308ba70, 0xf02b2174, 0xf36f6740, 0xf3706e18)  fp = 0xf3706e18
  pc = 0xeffff510  args = (0x1f0001, 0x14701cc, 0x40008, 0x0, 0x2, 0xeffff520, 0xeffff518)  fp = 0xeffff518

dump to dev 7,1 not possible
rebooting

Resetting ...
****************************
image of stack trace :
http://tinypic.com/5cnn06
****************************
gdb /kernel says :
0xf027a208 <cpu_reboot+452>:    0x4000004d
0xf01a3d24 <panic+232>: 0x400358c8
0xf0287b68 <trap+140>:  0x7ffc7035
0xf0008694 <Lslowtrap_reenter+56>:      0x4009fd12
0xf3706e2c:     Cannot access memory at address 0xf3706e2c
0xeffff510:     Cannot access memory at address 0xeffff510
****************************

NB : I have been unable to crash either OpenBSD 3.7 or Debian/Sarge (XFree 4.3 + 2.4.27).

>How-To-Repeat:
1/ full install of netbsd 2.0.2
2/ install the evilwm package (compiled for 2.0)
3/ put a .xinitrc with the only line "exec evilwm" inside
4/ start X
5/ launch an xterm on virtual desktops #1 and #2 

now :

* switching from desktop #1 and #2 (sc 1 and 2) back and forth does NOT crash (mouse is over only one xterm) which is obviously the expected behaviour

* switching from desktop #1 and #2 (sc 3 and 4) back and forth does crash after a few times (between 4 and 20) (mouse is over both xterms)

(1) http://tinypic.com/5catlu
(2) http://tinypic.com/5catmr
(3) http://tinypic.com/5catn7
(4) http://tinypic.com/5catqd

addendum :
CTRL+ALT+1 (not numeric keypad) is used to activate desktop 1
CTRL+ALT+2 (not numeric keypad) is used to activate desktop 2
CTRL+ALT+ENTER is used to launch an xterm at approximately the mouse's position


>Fix:
none known ( :/ )

>Release-Note:

>Audit-Trail:
From: FD Cami <francois.cami@free.fr>
To: gnats-bugs@NetBSD.org
Cc: francois.cami@free.fr
Subject: Subject: Re: port-sparc/30327
Date: Wed, 25 May 2005 12:59:39 +0200

 add dmesg :

 Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004
     The NetBSD Foundation, Inc.  All rights reserved.
 Copyright (c) 1982, 1986, 1989, 1991, 1993
     The Regents of the University of California.  All rights reserved.

 NetBSD 2.0.2 (GENERIC) #0: Wed Mar 23 01:25:37 UTC 2005
         jmc@faith.netbsd.org:/home/builds/ab/netbsd-2-0-2-RELEASE/sparc/200503220140Z-obj/home/builds/ab/netbsd-2-0-2-RELEASE/src/sys/arch/sparc/compile/GENERIC
 total memory = 383 MB
 avail memory = 370 MB
 bootpath: /iommu@f,e0000000/sbus@f,e0001000/espdma@f,400000/esp@f,800000/sd@3,0
 mainbus0 (root): SUNW,SPARCstation-20: hostid 72362efc
 cpu0 at mainbus0: mid 8: TMS390Z50 v0 or TMS390Z55 @ 75 MHz, on-chip FPU
 cpu0: physical 20K instruction (64 b/l), 16K data (32 b/l), 1024K external (32 b/l): cache enabled
 cpu at mainbus0 not configured
 obio0 at mainbus0
 clock0 at obio0 slot 0 offset 0x200000: mk48t08
 timer0 at obio0 slot 0 offset 0x300000: delay constant 35
 zs0 at obio0 slot 0 offset 0x100000 level 12 softpri 6
 zstty0 at zs0 channel 0
 zstty1 at zs0 channel 1
 zs1 at obio0 slot 0 offset 0x0 level 12 softpri 6
 kbd0 at zs1 channel 0: baud rate 1200 (console input)
 ms0 at zs1 channel 1: baud rate 1200
 fdc0 at obio0 slot 0 offset 0x700000 level 11: no drives attached
 auxreg0 at obio0 slot 0 offset 0x800000
 power0 at obio0 slot 0 offset 0xa01000 level 2
 cgfourteen0 at obio0 slot 2 offset 0x0 level 8: cgthree emulated at 1152x900x8bpp (console)
 cgfourteen0: attached to /dev/fb
 iommu0 at mainbus0 ioaddr 0xe0000000: version 0x1/0x1, page-size 4096, range 64MB
 sbus0 at iommu0: clock = 25 MHz
 dma0 at sbus0 slot 15 offset 0x400000: DMA rev 2
 esp0 at dma0 slot 15 offset 0x800000 level 4: ESP200, 40MHz, SCSI ID 7
 scsibus0 at esp0: 8 targets, 8 luns per target
 ledma0 at sbus0 slot 15 offset 0x400010: DMA rev 2
 le0 at ledma0 slot 15 offset 0xc00000 level 6: address 08:00:20:21:c0:fd
 le0: 8 receive buffers, 2 transmit buffers
 bpp0 at sbus0 slot 15 offset 0x4800000 level 2 (ipl 3): DMA rev 2
 SUNW,DBRIe at sbus0 slot 14 offset 0x10000 level 9 not configured
 hme0 at sbus0 slot 3 offset 0x8c00000 level 4 (ipl 7): Sun Happy Meal Ethernet (SUNW,hme)
 hme0: Ethernet address 08:00:20:21:c0:fd
 nsphy0 at hme0 phy 1: DP83840 10/100 media interface, rev. 1
 nsphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
 eccmemctl0 at mainbus0 ioaddr 0x0: version 0x0/0x2
 Kernelized RAIDframe activated
 scsibus0: waiting 2 seconds for devices to settle...
 sd0 at scsibus0 target 3 lun 0: <SEAGATE, ST34371W SUN4.2G, 7462> disk fixed
 sd0: 4094 MB, 3882 cyl, 16 head, 135 sec, 512 bytes/sect x 8385121 sectors
 sd0: sync (100.00ns offset 15), 8-bit (10.000MB/s) transfers, tagged queueing
 cd0 at scsibus0 target 6 lun 0: <TOSHIBA, XM-4101TASUNSLCD, 1084> cdrom removable
 cd0: async, 8-bit transfers
 root on sd0a dumps on sd0b
 root file system type: ffs

State-Changed-From-To: open->closed
State-Changed-By: macallan@NetBSD.org
State-Changed-When: Wed, 07 Jul 2010 20:07:08 +0000
State-Changed-Why:
CG3 emulation on CG14 is no more


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.