[Bug 971876] Re: Realtek Card Reader RTL8411 Device 5289 (PCI 03:00.0) Driver and udisks Rule

Str3tLeer 971876 at bugs.launchpad.net
Fri May 31 16:03:59 UTC 2013


I have a System76 Gazelle system and I upgraded from 12.04 to 12.10 and
then to 13.04. I get this error regarding rts-bpp-dkms so I tried the
planet76.com fix but this is what I get:

Building initial module for 3.8.0-23-generic
Error! Bad return status for module build on kernel: 3.8.0-23-generic (x86_64)
Consult /var/lib/dkms/rts_bpp/1.1/build/make.log for more information.


Then I opened the make.log and this is inside:

DKMS make.log for rts_bpp-1.1 for kernel 3.8.0-23-generic (x86_64)
Fri May 31 11:58:22 EDT 2013
make: Entering directory `/usr/src/linux-headers-3.8.0-23-generic'
  CC [M]  /var/lib/dkms/rts_bpp/1.1/build/src/rtsx.o
/var/lib/dkms/rts_bpp/1.1/build/src/rtsx.c:893:22: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘rtsx_probe’
/var/lib/dkms/rts_bpp/1.1/build/src/rtsx.c:1048:23: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘rtsx_remove’
/var/lib/dkms/rts_bpp/1.1/build/src/rtsx.c:1073:11: error: ‘rtsx_probe’ undeclared here (not in a function)
/var/lib/dkms/rts_bpp/1.1/build/src/rtsx.c:1074:2: error: implicit declaration of function ‘__devexit_p’ [-Werror=implicit-function-dec$
/var/lib/dkms/rts_bpp/1.1/build/src/rtsx.c:1074:24: error: ‘rtsx_remove’ undeclared here (not in a function)
/var/lib/dkms/rts_bpp/1.1/build/src/rtsx.c:255:34: warning: ‘rtsx_host_template’ defined but not used [-Wunused-variable]
/var/lib/dkms/rts_bpp/1.1/build/src/rtsx.c:450:12: warning: ‘rtsx_control_thread’ defined but not used [-Wunused-function]
/var/lib/dkms/rts_bpp/1.1/build/src/rtsx.c:559:12: warning: ‘rtsx_polling_thread’ defined but not used [-Wunused-function]
/var/lib/dkms/rts_bpp/1.1/build/src/rtsx.c:715:13: warning: ‘quiesce_and_remove_host’ defined but not used [-Wunused-function]
/var/lib/dkms/rts_bpp/1.1/build/src/rtsx.c:751:13: warning: ‘release_everything’ defined but not used [-Wunused-function]
/var/lib/dkms/rts_bpp/1.1/build/src/rtsx.c:761:12: warning: ‘rtsx_scan_thread’ defined but not used [-Wunused-function]
/var/lib/dkms/rts_bpp/1.1/build/src/rtsx.c:786:13: warning: ‘rtsx_init_options’ defined but not used [-Wunused-function]
cc1: some warnings being treated as errors
make[1]: *** [/var/lib/dkms/rts_bpp/1.1/build/src/rtsx.o] Error 1
make: *** [rts_bpp.ko] Error 2
make: Leaving directory `/usr/src/linux-headers-3.8.0-23-generic'


I hope this helps troubleshoot the problem.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to udisks in Ubuntu.
https://bugs.launchpad.net/bugs/971876

Title:
  Realtek Card Reader RTL8411 Device 5289 (PCI 03:00.0) Driver and
  udisks Rule

Status in The Linux Kernel:
  New
Status in “linux” package in Ubuntu:
  Fix Released
Status in “udisks” package in Ubuntu:
  Fix Released

Bug description:
  We have been provided with a new Realtek Card Reader driver for this
  device. The code is GPL licensed but we don't see it publicly
  available yet. This is a new driver module with the name "rts_bpp". As
  such a new udisks rule is necessary for automounting.

  New driver is attached "rts_bpp.tar.bz2".

  For automount, the following line needs to be added to
  '/lib/udev/rules.d/80-udisks.rules'

  DRIVERS=="rts_bpp", ENV{ID_DRIVE_FLASH_SD}="1"

  #########################

  We created a DKMS module .deb to make install easier until the driver
  can be included in Ubuntu. Commands:

  wget http://planet76.com/drivers/realtek/rts-bpp-dkms_1.1_all.deb
  sudo apt-get install dkms
  sudo dpkg -i rts-bpp-dkms_1.1_all.deb
  echo 'DRIVERS=="rts_bpp", ENV{ID_DRIVE_FLASH_SD}="1"' | sudo tee -a /lib/udev/rules.d/81-udisks-realtek.rules

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: udisks 1.0.4-5ubuntu1
  ProcVersionSignature: Ubuntu 3.2.0-21.34-generic 3.2.13
  Uname: Linux 3.2.0-21-generic x86_64
  ApportVersion: 2.0-0ubuntu2
  Architecture: amd64
  Date: Mon Apr  2 14:16:29 2012
  HotplugNewDevices: /dev/sdb1
  HotplugNewMounts: /dev/sdb1 /media/6331-6363 vfat rw,nosuid,nodev,relatime,uid=29999,gid=29999,fmask=0022,dmask=0077,codepage=cp437,iocharset=iso8859-1,shortname=mixed,showexec,utf8,flush,errors=remount-ro 0 0
  InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Beta amd64 (20120301)
  MachineType: CLEVO CO. W240EU/W250EUQ/W270EUQ
  ProcEnviron:
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.2.0-21-generic root=UUID=596df159-fc9a-41b4-8528-5dca5215dbd5 ro quiet splash vt.handoff=7
  SourcePackage: udisks
  Symptom: storage
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 02/24/2012
  dmi.bios.vendor: American Megatrends Inc.
  dmi.bios.version: 4.6.5
  dmi.board.asset.tag: Tag 12345
  dmi.board.name: W240EU/W250EUQ/W270EUQ
  dmi.board.vendor: CLEVO CO.
  dmi.board.version: V3.0
  dmi.chassis.asset.tag: No Asset Tag
  dmi.chassis.type: 10
  dmi.chassis.vendor: No Enclosure
  dmi.chassis.version: N/A
  dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr4.6.5:bd02/24/2012:svnCLEVOCO.:pnW240EU/W250EUQ/W270EUQ:pvrNotApplicable:rvnCLEVOCO.:rnW240EU/W250EUQ/W270EUQ:rvrV3.0:cvnNoEnclosure:ct10:cvrN/A:
  dmi.product.name: W240EU/W250EUQ/W270EUQ
  dmi.product.version: Not Applicable
  dmi.sys.vendor: CLEVO CO.

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




More information about the foundations-bugs mailing list