Hi,
I want to debug my kernel with modules through serial console.
I have two machines with 7.0-CURRENT.
What i do:
hint.sio.0.flags=0x90
On the target system load all needed KLD.
Make .asf output with patched asf(8).
Why it don't create output for KERNFILE?
Copy *.symbols files and .asf file
On Monday, 3 September 2007 at 10:58:54 +0400, Andrey V. Elsukov wrote:
Hi,
I want to debug my kernel with modules through serial console.
I have two machines with 7.0-CURRENT.
What i do:
...
What i've missed?
You're a bit sketchy on the details that I've omitted here. What
happens
Greg 'groggy' Lehey wrote:
You're a bit sketchy on the details that I've omitted here. What
happens between these two lines?
(kgdb) target remote /dev/cuad0
Remote debugging using /dev/cuad0
0x in ?? ()
(kgdb) add-symbol-file /path/to/local/copy/of/file
You should have some
Greg 'groggy' Lehey wrote:
You're a bit sketchy on the details that I've omitted here. What
happens between these two lines?
(kgdb) target remote /dev/cuad0
(kgdb) add-symbol-file /path/to/local/copy/of/file
I've solved my problem.
I run on the second machine:
# kgdb -r /dev/cuad0
On Sun, Sep 02, 2007 at 09:00:04PM +0200, Simon 'corecode' Schubert wrote:
Tim Kientzle wrote:
I atttempted to
fit 'vi' in there, but curses is rather finicky;
'sed' would be more useful.
Mined is a nice editor for this, running without curses. A statically
linked, stripped binary is
On Sun, Sep 02, 2007 at 11:18:04AM -0700, Tim Kientzle wrote:
Yar Tikhiy wrote:
Hi all,
I've had to use /rescue recently and felt lack of a few basic tools
in it, namely pgrep(1), head(1), tail(1), tee(1), and a text filter,
e.g., sed(1). Well, in fact most functionality of pgrep(1),
On Mon, 3 Sep 2007, Yar Tikhiy wrote:
On Sun, Sep 02, 2007 at 11:18:04AM -0700, Tim Kientzle wrote:
Yar Tikhiy wrote:
Hi all,
I've had to use /rescue recently and felt lack of a few basic tools
in it, namely pgrep(1), head(1), tail(1), tee(1), and a text filter,
e.g., sed(1). Well, in fact
On Mon, Sep 03, 2007 at 08:36:58AM -0400, Daniel Eischen wrote:
On Mon, 3 Sep 2007, Yar Tikhiy wrote:
On Sun, Sep 02, 2007 at 11:18:04AM -0700, Tim Kientzle wrote:
Yar Tikhiy wrote:
Hi all,
I've had to use /rescue recently and felt lack of a few basic tools
in it, namely pgrep(1),
On Mon, Sep 03, 2007 at 03:18:03AM +0300, Giorgos Keramidas wrote:
On 2007-09-02 11:18, Tim Kientzle [EMAIL PROTECTED] wrote:
Yar Tikhiy wrote:
In addition, there are chflags and chmod in /rescue, but there's no
chown in it, so the toolset is a bit incomplete.
Oh, my. chown was
On 2007-09-03 17:20, Yar Tikhiy [EMAIL PROTECTED] wrote:
On Mon, Sep 03, 2007 at 03:18:03AM +0300, Giorgos Keramidas wrote:
Running nm(1) on the binaries, I see that they have the same symbols
though:
$ nm -S chmod | awk '{print $2,$3,$4}' | sort /tmp/symbols.chmod
$ nm -S chown | awk
On Sat, 1 Sep 2007, Julian Stacey wrote:
JS I've had to use /rescue recently and felt lack of a few basic tools
JS in it, namely pgrep(1), head(1), tail(1), tee(1), and a text filter,
JS e.g., sed(1). Well, in fact most functionality of pgrep(1), head(1),
JS tail(1), and even tee(1) can be
Giorgos Keramidas wrote:
... [chown] is still almost 4x the size of chmod:
$ ls -ld chown
-rwxrwxr-x1 keramida users - 550624 Sep 3 03:06 chown
$ ls -ld chmod
-rwxrwxr-x 1 keramida users - 165884 Sep 3 03:08 chmod
getpwuid() pulls in DNS, NIS, and a bunch of other network
12 matches
Mail list logo