Hi,

thanks to Miod, the System is booting, and I was also able now to compile a 
kernel on it.

I added "option DEBUG" in GENERIC-IP27 but then compilation stopped here:
cc   -Werror -Wall -Wmissing-prototypes -Wstrict-prototypes  -Wno-
uninitialized -Wno-format -Wno-main  -Wstack-larger-than-2047 -Wvariable-decl 
-mno-abicalls  -msoft-float  -fno-builtin-printf -fno-builtin-log -fno-
builtin-log2  -fno-builtin-malloc -O2 -pipe -nostdinc -I. -I../../../.. -
I../../../../arch -DDDB -DDIAGNOSTIC -DKTRACE -DACCOUNTING -DKMEMSTATS -
DPTRACE -DPAGEFASTRECYCLE -DPOOL_DEBUG -DCRYPTO -DSYSVMSG -DSYSVSEM -DSYSVSHM 
-DUVM_SWAP_ENCRYPT -DCOMPAT_43 -DCOMPAT_O43 -DLKM -DFFS -DFFS2 -
DFFS_SOFTUPDATES -DUFS_DIRHASH -DQUOTA -DEXT2FS-DMFS -DNNPFS -DTCP_SACK -
DTCP_ECN -DTCP_SIGNATURE -DNFSCLIENT -DNFSSERVER -DCD9660 -DUDF -DMSDOSFS -
DFIFO -DINET -DALTQ -DINET6 -DIPSEC -DPPP_BSDCOMP -DPPP_DEFLATE -DMROUTING -
DBOOT_CONFIG -DDEBUG -DARCBIOS -DPCIVERBOSE -DUSER_PCICONF -DUSBVERBOSE -
DTGT_ORIGIN -DTGT_COHERENT -DCPU_R10000 -DONEWIREVERBOSE -D_KERNEL -D__sgi__  
-c ../../../../arch/mips64/mips64/cpu.c
../../../../arch/mips64/mips64/cpu.c: In function `cpuattach':
../../../../arch/mips64/mips64/cpu.c:289: error: structure has no member named 
`ci_l1instset'
../../../../arch/mips64/mips64/cpu.c:289: error: structure has no member named 
`ci_l1dataset'
*** Error code 1

Stop in /usr/src/sys/arch/sgi/compile/GENERIC-IP27 (line 92 of 
/usr/share/mk/sys.mk).

Appended patch fixes the compilation error. I hope that are the right things 
that should be printed out there.

However, when I then run the kernel, it was looping through the while loop in 
void softclock(void *args) in kern/kern_timeout.c. After 15 minutes of the 
"timeout delayed" messages I powered of the machine as it seemed to hang there 
forever.

Sebastian

[demime 1.01d removed an attachment of type text/x-patch which had a name of 
cpu.c-diff]

Reply via email to