FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian Kernel

 
 
LinkBack Thread Tools
 
Old 07-31-2010, 10:35 AM
Zaar Hai
 
Default Bug#591038: initramfs-tools: udev goes crazy spawnings many processes

Package: initramfs-tools
Version: 0.97.2
Severity: important

Recentl my system has stopped booting.

I have two MD raid arrays with LVM on top of them. Each LVM volume (including root and swap) are encrypted, so obviously initramfs has to deal with them on boot.
Several weeks ago system stop booting:
1. First, I see a lot of message like show here http://imagebin.ca/view/eL-M9KQz.html.
2. Then I get password prompt to entery passphrase for a new volume.
3. After that nothing happens any more.

Debugging shows that udevd behaves wierdly by endlessly spawning multiple children. I've made a workaound by killing udevd and restarting it in
/usr/share/initramfs-tools/scripts/local-top/cryptroot


-- Package-specific info:
-- initramfs sizes
-rw-r--r-- 1 root root 12M Jul 31 12:23 /boot/initrd.img-2.6.32-5-amd64
-- /proc/cmdline
BOOT_IMAGE=/vmlinuz-2.6.32-5-amd64 root=/dev/mapper/vg0stronghold-root_crypt ro quiet quiet

-- resume
RESUME=/dev/mapper/vg0stronghold-swap_crypt
-- /proc/filesystems
ext3
ext2
xfs
fuseblk

-- lsmod
Module Size Used by
ppdev 5030 0
lp 7462 0
binfmt_misc 6431 1
xt_TCPMSS 2919 1
ip6table_filter 2384 1
ip6_tables 15075 1 ip6table_filter
act_police 3636 0
cls_flow 5948 0
cls_fw 3513 0
cls_u32 5466 0
sch_htb 11942 0
sch_hfsc 12119 0
sch_ingress 1624 0
sch_sfq 4686 0
xt_time 1723 0
xt_connlimit 2863 0
xt_realm 919 0
iptable_raw 1867 0
xt_comment 907 31
xt_recent 5977 0
xt_policy 2170 0
ipt_ULOG 7129 7
ipt_REJECT 1953 4
ipt_REDIRECT 1111 0
ipt_NETMAP 1137 0
ipt_MASQUERADE 1554 0
ipt_ECN 1672 0
ipt_ecn 1272 0
ipt_CLUSTERIP 4910 0
ipt_ah 1061 0
ipt_addrtype 1769 3
nf_nat_tftp 966 0
nf_nat_snmp_basic 7796 0
nf_nat_sip 4934 0
nf_nat_pptp 2034 0
nf_nat_proto_gre 1245 1 nf_nat_pptp
nf_nat_irc 1366 0
nf_nat_h323 5095 0
nf_nat_ftp 2031 0
nf_nat_amanda 1144 0
ts_kmp 1623 5
nf_conntrack_amanda 2197 1 nf_nat_amanda
nf_conntrack_sane 3620 0
nf_conntrack_tftp 3321 1 nf_nat_tftp
nf_conntrack_sip 13546 1 nf_nat_sip
nf_conntrack_proto_sctp 6238 0
nf_conntrack_pptp 3801 1 nf_nat_pptp
nf_conntrack_proto_gre 3579 1 nf_conntrack_pptp
nf_conntrack_netlink 13128 0
nf_conntrack_netbios_ns 1282 0
nf_conntrack_irc 3347 1 nf_nat_irc
nf_conntrack_h323 36992 1 nf_nat_h323
nf_conntrack_ftp 5537 1 nf_nat_ftp
xt_TPROXY 1329 0
nf_tproxy_core 1549 1 xt_TPROXY,[permanent]
xt_tcpmss 1401 0
xt_pkttype 1003 0
xt_physdev 1508 0
xt_owner 1063 0
xt_NFQUEUE 1989 0
xt_NFLOG 1038 0
nfnetlink_log 7000 1 xt_NFLOG
xt_multiport 2267 6
xt_MARK 917 1
xt_mark 917 0
xt_mac 979 0
xt_limit 1782 0
xt_length 1164 0
xt_iprange 1433 0
xt_helper 1227 0
xt_hashlimit 7707 0
xt_DSCP 1995 0
xt_dscp 1611 0
xt_dccp 1915 0
xt_conntrack 2407 10
xt_CONNMARK 1267 0
xt_connmark 1123 0
xt_CLASSIFY 925 0
ipt_LOG 4518 0
xt_tcpudp 2319 27
xt_state 1303 0
iptable_nat 4299 0
nf_nat 13388 12 ipt_REDIRECT,ipt_NETMAP,ipt_MASQUERADE,nf_nat_tftp ,nf_nat_sip,nf_nat_pptp,nf_nat_proto_gre,nf_nat_ir c,nf_nat_h323,nf_nat_ftp,nf_nat_amanda,iptable_nat
nf_conntrack_ipv4 9833 13 iptable_nat,nf_nat
nf_defrag_ipv4 1139 2 xt_TPROXY,nf_conntrack_ipv4
nf_conntrack 46551 31 xt_connlimit,ipt_MASQUERADE,ipt_CLUSTERIP,nf_nat_t ftp,nf_nat_snmp_basic,nf_nat_sip,nf_nat_pptp,nf_na t_irc,nf_nat_h323,nf_nat_ftp,nf_nat_amanda,nf_conn track_amanda,nf_conntrack_sane,nf_conntrack_tftp,n f_conntrack_sip,nf_conntrack_proto_sctp,nf_conntra ck_pptp,nf_conntrack_proto_gre,nf_conntrack_netlin k,nf_conntrack_netbios_ns,nf_conntrack_irc,nf_conn track_h323,nf_conntrack_ftp,xt_helper,xt_conntrack ,xt_CONNMARK,xt_connmark,xt_state,iptable_nat,nf_n at,nf_conntrack_ipv4
iptable_mangle 2817 1
nfnetlink 2398 2 nf_conntrack_netlink,nfnetlink_log
iptable_filter 2258 1
ip_tables 13899 4 iptable_raw,iptable_nat,iptable_mangle,iptable_fil ter
x_tables 12845 46 xt_TCPMSS,ip6_tables,xt_time,xt_connlimit,xt_realm ,xt_comment,xt_recent,xt_policy,ipt_ULOG,ipt_REJEC T,ipt_REDIRECT,ipt_NETMAP,ipt_MASQUERADE,ipt_ECN,i pt_ecn,ipt_CLUSTERIP,ipt_ah,ipt_addrtype,xt_TPROXY ,xt_tcpmss,xt_pkttype,xt_physdev,xt_owner,xt_NFQUE UE,xt_NFLOG,xt_multiport,xt_MARK,xt_mark,xt_mac,xt _limit,xt_length,xt_iprange,xt_helper,xt_hashlimit ,xt_DSCP,xt_dscp,xt_dccp,xt_conntrack,xt_CONNMARK, xt_connmark,xt_CLASSIFY,ipt_LOG,xt_tcpudp,xt_state ,iptable_nat,ip_tables
fuse 50190 1
bridge 39598 0
stp 1440 1 bridge
xfs 436813 1
exportfs 3170 1 xfs
ext2 52969 1
loop 11783 0
firewire_sbp2 11514 0
firewire_core 36800 1 firewire_sbp2
crc_itu_t 1307 1 firewire_core
snd_hda_codec_analog 64562 1
snd_hda_intel 19987 5
snd_hda_codec 54244 2 snd_hda_codec_analog,snd_hda_intel
snd_hwdep 5380 1 snd_hda_codec
snd_pcm_oss 32591 0
snd_mixer_oss 12606 1 snd_pcm_oss
snd_pcm 60471 4 snd_hda_intel,snd_hda_codec,snd_pcm_oss
snd_seq_midi 4400 0
snd_rawmidi 15515 1 snd_seq_midi
snd_seq_midi_event 4628 1 snd_seq_midi
snd_seq 42881 2 snd_seq_midi,snd_seq_midi_event
snd_timer 15582 3 snd_pcm,snd_seq
snd_seq_device 4493 3 snd_seq_midi,snd_rawmidi,snd_seq
snd 46446 19 snd_hda_codec_analog,snd_hda_intel,snd_hda_codec,s nd_hwdep,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_raw midi,snd_seq,snd_timer,snd_seq_device
cypress_m8 15825 0
soundcore 4598 1 snd
usbserial 27399 1 cypress_m8
snd_page_alloc 6249 2 snd_hda_intel,snd_pcm
parport_pc 18855 1
psmouse 49777 0
joydev 8411 0
i2c_nforce2 5280 0
nvidia 10646314 42
pcspkr 1699 0
parport 27954 3 ppdev,lp,parport_pc
edac_core 29261 0
evdev 7352 13
edac_mce_amd 6433 0
k8temp 3139 0
serio_raw 3752 0
i2c_core 15712 2 i2c_nforce2,nvidia
asus_atk0110 7686 0
processor 30231 0
button 4650 0
ext3 106518 2
jbd 37085 1 ext3
mbcache 5050 2 ext2,ext3
sha256_generic 8692 6
aes_x86_64 7340 6
aes_generic 25714 1 aes_x86_64
cbc 2539 3
dm_crypt 10507 3
dm_mod 53754 17 dm_crypt
raid456 44500 1
async_raid6_recov 5170 1 raid456
async_pq 3479 2 raid456,async_raid6_recov
raid6_pq 77179 2 async_raid6_recov,async_pq
async_xor 2478 3 raid456,async_raid6_recov,async_pq
xor 4380 1 async_xor
async_memcpy 1198 2 raid456,async_raid6_recov
async_tx 1734 5 raid456,async_raid6_recov,async_pq,async_xor,async _memcpy
raid1 18175 2
md_mod 73776 5 raid456,raid1
usb_storage 39561 0
sg 18744 0
usbhid 33260 0
sr_mod 12602 0
hid 62841 1 usbhid
cdrom 29415 1 sr_mod
sd_mod 29777 12
crc_t10dif 1276 1 sd_mod
ata_generic 2983 0
ohci_hcd 19212 0
fan 3346 0
sata_nv 19166 5
pata_amd 9869 0
ehci_hcd 31135 0
sata_via 7853 2
thermal 11674 0
thermal_sys 11942 3 processor,fan,thermal
forcedeth 45448 0
libata 133584 4 ata_generic,sata_nv,pata_amd,sata_via
scsi_mod 122117 6 firewire_sbp2,usb_storage,sg,sr_mod,sd_mod,libata
usbcore 121959 7 cypress_m8,usbserial,usb_storage,usbhid,ohci_hcd,e hci_hcd
nls_base 6361 1 usbcore

-- /etc/kernel-img.conf
# Kernel image management overrides
# See kernel-img.conf(5) for details
do_symlinks = yes
relative_links = yes
do_bootloader = no
do_bootfloppy = no
do_initrd = yes
link_in_boot = no
postinst_hook = update-grub
postrm_hook = update-grub

-- /etc/initramfs-tools/initramfs.conf
MODULES=most
BUSYBOX=y
KEYMAP=n
COMPRESS=gzip
BOOT=local
DEVICE=
NFSROOT=auto

-- /etc/initramfs-tools/update-initramfs.conf
update_initramfs=yes
backup_initramfs=no

-- /etc/crypttab
vg0stronghold-root_crypt /dev/mapper/vg0stronghold-root none luks
vg0stronghold-storage_crypt /dev/mapper/vg0stronghold-storage none luks
vg0stronghold-swap_crypt /dev/mapper/vg0stronghold-swap none luks

-- /proc/mdstat
Personalities : [raid1] [raid6] [raid5] [raid4]
md2 : active raid5 sdd1[0] sda1[2] sdb1[1]
145211264 blocks level 5, 64k chunk, algorithm 2 [3/3] [UUU]

md1 : active raid1 sdc2[0] sde2[1]
975771968 blocks [2/2] [UU]

md0 : active raid1 sdc1[0] sde1[1]
987840 blocks [2/2] [UU]

unused devices: <none>


-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages initramfs-tools depends on:
ii cpio 2.11-4 GNU cpio -- a program to manage ar
ii findutils 4.4.2-1 utilities for finding files--find,
ii klibc-utils 1.5.18-1 small utilities built with klibc f
ii module-init-tools 3.12-1 tools for managing Linux kernel mo
ii udev 160-1 /dev/ and hotplug management daemo

Versions of packages initramfs-tools recommends:
ii busybox 1:1.15.3-1 Tiny utilities for small and embed

Versions of packages initramfs-tools suggests:
ii bash-completion 1:1.2-2 programmable completion for the ba

-- no debconf information



--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20100731103511.25986.56544.reportbug@stronghold.de v.fornova.net">http://lists.debian.org/20100731103511.25986.56544.reportbug@stronghold.de v.fornova.net
 
Old 08-04-2010, 04:45 AM
Michael Prokop
 
Default Bug#591038: initramfs-tools: udev goes crazy spawnings many processes

* Zaar Hai <stronghold.dev.fornova.net@fornova.net> [Sat Jul 31, 2010 at 01:35:11PM +0300]:
> Package: initramfs-tools
> Version: 0.97.2
> Severity: important

> Recentl my system has stopped booting.

> I have two MD raid arrays with LVM on top of them. Each LVM volume (including root and swap) are encrypted, so obviously initramfs has to deal with them on boot.
> Several weeks ago system stop booting:
> 1. First, I see a lot of message like show here http://imagebin.ca/view/eL-M9KQz.html.
> 2. Then I get password prompt to entery passphrase for a new volume.
> 3. After that nothing happens any more.

> Debugging shows that udevd behaves wierdly by endlessly spawning multiple children. I've made a workaound by killing udevd and restarting it in
> /usr/share/initramfs-tools/scripts/local-top/cryptroot

With "spawning multiple children" you mean udevd processes?

Do you have any adjusted/3rd party/... scripts/hooks inside
/usr/share/initramfs-tools?

regards,
-mika-
 

Thread Tools




All times are GMT. The time now is 07:30 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org