Stephan Assmus | 1 Jan 2006 16:27
Picon
Picon
Gravatar

Re: clean makehdimage


On 2005-09-07 at 02:55:03 [+0200], Stephan Aßmus <superstippi@...> wrote:
[...]

Please ignore this message, my girlfriend accidentally used the wrong mail 
daemon to "check" mail...

Best regards and happy new year to everyone!
-Stephan

Stephan Assmus | 2 Jan 2006 14:50
Picon
Picon
Gravatar

user land debugger

Hi,

is GDB still supposed to come up in a Terminal when some app crashes? It 
doesn't happen here anymore, I just see a thread "debug task" in the team 
that has crashed.

Best regards,
-Stephan

Ingo Weinhold | 2 Jan 2006 16:02
Picon

Re: user land debugger


On 2006-01-02 at 14:50:23 [+0100], Stephan Assmus <superstippi@...> 
wrote:
> 
> is GDB still supposed to come up in a Terminal when some app crashes?

In a MiniTerminal, unless someone has changed that.

> It
> doesn't happen here anymore, I just see a thread "debug task" in the team
> that has crashed.

Doesn't sound good. I haven't changed anything at least.

CU, Ingo

Ingo Weinhold | 2 Jan 2006 22:20
Picon

Re: user land debugger


On 2006-01-02 at 16:02:29 [+0100], Ingo Weinhold
<bonefish@...> 
wrote:
> On 2006-01-02 at 14:50:23 [+0100], Stephan Assmus <superstippi@...>
> wrote:
> > 
> > is GDB still supposed to come up in a Terminal when some app crashes?
> 
> In a MiniTerminal, unless someone has changed that.
> 
> > It
> > doesn't happen here anymore, I just see a thread "debug task" in the team
> > that has crashed.
> 
> Doesn't sound good. I haven't changed anything at least.

I have examined the problem. The debug_server blocks on BAlert::Go() for the 
alert it wants to show (DebugServer.cpp:579). This would be just fine, if 
the alert would indeed appear on screen, which it doesn't. So, app server 
folks, it's your turn. :-)

If you need a reliably crashing app, add the following to your 
UserBuildConfig:

	AddFilesToHaikuImage beos bin : crashing_app ;

crashing_app can be invoked on the command line. It even has some fancy 
options to specify the kind of crash. The default is a boring SEGFAULT. :-)

(Continue reading)

Stephan Assmus | 2 Jan 2006 22:46
Picon
Picon
Gravatar

Re: user land debugger


On 2006-01-02 at 22:20:40 [+0100], Ingo Weinhold
<bonefish@...> 
wrote:
> 
> On 2006-01-02 at 16:02:29 [+0100], Ingo Weinhold <bonefish@...>
> wrote:
> > On 2006-01-02 at 14:50:23 [+0100], Stephan Assmus <superstippi@...>
> > wrote:
> > > 
> > > is GDB still supposed to come up in a Terminal when some app crashes?
> > 
> > In a MiniTerminal, unless someone has changed that.
> > 
> > > It
> > > doesn't happen here anymore, I just see a thread "debug task" in the 
> > > team
> > > that has crashed.
> > 
> > Doesn't sound good. I haven't changed anything at least.
> 
> I have examined the problem. The debug_server blocks on BAlert::Go() for the
> alert it wants to show (DebugServer.cpp:579). This would be just fine, if
> the alert would indeed appear on screen, which it doesn't. So, app server
> folks, it's your turn. :-)

Axel, this might have something to do with modal windows that don't have 
"parent" windows. I mean, something with the subset stuff in the window 
manager. Do you have a quick idea or should I continue to investigate?

(Continue reading)

mmadia | 7 Jan 2006 07:29
Picon

gcc4 version of Haiku?

hello everyone,

just curious if anyone's built gcc4 version of Haiku.
if so, what's the preferred OS/distro to use?

=mmadia

Axel Dörfler | 7 Jan 2006 15:38
Picon

Re: gcc4 version of Haiku?

"mmadia" <mattmadia@...> wrote:
> just curious if anyone's built gcc4 version of Haiku.
> if so, what's the preferred OS/distro to use?

I'm not sure if I understand your question, but since the Haiku 
buildtools now include a GCC 4, you shouldn't depend on the OS hosting 
the build; it should work everywhere.

Bye,
   Axel.

Ingo Weinhold | 7 Jan 2006 17:51
Picon

Re: gcc4 version of Haiku?


On 2006-01-07 at 15:38:24 [+0100], Axel Dörfler <axeld@...> 
wrote:
> "mmadia" <mattmadia@...> wrote:
> > just curious if anyone's built gcc4 version of Haiku.
> > if so, what's the preferred OS/distro to use?
> 
> I'm not sure if I understand your question, but since the Haiku
> buildtools now include a GCC 4, you shouldn't depend on the OS hosting
> the build; it should work everywhere.

Er, I've never tested whether gcc4 builds under BeOS. It may well be that I 
left out some patches necessary for BeOS. All I can say is that it runs 
fine under my SuSE Linux 9.2 installation (updated to gcc4 meanwhile). I 
suppose most other Linux distributions will work, too. Nathan checked 
something in for FreeBSD; not sure how far he got there. Axel reported 
problems under YellowDog Linux (PPC), so I wouldn't expect that one to work.

CU, Ingo

Nathan Whitehorn | 7 Jan 2006 18:15
Favicon

Re: gcc4 version of Haiku?

Ingo Weinhold wrote:

>On 2006-01-07 at 15:38:24 [+0100], Axel Dörfler <axeld@...> 
>wrote:
>  
>
>>"mmadia" <mattmadia@...> wrote:
>>    
>>
>>>just curious if anyone's built gcc4 version of Haiku.
>>>if so, what's the preferred OS/distro to use?
>>>      
>>>
>>I'm not sure if I understand your question, but since the Haiku
>>buildtools now include a GCC 4, you shouldn't depend on the OS hosting
>>the build; it should work everywhere.
>>    
>>
>
>Er, I've never tested whether gcc4 builds under BeOS. It may well be that I 
>left out some patches necessary for BeOS. All I can say is that it runs 
>fine under my SuSE Linux 9.2 installation (updated to gcc4 meanwhile). I 
>suppose most other Linux distributions will work, too. Nathan checked 
>something in for FreeBSD; not sure how far he got there. Axel reported 
>problems under YellowDog Linux (PPC), so I wouldn't expect that one to work
>  
>

I'm still having a bunch of issues on FreeBSD. The toolchain compiles 
and runs fine, but there are linker problems when I try to build Haiku 
(Continue reading)

Urias McCullough | 11 Jan 2006 06:35
Picon
Gravatar

Via C3 and Haiku boot

Axel,

I tested the revisions you wanted me to test on my Via C3 machine - here is what I found:

r15559 - boots through kernel, seg fault in app_server I believe (not sure what caused this - I had the same problem on my PIII machine also I think)
r15560 - KDL on the Via machine - didn't get a chance to try this on the PIII though - I did see the debug output that refers to the MTRR - will include below
r15863 - (figured I'd grab a newer rev) boots through kernel on Via, loads app_server, loads terminal, runs for a bit, did not see the same debug output as 15560 though

The relevant debug output from the r15560 attempt was this:

...<snip>
MTRR enabled
 0: 0x0, 0xffff001, 6
 1: 0x10000000, 0x7fff001, 6
 2: 0x18000000, 0x3fff001, 6
 3: 0x1c000000, 0x1fff001, 6
 4: 0x1e000000, 0xfff001, 6
 5: empty
 6: empty
 7: 0xf4000000, 0x3fff001, 1
MTRR 0: new mask fe0000000)
 mask test base: 0)
 mask test middle: 0)
 mask test end: 20000000)
con_init: trying module console/frame_buffer/v1
loaded driver /boot/beos/system/add-ons/kernel/drivers/dev/console
loaded driver /boot/beos/system/add-ons/kernel/drivers/dev/dprintf
loaded driver /boot/beos/system/add-ons/kernel/drivers/dev/keyboard
loaded driver /boot/beos/system/add-ons/kernel/drivers/dev/null
loaded driver /boot/beos/system/add-ons/kernel/drivers/dev/random
loaded driver /boot/beos/system/add-ons/kernel/drivers/dev/tty
loaded driver /boot/beos/system/add-ons/kernel/drivers/dev/zero
vm_soft_fault: va 0xdeae02ef not covered by area in address space
vm_page_fault: vm_soft_fault returned error -2147478783 on fault at 0xdeae02ef, ip 0x800823b2, write 1, user 0, thread 0x24
PANIC: vm_page_fault: unhandled page fault in kernel space at 0xdeae02ef, ip 0x800823b2

Welcome to Kernel Debugging Land...
Running on CPU 0
kdebug>
<snip>

If you need/want the entire text captures from the debug output, let me know here: umccullough <at> NOSPAMgmail <dot> NOSPAMcom

I hope I built everything properly - there were only a few files different when I updated to r15560, which appeared to be processor-specific kernel files. I don't understand why the latest revision didn't include the MTRR debug output, unless you removed it or I need to enable something? If there's anything else you think I should test, or believe I did anything wrong, please let me know.

Thanks for your efforts BTW :)

- Urias


Gmane