Skip to content

Instantly share code, notes, and snippets.

@hkwi
Created September 11, 2013 02:40
Show Gist options
  • Save hkwi/6518735 to your computer and use it in GitHub Desktop.
Save hkwi/6518735 to your computer and use it in GitHub Desktop.
# dmesg
ew driver cdc_acm
drivers/usb/class/cdc-acm.c: v0.23:USB Abstract Control Model driver for USB modems and ISDN adapters
hso: /home/snapshot/snapshot/snapshot_CS_Products/1.96_1.01_2013-07-25-05-28-JST_WZR-300HP-AP93/linux-2.6.15-ath-ap93/src/hso_26/hso.c: 1.12-Option Option Wireless
usbcore: registered new driver hso
SGI XFS with large block numbers, no debug enabled
change fat_tz_minuteswest = -540
OK1OK2mcsnoop: flush all snoop entry
mcsnoop: Bridge Multicast Snooping module Ver0.1/20070912
debug : Enter [BRCTL_ADD_RULE_IF]
add_if 00000200 ***************************
device eth0 entered promiscuous mode
br0: port 1(eth0) entering learning state
br0: topology change detected, propagating
br0: port 1(eth0) entering forwarding state
mcsnoop_br_ioctl_device:239: mcast_maxage 300000 / 1000
sxuptp: sxuptp_keepalive_thread start
usbcore: registered new driver sxuptp_driver
jcpcore: start
jcp_command_register: new command registered GET USB_PORT_NAME
jcp_command_register: new command registered GET SCANNER PORT_NAME
jcp_command_register: new command registered GET SCANNER_STATUS
jcp_command_register: new command registered GET USB_DEVICE_LIST
jcp_command_register: new command registered EXEC SCANNER CONNECT
jcp_command_register: new command registered EXEC SCANNER DISCONNECT
s16 enet1 port1 up
et1: unit 1: phy 1 is up...
AG7240: enet WAN unit:0 is up. AG7240: done cfg2 0x7215 ifctl 0x0 miictrl
Vendor: SMI Model: USB DISK Rev: 1100
Type: Direct-Access ANSI SCSI revision: 04
SCSI device sda: 15665152 512-byte hdwr sectors (8021 MB)
sda: Write Protect is off
sda: Mode Sense: 43 00 00 00
sda: assuming drive cache: write through
SCSI device sda: 15665152 512-byte hdwr sectors (8021 MB)
sda: Write Protect is off
sda: Mode Sense: 43 00 00 00
sda: assuming drive cache: write through
sda: sda1
sd 0:0:0:0: Attached scsi removable disk sda
usb-storage: device scan complete
set Buffalo Capability = 00000009
ath0: WDS Proirity mask Enable prio:3
ath1: WDS Proirity mask Enable prio:3
ath4: WDS Proirity mask Enable prio:3
ath3: WDS Proirity mask Enable prio:3
debug : Enter [BRCTL_ADD_RULE_IF]
add_if 00000100 ***************************
device ath0 entered promiscuous mode
ar5416Reset... v12 Calling RESET
Entry to ar5416Set11nMac2040.. Reg setting 0 fixed 0 noisy 0
ar5416Set11nMac2040.. Reg setting 0
thresh62=33, thresh62_ext=33
RESETTING ANI
br0: port 2(ath0) entering learning state
ar5416Reset... v12 Calling RESET
ar5416GetNf: NF did not complete in calibration window
Entry to ar5416Set11nMac2040.. Reg setting 0 fixed 0 noisy 0
ar5416Set11nMac2040.. Reg setting 0
thresh62=33, thresh62_ext=33
RESETTING ANI
br0: topology change detected, propagating
br0: port 2(ath0) entering forwarding state
ar5416Reset... v12 Calling RESET
Entry to ar5416Set11nMac2040.. Reg setting 0 fixed 0 noisy 0
ar5416Set11nMac2040.. Reg setting 0
thresh62=33, thresh62_ext=33
RESETTING ANI
ar5416Reset... v12 Calling RESET
Entry to ar5416Set11nMac2040.. Reg setting 0 fixed 0 noisy 0
ar5416Set11nMac2040.. Reg setting 0
thresh62=33, thresh62_ext=33
RESETTING ANI
ar5416Reset... v12 Calling RESET
Entry to ar5416Set11nMac2040.. Reg setting 0 fixed 0 noisy 0
ar5416Set11nMac2040.. Reg setting 0
thresh62=33, thresh62_ext=33
RESETTING ANI
ar5416Reset... v12 Calling RESET
Entry to ar5416Set11nMac2040.. Reg setting 0 fixed 0 noisy 0
ar5416Set11nMac2040.. Reg setting 0
thresh62=33, thresh62_ext=33
RESETTING ANI
ar5416Reset... v12 Calling RESET
Entry to ar5416Set11nMac2040.. Reg setting 0 fixed 0 noisy 0
ar5416Set11nMac2040.. Reg setting 0
thresh62=33, thresh62_ext=33
RESETTING ANI
ar5416Reset... v12 Calling RESET
Entry to ar5416Set11nMac2040.. Reg setting 0 fixed 0 noisy 0
ar5416Set11nMac2040.. Reg setting 0
thresh62=33, thresh62_ext=33
RESETTING ANI
ar5416Reset... v12 Calling RESET
Entry to ar5416Set11nMac2040.. Reg setting 0 fixed 0 noisy 0
ar5416Set11nMac2040.. Reg setting 0
thresh62=33, thresh62_ext=33
RESETTING ANI
ar5416Reset... v12 Calling RESET
Entry to ar5416Set11nMac2040.. Reg setting 0 fixed 0 noisy 0
ar5416Set11nMac2040.. Reg setting 0
thresh62=33, thresh62_ext=33
RESETTING ANI
ar5416Reset... v12 Calling RESET
Entry to ar5416Set11nMac2040.. Reg setting 0 fixed 0 noisy 0
ar5416Set11nMac2040.. Reg setting 0
thresh62=33, thresh62_ext=33
RESETTING ANI
ar5416Reset... v12 Calling RESET
Entry to ar5416Set11nMac2040.. Reg setting 0 fixed 0 noisy 0
ar5416Set11nMac2040.. Reg setting 0
thresh62=33, thresh62_ext=33
RESETTING ANI
ar5416Reset... v12 Calling RESET
Entry to ar5416Set11nMac2040.. Reg setting 0 fixed 0 noisy 0
ar5416Set11nMac2040.. Reg setting 0
thresh62=33, thresh62_ext=33
RESETTING ANI
et1: unit 1: phy 1 not up carrier
ar5416Reset... v12 Calling RESET
Entry to ar5416Set11nMac2040.. Reg setting 0 fixed 0 noisy 0
ar5416Set11nMac2040.. Reg setting 0
thresh62=33, thresh62_ext=33
RESETTING ANI
ch01: 24 pt
ch02: 31 pt
ch03: 24 pt
ch04: 25 pt
ch05: 23 pt
ch06: 9 pt
ch07: 18 pt
ch08: 9 pt
ch09: 3 pt
ch10: 6 pt
ch11: 3 pt
ch01: 56 pt ->Ch 1: 56
ch02: 66 pt ->Ch 2: 66
ch03: 62 pt ->Ch 3: 62
ch04: 57 pt ->Ch 4: 57
ch05: 49 pt ->Ch 5: 49
ch06: 37 pt ->Ch 6: 37
ch07: 31 pt ->Ch 7: 31
ch08: 22 pt ->Ch 8: 22
ch09: 14 pt ->Ch 9: 14
ch10: 11 pt ->Ch 10: 11
ch11: 9 pt ->Ch 11: 9
ch12: 9 pt ->PASS
ch13: 6 pt ->PASS
[20M]
ap_chansel_end: find channel 11 ch [00090080]
Country ie is JP
ar5416Reset... v12 Calling RESET
Entry to ar5416Set11nMac2040.. Reg setting 0 fixed 0 noisy 0
ar5416Set11nMac2040.. Reg setting 0
thresh62=33, thresh62_ext=33
RESETTING ANI
ath_beacon_config.Configured SWBA :6,DMA resp time:4 for slotDur:100
__ieee80211_newstate:Switching to 20 mode
netwatchd uses obsolete (PF_INET,SOCK_PACKET)
ip_conntrack_pptp version 3.1 loaded
ip_nat_pptp version 3.0 loaded
mcsnoop_br_ioctl_device:239: mcast_maxage 300000 / 1000
set Buffalo Capability = 00000009
set Buffalo Capability = 00000009
set Buffalo Capability = 00000009
set Buffalo Capability = 00000009
debug : Enter [BRCTL_ADD_IF]
FAT: utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive!
FAT: utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive!
led_mask_11g_chip:f0
reg:000000B0 [CC35CC35 --> CC35CC35]
reg:000000B4 [CA35CA35 --> CA35CA35]
reg:000000B8 [C935C935 --> C935C935]
s16 enet1 port1 up
et1: unit 1: phy 1 is up...
AG7240: enet WAN unit:0 is up. AG7240: done cfg2 0x7215 ifctl 0x0 miictrl
mcsnoop_br_ioctl_device:239: mcast_maxage 300000 / 1000
set Buffalo Capability = 00000009
set Buffalo Capability = 00000009
set Buffalo Capability = 00000009
set Buffalo Capability = 00000009
debug : Enter [BRCTL_ADD_IF]
ip_nat_pptp version 3.0 unloaded
ip_conntrack_pptp version 3.1 unloaded
ip_conntrack_pptp version 3.1 loaded
ip_nat_pptp version 3.0 loaded
FAT: utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive!
FAT: utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive!
hub 1-0:1.0: state 5 ports 1 chg 0000 evt 0002
ar7240-ehci ar7240-ehci.0: GetStatus port 1 status c00100a POWER sig=se0 PEC CSC
hub 1-0:1.0: port 1, status 0100, change 0003, 12 Mb/s
usb 1-1: USB disconnect, address 2
usb 1-1: usb_disable_device nuking all URBs
usb 1-1: unregistering interface 1-1:1.0
usb 1-1:1.0: hotplug
usb 1-1: unregistering device
usb 1-1: hotplug
hub 1-0:1.0: debounce: port 1: total 100ms stable 100ms status 0x100
# cat /proc/mtd
dev: size erasesize name
mtd0: 00040000 00010000 "uboot"
mtd1: 00010000 00010000 "uboot_environ"
mtd2: 00010000 00010000 "ART"
mtd3: 00100000 00010000 "linux"
mtd4: 01e50000 00010000 "rootfs"
mtd5: 00010000 00010000 "panic_info"
mtd6: 00040000 00010000 "user_property"
mtd7: 01f50000 00010000 "firmware"
# cat /proc/cpuinfo
system type : Atheros AR7240 (Python)
processor : 0
cpu model : MIPS 24K V7.4
BogoMIPS : 265.21
wait instruction : yes
microsecond timers : yes
tlb_entries : 16
extra interrupt vector : yes
hardware watchpoint : yes
ASEs implemented : mips16
VCED exceptions : not available
VCEI exceptions : not available
# ubootenv list
bootargs=console=ttyS0,115200 root=31:03 rootfstype=jffs2 init=/sbin/init mtdparts=ar7240-nor0:256k(u-boot),64k(u-boot-env),1152k@384k(uImage),6592k@1536k(rootfs),64k@320k(ART),64k@8128k(properties)
bootcmd=bootm BF060000
baudrate=115200
ethaddr=02:AA:BB:CC:DD:1A
ipaddr=192.168.11.1
serverip=192.168.11.2
tmp_ram=81F00000
tmp_bottom=83F00000
fw_eaddr=BF060000 BEFFFFFF
uboot_eaddr=BF000000 BF03FFFF
u_fw=erase $fw_eaddr; cp.fw $fileaddr BF060000 $filesize; bootm BF060000;
ut_fw=tftp $tmp_ram firmware.bin; erase $fw_eaddr; cp.fw $fileaddr BF060000 $filesize; bootm BF060000;
ut_uboot=tftp $tmp_ram u-boot.bin; protect off $uboot_eaddr; erase $uboot_eaddr; cp.b $fileaddr BF000000 $filesize;
melco_id=RD_BB10085
hw_rev=4
tftp_wait=4
uboot_ethaddr=02:AA:BB:CC:DD:1A
DEF-p_wireless_ath0_11bg-authmode=psk
DEF-p_wireless_ath0_11bg-crypto=tkip+aes
DEF-p_wireless_ath0_11bg-authmode_ex=mixed-psk
product_rev=1
custom_id=0
buf_ver=1.11
build_date=Feb 9 2012 - 19:38:20
pincode=33438931
DEF-p_wireless_ath0_11bg-wpapsk=31j8j9d9as2sg
tmp_uart=1
stdin=serial
stdout=serial
stderr=serial
buf_crc=9D641506
accept_open_rt_fmt=1
region=JP
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment