Subject: Re: Re: Re: freeze with lorecore.s (v1.204)
To: Chuck Silvers <chuq@chuq.com>
From: Joel CARNAT <joel@carnat.net>
List: port-sparc64
Date: 03/29/2005 17:42:30
--yrj/dFKFPuw6o+aM
Content-Type: text/plain; charset=iso-8859-15
Content-Disposition: inline
Content-Transfer-Encoding: 8bit

Dans l'épisode précédent (Tue, Mar 29 2005 - 06:48), Chuck Silvers nous apprenait que :
> On Tue, Mar 29, 2005 at 01:10:37PM +0200, Joel CARNAT wrote:
> > Dans l'?pisode pr?c?dent (Sun, Mar 27 2005 - 10:34), Chuck Silvers nous apprenait que :
> > > you're using X on this box now, right?  if so, perhaps the hangs are related
> > 
> >  yes, X was running on this "X special kernel" :)
> > 
> > > to that.  could you try running it with a serial console (and without X)
> > > and see if you can still reproduce the hangs in that configuration?
> > 
> >  I've rebuild/reboot a 2.0_STABLE (with locore 1.204) and my U10 still
> > freezes (here @ lan/perl compilation). As usual - nothing on SSH
> > connection, nothing on connection.
> 
> and just to make sure I'm clear on this, you hadn't run X on the box
> at any point between that reboot and when it hung?
> 

 to be clear, here's what I did :)
1. install NetBSD 2.0, from multi-cd1.iso
2. NFS mount /usr/{src,obj,pkgsrc} from my NetBSD/i386
3. compile/install/test various kernel (with 2.0 userland).

 kernel I checked are : 2.0-RELEASE, 2.0_STABLE, 2.0_STABLE (with locore
1.204), 3.99.1 (the one for X support), 3.0_BETA.

 X was running only for 3.99.1.

 

> 
> > Maybe I should enable DEBUG options.
> > I'll try to include DIAGNOSTIC and SYSCALL_DEBUG to see if I can get
> > something.
> 
> 
> SYSCALL_DEBUG isn't very interesting for this, but DEBUG and DIAGNOSTIC are.
> 

 nothing popped up on the console. hard to tell what's wrong :(

> you might try a -current kernel too, at least for long enough to see if
> the hanging problem is there too.

 I checked "netbsd-3" (cvsed from ~ 12am).
 I never succeed in compiling "pure" -current (I mean with no -r cvs
 flag). I don't know what are the diff between -current and -netbsd-3.
 I thought -netbsd-3 would be the more bleeding edge.

> 
> could you post the full output of dmesg from this box? 
> 

 sure, see attached file.
 I dropped the IDE disk and replace it with "Symbios Logic
 53c875"/"SEAGATE ST336706LW" - because I was told IDE on U10 sucks.
 Indeed, the machine seems to stay UP a bit more longer.

> I'll try running a 2.0.x kernel on my U10 soon and see if I can reproduce it.

 Another point, is I seem to have the problem ** only ** when compiling
 src/pkgsrc (from local disk or NFS). If I leave my U10 alone (aka, just do
 nothing but having it UP), it seems she doesn't freeze. It really looks
 like compiling thing is what she dis-like.

 I would have try to compile things from my NetBSD/i386 but it seems
 it's not possible to cross-compile pkgsrc, true ?

-- 
,-- This mail runs ---------.
`------------ NetBSD/i386 --'

--yrj/dFKFPuw6o+aM
Content-Type: text/plain; charset=iso-8859-15
Content-Disposition: attachment; filename=truc

console is keyboard/display
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
    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 3.0_BETA (GENERIC) #2: Tue Mar 29 14:19:20 CEST 2005
        jcarnat@beezdi:/usr/obj/sys/arch/sparc64/compile/GENERIC
total memory = 512 MB
avail memory = 490 MB
bootpath: /pci@1f,0/pci@1,0/scsi@3,0/disk@1,0
mainbus0 (root): SUNW,Ultra-5_10: hostid 80c66894
cpu0 at mainbus0: SUNW,UltraSPARC-IIi @ 440 MHz, version 0 FPU
cpu0: 32K instruction (32 b/l), 16K data (32 b/l), 2048K external (64 b/l)
psycho0 at mainbus0 addr 0xfffc4000
SUNW,sabre: impl 0, version 0: ign 7c0 bus range 0 to 2; PCI bus 0
DVMA map: c0000000 to e0000000
IOTSB: 868000 to 8e8000
pci0 at psycho0
pci0: i/o space, memory space enabled
ppb0 at pci0 dev 1 function 1: Sun Microsystems Simba PCI bridge (rev. 0x13)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled
ebus0 at pci1 dev 1 function 0
ry space enabled
ppb0 at pci0 dev 1 function 1: Sun Microsystems Simba PCI bridge (rev. 0x13)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled
ebus0 at pci1 dev 1 function 0
ebus0: Sun Microsystems PCIO Ebus2, revision 0x01
auxio0 at ebus0 addr 726000-726003, 728000-728003, 72a000-72a003, 72c000-72c003, 72f000-72f003
power at ebus0 addr 724000-724003 ipl 37 not configured
SUNW,pll at ebus0 addr 504000-504002 not configured
sab0 at ebus0 addr 400000-40007f ipl 43: rev 3.2
sabtty0 at sab0 port 0
sabtty1 at sab0 port 1
com0 at ebus0 addr 3083f8-3083ff ipl 41: ns16550a, working fifo
com0: console
kbd0 at com0 (console input)
com1 at ebus0 addr 3062f8-3062ff ipl 42: ns16550a, working fifo
ms0 at com1
lpt0 at ebus0 addr 3043bc-3043cb, 30015c-30015d, 700000-70000f ipl 34
fdthree at ebus0 addr 3023f0-3023f7, 706000-70600f, 720000-720003 ipl 39 not configured
clock0 at ebus0 addr 0-1fff: mk48t59
flashprom at ebus0 addr 0-fffff not configured
audiocs0 at ebus0 addr 200000-2000ff, 702000-70200f, 704000-70400f, 722000-722003 ipl 35 ipl 36: CS4231A
audio0 at audiocs0: full duplex
hme0 at pci1 dev 1 function 1: Sun Happy Meal Ethernet, rev. 1
hme0: interrupting at ivec 3021
hme0: Ethernet address 08:00:20:c6:68:94
nsphy0 at hme0 phy 1: DP83840 10/100 media interface, rev. 1
nsphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
machfb0 at pci1 dev 2 function 0: ATI Technologies 3D Rage Pro (rev. 0x5c)
machfb0: 16 MB aperture at 0xe1000000, 4 KB registers at 0xe2000000
memctl: 00651a77
machfb0: 4096 KB SGRAM 98.924 MHz, maximum RAMDAC clock 230 MHz
machfb0: initial resolution 1024x768 at 8 bpp
wsdisplay0 at machfb0: console (default, dumb emulation)
cmdide0 at pci1 dev 3 function 0
cmdide0: CMD Technology PCI0646 (rev. 0x03)
cmdide0: bus-master DMA support present
cmdide0: primary channel configured to native-PCI mode
cmdide0: using ivec 1820 for native-PCI interrupt
atabus0 at cmdide0 channel 0
cmdide0: secondary channel configured to native-PCI mode
atabus1 at cmdide0 channel 1
ppb1 at pci0 dev 1 function 0: Sun Microsystems Simba PCI bridge (rev. 0x13)
pci2 at ppb1 bus 2
pci2: i/o space, memory space enabled
esiop0 at pci2 dev 3 function 0: Symbios Logic 53c875 (ultra-wide scsi)
esiop0: using on-board RAM
esiop0: interrupting at ivec 18
scsibus0 at esiop0: 16 targets, 8 luns per target
pcons at mainbus0 not configured
No counter-timer -- using %tick at 440MHz as system clock.
Kernelized RAIDframe activated
scsibus0: waiting 2 seconds for devices to settle...
sd0 at scsibus0 target 1 lun 0: <SEAGATE, ST336706LW, 8A03> disk fixed
sd0: 34732 MB, 26302 cyl, 4 head, 676 sec, 512 bytes/sect x 71132959 sectors
sd0: sync (50.00ns offset 16), 16-bit (40.000MB/s) transfers, tagged queueing
atapibus0 at atabus1: 2 targets
cd0 at atapibus0 drive 0: <CRD-8322B, 1998/09/24, 1.05> cdrom removable
cd0: drive supports PIO mode 4, DMA mode 2
cd0(cmdide0:1:0): using PIO mode 4, DMA mode 2 (using DMA)
root on sd0a dumps on sd0b
root file system type: ffs

--yrj/dFKFPuw6o+aM--