Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Bob Bottomley <Robert.A.Bottomley.Jr@cdc.com>
To: axp-list@redhat.com
Subject: Re: mkswap does not work
Date: Fri, 17 Apr 1998 18:08:59 -0800	[thread overview]
Message-ID: <Chameleon.892861779.rab@BlackLodge> (raw)
In-Reply-To: Chameleon.892857282.rab@BlackLodge

I have been requested to supply more info. Here is more:

The systems are UDBs (one a 233MHz and the other a 166MHz).

mkswap is part of util-linux-2.7-15, which was an errata package to RHL 5.0 
(both systems are running it).

mkswap uses /lib/libc.so.6.1, which is part of glibc-2.0.7-6 (another errata 
package). 


------------------------
  From: Bob Bottomley <Robert.A.Bottomley.Jr@cdc.com>
  Subject: mkswap does not work 
  Date: Fri, 17 Apr 1998 16:20:32 -0800 
  To: axp-list@redhat.com


> After installing a new drive, copying the partitions to the new drive, and 
> then attempting to reboot with the new drive, we got:
> 
> swapon: /dev/sdb2: Invalid argument
> 
> After a little investigating we found that we need to run mkswap. Here is 
> what happens:
> 
> [root@Buzzman ~]# mkswap -c /dev/sdb2
> Segmentation fault
> 
> (And, yes, sdb2 is set to be swap.)
> Checking the log revealed:
> 
> kernel: VFS: brelse: Trying to free free buffer
> kernel: lca: machine check (la=0xfffffc00002084d0,pc=0xfffffc000033fea0)
> kernel:   Reason: access to non-existent memory (long frame):
> kernel:     reason: fffffc03d0cbea4c  exc_addr: fffffc000033fea0  dc_stat: 
3
> kernel:     car: 570e475
> kernel:     CPU initiated PCI Memory Read cycle to address d0cbea48 failed 
> due to no device.
> kernel:  +       0 0000000000000198 0000019800000110
> kernel:  +      10 0000000100000084 fffffc03d0cbea4c
> kernel:  +      20 000006f800000000 000000000000ab40
> kernel:  +      30 0000000000000000 0000000800000000
> kernel:  +      40 0000001000000000 0000000300000000
> kernel:  +      50 0000000000000008 0000000000000000
> kernel:  +      60 fffffc00003103e0 0000000000010000
> kernel:  +      70 fffffc0000310520 fffffc0000310460
> kernel:  +      80 fffffc00003108b8 fffffc0000310ae0
> kernel:  +      90 fffffc00003105a0 fffffc0000208000
> kernel:  +      a0 000000011ffffbc0 fffffc0002413a48
> kernel:  +      b0 fffffc00004e09a8 0000000000000083
> kernel:  +      c0 0032323a3a3e3e3e 0000000300000000
> kernel:  +      d0 0000000000000000 0000000000000001
> kernel:  +      e0 0000000000000000 0000000000000000
> kernel:  +      f0 00000000028ec000 fffffffe00000000
> kernel:  +     100 0000000000200000 0000000002410398
> kernel:  +     110 fffffc000033fea0 0000000000000000
> kernel:  +     120 0000000000000000 0000000000000000
> kernel:  +     130 0000000000200000 0000000000001c70
> kernel:  +     140 0000000000000022 0000000000005bf1
> kernel:  +     150 0000000000000003 00000007ffffffff
> kernel:  +     160 0000000000000428 67b0d8e800020000
> kernel:  +     170 ffffffffa0000074 000000000570e475
> kernel:  +     180 d0cbe116d0cbe116 d0cbea48d0cbea48
> kernel:  +     190 0000000000000000 0000000000000000
> kernel: lca: machine check (la=0xfffffc00002084d0,pc=0xfffffc00003108e0)
> kernel:   Reason: access to non-existent memory (long frame):
> kernel:     reason: fffffc03d0cbea4c  exc_addr: fffffc00003108e0  dc_stat: 3
> kernel:     car: ffffffff8020e475
> kernel:     CPU initiated PCI Memory Write cycle to address d0cbea4c failed 
> due to no device.
> kernel:  +       0 0000000000000198 0000019800000110
> kernel:  +      10 0000000100000084 fffffc03d0cbea4c
> kernel:  +      20 000006f800000000 000000000000ab40
> kernel:  +      30 0000000000000000 fffffc00002084d0
> kernel:  +      40 0000001000000000 0000000300000000
> kernel:  +      50 0000000000000008 0000000000000000
> kernel:  +      60 fffffc00003103e0 0000000000010000
> kernel:  +      70 fffffc0000310520 fffffc0000310460
> kernel:  +      80 fffffc00003108b8 fffffc0000310ae0
> kernel:  +      90 fffffc00003105a0 fffffc0000208000
> kernel:  +      a0 000000011ffffbc0 fffffc0002413a28
> kernel:  +      b0 fffffc00004e09a8 0000000000000083
> kernel:  +      c0 0032323a3a3e3e3e 0000000300000000
> kernel:  +      d0 0000000000000000 0000000000000001
> kernel:  +      e0 0000000000000000 0000000000000000
> kernel:  +      f0 00000000028ec000 fffffffe00000000
> kernel:  +     100 0000000000200000 0000000002410398
> kernel:  +     110 fffffc00003108e0 0000000000000000
> kernel:  +     120 0000000000000000 0000000000000000
> kernel:  +     130 0000000000200000 0000000000001c70
> kernel:  +     140 0000000000000022 0000000000005220
> kernel:  +     150 0000000000000003 00000007ffffffff
> kernel:  +     160 0000000000000428 67b0d8e800020000
> kernel:  +     170 ffffffffa0000074 ffffffff8020e475
> kernel:  +     180 d0cbe117d0cbe117 d0cbea4cd0cbea4c
> kernel:  +     190 0000000000000000 0000000000000000
> kernel: mkswap: Exception at [<fffffc0000311750>] (fffffc0000311778)
> kernel: mkswap(588): unhandled unaligned exception
> kernel: pc = [<fffffc000033feb4>]  ra = [<fffffc000034022c>]  ps = 0000
> kernel: r0 = 0000000000000028  r1 = 23bd9db427ba001a  r2 = 40413521482a00c2
> kernel: r3 = 00000000f420003a  r4 = 000000000000ab40  r5 = 0000000000000000
> kernel: r6 = 000000000000ffff  r7 = 0000000000000000  r8 = fffffc0002410000
> kernel: r9 = fffffc0000346bf4  r10= fffffc0002413aa8  r11= fffffc0002413a98
> kernel: r12= 0000000000000000  r13= fffffc0002413a98  r14= 0000000000000000
> kernel: r15= 0000000000000000
> kernel: r16= fffffc0000346bf4  r17= 0000000000000000  r18= 0000000000000028
> kernel: r19= 0800000000000008  r20= fffffc0002413a98  r21= fffffc0002413c98
> kernel: r22= 000000011ffffbf1  r23= 00000200001a2468  r24= fffffc0000310ae0
> kernel: r25= 0000000000000083  r27= fffffc00003401f0  r28= fffffc00004bc124
> kernel: gp = fffffc00004e09a8  sp = fffffc0002413a28
> kernel: Code: e4400007  a4290000  e4200001 <b4410070> a4490070  a4290000  
> b4220000  b7e90070  a4890078 
> kernel: Trace: [<fffffc000034022c>] [<fffffc0000346bf4>] [<fffffc0000345150>] 
> [<fffffc000033c824>] [<fffffc0000346bf4>] [<fffffc000031e1cc>] 
> [<fffffc000031e374>] [<fffffc0000327dec>] [<fffffc0000310d4c>] 
> [<fffffc000031e1cc>] [<ffff
> 
> 
> Now, this machine is running 2.1.96. So I went to a machine running 2.0.33. I 
> turned off the swap partition and did mkswap. I got the same thing:
> 
> [root@Alpo /etc]# mkswap -c /dev/sdb3
> Segmentation fault
> 
> Checking the log revealed a different result:
> 
> kernel: VFS: brelse: Trying to free free buffer
> kernel: Unable to handle kernel paging request at virtual address 
> 0000000000000839
> kernel: mkswap(606): Oops 0
> kernel: pc = [<fffffc000033de40>] ps = 0000
> kernel: rp = [<fffffc00003430f0>] sp = fffffc0000755a48
> kernel: r0=28 r1=8 r2=1 r3=fffffc00012597f8
> kernel: r8=19
> kernel: r16=811 r17=720 r18=50 r19=1
> kernel: r20=1 r21=11ffff798 r22=0 r23=155556f8468
> kernel: r24=fffffc00003116f8 r25=83 r26=fffffc00003430f0 r27=fffffc000033de28
> kernel: r28=0 r29=fffffc000043f358 r30=fffffc0000755a48
> kernel: Code: b75e0000  b53e0008  46100409 <a0290028> 48205781  e0200001  
> d35ff75e  45290410  47ff0411 
> 
> 
> What is going on? Doesn't mkswap work? How are we supposed to initialize swap 
> space? Help!
> 
> -- 
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com
> 
> 

---------------End of Original Message-----------------

--------------------------------------------------------------------------
When told that Apple had just bought a Cray to help design the next Mac,
Seymour Cray commented that he had just bought a Mac to help design the
next Cray.


      parent reply	other threads:[~1998-04-18  1:10 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-04-18  0:20 mkswap does not work Bob Bottomley
1998-04-18  0:23 ` Michal Jaegermann
1998-04-18  2:08 ` Bob Bottomley [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox