WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: vlan didn't work  (Read 10580 times)

Offline Shuro

  • Newbie
  • *
  • Posts: 7
vlan didn't work
« on: July 21, 2010, 05:33:29 AM »
Hello, on Tiny Core v3.0 vlan is included, but useless because in the kernel is this configured "# CONFIG_VLAN_8021Q is not set" and there is no 8021q module.

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 10963
Re: vlan didn't work
« Reply #1 on: July 21, 2010, 05:47:04 AM »
vconfig was enabled in busybox before, in 2.x, as well. Good point though.
The only barriers that can stop you are the ones you create yourself.

Offline Shuro

  • Newbie
  • *
  • Posts: 7
Re: vlan didn't work
« Reply #2 on: July 21, 2010, 06:29:08 AM »
Thanks, i hope this is fixed soon...for now i build my own kernel.

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 10963
Re: vlan didn't work
« Reply #3 on: July 21, 2010, 06:35:55 AM »
Why not just build the module, and submit an extension?
The only barriers that can stop you are the ones you create yourself.

Offline Shuro

  • Newbie
  • *
  • Posts: 7
Re: vlan didn't work
« Reply #4 on: July 21, 2010, 10:40:56 PM »
Iam new and i dont know how to submit an extension, but i made the module :-)

Hope that this helps.

--EDIT--

Okay, cnew problems, when i try to load the module with modprobe it says:
Code: [Select]
modprobe: can't load module 8021q (kernel/net/8021q/8021q.ko.gz): unknown symbol in module, or unknown parameter
dmesg give me more info:
Code: [Select]
8021q: Unknown symbol vlan_dev_vlan_id
hope some one can help.
« Last Edit: July 21, 2010, 11:40:17 PM by Shuro »

Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14553
Re: vlan didn't work
« Reply #5 on: July 21, 2010, 11:41:24 PM »

Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14553
Re: vlan didn't work
« Reply #6 on: July 21, 2010, 11:44:02 PM »
modprobe: can't load module 8021q (kernel/net/8021q/8021q.ko.gz): unknown symbol in module, or unknown parameter

This often means that the module depends on another module that is not loaded nor loadable.

Does "modinfo 8021q" show any missing deps? Did you do "depmod -a" to be sure the modules list was updated (tce-load would do this anyway)? Is your new module in the correct "tc location" for modules (see the .list file for any current module extensions to see where to put your module)?
« Last Edit: July 21, 2010, 11:46:32 PM by Juanito »

Offline Shuro

  • Newbie
  • *
  • Posts: 7
Re: vlan didn't work
« Reply #7 on: July 22, 2010, 12:17:49 AM »
okay, i didn't changed anything...now modprobe 8021q works & vlan works too.

modinfo 8021q says:
Code: [Select]
filename: kernel/net/8021q/8021q.ko.gz
license: GPL
vermagic: 2.6.33.3-tinycore SMP mod_unload 486

where i configure that tinycore load this module on startup?

Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14553
Re: vlan didn't work
« Reply #8 on: July 22, 2010, 04:32:51 AM »
If you make a tcz extension out of the module and list that extension in onboot.lst, it will be loaded automatically on start-up - you can use cpanel/appsaudit to modify onboot.lst

Offline Shuro

  • Newbie
  • *
  • Posts: 7
Re: vlan didn't work
« Reply #9 on: July 22, 2010, 04:37:12 AM »
okay, thanks...but tinycore did not load that module by loading the extension, or?

Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14553
Re: vlan didn't work
« Reply #10 on: July 22, 2010, 04:44:58 AM »
okay, thanks...but tinycore did not load that module by loading the extension, or?

Ah - it could be/probably is that udev did not recognise the need to load that module once the extension was loaded - in this case you can put "modprobe module_name" in bootlocal.sh

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 10963
Re: vlan didn't work
« Reply #11 on: July 22, 2010, 09:26:55 AM »
IIRC the kernel is lately getting smart enough to load non-hw modules when something tries to use them, ie vconfig in this case. Not sure if that works though, add a modprobe to be sure.
The only barriers that can stop you are the ones you create yourself.