Bug 233295 - sys-block/dellmgr-5.32 stopped working after upgrade to 2.6.25-gentoo-r7 (2008)
Bug#: 233295 Product:  Gentoo Linux Version: unspecified Platform: x86
OS/Version: Linux Status: RESOLVED Severity: major Priority: P2
Resolution: TEST-REQUEST Assigned To: wschlich@gentoo.org Reported By: trosmus@nwnexus.com
Component: Ebuilds
URL: 
Summary: sys-block/dellmgr-5.32 stopped working after upgrade to 2.6.25-gentoo-r7 (2008)
Keywords:  
Status Whiteboard: 
Opened: 2008-07-29 16:33 0000
Description:   Opened: 2008-07-29 16:33 0000
When starting dellmgr, the following error occurs...
  ERROR: failed to determine device node major number

The script is looking in /proc/devices for '[[:space:]]megadev$' which
no longer exists.   The name is now "megadev_legacy".

Changing the script to look for '[[:space:]]megadev_legacy$' causes the
script to complete and start the dellmgr.bin, but the following text
box pops up in the window.

           No Adapters Found
        Press any key to exit

This version of dellmgr worked before upgrading the kernel.

Reproducible: Always

Steps to Reproduce:
1. ensure system/kernel is the most recent
2. run /usr/sbin/dellmgr

------- Comment #1 From Wolfram Schlich 2008-07-30 06:11:17 0000 -------
(In reply to comment #0)
> When starting dellmgr, the following error occurs...
>   ERROR: failed to determine device node major number
> 
> The script is looking in /proc/devices for '[[:space:]]megadev$' which
> no longer exists.   The name is now "megadev_legacy".

With what kernel version did it work before?
Can you please post the old and new .config?

------- Comment #2 From trosmus@nwnexus.com 2008-07-30 16:07:40 0000 -------
Created an attachment (id=161734) [details]
linux-2.6.24-gentoo-r8 config file

------- Comment #3 From trosmus@nwnexus.com 2008-07-30 16:08:35 0000 -------
Created an attachment (id=161736) [details]
linux-2.6.25-gentoo-r7 config file

------- Comment #4 From trosmus@nwnexus.com 2008-07-30 16:09:43 0000 -------
(In reply to comment #1)

> With what kernel version did it work before?
> Can you please post the old and new .config?
> 

Worked correctly under the linux-2.6.24-gentoo-r8 kernel.
Config files added as attachments.

------- Comment #5 From Wolfram Schlich 2008-12-01 16:05:13 0000 -------
Can you please try dellmgr-5.32-r1 that I've just committed?

------- Comment #6 From trosmus@nwnexus.com 2008-12-01 17:17:36 0000 -------
(In reply to comment #5)
> Can you please try dellmgr-5.32-r1 that I've just committed?
> 

Screen comes up but error window shows "No adapter found".
Running under 2.6.25-gentoo-r8.  window snapshot attached.

------- Comment #7 From trosmus@nwnexus.com 2008-12-01 17:18:34 0000 -------
Created an attachment (id=173985) [details]
Dellmgr window shot

------- Comment #8 From Andrew Mao 2009-02-12 09:48:59 0000 -------
I upgraded from 2.6.23-r9 to 2.6.27-r8 and experienced this same problem.

------- Comment #9 From Andrew Mao 2009-02-12 09:56:12 0000 -------
Does this have anything to do with the "LSI MegaRaid Kernel Management Module",
which was added over those kernel versions? There is also the question of the
new MegaRaid driver which wasn't there before. Both dellmgr and megamgr have
broken.

------- Comment #10 From Mark H. Wood 2009-08-24 21:09:17 0000 -------
Dellmgr 5.31 seems to work without finding megadev in /proc/devices.  On kernel
2.6.30 udev created /dev/megadev0.  I had trouble with 'percsnmpd' though: 
same old dependency on /proc/devices.  I patched it to just look for and
symlink /dev/megadev0 instead of groping /proc/devices and creating a new
device node.