PDA

View Full Version : Networking Support USB2.0 issue FA120


coppertone
03-29-2006, 07:11 AM
First, I checked threads, support and have been searching for an answer for 2 months. Can't find. Hate to post but here it is...

Samsung DTivo that i used instantcake etc on... 6.2
Hughes HD DTivo same thing... 3.1.5f

I have Netgear FA120 adapters on both.

Got everything working.

Both used to transfer at USB 2.0 speeds. I extract on a Mac using TivoTool.
All of a sudden extraction slowed to USB1.1 speeds.... 50k etc... which makes extraction essentially impossible to deal with.

Post install I did do the following hacks... I actually wrote notes to myself on the steps. I would find the raw steps here on dealdatabase but did not understand Linux so I bought a couple books and did the translation so I know what the typed commands are actually doing...

All of the hacks work fine but I was wondering, stupid question coming WARNING, that if by doing any of these hacks if anyone has had problems with the FA120 USB Ethernet adapter reverting to very slow speed? Now I can't fix it and I'm afraid I may have to do clean wipe again... any help getting USB adpater back up to USB 2 would be appreciated...

Extra hacks steps I used.

Make sure my root partition is writable. e.g.
mount -o remount,rw /

Make a backup copy of the tivo application /tvbin/tivoapp e.g.
cp /tvbin/tivoapp /tvbin/tivoapp.orig

Change the directory to tvbin
cd /tvbin

Move the tivoapp into a temporary location
mv tivoapp tivoapp.tmp

Copy the temporary app back to tivoapp (I have figured that I have to do these steps, otherwise the tivoapp file would be busy if I just tried to copy it straight)
cp tivoapp.tmp tivoapp

Change the permissions associated with tivoapp. In this case (7 - Owner can READ WRITE and EXECUTE; 5 Group can READ and EXECUTE; 5 World can READ and EXECUTE) i.e. 755
chmod 755 tivoapp

For the following, this is what the breakdown of the types commands are:
Echo sends the commands you are typing, through the "pipe" ( | ) into the "copy/convert" command ( dd ) , which "converts" the output ( conv ) , and avoids "truncating" the file ( notrunc ) , and "writes to the file tivoapp" ( of=tivoapp ) , by writing "1 byte" at a time ( bs=1 ) , and "skips x" obs-sized blocks at the start of the output ( seek=0000000 )

30 Second Skip
3.1.5f 0x0033C420 10400024 -> 14400024
echo -ne "\x14\x40\x00\x24" | dd conv=notrunc of=tivoapp bs=1 seek=3392544

Directory Sort
3.1.5f 0x00291FA8 A22000E0 -> A22200E0
echo -ne "\xA2\x22\x00\xE0" | dd conv=notrunc of=tivoapp bs=1 seek=2695080

Enable backdoors
3.1.5f 0x00348414 02802821 -> 24050001
echo -ne "\x24\x05\x00\x01" | dd conv=notrunc of=tivoapp bs=1 seek=3441684

Disable Encryption
3.1.5f 0x006A93EC 0320F809 -> 3C020000
echo -ne "\x3C\x02\x00\x00" | dd conv=notrunc of=tivoapp bs=1 seek=6984684
6.2
echo -ne "\x3C\x02\x00\x00" | dd conv=notrunc of=tivoapp bs=1 seek=10705308

Disable Yellow Stars
3.1.5f 0x002baa50 12200007 -> 00000000
echo -ne "\x00\x00\x00\x00" | dd conv=notrunc of=tivoapp bs=1 seek=2861648

Thats all of them. Networking works so I can access and install on DTivo. I would love to be able to fix USB without having to do blank install again.

ocntscha
03-29-2006, 10:14 AM
First, I checked threads, support and have been searching for an answer for 2 months. Can't find. Hate to post but here it is...Your right to hate to post a question like that. You think that after only 2 months of searching and buying your own books to learn Linux commands your worthy of asking a question?? Come on dude thats lame. If you would have just read the stickies, used the search button, and actually tried reading your books you wouldn't be so clueless and probably could have resolved this yourself and no one on here would have to be bothered with your clueless newbie drivel. (Yes I'm being sarcastic, some of the regulars around here may not have realized it though).
Samsung DTivo that i used instantcake etc on... 6.2
Hughes HD DTivo same thing... 3.1.5f

I have Netgear FA120 adapters on both.

Got everything working.

Both used to transfer at USB 2.0 speeds. I extract on a Mac using TivoTool.
All of a sudden extraction slowed to USB1.1 speeds.... 50k etc... which makes extraction essentially impossible to deal with.

Post install I did do the following hacks... I actually wrote notes to myself on the steps. I would find the raw steps here on dealdatabase but did not understand Linux so I bought a couple books and did the translation so I know what the typed commands are actually doing...

All of the hacks work fine but I was wondering, stupid question coming WARNING, that if by doing any of these hacks if anyone has had problems with the FA120 USB Ethernet adapter reverting to very slow speed? Now I can't fix it and I'm afraid I may have to do clean wipe again... any help getting USB adpater back up to USB 2 would be appreciated...

Extra hacks steps I used.

Make sure my root partition is writable. e.g.
mount -o remount,rw /

Make a backup copy of the tivo application /tvbin/tivoapp e.g.
cp /tvbin/tivoapp /tvbin/tivoapp.orig

Change the directory to tvbin
cd /tvbin

Move the tivoapp into a temporary location
mv tivoapp tivoapp.tmp

Copy the temporary app back to tivoapp (I have figured that I have to do these steps, otherwise the tivoapp file would be busy if I just tried to copy it straight)
cp tivoapp.tmp tivoapp

Change the permissions associated with tivoapp. In this case (7 - Owner can READ WRITE and EXECUTE; 5 Group can READ and EXECUTE; 5 World can READ and EXECUTE) i.e. 755
chmod 755 tivoapp

For the following, this is what the breakdown of the types commands are:
Echo sends the commands you are typing, through the "pipe" ( | ) into the "copy/convert" command ( dd ) , which "converts" the output ( conv ) , and avoids "truncating" the file ( notrunc ) , and "writes to the file tivoapp" ( of=tivoapp ) , by writing "1 byte" at a time ( bs=1 ) , and "skips x" obs-sized blocks at the start of the output ( seek=0000000 )

30 Second Skip
3.1.5f 0x0033C420 10400024 -> 14400024
echo -ne "\x14\x40\x00\x24" | dd conv=notrunc of=tivoapp bs=1 seek=3392544

Directory Sort
3.1.5f 0x00291FA8 A22000E0 -> A22200E0
echo -ne "\xA2\x22\x00\xE0" | dd conv=notrunc of=tivoapp bs=1 seek=2695080

Enable backdoors
3.1.5f 0x00348414 02802821 -> 24050001
echo -ne "\x24\x05\x00\x01" | dd conv=notrunc of=tivoapp bs=1 seek=3441684

Disable Encryption
3.1.5f 0x006A93EC 0320F809 -> 3C020000
echo -ne "\x3C\x02\x00\x00" | dd conv=notrunc of=tivoapp bs=1 seek=6984684
6.2
echo -ne "\x3C\x02\x00\x00" | dd conv=notrunc of=tivoapp bs=1 seek=10705308

Disable Yellow Stars
3.1.5f 0x002baa50 12200007 -> 00000000
echo -ne "\x00\x00\x00\x00" | dd conv=notrunc of=tivoapp bs=1 seek=2861648

Thats all of them. Networking works so I can access and install on DTivo. I would love to be able to fix USB without having to do blank install again.Well the obvious question is, have you tried undoing what you've done by putting the backup of the tivoapp you made back into place?

mv tivoapp tivoapp.hacked
mv tivoapp.orig tivoapp

reboot.

My inkling though is that the problem is outside the Tivo. Like somethings changed on your Macintosh or network.

fantmn
03-29-2006, 11:33 AM
Perhaps reinstalling the backported USB drivers as well. There is a development and support thread for those to get the latest version. Be sure to copy your existing ones, don't just overlay them. And as was already mentioned check cables, switches, etc (again). ifconfig might give you an indications of errors.

coppertone
03-29-2006, 04:52 PM
Started with the document you mentioned. Been there, done that. I tend to love the wonderul flames of questions here, so I did appreciate your sarcasm :) I'm trying to get up to speed as fast as possible. Used to be a very good phone system phreaker back in the day, about 20 years ago, breaking down Deutch Telecom's system for free calls, sheesh, getting old.

1. Yes, I restored Tivoapp. First thing I did.
2. Was just wondering if any of the hacks could in some way, when run, affect the lib/module/ax8817x.o which I have figured is the one that handles my FA120? I know its wacky.
3. There is just a dearth of q/a here that deals with networking questions for networks that are working, but slow. Most just deal with getting it workign to begin with, or with mods to get people usb adapters working.
4. I actually took the computer off of wireless and plugged it directly into my switch. I also tried replacing that with a small hub I had to see if it was the switch, hooked up another hub, and then another switch. Git a lot of this crap lying around. No dice.

Thanks though. I'll replace my usbcore.o usbnet.o etc... again, and find a fresh copy of the ax8817x.o module. BTW I am assuming that the modules are system version specific?

ScanMan
03-29-2006, 05:10 PM
Don't know if you've already looked at this but what about your kernel.log; any hints in there? There usually is a line showing the ethernet device and usb 2.0 - is it recognized as 2.0?

Something along the lines of:

Jan 2 00:00:18 (none) kernel: eth0: register usbnet usb-00:0d.2-1, ASIX AX8817x USB 2.0 Ethernet

ocntscha
03-29-2006, 05:36 PM
Started with the document you mentioned. Been there, done that. I tend to love the wonderul flames of questions here, so I did appreciate your sarcasm :) I'm trying to get up to speed as fast as possible. Used to be a very good phone system phreaker back in the day, about 20 years ago, breaking down Deutch Telecom's system for free calls, sheesh, getting old.

1. Yes, I restored Tivoapp. First thing I did.
2. Was just wondering if any of the hacks could in some way, when run, affect the lib/module/ax8817x.o which I have figured is the one that handles my FA120? I know its wacky.
3. There is just a dearth of q/a here that deals with networking questions for networks that are working, but slow. Most just deal with getting it workign to begin with, or with mods to get people usb adapters working.
4. I actually took the computer off of wireless and plugged it directly into my switch. I also tried replacing that with a small hub I had to see if it was the switch, hooked up another hub, and then another switch. Git a lot of this crap lying around. No dice.

Thanks though. I'll replace my usbcore.o usbnet.o etc... again, and find a fresh copy of the ax8817x.o module. BTW I am assuming that the modules are system version specific?The better we understand your situation the better chance we have of helping, bear with me, lets try and make sure we have this straight..

You have 2 Tivos, the networking on both used to be fast.

You applied hacks to tivoapp on both of them and the networking remained fast on both for at least a few days or so.

Then one day they both suddenly got slow.

You tried putting the unhacked tivoapps back in place but they remained slow.

Is that an accurate accounting? I assume you've eliminated the Macintosh also right? I mean you've measured network performance not only between the Tivos and the Macintosh but between the Tivos and some other computer or between the 2 Tivos themselves if you don't have any other networked computers.

I understand your theory of maybe there was some kind of delayed cause and effect where maybe days after appling the hacks to tivoapp it might of have corrupted the network driver somehow. I understand it but I find it highly unlikely and your comment "I know wacky" tells me you to do. But I hear where your coming from, I mean that is a very odd problem.

eastwind
03-29-2006, 06:14 PM
Thanks though. I'll replace my usbcore.o usbnet.o etc... again, and find a fresh copy of the ax8817x.o module. BTW I am assuming that the modules are system version specific?
Actually, the ax8817x.o should just be a symlink to usbnet.o.....

ew