Sign up here and you can log into the forum!

0.5.8.1 FW Not Reading/Loading Startup Files in root

Feature Requests and Proposals

0.5.8.1 FW Not Reading/Loading Startup Files in root   

Postby malber4 » Sat Sep 17, 2011 5:18 pm

Hi,

I am new to these forums and WDLXTV so please bare with me. I have successfully updated my Gen 1 to 0.5.8.1. The files used when booting from the attached drive (the background jpg, log-saver.app.bin) are loading and running when I have them in the root of my FAT32 4GB usb stick. But when I put them on the root of my Western Digital 1 TB USB HDD (which is where all the media I want to play and share over my network), the background jpg does not load (and the background is a distorted image as a result) and the logger does not write any logs to the root of my drive. The background jpg is loaded and logs are written when I boot from the USB stick.

Can anyone shed some light on what I may be doing wrong so that the startup files are loaded from the 1TB HDD?

Also, not sure if this is matters, but another difference between the USB stick and the HDD is that the HDD has a virtual cdrom partition which the WDLXTV recognizes as a folder called "cdrom".
malber4
DLX'er
 
Posts: 55
Joined: Sat Sep 17, 2011 4:51 pm

Re: 0.5.8.1 FW Not Reading/Loading Startup Files in root   

Postby malber4 » Sat Sep 17, 2011 5:19 pm

***My 1TB drive is NTFS***
malber4
DLX'er
 
Posts: 55
Joined: Sat Sep 17, 2011 4:51 pm

Re: 0.5.8.1 FW Not Reading/Loading Startup Files in root   

Postby Alicia » Sun Sep 18, 2011 5:05 am

The virtual partition might be the reason, but the first thing I would check is the HDD partition name where you placed your app.bins.
If the name contains one or more spaces, remove them.
1.03.01-WDLXTV 0.5.8.1 + Cylent ShowcaseV2 Mod + pure-ftpd + nfs
User avatar
Alicia
DLX'er
 
Posts: 180
Joined: Sun Apr 25, 2010 12:08 pm
Location: the Netherlands

Re: 0.5.8.1 FW Not Reading/Loading Startup Files in root   

Postby malber4 » Sun Sep 18, 2011 11:10 am

I removed the space from my drive name (went from "My Book" to "MyBook") and everything worked great. Thanks Alicia!
malber4
DLX'er
 
Posts: 55
Joined: Sat Sep 17, 2011 4:51 pm

Re: 0.5.8.1 FW Not Reading/Loading Startup Files in root   

Postby Alicia » Mon Sep 19, 2011 1:49 pm

;)
1.03.01-WDLXTV 0.5.8.1 + Cylent ShowcaseV2 Mod + pure-ftpd + nfs
User avatar
Alicia
DLX'er
 
Posts: 180
Joined: Sun Apr 25, 2010 12:08 pm
Location: the Netherlands

Re: 0.5.8.1 FW Not Reading/Loading Startup Files in root   

Postby malber4 » Tue Sep 20, 2011 9:05 pm

Ok, now on to the next problem!

My Wireless USB dongle is not being recognized. I am not seeing the activity light on the device and most of the time will hang on the welcome screen, or not even get there at all. I have a belkin F5D9050 which uses the rt73.ko driver. Following are my net.config and RT73STA.dat:
Code: Select all
#The word of "Default" must not be removed
Default
CountryRegion=0
CountryRegionABand=7
CountryCode=US
SSID=my_SSID
NetworkType=Infra
WirelessMode=0
Channel=9
BeaconPeriod=100
TxPower=100
BGProtection=0
TxPreamble=2
RTSThreshold=2347
FragThreshold=2346
TxBurst=1
PktAggregate=0
WmmCapable=1
AckPolicy=0;0;0;0
AuthMode=WPAPSK
EncrypType=AES
WPAPSK=my_password
DefaultKeyID=1
Key1Type=0
Key1Str=
Key2Type=0
Key2Str=
Key3Type=0
Key3Str=
Key4Type=0
Key4Str=
PSMode=CAM
AutoRoaming=0
RoamThreshold=70
APSDCapable=0
APSDAC=0;0;0;0
HT_RDG=1
HT_EXTCHA=0
HT_OpMode=1
HT_MpduDensity=4
HT_BW=1
HT_BADecline=0
HT_AutoBA=1
HT_BADecline=0
HT_AMSDU=0
HT_BAWinSize=64
HT_GI=1
HT_MCS=33
HT_MIMOPSMode=3
HT_DisallowTKIP=1
IEEE80211H=0
TGnWifiTest=0
WirelessEvent=0
CarrierDetect=0
AntDiversity=0
BeaconLostTime=4


Code: Select all
HOST=wdtv
MTU=1500
DHCP=yes
WLAN_CFG=RT73STA.dat
WLAN_LOAD=rt73.ko
WLAN_UP=yes
WLAN_SLEEP=1


I am using wireless-mod-rt.app.bin from here:
http://wdtvforum.com/main/index.php?topic=1029.0

Here are the parts from my logs that seem pertinent:
messages.txt.0
Code: Select all
Jan  1 00:00:31 WDTV-4123f user.info kernel: usbcore: registered new driver plusb
Jan  1 00:00:31 WDTV-4123f user.info kernel: usbcore: registered new driver rndis_host
Jan  1 00:00:32 WDTV-4123f user.info kernel: usbcore: registered new driver gl620a
Jan  1 00:00:33 WDTV-4123f user.notice root: wireless-mod-rt: Starting..
Jan  1 00:00:33 WDTV-4123f user.notice root: wireless-mod-rt: Creating read+write /etc under /tmp/.root
Jan  1 00:00:33 WDTV-4123f user.notice root: wireless-mod-rt: Installing new device configs to /etc/mdev.conf
Jan  1 00:00:33 WDTV-4123f user.warn kernel: wireless_ext: No versions for exported symbols. Tainting kernel.
Jan  1 00:00:33 WDTV-4123f user.info kernel: Loading wireless extentions module...
Jan  1 00:00:34 WDTV-4123f user.notice root: wireless-mod-rt: WLAN_LOAD=rt73.ko, config=/tmp/mnt/B457-5683/RT73STA.dat
Jan  1 00:00:34 WDTV-4123f user.notice root: wireless-mod-rt: Copying /tmp/mnt/B457-5683/RT73STA.dat to /etc
Jan  1 00:00:34 WDTV-4123f user.notice root: wireless-mod-rt: Installing rt73.ko firmware
Jan  1 00:00:35 WDTV-4123f user.notice root: wireless-mod-rt: Install modules /apps/wireless-mod-rt/modules/rt73.ko
Jan  1 00:00:36 WDTV-4123f user.warn kernel: idVendor = 0x50d, idProduct = 0x905c
Jan  1 00:00:36 WDTV-4123f user.notice root: wireless-mod-rt: hotplug action=add
Jan  1 00:00:36 WDTV-4123f user.notice root: wireless-mod-rt: Bringing up wireless device 'rausb0'...
Jan  1 00:00:36 WDTV-4123f user.warn kernel: => usb_rtusb_open
Jan  1 00:00:36 WDTV-4123f user.warn kernel: /home/user/Desktop/drivers/2009_0206_RT73_Linux_STA_Drv1.1.0.2/Module/rtusb_bulk.c:541 assert pUrbfailed
Jan  1 00:00:36 WDTV-4123f user.notice root: wireless-mod-rt: Waiting for AP association...
Jan  1 00:00:39 WDTV-4123f daemon.info utelnetd[1241]: utelnetd (port: 23, ifname: any, login: /bin/login) startup succeeded


dmesg.txt.0
Code: Select all
Loading wireless extentions module...
idVendor = 0x50d, idProduct = 0x905c
=> usb_rtusb_open
/home/user/Desktop/drivers/2009_0206_RT73_Linux_STA_Drv1.1.0.2/Module/rtusb_bulk.c:541 assert pUrbfailed
CPU 0 Unable to handle kernel paging request at virtual address 0000001c, epc == c50b10e8, ra == c50b11e8
Oops[#1]:
Cpu 0
$ 0   : 00000000 90370000 c9235394 c50b1a90
$ 4   : 00000000 96d31800 c0008380 00000000
$ 8   : 94bfbfe0 00001c00 00000000 96da0000
$12   : 951b7ee0 00000000 00000000 00000000
$16   : c9206000 00000000 c9235394 c50c5100
$20   : c50b4be8 96d59000 00000000 96d59000
$24   : 00000000 2abed410                 
$28   : 94bfa000 94bfbd28 00000000 c50b11e8
Hi    : 00000000
Lo    : 431bde83
epc   : c50b10e8     Tainted: PF   
ra    : c50b11e8 Status: 10001c03    KERNEL EXL IE
Cause : 7080800c
BadVA : 0000001c
PrId  : 00019069
Modules linked in: rt73 wireless_ext gl620a rndis_host plusb net1080 cdc_subset catc cdc_ether rtl8150 pegasus mcs7830 kaweth dm9601 asix usbnet mii loop em8xxx proc_pipe llad sr_mod cdrom
Process ifconfig (pid: 1124, threadinfo=94bfa000, task=94a99030)
Stack : 0000fffd 0000021d 00000960 ffff00fe 00000960 c50b1a90 c9235394 00000000
        c9235394 00020000 c9206000 c50b13e8 c9206000 c50c5100 c50b4be8 96d59000
        c9236000 c50b4f10 c9206000 c50a4050 902f7800 c9216000 00000718 0000000c
        0002573a 94a99030 96d59000 00000000 90350000 00008914 94bfbe28 00000000
        90245068 9007cb00 000200d0 906534e0 00008913 90245b24 96d59000 00001002
        ...
Call Trace: [<c50b1a90>]  [<c50b13e8>]  [<c50c5100>]  [<c50b4be8>]  [<c50b4f10>]  [<c50a4050>]  [<90245068>]  [<9007cb00>]  [<90245b24>]  [<902432a4>]  [<90246424>]  [<90298240>]  [<90297bb8>]  [<c509f044>]  [<c509f044>]  [<900316e0>]  [<900315e4>]  [<900be3f0>]  [<9019da8c>]  [<900b7bf0>]  [<90237334>]  [<90235ed4>]  [<90235d40>]  [<900b7cf8>]  [<900b80d4>]  [<900b80b0>]  [<9002f8a0>]  [<9002f8a0>]

Code: 00000000  8fa20018  8fa30014 <ac85001c> ac820054  8fa20010  ac860020  ac87002c  ac820034
usbcore: registered new driver rt73
ir: Enable NEC decoder (0x00000000)
ir: Enable RC5 decoder (0x00000000)
Last edited by recliq on Wed Sep 21, 2011 12:50 am, edited 1 time in total.
Reason: aaarg, this was unreadable, there is a difference between code and quote tags!
malber4
DLX'er
 
Posts: 55
Joined: Sat Sep 17, 2011 4:51 pm

Re: 0.5.8.1 FW Not Reading/Loading Startup Files in root   

Postby malber4 » Wed Sep 21, 2011 7:40 am

Thanks recliq for making my question easier to read :-) I've noted for future post.

Some more info in regards to the problem:
-I have encryption for wireless on my router set to "WPA Personal" with "AES" encryption
malber4
DLX'er
 
Posts: 55
Joined: Sat Sep 17, 2011 4:51 pm

Re: 0.5.8.1 FW Not Reading/Loading Startup Files in root   

Postby malber4 » Fri Sep 23, 2011 6:45 am

Anyone? I can't imagine I'm the only one who has this problem with the gen1 and rt73.ko driver. I am pretty sure my config files are ok (but please verify!) Is the driver bad? Is there a known bug in the WDLXTV firmware when it loads rt73? Any thoughts? Any ways to fix?
malber4
DLX'er
 
Posts: 55
Joined: Sat Sep 17, 2011 4:51 pm

Re: 0.5.8.1 FW Not Reading/Loading Startup Files in root   

Postby Alicia » Fri Sep 23, 2011 7:51 am

I am not using any wireless drivers on my Gen1 so cannot be of any big help.

However, what I would do if I was you, is remove the wireless encryption as long as you are trying to get things working. Just to excluded that from being a reason why it's not working.

Something else, I noted you got your wireless-mod-rt.app.bin from this post. If you scroll down in that post, you'll see a rt73sta.dat
Compare the first uncommented line in your rt73sta.dat with the 1st line in the file from the link; I see you don't have the brackets [ ].
Don't know if it make any difference, but I would give it a try and add them.
1.03.01-WDLXTV 0.5.8.1 + Cylent ShowcaseV2 Mod + pure-ftpd + nfs
User avatar
Alicia
DLX'er
 
Posts: 180
Joined: Sun Apr 25, 2010 12:08 pm
Location: the Netherlands

Re: 0.5.8.1 FW Not Reading/Loading Startup Files in root   

Postby malber4 » Fri Sep 23, 2011 9:20 am

Thanks again for the reply Alicia!

I'll go ahead and give your two suggestions a try.


In regards to the driver though, I believe the driver is embedded in the binary "wireless-mod-rt.app.bin", which goes along with the log saying it is loading. Your log would show your various drivers loading as well (including your wireless). What I am concerned about is that a bug was introduced post 0.5.3.2 that messes with the loading of the rt73.ko driver from "wireless-mod-rt.app.bin" (see http://wdtvforum.com/main/index.php?topic=5111.0). I checked the source for the rt73.ko driver at the forum you and I referenced (http://wdtvforum.com/main/index.php?topic=1029.0) and I can see that my dongle's driver should have been referenced in the compilation of the binary "wireless-mod-rt.app.bin" (line 827 at http://rt2400.cvs.sourceforge.net/viewvc/rt2400/source/rt73/Module/rtmp_def.h?hideattic=0&view=markup#l_812). Do you have any insight into this? Is there a known bug with 0.5.8.1 when using rt73.ko? If so is there a fix?

Also, if any of my assumptions are mistaken, please correct.
malber4
DLX'er
 
Posts: 55
Joined: Sat Sep 17, 2011 4:51 pm

Next

Return to Requests

Who is online

Users browsing this forum: No registered users and 1 guest