Re: Probelm simulating usb-ethernet controller in gadget/ether.c

2009-01-19 Thread Mandeep Sandhu
I can't say 100% for sure your enumeration is broken, but it certainly seems that way. Before you debug too deep into the ECM or ACM side of your CDC, try using USB Snoopy or some such on the enum process. I'm not sure if there's one available for the n810 tablet. I searched the apt repos and

Custom Ethernet frame transmitter module

2009-01-19 Thread Łukasz Jachymczyk
Hello I want to write a Linux kernel module/driver to send custom Ethernet frames using real Ethernet device and it's driver. It has to support gigabit links, be independent from underlying Ethernet hardware and it's driver. I wonder how it could be achieved. Maybe my driver should create his

Re: filesystem for solid state drives in linux

2009-01-19 Thread Greg Freemyer
Just came across another SSD based paper from M$. http://research.microsoft.com/pubs/76522/tr-2008-169.pdf It discusses deployment issues into servers. Greg On Fri, Jan 16, 2009 at 7:37 AM, Greg Freemyer greg.freem...@gmail.com wrote: For a good technical overview of how a SSD is implemented

Re: Custom Ethernet frame transmitter module

2009-01-19 Thread StephanT
Lukasz, You don't need a new driver for this purpose. Just write a raw-socket application, switch the interface in promiscuous mode and you an send whatever you want. You have to be root for that. Search the net for raw socket interface. Stevens - UNIX Network Programming is a very good book

Re: Custom Ethernet frame transmitter module

2009-01-19 Thread Łukasz Jachymczyk
The reason why I would like to do it as a kernel module is performance. Raw packets has to be filtered (by headers) and/or dumped to disk at rate close to gigabit per second. Also some of them must be send to userspace application. So my question remains open: how to implement such kernel module?

Ext4 ABI enhanced to support file re-org

2009-01-19 Thread Greg Freemyer
OHSM team, I've been taking a look at the Ext4 list. You should read http://marc.info/?l=linux-ext4m=122880166227883w=2 I don't know your design well enough to know if those 3 ioctls will make sense for OHSM or not. Getting new userland / kernel ABI interfaces into the kernel can be very

Re: Hierarchical RCU by Paul McKenney

2009-01-19 Thread Paul E. McKenney
On Sat, Jan 17, 2009 at 03:09:16PM +0100, Leon Woestenberg wrote: Hello, On Mon, Jan 12, 2009 at 3:25 PM, Peter Teoh htmldevelo...@gmail.com wrote: An incredible good technical article: http://lwn.net/Articles/305782/ May be someone would like to summarize it in 3 or 4 sentences?

Re: Copying Data Blocks

2009-01-19 Thread Peter Teoh
Firstly, I would like to congratulate everyone for pulling the conversation this long - this is the 100th element in this threadand my gmail is getting slower... Anywayway back 10 years agoit is common practise both in Unix/AIX/Oracle database worldthat harddisk

Re: Custom Ethernet frame transmitter module

2009-01-19 Thread StephanT
The reason why I would like to do it as a kernel module is performance. Raw packets has to be filtered (by headers) and/or dumped to disk at rate close to gigabit per second. Also some of them must be send to userspace application. So my question remains open: how to implement such kernel

Re: [PATCH]ext4: online defrag: Enable to reuse blocks by multiple

2009-01-19 Thread Sandeep K Sinha
Hi Theodore, I recently came across one of your mails mentioning the pnas of the new ABI's that will be supported by ext4. Just to give you a context first, we are working on Online Hierarchical Storage Manager for linux. Initially we planned to keep the implementation to ourself as its really

Re: Ext4 ABI enhanced to support file re-org

2009-01-19 Thread Sandeep K Sinha
Hi Greg, Thanks a lot for the document. That has really given us a hope that OHSM can really make its way to the kernel. I have replied to theodore and have added you, manish and peter too in the thread. Thanks Again, We will be releasing all the design docs and the POC code. Actually we never

Re: Hierarchical RCU by Paul McKenney

2009-01-19 Thread Paul E. McKenney
On Tue, Jan 20, 2009 at 10:23:52AM +0800, Peter Teoh wrote: Thank you Paul. As I read the Documentation/RCU/whatisRCU.txt, I began to understand perhaps ONE aspect of it, based on my Oracle database experience and background. In Oracle, there is a concept of reader does not block reader,