Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 153290 Details for
Bug 237508
LCS device not found at install
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Get lcs interface name correctly
anaconda-11.1.2.36-s390-lcs.patch (text/plain), 1.22 KB, created by
Brad Hinson
on 2007-04-23 16:05:55 UTC
(
hide
)
Description:
Get lcs interface name correctly
Filename:
MIME Type:
Creator:
Brad Hinson
Created:
2007-04-23 16:05:55 UTC
Size:
1.22 KB
patch
obsolete
>--- anaconda-11.1.2.36/loader2/linuxrc.s390.orig >+++ anaconda-11.1.2.36/loader2/linuxrc.s390 >@@ -55,31 +55,6 @@ > [ -f $file ] && echo $* > $file > } > >-# jump through some hoops to find out the LCS interface name >-getlcsifname() { >- local dirs driver readport ifname >- ifname="" >- dirs=`/bin/ls -d /sys/class/net/eth* /sys/class/net/tr* 2>/dev/null` >- for i in $dirs; do >- driver=`readlink $i/driver` >- driver=`basename $driver` >- if [ "$driver" == "lcs" ]; then >- readport=`readlink $i/device` >- readport=`basename $readport` >- if [ "$readport" == "$1" ]; then >- ifname=`basename $i` >- break >- fi >- fi >- done >- if [ -n "$ifname" ]; then >- DEVICE=$ifname >- else >- echo "Could not detect LCS interface, aborting..." >- exit >- fi >-} >- > > startinetd() > { >@@ -376,7 +351,7 @@ > setupdevice > # KH FIXME: Workaround for missing sysfs interface > # DEVICE=`cat /sys/devices/lcs/${SUBCHANNELS//,*/}/if_name` >- getlcsifname ${SUBCHANNELS//,*/} >+ DEVICE=eth0 > ifconfig $DEVICE $IPADDR $MMTU netmask $NETMASK broadcast $BROADCAST > route add -net $NETWORK netmask $NETMASK dev $DEVICE 2>/dev/null > echo "alias $DEVICE lcs" >> /tmp/modprobe.conf
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 237508
: 153290