public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] Patching vanilla-sources with genpatches in catalyst
@ 2016-09-17 22:48 alexmcwhirter
  2016-09-23 20:02 ` James McMechan
  0 siblings, 1 reply; 3+ messages in thread
From: alexmcwhirter @ 2016-09-17 22:48 UTC (permalink / raw
  To: gentoo-dev

For my sparc64 port, i need a livecd with kernel 4.8-rc6 that is patched 
to work on a livecd. I'm not going to expect gentoo-sources to be 
released for this kernel, and hacking up the kernel eclass for 4.8-rc6 
doesn't seem like the right way to go. So i was looking for some input 
on the best way to do this.

The first thing that comes to mind is to make a vanilla-sources ebuild 
for 4.8-rc6 and use that in the spec file. Then after doing a 
livecd-stage1 put the genpatches in /etc/portage/patches/... and let the 
epatch_user interface take care of the rest.

Does anyone have any better ideas?


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

* Re: [gentoo-dev] Patching vanilla-sources with genpatches in catalyst
  2016-09-17 22:48 [gentoo-dev] Patching vanilla-sources with genpatches in catalyst alexmcwhirter
@ 2016-09-23 20:02 ` James McMechan
  2016-09-24  4:37   ` alexmcwhirter
  0 siblings, 1 reply; 3+ messages in thread
From: James McMechan @ 2016-09-23 20:02 UTC (permalink / raw
  To: gentoo-dev@lists.gentoo.org; +Cc: alexmcwhirter@triadic.us

>From: alexmcwhirter@triadic.us <alexmcwhirter@triadic.us>
>Sent: Saturday, September 17, 2016 3:48 PM
>To: gentoo-dev@lists.gentoo.org
>Subject: [gentoo-dev] Patching vanilla-sources with genpatches in catalyst
>    
>For my sparc64 port, i need a livecd with kernel 4.8-rc6 that is patched
>to work on a livecd. I'm not going to expect gentoo-sources to be 

What patches were you thinking are needed for a live CD?
I would expect that either a vanilla or gentoo kernel would handle
being on a live CD without problems.
What is giving you trouble that you are aiming for 4.8-rc6, I have not
seen many problems.  Though the most recent gentoo live CD will hang
one of my machines due to radeon driver in the 3.14.14 kernel not accessing
I/O correctly ( it did not use the access functions just dereferenced a pointer).
The only other quirk I remember off the top of my head is the 2nd required
initramfs that the netboot kernel target needs, but even that works with a empty file.

>released for this kernel, and hacking up the kernel eclass for 4.8-rc6 
>doesn't seem like the right way to go. So i was looking for some input 
>on the best way to do this.
>
>The first thing that comes to mind is to make a vanilla-sources ebuild 
>for 4.8-rc6 and use that in the spec file. Then after doing a 

Are you following some set of instructions on building stages and a live CD?

>livecd-stage1 put the genpatches in /etc/portage/patches/... and let the 
>epatch_user interface take care of the rest.
>
>Does anyone have any better ideas?
>

Jim McMechan

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

* Re: [gentoo-dev] Patching vanilla-sources with genpatches in catalyst
  2016-09-23 20:02 ` James McMechan
@ 2016-09-24  4:37   ` alexmcwhirter
  0 siblings, 0 replies; 3+ messages in thread
From: alexmcwhirter @ 2016-09-24  4:37 UTC (permalink / raw
  To: James McMechan; +Cc: gentoo-dev

On 2016-09-23 16:02, James McMechan wrote:
> What patches were you thinking are needed for a live CD?
> I would expect that either a vanilla or gentoo kernel would handle
> being on a live CD without problems.
> What is giving you trouble that you are aiming for 4.8-rc6, I have not
> seen many problems.  Though the most recent gentoo live CD will hang
> one of my machines due to radeon driver in the 3.14.14 kernel not 
> accessing
> I/O correctly ( it did not use the access functions just dereferenced
> a pointer).
> The only other quirk I remember off the top of my head is the 2nd 
> required
> initramfs that the netboot kernel target needs, but even that works
> with a empty file.

On sparc64, rsync and ssh are broken due to fault addresses containing 
extra context data that is used incorrectly higher in the kernel. For 
installation purposes, rsync and ssh are quite important. This is fixed 
in 4.8, but i ended up just taking that patches out of 4.8 and applying 
them to 4.7.4 via epatch user.


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

end of thread, other threads:[~2016-09-24  4:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-17 22:48 [gentoo-dev] Patching vanilla-sources with genpatches in catalyst alexmcwhirter
2016-09-23 20:02 ` James McMechan
2016-09-24  4:37   ` alexmcwhirter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox