kickstart instructions for pre380 sound
Gary Gatling
gsgatlin at eos.ncsu.edu
Wed Nov 1 09:36:04 CST 2006
Greetings,
Well, this was easy enough to do. You can copy my experiment yourself as I
have placed this newest kickstart config file on the world wide web:
----------------------------------------------------------------------------
http://www.eos.ncsu.edu/hardware/ks-4.4-3
----------------------------------------------------------------------------
Like the last three sets of instructions, you need to copy this
configuration to a file on the floppy disk you will name ks.cfg
Change YOUR.SERVER.GOES.HERE to the name or IP addy of your install server
you just made. Also change YOUR.ROOT.PASSWORD.GOES.HERE to whatever your
root password is gonna be.
Boot the *4.4 boot.iso* CD and at the syslinx boot: prompt, type:
linux text ks=floppy
Notice how audio doesn't work when you do nothing as you suggest.
Any help on how to automate an install and have sound working with a RHEL
4 Update 4 tree would be greatly appriciated. The guy who maintains our
install tree here at NCSU is going to make the RHEL 4 Update 2 tree go
away soon. (November 20th) After that date we will only have access to the
RHEL 4 update 4 tree.
You really aren't going to be able to see the issues here all
theoretically. I'm afraid you're going to have to bite the bullet and
take a wee bit of time to actually build an install server and try using
my kickstart files to do some automated installs. I've provided detailed
instructions on how to do this in the instructions quoted below. If there
was anything that wasn't clear in the intructions I'd be happy to try to
explain it better.
You need 2 PCs. One a Precision 380 to be the target of your installs and
another PC to be your FTP install server. Its the sort of thing they cover
in that RH300 class they teach at red hat for sysadmins. Even if you've
never taken that class you should still be able to see this with the
instructions I provided to the list in my last email.
Thanks,
On Tue, 31 Oct 2006 John_Hull at Dell.com wrote:
> Gary,
>
> Have you tried NOT using the snd-had-intel RPM and just using the
> snd-azx module from the kernel (an install should use this by default).
> This should "just work" for the integrated audio controller.
>
>> -----Original Message-----
>> From: linux-precision-bounces at dell.com
>> [mailto:linux-precision-bounces at dell.com] On Behalf Of Gary Gatling
>> Sent: Tuesday, October 31, 2006 4:28 PM
>> To: linux-precision-Lists
>> Subject: kickstart instructions for pre380 sound
>>
>>
>> On Thu, 26 Oct 2006 John_Hull at Dell.com wrote:
>>
>>> Gary,
>>> * Is there a specifc sequence of events I should attempt to
>> see your
>>> problems?
>>
>> Greetings,
>>
>> Sorry I didn't provide reproduceable instructions before now.
>> I've been sick with some kind of cough for the last few days.
>> I did set up my own kickstart install server rather than the
>> custom weird stuff we've been using here at N.C. State University.
>>
>> Sorry this is a longish email but I wanted to cover all the bases...
>>
>> Burn RHEL AS 4U4 CD set. (Disks #1-#4) You will need 2 PCs
>> for this test.
>> One can be any make/model and the other should be a DELL
>> Precision 380 workstation.
>>
>> Go ahead and burn a RHEL WS4 U4 CD set now also. Burn all 5
>> CDs. You will also need RHEL WS4 U2 CD set to have something
>> to compare to that is working 100%.
>>
>> You will also need to create 2 boot.iso cds later. You will
>> also need one floppy disk for the kickstart config filde:
>> ks.cfg. So you need quite a few CDs to test all this.
>>
>> Install AS4 on the PC which is *not* the Precision 380. I
>> picked out a DELL Precision 340 workstation in our testbed
>> called teela.eos.ncsu.edu.
>> This will become your kickstart install server.
>> Boot the AS4 CD#1 on your Computer #1. Click "Next >"
>>
>> Select your language, click "> Next"
>>
>> Select your keyboard, click "> Next"
>>
>> Select Automatically partition. click "> Next"
>>
>> Select Remove all partitions from the system. Click "> Next"
>>
>> Click "Yes" when the installer warns you about deleting all
>> the partitions on the disk.
>>
>> On the Disk Setup / Disk Druid screen review partitions the
>> system will create, then click "> Next"
>>
>> On the GRUB boot screen create a GRUB password, or don't.
>> Then click "> Next"
>>
>> On The Network configuration screen, configure your network
>> settings (We use DHCP) then click "> Next"
>>
>> On The Firewall Configuration section, Turn on the firewall.
>> Also select "Remote Login (SSH)" and "File Transfer (FTP)"
>> Enable SELinux (The default) and click "> Next"
>>
>> Under "Additional Language Support" section add any
>> additional languages you need. Then click "> Next"
>>
>> Under the Time Zone section select your timezone. Then click "> Next"
>>
>> Under the root password section, select a root password, then
>> click "> Next"
>>
>> Under the package Installation Defaults section leave
>> "Install default software packages" selected and click "> Next"
>>
>> On The About to install screen click "> Next"
>>
>> Click "Continue" when warned about what all CDs you will need. (#1-#4)
>>
>> Insert CDs as prompted by anaconda, the Red Hat installer.
>>
>> When / If the congratulations screen comes up, click "Reboot" button.
>>
>> On first boot Welcome screen, click "> Next"
>>
>> Select "Yes, I agree to the License Agreement" (Default) then
>> click "> Next"
>>
>> Verify that the date/time are correct. Click "> Next"
>>
>> On the display section, configure your display, then click "> Next"
>>
>> On the "Red Hat Login" screen in first boot set up your
>> machine for Red Hat Network access. You will need your
>> account info for this part of the install. When finished
>> click "> Next"
>>
>> On the "System User" screen, create a non-root account for yourself.
>> Then click "> Next"
>>
>> On the "sound card" Screen click "Play test sound" if you
>> care. Then click "> Next"
>>
>> On the "Additional CDs" section just click "> Next"
>>
>> On the "Finish Setup" screen just click "> Next"
>>
>> You should then be presented with the gdm login screen for
>> RHEL4. So go ahead and login as the account you just created.
>>
>> Open a terminal window and su to root. Then run this command:
>>
>> /usr/sbin/up2date -fu --nox
>>
>> Assuming you configured Red Hat Network settings correctly
>> during the first boot procedure, this command should update
>> your system. reboot so the new kernel can take effect:
>>
>> /sbin/init 6
>>
>> Once the system comes back up, login again.
>> Open terminal window, su to root.
>>
>> Type:
>>
>> /usr/sbin/up2date -i vsftpd
>>
>> This will install the vsftp package.
>>
>> next, edit the /etc/vsftpd/vsftpd.conf file and add these two
>> lines to the bottom of the file:
>>
>> pasv_max_port=6010
>> pasv_min_port=6000
>>
>> Next, edit your /etc/sysconfig/iptables file:
>>
>> under the line that reads:
>> -A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp
>> --dport 22 -j ACCEPT
>>
>> Add this line:
>>
>> -A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp
>> --dport 6000:6010 -j ACCEPT
>>
>> Next run these command in your terminal window, (You should
>> still be root)
>>
>> /sbin/chkconfig --level 345 vsftpd on
>> /sbin/service vsftpd start
>> /sbin/service iptables restart
>>
>> Ok, now you have a patched, reasonably secure, vsftp server
>> on the internet or your private network. You are now ready to
>> create a Red Hat install tree. Well, two of them actually.
>> Now you need those RHEL 4 WS4 U4
>> 5 cd set.
>>
>> Type:
>>
>> mkdir /var/ftp/pub/RedHat4.4/
>>
>> Insert CD #1 from the 4.4 CD set (Update 4) in the kickstart server.
>>
>> in your terminal window type:
>>
>> \cp -r /media/cdrecorder/* /var/ftp/pub/RedHat4.4/ When the
>> copy finishes, eject your CD, and repeat for the other 4 4.4 CDs.
>>
>> When you are finished, you have a red hat install tree under
>> /var/ftp/pub/RedHat4.4/
>>
>> Next, type:
>>
>> mkdir /var/ftp/pub/RedHat4.2/
>>
>> Insert CD #1 from the 4.2 CD set in the kickstart server.
>> (This is the update #2 CD set)
>>
>> in your terminal window type:
>>
>> \cp -r /media/cdrecorder/* /var/ftp/pub/RedHat4.2/
>>
>> When the copy finishes, eject your CD, and repeat for the
>> other 4.2 CDs.
>> (Update #2)
>>
>> When you are finished, you have another red hat install tree
>> under /var/ftp/pub/RedHat4.2/
>>
>> Next you need to put the snd-hda-intel-1.0.6p-10dkms DELL
>> created in your ftp space. Lets make a directory called
>> "DELL" off of /var/ftp/pub/ to hold this stuff.
>>
>> mkdir /var/ftp/pub/DELL/
>> cd /var/ftp/pub/DELL/
>> wget
>> http://linux.dell.com/files/audio/intel-high-def/rhel4/snd-hda
>> -intel-1.0.6p-10dkms.noarch.rpm
>>
>> also put the dkms-2.0.5-1.noarch.rpm and the
>> snd-hda-intel-1.0.6p-9dkms.noarch.rpm in that directory.
>> (/var/ftp/pub/DELL/) and make sure everything has 644 perms.
>>
>> chmod 644 /var/ftp/pub/DELL/*
>>
>> On the kickstart server:
>>
>> Insert a blank, recordable CD.
>>
>> cd /var/ftp/pub/RedHat4.4/images/
>> cdrecord -eject -v boot.iso
>>
>> Label this CD boot.iso 4.4
>>
>> cd /var/ftp/pub/RedHat4.2/images/
>> cdrecord -eject -v boot.iso
>>
>> Label this CD boot.iso 4.2
>>
>> You will need to boot your Precision 380 computer from the
>> 1st boot.iso CD you just made in a bit.
>>
>> Now its time to set up your kickstart install disk. Get a
>> hold of a blank floppy disk. I have put the first kickstart
>> file I made on the web. Here is the URL:
>>
>> --------------------------------------------------------------
>> -----------------
>> http://www.eos.ncsu.edu/hardware/ks-4.2
>> --------------------------------------------------------------
>> -----------------
>> Copy this configuration to a file on the floppy disk you will
>> name ks.cfg
>>
>> Change YOUR.SERVER.GOES.HERE to the name or IP addy of your
>> install server you just made. Also change
>> YOUR.ROOT.PASSWORD.GOES.HERE to whatever your root password
>> is gonna be.
>>
>> Boot the 4.2 boot.iso CD and at the syslinx boot: prompt, type:
>>
>> linux text ks=floppy
>>
>> Wait a while for your network kickstart install to finish.
>> Watch the display. I have configured it such that you can see
>> the output from the %post section on the display.
>>
>> The first time the system boots audio "Just works"
>>
>> Now its time for the first 4.4 config file. I have also put
>> this file on the web. The URL is:
>>
>> --------------------------------------------------------------
>> -----------------
>> http://www.eos.ncsu.edu/hardware/ks-4.4-1
>> --------------------------------------------------------------
>> -----------------
>>
>> Copy this configuration to a file on the floppy disk you will
>> again name ks.cfg
>>
>> Change YOUR.SERVER.GOES.HERE to the name or IP addy of your
>> install server you just made. Also change
>> YOUR.ROOT.PASSWORD.GOES.HERE to whatever your root password
>> is gonna be.
>>
>> This kickstart also has audio "just work" with the *problem*
>> that it only works after the machine gets rebooted. I have
>> scripted this in the second kickstart.
>>
>> Boot the 4.4 boot.iso CD and at the syslinx boot: prompt, type:
>>
>> linux text ks=floppy
>>
>> I got this second kickstart config to work 100% of the time
>> only by installing, un-installing then re-installing
>> snd-hda-intel-1.0.6p-9dkms.noarch.rpm
>> If you just install it once it only works about 50% of the time.
>>
>> It would be good if you could figure out some way for this to
>> work 100% of the time without the install, un-install,
>> re-install stuff and also if it could be made to work without
>> a reboot. :)
>>
>> The third kickstart config file attempted to use
>> snd-hda-intel-1.0.6p-10dkms.noarch.rpm. I could not get it to work.
>> Perhaps you can figure out what I am doing wrong?
>>
>> --------------------------------------------------------------
>> -----------------
>> http://www.eos.ncsu.edu/hardware/ks-4.4-2
>> --------------------------------------------------------------
>> -----------------
>>
>> Like the last two sets of instructions, you need to copy this
>> configuration to a file on the floppy disk you will name ks.cfg
>>
>> Change YOUR.SERVER.GOES.HERE to the name or IP addy of your
>> install server you just made. Also change
>> YOUR.ROOT.PASSWORD.GOES.HERE to whatever your root password
>> is gonna be.
>>
>> Boot the 4.4 boot.iso CD and at the syslinx boot: prompt, type:
>>
>> linux text ks=floppy
>>
>> Notice how audio doesn't work. (Even after a reboot) Any
>> guidance on how to change the last kickstart configuration
>> file so that it works would be greatly appriciated! =)
>>
>> I see errors in /var/log/messages every time I do the third
>> install (The one with snd-hda-intel-1.0.6p-10dkms.noarch.rpm)
>> after I reboot. I also find that the volume meter refuses to
>> be raised after rebooting once sometimes. I did several
>> installs all without being able to hear any sounds at all no
>> matter how the volume meter behaves.
>>
>> Hopefully you will be able to duplicate my results with these
>> detailed instructions I've created. :)
>>
>> The goal is to just to have audio work after the install is
>> finished without any human intervention with the RedHat4.4
>> install tree.
>> Preferably, without having to reboot.
>>
>> Thanks,
>>
>> Gary Gatling | ITECS Systems
>> ITECS, BOX 7901 | Technology Support Analyst
>> NCSU, Raleigh, NC | Email: gsgatlin at eos.ncsu.edu
>> 27695-7901 | Phone: (919) 513-4572 (5B Page Hall)
>>
>> _______________________________________________
>> Linux-Precision mailing list
>> Linux-Precision at dell.com
>> http://lists.us.dell.com/mailman/listinfo/linux-precision
>> Please read the FAQ at http://lists.us.dell.com/faq or search
>> the list archives at http://lists.us.dell.com/htdig/
>>
>
Gary Gatling | ITECS Systems
ITECS, BOX 7901 | Technology Support Analyst
NCSU, Raleigh, NC | Email: gsgatlin at eos.ncsu.edu
27695-7901 | Phone: (919) 513-4572 (5B Page Hall)
More information about the Linux-Precision
mailing list