Re: [Linux-usb-users] recompiled usbserial.ko 10 times bigger than original

2005-10-25 Thread Greg KH
A: http://en.wikipedia.org/wiki/Top_post Q: Were do I find info about this thing called top-posting? A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? A: No. Q: Should I includ

Re: [Linux-usb-users] recompiled usbserial.ko 10 times bigger than original

2005-10-24 Thread Simon Wu
Greg, I did a bit more investigation. I replaced my driver with the "hello, world" module, just "hello world" and "goodbye world". The size for my driver will be 15k, for usbserial is 380k. I actually used the .config file from my Debian 2.6.6 system, the compile results is normal, usbserial 37k.

Re: [Linux-usb-users] recompiled usbserial.ko 10 times bigger than original

2005-10-24 Thread Greg KH
On Mon, Oct 24, 2005 at 12:03:32PM -0400, Simon Wu wrote: > Thanks, Greg. > > I didn't modify anything on either Debian with 2.6.6 or Fedora with > 2.6.9. The kernel come form kernel.org. Here is my compile results on > both system, but on Fedora, both my driver or the usbserial driver are > about

Re: [Linux-usb-users] recompiled usbserial.ko 10 times bigger than original

2005-10-24 Thread Simon Wu
Thanks, Greg. I didn't modify anything on either Debian with 2.6.6 or Fedora with 2.6.9. The kernel come form kernel.org. Here is my compile results on both system, but on Fedora, both my driver or the usbserial driver are about 10 times bigger that of 2.6.6's and the original distribution's: [EM

Re: [Linux-usb-users] recompiled usbserial.ko 10 times bigger than original

2005-10-21 Thread Greg KH
On Fri, Oct 21, 2005 at 03:53:37PM -0400, Simon Wu wrote: > Hello, > > I had to compile a driver based on usbserial. > > I compile my driver which also forced usbserial to be recompiled as > well. Thing seems good on Debian with 2.6.6. Have a pointer to the source of your driver? > But when I t

Re: [Linux-usb-users] recompiled usbserial.ko 10 times bigger than original

2005-10-21 Thread Alan Stern
On Fri, 21 Oct 2005, Simon Wu wrote: > Hello, > > I had to compile a driver based on usbserial. > > I compile my driver which also forced usbserial to be recompiled as > well. Thing seems good on Debian with 2.6.6. > > But when I tried it on Fedora 3 (2.6.9) and Fedora 4 (2.6.11), the > recompi

[Linux-usb-users] recompiled usbserial.ko 10 times bigger than original

2005-10-21 Thread Simon Wu
Hello, I had to compile a driver based on usbserial. I compile my driver which also forced usbserial to be recompiled as well. Thing seems good on Debian with 2.6.6. But when I tried it on Fedora 3 (2.6.9) and Fedora 4 (2.6.11), the recompiled usbserial.ko is about 10 times in size compared to t