All of lore.kernel.org
 help / color / mirror / Atom feed
* Problems with latest unstable 1.3
@ 2004-03-29  0:18 Barry Silverman
  2004-03-29  7:49 ` Keir Fraser
  0 siblings, 1 reply; 7+ messages in thread
From: Barry Silverman @ 2004-03-29  0:18 UTC (permalink / raw)
  To: xen-devel

I have been trying out the latest unstable with the new i/o and have found
the following issue. I created a xen.gz with nodev=y set, and tried it out
with all my devices in xenolinux.

The "machine" I am running on is "qemu", and it doesn't have emulation for
PCI. Therefore xenolinux is doing its ideprobes independent of the pci ide
code.
It is calling the routine "probe_irq_on" in irq.c, and it is failing with
the following messages:

ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx
Kernel panic: Failed to obtain physical IRQ 127

"Probe_irq_on" is used to enable ALL unallocated irqs, the caller code will
then twig the device you are probing (in my case it is the ide drives for
ide0 disk, and ide0 cdrom) - and then will record the irq that actually got
the interrupt thus figuring out which irq belongs to which device.

The reasons it is failing seem to be the following:
1) The probe enables 127 physical IRQs (NR_PIRQS), but xen fails to bind any
pirq > 63. This is because sched.h only defines pirq_to_evtchn with a size
of 64
2) When I tried making that constant from 64->128, it still failed on IRQ 12
(which I think was already allocated to another device).

I was able to get much much further by setting "ide0=0x1f0,0x3f6,14
ide1=noprobe ide2=noprobe ide3=noprobe" on the command line. It still failed
much later on with an MMU update failure. I am currently tracking that one
down further before reporting it.


Barry Silverman



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2004-03-31  6:53 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-29  0:18 Problems with latest unstable 1.3 Barry Silverman
2004-03-29  7:49 ` Keir Fraser
2004-03-29 14:48   ` Keir Fraser
2004-03-31  0:46     ` Barry Silverman
2004-03-30 17:05       ` Rolf Neugebauer
2004-03-31  3:15         ` Barry Silverman
2004-03-31  6:53           ` Keir Fraser

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.