All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [parisc-linux] 715/33]
@ 1999-06-30  2:31 Alex deVries
  1999-06-30  7:49 ` Matthew Wilcox
  0 siblings, 1 reply; 5+ messages in thread
From: Alex deVries @ 1999-06-30  2:31 UTC (permalink / raw)
  To: parisc-linux


Matthew Wilcox wrote:

> Linux version 2.2.1 (willy@bmw) (gcc version egcs-2.91.60 19981201 (egcs-1.1.1
> release)) #18
>  Wed Jun 30 05:46:53 METDST 1999
> 
> at which point it hangs and I have to reset.  Excellent work.

Well, not a bad start, but what worries me is that this boot sequence
should really go on a bit more.  I'm not quite sure where the problem
is, it might be with some PDC calls we do within setup_arch().

I'll upload a binary of the kernel that I know works on my A class.  I'd
appreciate it if people could email tests of this on different machines.


- Alex
-- 
Alex deVries
Vice President of Engineering
The Puffin Group

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [parisc-linux] 715/33]
  1999-06-30  2:31 [parisc-linux] 715/33] Alex deVries
@ 1999-06-30  7:49 ` Matthew Wilcox
  1999-06-30 10:41   ` Alan Cox
  0 siblings, 1 reply; 5+ messages in thread
From: Matthew Wilcox @ 1999-06-30  7:49 UTC (permalink / raw)
  To: Alex deVries; +Cc: parisc-linux

On Tue, Jun 29, 1999 at 10:31:09PM -0400, Alex deVries wrote:
> 
> Matthew Wilcox wrote:
> 
> > Linux version 2.2.1 (willy@bmw) (gcc version egcs-2.91.60 19981201 (egcs-1.1.1
> > release)) #18
> >  Wed Jun 30 05:46:53 METDST 1999
> > 
> > at which point it hangs and I have to reset.  Excellent work.
> 
> Well, not a bad start, but what worries me is that this boot sequence
> should really go on a bit more.  I'm not quite sure where the problem
> is, it might be with some PDC calls we do within setup_arch().

It fails before it gets that far (what a joy it is to have a working
printk..):

in arch/parisc/kernel/setup.c
__initfunc(void setup_arch(char **cmdline_p,
        unsigned long * memory_start_p, unsigned long * memory_end_p))
{
        char cpuinfo_text[2000];
printk("setup_arch(%p, %p, %p)\n", cmdline_p, memory_start_p, memory_end_p);
printk("-3\n");
printk("%p\n", *cmdline_p);
printk("%s\n", *cmdline_p);
        strcpy(*cmdline_p,saved_command_line);  // copy the command-line
printk("-2\n");

I get the following printout:

setup_arch(000a0860, 000767e0, 000767e4)
-3
f000013c
 zC

and there it hangs.

> I'll upload a binary of the kernel that I know works on my A class.  I'd
> appreciate it if people could email tests of this on different machines.

When you put it up, I'll happily test it; maybe my kernel is larger than
yours and is causing something to be overwritten?

-- 
Matthew Wilcox <willy@bofh.ai>
"Windows and MacOS are products, contrived by engineers in the service of
specific companies. Unix, by contrast, is not so much a product as it is a
painstakingly compiled oral history of the hacker subculture." - N Stephenson

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [parisc-linux] 715/33]
  1999-06-30  7:49 ` Matthew Wilcox
@ 1999-06-30 10:41   ` Alan Cox
       [not found]     ` <377A21E9.C22A6F25@gmx.de>
  0 siblings, 1 reply; 5+ messages in thread
From: Alan Cox @ 1999-06-30 10:41 UTC (permalink / raw)
  To: Matthew Wilcox; +Cc: adevries, parisc-linux

> printk("-3\n");
> printk("%p\n", *cmdline_p);
> printk("%s\n", *cmdline_p);
>         strcpy(*cmdline_p,saved_command_line);  // copy the command-line
> printk("-2\n");
> 
> I get the following printout:
> 
> setup_arch(000a0860, 000767e0, 000767e4)
> -3
> f000013c
>  zC

f000013c is in I/O space. Is the command line really meant to point into
I/O space..

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [parisc-linux] 715/33]
       [not found]     ` <377A21E9.C22A6F25@gmx.de>
@ 1999-06-30 15:14       ` Matthew Wilcox
  1999-06-30 15:40         ` Philipp Rumpf
  0 siblings, 1 reply; 5+ messages in thread
From: Matthew Wilcox @ 1999-06-30 15:14 UTC (permalink / raw)
  To: Helge Deller; +Cc: Alan Cox, Matthew Wilcox, adevries, parisc-linux

On Wed, Jun 30, 1999 at 03:55:53PM +0200, Helge Deller wrote:
> Alan Cox wrote:
> 
> > > printk("-3\n");
> > > printk("%p\n", *cmdline_p);
> > > printk("%s\n", *cmdline_p);
> > >         strcpy(*cmdline_p,saved_command_line);  // copy the command-line
> > > printk("-2\n");
> > >
> > > I get the following printout:
> > >
> > > setup_arch(000a0860, 000767e0, 000767e4)
> > > -3
> > > f000013c
> > >  zC
> >
> > f000013c is in I/O space. Is the command line really meant to point into
> > I/O space..
> 
> It was completely wrong to use strcpy() !
> Sorry, my fault !!!!!
> It is now corrected in CVS.

So it is.  Thank you very much.

Has the price of beef gone up?
[if you've not booted the kernel, there's no way you'll understand this :-)]

-- 
Matthew Wilcox <willy@bofh.ai>
"Windows and MacOS are products, contrived by engineers in the service of
specific companies. Unix, by contrast, is not so much a product as it is a
painstakingly compiled oral history of the hacker subculture." - N Stephenson

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [parisc-linux] 715/33]
  1999-06-30 15:14       ` Matthew Wilcox
@ 1999-06-30 15:40         ` Philipp Rumpf
  0 siblings, 0 replies; 5+ messages in thread
From: Philipp Rumpf @ 1999-06-30 15:40 UTC (permalink / raw)
  To: Matthew Wilcox; +Cc: Helge Deller, Alan Cox, adevries, parisc-linux

> Has the price of beef gone up?
> [if you've not booted the kernel, there's no way you'll understand this :-)]
you could, of course, read the source code as well ...

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~1999-06-30 15:40 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-06-30  2:31 [parisc-linux] 715/33] Alex deVries
1999-06-30  7:49 ` Matthew Wilcox
1999-06-30 10:41   ` Alan Cox
     [not found]     ` <377A21E9.C22A6F25@gmx.de>
1999-06-30 15:14       ` Matthew Wilcox
1999-06-30 15:40         ` Philipp Rumpf

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.