Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.6 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 87705C433E0 for ; Wed, 17 Mar 2021 16:17:59 +0000 (UTC) Received: from shelob.surriel.com (shelob.surriel.com [96.67.55.147]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id C805B64EBD for ; Wed, 17 Mar 2021 16:17:58 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C805B64EBD Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kroah.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=kernelnewbies-bounces+kernelnewbies=archiver.kernel.org@kernelnewbies.org Received: from localhost ([::1] helo=shelob.surriel.com) by shelob.surriel.com with esmtp (Exim 4.94) (envelope-from ) id 1lMYrt-0002WB-Pa for kernelnewbies@archiver.kernel.org; Wed, 17 Mar 2021 12:17:57 -0400 Received: from out1-smtp.messagingengine.com ([66.111.4.25]) by shelob.surriel.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94) (envelope-from ) id 1lMYq8-0000y4-Im for kernelnewbies@kernelnewbies.org; Wed, 17 Mar 2021 12:16:08 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 13C065C014E for ; Wed, 17 Mar 2021 12:16:07 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Wed, 17 Mar 2021 12:16:07 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kroah.com; h= date:from:to:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm3; bh=T6H1nGEGX2oKYK4fquTT+zKUZUz lMLvvHOElSVIfQDU=; b=o1tt/vs8IzcL/y6qSz67QN5BTVQ3bJ5sNnCADvsUyFB BYlzlOisMQzZr2BPKtkEAIDwNKAOb4CsW609x+RUqsd06mOS+aWv1WNu6gF3Obe8 Ikphfk/hUw/yzRAo+NsJEeurprk2W6dc7jxZvPTSlqckvw3RSKv7J3zbEKFEzfmO 0GWAZSB7+OD5+qSSxiieK0QThCLhQ4jFQ6ju9nQZunIYy0se8vgZ7V5Lg4jttlLK stysCqZYBLnob0oC9s9+uyoSC6baHcrOf81fs1lcTRAoaLK3+vabaYm3+VpVDnUp ZmHxJZw9w+zgozYqNxObnZMWCOZpgHTi6SynYwmyQLw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=T6H1nG EGX2oKYK4fquTT+zKUZUzlMLvvHOElSVIfQDU=; b=ssTqqoz8XURglpye/varCz NffowVY1BwN7vZRatf74ngMwlt+nmvyTA5S/z0Ig5KtRl06+H38dafCeenJTOOtG bohE9r+ax28Rezry/Jsp9wFaPBPLLUU8cXDAVokYh9PIJtBZVkrTa6xW40zSQsoJ srPjEol4evlrPy4lIlQmaTiHGSU3bmuw0RXUFtB04W/BMLTDa+1qxrWJCC+AO0aE OzMdBLsOaYFEonizD/Y56crqhAOMqelMgadkGiXbnlUVSSP7XI6tJ897tUIQB9Jf GrR9NzakwOfVnF10192ty6dOkseb/z1xLncmQewbX18TKnYK+K2Ekm/VVvx4E86w == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrudefgedgkeekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpeffhffvuffkfhggtggujgesthdtre dttddtvdenucfhrhhomhepifhrvghgucfmjfcuoehgrhgvgheskhhrohgrhhdrtghomheq necuggftrfgrthhtvghrnhepveeuheejgfffgfeivddukedvkedtleelleeghfeljeeiue eggeevueduudekvdetnecukfhppeekfedrkeeirdejgedrieegnecuvehluhhsthgvrhfu ihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepghhrvghgsehkrhhorghhrdgtoh hm X-ME-Proxy: Received: from localhost (83-86-74-64.cable.dynamic.v4.ziggo.nl [83.86.74.64]) by mail.messagingengine.com (Postfix) with ESMTPA id 5B2421080066; Wed, 17 Mar 2021 12:16:06 -0400 (EDT) Date: Wed, 17 Mar 2021 17:16:04 +0100 From: Greg KH To: kernelnewbies@kernelnewbies.org Subject: Re: Device file not appearing Message-ID: References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-BeenThere: kernelnewbies@kernelnewbies.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Learn about the Linux kernel List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: kernelnewbies-bounces+kernelnewbies=archiver.kernel.org@kernelnewbies.org On Wed, Mar 17, 2021 at 10:13:22AM -0600, Gregory Anders wrote: > On Wed, 17 Mar 2021 16:59:08 +0100, Greg KH wrote: > > Is your char device listed in /sys/dev/char/ ? > > > > If not, then you have something wrong with your call to device_create(). > > > > If so, then you need to look at whatever tool is creating your device > > nodes in /dev. Usually the kernel handles this with devtmpfs, but I do > > not know what your system uses for this. > > Indeed it is. I am working with a fairly minimal system on a Xilinx > Microblaze soft-core CPU. I have udev installed, but I'm not sure about > devtmpfs. I'll start digging in that direction and see what I find. udev does not do device node creation anymore (as of a decade or so), you should make sure devtmpfs is mounted at /dev/ in order for this to work properly. good luck! greg k-h _______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies