Page 1 of 1

kexec-loader v1.4

Posted: Sat Jun 07, 2008 1:29 pm
by solemnwarning
kexec-loader-1.4.img.gz

Opinions on the new features since v1.3.1? :)

Posted: Sat Jun 07, 2008 1:51 pm
by milyges
ehhh :/

Code: Select all

milyges@bastion ~/tmp $ wget http://www.solemnwarning.net/kexec-loader/downloads/kexec-loader-1.4.img.gz
--21:49:41--  http://www.solemnwarning.net/kexec-loader/downloads/kexec-loader-1.4.img.gz
           => `kexec-loader-1.4.img.gz'
Translacja www.solemnwarning.net... 82.19.148.233
Connecting to www.solemnwarning.net|82.19.148.233|:80... połączono.
Żądanie HTTP wysłano, oczekiwanie na odpowiedź... 200 OK
Długość: 1,221,038 (1.2M) [application/x-gzip]

40% [=============>                       ] 489,446        1.40K/s    ETA 03:07
I can't boot IdyllaOS (loader said: Mount failed: Unknown file system format when i tried mount cdrom disc).

Posted: Sat Jun 07, 2008 2:05 pm
by solemnwarning
eek! I've never gotten around to adding fstype detection for ISO9660, or UDF come to think of it!

It should work if you specify iso9660:/dev/blah instead of /dev/blah

Posted: Sun Jun 08, 2008 2:12 am
by milyges
Hi!
When I execute boot command after loading kernel:

Code: Select all

milyges@bastion ~/tmp $ qemu -cdrom ../projects/idyllaos/idyllaos.iso -fda kexec-loader-1.4.img -m 64 -boot a
Could not open '/dev/kqemu' - QEMU acceleration layer not activated
qemu: fatal: Trying to execute code outside RAM or ROM at 0xc0100030

EAX=2badb002 EBX=0000b000 ECX=00000000 EDX=00000000
ESI=00000000 EDI=00000000 EBP=00000000 ESP=00000000
EIP=c0100030 EFL=00000002 [-------] CPL=0 II=0 A20=1 SMM=0 HLT=0
ES =0018 00000000 ffffffff 00cf9300
CS =0010 00000000 ffffffff 00cf9a00
SS =0018 00000000 ffffffff 00cf9300
DS =0018 00000000 ffffffff 00cf9300
FS =0018 00000000 ffffffff 00cf9300
GS =0018 00000000 ffffffff 00cf9300
LDT=0088 c0356020 00000027 c0008235
TR =0080 c0300080 00002073 c0008930
GDT=     00005510 0000006f
IDT=     c0000000 00000000
CR0=00000033 CR2=0807a96c CR3=00000000 CR4=00000000
CCS=00000020 CCD=00000000 CCO=LOGICL
FCW=037f FSW=0000 [ST=0] FTW=00 MXCSR=00001f80
FPR0=0000000000000000 0000 FPR1=0000000000000000 0000
FPR2=0000000000000000 0000 FPR3=0000000000000000 0000
FPR4=0000000000000000 0000 FPR5=0000000000000000 0000
FPR6=800bf60000000000 4015 FPR7=0000000000000000 0000
XMM00=00000000000000000000000000000000 XMM01=00000000000000000000000000000000
XMM02=00000000000000000000000000000000 XMM03=00000000000000000000000000000000
XMM04=00000000000000000000000000000000 XMM05=00000000000000000000000000000000
XMM06=00000000000000000000000000000000 XMM07=00000000000000000000000000000000
Przerwane
milyges@bastion ~/tmp $    
Sorry for my english.
Greetings.

Posted: Sun Jun 08, 2008 2:12 am
by xyzzy
If your kernel doesn't reset the VGA output itself, you should use the reset-vga command so that kexec will reset it for you.

Edit: @milyges: See my post here: http://www.osdev.org/phpBB2/viewtopic.p ... 087#128087

Posted: Sun Jun 08, 2008 2:22 am
by milyges
@AlexExtreme: I changed ld script,
Now qemu hangs after boot command.

Re: kexec-loader v1.4

Posted: Sun Aug 03, 2008 1:37 pm
by Adek336
Nice idea :) Does it allow network booting?