[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#721191: linux: patch for parisc/hppa architecture



On Sun, 2013-12-08 at 23:40 +0100, Helge Deller wrote:
> Hi Ben,
> 
> On 12/06/2013 04:01 AM, Ben Hutchings wrote:
> > On Sun, 2013-09-08 at 22:26 +0200, Helge Deller wrote:
> >> After the request to reduce the kernels to e.g. SMP-only, my thought was
> >> to provide only 32bit-UP and 64bit SMP kernels.
> >> To be sure I asked on the parisc mailing list. The whole thread can be read here:
> >> http://comments.gmane.org/gmane.linux.ports.parisc/5283
> >>
> >> Summary:
> >> - yes, there exists quite some 32bit-only parisc SMP machines.
> >> - the J5600 is SMP capable in both 32bit and 64bit mode, but currently it
> >>   only boots Linux with a 32bit SMP kernel and crashes with a 64bit SMP kernel.
> >>   We are working on resolving this...
> > [...]
> > 
> > Looks like you fixed this one:
> > 
> > commit 54e181e073fc1415e41917d725ebdbd7de956455
> > Author: Helge Deller <deller@gmx.de>
> > Date:   Sat Oct 26 23:19:25 2013 +0200
> > 
> >     parisc: Do not crash 64bit SMP kernels on machines with >= 4GB RAM
> > 
> > Can you send a new config patch?
> 
> actually I worked on a few more issues which were mentioned here in this bugreport... :-)
> 
> Attached is a new patch - I hope I could address most questions.
> Some notes:
> - CONFIG_DEVTMPFS wasn't set before -> needed to be able to boot

It is set in top-level config.

> - CONFIG_HP_SDC_RTC - RTC driver is buggy and not needed - we use BIOS/PDC
> - CONFIG_MEGARAID_NEWGEN=y -> use new megaraid instead of old. Old one crashed one of my machines.
> - CONFIG_MLONGCALLS=y - needed for 64bit kernel. 
>   This is fixed upstream with kernel 3.13 and can be removed as soon as the debian kernel uses 3.13.
>   Upstream commits (which I don't plan to backport): 
> 	b8d8fccd68c36a19fef9768d06aa150bbc8cdd74
> 	161bd3bf60ee2c5765455ad3e3da967d03449f4a
> 	5ecbe3c3c690b5ab493c730c317475287a9e8b45
> - CONFIG_PATA_SIL680=m, you suggested to use this one instead of SIIMAGE. Worked.
>   SIL680-patch upstream for 3.13: a16ab68ee96005382738c706fd06bdd874d9185b
> - CONFIG_E1000=m, needed, existing configs only included e100.

It is set in top level config.

> - AGP/DRM are now modules. Otherwise we don't have any output on the C8000 machines.

You might yet need to make them built-in, as nothing else ensures that
AGP devices are initialised before DRM devices.

> As suggested I dropped parisc-smp and parisc64, still keeping parisc and parisc64-smp.
> 
> We now can switch to use gcc-4.8 like the other arches.
> The control-file needs update to reflect this (not included here). Can
> you modify it by hand, if not, I can send a patch for that.

The control file is updated by gencontrol.py; that's why it's not in
svn.

I've applied these changes except for the redundant config symbols.

Ben.

-- 
Ben Hutchings
One of the nice things about standards is that there are so many of them.

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: