Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#21817 - kernel26 unable to boot

Attached to Project: Arch Linux
Opened by Pois (Pois) - Thursday, 25 November 2010, 00:44 GMT
Last edited by Tobias Powalowski (tpowa) - Thursday, 25 November 2010, 21:00 GMT
Task Type Bug Report
Category Packages: Testing
Status Closed
Assigned To No-one
Architecture i686
Severity Critical
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

With kernel26 2.6.36.1-3, grub 0.97-17 can boot the kernel.
The message is :
Error 24 : attempt to access block outside partition

I have a custom kernel 2.6.35.7 who boot without problem.
Before I had an archlinux kernel 2.6.35 who work fine.

My mkinitcpio.conf which should work (I use it with my custom kernel) :
$ grep -v ^# /etc/mkinitcpio.conf | grep -v ^$
MODULES=""
BINARIES=""
FILES=""
HOOKS="base udev autodetect sata filesystems uresume"
COMPRESSION="lzma"

My menu.lst :
timeout 1
default 1
color light-blue/black light-cyan/blue
title Arch Linux
root (hd0,1)
kernel /boot/vmlinuz26.35.7 root=/dev/sda2 usbcore.autosuspend=1 quiet ro fastboot
initrd /boot/kernel26.35.7.img
title Arch Linux Fallback
root (hd0,1)
kernel /boot/vmlinuz26 root=/dev/sda2 usbcore.autosuspend=1 quiet ro fastboot
initrd /boot/kernel26.img
title Arch Linux Fallback
root (hd0,1)
kernel /boot/vmlinuz26 root=/dev/sda2 usbcore.autosuspend=1 quiet ro fastboot
initrd /boot/kernel26-fallback.img

help ? :)
This task depends upon

Closed by  Tobias Powalowski (tpowa)
Thursday, 25 November 2010, 21:00 GMT
Reason for closing:  Not a bug
Additional comments about closing:  a grub issue not kernel related
Comment by Pois (Pois) - Thursday, 25 November 2010, 02:03 GMT
I forgot :
* no raid
* / is an ext4 filesystem
* 1 disk :
$ fdisk -l

Disque /dev/sda: 2000.4 Go, 2000397852160 octets
255 têtes, 63 secteurs/piste, 243201 cylindres, total 3907027055 secteurs
Unités = secteurs de 1 * 512 = 512 octets
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Identifiant de disque : 0x000c8fa0

Périphérique Amorce Début Fin Blocs Id Système
/dev/sda1 63 86012009 43005973+ 82 Linux swap / Solaris
/dev/sda2 * 86012010 3907024064 1910506027+ 83 Linux
Comment by Gerardo Exequiel Pozzi (djgera) - Thursday, 25 November 2010, 03:15 GMT
Unrelared to kernel. This is a bug with grub + ext4 patch.

What you can try is copy the kernel to other blocks on the fs just with "cp /boot/vmlinuz26 /boot/vmlinuz26-zzz" and try again with this newer file. If all goes good then "mv /boot/vmlinuz26-zzz /boot/vmlinuz26"
Comment by Pois (Pois) - Thursday, 25 November 2010, 11:37 GMT
Same problem.

It's realy strange :
I try to compile a 2.6.36 with the .config from my 2.6.35 and I get the same error.
Comment by Jan de Groot (JGC) - Thursday, 25 November 2010, 11:42 GMT
Try using grub2, works far better than grub with ext4.
Comment by Pois (Pois) - Thursday, 25 November 2010, 11:57 GMT
Flawless victory.

It resolv the bug for me, but it can be a real problem for people without old-kernel alternative.

Thank you.

Loading...