On Feb 20, 2007, at 6:57 PM, Horms wrote:

> On Tue, Feb 20, 2007 at 04:23:03PM -0800, Greg Kurtzer wrote:
>> I am seeing an issue where a network device (e1000) won't come up
>> after a kexec.
>>
>> Booted into newly kexec'ed OS I am get the following error when I
>> `modprobe e1000`:
>>
>> e1000: EEPROM initialization failed
>> e1000: probe of 000:07:07.0 failed with error -5
>>
>> My kexec line looks like:
>>
>> kexec --initrd=/vnfs.img --force --append="masterip=${MASTERIP}
>> noapic" /vmlinuz
>>
>> note: It is being called from the Perceus (cluster provisioning
>> solution) initramfs.
>>
>> When I use the original kexec-tools and a 2.6.16 kernel I didn't have
>> this problem. Any ideas would be greatly appreciated!
>
> Devices not surviving kexec is a fairly common problem and arguably
> the most difficult long term problem that kexec faces.
>
> I'm a little surprised at an e1000 not coming up. But generally
> speaking this occurs when the initalisation code assumes
> (correctly or incorrectly) something about the state of the
> hardware, and that assumption isn't true after a kexec.
> This is typically best solved by shutting down the device/bus/whatever
> correctly before kexec rather than fudging the initialisation code.
> But its a tricky area.

Good call, you nailed it! OK, I am just gonna run the hardware probe  
in reverse (s/modprobe/rmmod/) right before the kexec.

Many thanks!
--
Greg Kurtzer

    I believe the world would be a better place if people didn't  
believe in their beliefs. -- gmk


_______________________________________________
fastboot mailing list
[email protected]
https://lists.osdl.org/mailman/listinfo/fastboot

Reply via email to