First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 140051
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Christian Heim (RETIRED) <phreak@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: lefti <lefti@bk.ru>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 140051 depends on: Show dependency tree
Bug 140051 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-07-11 16:29 0000
In /etc/init.d/lm_sensors is\ 'ebegin "  Loading i2c-core"
modprobe i2c-core &> /dev/null' in start(), but there isn't rmmod in stop() 
(with check in start(), if module is already loaded).
And i also think modules, which is loaded as dependecies for MODULE_n in
conf.d/lm_sensors, aren't rmmomded on stop() too.

------- Comment #1 From Christian Heim (RETIRED) 2006-07-15 15:53:51 0000 -------
Well, the MODULE_n's from the config are unloaded on stop ..

  81                 # find the highest possible MODULE_ number
  82                 i=0
  83                 while true; do
  84                         module=`eval echo '$'MODULE_${i}`
  85                         if [ -z "${module}" ] ; then
  86                                 break
  87                         fi
  88                         i=$((i+1))
  89                 done
  90
  91                 while [ ${i} -gt 0 ]; do
  92                         i=$((i-1))
  93                         module=`eval echo '$'MODULE_${i}`
  94                         ebegin "  Unloading ${module}"
  95                         rmmod ${module} &> /dev/null
  96                         eend $?
  97                 done

But the i2c-core module isn't unloaded. Will fix that first thing in the
morning.

------- Comment #2 From Christian Heim (RETIRED) 2006-07-16 02:23:08 0000 -------
Should be fixed in CVS now.

 105                 if [[ -e /sys/bus/i2c || /sys/i2c ]] ; then
 106                         ebegin "  Unloading i2c-core"
 107                         rmmod i2c-core &> /dev/null
 108                         eend $?
 109                 fi

------- Comment #3 From Christian Heim (RETIRED) 2006-07-16 02:25:16 0000 -------
Meh, again I should really mark it FIXED if its fixed in CVS.

First Last Prev Next    No search results available      Search page      Enter new bug