Kernel panic on boot using latest ArchLinux build

Discuss usability issues, general maintenance, and general support issues for a grsecurity-enabled system.

Kernel panic on boot using latest ArchLinux build

Postby ubug » Sat Aug 15, 2015 1:16 pm

Hi,
i used to use the linux-grsec kernel available trough archlinux official repositories. However something like 4 updates ago it started systematically crashing on boot so i had to start booting on the standard kernel.

Here is a screenshot of the crash:
Image

Unfortunately my screen resolution is very low and i can't get anything else.

Currently i'm using syslinux to boot it with the following lines

MENU LABEL ArchLinux-grsec
LINUX ../vmlinuz-linux-grsec
APPEND root=/dev/mapper/archlinux-root cryptdevice=/dev/sda2:archlinux nolapic_timer rw
INITRD ../initramfs-linux-grsec.img


Any help would be appreciated.

Thank you.
ubug
 
Posts: 2
Joined: Sat Aug 15, 2015 1:11 pm

Re: Kernel panic on boot using latest ArchLinux build

Postby PaX Team » Sat Aug 15, 2015 2:05 pm

what is the kernel/grsec version? is there a config/bzimage/vmlinux available somewhere? can you reproduce this in qemu? what's your /proc/cpuinfo? you can also try to boot with vga=ext to get a few more lines of output.
PaX Team
 
Posts: 2310
Joined: Mon Mar 18, 2002 4:35 pm

Re: Kernel panic on boot using latest ArchLinux build

Postby ubug » Sat Aug 15, 2015 3:28 pm

Thanks for the fast reply and sorry for the lack of information.

/proc/cpuinfo
Code: Select all
processor   : 0
vendor_id   : GenuineIntel
cpu family   : 6
model      : 14
model name   : Intel(R) Core(TM) Duo CPU      U2500  @ 1.20GHz
stepping   : 12
microcode   : 0x54
cpu MHz      : 800.000
cache size   : 2048 KB
physical id   : 0
siblings   : 2
core id      : 0
cpu cores   : 2
apicid      : 0
initial apicid   : 0
fdiv_bug   : no
f00f_bug   : no
coma_bug   : no
fpu      : yes
fpu_exception   : yes
cpuid level   : 10
wp      : yes
flags      : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx constant_tsc arch_perfmon bts aperfmperf pni monitor vmx est tm2 xtpr pdcm dtherm
bugs      :
bogomips   : 2395.86
clflush size   : 64
cache_alignment   : 64
address sizes   : 32 bits physical, 32 bits virtual
power management:

processor   : 1
vendor_id   : GenuineIntel
cpu family   : 6
model      : 14
model name   : Intel(R) Core(TM) Duo CPU      U2500  @ 1.20GHz
stepping   : 12
microcode   : 0x54
cpu MHz      : 800.000
cache size   : 2048 KB
physical id   : 0
siblings   : 2
core id      : 1
cpu cores   : 2
apicid      : 1
initial apicid   : 1
fdiv_bug   : no
f00f_bug   : no
coma_bug   : no
fpu      : yes
fpu_exception   : yes
cpuid level   : 10
wp      : yes
flags      : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx constant_tsc arch_perfmon bts aperfmperf pni monitor vmx est tm2 xtpr pdcm dtherm
bugs      :
bogomips   : 2395.86
clflush size   : 64
cache_alignment   : 64
address sizes   : 32 bits physical, 32 bits virtual
power management:


As for the kernel version, the package is https://www.archlinux.org/packages/comm ... nux-grsec/ so i assume it should be:
Code: Select all
linux-grsec 4.1.5.201508102129-1


Unfortunately this is my only machine and as you can see from the cpuinfo it is a very low end one. I actually haven't managed yet to run QEMU succesfully here.

I'll try booting with the option you provided and see if i get more output. In that case, ill add another pic.

EDIT: here's is another picture
Image
ubug
 
Posts: 2
Joined: Sat Aug 15, 2015 1:11 pm

Re: Kernel panic on boot using latest ArchLinux build

Postby PaX Team » Sat Aug 15, 2015 7:53 pm

can you apply https://grsecurity.net/~paxguy1/pax-4.1 ... -fix.patch and let me know the results?
PaX Team
 
Posts: 2310
Joined: Mon Mar 18, 2002 4:35 pm


Return to grsecurity support