*** This bug is a duplicate of bug 154591 ***
    https://bugs.launchpad.net/bugs/154591

The Problem seems to be in a list of Seagate harddrives which require
special treatments. Here is the source code that causes problems:

static const struct drive_list_entry hpa_list[] = {
        { "ST340823A",  NULL },
        { "ST320413A",  NULL },
        { NULL,         NULL }
};

You see the *two* affected harddrives. The firmware version, which is
the second field in the struct is set to NULL. The function strstr(const
char* haystack, const char* needle) chokes on a NULL-needle. Looking at
the other places where such a list is constructed and how these lists
are used, the fix (or at least workaround) is easy:

static const struct drive_list_entry hpa_list[] = {
        { "ST340823A",  "ALL" },
        { "ST320413A",  "ALL" },
        { NULL,         NULL }
};

I changed the source and built a custom kernel for the affected system
and it works now. Hope this helps.

-- 
hard drive not detected since gutsy update
https://bugs.launchpad.net/bugs/156428
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

Reply via email to