Re: ggaoed & linux kernel client with minor/slot >= 16

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

 



Hi Sam,

there seems to be a bug in the linux kernel aoe driver version 47q.
This version has problems with the calculation of major and minor numbers.

We export a device with major number 2 and minor number 16 (dec) via ggaoed (shelf=2; slot=16).
But the aoe driver tries to read e3.0 instead of e2.16. This is validated by using minor = 17. Then aoe tries to read e3.1 instead of e2.17.

In the specs there are 8 bits used for the minor number so 255 as the max minor number should be allowed.

Best regards
Lars



Mon, 8 Apr 2013 17:52:59 +0200
From: Lars Täuber <taeuber@xxxxxxx>
To: aoetools-discuss@xxxxxxxxxxxxxxxxxxxxx :
> Hi there,
> 
> I experience a problem with ggaoed latest version and a linux kernel client.
> The kernel is a version 3.2.0 from 12.04 ubuntu server amd64.
> I can't connect a slot with number 16.
> 
> Here is the part of my ggaoed.conf:
> 
> [Name]
> path    = /dev/DRBD/KVMname
> shelf   = 2
> slot    = 16
> accept  = client03,client04
> 
> 
> An aoe-discover followed by an aoe-stat on the client side only shows disks with minor (slot) up to 15.
> 
> Via wireshark I see the »Config Information Responses« for major 0x0002 and minor 0x10.
> 
> Has someone a hint for me?
> 
> Thanks
> Lars
> 
> ------------------------------------------------------------------------------
> Minimize network downtime and maximize team effectiveness.
> Reduce network management and security costs.Learn how to hire 
> the most talented Cisco Certified professionals. Visit the 
> Employer Resources Portal
> http://www.cisco.com/web/learning/employer_resources/index.html
> _______________________________________________
> Aoetools-discuss mailing list
> Aoetools-discuss@xxxxxxxxxxxxxxxxxxxxx
> https://lists.sourceforge.net/lists/listinfo/aoetools-discuss


-- 
                            Informationstechnologie
Berlin-Brandenburgische Akademie der Wissenschaften
Jägerstrasse 22-23                     10117 Berlin
Tel.: +49 30 20370-352           http://www.bbaw.de

------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
Aoetools-discuss mailing list
Aoetools-discuss@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/aoetools-discuss





[Index of Archives]     [Linux ARM Kernel]     [Linux SCSI]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux