lkml.org 
[lkml]   [2000]   [Jan]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: Hangs after "Loading" but before "Uncompressing"
Date
Dick:
I think you are asking me to comment out the `je a20_wait`
line in setup.S. I have now tried this and get the same results.
The problem system still hangs just before "Uncompressing" and
the same kernel boots fine on my laptop.

At this stage of the boot is it possible to insert some
kind of PRINT debugging in setup.S to find out where it hangs?
Something like:

dbgmsg:
.ascii "DBGA20"

-------------------
dbgpnt:
push cx
push bx
push bp
push ax
mov cx,#9
mov bx,#0x0007
mov bp,#dbgmsg
mov ax,#0x1301
int 0x10
pop ax
pop bp
pop bx
pop cx
ret
-------------------
a20_wait:
call dbgpnt

I am not clear on the state of the hardware at this point
and I am not clear what the "mov bx,#0x0007" is doing, or if it
is safe at this stage. So forgive me if I have suggested something
foolish here. I have very little experience with programming at
this level. If I can get something to print out then I can try
to find where the system hangs.


And I would still like to know what is different about the
RedHat install kernel that boots just fine.

Todd


-----Original Message-----
From: Richard B. Johnson [mailto:root@chaos.analogic.com]
Sent: Wednesday, January 26, 2000 8:55 AM
To: 'linux-kernel@vger.rutgers.edu '
Subject: RE: Hangs after "Loading" but before "Uncompressing"

There isn't anything in setup.S that would run differently on a
'386 to a '686. The CPU-dependent stuff runs after everything is
uncompressed. That said, there is a loop in setup.S that I don't
like. At line 690, the label, a20_wait, 4 lines later a `je a20_wait`.

Comment that out with a '#' and see if it boots. This alias may remain
in the cache forever so it's not a good way to see if a20 is enabled.

Let me know if it 'fixes' the problem. If so, the person who rewrote
setup.S should find another way to check on a20.


Cheers,
Dick Johnson

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:56    [W:0.047 / U:0.616 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site