LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-24-2004, 10:31 AM   #1
shelfish
LQ Newbie
 
Registered: Jan 2004
Location: south east
Distribution: Looking at yarrow-i386
Posts: 9

Rep: Reputation: 0
Angry Installation Problems


I am using fedora core 1 and am having problems installing the rpm yum. I am getting the following message:
[root@localhost bin]# rpm -ihv yum-2.0.4-2.fd.fr.i386.rpm
warning: yum-2.0.4-2.fd.fr.i386.rpm: V3 DSA signature: NOKEY, key ID e42d547b
Segmentation fault
Can anyone tell me what this means and how to correct the problem.
 
Old 01-24-2004, 12:08 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
Welcome to LQ.

Have you just upgraded to a 2.6.* kernel?
 
Old 01-24-2004, 01:06 PM   #3
shelfish
LQ Newbie
 
Registered: Jan 2004
Location: south east
Distribution: Looking at yarrow-i386
Posts: 9

Original Poster
Rep: Reputation: 0
I installed ferdora core 1 from the yarrow iso. I am dual boot with winplows xp, using grub as my boot loader. I have been looking at many of the questions and answers, but as of yet not been able to help myself.
 
Old 01-24-2004, 01:54 PM   #4
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
What does the output of this show:
uname -a
 
Old 01-24-2004, 01:59 PM   #5
shelfish
LQ Newbie
 
Registered: Jan 2004
Location: south east
Distribution: Looking at yarrow-i386
Posts: 9

Original Poster
Rep: Reputation: 0
Linux localhost.localdomain 2.4.22-1.2149.nptl #1 Wed Jan 7 13:08:26 EST 2004 i686 i686 i386 GNU/Linux
 
Old 01-24-2004, 02:15 PM   #6
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
Does this happen with all rpms? If not then I would try downloading hte package again.
 
Old 01-24-2004, 02:58 PM   #7
shelfish
LQ Newbie
 
Registered: Jan 2004
Location: south east
Distribution: Looking at yarrow-i386
Posts: 9

Original Poster
Rep: Reputation: 0
I also tried to install the rpm for synaptic. It started to load. I got something like:
preparing #################### 100%

#1 ###################### 100%

then the cursor went to the next line and stayed there blinking. Never showed the shell promt again, almost like it locked up? I don't know? Same thing happens when I tried to install Apt. I have not tried anything else.
 
Old 01-24-2004, 11:01 PM   #8
Eqwatz
Member
 
Registered: May 2003
Distribution: Slack Puppy Debian DSL--at the moment.
Posts: 341

Rep: Reputation: 30
Sementation fault is a very bad thing.
It means that a driver or a piece of software isn't handling memory properly.

Just for fun, check /etc/fstab and make sure you have a swap partition entry and it is pointing to the correct partition.

Then: less /proc/partitions to see if it exists.

Then: less /proc/filesystems to see if it is mounted.
You can also check /etc/mtab for mounted partitions.

If you have an entry for /swap in /etc/fstab, and you have an actual partition, and /etc/mtab or /proc/filesystems shows that it is mounted.

run dmsg from a console and look at the amount of ram which Linux detects--it should agree with the bios detection of memory. And scan it for error messages.

After that I would check to make sure that you have the correct drivers for sound and video. Although generally you won't get seg-faults from those, in the past it has happened to me. Review information on the correct drivers and settings for your video card and check them.
 
Old 01-25-2004, 08:32 AM   #9
shelfish
LQ Newbie
 
Registered: Jan 2004
Location: south east
Distribution: Looking at yarrow-i386
Posts: 9

Original Poster
Rep: Reputation: 0
Thank you I will check this out as soon as I am able and let you know how I am doing. As I said before thank you.
 
Old 01-25-2004, 10:54 AM   #10
shelfish
LQ Newbie
 
Registered: Jan 2004
Location: south east
Distribution: Looking at yarrow-i386
Posts: 9

Original Poster
Rep: Reputation: 0
This is less /proc/partitions:

major minor #blocks name rio rmerge rsect ruse wio wmerge wsect wuse running use aveq

8 0 1048575 sda 6 18 48 0 0 0 0 0 0 0 0
8 16 1048575 sdb 4 12 32 0 0 0 0 0 0 0 0
3 0 39082680 hda 65476 54327 949510 396350 60875 80123 1133862 1696640
-127 19549527 10470033
3 1 19543041 hda1 29 151 360 780 0 0 0 0 0 780 780
3 2 104422 hda2 35 89 248 360 22 25 94 50 0 390 410
3 3 18651465 hda3 65053 52187 937922 390080 60353 76175 1096824 1689920 0 356750 2080000
3 4 1 hda4 10 0 20 140 0 0 0 0 0 140 140
3 5 779121 hda5 156 945 8664 1810 500 3923 36944 6670 0 2160 8520
partitions (END)

This is less/proc/filesystems:

nodev rootfs
nodev bdev
nodev proc
nodev sockfs
nodev tmpfs
nodev shm
nodev pipefs
ext2
nodev ramfs
iso9660
nodev devpts
ext3
nodev usbdevfs
nodev usbfs
nodev autofs
filesystems (END)

I don't know but that does not seam to be wright?

Here is /etc/mtab:
/dev/hda3 / ext3 rw 0 0
none /proc proc rw 0 0
none /dev/pts devpts rw,gid=5,mode=620 0 0
usbdevfs /proc/bus/usb usbdevfs rw 0 0
/dev/hda2 /boot ext3 rw 0 0
none /dev/shm tmpfs rw 0 0
mtab (END)

Does this tell you anything???
 
Old 01-26-2004, 12:05 AM   #11
Eqwatz
Member
 
Registered: May 2003
Distribution: Slack Puppy Debian DSL--at the moment.
Posts: 341

Rep: Reputation: 30
You don't have a swap partition. Well, I can't say that, because I don't know what all of the partitions you have listed in by /proc partitions are set up to be.

You may in fact have set up a swap partition, but it wasn't initialized or added to the /etc/fstab.

If you followed proper procedures you should have a map of each drive and the assigned partitions--and the respective volume labels and file systems--(on paper) in your hardware logs.

If not, you are going to have to find out what each partition on each hard drives is by experimentation and booting up to each O.S. you have in your computer. On Windows, you can discern the used (by windows) partitions using the system information utility combined with the hardware manager.

Or you could bring up a console in windows and run fdisk and have that program print out the partition information for each drive.

The same can be done using the Linux version of fdisk, but you have to be very careful not to hose everything up.

Partition Magic also will tell you what file system is on each partition.

After that, it is a matter of elimination. And size.

Swap partitions on modern machines are generally between 512M and 768M depending on the amount of ram in your machine.

Use the man pages and info pages on: fstab; mkswap; swapon; and related files before you do anything.

AFTER YOU HAVE THOROUGHLY CHECKED THE PARTITION LAYOUT IN EVERY WAY AND ARE ABSOLUTELY POSITIVE YOU HAVE FOUND THE PARTITION WHICH WAS SUPPOSED TO BE YOUR
SWAP, then mkswap /dev/whatever_the_partition_is. Then swapon /dev/Partition.
The swap will be at this point initialized and mounted for use. Add the entry for the swap partition in your /etc/fstab and you are done.

You should at this point be able to rpm to your little heart's delight.

Last edited by Eqwatz; 01-26-2004 at 12:16 AM.
 
Old 01-26-2004, 03:39 PM   #12
shelfish
LQ Newbie
 
Registered: Jan 2004
Location: south east
Distribution: Looking at yarrow-i386
Posts: 9

Original Poster
Rep: Reputation: 0
Thank You, let me do some research and understand what you are saying. Then I will determine where my swap partition is, or if I even have one. Then will try to mount it. I will let you know how it goes. Thanks again, Shelfish
 
Old 01-26-2004, 05:20 PM   #13
shelfish
LQ Newbie
 
Registered: Jan 2004
Location: south east
Distribution: Looking at yarrow-i386
Posts: 9

Original Poster
Rep: Reputation: 0
Ok, I am almost at the point of re-installing fedora core one to see if that will resolve my problem. I would rather understand what the problem really is tho. I have done some reading and searching, this is what I have found:
[john@localhost john]$ cat /proc/meminfo
total: used: free: shared: buffers: cached:
Mem: 393900032 377806848 16093184 0 131018752 104312832
Swap: 797810688 78401536 719409152
MemTotal: 384668 kB
MemFree: 15716 kB
MemShared: 0 kB
Buffers: 127948 kB
Cached: 85048 kB
SwapCached: 16820 kB
Active: 170668 kB
Inactive: 142028 kB
HighTotal: 0 kB
HighFree: 0 kB
LowTotal: 384668 kB
LowFree: 15716 kB
SwapTotal: 779112 kB
SwapFree: 702548 kB
[john@localhost john]$

This shows that I do indead have a swap file, however, when I try to run fdisk in the terminal it will not run. says file command not found. Oh I also found that the partition the contains my swap file is /hda5. Can anyone shed some light on this?
 
Old 01-26-2004, 05:51 PM   #14
shelfish
LQ Newbie
 
Registered: Jan 2004
Location: south east
Distribution: Looking at yarrow-i386
Posts: 9

Original Poster
Rep: Reputation: 0
I got fdisk to run and this is the result:

[root@localhost sbin]# ./fdisk -l

Disk /dev/hda: 40.0 GB, 40020664320 bytes
255 heads, 63 sectors/track, 4865 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 2433 19543041 c Win95 FAT32 (LBA)
/dev/hda2 2434 2446 104422+ 83 Linux
/dev/hda3 2447 4768 18651465 83 Linux
/dev/hda4 4769 4865 779152+ f Win95 Ext'd (LBA)
/dev/hda5 4769 4865 779121 82 Linux swap

This looks like the swap file is mounted correctly.
 
Old 01-26-2004, 11:58 PM   #15
Eqwatz
Member
 
Registered: May 2003
Distribution: Slack Puppy Debian DSL--at the moment.
Posts: 341

Rep: Reputation: 30
If there is no entry in /etc/fstab for your swap partition you are not using it.
Period.

If /etc/mtab doesn't have an entry for the /swap partition it is not mounted.
Period. That is what mtab MEANS.

I am not going to take a calculator and divide those numbers by 1024 in order to be able to make them human readable.

If you are sure that the /swap is /dev/hda5

Then use the command mkswap /dev/hda5

swapon /dev/hda5

Then, try to install one of those rpms.

If that is the problem, the rpm will run.

But, you better make sure first that the attempted installs which crashed didn't partially install. This can give you a false warning that the packages are already installed. If so, then uninstall those rpms and try again.

If things work, edit the /etc/fstab so it has an entry for the /dev/hda5 as a mountable swap partition.

Do a search to see the correct syntax.

Last edited by Eqwatz; 01-27-2004 at 12:04 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
installation problems Garibaldi3489 Slackware 8 01-27-2005 02:34 AM
installation problems marccu Linux - Newbie 14 09-28-2003 07:01 AM
Installation problems christer Linux - Software 2 09-27-2003 06:52 PM
Mandrake 9.0 Installation Problems: X-Server, GUI Problems? chromelocust Linux - Software 4 03-21-2003 02:59 AM
Installation Problems loran Linux - Software 16 03-03-2003 08:28 AM


All times are GMT -5. The time now is 12:49 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration