All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jeremy Fitzhardinge <jeremy@goop.org>
To: "Pasi Kärkkäinen" <pasik@iki.fi>
Cc: Todd Deshane <deshantm@gmail.com>,
	Andrew Lyon <andrew.lyon@gmail.com>,
	Aviv Grafi <aviv@neocleus.com>,
	Xen-devel <xen-devel@lists.xensource.com>
Subject: Re: pv_ops dom0 USB fixed
Date: Thu, 11 Dec 2008 09:46:19 -0800	[thread overview]
Message-ID: <494151EB.3000607@goop.org> (raw)
In-Reply-To: <20081211174416.GJ15052@edu.joroinen.fi>

Pasi Kärkkäinen wrote:
> On Thu, Dec 11, 2008 at 05:10:24PM +0000, Andrew Lyon wrote:
>   
>> On Wed, Dec 10, 2008 at 9:03 PM, Andrew Lyon <andrew.lyon@gmail.com> wrote:
>>     
>>> On Wed, Dec 10, 2008 at 8:48 PM, Jeremy Fitzhardinge <jeremy@goop.org> wrote:
>>>       
>>>> Pasi Kärkkäinen wrote:
>>>>         
>>>>> On Wed, Dec 10, 2008 at 12:05:32PM -0800, Jeremy Fitzhardinge wrote:
>>>>>
>>>>>           
>>>>>> Ian Campbell noticed a missing TLB flush which was causing the USB
>>>>>> crashes/failures when booting the pvops dom0 kernel.  With that fixed,
>>>>>> enabling USB boots reliably and seems to work.
>>>>>>
>>>>>>
>>>>>>             
>>>>> Nice!
>>>>>
>>>>>
>>>>>           
>>>>>> Its quite possible this will also improve matters with ATA/SATA
>>>>>> controllers, though I haven't tested it so far.
>>>>>>
>>>>>> Anyway, its a significant fix and its worth trying the current pvops
>>>>>> patch queue again.  Please tell me what you find.
>>>>>>
>>>>>>
>>>>>>             
>>> Excellent news, I've tried the pv_ops dom0 kernel several times
>>> recently and had failure with usb and sata drivers, so fingers crossed
>>> it will work now.
>>>
>>> I will test tomorrow and report my results ;-)
>>>
>>> Andy
>>>
>>>       
>>>>> Hmm.. against what kernel/tree are these patches?
>>>>>
>>>>>           
>>>> See the wiki ;)
>>>>
>>>>
>>>> Pull the kernel.org/hg/linux-2.6 tree, "hg update $(cat KERNEL_VERSION)",
>>>> then "hg qpush -a"
>>>>
>>>>   J
>>>>
>>>> _______________________________________________
>>>> Xen-devel mailing list
>>>> Xen-devel@lists.xensource.com
>>>> http://lists.xensource.com/xen-devel
>>>>
>>>>         
>> I downloaded the source a few mins ago and tried pv_ops dom0 on my
>> test system a dell optiplex 755, it doesnt get very far at all into
>> the boot process:
>>
>> (XEN) *** LOADING DOMAIN 0 ***
>> (XEN)  Xen  kernel: 64-bit, lsb, compat32
>> (XEN)  Dom0 kernel: 64-bit, PAE, lsb, paddr 0x200000 -> 0x8a0418
>> (XEN) PHYSICAL MEMORY ARRANGEMENT:
>> (XEN)  Dom0 alloc.:   0000000120000000->0000000122000000 (951655 pages
>> to be allocated)
>> (XEN) VIRTUAL MEMORY ARRANGEMENT:
>> (XEN)  Loaded kernel: ffffffff80200000->ffffffff808a0418
>> (XEN)  Init. ramdisk: ffffffff808a1000->ffffffff808a1000
>> (XEN)  Phys-Mach map: ffffffff808a1000->ffffffff80ff3b38
>> (XEN)  Start info:    ffffffff80ff4000->ffffffff80ff44a4
>> (XEN)  Page tables:   ffffffff80ff5000->ffffffff81002000
>> (XEN)  Boot stack:    ffffffff81002000->ffffffff81003000
>> (XEN)  TOTAL:         ffffffff80000000->ffffffff81400000
>> (XEN)  ENTRY ADDRESS: ffffffff80765200
>> (XEN) Dom0 has maximum 2 VCPUs
>> (XEN) Scrubbing Free RAM: .done.
>> (XEN) Xen trace buffers: disabled
>> (XEN) Std. Loglevel: Errors and warnings
>> (XEN) Guest Loglevel: Nothing (Rate-limited: Errors and warnings)
>> (XEN) Xen is relinquishing VGA console.
>> (XEN) *** Serial input -> DOM0 (type 'CTRL-a' three times to switch
>> input to Xen)
>> (XEN) Freed 108kB init memory.
>> mapping kernel into physical memory
>> Xen: setup ISA identity maps
>> about to get started...
>> (XEN) ioapic_guest_write: apic=0, pin=2, old_irq=0, new_irq=-1
>> (XEN) ioapic_guest_write: old_entry=000009f0, new_entry=00010900
>> (XEN) ioapic_guest_write: Attempt to remove IO-APIC pin of in-use IRQ!
>> (XEN) ioapic_guest_write: apic=0, pin=4, old_irq=4, new_irq=-1
>> (XEN) ioapic_guest_write: old_entry=000009f1, new_entry=00010900
>> (XEN) ioapic_guest_write: Attempt to remove IO-APIC pin of in-use IRQ!
>> (XEN) ioapic_guest_write: apic=0, pin=4, old_irq=4, new_irq=4
>> (XEN) ioapic_guest_write: old_entry=000009f1, new_entry=000189f1
>> (XEN) ioapic_guest_write: Attempt to modify IO-APIC pin for in-use IRQ!
>>
>> And then hangs.
>>
>> I tried adding pci=nomsi to the kernel arguments, didnt seem to make
>> much difference.
>>
>>     
>
> Did you try specifying both pci=nomsi and nosmp ? 
>   

No, I think "nosmp" is a problem.  Let it be SMP if it wants.

However, you should also have "console=hvc0 earlyprink=xen" to see the 
console output (and perhaps it only works on a serial console for some 
reason).

    J

  reply	other threads:[~2008-12-11 17:46 UTC|newest]

Thread overview: 92+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-10 20:05 pv_ops dom0 USB fixed Jeremy Fitzhardinge
2008-12-10 20:39 ` Pasi Kärkkäinen
2008-12-10 20:48   ` Jeremy Fitzhardinge
2008-12-10 20:57     ` Pasi Kärkkäinen
2008-12-10 21:03     ` Andrew Lyon
2008-12-11 17:10       ` Andrew Lyon
2008-12-11 17:44         ` Pasi Kärkkäinen
2008-12-11 17:46           ` Jeremy Fitzhardinge [this message]
2008-12-10 22:48 ` Todd Deshane
2008-12-11  8:04   ` Jeremy Fitzhardinge
2008-12-11 16:50     ` Todd Deshane
2008-12-11 17:18       ` Todd Deshane
2008-12-11 18:20         ` Jeremy Fitzhardinge
2008-12-11 19:27           ` Todd Deshane
2008-12-11 18:21         ` Jeremy Fitzhardinge
2008-12-11 18:17       ` Jeremy Fitzhardinge
2008-12-11 19:47         ` Todd Deshane
2008-12-11 19:49           ` Todd Deshane
2008-12-11 20:03           ` Ian Campbell
2008-12-11 20:20             ` Todd Deshane
2008-12-11 20:25               ` Jeremy Fitzhardinge
2008-12-11 21:12                 ` Todd Deshane
2008-12-11 21:19                   ` Ian Campbell
2008-12-11 21:23                     ` Todd Deshane
2008-12-11 21:39                       ` Todd Deshane
2008-12-11 22:38                         ` Jeremy Fitzhardinge
2008-12-13 18:20                           ` Todd Deshane
2008-12-13 20:05                             ` Todd Deshane
2008-12-11 21:24                     ` Pasi Kärkkäinen
2008-12-11 22:21                       ` Jeremy Fitzhardinge
2008-12-11 22:24                   ` Jeremy Fitzhardinge
2008-12-11 22:27                     ` Todd Deshane
2008-12-12  9:12                       ` Andrew Lyon
2008-12-12 10:57                         ` Pasi Kärkkäinen
2008-12-12 11:11                           ` Andrew Lyon
2008-12-12 17:06                             ` Jeremy Fitzhardinge
2008-12-12 11:15                         ` Ian Campbell
2008-12-12 11:36                           ` Andrew Lyon
2008-12-12 11:45                             ` Marc - A. Dahlhaus [ Administration | Westermann GmbH ]
2008-12-12 11:47                             ` Ian Campbell
2008-12-12 14:26                               ` Andrew Lyon
2008-12-12 16:43                                 ` Jeremy Fitzhardinge
2008-12-12 17:14                                   ` Andrew Lyon
2008-12-12 17:20                                     ` Jeremy Fitzhardinge
2008-12-12 19:09                                       ` Andrew Lyon
2008-12-12 19:15                                         ` Aviv Grafi
2008-12-12 19:18                                           ` Jeremy Fitzhardinge
2008-12-12 19:26                                           ` Andrew Lyon
2008-12-13  0:28                                             ` Aviv Grafi
2008-12-12 21:00                         ` Jeremy Fitzhardinge
2008-12-12 22:20                           ` Andrew Lyon
2008-12-12 22:34                             ` Jeremy Fitzhardinge
2008-12-13 13:56                               ` Andrew Lyon
2008-12-13 19:02                                 ` Todd Deshane
2008-12-13 19:26                                   ` Andrew Lyon
2008-12-14  1:53                                     ` Todd Deshane
2008-12-15  9:49                                       ` Ian Campbell
2008-12-15 18:15                                         ` Todd Deshane
2008-12-15 20:20                                           ` Jeremy Fitzhardinge
2008-12-16  5:04                                             ` Todd Deshane
2008-12-16  9:34                                               ` Jeremy Fitzhardinge
2008-12-17 17:06                                             ` Gerd Hoffmann
2008-12-17 19:33                                               ` Jeremy Fitzhardinge
2008-12-18  9:09                                                 ` Gerd Hoffmann
2008-12-18 19:45                                                   ` Jeremy Fitzhardinge
2008-12-18 20:29                                                   ` Jeremy Fitzhardinge
2008-12-19 12:20                                                     ` Gerd Hoffmann
2008-12-19 17:39                                                       ` Jeremy Fitzhardinge
2009-01-06 16:28                                                         ` Gerd Hoffmann
2008-12-18  9:25                                     ` Andrew Lyon
2008-12-18 12:44                                       ` Andrew Lyon
2008-12-18 18:25                                         ` Jeremy Fitzhardinge
2008-12-18 19:49                                           ` Pasi Kärkkäinen
2008-12-18 20:03                                             ` Pasi Kärkkäinen
2008-12-18 20:05                                           ` Andrew Lyon
2008-12-17 14:10                 ` Gerd Hoffmann
2008-12-17 14:18                   ` Keir Fraser
2008-12-17 14:40                     ` Gerd Hoffmann
2008-12-17 19:26                       ` Jeremy Fitzhardinge
2008-12-17 20:07                         ` Keir Fraser
2008-12-17 20:50                           ` Jeremy Fitzhardinge
2008-12-17 20:57                         ` Ian Campbell
2008-12-17 21:27                           ` Jeremy Fitzhardinge
2008-12-17 21:33                             ` Ian Campbell
2008-12-18  9:58                         ` Gerd Hoffmann
2008-12-11 20:03           ` Todd Deshane
2008-12-11 20:26             ` Jeremy Fitzhardinge
2008-12-11 20:29               ` Todd Deshane
2008-12-11 20:52                 ` Jeremy Fitzhardinge
2008-12-11 21:13                   ` Todd Deshane
2008-12-11 21:16                   ` Todd Deshane
2008-12-11 20:24           ` Jeremy Fitzhardinge

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=494151EB.3000607@goop.org \
    --to=jeremy@goop.org \
    --cc=andrew.lyon@gmail.com \
    --cc=aviv@neocleus.com \
    --cc=deshantm@gmail.com \
    --cc=pasik@iki.fi \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.