Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: jestabro@amt.tay1.dec.com <jestabro@amt.tay1.dec.com>
Subject: Re: RedHat on Alpha Server 1000
Date: Sat, 03 Aug 1996 14:33:38 -0400	[thread overview]
Message-ID: <199608031833.OAA04097@linux00.amt.tay1.dec.com> (raw)
In-Reply-To: <199608031750.TAA02496@web.AEC.at>

>>> 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

  reply	other threads:[~1996-08-03 18:33 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [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 [this message]
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
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox