OpenWrt Forum Archive

Topic: WR703n hub, extroot card stops reading

The content of this topic has been archived on 19 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hi all,

I performed the hardware hub mod on my WR703n. on the hub, I have two microSD card readers, one is internal to the device, and the other external.

On the internal card I have extended the root partition, using the standard method, by modifying the fstab config.

The problem I have is that when I read  from the second (external) device, the internal card seems to die, as in I lose all access to the file system, ash can't find any binaries, I can't run reboot, or ls, or anything, as if the entire file system has disappeared.

Can anybody suggest some way for me to debug this or what the issue might possibly be?

Well, if you can reproduce this problem, you could copy busybox to /tmp. After such crash, you could issue "/tmp/busybox dmesg" to have a first idea of what the kernel is facing.

MBS wrote:

Well, if you can reproduce this problem, you could copy busybox to /tmp. After such crash, you could issue "/tmp/busybox dmesg" to have a first idea of what the kernel is facing.


Thanks for the heads up, after doing this I see a port reset and I/O error in dmesg. It appears the issue is power related. If I use a power supply that supplies less than an amp, it boots up with no devices mounted, with hte 1A supply that came with it, both devices are available, but if I read from them, they drop out.

Even with a 1.5A supply the issue still occurs so I imagine the issue is with the hub/usb port supplying enough power, any suggestions on how I can increase this?

Have you already tried a different hub, preferrably a self powered hub?

tmo26 wrote:

Have you already tried a different hub, preferrably a self powered hub?

Afraid not, I actually soldered this hub in place of the single port on the device, destroying the original port in the process.

Someone had successfully done so before so I would not have thought power would be an issue, especially since I'm using two small, very low power card readers.

Yes, it's unusual that power should be a problem with just two thumbdrives. Usually, those drives draw not more than 100mA, so alltogether the current draw should stay well below 500mA.

Have you changed the power cord already, just to make sure that it's not a bad one with high resistance?

By the way: Please show some pictures of your mod (please make sure the pictures are <100kB).

(Last edited by tmo26 on 14 Jan 2014, 09:19)

Yes, I tried a whole other power supply and cable, with the second one, it wouldn't even mount the devices at boot, then a third power supply and cable which mounted at boot but same issue persists.

It's really strange.

I'd rather not do-solder the hub because I've made enough mess already, but I may do so just to get an ammeter in line if I can't figure out the issue.

It's unusable currently so I hope I can solve the issue with some help.

Hmm... I'd say: Desolder your hub-solution and try with a standard external USB hub and see, if the problem still persists.

Did the hub work correctly with both SD-readers *before* you soldered it into the router?

Did the router boot correctly with both readers attached *before* you soldered the hub into the router?

Are you sure that it's not a "hub" like this one, without any ICs on it?
https://www.mikrocontroller.net/attachm … 164354.jpg
You know, these days, you have to take into account even the weirdest hardware designs smile

Are you sure that the filesystem on one or both SD-cards isn't damaged?
Have you tried accessing both SD cards on another computer, especially the second one?
Have you already done a filesystem check, especially on the second one?

What version of OpenWRT are you using?

And just to get it right:
As long as you do not read from the second SD card, the router is working fine, for hours or even for days, correct?
And as soon as you read from the second SD card, the first one becomes inaccessible, correct?

When the issue occurs again, please post the relevant part of dmesg and mount.

And by the way: Yes, pics please!

(Last edited by tmo26 on 14 Jan 2014, 18:36)

The discussion might have continued from here.