Modify

Opened 12 years ago

Closed 12 years ago

Last modified 4 years ago

#210 closed defect (fixed)

switch-* modules loaded twice at startup

Reported by: wtzm Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: base system Version: 2.0
Keywords: Cc:

Description

switch-core, switch-robo and switch-adm are loaded first by hotplug in 09-net and then another attempt to insmod them is done by /etc/modules.d/50-switch (which is generate by the Makefile of the switch package), which obviously fails.

Proposed patch:

Index: Makefile
===================================================================
--- Makefile	(revision 2944)
+++ Makefile	(working copy)
@@ -31,11 +31,7 @@
 	
 $(IPKG_KMOD_SWITCH):
 	install -m0755 -d $(IDIR_KMOD_SWITCH)/lib/modules/$(LINUX_VERSION)
-	install -m0755 -d $(IDIR_KMOD_SWITCH)/etc/modules.d
 	cp -fpR $(PKG_BUILD_DIR)/*.$(LINUX_KMOD_SUFFIX) \
 		$(IDIR_KMOD_SWITCH)/lib/modules/$(LINUX_VERSION)
-	echo "switch-core" > $(IDIR_KMOD_SWITCH)/etc/modules.d/50-switch
-	echo "switch-robo" >> $(IDIR_KMOD_SWITCH)/etc/modules.d/50-switch
-	echo "switch-adm" >> $(IDIR_KMOD_SWITCH)/etc/modules.d/50-switch
 	$(IPKG_BUILD) $(IDIR_KMOD_SWITCH) $(PACKAGE_DIR)

Attachments (0)

Change History (2)

comment:1 Changed 12 years ago by nbd

  • Milestone set to 2.0
  • Resolution set to fixed
  • Status changed from new to closed
  • Version set to 2.0

fixed in [2982]

comment:2 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.