LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-13-2006, 03:45 PM   #31
nykey
Member
 
Registered: Nov 2003
Posts: 360

Rep: Reputation: 30

I mostly mean if you upgraded the packages from the a directory. You know... the coreutils, aaa_base, aaa_elflibs ... etc.
 
Old 07-13-2006, 04:49 PM   #32
Cyric
Member
 
Registered: Sep 2004
Location: NC, USA
Distribution: Slackware 10
Posts: 109

Original Poster
Rep: Reputation: 15
I installed m4 a couple days ago, didnt give me any trouble though.
 
Old 07-13-2006, 05:09 PM   #33
nykey
Member
 
Registered: Nov 2003
Posts: 360

Rep: Reputation: 30
then, you can try upgrading your a directory... download the whole a directory from a slackware-current mirror, then telinit 1 , upgradepkg /root/a/*.tgz (assuming you have all the packages in dir 'a' and dir 'a' is in '/root').
 
Old 07-13-2006, 05:28 PM   #34
Ilgar
Senior Member
 
Registered: Jan 2005
Location: Istanbul, Turkey
Distribution: Slackware64 15.0, Slackwarearm 14.2
Posts: 1,157

Rep: Reputation: 237Reputation: 237Reputation: 237
This is interesting. I agree that the solution requires a reinstall or upgrade.

But before you do that, could you try using gdb to find out the segfaults' cause? e.g. for chown you can say

gdb chown [whatever parameters]

and then, inside gdb, say

run

and when you get segfault say

bt

to see backtrace. I'm just curious. Don't bother with that if you don't have the time, though.
 
Old 07-13-2006, 05:29 PM   #35
Cyric
Member
 
Registered: Sep 2004
Location: NC, USA
Distribution: Slackware 10
Posts: 109

Original Poster
Rep: Reputation: 15
I looked on the linux download here, but I dont see any otion to just download a directory, where can I get it?
 
Old 07-13-2006, 05:35 PM   #36
Cyric
Member
 
Registered: Sep 2004
Location: NC, USA
Distribution: Slackware 10
Posts: 109

Original Poster
Rep: Reputation: 15
Jesus christ, this thing is messed up, doing gdb chown just says /usr/bin/gdb no such file or directory, I think I just need to reinstall. I am downloading 10.2 as we speak, maybe upgrading will do the trick, if this /a/ folder thing doesnt work.
 
Old 07-13-2006, 05:46 PM   #37
Cyric
Member
 
Registered: Sep 2004
Location: NC, USA
Distribution: Slackware 10
Posts: 109

Original Poster
Rep: Reputation: 15
heh, it doesnt look like I even have a /root/a directory, lol

Isnt cd3 or 4 supposed to be a repair disk?

Last edited by Cyric; 07-13-2006 at 05:48 PM.
 
Old 07-13-2006, 06:35 PM   #38
Cyric
Member
 
Registered: Sep 2004
Location: NC, USA
Distribution: Slackware 10
Posts: 109

Original Poster
Rep: Reputation: 15
just an update, I tried doing netconfig to see if that would help the connection troubles, netconfig comes up, but wont accept anything, I put in the hostname and hit ok, it just clears and is still on the hostname input screen.
 
Old 07-13-2006, 06:49 PM   #39
nykey
Member
 
Registered: Nov 2003
Posts: 360

Rep: Reputation: 30
no, you got me wrong. slackware's packages are divided onto several directories depending on what they mean, and do on your system. the programs in directory a located on your slackware cd or on any mirror, the only difference is that on the mirrors, in slackware-current directories are new versions. For example I use ftp://ftp.lug.ro/slackware/slackware-current/slackware as a mirror, because it's from my home country and connection is better, but you can find one from your country and maybe download alot faster then you would from the one I posted above, if you don't know or don't have time, or whatever reason just try the one I posted. These are the steps you can follow (and they work using Konqueror web browser or IE from Window$ web browser.
1. Open the link above with Konqueror or Internet Explorer.
2. Right click on the a directory you see there, and you will be presented with a menu, then do as follows:
2.1 For Konqueror go to Copy To -> Home Folder -> Copy Here. (the whole directory will be saved to /home/yourusername/a - where username is the user you are currently logged on, and it should be a normal user, not root)
2.2 For Internet Explorer (I explain this from what I remember, as I am currently booted into Linux, but should give you a starting point at least if I won't remember it exactly) after you opened the website, right click the a directory then Copy to folder -> Choose where to save it -> OK.
3. Now upgrade your packages... we have 2 different situations here, too, depending on if you wore on Linux or Window$ when you've downloaded the directory:
3.1 If you downloaded from Linux, do the following from a terminal while logged in as root issue: telinit 1 . This will take your computer to maintainace runlevel, then login as root again while in runlevel 1, and issue the command: upgradepkg --install-new /root/a/*.tgz ! After the upgrade is done, issue: telinit 3 , login as root if you're asked for password, reboot the system, and try those commands that give you seg fault.
3.2 If you downloaded from Window$, be sure to have the Window$ parition mounted where the a directory is then issue the following command: cp -R /mnt/win_d/a /root (this was only an example, with my partition scheme, basicly I copied directory a from the top of my window$ D:\ partition in /root , you can just replace /mnt/win_d/a with the full path to your window$ partition where the a directory resides) after you copy the whole dir to /root you can use the instructions above, starting from the: telinit 1 command.

You could also try downloading the l directory where glibc is and other libraries and do exactly the same like you did with a only change a to l in the commands. If this will not work, then under my opinion you must clearly do a fresh reinstall (not installing it over the system you already have, but actually formating it and installing it from scratch). Good luck, keep trying, keep asking and let us know.
 
Old 07-13-2006, 06:51 PM   #40
nykey
Member
 
Registered: Nov 2003
Posts: 360

Rep: Reputation: 30
oh, and everything I've said before about upgrading those packages, is presuming that installpkg/upgradepkg/pkgtool tools still work and things like: rm and whatever these tools need for the upgrade. Anyway, it's worth giving it a shot.
 
Old 07-13-2006, 07:26 PM   #41
Cyric
Member
 
Registered: Sep 2004
Location: NC, USA
Distribution: Slackware 10
Posts: 109

Original Poster
Rep: Reputation: 15
Well, nothing seems to be working. Thanks for the help. One last question, how do I burn a cd from the console, I gotta back up some stuff before I wipe and reinstall, going to install 10.2 this time and see how it goes.
 
Old 07-13-2006, 07:41 PM   #42
nykey
Member
 
Registered: Nov 2003
Posts: 360

Rep: Reputation: 30
To be true, I've never used a consoled based cd burner, only GUI like NeroLinux, which I'm best used to from Window$. But assuming you have cdrecord installed, try cdrecord -h or man cdrecord and see what options you have. But don't you have more than 1 partitions ? Do a fdisk -l and cat /etc/fstab and post here the output you get. Maybe we can do it other way, than burning a CD.
 
Old 07-13-2006, 08:22 PM   #43
Cyric
Member
 
Registered: Sep 2004
Location: NC, USA
Distribution: Slackware 10
Posts: 109

Original Poster
Rep: Reputation: 15
cdrecord and fstab both seg fault, lol...what a mess I have made. fdisk -l shows only one partition, the dev/hda1.
 
Old 07-13-2006, 08:48 PM   #44
nykey
Member
 
Registered: Nov 2003
Posts: 360

Rep: Reputation: 30
Well, I really can't think of some other way than just adding a new hard drive, usb drive, or any other kind of storage like that which has the capacity of storing what you want to save, then boot from slack cd 1, mount both your / partition and the partition from the new storage device, copy all you want to keep from your / (slackware partition) to the new device's partition. Reinstall slackware, make sure you repartition your main hdd, at least 1 partition for / and another one for /home which should be bigger in size than / , if you have a big drive make the first partition 10Gb and the rest assign to the second partition to mount /home on it. after reinstalling your system with these 2 partitions at least, copy the backups you made at their places and ... you know what to do with the other storage device... if you can find a better way point it out, cause i'm pretty tired this moments and couldn't get one for now...
 
Old 07-13-2006, 09:01 PM   #45
Cyric
Member
 
Registered: Sep 2004
Location: NC, USA
Distribution: Slackware 10
Posts: 109

Original Poster
Rep: Reputation: 15
Well, I'd do what I can, I am pretty aggravated and tired myself. I may just say screw it and lose all my stuff. Thanks for all your help.
 
  


Reply

Tags
fault, programs, segmentation fault



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
segmentation faults crash88 Linux - Software 3 07-03-2006 10:22 PM
Segmentation faults winterhunter Linux - Software 5 10-14-2005 03:06 AM
Segmentation Faults. Terroth Linux - Hardware 1 06-19-2005 05:16 AM
Segmentation Faults ryankask Mandriva 2 06-13-2005 07:10 PM
Problems installing fastcgi on Fedora Core 3/Apache segmentation 11 faults bax Linux - Software 3 05-29-2005 10:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:06 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
Open Source Consulting | Domain Registration