View previous topic :: View next topic |
Author |
Message |
darkmanPPT Veteran
Joined: 13 Apr 2006 Posts: 1069 Location: vi/bo
|
Posted: Sun Aug 27, 2006 8:16 am Post subject: madwifi non riconosce la scheda wireless |
|
|
Ok, ho guardato quà e là nei forum e nelle guide di gentoo... ma niente!!
ok, partiamo dal principio...
io ho un portatile con una scheda wireless dell'Atheros:
Code: | #lspci
...
00:06.0 Ethernet controller: Atheros Communications, Inc. AR5212 802.11abg NIC (rev 01)
...
|
ho installato madwifi-ng e madwifi-ng-tools, ho configurato il kernel come richiesto dalla guida del sito ufficiale.
carico tutto... e...
Code: | #iwconfig
eth0 no wireless extensions.
lo no wireless extensions.
|
ho provato a caricare dei moduli ed ora ho
Code: | #lsmod
Module Size Used by
wlan_tkip 11776 0
wlan_ccmp 7552 0
wlan_xauth 1408 0
wlan_acl 3968 0
wlan_scan_ap 4864 0
ath_pci 90532 0
wlan_scan_sta 13312 0
ath_rate_sample 11904 1 ath_pci
wlan 186204 8 wlan_tkip,wlan_ccmp,wlan_xauth,wlan_acl,wlan_scan_ap,ath_pci,wlan_scan_sta,ath_rate_sample
ath_hal 187344 2 ath_pci,ath_rate_sample
|
risultato ???? niente non funzia un bel nulla.....
avete delle ide???
grazie _________________ Darkman |
|
Back to top |
|
|
Maxxer Apprentice
Joined: 22 Apr 2005 Posts: 171 Location: LC
|
Posted: Mon Aug 28, 2006 6:55 am Post subject: |
|
|
immagino che dopo il caricamento dei moduli iwconfig ritorni comunque solo eth0 e lo, vero?
puoi postare lspci -n |grep 00:06.0
altre schede di rete wifi funzionano sul tuo computer?
ciao |
|
Back to top |
|
|
darkmanPPT Veteran
Joined: 13 Apr 2006 Posts: 1069 Location: vi/bo
|
Posted: Mon Aug 28, 2006 8:48 am Post subject: |
|
|
Maxxer wrote: |
immagino che dopo il caricamento dei moduli iwconfig ritorni comunque solo eth0 e lo, vero?
|
Esatto.
Maxxer wrote: |
puoi postare lspci -n |grep 00:06.0
|
Eccolo:
Code: |
# lspci -n |grep 00:06.0
00:06.0 0200: 168c:0013 (rev 01)
|
Maxxer wrote: |
altre schede di rete wifi funzionano sul tuo computer?
|
No.
Ho fatto altri test. Sembrerebbe un problema di IRQ della scheda. Quando carico il modulo ath_pci, dmesg mi da:
Code: |
# dmesg
...
ath_hal: module license 'Proprietary' taints kernel.
ath_hal: 0.9.16.16 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
wlan: 0.8.4.2 (svn 1531)
ath_rate_sample: 1.2 (svn 1531)
ath_pci: 0.9.4.5 (svn 1531)
PCI: Enabling device 0000:00:06.0 (0000 -> 0002)
ACPI: PCI Interrupt 0000:00:06.0[A]: no GSI
wifi%d: request_irq failed
|
Se faccio il boot con acpi=off:
Code: |
...
ath_hal: module license 'Proprietary' taints kernel.
ath_hal: 0.9.16.16 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
wlan: 0.8.4.2 (svn 1531)
ath_rate_sample: 1.2 (svn 1531)
ath_pci: 0.9.4.5 (svn 1531)
PCI: Enabling device 0000:00:06.0 (0000 -> 0002)
PCI: No IRQ known for interrupt pin A of device 0000:00:06.0. Please try using pci=biosirq.
wifi%d: request_irq failed
|
Seguendo il suggerimento di sopra, ho provato a bootare con acpi=off pci=biosirq. L'output di dmesg e`:
Code: |
...
ath_hal: module license 'Proprietary' taints kernel.
ath_hal: 0.9.16.16 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
wlan: 0.8.4.2 (svn 1531)
ath_rate_sample: 1.2 (svn 1531)
ath_pci: 0.9.4.5 (svn 1531)
PCI: Enabling device 0000:00:06.0 (0000 -> 0002)
PCI: No IRQ known for interrupt pin A of device 0000:00:06.0.
wifi%d: request_irq failed
|
Per completezza, ho anche provato a bootare con il solo pci=biosirq: ottengo il primo risultato (no GSI).
Inutile dire che sotto windows la scheda e` correttamente riconosciuta, con IRQ=19... _________________ Darkman |
|
Back to top |
|
|
Maxxer Apprentice
Joined: 22 Apr 2005 Posts: 171 Location: LC
|
Posted: Mon Aug 28, 2006 10:28 am Post subject: |
|
|
darkmanPPT wrote: |
Maxxer wrote: |
altre schede di rete wifi funzionano sul tuo computer?
|
No.
|
forse non mi sono spiegato bene.
hai modo di provare un'altra scheda wifi PCMCIA sul tuo pc? |
|
Back to top |
|
|
darkmanPPT Veteran
Joined: 13 Apr 2006 Posts: 1069 Location: vi/bo
|
Posted: Mon Aug 28, 2006 10:54 am Post subject: |
|
|
Maxxer wrote: | darkmanPPT wrote: |
Maxxer wrote: |
altre schede di rete wifi funzionano sul tuo computer?
|
No.
|
forse non mi sono spiegato bene.
hai modo di provare un'altra scheda wifi PCMCIA sul tuo pc? |
No, purtroppo non ho un'altra scheda wifi da provare sul notebook. _________________ Darkman |
|
Back to top |
|
|
lavish Bodhisattva
Joined: 13 Sep 2004 Posts: 4296
|
Posted: Mon Aug 28, 2006 11:34 am Post subject: |
|
|
penso che questo post sia abbastanza inutile, comunque:
Abbiamo lo stesso identico chipset Code: | 03:00.0 Ethernet controller: Atheros Communications, Inc. AR5212 802.11abg NIC (rev 01) |
Io posso solo dirti che a me va perfettamente e senza passare parametri extra al kernel. Se vuoi qualche info, conf, chiedi pure e ti sarà postato
Ciao! _________________ minimalblue.com | secgroup.github.io/ |
|
Back to top |
|
|
darkmanPPT Veteran
Joined: 13 Apr 2006 Posts: 1069 Location: vi/bo
|
Posted: Mon Aug 28, 2006 7:30 pm Post subject: |
|
|
lavish wrote: |
Io posso solo dirti che a me va perfettamente e senza passare parametri extra al kernel. Se vuoi qualche info, conf, chiedi pure e ti sarà postato
|
Forse il problema sta nella configurazione nel kernel... Potresti gentilmente fornirmi la tua configurazione del kernel? Puoi anche postare il tuo output di lspci -vvv (ovviamente mi basta la parte sulla scheda wireless)?
Stai usando la scheda su un notebook?
Grazie. _________________ Darkman |
|
Back to top |
|
|
lavish Bodhisattva
Joined: 13 Sep 2004 Posts: 4296
|
Posted: Mon Aug 28, 2006 9:06 pm Post subject: |
|
|
Sì sto usando la scheda pcmcia su un notebook
Ecco qua le info:
Code: | 03:00.0 Ethernet controller: Atheros Communications, Inc. AR5212 802.11abg NIC (rev 01)
Subsystem: Global Sun Technology Inc Unknown device 7103
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 168 (2500ns min, 7000ns max), Cache Line Size 20
Interrupt: pin A routed to IRQ 11
Region 0: Memory at d2000000 (32-bit, non-prefetchable) [size=64K]
Capabilities: [44] Power Management version 2
Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=2 PME-
|
Code: | [ebuild R ] net-wireless/madwifi-ng-0.9.2 USE="-amrr -onoe" |
config per suspend2-sources-2.6.16 -> http://www.minimalblue.com/ftp/public/linux/config/config-2.6.16-gentoo
Spero possa esserti utile, ciao! _________________ minimalblue.com | secgroup.github.io/ |
|
Back to top |
|
|
Tiro l33t
Joined: 14 Feb 2003 Posts: 752 Location: italy
|
Posted: Tue Aug 29, 2006 12:06 am Post subject: |
|
|
caricato il modulo per PCMCIA? |
|
Back to top |
|
|
darkmanPPT Veteran
Joined: 13 Apr 2006 Posts: 1069 Location: vi/bo
|
Posted: Tue Aug 29, 2006 4:52 pm Post subject: |
|
|
Tiro wrote: |
caricato il modulo per PCMCIA?
|
No. La scheda wireless in questione e` integrata nel notebook.
Grazie!
Nella tua configurazione del kernel hai attivato "Local APIC" e "IO-APIC". Con queste opzioni la scheda viene correttamente rilevata con IRQ=19 e i driver funzionano! Thanks!
Pero' c'e` un ma... adesso hanno smesso di funzionare le porte usb...
In dmesg ottengo diversi errori del tipo:
Quote: |
...
USB Universal Host Controller Interface driver v3.0
ACPI Error (uteval-0215): Return object type is incorrect [\_SB_.PCI0.ALKD._CRS] (Node c13ec9c0), AE_TYPE
ACPI Error (uteval-0221): Type returned from _CRS was incorrect: Integer, expected Btypes: 4 [20060127]
ACPI: Unable to set IRQ for PCI Interrupt Link [ALKD] (likely buggy ACPI BIOS).
Try pci=noacpi or acpi=off
...
|
Inutile dire che ho provato il suggerimento pci=noacpi: con questo parametro smette di funzionare la scheda wireless... _________________ Darkman |
|
Back to top |
|
|
lavish Bodhisattva
Joined: 13 Sep 2004 Posts: 4296
|
Posted: Tue Aug 29, 2006 5:01 pm Post subject: |
|
|
Eheh, devo dire che hai un culo pazzesco
Hai provato ad aggiornare il BIOS? _________________ minimalblue.com | secgroup.github.io/ |
|
Back to top |
|
|
darkmanPPT Veteran
Joined: 13 Apr 2006 Posts: 1069 Location: vi/bo
|
Posted: Wed Aug 30, 2006 4:04 pm Post subject: |
|
|
lavish wrote: |
Hai provato ad aggiornare il BIOS?
|
Purtroppo sul sito della packard bell non ci sono aggiornamenti per il bios.
Nulla da fare nemmeno con il setup del bios. E` cosi' avanzato che si puo' settare l'ora, la sequenza di boot e... nient'altro!
I messaggi di errore che trovo su dmesg:
Code: |
....
ACPI Error (uteval-0215): Return object type is incorrect [\_SB_.PCI0.ALKD._CRS] (Node c13ec9c0), AE_TYPE
ACPI Error (uteval-0221): Type returned from _CRS was incorrect: Integer, expected Btypes: 4 [20060127]
ACPI: Unable to set IRQ for PCI Interrupt Link [ALKD] (likely buggy ACPI BIOS).
Try pci=noacpi or acpi=off
...
|
sono, credo, irrilevanti per il bus usb. Ho disassemblato il DSDT. Il codice compila correttamente con l'intel iasl (e in effetti, il DSDT del bios e` stato compilato con il compilatore intel). Questa e` la sezione relativa a ALKD:
Code: |
Device (ALKD)
{
Name (_HID, EisaId ("PNP0C0F"))
Name (_UID, 0x08)
Method (_PRS, 0, NotSerialized)
{
Name (A47D, ResourceTemplate ()
{
Interrupt (ResourceConsumer, Level, ActiveLow, Shared, ,,)
{
0x00000015,
}
})
Return (A47D)
}
Method (_STA, 0, NotSerialized)
{
Return (0x0B)
}
Method (_DIS, 0, NotSerialized)
{
}
Method (_CRS, 0, NotSerialized)
{
Return (0x00)
}
Method (_SRS, 1, NotSerialized)
{
}
}
|
Per quanto posso capire io dal codice, il PCI Interrupt Link ALKD non si riferisce a nessun device, in particolare non alle porte usb. Quindi ritengo che il problema non sia qui.
Ho ricompilato il kernel abilitando i messaggi di debugging verbose per usb. Adesso quando collego una chiavetta usb, dmesg mi da:
Code: |
...
hub 1-0:1.0: state 7 ports 6 chg 0000 evt 0008
ehci_hcd 0000:00:10.3: GetStatus port 3 status 001803 POWER sig=j CSC CONNECT
hub 1-0:1.0: port 3, status 0501, change 0001, 480 Mb/s
hub 1-0:1.0: debounce: port 3: total 100ms stable 100ms status 0x501
ehci_hcd 0000:00:10.3: port 3 high speed
ehci_hcd 0000:00:10.3: GetStatus port 3 status 001005 POWER sig=se0 PE CONNECT
usb 1-3: new high speed USB device using ehci_hcd and address 2
ehci_hcd 0000:00:10.3: Unlink after no-IRQ? Controller is probably using the wrong IRQ. **************
usb 1-3: khubd timed out on ep0in len=18/64
ehci_hcd 0000:00:10.3: port 3 high speed
ehci_hcd 0000:00:10.3: GetStatus port 3 status 001005 POWER sig=se0 PE CONNECT
usb 1-3: khubd timed out on ep0out len=0/0
usb 1-3: khubd timed out on ep0out len=0/0
usb 1-3: device not accepting address 2, error -110
ehci_hcd 0000:00:10.3: port 3 high speed
ehci_hcd 0000:00:10.3: GetStatus port 3 status 001005 POWER sig=se0 PE CONNECT
usb 1-3: new high speed USB device using ehci_hcd and address 3
usb 1-3: khubd timed out on ep0in len=18/64
ehci_hcd 0000:00:10.3: port 3 high speed
ehci_hcd 0000:00:10.3: GetStatus port 3 status 001005 POWER sig=se0 PE CONNECT
usb 1-3: khubd timed out on ep0out len=0/0
usb 1-3: khubd timed out on ep0out len=0/0
usb 1-3: device not accepting address 3, error -110
... etc...
|
(continua con messaggi simili fino a "address 5").
Cercando sul forum, ci sono parecchie segnalazioni di problemi simili. Ma tutte le soluzioni che sono riuscito a trovare, consistono in disabilitare apic, oppure acpi..... Se faccio questo, chiaramente smette di funzionare la scheda wireless....
Ho evidenziato, nel codice di sopra, il messaggio che suggerisce IRQ errati. In realta', confrontando /proc/interrupts con e senza acpi, cambiano alcuni IRQ, ma non quelli relativi al bus usb.
Ho provato, senza successo, parametri del kernel come irqpool e pci=routeirq (suggerito da qualche parte in dmesg).
Non cambia nulla nemmeno se si compilano come moduli i driver usb (al momento sono built-in), ne' se si toglie ehci.
Qualche idea? _________________ Darkman |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|