
Code: Select all
*** linux_bak/drivers/net/wireless/ipw3945.c 2008-02-06 19:20:41.000000000 +0100
--- linux/drivers/net/wireless/ipw3945.c 2008-02-07 00:43:10.000000000 +0100
***************
*** 15131,15134 ****
--- 15131,15142 ----
priv->config |= CFG_CUSTOM_MAC;
memcpy(priv->mac_addr, addr->sa_data, ETH_ALEN);
+
+ // hack to get rtap device up, since in 2.6.24 kernels the mac of an iface must be set
+ // setting to mac of the wifi interface
+
+ if (rtap_iface) memcpy(priv->prom_net_dev->dev_addr, addr->sa_data, ETH_ALEN);
+
+ // hack end
+
printk(KERN_INFO "%s: Setting MAC to %s\n",
priv->net_dev->name, print_mac(mac, priv->mac_addr));
***************
*** 16284,16287 ****
--- 16292,16305 ----
priv->prom_priv->ieee->iw_mode = IW_MODE_MONITOR;
+ // ToDo: find real mac here
+
+ // Hack to get rtap device up, since in 2.6.24 kernels the mac of an iface must be set
+ // Setting to a dummy mac since I don't know where to get the real one.
+ // Since no packets are being sent to this interface, this is not really important.
+
+ strcpy(priv->prom_net_dev->dev_addr,"0018DE95031A");
+
+ // hack end
+
rc = register_netdev(priv->prom_net_dev);
if (rc) {
Code: Select all
*** linux_bak/drivers/net/wireless/ipwraw.c 2008-02-06 23:41:16.000000000 +0100
--- linux/drivers/net/wireless/ipwraw.c 2008-02-07 00:43:06.000000000 +0100
***************
*** 7613,7616 ****
--- 7613,7624 ----
priv->config |= CFG_CUSTOM_MAC;
memcpy(priv->mac_addr, addr->sa_data, ETH_ALEN);
+
+ // hack to get rtap device up, since in 2.6.24 kernels the mac of an iface must be set
+ // setting to mac of the wifi interface
+
+ if (param_rtap_iface) memcpy(priv->prom_net_dev->dev_addr, addr->sa_data, ETH_ALEN);
+
+ // hack end
+
printk(KERN_INFO "%s: Setting MAC to %s\n",
priv->net_dev->name, print_mac(mac, priv->mac_addr));
***************
*** 8343,8346 ****
--- 8351,8364 ----
priv->prom_net_dev->hard_start_xmit = ipw_prom_hard_start_xmit;
+ // ToDo: find real mac here
+
+ // Hack to get rtap device up, since in 2.6.24 kernels the mac of an iface must be set
+ // Setting to a dummy mac since I don't know where to get the real one.
+ // Since no packets are being sent to this interface, this is not really important.
+
+ strcpy(priv->prom_net_dev->dev_addr,"0018DE95031A");
+
+ // hack end
+
rc = register_netdev(priv->prom_net_dev);
if (rc) {I have the same ethernet device and works fine here o_Obroch wrote:getting fatal error while loading e100 during boot up
dmesg output:
PCI: Firmware left 0000:08:08.0 e100 interrupts enabled, disabling
e100: Unknown symbol mii_ethtool_sset
e100: Unknown symbol mii_link_ok
e100: Unknown symbol mii_check_link
e100: Unknown symbol mii_nway_restart
e100: Unknown symbol generic_mii_ioctl
e100: Unknown symbol mii_ethtool_gset
e100: Intel(R) PRO/100 Network Driver, 3.5.23-k4-NAPI
e100: Copyright(c) 1999-2006 Intel Corporation
I am wondering if this is related to rcu?
switched to classec rcu to get proper poweroff and this error appeared.
Thanks for any input


Code: Select all
CC [M] sound/pci/intel8x0.o
sound/pci/intel8x0.c: In function 'fill_nocache':
sound/pci/intel8x0.c:714: error: implicit declaration of function 'set_pages_uc'
sound/pci/intel8x0.c:716: error: implicit declaration of function 'set_pages_wb'
make[2]: *** [sound/pci/intel8x0.o] Error 1
make[1]: *** [sound/pci] Error 2
make: *** [sound] Error 2
Fixed.forceflow2 wrote:Getting this when trying to build now.Code: Select all
CC [M] sound/pci/intel8x0.o sound/pci/intel8x0.c: In function 'fill_nocache': sound/pci/intel8x0.c:714: error: implicit declaration of function 'set_pages_uc' sound/pci/intel8x0.c:716: error: implicit declaration of function 'set_pages_wb' make[2]: *** [sound/pci/intel8x0.o] Error 1 make[1]: *** [sound/pci] Error 2 make: *** [sound] Error 2
the error is random, appears not at every boot and it does not seem (until now) to affect NIC functionality.Waninkoko wrote:I have the same ethernet device and works fine here o_Obroch wrote:getting fatal error while loading e100 during boot up
dmesg output:
PCI: Firmware left 0000:08:08.0 e100 interrupts enabled, disabling
e100: Unknown symbol mii_ethtool_sset
e100: Unknown symbol mii_link_ok
e100: Unknown symbol mii_check_link
e100: Unknown symbol mii_nway_restart
e100: Unknown symbol generic_mii_ioctl
e100: Unknown symbol mii_ethtool_gset
e100: Intel(R) PRO/100 Network Driver, 3.5.23-k4-NAPI
e100: Copyright(c) 1999-2006 Intel Corporation
I am wondering if this is related to rcu?
switched to classec rcu to get proper poweroff and this error appeared.
Thanks for any input


Code: Select all
mm/page_alloc.c: In function ‘badram_markpages’:
mm/page_alloc.c:3073: error: implicit declaration of function ‘phys_to_page’
mm/page_alloc.c:3073: warning: initialization makes pointer from integer without a cast
make[1]: *** [mm/page_alloc.o] Błąd 1
make: *** [mm] Błąd 2Code: Select all
...
Pid: 10471, com: iwconfig Tainted:P 2.6.24-zen1 #2
...
---[ end of trace c60d184c28f803d2 ] ---
* Stopping lo
* Bringing down lo
Code: Select all
* Starting wlan0
SIOCSIFFLAGS: No such device
* Wireless radio has been killed for interface wlan0
* wpa_supplicant will launch, but not associate until
* wireles radio is re-enabled for interface wlan0
* Starting wlan0
SIOCSIFFLAGS: No such device
Could not set interface 'wlan0' up
ioctl[SIOCSIWAUTH]: Operation not supported
[ ok ]th param 4 value 0x0 -
* Starting wpa_cli on wlan0 ...

