[Bug 666577] Re: dmraid hangs trying to start ICH9R RAID 5
As you wish. Attached are the files Examine, Detail and even Detail- Platform so you know specifically what I'm working with. Unfortunately, since my main RAID 5 array became corrupted, I decided it was time to consolidate both arrays into one so I won't be able to verify any fix of the code that may come about. You may be delighted to know that it is verified that dmraid does work with arrays not sharing drives with other arrays as it recognizes my single RAID 5 array flawlessly. So the bug is recognizing multiple arrays on shared drives. You also might be happy to hear that mdadm has difficulty with array names containing spaces. So that's a plus for dmraid. Also, the array shows in Disk Utility as inactive under Ubuntu (Live CD) but active under Fedora so there's that compatibility problem as well. But there you have it. One thing that has me twitching about my output here is the Detail- Platform file where it states that the Max Disks is 6. I wonder, if someone were to utilize a SATA port multiplier, if it would register a higher maximum or if it would assume that the # of on-board ports = # of Max Disks? That's something to test when I get the time and money to do so. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/666577 Title: dmraid hangs trying to start ICH9R RAID 5 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 666577] Re: dmraid hangs trying to start ICH9R RAID 5
Oops, forgot to attach... ** Attachment added: The results of utilizing mdadm https://bugs.launchpad.net/ubuntu/+source/dmraid/+bug/666577/+attachment/2098780/+files/mdadm%20results.zip -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/666577 Title: dmraid hangs trying to start ICH9R RAID 5 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 666577] Re: dmraid hangs trying to start ICH9R RAID 5
Yes, the output of mdadm -E and -D would be interesting. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/666577 Title: dmraid hangs trying to start ICH9R RAID 5 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 666577] Re: dmraid hangs trying to start ICH9R RAID 5
Honestly, I don't know why or how it worked, but it did. I used the --examine --scan to see if it would even recognize the array. Once I realized it recognized it, I told it to scan and run the array. It told me there were no super blocks, but it loaded it right up and I was able to mount my array for use in the disk manager. Unfortunately, I was forced to use this method to actually recover my data from my degraded (and corrupted) RAID 5 array after my bios decided it didn't want to recognize it as existing anymore. But yeah, apparently mdadm can recognize and run degraded fakeraid Level 5 arrays as well. So, the answer to your question is no; I didn't have it create the array, I had it take the two working drives from my 3 drive array and run the arrays it found on them. We might look at this as a viable solution if it continues to work right. Would you like a screenshot or a verbose log of the examine results produced by mdadm as verification? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/666577 Title: dmraid hangs trying to start ICH9R RAID 5 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 666577] Re: dmraid hangs trying to start ICH9R RAID 5
I've done some investigating on my second array by poking around with mdadm. It seems that there was a slight offset with the partition allignment that COULD have been the problem. It was offset by 33280 bytes. mdadm seems to allow me to access both of the arrays correctly though. So I can't figure out what's different between the two programs' methods of access that causes one to work flawlessly in accessing both arrays and the other to completely fail to load either. So I have determined that the Linux kernel IS capable of reading the arrays. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/666577 Title: dmraid hangs trying to start ICH9R RAID 5 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 666577] Re: dmraid hangs trying to start ICH9R RAID 5
mdadm is for software raid, dmraid is for fakeraid. The two do not mix. You have been using fakeraid so mdadm should not have anything to do with it. Did you have mdadm create a software raid array? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/666577 Title: dmraid hangs trying to start ICH9R RAID 5 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 666577] Re: dmraid hangs trying to start ICH9R RAID 5
As phillip previously said there is a dm-raid456 on the way (dm-raid is the module and it exists in 2.6.38 but is still listed experimental). I believe that most standard RAID5 arrays do work or we would see more bugs (RAID5 is a common setup with dm). Obviously yours is a special case and requires some work to get the dmraid driver working correctly. What are the errors with 11.04? Ubuntu at the end of a the day is a 'bleeding edge' distrobution, many of the new features included in it have not been tested longer than a few months and although most bugs are fixed before release some of the lesser used features can end up with regressions. You can always choose a more stable distro like debian if you are looking for ultimate stability. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/666577 Title: dmraid hangs trying to start ICH9R RAID 5 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 666577] Re: dmraid hangs trying to start ICH9R RAID 5
Isn't the raid4-5 driver deprecated? Ubuntu hasn't used it for 2 releases which is why you had to manually compile it. It has now been replaced in the linux kernel by the new kernel driver 'raid456' hasn't it? Dmraid probably needs to be re-worked to use this newer driver for it to accept raid5 in 11.04. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/666577 Title: dmraid hangs trying to start ICH9R RAID 5 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 666577] Re: dmraid hangs trying to start ICH9R RAID 5
Ignore my previous comment, I hadn't read the last couple of comments! There is still heinz's dm-raid45 module in the ubuntu kernel. When you say it doesn't work in 11.04 is that with this module or the one you tried to compile? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/666577 Title: dmraid hangs trying to start ICH9R RAID 5 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 666577] Re: dmraid hangs trying to start ICH9R RAID 5
dm-raid45 doesn't work correctly in 11.04 with the default module. It will not load my RAID arrays. I believe it may have difficulty distinguishing between the two RAID 5 arrays which both share 3 drives. As for the one I attempted to compile, that was back in 10.10 when the module still didn't work and I thought I might be able to rework some of the code to correct it. Before reworking, dmraid4-5 was giving me all sorts of compilation errors. I have not since tried to recompile dmraid. This error goes back to the late version 9.xx Ubuntu and hasn't been resolved since. On a slightly related note, Mr. Wood, I've noticed that many of the problems previously resolved in updates to 10.10 have returned in 11.04 which indicates to me that some modules here and there have, in fact, been reverted. So raid456 may very well be in the kernel, but, as you've stated, it isn't being used. I've also mentioned another error involving display hardware that could be taken advantage of as a security risk, but someone marked it as not important and not a risk. So I don't know what to think about some of the module issues at this point. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/666577 Title: dmraid hangs trying to start ICH9R RAID 5 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 666577] Re: dmraid hangs trying to start ICH9R RAID 5
This bug also affects Ubuntu 11.04 currently in Beta production. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/666577 Title: dmraid hangs trying to start ICH9R RAID 5 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 666577] Re: dmraid hangs trying to start ICH9R RAID 5
** Also affects: baltix Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/666577 Title: dmraid hangs trying to start ICH9R RAID 5 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 666577] Re: dmraid hangs trying to start ICH9R RAID 5
What I was attempting to compile above was the Ubuntu kernel from the sources provided by Synaptic. Once it hit the experimental Ubuntu dm- raid4-5 driver you mentioned, it errored very specifically on the dm- region-hash.c file. Looking at the compilation output, it seems that most, if not all of, the variables in the source were uninitialized or undefined prior to use. I don't know if it was the case, but I tried taking a look at the code myself to see if I could fix it by initializing the values with typeref or something, however I only really know bash and bat coding so it went horribly wrong. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/666577 Title: dmraid hangs trying to start ICH9R RAID 5 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 666577] Re: dmraid hangs trying to start ICH9R RAID 5
What I'm trying to get at is that I'm pretty certain that the source of the leak is in the ubuntu patches. Specifically, ../ubuntu/dm-raid4-5/dm-region-hash.c Mr. Susi, if you could please take a look at my compilation output from above and see if that helps track the error, I would appreciate it. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/666577 Title: dmraid hangs trying to start ICH9R RAID 5 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 666577] Re: dmraid hangs trying to start ICH9R RAID 5
I have no idea what you were trying to compile or why you got errors, but yes, the problem is obviously in the dm-raid4-5 driver, which is an experimental driver that Ubuntu added. Upstream is working on getting a proper raid456 driver into 2.6.38, but that will be for natty+1. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/666577 Title: dmraid hangs trying to start ICH9R RAID 5 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 666577] Re: dmraid hangs trying to start ICH9R RAID 5
Consider yourself verified. Also, see my previous comment about my attempt at recompiling my kernel and how it failed at the ../ubuntu/dm- raid4-5/dm-region-hash.c file. It's comment #5 to be exact. Dec 30 03:05:11 ubuntu kernel: [ 22.205128] hda-intel: IRQ timing workaround is activated for card #1. Suggest a bigger bdl_pos_adj. Dec 30 03:05:03 ubuntu kernel: [ 23.474918] hda-intel: IRQ timing workaround is activated for card #2. Suggest a bigger bdl_pos_adj. Dec 30 03:05:12 ubuntu kernel: [ 31.860004] eth0: no IPv6 routers present Dec 30 03:06:28 ubuntu kernel: [ 107.804182] device-mapper: table: 252:0: raid45: Invalid RAID device offset parameter Dec 30 03:06:28 ubuntu kernel: [ 107.804185] device-mapper: ioctl: error adding target to table Dec 30 03:09:03 ubuntu kernel: [ 263.086864] SysRq : Show Blocked State Dec 30 03:09:03 ubuntu kernel: [ 263.086868] taskPC stack pid father Dec 30 03:09:03 ubuntu kernel: [ 263.086900] dmraidD f192 0 3362 2816 0x Dec 30 03:09:03 ubuntu kernel: [ 263.086905] 880087935ce8 0086 8801 00015980 Dec 30 03:09:03 ubuntu kernel: [ 263.086909] 880087935fd8 00015980 880087935fd8 880078838000 Dec 30 03:09:03 ubuntu kernel: [ 263.086913] 00015980 00015980 880087935fd8 00015980 Dec 30 03:09:03 ubuntu kernel: [ 263.086917] Call Trace: Dec 30 03:09:03 ubuntu kernel: [ 263.086924] [81588175] schedule_timeout+0x195/0x310 Dec 30 03:09:03 ubuntu kernel: [ 263.086929] [810702f0] ? process_timeout+0x0/0x10 Dec 30 03:09:03 ubuntu kernel: [ 263.086933] [8158830e] schedule_timeout_uninterruptible+0x1e/0x20 Dec 30 03:09:03 ubuntu kernel: [ 263.086936] [81071420] msleep+0x20/0x30 Dec 30 03:09:03 ubuntu kernel: [ 263.086940] [81457dba] __dm_destroy+0x9a/0x150 Dec 30 03:09:03 ubuntu kernel: [ 263.086943] [81457ea3] dm_destroy+0x13/0x20 Dec 30 03:09:03 ubuntu kernel: [ 263.086946] [8145d570] dev_remove+0x90/0x110 Dec 30 03:09:03 ubuntu kernel: [ 263.086950] [8145d4e0] ? dev_remove+0x0/0x110 Dec 30 03:09:03 ubuntu kernel: [ 263.086953] [8145ddb5] ctl_ioctl+0x1a5/0x250 Dec 30 03:09:03 ubuntu kernel: [ 263.086956] [8145de73] dm_ctl_ioctl+0x13/0x20 Dec 30 03:09:03 ubuntu kernel: [ 263.086960] [81162f0d] vfs_ioctl+0x3d/0xd0 Dec 30 03:09:03 ubuntu kernel: [ 263.086963] [811637e1] do_vfs_ioctl+0x81/0x340 Dec 30 03:09:03 ubuntu kernel: [ 263.086967] [8158db2e] ? do_page_fault+0x15e/0x350 Dec 30 03:09:03 ubuntu kernel: [ 263.086970] [81163b21] sys_ioctl+0x81/0xa0 Dec 30 03:09:03 ubuntu kernel: [ 263.086974] [8100a0f2] system_call_fastpath+0x16/0x1b Dec 30 03:09:03 ubuntu kernel: [ 263.086978] Sched Debug Version: v0.09, 2.6.35-24-generic #42-Ubuntu -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/666577 Title: dmraid hangs trying to start ICH9R RAID 5 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs