* [parisc-linux] Recent CVS kernel: boot failure on 715/50 & inb() undefined
@ 2000-12-05 22:18 Daniel Engstrom
2000-12-05 22:31 ` Grant Grundler
2000-12-05 22:32 ` Matthew Wilcox
0 siblings, 2 replies; 5+ messages in thread
From: Daniel Engstrom @ 2000-12-05 22:18 UTC (permalink / raw)
To: parisc-linux; +Cc: 5116
Since about yesterday CVS kernels seems to stop booting after the
traps_init message.
Hardware: 715/50, serial console. I can remeber this happening before
but it was 'fixed' by disabling support for PCI chipsets.
Also: I had to tweak the kernel a bit so it would link, because inb()
and outb() was undefined (referenced in driverd/cher/mem.c and
drivers/char/serial.c).
I could see that the code in mem.c had some '#if !defined(__mc68000__)'
around them, perhaps there should be a CONFIG_PORT_IO #define to test for
which could be undefined on machines such as the 715 without a wax driver.
Or maybe inb() and outb() should always be defined?
/Daniel
--
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [parisc-linux] Recent CVS kernel: boot failure on 715/50 & inb() undefined
2000-12-05 22:18 [parisc-linux] Recent CVS kernel: boot failure on 715/50 & inb() undefined Daniel Engstrom
@ 2000-12-05 22:31 ` Grant Grundler
2000-12-05 22:32 ` Matthew Wilcox
1 sibling, 0 replies; 5+ messages in thread
From: Grant Grundler @ 2000-12-05 22:31 UTC (permalink / raw)
To: Daniel Engstrom; +Cc: parisc-linux, 5116
Daniel Engstrom wrote:
> Or maybe inb() and outb() should always be defined?
inb/outb need to be defined for the type of I/O bus being supported.
PArisc doesn't have inb/outb instructions like x86.
PCI bus support is platform specific - ie different depending on HBA.
GSC bus support requires faking "I/O port space".
EISA is similar to PCI in this regard.
But HP does have systems with GSC, EISA, and PCI in the same machine.
Right now, only PCI defines a dynamic interface to support all three
at the same time. This "design" definitely needs more work for GSC/EISA
bus support if you (or anyone else) is interested.
grant
Grant Grundler
Unix Systems Enablement Lab
+1.408.447.7253
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [parisc-linux] Recent CVS kernel: boot failure on 715/50 & inb() undefined
2000-12-05 22:18 [parisc-linux] Recent CVS kernel: boot failure on 715/50 & inb() undefined Daniel Engstrom
2000-12-05 22:31 ` Grant Grundler
@ 2000-12-05 22:32 ` Matthew Wilcox
2000-12-06 0:58 ` Alan Cox
2000-12-06 1:19 ` Alan Cox
1 sibling, 2 replies; 5+ messages in thread
From: Matthew Wilcox @ 2000-12-05 22:32 UTC (permalink / raw)
To: Daniel Engstrom; +Cc: parisc-linux, 5116
On Tue, Dec 05, 2000 at 11:18:24PM +0100, Daniel Engstrom wrote:
> Also: I had to tweak the kernel a bit so it would link, because inb()
> and outb() was undefined (referenced in driverd/cher/mem.c and
> drivers/char/serial.c).
OK, this is Alan Cox's fault :-) He insists that inb et al should not
have dummy defines, but the drivers should be fixed instead. please send
your .config.
> I could see that the code in mem.c had some '#if !defined(__mc68000__)'
> around them, perhaps there should be a CONFIG_PORT_IO #define to test for
> which could be undefined on machines such as the 715 without a wax driver.
possibly, it's difficult to say wihout knowing exactly what's going wrong.
--
Revolutions do not require corporate support.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [parisc-linux] Recent CVS kernel: boot failure on 715/50 & inb() undefined
2000-12-05 22:32 ` Matthew Wilcox
@ 2000-12-06 0:58 ` Alan Cox
2000-12-06 1:19 ` Alan Cox
1 sibling, 0 replies; 5+ messages in thread
From: Alan Cox @ 2000-12-06 0:58 UTC (permalink / raw)
To: Matthew Wilcox; +Cc: Daniel Engstrom, parisc-linux, 5116
> OK, this is Alan Cox's fault :-) He insists that inb et al should not
> have dummy defines, but the drivers should be fixed instead. please send
> your .config.
I am allowed to be wrong here. I would like to take a look at the specific
drivers if you can tell me which before you leave.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [parisc-linux] Recent CVS kernel: boot failure on 715/50 & inb() undefined
2000-12-05 22:32 ` Matthew Wilcox
2000-12-06 0:58 ` Alan Cox
@ 2000-12-06 1:19 ` Alan Cox
1 sibling, 0 replies; 5+ messages in thread
From: Alan Cox @ 2000-12-06 1:19 UTC (permalink / raw)
To: Matthew Wilcox; +Cc: Daniel Engstrom, parisc-linux, 5116
> OK, this is Alan Cox's fault :-) He insists that inb et al should not
> have dummy defines, but the drivers should be fixed instead. please send
> your .config.
Oh wait ignore my other comment. I realised the context this one was meant.
You want it to fail to build drivers for things you cannot have, not
mysteriously fail in some driver thats mostly mmio but has an inb/inw you
didnt notice..
>
>
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2000-12-06 1:33 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-12-05 22:18 [parisc-linux] Recent CVS kernel: boot failure on 715/50 & inb() undefined Daniel Engstrom
2000-12-05 22:31 ` Grant Grundler
2000-12-05 22:32 ` Matthew Wilcox
2000-12-06 0:58 ` Alan Cox
2000-12-06 1:19 ` Alan Cox
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox