Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: No address anymore for 5.99.6 dhclient with 5.99.7 kernel ?



On Mon, Jan 12, 2009 at 08:31:43PM -0500, Christos Zoulas wrote:
> On Jan 12, 10:49pm, njoly%pasteur.fr@localhost (Nicolas Joly) wrote:
> -- Subject: Re: No address anymore for 5.99.6 dhclient with 5.99.7 kernel ?
> 
> | On Mon, Jan 12, 2009 at 09:58:34PM +0100, Nicolas Joly wrote:
> | > On Mon, Jan 12, 2009 at 04:34:45PM +0000, Christos Zoulas wrote:
> | > > In article <20090112140814.GA26330%medusa.sis.pasteur.fr@localhost>,
> | > > Nicolas Joly  <njoly%pasteur.fr@localhost> wrote:
> | > [...]
> | > > Make sure you have COMPAT_50 in your kernel config, otherwise
> | > > getifaddrs does not work. I.e. ifconfig -a will fail with EINVAL.
> | > > (it is mentioned in UPDATING)
> | 
> | I just checked again, and getifaddrs(3)/ifconfig(8) do not show any
> | problem.
> 
> Ok, hmm. does a ktrace show anything failing?

I traced both success/failure, then manually compared them and found a
read(2) error when trying to handle server response buffer.

Failure for 5.99.7 kernel:
[...]
   605      1 dhcpcd   CALL  poll(0x7f7fffffd890,3,0xc13)
   605      1 dhcpcd   RET   poll 1
   605      1 dhcpcd   CALL  clock_gettime(3,0x7f7fffffd810)
   605      1 dhcpcd   RET   clock_gettime 0
   605      1 dhcpcd   CALL  read(9,0x7f7ffda25000,0x8000)
   605      1 dhcpcd   GIO   fd 9 read 368 bytes
       
"\M^\\M-WlI\M-<\M-r\0\0V\^A\0\0V\^A\0\0\^Z\0\0\0\0\0\0\0\0\0\0\M-`\M^A1Ya\0\^D\M^@u\M-[\0\b\0\
        
E\^A\^AH>\^Q\0\0@\^Q\M^H?\M^]c<\^A\M^]c<\M^L\0C\0D\^A4D\M^V\^B\^A\^F\^Bg\M^A\M-J\M-o\0\0\0\0\
        
\0\0\0\0\M^]c<\M^L\0\0\0\0\M^]c<\^A\0\M-`\M^A1Ya\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\
        
\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\
        
\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\
        
\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\
        
\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0c\M^BSc5\
        
\^A\^B6\^D\M^]c@J3\^D\0\^C\M-t\M^@\^A\^D\M^?\M^?\M^?\0\^C\^D\M^]c<\^A\^\\^D\M^]c<\M^?:\^D\0\
        \^A\M-z@;\^D\0\^Cu\M-p\M^?\0\0\0\0\0\0\0\0\0\0\0\0\0\0"
   605      1 dhcpcd   RET   read 368/0x170
   605      1 dhcpcd   CALL  read(9,0x7f7ffda25000,0x8000)
   605      1 dhcpcd   RET   read -1 errno 35 Resource temporarily unavailable
   605      1 dhcpcd   CALL  clock_gettime(3,0x7f7fffffd810)
   605      1 dhcpcd   RET   clock_gettime 0
[...]

Success for 5.99.6 kernel:
[...]
 10242      1 dhcpcd   CALL  poll(0x7f7fffffd890,3,0x10b9)
 10242      1 dhcpcd   RET   poll 1
 10242      1 dhcpcd   CALL  clock_gettime(3,0x7f7fffffd810)
 10242      1 dhcpcd   RET   clock_gettime 0
 10242      1 dhcpcd   CALL  read(9,0x7f7ffda25000,0x8000)
 10242      1 dhcpcd   GIO   fd 9 read 376 bytes
       
"{\M-PlI\0\0\0\0\vV\^B\0\0\0\0\0V\^A\0\0V\^A\0\0\"\0\M-|\M-|\^?\^?\0\0\^A\0\0\M-`\M^A1Ya\0\^D\
        
\M^@u\M-[\0\b\0E\^A\^AH\M-:\M-4\0\0@\^Q\v\M^\\M^]c<\^A\M^]c<\M^L\0C\0D\^A4=\M^J\^B\^A\^F\^B\
        
\M-@\M-%x\M-W\0\0\0\0\0\0\0\0\M^]c<\M^L\0\0\0\0\M^]c<\^A\0\M-`\M^A1Ya\0\0\0\0\0\0\0\0\0\0\0\
        
\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\
        
\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\
        
\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\
        
\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\
        
\0\0\0\0\0\0\0c\M^BSc5\^A\^B6\^D\M^]c@J3\^D\0\^C\M-t\M^@\^A\^D\M^?\M^?\M^?\0\^C\^D\M^]c<\^A\
        
\^\\^D\M^]c<\M^?:\^D\0\^A\M-z@;\^D\0\^Cu\M-p\M^?\0\0\0\0\0\0\0\0\0\0\0\0\0\0"
 10242      1 dhcpcd   RET   read 376/0x178
 10242      1 dhcpcd   CALL  write(2,0x50f730,6)
 10242      1 dhcpcd   GIO   fd 2 wrote 6 bytes
       "bge0: "
 10242      1 dhcpcd   RET   write 6
[...]

-- 
Nicolas Joly

Biological Software and Databanks.
Institut Pasteur, Paris.


Home | Main Index | Thread Index | Old Index