You are not logged in.
My new installed archlinux always show
::Activating Swap [Failed]
But the system works, any problem with my installation? anyway to get rid of the red error Failed?
I set up the network by:
1) add 'alias eth0 8139too' in /etc/modprobe.conf
2) run 'dhcpcd eth0'
Any better way to set up network?
Thanks,
Offline
swap:
do you get something like this with swapon:
[damir@Asteraceae /]$ swapon -s
Filename Type Size Used Priority
/dev/ide/host0/bus0/target0/lun0/part4 partition 824032 0 -1
if not, it is not good --- because then it means that you have no swap running
network:
1) is ok
2) is not needed, if you include eth0 in INTERFACES in /etc/rc.conf
The impossible missions are the only ones which succeed.
Offline
yes, i have the similar information when run "swapon -s", however, when booting, still
:: Activating Swap [Failed]
Network problem solved... Thanks
Offline
[damir@Asteraceae /]$ more /var/log/kernel | grep swap
gives back something intelligent?
something like this is normal:
Apr 6 19:34:07 Asteraceae kernel: Adding 824032k swap on /dev/discs/disc0/part4. Priority:-1 extents:1
The impossible missions are the only ones which succeed.
Offline
The command return:
bash-2.05b$ more /var/log/kernel | grep swap
May 9 15:33:45 myhost kernel: Adding 385520k swap on /dev/discs/disc0/part5. Priority:-1 extents:1
May 9 15:35:33 myhost kernel: Adding 385520k swap on /dev/discs/disc0/part5. Priority:-1 extents:1
May 9 15:40:10 myhost kernel: Adding 385520k swap on /dev/discs/disc0/part5. Priority:-1 extents:1
May 9 15:55:52 myhost kernel: Adding 385520k swap on /dev/discs/disc0/part5. Priority:-1 extents:1
May 9 15:57:32 myhost kernel: Adding 385520k swap on /dev/discs/disc0/part5. Priority:-1 extents:1
May 9 16:31:40 myhost kernel: Adding 385520k swap on /dev/discs/disc0/part5. Priority:-1 extents:1
May 9 17:13:13 myhost kernel: Adding 385520k swap on /dev/discs/disc0/part5. Priority:-1 extents:1
May 9 17:25:03 myhost kernel: Adding 385520k swap on /dev/discs/disc0/part5. Priority:-1 extents:1
May 9 17:37:05 myhost kernel: Adding 385520k swap on /dev/discs/disc0/part5. Priority:-1 extents:1
Offline
then your swap seems to function --- no idea why it says there FAILD, when it works
The impossible missions are the only ones which succeed.
Offline
the fdisk return the following message, and my file system is ReiserFS
Disk /dev/hda: 13.6 GB, 13600677888 bytes
255 heads, 63 sectors/track, 1653 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 893 7172991 7 HPFS/NTFS
/dev/hda2 894 906 104422+ 83 Linux
/dev/hda3 907 1605 5614717+ 83 Linux
/dev/hda4 1606 1653 385560 f W95 Ext'd (LBA)
/dev/hda5 1606 1653 385528+ 82 Linux swap
Offline
sounds ok
and free has also normal results?
[damir@Asteraceae /]$ free -lm
total used free shared buffers cached
Mem: 755 513 242 0 79 251
Low: 755 513 242
High: 0 0 0
-/+ buffers/cache: 181 573
Swap: 804 0 804
The impossible missions are the only ones which succeed.
Offline
What's your fstab like? Maybe an erroneous swap partition in there?
Offline
/dev/discs/disc0/part4 swap swap defaults 0 0
The impossible missions are the only ones which succeed.
Offline
sounds ok
and free has also normal results?
my freelm:
bash-2.05b$ free lm
total used free shared buffers cached
Mem: 286512 280948 5564 0 67724 78884
-/+ buffers/cache: 134340 152172
Swap: 385520 0 385520
Offline
What's your fstab like? Maybe an erroneous swap partition in there?
My fstab
#
# /etc/fstab: static file system information
#
# <file system> <dir> <type> <options> <dump> <pass>
none /proc proc defaults 0 0
none /dev/pts devpts defaults 0 0
none /dev/shm tmpfs defaults 0 0
tmpfs /tmp tmpfs defaults 0 0
sysfs /sys sysfs defaults 0 0
usbdevfs /proc/bus/usb usbdevfs defaults 0 0
/dev/cdroms/cdrom0 /mnt/cd iso9660 ro,user,noauto,unhide 0 0
/dev/cdroms/cdrom0 /mnt/dvd udf ro,user,noauto,unhide 0 0
/dev/floppy/0 /mnt/fl vfat user,noauto,unhide 0 0
/dev/discs/disc0/part5 swap swap defaults 0 0
/dev/discs/disc0/part3 / reiserfs defaults 0 0
/dev/discs/disc0/part5 swap swap defaults 0 0
/dev/discs/disc0/part3 / reiserfs defaults 0 0
Offline
mmm....maybe the problem is that the line is repeated (or maybe you just made a mistake when you copied/pasted)
And where were all the sportsmen who always pulled you though?
They're all resting down in Cornwall
writing up their memoirs for a paper-back edition
of the Boy Scout Manual.
Offline
mmm....maybe the problem is that the line is repeated (or maybe you just made a mistake when you copied/pasted)
Thanks, after remove the duplicated lines, problem has gone, don't know if the duplicated lines are caused by me setting the mount point twice (i did when installing).
Offline
yeah, that was it. It would mount the swap the first time, but than the 2nd time it was already mounted so it failed. lol
"Ignorance is bliss, for stupid people."
"open-source is [...] programming Darwinism."
Vaughan-Nichols
Offline