Port-ia64 archive

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

gcc 4.5 vs 4.8



Hi,

In PR 49717, I submitted some changes to get my rx2600 to netboot
  http://gnats.netbsd.org/49717
I was attempting to get nfsroot working, but GENERIC gcc4.5/gcc4.8
seem to behave differently.

With 4.8, the kernel is dying with "Page Not Present" at different
places depending on what is compiled in the kernel. The dmesg is in
the pr link above.

With 4.5, it is making farther to where it asks for "root device"
similar to what was in this thread
  http://mail-index.netbsd.org/port-ia64/2009/06/18/msg000102.html
and doesn't crash.  The dmesg for 4.5 is below.

It kind of makes sense for 4.5 to stop where it does, since there is
no pci or eth or nfs and a bunch of other stuff needed for nfsroot.

Not sure any conclusions can be drawn given the state of ia64 and how
many "not yet" printf's there are, but I'd guess I'd expect them to
crash near the same place for both gcc versions.

Not knowing a lot about pretty much everything, I'm open for
suggestions.  But I thought I'd attempt to see how far I can get by
slowing adding missing bits for nfsroot.  freebsd works on this
machine so I was also planning to try to merge their latest ia64, but
it is not clear to me what is still missing for netbsd-64.

Thanks

***************************
4.5 dmesg with "build.sh HAVE_GCC=45" :

4652512+109656+120168 [201552+134686]=0x4dd300
netbsd entry at 0xe000000004008000
Entering netbsd at 0xe000000004008000...
PAL Proc at 0xe00000003fac8010
SAL Proc at 0xe00000003fa42970, GP at 0xe00000003f930000
SAL: AP wake-up vector: 0xff
Platform clock frequency 200000000 Hz
Processor ratio 14/2, Bus ratio 1/1, ITC ratio 14/2
MD 0xe00000407ef4a0b0: type 4 pa 0x0 cnt 0x1
MD 0xe00000407ef4a0e0: type 7 pa 0x1000 cnt 0x9f
Loading descriptor 0xe00000407ef4a0e0: 0x1 / 0x28
MD 0xe00000407ef4a110: type 11 pa 0xa0000 cnt 0x20
MD 0xe00000407ef4a140: type 5 pa 0xc0000 cnt 0x40
MD 0xe00000407ef4a170: type 7 pa 0x100000 cnt 0x3f4e4
Descriptor 0xe00000407ef4a170 contains kernel
Loading chunk before kernel: 0x40 / 0x1000
Loading chunk after kernel: 0x1139 / 0xfd79
MD 0xe00000407ef4a1a0: type 5 pa 0x3f5e4000 cnt 0x4dc
MD 0xe00000407ef4a1d0: type 13 pa 0x3fac0000 cnt 0x40
MD 0xe00000407ef4a200: type 7 pa 0x3fb00000 cnt 0x7
Loading descriptor 0xe00000407ef4a200: 0xfec0 / 0xfec1
MD 0xe00000407ef4a230: type 4 pa 0x3fb07000 cnt 0x25
MD 0xe00000407ef4a260: type 9 pa 0x3fb2c000 cnt 0xc
MD 0xe00000407ef4a290: type 6 pa 0x3fb38000 cnt 0x4c8
MD 0xe00000407ef4a2c0: type 11 pa 0x80000000 cnt 0x7e000
MD 0xe00000407ef4a2f0: type 11 pa 0xfed00000 cnt 0x1300
MD 0xe00000407ef4a320: type 7 pa 0x4040000000 cnt 0x3ef4a
Skipping memory chunk start 0x4040000000
MD 0xe00000407ef4a350: type 2 pa 0x407ef4a000 cnt 0x81
MD 0xe00000407ef4a380: type 1 pa 0x407efcb000 cnt 0x33
MD 0xe00000407ef4a3b0: type 7 pa 0x407effe000 cnt 0x2f4
Skipping memory chunk start 0x407effe000
MD 0xe00000407ef4a3e0: type 4 pa 0x407f2f2000 cnt 0x50f
MD 0xe00000407ef4a410: type 7 pa 0x407f801000 cnt 0x13
Skipping memory chunk start 0x407f801000
MD 0xe00000407ef4a440: type 4 pa 0x407f814000 cnt 0x2
MD 0xe00000407ef4a470: type 7 pa 0x407f816000 cnt 0x8
Skipping memory chunk start 0x407f816000
MD 0xe00000407ef4a4a0: type 4 pa 0x407f81e000 cnt 0x1dc
MD 0xe00000407ef4a4d0: type 7 pa 0x407f9fa000 cnt 0x1
MD 0xe00000407ef4a500: type 4 pa 0x407f9fb000 cnt 0x3
MD 0xe00000407ef4a530: type 7 pa 0x407f9fe000 cnt 0x36a
Skipping memory chunk start 0x407f9fe000
MD 0xe00000407ef4a560: type 5 pa 0x407fd68000 cnt 0x3c
MD 0xe00000407ef4a590: type 3 pa 0x407fda4000 cnt 0x5a
MD 0xe00000407ef4a5c0: type 7 pa 0x407fdfe000 cnt 0x12
Skipping memory chunk start 0x407fdfe000
MD 0xe00000407ef4a5f0: type 5 pa 0x407fe10000 cnt 0x6e
MD 0xe00000407ef4a620: type 7 pa 0x407fe7e000 cnt 0x142
Skipping memory chunk start 0x407fe7e000
MD 0xe00000407ef4a650: type 6 pa 0x407ffc0000 cnt 0x40
MD 0xe00000407ef4a680: type 11 pa 0x80000000000 cnt 0x80000000
MD 0xe00000407ef4a6b0: type 12 pa 0x3fffffc000000 cnt 0x4000
ptc.e base=0x0, count1=1, count2=1, stride1=0x0, stride2=0x0
Processor supports 24 Region ID bits
Trying VHPT size 0x10000
Putting VHPT at 0xe000000000020000
vhpt base = e000000000020000 
vhpt size = 10000 
Loaded initial symtab at 0xe00000000448b190, strtab at 0xe0000000044bc4e0, # entries 8374
pmap_reference(0xe00000000447d3c0)
Detected memory  = 1062748160 (1013 MB)
Physical memory chunk(s):
0x0000000000018000 - 0x000000000001ffff, 32768 bytes (2 pages)
0x0000000000050000 - 0x000000000009ffff, 327680 bytes (20 pages)
0x0000000000af4000 - 0x0000000003ffffff, 55623680 bytes (3395 pages)
0x00000000044e4000 - 0x000000003f5e3fff, 990904320 bytes (60480 pages)
0x000000003fb00000 - 0x000000003fb03fff, 16384 bytes (1 pages)
Total number of segments: vm_nphysseg = 5 
pmap_reference(0xe00000000447d3c0)
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015
    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 7.99.8 (GENERIC) #0: Mon Mar 30 17:05:21 EDT 2015
        scole@dstar:/home/scole/nbsd/src/sys/arch/ia64/compile/obj/GENERIC
total memory = 1013 MB
avail memory = 998 MB
Warning: no FPSWA package supplied
Table 'FACP' at 0xe00000003fb369e0
Table 'SPCR' at 0xe00000003fb36b18
Table 'DBGP' at 0xe00000003fb36b68
Table 'APIC' at 0xe00000003fb36c28
        Local APIC address=0xfee00000
        Local APIC override entry
                Local APIC address=0xfee00000
        Local SAPIC entry
                ProcessorId=0x0, Id=0x0, Eid=0x0
        Local SAPIC entry
                ProcessorId=0x1, Id=0x1, Eid=0x0
        I/O SAPIC entry
                Id=0x0, InterruptBase=0x10, Address=0xfed20800
        I/O SAPIC entry
                Id=0x1, InterruptBase=0x1b, Address=0xfed22800
        I/O SAPIC entry
                Id=0x2, InterruptBase=0x26, Address=0xfed24800
        I/O SAPIC entry
                Id=0x3, InterruptBase=0x31, Address=0xfed26800
        I/O SAPIC entry
                Id=0x4, InterruptBase=0x3c, Address=0xfed28800
        I/O SAPIC entry
                Id=0x6, InterruptBase=0x47, Address=0xfed2c800
        I/O SAPIC entry
                Id=0x7, InterruptBase=0x52, Address=0xfed2e800
Table 'SPMI' at 0xe00000003fb36ba0
Table 'CPEP' at 0xe00000003fb36bf0
Table 'SSDT' at 0xe00000003fb33870
Table 'SSDT' at 0xe00000003fb33a50
Table 'SSDT' at 0xe00000003fb33da0
Table 'SSDT' at 0xe00000003fb347c0
Table 'SSDT' at 0xe00000003fb351e0
Table 'SSDT' at 0xe00000003fb35c00
Table 'SSDT' at 0xe00000003fb36620
Table 'SSDT' at 0xe00000003fb36800
Table 'SSDT' at 0xe00000003fb368f0
pmap_reference(0xe00000000447d3c0)
pmap_reference(0xe00000000447d3c0)
timecounter: Timecounters tick every 10.000 msec
mainbus0 (root)
cpu0 at mainbus0: ProcessorID 0, Id 0, Eid 0
cpu0: Madison (1400.00-MHz Itanium 2)
cpu0: Origin "GenuineIntel",  Revision 5
cpu0: Features 0x1<LB>
cpu1 at mainbus0: ProcessorID 1, Id 1, Eid 0
cpu1: Madison (1400.00-MHz Itanium 2)
cpu1: Origin "GenuineIntel",  Revision 5
cpu1: Features 0x1<LB>
ACPI: RSDP 0x000000003FB2E000 000028 (v02 HP    )
ACPI: XSDT 0x000000003FB2E02C 00009C (v01 HP     rx2600   00000000 HP   00000000)
ACPI: FACP 0x000000003FB369E0 0000F4 (v03 HP     rx2600   00000000 HP   00000000)
ACPI BIOS Warning (bug): 32/64X length mismatch in FADT/Gpe0Block: 32/16 (20140926/tbfadt-648)
ACPI BIOS Warning (bug): 32/64X length mismatch in FADT/Gpe1Block: 32/16 (20140926/tbfadt-648)
ACPI: DSDT 0x000000003FB2E0E0 005781 (v01 HP     rx2600   00000007 INTL 02012044)
ACPI: FACS 0x000000003FB36AD8 000040
ACPI: SPCR 0x000000003FB36B18 000050 (v01 HP     rx2600   00000000 HP   00000000)
ACPI: DBGP 0x000000003FB36B68 000034 (v01 HP     rx2600   00000000 HP   00000000)
ACPI: APIC 0x000000003FB36C28 0000C0 (v01 HP     rx2600   00000000 HP   00000000)
ACPI: SPMI 0x000000003FB36BA0 000050 (v04 HP     rx2600   00000000 HP   00000000)
ACPI: CPEP 0x000000003FB36BF0 000034 (v01 HP     rx2600   00000000 HP   00000000)
ACPI: SSDT 0x000000003FB33870 0001D6 (v01 HP     rx2600   00000006 INTL 02012044)
ACPI: SSDT 0x000000003FB33A50 000342 (v01 HP     rx2600   00000006 INTL 02012044)
ACPI: SSDT 0x000000003FB33DA0 000A16 (v01 HP     rx2600   00000006 INTL 02012044)
ACPI: SSDT 0x000000003FB347C0 000A16 (v01 HP     rx2600   00000006 INTL 02012044)
ACPI: SSDT 0x000000003FB351E0 000A16 (v01 HP     rx2600   00000006 INTL 02012044)
ACPI: SSDT 0x000000003FB35C00 000A16 (v01 HP     rx2600   00000006 INTL 02012044)
ACPI: SSDT 0x000000003FB36620 0001D8 (v01 HP     rx2600   00000006 INTL 02012044)
ACPI: SSDT 0x000000003FB36800 0000EB (v01 HP     rx2600   00000006 INTL 02012044)
ACPI: SSDT 0x000000003FB368F0 0000EF (v01 HP     rx2600   00000006 INTL 02012044)
ACPI: All ACPI Tables successfully acquired
acpi0 at mainbus0: Intel ACPICA 20140926
acpi0: X/RSDT: OemId <    HP,  rx2600,00000000>, AslId <  HP,00000000>
acpi0: SCI interrupting at int 36
timecounter: Timecounter "ACPI-Fast" frequency 3579545 Hz quality 1000
SBA0 (HWP0001) at acpi0 not configured
MI0 (IPI0001) at acpi0 not configured
PCI0 (HWP0002) at acpi0 not configured
PCI1 (HWP0002) at acpi0 not configured
com0 at acpi0 (SER0, PNP0501-0): mem 0xff5e0000-0xff5e0007 irq 34
com0: ns16550a, working fifo
com1 at acpi0 (SER1, PNP0501-65536): mem 0xff5e2000-0xff5e2007 irq 35
com1: ns16550a, working fifo
PCI2 (HWP0002) at acpi0 not configured
PCI3 (HWP0002) at acpi0 not configured
PCI4 (HWP0002) at acpi0 not configured
PCI6 (HWP0002) at acpi0 not configured
PCI7 (HWP0002) at acpi0 not configured
acpitz0 at acpi0 (THM0)
acpitz0: levels: critical 35.8 C, passive cooling
ACPI: Enabled 1 GPEs in block 10 to 1F
ACPI Exception: AE_NOT_FOUND, While evaluating Sleep State [\_S0_] (20140926/hwxface-646)
ACPI Exception: AE_NOT_FOUND, While evaluating Sleep State [\_S1_] (20140926/hwxface-646)
ACPI Exception: AE_NOT_FOUND, While evaluating Sleep State [\_S2_] (20140926/hwxface-646)
ACPI Exception: AE_NOT_FOUND, While evaluating Sleep State [\_S3_] (20140926/hwxface-646)
ACPI Exception: AE_NOT_FOUND, While evaluating Sleep State [\_S4_] (20140926/hwxface-646)
timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
timecounter: Timecounter "ia64_timecounter" frequency 1400000000 Hz quality 100
rn_init: radix functions require max_keylen be set
pmap_create()
WARNING: can't figure what device matches "XXX"
root device: 


Home | Main Index | Thread Index | Old Index