Re: Two serious problems with Ac

2008-03-13 Thread Andrzej 'The Undefined' Dopierała
On Thu, Mar 13, 2008 at 03:09:21PM +0200, Elan Ruusamäe wrote:
 On Thursday 13 March 2008 00:53:44 Andrzej 'The Undefined' Dopierała wrote:
   Lately I had also problem with upgrade rpm from 4.4.2 to 4.4.9 - rpm
   database was cleared. Any --rebuilddb didn't help.
 
  weirdy..
  i upgraded nearly all my machines (including machines on i686, athlon,
  amd64, alpha, sparc... ;) - and i haven't any problem with clearing rpm
  database.
 there was rpm --rebuilddb at some point inside rpm trigger, that caused last 
 transaction being lost as rebuilddb when finished replaces /var/lib/rpm 
 directory with contents that were before the end of transaction. this evil 
 mistake is now removed.
 
  I always:
  - install lzma
  - upgrade -G poldek rpm
  - after exit rpm --rebuilddb
  - upgrade -G *
 
 poldek --up --upa
 poldek -u rpm
 poldek --upgrade-dist
 
 use the command line power! :)
hm... it will not work - because it don't install lzma. why - i don't
know :) maybe bug in poldek or something...

-- 
Andrzej 'The Undefined' Dopierała
Linux  Unix  Network administrator
PLD Linux Developer  HomePage: http://andrzej.dopierala.name/
JID: [EMAIL PROTECTED] e-mail: [EMAIL PROTECTED]
___
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en


Re: Two serious problems with Ac

2008-03-13 Thread Elan Ruusamäe
On Thursday 13 March 2008 16:37:18 Andrzej 'The Undefined' Dopierała wrote:
 On Thu, Mar 13, 2008 at 03:09:21PM +0200, Elan Ruusamäe wrote:
  On Thursday 13 March 2008 00:53:44 Andrzej 'The Undefined' Dopierała 
wrote:
Lately I had also problem with upgrade rpm from 4.4.2 to 4.4.9 - rpm
database was cleared. Any --rebuilddb didn't help.
  
   weirdy..
   i upgraded nearly all my machines (including machines on i686, athlon,
   amd64, alpha, sparc... ;) - and i haven't any problem with clearing rpm
   database.
 
  there was rpm --rebuilddb at some point inside rpm trigger, that caused
  last transaction being lost as rebuilddb when finished replaces
  /var/lib/rpm directory with contents that were before the end of
  transaction. this evil mistake is now removed.
 
   I always:
   - install lzma
   - upgrade -G poldek rpm
   - after exit rpm --rebuilddb
   - upgrade -G *
 
  poldek --up --upa
  poldek -u rpm
  poldek --upgrade-dist
 
  use the command line power! :)

 hm... it will not work - because it don't install lzma. why - i don't
 know :) maybe bug in poldek or something...

yeah, this one probably:
https://bugs.pld-linux.org/show_bug.cgi?id=83

i myself upgrade actually with:
poldek --up --upa
poldek --upgrade-dist

-- 
glen
___
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en


Re: Two serious problems with Ac

2008-03-12 Thread Andrzej 'The Undefined' Dopierała
On Mon, Mar 10, 2008 at 07:57:11AM +0100, Jakub Bogusz wrote:
  I was just udpating my Ac chroots used by CRI. There are two very bad 
  bugs in current Ac (main + updates).
  
  1. module-init-tools (3.2.2-3) has broken modinfo (and probably more 
  stuff). It doesn't work with 2.4 kernel. Try 'modinfo piix' or any other 
  module. It will say you something like 
  /lib/modules/2.4.35-1smp/drivers/ide/pci/piix.o.gz: No such file or 
  directory. But file exists and has correct permissions. On 2.6.x 
  kernels it works ok.
 
 Are modutils installed?
 
 The only thing module-init-tools can do on 2.4.x is to exec modutils
 counterpart.
hm.. modinfo don't invoke modinfo from modutils - it just try to parse
/lib/modules/{version}/modules.dep.
Invoking - is bad idea, because modutils didn't support use of other
kernel from installed - what is needed by our geninitrd. For
module-init-tools this option is provided by
%{name}-modinfo-kernelversion.patch patch.

Problem is in parsing modules.dep - in modules.dep from 2.6 there is no
empty lines between modules. In modules.dep from 2.4 - there are empty
lines between modules, and finally it try to open file
'\n/lib/modules/.../piix.gz' - what will fail ;)

i don't know what is right way fix - fix modinfo to don't use empty
lines, or fix depmod from modutils to don't generate empty lines ;)

-- 
Andrzej 'The Undefined' Dopierała
Linux  Unix  Network administrator
PLD Linux Developer  HomePage: http://andrzej.dopierala.name/
JID: [EMAIL PROTECTED] e-mail: [EMAIL PROTECTED]
___
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en


Re: Two serious problems with Ac

2008-03-10 Thread Jakub Bogusz
On Mon, Mar 10, 2008 at 12:22:18AM +0100, Marcin Krol wrote:
 Hi.
 
 I was just udpating my Ac chroots used by CRI. There are two very bad 
 bugs in current Ac (main + updates).
 
 1. module-init-tools (3.2.2-3) has broken modinfo (and probably more 
 stuff). It doesn't work with 2.4 kernel. Try 'modinfo piix' or any other 
 module. It will say you something like 
 /lib/modules/2.4.35-1smp/drivers/ide/pci/piix.o.gz: No such file or 
 directory. But file exists and has correct permissions. On 2.6.x 
 kernels it works ok.

Are modutils installed?

The only thing module-init-tools can do on 2.4.x is to exec modutils
counterpart.


-- 
Jakub Boguszhttp://qboosh.pl/
___
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en


Re: Two serious problems with Ac

2008-03-10 Thread Marcin Krol
 Are modutils installed?
 
 The only thing module-init-tools can do on 2.4.x is to exec modutils
 counterpart.

Yes. They're installed.

# rpm -q modutils module-init-tools kernel24-smp
modutils-2.4.27-7.i686
module-init-tools-3.2.2-3.i686
kernel24-smp-2.4.35-1.i686

M.
___
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en


Re: Two serious problems with Ac

2008-03-10 Thread Marcin Krol
 2. Kernel 2.6.16.60 is broken. On all machines when where I tried to 
 boot it (including VirtualBox) it just displayed dozens of messages:
 
 Unknown interrupt or fault at EIP 0060 c0100295 0294
 
 and it finally hangs so only cold boot works.

This seems to happen on machines w/o PAE. Broken PAE bcond? (-ENOTIME to 
check myself).

M.
___
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en


Re: Two serious problems with Ac

2008-03-10 Thread Jacek Rzęsista
Monday 10 March 2008 00:22:18 Marcin Krol napisał(a):
 Hi.

 I was just udpating my Ac chroots used by CRI. There are two very bad
 bugs in current Ac (main + updates).

 1. module-init-tools (3.2.2-3) has broken modinfo (and probably more
 stuff). It doesn't work with 2.4 kernel. Try 'modinfo piix' or any other
 module. It will say you something like
 /lib/modules/2.4.35-1smp/drivers/ide/pci/piix.o.gz: No such file or
 directory. But file exists and has correct permissions. On 2.6.x
 kernels it works ok.

 Since geninitrd is using modinfo there is currently no way to generate
 initrd for 2.4.x kernels.
Hmmm,  it's seems more complicated :) All depends on version of geninitrd - 
with geninitrd-8385-1 all works OK, when I've upgraded geninitrd to version 
geninitrd-9000.5-1 - any try to generate initrd failed (I had communicate 
something like couldn't find module aacraid). When I've downgraded 
geninitrd - initrd was generated.
Lately I had also problem with upgrade rpm from 4.4.2 to 4.4.9 - rpm database 
was cleared. Any --rebuilddb didn't help.  

-- 
Jacek Rzęsista
___
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en


Two serious problems with Ac

2008-03-09 Thread Marcin Krol
Hi.

I was just udpating my Ac chroots used by CRI. There are two very bad 
bugs in current Ac (main + updates).

1. module-init-tools (3.2.2-3) has broken modinfo (and probably more 
stuff). It doesn't work with 2.4 kernel. Try 'modinfo piix' or any other 
module. It will say you something like 
/lib/modules/2.4.35-1smp/drivers/ide/pci/piix.o.gz: No such file or 
directory. But file exists and has correct permissions. On 2.6.x 
kernels it works ok.

Since geninitrd is using modinfo there is currently no way to generate 
initrd for 2.4.x kernels.

2. Kernel 2.6.16.60 is broken. On all machines when where I tried to 
boot it (including VirtualBox) it just displayed dozens of messages:

Unknown interrupt or fault at EIP 0060 c0100295 0294

and it finally hangs so only cold boot works.

So there is currently no working kernel in Ac. 2.4 probably works, but 
no way to boot it as initrd can't be generated. 2.6 doesn't boot.

M.

P.S. Above test were all done using i686 architecture.
___
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en