Ipkg update: not resolvingdownloads.openwrt.org

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


Joined: 18 Oct 2007
Posts: 385
Location: Grecia, Costa Rica

PostPosted: Wed Apr 30, 2008 12:50    Post subject: Reply with quote
jdmulloy wrote:
Hi, I've been trying to use an ASUS WL-520GU/GC as a print server and when I print to it it will reboot. Sometimes I can get it to work when I start p910nd manually on the command line, same exact parameters as the autostart. This firmware works well except for this issue. Any ideas? I was able to get the log exported to a PC and p910nd does get the job but then the router reboots.

That router has only 8 meg ram if I remember correctly. Maybe it is a memory issue. Try loading only the modules needed to get printing support working to see if it will work.
Sponsor
jdmulloy
DD-WRT Novice


Joined: 27 Apr 2008
Posts: 6

PostPosted: Thu May 01, 2008 4:50    Post subject: Reply with quote
bkmo wrote:
jdmulloy wrote:
Hi, I've been trying to use an ASUS WL-520GU/GC as a print server and when I print to it it will reboot. Sometimes I can get it to work when I start p910nd manually on the command line, same exact parameters as the autostart. This firmware works well except for this issue. Any ideas? I was able to get the log exported to a PC and p910nd does get the job but then the router reboots.

That router has only 8 meg ram if I remember correctly. Maybe it is a memory issue. Try loading only the modules needed to get printing support working to see if it will work.


Now I'm trying with v24 RC7 and ipkg packages. Looks like something with usb-ohci.

Quote:
Linux version 2.4.35 (root@dd-wrt) (gcc version 3.4.6 (OpenWrt-2.0)) #1711 Thu Apr 24 05:37:36 CEST 2008
Setting the PFC to its default value
Determined physical RAM map:
memory: 01000000 @ 00000000 (usable)
On node 0 totalpages: 4096
zone(0): 4096 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200
CPU: BCM5354 rev 2 at 240 MHz
Using 120.000 MHz high precision timer.
Calibrating delay loop... 239.20 BogoMIPS
Dentry cache hash table entries: 2048 (order: 2, 16384 bytes)
Inode cache hash table entries: 1024 (order: 1, 8192 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer cache hash table entries: 1024 (order: 0, 4096 bytes)
Page-cache hash table entries: 4096 (order: 2, 16384 bytes)
Checking for 'wait' instruction... unavailable.
POSIX conformance testing by UNIFIX
PCI: no core
PCI: Fixing up bus 0
Initializing RT netlink socket
Starting kswapd
devfs: v1.12c (20020818) Richard Gooch (rgooch@atnf.csiro.au)
devfs: boot_options: 0x1
squashfs: version 3.0 (2006/03/15) Phillip Lougher
pty: 256 Unix98 ptys configured
Serial driver version 5.05c (2001-07-0Cool with MANY_PORTS SHARE_IRQ SERIAL_PCI enabled
ttyS00 at 0xb8000300 (irq = 3) is a 16550A
ttyS01 at 0xb8000400 (irq = 3) is a 16550A
Broadcom Watchdog Timer: 0.05, timer margin: 30 sec
PCI: Setting latency timer of device 00:01.0 to 64
PCI: Setting latency timer of device 00:05.0 to 64
sb_doattach: incoming bus is PCI but it's a lie, switching to SB devid:0x4318
Universal TUN/TAP device driver 1.5 (C)1999-2002 Maxim Krasnyansky
Physically mapped flash: Found an alias at 0x400000 for the chip at 0x0
Physically mapped flash: Found an alias at 0x800000 for the chip at 0x0
Physically mapped flash: Found an alias at 0xc00000 for the chip at 0x0
Physically mapped flash: Found an alias at 0x1000000 for the chip at 0x0
Physically mapped flash: Found an alias at 0x1400000 for the chip at 0x0
Physically mapped flash: Found an alias at 0x1800000 for the chip at 0x0
Physically mapped flash: Found an alias at 0x1c00000 for the chip at 0x0
Amd/Fujitsu Extended Query Table v1.1 at 0x0040
number of CFI chips: 1
cfi_cmdset_0002: Disabling fast programming due to code brokenness.
Flash device: 0x400000 at 0x1c000000
bootloader size: 131072
Physically mapped flash: Filesystem type: squashfs, size=0x1e5aa2
Creating 5 MTD partitions on "Physically mapped flash":
0x00000000-0x00020000 : "cfe"
0x00020000-0x003f0000 : "linux"
0x00101904-0x002f0000 : "rootfs"
mtd: partition "rootfs" doesn't start on an erase block boundary -- force read-only
0x003f0000-0x00400000 : "nvram"
0x002f0000-0x003f0000 : "ddwrt"
sflash not supported on this router
Initializing Cryptographic API
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 1024 bind 2048)
ip_conntrack version 2.1 (512 buckets, 4096 max) - 336 bytes per conntrack
ip_tables: (C) 2000-2002 Netfilter core team
ipt_random match loaded
netfilter PSD loaded - (c) astaro AG
ipt_osf: Startng OS fingerprint matching module.
ipt_IPV4OPTSSTRIP loaded
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
All bugs added by David S. Miller <davem@redhat.com>
VFS: Mounted root (squashfs filesystem) readonly.
Mounted devfs on /dev
vlan0: add 01:00:5e:00:00:01 mcast address to master interface
vlan0: dev_set_promiscuity(master, 1)
device eth0 entered promiscuous mode
device vlan0 entered promiscuous mode
device eth1 entered promiscuous mode
device wl0.1 entered promiscuous mode
vlan1: add 01:00:5e:00:00:01 mcast address to master interface
vlan1: dev_set_promiscuity(master, 1)
device vlan1 entered promiscuous mode
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
PCI: Setting latency timer of device 00:03.0 to 64
usb-ohci.c: USB OHCI at membase 0xb8003000, IRQ 6
usb-ohci.c: usb-00:03.0, PCI device 14e4:471a
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 2 ports detected
usb.c: registered new driver usblp
printer.c: v0.13: USB Printer Device Class driver
hub.c: new USB device 00:03.0-1, assigned address 2
printer.c: usblp0: USB Bidirectional printer dev 2 if 1 alt 0 proto 2 vid 0x04E8 pid 0x341B
usb-ohci.c: OHCI Unrecoverable Error, controller usb-00:03.0 disabled
jdmulloy
DD-WRT Novice


Joined: 27 Apr 2008
Posts: 6

PostPosted: Thu May 01, 2008 5:05    Post subject: Reply with quote
After wrestling with this for a few days, it seems that using the ehci-hcd kernel module with ohci not loaded works without crashing.
bkmo
DD-WRT User


Joined: 18 Oct 2007
Posts: 385
Location: Grecia, Costa Rica

PostPosted: Thu May 01, 2008 12:25    Post subject: Reply with quote
jdmulloy wrote:
After wrestling with this for a few days, it seems that using the ehci-hcd kernel module with ohci not loaded works without crashing.

That makes sense because the Asus routers do not have an OHCI chipset. OHCI is there for the Linksys routers.
If I were you I would go back to the USB builds as the drivers are built on the current kernel. The modules for the ipk's are built on an older kernel. Shinji has surfaced again ans is going to work on synching his builds to the current svn source.
jdmulloy
DD-WRT Novice


Joined: 27 Apr 2008
Posts: 6

PostPosted: Fri May 02, 2008 0:04    Post subject: Reply with quote
Still getting the crash. I'm using only ehci-hcd.o and not uhci.o or ohci.o

I'm using the firmware provided in this thread. Does anyone else have this router? Does it work for you?

I'd really like to get more information from the router, but I can't because it crashes.
bkmo
DD-WRT User


Joined: 18 Oct 2007
Posts: 385
Location: Grecia, Costa Rica

PostPosted: Fri May 02, 2008 2:15    Post subject: Reply with quote
jdmulloy wrote:
Still getting the crash. I'm using only ehci-hcd.o and not uhci.o or ohci.o

I'm using the firmware provided in this thread. Does anyone else have this router? Does it work for you?

I'd really like to get more information from the router, but I can't because it crashes.


The modules that are loading probably are correct for your router. The code below is from cascades usb firmware for an asus wl500gp.
Code:

#!/bin/sh
insmod /lib/modules/2.4.30/usbcore.o
insmod /lib/modules/2.4.30/ehci-hcd.o
insmod /lib/modules/2.4.30/scsi_mod.o
insmod /lib/modules/2.4.30/usb-storage.o
insmod /lib/modules/2.4.30/sd_mod.o


As you can see he is not loading uhci, or ohci. This should be exactly the way the firmware that I posted is loading modules. Unless of course you check the uhci or ohci. Do an lsmod to make sure. I have a Lynksys and have to load the ohci for some devices. I have not seen your model yet to be able to give it a test.
jborn
DD-WRT Novice


Joined: 14 Apr 2008
Posts: 24

PostPosted: Mon May 05, 2008 18:06    Post subject: Reply with quote
First sorry for the long absence. I personally haven't gotten much further with this issue. I've set up the printer to be IP based, and can send it a test page. This basically locks up the printer. It starts to print, but never finishes printing the test page. Any ideas on what to try?
_________________
Five Network Appliances
ATT Uverse 3801HGV Residential Gateway
3 Netgear gigabyte switches
ASUS RT-AC68U
bkmo
DD-WRT User


Joined: 18 Oct 2007
Posts: 385
Location: Grecia, Costa Rica

PostPosted: Mon May 05, 2008 18:55    Post subject: Reply with quote
jborn wrote:
First sorry for the long absence. I personally haven't gotten much further with this issue. I've set up the printer to be IP based, and can send it a test page. This basically locks up the printer. It starts to print, but never finishes printing the test page. Any ideas on what to try?

I would try to see if your printer likes the p910nd daemon loaded without its bi-directional support. You can disable p910nd in the webui of the firmware and in a telnet session issue the command:
/sbin/p910nd -f /dev/usb/lp0 0

See how this works.
jborn
DD-WRT Novice


Joined: 14 Apr 2008
Posts: 24

PostPosted: Tue May 06, 2008 12:34    Post subject: Reply with quote
bkmo,

What are the steps I should take to try your last suggestion? I've done these:

Tried disabling the p910nd driver from the GUI and loaded the p910nd via telnet using the command you gave below. dmesg at that point did not recognize the printer.. Tried to do a test print.. no go.. cycled printer power. dmesg still did not recognize the printer. test print once again a no go.

I then enabled the p910nd driver via the GUI and rebooted the router. At that point the printer was recognized. No luck on the test print however. Tried to load the p910nd driver via your command and tried again. still no luck.

I'm probably missing something obvious, but can you list out the steps that should work?

Thanks

_________________
Five Network Appliances
ATT Uverse 3801HGV Residential Gateway
3 Netgear gigabyte switches
ASUS RT-AC68U
bkmo
DD-WRT User


Joined: 18 Oct 2007
Posts: 385
Location: Grecia, Costa Rica

PostPosted: Tue May 06, 2008 13:51    Post subject: Reply with quote
jborn wrote:
bkmo,

I'm probably missing something obvious, but can you list out the steps that should work?

Thanks

You must not be enabling the printer driver. You have to enable printer support and uncheck p910nd. Then load p910nd from the command line.
jborn
DD-WRT Novice


Joined: 14 Apr 2008
Posts: 24

PostPosted: Wed May 07, 2008 2:08    Post subject: Reply with quote
I just updated my settings. In the services UI I have the following:

After that I rebooting the router..

Next I loaded the p9100d. I had a print job queued that immediately started to print, but after about 1 inch printed everything stopped and the printer just flashes.

Any ideas?



USB Services Settings.jpg
 Description:
 Filesize:  27.19 KB
 Viewed:  13450 Time(s)

USB Services Settings.jpg



_________________
Five Network Appliances
ATT Uverse 3801HGV Residential Gateway
3 Netgear gigabyte switches
ASUS RT-AC68U
bkmo
DD-WRT User


Joined: 18 Oct 2007
Posts: 385
Location: Grecia, Costa Rica

PostPosted: Wed May 07, 2008 2:37    Post subject: Reply with quote
jborn wrote:
I had a print job queued that immediately started to print, but after about 1 inch printed everything stopped and the printer just flashes.

Any ideas?

P910ND is a non-spooling print daemon. There is no guarantee that it will even work with your printer. Try sending a small text file to the printer to see if that works. It may be that the job is too big, and without spooling the printer can't handle it. Cups is a better system for printing, but it uses more memory, and is too big to put in the firmware. Also it looks like you have an Asus router. I doubt it has an OHCI controller. Try disabling USB 1.1 OHCI module in the webui.
jborn
DD-WRT Novice


Joined: 14 Apr 2008
Posts: 24

PostPosted: Thu May 08, 2008 1:36    Post subject: Reply with quote
I updated to disable OHCI support and then tried to print a small text document that worked fine.

Trying to print the windows XP test page failed as usual.

Anything else I can try? Or can I only print small documents with this setup?

Thanks

_________________
Five Network Appliances
ATT Uverse 3801HGV Residential Gateway
3 Netgear gigabyte switches
ASUS RT-AC68U
bkmo
DD-WRT User


Joined: 18 Oct 2007
Posts: 385
Location: Grecia, Costa Rica

PostPosted: Thu May 08, 2008 3:12    Post subject: Reply with quote
jborn wrote:
I updated to disable OHCI support and then tried to print a small text document that worked fine.

Trying to print the windows XP test page failed as usual.

Anything else I can try? Or can I only print small documents with this setup?

Thanks

Looks like maybe the answer to your question is YES. P910nd does not spool to a printer, but sends all the data at once. It seems to me that your printer cannot handle all the data at once when you send a test page. I am not using my router with a printer attached, so I don't know if it works for me or not. Did the Asus firmware have printer support?
nickie
DD-WRT Novice


Joined: 14 Jul 2007
Posts: 35

PostPosted: Sat May 17, 2008 11:21    Post subject: Reply with quote
bkmo,

I've installed your firmware on my wl500gp and it's running great! I've only tried the printserver as I don't need the disk share stuff. It's a pitty it isn't upgraded to the latest RC7 release (9433 or similar), but it's working just fine for the last 24hrs.
Goto page Previous  1, 2, 3, 4  Next Display posts from previous:    Page 3 of 4
Post new topic   Reply to topic    DD-WRT Forum 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