April 20, 2024, 03:49:48 AM

News : LinuxSolved.com Linux Help Community Forum..


Author Topic: Segmentation Fault In redhat  (Read 5667 times)

Offline anil_garg5

  • Linux Learner
  • ***
  • Posts: 71
Segmentation Fault In redhat
« on: January 20, 2005, 07:40:21 AM »
Hi All,

my system is showing segmentaiton Fault when I boot it and get stuck while activating eth0

See the error message:
========================================
Remounting root filesystem in read-write mode:  [  OK  ]
/etc/rc.sysinit: line 308:    56 Segmentation fault      rm -f /etc/mtab~ /etc/m
tab~~
/etc/rc.sysinit: line 375:    61 Segmentation fault      rm -f /lib/modules/pref
erred
/etc/rc.sysinit: line 376:    62 Segmentation fault      rm -f /lib/modules/defa
ult
Finding module dependencies:  depmod: Can't open /lib/modules/2.4.18-mips/module
s.dep for writing
[FAILED]
Checking filesystems
Checking all file systems.
[  OK  ]
Mounting local filesystems:  [  OK  ]
/etc/rc.sysinit: line 611:    83 Segmentation fault      rm -f /fastboot /fsckop
tions /forcefsck /halt /poweroff
/etc/rc.sysinit: line 625:    87 Segmentation fault      rm -f $afile/*
/etc/rc.sysinit: line 625:    91 Segmentation fault      rm -f $afile/*
/etc/rc.sysinit: line 625:    92 Segmentation fault      rm -f $afile
/etc/rc.sysinit: line 625:    93 Segmentation fault      rm -f $afile
/etc/rc.sysinit: line 625:    97 Segmentation fault      rm -f $afile/*
/etc/rc.sysinit: line 625:    98 Segmentation fault      rm -f $afile
/etc/rc.sysinit: line 625:    99 Segmentation fault      rm -f $afile
/etc/rc.sysinit: line 625:   100 Segmentation fault      rm -f $afile
/etc/rc.sysinit: line 625:   101 Segmentation fault      rm -f $afile
/etc/rc.sysinit: line 626:   102 Segmentation fault      rm -f /var/lib/rpm/__db
*
/etc/rc.sysinit: line 629:   103 Segmentation fault      /sbin/pam_console_apply
 -r
/etc/rc.sysinit: line 712:   109 Segmentation fault      rm -f /tmp/.X*-lock
                                                                            /etc
/rc.sysinit: line 712:   110 Segmentation fault      rm -f /tmp/.s.PGSQL.*
                                                                          Enabli
ng swap space:  [  OK  ]
=========================================
whats segmentation fault means??

Pls guide.

Offline gauravbajaj

  • LST CareTaker
  • Experienced
  • *****
  • Posts: 658
Segmentation Fault In redhat
« Reply #1 on: January 24, 2005, 08:07:29 AM »
hi
Reinstall the system, it removes all the problem
bye

Offline gauravbajaj

  • LST CareTaker
  • Experienced
  • *****
  • Posts: 658
Segmentation Fault In redhat
« Reply #2 on: January 24, 2005, 08:10:40 AM »
hi anil,
try this
boot from your Red Hat Cd
at boot prompt write
#boot: linux rescue
after that
try
#fsck -fA /dev/hda1(partition in which your linux is installed)
bye

Offline anil_garg5

  • Linux Learner
  • ***
  • Posts: 71
Segmentation Fault In redhat
« Reply #3 on: January 25, 2005, 01:18:12 PM »
Hello gaurav,
thanks for ur reply.
This is the problem due to prob in HDD. there are some bad sectors in that.
i solved this prob.