* Pls help: net boot failure
@ 2003-08-12 10:20 ST Wong
2003-08-12 11:12 ` Måns Rullgård
0 siblings, 1 reply; 18+ messages in thread
From: ST Wong @ 2003-08-12 10:20 UTC (permalink / raw)
Hi all,
I setup bootp and tftp servers on an AXP running RedHat 7.2, in order
to netboot some DS10L which don't have floppy or CD-ROM drive. I
tried different methods mentioned in HOWTO's and newsgroups. The best
result i obtained is :
------------------ cut here -----------------
>>>boot ewa0
(boot ewa0.0.0.9.0 -flags A)
Trying BOOTP boot.
Broadcasting BOOTP Request...
Received BOOTP Packet File Name is: /vmlinux.bootp
[..snip..]
initializing machine state
setting affinity to the primary CPU
jumping to bootstrap code
aboot: Linux/Alpha SRM bootloader version 0.9b
aboot: switching to OSF/1 PALcode version 1.72
halted CPU 0
halt code = 2
kernel stack not valid halt
PC = fffffc0000313144
boot failure
------------------ cut here -----------------
Sometimes the boot process hanged after the "switching to OSF/1
PALcode version" message.
I'm afraid i mixed up the steps from difference sources. I searched
for bootable vmlinux.bootp with NFS support in newsgroups but the
links I found are no longer valid. I'd like to know if there is
another HOWTO for network boot is available. Would anyone pls help ?
Thanks a lot.
ST Wong
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: Pls help: net boot failure
2003-08-12 10:20 Pls help: net boot failure ST Wong
@ 2003-08-12 11:12 ` Måns Rullgård
2003-08-13 6:02 ` ST Wong
0 siblings, 1 reply; 18+ messages in thread
From: Måns Rullgård @ 2003-08-12 11:12 UTC (permalink / raw)
st-wong@alumni.cuhk.net (ST Wong) writes:
> I setup bootp and tftp servers on an AXP running RedHat 7.2, in order
> to netboot some DS10L which don't have floppy or CD-ROM drive. I
> tried different methods mentioned in HOWTO's and newsgroups. The best
> result i obtained is :
>
> ------------------ cut here -----------------
>>>>boot ewa0
> (boot ewa0.0.0.9.0 -flags A)
Try "boot ewa0 -flags i", and see if you get an aboot prompt.
> Trying BOOTP boot.
>
> Broadcasting BOOTP Request...
> Received BOOTP Packet File Name is: /vmlinux.bootp
> [..snip..]
> initializing machine state
> setting affinity to the primary CPU
> jumping to bootstrap code
> aboot: Linux/Alpha SRM bootloader version 0.9b
> aboot: switching to OSF/1 PALcode version 1.72
This shows that the image was correctly received and accepted by SRM.
So far, so good.
> halted CPU 0
>
> halt code = 2
> kernel stack not valid halt
> PC = fffffc0000313144
> boot failure
This usually happens when aboot switches to the kernel and something
goes wrong. Try stripping the kernel to a bare minimum, leave only
network and nfs built in and compile everything else as modules. Also
try turning off "Legacy start address" in the "Kernel hacking" section
during configuration. Those things have helped me with the very same
problem.
--
M�ns Rullg�rd
mru@users.sf.net
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: Pls help: net boot failure
2003-08-12 11:12 ` Måns Rullgård
@ 2003-08-13 6:02 ` ST Wong
2003-08-13 8:51 ` Måns Rullgård
0 siblings, 1 reply; 18+ messages in thread
From: ST Wong @ 2003-08-13 6:02 UTC (permalink / raw)
Hi,
Thanks for your help. After recompiling a minimal kernel with "Legacy
start address" turned off, I got following :
------------ cut here -----------
[...snip...]
initializing page table at 1ff48000
initializing machine state
setting affinity to the primary CPU
jumping to bootstrap code
aboot: Linux/Alpha SRM bootloader version 0.9b
aboot: switching to OSF/1 PALcode version 1.72
aboot: starting kernel network with arguments root=/dev/nfs
------------ cut here -----------
The boot process seems hanged up again. I tried different
boot_osflags but the result is the same.
I'm using kernel 2.4.21 and wonder if this version works with netboot
of Alpha. Btw, i built vmlinux.bootp using aboot 0.9b (make
netboot).
Would you mind sending me your kernel .config ? Which version did
you use?
Thanks again.
/ST
mru@users.sourceforge.net (M�ns Rullg�rd) wrote in message news:<yw1xr83r9ljw.fsf@users.sourceforge.net>...
> st-wong@alumni.cuhk.net (ST Wong) writes:
>
> > I setup bootp and tftp servers on an AXP running RedHat 7.2, in order
> > to netboot some DS10L which don't have floppy or CD-ROM drive. I
> > tried different methods mentioned in HOWTO's and newsgroups. The best
> > result i obtained is :
> >
> > ------------------ cut here -----------------
> >>>>boot ewa0
> > (boot ewa0.0.0.9.0 -flags A)
>
> Try "boot ewa0 -flags i", and see if you get an aboot prompt.
>
> > Trying BOOTP boot.
> >
> > Broadcasting BOOTP Request...
> > Received BOOTP Packet File Name is: /vmlinux.bootp
> > [..snip..]
> > initializing machine state
> > setting affinity to the primary CPU
> > jumping to bootstrap code
> > aboot: Linux/Alpha SRM bootloader version 0.9b
> > aboot: switching to OSF/1 PALcode version 1.72
>
> This shows that the image was correctly received and accepted by SRM.
> So far, so good.
>
> > halted CPU 0
> >
> > halt code = 2
> > kernel stack not valid halt
> > PC = fffffc0000313144
> > boot failure
>
> This usually happens when aboot switches to the kernel and something
> goes wrong. Try stripping the kernel to a bare minimum, leave only
> network and nfs built in and compile everything else as modules. Also
> try turning off "Legacy start address" in the "Kernel hacking" section
> during configuration. Those things have helped me with the very same
> problem.
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: Pls help: net boot failure
2003-08-13 6:02 ` ST Wong
@ 2003-08-13 8:51 ` Måns Rullgård
2003-08-16 4:29 ` ST Wong
0 siblings, 1 reply; 18+ messages in thread
From: Måns Rullgård @ 2003-08-13 8:51 UTC (permalink / raw)
st-wong@alumni.cuhk.net (ST Wong) writes:
> Thanks for your help. After recompiling a minimal kernel with "Legacy
> start address" turned off, I got following :
>
> ------------ cut here -----------
> [...snip...]
> initializing page table at 1ff48000
> initializing machine state
> setting affinity to the primary CPU
> jumping to bootstrap code
> aboot: Linux/Alpha SRM bootloader version 0.9b
> aboot: switching to OSF/1 PALcode version 1.72
> aboot: starting kernel network with arguments root=/dev/nfs
> ------------ cut here -----------
>
> The boot process seems hanged up again. I tried different
> boot_osflags but the result is the same.
Did you try "-flags i"?
> I'm using kernel 2.4.21 and wonder if this version works with netboot
> of Alpha. Btw, i built vmlinux.bootp using aboot 0.9b (make
> netboot).
That kernel works for me.
> Would you mind sending me your kernel .config ? Which version did
> you use?
You'll find both .config and a compiled kernel at
http://mru.ath.cx/~mru. The kernel is compiled for Miata (PWS)
systems, so it won't work with your DS10. Maybe you have a Miata you
could try it out on.
--
M�ns Rullg�rd
mru@users.sf.net
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: Pls help: net boot failure
2003-08-13 8:51 ` Måns Rullgård
@ 2003-08-16 4:29 ` ST Wong
2003-08-17 11:16 ` Måns Rullgård
0 siblings, 1 reply; 18+ messages in thread
From: ST Wong @ 2003-08-16 4:29 UTC (permalink / raw)
mru@users.sourceforge.net (M�ns Rullg�rd) wrote in message :
>
> You'll find both .config and a compiled kernel at
> http://mru.ath.cx/~mru. The kernel is compiled for Miata (PWS)
> systems, so it won't work with your DS10. Maybe you have a Miata you
> could try it out on.
Thanks for your help. After changing some kernel configuration
options, the boot process continues. I think it's because the serial
console support was not selected before. However, the boot process
hangs again. I use different boot options (including null) but they
all hanged at the same place :
------------ cut here -----------
>>>boot ewa0 -fl "root=/dev/nfs"
(boot ewa0.0.0.9.0 -flags root=/dev/nfs)
Trying BOOTP boot.
Broadcasting BOOTP Request...
Received BOOTP Packet File Name is: /vmlinux.bootp
local inet address: 192.168.1.235
remote inet address: 192.168.1.1
TFTP Read File Name: /vmlinux.bootp
netmask = 255.255.255.0
Server is on same subnet as client.
......................
bootstrap code read in
base = 200000, image_start = 0, image_bytes = 15024a
initializing HWRPB at 2000
initializing page table at 1ff48000
initializing machine state
setting affinity to the primary CPU
jumping to bootstrap code
aboot: Linux/Alpha SRM bootloader version 0.9b
aboot: switching to OSF/1 PALcode version 1.72
aboot: starting kernel network with arguments root=/dev/nfs
Linux version 2.4.21 (root@oxygen.itsc.cuhk.edu.hk) (gcc version 2.96
20000731 3
Booting on Tsunami variation Webbrick using machine vector Webbrick
from SRM
Command line: root=/dev/nfs
memcluster 0, usage 1, start 0, end 256
memcluster 1, usage 0, start 256, end 65443
memcluster 2, usage 1, start 65443, end 65536
freeing pages 256:2048
freeing pages 2480:65443
reserving pages 2480:2481
On node 0 totalpages: 65443
zone(0): 65443 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: root=/dev/nfs
Using epoch = 1952
Calibrating delay loop... 921.84 BogoMIPS
Memory: 511856k/523544k available (2127k kernel code, 9640k reserved,
614k data)
Dentry cache hash table entries: 65536 (order: 7, 1048576 bytes)
Inode cache hash table entries: 32768 (order: 6, 524288 bytes)
Mount cache hash table entries: 512 (order: 0, 8192 bytes)
Buffer-cache hash table entries: 32768 (order: 5, 262144 bytes)
Page-cache hash table entries: 65536 (order: 6, 524288 bytes)
POSIX conformance testing by UNIFIX
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
srm_env: version 0.0.5 loaded successfully
Starting kswapd
Journalled Block Device driver loaded
initialize_kbd: Keyboard reset failed, no ACK
pty: 256 Unix98 ptys configured
keyboard: Timeout - AT keyboard not present?(ed)
keyboard: Timeout - AT keyboard not present?(f4)
Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ
SERIAL_PCI Id
ttyS00 at 0x03f8 (irq = 4) is a 16550A
ttyS01 at 0x02f8 (irq = 3) is a 16550A
rtc: Digital UNIX epoch (1952) detected
Real Time Clock Driver v1.10e
eth0: DC21143 at 0x8000 (PCI bus 0, device 9), h/w address
08:00:2b:86:d1:02,
and requires IRQ29 (provided by PCI BIOS).
de4x5.c:V0.546 2001/02/22 davies@maniac.ultranet.com
eth1: DC21143 at 0x8080 (PCI bus 0, device 11), h/w address
08:00:2b:86:d1:03,
and requires IRQ30 (provided by PCI BIOS).
de4x5.c:V0.546 2001/02/22 davies@maniac.ultranet.com
arcnet: v3.93 BETA 2000/04/29 - by Avery Pennarun et al.
arcnet: Available protocols:
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
loop: loaded (max 8 devices)
HP CISS Driver (v 2.4.42)
Linux Tulip driver version 0.9.15-pre12 (Aug 9, 2002)
PCI: Unable to reserve I/O region #1:80@8000 for device 00:09.0
PCI: Unable to reserve I/O region #1:80@8000 for device 00:09.0
PCI: Unable to reserve I/O region #1:80@8080 for device 00:0b.0
PCI: Unable to reserve I/O region #1:80@8080 for device 00:0b.0
Uniform Multi-Platform E-IDE driver Revision: 7.00beta4-2.4
ide: Assuming 33MHz system bus speed for PIO modes; override with
idebus=xx
ALI15X3: IDE controller at PCI slot 00:0d.0
ALI15X3: chipset revision 193
ALI15X3: not 100% native mode: will probe irqs later
ide0: BM-DMA at 0x8400-0x8407, BIOS settings: hda:pio, hdb:pio
ide1: BM-DMA at 0x8408-0x840f, BIOS settings: hdc:pio, hdd:pio
hda: Maxtor 51024U2, ATA DISK drive
blk: queue fffffc000130be80, no I/O memory limit
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hda: attached ide-disk driver.
<--- hangs here
------------ cut here -----------
I'm still trying different kernel options but have no idea at this
moment :(
I now tend to enable most of the options just in case anything missed.
Not sure if this will make the situation worse...
Thanks again.
/ST
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: Pls help: net boot failure
2003-08-16 4:29 ` ST Wong
@ 2003-08-17 11:16 ` Måns Rullgård
2003-08-18 3:36 ` ST Wong
0 siblings, 1 reply; 18+ messages in thread
From: Måns Rullgård @ 2003-08-17 11:16 UTC (permalink / raw)
st-wong@alumni.cuhk.net (ST Wong) writes:
> eth0: DC21143 at 0x8000 (PCI bus 0, device 9), h/w address
> 08:00:2b:86:d1:02,
> and requires IRQ29 (provided by PCI BIOS).
> de4x5.c:V0.546 2001/02/22 davies@maniac.ultranet.com
> eth1: DC21143 at 0x8080 (PCI bus 0, device 11), h/w address
> 08:00:2b:86:d1:03,
> and requires IRQ30 (provided by PCI BIOS).
> de4x5.c:V0.546 2001/02/22 davies@maniac.ultranet.com
> Linux Tulip driver version 0.9.15-pre12 (Aug 9, 2002)
> PCI: Unable to reserve I/O region #1:80@8000 for device 00:09.0
> PCI: Unable to reserve I/O region #1:80@8000 for device 00:09.0
> PCI: Unable to reserve I/O region #1:80@8080 for device 00:0b.0
> PCI: Unable to reserve I/O region #1:80@8080 for device 00:0b.0
It looks like you have both tulip and de4x5 enabled. One of these is
enough. I use tulip.
> hda: Maxtor 51024U2, ATA DISK drive
> blk: queue fffffc000130be80, no I/O memory limit
> ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
> hda: attached ide-disk driver.
>
> <--- hangs here
It's probably a problem with the IDE driver. Try disabling IDE
support and see if it gets any further. You add a PCI IDE controller
and use that instead of the onboard one.
--
M�ns Rullg�rd
mru@users.sf.net
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: Pls help: net boot failure
2003-08-17 11:16 ` Måns Rullgård
@ 2003-08-18 3:36 ` ST Wong
2003-08-18 10:07 ` Måns Rullgård
0 siblings, 1 reply; 18+ messages in thread
From: ST Wong @ 2003-08-18 3:36 UTC (permalink / raw)
Hi,
> It looks like you have both tulip and de4x5 enabled. One of these is
> enough. I use tulip.
>
> > hda: Maxtor 51024U2, ATA DISK drive
> > blk: queue fffffc000130be80, no I/O memory limit
> > ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
> > hda: attached ide-disk driver.
> >
> > <--- hangs here
>
> It's probably a problem with the IDE driver. Try disabling IDE
> support and see if it gets any further. You add a PCI IDE controller
> and use that instead of the onboard one.
After disabling IDE driver, the boot process proceeded to the NFS
mount stage.
However, it can't get NFS server information through RPC. Since there
is no restriction in contacting portmap/nfsd/mountd on the NFS server
from this client, I wonder if I missed anything in the client network
configuration part.
Woud you pls help again? Sorry for the trouble caused.
Thanks a lot.
/ST
----------------- cut here --------------
>>>boot ewa0 -fl "root=/dev/nfs nfsroot=192.168.1.1:/export"
Reseting I/O buses...
(boot ewa0.0.0.9.0 -flags root=/dev/nfs nfsroot=192.168.1.1:/export)
Trying BOOTP boot.
Broadcasting BOOTP Request...
Received BOOTP Packet File Name is: /vmlinux.bootp
local inet address: 192.168.1.236
remote inet address: 192.168.1.1
TFTP Read File Name: /vmlinux.bootp
netmask = 255.255.255.0
Server is on same subnet as client.
....................
bootstrap code read in
base = 200000, image_start = 0, image_bytes = 131fc8
initializing HWRPB at 2000
initializing page table at 1ff48000
initializing machine state
setting affinity to the primary CPU
jumping to bootstrap code
aboot: Linux/Alpha SRM bootloader version 0.9b
aboot: switching to OSF/1 PALcode version 1.72
aboot: starting kernel network with arguments root=/dev/nfs
nfsroot=192.168.1.1t
Linux version 2.4.21 (root@oxygen.itsc.cuhk.edu.hk) (gcc version 2.96
20000731 3
Booting on Tsunami variation Webbrick using machine vector Webbrick
from SRM
Command line: root=/dev/nfs nfsroot=192.168.1.1:/export
memcluster 0, usage 1, start 0, end 256
memcluster 1, usage 0, start 256, end 65443
memcluster 2, usage 1, start 65443, end 65536
freeing pages 256:2048
freeing pages 2442:65443
reserving pages 2442:2443
On node 0 totalpages: 65443
zone(0): 65443 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: root=/dev/nfs nfsroot=192.168.1.1:/export
Using epoch = 1952
Calibrating delay loop... 921.84 BogoMIPS
Memory: 512160k/523544k available (1924k kernel code, 9336k reserved,
550k data)
Dentry cache hash table entries: 65536 (order: 7, 1048576 bytes)
Inode cache hash table entries: 32768 (order: 6, 524288 bytes)
Mount cache hash table entries: 512 (order: 0, 8192 bytes)
Buffer-cache hash table entries: 32768 (order: 5, 262144 bytes)
Page-cache hash table entries: 65536 (order: 6, 524288 bytes)
POSIX conformance testing by UNIFIX
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
srm_env: version 0.0.5 loaded successfully
Starting kswapd
Journalled Block Device driver loaded
devfs: v1.12c (20020818) Richard Gooch (rgooch@atnf.csiro.au)
devfs: boot_options: 0x0
initialize_kbd: Keyboard reset failed, no ACK
keyboard: Timeout - AT keyboard not present?(ed)
keyboard: Timeout - AT keyboard not present?(f4)
pty: 256 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ
SERIAL_PCI Id
ttyS00 at 0x03f8 (irq = 4) is a 16550A
ttyS01 at 0x02f8 (irq = 3) is a 16550A
rtc: Digital UNIX epoch (1952) detected
Real Time Clock Driver v1.10e
arcnet: v3.93 BETA 2000/04/29 - by Avery Pennarun et al.
arcnet: Available protocols:
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
loop: loaded (max 8 devices)
HP CISS Driver (v 2.4.42)
Linux Tulip driver version 0.9.15-pre12 (Aug 9, 2002)
tulip0: EEPROM default media type Autosense.
tulip0: Index #0 - Media 10baseT (#0) described by a 21142 Serial PHY
(2) bloc.
tulip0: Index #1 - Media 10baseT-FDX (#4) described by a 21142 Serial
PHY (2) .
tulip0: Index #2 - Media 100baseTx (#3) described by a 21143 SYM PHY
(4) block.
tulip0: Index #3 - Media 100baseTx-FDX (#5) described by a 21143 SYM
PHY (4) b.
eth0: Digital DS21143 Tulip rev 65 at 0x8000, 08:00:2B:86:ED:7D, IRQ
29.
tulip1: EEPROM default media type Autosense.
tulip1: Index #0 - Media 10baseT (#0) described by a 21142 Serial PHY
(2) bloc.
tulip1: Index #1 - Media 10baseT-FDX (#4) described by a 21142 Serial
PHY (2) .
tulip1: Index #2 - Media 100baseTx (#3) described by a 21143 SYM PHY
(4) block.
tulip1: Index #3 - Media 100baseTx-FDX (#5) described by a 21143 SYM
PHY (4) b.
eth1: Digital DS21143 Tulip rev 65 at 0x8080, 08:00:2B:86:E0:88, IRQ
30.
SCSI subsystem driver Revision: 1.00
mice: PS/2 mouse device common for all mice
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
IP: routing cache hash table of 8192 buckets, 64Kbytes
TCP: Hash tables configured (established 65536 bind 65536)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
Looking up port of RPC 100003/2 on 192.168.1.1
RPC: sendmsg returned error 51
portmap: RPC call returned error 51
Root-NFS: Unable to get nfsd port number from server, using default
Looking up port of RPC 100005/1 on 192.168.1.1
RPC: sendmsg returned error 51
portmap: RPC call returned error 51
Root-NFS: Unable to get mountd port number from server, using default
RPC: sendmsg returned error 51
mount: RPC call returned error 51
Root-NFS: Server returned error -51 while mounting /export
VFS: Unable to mount root fs via NFS, trying floppy.
VFS: Cannot open root device "nfs" or 02:00
Please append a correct "root=" boot option
Kernel panic: VFS: Unable to mount root fs on 02:00
------------- cut here --------------------
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: Pls help: net boot failure
2003-08-18 3:36 ` ST Wong
@ 2003-08-18 10:07 ` Måns Rullgård
2003-08-19 3:20 ` ST Wong
0 siblings, 1 reply; 18+ messages in thread
From: Måns Rullgård @ 2003-08-18 10:07 UTC (permalink / raw)
st-wong@alumni.cuhk.net (ST Wong) writes:
>> It looks like you have both tulip and de4x5 enabled. One of these is
>> enough. I use tulip.
>>
>> > hda: Maxtor 51024U2, ATA DISK drive
>> > blk: queue fffffc000130be80, no I/O memory limit
>> > ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
>> > hda: attached ide-disk driver.
>> >
>> > <--- hangs here
>>
>> It's probably a problem with the IDE driver. Try disabling IDE
>> support and see if it gets any further. You add a PCI IDE controller
>> and use that instead of the onboard one.
>
> After disabling IDE driver, the boot process proceeded to the NFS
> mount stage.
> However, it can't get NFS server information through RPC. Since there
> is no restriction in contacting portmap/nfsd/mountd on the NFS server
> from this client, I wonder if I missed anything in the client network
> configuration part.
Did you enable "IP: Kernel level autoconfiguration"? Do that and
choose DHCP. You'll also want to read Documentation/nfsroot.txt.
It'll tell you what you need to know to set things up.
--
M�ns Rullg�rd
mru@users.sf.net
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: Pls help: net boot failure
2003-08-18 10:07 ` Måns Rullgård
@ 2003-08-19 3:20 ` ST Wong
2003-08-19 9:23 ` Måns Rullgård
0 siblings, 1 reply; 18+ messages in thread
From: ST Wong @ 2003-08-19 3:20 UTC (permalink / raw)
Hi,
mru@users.sourceforge.net (M�ns Rullg�rd) wrote in message news:<yw1xd6f38ek2.fsf@users.sourceforge.net>...
> > After disabling IDE driver, the boot process proceeded to the NFS
> > mount stage.
> > However, it can't get NFS server information through RPC. Since there
> > is no restriction in contacting portmap/nfsd/mountd on the NFS server
> > from this client, I wonder if I missed anything in the client network
> > configuration part.
>
> Did you enable "IP: Kernel level autoconfiguration"? Do that and
> choose DHCP. You'll also want to read Documentation/nfsroot.txt.
> It'll tell you what you need to know to set things up.
Yes, both "IP: Kernel level autoconfiguration" and DHCP are enabled.
After reading Documentation/nfsroot.txt, also tried passing the "ip="
kernel parameter at boot but got the same result.
Seems the portmap on 192.168.1.1 didn't respond. I turned on debug
mode of portmap but nothing shown on stdout. According to the boot
messages, there are lot of error 51. Where can I get the meaning of
this error ?
Sorry for the trouble caused.
Thanks again.
/ST
[...snip...]
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
Looking up port of RPC 100003/2 on 192.168.1.1
RPC: sendmsg returned error 51
portmap: RPC call returned error 51
Root-NFS: Unable to get nfsd port number from server, using default
Looking up port of RPC 100005/1 on 192.168.1.1
RPC: sendmsg returned error 51
portmap: RPC call returned error 51
Root-NFS: Unable to get mountd port number from server, using default
RPC: sendmsg returned error 51
mount: RPC call returned error 51
Root-NFS: Server returned error -51 while mounting /export
VFS: Unable to mount root fs via NFS, trying floppy.
VFS: Cannot open root device "nfs" or 02:00
Please append a correct "root=" boot option
Kernel panic: VFS: Unable to mount root fs on 02:00
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: Pls help: net boot failure
2003-08-19 3:20 ` ST Wong
@ 2003-08-19 9:23 ` Måns Rullgård
2003-08-20 10:54 ` ST Wong
0 siblings, 1 reply; 18+ messages in thread
From: Måns Rullgård @ 2003-08-19 9:23 UTC (permalink / raw)
st-wong@alumni.cuhk.net (ST Wong) writes:
> Yes, both "IP: Kernel level autoconfiguration" and DHCP are enabled.
> After reading Documentation/nfsroot.txt, also tried passing the "ip="
> kernel parameter at boot but got the same result.
>
> Seems the portmap on 192.168.1.1 didn't respond. I turned on debug
Can it be mounted from other machines?
> mode of portmap but nothing shown on stdout. According to the boot
> messages, there are lot of error 51. Where can I get the meaning of
> this error ?
I've been wondering myself.
I suggest you run a network sniffer like ethereal, and see what's
really being sent.
--
M�ns Rullg�rd
mru@users.sf.net
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: Pls help: net boot failure
2003-08-19 9:23 ` Måns Rullgård
@ 2003-08-20 10:54 ` ST Wong
2003-08-20 11:12 ` Måns Rullgård
0 siblings, 1 reply; 18+ messages in thread
From: ST Wong @ 2003-08-20 10:54 UTC (permalink / raw)
mru@users.sourceforge.net (M�ns Rullg�rd) wrote in message news:<yw1xsmnyf1c6.fsf@users.sourceforge.net>...
> Can it be mounted from other machines?
Yes, it can be mounted by other machines on the same network.
> > mode of portmap but nothing shown on stdout. According to the boot
> > messages, there are lot of error 51. Where can I get the meaning of
> > this error ?
>
> I've been wondering myself.
According to include/asm-alpha/errno.h in the kernel source, error 51
means network unreachable. As there are 2 network interfaces on the
system, I'm afraid i missed out something in the configuration. I
tried to use boot paramater "ip=::::/dev/eth0:" as mentioned in
nfsroot.txt but the boot loader complaints that there is no such
device "/dev/eth0".
> I suggest you run a network sniffer like ethereal, and see what's
> really being sent.
I'll try it out.
Thanks again.
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: Pls help: net boot failure
2003-08-20 10:54 ` ST Wong
@ 2003-08-20 11:12 ` Måns Rullgård
2003-08-21 9:40 ` ST Wong
0 siblings, 1 reply; 18+ messages in thread
From: Måns Rullgård @ 2003-08-20 11:12 UTC (permalink / raw)
st-wong@alumni.cuhk.net (ST Wong) writes:
> According to include/asm-alpha/errno.h in the kernel source, error 51
> means network unreachable. As there are 2 network interfaces on the
> system, I'm afraid i missed out something in the configuration. I
> tried to use boot paramater "ip=::::/dev/eth0:" as mentioned in
> nfsroot.txt but the boot loader complaints that there is no such
> device "/dev/eth0".
Change that into just "eth0". Network devices don't have a
corresponding file in /dev.
--
M�ns Rullg�rd
mru@users.sf.net
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: Pls help: net boot failure
2003-08-20 11:12 ` Måns Rullgård
@ 2003-08-21 9:40 ` ST Wong
2003-08-21 9:50 ` Måns Rullgård
0 siblings, 1 reply; 18+ messages in thread
From: ST Wong @ 2003-08-21 9:40 UTC (permalink / raw)
mru@users.sourceforge.net (M�ns Rullg�rd) wrote in message news:<yw1xptj0d1m1.fsf@users.sourceforge.net>...
> st-wong@alumni.cuhk.net (ST Wong) writes:
>
> > According to include/asm-alpha/errno.h in the kernel source, error 51
> > means network unreachable. As there are 2 network interfaces on the
> > system, I'm afraid i missed out something in the configuration. I
> > tried to use boot paramater "ip=::::/dev/eth0:" as mentioned in
> > nfsroot.txt but the boot loader complaints that there is no such
> > device "/dev/eth0".
>
> Change that into just "eth0". Network devices don't have a
> corresponding file in /dev.
I tried eth0 and eth1 but both failed with the same result (RCP error
number 51). I use tcpdump to sniff the packets. Found that there is
no traffic from client after downloading the boot image using tftp.
It seems eth0 is not configured with network information obtained from
dhcpd... :-?
Thanks again.
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: Pls help: net boot failure
2003-08-21 9:40 ` ST Wong
@ 2003-08-21 9:50 ` Måns Rullgård
2003-08-22 2:05 ` ST Wong
0 siblings, 1 reply; 18+ messages in thread
From: Måns Rullgård @ 2003-08-21 9:50 UTC (permalink / raw)
st-wong@alumni.cuhk.net (ST Wong) writes:
>> > According to include/asm-alpha/errno.h in the kernel source, error 51
>> > means network unreachable. As there are 2 network interfaces on the
>> > system, I'm afraid i missed out something in the configuration. I
>> > tried to use boot paramater "ip=::::/dev/eth0:" as mentioned in
>> > nfsroot.txt but the boot loader complaints that there is no such
>> > device "/dev/eth0".
>>
>> Change that into just "eth0". Network devices don't have a
>> corresponding file in /dev.
>
> I tried eth0 and eth1 but both failed with the same result (RCP error
> number 51). I use tcpdump to sniff the packets. Found that there is
> no traffic from client after downloading the boot image using tftp.
> It seems eth0 is not configured with network information obtained from
> dhcpd... :-?
Do you see any dhcp traffic? Try configuring the IP address
manually, as in nfsroot.txt.
--
M�ns Rullg�rd
mru@users.sf.net
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: Pls help: net boot failure
2003-08-21 9:50 ` Måns Rullgård
@ 2003-08-22 2:05 ` ST Wong
2003-08-23 3:35 ` ST Wong
0 siblings, 1 reply; 18+ messages in thread
From: ST Wong @ 2003-08-22 2:05 UTC (permalink / raw)
mru@users.sourceforge.net (M�ns Rullg�rd) wrote in message news:<yw1xisorxrsx.fsf@users.sourceforge.net>...
> > I tried eth0 and eth1 but both failed with the same result (RCP error
> > number 51). I use tcpdump to sniff the packets. Found that there is
> > no traffic from client after downloading the boot image using tftp.
> > It seems eth0 is not configured with network information obtained from
> > dhcpd... :-?
>
> Do you see any dhcp traffic? Try configuring the IP address
> manually, as in nfsroot.txt.
Yes, i see dhcp traffic and there is no problem to tftp the boot
image. Then I see nothing about NFS or RPC related traffic. :-?
While the dhcp request broadcasts to the network, the portmap and NFS
mount requests require eth0 being configured. I wonder if the boot
process will do anything like ifconfig in order to set up eth0 before
sending any RPC request to the NFS server (although the server IP is
known to the boot process according to the boot messages).
Thanks.
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: Pls help: net boot failure
2003-08-22 2:05 ` ST Wong
@ 2003-08-23 3:35 ` ST Wong
2003-08-24 11:34 ` Måns Rullgård
0 siblings, 1 reply; 18+ messages in thread
From: ST Wong @ 2003-08-23 3:35 UTC (permalink / raw)
st-wong@alumni.cuhk.net (ST Wong) wrote in message news:<28073c51.0308211805.5ae792c0@posting.google.com>...
> mru@users.sourceforge.net (M�ns Rullg�rd) wrote in message news:<yw1xisorxrsx.fsf@users.sourceforge.net>...
> > > I tried eth0 and eth1 but both failed with the same result (RCP error
> > > number 51). I use tcpdump to sniff the packets. Found that there is
> > > no traffic from client after downloading the boot image using tftp.
> > > It seems eth0 is not configured with network information obtained from
> > > dhcpd... :-?
> >
> > Do you see any dhcp traffic? Try configuring the IP address
> > manually, as in nfsroot.txt.
>
> Yes, i see dhcp traffic and there is no problem to tftp the boot
> image. Then I see nothing about NFS or RPC related traffic. :-?
> While the dhcp request broadcasts to the network, the portmap and NFS
> mount requests require eth0 being configured. I wonder if the boot
> process will do anything like ifconfig in order to set up eth0 before
> sending any RPC request to the NFS server (although the server IP is
> known to the boot process according to the boot messages).
>
> Thanks.
After examining net/ipv4/ipconfig.c in kernel source tree, found that
the network interface won't be configured if the "ip=" boot parameter
is missing. I always put the "ip=" boot parameter in next line that
has the same effect of missing it out, like this:
>>>boot ewa0 -fl "root=/dev/nfs nfsroot=192.168.100.10:/export
_>ip=:192.168.100.10::::eth0:"
When I put everything in the same line, I can see the IP-Config
message. However, instead of contacting portmap on NFS server, the
boot process continues to send out dhcp messages, which look like this
in tcpdump:
11:32:14.681692 0.0.0.0.bootpc > 255.255.255.255.bootps:
xid:0x25a84cb0 secs:15 Y:255.255.255.255 S:255.255.255.255 ether
8:0:2b:86:ed:7d file ""[|bootp] (DF)
The boot messages now look like this:
------------------------------ cut here ------------------------
[snip]
Linux Tulip driver version 0.9.15-pre12 (Aug 9, 2002)
tulip0: EEPROM default media type Autosense.
tulip0: Index #0 - Media 10baseT (#0) described by a 21142 Serial PHY
(2) bloc.
tulip0: Index #1 - Media 10baseT-FDX (#4) described by a 21142 Serial
PHY (2) .
tulip0: Index #2 - Media 100baseTx (#3) described by a 21143 SYM PHY
(4) block.
tulip0: Index #3 - Media 100baseTx-FDX (#5) described by a 21143 SYM
PHY (4) b.
eth0: Digital DS21143 Tulip rev 65 at 0x8000, 08:00:2B:86:D1:02, IRQ
29.
tulip1: EEPROM default media type Autosense.
tulip1: Index #0 - Media 10baseT (#0) described by a 21142 Serial PHY
(2) bloc.
tulip1: Index #1 - Media 10baseT-FDX (#4) described by a 21142 Serial
PHY (2) .
tulip1: Index #2 - Media 100baseTx (#3) described by a 21143 SYM PHY
(4) block.
tulip1: Index #3 - Media 100baseTx-FDX (#5) described by a 21143 SYM
PHY (4) b.
eth1: Digital DS21143 Tulip rev 65 at 0x8080, 08:00:2B:86:D1:03, IRQ
30.
SCSI subsystem driver Revision: 1.00
mice: PS/2 mouse device common for all mice
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
IP: routing cache hash table of 8192 buckets, 64Kbytes
TCP: Hash tables configured (established 65536 bind 65536)
IP-Config: Entered.
IP-Config: eth0 UP (able=1, xid=7d356346)
Sending DHCP requests .DHCP: Sending message type 3
.DHCP: Sending message type 3
.DHCP: Sending message type 3
.DHCP: Sending message type 3
.DHCP: Sending message type 3
.DHCP: Sending message type 3
timed out!
IP-Config: Downing eth0
IP-Config: Retrying forever (NFS root)...
IP-Config: eth0 UP (able=1, xid=65c13bc0)
Sending DHCP requests .DHCP: Sending message type 3
.DHCP: Sending message type 3
.DHCP: Sending message type 3
[loop forever]
------------------------------ cut here ------------------------
Any suggestion?
Thanks a lot.
/ST
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: Pls help: net boot failure
2003-08-23 3:35 ` ST Wong
@ 2003-08-24 11:34 ` Måns Rullgård
2003-09-03 9:51 ` ST Wong
0 siblings, 1 reply; 18+ messages in thread
From: Måns Rullgård @ 2003-08-24 11:34 UTC (permalink / raw)
st-wong@alumni.cuhk.net (ST Wong) writes:
> After examining net/ipv4/ipconfig.c in kernel source tree, found that
> the network interface won't be configured if the "ip=" boot parameter
> is missing. I always put the "ip=" boot parameter in next line that
> has the same effect of missing it out, like this:
>
>>>>boot ewa0 -fl "root=/dev/nfs nfsroot=192.168.100.10:/export
> _>ip=:192.168.100.10::::eth0:"
>
> When I put everything in the same line, I can see the IP-Config
> message. However, instead of contacting portmap on NFS server, the
> boot process continues to send out dhcp messages, which look like this
> in tcpdump:
>
> 11:32:14.681692 0.0.0.0.bootpc > 255.255.255.255.bootps:
> xid:0x25a84cb0 secs:15 Y:255.255.255.255 S:255.255.255.255 ether
> 8:0:2b:86:ed:7d file ""[|bootp] (DF)
>
> The boot messages now look like this:
>
> .DHCP: Sending message type 3
> timed out!
Either there are no replies, or they are getting lost. Did you try
manual IP configuration? Put something sane between all the :s.
--
M�ns Rullg�rd
mru@users.sf.net
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: Pls help: net boot failure
2003-08-24 11:34 ` Måns Rullgård
@ 2003-09-03 9:51 ` ST Wong
0 siblings, 0 replies; 18+ messages in thread
From: ST Wong @ 2003-09-03 9:51 UTC (permalink / raw)
mru@users.sourceforge.net (M�ns Rullg�rd) wrote in message news:<yw1xd6ev1e7o.fsf@users.sourceforge.net>...
> Either there are no replies, or they are getting lost. Did you try
> manual IP configuration? Put something sane between all the :s.
It works after putting the client IP in the "ip=" parameter !
Thank you very much!
/st
^ permalink raw reply [flat|nested] 18+ messages in thread
end of thread, other threads:[~2003-09-03 9:51 UTC | newest]
Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-08-12 10:20 Pls help: net boot failure ST Wong
2003-08-12 11:12 ` Måns Rullgård
2003-08-13 6:02 ` ST Wong
2003-08-13 8:51 ` Måns Rullgård
2003-08-16 4:29 ` ST Wong
2003-08-17 11:16 ` Måns Rullgård
2003-08-18 3:36 ` ST Wong
2003-08-18 10:07 ` Måns Rullgård
2003-08-19 3:20 ` ST Wong
2003-08-19 9:23 ` Måns Rullgård
2003-08-20 10:54 ` ST Wong
2003-08-20 11:12 ` Måns Rullgård
2003-08-21 9:40 ` ST Wong
2003-08-21 9:50 ` Måns Rullgård
2003-08-22 2:05 ` ST Wong
2003-08-23 3:35 ` ST Wong
2003-08-24 11:34 ` Måns Rullgård
2003-09-03 9:51 ` ST Wong
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox