[Bug 344215] Re: JMicron RAID controller segfaults when activating dmraid-rc15 (jaunty)
Bug Watch Updater
344215 at bugs.launchpad.net
Thu Oct 26 23:11:50 UTC 2017
Launchpad has imported 14 comments from the remote bug at
https://bugzilla.redhat.com/show_bug.cgi?id=473494.
If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.
------------------------------------------------------------------------
On 2008-11-28T20:22:46+00:00 Christophe wrote:
Created attachment 325037
lshw log
Description of problem:
dmraid crashes with a malloc(): memory corruption message
Version-Release number of selected component (if applicable):
dmraid-1.0.0.rc15-2.fc10.x86_64
dmraid-libs-1.0.0.rc15-2.fc10.x86_64
How reproducible: always happens on my system:
Gigabyte P35C-DS3R
64 bits
with 4 disk on the intel ICH9 controller
the first 2 (including the one on which is install fedora) are not in a raid array
the last 2 are on a raid0 array
no disks on the jmicron controller
Steps to Reproduce:
1.dmraid -vay
Actual results:
[root at loozbox01 ~]# dmraid -vay
/dev/sdd: "jmicron" and "isw" formats discovered (using isw)!
*** glibc detected *** dmraid: malloc(): memory corruption: 0x000000000089cd00 ***
======= Backtrace: =========
/lib64/libc.so.6[0x3022a7b1cf]
/lib64/libc.so.6(__libc_malloc+0x98)[0x3022a7ca08]
dmraid[0x40ffde]
dmraid[0x40a94c]
dmraid(free_raid_dev+0x25)[0x40aa75]
dmraid[0x40b7ef]
dmraid(discover_raid_devices+0xf3)[0x40d0d3]
dmraid(lib_perform+0x17f)[0x40d2ef]
dmraid(main+0x6e)[0x403f5e]
/lib64/libc.so.6(__libc_start_main+0xe6)[0x3022a1e546]
dmraid[0x403e29]
======= Memory map: ========
00400000-00431000 r-xp 00000000 08:02 752230 /sbin/dmraid
00630000-00634000 rw-p 00030000 08:02 752230 /sbin/dmraid
0089b000-008bc000 rw-p 0089b000 00:00 0 [heap]
3021200000-3021220000 r-xp 00000000 08:02 253555 /lib64/ld-2.9.so
302141f000-3021420000 r--p 0001f000 08:02 253555 /lib64/ld-2.9.so
3021420000-3021421000 rw-p 00020000 08:02 253555 /lib64/ld-2.9.so
3022200000-3022239000 r-xp 00000000 08:02 253575 /lib64/libsepol.so.1
3022239000-3022439000 ---p 00039000 08:02 253575 /lib64/libsepol.so.1
3022439000-302243a000 rw-p 00039000 08:02 253575 /lib64/libsepol.so.1
3022600000-3022615000 r-xp 00000000 08:02 253831 /lib64/libdevmapper.so.1.02
3022615000-3022815000 ---p 00015000 08:02 253831 /lib64/libdevmapper.so.1.02
3022815000-3022817000 rw-p 00015000 08:02 253831 /lib64/libdevmapper.so.1.02
3022a00000-3022b68000 r-xp 00000000 08:02 253557 /lib64/libc-2.9.so
3022b68000-3022d68000 ---p 00168000 08:02 253557 /lib64/libc-2.9.so
3022d68000-3022d6c000 r--p 00168000 08:02 253557 /lib64/libc-2.9.so
3022d6c000-3022d6d000 rw-p 0016c000 08:02 253557 /lib64/libc-2.9.so
3022d6d000-3022d72000 rw-p 3022d6d000 00:00 0
3023200000-3023202000 r-xp 00000000 08:02 253791 /lib64/libdl-2.9.so
3023202000-3023402000 ---p 00002000 08:02 253791 /lib64/libdl-2.9.so
3023402000-3023403000 r--p 00002000 08:02 253791 /lib64/libdl-2.9.so
3023403000-3023404000 rw-p 00003000 08:02 253791 /lib64/libdl-2.9.so
3023e00000-3023e1a000 r-xp 00000000 08:02 253793 /lib64/libselinux.so.1
3023e1a000-3024019000 ---p 0001a000 08:02 253793 /lib64/libselinux.so.1
3024019000-302401a000 r--p 00019000 08:02 253793 /lib64/libselinux.so.1
302401a000-302401b000 rw-p 0001a000 08:02 253793 /lib64/libselinux.so.1
302401b000-302401c000 rw-p 302401b000 00:00 0
302e400000-302e416000 r-xp 00000000 08:02 253813 /lib64/libgcc_s-4.3.2-20081105.so.1
302e416000-302e616000 ---p 00016000 08:02 253813 /lib64/libgcc_s-4.3.2-20081105.so.1
302e616000-302e617000 rw-p 00016000 08:02 253813 /lib64/libgcc_s-4.3.2-20081105.so.1
7fdd8c000000-7fdd8c021000 rw-p 7fdd8c000000 00:00 0
7fdd8c021000-7fdd90000000 ---p 7fdd8c021000 00:00 0
7fdd91ee1000-7fdd91ee4000 rw-p 7fdd91ee1000 00:00 0
7fdd91ef7000-7fdd91efa000 rw-p 7fdd91ef7000 00:00 0
7fff99ee5000-7fff99efa000 rw-p 7ffffffea000 00:00 0 [stack]
7fff99fff000-7fff9a000000 r-xp 7fff99fff000 00:00 0 [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall]
Abandon
Additional info:
Reply at:
https://bugs.launchpad.net/ubuntu/+source/dmraid/+bug/344215/comments/0
------------------------------------------------------------------------
On 2008-11-28T20:24:00+00:00 Christophe wrote:
Created attachment 325038
dmesg
Reply at:
https://bugs.launchpad.net/ubuntu/+source/dmraid/+bug/344215/comments/1
------------------------------------------------------------------------
On 2008-11-29T13:50:34+00:00 Christophe wrote:
I should have said that it worked without any pb on FC8
Reply at:
https://bugs.launchpad.net/ubuntu/+source/dmraid/+bug/344215/comments/2
------------------------------------------------------------------------
On 2008-12-10T19:02:36+00:00 Heinz wrote:
Christophe,
can you please attach "dmraid -rD" output files (*.{dat,offset,size}) if
possible in a bzip2/tarball here to allow me to try reproducing this
with your data, thanks ? If dmraid failes for you, dd the last 4KB off
each disk of the RAID set into files $DiskName.dat (e.g. sda.dat) and
put the size in sectors into files $DiskName.size into the
bzip2/tarball.
There could be a HW (ie. RAM) flaw which gets triggered by optimizations
in newer kernels. If possible, run memtest.
Reply at:
https://bugs.launchpad.net/ubuntu/+source/dmraid/+bug/344215/comments/3
------------------------------------------------------------------------
On 2008-12-13T13:30:34+00:00 Christophe wrote:
Created attachment 326815
output result of dmraid -rD
Here are the ouput results of the dmraid -rD command.
However, dmraid -rD ended with a segfault so I don't know if the output
are as complete as you wished.
Reply at:
https://bugs.launchpad.net/ubuntu/+source/dmraid/+bug/344215/comments/4
------------------------------------------------------------------------
On 2008-12-13T13:33:28+00:00 Christophe wrote:
Could you please give me the command to run to retreive the last 4KB off
each disk of the RAID using dd please?
Reply at:
https://bugs.launchpad.net/ubuntu/+source/dmraid/+bug/344215/comments/5
------------------------------------------------------------------------
On 2009-01-09T12:23:50+00:00 Heinz wrote:
find the size of each disk in sectors (say $sectors) and
dd if=/dev/$DiskName skip=$((sectors - 8)) bs=512 of=$DiskName.dat
for each $DiskName.
Please don't forget to add $DiskName.size with the sectors count in.
Reply at:
https://bugs.launchpad.net/ubuntu/+source/dmraid/+bug/344215/comments/6
------------------------------------------------------------------------
On 2009-01-11T18:45:22+00:00 Christophe wrote:
Created attachment 328672
dd results
here are the results of the dd command on the two disks in the raid0
array
Reply at:
https://bugs.launchpad.net/ubuntu/+source/dmraid/+bug/344215/comments/7
------------------------------------------------------------------------
On 2009-02-10T08:32:32+00:00 Luca wrote:
I have the identical problem, my configuration is GIGABYTE P35-DS3R, 4GB
RAM Fedora 10 x86_64 and two Seagate 1TB Disk in mirror on jmicron
controller.
If needs other infos ask for.
Reply at:
https://bugs.launchpad.net/ubuntu/+source/dmraid/+bug/344215/comments/8
------------------------------------------------------------------------
On 2009-03-03T07:34:33+00:00 Giuseppe wrote:
It sounds me as an old bug fixed in the previous release with
dmraid-1.0.0.rc14-jmicron-name.patch[1]
[1]http://cvs.fedoraproject.org/viewvc/devel/dmraid/dmraid-1.0.0.rc14
-jmicron-name.patch?revision=1.1&view=markup
Reply at:
https://bugs.launchpad.net/ubuntu/+source/dmraid/+bug/344215/comments/9
------------------------------------------------------------------------
On 2009-03-20T13:42:24+00:00 Giuseppe wrote:
Created attachment 336048
Fix segfault when attempting to generate name for jmicron controllers
Attached patch should fix this issue.
Reply at:
https://bugs.launchpad.net/ubuntu/+source/dmraid/+bug/344215/comments/17
------------------------------------------------------------------------
On 2009-04-23T15:56:00+00:00 Christophe wrote:
Thanks Giuseppe for the hint!
It really seems related to jmicron controllers (my mother board hosts
both jmicron and ICH9 controllers) because using the -f flag to specify
to deal only with the ICH9/isw controller, everything seems OK
dmraid -ay -f isw
RAID set "isw_bgfiiahjia_Volume0" was activated
RAID set "isw_bgfiiahjia_Volume0p1" was activated
RAID set "isw_bgfiiahjia_Volume0p2" was activated
RAID set "isw_bgfiiahjia_Volume0p3" was activated
Ok, I could/should have tried before...if only I had read the man page more carefully.
Reply at:
https://bugs.launchpad.net/ubuntu/+source/dmraid/+bug/344215/comments/19
------------------------------------------------------------------------
On 2009-11-18T09:02:54+00:00 Bug wrote:
This message is a reminder that Fedora 10 is nearing its end of life.
Approximately 30 (thirty) days from now Fedora will stop maintaining
and issuing updates for Fedora 10. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora
'version' of '10'.
Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version prior to Fedora 10's end of life.
Bug Reporter: Thank you for reporting this issue and we are sorry that
we may not be able to fix it before Fedora 10 is end of life. If you
would still like to see this bug fixed and are able to reproduce it
against a later version of Fedora please change the 'version' of this
bug to the applicable version. If you are unable to change the version,
please add a comment here and someone will do it for you.
Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.
The process we are following is described here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping
Reply at:
https://bugs.launchpad.net/ubuntu/+source/dmraid/+bug/344215/comments/20
------------------------------------------------------------------------
On 2009-12-18T07:00:49+00:00 Bug wrote:
Fedora 10 changed to end-of-life (EOL) status on 2009-12-17. Fedora 10 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.
If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version.
Thank you for reporting this bug and we are sorry it could not be fixed.
Reply at:
https://bugs.launchpad.net/ubuntu/+source/dmraid/+bug/344215/comments/21
** Changed in: dmraid (Fedora)
Importance: Unknown => Medium
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to dmraid in Ubuntu.
https://bugs.launchpad.net/bugs/344215
Title:
JMicron RAID controller segfaults when activating dmraid-rc15 (jaunty)
Status in dmraid package in Ubuntu:
Fix Released
Status in dmraid package in Fedora:
Fix Released
Bug description:
Binary package hint: dmraid
I just created a large RAID0 array on my JMICRON controller, when trying to use it on the latest jaunty build dmraid segfaults.
I'm planning on installing to this array so this is a bit of a show stopper, I am willing to try anything in the live environment you feel will be helpful.
Here is the output of some useful stuff, I can't dump the metadata as
it segfaults before this happens:
The actual segfault:
ubuntu at ubuntu:~$ sudo dmraid -ay -vvv -d
WARN: locking /var/lock/dmraid/.lock
NOTICE: /dev/sdd: asr discovering
NOTICE: /dev/sdd: ddf1 discovering
NOTICE: /dev/sdd: hpt37x discovering
NOTICE: /dev/sdd: hpt45x discovering
NOTICE: /dev/sdd: isw discovering
NOTICE: /dev/sdd: jmicron discovering
NOTICE: /dev/sdd: jmicron metadata discovered
NOTICE: /dev/sdd: lsi discovering
NOTICE: /dev/sdd: nvidia discovering
NOTICE: /dev/sdd: pdc discovering
NOTICE: /dev/sdd: sil discovering
NOTICE: /dev/sdd: via discovering
NOTICE: /dev/sdc: asr discovering
NOTICE: /dev/sdc: ddf1 discovering
NOTICE: /dev/sdc: hpt37x discovering
NOTICE: /dev/sdc: hpt45x discovering
NOTICE: /dev/sdc: isw discovering
NOTICE: /dev/sdc: jmicron discovering
NOTICE: /dev/sdc: jmicron metadata discovered
NOTICE: /dev/sdc: lsi discovering
*** glibc detected *** dmraid: malloc(): memory corruption: 0x0000000001d9eac0 ***
======= Backtrace: =========
/lib/libc.so.6[0x7f685e7befef]
/lib/libc.so.6(__libc_malloc+0x98)[0x7f685e7c0828]
/lib/libdmraid.so.1.0.0.rc15[0x7f685ef1c90d]
/lib/libdmraid.so.1.0.0.rc15[0x7f685ef14a71]
/lib/libdmraid.so.1.0.0.rc15[0x7f685ef15336]
/lib/libdmraid.so.1.0.0.rc15[0x7f685ef15530]
/lib/libdmraid.so.1.0.0.rc15[0x7f685ef26edb]
/lib/libdmraid.so.1.0.0.rc15[0x7f685ef17f07]
/lib/libdmraid.so.1.0.0.rc15(discover_raid_devices+0x105)[0x7f685ef198a5]
/lib/libdmraid.so.1.0.0.rc15(lib_perform+0x17d)[0x7f685ef19abd]
dmraid(main+0x6d)[0x40189d]
/lib/libc.so.6(__libc_start_main+0xe6)[0x7f685e7625a6]
dmraid[0x401769]
======= Memory map: ========
00400000-00404000 r-xp 00000000 00:11 21756 /sbin/dmraid
00603000-00604000 r--p 00003000 00:11 21756 /sbin/dmraid
00604000-00605000 rw-p 00004000 00:11 21756 /sbin/dmraid
01d9e000-01dbf000 rw-p 01d9e000 00:00 0 [heap]
7f6858000000-7f6858021000 rw-p 7f6858000000 00:00 0
7f6858021000-7f685c000000 ---p 7f6858021000 00:00 0
7f685e110000-7f685e126000 r-xp 00000000 00:11 1740 /lib/libgcc_s.so.1
7f685e126000-7f685e326000 ---p 00016000 00:11 1740 /lib/libgcc_s.so.1
7f685e326000-7f685e327000 r--p 00016000 00:11 1740 /lib/libgcc_s.so.1
7f685e327000-7f685e328000 rw-p 00017000 00:11 1740 /lib/libgcc_s.so.1
7f685e328000-7f685e32a000 r-xp 00000000 00:11 27 /lib/libdl-2.9.so
7f685e32a000-7f685e52a000 ---p 00002000 00:11 27 /lib/libdl-2.9.so
7f685e52a000-7f685e52b000 r--p 00002000 00:11 27 /lib/libdl-2.9.so
7f685e52b000-7f685e52c000 rw-p 00003000 00:11 27 /lib/libdl-2.9.so
7f685e52c000-7f685e542000 r-xp 00000000 00:11 22561 /lib/libdevmapper.so.1.02.1
7f685e542000-7f685e741000 ---p 00016000 00:11 22561 /lib/libdevmapper.so.1.02.1
7f685e741000-7f685e742000 r--p 00015000 00:11 22561 /lib/libdevmapper.so.1.02.1
7f685e742000-7f685e744000 rw-p 00016000 00:11 22561 /lib/libdevmapper.so.1.02.1
7f685e744000-7f685e8ac000 r-xp 00000000 00:11 33 /lib/libc-2.9.so
7f685e8ac000-7f685eaac000 ---p 00168000 00:11 33 /lib/libc-2.9.so
7f685eaac000-7f685eab0000 r--p 00168000 00:11 33 /lib/libc-2.9.so
7f685eab0000-7f685eab1000 rw-p 0016c000 00:11 33 /lib/libc-2.9.so
7f685eab1000-7f685eab6000 rw-p 7f685eab1000 00:00 0
7f685eab6000-7f685eaef000 r-xp 00000000 00:11 7032 /lib/libsepol.so.1
7f685eaef000-7f685ecee000 ---p 00039000 00:11 7032 /lib/libsepol.so.1
7f685ecee000-7f685ecef000 r--p 00038000 00:11 7032 /lib/libsepol.so.1
7f685ecef000-7f685ecf0000 rw-p 00039000 00:11 7032 /lib/libsepol.so.1
7f685ecf0000-7f685ed0a000 r-xp 00000000 00:11 223 /lib/libselinux.so.1
7f685ed0a000-7f685ef09000 ---p 0001a000 00:11 223 /lib/libselinux.so.1
7f685ef09000-7f685ef0a000 r--p 00019000 00:11 223 /lib/libselinux.so.1
7f685ef0a000-7f685ef0b000 rw-p 0001a000 00:11 223 /lib/libselinux.so.1
7f685ef0b000-7f685ef0c000 rw-p 7f685ef0b000 00:00 0
7f685ef0c000-7f685ef3b000 r-xp 00000000 00:11 21724 /lib/libdmraid.so.1.0.0.rc15
7f685ef3b000-7f685f13b000 ---p 0002f000 00:11 21724 /lib/libdmraid.so.1.0.0.rc15
7f685f13b000-7f685f13c000 r--p 0002f000 00:11 21724 /lib/libdmraid.so.1.0.0.rc15
7f685f13c000-7f685f13e000 rw-p 00030000 00:11 21724 /lib/libdmraid.so.1.0.0.rc15
7f685f13e000-7f685f15e000 r-Aborted (core dumped)
lspci -vv:
06:00.1 IDE interface: JMicron Technologies, Inc. JMicron 20360/20363 AHCI Controller (rev 02) (prog-if 85 [Master SecO PriO])
Subsystem: JMicron Technologies, Inc. JMicron 20360/20363 AHCI Controller
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 64 bytes
Interrupt: pin B routed to IRQ 18
Region 0: I/O ports at 9f00 [size=8]
Region 1: I/O ports at 9e00 [size=4]
Region 2: I/O ports at 9d00 [size=8]
Region 3: I/O ports at 9c00 [size=4]
Region 4: I/O ports at 9b00 [size=16]
Capabilities: <access denied>
Kernel driver in use: pata_jmicron
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dmraid/+bug/344215/+subscriptions
More information about the foundations-bugs
mailing list