-
Notifications
You must be signed in to change notification settings - Fork 21
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
Arch Linux : OSError: [Errno 123] No medium found: '/dev/sda' #45
Comments
usbsdmux doesn't work on Arch Linux. |
usbsdmux talks to the SCSI generic device |
on arch linux kernel 6.0.11-arch1-1 the insertion of usbsdmux board doesn't create /dev/sgX devices. |
Hi, that's strange.
I am not currently running the newest Kernel, as I did not come around to rebooting yet.
|
Hi, I do have the module sg, but I had to manually insert it and now works |
Huh, okay. I'would have expected the We do have this section in the Troubleshooting section of the README:
But I would prefer this manual step not to be required. (And for most users it is'nt) |
yes, I only have nvme drives. I think your cdrom is triggering the load of sg. Do you see any other /dev/sg devices now that the sg module is loaded? |
Plugged this in today on kernel Arch Linux 6.6.8-arch1-1. Also found the same problem that was resolved by inserting the |
An alternative to manually running modprobe would be |
`tanureal@cryzen usbsdmux $ source venv/bin/activate
(venv) tanureal@cryzen usbsdmux $ sudo venv/bin/usbsdmux /dev/sda get
Traceback (most recent call last):
File "/home/tanureal/workspace/usbsdmux/venv/bin/usbsdmux", line 10, in
sys.exit(main())
File "/home/tanureal/workspace/usbsdmux/venv/lib/python3.10/site-packages/usbsdmux-0.2.1-py3.10.egg/usbsdmux/main.py", line 97, in main
File "/home/tanureal/workspace/usbsdmux/venv/lib/python3.10/site-packages/usbsdmux-0.2.1-py3.10.egg/usbsdmux/main.py", line 79, in main
File "/home/tanureal/workspace/usbsdmux/venv/lib/python3.10/site-packages/usbsdmux-0.2.1-py3.10.egg/usbsdmux/usbsdmux.py", line 55, in get_mode
File "/home/tanureal/workspace/usbsdmux/venv/lib/python3.10/site-packages/usbsdmux-0.2.1-py3.10.egg/usbsdmux/pca9536.py", line 73, in read_register
File "/home/tanureal/workspace/usbsdmux/venv/lib/python3.10/site-packages/usbsdmux-0.2.1-py3.10.egg/usbsdmux/usb2642i2c.py", line 413, in write_read_to
File "/home/tanureal/workspace/usbsdmux/venv/lib/python3.10/site-packages/usbsdmux-0.2.1-py3.10.egg/usbsdmux/usb2642i2c.py", line 335, in _call_IOCTL
OSError: [Errno 123] No medium found: '/dev/sda'
(venv) tanureal@cryzen usbsdmux $ ls -l /dev/sda
brw-rw---- 1 777 disk 8, 0 Dec 4 10:43 /dev/sda
`
The text was updated successfully, but these errors were encountered: