Author Topic: udevd cpu high usage <SOLVED>  (Read 3500 times)

Offline docnascar

  • Sr. Member
  • ****
  • Posts: 465
Re: udevd cpu high usage (avahi related?)
« Reply #30 on: February 12, 2012, 09:45:44 AM »
So, are you unable to boot using the newly created initrd ?

Wow, do you live on here? LOL

Yes, to answer the question.

I do have a log of the rebuild, but its on my linux pc that won't boot. Saved it before the reboot... LOL

« Last Edit: February 12, 2012, 09:47:17 AM by docnascar »
My main PCLINUXOS PC:
KDE Mini
AMD FX-6300 (3.5G / 6 core)
MSI 970A-G46 AM3+ MOBO
G.SKILL Sniper Series 8GB (2 x 4GB) 1866 (PC3 14900)
ECS GeForce GT 440 (Fermi) 512MB 128-bit GDDR5
Seagate Barracuda ST1000DM003 1TB 7200 RPM SATA
SAMSUNG DVD Burner SATA Model SH-224BB
POWERUP PU-550 (550W) p

Offline docnascar

  • Sr. Member
  • ****
  • Posts: 465
Re: udevd cpu high usage (avahi related?)
« Reply #31 on: February 12, 2012, 09:51:33 AM »
Quote
Only a listing of the initrd content, the "grep" filter out only the lines containing "modprobe"

So, since this originally returned nothing, Maybe that should have been a clue and I should not have rebooted?
My main PCLINUXOS PC:
KDE Mini
AMD FX-6300 (3.5G / 6 core)
MSI 970A-G46 AM3+ MOBO
G.SKILL Sniper Series 8GB (2 x 4GB) 1866 (PC3 14900)
ECS GeForce GT 440 (Fermi) 512MB 128-bit GDDR5
Seagate Barracuda ST1000DM003 1TB 7200 RPM SATA
SAMSUNG DVD Burner SATA Model SH-224BB
POWERUP PU-550 (550W) p

Offline AS

  • Hero Member
  • *****
  • Posts: 4111
  • Have a nice ... night!
Re: udevd cpu high usage (avahi related?)
« Reply #32 on: February 12, 2012, 09:56:41 AM »
So, are you unable to boot using the newly created initrd ?

Wow, do you live on here? LOL
:D ;D

Quote
Yes, to answer the question.

I do have a log of the rebuild, but its on my linux pc that won't boot. Saved it before the reboot... LOL

I think it's possible to specify the the initrd= parameter on grub parameters line, but need to check about the exact syntax ...
wait a moment ...


Quote
Only a listing of the initrd content, the "grep" filter out only the lines containing "modprobe"

So, since this originally returned nothing, Maybe that should have been a clue and I should not have rebooted?


need to be investigated ...  a wrong initrd name on the mkinitrd commands will result in the same output ...

Offline Old-Polack

  • Administrator
  • Super Villain
  • *****
  • Posts: 11577
  • ----IOFLU----
Re: udevd cpu high usage (avahi related?)
« Reply #33 on: February 12, 2012, 09:57:15 AM »
Quote
Only a listing of the initrd content, the "grep" filter out only the lines containing "modprobe"

So, since this originally returned nothing, Maybe that should have been a clue and I should not have rebooted?


Bingo! ;D ;D
Old-Polack

Of what use be there for joy, if not for the sharing thereof?



Lest we forget...

Offline docnascar

  • Sr. Member
  • ****
  • Posts: 465
Re: udevd cpu high usage (avahi related?)
« Reply #34 on: February 12, 2012, 10:00:32 AM »
Quote
Only a listing of the initrd content, the "grep" filter out only the lines containing "modprobe"

So, since this originally returned nothing, Maybe that should have been a clue and I should not have rebooted?


Bingo! ;D ;D

Told you I was learning!  ;D
My main PCLINUXOS PC:
KDE Mini
AMD FX-6300 (3.5G / 6 core)
MSI 970A-G46 AM3+ MOBO
G.SKILL Sniper Series 8GB (2 x 4GB) 1866 (PC3 14900)
ECS GeForce GT 440 (Fermi) 512MB 128-bit GDDR5
Seagate Barracuda ST1000DM003 1TB 7200 RPM SATA
SAMSUNG DVD Burner SATA Model SH-224BB
POWERUP PU-550 (550W) p

Offline Old-Polack

  • Administrator
  • Super Villain
  • *****
  • Posts: 11577
  • ----IOFLU----
Re: udevd cpu high usage (avahi related?)
« Reply #35 on: February 12, 2012, 10:09:01 AM »
Quote
Only a listing of the initrd content, the "grep" filter out only the lines containing "modprobe"

So, since this originally returned nothing, Maybe that should have been a clue and I should not have rebooted?


Bingo! ;D ;D

Told you I was learning!  ;D

Sorry, the devil made me do that!  ;D

Don't worry, it's entirely fixable, from the liveCD.

Rule one... stay focused.

Do you know which partition is the / partition that currently won't boot?
Old-Polack

Of what use be there for joy, if not for the sharing thereof?



Lest we forget...

Offline docnascar

  • Sr. Member
  • ****
  • Posts: 465
Re: udevd cpu high usage (avahi related?)
« Reply #36 on: February 12, 2012, 10:16:59 AM »
Code: [Select]
[Linux-bzImage, setup=0x3800, size=0x2358c0]
initrd (hd0,0)/boot/initrd.img

I think its 0,0 according to the error during boot.

I do have two hard drives, the other has my home on it.

I don't have a current LIVECD (honestly, not sure if I have any somewhat current livecd; i'll have to dig around my man-cave). My grub has an older kernel listed. Can I boot to it to at least get to the terminal to fix my booboo? From Grub list;  "Linux with kernel 2.6.33.5-pclos1.bfs"
My main PCLINUXOS PC:
KDE Mini
AMD FX-6300 (3.5G / 6 core)
MSI 970A-G46 AM3+ MOBO
G.SKILL Sniper Series 8GB (2 x 4GB) 1866 (PC3 14900)
ECS GeForce GT 440 (Fermi) 512MB 128-bit GDDR5
Seagate Barracuda ST1000DM003 1TB 7200 RPM SATA
SAMSUNG DVD Burner SATA Model SH-224BB
POWERUP PU-550 (550W) p

Offline AS

  • Hero Member
  • *****
  • Posts: 4111
  • Have a nice ... night!
Re: udevd cpu high usage (avahi related?)
« Reply #37 on: February 12, 2012, 10:18:42 AM »
Old-Polack,

adding this option at grub parameters:

Code: [Select]
initrd=initrd-2.6.38.8-pclos3.bfs.img-bak
shouldn't work ?

Offline Old-Polack

  • Administrator
  • Super Villain
  • *****
  • Posts: 11577
  • ----IOFLU----
Re: udevd cpu high usage (avahi related?)
« Reply #38 on: February 12, 2012, 10:24:26 AM »
Old-Polack,

adding this option at grub parameters:

Code: [Select]
initrd=initrd-2.6.38.8-pclos3.bfs.img-bak
shouldn't work ?


If it saved properly, yes it should.
« Last Edit: February 24, 2012, 07:59:53 PM by Old-Polack »
Old-Polack

Of what use be there for joy, if not for the sharing thereof?



Lest we forget...

Offline Old-Polack

  • Administrator
  • Super Villain
  • *****
  • Posts: 11577
  • ----IOFLU----
Re: udevd cpu high usage (avahi related?)
« Reply #39 on: February 12, 2012, 10:29:00 AM »
Code: [Select]
[Linux-bzImage, setup=0x3800, size=0x2358c0]
initrd (hd0,0)/boot/initrd.img

I think its 0,0 according to the error during boot.

I do have two hard drives, the other has my home on it.

I don't have a current LIVECD (honestly, not sure if I have any somewhat current livecd; i'll have to dig around my man-cave). My grub has an older kernel listed. Can I boot to it to at least get to the terminal to fix my booboo? From Grub list;  "Linux with kernel 2.6.33.5-pclos1.bfs"

Use it!
Old-Polack

Of what use be there for joy, if not for the sharing thereof?



Lest we forget...

Offline docnascar

  • Sr. Member
  • ****
  • Posts: 465
Re: udevd cpu high usage (avahi related?)
« Reply #40 on: February 12, 2012, 10:55:58 AM »
Back in linux using the older kernel (2.6.33.5).

What's next to recover?

Code: [Select]
[docnascar@localhost boot]$ ls -l |grep init
-rw------- 1 root root 5873663 Jun  7  2011 initrd-2.6.33.5-pclos1.bfs.img
-rw------- 1 root root 3557337 Feb 12 11:19 initrd-2.6.38.8-pclos3.bfs
-rw------- 1 root root 4955794 Nov  7 20:49 initrd-2.6.38.8-pclos3.bfs.img-bak
lrwxrwxrwx 1 root root      30 Nov  7 20:49 initrd.img -> initrd-2.6.38.8-pclos3.bfs.img
-rw------- 1 root root 9724618 Jun  5  2010 initrd.img.old
[docnascar@localhost boot]$


« Last Edit: February 12, 2012, 10:58:56 AM by docnascar »
My main PCLINUXOS PC:
KDE Mini
AMD FX-6300 (3.5G / 6 core)
MSI 970A-G46 AM3+ MOBO
G.SKILL Sniper Series 8GB (2 x 4GB) 1866 (PC3 14900)
ECS GeForce GT 440 (Fermi) 512MB 128-bit GDDR5
Seagate Barracuda ST1000DM003 1TB 7200 RPM SATA
SAMSUNG DVD Burner SATA Model SH-224BB
POWERUP PU-550 (550W) p

Offline docnascar

  • Sr. Member
  • ****
  • Posts: 465
Re: udevd cpu high usage (avahi related?)
« Reply #41 on: February 12, 2012, 11:05:02 AM »
Interesting data point. There is No loop with the older kernel.

Code: [Select]
[docnascar@localhost boot]$ udevadm monitor
monitor will print the received events for:
UDEV - the event which udev sends out after rule processing
KERNEL - the kernel uevent

^C[docnascar@localhost boot]$ uname -r
2.6.33.5-pclos1.bfs
My main PCLINUXOS PC:
KDE Mini
AMD FX-6300 (3.5G / 6 core)
MSI 970A-G46 AM3+ MOBO
G.SKILL Sniper Series 8GB (2 x 4GB) 1866 (PC3 14900)
ECS GeForce GT 440 (Fermi) 512MB 128-bit GDDR5
Seagate Barracuda ST1000DM003 1TB 7200 RPM SATA
SAMSUNG DVD Burner SATA Model SH-224BB
POWERUP PU-550 (550W) p

Offline AS

  • Hero Member
  • *****
  • Posts: 4111
  • Have a nice ... night!
Re: udevd cpu high usage (avahi related?)
« Reply #42 on: February 12, 2012, 11:30:18 AM »
Back in linux using the older kernel (2.6.33.5).

What's next to recover?

Quote
[docnascar@localhost boot]$ ls -l |grep init
-rw------- 1 root root 5873663 Jun  7  2011 initrd-2.6.33.5-pclos1.bfs.img
-rw------- 1 root root 3557337 Feb 12 11:19 initrd-2.6.38.8-pclos3.bfs
-rw------- 1 root root 4955794 Nov  7 20:49 initrd-2.6.38.8-pclos3.bfs.img-bak
lrwxrwxrwx 1 root root      30 Nov  7 20:49 initrd.img -> initrd-2.6.38.8-pclos3.bfs.img
-rw------- 1 root root 9724618 Jun  5  2010 initrd.img.old
[docnascar@localhost boot]$


Actually it was my fault, lost the .img suffix  ;D

docnascar,

Code: [Select]
mv /boot/initrd-2.6.38.8-pclos3.bfs  /boot/initrd-2.6.38.8-pclos3.bfs.img
before to reboot, retry:
Code: [Select]
lsinitrd /boot/initrd-2.6.38.8-pclos3.bfs.img  |  grep modprobe

Offline docnascar

  • Sr. Member
  • ****
  • Posts: 465
Re: udevd cpu high usage (avahi related?)
« Reply #43 on: February 12, 2012, 11:33:18 AM »
Ahh good catch!

Code: [Select]
[root@localhost boot]# mv /boot/initrd-2.6.38.8-pclos3.bfs  /boot/initrd-2.6.38.8-pclos3.bfs.img
[root@localhost boot]# lsinitrd /boot/initrd-2.6.38.8-pclos3.bfs.img  |  grep modprobe
-rwxr-xr-x   1 root     root        26832 Jun 13  2011 bin/modprobe
-rwxr-xr-x   1 root     root        24332 Jun 13  2011 lib/libmodprobe.so.0.0.0
lrwxrwxrwx   1 root     root           25 Feb 12 11:19 lib/libmodprobe.so.0 -> /lib/libmodprobe.so.0.0.0
init
modprobe -q pata_amd
modprobe -q sata_nv
modprobe -q ext3
modprobe -q ide-core
modprobe -q ide-disk
modprobe -q ide-gd_mod
modprobe -q scsi_mod
modprobe -q sd_mod
modprobe -q libata
modprobe -q amd74xx
modprobe -q pata_acpi
modprobe -q ide-pci-generic
modprobe -q ata_generic
modprobe -q ide_generic
[root@localhost boot]# ^C
[root@localhost boot]#

Shall I reboot?

My main PCLINUXOS PC:
KDE Mini
AMD FX-6300 (3.5G / 6 core)
MSI 970A-G46 AM3+ MOBO
G.SKILL Sniper Series 8GB (2 x 4GB) 1866 (PC3 14900)
ECS GeForce GT 440 (Fermi) 512MB 128-bit GDDR5
Seagate Barracuda ST1000DM003 1TB 7200 RPM SATA
SAMSUNG DVD Burner SATA Model SH-224BB
POWERUP PU-550 (550W) p

Offline AS

  • Hero Member
  • *****
  • Posts: 4111
  • Have a nice ... night!
Re: udevd cpu high usage (avahi related?)
« Reply #44 on: February 12, 2012, 11:34:19 AM »
Yes!  :D