On 2019-01-22 11:01, Akemi Yagi wrote:> On Tue, Jan 22, 2019 at 7:54 AM Marko Vojinovic <vvmarko at gmail.com> > wrote: >> >> >> I am having trouble using the realtek wifi chip in my new tp-link >> usb wifi dongle. Upon plugging it, the device gets registered by the >> kernel (in /var/log/messages), but that's about it, no network device >> is being created (iwconfig does not see it, nothing else works). >> >> A few google searches later I found out that this realtek chip is not >> supported by the kernel and requires a driver, and that the driver is >> packaged for C7 as kmod-8188eu in elrepo. >> >> However, yum install kmod-8188eu refuses to install it (full yum >> output is here: https://pastebin.com/raw/vvak6FCU ), complaining that >> the following dependencies cannot be met: >> >> --> Processing Dependency: kernel(wireless_send_event) = 0xa02e7e03 >> for >> package: kmod-8188eu-4.1.4_6773.20130222-4.el7_5.elrepo.x86_64 >> --> Processing Dependency: kernel(usb_submit_urb) = 0x74c6ac58 for >> package: kmod-8188eu-4.1.4_6773.20130222-4.el7_5.elrepo.x86_64 >> --> Processing Dependency: kernel(usb_reset_device) = 0xddd0084e for >> package: kmod-8188eu-4.1.4_6773.20130222-4.el7_5.elrepo.x86_64 >> --> Processing Dependency: kernel(usb_put_dev) = 0xf709107c for >> package: kmod-8188eu-4.1.4_6773.20130222-4.el7_5.elrepo.x86_64 >> --> Processing Dependency: kernel(usb_kill_urb) = 0xa55bf715 for >> package: kmod-8188eu-4.1.4_6773.20130222-4.el7_5.elrepo.x86_64 >> --> Processing Dependency: kernel(usb_get_dev) = 0x372a41af for >> package: kmod-8188eu-4.1.4_6773.20130222-4.el7_5.elrepo.x86_64 >> --> Processing Dependency: kernel(usb_free_urb) = 0x739aecf4 for >> package: kmod-8188eu-4.1.4_6773.20130222-4.el7_5.elrepo.x86_64 >> --> Processing Dependency: kernel(usb_control_msg) = 0xd04e3a9e for >> package: kmod-8188eu-4.1.4_6773.20130222-4.el7_5.elrepo.x86_64 >> --> Processing Dependency: kernel(usb_alloc_urb) = 0x12a4948e for >> package: kmod-8188eu-4.1.4_6773.20130222-4.el7_5.elrepo.x86_64 >> >> I've never seen such output from yum before --- I'm guessing it is >> asking for a kernel with specific "properties", and failing to find >> one. >> >> What is the best way to resolve this? Is there some kernel package >> somewhere that matches these properties, or is there some other >> package >> that provides these features to an existing kernel, or something else? > > That output indicates that that kmod package is built for the EL 7.5 > kernel and is not compatible with the current kernel. I suggest you > file a request to have the kmod-8188eu rebuilt for EL 7.6 at > http://elrepo.org/bugs/ . > > AkemeAnother alternative may be to pull down the SRPM and run it through rpmbuild to locally create a binary package compatible with the system as it's currently installed/running. -- Mike Burger http://www.bubbanfriends.org "It's always suicide-mission this, save-the-planet that. No one ever just stops by to say 'hi' anymore." --Colonel Jack O'Neill, SG1
Marko Vojinovic
2019-Jan-22 17:49 UTC
[CentOS] Yum refuses to install kmod-8188eu from elrepo
On Tue, 22 Jan 2019 12:03:22 -0500 Mike Burger <mburger at bubbanfriends.org> wrote:> On 2019-01-22 11:01, Akemi Yagi wrote: > > On Tue, Jan 22, 2019 at 7:54 AM Marko Vojinovic <vvmarko at gmail.com> > > wrote: > >> I am having trouble using the realtek wifi chip in my new tp-link > >> usb wifi dongle.[snip]> >> However, yum install kmod-8188eu refuses to install it (full yum > >> output is here: https://pastebin.com/raw/vvak6FCU ), complaining > >> that the following dependencies cannot be met:[snip]> > That output indicates that that kmod package is built for the EL 7.5 > > kernel and is not compatible with the current kernel. I suggest you > > file a request to have the kmod-8188eu rebuilt for EL 7.6 at > > http://elrepo.org/bugs/ . > > Another alternative may be to pull down the SRPM and run it through > rpmbuild to locally create a binary package compatible with the > system as it's currently installed/running.Thanks, that would certainly be a better solution than manually building the driver from source, since I could install the resulting .rpm on all of my machines. If the bug I just submitted to elrepo doesn't get resolved for whatever reason, I'll try that. Best, :-) Marko
Jonathan Billings
2019-Jan-22 18:49 UTC
[CentOS] Yum refuses to install kmod-8188eu from elrepo
On Tue, Jan 22, 2019 at 12:03:22PM -0500, Mike Burger wrote:> Another alternative may be to pull down the SRPM and run it through rpmbuild > to locally create a binary package compatible with the system as it's > currently installed/running.I encourage this behavior, however, elrepo kmod packages often have the kernel version hard-coded into it, so you'd need to either edit the .spec file, or run rpmbuild with a --define 'kversion 3.10.0-957.1.3.el7.x86_64' to force it to build against the latest el7 kernel. -- Jonathan Billings <billings at negate.org>
On Tue, Jan 22, 2019 at 10:49 AM Jonathan Billings <billings at negate.org> wrote:> > On Tue, Jan 22, 2019 at 12:03:22PM -0500, Mike Burger wrote: > > Another alternative may be to pull down the SRPM and run it through rpmbuild > > to locally create a binary package compatible with the system as it's > > currently installed/running. > > I encourage this behavior, however, elrepo kmod packages often have > the kernel version hard-coded into it, so you'd need to either edit > the .spec file, or run rpmbuild with a > > --define 'kversion 3.10.0-957.1.3.el7.x86_64' > > to force it to build against the latest el7 kernel.Well, I wouldn't call it "hard-coded', but yes, if the kernel version is not defined from the command line, then whatever the version defined in the spec file is used. :) By the way, the updated package is now in the elrepo testing repository, e.g. https://elrepo.org/linux/testing/el7/x86_64/RPMS/kmod-8188eu-4.1.4_6773.20130222-5.el7_6.elrepo.x86_64.rpm Akemi