Hi there, I was trying to use the, may be, "existing" support in FC3 for IPMI. I've seen that there are several modules in /lib/modules/2.6.9-1.667 [smp]/kernel/drivers/char/ipmi that seem to be related with th OpenIPMI project. There are also the three headers in /lib/modules/2.6.9-1.667 [smp]/build/include/linux ipmi.h, ipmi_msgdefs.h, ipmi_si.h. However, trying to run this modules by doing: insmod ipmi_msghandler.ko insmod ipmi_devintf.ko insmod ipmi_watchdog.ko insmod ipmi_poweroff.ko insmod ipmi_si.ko seems to work half the way, as the last command complains of not finding the device with the following messages in dmesg: IPMI System Interface driver version v33, KCS version v33, SMIC version v33, BT version v33 ACPI: System description tables not found ipmi_si: Found SMBIOS-specified state machine at I/O address 0xca9 Trying to free free IRQ4 ipmi_si: Unable to find any System Interface(s) even so, the device appears in /proc/devices with major 254 just loading the ipmi_msghandler.ko module, but any attempt to open it (after being created with mknod) gives the EINVAL error.. So, I would like to know if FC3 supports natively IPMI and under which conditions. If it doesn't, what are the modules ipmi_* for?. Should I use the Montavista kernel patches in order to get support for IPMI in FC3? David.
Linux version 2.6.9-1.667 (bhcompile@xxxxxxxxxxxxxxxxxxxxxxx) (gcc version 3.4.2 20041017 (Red Hat 3.4.2-6.fc3)) #1 Tue Nov 2 14:41:25 EST 2004 BIOS-provided physical RAM map: BIOS-e820: 0000000000000000 - 000000000009f400 (usable) BIOS-e820: 000000000009f400 - 00000000000a0000 (reserved) BIOS-e820: 00000000000cc000 - 00000000000d0000 (reserved) BIOS-e820: 00000000000dc000 - 0000000000100000 (reserved) BIOS-e820: 0000000000100000 - 0000000020000000 (usable) BIOS-e820: 00000000fffe0000 - 0000000100000000 (reserved) 0MB HIGHMEM available. 512MB LOWMEM available. zapping low mappings. On node 0 totalpages: 131072 DMA zone: 4096 pages, LIFO batch:1 Normal zone: 126976 pages, LIFO batch:16 HighMem zone: 0 pages, LIFO batch:1 DMI present. ACPI: Unable to locate RSDP Built 1 zonelists Kernel command line: ro root=LABEL=/ rhgb quiet ipmi_si=smic,p0xCA9,nodefaults ipmi_smb=0,0x20 mapped 4G/4G trampoline to ffff4000. Initializing CPU#0 CPU 0 irqstacks, hard=023d5000 soft=023d4000 PID hash table entries: 4096 (order: 12, 65536 bytes) Detected 2194.780 MHz processor. Using tsc for high-res timesource Console: colour VGA+ 80x25 Dentry cache hash table entries: 131072 (order: 7, 524288 bytes) Inode-cache hash table entries: 65536 (order: 6, 262144 bytes) Memory: 515144k/524288k available (2068k kernel code, 8588k reserved, 647k data, 144k init, 0k highmem) Calibrating delay loop... 4308.99 BogoMIPS (lpj=2154496) Security Scaffold v1.0.0 initialized SELinux: Initializing. SELinux: Starting in permissive mode There is already a security framework initialized, register_security failed. selinux_register_security: Registering secondary module capability Capability LSM initialized as secondary Mount-cache hash table entries: 512 (order: 0, 4096 bytes) CPU: After generic identify, caps: bfebf9ff 00000000 00000000 00000000 CPU: After vendor identify, caps: bfebf9ff 00000000 00000000 00000000 CPU: Trace cache: 12K uops, L1 D cache: 8K CPU: L2 cache: 512K CPU: After all inits, caps: bfebf1ff 00000000 00000000 00000080 Intel machine check architecture supported. Intel machine check reporting enabled on CPU#0. CPU0: Intel P4/Xeon Extended MCE MSRs (12) available CPU: Intel Mobile Intel(R) Pentium(R) 4 - M CPU 2.20GHz stepping 07 Enabling fast FPU save and restore... done. Enabling unmasked SIMD FPU exception support... done. Checking 'hlt' instruction... OK. checking if image is initramfs... it is Freeing initrd memory: 385k freed NET: Registered protocol family 16 PCI: PCI BIOS revision 2.10 entry at 0xfd9ff, last bus=3 PCI: Using configuration type 1 mtrr: v2.0 (20020519) ACPI: Subsystem revision 20040816 ACPI: Interpreter disabled. Linux Plug and Play Support v0.97 (c) Adam Belay usbcore: registered new driver usbfs usbcore: registered new driver hub PCI: Probing PCI hardware PCI: Probing PCI hardware (bus 00) PCI: Ignoring BAR0-3 of IDE controller 0000:00:0f.1 PCI: Discovered peer bus 01 PCI: Discovered primary peer bus 03 [IRQ] PCI: Using IRQ router ServerWorks [1166/0201] at 0000:00:0f.0 cpufreq: Intel(R) SpeedStep(TM) for this chipset not (yet) available. apm: BIOS not found. audit: initializing netlink socket (disabled) audit(1113387572.201:0): initialized Total HugeTLB memory allocated, 0 VFS: Disk quotas dquot_6.5.1 Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) SELinux: Registering netfilter hooks Initializing Cryptographic API ksign: Installing public key data Loading keyring - Added public key 6ECDA687281A73E5 - User ID: Red Hat, Inc. (Kernel Module GPG key) pci_hotplug: PCI Hot Plug PCI Core version: 0.5 vesafb: probe of vesafb0 failed with error -6 isapnp: Scanning for PnP cards... isapnp: No Plug & Play device found Real Time Clock Driver v1.12 Linux agpgart interface v0.100 (c) Dave Jones serio: i8042 AUX port at 0x60,0x64 irq 12 serio: i8042 KBD port at 0x60,0x64 irq 1 Serial: 8250/16550 driver $Revision: 1.90 $ 8 ports, IRQ sharing enabled ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A RAMDISK driver initialized: 16 RAM disks of 16384K size 1024 blocksize divert: not allocating divert_blk for non-ethernet device lo Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2 ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx SvrWks CSB5: IDE controller at PCI slot 0000:00:0f.1 SvrWks CSB5: chipset revision 147 SvrWks CSB5: not 100% native mode: will probe irqs later ide0: BM-DMA at 0x1040-0x1047, BIOS settings: hda:pio, hdb:pio ide1: BM-DMA at 0x1048-0x104f, BIOS settings: hdc:DMA, hdd:pio Probing IDE interface ide0... ide0: Wait for ready failed before probe ! Probing IDE interface ide1... hdc: HITACHI_DK23DA-10, ATA DISK drive Using cfq io scheduler ide1 at 0x170-0x177,0x376 on irq 15 Probing IDE interface ide0... ide0: Wait for ready failed before probe ! Probing IDE interface ide2... ide2: Wait for ready failed before probe ! Probing IDE interface ide3... ide3: Wait for ready failed before probe ! Probing IDE interface ide4... ide4: Wait for ready failed before probe ! Probing IDE interface ide5... ide5: Wait for ready failed before probe ! hdc: max request size: 128KiB hdc: 19640880 sectors (10056 MB) w/2048KiB Cache, CHS=19485/16/63, UDMA(100) hdc: cache flushes supported hdc: hdc1 hdc2 ide-floppy driver 0.99.newide usbcore: registered new driver hiddev usbcore: registered new driver usbhid drivers/usb/input/hid-core.c: v2.0:USB HID core driver mice: PS/2 mouse device common for all mice input: AT Translated Set 2 keyboard on isa0060/serio0 md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27 NET: Registered protocol family 2 IP: routing cache hash table of 1024 buckets, 32Kbytes TCP: Hash tables configured (established 131072 bind 37449) Initializing IPsec netlink socket NET: Registered protocol family 1 NET: Registered protocol family 17 Freeing unused kernel memory: 144k freed kjournald starting. Commit interval 5 seconds EXT3-fs: mounted filesystem with ordered data mode. security: 3 users, 4 roles, 280 types, 16 bools security: 53 classes, 5494 rules SELinux: Completing initialization. SELinux: Setting up existing superblocks. SELinux: initialized (dev hdc1, type ext3), uses xattr SELinux: initialized (dev tmpfs, type tmpfs), uses transition SIDs SELinux: initialized (dev selinuxfs, type selinuxfs), uses genfs_contexts SELinux: initialized (dev mqueue, type mqueue), not configured for labeling SELinux: initialized (dev hugetlbfs, type hugetlbfs), not configured for labeling SELinux: initialized (dev devpts, type devpts), uses transition SIDs SELinux: initialized (dev eventpollfs, type eventpollfs), uses genfs_contexts SELinux: initialized (dev pipefs, type pipefs), uses task SIDs SELinux: initialized (dev tmpfs, type tmpfs), uses transition SIDs SELinux: initialized (dev futexfs, type futexfs), uses genfs_contexts SELinux: initialized (dev sockfs, type sockfs), uses task SIDs SELinux: initialized (dev proc, type proc), uses genfs_contexts SELinux: initialized (dev bdev, type bdev), uses genfs_contexts SELinux: initialized (dev rootfs, type rootfs), uses genfs_contexts SELinux: initialized (dev sysfs, type sysfs), uses genfs_contexts SELinux: initialized (dev usbfs, type usbfs), uses genfs_contexts SCSI subsystem initialized PCI: Found IRQ 11 for device 0000:01:03.0 sym0: <1010-66> rev 0x1 at pci 0000:01:03.0 irq 11 sym0: using 64 bit DMA addressing sym0: Symbios NVRAM, ID 7, Fast-80, LVD, parity checking sym0: open drain IRQ line driver, using on-chip SRAM sym0: using LOAD/STORE-based firmware. sym0: handling phase mismatch from SCRIPTS. sym0: SCSI BUS has been reset. scsi0 : sym-2.1.18j inserting floppy driver for 2.6.9-1.667 Floppy drive(s): fd0 is 1.44M FDC 0 is a National Semiconductor PC87306 Intel(R) PRO/1000 Network Driver - version 5.7.6-NAPI Copyright (c) 1999-2004 Intel Corporation. PCI: Found IRQ 10 for device 0000:00:04.0 divert: allocating divert_blk for eth0 e1000: eth0: e1000_probe: Intel(R) PRO/1000 Network Connection PCI: Found IRQ 12 for device 0000:01:02.0 divert: allocating divert_blk for eth1 e1000: eth1: e1000_probe: Intel(R) PRO/1000 Network Connection PCI: Found IRQ 9 for device 0000:01:02.1 divert: allocating divert_blk for eth2 e1000: eth2: e1000_probe: Intel(R) PRO/1000 Network Connection scb2_flash: warning - can't reserve rom window, continuing CFI: Found no SCB2 BIOS Flash device at location zero scb2_flash: flash probe failed! ohci_hcd: 2004 Feb 02 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI) PCI: Found IRQ 9 for device 0000:00:0f.2 ohci_hcd 0000:00:0f.2: OHCI Host Controller ohci_hcd 0000:00:0f.2: irq 9, pci mem 22880000 SELinux: initialized (dev usbdevfs, type usbdevfs), uses genfs_contexts ohci_hcd 0000:00:0f.2: new USB bus registered, assigned bus number 1 hub 1-0:1.0: USB hub found hub 1-0:1.0: 4 ports detected md: Autodetecting RAID arrays. md: autorun ... md: ... autorun DONE. usb 1-1: new low speed USB device using address 2 input: USB HID v1.00 Mouse [Microsoft Microsoft IntelliMouse® Explorer] on usb-0000:00:0f.2-1 SELinux: initialized (dev ramfs, type ramfs), uses genfs_contexts NET: Registered protocol family 10 Disabled Privacy Extensions on device 02369a00(lo) IPv6 over IPv4 tunneling driver divert: not allocating divert_blk for non-ethernet device sit0 EXT3 FS on hdc1, internal journal device-mapper: 4.1.0-ioctl (2003-12-10) initialised: dm@xxxxxxxxxxxxxx SELinux: initialized (dev tmpfs, type tmpfs), uses transition SIDs Adding 2474000k swap on /dev/hdc2. Priority:-1 extents:1 SELinux: initialized (dev binfmt_misc, type binfmt_misc), uses genfs_contexts parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE,EPP] parport0: irq 7 detected ip_tables: (C) 2000-2002 Netfilter core team ip_tables: (C) 2000-2002 Netfilter core team ip_tables: (C) 2000-2002 Netfilter core team SELinux: initialized (dev rpc_pipefs, type rpc_pipefs), uses genfs_contexts i2c /dev entries driver eth0: no IPv6 routers present eth1: no IPv6 routers present parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE,EPP] parport0: irq 7 detected lp0: using parport0 (polling). lp0: console ready ipmi message handler version v33 ipmi device interface version v33 IPMI System Interface driver version v33, KCS version v33, SMIC version v33, BT version v33 ACPI: System description tables not found ipmi_si: Found SMBIOS-specified state machine at I/O address 0xca9 Trying to free free IRQ4 ipmi_si: Unable to find any System Interface(s)