[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#499833: chccwdev cannot set device offline in Lenny

On Tue, Sep 23, 2008 at 01:34:53PM -0400, zlinuxman@wowway.com wrote:
> It's possible that I may have reported this bug against the wrong
> package.  chccwdev is part of the s390-tools package.  And chccwdev fails.
> But the actual cause of the problem may be elsewhere.

You always showed direct usage of /sys.

> Now I don't need to switch anymore.  But there are other situations where
> I need to take devices online and offline dynamically.
> > Lenny have 2.6.26-5.
> Today, yes.  But at one point in the evolution of Lenny it was using a
> 2.6.24 kernel.

| /sys/bus/ccw/devices/0.0.0302# cat online 
| 0
| /sys/bus/ccw/devices/0.0.0302# echo 1 > online 
| /sys/bus/ccw/devices/0.0.0302# cat online     
| 1
| /sys/bus/ccw/devices/0.0.0302# mount /boot302
| /sys/bus/ccw/devices/0.0.0302# umount /boot302
| /sys/bus/ccw/devices/0.0.0302# cat online     
| 1
| /sys/bus/ccw/devices/0.0.0302# echo 0 > online
| /sys/bus/ccw/devices/0.0.0302# cat online     
| 0
| /sys/bus/ccw/devices/0.0.0302# uname -a
| Linux waldi02.zseries.org 2.6.26-1-vserver-s390x #1 SMP Wed Sep 10 22:54:59 UTC 2008 s390x GNU/Linux

>                         The problem was solved only after a bunch of
> new packages were installed.  Which package resolved the hidden dependency
> I do not know.

Take a look at /var/log/dpkg.log, I expect udev and/or


The man on tops walks a lonely street; the "chain" of command is often a noose.

Reply to: