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

[Xen-users] page fault for mpt2sas in domU ?



Hi everyone,

new subscriber here, and fairly new to Xen.
I have managed to install a dom0 (alpine 2.7) and a domU (debian 7.0)

I am trying to pass through my LSI 8i controller to the domU but the driver does not load correctly with a page fault (see below) but is visible in lsmod.

If i boot using the regular kernel in alpine (instead of the Xen kernel) it woels like a charm and i can see al my disks (see below the first log).

I could not help but notice that the regular alpine kernel loads a 64 bits driver v14 while the debian domU loads a 32 bits driver v10

Any help appreciated

Pierre


------ debian domU dmesg -----

[ÂÂÂ 1.928289] pcifront pci-0: Installing PCI frontend
[ÂÂÂ 1.928348] pcifront pci-0: Creating PCI Frontend Bus 0000:00
[ÂÂÂ 1.928453] pci 0000:00:00.0: [1000:0072] type 0 class 0x000107
[ 1.928529] pci 0000:00:00.0: reg 10: [io 0xe000-0xe0ff]
[ÂÂÂ 1.928605] pci 0000:00:00.0: reg 14: [mem 0xf05c0000-0xf05c3fff 64bit]
[ÂÂÂ 1.928687] pci 0000:00:00.0: reg 1c: [mem 0xf0580000-0xf05bffff 64bit]
[ÂÂÂ 1.929150] pci 0000:00:00.0: supports D1 D2
[ÂÂÂ 1.929327] pci 0000:00:00.0: reg 174: [mem 0x00000000-0x00003fff 64bit]
[ÂÂÂ 1.929396] pci 0000:00:00.0: reg 17c: [mem 0x00000000-0x0003ffff 64bit]
[ÂÂÂ 1.931069] pcifront pci-0: claiming resource 0000:00:00.0/0
[ÂÂÂ 1.931072] pcifront pci-0: claiming resource 0000:00:00.0/1
[ÂÂÂ 1.931073] pcifront pci-0: claiming resource 0000:00:00.0/3
[ÂÂÂ 1.965854] alg: No test for __gcm-aes-aesni (__driver-gcm-aes-aesni)
[ÂÂÂ 2.032179] SCSI subsystem initialized
[ÂÂÂ 2.039196] mpt2sas version 10.100.00.00 loaded
[ÂÂÂ 2.039451] scsi0 : Fusion MPT SAS Host
[ÂÂÂ 2.039659] mpt2sas 0000:00:00.0: enabling device (0000 -> 0002)
[ÂÂÂ 2.039748] mpt2sas 0000:00:00.0: Xen PCI mapped GSI16 to IRQ26
[ÂÂÂ 2.039802] mpt2sas 0000:00:00.0: setting latency timer to 64
[ÂÂÂ 2.039812] mpt2sas0: 32 BIT PCI BUS DMA ADDRESSING SUPPORTED, total mem (2052956 kB)
[ÂÂÂ 2.040248] BUG: unable to handle kernel paging request at ffffc9000031e00c
[ÂÂÂ 2.040255] IP: [<ffffffff811d663e>] msix_mask_irq+0x1e/0x24
[ÂÂÂ 2.040263] PGD 7d21a067 PUD 7d21b067 PMD 7d31e067 PTE 80100000f05c2465
[ÂÂÂ 2.040269] Oops: 0003 [#1] SMP
[ÂÂÂ 2.040272] CPU 0
[ÂÂÂ 2.040274] Modules linked in: mpt2sas(+) raid_class scsi_transport_sas scsi_mod coretemp crc32c_intel ghash_clmulni_intel evdev aesni_intel aes_x86_64 snd_pcm snd_page_alloc snd_timer snd soundcore xen_pcifront pcspkr aes_generic cryptd ext4 crc16 jbd2 mbcache xen_blkfront xen_netfront
[ÂÂÂ 2.040294]
[ÂÂÂ 2.040297] Pid: 351, comm: modprobe Not tainted 3.2.0-4-amd64 #1 Debian 3.2.54-2Â
[ÂÂÂ 2.040302] RIP: e030:[<ffffffff811d663e>]Â [<ffffffff811d663e>] msix_mask_irq+0x1e/0x24
[ÂÂÂ 2.040307] RSP: e02b:ffff88007c2a5b90Â EFLAGS: 00010286
[ÂÂÂ 2.040310] RAX: 0000000000000001 RBX: ffff88007a533000 RCX: 0000000000000001
[ÂÂÂ 2.040313] RDX: ffffc9000031e00c RSI: 0000000000000001 RDI: ffff88007c678a00
[ÂÂÂ 2.040316] RBP: ffff88007c678a00 R08: ffff88007c370200 R09: 000000000000001b
[ÂÂÂ 2.040319] R10: ffff88007a760400 R11: 000000000000001b R12: 0000000000000000
[ÂÂÂ 2.040322] R13: ffff88007c376d40 R14: ffff88007a533920 R15: 00000000000000c2
[ÂÂÂ 2.040328] FS:Â 00007fc948889700(0000) GS:ffff88007fc00000(0000) knlGS:0000000000000000
[ÂÂÂ 2.040332] CS:Â e033 DS: 0000 ES: 0000 CR0: 000000008005003b
[ÂÂÂ 2.040334] CR2: ffffc9000031e00c CR3: 000000007bba7000 CR4: 0000000000042660
[ÂÂÂ 2.040338] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ÂÂÂ 2.040341] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
[ÂÂÂ 2.040345] Process modprobe (pid: 351, threadinfo ffff88007c2a4000, task ffff88007a740400)
[ÂÂÂ 2.040349] Stack:
[ÂÂÂ 2.040352]Â ffffffff811d72a4 0000000000000008 ffffffff00000000 ffff88007a533920
[ÂÂÂ 2.040360]Â 0000000000000000 ffffc9000031e000 0000000c810eca13 ffff88007a533000
[ÂÂÂ 2.040368]Â c00e000000002000 0000000000004000 ffff88007a533000 00000000f05c0000
[ÂÂÂ 2.040374] Call Trace:
[ÂÂÂ 2.040379]Â [<ffffffff811d72a4>] ? pci_enable_msix+0x292/0x356
[ÂÂÂ 2.040389]Â [<ffffffffa014e11d>] ? mpt2sas_base_map_resources+0x2a6/0x48a [mpt2sas]
[ÂÂÂ 2.040400]Â [<ffffffffa0150357>] ? mpt2sas_base_attach+0xaa/0xf85 [mpt2sas]
[ÂÂÂ 2.040409]Â [<ffffffff8103b013>] ? ttwu_do_wakeup+0x50/0xc4
[ÂÂÂ 2.040416]Â [<ffffffff81070ff7>] ? arch_local_irq_restore+0x7/0x8
[ÂÂÂ 2.040423]Â [<ffffffff8134fdc7>] ? _raw_spin_unlock_irqrestore+0xe/0xf
[ÂÂÂ 2.040430]Â [<ffffffff8103f6aa>] ? try_to_wake_up+0x187/0x197
[ÂÂÂ 2.040436]Â [<ffffffff8105c7ab>] ? __alloc_workqueue_key+0x1e6/0x27e
[ÂÂÂ 2.040446]Â [<ffffffffa015480b>] ? _scsih_probe+0x3c4/0x466 [mpt2sas]
[ÂÂÂ 2.040452]Â [<ffffffff811c68ff>] ? local_pci_probe+0x39/0x68
[ÂÂÂ 2.040455]Â [<ffffffff811c73a8>] ? pci_device_probe+0xcd/0xfa
[ÂÂÂ 2.040460]Â [<ffffffff8125876d>] ? spin_unlock_irq+0xa/0xb
[ÂÂÂ 2.040464]Â [<ffffffff8125229d>] ? driver_probe_device+0xa8/0x138
[ÂÂÂ 2.040468]Â [<ffffffff8125237c>] ? __driver_attach+0x4f/0x6f
[ÂÂÂ 2.040473]Â [<ffffffff8125232d>] ? driver_probe_device+0x138/0x138
[ÂÂÂ 2.040477]Â [<ffffffff81250ecc>] ? bus_for_each_dev+0x4f/0x7a
[ÂÂÂ 2.040480]Â [<ffffffff81251c36>] ? bus_add_driver+0xa5/0x1f5
[ÂÂÂ 2.040484]Â [<ffffffffa0135000>] ? 0xffffffffa0134fff
[ÂÂÂ 2.040488]Â [<ffffffff812527a4>] ? driver_register+0x8d/0xf5
[ÂÂÂ 2.040491]Â [<ffffffffa0135000>] ? 0xffffffffa0134fff
[ÂÂÂ 2.040494]Â [<ffffffff811c7bc3>] ? __pci_register_driver+0x4d/0xb6
[ÂÂÂ 2.040498]Â [<ffffffffa0135000>] ? 0xffffffffa0134fff
[ÂÂÂ 2.040503]Â [<ffffffffa013514e>] ? _scsih_init+0x14e/0x1000 [mpt2sas]
[ÂÂÂ 2.040507]Â [<ffffffff81002085>] ? do_one_initcall+0x75/0x12c
[ÂÂÂ 2.040511]Â [<ffffffffa0135000>] ? 0xffffffffa0134fff
[ÂÂÂ 2.040514]Â [<ffffffff81075929>] ? sys_init_module+0x10c/0x25b
[ÂÂÂ 2.040518]Â [<ffffffff81354d92>] ? system_call_fastpath+0x16/0x1b
[ÂÂÂ 2.040521] Code: 88 f9 89 c2 d3 e2 88 d1 d3 e0 ff c8 c3 8b 47 08 0f b7 57 02 83 e0 fe c1 e2 04 89 c1 83 c9 01 83 c2 0c 85 f6 0f 45 c1 48 03 57 20 <89> 02 89 47 08 c3 8b 05 16 f0 46 00 c3 89 f0 8b 77 38 48 8b 7f
[ÂÂÂ 2.040553] RIPÂ [<ffffffff811d663e>] msix_mask_irq+0x1e/0x24
[ÂÂÂ 2.040557]Â RSP <ffff88007c2a5b90>
[ÂÂÂ 2.040559] CR2: ffffc9000031e00c
[ÂÂÂ 2.040561] ---[ end trace d0149b863095a959 ]---


------ alpine regular kernel dmesg ----

[Â 306.644079] mpt2sas version 14.100.00.00 loaded
[Â 306.644141] scsi6 : Fusion MPT SAS Host
[Â 306.644477] mpt2sas0: 64 BIT PCI BUS DMA ADDRESSING SUPPORTED, total mem (8013848 kB)
[Â 306.644510] mpt2sas 0000:01:00.0: irq 48 for MSI/MSI-X
[Â 306.644531] mpt2sas0-msix0: PCI-MSI-X enabled: IRQ 48
[Â 306.644533] mpt2sas0: iomem(0x00000000f05c0000), mapped(0xffffc90005308000), size(16384)
[Â 306.644534] mpt2sas0: ioport(0x000000000000e000), size(256)
[Â 307.010082] mpt2sas0: Allocated physical memory: size(7418 kB)
[Â 307.010084] mpt2sas0: Current Controller Queue Depth(3307), Max Controller Queue Depth(3432)
[Â 307.010085] mpt2sas0: Scatter Gather Elements per IO(128)
[Â 307.202325] mpt2sas0: LSISAS2008: FWVersion(18.00.00.00), ChipRevision(0x03), BiosVersion(00.00.00.00)
[Â 307.202327] mpt2sas0: Protocol=(Initiator,Target), Capabilities=(TLR,EEDP,Snapshot Buffer,Diag Trace Buffer,Task Set Full,NCQ)
[Â 307.202382] mpt2sas0: sending port enable !!
[Â 308.818227] mpt2sas0: host_add: handle(0x0001), sas_addr(0x500605b007a5f980), phys(8)
[Â 309.317607] scsi 6:0:0:0: Direct-AccessÂÂÂÂ ATAÂÂÂÂÂ HGST HTS541010A9 A560 PQ: 0 ANSI: 6
[Â 309.317611] scsi 6:0:0:0: SATA: handle(0x0009), sas_addr(0x4433221100000000), phy(0), device_name(0x0000000000000000)
[Â 309.317613] scsi 6:0:0:0: SATA: enclosure_logical_id(0x500605b007a5f980), slot(3)
[Â 309.317707] scsi 6:0:0:0: atapi(n), ncq(y), asyn_notify(n), smart(y), fua(y), sw_preserve(y)
[Â 309.317710] scsi 6:0:0:0: qdepth(32), tagged(1), simple(0), ordered(0), scsi_level(7), cmd_que(1)
[Â 309.567468] scsi 6:0:1:0: Direct-AccessÂÂÂÂ ATAÂÂÂÂÂ HGST HTS541010A9 A560 PQ: 0 ANSI: 6
[Â 309.567472] scsi 6:0:1:0: SATA: handle(0x000a), sas_addr(0x4433221101000000), phy(1), device_name(0x0000000000000000)
[Â 309.567474] scsi 6:0:1:0: SATA: enclosure_logical_id(0x500605b007a5f980), slot(2)
[Â 309.567553] scsi 6:0:1:0: atapi(n), ncq(y), asyn_notify(n), smart(y), fua(y), sw_preserve(y)
[Â 309.567555] scsi 6:0:1:0: qdepth(32), tagged(1), simple(0), ordered(0), scsi_level(7), cmd_que(1)
[Â 309.817329] scsi 6:0:2:0: Direct-AccessÂÂÂÂ ATAÂÂÂÂÂ HGST HTS541010A9 A560 PQ: 0 ANSI: 6
[Â 309.817334] scsi 6:0:2:0: SATA: handle(0x000b), sas_addr(0x4433221102000000), phy(2), device_name(0x0000000000000000)
[Â 309.817335] scsi 6:0:2:0: SATA: enclosure_logical_id(0x500605b007a5f980), slot(1)
[Â 309.817416] scsi 6:0:2:0: atapi(n), ncq(y), asyn_notify(n), smart(y), fua(y), sw_preserve(y)
[Â 309.817419] scsi 6:0:2:0: qdepth(32), tagged(1), simple(0), ordered(0), scsi_level(7), cmd_que(1)
[Â 310.067465] scsi 6:0:3:0: Direct-AccessÂÂÂÂ ATAÂÂÂÂÂ HGST HTS541010A9 A560 PQ: 0 ANSI: 6
[Â 310.067469] scsi 6:0:3:0: SATA: handle(0x000c), sas_addr(0x4433221103000000), phy(3), device_name(0x0000000000000000)
[Â 310.067471] scsi 6:0:3:0: SATA: enclosure_logical_id(0x500605b007a5f980), slot(0)
[Â 310.067550] scsi 6:0:3:0: atapi(n), ncq(y), asyn_notify(n), smart(y), fua(y), sw_preserve(y)
[Â 310.067552] scsi 6:0:3:0: qdepth(32), tagged(1), simple(0), ordered(0), scsi_level(7), cmd_que(1)
[Â 310.317033] scsi 6:0:4:0: Direct-AccessÂÂÂÂ ATAÂÂÂÂÂ HGST HTS541010A9 A560 PQ: 0 ANSI: 6
[Â 310.317038] scsi 6:0:4:0: SATA: handle(0x000d), sas_addr(0x4433221104000000), phy(4), device_name(0x0000000000000000)
[Â 310.317040] scsi 6:0:4:0: SATA: enclosure_logical_id(0x500605b007a5f980), slot(7)
[Â 310.317120] scsi 6:0:4:0: atapi(n), ncq(y), asyn_notify(n), smart(y), fua(y), sw_preserve(y)
[Â 310.317122] scsi 6:0:4:0: qdepth(32), tagged(1), simple(0), ordered(0), scsi_level(7), cmd_que(1)
[Â 310.566916] scsi 6:0:5:0: Direct-AccessÂÂÂÂ ATAÂÂÂÂÂ HGST HTS541010A9 A560 PQ: 0 ANSI: 6
[Â 310.566920] scsi 6:0:5:0: SATA: handle(0x000e), sas_addr(0x4433221105000000), phy(5), device_name(0x0000000000000000)
[Â 310.566922] scsi 6:0:5:0: SATA: enclosure_logical_id(0x500605b007a5f980), slot(6)
[Â 310.567001] scsi 6:0:5:0: atapi(n), ncq(y), asyn_notify(n), smart(y), fua(y), sw_preserve(y)
[Â 310.567003] scsi 6:0:5:0: qdepth(32), tagged(1), simple(0), ordered(0), scsi_level(7), cmd_que(1)
[Â 310.816764] scsi 6:0:6:0: Direct-AccessÂÂÂÂ ATAÂÂÂÂÂ HGST HTS541010A9 A560 PQ: 0 ANSI: 6
[Â 310.816769] scsi 6:0:6:0: SATA: handle(0x000f), sas_addr(0x4433221106000000), phy(6), device_name(0x0000000000000000)
[Â 310.816771] scsi 6:0:6:0: SATA: enclosure_logical_id(0x500605b007a5f980), slot(5)
[Â 310.816852] scsi 6:0:6:0: atapi(n), ncq(y), asyn_notify(n), smart(y), fua(y), sw_preserve(y)
[Â 310.816854] scsi 6:0:6:0: qdepth(32), tagged(1), simple(0), ordered(0), scsi_level(7), cmd_que(1)
[Â 311.067175] scsi 6:0:7:0: Direct-AccessÂÂÂÂ ATAÂÂÂÂÂ HGST HTS541010A9 A560 PQ: 0 ANSI: 6
[Â 311.067180] scsi 6:0:7:0: SATA: handle(0x0010), sas_addr(0x4433221107000000), phy(7), device_name(0x0000000000000000)
[Â 311.067181] scsi 6:0:7:0: SATA: enclosure_logical_id(0x500605b007a5f980), slot(4)
[Â 311.067261] scsi 6:0:7:0: atapi(n), ncq(y), asyn_notify(n), smart(y), fua(y), sw_preserve(y)
[Â 311.067263] scsi 6:0:7:0: qdepth(32), tagged(1), simple(0), ordered(0), scsi_level(7), cmd_que(1)
[Â 313.944493] mpt2sas0: port enable: SUCCESS
[Â 313.945870] sd 6:0:1:0: [sdc] 1953525168 512-byte logical blocks: (1.00 TB/931 GiB)
[Â 313.945874] sd 6:0:1:0: [sdc] 4096-byte physical blocks
[Â 313.946493] sd 6:0:0:0: [sdb] 1953525168 512-byte logical blocks: (1.00 TB/931 GiB)
[Â 313.946496] sd 6:0:0:0: [sdb] 4096-byte physical blocks
[Â 313.946511] sd 6:0:5:0: [sdg] 1953525168 512-byte logical blocks: (1.00 TB/931 GiB)
[Â 313.946514] sd 6:0:5:0: [sdg] 4096-byte physical blocks
[Â 313.946647] sd 6:0:2:0: [sdd] 1953525168 512-byte logical blocks: (1.00 TB/931 GiB)
[Â 313.946650] sd 6:0:2:0: [sdd] 4096-byte physical blocks
[Â 313.946659] sd 6:0:3:0: [sde] 1953525168 512-byte logical blocks: (1.00 TB/931 GiB)
[Â 313.946661] sd 6:0:3:0: [sde] 4096-byte physical blocks
[Â 313.947012] sd 6:0:6:0: [sdh] 1953525168 512-byte logical blocks: (1.00 TB/931 GiB)
[Â 313.947014] sd 6:0:6:0: [sdh] 4096-byte physical blocks
[Â 313.947226] sd 6:0:4:0: [sdf] 1953525168 512-byte logical blocks: (1.00 TB/931 GiB)
[Â 313.947227] sd 6:0:4:0: [sdf] 4096-byte physical blocks
[Â 313.947577] sd 6:0:7:0: [sdi] 1953525168 512-byte logical blocks: (1.00 TB/931 GiB)
[Â 313.947578] sd 6:0:7:0: [sdi] 4096-byte physical blocks
[Â 313.950032] sd 6:0:1:0: [sdc] Write Protect is off
[Â 313.950034] sd 6:0:1:0: [sdc] Mode Sense: 7f 00 10 08
[Â 313.950647] sd 6:0:0:0: [sdb] Write Protect is off
[Â 313.950649] sd 6:0:0:0: [sdb] Mode Sense: 7f 00 10 08
[Â 313.950689] sd 6:0:5:0: [sdg] Write Protect is off
[Â 313.950690] sd 6:0:5:0: [sdg] Mode Sense: 7f 00 10 08
[Â 313.950804] sd 6:0:2:0: [sdd] Write Protect is off
[Â 313.950806] sd 6:0:2:0: [sdd] Mode Sense: 7f 00 10 08
[Â 313.950823] sd 6:0:3:0: [sde] Write Protect is off
[Â 313.950824] sd 6:0:3:0: [sde] Mode Sense: 7f 00 10 08
[Â 313.951183] sd 6:0:6:0: [sdh] Write Protect is off
[Â 313.951185] sd 6:0:6:0: [sdh] Mode Sense: 7f 00 10 08
[Â 313.951380] sd 6:0:4:0: [sdf] Write Protect is off
[Â 313.951381] sd 6:0:4:0: [sdf] Mode Sense: 7f 00 10 08
[Â 313.951685] sd 6:0:1:0: [sdc] Write cache: enabled, read cache: enabled, supports DPO and FUA
[Â 313.951743] sd 6:0:7:0: [sdi] Write Protect is off
[Â 313.951744] sd 6:0:7:0: [sdi] Mode Sense: 7f 00 10 08
[Â 313.952298] sd 6:0:0:0: [sdb] Write cache: enabled, read cache: enabled, supports DPO and FUA
[Â 313.952340] sd 6:0:5:0: [sdg] Write cache: enabled, read cache: enabled, supports DPO and FUA
[Â 313.952448] sd 6:0:2:0: [sdd] Write cache: enabled, read cache: enabled, supports DPO and FUA
[Â 313.952468] sd 6:0:3:0: [sde] Write cache: enabled, read cache: enabled, supports DPO and FUA
[Â 313.952834] sd 6:0:6:0: [sdh] Write cache: enabled, read cache: enabled, supports DPO and FUA
[Â 313.953039] sd 6:0:4:0: [sdf] Write cache: enabled, read cache: enabled, supports DPO and FUA
[Â 313.953413] sd 6:0:7:0: [sdi] Write cache: enabled, read cache: enabled, supports DPO and FUA
[Â 314.229340]Â sdg: unknown partition table
[Â 314.230373]Â sdc: unknown partition table
[Â 314.236981]Â sde: unknown partition table
[Â 314.240767]Â sdd: unknown partition table
[Â 314.241578]Â sdi: unknown partition table
[Â 314.242034]Â sdh: unknown partition table
[Â 314.249203]Â sdb: unknown partition table
[Â 314.264281]Â sdf: unknown partition table
[Â 314.312534] sd 6:0:5:0: [sdg] Attached SCSI disk
[Â 314.313291] sd 6:0:1:0: [sdc] Attached SCSI disk
[Â 314.314731] sd 6:0:4:0: [sdf] Attached SCSI disk
[Â 314.320027] sd 6:0:3:0: [sde] Attached SCSI disk
[Â 314.323492] sd 6:0:2:0: [sdd] Attached SCSI disk
[Â 314.325033] sd 6:0:7:0: [sdi] Attached SCSI disk
[Â 314.325196] sd 6:0:6:0: [sdh] Attached SCSI disk
[Â 314.332107] sd 6:0:0:0: [sdb] Attached SCSI disk

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.