[prev in list] [next in list] [prev in thread] [next in thread] 

List:       colinux-devel
Subject:    Re: [coLinux-devel] alias for cdrom drive
From:       Dan Aloni <da-x () colinux ! org>
Date:       2004-07-17 14:27:48
Message-ID: 20040717142748.GA4214 () callisto ! yi ! org
[Download RAW message or body]

On Wed, Jul 14, 2004 at 02:25:23PM +0300, A. Alper Atici wrote:
> On Wed, Jul 14, 2004 at 06:40:40AM +0300, Dan Aloni wrote:
> > > 
> > > Here's the relevant daemon output:
> > > 
> > > alias for cobd3 is hdd1
> > > register_blkdev: cannot get major 22 for hdd
> > > unable to get major number 22 for cobd alias device hdd1
> > > ...
> > 
> > Interesting. Show your /proc/devices.
> > 
> 
> On the left, coLinux; on the right, FC2 itself:
> 
> Block devices:                      Block devices:
>   1 ramdisk                           1 ramdisk
>   3 hda                               3 ide0
>   7 loop                              9 md
>  22 hdc                              22 ide1
>  33 hde                              33 ide2
> 117 cobd                            253 device-mapper
>                                     254 mdp

That explains it. hdc and hdd are both trying to register as major 22,
therefore the logic for major number registeration in cobd's aliasing
code is obviously broken. I'll get it fixed for the next snapshot.

-- 
Dan Aloni
da-x@colinux.org


-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
coLinux-devel mailing list
coLinux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/colinux-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic