You are not logged in.

#1 2012-02-29 21:01:05

helloworld1
Member
Registered: 2010-12-26
Posts: 72

[RESOLVED] Syslinux and kernel 3.2.8 update = unable to boot

I think it is after 3.2.8 update or some other updates from yesterday to today that break my system.
After update, I can't boot my system using normal kernel, it gives me the error:

invalid or corrupt kernel image

I can still boot using 3.0.22 lts kernel.

I am using BTRFS as root file system.

After logging in using 3.0.22, I reinstall kernel again, reboot. Same issue. Downloadgrade to 3.2.7, same issue. Reupgrade to 3.2.8, I got the follow:

initramfs unpacking failed: jumk in compressed archive
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block (0,0)
Pid: 1 comm: swapper/0 Not tainted
Call trace:
panic
mount_block_root
name_todev_t
....
start_kernel
gs_change

Try to upgrade again. I still got this error:

invalid or corrupt kernel image

Anyone encounter the same issue?

Last edited by helloworld1 (2012-03-03 03:15:54)

Offline

#2 2012-02-29 21:43:58

heftig
Developer
From: Germany
Registered: 2010-04-19
Posts: 159

Re: [RESOLVED] Syslinux and kernel 3.2.8 update = unable to boot

Is btrfs mounted with compress? Mount it without, then reinstall the kernel.

Offline

#3 2012-02-29 21:50:35

helloworld1
Member
Registered: 2010-12-26
Posts: 72

Re: [RESOLVED] Syslinux and kernel 3.2.8 update = unable to boot

heftig wrote:

Is btrfs mounted with compress? Mount it without, then reinstall the kernel.

No, I don't use compress in btrfs.

Offline

#4 2012-02-29 22:09:55

Earnestly
Member
Registered: 2011-08-18
Posts: 805

Re: [RESOLVED] Syslinux and kernel 3.2.8 update = unable to boot

Oh, hello.
With love from:

syslinux 4.05-1
linux  3.2.8-1

/boot mounted as ext2
/     mounted as ext4

Perhaps you should try rebuilding your image with mkinitcpio -p linux?

Last edited by Earnestly (2012-02-29 22:16:39)

Offline

#5 2012-02-29 22:15:54

helloworld1
Member
Registered: 2010-12-26
Posts: 72

Re: [RESOLVED] Syslinux and kernel 3.2.8 update = unable to boot

Kaustic wrote:

Oh, hello.
With love from:

syslinux 4.05-1
linux  3.2.8-1

/boot mounted as ext2

Perhaps you should try rebuilding your image with mkinitcpio -p linux?

Did mkinitcpio -p linux tens of times. Change compress method to gzip, lzma, bzip2. None of them works.
My /boot is mounted as:
mount /dev/sda1 on /boot type btrfs rw noatime,ssd, discard

Last edited by helloworld1 (2012-02-29 22:17:06)

Offline

#6 2012-02-29 22:19:45

Earnestly
Member
Registered: 2011-08-18
Posts: 805

Re: [RESOLVED] Syslinux and kernel 3.2.8 update = unable to boot

Hmm, well I guess this what they mean when they say BTRFS is experimental.

edit: Why on earth would you use btrfs for /boot?

Last edited by Earnestly (2012-02-29 22:20:56)

Offline

#7 2012-02-29 22:22:21

helloworld1
Member
Registered: 2010-12-26
Posts: 72

Re: [RESOLVED] Syslinux and kernel 3.2.8 update = unable to boot

Kaustic wrote:

Hmm, well I guess this what they mean when they say BTRFS is experimental.

edit: Why on earth would you use btrfs for /boot?

I don't think it is BTRFS's problem. kernel 3.0.22 works. 3.2.7 was working yesterday. I think it is related to mkinitcpio that generate a bad image or syslinux issue.

btrfs on /boot should work directly in syslinux and grub2

Last edited by helloworld1 (2012-02-29 22:31:19)

Offline

#8 2012-02-29 22:31:41

Earnestly
Member
Registered: 2011-08-18
Posts: 805

Re: [RESOLVED] Syslinux and kernel 3.2.8 update = unable to boot

The problem is though, mkinitcpio works perfectly fine for myself.
What I find interesting is this:

VFS: Unable to mount root fs on unknown-block (0,0)

Although you can downgrade and it works fine?

Offline

#9 2012-02-29 22:35:42

helloworld1
Member
Registered: 2010-12-26
Posts: 72

Re: [RESOLVED] Syslinux and kernel 3.2.8 update = unable to boot

Kaustic wrote:

The problem is though, mkinitcpio works perfectly fine for myself.
What I find interesting is this:

VFS: Unable to mount root fs on unknown-block (0,0)

Although you can downgrade and it works fine?

No it doesn't. Downgrade to version:
3.2.7, 3.2.6,  3.1.9

None of them works.

I suspect if I run mkinitcpio -p linux-lts, the LTS kernel will stop working.

Offline

#10 2012-02-29 22:38:19

Earnestly
Member
Registered: 2011-08-18
Posts: 805

Re: [RESOLVED] Syslinux and kernel 3.2.8 update = unable to boot

Or, perhaps that block has become corrupted with the lack of a fsck for btrfs?
Otherwise I have no idea. But since I'm interested in btrfs, I'll follow this thread and see where it goes.

Good luck dude

Offline

#11 2012-02-29 22:41:50

helloworld1
Member
Registered: 2010-12-26
Posts: 72

Re: [RESOLVED] Syslinux and kernel 3.2.8 update = unable to boot

Kaustic wrote:

Or, perhaps that block has become corrupted with the lack of a fsck for btrfs?
Otherwise I have no idea. But since I'm interested in btrfs, I'll follow this thread and see where it goes.

Good luck dude

The block is not broken. I generate a 3.0.22 image called my30.img (Another file). I got the kernel panic:

Initramfs unpacking failed: junk in compressed archive

Last edited by helloworld1 (2012-02-29 22:42:11)

Offline

#12 2012-03-01 22:38:10

Earnestly
Member
Registered: 2011-08-18
Posts: 805

Re: [RESOLVED] Syslinux and kernel 3.2.8 update = unable to boot

Similar issue: https://bbs.archlinux.org/viewtopic.php?pid=1065993?

Last edited by Earnestly (2012-03-01 22:38:48)

Offline

#13 2012-03-03 03:15:39

helloworld1
Member
Registered: 2010-12-26
Posts: 72

Re: [RESOLVED] Syslinux and kernel 3.2.8 update = unable to boot

Actually installed grub2 and resolve the issue.

Offline

#14 2012-03-03 17:24:24

Earnestly
Member
Registered: 2011-08-18
Posts: 805

Re: [RESOLVED] Syslinux and kernel 3.2.8 update = unable to boot

Awesome, I'm glad you've found a solution.

Offline

Board footer

Powered by FluxBB