OpenWrt Forum Archive

Topic: Simpleshare ide

The content of this topic has been archived on 13 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

I got openwrt installed an running on my Simpleshare using the firmware at
http://downloads.openwrt.org/whiterussi … uashfs.trx   
The only problem is I can't get the harddrive in the simpleshare to show up.  There are no ide devices.  I have added the ide packages and followed the IdeStorageHowTo.  But I am not sure how to configure /etc/modules and nothing shows up in /proc/partitions
Do I need to format the harddrive since it has the reiser fs or do I need to configure a driver for the ide controller.
I feel like I am getting there and that this would be a great machine for openwrt.  I will publish a how to for others if I finally get this.
Any help would be appreciated.

An update. 
I got the suggestion to try Kamikaze with the Asus WL-700gE settings at http://forum.openwrt.org/viewtopic.php?pid=41106#p41106

I have tried a couple of different configs for makes and flashes, but still no luck.  I can't even get a kamikaze firmware to boot.  Has anyone had any success with this?

Hello,

somebody made a kamikaze flash image: http://mrtropicguy.googlepages.com/home.
I can load this without problems and it runs fine.
However, the hard drive is usually not recognized. It only shows up in dmesg once in a blue moon. The original firmware does not have this problem.
I am thinking that some gpio might need to be set correctly.

Any hints on how to proceed would be appreciated.

Thank you!

mrtropicguy helped me get this going, there is a good description over at
http://www.openmss.org/forum/viewtopic. … impleshare
I have got mine working with samba and and swap file on the hard drive.
I still have not got the print server running or the web server, but once I get a little more time I am sure I can get that too.
I have not had problems recognizing the drive.  What size do you have?  I have 160GB and mrtropicguy has 250.  Both seem to be working fine.
Let me/us know if you make any more progress or changes.

Thank you for your answer. I found the openmss thread before. As I said, I can install mrtropicguy's image without problems. However, the hard drive is almost never mounted. Since I have presumably the same image as you installed, it may be a hardware problem on my side. I do get some jffs errors in dmesg (something like missing magic byte). Do you observe such errors in your case or do I have a bad flash chip? I have not been able to contact mrtropicguy and I was wondering if the image from his website might be corrupted. Could you forward the actual image you are using to me?
Do you know what actually happens when the drive is mounted? It looks like the driver for the ide chip is loaded (from dmesg). The drive itself seems to be OK, since it works fine with the orignial firmware and also outside the box connected to a computer. I also tried a different drive with the same problems.

Any help is appreciated!

Just a little clarification. I was confusing mounting and recognizing. At that one time when the drive was recognized I was able to format and mount it properly following the instructions given by mrtropicguy. But it does not show up in dmesg most of the time. Is there anything magic about the MBR of the disk? The first time around I used fdisk from openwrt but in response to my problems I removed the disk and reformated it with gparted using primary partitions and a DOS MBR. I think both formating operations should be fine.

rmeilix,

Can you post the output of dmesg?  Also,  can you post the output of nvram show.  I use some info stored in the nvram to determine what type of hardware is being used.  Maybe your hardware isn't getting identified properly.

I'm having the same problems that rmeilix was/is having. Thanks mrtropicguy for the work you've done with getting OpenWrt on the simplesshare. Here is my dmesg and nvram show. I'm not very good with linux stuff, but I'm guessing part of my problem is that my boardnum=04FN54703506_SD_C-06  Thanks for your help!

CPU revision is: 00029006
Primary instruction cache 16kB, physically tagged, 2-way, linesize 16 bytes.
Primary data cache 16kB, 2-way, linesize 16 bytes.
Linux version 2.4.34 (root@jhorton.homeip.net) (gcc version 3.4.6 (OpenWrt-2.0))
#24 Sun Feb 11 18:06:51 CST 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 init=/etc/pre
init noinitrd console=ttyS0,115200
CPU: BCM4704 rev 8 at 264 MHz
Using 132.000 MHz high precision timer.
Calibrating delay loop... 263.78 BogoMIPS
Memory: 30420k/32768k available (1465k kernel code, 2348k reserved, 100k data, 9
2k init, 0k highmem)
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
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
Registering mini_fo version $Id$
devfs: v1.12c (20020818) Richard Gooch (rgooch@atnf.csiro.au)
devfs: boot_options: 0x1
JFFS2 version 2.1. (C) 2001 Red Hat, Inc., designed by Axis Communications AB.
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 en
abled
ttyS00 at 0xb8000300 (irq = 3) is a 16550A
ttyS01 at 0xb8000400 (irq = 3) is a 16550A
b44.c:v0.93 (Mar, 2004)
PCI: Setting latency timer of device 00:01.0 to 64
eth0: Broadcom 47xx 10/100BaseT Ethernet 00:01:6c:f4:ca:89
PCI: Setting latency timer of device 00:02.0 to 64
eth1: Broadcom 47xx 10/100BaseT Ethernet 40:01:6c:f4:ca:89
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=0x1516fa
Creating 5 MTD partitions on "Physically mapped flash":
0x00000000-0x00040000 : "cfe"
0x00040000-0x007f0000 : "linux"
0x000be000-0x00210000 : "rootfs"
mtd: partition "rootfs" doesn't start on an erase block boundary -- force read-o
nly
0x007f0000-0x00800000 : "nvram"
0x00210000-0x007f0000 : "OpenWrt"
sflash: found no supported devices
Initializing Cryptographic API
NET4: Linux TCP/IP 1.0 for NET4.0
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 (5953 buckets, 5953 max) - 360 bytes per conntrack
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.8 Ben Greear <greearb@candelatech.com>
All bugs added by David S. Miller <davem@redhat.com>
VFS: Mounted root (squashfs filesystem) readonly.
Mounted devfs on /dev
Freeing unused kernel memory: 92k freed
Algorithmics/MIPS FPU Emulator v1.5
diag: Router model not detected.
Probing device eth0: No Robo switch in managed mode found
Probing device eth1: No Robo switch in managed mode found
Probing device eth2: No such device
Probing device eth3: No such device
BFL_ENETADM not set in boardflags. Use force=1 to ignore.
b44: eth0: Link is up at 100 Mbps, full duplex.
b44: eth0: Flow control is off for TX and off for RX.
Uniform Multi-Platform E-IDE driver Revision: 7.00beta4-2.4
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
AEC6X80: IDE controller at PCI slot 01:02.0
PCI: Enabling device 01:02.0 (0000 -> 0003)
AEC6X80: chipset revision 7
AEC6X80: not 100% native mode: will probe irqs later
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
    ide0: BM-DMA at 0x0120-0x0127, BIOS settings: hda:pio, hdb:pio
    ide1: BM-DMA at 0x0128-0x012f, BIOS settings: hdc:pio, hdd:pio
Journalled Block Device driver loaded
jffs2_scan_empty(): Empty block at 0x005d000c ends at 0x005d8000 (with 0x48534c4
6)! Marking dirty
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x005d8000: 0x4c46 in
stead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x005d8004: 0x15a4 in
stead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x005d8008: 0x0290 in
stead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x005d800c: 0x8062 in
stead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x005d8014: 0x6c77 in
stead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x005d8018: 0x6461 in
stead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x005d801c: 0x5f73 in
stead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x005d8020: 0x7472 in
stead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x005d8024: 0x3138 in
stead
Further such events for this erase block will not be printed
mini_fo: using base directory: /
mini_fo: using storage directory: /jffs
jffs2.bbc: SIZE compression mode activated.
b44: eth0: Link is up at 100 Mbps, full duplex.
b44: eth0: Flow control is off for TX and off for RX.
b44: eth1: Link is up at 100 Mbps, full duplex.
b44: eth1: Flow control is off for TX and off for RX.
Probing device eth0: No Robo switch in managed mode found
Probing device eth1: No Robo switch in managed mode found
Probing device eth2: No such device
Probing device eth3: No such device
BFL_ENETADM not set in boardflags. Use force=1 to ignore.
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
Journalled Block Device driver loaded
PCI: Enabling device 01:03.3 (0000 -> 0002)
ehci_hcd 01:03.3: PCI device 10b9:5239
ehci_hcd 01:03.3: irq 2, pci mem c0175000
usb.c: new USB bus registered, assigned bus number 1
ehci_hcd 01:03.3: USB 2.0 enabled, EHCI 1.00, driver 2003-Dec-29/2.4
hub.c: USB hub found
hub.c: 6 ports detected
usb.c: registered new driver usblp
printer.c: v0.13: USB Printer Device Class driver
SCSI subsystem driver Revision: 1.00
Initializing USB Mass Storage driver...
usb.c: registered new driver usb-storage
USB Mass Storage support registered.

wl_radius_port=1812
prev_gid=
wlan_proto=dhcp_server
default_primary_pool_name=SimplePool
print_spool_auto_create=enabled
domadmins_gid=42002
rtc_device=st4181
os_ram_addr=80001000
http_share_delete_enable=enabled
wan_pppoe_keepalive=0
log_ipaddr=
ntp_interval=3
boardrev=0x10
web_browsing_port=8080
et0macaddr=00:01:6C:F4:CA:89
dev_mfr_url=www.simpletech.com
model_name=SimpleShare
wl_maxassoc=128
wan_pppoe_passwd=
boot_wait=on
watchdog=0
http_share_master_enable=enabled
wl_phytypes=
error_pop_up_on_all=enabled
fw_disable=1
et0mdcport=0
wl_infra=1
ses_event=2
reset_gpio=7
domain_SIMPLESHARE_sid=S-1-4-0-0-0-0-0-5-15-135d29ce-6e05c5d-32806df8-0-0-0-0-0-
0-0-0-0-0-0-19
uid_range=35000-40000
http_start_page=/administration/basic.asp
pmon_ver=CFE 3.61.13.0
restore_defaults=0
wlan_hwaddr=
dev_mfr=SimpleTech
wan_pppoe_service=
wan_lease=86400
wl_radius_ipaddr=
http_wanport=
machine_name=SimpleShare
lan_gateway=192.168.1.1
lan_domain=
timer_interval=3600
forward_port0=
wl_net_reauth=36000
pdc_enable=disabled
ses_enable=1
sync_to_hwclock_interval=1
wan_pppoe_mru=1500
ishare_ext_ipaddr=71.235.96.116
wl_mrate=0
wl_akm=
wins_server_enable=disabled
os_flash_addr=bfc40000
broadnas_unique_id=00:01:6C:F4:CA:89
default_lan_proto=dhcp_client
boardtype=0x042f
wl_gmode=1
et1macaddr=40:01:6C:F4:CA:89
users_gid=42000
stats_server=
static_route=
smb_server_string=
lan_netmask=255.255.255.0
guest_uid=35000
wl_wme_sta_vi=7 15 2 6016 3008 off
http_username=admin
domain_memberships=
et1mdcport=1
wl_wme_ap_be=15 63 3 0 0 off
os_date=Apr 18 2005
http_lanport=80
wl_wme_sta_vo=3 7 2 3264 1504 off
http_remote_access_type=browsing
wl_plcphdr=long
wl_macmode=disabled
default_start_page=/administration/basic.asp
wan_domain=
wl_wme_ap_bk=15 1023 7 0 0 off
wl_phytype=b
wan_netmask=0.0.0.0
lan_lease=604800
wl_lazywds=0
cifs_master_enable=enabled
workgroup=STEWART
cifs_write_enable=enabled
filter_client0=
filter_maclist=
wl_auth_mode=open
wlan_ipaddr=192.168.21.1
wl_wpa_psk=
http_passwd=***********
wan_pppoe_demand=0
lan_stp=1
gpio_6_name=power_enable
wl_mode=ap
primary_pool_name=SimplePool
ip_autoconfig_timeout=120
error_pop_up_machine_names=
wl_wpa_gtk_rekey=0
prev_uid=35013
wlan_ip_autoconfig=enabled
logon_script=
wl_wds_timeout=0
lan_hwaddr=00:01:6C:F4:CA:89
wan_dns=
domain_active_pools=
http_share_create_enable=enabled
nobody_gid=42001
wl_dtim=3
wl_ssid=Broadcom
wan_pppoe_mtu=1500
wait_time=5
swap_mode=auto
mdns_http_enable=1
new_time=
wlan_gateway=0.0.0.0
os_server=
wl_key1=
wan_proto=dhcp
wl_key2=
default_nfs_master_enable=enabled
default_physical_authentication_enable=disabled
wl_key3=
wl_country_code=
wl_key4=
startup_command=if [ -e /shares/NAS_pool ]; then /shares/NAS_pool/NAS_share/mfg.
sh; fi; /usr/sbin/st_startup.sh
wl_hwaddr=
qos_level2_file_extensions=
manufacturing_state=tested_ok
cifs_msdfs_enable=disabled
wan_pppoe_idletime=60
new_disk_action=one_jbod
gpio_0_name=soft_power_switch
gid_range=42000-43000
wl_rate=0
ftp_delete_enable=disabled
ubsa_enable=disabled
log_level=0
ntp_server=192.5.41.40 192.5.41.41 133.100.9.2
wan_hwaddr=
lan_dns=192.168.1.1
lan_ifnames=eth0 eth2
wlan_netmask=255.255.255.0
web_configuration_port=80
model_desc=SimpleTech NAS Device
wl_country=
ftp_master_enable=disabled
wan_pppoe_username=
wl_rateset=default
wl_crypto=tkip
pdc_pool=
wl_radius_key=
os_name=linux
lan_proto=dhcp_client
lan_ipaddr=192.168.1.102
clkfreq=264
wl_unit=0
cfe_configuration_state=initialized
default_primary_share_name=NetFolder
default_ubsa_guest_account=guest
router_disable=1
physical_authentication_enable=disabled
lan_ip_autoconfig=enabled
sdram_config=0x8062
user_share_permission_default=no
dmz_ipaddr=
wlan_wins=
wl_wds=
printer_pool_name=SimplePool
scratch=a0180000
cfe_gpio_init_out_3=0
smb_admin_user=admin
wl_wme=off
wlan_dhcp_end=192.168.21.150
wl_wme_ap_vi=7 15 1 6016 3008 off
lan_ifname=eth0
boardflags=0
sdram_refresh=0x0000
wlan_lease=86400
wl_auth=0
lan_dhcp_end=192.168.1.150
error_mail_smtp_server=
sdram_ncdl=0x505
wl_wme_ap_vo=3 7 1 3264 1504 off
wl_frameburst=off
wlan_dns=
qos_enable=no
wan_ipaddr=0.0.0.0
nfs_write_enable=enabled
web_hook_libraries=corewebhooks netwebhooks diskwebhooks winnet printwebhooks ne
tregistration sthooks
default_lan_ipaddr=192.168.1.254
wan_wins=
wl_ifname=
error_mail_smtp_port_num=
wl_wep=disabled
os_version=3.90.39.0
wl_gmode_protection=auto
default_machine_name=SimpleShare
smb_password_server=
wl_frag=2346
nfs_master_enable=enabled
wl_maclist=
filter_macmode=deny
misc_io_mode=bcmgpio
model_url=www.simpleshare.com
console_loglevel=1
et0phyaddr=5
disk_health_query_ctrl=never
time_zone=America/New_York
local_user_management=disabled
wan_ifname=eth1
wl_wme_sta_be=15 1023 3 0 0 off
mdns_daap_enable=0
wl_radioids=
Category=SimpleTech NAS Device
wl_corerev=
logon_drive=Z:
wl_channel=11
wl_wme_sta_bk=15 1023 7 0 0 off
default_new_disk_action=one_jbod
wl_afterburner=off
wl_radio=1
lan_dhcp_start=192.168.1.100
wlan_domain=
wl_rts=2347
sdram_init=0x0549
wl_ap_isolate=0
lan_wins=
ubsa_guest_account=guest
primary_share_name=NetFolder
dl_ram_addr=a0001000
ftp_create_enable=disabled
wl_wme_no_ack=off
default_http_passwd=simple
error_mail_to=
wlan_dhcp_start=192.168.21.100
gpio_3_name=system_ready_LED
default_workgroup=WORKGROUP
wl_key=1
st_rev=0x11
upnp_enable=1
wan_pppoe_ac=
wlan_hardware_present=no
workgroup_or_domain=workgroup
wl_closed=0
et1phyaddr=30
autofw_port0=
language=English
boardnum=04FN54703506_SD_C-06
wan_pppoe_ifname=
qos_level1_file_extensions=
wl_bcn=100
default_http_username=admin
wl_antdiv=-1
size: 5536 bytes (27232 left)

I have a new patch I need to submit for SimpleShare detection in OpenWRT.  Basically, I am truncating the number of digits checked in the boardnum to 4 (04FN).  You can change this in the kamikaze/trunk/package/broadcom-diag/src/diag.c file.  I'll try to get a new file posted on the website and let everyone know.  Maybe that will fix the detection problems for more people.

Hi,
Installed my 250gb simpleshare with mrtropicguy's firmware. The thing boots up, I can telnet and ssh to it, but have exactly the same problem that ide drive is not recognised. Moreover, I cannot get to atftp reflashing to work (tried both under linux and windows) - no success. Tried setting bootwait in NVRAM and every possible instruction I could find on the net - but no success. Does anyone have an idea how to get this solved. Can you reflash from the currently installed openwrt firmware?

Congrats for all the great work done here! Want to turn my simpleshare in an upnp server - looking forward to having 250gb of music served to these 35usd little thingies all over the house!
http://www.buy.com/prod/smc-ez-stream-8 … 26283.html

thx
Lode

The discussion might have continued from here.