On 7/16/07, Peter Jones <pjones@xxxxxxxxxx> wrote:
Since iBFT is not a part of ACPI Table, the patches posted doesn't expose the iBFT in sysfs.
Instead of scanning /dev/mem, i have written a small kernel code which does the reading of iBFT in kernel space. what i wanted to make sure is to trigger this scanning of memory in kernel space also only when user explicitly tells there is a iBFT in the system. so am asking you guys for some suggestions.
Konrad Rzeszutek wrote:
>> I am suggesting to have a global flag called iSCSI while installing(like
>> other flags "askmethod", "updates"), so when installing the user should
>> tell the Anaconda explicitly to get the values from iBFT.
>
> Would it be easier if there was a /sysfs entry that told anaconda
> about the presence of iBFT? And if there was any pertinent information then
> anaconda would extract the information from /sysfs instead of searching in
> /dev/mem?
There's already something sortof like this. The current ACPI spec
reserves the table name "IBFT", and Intel has a patch (I _think_ they've
posted it already, but I'm not sure) that gives you access to all the
ACPI tables that exist on the system as binary blobs in
/sys/firmware/acpi/table/ . So if the system firmware is implemented
correctly, then you shouldn't need to ever touch /dev/mem (which as
we've mentioned is dangerous and unacceptable.)
Since iBFT is not a part of ACPI Table, the patches posted doesn't expose the iBFT in sysfs.
What Prasanna is telling us, though, is that the system firmware (on
some system he's concerned with; I'm not sure which that is) doesn't
actually implement this.
Instead of scanning /dev/mem, i have written a small kernel code which does the reading of iBFT in kernel space. what i wanted to make sure is to trigger this scanning of memory in kernel space also only when user explicitly tells there is a iBFT in the system. so am asking you guys for some suggestions.
--
Peter
_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list