* 2.6.13.4: 'find' complained about sysfs
@ 2005-10-20 18:41 Harald Dunkel
2005-10-20 18:58 ` Dave Jones
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Harald Dunkel @ 2005-10-20 18:41 UTC (permalink / raw)
To: linux-kernel
[-- Attachment #1: Type: text/plain, Size: 429 bytes --]
Hi folks,
When I ran 'find /sys -name modalias' I got an error
message on stderr saying
find: WARNING: Hard link count is wrong for /sys/devices: this may be a bug in your filesystem driver. Automatically turning on find's -noleaf option. Earlier results may have failed to include directories that should have been searched.
uname -a:
Linux pluto 2.6.13.4 #1 Sun Oct 16 22:41:26 CEST 2005 x86_64 GNU/Linux
Regards
Harri
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 256 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: 2.6.13.4: 'find' complained about sysfs
2005-10-20 18:41 2.6.13.4: 'find' complained about sysfs Harald Dunkel
@ 2005-10-20 18:58 ` Dave Jones
2005-10-21 0:29 ` Greg KH
2005-10-20 19:35 ` linux-os (Dick Johnson)
2005-10-20 22:16 ` Grant Coady
2 siblings, 1 reply; 5+ messages in thread
From: Dave Jones @ 2005-10-20 18:58 UTC (permalink / raw)
To: Harald Dunkel; +Cc: linux-kernel
On Thu, Oct 20, 2005 at 08:41:45PM +0200, Harald Dunkel wrote:
> Hi folks,
>
> When I ran 'find /sys -name modalias' I got an error
> message on stderr saying
>
> find: WARNING: Hard link count is wrong for /sys/devices: this may be a bug in your filesystem driver. Automatically turning on find's -noleaf option. Earlier results may have failed to include directories that should have been searched.
This has been around for a while. It's very likely this..
(14:56:22:davej@nwo:~)$ ll /sys/devices/system/
total 0
drwxr-xr-x 3 root root 0 Oct 20 10:09 acpi/
drwxr-xr-x 6 root root 0 Oct 20 10:08 cpu/
drwxr-xr-x 3 root root 0 Oct 20 10:08 i8237/
drwxr-xr-x 3 root root 0 Oct 20 10:08 i8259/
drwxr-xr-x 5 root root 0 Oct 20 10:08 ioapic/
drwxr-xr-x 3 root root 0 Oct 20 10:08 irqrouter/
drwxr-xr-x 3 root root 0 Oct 20 10:08 lapic/
drwxr-xr-x 3 root root 0 Oct 20 10:09 lapic_nmi/
drwxr-xr-x 6 root root 0 Oct 20 10:08 machinecheck/
drwxr-xr-x 3 root root 0 Oct 20 10:08 node/
drwxr-xr-x 3 root root 0 Oct 20 10:08 timer/
drwxr-xr-x 3 root root 0 Oct 20 10:08 timer/ <---- Oops.
(14:56:24:davej@nwo:~)$
Dave
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: 2.6.13.4: 'find' complained about sysfs
2005-10-20 18:41 2.6.13.4: 'find' complained about sysfs Harald Dunkel
2005-10-20 18:58 ` Dave Jones
@ 2005-10-20 19:35 ` linux-os (Dick Johnson)
2005-10-20 22:16 ` Grant Coady
2 siblings, 0 replies; 5+ messages in thread
From: linux-os (Dick Johnson) @ 2005-10-20 19:35 UTC (permalink / raw)
To: Harald Dunkel; +Cc: linux-kernel
On Thu, 20 Oct 2005, Harald Dunkel wrote:
> Hi folks,
>
> When I ran 'find /sys -name modalias' I got an error
> message on stderr saying
>
> find: WARNING: Hard link count is wrong for /sys/devices: this may be a
> bug in your filesystem driver. Automatically turning on find's -noleaf
> option. Earlier results may have failed to include directories that should
> have been searched.
>
> uname -a:
> Linux pluto 2.6.13.4 #1 Sun Oct 16 22:41:26 CEST 2005 x86_64 GNU/Linux
>
>
> Regards
>
> Harri
>
Works here, same kernel version, GNU find version 4.1.7.
Script started on Thu 20 Oct 2005 03:31:28 PM EDT
[root@chaos /]# find /sys -name "modalias"
/sys/devices/pci0000:00/0000:00:1f.5/modalias
/sys/devices/pci0000:00/0000:00:1f.3/modalias
/sys/devices/pci0000:00/0000:00:1f.2/modalias
/sys/devices/pci0000:00/0000:00:1f.1/modalias
/sys/devices/pci0000:00/0000:00:1f.0/modalias
/sys/devices/pci0000:00/0000:00:1e.0/0000:02:08.0/modalias
/sys/devices/pci0000:00/0000:00:1e.0/0000:02:07.0/modalias
/sys/devices/pci0000:00/0000:00:1e.0/0000:02:03.0/modalias
/sys/devices/pci0000:00/0000:00:1e.0/0000:02:01.0/modalias
/sys/devices/pci0000:00/0000:00:1e.0/0000:02:00.0/modalias
/sys/devices/pci0000:00/0000:00:1e.0/modalias
/sys/devices/pci0000:00/0000:00:1d.7/usb1/1-0:1.0/modalias
/sys/devices/pci0000:00/0000:00:1d.7/modalias
/sys/devices/pci0000:00/0000:00:1d.3/usb5/5-0:1.0/modalias
/sys/devices/pci0000:00/0000:00:1d.3/modalias
/sys/devices/pci0000:00/0000:00:1d.2/usb4/4-0:1.0/modalias
/sys/devices/pci0000:00/0000:00:1d.2/modalias
/sys/devices/pci0000:00/0000:00:1d.1/usb3/3-0:1.0/modalias
/sys/devices/pci0000:00/0000:00:1d.1/modalias
/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-0:1.0/modalias
/sys/devices/pci0000:00/0000:00:1d.0/modalias
/sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/modalias
/sys/devices/pci0000:00/0000:00:01.0/modalias
/sys/devices/pci0000:00/0000:00:00.0/modalias
/sys/devices/platform/i8042/serio1/modalias
/sys/devices/platform/i8042/serio0/modalias
[root@chaos /]# exit
Script done on Thu 20 Oct 2005 03:31:56 PM EDT
Cheers,
Dick Johnson
Penguin : Linux version 2.6.13.4 on an i686 machine (5589.55 BogoMips).
Warning : 98.36% of all statistics are fiction.
.
****************************************************************
The information transmitted in this message is confidential and may be privileged. Any review, retransmission, dissemination, or other use of this information by persons or entities other than the intended recipient is prohibited. If you are not the intended recipient, please notify Analogic Corporation immediately - by replying to this message or by sending an email to DeliveryErrors@analogic.com - and destroy all copies of this information, including any attachments, without reading or disclosing them.
Thank you.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: 2.6.13.4: 'find' complained about sysfs
2005-10-20 18:41 2.6.13.4: 'find' complained about sysfs Harald Dunkel
2005-10-20 18:58 ` Dave Jones
2005-10-20 19:35 ` linux-os (Dick Johnson)
@ 2005-10-20 22:16 ` Grant Coady
2 siblings, 0 replies; 5+ messages in thread
From: Grant Coady @ 2005-10-20 22:16 UTC (permalink / raw)
To: Harald Dunkel; +Cc: linux-kernel
Harald Dunkel wrote:
> Hi folks,
>
> When I ran 'find /sys -name modalias' I got an error
> message on stderr saying
>
> find: WARNING: Hard link count is wrong for /sys/devices: this may be a bug in your filesystem driver. Automatically turning on find's -noleaf option. Earlier results may have failed to include directories that should have been searched.
>
> uname -a:
> Linux pluto 2.6.13.4 #1 Sun Oct 16 22:41:26 CEST 2005 x86_64 GNU/Linux
>
grant@sempro:~$ find /sys -name modalias
/sys/devices/pci0000:00/0000:00:11.5/modalias
/sys/devices/pci0000:00/0000:00:11.0/modalias
/sys/devices/pci0000:00/0000:00:10.4/usb1/1-0:1.0/modalias
/sys/devices/pci0000:00/0000:00:10.4/modalias
/sys/devices/pci0000:00/0000:00:10.2/usb3/3-0:1.0/modalias
/sys/devices/pci0000:00/0000:00:10.2/modalias
/sys/devices/pci0000:00/0000:00:10.0/usb2/2-1/2-1:1.0/modalias
/sys/devices/pci0000:00/0000:00:10.0/usb2/2-0:1.0/modalias
/sys/devices/pci0000:00/0000:00:10.0/modalias
/sys/devices/pci0000:00/0000:00:0f.1/modalias
/sys/devices/pci0000:00/0000:00:0f.0/modalias
/sys/devices/pci0000:00/0000:00:07.0/modalias
/sys/devices/pci0000:00/0000:00:06.0/modalias
/sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/modalias
/sys/devices/pci0000:00/0000:00:01.0/modalias
/sys/devices/pci0000:00/0000:00:00.0/modalias
/sys/devices/platform/i8042/serio1/modalias
/sys/devices/platform/i8042/serio0/modalias
grant@sempro:~$ uname -r
2.6.13.4a
and another:
grant@tosh:~$ find /sys -name modalias
/sys/devices/pci0000:00/0000:00:0c.0/modalias
/sys/devices/pci0000:00/0000:00:0b.0/0000:02:00.0/modalias
/sys/devices/pci0000:00/0000:00:0b.0/modalias
/sys/devices/pci0000:00/0000:00:07.0/modalias
/sys/devices/pci0000:00/0000:00:05.3/modalias
/sys/devices/pci0000:00/0000:00:05.2/usb1/1-0:1.0/modalias
/sys/devices/pci0000:00/0000:00:05.2/modalias
/sys/devices/pci0000:00/0000:00:05.1/modalias
/sys/devices/pci0000:00/0000:00:05.0/modalias
/sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/modalias
/sys/devices/pci0000:00/0000:00:01.0/modalias
/sys/devices/pci0000:00/0000:00:00.0/modalias
/sys/devices/platform/i8042/serio1/modalias
/sys/devices/platform/i8042/serio0/modalias
grant@tosh:~$ uname -r
2.6.13.4a
Sorry no clue from me :(
Grant.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: 2.6.13.4: 'find' complained about sysfs
2005-10-20 18:58 ` Dave Jones
@ 2005-10-21 0:29 ` Greg KH
0 siblings, 0 replies; 5+ messages in thread
From: Greg KH @ 2005-10-21 0:29 UTC (permalink / raw)
To: Dave Jones, Harald Dunkel, linux-kernel
On Thu, Oct 20, 2005 at 02:58:19PM -0400, Dave Jones wrote:
> On Thu, Oct 20, 2005 at 08:41:45PM +0200, Harald Dunkel wrote:
> > Hi folks,
> >
> > When I ran 'find /sys -name modalias' I got an error
> > message on stderr saying
> >
> > find: WARNING: Hard link count is wrong for /sys/devices: this may be a bug in your filesystem driver. Automatically turning on find's -noleaf option. Earlier results may have failed to include directories that should have been searched.
>
> This has been around for a while. It's very likely this..
>
> (14:56:22:davej@nwo:~)$ ll /sys/devices/system/
> total 0
> drwxr-xr-x 3 root root 0 Oct 20 10:09 acpi/
> drwxr-xr-x 6 root root 0 Oct 20 10:08 cpu/
> drwxr-xr-x 3 root root 0 Oct 20 10:08 i8237/
> drwxr-xr-x 3 root root 0 Oct 20 10:08 i8259/
> drwxr-xr-x 5 root root 0 Oct 20 10:08 ioapic/
> drwxr-xr-x 3 root root 0 Oct 20 10:08 irqrouter/
> drwxr-xr-x 3 root root 0 Oct 20 10:08 lapic/
> drwxr-xr-x 3 root root 0 Oct 20 10:09 lapic_nmi/
> drwxr-xr-x 6 root root 0 Oct 20 10:08 machinecheck/
> drwxr-xr-x 3 root root 0 Oct 20 10:08 node/
> drwxr-xr-x 3 root root 0 Oct 20 10:08 timer/
> drwxr-xr-x 3 root root 0 Oct 20 10:08 timer/ <---- Oops.
A fix for this is in the -mm tree.
thanks,
greg k-h
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2005-10-21 0:29 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-20 18:41 2.6.13.4: 'find' complained about sysfs Harald Dunkel
2005-10-20 18:58 ` Dave Jones
2005-10-21 0:29 ` Greg KH
2005-10-20 19:35 ` linux-os (Dick Johnson)
2005-10-20 22:16 ` Grant Coady
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox