[Coco] Building lwtools and HG NitrOS-9 or NOT was ack

Bill Pierce ooogalapasooo at aol.com
Wed Jun 5 21:28:48 EDT 2013


Gene,
There is a "wwwroot" folder in the "level1" folder in which there's a makefile. That may give you a clue to what's happening. I haven't really traced it all down yet. I was busy with the whole "reboot" thing. I thought is was a memory problem which if it's recurssion then it is running out of memory for sure because of that.
It happens at the same spot each time. Right after setting the attributes of the cmds in level 1. It doesn't do it on all systems (D64, Alpha etc), mainly in Coco Level 1. Then when those cmds are accessed again, it fails. There are other places it occurs as well. I think it's the same... after setting attributes on level 2 6809 & 6309 cmds though I'm not sure. I have a text log of the whole dsk build with the errors listed. I don't know how to pull up the stats in "winderz" like you can in Linux. There is probably a way as cygwin is just a "linux" emulator of sorts providing a similar cmd enviroment.

I think my "error 216"s are coming from when it aborts from the "error 218"s as the count of errors is exactly the same.


(..)
Hundreds of those in fact, but I haven't detected what this wwwroot is yet.

Clue?

(..)



Bill Pierce
My Music from the Tandy/Radio Shack Color Computer 2 & 3
https://sites.google.com/site/dabarnstudio/
Co-Webmaster of The TRS-80 Color Computer Archive
http://www.colorcomputerarchive.com/
Co-Contributor, Co-Editor for CocoPedia
http://www.cocopedia.com/wiki/index.php/Main_Page
E-Mail: ooogalapasooo at aol.com




-----Original Message-----
From: Gene Heskett <gheskett at wdtv.com>
To: coco <coco at maltedmedia.com>
Sent: Wed, Jun 5, 2013 8:57 pm
Subject: Re: [Coco] Building lwtools and HG NitrOS-9 or NOT was ack


On Wednesday 05 June 2013 20:44:24 Bill Pierce did opine:

[...]
>  In Level 1 Boisy added "fdebug.asm" to "krnp2.asm" but never put the
> "fdebug.asm" source into "level1/modules/kernel" and krnp2.asm looks
> for it there. It's in "level2/modules/kernel" but needs to be in the
> first for krnp2 to assemble in level 1.

Moved/copied it, works.  Whether it actually works in level1,  I don't 
know.  While I do have level 1 machines, they aren't set up to test with 
ATM.

> Also, he included "reboot" into
> the makefile for level 1 cmds, but never moved the source over as well.
> You can move the source over, but "reboot" has a build error in that I
> think it uses a level 2 system call and errors out since the syscall
> isn't in the level 1 defs, stopping and causing the rest of the cmds to
> not build therefore causing errors anywhere these cmds are referenced
> which is in every system build. The easy way out is to delete "reboot"
> from the cmds list in the makefile in "level1/cmds" and all cmds build
> again. According to Boisy's note in "krnp2.asm", he added "fdebug.asm"
> system call to allow rebooting, but to me level 1 boot is already too
> big and that just makes it bigger. This boot needs to be trimmed down
> in size before a C compiler will run properly from within NitrOS-9
> Level 1 (I've tried, no go). Maybe a conditional could be added to
> avoid it in Level1.
>
The reboot I looked at is a level2 only command ANAICT.  So I moved it to 
the end of the list in te makefile where the failure at least lets the rest 
of it build.

> The problem I am having now is cygwin runs out of resources while making
> the disks. It seems to do this while setting attributes on huge file
> lists. Then when copy (CP) is called I get "Error 218" (no permission)

Not no permission, but file exists because that copy has already been done.

I am getting recursion at some point in the build, but haven't located the 
src of that yet.  Example:
os9 copy 
"wwwroot/./././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././Makefile" 

"nos96809l1v030209coco2b_dw_headless.dsk,WWWROOT/./././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././Makefile"  

-b=32768
*** buffer overflow detected ***: os9 terminated
======= Backtrace: =========
/lib/tls/i686/cmov/libc.so.6(__fortify_fail+0x50)[0x4014cd40]
/lib/tls/i686/cmov/libc.so.6(+0xe6c7a)[0x4014bc7a]
/lib/tls/i686/cmov/libc.so.6(__strcpy_chk+0x44)[0x4014aff4]
os9[0x80494db]
os9[0x804d41a]
/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe6)[0x4007bbd6]
os9[0x80492e1]
======= Memory map: ========
08048000-08062000 r-xp 00000000 08:02 18350442   /home/gene/bin/os9
08062000-08063000 r--p 0001a000 08:02 18350442   /home/gene/bin/os9
08063000-08064000 rw-p 0001b000 08:02 18350442   /home/gene/bin/os9
093c0000-093e9000 rw-p 00000000 00:00 0          [heap]
40000000-4001b000 r-xp 00000000 08:02 38404226   /lib/ld-2.11.1.so
4001b000-4001c000 r--p 0001a000 08:02 38404226   /lib/ld-2.11.1.so
4001c000-4001d000 rw-p 0001b000 08:02 38404226   /lib/ld-2.11.1.so
4001d000-4001e000 r-xp 00000000 00:00 0          [vdso]
4001e000-40020000 rw-p 00000000 00:00 0 
4003f000-40063000 r-xp 00000000 08:02 38408637   
/lib/tls/i686/cmov/libm-2.11.1.so
40063000-40064000 r--p 00023000 08:02 38408637   
/lib/tls/i686/cmov/libm-2.11.1.so
40064000-40065000 rw-p 00024000 08:02 38408637   
/lib/tls/i686/cmov/libm-2.11.1.so
40065000-401be000 r-xp 00000000 08:02 38408644   
/lib/tls/i686/cmov/libc-2.11.1.so
401be000-401c0000 r--p 00159000 08:02 38408644   
/lib/tls/i686/cmov/libc-2.11.1.so
401c0000-401c1000 rw-p 0015b000 08:02 38408644   
/lib/tls/i686/cmov/libc-2.11.1.so
401c1000-401c6000 rw-p 00000000 00:00 0 
401c6000-401e3000 r-xp 00000000 08:02 38408429   /lib/libgcc_s.so.1
401e3000-401e4000 r--p 0001c000 08:02 38408429   /lib/libgcc_s.so.1
401e4000-401e5000 rw-p 0001d000 08:02 38408429   /lib/libgcc_s.so.1
bfd68000-bfd7d000 rw-p 00000000 00:00 0          [stack]
Aborted

Hundreds of those in fact, but I haven't detected what this wwwroot is yet.

Clue?

> as read n write have not bee set, then later in finalizing the actual
> disks, the files don't exsist since they were never copied and I get a
> bunch of "Error 216"s (file not found). I have no clue how to fix this
> . Any ideas?
> 
> Thanks

I haven't seen that one Bill, sorry.
> 
> Bill Pierce

Cheers, Gene
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
My web page: <http://coyoteden.dyndns-free.com:85/gene> is up!
My views 
<http://www.armchairpatriot.com/What%20Has%20America%20Become.shtml>
"Even if you're on the right track, you'll get run over if you just sit 
there."
		-- Will Rogers
A pen in the hand of this president is far more
dangerous than 200 million guns in the hands of
         law-abiding citizens.

--
Coco mailing list
Coco at maltedmedia.com
http://five.pairlist.net/mailman/listinfo/coco

 



More information about the Coco mailing list