9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] Pull and compile latest kernel (sys call 53 error)
@ 2014-07-20  5:37 Patryk Laurent
  2014-07-20  5:50 ` cam
  0 siblings, 1 reply; 5+ messages in thread
From: Patryk Laurent @ 2014-07-20  5:37 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

Hello,

How should I properly update to the latest kernel on a new install of Plan 9 from Bell Labs?

I downloaded Plan9, ran the "pull" script, and then tried to compile and install a new kernel by running mk install in /sys/src/9/pc

Compilation seemed to go fine, but then I got an syscall 53 error (the error seems to come from "ar", see below).

Thank you,
Patryk


-- snip --
8c -FTVw -I. ../port/sysproc.c
8c -FTVw -I. ../port/taslock.c
8c -FTVw -I. ../port/tod.c
8c -FTVw -I. ../port/xalloc.c
8c -FTVw main.c
names=`{membername $newprereq}
ar vu ../boot/libboot.a8 $names
rm $names
ar 856: bad sys call number 53 pc becd
ar 856: suicide: sys: bad sys call pc=0x0000becd
mk: names=`{membername $newprereq} ar ...  : exit status=rc 849: ar 856: sys: bad sys call pc=0x0000becd
term%




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

* Re: [9fans] Pull and compile latest kernel (sys call 53 error)
  2014-07-20  5:37 [9fans] Pull and compile latest kernel (sys call 53 error) Patryk Laurent
@ 2014-07-20  5:50 ` cam
  2014-07-20 16:32   ` Patryk Laurent
  0 siblings, 1 reply; 5+ messages in thread
From: cam @ 2014-07-20  5:50 UTC (permalink / raw)
  To: 9fans


> I downloaded Plan9, ran the "pull" script, and then tried to compile and install a new kernel by running mk install in /sys/src/9/pc
>
> Compilation seemed to go fine, but then I got an syscall 53 error (the error seems to come from "ar", see below).

you need to reboot using one of the kernels you pulled first.






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

* Re: [9fans] Pull and compile latest kernel (sys call 53 error)
  2014-07-20  5:50 ` cam
@ 2014-07-20 16:32   ` Patryk Laurent
  2014-07-20 17:03     ` cam
  0 siblings, 1 reply; 5+ messages in thread
From: Patryk Laurent @ 2014-07-20 16:32 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs


> you need to reboot using one of the kernels you pulled first.
>

How do I find the kernels that I pulled?  They don't appear to be in /sys/src/9/pc

After I have found the kernel, do I with it by copying it into /n/9fat as specified here?: http://plan9.bell-labs.com/wiki/plan9/compiling_kernels/

Thank you,
Patryk





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

* Re: [9fans] Pull and compile latest kernel (sys call 53 error)
  2014-07-20 16:32   ` Patryk Laurent
@ 2014-07-20 17:03     ` cam
  2014-07-20 23:45       ` Patryk Laurent
  0 siblings, 1 reply; 5+ messages in thread
From: cam @ 2014-07-20 17:03 UTC (permalink / raw)
  To: 9fans

> How do I find the kernels that I pulled?  They don't appear to be in /sys/src/9/pc

they are in /386 (ie - /386/9pcf).  a pull copies binaries as well
as source.

> After I have found the kernel, do I with it by copying it into /n/9fat as specified here?: http://plan9.bell-labs.com/wiki/plan9/compiling_kernels/

that should do it.




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

* Re: [9fans] Pull and compile latest kernel (sys call 53 error)
  2014-07-20 17:03     ` cam
@ 2014-07-20 23:45       ` Patryk Laurent
  0 siblings, 0 replies; 5+ messages in thread
From: Patryk Laurent @ 2014-07-20 23:45 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs


> they are in /386 (ie - /386/9pcf).  a pull copies binaries as well
> as source.

Thank you, it's working perfectly.

Patryk




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

end of thread, other threads:[~2014-07-20 23:45 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-20  5:37 [9fans] Pull and compile latest kernel (sys call 53 error) Patryk Laurent
2014-07-20  5:50 ` cam
2014-07-20 16:32   ` Patryk Laurent
2014-07-20 17:03     ` cam
2014-07-20 23:45       ` Patryk Laurent

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).