#1 2009-09-07 22:09:35
WL-520GU 刷tomato 檔案共享問題
離線
#3 2009-09-09 21:05:00
Re: WL-520GU 刷tomato 檔案共享問題
這是dmesg的結果
root@unknown:/tmp/home/root# dmesg
CPU revision is: 00029029
Primary instruction cache 16kb, linesize 16 bytes (4
Primary data cache 16kb, linesize 16 bytes (2 ways)
Linux version 2.4.20 (root@tomato) (gcc version 3.2.3
s) #2 Mon Aug 17 21:02:06 EDT 2009
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 noinitrd con
CPU: BCM5354 rev 3 at 240 MHz
Calibrating delay loop... 198.24 BogoMIPS
Memory: 14372k/16384k available (1420k kernel code, 2
4k init, 0k highmem)
Dentry cache hash table entries: 2048 (order: 2, 1638
Inode cache hash table entries: 1024 (order: 1, 8192
Mount-cache hash table entries: 512 (order: 0, 4096 b
Buffer-cache hash table entries: 1024 (order: 0, 4096
Page-cache hash table entries: 4096 (order: 2, 16384
Checking for 'wait' instruction...  unavailable.
POSIX conformance testing by UNIFIX
PCI: no core
PCI: Fixing up bus 0
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.0
Initializing RT netlink socket
Starting kswapd
devfs: v1.12c (20020818) Richard Gooch (rgooch@atnf.c
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-08) with MANY_PO
abled
ttyS00 at 0xb8000300 (irq = 3) is a 16550A
ttyS01 at 0xb8000400 (irq = 0) is a 16550A
HDLC line discipline: version $Revision: 1.1.1.4 $, m
N_HDLC line discipline registered.
PPP generic driver version 2.4.2
Physically mapped flash: Found an alias at 0x400000 f
Physically mapped flash: Found an alias at 0x800000 f
Physically mapped flash: Found an alias at 0xc00000 f
Physically mapped flash: Found an alias at 0x1000000
Physically mapped flash: Found an alias at 0x1400000
Physically mapped flash: Found an alias at 0x1800000
Physically mapped flash: Found an alias at 0x1c00000
 Amd/Fujitsu Extended Query Table v1.1 at 0x0040
number of CFI chips: 1
Flash device: 0x400000 at 0x1c000000
Creating 5 MTD partitions on "Physically mapped flash
0x00000000-0x00020000 : "pmon"
0x00020000-0x003f0000 : "linux"
0x000cccb4-0x003d0000 : "rootfs"
0x003d0000-0x003f0000 : "jffs2"
0x003f0000-0x00400000 : "nvram"
sflash: found no supported devices
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 16384 buckets, 128Kby
TCP: Hash tables configured (established 1024 bind 20
Linux IP multicast router 0.06 plus PIM-SM
ip_conntrack version 2.1 (16384 buckets, 8192 max) -
ip_tables: (C) 2000-2002 Netfilter core team
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
NET4: Ethernet Bridge 008 for NET4.0
802.1Q VLAN Support v1.7 Ben Greear 
VFS: Mounted root (squashfs filesystem) readonly.
Mounted devfs on /dev
Freeing unused kernel memory: 64k freed
Algorithmics/MIPS FPU Emulator v1.5
ip_conntrack_pptp version 1.9 loaded
ip_nat_pptp version 1.5 loaded
ip_conntrack_rtsp v0.01 loading
ip_nat_rtsp v0.01 loading
eth0: Broadcom BCM47xx 10/100 Mbps Ethernet Controlle
eth1: Broadcom BCM4318 802.11 Wireless Controller 4.1
tomato_ct.c [Aug 17 2009 21:07:01]
JFFS version 1.3, (C) 1999, 2000  Axis Communications
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
USB20H fcr: 0x64
USB20H shim cr: 0x8f7
USB20H syn01 register : 0xfe00fe
USB20H syn03 register : 0x1
ehci_hcd 00:03.1: PCI device 14e4:471a
ehci_hcd 00:03.1: irq 6, pci mem b8003800
usb.c: new USB bus registered, assigned bus number 1
PCI: 00:03.1 PCI cache line size set incorrectly (0 b
g to 32
ehci_hcd 00:03.1: USB 0.0 enabled, EHCI 1.00, driver
hub.c: USB hub found
hub.c: 2 ports detected
usb-uhci.c: $Revision: 1.275 $ time 21:05:52 Aug 17 2
usb-uhci.c: High bandwidth mode enabled
usb-uhci.c: v1.275:USB Universal Host Controller Inte
USB20H fcr: 0x64
USB20H shim cr: 0x8f7
USB20H syn01 register : 0xfe00fe
USB20H syn03 register : 0x1
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 2
hub.c: USB hub found
hub.c: 2 ports detected
SCSI subsystem driver Revision: 1.00
Initializing USB Mass Storage driver...
usb.c: registered new driver usb-storage
USB Mass Storage support registered.
Journalled Block Device driver loaded
usb.c: registered new driver usblp
printer.c: v0.13: USB Printer Device Class driver
vlan0: dev_set_promiscuity(master, 1)
device eth0 entered promiscuous mode
device vlan0 entered promiscuous mode
device eth1 entered promiscuous mode
br0: port 2(eth1) entering learning state
br0: port 1(vlan0) entering learning state
br0: port 2(eth1) entering forwarding state
br0: topology change detected, propagating
br0: port 1(vlan0) entering forwarding state
br0: topology change detected, propagating
vlan1: Setting MAC address to  00 26 18 6a 8c b0.
ip_conntrack_rtsp.c: help_out: ip_conntrack_expect_re
hub.c: new USB device 00:03.1-1, assigned address 2
scsi0 : SCSI emulation for USB Mass Storage devices
  Vendor: Ut165     Model: USB2FlashStorage  Rev: 0.0
  Type:   Direct-Access                      ANSI SCS
Attached scsi disk sda at scsi0, channel 0, id 0, lun
SCSI device sda: 7897088 512-byte hdwr sectors (4043
Partition check:
 /dev/scsi/host0/bus0/target0/lun0: p1
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 2. Host: 0
SCSI device sda: 7897088 512-byte hdwr sectors (4043
 /dev/scsi/host0/bus0/target0/lun0: p1
MSDOS FS: IO charset utf8
FAT: Did not find valid FSINFO signature.
Found signature1 0xffffff8 signature2 0x7a sector=1. 
===
這是lsmod的結果
printer                12540   0 (unused)
vfat                   12732   1
fat                    39272   0 [vfat]
ext3                   75548   0 (unused)
jbd                    58672   0 [ext3]
ext2                   42688   0 (unused)
usb-storage            35208   1
sd_mod                 14180   2
scsi_mod               73032   2 [usb-storage sd_mod]
usb-ohci               21732   0 (unused)
ehci-hcd               31708   0 (unused)
usbcore                79288   1 [printer usb-storage usb-ohci ehci-hcd]
jffs                   43608   1
tomato_ct               1136   0 (unused)
wl                    895560   0 (unused)
et                     21656   0 (unused)
ip_nat_ftp              3712   0 (unused)
ip_conntrack_ftp        4936   1
ip_nat_rtsp             6656   0 (unused)
ip_conntrack_rtsp       6344   1
ip_nat_h323             2904   0 (unused)
ip_conntrack_h323       2888   1
ip_nat_pptp             2668   0 (unused)
ip_conntrack_pptp       3452   1
ip_nat_proto_gre        1888   0 (unused)
ip_conntrack_proto_gre    2792   0 [ip_nat_pptp ip_conntrack_pptp]
===
這是fdisk的結果
root@unknown:/tmp/home/root# fdisk
BusyBox v1.14.3 (2009-08-17 20:49:23 EDT) multi-call binary
Usage: fdisk [-ul] [-C CYLINDERS] [-H HEADS] [-S SECTORS] [-b SSZ] DISK
===
這是mount的結果
root@unknown:/tmp/home/root# mount
rootfs on / type rootfs (rw)
/dev/root on / type squashfs (ro)
none on /dev type devfs (rw)
/proc on proc type rw (0)
tmpfs on /tmp type tmpfs (rw)
/dev/mtdblock/3 on /jffs type jffs (rw,noatime,nodiratime)
usbdevfs on /proc/bus/usb type usbdevfs (rw)
/dev/discs/disc0/part1 on /tmp/mnt/JTFLASH type vfat (rw,noatime,nodev)
請大家幫忙看一下
離線
#5 2009-09-09 22:24:27
Re: WL-520GU 刷tomato 檔案共享問題
dmesg當中
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 2. Host: 0
SCSI device sda: 7897088 512-byte hdwr sectors (4043
 /dev/scsi/host0/bus0/target0/lun0: p1
MSDOS FS: IO charset utf8
FAT: Did not find valid FSINFO signature.
Found signature1 0xffffff8 signature2 0x7a sector=1.
我記得FAT格式, 有容量大小限制, 不知道是否此原因? 或許可重新分割小一點的FAT, 或考慮用ext2格式試試看.
是的, duke188兄說的沒錯.
離線
#7 2009-09-10 17:48:09
Re: WL-520GU 刷tomato 檔案共享問題
這是fdisk -l 的結果
root@unknown:/tmp/home/root# fdisk -l
Disk /dev/scsi/host0/bus0/target0/lun0/disc: 4043 MB, 4043309056 bytes
255 heads, 63 sectors/track, 491 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
                                 Device Boot      Start         End      Blocks
 Id System
/dev/scsi/host0/bus0/target0/lun0/part1   *           1         492     3948512+
  b Win95 FAT32
Partition 1 has different physical/logical endings:
     phys=(490, 254, 63) logical=(491, 145, 38)
各位再幫忙看看吧.
我記得FAT32是單一分區支持32GB的.而且我之前試過NTFS,不過好像這機器是Linux,tomato也不支持,所以才轉用FAT32.至於Ext2,我怕在Windows中讀寫要用其他軟件有點麻煩.
離線
相關討論主題
| 主題 | 回覆 | 點閱 | 最後發表 | 
|---|---|---|---|
| 
                                R8000 刷tomato wan的ipv6 ip取不到 作者 a0918750446
                             | 0 | 4787 | 2019-01-20 13:46:05 作者 a0918750446 | 
|  | 22 | 62629 | 2019-01-06 23:35:58 作者 ymchen22 | 
| 
                                RT-N16 刷tomato 無線偶爾無法連線請教 作者 wwk5124
                             | 6 | 27535 | 2018-10-15 14:20:32 作者 sasimy | 
| 
                                RT-N18U 刷tomato USB分享問題 作者 ahuatain
                             | 6 | 20972 | 2017-08-24 19:09:45 作者 2ipm1nd | 
| 0 | 6171 | 2016-05-28 16:00:39 作者 axisyou | 












