On Sat, 2005-01-22 at 11:03, Joao Dias wrote:
Hi all,
I have suse 7.0 pro installed in an nice but very old toshiba portege 300CT, because of performance issues and also because of hardware compatibility wich is very good.
But I need to make the upgrade in subject because of usb ethernet support.
I downloaded kernel 2.4.21 rpm (first one with usb ethernet support I need) from suse site (8.1 I think).
I followed suse instructions to upgrade the kernel with it, but got this as a result of rpm install
(important note: I have already checked md5sums for the rpm and they are good):
root@proteus:/usr/src/packages/RPMS/i386 > rpm -ivv --nodeps --force k_deflt-2.4.21-168.i586.rpm
D: counting packages to install D: found 1 packages D: looking for packages to download D: retrieved 0 packages D: New Header signature D: Signature size: 149 D: Signature pad : 3 D: sigsize : 152 D: Header + Archive: 22178636 D: expected size : 22178636 D: opening database mode 0x42 in /var/lib/rpm D: found 0 source and 1 binary packages D: installing binary packages D: getting list of mounted filesystems D: New Header signature D: Signature size: 149 D: Signature pad : 3 D: sigsize : 152 D: Header + Archive: 22178636 D: expected size : 22178636 D: package: k_deflt-2.4.21-168 files test = 0 D: file: /boot/Kerntypes-2.4.21-168-default action: create D: file: /boot/System.map-2.4.21-168-default action: create D: file: /boot/config-2.4.21-168-default action: create D: file: /boot/initrd action: create ...... (lots of files, mainly modules.... always with : create)
and finally,
D: file: /lib/modules/scripts action: create D: running preinstall script (if any) ++ shopt -p nullglob ++ : + old_shopt=shopt -u nullglob + shopt -s nullglob + eval shopt -u nullglob ++ shopt -u nullglob + rm -f /boot/vmlinuz.suse + rm -f /boot/initrd.suse k_deflt-2.4.21-168 GZDIO: 1 reads, 8192 total bytes in 0.000 secs unpacking of archive failed: cpio: Bad magic0 <-------
what does that mean ?
as it can't be a corrupted rpm dowload ? I am sure HD is sane, because the Suse 7.0 pro has been installed from scratch only few days ago without a single error.
does cpio need an upgrade ?
can the original rpm be corrupted ??(I doubt so)
can this have something todo with using ReiserFS for / partition (was new in 7.0)
(note: my current kernel is the default pentium optimized one, and I backed up /boot before trying this; for anyone interested in making this, reccomend also backing up other important stuff; as you can see the script started removing something to the make the upgrade and if not successfull you can get in trouble)
Thanks for any feedback Joao
Just a guess as you are running SuSE 7.0 -- it may be a problem the the version of rpm that you are using. I believe you are using ver. 3.x and the newer kernel rpm is built (I think) using ver. 4.x. If this is the case you will need to update rpm as well. -- Ken Schneider UNIX since 1989, linux since 1994, SuSE since 1998 * Only reply to the list please* "The day Microsoft makes something that doesn't suck is probably the day they start making vacuum cleaners." -Ernst Jan Plugge