Will dd-wrt support RT-N13U?

Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Ralink SoC based Hardware
Goto page Previous  1, 2, 3 ... 52, 53, 54 ... 57, 58, 59  Next
Author Message
dinjo
DD-WRT User


Joined: 13 Nov 2010
Posts: 164

PostPosted: Wed Aug 31, 2011 13:45    Post subject: Reply with quote
Seems sorted now had to reduce the max_sector have set it to 128 and the drive is being mounted for last 11 hours without any issues , default was 240 which seems to have causing issues have added the entry to change the max sector in startup script now.

Code:

root@DD-WRT:~# tune2fs -l /dev/discs/disc0/part1 | grep Inode
Inode count:              130560
Inodes per group:         2040
Inode blocks per group:   255
Inode size:               128
root@DD-WRT:~# tune2fs -l /dev/discs/disc0/part2 | grep Inode
Inode count:              3785488
Inodes per group:         8176
Inode blocks per group:   511
Inode size:               128



Will revert back if problem still persists.
Sponsor
dinjo
DD-WRT User


Joined: 13 Nov 2010
Posts: 164

PostPosted: Wed Aug 31, 2011 16:43    Post subject: Reply with quote
Sometimes when i try to transfer huge files[6-8GB] it fails in between i looked at dmesg here is the log any clues ?

Code:
<6>sda2: rw=0, want=562346468, limit=30282525
<3>Buffer I/O error on device sda2, logical block 140586616
<6>attempt to access beyond end of device
<6>sda2: rw=0, want=562361452, limit=30282525
<3>Buffer I/O error on device sda2, logical block 140590362
<6>attempt to access beyond end of device
<6>sda2: rw=0, want=92583536, limit=30282525
<3>Buffer I/O error on device sda2, logical block 23145883
<6>attempt to access beyond end of device
<6>sda2: rw=0, want=293910288, limit=30282525
<3>Buffer I/O error on device sda2, logical block 73477571
<6>attempt to access beyond end of device
<6>sda2: rw=0, want=562346468, limit=30282525
<3>Buffer I/O error on device sda2, logical block 140586616
<6>attempt to access beyond end of device
<6>sda2: rw=0, want=562361452, limit=30282525
<3>Buffer I/O error on device sda2, logical block 140590362
<6>attempt to access beyond end of device
<6>sda2: rw=0, want=92583536, limit=30282525
<3>Buffer I/O error on device sda2, logical block 23145883
<6>attempt to access beyond end of device
<6>sda2: rw=0, want=562346468, limit=30282525
<3>Buffer I/O error on device sda2, logical block 140586616
<6>attempt to access beyond end of device
<6>sda2: rw=0, want=293910288, limit=30282525
<3>Buffer I/O error on device sda2, logical block 73477571
<6>attempt to access beyond end of device
<6>sda2: rw=0, want=562346468, limit=30282525
<3>Buffer I/O error on device sda2, logical block 140586616
<6>attempt to access beyond end of device
<6>sda2: rw=0, want=562346468, limit=30282525
<3>Buffer I/O error on device sda2, logical block 140586616
<6>attempt to access beyond end of device
<6>sda2: rw=0, want=562346468, limit=30282525
<3>Buffer I/O error on device sda2, logical block 140586616
<6>attempt to access beyond end of device
<6>sda2: rw=0, want=562361452, limit=30282525
<3>Buffer I/O error on device sda2, logical block 140590362
<6>attempt to access beyond end of device
<6>sda2: rw=0, want=562346468, limit=30282525
<3>Buffer I/O error on device sda2, logical block 140586616
<6>attempt to access beyond end of device
<6>sda2: rw=0, want=92583536, limit=30282525
<3>Buffer I/O error on device sda2, logical block 23145883
<6>attempt to access beyond end of device
<6>sda2: rw=0, want=293910288, limit=30282525
<3>Buffer I/O error on device sda2, logical block 73477571
<6>attempt to access beyond end of device
<6>sda2: rw=0, want=562346468, limit=30282525
<3>Buffer I/O error on device sda2, logical block 140586616
<6>attempt to access beyond end of device
<6>sda2: rw=0, want=562346468, limit=30282525
<3>Buffer I/O error on device sda2, logical block 140586616
<6>attempt to access beyond end of device
<6>sda2: rw=0, want=562346468, limit=30282525
<3>Buffer I/O error on device sda2, logical block 140586616
<6>attempt to access beyond end of device
<6>sda2: rw=0, want=562361452, limit=30282525
<3>Buffer I/O error on device sda2, logical block 140590362
<6>attempt to access beyond end of device
<6>sda2: rw=0, want=562346468, limit=30282525
<3>Buffer I/O error on device sda2, logical block 140586616
<6>attempt to access beyond end of device
<6>sda2: rw=0, want=92583536, limit=30282525
<3>Buffer I/O error on device sda2, logical block 23145883
<6>attempt to access beyond end of device
<6>sda2: rw=0, want=293910288, limit=30282525
<3>Buffer I/O error on device sda2, logical block 73477571
<6>attempt to access beyond end of device
<6>sda2: rw=0, want=562346468, limit=30282525
<3>Buffer I/O error on device sda2, logical block 140586616
<6>attempt to access beyond end of device
<6>sda2: rw=0, want=562346468, limit=30282525
<3>Buffer I/O error on device sda2, logical block 140586616
<6>attempt to access beyond end of device
<6>sda2: rw=0, want=562346468, limit=30282525
<3>Buffer I/O error on device sda2, logical block 140586616
<6>attempt to access beyond end of device
<6>sda2: rw=0, want=562361452, limit=30282525
<3>Buffer I/O error on device sda2, logical block 140590362
<6>attempt to access beyond end of device
<6>sda2: rw=0, want=562346468, limit=30282525
<3>Buffer I/O error on device sda2, logical block 140586616
<6>attempt to access beyond end of device
<6>sda2: rw=0, want=92583536, limit=30282525
<3>Buffer I/O error on device sda2, logical block 23145883
<6>attempt to access beyond end of device
<6>sda2: rw=0, want=293910288, limit=30282525
<3>Buffer I/O error on device sda2, logical block 73477571
<6>attempt to access beyond end of device
<6>sda2: rw=0, want=562346468, limit=30282525
<3>Buffer I/O error on device sda2, logical block 140586616
<6>attempt to access beyond end of device
<6>sda2: rw=0, want=562346468, limit=30282525
<3>Buffer I/O error on device sda2, logical block 140586616

Code:

<6>sd 0:0:0:0: [sda] Result: hostbyte=0x00 driverbyte=0x08
<6>sd 0:0:0:0: [sda] Sense Key : 0x3 [current]
<6>sd 0:0:0:0: [sda] ASC=0x11 ASCQ=0x0
<4>end_request: I/O error, dev sda, sector 18910173
<3>Buffer I/O error on device sda2, logical block 4466511
<6>sd 0:0:0:0: [sda] Result: hostbyte=0x00 driverbyte=0x08
<6>sd 0:0:0:0: [sda] Sense Key : 0x3 [current]
<6>sd 0:0:0:0: [sda] ASC=0x11 ASCQ=0x0
<4>end_request: I/O error, dev sda, sector 1891023
dinjo
DD-WRT User


Joined: 13 Nov 2010
Posts: 164

PostPosted: Thu Sep 01, 2011 2:54    Post subject: Reply with quote
Ok the USB is getting unmounted again !!!! Embarassed

And do you guys think the copying error is because its a 16GB USB and most of data is filled up causing no cache to allow copy ?
grymster
DD-WRT User


Joined: 04 Feb 2011
Posts: 88
Location: SPb, Russia

PostPosted: Thu Sep 01, 2011 5:07    Post subject: Reply with quote
dinjo wrote:
Ok the USB is getting unmounted again !!!! Embarassed

And do you guys think the copying error is because its a 16GB USB and most of data is filled up causing no cache to allow copy ?


Can you provide output of next command?

tune2fs -l /dev/discs/disc0/part2 | grep -i block

_________________
Device: Netgear WNDR4300
Firmware: DD-WRT r26490
dinjo
DD-WRT User


Joined: 13 Nov 2010
Posts: 164

PostPosted: Thu Sep 01, 2011 5:09    Post subject: Reply with quote
Code:
root@DD-WRT:~# tune2fs -l /dev/discs/disc0/part1 | grep -i block
Block count:              522081
Reserved block count:     26104
Free blocks:              366750
First block:              1
Block size:               1024
Blocks per group:         8192
Inode blocks per group:   255
Reserved blocks uid:      0 (user root)
Reserved blocks gid:      0 (group root)
root@DD-WRT:~# tune2fs -l /dev/discs/disc0/part2 | grep -i block
Block count:              7570631
Reserved block count:     378531
Free blocks:              3867121
First block:              0
Block size:               2048
Blocks per group:         16384
Inode blocks per group:   511
Reserved blocks uid:      0 (user root)
Reserved blocks gid:      0 (group root)
grymster
DD-WRT User


Joined: 04 Feb 2011
Posts: 88
Location: SPb, Russia

PostPosted: Thu Sep 01, 2011 5:23    Post subject: Reply with quote
dinjo wrote:
Code:
root@DD-WRT:~# tune2fs -l /dev/discs/disc0/part1 | grep -i block
Block count:              522081
Reserved block count:     26104
Free blocks:              366750
First block:              1
Block size:               1024
Blocks per group:         8192
Inode blocks per group:   255
Reserved blocks uid:      0 (user root)
Reserved blocks gid:      0 (group root)
root@DD-WRT:~# tune2fs -l /dev/discs/disc0/part2 | grep -i block
Block count:              7570631
Reserved block count:     378531
Free blocks:              3867121
First block:              0
Block size:               2048
Blocks per group:         16384
Inode blocks per group:   511
Reserved blocks uid:      0 (user root)
Reserved blocks gid:      0 (group root)


Wait a minute!!!
In a post with errors log I believe you had block size 512 byte of your second partition.

Did you recreate partition after that?

Was - limit: 30282525, partition size 15504652288 bytes, block size: 15504652288 / 30282525 = 512 bytes.

Now - block count: 7570631, block size: 2048 bytes, partition size:7570631 x 2048 = 15504652288 bytes

_________________
Device: Netgear WNDR4300
Firmware: DD-WRT r26490
grymster
DD-WRT User


Joined: 04 Feb 2011
Posts: 88
Location: SPb, Russia

PostPosted: Thu Sep 01, 2011 5:35    Post subject: Reply with quote
Based on these lines from log:
Quote:

<3>Buffer I/O error on device sda2, logical block 140586616
<6>attempt to access beyond end of device


I may presume after some "googling" that you have problem with partition.

Did you create partition using router or laptop/PC?

I will suggest to recreate partition using your laptop/PC but don't forget to set inode size of 128 byte while file system creation process (mke2fs -i 128).

_________________
Device: Netgear WNDR4300
Firmware: DD-WRT r26490
dinjo
DD-WRT User


Joined: 13 Nov 2010
Posts: 164

PostPosted: Thu Sep 01, 2011 8:39    Post subject: Reply with quote
I didn't re-created the partition the thing i'm doing is im downloading a single 7GB file and i was transferring the file but i can't get it transfered and one which i noticed is i cant see the file when i telnet to the dir but the file is available via LAN or FTP and i looked at dmesg while copying it showed me these errors.I had already re-created the partitions many times though not with inode size 128 would it solve all issues ? Also i have as my startup script.

echo 128 > /sys/block/sda/device/max_sectors


Code:

<6>EXT3-fs: mounted filesystem with ordered data mode.
<4>RT305x_ESW: Link Status Changed
<4>RT305x_ESW: Link Status Changed
<4>RT305x_ESW: Link Status Changed
<4>RT305x_ESW: Link Status Changed
<4>RT305x_ESW: Link Status Changed
<4>RT305x_ESW: Link Status Changed
<4>RT305x_ESW: Link Status Changed
<4>RT305x_ESW: Link Status Changed
<2>EXT3-fs error (device sda2): ext3_free_blocks_sb: bit already cleared for block 4542351
<7>init_special_inode: bogus i_mode (70)
<7>init_special_inode: bogus i_mode (146)
<7>init_special_inode: bogus i_mode (24)
<7>init_special_inode: bogus i_mode (0)
<7>init_special_inode: bogus i_mode (160041)
<7>init_special_inode: bogus i_mode (160041)
<2>EXT3-fs error (device sda1): ext3_readdir: bad entry in directory #59167: rec_len % 4 != 0 - offset=0, inode=3464126896, rec_len=249, name_len=55
<7>init_special_inode: bogus i_mode (70)
<2>EXT3-fs error (device sda1): ext3_readdir: bad entry in directory #59167: rec_len % 4 != 0 - offset=0, inode=3464126896, rec_len=249, name_len=55
<2>EXT3-fs error (device sda1): ext3_readdir: bad entry in directory #59167: rec_len % 4 != 0 - offset=0, inode=3464126896, rec_len=249, name_len=55
grymster
DD-WRT User


Joined: 04 Feb 2011
Posts: 88
Location: SPb, Russia

PostPosted: Thu Sep 01, 2011 10:26    Post subject: Reply with quote
First of all you definitely have problem with your partition. Second I'm not sure that setting inode size to 128 will solve your problem but it should be 128.

Only I'm sure that's not good idea to use something like this:
Quote:

echo 128 > /sys/block/sda/device/max_sectors


I believe you have read on some forums that this command will speedup your USB I/O operations but it's not true. This router has USB I/O speed limit because of hardware issues and you cannot fix it with any software tricks Sad

My advise: re-create the partition using linux PC with inode size 128 and remove line mentioned above from startup script.

_________________
Device: Netgear WNDR4300
Firmware: DD-WRT r26490
dinjo
DD-WRT User


Joined: 13 Nov 2010
Posts: 164

PostPosted: Thu Sep 01, 2011 13:25    Post subject: Reply with quote
Ill recreate the partitions using gparted do unidentified size needs to be 128 for both partitions.?
grymster
DD-WRT User


Joined: 04 Feb 2011
Posts: 88
Location: SPb, Russia

PostPosted: Thu Sep 01, 2011 17:29    Post subject: Reply with quote
dinjo wrote:
Ill recreate the partitions using gparted do unidentified size needs to be 128 for both partitions.?


Inode size have to be 128 byte for both partition if of course first partition is not a swap.

I'm not sure that using gparted you can set inode size during creation of file system. It will create file system with default inode size for your PC linux version. I will probably be 256.

I suggest you to use old manner fdisk&mke2fs tools Smile

_________________
Device: Netgear WNDR4300
Firmware: DD-WRT r26490


Last edited by grymster on Fri Sep 02, 2011 4:02; edited 1 time in total
viking13
DD-WRT Novice


Joined: 23 Aug 2011
Posts: 13

PostPosted: Thu Sep 01, 2011 20:30    Post subject: Reply with quote
I am connected from my laptop to my router at 65Mbps over wi/fi.

I have 500GB SATA HDD in USB 2.0 rack with ext3 partition. It is attached to my router, and I use it for /opt partition.

When I upload some file over FTP to my HDD I can not accomplish more than 2 MB/s. If I download files from USB, I can not get more then 2.5 MB/s. With 65Mbps I should get much higher rates (at least 6.5 - 7 MB/s if we calculate overhead of about 20%).

Is this normal or I have some problem with my router?
yutoon
DD-WRT User


Joined: 15 Jul 2010
Posts: 60

PostPosted: Thu Sep 01, 2011 20:38    Post subject: Wiki Updated Reply with quote
Side note: Updated the wiki (http://www.dd-wrt.com/wiki/index.php/Asus_RT-N13U).

EDIT:
Another update today. See http://www.dd-wrt.com/phpBB2/viewtopic.php?p=633543#633543 for details.


Last edited by yutoon on Fri Sep 09, 2011 2:18; edited 1 time in total
grymster
DD-WRT User


Joined: 04 Feb 2011
Posts: 88
Location: SPb, Russia

PostPosted: Fri Sep 02, 2011 3:46    Post subject: Reply with quote
viking13 wrote:

When I upload some file over FTP to my HDD I can not accomplish more than 2 MB/s. If I download files from USB, I can not get more then 2.5 MB/s.
...
Is this normal or I have some problem with my router?

This is normal due of hardware limitation.
I've mentioned this issue a few post before.

_________________
Device: Netgear WNDR4300
Firmware: DD-WRT r26490
grymster
DD-WRT User


Joined: 04 Feb 2011
Posts: 88
Location: SPb, Russia

PostPosted: Fri Sep 02, 2011 4:09    Post subject: Reply with quote
I've created separate topic for my firmware mod.
Please welcome with questions and suggestion.

Here is the link.

_________________
Device: Netgear WNDR4300
Firmware: DD-WRT r26490
Goto page Previous  1, 2, 3 ... 52, 53, 54 ... 57, 58, 59  Next Display posts from previous:    Page 53 of 59
Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Ralink SoC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum