On Fri, 2012-03-23 at 11:53 +0100, Björn Döbel wrote:
On 21.03.2012 22:29, Shashi Sharma wrote:
Hi,
I am trying to use e1000e driver in Ankh to bring-up intel's 82574L ethernet controller. But its unable to allocate interrupt and I cant figure out the source of the problem.
Can you please try this?
Index: dde/linux26/lib/src/arch/l4/pci.c
--- dde/linux26/lib/src/arch/l4/pci.c (Revision 41236) +++ dde/linux26/lib/src/arch/l4/pci.c (Arbeitskopie) @@ -196,6 +196,7 @@ Assert(pci_bus);
pci_do_scan_bus(pci_bus);
pci_walk_bus(pci_bus, pci_irq_enable, NULL); INITIALIZE_INITVAR(dde26_pci);
}
Then rebuild the dde & Ankh packages.
Thank you Björn for quick fix. It solved it.
Ankh is now able to open eth0 (via e1000e driver). And l4ankh driver in l4linux can now see the eth0 device.
------------------------------------- sh-2.05a# ifconfig eth0 eth0 Link encap:Ethernet HWaddr 00:E0:81:C4:68:03 BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) Interrupt:65
-----------------------------------
But when I do sh-2.05a# ifup eth0 It crashes with following error.
-------------------------- l4lx_irq_dev_startup: creating IRQ thread for 65 (IRQ-cap 428000) l4lx_irq_dev_startup: creating IRQ thread for 65 (IRQ-cap 428000) l4linux | l4lx_thread_create: Created thread 433 (IRQ65) (u:b3000e00, sp:006bfff4) l4linux | irq_thread: Started IRQ thread for IRQ 65 l4linux | wait_for_irq_message: IRQ 65 (428) receive failed, error = 0x4 ------------------------
I would really appreciate some pointers on how to go about using device eth0.
-Shashi
Björn
l4-hackers mailing list l4-hackers@os.inf.tu-dresden.de http://os.inf.tu-dresden.de/mailman/listinfo/l4-hackers