Current svn segfaults on Linux x_64

4 views
Skip to first unread message

Underlying Patterns

unread,
Nov 10, 2008, 10:35:25 PM11/10/08
to drobo-talk
Hello.

I was very excited to find drobo-utils. I have Fedora 10 x_64 beta
running, and installed per the instructions. The code seems to be able
to read status just fine, but when it comes to formatting or updating,
I get a segfault.

For instance:

# drobom fwupgrade /dev/sdc
looking for firmware for: armmarvell 1.172.9222 hw version: 1.00
This Drobo should be running: raptor/firmware/armmarvell/v1.12.tdf
looking for: /root/.drobo-utils/armmarvell_1.00_v1.12.tdf
local copy already present: /root/.drobo-utils/
armmarvell_1.00_v1.12.tdf
Reading Firmware from = /root/.drobo-utils/armmarvell_1.00_v1.12.tdf
validateFirmware start...
header+body lengths validated. Good.
Magic number validated. Good.
484 + 2942433 = 2942917 length validated. Good.
CRC from header: 1401631832, calculated using python zlib crc32:
1401631832
CRC for body from header: 2717012571, calculated: 2717012571
32 bit Cyclic Redundancy Check correct. Good.
validateFirmware successful...
correct fw available
Segmentation fault

Any ideas? Is there anything else I can log to help?

TIA,

Underlying Patterns

Peter.A.Silva

unread,
Nov 11, 2008, 8:50:27 AM11/11/08
to drobo-talk
fixed in svn... sorry about that... ugh... 0.3.3 is busted too.
looks like 0.3.4 will need to happen real soon now...


On Nov 10, 10:35 pm, Underlying Patterns

Underlying Patterns

unread,
Nov 11, 2008, 12:10:07 PM11/11/08
to drobo-talk
Hello Peter.

Thanks for the quick patch! It's much appreciated. However, I found a
new problem. I was able to update the firmware and set the lun size
using droboview, but when I tried to format, this is what I got on
stdout / stderr:

# droboview /dev/sdc
Clicked format...
Really formatting...
/tmp/fmtscript: line 2: parted: command not found
/tmp/fmtscript: line 3: parted: command not found
/tmp/fmtscript: line 4: parted: command not found
/tmp/fmtscript: line 5: mke2fs: command not found
it took: 9 updates to run

I suspect this is because Fedora puts parted and mk*fs and most other
"for root's eyes only" executables in /sbin instead of /bin, so they
are not on the PATH.

I can format it myself from here, but FYI...

Thanks again for the quick response.

Underlying Patterns

Peter.A.Silva

unread,
Nov 15, 2008, 1:52:27 AM11/15/08
to drobo-talk
thou shalt invoke as root. 'nuff sed.

Sourcforge .deb's for ubuntu hardy have been updated with the
seg fault patch.

On Nov 11, 12:10 pm, Underlying Patterns
Reply all
Reply to author
Forward
0 new messages