[Bug 334994] Re: Degraded RAID boot fails: kobject_add_internal failed for dev-sda1 with -EEXIST, don't try to register things with the same name in the same directory

2009-05-22 Thread infogerance (Rakotomandimby Mihamina)
Wouldn't #358054 be somehow related? -- Degraded RAID boot fails: kobject_add_internal failed for dev-sda1 with -EEXIST, don't try to register things with the same name in the same directory https://bugs.launchpad.net/bugs/334994 You received this bug notification because you are a member of

[Bug 334994] Re: Degraded RAID boot fails: kobject_add_internal failed for dev-sda1 with -EEXIST, don't try to register things with the same name in the same directory

2009-05-22 Thread infogerance (Rakotomandimby Mihamina)
https://bugs.launchpad.net/ubuntu/+bug/358054 -- Degraded RAID boot fails: kobject_add_internal failed for dev-sda1 with -EEXIST, don't try to register things with the same name in the same directory https://bugs.launchpad.net/bugs/334994 You received this bug notification because you are a

[Bug 334994] Re: Degraded RAID boot fails: kobject_add_internal failed for dev-sda1 with -EEXIST, don't try to register things with the same name in the same directory

2009-04-03 Thread Andy Whitcroft
** Changed in: linux (Ubuntu Jaunty) Status: In Progress = Fix Committed -- Degraded RAID boot fails: kobject_add_internal failed for dev-sda1 with -EEXIST, don't try to register things with the same name in the same directory https://bugs.launchpad.net/bugs/334994 You received this bug

[Bug 334994] Re: Degraded RAID boot fails: kobject_add_internal failed for dev-sda1 with -EEXIST, don't try to register things with the same name in the same directory

2009-04-03 Thread Launchpad Bug Tracker
This bug was fixed in the package linux - 2.6.28-11.40 --- linux (2.6.28-11.40) jaunty; urgency=low [ Amit Kucheria ] * Disable DEVKMEM for all archs on Jaunty - LP: #354221 [ Andy Whitcroft ] * SAUCE: md: wait for possible pending deletes after stopping an array -

[Bug 334994] Re: Degraded RAID boot fails: kobject_add_internal failed for dev-sda1 with -EEXIST, don't try to register things with the same name in the same directory

2009-03-28 Thread Andy Whitcroft
@Dustin -- thanks for your testing, I could no longer reproduce the issue locally either with this patch in place. Will push it to the kernel-team. -- Degraded RAID boot fails: kobject_add_internal failed for dev-sda1 with -EEXIST, don't try to register things with the same name in the same

[Bug 334994] Re: Degraded RAID boot fails: kobject_add_internal failed for dev-sda1 with -EEXIST, don't try to register things with the same name in the same directory

2009-03-27 Thread Dustin Kirkland
I'm marking this invalid against mdadm. I have tried a variety of fixes from upstream source related to incremental md assembly, merged both 2.6.8 and 2.6.7.2 from Debian into Jaunty, and none of these solve the issue. Meanwhile, Andy has confirmed that he can see the race condition in the

[Bug 334994] Re: Degraded RAID boot fails: kobject_add_internal failed for dev-sda1 with -EEXIST, don't try to register things with the same name in the same directory

2009-03-27 Thread Andy Whitcroft
Added some debugging to the teardown code and managed to reproduce this. What we find is that we unbind and then attempt and fail a bind on the array, then we see the deletes for the unbind complete. This leads to the bind failure: [3.476504] md: bindsda1 [...] [ 35.097882] md:

[Bug 334994] Re: Degraded RAID boot fails: kobject_add_internal failed for dev-sda1 with -EEXIST, don't try to register things with the same name in the same directory

2009-03-27 Thread Dustin Kirkland
I tested Andy's test kernels on my host, with my host cpu in each of the following configurations: Pinned * 2.4GHz * 2.0GHz * 1.6GHz * 1.2GHz * 800MHz Dynamic * Conservative * Ondemand * Performance * Powersave I could no longer reproduce the issue, it appears to be fixed! Big

[Bug 334994] Re: Degraded RAID boot fails: kobject_add_internal failed for dev-sda1 with -EEXIST, don't try to register things with the same name in the same directory

2009-03-26 Thread Steve Langasek
** Changed in: linux (Ubuntu Jaunty) Target: ubuntu-9.04-beta = ubuntu-9.04 -- Degraded RAID boot fails: kobject_add_internal failed for dev-sda1 with -EEXIST, don't try to register things with the same name in the same directory https://bugs.launchpad.net/bugs/334994 You received this

[Bug 334994] Re: Degraded RAID boot fails: kobject_add_internal failed for dev-sda1 with -EEXIST, don't try to register things with the same name in the same directory

2009-03-25 Thread Andy Whitcroft
Ok, I have managed to reproduce this in a KVM here. Console output is as below, dmesg output attached: ** WARNING: There appears to be one or more degraded RAID devices ** The system may have suffered a hardware fault, such as a disk drive failure. The root device may depend on the RAID

[Bug 334994] Re: Degraded RAID boot fails: kobject_add_internal failed for dev-sda1 with -EEXIST, don't try to register things with the same name in the same directory

2009-03-25 Thread Andy Whitcroft
I should also note that the kernel is not lying, these file are visibly present in sysfs: (initramfs) ls /sys/devices/virtual/block/md0/md dev-sda1 safe_mode_delay resync_start raid_disks reshape_position new_dev component_sizelayout array_state

[Bug 334994] Re: Degraded RAID boot fails: kobject_add_internal failed for dev-sda1 with -EEXIST, don't try to register things with the same name in the same directory

2009-03-24 Thread Andy Whitcroft
** Changed in: linux (Ubuntu Jaunty) Status: Confirmed = In Progress -- Degraded RAID boot fails: kobject_add_internal failed for dev-sda1 with -EEXIST, don't try to register things with the same name in the same directory https://bugs.launchpad.net/bugs/334994 You received this bug

[Bug 334994] Re: Degraded RAID boot fails: kobject_add_internal failed for dev-sda1 with -EEXIST, don't try to register things with the same name in the same directory

2009-03-23 Thread Dustin Kirkland
** Also affects: mdadm (Ubuntu) Importance: Undecided Status: New ** Changed in: linux (Ubuntu Jaunty) Status: In Progress = Invalid -- Degraded RAID boot fails: kobject_add_internal failed for dev-sda1 with -EEXIST, don't try to register things with the same name in the same

[Bug 334994] Re: Degraded RAID boot fails: kobject_add_internal failed for dev-sda1 with -EEXIST, don't try to register things with the same name in the same directory

2009-03-23 Thread Andy Whitcroft
ok i have been unable to reproduce with the images I have. however it seems that the issue is a userspace interaction and is fixed in the debian mdadm. we need to sync that into ubuntu. the kernel task is now closed, and this targetted against mdadm. ** Changed in: mdadm (Ubuntu Jaunty)

[Bug 334994] Re: Degraded RAID boot fails: kobject_add_internal failed for dev-sda1 with -EEXIST, don't try to register things with the same name in the same directory

2009-03-23 Thread Steve Beattie
** Changed in: mdadm (Ubuntu Jaunty) Assignee: (unassigned) = Canonical Server Team (canonical-server) Status: New = Triaged -- Degraded RAID boot fails: kobject_add_internal failed for dev-sda1 with -EEXIST, don't try to register things with the same name in the same directory

[Bug 334994] Re: Degraded RAID boot fails: kobject_add_internal failed for dev-sda1 with -EEXIST, don't try to register things with the same name in the same directory

2009-03-23 Thread Dustin Kirkland
Actually, I have to re-open the kernel task. This is a problem exhibited by the Ubuntu 2.6.28 kernel, which is not present in 2.6.29. We can hack our way around this perhaps with an updated userspace mdadm package, but the error message in this bug's description still appears, and we get kernel

[Bug 334994] Re: Degraded RAID boot fails: kobject_add_internal failed for dev-sda1 with -EEXIST, don't try to register things with the same name in the same directory

2009-03-23 Thread Mathias Gug
After some testing done a system with a RAID1 array here are my results: mdadm 2.6.7.2: unable to boot from a degraded RAID1 array. mdadm 2.6.8: able to boot from a degraded RAID1 array. - jaunty kernel 2.6.28-11-server: error messages are printed on the console (as shown in the attached

[Bug 334994] Re: Degraded RAID boot fails: kobject_add_internal failed for dev-sda1 with -EEXIST, don't try to register things with the same name in the same directory

2009-03-16 Thread Dustin Kirkland
** Changed in: linux (Ubuntu) Target: jaunty-alpha-6 = ubuntu-9.04-beta -- Degraded RAID boot fails: kobject_add_internal failed for dev-sda1 with -EEXIST, don't try to register things with the same name in the same directory https://bugs.launchpad.net/bugs/334994 You received this bug

Re: [Bug 334994] Re: Degraded RAID boot fails: kobject_add_internal failed for dev-sda1 with -EEXIST, don't try to register things with the same name in the same directory

2009-03-11 Thread Andy Whitcroft
On Tue, Mar 10, 2009 at 12:39:35PM -, Dustin Kirkland wrote: Are you thinking this is a kernel or userspace problem, Andy? I do not know for sure right now. I would say that the kernel thinks it is doing something sensible. That the array is already present in some sense and it is

[Bug 334994] Re: Degraded RAID boot fails: kobject_add_internal failed for dev-sda1 with -EEXIST, don't try to register things with the same name in the same directory

2009-03-10 Thread Andy Whitcroft
** Tags removed: bug-watch -- Degraded RAID boot fails: kobject_add_internal failed for dev-sda1 with -EEXIST, don't try to register things with the same name in the same directory https://bugs.launchpad.net/bugs/334994 You received this bug notification because you are a member of Ubuntu Bugs,

[Bug 334994] Re: Degraded RAID boot fails: kobject_add_internal failed for dev-sda1 with -EEXIST, don't try to register things with the same name in the same directory

2009-03-10 Thread Dustin Kirkland
Are you thinking this is a kernel or userspace problem, Andy? :-Dustin -- Degraded RAID boot fails: kobject_add_internal failed for dev-sda1 with -EEXIST, don't try to register things with the same name in the same directory https://bugs.launchpad.net/bugs/334994 You received this bug