What's new

Asuswrt-Merlin 3.0.0.4.374.35 is out

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

Optware seems to be automatically disabled when Download Master is removed on ac56u

This is normal, since Asusware only uses Optware for Download Master - it's properly removing the code it no longer needs when you uninstall it. You must either manually configure it, or if using Download Master as the installation step-up, disable it instead of removing it.
 
You don't specify which router you are talking about, what type of WAN connection, or what makes you think it's broken. Makes it hard to do anything with so little info I'm afraid...

Ah. Sorry.

RT-N66U
Single Wan connection
And from the Tools section it reported Qos Disabled <unknown>

None of the usual things that will turn off Hardware Acceleration were on like Traffic Manager, etc.
 
And from the Tools section it reported Qos Disabled <unknown>

That usually means the HW acceleration state was changed at the config level, but not at the effective level. You need to reboot your router to properly update the HW acceleration state.
 
This is normal, since Asusware only uses Optware for Download Master - it's properly removing the code it no longer needs when you uninstall it. You must either manually configure it, or if using Download Master as the installation step-up, disable it instead of removing it.
I have also tried now to disable it - does not help :(. Ipkg does not work after reboot, /opt is not mounted, /opt/etc/init.d/ scripts do not start.
External USB disk status page shows "Errors have been detected on your hard drive. Remove any damaged files or use a PC to correct system issues.". If I remove the stick, plug it in my laptop, perform a check (never shows an error) and plug it back to router - everything works, until the next reboot of router...
 
Last edited:
External USB disk status page shows "Errors have been detected on your hard drive. Remove any damaged files or use a PC to correct system issues.". If I remove the stick, plug it in my laptop, perform a check (never shows an error) and plug it back to router - everything works, until the next reboot of router...

How are you rebooting the router?
 
"reboot" button in the web interface.

Odd. The filesystem shouldn't be flagged as dirty then since you are correctly going through the regular shutdown process. The only things I could think of would be the router is crashing during its reboot (would be doubtful), or for some reasons caches aren't fully flushed to disk. That's something I would expect from a mechanical hard disk however (due to their large onboard caches, not a flash drive.

Regarding Optware, it's possible that Asus changed what Download Master does when it's being disabled, and they are doing more than just preventing the service from starting at boot time. It's been well over a year since I looked at Download Master, so I haven't kept track of chances they have done at that level.
 
I partially have the same problem as Burning Daylight. ipkg works fine if I disable Download Master, but whenever I reboot my router, using the Web UI Reboot button, I get the "Errors have been detected on your hard drive. Remove any damaged files or use a PC to correct system issues." error.

Not a big deal on my end as everything works anyway, but it is weird.

I am currently using a RT-AC68U on 3.0.0.4.374.35_4.

Thanks.
 
I partially have the same problem as Burning Daylight. ipkg works fine if I disable Download Master, but whenever I reboot my router, using the Web UI Reboot button, I get the "Errors have been detected on your hard drive. Remove any damaged files or use a PC to correct system issues." error.

Not a big deal on my end as everything works anyway, but it is weird.

I am currently using a RT-AC68U on 3.0.0.4.374.35_4.

Thanks.

Can you see in the System Log if you have any additional info when the disk is being mounted?

Are you also using ext2? That's what I'm using on my USB disk that contains Optware, and haven't run into that issue yet.
 
Can you see in the System Log if you have any additional info when the disk is being mounted?

Are you also using ext2? That's what I'm using on my USB disk that contains Optware, and haven't run into that issue yet.
I'm using ext2 also. Here are some selected lines from log:
Code:
Jan  1 02:00:13 kernel: scsi 0:0:0:0: Direct-Access     JetFlash Transcend 4GB    1100 PQ: 0 ANSI: 4
Jan  1 02:00:13 kernel: sd 0:0:0:0: Attached scsi generic sg0 type 0
Jan  1 02:00:13 kernel: sd 0:0:0:0: [sda] 7913472 512-byte logical blocks: (4.05 GB/3.77 GiB)
Jan  1 02:00:13 kernel: sd 0:0:0:0: [sda] Write Protect is off
Jan  1 02:00:13 kernel: sd 0:0:0:0: [sda] Assuming drive cache: write through
Jan  1 02:00:13 kernel: sd 0:0:0:0: [sda] Assuming drive cache: write through
Jan  1 02:00:13 kernel:  sda: sda1
Jan  1 02:00:13 kernel: sd 0:0:0:0: [sda] Assuming drive cache: write through
Jan  1 02:00:13 kernel: sd 0:0:0:0: [sda] Attached SCSI removable disk
Jan  1 02:00:13 kernel: EXT4-fs (sda1): warning: mounting unchecked fs, running e2fsck is recommended
Jan  1 02:00:13 hotplug[532]: USB ext4 fs at /dev/sda1 mounted on /tmp/mnt/usbdrv
Jan  1 02:00:13 kernel: EXT4-fs (sda1): mounted filesystem without journal. Opts: user_xattr
Jan  1 02:00:14 hotplug[532]: USB partition unmounted from /tmp/mnt/usbdrv
Jan  1 02:00:19 disk monitor: be idle
Jan  1 02:00:19 kernel: hub 1-0:1.0: over-current change on port 1
Jan  1 02:00:19 kernel: sd 0:0:0:0: [sda] Unhandled error code
Jan  1 02:00:19 kernel: sd 0:0:0:0: [sda]  Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK
Jan  1 02:00:19 kernel: sd 0:0:0:0: [sda] CDB: Read(10): 28 00 00 60 03 8e 00 03 c0 00
Jan  1 02:00:19 kernel: end_request: I/O error, dev sda, sector 6292366
Jan  1 02:00:19 kernel: Buffer I/O error on device sda1, logical block 786538
Jan  1 02:00:19 kernel: Buffer I/O error on device sda1, logical block 786539
Jan  1 02:00:19 kernel: Buffer I/O error on device sda1, logical block 786540
Jan  1 02:00:19 kernel: Buffer I/O error on device sda1, logical block 786541
Jan  1 02:00:19 kernel: Buffer I/O error on device sda1, logical block 786542
Jan  1 02:00:19 kernel: Buffer I/O error on device sda1, logical block 786543
Jan  1 02:00:19 kernel: Buffer I/O error on device sda1, logical block 786544
Jan  1 02:00:19 kernel: Buffer I/O error on device sda1, logical block 786545
Jan  1 02:00:19 kernel: Buffer I/O error on device sda1, logical block 786546
Jan  1 02:00:19 kernel: Buffer I/O error on device sda1, logical block 786547
Jan  1 02:00:19 kernel: sd 0:0:0:0: [sda] Unhandled error code
Jan  1 02:00:19 kernel: sd 0:0:0:0: [sda]  Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK
Jan  1 02:00:19 kernel: sd 0:0:0:0: [sda] CDB: Read(10): 28 00 00 60 07 4e 00 00 40 00
Jan  1 02:00:19 kernel: end_request: I/O error, dev sda, sector 6293326
Jan  1 02:00:19 kernel: sd 0:0:0:0: [sda] Unhandled error code
Jan  1 02:00:19 kernel: sd 0:0:0:0: [sda]  Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK
Jan  1 02:00:19 kernel: sd 0:0:0:0: [sda] CDB: Read(10): 28 00 00 60 07 8e 00 03 c0 00
Jan  1 02:00:19 kernel: end_request: I/O error, dev sda, sector 6293390
Jan  1 02:00:19 kernel: sd 0:0:0:0: [sda] Unhandled error code
Jan  1 02:00:19 kernel: sd 0:0:0:0: [sda]  Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK
Jan  1 02:00:19 kernel: sd 0:0:0:0: [sda] CDB: Read(10): 28 00 00 60 0b 4e 00 03 c0 00
Jan  1 02:00:19 kernel: end_request: I/O error, dev sda, sector 6294350
Jan  1 02:00:19 kernel: sd 0:0:0:0: [sda] Unhandled error code
Jan  1 02:00:19 kernel: sd 0:0:0:0: [sda]  Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK
Jan  1 02:00:19 kernel: sd 0:0:0:0: [sda] CDB: Read(10): 28 00 00 60 0f 0e 00 00 80 00
Jan  1 02:00:19 kernel: end_request: I/O error, dev sda, sector 6295310
Jan  1 02:00:19 kernel: sd 0:0:0:0: [sda] Unhandled error code
Jan  1 02:00:19 kernel: sd 0:0:0:0: [sda]  Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK
Jan  1 02:00:19 kernel: sd 0:0:0:0: [sda] CDB: Read(10): 28 00 00 60 03 8e 00 00 08 00
Jan  1 02:00:19 kernel: end_request: I/O error, dev sda, sector 6292366
Jan  1 02:00:19 kernel: sd 0:0:0:0: [sda] Unhandled error code
Jan  1 02:00:19 kernel: sd 0:0:0:0: [sda]  Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK
Jan  1 02:00:19 kernel: sd 0:0:0:0: [sda] CDB: Read(10): 28 00 00 60 03 8e 00 00 08 00
Jan  1 02:00:19 kernel: end_request: I/O error, dev sda, sector 6292366
Jan  1 02:00:19 kernel: sd 0:0:0:0: [sda] Unhandled error code
Jan  1 02:00:20 hotplug[532]: USB /dev/sda1(ext4) failed to mount at the first try!
Jan  1 02:00:20 kernel: sd 0:0:0:0: [sda]  Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK
Jan  1 02:00:20 kernel: sd 0:0:0:0: [sda] CDB: Write(10): 2a 00 00 00 00 46 00 00 08 00
Jan  1 02:00:20 kernel: end_request: I/O error, dev sda, sector 70
Jan  1 02:00:20 kernel: sd 0:0:0:0: [sda] Unhandled error code
Jan  1 02:00:20 kernel: sd 0:0:0:0: [sda]  Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK
Jan  1 02:00:20 kernel: sd 0:0:0:0: [sda] CDB: Write(10): 2a 00 00 00 00 3e 00 00 08 00
Jan  1 02:00:20 kernel: end_request: I/O error, dev sda, sector 62
Jan  1 02:00:20 kernel: usb 1-2: USB disconnect, address 2
Jan  1 02:00:20 rc_service: hotplug 706:notify_rc restart_nasapps
Jan  1 02:00:20 rc_service: hotplug 718:notify_rc restart_nasapps
Jan  1 02:00:20 rc_service: waitting "restart_nasapps" via  ...
Jan  1 02:00:21 kernel: hub 1-0:1.0: over-current change on port 1
Jan  1 02:00:21 kernel: hub 1-0:1.0: over-current change on port 2
Jan  1 02:00:22 kernel: usb 1-2: new high speed USB device using ehci_hcd and address 3
Jan  1 02:00:22 kernel: gro disabled
Jan  1 02:00:22 kernel: scsi1 : usb-storage 1-2:1.0
Jan  1 02:00:23 kernel: scsi 1:0:0:0: Direct-Access     JetFlash Transcend 4GB    1100 PQ: 0 ANSI: 4
Jan  1 02:00:23 kernel: sd 1:0:0:0: Attached scsi generic sg0 type 0
Jan  1 02:00:23 kernel: sd 1:0:0:0: [sda] 7913472 512-byte logical blocks: (4.05 GB/3.77 GiB)
Jan  1 02:00:23 kernel: sd 1:0:0:0: [sda] Write Protect is off
Jan  1 02:00:23 kernel: sd 1:0:0:0: [sda] Assuming drive cache: write through
Jan  1 02:00:23 kernel: sd 1:0:0:0: [sda] Assuming drive cache: write through
Jan  1 02:00:23 kernel:  sda: sda1
Jan  1 02:00:23 kernel: sd 1:0:0:0: [sda] Assuming drive cache: write through
Jan  1 02:00:23 kernel: sd 1:0:0:0: [sda] Attached SCSI removable disk
Jan  1 02:00:24 kernel: gro disabled
Jan  1 02:00:24 kernel: EXT4-fs (sda1): warning: mounting unchecked fs, running e2fsck is recommended
Jan  1 02:00:24 hotplug[756]: USB ext4 fs at /dev/sda1 mounted on /tmp/mnt/usbdrv
Jan  1 02:00:24 kernel: EXT4-fs (sda1): mounted filesystem without journal. Opts: user_xattr
Jan  1 02:00:25 hotplug[756]: USB partition unmounted from /tmp/mnt/usbdrv
Jan  1 02:00:35 hotplug[756]: USB ext4 fs at /dev/sda1 mounted on /tmp/mnt/usbdrv
 
To provide all potentially relevant information I did the following:
1. Unmounted the drive from router via web-interface
2. Plugged it in the laptop, checked errors, unmounted from laptop.
3. Cleared the log on the router
4. Plugged the drive in the router - at this point everything works as expected.
5. Reboot the router via web interface button
6. Check the /opt:
"ls: /opt: No such file or directory"
7. Go to "USB Application":
Freeze at "Checking the disk"
8. Press "cancel" in the "USB Application" menu:
Services list is shown, DM is reported unistalled (it is not true).
9. "ls: /opt: No such file or directory"
10. In "External USB disk status" nothing special is reported.
11. reboot
12. External USB disk status:
Code:
Errors have been detected on your hard drive. Remove any damaged files or use a PC to correct system issues.
Scan Results
usbdrv was not cleanly unmounted, check forced.
Error reading block 32768 (Attempt to read block from filesystem resulted in short read).  

usbdrv: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY.
	(i.e., without -a or -p options)
13. F5 in browser. External USB disk status:
Code:
usbdrv was not cleanly unmounted, check forced.

        3965 inodes used (1.60%, out of 247504)
           0 non-contiguous files (0.0%)
           4 non-contiguous directories (0.1%)
             # of inodes with ind/dind/tind blocks: 85/0/0
       26494 blocks used (2.68%, out of 989086)
           0 bad blocks
           1 large file

        2659 regular files
         206 directories
           0 character device files
           0 block device files
           0 fifos
           0 links
        1091 symbolic links (1091 fast symbolic links)
           0 sockets
------------
        3956 files
14. /opt is mounted, services started.
System log is attached.
 

Attachments

  • asus-ac56u.txt.zip
    8.6 KB · Views: 225
Code:
Jan  1 02:00:19 kernel: end_request: I/O error, dev sda, sector 6292366
Jan  1 02:00:19 kernel: Buffer I/O error on device sda1, logical block 786538
Jan  1 02:00:19 kernel: Buffer I/O error on device sda1, logical block 786539
Jan  1 02:00:19 kernel: Buffer I/O error on device sda1, logical block 786540
Jan  1 02:00:19 kernel: Buffer I/O error on device sda1, logical block 786541
Jan  1 02:00:19 kernel: Buffer I/O error on device sda1, logical block 786542
Jan  1 02:00:19 kernel: Buffer I/O error on device sda1, logical block 786543
Jan  1 02:00:19 kernel: Buffer I/O error on device sda1, logical block 786544
Jan  1 02:00:19 kernel: Buffer I/O error on device sda1, logical block 786545
Jan  1 02:00:19 kernel: Buffer I/O error on device sda1, logical block 786546
Jan  1 02:00:19 kernel: Buffer I/O error on device sda1, logical block 786547
Jan  1 02:00:19 kernel: sd 0:0:0:0: [sda] Unhandled error code

There's a problem with your disk according to these log entries. Try reformatting the disk, and if you still get these errors then you should replace the disk, as it might have weak sectors on it.

If you are using any USB extension cable, try also plugging the disk directly to the router to see if it helps.
 
Merlin, is the 35_4 the best choice for the N66U currently? Need to flash to my parents router on the other side of the country, and trying to get them better 2.4 performance in a crowded area. 5.0 is no good as the walls are plaster/concrete.

I may have to look at a power line solution, but going to try this first. they're still on 270.27b if memory serves.
 
Merlin, is the 35_4 the best choice for the N66U currently? Need to flash to my parents router on the other side of the country, and trying to get them better 2.4 performance in a crowded area. 5.0 is no good as the walls are plaster/concrete.

I may have to look at a power line solution, but going to try this first. they're still on 270.27b if memory serves.

Get the -SDK5 build for better wireless performance.
 
There's a problem with your disk according to these log entries. Try reformatting the disk, and if you still get these errors then you should replace the disk, as it might have weak sectors on it.

If you are using any USB extension cable, try also plugging the disk directly to the router to see if it helps.
Tried two disks already, one was completely new.
 
FYI, the update went perfectly RMerlin, and the wireless is way better. Thanks again for your efforts!
 
Tried two disks already, one was completely new.

Sounds like a hardware issue with your USB port then. Those logged errors indicate an issue reading the data blocks from your USB disk.
 

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top