This is the output I get with GDB: (gdb) file mkraid Reading symbols from mkraid...done. (gdb) run /dev/md0 Starting program: /usr/src/raidtools-1.00.3/mkraid /dev/md0 handling MD device /dev/md0 analyzing super-block disk 0: /dev/hde1, 60051568kB, raid superblock at 60051456kB Program received signal SIGSEGV, Segmentation fault. *__GI_fgets_unlocked (buf=0x8059638 "\f$û", n=4096, fp=0x0) at iofgets_u.c:46 46 old_error = fp->_IO_file_flags & _IO_ERR_SEEN; (gdb) where #0 *__GI_fgets_unlocked (buf=0x8059638 "\f$û", n=4096, fp=0x0) at iofgets_u.c:46 #1 0x400ebb0a in __getmntent_r (stream=0x0, mp=0x40140dfc, buffer=0x8059638 "\f$û", bufsiz=4096) at mntent_r.c:116 #2 0x400eb99e in getmntent (stream=0x0) at mntent.c:53 #3 0x0804ba8e in sanity_checks () #4 0x0804bfb4 in analyze_sb () #5 0x08049229 in makeOneRaid () #6 0x08049957 in main () #7 0x4002deca in __libc_start_main (main=0x80492c0 <main>, argc=2, ubp_av=0xbffffdd4, init=0x8048cf0 <_init>, fini=0x400143c0 <_rtld_local>, rtld_fini=0, stack_end=0x1000) at ../sysdeps/generic/libc-start.c:144 Anybody knows what all this means? :) Jean-Rene Cormier On Mon, 2003-02-10 at 15:40, Steven Dake wrote: > compile with the -g flag, run gdb a.out > and type "where" and give the output to the list > > Thanks > -steve > > Jean-Rene Cormier wrote: > > >I just compiled the raid-tools 1.00.3 on my Linux 2.4.20 box with Glibc > >3.2.1. I created the partitions on my 2 HDs with a FD type and when I > >try to do a mkraid /dev/md0 I get a segfault. Anybody had this problem > >before? > > > >Thanks > > > >Jean-Rene Cormier > > > > > > > >- > >To unsubscribe from this list: send the line "unsubscribe linux-raid" in > >the body of a message to majordomo@vger.kernel.org > >More majordomo info at http://vger.kernel.org/majordomo-info.html > > > > > > > > > > > - To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html