Details for using with the SC101T

16 views
Skip to first unread message

mat.w...@gmail.com

unread,
Mar 11, 2008, 6:03:29 PM3/11/08
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

Hope this is of some help to someone

Mat
Reply all
Reply to author
Forward
0 new messages