Re: Ethernet device

Matthias Lange <[email protected]>
Newsgroups gmane.comp.micro-kernel.l4.devel
Message-ID <20120806172336.GC31653@triton>
On Mon, Aug 06, 2012 at 07:45:15AM -0700, Wajidali Whowe wrote:
> I am testing the iso image file on the qemu with the following line:
> qemu -cdrom android.iso -boot d -m 1024 -net nic,model=e1000 -net user -serial stdio 
> 
> 
> and the outcome of "lspci" is unfortunately terrible: 
> "lspci: /sys/bus/pci/devices: No such file or directory"

Can you test this with a small (current) busybox ramdisk first? Make sure to
mount /proc and /sys and then run "mdev -s".

Matthias.

> 
> 
> Best Regards,
> 
> 
> 
> 
> ________________________________
>  From: Matthias Lange <[email protected]>
> To: Wajidali Whowe <[email protected]> 
> Cc: "[email protected]" <[email protected]> 
> Sent: Monday, August 6, 2012 4:23 PM
> Subject: Re: Ethernet device
>  
> On Mon, Aug 06, 2012 at 05:56:40AM -0700, Wajidali Whowe wrote:
> > Hi Matthias, thanks for the fast reply. Indeed I have already added the bus for PCI devices into the x86.vbus file as follows:
> >
> > I guess the "pci[] =>  wrap(hw-root.match("PCI/CC_02"));" line should have been handling this, I checked also the l4 kernel and saw that the PCI device support was already chosen, still I can not achieve eth device on the virtualized android kernel
> 
> Are you using "real" hardware or are you using an emulator (e.g. qemu)? Does
> "lspci" show something meaningful?
> 
> Matthias.
> 
> > 
> > Best Regards
> > 
> > 
> > ________________________________
> >  From: Matthias Lange <[email protected]>
> > To: Wajidali Whowe <[email protected]> 
> > Cc: "[email protected]" <[email protected]> 
> > Sent: Monday, August 6, 2012 11:48 AM
> > Subject: Re: Ethernet device
> >  
> > On Mon, Aug 06, 2012 at 02:35:02AM -0700, Wajidali Whowe wrote:
> > > Dear all, 
> > > 
> > > I have been working on running different linux based OSs on top of L4.
> > > Is there any documentation or tutorial where I might find information on how to make platform devices available for the linux OS running on top of L4. For instance, I could not get ethernet devices detected by the OS.
> > 
> > In case of a PCI device you simply add that to the respective vbus and compile the
> > corresponding driver into L4Linux. Make sure to activate the virtual PCI bus
> > driver in L4Linux.
> > 
> > Matthias.
> > 
> > > 
> > > Best Regards
> > 
> > > _______________________________________________
> > > l4-hackers mailing list
> > > [email protected]
> > > http://os.inf.tu-dresden.de/mailman/listinfo/l4-hackers
> > 
> > 
> > -- 
> > Dipl.-Inf. Matthias Lange <[email protected]>
> > Security in Telecommunications
> > TU Berlin / Telekom Innovation Laboratories
> > Ernst-Reuter-Platz 7, 10587 Berlin
> > Phone: +49 - 30 - 8353 58 553
> > Mobile: +49 - 160 - 587 28 07
> > Web: http://www.t-labs.tu-berlin.de/sect
> 
> -- 
> Dipl.-Inf. Matthias Lange <[email protected]>
> Security in Telecommunications
> TU Berlin / Telekom Innovation Laboratories
> Ernst-Reuter-Platz 7, 10587 Berlin
> Phone: +49 - 30 - 8353 58 553
> Mobile: +49 - 160 - 587 28 07
> Web: http://www.t-labs.tu-berlin.de/sect

-- 
Dipl.-Inf. Matthias Lange <[email protected]>
Security in Telecommunications
TU Berlin / Telekom Innovation Laboratories
Ernst-Reuter-Platz 7, 10587 Berlin
Phone: +49 - 30 - 8353 58 553
Mobile: +49 - 160 - 587 28 07
Web: http://www.t-labs.tu-berlin.de/sect
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.