[SOLVED] Update to Centos 6.4 results in no initramfs file

General support questions

[SOLVED] Update to Centos 6.4 results in no initramfs file

Postby mphelpsmd » 2013/06/09 19:08:42

I updated my system from Centos 6.3 to 6.4 using the command:

yum update


That resulted in a kernel panic similar to one that has been described here before:

md: Waiting for all devices to be available before autodetect
md: If you don't use raid, use raid=noautodetect
md: Autodetecting RAID arrays.
md: Scanned 0 and added 0 devices.
md: Autorun ...
md: ... autorun DONE.
VFS: Cannot open root device "UUID=XXX" or unknown-block(0,0)
Please append a correct "root=" boot option; here are the available partitions:
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
Pid: 1, comm: swapper Not tainted 2.6.32-358.6.2.el6.x86_64 #1
Call Trace:
[] ? panic+0xa7/0x16f
[] ? mount_block_root+0x1ea/0x29e
[]? bstat+0x2a0/0x970
[] ? mount_root+0x56/0x5a
[] ? prepare_namespace+0x170/0x1a9
[] ? kernel_init+0x2e8/0x2fe
[] ? child_rip+0xa/0x20
[] ? kernel_init+0x0/0x2fe
[] ? child_rip+0x0/0x20

I was able to boot into an older version of the kernel (2.6.2-220.23.1.el6.x86_64), though.

I attempted:
yum reinstall kernel-2.6.2-358.6.2.el6.x86_64

This command completed, but with a warning:
Non-fatal POSTTRANS scriptlet failure in rpm package kernel-2.6.32-358.6.2.el6.x86_64

Curiously, there is no initramfs-2.6.32-358.6.2.el6.x86_64 to go with the vmlinuz-2.6.32-358.6.2.el6.x86_64 file.

So I attempted to make one:
dracut --mdadmconf --verbose initramfs-2.6.32-358.6.2.el6.x86_64 2.6.32-358.6.2.el6.x86_64

This results in:
...
I: Installing /sbin/blockdev
I: Installing /usr/share/dracut/modules.d/90dmsquash-live/parse-dmsquash-live.sh
I: Installing /usr/share/dracut/modules.d/90dmsquash-live/dmsquash-liveiso-genrules.sh
I: Installing /usr/share/dracut/modules.d/90dmsquash-live/dmsquash-live-root
I: Installing /lib/udev/rules.d/60-cdrom_id.rules
I: Installing /etc/modprobe.d/dist-alsa.conf
I: Installing /etc/modprobe.d/blacklist.conf
I: Installing /etc/modprobe.d/dist.conf
I: Installing /etc/modprobe.d/anaconda.conf
I: Installing /etc/modprobe.d/dist-oss.conf
Segmentation fault (core dumped)


So I can't seem to make the initramfs for this kernel.

Any suggestions?

Mike

I've appended the output from getinfo below.

Information for general problems.
Code: Select all
== BEGIN uname -rmi ==
2.6.32-220.23.1.el6.x86_64 x86_64 x86_64
== END   uname -rmi ==

== BEGIN rpm -qa \*-release\* ==
centos-release-6-4.el6.centos.10.x86_64
nux-dextop-release-0-2.el6.nux.noarch
elrepo-release-6-5.el6.elrepo.noarch
== END   rpm -qa \*-release\* ==

== BEGIN cat /etc/redhat-release ==
CentOS release 6.4 (Final)
== END   cat /etc/redhat-release ==

== BEGIN getenforce ==
Permissive
== END   getenforce ==

== BEGIN free -m ==
             total       used       free     shared    buffers     cached
Mem:         15922      15758        164          0        412      14109
-/+ buffers/cache:       1236      14686
Swap:        32767          0      32767
== END   free -m ==

== BEGIN rpm -qa yum\* rpm-\* python | sort ==
python-2.6.6-36.el6.x86_64
rpm-build-4.8.0-32.el6.x86_64
rpm-libs-4.8.0-32.el6.x86_64
rpm-python-4.8.0-32.el6.x86_64
yum-3.2.29-40.el6.centos.noarch
yum-metadata-parser-1.1.2-16.el6.x86_64
yum-plugin-fastestmirror-1.1.30-14.el6.noarch
yum-plugin-security-1.1.30-14.el6.noarch
yum-utils-1.1.30-14.el6.noarch
== END   rpm -qa yum\* rpm-\* python | sort ==

== BEGIN ls /etc/yum.repos.d ==
CentOS-Base.repo
CentOS-Debuginfo.repo
CentOS-Media.repo
CentOS-Vault.repo
elrepo.repo
epel.repo
linuxtech.repo
mondorescue.repo
nux-dextop.repo
pb.repo
plex.repo
rpmforge.repo
squeezecenter.repo
== END   ls /etc/yum.repos.d ==

== BEGIN cat /etc/yum.conf ==
[main]
cachedir=/var/cache/yum/$basearch/$releasever
keepcache=0
debuglevel=2
logfile=/var/log/yum.log
exactarch=1
obsoletes=1
gpgcheck=1
plugins=1
installonly_limit=5
bugtracker_url=http://bugs.centos.org/set_project.php?project_id=16&ref=http://bugs.centos.org/bug_report_page.php?category=yum
distroverpkg=centos-release

#  This is the default, if you make this bigger yum won't see if the metadata
# is newer on the remote and so you'll "gain" the bandwidth of not having to
# download the new metadata and "pay" for it by yum not having correct
# information.
#  It is esp. important, to have correct metadata, for distributions like
# Fedora which don't keep old packages around. If you don't like this checking
# interupting your command line usage, it's much better to have something
# manually check the metadata once an hour (yum-updatesd will do this).
# metadata_expire=90m

# PUT YOUR REPOS HERE OR IN separate files named file.repo
# in /etc/yum.repos.d
== END   cat /etc/yum.conf ==

== BEGIN yum repolist all ==
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
 * base: mirrors.advancedhosters.com
 * elrepo: mirror.symnds.com
 * extras: mirrors.advancedhosters.com
 * nux-dextop: li.nux.ro
 * updates: mirror.net.cen.ct.gov
repo id                repo name                                  status
C6.0-base              CentOS-6.0 - Base                          disabled
C6.0-centosplus        CentOS-6.0 - CentOSPlus                    disabled
C6.0-contrib           CentOS-6.0 - Contrib                       disabled
C6.0-extras            CentOS-6.0 - Extras                        disabled
C6.0-updates           CentOS-6.0 - Updates                       disabled
C6.1-base              CentOS-6.1 - Base                          disabled
C6.1-centosplus        CentOS-6.1 - CentOSPlus                    disabled
C6.1-contrib           CentOS-6.1 - Contrib                       disabled
C6.1-extras            CentOS-6.1 - Extras                        disabled
C6.1-updates           CentOS-6.1 - Updates                       disabled
C6.2-base              CentOS-6.2 - Base                          disabled
C6.2-centosplus        CentOS-6.2 - CentOSPlus                    disabled
C6.2-contrib           CentOS-6.2 - Contrib                       disabled
C6.2-extras            CentOS-6.2 - Extras                        disabled
C6.2-updates           CentOS-6.2 - Updates                       disabled
C6.3-base              CentOS-6.3 - Base                          disabled
C6.3-centosplus        CentOS-6.3 - CentOSPlus                    disabled
C6.3-contrib           CentOS-6.3 - Contrib                       disabled
C6.3-extras            CentOS-6.3 - Extras                        disabled
C6.3-updates           CentOS-6.3 - Updates                       disabled
PlexRepo               PlexRepo                                   enabled:    12
base                   CentOS-6 - Base                            enabled: 6,381
c6-media               CentOS-6 - Media                           disabled
centosplus             CentOS-6 - Plus                            disabled
contrib                CentOS-6 - Contrib                         disabled
debug                  CentOS-6 - Debuginfo                       disabled
elrepo                 ELRepo.org Community Enterprise Linux Repo enabled:   269
elrepo-extras          ELRepo.org Community Enterprise Linux Extr disabled
elrepo-kernel          ELRepo.org Community Enterprise Linux Kern disabled
elrepo-testing         ELRepo.org Community Enterprise Linux Test disabled
epel                   EPEL RPM Repository for Red Hat Enterprise disabled
extras                 CentOS-6 - Extras                          enabled:    12
linuxtech              LinuxTECH                                  disabled
mondorescue            rhel 6 x86_64 - mondorescue Vanilla Packag enabled:   108
nux-dextop             Nux.Ro RPMs for general desktop use        enabled: 1,233
nux-dextop-testing     Nux.Ro RPMs for general desktop use - test disabled
pb                     rhel 6 x86_64 - pb Vanilla Packages        enabled:   108
rpmforge               RPMforge RPM repository for Red Hat Enterp disabled
squeezecenter-release  SqueezeCenter Release Repository           enabled:    25
squeezecenter-testing  SqueezeCenter Branch Repository            disabled
squeezecenter-unstable SqueezeCenter Trunk Repository             disabled
updates                CentOS-6 - Updates                         enabled:   768
repolist: 8,916
== END   yum repolist all ==

== BEGIN egrep 'include|exclude' /etc/yum.repos.d/*.repo ==
== END   egrep 'include|exclude' /etc/yum.repos.d/*.repo ==

== BEGIN sed -n -e "/^\[/h; /priority *=/{ G; s/\n/ /; s/ity=/ity = /; p }" /etc/yum.repos.d/*.repo | sort -k3n ==
== END   sed -n -e "/^\[/h; /priority *=/{ G; s/\n/ /; s/ity=/ity = /; p }" /etc/yum.repos.d/*.repo | sort -k3n ==

== BEGIN cat /etc/fstab ==

#
# /etc/fstab
# Created by anaconda on Thu Jun 28 11:49:14 2012
#
# Accessible filesystems, by reference, are maintained under '/dev/disk'
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
#
UUID=3ba7d302-9223-418b-9027-36ad86804b38 /                       ext4    defaults        1 1
UUID=3b3e5a79-63da-4d22-b4c6-4a28f7fb1dee /boot                   ext4    defaults        1 2
UUID=0df2acd9-5c03-49b8-b94f-767d502ea0de swap                    swap    defaults        0 0
UUID=b701a5a3-0125-486d-8afc-c8397636ca02 swap                    swap    defaults        0 0
tmpfs                   /dev/shm                tmpfs   defaults        0 0
devpts                  /dev/pts                devpts  gid=5,mode=620  0 0
sysfs                   /sys                    sysfs   defaults        0 0
proc                    /proc                   proc    defaults        0 0
/dev/sdc   /mnt/usb_backup_1   ext4   rw,auto,sync,rw,user   0 0
/dev/sdd3   /backups/local/system   ext2   noauto   0   0
== END   cat /etc/fstab ==

== BEGIN df -h ==
Filesystem            Size  Used Avail Use% Mounted on
/dev/md1              1.8T  481G  1.3T  28% /
tmpfs                 7.8G  4.0K  7.8G   1% /dev/shm
/dev/md0              485M   68M  392M  15% /boot
/dev/sdc              917G  476G  396G  55% /mnt/usb_backup_1
== END   df -h ==

== BEGIN fdisk -lu ==

WARNING: GPT (GUID Partition Table) detected on '/dev/sdd'! The util fdisk doesn't support GPT. Use GNU Parted.


Disk /dev/sda: 2000.4 GB, 2000398934016 bytes
255 heads, 63 sectors/track, 243201 cylinders, total 3907029168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0007829d

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *        2048     1026047      512000   fd  Linux raid autodetect
Partition 1 does not end on cylinder boundary.
/dev/sda2         1026048    34580479    16777216   82  Linux swap / Solaris
/dev/sda3        34580480  3907028991  1936224256   fd  Linux raid autodetect

Disk /dev/sdb: 2000.4 GB, 2000398934016 bytes
255 heads, 63 sectors/track, 243201 cylinders, total 3907029168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00093fda

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *        2048     1026047      512000   fd  Linux raid autodetect
Partition 1 does not end on cylinder boundary.
/dev/sdb2         1026048    34580479    16777216   82  Linux swap / Solaris
/dev/sdb3        34580480  3907028991  1936224256   fd  Linux raid autodetect

Disk /dev/md1: 1982.7 GB, 1982692454400 bytes
2 heads, 4 sectors/track, 484055775 cylinders, total 3872446200 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000


Disk /dev/sdd: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

   Device Boot      Start         End      Blocks   Id  System
/dev/sdd1               1  1953525167   976762583+  ee  GPT

Disk /dev/sdc: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000


Disk /dev/md0: 524 MB, 524275712 bytes
2 heads, 4 sectors/track, 127997 cylinders, total 1023976 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

== END   fdisk -lu ==

== BEGIN parted -l ==
Model: ATA WDC WD2003FYYS-0 (scsi)
Disk /dev/sda: 2000GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number  Start   End     Size    Type     File system     Flags
 1      1049kB  525MB   524MB   primary  ext4            boot, raid
 2      525MB   17.7GB  17.2GB  primary  linux-swap(v1)
 3      17.7GB  2000GB  1983GB  primary                  raid


Model: ATA WDC WD2003FYYS-0 (scsi)
Disk /dev/sdb: 2000GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number  Start   End     Size    Type     File system     Flags
 1      1049kB  525MB   524MB   primary  ext4            boot, raid
 2      525MB   17.7GB  17.2GB  primary  linux-swap(v1)
 3      17.7GB  2000GB  1983GB  primary                  raid


Model: Hitachi HDS721010CLA332 (scsi)
Disk /dev/sdc: 1000GB
Sector size (logical/physical): 512B/512B
Partition Table: loop

Number  Start  End     Size    File system  Flags
 1      0.00B  1000GB  1000GB  ext4


Model: Hitachi HDS721010CLA332 (scsi)
Disk /dev/sdd: 1000GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt

Number  Start   End     Size    File system  Name  Flags
 1      1049kB  68.2MB  67.1MB  fat16              boot
 2      68.2MB  135MB   67.1MB  ext2
 3      135MB   1000GB  1000GB  ext2


Model: Unknown (unknown)
Disk /dev/md1: 1983GB
Sector size (logical/physical): 512B/512B
Partition Table: loop

Number  Start  End     Size    File system  Flags
 1      0.00B  1983GB  1983GB  ext4


Model: Unknown (unknown)
Disk /dev/md0: 524MB
Sector size (logical/physical): 512B/512B
Partition Table: loop

Number  Start  End    Size   File system  Flags
 1      0.00B  524MB  524MB  ext4


== END   parted -l ==

== BEGIN blkid ==
/dev/sdb1: UUID="44a7a908-4801-9f68-6765-cc85a0baa81d" UUID_SUB="096ab955-99e9-4527-c634-3916b0940d9d" LABEL="localhost.localdomain:0" TYPE="linux_raid_member"
/dev/sdb2: UUID="b701a5a3-0125-486d-8afc-c8397636ca02" TYPE="swap"
/dev/sdb3: UUID="2739fa98-5b50-ea52-dd5b-96b075d2b0a1" UUID_SUB="3f6b5107-1640-5f52-ea8c-7bbac35848c4" LABEL="localhost.localdomain:1" TYPE="linux_raid_member"
/dev/sda1: UUID="44a7a908-4801-9f68-6765-cc85a0baa81d" UUID_SUB="a630574d-4b2a-fc28-3863-d1f070182c95" LABEL="localhost.localdomain:0" TYPE="linux_raid_member"
/dev/sda2: UUID="0df2acd9-5c03-49b8-b94f-767d502ea0de" TYPE="swap"
/dev/sda3: UUID="2739fa98-5b50-ea52-dd5b-96b075d2b0a1" UUID_SUB="a8713a9b-9466-5853-5bf8-04f15a906cb6" LABEL="localhost.localdomain:1" TYPE="linux_raid_member"
/dev/md1: UUID="3ba7d302-9223-418b-9027-36ad86804b38" TYPE="ext4"
/dev/md0: UUID="3b3e5a79-63da-4d22-b4c6-4a28f7fb1dee" TYPE="ext4"
/dev/sdd1: SEC_TYPE="msdos" UUID="6F7C-79E4" TYPE="vfat"
/dev/sdd2: UUID="15fc6a66-7d56-45f8-8dde-bcbf16f54989" TYPE="ext2"
/dev/sdd3: UUID="9a0e6a7c-656a-4074-8b05-90a053b2d49b" TYPE="ext2"
/dev/sdc: UUID="a5a5f9d9-f050-4311-b7a0-fc0ea8a3a077" TYPE="ext4"
== END   blkid ==

== BEGIN cat /proc/mdstat ==
Personalities : [raid1]
md0 : active raid1 sdb1[1] sda1[0]
      511988 blocks super 1.0 [2/2] [UU]
     
md1 : active raid1 sdb3[1] sda3[0]
      1936223100 blocks super 1.1 [2/2] [UU]
      bitmap: 8/15 pages [32KB], 65536KB chunk

unused devices: <none>
== END   cat /proc/mdstat ==

== BEGIN pvs ==
== END   pvs ==

== BEGIN vgs ==
  No volume groups found
== END   vgs ==

== BEGIN lvs ==
  No volume groups found
== END   lvs ==

== BEGIN rpm -qa kernel\* | sort ==
kernel-2.6.32-220.23.1.el6.x86_64
kernel-2.6.32-220.el6.x86_64
kernel-2.6.32-358.6.2.el6.x86_64
kernel-firmware-2.6.32-358.6.2.el6.noarch
kernel-headers-2.6.32-358.6.2.el6.x86_64
== END   rpm -qa kernel\* | sort ==

== BEGIN lspci -nn ==
00:00.0 Host bridge [0600]: Intel Corporation Xeon E3-1200 Processor Family DRAM Controller [8086:0108] (rev 09)
00:16.0 Communication controller [0780]: Intel Corporation 6 Series/C200 Series Chipset Family MEI Controller #1 [8086:1c3a] (rev 04)
00:16.1 Communication controller [0780]: Intel Corporation 6 Series/C200 Series Chipset Family MEI Controller #2 [8086:1c3b] (rev 04)
00:1a.0 USB controller [0c03]: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 [8086:1c2d] (rev 05)
00:1c.0 PCI bridge [0604]: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 1 [8086:1c10] (rev b5)
00:1c.4 PCI bridge [0604]: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 5 [8086:1c18] (rev b5)
00:1c.5 PCI bridge [0604]: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 6 [8086:1c1a] (rev b5)
00:1c.6 PCI bridge [0604]: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 7 [8086:1c1c] (rev b5)
00:1c.7 PCI bridge [0604]: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 8 [8086:1c1e] (rev b5)
00:1d.0 USB controller [0c03]: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 [8086:1c26] (rev 05)
00:1e.0 PCI bridge [0604]: Intel Corporation 82801 PCI Bridge [8086:244e] (rev a5)
00:1f.0 ISA bridge [0601]: Intel Corporation C204 Chipset Family LPC Controller [8086:1c54] (rev 05)
00:1f.2 SATA controller [0106]: Intel Corporation 6 Series/C200 Series Chipset Family SATA AHCI Controller [8086:1c02] (rev 05)
00:1f.3 SMBus [0c05]: Intel Corporation 6 Series/C200 Series Chipset Family SMBus Controller [8086:1c22] (rev 05)
02:00.0 Ethernet controller [0200]: Intel Corporation 82574L Gigabit Network Connection [8086:10d3]
03:00.0 Ethernet controller [0200]: Intel Corporation 82574L Gigabit Network Connection [8086:10d3]
04:00.0 Ethernet controller [0200]: Intel Corporation 82574L Gigabit Network Connection [8086:10d3]
05:00.0 Ethernet controller [0200]: Intel Corporation 82574L Gigabit Network Connection [8086:10d3]
06:03.0 VGA compatible controller [0300]: Matrox Electronics Systems Ltd. MGA G200eW WPCM450 [102b:0532] (rev 0a)
== END   lspci -nn ==

== BEGIN lsusb ==
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 003: ID 0557:2221 ATEN International Co., Ltd Winbond Hermon
Bus 002 Device 003: ID 0926:000a 
Bus 002 Device 004: ID 0926:000a 
== END   lsusb ==

== BEGIN rpm -qa kmod\* kmdl\* ==
kmod-hfsplus-0.0-2.el6.elrepo.x86_64
== END   rpm -qa kmod\* kmdl\* ==

== BEGIN ifconfig -a ==
bond0     Link encap:Ethernet  HWaddr 00:25:90:75:92:BC 
          inet addr:192.168.2.20  Bcast:192.168.2.255  Mask:255.255.255.0
          inet6 addr: fe80::225:90ff:fe75:92bc/64 Scope:Link
          UP BROADCAST RUNNING MASTER MULTICAST  MTU:1500  Metric:1
          RX packets:52234 errors:0 dropped:0 overruns:0 frame:0
          TX packets:56743 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:32813060 (31.2 MiB)  TX bytes:24899613 (23.7 MiB)

eth0      Link encap:Ethernet  HWaddr 00:25:90:75:92:BC 
          UP BROADCAST RUNNING SLAVE MULTICAST  MTU:1500  Metric:1
          RX packets:10576 errors:0 dropped:0 overruns:0 frame:0
          TX packets:47491 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:1304190 (1.2 MiB)  TX bytes:23347351 (22.2 MiB)
          Interrupt:16 Memory:f7c00000-f7c20000

eth1      Link encap:Ethernet  HWaddr 00:25:90:75:92:BC 
          UP BROADCAST RUNNING SLAVE MULTICAST  MTU:1500  Metric:1
          RX packets:41658 errors:0 dropped:0 overruns:0 frame:0
          TX packets:9252 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:31508870 (30.0 MiB)  TX bytes:1552262 (1.4 MiB)
          Interrupt:17 Memory:f7b00000-f7b20000

eth2      Link encap:Ethernet  HWaddr 00:25:90:75:92:BE 
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
          Interrupt:18 Memory:f7a00000-f7a20000

eth3      Link encap:Ethernet  HWaddr 00:25:90:75:92:BF 
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
          Interrupt:19 Memory:f7900000-f7920000

lo        Link encap:Local Loopback 
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:5248 errors:0 dropped:0 overruns:0 frame:0
          TX packets:5248 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:2122110 (2.0 MiB)  TX bytes:2122110 (2.0 MiB)

== END   ifconfig -a ==

== BEGIN brctl show ==
bridge name   bridge id      STP enabled   interfaces
== END   brctl show ==

== BEGIN route -n ==
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.2.0     0.0.0.0         255.255.255.0   U     0      0        0 bond0
169.254.0.0     0.0.0.0         255.255.0.0     U     1006   0        0 bond0
0.0.0.0         192.168.2.1     0.0.0.0         UG    0      0        0 bond0
== END   route -n ==

== BEGIN sysctl -a | grep .rp_filter ==
net.ipv4.conf.all.rp_filter = 0
net.ipv4.conf.all.arp_filter = 0
net.ipv4.conf.default.rp_filter = 1
net.ipv4.conf.default.arp_filter = 0
net.ipv4.conf.lo.rp_filter = 1
net.ipv4.conf.lo.arp_filter = 0
net.ipv4.conf.eth0.rp_filter = 1
net.ipv4.conf.eth0.arp_filter = 0
net.ipv4.conf.eth1.rp_filter = 1
net.ipv4.conf.eth1.arp_filter = 0
net.ipv4.conf.eth2.rp_filter = 1
net.ipv4.conf.eth2.arp_filter = 0
net.ipv4.conf.eth3.rp_filter = 1
net.ipv4.conf.eth3.arp_filter = 0
net.ipv4.conf.bond0.rp_filter = 1
net.ipv4.conf.bond0.arp_filter = 0
== END   sysctl -a | grep .rp_filter ==

== BEGIN ip rule show ==
0:   from all lookup local
32766:   from all lookup main
32767:   from all lookup default
== END   ip rule show ==

== BEGIN ip route show ==
192.168.2.0/24 dev bond0  proto kernel  scope link  src 192.168.2.20
169.254.0.0/16 dev bond0  scope link  metric 1006
default via 192.168.2.1 dev bond0
== END   ip route show ==

== BEGIN cat /etc/resolv.conf ==
# Generated by NetworkManager
search michaelphelpsmd.com


# No nameservers found; try putting DNS servers into your
# ifcfg files in /etc/sysconfig/network-scripts like so:
#
# DNS1=xxx.xxx.xxx.xxx
# DNS2=xxx.xxx.xxx.xxx
# DOMAIN=lab.foo.com bar.foo.com
nameserver 192.168.2.1
nameserver 8.8.8.8
== END   cat /etc/resolv.conf ==

== BEGIN egrep 'net|hosts' /etc/nsswitch.conf ==
#hosts:     db files nisplus nis dns
hosts:      files dns
#networks:   nisplus [NOTFOUND=return] files
#netmasks:   nisplus [NOTFOUND=return] files     
netmasks:   files
networks:   files
netgroup:   nisplus
== END   egrep 'net|hosts' /etc/nsswitch.conf ==

== BEGIN chkconfig --list | grep -Ei 'network|wpa' ==
NetworkManager    0:off   1:off   2:on   3:on   4:on   5:on   6:off
network           0:off   1:off   2:on   3:on   4:on   5:on   6:off
wpa_supplicant    0:off   1:off   2:off   3:off   4:off   5:off   6:off
== END   chkconfig --list | grep -Ei 'network|wpa' ==

mphelpsmd
 
Posts: 16
Joined: 2013/06/09 18:42:22

Re: Update to Centos 6.4 results in no initramfs file

Postby YBellefeuille » 2013/06/10 03:11:01

== BEGIN sed -n -e "/^\[/h; /priority *=/{ G; s/\n/ /; s/ity=/ity = /; p }" /etc/yum.repos.d/*.repo | sort -k3n ==
== END sed -n -e "/^\[/h; /priority *=/{ G; s/\n/ /; s/ity=/ity = /; p }" /etc/yum.repos.d/*.repo | sort -k3n ==


You have several repositories installed, and you're not using Priorities. That's not good. :-(
YBellefeuille
 
Posts: 312
Joined: 2012/03/06 22:30:17
Location: Ottawa

Re: Update to Centos 6.4 results in no initramfs file

Postby mphelpsmd » 2013/06/19 01:33:38

YBellefeuille wrote:
== BEGIN sed -n -e "/^\[/h; /priority *=/{ G; s/\n/ /; s/ity=/ity = /; p }" /etc/yum.repos.d/*.repo | sort -k3n ==
== END sed -n -e "/^\[/h; /priority *=/{ G; s/\n/ /; s/ity=/ity = /; p }" /etc/yum.repos.d/*.repo | sort -k3n ==


You have several repositories installed, and you're not using Priorities. That's not good. :-(


I wasn't aware of repository priorities. I will have to Google this and learn more about it. Most of the repositories are disabled. (I added the MondoLinux ones when I needed to make an emergency boot disk until I figured out that I could just get by with the older kernels. I have since disabled the Mondo repos.)

I went back and enabled only the major repositories, then did a yum remove (failed kernel versions here), yum clean all, and yum update again.

Still same problem: The later kernels produce a kernel panic on booting up, and I still can't create their initramfs files because dracut still crashes with a segmentation violation.

Is it possible that I have some of the support utilities that got out of sync with the kernels? I updated from 6.2 to 6.3, then 6.4. I have to use the kernel from 6.2 now in order for the system to boot up.

Thanks,

Mike
mphelpsmd
 
Posts: 16
Joined: 2013/06/09 18:42:22

[SOLVED] Update to Centos 6.4 results in no initramfs file

Postby toracat » 2013/06/19 16:01:02

This is a strange issue. What is the latest kernel that works? The ones from CentOS 6.2? Is everything else up-to-date?
User avatar
toracat
Forum Moderator
 
Posts: 6687
Joined: 2006/09/03 16:37:24
Location: California, US

Re: Update to Centos 6.4 results in no initramfs file

Postby toracat » 2013/06/19 16:23:01

Perhaps, try adding the -H flag (host only) to the dracut command ?
User avatar
toracat
Forum Moderator
 
Posts: 6687
Joined: 2006/09/03 16:37:24
Location: California, US

Re: Update to Centos 6.4 results in no initramfs file

Postby mphelpsmd » 2013/06/20 01:24:28

Gotta love strange issues. The kernel panic I get is similar to one that has been discussed before (see http://bugs.centos.org/view.php?id=6327), although mine is not resolved with a yum reinstall kernel... command.

Only the kernel 2.6.32-220 series work for me now. The 2.6.32-358 and I believe 2.6.32-279 (or something similar to that, I no longer have it on my system) crash with a kernel panic on boot.

The -H flag on dracut has no effect; there is still a crash with a Segmentation fault.

Mike
mphelpsmd
 
Posts: 16
Joined: 2013/06/09 18:42:22

Re: Update to Centos 6.4 results in no initramfs file

Postby mphelpsmd » 2013/06/22 03:49:20

I'm not sure if this information helps, but when I'm using dracut with the --verbose option, the core dump always occurs after the same message:

I: Installing /etc/modprobe.d/dist-oss.conf

The contents of that file are as follows:

[root@ares boot]# cat /etc/modprobe.d/dist-oss.conf
# OSS Sound Support
# This has been disabled in F11 onwards because it can interfere with the
# PulseAudio sound service (a legacy OSS application can prevent PulseAudio
# applications from playing sound by preventing PulseAudio from (re-)opening
# the sound device). To re-enable support, uncomment the following line:
#
# install snd-pcm /sbin/modprobe --ignore-install snd-pcm && /sbin/modprobe snd-pcm-oss && /sbin/modprobe snd-seq-device && /sbin/modprobe snd-seq-oss


As you can see, everything is commented out.

Needless to say, these kernel panics with updating the system has shaken my faith a little in yum and enterprise-grade software.

Would there be an advantage to, say, downgrading to 6.3 or something to ensure all the pieces are in sync? I've spent about a year custom configuring this machine, so I'm obviously not too excited to do a fresh reinstall.

I'm using a basic SuperMicro server. The only mildly odd things I'm doing are software RAID 1 and link aggregation with two of the ethernet ports.

Thanks,

Mike
mphelpsmd
 
Posts: 16
Joined: 2013/06/09 18:42:22

Re: Update to Centos 6.4 results in no initramfs file

Postby TrevorH » 2013/06/22 12:05:51

I tried rerunning your dracut command here to see what came after the file you mention in case it wasn't that one but the one that came next that was causing the crash. Unfortunately it lists my files in a different order to yours so I don't think we can guess from that. But can you look at the files listed in /etc/modprobe.d and see if there are any that it didn't process yet? Maybe the problem lies in one of the ones it didn't list? My dis-oss.conf file looks identical to yours.
User avatar
TrevorH
Forum Moderator
 
Posts: 9109
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Update to Centos 6.4 results in no initramfs file

Postby TrevorH » 2013/06/22 23:58:56

Can you install, if it isn't already, strace and run dracut using that. I'd omit the verbose bit on this invocation as strace will just have more work to do tracing the debugging messages. Use something like

Code: Select all
# strace -f -o /tmp/dracut-strace.txt dracut --mdadmconf initramfs-2.6.32-358.6.2.el6.x86_64 2.6.32-358.6.2.el6.x86_64


Once it crashes, look at the output file in /tmp and go backwards from the end until you find the segfault and then look at what it was doing immediately prior to that. If you need help interpreting the strace then use pastebin.centos.org and send, say, the last 2 or 300 lines of the file there and paste the link here.
User avatar
TrevorH
Forum Moderator
 
Posts: 9109
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Update to Centos 6.4 results in no initramfs file

Postby mphelpsmd » 2013/06/23 02:01:36

OK, I'll try this shortly.

In the meantime, I looked at the /etc/modprobe.d directory. The only thing unusual I found was that I have a bonding.conf file that looks like this:


[root@ares modprobe.d]# cat bonding.conf
#!/etc/modprobe.d/bonding.conf

alias bond0 bonding



When I Google'd how to do link aggregation, this was one of the steps that came up as part of the process. (The link aggregation works, by the way.) I'm wondering if this is what's giving dracut a fit. Perhaps if I try commenting out the active line in this configuration, then run yum update kernel again, maybe that would work?

I'll try, and if that doesn't work I'll play with the strace. Either way, I feel that this is a bug in dracut. It shouldn't segfault.

Mike
mphelpsmd
 
Posts: 16
Joined: 2013/06/09 18:42:22

Next

Return to CentOS 6 - General Support

Who is online

Users browsing this forum: No registered users and 2 guests