Okay, if I open “/dev/ports” O_RDWR | O_SYNC, lseek to my assigned PCI I/O memory address, then read 1 byte I get a segmentation fault, at least as “sudo”: I haven’t tried from “root” – I’m scared.
If I try to use ioperm, iopl, io_remap, or pci_iomap et al it can’t find the include file.
I would serial-debug the kernel but it would be my first Linux kernel debug, let alone via serial. (kgdb, right? I have the serial cable connected and can see dmesg on it, now I just need to learn non-IDE kernel debugging. whee!) (Do I sound excited? sorry. I’m not.)
I come from almost 30 years driver programming on PCs, but all in DOS/Windows, using Borland IDEs, not Microsoft nor Linux, so I’m handicapped.
Thank you for your support!