Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

System goes inaccessible after using ./pcimem #8

Open
vineeshvs opened this issue Dec 15, 2018 · 3 comments
Open

System goes inaccessible after using ./pcimem #8

vineeshvs opened this issue Dec 15, 2018 · 3 comments

Comments

@vineeshvs
Copy link

Hi,
I tried writing to a location using the following command.
sudo ./pcimem /sys/bus/pci/devices/0000\:0a\:00.0/resource0 0x100 w 0x1234abcd
The machine got stuck and I am not able to ping it now.

What could be the reason?

@billfarrow
Copy link
Owner

The PCI device that was written to might not be completing the PCI transaction and holding the PCI bus indefinitely, or perhaps the PCI device is doing something bad when that address is written. Lockups like this should be expected when probing around during the initial stages of driver development. I like to have a system watchdog setup and running, as well as a remote power switch for this situation during driver development.

@Infanswer
Copy link

Hi,
I tried writing to a location using the following command.
./pcimem /sys/bus/pci/devices/0000:03:00.0/resource 0x110 w
An error occurs:
Error at line 111,fine pcimem.c(19) [No such device]

What could be the reason?

@billfarrow
Copy link
Owner

billfarrow commented Apr 2, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants