LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-18-2014, 06:27 AM   #16
SAJM
Member
 
Registered: Nov 2012
Location: Essex UK
Distribution: Slackware 15
Posts: 269

Original Poster
Rep: Reputation: Disabled

Quote:
Originally Posted by SAJM View Post
I have done as you suggested but do not understand the following:

cp /mirror/slackware/slackware-13.37/isolinux/initrd.img /tftpboot/slackware-13.37/
cp /mirror/slackware/slackware-13.37/usb-and-pxe-installers/pxelinux.cfg_default /tftpboot/slackware-13.37/pxelinux.cfg/default

has the file "pxelinux.cfg_default" been renamed "default"
Assuming that is the case here is what I get on the PC expecting slackware

PXELINUX 2.10 2004-06-18 copyright (C) 1994-2004 H. Peter Anvin
UNDI data segment at: 00099C20
UNDI data segment size:3850
UNDI data segment at: 0009D470
UNDI data segment size:2790
PXE entry point found (we hope) at 9D47:00FA
My ip address seems to be C0A801C8 192.168.1.200
ip=192.168.1.200:192.168.1.1:192.168.1.3:255.255.255.0
TFTP prefix
Trying to load: prelinux.cfg/01-00-06-5b-d7-0d-f9
Trying to load: prelinux.cfg/C0A801C8
Trying to load: prelinux.cfg/C0A801
Trying to load: prelinux.cfg/C0A80
Trying to load: prelinux.cfg/C0A8
Trying to load: prelinux.cfg/C0A
Trying to load: prelinux.cfg/C0
Trying to load: prelinux.cfg/C
Trying to load: prelinux.cfg/default
could not find kernel image: linux
Boot:

Where is linux? I have also pointed TFTPD32 to /prelinux.cfg/default and the file does not even get across to the other PC awaiting slackware

The TFTPD32 log is as follows:

RRcvd DHCP Discover Msg for IP 0.0.0.0, Mac 00:06:5B:D7:0D:F9 [18/02 12:25:15.828]
DHCP: proposed address 192.168.1.200 [18/02 12:25:16.718]
Rcvd DHCP Rqst Msg for IP 0.0.0.0, Mac 00:06:5B:D7:0D:F9 [18/02 12:25:17.906]
Previously allocated address 192.168.1.200 acked [18/02 12:25:17.906]
Connection received from 192.168.1.200 on port 2070 [18/02 12:25:17.953]
Read request for file <default>. Mode octet [18/02 12:25:17.953]
OACK: <tsize=905,> [18/02 12:25:17.953]
Using local port 17600 [18/02 12:25:17.953]
Peer returns ERROR <TFTP Aborted> -> aborting transfer [18/02 12:25:17.953]
Connection received from 192.168.1.200 on port 2071 [18/02 12:25:17.953]
Read request for file <default>. Mode octet [18/02 12:25:17.968]
Using local port 17601 [18/02 12:25:17.968]
<default>: sent 2 blks, 905 bytes in 0 s. 0 blk resent [18/02 12:25:17.968]

The
PC just sits displaying it's allocated ip address

Last edited by SAJM; 02-18-2014 at 06:35 AM. Reason: Removed smilies
 
Old 02-18-2014, 06:35 AM   #17
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,367

Rep: Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748
Quote:
Trying to load: prelinux.cfg/default
Is there a typo in your subdirectory name? Seems to be looking for 'prelinux.cfg' rather than 'pxelinux.cfg'.
 
Old 02-18-2014, 06:47 AM   #18
SAJM
Member
 
Registered: Nov 2012
Location: Essex UK
Distribution: Slackware 15
Posts: 269

Original Poster
Rep: Reputation: Disabled
Error

Last edited by SAJM; 02-18-2014 at 06:57 AM.
 
Old 02-18-2014, 06:50 AM   #19
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,367

Rep: Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748
See post #17
 
Old 02-18-2014, 07:11 AM   #20
SAJM
Member
 
Registered: Nov 2012
Location: Essex UK
Distribution: Slackware 15
Posts: 269

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by allend View Post
Is there a typo in your subdirectory name? Seems to be looking for 'prelinux.cfg' rather than 'pxelinux.cfg'.
Yes the directory was incorrect but it did not change anything. The only file I can get across to my PC is pxelinux.0.

If at the boot: prompt I enter any script I get: Invalid or corrupt kernel image.

If I enter a Kernel image at boot: the PC either locks up or displays crazy colours on the screen.
 
Old 02-18-2014, 07:24 AM   #21
SAJM
Member
 
Registered: Nov 2012
Location: Essex UK
Distribution: Slackware 15
Posts: 269

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by SAJM View Post
Yes the directory was incorrect but it did not change anything. The only file I can get across to my PC is pxelinux.0.

If at the boot: prompt I enter any script I get: Invalid or corrupt kernel image.

If I enter a Kernel image at boot: the PC either locks up or displays crazy colours on the screen.
At boot: I tried to load several other kernels and they all stop loading and expect me to insert a floppy, which of course the PC does not have.
 
Old 02-18-2014, 07:27 AM   #22
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,367

Rep: Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748
Are you getting further into the boot process than in post#16?

What does the TFTPD32 log show?

What boot prompt?

Could the target PC require additional kernel parameters?
 
Old 02-18-2014, 08:25 AM   #23
SAJM
Member
 
Registered: Nov 2012
Location: Essex UK
Distribution: Slackware 15
Posts: 269

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by allend View Post
Are you getting further into the boot process than in post#16?
No unless I load huge.s then I'm asked to inset a floppy

Quote:
Originally Posted by allend View Post
What does the TFTPD32 log show?
Rcvd DHCP Discover Msg for IP 0.0.0.0, Mac 00:06:5B:D7:0D:F9 [18/02 14:24:51.031]
DHCP: proposed address 192.168.1.200 [18/02 14:24:51.906]
Rcvd DHCP Rqst Msg for IP 0.0.0.0, Mac 00:06:5B:D7:0D:F9 [18/02 14:24:53.125]
Previously allocated address 192.168.1.200 acked [18/02 14:24:53.125]
Connection received from 192.168.1.200 on port 2070 [18/02 14:24:53.187]
Read request for file <pxelinux.0>. Mode octet [18/02 14:24:53.187]
Using local port 27128 [18/02 14:24:53.203]
<pxelinux.0>: sent 24 blks, 11816 bytes in 0 s. 0 blk resent [18/02 14:24:53.203]
Connection received from 192.168.1.200 on port 57089 [18/02 14:24:53.265]
Read request for file <pxelinux.cfg/01-00-06-5b-d7-0d-f9>. Mode octet [18/02 14:24:53.281]
File <pxelinux.cfg\01-00-06-5b-d7-0d-f9> : error 3 in system call CreateFile The system cannot find the path specified. [18/02 14:24:53.281]
Connection received from 192.168.1.200 on port 57090 [18/02 14:24:53.281]
Read request for file <pxelinux.cfg/C0A801C8>. Mode octet [18/02 14:24:53.281]
File <pxelinux.cfg\C0A801C8> : error 3 in system call CreateFile The system cannot find the path specified. [18/02 14:24:53.281]
Connection received from 192.168.1.200 on port 57091 [18/02 14:24:53.281]
Read request for file <pxelinux.cfg/C0A801C>. Mode octet [18/02 14:24:53.296]
File <pxelinux.cfg\C0A801C> : error 3 in system call CreateFile The system cannot find the path specified. [18/02 14:24:53.296]
Connection received from 192.168.1.200 on port 57092 [18/02 14:24:53.296]
Read request for file <pxelinux.cfg/C0A801>. Mode octet [18/02 14:24:53.296]
File <pxelinux.cfg\C0A801> : error 3 in system call CreateFile The system cannot find the path specified. [18/02 14:24:53.296]
Connection received from 192.168.1.200 on port 57093 [18/02 14:24:53.296]
Read request for file <pxelinux.cfg/C0A80>. Mode octet [18/02 14:24:53.312]
File <pxelinux.cfg\C0A80> : error 3 in system call CreateFile The system cannot find the path specified. [18/02 14:24:53.312]
Connection received from 192.168.1.200 on port 57094 [18/02 14:24:53.312]
Read request for file <pxelinux.cfg/C0A8>. Mode octet [18/02 14:24:53.312]
File <pxelinux.cfg\C0A8> : error 3 in system call CreateFile The system cannot find the path specified. [18/02 14:24:53.312]
Connection received from 192.168.1.200 on port 57095 [18/02 14:24:53.312]
Read request for file <pxelinux.cfg/C0A>. Mode octet [18/02 14:24:53.328]
File <pxelinux.cfg\C0A> : error 3 in system call CreateFile The system cannot find the path specified. [18/02 14:24:53.328]
Connection received from 192.168.1.200 on port 57096 [18/02 14:24:53.328]
Read request for file <pxelinux.cfg/C0>. Mode octet [18/02 14:24:53.328]
File <pxelinux.cfg\C0> : error 3 in system call CreateFile The system cannot find the path specified. [18/02 14:24:53.328]
Connection received from 192.168.1.200 on port 57097 [18/02 14:24:53.328]
Read request for file <pxelinux.cfg/C>. Mode octet [18/02 14:24:53.343]
File <pxelinux.cfg\C> : error 3 in system call CreateFile The system cannot find the path specified. [18/02 14:24:53.343]
Connection received from 192.168.1.200 on port 57098 [18/02 14:24:53.343]
Read request for file <pxelinux.cfg/default>. Mode octet [18/02 14:24:53.343]
File <pxelinux.cfg\default> : error 3 in system call CreateFile The system cannot find the path specified. [18/02 14:24:53.343]
Connection received from 192.168.1.200 on port 57099 [18/02 14:24:53.343]
Read request for file <linux>. Mode octet [18/02 14:24:53.343]
File <linux> : error 2 in system call CreateFile The system cannot find the file specified. [18/02 14:24:53.343]
Connection received from 192.168.1.200 on port 57100 [18/02 14:24:53.343]
Read request for file <linux.cbt>. Mode octet [18/02 14:24:53.359]
File <linux.cbt> : error 2 in system call CreateFile The system cannot find the file specified. [18/02 14:24:53.359]
Connection received from 192.168.1.200 on port 57101 [18/02 14:24:53.359]
Read request for file <linux.0>. Mode octet [18/02 14:24:53.359]
File <linux.0> : error 2 in system call CreateFile The system cannot find the file specified. [18/02 14:24:53.359]
Connection received from 192.168.1.200 on port 57102 [18/02 14:24:53.359]
Read request for file <linux.com>. Mode octet [18/02 14:24:53.375]
File <linux.com> : error 2 in system call CreateFile The system cannot find the file specified. [18/02 14:24:53.375]
Connection received from 192.168.1.200 on port 57103 [18/02 14:24:53.375]
Read request for file <linux.c32>. Mode octet [18/02 14:24:53.375]
File <linux.c32> : error 2 in system call CreateFile The system cannot find the file specified. [18/02 14:24:53.375]


Quote:
Originally Posted by allend View Post
What boot prompt?
The boot prompt in #16:
Could not find kernel image: linux
boot:

Quote:
Originally Posted by allend View Post
Could the target PC require additional kernel parameters?
I suspect there may be a few display parameters required but no mention is made of them in any of the sites and forums I have visited. In the past I've always got away with the default.

Last edited by SAJM; 02-18-2014 at 08:35 AM.
 
Old 02-18-2014, 10:17 AM   #24
SAJM
Member
 
Registered: Nov 2012
Location: Essex UK
Distribution: Slackware 15
Posts: 269

Original Poster
Rep: Reputation: Disabled
Suddenly it almost worked. I have no idea what I did!!

Anyway here is what I have

I can boot (run) the PC with memtest. It tells me I have a Pentium III 866Mhz mobile with 255M RAM. It all passes OK

loading huge.s or hugesmp.s brings up the following error which locks up the PC

Call Trace:
[<cla8cf65>] dump_stack+0x16/0x18
[<cla86659>] panic+0x82/0x166
[<cla78ad8>] kernel_init+0x148/0x150
[<cla95377>] ret_from_kernel_thread+0x1b/0x28
[<cla78990>] ? rest_init+0x70/0x70

And then the PC locks up.
 
Old 02-18-2014, 11:14 AM   #25
SAJM
Member
 
Registered: Nov 2012
Location: Essex UK
Distribution: Slackware 15
Posts: 269

Original Poster
Rep: Reputation: Disabled
[QUOTE=SAJM;5120131]Suddenly it almost worked. I have no idea what I did!!

/QUOTE]


Here is the tftpd32 log. There are still a few download errors

TIMEOUT waiting for Ack block #50175 [18/02 17:05:21.515]
Rcvd DHCP Discover Msg for IP 0.0.0.0, Mac 00:06:5B:D7:0D:F9 [18/02 17:05:29.437]
DHCP: proposed address 192.168.1.200 [18/02 17:05:30.406]
Rcvd DHCP Rqst Msg for IP 0.0.0.0, Mac 00:06:5B:D7:0D:F9 [18/02 17:05:33.500]
Previously allocated address 192.168.1.200 acked [18/02 17:05:33.500]
Connection received from 192.168.1.200 on port 2070 [18/02 17:05:33.546]
Read request for file <pxelinux.0>. Mode octet [18/02 17:05:33.546]
Using local port 35103 [18/02 17:05:33.546]
<pxelinux.0>: sent 24 blks, 11816 bytes in 0 s. 0 blk resent [18/02 17:05:33.562]
Connection received from 192.168.1.200 on port 57089 [18/02 17:05:33.640]
Read request for file <pxelinux.cfg/01-00-06-5b-d7-0d-f9>. Mode octet [18/02 17:05:33.640]
File <pxelinux.cfg\01-00-06-5b-d7-0d-f9> : error 2 in system call CreateFile The system cannot find the file specified. [18/02 17:05:33.640]
Connection received from 192.168.1.200 on port 57090 [18/02 17:05:33.640]
Read request for file <pxelinux.cfg/C0A801C8>. Mode octet [18/02 17:05:33.656]
File <pxelinux.cfg\C0A801C8> : error 2 in system call CreateFile The system cannot find the file specified. [18/02 17:05:33.656]
Connection received from 192.168.1.200 on port 57091 [18/02 17:05:33.656]
Read request for file <pxelinux.cfg/C0A801C>. Mode octet [18/02 17:05:33.656]
File <pxelinux.cfg\C0A801C> : error 2 in system call CreateFile The system cannot find the file specified. [18/02 17:05:33.656]
Connection received from 192.168.1.200 on port 57092 [18/02 17:05:33.671]
Read request for file <pxelinux.cfg/C0A801>. Mode octet [18/02 17:05:33.671]
File <pxelinux.cfg\C0A801> : error 2 in system call CreateFile The system cannot find the file specified. [18/02 17:05:33.671]
Connection received from 192.168.1.200 on port 57093 [18/02 17:05:33.671]
Read request for file <pxelinux.cfg/C0A80>. Mode octet [18/02 17:05:33.671]
File <pxelinux.cfg\C0A80> : error 2 in system call CreateFile The system cannot find the file specified. [18/02 17:05:33.671]
Connection received from 192.168.1.200 on port 57094 [18/02 17:05:33.687]
Read request for file <pxelinux.cfg/C0A8>. Mode octet [18/02 17:05:33.687]
File <pxelinux.cfg\C0A8> : error 2 in system call CreateFile The system cannot find the file specified. [18/02 17:05:33.687]
Connection received from 192.168.1.200 on port 57095 [18/02 17:05:33.687]
Read request for file <pxelinux.cfg/C0A>. Mode octet [18/02 17:05:33.687]
File <pxelinux.cfg\C0A> : error 2 in system call CreateFile The system cannot find the file specified. [18/02 17:05:33.687]
Connection received from 192.168.1.200 on port 57096 [18/02 17:05:33.703]
Read request for file <pxelinux.cfg/C0>. Mode octet [18/02 17:05:33.703]
File <pxelinux.cfg\C0> : error 2 in system call CreateFile The system cannot find the file specified. [18/02 17:05:33.703]
Connection received from 192.168.1.200 on port 57097 [18/02 17:05:33.703]
Read request for file <pxelinux.cfg/C>. Mode octet [18/02 17:05:33.703]
File <pxelinux.cfg\C> : error 2 in system call CreateFile The system cannot find the file specified. [18/02 17:05:33.703]
Connection received from 192.168.1.200 on port 57098 [18/02 17:05:33.718]
Read request for file <pxelinux.cfg/default>. Mode octet [18/02 17:05:33.718]
OACK: <tsize=905,> [18/02 17:05:33.718]
Using local port 35115 [18/02 17:05:33.718]
<pxelinux.cfg\default>: sent 2 blks, 905 bytes in 0 s. 0 blk resent [18/02 17:05:33.718]
Connection received from 192.168.1.200 on port 57099 [18/02 17:05:33.718]
Read request for file <message.txt>. Mode octet [18/02 17:05:33.718]
OACK: <tsize=873,> [18/02 17:05:33.718]
Using local port 35116 [18/02 17:05:33.718]
<message.txt>: sent 2 blks, 873 bytes in 0 s. 0 blk resent [18/02 17:05:33.734]
Connection received from 192.168.1.200 on port 57100 [18/02 17:05:49.062]
Read request for file <kernels/huge.s/bzImage>. Mode octet [18/02 17:05:49.062]
OACK: <tsize=5995104,> [18/02 17:05:49.062]
Using local port 35126 [18/02 17:05:49.062]
<kernels\huge.s\bzImage>: sent 11710 blks, 5995104 bytes in 5 s. 0 blk resent [18/02 17:05:54.468]
Connection received from 192.168.1.200 on port 57101 [18/02 17:05:54.468]
Read request for file <initrd.img>. Mode octet [18/02 17:05:54.484]
OACK: <tsize=30423684,> [18/02 17:05:54.484]
Using local port 35129 [18/02 17:05:54.484]
Ack block 28957 ignored (received twice) [18/02 17:06:08.171]
<initrd.img>: sent 59422 blks, 30423684 bytes in 27 s. 0 blk resent [18/02 17:06:21.812]
 
Old 02-18-2014, 06:09 PM   #26
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,367

Rep: Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748
This looks very close. Files are being requested and transferred.
Quote:
Connection received from 192.168.1.200 on port 57098 [18/02 17:05:33.718]
Read request for file <pxelinux.cfg/default>. Mode octet [18/02 17:05:33.718]
OACK: <tsize=905,> [18/02 17:05:33.718]
Using local port 35115 [18/02 17:05:33.718]
<pxelinux.cfg\default>: sent 2 blks, 905 bytes in 0 s. 0 blk resent [18/02 17:05:33.718]
Connection received from 192.168.1.200 on port 57099 [18/02 17:05:33.718]
Read request for file <message.txt>. Mode octet [18/02 17:05:33.718]
OACK: <tsize=873,> [18/02 17:05:33.718]
Using local port 35116 [18/02 17:05:33.718]
<message.txt>: sent 2 blks, 873 bytes in 0 s. 0 blk resent [18/02 17:05:33.734]
Connection received from 192.168.1.200 on port 57100 [18/02 17:05:49.062]
Read request for file <kernels/huge.s/bzImage>. Mode octet [18/02 17:05:49.062]
OACK: <tsize=5995104,> [18/02 17:05:49.062]
Using local port 35126 [18/02 17:05:49.062]
<kernels\huge.s\bzImage>: sent 11710 blks, 5995104 bytes in 5 s. 0 blk resent [18/02 17:05:54.468]
Connection received from 192.168.1.200 on port 57101 [18/02 17:05:54.468]
Read request for file <initrd.img>. Mode octet [18/02 17:05:54.484]
OACK: <tsize=30423684,> [18/02 17:05:54.484]
Using local port 35129 [18/02 17:05:54.484]
Ack block 28957 ignored (received twice) [18/02 17:06:08.171]
<initrd.img>: sent 59422 blks, 30423684 bytes in 27 s. 0 blk resent [18/02 17:06:21.812]
But why is the target PC requesting the huge.s kernel image rather than the hugesmp.s kernel image as is the default in the file pxelinux.cfg/default?
Also, there is nothing in the listing showing the transfer of the file f2.txt.
 
Old 02-18-2014, 08:06 PM   #27
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,367

Rep: Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748
This seems to be a problem.
Quote:
<initrd.img>: sent 59422 blks, 30423684 bytes in 27 s. 0 blk resent [18/02 17:06:21.812]
According to the FILELIST.TXT
Code:
-rw-r--r--  1 root root  38026282 2013-11-01 01:20 ./isolinux/initrd.img
Note the difference in file sizes.
Is the initrd.img file correct in your PXE boot tree?
 
Old 02-19-2014, 10:41 AM   #28
SAJM
Member
 
Registered: Nov 2012
Location: Essex UK
Distribution: Slackware 15
Posts: 269

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by allend View Post
This seems to be a problem.

According to the FILELIST.TXT
Code:
-rw-r--r--  1 root root  38026282 2013-11-01 01:20 ./isolinux/initrd.img
Note the difference in file sizes.
Is the initrd.img file correct in your PXE boot tree?
B I N G O That was it!!!

Thanks so very much for your help Allend

Best regards

Steve
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
PXE Boot splinux Linux - Networking 1 11-22-2011 03:49 PM
pxe boot "PXE-T01 file not found" ssharma_02 Linux - Networking 16 05-18-2011 03:21 PM
[SOLVED] PXE boot with pfSense and Slack lpallard Slackware 8 09-28-2010 11:13 AM
When I boot with PXE Boot into openSuse, error says 'invalid or corrupt kernel image' rfelsburg SUSE / openSUSE 0 05-13-2010 08:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:54 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration