Gentoo Forums
Gentoo Forums
Quick Search: in
e2fsprogs, com_err, and ss blockers
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3, 4, 5, 6  Next  
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
GODhack
Guru
Guru


Joined: 26 Jan 2008
Posts: 389
Location: Lithuania

PostPosted: Sat Nov 01, 2008 1:35 pm    Post subject: Reply with quote

And I believed that this kind of mess can occur only in 1-2 developers maintained distribution like ArchLinux. :roll:
Plz post here then everything will be 100% OK.
Back to top
View user's profile Send private message
8mihi
n00b
n00b


Joined: 29 Sep 2006
Posts: 21
Location: Eastern 'Pennsyltucky'

PostPosted: Sat Nov 01, 2008 2:35 pm    Post subject: Reply with quote

oops...

I see this topic still seems to floating around the 'top 10' whenever I hit the 'view last 24 hrs'. I have more experience to report...

Earlier this week, I mentioned about that Koboneil's suggestion worked for me...and it did ! (on my work box). That box is and continues to operate fine.

When I tried it (Koboneils's fix) on my amd64/mulitlib/'2008.0 desktop' at home, it broke it (will not boot, disks will not mount) and I'll be doing the liveboot/chroot/repair dance on that shortly. On my amd64/mulitlib/'2007.0 desktop' system, the fix last recently shown by col (using prefetching) above worked. What I think is not coming out in the posts (well, not clearly pronounced to me), was that trying to fix this issue "...may break your box..." as the ss and com_err can (easily) kill wget.

What I gather thus far, is it seems likely there more than one way to fix this issue, so noobs looking for the 'consensus fix' still seem to be waiting for the coveted solved label, but I sense this issue is more sublime into understanding lib deps and portage. I've not yet dissected why Koboneil's fix worked on one box and not on the other (as they are so similar in USE flags and such) and I've never had to do anything with the mit-krb5 issue, although some earlier posts suggested that working with that and package.keywords, worked for them.

So I'd say (for you noobs that may just be hitting this blockage issue during your weekend update), I'd suggest thus far the following:

Prefetch, Prefetch. Prefetch ! Before you do anything else. (Seems to me, prefetching will definitely increase your probability of success in resolving these blockages), or at minimum, can 'do no harm'). I'm not a portage expert, so a Dev, Vet, Guru, etc. would have to qualify that suggestion.

Here's a noob thought (not a complaint, please forgive if previously suggested): When a topic hits the forum that has, say a > 50% chance of being a box killer, it's too bad an Admin couldn't 'highlight post in red' / 'flag' the post, meaning that new/noobs users should read ALL the posts carefully. I'm a Gentoo noob, but a 'Slack' guy back into the 386/486/'kernel 2.0, install Slack from floppy' days, and I can recite/do the minimal install in my sleep (75+ Gentoo installs), use Gentoo at home and work for some years, and will have no trouble with repairing my 2008.0 box, but I see/sense some noobs will yet break their boxen on this topic. Also, I sense walking someone through the liveboot/chroot fix on the forums is tricky, depending on the language barrier, etc. If I have the time to document my 2008.0 'fix' I will.

For educational purps:
Question 1, 1a: Is there a consensus on what caused the blockages to appear ? Was it a developer library update 'oops' issue or a portage issue ? (as in, 'a corner case' that portage couldn't resolve or possible/actual portage bug). Just curious.

For future:
Question 2: Is there a comprehensive 'How To fix a busted Gentoo box' out there anywhere ? This ideal doc would start at the 'top' of the troubleshooting tree and work it's way down, starting with hardware (!) tests and checks, usable by the newest of noobs or working admins who may have more than a few installs under the belt and need a good reference for workplace documentation (or to train/help a coworker). And again, pardon if this exists and I've simply overlooked.

Lastly: I just discovered Pappy's kernel seeds (search the forums)! Pappy ! Very cool ! Hey, this Saturday might turn out to be fun (despite the 401k tanking last month :x
Back to top
View user's profile Send private message
GODhack
Guru
Guru


Joined: 26 Jan 2008
Posts: 389
Location: Lithuania

PostPosted: Sat Nov 01, 2008 2:42 pm    Post subject: Reply with quote

OMG ppl do not try to update stable systems while problem is not solved on testing!
Going trough this mess will give almost nothing. Better unmask something like Firefox 3 for fun.
Back to top
View user's profile Send private message
8mihi
n00b
n00b


Joined: 29 Sep 2006
Posts: 21
Location: Eastern 'Pennsyltucky'

PostPosted: Sat Nov 01, 2008 4:28 pm    Post subject: Reply with quote

GODhack wrote:
OMG ppl do not try to update stable systems while problem is not solved on testing!
Going trough this mess will give almost nothing. Better unmask something like Firefox 3 for fun.


what ...?

GODhack, all due respect, but stfu...

Your comments are nonsensical, unhelpful and I sense you're doing nothing but 'post bulking'. Your comments amount to 'forum spam', imho. Contribute experience, ask a decent question (the answer to which may help more than yourself), or post a possible solution to the topic under discussion, otherwise do not post here.

I've fixed yet another 2007.0 box with col's (see above) solution. I'm working my aforementioned 2008.0 profile 'live boot repair' on this topic later this evening and will take & post notes here if it will help even one person out there.

My experience so far is: (all amd64 systems, multilib, no masked packages, no overlays, fairly 'plain installs', no GNOME/KDE - I use/prefer Openbox, no extreme USE flags, etc.)

'2008.0' work: Koboneil's solution worked (I haven't really figured out why though)
'2008.0 desktop' home: Koboneil's solution did NOT work and broke the box.
'2007.0 desktop' home A: col's solution worked great.
'2007.0 desktop' home B: col's solution worked again.

Again, imho, the 'fixes' here which stress prefetching seem, if even intuitively, the best route to success and preventing breakage on this topic.
Back to top
View user's profile Send private message
GODhack
Guru
Guru


Joined: 26 Jan 2008
Posts: 389
Location: Lithuania

PostPosted: Sat Nov 01, 2008 5:32 pm    Post subject: Reply with quote

No I will not shut the fu_ck up as you want.
This all topic with "solutions" how to badly damage your Gentoo setup is meaningless and only about wasting of time. emerge/portage is automated system not update blocker for funny solutions system.

You want solutions? Use LFS and stfu yourself.
Back to top
View user's profile Send private message
RazielFMX
l33t
l33t


Joined: 23 Apr 2005
Posts: 658
Location: NY, USA

PostPosted: Sat Nov 01, 2008 5:52 pm    Post subject: Reply with quote

Ok, ignoring the spam, here is what I did to upgrade e2fsprogs without any issue.

1) add the versions of e2fsprogs and e2fsprogs-lib to /etc/portage/package.mask
2) emerge -uDN world

This brings all your other packages up to date. Reboot if you had any kernel upgrades or something like that. If you had any X updates, make sure you restart X. Last thing you want is your X going to disk, seeing the bins have changed, and core dumping mid-upgrade. I did a reboot just to be safe.

Then, to deal with the blockers.

1) Remove the e2fs* from /etc/portage/package.mask
2) emerge -fuDN world (Fetch breaks, this step is KEY)
3) emerge -C sys-libs/ss sys-libs/com_err sys-fs/e2fsprogs
4) emerge -uDN world
5) (this cleans up orphaned packages) emerge -a --depclean
6) revdep-rebuild -p (I want to see what gets rebuilt before I let this do its thing)
7) (I didn't need this, but you might) revdep-rebuild

Hope this helps.
Back to top
View user's profile Send private message
F_
Tux's lil' helper
Tux's lil' helper


Joined: 31 Dec 2006
Posts: 101

PostPosted: Sat Nov 01, 2008 6:01 pm    Post subject: Reply with quote

I don't know if this was pasted before or not, but this helped me:

https://bugs.gentoo.org/234907#c7

or http://bugs.gentoo.org/234907#c7 if you have problems with ssl.
Back to top
View user's profile Send private message
Uncle_Psychosis
Guru
Guru


Joined: 31 Jan 2004
Posts: 375

PostPosted: Sat Nov 01, 2008 6:42 pm    Post subject: Reply with quote

This is a real PITA...

Will these be resolved upstream by the devs or am I going to have to manually fix things? :cry:
Back to top
View user's profile Send private message
RazielFMX
l33t
l33t


Joined: 23 Apr 2005
Posts: 658
Location: NY, USA

PostPosted: Sat Nov 01, 2008 8:14 pm    Post subject: Reply with quote

Uncle_Psychosis wrote:
This is a real PITA...

Will these be resolved upstream by the devs or am I going to have to manually fix things? :cry:


It isn't that bad. I think, barring the rest of the world update I hadn't done in like a month, it only took about 10 minutes. I'm not sure this can be resolved by the devs, since e2fsprog-lib replaces com_err and ss.
Back to top
View user's profile Send private message
8mihi
n00b
n00b


Joined: 29 Sep 2006
Posts: 21
Location: Eastern 'Pennsyltucky'

PostPosted: Sat Nov 01, 2008 8:19 pm    Post subject: Reply with quote

RazielFMX: Thank You ! Clearly written 'here's my recipe'-type info people can actually try/test, with some decent commentary about the what/how/why. I would think anyone new to Gentoo would be able to work through your suggestion and succeed.

F_: Thank You ! I had not seen this link prior and sheds some light on the packages in question.

GODhack: yeah, ok, whatever. Your posts still make no sense at all, but perhaps we have a language barrier going here. I just didn't see where anything you posted was helpful on this issue. In fact, you seemed to be implying something about '...wasting of time...' and something else about 'Firefox 3'. Wha ?

Trouble I've sense on the topic is: folks are seeing the information about how unmerging ss and com_err (without first fetching) will break wget....AFTER they've broken wget (and cannot emerge, or even reboot in some cases). I am wondering if there shouldn't have been some degree of 'elevation' of this issue on the front page of the forum ? Was this just a unfortunate timing error in the manner in which some updates were released ?
Back to top
View user's profile Send private message
Uncle_Psychosis
Guru
Guru


Joined: 31 Jan 2004
Posts: 375

PostPosted: Sat Nov 01, 2008 9:13 pm    Post subject: Reply with quote

RazielFMX wrote:
Uncle_Psychosis wrote:
This is a real PITA...

Will these be resolved upstream by the devs or am I going to have to manually fix things? :cry:


It isn't that bad. I think, barring the rest of the world update I hadn't done in like a month, it only took about 10 minutes. I'm not sure this can be resolved by the devs, since e2fsprog-lib replaces com_err and ss.


Some kind of "official" solution would be nice!
Back to top
View user's profile Send private message
Uncle_Psychosis
Guru
Guru


Joined: 31 Jan 2004
Posts: 375

PostPosted: Sat Nov 01, 2008 9:16 pm    Post subject: Reply with quote

RazielFMX wrote:
Ok, ignoring the spam, here is what I did to upgrade e2fsprogs without any issue.

1) add the versions of e2fsprogs and e2fsprogs-lib to /etc/portage/package.mask


Just so I'm absolutely sure, what do you need to put into package.mask?
Back to top
View user's profile Send private message
d2_racing
Moderator
Moderator


Joined: 25 Apr 2005
Posts: 12849
Location: Ste-Foy,Canada

PostPosted: Sat Nov 01, 2008 9:45 pm    Post subject: Reply with quote

Hi, I have this inside mine :

Code:

# echo  ">sys-fs/e2fsprogs-1.41" >> /etc/portage/package.mask
# echo  ">=sys-libs/e2fsprogs-libs-1.41.2" >> /etc/portage/package.mask
# echo  ">=app-crypt/mit-krb5-1.6.3-r4" >> /etc/portage/package.mask

_________________
Sysadmin of Funtoo-Québec.org
Wiki
Signature
IRC on Freenode : #funtoo-quebec
Back to top
View user's profile Send private message
RazielFMX
l33t
l33t


Joined: 23 Apr 2005
Posts: 658
Location: NY, USA

PostPosted: Sat Nov 01, 2008 10:04 pm    Post subject: Reply with quote

Uncle_Psychosis wrote:
RazielFMX wrote:
Ok, ignoring the spam, here is what I did to upgrade e2fsprogs without any issue.

1) add the versions of e2fsprogs and e2fsprogs-lib to /etc/portage/package.mask


Just so I'm absolutely sure, what do you need to put into package.mask?


What D2 said :-)

Code:

>sys-fs/e2fsprogs-1.41
>sys-libs/e2fsprogs-libs-1.41


EDIT: Left some of the redirects for echo statements in my code block. They are gone now.
Back to top
View user's profile Send private message
srunni
Guru
Guru


Joined: 26 Dec 2007
Posts: 365

PostPosted: Sun Nov 02, 2008 12:01 am    Post subject: Reply with quote

RazielFMX wrote:
Uncle_Psychosis wrote:
RazielFMX wrote:
Ok, ignoring the spam, here is what I did to upgrade e2fsprogs without any issue.

1) add the versions of e2fsprogs and e2fsprogs-lib to /etc/portage/package.mask


Just so I'm absolutely sure, what do you need to put into package.mask?


What D2 said :-)

Code:

>sys-fs/e2fsprogs-1.41
>sys-libs/e2fsprogs-libs-1.41


EDIT: Left some of the redirects for echo statements in my code block. They are gone now.
That isn't working for me:
Code:
These are the packages that would be merged, in order:

Calculating world dependencies -
!!! All ebuilds that could satisfy "sys-libs/e2fsprogs-libs" have been masked.
!!! One of the following masked packages is required to complete your request:
- sys-libs/e2fsprogs-libs-1.41.3 (masked by: package.mask, ~x86 keyword)
- sys-libs/e2fsprogs-libs-1.41.2 (masked by: package.mask)
- sys-libs/e2fsprogs-libs-1.41.1 (masked by: package.mask, ~x86 keyword)
- sys-libs/e2fsprogs-libs-1.41.0 (masked by: package.mask, ~x86 keyword)

For more information, see MASKED PACKAGES section in the emerge man page or
refer to the Gentoo Handbook.
(dependency required by "net-fs/nfs-utils-1.1.3" [ebuild])



!!! Problem resolving dependencies for net-fs/nfs-utils
!!! Depgraph creation failed.

_________________
Patrick Ewing wrote:
if it walks like a duck and talks like a duck, it’s a duck, right? So if this duck is not giving you the noise that you want, you’ve got to just punch that duck until it returns what you expect.
Back to top
View user's profile Send private message
Moriah
Veteran
Veteran


Joined: 27 Mar 2004
Posts: 1622
Location: Warsaw KY US

PostPosted: Sun Nov 02, 2008 1:06 am    Post subject: sys-libs/ss (and others) is blocking... Reply with quote

I just started some routine updates this evening. At one point or another, most of my boxes ran into the following:
Code:
[blocks B     ] sys-libs/ss (is blocking sys-libs/e2fsprogs-libs-1.41.2)
[blocks B     ] <sys-fs/e2fsprogs-1.41 (is blocking sys-libs/e2fsprogs-libs-1.41.2)
[blocks B     ] sys-libs/com_err (is blocking sys-libs/e2fsprogs-libs-1.41.2)
[blocks B     ] sys-libs/e2fsprogs-libs (is blocking sys-libs/ss-1.40.9, sys-libs/com_err-1.40.9)

Not realizing how severe this was, I went ahead and unmerged the offending packages and tried again. :oops:

Now I have 3 servers that are quite sick. :?

I cannot mount any filesystems, and I cannot open any network connections. All is not totally lost, however, as I do still have a working backup server, and complete backups from last night for all the machines. I guess I can boot from a live CD and scp the files from the backup server to their proper place on the sick servers, but there seem to be a lot of libraries that got clobbered by my haste. Is there anything else besides these libraries that I need to copy back, or should I use the live CD to emerge these libraries again, taking the ebulds off the internet?

Any suggestions or advice as to how to proceed would help.

Also, since I still have quite a few machines to still update that I did not mess up, what is the recommended procedure to deal with this?

And lastly, is there anything resembling a routine update for gentoo anymore? :evil:
_________________
The MyWord KJV Bible tool is at http://www.elilabs.com/~myword

Foghorn Leghorn is a Warner Bros. cartoon character.
Back to top
View user's profile Send private message
notHerbert
Advocate
Advocate


Joined: 11 Mar 2008
Posts: 2228
Location: 45N 73W

PostPosted: Sun Nov 02, 2008 1:20 am    Post subject: Reply with quote

If you can boot the CD, mount the partition(s), start the network and grab e2fsprogs and e2fsprogs-libs tarballs from here and untar them on / should get your boxes running.

On the others run emerge --fetch e2fsprogs e2fsprogs-libs before unmerging com_err and ss, then emerge -1 e2fsprogs e2fsprogs-libs
Back to top
View user's profile Send private message
Moriah
Veteran
Veteran


Joined: 27 Mar 2004
Posts: 1622
Location: Warsaw KY US

PostPosted: Sun Nov 02, 2008 1:29 am    Post subject: Reply with quote

Thanks! :)

That's pretty much what I thought. I will do it and post back here when done.

What I don't understand is how com_err relates to e2fsprogs and e2fsprogs-lib; isn't com_err a communications library error handler? What's that got to do with ext2 filesystems?
_________________
The MyWord KJV Bible tool is at http://www.elilabs.com/~myword

Foghorn Leghorn is a Warner Bros. cartoon character.
Back to top
View user's profile Send private message
notHerbert
Advocate
Advocate


Joined: 11 Mar 2008
Posts: 2228
Location: 45N 73W

PostPosted: Sun Nov 02, 2008 1:43 am    Post subject: Reply with quote

It seems that it's all handled by libraries in e2fsprogs-libs now. After the upgrade there are no more com_err and ss packages on my box. That's why the new ones need to be fetched before unmerging the old ones. It's a snafu, and a lot of people had this same problem.
Back to top
View user's profile Send private message
Stupendoussteve
n00b
n00b


Joined: 06 Sep 2005
Posts: 72
Location: NE, USA

PostPosted: Sun Nov 02, 2008 1:45 am    Post subject: Reply with quote

Moriah wrote:
Thanks! :)

That's pretty much what I thought. I will do it and post back here when done.

What I don't understand is how com_err relates to e2fsprogs and e2fsprogs-lib; isn't com_err a communications library error handler? What's that got to do with ext2 filesystems?


e2fsprogs-lib contains a replacement to ss and com_err. com_err is common error, ss is subsystem. They are both e2fs libraries.

The reason wget and such dies is mit-krb5 is set to use the old ones, which kills openssl and other things. If kerberos wasn't a default use flag this wouldn't be an issue. The updated version of mit-kfb5 fixes this.

This can be fixed by fetching everything first. They've been good about quickly making the fixed mit-krb5 build available, beforehand you had to use ~ARCH.

There is actually a quite lengthy thread about this issue.
_________________
Gentoo - FreeBSD - Debian - Arch Linux
Back to top
View user's profile Send private message
jtp755
l33t
l33t


Joined: 01 Sep 2003
Posts: 691
Location: USA

PostPosted: Sun Nov 02, 2008 2:00 am    Post subject: Reply with quote

add =net-fs/nfs-utils-1.1.3 to your /etc/portage/package.mask file. I have the same problem. I addd that and then reran emerge -uaDNv world and everything is going well except mesa and xorg but that was easy to fix...
_________________
www.EternalFireProof.com
Registered Linux User #334610
Back to top
View user's profile Send private message
Moriah
Veteran
Veteran


Joined: 27 Mar 2004
Posts: 1622
Location: Warsaw KY US

PostPosted: Sun Nov 02, 2008 2:15 am    Post subject: Reply with quote

OK, I booted from a live CD with a 2.6.24-r5 kernel. This machine normally boots from a RAID1 mirror with LVM2. I got the RAID1 mirror assembled and the LVM2 started, so I was able to mount the reiserfs root filesystem.

Now I can't get the ethernet working. Apparently it needs me to load a driver. A quick lspci tells me that the NIC is a Via Technologies VT6102 "Rhine-II" rev 78. Now how do I determine which driver to load. The system on the RAID1 had the driver compiled into the kernel statically, so its no help. :(

I do not normally use modules except during the installation process. I built this system over 3 years ago, and have been just maintaining it since then. I did not even remember that it had a funky ethernet NIC, but its on the motherboard, so I don't want to change it.
_________________
The MyWord KJV Bible tool is at http://www.elilabs.com/~myword

Foghorn Leghorn is a Warner Bros. cartoon character.
Back to top
View user's profile Send private message
bunder
Bodhisattva
Bodhisattva


Joined: 10 Apr 2004
Posts: 5213
Location: Hamilton, Ontario

PostPosted: Sun Nov 02, 2008 2:19 am    Post subject: Reply with quote

Quote:
Now I can't get the ethernet working. Apparently it needs me to load a driver. A quick lspci tells me that the NIC is a Via Technologies VT6102 "Rhine-II" rev 78. Now how do I determine which driver to load. The system on the RAID1 had the driver compiled into the kernel statically, so its no help. :(


google gives me via-rhine, under 10/100 cards.

cheers
_________________
goodbye fgo. it was nice knowing you.
Back to top
View user's profile Send private message
cyrillic
Watchman
Watchman


Joined: 19 Feb 2003
Posts: 7301
Location: Groton, Massachusetts USA

PostPosted: Sun Nov 02, 2008 2:23 am    Post subject: Reply with quote

My Rhine-II NIC uses these modules.
Code:
# lsmod
Module                  Size  Used by
via_rhine              17864  0
mii                     3872  1 via_rhine
Back to top
View user's profile Send private message
ade05fr
Apprentice
Apprentice


Joined: 18 Sep 2006
Posts: 169

PostPosted: Sun Nov 02, 2008 10:51 am    Post subject: Reply with quote

Up !

who can help me ?

Code:
hello again

the problem is that i can emerge anymore here is my log
Code:

sabayonx86-64 ~ # emerge e2fsprogs


!!! Failed to complete portage imports. There are internal modules for
!!! portage and failure here indicates that you have a problem with your
!!! installation of portage. Please try a rescue portage located in the
!!! portage tree under '/usr/portage/sys-apps/portage/files/' (default).
!!! There is a README.RESCUE file that details the steps required to perform
!!! a recovery of portage.
    No module named _md5



    !!! Failed to complete portage imports. There are internal modules for
    !!! portage and failure here indicates that you have a problem with your
    !!! installation of portage. Please try a rescue portage located in the
    !!! portage tree under '/usr/portage/sys-apps/portage/files/' (default).
    !!! There is a README.RESCUE file that details the steps required to
    perform
    !!! a recovery of portage.
        No module named _md5

Traceback (most recent call last):
  File "/usr/bin/emerge", line 31, in <module>
      import portage
        File "/usr/lib64/portage/pym/portage/__init__.py", line 79, in
<module>
    import portage.getbinpkg
      File "/usr/lib64/portage/pym/portage/getbinpkg.py", line
      15, in <module>
          import urllib2
    File "/usr/lib64/python2.5/urllib2.py", line 88,
    in <module>
        import hashlib
  File "/usr/lib64/python2.5/hashlib.py", line
  133, in <module>
      md5 = __get_builtin_constructor('md5')
        File
"/usr/lib64/python2.5/hashlib.py",
line 60, in __get_builtin_constructor
    import _md5
    ImportError: No module named _md5


thanks for advance
:roll:
_________________
[LAPTOP]
Aspire 9423WXMi
Intel Core 2 duo T5500
750GB Ext USB HDD
2.5 Gb DDR2
SWAP : 2Gb
Chipset Intel 945PM Express
VIDEO : NVIDIA® GeForce® Go7300
ORBICAM : gspca_vc032x
[LINUX-GENTOO]
Gentoo 2011-0
kernel 3.1.5
gnome 3.2
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Goto page Previous  1, 2, 3, 4, 5, 6  Next
Page 4 of 6

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum