On 2017-01-17 15:45, Vaidyanath, Rajiv wrote:
> I am trying to activate the NIC in the non-root cell and hit a snag.
> Note that this is running the debut output that you wanted earlier.
> 
> 
> Attaching, the updated config files.
> 
> 
> buildroot login: root
> # ifconfig eth0 10.134.30.231 netmask 255.255.255.0 broadcast 10.134.30.255
> arch_pci_update_msi: 400: 0 00800000 00000000 00000000 00000000
> arch_pci_update_msi: 400: 0 00800000 00000000 00000000 00000000
> arch_pci_update_msi: 400: 0 00800000 fee04000 00000000 00000000
> arch_pci_update_msi: 400: 0 00800000 fee04000 00000000 00000000
> arch_pci_update_msi: 400: 0 00800000 fee04000 00000000 00004031
> arch_pci_update_msi: 400: 1 00810000 fee04000 00000000 00004031
> 400004031 97
> arch_pci_update_msi: 400: 1 00810000 fee04000 00000000 00004031
> 400004031 97
> arch_pci_update_msi: 400: 1 00810000 fee04000 00000000 00004031
> 400004031 97
> arch_pci_update_msi: 400: 1 00810000 fee04000 00000000 00004031
> 400004031 97
> arch_pci_update_msi: 400: 1 00810000 fee04000 00000000 00004031
> 400004031 97
> arch_pci_update_msi: 400: 1 00810000 fee04000 00000000 00004031
> 400004031 97
> arch_pci_update_msi: 400: 1 00810000 fee04000 00000000 00004031
> 400004031 97
> arch_pci_update_msi: 400: 1 00810000 fee04000 00000000 00004031
> 400004031 97
> arch_pci_update_msi: 400: 1 00810000 fee04000 00000000 00004031
> 400004031 97
> arch_pci_update_msi: 400: 1 00810000 fee04000 00000000 00004031
> 400004031 97
> arch_pci_update_msi: 400: 1 00810000 00000000 00000000 00004031
> 4031 -1

Interesting. The guest is reprogramming the MSI vector a) while it is
enabled and b) to an invalid (zeroed) address. Is that standard Linux?
Which kernel version?

> FATAL: Invalid PCI config write, port: cfc, size 4, address port: 800400ec
> RIP: 0xffffffff81702358 RSP: 0xffffc9000022b9f8 FLAGS: 46
> RAX: 0x0000000000000000 RBX: 0x00000000000000ec RCX: 0x00000000000000ec
> RDX: 0x0000000000000cfc RSI: 0x0000000000000097 RDI: 0x00000000800400ec
> CS: 10 BASE: 0x0000000000000000 AR-BYTES: a09b EFER.LMA 1
> CR0: 0x0000000080050033 CR3: 0x000000000acaf000 CR4: 0x00000000001426f0
> EFER: 0x0000000000000d01
> Parking CPU 2 (Cell: "linux2")
> 

We could be more permissive on the Jailhouse side, ignoring (masking)
invalid vectors. But I'd like to understand the background first.

Jan

-- 
Siemens AG, Corporate Technology, CT RDA ITP SES-DE
Corporate Competence Center Embedded Linux

-- 
You received this message because you are subscribed to the Google Groups 
"Jailhouse" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to