[Bug 174759] Re: Eclipse crashes due to jvm crash

2008-04-27 Thread Matti Tiainen
At work I've been using the IBM JDK as a workaround, Eclipse seems to
work perfectly with that. You can then even speedup Eclipse startup a
bit by using class data sharing (-Xshareclasses) option, which is
similar to the -Xshare option in Sun JRE, but vastly better :)

http://www-128.ibm.com/developerworks/java/jdk/linux/download.html
http://www.ibm.com/developerworks/java/jdk/linux/6/sdkandruntimeguide.lnx.html#classdatasharing

-- 
Eclipse crashes due to jvm crash
https://bugs.launchpad.net/bugs/174759
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 97655] Re: dmraid45 target please

2007-12-01 Thread Matti Tiainen
Patch for kernel 2.6.23.1 is now available:
http://people.redhat.com/~heinzm/sw/dm/dm-raid45/

-- 
dmraid45 target please
https://bugs.launchpad.net/bugs/97655
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

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


[Bug 97655] Re: dmraid45 target please

2007-10-10 Thread Matti Tiainen
Looks like ubuntu includes some other patch which conflicts with the
dmraid45 patch. You could try patching a vanilla 2.6.22.x kernel or
disabling CONFIG_DM_MIRROR option (if you don't need RAID1).

-- 
dmraid45 target please
https://bugs.launchpad.net/bugs/97655
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

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


[Bug 144735] Re: After today's update to devmapper, system does not boot successfully

2007-09-30 Thread Matti Tiainen
I had the same problem today with dmraid devices. Removing the invalid
symlinks under /dev/mapper/ and running dmsetup mknodes recreated them
fine. After that I ran update-initramfs for the custom kernel and now
everything works fine also after boot. Probably just updating initramfs
will be enough to fix it.

-- 
After today's update to devmapper, system does not boot successfully
https://bugs.launchpad.net/bugs/144735
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

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


[Bug 97655] Re: dmraid45 target please

2007-09-09 Thread Matti Tiainen
One more thing (since noone has mentioned it in this issue yet :). If
you boot from a dmraid volume using grub, you need make sure the option
"savedefault" is NOT enabled. Otherwise it will fail to boot with
message "Error 15: File not found" or similar.

-- 
dmraid45 target please
https://bugs.launchpad.net/bugs/97655
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

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


[Bug 97655] Re: dmraid45 target please

2007-09-09 Thread Matti Tiainen
You can find the menuconfig options in Device Drivers -> Multi-device
support (RAID and LVM) -> RAID support -> RAID-4/RAID-5/RAID-6 mode and
Device mapper support -> RAID 4/5 target (EXPERIMENTAL)

-- 
dmraid45 target please
https://bugs.launchpad.net/bugs/97655
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

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


[Bug 97655] Re: dmraid45 target please

2007-09-09 Thread Matti Tiainen
'make oldconfig' just checks any new config options that are available
compared to the kernel the .config file is from. You should never edit
the .config file manually, always use 'make
menuconfig/oldconfig/whateverconfig' for configuring the kernel. Check
with 'grep RAID .config' to see that those modules are really enabled.

-- 
dmraid45 target please
https://bugs.launchpad.net/bugs/97655
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

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


[Bug 97655] Re: dmraid45 target please

2007-09-09 Thread Matti Tiainen
And you can of course check if the module has been compiled by running:
find /lib/modules/2.6.22.1-custom/| grep dm-raid
which should return:
/lib/modules/2.6.22.1-custom/kernel/drivers/md/dm-raid4-5.ko

-- 
dmraid45 target please
https://bugs.launchpad.net/bugs/97655
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

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


[Bug 97655] Re: dmraid45 target please

2007-09-09 Thread Matti Tiainen
Are you sure the dm-raid45 module is enabled ?

Your kernel config should have at least these lines:
CONFIG_MD_RAID456=m
CONFIG_DM_RAID45=m

For the initramfs, I've added the module to the following files:

/usr/share/initramfs-tools/hooks/dmraid

..snip..
manual_add_modules dm-mirror
manual_add_modules dm-raid4-5
copy_exec /sbin/dmraid sbin
..snip..

/usr/share/initramfs-tools/scripts/local-top/dmraid

..snip..
modprobe -Q dm-mirror
modprobe -Q dm-raid4-5

[ -x /sbin/dmraid ] && /sbin/dmraid -ay
..snip..

The devices and partitions show up in directory /dev/mapper, for example:
/dev/mapper/isw_ibcfibahh_RAID0
/dev/mapper/isw_ibcfibahh_RAID01
/dev/mapper/isw_ibcfibahh_RAID02
/dev/mapper/isw_ibcfibahh_RAID5
/dev/mapper/isw_ibcfibahh_RAID51
/dev/mapper/isw_ibcfibahh_RAID52

RAID0 and RAID5 are the names I've given to the raid volumes in BIOS. So
in my case I can run "parted /dev/mapper/isw_ibcfibahh_RAID5" to
partition the raid5 volume.

When dm-raid4-5 module is loaded on boot, dmesg should show something like this:
[   50.928873] raid5: automatically using best checksumming function: 
generic_sse
[   50.933003]generic_sse:  8728.000 MB/sec
[   50.933083] raid5: using function: generic_sse (8728.000 MB/sec)
[   50.935099] device-mapper: dm-raid45: initialized v0.2337
[   51.329743] device-mapper: dm-raid45: /dev/sda is raid disk 0
[   51.329832] device-mapper: dm-raid45: /dev/sdb is raid disk 1
[   51.329917] device-mapper: dm-raid45: /dev/sdc is raid disk 2
[   51.330003] device-mapper: dm-raid45: /dev/sdd is raid disk 3
[   51.330090] device-mapper: dm-raid45: 128/128/256 sectors chunk/io/recovery 
size, 64 stripes
[   51.330219] device-mapper: dm-raid45: algorithm "xor_asm", 4 chunks with 
8625MB/s
[   51.330343] device-mapper: dm-raid45: RAID5 (left asymmetric) set with net 
3/4 devices
[   51.330500] device-mapper: dm-raid45: No regions to recover

Steps I use install a custom kernel:
1) patch the sources :)
2) copy the .config file from the current kernel and run 'make oldconfig'
3) compile the kernel with 'make-kpkg clean && fakeroot make-kpkg --initrd 
--append-to-version=-custom kernel_image kernel_headers'
4) install the generated headers and image .deb files (install should 
automatically run update-initramfs)
5) finally run 'update-grub'

I also get the "no such file directory" messages with update-initramfs
and they should be nothing to worry about.

-- 
dmraid45 target please
https://bugs.launchpad.net/bugs/97655
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

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


[Bug 97655] Re: dmraid45 target please

2007-09-04 Thread Matti Tiainen
I don't think there's currently easy way to avoid patching the kernel to
get dmraid45. I'm using a custom "non-official" 2.6.22 kernel with
gutsy, but a 2.6.22 kernel most likely works fine also with feisty.

-- 
dmraid45 target please
https://bugs.launchpad.net/bugs/97655
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

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


[Bug 97655] Re: dmraid45 target please

2007-07-23 Thread Matti Tiainen
Hi,

there is now an updated patch for kernel 2.6.22 available:
https://www.redhat.com/archives/dm-devel/2007-July/msg00099.html

I'm running it on amd64 (ICH8R with 4 SATA disks as RAID5/RAID0 "matrix RAID") 
using NTFS and EXT3 as filesystems.
With the previous patch and 2.6.18 kernel I couldn't get EXT3 to work reliably, 
but no such problems with 2.6.22 so far.

-- 
dmraid45 target please
https://bugs.launchpad.net/bugs/97655
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

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