Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 236593 - net-wireless/iwlwifi + gentoo-sources-2.6.26 / -r1 - hostname changes to "noname"
Summary: net-wireless/iwlwifi + gentoo-sources-2.6.26 / -r1 - hostname changes to "non...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High critical (vote)
Assignee: Saleem Abdulrasool (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-03 16:18 UTC by Philipp
Modified: 2008-12-03 13:45 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Philipp 2008-09-03 16:18:06 UTC
Hi guys,

if my iwl4965 minipci card connect with a fritzbox then the following happens ->

- the hostname change to "noname"
- the xorg-server crash ( i cant start a programm )
- Xserver output

Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

Cannot open display ":0.0"

- mac80211 output

wlan0: Initial auth_alg=0
wlan0: authenticate with AP 00:04:0e:8a:8d:95
wlan0: RX authentication from 00:04:0e:8a:8d:95 (alg=0 transaction=2 status=0)
wlan0: authenticated
wlan0: associate with AP 00:04:0e:8a:8d:95
wlan0: RX AssocResp from 00:04:0e:8a:8d:95 (capab=0x411 status=0 aid=1)
wlan0: associated
ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
------------[ cut here ]------------
WARNING: at net/mac80211/rx.c:319 __ieee80211_rx_handle_packet+0x2ed/0x85c()
Modules linked in: ipv6 bridge llc snd_seq snd_seq_device vboxdrv uinput tp_smapi hdaps thinkpad_ec nvidia(P) snd_hda_intel i2c_i801 e1000e snd_pcm snd_timer snd_page_alloc snd_hwdep hci_usb i2c_core yenta_socket snd pcspkr video iTCO_wdt intel_agp rsrc_nonstatic iTCO_vendor_support ricoh_mmc output agpgart joydev tg3 e1000 nfs nfs_acl lockd sunrpc raid10 dm_bbr sl811_hcd usbhid ff_memless ohci_hcd ssb uhci_hcd usb_storage ehci_hcd usbcore lpfc qla2xxx megaraid_sas megaraid_mbox megaraid_mm megaraid aacraid sx8 DAC960 cciss cpqarray 3w_9xxx 3w_xxxx mptsas scsi_transport_sas mptfc scsi_transport_fc scsi_tgt mptspi mptscsih mptbase atp870u dc395x qla1280 dmx3191d sym53c8xx qlogicfas408 gdth advansys initio BusLogic arcmsr aic7xxx aic79xx scsi_transport_spi sg videobuf_core sata_qstor sata_sil24 scsi_wait_scan pata_pcmcia pcmcia pcmcia_core
Pid: 0, comm: swapper Tainted: P          2.6.26-gentoo-r1 #1
 [<c01248ac>] warn_on_slowpath+0x41/0x6a
 [<c011c62a>] ? __wake_up+0x31/0x3b
 [<c01316b7>] ? insert_work+0x5b/0x63
 [<c01319d4>] ? __queue_work+0x28/0x2d
 [<c0131a33>] ? queue_work+0x36/0x40
 [<c05dc619>] ? ieee80211_sta_rx_mgmt+0xba/0xdd
 [<f9d78b27>] ? _nv004514rm+0x19/0x1d [nvidia]
 [<c05dfa67>] __ieee80211_rx_handle_packet+0x2ed/0x85c
 [<c03f509d>] ? __next_cpu+0x15/0x25
 [<c0136c99>] ? ktime_get_ts+0x40/0x44
 [<c05e1d1b>] __ieee80211_rx+0x41a/0x46b
 [<c047bb02>] ? iwl4965_rx_queue_update_write_ptr+0x377/0x381
 [<c047d1f9>] ? iwl4965_rx_queue_restock+0x10c/0x118
 [<c05d2c18>] ieee80211_tasklet_handler+0x51/0xf4
 [<c0128c0d>] tasklet_action+0x56/0xa9
 [<c0128b00>] __do_softirq+0x64/0xcd
 [<c0105826>] do_softirq+0x55/0x89
 [<c0156913>] ? handle_edge_irq+0x0/0x100
 [<c0128a69>] irq_exit+0x38/0x6b
 [<c01058fa>] do_IRQ+0xa0/0xb6
 [<c010421f>] common_interrupt+0x23/0x28
 [<c013007b>] ? sys_setpgid+0x64/0x17a
 [<c0452c67>] ? acpi_idle_enter_bm+0x27d/0x2ec
 [<c053e586>] cpuidle_idle_call+0x55/0x83
 [<c053e531>] ? cpuidle_idle_call+0x0/0x83
 [<c0102587>] cpu_idle+0x90/0xac
 [<c05ece6a>] rest_init+0x4e/0x50
 =======================
---[ end trace 5825d69f63d9fb2f ]---


---------------------------------------------------------------------------

I know that the xserver make problems if the hostname change during the Xsession. The iwl4965-ucode firmwares seemes to be okay. So i musst be a driver problem between fritzbox and kernel driver that change the hostname. 

Sorry for my bad english...

greetz Zaolin

Reproducible: Always

Steps to Reproduce:
1. Networkmanager connect to the fritzbox AP
2. Xserver crash
3.
Comment 1 Markos Chandras (RETIRED) gentoo-dev 2008-12-03 12:20:22 UTC
Lets try a couple of things

1) Please attach lspci 
2) Do you have Intel 4965 driver compiled in kernel or as module
3) If you have it as module , can you unload the module and then load it ,and post dmesg output after that

I am using iwl4965-ucode ( slotted 1 ) on my gentoo machine with the same wifi card chipset without problems.

Please provide the above info to investigate the problem more carefully
Comment 2 Philipp 2008-12-03 13:45:41 UTC
Problem was a networkmanager problem. Not a hardware or driver problem.
Sorry for that. It seems that the networkmanager has problems with some wifi cards because of hostname changing.

You can solve the problem with a simple EDIT in /etc/dhcp/dhclient.conf ->
send host-name "your-hostname";
supersede host-name "your-hostname";

greetz Zaolin