Subject: Re: pxeboot install on a toshiba 3490ct
To: matthew sporleder <msporleder@gmail.com>
From: Russell McManus <russell_mcmanus@yahoo.com>
List: port-i386
Date: 06/18/2007 16:31:03
"matthew sporleder" <msporleder@gmail.com> writes:

> On 6/18/07, Russell McManus <russell_mcmanus@yahoo.com> wrote:
>>
>> (note: sent to netbsd-help a couple of days ago)
>>
>> I've made some progress trying to install NetBSD onto a toshiba 3490ct
>> using pxeboot.
>>
>> I think I've gotten pxeboot_ia32.bin to load via tftp, then the
>> INSTALL_LAPTOP kernel to load via tftp.  But relatively early the
>> kernel hangs.  I've tried with both -current and 4.0 kernels.
>>
>> The console messages look something like this:
>>
>> >> NetBSD/i386 PXE Boot 1.1
>> >> (russe@thelonious.cl-user.org, Thu Jun  7 22:49:39 EDT 2007)
>> >> Memory 573/129920 k
>> Press return to boot now, any other key for boot menu
>> Starting in 0
>> PXE BIOS Version 2.1
>> Using PCI device at bus 1 device 4 function 0
>> Ethernet address 00:00:39:02:8d
>> net_open: client addr: 192.168.1.101
>> net_open: subnet mask: 255.255.255.0
>> net_open: net gateway: 192.168.1.10
>> net_open: server addr: 192.168.1.10
>> net_open: file_name: tftp:netbsd.INSTALL_LAPTOP.4_0
>> 2601004+5291780+97364 [212496+200655]=0x804ccc
>>
>> Then the show is over, frozen.
>>
>> Any ideas what I'm doing wrong, or what I should try next?
>
>
> If I recall correctly, the numbers talking about
> tftp:netbsd.INSTALL_LAPTOP.4_0 should refer to the actual file size of
> the kernel.  Is it correct?
>
> Also, it looks like you're trying to load the kernel through tftp
> (tftp:filename).  Have you tried using nfs instead?  What are
> debugging tftpd to see if it's reporting any errors?

I have not tried using nfs, yet.  I will give that a try tonight
hopefully.

> Please post the relevant sections of your dhcpd.conf and tftpd
> debugging.

from dhcpd.conf:

  # set of parameters specific to toshiba laptop
  host mingus.cl-user.org {
    hardware ethernet 00:00:39:02:09:8D;
    fixed-address 192.168.1.101;
    option host-name "mingus";
    if substring (option vendor-class-identifier, 0, 9) = "PXEClient" {
      filename "pxeboot_ia32.bin";
    } else {
      filename "tftp:netbsd.INSTALL_LAPTOP.4_0";
    }
  }


from /var/log/messages:

Jun 17 09:45:18 thelonious dhcpd: DHCPDISCOVER from 00:00:39:02:09:8d via tlp0
Jun 17 09:45:18 thelonious dhcpd: DHCPOFFER on 192.168.1.101 to 00:00:39:02:09:8d via tlp0
Jun 17 09:45:19 thelonious dhcpd: DHCPREQUEST for 192.168.1.101 (192.168.1.10) from 00:00:39:02:09:8d via tlp0
Jun 17 09:45:19 thelonious dhcpd: DHCPACK on 192.168.1.101 to 00:00:39:02:09:8d via tlp0
Jun 17 09:45:19 thelonious tftpd[11383]: 192.168.1.101: read request for pxeboot_ia32.bin: success
Jun 17 09:45:19 thelonious tftpd[2723]: 192.168.1.101: read request for pxeboot_ia32.bin: success
Jun 17 09:45:29 thelonious dhcpd: DHCPDISCOVER from 00:00:39:02:09:8d via tlp0
Jun 17 09:45:29 thelonious dhcpd: DHCPOFFER on 192.168.1.101 to 00:00:39:02:09:8d via tlp0
Jun 17 09:45:29 thelonious dhcpd: DHCPREQUEST for 192.168.1.101 (192.168.1.10) from 00:00:39:02:09:8d via tlp0
Jun 17 09:45:29 thelonious dhcpd: DHCPACK on 192.168.1.101 to 00:00:39:02:09:8d via tlp0
Jun 17 09:45:29 thelonious tftpd[27965]: 192.168.1.101: read request for netbsd.INSTALL_LAPTOP.4_0: success
Jun 17 09:45:29 thelonious tftpd[18808]: 192.168.1.101: read request for netbsd.INSTALL_LAPTOP.4_0: success

-russ