Hi! The linux.c32 module doesn't boot my kernel, while pxelinux itself does: kernel vmlinuz-2.6.23 append initrd=initrd.img-2.6.23 root=/dev/mapper/root works, while kernel linux.c32 append vmlinuz-2.6.23 initrd=initrd.img-2.6.23 root=/dev/mapper/root does not: it stays sitting after loading the initrd without any output. Version 3.50-pre2 worked, current git does not work. Unless there's a known problem, I'll bisect as I find the time... -- Thanks, Feri.
Ferenc Wagner wrote:> Hi! > > The linux.c32 module doesn't boot my kernel, while pxelinux itself > does: > > kernel vmlinuz-2.6.23 > append initrd=initrd.img-2.6.23 root=/dev/mapper/root > > works, while > > kernel linux.c32 > append vmlinuz-2.6.23 initrd=initrd.img-2.6.23 root=/dev/mapper/root > > does not: it stays sitting after loading the initrd without any > output. Version 3.50-pre2 worked, current git does not work. > > Unless there's a known problem, I'll bisect as I find the time...Also, try to enable DEBUG output. -hpa
Ferenc Wagner <wferi at niif.hu> writes:> The linux.c32 module doesn't boot my kernel, while pxelinux itself > does: > > kernel vmlinuz-2.6.23 > append initrd=initrd.img-2.6.23 root=/dev/mapper/root > > works, while > > kernel linux.c32 > append vmlinuz-2.6.23 initrd=initrd.img-2.6.23 root=/dev/mapper/root > > does not: it stays sitting after loading the initrd without any > output. Version 3.50-pre2 worked, current git does not work.I'm using the following config file (the commented line starts the kernel all right; it's a fairly stock kernel, anyway): serial 0 console 0 default linux.c32 vmlinuz-2.6.23 console=ttyS0 #default vmlinuz-2.6.23 console=ttyS0 Booting this in QEMU gives (instead of freezing on real hardware): gPXE 0.5.1 -- Open Source Boot Firmware -- http://etherboot.org Features: HTTP DNS TFTP iSCSI AoE bzImage Multiboot PXE PXEXT net0: 52:54:00:12:34:56 on PCI00:03.0 (open) TX:0 TXE:0 RX:0 RXE:0 DHCP (net0 52:54:00:12:34:56)... ok net0: 192.168.0.2/255.255.255.0 gw 192.168.0.1 Booting from filename "bisect/pxelinux.0" bisect/pxelinux.0... ok qemu: fatal: Trying to execute code outside RAM or ROM at 0x000d0000 EAX=00002b7f EBX=0000c156 ECX=0000ff6f EDX=00000704 ESI=00000000 EDI=00000000 EBP=00000000 ESP=0000fff8 EIP=0000f6fa EFL=00000002 [-------] CPL=0 II=0 A20=1 HLT=0 ES =c08e 000c08e0 0000ffff 00009300 CS =c08e 000c08e0 0000ffff 00009b00 SS =0000 00000000 0000ffff 00009300 DS =f000 000f0000 0000ffff 00009300 FS =0000 00000000 0000ffff 00009300 GS =0000 00000000 0000ffff 00009300 LDT=0000 00000000 00000000 00008000 TR =0030 00005cc4 00000067 00008900 GDT= 00005d30 00000037 IDT= 00000000 0000ffff CR0=60000010 CR2=00000000 CR3=00000000 CR4=00000000 CCS=00002b7f CCD=00002b7f CCO=ADDB 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=0000000000000000 0000 FPR7=0000000000000000 0000 XMM00=00000000000000000000000000000000 XMM01=00000000000000000000000000000000 XMM02=00000000000000000000000000000000 XMM03=00000000000000000000000000000000 XMM04=00000000000000000000000000000000 XMM05=00000000000000000000000000000000 XMM06=00000000000000000000000000000000 XMM07=00000000000000000000000000000000 -- Regards, Feri.