Re: Improved linuxrc.s390 (third try)

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

 



Steffen Maier (maier@xxxxxxxxxxxxxxxxxx) said: 
> Here is my promised udev rule to load LCS and CTC and thus all current
> network devices drivers on s390x automatically. I'm still a bit unsure
> where exactly to put it between all existing rules. At least it worked
> in an F9 based internal build for s390x. The rule definitely has to be
> before /etc/udev/rules.d/55-ccw.rules. Here we go
> /etc/udev/rules.d/54-cu3088-fix.rules:
> 
> # LCS
> ACTION=="add", SUBSYSTEM=="ccw", SYSFS{cutype}=="3088/01", RUN+="/sbin/modprobe --quiet lcs"
> ACTION=="add", SUBSYSTEM=="ccw", SYSFS{cutype}=="3088/60", RUN+="/sbin/modprobe --quiet lcs"
> # could be either CTC or LCS
> ACTION=="add", SUBSYSTEM=="ccw", SYSFS{cutype}=="3088/08", RUN+="/sbin/modprobe --quiet ctcm"
> ACTION=="add", SUBSYSTEM=="ccw", SYSFS{cutype}=="3088/08", RUN+="/sbin/modprobe --quiet lcs"
> # CTC
> ACTION=="add", SUBSYSTEM=="ccw", SYSFS{cutype}=="3088/1E", RUN+="/sbin/modprobe --quiet ctcm"
> ACTION=="add", SUBSYSTEM=="ccw", SYSFS{cutype}=="3088/1F", RUN+="/sbin/modprobe --quiet ctcm"
> 
> 
> Comments greatly appreciated.

This seems like the sort of thing that could be automated with modaliases
in the driver and sysfs.

Bill

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux