[#4761] During boot: WARNING: at fs/sysfs/dir.c:462 _sysfs_add_one
Submitted By: Dominik Herwald
Open Date
2008-12-29 09:13:22 Close Date
2009-03-02 05:32:59
Priority:
Medium Assignee:
Nobody
Status:
Closed Fixed In Release:
N/A
Found In Release:
N/A Release:
Category:
N/A Board:
Bluetechnix CM
Processor:
BF548 Silicon Revision:
0.1
Is this bug repeatable?:
Yes Resolution:
Rejected
Uboot version or rev.:
Toolchain version or rev.:
Trunk
App binary format:
N/A
Summary: During boot: WARNING: at fs/sysfs/dir.c:462 _sysfs_add_one
Details:
Could be the same issue as this closed one:
blackfin.uclinux.org/gf/project/uclinux-dist/tracker/?action=TrackerItemEdit&tracker_item_id=4583
but with a Bluetechnix CM-BF548 Board and I DISABLED the SPORT Driver in the Kernel Config already - does not change anything.
I am using SVN Trunk.
## Booting image at 01000000 ...
Image Name: Linux-2.6.28-rc2-ADI-2009R1-pre-
Created: 2008-12-29 13:42:34 UTC
Image Type: Blackfin Linux Kernel Image (gzip compressed)
Data Size: 6546193 Bytes = 6.2 MB
Load Address: 00001000
Entry Point: 00252f18
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
Starting Kernel at = 252f18
Linux version 2.6.28-rc2-ADI-2009R1-pre-svn5914 (dsh@dsh-workstation) (gcc versi
on 4.1.2 (ADI svn)) #177 Mon Dec 29 14:42:30 CET 2008
Board Memory: 64MB
Kernel Managed Memory: 64MB
Memory map:
fixedcode = 0x00000400-0x00000490
text = 0x00001000-0x00197620
rodata = 0x00197620-0x002194c0
bss = 0x002194c0-0x0022ea18
data = 0x0022ea18-0x0024c000
stack = 0x0024a000-0x0024c000
init = 0x0024c000-0x00d21000
available = 0x00d21000-0x03eff000
DMA Zone = 0x03f00000-0x04000000
Hardware Trace Active and Enabled
Blackfin support (C) 2004-2008 Analog Devices, Inc.
Compiled for ADSP-BF548 Rev 0.1
Blackfin Linux support by blackfin.uclinux.org/
Processor Speed: 525 MHz core clock and 131 MHz System Clock
NOMPU: setting up cplb tables
Instruction Cache Enabled for CPU0
Data Cache Enabled for CPU0 (write-through)
Built 1 zonelists in Zone order, mobility grouping off. Total pages: 16001
Kernel command line: root=/dev/mtdblock0 rw earlyprintk=serial,uart1,115200 cons
ole=tty0 console=ttyBF0,115200 ip=192.168.10.48:192.168.10.11:192.168.10.1:255.2
55.255.0:cm-bf548-test:eth0:off
Configuring Blackfin Priority Driven Interrupts
PID hash table entries: 256 (order: 8, 1024 bytes)
bfin-rtc: invalid date; resetting
console [ttyBF0] enabled
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory available: 50484k/65536k RAM, (11092k init code, 1625k kernel code, 723k
data, 1024k dma, 584k reserved)
Calibrating delay loop... 1046.52 BogoMIPS (lpj=2093056)
Security Framework initialized
Mount-cache hash table entries: 512
Blackfin Scratchpad data SRAM: 4 KB
Blackfin L1 Data A SRAM: 16 KB (15 KB free)
Blackfin L1 Data B SRAM: 16 KB (16 KB free)
Blackfin L1 Instruction SRAM: 48 KB (42 KB free)
Blackfin L2 SRAM: 128 KB (128 KB free)
PDA for CPU0 reserved at 0021ae6c
net_namespace: 484 bytes
NET: Registered protocol family 16
Blackfin GPIO Controller
Blackfin DMA Controller
cm_bf548_init(): registering device resources
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
musb_hdrc: version 6.0, musb-dma, host, debug=0
musb_hdrc: kernel must blacklist external hubs
musb_hdrc: USB Host mode controller at ffc03c00 using DMA, IRQ 82
musb_hdrc musb_hdrc.0: MUSB HDRC host driver
musb_hdrc musb_hdrc.0: new USB bus registered, assigned bus number 1
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
dma_alloc_init: dma_page @ 0x00df9000 - 256 pages at 0x03f00000
hub 1-0:1.0: 1 port detected
cfg80211: Using static regulatory domain info
cfg80211: Regulatory domain: US
(start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
(2402000 KHz - 2472000 KHz @ 40000 KHz), (600 mBi, 2700 mBm)
(5170000 KHz - 5190000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
(5190000 KHz - 5210000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
(5210000 KHz - 5230000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
(5230000 KHz - 5330000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
(5735000 KHz - 5835000 KHz @ 40000 KHz), (600 mBi, 3000 mBm)
cfg80211: Calling CRDA for country: US
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 2048 (order: 2, 16384 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
TCP reno registered
NET: Registered protocol family 1
msgmni has been set to 98
alg: No test for stdrng (krng)
io scheduler noop registered
io scheduler anticipatory registered (default)
io scheduler cfq registered
bfin-dma: initialized
Serial: Blackfin serial driver
bfin-uart.1: ttyBF0 at MMIO 0xffc02000 (irq = 48) is a BFIN-UART
brd: module loaded
smsc911x: Driver version 2007-07-13.
eth0: SMSC911x MAC Address: 92:68:10:48:00:00
// Btw.: What's this?
Driver 'sd' needs updating - please use bus_type methods
Driver 'sr' needs updating - please use bus_type methods
physmap platform flash device: 00800000 at 20000000
physmap-flash.0: Found 1 x16 devices at 0x0 in 16-bit bank
Intel/Sharp Extended Query Table at 0x010A
Intel/Sharp Extended Query Table at 0x010A
Intel/Sharp Extended Query Table at 0x010A
Intel/Sharp Extended Query Table at 0x010A
Intel/Sharp Extended Query Table at 0x010A
Using buffer write method
Using auto-unlock on power-up/resume
cfi_cmdset_0001: Erase suspend on write enabled
Searching for RedBoot partition table in physmap-flash.0 at offset 0x7e0000
No RedBoot partition table detected in physmap-flash.0
Using physmap partition information
Creating 3 MTD partitions on "physmap-flash.0":
0x00000000-0x00040000 : "bootloader(nor)"
mtd: Giving out device 0 to bootloader(nor)
0x00040000-0x00440000 : "linux kernel(nor)"
mtd: Giving out device 1 to linux kernel(nor)
0x00440000-0x00800000 : "file system(nor)"
mtd: Giving out device 2 to file system(nor)
------------[ cut here ]------------
WARNING: at fs/sysfs/dir.c:462 _sysfs_add_one+0x3c/0x40()
sysfs: duplicate filename 'physmap-flash.0' can not be created
Modules linked in:
Stack info:
SP: [0x00dbfc88]
FP: (0x00dbfd1c)
Memory from 0x00dbfc80 to 00dc0000
00dbfc80: 00dbfc88 002649f0 [0000d1d4]<0000d1d8> 00dbfca8 001dd780 ffffffff
001dd780
00dbfca0: 000001ce 00dbfca8 7379735f 615f7366 6f5f6464 302b656e 2f633378
30347830
00dbfcc0: 0021c900 0021ca00 00dbbc40 007a6100 00000000 00000000 00dbfc30 <
00009862>
00dbfce0: 00dbb06c 0021ca00 00dbfdf4 00dbb06c 00dbbc40 00dbfdf4 00000001
00dbfd18
00dbfd00:<0000990e> 0021ca00 00000001 <00008c00> 00000000 00dbbc40 ffffffff (
00dbfd4c)
00dbfd20:<000c1972> 03efb824 03efb820 00225858 00000000 00000001 00000000
00000001
00dbfd40: 00225858 00dbe000 00dbfd4c (00dbfe68)<00049f9e> 00db32a0 00dbfdc8
002649f0
00dbfd60: 03ef5000 0006e56c 00dbfe68 <0006ea26> 03356560 00db32a0 <0004a01a>
03ef5000
00dbfd80: 03356560 00dbfe68 00dbfdac <0006e93c> 03356560 ffffffef 03356560
00241290
00dbfda0: 00241290 00241220 002649f0 03385580 <0006edda> 00dbfdc8 00db32a0
002649f0
00dbfdc0: 033855a0 00000010 00db32a0 00000000 00000000 00000000 <0006ee5e>
00241290
00dbfde0: 00000001 0023ff10 <000c2286> 00241290 00000000 00dbfdf8 00dbfdf8 <
000c2314>
00dbfe00: 00241290 <000c25ea> 002412b4 00241290 fffffffe <000c26ee> 002412b4
00241220
00dbfe20: 002649f0 00000001 00241228 00000068 0023f3ac <000d8c0a> 00dbfe50
00dbfe50
00dbfe40:<000d8c30> 002194e4 0023ffd4 002649f0 002412b4 <000c6710> 002194e4
00241220
00dbfe60: 0024136c 00000000 (00000000)<000db81c> 002194e4 00241220 002649f0
00000001
00dbfe80: 00000000 00000000 00000000 00000000 <000f7ae0> 03e049c0 001d764c
00000000
00dbfea0:<0025a278> 002194e4 0025a254 00000000 00000000 002194e4 002194e4
0025a218
00dbfec0:<0000102c> 00000000 00000000 00000000 03efd220 ffffffff 00dbff08 <
000c1972>
00dbfee0: 00236954 00223d2c 0022483c <000c19e6> 03efb6a4 00000000 0000021c
0022483c
00dbff00: 000000d0 00dbff08 00dbaf28 00000000 00000000 002649f0 <000c1b4a>
0022483c
00dbff20: 00223d2c 00000000 <00069d88> 00236954 00223d2c 002649f0 00dbff5c
03ed1c20
00dbff40: 03ecf120 00000000 00000000 0022483c 00dbff5c <001d9c20><00069fb0>
0000021c
00dbff60:<00069fbe> 00236954 03ed1c20 00004000 00000000 00000000 00dbff9c
7fffff00
00dbff80: 00000001 <0002afa6> 00dbff9c 00000106 <0006a082> 00264750 03ecf120
00323632
00dbffa0: 00000000 00250000 <0002b002> 00232be8 00264750 00000106 00236954 <
0024c3b0>
00dbffc0: 00264974 00264750 00000000 00000000 00000000 00000000 00000000
00000000
00dbffe0: 00000000 <0000145e> 00000000 00000000 00000000 00000000 ffffffff
00000006
00dc0000: 30103019
Return addresses in stack:
address :
address :
address :
address :
address :
frame 1 :
frame 2 :
address :
address :
address :
address :
address :
address :
address :
address :
address :
address :
address :
address :
frame 3 :
address :
address :
address :
address :
address :
address :
address :
address :
address :
address :
address :
address :
address :
address :
address :
---[ end trace d5c92fe67e353a1e ]---
kobject_add_internal failed for physmap-flash.0 with -EEXIST, don't try to regis
ter things with the same name in the same directory.
Stack info:
SP: [0x00dbfdf4]
FP: (0x00dbfe68)
Memory from 0x00dbfdf0 to 00dc0000
00dbfdf0: 00000000 [00dbfdf8]<000c2394> 00241290 ffffffef <000c25ea> 001a9424
033855a0
00dbfe10: fffffffe <000c26ee> 002412b4 00241220 002649f0 00000001 00241228
00000068
00dbfe30: 0023f3ac <000d8c0a> 00dbfe50 00dbfe50 <000d8c30> 002194e4 0023ffd4
002649f0
00dbfe50: 002412b4 <000c6710> 002194e4 00241220 0024136c 00000000 (00000000)<
000db81c>
00dbfe70: 002194e4 00241220 002649f0 00000001 00000000 00000000 00000000
00000000
00dbfe90:<000f7ae0> 03e049c0 001d764c 00000000 <0025a278> 002194e4 0025a254
00000000
00dbfeb0: 00000000 002194e4 002194e4 0025a218 <0000102c> 00000000 00000000
00000000
00dbfed0: 03efd220 ffffffff 00dbff08 <000c1972> 00236954 00223d2c 0022483c <
000c19e6>
00dbfef0: 03efb6a4 00000000 0000021c 0022483c 000000d0 00dbff08 00dbaf28
00000000
00dbff10: 00000000 002649f0 <000c1b4a> 0022483c 00223d2c 00000000 <00069d88>
00236954
00dbff30: 00223d2c 002649f0 00dbff5c 03ed1c20 03ecf120 00000000 00000000
0022483c
00dbff50: 00dbff5c <001d9c20><00069fb0> 0000021c <00069fbe> 00236954 03ed1c20
00004000
00dbff70: 00000000 00000000 00dbff9c 7fffff00 00000001 <0002afa6> 00dbff9c
00000106
00dbff90:<0006a082> 00264750 03ecf120 00323632 00000000 00250000 <0002b002>
00232be8
00dbffb0: 00264750 00000106 00236954 <0024c3b0> 00264974 00264750 00000000
00000000
00dbffd0: 00000000 00000000 00000000 00000000 00000000 <0000145e> 00000000
00000000
00dbfff0: 00000000 00000000 ffffffff 00000006 30103019
Return addresses in stack:
address :
address :
address :
address :
address :
address :
frame 1 :
address :
address :
address :
address :
address :
address :
address :
address :
address :
address :
address :
address :
address :
address :
address :
m25p80 spi0.1: found m25p80, expected m25p16
bfin-spi bfin-spi.0: Blackfin on-chip SPI Controller Driver, Version 1.0, regs_b
ase@ffc00500, dma channel@4
bfin-spi bfin-spi.1: Blackfin on-chip SPI Controller Driver, Version 1.0, regs_b
ase@ffc02300, dma channel@5
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
rtc-bfin rtc-bfin: rtc core: registered rtc-bfin as rtc0
bfin-wdt: initialized: timeout=20 sec (nowayout=0)
TCP cubic registered
NET: Registered protocol family 17
rtc-bfin rtc-bfin: setting system clock to 1970-01-01 00:00:02 UTC (2)
mmc0: new SDIO card at address 0001
eth0: SMSC911x/921x identified at 0x24000000, IRQ: 173
eth0: link down
IP-Config: Complete:
device=eth0, addr=192.168.10.48, mask=255.255.255.0, gw=192.168.10.1,
host=cm-bf548-test, domain=, nis-domain=(none),
bootserver=192.168.10.11, rootserver=192.168.10.11, rootpath=
Freeing unused kernel memory: 11092k freed
[: not found
[: not found
[: not found
[: not found
[: not found
---<snip>---
This last "[: not found" is also a bit strange.
Follow-ups
--- Mike Frysinger 2008-12-29 15:22:37
exactly like it says, you cannot register two things with the same name
review your kernel configuration and make sure you arent enabling both compat
physmap support and explicit physmap support in your board config
--- Dominik Herwald 2008-12-30 07:31:26
Ah sorry Mike. Problem Solved!
Files
Changes
Commits
Dependencies
Duplicates
Associations
Tags
File Name File Type File Size Posted By
No Files Were Found