From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 19369 invoked from network); 18 Apr 1998 01:10:14 -0000 Received: from ip129179-23-4.a.cdc.com (HELO Asgard.sta.cdc.com) (129.179.23.4) by mail2.redhat.com with SMTP; 18 Apr 1998 01:10:14 -0000 Received: from BlackLodge.sta.cdc.com by Asgard.sta.cdc.com; Fri, 17 Apr 98 18:09:42 -0700 Date: Fri, 17 Apr 1998 18:08:59 -0800 From: Bob Bottomley Subject: Re: mkswap does not work To: axp-list@redhat.com X-Mailer: Z-Mail Pro 6.1 (Win32 - 021297), NetManage Inc. X-Face: 'uY:)/LPl_h1J0SEh~@}FL%OZ_8;jrL]]D,^.x&Fp]SDUO4TRA`wZS2lNoCDLnzmGwCS4!7 s6%20Rk2GUad\)[0"xx$s"G.[1S37IpU3~_8C,C`r]AvugR0Z}n[QVH>JfxlF lAC#?bs-k9?~V(gfFTq4<7x9/cloRB=TEcH(9?!}|q)V5#p|<8".%#BN =DG6g5ajx(nzB[tGW8Vezu_a*)=0!|V4jD}h`|U)1>34{'>qQ@G^sG2'\b7.tOD^f!)z=[x<{IE'xF KP%G'f~5"kyb1E(;*y9d/>t|[a X-Priority: 3 (Normal) References: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; CHARSET=ISO-8859-1 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 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 [] (fffffc0000311778) > kernel: mkswap(588): unhandled unaligned exception > kernel: pc = [] ra = [] 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 a4490070 a4290000 > b4220000 b7e90070 a4890078 > kernel: Trace: [] [] [] > [] [] [] > [] [] [] > [] [ > > 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 = [] ps = 0000 > kernel: rp = [] 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 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.