Re: [CentOS] C7 and mdadm
On 1/22/19 2:26 PM, mark wrote: A user's system had a hard drive failure over the weekend. Linux RAID 6... But: it's now Personalities : [raid6] [raid5] [raid4] md0 : active (auto-read-only) raid5 sdg1[8](S) sdh1[7] sdf1[4] sde1[3] sdd1[2] sdc1[1] 23441313792 blocks super 1.2 level 5, 512k chunk, algorithm 2 [7/5] [__U] That doesn't look like RAID 6. That looks like RAID 5 with a hot spare. There appear to be two drives missing. If you can locate one of those two drives and add it to the array, you should be able to start it and mount the filesystem. Otherwise you'll have to restore backups. The drive that failed this weekend may work well enough to add it to the array temporarily if you need to refresh your backups. ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] C7 and mdadm
Am 22.01.2019 um 23:26 schrieb mark: md0 : active (auto-read-only) raid5 sdg1[8](S) sdh1[7] sdf1[4] sde1[3] sdd1[2] sdc1[1] [ ... ] [__U] I see a RAID 5 with 2 elements missing from the array. That would mean data is lost. Alexander ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Yum refuses to install kmod-8188eu from elrepo
On Tue, 22 Jan 2019 09:41:09 -0800 Akemi Yagi wrote: > On Tue, Jan 22, 2019 at 8:01 AM Akemi Yagi wrote: > > > > 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/ . > > Users seeing the same issue can now go to: > > https://elrepo.org/bugs/view.php?id=893 Just for the record --- the kmod has been rebuilt against the new kernel (thanks for the very fast response!!), and the new version does install successfully. Of course, then I ran into a separate issue with 8188eu driver requiring the old wext driver, while NetworkManager working only with the new nl80211 driver... After some googling, it seems that this issue is best discussed here: https://www.thelinuxrain.com/articles/getting-realtek-8188eu-wireless-adapters-to-work-in-linux-and-possibly-other-wireless-realtek-chipsets Using wicd instead of NetworkManager somehow failed me, but the manual startup of wpa_supplicant did work, and the wifi dongle finally came to life, and works perfectly. Thanks again to Akemi, and elrepo! Best, :-) Marko ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
[CentOS] C7 and mdadm
A user's system had a hard drive failure over the weekend. Linux RAID 6. I identified the drive, brought the system down (8 drives, and I didn't know the s/n of the bad one. why it was there in the box, rather than where I started looking...) Brought it up, RAID not working. I finally found that I had to do an mdadm --stop /dev/md0, then I could do an assemble, then I could add the new drive. But: it's now cat /proc/mdstat Personalities : [raid6] [raid5] [raid4] md0 : active (auto-read-only) raid5 sdg1[8](S) sdh1[7] sdf1[4] sde1[3] sdd1[2] sdc1[1] 23441313792 blocks super 1.2 level 5, 512k chunk, algorithm 2 [7/5] [__U] bitmap: 0/30 pages [0KB], 65536KB chunk unused devices: and I can't mount it (it's xfs, btw). *Should* I make it readwrite, or is there something else I should do? mark ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Yum refuses to install kmod-8188eu from elrepo
On Tue, Jan 22, 2019 at 10:49 AM Jonathan Billings 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 ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Re: [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 ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Yum refuses to install kmod-8188eu from elrepo
On Tue, 22 Jan 2019 12:03:22 -0500 Mike Burger wrote: > On 2019-01-22 11:01, Akemi Yagi wrote: > > On Tue, Jan 22, 2019 at 7:54 AM Marko Vojinovic > > 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 ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Yum refuses to install kmod-8188eu from elrepo
On Tue, 22 Jan 2019 08:01:55 -0800 Akemi Yagi wrote: > On Tue, Jan 22, 2019 at 7:54 AM Marko Vojinovic > 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/ . Thanks for the suggestion, bug filed: https://elrepo.org/bugs/view.php?id=893 Best, :-) Marko ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Yum refuses to install kmod-8188eu from elrepo
On Tue, Jan 22, 2019 at 8:01 AM Akemi Yagi wrote: > > On Tue, Jan 22, 2019 at 7:54 AM Marko Vojinovic wrote: > > 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/ . Users seeing the same issue can now go to: https://elrepo.org/bugs/view.php?id=893 Akemi ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Yum refuses to install kmod-8188eu from elrepo
On 2019-01-22 11:01, Akemi Yagi wrote: On Tue, Jan 22, 2019 at 7:54 AM Marko Vojinovic 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/ . Akeme 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. -- 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 ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Yum refuses to install kmod-8188eu from elrepo
On Tue, Jan 22, 2019 at 7:54 AM Marko Vojinovic 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/ . Akeme ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
[CentOS] Yum refuses to install kmod-8188eu from elrepo
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? Or should I just ditch the kmod, and compile the 8188eu driver from source? I'd prefer to avoid this if possible, since I am not a fan of recompiling it every time the kernel is updated in C7. And I might need to use the wifi dongle on multiple machines, anyway. I'd appreciate any suggestions! TIA, :-) Marko ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] [Qemu-KVM] Centos 7.0 Guest vm freezing
Il 09/01/19 09:20, Akshar Kanak ha scritto: Dear team I am running a centos guest VM which freezes for every few days . The qemu-kvm on shows 100% cpu utilization. Ping to the guest might work or may not work .Please can you tell me what approach can i take to debug it . using "virsh dump" I can dump the core of the guest vm but I am not sure how to analyse it . Guest Centos VM : "Linux GUESTCentOS70 3.10.0-123.4.4.el7.x86_64 #1 SMP Fri Jul 25 05:07:12 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux" "CentOS Linux release 7.0.1406 (Core)" 1 vcpu and 2 GB ram Host machine : "Linux HOST 3.10.51-1.el6.elrepo.x86_64 #1 SMP Fri Aug 1 13:14:11 EDT 2014 x86_64 x86_64 x86_64 GNU/Linux" "CentOS release 6.5 (Final)" qemu-kvm package used : qemu-kvm-0.12.1.2-2.415.el6_5.10.x86_64 Thanks and regards Akshar ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos Hi Akshar, I'm not an expert but I will try. Only these vm freezes? Did you check if there is a process that get 100% on guest? About ping check if another machine has the same IP. Do you receive some errors? ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos