Please do not start two separate threads for basically the same 
question/problem in two days!

Shrirang Kulkarni wrote:
> Steps
> 1. chccwdev -e 0.0.b001
> 2. echo 0x5005076305080310 > /sys/bus/ccw/devices/0.0.b001/port_add
> 3. echo 0x4010400100000000 >
> /sys/bus/ccw/devices/0.0.b001/0x5005076305080310/
> enabled all SCSI devices of FCP
> 
> 4. cd /sys/bus/ccw/devices/0.0.b001/0x5005076305080310/
> 
> 5. /sys/bus/ccw/devices/0.0.b001/0x5005076305080310 # ls
> 0x4010400100000000 0x4010400b00000000 0x4010401500000000
> 0x4011400a00000000 0x4011401400000000 0x4011401e00000000
> 
> 6. So able to see all devices on FCP and made partions and mounted
> able to use in Debian Linux
> 
> 7. I tried to create initrd as new devices added by
> mkinitrams -o initrd.img-2.6.18-6-s390 2.6.18-6
> 
> 8.  But when i reboot machine No FCP devices detected.
> 
> Once again I need repeat 1-6 steps for FCP to get enable

Right, so you enabled things manually on one boot and now expect them to 
somehow magically be enabled on the next boot too, without laying 
anything down in configuration.
Seems to me you are making some flawed assumptions here about how things 
are supposed to work...

Please take a look at the sysconfig-hardware package. That is the tool 
intended to set up devices at boot on s390 based on info from /sys.

Quite probably it will need some extentions to support FCP, but I think it 
should be relatively straightforward. If you figure out what/how, please 
send a patch (by opening a wishlist bug report against the 
sysconfig-hardware package with the problem description and patch)!

Cheers,
FJP

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to