Re: kdb enter when upgrading from 7.1 to current.

From: Marius Strobl <marius_at_alchemy.franken.de>
Date: Sun, 22 Mar 2009 00:20:30 +0100
On Sat, Mar 21, 2009 at 10:40:12PM +0100, Andreas Tobler wrote:
> Hi,
> 
> I get this stacktrace when I try to boot from a Kernel as of today (svn: 
> 190217).
> 
> My setup is a 7.1 install where I'd like to upgrade to current.
> The kernel is built cross, amd64 -> sparc64:
> make -j4 buildkernel TARGET_ARCH=sparc64 KERNCONF=GENERIC
> 
> The target machine itself is a u60, details below.
> 
> Does anyone have a pointer to help me, would be great!
> 
> TIA,
> Andreas
> 
> Hit [Enter] to boot immediately, or any other key for command prompt.
> Booting [/boot/kernel/kernel]...
> jumping to kernel entry at 0xc0080000.
> GDB: no debug ports present
> KDB: debugger backends: ddb
> KDB: current backend: ddb
> Copyright (c) 1992-2009 The FreeBSD Project.
> Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
>         The Regents of the University of California. All rights reserved.
> FreeBSD is a registered trademark of The FreeBSD Foundation.
> FreeBSD 8.0-CURRENT #2 r190217M: Sat Mar 21 22:27:46 CET 2009
> 
> andreast_at_deuterium_fbsd.andreas.nets:/export/devel/obj/sparc64/export/devel/
> fbsd_svn/src/sys/GENERIC
> WARNING: WITNESS option enabled, expect reduced performance.
> real memory  = 1610612736 (1536 MB)
> avail memory = 1554710528 (1482 MB)
> cpu0: Sun Microsystems UltraSparc-II Processor (449.99 MHz CPU)
> ispfw: registered firmware <isp_1000>
> ispfw: registered firmware <isp_1040>
> ispfw: registered firmware <isp_1040_it>
> ispfw: registered firmware <isp_1080>
> ispfw: registered firmware <isp_1080_it>
> ispfw: registered firmware <isp_12160>
> ispfw: registered firmware <isp_12160_it>
> ispfw: registered firmware <isp_2100>
> ispfw: registered firmware <isp_2200>
> ispfw: registered firmware <isp_2300>
> ispfw: registered firmware <isp_2322>
> ispfw: registered firmware <isp_2400>
> kbd0 at kbdmux0
> nexus0: <Open Firmware Nexus device>
> pcib0: <U2P UPA-PCI bridge> mem 
> 0x1fe00004000-0x1fe00005fff,0x1fe01000000-0x1fe0
> 10000ff,0x1fe00000000-0x1fe0000cfff irq 2033,2030,2031,2021,2024,2034 on 
> nexus0
> pcib0: Psycho, impl 0, version 4, IGN 0x1f, bus B, 33MHz
> initializing counter-timer
> Timecounter "pcib0" frequency 1000000 Hz quality 100
> pcib0: DVMA map: 0xfc000000 to 0xffffffff, streaming buffer
> pcib0: [FILTER]
> pcib0: [FILTER]
> pcib0: [GIANT-LOCKED]
> pcib0: [ITHREAD]
> pcib0: [GIANT-LOCKED]
> pcib0: [ITHREAD]
> pcib0: [FILTER]
> pci0: <OFW PCI bus> on pcib0
> ebus0: <PCI-EBus2 bridge> mem 
> 0x70000000-0x70ffffff,0x71000000-0x717fffff at dev
> ice 1.0 on pci0
> auxio0: <Sun Auxiliary I/O> addr 
> 0x1400726000-0x1400726003,0x1400728000-0x140072
> 8003,0x140072a000-0x140072a003,0x140072c000-0x140072c003,0x140072f000-0x140072f0
> 03 on ebus0
> ebus0: <power> addr 0x1400724000-0x1400724003 (no driver attached)
> ebus0: <SUNW,pll> addr 0x1400504000-0x1400504002 (no driver attached)
> ebus0: <sc> addr 0x1400500000-0x1400500007 (no driver attached)
> scc0: <Siemens SAB 82532 dual channel SCC> addr 
> 0x1400400000-0x140040007f irq 43
>  on ebus0
> scc0: [FILTER]
> uart0: <SAB 82532 v3.2, channel A> on scc0
> uart0: [FILTER]
> uart0: CTS oflow
> uart0: console (9600,n,8,1)
> uart1: <SAB 82532 v3.2, channel B> on scc0
> uart1: [FILTER]
> uart1: CTS oflow
> uart2: <16550 or compatible> addr 0x14003083f8-0x14003083ff irq 41 on ebus0
> uart2: [FILTER]
> uart2: keyboard (1200,n,8,1)
> uart2: keyboard not present
> uart3: <16550 or compatible> addr 0x14003062f8-0x14003062ff irq 42 on ebus0
> uart3: [FILTER]
> ebus0: <ecpp> addr 
> 0x14003043bc-0x14003043cb,0x1400300398-0x1400300399,0x1400700
> 000-0x140070000f irq 34 (no driver attached)
> ebus0: <fdthree> addr 
> 0x14003023f0-0x14003023f7,0x1400706000-0x140070600f,0x1400
> 720000-0x1400720003 irq 39 (no driver attached)
> eeprom0: <EEPROM/clock> addr 0x1400000000-0x1400001fff on ebus0
> eeprom0: model mk48t59
> ebus0: <flashprom> addr 0x1000000000-0x10000fffff (no driver attached)
> ebus0: <SUNW,CS4231> addr 
> 0x1400200000-0x14002000ff,0x1400702000-0x140070200f,0x
> 1400704000-0x140070400f,0x1400722000-0x1400722003 irq 35,36 (no driver 
> attached)
> hme0: <Sun HME 10/100 Ethernet> mem 0x100000-0x107fff at device 1.1 on pci0
> miibus0: <MII bus> on hme0
> qsphy0: <QS6612 10/100 media interface> PHY 1 on miibus0
> qsphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
> hme0: Ethernet address: 08:00:20:a3:71:69
> hme0: [ITHREAD]
> sym0: <875> port 0x1000-0x10ff mem 0x108000-0x1080ff,0x10a000-0x10afff 
> at device
>  3.0 on pci0
> sym0: No NVRAM, ID 7, Fast-20, SE, parity checking
> sym0: [ITHREAD]
> sym1: <875> port 0x1400-0x14ff mem 0x10c000-0x10c0ff,0x10e000-0x10efff 
> at device
>  3.1 on pci0
> sym1: No NVRAM, ID 7, Fast-20, SE, parity checking
> sym1: [ITHREAD]
> pcib1: <U2P UPA-PCI bridge> mem 
> 0x1fe00002000-0x1fe00003fff,0x1fe01800000-0x1fe0
> 18000ff,0x1fe00000000-0x1fe0000cfff irq 2032,2030,2031,2021,2024,2034 on 
> nexus0
> pcib1: Psycho, impl 0, version 4, IGN 0x1f, bus A, 66MHz
> pcib1: [FILTER]
> pci1: <OFW PCI bus> on pcib1
> pci1: <bridge> at device 1.0 (no driver attached)
> creator0: <Creator3D> mem 
> 0x1fc00000000-0x1fc000003ff,0x1fc00400000-0x1fc005ffff
> f,0x1fc00600000-0x1fc007fffff,0x1fc01000000-0x1fc013fffff,0x1fc01400000-0x1fc017
> fffff,0x1fc01800000-0x1fc01bfffff,0x1fc01c00000-0x1fc01ffffff,0x1fc02000000-0x1f
> c02ffffff,0x1fc03000000-0x1fc03ffffff,0x1fc04000000-0x1fc043fffff,0x1fc04400000-
> 0x1fc047fffff,0x1fc04800000-0x1fc04bfffff,0x1fc04c00000-0x1fc04ffffff,0x1fc05000
> 000-0x1fc05ffffff,0x1fc06000000-0x1fc07ffffff,0x1fc09000000-0x1fc097fffff,0x1fc0
> 9800000-0x1fc09ffffff,0x1fc0a000000-0x1fc0affffff,0x1fc0b000000-0x1fc0b7fffff,0x
> 1fc0b800000-0x1fc0bffffff,0x1fc0c000000-0x1fc0c3fffff,0x1fc0c800000-0x1fc0cfffff
> f,0x1fc0d000000-0x1fc0d7fffff,0x1fc0d800000-0x1fc0dffffff irq 1925 on nexus0
> creator0: resolution 1152x900
> syscons0: <System console> on nexus0
> syscons0: Unknown <16 virtual consoles, flags=0x100>
> Timecounter "tick" frequency 449992390 Hz quality 1000
> Timecounters tick every 1.000 msec
> Waiting 5 seconds for SCSI devices to settle
> (probe6:sym0:0:6:0): TEST UNIT READY. CDB: 0 0 0 0 0 0
> (probe6:sym0:0:6:0): CAM Status: SCSI Status Error
> (probe6:sym0:0:6:0): SCSI Status: Check Condition
> (probe6:sym0:0:6:0): NOT READY asc:3a,0
> (probe6:sym0:0:6:0): Medium not present
> (probe6:sym0:0:6:0): Unretryable error
> da1 at sym0 bus 0 target 1 lun 0
> da1: <SEAGATE ST39102LCSUN9.0G 0828> Fixed Direct Access SCSI-2 device
> da1: 40.000MB/s transfers (20.000MHz, offset 15, 16bit)
> da1: Command Queueing Enabled
> da1: 8637MB (17689267 512 byte sectors: 255H 63S/T 1101C)
> da0 at sym0 bus 0 target 0 lun 0
> da0: <SEAGATE ST39102LCSUN9.0G 0828> Fixed Direct Access SCSI-2 device
> da0: 40.000MB/s transfers (20.000MHz, offset 15, 16bit)
> da0: Command Queueing Enabled
> da0: 8637MB (17689267 512 byte sectors: 255H 63S/T 1101C)
> cd0 at sym0 bus 0 target 6 lun 0
> cd0: <TOSHIBA XM6201TASUN32XCD 1103> Removable CD-ROM SCSI-2 device
> cd0: 10.000MB/s transfers (10.000MHz, offset 16)
> cd0: Attempt to query device size failed: NOT READY, Medium not present
> WARNING: WITNESS option enabled, expect reduced performance.
> GEOM: da0: adding VTOC8 information.
> GEOM: da1: adding VTOC8 information.
> Trying to mount root from ufs:/dev/da0a
> Loading configuration files.
> kernel dumps on /dev/da0b
> Entropy harvesting: interrupts ethernet point_to_pointpanic: trap: 
> memory addres
> s not aligned
> cpuid = 0
> KDB: enter: panic
> [thread pid 41 tid 100042 ]
> Stopped at      kdb_enter+0x80: ta              %xcc, 1
> db>
> db> bt
> Tracing pid 41 tid 100042 td 0xfffff800213dc370
> panic() at panic+0x20c
> trap() at trap+0x570
> -- memory address not aligned sfar=0xf2fe2877 sfsr=0x40029 %o7=0xc06654b8 --
> stack_capture() at stack_capture+0x114
> stack_save_td() at stack_save_td+0x60
> sysctl_kern_proc_kstack() at sysctl_kern_proc_kstack+0x36c
> sysctl_root() at sysctl_root+0x1ec
> userland_sysctl() at userland_sysctl+0x174
> __sysctl() at __sysctl+0x70
> syscall() at syscall+0x2f0
> -- syscall (202, FreeBSD ELF64, __sysctl) %o7=0x101628 --
> userland() at 0x40445788
> user trace: trap %o7=0x101628
> pc 0x40445788, sp 0x7fdffffd031
> pc 0x101ef8, sp 0x7fdffffd971
> pc 0x102ac4, sp 0x7fdffffdaf1
> pc 0x100ef0, sp 0x7fdffffe451
> pc 0x40208094, sp 0x7fdffffe511
> done

Hrm, this looks like the problem solved with r184376. Do you
cross-compile with a GCC older than 4.2 maybe?

Marius
Received on Sat Mar 21 2009 - 23:00:49 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:44 UTC