[SOLVED]Compiling kernel fails with segfault

Hi guys,
I'm out of answers.
The situation :
Compiling kernel randomly stops with : "segmentation fault" and never runs through.
Reissuing make will make it continue until it will fail at some other point.
Background:
The system feels completely unstable to say the least, but nothing 100 % reproduceable ( vuze(java) crash, firefox/chromuim flash sites crash every 120 seconds, X crashes once a day , for instance when moving tvtime around, kernel oops daily, sometimes hard lockups, logs of yesterdays oops : http://pastie.org/private/imrqdzdbejdb3jxn4czuw )
But only the kernel compile is 100 % reproduceable so this must be fixed asap.
Specs:
intel e8400,nvidia gtx260, 2 G ddr2,Gigabyte EP45-UD3R, "gigs of space", off. arch kernel 2.6.33-ARCH , x86_64,  "bigtime" cooling :
cpu temps 50 C° max  during compiling
What configs/packages are important ? I got paranoid and ditched my old makgepkg.conf and used a newer *.pacnew file , I used to have  :MAKEFLAGS="-j3" but not in this config :
http://pastie.org/private/4ryshivi2hgyqenjlkicg
local packages:
local/gcc 4.5.0-1 (base-devel)
    The GNU Compiler Collection
local/gcc-libs 4.5.0-1 (base)
    Runtime libraries shipped by GCC for C and C++ languages
Anything else updated daily.
The blowup:
http://pastie.org/private/hoamev0sli7zapbr0xvpbq
What I tried:
fsck -f: it fixed two inodes, but still the same behavior
badblocks -nvs : three hours of badblock testing, 0 hits
memtest : two passed runs, no errors
stress from AUR, 15 minutes :
stress --cpu 8 --io 4 --vm 2 --vm-bytes 128M --timeout 15m
stress: info: [26841] dispatching hogs: 8 cpu, 4 io, 2 vm, 0 hdd
stress: info: [26841] successful run completed in 900s
Max coretemp was 52 C° during stress.
The usual footnote statement ^_^ :
On w7 _everything_ runs stable.
And not only stable , I'm able to OC this box to 4.5 GHz and game under w7 without a prop for hours, well this is what it was build for at some point.
Conclusion:
So I'd say hardware wise this box kicks ass and now software wise my Arch kicks me in the a**.
I doubt there is a faulty hardware part, but what else could it be ?
Last edited by tuxfusion (2010-05-17 22:48:06)

Update:
Trying to compile another big package just to have another result, gcc itself now :
- segfault after 4 m18 s
- segfault after 5 m50 s
Update²:
I think I found a faulty BIOS setting in my non-OC profile concerning DRAM termination, which said "normal" where "auto" would be correct.
My OC-profile has this setting correct and since I run this profile in Arch only it might explain that w7 did not fail.
Still have to verify this but i makes perfect sense, only gcc seems to trigger this. Compiling gcc still running with over 10 minutes in the game now.
After hitting 4.5 GHz with OC I must have reset the non OC-profile wrong.
*slams head on desk*
Last edited by tuxfusion (2010-05-17 13:10:04)

Similar Messages

  • [SOLVED] Custom Kernel failed to boot

    Hello everyone, this is my first time compiling my own kernel,  I was afraid of breaking the base system so I followed the guides on the wiki
    http://wiki.archlinux.org/index.php/Ker … n_with_ABS
    http://wiki.archlinux.org/index.php/Cus … n_with_ABS
    :: Running Hook [filesystems]
    :: Loading root filesystem module...
    ERROR: Failed to parse block device name for '/dev/sda4'
    ERROR: root fs cannot be detected. Try using the rootfstype= kernel paramter.
    ERROR: Unable to create/detect root device '/dev/sda4'
    I have tried to make an intrid by makeinitcpio -k <my kernel version> -g kernel-SLAB.img but that didn't really do anything.
    So I'm just wondering where I have done wrong, the kernel error messages are pertty cryptic so I have no idea, I would really appreciate any help I can get right now.
    Here's a list of the files that I have used or related to this problem. Thanks all!
    *PKGBUILD
    http://www.ualberta.ca/~blu2/kernel26/PKGBUILD
    *kernel config file
    http://www.ualberta.ca/~blu2/kernel26/config
    *GRUB menu.lst
    http://www.ualberta.ca/~blu2/kernel26/menu.lst
    *mkinitcpio conf
    http://www.ualberta.ca/~blu2/kernel26/mkinitcpio.conf
    *RC.conf
    http://www.ualberta.ca/~blu2/kernel26/rc.conf
    Update, HELP NEEDED
    To be on the safe side, I decided not to apply any EXTRA patch at all, so I used the kernel26 from /var/abs/core/base/kernel26, ONLY changing the package name and the features I wanted, (I changed the generic m686 MARCH to MK8 (amd semperon processor) and KEPT everything else as is to the .config file in /usr/src/linux-2.6.23.12-ARCH/.config
    The package compiled fine but again, but I can't boot properly, giving the same error as previous attempts. The mkinitcpio generated an image that I can boot with the original kernel that came with Arch, but not the kernel I compiled.
    I noticed that during boot, when loading udev, for the original kernel, there's a lot of messages showing modules being detected etc., but for my compiled kernel, there's only one message loading the PS2 keyboard, and nothing else, the HOOK filesystem was ran immediately after that. Is there anyway to capture those initial boot messages? Thanks!
    I'm not sure what I am doing wrong. Any help is appreciated.
    Update
    Kernel sucessfully compiled with the help of fwojciec, thank you.
    Last edited by blu3ness (2008-01-15 05:42:38)

    I can only really tell you how I do it -- I'm not exactly an expert with in-depth knowledge of how kernel works  
    The way I compile the kernel is by adapting the PKGBUILD for the current kernel from the ABS.  I use the script from this thread (http://bbs.archlinux.org/viewtopic.php?id=34815) to rename the kernel and add "make menuconfig" command to the PKGBUILD; I also manually add some patches.  If you want to use this script be careful: is a bit old and last time I've tried it changed "kernel26" to kernel26-[myname] in few some source addresses which obviously was not good but also not really difficult to fix. 
    When I compile the kernel like this I can just do "mkinitcpio -p kernel26-[myname]" and this generates the image without any problems.
    Sorry -- that's the best answer I can give you.  Perhaps somebody else will have ideas what needs to be done using your method to get the kernel to work.  Maybe just looking at the script will give you some ideas...

  • [SOLVED] Zpool creation fails with error

    New to Arch (not to linux) and I've done this in my test environment without problem.  I'm trying to create a zpool, and I get the following:
    [root@nas ~]# zpool create -f -o ashift=12 tank raidz2 ata-WL4000GSA6472E_WOL240277978 ata-WL4000GSA6472E_WOL240277990 ata-WL4000GSA6472E_WOL240278668 ata-WL4000GSA6472E_WOL240278708 ata-WL4000GSA6472E_WOL240291009 ata-WL4000GSA6472E_WOL240291031 ata-WL4000GSA6472E_WOL240291056
    the kernel failed to rescan the partition table: 16
    cannot label 'sdd': try using parted(8) and then provide a specific slice: -1
    Version and package particulars:
    [root@nas ~]# uname -a
    Linux nas.priv 3.15.5-2-ARCH #1 SMP PREEMPT Fri Jul 11 07:56:02 CEST 2014 x86_64 GNU/Linux
    [root@nas ~]# pacman -Q zfs-git
    zfs-git 0.6.3_r0_g07dabd2_3.15.5_2-2
    The controller I'm using is a cross-flashed IBM 1015.
    I used sgdisk -Z /dev/sd<x> to clear any partitions, after I started seeing this.  I cleared all eight drives.
    I've tried using the wwn names for the disks as well as the sd<x> nomenclature and I get the same or similar errors (the device changes based on the first one in the list).
    Last edited by Hrast (2014-07-28 01:54:18)

    Have you tried running the command multiple times back to back? It might just work. In this ticket someone also shoved `udevadm trigger` in between each try. I cannot vouch for this approach, but I cannot see any harm either.
    Have the drives been used previously by ZFS? If so, maybe the labels are not in the expected locations. You might consider using dd to zero out the MBT/GPT manually. I know sgdisk -Z did not work for me in a particular instance that I had to replace a drive. Keep in mind that unlike a MBT, GPT is both at the start and end of a drive. The seek option of dd (as opposed to skip) is what you'd want.
    Still, I know I've personally run into this issue before. It certainly can be frustrating. And it can feel like you're beating around a bush just to get it to work. Here is a fairly recent ticket with essentially your same issue.
    Last edited by NVS (2014-07-28 01:16:15)

  • [Solved] Compiling kernel with 'localmodcfg' - 'brcmsmac' missing

    Hi all,
    I want to compile my own optimized ck-kernel with localmodcfg="y" which works mostly.
    However there is a small problem.
    The module 'brcmsmac' for the WLAN card is never included although it is listed in my modprobed.db.
    Does someone have any clue what could be the cause?
    Thanks
    Radioactiveman
    Last edited by Radioactiveman (2012-01-13 16:36:15)

    A minor fix for the patch by Steven Rostedt solved my issue.
    I have compiled linux-ck 3.2.1-2 with localmodconfig today and brcmsmac is now included.
    Marking the thread as solved, thanks to Steve.
    Patch file:
    diff --git a/scripts/kconfig/streamline_config.pl b/scripts/kconfig/streamline_config.pl
    index ec7afce..bccf07d 100644
    --- a/scripts/kconfig/streamline_config.pl
    +++ b/scripts/kconfig/streamline_config.pl
    @@ -250,33 +250,61 @@ if ($kconfig) {
    read_kconfig($kconfig);
    +sub convert_vars {
    + my ($line, %vars) = @_;
    +
    + my $process = "";
    +
    + while ($line =~ s/^(.*?)(\$\((.*?)\))//) {
    + my $start = $1;
    + my $variable = $2;
    + my $var = $3;
    +
    + if (defined($vars{$var})) {
    + $process .= $start . $vars{$var};
    + } else {
    + $process .= $start . $variable;
    + }
    + }
    +
    + $process .= $line;
    +
    + return $process;
    +}
    +
    # Read all Makefiles to map the configs to the objects
    foreach my $makefile (@makefiles) {
    - my $cont = 0;
    + my $line = "";
    + my %make_vars;
    open(MIN,$makefile) || die "Can't open $makefile";
    while (<MIN>) {
    + # if this line ends with a backslash, continue
    + chomp;
    + if (/^(.*)\\$/) {
    + $line .= $1;
    + next;
    + }
    +
    + $line .= $_;
    + $_ = $line;
    + $line = "";
    +
    my $objs;
    - # is this a line after a line with a backslash?
    - if ($cont && /(\S.*)$/) {
    - $objs = $1;
    - $cont = 0;
    + $_ = convert_vars($_, %make_vars);
    # collect objects after obj-$(CONFIG_FOO_BAR)
    if (/obj-\$\((CONFIG_[^\)]*)\)\s*[+:]?=\s*(.*)/) {
    $var = $1;
    $objs = $2;
    +
    + # check if variables are set
    + } elsif (/^\s*(\S+)\s*[:]?=\s*(.*\S)/) {
    + $make_vars{$1} = $2;
    if (defined($objs)) {
    - # test if the line ends with a backslash
    - if ($objs =~ m,(.*)\\$,) {
    - $objs = $1;
    - $cont = 1;
    foreach my $obj (split /\s+/,$objs) {
    $obj =~ s/-/_/g;
    if ($obj =~ /(.*)\.o$/) {
    Last edited by Radioactiveman (2012-01-13 16:37:06)

  • [SOLVED]Install kernel failed and how can I repair my system.

    In order to get suspend function, I try to compile a new kernel, I used the second method in http://wiki.archlinux.org/index.php/Ker … rom_Source with makepkg and pacman. I download 2.6.31 kernel and makepkg is OK, but pacman tell me /lib/***(lots of
    files name) can not be overwritten. I'm not very happy, what make matter worse, I reboot my
    system, it seems it lost some modules, it do not mount ext4 partition and can not find Ethernet.
    I have lots of data in this system, I could not erase the hard disk and  re-install the whole system. Is there a good way to repair my system?
    my system have 5 partitions: /,/boot,/usr, /home, /var, I hope these partition can be all reserved as possible.
    Thank you in advance.
    Last edited by netawater (2013-06-14 00:48:56)

    First off - you should _never_ use the default name when rolling your own kernel, _always_ give it a unique name! (this way, you can always go back to your previous, working kernel/modules) - by the way - have you tried booting the fallback kernel?
    One safe way of keeping your own data - boot from a live cd/usb stick without involving the current OS at all. Then use an external usb-drive (hey - these days you can buy a 1TB usb drive for less than 100 bucks - it's a no-brainer!) and copy all the data you are concerned about to the usb-drive.
    Once that is done you can start experimenting - or just plain and simple reinstall or try to reinstall the original kernel. If some of your partitions wont mount (private data), then remake to ext3 _after_ having backed it all up.
    I have not looked at the wiki, but I'm sure there is some warning about kernel naming - at least I _know_ that subject has been discussed in this forum.

  • How to compile kernel-eeepc with squash support?

    What i have to change to this package from aur (kernel-eeepc - http://aur.archlinux.org/packages.php?ID=26392) for having aufs/squashfs support?

    sl1pkn07 wrote:why this downgrade
    Because there's lotsa compilation fails caused by the giflib API changing.

  • [SOLVED] Compiling kernel PKGBUILD from ABS (2.6.34)

    So I'm currently compiling a kernel from ABS, and its been running som docbook stuff for 2-3 hours now which I've never seen before when compiling a kernel with ABS.
    I commented out the line that allowed me to edit the config with make menuconfig. I tweaked the kernel to 1000hz and set up my cpu family.
    Is this normal? Im pretty sure this didnt happen when I compiled 2.6.33.4 from ABS
    This is what its been spamming for the past ~2 hours:
    Note: Writing struct_usb_host_ss_ep_comp.9
    Warn: meta author : no refentry/info/author struct usb_host_endpoint
    Note: meta author : see http://docbook.sf.net/el/author struct usb_host_endpoint
    Warn: meta author : no author data, so inserted a fixme struct usb_host_endpoint
    Note: Writing struct_usb_host_endpoint.9
    Warn: meta author : no refentry/info/author struct usb_interface
    Note: meta author : see http://docbook.sf.net/el/author struct usb_interface
    Warn: meta author : no author data, so inserted a fixme struct usb_interface
    Note: Writing struct_usb_interface.9
    Warn: meta author : no refentry/info/author struct usb_interface_cache
    Note: meta author : see http://docbook.sf.net/el/author struct usb_interface_cache
    Warn: meta author : no author data, so inserted a fixme struct usb_interface_cache
    Last edited by XAM (2010-06-29 06:19:50)

    Coacher wrote:Since 2.6.34 there is also kernel26-manpages and kernel26-docs packages that also placed in kernel26 PKGBUILD.
    I've never compiled that docs stuff for myself so cant say how long it takes, but if you need only new kernel26 package you can safely wipe out that lines from PKGBUILD.
    wow, thats good to hear. Took ages compiling with it there.

  • [Solved] Compile Secondlife/Firestorm with Autobuild on 32bit Arch

    Hey all, this is my first forum post so hope it is an the right place here and you can help me I tried to complie the Firestorm Viewer for Secondlife with Autobuild but i get this error.
    Someone know whats going wrong here or what is missing ? Hope you can help me. Im using Archlinux 32bit version and gcc 4.6 , the command i used to start was:
    sudo autobuild configure -c ReleaseFS_open
    Hope that helps and thank you!
    [sonix@linux phoenix-firestorm-lgpl]$ sudo autobuild configure -c ReleaseFS_open
    PLATFORM: 'linux32'
    KDU: false
    FMOD: false
    PACKAGE: true
    CLEAN: false
    BUILD: false
    CONFIG: true
    PASSTHRU:
    BTYPE: Release
    Logging to /home/sonix/firestormsrc/phoenix-firestorm-lgpl/build-linux-i686/logs/build_linux32.log
    Versioning...
    /home/sonix/firestormsrc/phoenix-firestorm-lgpl /home/sonix/firestormsrc/phoenix-firestorm-lgpl/build-linux-i686
    Nicht vertrauenswürdige Datei /home/sonix/firestormsrc/phoenix-firestorm-lgpl/.hg/hgrc vom Nutzer sonix, Gruppe users
    Nicht vertrauenswürdige Datei /home/sonix/firestormsrc/phoenix-firestorm-lgpl/.hg/hgrc vom Nutzer sonix, Gruppe users
    Channel : Firestorm-private-linux
    Version : 3.2.1.24004
    File "./scripts/update_version_files.py", line 63
    print "Usage:"
    ^
    SyntaxError: invalid syntax
    /home/sonix/firestormsrc/phoenix-firestorm-lgpl/build-linux-i686
    Configuring linux32...
    Removing select previously packaged resources, they will refresh at build time
    -- Building with OpenAL audio support
    -- Building with OpenAL audio support
    -- We seem to have an artwork bundle in the tree - brilliant.
    File "/home/sonix/firestormsrc/phoenix-firestorm-lgpl/indra/../scripts/build_version.py", line 64
    print get_version(name)
    ^
    SyntaxError: invalid syntax
    CMake Error at cmake/BuildVersion.cmake:16 (message):
    Could not determine viewer version
    Call Stack (most recent call first):
    newview/CMakeLists.txt:1274 (build_version)
    File "/home/sonix/firestormsrc/phoenix-firestorm-lgpl/indra/../scripts/build_channel.py", line 58
    print get_channel(name)
    ^
    SyntaxError: invalid syntax
    CMake Error at cmake/BuildVersion.cmake:32 (message):
    Could not determine channel
    Call Stack (most recent call first):
    newview/CMakeLists.txt:1275 (build_channel)
    -- Configuring incomplete, errors occurred!
    Finished
    [sonix@linux phoenix-firestorm-lgpl]$
    Btw tried it in Ubuntu too and there it is working. So maybe something is missing in my Arch install ?
    Get it solved with the help of this Hompage:
    http://axezn.tk/2011/09/16/compiling-viewers/
    But i dont know how to mark this post as solved ...
    Last edited by sonix1985 (2011-11-15 08:49:32)

    You are welcome and I share your problems in debugging such errors.
    By the way though: In Archlinux there is a section "AUR", which contains packages not in the official repositories, but provided by users for a million reasons. If you go to:
    https://aur.archlinux.org/packages.php? … _Search=Go
    you will find that different viewers are available there in 32/64 bit stable versions. Plus someone will have taken the time to sort out any specific problems to compile them with an Arch system and probably update them. Maybe you want to go there and use one of those.

  • Auto-mount failing with segfault on FAT drives

    I've been running Arch on ThinkPads for years, just got an x240 and installed Arch on it. Everything seems to work fine except for external drives of any sort.
    I'm running Gnome 3.
    With my USB stick, every time I insert it, Nautilus detects it and when I attempt to view the drive it fails. Here's the dmesg output:
    [32426.659595] usb 2-1: new SuperSpeed USB device number 4 using xhci_hcd
    [32426.675126] usb-storage 2-1:1.0: USB Mass Storage device detected
    [32426.675173] scsi5 : usb-storage 2-1:1.0
    [32427.676716] scsi 5:0:0:0: Direct-Access Patriot Memory PMAP PQ: 0 ANSI: 6
    [32427.677167] sd 5:0:0:0: [sdb] 60566016 512-byte logical blocks: (31.0 GB/28.8 GiB)
    [32427.677442] sd 5:0:0:0: [sdb] Write Protect is off
    [32427.677458] sd 5:0:0:0: [sdb] Mode Sense: 45 00 00 00
    [32427.677775] sd 5:0:0:0: [sdb] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
    [32427.831483] sdb: sdb1
    [32427.832493] sd 5:0:0:0: [sdb] Attached SCSI removable disk
    [32439.190500] FAT-fs (sdb1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
    [32439.328724] usb 2-1: reset SuperSpeed USB device number 4 using xhci_hcd
    [32444.339799] usb 2-1: device descriptor read/8, error -110
    [32444.443060] usb 2-1: reset SuperSpeed USB device number 4 using xhci_hcd
    [32449.454646] usb 2-1: device descriptor read/8, error -110
    [32449.611683] sd 5:0:0:0: [sdb] Unhandled error code
    [32449.611686] sd 5:0:0:0: [sdb]
    [32449.611687] Result: hostbyte=0x07 driverbyte=0x00
    [32449.611688] sd 5:0:0:0: [sdb] CDB:
    [32449.611690] usb 2-1: USB disconnect, device number 4
    [32449.611689] cdb[0]=0x28: 28 00 00 00 0d 9b 00 00 0f 00
    [32449.611695] end_request: I/O error, dev sdb, sector 3483
    [32449.617844] sd 5:0:0:0: [sdb] Unhandled error code
    [32449.617846] sd 5:0:0:0: [sdb]
    [32449.617847] Result: hostbyte=0x01 driverbyte=0x00
    [32449.617848] sd 5:0:0:0: [sdb] CDB:
    [32449.617849] cdb[0]=0x28: 28 00 00 00 0d 9c 00 00 0e 00
    [32449.617852] end_request: I/O error, dev sdb, sector 3484
    [32449.617876] sd 5:0:0:0: [sdb] Unhandled error code
    [32449.617877] sd 5:0:0:0: [sdb]
    [32449.617878] Result: hostbyte=0x01 driverbyte=0x00
    [32449.617878] sd 5:0:0:0: [sdb] CDB:
    [32449.617879] cdb[0]=0x28: 28 00 00 00 0c ab 00 00 f0 00
    [32449.617882] end_request: I/O error, dev sdb, sector 3243
    [32449.617952] FAT-fs (sdb1): FAT read failed (blocknr 3211)
    [32449.618677] xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff8801574ef380
    [32449.618680] xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff8801574ef3c0
    [32449.621107] FAT-fs (sdb1): Directory bread(block 32768) failed
    [32449.621111] FAT-fs (sdb1): Directory bread(block 32769) failed
    [32449.621113] FAT-fs (sdb1): Directory bread(block 32770) failed
    [32449.621115] FAT-fs (sdb1): Directory bread(block 32771) failed
    [32449.621117] FAT-fs (sdb1): Directory bread(block 32772) failed
    [32449.621119] FAT-fs (sdb1): Directory bread(block 32773) failed
    [32449.621120] FAT-fs (sdb1): Directory bread(block 32774) failed
    [32449.621122] FAT-fs (sdb1): Directory bread(block 32775) failed
    [32449.621124] FAT-fs (sdb1): Directory bread(block 32776) failed
    [32449.621126] FAT-fs (sdb1): Directory bread(block 32777) failed
    [31813.104727] ------------[ cut here ]------------
    [31813.104734] WARNING: CPU: 3 PID: 7798 at fs/sysfs/group.c:214 sysfs_remove_group+0xc6/0xd0()
    [31813.104736] sysfs group ffffffff81895c40 not found for kobject 'target3:0:0'
    [31813.104737] Modules linked in: nls_cp437 vfat fat twofish_generic twofish_avx_x86_64 twofish_x86_64_3way twofish_x86_64 twofish_common serpent_avx2 serpent_avx_x86_64 serpent_sse2_x86_64 serpent_generic xts loop usb_storage usbhid hid fuse ctr ccm snd_hda_codec_hdmi joydev mousedev arc4 snd_hda_codec_realtek intel_rapl x86_pkg_temp_thermal intel_powerclamp coretemp kvm iTCO_wdt iTCO_vendor_support cdc_mbim microcode evdev cdc_ncm psmouse uvcvideo pcspkr serio_raw iwlmvm usbnet videobuf2_vmalloc mii videobuf2_memops mac80211 cdc_acm videobuf2_core cdc_wdm videodev media btusb iwlwifi bluetooth cfg80211 rtsx_pci_ms memstick wmi tpm_tis thinkpad_acpi i915 snd_hda_intel nvram tpm rfkill ac battery snd_hda_codec video intel_agp intel_gtt drm_kms_helper drm e1000e snd_hwdep snd_pcm snd_page_alloc thermal
    [31813.104776] snd_timer mei_me lpc_ich mei i2c_algo_bit snd button shpchp i2c_i801 ptp soundcore pps_core i2c_core processor ext4 crc16 mbcache jbd2 dm_crypt dm_mod sd_mod rtsx_pci_sdmmc mmc_core atkbd libps2 crct10dif_pclmul crct10dif_common crc32_pclmul crc32c_intel ghash_clmulni_intel aesni_intel aes_x86_64 lrw gf128mul glue_helper ablk_helper cryptd ahci ehci_pci libahci ehci_hcd libata scsi_mod rtsx_pci xhci_hcd usbcore usb_common i8042 serio
    [31813.104801] CPU: 3 PID: 7798 Comm: umount Not tainted 3.13.6-1-ARCH #1
    [31813.104802] Hardware name: LENOVO 20AL009NMC/20AL009NMC, BIOS GIET66WW (2.16 ) 12/02/2013
    [31813.104804] 0000000000000009 ffff88013ecb5b40 ffffffff81513274 ffff88013ecb5b88
    [31813.104806] ffff88013ecb5b78 ffffffff81061a3d 0000000000000000 ffffffff81895c40
    [31813.104809] ffff8800c72a5c38 ffff8802114d4190 ffff8801728fb000 ffff88013ecb5bd8
    [31813.104812] Call Trace:
    [31813.104818] [<ffffffff81513274>] dump_stack+0x4d/0x6f
    [31813.104824] [<ffffffff81061a3d>] warn_slowpath_common+0x7d/0xa0
    [31813.104827] [<ffffffff81061aac>] warn_slowpath_fmt+0x4c/0x50
    [31813.104831] [<ffffffff8151843e>] ? mutex_unlock+0xe/0x10
    [31813.104834] [<ffffffff8121925e>] ? sysfs_get_dirent_ns+0x4e/0x70
    [31813.104837] [<ffffffff8121a3e6>] sysfs_remove_group+0xc6/0xd0
    [31813.104843] [<ffffffff813b7033>] dpm_sysfs_remove+0x43/0x50
    [31813.104846] [<ffffffff813aceb5>] device_del+0x45/0x1c0
    [31813.104857] [<ffffffffa00a52b7>] scsi_target_reap_usercontext+0x27/0x40 [scsi_mod]
    [31813.104862] [<ffffffff8107b887>] execute_in_process_context+0x67/0x70
    [31813.104870] [<ffffffffa00a65d4>] scsi_target_reap+0xc4/0xf0 [scsi_mod]
    [31813.104879] [<ffffffffa00a8558>] scsi_device_dev_release_usercontext+0x188/0x1c0 [scsi_mod]
    [31813.104882] [<ffffffff8107b887>] execute_in_process_context+0x67/0x70
    [31813.104890] [<ffffffffa00a83cc>] scsi_device_dev_release+0x1c/0x20 [scsi_mod]
    [31813.104894] [<ffffffff813ac3f2>] device_release+0x32/0xa0
    [31813.104899] [<ffffffff812b6b47>] kobject_cleanup+0x77/0x1b0
    [31813.104902] [<ffffffff812b69c8>] kobject_put+0x28/0x60
    [31813.104906] [<ffffffff813ac7f7>] put_device+0x17/0x20
    [31813.104913] [<ffffffffa009c5eb>] scsi_device_put+0x3b/0x50 [scsi_mod]
    [31813.104920] [<ffffffffa025e7e0>] scsi_disk_put+0x30/0x50 [sd_mod]
    [31813.104926] [<ffffffffa025f6a1>] sd_release+0x31/0x70 [sd_mod]
    [31813.104931] [<ffffffff811dc75c>] __blkdev_put+0x17c/0x1b0
    [31813.104936] [<ffffffff811dc6f7>] __blkdev_put+0x117/0x1b0
    [31813.104940] [<ffffffff811dd0be>] blkdev_put+0x4e/0x140
    [31813.104944] [<ffffffff811a5f64>] kill_block_super+0x44/0x70
    [31813.104947] [<ffffffff811a622d>] deactivate_locked_super+0x3d/0x60
    [31813.104950] [<ffffffff811a67e6>] deactivate_super+0x46/0x60
    [31813.104954] [<ffffffff811c24d5>] mntput_no_expire+0xe5/0x170
    [31813.104958] [<ffffffff811c3730>] SyS_umount+0x90/0x3c0
    [31813.104962] [<ffffffff8151d8be>] ? do_page_fault+0xe/0x10
    [31813.104966] [<ffffffff815216ad>] system_call_fastpath+0x1a/0x1f
    [31813.104968] ---[ end trace 9c2068df074620da ]---
    I never had any trouble this this before on my previous laptop (Lenovo ThinkPad E330).
    Likewise, when I use TrueCrypt to mount a volume, although I don't get the stack trace, It does never shows up in Nautilus, and dmesg has the following to say about it:
    [31234.534922] loop: module loaded
    [31234.610930] FAT-fs (dm-5): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
    I can view the drive, however, so it's not as bad as the USB stick, but still not the correct behavior. There is no automount and Nautilus does not show it in the device list.
    I've tried formatting the USB stick a few different times (it needs to be FAT for compatibility) and always Arch ends up corrupting the drive and making it useless.
    Anyone have any idea as to what's going on here?
    Thanks
    -Nick
    Last edited by silverbucket (2014-03-16 23:59:56)

    Trying again, to manually mount the USB stick, when I insert it, dmesg shows:
    [22021.214586] usb-storage 2-1:1.0: USB Mass Storage device detected
    [22021.214633] scsi5 : usb-storage 2-1:1.0
    [22022.215965] scsi 5:0:0:0: Direct-Access Patriot Memory PMAP PQ: 0 ANSI: 6
    [22022.216251] sd 5:0:0:0: Attached scsi generic sg1 type 0
    [22022.216440] sd 5:0:0:0: [sdb] 60566016 512-byte logical blocks: (31.0 GB/28.8 GiB)
    [22022.216733] sd 5:0:0:0: [sdb] Write Protect is off
    [22022.216736] sd 5:0:0:0: [sdb] Mode Sense: 45 00 00 00
    [22022.217088] sd 5:0:0:0: [sdb] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
    [22022.373041] sdb: sdb1
    [22022.374051] sd 5:0:0:0: [sdb] Attached SCSI removable disk
    I then try to mount it with:
    # mount /dev/sdb1 /mnt/usbstick
    And although the command appears to be successful, I get the following in dmesg:
    [22182.804311] FAT-fs (sdb1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
    [22186.212884] usb 2-1: reset SuperSpeed USB device number 4 using xhci_hcd
    [22191.224027] usb 2-1: device descriptor read/8, error -110
    [22191.327268] usb 2-1: reset SuperSpeed USB device number 4 using xhci_hcd
    [22196.338854] usb 2-1: device descriptor read/8, error -110
    [22196.495462] sd 5:0:0:0: [sdb] Unhandled error code
    [22196.495465] sd 5:0:0:0: [sdb]
    [22196.495466] Result: hostbyte=0x07 driverbyte=0x00
    [22196.495468] sd 5:0:0:0: [sdb] CDB:
    [22196.495470] usb 2-1: USB disconnect, device number 4
    [22196.495468] cdb[0]=0x28: 28 00 00 00 0c ad 00 00 f0 00
    [22196.495477] end_request: I/O error, dev sdb, sector 3245
    [22196.502037] sd 5:0:0:0: [sdb] Unhandled error code
    [22196.502041] sd 5:0:0:0: [sdb]
    [22196.502043] Result: hostbyte=0x01 driverbyte=0x00
    [22196.502045] sd 5:0:0:0: [sdb] CDB:
    [22196.502046] cdb[0]=0x28: 28 00 00 00 0c ae 00 00 ef 00
    [22196.502056] end_request: I/O error, dev sdb, sector 3246
    [22196.502138] FAT-fs (sdb1): FAT read failed (blocknr 3213)
    [22196.502139] sd 5:0:0:0: [sdb] Unhandled error code
    [22196.502141] sd 5:0:0:0: [sdb]
    [22196.502142] Result: hostbyte=0x01 driverbyte=0x00
    [22196.502143] sd 5:0:0:0: [sdb] CDB:
    [22196.502144] cdb[0]=0x28: 28 00 00 00 0d 9d 00 00 0d 00
    [22196.502152] end_request: I/O error, dev sdb, sector 3485
    [22196.504146] xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff8800785c7980
    [22196.504149] xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff8800785c79c0
    A `df` does not show the mounted location, neither does Nautilus, however `mount` does.
    /dev/sdb1 on /mnt/ZELENACEK type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
    When I attempt to unmount it:
    # umount /dev/sdb1
    I get the following dmesg output:
    [22410.233289] FAT-fs (sdb1): FAT read failed (blocknr 3210)
    [22415.819947] FAT-fs (sdb1): Directory bread(block 32768) failed
    [22415.819951] FAT-fs (sdb1): Directory bread(block 32769) failed
    [22415.819953] FAT-fs (sdb1): Directory bread(block 32770) failed
    [22415.819955] FAT-fs (sdb1): Directory bread(block 32771) failed
    [22415.819956] FAT-fs (sdb1): Directory bread(block 32772) failed
    [22415.819958] FAT-fs (sdb1): Directory bread(block 32773) failed
    [22415.819960] FAT-fs (sdb1): Directory bread(block 32774) failed
    [22415.819961] FAT-fs (sdb1): Directory bread(block 32775) failed
    [22415.819963] FAT-fs (sdb1): Directory bread(block 32776) failed
    [22415.819964] FAT-fs (sdb1): Directory bread(block 32777) failed
    [22556.688959] ------------[ cut here ]------------
    [22556.688967] WARNING: CPU: 2 PID: 27239 at fs/sysfs/group.c:214 sysfs_remove_group+0xc6/0xd0()
    [22556.688968] sysfs group ffffffff81895c40 not found for kobject 'target5:0:0'
    [22556.688970] Modules linked in: sg nls_cp437 vfat fat usb_storage fuse ctr ccm snd_hda_codec_hdmi joydev mousedev arc4 intel_rapl x86_pkg_temp_thermal intel_powerclamp coretemp kvm iTCO_wdt iTCO_vendor_support microcode iwlmvm evdev cdc_mbim pcspkr uvcvideo psmouse serio_raw mac80211 videobuf2_vmalloc videobuf2_memops btusb videobuf2_core videodev cdc_ncm usbnet bluetooth mii cdc_acm cdc_wdm media iwlwifi rtsx_pci_ms cfg80211 memstick thermal snd_hda_codec_realtek wmi e1000e i915 ac thinkpad_acpi nvram rfkill battery tpm_tis snd_hda_intel tpm snd_hda_codec intel_agp intel_gtt snd_hwdep drm_kms_helper mei_me snd_pcm i2c_i801 ptp drm snd_page_alloc video snd_timer mei i2c_algo_bit snd button shpchp soundcore pps_core i2c_core lpc_ich processor ext4 crc16 mbcache jbd2 dm_crypt dm_mod sd_mod rtsx_pci_sdmmc
    [22556.689016] mmc_core atkbd libps2 crct10dif_pclmul crct10dif_common crc32_pclmul crc32c_intel ghash_clmulni_intel aesni_intel aes_x86_64 lrw gf128mul glue_helper ablk_helper cryptd ahci libahci libata ehci_pci ehci_hcd xhci_hcd rtsx_pci scsi_mod usbcore usb_common i8042 serio
    [22556.689032] CPU: 2 PID: 27239 Comm: umount Tainted: G W 3.13.6-1-ARCH #1
    [22556.689034] Hardware name: LENOVO 20AL009NMC/20AL009NMC, BIOS GIET66WW (2.16 ) 12/02/2013
    [22556.689035] 0000000000000009 ffff880066217b40 ffffffff81513274 ffff880066217b88
    [22556.689038] ffff880066217b78 ffffffff81061a3d 0000000000000000 ffffffff81895c40
    [22556.689040] ffff88020af40438 ffff880089e30190 ffff880211ce7800 ffff880066217bd8
    [22556.689043] Call Trace:
    [22556.689048] [<ffffffff81513274>] dump_stack+0x4d/0x6f
    [22556.689052] [<ffffffff81061a3d>] warn_slowpath_common+0x7d/0xa0
    [22556.689055] [<ffffffff81061aac>] warn_slowpath_fmt+0x4c/0x50
    [22556.689058] [<ffffffff8151843e>] ? mutex_unlock+0xe/0x10
    [22556.689060] [<ffffffff8121925e>] ? sysfs_get_dirent_ns+0x4e/0x70
    [22556.689063] [<ffffffff8121a3e6>] sysfs_remove_group+0xc6/0xd0
    [22556.689067] [<ffffffff813b7033>] dpm_sysfs_remove+0x43/0x50
    [22556.689070] [<ffffffff813aceb5>] device_del+0x45/0x1c0
    [22556.689079] [<ffffffffa00c02b7>] scsi_target_reap_usercontext+0x27/0x40 [scsi_mod]
    [22556.689082] [<ffffffff8107b887>] execute_in_process_context+0x67/0x70
    [22556.689089] [<ffffffffa00c15d4>] scsi_target_reap+0xc4/0xf0 [scsi_mod]
    [22556.689096] [<ffffffffa00c3558>] scsi_device_dev_release_usercontext+0x188/0x1c0 [scsi_mod]
    [22556.689098] [<ffffffff8107b887>] execute_in_process_context+0x67/0x70
    [22556.689105] [<ffffffffa00c33cc>] scsi_device_dev_release+0x1c/0x20 [scsi_mod]
    [22556.689107] [<ffffffff813ac3f2>] device_release+0x32/0xa0
    [22556.689111] [<ffffffff812b6b47>] kobject_cleanup+0x77/0x1b0
    [22556.689114] [<ffffffff812b69c8>] kobject_put+0x28/0x60
    [22556.689117] [<ffffffff813ac7f7>] put_device+0x17/0x20
    [22556.689123] [<ffffffffa00b75eb>] scsi_device_put+0x3b/0x50 [scsi_mod]
    [22556.689128] [<ffffffffa029a7e0>] scsi_disk_put+0x30/0x50 [sd_mod]
    [22556.689133] [<ffffffffa029b6a1>] sd_release+0x31/0x70 [sd_mod]
    [22556.689136] [<ffffffff811dc75c>] __blkdev_put+0x17c/0x1b0
    [22556.689140] [<ffffffff811dc6f7>] __blkdev_put+0x117/0x1b0
    [22556.689143] [<ffffffff811dd0be>] blkdev_put+0x4e/0x140
    [22556.689145] [<ffffffff811a5f64>] kill_block_super+0x44/0x70
    [22556.689148] [<ffffffff811a622d>] deactivate_locked_super+0x3d/0x60
    [22556.689150] [<ffffffff811a67e6>] deactivate_super+0x46/0x60
    [22556.689153] [<ffffffff811c24d5>] mntput_no_expire+0xe5/0x170
    [22556.689156] [<ffffffff811c3730>] SyS_umount+0x90/0x3c0
    [22556.689158] [<ffffffff815216ad>] system_call_fastpath+0x1a/0x1f
    [22556.689160] ---[ end trace 615f2c14f65f6abb ]---
    If I take the USB stick out and plug it in to my other Arch Linux laptop, the drive mounts fine (and complains about fsck only because of the problems incurred on my main laptop). I know the USB stick is good, it's new and I've used it many times between my other machines. I'm assuming the hardware is good as it's a new laptop, I installed Arch Linux from this same USB stick without an issue. I've also used other types of USB devices, like wireless headphones, without issues.
    It must be some system configuration error. Perhaps something with the kernel or system libraries that are / are not installed? lib32 issues? (it's an x86_64 install)? I don't know, I'm grasping at straws. I have read through the USB_Storage_Devices and Udisks Arch Wiki pages without any luck.
    Any help is greatly appreciated as I currently can't get any large amounts data on or off this laptop easily.
    Last edited by silverbucket (2014-03-16 23:42:56)

  • [Solved] system upgrade fails with util-linux/eject conflict

    I backed everything up, then deleted the fontconfig links and updated fontconfig, which worked properly. Then I did "pacman -Syu" and got this:
    [root@myhost ~]# pacman -Syu
    :: Synchronizing package databases...
    core is up to date
    extra is up to date
    community is up to date
    multilib is up to date
    :: Starting full system upgrade...
    resolving dependencies...
    warning: dependency cycle detected:
    warning: systemd will be installed before its dbus-core dependency
    looking for inter-conflicts...
    :: util-linux and eject are in conflict. Remove eject? [y/N]
    error: unresolvable package conflicts detected
    error: failed to prepare transaction (conflicting dependencies)
    :: util-linux and eject are in conflict
    [root@myhost ~]#
    Looks like two distinct problems. Note that I already have the /lib thing taken care of (turning it into a link), in a previous update. The forum searches I have done about this issue did not yield much.
    Last edited by PaulBx1 (2012-10-25 19:01:28)

    PaulBx1 wrote:
    Upgrading that infrequently is unlikely to work well in the long term.
    Hell, I thought that was upgrading frequently. One of the reasons I'm on linux is because I don't have to get upgrades every hour as on Windows. "If it ain't broke, don't fix it." I ran a hell of a lot longer on Puppy linux without upgrades. Also, I backup before every upgrade, and then have to fiddle with pacnew files and all the rest, so the result is burning half a day at least on upgrades. I sure don't want to increase the frequency of that.
    Arch is a rolling release so it changes basically every day. Updating every week or two is perfectly fine, but updating every couple months brigs you at odds with what Arch is about.
    One of the reasons you may not want to use Arch is when you don't want to or can't spend time on the updates.
    PaulBx1 wrote:The choice of defaults should (in my opinion) be decided by the needs of the unsophisticated user (such as myself), of which there are many more than the other type. Sophisticated users can intelligently decide between "y" and "n" because they know what is going on. Unsophisticated users just cross their fingers and hope the defaults work for them.
    Arch is for experienced users and pacman doesn't do e.g. cleaning up - that's left to the user. pacman can surely help with it: 'pacman 'Qdt'.
    It may feel unintuitive, but that's how it is.

  • [Solve]Compile Ada code with integer_IO ,error integer.ads not found.

    Hello all again.
    I do some programming in Ada and i am very fascinated this language.
    I got problem when using integer_IO in my code.
    When it compiling I got strange error integer.ads not found.
    BTW.My compiler is GNAT 4.4.1.
    Thanks for help.
    Last edited by SpeedVin (2010-03-01 17:30:56)

    drcouzelis wrote:
    I also think Ada is fascinating. I wrote a small video game in Ada and I use Ada a little at work.
    "integer_IO" and "Integer_IO" doesn't matter, because Ada is case insensitive.
    I'm not home right now, but I think "Integer_IO" is a subpackage of "Text_IO":
    with Ada.Text_IO.Integer_IO;
    If you want, you can post your code and I'll see if I can compile it.
    Are you an Ada beginner? Even though I have been working with Ada for more than a year now, I still don't think I'm very good at it. I wish there was more documentation and more projects used Ada.
    Yes I'm new  into this language.
    I really won to that there will be more project's/program's written in ADA.
    This is my program code:
    With Text_IO;
    Use Text_IO;
    With Ada.Text_IO.Integer_IO;
    procedure file is
    Age :integer range 0..100;
    begin
    if Age < 18 then
    put_line("BABY!!!");
    else
    put_line("OLD MAN!!!");
    end if;
    end;
    When I try to compile it I get error:
    file.adb:3:17: "Integer_IO" is a nested package, not a compilation unit

  • [SOLVED] Loading Kernel Modules with Options

    Hi,
    I am trying to load the nf_conntrack_ftp kernel module on boot. I followed the Arch Wiki's article on kernel module loading [0] and created a file in /etc/modules-load.d/ called nf_conntrack_ftp.conf:
    /etc/modules-load.d/nf_conntrack_ftp.conf wrote:# Load the nf_conntrack_ftp kernel module at boot
    nf_conntrack_ftp
    This loads the nf_conntrack_ftp module on boot just fine; unfortunately the module uses the default FTP port (21) and I need it to run on a different port (6621). When I try to dynamically load nf_conntrack_ftp using modprobe nf_conntrack_ftp ports=6621 it loads just fine and according to systools has the port set correctly. However, if I try to set the port anywhere in /etc/modules-load.d/ I always get an error message during boot saying:
    Failed to start Load Kernel Modules. See 'systemctl status systemd-modules-load.service' for details.
    Looking at the systemctl status message as recommended by the error message on boot doesn't yield anything useful:
    systemctl status systemd-modules-load.service wrote:
    systemd-modules-load.service - Load Kernel Modules
       Loaded: loaded (/usr/lib/systemd/system/systemd-modules-load.service; static)
       Active: failed (Result: exit-code) since Sun 2014-02-09 16:46:13 EST; 11min ago
         Docs: man:systemd-modules-load.service(8)
               man:modules-load.d(5)
      Process: 287 ExecStart=/usr/lib/systemd/systemd-modules-load (code=exited, status=1/FAILURE)
    Main PID: 287 (code=exited, status=1/FAILURE)
    Feb 09 16:46:13 babylon5 systemd[1]: systemd-modules-load.service: main process exited, code=exited, status=1/FAILURE
    Feb 09 16:46:13 babylon5 systemd[1]: Failed to start Load Kernel Modules.
    Feb 09 16:46:13 babylon5 systemd[1]: Unit systemd-modules-load.service entered failed state.
    I have tried to set the "ports=6621" module option in multiple ways ...
    1. As part of the same nf_conntrack_ftp.conf file in /etc/modules-load.d/:
    /etc/modules-load.d/nf_conntrack_ftp.conf wrote:
    # Load the nf_conntrack_ftp kernel module at boot
    nf_conntrack_ftp
    options nf_conntrack_ftp ports=6621
    2. As a separate test.conf file in /etc/modules-load.d/:
    /etc/modules-load.d/nf_conntrack_ftp.conf wrote:# Load the nf_conntrack_ftp kernel module at boot
    nf_conntrack_ftp
    /etc/modules-load.d/test.conf wrote:options nf_conntrack_ftp ports=6621
    3. I even tried just adding "ports=6621" to the end of the nf_conntrack_ftp.conf file in /etc/modules-load.d/:
    /etc/modules-load.d/nf_conntrack_ftp.conf wrote:# Load the nf_conntrack_ftp kernel module at boot
    nf_conntrack_ftp ports=6621
    None of these worked. The moment there is "options nf_conntrack_ftp ports=6621" in any file in /etc/modules-load.d/ I get the error message on boot and the kernel module won't get loaded.
    What am I missing / doing wrong? Is it not possible to set kernel module parameters on boot? Does nf_conntrack_ftp need to be loaded by the initramfs, i.e. do I need to add the modconf hook to my /etc/mkinitcpio.conf?
    Thanks,
    Marek
    [0] https://wiki.archlinux.org/index.php/Kernel_modules
    Last edited by marco1475 (2014-02-09 22:54:26)

    Raynman wrote:
    marco1475 wrote:[0] https://wiki.archlinux.org/index.php/Kernel_modules
    Read this again, specifically the section about setting options, paying close attention to directory names.
    D'oh! Thanks for pointing that out, what a stupid oversight on my part:
    The files that tell the system which kernel modules to load go into /etc/modules-load.d/.
    The files that tell the system which parameters to pass to the kernel modules when loading them go into /etc/modprobe.d/.
    Now that each file is where it belongs everything works.

  • [solved]Compile kernel from aur consumes time than from source?

    With my box from source take 1-1,5 minutes and from aur take ~1h, anyone can explain this situation? thanks.
    Last edited by angelfalls (2012-11-12 02:59:25)

    tks falconindy, i will look into it later.

  • [solved] Arch kernel panic with grub 2 (another instance)

    Hey all,
    I read through this thread: http://bbs.archlinux.org/viewtopic.php?pid=663976 which is somewhat similar to my problem, but not the same.
    I successfully installed Arch with a VMware VM, got gnome, openbox, and lxde installed... mucked around a bit. All looked good so I wanted to try it with an actual install.
    Background:
    I am new to Arch and relatively new to Linux... although not afraid of the terminal.
    I am running a Lenovo SL500 laptop.
    The laptop has one drive (sda) and is divided as following:
    sda1: service partition (required for this machine)
    sda2: ntfs containing Windows 7
    sda3: extended partition containing:
          sda5: linux swap
          sda6: ntfs data storage
          sda7: ext4 ubuntu 9.10
          sda8: ext4 arch
    Here is what I did:
    I installed arch to sda8, and when it came time for me to set the boot partition I selected 'none' as I wanted to use grub2 which is already installed via the ubuntu installation.
    When the installation of arch finished, I rebooted into my ubuntu system and ran update-grub. The output verified that Arch was located at sda8, and the grub.cfg file shows:
    menuentry "Arch (on /dev/sda8)" {
        insmod ext2
        set root=(hd0,8)
        search --no-floppy --fs-uuid --set 5ee916d1-5051-4e27-9c1f-a74f04693337
        linux /boot/vmlinuz26 root=/dev/sda8
    When I attempt to boot into arch, as it is above, I get:
        Unable to mount filesystem
        not syncing : VFS : Unable to mount root fs on unknown block (0,0)
    Now... when I installed arch I formated the partition to ext4, I have verified that it is ext4, and the fstab in the arch partition lists it as ext4. When I altered the above grub2 boot parameters and changed ext2 to ext4, it returned 'error - file not found'.
    Any idea where I went wrong or what I should try to fix this?
    Should I have installed a bootloader with the arch install?
    Thanks for any help
    Last edited by visser (2009-12-09 18:48:27)

    My grub2 installation was also via Ubuntu and the auto-detected entry didn't work, so in /etc/grub.d/40_custom (Ubuntu) I have this...
    #!/bin/sh
    exec tail -n +3 $0
    # This file provides an easy way to add custom menu entries. Simply type the
    # menu entries you want to add after this comment. Be careful not to change
    # the 'exec tail' line above.
    menuentry "Arch Linux (on /dev/sda5)" {
    set root=(hd0,5)
    linux /boot/vmlinuz26 root=/dev/disk/by-uuid/80db2d73-6dea-465c-a9a2-b14624badc57 ro
    initrd /boot/kernel26.img
    menuentry "Arch Linux (fallback)" {
    set root=(hd0,5)
    linux /boot/vmlinuz26 root=/dev/disk/by-uuid/80db2d73-6dea-465c-a9a2-b14624badc57 ro
    initrd /boot/kernel26-fallback.img
    menuentry "Windows XP" {
    set root=(hd0,1)
    chainloader +1
    I believe you can disable os_prober by adding
    GRUB_DISABLE_OS_PROBER="true"
    to /etc/default/grub. I disabled it myself by the other method, removing it's executable flag...
    sudo chmod -x /etc/grub.d/30_os-prober
    I should point out that I haven't installed grub2 in Arch yet as I'm still in the transitional (and undecided) stage.

  • [SOLVED] pacman -Sy failing with Invalid URL Scheme

    I'm getting a comparable pair of lines for each combination of database (core, extra, etc.) and mirror (rankmirrors-generated mirrorlist):
    error: url 'http://mirror.rit.edu/archlinux/core/os … .db.tar.gz' is invalid
    debug: returning error 43 from download_internal : Invalid URL scheme
    Yesterday I did pacman -Sy followed by pacman -Qu then pacman -Su all successfully.
    Any thoughts/help?
    UPDATE: re-installing pacman's dependencies learned via "pacman -Qi pacman" fixed the problem.
    Last edited by wrarus (2010-12-15 04:17:40)

    Comment out that mirror and try the next one.

Maybe you are looking for

  • Older ipod and a new windows laptop...why can't I use my ipod on it?

    I have an old ipod, version 3.1.1 with the clickwheel and have always downloaded song on my mac. i just purchased a new pc laptop and tried to hook up my ipod but it said it won't work on a pc. is it because its so old?

  • Witholding tax report show "no record were selected". tcode S_P00_97000134

    Hello everyone. i need some help. i found some document that have witholding tax in document such as 5105620781 year 2011. in transaction code S_P00_97000134 that use for print witholding tax report and witholding tax certificate. when i run this tra

  • Clarification on how Edge works

    Hello - just want to confirm how the Edge program works before getting new iPhone 6's for the family. We have 5 lines and only 1 is a smartphone (iPhone 4 on the unlimited plan). We will be dropping 1 of the 5 line completely because it is not being

  • Plug-ins won't load

    Hi, I've ported my CS2 plug-ins to CS3 and built a version with XCode for the Mac. But now when I place them inside the Plugins directory of InDesign they don't load. InDesign loads normally, it complains about one of my plug-ins but it ignores the o

  • Subtotal on Ytd column changes when adding a date-filter

    Hi everybody, I am facing a challenge in BIEE which I can't explain. BI Server version: 10.1.3.4.1 Build 090414.1900 Using Sample Sales Reduced I've defined the following request Columns: Region, Year, Month, Day Date, Revenue, Year to Date Revenue (