Click Here
home features news forums classifieds faqs links search
6071 members 
Amiga Q&A /  Free for All /  Emulation /  Gaming / (Latest Posts)
Login

Nickname

Password

Lost Password?

Don't have an account yet?
Register now!

Support Amigaworld.net
Your support is needed and is appreciated as Amigaworld.net is primarily dependent upon the support of its users.
Donate

Menu
Main sections
» Home
» Features
» News
» Forums
» Classifieds
» Links
» Downloads
Extras
» OS4 Zone
» IRC Network
» AmigaWorld Radio
» Newsfeed
» Top Members
» Amiga Dealers
Information
» About Us
» FAQs
» Advertise
» Polls
» Terms of Service
» Search

IRC Channel
Server: irc.amigaworld.net
Ports: 1024,5555, 6665-6669
SSL port: 6697
Channel: #Amigaworld
Channel Policy and Guidelines

Who's Online
28 crawler(s) on-line.
 62 guest(s) on-line.
 0 member(s) on-line.



You are an anonymous user.
Register Now!
 agami:  18 mins ago
 jakiv:  35 mins ago
 jPV:  51 mins ago
 Musashi5150:  1 hr ago
 pavlor:  1 hr 41 mins ago
 Gunnar:  2 hrs 14 mins ago
 MEGA_RJ_MICAL:  2 hrs 14 mins ago
 amig_os:  2 hrs 27 mins ago
 cdimauro:  2 hrs 34 mins ago
 Hypex:  3 hrs 27 mins ago

/  Forum Index
   /  General Technology (No Console Threads)
      /  The Night Watch (legend of system programmers)
Register To Post

PosterThread
Mr_Capehill 
The Night Watch (legend of system programmers)
Posted on 4-Jul-2017 10:16:55
#1 ]
Super Member
Joined: 15-Mar-2003
Posts: 1932
From: Yharnam

http://scholar.harvard.edu/files/mickens/files/thenightwatch.pdf

"When you debug a distributed system or an OS kernel, you do it Texas-style. You gather some mean, stoic people, people who have seen things die, and you get some primitive tools, like a compass and a rucksack and a stick that’s pointed on one end, and you walk into the wilderness and you look for trouble, possibly while using chewing tobacco. "

 Status: Offline
Profile     Report this post  
NutsAboutAmiga 
Re: The Night Watch (legend of system programmers)
Posted on 4-Jul-2017 18:26:58
#2 ]
Elite Member
Joined: 9-Jun-2004
Posts: 12812
From: Norway

@Mr_Capehill

I do not think many will get this, but I do, working on Catweasel MK4 driver for AmigaOS4.0, for every time you make change the device, crashes, it can be unloaded, the system frizzes, for every time you need to power down system completely with the Power button. Because CTRL+AMIGA+AMIGA is not working, system froze and you can retrieve the debug log, a real pain. Sometimes Memory protection, work some time it does not, sometime device corrupt itself. I do not know about walking dead or not, but its real torture.

I guess some have less problems with torture then others. I guess that’s way most of the drivers are made by the same people, or maybe they are more careful to not shoot them self in the foot, I don't know.

Last edited by NutsAboutAmiga on 04-Jul-2017 at 06:58 PM.

_________________
http://lifeofliveforit.blogspot.no/
Facebook::LiveForIt Software for AmigaOS

 Status: Offline
Profile     Report this post  
bison 
Re: The Night Watch (legend of system programmers)
Posted on 4-Jul-2017 23:01:17
#3 ]
Elite Member
Joined: 18-Dec-2007
Posts: 2112
From: N-Space

@NutsAboutAmiga

Quote:
for every time you make change the device, crashes, it can be unloaded, the system frizzes, for every time you need to power down system completely with the Power button

That pretty much summarizes my short foray into Linux kernel hacking. Userspace is serene by comparison.

_________________
"Unix is supposed to fix that." -- Jay Miner

 Status: Offline
Profile     Report this post  
Hypex 
Re: The Night Watch (legend of system programmers)
Posted on 5-Jul-2017 3:03:16
#4 ]
Elite Member
Joined: 6-May-2007
Posts: 11200
From: Greensborough, Australia

@bison

Debugging a UBoot app can be hard. I've done it. So it loads up and then instantly crashes. You see a brief moment on screen where there was a crash log. But you can get it with a debug cable. You look at the output. It makes so sense. UBoot didn't even have the courtesy to look up any of those symbols you compiled in. You're on your own. Offsets are as good as offsets into OS4 kernel space with no clue or table to look up. So it's down to the old and obtuse method of plugging in printf() calls. Recompile. Copy to boot medium unless your setup allows to copy direct to a file. Writing a boot CDRW every time is not efficient. Check new version to see what it gets up to and if you found it yet. As the old saying goes. Now it's rinse and repeat.

Last edited by Hypex on 05-Jul-2017 at 03:05 AM.

 Status: Offline
Profile     Report this post  

[ home ][ about us ][ privacy ] [ forums ][ classifieds ] [ links ][ news archive ] [ link to us ][ user account ]
Copyright (C) 2000 - 2019 Amigaworld.net.
Amigaworld.net was originally founded by David Doyle