Modify

Opened 7 years ago

Closed 6 years ago

Last modified 4 years ago

#9221 closed defect (no_response)

WNDR3700v1 pppoe (pppox.ko) fails to load on boot (extroot)

Reported by: redcow Owned by: developers
Priority: response-needed Milestone: Barrier Breaker 14.07
Component: packages Version: Trunk
Keywords: Cc:

Description

I'm using as router the netgear WNDR3700v1 with openwrt trunk r26583. I use extroot which works fine, but lately probably due to changes to the extroot package? (around r26314)? I have some strange filesystem behaviour, "pppox.ko" does not load on boot hence no pppoe.

log:

dmesg:
pppoe: Unknown symbol pppox_ioctl (err 0)
pppoe: Unknown symbol unregister_pppox_proto (err 0)
pppoe: Unknown symbol register_pppox_proto (err 0)
pppoe: Unknown symbol pppox_unbind_sock (err 0)
root@platypus /root# insmod pppoe
insmod: can't insert 'pppoe': unknown symbol in module, or unknown parameter

ls -lisa /lib/modules/2.6.37.6/pppox.ko
    642    4 -rw-r--r--    1 root     root          3816 Apr 11  2011 /lib/modules/2.6.37.6/pppox.ko

root@platypus /root# ls -lisa /rom/lib/modules/2.6.37.6/pppox.ko
    263    4 -rw-r--r--    1 root     root          3816 Apr 11  2011 /rom/lib/modules/2.6.37.6/pppox.ko

root@platypus /root# ls -lisa /lib/modules/2.6.37.6 |grep ppp*
    611    8 -rw-r--r--    1 root     root          7116 Apr 11  2011 nf_conntrack_pptp.ko
    623    4 -rw-r--r--    1 root     root          3728 Apr 11  2011 nf_nat_pptp.ko
    638   12 -rw-r--r--    1 root     root         10832 Apr 11  2011 ppp_async.ko
    639   32 -rw-r--r--    1 root     root         30972 Apr 11  2011 ppp_generic.ko
    640   12 -rw-r--r--    1 root     root          9024 Apr 11  2011 ppp_mppe.ko
    641   16 -rw-r--r--    1 root     root         13700 Apr 11  2011 pppoe.ko

root@platypus /root# ls -lisa /rom/lib/modules/2.6.37.6 |grep ppp*
    244    7 -rw-r--r--    1 root     root          7116 Apr 11  2011 nf_conntrack_pptp.ko
    214    4 -rw-r--r--    1 root     root          3728 Apr 11  2011 nf_nat_pptp.ko
    275   11 -rw-r--r--    1 root     root         10832 Apr 11  2011 ppp_async.ko
    235   30 -rw-r--r--    1 root     root         30972 Apr 11  2011 ppp_generic.ko
    213    9 -rw-r--r--    1 root     root          9024 Apr 11  2011 ppp_mppe.ko
    274   13 -rw-r--r--    1 root     root         13700 Apr 11  2011 pppoe.ko
    263    4 -rw-r--r--    1 root     root          3816 Apr 11  2011 pppox.ko


root@platypus /root# df -h
Filesystem                Size      Used Available Use% Mounted on
/dev/root                 5.8M      5.8M         0 100% /rom
tmpfs                    30.3M    296.0K     30.0M   1% /tmp
tmpfs                   512.0K         0    512.0K   0% /dev
/dev/sda1                 1.8G      1.0G    640.1M  63% /overlay
overlayfs:/overlay        1.8G      1.0G    640.1M  63% /

root@platypus /root# insmod /lib/modules/2.6.37.6/pppox.ko
root@platypus /root# lsmod|grep ppp
pppox                   1152  0
ppp_mppe                4752  0
ppp_async               6000  0
crc_ccitt                944  1 ppp_async
ppp_generic            18384  3 pppox,ppp_mppe,ppp_async
slhc                    4000  1 ppp_generic

I have to load manually the pppox.ko module, loading it with "insmod pppox.ko" fails thats probably the reason why it fails to autoload on boot.

The strange thing is as the log shows that "ls -lisa /lib/modules/2.6.37.6" and "ls -lisa /rom/lib/modules/2.6.37.6" show a different outcome eventhough, so it seems like a filesystem error, but the usb stick and the filesystem as the directory structure is just fine.

Attachments (0)

Change History (15)

comment:1 Changed 7 years ago by anonymous

Same with a WNDR3700v2 Router here, r26801. I use only the internal memory, so no USB stick or something. Same error with pppoe.

comment:2 Changed 7 years ago by anonymous

Same problem here with arokh's build 27153 for WNDR3700v1. PPPOE worked fine after flashing but after installing the fat fs kernel module the same error as described by redcow happened. I get the same log as redcow above. The strange thing is, you can rename pppox.ko to pppox2.ko and it shows up doing an ls. Renaming it back to pppox.ko and it is (somehow) hidden again.

comment:3 Changed 7 years ago by arokh <trondah@…>

I believe this is the exact same problem as I am having:

https://forum.openwrt.org/viewtopic.php?id=30820

A file that exists on the extroot filesystem "disappears" when overlaid with /rom. You can't see it when doing an ls, but if you ls the specific filename, it's there.

comment:4 Changed 7 years ago by jow

Was there kernel built with xattr support?

comment:5 Changed 7 years ago by arokh <trondah@…>

Yes, default trunk kernel options. I only build in ext4 support though, perhaps it would work with the ext3 module instead?

comment:6 Changed 7 years ago by arokh <trondah@…>

It didn't.

comment:7 Changed 7 years ago by nbd

is this still an issue with the current 2.6.39 builds?

comment:8 Changed 7 years ago by arokh <trondah@…>

I would think so, there's been no changes to the overlayfs patch as far as I know and this has been an issue for a very long time. Is anybody using extroot on ar71xx at all?

comment:9 Changed 7 years ago by nbd

the 2.6.39 overlayfs patch is different from the 2.6.37 one. please try it.

comment:10 Changed 7 years ago by arokh <trondah@…>

I already did, my report is from 2.6.39.3.

comment:11 Changed 7 years ago by nbd

OK, I'll update overlayfs to the latest version soon

comment:12 Changed 6 years ago by mkisto@…

I'm having same problem here with r28173 on a TL-MR3220. In my case, nf_conncrack.ko is disappearing.

comment:13 Changed 6 years ago by jogo

  • Priority changed from high to response-needed

please try with latest trunk, I updated overlayfs, which includes several fixes.

comment:14 Changed 6 years ago by nbd

  • Resolution set to no_response
  • Status changed from new to closed

comment:15 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.