Hi eapenabrm,
Thank you for the tips! Unfortunately, none of these two Device ID's work for me .
I found that
$ lspci -vv | grep Altera -A 10
01:00.0 Non-VGA unclassified device: Altera Corporation Device e003 (rev 01)
Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Interrupt: pin A routed to IRQ 0
Region 0: Memory at <unassigned> (64-bit, prefetchable)
Region 4: Memory at <unassigned> (64-bit, prefetchable)
As shown, the two memory blocks are unassigned (and disabled?).
Could this be related to the dmesg error message
"altera_dma: module verification failed: signature and/or required key missing - tainting kernel"?
Also, I looked into the system device tree, I can see the device at /sys/bus/pci/devices/0000:01:00.0.
Under the folder of that device I can see the
$ ls /sys/bus/pci/devices/0000\:01\:00.0
broken_parity_status device irq numa_node resource subsystem
class dma_mask_bits local_cpulist power resource0 subsystem_device
config driver_override local_cpus remove resource0_wc subsystem_vendor
consistent_dma_mask_bits enable modalias rescan resource4 uevent
d3cold_allowed firmware_node msi_bus reset resource4_wc vendor
, but if I do
cat /proc/devices, I can't see altera_dma in the list.
Unfortunately, the
altera_dma_load script tries to identify the major ID of the device from
/proc/devices and
mknod with that major ID, so it couldn't get pass this step.
At this point I feel like to issue was because of something in the driver, but I am not sure where exactly the problem is. Could you please give me some suggestion where I can look into further?
Any suggestion is much appreciated!!!