|
List Info
Thread: RE: Capturing dmesg upon system crash on 6.3
|
|
| RE: Capturing dmesg upon system crash on
6.3 |

|
2008-02-25 07:41:03 |
I'm looking into the syslogd capabilities at the moment, it
might be
enough.
I've tried following the serial console setup you've
pointed, but when I
added the 'console="comconsole"' to loader.conf
the OS hanged during
boot time, had to re-install the system.
I'm currently porting Mellanox ethernet driver, InfiniBand
will be
probably next. Mail me outside this list if you're
interested in
InfiniBand.
Yehonatan Yossef
Mellanox Technologies INC
Office: +972-4-9097200 ext. 301
Cell: +972-54-2345031 (yonyossef skype)
> -----Original Message-----
> From: rea-fbsd codelabs.ru [mailto:rea-fbsd codelabs.ru]
> Sent: Monday, February 25, 2008 3:29 PM
> To: Yehonatan Yossef
> Cc: freebsd-questions freebsd.org;
freebsd-net freebsd.org;
> freebsd-drivers freebsd.org
> Subject: Re: Capturing dmesg upon system crash on 6.3
>
> Yehonatan, good day.
>
> Mon, Feb 25, 2008 at 11:28:12AM +0200, Yehonatan Yossef
wrote:
> > I'm a freebsd newbee, trying to port an ethernet
driver
> from Linux to
> > FreeBSD 6.3.
> > I'm facing a system reboot upon loading of the
driver, and
> I could use
> > a tool for capturing dmesg upon system crash (such
as netconsole on
> > Linux).
>
> May be serial console will help you?
> http://www.freebsd.org/doc/en_US.ISO8859-1/books/h
andbook/seri
> alconsole-setup.html
>
> Out of curiosity: are you porting some InfiniBand
drivers to FreeBSD?
> --
> Eygene
>
_______________________________________________
freebsd-drivers freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-drive
rs
To unsubscribe, send any mail to
"freebsd-drivers-unsubscribe freebsd.org"
|
|
| Re: Capturing dmesg upon system crash on
6.3 |
  Russian Federation |
2008-02-25 07:57:54 |
Mon, Feb 25, 2008 at 03:41:03PM +0200, Yehonatan Yossef
wrote:
> I'm looking into the syslogd capabilities at the
moment, it might be
> enough.
Syslog can die too early to spot everything. But your
mileage may vary.
> I've tried following the serial console setup you've
pointed, but when I
> added the 'console="comconsole"' to
loader.conf the OS hanged during
> boot time, had to re-install the system.
You mean that nothing were seen on the other end of the
serial cable?
I had not used serial console in FreeBSD for a while, so
maybe others
can tell if the Handbook is still correct?
And if the only change that was made to make the OS hang was
the
change in the loader.conf, then you could just use LiveFS CD
and
edit loader.conf at your system -- there is no point in
wasting
time reinstalling the whole system.
--
Eygene
_______________________________________________
freebsd-drivers freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-drive
rs
To unsubscribe, send any mail to
"freebsd-drivers-unsubscribe freebsd.org"
|
|
| Re: Capturing dmesg upon system crash on
6.3 |

|
2008-02-25 03:39:31 |
> I'm looking into the syslogd capabilities at the
moment, it might be
> enough.
> I've tried following the serial console setup you've
pointed, but when I
> added the 'console=3D"comconsole"' to
loader.conf the OS hanged during
> boot time, had to re-install the system.
I assume the info you need is not getting captured in
/var/log?
Perhaps your system needs a firmware setting changed to use
a RS-232 console?
I assume it is not waiting for a control line, e.g. carrier
detect, to go high?
Some systems have buggy firmware and still read from the ps2
keyboard
even though they are printing to the RS-232 console.
If all else fails there is the aim a video camera at the
screen method. :-(
_______________________________________________
freebsd-drivers freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-drive
rs
To unsubscribe, send any mail to
"freebsd-drivers-unsubscribe freebsd.org"
|
|
| RE: Capturing dmesg upon system crash on
6.3 |
  United Kingdom |
2008-02-26 04:43:45 |
On Mon, 2008-02-25 at 15:41 +0200, Yehonatan Yossef wrote:
> I'm looking into the syslogd capabilities at the
moment, it might be
> enough.
> I've tried following the serial console setup you've
pointed, but when I
> added the 'console="comconsole"' to
loader.conf the OS hanged during
> boot time, had to re-install the system.
>
> I'm currently porting Mellanox ethernet driver,
InfiniBand will be
> probably next. Mail me outside this list if you're
interested in
> InfiniBand.
>
The OS probably didnt hang, you told it to send all its
output to
comconsole (ie serial port) and not display anything. This
might look as
though it has hung. Try (in /boot/loader.conf):
boot_multicons="YES"
console="vidconsole,comconsole"
to output to both of them. Also, set the correct tty on your
serial
console with something like (in /etc/ttys):
ttyd0 "/usr/libexec/getty std.9600" vt100
off secure
There will be a ttyd0 line already.
All of this is in the various handbooks.
Cheers
Tom
|
|
[1-4]
|
|
|
about | contact Other archives ( Real Estate discussion Medical topics )
|