[Bug 361689] Re: hald segfault when using a raid volume

2009-05-06 Thread Chris Coulson
I've not had much time to look any further at this, and I haven't
proposed my patch as a fix yet because I don't know if it is the right
way to fix it. What I need to do really is send this bug report
upstream, and also have a play around with a mdraid setup myself, but I
don't have a clue how to set one of those up.

Perhaps someone here could help me set one up ;)

** Changed in: hal (Ubuntu)
   Status: Incomplete = Confirmed

-- 
hald segfault when using a raid volume
https://bugs.launchpad.net/bugs/361689
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 361689] Re: hald segfault when using a raid volume

2009-05-06 Thread mobrien118
I think I can get you started.

I mean, the first step to creating a RAID volume is to think it out.
Where do you need redundancy? Where do you need speed? Then map out your
partitions (especially if you have different sized disks).

Remember that RAID will cause a slight (in the case of RAID0 or RAID1)
to slightly greater (RAID5 or RAID6) processor and I/O load. That is the
trade-off for getting better overall disk performance.

Although it is supposedly not needed to RAID0 your swap partitions
across disks (supposedly the swap daemon manages multiple disks very
well) it doesn't hurt to do so and is an easy and safe way to get
started with RAID. You might consider making this your test case.

This page lays out mdadm and Linux RAID pretty well:
http://ubuntuforums.org/showthread.php?t=408461

Basically:
1. format disks you want to use as RAID partitions
2. create a RAID array using mdadm --create /dev/md0 --level=[level] 
--raid-devices=[number of devices] [device1] [device2]...[deviceN]
3. assemble the array
4. format the array in the filesystem of your choice (like any other partition)
5. mount it like you would any other disk partition

Pretty simple, eh?

-- 
hald segfault when using a raid volume
https://bugs.launchpad.net/bugs/361689
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 361689] Re: hald segfault when using a raid volume

2009-05-06 Thread Chris Coulson
Thanks for your help mobrien118 and Russell (who also contacted me
privately with some help). I've managed to recreate the crash now.

** Changed in: hal (Ubuntu)
   Status: Confirmed = In Progress

** Changed in: hal (Ubuntu)
 Assignee: (unassigned) = Chris Coulson (chrisccoulson)

-- 
hald segfault when using a raid volume
https://bugs.launchpad.net/bugs/361689
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 361689] Re: hald segfault when using a raid volume

2009-05-06 Thread Chris Coulson
** Bug watch added: freedesktop.org Bugzilla #21603
   https://bugs.freedesktop.org/show_bug.cgi?id=21603

** Also affects: hal via
   https://bugs.freedesktop.org/show_bug.cgi?id=21603
   Importance: Unknown
   Status: Unknown

-- 
hald segfault when using a raid volume
https://bugs.launchpad.net/bugs/361689
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 361689] Re: hald segfault when using a raid volume

2009-05-06 Thread Bug Watch Updater
** Changed in: hal
   Status: Unknown = Confirmed

-- 
hald segfault when using a raid volume
https://bugs.launchpad.net/bugs/361689
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 361689] Re: hald segfault when using a raid volume

2009-05-06 Thread Chris Coulson
Now I understand it properly, I've re-written the patch, tested it and
sent upstream.

** Branch linked: lp:~chrisccoulson/hal/bug361689

** Changed in: hal (Ubuntu)
   Status: In Progress = Triaged

-- 
hald segfault when using a raid volume
https://bugs.launchpad.net/bugs/361689
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 361689] Re: hald segfault when using a raid volume

2009-05-06 Thread mobrien118
To the main Ubuntu repos or to your PPA?

-- 
hald segfault when using a raid volume
https://bugs.launchpad.net/bugs/361689
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 361689] Re: hald segfault when using a raid volume

2009-05-06 Thread Chris Coulson
The patch is in my bzr branch, waiting to be merged in to the ubuntu-
core-dev branch. I've also sent the patch to the upstream freedesktop
bug tracker: https://bugs.freedesktop.org/show_bug.cgi?id=21603

-- 
hald segfault when using a raid volume
https://bugs.launchpad.net/bugs/361689
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 361689] Re: hald segfault when using a raid volume

2009-05-05 Thread mobrien118
How is it possible that this bug is only listed as Medium
importance?!?!?

I discovered what I think is this bug when I upgraded my system using
system update. Upon a later reboot I found that I had no access to the
system whatsoever. After trying multiple things to get back in from the
root recovery console, I re-formatted, losing a lot of configuration.

Fortunately, I am somewhat tech savvy and I didn't lose everything, but
this cost me 2 days and will probably cost more. And for the average
user, this could equate to complete data loss. I would think this would
be a high importance bug since it disables a working system!

Does anyone agree with me, or am I missing something here?

--mobrien118

-- 
hald segfault when using a raid volume
https://bugs.launchpad.net/bugs/361689
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 361689] Re: hald segfault when using a raid volume

2009-05-05 Thread mobrien118
FYI, it looks like Chris's PPA packages fixed it, though.

Thank goodness! If I had been remote from this machine (which I will be
for the next few months) it would have been a nightmare!

-- 
hald segfault when using a raid volume
https://bugs.launchpad.net/bugs/361689
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 361689] Re: hald segfault when using a raid volume

2009-05-05 Thread cmorgan
Mobrien118, I agree that there should be some consideration of its
importance. Maybe it isn't that big of a deal since few people have raid
sets on their computers. It cost me several hours of rebooting and
googling before I thought to boot into recovery console, install openssh
and then log in with another machine to look at the dmsg output. I
considered myself fortunate to have stumbled upon the solution here
since the failure case is very confusing. If hald is so critical maybe
there should be a better way of reporting these errors to the user.

-- 
hald segfault when using a raid volume
https://bugs.launchpad.net/bugs/361689
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 361689] Re: hald segfault when using a raid volume

2009-05-01 Thread Sergey Nizovtsev
Chris's HAL builds helped for me too. I think that the bug status should
be 'In progress' instead of 'Incomplete'.

-- 
hald segfault when using a raid volume
https://bugs.launchpad.net/bugs/361689
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 361689] Re: hald segfault when using a raid volume

2009-04-29 Thread Russell Davies
I can confirm this when using a RAID 10 array. Chris's HAL builds also
fixed the problem for me.

** Attachment added: lshal.log
   http://launchpadlibrarian.net/26144390/lshal.log

-- 
hald segfault when using a raid volume
https://bugs.launchpad.net/bugs/361689
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 361689] Re: hald segfault when using a raid volume

2009-04-28 Thread BobMcD
One more: I also used the hald supplied by Chris and it fixed it.  Same
symptom - md's causing hal to crash.

-- 
hald segfault when using a raid volume
https://bugs.launchpad.net/bugs/361689
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 361689] Re: hald segfault when using a raid volume

2009-04-25 Thread cmorgan
Also used the hald supplied by Chris and the keyboard and mouse work
again.

-- 
hald segfault when using a raid volume
https://bugs.launchpad.net/bugs/361689
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 361689] Re: hald segfault when using a raid volume

2009-04-24 Thread Yakov Shafranovich
Hi,

I upgraded today from Intrepid to Jaunty, and had the same problem with
no mouse/keyboard in X, and a message in system log about a segfault
with HAL. I am using software raid.

I downloaded and installed the package supplied by Chris and it works. I
hope this patch will be applied to the official package as well.

Thanks for the help!

-- 
hald segfault when using a raid volume
https://bugs.launchpad.net/bugs/361689
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 361689] Re: hald segfault when using a raid volume

2009-04-20 Thread StoatWblr
Here's my lshal.log. As I said, your updated package is working for me
(RAID1)

I hope this helps.


** Attachment added: lshal.log
   http://launchpadlibrarian.net/25789432/lshal.log

-- 
hald segfault when using a raid volume
https://bugs.launchpad.net/bugs/361689
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 361689] Re: hald segfault when using a raid volume

2009-04-20 Thread NeoTrantor
Works for me too. Good work, many thanks! :)

-- 
hald segfault when using a raid volume
https://bugs.launchpad.net/bugs/361689
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 361689] Re: hald segfault when using a raid volume

2009-04-19 Thread Chris Coulson
Would you mind running lshal -m, assembling your array and then
posting any output?

Thanks

-- 
hald segfault when using a raid volume
https://bugs.launchpad.net/bugs/361689
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 361689] Re: hald segfault when using a raid volume

2009-04-19 Thread Noumayos
I have no output when assembling my array.

-- 
hald segfault when using a raid volume
https://bugs.launchpad.net/bugs/361689
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 361689] Re: hald segfault when using a raid volume

2009-04-17 Thread StoatWblr
Your patch is working for me.

I'll leave it to the original poster to post his lshal.log unless you'd
like mine as well.

This bug only manifested on 2.6.28-11 - booting 2.6.27-11 on Jaunty beta
was fine.

-- 
hald segfault when using a raid volume
https://bugs.launchpad.net/bugs/361689
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 361689] Re: hald segfault when using a raid volume

2009-04-17 Thread Chris Coulson
If you can provide the output, then it would be appreciated (from both
kernels).

-- 
hald segfault when using a raid volume
https://bugs.launchpad.net/bugs/361689
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 361689] Re: hald segfault when using a raid volume

2009-04-17 Thread Noumayos
Please find the log attached.

** Attachment added: lshal.log
   http://launchpadlibrarian.net/25665774/lshal.log

-- 
hald segfault when using a raid volume
https://bugs.launchpad.net/bugs/361689
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 361689] Re: hald segfault when using a raid volume

2009-04-17 Thread Chris Coulson
Thanks Noumayos. That was before you assembled your raid array though
wasn't it?

-- 
hald segfault when using a raid volume
https://bugs.launchpad.net/bugs/361689
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 361689] Re: hald segfault when using a raid volume

2009-04-17 Thread Noumayos
The result of lshal is the same before and after the raid array.

-- 
hald segfault when using a raid volume
https://bugs.launchpad.net/bugs/361689
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 361689] Re: hald segfault when using a raid volume

2009-04-17 Thread Chris Coulson
Thanks. I don't know if my patch is the right way to fix it. With my
build, could you also please run lshal  lshal.log after assembling
the raid volume, and attaching lshal.log to the bug report. Once that
is done, I will send all this upstream.

Thanks

** Changed in: hal (Ubuntu)
   Importance: Undecided = Medium

-- 
hald segfault when using a raid volume
https://bugs.launchpad.net/bugs/361689
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 361689] Re: hald segfault when using a raid volume

2009-04-16 Thread Noumayos
** Summary changed:

- hald segfault when using a raid 0 volume
+ hald segfault when using a raid volume

-- 
hald segfault when using a raid volume
https://bugs.launchpad.net/bugs/361689
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 361689] Re: hald segfault when using a raid volume

2009-04-16 Thread Noumayos
Please find attached the requested log

** Attachment added: hald.log
   http://launchpadlibrarian.net/25591739/hald.log

-- 
hald segfault when using a raid volume
https://bugs.launchpad.net/bugs/361689
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 361689] Re: hald segfault when using a raid volume

2009-04-16 Thread Noumayos
Your build seems to work.

** Attachment added: hald-chriscoulson.log
   http://launchpadlibrarian.net/25592252/hald-chriscoulson.log

-- 
hald segfault when using a raid volume
https://bugs.launchpad.net/bugs/361689
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs