[ofa-general] Loading ib_gmthca module into guest domain

Adit Ranadive adit.262 at gmail.com
Thu Apr 12 10:21:39 PDT 2007


Hi,

I was partly succesful in inserting the ib_gmthca module into the guest domain.
This is the debug output I get while inserting the module :

modprobe ib_gmthca mc=1 domain=2
host ip 192.168.0.3
domain 2
[drivers/infiniband/hw/gmthca/../../utils/kernel_socket.c:62],<1>Connection ok
[drivers/infiniband/hw/gmthca/gmthca_main.c:208],<1>ACK received, now
setup data channel
[drivers/infiniband/hw/gmthca/gmthca_main.c:101],<1>Get serv_dom, 0
[drivers/infiniband/hw/gmthca/gmthca_main.c:117],<1>[finish listen]
dom 2, local port: 8, grant ref: 566
[drivers/infiniband/hw/gmthca/gmthca_main.c:142],<1>[finish listen]
dom 2, local port: 9, grant ref: 561
[drivers/infiniband/hw/gmthca/gmthca_main.c:151],<1>Now wait for ack
[drivers/infiniband/hw/gmthca/gmthca_main.c:157],<1>Finish setting up
the channels<1>[drivers/infiniband/hw/gmthca/../../utils/kernel_socket.c:105],<1>Now
remove socket
[drivers/infiniband/hw/gmthca/gmthca_main.c:217],<1>Receving resp bytes 16
[drivers/infiniband/hw/gmthca/gmthca_main.c:230],<1>content of resp:
ack 0, tablesize 65536, uarsize 0, pfn 000d7802
[drivers/infiniband/hw/gmthca/gmthca_main.c:324],<1>num ports: 2, MAX
QP 65536, MAX CQ 65536, max sge 59
fail to recv ret value (ret 0) or ret value error (24 but receive -16)
Fail to execute command

It is able to get the device limits (gmthca_get_limits function) but
it fails after that.
I was unable to debug where exactly it was failing.

Before loading the module in guest domain I load the kibad, ib_mthca
modules in dom0.

Any steps I have missed in order to correctly load the module in guest?
Any pointers here will be helpful.

Thanks,
Adit



-- 
Adit Ranadive
MS CS Candidate
Georgia Institute of Technology,
Atlanta, GA



More information about the general mailing list