On 08/02/2017 12:04 PM, Philippe Gerum wrote:
On 08/02/2017 06:43 PM, Jeff Webb wrote:
I am attempting to upgrade our x86/64 PC systems running
linux-3.14.17/xenomai-2.6.4 to xenomai-3.x.  I have successfully
built and booted a linux-4.1.18/xenomai-3.0.5 kernel on one of
them using:

   ipipe-core-4.1.18-x86-9.patch

however, I cannot boot systems based on:

   ipipe-core-4.4.43-x86-8.patch
   ipipe-core-4.4.71-x86-8.patch
   ipipe-core-4.9.24-x86-2.patch

with the CONFIG_IPIPE=y.  I can get these configurations to boot
by disabling CONFIG_IPIPE.  The main issue seems to be that
the primary hard drive does not work.  There also seems to be an
issue with some of the USB ports.

I have attached several files:

- cpuinfo.txt: cpuinfo for the first core
- boot-4.4.43-ipipeoff.notime: serial boot log (system works)
- boot-4.4.43-ipipeon.notime.matchup: serial boot log (system hangs)
- config-4.4.43-ipipeoff: (system works)
- config-4.4.43-ipipeon: (system hangs)

The times have been stripped from the boot logs and the second
boot log has been slightly rearranged to make diffing with the two
logseasier.  I can send the raw logs instead, if that is helpful.

Any help on getting later kernels to work would be appreciated.

Maybe an issue with a secondary interrupt controller.

- the output of /proc/interrupts on a booting kernel (say 4.9.24) would
help figuring out which ICs are active on this hw.

Please see the interrupts.txt attachment.

As a matter of fact,
the driver has issues receiving events from the SATA controller once the
interrupt pipeline is engaged. Likewise for the USB part as you
mentioned as well.

- does it boot in uniprocessor mode?


Yes, it boots with maxcpus=0 or noapic, but not maxcpus=1.

Thanks,

-Jeff

-------------- next part --------------
CPU0 CPU1 CPU2 CPU3 CPU4 CPU5 CPU6 CPU7 0: 15 0 0 0 0 0 0 0 IR-IO-APIC 2-edge timer
 1:          0          0          0          0          0          2          
0          0  IR-IO-APIC   1-edge      i8042
3: 0 0 0 0 0 0 0 2 IR-IO-APIC 3-edge 4: 0 0 0 0 0 1 1 0 IR-IO-APIC 4-edge 5: 0 0 0 0 0 1 0 1 IR-IO-APIC 5-edge 6: 0 0 0 0 0 0 0 0 IR-IO-APIC 6-edge parport0 7: 0 0 0 0 0 0 1 1 IR-IO-APIC 7-edge 8: 0 0 0 0 0 1 0 0 IR-IO-APIC 8-edge rtc0
 9:          0          0          0          0          0          0          
0          0  IR-IO-APIC   9-fasteoi   acpi
10: 0 0 0 0 1 0 0 1 IR-IO-APIC 10-edge 12: 0 0 0 0 0 3 0 1 IR-IO-APIC 12-edge i8042
16:          0          0          0          0          2         27          
0          0  IR-IO-APIC  16-fasteoi   ehci_hcd:usb1
17:         20          4          0          0        295        124         
43         17  IR-IO-APIC  17-fasteoi   snd_hda_intel:card1
19:       2919         68         34         22       7572       3381        
795        361  IR-IO-APIC  19-fasteoi   ata_piix, ata_piix
23:          0          0          0          0          0         33          
0          0  IR-IO-APIC  23-fasteoi   ehci_hcd:usb2
24:          0          0          0          0          0          0          
0          0  DMAR-MSI   0-edge      dmar0
25:          0          0          0          0          0          0          
0          0  IR-PCI-MSI 16384-edge      PCIe PME
26:          0          0          0          0          0          0          
0          0  IR-PCI-MSI 458752-edge      PCIe PME
27:          0          0          0          0          0          0          
0          0  IR-PCI-MSI 466944-edge      PCIe PME
28:          0          0          0          0          0          0          
0          0  IR-PCI-MSI 471040-edge      PCIe PME
30:          0          0          0          0          1          0          
0          0  IR-PCI-MSI 1589248-edge      pciehp
32:          0          0          0          0          1          0          
0          0  IR-PCI-MSI 1654784-edge      pciehp
35:          0          0          0          0          1          0          
0          0  IR-PCI-MSI 1720320-edge      pciehp
36:          5          0         69          0         23         54        
358          3  IR-PCI-MSI 327680-edge      xhci_hcd
37:          1          0         40          0          3          2          
0          0  IR-PCI-MSI 409600-edge      eno1
38:          0          0          0          0          0          0          
0          0  IR-PCI-MSI 2097152-edge      ens1f0
39:          1          0          0          0          5          2         
10          0  IR-PCI-MSI 2097153-edge      ens1f0-TxRx-0
40:          1          0          0          0          0          0          
1         16  IR-PCI-MSI 2097154-edge      ens1f0-TxRx-1
41:          4          0          0          0          0         13          
0          1  IR-PCI-MSI 2097155-edge      ens1f0-TxRx-2
42:          5         13          0          0          0          0          
0          0  IR-PCI-MSI 2097156-edge      ens1f0-TxRx-3
43:          5          0         13          0          0          0          
0          0  IR-PCI-MSI 2097157-edge      ens1f0-TxRx-4
44:          5          0          0          0          0          0         
13          0  IR-PCI-MSI 2097158-edge      ens1f0-TxRx-5
45:          5          8          0          0          5          0          
0          0  IR-PCI-MSI 2097159-edge      ens1f0-TxRx-6
46:          5          0          0          0          5          0          
0          8  IR-PCI-MSI 2097160-edge      ens1f0-TxRx-7
47:         25          0          0          0         25       2915          
9          2  IR-PCI-MSI 524288-edge      nvkm
48:          0          0          0          0          0          0          
0          0  IR-PCI-MSI 2099200-edge      ens1f1
49:          1          0          0          0          4          0          
0         13  IR-PCI-MSI 2099201-edge      ens1f1-TxRx-0
50:          0          1          0          0          0         14          
3          0  IR-PCI-MSI 2099202-edge      ens1f1-TxRx-1
51:          4          0         14          0          0          0          
0          0  IR-PCI-MSI 2099203-edge      ens1f1-TxRx-2
52:          0          3          0          1          0          1         
13          0  IR-PCI-MSI 2099204-edge      ens1f1-TxRx-3
53:          1          0          3          0          5          8          
1          0  IR-PCI-MSI 2099205-edge      ens1f1-TxRx-4
54:          1          0          0         12          5          0          
0          0  IR-PCI-MSI 2099206-edge      ens1f1-TxRx-5
55:          5          0          0          0          0          0          
0         13  IR-PCI-MSI 2099207-edge      ens1f1-TxRx-6
56:          5          0          0         13          0          0          
0          0  IR-PCI-MSI 2099208-edge      ens1f1-TxRx-7
57:          0          0          0          0          0          0          
0          0  IR-PCI-MSI 5242880-edge      enp10s0
58:          0         13          0          0          1          2          
2          0  IR-PCI-MSI 5242881-edge      enp10s0-TxRx-0
59:          0          1          0         13          0          0          
0          4  IR-PCI-MSI 5242882-edge      enp10s0-TxRx-1
60:          5          0          0          0          0          0          
0         13  IR-PCI-MSI 5242883-edge      enp10s0-TxRx-2
61:          5          0          0          0          0          0         
13          0  IR-PCI-MSI 5242884-edge      enp10s0-TxRx-3
62:          5          2          0          3          7          0          
0          2  IR-PCI-MSI 360448-edge      mei_me
63:        244          6          0          6         76         52          
8         34  IR-PCI-MSI 442368-edge      snd_hda_intel:card0
NMI:          1          0          0          0          0          0          
0          0   Non-maskable interrupts
LOC:       8284       8586       8255       8539      12055      71363       
8630       8336   Local timer interrupts
SPU:          0          0          0          0          0          0          
0          0   Spurious interrupts
PMI:          1          0          0          0          0          0          
0          0   Performance monitoring interrupts
IWI:          0          0          0          0          0          0          
0          0   IRQ work interrupts
RTR:          0          0          0          0          0          0          
0          0   APIC ICR read retries
RES:        792        589        474        304        285        270        
175        204   Rescheduling interrupts
CAL:       2236       2257       2418       2404       2147       2348       
2246       2331   Function call interrupts
TLB:       1214       1427       1332       1369       1129       1289       
1229       1261   TLB shootdowns
TRM:          0          0          0          0          0          0          
0          0   Thermal event interrupts
THR:          0          0          0          0          0          0          
0          0   Threshold APIC interrupts
DFR:          0          0          0          0          0          0          
0          0   Deferred Error APIC interrupts
MCE:          0          0          0          0          0          0          
0          0   Machine check exceptions
MCP:          2          2          2          2          2          2          
2          2   Machine check polls
ERR:          0
MIS:          0
PIN:          0          0          0          0          0          0          
0          0   Posted-interrupt notification event
PIW:          0          0          0          0          0          0          
0          0   Posted-interrupt wakeup event
_______________________________________________
Xenomai mailing list
[email protected]
https://xenomai.org/mailman/listinfo/xenomai

Reply via email to