Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
compile error after reiserfs4 crash!
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index 中文 (Chinese)
View previous topic :: View next topic  
Author Message
akar
Moderator
Moderator


Joined: 03 Dec 2004
Posts: 348
Location: HKSAR,China

PostPosted: Sat Feb 12, 2005 1:31 pm    Post subject: compile error after reiserfs4 crash! Reply with quote

Today, i have my firesystem reiserfs4 crash, after build-fs.

Now every application i compile have this similiar error! :( Except i can successfully rebuild the glibc and gcc.
Quote:

gentoo root # emerge gcc glibc -pv

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild R ] sys-devel/gcc-3.3.5-r1 -bootstrap -boundschecking -build -debug +fortran -gcj +gtk -hardened (-ip28) (-multilib) -multislot (-n32) (-n64) +nls -nocxx -objc -static (-uclibc) 0 kB
[ebuild R ] sys-libs/glibc-2.3.4.20040808-r1 -build -debug -erandom -hardened (-multilib) +nls +nptl -pic +userlocales 0 kB

Total size of downloads: 0 kB



2 stderr wrote:
gentoo root # emerge =gtk+-2.4.14 >/dev/null
configure: WARNING: If you wanted to set the --build type, don't use --host.
If a cross compiler is detected then cross compile mode will be used.
libtool: link: warning: `/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/../../..//libgmodule-2.0.la' seems to be moved
In file included from gdk-pixbuf-i18n.h:4,
from gdk-pixbuf-private.h:32,
from io-jpeg.c:36:
../config.h:143:1: warning: "HAVE_STDLIB_H" redefined
In file included from /usr/include/jpeglib.h:24,
from io-jpeg.c:35:
/usr/include/jconfig.h:12:1: warning: this is the location of the previous definition
libtool: link: warning: `/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/libstdc++.la' seems to be moved
libtool: link: warning: `/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/../../..//libgmodule-2.0.la' seems to be moved


and i use kernel morph-sources22.

:?
_________________
AKar
Back to top
View user's profile Send private message
jkt
Developer
Developer


Joined: 06 Feb 2004
Posts: 1249
Location: Prague, Czech republic, EU

PostPosted: Sat Feb 12, 2005 2:41 pm    Post subject: Reply with quote

is your filesystem in sane state? have you tried `reiserfsck`?
_________________
cd /local/pub && more beer > /dev/mouth

Česká dokumentace
Back to top
View user's profile Send private message
xming
Guru
Guru


Joined: 02 Jul 2002
Posts: 434

PostPosted: Sat Feb 12, 2005 7:45 pm    Post subject: Reply with quote

if your are using reiser4 instead of reiserfs (v3) please use fsck.reiser4

xming
_________________
http://wojia.be
Back to top
View user's profile Send private message
EricHsu
Moderator
Moderator


Joined: 03 May 2004
Posts: 591
Location: Aragon Consulting Group, Beijing, China

PostPosted: Sun Feb 13, 2005 4:18 am    Post subject: Reply with quote

akar, I had my reiser4 screw up once, with fsck.reiser4 --check and fsck.reiser4 --build-fs (as --check result suggested me to), I fixed most of the problem (make sure fsck.reiser4 --build-fs with a clean result! I --build-fs twice since the first time didn't fix all the problem...)

I've checked my files, there is no "/usr/lib/gcc-lib/i686-pc-linux-gnu", I've got only:
Code:

eric@gentux ~ $ ls /usr/lib/gcc-lib/
i386-pc-linux-gnu


Have you done anything else to your system? 8O
_________________
- http://nkbit.com
- http://twitter.com/xuyihua
Back to top
View user's profile Send private message
akar
Moderator
Moderator


Joined: 03 Dec 2004
Posts: 348
Location: HKSAR,China

PostPosted: Sun Feb 13, 2005 4:37 am    Post subject: Reply with quote

Thanks jkt and xming.

Yes, i use reiser4 programs to check.

Code:
fsck.reiser4 /dev/hda


Then i was suggested to run this command to recover the filesystem.

Code:
fsck.reiser4 --build-fs /dev/hda


Five nodes are reported of being recovered.
(* and i oversee there is another -L option for fsck.reiser4 to save the complains. :( )

here is part of the "/var/log/messages" log during the second of the system crash:
Quote:

Feb 12 11:37:19 gentoo hda: dma_timer_expiry: dma status == 0x21
Feb 12 11:37:33 gentoo hda: DMA timeout error
Feb 12 11:37:33 gentoo hda: dma timeout error: status=0xd0 { Busy }
Feb 12 11:37:33 gentoo
Feb 12 11:37:33 gentoo ide: failed opcode was: unknown
Feb 12 11:37:33 gentoo hda: DMA disabled
Feb 12 11:37:33 gentoo ide0: reset: success
Feb 12 11:37:33 gentoo reiser4[xfwm4(26216)]: cbk_level_lookup (fs/reiser4/search.c:1033)[vs-3533]:
Feb 12 11:37:33 gentoo WARNING: Keys are inconsistent. Fsck?
Feb 12 11:37:33 gentoo reiser4[xfwm4(26216)]: cbk_level_lookup (fs/reiser4/search.c:1033)[vs-3533]:
Feb 12 11:37:33 gentoo WARNING: Keys are inconsistent. Fsck?
Feb 12 11:37:33 gentoo reiser4[xfwm4(26216)]: cbk_level_lookup (fs/reiser4/search.c:1033)[vs-3533]:
Feb 12 11:37:33 gentoo WARNING: Keys are inconsistent. Fsck?
Feb 12 11:37:33 gentoo reiser4[xfwm4(26216)]: cbk_level_lookup (fs/reiser4/search.c:1033)[vs-3533]:
Feb 12 11:37:33 gentoo WARNING: Keys are inconsistent. Fsck?
Feb 12 11:37:35 gentoo reiser4[xftaskbar4(26218)]: plugin_by_unsafe_id (fs/reiser4/plugin/plugin.c:325)[nikita-2913]:
Feb 12 11:37:35 gentoo WARNING: Invalid plugin id: [2:2608]
Feb 12 11:37:35 gentoo Unable to handle kernel NULL pointer dereference at virtual address 00000004
Feb 12 11:37:35 gentoo printing eip:
Feb 12 11:37:35 gentoo b0205779
Feb 12 11:37:35 gentoo *pde = 00000000
Feb 12 11:37:35 gentoo Oops: 0000 [#1]
:


here is the full version /var/log/messages
_________________
AKar
Back to top
View user's profile Send private message
jkt
Developer
Developer


Joined: 06 Feb 2004
Posts: 1249
Location: Prague, Czech republic, EU

PostPosted: Sun Feb 13, 2005 11:21 am    Post subject: Reply with quote

akar wrote:

here is part of the "/var/log/messages" log during the second of the system crash:
Quote:

Feb 12 11:37:19 gentoo hda: dma_timer_expiry: dma status == 0x21
Feb 12 11:37:33 gentoo hda: DMA timeout error
Feb 12 11:37:33 gentoo hda: dma timeout error: status=0xd0 { Busy }
Feb 12 11:37:33 gentoo
Feb 12 11:37:33 gentoo ide: failed opcode was: unknown
Feb 12 11:37:33 gentoo hda: DMA disabled
Feb 12 11:37:33 gentoo ide0: reset: success
Feb 12 11:37:33 gentoo reiser4[xfwm4(26216)]: cbk_level_lookup (fs/reiser4/search.c:1033)[vs-3533]:
Feb 12 11:37:33 gentoo WARNING: Keys are inconsistent. Fsck?
Feb 12 11:37:33 gentoo reiser4[xfwm4(26216)]: cbk_level_lookup (fs/reiser4/search.c:1033)[vs-3533]:
Feb 12 11:37:33 gentoo WARNING: Keys are inconsistent. Fsck?
Feb 12 11:37:33 gentoo reiser4[xfwm4(26216)]: cbk_level_lookup (fs/reiser4/search.c:1033)[vs-3533]:
Feb 12 11:37:33 gentoo WARNING: Keys are inconsistent. Fsck?
Feb 12 11:37:33 gentoo reiser4[xfwm4(26216)]: cbk_level_lookup (fs/reiser4/search.c:1033)[vs-3533]:
Feb 12 11:37:33 gentoo WARNING: Keys are inconsistent. Fsck?
Feb 12 11:37:35 gentoo reiser4[xftaskbar4(26218)]: plugin_by_unsafe_id (fs/reiser4/plugin/plugin.c:325)[nikita-2913]:
Feb 12 11:37:35 gentoo WARNING: Invalid plugin id: [2:2608]
Feb 12 11:37:35 gentoo Unable to handle kernel NULL pointer dereference at virtual address 00000004
Feb 12 11:37:35 gentoo printing eip:
Feb 12 11:37:35 gentoo b0205779
Feb 12 11:37:35 gentoo *pde = 00000000
Feb 12 11:37:35 gentoo Oops: 0000 [#1]
:



Your hard drive is dying (or you hae serious problem in cables, IDE controller,...). I'd replace it ASAP. smartmontools could give you some hints about the health of your hard drives...
_________________
cd /local/pub && more beer > /dev/mouth

Česká dokumentace
Back to top
View user's profile Send private message
akar
Moderator
Moderator


Joined: 03 Dec 2004
Posts: 348
Location: HKSAR,China

PostPosted: Mon Feb 14, 2005 2:44 am    Post subject: Reply with quote

Thanks Eric:

But that is not my case, i do'nt have an i386 folder, instead i have an i686 one, i think it is controled by /etc/make.conf, the var CHOST. May you can verify it for us?

jkt wrote:
Your hard drive is dying ...


The harddrive is " hda: IBM-DTLA-307030, ATA DISK drive", it is problematic to set the jump and access mode, this series was come out during the early day of ATA66. :)

So i have a reason to buy me a new one. :)

:?: I just wondering if it is not dying with reifer4 filesystem.


thanks jkt for the hints, just come across this thread in smartmontool forum
http://sourceforge.net/mailarchive/forum.php?thread_id=4888130&forum_id=12495

maybe it just an aggressive kernel action during that time?

i have pluged another HDD now to back up the my important data right the second.


:!: By the way, finally i think it is Not the filesystem problem, it is the gcc version upgrade problem, but not luck from those relating posts in this forum.
http://forums.gentoo.org/viewtopic-t-278673-highlight-gcc+upgrade.html
:(
_________________
AKar
Back to top
View user's profile Send private message
jkt
Developer
Developer


Joined: 06 Feb 2004
Posts: 1249
Location: Prague, Czech republic, EU

PostPosted: Mon Feb 14, 2005 1:03 pm    Post subject: Reply with quote

akar wrote:
But that is not my case, i do'nt have an i386 folder, instead i have an i686 one, i think it is controled by /etc/make.conf, the var CHOST. May you can verify it for us?


"directory", not "folder", please ;-). and yes, it is controlled by CHOST setting. consult gentoo handbook for details.

Quote:
The harddrive is " hda: IBM-DTLA-307030, ATA DISK drive", it is problematic to set the jump and access mode, this series was come out during the early day of ATA66. :)

mine died several months ago, with similar messages, iirc.

Quote:
I just wondering if it is not dying with reifer4 filesystem.

nope, if you look at your logs, you'll se messages about troubles comunicating with /dev/hda, with your hard drive. filesystem is higher level.

Quote:
thanks jkt for the hints, just come across this thread in smartmontool forum
http://sourceforge.net/mailarchive/forum.php?thread_id=4888130&forum_id=12495

maybe it just an aggressive kernel action during that time?

you do have HW troubles, either with your IDE controller, cables or hard drive.

Quote:
i have pluged another HDD now to back up the my important data right the second.


:!: By the way, finally i think it is Not the filesystem problem, it is the gcc version upgrade problem, but not luck from those relating posts in this forum.
http://forums.gentoo.org/viewtopic-t-278673-highlight-gcc+upgrade.html
:(


you are mixing several things together. you should really replace your hard drive and only after that make experiments...
_________________
cd /local/pub && more beer > /dev/mouth

Česká dokumentace
Back to top
View user's profile Send private message
akar
Moderator
Moderator


Joined: 03 Dec 2004
Posts: 348
Location: HKSAR,China

PostPosted: Tue Feb 15, 2005 12:39 pm    Post subject: Reply with quote

properly, i am confused by dieing harddrive and at the same time the gcc upgrading problem that visiting me at the same time.

Tonight i will do some experiments on another partition. I have my important data on another harddriver, so fear of nothing.

~thanks for your valuable suggestions.
_________________
AKar
Back to top
View user's profile Send private message
jkt
Developer
Developer


Joined: 06 Feb 2004
Posts: 1249
Location: Prague, Czech republic, EU

PostPosted: Tue Feb 15, 2005 4:38 pm    Post subject: Reply with quote

akar wrote:
properly, i am confused by dieing harddrive and at the same time the gcc upgrading problem that visiting me at the same time.


filesystem could be corrupted as a result of dying hard drive...
_________________
cd /local/pub && more beer > /dev/mouth

Česká dokumentace
Back to top
View user's profile Send private message
jannis
Guru
Guru


Joined: 05 Dec 2004
Posts: 322
Location: Germany / Bavaria / Aschaffenburg

PostPosted: Thu Feb 24, 2005 8:53 pm    Post subject: Reply with quote

I don't think your problem is reiserfs4-related.
Have you checked this one:
http://forums.gentoo.org/viewtopic-t-278673.html
??
Back to top
View user's profile Send private message
jkt
Developer
Developer


Joined: 06 Feb 2004
Posts: 1249
Location: Prague, Czech republic, EU

PostPosted: Fri Feb 25, 2005 2:29 pm    Post subject: Reply with quote

jannis wrote:
I don't think your problem is reiserfs4-related.
Have you checked this one:
http://forums.gentoo.org/viewtopic-t-278673.html
??


actually, he has got two different problems at the same time, IMHO.
_________________
cd /local/pub && more beer > /dev/mouth

Česká dokumentace
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index 中文 (Chinese) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum