All of lore.kernel.org
 help / color / mirror / Atom feed
* [parisc-linux] Recent changes
       [not found] <199911030250.TAA16563@puffin.external.hp.com>
@ 1999-11-03  4:14 ` Alex deVries
  1999-11-03 12:36   ` Matthew Wilcox
  1999-11-06 18:20   ` Philipp Rumpf
  0 siblings, 2 replies; 12+ messages in thread
From: Alex deVries @ 1999-11-03  4:14 UTC (permalink / raw)
  To: parisc-linux


Matt Wilcox committed some code that I know he's unable to test, so I'm
mailing the bug report here.

The first is that building the kernel kernel will result in:

ld: Unsatisfied symbols:
   hpux_brk (code)

so I just commented out the only reference to it, and now I end up with:

(start_code) 00001000
(end_data) 40008000
(start_stack) 20000028
(brk) 40017000

PSW  : 0004f80b  GR 1 : 40006928  GR 2 : 00016f5f  GR 3 : 40007128  
GR 4 : 40016314  GR 5 : 40006928  GR 6 : 00002001  GR 7 : 00000020  
GR 8 : 40001511  GR 9 : 00000000  GR10 : 00000050  GR11 : bc0fd569  
GR12 : 000043ff  GR13 : 00004400  GR14 : 00004800  GR15 : 43f02aa9  
GR16 : 00004000  GR17 : 00000000  GR18 : 00000c00  GR19 : 00000001  
GR20 : 00000001  GR21 : 40019000  GR22 : ffffff05  GR23 : 00000000  
GR24 : 00000000  GR25 : ffffffff  GR26 : ffffffff  GR27 : 40007128  
GR28 : 4001830c  GR29 : 40018ffc  GR30 : 20000780  GR31 : 00033323  
SR0  : 00000000  SR1  : 00000000  SR2  : 00000000  SR3  : 00000000  
SR4  : 00000000  SR5  : 00000000  SR6  : 00000000  SR7  : 00000000  
IAOQ : 00016f7b 00016f7f

bad address 40018ffc (code 15)
Kernel panic: bad address

In swapper task - not syncing

And that is it.

- Alex

ps.  All the puffins will be out of town in Montreal on Wednesday to
attend/speak at a conference and see live puffins.

-- 
Alex deVries <adevries@thepuffingroup.com>
Vice President Engineering
The Puffin Group

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

* Re: [parisc-linux] Recent changes
  1999-11-03  4:14 ` [parisc-linux] Recent changes Alex deVries
@ 1999-11-03 12:36   ` Matthew Wilcox
  1999-11-06 18:18     ` Philipp Rumpf
  1999-11-06 18:20   ` Philipp Rumpf
  1 sibling, 1 reply; 12+ messages in thread
From: Matthew Wilcox @ 1999-11-03 12:36 UTC (permalink / raw)
  To: Alex deVries; +Cc: parisc-linux

On Tue, Nov 02, 1999 at 11:14:33PM -0500, Alex deVries wrote:
> 
> Matt Wilcox committed some code that I know he's unable to test, so I'm
> mailing the bug report here.
> 
> The first is that building the kernel kernel will result in:
> 
> ld: Unsatisfied symbols:
>    hpux_brk (code)
> 
> so I just commented out the only reference to it, and now I end up with:

You commented it out?  Aaahhh.. that was definitely the wrong thing to do.
The reference is in the middle of the syscall table, so all subsequent
syscalls were misnumbered.

I've changed it to call sys_brk instead; I'm not quite sure why I had
thought it would need to call a different function, brk looks identical
to me on both OSes.

If someone would be generous enough to test the current CVS tree for me,
I'd be grateful.  It may well be that sash is now able to perform `-ls'.

> ps.  All the puffins will be out of town in Montreal on Wednesday to
> attend/speak at a conference and see live puffins.

I'm jealous.  27 days to go.

-- 
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] 12+ messages in thread

* Re: [parisc-linux] Recent changes
  1999-11-03 12:36   ` Matthew Wilcox
@ 1999-11-06 18:18     ` Philipp Rumpf
  0 siblings, 0 replies; 12+ messages in thread
From: Philipp Rumpf @ 1999-11-06 18:18 UTC (permalink / raw)
  To: Matthew Wilcox; +Cc: Alex deVries, parisc-linux

> I've changed it to call sys_brk instead; I'm not quite sure why I had
> thought it would need to call a different function, brk looks identical
> to me on both OSes.

It isn't.  HP/UX brk seems to be equivalent to sys_brk(addr + PAGE_SIZE), i.e.
while Linux gets passed a pointer to the first byte after the end of the brk'd
segment, HP/UX brk gets passed a pointer to the first byte of the last page of
it.  At least, this seemed to be the case for our first binaries.

	Philipp Rumpf

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

* Re: [parisc-linux] Recent changes
  1999-11-03  4:14 ` [parisc-linux] Recent changes Alex deVries
  1999-11-03 12:36   ` Matthew Wilcox
@ 1999-11-06 18:20   ` Philipp Rumpf
  1999-11-07 11:53     ` Matthew Wilcox
  1 sibling, 1 reply; 12+ messages in thread
From: Philipp Rumpf @ 1999-11-06 18:20 UTC (permalink / raw)
  To: Alex deVries; +Cc: parisc-linux

On Tue, Nov 02, 1999 at 11:14:33PM -0500, Alex deVries wrote:
> ld: Unsatisfied symbols:
>    hpux_brk (code)

Why did the definition of hpux_brk (in kernel/sys_hpux.c) ever vanish ?  Some
time ago, it looked like this:

unsigned long sys_brk(unsigned long addr);

unsigned long hpux_brk(unsigned long addr)
{
        /* Sigh.  Looks like HP/UX libc relies on kernel bugs. */
        return sys_brk(addr + PAGE_SIZE);
}

	Philipp Rumpf

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

* Re: [parisc-linux] Recent changes
  1999-11-06 18:20   ` Philipp Rumpf
@ 1999-11-07 11:53     ` Matthew Wilcox
  1999-11-07 12:18       ` [parisc-linux] cant use rbootd Andi
  0 siblings, 1 reply; 12+ messages in thread
From: Matthew Wilcox @ 1999-11-07 11:53 UTC (permalink / raw)
  To: Philipp Rumpf; +Cc: Alex deVries, parisc-linux

On Sat, Nov 06, 1999 at 07:20:23PM +0100, Philipp Rumpf wrote:
> On Tue, Nov 02, 1999 at 11:14:33PM -0500, Alex deVries wrote:
> > ld: Unsatisfied symbols:
> >    hpux_brk (code)
> 
> Why did the definition of hpux_brk (in kernel/sys_hpux.c) ever vanish ?  Some
> time ago, it looked like this:
> 
> unsigned long sys_brk(unsigned long addr);
> 
> unsigned long hpux_brk(unsigned long addr)
> {
>         /* Sigh.  Looks like HP/UX libc relies on kernel bugs. */
>         return sys_brk(addr + PAGE_SIZE);
> }

It looks like I'm accidentally responsible for deleting that.  Maybe this
explains why grant found that `alias' wasn't working well in sash.  I've
just committed this function back.

-- 
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] 12+ messages in thread

* [parisc-linux] cant use  rbootd
  1999-11-07 11:53     ` Matthew Wilcox
@ 1999-11-07 12:18       ` Andi
  1999-11-07 12:41         ` Martin Schulze
                           ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Andi @ 1999-11-07 12:18 UTC (permalink / raw)
  To: parisc-linux

Hi,

I am using an rbootd running on Debian 2.1 , but my HP 712/60 cant find it, I
put the correct ethernet adress in the /etc/rbootd.conf

but nothing happens if i type

BOOT_ADMIN> search lan


bye
  Andi

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

* Re: cant use  rbootd
  1999-11-07 12:18       ` [parisc-linux] cant use rbootd Andi
@ 1999-11-07 12:41         ` Martin Schulze
  1999-11-08  2:10           ` Alex deVries
  1999-11-07 12:55         ` [parisc-linux] " Matthew Wilcox
  1999-11-07 18:04         ` Andi
  2 siblings, 1 reply; 12+ messages in thread
From: Martin Schulze @ 1999-11-07 12:41 UTC (permalink / raw)
  To: Andi; +Cc: parisc-linux

Andi wrote:
> Hi,
> 
> I am using an rbootd running on Debian 2.1 , but my HP 712/60 cant find it, I
> put the correct ethernet adress in the /etc/rbootd.conf

I guess you'll need the Puffins patch applied.  The patch is available
in the upcoming unstable aka 2.2 of Debian - I hope... In any case you'll
find a non-official package at http://master.debian.org/~joey/NMU/ .  On
2.1 box you'll need to recompile it.

Regards,

	Joey

-- 
Beware of bugs in the above code; I have only proved it correct,
not tried it.  -- Donald E. Knuth

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

* Re: [parisc-linux] cant use  rbootd
  1999-11-07 12:18       ` [parisc-linux] cant use rbootd Andi
  1999-11-07 12:41         ` Martin Schulze
@ 1999-11-07 12:55         ` Matthew Wilcox
  1999-11-07 18:04         ` Andi
  2 siblings, 0 replies; 12+ messages in thread
From: Matthew Wilcox @ 1999-11-07 12:55 UTC (permalink / raw)
  To: Andi; +Cc: parisc-linux

On Sun, Nov 07, 1999 at 01:18:39PM +0100, Andi wrote:
> Hi,
> 
> I am using an rbootd running on Debian 2.1 , but my HP 712/60 cant find it, I
> put the correct ethernet adress in the /etc/rbootd.conf
> 
> but nothing happens if i type
> 
> BOOT_ADMIN> search lan

Is rbootd definitely running?  I find that if it can't change to the
appropriate directory, it just exits silently.

BTW, /export/hp is exactly the same length as /usr/local, so

sed -e s:/export/hp:/usr/local:

allows you to use /usr/local/rbootd as somewhere to put kernels if you
don't fancy clusteering your /.

-- 
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] 12+ messages in thread

* Re: [parisc-linux] cant use rbootd
  1999-11-07 12:18       ` [parisc-linux] cant use rbootd Andi
  1999-11-07 12:41         ` Martin Schulze
  1999-11-07 12:55         ` [parisc-linux] " Matthew Wilcox
@ 1999-11-07 18:04         ` Andi
  1999-11-08  7:55           ` Matthew Wilcox
  2 siblings, 1 reply; 12+ messages in thread
From: Andi @ 1999-11-07 18:04 UTC (permalink / raw)
  To: parisc-linux

On Son, 07 Nov 1999, Andi wrote:
> Hi,
> 
> I am using an rbootd running on Debian 2.1 , but my HP 712/60 cant find it, I
> put the correct ethernet adress in the /etc/rbootd.conf
> 
> but nothing happens if i type
> 
> BOOT_ADMIN> search lan

OK, forget what I wrote, I used rbootd instead of bootp... oops. Booting over
the network works now. I tried the latest snapshot of the PARISC-Linux Kernel.
But it doenst seem to get far...

after 

"transferring control to kernel (...)"

nothing happens.

-- 
bye
  Andi

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

* Re: cant use  rbootd
  1999-11-08  2:10           ` Alex deVries
@ 1999-11-08  1:03             ` Martin Schulze
  0 siblings, 0 replies; 12+ messages in thread
From: Martin Schulze @ 1999-11-08  1:03 UTC (permalink / raw)
  To: Alex deVries; +Cc: Andi, parisc-linux

Alex deVries wrote:
> Also, I'd really appreciate it if you could mail that Debian binary
> package to me so I can put it on puffin.external.hp.com.

Errr, can't you use lynx or wget?

Anyway, the files should be in your mailbox, source and binary.

I'll try to keep up updated.

Regards,

	Joey

-- 
Beware of bugs in the above code; I have only proved it correct,
not tried it.  -- Donald E. Knuth

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

* Re: cant use  rbootd
  1999-11-07 12:41         ` Martin Schulze
@ 1999-11-08  2:10           ` Alex deVries
  1999-11-08  1:03             ` Martin Schulze
  0 siblings, 1 reply; 12+ messages in thread
From: Alex deVries @ 1999-11-08  2:10 UTC (permalink / raw)
  To: Martin Schulze; +Cc: Andi, parisc-linux

On Sun, 7 Nov 1999, Martin Schulze wrote:
> > 
> > I am using an rbootd running on Debian 2.1 , but my HP 712/60 cant find it, I
> > put the correct ethernet adress in the /etc/rbootd.conf
> 
> I guess you'll need the Puffins patch applied.  The patch is available
> in the upcoming unstable aka 2.2 of Debian - I hope... In any case you'll
> find a non-official package at http://master.debian.org/~joey/NMU/ .  On
> 2.1 box you'll need to recompile it.

To make things clearer, I know for a fact that the rpm that's on
puffin.external.hp.com will work if you create the directory that's not in
the package (yes, I've been meaning to fix that package for about 6 months
now).  The Debian package should have the same patches applied.  

Also, I'd really appreciate it if you could mail that Debian binary
package to me so I can put it on puffin.external.hp.com.

- Alex "puffin" deVries.

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

* Re: [parisc-linux] cant use rbootd
  1999-11-07 18:04         ` Andi
@ 1999-11-08  7:55           ` Matthew Wilcox
  0 siblings, 0 replies; 12+ messages in thread
From: Matthew Wilcox @ 1999-11-08  7:55 UTC (permalink / raw)
  To: Andi; +Cc: parisc-linux

On Sun, Nov 07, 1999 at 07:04:46PM +0100, Andi wrote:
> OK, forget what I wrote, I used rbootd instead of bootp... oops. Booting over
> the network works now. I tried the latest snapshot of the PARISC-Linux Kernel.
> But it doenst seem to get far...
> 
> after 
> 
> "transferring control to kernel (...)"
> 
> nothing happens.

See

http://puffin.external.hp.com/mailing-lists/parisc-linux/1068.html

The information contained therein is essential for anyone not using a
serial console.

P.S.  I've managed to find a machine to act as an rboot server now,
so I've started hacking on the HIL driver to make it work on the 7xx
series as well as the 300.

-- 
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] 12+ messages in thread

end of thread, other threads:[~1999-11-08  7:52 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <199911030250.TAA16563@puffin.external.hp.com>
1999-11-03  4:14 ` [parisc-linux] Recent changes Alex deVries
1999-11-03 12:36   ` Matthew Wilcox
1999-11-06 18:18     ` Philipp Rumpf
1999-11-06 18:20   ` Philipp Rumpf
1999-11-07 11:53     ` Matthew Wilcox
1999-11-07 12:18       ` [parisc-linux] cant use rbootd Andi
1999-11-07 12:41         ` Martin Schulze
1999-11-08  2:10           ` Alex deVries
1999-11-08  1:03             ` Martin Schulze
1999-11-07 12:55         ` [parisc-linux] " Matthew Wilcox
1999-11-07 18:04         ` Andi
1999-11-08  7:55           ` Matthew Wilcox

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.