On Mon, Jun 16, 2008 at 04:19:44PM +0000, Sean Young wrote:Looking at the beginning of startup_32, it seems ds is used before it is set: startup_32: cld /* test KEEP_SEGMENTS flag to see if the bootloader is asking * us to not reload segments */ testb $(1<<6), BP_loadflags(%esi) jnz 1f cli movl $(__BOOT_DS),%eax movl %eax,%ds movl %eax,%es movl %eax,%fs movl %eax,%gs movl %eax,%ss 1: Since the testb instruction is a dereference, ds is implicitly used. If I move the testb to after "movl %eax,%ds" it seems to work (not that it would make any sense there, but just to prove the point). 1) Am I barking up the wrong tree? 2) If I'm right I have no idea what the correct solution is; it seems that a chicken & egg issue is introduced. Please advise. I am very new to all of this. Sean --
| Alan Cox | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
| Jan Engelhardt | intel iommu (Re: -mm merge plans for 2.6.23) |
| Adrian Bunk | Re: LSM conversion to static interface |
| Greg Kroah-Hartman | [PATCH 004/196] Chinese: add translation of SubmittingPatches |
git: | |
| Gerrit Renker | [PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side) |
| Jarek Poplawski | [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Andrew Morton | Re: [BUG] New Kernel Bugs |
| Winkler, Tomas | RE: iwlwifi: fix build bug in "iwlwifi: fix LED stall" |
