invalid argument (swapon)??

invalid argument (swapon)??

Post by cmaddock.. » Tue, 28 Jul 1998 04:00:00



When booting up my Linux file/print server I noticed a message that said something like, 'swapon: /dev/hda1 invalid argument'  .. does this mean I have no swap
space active?  That would be bad because I only have 8 MB of RAM.. it says something similar on shutting down.  Yes, /dev/hda1 is my swap partition (12 MB, I
think) and it is of type Linux Swap.  

Any suggestions?  Thanks,
Chris

 
 
 

invalid argument (swapon)??

Post by cmaddock.. » Tue, 28 Jul 1998 04:00:00


When booting up my Linux file/print server I noticed a message that said something like, 'swapon: /dev/hda1 invalid argument'  .. does this mean I have no swap
space active?  That would be bad because I only have 8 MB of RAM.. it says something similar on shutting down.  Yes, /dev/hda1 is my swap partition (12 MB, I
think) and it is of type Linux Swap.  

Any suggestions?  Thanks,
Chris

 
 
 

1. swapon: swap: Invalid argument

I defined a swap file named swap using all the book requirements
              # dd if=/dev/zero of=swap bs=1024 count=130752
              # mkswap swap 130752
              # sync
              # /sbin/swapon swap
after the last command I get the message:

                               swapon: swap: Invalid argument

and the swap doesn't turn on.

Does anyone have an explanation?
                                         Thanks in advance for your help,
                                                                   Rafael.

2. magstripe card reader/writer under Linux ?

3. swapon failed invalid argument

4. Avance Logic ALG2302 at more than 800x600 pixels?

5. Swapon invalid argument

6. PyQT 3 on Linux PowerPC

7. swapon: /dev/da4s1b: Invalid argument

8. **DISKLESS** linux workstation HOWTO??

9. swapon->swapoff->swapon doesn't work

10. gpm & x mouse errors.....Invalid argument?

11. Invalid Argument during Select Partition screen

12. fbdevScreenInit: unable to set screen params (Invalid argument)

13. mount failed: invalid argument