/sys not mounted at boot on a 2.6 kernel
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
sysvinit (Debian) |
Fix Released
|
Unknown
|
|||
sysvinit (Ubuntu) |
Fix Released
|
High
|
Unassigned |
Bug Description
Automatically imported from Debian bug report #266361 http://
In Debian Bug tracker #266361, Aurelien Jarno (aurelien-aurel32) wrote : Re: Bug#266227: lm-sensors doesn't start and doesn't provide any information how to solve this problem | #1 |
In Debian Bug tracker #266361, Aurelien Jarno (aurelien-aurel32) wrote : Re: Processed: Re: Bug#266227: lm-sensors doesn't start and doesn't provide any information how to solve this problem | #2 |
clone 266227 -1
reassign -1 initscripts
retitle -1 /sys not mounted at boot on a 2.6 kernel
retitle 266227 Should explain how to configure
severity 266227 minor
thanks
--
.''`. Aurelien Jarno GPG: 1024D/F1BCDB73
: :' : Debian GNU/Linux developer | Electrical Engineer
`. `' <email address hidden> | <email address hidden>
`- people.
In Debian Bug tracker #266361, Thomas Hood (jdthood-yahoo) wrote : severity of 266361 is important | #3 |
severity 266361 important
In Debian Bug tracker #266361, Thomas Hood (jdthood-aglu) wrote : sysfs is mounted by current initscripts | #4 |
The current initscripts does mount sysfs on /sys.
The user should upgrade his initscripts package.
--
Thomas Hood
Debian Bug Importer (debzilla) wrote : | #5 |
Automatically imported from Debian bug report #266361 http://
Debian Bug Importer (debzilla) wrote : | #6 |
Message-Id: <email address hidden>
Date: Tue, 17 Aug 2004 07:01:16 +0300
From: =?iso-8859-
To: Debian Bug Tracking System <email address hidden>
Subject: lm-sensors doesn't start and doesn't provide any information how to solve
this problem
Package: lm-sensors
Version: 2.8.7-2
Severity: grave
Justification: renders package unusable
I'm trying to get working lm-sensors on debian:
dubrava:
[...]
Setting up lm-sensors (2.8.7-2) ...
Gtk-WARNING **: cannot open display:
debconf: unable to initialize frontend: Gnome
debconf: (DISPLAY problem?)
debconf: falling back to frontend: Dialog
Creating config file /etc/sensors.conf with new version
cp -f /usr/share/
cp -f /usr/share/
Setting sensors limits:Can't access procfs/sysfs file
Unable to find i2c bus information;
For 2.6 kernels, make sure you have mounted sysfs and done
'modprobe i2c_sensor'!
For older kernels, make sure you have done 'modprobe i2c-proc'!
Can't access procfs/sysfs file
Unable to find i2c bus information;
For 2.6 kernels, make sure you have mounted sysfs and done
'modprobe i2c_sensor'!
For older kernels, make sure you have done 'modprobe i2c-proc'!
done.
As I don't know what is sysfs (procfs is mountend automatically on my
system by discover) and didn't got any debconf prompts about mounting
sysfs, so I did 'modprobe i2c_sensor' and then did:
dubrava:
Setting sensors limits:Can't access procfs/sysfs file
Unable to find i2c bus information;
For 2.6 kernels, make sure you have mounted sysfs and done
'modprobe i2c_sensor'!
For older kernels, make sure you have done 'modprobe i2c-proc'!
Can't access procfs/sysfs file
Unable to find i2c bus information;
For 2.6 kernels, make sure you have mounted sysfs and done
'modprobe i2c_sensor'!
For older kernels, make sure you have done 'modprobe i2c-proc'!
done.
It seems same shit again :(
Then I've read in /usr/share/
2.6 kernels
Once you have your kernel properly configured, you need to probe for the
sensors available on your system. You can use the sensors-detect program to
do this.
Hehe, if it's so simple, why don't offer debconf prompt for user about this?
OK, then I started sensors-detect program pressed Enter several times and
got this info in terminal:
To make the sensors modules behave correctly, add these lines to
/etc/modules:
#----cut here----
# I2C adapter drivers
i2c-isa
# I2C chip drivers
w83627hf
#----cut here----
Then, run /etc/init.
To make the sensors modules behave correctly, add these lines to
/etc/modprobe.
#----cut here----
# I2C module options
alias char-major-89 i2c-dev
#----cut here----
I copied info into /etc/modules, then copied another part into
/etc/modprobe.
and found, that the same alias is in /etc/modprobe.
One more bug :( Also I think it's not hard to mak...
Debian Bug Importer (debzilla) wrote : | #7 |
Message-ID: <email address hidden>
Date: Tue, 17 Aug 2004 19:37:32 +0200
From: Aurelien Jarno <email address hidden>
To: Mantas =?utf-8?
<email address hidden>
Cc: Miquel van Smoorenburg <email address hidden>
Subject: Re: Bug#266227: lm-sensors doesn't start and doesn't provide any information how to solve
this problem
clone 266227
reassign -1 initscripts
retitle -1 /sys not mounted at boot on a 2.6 kernel
retitle 266227 Should explain how to configure
severity 26627 minor
thanks
[ For the initscripts maintainer, in short the problem is that
/sys is not mounted at boot time in a system using a 2.6 kernel. ]
On Tue, Aug 17, 2004 at 07:01:16AM +0300, Mantas Kriaučiūnas wrote:
> Package: lm-sensors
> Version: 2.8.7-2
> Severity: grave
> Justification: renders package unusable
>
> I'm trying to get working lm-sensors on debian:
>
> dubrava:
>
> [...]
>
> Setting up lm-sensors (2.8.7-2) ...
>
> Gtk-WARNING **: cannot open display:
> debconf: unable to initialize frontend: Gnome
> debconf: (DISPLAY problem?)
> debconf: falling back to frontend: Dialog
>
> Creating config file /etc/sensors.conf with new version
> cp -f /usr/share/
> cp -f /usr/share/
> Setting sensors limits:Can't access procfs/sysfs file
> Unable to find i2c bus information;
> For 2.6 kernels, make sure you have mounted sysfs and done
> 'modprobe i2c_sensor'!
> For older kernels, make sure you have done 'modprobe i2c-proc'!
> Can't access procfs/sysfs file
> Unable to find i2c bus information;
> For 2.6 kernels, make sure you have mounted sysfs and done
> 'modprobe i2c_sensor'!
> For older kernels, make sure you have done 'modprobe i2c-proc'!
> done.
>
>
> As I don't know what is sysfs (procfs is mountend automatically on my
> system by discover) and didn't got any debconf prompts about mounting
> sysfs, so I did 'modprobe i2c_sensor' and then did:
sysfs should be mounted on a 2.6 kernel. It is the jobs of initscripts,
and it is surprising that it is not mounted at boot time.
> dubrava:
> Setting sensors limits:Can't access procfs/sysfs file
> Unable to find i2c bus information;
> For 2.6 kernels, make sure you have mounted sysfs and done
> 'modprobe i2c_sensor'!
> For older kernels, make sure you have done 'modprobe i2c-proc'!
> Can't access procfs/sysfs file
> Unable to find i2c bus information;
> For 2.6 kernels, make sure you have mounted sysfs and done
> 'modprobe i2c_sensor'!
> For older kernels, make sure you have done 'modprobe i2c-proc'!
> done.
>
> It seems same shit again :(
>
> Then I've read in /usr/share/
>
> 2.6 kernels
>
> Once you have your kernel properly configured, you need to probe for the
> sensors available on your system. You can use the sensors-detect program to
> do this.
>
> Hehe, if it's so simple, why don't offer debconf prompt for user about this?
Simply because the Debian Policy forbids to do that. Moreover, the "Once
you have your kernel prop...
Debian Bug Importer (debzilla) wrote : | #8 |
Message-ID: <email address hidden>
Date: Tue, 17 Aug 2004 20:06:03 +0200
From: Aurelien Jarno <email address hidden>
To: <email address hidden>
Subject: Re: Processed: Re: Bug#266227: lm-sensors doesn't start and doesn't provide any information
how to solve this problem
clone 266227 -1
reassign -1 initscripts
retitle -1 /sys not mounted at boot on a 2.6 kernel
retitle 266227 Should explain how to configure
severity 266227 minor
thanks
--
.''`. Aurelien Jarno GPG: 1024D/F1BCDB73
: :' : Debian GNU/Linux developer | Electrical Engineer
`. `' <email address hidden> | <email address hidden>
`- people.
Debian Bug Importer (debzilla) wrote : | #9 |
Message-Id: <20040817185921
Date: Tue, 17 Aug 2004 20:59:21 +0200 (CEST)
From: <email address hidden> (Thomas Hood)
To: <email address hidden>
Subject: severity of 266361 is important
severity 266361 important
Debian Bug Importer (debzilla) wrote : | #10 |
Message-Id: <email address hidden>
Date: Tue, 17 Aug 2004 21:03:18 +0200
From: Thomas Hood <email address hidden>
To: <email address hidden>
Subject: sysfs is mounted by current initscripts
The current initscripts does mount sysfs on /sys.
The user should upgrade his initscripts package.
--
Thomas Hood
Matt Zimmerman (mdz) wrote : | #11 |
Likewise for Warty
In Debian Bug tracker #266361, Mantas Kriaučiūnas (mantas) wrote : reopen 266361 | #12 |
reopen 266361
In Debian Bug tracker #266361, Mantas Kriaučiūnas (mantas) wrote : /sys isn't mounted after installing new initscripts | #13 |
It seems initscripts has problems with mounting /sys :
----- Forwarded message from Aurelien Jarno <email address hidden> -----
From: Aurelien Jarno <email address hidden>
On Fri, Sep 03, 2004 at 02:43:45PM +0300, AKL. Mantas Kriauciunas wrote:
[...]
> I have sysvinit version 2.86-1 installed, but /sys dicectory is still
> emply in my system. I'm using 2.6.5-1-k7 kernel image.
> Maybe problem is in initscripts (version 2.86-1) package, I think
> postinst of sysvinit and initscripts should check if /sys is mounted and
> if not - then call "/etc/init.
> working /sys and lm-sensors when I did:
>
> dubrava:
> dubrava:
> block bus class devices firmware power
> dubrava:
> Setting sensors limits: done.
>
> Should I report bug agains sysvinit and/or initscripts ?
When you first reported the bug, I clone that bug to initscripts.
However, as you don't answer, the maintainer of initscripts has close
it. So, please reopen bug #266361 and don't complain to lm-sensors.
----- End forwarded message -----
--
Good luck,
Mantas Kriaučiūnas <email address hidden> Jabber ID: <email address hidden>
Public organization "Open Source for Lithuania" - www.akl.lt
Debian Bug Importer (debzilla) wrote : | #14 |
Message-ID: <email address hidden>
Date: Mon, 13 Sep 2004 15:49:44 +0300
From: "AKL. Mantas Kriauciunas" <email address hidden>
To: <email address hidden>
Subject: /sys isn't mounted after installing new initscripts
It seems initscripts has problems with mounting /sys :
----- Forwarded message from Aurelien Jarno <email address hidden> -----
From: Aurelien Jarno <email address hidden>
On Fri, Sep 03, 2004 at 02:43:45PM +0300, AKL. Mantas Kriauciunas wrote:
[...]
> I have sysvinit version 2.86-1 installed, but /sys dicectory is still
> emply in my system. I'm using 2.6.5-1-k7 kernel image.
> Maybe problem is in initscripts (version 2.86-1) package, I think
> postinst of sysvinit and initscripts should check if /sys is mounted an=
d
> if not - then call "/etc/init.
> working /sys and lm-sensors when I did:
>=20
> dubrava:
> dubrava:
> block bus class devices firmware power
> dubrava:
> Setting sensors limits: done.
>=20
> Should I report bug agains sysvinit and/or initscripts ?
When you first reported the bug, I clone that bug to initscripts.
However, as you don't answer, the maintainer of initscripts has close
it. So, please reopen bug #266361 and don't complain to lm-sensors.
----- End forwarded message -----
--=20
Good luck,
Mantas Kriau=C4=
t
Public organization "Open Source for Lithuania" - www.akl.lt
Debian Bug Importer (debzilla) wrote : | #15 |
Message-ID: <email address hidden>
Date: Mon, 13 Sep 2004 15:45:54 +0300
From: "AKL. Mantas Kriauciunas" <email address hidden>
To: <email address hidden>
Subject: reopen 266361
reopen 266361
In Debian Bug tracker #266361, Miquel van Smoorenburg (miquels) wrote : Re: Bug#266361: /sys isn't mounted after installing new initscripts | #16 |
severity 266361 minor
tags 266361 +moreinfo
thanks
On 2004.09.13 14:49, AKL. Mantas Kriauciunas wrote:
> It seems initscripts has problems with mounting /sys :
It doesn't AFAIK. The user must have changed something locally
on his system - initscripts DOES correctly mount /sys at
startup. It does on all systems I'm using here, and there have
been no other complaints ....
Please check if /etc/rcS.
to /etc/init.
version 2.85-23.
Or maybe I misunderstand and the user upgraded from a broken
initscripts that apparently didn't mount /sys to a fixed one,
without rebooting ? In that case, stuff like that happens when
running "unstable". That's why it's called that. Things break
now and then .. all versions in "stable" and "testing" are OK.
> ----- Forwarded message from Aurelien Jarno <email address hidden> -----
>
> From: Aurelien Jarno <email address hidden>
>
> On Fri, Sep 03, 2004 at 02:43:45PM +0300, AKL. Mantas Kriauciunas wrote:
> [...]
> > I have sysvinit version 2.86-1 installed, but /sys dicectory is still
> > emply in my system. I'm using 2.6.5-1-k7 kernel image.
> > Maybe problem is in initscripts (version 2.86-1) package, I think
> > postinst of sysvinit and initscripts should check if /sys is mounted and
> > if not - then call "/etc/init.
> > working /sys and lm-sensors when I did:
No it shouldn't just go out and mount /sys without asking.
> > dubrava:
> > dubrava:
> > block bus class devices firmware power
> > dubrava:
> > Setting sensors limits: done.
> >
> > Should I report bug agains sysvinit and/or initscripts ?
> When you first reported the bug, I clone that bug to initscripts.
> However, as you don't answer, the maintainer of initscripts has close
> it. So, please reopen bug #266361 and don't complain to lm-sensors.
>
> ----- End forwarded message -----
>
> --
> Good luck,
> Mantas Kriaučiūnas <email address hidden> Jabber ID: <email address hidden>
> Public organization "Open Source for Lithuania" - www.akl.lt
>
>
>
Debian Bug Importer (debzilla) wrote : | #17 |
Message-Id: <1095087866l.
Date: Mon, 13 Sep 2004 15:04:26 +0000
From: Miquel van Smoorenburg <email address hidden>
To: "AKL. Mantas Kriauciunas" <email address hidden>
Cc: <email address hidden>, <email address hidden>, Aurelien Jarno
<email address hidden>, <email address hidden>
Subject: Re: Bug#266361: /sys isn't mounted after installing new initscripts
severity 266361 minor
tags 266361 +moreinfo
thanks
On 2004.09.13 14:49, AKL. Mantas Kriauciunas wrote:
> It seems initscripts has problems with mounting /sys :
It doesn't AFAIK. The user must have changed something locally
on his system - initscripts DOES correctly mount /sys at
startup. It does on all systems I'm using here, and there have
been no other complaints ....
Please check if /etc/rcS.
to /etc/init.
version 2.85-23.
Or maybe I misunderstand and the user upgraded from a broken
initscripts that apparently didn't mount /sys to a fixed one,
without rebooting ? In that case, stuff like that happens when
running "unstable". That's why it's called that. Things break
now and then .. all versions in "stable" and "testing" are OK.
> ----- Forwarded message from Aurelien Jarno <email address hidden> -----
>=20
> From: Aurelien Jarno <email address hidden>
>=20
> On Fri, Sep 03, 2004 at 02:43:45PM +0300, AKL. Mantas Kriauciunas wrote:
> [...]
> > I have sysvinit version 2.86-1 installed, but /sys dicectory is still
> > emply in my system. I'm using 2.6.5-1-k7 kernel image.
> > Maybe problem is in initscripts (version 2.86-1) package, I think
> > postinst of sysvinit and initscripts should check if /sys is mounted an=
d
> > if not - then call "/etc/init.
> > working /sys and lm-sensors when I did:
No it shouldn't just go out and mount /sys without asking.
> > dubrava:
> > dubrava:
> > block bus class devices firmware power
> > dubrava:
> > Setting sensors limits: done.
> >=20
> > Should I report bug agains sysvinit and/or initscripts ?
> When you first reported the bug, I clone that bug to initscripts.
> However, as you don't answer, the maintainer of initscripts has close
> it. So, please reopen bug #266361 and don't complain to lm-sensors.
>=20
> ----- End forwarded message -----
>=20
> --=20
> Good luck,
> Mantas Kriau=C4=
t
> Public organization "Open Source for Lithuania" - www.akl.lt
>=20
>=20
>=20
In Debian Bug tracker #266361, Thomas Hood (jdthood-aglu) wrote : no moreinfo | #18 |
No more info being forthcoming, we'll assume that this bug resulted from
misconfiguration of some sort (perhaps due to the chaotic history of
mountvirtfs in unstable). Closing.
--
Thomas Hood
Debian Bug Importer (debzilla) wrote : | #19 |
Message-Id: <1100789200.
Date: Thu, 18 Nov 2004 15:46:41 +0100
From: Thomas Hood <email address hidden>
To: <email address hidden>
Subject: no moreinfo
No more info being forthcoming, we'll assume that this bug resulted from
misconfiguration of some sort (perhaps due to the chaotic history of
mountvirtfs in unstable). Closing.
--
Thomas Hood
Changed in sysvinit: | |
status: | Unknown → Fix Released |
clone 266227
reassign -1 initscripts
retitle -1 /sys not mounted at boot on a 2.6 kernel
retitle 266227 Should explain how to configure
severity 26627 minor
thanks
[ For the initscripts maintainer, in short the problem is that
/sys is not mounted at boot time in a system using a 2.6 kernel. ]
On Tue, Aug 17, 2004 at 07:01:16AM +0300, Mantas Kriaučiūnas wrote: /home/mantas# apt-get install lm-sensors lm-sensors/ sensors. conf.eg /etc/sensors.conf lm-sensors/ sensors. conf.eg /var/lib/ ucf/cache/ :etc:sensors. conf
> Package: lm-sensors
> Version: 2.8.7-2
> Severity: grave
> Justification: renders package unusable
>
> I'm trying to get working lm-sensors on debian:
>
> dubrava:
>
> [...]
>
> Setting up lm-sensors (2.8.7-2) ...
>
> Gtk-WARNING **: cannot open display:
> debconf: unable to initialize frontend: Gnome
> debconf: (DISPLAY problem?)
> debconf: falling back to frontend: Dialog
>
> Creating config file /etc/sensors.conf with new version
> cp -f /usr/share/
> cp -f /usr/share/
> Setting sensors limits:Can't access procfs/sysfs file
> Unable to find i2c bus information;
> For 2.6 kernels, make sure you have mounted sysfs and done
> 'modprobe i2c_sensor'!
> For older kernels, make sure you have done 'modprobe i2c-proc'!
> Can't access procfs/sysfs file
> Unable to find i2c bus information;
> For 2.6 kernels, make sure you have mounted sysfs and done
> 'modprobe i2c_sensor'!
> For older kernels, make sure you have done 'modprobe i2c-proc'!
> done.
>
>
> As I don't know what is sysfs (procfs is mountend automatically on my
> system by discover) and didn't got any debconf prompts about mounting
> sysfs, so I did 'modprobe i2c_sensor' and then did:
sysfs should be mounted on a 2.6 kernel. It is the jobs of initscripts,
and it is surprising that it is not mounted at boot time.
> dubrava: /home/mantas# /etc/init. d/lm-sensors restart doc/lm- sensors/ README. Debian this:
> Setting sensors limits:Can't access procfs/sysfs file
> Unable to find i2c bus information;
> For 2.6 kernels, make sure you have mounted sysfs and done
> 'modprobe i2c_sensor'!
> For older kernels, make sure you have done 'modprobe i2c-proc'!
> Can't access procfs/sysfs file
> Unable to find i2c bus information;
> For 2.6 kernels, make sure you have mounted sysfs and done
> 'modprobe i2c_sensor'!
> For older kernels, make sure you have done 'modprobe i2c-proc'!
> done.
>
> It seems same shit again :(
>
> Then I've read in /usr/share/
>
> 2.6 kernels
>
> Once you have your kernel properly configured, you need to probe for the
> sensors available on your system. You can use the sensors-detect program to
> do this.
>
> Hehe, if it's so simple, why don't offer debconf prompt for user about this?
Simply because the Debian Policy forbids to do that. Moreover, the "Once
you have your kernel properly configured" is important there, it means
that need to have the drivers built as modules or built into the kernel.
And it could a lot more complicated with 2.4 kernels than with 2.6
kernels.
> OK, then I started sensors-detect program pressed Enter several times and
> got this info in terminal:
>
> To make the sensors modules behave correctly, add these lines to
> /etc/mo...