Description of problem: Installation of new kernels fail Version-Release number of selected component (if applicable): How reproducible: Everytime I try to install a new kernel Steps to Reproduce: 1.urpmi kernel-desktop-latest 2.Here's the messages: 1/4: kernel-desktop-3.4.1-1.mga3 ######################## Error: Can't have a partition outside the disk! Error: Can't have a partition outside the disk! INTERNAL ERROR: unknown device sde1 MDK::Common::Various::internal_error() called from /usr/lib/libDrakX/devices.pm:186 devices::entry() called from /usr/lib/libDrakX/devices.pm:201 devices::make() called from /usr/lib/libDrakX/fs/type.pm:275 fs::type::call_blkid() called from /usr/lib/libDrakX/fs/type.pm:283 fs::type::type_subpart_from_magic() called from /usr/lib/libDrakX/fsedit.pm:271 fsedit::get_hds() called from /usr/sbin/bootloader-config:61 The sde1 device do not exist. It's a part of a raid 0 array. Just ask me the relevant info you need.
No news?
Please attach the output of "sfdisk -l -uS". I'm not that familiar with raid, but the above should give information on what get_hds is seeing.
CC: (none) => davidwhodgins
Created attachment 2442 [details] Output of sfdisk
Looks like two of the drives have problems. /dev/sdb 182401 x 255 x 63 = 2,930,272,065 sectors /dev/sdb2 ends at sector 2,930,276,351 which is past the end of the drive. /dev/sde: 60801 x 255 x 63 = 976,768,065 sectors /dev/sde2 ends at sector 1,952,987,135 The partition tables need to be corrected.
sdb is an ext4 disk with 2 partitions and works just fine, with no problems at all. sde is part of a raid and should NOT be recognized nor treated as a single drive. That's what is causing the problem when trying to generate inirds. sde & sdf are both part of raid 0 and shoudn't be treated as disks individually.
The sdb drive is working fine, and will do so until it tries to write anything into the last 4,286 sectors, which physically do not exist. At that point, it will stop working fine. It should be fixed. As mentioned, I'm not that familiar with raid. Is this hardware raid? My best guess at this point, is that the drive has a partition table in the mbr, that does not get overwritten by the raid initialization software. The partition table in that drive is not valid for the physical size of the drive, and should be corrected. The beginning of the drive should have been overwritten with hex '00', before being added to the raid array, as I understand it. Adding Pascal to the cc list. Even with incorrect partition tables, that shouldn't block installing a kernel, so this is a valid bug regarding libparted and the diskdrake tools.
CC: (none) => pterjan
The "Official" name of the controller is Adaptec 1220SA. lshw shows: *-pci:0 description: Host bridge product: 5520/5500/X58 I/O Hub to ESI Port vendor: Intel Corporation physical id: 100 bus info: pci@0000:00:00.0 version: 13 width: 32 bits clock: 33MHz *-pci:0 description: PCI bridge product: 5520/5500/X58 I/O Hub PCI Express Root Port 1 vendor: Intel Corporation physical id: 1 bus info: pci@0000:00:01.0 version: 13 width: 32 bits clock: 33MHz capabilities: pci msi pciexpress pm normal_decode bus_master cap_list configuration: driver=pcieport resources: irq:0 ioport:b000(size=4096) memory:f7f00000-f7ffffff *-storage description: RAID bus controller product: Silicon Image, Inc. vendor: Silicon Image, Inc. physical id: 0 bus info: pci@0000:01:00.0 version: 01 width: 64 bits clock: 33MHz capabilities: storage pm msi pciexpress bus_master cap_list rom configuration: driver=sata_sil24 latency=0 resources: irq:28 memory:f7fffc00-f7fffc7f memory:f7ff8000-f7ffbfff ioport:bc00(size=128) memory:f7f00000-f7f7ffff and lspci: 01:00.0 RAID bus controller: Silicon Image, Inc. Device 0242 (rev 01) (prog-if 01) Subsystem: Adaptec Device 0242 Flags: bus master, fast devsel, latency 0, IRQ 28 Memory at f7fffc00 (64-bit, non-prefetchable) [size=128] Memory at f7ff8000 (64-bit, non-prefetchable) [size=16K] I/O ports at bc00 [size=128] Expansion ROM at f7f00000 [disabled] [size=512K] Capabilities: [54] Power Management version 2 Capabilities: [5c] MSI: Enable- Count=1/1 Maskable- 64bit+ Capabilities: [70] Express Legacy Endpoint, MSI 00 Capabilities: [100] Advanced Error Reporting Kernel driver in use: sata_sil24 This raid set (sde & sdf) is a raid 0 with windows 7-64 installed (and working) (with boot). Since the disks are in a recognised (& working) dm-raid, it's senseless (in my opinion, of course) to analyse them individually.
Latest desktop kernel (3.4.2-desktop-1.mga3) could be installed. Latest TMB (3.4.1-tmb-desktop-1.mga3) couldn't.
3.4.2-tmb-desktop-1.mga3 also couldn't be installed.
[root@lasaba ~]# LC_ALL=C urpmi kernel-desktop-latest kernel-desktop-devel-latest kernel-tmb-desktop-latest kernel-tmb-desktop-devel-latest To satisfy dependencies, the following packages are going to be installed: Package Version Release Arch (medium "Core Release") kernel-desktop-3.4.3-1.mga3 1 1.mga3 x86_64 kernel-desktop-devel-3.4.3-1.> 1 1.mga3 x86_64 kernel-desktop-devel-latest 3.4.3 1.mga3 x86_64 kernel-desktop-latest 3.4.3 1.mga3 x86_64 kernel-tmb-desktop-3.4.3-1.mg> 1 1.mga3 x86_64 kernel-tmb-desktop-devel-3.4.> 1 1.mga3 x86_64 kernel-tmb-desktop-devel-late> 3.4.3 1.mga3 x86_64 kernel-tmb-desktop-latest 3.4.3 1.mga3 x86_64 122MB of additional disk space will be used. 79MB of packages will be retrieved. Proceed with the installation of the 8 packages? (Y/n) y installing kernel-tmb-desktop-devel-latest-3.4.3-1.mga3.x86_64.rpm kernel-desktop-devel-3.4.3-1.mga3-1-1.mga3.x86_64.rpm kernel-tmb-desktop-devel-3.4.3-1.mga3-1-1.mga3.x86_64.rpm kernel-tmb-desktop-latest-3.4.3-1.mga3.x86_64.rpm kernel-tmb-desktop-3.4.3-1.mga3-1-1.mga3.x86_64.rpm kernel-desktop-3.4.3-1.mga3-1-1.mga3.x86_64.rpm kernel-desktop-devel-latest-3.4.3-1.mga3.x86_64.rpm kernel-desktop-latest-3.4.3-1.mga3.x86_64.rpm from /mageia/mga/distrib/cauldron/x86_64/media/core/release Preparing... ################################################################################################################################################################################ 1/8: kernel-desktop-3.4.3-1.mga3 ################################################################################################################################################################################ Error: Can't have a partition outside the disk! Error: Can't have a partition outside the disk! INTERNAL ERROR: unknown device sde1 MDK::Common::Various::internal_error() called from /usr/lib/libDrakX/devices.pm:186 devices::entry() called from /usr/lib/libDrakX/devices.pm:201 devices::make() called from /usr/lib/libDrakX/fs/type.pm:275 fs::type::call_blkid() called from /usr/lib/libDrakX/fs/type.pm:283 fs::type::type_subpart_from_magic() called from /usr/lib/libDrakX/fsedit.pm:271 fsedit::get_hds() called from /usr/sbin/bootloader-config:61 2/8: kernel-tmb-desktop-3.4.3-1.mga3 ################################################################################################################################################################################ Error: Can't have a partition outside the disk! Error: Can't have a partition outside the disk! INTERNAL ERROR: unknown device sde1 MDK::Common::Various::internal_error() called from /usr/lib/libDrakX/devices.pm:186 devices::entry() called from /usr/lib/libDrakX/devices.pm:201 devices::make() called from /usr/lib/libDrakX/fs/type.pm:275 fs::type::call_blkid() called from /usr/lib/libDrakX/fs/type.pm:283 fs::type::type_subpart_from_magic() called from /usr/lib/libDrakX/fsedit.pm:271 fsedit::get_hds() called from /usr/sbin/bootloader-config:61 3/8: kernel-tmb-desktop-devel-3.4.3-1.mga3 ################################################################################################################################################################################ 4/8: kernel-desktop-devel-3.4.3-1.mga3 ################################################################################################################################################################################ 5/8: kernel-desktop-devel-latest ################################################################################################################################################################################ 6/8: kernel-tmb-desktop-devel-latest ################################################################################################################################################################################ 7/8: kernel-tmb-desktop-latest ################################################################################################################################################################################ 8/8: kernel-desktop-latest ################################################################################################################################################################################ nvidia-current (295.49-6.mga3.nonfree): Installing module. .................. ............ nvidia-current (295.49-6.mga3.nonfree): Installing module. ................. ........... You should restart your computer for kernel-desktop-3.4.3-1.mga3, kernel-tmb-desktop-3.4.3-1.mga3
CC: (none) => thierry.vignaud, tmbSummary: Can't install new kernels (failed initrd generation) => Can't install new kernels (failed initrd generation) [raid]
[root@lasaba ~]# LC_ALL=C urpmi kernel-desktop-latest kernel-desktop-devel-latest kernel-tmb-desktop-latest kernel-tmb-desktop-devel-latest To satisfy dependencies, the following packages are going to be installed: Package Version Release Arch (medium "Core Release") kernel-desktop-3.4.4-1.mga3 1 1.mga3 x86_64 kernel-desktop-devel-3.4.4-1.> 1 1.mga3 x86_64 kernel-desktop-devel-latest 3.4.4 1.mga3 x86_64 kernel-desktop-latest 3.4.4 1.mga3 x86_64 kernel-tmb-desktop-3.4.4-1.mg> 1 1.mga3 x86_64 kernel-tmb-desktop-devel-3.4.> 1 1.mga3 x86_64 kernel-tmb-desktop-devel-late> 3.4.4 1.mga3 x86_64 kernel-tmb-desktop-latest 3.4.4 1.mga3 x86_64 122MB of additional disk space will be used. 78MB of packages will be retrieved. Proceed with the installation of the 8 packages? (Y/n) y installing kernel-tmb-desktop-devel-latest-3.4.4-1.mga3.x86_64.rpm kernel-desktop-latest-3.4.4-1.mga3.x86_64.rpm kernel-desktop-devel-3.4.4-1.mga3-1-1.mga3.x86_64.rpm kernel-tmb-desktop-devel-3.4.4-1.mga3-1-1.mga3.x86_64.rpm kernel-desktop-devel-latest-3.4.4-1.mga3.x86_64.rpm kernel-desktop-3.4.4-1.mga3-1-1.mga3.x86_64.rpm kernel-tmb-desktop-3.4.4-1.mga3-1-1.mga3.x86_64.rpm kernel-tmb-desktop-latest-3.4.4-1.mga3.x86_64.rpm from /mageia/mga/distrib/cauldron/x86_64/media/core/release Preparing... ################################################################################################################################################################################ 1/8: kernel-tmb-desktop-3.4.4-1.mga3 ################################################################################################################################################################################ Error: Can't have a partition outside the disk! Error: Can't have a partition outside the disk! INTERNAL ERROR: unknown device sde1 MDK::Common::Various::internal_error() called from /usr/lib/libDrakX/devices.pm:186 devices::entry() called from /usr/lib/libDrakX/devices.pm:201 devices::make() called from /usr/lib/libDrakX/fs/type.pm:275 fs::type::call_blkid() called from /usr/lib/libDrakX/fs/type.pm:283 fs::type::type_subpart_from_magic() called from /usr/lib/libDrakX/fsedit.pm:271 fsedit::get_hds() called from /usr/sbin/bootloader-config:61 2/8: kernel-desktop-3.4.4-1.mga3 ################################################################################################################################################################################ Error: Can't have a partition outside the disk! Error: Can't have a partition outside the disk! INTERNAL ERROR: unknown device sde1 MDK::Common::Various::internal_error() called from /usr/lib/libDrakX/devices.pm:186 devices::entry() called from /usr/lib/libDrakX/devices.pm:201 devices::make() called from /usr/lib/libDrakX/fs/type.pm:275 fs::type::call_blkid() called from /usr/lib/libDrakX/fs/type.pm:283 fs::type::type_subpart_from_magic() called from /usr/lib/libDrakX/fsedit.pm:271 fsedit::get_hds() called from /usr/sbin/bootloader-config:61 3/8: kernel-tmb-desktop-devel-3.4.4-1.mga3 ################################################################################################################################################################################ 4/8: kernel-desktop-devel-3.4.4-1.mga3 ################################################################################################################################################################################ 5/8: kernel-desktop-devel-latest ################################################################################################################################################################################ 6/8: kernel-tmb-desktop-devel-latest ################################################################################################################################################################################ 7/8: kernel-desktop-latest ################################################################################################################################################################################ 8/8: kernel-tmb-desktop-latest ################################################################################################################################################################################ nvidia-current (295.49-6.mga3.nonfree): Already installed on this kernel. nvidia-current (295.49-6.mga3.nonfree): Installing module. ................... ............ You should restart your computer for glibc, kernel-desktop-3.4.4-1.mga3, kernel-tmb-desktop-3.4.4-1.mga3
Adding more examples of the kernel installation failing will not help. The problem is already clear, in that bootloader-config fails due to the "Error: Can't have a partition outside the disk!". Either fix the partition tables, or wait till the drakxtools-backend is fixed so that it isn't blocked by a libparted error.
Will this be fixed? Seems unlikely to me since partitions should be aligned correctly.
CC: (none) => nic
I think this should be fixed as of Mga 5 RC. Can you test it?
Keywords: (none) => NEEDINFO
Presumed fixed
Status: NEW => RESOLVEDResolution: (none) => FIXED