Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
dd0d5b84
Commit
dd0d5b84
authored
Mar 08, 2003
by
Mike Hibler
Browse files
Linux-side support for gatech nodes (pc300)
parent
92fa4ae2
Changes
3
Hide whitespace changes
Inline
Side-by-side
tmcd/linux/control_interface
View file @
dd0d5b84
#!/bin/sh
#
# EMULAB-COPYRIGHT
# Copyright (c) 2000-200
2
University of Utah and the Flux Group.
# Copyright (c) 2000-200
3
University of Utah and the Flux Group.
# All rights reserved.
#
.
/etc/emulab/paths.sh
NODETYPE
=
`
nodetype
`
if
[
"
$NODETYPE
"
=
'pc600'
]
;
then
echo
'eth4'
elif
[
"
$NODETYPE
"
=
'pc850'
]
;
then
case
$NODETYPE
in
pc300|pc1500|pc2000
)
echo
'eth0'
;;
pc850
)
echo
'eth2'
elif
[
"
$NODETYPE
"
=
'pcL440GX'
]
;
then
;;
pcL440GX
)
echo
'eth2'
elif
[
"
$NODETYPE
"
=
'pc1500'
]
;
then
echo
'eth0'
elif
[
"
$NODETYPE
"
=
'pc2000'
]
;
then
echo
'eth0'
else
echo
'unknown'
fi
;;
pc600
)
echo
'eth4'
;;
*
)
echo
'unknown'
;
;;
esac
tmcd/linux/cpuspeed.awk
View file @
dd0d5b84
#!/usr/bin/awk -f
#
# EMULAB-COPYRIGHT
# Copyright (c) 2000-200
2
University of Utah and the Flux Group.
# Copyright (c) 2000-200
3
University of Utah and the Flux Group.
# All rights reserved.
#
...
...
@@ -21,6 +21,10 @@
print
"600"
;
next
}
/^cpu MHz.*29
[
0-9
]
|30
[
0-9
]\.[
0-9
]
+$/
{
print
"300"
;
next
}
/^cpu MHz.*/
{
print
"0"
;
next
...
...
tmcd/linux/modules.conf
View file @
dd0d5b84
...
...
@@ -25,6 +25,12 @@ elseif $NT == "pcL440GX"
probe
eth0
eepro100
probe
eth1
eepro100
probe
eth2
eepro100
elseif
$
NT
==
"pc300"
probe
eth0
eepro100
probe
eth1
eepro100
probe
eth2
eepro100
probe
eth3
eepro100
probe
eth4
3
c59x
else
probe
eth0
eepro100
3
c59x
probe
eth1
eepro100
tulip
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment