Hey there. Just wanted to say that i'm seeing this on Bionic as well, on one
machine with kernel 4.15.0-20-generic and also on a second one with kernel
4.15.0-22-generic. The former obviously hasn't been updated in a little bit. I
didn't notice the problem until just now so i can't say if there was ever a time
when it was working before.

I *can* say that i have several *Xenial* machines running 4.15.0-15-generic and
those don't exhibit the problem. (I don't have `dummy` in my module config on
those, but a boot script runs `modprobe dummy` and that automatically creates
the interface, which i believe is the expected default behaviour.)

On Bionic, it doesn't create the interface unless i manually specify the
`numdummies=<num>` option to `modprobe` (as the other reporters have said) or
unless i have `ip link add` load the module and create it for me (naturally).

I did try adding `dummy` to /etc/modules and `options dummy numdummies=1` to
/etc/modprobe.d/dummy-options.conf. systemd-modules-load says that it inserted
the module, and i can confirm that with `lsmod`, but, again, it doesn't actually
create the interface any more.

I can also confirm that, after the module is loaded, i'm missing
/sys/module/dummy/parameters — whatever that indicates.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1774731

Title:
  Missing "/sys/module/dummy/parameters/" subdir on dummy module

Status in linux package in Ubuntu:
  Incomplete

Bug description:
  Hello,

   On Ubuntu 18.04 (fully updated), the following configuration does not
  work:

   File /etc/modprobe.d/dummy.conf with:

  ----
   options dummy numdummies=12
  ----

   File /etc/modules

  ----
   dummy
  ----

   The module "dummy" is loaded but, there is no 12 dummies NIC cards!

   The manual workaround is:

  ---
  rmmod dummy
  modprobe dummy numdummies=12
  ---

   I talked on IRC and someone pointed that the dummy module is missing
  its "/sys/module/dummy/parameters/" subdir, so, I'm filling this bug
  report now.

  Cheers!
  --- 
  AlsaVersion: Advanced Linux Sound Architecture Driver Version 
k4.15.0-22-generic.
  AplayDevices: Error: [Errno 2] No such file or directory: 'aplay': 'aplay'
  ApportVersion: 2.20.9-0ubuntu7.1
  Architecture: amd64
  ArecordDevices: Error: [Errno 2] No such file or directory: 'arecord': 
'arecord'
  AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/by-path', 
'/dev/snd/hwC0D0', '/dev/snd/pcmC0D0c', '/dev/snd/pcmC0D0p', 
'/dev/snd/controlC0', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1:
  Card0.Amixer.info: Error: [Errno 2] No such file or directory: 'amixer': 
'amixer'
  Card0.Amixer.values: Error: [Errno 2] No such file or directory: 'amixer': 
'amixer'
  DistroRelease: Ubuntu 18.04
  IwConfig: Error: [Errno 2] No such file or directory: 'iwconfig': 'iwconfig'
  Lsusb:
   Bus 001 Device 002: ID 0627:0001 Adomax Technology Co., Ltd 
   Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
   Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
   Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
   Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
  MachineType: QEMU Standard PC (i440FX + PIIX, 1996)
  Package: linux (not installed)
  ProcEnviron:
   TERM=screen
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  ProcFB: 0 qxldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.15.0-22-generic 
root=UUID=26330e04-49ed-11e8-9cae-525400a53f07 ro
  ProcVersionSignature: Ubuntu 4.15.0-22.24-generic 4.15.17
  RelatedPackageVersions:
   linux-restricted-modules-4.15.0-22-generic N/A
   linux-backports-modules-4.15.0-22-generic  N/A
   linux-firmware                             1.173.1
  RfKill: Error: [Errno 2] No such file or directory: 'rfkill': 'rfkill'
  Tags:  bionic uec-images
  Uname: Linux 4.15.0-22-generic x86_64
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups:
   
  _MarkForUpload: True
  dmi.bios.date: 04/01/2014
  dmi.bios.vendor: SeaBIOS
  dmi.bios.version: 1.10.2-1ubuntu1
  dmi.chassis.type: 1
  dmi.chassis.vendor: QEMU
  dmi.chassis.version: pc-i440fx-bionic
  dmi.modalias: 
dmi:bvnSeaBIOS:bvr1.10.2-1ubuntu1:bd04/01/2014:svnQEMU:pnStandardPC(i440FX+PIIX,1996):pvrpc-i440fx-bionic:cvnQEMU:ct1:cvrpc-i440fx-bionic:
  dmi.product.name: Standard PC (i440FX + PIIX, 1996)
  dmi.product.version: pc-i440fx-bionic
  dmi.sys.vendor: QEMU

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1774731/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to