Linux-Misc Digest #340, Volume #27               Mon, 12 Mar 01 05:13:01 EST

Contents:
  Re: USB Scanner? ([EMAIL PROTECTED])
  "Requires RedHat" other Linux distributions (Andre John Mas)
  Re: Moving Linux from one hard drive to another (Jim Parker)
  Re: USB Scanner? (Andre John Mas)
  Re: Anyone ever ran Linux on Sun Sparc? (Andre John Mas)
  Re: A Better Web Browser...PLEASE! (Grant Edwards)
  Re: Anyone ever ran Linux on Sun Sparc? (Grant Edwards)
  Re: "Requires RedHat" other Linux distributions (Grant Edwards)
  Re: "Requires RedHat" other Linux distributions ("Matt O'Toole")
  reiserfs and quota ("Wong Ching Kuen Frederick")
  Re: can't ssh except as root! (Carolyn Jean Fairman)
  QRPFF Source Code (Steve Withers)
  Re: "Requires RedHat" other Linux distributions (Steve Withers)
  KDE's panel problems? (Jiying)
  Re: Need file from RPM (Runu Knips)
  LOCAL: Linux-based PDA Demo in Davis, CA (William Kendrick)
  amanda and reiserfs ("Wong Ching Kuen Frederick")
  Re: Moving Linux from one hard drive to another ("Eric")
  Re: Help! partitioning woes with RH 6.1 (Christoph Kukulies)

----------------------------------------------------------------------------

From: [EMAIL PROTECTED]
Subject: Re: USB Scanner?
Date: Mon, 12 Mar 2001 04:16:15 GMT

John Scudder <[EMAIL PROTECTED]> wrote:
> Will a USB Scanner work under Linux?

Depends on which one...  Check out www.mostang.com/sane

Kris

> John

------------------------------

From: Andre John Mas <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Subject: "Requires RedHat" other Linux distributions
Date: Mon, 12 Mar 2001 04:17:45 GMT

Hi,

 I have seen a number of products, such a CodeWarrior and Flash 5 that
 indicates that they require RedHat Linux <version>. Is this just a way
 of saying "it will run on other Linuxes, but we won't support you" or
 will these programs genuinly not run on other Linux distributions, for
 example on SuSE.

 Andre

------------------------------

From: Jim Parker <[EMAIL PROTECTED]>
Subject: Re: Moving Linux from one hard drive to another
Date: Sun, 11 Mar 2001 23:26:51 -0500

Eric wrote:

> > I recently added a second hard drive to my computer and, using Partition
> > Magic V4, copied all (almost - more about that in a minute) of the Linux
> > partitions from the master hard drive (hda) to the new slave (hdb) an
> > resized them larger. Then I brought up Linux on hda and mounted the hdb
> > copy of the root partition and modified that partition's /etc/fstab and
> > /etc/mtab to point to the hdb versions of the partitions (except for the
> > 'almost'). I then created a boot floppy with lilo to boot the hdb copy
> > of Linux and it came up OK.
> >
> > First question: This almost seems too easy. Is that all there is to it?
>
> Yes, nice heh :-)
> (But check with `mount` that no hda partitions are used)
>
> > I want to delete the hda Linux partitions so that I can increase the
> > Win95 and OS/2 partitions I have on the first drive but I don't want to
> > do it until I'm sure there isn't some problem lurking in some hidden
> > corner.
>
> The hidden corners belong to windows, not to linux ;-)
>
> > Second question: The 'almost' I referred to was the swap partition.
> > Partition Magic has documentation that says it has full support for
> > Linux ext2 and swap partitions. Except, it seems, that you can't do
> > anything with a Linux swap partition except delete it. Partition Magic
> > had all other options greyed out or missing regarding swap partitions.
> > Couldn't copy, move, resize or create a Linux swap partition. So, for
> > now, Linux on hdb is pointing to the swap partition on hda. How can I
> > create a Linux swap partition without making Partition Magic think that
> > the partition table is corrupt? Creating a partition with Linux fdisk
> > won't do. That leaves the entire disk "bad" to Partition Magic and
> > results in fdisk for OS/2, DOS and Win95 useless even for the other hard
> > drive. All three fail to come up once you've used Linux fdisk to create
> > a partition.
>
> Then you do something wrong
> I have absolutely no problem with any DOS/Win98/WinNT on partitiontables
> created
> solely with the help of linux' fdisk. (I don't have OS/2, but it should not
> be different)
>
> You must however take in consideration that PM is very strict on what is
> allowed in
> a partition table. As long as you stick to those restrictions, you're OK.
> Usually it's just so that different CHS values are used. Check what PM uses,
> and verify
> that linux thinks the same. If not, don't use linux fdisk.
>
> If they are equal, use cfdisk (instead of fdisk).
>
> Eric

PM documentation says for error #120: "This error occurs under some OSs when
logical partitions are not chained together in the expected order. DOS, OS/2,
Windows 95, and Windows NT require that logical partitions be chained together
in ascending order. ... Some versions of Linux FDISK utility chain logical
partitions together in the order they are created..." Note particularly "Some
versions." Perhaps your version is different.

Jim



------------------------------

From: Andre John Mas <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Subject: Re: USB Scanner?
Date: Mon, 12 Mar 2001 04:32:00 GMT

John Scudder wrote:
> 
> Will a USB Scanner work under Linux?

The short answer is yes. The long answer, is that you should let us
(the newsgroup) know what scanner you are looking to use as it all
depends whether the drivers to support it are available.

Andre

------------------------------

From: Andre John Mas <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Subject: Re: Anyone ever ran Linux on Sun Sparc?
Date: Mon, 12 Mar 2001 04:36:06 GMT

Pjtg0707 wrote:
> 
> Hi all,
> 
> I have a couple of Sparc 2 machines I am thinking about getting them up
> and running again, and I am pondering if I shoud load them up with
> Redhat Linux or stick with Solaris. I am wondering what the software
> availability and performance will be like with Linux comparing to
> Solaris.
> 
> I'll mainly be using the machines as intranet server and desktop X
> station for C/Perl program development.

Personally I feel that sun does a poor job with their OS - they don't
offer enough utilities in the base installation, though you may disagree.
Both platforms should do the job, though which one you use is up to you.
To check out the distributions available for Sparc based machines:

   http://www.ultralinux.org/

Andre

------------------------------

From: [EMAIL PROTECTED] (Grant Edwards)
Subject: Re: A Better Web Browser...PLEASE!
Date: Mon, 12 Mar 2001 05:03:27 GMT

In article <[EMAIL PROTECTED]>, Bob Hauck wrote:
>On Sun, 11 Mar 2001 08:06:17 -0500, Rick <[EMAIL PROTECTED]> wrote:
>
>>Does Opera do secure pages yet?
>
>Yes but no Java or plugins.  

That's a plus IMO.

>Very fast though, and low memory use compared to Mozilla or Netscape.

Definitely.  

Mozilla and Netscape have turned into an embarassment.

I have run into a few (very few) pages that Opera doesn't render well. It
usually has something to do with complicated HTML tricks involving tables
and column widths.  It's qutie possible that the HTML is buggy and Opera's
rendering of them is within what's allowed by HTML specs, but they don't
turn out very usable.

-- 
Grant Edwards                   grante             Yow!  Am I elected yet?
                                  at               
                               visi.com            

------------------------------

From: [EMAIL PROTECTED] (Grant Edwards)
Subject: Re: Anyone ever ran Linux on Sun Sparc?
Date: Mon, 12 Mar 2001 05:08:15 GMT

In article <[EMAIL PROTECTED]>, Pjtg0707 wrote:
>Hi all,
>
>I have a couple of Sparc 2 machines I am thinking about getting them up
>and running again, and I am pondering if I shoud load them up with
>Redhat Linux or stick with Solaris. I am wondering what the software 
>availability and performance will be like with Linux comparing to 
>Solaris.

I ran RH (4 or 5 -- don't remember) on an old IPX or IPC.  It installed off
the RH CD without a glitch and ran like a dream.  It seemed much quicker and
less memory hungry than Solaris 2.3.  I did it mainly to use the machine as a
IP-masquerading ppp/dial-on-demand gateway.  Couldn't figure out how to do it
under Solaris.  IIRC, I never even figured out how to get ppp client stuff to 
work under Solaris.  Solaris had some long-standing serial-driver bugs that
never seemed to get fixed quite right.

-- 
Grant Edwards                   grante             Yow!  Is this "BIKINI
                                  at               BEACH"?
                               visi.com            

------------------------------

From: [EMAIL PROTECTED] (Grant Edwards)
Subject: Re: "Requires RedHat" other Linux distributions
Date: Mon, 12 Mar 2001 05:11:59 GMT

In article <[EMAIL PROTECTED]>, Andre John Mas wrote:

> I have seen a number of products, such a CodeWarrior and Flash 5 that
> indicates that they require RedHat Linux <version>. Is this just a way
> of saying "it will run on other Linuxes, but we won't support you" or
> will these programs genuinly not run on other Linux distributions, for
> example on SuSE.

It usually means that 

 1) You need glibc (or other library) versions >= what was shipped 
    with that version of RH.
    
 2) The app assumes certain things about the file-system layout.

If you can satisfy those two constraints the program will almost certainly
run.
 
-- 
Grant Edwards                   grante             Yow!  Here I am in the
                                  at               POSTERIOR OLFACTORY LOBULE
                               visi.com            but I don't see CARL SAGAN
                                                   anywhere!!

------------------------------

From: "Matt O'Toole" <[EMAIL PROTECTED]>
Subject: Re: "Requires RedHat" other Linux distributions
Date: Sun, 11 Mar 2001 21:20:06 -0800


"Grant Edwards" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...

> In article <[EMAIL PROTECTED]>, Andre John Mas wrote:

> > I have seen a number of products, such a CodeWarrior and Flash 5 that
> > indicates that they require RedHat Linux <version>. Is this just a way
> > of saying "it will run on other Linuxes, but we won't support you" or
> > will these programs genuinly not run on other Linux distributions, for
> > example on SuSE.
>
> It usually means that
>
>  1) You need glibc (or other library) versions >= what was shipped
>     with that version of RH.
>
>  2) The app assumes certain things about the file-system layout.
>
> If you can satisfy those two constraints the program will almost certainly
> run.

You are correct, sir.  However, I think that in most cases, it's just easier
to install the preferred kind of Linux; than, say, to wrestle with the inner
workings of Oracle or something.

Matt O.




------------------------------

From: "Wong Ching Kuen Frederick" <[EMAIL PROTECTED]>
Subject: reiserfs and quota
Date: Mon, 12 Mar 2001 13:38:29 +0800

does version 3.6 support quota already, or still need a patch?! i have
create a reiserfs partion using v3.5 kernel and find out that quota is not
supported. so i upgrade the kernel to 2.4.2 (and it is with v3.6 reiserfs),
but when i mount the partition with usrquota, it cannot recognised it. any
help will be appreciated.



------------------------------

From: [EMAIL PROTECTED] (Carolyn Jean Fairman)
Subject: Re: can't ssh except as root!
Date: 11 Mar 2001 21:56:45 -0800

Carolyn Jean Fairman <[EMAIL PROTECTED]> wrote:
>I have Yellow Dog linux on my G3 at home.  I use a dsl line and set up
>the command to start a dsl connection at boot.  It all worked great I
>though but then that was because I was root.  As any other user I
>cannot see the outside world even though as root I did a second ago.

I can now *telnet* as a regular user, by changing the resolve.conf to
744 and so that's a start.  Ssh still hangs for some odd reason.
Anyone else having trouble with ssh where it almost logs in?  I don't
even get the message about there not being a key for the host which I
expected since I reinstalled ssh.

Carolyn Fairman
-- 
___________________________________
        Carolyn Fairman
http://www.stanford.edu/~cfairman/ 




------------------------------

From: Steve Withers <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup
Subject: QRPFF Source Code
Date: Mon, 12 Mar 2001 19:20:27 +1300

Apparently the PERL program below can decrypt DVDs a la DeCSS. 

Anyone tried it?  

It would be nice to know

Their "qrpff" program is a more compact cousin of the DeCSS utility
   that eight movie studios successfully sued to remove from the website
   of 2600 Magazine. But unlike DeCSS, qrpff is abbreviated enough for
   critics of the Motion Picture Association of America to include in,
   for example, e-mail signature files -- and many already have.
   
   "I think there's some value in demonstrating how simple these things
   really are and how preposterous it is to try to restrict their
   distribution," says Winstein, a 19-year-old MIT sophomore computer
   science major.
   
   [...]


Usage:
qrpff 153 2 8 105 225 /mnt/dvd/VOB_FILE_NAME | extract_mpeg2 | mpeg2_dec
-


#!/usr/bin/perl -w
# 531-byte qrpff-fast, Keith Winstein and Marc Horowitz
<[EMAIL PROTECTED]>
# MPEG 2 PS VOB file on stdin -> descrambled output on stdout
# arguments: title key bytes in least to most-significant order
$_='while(read+STDIN,$_,2048){$a=29;$b=73;$c=142;$t=255;@t=map{$_%16or$t^=$c^=(
$m=(11,10,116,100,11,122,20,100)[$_/16%8])&110;$t^=(72,@z=(64,72,$a^=12*($_%16
-2?0:$m&17)),$b^=$_%64?12:0,@z)[$_%8]}(16..271);if((@a=unx"C*",$_)[20]&48){$h
=5;$_=unxb24,join"",@b=map{xB8,unxb8,chr($_^$a[--$h+84])}@ARGV;s/...$/1$&/;$
d=unxV,xb25,$_;$e=256|(ord$b[4])<<9|ord$b[3];$d=$d>>8^($f=$t&($d>>12^$d>>4^
$d^$d/8))<<17,$e=$e>>8^($t&($g=($q=$e>>14&7^$e)^$q*8^$q<<6))<<9,$_=$t[$_]^
(($h>>=8)+=$f+(~$g&$t))for@a[128..$#a]}print+x"C*",@a}';s/x/pack+/g;eval


-- 
 Regards,

 Steve Withers
 [EMAIL PROTECTED]
 Registered Linux user #24688
 http://counter.li.org

 "First, they ignore you. Then they
 laugh at you. Then they fight you.
 Then you win." Mahatma Ghandi

------------------------------

From: Steve Withers <[EMAIL PROTECTED]>
Subject: Re: "Requires RedHat" other Linux distributions
Date: Mon, 12 Mar 2001 19:23:21 +1300

Andre John Mas wrote:
> 
> Hi,
> 
>  I have seen a number of products, such a CodeWarrior and Flash 5 that
>  indicates that they require RedHat Linux <version>. Is this just a way
>  of saying "it will run on other Linuxes, but we won't support you" or
>  will these programs genuinly not run on other Linux distributions, for
>  example on SuSE.
> 
>  Andre

Both.....depending on the outcome of your attempts to run it on other
versions of Linux. 

-- 
 Regards,

 Steve Withers
 [EMAIL PROTECTED]
 Registered Linux user #24688
 http://counter.li.org

 "First, they ignore you. Then they
 laugh at you. Then they fight you.
 Then you win." Mahatma Ghandi

------------------------------

From: Jiying<[EMAIL PROTECTED]>
Subject: KDE's panel problems?
Date: 12 Mar 2001 17:57:23 +1100
Reply-To: [EMAIL PROTECTED]

Dear all;
        In my RedHat 6.2, kde panel doesn't work.
when I click any icon, nothing happens. When I type
kfm & in command window, error message is follows:
=====================================
X Error: BadValue (integer parameter out of range
for operation) 2
 Major opcode: 12

[1]+ Aborted  (core dumped) kde
=====================================
Does any one know how to fix it? Thanks!

Jiying


------------------------------

Date: Mon, 12 Mar 2001 09:25:31 +0100
From: Runu Knips <[EMAIL PROTECTED]>
Subject: Re: Need file from RPM

Robert Lynch wrote:
> Runu Knips wrote:
> >
> > I need to get a file from a ".rpm" archive. Unfortunately, it
> > is a RPM 4.0 format archive, which my system is unable to read.
> > I only need this single file and I don't at all want to install
> > it into my system. After a hell of problems I succeeded to
> > compile rpm 4.0 from the sources from ftp.rpm.org, but now I
> > didn't gained anything. It wants a database, but for creating a
> > database it wants a package, and all I want to have is no
> > database but THAT DAMNED FILE IN THAT RPM !!!!
> >
> > Does anyone know a tool to extract files from a RPM ? Thank
> > you VERY much in advance !!!
> 
> rpm2cpio some.rpm |cpio -idv

Thank you very much you all !! :-)

------------------------------

From: William Kendrick <[EMAIL PROTECTED]>
Subject: LOCAL: Linux-based PDA Demo in Davis, CA
Crossposted-To: 
comp.os.linux.advocacy,ucd.general,ucd.life,ucd.cs.club,sac.announce,sac.general
Date: Mon, 12 Mar 2001 08:37:47 GMT


LUGOD, The Linux Users' Group of Davis, will hold its next meeting on:

  Monday
  March 19, 2001
  6:30pm - 9:30pm

The meeting will be held at:

  Z-World, Inc.
  2900 Spafford Street
  Davis, CA 95616


The topic will be:

  Agenda VR3 Linux-based PDA
  presented by Bill Kendrick

  Bill Kendrick will be demonstrating the recently-released development
  version of AgendaComputing's "Agenda VR3" personal digital assistant (PDA).
  The VR3 is one of many new Linux-based handheld computers coming to market
  in the next few months.



LUGOD Winter 2001 CD:

  At this meeting, LUGOD will be passing out free CDROMs containing
  the two most recent versions of the Linux kernel,
  free Linux software (including the PhotoShop-like "GIMP", and the free
  productivity suite "StarOffice"), and lots of electronic documentation.


For details on this meeting, maps, directions, public transportation
schedules, etc., visit:

  http://www.lugod.org/meeting/



LUGOD is a non-profit organization dedicated to the Linux Operating System,
and which holds meetings twice a month in Davis, CA.

Meetings are always free, and open to the public.


Please visit our website for details:

  http://www.lugod.org/



-bill!
[EMAIL PROTECTED]
http://www.lugod.org/


------------------------------

From: "Wong Ching Kuen Frederick" <[EMAIL PROTECTED]>
Subject: amanda and reiserfs
Date: Mon, 12 Mar 2001 16:36:28 +0800

how can i config amanda such that it works with reiserfs?!



------------------------------

From: "Eric" <[EMAIL PROTECTED]>
Subject: Re: Moving Linux from one hard drive to another
Date: Mon, 12 Mar 2001 10:37:23 +0100

> >
> > You must however take in consideration that PM is very strict on what is
> > allowed in
> > a partition table. As long as you stick to those restrictions, you're
OK.
> > Usually it's just so that different CHS values are used. Check what PM
uses,
> > and verify
> > that linux thinks the same. If not, don't use linux fdisk.
> >
> > If they are equal, use cfdisk (instead of fdisk).
> >
> > Eric
>
> PM documentation says for error #120: "This error occurs under some OSs
when
> logical partitions are not chained together in the expected order. DOS,
OS/2,
> Windows 95, and Windows NT require that logical partitions be chained
together
> in ascending order. ... Some versions of Linux FDISK utility chain logical
> partitions together in the order they are created..." Note particularly
"Some
> versions." Perhaps your version is different.

This would only occur if you add partitions in between existing partitions.
(Or perhaps make another primary after the extended partition?)
Anyway, if this occurs you can easily recreate the entire table, in the
correct order.
This is a simple task, no need to worry about it.

Did this occur?
Show me you `/sbin/fdisk -l /dev/hd[ab]` output
I can tell you what to change, and how to do it.

Eric



------------------------------

From: Christoph Kukulies <[EMAIL PROTECTED]>
Subject: Re: Help! partitioning woes with RH 6.1
Date: 12 Mar 2001 09:57:45 GMT

Eric <[EMAIL PROTECTED]> wrote:
:> I'm seeing strange things:
:>
:> When I install from a 6.1 install/boot floppy containing a 2.2.14 kernel
:> and partition after the following scheme:
:>
:> /boot /dev/hda1 16 MB
:> /     /dev/hda7 3.2 GB
:> swap  /dev/hda5 512 MB
:> /data /dev/hda6 35.5 GB (or whatever the rest to 41 GB is - disk is an
:> IBM-DTLA-304050 BIOS [Auto] 1024/255/63 CHS=8422 Max LBA 41174 MB
:>
:> and boot the first time after install my root disk
:> jumps to /dev/hda8 and is corrupted. (fsck fails).

I took a vacation from all that stress :-) Now I'm back. Thanks
for listening to my problems.

: What is hda8?

I got that when I created an additional 35 GB partition. It showed as
/dev/hda2, I believe, in disk druid but after the first boot the
partition order got mangled and /dev/hda8 suddenly appeared.

Anyway, here's the output of fdisk:

Script started on Mon Mar 12 10:19:57 2001
[root@myhost /root]# fdisk /dev/hda

The number of cylinders for this disk is set to 5005.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., LILO)
2) booting and partitioning software from other OSs
   (e.g., DOS FDISK, OS/2 FDISK)

Command (m for help): p

Disk /dev/hda: 255 heads, 63 sectors, 5005 cylinders
Units = cylinders of 16065 * 512 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/hda1   *         1         3     24066   83  Linux
/dev/hda2             4      5005  40178565    5  Extended
/dev/hda5             4        69    530113+  82  Linux swap
/dev/hda6            70       477   3277228+  83  Linux

Command (m for help): q

[root@myhost /root]# exit

Script done on Mon Mar 12 10:20:06 2001


: Can you make that partitiontable, using fdisk?



: Then install the new kernel, update lilo.conf, rerun `/sbin/lilo -v`
: and reboot, from HDD now, using the new kernel you just installed.
: Don't try to boot with the old kernel

:> Help! I'm pulling my hairs now. I installed at least 10 times
:> from the CD and get this partition table/FS weirdness.

: What weirdness, show me the table (fdisk -l /dev/hda)

See above.

I have a 2.2.17-14 kernel now and fdisk v2.9w
mke2fs 1.17, 26-Oct-1999 for EXT2 FS 0.5b, 95/08/09

I now want to create the /data FS from the remaining space.
I hope I can do it with the tools/kernel I have.

: Eric


-- 
Chris Christoph P. U. Kukulies [EMAIL PROTECTED]

------------------------------


** FOR YOUR REFERENCE **

The service address, to which questions about the list itself and requests
to be added to or deleted from it should be directed, is:

    Internet: [EMAIL PROTECTED]

You can send mail to the entire list by posting to comp.os.linux.misc.

Linux may be obtained via one of these FTP sites:
    ftp.funet.fi                                pub/Linux
    tsx-11.mit.edu                              pub/linux
    sunsite.unc.edu                             pub/Linux

End of Linux-Misc Digest
******************************

Reply via email to