Author Topic: [solved] Two rpm files, one identical part of the other  (Read 714 times)

Offline wedgetail

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 2427
  • Any Bugs in site?
[solved] Two rpm files, one identical part of the other
« on: October 13, 2010, 04:47:29 AM »
When having some fun in networking I found something I do not understand.

In Synaptic there are two simple packages:

dkms-r8192se claiming dependency of
rtl8192se-firmware

The content can be simply shown as:

dkms-r8192se
/lib/firmware/RTL8192SE  < ---------------------------this is the second package below
usr/src/r8192se-0015.0127.2010-1pclos2010

rtl8192se-firmware
/lib/firmware/RTL8192SE

Uninstall the dkms-r8192se leaves the firmware package behind

Uninstall the rtl8192se-firmware as well will uninstall dkms-r8192se

What is the purpose of "identical firmware" inside one package and outside the package with some one way dependency upon each other   ??? ??? ???
« Last Edit: October 13, 2010, 04:16:58 PM by wedgeling »
32 bit: KDE (older) & various KDE-mini, ASUSTek P5P41D Rev X.0x, BIOS AMI0207 07/21/2009, "Pentium(R) Dual-Core CPU E5300 @ 2.60GHz", nVidia GeForce 9600 GT, 2x1GB Seagate Technology 1000528AS HDD
TV CompuPro VideoMate Vista E700 (not working in Linux), Acer X243HD LCD Screen

Offline Was_Just19

  • Hero Member
  • *****
  • Posts: 6852
  • MLU
Re: Two rpm files, one identical part of the other
« Reply #1 on: October 13, 2010, 05:45:31 AM »
I am not sure I understand fully, but here is what I think you want to know ......

older kernels did not have that driver built in, and so there is a dkms package for it, which of course requires the firmware also.

If you install PCLOS from an ISO with one of those older kernels you will have nothing related to this driver until you install the dkms package.

If you install PCLOS from an ISO with a newer kernel, the kernel has the driver and the firmware is installed for use.


I have no idea what may or may not be uninstalled when the dkms package in 'completely removed' through Synaptic .....  but I suspect it removes the firmware it installed also.

regards.

Offline wedgetail

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 2427
  • Any Bugs in site?
Re: Two rpm files, one identical part of the other
« Reply #2 on: October 13, 2010, 06:02:04 AM »
Just19

Quote
older kernels did not have that driver built in, and so there is a dkms package for it, which of course requires the firmware also.

We start simple  ;D

If you install the dkms it has the firmware in the package, so why require an exact double up firmware outside the package  ??? ???

It is a simplistic representation of the rpm that I have shown, I am unable to decipher the code inside the dkms and that may tell why in case of self destruct a copy of firmware is held outside, just in  case?

Or it could mean that if you uninstall dkms it is necessary to leave firmware behind (in which case I believe it could be the wrong firmware)  ;D
32 bit: KDE (older) & various KDE-mini, ASUSTek P5P41D Rev X.0x, BIOS AMI0207 07/21/2009, "Pentium(R) Dual-Core CPU E5300 @ 2.60GHz", nVidia GeForce 9600 GT, 2x1GB Seagate Technology 1000528AS HDD
TV CompuPro VideoMate Vista E700 (not working in Linux), Acer X243HD LCD Screen

Offline rubentje1991

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 2110
  • Rubenus Parvus MCMXCI
Re: Two rpm files, one identical part of the other
« Reply #3 on: October 13, 2010, 06:51:17 AM »
Both installed here, and wifi is working like a charm....
(so I don't touch it at the moment)

You may ask me some tests to do if you want....
=> this is a temporary install until 2010.10 comes out within 2-3 weeks (around the birthday of PCLinuxOS - it gets 7 years!)

Offline wedgetail

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 2427
  • Any Bugs in site?
Re: Two rpm files, one identical part of the other
« Reply #4 on: October 13, 2010, 07:21:55 AM »
rubentje1991
For people that need the rtl8192SE driver this is fine.

I want to understand why the need for the firmware dependency package, inside the dkms package ( as well as another lot of files) and kept seperately outside too as a dependency.  There must be a reason I can't figure out at this stage but which may explain another more serious problem I am working on with the r8192E, which should surface in the network thread.

On needed installs of  dkms-r8192SE  at the moment the test I would like can't be done: If the rtl8192se-firmware could be un-installed without taking out the dkms I would have asked. (I can't do it, I don't know enough to remove a dependency link and if I have ever known I have forgotten)
32 bit: KDE (older) & various KDE-mini, ASUSTek P5P41D Rev X.0x, BIOS AMI0207 07/21/2009, "Pentium(R) Dual-Core CPU E5300 @ 2.60GHz", nVidia GeForce 9600 GT, 2x1GB Seagate Technology 1000528AS HDD
TV CompuPro VideoMate Vista E700 (not working in Linux), Acer X243HD LCD Screen

Offline Was_Just19

  • Hero Member
  • *****
  • Posts: 6852
  • MLU
Re: Two rpm files, one identical part of the other
« Reply #5 on: October 13, 2010, 07:42:02 AM »

If you install the dkms it has the firmware in the package, so why require an exact double up firmware outside the package  ??? ???


From what I can see these are the contents of the DKMS package ........

Code: [Select]
/usr/src/r8192se-0015.0127.2010-1pclos2010
/usr/src/r8192se-0015.0127.2010-1pclos2010/HAL
/usr/src/r8192se-0015.0127.2010-1pclos2010/HAL/rtl8192
/usr/src/r8192se-0015.0127.2010-1pclos2010/HAL/rtl8192/Makefile
/usr/src/r8192se-0015.0127.2010-1pclos2010/HAL/rtl8192/rtl8192s
/usr/src/r8192se-0015.0127.2010-1pclos2010/HAL/rtl8192/rtl8192s/Makefile
/usr/src/r8192se-0015.0127.2010-1pclos2010/HAL/rtl8192/rtl8192s/r8192S_Efuse.c
/usr/src/r8192se-0015.0127.2010-1pclos2010/HAL/rtl8192/rtl8192s/r8192S_Efuse.h
/usr/src/r8192se-0015.0127.2010-1pclos2010/HAL/rtl8192/rtl8192s/r8192S_def.h
/usr/src/r8192se-0015.0127.2010-1pclos2010/HAL/rtl8192/rtl8192s/r8192S_dev.c
/usr/src/r8192se-0015.0127.2010-1pclos2010/HAL/rtl8192/rtl8192s/r8192S_dev.h
/usr/src/r8192se-0015.0127.2010-1pclos2010/HAL/rtl8192/rtl8192s/r8192S_firmware.c
/usr/src/r8192se-0015.0127.2010-1pclos2010/HAL/rtl8192/rtl8192s/r8192S_firmware.h
/usr/src/r8192se-0015.0127.2010-1pclos2010/HAL/rtl8192/rtl8192s/r8192S_hw.h
/usr/src/r8192se-0015.0127.2010-1pclos2010/HAL/rtl8192/rtl8192s/r8192S_hwimg.c
/usr/src/r8192se-0015.0127.2010-1pclos2010/HAL/rtl8192/rtl8192s/r8192S_hwimg.h
/usr/src/r8192se-0015.0127.2010-1pclos2010/HAL/rtl8192/rtl8192s/r8192S_hwimg492.c
/usr/src/r8192se-0015.0127.2010-1pclos2010/HAL/rtl8192/rtl8192s/r8192S_hwimg492.h
/usr/src/r8192se-0015.0127.2010-1pclos2010/HAL/rtl8192/rtl8192s/r8192S_hwimg74.c
/usr/src/r8192se-0015.0127.2010-1pclos2010/HAL/rtl8192/rtl8192s/r8192S_hwimg74.h
/usr/src/r8192se-0015.0127.2010-1pclos2010/HAL/rtl8192/rtl8192s/r8192S_led.c
/usr/src/r8192se-0015.0127.2010-1pclos2010/HAL/rtl8192/rtl8192s/r8192S_led.h
/usr/src/r8192se-0015.0127.2010-1pclos2010/HAL/rtl8192/rtl8192s/r8192S_mp.c
/usr/src/r8192se-0015.0127.2010-1pclos2010/HAL/rtl8192/rtl8192s/r8192S_mp.h
/usr/src/r8192se-0015.0127.2010-1pclos2010/HAL/rtl8192/rtl8192s/r8192S_phy.c
/usr/src/r8192se-0015.0127.2010-1pclos2010/HAL/rtl8192/rtl8192s/r8192S_phy.h
/usr/src/r8192se-0015.0127.2010-1pclos2010/HAL/rtl8192/rtl8192s/r8192S_phyreg.h
/usr/src/r8192se-0015.0127.2010-1pclos2010/HAL/rtl8192/rtl8192s/r8192S_rtl6052.c
/usr/src/r8192se-0015.0127.2010-1pclos2010/HAL/rtl8192/rtl8192s/r8192S_rtl6052.h
/usr/src/r8192se-0015.0127.2010-1pclos2010/HAL/rtl8192/rtl8192s/r8192S_scan.c
/usr/src/r8192se-0015.0127.2010-1pclos2010/HAL/rtl8192/rtl8192s/r8192S_scan.h
/usr/src/r8192se-0015.0127.2010-1pclos2010/HAL/rtl8192/rtl_cam.c
/usr/src/r8192se-0015.0127.2010-1pclos2010/HAL/rtl8192/rtl_cam.h
/usr/src/r8192se-0015.0127.2010-1pclos2010/HAL/rtl8192/rtl_core.c
/usr/src/r8192se-0015.0127.2010-1pclos2010/HAL/rtl8192/rtl_core.h
/usr/src/r8192se-0015.0127.2010-1pclos2010/HAL/rtl8192/rtl_debug.c
/usr/src/r8192se-0015.0127.2010-1pclos2010/HAL/rtl8192/rtl_debug.h
/usr/src/r8192se-0015.0127.2010-1pclos2010/HAL/rtl8192/rtl_dm.c
/usr/src/r8192se-0015.0127.2010-1pclos2010/HAL/rtl8192/rtl_dm.h
/usr/src/r8192se-0015.0127.2010-1pclos2010/HAL/rtl8192/rtl_eeprom.c
/usr/src/r8192se-0015.0127.2010-1pclos2010/HAL/rtl8192/rtl_eeprom.h
/usr/src/r8192se-0015.0127.2010-1pclos2010/HAL/rtl8192/rtl_endianfree.h
/usr/src/r8192se-0015.0127.2010-1pclos2010/HAL/rtl8192/rtl_ethtool.c
/usr/src/r8192se-0015.0127.2010-1pclos2010/HAL/rtl8192/rtl_mesh.c
/usr/src/r8192se-0015.0127.2010-1pclos2010/HAL/rtl8192/rtl_mesh.h
/usr/src/r8192se-0015.0127.2010-1pclos2010/HAL/rtl8192/rtl_pm.c
/usr/src/r8192se-0015.0127.2010-1pclos2010/HAL/rtl8192/rtl_pm.h
/usr/src/r8192se-0015.0127.2010-1pclos2010/HAL/rtl8192/rtl_ps.c
/usr/src/r8192se-0015.0127.2010-1pclos2010/HAL/rtl8192/rtl_ps.h
/usr/src/r8192se-0015.0127.2010-1pclos2010/HAL/rtl8192/rtl_regd.c
/usr/src/r8192se-0015.0127.2010-1pclos2010/HAL/rtl8192/rtl_regd.h
/usr/src/r8192se-0015.0127.2010-1pclos2010/HAL/rtl8192/rtl_rfkill.c
/usr/src/r8192se-0015.0127.2010-1pclos2010/HAL/rtl8192/rtl_rfkill.h
/usr/src/r8192se-0015.0127.2010-1pclos2010/HAL/rtl8192/rtl_wx.c
/usr/src/r8192se-0015.0127.2010-1pclos2010/HAL/rtl8192/rtl_wx.h
/usr/src/r8192se-0015.0127.2010-1pclos2010/Makefile
/usr/src/r8192se-0015.0127.2010-1pclos2010/dkms.conf
/usr/src/r8192se-0015.0127.2010-1pclos2010/patches
/usr/src/r8192se-0015.0127.2010-1pclos2010/readme.txt
/usr/src/r8192se-0015.0127.2010-1pclos2010/release_note
/usr/src/r8192se-0015.0127.2010-1pclos2010/rtllib
/usr/src/r8192se-0015.0127.2010-1pclos2010/rtllib/EndianFree.h
/usr/src/r8192se-0015.0127.2010-1pclos2010/rtllib/Makefile
/usr/src/r8192se-0015.0127.2010-1pclos2010/rtllib/aes.c
/usr/src/r8192se-0015.0127.2010-1pclos2010/rtllib/api.c
/usr/src/r8192se-0015.0127.2010-1pclos2010/rtllib/arc4.c
/usr/src/r8192se-0015.0127.2010-1pclos2010/rtllib/autoload.c
/usr/src/r8192se-0015.0127.2010-1pclos2010/rtllib/cipher.c
/usr/src/r8192se-0015.0127.2010-1pclos2010/rtllib/compress.c
/usr/src/r8192se-0015.0127.2010-1pclos2010/rtllib/crypto_compat.h
/usr/src/r8192se-0015.0127.2010-1pclos2010/rtllib/digest.c
/usr/src/r8192se-0015.0127.2010-1pclos2010/rtllib/dot11d.c
/usr/src/r8192se-0015.0127.2010-1pclos2010/rtllib/dot11d.h
/usr/src/r8192se-0015.0127.2010-1pclos2010/rtllib/internal.h
/usr/src/r8192se-0015.0127.2010-1pclos2010/rtllib/kmap_types.h
/usr/src/r8192se-0015.0127.2010-1pclos2010/rtllib/license
/usr/src/r8192se-0015.0127.2010-1pclos2010/rtllib/michael_mic.c
/usr/src/r8192se-0015.0127.2010-1pclos2010/rtllib/proc.c
/usr/src/r8192se-0015.0127.2010-1pclos2010/rtllib/readme
/usr/src/r8192se-0015.0127.2010-1pclos2010/rtllib/rtl819x_BA.h
/usr/src/r8192se-0015.0127.2010-1pclos2010/rtllib/rtl819x_BAProc.c
/usr/src/r8192se-0015.0127.2010-1pclos2010/rtllib/rtl819x_HT.h
/usr/src/r8192se-0015.0127.2010-1pclos2010/rtllib/rtl819x_HTProc.c
/usr/src/r8192se-0015.0127.2010-1pclos2010/rtllib/rtl819x_Qos.h
/usr/src/r8192se-0015.0127.2010-1pclos2010/rtllib/rtl819x_TS.h
/usr/src/r8192se-0015.0127.2010-1pclos2010/rtllib/rtl819x_TSProc.c
/usr/src/r8192se-0015.0127.2010-1pclos2010/rtllib/rtl_crypto.h
/usr/src/r8192se-0015.0127.2010-1pclos2010/rtllib/rtllib.h
/usr/src/r8192se-0015.0127.2010-1pclos2010/rtllib/rtllib_crypt.c
/usr/src/r8192se-0015.0127.2010-1pclos2010/rtllib/rtllib_crypt.h
/usr/src/r8192se-0015.0127.2010-1pclos2010/rtllib/rtllib_crypt_ccmp.c
/usr/src/r8192se-0015.0127.2010-1pclos2010/rtllib/rtllib_crypt_tkip.c
/usr/src/r8192se-0015.0127.2010-1pclos2010/rtllib/rtllib_crypt_wep.c
/usr/src/r8192se-0015.0127.2010-1pclos2010/rtllib/rtllib_module.c
/usr/src/r8192se-0015.0127.2010-1pclos2010/rtllib/rtllib_rx.c
/usr/src/r8192se-0015.0127.2010-1pclos2010/rtllib/rtllib_softmac.c
/usr/src/r8192se-0015.0127.2010-1pclos2010/rtllib/rtllib_softmac_wx.c
/usr/src/r8192se-0015.0127.2010-1pclos2010/rtllib/rtllib_tx.c
/usr/src/r8192se-0015.0127.2010-1pclos2010/rtllib/rtllib_wx.c
/usr/src/r8192se-0015.0127.2010-1pclos2010/rtllib/scatterwalk.c
/usr/src/r8192se-0015.0127.2010-1pclos2010/rtllib/scatterwalk.h
/usr/src/r8192se-0015.0127.2010-1pclos2010/rtllib/wapi.c
/usr/src/r8192se-0015.0127.2010-1pclos2010/rtllib/wapi.h
/usr/src/r8192se-0015.0127.2010-1pclos2010/rtllib/wapi_interface.c
/usr/src/r8192se-0015.0127.2010-1pclos2010/rtllib/wapi_interface.h

Maybe I missed it, but I saw no mention of the SE firmware in there .....


Offline wedgetail

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 2427
  • Any Bugs in site?
Re: Two rpm files, one identical part of the other
« Reply #6 on: October 13, 2010, 04:15:45 PM »
[bJust19][/b]
Having seen your result, I have rechecked on another pc, I get the same result as you. I must have made a mistake, I am deleting the extra branch.
Thanks.  :-[
32 bit: KDE (older) & various KDE-mini, ASUSTek P5P41D Rev X.0x, BIOS AMI0207 07/21/2009, "Pentium(R) Dual-Core CPU E5300 @ 2.60GHz", nVidia GeForce 9600 GT, 2x1GB Seagate Technology 1000528AS HDD
TV CompuPro VideoMate Vista E700 (not working in Linux), Acer X243HD LCD Screen