[SOLVED] EXT2 kernel extension: how to obtain?

Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Broadcom SoC based Hardware
Goto page 1, 2  Next
Author Message
gatorback
DD-WRT User


Joined: 04 Feb 2007
Posts: 357
Location: Fountain of Youth

PostPosted: Thu Apr 05, 2012 2:35    Post subject: [SOLVED] EXT2 kernel extension: how to obtain? Reply with quote
I am configuring an ASUS WL-520GU with an 8GB flash drive so naturally, I want to use an EXT2 (non journaling) file system so as to avoid unnecessary wear on the NAND flash device and run Optware (OTRW).

That being said, EXT3 is supported with the DD-WRT build prescribed in the WL-520GU wiki. This wiki describes how to insert kernel modules support a file system. I'd like to do this by creating a small EXT3 partion (16 MB) and format the rest of the drive with EXT2. The small partion would hold the kernel modules for EXT2 file system support and the script to insert the EXT2 module.

The wiki has a link to the kernel modules and the files include:

Code:
root@ubuntu:/tmp# tar -zvxf /dev/sdb2
ext3
ext3.ko
fat
fat.ko
fuse.ko
jbd.ko
mbcache.ko
nls_cp437.ko
nls_iso8859-1.ko
nls_iso8859-2.ko
nls_utf8.ko
vfat.ko


I did not see an ext2.ko file, however, maybe one of the other .ko files provide EXT2. If this is not the case, I would be interested in obatining \ making 'ext2.ko'.
I have an ASUS RT-N16 running Optware: maybe the 'ext2.ko' can be copied (assuming that it this functionality is already built into the kernel)?

I have had success with OTRW using EXT2: I am not sure that FAT would work with OTRW. I hope that someone with more experience will weigh in with a solution to the EXT2 challenge.

Update: not sure if the large EXT2 partition can be mounted, although it is recognized:




ext2.zip
 Description:
Module from WRT54GL DD-WRT v24-sp2 (10/10/09) voip
(SVN revision 13064)

Download
 Filename:  ext2.zip
 Filesize:  27.73 KB
 Downloaded:  878 Time(s)


ext2.zip
 Description:
Module copied from WRT54GL DD-WRT v24-sp2 (10/10/09) voip
(SVN revision 13064)

Download
 Filename:  ext2.zip
 Filesize:  27.73 KB
 Downloaded:  822 Time(s)


_________________
My Routers | RT-N16 Wiki | RT-N16 Mods
Peacock Flashing | Wireless N Conf | Linking Routers |
DD-WRT Wiki | DD-WRT Builds | Broadcom FAQ| QoS| OTRW


Last edited by gatorback on Mon Jul 16, 2012 16:13; edited 2 times in total
Sponsor
gatorback
DD-WRT User


Joined: 04 Feb 2007
Posts: 357
Location: Fountain of Youth

PostPosted: Sun Apr 15, 2012 12:59    Post subject: Ext2 found in RT-N16 Reply with quote
I am keeping my log in this post of what I am doing to solve this problem. Any constructive observations \ instructions are appreciated.

I found an ext2.ko in my RT-N16.

Code:
root@athena:/# find . | grep ext2.ko
./lib/modules/2.6.24.111/kernel/fs/ext2/ext2.ko
./opt/etc/nomount: Input/output error
./opt/etc/automount: Input/output error
root@athena:/# ls -l /lib/modules/2.6.24.111/kernel/fs/ext2/ext2.ko
-rw-r--r-- 1 root root 57968 Nov 21  2010 /lib/modules/2.6.24.111/kernel/fs/ext2/ext2.ko


Need to check if the RT-N16 kernel (DD-WRT v24-sp2 (11/21/10) BIG revision 15778) is similar enough to the target kernel. UPDATE: kernel version is 2.4 and not 2.6. I doubt that the ext2.ko (2.6 Kernel) module will work with a 2.4 kernel.

WL-520GU: DD-WRT v24-sp2 (08/12/10) mini-usb-ftp
(SVN revision 14929)


Code:
root@FOXTROT:/# find . | grep ext3
./lib/modules/2.4.37/ext3.o
root@FOXTROT:/# find . | grep ext2
root@FOXTROT:/#


root@FOXTROT:/lib/modules/2.4.37# ls
bcm57xxlsys.o fat.o ipt_webstr.o
diag.o imq.o jbd.o
ebt_arpnat.o ip_conntrack_pptp.o jffs2.o
ebt_dnat.o ip_conntrack_proto_gre.o printer.o
ebt_ip.o ip_gre.o scsi_mod.o
ebt_mark.o ip_nat_pptp.o sd_mod.o
ebt_mark_m.o ip_nat_proto_gre.o switch-adm.o
ebt_redirect.o ip_wccp.o switch-core.o
ebt_snat.o ipip.o switch-robo.o
ebtable_filter.o ipt_CONNMARK.o usb-ohci.o
ebtable_nat.o ipt_IMQ.o usb-storage.o
ebtables.o ipt_ipp2p.o usb-uhci.o
ehci-hcd.o ipt_layer7.o usbcore.o
etherip.o ipt_mac.o vfat.o
ext3.o ipt_mark.o

Code:
root@FOXTROT:~# uname -r
2.4.37





If yes, then I can either somehow add it to the Flash area of memory or create a small Ext3 partition on the USB drive for this kernel extension.

I am not the first to ask for this extension.

_________________
My Routers | RT-N16 Wiki | RT-N16 Mods
Peacock Flashing | Wireless N Conf | Linking Routers |
DD-WRT Wiki | DD-WRT Builds | Broadcom FAQ| QoS| OTRW
slobodan
DD-WRT Guru


Joined: 03 Nov 2011
Posts: 1254
Location: Zwolle

PostPosted: Mon Apr 16, 2012 18:10    Post subject: Reply with quote
Use the firmware mod kit. Extract it from a similar firmware with the same kernel as your firmware.
_________________
Asus RT-N16 running Merlin (latest), formerly used Kong 22000++ kingkong-nv32k-broadcom with OTRW2

E4200 V1 running Kong 22000++ kingkong-nv60k-broadcom with OTRW2

2 times Linksys WRT610N V2 converted to E3000 running Kong 22000++ usb-ftp-samba3-dlna-nv60k-broadcom with OTRW2 (bridged with LAN cable)


gatorback
DD-WRT User


Joined: 04 Feb 2007
Posts: 357
Location: Fountain of Youth

PostPosted: Mon Apr 16, 2012 20:21    Post subject: Reply with quote
Not sure what Firmware I should extract from. The target platform is WL-520GU: DD-WRT v24-sp2 (08/12/10) mini-usb-ftp
(SVN revision 14929)

I would appreciate a suggested firmware to extract the ext2.o required for the . Is there anything else required to enable ext2 for the 2.4.37 kernel?

For those following this thread:

* Firmware Modification Kit DESCRIPTION

* Firmware Modification Kit DOWNLOAD

Other useful Wiki (DD-WRT EXT2 Filesystem) links:

* USB Storage Setup (Mounting)

* Mounting USB Drives w/o onboard FS modules

_________________
My Routers | RT-N16 Wiki | RT-N16 Mods
Peacock Flashing | Wireless N Conf | Linking Routers |
DD-WRT Wiki | DD-WRT Builds | Broadcom FAQ| QoS| OTRW


Last edited by gatorback on Tue Apr 17, 2012 13:01; edited 1 time in total
crashfly
DD-WRT Guru


Joined: 24 Feb 2009
Posts: 2025
Location: Sol System > Earth > USA > Arkansas

PostPosted: Tue Apr 17, 2012 0:50    Post subject: Reply with quote
All of the firmwares that support USB also should have the ext2 and ext3 modules. I think those are dependent on one other module ('jbd' I think), but just look in the "/lib/modules/2.4.37/" directory for your required modules.

Edit: One additional item, I do not think all of those modules have or require the ".ko" extension. Try inserting without the extension on it, if that does not work, then try the ".o".

_________________
E3000 22200M KongVPN K26
WRT600n v1.1 refirb mega 18767 BS K24 NEWD2 [not used]
WRT54G v2 16214 BS K24 [access point]

Try Dropbox for syncing files - get 2.5gb online for free by signing up.

Read! Peacock thread
*PLEASE* upgrade PAST v24SP1 or no support.
gatorback
DD-WRT User


Joined: 04 Feb 2007
Posts: 357
Location: Fountain of Youth

PostPosted: Tue Apr 17, 2012 13:10    Post subject: Reply with quote
@crashfly and for future readers, it would seem that kernel 2.6, the modules are of the format ext2.ko, whereas for kernel 2.4 it is of the format ext2.o:

Platform with ext2 supported:
root@athena:/lib/modules# find . | grep ext
./2.6.24.111/kernel/fs/ext2
./2.6.24.111/kernel/fs/ext2/ext2.ko
./2.6.24.111/kernel/fs/ext3
./2.6.24.111/kernel/fs/ext3/ext3.ko

Targeted platform:
root@FOXTROT:/lib/modules# find . | grep ext3
./2.4.37/ext3.o
root@FOXTROT:/lib/modules# find . | grep ext2
root@FOXTROT:/lib/modules# find . | grep ext
./2.4.37/ext3.o

All: If this is not correct or incomplete please weigh in.

More to report after trying this.

_________________
My Routers | RT-N16 Wiki | RT-N16 Mods
Peacock Flashing | Wireless N Conf | Linking Routers |
DD-WRT Wiki | DD-WRT Builds | Broadcom FAQ| QoS| OTRW
crashfly
DD-WRT Guru


Joined: 24 Feb 2009
Posts: 2025
Location: Sol System > Earth > USA > Arkansas

PostPosted: Tue Apr 17, 2012 23:37    Post subject: Reply with quote
gatorback wrote:
@crashfly and for future readers, it would seem that kernel 2.6, the modules are of the format ext2.ko, whereas for kernel 2.4 it is of the format ext2.o:

...

All: If this is not correct or incomplete please weigh in.

More to report after trying this.

Not true. I am using the K26 kernel on my E3000. Here is a listing of the file system modules:
Code:
root@xxxxxxxx:/lib/modules/2.6.24.111/kernel/fs# ls -la
drwxr-xr-x   13 root     root           133 Mar 19 02:03 .
drwxr-xr-x    5 root     root            48 Mar 19 02:03 ..
drwxr-xr-x    2 root     root            24 Mar 19 02:03 cifs
drwxr-xr-x    2 root     root            24 Mar 19 02:03 ext2
drwxr-xr-x    2 root     root            24 Mar 19 02:03 ext3
drwxr-xr-x    2 root     root            23 Mar 19 02:03 fat
drwxr-xr-x    2 root     root            24 Mar 19 02:03 fuse
drwxr-xr-x    2 root     root            23 Mar 19 02:03 jbd
drwxr-xr-x    2 root     root            25 Mar 19 02:03 jffs2
-rw-r--r--    1 root     root          8592 Mar 19 02:03 mbcache.ko
drwxr-xr-x    2 root     root            25 Mar 19 02:03 msdos
drwxr-xr-x    2 root     root           181 Mar 19 02:03 nls
drwxr-xr-x    2 root     root            24 Mar 19 02:03 vfat
drwxr-xr-x    2 root     root            23 Mar 19 02:03 xfs
root@xxxxxxxx:/lib/modules/2.6.24.111/kernel/fs#

_________________
E3000 22200M KongVPN K26
WRT600n v1.1 refirb mega 18767 BS K24 NEWD2 [not used]
WRT54G v2 16214 BS K24 [access point]

Try Dropbox for syncing files - get 2.5gb online for free by signing up.

Read! Peacock thread
*PLEASE* upgrade PAST v24SP1 or no support.
gatorback
DD-WRT User


Joined: 04 Feb 2007
Posts: 357
Location: Fountain of Youth

PostPosted: Wed Apr 18, 2012 2:16    Post subject: Reply with quote
crashfly wrote:
gatorback wrote:

More to report after trying this.

Not true. I am using the K26 kernel on my E3000. Here is a listing of the file system modules:
Code:
root@xxxxxxxx:/lib/modules/2.6.24.111/kernel/fs# ls -la
drwxr-xr-x   13 root     root           133 Mar 19 02:03 .
drwxr-xr-x    5 root     root            48 Mar 19 02:03 ..
drwxr-xr-x    2 root     root            24 Mar 19 02:03 cifs
drwxr-xr-x    2 root     root            24 Mar 19 02:03 ext2
drwxr-xr-x    2 root     root            24 Mar 19 02:03 ext3
drwxr-xr-x    2 root     root            23 Mar 19 02:03 fat
drwxr-xr-x    2 root     root            24 Mar 19 02:03 fuse
drwxr-xr-x    2 root     root            23 Mar 19 02:03 jbd
drwxr-xr-x    2 root     root            25 Mar 19 02:03 jffs2
-rw-r--r--    1 root     root          8592 Mar 19 02:03 mbcache.ko
drwxr-xr-x    2 root     root            25 Mar 19 02:03 msdos
drwxr-xr-x    2 root     root           181 Mar 19 02:03 nls
drwxr-xr-x    2 root     root            24 Mar 19 02:03 vfat
drwxr-xr-x    2 root     root            23 Mar 19 02:03 xfs
root@xxxxxxxx:/lib/modules/2.6.24.111/kernel/fs#


@crashfly: please run:

Code:
find . | grep ext


and publish the results.

_________________
My Routers | RT-N16 Wiki | RT-N16 Mods
Peacock Flashing | Wireless N Conf | Linking Routers |
DD-WRT Wiki | DD-WRT Builds | Broadcom FAQ| QoS| OTRW
crashfly
DD-WRT Guru


Joined: 24 Feb 2009
Posts: 2025
Location: Sol System > Earth > USA > Arkansas

PostPosted: Wed Apr 18, 2012 3:27    Post subject: Reply with quote
gatorback wrote:

@crashfly: please run:

Code:
find . | grep ext


and publish the results.

On my router, that gets about 30 pages of files (from root). What exactly are you looking for? FYI, the extension ".ko" is *not* required when inserting modules.

As for your build, you may have a bug as the ext2 module is not included. (You could report it as such on the timeline.) On my router, both the ext2 and ext3 are included.

_________________
E3000 22200M KongVPN K26
WRT600n v1.1 refirb mega 18767 BS K24 NEWD2 [not used]
WRT54G v2 16214 BS K24 [access point]

Try Dropbox for syncing files - get 2.5gb online for free by signing up.

Read! Peacock thread
*PLEASE* upgrade PAST v24SP1 or no support.
gatorback
DD-WRT User


Joined: 04 Feb 2007
Posts: 357
Location: Fountain of Youth

PostPosted: Wed Apr 18, 2012 4:09    Post subject: Reply with quote
@crashfly: please run command from:

/lib/modules/2.6.24.111/kernel/fs

Ideally, if you had a 2.4 flashed device and went through a similar exercise to find ext2.o:

Code:
cd /
find . | grep ext2.o


and publish the ext2.o file for future readers.

_________________
My Routers | RT-N16 Wiki | RT-N16 Mods
Peacock Flashing | Wireless N Conf | Linking Routers |
DD-WRT Wiki | DD-WRT Builds | Broadcom FAQ| QoS| OTRW
LOM
DD-WRT Guru


Joined: 28 Dec 2008
Posts: 7079

PostPosted: Wed Apr 18, 2012 5:31    Post subject: Reply with quote
crashfly wrote:

Not true. I am using the K26 kernel on my E3000. Here is a listing of the file system modules:
Code:
root@xxxxxxxx:/lib/modules/2.6.24.111/kernel/fs# ls -la
drwxr-xr-x   13 root     root           133 Mar 19 02:03 .
drwxr-xr-x    5 root     root            48 Mar 19 02:03 ..
drwxr-xr-x    2 root     root            24 Mar 19 02:03 cifs
drwxr-xr-x    2 root     root            24 Mar 19 02:03 ext2
drwxr-xr-x    2 root     root            24 Mar 19 02:03 ext3
drwxr-xr-x    2 root     root            23 Mar 19 02:03 fat
drwxr-xr-x    2 root     root            24 Mar 19 02:03 fuse
drwxr-xr-x    2 root     root            23 Mar 19 02:03 jbd
drwxr-xr-x    2 root     root            25 Mar 19 02:03 jffs2
-rw-r--r--    1 root     root          8592 Mar 19 02:03 mbcache.ko
drwxr-xr-x    2 root     root            25 Mar 19 02:03 msdos
drwxr-xr-x    2 root     root           181 Mar 19 02:03 nls
drwxr-xr-x    2 root     root            24 Mar 19 02:03 vfat
drwxr-xr-x    2 root     root            23 Mar 19 02:03 xfs
root@xxxxxxxx:/lib/modules/2.6.24.111/kernel/fs#


I can only see one module there, the others are directories where supposedly the modules reside.

@gatorback
Have you tried to attach an ext2 formatted drive?
ext3 is afaik backwards compatible with ext2 (ext3 minus journalling is ext2) so you shouldn't need the ext2 driver.
I even have some vague remembrance of seeing that mkfs can format ext3 without journal by using a cmd switch to mkfs.

_________________
I'm on a whiskey diet, lost 3 days already
gatorback
DD-WRT User


Joined: 04 Feb 2007
Posts: 357
Location: Fountain of Youth

PostPosted: Wed Apr 18, 2012 13:21    Post subject: Reply with quote
@lom: Thank you for commenting.

Quote:
I even have some vague remembrance of seeing that mkfs can format ext3 without journal by using a cmd switch to mkfs.


I did a Google search for mkfs, ext3, no journal but was not succesful in finding anything that would format ext3 sans journal: any guidance to a links \ examples?

@lom: Yes, EXT3 is the superset of EXT2 is my understanding as well. I was looking at the results, but wasn't sure because I was not successful in my attempt to mount the device to a directory:



The screenshot says it recognizes the EXT2 partition as partition 2.

Maybe I am not mounting it correctly:

Code:
root@FOXTROT:~# cat /proc/partitions
major minor  #blocks  name

   8     0    7759872 scsi/host0/bus0/target0/lun0/disc
   8     1      16033 scsi/host0/bus0/target0/lun0/part1
   8     2    7743330 scsi/host0/bus0/target0/lun0/part2
root@FOXTROT:~# ls -l /opt
-rwxrwxrwx    1 1000     1000       423424 Feb  4  2011 fs.gz
drwx------    2 root     root        12288 Mar 31  2012 lost+found
root@FOXTROT:~# mount scsi/host0/bus0/target0/lun0/part2 /mnt
root@FOXTROT:~# touch /mnt/test.txt
root@FOXTROT:~# ls /mnt/
root@FOXTROT:~# touch /opt/optText.txt
root@FOXTROT:~# ls -l /opt
-rwxrwxrwx    1 1000     1000       423424 Feb  4  2011 fs.gz
drwx------    2 root     root        12288 Mar 31  2012 lost+found
-rw-r--r--    1 root     root            0 Jan  3 13:08 optText.txt

root@FOXTROT:~# mount -o noatime mount scsi/host0/bus0/target0/lun0/part2 /mnt
root@FOXTROT:~# touch /mnt/test.txt
root@FOXTROT:~# ls /mnt/
root@FOXTROT:~#

root@FOXTROT:/# ls /mmc
root@FOXTROT:/# mount -o noatime mount scsi/host0/bus0/target0/lun0/part2 /mmc
root@FOXTROT:/# ls /mmc
root@FOXTROT:/# touch /mmc/test.txt
root@FOXTROT:/# ls /mmc
root@FOXTROT:/#

root@FOXTROT:/# mkdir /mnt/test
root@FOXTROT:/# mount -o noatime mount scsi/host0/bus0/target0/lun0/part2 /mnt/t
est
root@FOXTROT:/# touch /mnt/test/text.txt
root@FOXTROT:/# ls  /mnt/test/
root@FOXTROT:/# ls /mnt
root@FOXTROT:/#



Actionable suggestions are appreciated.

_________________
My Routers | RT-N16 Wiki | RT-N16 Mods
Peacock Flashing | Wireless N Conf | Linking Routers |
DD-WRT Wiki | DD-WRT Builds | Broadcom FAQ| QoS| OTRW
gatorback
DD-WRT User


Joined: 04 Feb 2007
Posts: 357
Location: Fountain of Youth

PostPosted: Wed Apr 18, 2012 17:41    Post subject: Reply with quote
Update: I realized that I have a WRT54GL deployed for a customer that sports DD-WRT v24-sp2 (10/10/09) voip (SVN revision 13064).

Code:
root@router:/# find . | grep ext2
./lib/modules/2.4.37/ext2.o
./sbin/mkfs.ext2
root@router:/# find . | grep ext3
./sbin/mkfs.ext3
root@router:/# pwd

root@router:/# ls -l /lib/modules/2.4.37/ext2.o
-rw-r--r--    1 root     root        64920 Oct  9  2009 /lib/modules/2.4.37/ext2.o

root@router:/# md5sum /lib/modules/2.4.37/ext2.o
de4e1a3971c46ef49c213dc8fd19f203  /lib/modules/2.4.37/ext2.o


I'm wondering ifcopying the two ext2 files from the WRT54GL to the ASUS target.

I'm hoping that LOM's comment that the EXT2 is unnecessary is correct and that someone will point out a way to mount the EXT2 partition: simple is better.

Otherwise, I will need to resort to inserting this module: hopefully someone will confirm that this will or will not work.

_________________
My Routers | RT-N16 Wiki | RT-N16 Mods
Peacock Flashing | Wireless N Conf | Linking Routers |
DD-WRT Wiki | DD-WRT Builds | Broadcom FAQ| QoS| OTRW
slobodan
DD-WRT Guru


Joined: 03 Nov 2011
Posts: 1254
Location: Zwolle

PostPosted: Wed Apr 18, 2012 19:15    Post subject: Reply with quote
1. There are plenty or recent/recommended firmwares which can be downloaded from dd-wrt.com.

2. My two cents: the kernel module will work if compiled for a similar processor. So, if your ASUS processor is backwards compatible with the processor of the WRT router, then you could use it. Otherwise simply rip the module from a big/mega firmware for similar ASUS routers.

I have installed the firmware mod kit with svn on Ubuntu Oneiric x64.

_________________
Asus RT-N16 running Merlin (latest), formerly used Kong 22000++ kingkong-nv32k-broadcom with OTRW2

E4200 V1 running Kong 22000++ kingkong-nv60k-broadcom with OTRW2

2 times Linksys WRT610N V2 converted to E3000 running Kong 22000++ usb-ftp-samba3-dlna-nv60k-broadcom with OTRW2 (bridged with LAN cable)


gatorback
DD-WRT User


Joined: 04 Feb 2007
Posts: 357
Location: Fountain of Youth

PostPosted: Sat Jul 14, 2012 17:11    Post subject: Which issue(s) need to be addressed? How? Reply with quote
I had shelve this project beause of family, but now that it is buttoned up (Rest in Peace dad), it is time to press forward. Several issues come up:

Issue 1: Suitability of ext2.o
=========================
I'm speculating that the ext2.0 from a BCM5352 chipset will work with a BCM5354 WL520GU shipset. Any discussion is appreciated.

Issue 2: Inserting kernel extension Inserting kernel extension
==============================================

I am not sure if the extension is properly inserted. Not sure how to verify other than what is shown here:

Code:
root@host:/jffs# lsmod
Module                  Size  Used by
etherip                 5104   0 (unused)
ip_nat_pptp             2560   0 (unused)
ip_conntrack_pptp       3036   1
ip_nat_proto_gre        1664   0 (unused)
ip_conntrack_proto_gre    2584   0 [ip_nat_pptp ip_conntrack_pptp]
ext3                   76932   1
jbd                    58280   1 [ext3]
usb-storage            40344   1
sd_mod                 13092   2
scsi_mod              101488   2 [usb-storage sd_mod]
usb-ohci               20352   0 (unused)
usbcore                84576   1 [usb-storage usb-ohci]
switch-robo             5356   0 (unused)
switch-core             6352   0 [switch-robo]

root@host:/jffs# insmod /jffs/ext2.o

root@host:/jffs# lsmod
Module                  Size  Used by
ext2                   43976   0 (unused)
etherip                 5104   0 (unused)
ip_nat_pptp             2560   0 (unused)
ip_conntrack_pptp       3036   1
ip_nat_proto_gre        1664   0 (unused)
ip_conntrack_proto_gre    2584   0 [ip_nat_pptp ip_conntrack_pptp]
ext3                   76932   1
jbd                    58280   1 [ext3]
usb-storage            40344   1
sd_mod                 13092   2
scsi_mod              101488   2 [usb-storage sd_mod]
usb-ohci               20352   0 (unused)
usbcore                84576   1 [usb-storage usb-ohci]
switch-robo             5356   0 (unused)
switch-core             6352   0 [switch-robo]
root@SNOWWHITE:/jffs# lsmod | grep ext2
ext2                   43976   0 (unused)


Somehow the jbd file is used by ext3. Should ext2 somehow be included? If yes then how? Maybe it should return something like this?

jbd 58280 1 [ext3 ext2]


Issue 3: Mounting the ext2 partition
===========================

USB Flashdrive Ext3 partition was remapped from /opt to /jffs. Attempt to mount ext2 partition to /opt:

Code:
root@host:/jffs# mount  scsi/host0/bus0/target0/lun0/part2 /opt

root@host:/jffs# mount
rootfs on / type rootfs (rw)
/dev/root on / type squashfs (ro)
none on /dev type devfs (rw)
proc on /proc type proc (rw)
ramfs on /tmp type ramfs (rw)
devpts on /proc/bus/usb type usbfs (rw)
/dev/discs/disc0/part1 on /jffs type ext3 (rw)


Would have liked to see:

/dev/discs/disc0/part2 on /opt type ext2 (rw)


Actionable guidance is appreciated. CLI commands are better. Thank you.

After this is resolved, the create a script to automagically mount the partition.

_________________
My Routers | RT-N16 Wiki | RT-N16 Mods
Peacock Flashing | Wireless N Conf | Linking Routers |
DD-WRT Wiki | DD-WRT Builds | Broadcom FAQ| QoS| OTRW


Last edited by gatorback on Mon Jul 16, 2012 15:52; edited 4 times in total
Goto page 1, 2  Next Display posts from previous:    Page 1 of 2
Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Broadcom SoC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum