#1 2008-11-18 22:24:25
WL500GP 刷DDWRT USB已经驱动,如何挂硬盘呀?
~# dmesg
CPU revision is: 00029006
Linux version 2.4.35 (root@dd-wrt) (gcc version 3.4.4 (OpenWrt-2.0)) #2715 Sat Nov 24 17:38:59 CET 2007
Setting the PFC to its default value
Determined physical RAM map:
memory: 02000000 @ 00000000 (usable)
On node 0 totalpages: 8192
zone(0): 8192 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200
CPU: BCM4704 rev 8 at 264 MHz
Using 132.000 MHz high precision timer.
Calibrating delay loop... 262.96 BogoMIPS
Dentry cache hash table entries: 4096 (order: 3, 32768 bytes)
Inode cache hash table entries: 2048 (order: 2, 16384 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: 8192 (order: 3, 32768 bytes)
Checking for 'wait' instruction... unavailable.
POSIX conformance testing by UNIFIX
PCI: Initializing host
PCI: Fixing up bus 0
PCI: Fixing up bridge
PCI: Setting latency timer of device 01:00.0 to 64
PCI: Fixing up bus 1
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-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI enabled
ttyS00 at 0xb8000300 (irq = 3) is a 16550A
ttyS01 at 0xb8000400 (irq = 3) is a 16550A
Software Watchdog Timer: 0.05, timer margin: 60 sec
PCI: Setting latency timer of device 00:01.0 to 64
PCI: Setting latency timer of device 00:02.0 to 64
Universal TUN/TAP device driver 1.5 (C)1999-2002 Maxim Krasnyansky
Physically mapped flash: Found an alias at 0x800000 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 0x1800000 for the chip at 0x0
Amd/Fujitsu Extended Query Table v1.3 at 0x0040
number of CFI chips: 1
cfi_cmdset_0002: Disabling fast programming due to code brokenness.
Flash device: 0x800000 at 0x1c000000
bootloader size: 262144
Physically mapped flash: Filesystem type: squashfs, size=0x3a4d6a
Creating 5 MTD partitions on "Physically mapped flash":
0x00000000-0x00040000 : "cfe"
0x00040000-0x007f0000 : "linux"
0x000c97b0-0x00470000 : "rootfs"
mtd: partition "rootfs" doesn't start on an erase block boundary -- force read-only
0x007f0000-0x00800000 : "nvram"
0x00470000-0x007f0000 : "ddwrt"
Initializing Cryptographic API
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 2048 bind 4096)
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
All bugs added by David S. Miller
VFS: Mounted root (squashfs filesystem) readonly.
Mounted devfs on /dev
PCI: Setting latency timer of device 01:02.0 to 64
PCI: Enabling device 01:02.0 (0004 -> 0006)
eth2: Broadcom BCM4318 802.11 Wireless Controller 4.80.56.0
JFFS2 version 2.1. (C) 2001 Red Hat, Inc., designed by Axis Communications AB.
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 eth2 entered promiscuous mode
device wds0.1 entered promiscuous mode
vlan1: Setting MAC address to 00 1a 92 7e 23 c0.
vlan1: add 01:00:5e:00:00:01 mcast address to master interface
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
PCI: Enabling device 01:03.2 (0000 -> 0002)
ehci_hcd 01:03.2: PCI device 1106:3104
ehci_hcd 01:03.2: irq 2, pci mem c00f3000
usb.c: new USB bus registered, assigned bus number 1
EHCI: Enabling VIA 6212 workarounds
ehci_hcd 01:03.2: USB 2.0 enabled, EHCI 1.00, driver 2003-Dec-29/2.4
hub.c: USB hub found
hub.c: 4 ports detected
uhci.c: USB Universal Host Controller Interface driver v1.1
PCI: Enabling device 01:03.0 (0000 -> 0001)
uhci.c: USB UHCI at I/O 0x100, IRQ 2
usb.c: new USB bus registered, assigned bus number 2
hub.c: USB hub found
hub.c: 2 ports detected
PCI: Enabling device 01:03.1 (0000 -> 0001)
uhci.c: USB UHCI at I/O 0x120, IRQ 2
SCSI subsystem driver Revision: 1.00
usb.c: new USB bus registered, assigned bus number 3
hub.c: USB hub found
hub.c: 2 ports detected
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:4715
usb.c: new USB bus registered, assigned bus number 4
hub.c: USB hub found
hub.c: 2 ports detected
usb-uhci.c: $Revision: 1.275 $ time 13:18:16 Feb 3 2007
usb-uhci.c: High bandwidth mode enabled
usb-uhci.c: v1.275:USB Universal Host Controller Interface driver
Linux video capture interface: v1.00
usb-uhci.c: $Revision: 1.275 $ time 13:18:16 Feb 3 2007
usb-uhci.c: High bandwidth mode enabled
usb-uhci.c: v1.275:USB Universal Host Controller Interface driver
Initializing USB Mass Storage driver...
usb.c: registered new driver usb-storage
USB Mass Storage support registered.
hub.c: new USB device 01:03.2-2, assigned address 2
scsi0 : SCSI emulation for USB Mass Storage devices
Vendor: ST68022C Model: F Rev: 3.01
Type: Direct-Access ANSI SCSI revision: 02
usb.c: registered new driver usblp
printer.c: v0.13: USB Printer Device Class driver
Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
SCSI device sda: 15625008 512-byte hdwr sectors (8000 MB)
Partition check:
/dev/scsi/host0/bus0/target0/lun0:<6>pwc Philips webcam module version 9.0.2 loaded.
pwc Supports Philips PCA645/646, PCVC675/680/690, PCVC720[40]/730/740/750 & PCVC830/840.
pwc Also supports the Askey VC010, various Logitech Quickcams, Samsung MPC-C10 and MPC-C30,
pwc the Creative WebCam 5 & Pro Ex, SOTEC Afina Eye and Visionite VCS-UC300 and VCS-UM100.
usb.c: registered new driver Philips webcam
CIFS: Unknown mount option
CIFS VFS: Error connecting to IPv4 socket. Aborting operation
CIFS VFS: cifs_mount failed w/return code = -146
pwc Philips webcam decompressor routines version 9.0-BETA-2
pwc Supports all cameras supported by the main module (pwc).
pwc Adding decompressor for model 645.
pwc Adding decompressor for model 646.
pwc Adding decompressor for model 675.
pwc Adding decompressor for model 680.
pwc Adding decompressor for model 690.
pwc Adding decompressor for model 720.
pwc Adding decompressor for model 730.
pwc Adding decompressor for model 740.
pwc Adding decompressor for model 750.
p1
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 2
hub.c: new USB device 01:03.0-1, assigned address 2
Journalled Block Device driver loaded
usb.c: USB device 2 (vend/prod 0xac8/0x301b) is not claimed by any active driver.
usb.c: registered new driver spca5xx
drivers/usb/spca5xx.c: USB SPCA5XX camera found. Type Vimicro Zc301P 0x301b
drivers/usb/spca5xx.c: [spca5xx_probe:5480] Camera type JPEG
drivers/usb/zc3xx.h: [zc3xx_config:558] Find Sensor HV7131R(c)
drivers/usb/spca5xx.c: [spca5xx_getcapability:1765] maxw 640 maxh 480 minw 176 minh 144
drivers/usb/spca5xx.c: spca5xx driver 00.60.00 registered
usb.c: registered new driver ov51x
ov51x.c: v1.65-1.12-mark : ov51x USB Camera Driver
ov511_decomp.c: v1.6 : OV511 Decompression Module
ov518_decomp.c: v1.3 : OV518 Decompression Module
usb.c: registered new driver quickcam
CIFS: Unknown mount option
CIFS VFS: Error connecting to IPv4 socket. Aborting operation
CIFS VFS: cifs_mount failed w/return code = -146
drivers/usb/spca5xx.c: [spca50x_isoc_irq:1506] Non-zero status (-63) in isoc completion handler.
離線
#4 2010-08-09 10:00:01
Re: WL500GP 刷DDWRT USB已经驱动,如何挂硬盘呀?
hippo大大,我有參考你的教學,但是USB就是掛不上去,可以幫我看一下到底是什麼問題嗎???
底下是dmesg的訊息,2G的USB有驅動。
usb-storage: device found at 2
usb-storage: waiting for device to settle before scanning
scsi 0:0:0:0: Direct-Access NEXS iFlash PMAP PQ: 0 ANSI: 0 CCS
sd 0:0:0:0: [sda] 4015104 512-byte hardware sectors (2056 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 23 00 00 00
sd 0:0:0:0: [sda] Assuming drive cache: write through
sd 0:0:0:0: [sda] 4015104 512-byte hardware sectors (2056 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 23 00 00 00
sd 0:0:0:0: [sda] Assuming drive cache: write through
/dev/scsi/host0/bus0/target0/lun0: p1
sd 0:0:0:0: [sda] Attached SCSI removable disk
usb-storage: device scan complete
看起來是已經驅動了,但是fdisk -l 沒有東西出現,df也沒有看到。
root@ASKEY:/# df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/root 5760 5760 0 100% /
/dev/mtdblock/4 832 468 364 56% /jffs
root@ASKEY:/# lsmod
Module Size Used by
nf_nat_pptp 4096 0
nf_conntrack_pptp 4096 1 nf_nat_pptp
nf_nat_proto_gre 4096 1 nf_nat_pptp
nf_conntrack_proto_gre 4096 1 nf_conntrack_pptp
jffs2 86016 1
etherip 8192 0
usblp 12288 0
msdos 8192 0
vfat 12288 0
fat 45056 2 msdos,vfat
nls_utf8 4096 0
nls_iso8859_2 4096 0
nls_iso8859_1 4096 0
nls_cp437 8192 0
nls_base 8192 6 vfat,fat,nls_utf8,nls_iso8859_2,nls_iso8859_1,nls_cp437
ext3 106496 0
jbd 57344 1 ext3
ext2 40960 0
mbcache 8192 1 ext3
usb_storage 32768 0
sd_mod 20480 0
scsi_wait_scan 416 0
scsi_mod 73728 3 usb_storage,sd_mod,scsi_wait_scan
ohci_hcd 16384 0
uhci_hcd 20480 0
ehci_hcd 32768 0
usbcore 106496 6 usblp,usb_storage,ohci_hcd,uhci_hcd,ehci_hcd
root@ASKEY:/#
root@ASKEY:/# mount
rootfs on / type rootfs (rw)
/dev/root on / type squashfs (ro)
none on /dev type devfs (rw)
proc on /proc type proc (rw)
ramfs on /tmp type ramfs (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw)
devpts on /proc/bus/usb type usbfs (rw)
/dev/mtdblock/4 on /jffs type jffs2 (rw)
小弟是新手,不曉得發生什麼事了,麻煩大大指導指導。
離線
相關討論主題
主題 | 回覆 | 點閱 | 最後發表 |
---|---|---|---|
VPN on WL500GP? 作者 moby
|
8 | 30270 | 2015-05-05 14:49:00 作者 ffrr |
wl500gp 若當成 hub 用要怎麼連到internet? 作者 changenhsin
|
1 | 8683 | 2012-06-24 12:51:10 作者 hippo |
WL500gP 光世代 50M 不給力? 作者 oldhan
|
2 | 12949 | 2011-02-16 10:51:39 作者 oldhan |
WL500gp 加裝 Samba 3.2.14-1 作者 vifung
|
2 | 13318 | 2009-08-30 21:41:48 作者 hippo |
WL500GP DHCP设置求教!!! 作者 ljr781
|
6 | 22781 | 2008-12-09 00:13:45 作者 hsyah |