* Re: RedHat on Alpha Server 1000
@ 1996-08-01 10:32 David A Rusling
0 siblings, 0 replies; 4+ messages in thread
From: David A Rusling @ 1996-08-01 10:32 UTC (permalink / raw)
Tom,
hmm, at the point where it hangs, Milo is running the floppy
driver init code. This code basically resets the floppy device and then
sits in a timer loop every so often looking at the floppy to see if the
reset worked. If the reset fails, it should time out. There are no
interrupts expected from the floppy during this. There was a bug which
I fixed in 2.0.8 that meant that the floppy was not initialised - this
didn't hang but merely failed to find a floppy. So, that's not your
problem.
The memory size thing is sort of OK. MILO cannot work out
the memory size and so uses 32 as the default. MILO has it's
own memory allocation code (primitive but effective). It allocates
from the bottom of memory upwards. Milo can boot in 8Mbytes even
with BIOS emulation for X (which allocates a lot of tiny pieces of
memory). So, it's not memory size related. Leaving it at 32Mbytes
would only be wasteful and not disasterous.
Hanging on floppy init implies one of two things. Either the
the machine has gone belly up or it really is hung. In the belly up
case, it would reset back through Milo and you'd see Milo start up
again. You can verify that this is _not_ happening by putting a 9600
baud 8bit, 1 stop bit, no flow control link onto COM1. If Milo has
hung it sort of implies that timers are not ticking. What I would
do in your situation is to edit devices.c and turn on the debugging
information (there's a #if 0 around the appropriate #define near
the top of the file). One final though, maybe it is PALcode related
if you are not seeing timers tick...
Dave
--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: RedHat on Alpha Server 1000
[not found] <199608011730.NAA03452@linux03.amt.tay1.dec.com>
@ 1996-08-03 17:50 ` Thomas Weber
1996-08-03 18:33 ` jestabro
0 siblings, 1 reply; 4+ messages in thread
From: Thomas Weber @ 1996-08-03 17:50 UTC (permalink / raw)
Ok, after playing a few days with several milos, kernels and kernel options,
and lots of support from Jay and David this is the status:
The problem with milo "hanging" when initializing the devices was because
i had srm-support enabled in the kernel tree i was using to build milo with.
So if you're compiling milo make sure there's no srm-support in the kernel
source tree you're using!
Disableing srm-support also let me build milo almost out of the box. Only
had to change these function definitions in devices.c:
-int block_read(struct inode * inode, struct file * filp, char * buf, int count)
+long block_read(struct inode * inode, struct file * filp, char * buf, unsigned long count)
-int block_write(struct inode * inode, struct file *file, const char *buffer, int a)
+long block_write(struct inode * inode, struct file *file, const char *buffer, unsigned long a)
No more problems with undefined symbols.
Ok, now for a new problem :)
I set the system clock to GMT. After booting via arc->milo i get a totally
wrong system time like
x@force:[0] $ date
Thu Jan 1 01:03:47 MET 1970
booting via srm->milo gives me the correct date.
any ideas?
Tom
--
It's only cheating, if you get caught
--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: RedHat on Alpha Server 1000
1996-08-03 17:50 ` RedHat on Alpha Server 1000 Thomas Weber
@ 1996-08-03 18:33 ` jestabro
0 siblings, 0 replies; 4+ messages in thread
From: jestabro @ 1996-08-03 18:33 UTC (permalink / raw)
>>> Thomas Weber said:
> Disableing srm-support also let me build milo almost out of the box. Only
> had to change these function definitions in devices.c:
>
> -int block_read(struct inode * inode, struct file * filp, char * buf, int c
> ount)
> +long block_read(struct inode * inode, struct file * filp, char * buf, unsi
> gned long count)
>
> -int block_write(struct inode * inode, struct file *file, const char *buffe
> r, int a)
> +long block_write(struct inode * inode, struct file *file, const char *buff
> er, unsigned long a)
>
> No more problems with undefined symbols.
These changes were needed because you dropped David M-T's patches on top of
the straight source tree; those patches add large file support, and MILO's
routines reflect the original kernel read/write arguments, not the large ones.
> Ok, now for a new problem :)
> I set the system clock to GMT. After booting via arc->milo i get a totally
> wrong system time like
> x@force:[0] $ date
> Thu Jan 1 01:03:47 MET 1970
>
> booting via srm->milo gives me the correct date.
ARC console maintains the clock format differently from SRM, so you have to
change:
/etc/sysconfig/clock
to be:
CLOCKMODE="ARC"
instead of the "LOCAL" it prolly is now. Thus, when "clock" gets called during
processing of /etc/rc.d/rc.sysinit, it'll get the "-A" flag which indicates
that the hardware clock is being kept in "ARC" mode...
--Jay++
-------------------------------------------------------------------------------
American Non Sequitur Society: we don't make sense, but we do like pizza...
Jay A Estabrook Alpha Migration Tools - LINUX Project
Digital Equipment Corp. (508) 952-4202 or (DTN) 227-4202
151 Taylor Street - TAY1-2 enet: jestabro@amt.tay1.dec.com
Littleton, MA 01460-1407 decnet: tallis::jestabro
-------------------------------------------------------------------------------
--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: RedHat on Alpha Server 1000
@ 1996-08-05 9:46 David A Rusling
0 siblings, 0 replies; 4+ messages in thread
From: David A Rusling @ 1996-08-05 9:46 UTC (permalink / raw)
The changes for block_write/block_read are already in the latest Milo sources.
Certainly my milo-2.0.8+mikasa tree builds 2.0.8-2.0.10 of the kernel (and
works)...
Dave
--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~1996-08-05 9:46 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <199608011730.NAA03452@linux03.amt.tay1.dec.com>
1996-08-03 17:50 ` RedHat on Alpha Server 1000 Thomas Weber
1996-08-03 18:33 ` jestabro
1996-08-05 9:46 David A Rusling
-- strict thread matches above, loose matches on Subject: below --
1996-08-01 10:32 David A Rusling
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox