old-www/HOWTO/Compaq-T1500-HOWTO/x153.html

301 lines
5.9 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML
><HEAD
><TITLE
>Trouble Shooting</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK
REL="HOME"
TITLE="CompaqT1500-Linux HOWTO"
HREF="index.html"><LINK
REL="PREVIOUS"
TITLE="XFree86"
HREF="x146.html"><LINK
REL="NEXT"
TITLE="Pending projects"
HREF="x176.html"></HEAD
><BODY
CLASS="SECT1"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
VLINK="#840084"
ALINK="#0000FF"
><DIV
CLASS="NAVHEADER"
><TABLE
SUMMARY="Header navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TH
COLSPAN="3"
ALIGN="center"
>CompaqT1500-Linux HOWTO</TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="bottom"
><A
HREF="x146.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
></TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="x176.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><DIV
CLASS="SECT1"
><H1
CLASS="SECT1"
><A
NAME="AEN153"
></A
>7. Trouble Shooting</H1
><P
>The servers log file (/var/log/messages) should contain hints as to where you've
got to in the boot process, as it should log TFTP transfers, NFS mounts etc.
If not, add</P
><TABLE
BORDER="1"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><FONT
COLOR="#000000"
><PRE
CLASS="SCREEN"
>*.* /var/log/messages</PRE
></FONT
></TD
></TR
></TABLE
><P
> to</P
><TABLE
BORDER="1"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><FONT
COLOR="#000000"
><PRE
CLASS="SCREEN"
>/etc/syslogd.conf</PRE
></FONT
></TD
></TR
></TABLE
><P
>and restart syslog</P
><P
>tcpdump allows you to see what packets are being transfered, and their NFS
filenames.</P
><TABLE
BORDER="1"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><FONT
COLOR="#000000"
><PRE
CLASS="SCREEN"
> tcpdump -i eth0 -s 500 host box</PRE
></FONT
></TD
></TR
></TABLE
><P
>Your output from syslog should resemble:</P
><TABLE
BORDER="1"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><FONT
COLOR="#000000"
><PRE
CLASS="SCREEN"
>Jul 24 21:37:00 bookcase dhcpd: DHCPDISCOVER from 00:80:64:10:1d:1c via eth0
Jul 24 21:37:00 bookcase dhcpd: DHCPOFFER on 192.168.1.52 to 00:80:64:10:1d:1c via eth0
Jul 24 21:37:04 bookcase dhcpd: DHCPREQUEST for 192.168.1.52 from 00:80:64:10:1d:1c via eth0
Jul 24 21:37:04 bookcase dhcpd: DHCPACK on 192.168.1.52 to 00:80:64:10:1d:1c via eth0
Jul 24 21:37:04 bookcase tftpd[5003]: tftpd: trying to get file: /exports/T1500/tftpboot/vmlinux
Jul 24 21:37:24 bookcase mountd[4853]: authenticated mount request from box:600</PRE
></FONT
></TD
></TR
></TABLE
><P
>Your tcpdump output should look like (when idle):</P
><TABLE
BORDER="1"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><FONT
COLOR="#000000"
><PRE
CLASS="SCREEN"
>17:31:41.450000 box.8022008 &#62; bookcase.nfs: 116 lookup fh Unknown/1 "initctl"
17:31:41.450000 bookcase.nfs &#62; box.8022008: reply ok 128 lookup fh Unknown/1</PRE
></FONT
></TD
></TR
></TABLE
><DIV
CLASS="SECT2"
><H2
CLASS="SECT2"
><A
NAME="AEN166"
></A
>7.1. Intermittent kernel transfer problems (NFS null)</H2
><P
>There is a known problem which occasionally causes the T1500 to fail to reboot,
apparently because it fails to tftp the kernel after the reboot. A tcpdump of
this happening will resemble:</P
><TABLE
BORDER="1"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><FONT
COLOR="#000000"
><PRE
CLASS="SCREEN"
>12:04:38.506153 box.2049 &#62; bookcase.house.tftp: 39 RRQ "/exports/T1500/tftpboot/vmlinux"
12:04:38.556153 bookcase.house.1199 &#62; box.2049: udp 516
12:04:38.556153 box.2049 &#62; bookcase.house.1199: udp 4
12:04:38.556153 bookcase.house.196610 &#62; box.nfs: 516 null
12:04:38.556153 box.2049 &#62; bookcase.house.1199: udp 4
12:04:38.556153 bookcase.house.196611 &#62; box.nfs: 516 null
12:04:38.556153 box.2049 &#62; bookcase.house.1199: udp 4
12:04:38.556153 bookcase.house.196612 &#62; box.nfs: 516 null
12:04:38.556153 box.2049 &#62; bookcase.house.1199: udp 4
12:04:38.566153 bookcase.house.196613 &#62; box.nfs: 516 null
12:04:38.566153 box.2049 &#62; bookcase.house.1199: udp 4
12:04:38.566153 bookcase.house.196614 &#62; box.nfs: 516 null
12:04:38.566153 box.2049 &#62; bookcase.house.1199: udp 4
12:04:38.566153 bookcase.house.196615 &#62; box.nfs: 516 null</PRE
></FONT
></TD
></TR
></TABLE
><P
>You will then see a syslog entry from tftp indicating that it is sending the
kernel, but no packets are exchanged. ARP requests go unanswered.</P
><P
>This can be resolved, but if you have your T1500 headless in a corner, is a
PITA.
Connect a monitor, keyboard and PS/2 mouse if not present.
Reboot the T1500, and press 'L' after the 1st beep.
The T1500 will now boot locally. Change the boot mode to 'Local' (Start-&#62;System
menu) and reboot.
Change the boot mode back to 'Network'</P
><P
>If this happens to you a lot, please try out tiggers-magic-tftpd. You can find this
at the same URL this document gives as the current home of the T1500 HOWTO. It requires python,
and has been reported to solve the problem. Please let me know how you get on !</P
></DIV
><DIV
CLASS="SECT2"
><H2
CLASS="SECT2"
><A
NAME="AEN173"
></A
>7.2. T1500 ignores DHCP OFFER and just asks again</H2
><P
>There is a bug in the BIOS, all DHCP packets must contain a 'root-path' option, even
if you are booting your own kernel which doesn't need one.</P
></DIV
></DIV
><DIV
CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
SUMMARY="Footer navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
><A
HREF="x146.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="index.html"
ACCESSKEY="H"
>Home</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
HREF="x176.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>XFree86</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
>&nbsp;</TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>Pending projects</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>