All of lore.kernel.org
 help / color / mirror / Atom feed
* [parisc-linux] a pretty big change
@ 1999-12-04  0:20 Paul Bame
  1999-12-04  1:28 ` Paul Bame
  1999-12-04  1:31 ` John David Anglin
  0 siblings, 2 replies; 13+ messages in thread
From: Paul Bame @ 1999-12-04  0:20 UTC (permalink / raw)
  To: parisc-linux


I just committed the changes to embed real-mode code in a separate
executable inside vmlinux.  It should cause no functional changes
in theory.  Read all about it in arch/parisc/real/README and
ee.html.  If you have terrible new problems,
I've attached a list of CVS commands to check out the files before I
started hacking on them.  I haven't seen a shell prompt from this
set of hacks so beware...

	-Paul Bame

prumpf- I moved kernel_thread and friends from
	real/<something> to kernel/head.S  I also re-enabled BTLB in
	real/setup.c so I could get further in the boot.  Left some
	debugging printks in the handle_real_interrupt handler too.

cvs update -r1.25 arch/parisc/Makefile
	cvs update -A arch/parisc/Makefile
cvs update -r1.28 arch/parisc/kernel/Makefile
	cvs update -A arch/parisc/kernel/Makefile
cvs update -r1.35 arch/parisc/kernel/head.S
	cvs update -A arch/parisc/kernel/head.S
cvs update -r1.39 arch/parisc/kernel/irq.c
	cvs update -A arch/parisc/kernel/irq.c
cvs update -r1.14 arch/parisc/kernel/pdc.c
	cvs update -A arch/parisc/kernel/pdc.c
cvs update -r1.25 arch/parisc/kernel/pdc_cons.c
	cvs update -A arch/parisc/kernel/pdc_cons.c
cvs update -r1.73 arch/parisc/kernel/setup.c
	cvs update -A arch/parisc/kernel/setup.c
cvs update -r1.11 arch/parisc/kernel/traps.c
	cvs update -A arch/parisc/kernel/traps.c
cvs update -r1.2 arch/parisc/real/Makefile
	cvs update -A arch/parisc/real/Makefile
cvs update -r1.2 arch/parisc/real/head.S
	cvs update -A arch/parisc/real/head.S
cvs update -r1.2 arch/parisc/real/interruption.S
	cvs update -A arch/parisc/real/interruption.S
cvs update -r1.2 arch/parisc/real/lib.c
	cvs update -A arch/parisc/real/lib.c
cvs update -r1.2 arch/parisc/real/pdc.c
	cvs update -A arch/parisc/real/pdc.c
cvs update -r1.2 arch/parisc/real/real.h
	cvs update -A arch/parisc/real/real.h
cvs update -r1.2 arch/parisc/real/real_s.S
	cvs update -A arch/parisc/real/real_s.S
cvs update -r1.2 arch/parisc/real/setup.c
	cvs update -A arch/parisc/real/setup.c
cvs update -r1.1 arch/parisc/real/traps.c
	cvs update -A arch/parisc/real/traps.c
cvs update -r1.1 include/asm-parisc/real.h
	cvs update -A include/asm-parisc/real.h

^ permalink raw reply	[flat|nested] 13+ messages in thread
* Re: [parisc-linux] a pretty big change
@ 1999-12-08 13:27 Ulrich Strelow
  1999-12-08 15:54 ` Paul Bame
  0 siblings, 1 reply; 13+ messages in thread
From: Ulrich Strelow @ 1999-12-08 13:27 UTC (permalink / raw)
  To: Paul Bame, parisc-linux

Hi all,

I have build a new kernel with the CVS version
19991205 and I get the following console output when I
try to boot it on my 715/33:

PARISC/Linux Bootstrap Version 0.6 (interactive)
By Helge Deller & Jason Eckhardt
Built Mon Dec 6 11:13:34 MET 1999 by root@be5359

Reading parameters...done.

Loading PA-RISC/Linux Kernel...

Please enter the command-line:
/stand/vmlinux HOME=/ TERM=LINUX console=tty

SOM-Kernel:
aux_header_location: 00000080
som       : 00200080
exec_dfile: 000CE000
exec_dsize: 00081000
exec_dmem : C00A0000
exec_tfile: 0003E000
exec_tsize: 0008F008
exec_tmem : C0010000
Code at 0x00010000, size=0x0008F008
Data at 0x000A0000, size=0x00081000
BSS  at 0x00121000.

Transferring control to kernel. (At entry point
0x00010000)
kernel(0x146880, 0x504010, 0x146880, 0x12c30)
Boot loader: PA/Linux, maybe PALO
kernel free mem 0x00146880
realmode_setup exiting
Can't insert TLB miss handler pa 0x40000000 va
0x00000000
r0-3    0x0004fb0b      0xc0112000      0xc004a170    
 0x00000000
r4-7    0xc0112000      0x00000000      0x00000400    
 0x00000000
r8-11   0xc01db000      0x00000000      0x00000400    
 0x00000100
r12-15  0xc01a4988      0x00000000      0x00000000    
 0x00000000
r16-19  0x00000000      0x00000400      0x00001000    
 0x0000001f
r20-23  0x00000020      0xc01a001c      0x00000001    
 0xc01268b0
r24-27  0x00000000      0x00000400      0x00000000    
 0xc009f000
r28-31  0xc01db000      0x0000000b      0xc01a4f40    
 0xc007a39c
sr0-3   0x00000000      0x00000000      0x00000000    
 0x00000000
sr4-7   0x00000000      0x00000000      0x00000000    
 0x00000000
iasq 0x00000020 0x00000003
iaoq 0xc004a078 0xc004a07c
cr30 0x00000000 ksp 0x00000001 kpc 0xc01a4f80 sar
0x00000012
iir 0x48730038

The last successful booting kernel was from the CVS
version 19991123.

Any ideas ?
Ulrich

--- Paul Bame <bame@debian.fc.hp.com> wrote:
> 
> I just committed the changes to embed real-mode code
> in a separate
> executable inside vmlinux.  It should cause no
> functional changes
> in theory.  Read all about it in
> arch/parisc/real/README and
> ee.html.  If you have terrible new problems,
> I've attached a list of CVS commands to check out
> the files before I
> started hacking on them.  I haven't seen a shell
> prompt from this
> set of hacks so beware...
> 
> 	-Paul Bame
> 
> prumpf- I moved kernel_thread and friends from
> 	real/<something> to kernel/head.S  I also
> re-enabled BTLB in
> 	real/setup.c so I could get further in the boot. 
> Left some
> 	debugging printks in the handle_real_interrupt
> handler too.
> 
> cvs update -r1.25 arch/parisc/Makefile
> 	cvs update -A arch/parisc/Makefile
> cvs update -r1.28 arch/parisc/kernel/Makefile
> 	cvs update -A arch/parisc/kernel/Makefile
> cvs update -r1.35 arch/parisc/kernel/head.S
> 	cvs update -A arch/parisc/kernel/head.S
> cvs update -r1.39 arch/parisc/kernel/irq.c
> 	cvs update -A arch/parisc/kernel/irq.c
> cvs update -r1.14 arch/parisc/kernel/pdc.c
> 	cvs update -A arch/parisc/kernel/pdc.c
> cvs update -r1.25 arch/parisc/kernel/pdc_cons.c
> 	cvs update -A arch/parisc/kernel/pdc_cons.c
> cvs update -r1.73 arch/parisc/kernel/setup.c
> 	cvs update -A arch/parisc/kernel/setup.c
> cvs update -r1.11 arch/parisc/kernel/traps.c
> 	cvs update -A arch/parisc/kernel/traps.c
> cvs update -r1.2 arch/parisc/real/Makefile
> 	cvs update -A arch/parisc/real/Makefile
> cvs update -r1.2 arch/parisc/real/head.S
> 	cvs update -A arch/parisc/real/head.S
> cvs update -r1.2 arch/parisc/real/interruption.S
> 	cvs update -A arch/parisc/real/interruption.S
> cvs update -r1.2 arch/parisc/real/lib.c
> 	cvs update -A arch/parisc/real/lib.c
> cvs update -r1.2 arch/parisc/real/pdc.c
> 	cvs update -A arch/parisc/real/pdc.c
> cvs update -r1.2 arch/parisc/real/real.h
> 	cvs update -A arch/parisc/real/real.h
> cvs update -r1.2 arch/parisc/real/real_s.S
> 	cvs update -A arch/parisc/real/real_s.S
> cvs update -r1.2 arch/parisc/real/setup.c
> 	cvs update -A arch/parisc/real/setup.c
> cvs update -r1.1 arch/parisc/real/traps.c
> 	cvs update -A arch/parisc/real/traps.c
> cvs update -r1.1 include/asm-parisc/real.h
> 	cvs update -A include/asm-parisc/real.h
> 
>
---------------------------------------------------------------------------
> To unsubscribe: send e-mail to
> parisc-linux-request@thepuffingroup.com with
> `unsubscribe' as the subject.
> 
> 

__________________________________________________
Do You Yahoo!?
Thousands of Stores.  Millions of Products.  All in one place.
Yahoo! Shopping: http://shopping.yahoo.com

^ permalink raw reply	[flat|nested] 13+ messages in thread
* Re: [parisc-linux] a pretty big change
@ 1999-12-09 12:24 Ulrich Strelow
  1999-12-09 21:21 ` John David Anglin
  0 siblings, 1 reply; 13+ messages in thread
From: Ulrich Strelow @ 1999-12-09 12:24 UTC (permalink / raw)
  To: Paul Bame; +Cc: parisc-linux

Hello Paul,

thanks for the quick answer. I am sorry but I did not
understand what I see in System.map:

excerpt 1 for System.Map:
c0049f90 t $CODE$
c0049f90 t put_unused_buffer_head
c0049fd8 t L$1856
c004a004 t L$1854
c004a018 t $CODE$
c004a018 t get_unused_buffer_head
c004a110 t $CODE$
c004a110 t create_buffers
c004a320 t $CODE$
c004a320 t end_buffer_io_async

So I thought 0xc004a078 is in get_unused_buffer_head
which is in fs/buffer.c.

excerpt 2 from System.map:
c0111f14 D blkdev_inode_operations
c0111f64 D def_chr_fops
c0111fa0 D chrdev_inode_operations
c0111ff0 d L$C0008
c0111ffc d L$C0009
c011200c d L$C0010
c0112018 d L$C0011
c0112028 d L$C0012
c0112038 D nr_files
c0112038 d lock___76

So 0xc0112000 points into the data segment(?) as a
return address for that subroutine.

Unfortunately I have no anonymous ftp server here at
work, where I can put the kernel for you. And
puffin.external.hp.com has no Incoming directory...

So is it ok to send Image + System.map as a
tar.gz-file via mail to you?

If this problem is not of general interest and other
big changes will happen soon (maybe the 2.3 merge)
where the problem might go away, it is ok that you
simply say "wait for that to happen" to me. 
 
Regards
Ulrich

--- Paul Bame <bame@fc.hp.com> wrote:
> = Hi all,
> = 
> = I have build a new kernel with the CVS version
> = 19991205 and I get the following console output
> when I
> = try to boot it on my 715/33:
> 
> If you'll place that kernel somewhere I can get it,
> I'll check
> this, or you can.  Look into the kernel and/or
> System.map
> for what's at 0xc004a078, which is inside a
> procedure which will
> return to 0xc0112000.  It looks like a null (or
> small) pointer
> dereference because we're trying to create a virtual
> mapping for address 0.
> 
> 	-P
> 
> = PARISC/Linux Bootstrap Version 0.6 (interactive)
> = By Helge Deller & Jason Eckhardt
> = Built Mon Dec 6 11:13:34 MET 1999 by root@be5359
> = 
> = Reading parameters...done.
> = 
> = Loading PA-RISC/Linux Kernel...
> = 
> = Please enter the command-line:
> = /stand/vmlinux HOME=/ TERM=LINUX console=tty
> = 
> = SOM-Kernel:
> = aux_header_location: 00000080
> = som       : 00200080
> = exec_dfile: 000CE000
> = exec_dsize: 00081000
> = exec_dmem : C00A0000
> = exec_tfile: 0003E000
> = exec_tsize: 0008F008
> = exec_tmem : C0010000
> = Code at 0x00010000, size=0x0008F008
> = Data at 0x000A0000, size=0x00081000
> = BSS  at 0x00121000.
> = 
> = Transferring control to kernel. (At entry point
> = 0x00010000)
> = kernel(0x146880, 0x504010, 0x146880, 0x12c30)
> = Boot loader: PA/Linux, maybe PALO
> = kernel free mem 0x00146880
> = realmode_setup exiting
> = Can't insert TLB miss handler pa 0x40000000 va
> = 0x00000000
> = r0-3    0x0004fb0b      0xc0112000      0xc004a170
>    
> =  0x00000000
> = r4-7    0xc0112000      0x00000000      0x00000400
>    
> =  0x00000000
> = r8-11   0xc01db000      0x00000000      0x00000400
>    
> =  0x00000100
> = r12-15  0xc01a4988      0x00000000      0x00000000
>    
> =  0x00000000
> = r16-19  0x00000000      0x00000400      0x00001000
>    
> =  0x0000001f
> = r20-23  0x00000020      0xc01a001c      0x00000001
>    
> =  0xc01268b0
> = r24-27  0x00000000      0x00000400      0x00000000
>    
> =  0xc009f000
> = r28-31  0xc01db000      0x0000000b      0xc01a4f40
>    
> =  0xc007a39c
> = sr0-3   0x00000000      0x00000000      0x00000000
>    
> =  0x00000000
> = sr4-7   0x00000000      0x00000000      0x00000000
>    
> =  0x00000000
> = iasq 0x00000020 0x00000003
> = iaoq 0xc004a078 0xc004a07c
> = cr30 0x00000000 ksp 0x00000001 kpc 0xc01a4f80 sar
> = 0x00000012
> = iir 0x48730038
> = 
> = The last successful booting kernel was from the
> CVS
> = version 19991123.
> = 
> = Any ideas ?
> = Ulrich
> = 
> = --- Paul Bame <bame@debian.fc.hp.com> wrote:
> = > 
> = > I just committed the changes to embed real-mode
> code
> = > in a separate
> = > executable inside vmlinux.  It should cause no
> = > functional changes
> = > in theory.  Read all about it in
> = > arch/parisc/real/README and
> = > ee.html.  If you have terrible new problems,
> = > I've attached a list of CVS commands to check
> out
> = > the files before I
> = > started hacking on them.  I haven't seen a shell
> = > prompt from this
> = > set of hacks so beware...
> = > 
> = > 	-Paul Bame
> = > 
> = > prumpf- I moved kernel_thread and friends from
> = > 	real/<something> to kernel/head.S  I also
> = > re-enabled BTLB in
> = > 	real/setup.c so I could get further in the
> boot. 
> = > Left some
> = > 	debugging printks in the handle_real_interrupt
> = > handler too.
> = > 
> = > cvs update -r1.25 arch/parisc/Makefile
> = > 	cvs update -A arch/parisc/Makefile
> = > cvs update -r1.28 arch/parisc/kernel/Makefile
> = > 	cvs update -A arch/parisc/kernel/Makefile
> = > cvs update -r1.35 arch/parisc/kernel/head.S
> = > 	cvs update -A arch/parisc/kernel/head.S
> = > cvs update -r1.39 arch/parisc/kernel/irq.c
> = > 	cvs update -A arch/parisc/kernel/irq.c
> = > cvs update -r1.14 arch/parisc/kernel/pdc.c
> = > 	cvs update -A arch/parisc/kernel/pdc.c
> = > cvs update -r1.25 arch/parisc/kernel/pdc_cons.c
> = > 	cvs update -A arch/parisc/kernel/pdc_cons.c
> = > cvs update -r1.73 arch/parisc/kernel/setup.c
> = > 	cvs update -A arch/parisc/kernel/setup.c
> = > cvs update -r1.11 arch/parisc/kernel/traps.c
> = > 	cvs update -A arch/parisc/kernel/traps.c
> = > cvs update -r1.2 arch/parisc/real/Makefile
> = > 	cvs update -A arch/parisc/real/Makefile
> = > cvs update -r1.2 arch/parisc/real/head.S
> = > 	cvs update -A arch/parisc/real/head.S
> = > cvs update -r1.2 arch/parisc/real/interruption.S
> = > 	cvs update -A arch/parisc/real/interruption.S
> = > cvs update -r1.2 arch/parisc/real/lib.c
> = > 	cvs update -A arch/parisc/real/lib.c
> = > cvs update -r1.2 arch/parisc/real/pdc.c
> = > 	cvs update -A arch/parisc/real/pdc.c
> = > cvs update -r1.2 arch/parisc/real/real.h
> = > 	cvs update -A arch/parisc/real/real.h
> = > cvs update -r1.2 arch/parisc/real/real_s.S
> = > 	cvs update -A arch/parisc/real/real_s.S
> = > cvs update -r1.2 arch/parisc/real/setup.c
> = > 	cvs update -A arch/parisc/real/setup.c
> = > cvs update -r1.1 arch/parisc/real/traps.c
> = > 	cvs update -A arch/parisc/real/traps.c
> = > cvs update -r1.1 include/asm-parisc/real.h
> = > 	cvs update -A include/asm-parisc/real.h
> = > 
> = >
> =
>
---------------------------------------------------------------------------
> = > To unsubscribe: send e-mail to
> = > parisc-linux-request@thepuffingroup.com with
> = > `unsubscribe' as the subject.
> = > 
> = > 
> = 
> = __________________________________________________
> = Do You Yahoo!?
> = Thousands of Stores.  Millions of Products.  All
> in one place.
> = Yahoo! Shopping: http://shopping.yahoo.com
> 

__________________________________________________
Do You Yahoo!?
Thousands of Stores.  Millions of Products.  All in one place.
Yahoo! Shopping: http://shopping.yahoo.com

^ permalink raw reply	[flat|nested] 13+ messages in thread
[parent not found: <19991209122240.1018.qmail@web506.mail.yahoo.com>]

end of thread, other threads:[~1999-12-12 17:56 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-12-04  0:20 [parisc-linux] a pretty big change Paul Bame
1999-12-04  1:28 ` Paul Bame
1999-12-07  4:50   ` John David Anglin
1999-12-07 16:53     ` Paul Bame
1999-12-09  1:08       ` LaMont Jones
1999-12-12 17:54         ` John David Anglin
1999-12-04  1:31 ` John David Anglin
  -- strict thread matches above, loose matches on Subject: below --
1999-12-08 13:27 Ulrich Strelow
1999-12-08 15:54 ` Paul Bame
1999-12-09 12:24 Ulrich Strelow
1999-12-09 21:21 ` John David Anglin
     [not found] <19991209122240.1018.qmail@web506.mail.yahoo.com>
1999-12-10 17:15 ` Paul Bame
1999-12-10 17:49   ` John David Anglin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.