Re: Enable module aliases for vio on sparc/sparc64

2016-04-14 Thread David Miller
From: John Paul Adrian Glaubitz Date: Thu, 14 Apr 2016 11:00:41 +0200 > Sigh, I shouldn't do such things in the middle of the night, sorry: > > root@deb4g:/sys/devices/channel-devices# cat v*/mod* > vio:Tvdc-portS > vio:Tvdc-portS > vio:Tvdc-portS > vio:Tvdc-portS

Re: Enable module aliases for vio on sparc/sparc64

2016-04-14 Thread John Paul Adrian Glaubitz
On 04/14/2016 03:30 PM, Sam Ravnborg wrote: >> Hmm, I'm not sure whether this belongs here. I thought it was obvious >> what these two changes are for due to the canonical function names. > Just a suggestion - skip it as you prefer. Ok, thanks! >> I used the same indentation that is used for

Re: Enable module aliases for vio on sparc/sparc64

2016-04-14 Thread Sam Ravnborg
Hi Adrian. > >> Date: Thu, 14 Apr 2016 01:16:14 +0200 > >> Subject: [PATCH 1/2] sparc: Implement and wire up modalias_show for vio. > > > > It would be nice if you could add here the effect this patch has - that > > it fixes the debian installer. > > Hmm, I'm not sure whether this belongs here.

Re: Enable module aliases for vio on sparc/sparc64

2016-04-14 Thread John Paul Adrian Glaubitz
Hi Sam! On 04/14/2016 12:27 PM, Sam Ravnborg wrote: > Great work - good to see all the progress on sparc64 in debian! Thanks! >>> >From b7e3362d71c9d1cb972e5c16e4b9054f8f3de63f Mon Sep 17 00:00:00 2001 >> From: John Paul Adrian Glaubitz >> Date: Thu, 14 Apr 2016

Re: Enable module aliases for vio on sparc/sparc64

2016-04-14 Thread Sam Ravnborg
Hi Adrian. Great work - good to see all the progress on sparc64 in debian! > >>From b7e3362d71c9d1cb972e5c16e4b9054f8f3de63f Mon Sep 17 00:00:00 2001 > From: John Paul Adrian Glaubitz > Date: Thu, 14 Apr 2016 01:16:14 +0200 > Subject: [PATCH 1/2] sparc: Implement

Re: Enable module aliases for vio on sparc/sparc64

2016-04-14 Thread John Paul Adrian Glaubitz
On 04/14/2016 03:53 AM, David Miller wrote: > You're not hooking this function up at all into the operations. Looks like > you are mixing this patch up with other local changes. You are right. I was switching over to your tree and the __ATTR_RO somehow fell off while doing that. > And again,

Re: Enable module aliases for vio on sparc/sparc64

2016-04-14 Thread John Paul Adrian Glaubitz
On 04/14/2016 03:52 AM, David Miller wrote: >> root@deb4g:/sys/devices/channel-devices# cat vdc*/mod* >> vio:Tvdc-portSunknown >> vio:Tvdc-portSunknown >> vio:Tvdc-portSunknown >> vio:Tvdc-portSunknown >> vio:Tvdc-portSunknown >> root@deb4g:/sys/devices/channel-devices# >> >> Testing a much

Re: Enable module aliases for vio on sparc/sparc64

2016-04-13 Thread David Miller
From: John Paul Adrian Glaubitz Date: Thu, 14 Apr 2016 01:22:37 +0200 > From 8d95bce6a35dc037d1e419896af19e12b3cda910 Mon Sep 17 00:00:00 2001 > From: John Paul Adrian Glaubitz > Date: Thu, 14 Apr 2016 01:16:14 +0200 > Subject: [PATCH

Re: Enable module aliases for vio on sparc/sparc64

2016-04-13 Thread David Miller
From: John Paul Adrian Glaubitz Date: Thu, 14 Apr 2016 01:22:37 +0200 > From 3515ad550f7b1db467664acc9bf0ed3d2aec9fdd Mon Sep 17 00:00:00 2001 > From: John Paul Adrian Glaubitz > Date: Thu, 14 Apr 2016 01:19:40 +0200 > Subject: [PATCH

Re: Enable module aliases for vio on sparc/sparc64

2016-04-13 Thread David Miller
From: John Paul Adrian Glaubitz Date: Thu, 14 Apr 2016 01:04:17 +0200 > On 04/14/2016 01:01 AM, David Miller wrote: >> Ok those are the block devices, where are the networking interfaces? > > Whoops, sorry: > > root@deb4g:/sys/devices/channel-devices# cat

Re: Enable module aliases for vio on sparc/sparc64

2016-04-13 Thread Patrick Baggett
You guys are my heroes. Keep up the great work! On Wednesday, April 13, 2016, John Paul Adrian Glaubitz < glaub...@physik.fu-berlin.de> wrote: > On 04/14/2016 01:01 AM, David Miller wrote: > > Ok those are the block devices, where are the networking interfaces? > > Whoops, sorry: > >

Re: Enable module aliases for vio on sparc/sparc64

2016-04-13 Thread John Paul Adrian Glaubitz
On 04/14/2016 01:04 AM, John Paul Adrian Glaubitz wrote: > Testing a much simpler version now. Second. Attaching two patches which add modalias_show and vio_hotplug. With the patches applied, module autoloading works as expected. Going to bed now, it's past midnight here. Adrian -- .''`.

Re: Enable module aliases for vio on sparc/sparc64

2016-04-13 Thread David Miller
From: John Paul Adrian Glaubitz Date: Thu, 14 Apr 2016 00:44:19 +0200 > Yeah, I modified Ben's patch and it works: > > root@deb4g:/sys/devices/channel-devices# cat vdc*/mod* > vio:Tvdc-portSunknown > vio:Tvdc-portSunknown > vio:Tvdc-portSunknown >

Re: Enable module aliases for vio on sparc/sparc64

2016-04-13 Thread John Paul Adrian Glaubitz
On 04/14/2016 01:01 AM, David Miller wrote: > Ok those are the block devices, where are the networking interfaces? Whoops, sorry: root@deb4g:/sys/devices/channel-devices# cat vdc*/mod* vio:Tvdc-portSunknown vio:Tvdc-portSunknown vio:Tvdc-portSunknown vio:Tvdc-portSunknown vio:Tvdc-portSunknown

Re: Enable module aliases for vio on sparc/sparc64

2016-04-13 Thread David Miller
From: John Paul Adrian Glaubitz Date: Thu, 14 Apr 2016 00:35:58 +0200 > On 04/14/2016 12:23 AM, David Miller wrote: >> The missing bit is probably having the individual sparc64 VIO drivers >> define proper module aliases. > > I'm actually currently working on a

Re: Enable module aliases for vio on sparc/sparc64

2016-04-13 Thread David Miller
From: David Miller Date: Wed, 13 Apr 2016 18:23:49 -0400 (EDT) > From: John Paul Adrian Glaubitz > Date: Wed, 13 Apr 2016 17:33:25 +0200 > >> On 04/11/2016 09:04 PM, David Miller wrote: >>> Either way, I'll look at this patch, thanks. >> >>

Re: Enable module aliases for vio on sparc/sparc64

2016-04-13 Thread John Paul Adrian Glaubitz
On 04/14/2016 12:37 AM, David Miller wrote: > Are you sure? See my other email, VIO devices don't come from the > Openfirmware device tree at all. Yeah, I modified Ben's patch and it works: root@deb4g:/sys/devices/channel-devices# cat vdc*/mod* vio:Tvdc-portSunknown vio:Tvdc-portSunknown

Re: Enable module aliases for vio on sparc/sparc64

2016-04-13 Thread David Miller
From: John Paul Adrian Glaubitz Date: Wed, 13 Apr 2016 17:33:25 +0200 > On 04/11/2016 09:04 PM, David Miller wrote: >> Either way, I'll look at this patch, thanks. > > Just as a heads-up: > > The suggested patch does not work unfortunately. Modules are not >

Re: Enable module aliases for vio on sparc/sparc64

2016-04-13 Thread John Paul Adrian Glaubitz
On 04/14/2016 12:23 AM, David Miller wrote: > The missing bit is probably having the individual sparc64 VIO drivers > define proper module aliases. I'm actually currently working on a patch. The aliases are already working, now it's just the actual hotplug handler which is missing. Adrian --

Re: Enable module aliases for vio on sparc/sparc64

2016-04-13 Thread John Paul Adrian Glaubitz
On 04/11/2016 09:04 PM, David Miller wrote: > Either way, I'll look at this patch, thanks. Just as a heads-up: The suggested patch does not work unfortunately. Modules are not loaded automatically and it seems modaliases are not generated properly. It seems that the vio implementation for sparc

Re: Enable module aliases for vio on sparc/sparc64

2016-04-12 Thread John Paul Adrian Glaubitz
Hi! On 04/11/2016 09:04 PM, David Miller wrote: > Thanks for bringing this up. > > Although I wonder, I was able to successfully install debian just fine > a couple years ago in LDOM guest nodes without any special changes > whatsoever. Were there autoload hacks placed in /etc or similar >

Re: Enable module aliases for vio on sparc/sparc64

2016-04-11 Thread David Miller
From: John Paul Adrian Glaubitz Date: Mon, 11 Apr 2016 09:30:54 +0200 > Hi Dave! > > We have had issues when installing Debian's sparc64 port on SPARC > machines with virtualization support. In order to be able to install > Linux into an LDOM container, both the

Enable module aliases for vio on sparc/sparc64

2016-04-11 Thread John Paul Adrian Glaubitz
Hi Dave! We have had issues when installing Debian's sparc64 port on SPARC machines with virtualization support. In order to be able to install Linux into an LDOM container, both the modules sunvdc and sunvnet need to be loaded to enable block device and networking support within the virtual