Bug 126983
Summary: | snmpd crashes when hr_storage module is loaded AND no CD in drive | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Christopher DeMarco <cdemarco> | ||||||
Component: | net-snmp | Assignee: | Radek Vokál <rvokal> | ||||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | |||||||
Severity: | medium | Docs Contact: | |||||||
Priority: | medium | ||||||||
Version: | 2 | ||||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | i386 | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2004-10-04 07:23:34 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
Christopher DeMarco
2004-06-30 03:10:55 UTC
I just tested this with an umodified snmpd installation here and it works without a problem. Have you changed something to the config file? Read ya, Phil Created attachment 101846 [details]
snmpd.conf
snmpd.conf used when the problem occurred
Here's my ``uname -a'': Linux bugs.md.com.my 2.6.6-1.435.2.3smp #1 SMP Thu Jul 1 08:36:21 EDT 2004 i686 i686 i386 GNU/Linux The kernel in use at the time was *either* the above or more probably the stock FC2 smp kernel 2.6.6-1.435.2.3smp since the above wasn't released until July 1. From ``lspci -v'': 00:1f.1 IDE interface: Intel Corp. 82801EB/ER (ICH5/ICH5R) Ultra ATA 100 Storage Controller (rev 02) (prog-if 8a [Master SecP PriP]) Subsystem: Intel Corp.: Unknown device 4246 Flags: bus master, medium devsel, latency 0, IRQ 185 I/O ports at <unassigned> I/O ports at <unassigned> I/O ports at <unassigned> I/O ports at <unassigned> I/O ports at ffa0 [size=16] Memory at 3f000000 (32-bit, non-prefetchable) [size=1K] 00:1f.2 IDE interface: Intel Corp. 82801EB (ICH5) Serial ATA 150 Storage Controller (rev 02) (prog-if 8f [Master SecP SecO PriP PriO]) Subsystem: Intel Corp.: Unknown device 4246 Flags: bus master, 66Mhz, medium devsel, latency 0, IRQ 185 I/O ports at e800 I/O ports at e400 [size=4] I/O ports at e000 [size=8] I/O ports at dc00 [size=4] I/O ports at d800 [size=16] Hmmm... what else? Created attachment 101847 [details]
Config from /proc/ide
net-snmp is version 5.1.1-2 I also discovered this problem on FC2 using net-snmp-5.1.1-2. However, a bit of digging showed that this is already documented. man snmpd.conf details the ignoredisk directive which is specifically to work around this problem. I added: ignoredisk /dev/hd[cd] and snmpwalk now successfully completes. It also still returns information on all other disks. I've tested this bug with net-snmp-5.1.2-9 and it didn't appear. Anyway the `ignoredisk` option allows to skip drive which causes the problem and fixes it. |