數位天堂

Nokia:科技始終來自於人性; 拜耳:如果文明不能使我們更相愛,那科技便失去意義!
歡迎您的加入,讓我們一起討論科技與環保的整合應用...

您尚未登入。

#1 2009-09-07 22:09:35

orphank
新生
註冊日期: 2009-08-11
文章數: 5
目前積分 :   

WL-520GU 刷tomato 檔案共享問題

我用Asus Wl520gu 刷了Tomato Firmware v1.25.8634 ND USB Ext
然後把FAT32 4GB 的USB隨身碟插入USB接口.
在tomato的 USB Support裡都設定好,而且己經把它掛載到/mnt
也設定了/mnt/disc0_1 是可讀可寫的.
而我用WinXP 經Lan 連入路由器,進入了掛載的目錄, 見到它是總空間4GB,但可用空間為0,(我的USB中是沒有檔案的.),當拖放檔案至此會彈出"磁碟己滿" .
怎麼辦呢?
請各位幫個忙解決吧.




離線

 

#2 2009-09-07 23:55:03

hippo
天使
註冊日期: 2008-10-07
文章數: 1562
目前積分 :   20 

Re: WL-520GU 刷tomato 檔案共享問題

請發文至正確版面.

基本上, 使用外接式USB硬碟的檢查命令:
dmesg: 檢查USB硬碟是否被偵測到.
lsmod: 檢查USB, 磁碟檔案格式的核心模組是否載入.
fdisk: 檢查磁碟分割表.
mount: 檢查磁碟掛載.

建議您列出檢查結果, 網友們也比較容易幫您出些主意.



離線

 

#3 2009-09-09 21:05:00

orphank
新生
註冊日期: 2009-08-11
文章數: 5
目前積分 :   

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)


請大家幫忙看一下


離線

 

#4 2009-09-09 21:59:01

duke188
祭司
註冊日期: 2008-11-18
文章數: 168
目前積分 :   

Re: WL-520GU 刷tomato 檔案共享問題

別只下 fdisk, 應該要加上 -l 參數吧?



https://www.speedtest.net/result/3014568714.png

離線

 

#5 2009-09-09 22:24:27

hippo
天使
註冊日期: 2008-10-07
文章數: 1562
目前積分 :   20 

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兄說的沒錯.



離線

 

#6 2009-09-09 23:43:34

hannahmo
天使
註冊日期: 2009-09-02
文章數: 392
目前積分 :   

Re: WL-520GU 刷tomato 檔案共享問題

FAt16單一分割區上限2G
FAT32單一分割區上限32G
NTFS和LINUX用的EXT3..
基本上好像無限制..



https://digiland.tw/uploads/2345_head.jpg

離線

 

#7 2009-09-10 17:48:09

orphank
新生
註冊日期: 2009-08-11
文章數: 5
目前積分 :   

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中讀寫要用其他軟件有點麻煩.


離線

 

#8 2009-09-11 00:08:31

hippo
天使
註冊日期: 2008-10-07
文章數: 1562
目前積分 :   20 

Re: WL-520GU 刷tomato 檔案共享問題

試試看寫入到/tmp/mnt/JTFLASH


離線

 

#9 2009-09-11 21:51:30

orphank
新生
註冊日期: 2009-08-11
文章數: 5
目前積分 :   

Re: WL-520GU 刷tomato 檔案共享問題

在XP網路上的芳鄰能找到,也可以讀取裡面的檔案,就是當寫入時會出現"磁碟己滿".


離線

 

#10 2009-09-12 01:08:57

hippo
天使
註冊日期: 2008-10-07
文章數: 1562
目前積分 :   20 

Re: WL-520GU 刷tomato 檔案共享問題

telnet進入後, 可先試試將文件寫入到/tmp/mnt/JTFLASH, 也就是您mount的分割區. 如果能正確的讀寫刪除, 再檢查samba設定檔.


離線

 

相關討論主題

主題 回覆 點閱 最後發表
0 3947 2019-01-20 13:46:05 作者 a0918750446
22 54214 2019-01-06 23:35:58 作者 ymchen22
6 24533 2018-10-15 14:20:32 作者 sasimy
6 18096 2017-08-24 19:09:45 作者 2ipm1nd
0 5357 2016-05-28 16:00:39 作者 axisyou

友情連結

論壇頁尾

Powered by PunBB
© Copyright 2018 Rickard Andersson
RSS Feed