Why kernel reloads these segment registers, such as ds, es, .etc in startup_32 ?

2013-05-02 Thread Jacky
Hi, All, Why kernel reloads these segment registers in startup_32 again ? Just liking the following: === ENTRY(startup_32) movl pa(stack_start),%ecx /* test KEEP_SEGMENTS flag to see if the bootloader is asking us to not reload segments */ testb $(16),

Re:Why kernel reloads these segment registers, such as ds, es, .etc in startup_32 ?

2013-05-02 Thread Jacky
And another confusing: In uncompressed code, arch/x86/boot/compressed/head_32.S: ENTRY(startup_32) ... testb $(16), BP_loadflags(%esi) jnz 1f cli movl$__BOOT_DS, %eax movl%eax, %ds movl%eax, %es ... === Kernel already set

Re: kernel panic in sample block device driver

2013-05-02 Thread Kumar amit mehta
On Wed, May 01, 2013 at 10:24:40PM +0530, Pranay Srivastava wrote: https://github.com/pranjas/block_driver Thank you so much, looks pretty heavy-duty right now though!!! ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org