View Full Version : Backported USB2 drivers on Toshiba SD-H400
ToshTivo
01-12-2005, 07:34 PM
- back up /lib/modules to somewhere safe
- delete ax8817x.o, usbcore.o, usb-ohci.o, and (if it exists) ehci-hcd.o
- copy in the new modules: usbcore.o, usb-ohci.o, and usbnet.o
- symlink usbnet.o to ax8817x.o
I tried the above process on my toshiba sd-h400 (kernel 2.4.20 ) with a netgear FA120 adapter and wasn't able to get this adapter to work, however when I plugged my Speedstream SS1001 adapter back in with the same drivers I achieve transfer speeds ~.5mb/sec. I'm not looking to push the transfer speed limits , I just want to acheive a transfer rate of ~1.5Mb/sec that many others have reported have achieved on different tivo's.
Has anyone else achieved USB2 transfer rates using the FA120 on a Toshiba SD-H400?
If so which drivers and what process was used to get this to work?
If not with the FA120, then what other USB/Ethernet adapters and process were used on the Toshiba SD-H400 to get USB2 transfer rates.
TIA
Jamie
01-12-2005, 10:04 PM
Has anyone else achieved USB2 transfer rates using the FA120 on a Toshiba SD-H400?
If so which drivers and what process was used to get this to work?
If not with the FA120, then what other USB/Ethernet adapters and process were used on the Toshiba SD-H400 to get USB2 transfer rates.The backport drivers should work fine with the sd-h400 and an FA120, if everything is installed correctly. The FA120 will use the usbnet modules (symlinked to ax8817x), while the ss1001 uses pegasus, IIRC.
A serial console connection is really a requirement for debugging any network problems. If you don't already have one, get a serial console cable. Then post your serial console output on boot up.
ToshTivo
01-16-2005, 03:36 AM
Now that I finally got serial bash working I'm hoping that my serial console info (below) will help in debugging why I can't achieve USB2 transfer speeds.
What I have done already is :
- delete ax8817x.o, usbcore.o, usb-ohci.o, and (if it exists) ehci-hcd.o
- copy in the new modules: usbcore.o, usb-ohci.o, and usbnet.o
- symlink usbnet.o to ax8817x.o
My USB/Ethernet adapter is a Netgear FA120.
Loading ircatch
Jyounetsu configuration
Found rev 'F' Si2433 modem on /dev/cua1
Checking for Kickstart panic signal
Running boot Stage B_PostKickstart scripts
Cleanup /dev/hda9 pass 1
ext2fs_check_if_mount: No such file or directory while determining whether /dev/
hda9 is mounted.
/dev/hda9 was not cleanly unmounted, check forced.
Inode 6148, i_blocks wrong 16 (counted=2). Set i_blocks to counted? yes
Inode 6161, i_blocks wrong 16 (counted=2). Set i_blocks to counted? yes
Inode 6158, i_blocks wrong 148 (counted=140). Set i_blocks to counted? yes
Inode 6152, i_blocks wrong 112 (counted=106). Set i_blocks to counted? yes
Inode 6155, i_blocks wrong 62 (counted=60). Set i_blocks to counted? yes
Fix summary information? yes
/dev/hda9: 238/32768 files (7.6% non-contiguous), 17766/131072 blocks
Cleanup /dev/hda9 pass 2
ext2fs_check_if_mount: No such file or directory while determining whether /dev/
hda9 is mounted.
/dev/hda9: clean, 238/32768 files, 17766/131072 blocks
/dev/hda9 is clean after pass 2
Mounting /var
/dev/hda9 on /var type ext2 (rw)
Cleaning up files in /var
Checking space in /var
Mounting initial environment
Starting logging daemons
Found Silicon Labs "Si2433" modem, rev F, skipping modem patch
Scanning for phase1 repair scripts
Running boot Stage C_MediaInitialization scripts
Loading input section drivers
Detected SAA7115 video decoder.
KFir ucode version 3.26 ucode type 1
Loading output section drivers
Splash the screen
Running boot Stage D_PreMfs scripts
Remote control is TIVO
MFS partition on /dev/hda10
Not loading DSS processor for this platform
Look for debug board
Loading irblast
Loading ideturbo
Loading fan
Loading therm
Loading TvBus router
Updating system clock
Time set to: Sun Jan 16 07:27:03 2005
Enabling local route
Setting TCP keepalive parameters
Checking for additional disk
Starting EventSwitcher
PokeFirewallPort: Poking hole through firewall at port 2191, protocol tcp
iptables: No chain/target/match by that name
Starting TvLauncher
Waiting for launcher to start.
Launcher is running.
Start fan control
Scanning for phase2 repair scripts
Running boot Stage E_PreApplication scripts
First temperature parameters set:
Terminal temp: 71
Critical temp: 62
Logging temp: 60
Target temp: 50
Lowest fan speed: 7
Checking for database conversions
No upgrade to load
Not upgrading software
Scanning for phase3 repair scripts
Running boot Stage F_ApplicationLaunch scripts
Starting Services.
Microcode version is TiVo!
Huxley: Starting...
"Never put off till tomorrow the fun you can have today."
PCI: 00:0d.2 PCI cache line size set incorrectly (0 bytes) by BIOS/FW, correctin
g to 32
usb.c: USB device 2 (vend/prod 0x846/0x1040) is not claimed by any active driver
.
PokeFirewallPort: Poking hole through firewall at port 2190, protocol udp
/lib/modules/ax8817x.o: error reading ELF header /lib/modules/ax8817x.o: No spac
e left on device
iptables: No chain/target/match by that name
PokeFirewallPort: Poking hole through firewall at port 2190, protocol tcp
iptables: No chain/target/match by that name
WATCH: phys addr = 0x0
vma = 802e9260
vma is locked
WATCH: phys addr = 0xe85400
Initialize with 1 live caches
AddInputSection 1
*** No tuner server session, using StandaloneClient
Pvr - Adding Network Recording Proxy - Input Section
AddInputSection 2
Jamie
01-16-2005, 11:11 AM
- symlink usbnet.o to ax8817x.o
.../lib/modules/ax8817x.o: error reading ELF header /lib/modules/ax8817x.o: No space left on device
This is the relevant error message. I'm not quite sure what would cause a "No space left on device" error when loading a module, but it seems clear you messed up the symbolic link for ax8817x.o somehow.
Suggestions: Give us a list of exactly what's in /lib/modules: ls -l /lib/modules Run df to see if your root partition is full. If it is, run e2fsck /dev/hdaX. Where X is your root partition number. It should be 4 or 7. You can find out which one via bootpage -p /dev/hda. Make sure it is mounted ro at the time: mount -o remount,ro / should do it. Also, if you've attempted any tivoapp patches, clean out any extraneous tivoapp backups you might have left in /tvbin after patching tivoapp.
ToshTivo
01-16-2005, 11:30 AM
Here's the info:
Give us a list of exactly what's in /lib/modules: ls -l /lib/modules
Run df to see if your root partition is full. If it is, run e2fsck /dev/hdaX. Where X is your root partition number. It should be 4 or 7. You can find out which one via bootpage -p /dev/hda. Make sure it is mounted ro at the time: mount -o remount,ro / should do it. Also, if you've attempted any tivoapp patches, clean out any extraneous tivoapp backups you might have left in /tvbin after patching tivoapp.
toshibaTiVo:/lib/modules$ ls -l
-rwxrwxrwx 1 0 0 19748 Jan 9 2004 af_packet.o
-rwxrwxrwx 1 0 0 0 Jan 12 06:22 ax8817x.o
-rwxrwxrwx 1 0 0 18960 Jan 12 06:11 ax8817x.o.old
-rwxrwxrwx 1 0 0 1412436 Jan 9 2004 brcmdrv-rb.o
-rwxrwxrwx 1 0 0 48744 Jan 9 2004 cdrom.o
-rwxrwxrwx 1 0 0 131576 Jan 9 2004 cobra.o
-rwxr-xr-x 1 0 0 1500 Jan 12 20:38 ehci-dummy.o
-rwxr-xr-x 1 0 0 1500 Jan 12 20:39 ehci-hcd.o
-rwxrwxrwx 1 0 0 32400 Jan 12 06:13 ehci-hcd.o.old
-rwxrwxrwx 1 0 0 4916 Jan 9 2004 fan.o
-rwxrwxrwx 1 0 0 51268 Jan 9 2004 fat.o
-rwxrwxrwx 1 0 0 4484 Jan 9 2004 fpga.o
-rwxrwxrwx 1 0 0 19620 Jan 9 2004 i2c.o
-rwxrwxrwx 1 0 0 8748 Jan 9 2004 ideturbo.o
-rwxrwxrwx 1 0 0 7092 Jan 9 2004 irblast.o
-rwxrwxrwx 1 0 0 43784 Jan 9 2004 ircatch-atmel.o
-rwxrwxrwx 1 0 0 37420 Jan 9 2004 ircatch.o
-rwxrwxrwx 1 0 0 32448 Jan 9 2004 isofs.o
-rwxrwxrwx 1 0 0 24124 Jan 9 2004 kaweth.o
-rwxrwxrwx 1 0 0 32360 Jan 9 2004 kfirm.o
-rwxrwxrwx 1 0 0 8568 Jan 9 2004 modemtty.o
-rwxrwxrwx 1 0 0 11264 Jan 9 2004 msdos.o
-rwxrwxrwx 1 0 0 30884 Jan 9 2004 oslink.o
-rwxrwxrwx 1 0 0 18172 Jan 9 2004 p80211.o
-rwxrwxrwx 1 0 0 28472 Jan 9 2004 pegasus.o
-rwxrwxrwx 1 0 0 94528 Jan 9 2004 prism2_usb.o
-rwxrwxrwx 1 0 0 20168 Jan 9 2004 router.o
-rwxrwxrwx 1 0 0 16948 Jan 9 2004 rtl8150.o
-rwxrwxrwx 1 0 0 102168 Jan 9 2004 scsi_mod.o
-rwxrwxrwx 1 0 0 21868 Jan 9 2004 sd_mod.o
-rwxrwxrwx 1 0 0 48096 Jan 9 2004 sg.o
-rwxrwxrwx 1 0 0 25680 Jan 9 2004 sr_mod.o
-rwxrwxrwx 1 0 0 3316 Jan 9 2004 therm.o
-rwxrwxrwx 1 0 0 2444 Jan 9 2004 tivoconfig.o
-rwxrwxrwx 1 0 0 15704 Jan 9 2004 tvinput.o
-rwxrwxrwx 1 0 0 16856 Jan 9 2004 tvinput_falcon.o
-rwxrwxrwx 1 0 0 35668 Jan 12 06:15 usb-ohci.o
-rwxrwxrwx 1 0 0 33600 Jan 12 06:13 usb-ohci.o.old
-rwxrwxrwx 1 0 0 46916 Jan 9 2004 usb-storage.o
-rwxrwxrwx 1 0 0 163286 Jan 12 06:15 usbcore.o
-rwxrwxrwx 1 0 0 109912 Jan 12 06:12 usbcore.o.old
-rwxrwxrwx 1 0 0 32088 Jan 12 06:15 usbnet.o
-rwxrwxrwx 1 0 0 19568 Jan 9 2004 vfat.o
-rwxrwxrwx 1 0 0 193172 Jan 9 2004 vnetusba.o
toshibaTiVo:/var/tmp$ df
Filesystem 1024-blocks Used Available Capacity Mounted on
/dev/hda4 253823 62282 178434 26% /
/dev/hda9 126911 8583 111775 7% /var
toshibaTiVo:/var/tmp$ bootpage -p /dev/hda
root=/dev/hda4 upgradesoftware=false dsscon=true console=2,115200
Thanks for your assistance
Jamie
01-16-2005, 11:40 AM
Here's the info: ...
The ax8817x.o file appears to be a zero length file rather than a symbolic link to usbnet.o. Perhaps you can tell us exactly what you did to create the symbolic link. It should be something like:cd /lib/modules
rm ax8817x.o
ln -s usbnet.o ax8817x.o
Disk space looks fine, so that error message must have been a red herring.
ToshTivo
01-16-2005, 11:57 AM
The ax8817x.o file appears to be a zero length file rather than a symbolic link to usbnet.o. Perhaps you can tell us exactly what you did to create the symbolic link. It should be something like:
I used the following command ( I forgot where I found this but it's definetly not what you wrote to do)
symlink usbnet.o.=>ax8817.o
I will delete the ax8817.o and re-establish the symlink and report back later. I have to step out for a couple hours.
ToshTivo
01-16-2005, 02:03 PM
OK, I re-did the symlink and the Netgear FA120 modem works but at a slow transfer speed
I checked the transfer speed using tytools and got this result
looping total = 77 mbytes (132 seconds) [0.56 meg/sec] ..........
Here is the latest serial console info after correctly setting up symlink ( thanks Jamie)
PCI: 00:0d.2 PCI cache line size set incorrectly (0 bytes) by BIOS/FW, correctin
g to 32
usb.c: USB device 2 (vend/prod 0x846/0x1040) is not claimed by any active driver
.
PokeFirewallPort: Poking hole through firewall at port 2190, protocol udp
iptables: No chain/target/match by that name
PokeFirewallPort: Poking hole through firewall at port 2190, protocol tcp
iptables: No chain/target/match by that name
WATCH: phys addr = 0x0
vma = 80269120
vma is locked
WATCH: phys addr = 0x5e0400
Initialize with 1 live caches
AddInputSection 1
*** No tuner server session, using StandaloneClient
Pvr - Adding Network Recording Proxy - Input Section
AddInputSection 2
What other settings can be tweaked to achieve a transfer speed of ~ 1.5meg/sec ?
Jamie
01-16-2005, 02:18 PM
What other settings can be tweaked to achieve a transfer speed of ~ 1.5meg/sec ?There's another thread that covers network performance tweaking here (http://www.dealdatabase.com/forum/showthread.php?t=39328). Do you have the latest tytools (currently 9r18)? You should be using the tserver from that release (or the newer one in this (http://www.dealdatabase.com/forum/showthread.php?t=39487) package.
ToshTivo
01-17-2005, 02:17 AM
Just wanted to say Thanks for the help. I used the following files and procedures from There's another thread that covers network performance tweaking here. Do you have the latest tytools (currently 9r18)? You should be using the tserver from that release (or the newer one in this package
I have a few questions regarding transfer speeds. Why do I get different transfer rates based on settings within TyTools. For example:
When I use "TyStream" mode I get a transfer rate of ~ .63Meg/Sec.
When I use "MultiPlex Mode" I start out with 1.7Meg/Sec but it continually decreases to ~ .83 meg/sec.
When I use the "Extract" module in TivoWebPlus 1.9.4 I get a transfer rate of 1.53Mb/sec.
I prefer to use tytools and wonder if there is an additional tweak that can be made to increase it's performance.
Another question is what is meant by this in the serial console info
usb.c: USB device 2 (vend/prod 0x846/0x1040) is not claimed by any active driver
Does this mean the USB2 drivers aren't loading?
clapperzhu
01-20-2005, 05:53 PM
I have a hacked SD-H400 with working wireless-B via WUSB11.
And I want to tweak USB2 drivers to get higher xfer rate.
Newbie question:
If I mess up USB drivers and wireless does not work, i.e. I can not
telnet to the box, I can still get BASH prompt via serial port and
restore USB drivers and hence wireless-B connection ? Thanks,
Jamie
01-20-2005, 06:04 PM
I have a hacked SD-H400 with working wireless-B via WUSB11. And I want to tweak USB2 drivers to get higher xfer rate.The WUSB11 is a usb1.1 device, so I doubt you're going to see any improvement with usb2 modules.If I mess up USB drivers and wireless does not work, i.e. I can not telnet to the box, I can still get BASH prompt via serial port and
restore USB drivers and hence wireless-B connection ? Thanks,Yes, shell access on the serial port is (nearly) essential.
clapperzhu
01-21-2005, 04:27 PM
The WUSB11 is a usb1.1 device, so I doubt you're going to see any improvement with usb2 modules.Yes, shell access on the serial port is (nearly) essential.
Is there any tivo supported wireless adapter with USB 2.0 interface ?
Thanks,
Jamie
01-21-2005, 04:55 PM
Is there any tivo supported wireless adapter with USB 2.0 interface ?The best place to answer questions about what tivo supports is tivo.com (http://customersupport.tivo.com/knowbase/root/public/tv2184.htm?).
Word (http://www.tivocommunity.com/tivo-vb/showthread.php?postid=2479831#post2479831) is that 802.11g support is "coming soon".
If you are asking about what is supported here (http://www.dealdatabase.com/forum/), rather than what tivo supports, that's a different question. I'm not really up to date on the wireless support in the usb2 backport package.
T u r b o
01-22-2005, 08:12 PM
I tried to get the backported USB drivers working on a Pioneer 810 tivo (also 2.4.20 kernel). I've got it working fine, and kernel.log indicates the new drivers are loading properly, but the speed is even slower than the USB 1.1 drivers (say 500kB/s compared to 800kB/s).
I'm using a Linksys USB200M.
Any clues?
Jamie
01-22-2005, 09:49 PM
Any clues?Try the tunning ideas in this (http://www.dealdatabase.com/forum/showthread.php?t=39328
) thread. Also, be sure you are using a 100Mb path between source and destination (switches, hubs, adapters). For some reason I don't fully understand, the usb2 modules sometimes perform worse than usb1.1 on a 10Mb network.
T u r b o
01-26-2005, 11:24 PM
I tried it between 2 other machines, 1 @ 100BTX (full-duplex) and 1@ 1000BTX, with the same results. I also tried 2 different switches.
I didn't try the half duplex thing I'll have to give that a whirl.
- Mike
vBulletin® v3.7.3, Copyright ©2000-2008, Jelsoft Enterprises Ltd.