2004-06-04 19:56:04

by Denis Vlasenko

[permalink] [raw]
Subject: 2.6.7-rc2-bk4: empty-named directory in /sys

# ls /sys
block bus class devices firmware module
# ls -l /sys
total 0
drwxr-xr-x 9 root root 0 Jun 5 2004
drwxr-xr-x 29 root root 0 Jun 5 2004 block
drwxr-xr-x 10 root root 0 Jun 5 2004 bus
drwxr-xr-x 16 root root 0 Jun 5 2004 class
drwxr-xr-x 7 root root 0 Jun 5 2004 devices
drwxr-xr-x 2 root root 0 Jun 5 2004 firmware
drwxr-xr-x 30 root root 0 Jun 5 2004 module

I cannot enter that directory. Actually, it looks more like
directory named " ", because I get similar ls outputs when
I create regular directory named " ". However, I can enter into
regular directory named " ", unlike /sys one.

# mkdir " " a b c
# ls
a b c
# ls -l
total 0
drwxr-xr-x 2 root root 48 Jun 4 22:45
drwxr-xr-x 2 root root 48 Jun 4 22:45 a
drwxr-xr-x 2 root root 48 Jun 4 22:45 b
drwxr-xr-x 2 root root 48 Jun 4 22:45 c

.config and boot messages are attached
--
vda


Attachments:
(No filename) (1.03 kB)
.config.gz (3.24 kB)
dmesg.gz (4.97 kB)
Download all attachments

2004-06-04 20:30:58

by Greg KH

[permalink] [raw]
Subject: Re: 2.6.7-rc2-bk4: empty-named directory in /sys

On Fri, Jun 04, 2004 at 10:53:23PM +0300, Denis Vlasenko wrote:
> # ls /sys
> block bus class devices firmware module
> # ls -l /sys
> total 0
> drwxr-xr-x 9 root root 0 Jun 5 2004
> drwxr-xr-x 29 root root 0 Jun 5 2004 block
> drwxr-xr-x 10 root root 0 Jun 5 2004 bus
> drwxr-xr-x 16 root root 0 Jun 5 2004 class
> drwxr-xr-x 7 root root 0 Jun 5 2004 devices
> drwxr-xr-x 2 root root 0 Jun 5 2004 firmware
> drwxr-xr-x 30 root root 0 Jun 5 2004 module
>
> I cannot enter that directory. Actually, it looks more like
> directory named " ", because I get similar ls outputs when
> I create regular directory named " ". However, I can enter into
> regular directory named " ", unlike /sys one.
>
> # mkdir " " a b c
> # ls
> a b c
> # ls -l
> total 0
> drwxr-xr-x 2 root root 48 Jun 4 22:45
> drwxr-xr-x 2 root root 48 Jun 4 22:45 a
> drwxr-xr-x 2 root root 48 Jun 4 22:45 b
> drwxr-xr-x 2 root root 48 Jun 4 22:45 c
>
> .config and boot messages are attached

Hm, is the hostap code in the main kernel tree now? That's the only
thing odd that I see from your messages. Does this happen with
2.6.7-rc2 with no extra patches?

thanks,

greg k-h

2004-06-04 20:53:38

by Denis Vlasenko

[permalink] [raw]
Subject: Re: 2.6.7-rc2-bk4: empty-named directory in /sys

On Friday 04 June 2004 23:26, Greg KH wrote:
> Hm, is the hostap code in the main kernel tree now? That's the only
> thing odd that I see from your messages. Does this happen with
> 2.6.7-rc2 with no extra patches?

Hopefully it will be there soon ;)

AFAIK hostap do not use sysfs in any form.

I'll test it anyway.
--
vda

2004-06-04 21:20:23

by Andy Lutomirski

[permalink] [raw]
Subject: Re: 2.6.7-rc2-bk4: empty-named directory in /sys

Denis Vlasenko wrote:

> On Friday 04 June 2004 23:26, Greg KH wrote:
>
>>Hm, is the hostap code in the main kernel tree now? That's the only
>>thing odd that I see from your messages. Does this happen with
>>2.6.7-rc2 with no extra patches?

This happens in 2.6.7-rc1-mm1 too, both with and without hostap (I just
tried it).

--Andy

2004-06-04 23:14:54

by Greg KH

[permalink] [raw]
Subject: Re: 2.6.7-rc2-bk4: empty-named directory in /sys

On Fri, Jun 04, 2004 at 02:15:23PM -0700, Andy Lutomirski wrote:
> Denis Vlasenko wrote:
>
> >On Friday 04 June 2004 23:26, Greg KH wrote:
> >
> >>Hm, is the hostap code in the main kernel tree now? That's the only
> >>thing odd that I see from your messages. Does this happen with
> >>2.6.7-rc2 with no extra patches?
>
> This happens in 2.6.7-rc1-mm1 too, both with and without hostap (I just
> tried it).

Again, how about a clean Linus tree?

I can't seem to duplicate it here with his tree...

thanks,

greg k-h

2004-06-05 02:28:53

by Andy Lutomirski

[permalink] [raw]
Subject: Re: 2.6.7-rc2-bk4: empty-named directory in /sys

Linux version 2.6.7-rc2 ([email protected]) (gcc version 3.3.3 20040412 (Re
d Hat Linux 3.3.3-7)) #1 Fri Jun 4 19:00:50 PDT 2004
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000ce000 - 00000000000d8000 (reserved)
BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 000000001fff0000 (usable)
BIOS-e820: 000000001fff0000 - 000000001fff8000 (ACPI data)
BIOS-e820: 000000001fff8000 - 0000000020000000 (ACPI NVS)
BIOS-e820: 00000000fec00000 - 00000000fec01000 (reserved)
BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
BIOS-e820: 00000000fff80000 - 0000000100000000 (reserved)
511MB LOWMEM available.
On node 0 totalpages: 131056
DMA zone: 4096 pages, LIFO batch:1
Normal zone: 126960 pages, LIFO batch:16
HighMem zone: 0 pages, LIFO batch:1
DMI 2.3 present.
ACPI: RSDP (v000 AMI ) @ 0x000fa3f0
ACPI: RSDT (v001 AMIINT VIA_K8 0x00000010 MSFT 0x00000097) @ 0x1fff0000
ACPI: FADT (v001 AMIINT VIA_K8 0x00000011 MSFT 0x00000097) @ 0x1fff0030
ACPI: MADT (v001 AMIINT VIA_K8 0x00000009 MSFT 0x00000097) @ 0x1fff00c0
ACPI: DSDT (v001 VIA VIA_K8 0x00001000 MSFT 0x0100000d) @ 0x00000000
ACPI: PM-Timer IO Port: 0x808
Built 1 zonelists
Kernel command line: ro root=/dev/hda1 console=ttyS0,115200 console=tty0 commonc
ap.newcaps=1
Unknown boot option `commoncap.newcaps=1': ignoring
Initializing CPU#0
PID hash table entries: 2048 (order 11: 16384 bytes)
Detected 2000.031 MHz processor.
Using pmtmr for high-res timesource
Console: colour VGA+ 80x25
Memory: 515924k/524224k available (2037k kernel code, 7552k reserved, 862k data,
136k init, 0k highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay loop... 3964.92 BogoMIPS
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
CPU: After generic identify, caps: 078bfbff e1d3fbff 00000000 00000000
CPU: After vendor identify, caps: 078bfbff e1d3fbff 00000000 00000000
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 1024K (64 bytes/line)
CPU: After all inits, caps: 078bfbff e1d3fbff 00000000 00000010
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
CPU: AMD Athlon(tm) 64 Processor 3200+ stepping 08
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
checking if image is initramfs...it isn't (no cpio magic); looks like an initrd
Freeing initrd memory: 141k freed
NET: Registered protocol family 16
PCI: PCI BIOS revision 2.10 entry at 0xfdab1, last bus=2
PCI: Using configuration type 1
mtrr: v2.0 (20020519)
ACPI: Subsystem revision 20040326
ACPI: IRQ9 SCI: Edge set to Level Trigger.
ACPI: Interpreter enabled
ACPI: Using PIC for interrupt routing
ACPI: PCI Root Bridge [PCI0] (00:00)
PCI: Probing PCI hardware (bus 00)
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: Power Resource [URP1] (off)
ACPI: Power Resource [URP2] (off)
ACPI: Power Resource [FDDP] (off)
ACPI: Power Resource [LPTP] (off)
ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 6 7 10 *11 12 14 15)
ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 6 7 *10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 *5 6 7 10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKD] (IRQs *3 4 5 6 7 10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 6 7 10 11 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 6 7 10 11 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LNKG] (IRQs 3 4 5 6 7 10 11 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 5 6 7 10 11 12 14 15) *0, disabled.
Linux Plug and Play Support v0.97 (c) Adam Belay
PnPBIOS: Scanning system for PnP BIOS support...
PnPBIOS: Found PnP BIOS installation structure at 0xc00f7510
PnPBIOS: PnP BIOS version 1.0, entry 0xf0000:0x645b, dseg 0xf0000
PnPBIOS: 11 nodes reported by PnP BIOS; 11 recorded by driver
usbcore: registered new driver usbfs
usbcore: registered new driver hub
ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 10
ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 5
ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 11
ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 3
PCI: Using ACPI for IRQ routing
vesafb: probe of vesafb0 failed with error -6
Machine check exception polling timer started.
Total HugeTLB memory allocated, 0
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
Initializing Cryptographic API
ACPI: Power Button (FF) [PWRF]
ACPI: Sleep Button (CM) [SLPB]
ACPI: Processor [CPU1] (supports C1)
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
Real Time Clock Driver v1.12
Linux agpgart interface v0.100 (c) Dave Jones
agpgart: Detected AGP bridge 0
agpgart: Maximum main memory to use for agp memory: 439M
agpgart: AGP aperture is 256M @ 0xd0000000
Serial: 8250/16550 driver $Revision: 1.90 $ 8 ports, IRQ sharing disabled
ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
Using anticipatory io scheduler
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
RAMDISK driver initialized: 16 RAM disks of 128000K size 1024 blocksize
loop: loaded (max 8 devices)
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
VP_IDE: IDE controller at PCI slot 0000:00:0f.0
VP_IDE: chipset revision 6
VP_IDE: not 100% native mode: will probe irqs later
VP_IDE: VIA vt8237 (rev 00) IDE UDMA133 controller on pci0000:00:0f.0
ide0: BM-DMA at 0xfc00-0xfc07, BIOS settings: hda:DMA, hdb:pio
ide1: BM-DMA at 0xfc08-0xfc0f, BIOS settings: hdc:DMA, hdd:pio
hda: ST3160023A, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hdc: ST3200822A, ATA DISK drive
ide1 at 0x170-0x177,0x376 on irq 15
hda: max request size: 1024KiB
hda: 312581808 sectors (160041 MB) w/8192KiB Cache, CHS=19457/255/63, UDMA(100)
hda: hda1 hda2 hda3 < hda5 hda6 hda7 >
hdc: max request size: 1024KiB
hdc: 390721968 sectors (200049 MB) w/8192KiB Cache, CHS=24321/255/63, UDMA(100)
hdc: hdc1 hdc2 hdc3 < hdc5 hdc6 >
ide-floppy driver 0.99.newide
ehci_hcd 0000:00:10.4: VIA Technologies, Inc. USB 2.0
ehci_hcd 0000:00:10.4: irq 5, pci mem e085ad00
ehci_hcd 0000:00:10.4: new USB bus registered, assigned bus number 1
ehci_hcd 0000:00:10.4: USB 2.0 enabled, EHCI 1.00, driver 2004-May-10
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 8 ports detected
USB Universal Host Controller Interface driver v2.2
uhci_hcd 0000:00:10.0: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller
uhci_hcd 0000:00:10.0: irq 11, io base 0000d400
uhci_hcd 0000:00:10.0: new USB bus registered, assigned bus number 2
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
uhci_hcd 0000:00:10.1: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller
(#2)
uhci_hcd 0000:00:10.1: irq 11, io base 0000d800
uhci_hcd 0000:00:10.1: new USB bus registered, assigned bus number 3
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 2 ports detected
uhci_hcd 0000:00:10.2: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller
(#3)
uhci_hcd 0000:00:10.2: irq 10, io base 0000dc00
uhci_hcd 0000:00:10.2: new USB bus registered, assigned bus number 4
hub 4-0:1.0: USB hub found
hub 4-0:1.0: 2 ports detected
uhci_hcd 0000:00:10.3: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller
(#4)
uhci_hcd 0000:00:10.3: irq 10, io base 0000e000
uhci_hcd 0000:00:10.3: new USB bus registered, assigned bus number 5
hub 5-0:1.0: USB hub found
hub 5-0:1.0: 2 ports detected
usbcore: registered new driver hiddev
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.0:USB HID core driver
mice: PS/2 mouse device common for all mice
serio: i8042 AUX port at 0x60,0x64 irq 12
serio: i8042 KBD port at 0x60,0x64 irq 1
NET: Registered protocol family 2
IP: routing cache hash table of 4096 buckets, 32Kbytes
TCP: Hash tables configured (established 32768 bind 65536)
NET: Registered protocol family 1
NET: Registered protocol family 17
ACPI: (supports S0 S1 S4 S5)
RAMDISK: Compressed image found at block 0
VFS: Mounted root (ext2 filesystem).
md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
md: raid1 personality registered as nr 3
kjournald starting. Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
Freeing unused kernel memory: 136k freed
EXT3 FS on hda1, internal journal
device-mapper: 4.1.0-ioctl (2003-12-10) initialised: [email protected]
Adding 1004052k swap on /dev/hda2. Priority:1 extents:1
Adding 996020k swap on /dev/hdc2. Priority:1 extents:1
md: raidstart(pid 643) used deprecated START_ARRAY ioctl. This will not be suppo
rted beyond 2.6
md: autorun ...
md: considering hdc5 ...
md: adding hdc5 ...
md: adding hda5 ...
md: created md0
md: bind<hda5>
md: bind<hdc5>
md: running: <hdc5><hda5>
raid1: raid set md0 active with 2 out of 2 mirrors
md: ... autorun DONE.
ReiserFS: md0: found reiserfs format "3.6" with standard journal
ReiserFS: md0: using ordered data mode
ReiserFS: md0: journal params: device md0, size 8192, journal first block 18, ma
x trans len 1024, max batch 900, max commit age 30, max trans age 30
ReiserFS: md0: checking transaction log (md0)
ReiserFS: md0: Using r5 hash to sort names
ReiserFS: hda6: found reiserfs format "3.6" with standard journal
ReiserFS: hda6: using ordered data mode
ReiserFS: hda6: journal params: device hda6, size 8192, journal first block 18,
max trans len 1024, max batch 900, max commit age 30, max trans age 30
ReiserFS: hda6: checking transaction log (hda6)
ReiserFS: hda6: Using r5 hash to sort names
ReiserFS: hda7: warning: read_super_block: found reiserfs format "3.6" with non-
standard journal
ReiserFS: hda7: using ordered data mode
ReiserFS: hda7: journal params: device hda7, size 16384, journal first block 18,
max trans len 1024, max batch 900, max commit age 30, max trans age 30
ReiserFS: hda7: checking transaction log (hda7)
ReiserFS: hda7: Using r5 hash to sort names
SGI XFS with ACLs, large block numbers, no debug enabled
SGI XFS Quota Management subsystem
XFS mounting filesystem hdc6
Ending clean XFS mount for filesystem: hdc6
ReiserFS: hdc1: found reiserfs format "3.6" with standard journal
ReiserFS: hdc1: using ordered data mode
ReiserFS: hdc1: journal params: device hdc1, size 8192, journal first block 18,
max trans len 1024, max batch 900, max commit age 30, max trans age 30
ReiserFS: hdc1: checking transaction log (hdc1)
ReiserFS: hdc1: Using r5 hash to sort names
ieee1394: Initialized config rom entry `ip1394'
ohci1394: $Rev: 1203 $ Ben Collins <[email protected]>
ohci1394: fw-host0: OHCI-1394 1.0 (PCI): IRQ=[3] MMIO=[cfffc000-cfffc7ff] Max
Packet=[2048]
ip_tables: (C) 2000-2002 Netfilter core team
ip_conntrack version 2.1 (4095 buckets, 32760 max) - 296 bytes per conntrack
ieee1394: Host added: ID:BUS[0-00:1023] GUID[0010dc00002c7728]
Bridge firewalling registered
Bridge does not support ioctl 0x8b01
Bridge does not support ioctl 0x8946
natsemi dp8381x driver, version 1.07+LK1.0.17, Sep 27, 2002
originally by Donald Becker <[email protected]>
http://www.scyld.com/network/natsemi.html
2.4.x kernel port by Jeff Garzik, Tjeerd Mulder
eth0: NatSemi DP8381[56] at 0xe0c3e000, 00:40:f4:58:9c:a9, IRQ 5.
r8169 Gigabit Ethernet driver 1.2 loaded
eth1: Identified chip type is 'RTL8169s/8110s'.
eth1: RTL8169 at 0xe0c83f00, 00:0c:76:4e:df:cc, IRQ 11
eth1: Auto-negotiation Enabled.
eth1: 1000Mbps Full-duplex operation.
eth0: link up.
eth0: Setting full-duplex based on negotiated link capability.
eth0: Promiscuous mode enabled.
device eth0 entered promiscuous mode
br0: port 1(eth0) entering learning state
br0: topology change detected, propgating
br0: port 1(eth0) entering forwarding state
Universal TUN/TAP device driver 1.5 (C)1999-2002 Maxim Krasnyansky
via82xx: Assuming DXS channels with 48k fixed sample rate.
Please try dxs_support=1 or dxs_support=4 option
and report if it works on your machine.
PCI: Setting latency timer of device 0000:00:11.5 to 64
Linux video capture interface: v1.00
bttv: driver version 0.9.14 loaded
bttv: using 8 buffers with 2080k (520 pages) each for capture
bttv: Bt8xx card found (0).
bttv0: Bt878 (rev 17) at 0000:00:0a.0, irq: 10, latency: 32, mmio: 0xcddfe000
bttv0: using: Hauppauge (bt848) [card=2,insmod option]
bttv0: gpio: en=00000000, out=00000000 in=003fffff [init]
bttv0: Hauppauge/Voodoo msp34xx: reset line init [5]
bttv: readee error
bttv0: Hauppauge eeprom: invalid
bttv0: Hauppauge eeprom: model=0, tuner= (4), radio=no
bttv0: using tuner=17
bttv0: i2c: checking for MSP34xx @ 0x80... not found
bttv0: i2c: checking for TDA9875 @ 0xb0... not found
bttv0: i2c: checking for TDA7432 @ 0x8a... not found
tvaudio: TV audio decoder + audio/video mux driver
tvaudio: known chips: tda9840,tda9873h,tda9874h/a,tda9850,tda9855,tea6300,tea642
0,tda8425,pic16c54 (PV951),ta8874z
tuner: chip found at addr 0xc0 i2c-bus bt878 #0 [sw]
tuner: type set to 17 (Philips NTSC_M (MK2)) by bt878 #0 [sw]
bttv0: registered device video0
bttv0: registered device vbi0
bttv0: registered device radio0


Attachments:
config (35.80 kB)
dmesg (12.98 kB)
Download all attachments