Re: copying /dev/da0 with dd(1) to file: output differs

2010-11-19 Thread Matthias Apitz
El día Friday, November 19, 2010 a las 05:42:57PM -0700, Warren Block escribió: > On Fri, 19 Nov 2010, Matthias Apitz wrote: > > El d?a Friday, November 19, 2010 a las 12:39:13PM -0700, Warren Block > > escribi?: > > > >>> Should I overwrite the full USB key from /dev/zero? > >> > >> Possibly the

Re: usb/140883: [axe] [usb8] USB gigabit ethernet hangs after short period of traffic

2010-11-19 Thread Nenhum_de_Nos
On Fri, November 19, 2010 23:24, Pyun YongHyeon wrote: > On Fri, Nov 19, 2010 at 11:20:25PM -0200, Nenhum_de_Nos wrote: >> >> On Fri, November 19, 2010 22:52, Pyun YongHyeon wrote: >> > On Fri, Nov 19, 2010 at 08:30:54PM -0200, Nenhum_de_Nos wrote: >> >> >> >> On Fri, November 19, 2010 20:07, Nenh

Re: usb/140883: [axe] [usb8] USB gigabit ethernet hangs after short period of traffic

2010-11-19 Thread Pyun YongHyeon
On Fri, Nov 19, 2010 at 11:20:25PM -0200, Nenhum_de_Nos wrote: > > On Fri, November 19, 2010 22:52, Pyun YongHyeon wrote: > > On Fri, Nov 19, 2010 at 08:30:54PM -0200, Nenhum_de_Nos wrote: > >> > >> On Fri, November 19, 2010 20:07, Nenhum_de_Nos wrote: > >> > > >> > On Fri, November 19, 2010 20:02

Re: usb/140883: [axe] [usb8] USB gigabit ethernet hangs after short period of traffic

2010-11-19 Thread Nenhum_de_Nos
On Fri, November 19, 2010 22:52, Pyun YongHyeon wrote: > On Fri, Nov 19, 2010 at 08:30:54PM -0200, Nenhum_de_Nos wrote: >> >> On Fri, November 19, 2010 20:07, Nenhum_de_Nos wrote: >> > >> > On Fri, November 19, 2010 20:02, Pyun YongHyeon wrote: >> >> On Fri, Nov 19, 2010 at 07:49:57PM -0200, Nenhu

Re: usb/140883: [axe] [usb8] USB gigabit ethernet hangs after short period of traffic

2010-11-19 Thread Pyun YongHyeon
On Fri, Nov 19, 2010 at 08:30:54PM -0200, Nenhum_de_Nos wrote: > > On Fri, November 19, 2010 20:07, Nenhum_de_Nos wrote: > > > > On Fri, November 19, 2010 20:02, Pyun YongHyeon wrote: > >> On Fri, Nov 19, 2010 at 07:49:57PM -0200, Nenhum_de_Nos wrote: > >>> > >>> On Fri, November 19, 2010 19:23, P

Re: copying /dev/da0 with dd(1) to file: output differs

2010-11-19 Thread Warren Block
On Fri, 19 Nov 2010, Matthias Apitz wrote: El d?a Friday, November 19, 2010 a las 12:39:13PM -0700, Warren Block escribi?: Should I overwrite the full USB key from /dev/zero? Possibly there would still be differences. Filesystem metadata like date last mounted, for example. If you want a bl

Re: copying /dev/da0 with dd(1) to file: output differs

2010-11-19 Thread Peter Pentchev
On Fri, Nov 19, 2010 at 06:35:19PM +0100, Matthias Apitz wrote: > El día Friday, November 19, 2010 a las 06:21:09PM +0100, Hans Petter Selasky > escribió: > > > > > Can you dump the data into hex using hexdump -C and show us the > > > > difference. > > > > > > Note: the output of the dd(1) is ar

FreeBSD + pilot-link + USB

2010-11-19 Thread george+freebsd
Does anybody here know how to use pilot-link on FreeBSD with a Zire 21 over USB? It appears that usb_scan_devices never finds my device. Thanks for any guidance you can give me.-- George Mitchell ___ freebsd-usb@freebsd.org mailing list http

Re: usb/140883: [axe] [usb8] USB gigabit ethernet hangs after short period of traffic

2010-11-19 Thread Nenhum_de_Nos
On Fri, November 19, 2010 20:07, Nenhum_de_Nos wrote: > > On Fri, November 19, 2010 20:02, Pyun YongHyeon wrote: >> On Fri, Nov 19, 2010 at 07:49:57PM -0200, Nenhum_de_Nos wrote: >>> >>> On Fri, November 19, 2010 19:23, Pyun YongHyeon wrote: >>> > On Fri, Nov 19, 2010 at 06:23:50PM -0200, Nenhum_d

Re: usb/140883: [axe] [usb8] USB gigabit ethernet hangs after short period of traffic

2010-11-19 Thread Nenhum_de_Nos
On Fri, November 19, 2010 20:02, Pyun YongHyeon wrote: > On Fri, Nov 19, 2010 at 07:49:57PM -0200, Nenhum_de_Nos wrote: >> >> On Fri, November 19, 2010 19:23, Pyun YongHyeon wrote: >> > On Fri, Nov 19, 2010 at 06:23:50PM -0200, Nenhum_de_Nos wrote: >> > >> > [...] >> > >> >> > Ok, try again after

Re: usb/140883: [axe] [usb8] USB gigabit ethernet hangs after short period of traffic

2010-11-19 Thread Pyun YongHyeon
On Fri, Nov 19, 2010 at 07:49:57PM -0200, Nenhum_de_Nos wrote: > > On Fri, November 19, 2010 19:23, Pyun YongHyeon wrote: > > On Fri, Nov 19, 2010 at 06:23:50PM -0200, Nenhum_de_Nos wrote: > > > > [...] > > > >> > Ok, try again after downloading new if_axe.c and let me know > >> > the output "EEPR

Re: usb/140883: [axe] [usb8] USB gigabit ethernet hangs after short period of traffic

2010-11-19 Thread Nenhum_de_Nos
On Fri, November 19, 2010 19:23, Pyun YongHyeon wrote: > On Fri, Nov 19, 2010 at 06:23:50PM -0200, Nenhum_de_Nos wrote: > > [...] > >> > Ok, try again after downloading new if_axe.c and let me know >> > the output "EEPROM data : 0xXX, phymode : 0xXX" shown on your >> > console. >> >> never got to

Re: usb/140883: [axe] [usb8] USB gigabit ethernet hangs after short period of traffic

2010-11-19 Thread Pyun YongHyeon
On Fri, Nov 19, 2010 at 06:23:50PM -0200, Nenhum_de_Nos wrote: [...] > > Ok, try again after downloading new if_axe.c and let me know > > the output "EEPROM data : 0xXX, phymode : 0xXX" shown on your > > console. > > never got to see that message. I saw the diff to previous version, and did > bo

Re: usb/150546: commit references a PR

2010-11-19 Thread dfilter service
The following reply was made to PR usb/150546; it has been noted by GNATS. From: dfil...@freebsd.org (dfilter service) To: bug-follo...@freebsd.org Cc: Subject: Re: usb/150546: commit references a PR Date: Fri, 19 Nov 2010 21:04:24 + (UTC) Author: thompsa Date: Fri Nov 19 21:04:18 2010 N

Re: copying /dev/da0 with dd(1) to file: output differs

2010-11-19 Thread Matthias Apitz
El día Friday, November 19, 2010 a las 12:39:13PM -0700, Warren Block escribió: > > Just an idea: The USB key in question was new and I only created the > > file system on it the usual way (fdisk, bsdlabel, newfs). Then I > > restored the dump on it (which took 26 hours for 3.1 GByte dump file). >

Re: Two questions: how to specify module-load function for driver module and which name of driver is better (according to "standards")

2010-11-19 Thread Lev Serebryakov
Hello, Paul. You wrote 19 ноября 2010 г., 19:56:26: > Is it possible/sane to integrate two drivers in one? No, they are almost totally different. -- // Black Lion AKA Lev Serebryakov ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.or

Re: usb/140883: [axe] [usb8] USB gigabit ethernet hangs after short period of traffic

2010-11-19 Thread Nenhum_de_Nos
On Fri, November 19, 2010 17:27, Pyun YongHyeon wrote: > On Fri, Nov 19, 2010 at 04:23:20PM -0200, Nenhum_de_Nos wrote: >> >> On Fri, November 19, 2010 15:13, Pyun YongHyeon wrote: >> > On Fri, Nov 19, 2010 at 03:19:26AM -0200, Nenhum_de_Nos wrote: >> >> >> >> On Thu, November 18, 2010 23:38, Pyun

Re: copying /dev/da0 with dd(1) to file: output differs

2010-11-19 Thread Warren Block
On Fri, 19 Nov 2010, Matthias Apitz wrote: El d?a Friday, November 19, 2010 a las 07:16:53PM +0100, Hans Petter Selasky escribi?: I was thinking in a tool just reading each file block by block, comparing the blocks and noting the 1st diff with block offset number. (some 10 lines of C code :-)

Re: usb/140883: [axe] [usb8] USB gigabit ethernet hangs after short period of traffic

2010-11-19 Thread Pyun YongHyeon
On Fri, Nov 19, 2010 at 04:23:20PM -0200, Nenhum_de_Nos wrote: > > On Fri, November 19, 2010 15:13, Pyun YongHyeon wrote: > > On Fri, Nov 19, 2010 at 03:19:26AM -0200, Nenhum_de_Nos wrote: > >> > >> On Thu, November 18, 2010 23:38, Pyun YongHyeon wrote: > >> > On Thu, Nov 18, 2010 at 10:40:10PM -0

Re: copying /dev/da0 with dd(1) to file: output differs

2010-11-19 Thread Alexander Motin
On 19.11.2010 20:39, Matthias Apitz wrote: El día Friday, November 19, 2010 a las 07:16:53PM +0100, Hans Petter Selasky escribió: I was thinking in a tool just reading each file block by block, comparing the blocks and noting the 1st diff with block offset number. (some 10 lines of C code :-))

Re: copying /dev/da0 with dd(1) to file: output differs

2010-11-19 Thread Matthias Apitz
El día Friday, November 19, 2010 a las 07:16:53PM +0100, Hans Petter Selasky escribió: > > I was thinking in a tool just reading each file block by block, > > comparing the blocks and noting the 1st diff with block offset number. > > (some 10 lines of C code :-)) > > > > matthias > > Maybe

Re: usb/140883: [axe] [usb8] USB gigabit ethernet hangs after short period of traffic

2010-11-19 Thread Nenhum_de_Nos
On Fri, November 19, 2010 15:13, Pyun YongHyeon wrote: > On Fri, Nov 19, 2010 at 03:19:26AM -0200, Nenhum_de_Nos wrote: >> >> On Thu, November 18, 2010 23:38, Pyun YongHyeon wrote: >> > On Thu, Nov 18, 2010 at 10:40:10PM -0200, Nenhum_de_Nos wrote: >> >> >> >> On Thu, November 18, 2010 22:06, Pyun

Re: copying /dev/da0 with dd(1) to file: output differs

2010-11-19 Thread Hans Petter Selasky
On Friday 19 November 2010 18:35:19 Matthias Apitz wrote: > El día Friday, November 19, 2010 a las 06:21:09PM +0100, Hans Petter Selasky escribió: > > > > Can you dump the data into hex using hexdump -C and show us the > > > > difference. > > > > > > Note: the output of the dd(1) is around 3.8 GB

Re: copying /dev/da0 with dd(1) to file: output differs

2010-11-19 Thread Matthias Apitz
El día Friday, November 19, 2010 a las 06:21:09PM +0100, Hans Petter Selasky escribió: > > > Can you dump the data into hex using hexdump -C and show us the > > > difference. > > > > Note: the output of the dd(1) is around 3.8 GByte. I compared the 1st > > 2.000.000 lines of the hexdump: no diff

Re: Two questions: how to specify module-load function for driver module and which name of driver is better (according to "standards")

2010-11-19 Thread Paul B Mahol
2010/11/19 Hans Petter Selasky : > On Friday 19 November 2010 16:55:27 Lev Serebryakov wrote: >> Hello, Freebsd-usb. >> >>   I've  implemented  driver (ucom-subdriver) for MosChip 7820 and 7840 >>  USB2COM multiport bridges. I have two questions: >> > > Hi, > >>   (1)  How  should  I  specify  modu

Re: copying /dev/da0 with dd(1) to file: output differs

2010-11-19 Thread Hans Petter Selasky
On Friday 19 November 2010 18:02:59 Matthias Apitz wrote: > El día Friday, November 19, 2010 a las 03:37:25PM +0100, Hans Petter Selasky escribió: > > On Friday 19 November 2010 15:33:37 Matthias Apitz wrote: > > > Hello, > > > > > > How is this possible: > > > > > > $ dd if=/dev/da0 of=f1 > > >

Re: usb/140883: [axe] [usb8] USB gigabit ethernet hangs after short period of traffic

2010-11-19 Thread Pyun YongHyeon
On Fri, Nov 19, 2010 at 03:19:26AM -0200, Nenhum_de_Nos wrote: > > On Thu, November 18, 2010 23:38, Pyun YongHyeon wrote: > > On Thu, Nov 18, 2010 at 10:40:10PM -0200, Nenhum_de_Nos wrote: > >> > >> On Thu, November 18, 2010 22:06, Pyun YongHyeon wrote: > >> > On Thu, Nov 18, 2010 at 09:12:13PM -0

Re: copying /dev/da0 with dd(1) to file: output differs

2010-11-19 Thread Matthias Apitz
El día Friday, November 19, 2010 a las 03:37:25PM +0100, Hans Petter Selasky escribió: > On Friday 19 November 2010 15:33:37 Matthias Apitz wrote: > > Hello, > > > > How is this possible: > > > > $ dd if=/dev/da0 of=f1 > > 7892087+0 records in > > 7892087+0 records out > > $ dd if=/dev/da0 of=f

Re: Two questions: how to specify module-load function for driver module and which name of driver is better (according to "standards")

2010-11-19 Thread Andriy Gapon
on 19/11/2010 17:55 Lev Serebryakov said the following: > Hello, Freebsd-usb. > > I've implemented driver (ucom-subdriver) for MosChip 7820 and 7840 > USB2COM multiport bridges. I have two questions: > > (1) How should I specify module-load function? DRIVER_MODULE() > doesn't hel

Re: Two questions: how to specify module-load function for driver module and which name of driver is better (according to "standards")

2010-11-19 Thread Lev Serebryakov
Hello, Andriy. You wrote 19 ноября 2010 г., 19:29:35: >> I've implemented driver (ucom-subdriver) for MosChip 7820 and 7840 >> USB2COM multiport bridges. I have two questions: >> >> (1) How should I specify module-load function? DRIVER_MODULE() >> doesn't help much. > Are you s

Re: Two questions: how to specify module-load function for driver module and which name of driver is better (according to "standards")

2010-11-19 Thread Hans Petter Selasky
On Friday 19 November 2010 16:55:27 Lev Serebryakov wrote: > Hello, Freebsd-usb. > > I've implemented driver (ucom-subdriver) for MosChip 7820 and 7840 > USB2COM multiport bridges. I have two questions: > Hi, > (1) How should I specify module-load function? DRIVER_MODULE() > does

Two questions: how to specify module-load function for driver module and which name of driver is better (according to "standards")

2010-11-19 Thread Lev Serebryakov
Hello, Freebsd-usb. I've implemented driver (ucom-subdriver) for MosChip 7820 and 7840 USB2COM multiport bridges. I have two questions: (1) How should I specify module-load function? DRIVER_MODULE() doesn't help much. I need to run some code only once, at very beginning,

Re: copying /dev/da0 with dd(1) to file: output differs

2010-11-19 Thread Hans Petter Selasky
On Friday 19 November 2010 15:33:37 Matthias Apitz wrote: > Hello, > > How is this possible: > > $ dd if=/dev/da0 of=f1 > 7892087+0 records in > 7892087+0 records out > $ dd if=/dev/da0 of=f2 > 7892087+0 records in > 7892087+0 records out > $ diff f1 f1 > Files f1 and f2 differ > > (and no, /dev

copying /dev/da0 with dd(1) to file: output differs

2010-11-19 Thread Matthias Apitz
Hello, How is this possible: $ dd if=/dev/da0 of=f1 7892087+0 records in 7892087+0 records out $ dd if=/dev/da0 of=f2 7892087+0 records in 7892087+0 records out $ diff f1 f1 Files f1 and f2 differ (and no, /dev/da0s1a is not mounted). Thx matthias -- Matthias Apitz t +49-89-61308 35