|
Created on 2010-05-07.13:00:50 by balou, last changed 2011-05-09.14:24:18 by mika.
File name |
Uploaded |
Type |
Edit |
Remove |
debug2
|
balou,
2010-05-07.13:08:39
|
application/octet-stream |
|
|
msg3750 (view) |
Author: mika |
Date: 2011-05-09.14:24:18 |
|
Works as expected, tested with grml-medium_sid_20110509.iso and fetch=http://...
bootoption. Closing this bugreport therefore.
thanks && regards,
-mika-
|
msg3730 (view) |
Author: mika |
Date: 2011-04-06.00:16:14 |
|
This has been implemented by Ulrich. Current daily ISOs should provide a version
of fetch=... that supports DNS. Testing is highly welcome!
regards,
-mika-
|
msg3607 (view) |
Author: ch |
Date: 2010-12-09.15:35:32 |
|
At some point after boot (still in the initramfs), there _is_ an /etc/resolv.conf
(with nameserver entries). Maybe this is too late though.
|
msg3590 (view) |
Author: mika |
Date: 2010-12-07.15:56:29 |
|
Ok, debugged this issue a bit: current live-boot (which is what I refered to as
live-initramfs 2.x) uses wget but actually it should call /bin/wget (if that's
present) instead as busybox's wget is just a bad joke and we've the "real"
wget in the initrd available.
Sadly DNS doesn't work for me right now with a build featuring live-boot, had
no time to further investigate on that.
just as a small update,
-mika-
|
msg3167 (view) |
Author: mika |
Date: 2010-05-11.09:45:20 |
|
Ok, finished investigation:
1) DNS issue: "Due to current limitations in busyboxs wget and DNS resolution,
an URL can not contain a hostname but an IP only."
2) Regarding the 60 tries for setting up NFS: "This while loop is an ugly HACK
round an nfs bug"
So both issues are limitations of existing software. I don't see anything we
can do to solve those issues now, hopefully the situation will improve with
implementation of live-initramfs 2.x.
I'm setting this bugreport to status "deferred" for now (so the issue is
visible for some time), if anyone comes up with a solution to address this
issue I'd be happy to integrate it both in Grml as well as upstream.
thanks && regards,
-mika-
|
msg3166 (view) |
Author: mika |
Date: 2010-05-11.08:54:13 |
|
* balou wrote in grml's BTS on 20100507 / 15:08:
> If using the fetch= boot option, network gets set up, but DNS resolving fails.
> /netboot.config exists, and contains the right settings.
[...]
Ok, just verified.
JFTR: Resolving fails if the specified fetch URL contains a DNS
entry and not an IP.
* balou wrote in grml's BTS on 20100507 / 16:22:
> I almost forgot... after downloading of the squashfs image fails, grml tries to
> boot using NFS. Of course nothing is set up, so setting up NFS will fail 60(!)
> times (totally unrelated, but why so many retries?)
Verified as well, thanks.
regards,
-mika-
|
msg3165 (view) |
Author: balou |
Date: 2010-05-07.14:21:54 |
|
I almost forgot... after downloading of the squashfs image fails, grml tries to
boot using NFS. Of course nothing is set up, so setting up NFS will fail 60(!)
times (totally unrelated, but why so many retries?)
debug2 contains a debug output made with kvm and debbuging to a (virtual) serial
console.
|
msg3164 (view) |
Author: balou |
Date: 2010-05-07.13:08:39 |
|
If using the fetch= boot option, network gets set up, but DNS resolving fails.
/netboot.config exists, and contains the right settings.
(initramfs) ls -l /etc/resolv.conf
ls: /etc/resolv.conf: No such file or directory
/scripts/live-bottom/23networking, line 114, contains a reference to
/root/etc/resolv.conf, but /root is empty. Executing it gives this:
(initramfs) /scripts/live-bottom/23networking
Begin: Preconfiguring networking ... /scripts/live-bottom/23networking: line 44:
can't create /root/etc/network/interfaces: nonexistent directory
/scripts/live-bottom/23networking: line 163: can't create
/root/etc/network/interfaces: nonexistent directory
cp: cannot create '/root/var/log/netboot.config': Path does not exist
/scripts/live-bottom/23networking: line 163: can't create
/root/var/log/netboot.config: nonexistent directory
done.
My kernel cmdline:
initrd=/boot/grmlsmall/initrd.gz boot=live bootid=grmlsmall201004 apm=power-off
vga=791 quiet nomce debug=1 fetch=http://keto.lan/shared/grml-small.squashfs
|
|
Date |
User |
Action |
Args |
2011-05-09 14:24:18 | mika | set | status: testing -> resolved nosy:
mika, ch, balou messages:
+ msg3750 |
2011-04-06 00:16:15 | mika | set | status: in-progress -> testing nosy:
mika, ch, balou messages:
+ msg3730 |
2010-12-09 15:35:32 | ch | set | nosy:
mika, ch, balou messages:
+ msg3607 |
2010-12-07 15:56:30 | mika | set | status: deferred -> in-progress nosy:
+ ch messages:
+ msg3590 |
2010-11-04 14:34:45 | ch | set | topic:
+ live-boot nosy:
mika, balou |
2010-05-11 09:45:23 | mika | set | status: in-progress -> deferred nosy:
+ balou messages:
+ msg3167 title: fetch boot option: resolv.conf broken -> fetch= boot option: DNS not supported |
2010-05-11 08:55:13 | mika | set | status: chatting -> in-progress assignedto: mika topic:
+ release-stopper nosy:
+ mika |
2010-05-11 08:54:14 | mika | set | messages:
+ msg3166 |
2010-05-07 14:21:55 | balou | set | messages:
+ msg3165 |
2010-05-07 13:08:40 | balou | set | files:
+ debug2 status: unread -> chatting messages:
+ msg3164 |
2010-05-07 13:00:50 | balou | create | |
|