[BusyBox 0002484]: Incorrect device path with mdev

bugs at busybox.net bugs at busybox.net
Sat Mar 15 13:55:39 UTC 2008


A NOTE has been added to this issue. 
====================================================================== 
http://busybox.net/bugs/view.php?id=2484 
====================================================================== 
Reported By:                hawq
Assigned To:                BusyBox
====================================================================== 
Project:                    BusyBox
Issue ID:                   2484
Category:                   Other
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     feedback
====================================================================== 
Date Submitted:             03-08-2008 01:23 PST
Last Modified:              03-15-2008 06:55 PDT
====================================================================== 
Summary:                    Incorrect device path with mdev
Description: 
I'm using busybox for my Linux installer. I've encountered small problem
today. On machine with DAC960 raid controller path to device created by
mdev is incorrect. It should be /dev/rd/c0d0 and mdev created
/dev/rd!c0d0. Device work ok, but such path is in my case problematic as
I've to hack it with in freshly installed system to replace all '!' with
'/'. Is it possible to have mdev creating proper paths? I think same
problem may occur with otherraid controllers like cciss or cpqarray.

Any chances for patch with fix? Or at least some hints where to look in
sources to fix :)

I'm currently using busybox 1.8.2.
====================================================================== 

---------------------------------------------------------------------- 
 vapier - 03-08-08 05:35  
---------------------------------------------------------------------- 
post the output of `tree /sys` 

---------------------------------------------------------------------- 
 hawq - 03-08-08 07:30  
---------------------------------------------------------------------- 
Posted. 

---------------------------------------------------------------------- 
 hawq - 03-15-08 06:55  
---------------------------------------------------------------------- 
According to kernel doc cciss and cpqarray will suffer from same problem.
/sys entries examples are:

For DAC960 controllers:
rd!c0d0
rd!c0d0p1

For Compaq Intelligent Drive Array (cpqarray):
ida!c0d0
ida!c0d0p1

For Compaq Next Generation Drive Array (cciss):
cciss!c0d0
cciss!c0d0p1

and so on.

Wouldn't simple string replace (all ! with /) be enough if contents of
DEVPATH matches above patterns? 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
03-08-08 01:23  hawq           New Issue                                    
03-08-08 01:23  hawq           Status                   new => assigned     
03-08-08 01:23  hawq           Assigned To               => BusyBox         
03-08-08 05:35  vapier         Note Added: 0005604                          
03-08-08 05:35  vapier         Status                   assigned => feedback
03-08-08 07:28  hawq           File Added: tree_sys.txt                     
03-08-08 07:30  hawq           Note Added: 0005624                          
03-15-08 06:55  hawq           Note Added: 0005784                          
======================================================================




More information about the busybox-cvs mailing list