Arch Linux on Intel Macs?
Are there any plans to make Arch Linux run on the new Intel based Macs?
BTW, talking to an Apple salesman over the weekend. Apparently the new iMacs will run Windows Vista too! Unlike previous Macs, they are not using a proprietary Apple BIOS setup, but something more general purpose that is compatible with Vista too. Apple doesn't want you running MacOS on your PC, but they don't seem to mind you running Windows on your Mac. Lets them get into the booming PC hardware business! The salesman assured me that most Linux distros would be able to run on the machines.
I played around with them, and despite having on 2 GHz chips (but two of them, of course) the iMacs were very responsive. I can only guess that MacOS is lighter than Windows, and hence faster subjectively on these "slower" processors.
Similar Messages
-
[Solved] RAID 0 with Arch Linux and Intel Matrix Storage Manager
I just bought a brand new DELL Studio desktop and it has 2 500 HD's which I would like to run in RAID 0. I've setup the BIOS to run the RAID 0. Now I want the arch linux installation to recognise the volume. I followed the guide on the wikipage
http://wiki.archlinux.org/index.php/Ins … _Fake-RAID
but /dev/mapper doesn't show anything after modprobing the modules and installing dmraid. My controller is a intel matrix storage controller, so what module should I modprobe because sata_sil isn't the right one.
Regards
André
Last edited by fettouhi (2008-12-15 10:57:18)you have a separate /boot partition, so your menu.lst must say :
root (hd0,0) # the partition including /boot
kernel /vmlinuz26 ... # without leading /boot
initrd /kernel26.img # without leading /boot
(in grub, / is the root of the partition that was set with the root command, your vmlinuz26 and kernel26.img are in (hd0,0)/, not in (hd0,0)/boot/)
did you install from core CD or from FTP ?
there was a dmraid update few weeks ago that modified device names that dmraid creates :
it add "p" before the number of the partition (your iws...Volume0 don't change, but your iws...Volume0# change to iws...Volume0p#)
if you installed from core CD, you will only need to add this "p" when you will upgrade dmraid (or the full system)
(you will then need to edit both /boot/grub/menu.lst and /etc/fstab)
if you installed from FTP, you need to add this "p" now, as you installed last version of dmraid -
[SOLVED] (Arch)Linux and Intel Core 2 Quad Q8200 ??
hey everybody,
i just bought a new pc, a core 2 quad Q8200 and i have problems to get it work - even with other distros. I instert the install discs, i get the first screen where i can select Boot Live CD blabla, then i just see its unpacking the kernel and after that i just get cryptic errors. then it stops.
On arch i tried the ftp-i686 and ftp-x86_64 isos, both with the same result. i even tried other distributions. GRML: the same. Debian Installer: the same again. (just that the screen stays black on the other dirstros and i see nothing else).
could anyboy help me, please ? i think i used the correct isos, didnt i?
greets chris
Last edited by dude83 (2009-04-01 11:56:06)well, it's definitely not the processors fault, i have q8200 running without problems - even overclocked:
$ cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 23
model name : Intel(R) Core(TM)2 Quad CPU Q8200 @ 2.33GHz
stepping : 7
cpu MHz : 2800.185
cache size : 2048 KB
physical id : 0
siblings : 4
core id : 0
cpu cores : 4
apicid : 0
initial apicid : 0
fpu : yes
fpu_exception : yes
cpuid level : 10
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts rep_good pni dtes64 monitor ds_cpl est tm2 ssse3 cx16 xtpr pdcm sse4_1 lahf_lm
bogomips : 5602.71
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management:
what exactly is the error message? -
Installing/using Arch linux in Parallels on Mac OS X Lion MBP Retina
I am having a problem where I can't install or use Arch Linux as the same error always crops up at some point or another.
loading user-specifide modules [busy]
pc_ich: RCBA is disabled by hardware/BIOS, device disabled
pc_ich [some random numbers]: I/O space for GPIO uninitialized
BUG: soft lockup -- CPU#0 stuck for 22s [kworker/u:0:5]
Thanks for any ideas.I am pretty sure that Linux has some known serious issues with thre retina Macbook as well as some of the new Airs.
See this thread, it may help: https://bbs.archlinux.org/viewtopic.php?id=144255&p=1
Edit: Sorry i didn't read the "Parallels" in the title. Though I am not familiar with parallels, so I am not sure what kind of system it is actually trying to emulate. What happens if you use something else like virtualbox or some other free virtual machine software.
Last edited by WonderWoofy (2012-09-27 03:18:07) -
Cannot install Pacman? (Arch Linux on PPC, Power Mac G4)
Hi
I'm trying to install PPC Arch on a Power Mac G4
Everything is fine until the point where I need to Install the packages.
It asks me to select another server (There's 3 available), because Pacman apparently cannot download? But the other two seems down.
The error the first one gives: "Error downloading pacman! Try another server."
There's:
1) ftp://ftp.archlinuxppc.org
2) ftp://xentac.net
3) ftp://ftp.archlinuxfr.org
When selecting 2, and 3 it says: "Error fetching package list from server".
Also "INIT: ld "c0" respawning too fast: disabled for 5 minutes"
What do I do?
Thanks in advance
Last edited by Eax (2009-02-04 18:41:04)Excuse me the question. Is it possible to run Arch on PPC ? I thought its optimized for I686 and 64bit Adressbus
-
System encryption using LUKS and GPG encrypted keys for arch linux
Update: As of 2012-03-28, arch changed from gnupg 1.4 to 2.x which uses pinentry for the password dialog. The "etwo" hook described here doesn't work with gnupg 2. Either use the openssl hook below or use a statically compiled version of gnupg 1.4.
Update: As of 2012-12-19, the mkinitcpio is not called during boot, unless the "install" file for the hook contains "add_runscript". This resulted in an unbootable system for me. Also, the method name was changed from install () to build ().
Update: 2013-01-13: Updated the hook files using the corrections by Deth.
Note: This guide is a bit dated now, in particular the arch installation might be different now. But essentially, the approach stays the same. Please also take a look at the posts further down, specifically the alternative hooks that use openssl.
I always wanted to set up a fully encrypted arch linux server that uses gpg encrypted keyfiles on an external usb stick and luks for root filesystem encryption. I already did it once in gentoo using this guide. For arch, I had to play alot with initcpio hooks and after one day of experimentation, I finally got it working. I wrote a little guide for myself which I'm going to share here for anyone that might be interested. There might be better or easier ways, like I said this is just how I did it. I hope it might help someone else. Constructive feedback is always welcome
Intro
Using arch linux mkinitcpio's encrypt hook, one can easily use encrypted root partitions with LUKS. It's also possible to use key files stored on an external drive, like an usb stick. However, if someone steals your usb stick, he can just copy the key and potentially access the system. I wanted to have a little extra security by additionally encrypting the key file with gpg using a symmetric cipher and a passphrase.
Since the encrypt hook doesn't support this scenario, I created a modifed hook called “etwo” (silly name I know, it was the first thing that came to my mind). It will simply look if the key file has the extension .gpg and, if yes, use gpg to decrypt it, then pipe the result into cryptsetup.
Conventions
In this short guide, I use the following disk/partition names:
/dev/sda: is the hard disk that will contain an encrypted swap (/dev/sda1), /var (/dev/sda2) and root (/dev/sda3) partition.
/dev/sdb is the usb stick that will contain the gpg encrypted luks keys, the kernel and grub. It will have one partition /dev/sdb1 formatted with ext2.
/dev/mapper/root, /dev/mapper/swap and /dev/mapper/var will be the encrypted devices.
Credits
Thanks to the authors of SECURITY_System_Encryption_DM-Crypt_with_LUKS (gentoo wiki), System Encryption with LUKS (arch wiki), mkinitcpio (arch wiki) and Early Userspace in Arch Linux (/dev/brain0 blog)!
Guide
1. Boot the arch live cd
I had to use a newer testing version, because the 2010.05 cd came with a broken gpg. You can download one here: http://releng.archlinux.org/isos/. I chose the “core“ version. Go ahead and boot the live cd, but don't start the setup yet.
2. Set keymap
Use km to set your keymap. This is important for non-qwerty keyboards to avoid suprises with passphrases...
3. Wipe your discs
ATTENTION: this will DELETE everything on /dev/sda and /dev/sdb forever! Do not blame me for any lost data!
Before encrypting the hard disc, it has to be completely wiped and overwritten with random data. I used shred for this. Others use badblocks or dd with /dev/urandom. Either way, this will take a long time, depending on the size of your disc. I also wiped my usb stick just to be sure.
shred -v /dev/sda
shred -v /dev/sdb
4. Partitioning
Fire up fdisk and create the following partitions:
/dev/sda1, type linux swap.
/dev/sda2: type linux
/dev/sda3: type linux
/dev/sdb1, type linux
Of course you can choose a different layout, this is just how I did it. Keep in mind that only the root filesystem will be decrypted by the initcpio. The rest will be decypted during normal init boot using /etc/crypttab, the keys being somewhere on the root filesystem.
5. Format and mount the usb stick
Create an ext2 filesystem on /dev/sdb1:
mkfs.ext2 /dev/sdb1
mkdir /root/usb
mount /dev/sdb1 /root/usb
cd /root/usb # this will be our working directory for now.
Do not mount anything to /mnt, because the arch installer will use that directory later to mount the encrypted root filesystem.
6. Configure the network (if not already done automatically)
ifconfig eth0 192.168.0.2 netmask 255.255.255.0
route add default gw 192.168.0.1
echo "nameserver 192.168.0.1" >> /etc/resolv.conf
(this is just an example, your mileage may vary)
7. Install gnupg
pacman -Sy
pacman -S gnupg
Verify that gnupg works by launching gpg.
8. Create the keys
Just to be sure, make sure swap is off:
cat /proc/swaps
should return no entries.
Create gpg encrypted keys (remember, we're still in our working dir /root/usb):
dd if=/dev/urandom bs=512 count=4 | gpg -v --cipher-algo aes256 --digest-algo sha512 -c -a > root.gpg
dd if=/dev/urandom bs=512 count=4 | gpg -v --cipher-algo aes256 --digest-algo sha512 -c -a > var.gpg
Choose a strong password!!
Don't do this in two steps, e.g don't do dd to a file and then gpg on that file. The key should never be stored in plain text on an unencrypted device, except if that device is wiped on system restart (ramfs)!
Note that the default cipher for gpg is cast5, I just chose to use a different one.
9. Create the encrypted devices with cryptsetup
Create encrypted swap:
cryptsetup -c aes-cbc-essiv:sha256 -s 256 -h whirlpool -d /dev/urandom create swap /dev/sda1
You should see /dev/mapper/swap now. Don't format nor turn it on for now. This will be done by the arch installer.
Important: From the Cryptsetup 1.1.2 Release notes:
Cryptsetup can accept passphrase on stdin (standard input). Handling of new line (\n) character is defined by input specification:
if keyfile is specified as "-" (using --key-file=- or by positional argument in luksFormat and luksAddKey, like cat file | cryptsetup --key-file=- <action> ), input is processed
as normal binary file and no new line is interpreted.
if there is no key file specification (with default input from stdin pipe like echo passphrase | cryptsetup <action> ) input is processed as input from terminal, reading will
stop after new line is detected.
If I understand this correctly, since the randomly generated key can contain a newline early on, piping the key into cryptsetup without specifying --key-file=- could result in a big part of the key to be ignored by cryptsetup. Example: if the random key was "foo\nandsomemorebaratheendofthekey", piping it directly into cryptsetup without --key-file=- would result in cryptsetup using only "foo" as key which would have big security implications. We should therefor ALWAYS pipe the key into cryptsetup using --key-file=- which ignores newlines.
gpg -q -d root.gpg 2>/dev/null | cryptsetup -v -–key-file=- -c aes-cbc-essiv:sha256 -s 256 -h whirlpool luksFormat /dev/sda3
gpg -q -d var.gpg 2>/dev/null | cryptsetup -v –-key-file=- -c aes-cbc-essiv:sha256 -s 256 -h whirlpool -v luksFormat /dev/sda2
Check for any errors.
10. Open the luks devices
gpg -d root.gpg 2>/dev/null | cryptsetup -v –-key-file=- luksOpen /dev/sda3 root
gpg -d var.gpg 2>/dev/null | cryptsetup -v –-key-file=- luksOpen /dev/sda2 var
If you see /dev/mapper/root and /dev/mapper/var now, everything is ok.
11. Start the installer /arch/setup
Follow steps 1 to 3.
At step 4 (Prepare hard drive(s), select “3 – Manually Configure block devices, filesystems and mountpoints. Choose /dev/sdb1 (the usb stick) as /boot, /dev/mapper/swap for swap, /dev/mapper/root for / and /dev/mapper/var for /var.
Format all drives (choose “yes” when asked “do you want to have this filesystem (re)created”) EXCEPT for /dev/sdb1, choose “no”. Choose the correct filesystem for /dev/sdb1, ext2 in my case. Use swap for /dev/mapper/swap. For the rest, I chose ext4.
Select DONE to start formatting.
At step 5 (Select packages), select grub as boot loader. Select the base group. Add mkinitcpio.
Start step 6 (Install packages).
Go to step 7 (Configure System).
By sure to set the correct KEYMAP, LOCALE and TIMEZONE in /etc/rc.conf.
Edit /etc/fstab:
/dev/mapper/root / ext4 defaults 0 1
/dev/mapper/swap swap swap defaults 0 0
/dev/mapper/var /var ext4 defaults 0 1
# /dev/sdb1 /boot ext2 defaults 0 1
Configure the rest normally. When you're done, setup will launch mkinitcpio. We'll manually launch this again later.
Go to step 8 (install boot loader).
Be sure to change the kernel line in menu.lst:
kernel /vmlinuz26 root=/dev/mapper/root cryptdevice=/dev/sda3:root cryptkey=/dev/sdb1:ext2:/root.gpg
Don't forget the :root suffix in cryptdevice!
Also, my root line was set to (hd1,0). Had to change that to
root (hd0,0)
Install grub to /dev/sdb (the usb stick).
Now, we can exit the installer.
12. Install mkinitcpio with the etwo hook.
Create /mnt/lib/initcpio/hooks/etwo:
#!/usr/bin/ash
run_hook() {
/sbin/modprobe -a -q dm-crypt >/dev/null 2>&1
if [ -e "/sys/class/misc/device-mapper" ]; then
if [ ! -e "/dev/mapper/control" ]; then
/bin/mknod "/dev/mapper/control" c $(cat /sys/class/misc/device-mapper/dev | sed 's|:| |')
fi
[ "${quiet}" = "y" ] && CSQUIET=">/dev/null"
# Get keyfile if specified
ckeyfile="/crypto_keyfile"
usegpg="n"
if [ "x${cryptkey}" != "x" ]; then
ckdev="$(echo "${cryptkey}" | cut -d: -f1)"
ckarg1="$(echo "${cryptkey}" | cut -d: -f2)"
ckarg2="$(echo "${cryptkey}" | cut -d: -f3)"
if poll_device "${ckdev}" ${rootdelay}; then
case ${ckarg1} in
*[!0-9]*)
# Use a file on the device
# ckarg1 is not numeric: ckarg1=filesystem, ckarg2=path
if [ "${ckarg2#*.}" = "gpg" ]; then
ckeyfile="${ckeyfile}.gpg"
usegpg="y"
fi
mkdir /ckey
mount -r -t ${ckarg1} ${ckdev} /ckey
dd if=/ckey/${ckarg2} of=${ckeyfile} >/dev/null 2>&1
umount /ckey
# Read raw data from the block device
# ckarg1 is numeric: ckarg1=offset, ckarg2=length
dd if=${ckdev} of=${ckeyfile} bs=1 skip=${ckarg1} count=${ckarg2} >/dev/null 2>&1
esac
fi
[ ! -f ${ckeyfile} ] && echo "Keyfile could not be opened. Reverting to passphrase."
fi
if [ -n "${cryptdevice}" ]; then
DEPRECATED_CRYPT=0
cryptdev="$(echo "${cryptdevice}" | cut -d: -f1)"
cryptname="$(echo "${cryptdevice}" | cut -d: -f2)"
else
DEPRECATED_CRYPT=1
cryptdev="${root}"
cryptname="root"
fi
warn_deprecated() {
echo "The syntax 'root=${root}' where '${root}' is an encrypted volume is deprecated"
echo "Use 'cryptdevice=${root}:root root=/dev/mapper/root' instead."
if poll_device "${cryptdev}" ${rootdelay}; then
if /sbin/cryptsetup isLuks ${cryptdev} >/dev/null 2>&1; then
[ ${DEPRECATED_CRYPT} -eq 1 ] && warn_deprecated
dopassphrase=1
# If keyfile exists, try to use that
if [ -f ${ckeyfile} ]; then
if [ "${usegpg}" = "y" ]; then
# gpg tty fixup
if [ -e /dev/tty ]; then mv /dev/tty /dev/tty.backup; fi
cp -a /dev/console /dev/tty
while [ ! -e /dev/mapper/${cryptname} ];
do
sleep 2
/usr/bin/gpg -d "${ckeyfile}" 2>/dev/null | cryptsetup --key-file=- luksOpen ${cryptdev} ${cryptname} ${CSQUIET}
dopassphrase=0
done
rm /dev/tty
if [ -e /dev/tty.backup ]; then mv /dev/tty.backup /dev/tty; fi
else
if eval /sbin/cryptsetup --key-file ${ckeyfile} luksOpen ${cryptdev} ${cryptname} ${CSQUIET}; then
dopassphrase=0
else
echo "Invalid keyfile. Reverting to passphrase."
fi
fi
fi
# Ask for a passphrase
if [ ${dopassphrase} -gt 0 ]; then
echo ""
echo "A password is required to access the ${cryptname} volume:"
#loop until we get a real password
while ! eval /sbin/cryptsetup luksOpen ${cryptdev} ${cryptname} ${CSQUIET}; do
sleep 2;
done
fi
if [ -e "/dev/mapper/${cryptname}" ]; then
if [ ${DEPRECATED_CRYPT} -eq 1 ]; then
export root="/dev/mapper/root"
fi
else
err "Password succeeded, but ${cryptname} creation failed, aborting..."
exit 1
fi
elif [ -n "${crypto}" ]; then
[ ${DEPRECATED_CRYPT} -eq 1 ] && warn_deprecated
msg "Non-LUKS encrypted device found..."
if [ $# -ne 5 ]; then
err "Verify parameter format: crypto=hash:cipher:keysize:offset:skip"
err "Non-LUKS decryption not attempted..."
return 1
fi
exe="/sbin/cryptsetup create ${cryptname} ${cryptdev}"
tmp=$(echo "${crypto}" | cut -d: -f1)
[ -n "${tmp}" ] && exe="${exe} --hash \"${tmp}\""
tmp=$(echo "${crypto}" | cut -d: -f2)
[ -n "${tmp}" ] && exe="${exe} --cipher \"${tmp}\""
tmp=$(echo "${crypto}" | cut -d: -f3)
[ -n "${tmp}" ] && exe="${exe} --key-size \"${tmp}\""
tmp=$(echo "${crypto}" | cut -d: -f4)
[ -n "${tmp}" ] && exe="${exe} --offset \"${tmp}\""
tmp=$(echo "${crypto}" | cut -d: -f5)
[ -n "${tmp}" ] && exe="${exe} --skip \"${tmp}\""
if [ -f ${ckeyfile} ]; then
exe="${exe} --key-file ${ckeyfile}"
else
exe="${exe} --verify-passphrase"
echo ""
echo "A password is required to access the ${cryptname} volume:"
fi
eval "${exe} ${CSQUIET}"
if [ $? -ne 0 ]; then
err "Non-LUKS device decryption failed. verify format: "
err " crypto=hash:cipher:keysize:offset:skip"
exit 1
fi
if [ -e "/dev/mapper/${cryptname}" ]; then
if [ ${DEPRECATED_CRYPT} -eq 1 ]; then
export root="/dev/mapper/root"
fi
else
err "Password succeeded, but ${cryptname} creation failed, aborting..."
exit 1
fi
else
err "Failed to open encryption mapping: The device ${cryptdev} is not a LUKS volume and the crypto= paramater was not specified."
fi
fi
rm -f ${ckeyfile}
fi
Create /mnt/lib/initcpio/install/etwo:
#!/bin/bash
build() {
local mod
add_module dm-crypt
if [[ $CRYPTO_MODULES ]]; then
for mod in $CRYPTO_MODULES; do
add_module "$mod"
done
else
add_all_modules '/crypto/'
fi
add_dir "/dev/mapper"
add_binary "cryptsetup"
add_binary "dmsetup"
add_binary "/usr/bin/gpg"
add_file "/usr/lib/udev/rules.d/10-dm.rules"
add_file "/usr/lib/udev/rules.d/13-dm-disk.rules"
add_file "/usr/lib/udev/rules.d/95-dm-notify.rules"
add_file "/usr/lib/initcpio/udev/11-dm-initramfs.rules" "/usr/lib/udev/rules.d/11-dm-initramfs.rules"
add_runscript
help ()
cat<<HELPEOF
This hook allows for an encrypted root device with support for gpg encrypted key files.
To use gpg, the key file must have the extension .gpg and you have to install gpg and add /usr/bin/gpg
to your BINARIES var in /etc/mkinitcpio.conf.
HELPEOF
Edit /mnt/etc/mkinitcpio.conf (only relevant sections displayed):
MODULES=”ext2 ext4” # not sure if this is really nessecary.
BINARIES=”/usr/bin/gpg” # this could probably be done in install/etwo...
HOOKS=”base udev usbinput keymap autodetect pata scsi sata usb etwo filesystems” # (usbinput is only needed if you have an usb keyboard)
Copy the initcpio stuff over to the live cd:
cp /mnt/lib/initcpio/hooks/etwo /lib/initcpio/hooks/
cp /mnt/lib/initcpio/install/etwo /lib/initcpio/install/
cp /mnt/etc/mkinitcpio.conf /etc/
Verify your LOCALE, KEYMAP and TIMEZONE in /etc/rc.conf!
Now reinstall the initcpio:
mkinitcpio -g /mnt/boot/kernel26.img
Make sure there were no errors and that all hooks were included.
13. Decrypt the "var" key to the encrypted root
mkdir /mnt/keys
chmod 500 /mnt/keys
gpg –output /mnt/keys/var -d /mnt/boot/var.gpg
chmod 400 /mnt/keys/var
14. Setup crypttab
Edit /mnt/etc/crypttab:
swap /dev/sda1 SWAP -c aes-cbc-essiv:sha256 -s 256 -h whirlpool
var /dev/sda2 /keys/var
15. Reboot
We're done, you may reboot. Make sure you select the usb stick as the boot device in your bios and hope for the best. . If it didn't work, play with grub's settings or boot from the live cd, mount your encrypted devices and check all settings. You might also have less trouble by using uuid's instead of device names. I chose device names to keep things as simple as possible, even though it's not the optimal way to do it.
Make backups of your data and your usb stick and do not forget your password(s)! Or you can say goodbye to your data forever...
Last edited by fabriceb (2013-01-15 22:36:23)I'm trying to run my install script that is based on https://bbs.archlinux.org/viewtopic.php?id=129885
Decrypting the gpg key after grub works, but then "Devce root already exists." appears every second.
any idea ?
#!/bin/bash
# This script is designed to be run in conjunction with a UEFI boot using Archboot intall media.
# prereqs:
# EFI "BIOS" set to boot *only* from EFI
# successful EFI boot of Archboot USB
# mount /dev/sdb1 /src
set -o nounset
#set -o errexit
# Host specific configuration
# this whole script needs to be customized, particularly disk partitions
# and configuration, but this section contains global variables that
# are used during the system configuration phase for convenience
HOSTNAME=daniel
USERNAME=user
# Globals
# We don't need to set these here but they are used repeatedly throughout
# so it makes sense to reuse them and allow an easy, one-time change if we
# need to alter values such as the install target mount point.
INSTALL_TARGET="/install"
HR="--------------------------------------------------------------------------------"
PACMAN="pacman --noconfirm --config /tmp/pacman.conf"
TARGET_PACMAN="pacman --noconfirm --config /tmp/pacman.conf -r ${INSTALL_TARGET}"
CHROOT_PACMAN="pacman --noconfirm --cachedir /var/cache/pacman/pkg --config /tmp/pacman.conf -r ${INSTALL_TARGET}"
FILE_URL="file:///packages/core-$(uname -m)/pkg"
FTP_URL='ftp://mirrors.kernel.org/archlinux/$repo/os/$arch'
HTTP_URL='http://mirrors.kernel.org/archlinux/$repo/os/$arch'
# Functions
# I've avoided using functions in this script as they aren't required and
# I think it's more of a learning tool if you see the step-by-step
# procedures even with minor duplciations along the way, but I feel that
# these functions clarify the particular steps of setting values in config
# files.
SetValue () {
# EXAMPLE: SetValue VARIABLENAME '\"Quoted Value\"' /file/path
VALUENAME="$1" NEWVALUE="$2" FILEPATH="$3"
sed -i "s+^#\?\(${VALUENAME}\)=.*$+\1=${NEWVALUE}+" "${FILEPATH}"
CommentOutValue () {
VALUENAME="$1" FILEPATH="$2"
sed -i "s/^\(${VALUENAME}.*\)$/#\1/" "${FILEPATH}"
UncommentValue () {
VALUENAME="$1" FILEPATH="$2"
sed -i "s/^#\(${VALUENAME}.*\)$/\1/" "${FILEPATH}"
# Initialize
# Warn the user about impending doom, set up the network on eth0, mount
# the squashfs images (Archboot does this normally, we're just filling in
# the gaps resulting from the fact that we're doing a simple scripted
# install). We also create a temporary pacman.conf that looks for packages
# locally first before sourcing them from the network. It would be better
# to do either *all* local or *all* network but we can't for two reasons.
# 1. The Archboot installation image might have an out of date kernel
# (currently the case) which results in problems when chrooting
# into the install mount point to modprobe efivars. So we use the
# package snapshot on the Archboot media to ensure our kernel is
# the same as the one we booted with.
# 2. Ideally we'd source all local then, but some critical items,
# notably grub2-efi variants, aren't yet on the Archboot media.
# Warn
timer=9
echo -e "\n\nMAC WARNING: This script is not designed for APPLE MAC installs and will potentially misconfigure boot to your existing OS X installation. STOP NOW IF YOU ARE ON A MAC.\n\n"
echo -n "GENERAL WARNING: This procedure will completely format /dev/sda. Please cancel with ctrl-c to cancel within $timer seconds..."
while [[ $timer -gt 0 ]]
do
sleep 1
let timer-=1
echo -en "$timer seconds..."
done
echo "STARTING"
# Get Network
echo -n "Waiting for network address.."
#dhclient eth0
dhcpcd -p eth0
echo -n "Network address acquired."
# Mount packages squashfs images
umount "/packages/core-$(uname -m)"
umount "/packages/core-any"
rm -rf "/packages/core-$(uname -m)"
rm -rf "/packages/core-any"
mkdir -p "/packages/core-$(uname -m)"
mkdir -p "/packages/core-any"
modprobe -q loop
modprobe -q squashfs
mount -o ro,loop -t squashfs "/src/packages/archboot_packages_$(uname -m).squashfs" "/packages/core-$(uname -m)"
mount -o ro,loop -t squashfs "/src/packages/archboot_packages_any.squashfs" "/packages/core-any"
# Create temporary pacman.conf file
cat << PACMANEOF > /tmp/pacman.conf
[options]
Architecture = auto
CacheDir = ${INSTALL_TARGET}/var/cache/pacman/pkg
CacheDir = /packages/core-$(uname -m)/pkg
CacheDir = /packages/core-any/pkg
[core]
Server = ${FILE_URL}
Server = ${FTP_URL}
Server = ${HTTP_URL}
[extra]
Server = ${FILE_URL}
Server = ${FTP_URL}
Server = ${HTTP_URL}
#Uncomment to enable pacman -Sy yaourt
[archlinuxfr]
Server = http://repo.archlinux.fr/\$arch
PACMANEOF
# Prepare pacman
[[ ! -d "${INSTALL_TARGET}/var/cache/pacman/pkg" ]] && mkdir -m 755 -p "${INSTALL_TARGET}/var/cache/pacman/pkg"
[[ ! -d "${INSTALL_TARGET}/var/lib/pacman" ]] && mkdir -m 755 -p "${INSTALL_TARGET}/var/lib/pacman"
${PACMAN} -Sy
${TARGET_PACMAN} -Sy
# Install prereqs from network (not on archboot media)
echo -e "\nInstalling prereqs...\n$HR"
#sed -i "s/^#S/S/" /etc/pacman.d/mirrorlist # Uncomment all Server lines
UncommentValue S /etc/pacman.d/mirrorlist # Uncomment all Server lines
${PACMAN} --noconfirm -Sy gptfdisk btrfs-progs-unstable libusb-compat gnupg
# Configure Host
# Here we create three partitions:
# 1. efi and /boot (one partition does double duty)
# 2. swap
# 3. our encrypted root
# Note that all of these are on a GUID partition table scheme. This proves
# to be quite clean and simple since we're not doing anything with MBR
# boot partitions and the like.
echo -e "format\n"
# shred -v /dev/sda
# disk prep
sgdisk -Z /dev/sda # zap all on disk
#sgdisk -Z /dev/mmcb1k0 # zap all on sdcard
sgdisk -a 2048 -o /dev/sda # new gpt disk 2048 alignment
#sgdisk -a 2048 -o /dev/mmcb1k0
# create partitions
sgdisk -n 1:0:+200M /dev/sda # partition 1 (UEFI BOOT), default start block, 200MB
sgdisk -n 2:0:+4G /dev/sda # partition 2 (SWAP), default start block, 200MB
sgdisk -n 3:0:0 /dev/sda # partition 3, (LUKS), default start, remaining space
#sgdisk -n 1:0:1800M /dev/mmcb1k0 # root.gpg
# set partition types
sgdisk -t 1:ef00 /dev/sda
sgdisk -t 2:8200 /dev/sda
sgdisk -t 3:8300 /dev/sda
#sgdisk -t 1:0700 /dev/mmcb1k0
# label partitions
sgdisk -c 1:"UEFI Boot" /dev/sda
sgdisk -c 2:"Swap" /dev/sda
sgdisk -c 3:"LUKS" /dev/sda
#sgdisk -c 1:"Key" /dev/mmcb1k0
echo -e "create gpg file\n"
# create gpg file
dd if=/dev/urandom bs=512 count=4 | gpg -v --cipher-algo aes256 --digest-algo sha512 -c -a > /root/root.gpg
echo -e "format LUKS on root\n"
# format LUKS on root
gpg -q -d /root/root.gpg 2>/dev/null | cryptsetup -v --key-file=- -c aes-xts-plain -s 512 --hash sha512 luksFormat /dev/sda3
echo -e "open LUKS on root\n"
gpg -d /root/root.gpg 2>/dev/null | cryptsetup -v --key-file=- luksOpen /dev/sda3 root
# NOTE: make sure to add dm_crypt and aes_i586 to MODULES in rc.conf
# NOTE2: actually this isn't required since we're mounting an encrypted root and grub2/initramfs handles this before we even get to rc.conf
# make filesystems
# following swap related commands not used now that we're encrypting our swap partition
#mkswap /dev/sda2
#swapon /dev/sda2
#mkfs.ext4 /dev/sda3 # this is where we'd create an unencrypted root partition, but we're using luks instead
echo -e "\nCreating Filesystems...\n$HR"
# make filesystems
mkfs.ext4 /dev/mapper/root
mkfs.vfat -F32 /dev/sda1
#mkfs.vfat -F32 /dev/mmcb1k0p1
echo -e "mount targets\n"
# mount target
#mount /dev/sda3 ${INSTALL_TARGET} # this is where we'd mount the unencrypted root partition
mount /dev/mapper/root ${INSTALL_TARGET}
# mount target
mkdir ${INSTALL_TARGET}
# mkdir ${INSTALL_TARGET}/key
# mount -t vfat /dev/mmcb1k0p1 ${INSTALL_TARGET}/key
mkdir ${INSTALL_TARGET}/boot
mount -t vfat /dev/sda1 ${INSTALL_TARGET}/boot
# Install base, necessary utilities
mkdir -p ${INSTALL_TARGET}/var/lib/pacman
${TARGET_PACMAN} -Sy
${TARGET_PACMAN} -Su base
# curl could be installed later but we want it ready for rankmirrors
${TARGET_PACMAN} -S curl
${TARGET_PACMAN} -S libusb-compat gnupg
${TARGET_PACMAN} -R grub
rm -rf ${INSTALL_TARGET}/boot/grub
${TARGET_PACMAN} -S grub2-efi-x86_64
# Configure new system
SetValue HOSTNAME ${HOSTNAME} ${INSTALL_TARGET}/etc/rc.conf
sed -i "s/^\(127\.0\.0\.1.*\)$/\1 ${HOSTNAME}/" ${INSTALL_TARGET}/etc/hosts
SetValue CONSOLEFONT Lat2-Terminus16 ${INSTALL_TARGET}/etc/rc.conf
#following replaced due to netcfg
#SetValue interface eth0 ${INSTALL_TARGET}/etc/rc.conf
# write fstab
# You can use UUID's or whatever you want here, of course. This is just
# the simplest approach and as long as your drives aren't changing values
# randomly it should work fine.
cat > ${INSTALL_TARGET}/etc/fstab <<FSTAB_EOF
# /etc/fstab: static file system information
# <file system> <dir> <type> <options> <dump> <pass>
tmpfs /tmp tmpfs nodev,nosuid 0 0
/dev/sda1 /boot vfat defaults 0 0
/dev/mapper/cryptswap none swap defaults 0 0
/dev/mapper/root / ext4 defaults,noatime 0 1
FSTAB_EOF
# write etwo
mkdir -p /lib/initcpio/hooks/
mkdir -p /lib/initcpio/install/
cp /src/etwo_hooks /lib/initcpio/hooks/etwo
cp /src/etwo_install /lib/initcpio/install/etwo
mkdir -p ${INSTALL_TARGET}/lib/initcpio/hooks/
mkdir -p ${INSTALL_TARGET}/lib/initcpio/install/
cp /src/etwo_hooks ${INSTALL_TARGET}/lib/initcpio/hooks/etwo
cp /src/etwo_install ${INSTALL_TARGET}/lib/initcpio/install/etwo
# write crypttab
# encrypted swap (random passphrase on boot)
echo cryptswap /dev/sda2 SWAP "-c aes-xts-plain -h whirlpool -s 512" >> ${INSTALL_TARGET}/etc/crypttab
# copy configs we want to carry over to target from install environment
mv ${INSTALL_TARGET}/etc/resolv.conf ${INSTALL_TARGET}/etc/resolv.conf.orig
cp /etc/resolv.conf ${INSTALL_TARGET}/etc/resolv.conf
mkdir -p ${INSTALL_TARGET}/tmp
cp /tmp/pacman.conf ${INSTALL_TARGET}/tmp/pacman.conf
# mount proc, sys, dev in install root
mount -t proc proc ${INSTALL_TARGET}/proc
mount -t sysfs sys ${INSTALL_TARGET}/sys
mount -o bind /dev ${INSTALL_TARGET}/dev
echo -e "umount boot\n"
# we have to remount /boot from inside the chroot
umount ${INSTALL_TARGET}/boot
# Create install_efi script (to be run *after* chroot /install)
touch ${INSTALL_TARGET}/install_efi
chmod a+x ${INSTALL_TARGET}/install_efi
cat > ${INSTALL_TARGET}/install_efi <<EFI_EOF
# functions (these could be a library, but why overcomplicate things
SetValue () { VALUENAME="\$1" NEWVALUE="\$2" FILEPATH="\$3"; sed -i "s+^#\?\(\${VALUENAME}\)=.*\$+\1=\${NEWVALUE}+" "\${FILEPATH}"; }
CommentOutValue () { VALUENAME="\$1" FILEPATH="\$2"; sed -i "s/^\(\${VALUENAME}.*\)\$/#\1/" "\${FILEPATH}"; }
UncommentValue () { VALUENAME="\$1" FILEPATH="\$2"; sed -i "s/^#\(\${VALUENAME}.*\)\$/\1/" "\${FILEPATH}"; }
echo -e "mount boot\n"
# remount here or grub et al gets confused
mount -t vfat /dev/sda1 /boot
# mkinitcpio
# NOTE: intel_agp drm and i915 for intel graphics
SetValue MODULES '\\"dm_mod dm_crypt aes_x86_64 ext2 ext4 vfat intel_agp drm i915\\"' /etc/mkinitcpio.conf
SetValue HOOKS '\\"base udev pata scsi sata usb usbinput keymap consolefont etwo encrypt filesystems\\"' /etc/mkinitcpio.conf
SetValue BINARIES '\\"/usr/bin/gpg\\"' /etc/mkinitcpio.conf
mkinitcpio -p linux
# kernel modules for EFI install
modprobe efivars
modprobe dm-mod
# locale-gen
UncommentValue de_AT /etc/locale.gen
locale-gen
# install and configure grub2
# did this above
#${CHROOT_PACMAN} -Sy
#${CHROOT_PACMAN} -R grub
#rm -rf /boot/grub
#${CHROOT_PACMAN} -S grub2-efi-x86_64
# you can be surprisingly sloppy with the root value you give grub2 as a kernel option and
# even omit the cryptdevice altogether, though it will wag a finger at you for using
# a deprecated syntax, so we're using the correct form here
# NOTE: take out i915.modeset=1 unless you are on intel graphics
SetValue GRUB_CMDLINE_LINUX '\\"cryptdevice=/dev/sda3:root cryptkey=/dev/sda1:vfat:/root.gpg add_efi_memmap i915.i915_enable_rc6=1 i915.i915_enable_fbc=1 i915.lvds_downclock=1 pcie_aspm=force quiet\\"' /etc/default/grub
# set output to graphical
SetValue GRUB_TERMINAL_OUTPUT gfxterm /etc/default/grub
SetValue GRUB_GFXMODE 960x600x32,auto /etc/default/grub
SetValue GRUB_GFXPAYLOAD_LINUX keep /etc/default/grub # comment out this value if text only mode
# install the actual grub2. Note that despite our --boot-directory option we will still need to move
# the grub directory to /boot/grub during grub-mkconfig operations until grub2 gets patched (see below)
grub_efi_x86_64-install --bootloader-id=grub --no-floppy --recheck
# create our EFI boot entry
# bug in the HP bios firmware (F.08)
efibootmgr --create --gpt --disk /dev/sda --part 1 --write-signature --label "ARCH LINUX" --loader "\\\\grub\\\\grub.efi"
# copy font for grub2
cp /usr/share/grub/unicode.pf2 /boot/grub
# generate config file
grub-mkconfig -o /boot/grub/grub.cfg
exit
EFI_EOF
# Install EFI using script inside chroot
chroot ${INSTALL_TARGET} /install_efi
rm ${INSTALL_TARGET}/install_efi
# Post install steps
# anything you want to do post install. run the script automatically or
# manually
touch ${INSTALL_TARGET}/post_install
chmod a+x ${INSTALL_TARGET}/post_install
cat > ${INSTALL_TARGET}/post_install <<POST_EOF
set -o errexit
set -o nounset
# functions (these could be a library, but why overcomplicate things
SetValue () { VALUENAME="\$1" NEWVALUE="\$2" FILEPATH="\$3"; sed -i "s+^#\?\(\${VALUENAME}\)=.*\$+\1=\${NEWVALUE}+" "\${FILEPATH}"; }
CommentOutValue () { VALUENAME="\$1" FILEPATH="\$2"; sed -i "s/^\(\${VALUENAME}.*\)\$/#\1/" "\${FILEPATH}"; }
UncommentValue () { VALUENAME="\$1" FILEPATH="\$2"; sed -i "s/^#\(\${VALUENAME}.*\)\$/\1/" "\${FILEPATH}"; }
# root password
echo -e "${HR}\\nNew root user password\\n${HR}"
passwd
# add user
echo -e "${HR}\\nNew non-root user password (username:${USERNAME})\\n${HR}"
groupadd sudo
useradd -m -g users -G audio,lp,optical,storage,video,games,power,scanner,network,sudo,wheel -s /bin/bash ${USERNAME}
passwd ${USERNAME}
# mirror ranking
echo -e "${HR}\\nRanking Mirrors (this will take a while)\\n${HR}"
cp /etc/pacman.d/mirrorlist /etc/pacman.d/mirrorlist.orig
mv /etc/pacman.d/mirrorlist /etc/pacman.d/mirrorlist.all
sed -i "s/#S/S/" /etc/pacman.d/mirrorlist.all
rankmirrors -n 5 /etc/pacman.d/mirrorlist.all > /etc/pacman.d/mirrorlist
# temporary fix for locale.sh update conflict
mv /etc/profile.d/locale.sh /etc/profile.d/locale.sh.preupdate || true
# yaourt repo (add to target pacman, not tmp pacman.conf, for ongoing use)
echo -e "\\n[archlinuxfr]\\nServer = http://repo.archlinux.fr/\\\$arch" >> /etc/pacman.conf
echo -e "\\n[haskell]\\nServer = http://www.kiwilight.com/\\\$repo/\\\$arch" >> /etc/pacman.conf
# additional groups and utilities
pacman --noconfirm -Syu
pacman --noconfirm -S base-devel
pacman --noconfirm -S yaourt
# sudo
pacman --noconfirm -S sudo
cp /etc/sudoers /tmp/sudoers.edit
sed -i "s/#\s*\(%wheel\s*ALL=(ALL)\s*ALL.*$\)/\1/" /tmp/sudoers.edit
sed -i "s/#\s*\(%sudo\s*ALL=(ALL)\s*ALL.*$\)/\1/" /tmp/sudoers.edit
visudo -qcsf /tmp/sudoers.edit && cat /tmp/sudoers.edit > /etc/sudoers
# power
pacman --noconfirm -S acpi acpid acpitool cpufrequtils
yaourt --noconfirm -S powertop2
sed -i "/^DAEMONS/ s/)/ @acpid)/" /etc/rc.conf
sed -i "/^MODULES/ s/)/ acpi-cpufreq cpufreq_ondemand cpufreq_powersave coretemp)/" /etc/rc.conf
# following requires my acpi handler script
echo "/etc/acpi/handler.sh boot" > /etc/rc.local
# time
pacman --noconfirm -S ntp
sed -i "/^DAEMONS/ s/hwclock /!hwclock @ntpd /" /etc/rc.conf
# wireless (wpa supplicant should already be installed)
pacman --noconfirm -S iw wpa_supplicant rfkill
pacman --noconfirm -S netcfg wpa_actiond ifplugd
mv /etc/wpa_supplicant.conf /etc/wpa_supplicant.conf.orig
echo -e "ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=network\nupdate_config=1" > /etc/wpa_supplicant.conf
# make sure to copy /etc/network.d/examples/wireless-wpa-config to /etc/network.d/home and edit
sed -i "/^DAEMONS/ s/)/ @net-auto-wireless @net-auto-wired)/" /etc/rc.conf
sed -i "/^DAEMONS/ s/ network / /" /etc/rc.conf
echo -e "\nWIRELESS_INTERFACE=wlan0" >> /etc/rc.conf
echo -e "WIRED_INTERFACE=eth0" >> /etc/rc.conf
echo "options iwlagn led_mode=2" > /etc/modprobe.d/iwlagn.conf
# sound
pacman --noconfirm -S alsa-utils alsa-plugins
sed -i "/^DAEMONS/ s/)/ @alsa)/" /etc/rc.conf
mv /etc/asound.conf /etc/asound.conf.orig || true
#if alsamixer isn't working, try alsamixer -Dhw and speaker-test -Dhw -c 2
# video
pacman --noconfirm -S base-devel mesa mesa-demos
# x
#pacman --noconfirm -S xorg xorg-xinit xorg-utils xorg-server-utils xdotool xorg-xlsfonts
#yaourt --noconfirm -S xf86-input-wacom-git # NOT NEEDED? input-wacom-git
#TODO: cut down the install size
#pacman --noconfirm -S xorg-server xorg-xinit xorg-utils xorg-server-utils
# TODO: wacom
# environment/wm/etc.
#pacman --noconfirm -S xfce4 compiz ccsm
#pacman --noconfirm -S xcompmgr
#yaourt --noconfirm -S physlock unclutter
#pacman --noconfirm -S rxvt-unicode urxvt-url-select hsetroot
#pacman --noconfirm -S gtk2 #gtk3 # for taffybar?
#pacman --noconfirm -S ghc
# note: try installing alex and happy from cabal instead
#pacman --noconfirm -S haskell-platform haskell-hscolour
#yaourt --noconfirm -S xmonad-darcs xmonad-contrib-darcs xcompmgr
#yaourt --noconfirm -S xmobar-git
# TODO: edit xfce to use compiz
# TODO: xmonad, but deal with video tearing
# TODO: xmonad-darcs fails to install from AUR. haskell dependency hell.
# switching to cabal
# fonts
pacman --noconfirm -S terminus-font
yaourt --noconfirm -S webcore-fonts
yaourt --noconfirm -S fontforge libspiro
yaourt --noconfirm -S freetype2-git-infinality
# TODO: sed infinality and change to OSX or OSX2 mode
# and create the sym link from /etc/fonts/conf.avail to conf.d
# misc apps
#pacman --noconfirm -S htop openssh keychain bash-completion git vim
#pacman --noconfirm -S chromium flashplugin
#pacman --noconfirm -S scrot mypaint bc
#yaourt --noconfirm -S task-git stellarium googlecl
# TODO: argyll
POST_EOF
# Post install in chroot
#echo "chroot and run /post_install"
chroot /install /post_install
rm /install/post_install
# copy grub.efi file to the default HP EFI boot manager path
mkdir -p ${INSTALL_TARGET}/boot/EFI/Microsoft/BOOT/
mkdir -p ${INSTALL_TARGET}/boot/EFI/BOOT/
cp ${INSTALL_TARGET}/boot/grub/grub.efi ${INSTALL_TARGET}/boot/EFI/Microsoft/BOOT/bootmgfw.efi
cp ${INSTALL_TARGET}/boot/grub/grub.efi ${INSTALL_TARGET}/boot/EFI/BOOT/BOOTX64.EFI
cp /root/root.gpg ${INSTALL_TARGET}/boot/
# NOTES/TODO -
Arch Linux doesn't detect RAID of SAS hard drives
Hello everyone:
I'm trying to install Arch Linux 2009.08 x86_64 on a server IBM xSeries 206m, which has hard drives connected to a SAS controller card Adaptec AIC-9405.
I put the disks in RAID 0 and starting the server, I can see on the menu of the RAID controller card that is fine, but when I'm going to make the partitions, I do not see any hard drive.
Checking with the command dmesg, I found some messages that seem to indicate the failure:
aic94xx: Adaptec aic94xx SAS/SATA driver version 1.0.3 loaded
aic94xx 0000:03:04.0: PCI INT A -> GSI 19 (level, low) -> IRQ 19
aic94xx: found Adaptec AIC-9405W SAS/SATA Host Adapter, device 0000:03:04.0
scsi2 : aic94xx
aic94xx 0000:03:04.0: firmware: requesting aic94xx-seq.fw
usb 2-1: configuration #1 chosen from 1 choice
aic94xx: Failed to load sequencer firmware file aic94xx-seq.fw, error -2
aic94xx: couldn't init seqs for 0000:03:04.0
aic94xx: couldn't init the chip
aic94xx 0000:03:04.0: PCI INT A disabled
aic94xx: probe of 0000:03:04.0 failed with error -2
Someone else with the same problem ... anyone know how to fix it ?GerBra wrote:
The error message of missing firmware file in dmesg/messages.log is gone away now?
Could you place dmesg.log or messages.log somewhere to view them? (Copy these files over network to an
other machine and load it up to some pastebin service, or attach it here).
You don't see the raid array when doing a: fdisk -l ?
Also a: cat /proc/scsi/scsi should also show the array if up and running.
SCSI modul aic94xx should also have a dir entry in /proc/scsi. Example: my Adaptec 2940 has detailled infos about the controller and device status in:
cat /proc/scsi/aic7xxx/2
If you have such a file (the number could differ on your machine) please post it also.
Maybe it's the best if you open a bugreport in http://bugs.archlinux.org/index/proj6 ....
Hi GerBra:
This is the dmesg.log:
Linux version 2.6.30-ARCH (root@T-POWA-LX) (gcc version 4.4.1 (GCC) ) #1 SMP PREEMPT Fri Jul 31 07:30:28 CEST 2009
Command line: lang=en locale=en_US.UTF-8 archisolabel=ARCHISO_KE1AECIE ramdisk_size=75%
KERNEL supported cpus:
Intel GenuineIntel
AMD AuthenticAMD
Centaur CentaurHauls
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009b800 (usable)
BIOS-e820: 000000000009b800 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000e0000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 00000000bfee0000 (usable)
BIOS-e820: 00000000bfee0000 - 00000000bfee9000 (ACPI data)
BIOS-e820: 00000000bfee9000 - 00000000bff00000 (ACPI NVS)
BIOS-e820: 00000000bff00000 - 00000000c0000000 (reserved)
BIOS-e820: 00000000fec00000 - 00000000fec10000 (reserved)
BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
BIOS-e820: 00000000ff000000 - 0000000100000000 (reserved)
BIOS-e820: 0000000100000000 - 0000000140000000 (usable)
DMI present.
last_pfn = 0x140000 max_arch_pfn = 0x100000000
MTRR default type: uncachable
MTRR fixed ranges enabled:
00000-9FFFF write-back
A0000-BFFFF uncachable
C0000-C7FFF write-protect
C8000-DFFFF uncachable
E0000-FFFFF write-protect
MTRR variable ranges enabled:
0 base 0C0000000 mask FC0000000 uncachable
1 base 000000000 mask F00000000 write-back
2 base 100000000 mask FC0000000 write-back
3 base 0BFF00000 mask FFFF00000 uncachable
4 disabled
5 disabled
6 disabled
7 disabled
x86 PAT enabled: cpu 0, old 0x7040600070406, new 0x7010600070106
e820 update range: 00000000bff00000 - 0000000100000000 (usable) ==> (reserved)
last_pfn = 0xbfee0 max_arch_pfn = 0x100000000
e820 update range: 0000000000001000 - 0000000000006000 (usable) ==> (reserved)
Scanning 1 areas for low memory corruption
modified physical RAM map:
modified: 0000000000000000 - 0000000000001000 (usable)
modified: 0000000000001000 - 0000000000006000 (reserved)
modified: 0000000000006000 - 000000000009b800 (usable)
modified: 000000000009b800 - 00000000000a0000 (reserved)
modified: 00000000000e0000 - 0000000000100000 (reserved)
modified: 0000000000100000 - 00000000bfee0000 (usable)
modified: 00000000bfee0000 - 00000000bfee9000 (ACPI data)
modified: 00000000bfee9000 - 00000000bff00000 (ACPI NVS)
modified: 00000000bff00000 - 00000000c0000000 (reserved)
modified: 00000000fec00000 - 00000000fec10000 (reserved)
modified: 00000000fee00000 - 00000000fee01000 (reserved)
modified: 00000000ff000000 - 0000000100000000 (reserved)
modified: 0000000100000000 - 0000000140000000 (usable)
init_memory_mapping: 0000000000000000-00000000bfee0000
0000000000 - 00bfe00000 page 2M
00bfe00000 - 00bfee0000 page 4k
kernel direct mapping tables up to bfee0000 @ 8000-d000
init_memory_mapping: 0000000100000000-0000000140000000
0100000000 - 0140000000 page 2M
kernel direct mapping tables up to 140000000 @ b000-11000
RAMDISK: 378e2000 - 37fef5c0
ACPI: RSDP 00000000000f64f0 00014 (v00 PTLTD )
ACPI: RSDT 00000000bfee3615 0003C (v01 PTLTD RSDT 06040000 LTP 00000000)
ACPI: FACP 00000000bfee8e70 00074 (v01 INTEL 06040000 PTL 00000003)
ACPI: DSDT 00000000bfee384c 05624 (v01 INTEL GLENWOOD 06040000 MSFT 0100000E)
ACPI: FACS 00000000bfee9fc0 00040
ACPI: SPCR 00000000bfee8ee4 00050 (v01 PTLTD $UCRTBL$ 06040000 PTL 00000001)
ACPI: MCFG 00000000bfee8f34 0003C (v01 PTLTD MCFG 06040000 LTP 00000000)
ACPI: APIC 00000000bfee8f70 00068 (v01 PTLTD APIC 06040000 LTP 00000000)
ACPI: BOOT 00000000bfee8fd8 00028 (v01 PTLTD $SBFTBL$ 06040000 LTP 00000001)
ACPI: SSDT 00000000bfee3651 001FB (v01 PmRef CpuPm 00003000 INTL 20030224)
ACPI: Local APIC address 0xfee00000
(8 early reservations) ==> bootmem [0000000000 - 0140000000]
#0 [0000000000 - 0000001000] BIOS data page ==> [0000000000 - 0000001000]
#1 [0000006000 - 0000008000] TRAMPOLINE ==> [0000006000 - 0000008000]
#2 [0000200000 - 000082d0d0] TEXT DATA BSS ==> [0000200000 - 000082d0d0]
#3 [00378e2000 - 0037fef5c0] RAMDISK ==> [00378e2000 - 0037fef5c0]
#4 [000009b800 - 0000100000] BIOS reserved ==> [000009b800 - 0000100000]
#5 [000082e000 - 000082e198] BRK ==> [000082e000 - 000082e198]
#6 [0000008000 - 000000b000] PGTABLE ==> [0000008000 - 000000b000]
#7 [000000b000 - 000000c000] PGTABLE ==> [000000b000 - 000000c000]
found SMP MP-table at [ffff8800000f6520] f6520
[ffffe20000000000-ffffe200045fffff] PMD -> [ffff880028200000-ffff88002c7fffff] on node 0
Zone PFN ranges:
DMA 0x00000000 -> 0x00001000
DMA32 0x00001000 -> 0x00100000
Normal 0x00100000 -> 0x00140000
Movable zone start PFN for each node
early_node_map[4] active PFN ranges
0: 0x00000000 -> 0x00000001
0: 0x00000006 -> 0x0000009b
0: 0x00000100 -> 0x000bfee0
0: 0x00100000 -> 0x00140000
On node 0 totalpages: 1048182
DMA zone: 56 pages used for memmap
DMA zone: 1688 pages reserved
DMA zone: 2246 pages, LIFO batch:0
DMA32 zone: 14280 pages used for memmap
DMA32 zone: 767768 pages, LIFO batch:31
Normal zone: 3584 pages used for memmap
Normal zone: 258560 pages, LIFO batch:31
ACPI: PM-Timer IO Port: 0x1008
ACPI: Local APIC address 0xfee00000
ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
ACPI: LAPIC (acpi_id[0x01] lapic_id[0x01] enabled)
ACPI: LAPIC_NMI (acpi_id[0x00] high edge lint[0x1])
ACPI: LAPIC_NMI (acpi_id[0x01] high edge lint[0x1])
ACPI: IOAPIC (id[0x02] address[0xfec00000] gsi_base[0])
IOAPIC[0]: apic_id 2, version 0, address 0xfec00000, GSI 0-23
ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 high edge)
ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
ACPI: IRQ0 used by override.
ACPI: IRQ2 used by override.
ACPI: IRQ9 used by override.
Using ACPI (MADT) for SMP configuration information
SMP: Allowing 2 CPUs, 0 hotplug CPUs
nr_irqs_gsi: 24
PM: Registered nosave memory: 0000000000001000 - 0000000000006000
PM: Registered nosave memory: 000000000009b000 - 000000000009c000
PM: Registered nosave memory: 000000000009c000 - 00000000000a0000
PM: Registered nosave memory: 00000000000a0000 - 00000000000e0000
PM: Registered nosave memory: 00000000000e0000 - 0000000000100000
PM: Registered nosave memory: 00000000bfee0000 - 00000000bfee9000
PM: Registered nosave memory: 00000000bfee9000 - 00000000bff00000
PM: Registered nosave memory: 00000000bff00000 - 00000000c0000000
PM: Registered nosave memory: 00000000c0000000 - 00000000fec00000
PM: Registered nosave memory: 00000000fec00000 - 00000000fec10000
PM: Registered nosave memory: 00000000fec10000 - 00000000fee00000
PM: Registered nosave memory: 00000000fee00000 - 00000000fee01000
PM: Registered nosave memory: 00000000fee01000 - 00000000ff000000
PM: Registered nosave memory: 00000000ff000000 - 0000000100000000
Allocating PCI resources starting at c4000000 (gap: c0000000:3ec00000)
NR_CPUS:16 nr_cpumask_bits:16 nr_cpu_ids:2 nr_node_ids:1
PERCPU: Embedded 25 pages at ffff880028022000, static data 72352 bytes
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 1028574
Kernel command line: lang=en locale=en_US.UTF-8 archisolabel=ARCHISO_KE1AECIE ramdisk_size=75%
Initializing CPU#0
NR_IRQS:768
PID hash table entries: 4096 (order: 12, 32768 bytes)
Fast TSC calibration using PIT
Detected 2999.990 MHz processor.
Console: colour VGA+ 80x25
console [tty0] enabled
Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes)
Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes)
Checking aperture...
No AGP bridge found
Calgary: detecting Calgary via BIOS EBDA area
Calgary: Unable to locate Rio Grande table in EBDA - bailing!
PCI-DMA: Using software bounce buffering for IO (SWIOTLB)
Placing 64MB software IO TLB between ffff880020000000 - ffff880024000000
software IO TLB at phys 0x20000000 - 0x24000000
Memory: 4034028k/5242880k available (3409k kernel code, 1050152k absent, 157764k reserved, 1239k data, 464k init)
SLUB: Genslabs=13, HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
Calibrating delay loop (skipped), value calculated using timer frequency.. 6002.97 BogoMIPS (lpj=9999966)
Security Framework initialized
Mount-cache hash table entries: 256
CPU: Trace cache: 12K uops, L1 D cache: 16K
CPU: L2 cache: 2048K
CPU: Physical Processor ID: 0
CPU: Processor Core ID: 0
CPU0: Thermal monitoring handled by SMI
using mwait in idle threads.
ACPI: Core revision 20090320
Setting APIC routing to flat
..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1
CPU0: Intel(R) Pentium(R) 4 CPU 3.00GHz stepping 03
Booting processor 1 APIC 0x1 ip 0x6000
Initializing CPU#1
Calibrating delay using timer specific routine.. 6002.80 BogoMIPS (lpj=9999695)
CPU: Trace cache: 12K uops, L1 D cache: 16K
CPU: L2 cache: 2048K
CPU: Physical Processor ID: 0
CPU: Processor Core ID: 0
CPU1: Thermal monitoring enabled (TM1)
x86 PAT enabled: cpu 1, old 0x7040600070406, new 0x7010600070106
CPU1: Intel(R) Pentium(R) 4 CPU 3.00GHz stepping 03
checking TSC synchronization [CPU#0 -> CPU#1]: passed.
Brought up 2 CPUs
Total of 2 processors activated (12004.78 BogoMIPS).
CPU0 attaching sched-domain:
domain 0: span 0-1 level SIBLING
groups: 0 1
CPU1 attaching sched-domain:
domain 0: span 0-1 level SIBLING
groups: 1 0
net_namespace: 1888 bytes
Booting paravirtualized kernel on bare hardware
NET: Registered protocol family 16
ACPI: bus type pci registered
PCI: MCFG configuration 0: base e0000000 segment 0 buses 0 - 9
PCI: Not using MMCONFIG.
PCI: Using configuration type 1 for base access
bio: create slab <bio-0> at 0
ACPI: EC: Look up EC in DSDT
ACPI: Interpreter enabled
ACPI: (supports S0 S1 S4 S5)
ACPI: Using IOAPIC for interrupt routing
PCI: MCFG configuration 0: base e0000000 segment 0 buses 0 - 9
PCI: MCFG area at e0000000 reserved in ACPI motherboard resources
PCI: Using MMCONFIG at e0000000 - e09fffff
ACPI: No dock devices found.
ACPI Warning (nspredef-0331): \_SB_.PCI0._OSC: Parameter count mismatch - ASL declared 5, ACPI requires 4 [20090320]
ACPI: PCI Root Bridge [PCI0] (0000:00)
pci 0000:00:01.0: PME# supported from D0 D3hot D3cold
pci 0000:00:01.0: PME# disabled
pci 0000:00:1c.0: PME# supported from D0 D3hot D3cold
pci 0000:00:1c.0: PME# disabled
pci 0000:00:1c.4: PME# supported from D0 D3hot D3cold
pci 0000:00:1c.4: PME# disabled
pci 0000:00:1c.5: PME# supported from D0 D3hot D3cold
pci 0000:00:1c.5: PME# disabled
pci 0000:00:1d.0: reg 20 io port: [0x3000-0x301f]
pci 0000:00:1d.1: reg 20 io port: [0x3020-0x303f]
pci 0000:00:1d.2: reg 20 io port: [0x3040-0x305f]
pci 0000:00:1d.7: reg 10 32bit mmio: [0xc0000000-0xc00003ff]
pci 0000:00:1d.7: PME# supported from D0 D3hot D3cold
pci 0000:00:1d.7: PME# disabled
pci 0000:00:1f.0: Force enabled HPET at 0xfed00000
pci 0000:00:1f.0: quirk: region 1000-107f claimed by ICH6 ACPI/GPIO/TCO
pci 0000:00:1f.0: quirk: region 1180-11bf claimed by ICH6 GPIO
pci 0000:00:1f.0: ICH7 LPC Generic IO decode 1 PIO at 0500 (mask 007f)
pci 0000:00:1f.0: ICH7 LPC Generic IO decode 2 PIO at 0ca0 (mask 000f)
pci 0000:00:1f.1: reg 10 io port: [0x00-0x07]
pci 0000:00:1f.1: reg 14 io port: [0x00-0x03]
pci 0000:00:1f.1: reg 18 io port: [0x00-0x07]
pci 0000:00:1f.1: reg 1c io port: [0x00-0x03]
pci 0000:00:1f.1: reg 20 io port: [0x3080-0x308f]
pci 0000:00:1f.3: reg 20 io port: [0x3060-0x307f]
pci 0000:00:01.0: bridge io port: [0x00-0xfff]
pci 0000:00:01.0: bridge 32bit mmio: [0x000000-0x0fffff]
pci 0000:00:01.0: bridge 64bit mmio pref: [0x000000-0x0fffff]
pci 0000:02:00.0: PXH quirk detected; SHPC device MSI disabled
pci 0000:02:00.0: PME# supported from D0 D3hot D3cold
pci 0000:02:00.0: PME# disabled
pci 0000:02:00.1: reg 10 32bit mmio: [0xc0100000-0xc0100fff]
pci 0000:00:1c.0: bridge io port: [0x4000-0x4fff]
pci 0000:00:1c.0: bridge 32bit mmio: [0xc0100000-0xc02fffff]
pci 0000:00:1c.0: bridge 64bit mmio pref: [0xc0500000-0xc05fffff]
pci 0000:03:04.0: reg 10 64bit mmio: [0xc0280000-0xc02bffff]
pci 0000:03:04.0: reg 18 64bit mmio: [0xc0500000-0xc051ffff]
pci 0000:03:04.0: reg 20 io port: [0x4000-0x40ff]
pci 0000:03:04.0: reg 30 32bit mmio: [0x000000-0x07ffff]
pci 0000:02:00.0: bridge io port: [0x4000-0x4fff]
pci 0000:02:00.0: bridge 32bit mmio: [0xc0200000-0xc02fffff]
pci 0000:02:00.0: bridge 64bit mmio pref: [0xc0500000-0xc05fffff]
pci 0000:04:00.0: reg 10 64bit mmio: [0xc0300000-0xc030ffff]
pci 0000:04:00.0: PME# supported from D3hot D3cold
pci 0000:04:00.0: PME# disabled
pci 0000:00:1c.4: bridge 32bit mmio: [0xc0300000-0xc03fffff]
pci 0000:00:1c.5: bridge io port: [0x00-0xfff]
pci 0000:00:1c.5: bridge 32bit mmio: [0x000000-0x0fffff]
pci 0000:00:1c.5: bridge 64bit mmio pref: [0x000000-0x0fffff]
pci 0000:0a:04.0: reg 10 32bit mmio: [0xc8000000-0xcfffffff]
pci 0000:0a:04.0: reg 14 io port: [0x5000-0x50ff]
pci 0000:0a:04.0: reg 18 32bit mmio: [0xc0400000-0xc040ffff]
pci 0000:0a:04.0: reg 30 32bit mmio: [0x000000-0x01ffff]
pci 0000:0a:04.0: supports D1 D2
pci 0000:00:1e.0: transparent bridge
pci 0000:00:1e.0: bridge io port: [0x5000-0x5fff]
pci 0000:00:1e.0: bridge 32bit mmio: [0xc0400000-0xc04fffff]
pci 0000:00:1e.0: bridge 64bit mmio pref: [0xc8000000-0xcfffffff]
pci_bus 0000:00: on NUMA node 0
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PEG_._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.EXP1.PXHV._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.EXP5._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.EXP6._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PCIB._PRT]
ACPI: PCI Interrupt Link [LNKA] (IRQs 3 *10 11 14 15)
ACPI: PCI Interrupt Link [LNKB] (IRQs 3 10 *11 14 15)
ACPI: PCI Interrupt Link [LNKC] (IRQs 3 10 *11 14 15)
ACPI: PCI Interrupt Link [LNKD] (IRQs 3 *10 11 14 15)
ACPI: PCI Interrupt Link [LNKE] (IRQs 3 10 11 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LNKF] (IRQs 3 10 11 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LNKG] (IRQs 3 10 11 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LNKH] (IRQs 3 10 11 14 15) *5
PCI: Using ACPI for IRQ routing
pci 0000:00:01.0: BAR 13: can't allocate resource
pci 0000:00:01.0: BAR 14: can't allocate resource
pci 0000:00:01.0: BAR 15: can't allocate resource
pci 0000:00:1c.5: BAR 13: can't allocate resource
pci 0000:00:1c.5: BAR 14: can't allocate resource
pci 0000:00:1c.5: BAR 15: can't allocate resource
NetLabel: Initializing
NetLabel: domain hash size = 128
NetLabel: protocols = UNLABELED CIPSOv4
NetLabel: unlabeled traffic allowed by default
hpet clockevent registered
HPET: 3 timers in total, 0 timers will be used for per-cpu timer
pnp: PnP ACPI init
ACPI: bus type pnp registered
pnp: PnP ACPI: found 12 devices
ACPI: ACPI bus type pnp unregistered
system 00:01: ioport range 0x800-0x83f has been reserved
system 00:01: ioport range 0x1000-0x107f has been reserved
system 00:01: ioport range 0x1180-0x11bf has been reserved
system 00:01: ioport range 0x4d0-0x4d1 has been reserved
system 00:01: ioport range 0x500-0x57f has been reserved
system 00:01: ioport range 0xca8-0xca8 has been reserved
system 00:01: ioport range 0xcac-0xcac has been reserved
system 00:01: ioport range 0xfe00-0xfe00 has been reserved
system 00:01: iomem range 0xfed14000-0xfed17fff has been reserved
system 00:01: iomem range 0xfed13000-0xfed13fff has been reserved
system 00:01: iomem range 0xe0000000-0xefffffff has been reserved
system 00:01: iomem range 0xfed20000-0xfed8ffff has been reserved
pci 0000:00:01.0: PCI bridge, secondary bus 0000:01
pci 0000:00:01.0: IO window: disabled
pci 0000:00:01.0: MEM window: disabled
pci 0000:00:01.0: PREFETCH window: disabled
pci 0000:02:00.0: PCI bridge, secondary bus 0000:03
pci 0000:02:00.0: IO window: 0x4000-0x4fff
pci 0000:02:00.0: MEM window: 0xc0200000-0xc02fffff
pci 0000:02:00.0: PREFETCH window: 0x000000c0500000-0x000000c05fffff
pci 0000:00:1c.0: PCI bridge, secondary bus 0000:02
pci 0000:00:1c.0: IO window: 0x4000-0x4fff
pci 0000:00:1c.0: MEM window: 0xc0100000-0xc02fffff
pci 0000:00:1c.0: PREFETCH window: 0x000000c0500000-0x000000c05fffff
pci 0000:00:1c.4: PCI bridge, secondary bus 0000:04
pci 0000:00:1c.4: IO window: disabled
pci 0000:00:1c.4: MEM window: 0xc0300000-0xc03fffff
pci 0000:00:1c.4: PREFETCH window: disabled
pci 0000:00:1c.5: PCI bridge, secondary bus 0000:05
pci 0000:00:1c.5: IO window: disabled
pci 0000:00:1c.5: MEM window: disabled
pci 0000:00:1c.5: PREFETCH window: disabled
pci 0000:00:1e.0: PCI bridge, secondary bus 0000:0a
pci 0000:00:1e.0: IO window: 0x5000-0x5fff
pci 0000:00:1e.0: MEM window: 0xc0400000-0xc04fffff
pci 0000:00:1e.0: PREFETCH window: 0x000000c8000000-0x000000cfffffff
pci 0000:00:01.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
pci 0000:00:01.0: setting latency timer to 64
pci 0000:00:1c.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
pci 0000:00:1c.0: setting latency timer to 64
pci 0000:02:00.0: setting latency timer to 64
pci 0000:00:1c.4: PCI INT A -> GSI 17 (level, low) -> IRQ 17
pci 0000:00:1c.4: setting latency timer to 64
pci 0000:00:1c.5: PCI INT B -> GSI 16 (level, low) -> IRQ 16
pci 0000:00:1c.5: setting latency timer to 64
pci 0000:00:1e.0: setting latency timer to 64
pci_bus 0000:00: resource 0 io: [0x00-0xffff]
pci_bus 0000:00: resource 1 mem: [0x000000-0xffffffffffffffff]
pci_bus 0000:01: resource 0 mem: [0x0-0xfff]
pci_bus 0000:01: resource 1 mem: [0x0-0xfffff]
pci_bus 0000:01: resource 2 mem: [0x0-0xfffff]
pci_bus 0000:02: resource 0 io: [0x4000-0x4fff]
pci_bus 0000:02: resource 1 mem: [0xc0100000-0xc02fffff]
pci_bus 0000:02: resource 2 pref mem [0xc0500000-0xc05fffff]
pci_bus 0000:03: resource 0 io: [0x4000-0x4fff]
pci_bus 0000:03: resource 1 mem: [0xc0200000-0xc02fffff]
pci_bus 0000:03: resource 2 pref mem [0xc0500000-0xc05fffff]
pci_bus 0000:04: resource 1 mem: [0xc0300000-0xc03fffff]
pci_bus 0000:05: resource 0 mem: [0x0-0xfff]
pci_bus 0000:05: resource 1 mem: [0x0-0xfffff]
pci_bus 0000:05: resource 2 mem: [0x0-0xfffff]
pci_bus 0000:0a: resource 0 io: [0x5000-0x5fff]
pci_bus 0000:0a: resource 1 mem: [0xc0400000-0xc04fffff]
pci_bus 0000:0a: resource 2 pref mem [0xc8000000-0xcfffffff]
pci_bus 0000:0a: resource 3 io: [0x00-0xffff]
pci_bus 0000:0a: resource 4 mem: [0x000000-0xffffffffffffffff]
NET: Registered protocol family 2
IP route cache hash table entries: 131072 (order: 8, 1048576 bytes)
TCP established hash table entries: 262144 (order: 10, 4194304 bytes)
TCP bind hash table entries: 65536 (order: 8, 1048576 bytes)
TCP: Hash tables configured (established 262144 bind 65536)
TCP reno registered
NET: Registered protocol family 1
Unpacking initramfs...
Freeing initrd memory: 7221k freed
Simple Boot Flag at 0x3c set to 0x1
Scanning for low memory corruption every 60 seconds
audit: initializing netlink socket (disabled)
type=2000 audit(1250095030.473:1): initialized
VFS: Disk quotas dquot_6.5.2
Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
msgmni has been set to 7894
alg: No test for stdrng (krng)
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254)
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
PCI quirk: reroute interrupts for 0x8086:0x032c
pci 0000:0a:04.0: Boot video device
pcieport-driver 0000:00:01.0: irq 24 for MSI/MSI-X
pcieport-driver 0000:00:01.0: setting latency timer to 64
pcieport-driver 0000:00:1c.0: irq 25 for MSI/MSI-X
pcieport-driver 0000:00:1c.0: setting latency timer to 64
pcieport-driver 0000:00:1c.4: irq 26 for MSI/MSI-X
pcieport-driver 0000:00:1c.4: setting latency timer to 64
pcieport-driver 0000:00:1c.5: irq 27 for MSI/MSI-X
pcieport-driver 0000:00:1c.5: setting latency timer to 64
Linux agpgart interface v0.103
Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
00:07: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
00:08: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
input: Macintosh mouse button emulation as /devices/virtual/input/input0
PNP: PS/2 Controller [PNP0303:KBC0,PNP0f13:MSE0] at 0x60,0x64 irq 1,12
serio: i8042 KBD port at 0x60,0x64 irq 1
serio: i8042 AUX port at 0x60,0x64 irq 12
mice: PS/2 mouse device common for all mice
cpuidle: using governor ladder
cpuidle: using governor menu
TCP cubic registered
NET: Registered protocol family 17
registered taskstats version 1
Initalizing network drop monitor service
Freeing unused kernel memory: 464k freed
input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input1
Switched to high resolution mode on CPU 1
Switched to high resolution mode on CPU 0
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ehci_hcd 0000:00:1d.7: PCI INT A -> GSI 23 (level, low) -> IRQ 23
ehci_hcd 0000:00:1d.7: setting latency timer to 64
ehci_hcd 0000:00:1d.7: EHCI Host Controller
ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 1
ehci_hcd 0000:00:1d.7: debug port 1
ehci_hcd 0000:00:1d.7: cache line size of 128 is not supported
ehci_hcd 0000:00:1d.7: irq 23, io mem 0xc0000000
ehci_hcd 0000:00:1d.7: USB 2.0 started, EHCI 1.00
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 6 ports detected
uhci_hcd: USB Universal Host Controller Interface driver
uhci_hcd 0000:00:1d.0: PCI INT A -> GSI 23 (level, low) -> IRQ 23
uhci_hcd 0000:00:1d.0: setting latency timer to 64
uhci_hcd 0000:00:1d.0: UHCI Host Controller
uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 2
uhci_hcd 0000:00:1d.0: irq 23, io base 0x00003000
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
uhci_hcd 0000:00:1d.1: PCI INT B -> GSI 19 (level, low) -> IRQ 19
uhci_hcd 0000:00:1d.1: setting latency timer to 64
uhci_hcd 0000:00:1d.1: UHCI Host Controller
uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 3
uhci_hcd 0000:00:1d.1: irq 19, io base 0x00003020
usb usb3: configuration #1 chosen from 1 choice
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 2 ports detected
uhci_hcd 0000:00:1d.2: PCI INT C -> GSI 18 (level, low) -> IRQ 18
uhci_hcd 0000:00:1d.2: setting latency timer to 64
uhci_hcd 0000:00:1d.2: UHCI Host Controller
uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 4
uhci_hcd 0000:00:1d.2: irq 18, io base 0x00003040
usb usb4: configuration #1 chosen from 1 choice
hub 4-0:1.0: USB hub found
hub 4-0:1.0: 2 ports detected
libata version 3.00 loaded.
ata_piix 0000:00:1f.1: version 2.13
ata_piix 0000:00:1f.1: PCI INT A -> GSI 18 (level, low) -> IRQ 18
ata_piix 0000:00:1f.1: setting latency timer to 64
scsi0 : ata_piix
scsi1 : ata_piix
aic94xx: Adaptec aic94xx SAS/SATA driver version 1.0.3 loaded
aic94xx 0000:03:04.0: PCI INT A -> GSI 19 (level, low) -> IRQ 19
ata1: PATA max UDMA/100 cmd 0x1f0 ctl 0x3f6 bmdma 0x3080 irq 14
ata2: PATA max UDMA/100 cmd 0x170 ctl 0x376 bmdma 0x3088 irq 15
aic94xx: found Adaptec AIC-9405W SAS/SATA Host Adapter, device 0000:03:04.0
scsi2 : aic94xx
aic94xx 0000:03:04.0: firmware: requesting aic94xx-seq.fw
aic94xx: Failed to load sequencer firmware file aic94xx-seq.fw, error -2
aic94xx: couldn't init seqs for 0000:03:04.0
aic94xx: couldn't init the chip
aic94xx 0000:03:04.0: PCI INT A disabled
aic94xx: probe of 0000:03:04.0 failed with error -2
ata1.00: ATAPI: HL-DT-STDVD-RAM GSA-H55N, 1.03, max UDMA/66
ata1.00: limited to UDMA/33 due to 40-wire cable
ata1.00: configured for UDMA/33
scsi 0:0:0:0: CD-ROM HL-DT-ST DVD-RAM GSA-H55N 1.03 PQ: 0 ANSI: 5
ata2: port disabled. ignoring.
Driver 'sr' needs updating - please use bus_type methods
sr0: scsi3-mmc drive: 48x/48x writer dvd-ram cd/rw xa/form2 cdda tray
Uniform CD-ROM driver Revision: 3.20
sr 0:0:0:0: Attached scsi CD-ROM sr0
usb 2-1: new low speed USB device using uhci_hcd and address 2
usb 2-1: configuration #1 chosen from 1 choice
usbcore: registered new interface driver hiddev
input: USB Optical Mouse as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1:1.0/input/input2
generic-usb 0003:04B3:310C.0001: input,hidraw0: USB HID v1.11 Mouse [USB Optical Mouse] on usb-0000:00:1d.0-1/input0
usbcore: registered new interface driver usbhid
usbhid: v2.6:USB HID core driver
ISO 9660 Extensions: RRIP_1991A
squashfs: version 4.0 (2009/01/31) Phillip Lougher
aufs 2-standalone.tree-20090601
loop: module loaded
aufs test_add:240:mount[635]: uid/gid/perm /tmpfs/mnt/loop0 0/0/0755, 0/0/01777
aufs test_add:240:mount[648]: uid/gid/perm /tmpfs/mnt/loop2 0/0/0755, 0/0/01777
rtc_cmos 00:04: RTC can wake from S4
rtc_cmos 00:04: rtc core: registered rtc_cmos as rtc0
rtc0: alarms up to one month, y3k, 114 bytes nvram, hpet irqs
udev: starting version 141
input: PC Speaker as /devices/platform/pcspkr/input/input3
intel_rng: FWH not detected
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input4
ACPI: Power Button [PWRF]
input: Power Button as /devices/LNXSYSTM:00/device:00/PNP0A03:00/PNP0C0C:00/input/input5
ACPI: Power Button [PWRB]
EDAC MC: Ver: 2.1.0 Jul 31 2009
iTCO_vendor_support: vendor-support=0
i801_smbus 0000:00:1f.3: PCI INT B -> GSI 19 (level, low) -> IRQ 19
tg3.c:v3.98 (February 25, 2009)
tg3 0000:04:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
tg3 0000:04:00.0: setting latency timer to 64
tg3 0000:04:00.0: PME# disabled
eth0: Tigon3 [partno(BCM95721) rev 4101] (PCI Express) MAC address 00:11:25:a4:42:2f
eth0: attached PHY is 5750 (10/100/1000Base-T Ethernet) (WireSpeed[1])
eth0: RXcsums[1] LinkChgREG[0] MIirq[0] ASF[1] TSOcap[1]
eth0: dma_rwctrl[76180000] dma_mask[64-bit]
sr 0:0:0:0: Attached scsi generic sg0 type 5
iTCO_wdt: Intel TCO WatchDog Timer Driver v1.05
iTCO_wdt: Found a ICH7 or ICH7R TCO device (Version=2, TCOBASE=0x1060)
iTCO_wdt: initialized. heartbeat=30 sec (nowayout=0)
processor ACPI_CPU:00: registered as cooling_device0
ACPI: Processor [CPU0] (supports 8 throttling states)
processor ACPI_CPU:01: registered as cooling_device1
ACPI: Processor [CPU1] (supports 8 throttling states)
EDAC MC0: Giving out device to 'i3000_edac' 'i3000': DEV 0000:00:00.0
EDAC PCI0: Giving out device to module 'i3000_edac' controller 'EDAC PCI controller': DEV '0000:00:00.0' (POLLED)
lp: driver loaded but no devices found
parport_pc 00:0b: reported by Plug and Play ACPI
parport0: PC-style at 0x378 (0x778), irq 7, dma 1 [PCSPP,TRISTATE,COMPAT,ECP,DMA]
lp0: using parport0 (interrupt-driven).
ppdev: user-space parallel port driver
This is the messages.log:
Aug 12 16:37:33 archiso kernel: Linux version 2.6.30-ARCH (root@T-POWA-LX) (gcc version 4.4.1 (GCC) ) #1 SMP PREEMPT Fri Jul 31 07:30:28 CEST 2009
Aug 12 16:37:33 archiso kernel: Command line: lang=en locale=en_US.UTF-8 archisolabel=ARCHISO_KE1AECIE ramdisk_size=75%
Aug 12 16:37:33 archiso kernel: KERNEL supported cpus:
Aug 12 16:37:33 archiso kernel: Intel GenuineIntel
Aug 12 16:37:33 archiso kernel: AMD AuthenticAMD
Aug 12 16:37:33 archiso kernel: Centaur CentaurHauls
Aug 12 16:37:33 archiso kernel: BIOS-provided physical RAM map:
Aug 12 16:37:33 archiso kernel: BIOS-e820: 0000000000000000 - 000000000009b800 (usable)
Aug 12 16:37:33 archiso kernel: BIOS-e820: 000000000009b800 - 00000000000a0000 (reserved)
Aug 12 16:37:33 archiso kernel: BIOS-e820: 00000000000e0000 - 0000000000100000 (reserved)
Aug 12 16:37:33 archiso kernel: BIOS-e820: 0000000000100000 - 00000000bfee0000 (usable)
Aug 12 16:37:33 archiso kernel: BIOS-e820: 00000000bfee0000 - 00000000bfee9000 (ACPI data)
Aug 12 16:37:33 archiso kernel: BIOS-e820: 00000000bfee9000 - 00000000bff00000 (ACPI NVS)
Aug 12 16:37:33 archiso kernel: BIOS-e820: 00000000bff00000 - 00000000c0000000 (reserved)
Aug 12 16:37:33 archiso kernel: BIOS-e820: 00000000fec00000 - 00000000fec10000 (reserved)
Aug 12 16:37:33 archiso kernel: BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
Aug 12 16:37:33 archiso kernel: BIOS-e820: 00000000ff000000 - 0000000100000000 (reserved)
Aug 12 16:37:33 archiso kernel: BIOS-e820: 0000000100000000 - 0000000140000000 (usable)
Aug 12 16:37:33 archiso kernel: DMI present.
Aug 12 16:37:33 archiso kernel: last_pfn = 0x140000 max_arch_pfn = 0x100000000
Aug 12 16:37:33 archiso kernel: x86 PAT enabled: cpu 0, old 0x7040600070406, new 0x7010600070106
Aug 12 16:37:33 archiso kernel: last_pfn = 0xbfee0 max_arch_pfn = 0x100000000
Aug 12 16:37:33 archiso kernel: Scanning 1 areas for low memory corruption
Aug 12 16:37:33 archiso kernel: modified physical RAM map:
Aug 12 16:37:33 archiso kernel: modified: 0000000000000000 - 0000000000001000 (usable)
Aug 12 16:37:33 archiso kernel: modified: 0000000000001000 - 0000000000006000 (reserved)
Aug 12 16:37:33 archiso kernel: modified: 0000000000006000 - 000000000009b800 (usable)
Aug 12 16:37:33 archiso kernel: modified: 000000000009b800 - 00000000000a0000 (reserved)
Aug 12 16:37:33 archiso kernel: modified: 00000000000e0000 - 0000000000100000 (reserved)
Aug 12 16:37:33 archiso kernel: modified: 0000000000100000 - 00000000bfee0000 (usable)
Aug 12 16:37:33 archiso kernel: modified: 00000000bfee0000 - 00000000bfee9000 (ACPI data)
Aug 12 16:37:33 archiso kernel: modified: 00000000bfee9000 - 00000000bff00000 (ACPI NVS)
Aug 12 16:37:33 archiso kernel: modified: 00000000bff00000 - 00000000c0000000 (reserved)
Aug 12 16:37:33 archiso kernel: modified: 00000000fec00000 - 00000000fec10000 (reserved)
Aug 12 16:37:33 archiso kernel: modified: 00000000fee00000 - 00000000fee01000 (reserved)
Aug 12 16:37:33 archiso kernel: modified: 00000000ff000000 - 0000000100000000 (reserved)
Aug 12 16:37:33 archiso kernel: modified: 0000000100000000 - 0000000140000000 (usable)
Aug 12 16:37:33 archiso kernel: init_memory_mapping: 0000000000000000-00000000bfee0000
Aug 12 16:37:33 archiso kernel: init_memory_mapping: 0000000100000000-0000000140000000
Aug 12 16:37:33 archiso kernel: RAMDISK: 378e2000 - 37fef5c0
Aug 12 16:37:33 archiso kernel: ACPI: RSDP 00000000000f64f0 00014 (v00 PTLTD )
Aug 12 16:37:33 archiso kernel: ACPI: RSDT 00000000bfee3615 0003C (v01 PTLTD RSDT 06040000 LTP 00000000)
Aug 12 16:37:33 archiso kernel: ACPI: FACP 00000000bfee8e70 00074 (v01 INTEL 06040000 PTL 00000003)
Aug 12 16:37:33 archiso kernel: ACPI: DSDT 00000000bfee384c 05624 (v01 INTEL GLENWOOD 06040000 MSFT 0100000E)
Aug 12 16:37:33 archiso kernel: ACPI: FACS 00000000bfee9fc0 00040
Aug 12 16:37:33 archiso kernel: ACPI: SPCR 00000000bfee8ee4 00050 (v01 PTLTD $UCRTBL$ 06040000 PTL 00000001)
Aug 12 16:37:33 archiso kernel: ACPI: MCFG 00000000bfee8f34 0003C (v01 PTLTD MCFG 06040000 LTP 00000000)
Aug 12 16:37:33 archiso kernel: ACPI: APIC 00000000bfee8f70 00068 (v01 PTLTD APIC 06040000 LTP 00000000)
Aug 12 16:37:33 archiso kernel: ACPI: BOOT 00000000bfee8fd8 00028 (v01 PTLTD $SBFTBL$ 06040000 LTP 00000001)
Aug 12 16:37:33 archiso kernel: ACPI: SSDT 00000000bfee3651 001FB (v01 PmRef CpuPm 00003000 INTL 20030224)
Aug 12 16:37:33 archiso kernel: (8 early reservations) ==> bootmem [0000000000 - 0140000000]
Aug 12 16:37:33 archiso kernel: #0 [0000000000 - 0000001000] BIOS data page ==> [0000000000 - 0000001000]
Aug 12 16:37:33 archiso kernel: #1 [0000006000 - 0000008000] TRAMPOLINE ==> [0000006000 - 0000008000]
Aug 12 16:37:33 archiso kernel: #2 [0000200000 - 000082d0d0] TEXT DATA BSS ==> [0000200000 - 000082d0d0]
Aug 12 16:37:33 archiso kernel: #3 [00378e2000 - 0037fef5c0] RAMDISK ==> [00378e2000 - 0037fef5c0]
Aug 12 16:37:33 archiso kernel: #4 [000009b800 - 0000100000] BIOS reserved ==> [000009b800 - 0000100000]
Aug 12 16:37:33 archiso kernel: #5 [000082e000 - 000082e198] BRK ==> [000082e000 - 000082e198]
Aug 12 16:37:33 archiso kernel: #6 [0000008000 - 000000b000] PGTABLE ==> [0000008000 - 000000b000]
Aug 12 16:37:33 archiso kernel: #7 [000000b000 - 000000c000] PGTABLE ==> [000000b000 - 000000c000]
Aug 12 16:37:33 archiso kernel: found SMP MP-table at [ffff8800000f6520] f6520
Aug 12 16:37:33 archiso kernel: Zone PFN ranges:
Aug 12 16:37:33 archiso kernel: DMA 0x00000000 -> 0x00001000
Aug 12 16:37:33 archiso kernel: DMA32 0x00001000 -> 0x00100000
Aug 12 16:37:33 archiso kernel: Normal 0x00100000 -> 0x00140000
Aug 12 16:37:33 archiso kernel: Movable zone start PFN for each node
Aug 12 16:37:33 archiso kernel: early_node_map[4] active PFN ranges
Aug 12 16:37:33 archiso kernel: 0: 0x00000000 -> 0x00000001
Aug 12 16:37:33 archiso kernel: 0: 0x00000006 -> 0x0000009b
Aug 12 16:37:33 archiso kernel: 0: 0x00000100 -> 0x000bfee0
Aug 12 16:37:33 archiso kernel: 0: 0x00100000 -> 0x00140000
Aug 12 16:37:33 archiso kernel: ACPI: PM-Timer IO Port: 0x1008
Aug 12 16:37:33 archiso kernel: ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
Aug 12 16:37:33 archiso kernel: ACPI: LAPIC (acpi_id[0x01] lapic_id[0x01] enabled)
Aug 12 16:37:33 archiso kernel: ACPI: LAPIC_NMI (acpi_id[0x00] high edge lint[0x1])
Aug 12 16:37:33 archiso kernel: ACPI: LAPIC_NMI (acpi_id[0x01] high edge lint[0x1])
Aug 12 16:37:33 archiso kernel: ACPI: IOAPIC (id[0x02] address[0xfec00000] gsi_base[0])
Aug 12 16:37:33 archiso kernel: IOAPIC[0]: apic_id 2, version 0, address 0xfec00000, GSI 0-23
Aug 12 16:37:33 archiso kernel: ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 high edge)
Aug 12 16:37:33 archiso kernel: ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
Aug 12 16:37:33 archiso kernel: Using ACPI (MADT) for SMP configuration information
Aug 12 16:37:33 archiso kernel: SMP: Allowing 2 CPUs, 0 hotplug CPUs
Aug 12 16:37:33 archiso kernel: PM: Registered nosave memory: 0000000000001000 - 0000000000006000
Aug 12 16:37:33 archiso kernel: PM: Registered nosave memory: 000000000009b000 - 000000000009c000
Aug 12 16:37:33 archiso kernel: PM: Registered nosave memory: 000000000009c000 - 00000000000a0000
Aug 12 16:37:33 archiso kernel: PM: Registered nosave memory: 00000000000a0000 - 00000000000e0000
Aug 12 16:37:33 archiso kernel: PM: Registered nosave memory: 00000000000e0000 - 0000000000100000
Aug 12 16:37:33 archiso kernel: PM: Registered nosave memory: 00000000bfee0000 - 00000000bfee9000
Aug 12 16:37:33 archiso kernel: PM: Registered nosave memory: 00000000bfee9000 - 00000000bff00000
Aug 12 16:37:33 archiso kernel: PM: Registered nosave memory: 00000000bff00000 - 00000000c0000000
Aug 12 16:37:33 archiso kernel: PM: Registered nosave memory: 00000000c0000000 - 00000000fec00000
Aug 12 16:37:33 archiso kernel: PM: Registered nosave memory: 00000000fec00000 - 00000000fec10000
Aug 12 16:37:33 archiso kernel: PM: Registered nosave memory: 00000000fec10000 - 00000000fee00000
Aug 12 16:37:33 archiso kernel: PM: Registered nosave memory: 00000000fee00000 - 00000000fee01000
Aug 12 16:37:33 archiso kernel: PM: Registered nosave memory: 00000000fee01000 - 00000000ff000000
Aug 12 16:37:33 archiso kernel: PM: Registered nosave memory: 00000000ff000000 - 0000000100000000
Aug 12 16:37:33 archiso kernel: Allocating PCI resources starting at c4000000 (gap: c0000000:3ec00000)
Aug 12 16:37:33 archiso kernel: NR_CPUS:16 nr_cpumask_bits:16 nr_cpu_ids:2 nr_node_ids:1
Aug 12 16:37:33 archiso kernel: PERCPU: Embedded 25 pages at ffff880028022000, static data 72352 bytes
Aug 12 16:37:33 archiso kernel: Built 1 zonelists in Zone order, mobility grouping on. Total pages: 1028574
Aug 12 16:37:33 archiso kernel: Kernel command line: lang=en locale=en_US.UTF-8 archisolabel=ARCHISO_KE1AECIE ramdisk_size=75%
Aug 12 16:37:33 archiso kernel: Initializing CPU#0
Aug 12 16:37:33 archiso kernel: NR_IRQS:768
Aug 12 16:37:33 archiso kernel: PID hash table entries: 4096 (order: 12, 32768 bytes)
Aug 12 16:37:33 archiso kernel: Fast TSC calibration using PIT
Aug 12 16:37:33 archiso kernel: Detected 2999.990 MHz processor.
Aug 12 16:37:33 archiso kernel: Console: colour VGA+ 80x25
Aug 12 16:37:33 archiso kernel: console [tty0] enabled
Aug 12 16:37:33 archiso kernel: Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes)
Aug 12 16:37:33 archiso kernel: Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes)
Aug 12 16:37:33 archiso kernel: Checking aperture...
Aug 12 16:37:33 archiso kernel: No AGP bridge found
Aug 12 16:37:33 archiso kernel: PCI-DMA: Using software bounce buffering for IO (SWIOTLB)
Aug 12 16:37:33 archiso kernel: Placing 64MB software IO TLB between ffff880020000000 - ffff880024000000
Aug 12 16:37:33 archiso kernel: software IO TLB at phys 0x20000000 - 0x24000000
Aug 12 16:37:33 archiso kernel: Memory: 4034028k/5242880k available (3409k kernel code, 1050152k absent, 157764k reserved, 1239k data, 464k init)
Aug 12 16:37:33 archiso kernel: SLUB: Genslabs=13, HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
Aug 12 16:37:33 archiso kernel: Calibrating delay loop (skipped), value calculated using timer frequency.. 6002.97 BogoMIPS (lpj=9999966)
Aug 12 16:37:33 archiso kernel: Security Framework initialized
Aug 12 16:37:33 archiso kernel: Mount-cache hash table entries: 256
Aug 12 16:37:33 archiso kernel: CPU: Trace cache: 12K uops, L1 D cache: 16K
Aug 12 16:37:33 archiso kernel: CPU: L2 cache: 2048K
Aug 12 16:37:33 archiso kernel: CPU: Physical Processor ID: 0
Aug 12 16:37:33 archiso kernel: CPU: Processor Core ID: 0
Aug 12 16:37:33 archiso kernel: using mwait in idle threads.
Aug 12 16:37:33 archiso kernel: ACPI: Core revision 20090320
Aug 12 16:37:33 archiso kernel: Setting APIC routing to flat
Aug 12 16:37:33 archiso kernel: ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1
Aug 12 16:37:33 archiso kernel: CPU0: Intel(R) Pentium(R) 4 CPU 3.00GHz stepping 03
Aug 12 16:37:33 archiso kernel: Booting processor 1 APIC 0x1 ip 0x6000
Aug 12 16:37:33 archiso kernel: Initializing CPU#1
Aug 12 16:37:33 archiso kernel: Calibrating delay using timer specific routine.. 6002.80 BogoMIPS (lpj=9999695)
Aug 12 16:37:33 archiso kernel: CPU: Trace cache: 12K uops, L1 D cache: 16K
Aug 12 16:37:33 archiso kernel: CPU: L2 cache: 2048K
Aug 12 16:37:33 archiso kernel: CPU: Physical Processor ID: 0
Aug 12 16:37:33 archiso kernel: CPU: Processor Core ID: 0
Aug 12 16:37:33 archiso kernel: CPU1: Thermal monitoring enabled (TM1)
Aug 12 16:37:33 archiso kernel: x86 PAT enabled: cpu 1, old 0x7040600070406, new 0x7010600070106
Aug 12 16:37:33 archiso kernel: CPU1: Intel(R) Pentium(R) 4 CPU 3.00GHz stepping 03
Aug 12 16:37:33 archiso kernel: checking TSC synchronization [CPU#0 -> CPU#1]: passed.
Aug 12 16:37:33 archiso kernel: Brought up 2 CPUs
Aug 12 16:37:33 archiso kernel: Total of 2 processors activated (12004.78 BogoMIPS).
Aug 12 16:37:33 archiso kernel: net_namespace: 1888 bytes
Aug 12 16:37:33 archiso kernel: Booting paravirtualized kernel on bare hardware
Aug 12 16:37:33 archiso kernel: NET: Registered protocol family 16
Aug 12 16:37:33 archiso kernel: ACPI: bus type pci registered
Aug 12 16:37:33 archiso kernel: PCI: MCFG configuration 0: base e0000000 segment 0 buses 0 - 9
Aug 12 16:37:33 archiso kernel: PCI: Not using MMCONFIG.
Aug 12 16:37:33 archiso kernel: PCI: Using configuration type 1 for base access
Aug 12 16:37:33 archiso kernel: bio: create slab <bio-0> at 0
Aug 12 16:37:33 archiso kernel: ACPI: Interpreter enabled
Aug 12 16:37:33 archiso kernel: ACPI: (supports S0 S1 S4 S5)
Aug 12 16:37:33 archiso kernel: ACPI: Using IOAPIC for interrupt routing
Aug 12 16:37:33 archiso kernel: PCI: MCFG configuration 0: base e0000000 segment 0 buses 0 - 9
Aug 12 16:37:33 archiso kernel: PCI: MCFG area at e0000000 reserved in ACPI motherboard resources
Aug 12 16:37:33 archiso kernel: PCI: Using MMCONFIG at e0000000 - e09fffff
Aug 12 16:37:33 archiso kernel: ACPI: No dock devices found.
Aug 12 16:37:33 archiso kernel: ACPI Warning (nspredef-0331): \_SB_.PCI0._OSC: Parameter count mismatch - ASL declared 5, ACPI requires 4 [20090320]
Aug 12 16:37:33 archiso kernel: ACPI: PCI Root Bridge [PCI0] (0000:00)
Aug 12 16:37:33 archiso kernel: pci 0000:00:01.0: PME# supported from D0 D3hot D3cold
Aug 12 16:37:33 archiso kernel: pci 0000:00:01.0: PME# disabled
Aug 12 16:37:33 archiso kernel: pci 0000:00:1c.0: PME# supported from D0 D3hot D3cold
Aug 12 16:37:33 archiso kernel: pci 0000:00:1c.0: PME# disabled
Aug 12 16:37:33 archiso kernel: pci 0000:00:1c.4: PME# supported from D0 D3hot D3cold
Aug 12 16:37:33 archiso kernel: pci 0000:00:1c.4: PME# disabled
Aug 12 16:37:33 archiso kernel: pci 0000:00:1c.5: PME# supported from D0 D3hot D3cold
Aug 12 16:37:33 archiso kernel: pci 0000:00:1c.5: PME# disabled
Aug 12 16:37:33 archiso kernel: pci 0000:00:1d.7: PME# supported from D0 D3hot D3cold
Aug 12 16:37:33 archiso kernel: pci 0000:00:1d.7: PME# disabled
Aug 12 16:37:33 archiso kernel: pci 0000:00:1f.0: quirk: region 1000-107f claimed by ICH6 ACPI/GPIO/TCO
Aug 12 16:37:33 archiso kernel: pci 0000:00:1f.0: quirk: region 1180-11bf claimed by ICH6 GPIO
Aug 12 16:37:33 archiso kernel: pci 0000:00:1f.0: ICH7 LPC Generic IO decode 1 PIO at 0500 (mask 007f)
Aug 12 16:37:33 archiso kernel: pci 0000:00:1f.0: ICH7 LPC Generic IO decode 2 PIO at 0ca0 (mask 000f)
Aug 12 16:37:33 archiso kernel: pci 0000:02:00.0: PXH quirk detected; SHPC device MSI disabled
Aug 12 16:37:33 archiso kernel: pci 0000:02:00.0: PME# supported from D0 D3hot D3cold
Aug 12 16:37:33 archiso kernel: pci 0000:02:00.0: PME# disabled
Aug 12 16:37:33 archiso kernel: pci 0000:04:00.0: PME# supported from D3hot D3cold
Aug 12 16:37:33 archiso kernel: pci 0000:04:00.0: PME# disabled
Aug 12 16:37:33 archiso kernel: pci 0000:00:1e.0: transparent bridge
Aug 12 16:37:33 archiso kernel: ACPI: PCI Interrupt Link [LNKA] (IRQs 3 *10 11 14 15)
Aug 12 16:37:33 archiso kernel: ACPI: PCI Interrupt Link [LNKB] (IRQs 3 10 *11 14 15)
Aug 12 16:37:33 archiso kernel: ACPI: PCI Interrupt Link [LNKC] (IRQs 3 10 *11 14 15)
Aug 12 16:37:33 archiso kernel: ACPI: PCI Interrupt Link [LNKD] (IRQs 3 *10 11 14 15)
Aug 12 16:37:33 archiso kernel: ACPI: PCI Interrupt Link [LNKE] (IRQs 3 10 11 14 15) *0, disabled.
Aug 12 16:37:33 archiso kernel: ACPI: PCI Interrupt Link [LNKF] (IRQs 3 10 11 14 15) *0, disabled.
Aug 12 16:37:33 archiso kernel: ACPI: PCI Interrupt Link [LNKG] (IRQs 3 10 11 14 15) *0, disabled.
Aug 12 16:37:33 archiso kernel: ACPI: PCI Interrupt Link [LNKH] (IRQs 3 10 11 14 15) *5
Aug 12 16:37:33 archiso kernel: PCI: Using ACPI for IRQ routing
Aug 12 16:37:33 archiso kernel: pci 0000:00:01.0: BAR 13: can't allocate resource
Aug 12 16:37:33 archiso kernel: pci 0000:00:01.0: BAR 14: can't allocate resource
Aug 12 16:37:33 archiso kernel: pci 0000:00:01.0: BAR 15: can't allocate resource
Aug 12 16:37:33 archiso kernel: pci 0000:00:1c.5: BAR 13: can't allocate resource
Aug 12 16:37:33 archiso kernel: pci 0000:00:1c.5: BAR 14: can't allocate resource
Aug 12 16:37:33 archiso kernel: pci 0000:00:1c.5: BAR 15: can't allocate resource
Aug 12 16:37:33 archiso kernel: NetLabel: Initializing
Aug 12 16:37:33 archiso kernel: NetLabel: domain hash size = 128
Aug 12 16:37:33 archiso kernel: NetLabel: protocols = UNLABELED CIPSOv4
Aug 12 16:37:33 archiso kernel: NetLabel: unlabeled traffic allowed by default
Aug 12 16:37:33 archiso kernel: HPET: 3 timers in total, 0 timers will be used for per-cpu timer
Aug 12 16:37:33 archiso kernel: pnp: PnP ACPI init
Aug 12 16:37:33 archiso kernel: ACPI: bus type pnp registered
Aug 12 16:37:33 archiso kernel: pnp: PnP ACPI: found 12 devices
Aug 12 16:37:33 archiso kernel: ACPI: ACPI bus type pnp unregistered
Aug 12 16:37:33 archiso kernel: system 00:01: ioport range 0x800-0x83f has been reserved
Aug 12 16:37:33 archiso kernel: system 00:01: ioport range 0x1000-0x107f has been reserved
Aug 12 16:37:33 archiso kernel: system 00:01: ioport range 0x1180-0x11bf has been reserved
Aug 12 16:37:33 archiso kernel: system 00:01: ioport range 0x4d0-0x4d1 has been reserved
Aug 12 16:37:33 archiso kernel: system 00:01: ioport range 0x500-0x57f has been reserved
Aug 12 16:37:33 archiso kernel: system 00:01: ioport range 0xca8-0xca8 has been reserved
Aug 12 16:37:33 archiso kernel: system 00:01: ioport range 0xcac-0xcac has been reserved
Aug 12 16:37:33 archiso kernel: system 00:01: ioport range 0xfe00-0xfe00 has been reserved
Aug 12 16:37:33 archiso kernel: system 00:01: iomem range 0xfed14000-0xfed17fff has been reserved
Aug 12 16:37:33 archiso kernel: system 00:01: iomem range 0xfed13000-0xfed13fff has been reserved
Aug 12 16:37:33 archiso kernel: system 00:01: iomem range 0xe0000000-0xefffffff has been reserved
Aug 12 16:37:33 archiso kernel: system 00:01: iomem range 0xfed20000-0xfed8ffff has been reserved
Aug 12 16:37:33 archiso kernel: pci 0000:00:01.0: PCI bridge, secondary bus 0000:01
Aug 12 16:37:33 archiso kernel: pci 0000:00:01.0: IO window: disabled
Aug 12 16:37:33 archiso kernel: pci 0000:00:01.0: MEM window: disabled
Aug 12 16:37:33 archiso kernel: pci 0000:00:01.0: PREFETCH window: disabled
Aug 12 16:37:33 archiso kernel: pci 0000:02:00.0: PCI bridge, secondary bus 0000:03
Aug 12 16:37:33 archiso kernel: pci 0000:02:00.0: IO window: 0x4000-0x4fff
Aug 12 16:37:33 archiso kernel: pci 0000:02:00.0: MEM window: 0xc0200000-0xc02fffff
Aug 12 16:37:33 archiso kernel: pci 0000:02:00.0: PREFETCH window: 0x000000c0500000-0x000000c05fffff
Aug 12 16:37:33 archiso kernel: pci 0000:00:1c.0: PCI bridge, secondary bus 0000:02
Aug 12 16:37:33 archiso kernel: pci 0000:00:1c.0: IO window: 0x4000-0x4fff
Aug 12 16:37:33 archiso kernel: pci 0000:00:1c.0: MEM window: 0xc0100000-0xc02fffff
Aug 12 16:37:33 archiso kernel: pci 0000:00:1c.0: PREFETCH window: 0x000000c0500000-0x000000c05fffff
Aug 12 16:37:33 archiso kernel: pci 0000:00:1c.4: PCI bridge, secondary bus 0000:04
Aug 12 16:37:33 archiso kernel: pci 0000:00:1c.4: IO window: disabled
Aug 12 16:37:33 archiso kernel: pci 0000:00:1c.4: MEM window: 0xc0300000-0xc03fffff
Aug 12 16:37:33 archiso kernel: pci 0000:00:1c.4: PREFETCH window: disabled
Aug 12 16:37:33 archiso kernel: pci 0000:00:1c.5: PCI bridge, secondary bus 0000:05
Aug 12 16:37:33 archiso kernel: pci 0000:00:1c.5: IO window: disabled
Aug 12 16:37:33 archiso kernel: pci 0000:00:1c.5: MEM window: disabled
Aug 12 16:37:33 archiso kernel: pci 0000:00:1c.5: PREFETCH window: disabled
Aug 12 16:37:33 archiso kernel: pci 0000:00:1e.0: PCI bridge, secondary bus 0000:0a
Aug 12 16:37:33 archiso kernel: pci 0000:00:1e.0: IO window: 0x5000-0x5fff
Aug 12 16:37:33 archiso kernel: pci 0000:00:1e.0: MEM window: 0xc0400000-0xc04fffff
Aug 12 16:37:33 archiso kernel: pci 0000:00:1e.0: PREFETCH window: 0x000000c8000000-0x000000cfffffff
Aug 12 16:37:33 archiso kernel: pci 0000:00:01.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
Aug 12 16:37:33 archiso kernel: pci 0000:00:1c.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
Aug 12 16:37:33 archiso kernel: pci 0000:00:1c.4: PCI INT A -> GSI 17 (level, low) -> IRQ 17
Aug 12 16:37:33 archiso kernel: pci 0000:00:1c.5: PCI INT B -> GSI 16 (level, low) -> IRQ 16
Aug 12 16:37:33 archiso kernel: NET: Registered protocol family 2
Aug 12 16:37:33 archiso kernel: IP route cache hash table entries: 131072 (order: 8, 1048576 bytes)
Aug 12 16:37:33 archiso kernel: TCP established hash table entries: 262144 (order: 10, 4194304 bytes)
Aug 12 16:37:33 archiso kernel: TCP bind hash table entries: 65536 (order: 8, 1048576 bytes)
Aug 12 16:37:33 archiso kernel: TCP: Hash tables configured (established 262144 bind 65536)
Aug 12 16:37:33 archiso kernel: TCP reno registered
Aug 12 16:37:33 archiso kernel: NET: Registered protocol family 1
Aug 12 16:37:33 archiso kernel: Unpacking initramfs...
Aug 12 16:37:33 archiso kernel: Freeing initrd memory: 7221k freed
Aug 12 16:37:33 archiso kernel: Simple Boot Flag at 0x3c set to 0x1
Aug 12 16:37:33 archiso kernel: Scanning for low memory corruption every 60 seconds
Aug 12 16:37:33 archiso kernel: audit: initializing netlink socket (disabled)
Aug 12 16:37:33 archiso kernel: type=2000 audit(1250095030.473:1): initialized
Aug 12 16:37:33 archiso kernel: VFS: Disk quotas dquot_6.5.2
Aug 12 16:37:33 archiso kernel: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
Aug 12 16:37:33 archiso kernel: msgmni has been set to 7894
Aug 12 16:37:33 archiso kernel: alg: No test for stdrng (krng)
Aug 12 16:37:33 archiso kernel: Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254)
Aug 12 16:37:33 archiso kernel: io scheduler noop registered
Aug 12 16:37:33 archiso kernel: io scheduler anticipatory registered
Aug 12 16:37:33 archiso kernel: io scheduler deadline registered
Aug 12 16:37:33 archiso kernel: io scheduler cfq registered (default)
Aug 12 16:37:33 archiso kernel: PCI quirk: reroute interrupts for 0x8086:0x032c
Aug 12 16:37:33 archiso kernel: Linux agpgart interface v0.103
Aug 12 16:37:33 archiso kernel: Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
Aug 12 16:37:33 archiso kernel: serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
Aug 12 16:37:33 archiso kernel: serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
Aug 12 16:37:33 archiso kernel: 00:07: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
Aug 12 16:37:33 archiso kernel: 00:08: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
Aug 12 16:37:33 archiso kernel: input: Macintosh mouse button emulation as /devices/virtual/input/input0
Aug 12 16:37:33 archiso kernel: PNP: PS/2 Controller [PNP0303:KBC0,PNP0f13:MSE0] at 0x60,0x64 irq 1,12
Aug 12 16:37:33 archiso kernel: serio: i8042 KBD port at 0x60,0x64 irq 1
Aug 12 16:37:33 archiso kernel: serio: i8042 AUX port at 0x60,0x64 irq 12
Aug 12 16:37:33 archiso kernel: mice: PS/2 mouse device common for all mice
Aug 12 16:37:33 archiso kernel: cpuidle: using governor ladder
Aug 12 16:37:33 archiso kernel: cpuidle: using governor menu
Aug 12 16:37:33 archiso kernel: TCP cubic registered
Aug 12 16:37:33 archiso kernel: NET: Registered protocol family 17
Aug 12 16:37:33 archiso kernel: registered taskstats version 1
Aug 12 16:37:33 archiso kernel: Initalizing network drop monitor service
Aug 12 16:37:33 archiso kernel: Freeing unused kernel memory: 464k freed
Aug 12 16:37:33 archiso kernel: input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input1
Aug 12 16:37:33 archiso kernel: SCSI subsystem initialized
Aug 12 16:37:33 archiso kernel: usbcore: registered new interface driver usbfs
Aug 12 16:37:33 archiso kernel: usbcore: registered new interface driver hub
Aug 12 16:37:33 archiso kernel: usbcore: registered new device driver usb
Aug 12 16:37:33 archiso kernel: ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
Aug 12 16:37:33 archiso kernel: ehci_hcd 0000:00:1d.7: PCI INT A -> GSI 23 (level, low) -> IRQ 23
Aug 12 16:37:33 archiso kernel: ehci_hcd 0000:00:1d.7: EHCI Host Controller
Aug 12 16:37:33 archiso kernel: ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 1
Aug 12 16:37:33 archiso kernel: ehci_hcd 0000:00:1d.7: debug port 1
Aug 12 16:37:33 archiso kernel: ehci_hcd 0000:00:1d.7: irq 23, io mem 0xc0000000
Aug 12 16:37:33 archiso kernel: ehci_hcd 0000:00:1d.7: USB 2.0 started, EHCI 1.00
Aug 12 16:37:33 archiso kernel: usb usb1: configuration #1 chosen from 1 choice
Aug 12 16:37:33 archiso kernel: hub 1-0:1.0: USB hub found
Aug 12 16:37:33 archiso kernel: hub 1-0:1.0: 6 ports detected
Aug 12 16:37:33 archiso kernel: uhci_hcd: USB Universal Host Controller Interface driver
Aug 12 16:37:33 archiso kernel: uhci_hcd 0000:00:1d.0: PCI INT A -> GSI 23 (level, low) -> IRQ 23
Aug 12 16:37:33 archiso kernel: uhci_hcd 0000:00:1d.0: UHCI Host Controller
Aug 12 16:37:33 archiso kernel: uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 2
Aug 12 16:37:33 archiso kernel: uhci_hcd 0000:00:1d.0: irq 23, io base 0x00003000
Aug 12 16:37:33 archiso kernel: usb usb2: configuration #1 chosen from 1 choice
Aug 12 16:37:33 archiso kernel: hub 2-0:1.0: USB hub found
Aug 12 16:37:33 archiso kernel: hub 2-0:1.0: 2 ports detected
Aug 12 16:37:33 archiso kernel: uhci_hcd 0000:00:1d.1: PCI INT B -> GSI 19 (level, low) -> IRQ 19
Aug 12 16:37:33 archiso kernel: uhci_hcd 0000:00:1d.1: UHCI Host Controller
Aug 12 16:37:33 archiso kernel: uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 3
Aug 12 16:37:33 archiso kernel: uhci_hcd 0000:00:1d.1: irq 19, io base 0x00003020
Aug 12 16:37:33 archiso kernel: usb usb3: configuration #1 chosen from 1 choice
Aug 12 16:37:33 archiso kernel: hub 3-0:1.0: USB hub found
Aug 12 16:37:33 archiso kernel: hub 3-0:1.0: 2 ports detected
Aug 12 16:37:33 archiso kernel: uhci_hcd 0000:00:1d.2: PCI INT C -> GSI 18 (level, low) -> IRQ 18
Aug 12 16:37:33 archiso kernel: uhci_hcd 0000:00:1d.2: UHCI Host Controller
Aug 12 16:37:33 archiso kernel: uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 4
Aug 12 16:37:33 archiso kernel: uhci_hcd 0000:00:1d.2: irq 18, io base 0x00003040
Aug 12 16:37:33 archiso kernel: usb usb4: configuration #1 chosen from 1 choice
Aug 12 16:37:33 archiso kernel: hub 4-0:1.0: USB hub found
Aug 12 16:37:33 archiso kernel: hub 4-0:1.0: 2 ports detected
Aug 12 16:37:33 archiso kernel: ata_piix 0000:00:1f.1: PCI INT A -> GSI 18 (level, low) -> IRQ 18
Aug 12 16:37:33 archiso kernel: scsi0 : ata_piix
Aug 12 16:37:33 archiso kernel: scsi1 : ata_piix
Aug 12 16:37:33 archiso kernel: aic94xx: Adaptec aic94xx SAS/SATA driver version 1.0.3 loaded
Aug 12 16:37:33 archiso kernel: aic94xx 0000:03:04.0: PCI INT A -> GSI 19 (level, low) -> IRQ 19
Aug 12 16:37:33 archiso kernel: ata1: PATA max UDMA/100 cmd 0x1f0 ctl 0x3f6 bmdma 0x3080 irq 14
Aug 12 16:37:33 archiso kernel: ata2: PATA max UDMA/100 cmd 0x170 ctl 0x376 bmdma 0x3088 irq 15
Aug 12 16:37:33 archiso kernel: aic94xx: found Adaptec AIC-9405W SAS/SATA Host Adapter, device 0000:03:04.0
Aug 12 16:37:33 archiso kernel: scsi2 : aic94xx
Aug 12 16:37:33 archiso kernel: aic94xx 0000:03:04.0: firmware: requesting aic94xx-seq.fw
Aug 12 16:37:33 archiso kernel: aic94xx: Failed to load sequencer firmware file aic94xx-seq.fw, error -2
Aug 12 16:37:33 archiso kernel: aic94xx: couldn't init seqs for 0000:03:04.0
Aug 12 16:37:33 archiso kernel: aic94xx: couldn't init the chip
Aug 12 16:37:33 archiso kernel: aic94xx 0000:03:04.0: PCI INT A disabled
Aug 12 16:37:33 archiso kernel: aic94xx: probe of 0000:03:04.0 failed with error -2
Aug 12 16:37:33 archiso kernel: ata1.00: ATAPI: HL-DT-STDVD-RAM GSA-H55N, 1.03, max UDMA/66
Aug 12 16:37:33 archiso kernel: ata1.00: limited to UDMA/33 due to 40-wire cable
Aug 12 16:37:33 archiso kernel: ata1.00: configured for UDMA/33
Aug 12 16:37:33 archiso kernel: scsi 0:0:0:0: CD-ROM HL-DT-ST DVD-RAM GSA-H55N 1.03 PQ: 0 ANSI: 5
Aug 12 16:37:33 archiso kernel: Driver 'sr' needs updating - please use bus_type methods
Aug 12 16:37:33 archiso kernel: sr0: scsi3-mmc drive: 48x/48x writer dvd-ram cd/rw xa/form2 cdda tray
Aug 12 16:37:33 archiso kernel: Uniform CD-ROM driver Revision: 3.20
Aug 12 16:37:33 archiso kernel: usb 2-1: new low speed USB device using uhci_hcd and address 2
Aug 12 16:37:33 archiso kernel: usb 2-1: configuration #1 chosen from 1 choice
Aug 12 16:37:33 archiso kernel: usbcore: registered new interface driver hiddev
Aug 12 16:37:33 archiso kernel: input: USB Optical Mouse as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1:1.0/input/input2
Aug 12 16:37:33 archiso kernel: generic-usb 0003:04B3:310C.0001: input,hidraw0: USB HID v1.11 Mouse [USB Optical Mouse] on usb-0000:00:1d.0-1/input0
Aug 12 16:37:33 archiso kernel: usbcore: registered new interface driver usbhid
Aug 12 16:37:33 archiso kernel: usbhid: v2.6:USB HID core driver
Aug 12 16:37:33 archiso kernel: squashfs: version 4.0 (2009/01/31) Phillip Lougher
Aug 12 16:37:33 archiso kernel: aufs 2-standalone.tree-20090601
Aug 12 16:37:33 archiso kernel: loop: module loaded
Aug 12 16:37:33 archiso kernel: aufs test_add:240:mount[635]: uid/gid/perm /tmpfs/mnt/loop0 0/0/0755, 0/0/01777
Aug 12 16:37:33 archiso kernel: aufs test_add:240:mount[648]: uid/gid/perm /tmpfs/mnt/loop2 0/0/0755, 0/0/01777
Aug 12 16:37:33 archiso kernel: rtc_cmos 00:04: RTC can wake from S4
Aug 12 16:37:33 archiso kernel: rtc_cmos 00:04: rtc core: registered rtc_cmos as rtc0
Aug 12 16:37:33 archiso kernel: rtc0: alarms up to one month, y3k, 114 bytes nvram, hpet irqs
Aug 12 16:37:33 archiso kernel: udev: starting version 141
Aug 12 16:37:33 archiso kernel: input: PC Speaker as /devices/platform/pcspkr/input/input3
Aug 12 16:37:33 archiso kernel: intel_rng: FWH not detected
Aug 12 16:37:33 archiso kernel: pci_hotplug: PCI Hot Plug PCI Core version: 0.5
Aug 12 16:37:33 archiso kernel: shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
Aug 12 16:37:33 archiso kernel: input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input4
Aug 12 16:37:33 archiso kernel: ACPI: Power Button [PWRF]
Aug 12 16:37:33 archiso kernel: input: Power Button as /devices/LNXSYSTM:00/device:00/PNP0A03:00/PNP0C0C:00/input/input5
Aug 12 16:37:33 archiso kernel: ACPI: Power Button [PWRB]
Aug 12 16:37:33 archiso kernel: EDAC MC: Ver: 2.1.0 Jul 31 2009
Aug 12 16:37:33 archiso kernel: iTCO_vendor_support: vendor-support=0
Aug 12 16:37:33 archiso kernel: i801_smbus 0000:00:1f.3: PCI INT B -> GSI 19 (level, low) -> IRQ 19
Aug 12 16:37:33 archiso kernel: tg3.c:v3.98 (February 25, 2009)
Aug 12 16:37:33 archiso kernel: tg3 0000:04:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
Aug 12 16:37:33 archiso kernel: tg3 0000:04:00.0: PME# disabled
Aug 12 16:37:33 archiso kernel: eth0: Tigon3 [partno(BCM95721) rev 4101] (PCI Express) MAC address 00:11:25:a4:42:2f
Aug 12 16:37:33 archiso kernel: eth0: attached PHY is 5750 (10/100/1000Base-T Ethernet) (WireSpeed[1])
Aug 12 16:37:33 archiso kernel: eth0: RXcsums[1] LinkChgREG[0] MIirq[0] ASF[1] TSOcap[1]
Aug 12 16:37:33 archiso kernel: eth0: dma_rwctrl[76180000] dma_mask[64-bit]
Aug 12 16:37:33 archiso kernel: sr 0:0:0:0: Attached scsi generic sg0 type 5
Aug 12 16:37:33 archiso kernel: iTCO_wdt: Intel TCO WatchDog Timer Driver v1.05
Aug 12 16:37:33 archiso kernel: iTCO_wdt: Found a ICH7 or ICH7R TCO device (Version=2, TCOBASE=0x1060)
Aug 12 16:37:33 archiso kernel: iTCO_wdt: initialized. heartbeat=30 sec (nowayout=0)
Aug 12 16:37:33 archiso kernel: processor ACPI_CPU:00: registered as cooling_device0
Aug 12 16:37:33 archiso kernel: ACPI: Processor [CPU0] (supports 8 throttling states)
Aug 12 16:37:33 archiso kernel: processor ACPI_CPU:01: registered as cooling_device1
Aug 12 16:37:33 archiso kernel: ACPI: Processor [CPU1] (supports 8 throttling states)
Aug 12 16:37:33 archiso kernel: EDAC MC0: Giving out device to 'i3000_edac' 'i3000': DEV 0000:00:00.0
Aug 12 16:37:33 archiso kernel: EDAC PCI0: Giving out device to module 'i3000_edac' controller 'EDAC PCI controller': DEV '0000:00:00.0' (POLLED)
Aug 12 16:37:33 archiso kernel: lp: driver loaded but no devices found
Aug 12 16:37:33 archiso kernel: parport_pc 00:0b: reported by Plug and Play ACPI
Aug 12 16:37:33 archiso kernel: parport0: PC-style at 0x378 (0x778), irq 7, dma 1 [PCSPP,TRISTATE,COMPAT,ECP,DMA]
Aug 12 16:37:33 archiso kernel: lp0: using parport0 (interrupt-driven).
Aug 12 16:37:33 archiso kernel: ppdev: user-space parallel port driver
Aug 12 16:37:31 archiso init: Entering runlevel: 3
Aug 12 16:38:08 archiso kernel: tg3 0000:04:00.0: PME# disabled
Aug 12 16:38:09 archiso kernel: tg3: eth0: Link is up at 100 Mbps, full duplex.
Aug 12 16:38:09 archiso kernel: tg3: eth0: Flow control is on for TX and on for RX.
Aug 12 16:42:52 archiso kernel: device-mapper: uevent: version 1.0.3
Aug 12 16:42:52 archiso kernel: device-mapper: ioctl: 4.14.0-ioctl (2008-04-23) initialised: [email protected]
Aug 12 16:43:49 archiso kernel: usb 1-4: new high speed USB device using ehci_hcd and address 3
Aug 12 16:43:50 archiso kernel: usb 1-4: configuration #1 chosen from 1 choice
Aug 12 16:43:50 archiso kernel: Initializing USB Mass Storage driver...
Aug 12 16:43:50 archiso kernel: scsi3 : SCSI emulation for USB Mass Storage devices
Aug 12 16:43:50 archiso kernel: usbcore: registered new interface driver usb-storage
Aug 12 16:43:50 archiso kernel: USB Mass Storage support registered.
Aug 12 16:43:55 archiso kernel: scsi 3:0:0:0: Direct-Access Kingston DT 101 II 1.00 PQ: 0 ANSI: 2
Aug 12 16:43:55 archiso kernel: scsi 3:0:0:0: Attached scsi generic sg1 type 0
Aug 12 16:43:55 archiso kernel: Driver 'sd' needs updating - please use bus_type methods
Aug 12 16:43:55 archiso kernel: sd 3:0:0:0: [sda] 7876608 512-byte hardware sectors: (4.03 GB/3.75 GiB)
Aug 12 16:43:55 archiso kernel: sd 3:0:0:0: [sda] Write Protect is off
Aug 12 16:43:55 archiso kernel: sda: sda1
Aug 12 16:43:55 archiso kernel: sd 3:0:0:0: [sda] Attached SCSI removable disk
I'm following your last instructions ... no results. -
[SOLVED] (U)EFI dualboot Win7 Arch Linux - partitions gone - recovery?
Hi everybody,
I have a slight problem with my (U)EFI dualboot system (Windows 7 and Arch Linux) which used to be configured using rEFInd like it is described in my previous post:
https://bbs.archlinux.org/viewtopic.php … 6#p1300356
<EFI PARTITION> is /dev/sda1 and I used to boot via <EFI PARTITION>\EFI\Boot\Bootx64.efi which then successfully either loaded Windows or Linux kernel.
Thanks to my own stupidity and a recent update of refind I decided to copy the new driver, font and icon folders to the <EFI PARTITION> in order to be up-to-date.
After doing so, the rEFInd boot menu had a third icon which said "Boot via \EFI\Boot\Bootx64.efi" and if I clicked on it a second rEFInd boot menu appeared with only the two icons for Windows 7 and Arch.
So I figured I could delete Bootx64.efi and ultimately did so, unfortunately. Afterwards I couldn't boot neither Windows nor Linux anymore.
Following this I went through my noumerous USB boot sticks in order to be able to recover the Bootx64.efi. Unfortunately the first USB stick was a Windows XP one which has the plop bootloader alongside:
http://www.plop.at/en/bootmanager/thebootmanager.html
Out of couriousity I entered this bootloader and found HDA and HDB (I assume resembling my SSD and my USB stick).
To my knowledge I didn't change anything but after entering the bootloader again I just found HDA left, HDB seemed to be gone. But I didn't think of anything bad happening yet.
Then I found a working Archiso which I booted and using blkid I couldn't find the partitions of my earlier system anymore, only its device and the USB stick:
/dev/sda: PTUUID="..." PTTYPE="gpt"
/dev/sdb1: UUID="..." LABEL="ARCH_201312" TYPE="..." and so on
/dev/sdb2: SEC_TYPE="msdos" and so on
Even within the EFI shell I could not detect any internal drive anymore (only fs0: which is the USB stick)
Using Archiso onboard tool testdisk I could find the old partitions. The correct result of the GPT from testdisk is:
Fri Jul 4 08:45:25 2014
Command line: TestDisk
TestDisk 6.14, Data Recovery Utility, July 2013
Christophe GRENIER <[email protected]>
http://www.cgsecurity.org
OS: Linux, kernel 3.12.1-3-ARCH (#1 SMP PREEMPT Tue Nov 26 11:17:02 CET 2013) x86_64
Compiler: GCC 4.8
Compilation date: 2013-08-06T08:42:31
ext2fs lib: 1.42.8, ntfs lib: libntfs-3g, reiserfs lib: 0.3.0.5, ewf lib: none
/dev/sda: LBA, HPA, LBA48, DCO support
/dev/sda: size 500118192 sectors
/dev/sda: user_max 500118192 sectors
/dev/sda: native_max 500118192 sectors
/dev/sda: dco 500118192 sectors
Warning: can't get size for Disk /dev/mapper/control - 0 B - 1 sectors, sector size=512
Hard disk list
Disk /dev/sda - 256 GB / 238 GiB - CHS 31130 255 63, sector size=512 - Samsung SSD 840 PRO Series, S/N:S12RNEAD322171L, FW:DXM04B0Q
Disk /dev/sdb - 2013 MB / 1920 MiB - CHS 1022 62 62, sector size=512 - SMI USB DISK, FW:1100
Disk /dev/sdc - 4210 MB / 4015 MiB - CHS 1020 130 62, sector size=512 - Generic Flash Disk, FW:8.07
Disk /dev/mapper/arch_root-image - 1478 MB / 1410 MiB - 2887680 sectors, sector size=512
Disk /dev/dm-0 - 1478 MB / 1410 MiB - 2887680 sectors, sector size=512
Partition table type (auto): Intel
Disk /dev/sda - 256 GB / 238 GiB - Samsung SSD 840 PRO Series
Partition table type: EFI GPT
New options :
Dump : No
Align partition: Yes
Expert mode : Yes
Analyse Disk /dev/sda - 256 GB / 238 GiB - CHS 31130 255 63
hdr_size=92
hdr_lba_self=1
hdr_lba_alt=500118191 (expected 500118191)
hdr_lba_start=34
hdr_lba_end=500118158
hdr_lba_table=2
hdr_entries=128
hdr_entsz=128
hdr_size=92
hdr_lba_self=500118191
hdr_lba_alt=1 (expected 1)
hdr_lba_start=34
hdr_lba_end=500118158
hdr_lba_table=500118159
hdr_entries=128
hdr_entsz=128
Trying alternate GPT
Current partition structure:
Trying alternate GPT
search_part()
Disk /dev/sda - 256 GB / 238 GiB - CHS 31130 255 63
FAT32 at 0/32/33
FAT1 : 4110-6150
FAT2 : 6151-8191
start_rootdir : 8192 root cluster : 2
Data : 8192-2097151
sectors : 2097152
cluster_size : 8
no_of_cluster : 261120 (2 - 261121)
fat_length 2041 calculated 2041
set_FAT_info: name from BS used
FAT32 at 0/32/33
MS Data 2048 2099199 2097152 [NO NAME]
FAT32, blocksize=4096, 1073 MB / 1024 MiB
NTFS at 146/251/42
filesystem size 249593856
sectors_per_cluster 8
mft_lcn 786432
mftmirr_lcn 2
clusters_per_mft_record -10
clusters_per_index_record 1
NTFS part_offset=1209008128, part_size=127792054272, sector_size=512
NTFS partition cannot be added (part_offset<part_size).
NTFS at 146/251/42
filesystem size 249593856
sectors_per_cluster 8
mft_lcn 786432
mftmirr_lcn 2
clusters_per_mft_record -10
clusters_per_index_record 1
MS Data 2361344 251955199 249593856
NTFS, blocksize=4096, 127 GB / 119 GiB
recover_EXT2: s_block_group_nr=0/160, s_mnt_count=1318/4294967295, s_blocks_per_group=32768, s_inodes_per_group=8192
recover_EXT2: s_blocksize=4096
recover_EXT2: s_blocks_count 5242880
recover_EXT2: part_size 41943040
MS Data 251955200 293898239 41943040
ext4 blocksize=4096 Large file Sparse superblock, 21 GB / 20 GiB
recover_EXT2: s_block_group_nr=0/80, s_mnt_count=1317/4294967295, s_blocks_per_group=32768, s_inodes_per_group=8192
recover_EXT2: s_blocksize=4096
recover_EXT2: s_blocks_count 2621440
recover_EXT2: part_size 20971520
MS Data 293898240 314869759 20971520
ext4 blocksize=4096 Large file Sparse superblock, 10 GB / 10 GiB
recover_EXT2: s_block_group_nr=0/706, s_mnt_count=1317/4294967295, s_blocks_per_group=32768, s_inodes_per_group=8192
recover_EXT2: s_blocksize=4096
recover_EXT2: s_blocks_count 23156049
recover_EXT2: part_size 185248392
MS Data 314869760 500118151 185248392
ext4 blocksize=4096 Large file Sparse superblock, 94 GB / 88 GiB
Results
P MS Data 2048 2099199 2097152 [NO NAME]
FAT32, blocksize=4096, 1073 MB / 1024 MiB
P MS Data 2361344 251955199 249593856
NTFS, blocksize=4096, 127 GB / 119 GiB
P MS Data 251955200 293898239 41943040
ext4 blocksize=4096 Large file Sparse superblock, 21 GB / 20 GiB
P MS Data 293898240 314869759 20971520
ext4 blocksize=4096 Large file Sparse superblock, 10 GB / 10 GiB
P MS Data 314869760 500118151 185248392
ext4 blocksize=4096 Large file Sparse superblock, 94 GB / 88 GiB
interface_write()
1 P MS Data 2048 2099199 2097152 [NO NAME]
2 P MS Data 2361344 251955199 249593856
3 P MS Data 251955200 293898239 41943040
4 P MS Data 293898240 314869759 20971520
5 P MS Data 314869760 500118151 185248392
simulate write!
TestDisk exited normally.
ext4 blocksize=4096 Large file Sparse superblock, 94 GB / 88 GiB
Now the question is: Can I - using testdisk or any other tool - recover those partitions successfully so I will be able to boot again afterwards? I tested and I could mark them as:
P Primary
Any help will be greately appreciated.
Best regards
Last edited by blablubb1234 (2014-07-08 09:20:08)Issue resolved If you care to know how, read on:
Looking at the disk using gdisk was doing no good. Neither of the recovery options in gdisk did the trick.
I then returned to testdisk and restored the partitions (successfully). However, afterwards I was greeted by shell telling me the root device was not found (seems like UUIDs get changed when one restores them using testdisk). Adjusting the PARTUUID for root in <EFI SYSTEM PARTIITION>/boot/refind_linux.conf did the trick and I could boot up Archlinux again.
Windows 7 still didn't boot telling me the required device was inaccessible (probably wrong UUID, too). I could however not restore/edit Windows' BCD using bcdedit, see my post Status: 0xc0000225 boot selection failed; required device inaccessible:
To make a long story short: Removing bcd and running autorecovery from withing Windows RE successfully created a new bcd. Unfortunately, Windows writes its backup bootloader at <EFI SYSTEM PARTITION>/boot/EFI/Boot/bootx64.efi. This file originally was a copy of refind_x64.efi which I need to put at that location to be able to dualboot. After chrooting to my Arch system I could restore bootx64.efi, create a new fstab and everything is running fine now again.
Best regards and thanks for the help. -
Installing Multiple Operating Systems with grub and Arch Linux
NOTE: Please keep in mind that there are many different ways to achieve this same result using various loop and ramdisk methods, read this with a separate window to jot down your comments and suggestions... this is ongoing for me so any help would be appreciated!
Read the full article at Install Multiple Os without cds
This is my first post and I plan on making this topic an official HOWTO with www.tldp.org.
I have been into the computer security scene since 1990, but I realized that I had very little experience with the various LInux, Unix, and alternative Operating systems out there.
I have a CD-RW drive but being a struggling computer security researcher I had no money for blank cd-recordables. What follows is how I managed to install various operating systems on my computer (1 hard drive) without having to burn to a CD the ISO and then boot from that.
I first partitioned my 120GB harddrive into 10 partitions, the 2nd partition is a small swap and the last partition is extra large because it holds all the ISO images..
I then wrote a small shell script to automatically download (I love wget!) the following.
OpenBSD
IpCOP
Libranet
Arch-Linux
Fire
Local Area Security
Packet Master
Devil-Linux
FreeBSD
Knoppix
Helix
Gentoo
Yoper-Linux
NetBSD
RedHat
Slackware
The script also downloaded Installation manuals and md5 checksums.. (let me know if I should post... its pretty unsophisticated
I installed Slackware (personal favorite) on hda1 using my last blank CD-R, note that I do not have a separate boot partitino. (Should I?). I also installed grub on the MBR. I love grub, if you read through the man pages and all info you can find about grub, you can learn a whole lot. Grub has much more features and capability than lilo, even though lilo comes installed by default with slack.
I organize my kernel situation as follows... In my /boot directory, I mkdir KERNEL, CONFIG, MAP, INITRD and that is a good way for me to keep my kernels and everything organized.. Another good way is a separate dir for each new kernel.
Since Arch-Linux is a solid distro, I'll use that as a first example.
Here is the Arch-Linux section of my shell script
goge Arch-Linux
$w http://puzzle.dl.sourceforge.net/sourceforge/archlinux/arch-0.6.iso
$w http://unc.dl.sourceforge.net/sourceforge/archlinux/arch-0.6.md5sum
$w http://www.archlinux.org/docs/en/guide/install/arch-install-guide.html
md55
cat arch-0.6.md5sum
md5sum arch-0.6.iso
md55
The first thing to do is to mount the downloaded ISO image so we can use it as if it were an actual CD.
mount -t iso9660 -o ro,loop=/dev/loop0 cdimage /mnt/cdrom
Where cdimage= the ISO image. EX. /usr/local/src/ISO/Linux/Arch-Linux/arch-0.6.iso
This mounts the iso as /mnt/cdrom.
Next you need to copy /mnt/cdrom to a separate partition for the booting process. So mkfs.ext2 /dev/hda9. ( I prefer reiserfs or even XFS to ext but if you use something other than ext2 you could run into some problems because some of the installation kernels and initrds don't include support for reiserfs and so can't recognize the files. Although you could use mkinitrd to create a new initrd with reiserfs support, that might be pushin it IMO... I use the 9th partition consistently for this. I know there is a "right" way to copy the /mnt/cdrom files so everything stays the way it is supposed too, using tar or cpio, but I'm lazy so I just do cp -rp.
(What is the tar or cpio commands to copy with correct permissions etc??)
So you mount the 9th partition as whatever, say /mnt/hd and then copy the files. Now what?
Now edit your /boot/grub/menu.lst file to include the specific options to boot arch-linux installation.
A good idea is to find the isolinux.cfg file somewhere on the distro cd, this will tell you what to include in the menu.lst.
Here is the section in my menu.lst
title Arch Install
root (hd0,8)
kernel /isolinux/vmlinuz load_ramdisk=1 prompt_ramdisk=0 root=/dev/rd/0
initrd=/isolinux/initrd.img
This should be self-explanatory. The root (hd0,8) is pointing to partition 9. So the rest of the commands start from partition 9.
When you experience problems, remember you can always edit the grub boot options by typing 'e' and then edit the section. Also, a good idea is to include several variations in your menu.lst so you can easily try other ways to boot efficiently. And, remember to read up on all the installation guides that come with your distro, specifically, hard-disk installs.
There are special cases, Gentoo, has a semi-new compressed filesystem called squashfs. BTW, this is AWESOME, so check it out. It has to be compiled into the kernel, so some work is in order, but use this recompile to optimize your kernel. You can get the squashfs patch for almost any kernel. I use the latest stable 2.6 kernel. Squashfs is incredible and although I don't think you need it to install from ISO, you do need it to expand the livecd.squashfs filesystem that comes with the cd.
Heres a sample Gentoo section from my menu.lst
title Gentoo Install
root (hd0,8)
kernel /isolinux/gentoo root=/dev/ram0
initrd=/isolinux/gentoo.igz init=/linuxrc acpi=off looptype=squashfs loop=/livecd.squashfs cdroot vga=791 splash=silent
A nother' tip is the shell that is provided if you experience problems, typically busybox or ash. The key tools to get you going from here is mount and chroot. Sometimes you will need to manually create a simulated file system and then chroot into it. For instance, you might have to create boot, etc, bin, directories on the target partition.
I generally install each OS onto the next partition (careful of the logical partition) and add it to my menu.lst after install. A good idea is after installation, copy the kernel and initrd(if there is one) to the slackware(or whatever) boot partition on hda1. I copy kernels to /boot/KERNEL/ and initrd's to /boot/INITRD, then menu.lst is more organized...
You then need to add an updated section to your menu.lst (just comment out the install section for later)
Here is the finished arch-linux section from menu.lst
title Arch Linux 6
root (hd0,2)
kernel /boot/vmlinuz26 ro root=/dev/hdc3
This doesn't use my convenient boot/KERNEL/vmlinuz26 as you can tell by setting the root to partition 3.
***NOTE: Make a backup of MBR using dd and save to floppy, also backup the partition table to floppy, using cfdisk or parted. And boot disks (I use 1 with grub, and 1 with slack, and tomsbootdisk) will invariably come in handy. Tomsbootdisk is recommended, and make the grub boot disk when you install grub. install to floppy.
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
The final result after some fun experimenting, is when I boot, I have a cool grub boot screen come up with the option to boot into whatever OS I want, this is handy for multiple reasons. One good thing to do after this is to port scan and vuln scan each OS, after you update of course. Write this stuff down and you will know the weaknesses/strengths of the various OS's.
I can boot a custom Firewall, snort, or multiple honeypots using this procedure, as well as a graphical kde environment with a kernel optimized for graphics and my processor/architecture, or an environment devoted to forensics or even an environment suitable for programming.
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
P.S. Some of the cooler alternative operating systems are BeOS 5, EOS, ER_OS, V2_OS, and my personal favorite Menuet. Menuet is 100% assembly graphical operating system that fits on a floppy. Its f'in money!
This should be a good enough example to get you started, this kind of thing should be learned and not just copied... Knowing how to do this stuff could prove to be exceptionally useful...Start by reading all the articles built-in on your Mac - Help > Mac Help, search "printer sharing."
http://desk.stinkpot.org:8080/tricks/index.php/2008/04/how-to-print-to-a-cups-se rver-from-mac-os-x/
http://www.macosxhints.com/article.php?story=20080324224027152&query=share%2Bpri nter
http://members.cox.net/18james/osxprintersharing.html
http://ubuntuforums.org/archive/index.php/t-56940.html -
[SOLVED]System Hang in Arch Linux
I have tried distributions like ubuntu and fedora in hope for finding a stable system . So I move on to Arch Linux
But this problem also exist on Arch. While using my Arch Linux (including ubuntu and fedora) my system hangs with a black screen with something written on the whole screen which cannot be pasted here as my system hangs and I have to push power button to restart.
So I check my errors.log file and found these errors
Jul 8 22:59:24 localhost kernel: [ 1.680013] ata3: softreset failed (device not ready)
Jul 8 22:59:24 localhost kernel: [ 7.298612] SP5100 TCO timer: mmio address 0xfec000f0 already in use
Jul 8 22:59:31 localhost kdm_greet[792]: Cannot load /usr/share/apps/kdm/faces/.default.face: No such file or directory
I have a HCL K21 pdc notebook
Note: In Ubuntu my notebook start with ata1: softreset failed error at boot time
Most often this error occur while watching videos or listening music with VLC
Last edited by Manuj19 (2011-07-09 10:13:24)ewaller wrote:It might be better to just post the output of lspci -nn It will tell us a great deal more about the hardware related to the PCI bus, including specific chip set identifiers.
Thanks for suggestion
Here is output of lspci -nn
00:00.0 Host bridge [0600]: ATI Technologies Inc Device [1002:5a31] (rev 01)
00:01.0 PCI bridge [0604]: ATI Technologies Inc RS480 PCI Bridge [1002:5a3f]
00:04.0 PCI bridge [0604]: ATI Technologies Inc RS480 PCI Bridge [1002:5a36]
00:05.0 PCI bridge [0604]: ATI Technologies Inc RS480 PCI Bridge [1002:5a37]
00:06.0 PCI bridge [0604]: ATI Technologies Inc RS480 PCI Bridge [1002:5a38]
00:07.0 PCI bridge [0604]: ATI Technologies Inc RS480 PCI Bridge [1002:5a39]
00:12.0 SATA controller [0106]: ATI Technologies Inc SB600 Non-Raid-5 SATA [1002:4380]
00:13.0 USB Controller [0c03]: ATI Technologies Inc SB600 USB (OHCI0) [1002:4387]
00:13.1 USB Controller [0c03]: ATI Technologies Inc SB600 USB (OHCI1) [1002:4388]
00:13.2 USB Controller [0c03]: ATI Technologies Inc SB600 USB (OHCI2) [1002:4389]
00:13.3 USB Controller [0c03]: ATI Technologies Inc SB600 USB (OHCI3) [1002:438a]
00:13.4 USB Controller [0c03]: ATI Technologies Inc SB600 USB (OHCI4) [1002:438b]
00:13.5 USB Controller [0c03]: ATI Technologies Inc SB600 USB Controller (EHCI) [1002:4386]
00:14.0 SMBus [0c05]: ATI Technologies Inc SBx00 SMBus Controller [1002:4385] (rev 13)
00:14.1 IDE interface [0101]: ATI Technologies Inc SB600 IDE [1002:438c]
00:14.2 Audio device [0403]: ATI Technologies Inc SBx00 Azalia (Intel HDA) [1002:4383]
00:14.3 ISA bridge [0601]: ATI Technologies Inc SB600 PCI to LPC Bridge [1002:438d]
00:14.4 PCI bridge [0604]: ATI Technologies Inc SBx00 PCI to PCI Bridge [1002:4384]
01:05.0 VGA compatible controller [0300]: ATI Technologies Inc RC410 [Radeon Xpress 200M] [1002:5a62]
02:00.0 Ethernet controller [0200]: Atheros Communications Inc. AR5001 Wireless Network Adapter [168c:001c] (rev 01)
08:01.0 CardBus bridge [0607]: Ricoh Co Ltd RL5c476 II [1180:0476] (rev b3)
08:01.1 FireWire (IEEE 1394) [0c00]: Ricoh Co Ltd R5C552 IEEE 1394 Controller [1180:0552] (rev 08)
08:01.2 SD Host controller [0805]: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter [1180:0822] (rev 17)
08:01.3 System peripheral [0880]: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter [1180:0592] (rev 08)
08:07.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ [10ec:8139] (rev 10)
Last edited by Manuj19 (2011-07-09 07:20:08) -
[SOLVED] Ndiswrapper, NetworkManager 0.7 and 64-bit Arch Linux
Hi there!
I am having problems configuring my wireless card. I know I have to use Ndiswrapper, and this is what I have tried to do; however, it didn't go quite well.
This is rather odd because it worked perfectly in the 32-bit version of Arch Linux, but now it doesn't work.
So, here comes the code.
valandil ~ $ lspci | grep Network
0b:00.0 Network controller: Broadcom Corporation BCM4311 802.11b/g WLAN (rev 01)
I really use ndiswrapper and have already installed what I think is the proper driver (it seems that the list the official ndiswrapper site had has somehow disappeared.
sudo ndiswrapper -l
Password:
bcmwl5 : driver installed
device (14E4:4311) present (alternate driver: ssb)
Here's iwconfig:
valandil ~ $ iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
wmaster0 no wireless extensions.
wlan0 IEEE 802.11bg ESSID:""
Mode:Managed Frequency:2.412 GHz Access Point: Not-Associated
Tx-Power=0 dBm
Retry min limit:7 RTS thr:off Fragment thr=2352 B
Power Management:off
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
I use NetworkManager 0.7 and have configured properly:
rc.conf:
# /etc/rc.conf - Main Configuration for Arch Linux
# LOCALIZATION
# LOCALE: available languages can be listed with the 'locale -a' command
# HARDWARECLOCK: set to "UTC" or "localtime"
# USEDIRECTISA: use direct I/O requests instead of /dev/rtc for hwclock
# TIMEZONE: timezones are found in /usr/share/zoneinfo
# KEYMAP: keymaps are found in /usr/share/kbd/keymaps
# CONSOLEFONT: found in /usr/share/kbd/consolefonts (only needed for non-US)
# CONSOLEMAP: found in /usr/share/kbd/consoletrans
# USECOLOR: use ANSI color sequences in startup messages
LOCALE="en_US.utf8"
HARDWARECLOCK="localtime"
USEDIRECTISA="no"
TIMEZONE="America/Vancouver"
KEYMAP="cf"
CONSOLEFONT=
CONSOLEMAP=
USECOLOR="yes"
# HARDWARE
# MOD_AUTOLOAD: Allow autoloading of modules at boot and when needed
# MOD_BLACKLIST: Prevent udev from loading these modules
# MODULES: Modules to load at boot-up. Prefix with a ! to blacklist.
# NOTE: Use of 'MOD_BLACKLIST' is deprecated. Please use ! in the MODULES array.
MOD_AUTOLOAD="yes"
#MOD_BLACKLIST=() #deprecated
MODULES=(fuse ndiswrapper fglrx !b44 !mii bcm43xx !snd_pcsp snd-mixer-oss snd-pcm-oss snd-hwdep snd-page-alloc snd-pcm snd-timer snd snd-hda-intel soundcore !pcspkr)
# Scan for LVM volume groups at startup, required if you use LVM
USELVM="no"
# NETWORKING
# HOSTNAME: Hostname of machine. Should also be put in /etc/hosts
HOSTNAME="cipher"
# Use 'ifconfig -a' or 'ls /sys/class/net/' to see all available interfaces.
# Interfaces to start at boot-up (in this order)
# Declare each interface then list in INTERFACES
# - prefix an entry in INTERFACES with a ! to disable it
# - no hyphens in your interface names - Bash doesn't like it
# DHCP: Set your interface to "dhcp" (eth0="dhcp")
# Wireless: See network profiles below
#eth0="eth0 192.168.0.2 netmask 255.255.255.0 broadcast 192.168.0.255"
eth0="dhcp"
INTERFACES=(lo !eth0 !wlan0)
# Routes to start at boot-up (in this order)
# Declare each route then list in ROUTES
# - prefix an entry in ROUTES with a ! to disable it
gateway="default gw 192.168.1.1"
ROUTES=(!gateway)
# Enable these network profiles at boot-up. These are only useful
# if you happen to need multiple network configurations (ie, laptop users)
# - set to 'menu' to present a menu during boot-up (dialog package required)
# - prefix an entry with a ! to disable it
# Network profiles are found in /etc/network.d
# This now requires the netcfg package
#NETWORKS=(main)
# DAEMONS
# Daemons to start at boot-up (in this order)
# - prefix a daemon with a ! to disable it
# - prefix a daemon with a @ to start it up in the background
DAEMONS=(@stbd httpd !network syslog-ng netfs crond alsa hal dhcdbd networkmanager fam gdm)
hosts file :
# /etc/hosts: static lookup table for host names
#<ip-address> <hostname.domain.org> <hostname>
127.0.0.1 localhost.localdomain localhost cipher
# End of file
/etc/NetworkManager/nm-system-settings.conf:
GNU nano 2.0.9 File: /etc/NetworkManager/nm-system-settings.conf
[main]
plugins=keyfile
[keyfile]
hostname=cipher
I hope you can solve this problem; wireless is really crucial.
Thanks for any help,
Last edited by valandil (2012-05-02 18:27:09)Alleluia!!!
I think I will write a new rule for myself to follow :
Thou shalt never use ndiswrapper again.
Thanks a lot, wonder, and thanks to you too, Xyne.
FYI, I tried to use something else than ndiswrapper before, but it didn't yield satisfying results. Anyway, thanks. -
[SOLVED] Arch Linux Duke (2007) Fails to Boot
Folks, I have a unique and challenging problem that has exhausted my Arch Linux skills, and so I am now turning to you.
I have a vintage Pentium Pro 200 system (that’s 200 MHz folks! – 200 MHz 686 architecture – the original 686!), two CPUs, running a dual boot between Windows NT 4.0 and Arch Linux Duke (2007). It has 512 MB of RAM and a 120 GB hard drive, partitioned up between Windows NT and Linux. I built this system new in 2007, hence the dated version of Arch. It has run like a charm all these years, granted not getting that much use. After about a year of no use at all, I fired the system up last week to help with a little research for a blog post I was writing on networking Windows NT 4.0 and Mac OS 8.6. Windows NT 4.0 fired right up with no issue, and after I was done testing what needed to be tested I tried to boot over to Arch.
After a year of disuse, Arch unexpectedly and stubbornly refused to boot. The boot process started up just fine, but towards the end, it declared that it could not mount the root file system on the root device and took a kernel panic and stopped. My Arch skills have gotten a bit rusty in the last few years, but I dusted them off and went to work. My guess was a file system or superblock error. Arch wouldn’t boot, but I dragged out my trusty RIPLinux 2.9 Rescue Live CD and fired it up. It came right up and ran, and I was able to mount the Arch partition and view all the files… everything seemed to be there; it just wouldn’t boot. Windows NT 4.0 AND RIPLinux both boot and run on the machine, so the hardware is fine as well.
A little information on the disk layout. Windows NT 4.0 is in the first partition on the hard drive. The extended partition has a second Windows NT 4.0 partition (sort of a /home partition for Windows NT 4.0), followed by the main Arch partition (the one I am trying to boot), followed by a swap partition and then the largest partition, which I use to share data between Arch and Windows NT 4.0 (I have loaded an ext2/3 driver into Windows NT 4.0 and it happily accesses the Linux partitions on the box).
RIPLinux’s e2fsck did find some issues with the Arch partition and I had it repair them all. I checked again afterwards that all the files were still there, and they were. With the partition now known to be clean, and the superblock repaired from one of the backups, all should have been well. However, Arch still wouldn’t (and still won’t) boot.
RIPLinux has a kind of a chain loader function, so I had it attempt to start up Arch for me. However, this was flummoxed by the fact that Arch addresses all my hard drive partitions as /dev/sdax and RIPLinux addresses them as /dev/hdax. Hence, without a common language, it was hard to get the one to start the other. Still, using this function, I have been able to get a crippled version of Arch running on the machine again. No modules had been loaded, and so it couldn’t do almost anything, but there it was (and is), Arch Linux Duke, at the CLI level. From there, I can see all the files, I can move freely in and out of my user account and the root account, but I can’t make the thing actually boot properly.
If you have read this far, you are a trooper. Summarizing what I know, the hardware is good, the file system is clean, the superblock is good, I can mount it cleanly from a live CD and I can chain load a crippled version of Arch. Here is the boot process blow-by-blow. When I try to do a normal boot, the Windows NT 4.0 loader passes control to the Lilo boot sector I have placed on hda1 (sda1 in Duke’s parlance). Lilo takes over, present a menu and when I select Duke, takes off. Arch Linux Duke starts to boot. It gets a good long way along, all the way along to:
:: Loading udev events [Pass]
:: Mount root Read-only
:: Checking file systems
This is where it stops.
The next thing I see is:
/dev/sda6
The superblock could not be read or does not describe a correct ext2 filesystem. If the device is valid and it really contains an ext2 filesystem (and not swap or ufs or something else) then the superblock is corrupt and you might try running e2fsck with an alternate superblock:
E2fsck –b 8193 <device>
I then get a sort of character based splash screen that says
**********FILE SYSTEM CHECK FAILED ****************************
* Please repair manually and reboot. Note that the root file system
* is currently mounted read-only. To remount it read-write, type:
* mount –n –o remount,rw /. When you exit the maintenance
* shell, the system will reboot automatically
Give root password for maintenance
At this point, I give the root password and enter the maintenance shell as root. I typed in “mount” and the first entry I got back is
/dev/sda6 on / type ext3 (rw)
This is exactly the root partition that the start up complains about. It is clearly there. I can see it, I can walk around it… it is clearly there. Why won’t it boot? Despite the message, the superblock is fine – it passes every test e2fsck can throw at it.
At this point, I did a “e2fsck /dev/hda6 (which is how RIPLinux would have passed it into Arch” and it says it is “clean”. I suspect that the Superblock message is because Arch sees root as sda6, while RIP passed it in as hda6...
Deciding to see what Arch would be seeing as it tried to set things up in the boot sequence, I tried the following next:
# mknod “/dev/root2” b 3 6
(“3” because RIPLinux refers to my hard drive as IDE, while Arch refers to it by major number “8”, which is SCSI. By the way, it IS an IDE drive – not sure why Arch insists on using the sdx nomenclature instead of hdx)
Then I entered “mount /dev/root2 /mnt/hda6” and “ls /mnt/hda6”
All was well. I can make the node, I can mount it, and I can see the contents. All is clearly well, but something is clearly wrong enough that Arch can’t boot.
I am totally out of ideas. I have tried every trick I know and am out of tricks. I would welcome any insights as to what I could try to get this venerable Arch installation back on its legs.
By the way, the key section of the /etc/lilo.conf file (lest anyone want to know) is:
image = /boot/vmlinuz26
root = /dev/sda6
label = ArchLinux-Duke
initrd = /boot/kernel26.img
read-only
I am stumped. Thanks in advance for any and all pointers you may be able to offer.
Last edited by mac57 (2014-06-02 17:42:21)Folks, thanks for all your helpful comments, and I wanted to report back to you that I finally overcame the issue, and ArchLinux-Duke (2007) is once again executing flawlessly on my old Pentium Pro 200 system. I won't bother reporting here all the blind allies I went down as I tried to figure out what was wrong, but in the end, literally moments before I was about to give up and overwrite my Arch installation with a new Linux variant (antiX seemed well suited for such old and low power hardware), my attention was drawn to a note I had made in my files back in 2007 about a problem with similar symptoms. In that case, I had just deleted ZenWalk Linux from the hard drive (both Arch and Zen had been on the drive), and merged several partitions to make use of the newly free space. This had changed Arch's view of the drive lettering, and what had been its /dev/sddx root device was now /dev/sdcx. Arch failed to boot, throwing off the same errors I was seeing now. I wish I had recalled that note a month or so ago! It would have saved me a lot of work and a lot of frustration.
At any rate, as a last step, and testing the idea that maybe the drive lettering had changed for some reason, I repeatedly manually booted Arch, specifying root=/dev/sda6, then /dev/sdb6, then /dev/sdd6, and finally, /dev/sdc6. Eureka! Arch now considered itself to be on /dev/sdc6 whereas previously it had been on /dev/sda6. This got me part way there, but the boot failed at the filesystem check stage and threw me into root. I disabled the file system check in /etc/rc.sysinit and got farther. Then I cleaned up /etc/fstab to agree with the new sdc naming, and I was back on the air fully.
So, what had happened was that Arch had changed its view of the drive it was on from sda6 to sdc6. While I could not understand why this "sudden" change had occurred, at least I had a solution, and had Arch back up and running.
Trolling through the rest of my notes, I found the answer. In 2012, the Tekram SCSI card in the machine failed, and I ultimately replaced it with an Adaptec card. The Tekram card did not have a BIOS segment on it. The Adaptec card did. My guess is that this caused the two internal SCSI devices I have built into the system (Iomega ZIP and Jaz respectively) to be enumerated first, claiming the "sda" and "sdb". device names. That left "sdc" for the root device, and that is where Arch went next. This is my guess anyway.
I should have caught this issue back in 2012, at the time, but from my notes, I can see that I tested the new card thoroughly using the Windows NT 4.0 side of the machine, but never thought to bring up Arch as well. Hence, this problem lay dormant for two years, before I attempted to fire up Arch last month and blundered right into it.
It has not all been bad. I have learned more about the ext2 and ext3 file systems and superblocks in the intervening time than I will ever need to use. I have learned how to manually boot Linux on a machine whose BIOS is so old that it cannot address the disk cylinder that the kernel is on and I have completely refreshed the many general Linux skills that used to just flow from my finger tips. It has been a frustrating experience, but ultimately a successful and useful one.
Just wanted to let everyone know that this is now [SOLVED]. I would mark the post as such, but I don't see any obvious way to do that. Thanks again everyone. -
[SOLVED] Installing Windows XP after Arch Linux
I'm not sure at all where to post this, so I've decided to do it here since I have the problem on a laptop... Please move if it should be somewhere else.
I installed Arch Linux on my new laptop a month ago or so, and am very pleased to have found the very kind of distro I've been looking for. However, I'm having trouble with my graphics (either wine doesn't support it, or the drivers don't have 2D/3D acceleration), and now I want to install Windows XP next to Arch Linux.
Using a GParted LiveCD, I've repartitioned the harddrive as such: Unpartitioned Space (27GB), Linux (197GB), SWAP (5GB).
I've also removed the bootable flag from the Linux partition, just to be sure. However, when I try to install Windows XP, it gets stuck after unpacking a bunch of drivers, giving me a bluescreen that tells me to make sure the hardware isn't broken, check my harddrive with CHKDSK /F, or look for viruses. Ofcourse I know none of these are true, since I'm running Arch Linux just fine.
A friend suggested that maybe my hardware isn't supported by Windows XP, which sounds like the most reasonable explanation so far, but I can't find a list of supported hardware. The M$ homepage basicly says
"Pentium 233-megahertz (MHz) processor or faster (300 MHz is recommended)"
for CPU, which doesn't help me at all.
My hardware is:
Processor: Intel Celeron 2.2 Ghz
Memory: 2GB DDR2
Graphics: Intel 4500MHD
And the laptop is called an "eMachines E525", though that doesn't say much since there are very, very many called this.
Can anyone give me any hints as to what I might be doing wrong?
Last edited by Noxic (2010-05-29 18:44:32)Sounds like something I'll want to do. Where did you download the drivers? Do I have to follow some guide? Thanks for the tip
EDIT:
Indeed I will want to install AHCI drivers, otherwise Arch Linux fails to boot quite badly. There is also a problem preventing me from booting when I'm using AHCI though;
At boot, Arch Linux checks /dev/sda1 (NTFS) for errors, and expects to check an ext2 filesystem. Obviously, however, /dev/sda1 is an NTFS filesystem.
Since it tries to read the NTFS partition as an ext2 filesystem, it panics. Arch Linux then prompts me for the root password (or Ctrl+D to reboot), but I've disabled root login and can therefore do nothing at this point.
I have a GParted livecd and the Arch Linux livecd, so editing files on any of the filesystem isn't a problem at all, but I don't know what to do at this point. Help?
Last edited by Noxic (2010-05-29 12:40:33) -
[SOLVED] Arch Linux on Macbook - Can't fix Screen Resolution
I just installed Arch Linux as a dual-boot on my Macbook. I really like it so far. However, I came across a problem that is really bothering me. It may seem simple, but no matter what I try, I only get "1024x768" and "800x600" resolution options. What I need is "1280x800." Here is my xorg.conf file right now:
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
ModulePath "/usr/lib/xorg/modules"
FontPath "/usr/share/fonts/misc"
FontPath "/usr/share/fonts/100dpi:unscaled"
FontPath "/usr/share/fonts/75dpi:unscaled"
FontPath "/usr/share/fonts/TTF"
FontPath "/usr/share/fonts/Type1"
EndSection
Section "Module"
Load "glx"
Load "dri2"
Load "extmod"
Load "dbe"
Load "dri"
Load "record"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5 6 7"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
EndSection
Section "Device"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
### [arg]: arg optional
#Option "ShadowFB" # [<bool>]
#Option "DefaultRefresh" # [<bool>]
#Option "ModeSetClearScreen" # [<bool>]
Identifier "Card0"
Driver "vesa"
VendorName "Intel Corporation"
BoardName "Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller"
BusID "PCI:0:2:0"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
SubSection "Display"
Viewport 0 0
Modes "1280x800"
Depth 1
EndSubSection
SubSection "Display"
Viewport 0 0
Modes "1280x800"
Depth 4
EndSubSection
SubSection "Display"
Viewport 0 0
Modes "1280x800"
Depth 8
EndSubSection
SubSection "Display"
Viewport 0 0
Modes "1280x800"
Depth 15
EndSubSection
SubSection "Display"
Viewport 0 0
Modes "1280x800"
Depth 16
EndSubSection
SubSection "Display"
Viewport 0 0
Modes "1280x800"
Depth 24
EndSubSection
EndSection
I just followed the instruction on the Arch Linux - Macbook Wiki page, and everything worked perfectly, except the resolution question. The only thing I added to the file is the 'Modes "1280x800"' lines. This is exactly what I've always done with linux, and it has always worked. So I'm perplexed, and I can't find any solutions that actually work by googling it. Has anyone else come across this problem, and even more important, does anyone know what is wrong?
Thanks.
Last edited by meolson (2009-09-23 04:44:23)Ok. I figured it out. I found this forum:
http://bbs.archlinux.org/viewtopic.php?id=56899
I found it before, but I had done everything, or so I thought. At the end, he mentions two things that are important to fix the resolution. I've repeated them here, and adapted them to what I had before:
pacman -S xf86-video-intel
edit /etc/X11/xorg.conf, and change video card driver from 'vesa' to 'intel'
I thought I had installed xf86-video-intel already, but apparently I hadn't. So, I followed those two steps, and now, it looks so much better! Thanks to anyone who tried to looked for a solution. -
Recovering earlier installed Windows 7 after installing Arch Linux
I'm trying to boot windows on my ASUS notebook.
There was windows 7 from the very beginning (disks C:\ and D:\), then I divided disk D:\ on several partitions and installed Arch Linux. I overwrited Windows boot information by boot part of Linux. Now I want to recover windows, that I still have on hard drive. It doesn's matter what there will be: dualboot or only windows (but dualboot is prefered).
Disk info:
[jhon@fckrsns ~]$ sudo fdisk -l
Disk /dev/sda: 698.7 GiB, 750156374016 bytes, 1465149168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 1AFC9DFF-CD3B-4CE1-8CAF-41C3E5B75772
Device Start End Size Type
/dev/sda1 2048 411647 200M EFI System
/dev/sda2 411648 673791 128M Microsoft reserved
/dev/sda3 673792 586731519 279.5G Microsoft basic data
/dev/sda4 586731520 691589119 50G Linux filesystem
/dev/sda5 1412718592 1465147391 25G Windows recovery environment
/dev/sda6 691589120 901304319 100G Linux filesystem
/dev/sda7 901304320 1412718591 243.9G Microsoft basic data
[jhon@fckrsns ~]$ lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 698.7G 0 disk
├─sda1 8:1 0 200M 0 part /boot
├─sda2 8:2 0 128M 0 part
├─sda3 8:3 0 279.5G 0 part
├─sda4 8:4 0 50G 0 part /
├─sda5 8:5 0 25G 0 part
├─sda6 8:6 0 100G 0 part /home
└─sda7 8:7 0 243.9G 0 part
sr0 11:0 1 1024M 0 rom
[jhon@fckrsns ~]$ lsblk -f
NAME FSTYPE LABEL UUID MOUNTPOINT
sda
├─sda1 vfat 4DEB-D6D2 /boot
├─sda2
├─sda3 ntfs OS 62364BE9364BBCB3
├─sda4 ext4 c4da4683-871a-49fa-96a3-4da11387d31d /
├─sda5 ntfs Recovery 8ECE4F50CE4F2FAF
├─sda6 ext4 3eba01c6-e422-4542-8442-16064c74a563 /home
└─sda7 ntfs 3B29E7794F6CD932
sr0
OS partition (/dev/sda3):
[jhon@fckrsns /]$ ls /run/media/jhon/OS
altera Boot djvureader DrWeb Quarantine eSupport hiberfil.sys MSOCache N56VM.BIN pagefile.sys Program Files Recovery SecurityScanner.dll VisualCLibs
AsusVibeData bootmgr Documents and Settings eclipse Games Intel MS.Office.2007.Portable.micro.v.1.16 N56VZ.BIN PerfLogs Program Files (x86) $Recycle.Bin System Volume Information Windows
AVScanner.ini BOOTSECT.BAK DOSBox_SIM END gcc Keil_v5 mtd NVIDIA ProgramData Qt R.G. Catalyst Users
I tried to recover MBR with different ways:
with syslinux:
[jhon@fckrsns /]$ sudo dd if=/usr/lib/syslinux/bios/mbr.bin of=/dev/sda
0+1 records in
0+1 records out
440 bytes (440 B) copied, 0.0226394 s, 19.4 kB/s
with ms-sys:
[jhon@fckrsns /]$ sudo ms-sys --partition /dev/sda1
Start sector 2048 (nr of hidden sectors) successfully written to /dev/sda1
Physical disk drive id 0x80 (C:) successfully written to /dev/sda1
Number of heads (255) successfully written to /dev/sda1
[jhon@fckrsns /]$ sudo ms-sys --mbr7 /dev/sda
Windows 7 master boot record successfully written to /dev/sda
But there is still no way to boot windows.
I run grub-mkconfig before and after these manipulations with MBR:
[jhon@fckrsns ~]$ sudo grub-mkconfig -o /boot/grub/grub.cfg
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-linux
Found initrd image: /boot/initramfs-linux.img
Found fallback initramfs image: /boot/initramfs-linux-fallback.img
No volume groups found
done
[jhon@fckrsns /]$ sudo os-prober
/dev/cdrom: open failed: No medium found
No volume groups found
I installed rEFInd, now I have two choices on boot screen: vmlinuz-linux, which it founded, and my earlier installed grub bootloader.
Maybe I missed something, but i don't know what exactly.
Last edited by Jhon (2014-09-28 16:45:38)Now I know that I don't need MBR at all (but google told me that recovering windows = recovering MBR..)
Are there any ways to recover boot information on EFI system partition from Linux without using Windows Live CD and it's bootrec.exe?
I have bootmgr and bootmgfw.efi files on /dev/sda3 (partition with windows installed), what else I need? Simple copy of bootmgfw.efi to /boot/EFI/Microsoft/Boot/bootmgfw.efi and addition of custom menu item to /etc/grub.d/40_custom does'nt work. There is Windows now in rEFInd and GRUB menus, but there is error on loading.
Maybe you are looking for
-
An unexpected error has been detected by Java Runtime Environment
Hi there, I am trying to run my application in java and suddenly java started giving me the bellow error: # An unexpected error has been detected by Java Runtime Environment: # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6d81bd10, pid=1500, tid=3
-
How to update excise invoice values after migo.
Hi Guru's, I have checked the forum. but did not get exact solution. Here im having the problem with bapi BAPI_GOODSMVT_CREATE . This bapi don't have the structure to update excise invoice values. I have one bapi 'BAPI_EXCINV_CREATE_FROMDATA' to
-
Basically, I'm trying to go to a mobile version of my own site to see something, so I start typing, "m.mysite..." and it just won't let me do it. I have to open Notepad, type the URL, then paste it in the URL bar. I must be breaking someone's new sel
-
How about to install OS X on my PC using Windows OS
I want use Mac OS X but I'm using Windows OS. How about to install Mac OS X on my PC using Windows OS? Thanks
-
MS SQL Server upgrade from 2000 to 2005
I'm running SAP Tools for MsSQL server and my database version that is running on my system is 8, I'm getting an error saying that the SAP tools can only work with version 9. Is there an older version of SAP Tools to work with MS SQL Server version 8