Linux-Hardware Digest #317, Volume #10           Tue, 25 May 99 01:13:34 EDT

Contents:
  Re: i'm killed 3 cd-rom drives!!! (Uwe Borchert)
  memfinder  -- help find open ISA memory ("Kyle Bowerman")
  Re: Problems with an AMD K6-III 400 Mhz processor and Linux ("Huylebroeck Jérémy")
  dual vga ("Maria Joâo Correia")
  Re: memfinder  -- help find open ISA memory (Robert Lynch)
  Re: How to mount a mo drive? (Jim Harvey)
  Internal Modem Help ("Xanatos")
  Re: How do you know if you have a WinModem? ("esoteric")
  Re: Will a SupraExpress 56i modem run under linux? ("esoteric")
  Re: Lexmark 1020 (John Hong)
  Re: Slow Mouse ("Peter A. Koren")
  Re: Yamaha DS-XG (Tomas Barros)
  Re: Hard drive flipping bits! ("esoteric")
  Re: How do u install an LS-120 (John Hong)
  Re: Lexmark 1020 (DB7654321)
  Getting IBM 4019 to work (Alexander Skwar)
  Re: SCSI CDROM not working after install (diahedrial)
  Re: 3D accel for Voodoo3? ([EMAIL PROTECTED])
  Re: Adaptec 2940UW PCI problem (eveltman)

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

Crossposted-To: comp.os.linux,comp.os.linux.admin,comp.os.linux.help
From: [EMAIL PROTECTED] (Uwe Borchert)
Subject: Re: i'm killed 3 cd-rom drives!!!
Reply-To: [EMAIL PROTECTED] (Uwe Borchert)
Date: 25 May 1999 00:44:17 +0100

Hi

>
> does anyone know why i keep destroying cd-rom drives while trying to install
> Linux.  i can install Linux (Redhat 5.1 or 5.2) just fine when using my old
> 4x cd-rom drive.  but when ever i've tried installing Linux using one of
> those new UDMA drives i've killed it.  i've wrecked a 24x, a 32x and a 36x
> cd-rom drives.
>
> why is this happening????  why is everyting ok with my 4x.
>
Its the speed. I said this a few jears ago and everybody told me a fool. But 
if you spin the CD very fast you have more problems with the force on the 
bearing caused by asymmetry (exact in german "Unwucht" but I can't find the
english word in the dictonary, sorry) of the disk. Another fact is the higher
stress on the mechanics (german "Fuehrung" -> guidance?) for the laser. This 
will reduce the lifetime of a cdrom drive rapidly. I noticed that the 8x and 
faster cdrom drives dies faster than slower ones. If you add another small
problem with the device driver you should be able to kill your cdrom drive 
without any great efforts.

Bye
-- 
  (.)(.)
 (  ..  )
~~~~~~~~~~
Uwe Borchert

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

From: "Kyle Bowerman" <[EMAIL PROTECTED]>
Crossposted-To: 
comp.os.linux.development,alt.os.linux.slackware,comp.os.linux.networking
Subject: memfinder  -- help find open ISA memory
Date: Mon, 24 May 1999 21:45:41 -0600

I have built a controler from Bruce Chubbs book "Building your own universal
Computer Interface" and my first step is to
find an empty 256k chunck in memory below 1 M.  I have code written in
QBasic to do such but I am try to build a driver for linux.
and I need to find an empty hole so I can set my dip switches on the board.

I have lifted the code below from Alessandro Rubini's book "Linux Device
Drivers" and when I try to complie the code I get many errors (26)
I am a pretty poor programer but I copied it verbatium except for the two
#include lines
Can anyone please advice.

Thanks in advance
Kyle bowerman
[EMAIL PROTECTED]


#include <linux/kernel.h>
#include <asm/system.h>

volatile unsigned char *ptr; /*pointed data is volitele */
unsigned char oldval, newval; /* values read from memory */
unsigned long flags;  /* used to hold system flags  */
unsigned long add, i;

/* probe all the momory hole in 2kb steps */
for (add = 0xA0000; add < 0x100000; add += 2048)
  {
    ptr = (unsigned char *) add;

    save_flags (flags);
    cli ();
    oldval = *ptr;  /* read a byte */
    *ptr = oldval^0xff; /* change it */
    newval = *ptr;  /* re read      */
    *ptr = oldval;  /* retore       */
    restore_flags (flag);

/*FIXME -- user getmem_fromio or such                   */
    if ((oldval ^ newval) == 0xff)
      {    /*we re-read our changes: it's ram     */
 printk (KERN_INFO "%lx:  RAM\n", (long) ptr);
 continue;
      }

/*
   * expansion rom (executed at boot time by the bios)
   * has a signature of 0x55, 0xaa, and the third byte tells
   * the size of such rom
 */

    if ((*ptr == 0x55) && (*(ptr + 1) == 0xaa))
      {
 int size = 512 * *(ptr + 2);
 printk (KERN_INFO "%lx: Expansion ROM, %i bytes\n",
  (long) ptr, size);
 add += (size & ~2048) - 2048; /* skip it */
 continue;
      }

/*
   * If the test above failed, we still don't know if it is ROM of
   * empty.  Since empty memory can apppear as 0x)), 0xff, or the low
   * address byte, we must probe mutilple bytes: if at least on the
   * them is diffrent from thjese three calues, then this is rom
   * (through not boot rom)
 */

    printk (KERN_INFO "%lx: ", (long) ptr);
    for (i = 0; i < 5; i++)
      {
 ptr += 57;  /* a random value  */
 if (*ptr && *ptr != 0xFF && *ptr != ((long) ptr & 0xFF))
   break;
      }
    printk ("%s\n", i == 5 ? "empty" : "ROM" 0;
            }




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

From: "Huylebroeck Jérémy" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup,comp.os.linux.x,linux.redhat.misc
Subject: Re: Problems with an AMD K6-III 400 Mhz processor and Linux
Date: Mon, 24 May 1999 23:27:13 +0200

Hi

I installed RedHat 6 one week ago on my K6-2 330. I have segmentation fault
too, a lot.
for example : "su" command  under a user account to become root take 30-40
seconds to accpet the password or do a segmentatin fault.
I have problem with X session too, it takes a long time to start (.xauth
timeout)
And the system is not very stable. I frooze X session several time just by
launch it.

Does it comes from the 2.2.5-15 kernel ? from the K6-2 ? I don't know.

The 5.2 worked fine before with 2.0.36.

Huylebroeck Jeremy
[EMAIL PROTECTED]



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

From: "Maria Joâo Correia" <[EMAIL PROTECTED]>
Subject: dual vga
Date: Tue, 25 May 1999 01:07:58 +0200

Hi,


I need to know if it is possible to use two vga cards
in the same system, using linux. And, if so, how to setup
such system.

Thanks in advance.

Jorge Lima



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

Date: Mon, 24 May 1999 20:11:05 -0700
From: Robert Lynch <[EMAIL PROTECTED]>
Crossposted-To: 
comp.os.linux.development,alt.os.linux.slackware,comp.os.linux.networking
Subject: Re: memfinder  -- help find open ISA memory

You probably need the Makefile/command line switches for gcc, for
example:

cc -D__KERNEL__ -DMODULE -O -Wall -I/usr/include   -c skull_init.c -o
skull_init.o
cc -D__KERNEL__ -DMODULE -O -Wall -I/usr/include   -c skull_clean.c -o
skull_clean.o
ld -r skull_init.o skull_clean.o -o skull.o

Do you know you can download the Rubini book code plus Makefiles from:

ftp://ftp.ora.com/pub/examples/linux/drivers/

HTH. Bob L.
-- 
Robert Lynch-Berkeley CA [EMAIL PROTECTED]
http://www.best.com/~rmlynch/
--
Kyle Bowerman wrote:
> 
> I have built a controler from Bruce Chubbs book "Building your own universal
> Computer Interface" and my first step is to
> find an empty 256k chunck in memory below 1 M.  I have code written in
> QBasic to do such but I am try to build a driver for linux.
> and I need to find an empty hole so I can set my dip switches on the board.
> 
> I have lifted the code below from Alessandro Rubini's book "Linux Device
> Drivers" and when I try to complie the code I get many errors (26)
> I am a pretty poor programer but I copied it verbatium except for the two
> #include lines
> Can anyone please advice.
> 
> Thanks in advance
> Kyle bowerman
> [EMAIL PROTECTED]
> 
> #include <linux/kernel.h>
> #include <asm/system.h>
> 
> volatile unsigned char *ptr; /*pointed data is volitele */
> unsigned char oldval, newval; /* values read from memory */
> unsigned long flags;  /* used to hold system flags  */
> unsigned long add, i;
> 
> /* probe all the momory hole in 2kb steps */
> for (add = 0xA0000; add < 0x100000; add += 2048)
>   {
>     ptr = (unsigned char *) add;
> 
>     save_flags (flags);
>     cli ();
>     oldval = *ptr;  /* read a byte */
>     *ptr = oldval^0xff; /* change it */
>     newval = *ptr;  /* re read      */
>     *ptr = oldval;  /* retore       */
>     restore_flags (flag);
> 
> /*FIXME -- user getmem_fromio or such                   */
>     if ((oldval ^ newval) == 0xff)
>       {    /*we re-read our changes: it's ram     */
>  printk (KERN_INFO "%lx:  RAM\n", (long) ptr);
>  continue;
>       }
> 
> /*
>    * expansion rom (executed at boot time by the bios)
>    * has a signature of 0x55, 0xaa, and the third byte tells
>    * the size of such rom
>  */
> 
>     if ((*ptr == 0x55) && (*(ptr + 1) == 0xaa))
>       {
>  int size = 512 * *(ptr + 2);
>  printk (KERN_INFO "%lx: Expansion ROM, %i bytes\n",
>   (long) ptr, size);
>  add += (size & ~2048) - 2048; /* skip it */
>  continue;
>       }
> 
> /*
>    * If the test above failed, we still don't know if it is ROM of
>    * empty.  Since empty memory can apppear as 0x)), 0xff, or the low
>    * address byte, we must probe mutilple bytes: if at least on the
>    * them is diffrent from thjese three calues, then this is rom
>    * (through not boot rom)
>  */
> 
>     printk (KERN_INFO "%lx: ", (long) ptr);
>     for (i = 0; i < 5; i++)
>       {
>  ptr += 57;  /* a random value  */
>  if (*ptr && *ptr != 0xFF && *ptr != ((long) ptr & 0xFF))
>    break;
>       }
>     printk ("%s\n", i == 5 ? "empty" : "ROM" 0;
>             }

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

From: Jim Harvey <[EMAIL PROTECTED]>
Subject: Re: How to mount a mo drive?
Date: Tue, 25 May 1999 01:29:51 +0000

Cheuk Wai TAI wrote:
> 
> does anyone know how to mount fujitsu mo since I can't mount the
> MO although the kernel included the scsi generic device? On the other
> hand, my scsi zip drive can run perfectly.

I have a Fujitsu 2513A.  It uses 512 byte sectors.  it mounts fine with
mount -t ext2 /dev/sdb /mnt/MO          for Linux formatted 230 meg disk
mount -t vfat /dev/sdb /mnt/MO          for dos formatted disk

I have
/dev/sdb    /mnt/MO   auto    noauto,mask=022,exec,user  0   0
in my /etc/fstab and it usually comes up OK with just mount /mnt/MO. 
The
Auto doesn't always find the right file system though.
-- 
    Jim Harvey, Naperville, Ill.  Amiga person - Linux person - WB8NBS/9
        This message came from Netscape running on a LINUX machine!
                He who dies with the most software wins.

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

From: "Xanatos" <[EMAIL PROTECTED]>
Subject: Internal Modem Help
Date: Tue, 25 May 1999 02:28:13 GMT

Hi everyone.

    I recentlly switched from an external modem to an internal (PCI) modem.
It's a SupraExpress 56K modem (definately not a Winmodem).  Unfortunately I
do not know how to get Linux to recognize the device.  It doesn't seem to be
present on /dev/modem or /dev/cua?.  I'm guessing that I have to inform
linux of its presence somehow, but don't know how to go about doing it
(recompile the kernel maybe)?  If it is of any use I'm running a modifed
installation of Redhat 5.1 (I've installed KDE and some additional Apps. as
well as upgraded the kernel which is currently 2.0.35).

    Any help anyone can offer me on this problem would be greatly
appreciated as there really is no such thing as productivity under Windows.

Thanks.

Jeffrey Nuremburg / [EMAIL PROTECTED]



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

From: "esoteric" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup
Subject: Re: How do you know if you have a WinModem?
Date: Mon, 24 May 1999 16:40:43 -0700

Stay away from any pci modem, plain and simple.


 - of the winmodems, the supra max is one of the better ones, because it
isn't missing the controller and data pump, just the data pump. the
controller can have an emulated irq, which is why this modem works in dos
because they have special emulation software, but this *is* a winmodem,
throw it away. take it back and get the SupraExpress.





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

From: "esoteric" <[EMAIL PROTECTED]>
Crossposted-To: 
comp.os.linux.help,comp.os.linux.misc,comp.os.linux.networking,comp.os.linux.questions,comp.os.linux.setup
Subject: Re: Will a SupraExpress 56i modem run under linux?
Date: Mon, 24 May 1999 16:37:22 -0700

This modem will work fine. It is a true hardware based modem using the
RC56KDPF chipset. The only "winmodem" diamond makes is the SupraMax (stay
away from that piece of #$%#$^)

a good init for this modem is AT&F2 (set's autoreliable mode) to set v.34
just put +ms=11,1,300,33600 (or desired max speed)




Ozzy <[EMAIL PROTECTED]> wrote in message
news:2A523.14487$[EMAIL PROTECTED]...
> X-Priority: 3
> X-MSMail-Priority: Normal
> X-Newsreader: Microsoft Outlook Express 5.00.2314.1300
> X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
>
> Anybody running this modem under linux?
> successfully?
>
>



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

From: [EMAIL PROTECTED] (John Hong)
Subject: Re: Lexmark 1020
Date: 25 May 1999 03:26:01 GMT

DB7654321 ([EMAIL PROTECTED]) wrote:
: Is there a linux driver for the Lexmark 1020?  If not is there a compatible
: driver for it?

        Depends on the model.  There were two Lexmark 1020's, Model 
4078-001 and 4078-002.  001 had PCL3 emulation on board meaning you could 
use it as a HP 500/500C printer.  The 002 however was a WinPrinter and 
had no emulation on board.



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

From: "Peter A. Koren" <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Subject: Re: Slow Mouse
Date: Mon, 24 May 1999 22:33:46 -0500

Jonas Norling wrote:
> 
> "Peter A. Koren" wrote:
> > I just installed Red Hat 6.0 on my computer which is set up with a
> > Logitech Trackman Marble connected to a PS/2 port. It works, but the
> > mouse is too slow, even when the settings in either Gnome or KDE are
> > configured for maximum acceleration. The setting adjustments do work, it
> > is just that the control "gain" is to low. There is not enough
> > acceleration available.
> 
> I don't know about RedHat, but in Debian I use xset to set the mouse
> acceleration.
> Settings like "xset m 10" gives _extreme_ acceleration, so I suppose it
> would be enough. Then there must be some way to set the _speed_ too, I
> don't know, anyone?
> 
> //Jonas Norling <[EMAIL PROTECTED]>

xset 8 makes things bearable.

Thanks,

Pete Koren

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

From: Tomas Barros <[EMAIL PROTECTED]>
Subject: Re: Yamaha DS-XG
Date: Tue, 25 May 1999 11:28:09 +0900

Gnork wrote:
> 
> Hi all
> 
> I've got a Yamaha DS-XG (I think DS-XG50) and it seems that Linux does not
> support it yet.
> I run RH 6.0. And I tried to cheat and using SB and stuff like that but
> obviously it won't work.
> Anyway, if there is a sndconfig that allow me to configure and use that card
> that would be cool. Otherwise, I'll have to use it when I run (*sigh*) NT
> 4.0 Service Pack #1.359e1275.
> 
> Thanks.
> 
> G.

http://www.opensound.com

Regards

-- 
Tomas Barros
mailto:[EMAIL PROTECTED]

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

From: "esoteric" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup,comp.os.linux.misc
Subject: Re: Hard drive flipping bits!
Date: Mon, 24 May 1999 16:26:55 -0700

bad ram.



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

From: [EMAIL PROTECTED] (John Hong)
Subject: Re: How do u install an LS-120
Date: 25 May 1999 03:29:26 GMT

Gene Heskett ([EMAIL PROTECTED]) wrote:

: Voila! I now have 6 ea 119 megabyte disks to use with linux.  They have
: to be mounted to a mountpoint (I use /mnt/ls120 as that mountpoint)
: before they can be used, and they aren't particularly fast at about 1/2
: a meg a second (hdparm -t /mnt/ls120) read, and much slower than that
: when writing, but they make a good place to stash stuff I need before I
: can get a stock 5.2 install to actually work on my hardware.

        The newer 2x LS-120 models are faster and also (big bonus) quieter!


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

From: [EMAIL PROTECTED] (DB7654321)
Subject: Re: Lexmark 1020
Date: 25 May 1999 04:07:34 GMT

>Depends on the model.  There were two Lexmark 1020's, Model 
>4078-001 and 4078-002.  001 had PCL3 emulation on board meaning you could 
>use it as a HP 500/500C printer.  The 002 however was a WinPrinter and 
>had no emulation on board.

Thanks.  I have 4078-001.  Will I still be able to print in color?

David Bell

Please don't email me just reply on the board.

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

From: Alexander Skwar <[EMAIL PROTECTED]>
Subject: Getting IBM 4019 to work
Date: 24 May 1999 22:44:50 GMT

Hi!
I´ve got quite some problems to set up an IBM 4019 under linux.  It is
labeled as "4019-001", Manufactured "June, 1991" ,-) on the back.

I've got myself the 4019util program (lazerdrvr or something like that)
from the Lexmark webpage.  With this program I've set the printer to HP
emulation mode (or so I think at least).

Next I´ve set up the laserjet printer filter on my linux box.  When I
print a postscript page, I get some output, but this output looks like
the postscript ASCII source, so not quite what I intended.

After that I tried the LaserJet2p filter.  With this filter, the
postscript gets decoded, but the output is totally unreadable, as the
lines are somewhat mangled, and on the left hand side of the paper I´ve
got some thick black lines.

Having done that, I checked out the LaserJet3 filters.  No luck with
these either; postscript get's decoded, but lines are even less readable.

Well, it seems like I'm out of luck.  Does anyone have some ideas, about
how to set up this printer with linux?

Oh, the software I use:
- RedHat 5.2
- printtool 3.40
- rhs-printfilters 1.50
- ghostscript 5.50

Did I forget to mention anything ?  If so, please pester me:-)

Thanks, and so long,

Alexander Skwar
-- 
My Site : http://www.digitalprojects.com
To get my PGP key, send me an email with the Subject: Send PGP Key.

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

From: diahedrial <[EMAIL PROTECTED]>
Subject: Re: SCSI CDROM not working after install
Date: Mon, 24 May 1999 16:38:12 -0700

You must "mount" the cd-rom before you can access it. What mount 
command line are you using to mount the CD? Try:
mount /mnt/cdrom
  or
mount -t iso9660 /dev/scd0 /mnt/cdrom
If mount fails, make sure that the driver for the SCSI is loaded, 
I don't use an in-2000 scsi card, so I don't know what the driver
name would be... but you can use the "insmod" command to load the 
driver if it hasn't loaded, you can't use devices attached to it.

Yusuf wrote:
> 
> I am using an IN-2000 SCSI card with a Pioneer SCSI CD-ROM. During boot, I
> sometimes get a "spurious FIFO interrupt" message when Linux boots. I am
> using IRQ 15, I/O 220, which, under DOS, shows no hardware conflicts.
> 
> I have installed Linux from this very SCSI host and device combo several
> times, and have used every combo of IRQ and I/O it offers, and have only on
> a couple of occasions been able to get the CD-ROM to work once the system
> has rebooted from the install.
> 
> A cd /mnt/cdrom works, but a dir produces nothing. A umount tells me the
> device is not mounted, and a mount says the device is already mounted or is
> busy.
> 
> I am very new to Linux (using RedHat 5.1) and this is very frustrating. I
> have in six installs only managed to get the X windows to work properly
> once. I wanted to load an application from the Apps CD in the RedHat retail
> package, but then the CD would not work as described above.
> 
> At any rate, perhaps if someone could shed some light on where to possibly
> look for a conflict, I'd appreciate any input. I have reviewed all of my
> current settings for all installed hardware, and cannot find any IRQ or I/O
> conflicts.
> 
> The box itself is an old AST 486 66Mhz Bravo MT with a single IDE channel.
> It has 2 IDE drives (Maxtors - 1.2 GB and 340 MB). It does not have a NIC or
> any ISA slot cards except the SCSI host. The video is an ATI 32 (it is
> listed in the drivers list). Pretty simple but barebones setup with no real
> unusual stuff that does not have a driver listed in the install program.
> 
> Thanks!
> 
> Yusuf

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

From: [EMAIL PROTECTED]
Subject: Re: 3D accel for Voodoo3?
Date: Mon, 24 May 1999 09:13:59 -0500

Chris wrote:
> 
> I know that there is no 3D acceleration for the Voodoo-3 card under Linux
> yet, although there is a port in the works... does anyone know how much
> time it will be until these drivers are released?  I'm planning to build a
> new computer and I'd like to get a Voodoo-3 card, but I'm not sure if it's
> worth the wait just yet.
> 
> Also, I've heard that there is an X server for the Voodoo-3, but it
> requires a lot of tweaking.  Any comments on this?  Thanks.
> 
> ------------------  Posted via SearchLinux  ------------------
>                   http://www.searchlinux.com

It's out
http://glide.xxedgexx.com/3DfxRPMS_vb_glibc.html

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

From: eveltman <[EMAIL PROTECTED]>
Subject: Re: Adaptec 2940UW PCI problem
Date: Mon, 24 May 1999 16:12:40 +0200

Hello Nigel,

> The version of the aic7xx driver seems to have changed between SuSE 6.0 and
> 6.1 (v. 5.1.12 -> v. 5.1.15), so I wonder if something went wrong there.  I
> haven't had a reply from SuSE yet.
> 
> I'll be very interested in any further news you might have!

I got SuSE6.1 running by using a small trick :

1. Installed SuSE on my second PC ( with IDE hardware ).
2. Created a suitable 2.2.9 kernel with SCSI support on my second PC.
3. Made a bootdisk with this SCSI kernel.
4. Created a tar archive of the complete
   contents of the linux partition on my second PC.
5. Transferred this archive to the home partition of
   my server PC on which SuSE5.3 was still running.
6. Unpacked the tar archive on my server PC.
7. Booted from the bootdisk and mounted the root.
8. Removed everything from the root. 
9. Mounted the home partition.
10. Copied ( cp -a ) all files from there to the root.
11. Booted from bootdisk with kernel parameter "root=/dev/sda3".
12. Compiled the 'final' kernel and ran LILO.

I won't inform SuSE about this, I still would like the
corrected boot disk from them, so when / if I need to
re-install I will not have to go through all this pain again.
I'll let you know when I have a URL !

Best regards,

Eric

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


** 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 (and comp.os.linux.hardware) via:

    Internet: [EMAIL PROTECTED]

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

Reply via email to