====== Differences ====== This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
soc:2010:peper:journal:week9 [2010/07/26 15:42]
peper created
soc:2010:peper:journal:week9 [2010/08/08 07:58] (current)
peper
Line 19: Line 19:
 <​code>​ <​code>​
 # insmod kmod/​uio-dma.ko # insmod kmod/​uio-dma.ko
-# insmod kmod/​uio-dma-gpxe.ko+# insmod kmod/​uio-dma-pci.ko
 </​code>​ </​code>​
   * Get a spare nic or run under kvm with multiple nics   * Get a spare nic or run under kvm with multiple nics
Line 26: Line 26:
 # echo -n "​0000:​00:​04.0"​ > /​sys/​bus/​pci/​drivers/​$driver/​unbind # echo -n "​0000:​00:​04.0"​ > /​sys/​bus/​pci/​drivers/​$driver/​unbind
 </​code>​ </​code>​
-  * Add the vendor and device number to the uio-dma-gpxe driver+  * Add the vendor and device number to the uio-dma-pci driver
 <​code>​ <​code>​
-# echo "8086 100e" > /​sys/​bus/​pci/​drivers/​uio-dma-gpxe/new_id+# echo "8086 100e" > /​sys/​bus/​pci/​drivers/​uio-dma-pci/new_id
 </​code>​ </​code>​
   * That should autobind the device, to do it manully   * That should autobind the device, to do it manully
 <​code>​ <​code>​
-# echo -n "​0000:​00:​04.0"​ > /​sys/​bus/​pci/​drivers/​uio-dma-gpxe/bind+# echo -n "​0000:​00:​04.0"​ > /​sys/​bus/​pci/​drivers/​uio-dma-pci/bind
 </​code>​ </​code>​
   * Expected ''​dmesg''​ output   * Expected ''​dmesg''​ output
Line 40: Line 40:
 Driver enabling UIO-DMA for a device version: 0.0.0 Driver enabling UIO-DMA for a device version: 0.0.0
 ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 10 ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 10
-uio-dma-gpxe 0000:​00:​04.0:​ PCI INT A -> Link[LNKD] -> GSI 10 (level, high) -> IRQ 10+uio-dma-pci 0000:​00:​04.0:​ PCI INT A -> Link[LNKD] -> GSI 10 (level, high) -> IRQ 10
 uio-dma: added device. id 0 0000:​00:​04.0 uio-dma: added device. id 0 0000:​00:​04.0
 </​code>​ </​code>​

QR Code
QR Code soc:2010:peper:journal:week9 (generated for current page)