Linux driver binary distribution and kernel versioning

From: Bill Halchin (bill.halchin_at_osatechnologies.com)
Date: 07/22/03


Date: Mon, 21 Jul 2003 22:14:07 GMT

Hello,

      I have written a Linux driver and have read and reread the sections on
modules and versioning in Alessandro Rubini's "Linux Driver Writing" (2nd
edition). I ran into a situation where the kernel that was installed was an
SMP kernel (because the hardware was dual processor). However, the config.h
that was installed when the SuSE kernel source that was installed had SMP
set as no, i.e. a uniprocessor. So the driver was built for a UP system. I
obviously had problems (a hang) when I tried to "insmod -f" the driver. It
seems the only recourse in this situation is to at least run "make config"
to get config.h synced up with the kernel that is installed. OR have I
missed something?

Regards, Bill Halchin



Relevant Pages

  • Re: 2.6.30-rc4 kernel
    ... I think there may be a problem with the 2.6.30 kernel that is ... # Generic Driver Options ... # PCI IDE chipsets support ... # Other IDE chipsets support ...
    (Linux-Kernel)
  • 2.6.30-rc4 kernel
    ... kernel panic - not syncing: ... # Generic Driver Options ... # PCI IDE chipsets support ... # Other IDE chipsets support ...
    (Linux-Kernel)
  • [PATCH 18-rc2] Fix typos in /Documentation : N-P
    ... Again, if you're not gonna do synchronization with disk drives (dang, ... -the kernel. ... There are two options specific to PSX driver portion. ... The driver uses the settings from the EEPROM set in the SCSI BIOS ...
    (Linux-Kernel)
  • two scary syslog kernel messages
    ... Sep 20 03:46:06 marvin kernel: kernel BUG at mm/rmap.c:482! ... ACPI: Local APIC address 0xfee00000 ... Allocating PCI resources starting at 80000000 ... ** driver failed to call pci_enable_device. ...
    (Debian-User)
  • Re: [PATCH, RFT, v4] sata_mv: convert to new EH
    ... check both new and old drives with SMART ... Use a HIGHMEM enabled kernel. ... ACPI: PM-Timer IO Port: 0xe408 ... Real Time Clock Driver v1.12ac ...
    (Linux-Kernel)