** Description changed:

  I have posted this problem on the ubuntuforums.org, the link is:
  http://ubuntuforums.org/showthread.php?p=6158008 . But there is no
  person answer me. I think it is a serious bug.
  
  I use Xubuntu 8.04. install its "/" and swap on LVM over RAID0. 
  After excute "sudo apt-get dist-upgrade" at November 12, 2008 (china local 
time), when I boot system with newly installed 2.6.24-21-generic kernel, Hardy 
can't boot. I can boot the old 2.6.24-19-generic kernel. But, after I updated 
the 2.6.24-19-generic kernel by command "sudo update-initramfs -u -k all", the 
updated 2.6.24-19-generic kernel cann't boot Hardy yet.
  
  When boot from 2.6.24-21-generic kernel, after "Loading, Please wait..."
  at the begin of booting, series of "Segmentation fault" appeared.
  
  After several minutes, the "initramfs>" appeared, I execute "cat
  /proc/modules", nothing appeared. I execute "modprobe", it reported
  "Segmentation fault", I found there are only three commands under /sbin
  I executed without this "Segmentation fault", these three commands are
  "mdadm, mount.ntfs, mount.ntfs-3g". All the other commands under /sbin
  will get "Segmentation fault" error, they are "depmod lvm modprobe
- pkill udevadm dmsetup mdadm mount.fuse mount.ntfs-3g rmmod udevd". I
- knew the reason that system can't boot is it can't execute most of
- system commands in initramfs. But, I don't know why did this happen and
- how to fix it.
+ pkill udevadm dmsetup mdadm mount.fuse rmmod udevd". I knew the reason
+ that system can't boot is it can't execute most of system commands in
+ initramfs. But, I don't know why did this happen and how to fix it.
  
  Before "dist-upgrade", I use 2.6.24-19-generic kernel. 
  Below is the information when I execute "sudo apt-get upgrade -s" and "sudo 
apt-get dist-upgrade -s"
  
  [quote]
  [EMAIL PROTECTED]:~/files$ sudo apt-get upgrade -s
  Reading package lists... Done
  Building dependency tree       
  Reading state information... Done
  The following packages have been kept back:
    bind9-host dnsutils libbind9-30 libisccc30 libisccfg30 linux-generic
    linux-image-generic linux-restricted-modules-generic
  0 upgraded, 0 newly installed, 0 to remove and 8 not upgraded.
  [EMAIL PROTECTED]:~/files$ 
  
  [EMAIL PROTECTED]:~/files$ sudo apt-get dist-upgrade -s
  Reading package lists... Done
  Building dependency tree       
  Reading state information... Done
  Calculating upgrade... Done
  The following NEW packages will be installed:
    libdns35 libisc35 linux-image-2.6.24-21-generic
    linux-restricted-modules-2.6.24-21-generic
    linux-ubuntu-modules-2.6.24-21-generic
  The following packages will be upgraded:
    bind9-host dnsutils libbind9-30 libisccc30 libisccfg30 linux-generic
    linux-image-generic linux-restricted-modules-generic
  8 upgraded, 5 newly installed, 0 to remove and 0 not upgraded.
  Inst linux-image-2.6.24-21-generic (2.6.24-21.43 Ubuntu:8.04/hardy-updates)
  Inst linux-ubuntu-modules-2.6.24-21-generic (2.6.24-21.33 
Ubuntu:8.04/hardy-upda
  tes)
  Inst libisc35 (1:9.4.2.dfsg.P2-2 Ubuntu:8.04/hardy-updates)
  Inst libdns35 (1:9.4.2.dfsg.P2-2 Ubuntu:8.04/hardy-updates)
  Inst libisccc30 [1:9.4.2-10] (1:9.4.2.dfsg.P2-2 Ubuntu:8.04/hardy-updates)
  Inst libisccfg30 [1:9.4.2-10] (1:9.4.2.dfsg.P2-2 Ubuntu:8.04/hardy-updates)
  Inst libbind9-30 [1:9.4.2-10] (1:9.4.2.dfsg.P2-2 Ubuntu:8.04/hardy-updates)
  Inst bind9-host [1:9.4.2-10] (1:9.4.2.dfsg.P2-2 Ubuntu:8.04/hardy-updates)
  Inst dnsutils [1:9.4.2-10] (1:9.4.2.dfsg.P2-2 Ubuntu:8.04/hardy-updates)
  Inst linux-generic [2.6.24.19.21] (2.6.24.21.23 Ubuntu:8.04/hardy-updates) []
  Inst linux-image-generic [2.6.24.19.21] (2.6.24.21.23 
Ubuntu:8.04/hardy-updates)
   []
  Inst linux-restricted-modules-2.6.24-21-generic (2.6.24.14-21.51 
Ubuntu:8.04/har
  dy-updates) []
  Inst linux-restricted-modules-generic [2.6.24.19.21] (2.6.24.21.23 
Ubuntu:8.04/h
  ardy-updates)
  Conf linux-image-2.6.24-21-generic (2.6.24-21.43 Ubuntu:8.04/hardy-updates)
  Conf linux-ubuntu-modules-2.6.24-21-generic (2.6.24-21.33 
Ubuntu:8.04/hardy-upda
  tes)
  Conf libisc35 (1:9.4.2.dfsg.P2-2 Ubuntu:8.04/hardy-updates)
  Conf libdns35 (1:9.4.2.dfsg.P2-2 Ubuntu:8.04/hardy-updates)
  Conf libisccc30 (1:9.4.2.dfsg.P2-2 Ubuntu:8.04/hardy-updates)
  Conf libisccfg30 (1:9.4.2.dfsg.P2-2 Ubuntu:8.04/hardy-updates)
  Conf libbind9-30 (1:9.4.2.dfsg.P2-2 Ubuntu:8.04/hardy-updates)
  Conf bind9-host (1:9.4.2.dfsg.P2-2 Ubuntu:8.04/hardy-updates)
  Conf dnsutils (1:9.4.2.dfsg.P2-2 Ubuntu:8.04/hardy-updates)
  Conf linux-image-generic (2.6.24.21.23 Ubuntu:8.04/hardy-updates)
  Conf linux-restricted-modules-2.6.24-21-generic (2.6.24.14-21.51 
Ubuntu:8.04/har
  dy-updates)
  Conf linux-restricted-modules-generic (2.6.24.21.23 Ubuntu:8.04/hardy-updates)
  Conf linux-generic (2.6.24.21.23 Ubuntu:8.04/hardy-updates)
  [EMAIL PROTECTED]:~/files$ 
  [/quote]
  
  PS: Here is my installation steps:
  1), two harddisk, There are three partitions is raid partition ("fd" flag) in 
every harddisk , form three raid0 device (/dev/md0, /dev/md1, /dev/md2). Create 
RAID0 and LVM by [URL="http://www.cdlinux.info/"]CDlinux[/URL]0.6.2 livecd;
  2), install "/" on /dev/md0, "/home" on LVM over RAID0(include: /dev/md1 and 
/dev/md2);
  3), move "/" from /dev/md0 to LVM;
  4), Added /dev/md0 into LVM yet, now, there are three raid0 device under LVM;
  
  Below is my VG config file:
  [quote]
  # Generated by LVM2: Wed Nov 12 18:36:11 2008
  
  contents = "Text Format Volume Group"
  version = 1
  
  description = "vgcfgbackup -f ./ubuntuvg.vg"
  
  creation_host = "ubuntu"      # Linux ubuntu 2.6.24-19-generic #1 SMP Wed Aug 
20 22:56:21 UTC 2008 i686
  creation_time = 1226486171    # Wed Nov 12 18:36:11 2008
  
  ubuntuvg {
        id = "ts36Bu-9vSq-1TG7-AJ3L-Y0nH-gtm2-opnLpN"
        seqno = 23
        status = ["RESIZEABLE", "READ", "WRITE"]
        extent_size = 8192              # 4 Megabytes
        max_lv = 0
        max_pv = 0
  
          physical_volumes {
  
                pv0 {
                        id = "Aeork6-ojbn-xlel-FJxn-ZEXd-Rm4D-ODSm2f"
                        device = "/dev/md1"     # Hint only
  
                        status = ["ALLOCATABLE"]
                        dev_size = 4497664      # 2.14465 Gigabytes
                        pe_start = 384
                        pe_count = 548  # 2.14062 Gigabytes
                }
  
                pv1 {
                        id = "cImSbv-ECVz-Bup3-W9GM-szzb-cDBb-yQjrKY"
                        device = "/dev/md2"     # Hint only
  
                        status = ["ALLOCATABLE"]
                        dev_size = 4080128      # 1.94556 Gigabytes
                        pe_start = 384
                        pe_count = 498  # 1.94531 Gigabytes
                }
  
                pv2 {
                        id = "MDdDRo-1Af9-Dmz6-Dzq3-V4Tv-2I0W-68z5rg"
                        device = "/dev/md0"     # Hint only
  
                        status = ["ALLOCATABLE"]
                        dev_size = 4015744      # 1.91486 Gigabytes
                        pe_start = 384
                        pe_count = 490  # 1.91406 Gigabytes
                }
        }
  
          logical_volumes {
  
                ubuntuswap {
                        id = "FNc6qh-3m0R-9IeA-FBFL-jf1H-A1H1-Q0Etsu"
                        status = ["READ", "WRITE", "VISIBLE"]
                        segment_count = 1
  
                        segment1 {
                                start_extent = 0
                                extent_count = 192      # 768 Megabytes
  
                                type = "striped"
                                stripe_count = 1        # linear
  
                                stripes = [
                                        "pv0", 0
                                ]
                        }
                }
  
                ubunturoot {
                        id = "Resom2-tiRw-mRrI-OSBl-TWlK-adHC-4CKSZ1"
                        status = ["READ", "WRITE", "VISIBLE"]
                        segment_count = 3
  
                        segment1 {
                                start_extent = 0
                                extent_count = 498      # 1.94531 Gigabytes
  
                                type = "striped"
                                stripe_count = 1        # linear
  
                                stripes = [
                                        "pv1", 0
                                ]
                        }
                        segment2 {
                                start_extent = 498
                                extent_count = 356      # 1.39062 Gigabytes
  
                                type = "striped"
                                stripe_count = 1        # linear
  
                                stripes = [
                                        "pv0", 192
                                ]
                        }
                        segment3 {
                                start_extent = 854
                                extent_count = 490      # 1.91406 Gigabytes
  
                                type = "striped"
                                stripe_count = 1        # linear
  
                                stripes = [
                                        "pv2", 0
                                ]
                        }
                }
        }
  }
  [/quote]
  
  Below is my RAID0 information:
  [quote]
  [EMAIL PROTECTED]:~$ cat /proc/mdstat
  Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] 
[raid10] 
  md2 : active raid0 sda1[0] sdb5[1]
        2040064 blocks 64k chunks
        
  md1 : active raid0 sda6[0] sdb7[1]
        2248832 blocks 64k chunks
        
  md0 : active raid0 sda5[0] sdb6[1]
        2007872 blocks 64k chunks
        
  unused devices: <none>
  [EMAIL PROTECTED]:~$ 
  [/quote]
  
  My system information: PIII 667MHZ + 256M RAM + (3.2G+4.3G HD) + 17" CRT
  + Xubuntu 8.04 + (/ on raid0 + lvm + Reiserfs) + Blackbox + Rox-filer (I
  haven't installed Xfce4 Desktop)
  
  I don't know if the prolem is related with my "LVM over RAID0", so I
  post my system information above.

-- 
"Segmentation fault" after "apt-get dist-upgrade" for Hardy
https://bugs.launchpad.net/bugs/297546
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to