BusyBox Bug and Patch Tracking
BusyBox
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0002484 [BusyBox] Other minor always 03-08-08 01:23 03-20-08 23:50
Reporter hawq View Status public  
Assigned To BusyBox
Priority normal Resolution no change required  
Status closed   Product Version
Summary 0002484: Incorrect device path with mdev when name contains '!'
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.
Additional Information
Attached Files  tree_sys.txt [^] (60,213 bytes) 03-08-08 07:28

- Relationships

- Notes
(0005604)
vapier
03-08-08 05:35

post the output of `tree /sys`
 
(0005624)
hawq
03-08-08 07:30

Posted.
 
(0005784)
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?
 
(0005804)
vapier
03-20-08 23:50

just add an mdev.conf rule for it ... maybe something like:
rd!.* 0:0 660 >rd/
 

- 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
03-20-08 23:50 vapier Note Added: 0005804
03-20-08 23:50 vapier Status feedback => closed
03-20-08 23:50 vapier Resolution open => no change required
03-20-08 23:50 vapier Summary Incorrect device path with mdev => Incorrect device path with mdev when name contains '!'


Copyright © 2000 - 2006 Mantis Group
Powered by Mantis Bugtracker