Most of the documentation is a snapshot of the old Namesys site (archive.org, 2007-09-29).

There was also a Reiser4 Wiki (archive.org, 2007-07-06) once on pub.namesys.com.

Reiser4 development appears to have stalled and ReiserFS is deprecated and scheduled to be removed from mainline Linux in 2025.

Debug Reiser4progs

From Reiser4 FS Wiki
(Difference between revisions)
Jump to: navigation, search
(add category)
(link to Reiser4progs article; use sudo / don't run make as root)
Line 1: Line 1:
 
= Debug Reiser4progs with GDB =
 
= Debug Reiser4progs with GDB =
  
1. Make sure you have the latest version of Reiser4progs:
+
1. Make sure you have the latest version of [[Reiser4progs]]:
  
 
     $ git clone https://github.com/edward6/reiser4progs
 
     $ git clone https://github.com/edward6/reiser4progs
Line 10: Line 10:
 
     $ ./prepare
 
     $ ./prepare
 
     $ ./configure --enable-debug --enable-full-static
 
     $ ./configure --enable-debug --enable-full-static
     $ make
+
     $ sudo make
  
 
Troubleshooting. If you use Fedora distro, then make command can fail with the following:
 
Troubleshooting. If you use Fedora distro, then make command can fail with the following:
Line 19: Line 19:
  
 
     # cd /usr/lib64
 
     # cd /usr/lib64
     # mv libuuid.so libuuid.so_
+
     # sudo mv libuuid.so libuuid.so_
     # ln -s libossp-uuid.so libuuid.so
+
     # sudo ln -s libossp-uuid.so libuuid.so
  
 
3. Run gdb against needed binary that can be found in ./progs directory. For example:
 
3. Run gdb against needed binary that can be found in ./progs directory. For example:

Revision as of 00:18, 25 June 2017

Debug Reiser4progs with GDB

1. Make sure you have the latest version of Reiser4progs:

   $ git clone https://github.com/edward6/reiser4progs

2. Compile and build static binaries with debugging symbols:

   $ cd reiser4progs
   $ ./prepare
   $ ./configure --enable-debug --enable-full-static
   $ sudo make

Troubleshooting. If you use Fedora distro, then make command can fail with the following:

    /usr/bin/ld: cannot find -luuid" during compilation

Possible solution:

   # cd /usr/lib64
   # sudo mv libuuid.so libuuid.so_
   # sudo ln -s libossp-uuid.so libuuid.so

3. Run gdb against needed binary that can be found in ./progs directory. For example:

   # gdb progs/fsck/fsck.reiser4
Personal tools