Jump to content


Photo

lib/modules read-only


  • Please log in to reply
5 replies to this topic

#1
Muji12

Muji12

    Newbie

  • Members
  • Pip
  • 11 posts
  • Devices:Advent Vega
So I'm on HoneyIce (latest version 3.2.7 I think) trying to get USB ethernet working. I have an ASIX AX88772 based adapter. I've found instructions on this page:
http://www.modaco.co...t-for-the-vega/

...but I need to move the downloaded "asix.ko" to to /system/lib/modules

I've spent an entire day trying to do this and have not been able to figure it out. I tried Root Explorer, and though the /system/ directory is writable, system/lib/modules isn't. Within "modules" nothing happens when I click "Mount R/W".

When I try and change permissions of the modules folder it says "modules permissions cannot be changed because the file system is read-only". If I try and change the owner it says "modules owner cannot be changed because the file system is read-only"

"adb push" is also giving me the same problem. ie "cannot copy ... to ... : Read-only file system"

I've tried a million other things, but nothing has made it possible to write to this directory. Can someone help here? How can I write to the lib/modules dir?

Many thanks

Edited by Muji12, 14 May 2012 - 10:10 AM.

  • 0

#2
GedBlake

GedBlake

    Regular

  • Members
  • PipPip
  • 88 posts
  • Gender:Male
  • Location:Ashton-under-Lyne, near Manchester, UK
  • Interests:Philosophy, Tech, Sci-Fi, Prog Rock
  • Devices:Advent Vega, Nexus 7

So I'm on HoneyIce (latest version 3.2.7 I think) trying to get USB ethernet working. I have an ASIX AX88772 based adapter. I've found instructions on this page:
http://www.modaco.co...t-for-the-vega/

...but I need to move the downloaded "asix.ko" to to /system/lib/modules

I've spent an entire day trying to do this and have not been able to figure it out. I tried Root Explorer, and though the /system/ directory is writable, system/lib/modules isn't. Within "modules" nothing happens when I click "Mount R/W".

When I try and change permissions of the modules folder it says "modules permissions cannot be changed because the file system is read-only". If I try and change the owner it says "modules owner cannot be changed because the file system is read-only"

"adb push" is also giving me the same problem. ie "cannot copy ... to ... : Read-only file system"

I've tried a million other things, but nothing has made it possible to write to this directory. Can someone help here? How can I write to the lib/modules dir?

Many thanks


Hi, Muji12...

HoneyIce 3.2.7 RC3 (Chimera) uses SquashFS ( http://en.wikipedia.org/wiki/SquashFS )... meaning that all the files in /system/lib are actually stored in a single SquashFS file called lib.sfs - (loosely analagous to a .ZIP archive.)

To add asix.ko, would require a new updated lib.sfs (incorporating asix.ko) to be copied into /system - which I think can only be "built" on a Linux system...

...or at least, this is my understanding.

GED.

Edited by GedBlake, 15 May 2012 - 02:04 PM.

  • 0
"Good Judgement Comes with Experience, but Experience Comes from Bad Judgement"

“No one is useless in this world who lightens the burdens of another.”
~ Charles Dickens ~

Advent Vega: VegaBean Beta 6 with 1GB ext2+zRam
Nexus 7 (16GB) WiFi: MoDaCo CyanogenMod10.1, r11 (JellyBean 4.2.2, JDQ39) and franco #58 kernel

#3
Scanno

Scanno

    Diehard

  • MoDaCo Silver
  • PipPipPipPip
  • 437 posts
  • Location:Arnhem
  • Devices:HTC Desire Z, POV Mobii Tegra

So I'm on HoneyIce (latest version 3.2.7 I think) trying to get USB ethernet working. I have an ASIX AX88772 based adapter. I've found instructions on this page:
http://www.modaco.co...t-for-the-vega/

...but I need to move the downloaded "asix.ko" to to /system/lib/modules

I've spent an entire day trying to do this and have not been able to figure it out. I tried Root Explorer, and though the /system/ directory is writable, system/lib/modules isn't. Within "modules" nothing happens when I click "Mount R/W".

When I try and change permissions of the modules folder it says "modules permissions cannot be changed because the file system is read-only". If I try and change the owner it says "modules owner cannot be changed because the file system is read-only"

"adb push" is also giving me the same problem. ie "cannot copy ... to ... : Read-only file system"

I've tried a million other things, but nothing has made it possible to write to this directory. Can someone help here? How can I write to the lib/modules dir?

Many thanks


Try putting it in /vendor/lib/modules

Edited by Scanno, 15 May 2012 - 02:17 PM.

  • 0
If you feel VegaCream is worth it and would like to show your gratitude (the donate link is added on request):
Posted Image
AND also do NOT forget about ejtagle and brucelee666 for their great work.

#4
Muji12

Muji12

    Newbie

  • Members
  • Pip
  • 11 posts
  • Devices:Advent Vega
Thanks guys. Scanno, unfortunately I can't seem to install the driver when it is there. insmod returns "can't insert... invalid module format'.

Can I ask - does your VegaCream support USB ethernet? Is it possible to get it working in it?

Edited by Muji12, 15 May 2012 - 07:04 PM.

  • 0

#5
Scanno

Scanno

    Diehard

  • MoDaCo Silver
  • PipPipPipPip
  • 437 posts
  • Location:Arnhem
  • Devices:HTC Desire Z, POV Mobii Tegra

Thanks guys. Scanno, unfortunately I can't seem to install the driver when it is there. insmod returns "can't insert... invalid module format'.

Can I ask - does your VegaCream support USB ethernet? Is it possible to get it working in it?

I guess that will need a kernel recompile with the driver enabled, if it is part of the linux kernel.

  • 0
If you feel VegaCream is worth it and would like to show your gratitude (the donate link is added on request):
Posted Image
AND also do NOT forget about ejtagle and brucelee666 for their great work.

#6
Muji12

Muji12

    Newbie

  • Members
  • Pip
  • 11 posts
  • Devices:Advent Vega
Ah, that's a little over my head I'm afraid. Thanks anyhow. Do you think we can look forward to USB ethernet support in any upcoming releases of VegaCream or any of the ICS ROMs? Or looking unlikely?

  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users