[rhelv6-list] yum + hald-probe-serial + mc odds and ends

Rainer Traut tr.ml at gmx.de
Fri Nov 12 10:02:40 UTC 2010


Hi,

yesterday I gave el6 x86_64 a shot on a Dell PE2950 server.
I found some odds and ends, maybe this is helpful to someone.

- hald-probe-serial crashing(?):

Pid: 5824, comm: hald-probe-seri Not tainted 2.6.32-71.7.1.el6.x86_64 #1
Call Trace:
  [<ffffffff810d98d2>] __setup_irq+0x382/0x3c0
  [<ffffffff810da004>] request_threaded_irq+0x154/0x2f0
  [<ffffffff81328b60>] ? serial8250_interrupt+0x0/0x120
  [<ffffffff8132734c>] serial8250_startup+0x71c/0x820
  [<ffffffff81322bf7>] uart_startup+0x67/0x1c0
  [<ffffffff813238cc>] uart_open+0x15c/0x4a0
  [<ffffffff812f6a32>] ? tty_init_dev+0xe2/0x230
  [<ffffffff812f6d91>] tty_open+0x211/0x510
  [<ffffffff81170dc5>] chrdev_open+0x125/0x230
  [<ffffffff81170ca0>] ? chrdev_open+0x0/0x230
  [<ffffffff8116a040>] __dentry_open+0x110/0x370
  [<ffffffff81208782>] ? selinux_inode_permission+0x72/0xb0
  [<ffffffff8120085f>] ? security_inode_permission+0x1f/0x30
  [<ffffffff8116a3b7>] nameidata_to_filp+0x57/0x70
  [<ffffffff8117d7d3>] do_filp_open+0x5f3/0xd40
  [<ffffffff81150497>] ? alloc_pages_current+0x87/0xd0
  [<ffffffff8104adc7>] ? pte_alloc_one+0x37/0x50
  [<ffffffff810d24a2>] ? audit_alloc_name+0x62/0x100
  [<ffffffff811897b2>] ? alloc_fd+0x92/0x160
  [<ffffffff81169de9>] do_sys_open+0x69/0x140
  [<ffffffff81169f00>] sys_open+0x20/0x30
  [<ffffffff81013172>] system_call_fastpath+0x16/0x1b

- I found no way to generate yum metadata on an EL5 server
For us the latest hassle free createrepo on EL5 is 0.95, newer version 
either don't compile or crash when accessing EL6 rpms.

Accessing 0.95 generated metadata crashes EL6-yum 
(yum-3.2.27-14.el6_0.1.noarch.rpm):

(process:3887): GLib-WARNING **: GError set over the top of a previous 
GError or uninitialized memory.
This indicates a bug in someone's code. You must ensure an error is NULL 
before it's set.
The overwriting error message was: Parsing primary.xml error: EntityRef: 
expecting ';'

...

Traceback (most recent call last):
   File "/usr/bin/yum", line 29, in <module>
     yummain.user_main(sys.argv[1:], exit_code=True)
   File "/usr/share/yum-cli/yummain.py", line 254, in user_main
     errcode = main(args)
   File "/usr/share/yum-cli/yummain.py", line 109, in main
     result, resultmsgs = base.doCommands()
   File "/usr/share/yum-cli/cli.py", line 353, in doCommands
     self._getTs(needTsRemove)
   File "/usr/lib/python2.6/site-packages/yum/depsolve.py", line 99, in 
_getTs
     self._getTsInfo(remove_only)
   File "/usr/lib/python2.6/site-packages/yum/depsolve.py", line 110, in 
_getTsInfo
     pkgSack = self.pkgSack
   File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 774, in 
<lambda>
     pkgSack = property(fget=lambda self: self._getSacks(),
   File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 564, in 
_getSacks
     self.repos.populateSack(which=repos)
   File "/usr/lib/python2.6/site-packages/yum/repos.py", line 279, in 
populateSack
     sack.populate(repo, mdtype, callback, cacheonly)
   File "/usr/lib/python2.6/site-packages/yum/yumRepo.py", line 187, in 
populate
     dobj = repo_cache_function(xml, csum)
   File "/usr/lib64/python2.6/site-packages/sqlitecachec.py", line 46, 
in getPrimary
     self.repoid))
TypeError: Parsing primary.xml error: EntityRef: expecting ';'


- last but not least (this is a funny EL5 problem)

Opening yum-3.2.27-14.el6_0.1.noarch.rpm on EL5 with midnight commander 
crashes mc when looking inside CONTENTS.cpio (other rpms don't crash mc 
but no output)

** ERROR **: file cpio.c: line 283 (cpio_read_bin_head): assertion 
failed: (u.buf.c_magic == 070707)
 
                                                aborting...
  Abgebrochen

Regards
Rainer




More information about the rhelv6-list mailing list