Subject: Re: Strange instability with -current on port-amd64
To: None <,>
From: Brian Buhrow <>
List: current-users
Date: 09/05/2007 17:01:39
	Hello.  I can think of two possible solutions, depending on how you
use your machine.

1.  If you don't use your lpt port, simply disable it n the BIOS.

2.  If you do use your lpt port, set it to be lpt2 or lpt3 in the bios.
I'm pretty sure you can also tell the bios to not assign an interrupt to the
parallel port, and put it at an address where NetBSD will run it as a
polled port.

On Sep 5,  4:16pm, Paul Goyette wrote:
} Subject: Re: Strange instability with -current on port-amd64
} Regarding the problem of dropping in gdb at Xintr_legacy7+0x2a whenever 
} I boot an acpi-enabled kernel...
} Brett Lymm suggested an interrupt problem, and supposed that it could be 
} the ehci0.  I had used the BIOS to reserve irq7, with no help.  I also 
} tried Brett's patch to clear any pending interrupts as soon as the ehci0 
} was grabbed from the BIOS, again no help.
} But it got me thinking that maybe it still is an irq problem.  So now 
} that I can boot (after disabling acpi), I looked for conflicts and found 
} this:
}  	quicky:paul {166} dmesg | grep -e irq -e share
}  	ohci0: interrupting at irq 7
}  	ehci0: interrupting at irq 11
}  	viaide0: primary channel interrupting at irq 14
}  	viaide1: using irq 5 for native-PCI interrupt
}  	viaide2: using irq 5 for native-PCI interrupt
}  	viaide3: using irq 5 for native-PCI interrupt
}  	fwohci0: interrupting at irq 5
}  	azalia0: interrupting at irq 5
}  	nfe0: interrupting at irq 10
}  	nfe1: interrupting at irq 11
}  	lpt0 at isa0 port 0x378-0x37b irq 7
}  	intr_establish: pic pic0 pin 7: can't share type 3 with 2
}  	com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
}  	pckbc0: using irq 1 for kbd slot
} Any suggestion on how to resolve the conflict for irq 7?  What to look 
} for in BIOS settings?  Or is there some way in the kernel config file to 
} "steer" the ohci0 away from irq 7?
} ----------------------------------------------------------------------
} |   Paul Goyette   | PGP DSS Key fingerprint: |  E-mail addresses:   |
} | Customer Service | FA29 0E3B 35AF E8AE 6651 |   |
} | Network Engineer | 0786 F758 55DE 53BA 7731 | |
} ----------------------------------------------------------------------
>-- End of excerpt from Paul Goyette