Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: NetBSD-HEAD amd64 refuses to build



On Sun, 29 Dec 2013, Thomas Mueller wrote:

Just to ask the obvious: did you try without the -c, and if so, what
happened?

Sure I tried without -c, went into the debugger prompt.

At point in the boot process did you end up in the debugger? (What was
on the screen?) Did a backtrace "bt" give any clues?

Cheers,

Patrick

Basically, I'm lost with the debugger, and the best I can do is type
"reboot".

As Patrick suggested, please try typing "bt" in the debugger, to get a back-trace.

Is there any documentation?

Yes - see "man 4 ddb"

But I don't think the debugger could really help me.

It certainly won't help if you don't try, and don't listen to other people who are trying to help you.

I remember in the boot process getting past athn0, so that was
detected apparently satisfactorily.

I have packages built for amd64 but nothing that survives for
NetBSD-current i386, and I don't want to restart from scratch building
packages for amd64.

If you can't get the kernel running and stable, you are a long ways away from having to think about building packages.

I remember building modular-xorg from pkgsrc, but startx failed on
inability to find display.  This also happens with OpenBSD 5.4 Live
USB from liveusb-openbsd.sourceforge.net which was supposed to have
been already configured and ready to go.

There needs to be a way to single-step through the boot process;
otherwise, boot messages whiz past too fast to be readable, and I
still don't know any way to capture these messages to a file when boot
falls short.

Try using a serial console and capturing the output.

The messages are also stored in the kernel's message buffer, where the debugger can access them.

And, if you were to type "reboot 0x100" you could force a crash dump.


-------------------------------------------------------------------------
| Paul Goyette     | PGP Key fingerprint:     | E-mail addresses:       |
| Customer Service | FA29 0E3B 35AF E8AE 6651 | paul at whooppee.com    |
| Network Engineer | 0786 F758 55DE 53BA 7731 | pgoyette at juniper.net |
| Kernel Developer |                          | pgoyette at netbsd.org  |
-------------------------------------------------------------------------


Home | Main Index | Thread Index | Old Index