Date: Tue, 05 Oct 2004 16:23:12 -0500 From: "P. Larry Nelson" <lnelson@uiuc.edu> To: Todd Denniston <Todd.Denniston@ssa.crane.navy.mil> Cc: "aic7xxx@freebsd.org" <aic7xxx@freebsd.org> Subject: Re: module.conf options Message-ID: <416310C0.9010800@uiuc.edu> In-Reply-To: <4162FC32.83EDD28A@ssa.crane.navy.mil> References: <1071040145.3fd6c691ca24b@ablett.imvs.sa.gov.au> <41533F47.6090301@uiuc.edu> <415C6E58.3050206@uiuc.edu> <415C7557.F32E71A6@ssa.crane.navy.mil> <4161BCB7.1000608@uiuc.edu> <4161C618.B21DEDEE@ssa.crane.navy.mil> <4162F55C.3080701@uiuc.edu> <4162FC32.83EDD28A@ssa.crane.navy.mil>
next in thread | previous in thread | raw e-mail | index | archive | help
Thanks for all the suggestions, but the easiest thing to do (which seems to work just fine) was to put a brute force 'modprobe aic7xxx' in rc.sysinit before it does the 'mount -a'. For grins, I took out the entry for the Adaptec|AIC-7892A U160/m in the hwconf file and rebooted - thinking maybe the first time that kudzu tried to configure it, it screwed up somehow. Alas, the same thing happened - it saw it at bootup, and saw it correctly as an AIC-7892A and asked if I wanted to configure it. I clicked on the "CONFIGURE" button and it claimed that it was successfully configured. Well, it lied again - the aic7xxx driver was not loaded and did not load on a subsequent reboot. RedHat 9.0 seems to handle this situation just fine but apparently RHEL does not. - Larry Todd Denniston wrote: > "P. Larry Nelson" wrote: > >>Todd Denniston wrote: >> > > <SNIP> > >>>If I was doing it by brute force, I would put it in rc.local. >> >>It's got to be loaded by the time all local filesystems are mounted, >>which takes place in rc.sysinit. >> > > <Flat of hand to forehead [Hard]. DOOH> > http://www.linuxquestions.org/questions/history/214945 > changes to /etc/modules.conf do not take effect at boot until you update the > initrd on redhat/fedora machines, you need to figure out what options to pass > to mkinitrd ... > for me when I built kernel-2.4.221.2174.nptl with aic7xxxR6.3.5 in it I did: > > rpm -ivh \ > /usr/src/redhat/RPMS/i386/kernel-2.4.221.2174.nptl.aic7xxxR6.3.5-1.i386.rpm > > /sbin/new-kernel-pkg --mkinitrd --depmod --install \ > 2.4.22-1.2174.nptl.aic7xxx-R6.3.5 > > So I guess that kudzu does not update the initrd. > Note that before you use a command like the above you should copy the old > initrd incase something goes wrong. > cp /boot/initrd-2.4.22-1.2174.nptl.aic7xxx-R6.3.5.img \ > /boot/initrd-2.4.22-1.2174.nptl.aic7xxx-R6.3.5.img.backup1 > > <SNIP> > >>In /etc/modules.conf, there is a line: >> alias scsi_hostadapter aic79xx >>as well as a line: >> alias scsi_hostadapter1 aic7xxx >> >> >>>just read up on kudzu, you might try checking /etc/sysconfig/hwconf (its text) >>>to see if kudzu >>>a)detected your aic7892a >>>b)detected that the driver should be aic7xxx >> >>Yes, the hwconf shows an entry for the Adaptec|AIC-7892A U160/m and >>the driver is aic7xxx. >> >>It just doesn't load it on bootup for some reason. >> >>I guess I'll put a brute force 'modprobe aic7xxx' in rc.sysinit prior >>to the 'mount -a' and see what happens. > > > try taking it back out and using the above method, I think you would probably > be happier in the end. > > >>Thanks! >>- Larry -- P. Larry Nelson (217-244-9855) | Systems/Network Administrator 461 Loomis Lab | U of I, CITES Departmental Services 1110 W. Green St., Urbana, IL | Consultant to: High Energy Physics Group MailTo:lnelson@uiuc.edu | http://www.uiuc.edu/ph/www/lnelson ------------------------------------------------------------------------- "Information without accountability is just noise." - P.L. Nelson
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?416310C0.9010800>