isw: can't find disk table slot with funky serial numbers

Bug #103770 reported by loopingz
16
Affects Status Importance Assigned to Milestone
dmraid (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: dmraid

Using Ubuntu 7.04, with dmraid : 1.0.0.rc13-2ubuntu2

I'm using RAID 5 on ICH7R ( Asus P5W DH ), i create a 4 disks array.
So the controller is using his 3 disks and one more which is handle by another controller.

The serial number found for disks are all the right one :
3PM10N81
3PM10K3N
3PM0Z601

But the last disk is named as 038602F_________0_A
This disk is the extern one and dm_raid gave me the "Error finding disk table slot for /dev/sdc" error

The array is well discovered but as this disk is not in, it can't use it.

Revision history for this message
loopingz (loopingz) wrote :

After some code checking i found that the serial is limited to 16 characters and the extern disk known serial is 20 length

Revision history for this message
Richard Bailey (rmjb) wrote :
Revision history for this message
Tormod Volden (tormodvolden) wrote :

What is your "another controller"?

This bug seems to be similar, although not exactly the same: https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=219058

Changed in dmraid:
status: Unconfirmed → Needs Info
Revision history for this message
loopingz (loopingz) wrote : Re: [Bug 103770] Re: dmraid 4th disk problem

It's the easy backup raid by Asus, i don't know the real chip, i'll
look when i'm coming back home.

I found that the id read by ata and the id named in the raid table is
different.

I'll check more, i've written a small patch to force to true this
comparaison on the 4th disk, then everything works fine for detecting
this array but it ask mme for raid456 module even if this module is
loaded, i stopped there.

Quoting Tormod Volden <email address hidden>:

> What is your "another controller"?
>
> This bug seems to be similar, although not exactly the same:
> https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=219058
>
> --
> dmraid 4th disk problem
> https://bugs.launchpad.net/bugs/103770
> You received this bug notification because you are a direct subscriber
> of the bug.
>

Revision history for this message
Richard Bailey (rmjb) wrote : Re: dmraid 4th disk problem

The raid45 or raid456 is another problem already reported here:
https://bugs.launchpad.net/ubuntu/+source/dmraid/+bug/102973

Changed in dmraid:
status: Needs Info → Confirmed
Revision history for this message
Phillip Susi (psusi) wrote :

It appears that disks with strange serial numbers using spaces or non ASCII characters cause dmraid to say that it can not find the disk table slot because it strips whitespace out of serial numbers when it reads them from the disk, but the bios records the number in the metadata WITH the spaces, causing the serial numbers to fail to match when compared.

Is anyone still having this issue and able to test? If so I will prepare a fixed package for you to try and if you can confirm that it fixes the issue, we can publish the change.

Revision history for this message
Phillip Susi (psusi) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.