LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Buffer I/O error on device dm-2, Failed to load Selinux policy, Bad address (https://www.linuxquestions.org/questions/linux-newbie-8/buffer-i-o-error-on-device-dm-2-failed-to-load-selinux-policy-bad-address-926767/)

Marcolino 01-31-2012 03:07 PM

Buffer I/O error on device dm-2, Failed to load Selinux policy, Bad address
 
I installed fedora 16 on an Acer netbook, for a period of time it gave me some problems at startup. In essence, the operating system did not start and the screen showed me some instruction to use fsck.

Then I solved by writing:
umount / dev / sda *
fsck / dev/sda1-f
I made also an fsck to path that I don't remeber.

Now the problem is more serious, the system will not start and
I can read 10 rows of the type
[18.453192] Buffer I / O error on device dm-2, logic block 160722688

Then I have the following rows:
[19.933347] system [1]: Failed to load SELinux Policy. Freezing.
SELinux: Could not load policy file /etc/selinux/targeted/policy/policy.26: Bad address

Could somebody help me?

unSpawn 02-01-2012 11:03 AM

Could you attach or pastebin your complete /var/log/messages along with output of 'fdisk -l; pvscan; dmsetup status'? The latter commands you maybe run best from a Fedora installer CD in rescue mode or a Live CD or an USB stick if there's no DVD drive.

kostya 02-02-2012 03:48 AM

As I read it, it installs on an LVM volume when left unattended (with default answers during the installation)?
It seems to be the default option of all modern installers when you leave partitioning to them; for some reason they think it's a good idea, and maybe for a number of reasons it really is...
But I've never seen any good from it, only running into problems every now and then. So generally I never use LVM unless there are weighty reasons for it (software RAID or something). Reasonably, I understand it to be a software layer on top of another software layer (LVM on top of partition table), so double the chance of it getting corrupted...

Anyway, did you try to boot with kernel parameter 'selinux=0'? Maybe that will resolve it and no more bothering about device dm-2?

And what I do on my computers is convert the whole disk to GPT as that partition table seems to be better protected. No XP installation possible with that, alas. But (maybe out of ignorance?) this seems to me a better option than LVM.

Maybe I'm mistaken?
All the best,
Kostya

Rahul Babtiwale 12-24-2012 11:53 PM

Even i have a doubt
 
Hey i tried to make a pendrive bootable. After that when i restarted my PC it gave me an error.

"Buffer io read error and UDEV not starting " . So please help me.

Thanks and Regards
Rahul


All times are GMT -5. The time now is 02:15 PM.