Linux-Setup Digest #953, Volume #20              Fri, 30 Mar 01 15:13:08 EST

Contents:
  Re: Mandrake 7.2 problem ("Andy Walker")
  Re: Memory pb : 384M real, 64M effective (ai4a)
  Re: RH 7 Install Help!!! (Craig Kelley)
  Re: Swap:  how big? (Craig Kelley)
  Re: Kernel 2.4.2 and AMI Megaraid (Craig Kelley)
  Re: RH7 and HPT370  - progress, not success (Howard Gardner)
  Re: ATI Radeon graphics cards (Craig Kelley)
  Re: System hang on login (Craig Kelley)
  Re: Netscape 4.76 mail probs (Craig Kelley)
  Re: Need Help to Remove Linux and Merge Partitions (DeAnn)
  Booting up (Eric Lai)
  Re: install suse 7.1 via ftp server? (Kevin Croxen)
  Re: RedHat7.0 w/ Iomega Zip (Robert Singleton)
  Re: ATI Radeon graphics cards (Perry Pip)
  How to access kernel memory in my driver of Linux 2.2.12/2.4.x? (Gu Weining)

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

From: "Andy Walker" <[EMAIL PROTECTED]>
Subject: Re: Mandrake 7.2 problem
Date: Fri, 30 Mar 2001 19:08:21 -0000


Keith Perry wrote in message ...
>I can get Mandrake 7.0, 7.1, 7.2 to install with no complaints from
>software. BUT when the system reboots and Mandrake starts up I don't
>get a window to login to I get a command line and I just don't know
>what to enter after I login in..
>I can login as root or as user but that is where I get stuck..
>Any tips or advise would be of great help getting me on the road to
>being a Linux user..
>
>Keith
>
>--
>Posted via CNET Help.com
>http://www.help.com/


Typing startx and pressing the return key should start up the X-server. If
this doesn't work it should at least give you a list of errors. In the event
of errors it might be worth re-configuring X-windows. Instructions should be
in the man pages or on the site www.xfree86.org  about how to do this.
Normally Mandrake should boot straight into X-windows, Mandrake7.2 installer
even allows you to automatically log into a specific user without bothering
with a password. Did the installer probe your video card at all? If
xconfigurator doesn't detect the graphics card, it may not be compatible.
What make is it?



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

From: ai4a <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware,comp.os.linux.misc
Subject: Re: Memory pb : 384M real, 64M effective
Date: Fri, 30 Mar 2001 13:13:00 -0500

Pantalacci Christophe wrote:
> 
> Hi,
> 
> I've got this kind of problem :
> Linux only sees 64M of RAM. When I modify lilo.conf by adding
> append="mem=384M" and executing lilo, my whole system crashes at reboot with
> segmentation faults everywhere, and i must reinstall.
> 
> I've tried several distributions, like RedHat 7.0 and Mandrake 7.2, but
> nothing changes.
> I guess it's a hardware issue, maybe due to the VIA chipset.
> The config is the following :
> PIII 733 Mhz
> 3x128Mo RAM (100Mhz)
> Chipset VIA Apollo Pro
> 
> Thanks for the help
> 
> Christophe

Hi Christophe:
Does your video card use part of your memory? Try reducing the memory
from 384m to 376m. To be on the safe side, reduce it even more, such as
370m. if this works, slowly increase the memory until it fails and then
back off some.
Charles


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

From: Craig Kelley <[EMAIL PROTECTED]>
Subject: Re: RH 7 Install Help!!!
Date: 30 Mar 2001 11:14:50 -0700

[EMAIL PROTECTED] writes:

> Hi,
> 
> I am trying to install RH 7 from HDD using a boot floppy. the installer
> crashes giving error in Anaconda.... something like this..

  [snip anaconda trace]

You need to download the updated installer disks from your favorite
redhat mirror.

-- 
It won't be long before the CPU is a card in a slot on your ATX videoboard
Craig Kelley  -- [EMAIL PROTECTED]
http://www.isu.edu/~kellcrai finger [EMAIL PROTECTED] for PGP block

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

From: Craig Kelley <[EMAIL PROTECTED]>
Subject: Re: Swap:  how big?
Date: 30 Mar 2001 11:17:15 -0700

Tomaz Cedilnik <[EMAIL PROTECTED]> writes:

> Craig Kelley wrote:
> 
> > > wonder if the swapfile is big enough.  I have got 256 MB RAM, is a
> > > swapfile really even necessary?
> > 
> > YES.  You want a place to put stuff that isn't being used, and your
> > system will run slower without the swap file.  128MB is probably fine.
> 
> Doesn't it depend on how much memory gets used? I know about I/O
> buffers, but with a lot of RAM I don't think you should worry. Unless
> you have bigger needs.
> 
> I've got 128 MB RAM and 126 MB swap. Wouldn't for example 256 MB of RAM
> and no swap be better?

Yes, but 256MB with swap would be even better than that.

> However, since this is not much disk usage (comparing to gigabytes of
> disk size), I normally choose the swap partition to be same size as RAM.
> 
> Just remembered - when I bought a 128 MB RAM and installed Linux, I
> tried to make a swap partition bigger but it didn't let me. The
> explaination was that the first block is used for addressing others and
> therefore the limit is something like that if the blocks are 1k. Is it
> just that the old kernel and mkswap that don't support bigger swap? I've
> got Red Hat 6.0 (didn't like 6.1 with KDE, GNOME and user-unfriendly
> installation).

Strange, I have machines with much more swap space.  Perhaps it was a
limitation in older kernels (?)

-- 
It won't be long before the CPU is a card in a slot on your ATX videoboard
Craig Kelley  -- [EMAIL PROTECTED]
http://www.isu.edu/~kellcrai finger [EMAIL PROTECTED] for PGP block

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

From: Craig Kelley <[EMAIL PROTECTED]>
Subject: Re: Kernel 2.4.2 and AMI Megaraid
Date: 30 Mar 2001 11:19:46 -0700

Eugenio Mastroviti <[EMAIL PROTECTED]> writes:

> Hi,
> 
> I have recently set up a number of Dell 2400/2450 boxes, in different
> configurations, with RH 7.0 (yes, including the security patches, thank
> you...). They all have an AMI Megaraid controller (some are RAID-1, some
> RAID-5), and RH 7.0 works quite fine. I've downloaded and compiled the
> 2.4.2 kernel, and I have to say I'm impressed by how well it worked.
> Only snag is, we have an utility - the only one we could find - called
> megamgr, to manage the disk arrays. When I start it under kernel 2.4.2
> it complains it can't find the controller and dies. Under kernels 2.2.16
> and 2.2.18 it works just fine.
> Any clues?

You'll may need to update your tool; but it could be that you simply
forgot to configure your 2.4 kernel properly -- make sure all the
options that are selected for the 2.2 kernel are in your 2.4
configuration. 

-- 
It won't be long before the CPU is a card in a slot on your ATX videoboard
Craig Kelley  -- [EMAIL PROTECTED]
http://www.isu.edu/~kellcrai finger [EMAIL PROTECTED] for PGP block

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

From: Howard Gardner <[EMAIL PROTECTED]>
Subject: Re: RH7 and HPT370  - progress, not success
Date: Fri, 30 Mar 2001 18:19:37 GMT

Well, this is as far as I got.  I'm stuck because neither FDISK nor Disk 
Druid recognize the RAID as a single disk.  They both think it's four 
disks, and want to "fix" them.  I presume that "fixing" them would be a 
bad idea.

2001/03/30
Howard Gardner ([EMAIL PROTECTED])

NOTE: This howto doesn't work!

I've got an ABIT KT7A-RAID, which used the HPT370.  Installing redhat 7 
on this system was curvy-backward--in fact, I have yet to succede. I'm 
sharing these notes anyway, so that others can get as far as I got 
quickly, in the hope that someone can take it the rest of the way (and 
tell me how, of course.)

All that I'm adding to this effort is the howto that you're reading: 
others have done the real work, and I appreciate them for it.  Mike 
Brancato ([EMAIL PROTECTED]) put together the disk images at the 
center of this process, so I appreciate him especially.

I'm starting with a four-disk RAID 0 (striped).  The overall drive size 
is 240G.  I'm dual booting Windows ME (wME) and Windows 2000 (w2K) using 
the w2k boot manager.  Both are installed on the first partition, which 
is 64G in size.  The remaining space on the drive is unpartitioned.

I hope to finish with the same system multi-booting wME, w2K, and redhat 
7.0 (rh7).

Throughout this process, I'm using both wME tools and rh7 tools.  I'll 
try to make it clear which tools I'm using at any particulat moment, 
where I got them from, and which OS I ran them on.

///////////////////////////////////////////
1. Get the disk images.
///////////////////////////////////////////
http://sweb.uky.edu/~mabran3/linux/misc/

I used Mozilla from http://wwww.mozilla.org to get these images, using 
"save link as" from the right click menu to get the images into local 
files.  I'm going to assume that you did it this way too, and that you 
wound up with these files in the raw image directory:

rh70-2.4.bootkernel.img
rh70-ata66-100.boot.img
rh70-ata66-100-1.img
rh70-ata66-100-net.img

This procedure doesn't actually use rh70-ata66-100-net.img, but I 
downloaded it anyway.  You don't have to.

///////////////////////////////////////////
2. Make the disks.
///////////////////////////////////////////
This is described in redhat's "Installation Guide", section 3.5.2.  In 
my version of the manual, it starts on page 18.

The key utility is a dos (ie, wME dos box) program on "Red Hat Linux 7
Operating System CD1." The path (use your own CD drive letter) is
D:\DOSUTILS\RAWRITE.EXE."

In order to avoid typing directory paths, I copied this utility to the
directory into which I previously downloaded the images.  The following
commands assume that you do this too.

You'll need 3 1.44M floppies (4 if you decide to make the net img for 
some reason).  The contents of these floppies will be overwritten.

At this point, I discovered that rawrite insists on full pathnames and
suffers from the old dos 6.3 file naming limits. I copied the whole 
directory to c:\AAA and renamed the .img files:

rh70-2.4.bootkernel.img -> bootk.img
rh70-ata66-100.boot.img -> boot.img
rh70-ata66-100-1.img -> ata66_1.img
rh70-ata66-100-net.img -> net.img

To make the disks:

Insert disk in a.
enter: rawrite -f c:\aaa\ata66_1.img -d a: -n
switch disks.
enter: rawrite -f c:\aaa\boot.img -d a: -n
switch disks.
enter: rawrite -f c:\aaa\bootk.img -d a: -n
switch disks.
enter: rawrite -f c:\aaa\net.img -d a: -n

///////////////////////////////////////////
3. Install Redhat
///////////////////////////////////////////
This is also described (thoroughly) in redhat's "Installation Guide."

You'll boot from the disk with boot.img on it.  Not the boot disk in the 
box, and not the CD-ROM in the box either.

The installation will in fact recognize the drives, but not as a RAID.

**** As far as I was able to get.  FDISK and Disk DRUID didn't recognize 
the RAID as one drive. ****


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

From: Craig Kelley <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware
Subject: Re: ATI Radeon graphics cards
Date: 30 Mar 2001 11:22:27 -0700

[EMAIL PROTECTED] (Perry Pip) writes:

> On 29 Mar 2001 08:53:23 -0700, 
> Craig Kelley <[EMAIL PROTECTED]> wrote:
> >[EMAIL PROTECTED] (Melvin Gators) writes:
> >
> >> Do these graphics cards work well under linux?  Anyone tried the
> >> Radeon LE cards yet?
> >
> >2D works fine.
> >
> >3D does not at all (usually).
> >
> 
> ??
> 
> Mine seems to work rather well in 3d, in quake3, UT and Sof. You have
> to do a build from DRI CVS though. It probably won't make into the
> dists untill one has Xfree 4.1.

Mine segfaults horribly on last week's CVS (Radeon 32DDR AGP 4x).

-- 
It won't be long before the CPU is a card in a slot on your ATX videoboard
Craig Kelley  -- [EMAIL PROTECTED]
http://www.isu.edu/~kellcrai finger [EMAIL PROTECTED] for PGP block

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

From: Craig Kelley <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux.caldera,alt.linux
Subject: Re: System hang on login
Date: 30 Mar 2001 11:26:49 -0700

"Daeton.com" <[EMAIL PROTECTED]> writes:

> I have Caldera Open Linux from the "Linux for Dummies" release set.
> 
> When logging in as my user kde begins to load but after about an hour I
> finally get a message and it says....
> 
> nfs:  RPC call returned error 111
> RPC:  task of released request still queued!
> RPC:  (task is on xprt_pending)
> 
> Does anyone have any ideas what I could do?

You could try not starting NFS at boot time to see if it fixes it (if
it does, then you have some sort of bug or configuration problem with
NFS).  I haven't used Caldera in years, but if I remember correctly,
it uses SYSV-style init and you can remove it by running this command
as the root user:

 find /etc/rc.d -name 'Snfs*' -exec rm {} \;

-- 
It won't be long before the CPU is a card in a slot on your ATX videoboard
Craig Kelley  -- [EMAIL PROTECTED]
http://www.isu.edu/~kellcrai finger [EMAIL PROTECTED] for PGP block

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

From: Craig Kelley <[EMAIL PROTECTED]>
Subject: Re: Netscape 4.76 mail probs
Date: 30 Mar 2001 11:28:56 -0700

Chris Boner <[EMAIL PROTECTED]> writes:

> Has anyone else had problems with Netscape Messenger in version 4.76?
> My address book refuses to allow me to insert or import any addresses.
> It also continually changes my "Sent Mail" folder (using IMAP) to a
> folder that does not exist ("Sent%2 Mail" rather than just "Sent Mail")
> regardless of how many times I change it back in the Preferences.  I
> have version 4.72 at home and it works swimmingly.  Here at work I am
> networked with a server.  The other person on the network who uses
> Netscape mail has the same problem.
> 
> My questions are:
> (1) How do I uninstall 4.76 and install 4.72?  I tried, as superuser,
>         rpm -e netscape-common
> and
>         rpm -e netscape-communicator
> but I am told either that I can't remove one because it depends on the
> other or that the one I am trying to remove doesn't exist, seeming
> contradictory error messages.
> 
> (2) Is this likely to solve my problem anyway?
> (3) Is there a better mail option that would allow me IMAP access with
> an addressbook, preferably one that can be imported.
> 
> Thanks in advance! -Chris

Try them both on the same line:

rpm -e netscape-common netscape-communicator

And if you must:

rpm -e --nodeps netscape-common netscape-communicator

rpm --force --nodeps -i netscape-common-4.72xxxx.rpm netscape-communicator-4.72xxxx.rpm

-- 
It won't be long before the CPU is a card in a slot on your ATX videoboard
Craig Kelley  -- [EMAIL PROTECTED]
http://www.isu.edu/~kellcrai finger [EMAIL PROTECTED] for PGP block

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

From: [EMAIL PROTECTED] (DeAnn)
Subject: Re: Need Help to Remove Linux and Merge Partitions
Date: Fri, 30 Mar 2001 18:59:19 GMT

On 29 Mar 2001 23:15:10 -0600, [EMAIL PROTECTED] (Cory
Phillips) wrote:

>I installed Linux on a 2 Gig drive and have now decided to put the drive
>back in my Windows box after purchasing a bigger drive for Linux.
>
>My question is, is there software, other than Partition Magic, which can
>merge all the Linux partitions (/, /boot, /proc, /home, etc.) to a single
>Windows partition?  Or at lease make the drive have only one partition so
>I can reformat it for Windows 98?
>
>Right now, if I just configure the drive as a slave, Windows can't see it
>even though the drive is listed in the BIOS.
>


   Copy any Linux information you need to your new drive.  Then use
linux fdisk to delete the linux partitions on the small drive.  You
may want/need to boot linux from a floppy to do this.  That should
free up the drive space so that windows can see it.  Windows
understands MS file structures (enought to recognize them, at least)
and free disk space.  Windows does not undertand the multitude of file
structures that other OSs use.

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

From: Eric Lai <[EMAIL PROTECTED]>
Subject: Booting up
Date: Fri, 30 Mar 2001 11:13:40 -0800
Reply-To: [EMAIL PROTECTED]

How do you get Windows NT to boot from Lilo or Linux from NT Bootloader

I've tried doing what the mini-faq or faq says, but i can't seem to get
it to work.
Can someone help me?
I'm currently 3 booting wiht lilo booting into Nt bootloader for windows
nt/98


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

From: [EMAIL PROTECTED] (Kevin Croxen)
Subject: Re: install suse 7.1 via ftp server?
Date: 30 Mar 2001 19:20:50 GMT

Assuming you have a 7.0 or above YaST bootdisk, the correct 
path for 7.1 would be: ftp.suse.com/pub/suse/i386/7.1/

--Kevin



In article <[EMAIL PROTECTED]>, mungus wrote:
>so far i manage to logon to suse ftp server(s)(i tried couple of mirror 
>sites)but when it ask me for suse directory (eg. /systems/linux/suse)it 
>can't initialize the setup (it can't find setup files for some reason). I 
>also tried all subdirectories but it didn't work. I don't have problems 
>accessing(copying) those directories trough a windows based ftp program.
>I guess you been ask this question 1000x before but...
>what am i doing wrong?
>
>truly (and pissed off at himself),
>
>mungus
>
>PS: now i thought of something (but i'm not near by my computer so i can't 
>test it). maybe i was using the wrong 'slash' -> / \ f@ck!!!!
>
>--
>Posted via CNET Help.com
>http://www.help.com/

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

From: Robert Singleton <[EMAIL PROTECTED]>
Subject: Re: RedHat7.0 w/ Iomega Zip
Date: Fri, 30 Mar 2001 13:34:31 -0700

"ne..." wrote:
> 
[....]
> Or on valis the zip drive is internal and on ubic it is
> external.......
 
On both valis and ubic the zip drives are internal, and presumably
the master on the primary IDE chain. I have also turned off the 
BIOS zip control on both machines. It's all very strange! On valis
I have to mount device /dev/sdc and on ubic /dev/sdc4. And this is
for both ext2 and FAT32 formatted zip disks. Go figure.


-- 
Robert Singleton                     office: (505)-667-5382
X-7 Condensed Matter                 fax   : (505)-665-3700
Los Alamos National Laboratory       email : [EMAIL PROTECTED]
P.O. Box 1663, MSB285                PGP public key: "www.keyserver.net"
with 
Los Alamos, NM 87545                 user id "Robert Singleton
<[EMAIL PROTECTED]>"

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

From: [EMAIL PROTECTED] (Perry Pip)
Crossposted-To: comp.os.linux.hardware
Subject: Re: ATI Radeon graphics cards
Date: 30 Mar 2001 19:38:33 GMT
Reply-To: [EMAIL PROTECTED]

On 30 Mar 2001 11:22:27 -0700, 
Craig Kelley <[EMAIL PROTECTED]> wrote:
>[EMAIL PROTECTED] (Perry Pip) writes:
>
>> On 29 Mar 2001 08:53:23 -0700, 
>> Craig Kelley <[EMAIL PROTECTED]> wrote:
>> >[EMAIL PROTECTED] (Melvin Gators) writes:
>> >
>> >> Do these graphics cards work well under linux?  Anyone tried the
>> >> Radeon LE cards yet?
>> >
>> >2D works fine.
>> >
>> >3D does not at all (usually).
>> >
>> 
>> ??
>> 
>> Mine seems to work rather well in 3d, in quake3, UT and Sof. You have
>> to do a build from DRI CVS though. It probably won't make into the
>> dists untill one has Xfree 4.1.
>
>Mine segfaults horribly on last week's CVS (Radeon 32DDR AGP 4x).
>

Try turning AGP down to 2x or 1x. My Xserver has been unstable at 4x,
and I get no performance gain at 4x. However I suspect that won't help
you if it is segfscking.

On any given day, I'd say there's about a 2/3 chance a CVS build will
work for me.  When I get a stable build, I archive it. I've actually
got a few stable builds archived so I probably won't blowing off any
more time doing CVS downloads untill they've added some
performance/features to make it worth the time.

So all I can say is keep trying, as you have time to do so of
course. If you get the same problem over and over agian post it on the
dri-devel mailing list. When you get a build that works, be sure and
archive it (tarball /usr/X11R6-DRI) before you try installing any new
builds.

>It won't be long before the CPU is a card in a slot on your ATX videoboard

Oh Gosh. Your CPU scheduler and ISR's will be modules inserted into
your video kernel. Hope you get the above problem ironed out by that time.

Perry


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

From: Gu Weining <[EMAIL PROTECTED]>
Subject: How to access kernel memory in my driver of Linux 2.2.12/2.4.x?
Date: Fri, 30 Mar 2001 14:09:14 -0600


I tried to read/write kernel memory through my char driver.
My driver works perfectly in 2.0 version. However, when I
ported my code to 2.2 version(to 2.4 later after I succeed in 2.2),
I always got wrong info.

Would you please help me ASAP? Thanks a lot.

Weining Gu



1. My char driver code works perfectly in 2.0 as follows:
   (I can read/write any kernel symbols /boot/System.map by address)

static int abc_ioctl (struct inode *inode, struct file *filp,
                        unsigned int cmd, unsigned long arg)
{
  unsigned long address;
  unsigned long tmp;
  unsigned long value;
  ...
  switch(cmd) {
  case MEMDS_BAR:
    if (verify_area(VERIFY_WRITE, (void *)arg, sizeof(int *))) {
      return -EINVAL;
    }
    address = get_user((int *)arg);
    tmp = virt_to_phys((void *)address);
    memcpy_tofs( (void *)arg, (void *)tmp, sizeof(int)); /*send to user
space*/
    (value) = (*(int *)tmp)^16;
    (*(int *)tmp) = value;
    printk("<1> 0x%08x -> tmp=0x%08x(modified=0x%08x)\n",
            (int)address, *(int *)tmp, value);
    break;
    default:  /* redundant, as cmd was checked against MAXNR */
    return -EINVAL;
  }

  return 0;
}

2. My char driver code does NOT work in Linux 2.2.12 version as follows:

   (I cannot access any memory from 0 to cxxxxxxx)
   (I got either segmentation fault or copy_to_user(..) return 1)

static int xyz_ioctl (struct inode *inode, struct file *filp,
                       unsigned int cmd, unsigned long arg)
{
  unsigned long address;
  int tmp;
  unsigned long value;
  ...
  switch(cmd) {
    case MEMDS_BAR:
      if( get_user(address, (int *)arg) )  return -1;
      tmp = virt_to_phys((void *)address);
      value = (*(int *)tmp)^16;
      (*(int *)tmp) = value;
      if ( copy_to_user ((void *)arg, (void *)&tmp, sizeof(int)) )
return -1;
      break;
    default:
    return -1;
  }
  return 0;
}




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


** 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.setup.

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-Setup Digest
******************************

Reply via email to