Re: while installing, can't get swapon to work for sun4u

1999-03-03 Thread Adam Di Carlo

 set to linux swap type, no flags, mkswap it, then run swapon --
 again, invalid argument.

 Mark == Mark W Eichin [EMAIL PROTECTED] writes:
Mark This may be a red herring, but I used to see that all the time
Mark with swap *files* on x86 2.0... because for some reason you had
Mark to sync between the mkswap and swapon or the kernel would read
Mark the disk block instead of the buffered block, or something like
Mark that.  Couldn't hurt to try...

This is strange.  It works perfectly in linux now, now that I have the
base system installed.  So I don't think that's it.

--
.Adam Di [EMAIL PROTECTED]URL:http://www.onShore.com/


Re: while installing, can't get swapon to work for sun4u

1999-03-03 Thread Steve Dunham
Adam Di Carlo [EMAIL PROTECTED] writes:

  set to linux swap type, no flags, mkswap it, then run swapon --
  again, invalid argument.
 
  Mark == Mark W Eichin [EMAIL PROTECTED] writes:
 Mark This may be a red herring, but I used to see that all the time
 Mark with swap *files* on x86 2.0... because for some reason you had
 Mark to sync between the mkswap and swapon or the kernel would read
 Mark the disk block instead of the buffered block, or something like
 Mark that.  Couldn't hurt to try...

 This is strange.  It works perfectly in linux now, now that I have the
 base system installed.  So I don't think that's it.

The bootfloppies use different code, which doesn't seem to get along
with the Ultra kernel.


Steve
[EMAIL PROTECTED]



while installing, can't get swapon to work for sun4u

1999-03-02 Thread Adam Di Carlo

On my Sun4u (Ultra5) I've been unable to get 'swapon' to work.
I've tried the following:

  * leaving it as a solaris swap type
  * making it a linux swap type
  * playing around with the mountable flag
  * playing around with the readonly flag (this had been a SunOS swap
partition, and it came with the readonly flag set -- 'u' in fdisk)

The partition is 154035k, bigger than linux can use.  Still, it should
work (mkswap makes it smaller).   mkswap works fine, but swapon just
says 'invalid argument'.

This even happens if I make another, say, 90M swap partition from scratch,
set to linux swap type, no flags, mkswap it, then run swapon -- again, 
invalid argument.

Any clues?

--
.Adam Di [EMAIL PROTECTED]URL:http://www.onShore.com/


Re: while installing, can't get swapon to work for sun4u

1999-03-02 Thread Mark W. Eichin

 set to linux swap type, no flags, mkswap it, then run swapon -- again, 
 invalid argument.

This may be a red herring, but I used to see that all the time with
swap *files* on x86 2.0... because for some reason you had to sync
between the mkswap and swapon or the kernel would read the disk block
instead of the buffered block, or something like that.  Couldn't hurt
to try...