USBAT 0.5.1 for Linux 2.6

frodg frodg at optushome.com.au
Sat, 01 Jan 2005 13:58:46 +1100


Daniel,

I also did not get it to compile but got this (ran it twice but the 
error happened at the hp8200e spot both times):

gentoo usbat-02-2.6 # make install
cd src && ./copy "/usr/src/linux"
Source files copied
cd patch && ./apply "/usr/src/linux"
USB integration patch already applied, skipping...
./kcheck "/usr/src/linux"
CONFIG_USB_STORAGE enabled as module, looks good...
USBAT support enabled... now rebuilding modules
make[1]: Entering directory `/usr/src/linux-2.6.10-nitro2'
  CHK     include/linux/version.h
make[2]: `arch/i386/kernel/asm-offsets.s' is up to date.
  CHK     include/linux/compile.h
  CHK     usr/initramfs_list
  CC [M]  drivers/usb/storage/usb.o
drivers/usb/storage/usb.c: In function `get_transport':
drivers/usb/storage/usb.c:576: error: `hp8200e_transport' undeclared 
(first use in this function)
drivers/usb/storage/usb.c:576: error: (Each undeclared identifier is 
reported only once
drivers/usb/storage/usb.c:576: error: for each function it appears in.)
drivers/usb/storage/usb.c:583: error: `usbat02_transport' undeclared 
(first use in this function)
make[4]: *** [drivers/usb/storage/usb.o] Error 1
make[3]: *** [drivers/usb/storage] Error 2
make[2]: *** [drivers/usb] Error 2
make[1]: *** [drivers] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.10-nitro2'
Installation failed. Please examine the above messages.
make: *** [install] Error 1
gentoo usbat-02-2.6 #


Geoff


blu_zee@softhome.net wrote:

> Hi,
> Well, I didn't get very far this time.  Did not compile.  Here's the 
> last info it spit out ....
> CC [M]  drivers/usb/serial/mct_u232.o
> CC [M]  drivers/usb/serial/omninet.o
> CC [M]  drivers/usb/serial/pl2303.o
> CC [M]  drivers/usb/serial/safe_serial.o
> CC [M]  drivers/usb/serial/visor.o
> CC [M]  drivers/usb/serial/whiteheat.o
> LD      drivers/usb/storage/built-in.o
> CC [M]  drivers/usb/storage/scsiglue.o
> CC [M]  drivers/usb/storage/protocol.o
> CC [M]  drivers/usb/storage/transport.o
> CC [M]  drivers/usb/storage/usb.o
> drivers/usb/storage/usb.c: In function `get_transport':
> drivers/usb/storage/usb.c:576: error: `hp8200e_transport' undeclared 
> (first use in this function)
> drivers/usb/storage/usb.c:576: error: (Each undeclared identifier is 
> reported only once
> drivers/usb/storage/usb.c:576: error: for each function it appears in.)
> drivers/usb/storage/usb.c:583: error: `usbat02_transport' undeclared 
> (first use in this function)
> make[3]: *** [drivers/usb/storage/usb.o] Error 1
> make[2]: *** [drivers/usb/storage] Error 2
> make[1]: *** [drivers/usb] Error 2
> make: *** [drivers] Error 2
> [root@localhost linux]#
> The README says you are looking for 2.6.9 now, I'm stuck with
> 2.6.8.1-12mdk, so probably won't be able to get much going if 2.6.9 is 
> needed.
> I removed and reinstalled kernel source then did...
> make patch
> make driver
> in /usbat02-2.6-0.5.1
> cd /usr/src/linux
> make mrproper
> make oldconfig and said y to new USBAT
> edited .config to say y to CONFIG_USB_DEBUG and CONFIG_USB_STORAGE_DEBUG
> make bzImage modules modules_install
> Later,
> Ron
>
> Daniel Drake writes:
>
>> Hi,
>> A new release - main changes being cleanups, annotations, and more 
>> sharing of code between usbat/usbat02. We also add support for the 
>> few USBAT02-based HP CD writers that exist in the wild. I fixed a few 
>> small issues with my own device too.
>> ***WARNING***
>> You need to wipe out your kernel sources before applying this, 
>> upgrading from 0.5.0 will not work. Sorry, but this will probably be 
>> the last time that this needs to happen :)
>> http://prdownloads.sourceforge.net/usbat2/usbat02-2.6-0.5.1.tar.gz?downloa 
>> d
>> All that is left to sort out is:
>> 1. Rons slow writing
>> 2. Rons problem with changing media (probably related)
>> 3. Delays when changing media
>> If you experience any of the above problems, please read on.
>> I really need full debug logs to work on this. It would also be 
>> helpful if you could leave 60 seconds between each "operation", 
>> keeping an eye on the clock at the same time. This way you can say:
>> At 12:01 I plugged in the card reader.
>> At 12:02 I mounted it.
>> At 12:03 I copied 100kb of files to the device
>> At 12:04 I unmounted
>> At 12:05 I unplugged
>> This should make my reading through the logs be pretty clear.
>> Ron, please take your problems one at a time! Ignoring the media 
>> changing for now, just do a process similar to the above, and send me 
>> the logs. I'd like to solve the writing problem before looking at the 
>> others.
>> As for the delays with media changing - well a few of you said that 
>> you had to wait about 15 seconds for the "touch /dev/sda" operation 
>> to complete after changing media. This is not the case for me, it 
>> completes seemingly instantaneously. So I'd like to fix this up a bit 
>> more. Please perform a process similar to the above (at minute 
>> intervals: plug in card reader with media, change media, touch 
>> /dev/sda, unplug) and send the logs.
>> Thanks for the testing of the last release, we're now pretty close to 
>> completion :)
>> I'll be aiming to get us included for 2.6.11
>> Thanks!
>> Daniel
>> _______________________________________________
>> Usbat2 mailing list
>> Usbat2@lists.lysator.liu.se
>> http://lists.lysator.liu.se/mailman/listinfo/usbat2
>
>
> _______________________________________________
> Usbat2 mailing list
> Usbat2@lists.lysator.liu.se
> http://lists.lysator.liu.se/mailman/listinfo/usbat2
>