Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
hi,
While executing mount command i am getting a " Segmentation Fault " Error,
Can anyone please let me know what this error is. I rebooted the machine but still the problem persist.
I have seen this under two different conditions in my limited programming experience.
1. The program is trying to access unavailable memory. If it tries to access an array element that is outside the range of the declared size of the array, for example, this error may result.
2. Compiler problem. I noticed that on one processor architecture, I couldn't compile a program using gcc, but that on another one, it worked (same program and compiler).
Perhaps you are giving it arguments for mount which just don't make sense. Perhaps if you post the command and its arguments, others here could help you. I know that some distros place /floppy, /cdrom, etc. in different paths.
Try finding the mount command on the cds in another computer or if you have two CD-ROM players you can use Knoppix to search the mount command on the installation discs. Then replace it with the one from the disc.
Try running memtest86 from a boot disk.
Try removing some modules until it starts working.
To remove modules or drivers. As root type modprobe -r module_name or rmmod module_name. The rmmod utility just removes the desire module. The modprobe command removes the module and as well as others that is uses. You can try to remove the sound modules and then network. Probably the library file that mount depends on is corrupted. You can try to use strace by doing strace mount. It will tell you want library it needs if mount was compiled as shared. Usually Mandrake compiles mount and some other commands as shared.
I suggest finding the RPM file or tgz file on the discs and then use mc to open up the file. Next copy the file to the right path. This will replace the mount command with out going through RPM hell.
when i tried strace (after doing chroot /mnt/sysimage, su) it came up with a lot of 'no such file or directory' or something similar. the last 2 lines were:
----sigsegv segmentation fault---
*** killed by sigsegv****
(when i tried it without chrooting, it came up alot different)
and when did modprobe sound it came up with:
cant open dependencies file /lib/....modules.dp (no such file or dir...)
i checked and the file was not there
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.