DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD Ports and Packages

FreeBSD Ports and Packages Installation and upgrading of ports and packages on FreeBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 4th August 2008
pax's Avatar
pax pax is offline
FreeBSD baby
 
Join Date: Jul 2008
Location: Serbia, Belgrade/Pozarevac
Posts: 9
Default Error while compiling e2fsprogs

I'm trying to install e2fsprogs on my Free BSD 6.3 system, and there is seem to be problem when installation preforms some tests. The test that fails is:

Code:
f_dup_resize: blocks claimed by the resize inode and another inode: Segmentation fault (core dumped) failed
The rest of the output which can be used to fix error:

Code:
99 tests succeeded               1 tests failed
gmake: *** [check] Error 1
--- ./f_dup_resize/expect.1     2007-06-30 12:58:35.000000000 +0000
+++ f_dup_resize.1.log  2008-08-04 10:29:41.000000000 +0000
@@ -22,13 +22,4 @@
 Block bitmap differences:  +(8195--8198)
 Fix? yes
 
-Free blocks count wrong for group #0 (7910, counted=7911).
-Fix? yes
-
-Free blocks count wrong (9754, counted=9755).
-Fix? yes
-
-
-test_filesys: ***** FILE SYSTEM WAS MODIFIED *****
-test_filesys: 12/2560 files (8.3% non-contiguous), 485/10240 blocks
-Exit status is 1
+Exit status is 139
--- ./f_dup_resize/expect.2     2007-06-30 12:58:35.000000000 +0000
+++ f_dup_resize.2.log  2008-08-04 10:29:41.000000000 +0000
@@ -3,5 +3,10 @@
 Pass 3: Checking directory connectivity
 Pass 4: Checking reference counts
 Pass 5: Checking group summary information
+Block bitmap differences:  +(278--281) +(8195--8198)
+Fix? yes
+
+
+test_filesys: ***** FILE SYSTEM WAS MODIFIED *****
 test_filesys: 12/2560 files (16.7% non-contiguous), 485/10240 blocks
-Exit status is 0
+Exit status is 1
*** Error code 1

Stop in /usr/ports/sysutils/e2fsprogs.
*** Error code 1

Stop in /usr/ports/sysutils/e2fsprogs.
I need this program to mount my Linux ext3 partitions which is located in my case in /dev/ad0s2... I already tried to mount this partition with:
Code:
mount_ext2fs /dev/ad0s2 /mnt/home/
mount_ext2fs: /dev/ad0s2: Operation not permitted
but as you can see I have luck with this, so I planed to do fsck on my Linux partition and try to mount it somehow... What program should I use to get information what file system is on all partitions(slices)? I used to do this on Linux with cfdisk, but I don't know the replacement for this program on FreeBSD...

Is there any way to fix this problem? Maybe to install pkg from CDROM?

Regards,
pax
Reply With Quote
  #2   (View Single Post)  
Old 4th August 2008
ephemera's Avatar
ephemera ephemera is offline
Knuth's homeboy
 
Join Date: Apr 2008
Posts: 537
Default

> What program should I use to get information what file system is on all partitions(slices)? I used to do this on Linux with cfdisk, but I don't know the replacement for this program on FreeBSD...

AFAIK, cfdisk doesn't determine the FS, it only prints the partition ID.
(detecting the FS on a partition is a messy affair and i don't know of any program that does this)

the analogue of cfdisk on freebsd is "fdisk".
Reply With Quote
  #3   (View Single Post)  
Old 4th August 2008
pax's Avatar
pax pax is offline
FreeBSD baby
 
Join Date: Jul 2008
Location: Serbia, Belgrade/Pozarevac
Posts: 9
Default

Hm, maybe I'm wrong about cfdisk, I'm not sure
Here is partition I'm trying to mount(output from fdisk):

Code:
The data for partition 2 is:
sysid 131 (0x83),(Linux native)
    start 19535040, size 51038505 (24921 Meg), flag 0
        beg: cyl 1023/ head 255/ sector 63;
        end: cyl 1023/ head 254/ sector 63
Reply With Quote
  #4   (View Single Post)  
Old 4th August 2008
ephemera's Avatar
ephemera ephemera is offline
Knuth's homeboy
 
Join Date: Apr 2008
Posts: 537
Default

> mount_ext2fs /dev/ad0s2 /mnt/home

you are running the command as root right?
Reply With Quote
  #5   (View Single Post)  
Old 4th August 2008
pax's Avatar
pax pax is offline
FreeBSD baby
 
Join Date: Jul 2008
Location: Serbia, Belgrade/Pozarevac
Posts: 9
Default

Yes, of course... I wanted to see does this works and then planed to put it in fstab...

P.S. Thanks for help with fdisk and for bothering with my problem
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
openbsd 4.3 e2fsprogs seems to be broken gosha OpenBSD Packages and Ports 0 27th June 2009 03:18 AM
Compiling pingus error. bsdnewbie999 OpenBSD General 7 16th May 2009 08:43 AM
Compiling Epkowa Oko OpenBSD Packages and Ports 3 30th December 2008 10:01 PM
c++ compiling hello world Gates Programming 3 26th July 2008 12:48 PM
Compiling Nagios 3.02 roundkat Solaris 1 2nd June 2008 09:09 PM


All times are GMT. The time now is 10:27 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick