mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* BISECTED REGRESSION: 2.6.26-rc2: FUSE changes break mount of ntfs-3g
@ 2008-05-17 20:37 Ioan Ionita
  2008-05-19  7:14 ` Miklos Szeredi
  0 siblings, 1 reply; 5+ messages in thread
From: Ioan Ionita @ 2008-05-17 20:37 UTC (permalink / raw)
  To: kernel list, mszeredi, a.p.zijlstra, akpm

Hi,

Running a Linux ops-desktop 2.6.26-rc1 #7 SMP PREEMPT Sat May 17
19:33:36 EEST 2008 x86_64 GNU/Linux

When attempting to mount a ntfs-3g partition under 2.6.26-rc2, i got
the following error:

fuse: mount failed: Cannot allocate memory

I also got the OOPS included below. I bisected the error to:

b6f2fcbcfca9db2bd7aa24940224fcd3bbdbb8aa is first bad commit
commit b6f2fcbcfca9db2bd7aa24940224fcd3bbdbb8aa
Author: Miklos Szeredi <mszeredi@suse.cz>
Date:   Wed Apr 30 00:54:34 2008 -0700

    mm: bdi: expose the BDI object in sysfs for FUSE

    Register FUSE's backing_dev_info under sysfs with the name
"fuse-MAJOR:MINOR"

    Make the fuse control filesystem use s_dev instead of a fuse specific ID.
    This makes it easier to match directories under
/sys/fs/fuse/connections/ with
    directories under /sys/class/bdi, and with actual mounts.

    Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
    Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

:040000 040000 f993fbf0716b58bfcf12dd27abbb25c43ab78326
176a10dec86edc841fc44db6ad4011377a9efe02 M	fs


OOPS:

WARNING: at fs/sysfs/dir.c:425 sysfs_add_one+0xa3/0xc0()
Modules linked in:
Pid: 7545, comm: mount.ntfs Not tainted 2.6.26-rc1 #7

Call Trace:
 [<ffffffff80250ce4>] warn_on_slowpath+0x64/0xa0
 [<ffffffff80251e1e>] printk+0x4e/0x60
 [<ffffffff802c2e93>] find_inode+0x43/0x70
 [<ffffffff802f9cf0>] sysfs_ilookup_test+0x0/0x10
 [<ffffffff802c3014>] ifind+0x64/0xc0
 [<ffffffff802f9f99>] sysfs_find_dirent+0x29/0x40
 [<ffffffff802fa053>] sysfs_add_one+0xa3/0xc0
 [<ffffffff802fa670>] create_dir+0x60/0xb0
 [<ffffffff802fa6f1>] sysfs_create_dir+0x31/0x50
 [<ffffffff8037b4d2>] kobject_get+0x12/0x20
 [<ffffffff8037b632>] kobject_add_internal+0xe2/0x1c0
 [<ffffffff8037bc14>] kobject_add+0x54/0x80
 [<ffffffff80314efa>] search_by_key+0x14a/0xe10
 [<ffffffff802869be>] free_pages_bulk+0xde/0x300
 [<ffffffff8037b4d2>] kobject_get+0x12/0x20
 [<ffffffff803ed807>] get_device+0x17/0x30
 [<ffffffff803edf6a>] device_add+0xba/0x5c0
 [<ffffffff8037b273>] kobject_init+0x33/0x90
 [<ffffffff803ee578>] device_create+0xe8/0x140
 [<ffffffff8038080c>] vsnprintf+0x45c/0x700
 [<ffffffff80382da1>] kvasprintf+0x71/0x90
 [<ffffffff8028f375>] bdi_register+0x95/0x120
 [<ffffffff802ab854>] percpu_populate+0x44/0x60
 [<ffffffff802aa054>] __kmalloc+0xa4/0x100
 [<ffffffff802ab9e7>] __percpu_alloc_mask+0x77/0xb0
 [<ffffffff8038d86c>] percpu_counter_init+0x6c/0x80
 [<ffffffff8028f227>] bdi_init+0x77/0xc0
 [<ffffffff8035300a>] fuse_fill_super+0x23a/0x640
 [<ffffffff805a14c1>] __down_write_nested+0xa1/0xc0
 [<ffffffff8037f35e>] strlcpy+0x4e/0x80
 [<ffffffff802b0664>] get_sb_bdev+0x144/0x180
 [<ffffffff80352dd0>] fuse_fill_super+0x0/0x640
 [<ffffffff802b0396>] vfs_kern_mount+0x56/0xc0
 [<ffffffff802b0463>] do_kern_mount+0x53/0x110
 [<ffffffff802c892b>] do_new_mount+0x9b/0xe0
 [<ffffffff802c8b56>] do_mount+0x1e6/0x220
 [<ffffffff8026a1a6>] down+0x16/0x50
 [<ffffffff802c8c2b>] sys_mount+0x9b/0x100
 [<ffffffff8022442b>] system_call_after_swapgs+0x7b/0x80

---[ end trace 1f3b5efdffae7d27 ]---
kobject_add_internal failed for 253:3 with -EEXIST, don't try to
register things with the same name in the same directory.
Pid: 7545, comm: mount.ntfs Tainted: G        W 2.6.26-rc1 #7

Call Trace:
 [<ffffffff8037b6c3>] kobject_add_internal+0x173/0x1c0
 [<ffffffff8037bc14>] kobject_add+0x54/0x80
 [<ffffffff80314efa>] search_by_key+0x14a/0xe10
 [<ffffffff802869be>] free_pages_bulk+0xde/0x300
 [<ffffffff8037b4d2>] kobject_get+0x12/0x20
 [<ffffffff803ed807>] get_device+0x17/0x30
 [<ffffffff803edf6a>] device_add+0xba/0x5c0
 [<ffffffff8037b273>] kobject_init+0x33/0x90
 [<ffffffff803ee578>] device_create+0xe8/0x140
 [<ffffffff8038080c>] vsnprintf+0x45c/0x700
 [<ffffffff80382da1>] kvasprintf+0x71/0x90
 [<ffffffff8028f375>] bdi_register+0x95/0x120
 [<ffffffff802ab854>] percpu_populate+0x44/0x60
 [<ffffffff802aa054>] __kmalloc+0xa4/0x100
 [<ffffffff802ab9e7>] __percpu_alloc_mask+0x77/0xb0
 [<ffffffff8038d86c>] percpu_counter_init+0x6c/0x80
 [<ffffffff8028f227>] bdi_init+0x77/0xc0
 [<ffffffff8035300a>] fuse_fill_super+0x23a/0x640
 [<ffffffff805a14c1>] __down_write_nested+0xa1/0xc0
 [<ffffffff8037f35e>] strlcpy+0x4e/0x80
 [<ffffffff802b0664>] get_sb_bdev+0x144/0x180
 [<ffffffff80352dd0>] fuse_fill_super+0x0/0x640
 [<ffffffff802b0396>] vfs_kern_mount+0x56/0xc0
 [<ffffffff802b0463>] do_kern_mount+0x53/0x110
 [<ffffffff802c892b>] do_new_mount+0x9b/0xe0
 [<ffffffff802c8b56>] do_mount+0x1e6/0x220
 [<ffffffff8026a1a6>] down+0x16/0x50
 [<ffffffff802c8c2b>] sys_mount+0x9b/0x100
 [<ffffffff8022442b>] system_call_after_swapgs+0x7b/0x80


If any further info is required, let me know. I'm willing to test any
patches as well.

Kudos!

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: BISECTED REGRESSION: 2.6.26-rc2: FUSE changes break mount of ntfs-3g
  2008-05-17 20:37 BISECTED REGRESSION: 2.6.26-rc2: FUSE changes break mount of ntfs-3g Ioan Ionita
@ 2008-05-19  7:14 ` Miklos Szeredi
  2008-05-19 18:17   ` Ioan Ionita
  0 siblings, 1 reply; 5+ messages in thread
From: Miklos Szeredi @ 2008-05-19  7:14 UTC (permalink / raw)
  To: opslynx; +Cc: linux-kernel, mszeredi, a.p.zijlstra, akpm

> 
> Running a Linux ops-desktop 2.6.26-rc1 #7 SMP PREEMPT Sat May 17
> 19:33:36 EEST 2008 x86_64 GNU/Linux
> 
> When attempting to mount a ntfs-3g partition under 2.6.26-rc2, i got
> the following error:
> 
> fuse: mount failed: Cannot allocate memory
> 
> I also got the OOPS included below. I bisected the error to:
> 
> b6f2fcbcfca9db2bd7aa24940224fcd3bbdbb8aa is first bad commit
> commit b6f2fcbcfca9db2bd7aa24940224fcd3bbdbb8aa
> Author: Miklos Szeredi <mszeredi@suse.cz>
> Date:   Wed Apr 30 00:54:34 2008 -0700
> 
>     mm: bdi: expose the BDI object in sysfs for FUSE
> 
>     Register FUSE's backing_dev_info under sysfs with the name
> "fuse-MAJOR:MINOR"
> 
>     Make the fuse control filesystem use s_dev instead of a fuse specific ID.
>     This makes it easier to match directories under
> /sys/fs/fuse/connections/ with
>     directories under /sys/class/bdi, and with actual mounts.
> 
>     Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
>     Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
>     Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
>     Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

Thanks.  I've tried to reproduce this bug, but was unable to.

That patch looks OK to me, however there's something very weird going
on if sysfs_add_one() gets called with an already existing name.

Could you please post the full dmesg output?  That should include a
line like

  sysfs: duplicate filename 'foobar' can not be created

What are the exact commands that you perform (or contents of
/etc/fstab, etc. that might be relevant) to tirgger this bug?

Thanks,
Miklos


> 
> :040000 040000 f993fbf0716b58bfcf12dd27abbb25c43ab78326
> 176a10dec86edc841fc44db6ad4011377a9efe02 M	fs
> 
> 
> OOPS:
> 
> WARNING: at fs/sysfs/dir.c:425 sysfs_add_one+0xa3/0xc0()
> Modules linked in:
> Pid: 7545, comm: mount.ntfs Not tainted 2.6.26-rc1 #7
> 
> Call Trace:
>  [<ffffffff80250ce4>] warn_on_slowpath+0x64/0xa0
>  [<ffffffff80251e1e>] printk+0x4e/0x60
>  [<ffffffff802c2e93>] find_inode+0x43/0x70
>  [<ffffffff802f9cf0>] sysfs_ilookup_test+0x0/0x10
>  [<ffffffff802c3014>] ifind+0x64/0xc0
>  [<ffffffff802f9f99>] sysfs_find_dirent+0x29/0x40
>  [<ffffffff802fa053>] sysfs_add_one+0xa3/0xc0
>  [<ffffffff802fa670>] create_dir+0x60/0xb0
>  [<ffffffff802fa6f1>] sysfs_create_dir+0x31/0x50
>  [<ffffffff8037b4d2>] kobject_get+0x12/0x20
>  [<ffffffff8037b632>] kobject_add_internal+0xe2/0x1c0
>  [<ffffffff8037bc14>] kobject_add+0x54/0x80
>  [<ffffffff80314efa>] search_by_key+0x14a/0xe10
>  [<ffffffff802869be>] free_pages_bulk+0xde/0x300
>  [<ffffffff8037b4d2>] kobject_get+0x12/0x20
>  [<ffffffff803ed807>] get_device+0x17/0x30
>  [<ffffffff803edf6a>] device_add+0xba/0x5c0
>  [<ffffffff8037b273>] kobject_init+0x33/0x90
>  [<ffffffff803ee578>] device_create+0xe8/0x140
>  [<ffffffff8038080c>] vsnprintf+0x45c/0x700
>  [<ffffffff80382da1>] kvasprintf+0x71/0x90
>  [<ffffffff8028f375>] bdi_register+0x95/0x120
>  [<ffffffff802ab854>] percpu_populate+0x44/0x60
>  [<ffffffff802aa054>] __kmalloc+0xa4/0x100
>  [<ffffffff802ab9e7>] __percpu_alloc_mask+0x77/0xb0
>  [<ffffffff8038d86c>] percpu_counter_init+0x6c/0x80
>  [<ffffffff8028f227>] bdi_init+0x77/0xc0
>  [<ffffffff8035300a>] fuse_fill_super+0x23a/0x640
>  [<ffffffff805a14c1>] __down_write_nested+0xa1/0xc0
>  [<ffffffff8037f35e>] strlcpy+0x4e/0x80
>  [<ffffffff802b0664>] get_sb_bdev+0x144/0x180
>  [<ffffffff80352dd0>] fuse_fill_super+0x0/0x640
>  [<ffffffff802b0396>] vfs_kern_mount+0x56/0xc0
>  [<ffffffff802b0463>] do_kern_mount+0x53/0x110
>  [<ffffffff802c892b>] do_new_mount+0x9b/0xe0
>  [<ffffffff802c8b56>] do_mount+0x1e6/0x220
>  [<ffffffff8026a1a6>] down+0x16/0x50
>  [<ffffffff802c8c2b>] sys_mount+0x9b/0x100
>  [<ffffffff8022442b>] system_call_after_swapgs+0x7b/0x80
> 
> ---[ end trace 1f3b5efdffae7d27 ]---
> kobject_add_internal failed for 253:3 with -EEXIST, don't try to
> register things with the same name in the same directory.
> Pid: 7545, comm: mount.ntfs Tainted: G        W 2.6.26-rc1 #7
> 
> Call Trace:
>  [<ffffffff8037b6c3>] kobject_add_internal+0x173/0x1c0
>  [<ffffffff8037bc14>] kobject_add+0x54/0x80
>  [<ffffffff80314efa>] search_by_key+0x14a/0xe10
>  [<ffffffff802869be>] free_pages_bulk+0xde/0x300
>  [<ffffffff8037b4d2>] kobject_get+0x12/0x20
>  [<ffffffff803ed807>] get_device+0x17/0x30
>  [<ffffffff803edf6a>] device_add+0xba/0x5c0
>  [<ffffffff8037b273>] kobject_init+0x33/0x90
>  [<ffffffff803ee578>] device_create+0xe8/0x140
>  [<ffffffff8038080c>] vsnprintf+0x45c/0x700
>  [<ffffffff80382da1>] kvasprintf+0x71/0x90
>  [<ffffffff8028f375>] bdi_register+0x95/0x120
>  [<ffffffff802ab854>] percpu_populate+0x44/0x60
>  [<ffffffff802aa054>] __kmalloc+0xa4/0x100
>  [<ffffffff802ab9e7>] __percpu_alloc_mask+0x77/0xb0
>  [<ffffffff8038d86c>] percpu_counter_init+0x6c/0x80
>  [<ffffffff8028f227>] bdi_init+0x77/0xc0
>  [<ffffffff8035300a>] fuse_fill_super+0x23a/0x640
>  [<ffffffff805a14c1>] __down_write_nested+0xa1/0xc0
>  [<ffffffff8037f35e>] strlcpy+0x4e/0x80
>  [<ffffffff802b0664>] get_sb_bdev+0x144/0x180
>  [<ffffffff80352dd0>] fuse_fill_super+0x0/0x640
>  [<ffffffff802b0396>] vfs_kern_mount+0x56/0xc0
>  [<ffffffff802b0463>] do_kern_mount+0x53/0x110
>  [<ffffffff802c892b>] do_new_mount+0x9b/0xe0
>  [<ffffffff802c8b56>] do_mount+0x1e6/0x220
>  [<ffffffff8026a1a6>] down+0x16/0x50
>  [<ffffffff802c8c2b>] sys_mount+0x9b/0x100
>  [<ffffffff8022442b>] system_call_after_swapgs+0x7b/0x80
> 
> 
> If any further info is required, let me know. I'm willing to test any
> patches as well.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: BISECTED REGRESSION: 2.6.26-rc2: FUSE changes break mount of ntfs-3g
  2008-05-19  7:14 ` Miklos Szeredi
@ 2008-05-19 18:17   ` Ioan Ionita
  2008-05-19 19:32     ` Miklos Szeredi
  0 siblings, 1 reply; 5+ messages in thread
From: Ioan Ionita @ 2008-05-19 18:17 UTC (permalink / raw)
  To: Miklos Szeredi; +Cc: linux-kernel, mszeredi, a.p.zijlstra, akpm

[-- Attachment #1: Type: text/plain, Size: 1259 bytes --]

On Mon, May 19, 2008 at 10:14 AM, Miklos Szeredi <miklos@szeredi.hu> wrote:

> Thanks.  I've tried to reproduce this bug, but was unable to.
>
> That patch looks OK to me, however there's something very weird going
> on if sysfs_add_one() gets called with an already existing name.
>
> Could you please post the full dmesg output?  That should include a
> line like
>
>  sysfs: duplicate filename 'foobar' can not be created
>
> What are the exact commands that you perform (or contents of
> /etc/fstab, etc. that might be relevant) to tirgger this bug?
>

I think you were unable to reproduce it because i just figured out
that it only occurs on a raid-0 partition managed by dmraid.
Ex:

Mounting the non-raid:
/dev/sdb3           10913       18242    58878225    7  HPFS/NTFS
root@ops-desktop:~# mount /dev/sdb3 /next
root@ops-desktop:~#

The raid-0:
/dev/mapper/isw_fjcgajage_raid3            4346       29841
204796620    7  HPFS/NTFS
root@ops-desktop:~# mount /dev/mapper/isw_fjcgajage_raid3 /new
fuse: mount failed: Cannot allocate memory

NOTE that I've tried mounting other raid-0 NTFS partitions. Same
failure occurred. So it doesn't seem to be isolated to one partition.
RAID is the only common thing.

I've attached the full dmesg. Hope it helps.

[-- Attachment #2: dmesg.txt --]
[-- Type: text/plain, Size: 31265 bytes --]

Linux version 2.6.26-rc3 (root@ops-desktop) (gcc version 4.2.3 (Ubuntu 4.2.3-2ubuntu7)) #1 SMP PREEMPT Mon May 19 20:53:20 EEST 2008
Command line: splash real_root=/dev/mapper/isw_fjcgajage_raid1
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 0000000000098000 (usable)
 BIOS-e820: 0000000000098000 - 00000000000a0000 (reserved)
 BIOS-e820: 00000000000e4000 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 000000007ff90000 (usable)
 BIOS-e820: 000000007ff90000 - 000000007ff9e000 (ACPI data)
 BIOS-e820: 000000007ff9e000 - 000000007ffe0000 (ACPI NVS)
 BIOS-e820: 000000007ffe0000 - 0000000080000000 (reserved)
 BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
 BIOS-e820: 00000000ffb00000 - 0000000100000000 (reserved)
Entering add_active_range(0, 0, 152) 0 entries of 256 used
Entering add_active_range(0, 256, 524176) 1 entries of 256 used
max_pfn_mapped = 1048576
x86 PAT enabled: cpu 0, old 0x7040600070406, new 0x7010600070106
init_memory_mapping
DMI 2.4 present.
ACPI: RSDP 000FB050, 0024 (r2 ACPIAM)
ACPI: XSDT 7FF90100, 004C (r1 MSTEST OEMXSDT  12000711 MSFT       97)
ACPI: FACP 7FF90290, 00F4 (r3 MSTEST OEMFACP  12000711 MSFT       97)
ACPI: DSDT 7FF905C0, 998C (r1  A0693 A0693000        0 INTL 20060113)
ACPI: FACS 7FF9E000, 0040
ACPI: APIC 7FF90390, 006C (r1 MSTEST OEMAPIC  12000711 MSFT       97)
ACPI: MCFG 7FF90400, 003C (r1 MSTEST OEMMCFG  12000711 MSFT       97)
ACPI: OEMB 7FF9E040, 007B (r1 MSTEST AMI_OEM  12000711 MSFT       97)
ACPI: HPET 7FF99F50, 0038 (r1 MSTEST OEMHPET  12000711 MSFT       97)
Entering add_active_range(0, 0, 152) 0 entries of 256 used
Entering add_active_range(0, 256, 524176) 1 entries of 256 used
  early res: 0 [0-fff] BIOS data page
  early res: 1 [6000-7fff] TRAMPOLINE
  early res: 2 [200000-7f9eeb] TEXT DATA BSS
  early res: 3 [37cc7000-37fef482] RAMDISK
  early res: 4 [98000-fffff] BIOS reserved
  early res: 5 [8000-bfff] PGTABLE
 [ffffe20000000000-ffffe20001bfffff] PMD -> [ffff810001200000-ffff810002dfffff] on node 0
Zone PFN ranges:
  DMA             0 ->     4096
  DMA32        4096 ->  1048576
  Normal    1048576 ->  1048576
Movable zone start PFN for each node
early_node_map[2] active PFN ranges
    0:        0 ->      152
    0:      256 ->   524176
On node 0 totalpages: 524072
  DMA zone: 56 pages used for memmap
  DMA zone: 1642 pages reserved
  DMA zone: 2294 pages, LIFO batch:0
  DMA32 zone: 7110 pages used for memmap
  DMA32 zone: 512970 pages, LIFO batch:31
  Normal zone: 0 pages used for memmap
  Movable zone: 0 pages used for memmap
ACPI: PM-Timer IO Port: 0x808
ACPI: Local APIC address 0xfee00000
ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] enabled)
ACPI: LAPIC (acpi_id[0x02] lapic_id[0x01] enabled)
ACPI: LAPIC (acpi_id[0x03] lapic_id[0x82] disabled)
ACPI: LAPIC (acpi_id[0x04] lapic_id[0x83] disabled)
ACPI: IOAPIC (id[0x02] address[0xfec00000] gsi_base[0])
IOAPIC[0]: apic_id 2, version 0, address 0xfec00000, GSI 0-23
ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
ACPI: IRQ0 used by override.
ACPI: IRQ2 used by override.
ACPI: IRQ9 used by override.
Setting APIC routing to flat
ACPI: HPET id: 0x8086a202 base: 0xfed00000
Using ACPI (MADT) for SMP configuration information
Allocating PCI resources starting at 88000000 (gap: 80000000:7ee00000)
SMP: Allowing 2 CPUs, 0 hotplug CPUs
PERCPU: Allocating 36164 bytes of per cpu data
NR_CPUS: 2, nr_cpu_ids: 2
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 515264
Kernel command line: splash real_root=/dev/mapper/isw_fjcgajage_raid1
Initializing CPU#0
Preemptible RCU implementation.
PID hash table entries: 4096 (order: 12, 32768 bytes)
Extended CMOS year: 2000
TSC calibrated against PM_TIMER
time.c: Detected 3149.999 MHz processor.
Console: colour VGA+ 80x25
console [tty0] enabled
Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes)
Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes)
Checking aperture...
Memory: 2054224k/2096704k available (3797k kernel code, 41588k reserved, 1595k data, 292k init)
CPA: page pool initialized 1 of 1 pages preallocated
SLUB: Genslabs=12, HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
hpet clockevent registered
Calibrating delay using timer specific routine.. 6303.29 BogoMIPS (lpj=3151648)
Mount-cache hash table entries: 256
CPU: L1 I cache: 32K, L1 D cache: 32K
CPU: L2 cache: 4096K
CPU: Physical Processor ID: 0
CPU: Processor Core ID: 0
CPU0: Thermal monitoring enabled (TM2)
using mwait in idle threads.
ACPI: Core revision 20080321
CPU0: Intel(R) Core(TM)2 CPU          6600  @ 2.40GHz stepping 06
Using local APIC timer interrupts.
APIC timer calibration result 21874989
Detected 21.874 MHz APIC timer.
Booting processor 1/1 ip 6000
Initializing CPU#1
Calibrating delay using timer specific routine.. 6299.77 BogoMIPS (lpj=3149888)
CPU: L1 I cache: 32K, L1 D cache: 32K
CPU: L2 cache: 4096K
CPU: Physical Processor ID: 0
CPU: Processor Core ID: 1
CPU1: Thermal monitoring enabled (TM2)
x86 PAT enabled: cpu 1, old 0x7040600070406, new 0x7010600070106
CPU1: Intel(R) Core(TM)2 CPU          6600  @ 2.40GHz stepping 06
checking TSC synchronization [CPU#0 -> CPU#1]: passed.
Brought up 2 CPUs
Total of 2 processors activated (12603.07 BogoMIPS).
net_namespace: 944 bytes
NET: Registered protocol family 16
No dock devices found.
ACPI: bus type pci registered
PCI: MCFG configuration 0: base e0000000 segment 0 buses 0 - 255
PCI: Not using MMCONFIG.
PCI: Using configuration type 1 for base access
ACPI: EC: Look up EC in DSDT
ACPI: Interpreter enabled
ACPI: (supports S0 S5)
ACPI: Using IOAPIC for interrupt routing
PCI: MCFG configuration 0: base e0000000 segment 0 buses 0 - 255
PCI: MCFG area at e0000000 reserved in ACPI motherboard resources
PCI: Using MMCONFIG at e0000000 - efffffff
ACPI: PCI Root Bridge [PCI0] (0000:00)
pci 0000:00:1f.0: quirk: region 0800-087f claimed by ICH6 ACPI/GPIO/TCO
pci 0000:00:1f.0: quirk: region 0480-04bf claimed by ICH6 GPIO
PCI: Transparent bridge - 0000:00:1e.0
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.P0P2._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.P0P1._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.P0P4._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.P0P8._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.P0P9._PRT]
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)
ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 5 6 *7 10 11 12 14 15)
ACPI Warning (tbutils-0217): Incorrect checksum in table [OEMB] - F2, should be EA [20080321]
Linux Plug and Play Support v0.97 (c) Adam Belay
pnp: PnP ACPI init
ACPI: bus type pnp registered
pnp: PnP ACPI: found 14 devices
ACPI: ACPI bus type pnp unregistered
SCSI subsystem initialized
libata version 3.00 loaded.
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
PCI: Using ACPI for IRQ routing
PCI-GART: No AMD northbridge found.
hpet0: at MMIO 0xfed00000, IRQs 2, 8, 0
hpet0: 3 64-bit timers, 14318180 Hz
system 00:01: iomem range 0xfed14000-0xfed19fff has been reserved
system 00:07: ioport range 0x290-0x297 has been reserved
system 00:08: ioport range 0x4d0-0x4d1 has been reserved
system 00:08: ioport range 0x800-0x87f has been reserved
system 00:08: ioport range 0x480-0x4bf has been reserved
system 00:08: iomem range 0xffafe000-0xffb0cbff could not be reserved
system 00:08: iomem range 0xffb00000-0xffbfffff could not be reserved
system 00:08: iomem range 0xfed1c000-0xfed1ffff has been reserved
system 00:08: iomem range 0xfed20000-0xfed8ffff has been reserved
system 00:08: iomem range 0xfff00000-0xfffffffe could not be reserved
system 00:08: iomem range 0xfebfe000-0xfebfec00 has been reserved
system 00:0a: iomem range 0xfec00000-0xfec00fff has been reserved
system 00:0a: iomem range 0xfee00000-0xfee00fff could not be reserved
system 00:0c: iomem range 0xe0000000-0xefffffff has been reserved
system 00:0d: iomem range 0x0-0x9ffff could not be reserved
system 00:0d: iomem range 0xc0000-0xcffff has been reserved
system 00:0d: iomem range 0xe0000-0xfffff could not be reserved
system 00:0d: iomem range 0x100000-0x7fffffff could not be reserved
system 00:0d: iomem range 0x0-0xffffffffffffffff could not be reserved
PCI: Bridge: 0000:00:01.0
  IO window: disabled.
  MEM window: 0xf4700000-0xfe7fffff
  PREFETCH window: 0x00000000cfe00000-0x00000000dfdfffff
PCI: Bridge: 0000:00:1c.0
  IO window: disabled.
  MEM window: disabled.
  PREFETCH window: 0x00000000dfe00000-0x00000000dfefffff
PCI: Bridge: 0000:00:1c.4
  IO window: b000-bfff
  MEM window: 0xfe900000-0xfe9fffff
  PREFETCH window: disabled.
PCI: Bridge: 0000:00:1c.5
  IO window: a000-afff
  MEM window: 0xfe800000-0xfe8fffff
  PREFETCH window: disabled.
PCI: Bridge: 0000:00:1e.0
  IO window: c000-cfff
  MEM window: 0xfea00000-0xfeafffff
  PREFETCH window: 0x0000000088000000-0x00000000880fffff
ACPI: PCI Interrupt 0000:00:01.0[A] -> GSI 16 (level, low) -> IRQ 16
PCI: Setting latency timer of device 0000:00:01.0 to 64
ACPI: PCI Interrupt 0000:00:1c.0[A] -> GSI 16 (level, low) -> IRQ 16
PCI: Setting latency timer of device 0000:00:1c.0 to 64
ACPI: PCI Interrupt 0000:00:1c.4[A] -> GSI 16 (level, low) -> IRQ 16
PCI: Setting latency timer of device 0000:00:1c.4 to 64
ACPI: PCI Interrupt 0000:00:1c.5[B] -> GSI 17 (level, low) -> IRQ 17
PCI: Setting latency timer of device 0000:00:1c.5 to 64
PCI: Setting latency timer of device 0000:00:1e.0 to 64
NET: Registered protocol family 2
IP route cache hash table entries: 65536 (order: 7, 524288 bytes)
TCP established hash table entries: 262144 (order: 10, 4194304 bytes)
TCP bind hash table entries: 65536 (order: 8, 1048576 bytes)
TCP: Hash tables configured (established 262144 bind 65536)
TCP reno registered
NET: Registered protocol family 1
checking if image is initramfs... it is
Freeing initrd memory: 3233k freed
IA-32 Microcode Update Driver: v1.14a <tigran@aivazian.fsnet.co.uk>
Total HugeTLB memory allocated, 0
NTFS driver 2.1.29 [Flags: R/O].
fuse init (API version 7.9)
msgmni has been set to 4019 for ipc namespace ffffffff806e9580
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254)
io scheduler noop registered
io scheduler cfq registered (default)
pci 0000:01:00.0: Boot video device
PCI: Setting latency timer of device 0000:00:01.0 to 64
assign_interrupt_mode Found MSI capability
Allocate Port Service[0000:00:01.0:pcie00]
Allocate Port Service[0000:00:01.0:pcie03]
PCI: Setting latency timer of device 0000:00:1c.0 to 64
assign_interrupt_mode Found MSI capability
Allocate Port Service[0000:00:1c.0:pcie00]
Allocate Port Service[0000:00:1c.0:pcie02]
Allocate Port Service[0000:00:1c.0:pcie03]
PCI: Setting latency timer of device 0000:00:1c.4 to 64
assign_interrupt_mode Found MSI capability
Allocate Port Service[0000:00:1c.4:pcie00]
Allocate Port Service[0000:00:1c.4:pcie02]
Allocate Port Service[0000:00:1c.4:pcie03]
PCI: Setting latency timer of device 0000:00:1c.5 to 64
assign_interrupt_mode Found MSI capability
Allocate Port Service[0000:00:1c.5:pcie00]
Allocate Port Service[0000:00:1c.5:pcie02]
Allocate Port Service[0000:00:1c.5:pcie03]
input: Power Button (FF) as /class/input/input0
ACPI: Power Button (FF) [PWRF]
input: Power Button (CM) as /class/input/input1
ACPI: Power Button (CM) [PWRB]
ACPI: SSDT 7FF9E0C0, 01C6 (r1    AMI   CPU1PM        1 INTL 20060113)
ACPI: ACPI0007:00 is registered as cooling_device0
ACPI: SSDT 7FF9E290, 013A (r1    AMI   CPU2PM        1 INTL 20060113)
ACPI: ACPI0007:01 is registered as cooling_device1
Real Time Clock Driver v1.12ac
hpet_resources: 0xfed00000 is busy
Linux agpgart interface v0.103
Hangcheck: starting hangcheck timer 0.9.0 (tick is 180 seconds, margin is 60 seconds).
Hangcheck: Using get_cycles().
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled
brd: module loaded
loop: module loaded
ACPI: PCI Interrupt 0000:05:04.0[A] -> GSI 19 (level, low) -> IRQ 19
skge 1.13 addr 0xfeafc000 irq 19 chip Yukon-Lite rev 9
skge eth0: addr 00:1a:92:23:d6:be
ACPI: PCI Interrupt 0000:02:00.0[A] -> GSI 17 (level, low) -> IRQ 17
PCI: Setting latency timer of device 0000:02:00.0 to 64
sky2 0000:02:00.0: v1.21 addr 0xfe8fc000 irq 17 Yukon-EC Ultra (0xb4) rev 2
sky2 eth1: addr 00:1a:92:24:06:5f
PPP generic driver version 2.4.2
PPP Deflate Compression module registered
NET: Registered protocol family 24
Driver 'sd' needs updating - please use bus_type methods
Driver 'sr' needs updating - please use bus_type methods
ahci 0000:00:1f.2: version 3.0
ACPI: PCI Interrupt 0000:00:1f.2[B] -> GSI 19 (level, low) -> IRQ 19
Switched to high resolution mode on CPU 1
Switched to high resolution mode on CPU 0
ahci 0000:00:1f.2: AHCI 0001.0100 32 slots 6 ports 3 Gbps 0x3f impl RAID mode
ahci 0000:00:1f.2: flags: 64bit ncq sntf stag pm led clo pio slum part 
PCI: Setting latency timer of device 0000:00:1f.2 to 64
scsi0 : ahci
scsi1 : ahci
scsi2 : ahci
scsi3 : ahci
scsi4 : ahci
scsi5 : ahci
ata1: SATA max UDMA/133 abar m2048@0xfebff800 port 0xfebff900 irq 314
ata2: SATA max UDMA/133 abar m2048@0xfebff800 port 0xfebff980 irq 314
ata3: SATA max UDMA/133 abar m2048@0xfebff800 port 0xfebffa00 irq 314
ata4: SATA max UDMA/133 abar m2048@0xfebff800 port 0xfebffa80 irq 314
ata5: SATA max UDMA/133 abar m2048@0xfebff800 port 0xfebffb00 irq 314
ata6: SATA max UDMA/133 abar m2048@0xfebff800 port 0xfebffb80 irq 314
ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
ata1.00: ATA-7: ST3250410AS, 3.AAC, max UDMA/133
ata1.00: 488397168 sectors, multi 0: LBA48 NCQ (depth 31/32)
ata1.00: configured for UDMA/133
ata2: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
ata2.00: ATA-7: MAXTOR STM3160812AS, 3.AAJ, max UDMA/133
ata2.00: 312581808 sectors, multi 0: LBA48 NCQ (depth 31/32)
ata2.00: configured for UDMA/133
ata3: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
ata3.00: ATA-7: ST3250410AS, 3.AAC, max UDMA/133
ata3.00: 488397168 sectors, multi 0: LBA48 NCQ (depth 31/32)
ata3.00: configured for UDMA/133
ata4: SATA link down (SStatus 0 SControl 300)
ata5: SATA link down (SStatus 0 SControl 300)
ata6: SATA link down (SStatus 0 SControl 300)
scsi 0:0:0:0: Direct-Access     ATA      ST3250410AS      3.AA PQ: 0 ANSI: 5
sd 0:0:0:0: [sda] 488397168 512-byte hardware sectors (250059 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
sd 0:0:0:0: [sda] 488397168 512-byte hardware sectors (250059 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
 sda: sda1 sda2 sda3
sd 0:0:0:0: [sda] Attached SCSI disk
sd 0:0:0:0: Attached scsi generic sg0 type 0
scsi 1:0:0:0: Direct-Access     ATA      MAXTOR STM316081 3.AA PQ: 0 ANSI: 5
sd 1:0:0:0: [sdb] 312581808 512-byte hardware sectors (160042 MB)
sd 1:0:0:0: [sdb] Write Protect is off
sd 1:0:0:0: [sdb] Mode Sense: 00 3a 00 00
sd 1:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
sd 1:0:0:0: [sdb] 312581808 512-byte hardware sectors (160042 MB)
sd 1:0:0:0: [sdb] Write Protect is off
sd 1:0:0:0: [sdb] Mode Sense: 00 3a 00 00
sd 1:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
 sdb: sdb1 < sdb5 sdb6 sdb7 > sdb2 sdb3 sdb4
sd 1:0:0:0: [sdb] Attached SCSI disk
sd 1:0:0:0: Attached scsi generic sg1 type 0
scsi 2:0:0:0: Direct-Access     ATA      ST3250410AS      3.AA PQ: 0 ANSI: 5
sd 2:0:0:0: [sdc] 488397168 512-byte hardware sectors (250059 MB)
sd 2:0:0:0: [sdc] Write Protect is off
sd 2:0:0:0: [sdc] Mode Sense: 00 3a 00 00
sd 2:0:0:0: [sdc] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
sd 2:0:0:0: [sdc] 488397168 512-byte hardware sectors (250059 MB)
sd 2:0:0:0: [sdc] Write Protect is off
sd 2:0:0:0: [sdc] Mode Sense: 00 3a 00 00
sd 2:0:0:0: [sdc] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
 sdc: unknown partition table
sd 2:0:0:0: [sdc] Attached SCSI disk
sd 2:0:0:0: Attached scsi generic sg2 type 0
ACPI: PCI Interrupt 0000:03:00.0[A] -> GSI 16 (level, low) -> IRQ 16
ahci 0000:03:00.0: AHCI 0001.0000 32 slots 2 ports 3 Gbps 0x3 impl SATA mode
ahci 0000:03:00.0: flags: 64bit ncq pm led clo pmp pio slum part 
PCI: Setting latency timer of device 0000:03:00.0 to 64
scsi6 : ahci
scsi7 : ahci
ata7: SATA max UDMA/133 abar m8192@0xfe9fe000 port 0xfe9fe100 irq 16
ata8: SATA max UDMA/133 abar m8192@0xfe9fe000 port 0xfe9fe180 irq 16
ata7: SATA link down (SStatus 0 SControl 300)
ata8: SATA link down (SStatus 0 SControl 300)
ACPI: PCI Interrupt 0000:00:1a.7[C] -> GSI 18 (level, low) -> IRQ 18
PCI: Setting latency timer of device 0000:00:1a.7 to 64
ehci_hcd 0000:00:1a.7: EHCI Host Controller
ehci_hcd 0000:00:1a.7: new USB bus registered, assigned bus number 1
ehci_hcd 0000:00:1a.7: debug port 1
PCI: cache line size of 32 is not supported by device 0000:00:1a.7
ehci_hcd 0000:00:1a.7: irq 18, io mem 0xfebff400
ehci_hcd 0000:00:1a.7: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 4 ports detected
ACPI: PCI Interrupt 0000:00:1d.7[A] -> GSI 23 (level, low) -> IRQ 23
PCI: Setting latency timer of device 0000:00:1d.7 to 64
ehci_hcd 0000:00:1d.7: EHCI Host Controller
ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 2
ehci_hcd 0000:00:1d.7: debug port 1
PCI: cache line size of 32 is not supported by device 0000:00:1d.7
ehci_hcd 0000:00:1d.7: irq 23, io mem 0xfebff000
ehci_hcd 0000:00:1d.7: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 6 ports detected
ohci_hcd: 2006 August 04 USB 1.1 'Open' Host Controller (OHCI) Driver
USB Universal Host Controller Interface driver v3.0
ACPI: PCI Interrupt 0000:00:1a.0[A] -> GSI 16 (level, low) -> IRQ 16
PCI: Setting latency timer of device 0000:00:1a.0 to 64
uhci_hcd 0000:00:1a.0: UHCI Host Controller
uhci_hcd 0000:00:1a.0: new USB bus registered, assigned bus number 3
uhci_hcd 0000:00:1a.0: irq 16, io base 0x0000e000
usb usb3: configuration #1 chosen from 1 choice
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 2 ports detected
ACPI: PCI Interrupt 0000:00:1a.1[B] -> GSI 17 (level, low) -> IRQ 17
PCI: Setting latency timer of device 0000:00:1a.1 to 64
uhci_hcd 0000:00:1a.1: UHCI Host Controller
uhci_hcd 0000:00:1a.1: new USB bus registered, assigned bus number 4
uhci_hcd 0000:00:1a.1: irq 17, io base 0x0000e080
usb usb4: configuration #1 chosen from 1 choice
hub 4-0:1.0: USB hub found
hub 4-0:1.0: 2 ports detected
ACPI: PCI Interrupt 0000:00:1d.0[A] -> GSI 23 (level, low) -> IRQ 23
PCI: Setting latency timer of device 0000:00:1d.0 to 64
uhci_hcd 0000:00:1d.0: UHCI Host Controller
uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 5
uhci_hcd 0000:00:1d.0: irq 23, io base 0x0000d800
usb usb5: configuration #1 chosen from 1 choice
hub 5-0:1.0: USB hub found
hub 5-0:1.0: 2 ports detected
ACPI: PCI Interrupt 0000:00:1d.1[B] -> GSI 19 (level, low) -> IRQ 19
PCI: Setting latency timer of device 0000:00:1d.1 to 64
uhci_hcd 0000:00:1d.1: UHCI Host Controller
uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 6
uhci_hcd 0000:00:1d.1: irq 19, io base 0x0000d880
usb usb6: configuration #1 chosen from 1 choice
hub 6-0:1.0: USB hub found
hub 6-0:1.0: 2 ports detected
ACPI: PCI Interrupt 0000:00:1d.2[C] -> GSI 18 (level, low) -> IRQ 18
PCI: Setting latency timer of device 0000:00:1d.2 to 64
uhci_hcd 0000:00:1d.2: UHCI Host Controller
uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 7
uhci_hcd 0000:00:1d.2: irq 18, io base 0x0000dc00
usb usb7: configuration #1 chosen from 1 choice
hub 7-0:1.0: USB hub found
hub 7-0:1.0: 2 ports detected
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
PNP: PS/2 Controller [PNP0303:PS2K] at 0x60,0x64 irq 1
PNP: PS/2 appears to have AUX port disabled, if this is incorrect please boot with i8042.nopnp
serio: i8042 KBD port at 0x60,0x64 irq 1
mice: PS/2 mouse device common for all mice
input: AT Translated Set 2 keyboard as /class/input/input2
I2O subsystem v1.325
i2o: max drivers = 8
I2O Configuration OSM v1.323
I2O Bus Adapter OSM v1.317
I2O Block Device OSM v1.325
I2O SCSI Peripheral OSM v1.316
I2O ProcFS OSM v1.316
i2c /dev entries driver
i801_smbus 0000:00:1f.3: enabling device (0001 -> 0003)
ACPI: PCI Interrupt 0000:00:1f.3[C] -> GSI 18 (level, low) -> IRQ 18
coretemp coretemp.0: Using relative temperature scale!
coretemp coretemp.1: Using relative temperature scale!
w83627ehf: Found W83627DHG chip at 0x290
w83627ehf w83627ehf.656: VID pins in output mode, CPU VID not available
device-mapper: uevent: version 1.0.3
device-mapper: ioctl: 4.13.0-ioctl (2007-10-18) initialised: dm-devel@redhat.com
device-mapper: multipath: version 1.0.5 loaded
device-mapper: multipath round-robin: version 1.0.0 loaded
device-mapper: multipath emc: version 0.0.3 loaded
cpuidle: using governor ladder
cpuidle: using governor menu
usbcore: registered new interface driver usbhid
usbhid: v2.6:USB HID core driver
Advanced Linux Sound Architecture Driver Version 1.0.16.
ACPI: PCI Interrupt 0000:00:1b.0[A] -> GSI 22 (level, low) -> IRQ 22
PCI: Setting latency timer of device 0000:00:1b.0 to 64
ALSA device list:
  #0: HDA Intel at 0xfebf8000 irq 22
GACT probability on
u32 classifier
    Actions configured 
Netfilter messages via NETLINK v0.30.
nf_conntrack version 0.5.0 (16384 buckets, 65536 max)
IPv4 over IPv4 tunneling driver
ip_tables: (C) 2000-2006 Netfilter Core Team
TCP cubic registered
NET: Registered protocol family 17
ieee80211: 802.11 data/management/control stack, git-1.1.13
ieee80211: Copyright (C) 2004-2005 Intel Corporation <jketreno@linux.intel.com>
ieee80211_crypt: registered algorithm 'NULL'
ieee80211_crypt: registered algorithm 'WEP'
ieee80211_crypt: registered algorithm 'CCMP'
Freeing unused kernel memory: 292k freed
ReiserFS: dm-1: found reiserfs format "3.6" with standard journal
ReiserFS: dm-1: using ordered data mode
ReiserFS: dm-1: journal params: device dm-1, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30
ReiserFS: dm-1: checking transaction log (dm-1)
ReiserFS: dm-1: Using r5 hash to sort names
skge eth0: enabling interface
skge eth0: disabling interface
skge eth0: enabling interface
skge eth0: Link is up at 100 Mbps, full duplex, flow control none
warning: `dhclient3' uses 32-bit capabilities (legacy support in use)
sky2 eth1: enabling interface
sysfs: duplicate filename '253:3' can not be created
------------[ cut here ]------------
WARNING: at fs/sysfs/dir.c:425 sysfs_add_one+0xa3/0xc0()
Modules linked in:
Pid: 6864, comm: mount.ntfs Not tainted 2.6.26-rc3 #1

Call Trace:
 [<ffffffff80252744>] warn_on_slowpath+0x64/0xa0
 [<ffffffff8025385e>] printk+0x4e/0x60
 [<ffffffff802c4e73>] find_inode+0x43/0x70
 [<ffffffff802fbca0>] sysfs_ilookup_test+0x0/0x10
 [<ffffffff802c4ff4>] ifind+0x64/0xc0
 [<ffffffff802fbf49>] sysfs_find_dirent+0x29/0x40
 [<ffffffff802fc003>] sysfs_add_one+0xa3/0xc0
 [<ffffffff802fc620>] create_dir+0x60/0xb0
 [<ffffffff802fc6a1>] sysfs_create_dir+0x31/0x50
 [<ffffffff8037d392>] kobject_get+0x12/0x20
 [<ffffffff8037d4f2>] kobject_add_internal+0xe2/0x1c0
 [<ffffffff8037dad4>] kobject_add+0x54/0x80
 [<ffffffff802861e3>] mempool_alloc+0x53/0x130
 [<ffffffff803863a0>] sg_init_table+0x20/0x50
 [<ffffffff8028860e>] free_pages_bulk+0xde/0x300
 [<ffffffff8037d392>] kobject_get+0x12/0x20
 [<ffffffff803fe7f7>] get_device+0x17/0x30
 [<ffffffff803fef5a>] device_add+0xba/0x5b0
 [<ffffffff8037d133>] kobject_init+0x33/0x90
 [<ffffffff803ff558>] device_create+0xe8/0x140
 [<ffffffff8038264c>] vsnprintf+0x45c/0x700
 [<ffffffff80384c11>] kvasprintf+0x71/0x90
 [<ffffffff80291045>] bdi_register+0x95/0x120
 [<ffffffff802ad6f4>] percpu_populate+0x44/0x60
 [<ffffffff802abef4>] __kmalloc+0xa4/0x100
 [<ffffffff802ad887>] __percpu_alloc_mask+0x77/0xb0
 [<ffffffff8038f69c>] percpu_counter_init+0x6c/0x80
 [<ffffffff80290ef7>] bdi_init+0x77/0xc0
 [<ffffffff80354eba>] fuse_fill_super+0x23a/0x640
 [<ffffffff805b2031>] __down_write_nested+0xa1/0xc0
 [<ffffffff8038119e>] strlcpy+0x4e/0x80
 [<ffffffff802b24f4>] get_sb_bdev+0x144/0x180
 [<ffffffff80354c80>] fuse_fill_super+0x0/0x640
 [<ffffffff802b2226>] vfs_kern_mount+0x56/0xc0
 [<ffffffff802b22f3>] do_kern_mount+0x53/0x110
 [<ffffffff802ca8fb>] do_new_mount+0x9b/0xe0
 [<ffffffff802cab26>] do_mount+0x1e6/0x220
 [<ffffffff80289765>] __get_free_pages+0x15/0x60
 [<ffffffff802cabfb>] sys_mount+0x9b/0x100
 [<ffffffff8022542b>] system_call_after_swapgs+0x7b/0x80

---[ end trace 7c992599bc73a69a ]---
kobject_add_internal failed for 253:3 with -EEXIST, don't try to register things with the same name in the same directory.
Pid: 6864, comm: mount.ntfs Tainted: G        W 2.6.26-rc3 #1

Call Trace:
 [<ffffffff8037d583>] kobject_add_internal+0x173/0x1c0
 [<ffffffff8037dad4>] kobject_add+0x54/0x80
 [<ffffffff802861e3>] mempool_alloc+0x53/0x130
 [<ffffffff803863a0>] sg_init_table+0x20/0x50
 [<ffffffff8028860e>] free_pages_bulk+0xde/0x300
 [<ffffffff8037d392>] kobject_get+0x12/0x20
 [<ffffffff803fe7f7>] get_device+0x17/0x30
 [<ffffffff803fef5a>] device_add+0xba/0x5b0
 [<ffffffff8037d133>] kobject_init+0x33/0x90
 [<ffffffff803ff558>] device_create+0xe8/0x140
 [<ffffffff8038264c>] vsnprintf+0x45c/0x700
 [<ffffffff80384c11>] kvasprintf+0x71/0x90
 [<ffffffff80291045>] bdi_register+0x95/0x120
 [<ffffffff802ad6f4>] percpu_populate+0x44/0x60
 [<ffffffff802abef4>] __kmalloc+0xa4/0x100
 [<ffffffff802ad887>] __percpu_alloc_mask+0x77/0xb0
 [<ffffffff8038f69c>] percpu_counter_init+0x6c/0x80
 [<ffffffff80290ef7>] bdi_init+0x77/0xc0
 [<ffffffff80354eba>] fuse_fill_super+0x23a/0x640
 [<ffffffff805b2031>] __down_write_nested+0xa1/0xc0
 [<ffffffff8038119e>] strlcpy+0x4e/0x80
 [<ffffffff802b24f4>] get_sb_bdev+0x144/0x180
 [<ffffffff80354c80>] fuse_fill_super+0x0/0x640
 [<ffffffff802b2226>] vfs_kern_mount+0x56/0xc0
 [<ffffffff802b22f3>] do_kern_mount+0x53/0x110
 [<ffffffff802ca8fb>] do_new_mount+0x9b/0xe0
 [<ffffffff802cab26>] do_mount+0x1e6/0x220
 [<ffffffff80289765>] __get_free_pages+0x15/0x60
 [<ffffffff802cabfb>] sys_mount+0x9b/0x100
 [<ffffffff8022542b>] system_call_after_swapgs+0x7b/0x80

sysfs: duplicate filename '253:3' can not be created
------------[ cut here ]------------
WARNING: at fs/sysfs/dir.c:425 sysfs_add_one+0xa3/0xc0()
Modules linked in:
Pid: 6947, comm: mount.ntfs Tainted: G        W 2.6.26-rc3 #1

Call Trace:
 [<ffffffff80252744>] warn_on_slowpath+0x64/0xa0
 [<ffffffff8025385e>] printk+0x4e/0x60
 [<ffffffff802c4e73>] find_inode+0x43/0x70
 [<ffffffff802fbca0>] sysfs_ilookup_test+0x0/0x10
 [<ffffffff802c4ff4>] ifind+0x64/0xc0
 [<ffffffff802fbf49>] sysfs_find_dirent+0x29/0x40
 [<ffffffff802fc003>] sysfs_add_one+0xa3/0xc0
 [<ffffffff802fc620>] create_dir+0x60/0xb0
 [<ffffffff802fc6a1>] sysfs_create_dir+0x31/0x50
 [<ffffffff8037d392>] kobject_get+0x12/0x20
 [<ffffffff8037d4f2>] kobject_add_internal+0xe2/0x1c0
 [<ffffffff8037dad4>] kobject_add+0x54/0x80
 [<ffffffff802861e3>] mempool_alloc+0x53/0x130
 [<ffffffff803863a0>] sg_init_table+0x20/0x50
 [<ffffffff8028860e>] free_pages_bulk+0xde/0x300
 [<ffffffff8037d392>] kobject_get+0x12/0x20
 [<ffffffff803fe7f7>] get_device+0x17/0x30
 [<ffffffff803fef5a>] device_add+0xba/0x5b0
 [<ffffffff8037d133>] kobject_init+0x33/0x90
 [<ffffffff803ff558>] device_create+0xe8/0x140
 [<ffffffff8038264c>] vsnprintf+0x45c/0x700
 [<ffffffff80384c11>] kvasprintf+0x71/0x90
 [<ffffffff80291045>] bdi_register+0x95/0x120
 [<ffffffff802ad6f4>] percpu_populate+0x44/0x60
 [<ffffffff802abef4>] __kmalloc+0xa4/0x100
 [<ffffffff802ad887>] __percpu_alloc_mask+0x77/0xb0
 [<ffffffff8038f69c>] percpu_counter_init+0x6c/0x80
 [<ffffffff80290ef7>] bdi_init+0x77/0xc0
 [<ffffffff80354eba>] fuse_fill_super+0x23a/0x640
 [<ffffffff805b2031>] __down_write_nested+0xa1/0xc0
 [<ffffffff8038119e>] strlcpy+0x4e/0x80
 [<ffffffff802b24f4>] get_sb_bdev+0x144/0x180
 [<ffffffff80354c80>] fuse_fill_super+0x0/0x640
 [<ffffffff802b2226>] vfs_kern_mount+0x56/0xc0
 [<ffffffff802b22f3>] do_kern_mount+0x53/0x110
 [<ffffffff802ca8fb>] do_new_mount+0x9b/0xe0
 [<ffffffff802cab26>] do_mount+0x1e6/0x220
 [<ffffffff80289765>] __get_free_pages+0x15/0x60
 [<ffffffff802cabfb>] sys_mount+0x9b/0x100
 [<ffffffff8022542b>] system_call_after_swapgs+0x7b/0x80

---[ end trace 7c992599bc73a69a ]---
kobject_add_internal failed for 253:3 with -EEXIST, don't try to register things with the same name in the same directory.
Pid: 6947, comm: mount.ntfs Tainted: G        W 2.6.26-rc3 #1

Call Trace:
 [<ffffffff8037d583>] kobject_add_internal+0x173/0x1c0
 [<ffffffff8037dad4>] kobject_add+0x54/0x80
 [<ffffffff802861e3>] mempool_alloc+0x53/0x130
 [<ffffffff803863a0>] sg_init_table+0x20/0x50
 [<ffffffff8028860e>] free_pages_bulk+0xde/0x300
 [<ffffffff8037d392>] kobject_get+0x12/0x20
 [<ffffffff803fe7f7>] get_device+0x17/0x30
 [<ffffffff803fef5a>] device_add+0xba/0x5b0
 [<ffffffff8037d133>] kobject_init+0x33/0x90
 [<ffffffff803ff558>] device_create+0xe8/0x140
 [<ffffffff8038264c>] vsnprintf+0x45c/0x700
 [<ffffffff80384c11>] kvasprintf+0x71/0x90
 [<ffffffff80291045>] bdi_register+0x95/0x120
 [<ffffffff802ad6f4>] percpu_populate+0x44/0x60
 [<ffffffff802abef4>] __kmalloc+0xa4/0x100
 [<ffffffff802ad887>] __percpu_alloc_mask+0x77/0xb0
 [<ffffffff8038f69c>] percpu_counter_init+0x6c/0x80
 [<ffffffff80290ef7>] bdi_init+0x77/0xc0
 [<ffffffff80354eba>] fuse_fill_super+0x23a/0x640
 [<ffffffff805b2031>] __down_write_nested+0xa1/0xc0
 [<ffffffff8038119e>] strlcpy+0x4e/0x80
 [<ffffffff802b24f4>] get_sb_bdev+0x144/0x180
 [<ffffffff80354c80>] fuse_fill_super+0x0/0x640
 [<ffffffff802b2226>] vfs_kern_mount+0x56/0xc0
 [<ffffffff802b22f3>] do_kern_mount+0x53/0x110
 [<ffffffff802ca8fb>] do_new_mount+0x9b/0xe0
 [<ffffffff802cab26>] do_mount+0x1e6/0x220
 [<ffffffff80289765>] __get_free_pages+0x15/0x60
 [<ffffffff802cabfb>] sys_mount+0x9b/0x100
 [<ffffffff8022542b>] system_call_after_swapgs+0x7b/0x80


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: BISECTED REGRESSION: 2.6.26-rc2: FUSE changes break mount of ntfs-3g
  2008-05-19 18:17   ` Ioan Ionita
@ 2008-05-19 19:32     ` Miklos Szeredi
  2008-05-19 20:28       ` Ioan Ionita
  0 siblings, 1 reply; 5+ messages in thread
From: Miklos Szeredi @ 2008-05-19 19:32 UTC (permalink / raw)
  To: opslynx; +Cc: miklos, linux-kernel, mszeredi, a.p.zijlstra, akpm

> > Thanks.  I've tried to reproduce this bug, but was unable to.
> >
> > That patch looks OK to me, however there's something very weird going
> > on if sysfs_add_one() gets called with an already existing name.
> >
> > Could you please post the full dmesg output?  That should include a
> > line like
> >
> >  sysfs: duplicate filename 'foobar' can not be created
> >
> > What are the exact commands that you perform (or contents of
> > /etc/fstab, etc. that might be relevant) to tirgger this bug?
> >
> 
> I think you were unable to reproduce it because i just figured out
> that it only occurs on a raid-0 partition managed by dmraid.
> Ex:
> 
> Mounting the non-raid:
> /dev/sdb3           10913       18242    58878225    7  HPFS/NTFS
> root@ops-desktop:~# mount /dev/sdb3 /next
> root@ops-desktop:~#
> 
> The raid-0:
> /dev/mapper/isw_fjcgajage_raid3            4346       29841
> 204796620    7  HPFS/NTFS
> root@ops-desktop:~# mount /dev/mapper/isw_fjcgajage_raid3 /new
> fuse: mount failed: Cannot allocate memory
> 
> NOTE that I've tried mounting other raid-0 NTFS partitions. Same
> failure occurred. So it doesn't seem to be isolated to one partition.
> RAID is the only common thing.
> 
> I've attached the full dmesg. Hope it helps.

Thanks!

The problem seems to be that if a device isn't partitioned (and the
raid-0 device isn't), then fuse will register its own BDI with the
same name as the one belonging to the underlying device.

Here's a patch that should fix it.  Can you please confirm?

Thanks,
Miklos



Subject: fuse: fix bdi naming conflict

From: Miklos Szeredi <mszeredi@suse.cz>

Fuse allocates a separate bdi for each filesystem, and registers them
in sysfs with "MAJOR:MINOR" of sb->s_dev (st_dev).  This works fine
for anon devices normally used by fuse, but can conflict with an
already registered BDI for "fuseblk" filesystems, where sb->s_dev
represents a real block device.  In particularl this happens if a
non-partitioned device is being mounted.

Fix by registering with a different name for "fuseblk" filesystems.

Thanks to Ioan Ionita for the bug report.

Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
---
 Documentation/ABI/testing/sysfs-class-bdi |    4 ++++
 fs/fuse/inode.c                           |    7 ++++++-
 2 files changed, 10 insertions(+), 1 deletion(-)

Index: linux-2.6/fs/fuse/inode.c
===================================================================
--- linux-2.6.orig/fs/fuse/inode.c	2008-05-16 16:34:31.000000000 +0200
+++ linux-2.6/fs/fuse/inode.c	2008-05-19 20:54:53.000000000 +0200
@@ -488,7 +488,12 @@ static struct fuse_conn *new_conn(struct
 		err = bdi_init(&fc->bdi);
 		if (err)
 			goto error_kfree;
-		err = bdi_register_dev(&fc->bdi, fc->dev);
+		if (sb->s_bdev) {
+			err = bdi_register(&fc->bdi, NULL, "%u:%u-fuseblk",
+					   MAJOR(fc->dev), MINOR(fc->dev));
+		} else {
+			err = bdi_register_dev(&fc->bdi, fc->dev);
+		}
 		if (err)
 			goto error_bdi_destroy;
 		/*
Index: linux-2.6/Documentation/ABI/testing/sysfs-class-bdi
===================================================================
--- linux-2.6.orig/Documentation/ABI/testing/sysfs-class-bdi	2008-05-14 12:48:03.000000000 +0200
+++ linux-2.6/Documentation/ABI/testing/sysfs-class-bdi	2008-05-19 20:59:59.000000000 +0200
@@ -14,6 +14,10 @@ MAJOR:MINOR
 	non-block filesystems which provide their own BDI, such as NFS
 	and FUSE.
 
+MAJOR:MINOR-fuseblk
+
+	Value of st_dev on fuseblk filesystems.
+
 default
 
 	The default backing dev, used for non-block device backed



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: BISECTED REGRESSION: 2.6.26-rc2: FUSE changes break mount of ntfs-3g
  2008-05-19 19:32     ` Miklos Szeredi
@ 2008-05-19 20:28       ` Ioan Ionita
  0 siblings, 0 replies; 5+ messages in thread
From: Ioan Ionita @ 2008-05-19 20:28 UTC (permalink / raw)
  To: Miklos Szeredi; +Cc: linux-kernel, mszeredi, a.p.zijlstra, akpm

On Mon, May 19, 2008 at 10:32 PM, Miklos Szeredi <miklos@szeredi.hu> wrote:

> Thanks!
>
> The problem seems to be that if a device isn't partitioned (and the
> raid-0 device isn't), then fuse will register its own BDI with the
> same name as the one belonging to the underlying device.
>
> Here's a patch that should fix it.  Can you please confirm?

Confirmed. Patch fixed the issue for me! RAID NTFS mounts just fine
and behaves as expected.

> Thanks,
> Miklos

No, thank you!

Cheers,

Ioan

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-05-19 20:29 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-05-17 20:37 BISECTED REGRESSION: 2.6.26-rc2: FUSE changes break mount of ntfs-3g Ioan Ionita
2008-05-19  7:14 ` Miklos Szeredi
2008-05-19 18:17   ` Ioan Ionita
2008-05-19 19:32     ` Miklos Szeredi
2008-05-19 20:28       ` Ioan Ionita

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®