2010/01/10(日)E5830にtelnet

先日からの続きでUK版E5830についていろいろメモしてみました。


イー・モバイルから出てるD25HWや、香港版E5830はわからないのですが、UK版E5830はtelnetで接続することができます。方法は簡単で、Enable the firewall のチェックをはずして、192.168.1.1にtelnetします。

login:root
passward:なし

この状態で3Gに接続するとWAN側からもアクセス可能になります



nblogの中の人はlinuxとかあまり詳しくないので、興味がある人向けにいくつかコマンド結果を貼っておきます。

~ # uname -a
Linux (none) 2.6.25 #1 PREEMPT Wed Aug 26 01:44:17 CST 2009 armv6l unknown


~ # cat /proc/cpuinfo
Processor       : ARMv6-compatible processor rev 2 (v6l)
BogoMIPS        : 383.38
Features        : swp half thumb fastmult edsp java
CPU implementer : 0x41
CPU architecture: 6TEJ
CPU variant     : 0x1
CPU part        : 0xb36
CPU revision    : 2
Cache type      : write-back
Cache clean     : cp15 c7 ops
Cache lockdown  : format C
Cache format    : Harvard
I size          : 32768
I assoc         : 4
I line length   : 32
I sets          : 256
D size          : 32768
D assoc         : 4
D line length   : 32
D sets          : 256

Hardware        : QCT SURF7X25
Revision        : 0000
Serial          : 0000000000000000


~ # dmesg
Initializing XFRM netlink socket
NET: Registered protocol family 1
NET: Registered protocol family 17
Bridge firewalling registered
Ebtables v2.0 registered
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
clock_late_init() disabled 20 unused clocks
rs30000061:00010001 rs30000061:00010001: setting system clock to 1970-01-01 13:
08:18 UTC (47298)
rmnet_open()
rmnet_open()
SMD: ch 11 CLOSED -> OPENING
SMD: ch 11 OPENING -> OPENED
rmnet_open()
rmnet_open()
SMD: ch 12 CLOSED -> OPENING
SMD: ch 12 OPENING -> OPENED
rmnet_open()
rmnet_open()
SMD: ch 13 CLOSED -> OPENING
SMD: ch 13 OPENING -> OPENED
IP-Config: Incomplete network configuration information.
rmnet_stop()
rmnet_stop()
rmnet_stop()
VFS: Mounted root (cramfs filesystem) readonly.
Freeing init memory: 104K
mount used greatest stack depth: 5708 bytes left
udevd used greatest stack depth: 5352 bytes left
yaffs: dev is 32505856 name is "mtdblock0"
yaffs: passed flags ""
yaffs: Attempting MTD mount on 31.0, "mtdblock0"
block 44 is bad
mount used greatest stack depth: 5028 bytes left
ISO 9660 Extensions: Microsoft Joliet Level 3
ISOFS: changing to secondary root

msmsdcc_probe id 1
mmc0: Qualcomm MSM SDCC at 0x00000000e1000000 irq 24,0 dma 8
mmc0: 4 bit data mode enabled
mmc0: MMC clock 144000 -> 49152000 Hz, PCLK 64000000 Hz
mmc0: DM non-cached buffer at ffc01000, dma_addr 0x01125000
mmc0: DM cmd busaddr 17977344, cmdptr busaddr 17978112
mmc0: Polling status mode enabled

msmsdcc_probe id 4
mmc1: Qualcomm MSM SDCC at 0x00000000e1003000 irq 50,0 dma 11
mmc1: 4 bit data mode enabled
mmc1: MMC clock 144000 -> 49152000 Hz, PCLK 64000000 Hz
mmc1: DM non-cached buffer at ffc02000, dma_addr 0x0115e000
mmc1: DM cmd busaddr 18210816, cmdptr busaddr 18211584
mmc1: Polling status mode enabled
diagchar: Unknown symbol diag_close
diagchar: Unknown symbol diag_read
diagchar: Unknown symbol diag_write
diagchar: Unknown symbol diag_usb_unregister
diagchar: Unknown symbol diag_open
diagchar: Unknown symbol diag_usb_register
SMD: ch 0 CLOSED -> OPENING
SMD: ch 0 OPENING -> OPENED
msm_hsusb_rpc_connect: rpc connect success vers = 10001
msm_chg_rpc_connect: rpc connect success vers = 10001
usb_set_composition: composition set to product id = 1446
phy info:(257)
usb_probe() io=c202c000, irq=47, dma=ffc03000(f78000)
Created the sysfs entry successfully
function name = diag, device name = mass_storage  index = 0
function name = mass_storage, device name = mass_storage  index = 1
usb_function_register: name = 'mass_storage',  map = 1
usb_set_composition: composition set to product id = 1446
msm_hsusb_is_serial_num_null: rpc call success
msm_hsusb_send_serial_number: rpc call success
msm_hsusb_send_productID: rpc call success
msm_hsusb: functions bound. starting.
usb_bind_func() (mass_storage)
mass_storage mass_storage: Number of LUNs=1
msm_hsusb_phy_reset
br0: Dropping NETIF_F_UFO since no NETIF_F_HW_CSUM feature.
usb_lpm_enter: usb in low power mode
hsusb: IDLE -> OFFLINE
smd_close(c16e5c00)
SMD: ch 0 CLOSED -> OPENING
SMD: ch 0 OPENING -> OPENED
device rmnet2 entered promiscuous mode
sigmap = 0x40000, vote = 0x20000, value = 0
sigmap = 0x40000, vote = 0x20000, value = 0
SMD: ch 38 CLOSED -> OPENING
SMD: ch 38 OPENING -> OPENED
usb_lpm_exit(): USB exited from low power mode
usb cable connected
SMD: ch 39 CLOSED -> OPENING
SMD: ch 39 OPENING -> OPENED
SMD: ch 40 CLOSED -> OPENING
SMD: ch 40 OPENING -> OPENED
msm_hsusb_phy_reset
hsusb suspend interrupt
sigmap = 0x40000, vote = 0x2, value = 1
sigmap = 0x40002, vote = 0x2, value = 1

*********** Charger Type: HOST PC

args->key_code = 166, 0xc3
msm_chg_usb_charger_connected
hsusb: IDLE -> ONLINE
hsusb resume: speed = HIGH
hsusb reset interrupt
usb_lpm_enter: phy suspend failed, lpm procedure aborted
msm_chg_usb_i_is_available
hsusb resume: speed = HIGH
hsusb reset interrupt
Registered the qmi_tty_driver !! <6>hsusb set_configuration wValue = 1 usbcmd = 80001
diag_configure() 1
gs_configure: Serial Function configured, high speed CDC-ACM config
eth_configure(1)
eth_set_config

=================================
[ INFO: inconsistent lock state ]
2.6.25 #1
---------------------------------
inconsistent {hardirq-on-W} -> {in-hardirq-W} usage.
sh/909 [HC1[1]:SC0[0]:HE0:SE1] takes:
 (&list->lock){+...}, at: [<c01ac5c4>] skb_queue_tail+0x24/0x50
{hardirq-on-W} state was registered at:
  [<c0068e38>] __lock_acquire+0x4f4/0xcf0
  [<c0069afc>] lock_acquire+0x68/0x80
  [<c026ebb4>] _spin_lock_bh+0x44/0x54
  [<c020d5c0>] udp_poll+0x58/0x10c
  [<c01a5128>] sock_poll+0x24/0x28
  [<c016f8a4>] bhalMonitorPollHook+0x20/0x58
  [<c00a4d94>] do_select+0x2a8/0x4d0
  [<c00a52e0>] sys_select+0x324/0x508
  [<c0022a20>] ret_fast_syscall+0x0/0x2c
  [<ffffffff>] 0xffffffff
irq event stamp: 461
hardirqs last  enabled at (460): [<c007ba60>] free_hot_cold_page+0x1ac/0x1e8
hardirqs last disabled at (461): [<c0022614>] __irq_svc+0x34/0x74
softirqs last  enabled at (407): [<c004b040>] __do_softirq+0xf0/0x104
softirqs last disabled at (386): [<c004b560>] irq_exit+0x5c/0xa4

other info that might help us debug this:
1 lock held by sh/909:
 #0:  (&mm->page_table_lock){--..}, at: [<c0085f98>] unmap_vmas+0x540/0x59c

stack backtrace:
[<c0027208>] (dump_stack+0x0/0x14) from [<c0067520>] (print_usage_bug+0x114/0x14c)
[<c006740c>] (print_usage_bug+0x0/0x14c) from [<c0067e64>] (mark_lock+0xe8/0x4d4)
[<c0067d7c>] (mark_lock+0x0/0x4d4) from [<c0068db0>] (__lock_acquire+0x46c/0xcf0)
[<c0068944>] (__lock_acquire+0x0/0xcf0) from [<c0069afc>] (lock_acquire+0x68/0x80)
[<c0069a94>] (lock_acquire+0x0/0x80) from [<c026ec68>] (_spin_lock_irqsave+0x4c/0x60)
 r7:c05eb79c r6:60000093 r5:c01ac5c4 r4:c0c5accc
[<c026ec1c>] (_spin_lock_irqsave+0x0/0x60) from [<c01ac5c4>] (skb_queue_tail+0x24/0x50)
 r6:c0c5accc r5:c0e634a0 r4:c0c5acc0
[<c01ac5a0>] (skb_queue_tail+0x0/0x50) from [<c01ca038>] (netlink_sendskb+0x1c/0x5c)
 r6:c0c5ac00 r5:00000018 r4:c0c5ac00
[<c01ca01c>] (netlink_sendskb+0x0/0x5c) from [<c01cae3c>] (netlink_unicast+0x29c/0x2c8)
 r5:c0e634a0 r4:00000000
[<c01caba0>] (netlink_unicast+0x0/0x2c8) from [<c01cec20>] (syswatch_nl_send+0x1fc/0x22c)
[<c01cea24>] (syswatch_nl_send+0x0/0x22c) from [<bf026c70>] (eth_configure+0x2b0/0x348 [g_ether_cdc_ecm])
[<bf0269c0>] (eth_configure+0x0/0x348 [g_ether_cdc_ecm]) from [<bf006120>] (set_configuration+0x6c/0x80 [msm_hsusb])
 r8:00000002 r7:00000081 r6:00000001 r5:00000005 r4:c0cc9800
[<bf0060b4>] (set_configuration+0x0/0x80 [msm_hsusb]) from [<bf00a010>] (usb_interrupt+0x954/0xcd8 [msm_hsusb])
 r6:c0cc9800 r5:00000000 r4:c0f5f8c0
[<bf0096bc>] (usb_interrupt+0x0/0xcd8 [msm_hsusb]) from [<c0072968>] (handle_IRQ_event+0x2c/0x68)
[<c007293c>] (handle_IRQ_event+0x0/0x68) from [<c00743d0>] (handle_level_irq+0xb8/0x120)
 r7:c033d674 r6:c0f5f8c0 r5:0000002f r4:c033d644
[<c0074318>] (handle_level_irq+0x0/0x120) from [<c0022048>] (__exception_text_start+0x48/0x64)
 r7:00000003 r6:00000000 r5:c033d644 r4:0000002f
[<c0022000>] (__exception_text_start+0x0/0x64) from [<c0022630>] (__irq_svc+0x50/0x74)
Exception stack(0xc113dce8 to 0xc113dd30)
dce0:                   00000001 c03a9b3c 00000001 c13dcb60 60000013 00000000
dd00: c113c000 00000000 c0c31d88 fffffffa 40018000 c113dd5c 00000000 c113dd30
dd20: c0068e74 c0069b08 80000013 ffffffff
 r6:c113c000 r5:e0000000 r4:ffffffff
[<c0069a94>] (lock_acquire+0x0/0x80) from [<c026eb60>] (_spin_lock+0x40/0x50)
 r7:40016000 r6:40018000 r5:c0085f98 r4:c0c6c2c8
[<c026eb20>] (_spin_lock+0x0/0x50) from [<c0085f98>] (unmap_vmas+0x540/0x59c)
 r5:c134f858 r4:00000000
[<c0085a58>] (unmap_vmas+0x0/0x59c) from [<c0088314>] (exit_mmap+0x68/0x134)
[<c00882ac>] (exit_mmap+0x0/0x134) from [<c0043470>] (mmput+0x50/0xcc)
 r8:c0c6c260 r7:c0c6c294 r6:c0c6c260 r5:c0c6c2e4 r4:c0c6c260
[<c0043420>] (mmput+0x0/0xcc) from [<c009bf64>] (flush_old_exec+0x430/0x6f4)
 r5:c13dcb60 r4:c0c6cbc0
[<c009bb34>] (flush_old_exec+0x0/0x6f4) from [<c00c92f8>] (load_elf_binary+0x57c/0x14c4)
[<c00c8d7c>] (load_elf_binary+0x0/0x14c4) from [<c009b2b8>] (search_binary_handler+0xf4/0x290)
[<c009b1c4>] (search_binary_handler+0x0/0x290) from [<c009c6ac>] (do_execve+0x120/0x180)
[<c009c58c>] (do_execve+0x0/0x180) from [<c0026280>] (sys_execve+0x3c/0x5c)
 r8:c0022bc8 r7:c1318000 r6:c113dfb0 r5:000732b4 r4:c1318000
[<c0026244>] (sys_execve+0x0/0x5c) from [<c0022a20>] (ret_fast_syscall+0x0/0x2c)
 r7:0000000b r6:000732b4 r5:000732dc r4:0007328c
msm_chg_usb_i_is_available
mass_storage mass_storage: config #1
device usb0 entered promiscuous mode
br0: port 2(usb0) entering learning state
br0: topology change detected, propagating
br0: port 2(usb0) entering forwarding state
get version
wenp:instance(0),type(0),reg(1),0xbf02ea60
QMUX svc 0 Version is 1.1
wenp:instance(0),type(1),reg(1),0xbf02ea94
QMUX svc 1 Version is 1.3
wenp:instance(0),type(2),reg(1),0xbf02eac8
QMUX svc 2 Version is 1.1
wenp:instance(0),type(3),reg(0),0xbf02eafc
wenp:instance(0),type(4),reg(0),0xbf02eb30
result tlv (0),error(0)
get client,0xc133600c
Got QMI_CTL get CLID command (svc = 2)<6>wenp:instance(0),type(2),reg(1),0xbf02eac8
Alloc clid 1 for service bf02fda8
Assigned client ID 1
result tlv (0),error(0)
dms request receive!<6>DMS No.1, with msg_id(33)
result tlv (0),error(0)
dms request receive!<6>DMS No.1, with msg_id(36)
result tlv (0),error(0)
release client ID,0xc133600c
Got QMI_CTL release CLID command (svc = 2, clid = 1)<6>wenp:instance(0),type(2),reg(1),0xbf02eac8
Dealloc service clid 1<6>result tlv (0),error(0)
get client,0xc133600c
Got QMI_CTL get CLID command (svc = 1)<6>wenp:instance(0),type(1),reg(1),0xbf02ea94
Alloc clid 1 for service bf02ed7c
Assigned client ID 1
result tlv (0),error(0)
set instance ID,0xc133600c
qmi_ctli_set_instance_id_p:0xc133600f!
Got QMI_CTL set instance command (instance = 0)<6>result tlv (0),error(0)
QMITTY is opened by 0 th devfs node
qmi_tty_write: in qmi_tty_write
qmi_tty_write: data len:18, buf[0]: 0x1;buf[1]: 0x11.
qmi_tty_write: memcpy  char[1]=, char[2]
qmi_wds_response_p: start.
qmi_wds_response_p: ok.
qmi_tty_write: qmi_wds_response_p ret == 0
qmi send REQ buffer to TTY
send_msg_to_user_space: <6>0x01 <6>0x18 <6>0x00 <6>0x00 <6>0x01 <6>0x01 <6>0x00 <6>0x03 <6>0x00 <6>0x01 <6>0x00 <6>0x0c <6>0x00 <6>0x10 <6>0x01 <6>0x00 <6>0x01 <6>0x11 <6>0x05 <6>0x00 <6>0x05 <6>0x3f <6>0x00 <6>0x00 <6>0x00 <6>
qmi send REQ buffer to TTY
send_msg_to_user_space: <6>0x01 <6>0x0c <6>0x00 <6>0x00 <6>0x01 <6>0x01 <6>0x00 <6>0x04 <6>0x00 <6>0x23 <6>0x00 <6>0x00 <6>0x00 <6>
qmi_tty_write: in qmi_tty_write
qmi_tty_write: data len:20, buf[0]: 0x1;buf[1]: 0x13.
qmi_tty_write: memcpy  char[1]=, char[2]
qmi_wds_response_p: start.
qmi_wds_response_p: ok.
qmi_tty_write: qmi_wds_response_p ret == 0
qmi_tty_write: in qmi_tty_write
qmi_tty_write: data len:39, buf[0]: 0x1;buf[1]: 0x26.
qmi_tty_write: memcpy  char[1]=, char[2]
qmi_wds_response_p: start.
qmi_wds_response_p: ok.
qmi_tty_write: qmi_wds_response_p ret == 0
dhcps uses obsolete (PF_INET,SOCK_PACKET)
get client,0xc133600c
Got QMI_CTL get CLID command (svc = 2)<6>wenp:instance(0),type(2),reg(1),0xbf02eac8
Alloc clid 2 for service bf02fda8
Assigned client ID 2
result tlv (0),error(0)
dms request receive!<6>DMS No.1, with msg_id(34)
result tlv (0),error(0)
get client,0xc133600c
Got QMI_CTL get CLID command (svc = 1)<6>wenp:instance(0),type(1),reg(1),0xbf02ea94
Alloc clid 2 for service bf02ed7c
Assigned client ID 2
result tlv (0),error(0)
qmi send REQ buffer to TTY
send_msg_to_user_space: <6>0x01 <6>0x0c <6>0x00 <6>0x00 <6>0x01 <6>0x02 <6>0x00 <6>0x02 <6>0x00 <6>0xf0 <6>0xf0 <6>0x00 <6>0x00 <6>
qmi_tty_write: in qmi_tty_write
qmi_tty_write: data len:24, buf[0]: 0x1;buf[1]: 0x17.
qmi_tty_write: memcpy  char[1]=, char[2]
qmi_wds_response_p: start.
qmi_wds_response_p: ok.
qmi_tty_write: qmi_wds_response_p ret == 0
args->key_code = 166, 0xc3
args->key_code = 166, 0xc3
release client ID,0xc133600c
Got QMI_CTL release CLID command (svc = 1, clid = 2)<6>wenp:instance(0),type(1),reg(1),0xbf02ea94
Dealloc service clid 2<6>result tlv (0),error(0)
release client ID,0xc133600c
Got QMI_CTL release CLID command (svc = 2, clid = 2)<6>wenp:instance(0),type(2),reg(1),0xbf02eac8
Dealloc service clid 2<6>result tlv (0),error(0)