Skip to contentSkip to conversation

Can Xen deal with minors greater than 255?

DISCUSSION David Muench 3 participants 4 messages Feb 6, 2006 – Feb 7, 2006 2 messages not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw

Anybody?

Should I file a bug?

Thanks,
Dave

Quoted 43 lines · David Muench

Forgot to mention, I'm running Xen 2.0.7.

Dave

Quoted 27 lines · David Muench

I've been reworking my Xen setup again, and am having problems adding an AOE (ata over ethernet) device to a domU. If I assign the /dev/etherd/e1.0p1 directly to the domU, I get this error:

root@sol:/dom/luna# xm create luna.conf -c
Using config file "luna.conf".
Error: Adding extent to vbd failed: device (vbd (uname
phy:etherd/e1.0p1) (dev sda1) (mode w)), error 8
root@sol:/dom/luna#

Here is the disk line from my luna.conf:

disk = ['phy:etherd/e1.0p1,sda1,w', 'phy:etherd/e1.0p2,sdb1,w']

I noticed my e1.0 devices have a minor greater than 255:

brw-rw----  1 root disk 152,  256 Feb  3 08:04 e1.0
brw-rw----  1 root disk 152,  257 Feb  3 10:21 e1.0p1
brw-rw----  1 root disk 152,  258 Feb  3 10:21 e1.0p2

I made a test e0.0 device to test the theory:

brw-rw----  1 root disk 152,    0 Feb  3 11:30 e0.0
brw-rw----  1 root disk 152,    1 Feb  3 11:30 e0.0p1

And I can assign that without problems.

Quoted 9 lines

My AOE minors go well up into the thousands - is there a workaround?

Thanks,
Dave

--
David Muench - [email protected]
Jabber/Google Talk: [email protected]

Quoted 4 lines

--
David Muench - [email protected]
Jabber/Google Talk: [email protected]

--
David Muench - [email protected]
Jabber/Google Talk: [email protected]

#3 lore raw
Quoted 3 lines · David Muench

Anybody?

Should I file a bug?

Maybe check first if the problem still exists in xen 3.0.1

Henning

#4 lore raw
Quoted 8 lines · Henning Sprang
Quoted 3 lines · David Muench

Anybody?

Should I file a bug?

Maybe check first if the problem still exists in xen 3.0.1

Henning

Can't, I am dependent on PCI passthrough. I'm hoping 2.0 isn't abandoned yet..

Dave

--
David Muench - [email protected]
Jabber/Google Talk: [email protected]

#5 lore raw
Quoted 10 lines · David Muench
Quoted 8 lines
Quoted 3 lines · David Muench

Anybody?

Should I file a bug?

Maybe check first if the problem still exists in xen 3.0.1

Henning

Can't, I am dependent on PCI passthrough. I'm hoping 2.0 isn't abandoned yet..

2.0 is only receiving simple bug fixes. This one would be painful enough to fix that we're unlikely to bother, unless we are sent a patch. I think it would break the 2.0 I/O interfaces anyway, as the 8+8 major/minor split is baked into the control interfaces.

PCI passthrough will be in 3.0 series within a week or two.

-- Keir