WRT54G-TM / MMC Mod broken after 19342

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


Joined: 11 Apr 2009
Posts: 257
Location: UK

PostPosted: Tue Mar 30, 2021 9:28    Post subject: Reply with quote
lsmod


lsmod.txt
 Description:

Download
 Filename:  lsmod.txt
 Filesize:  991 Bytes
 Downloaded:  74 Time(s)

Sponsor
StillBlue
DD-WRT User


Joined: 11 Apr 2009
Posts: 257
Location: UK

PostPosted: Tue Mar 30, 2021 9:37    Post subject: Reply with quote
Just for completeness, this is the partition table of the card, and the startup script to mount the partitions.

I have just tried with a blank card with 1 partition and no startup script, but the same results.



SDPartitions.png
 Description:
 Filesize:  44.2 KB
 Viewed:  1449 Time(s)

SDPartitions.png



StartupScript.png
 Description:
 Filesize:  4.38 KB
 Viewed:  1449 Time(s)

StartupScript.png


kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 14125
Location: Texas, USA

PostPosted: Tue Mar 30, 2021 11:45    Post subject: Reply with quote
Is neither ext2.o or ext3.o present in /lib/modules/2.4.37/ still?
_________________
"Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT
Pogo - A minimal level of ability is expected and needed...
DD-WRT Releases 2023 (PolitePol)
DD-WRT Releases 2023 (RSS Everything)

----------------------
Linux User #377467 counter.li.org / linuxcounter.net
StillBlue
DD-WRT User


Joined: 11 Apr 2009
Posts: 257
Location: UK

PostPosted: Tue Mar 30, 2021 11:50    Post subject: Reply with quote
No, neither. /lib/modules/2.4.37/ is the same as before.
kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 14125
Location: Texas, USA

PostPosted: Tue Mar 30, 2021 12:33    Post subject: Reply with quote
And unless it's suppressed, it is not showing that the driver for ext* filesystem is loading in any of your logs. I already sent and update email to BrainSlayer, no response yet, and I have not seen anything in the commits on svn.
_________________
"Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT
Pogo - A minimal level of ability is expected and needed...
DD-WRT Releases 2023 (PolitePol)
DD-WRT Releases 2023 (RSS Everything)

----------------------
Linux User #377467 counter.li.org / linuxcounter.net
blkt
DD-WRT Guru


Joined: 20 Jan 2019
Posts: 5660

PostPosted: Tue Mar 30, 2021 14:48    Post subject: Reply with quote
https://svn.dd-wrt.com/changeset/46217
StillBlue
DD-WRT User


Joined: 11 Apr 2009
Posts: 257
Location: UK

PostPosted: Tue Mar 30, 2021 15:47    Post subject: Reply with quote
OK, a workaround.

Literally just extracting 46177 and putting the ext2.o mod in /lib/modules/2.4.37/ and rebuilding it fixes the issue.

I have done nothing else to the image other than copying the module into it.



SDCardMounted.png
 Description:
 Filesize:  44.85 KB
 Viewed:  1264 Time(s)

SDCardMounted.png




Last edited by StillBlue on Tue Mar 30, 2021 22:05; edited 3 times in total
StillBlue
DD-WRT User


Joined: 11 Apr 2009
Posts: 257
Location: UK

PostPosted: Tue Mar 30, 2021 16:53    Post subject: Reply with quote
So, I have tested 46177 with the ext2.o module added, and the data on the SD card survives reboot and everything works perfectly.

I have tried with 46205 and nothing I do seems to make that work. The Card Info does not show up in the GUI, and adding the ext2.o module does nothing to it either.
kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 14125
Location: Texas, USA

PostPosted: Wed Mar 31, 2021 1:53    Post subject: Reply with quote
It will be fixed in the next release. Sorry, I was not watching the forum like a hawk today, and I do not cruise the forum on my phone; here's a new image to test for 46220.


dd-wrt.v24_mega_generic.bin
 Description:

Download
 Filename:  dd-wrt.v24_mega_generic.bin
 Filesize:  7.02 MB
 Downloaded:  72 Time(s)


_________________
"Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT
Pogo - A minimal level of ability is expected and needed...
DD-WRT Releases 2023 (PolitePol)
DD-WRT Releases 2023 (RSS Everything)

----------------------
Linux User #377467 counter.li.org / linuxcounter.net
StillBlue
DD-WRT User


Joined: 11 Apr 2009
Posts: 257
Location: UK

PostPosted: Wed Mar 31, 2021 8:03    Post subject: Reply with quote
I was quite happy pottering with it yesterday, seeing if I could get anything to work. It was handy doing the workaround anyway, as it helped me familiarise myself with the Firmware Modification Toolkit.

Have flashed 46220 now, and the same as 46205, no card info in the GUI and not mounted. ext2.o is now in /lib/modules/2.4.37/

Logs to follow.



dmesg 46220.txt
 Description:
dmesg r46220

Download
 Filename:  dmesg 46220.txt
 Filesize:  5.52 KB
 Downloaded:  65 Time(s)


messages 46220.txt
 Description:
syslog+klog r46220

Download
 Filename:  messages 46220.txt
 Filesize:  13.88 KB
 Downloaded:  55 Time(s)


Serial 46220.txt
 Description:
Serial Log r46220

Download
 Filename:  Serial 46220.txt
 Filesize:  14.72 KB
 Downloaded:  63 Time(s)



Last edited by StillBlue on Wed Mar 31, 2021 11:56; edited 3 times in total
StillBlue
DD-WRT User


Joined: 11 Apr 2009
Posts: 257
Location: UK

PostPosted: Wed Mar 31, 2021 8:20    Post subject: Reply with quote
lsmod r46220


lsmod 46220.txt
 Description:
lsmod r46220

Download
 Filename:  lsmod 46220.txt
 Filesize:  991 Bytes
 Downloaded:  74 Time(s)

kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 14125
Location: Texas, USA

PostPosted: Wed Mar 31, 2021 13:16    Post subject: Reply with quote
You should probably try adding 'insmod ext2' as the first line in your startup script to see if that fixes it. I am not sure if anything was done from the time the alpha was posted on the private ftp to the actual release today, but 46220 is now public beta.
_________________
"Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT
Pogo - A minimal level of ability is expected and needed...
DD-WRT Releases 2023 (PolitePol)
DD-WRT Releases 2023 (RSS Everything)

----------------------
Linux User #377467 counter.li.org / linuxcounter.net
StillBlue
DD-WRT User


Joined: 11 Apr 2009
Posts: 257
Location: UK

PostPosted: Wed Mar 31, 2021 15:38    Post subject: Reply with quote
r46220 Alpha and Beta are both the same

MD5 Hash
8EA9C790515DAC050B541595CDB9B6FA


I have tried adding 'insmod ext2' at the start of my startup script, but no difference, still not showing the card details in the GUI and not mounting.

As my workaround worked for r46177 by just adding the ext2.o module to /lib/modules/2.4.37/, my guess is that either https://svn.dd-wrt.com/changeset/46188 or https://svn.dd-wrt.com/changeset/46189 or https://svn.dd-wrt.com/changeset/46217 or all of them, has fixed (broken) a problem that didn't need to be fixed.
StillBlue
DD-WRT User


Joined: 11 Apr 2009
Posts: 257
Location: UK

PostPosted: Thu Apr 01, 2021 9:24    Post subject: Reply with quote
I guess there is no time like the present to learn a bit more.

I will have a look at those revisions and see if I can work out which one breaks it.



From Source.png
 Description:
 Filesize:  140 KB
 Viewed:  1048 Time(s)

From Source.png




Last edited by StillBlue on Sun Apr 04, 2021 20:42; edited 1 time in total
kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 14125
Location: Texas, USA

PostPosted: Thu Apr 01, 2021 14:00    Post subject: Reply with quote
There is a thread in Generic forum, "Compiling DD-WRT", which is a must read. That wiki is profusely outdated. And the currently published toolchains are not updated. Fair warning. You can likely contact yoyoma2 and egc via PM and get more info.
_________________
"Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT
Pogo - A minimal level of ability is expected and needed...
DD-WRT Releases 2023 (PolitePol)
DD-WRT Releases 2023 (RSS Everything)

----------------------
Linux User #377467 counter.li.org / linuxcounter.net
Goto page Previous  1, 2, 3  Next Display posts from previous:    Page 2 of 3
Post new topic   Reply to topic    DD-WRT 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