login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
August
»
29
Re: MTD kobject warnings due to block layer changes
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Jens Axboe
Subject:
Re: MTD kobject warnings due to block layer changes
Date: Thursday, August 28, 2008 - 11:44 pm
On Fri, Aug 29 2008, FUJITA Tomonori wrote:
quoted text
> On Fri, 29 Aug 2008 08:29:34 +0200 > Jens Axboe <jens.axboe@oracle.com> wrote: > > > On Fri, Aug 29 2008, FUJITA Tomonori wrote: > > > On Thu, 28 Aug 2008 12:09:21 +0200 > > > Jens Axboe <jens.axboe@oracle.com> wrote: > > > > > > > On Thu, Aug 28 2008, Manuel Lauss wrote: > > > > > Hello, > > > > > > > > > > Todays -git spits out these wanings during boot, caused by > > > > > Commit abf5439370491dd6fbb4fe1a7939680d2a9bc9d4 > > > > > ( block: move cmdfilter from gendisk to request_queue ): > > > > > > > > > > Using physmap partition information > > > > > Creating 3 MTD partitions on "physmap-flash": > > > > > 0x00000000-0x01c00000 : "User FS" > > > > > 0x01c00000-0x01c40000 : "booter" > > > > > kobject (8511c410): tried to init an initialized object, something is seriously wrong. > > > > > Call Trace: > > > > > [<8036644c>] dump_stack+0x8/0x34 > > > > > [<8021f050>] kobject_init+0x50/0xcc > > > > > [<8021fa18>] kobject_init_and_add+0x24/0x58 > > > > > [<8021d20c>] blk_register_filter+0x4c/0x64 > > > > > [<8021c194>] add_disk+0x78/0xe0 > > > > > [<8027d14c>] add_mtd_blktrans_dev+0x254/0x278 > > > > > [<8027c8f0>] blktrans_notify_add+0x40/0x78 > > > > > [<80279c00>] add_mtd_device+0xd0/0x150 > > > > > [<8027b090>] add_mtd_partitions+0x568/0x5d8 > > > > > [<80285458>] physmap_flash_probe+0x2ac/0x334 > > > > > [<802644f8>] driver_probe_device+0x12c/0x244 > > > > > [<8026465c>] __driver_attach+0x4c/0x84 > > > > > [<80263c64>] bus_for_each_dev+0x58/0xac > > > > > [<802633ec>] bus_add_driver+0xc4/0x24c > > > > > [<802648e0>] driver_register+0xcc/0x184 > > > > > [<80100460>] _stext+0x60/0x1bc > > > > > > > > > > 0x01c40000-0x01fe0000 : "vmlinux.elf" > > > > > kobject (8511c410): tried to init an initialized object, something is seriously wrong. > > > > > Call Trace: > > > > > [<8036644c>] dump_stack+0x8/0x34 > > > > > [<8021f050>] kobject_init+0x50/0xcc > > > > > [<8021fa18>] kobject_init_and_add+0x24/0x58 > > > > > [<8021d20c>] blk_register_filter+0x4c/0x64 > > > > > [<8021c194>] add_disk+0x78/0xe0 > > > > > [<8027d14c>] add_mtd_blktrans_dev+0x254/0x278 > > > > > [<8027c8f0>] blktrans_notify_add+0x40/0x78 > > > > > [<80279c00>] add_mtd_device+0xd0/0x150 > > > > > [<8027b090>] add_mtd_partitions+0x568/0x5d8 > > > > > [<80285458>] physmap_flash_probe+0x2ac/0x334 > > > > > [<802644f8>] driver_probe_device+0x12c/0x244 > > > > > [<8026465c>] __driver_attach+0x4c/0x84 > > > > > [<80263c64>] bus_for_each_dev+0x58/0xac > > > > > [<802633ec>] bus_add_driver+0xc4/0x24c > > > > > [<802648e0>] driver_register+0xcc/0x184 > > > > > [<80100460>] _stext+0x60/0x1bc > > > > > > > > > > NAND device: Manufacturer ID: 0xec, Chip ID: 0xf1 (Samsung NAND 128MiB 3,3V 8-bit) > > > > > Scanning device for bad blocks > > > > > Creating 1 MTD partitions on "gen_nand": > > > > > 0x00000000-0x08000000 : "NAND FS 0" > > > > > kobject (8511c410): tried to init an initialized object, something is seriously wrong. > > > > > Call Trace: > > > > > [<8036644c>] dump_stack+0x8/0x34 > > > > > [<8021f050>] kobject_init+0x50/0xcc > > > > > [<8021fa18>] kobject_init_and_add+0x24/0x58 > > > > > [<8021d20c>] blk_register_filter+0x4c/0x64 > > > > > [<8021c194>] add_disk+0x78/0xe0 > > > > > [<8027d14c>] add_mtd_blktrans_dev+0x254/0x278 > > > > > [<8027c8f0>] blktrans_notify_add+0x40/0x78 > > > > > [<80279c00>] add_mtd_device+0xd0/0x150 > > > > > [<8027b090>] add_mtd_partitions+0x568/0x5d8 > > > > > [<804016b0>] plat_nand_probe+0x1e8/0x24c > > > > > [<802644f8>] driver_probe_device+0x12c/0x244 > > > > > [<8026465c>] __driver_attach+0x4c/0x84 > > > > > [<80263c64>] bus_for_each_dev+0x58/0xac > > > > > [<802633ec>] bus_add_driver+0xc4/0x24c > > > > > [<802648e0>] driver_register+0xcc/0x184 > > > > > [<80100460>] _stext+0x60/0x1bc > > > > > > > > Tomo? I don't see how this is happening. The queue is properly zeroed, > > > > so no chance ->state_initialized being crap. > > > > > > With MTD, multiple gendisks share a single request_queue? > > > > Irk, sure looks that way. I thougt we had disbanded with that years ago, > > it's generally not a "supported" configuration. > > How about moving blk_register_filter(disk) from add_disk to sd.c and > sr.c, etc, which want the command filter support?
Yeah, I think that's the quick'n dirty to fix this one. -- Jens Axboe --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
MTD kobject warnings due to block layer changes
, Manuel Lauss
, (Thu Aug 28, 1:46 am)
Re: MTD kobject warnings due to block layer changes
, Jens Axboe
, (Thu Aug 28, 3:09 am)
Re: MTD kobject warnings due to block layer changes
, FUJITA Tomonori
, (Thu Aug 28, 10:56 pm)
Re: MTD kobject warnings due to block layer changes
, Jens Axboe
, (Thu Aug 28, 11:29 pm)
Re: MTD kobject warnings due to block layer changes
, FUJITA Tomonori
, (Thu Aug 28, 11:39 pm)
Re: MTD kobject warnings due to block layer changes
, Jens Axboe
, (Thu Aug 28, 11:44 pm)
Re: MTD kobject warnings due to block layer changes
, FUJITA Tomonori
, (Thu Aug 28, 11:47 pm)
Re: MTD kobject warnings due to block layer changes
, Jens Axboe
, (Thu Aug 28, 11:50 pm)
Re: MTD kobject warnings due to block layer changes
, FUJITA Tomonori
, (Fri Aug 29, 12:56 am)
Re: MTD kobject warnings due to block layer changes
, Jens Axboe
, (Fri Aug 29, 1:01 am)
Re: MTD kobject warnings due to block layer changes
, FUJITA Tomonori
, (Fri Aug 29, 1:19 am)
Re: MTD kobject warnings due to block layer changes
, Manuel Lauss
, (Fri Aug 29, 1:34 am)
Re: MTD kobject warnings due to block layer changes
, Jens Axboe
, (Fri Aug 29, 2:45 am)
Navigation
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Tony Luck
Re: Hardware Error Kernel Mini-Summit
James Bottomley
Re: [PATCH -mm 1/2] scsi: remove dma_is_consistent usage in 53c700
Andrey Borzenkov
Re: [possible regression] 2.6.22 reiserfs/libata sporadically hangs on resume from...
Linus Torvalds
Linux 2.6.26-rc6
Jeffrey V. Merkey
Re: Versioning file system
git
:
Morten Welinder
Re: [PATCH] use xrealloc in help.c
Junio C Hamano
Re: [PATCH 2/3] git-add--interactive: remove hunk coalescing
Jörg Sommer
[PATCH v2 08/13] Unify the lenght of $SHORT* and the commits in the TODO list
Boyd Lynn Gerber
Re: [VOTE] git versus mercurial
Stefan Näwe
Re: [PATCH] git-gui: use --exclude-standard to check for untracked files
linux-netdev
:
Andreas Sundstrom
Re: ~60k interrupts/sec for 1Gb/s iperf with r8169
David Miller
Re: [2.6.30-rc3] powerpc: compilation error of mace module
Denys Fedoryshchenko
Re: circular locking, mirred, 2.6.24.2
David Miller
Re: [PATCH -next] sfc: Use correct macro to set event bitfield
David Miller
Re: [PATCH] ipv6: fix display of local and remote sit endpoints
git-commits-head
:
Linux Kernel Mailing List
V4L/DVB: tm6000: add special usb request to quit i2c tuner transfer
Linux Kernel Mailing List
OMAP: DSS2: SDI driver
Linux Kernel Mailing List
PCI: introduce pci_pcie_cap()
Linux Kernel Mailing List
m68k: amiga - Mouse platform device conversion
Linux Kernel Mailing List
drivers/acpi: use kasprintf
openbsd-misc
:
frantisek holop
Re: mount ffs as msdos, system hangs
Ted Bullock
Re: Proliant DL380 G3 cannot get on network
Úlfar M. E. Johnson
installing openbsd in xen
Eric Furman
Re: Defending OpenBSD Performance
Damien Miller
Re: Patching a SSH 'Weakness'
Colocation donated by:
Syndicate