[Lunar-bugs] [support] no swap

lunar-bugs at lunar-linux.org lunar-bugs at lunar-linux.org
Sat Nov 6 22:44:14 UTC 2004


 Project:      lunar-linux
 ID:           
 Version:      <none>
 Component:    kernel
 Category:     support requests
 Priority:     normal
 Assigned to:  <unassigned>
 Reported by:  Bill Hails
 Updated by:   sofar
-Status:       active
+Status:       fixed

User error. you need to execute the command `mkswap /dev/devicenode` in
order to write a swap signature and initialize the swap partition.

sofar



Previous comments:
------------------------------------------------------------------------

Sat, 11/06/2004 - 22:31 : Bill Hails

Hi.

Just installed Lunar and I'm up and running, except that I have no swap
partition mounted, even though I believe created one. Anyone prepared
to offer any
advice?

I have (according to dmesg):

SCSI subsystem driver Revision: 1.00
scsi0 : Adaptec AIC79XX PCI-X SCSI HBA DRIVER, Rev 1.3.10
        
        aic7901A: Ultra320 Wide Channel A, SCSI Id=7, PCI-X 67-100Mhz,
512 SCBs
(scsi0:A:0): 320.000MB/s transfers (160.000MHz DT|IU|QAS, 16bit)
  Vendor: SEAGATE   Model: ST336607LW        Rev: 0007
  Type:   Direct-Access                      ANSI SCSI revision: 03
scsi0:A:0:0: Tagged Queuing enabled.  Depth 32
Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
SCSI device sda: 71687372 512-byte hdwr sectors (36704 MB)
Partition check:
 /dev/scsi/host0/bus0/target0/lun0: p1 p2 p3 p4 < p5 p6 p7 >

I partitioned pretty much exactly as the installation manual suggested,
cfdisk shows

                                  cfdisk 2.12i

                              Disk Drive: /dev/sda
                        Size: 36703934464 bytes, 36.7 GB
              Heads: 255   Sectors per Track: 63   Cylinders: 4462

    Name        Flags      Part Type  FS Type          [Label]       
Size (MB)

------------------------------------------------------------------------------
    sda1        Boot        Primary   Linux ReiserFS                   
  98.71
    sda2                    Primary   Linux ReiserFS                   
3997.49
    sda3                    Primary   Linux swap / Solaris             
1998.75
    sda5                    Logical   Linux ReiserFS                  
10001.95
    sda6                    Logical   Linux ReiserFS                  
10001.95
    sda7                    Logical   Linux ReiserFS                  
10602.39

and my fstab got initialised as:

/dev/discs/disc0/part7  /home   reiserfs        defaults,notail,noatime
0 0
/dev/discs/disc0/part6  /var    reiserfs        defaults,notail,noatime
0 0
/dev/discs/disc0/part5  /usr    reiserfs        defaults,notail,noatime
0 0
/dev/discs/disc0/part1  /boot   reiserfs        defaults,notail,noatime
0 0
/dev/discs/disc0/part2  /       reiserfs        defaults,notail,noatime
0 0

but there's no mention of the swap (part3), and top shows:

Swap:        0k total,        0k used,        0k free,    92460k cached

when I added the line

/dev/discs/disc0/part3 none     swap            rw 0 0

to /etc/fstab and ran 'swapon -a' it says:

swapon: /dev/discs/disc0/part3: Invalid argument

and after a reboot I'm getting console messages:
"Unable to find swap-space signature"
(actually that message appeared from nowhere on /dev/vc/2)

-- 
View: http://lunar-linux.org/?q=node/view/532
Edit: http://lunar-linux.org/?q=project/comments/add/532




More information about the Lunar-bugs mailing list