NetBSD-Users archive

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

Re: pciback.hide problems with Xen3.3 on 5.1/amd64



On 09.01.2011 20:05, A. Priebe wrote:
>>> The line in grub's menu.lst reads:
>>>
>>> module (hd0,a)/netbsd-XEN3_DOM0.gz bootdev=wd0a ro console=tty0
>> pciback.hide=(11:01.0)
>>>
>>> (as I understand it, 017 is decimal and grub needs it in hex?)
>>
>> Nope: parameters are passed "as-is" to the module, Grub/boot/whatever do
>> not reinterpret them.
> 
> OK, so its a bit confusing.
> The complete output of
> 
> pcictl pci1 list
> 
> is
> 
> 017:01:0: 3Com 3c905B-TX 10/100 Ethernet (ethernet network, revision 0x24)
> 
> So what do I put into menu.lst?

Nah, you were correct, I thought the other way around. pcictl(8) prints
PCI IDs with unsigned int (%u), but pciback.hide expects hexadecimal
input (this conversion is made by the kernel).

So => pciback.hide=(11:01.0)

> I tried pciback.hide=(017:01:0) or pciback.hide=(17:01:0) or pciback.hide=
> (017:01.0). All with no success!
> 
> Only with pciback.hide=(011:01.0) I get some file
> /kern/xen/pci/0000:11:01.0 with the right contents:
> 
>>> holmes# cat /kern/xen/pci/0000:11:01.0
> [...]
> 
> In the other cases (with pciback.hide containing 17) I get
> no such file!
> So I think my original pciback.hide=(11:01.0) was correct
> (BTW 011:01.0 gives the same result).

Yep

> 
>> - try with 17:01:0
> 
> see above
> 
>> - give the pci list
> 
> see above for pci1 and the attachment for pci0
> 
>> - xm dmesg
> 
> This is attached!

So... everything looks ok. Could you copy/paste the content of the
xend.log file (under /var/log/xen/)?

xenstore-ls would help too.

-- 
Jean-Yves Migeon
jeanyves.migeon%free.fr@localhost


Home | Main Index | Thread Index | Old Index