From owner-devfs@oss.sgi.com Mon Apr 1 14:13:00 2002 Received: (from majordomo@localhost) by oss.sgi.com (8.11.6/8.11.3) id g31MD0R01518 for devfs-outgoing; Mon, 1 Apr 2002 14:13:00 -0800 Received: from deliverator.sgi.com (deliverator.sgi.com [204.94.214.10]) by oss.sgi.com (8.11.6/8.11.3) with SMTP id g31MCjo01432; Mon, 1 Apr 2002 14:12:45 -0800 Received: from noose.gt.owl.de (noose.gt.owl.de [62.52.19.4]) by deliverator.sgi.com (980309.SGI.8.8.8-aspam-6.2/980310.SGI-aspam) via ESMTP id LAA21785; Mon, 1 Apr 2002 11:39:03 -0800 (PST) mail_from (flo@rfc822.org) Received: by noose.gt.owl.de (Postfix, from userid 10) id 623A97F6; Mon, 1 Apr 2002 21:30:22 +0200 (CEST) Received: by paradigm.rfc822.org (Postfix, from userid 1000) id 85A573704F; Mon, 1 Apr 2002 21:29:57 +0200 (CEST) Date: Mon, 1 Apr 2002 21:29:57 +0200 From: Florian Lohoff To: Raoul Borenius Cc: Ralf Baechle , linux-mips@oss.sgi.com, devfs@oss.sgi.com Subject: Re: broken devfs-support in SGI Zilog8530 serial driver Message-ID: <20020401192957.GA1389@paradigm.rfc822.org> References: <20020329103244.GA15765@bunny.shuttle.de> <20020329233559.A31160@dea.linux-mips.net> <20020330132856.GA24305@bunny.shuttle.de> <20020331150023.GA30224@bunny.shuttle.de> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ew6BAiZeqk4r7MaW" Content-Disposition: inline In-Reply-To: <20020331150023.GA30224@bunny.shuttle.de> User-Agent: Mutt/1.3.28i Organization: rfc822 - pure communication Sender: owner-devfs@oss.sgi.com Precedence: bulk --ew6BAiZeqk4r7MaW Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Mar 31, 2002 at 05:00:23PM +0200, Raoul Borenius wrote: > Thanks for including the changes fr the ttyS's. But it seems you forgot t= he > callout-devices: >=20 > > @@ -1911,7 +1915,11 @@ > > * major number and the subtype code. > > */ > > callout_driver =3D serial_driver; > > +#ifdef CONFIG_DEVFS_FS > > + callout_driver.name =3D "cua/%d"; > > +#else > > callout_driver.name =3D "cua"; > > +#endif > > callout_driver.major =3D TTYAUX_MAJOR; > > callout_driver.subtype =3D SERIAL_TYPE_CALLOUT; > >=20 >=20 > Could you commit that too? >=20 I thought the callout devices are officially "dead" and should disappear "Real Soon Now(tm)" as beeing a locking hell and unneeded. Flo --=20 Florian Lohoff flo@rfc822.org +49-5201-669912 Nine nineth on september the 9th Welcome to the new billenium --ew6BAiZeqk4r7MaW Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE8qLU1Uaz2rXW+gJcRAjZpAJ9uVKLMj8Wgx6VQgc9W9IrpM7c+kACeMD0q BPbPAsgBEFTXxJrcTz2tUeQ= =QeeF -----END PGP SIGNATURE----- --ew6BAiZeqk4r7MaW-- From owner-devfs@oss.sgi.com Mon Apr 1 14:16:54 2002 Received: (from majordomo@localhost) by oss.sgi.com (8.11.6/8.11.3) id g31MGsB01833 for devfs-outgoing; Mon, 1 Apr 2002 14:16:54 -0800 Received: from mailhost.uni-koblenz.de (root@mailhost.uni-koblenz.de [141.26.64.1]) by oss.sgi.com (8.11.6/8.11.3) with SMTP id g31MGpo01830; Mon, 1 Apr 2002 14:16:51 -0800 Received: from eddie (eddie.uni-koblenz.de [141.26.64.59]) by mailhost.uni-koblenz.de (8.11.6/8.11.6/SuSE Linux 0.5) with SMTP id g31MGnt00419; Tue, 2 Apr 2002 00:16:49 +0200 Received: from dea.linux-mips.net by eddie (SMI-8.6/KO-2.0) id AAA20962; Tue, 2 Apr 2002 00:16:48 +0200 Received: (from ralf@localhost) by dea.linux-mips.net (8.11.6/8.11.1) id g31MGe103667; Mon, 1 Apr 2002 14:16:40 -0800 Date: Mon, 1 Apr 2002 14:16:40 -0800 From: Ralf Baechle To: Florian Lohoff Cc: Raoul Borenius , linux-mips@oss.sgi.com, devfs@oss.sgi.com Subject: Re: broken devfs-support in SGI Zilog8530 serial driver Message-ID: <20020401141640.A3643@dea.linux-mips.net> References: <20020329103244.GA15765@bunny.shuttle.de> <20020329233559.A31160@dea.linux-mips.net> <20020330132856.GA24305@bunny.shuttle.de> <20020331150023.GA30224@bunny.shuttle.de> <20020401192957.GA1389@paradigm.rfc822.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020401192957.GA1389@paradigm.rfc822.org>; from flo@rfc822.org on Mon, Apr 01, 2002 at 09:29:57PM +0200 X-Accept-Language: de,en,fr X-Virus-Scanned: by AMaViS-perl11-milter (http://amavis.org/) Sender: owner-devfs@oss.sgi.com Precedence: bulk On Mon, Apr 01, 2002 at 09:29:57PM +0200, Florian Lohoff wrote: > > Could you commit that too? > > > > I thought the callout devices are officially "dead" and should disappear > "Real Soon Now(tm)" as beeing a locking hell and unneeded. Really Soon Now doesn't mean what you want it to mean in a world that is driven by backward compatibility ... Ralf From owner-devfs@oss.sgi.com Sun Apr 7 09:39:56 2002 Received: from oss.sgi.com (localhost.localdomain [127.0.0.1]) by oss.sgi.com (8.12.3/8.12.3) with ESMTP id g37GduVK005981 for ; Sun, 7 Apr 2002 09:39:56 -0700 Received: (from mail@localhost) by oss.sgi.com (8.12.3/8.12.3/Submit) id g37Gduik005980 for devfs-outgoing; Sun, 7 Apr 2002 09:39:56 -0700 X-Authentication-Warning: oss.sgi.com: mail set sender to owner-devfs@oss.sgi.com using -f Received: from sgi.com (sgi-too.SGI.COM [204.94.211.39]) by oss.sgi.com (8.12.3/8.12.3) with SMTP id g37GcTVO005933 for ; Sun, 7 Apr 2002 09:39:52 -0700 Received: from vindaloo.ras.ucalgary.ca (vindaloo.ras.ucalgary.ca [136.159.55.21]) by sgi.com (980327.SGI.8.8.8-aspam/980304.SGI-aspam: SGI does not authorize the use of its proprietary systems or networks for unsolicited or bulk email from the Internet.) via ESMTP id PAA08737 for ; Sat, 6 Apr 2002 15:39:17 -0800 (PST) mail_from (rgooch@vindaloo.ras.ucalgary.ca) Received: (from rgooch@localhost) by vindaloo.ras.ucalgary.ca (8.10.0/8.10.0) id g36Nbuk03085; Sat, 6 Apr 2002 16:37:56 -0700 Date: Sat, 6 Apr 2002 16:37:56 -0700 Message-Id: <200204062337.g36Nbuk03085@vindaloo.ras.ucalgary.ca> From: Richard Gooch To: linux-kernel@vger.kernel.org, devfs-announce-list@vindaloo.ras.ucalgary.ca Subject: [PATCH] devfs v199.12 available Sender: owner-devfs@oss.sgi.com Precedence: bulk Hi, all. Version 199.12 of my devfs patch is now available from: http://www.atnf.csiro.au/~rgooch/linux/kernel-patches.html The devfs FAQ is also available here. Patch directly available from: ftp://ftp.??.kernel.org/pub/linux/kernel/people/rgooch/v2.4/devfs-patch-current.gz AND: ftp://ftp.atnf.csiro.au/pub/people/rgooch/linux/kernel-patches/v2.4/devfs-patch-current.gz This is against 2.4.19-pre6. Highlights of this release: - Updated README from master HTML file - Changed fs/devfs/util.c to kdev_t compatibility macros Regards, Richard.... Permanent: rgooch@atnf.csiro.au Current: rgooch@ras.ucalgary.ca From owner-devfs@oss.sgi.com Sun Apr 7 12:57:33 2002 Received: from oss.sgi.com (localhost.localdomain [127.0.0.1]) by oss.sgi.com (8.12.3/8.12.3) with ESMTP id g37JvXVK008121 for ; Sun, 7 Apr 2002 12:57:33 -0700 Received: (from mail@localhost) by oss.sgi.com (8.12.3/8.12.3/Submit) id g37JvWgU008120 for devfs-outgoing; Sun, 7 Apr 2002 12:57:32 -0700 X-Authentication-Warning: oss.sgi.com: mail set sender to owner-devfs@oss.sgi.com using -f Received: from vindaloo.ras.ucalgary.ca (vindaloo.ras.ucalgary.ca [136.159.55.21]) by oss.sgi.com (8.12.3/8.12.3) with SMTP id g37JvPVK008116 for ; Sun, 7 Apr 2002 12:57:26 -0700 Received: (from rgooch@localhost) by vindaloo.ras.ucalgary.ca (8.10.0/8.10.0) id g37Juer24892; Sun, 7 Apr 2002 13:56:40 -0600 Date: Sun, 7 Apr 2002 13:56:40 -0600 Message-Id: <200204071956.g37Juer24892@vindaloo.ras.ucalgary.ca> From: Richard Gooch To: linux-kernel@vger.kernel.org, devfs-announce-list@vindaloo.ras.ucalgary.ca Subject: [PATCH] devfs v209 available Sender: owner-devfs@oss.sgi.com Precedence: bulk Hi, all. Version 209 of my devfs patch is now available from: http://www.atnf.csiro.au/~rgooch/linux/kernel-patches.html The devfs FAQ is also available here. Patch directly available from: ftp://ftp.??.kernel.org/pub/linux/kernel/people/rgooch/v2.5/devfs-patch-current.gz AND: ftp://ftp.atnf.csiro.au/pub/people/rgooch/linux/kernel-patches/v2.5/devfs-patch-current.gz NOTE: kernel 2.5.1 and later require devfsd-v1.3.19 or later. This is against 2.5.8-pre2. Highlights of this release: - Updated README from master HTML file - Removed silently introduced calls to lock_kernel() and unlock_kernel() due to recent VFS locking changes. BKL isn't required in devfs - Changed to allow later additions if not yet empty - Added calls to in drivers/block/blkpc.c and - Fixed bug in : was clearing beyond bitfield - Fixed bitfield data type for - Made major bitfield type and initialiser 64 bit safe Regards, Richard.... Permanent: rgooch@atnf.csiro.au Current: rgooch@ras.ucalgary.ca From owner-devfs@oss.sgi.com Mon Apr 8 00:21:13 2002 Received: from oss.sgi.com (localhost.localdomain [127.0.0.1]) by oss.sgi.com (8.12.3/8.12.3) with ESMTP id g387LDVK020947 for ; Mon, 8 Apr 2002 00:21:13 -0700 Received: (from mail@localhost) by oss.sgi.com (8.12.3/8.12.3/Submit) id g387LD6x020946 for devfs-outgoing; Mon, 8 Apr 2002 00:21:13 -0700 X-Authentication-Warning: oss.sgi.com: mail set sender to owner-devfs@oss.sgi.com using -f Received: from web14006.mail.yahoo.com (web14006.mail.yahoo.com [216.136.175.122]) by oss.sgi.com (8.12.3/8.12.3) with SMTP id g387L8VK020943 for ; Mon, 8 Apr 2002 00:21:08 -0700 Message-ID: <20020408072127.55920.qmail@web14006.mail.yahoo.com> Received: from [139.132.1.9] by web14006.mail.yahoo.com via HTTP; Mon, 08 Apr 2002 17:21:27 EST Date: Mon, 8 Apr 2002 17:21:27 +1000 (EST) From: =?iso-8859-1?q?Ashley=20Smith?= Subject: devfs mingetty problem To: devfs@oss.sgi.com MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-devfs@oss.sgi.com Precedence: bulk Hi folks, I'm running Suse linux 7.2 with a 2.4.18 kernel, devfs 1.10 and devfsd 1.3.24. Devfs is running ok(ish) in compatibility mode (ie. the old device names shown as well as the new ones) but I'm trying to migrate to the new names so I can turn compatibility off. I've hit a problem when trying to change inittab from: 2:2345:respawn:/sbin/mingetty tty2 to: 2:2345:respawn:/sbin/mingetty vc/2 When I do this and restart, I get the following message at the login prompt: init: Id "2" respawning too fast: disabled for 5 minutes When I log in and check /var/log/messages I see: mingetty[500]: /dev/2: No such file or directory This makes me scratch my head since I have said vc/2 in inittab, not 2. Can anyone suggest what I might be doing wrong? ps. I've read the FAQ, done about 500 google searches, looked through the mailing list archives and asked on #linux on IRC. Any help at this point is *much* appreciated. I'm fairly new to linux, and whilst getting this to work is a good learning exercise I'm starting to hit a brick wall. -- Ashley Smith http://www.sold.com.au - SOLD.com.au Auctions - 1,000s of Bargains! From owner-devfs@oss.sgi.com Mon Apr 8 00:34:08 2002 Received: from oss.sgi.com (localhost.localdomain [127.0.0.1]) by oss.sgi.com (8.12.3/8.12.3) with ESMTP id g387Y8VK021365 for ; Mon, 8 Apr 2002 00:34:08 -0700 Received: (from mail@localhost) by oss.sgi.com (8.12.3/8.12.3/Submit) id g387Y4NG021364 for devfs-outgoing; Mon, 8 Apr 2002 00:34:04 -0700 X-Authentication-Warning: oss.sgi.com: mail set sender to owner-devfs@oss.sgi.com using -f Received: from argo.anu.edu.au (postfix@argo.anu.edu.au [150.203.5.57]) by oss.sgi.com (8.12.3/8.12.3) with SMTP id g387XxVK021361 for ; Mon, 8 Apr 2002 00:34:00 -0700 Received: by argo.anu.edu.au (Postfix, from userid 9363) id C965441C22C; Mon, 8 Apr 2002 17:34:15 +1000 (EST) Date: Mon, 8 Apr 2002 17:34:15 +1000 (EST) To: devfs@oss.sgi.com Subject: Re: devfs mingetty problem From: "Roger W.Brown" X-Mailer: Ishmail 2.0.0-20010429-i686-Bregor-linux-gnu MIME-Version: 1.0 Content-Type: text/plain Message-Id: <20020408073415.C965441C22C@argo.anu.edu.au> Sender: owner-devfs@oss.sgi.com Precedence: bulk Ashley Smith has written: "I've hit a problem when trying to change inittab from: 2:2345:respawn:/sbin/mingetty tty2 to: 2:2345:respawn:/sbin/mingetty vc/2 When I do this and restart, I get the following message at the login prompt: init: Id "2" respawning too fast: disabled for 5 minutes" I recall solving this problem, some time ago, my making minor changes to the mingetty code. In the end, I gave up using mingetty, as I have to confess that I was not certain that my fix was valid and that it would stand the test of time. I should be able to locate the patch, if it is important. -- Roger Brown From owner-devfs@oss.sgi.com Mon Apr 8 00:35:06 2002 Received: from oss.sgi.com (localhost.localdomain [127.0.0.1]) by oss.sgi.com (8.12.3/8.12.3) with ESMTP id g387Z6VK021409 for ; Mon, 8 Apr 2002 00:35:06 -0700 Received: (from mail@localhost) by oss.sgi.com (8.12.3/8.12.3/Submit) id g387Z6Eg021408 for devfs-outgoing; Mon, 8 Apr 2002 00:35:06 -0700 X-Authentication-Warning: oss.sgi.com: mail set sender to owner-devfs@oss.sgi.com using -f Received: from david.siemens.de (david.siemens.de [192.35.17.14]) by oss.sgi.com (8.12.3/8.12.3) with SMTP id g387Z2VK021405 for ; Mon, 8 Apr 2002 00:35:03 -0700 Received: from mail1.siemens.de (mail1.siemens.de [139.23.33.14]) by david.siemens.de (8.11.6/8.11.6) with ESMTP id g387ZKd01466; Mon, 8 Apr 2002 09:35:20 +0200 (MET DST) Received: from MOWD019A.mow.siemens.ru ([139.24.18.3]) by mail1.siemens.de (8.11.6/8.11.6) with ESMTP id g387ZJW05843; Mon, 8 Apr 2002 09:35:19 +0200 (MEST) Received: by mowd019a.mow.siemens.ru with Internet Mail Service (5.5.2653.19) id <2L3L43KJ>; Mon, 8 Apr 2002 11:40:34 +0400 Received: from MW1G17C ([163.242.193.31]) by MOWD019A.mow.siemens.ru with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id 2L3L43KH; Mon, 8 Apr 2002 11:40:28 +0400 From: Borsenkow Andrej To: "'Ashley Smith'" , devfs@oss.sgi.com Subject: RE: devfs mingetty problem Date: Mon, 8 Apr 2002 11:35:09 +0400 Message-ID: <000001c1decf$eafbc690$1fc1f2a3@mow.siemens.ru> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.3416 Importance: Normal x-mimeole: Produced By Microsoft MimeOLE V6.00.2600.0000 In-Reply-To: <20020408072127.55920.qmail@web14006.mail.yahoo.com> Sender: owner-devfs@oss.sgi.com Precedence: bulk > > I'm running Suse linux 7.2 with a 2.4.18 kernel, devfs > 1.10 and devfsd 1.3.24. Devfs is running ok(ish) in > compatibility mode (ie. the old device names shown as > well as the new ones) but I'm trying to migrate to the > new names so I can turn compatibility off. > I personally do not see any advantage in removing compatibility aliases, but it is strictly MHO. > This makes me scratch my head since I have said vc/2 > in inittab, not 2. Can anyone suggest what I might be > doing wrong? > You are sending to wrong list :-) It has nothing to do with devfs. Get sources of mingetty and/or init and check what they are doing with this parameter. -andrej From owner-devfs@oss.sgi.com Mon Apr 8 01:48:06 2002 Received: from oss.sgi.com (localhost.localdomain [127.0.0.1]) by oss.sgi.com (8.12.3/8.12.3) with ESMTP id g388m6VK023140 for ; Mon, 8 Apr 2002 01:48:06 -0700 Received: (from mail@localhost) by oss.sgi.com (8.12.3/8.12.3/Submit) id g388m6en023139 for devfs-outgoing; Mon, 8 Apr 2002 01:48:06 -0700 X-Authentication-Warning: oss.sgi.com: mail set sender to owner-devfs@oss.sgi.com using -f Received: from web14002.mail.yahoo.com (web14002.mail.yahoo.com [216.136.175.93]) by oss.sgi.com (8.12.3/8.12.3) with SMTP id g388m0VK023134 for ; Mon, 8 Apr 2002 01:48:00 -0700 Message-ID: <20020408084819.95602.qmail@web14002.mail.yahoo.com> Received: from [203.27.87.7] by web14002.mail.yahoo.com via HTTP; Mon, 08 Apr 2002 18:48:19 EST Date: Mon, 8 Apr 2002 18:48:19 +1000 (EST) From: =?iso-8859-1?q?Ashley=20Smith?= Subject: Re: devfs mingetty problem To: "Roger W.Brown" Cc: devfs@oss.sgi.com In-Reply-To: <20020408073415.C965441C22C@argo.anu.edu.au> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-devfs@oss.sgi.com Precedence: bulk Thanks for the quick response Roger (and others). Would you be able to either let me know what you used instead of mingetty (a snippet from inittab would be perfect!) or pass the mingetty patch on to me. Much appreciated. --- "Roger W.Brown" wrote: > > Ashley Smith has written: > > "I've hit a problem when trying to change inittab > from: > 2:2345:respawn:/sbin/mingetty tty2 > to: > 2:2345:respawn:/sbin/mingetty vc/2 > When I do this and restart, I get the following > message at the login prompt: > init: Id "2" respawning too fast: disabled for 5 > minutes" > > > I recall solving this problem, some time ago, my > making > minor changes to the mingetty code. In the end, I > gave > up using mingetty, as I have to confess that I was > not > certain that my fix was valid and that it would > stand > the test of time. > > I should be able to locate the patch, if it is > important. > > -- > Roger Brown > http://www.sold.com.au - SOLD.com.au Auctions - 1,000s of Bargains! From owner-devfs@oss.sgi.com Mon Apr 8 13:36:44 2002 Received: from oss.sgi.com (localhost.localdomain [127.0.0.1]) by oss.sgi.com (8.12.3/8.12.3) with ESMTP id g38Kai8d004352 for ; Mon, 8 Apr 2002 13:36:44 -0700 Received: (from mail@localhost) by oss.sgi.com (8.12.3/8.12.3/Submit) id g38Kaihf004351 for devfs-outgoing; Mon, 8 Apr 2002 13:36:44 -0700 X-Authentication-Warning: oss.sgi.com: mail set sender to owner-devfs@oss.sgi.com using -f Received: from smtpzilla2.xs4all.nl (smtpzilla2.xs4all.nl [194.109.127.138]) by oss.sgi.com (8.12.3/8.12.3) with SMTP id g38Kaa8d004346 for ; Mon, 8 Apr 2002 13:36:36 -0700 Received: from there (a80-126-2-237.adsl.xs4all.nl [80.126.2.237]) by smtpzilla2.xs4all.nl (8.12.0/8.12.0) with SMTP id g38Katxa046430 for ; Mon, 8 Apr 2002 22:36:56 +0200 (CEST) Message-Id: <200204082036.g38Katxa046430@smtpzilla2.xs4all.nl> Content-Type: text/plain; charset="iso-8859-15" From: Erik van Konijnenburg Reply-To: ekonijn@xs4all.nl To: devfs@oss.sgi.com Subject: combining devfsd and PAM Date: Mon, 8 Apr 2002 22:36:54 +0200 X-Mailer: KMail [version 1.3.2] MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: owner-devfs@oss.sgi.com Precedence: bulk Getting PAM and devfsd to work together smoothly has given me some trouble. I think a line of advice in the devfs README would have helped a lot: In console.perms, handle not only /dev but also /dev-state. Is this indeed how it's done? Comments much appreciated. The problem: if you're using PAM to set device ownership, you're likely to get bitten by the following scenario: - When the user logs in after reboot, PAM sets permissions on devices. - The console user tries to open a sound device, triggering a modprobe. - Devfsd registers the sound device, but doesn't give ownership to the user. - PAM does not get a chance to do its thing. - Opening the sound device fails with permission denied. - The user can work around this by logging in again, but that's ugly. No solution: - call PAM from within devfsd. PAM is not built to survive the very first stages of booting; hanging machines can result. The first solution: - at login time, let PAM set the mode on some dummy file. - on registration, for those devices where you want the PAM modes to apply, let devfsd copy mode and ownership from the dummy file to the new device. You'll need a bit of C code to copy the modes reliably, without EXECUTE "sh -c 'ls | awk { blah } | sh'". The second solution: - use /dev-state in the normal manner. - let PAM set modes not only in /dev, but also in /dev-state. This is a trivial change in console.perms, and the devices for PAM to manage in /dev-state are provided automatically by devfsd, without any administrator intervention. - now if devfsd is notified of a new device, it will apply the modes that PAM thoughtfully supplied in /dev-state. Comparing the two solutions: - the first needs extra C code, and it requires PAM-sensitive devices to be administered in both console.perms and devfsd.conf. - the second solution works without extra C code, without extra devfsd configuration, and handles everything in one place: console.perms. Regards, Erik From owner-devfs@oss.sgi.com Mon Apr 8 21:57:38 2002 Received: from oss.sgi.com (localhost.localdomain [127.0.0.1]) by oss.sgi.com (8.12.3/8.12.3) with ESMTP id g394vc8d016628 for ; Mon, 8 Apr 2002 21:57:38 -0700 Received: (from mail@localhost) by oss.sgi.com (8.12.3/8.12.3/Submit) id g394vc9U016627 for devfs-outgoing; Mon, 8 Apr 2002 21:57:38 -0700 X-Authentication-Warning: oss.sgi.com: mail set sender to owner-devfs@oss.sgi.com using -f Received: from thoth.sbs.de (thoth.sbs.de [192.35.17.2]) by oss.sgi.com (8.12.3/8.12.3) with SMTP id g394vT8d016615 for ; Mon, 8 Apr 2002 21:57:30 -0700 Received: from mail3.siemens.de (mail3.siemens.de [139.25.208.14]) by thoth.sbs.de (8.11.6/8.11.6) with ESMTP id g394vmX07355; Tue, 9 Apr 2002 06:57:48 +0200 (MEST) Received: from MOWD019A.mow.siemens.ru ([139.24.18.3]) by mail3.siemens.de (8.11.6/8.11.6) with ESMTP id g394vln03420; Tue, 9 Apr 2002 06:57:47 +0200 (MEST) Received: by mowd019a.mow.siemens.ru with Internet Mail Service (5.5.2653.19) id <2RV2KWP4>; Tue, 9 Apr 2002 09:03:04 +0400 Received: from MW1G17C ([163.242.193.31]) by MOWD019A.mow.siemens.ru with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id 2RV2KWPT; Tue, 9 Apr 2002 09:03:00 +0400 From: Borsenkow Andrej To: ekonijn@xs4all.nl, devfs@oss.sgi.com Subject: RE: combining devfsd and PAM Date: Tue, 9 Apr 2002 08:57:40 +0400 Message-ID: <000201c1df83$14d5f2c0$1fc1f2a3@mow.siemens.ru> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.3416 x-mimeole: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal In-Reply-To: <200204082036.g38Katxa046430@smtpzilla2.xs4all.nl> Sender: owner-devfs@oss.sgi.com Precedence: bulk > > Getting PAM and devfsd to work together smoothly has given me some > trouble. I think a line of advice in the devfs README would have > helped a lot: > > In console.perms, handle not only /dev but also /dev-state. > Look in Mandrake 8.2 that has PAM module for devfsd. We had some troubles (mostly lack of experience) initially but in 8.2 it should be pretty complete and hopefully mostly bug-free :-) Bug reports are welcome still. I do not understand your comments about PAM being unsuitable for booting. -andrej > Is this indeed how it's done? Comments much appreciated. > > The problem: if you're using PAM to set device ownership, you're likely > to get bitten by the following scenario: > - When the user logs in after reboot, PAM sets permissions on devices. > - The console user tries to open a sound device, triggering a modprobe. > - Devfsd registers the sound device, but doesn't give ownership to the user. > - PAM does not get a chance to do its thing. > - Opening the sound device fails with permission denied. > - The user can work around this by logging in again, but that's ugly. > > No solution: > - call PAM from within devfsd. PAM is not built to survive > the very first stages of booting; hanging machines can result. > > The first solution: > - at login time, let PAM set the mode on some dummy file. > - on registration, for those devices where you want the PAM modes > to apply, let devfsd copy mode and ownership from the > dummy file to the new device. You'll need a bit of C code to copy > the modes reliably, without EXECUTE "sh -c 'ls | awk { blah } | sh'". > > The second solution: > - use /dev-state in the normal manner. > - let PAM set modes not only in /dev, but also in /dev-state. > This is a trivial change in console.perms, and the devices for > PAM to manage in /dev-state are provided automatically by devfsd, > without any administrator intervention. > - now if devfsd is notified of a new device, it will apply the > modes that PAM thoughtfully supplied in /dev-state. > > Comparing the two solutions: > - the first needs extra C code, and it requires PAM-sensitive > devices to be administered in both console.perms and devfsd.conf. > - the second solution works without extra C code, without extra > devfsd configuration, and handles everything in one place: console.perms. > > Regards, > Erik From owner-devfs@oss.sgi.com Tue Apr 9 00:18:03 2002 Received: from oss.sgi.com (localhost.localdomain [127.0.0.1]) by oss.sgi.com (8.12.3/8.12.3) with ESMTP id g397I38d007610 for ; Tue, 9 Apr 2002 00:18:03 -0700 Received: (from mail@localhost) by oss.sgi.com (8.12.3/8.12.3/Submit) id g397I3pI007608 for devfs-outgoing; Tue, 9 Apr 2002 00:18:03 -0700 X-Authentication-Warning: oss.sgi.com: mail set sender to owner-devfs@oss.sgi.com using -f Received: from web14003.mail.yahoo.com (web14003.mail.yahoo.com [216.136.175.94]) by oss.sgi.com (8.12.3/8.12.3) with SMTP id g397Hv8d007602 for ; Tue, 9 Apr 2002 00:17:57 -0700 Message-ID: <20020409071819.55310.qmail@web14003.mail.yahoo.com> Received: from [203.27.87.7] by web14003.mail.yahoo.com via HTTP; Tue, 09 Apr 2002 17:18:19 EST Date: Tue, 9 Apr 2002 17:18:19 +1000 (EST) From: =?iso-8859-1?q?Ashley=20Smith?= Subject: RE: devfs mingetty problem To: Andrej.Borsenkow@mow.siemens.ru, devfs@oss.sgi.com In-Reply-To: <000001c1decf$eafbc690$1fc1f2a3@mow.siemens.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-devfs@oss.sgi.com Precedence: bulk --- Borsenkow Andrej wrote: > > > > You are sending to wrong list :-) It has nothing to > do with devfs. Get > sources of mingetty and/or init and check what they > are doing with this > parameter. Aah.. you were spot on. I was stuck in the mindset "I installed devfs...things broke...it must be a devfs problem". I ended up switching over to agetty and it works a treat. I've managed to boot into X with compatibility mode off, and although a couple of things are quite 100% yet (mouse not working) I have a nice clean looking /dev. Thanks for the prod in the right direction. http://www.sold.com.au - SOLD.com.au Auctions - 1,000s of Bargains! From owner-devfs@oss.sgi.com Thu Apr 11 12:53:33 2002 Received: from oss.sgi.com (localhost.localdomain [127.0.0.1]) by oss.sgi.com (8.12.3/8.12.3) with ESMTP id g3BJrX8d007378 for ; Thu, 11 Apr 2002 12:53:33 -0700 Received: (from majordomo@localhost) by oss.sgi.com (8.12.3/8.12.3/Submit) id g3BJrXQf007377 for devfs-outgoing; Thu, 11 Apr 2002 12:53:33 -0700 X-Authentication-Warning: oss.sgi.com: majordomo set sender to owner-devfs@oss.sgi.com using -f Received: from ls212.hinet.hr (ls212.hinet.hr [195.29.150.91]) by oss.sgi.com (8.12.3/8.12.3) with SMTP id g3BJrS8d007372 for ; Thu, 11 Apr 2002 12:53:30 -0700 Received: from ls401.hinet.hr (ls401.hinet.hr [195.29.150.2]) by ls212.hinet.hr (0.0.0/8.11.6) with ESMTP id g3BJs1p24294 for ; Thu, 11 Apr 2002 21:54:01 +0200 Received: from hidden-city.net (ar6-m133.net.hinet.hr [195.29.69.133]) by ls401.hinet.hr (8.11.6/8.11.3) with ESMTP id g3BJs0N27133 for ; Thu, 11 Apr 2002 21:54:00 +0200 Message-ID: <3CB620FE.5020301@hidden-city.net> Date: Fri, 12 Apr 2002 01:49:18 +0200 From: Dragan Stanojevic - Nevidljivi User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.9) Gecko/20020313 X-Accept-Language: en-us, en MIME-Version: 1.0 To: devfs@oss.sgi.com Subject: Removable media (ZIP drive) Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-devfs@oss.sgi.com Precedence: bulk Hi! I'm new to this devfs thingy, and I like it so far.... but I have a IDE ZIP drive... If the ZIP disk is not in the drive during the boot process than the device files are created, but if the disk is not in the drive, there are no device files, and I don't know how to set up the daemon to create them on-the-fly... Also, will the new names of the devices stay the same or will they change as the daemon changes... And the last thing... Is there any point to use new names, and slowly transition to them in config files or should we use the old names for now? with regards, N. From owner-devfs@oss.sgi.com Thu Apr 11 13:05:43 2002 Received: from oss.sgi.com (localhost.localdomain [127.0.0.1]) by oss.sgi.com (8.12.3/8.12.3) with ESMTP id g3BK5h8d007713 for ; Thu, 11 Apr 2002 13:05:43 -0700 Received: (from majordomo@localhost) by oss.sgi.com (8.12.3/8.12.3/Submit) id g3BK5hoj007712 for devfs-outgoing; Thu, 11 Apr 2002 13:05:43 -0700 X-Authentication-Warning: oss.sgi.com: majordomo set sender to owner-devfs@oss.sgi.com using -f Received: from mail.labsysgrp.com (wsip68-14-236-254.ph.ph.cox.net [68.14.236.254]) by oss.sgi.com (8.12.3/8.12.3) with SMTP id g3BK5Z8d007702 for ; Thu, 11 Apr 2002 13:05:36 -0700 Received: from mail by mail.labsysgrp.com with scanned-ok (Exim 3.34 #1) id 16vkpX-0004rc-00 for devfs@oss.sgi.com; Thu, 11 Apr 2002 13:06:03 -0700 Received: from jeeves.kpf.internal ([192.168.170.1]) by mail.labsysgrp.com with esmtp (Exim 3.34 #1) id 16vkpX-0004rJ-00; Thu, 11 Apr 2002 13:06:03 -0700 Received: from [192.168.170.108] (helo=KPFW2K) by jeeves.kpf.internal with smtp (Exim 3.35 #1) id 16vkpW-0000Pn-00; Thu, 11 Apr 2002 13:06:02 -0700 Message-ID: <002401c1e194$554d1910$6caaa8c0@KPFW2K> From: "Kevin P. Fleming" To: "Dragan Stanojevic - Nevidljivi" , References: <3CB620FE.5020301@hidden-city.net> Subject: Re: Removable media (ZIP drive) Date: Thu, 11 Apr 2002 13:06:14 -0700 Organization: LSG, Inc. MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-2" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Virus-Scanned: by AMaViS snapshot-20010714 Sender: owner-devfs@oss.sgi.com Precedence: bulk I have patches against the latest 2.4.x kernel to support what you want (I have the same drive). The patches will make sure that the drive appears in the /dev directory at boot time whether there is media or not, and also support media change detection so the partition entries for the drive will (nearly) always stay in sync with the media in the drive. If you'd like to try these patches on your system, email me offline. To answer your other questions, the drive names will stay the same unless you physically rearrange the way they are attached to your IDE/ATA host adapters. The names are associated with their physical positions, so they won't change unless you force them to. Personally, I have configured my system to use only "new" names and have completely turned off compatibility names. No particular advantage, other than my /dev directory is nice and clean now :-) ----- Original Message ----- From: "Dragan Stanojevic - Nevidljivi" To: Sent: Thursday, April 11, 2002 4:49 PM Subject: Removable media (ZIP drive) > Hi! > > I'm new to this devfs thingy, and I like it so far.... but I have a IDE > ZIP drive... > > If the ZIP disk is not in the drive during the boot process than the > device files are created, but if the disk is not in the drive, there are > no device files, and I don't know how to set up the daemon to create > them on-the-fly... > > Also, will the new names of the devices stay the same or will they > change as the daemon changes... > > And the last thing... Is there any point to use new names, and slowly > transition to them in config files or should we use the old names for now? > > with regards, > N. > > > From owner-devfs@oss.sgi.com Fri Apr 12 09:58:20 2002 Received: from oss.sgi.com (localhost.localdomain [127.0.0.1]) by oss.sgi.com (8.12.3/8.12.3) with ESMTP id g3CGwK8d011995 for ; Fri, 12 Apr 2002 09:58:20 -0700 Received: (from majordomo@localhost) by oss.sgi.com (8.12.3/8.12.3/Submit) id g3CGwKAU011994 for devfs-outgoing; Fri, 12 Apr 2002 09:58:20 -0700 X-Authentication-Warning: oss.sgi.com: majordomo set sender to owner-devfs@oss.sgi.com using -f Received: from david.siemens.de (david.siemens.de [192.35.17.14]) by oss.sgi.com (8.12.3/8.12.3) with SMTP id g3CGwF8d011968 for ; Fri, 12 Apr 2002 09:58:16 -0700 Received: from mail3.siemens.de (mail3.siemens.de [139.25.208.14]) by david.siemens.de (8.11.6/8.11.6) with ESMTP id g3CGwpd01582; Fri, 12 Apr 2002 18:58:51 +0200 (MET DST) Received: from MOWD019A.mow.siemens.ru ([139.24.18.3]) by mail3.siemens.de (8.11.6/8.11.6) with ESMTP id g3CGwnO02590; Fri, 12 Apr 2002 18:58:49 +0200 (MEST) Received: by mowd019a.mow.siemens.ru with Internet Mail Service (5.5.2653.19) id <2X538Q6Y>; Fri, 12 Apr 2002 21:04:13 +0400 Received: from [163.242.193.99] (163.242.193.99 [163.242.193.99]) by MOWD019A.mow.siemens.ru with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id 2X538Q6X; Fri, 12 Apr 2002 21:04:10 +0400 From: Borsenkow Andrej To: "Kevin P. Fleming" Cc: Dragan Stanojevic - Nevidljivi , devfs mailing list Subject: Re: Removable media (ZIP drive) In-Reply-To: <002401c1e194$554d1910$6caaa8c0@KPFW2K> References: <3CB620FE.5020301@hidden-city.net> <002401c1e194$554d1910$6caaa8c0@KPFW2K> Content-Type: text/plain; charset=KOI8-R X-Mailer: Evolution/1.0.2-5mdk Date: 12 Apr 2002 20:58:40 +0400 Message-Id: <1018630726.3081.6.camel@localhost.localdomain> Mime-Version: 1.0 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by oss.sgi.com id g3CGwG8d011978 Sender: owner-devfs@oss.sgi.com Precedence: bulk В Птн, 12.04.2002, в 00:06, Kevin P. Fleming написал: > I have patches against the latest 2.4.x kernel to support what you want (I > have the same drive). Your patche is broken w.r.t. current kernel. I have mailed you but never got any reply. Your patch registers .../disc inside of ide-floppy driver. Next, when system checks for partitions (somewhere inside grok_partitions or in function called thereof), it finds that .../disc already exists and exits. It results in partitions not being properly registered with devfs. This was workaround that is not needed any more. Current kernel contains fix from Richard that will always register .../disc for removable even if media size is zero. So the only thing driver has to do is to pass zero for media size that will result in .../disc being correctly registered and will prevent other error messages skipping attempt to read partition table. -andrej From owner-devfs@oss.sgi.com Fri Apr 12 10:01:51 2002 Received: from oss.sgi.com (localhost.localdomain [127.0.0.1]) by oss.sgi.com (8.12.3/8.12.3) with ESMTP id g3CH1p8d012311 for ; Fri, 12 Apr 2002 10:01:51 -0700 Received: (from majordomo@localhost) by oss.sgi.com (8.12.3/8.12.3/Submit) id g3CH1o1u012310 for devfs-outgoing; Fri, 12 Apr 2002 10:01:50 -0700 X-Authentication-Warning: oss.sgi.com: majordomo set sender to owner-devfs@oss.sgi.com using -f Received: from mail.labsysgrp.com (wsip68-14-236-254.ph.ph.cox.net [68.14.236.254]) by oss.sgi.com (8.12.3/8.12.3) with SMTP id g3CH1j8d012300 for ; Fri, 12 Apr 2002 10:01:45 -0700 Received: from mail by mail.labsysgrp.com with scanned-ok (Exim 3.34 #1) id 16w4RD-00085J-00 for devfs@oss.sgi.com; Fri, 12 Apr 2002 10:02:15 -0700 Received: from jeeves.kpf.internal ([192.168.170.1]) by mail.labsysgrp.com with esmtp (Exim 3.34 #1) id 16w4RC-00084q-00; Fri, 12 Apr 2002 10:02:14 -0700 Received: from [192.168.170.108] (helo=KPFW2K) by jeeves.kpf.internal with smtp (Exim 3.35 #1) id 16w4RC-00043z-00; Fri, 12 Apr 2002 10:02:14 -0700 Message-ID: <014501c1e243$d2e0ab30$6caaa8c0@KPFW2K> From: "Kevin P. Fleming" To: "Borsenkow Andrej" Cc: "Dragan Stanojevic - Nevidljivi" , "devfs mailing list" References: <3CB620FE.5020301@hidden-city.net> <002401c1e194$554d1910$6caaa8c0@KPFW2K> <1018630726.3081.6.camel@localhost.localdomain> Subject: Re: Removable media (ZIP drive) Date: Fri, 12 Apr 2002 10:02:27 -0700 Organization: LSG, Inc. MIME-Version: 1.0 Content-Type: text/plain; charset="KOI8-R" Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Virus-Scanned: by AMaViS snapshot-20010714 Sender: owner-devfs@oss.sgi.com Precedence: bulk Actually, that patch is long gone. After working with Richard, the proper solution to this problem (and others was found). If you take a look at the patches on http://members.cox.net/kpfleming/ide-floppy, I think you'll find that things are being done properly now. ----- Original Message ----- From: "Borsenkow Andrej" To: "Kevin P. Fleming" Cc: "Dragan Stanojevic - Nevidljivi" ; "devfs mailing list" Sent: Friday, April 12, 2002 9:58 AM Subject: Re: Removable media (ZIP drive) В Птн, 12.04.2002, в 00:06, Kevin P. Fleming написал: > I have patches against the latest 2.4.x kernel to support what you want (I > have the same drive). Your patche is broken w.r.t. current kernel. I have mailed you but never got any reply. Your patch registers .../disc inside of ide-floppy driver. Next, when system checks for partitions (somewhere inside grok_partitions or in function called thereof), it finds that .../disc already exists and exits. It results in partitions not being properly registered with devfs. This was workaround that is not needed any more. Current kernel contains fix from Richard that will always register .../disc for removable even if media size is zero. So the only thing driver has to do is to pass zero for media size that will result in .../disc being correctly registered and will prevent other error messages skipping attempt to read partition table. -andrej From owner-devfs@oss.sgi.com Fri Apr 12 10:37:20 2002 Received: from oss.sgi.com (localhost.localdomain [127.0.0.1]) by oss.sgi.com (8.12.3/8.12.3) with ESMTP id g3CHbK8d014599 for ; Fri, 12 Apr 2002 10:37:20 -0700 Received: (from majordomo@localhost) by oss.sgi.com (8.12.3/8.12.3/Submit) id g3CHbKWN014598 for devfs-outgoing; Fri, 12 Apr 2002 10:37:20 -0700 X-Authentication-Warning: oss.sgi.com: majordomo set sender to owner-devfs@oss.sgi.com using -f Received: from thoth.sbs.de (thoth.sbs.de [192.35.17.2]) by oss.sgi.com (8.12.3/8.12.3) with SMTP id g3CHbG8d014589 for ; Fri, 12 Apr 2002 10:37:17 -0700 Received: from mail3.siemens.de (mail3.siemens.de [139.25.208.14]) by thoth.sbs.de (8.11.6/8.11.6) with ESMTP id g3CHbqX01655; Fri, 12 Apr 2002 19:37:52 +0200 (MEST) Received: from MOWD019A.mow.siemens.ru ([139.24.18.3]) by mail3.siemens.de (8.11.6/8.11.6) with ESMTP id g3CHbpO17034; Fri, 12 Apr 2002 19:37:52 +0200 (MEST) Received: by mowd019a.mow.siemens.ru with Internet Mail Service (5.5.2653.19) id <2X538Q88>; Fri, 12 Apr 2002 21:43:15 +0400 Received: from [163.242.193.99] (163.242.193.99 [163.242.193.99]) by MOWD019A.mow.siemens.ru with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id 2X538Q87; Fri, 12 Apr 2002 21:43:13 +0400 From: Borsenkow Andrej To: "Kevin P. Fleming" Cc: Dragan Stanojevic - Nevidljivi , devfs mailing list Subject: Re: Removable media (ZIP drive) In-Reply-To: <014501c1e243$d2e0ab30$6caaa8c0@KPFW2K> References: <3CB620FE.5020301@hidden-city.net> <002401c1e194$554d1910$6caaa8c0@KPFW2K> <1018630726.3081.6.camel@localhost.localdomain> <014501c1e243$d2e0ab30$6caaa8c0@KPFW2K> Content-Type: text/plain; charset=KOI8-R X-Mailer: Evolution/1.0.2-5mdk Date: 12 Apr 2002 21:37:43 +0400 Message-Id: <1018633070.4505.0.camel@localhost.localdomain> Mime-Version: 1.0 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by oss.sgi.com id g3CHbI8d014590 Sender: owner-devfs@oss.sgi.com Precedence: bulk В Птн, 12.04.2002, в 21:02, Kevin P. Fleming написал: > Actually, that patch is long gone. After working with Richard, the proper > solution to this problem (and others was found). If you take a look at the > patches on http://members.cox.net/kpfleming/ide-floppy, I think you'll find > that things are being done properly now. > You are right, sorry. I had to check before posting. Thank you for letting me know. -andrej From owner-devfs@oss.sgi.com Sun Apr 14 13:33:32 2002 Received: from oss.sgi.com (localhost.localdomain [127.0.0.1]) by oss.sgi.com (8.12.3/8.12.3) with ESMTP id g3EKXW8d013518 for ; Sun, 14 Apr 2002 13:33:32 -0700 Received: (from majordomo@localhost) by oss.sgi.com (8.12.3/8.12.3/Submit) id g3EKXWDC013517 for devfs-outgoing; Sun, 14 Apr 2002 13:33:32 -0700 X-Authentication-Warning: oss.sgi.com: majordomo set sender to owner-devfs@oss.sgi.com using -f Received: from vindaloo.ras.ucalgary.ca (vindaloo.ras.ucalgary.ca [136.159.55.21]) by oss.sgi.com (8.12.3/8.12.3) with SMTP id g3EKXR8d013511 for ; Sun, 14 Apr 2002 13:33:28 -0700 Received: (from rgooch@localhost) by vindaloo.ras.ucalgary.ca (8.10.0/8.10.0) id g3EKXYG19293; Sun, 14 Apr 2002 14:33:34 -0600 Date: Sun, 14 Apr 2002 14:33:34 -0600 Message-Id: <200204142033.g3EKXYG19293@vindaloo.ras.ucalgary.ca> From: Richard Gooch To: linux-kernel@vger.kernel.org, devfs-announce-list@vindaloo.ras.ucalgary.ca Subject: [PATCH] devfs v210 available Sender: owner-devfs@oss.sgi.com Precedence: bulk Hi, all. Version 210 of my devfs patch is now available from: http://www.atnf.csiro.au/~rgooch/linux/kernel-patches.html The devfs FAQ is also available here. Patch directly available from: ftp://ftp.??.kernel.org/pub/linux/kernel/people/rgooch/v2.5/devfs-patch-current.gz AND: ftp://ftp.atnf.csiro.au/pub/people/rgooch/linux/kernel-patches/v2.5/devfs-patch-current.gz NOTE: kernel 2.5.1 and later require devfsd-v1.3.19 or later. This is against 2.5.8. Highlights of this release: - Updated fs/devfs/util.c to fix shift warning on 64 bit machines Thanks to Anton Blanchard - Updated README from master HTML file Regards, Richard.... Permanent: rgooch@atnf.csiro.au Current: rgooch@ras.ucalgary.ca From owner-devfs@oss.sgi.com Mon Apr 15 05:47:07 2002 Received: from oss.sgi.com (localhost.localdomain [127.0.0.1]) by oss.sgi.com (8.12.3/8.12.3) with ESMTP id g3FCl78d020137 for ; Mon, 15 Apr 2002 05:47:07 -0700 Received: (from majordomo@localhost) by oss.sgi.com (8.12.3/8.12.3/Submit) id g3FCl7je020136 for devfs-outgoing; Mon, 15 Apr 2002 05:47:07 -0700 X-Authentication-Warning: oss.sgi.com: majordomo set sender to owner-devfs@oss.sgi.com using -f Received: from grex.cyberspace.org (grex.cyberspace.org [216.93.104.34]) by oss.sgi.com (8.12.3/8.12.3) with SMTP id g3FCl58d020129 for ; Mon, 15 Apr 2002 05:47:05 -0700 Received: from localhost (dunbar@localhost) by grex.cyberspace.org (8.6.13/8.6.12) with SMTP id IAA19311 for ; Mon, 15 Apr 2002 08:48:35 -0400 Date: Mon, 15 Apr 2002 08:48:34 -0400 (EDT) From: dunbar@cyberspace.org Reply-To: dunbar@cyberspace.org To: devfs@oss.sgi.com Subject: Remove? Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-devfs@oss.sgi.com Precedence: bulk I don't exactly know where I might have joined, would like to exit devfs emailings. From owner-devfs@oss.sgi.com Mon Apr 15 23:05:34 2002 Received: from oss.sgi.com (localhost.localdomain [127.0.0.1]) by oss.sgi.com (8.12.3/8.12.3) with ESMTP id g3G65Y8d009900 for ; Mon, 15 Apr 2002 23:05:34 -0700 Received: (from majordomo@localhost) by oss.sgi.com (8.12.3/8.12.3/Submit) id g3G65YHO009899 for devfs-outgoing; Mon, 15 Apr 2002 23:05:34 -0700 X-Authentication-Warning: oss.sgi.com: majordomo set sender to owner-devfs@oss.sgi.com using -f Received: from hotmail.com (f115.law3.hotmail.com [209.185.241.115]) by oss.sgi.com (8.12.3/8.12.3) with SMTP id g3G65U8d009895 for ; Mon, 15 Apr 2002 23:05:30 -0700 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Mon, 15 Apr 2002 23:06:18 -0700 Received: from 194.117.133.196 by lw3fd.law3.hotmail.msn.com with HTTP; Tue, 16 Apr 2002 06:06:18 GMT X-Originating-IP: [194.117.133.196] From: "Rob MacGregor" To: devfs@oss.sgi.com Subject: Re: Remove? Date: Tue, 16 Apr 2002 06:06:18 +0000 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 16 Apr 2002 06:06:18.0370 (UTC) FILETIME=[D2E55E20:01C1E50C] Sender: owner-devfs@oss.sgi.com Precedence: bulk >From: dunbar@cyberspace.org > >I don't exactly know where I might have joined, would like >to exit devfs emailings. As it says on the devfs home page: A mailing list is available which you may subscribe to. Send email to majordomo@oss.sgi.com with the following line in the body of the message: subscribe devfs To unsubscribe, send the message body: unsubscribe devfs instead. Please don't CC me on anything sent to mailing lists or send me email directly unless it's a privacy issue, thanks. -- Rob | Ask questions the smart way: http://www.tuxedo.org/~esr/faqs/smart-questions.html _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp. From owner-devfs@oss.sgi.com Tue Apr 16 10:20:06 2002 Received: from oss.sgi.com (localhost.localdomain [127.0.0.1]) by oss.sgi.com (8.12.3/8.12.3) with ESMTP id g3GHK68d030904 for ; Tue, 16 Apr 2002 10:20:06 -0700 Received: (from majordomo@localhost) by oss.sgi.com (8.12.3/8.12.3/Submit) id g3GHK6QU030903 for devfs-outgoing; Tue, 16 Apr 2002 10:20:06 -0700 X-Authentication-Warning: oss.sgi.com: majordomo set sender to owner-devfs@oss.sgi.com using -f Received: from vindaloo.ras.ucalgary.ca (vindaloo.ras.ucalgary.ca [136.159.55.21]) by oss.sgi.com (8.12.3/8.12.3) with SMTP id g3GHK18d030888 for ; Tue, 16 Apr 2002 10:20:02 -0700 Received: (from rgooch@localhost) by vindaloo.ras.ucalgary.ca (8.10.0/8.10.0) id g3GHK7k13708; Tue, 16 Apr 2002 11:20:07 -0600 Date: Tue, 16 Apr 2002 11:20:07 -0600 Message-Id: <200204161720.g3GHK7k13708@vindaloo.ras.ucalgary.ca> From: Richard Gooch To: linux-kernel@vger.kernel.org, devfs-announce-list@vindaloo.ras.ucalgary.ca Subject: [PATCH] devfs v199.13 available Sender: owner-devfs@oss.sgi.com Precedence: bulk Hi, all. Version 199.13 of my devfs patch is now available from: http://www.atnf.csiro.au/~rgooch/linux/kernel-patches.html The devfs FAQ is also available here. Patch directly available from: ftp://ftp.??.kernel.org/pub/linux/kernel/people/rgooch/v2.4/devfs-patch-current.gz AND: ftp://ftp.atnf.csiro.au/pub/people/rgooch/linux/kernel-patches/v2.4/devfs-patch-current.gz This is against 2.4.19-pre7. Highlights of this release: - Updated fs/devfs/util.c to fix shift warning on 64 bit machines Thanks to Anton Blanchard - Updated README from master HTML file - Do not put miscellaneous character devices in /dev/misc if they specify their own directory (i.e. contain a '/' character) Regards, Richard.... Permanent: rgooch@atnf.csiro.au Current: rgooch@ras.ucalgary.ca From owner-devfs@oss.sgi.com Sun Apr 21 02:32:02 2002 Received: from oss.sgi.com (localhost [127.0.0.1]) by oss.sgi.com (8.12.3/8.12.3) with ESMTP id g3L9W2qf000813 for ; Sun, 21 Apr 2002 02:32:02 -0700 Received: (from majordomo@localhost) by oss.sgi.com (8.12.3/8.12.3/Submit) id g3L9W2EA000812 for devfs-outgoing; Sun, 21 Apr 2002 02:32:02 -0700 X-Authentication-Warning: oss.sgi.com: majordomo set sender to owner-devfs@oss.sgi.com using -f Received: from rammstein.mweb.co.za (rammstein.mweb.co.za [196.2.53.175]) by oss.sgi.com (8.12.3/8.12.3) with SMTP id g3L9Vsqf000808 for ; Sun, 21 Apr 2002 02:31:57 -0700 Received: from nld-dial-196-7-200-124.mweb.co.za ([196.7.200.124] helo=chippo.chippo.org) by rammstein.mweb.co.za with esmtp (Exim 3.33 #1) id 16zDdN-0006TS-00 for devfs@oss.sgi.com; Sun, 21 Apr 2002 11:27:50 +0200 Received: from netactive.co.za (localhost.localdomain [127.0.0.1]) by chippo.chippo.org (8.9.3/8.8.7) with ESMTP id LAA01535 for ; Sun, 21 Apr 2002 11:54:32 +0200 Message-ID: <3CC28C58.9DCA77C3@netactive.co.za> Date: Sun, 21 Apr 2002 11:54:32 +0200 From: Chris the Elder Reply-To: chippo@netactive.co.za X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.4.4 i686) X-Accept-Language: en MIME-Version: 1.0 To: devfs@oss.sgi.com Subject: Distributions for devfs Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-devfs@oss.sgi.com Precedence: bulk Greets folks, I apologise if this has been discussed before; since my devfs installation has been working for years, I haven't concentrated on the mailing list much. Are there any full-ish distributions that come with devfs by default? I found the 'Rock' distribution had devfs by default, but it wasn't full enough for me. Part of the reason that I get a distribution, is that I'm too lazy (or old) to configure assorted hardware and install software by hand anymore. Cheers, chippo From owner-devfs@oss.sgi.com Sun Apr 21 03:10:00 2002 Received: from oss.sgi.com (localhost [127.0.0.1]) by oss.sgi.com (8.12.3/8.12.3) with ESMTP id g3LA9xqf001509 for ; Sun, 21 Apr 2002 03:09:59 -0700 Received: (from majordomo@localhost) by oss.sgi.com (8.12.3/8.12.3/Submit) id g3LA9xMw001508 for devfs-outgoing; Sun, 21 Apr 2002 03:09:59 -0700 X-Authentication-Warning: oss.sgi.com: majordomo set sender to owner-devfs@oss.sgi.com using -f Received: from tsv.sws.net.au (tsv.sws.net.au [203.36.46.2]) by oss.sgi.com (8.12.3/8.12.3) with SMTP id g3LA9tqf001504 for ; Sun, 21 Apr 2002 03:09:55 -0700 Received: from lyta.coker.com.au (localhost [127.0.0.1]) by tsv.sws.net.au (Postfix) with ESMTP id 4166592452; Sun, 21 Apr 2002 20:10:14 +1000 (EST) Received: from there (localhost [127.0.0.1]) by lyta.coker.com.au (Postfix) with SMTP id 9A496CA5; Sun, 21 Apr 2002 12:10:00 +0200 (CEST) Content-Type: text/plain; charset="iso-8859-1" From: Russell Coker Reply-To: Russell Coker To: chippo@netactive.co.za, devfs@oss.sgi.com Subject: Re: Distributions for devfs Date: Sun, 21 Apr 2002 12:09:59 +0200 X-Mailer: KMail [version 1.3.2] References: <3CC28C58.9DCA77C3@netactive.co.za> In-Reply-To: <3CC28C58.9DCA77C3@netactive.co.za> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <20020421101000.9A496CA5@lyta.coker.com.au> Sender: owner-devfs@oss.sgi.com Precedence: bulk On Sun, 21 Apr 2002 11:54, Chris the Elder wrote: > I apologise if this has been discussed before; since my devfs > installation has been working for years, I haven't concentrated on the > mailing list much. > > Are there any full-ish distributions that come with devfs by default? > > I found the 'Rock' distribution had devfs by default, but it wasn't full > enough for me. Part of the reason that I get a distribution, is that > I'm too lazy (or old) to configure assorted hardware and install > software by hand anymore. Debian/woody has good devfs support. I fix most bugs that are reported against devfsd in <24 hours. I've checked out many other Debian packages and filed bug reports where they didn't work well with devfs. Richard, has anyone from any other major distribution sent you more patches than I did? -- If you send email to me or to a mailing list that I use which has >4 lines of legalistic junk at the end then you are specifically authorizing me to do whatever I wish with the message and all other messages from your domain, by posting the message you agree that your long legalistic sig is void. From owner-devfs@oss.sgi.com Sun Apr 21 06:20:21 2002 Received: from oss.sgi.com (localhost [127.0.0.1]) by oss.sgi.com (8.12.3/8.12.3) with ESMTP id g3LDKKqf010915 for ; Sun, 21 Apr 2002 06:20:20 -0700 Received: (from majordomo@localhost) by oss.sgi.com (8.12.3/8.12.3/Submit) id g3LDKKYx010914 for devfs-outgoing; Sun, 21 Apr 2002 06:20:20 -0700 X-Authentication-Warning: oss.sgi.com: majordomo set sender to owner-devfs@oss.sgi.com using -f Received: from david.siemens.de (david.siemens.de [192.35.17.14]) by oss.sgi.com (8.12.3/8.12.3) with SMTP id g3LDJuqf010904 for ; Sun, 21 Apr 2002 06:20:16 -0700 Received: from mail3.siemens.de (mail3.siemens.de [139.25.208.14]) by david.siemens.de (8.11.6/8.11.6) with ESMTP id g3LDKL708046; Sun, 21 Apr 2002 15:20:22 +0200 (MEST) Received: from MOWD019A.mow.siemens.ru ([139.24.18.3]) by mail3.siemens.de (8.11.6/8.11.6) with ESMTP id g3LDKKO03860; Sun, 21 Apr 2002 15:20:20 +0200 (MEST) Received: by mowd019a.mow.siemens.ru with Internet Mail Service (5.5.2653.19) id ; Sun, 21 Apr 2002 17:26:01 +0400 Received: from [163.242.193.99] (163.242.193.99 [163.242.193.99]) by MOWD019A.mow.siemens.ru with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id J2JX735G; Sun, 21 Apr 2002 17:25:58 +0400 From: Borsenkow Andrej To: chippo@netactive.co.za Cc: devfs mailing list Subject: Re: Distributions for devfs In-Reply-To: <3CC28C58.9DCA77C3@netactive.co.za> References: <3CC28C58.9DCA77C3@netactive.co.za> Content-Type: text/plain; charset=KOI8-R X-Mailer: Evolution/1.0.2-5mdk Date: 21 Apr 2002 17:20:11 +0400 Message-Id: <1019395218.3209.0.camel@localhost.localdomain> Mime-Version: 1.0 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by oss.sgi.com id g3LDKHqf010912 Sender: owner-devfs@oss.sgi.com Precedence: bulk В Вск, 21.04.2002, в 13:54, Chris the Elder написал: > Greets folks, > > I apologise if this has been discussed before; since my devfs > installation has been working for years, I haven't concentrated on the > mailing list much. > > Are there any full-ish distributions that come with devfs by default? > Mandrake 8.2. -andrej From owner-devfs@oss.sgi.com Sun Apr 21 16:15:04 2002 Received: from oss.sgi.com (localhost [127.0.0.1]) by oss.sgi.com (8.12.3/8.12.3) with ESMTP id g3LNF3qf019809 for ; Sun, 21 Apr 2002 16:15:03 -0700 Received: (from majordomo@localhost) by oss.sgi.com (8.12.3/8.12.3/Submit) id g3LNF3jF019808 for devfs-outgoing; Sun, 21 Apr 2002 16:15:03 -0700 X-Authentication-Warning: oss.sgi.com: majordomo set sender to owner-devfs@oss.sgi.com using -f Received: from vindaloo.ras.ucalgary.ca (vindaloo.ras.ucalgary.ca [136.159.55.21]) by oss.sgi.com (8.12.3/8.12.3) with SMTP id g3LNErqf019800 for ; Sun, 21 Apr 2002 16:14:54 -0700 Received: (from rgooch@localhost) by vindaloo.ras.ucalgary.ca (8.10.0/8.10.0) id g3LNEKx24648; Sun, 21 Apr 2002 17:14:20 -0600 Date: Sun, 21 Apr 2002 17:14:20 -0600 Message-Id: <200204212314.g3LNEKx24648@vindaloo.ras.ucalgary.ca> From: Richard Gooch To: Russell Coker Cc: chippo@netactive.co.za, devfs@oss.sgi.com Subject: Re: Distributions for devfs In-Reply-To: <20020421101000.9A496CA5@lyta.coker.com.au> References: <3CC28C58.9DCA77C3@netactive.co.za> <20020421101000.9A496CA5@lyta.coker.com.au> Sender: owner-devfs@oss.sgi.com Precedence: bulk Russell Coker writes: > On Sun, 21 Apr 2002 11:54, Chris the Elder wrote: > > I apologise if this has been discussed before; since my devfs > > installation has been working for years, I haven't concentrated on the > > mailing list much. > > > > Are there any full-ish distributions that come with devfs by default? > > > > I found the 'Rock' distribution had devfs by default, but it wasn't full > > enough for me. Part of the reason that I get a distribution, is that > > I'm too lazy (or old) to configure assorted hardware and install > > software by hand anymore. > > Debian/woody has good devfs support. > > I fix most bugs that are reported against devfsd in <24 hours. I've > checked out many other Debian packages and filed bug reports where > they didn't work well with devfs. > > Richard, has anyone from any other major distribution sent you more > patches than I did? I haven't counted. I've gotten a fair number of patches from the Mandrake people as well. Regards, Richard.... Permanent: rgooch@atnf.csiro.au Current: rgooch@ras.ucalgary.ca From owner-devfs@oss.sgi.com Sun Apr 21 16:20:43 2002 Received: from oss.sgi.com (localhost [127.0.0.1]) by oss.sgi.com (8.12.3/8.12.3) with ESMTP id g3LNKhqf019927 for ; Sun, 21 Apr 2002 16:20:43 -0700 Received: (from majordomo@localhost) by oss.sgi.com (8.12.3/8.12.3/Submit) id g3LNKhiC019926 for devfs-outgoing; Sun, 21 Apr 2002 16:20:43 -0700 X-Authentication-Warning: oss.sgi.com: majordomo set sender to owner-devfs@oss.sgi.com using -f Received: from tsv.sws.net.au (tsv.sws.net.au [203.36.46.2]) by oss.sgi.com (8.12.3/8.12.3) with SMTP id g3LNKdqf019922 for ; Sun, 21 Apr 2002 16:20:40 -0700 Received: from lyta.coker.com.au (localhost [127.0.0.1]) by tsv.sws.net.au (Postfix) with ESMTP id 309D792457; Mon, 22 Apr 2002 09:21:06 +1000 (EST) Received: from there (localhost [127.0.0.1]) by lyta.coker.com.au (Postfix) with SMTP id 337D6281EF; Mon, 22 Apr 2002 01:20:57 +0200 (CEST) Content-Type: text/plain; charset="iso-8859-1" From: Russell Coker Reply-To: Russell Coker To: Richard Gooch Subject: Re: Distributions for devfs Date: Mon, 22 Apr 2002 01:20:56 +0200 X-Mailer: KMail [version 1.3.2] Cc: chippo@netactive.co.za, devfs@oss.sgi.com References: <3CC28C58.9DCA77C3@netactive.co.za> <20020421101000.9A496CA5@lyta.coker.com.au> <200204212314.g3LNEKx24648@vindaloo.ras.ucalgary.ca> In-Reply-To: <200204212314.g3LNEKx24648@vindaloo.ras.ucalgary.ca> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <20020421232057.337D6281EF@lyta.coker.com.au> Sender: owner-devfs@oss.sgi.com Precedence: bulk On Mon, 22 Apr 2002 01:14, Richard Gooch wrote: > > Debian/woody has good devfs support. > > > > I fix most bugs that are reported against devfsd in <24 hours. I've > > checked out many other Debian packages and filed bug reports where > > they didn't work well with devfs. > > > > Richard, has anyone from any other major distribution sent you more > > patches than I did? > > I haven't counted. I've gotten a fair number of patches from the > Mandrake people as well. The Mandrake people are pretty good. It's a good second choice. ;) -- If you send email to me or to a mailing list that I use which has >4 lines of legalistic junk at the end then you are specifically authorizing me to do whatever I wish with the message and all other messages from your domain, by posting the message you agree that your long legalistic sig is void. From owner-devfs@oss.sgi.com Sun Apr 21 23:56:04 2002 Received: from oss.sgi.com (localhost [127.0.0.1]) by oss.sgi.com (8.12.3/8.12.3) with ESMTP id g3M6u4qf024404 for ; Sun, 21 Apr 2002 23:56:04 -0700 Received: (from majordomo@localhost) by oss.sgi.com (8.12.3/8.12.3/Submit) id g3M6u4mX024403 for devfs-outgoing; Sun, 21 Apr 2002 23:56:04 -0700 X-Authentication-Warning: oss.sgi.com: majordomo set sender to owner-devfs@oss.sgi.com using -f Received: from vador.mandrakesoft.com (office.mandrakesoft.com [195.68.114.34]) by oss.sgi.com (8.12.3/8.12.3) with SMTP id g3M6tsqf024400 for ; Sun, 21 Apr 2002 23:55:55 -0700 Received: from vador.mandrakesoft.com (localhost.localdomain [127.0.0.1]) by vador.mandrakesoft.com (Postfix) with ESMTP id 6BD9911312; Mon, 22 Apr 2002 09:00:31 +0200 (CEST) To: Russell Coker Cc: Richard Gooch , chippo@netactive.co.za, devfs@oss.sgi.com Subject: Re: Distributions for devfs References: <3CC28C58.9DCA77C3@netactive.co.za> <20020421101000.9A496CA5@lyta.coker.com.au> <200204212314.g3LNEKx24648@vindaloo.ras.ucalgary.ca> <20020421232057.337D6281EF@lyta.coker.com.au> X-URL: Date: Mon, 22 Apr 2002 09:00:31 +0200 In-Reply-To: <20020421232057.337D6281EF@lyta.coker.com.au> (Russell Coker's message of "Mon, 22 Apr 2002 01:20:56 +0200") Message-ID: Lines: 36 User-Agent: Gnus/5.090005 (Oort Gnus v0.05) Emacs/21.2 (i386-mandrake-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-devfs@oss.sgi.com Precedence: bulk Russell Coker writes: > > > Debian/woody has good devfs support. > > > > > > I fix most bugs that are reported against devfsd in <24 hours. > > > I've checked out many other Debian packages and filed bug > > > reports where they didn't work well with devfs. > > > > > > Richard, has anyone from any other major distribution sent you > > > more patches than I did? > > > > I haven't counted. I've gotten a fair number of patches from the > > Mandrake people as well. > > The Mandrake people are pretty good. It's a good second choice. ;) well, debian is my second preferred distro :-) [1], after mdk of course. mdk would have used deb packaging if rh installer wasn't a nicer piece to use when we created our distro ... well, in fact, i love also the one file spec of rpm and dislike the all-in-one patch approach of deb. but i like the suggested, debconf, debhelper, ... stuff. we had to reinvent the wheel a little for rpm. if drakx had been coded 1year before, we would probably have been a debian fork. i've no pro or cons for other distro but for those who writes non gpl code ... anyway, debian and mandrake (alphabetically sorted :-) ) are the distro i would recommand. [1] both from an ethical and a technical view point. -- "il a ete brule au 28e degre" (the naheulbeuk witch) From owner-devfs@oss.sgi.com Fri Apr 26 00:42:36 2002 Received: from oss.sgi.com (localhost [127.0.0.1]) by oss.sgi.com (8.12.3/8.12.3) with ESMTP id g3Q7gawJ003168 for ; Fri, 26 Apr 2002 00:42:36 -0700 Received: (from majordomo@localhost) by oss.sgi.com (8.12.3/8.12.3/Submit) id g3Q7gasw003167 for devfs-outgoing; Fri, 26 Apr 2002 00:42:36 -0700 X-Authentication-Warning: oss.sgi.com: majordomo set sender to owner-devfs@oss.sgi.com using -f Received: from blue.net4u.hr (qmailr@blue.net4u.hr [193.110.68.3]) by oss.sgi.com (8.12.3/8.12.3) with SMTP id g3Q7gSwJ003164 for ; Fri, 26 Apr 2002 00:42:29 -0700 Received: (qmail 23981 invoked by uid 104); 26 Apr 2002 07:42:55 -0000 Received: from mr.tvrtko@inet.hr by blue.net4u.hr by uid 101 with qmail-scanner-1.10 (F-PROT: 3.11 fsecure: 4.11/3190/2002-04-24/2002-04-23. 2002-04-22/. Clear:0. Processed in 0.614747 secs); 26 Apr 2002 07:42:55 -0000 Received: from unknown (HELO green.net4u.hr) (193.110.68.8) by blue.net4u.hr with SMTP; 26 Apr 2002 07:42:54 -0000 Received: (qmail 4977 invoked from network); 26 Apr 2002 07:42:59 -0000 Received: from unknown (HELO equinoxe) (193.110.70.115) by green.net4u.hr with SMTP; 26 Apr 2002 07:42:59 -0000 Content-Type: text/plain; charset="us-ascii" From: "Tvrtko A. Ursulin" To: devfs@oss.sgi.com Subject: devfs_mk_dir not working? Date: Fri, 26 Apr 2002 09:41:53 +0200 X-Mailer: KMail [version 1.4] MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <200204260941.53816.mr.tvrtko@inet.hr> Sender: owner-devfs@oss.sgi.com Precedence: bulk Hello everyone! This is my first posting to this list. I have a module which, in __init, calls devfs_mk_dir(usb_devfs_handle,name,NULL); Under many tested kernels including 2.4.18 it works as expected and directory appers under /dev/usb. But on one machine directory doesn't appear in /dev/usb although devfs_mk_dir doesn't return a NULL pointer. So my module thinks everything is ok and goes on with __init. What could be causing this strange behaviour? Best regards and thank you in advance! From owner-devfs@oss.sgi.com Fri Apr 26 00:45:20 2002 Received: from oss.sgi.com (localhost [127.0.0.1]) by oss.sgi.com (8.12.3/8.12.3) with ESMTP id g3Q7jKwJ003218 for ; Fri, 26 Apr 2002 00:45:20 -0700 Received: (from majordomo@localhost) by oss.sgi.com (8.12.3/8.12.3/Submit) id g3Q7jKB2003217 for devfs-outgoing; Fri, 26 Apr 2002 00:45:20 -0700 X-Authentication-Warning: oss.sgi.com: majordomo set sender to owner-devfs@oss.sgi.com using -f Received: from blue.net4u.hr (qmailr@blue.net4u.hr [193.110.68.3]) by oss.sgi.com (8.12.3/8.12.3) with SMTP id g3Q7jHwJ003214 for ; Fri, 26 Apr 2002 00:45:18 -0700 Received: (qmail 6101 invoked by uid 104); 26 Apr 2002 07:45:45 -0000 Received: from mr.tvrtko@inet.hr by blue.net4u.hr by uid 101 with qmail-scanner-1.10 (F-PROT: 3.11 fsecure: 4.11/3190/2002-04-24/2002-04-23. 2002-04-22/. Clear:0. Processed in 0.643797 secs); 26 Apr 2002 07:45:45 -0000 Received: from unknown (HELO green.net4u.hr) (193.110.68.8) by blue.net4u.hr with SMTP; 26 Apr 2002 07:45:45 -0000 Received: (qmail 20605 invoked from network); 26 Apr 2002 07:45:49 -0000 Received: from unknown (HELO equinoxe) (193.110.70.115) by green.net4u.hr with SMTP; 26 Apr 2002 07:45:49 -0000 Content-Type: text/plain; charset="iso-8859-1" From: "Tvrtko A. Ursulin" To: devfs@oss.sgi.com Subject: Re: devfs_mk_dir not working? Date: Fri, 26 Apr 2002 09:44:44 +0200 X-Mailer: KMail [version 1.4] References: <200204260941.53816.mr.tvrtko@inet.hr> In-Reply-To: <200204260941.53816.mr.tvrtko@inet.hr> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <200204260944.44764.mr.tvrtko@inet.hr> Sender: owner-devfs@oss.sgi.com Precedence: bulk > But on one machine directory doesn't appear in /dev/usb although > devfs_mk_dir doesn't return a NULL pointer. So my module thinks everything > is ok and goes on with __init. Forgot to say that on that machine kernel is also 2.4.18. From owner-devfs@oss.sgi.com Sun Apr 28 18:01:07 2002 Received: from oss.sgi.com (localhost [127.0.0.1]) by oss.sgi.com (8.12.3/8.12.3) with ESMTP id g3T115wJ019366 for ; Sun, 28 Apr 2002 18:01:06 -0700 Received: (from majordomo@localhost) by oss.sgi.com (8.12.3/8.12.3/Submit) id g3T113IF019365 for devfs-outgoing; Sun, 28 Apr 2002 18:01:03 -0700 X-Authentication-Warning: oss.sgi.com: majordomo set sender to owner-devfs@oss.sgi.com using -f Received: from vindaloo.ras.ucalgary.ca (vindaloo.ras.ucalgary.ca [136.159.55.21]) by oss.sgi.com (8.12.3/8.12.3) with SMTP id g3T10rwJ019359 for ; Sun, 28 Apr 2002 18:00:55 -0700 Received: (from rgooch@localhost) by vindaloo.ras.ucalgary.ca (8.10.0/8.10.0) id g3T115B32078; Sun, 28 Apr 2002 19:01:05 -0600 Date: Sun, 28 Apr 2002 19:01:05 -0600 Message-Id: <200204290101.g3T115B32078@vindaloo.ras.ucalgary.ca> From: Richard Gooch To: linux-kernel@vger.kernel.org, devfs-announce-list@vindaloo.ras.ucalgary.ca Subject: [PATCH] devfs v211 available Sender: owner-devfs@oss.sgi.com Precedence: bulk Hi, all. Version 211 of my devfs patch is now available from: http://www.atnf.csiro.au/~rgooch/linux/kernel-patches.html The devfs FAQ is also available here. Patch directly available from: ftp://ftp.??.kernel.org/pub/linux/kernel/people/rgooch/v2.5/devfs-patch-current.gz AND: ftp://ftp.atnf.csiro.au/pub/people/rgooch/linux/kernel-patches/v2.5/devfs-patch-current.gz NOTE: kernel 2.5.1 and later require devfsd-v1.3.19 or later. This is against 2.5.10. Highlights of this release: - Do not put miscellaneous character devices in /dev/misc if they specify their own directory (i.e. contain a '/' character) - Copied macro for error messages from fs/devfs/base.c to fs/devfs/util.c and made use of this macro - Removed 2.4.x compatibility code from fs/devfs/base.c Regards, Richard.... Permanent: rgooch@atnf.csiro.au Current: rgooch@ras.ucalgary.ca