mkinitrd unification across distributions
 help / color / mirror / Atom feed
From: Warren Togami <wtogami-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
To: initramfs <initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
Subject: root=dhcp dhclient segfaulting on F-11
Date: Wed, 17 Jun 2009 20:29:48 -0400	[thread overview]
Message-ID: <4A398A7C.40003@redhat.com> (raw)
In-Reply-To: <4A3924B9.2090303-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>

Harald applied fixes.  Now with root=dhcp it is failing to boot because 
dhclient is segfaulting.

ifup.eth0.561.out contains:
...
+ ip=
+ '[' -z '' ']'
+ do_dhcp
+ dhclient -1 -q -cf /etc/dhclient.conf -pf /tmp/dhclient.eth0.pid -lf 
/tmp/dhclient.eth0.lease eth0
/sbin/ifup: line 26:   563 Segmentation fault
...

dhclient.eth0.564.out contains only:
+ '[' -f /tmp/net..up ']'
+ netif=eth0
+ case $reason in
+ ip link set eth0 up
+ exit 0

dhclient.eth0.567.out contains:
+ '[' -f /tmp/net..up ']'
+ netif=eth0
+ case $reason in
+ setup_interface
... (and it sets it up properly via DHCP)...
... (but eth0 is not configured by the time it hits the shell)...

The following is a segfault at the emergency_shell when I have manually 
run "dhclient eth0".

Program terminated with signal 11, Segmentation fault.
#0  0x0806fd4d in add_timeout (when=0x4a3986b2, where=0x8056a20 
<send_discover>, what=0x95fc5d0, ref=0, unref=0) at dispatch.c:143
143		q -> when . tv_sec = when -> tv_sec;
(gdb) bt
#0  0x0806fd4d in add_timeout (when=0x4a3986b2, where=0x8056a20 
<send_discover>, what=0x95fc5d0, ref=0, unref=0) at dispatch.c:143
#1  0x08056dd7 in state_init (cpp=0x95fc5d0) at dhclient.c:1213
#2  0x080580f8 in bind_lease (client=0x95fc5d0) at dhclient.c:1494
#3  0x08058b72 in dhcpack (packet=0x95fcef8) at dhclient.c:1460
#4  0x080547cf in dhcp (packet=0x95fcef8) at dhclient.c:1693
#5  0x0807ae63 in do_packet (interface=0x95d4608, packet=0xbfdf25a4, 
len=300, from_port=17152, from={len = 4, iabuf = 
"\254\37d\376a)\n\b\2\0\0\0\0\0\0"}, hfrom=0xbfdf35ba) at options.c:3732
#6  0x0806db8f in got_one (h=0x95d4608) at discover.c:1393
#7  0x080a763e in omapi_one_dispatch (wo=0x0, t=0xbfdf39c8) at 
dispatch.c:473
#8  0x0806fed0 in dispatch () at dispatch.c:92
#9  0x0805aa2c in main (argc=2, argv=0xbfdf3c54) at dhclient.c:971

Warren Togami
wtogami-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org
--
To unsubscribe from this list: send the line "unsubscribe initramfs" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  parent reply	other threads:[~2009-06-18  0:29 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-17 16:18 root=dhcp broke Warren Togami
     [not found] ` <4A391744.4040607-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2009-06-17 17:12   ` Seewer Philippe
     [not found]     ` <4A3923F7.6000900-omB+W0Dpw2o@public.gmane.org>
2009-06-17 17:15       ` Warren Togami
     [not found]         ` <4A3924B9.2090303-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2009-06-18  0:29           ` Warren Togami [this message]
     [not found]             ` <4A398A7C.40003-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2009-06-18  2:17               ` root=dhcp dhclient segfaulting on F-11 Warren Togami
     [not found]                 ` <4A39A3D1.4070404-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2009-06-18  7:32                   ` Seewer Philippe
     [not found]                     ` <4A39ED97.8040503-omB+W0Dpw2o@public.gmane.org>
2009-06-18  8:18                       ` Harald Hoyer
     [not found]                         ` <4A39F862.7060200-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2009-06-18  8:34                           ` Seewer Philippe
     [not found]                             ` <4A39FC0C.8020305-omB+W0Dpw2o@public.gmane.org>
2009-06-18 11:30                               ` Seewer Philippe
2009-06-18  7:32               ` Seewer Philippe

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4A398A7C.40003@redhat.com \
    --to=wtogami-h+wxahxf7alqt0dzr+alfa@public.gmane.org \
    --cc=initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox