Linux-Hardware Digest #318, Volume #13           Sat, 29 Jul 00 16:13:06 EDT

Contents:
  Re: contollers and software raid (Dances With Crows)
  Re: Backups (Rob McMillin)
  Re: HPT366 Support in Linux-- PLEASE HELP! (Sindh)
  IDE CD-RW doesn't work after RedHat 6.2 upgrade (Rob McMillin)
  Re: IDE CD-RW doesn't work after RedHat 6.2 upgrade (Dances With Crows)
  Re: Logitech wheel mouse in mandrake 7.1 (Topher Cawlfield)
  Newbie asks stupid questions... ("Richard H. Reepe")

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

From: [EMAIL PROTECTED] (Dances With Crows)
Subject: Re: contollers and software raid
Date: 29 Jul 2000 17:18:20 GMT
Reply-To: [EMAIL PROTECTED]

On Sat, 29 Jul 2000 09:05:22 GMT, quagly wrote:
>
>    I understand that most motherboards a very limited in the number of
>ide controllers they may have.  Like 2.   My onboard controller is lame,
>so I need a way of getting two more IDE channels.
>I would like to set up software mirroring and I had heard that there
>were controllers that allowed you to have two masters (the raid how-to
>says that doing raid as master slave is bad for performance)  Any ideas?
>How can I find out how many IDE controllers I am allowed?

Linux allows you to have as many as 10 IDE controllers.  On the IBM PC
architecture, you will run out of IRQs before you can squeeze that many
in.

Older PCs came with only one IDE controller, which always occupied IRQ
14.  Newer ones have 2, on IRQ 14 and IRQ 15.  If you really need more,
you can buy add-on cards like Promise's HPT366 which have two IDE
controllers attached.  Using the HPT366 can be a bit of a pain under
Linux *if* you put /boot on a drive that's hooked to the HPT366--search
this NG for details and complaints, but once it's working, it works
fairly well.

Also, for the best performance in I/O, forget the Promise card and buy a
SCSI card.  7 devices, one IRQ, less CPU required, no need to fiddle
with DMA settings.  It's more expensive but well worth it if you're
concerned about performance and expandability.

-- 
Matt G|There is no Darkness in Eternity/But only Light too dim for us to see
Brainbench MVP for Linux Admin /   Tyranny is always better organized
http://www.brainbench.com     /    than freedom.
=============================/              ==Charles Peguy

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

From: Rob McMillin <[EMAIL PROTECTED]>
Subject: Re: Backups
Date: Sat, 29 Jul 2000 11:55:23 -0700

Tim Moore wrote:

> I've been using this one for about 6 months now.
>
> Average 940KB/s (unless I've set something up wrong), no compression, travan
> 5, tape cost ~$4/GB uncompressed, loud.

Don't forget damn slow on recovery. If you can afford to be without your system
for a WHOLE DAY waiting for the piddling recovery speed, have a ball. A friend
found this out the hard way. If this is for a personal system, fine.

I recommend you look into CD-RW drives. The media is cheap and they work out of
the box... mostly. Go for a SCSI CD-RW; IDE support under Linux mostly works.


--
          http://www.pricegrabber.com | Dog is my co-pilot.




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

From: Sindh <[EMAIL PROTECTED]>
Subject: Re: HPT366 Support in Linux-- PLEASE HELP!
Date: Sat, 29 Jul 2000 18:57:17 GMT

one thing I tried before was to use a old ide drive udma33 as root
partition and also as /usr. However once I installed the system I moved
all the large programs that will benefit from  fast disk access like
netscape and staroffice to new udma66 drive which I mounted as
/usr-mirror and linked the sites back to /usr for faster load times.

Anyway I had quite a problem with onboard hpt366 on the abit bp dual
celeron 433. So I am not sure if it is worth all the trouble atm. Wait
till 2.4 was my idea. It was losing interrupt and waits eternally
causing kernel to lock up.

regards
sreekant

--
A man needs to sleep for 36 hours a day atleast.


Sent via Deja.com http://www.deja.com/
Before you buy.

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

From: Rob McMillin <[EMAIL PROTECTED]>
Subject: IDE CD-RW doesn't work after RedHat 6.2 upgrade
Date: Sat, 29 Jul 2000 12:25:44 -0700

I HAD my IDE CD-ROM working with RedHat 6.1 using the stock 2.2.12
kernel, following the instructions in the HOWTO for these devices. I
can't figure out now how to make it work for the life of me after
upgrading to RedHat 6.2.

First: I'm running a SoundBlaster MK4214 CD-RW drive. I would like to
emphasize it WAS working with RH 6.1.

I first backed up my old 6.1 system onto CD-R's. Then, because my
partitions were screwy (I built a classic Unix / and /usr rather than a
/boot and /, which makes more sense for RedHat), I wiped out the old
install and partitions and built a clean installation of RedHat 6.2. I
then followed the instructions for building the kernel modules, and set
the listed modules as follows (y = built-in to the kernel, m = module):

BLOCK  Enhanced IDE/MFM/RLL...                     Y
BLOCK  IDE/ATAPI CDROM             ide-cd          M
BLOCK  SCSI emulation support      ide-scsi        M
BLOCK  Loopback device             loop            M
SCSI   SCSI support                scsi_mod        Y
SCSI   SCSI CD-ROM support         sr_mod          Y
SCSI     Enable vendor-specific                    Y
SCSI   SCSI generic support        sg              Y

I'm using the Adaptec 1542 support for the generic driver. I did the
usual kernel stuff

    make dep
    make clean
    make dep
    make bzImage
    make modules
    make modules_install
    cp arch/i386/boot/bzImage /boot/vmlinuz-smp2
    lilo

My /etc/lilo.conf file looks like this:

=====
boot=/dev/hdc
map=/boot/map
install=/boot/boot.b
prompt
timeout=50
default=linux

image=/boot/vmlinuz-2.2.14-5.0smp
        label=linux
        read-only
        root=/dev/hdc6

image=/boot/vmlinuz-smp2
        label=linux-smp2
        read-only
        root=/dev/hdc6
        append="hdb=ide-scsi"

image=/boot/vmlinuz-2.2.14-5.0
        label=linux-up
        read-only
        root=/dev/hdc6
=====

When I boot, the following mess shows up:

=====
Jul 29 11:33:37 raggy rc.sysinit: Checking root filesystem succeeded
Jul 29 11:33:37 raggy rc.sysinit: Remounting root filesystem in
read-write mode succeeded
Jul 29 11:33:39 raggy depmod: depmod: *** Unresolved symbols in
/lib/modules/2.2.14-5.0+smp2/fs/lockd.o
Jul 29 11:33:39 raggy depmod: depmod: *** Unresolved symbols in
/lib/modules/2.2.14-5.0+smp2/fs/coda.o
Jul 29 11:33:39 raggy depmod: depmod: *** Unresolved symbols in
/lib/modules/2.2.14-5.0+smp2/fs/minix.o
Jul 29 11:33:39 raggy depmod: depmod: *** Unresolved symbols in
/lib/modules/2.2.14-5.0+smp2/fs/fat.o
Jul 29 11:33:39 raggy depmod: depmod: *** Unresolved symbols in
/lib/modules/2.2.14-5.0+smp2/fs/vfat.o
Jul 29 11:33:39 raggy depmod: depmod: *** Unresolved symbols in
/lib/modules/2.2.14-5.0+smp2/fs/hfs.o
Jul 29 11:33:39 raggy depmod: depmod: *** Unresolved symbols in
/lib/modules/2.2.14-5.0+smp2/fs/nfs.o
Jul 29 11:33:39 raggy depmod: depmod: *** Unresolved symbols in
/lib/modules/2.2.14-5.0+smp2/fs/nfsd.o
Jul 29 11:33:39 raggy depmod: depmod: *** Unresolved symbols in
/lib/modules/2.2.14-5.0+smp2/fs/umsdos.o
Jul 29 11:33:39 raggy depmod: depmod: *** Unresolved symbols in
/lib/modules/2.2.14-5.0+smp2/fs/sysv.o
Jul 29 11:33:39 raggy depmod: depmod: *** Unresolved symbols in
/lib/modules/2.2.14-5.0+smp2/fs/smbfs.o
Jul 29 11:33:39 raggy depmod: depmod: *** Unresolved symbols in
/lib/modules/2.2.14-5.0+smp2/fs/ncpfs.o
Jul 29 11:33:39 raggy depmod: depmod: *** Unresolved symbols in
/lib/modules/2.2.14-5.0+smp2/fs/hpfs.o
Jul 29 11:33:39 raggy depmod: depmod: *** Unresolved symbols in
/lib/modules/2.2.14-5.0+smp2/fs/ufs.o
Jul 29 11:33:39 raggy depmod: depmod: *** Unresolved symbols in
/lib/modules/2.2.14-5.0+smp2/fs/romfs.o
Jul 29 11:33:39 raggy depmod: depmod: *** Unresolved symbols in
/lib/modules/2.2.14-5.0+smp2/fs/autofs.o
Jul 29 11:33:39 raggy depmod: depmod: *** Unresolved symbols in
/lib/modules/2.2.14-5.0+smp2/net/ppp.o
Jul 29 11:33:39 raggy depmod: depmod: *** Unresolved symbols in
/lib/modules/2.2.14-5.0+smp2/net/slhc.o
Jul 29 11:33:39 raggy depmod: depmod: *** Unresolved symbols in
/lib/modules/2.2.14-5.0+smp2/net/ppp_deflate.o
Jul 29 11:33:39 raggy depmod: depmod: *** Unresolved symbols in
/lib/modules/2.2.14-5.0+smp2/net/plip.o
Jul 29 11:33:39 raggy depmod: depmod: *** Unresolved symbols in
/lib/modules/2.2.14-5.0+smp2/net/slip.o
Jul 29 11:33:39 raggy depmod: depmod: *** Unresolved symbols in
/lib/modules/2.2.14-5.0+smp2/net/bonding.o
Jul 29 11:33:39 raggy depmod: depmod: *** Unresolved symbols in
/lib/modules/2.2.14-5.0+smp2/scsi/st.o
Jul 29 11:33:39 raggy depmod: depmod: *** Unresolved symbols in
/lib/modules/2.2.14-5.0+smp2/scsi/ide-scsi.o
Jul 29 11:33:39 raggy depmod: depmod: *** Unresolved symbols in
/lib/modules/2.2.14-5.0+smp2/block/loop.o
Jul 29 11:33:39 raggy rc.sysinit: Finding module dependencies succeeded
Jul 29 11:33:39 raggy depmod: depmod: *** Unresolved symbols in
/lib/modules/2.2.14-5.0+smp2/block/DAC960.o
Jul 29 11:33:39 raggy depmod: depmod: *** Unresolved symbols in
/lib/modules/2.2.14-5.0+smp2/block/ide-cd.o
Jul 29 11:33:39 raggy depmod: depmod: *** Unresolved symbols in
/lib/modules/2.2.14-5.0+smp2/block/ide-tape.o
Jul 29 11:33:39 raggy depmod: depmod: *** Unresolved symbols in
/lib/modules/2.2.14-5.0+smp2/block/ide-floppy.o
Jul 29 11:33:39 raggy depmod: depmod: *** Unresolved symbols in
/lib/modules/2.2.14-5.0+smp2/block/cpqarray.o
Jul 29 11:33:39 raggy depmod: depmod: *** Unresolved symbols in
/lib/modules/2.2.14-5.0+smp2/block/raid1.o
Jul 29 11:33:39 raggy depmod: depmod: *** Unresolved symbols in
/lib/modules/2.2.14-5.0+smp2/block/raid5.o
Jul 29 11:33:39 raggy depmod: depmod: *** Unresolved symbols in
/lib/modules/2.2.14-5.0+smp2/ipv4/ipip.o
Jul 29 11:33:39 raggy depmod: depmod: *** Unresolved symbols in
/lib/modules/2.2.14-5.0+smp2/ipv4/ip_gre.o
Jul 29 11:33:39 raggy depmod: depmod: *** Unresolved symbols in
/lib/modules/2.2.14-5.0+smp2/ipv4/rarp.o
Jul 29 11:33:39 raggy depmod: depmod: *** Unresolved symbols in
/lib/modules/2.2.14-5.0+smp2/ipv4/ip_masq_ftp.o
Jul 29 11:33:39 raggy depmod: depmod: *** Unresolved symbols in
/lib/modules/2.2.14-5.0+smp2/ipv4/ip_masq_irc.o
Jul 29 11:33:39 raggy depmod: depmod: *** Unresolved symbols in
/lib/modules/2.2.14-5.0+smp2/video/matroxfb.o
Jul 29 11:33:39 raggy depmod: depmod: *** Unresolved symbols in
/lib/modules/2.2.14-5.0+smp2/misc/coda.o
Jul 29 11:33:39 raggy depmod: depmod: *** Unresolved symbols in
/lib/modules/2.2.14-5.0+smp2/misc/emu10k1.o
Jul 29 11:33:39 raggy depmod: depmod: *** Unresolved symbols in
/lib/modules/2.2.14-5.0+smp2/misc/fat.o
Jul 29 11:33:39 raggy depmod: depmod: *** Unresolved symbols in
/lib/modules/2.2.14-5.0+smp2/misc/hfs.o
Jul 29 11:33:39 raggy depmod: depmod: *** Unresolved symbols in
/lib/modules/2.2.14-5.0+smp2/misc/lockd.o
Jul 29 11:33:39 raggy depmod: depmod: *** Unresolved symbols in
/lib/modules/2.2.14-5.0+smp2/misc/lp.o
Jul 29 11:33:39 raggy depmod: depmod: *** Unresolved symbols in
/lib/modules/2.2.14-5.0+smp2/misc/minix.o
Jul 29 11:33:39 raggy depmod: depmod: *** Unresolved symbols in
/lib/modules/2.2.14-5.0+smp2/misc/nfs.o
Jul 29 11:33:39 raggy depmod: depmod: *** Unresolved symbols in
/lib/modules/2.2.14-5.0+smp2/misc/parport.o
Jul 29 11:33:39 raggy depmod: depmod: *** Unresolved symbols in
/lib/modules/2.2.14-5.0+smp2/misc/pg.o
Jul 29 11:33:39 raggy depmod: depmod: *** Unresolved symbols in
/lib/modules/2.2.14-5.0+smp2/misc/pt.o
Jul 29 11:33:39 raggy depmod: depmod: *** Unresolved symbols in
/lib/modules/2.2.14-5.0+smp2/misc/sunrpc.o
Jul 29 11:33:39 raggy depmod: depmod: *** Unresolved symbols in
/lib/modules/2.2.14-5.0+smp2/misc/sysv.o
Jul 29 11:33:39 raggy depmod: depmod: *** Unresolved symbols in
/lib/modules/2.2.14-5.0+smp2/misc/umsdos.o
Jul 29 11:33:39 raggy depmod: depmod: *** Unresolved symbols in
/lib/modules/2.2.14-5.0+smp2/misc/vfat.o

=====

What am I doing wrong here? I have also tried making a new initrd file,
but this doesn't seem to make any difference. Help!

--
          http://www.pricegrabber.com | Dog is my co-pilot.




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

From: [EMAIL PROTECTED] (Dances With Crows)
Subject: Re: IDE CD-RW doesn't work after RedHat 6.2 upgrade
Date: 29 Jul 2000 20:01:52 GMT
Reply-To: [EMAIL PROTECTED]

On Sat, 29 Jul 2000 12:25:44 -0700, Rob McMillin wrote:
>I HAD my IDE CD-ROM working with RedHat 6.1 using the stock 2.2.12
>kernel, following the instructions in the HOWTO for these devices. I
[snip]
>BLOCK  Enhanced IDE/MFM/RLL...                     Y
>BLOCK  IDE/ATAPI CDROM             ide-cd          M
>BLOCK  SCSI emulation support      ide-scsi        M
>SCSI   SCSI support                scsi_mod        Y
>SCSI   SCSI CD-ROM support         sr_mod          Y
>SCSI   SCSI generic support        sg              Y
>I'm using the Adaptec 1542 support for the generic driver. I did the

??  Three problems here:  IDE/ATAPI CD-ROM should be "N", as you're going
to be using the SCSI emulation anyway.  Second, ide-scsi, scsi_mod,
sr_mod, and sg should probably all be modules or all be compiled in--
your choice there.  Third, if you're using IDE-SCSI emulation, you don't
need any SCSI hostadapter support at all, as the ide-scsi emulation will
be your scsi hostadapter.  (Disregard this if you actually have an
Adaptec 1542 card in your system!)

[large snip]

depmod returning so many errors is a bad sign.  One thing that I like to
do when messing with new modules is an "rm -rf
/lib/modules/$KERNELVERSION" immediately before doing "make
modules_install ; depmod -a".

Your /etc/conf.modules should contain a line like so:
   alias scsi_hostadapter ide-scsi
for reasons outlined above.

>What am I doing wrong here? I have also tried making a new initrd file,
>but this doesn't seem to make any difference. Help!

initrd is more trouble than it's worth.  The *only* reason that initrd
exists is for installation and rescue purposes; a production system
should never need it.  If you have support for ELF binaries, the ext2
filesystem, the VGA or framebuffer console, and the disk your root
filesystem is on (IDE or SCSI disk support) compiled directly into the
kernel, there's no need for initrd.

-- 
Matt G|There is no Darkness in Eternity/But only Light too dim for us to see
Brainbench MVP for Linux Admin /   Tyranny is always better organized
http://www.brainbench.com     /    than freedom.
=============================/              ==Charles Peguy

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

From: Topher Cawlfield <[EMAIL PROTECTED]>
Subject: Re: Logitech wheel mouse in mandrake 7.1
Date: Sat, 29 Jul 2000 15:06:00 -0500

Hi, and thanks for the advice.  The web page
http://www.inria.fr/koala/colas/mouse-wheel-scroll/ was helpful.

I did get this to work, by commenting out the lines in my XF86Config file:
    Emulate3Buttons
    Emulate3Timeout    50

These interfered with the mouse wheel functionality, and that's
understandable.  I didn't need to use middle button emulation of course,
and I don't know why the lines were not commented out in the first place.

Now I just have to get scrolling to work in Netscape (I'll investigate
imwheel), my CD ROM drives to both work, NFS, wine, and Samba.  Then, I'll
be very happy!

 - Topher

I wrote:

> Hi,
>
> I am unable to get my wheel mouse to work properly in Linux.  I'm using
> mandrake 7.1, KDE, and have a Logitech PS/2 mouseman+.  This same mouse
> worked just fine in RedHat Linux and gnome.  I believe I'm using XFree86
> version 3.3.6, if that helps.
>
> > rpm -q XFree86
> XFree86-3.3.6-14mdk
>
> One thing that mystifies me is that there are two possible XF86Config
> files to use, /etc/X11/XF86Config and /etc/X11/XF86config-4.  The latter
> has a different formatting, but I don't see any references to it in any
> documentation.  In XF86config, there is section containing the lines
>     Protocol    "MouseManPlusPS/2"
>     Device      "/dev/mouse"
>     ZAxisMapping 4 5
> which look like they ought to be correct.  When I use "harddrake", which
> has done no good for me in configuring my other hardware, it informs me
> that I do have a mouseman+ mouse.  When I use "mousedrake", it always
> indicates a generic mouse, and when I select the right mouse from the
> list there is no apparent effect.  I should mention here that harddrake
> detected my SBLive soundcard, could play a WAV sample with it, but gave
> me an error message when trying to configure it (something like
> "/dev/dsp: no such device").  I recently got it working, "by hand".
> Similarly, it didn't do anything about my USR PCI modem (5610), which I
> was able to get working thanks to a lot of research and some helpful web
> pages.  I also managed to get an ethernet card working after some fuss,
> but everything else except this mouse worked upon installation.  The
> only documentation on www.mandrake.com is that wheel mice do work just
> fine, even with Netscape.  Sounds good.  I'd love to see it.
>
> The current behavior of my mouse is that the wheel works properly as a
> middle button, but rotating the wheel upwards gives me button-1 events,
> and downward is identical to clicking the right button.  I would rather
> it use buttons 4 and 5, which I think should work properly for things
> like Eterm scrollbars, and I have gotten them to work in emacs as well
> (using RedHat Linux).
>
> I appreciate any help you can offer!
>    Topher Cawlfield


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

From: "Richard H. Reepe" <[EMAIL PROTECTED]>
Subject: Newbie asks stupid questions...
Date: Sat, 29 Jul 2000 21:06:03 +0100

Hi Folks, I've been told that I'll need Linux on my PC for this years
part of my degree course starting in September. I picked up Mandrake 7.0
on a PC-Plus cover disk and the install seemed a breeze. I gave it a
tough test too as I only allocated it 2Gb in a second logical partition
of my second drive hidden away on the second IDE port. It booted from
the CD, asked me to point at a partition, then got on with the job. It's
all running okay except for a few minor items which I would now like to
fix.

Firstly, I have a PCI modem from Diamond Multimedia which goes by the
name of a Supra Express 56i V Pro. This is a 56K Internal Voice Modem
which supports V90 and on a good day gets me to Demon at 48k using
Windoze98SE. According to system/devices it also contains a Supra 2560
PCI Modem Enumerator. However, when running Linux and using the Mandrake
DrakConf to locate PCI hardware, the details page against the modem
remains blank. I have scanned the "documentation" that came with the
modem and it does NOT say "winmodem" anywhere in the text - is this good
news or a red herring? Has anyone managed to get this modem running
under Linux and if so how?... Please..... I'm getting bored booting into
Windoze every time I need another patch!

Second, Now this really is silly... I have a NEC SuperScript 610plus
laser printer (Yes I know it's GDI design!). I bought it 3 years ago
when it was 200 UKP and a "proper" laser with PostScript was 800 UKP. It
seen me through 4 Windoze upgrades and I still think it's a cute device,
but of course the standard PS or DM drivers won't touch it. Has anyone
done any work on GDI printers under Linux....?

Lastly, I am using a Matrox Millennium II (MGA 200) graphics card (AGP)
in an ASUS P2B MotherBoard. I know that I can display 6 concurrent
Windoze Media Player 7 mpegs tiled on screen and still see all frames
(frame rate drops to 28 fps from 30). Sound is a bit confused though!
However, under Linux I cannot watch one mpeg as the picture is broken up
into rectangles which seem to show bits of different frames overlapping
as it runs. You can make out that the film is about, but it's not very
watch able. Am I expecting too much here, or is there something I could
do to improve performance? 

System Hardware:
        
        ASUS P2B (100fsb)
        128Mb RAM (PC100)
        Celeron 266 (Over Clocked to 400)
        Seagate 13Gb Hard Drive
        Seagate 5.2Gb Hard Drive
        Iomega ZIP
        Sony 3.5 Floppy
        Sony 40x CDR
        Matrox Millennium 2 16Mb
        Sound Blaster AWE64 Gold
        Sony Multiscan 15sf

Thanks in advance, you can all laugh now....    
-- 
........Regards R2    (Richard H. Reepe) 
  e-mail:    [EMAIL PROTECTED]
web-site: http://www.r2.org.uk

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


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