View previous topic :: View next topic |
Author |
Message |
akar Bodhisattva
Joined: 03 Dec 2004 Posts: 348 Location: HKSAR,China
|
Posted: Sat Feb 12, 2005 1:31 pm Post subject: compile error after reiserfs4 crash! |
|
|
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 |
|
|
jkt Retired Dev
Joined: 06 Feb 2004 Posts: 1250 Location: Prague, Czech republic, EU
|
Posted: Sat Feb 12, 2005 2:41 pm Post subject: |
|
|
is your filesystem in sane state? have you tried `reiserfsck`? _________________ cd /local/pub && more beer > /dev/mouth
Česká dokumentace |
|
Back to top |
|
|
xming Guru
Joined: 02 Jul 2002 Posts: 441
|
Posted: Sat Feb 12, 2005 7:45 pm Post subject: |
|
|
if your are using reiser4 instead of reiserfs (v3) please use fsck.reiser4
xming _________________ http://wojia.be |
|
Back to top |
|
|
EricHsu Bodhisattva
Joined: 03 May 2004 Posts: 591 Location: Aragon Consulting Group, Beijing, China
|
Posted: Sun Feb 13, 2005 4:18 am Post subject: |
|
|
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? _________________ - http://nkbit.com
- http://twitter.com/xuyihua |
|
Back to top |
|
|
akar Bodhisattva
Joined: 03 Dec 2004 Posts: 348 Location: HKSAR,China
|
Posted: Sun Feb 13, 2005 4:37 am Post subject: |
|
|
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 |
|
|
jkt Retired Dev
Joined: 06 Feb 2004 Posts: 1250 Location: Prague, Czech republic, EU
|
Posted: Sun Feb 13, 2005 11:21 am Post subject: |
|
|
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 |
|
|
akar Bodhisattva
Joined: 03 Dec 2004 Posts: 348 Location: HKSAR,China
|
Posted: Mon Feb 14, 2005 2:44 am Post subject: |
|
|
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.
https://forums.gentoo.org/viewtopic-t-278673-highlight-gcc+upgrade.html
_________________ AKar |
|
Back to top |
|
|
jkt Retired Dev
Joined: 06 Feb 2004 Posts: 1250 Location: Prague, Czech republic, EU
|
Posted: Mon Feb 14, 2005 1:03 pm Post subject: |
|
|
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.
you do have HW troubles, either with your IDE controller, cables or hard drive.
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 |
|
|
akar Bodhisattva
Joined: 03 Dec 2004 Posts: 348 Location: HKSAR,China
|
Posted: Tue Feb 15, 2005 12:39 pm Post subject: |
|
|
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 |
|
|
jkt Retired Dev
Joined: 06 Feb 2004 Posts: 1250 Location: Prague, Czech republic, EU
|
Posted: Tue Feb 15, 2005 4:38 pm Post subject: |
|
|
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 |
|
|
jannis Guru
Joined: 05 Dec 2004 Posts: 340 Location: Germany / Bavaria / Aschaffenburg
|
|
Back to top |
|
|
jkt Retired Dev
Joined: 06 Feb 2004 Posts: 1250 Location: Prague, Czech republic, EU
|
Posted: Fri Feb 25, 2005 2:29 pm Post subject: |
|
|
actually, he has got two different problems at the same time, IMHO. _________________ cd /local/pub && more beer > /dev/mouth
Česká dokumentace |
|
Back to top |
|
|
|