Hi Dan, On 15 Feb 2003, Dan Hensley wrote:
> 1. Attach the CF reader and card to my Linux machine. > 2. dd if=/dev/sda1 of=file1.dd > 3. dd if=file1.dd of=/dev/sda1 > 4. dd if=/dev/sda1 of=file2.dd > > Then I compare file1.dd and file2.dd. Both files are a total of 7979008 > bytes. Of these, 13266 bytes are different between the two files. [snip] > What can cause this to happen, and are there any fixes? I get (*very approximately) the same sort of thing happening on a usb ZIP drive. When I use the same drive and same example of 250MByte disc on one machine (Intel chipset) it's fine, on another (SIS) it's completely useless. Both are using 2.4.19 kernels. You can see that many of the modules are identical in size (comforting:), there's a lot of common code in there. I think the fault is probably in the HCI but it could be interrupts or something. I have put it on my TODO list to find out what the problem is, but if you saw my TODO list... Probably I'll try the 2.5 kernel before I get too deep into debugging this one because I think at least one of the drivers I'm using now will be obsolete in the 2.5 series anyway. 73, Ged. ---------------------------------------------------------------------- This one works fine (the drive is attached and working): ---------------------------------------------------------------------- h2o:~# >>> lspci 00:00.0 Host bridge: Intel Corporation 440BX/ZX - 82443BX/ZX Host bridge (rev 02) 00:01.0 PCI bridge: Intel Corporation 440BX/ZX - 82443BX/ZX AGP bridge (rev 02) 00:07.0 ISA bridge: Intel Corporation 82371AB PIIX4 ISA (rev 02) 00:07.1 IDE interface: Intel Corporation 82371AB PIIX4 IDE (rev 01) 00:07.2 USB Controller: Intel Corporation 82371AB PIIX4 USB (rev 01) 00:07.3 Bridge: Intel Corporation 82371AB PIIX4 ACPI (rev 02) 00:09.0 Ethernet controller: 3Com Corporation 3c905B 100BaseTX [Cyclone] (rev 30) 01:00.0 VGA compatible controller: Texas Instruments TVP4020 [Permedia 2] (rev 01) ---------------------------------------------------------------------- h2o:~# >>> lsmod Module Size Used by tpqic02 21356 0 usb-uhci 21676 0 (unused) usbcore 61952 0 [usb-uhci] sr_mod 12496 0 (unused) sg 25788 0 (unused) sd_mod 10444 0 (unused) scsi_mod 81912 3 [sr_mod sg sd_mod] 3c59x 25456 1 bsd_comp 3960 0 (unused) ppp_generic 15168 0 [bsd_comp] slip 8448 0 (unused) slhc 4576 0 [ppp_generic slip] ---------------------------------------------------------------------- This one doesn't (the drive isn't attached but it has been): ---------------------------------------------------------------------- hurricane:~# >>> lspci 00:00.0 Host bridge: Silicon Integrated Systems [SiS] 530 Host (rev 03) 00:00.1 IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE] (rev d0) 00:01.0 ISA bridge: Silicon Integrated Systems [SiS] 85C503/5513 (rev b3) 00:01.1 Class ff00: Silicon Integrated Systems [SiS] ACPI 00:01.2 USB Controller: Silicon Integrated Systems [SiS] 7001 (rev 11) 00:02.0 PCI bridge: Silicon Integrated Systems [SiS] 5591/5592 AGP 00:09.0 Ethernet controller: Intel Corporation 82557 [Ethernet Pro 100] (rev 02) 00:0c.0 Multimedia audio controller: C-Media Electronics Inc CM8738 (rev 10) 00:0c.1 Communication controller: C-Media Electronics Inc CM8738 (rev 10) 01:00.0 VGA compatible controller: Silicon Integrated Systems [SiS] 6306 3D-AGP (rev a3) ---------------------------------------------------------------------- hurricane:~# >>> lsmod Module Size Used by ppp_deflate 40832 0 (autoclean) ppp_async 6432 1 (autoclean) sd_mod 10444 0 (autoclean) usb-storage 52244 0 usb-ohci 18152 0 (unused) usbcore 61952 1 [usb-storage usb-ohci] imm 9432 0 scsi_mod 81912 3 [sd_mod usb-storage imm] eepro100 17464 1 bsd_comp 3960 0 ppp_generic 15168 3 [ppp_deflate ppp_async bsd_comp] slip 8448 0 (unused) slhc 4576 1 [ppp_generic slip] vfat 9916 1 (autoclean) fat 30936 0 (autoclean) [vfat] ---------------------------------------------------------------------- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users