[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Building kernel module: rtl8192se



Dear all,

  I am trying to build the rtl8192se module for my running debian
kernel. I have the patch that apply cleanly on linux 2.6.38 (*).
However I failed to find any documentation for building this wireless
driver.
  I tried the brutal approach of building the entire kernel, see below.

  All I am looking for is a simple page where it would describe the
step to build a specific kernel module on a debian machine.

  apt-get source linux-2.6
  cd linux-2.6-2.6.38
  patch -p1 < ~/Downloads/wireless-next-2.6.38.patch
  dpkg-buildpackage -rfakeroot -us -uc

But this fails with:

--> base fully applied.
--> Try to apply 2.
  (+) OK   bugfix/all/kconfig-Avoid-buffer-underrun-in-choice-input.patch
  (+) OK   bugfix/all/rt2800-disable-powersaving-as-default.patch
  (-) OK   bugfix/x86/Correct-a-typo-in-xen_do_hypervisor_callback-label.patch
3 out of 3 hunks FAILED -- saving rejects to file
drivers/net/wireless/ath/ath9k/hw.c.rej
1 out of 1 hunk FAILED -- saving rejects to file
drivers/net/wireless/ath/ath9k/recv.c.rej
3 out of 3 hunks FAILED -- saving rejects to file
drivers/net/wireless/rtl818x/rtl8187/dev.c.rej
1 out of 1 hunk FAILED -- saving rejects to file
drivers/net/wireless/rtl818x/rtl8187/rtl8187.h.rej
  (+) FAIL bugfix/all/stable/2.6.38.1.patch
Error: Patch failed
make[2]: *** [debian/stamps/source] Error 1
make[2]: Leaving directory `/tmp/linux-2.6-2.6.38'
make[1]: *** [source_amd64_none_real] Error 2
make[1]: Leaving directory `/tmp/linux-2.6-2.6.38'
make: *** [debian/stamps/source-base] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2

thank you very much !
-- 
Mathieu

(*) https://alioth.debian.org/~malat-guest/wireless-next-2.6.38.patch.bz2


Reply to: