[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20130218172700.GH2663@arwen.pp.htv.fi>
Date: Mon, 18 Feb 2013 19:27:00 +0200
From: Felipe Balbi <balbi@...com>
To: Greg KH <gregkh@...uxfoundation.org>
CC: Felipe Balbi <balbi@...com>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: SYSFS "errors"
On Mon, Feb 18, 2013 at 09:13:34AM -0800, Greg KH wrote:
> On Mon, Feb 18, 2013 at 05:52:15PM +0200, Felipe Balbi wrote:
> > Hi,
> >
> > On Mon, Feb 18, 2013 at 07:50:12AM -0800, Greg KH wrote:
> > > > If it helps in any way, I have printed below only the filenames
> > > > (without path) so I could pipe it through uniq:
> > > >
> > > > act_mask
> > > > audit
> > > > autosuspend_delay_ms
> > > > bind
> > >
> > > This one the driver core creates, I'll fix that up.
> > >
> > > The rest need paths to determine who to blame :)
> >
> > wanna see the full list ? It's 1602 lines :-p
>
> You must have more devices in your system than I do:
> $ ruby ./sysfs_test.ruby | wc -l
> 626
>
> What kernel version did you run this on? I don't see any "bind" file in
> the list on 3.8.0-rc7+:
running on -rc6:
$ uname -r
3.8.0-rc6+
> $ ls -l /sys/bus/platform/drivers/pcspkr/bind
> --w------- 1 root root 4096 Feb 18 09:09 /sys/bus/platform/drivers/pcspkr/bind
> $ ls -l /sys/bus/serio/drivers/atkbd/unbind
> --w------- 1 root root 4096 Feb 18 09:09 /sys/bus/serio/drivers/atkbd/unbind
>
> So the full list might be necessary here, thanks.
yeah, I figured one thing later. Ruby is stupid, if you run it as root,
it File.readable? will return true even if there's no read permission.
So I'm running only as a normal user, full output attached
--
balbi
View attachment "sysfs_errors.txt" of type "text/plain" (81810 bytes)
Download attachment "signature.asc" of type "application/pgp-signature" (837 bytes)
Powered by blists - more mailing lists