Changes between Version 1 and Version 2 of UserDocs/Distro/Debian/TroubleshootingInstallation
- Timestamp:
- 08/21/06 15:48:22 (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
UserDocs/Distro/Debian/TroubleshootingInstallation
v1 v2 9 9 (This problem only occurs when you compile kernels the Debian way with {{{--append-to-version}}}.) 10 10 11 == Make-Kpkg==11 == rename_netif == 12 12 13 Eric Van Buggenhaut sent me the following, on how to get make-kpkg to leave a built kernel tree in place after its made (and perhaps packaged) your kernel. 13 If after installing and rebooting/modprobing an error like the following appears: 14 {{{ 15 udevd-event[7118]: rename_netif: error changing net interface name wifi0_rename to ath0: Device or resource busy 16 }}} 17 It means that persistent network interface renaming is being painful. 14 18 15 If you are trying to build madwifi on an x86 Debian system (using kpkg), you may find that make fails, complaining that it can’t find modpost. 16 17 After searching the web, I realized that the madwifi build wants to be able to find modpost in {{{/lib/modules/${VERSION}/build}}}, but the default kernel-package config runs a make clean in the kernel tree after the deb is built. To leave the built executables around, I modified {{{/etc/kernel-pkg.conf}}} to include the line: 19 Take a look to see if '''/etc/udev/rules.d/z25_persistent-net.rules''' exists. If it does exist, and it contains a line similar to: 18 20 {{{ 19 do_clean := No 21 ACTION=="add", SUBSYSTEM=="net", SYSFS{address}=="00:11:22:33:44:55", NAME="ath0", ENV{INTERFACE_OLD}="$kernel" 20 22 }}} 21 As described at http://www.gag.com/~bdale/nc4000/. 22 23 I’m informed by Joe Milbourn, that you can also use {{{do_clean := !([Yy]es)}}}. 23 Comment the line out and reboot. 24 24 25 25 ----