USB on BCM5354 routers - need testers

Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware
Goto page Previous  1, 2, 3, 4, 5, 6  Next
Author Message
patwood
DD-WRT User


Joined: 29 Jul 2008
Posts: 118
Location: NJ, USA

PostPosted: Wed Jul 30, 2008 2:36    Post subject: Reply with quote
Okay, I flashed my Asus WL-520gu with dd-wrt.v24-9973_NEWD_mini_usb.bin; I am getting the same symptoms as I did with v24finalnokaidusb4m9517.bin that bkmo uploaded. I tested with two different USB keys, a 256M Linkyo and a 4G Sandisk Cruzer with the same results. The device is recognized, and I can mount a partition from it, but after reading a few files (I did a wc *), the USB light goes out and I start getting I/O errors.

dmesg says this:

scsi1 : SCSI emulation for USB Mass Storage devices
Vendor: SanDisk Model: U3 Cruzer Micro Rev: 3.27
Type: Direct-Access ANSI SCSI revision: 02
Attached scsi removable disk sdb at scsi1, channel 0, id 0, lun 0
SCSI device sdb: 8027790 512-byte hdwr sectors (4110 MB)
sdb: Write Protect is off
/dev/scsi/host1/bus0/target0/lun0: p1 p2 p3
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 2
VFS: Disk change detected on device 08:00
/dev/scsi/host0/bus0/target0/lun0: I/O error: dev 08:00, sector 0
I/O error: dev 08:00, sector 0
SQUASHFS error: Can't find a SQUASHFS superblock on sd(8,17)
SQUASHFS error: Can't find a SQUASHFS superblock on sd(8,18)
EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended
SQUASHFS error: Can't find a SQUASHFS superblock on sd(8,18)
usb-ohci.c: OHCI Unrecoverable Error, controller usb-00:03.0 disabled

I can rmmod and insmod the usb-ohci, and then I can remount the USB device, but the problem persists. If I try to read from the partition using dd if=part1 of=/dev/null or cat part1 > /dev/null, the router reboots.

Pat
Sponsor
patwood
DD-WRT User


Joined: 29 Jul 2008
Posts: 118
Location: NJ, USA

PostPosted: Wed Jul 30, 2008 3:15    Post subject: Reply with quote
Okay, here's some more info: I decided to try some other USB devices: SDHC card reader, IDE drive in a USB enclosure, USB floppy, and a USB 1.1 hub with a flash drive plugged into it. The results were similar with all of these devices (the hub was recognized, and the thumb drive when it was plugged into the hub).

The only device that was a little different from the rest was the floppy -- it crashed the ohci driver before I could even mount it.

Pat
drbios
DD-WRT Novice


Joined: 06 Jul 2008
Posts: 21

PostPosted: Thu Jul 31, 2008 0:40    Post subject: Reply with quote
i now using the last svn verion
dd-wrt.v24-10061_NEWD_mini_usb.bin

still having the same problems

with usb 1.1 (2 option disabled) and the usb 2.0 option enabled
still having problems to detect or acces to the USB HD

only usb 1.1 works

i hope you can find a solution ...

best regards
Eko
DD-WRT Developer/Maintainer


Joined: 07 Jun 2006
Posts: 5771

PostPosted: Thu Aug 14, 2008 15:56    Post subject: Reply with quote
New image to test: build 10137


dd-wrt.v24-101037_NEWD_mini_usb.bin
 Description:

Download
 Filename:  dd-wrt.v24-101037_NEWD_mini_usb.bin
 Filesize:  2.91 MB
 Downloaded:  2500 Time(s)

Carlito83
DD-WRT User


Joined: 28 Apr 2008
Posts: 53

PostPosted: Thu Aug 14, 2008 21:25    Post subject: Reply with quote
Eko wrote:
New image to test: build 10137


I have a Asus WL-520GU and want to attached a printer to it. I got the printer to work in a Asus WL-500W, so I will try this and post results.
repsons
DD-WRT Novice


Joined: 16 Apr 2007
Posts: 42

PostPosted: Fri Aug 15, 2008 21:12    Post subject: Reply with quote
Eko wrote:
New image to test: build 10137


Thank you Eko, it works fine.:)

@The moment just one remark, that ext2 doesn't works, but ext3 volume mounts fine.

thanks,
Janis

ps.
?: I'm not very sure, but isn't dir320 usb2 device or usb1.1 only.?
Carlito83
DD-WRT User


Joined: 28 Apr 2008
Posts: 53

PostPosted: Sat Aug 16, 2008 1:23    Post subject: Reply with quote
Eko:
I got the printer to work with the WL-520GU. But as soon as the router is rebooted it stops recognizing the printer. After that if the printer is turned OFF and ON it will recognize the printer again.

I attached a picture when it begins to recognize the printer after the printer is rebooted.



untitled.JPG
 Description:
Prompt picture
 Filesize:  54.41 KB
 Viewed:  24619 Time(s)

untitled.JPG


Carlito83
DD-WRT User


Joined: 28 Apr 2008
Posts: 53

PostPosted: Sun Aug 17, 2008 14:32    Post subject: Reply with quote
Bump
patwood
DD-WRT User


Joined: 29 Jul 2008
Posts: 118
Location: NJ, USA

PostPosted: Mon Aug 18, 2008 4:01    Post subject: Reply with quote
Well, the good news is that USB2.0 isn't crashing the router any more. I tested 5 different USB keys from 4 different manufacturers and two IDE/USB disk drives. FAT32 file systems can get corrupted from large data transfers; ext2 and ext3 file systems are much more stable -- I was only able to break an ext2 file system on a thumb drive once, and was able to recover it via fsck on a linux notebook.

Read speeds ranged from 3-4MB/sec for the thumb drives and 8-9MB/sec for the disk drives; CPU util was 100% during any sustained read/write to the USB devices.

I was able to get the SCSI driver to lock up with two of the thumb drives using dd if=partXXX of=/dev/null, possibly due to bad flash blocks that mkfs had mapped out.

My USB floppy wasn't recognized, but at least the router didn't lock up over it like before.

It looks like this version doesn't have an ext2 kernel module in the root file system; I've attached one that you can try (scp it to your router and do "insmod ext2.o" to install it). Presumably this is something that can be included in subsequent TNG builds.



ext2.o.gz
 Description:
ext2 file system kernel module for V24_2

Download
 Filename:  ext2.o.gz
 Filesize:  26.31 KB
 Downloaded:  1350 Time(s)

Carlito83
DD-WRT User


Joined: 28 Apr 2008
Posts: 53

PostPosted: Mon Aug 18, 2008 4:03    Post subject: Reply with quote
I will use the WL-520GU for printing for the most part, so I'm using Oleg firmware for the time being. Sure miss DD-WRT. Rolling Eyes
aag_ddwrt
DD-WRT Novice


Joined: 06 Aug 2008
Posts: 11

PostPosted: Mon Aug 18, 2008 23:30    Post subject: Reply with quote
Eko wrote:
New image to test: build 10137


I´ve flashed my Asus WL-500g Premium v2 with the new "mini" version, using a USB drive "Kingston Data Traveler 2.0" and it seems to work fine (I´ve only tested vfat unit).

Apart from the rebooting problem, I had another one with the "mega" version I was using before. Very often, I couldn't mount the USB unit, it seemed like if it was not detected (the mounting path ended at "/dev/scsi" no "host", "bus", "target"...). I had to reboot the router several times and hope the unit was detected correctly, now, with the new test version, it doesn´t happen anymore.

Will this fix be ported to the "mega" version soon?


Last edited by aag_ddwrt on Tue Aug 19, 2008 20:11; edited 1 time in total
repsons
DD-WRT Novice


Joined: 16 Apr 2007
Posts: 42

PostPosted: Tue Aug 19, 2008 3:37    Post subject: Reply with quote
aag_ddwrt wrote:
Eko wrote:
New image to test: build 10137

not detected (the mounting path ended at "/dev/scsi" no "host", "bus", "target"...). I had to reboot the


Hi!
Seems, that something is wrong w usb drivers.
1-th, inspect output of 'dmesg' command, see, are drivers loaded, is usb-storage device detected etc.
regards,
Janis
aag_ddwrt
DD-WRT Novice


Joined: 06 Aug 2008
Posts: 11

PostPosted: Tue Aug 19, 2008 20:07    Post subject: Reply with quote
I've checked the "dmesg" output, but it doesn't help very much. I attach the output just in case it can help somebody.

The version I am using, V24 SP1-mega version, is behaving kind of erratically, sometimes it seems the USB drive is not detected ("mesg2" file attached), but sometimes the drive is detected ("mesg1"), although, even in this case, most times I cannot mount it either. It's just a matter of luck sometimes I can mount it and sometimes I can't.

Anyway, as I said before, the "mini" version in this post seems to work fine.



mesg2.txt
 Description:
dmesg with usb error

Download
 Filename:  mesg2.txt
 Filesize:  4.45 KB
 Downloaded:  815 Time(s)


mesg1.txt
 Description:
dmesg with no error but mount still doesn't work

Download
 Filename:  mesg1.txt
 Filesize:  4.93 KB
 Downloaded:  829 Time(s)

repsons
DD-WRT Novice


Joined: 16 Apr 2007
Posts: 42

PostPosted: Tue Aug 19, 2008 20:16    Post subject: Reply with quote
mesg2 showsa, that noothing found;
mesg1:)
scsi0 : SCSI emulation for USB Mass Storage devices
Vendor: Kingston Model: DataTraveler 2.0 Rev: 1.00
Type: Direct-Access ANSI SCSI revision: 02
Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0
SCSI device sda: 1994752 512-byte hdwr sectors (1021 MB)
sda: Write Protect is off
Partition check:
/dev/scsi/host0/bus0/target0/lun0: p1


It means, that
mount /dev/scsi/host0/bus0/target0/lun0 /opt
should be successfull.

May be try different filesystem?? not ext2 but ext3, ?vfat??
Are these modules loaded? (dmesg shows it, but this evening i'm tired.

goodnight!
Janis
patwood
DD-WRT User


Joined: 29 Jul 2008
Posts: 118
Location: NJ, USA

PostPosted: Tue Aug 19, 2008 22:30    Post subject: Reply with quote
The new mini version continues to work well for me. I was able to install samba2 from optware onto a USB stick and share it to the network; next is to try the same with a small 2.5" IDE drive.
Goto page Previous  1, 2, 3, 4, 5, 6  Next Display posts from previous:    Page 2 of 6
Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom 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 can attach files in this forum
You can download files in this forum