I recently bought a Asus WL-HDD and flashed openwrt. The harddrive is not accessable. How can i enable ide?
Konrad

The content of this topic has been archived on 15 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.
I recently bought a Asus WL-HDD and flashed openwrt. The harddrive is not accessable. How can i enable ide?
Konrad
Hmm, probably by installing the package which contains the IDE modules.
ipkg install kmod-ide
rebootAnd the correct packages for the filesystem on the harddisc.
(Last edited by olli_04 on 21 Nov 2005, 13:00)
ipkg ext2 (for ext2) or ipkg ext3 (for ext3) too.
then with dmesg you see ...
...
ide0 at 0x100-0x107,0x10a on irq 6
blk: queue c00262c8, I/O limit 4095Mb (mask 0xffffffff)
hda: 156301488 sectors (80026 MB) w/8192KiB Cache, CHS=155061/16/63, UDMA(33)
Partition check:
/dev/ide/host0/bus0/target0/lun0: [PTBL] [10337/240/63] p1 p2 < p5 p6 p7
...
and my mount
/dev/ide/host0/bus0/target0/lun0/part5 on /opt type ext3 (rw)
/dev/discs/disc0/part6 on /tmp/harddisk type ext3 (rw,noatime)
/dev/discs/disc0/part7 on /tmp/harddisk/part1 type ext3 (rw,noatime)
/dev/discs/disc0/part8 on /tmp/harddisk/part2 type ext3 (rw,noatime)
(Last edited by wl-hdd-user on 21 Nov 2005, 14:57)
ipkg ext2 (for ext2) or ipkg ext3 (for ext3) too.
Seems you only need kmod-ext3 since mount shows you a EXT3 filesystem.
(Last edited by olli_04 on 21 Nov 2005, 15:39)
Thanks for the fast response. I can't get ide support working. I installed both kmod-ide and kmod-ext3 with ipkg.
By entering dmesg I get:
root@OpenWrt:/dev# dmesg
CPU revision is: 00024000
Enabling BCM4710A0 cache workarounds.
Primary instruction cache 8kB, physically tagged, 2-way, linesize 16 bytes.
Primary data cache 4kB, 2-way, linesize 16 bytes.
Linux version 2.4.30 (nbd@ux-2y01) (gcc version 3.4.4) #1 Tue Nov 15 20:22:33 CET 2005
Setting the PFC value as 0x15
Determined physical RAM map:
memory: 01000000 @ 00000000 (usable)
On node 0 totalpages: 4096
zone(0): 4096 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: root=/dev/mtdblock2 rootfstype=squashfs,jffs2 init=/etc/preinit noinitrd console=ttyS0,115200
CPU: BCM4710 rev 0 at 125 MHz
Using 62.400 MHz high precision timer.
!unable to setup serial console!
Calibrating delay loop... 82.94 BogoMIPS
Memory: 14296k/16384k available (1395k kernel code, 2088k reserved, 100k data, 80k init, 0k highmem)
Dentry cache hash table entries: 2048 (order: 2, 16384 bytes)
Inode cache hash table entries: 1024 (order: 1, 8192 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: 4096 (order: 2, 16384 bytes)
Checking for 'wait' instruction... unavailable.
POSIX conformance testing by UNIFIX
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
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 2.1-r2 (released 2004/12/15) (C) 2002-2004 Phillip Lougher
pty: 256 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI enabled
Software Watchdog Timer: 0.05, timer margin: 60 sec
Amd/Fujitsu Extended Query Table v1.1 at 0x0040
Physically mapped flash: Swapping erase regions for broken CFI table.
number of CFI chips: 1
cfi_cmdset_0002: Disabling fast programming due to code brokenness.
Flash device: 0x400000 at 0x1fc00000
Creating 4 MTD partitions on "Physically mapped flash":
0x00000000-0x00040000 : "pmon"
0x00040000-0x003f0000 : "linux"
0x000c0000-0x003f0000 : "rootfs"
0x003f0000-0x00400000 : "nvram"
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 1024 bind 2048)
ip_conntrack version 2.1 (5953 buckets, 5953 max) - 320 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 (jffs2 filesystem) readonly.
Mounted devfs on /dev
Freeing unused kernel memory: 80k freed
Warning: unable to open an initial console.
Algorithmics/MIPS FPU Emulator v1.5
diag boardtype: 0000041a
jffs2.bbc: SIZE compression mode activated.
PCI: Setting latency timer of device 00:02.0 to 64
eth0: Broadcom BCM47xx 10/100 Mbps Ethernet Controller 3.90.23.0
PCI: Setting latency timer of device 00:08.0 to 64
eth1: Broadcom BCM47xx 10/100 Mbps Ethernet Controller 3.90.23.0
PCI: Setting latency timer of device 01:02.0 to 64
PCI: Enabling device 01:02.0 (0004 -> 0006)
eth2: Broadcom BCM4320 802.11 Wireless Controller 3.90.37.0
Journalled Block Device driver loaded
device eth0 entered promiscuous mode
device eth1 entered promiscuous mode
eth1: attempt to add interface with same source address.
device eth2 entered promiscuous mode
eth2: attempt to add interface with same source address.
br0: port 3(eth2) entering listening state
br0: port 2(eth1) entering listening state
br0: port 1(eth0) entering listening state
br0: port 3(eth2) entering learning state
br0: port 2(eth1) entering learning state
br0: port 1(eth0) entering learning state
br0: port 3(eth2) entering forwarding state
br0: topology change detected, propagating
br0: port 2(eth1) entering forwarding state
br0: topology change detected, propagating
br0: port 1(eth0) entering forwarding state
br0: topology change detected, propagating
br0: port 2(eth1) entering disabled state
br0: port 2(eth1) entering listening state
br0: port 2(eth1) entering learning state
br0: port 2(eth1) entering forwarding state
br0: topology change detected, propagatingmount prints
/dev/root on / type jffs2 (rw)
none on /dev type devfs (rw)
none on /proc type proc (rw)
none on /tmp type tmpfs (rw,nosuid,nodev)
none on /dev/pts type devpts (rw)What am i doing wrong?
Konrad
(Last edited by WL-HDD on 21 Nov 2005, 21:11)
You need install the package: kmod-ide, ext2 and ext3
Then ...
/etc/modules
et
ide-core
pdc202xx_old
ide-detect
ide-disk
jbd
ext2
ext3
wl
With they order !
You can see http://forum.openwrt.org/viewtopic.php?id=2042
Thanks a lot, no I can mount the drive. Where can I put the mounting command so that the drive ist automatically mounted on each system start?
Konrad
I'm planning to buy wl-hdd and I have just one question for you guys, what kind of firmware you have on your wl-hdd's? Is it openwrt or something else and where have you get it? Thanx in advance.
I'm planning to buy wl-hdd and I have just one question for you guys, what kind of firmware you have on your wl-hdd's? Is it openwrt or something else and where have you get it? Thanx in advance.
What answer are you going to expect when asking this question here in the OpenWrt forum?
Sorry but I can't find proper wl-hdd firmware version (specific one) on download site
look http://downloads.openwrt.org/whiterussian/rc3/bin/
and also in docs asus wl-hdd is ment as 'untested' http://wiki.openwrt.org/TableOfHardware
so I was assuming it have to be something else... enlight me ![]()
how about opening a new thread?!?
take openwrt-brcm-2.4-jffs2-4MB.trx fpr the wl-hdd
thank you for quick answer I didn't want to mess around forum with new thread for my silly question knowing that two wl-hdd users are here... it's a habit from other strict forums, if you want I can delete all my posts in your thread
(Last edited by nrg on 22 Nov 2005, 20:37)
Thanks a lot, no I can mount the drive. Where can I put the mounting command so that the drive ist automatically mounted on each system start?
Konrad
To do this, you could create a new executable script file, for instance /etc/init.d/S47mount, with the following contents:
#!/bin/sh
mount /dev/discs/disc0/part6 /mnt/harddisk
(Last edited by nrg on 22 Nov 2005, 20:45)
I am not able to create a new script file with vi in init.d. How can this be done?
thank you for quick answer I didn't want to mess around forum with new thread for my silly question knowing that two wl-hdd users are here... it's a habit from other strict forums, if you want I can delete all my posts in your thread
no prob, i think it's more useful for other users to have a thread for each topic. i searched some time to find the right firmware file, if there had been a thread about that issue i could have saved some time.
(Last edited by WL-HDD on 22 Nov 2005, 21:10)
it's simple ![]()
vi S47mount
it will create and open needed file if you want to edit you have to get to edit mode push "i" after that you can edit your file 'esc' will close edit mode when you want command mode push ":" to write changes use "w" to quit "q" you can also do it together so if you want write changes and close the file ":wq" ![]()
remember to 'chmod +x' to make file executable
This is really cool: now i have the twonkyvision upnp musicserver running on my wl harddisk. Thanks for your support. I had no space left on the device, thats why i couldnt create the script.
Konrad
how about opening a new thread?!?
take openwrt-brcm-2.4-jffs2-4MB.trx fpr the wl-hdd
When i try to flash from Oleg's latest =>
Firmware upgrade fail. It may result from incorrect image or error transmission. Please check the version of firmare and try again
:-(
Ciao Gerd
(Last edited by gerd on 10 Jan 2006, 21:05)
You need to use tftp
OK... got it.. :-) (finally)
BTW: is it possible to update Doc for installing openwrt on other unit than linksys ? It does mean how to come to tftp mode (linksys will be there anyway on startup....)
The discussion might have continued from here.