I have a fresh Mainsail OS install with a Pi Cam Module 2 and 3 (tested individually). The camera is recognized but libcamera-hello returns an error (below). The cam module 2 works on another Pi (with older Pi OS) and the 3 is brand new. Any suggestions on what else I can check?
$ libcamera-hello
Preview window unavailable
[1:29:28.640775310] [3592] INFO Camera camera_manager.cpp:297 libcamera v0.0.5+83-bde9b04f
[1:29:28.679785488] [3593] WARN RPI vc4.cpp:383 Mismatch between Unicam and CamHelper for embedded data usage!
[1:29:28.680707491] [3593] INFO RPI vc4.cpp:437 Registered camera /base/soc/i2c0mux/i2c@1/imx219@10 to Unicam device /dev/media2 and ISP device /dev/media1
[1:29:28.680772360] [3593] INFO RPI pipeline_base.cpp:1101 Using configuration file '/usr/share/libcamera/pipeline/rpi/vc4/rpi_apps.yaml'
[1:29:28.681792138] [3592] INFO Camera camera.cpp:1033 configuring streams: (0) 1640x1232-YUV420
[1:29:28.682372646] [3593] INFO RPI vc4.cpp:565 Sensor: /base/soc/i2c0mux/i2c@1/imx219@10 - Selected sensor format: 1640x1232-SBGGR10_1X10 - Selected unicam format: 1640x1232-pBAA
[1:29:29.757985797] [3593] ERROR V4L2 v4l2_videodevice.cpp:1906 /dev/video0[12:cap]: Failed to start streaming: Input/output error
ERROR: *** failed to start camera ***
$ libcamera-hello --list-cameras
Available cameras
0 : imx219 [3280x2464] (/base/soc/i2c0mux/i2c@1/imx219@10)
Modes: 'SRGGB10_CSI2P' : 640x480 [103.33 fps - (1000, 752)/1280x960 crop]
1640x1232 [41.85 fps - (0, 0)/3280x2464 crop]
1920x1080 [47.57 fps - (680, 692)/1920x1080 crop]
3280x2464 [21.19 fps - (0, 0)/3280x2464 crop]
'SRGGB8' : 640x480 [103.33 fps - (1000, 752)/1280x960 crop]
1640x1232 [41.85 fps - (0, 0)/3280x2464 crop]
1920x1080 [47.57 fps - (680, 692)/1920x1080 crop]
3280x2464 [21.19 fps - (0, 0)/3280x2464 crop]