NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

kern/40427: Cannot configure RAIDframe device with pre-5.99.6 raidctl



>Number:         40427
>Category:       kern
>Synopsis:       Cannot configure RAIDframe device with pre-5.99.6 raidctl
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jan 18 09:45:00 +0000 2009
>Originator:     Takeshi Nakayama
>Release:        NetBSD 5.99.7 20090118
>Organization:
Private
>Environment:
System: NetBSD lethe 5.99.7 NetBSD 5.99.7 (LETHE) #7: Sat Jan 17 16:50:48 JST 
2009 takeshi@lethe:/sys/arch/i386/compile/LETHE i386
Architecture: i386
Machine: i386
>Description:
        Pre-5.99.6 raidctl binary cannot configure the RAIDframe device.

>How-To-Repeat:
        # raidctl -c /etc/raid0.conf raid0
        dk_lookup on device:  failed!
        RAIDFRAME: failed rf_ConfigureDisks with 2
        raidctl: ioctl (RAIDFRAME_CONFIGURE) failed: No such file or directory

>Fix:
        Provide compat ioctl, since struct RF_Config_s in raidframevar.h
        contains dev_t which has changed to 64-bit after christos-time_t merge.



Home | Main Index | Thread Index | Old Index