Port-macppc archive

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

Re: Problems with registers save/restore on context switch?



I have run the same test (with trivial printf's added to show progress)
on a G4, running NetBSD 5.2, AND NetBSD 6.0.2, and it comes through clean.

I have included the logs from these two machines. mercy fails. Candor
run the test cleanly.

I'm not sure what this means, but it seems to imply that the poblem is
CPU specific because it works cleanly on the Beige G3, on a certain G4, but
not on another (faster, newer) G4

-dgl-


This is the CPU info from boot on the FAILING machine:

Dec 18 19:42:15 mercy syslogd[151]: restart
Dec 18 19:42:15 mercy /netbsd: Copyright (c) 1996, 1997, 1998, 1999, 2000, 
2001, 2002, 2003, 2004, 2005,
Dec 18 19:42:15 mercy /netbsd:    2006, 2007, 2008, 2009, 2010, 2011, 2012
Dec 18 19:42:15 mercy /netbsd:    The NetBSD Foundation, Inc.  All rights 
reserved.
Dec 18 19:42:15 mercy /netbsd: Copyright (c) 1982, 1986, 1989, 1991, 1993
Dec 18 19:42:15 mercy /netbsd:    The Regents of the University of California.  
All rights reserved.
Dec 18 19:42:15 mercy /netbsd: 
Dec 18 19:42:15 mercy /netbsd: NetBSD 6.0.2 (GENERIC)
Dec 18 19:42:15 mercy /netbsd: total memory = 1024 MB
Dec 18 19:42:15 mercy /netbsd: oea_startup: failed to allocate DEAD ZONE: 
error=12
Dec 18 19:42:15 mercy /netbsd: avail memory = 982 MB
Dec 18 19:42:15 mercy /netbsd: timecounter: Timecounters tick every 10.000 msec
Dec 18 19:42:15 mercy /netbsd: found openpic PIC at 80040000 
Dec 18 19:42:15 mercy /netbsd: OpenPIC Version 1.2: Supports 4 CPUs and 64 
interrupt sources.
Dec 18 19:42:15 mercy /netbsd: bootpath: /pci@f4000000/ata-6@d/disk@0:0/netbsd
Dec 18 19:42:15 mercy /netbsd: mainbus0 (root)
Dec 18 19:42:15 mercy /netbsd: cpu0 at mainbus0: 7447A (Revision 1.2), ID 0 
(primary)
Dec 18 19:42:15 mercy /netbsd: cpu0: HID0 
0x84d0c1bc<EMCP,EICE,DOZE,NAP,DPM,ICE,DCE,IFEM,SGE,BTIC,FBIOB,ABE,BHT>, 
powersave: 1
Dec 18 19:42:15 mercy /netbsd: cpu0: 1250.00 MHz, 512KB L2 cache no parity 
parity enabled
Dec 18 19:42:15 mercy /netbsd: memory0 at mainbus0: len=128   
Dec 18 19:42:15 mercy /netbsd: spdmem0 at memory0
Dec 18 19:42:15 mercy /netbsd: spdmem0: DDR SDRAM, no parity or ECC, 1GB, 
400MHz (PC-3200)
Dec 18 19:42:15 mercy /netbsd: spdmem0: 13 rows, 11 cols, 2 ranks, 4 
banks/chip, 5.0ns cycle time
Dec 18 19:42:15 mercy /netbsd: spdmem0: tAA-tRCD-tRP-tRAS: 2-3-3-8
Dec 18 19:42:15 mercy /netbsd: spdmem0: voltage SSTL 2.5V, refresh time 7.8us 
(self-refreshing)
Dec 18 19:42:15 mercy /netbsd: uni_n0 at mainbus0 address 0xf8000000
Dec 18 19:42:15 mercy /netbsd: hw-clock at uni_n0 not configured
Dec 18 19:42:15 mercy /netbsd: ki2c0 at uni_n0 address 0xf8001000   
Dec 18 19:42:15 mercy /netbsd: iic1 at ki2c0: I2C bus
Dec 18 19:42:15 mercy /netbsd: cereal at ki2c0 address 0x1c0 not configured
Dec 18 19:42:15 mercy /netbsd: uninorth0 at mainbus0
Dec 18 19:42:15 mercy /netbsd: pci0 at uninorth0 bus 0  
Dec 18 19:42:15 mercy /netbsd: pci0: i/o space, memory space enabled


This following is the same info from the G4 that does NOT fail. This is a
5.2 installation running with a 6.0.2 kernel:

Dec 26 13:07:09 candor /netbsd: rebooting
Dec 26 13:07:09 candor /netbsd:
Dec 26 13:07:09 candor /netbsd: Copyright (c) 1996, 1997, 1998, 1999, 2000, 
2001, 2002, 2003, 2004, 2005,
Dec 26 13:07:09 candor /netbsd: 2006, 2007, 2008, 2009, 2010, 2011, 2012
Dec 26 13:07:09 candor /netbsd: The NetBSD Foundation, Inc.  All rights 
reserved.
Dec 26 13:07:09 candor /netbsd: Copyright (c) 1982, 1986, 1989, 1991, 1993
Dec 26 13:07:09 candor /netbsd: The Regents of the University of California.  
All rights reserved.
Dec 26 13:07:09 candor /netbsd:
Dec 26 13:07:09 candor /netbsd: NetBSD 6.0.2 (GENERIC)
Dec 26 13:07:09 candor /netbsd: total memory = 640 MB
Dec 26 13:07:09 candor /netbsd: avail memory = 606 MB
Dec 26 13:07:09 candor /netbsd: timecounter: Timecounters tick every 10.000 msec
Dec 26 13:07:09 candor /netbsd: found openpic PIC at 80040000
Dec 26 13:07:09 candor /netbsd: OpenPIC Version 1.2: Supports 4 CPUs and 64 
interrupt sources.
Dec 26 13:07:09 candor /netbsd: bootpath: 
/pci@f2000000/@d/mac-io@7/ata-4@1f000/disk@0:0/netbsd
Dec 26 13:07:09 candor /netbsd: mainbus0 (root)
Dec 26 13:07:09 candor /netbsd: cpu0 at mainbus0: 7400 (Revision 2.6), ID 0 
(primary)
Dec 26 13:07:09 candor /netbsd: cpu0: HID0 
0x8094c0a4<EMCP,DOZE,DPM,EIEC,ICE,DCE,SGE,BTIC,BHT>, powersave: 1
Dec 26 13:07:09 candor /netbsd: cpu0: 450.00 MHz, no-parity 1MB WB L2 cache (PB 
SRAM) at 2:1 ratio
Dec 26 13:07:09 candor /netbsd: memory0 at mainbus0: len=512
Dec 26 13:07:09 candor /netbsd: spdmem0 at memory0
Dec 26 13:07:09 candor /netbsd: spdmem0: SDRAM, no parity or ECC, 128MB, 100MHz 
(PC-100)
Dec 26 13:07:09 candor /netbsd: spdmem0: 12 rows, 9 cols, 2 banks, 4 
banks/chip, 10.0ns cycle time
Dec 26 13:07:09 candor /netbsd: spdmem0: tAA-tRCD-tRP-tRAS: 3-20-20-50
Dec 26 13:07:09 candor /netbsd: spdmem0: voltage LvTTL (not 5V tolerant), 
refresh time 15.625us (self-refreshing)
Dec 26 13:07:09 candor /netbsd: spdmem1 at memory0
Dec 26 13:07:09 candor /netbsd: spdmem1: SDRAM, no parity or ECC, 128MB, 125MHz 
(PC-100)
Dec 26 13:07:09 candor /netbsd: spdmem1: 12 rows, 10 cols, 1 banks, 4 
banks/chip, 8.0ns cycle time
Dec 26 13:07:09 candor /netbsd: spdmem1: tAA-tRCD-tRP-tRAS: 3-20-20-50
Dec 26 13:07:09 candor /netbsd: spdmem1: voltage LvTTL (not 5V tolerant), 
refresh time 15.625us (self-refreshing)
Dec 26 13:07:09 candor /netbsd: spdmem2 at memory0
Dec 26 13:07:09 candor /netbsd: spdmem2: SDRAM, no parity or ECC, 128MB, 125MHz 
(PC-100)
Dec 26 13:07:09 candor /netbsd: spdmem2: 12 rows, 10 cols, 1 banks, 4 
banks/chip, 8.0ns cycle time
Dec 26 13:07:09 candor /netbsd: spdmem2: tAA-tRCD-tRP-tRAS: 3-20-20-50
Dec 26 13:07:09 candor /netbsd: spdmem2: voltage LvTTL (not 5V tolerant), 
refresh time 15.625us (self-refreshing)
Dec 26 13:07:09 candor /netbsd: spdmem3 at memory0
Dec 26 13:07:09 candor /netbsd: spdmem3: SDRAM, no parity or ECC, 256MB, 125MHz 
(PC-100)
Dec 26 13:07:09 candor /netbsd: spdmem3: 13 rows, 10 cols, 1 banks, 4 
banks/chip, 8.0ns cycle time
Dec 26 13:07:09 candor /netbsd: spdmem3: tAA-tRCD-tRP-tRAS: 3-20-20-48
Dec 26 13:07:09 candor /netbsd: spdmem3: voltage LvTTL (not 5V tolerant), 
refresh time 7.8us (self-refreshing)
Dec 26 13:07:09 candor /netbsd: uni_n0 at mainbus0 address 0xf8000000
Dec 26 13:07:09 candor /netbsd: ki2c0 at uni_n0 address 0xf8001000
Dec 26 13:07:09 candor /netbsd: iic1 at ki2c0: I2C bus
Dec 26 13:07:09 candor /netbsd: uninorth0 at mainbus0
Dec 26 13:07:09 candor /netbsd: pci0 at uninorth0 bus 0
Dec 26 13:07:09 candor /netbsd: pci0: i/o space, memory space enabled


Home | Main Index | Thread Index | Old Index