Tiny Core Linux

Tiny Core Base => TCB Bugs => Topic started by: floppy on April 25, 2012, 01:47:10 AM

Title: Message "swap recognized" at boot in core4.4 despite no swap exists
Post by: floppy on April 25, 2012, 01:47:10 AM
USB boot.
The kernel command line is: initrd=/boot/mycore.gz quiet noisapnp pci=use_crs intel_rng.no_fwh_detect=1 nozswap pause showapps host=hpdc7100 waitusb=2:UUID="1afba5ee-97b5-4eac-bea1-42339ac8225b" tce=UUID="1afba5ee-97b5-4eac-bea1-42339ac8225b" mydata=xorgdc7100 lst=corexorg.lst BOOT_IMAGE=/boot/vmlinuz

That message come up at boot (in the same way it comes like "ramswap skipped" etc.).
For me, its not really a bug, just a misleading message.
Title: Re: Message "swap recognized" at boot in core4.4 despite no swap exists
Post by: gerald_clark on April 25, 2012, 01:58:38 AM
There is nothing in the kernel command line that would prevent the use of an existing swap partition.
Title: Re: Message "swap recognized" at boot in core4.4 despite no swap exists
Post by: floppy on April 25, 2012, 02:39:24 PM
Again:
- there is no swap at all in that pc
- the message at boot (blue letters) say a swap is recognized
this is a bit weird.
Title: Re: Message "swap recognized" at boot in core4.4 despite no swap exists
Post by: Rich on April 25, 2012, 02:58:19 PM
Hi floppy
If you enter   fdisk -l   does it report a swap partition?
Title: Re: Message "swap recognized" at boot in core4.4 despite no swap exists
Post by: floppy on April 25, 2012, 05:26:05 PM
Hi floppy
If you enter   fdisk -l   does it report a swap partition?
result (no swap):

Disk /dev/sda: 40.0 GB, 40020664320 bytes
255 heads, 63 sectors/track, 4865 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks  Id System
/dev/sda1               1        4866    39080960  83 Linux

Disk /dev/sdb: 4040 MB, 4040748544 bytes
125 heads, 62 sectors/track, 1018 cylinders
Units = cylinders of 7750 * 512 = 3968000 bytes

   Device Boot      Start         End      Blocks  Id System
/dev/sdb1   *           1        1018     3944719  83 Linux
Title: Re: Message "swap recognized" at boot in core4.4 despite no swap exists
Post by: gerald_clark on April 25, 2012, 06:15:28 PM
You are mistaken.  4.4 says:
"Possible swap partition(s) enabled."

That is neither incorrect nor misleading.