getting into Yoggie Open Firewall SOHO

After installing and uninstalling the Yoggie siftware, the network drivers are already on my Vista. Now I’m trying to get closer to the SOHO Open firewall. When connected with USB, it also responds to SSH at root@172.16.0.1, with the same password “yoggie”.

I managed to remove the front cover (the one with blue LEDs), and the PCB is visible inside. To the moment I haven’t managed to take the PCB out. I’m really curious if I can get to the console UART.

In /lib/modules, one can find the MMC drivers, so there is a chance to get the SD card slot working.

In /etc/modules, there are actually two lines for uncommenting to enable the SD card:

# MMC support -- comment out the next two lines to enable CF
#mmc_block
#pxamci

After uncommenting the above and running /etc/init.d/rc.modules, the following messages were added to dmesg:

yoggie_mci_setpower: on
yoggie_mci_setpower: on
mmcblk0: mmc0:b368 SD    1981440KiB
 mmcblk0:<3>mmcblk0: error 2 transferring data
end_request: I/O error, dev mmcblk0, sector 0
Buffer I/O error on device mmcblk0, logical block 0
mmcblk0: error 1 sending read/write command
end_request: I/O error, dev mmcblk0, sector 0
Buffer I/O error on device mmcblk0, logical block 0
 unable to read partition table

It has seen the size of my SD card (YUPPIE!!), but somehow failed to read the data. Not enough power? let’s try the power supply which I wasn’t bored to used till now.

Rebooting with the external power supply…. and now my PC cannot acquire a DHCP address from Yoggie!

Removed the SD card, and now it’s reachable again…

Inserted the SD card, and dmesg shows the same I/O errors. This SD card is easily and reliably readable from other devices, so I consider that the kernel support for SD cards in the current SOHO firewall is broken.

The original dmesg follows:

# dmesg
Linux version 2.6.16.16 (root@ubuntu) (gcc version 3.4.4) #364 PREEMPT Sun Mar 18 09:17:25 UTC 2007
CPU: XScale-PXA270 [69054117] revision 7 (ARMv5TE)
Machine: Yoggie Board
Memory policy: ECC disabled, Data cache writeback
On node 0 totalpages: 32768
  DMA zone: 32768 pages, LIFO batch:7
  DMA32 zone: 0 pages, LIFO batch:0
  Normal zone: 0 pages, LIFO batch:0
  HighMem zone: 0 pages, LIFO batch:0
Run Mode clock: 208.00MHz (*16)
Turbo Mode clock: 416.00MHz (*2.0, active)
Memory clock: 208.00MHz (/2)
System bus clock: 208.00MHz
CPU0: D VIVT undefined 5 cache
CPU0: I cache: 32768 bytes, associativity 32, 32 byte lines, 32 sets
CPU0: D cache: 32768 bytes, associativity 32, 32 byte lines, 32 sets
Built 1 zonelists
Kernel command line: console=ttyS1,115200 rw root=31:04 rootfstype=jffs2 ramdisk_size=40960 mac0=04,24,167,0,0,247 mac1=04,24,167,0,0,248 yserial=PR00-1907-0000-0000-0247
IRQ43 (GPIO11): <7>IRQ44 (GPIO12): <7>IRQ65 (GPIO33): PID hash table entries: 1024 (order: 10, 16384 bytes)
Console: colour dummy device 80x30
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Memory: 64MB 64MB 0MB 0MB = 128MB total
Memory: 126848KB available (2320K code, 409K data, 92K init)
Calibrating delay loop... 415.33 BogoMIPS (lpj=2076672)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
Yoggie GPIO Leds driver v1.0, (c) 2006 Yoggie Security Systems.
NET: Registered protocol family 16
Generic PHY: Registered new driver
pxa27x: CPU frequency change support initialized
NetWinder Floating Point Emulator V0.97 (extended precision)
JFFS2 version 2.2. (NAND) (C) 2001-2003 Red Hat, Inc.
Initializing Cryptographic API
io scheduler noop registered (default)
pxa2xx-uart.0: ttyS0 at MMIO 0x40100000 (irq = 22) is a FFUART
pxa2xx-uart.1: ttyS1 at MMIO 0x40200000 (irq = 21) is a BTUART
pxa2xx-uart.2: ttyS2 at MMIO 0x40700000 (irq = 20) is a STUART
RAMDISK driver initialized: 16 RAM disks of 40960K size 1024 blocksize
loop: loaded (max 8 devices)
Davicom DM9161E: Registered new driver
Davicom DM9131: Registered new driver
dm9000 Ethernet Driver
eth0: dm9000 at c8852000,c8854004 IRQ 43 MAC: 04:18:a7:00:00:f7
eth1: dm9000 at c8856000,c8858004 IRQ 44 MAC: 04:18:a7:00:00:f8
Probing Nor flash at physical address 0x00000000 (16-bit bankwidth)
Nor flash: Found 1 x16 devices at 0x0 in 16-bit bank
 Intel/Sharp Extended Query Table at 0x0031
Using buffer write method
cfi_cmdset_0001: Erase suspend on write enabled
erase region 0: offset=0x0,size=0x20000,blocks=64
RedBoot partition parsing not available
cmdlinepart partition parsing not available
Using static partitions on Nor flash
Creating 4 MTD partitions on "Nor flash":
0x00000000-0x00040000 : "BootLoader"
0x00040000-0x00060000 : "BootLoaderParams"
0x00060000-0x003e0000 : "Kernel"
0x00440000-0x00800000 : "Empty"
Yoggie nand init
NAND device: Manufacturer ID: 0xec, Chip ID: 0xf1 (Samsung NAND 128MiB 3,3V 8-bit)
Scanning device for bad blocks
cmdlinepart partition parsing not available
Creating 2 MTD partitions on "yoggie-nand":
0x00000000-0x02800000 : "System Area"
0x02800000-0x08000000 : "Main"
pxa27x_udc: version 01-01-2006
ether gadget: using random self ethernet address
ether gadget: using random host ethernet address
usb0: Yoggie Gatekeeper, version: May Day 2005
usb0: using pxa27x_udc, OUT ep2out-bulk IN ep1in-bulk STATUS ep3in-intr
usb0: MAC c2:d0:46:cd:34:c5
usb0: HOST MAC ea:30:de:b5:e6:65
rndis_register: configNr = 0
rndis_set_param_dev:
rndis_set_param_vendor:
rndis_set_param_medium: 0 0
usb0: RNDIS ready
mice: PS/2 mouse device common for all mice
NET: Registered protocol family 2
usb0: suspend
IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
TCP established hash table entries: 8192 (order: 3, 32768 bytes)
TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
TCP reno registered
TCP bic registered
NET: Registered protocol family 17
usb0: resume
udc: USB reset
udc: USB reset
usb0: qlen 2
usb0: full speed config #2: 100 mA, Yoggie Gatekeeper, using RNDIS
rndis_msg_parser: REMOTE_NDIS_INITIALIZE_MSG
gen_ndis_query_resp: OID_GEN_SUPPORTED_LIST
gen_ndis_query_resp: OID_GEN_VENDOR_DRIVER_VERSION
gen_ndis_query_resp: OID_GEN_MAXIMUM_FRAME_SIZE
gen_ndis_query_resp: OID_GEN_MAXIMUM_FRAME_SIZE
gen_ndis_query_resp: OID_802_3_MAXIMUM_LIST_SIZE
gen_ndis_query_resp: OID_802_3_CURRENT_ADDRESS
gen_ndis_query_resp: OID_802_3_PERMANENT_ADDRESS
gen_ndis_query_resp: OID_GEN_PHYSICAL_MEDIUM
gen_ndis_query_resp: OID_GEN_MAXIMUM_TOTAL_SIZE
rndis_msg_parser: REMOTE_NDIS_SET_MSG
gen_ndis_set_resp: OID_GEN_CURRENT_PACKET_FILTER 00000009
gen_ndis_query_resp: OID_GEN_RCV_NO_BUFFER
gen_ndis_query_resp: OID_GEN_RCV_NO_BUFFER
rndis_msg_parser: REMOTE_NDIS_SET_MSG
gen_ndis_set_resp: OID_GEN_CURRENT_PACKET_FILTER 0000000b
rndis_msg_parser: REMOTE_NDIS_SET_MSG
gen_ndis_set_resp: OID_802_3_MULTICAST_LIST
rndis_msg_parser: REMOTE_NDIS_SET_MSG
gen_ndis_set_resp: OID_802_3_MULTICAST_LIST
gen_ndis_query_resp: OID_GEN_RCV_NO_BUFFER
VFS: Mounted root (jffs2 filesystem).
Freeing init memory: 92K
NET: Registered protocol family 1
kjournald starting.  Commit interval 5 seconds
EXT3 FS on ram0, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
usb0: eth_open
usb0: eth_start
rndis_set_param_medium: 0 97280
gen_ndis_query_resp: OID_GEN_RCV_NO_BUFFER
gen_ndis_query_resp: OID_GEN_RCV_NO_BUFFER
rndis_msg_parser: REMOTE_NDIS_SET_MSG
gen_ndis_set_resp: OID_802_3_MULTICAST_LIST
rndis_msg_parser: REMOTE_NDIS_SET_MSG
gen_ndis_set_resp: OID_802_3_MULTICAST_LIST
gen_ndis_query_resp: OID_GEN_RCV_NO_BUFFER
gen_ndis_query_resp: OID_GEN_RCV_NO_BUFFER
gen_ndis_query_resp: OID_GEN_RCV_NO_BUFFER
gen_ndis_query_resp: OID_GEN_VENDOR_ID
eth0: link down
eth1: link down
ip_tables: (C) 2000-2006 Netfilter Core Team
ip_conntrack version 2.4 (1024 buckets, 8192 max) - 240 bytes per conntrack
gen_ndis_query_resp: OID_GEN_RCV_NO_BUFFER
gen_ndis_query_resp: OID_GEN_RCV_NO_BUFFER
gen_ndis_query_resp: OID_GEN_VENDOR_ID
gen_ndis_query_resp: OID_GEN_RCV_NO_BUFFER
gen_ndis_query_resp: OID_GEN_VENDOR_ID
gen_ndis_query_resp: OID_GEN_RCV_NO_BUFFER
#
Advertisements

,

  1. #1 by Neil on November 26, 2008 - 4:51 pm

    sweet!

    Mines on the way. I’ll stay tuned and share my experiences as well. When I start my blog about it I’ll trackback.

    -Neil

  1. Yoggie! Yoggie! Yoggie! Toy! Toy! Toy! | The New Tech

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: