LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 03-05-2010, 02:33 PM   #1
BobNutfield
Senior Member
 
Registered: Dec 2005
Location: United Kingdom
Distribution: Fedora , Ubuntu, Slackware-Current
Posts: 1,491

Rep: Reputation: 52
Major update today on Slack-Current - system now borked


Hello Everyone,

It has been quite a while since I have had an issue like this, but this one may not be recoverable.

As I am sure anyone running -current know, there was a major upgrade recetnly. I use Slackpackage to keep everything updated, and everything started normally (slackpackage-upgrade-all). About 3/4 through this large update, the network connection was lost for some reason not known. It was definitely a slack problem because all of the other machines in the house have no issue. I waited for quite a while for it to resume, but it never did, so I attempted to open another terminal investigate. Nothing would open. The system was not frozen, but no apps would open. Finally, I attempted a reboot (but I knew I was screwed when I did it). Sure enough, the system would not reboot with the error "There is a filesystem error. You will be given the chance to login as root to fix the issue". Well that was it. I could go no further.

If anyone has any thoughts I would appreciate any help. I can usually recover from this kind of disaster in other distros, but not all of the update packages had downloaded so when I rebooted I am sure the system was not even half updated. Can I fix this or am I screwed?

Thanks

Bob
 
Old 03-05-2010, 02:40 PM   #2
mrclisdue
Senior Member
 
Registered: Dec 2005
Distribution: Slackware -current, 14.2
Posts: 1,087

Rep: Reputation: 196Reputation: 196
Check this thread:

http://www.linuxquestions.org/questi...adise.-792944/

especially post #5, by member dive, which should help with the recovery.

I shalt never, ever again, lament the lack of changelog activity in -current.....

cheers,
 
Old 03-05-2010, 02:58 PM   #3
BobNutfield
Senior Member
 
Registered: Dec 2005
Location: United Kingdom
Distribution: Fedora , Ubuntu, Slackware-Current
Posts: 1,491

Original Poster
Rep: Reputation: 52
Thanks for the reply. That does look like the same problem. This is on a laptop that triple boots with Slack on /dev/sda7. Would I not be able to run e2fsck on this partition from the Fedora installation on another partition (since the slack partition would not be mounted)?

Oddly, I cannot seem to find the Slack installation DVD, so I would probably have to download another one.

Thanks

Bob
 
Old 03-05-2010, 03:05 PM   #4
BobNutfield
Senior Member
 
Registered: Dec 2005
Location: United Kingdom
Distribution: Fedora , Ubuntu, Slackware-Current
Posts: 1,491

Original Poster
Rep: Reputation: 52
OK, I was able to run this from Fedora, and this is the result:

Quote:
oot@bob-laptop bob]# e2fsck -f -y -v /dev/sda7
e2fsck 1.41.9 (22-Aug-2009)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information

310592 inodes used (42.38%)
8474 non-contiguous files (2.7%)
222 non-contiguous directories (0.1%)
# of inodes with ind/dind/tind blocks: 15207/127/0
1721354 blocks used (58.75%)
0 bad blocks
1 large file

266378 regular files
20281 directories
2035 character device files
7847 block device files
1 fifo
3241 links
14028 symbolic links (14027 fast symbolic links)
13 sockets
--------
313824 files
But, I do not see anything helpful in repairing this. What should I be looking for?

Bob
 
Old 03-05-2010, 03:49 PM   #5
BobNutfield
Senior Member
 
Registered: Dec 2005
Location: United Kingdom
Distribution: Fedora , Ubuntu, Slackware-Current
Posts: 1,491

Original Poster
Rep: Reputation: 52
OK, I have been able to chroot to the partition and all the files look OK and I have a network connection working, but the slackpackage command does not work from chroot. Does anyone know anything I could try from here?

Bob
 
Old 03-05-2010, 03:58 PM   #6
mRgOBLIN
Slackware Contributor
 
Registered: Jun 2002
Location: New Zealand
Distribution: Slackware
Posts: 999

Rep: Reputation: 229Reputation: 229Reputation: 229
is it complaining about gmp missing?

If so you may need to manually re-install the latest aaa_elflibs package.
 
Old 03-05-2010, 04:03 PM   #7
BobNutfield
Senior Member
 
Registered: Dec 2005
Location: United Kingdom
Distribution: Fedora , Ubuntu, Slackware-Current
Posts: 1,491

Original Poster
Rep: Reputation: 52
Hello, mRgOBLIM, no, it seems to complain about libblkid.so.1 not being found. Starts to boot then stops with that error. As I mentioned above, I am currently at a bash prompt in a chroot to the Slack partition, and I have SBo installed, but can't seem to figure out how to install whatever I need to install. The network connection seems to be working as I have an IP address with ifconfig.

A post from dive mentions that this library is found in utils-linux-ng, but I do not seem to be able to find that anywhere and I do not have the slack install cd.

Thanks for any help.

Bob
 
Old 03-05-2010, 04:10 PM   #8
mRgOBLIN
Slackware Contributor
 
Registered: Jun 2002
Location: New Zealand
Distribution: Slackware
Posts: 999

Rep: Reputation: 229Reputation: 229Reputation: 229
/pub/slackware/slackware64-current/slackware64/a/util-linux-ng-2.17.1-x86_64-1.txz
 
Old 03-05-2010, 04:20 PM   #9
BobNutfield
Senior Member
 
Registered: Dec 2005
Location: United Kingdom
Distribution: Fedora , Ubuntu, Slackware-Current
Posts: 1,491

Original Poster
Rep: Reputation: 52
Thank you, but I am running 32bit Slack current. It the package for that in the same place? Is it possible to install it via SBo package or wget?

Bob

Last edited by BobNutfield; 03-05-2010 at 04:29 PM.
 
Old 03-05-2010, 04:29 PM   #10
botnet
Member
 
Registered: May 2009
Posts: 158

Rep: Reputation: 40
bob, as root in your chrooted shell:

Code:
wget http://carroll.cac.psu.edu/pub/linux/distributions/slackware/slackware-current/slackware/a/util-linux-ng-2.17.1-i486-1.txz && installpkg util-linux-ng-2.17.1-i486-1.txz
 
Old 03-05-2010, 04:36 PM   #11
BobNutfield
Senior Member
 
Registered: Dec 2005
Location: United Kingdom
Distribution: Fedora , Ubuntu, Slackware-Current
Posts: 1,491

Original Poster
Rep: Reputation: 52
Thanks, that would have worked, but I guess I was wrong about having a connection. I seem to be connected to my home network (I can ping other machines) but wget gets me a name-resolve error, and I can ping anything on the net.

I suppose I can try to mount the partition in Fedora and move the downloaded file to my home directory on the mounted partition. Looks like that is the only thing I can and I do not have any idea if even that will fix this problem. I have seen that many other have had the same issue with this update yesterday and today. I understand their frustration. I have a lot of files on that partition which I suppose I can still get to, but I have had this installation for nearly two years with no major issues (upgrade upon upgrade) and it seems ashame to lose it all now.

Thanks

Bob
 
Old 03-05-2010, 04:43 PM   #12
botnet
Member
 
Registered: May 2009
Posts: 158

Rep: Reputation: 40
at worst, you can simply get a new slackware dvd, chroot into your current install, and reinstall all the slackware packages off the dvd

that would preserve all your personal files and should fix whatever is wrong with the current installation without needing to do a full format and re-install
 
Old 03-05-2010, 05:12 PM   #13
BobNutfield
Senior Member
 
Registered: Dec 2005
Location: United Kingdom
Distribution: Fedora , Ubuntu, Slackware-Current
Posts: 1,491

Original Poster
Rep: Reputation: 52
Well, if simply installing that package would fix this mess, I can "almost" do it as I downloaded it in Fedora and am able to mount my Slack partition in Fedora, but I cannot move the package there as there is a permissions problem. If I could get it to the Slack partition, I could install it inside the chroot mount. If anyone knows how I can get this package moved across partitions, I would appreciated it. If not, I will give up on this one and take a break from Slack for a while and reinstall another day. I have been using Slack since 10.1 and this is the first problem that looks like it is going to defeat me.

Thanks for all the kind help. The help I have always gotten here is what separate Slack from every other distro I have ever used.

Bob
 
Old 03-05-2010, 05:39 PM   #14
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551
My system was totally SCREWED yesterday (I'm using it now, it's pretty much fixed), and by the sounds of things, you need a Slack CD or DVD to boot from, at least to get it working again. For me, chroot didn't work because I had the system so totally mangled that everything I tried to do inside the chroot resulted in a Segmentation Fault (not happy I was, no.)

Can you get a DVD or CD and burn it? I'd be doing that anyways -- you'll want/need it for *something* *sometime*..

Or -- Work on that permissions issue. If you're logged into Fedora as root, and you mount the slack partition (rw) then you ought to be able to move the file over there easily as far as I know.

One way or the other, or another, I would really not lean towards re-installing the entire system at this early stage in the game (I ended up having to do pretty much exactly that, but didn't lose much, if anything, in the way of customizations, and my /home is separate anyways...)

You say you CAN get into the chroot, but have no internet, so what happens if you try starting the network and starting DHCP? Can you bring up the internet connection?

eg:
shell# dhcpcd eth0
shell# /etc/rc.d/rc.inet1 start

does that work?

Sorry for the out-of-order way I posted this.. I suggest reading this post from the bottom up.


Kind regards,
Sasha
 
Old 03-05-2010, 05:57 PM   #15
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,349

Rep: Reputation: 346Reputation: 346Reputation: 346Reputation: 346
Quote:
Originally Posted by BobNutfield View Post
but I cannot move the package there as there is a permissions problem.
How are you mounting it? Do you have anything in fstab that might interfere with rw permissions? Usually a mount command with nothing in fstab should do the trick.

Another idea is get the file on a usb stick or cd.
 
  


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
Kde4 compose stopped working after last current update (slack-13_64) erickFis Slackware 3 01-29-2010 07:24 AM
Slack 12.2 -borked superblock on /dev/hda8 the_penguinator Slackware 4 01-06-2010 09:28 AM
slack.update 10.2 -> 'Current' [ Needing Help ] SlackerDex Slackware 3 03-21-2006 03:00 PM
kde 3.4.0 freeze system completely (slack-current) carboncopy Slackware 12 09-24-2005 04:48 AM
Slackware current updates today! neo Slackware 2 04-22-2005 05:32 PM

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

All times are GMT -5. The time now is 07:49 PM.

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