Open hsnyder opened 2 years ago
I suspect this is some incompatibility with the built-in initiator in isboot and your iSCSI target. What kind of target are you using? It would help to see a packet capture of the whole iSCSI session if that's something you can get. (If the target is a FreeBSD or Linux host then it's a pretty easy "tcpdump port 3260". If not you might need help from your switch (or insert your own bridge host).
Do other parts of the boot loop or does the last line (Root mount waiting for: CAM) just repeat indefinitely?
Hey. The target is on a TrueNAS Core server (FreeBSD 13). I used tcpdump -i mlxen0 port 3260
as per your recommendation and have attached the result. This is the entire boot process, including iPXE.
Do other parts of the boot loop or does the last line (Root mount waiting for: CAM) just repeat indefinitely?
It's specifically the "Root mount waiting for: CAM" message that repeats.
Thanks very much for your help.
If you're still interested in troubleshooting this I should be able to give it some attention shortly. Will you try the latest isboot code? If you are still having this issue then send me a (binary) packet capture using something like "tcpdump -nnp -i mlxen0 -w /path/to/file.pcap port 3260". Unfortunately the text output you sent previously doesn't contain everything I would need. (Apologies for the incomplete instructions last time as well.)
I am also seeing this about 1/3 of the time on my test box with FreeBSD-14-ALPHA4 and isboot 0.2.15. I'll try to do a packet capture/analysis of when it works vs when it does not.
This appears to be a race condition as 1) it doesn't happen all the time (on my test machine at least) and 2) increasing the verbosity of either isboot or CAM makes it happen much more frequently
Thanks for looking into this! Unfortunately, I don't know if I can be of additional help as I'm no longer using the setup where I encountered this. I'll leave the issue open, but you can close it if you'd like to.
No worries. I'm actually able to reproduce the issue so I'll keep looking in to it. Feel free to mute updates if they're no longer relevant for you. :)
I'm trying to get iSCSI boot working via an offboard Mellanox card. After solving two other hurdles I came across (see the two other issues I just opened ;) ), I'm stuck with a seemingly infinite loop of
Root mount waiting for: CAM
messages.As noted in one of my other issues, I've changed the subsystem of
isboot
toSI_SUB_ROOT_CONF-1
, to make it load after the mellanox module. Could that be related to the issue I'm having?Here's the relevant part of my boot console (I can post the entire thing if you think it will help).