Bug#605472: sysfs: cannot create duplicate filename
found 605472 linux-2.6/2.6.32-45
found 605472 linux-2.6/3.2.18-1
found 605472 linux-2.6/3.4.1-1~experimental.1
tags 605472 + upstream patch moreinfo
quit
Hi,
hunack@mnet-online.de wrote:
> [ 4.226522] kobject_add_internal failed for ArrayDevice03 with -EEXIST, don't try to register things with the same name in the same directory.
[...]
> At the moment the system is in the setup phase so I can provide more information,
> if you guide me.
[...]
> To check, if the problem disappears with a older or newer kernel, I tested
> versions 2.6.32-45 and 3.4.1-1~experimental.1. But there is no difference.
Interesting.
Please test the attached patch[*] against a 3.1 or newer kernel,
for example by performing the following steps:
0. prerequisites:
apt-get install git build-essential
1. get the kernel history, if you do not already have it:
git clone \
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
2. configure, build, test:
cd linux
git fetch origin
git checkout origin/master
cp /boot/config-$(uname -r) .config; # current configuration
scripts/config --disable DEBUG_INFO
make localmodconfig; # optional: minimize configuration
make deb-pkg; # optionally with -j<num> for parallel build
dpkg -i ../<name of package>; # as root
reboot
... test test test ...
Hopefully it reproduces the bug. So
3. try the patch:
cd linux
git am -3sc /path/to/the/patch
make deb-pkg; # maybe with -j4
dpkg -i ../<name of package>; # as root
reboot
... test test test ...
Hope that helps,
Jonathan
[*] http://thread.gmane.org/gmane.linux.scsi/69289
Reply to: