On Wed, 2014-10-15 at 23:27 +0530, harisha ja wrote: > rama@ubuntu:~/linux/linux_ws$ git diff > diff --git a/drivers/net/ethernet/intel/e1000/e1000_main.c > b/drivers/net/ethernet/intel/e1000/e1000_main.c > index cbc330b..3063991 100644 > --- a/drivers/net/ethernet/intel/e1000/e1000_main.c > +++ b/drivers/net/ethernet/intel/e1000/e1000_main.c > @@ -945,7 +945,8 @@ static int e1000_probe(struct pci_dev *pdev, const >[...] > struct pci_device_id *ent) > u16 tmp = 0; > u16 eeprom_apme_mask = E1000_EEPROM_APME; > int bars, need_ioport; > - > + > + printk(KERN_DEBUG "I can modify the Linux kernel!\n"); > /* do not allocate ioport bars when not needed */ > need_ioport = e1000_is_need_ioport(pdev); > if (need_ioport) { Two things come to mind: - I don't think printk() at KERN_DEBUG level makes it to the console (by default at least). Try KERN_ERR; - do you actually run kvm (so, basically, qemu) with an emulated e1000 device? Hope this helps, Paul Bolle _______________________________________________ Kernelnewbies mailing list Kernelnewbies@xxxxxxxxxxxxxxxxx http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies