[Fwd: dhcpd: select: Bad file descriptor / Oops]

Albrecht Jacobs (aj@modem-wired.com)
Sat, 11 Dec 1999 06:37:50 +0100


-------- Original Message --------
Subject: dhcpd: select: Bad file descriptor
Date: Sat, 11 Dec 1999 06:00:55 +0100
From: Albrecht Jacobs <aj@modem-wired.com>
Organization: Customer of UUNET Deutschland GmbH, Dortmund, Germany
Newsgroups: comp.os.linux.networking

Hi,

with kernel 2.2.12: when I start dhcpd ('dhcpd eth0') I get the
following in syslog:

Dec 11 05:46:17 daddy dhcpd: Internet Software Consortium DHCP Server
V2.0b1pl8
Dec 11 05:46:17 daddy dhcpd: Copyright 1995, 1996, 1997, 1998 The
Internet Software Consortium.
Dec 11 05:46:17 daddy dhcpd: All rights reserved.
Dec 11 05:46:17 daddy dhcpd: Please contribute if you find this
software useful.
Dec 11 05:46:17 daddy dhcpd: For info, please visit
http://www.isc.org/dhcp-contrib.html
Dec 11 05:46:17 daddy dhcpd: Listening on Socket/eth0/192.168.10.0
Dec 11 05:46:17 daddy dhcpd: Sending on Socket/eth0/192.168.10.0
Dec 11 05:46:17 daddy dhcpd: select: Bad file descriptor
Dec 11 05:46:17 daddy dhcpd: exiting.

When I run 'dhcpd -d eth0' out of the shell it seems to work. But when I
type a return in the shell I'll get hundreds of these:

dhcpd: receive_packet failed on fallback: Socket operation on non-socket

I then switched to dhcpd V3.0b1pl12, configured the kernel with
CONFIG_FILTER. dhcpd seems to run fine BUT I get oopses when I try to
start netatalk or just do an 'ifconfig':

Dec 10 23:47:52 daddy kernel: NET4: AppleTalk 0.18 for Linux NET4.0
Dec 10 23:47:52 daddy kernel: Unable to handle kernel NULL pointer
dereference at virtual address 00000000
Dec 10 23:47:52 daddy kernel: current->tss.cr3 = 00101000, %cr3 =
00101000
Dec 10 23:47:52 daddy kernel: *pde = 00000000
Dec 10 23:47:52 daddy kernel: Oops: 0000
Dec 10 23:47:52 daddy kernel: CPU: 0
Dec 10 23:47:52 daddy kernel: EIP: 0010:[<00000000>]
Dec 10 23:47:52 daddy kernel: EFLAGS: 00010246
Dec 10 23:47:52 daddy kernel: eax: 00000000 ebx: c3feb780 ecx:
c3455760 edx: c3feb780
Dec 10 23:47:52 daddy kernel: esi: c34557fc edi: c3471a00 ebp:
c3f33960 esp: c3db1f30
Dec 10 23:47:52 daddy kernel: ds: 0018 es: 0018 ss: 0018
Dec 10 23:47:52 daddy kernel: Process ifconfig (pid: 240, process nr: 9,
stackpage=c3db1000)
Dec 10 23:47:52 daddy kernel: Stack: c34557fc c3455760 c015aa67 c34557fc
00000000 c3455760 c015ae61 c34557fc
Dec 10 23:47:52 daddy kernel: c3695660 c012282f c3455760 c3695660
c3695660 00000000 c3471a00 c012395f
Dec 10 23:47:52 daddy kernel: c3695660 c3695660 c3695660 c01228b2
c3695660 00000001 00000004 c3f33960
Dec 10 23:47:52 daddy kernel: Call Trace: [sock_release+31/80]
[sock_close+57/60] [__fput+31/72] [fput+23/72] [filp_close+90/100]
[do_exit+313/628] [sys_exit+14/16]
Dec 10 23:47:52 daddy kernel: [system_call+52/56]
Dec 10 23:47:52 daddy kernel: Code: <1>Unable to handle kernel NULL
pointer dereference at virtual address 00000000
...

??? I _never_ got something like this before :-(

Please reply to me because I am not in this list!

---
Albrecht <aj@modem-wired.com>, <aj@klee.architektur.uni-stuttgart.de>
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.rutgers.edu