You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to SC101 NBD Server
I inherited the 'Turbo' model of the SC101 from a failed project and
when I first tried the l software it didn't discover the device on the
network. A quick poke around with Wireshark showed that the data on
the wire seemed pretty much the same as what was in psan_wireformat.h
so I poked around a bit more.
The fix is pretty simple. In psan.c the functions 'psan_query_disk'
and 'psan_query_root' pass an 'info' value of '1' into the
'psan_get_t' struct. Doing so seems to cause the 'select' to fail in
the 'wait_for_packet' function. Changing the value passed into 'info'
to '0' seems to allow the device, disks and partitions to be
discovered fine - I'm now currently watching my linux box mkfs.ext3 /
dev/nbd0