Red Hat Bugzilla – Bug 108974
Update of coreutils freezes my PC
Last modified: 2015-01-04 17:03:48 EST
Description of problem:
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.rpm -Fvh coreutils-22.214.171.124.0.2.i386.rpm
update of coreutils
Same behaviour if I try to update by RHN. System freezes, hard
re-boot, fsck /dev/hda1, but no way of updating coreutils.Rebuilt also
rpm data base, but no use
What happens when you try this?:
rpm2cpio coreutils-4.5.3-19.0.2.i386.rpm | cpio -t
You should get a list of files in the package.
I do not have the PC now, I will try in 3 hours time.
an additional information is
If I run rpm -va coreutils on old coreutils 4.5.3-19 I get :
> S.5....T /bin/basename
> S.5....T /bin/cat
> S.5....T /bin/chgrp
> S.5....T /bin/chmod
> S.5....T /bin/chown
> S.5....T /bin/cp
> S.5....T /bin/cut
> S.5....T /bin/date
> S.5....T /bin/dd
> S.5....T /bin/df
> S.5....T /bin/echo
> S.5....T /bin/env
> S.5....T /bin/false
> S.5....T /bin/link
> ..5....T /bin/ln
> S.5....T /bin/ls
> S.5....T /bin/mkdir
> ..5....T /bin/mknod
> S.5....T /bin/mv
> ..5....T /bin/nice
> S.5....T /bin/pwd
> S.5....T /bin/rm
> S.5....T /bin/rmdir
> S.5....T /bin/sleep
> S.5....T /bin/sort
> S.5....T /bin/stty
> S.5....T /bin/su
> S.5....T /bin/sync
> S.5....T /bin/touch
> S.5....T /bin/true
> S.5....T /bin/uname
> S.5....T /bin/unlink
> .......T c /etc/DIR_COLORS
> .......T c /etc/DIR_COLORS.xterm
> .......T c /etc/pam.d/su
> .......T c /etc/profile.d/colorls.csh
> .......T c /etc/profile.d/colorls.sh
I rebuilt RPM database, and afterwards I disinstalled and re-installed
a packega in order to see if RPM package was the problem.
This is what a I did, I apologize but quite a newbie..
Created attachment 95704 [details]
Output of command rpm2cpio
Output of command rpm2cpio coreutils-4.5.3-19.0.2.i386.rpm | cpio -t
That seems fine, so it must be the unpacking onto disk that causes a
problem. Does 'dmesg' say anything in the last few lines of output
that look like they might be errors?
I would also like to see what happens when you do this, on a text
console as root:
dmesg -n 8
rpm -Fvh coreutils-126.96.36.199.0.2.i386.rpm
(to see what kernel messages are displayed at the point it freezes)
the output was:
1: coreutils segmentation fault 17%
I had to write by pen as system froze.
For your info my system is fully updated apart from coreutils :-(
Had you switched to a text console (with Ctrl-Alt-F1), or was that in
a gnome-terminal window? It sounds like it might be a kernel oops.
a gnome-terminal window.
In any case, if I use RHN I cannot choose anything, I see RHN trying
to install and then everything after a while (10 seconds) freezes.
I will carry out also this test.Tnx
I did in a text console and I got a huge number of messages.
I treid to save with dmesg > rpm.messages -n 8 but system froze and
after re-start and repair file was empty (0 bytes)
Serial console or parallel console. If you have a serial port and
another machine, 'console=ttyS0' (for example). Or a parallel-port
ASCII-capable printer? 'console=lp0'
See /usr/src/linux-*/Documentation/serial-console.txt for how to
capture kernel messages.
I have no /usr/src/linux-*/Documentation/serial-console.txt on my Pc.
where shall I look???
It comes from the kernel-source package.
Just as a trial I booted my Pc with a different Kernel, but same problem.
I am struggling at getting messages recorded...
I had a look at serial-console.txt
As a newbie, I can understand that I have to recompile my kernel to
add the option of console.
In any case by console=lp0 I would get a printed output, not a file to
be sent on the Internet.
Any other suggestion??
May I install coreutils from rawhide??
You don't have to recompile the kernel.
If you had printed output, at least you would be able to type it in here.
This is a kernel bug, and we need to see those messages to know what's up.
Please can you help to set up the required option to use printer as
output?? I do not trust on my personal expertise.
I will type output, if I will succeed.
Just boot with 'console=lp0' on the kernel command line. So if you
use grub press 'e' to edit the boot selection, 'e' again on the kernel
line, and just add: console=lp0
For lilo just use 'linux console=lp0'.
Then type the commands from the previous comment, starting with 'dmesg
Created attachment 95730 [details]
Output of printer
I get 17% segmentation fault on screen and printed output as per attached file.
I remember different messages on screen yesterday.
Looks like kernel problems as suspected. Certainly not a coreutils
How shall I check this kind of problems?? My kernel is a standard kernel
(latest available for Redhat 9 from RHN).Same problem witha previous
release that is still available on my PC.
Looks like you hit filesystem corruption whilst unpacking the RPM.
Can you do a full fsck of your system, and then try installing that
It would be interesting to see if you have any other interesting ext3
related messages in /var/log/messages too.
Thanks for the bug report. However, Red Hat no longer maintains this version of
the product. Please upgrade to the latest version and open a new bug if the problem
The Fedora Legacy project (http://fedoralegacy.org/) maintains some older releases,
and if you believe this bug is interesting to them, please report the problem in
the bug tracker at: http://bugzilla.fedora.us/