Bug 4029 - pump crashes on some nonstandard kernel builds
pump crashes on some nonstandard kernel builds
Status: CLOSED CURRENTRELEASE
Product: Red Hat Linux
Classification: Retired
Component: pump (Show other bugs)
6.0
All Linux
medium Severity medium
: ---
: ---
Assigned To: Brock Organ
:
: 4294 (view as bug list)
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 1999-07-14 08:54 EDT by lofgren
Modified: 2008-05-01 11:37 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2000-04-25 09:07:59 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description lofgren 1999-07-14 08:54:36 EDT
If the kernel does not have the "Packet socket" and "Socket
filtering" options enabled, pump will core dump.  I haven't
looked in the source, but I would guess it's getting an
error return from a socket() call, and the error checking is
done incorrectly or completely ignored.

dhclient does the right thing, and exits gracefully while
saying what kernel features should be present.  I would
never have made networking work without using dhclient (part
of the isc dhcp distribution), since pump wouldn't tell me
anything.
Comment 1 David Lawrence 1999-07-14 17:58:59 EDT
I have verified that compiling a kernel with the Packet Socket and
Socket Filtering options turned off, pump will dump core when trying
to initialize the network device. I have assigned this to a developer
for further review.
Comment 2 Bill Nottingham 1999-08-31 18:41:59 EDT
*** Bug 4294 has been marked as a duplicate of this bug. ***

pump dumps core when running with my own compiled
2.2.10 kernel.

I could attach the core dump, if there only was a way to
attach it.  (I guess that would qualify as a bug/enhancement
request for bugzilla).

Arieh

------- Additional Comments From jturner@redhat.com  08/02/99 08:48 -------
Submit the core dump in the same method as you would submit a patch.
Check the FAQ for the proper subject line for submitting a patch and
it will get attached to your bug automatically.
Comment 3 Jari Turkia 2000-01-09 06:30:59 EST
After spending several hours trying to get my eth1 up with pump (DHCP via cable
modem) I found out that my packet socket (AF_PACKET) was configured as module in
kernel (tried versions 2.2.5-15 and 2.2.5-22 on RH6.0). After changing the
packet socket option to be built-in feature, pump started working.
Comment 4 Erik Troan 2000-02-03 11:00:59 EST
Jay, please build a kernel that exhibts this problem. It should be easy enough
to fix.
Comment 5 Brock Organ 2000-04-17 17:47:59 EDT
Recompiling the kernel this way in 6.2, pump fails gracefully:

[root@localhost /root]# /sbin/pump -i eth0 --status
Operation failed.
[root@localhost /root]# uname -a
Linux localhost.localdomain 2.2.14-5.0 #1 Mon Apr 17 15:58:22 EDT 2000 i586
unknown
[root@localhost /root]#

Note You need to log in before you can comment on or make changes to this bug.