linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Enable CONFIG_DEVTMPFS_MOUNT to ensure /dev can be mounted correctly
@ 2013-04-11 13:56 Zhenhua Luo
  2013-04-15  5:01 ` Michael Ellerman
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Zhenhua Luo @ 2013-04-11 13:56 UTC (permalink / raw)
  To: linuxppc-dev; +Cc: Zhenhua Luo

When using recent udev, the /dev node mount requires CONFIG_DEVTMPFS_MOUNT
is enabled in Kernel. The patch enables the option in defconfig of Freescale
QorIQ targets.

Changed defconfig list:
   arch/powerpc/configs/85xx/p1023rds_defconfig
   arch/powerpc/configs/corenet32_smp_defconfig
   arch/powerpc/configs/corenet64_smp_defconfig
   arch/powerpc/configs/mpc85xx_smp_defconfig

Signed-off-by: Zhenhua Luo <zhenhua.luo@freescale.com>
---
 arch/powerpc/configs/85xx/p1023rds_defconfig |    1 +
 arch/powerpc/configs/corenet32_smp_defconfig |    1 +
 arch/powerpc/configs/corenet64_smp_defconfig |    1 +
 arch/powerpc/configs/mpc85xx_smp_defconfig   |    1 +
 4 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/arch/powerpc/configs/85xx/p1023rds_defconfig b/arch/powerpc/configs/85xx/p1023rds_defconfig
index b80bcc6..18badca 100644
--- a/arch/powerpc/configs/85xx/p1023rds_defconfig
+++ b/arch/powerpc/configs/85xx/p1023rds_defconfig
@@ -63,6 +63,7 @@ CONFIG_IPV6=y
 CONFIG_IP_SCTP=m
 CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
 CONFIG_DEVTMPFS=y
+CONFIG_DEVTMPFS_MOUNT=y
 CONFIG_PROC_DEVICETREE=y
 CONFIG_BLK_DEV_LOOP=y
 CONFIG_BLK_DEV_RAM=y
diff --git a/arch/powerpc/configs/corenet32_smp_defconfig b/arch/powerpc/configs/corenet32_smp_defconfig
index 60027c2..3dfab4c 100644
--- a/arch/powerpc/configs/corenet32_smp_defconfig
+++ b/arch/powerpc/configs/corenet32_smp_defconfig
@@ -70,6 +70,7 @@ CONFIG_IPV6=y
 CONFIG_IP_SCTP=m
 CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
 CONFIG_DEVTMPFS=y
+CONFIG_DEVTMPFS_MOUNT=y
 CONFIG_MTD=y
 CONFIG_MTD_CMDLINE_PARTS=y
 CONFIG_MTD_CHAR=y
diff --git a/arch/powerpc/configs/corenet64_smp_defconfig b/arch/powerpc/configs/corenet64_smp_defconfig
index 3d139fa..914dd3f 100644
--- a/arch/powerpc/configs/corenet64_smp_defconfig
+++ b/arch/powerpc/configs/corenet64_smp_defconfig
@@ -57,6 +57,7 @@ CONFIG_IPV6=y
 CONFIG_IP_SCTP=m
 CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
 CONFIG_DEVTMPFS=y
+CONFIG_DEVTMPFS_MOUNT=y
 CONFIG_MTD=y
 CONFIG_MTD_CMDLINE_PARTS=y
 CONFIG_MTD_CHAR=y
diff --git a/arch/powerpc/configs/mpc85xx_smp_defconfig b/arch/powerpc/configs/mpc85xx_smp_defconfig
index 8d00ea5b..d2d5135 100644
--- a/arch/powerpc/configs/mpc85xx_smp_defconfig
+++ b/arch/powerpc/configs/mpc85xx_smp_defconfig
@@ -80,6 +80,7 @@ CONFIG_IPV6=y
 CONFIG_IP_SCTP=m
 CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
 CONFIG_DEVTMPFS=y
+CONFIG_DEVTMPFS_MOUNT=y
 CONFIG_MTD=y
 CONFIG_MTD_CMDLINE_PARTS=y
 CONFIG_MTD_CHAR=y
-- 
1.7.5.4

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

* Re: [PATCH] Enable CONFIG_DEVTMPFS_MOUNT to ensure /dev can be mounted correctly
  2013-04-11 13:56 [PATCH] Enable CONFIG_DEVTMPFS_MOUNT to ensure /dev can be mounted correctly Zhenhua Luo
@ 2013-04-15  5:01 ` Michael Ellerman
  2013-04-17 11:46   ` Luo Zhenhua-B19537
  2013-07-22 22:04 ` Scott Wood
  2013-08-08  0:30 ` Scott Wood
  2 siblings, 1 reply; 6+ messages in thread
From: Michael Ellerman @ 2013-04-15  5:01 UTC (permalink / raw)
  To: Zhenhua Luo; +Cc: linuxppc-dev

On Thu, Apr 11, 2013 at 09:56:30PM +0800, Zhenhua Luo wrote:
> When using recent udev, the /dev node mount requires CONFIG_DEVTMPFS_MOUNT
> is enabled in Kernel.

Really?

I know it makes life easier when you don't have an initramfs, but is it
actually required now?

cheers

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

* RE: [PATCH] Enable CONFIG_DEVTMPFS_MOUNT to ensure /dev can be mounted correctly
  2013-04-15  5:01 ` Michael Ellerman
@ 2013-04-17 11:46   ` Luo Zhenhua-B19537
  2013-04-17 12:27     ` Gary Thomas
  0 siblings, 1 reply; 6+ messages in thread
From: Luo Zhenhua-B19537 @ 2013-04-17 11:46 UTC (permalink / raw)
  To: Michael Ellerman; +Cc: linuxppc-dev@ozlabs.org

> -----Original Message-----
> From: Michael Ellerman [mailto:michael@ellerman.id.au]
> Sent: Monday, April 15, 2013 1:02 PM
>=20
> On Thu, Apr 11, 2013 at 09:56:30PM +0800, Zhenhua Luo wrote:
> > When using recent udev, the /dev node mount requires
> > CONFIG_DEVTMPFS_MOUNT is enabled in Kernel.
>=20
> Really?
>=20
> I know it makes life easier when you don't have an initramfs, but is it
> actually required now?
[Luo Zhenhua-B19537] I didn't use initramfs when the issue is found, I thin=
k the option is required to be enabled.=20


Best Regards,

Zhenhua

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

* Re: [PATCH] Enable CONFIG_DEVTMPFS_MOUNT to ensure /dev can be mounted correctly
  2013-04-17 11:46   ` Luo Zhenhua-B19537
@ 2013-04-17 12:27     ` Gary Thomas
  0 siblings, 0 replies; 6+ messages in thread
From: Gary Thomas @ 2013-04-17 12:27 UTC (permalink / raw)
  To: linuxppc-dev

On 2013-04-17 05:46, Luo Zhenhua-B19537 wrote:
>> -----Original Message-----
>> From: Michael Ellerman [mailto:michael@ellerman.id.au]
>> Sent: Monday, April 15, 2013 1:02 PM
>>
>> On Thu, Apr 11, 2013 at 09:56:30PM +0800, Zhenhua Luo wrote:
>>> When using recent udev, the /dev node mount requires
>>> CONFIG_DEVTMPFS_MOUNT is enabled in Kernel.
>>
>> Really?
>>
>> I know it makes life easier when you don't have an initramfs, but is it
>> actually required now?
> [Luo Zhenhua-B19537] I didn't use initramfs when the issue is found, I think the option is required to be enabled.
>

Yes, it is required to get udev to work properly (versions of udev
newer than ~173)

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------

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

* Re: Enable CONFIG_DEVTMPFS_MOUNT to ensure /dev can be mounted correctly
  2013-04-11 13:56 [PATCH] Enable CONFIG_DEVTMPFS_MOUNT to ensure /dev can be mounted correctly Zhenhua Luo
  2013-04-15  5:01 ` Michael Ellerman
@ 2013-07-22 22:04 ` Scott Wood
  2013-08-08  0:30 ` Scott Wood
  2 siblings, 0 replies; 6+ messages in thread
From: Scott Wood @ 2013-07-22 22:04 UTC (permalink / raw)
  To: Zhenhua Luo; +Cc: linuxppc-dev

On Thu, Apr 11, 2013 at 09:56:30PM +0800, Zhenhua Luo wrote:
> When using recent udev, the /dev node mount requires CONFIG_DEVTMPFS_MOUNT
> is enabled in Kernel. The patch enables the option in defconfig of Freescale
> QorIQ targets.
> 
> Changed defconfig list:
>    arch/powerpc/configs/85xx/p1023rds_defconfig
>    arch/powerpc/configs/corenet32_smp_defconfig
>    arch/powerpc/configs/corenet64_smp_defconfig
>    arch/powerpc/configs/mpc85xx_smp_defconfig

What about mpc83xx and mpc85xx (non-smp)?

It'd be nice if non-hardware-specific things that are required for a
typical Linux system were "default y".  Even nicer if we could have
config fragments for various usage profiles that are separate from
hardware config.

-Scott

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

* Re: Enable CONFIG_DEVTMPFS_MOUNT to ensure /dev can be mounted correctly
  2013-04-11 13:56 [PATCH] Enable CONFIG_DEVTMPFS_MOUNT to ensure /dev can be mounted correctly Zhenhua Luo
  2013-04-15  5:01 ` Michael Ellerman
  2013-07-22 22:04 ` Scott Wood
@ 2013-08-08  0:30 ` Scott Wood
  2 siblings, 0 replies; 6+ messages in thread
From: Scott Wood @ 2013-08-08  0:30 UTC (permalink / raw)
  To: Zhenhua Luo; +Cc: linuxppc-dev

On Thu, Apr 11, 2013 at 09:56:30PM +0800, Zhenhua Luo wrote:
> When using recent udev, the /dev node mount requires CONFIG_DEVTMPFS_MOUNT
> is enabled in Kernel. The patch enables the option in defconfig of Freescale
> QorIQ targets.
> 
> Changed defconfig list:
>    arch/powerpc/configs/85xx/p1023rds_defconfig
>    arch/powerpc/configs/corenet32_smp_defconfig
>    arch/powerpc/configs/corenet64_smp_defconfig
>    arch/powerpc/configs/mpc85xx_smp_defconfig
> 
> Signed-off-by: Zhenhua Luo <zhenhua.luo@freescale.com>
> 
> ---
> arch/powerpc/configs/85xx/p1023rds_defconfig |    1 +
>  arch/powerpc/configs/corenet32_smp_defconfig |    1 +
>  arch/powerpc/configs/corenet64_smp_defconfig |    1 +
>  arch/powerpc/configs/mpc85xx_smp_defconfig   |    1 +
>  4 files changed, 4 insertions(+), 0 deletions(-)

Applied with mpc85xx_defconfig and mpc83xx_defconfig added.

-Scott

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

end of thread, other threads:[~2013-08-08  0:30 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-11 13:56 [PATCH] Enable CONFIG_DEVTMPFS_MOUNT to ensure /dev can be mounted correctly Zhenhua Luo
2013-04-15  5:01 ` Michael Ellerman
2013-04-17 11:46   ` Luo Zhenhua-B19537
2013-04-17 12:27     ` Gary Thomas
2013-07-22 22:04 ` Scott Wood
2013-08-08  0:30 ` Scott Wood

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).