Bug 144811
Summary: | netdump produces FATAL error and does not start. | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Jeremiah Johnson <jjohnson> | ||||
Component: | netdump | Assignee: | Dave Anderson <anderson> | ||||
Status: | CLOSED DEFERRED | QA Contact: | |||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 2 | ||||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | x86_64 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2005-01-11 18:07:23 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Jeremiah Johnson
2005-01-11 17:50:29 UTC
messages:Jan 11 17:35:36 wood netdump:: inserting netconsole module with arguments magic1=0x998dd153 magic2=0xb0f87f55 dev=eth0 netdump_target_ip=0x86AE0B3C netlog_target_ip=0x86AE0B3C source_port=6666 netdump_target_port=6666 netlog_target_port=6666 netdump_target_eth_byte0=0x00 netdump_target_eth_byte1=0x0F netdump_target_eth_byte2=0x1F netdump_target_eth_byte3=0x65 netdump_target_eth_byte4=0x62 netdump_target_eth_byte5=0xFA netlog_target_eth_byte0=0x00 netlog_target_eth_byte1=0x0F netlog_target_eth_byte2=0x1F netlog_target_eth_byte3=0x65 netlog_target_eth_byte4=0x62 netlog_target_eth_byte5=0xFA mhz=1393 messages:Jan 11 17:35:36 wood netdump: initializing netdump failed Sorry, the netdump patch is not even included in this kernel. The latest kernel that it has ever been ported/applied to is the soon-to-be-released RHEL4 kernel, which is based on 2.6.9. So why are these packages even included in FC if the included kernel doesn't even support the functionality they require? Actually, it looks as if the parameter interface has changed on this module. Doing a 'modprobe netconsole netconsole=6666.11.30/eth0,6666.11.60/00:0F:1F:65:62:FA' works fine. I think the obvious thing here is to update the initfile for this so that it passes the proper parameters. Created attachment 109631 [details]
patch for /etc/rc.d/init.d/netdump
My quick hack of the initscript to do this properly. The initscript could use
more work. I'm not using the syslog opts at all since I just want to catch the
oops on this system.
> So why are these packages even included in FC if the included kernel
> doesn't even support the functionality they require?
That's a good question. I don't have much to do with the Fedora side
of the business. In the 2.4 kernel era, netdump functionality was
piled on top of the netconsole.c module. In 2.6, netconsole.c stands
on its own serving as a console device, and we added a netdump.c
module for netdump. If I'm not mistaken, FC2 was originally based
upon 2.4 (?), so the scripts still use netconsole.c thinking it's the
version that has netdump functionality added to it. But looking at
the sources in this 2.6.10-based kernel source RPM, it's got the 2.6
netconsole.c, which has no clue what the 2.4-era netdump parameters
that are passed to it are.
That makes sense. I believe FC1 was 2.4.x, while FC2 came out with 2.6, so its odd that netdump's init script wasn't updated to handle 2.6's parameters properly. Its also odd that I'm the only one that noticed this a few months before FC2's end of life. Now I just need to test that this is actually working as it should. |