Linux-Hardware Digest #362, Volume #10 Sat, 29 May 99 16:13:38 EDT
Contents:
Re: Ensoniq Soundscape Card (Chris Holck)
NFS block size for 3C523 NIC? (Georg Schwarz)
Epson printer (B Barry)
Re: Ensoniq Soundscape Card (Chris Holck)
Re: Problem with Iomega ZIP. (Jeremy Nickolet)
aha1542 driver vs DMA, dvr=1,DMA=0 ("Gene Heskett")
Re: Lexmark 5000 color ("Darrell Candis")
XWindows and Mouse (KraJa)
SiS 6326 Daytona graphic card ("W-Mark")
Re: Dual Celeron's and SMP Performance Problems (CB)
Re: XWindows and Mouse ("Heffels")
----------------------------------------------------------------------------
From: [EMAIL PROTECTED] (Chris Holck)
Crossposted-To: comp.os.linux.misc,comp.os.linux.setup
Subject: Re: Ensoniq Soundscape Card
Date: 29 May 1999 17:29:38 GMT
Chris Holck ([EMAIL PROTECTED]) wrote:
: I am currently upgrading from RedHat 5.1 to 6.0 manually.
: I have upgraded the kernel to 2.2.5. I have, of course,
: broken many things. One of the things I have broken is
: sound support. I have an Ensoniq Soundscape PnP card.
: Previously, I used OSS to enable sound support. I am
: trying to load sound support as a kernel but can't.
: Here is my understanding of what I have to do:
: 1. Enable kernel module support and configure the sound
: support as a module. I have done both of these things.
: 2. I need to load the microcode to the sound card after
: the kernel boots. I compile ssinit.c from snd-util-3.5.tar.gz
: with the following macros set:
: #define DSPDEV "/dev/dsp"
: #define CODEFILE "/usr/local/lib/sndkit/sndscape.co3"
: 3. When I run ssinit.exe from /etc/rc.d/rc.local, it
: should load the correct modules automatically if the
: module dependencies are correctly set. This is done in
: /etc/rc.d/rc.sysinit by "depmod -a". I also have to set the
: module options correctly in /etc/conf.modules. The
: settings are:
: #SOUND modules
: alias char-major-14 sscape
: options sscape io=0x534 irq=11 dma=1 mpu_irq=9 mpu_io=0x330
: 4. This doesn't work and I get the following message in
: /var/log/messages:
: May 29 08:50:06 holckster kernel: ad1848/cs4248 codec driver Copyright (C) by Ha
: nnu Savolainen 1993-1996
: May 29 08:50:06 holckster kernel: Soundscape driver Copyright (C) by Hannu Savol
: ainen 1993-1996
: May 29 08:50:06 holckster insmod: /lib/modules/2.2.5-15/misc/sscape.o: init_modu
: le: Device or resource busy
: May 29 08:50:06 holckster modprobe: can't locate module sound-slot-0
: May 29 08:50:06 holckster modprobe: can't locate module sound-service-0-3
: What am I doing wrong? What are the correct settings for
: the sscape module? How do I determine them? If it helps,
: here are the settings from the previous OSS setup (devices.cfg):
: /SECUREAUDIO OFF
: /IRQEXCLUDE 3 4
: /DMAEXCLUDE 2
: -ENS3081 #Ensoniq Soundscape PnP model 2 (see README.soundscape)
: SSCAPE $LOADBIN /doswin/windows/system/sndscape.co3
: /PNPDEV ENS0000 P330 P# P# I9 I7 I# D1 D3 D#
: SSCAPE OPNP P330 I9 D1 d3
: AD1848 OPNP I7
: PNP
: ------
: Christopher Holck
: University of Pennsylvania
: Dept. of Physics
: 209 South 33rd
: Philadelphia, Pa. 19104
: Phone: (Work) 215-898-4588
: (Home) 610-640-4073
: Fax: 215-898-8512
: ------------------------------
: "... but I'm disturbed, I'm depressed, I'm inadequate ... I've
: got it all!" - G. Costanza
: "Only two things are infinite, the universe and human stupidity,
: and I'm not sure about the former." -Albert Einstein
: "Chicks dig the long ball!" - Greg Maddux
--
Christopher Holck
University of Pennsylvania
Dept. of Physics
209 South 33rd
Philadelphia, Pa. 19104
Phone: (Work) 215-898-4588
(Home) 610-640-4073
Fax: 215-898-8512
==============================
"... but I'm disturbed, I'm depressed, I'm inadequate ... I've
got it all!" - G. Costanza
"Only two things are infinite, the universe and human stupidity,
and I'm not sure about the former." -Albert Einstein
"Chicks dig the long ball!" - Greg Maddux
------------------------------
From: [EMAIL PROTECTED] (Georg Schwarz)
Crossposted-To: comp.os.linux.networking
Subject: NFS block size for 3C523 NIC?
Date: 29 May 1999 17:45:47 GMT
Which NFS block size (rsize, wsize) should I use for an MCA 3COM 3C523
ethernet card? With 8192 I'm getting lots of timeout errors. Maybe this is
why the driver is labeled experimental? I'm using Linux 2.2.9.
--
Georg Schwarz ([EMAIL PROTECTED], [EMAIL PROTECTED], PGP 2.6ui)
Institut f�r Theoretische Physik +49 30 314-24254 FAX -21130 IRC kuroi
Technische Universit�t Berlin http://home.pages.de/~schwarz/
------------------------------
From: B Barry <[EMAIL PROTECTED]>
Subject: Epson printer
Date: Sat, 29 May 1999 16:37:28 +0100
Hello,
I have an Epson Stylus Photo 700. I've tested it using an ASCII test
page and it worked okay. I then tried a test using PostScript and now my
printer keeps printing blank pages after the intial page with garbage on
the first line. Even after I remove the job from the queue, it still
continues to print. How do I configure this printer properly and how do
I remove the print job from the printer's memory? Usually, in Windows I
can easily cancel the job from the printer status monitor. Does this
mean that this printer is unsupported by Linux/Epson?
Cheers,
Brett
------------------------------
From: [EMAIL PROTECTED] (Chris Holck)
Crossposted-To: comp.os.linux.misc,comp.os.linux.setup
Subject: Re: Ensoniq Soundscape Card
Date: 29 May 1999 17:30:38 GMT
: trying to load sound support as a kernel but can't.
That should read "trying to load sound support as a
kernel module but can't".
--
Christopher Holck
University of Pennsylvania
Dept. of Physics
209 South 33rd
Philadelphia, Pa. 19104
Phone: (Work) 215-898-4588
(Home) 610-640-4073
Fax: 215-898-8512
==============================
"... but I'm disturbed, I'm depressed, I'm inadequate ... I've
got it all!" - G. Costanza
"Only two things are infinite, the universe and human stupidity,
and I'm not sure about the former." -Albert Einstein
"Chicks dig the long ball!" - Greg Maddux
------------------------------
From: Jeremy Nickolet <[EMAIL PROTECTED]>
Crossposted-To:
linux,linux.redhat,linux.redhat.misc,flashnet.it.hobby.linux,comp.os.linux,comp.os.linux.misc,comp.os.linux.setup
Subject: Re: Problem with Iomega ZIP.
Date: Sat, 29 May 1999 18:01:06 GMT
Luca Satolli wrote:
>
> HI, I've installed RedHat 6.0 (kernel 2.2.5) and now I've some trouble
> with my parallel port Zip.
> With my old version of Red Hat (5.2) I've only to do "insmod ppa" from a
> root account and then to mount the correct sda device (4 for Dos disks
> or 1 for Linux disks).
> Now when do "insmod ppa" I get a list of errors:
>
> /lib/modules/2.2.5-15/scsi/ppa.o: unresolved symbol
> parport_claim_Rcca15f23
> /lib/modules/2.2.5-15/scsi/ppa.o: unresolved symbol
> parport_register_device_R064ebecf
> /lib/modules/2.2.5-15/scsi/ppa.o: unresolved symbol
> parport_unregister_device_R3618c96f
> /lib/modules/2.2.5-15/scsi/ppa.o: unresolved symbol
> parport_enumerate_R648d1e26
> /lib/modules/2.2.5-15/scsi/ppa.o: unresolved symbol
> parport_release_R4430d136
>
> I've seen that a new module is loaded by kernel (parport), so I suppose
> that I have not to to "insmod ppa" and just mount but it doesn't work!
> How can I do? Where can I found some documentation on that?
> Thanks a lot and Best regards
> Luca Satolli
Do:
modprobe ppa
Then you can mount it normally.
--
Jeremy
http://members.home.com/nickoljt/
------------------------------
Date: 29 May 99 13:40:31 -0500
From: "Gene Heskett" <[EMAIL PROTECTED]>
Subject: aha1542 driver vs DMA, dvr=1,DMA=0
Crossposted-To: comp.os.linux.setup
I now have the 2.2.9 kernel installed and running in my rh5.2 install,
smoother, faster IDE (UDMA33 works now) by 400% & all that.
But, I also have a an Adaptec aha1540 bus mastering (aka DMA) narrow
scsi-II card.
In its own bios, which is not installed since there aren't any Int 13
devices, the DMA is turned on, and set for about 5mhz/second.
I've recompiled the aha1542.c driver to add the 0x230, 0x234 addresses,
without which its not found on a TYAN S1590S board, with bios V1.16b
just installed.
There is a line in that code that appears to be the DMA switch, and is
originally set at {-1,-1}. I changed that to a {5,5} to correspond to
the cards own bios settings, and installed that module, but on the
reboot, the transfer speed is still 1.51 megs/second, just a wee, tiny,
scosh slow. :-\
It ought to be 4-5 megs a second, maybe more with some fine-tuning.
So, how *does* one go about making DMA work on this card and driver?
Cheers, Gene
--
Gene Heskett, CET, UHK |Amiga A2k Zeus040 50 megs fast/2 megs chip
Ch. Eng. @ WDTV-5 |A2091,GuruRom,1g Seagate,CDROM,Multiface III
<[EMAIL PROTECTED]> or |Buddha + 4 gig WDC drive, 525 meg tape
<[EMAIL PROTECTED]>|Stylus Pro, EnPrint, Picasso-II, 17" vga
RC5-Moo! 22kkeys/sec isn't much, but it all helps
--
------------------------------
From: "Darrell Candis" <[EMAIL PROTECTED]>
Subject: Re: Lexmark 5000 color
Date: Sat, 29 May 1999 14:46:00 -0400
goto bimbo.fjfi.cvut.cz/~paluch/l7kdriver . There is a driver for this
printer (I have a Lexmark 5700) and it works well.
Steve Mowbray <[EMAIL PROTECTED]> wrote in message
news:7ilvl6$gm1$[EMAIL PROTECTED]...
> In article <7hndu1$[EMAIL PROTECTED]>,
> Mark Hahn <[EMAIL PROTECTED]> writes:
> >> (I know - I probably should have bought another printer :( )
> >
> > as far as I know, all Lexmark inkjets are winprinters, and Lexmark
> > won't document what you bought. that makes them officially
LINUX-HOSTILE.
>
> Not true. The Optra Color 40 and 40N inkjets do Postscript and PCL. The N
> (Network) version even does LPD so you can just hook it to a network
> with Linux/any other UNIX box (I'm using Solaris as well) and print to it.
> You do need to run the cartridge change/alignment program from a Windows
> box though :-(
>
> --
> Steve Mowbray, Maths Dept., Heriot-Watt University, Edinburgh, Scotland
> [EMAIL PROTECTED] http://www.ma.hw.ac.uk/~steve
------------------------------
From: [EMAIL PROTECTED] (KraJa)
Subject: XWindows and Mouse
Date: 29 May 1999 18:57:50 GMT
Hi,
I'm having a bizzarre problem with my mouse in XWindows. I've installed SuSE
6.1 and I can only see my mouse cursor flitting around the top of the screen.
After I start the X Server and start KDE, I can't see the mouse at
all...although it's there and working. For example, I can move my mouse and
see the buttons highlight, I can right-click on my desktop and get the pop-up
menu, and I can select things. It's just like it should be except that I can't
see the mouse cursor at all!
I've tried different mouse settings to no avail. Any ideas?
Thanks,
Doug
------------------------------
From: "W-Mark" <[EMAIL PROTECTED]>
Subject: SiS 6326 Daytona graphic card
Date: Sat, 29 May 1999 20:58:53 +0200
Hello,
I've a problem with X11R6 (KDE) and a Daytona SiS6326 AGP graphic-card.
The screen isn't shown correctly.
Details:
I installed a Daytona SiS 6326 AGP card in my second PC.
Everything worked fine but as I couldn't find a suitable driver for this
card I choose the driver called "SiS6326".
When I started X11 (KDE) the screen was screwed, I couldn't see anything
right.
Well, I edited with vi my XF86Config-file (without knowledge about this
file) and I've re-commented an options-line "fast-vram".
Since then I've been able to see everything on my screen, but there're a lot
of drawing-errors like these:
- I cannot see the programe-bar sometimes
- I cannot read the letters of some programmes
(on my 1st machine with a Riva128 I can see them!)
- If I move a windows around, it redraws not correctly
- Sometimes my pointer changes into a white box
- Tree-view items (for example in the KDE-control center) are black
instead of white
but when I chose one of the objects inside they become normal for a
couple of seconds
Can somebody help me?
[EMAIL PROTECTED] , [EMAIL PROTECTED]
--==>> Nothing is what it seems to be <<==--
ICQ: 37094347
------------------------------
Date: Fri, 28 May 1999 17:54:52 -0700
From: CB <[EMAIL PROTECTED]>
Crossposted-To: alt.comp.hardware.overclocking,csu.unix.linux
Subject: Re: Dual Celeron's and SMP Performance Problems
I have found this discussion interesting, in part because I have a dual Celeron
"workstation" (300As @450/100).
While I cannot claim complete/through understanding of all the issues raised I
re-iterate a summary:
Because of their small 128k L2 cache Celerons are *likely* to be a poor choice
for building fileservers in particular and when operating in a SMP situation
*may* perform particularly poorly compared to CPUs with larger L2 caches - even
if those caches operate at 1/2 clock speed (PII/PIII).
(*likely* and *may* have been emphasized because the arguments have been
theoretical and no benchmarks or real-world tests have been offered to support
the theory - how ever reasonable it may be)
This would be because the cache contents must be synchronized between CPUs over
a 100mhz or 66mhz bus, thus eliminating most of the potential benefits of the
Celeron's full-speed L2 and increasing the penalty for a cache miss.
If an application is not optimized for small cache size (i.e. 128k) it will
*likely* perform rather badly on a Celeron and perhaps worse on Celerons in SMP
configuration.
My personal experience with this particular system is that it performs rather
well - compared to what you ask? - well I had a K6 300 with 196MB RAM, built
this with one CPU and added a second. Some operations are 5x faster than they
were on the K6, the system is more responsive under multi-task situations than
with the single CPU, but it is by no means twice as fast.
Here is a quick and dirty comparison - not ideal as many factors besides CPU
enter in (OS differences, UDMA implementation, different background tasks
running, etc.) I ran each task separately, then started the PS filter and added
the other two -> all three at once. Time 1 = single task, time 2 = all tasks at
once; min:sec. Booted W98, defrag disks, run tasks, boot NT...
W98 WNT4.0sp5
fat16-fat16 fat16-fat16 NTFS_C - fat16
Photoshop image
1 6:13 7:13
2 8:20 -25% 7:40 -6%
Premiere demo
1 1:58 1:55
2 4:00 -51% 2:02 -5%
File transfer
1 1:25 1:51 0:57
2 2:01 -30% 1:59 -7% 1:03 -9%
Photoshop 4.01, 7.4MB file (1730x1500 pixels) apply stained glass filter w/cell
size = 3, border = 1, brightness = 3
Premiere demo 4.2 run with a "speed test" from:
http://members.aol.com/simmike
File transfer - partition to partition, same IDE disk, 259MB
The results seem pretty clear cut - the second CPU helps quite a bit under
multi-tasking situations, and two of the tasks complete more quickly under W98
when run alone.
As for the topic of the thread - what about some server benchmarks?? Abit is
purported to have a dual socket 370/BX chipset board in the works - is it
possible some of the *potential* limitations of small L2 can be mitigated on the
motherboard?
Implications for Linux seem to be - design apps to minimize the impact of 128k
L2 to get the max benefit of Celerons (the C400 should be selling below $100
w/in 2 weeks...).
When I put this system together PII400s were running about $400ea. The premiere
movie build runs at about the speed of a PII 400 when run alone. The two
Celerons and converters cost less than $200. The $$ saved on the CPUs went into
RAM. By this fall or winter PIII 500s should be selling @ or below $200 I
think. CPUs are not holding their value very well, compared to other
components.
CB
Totally Lost wrote:
>
> The work done by Tomohiro Kawada and others has been interesting.
> I can think of a number of applications where dual/quad overclocked
> Celeron's can produce very cost effective clusters for number crunching.
> The crypt cracking teams will get a great windfall from this work.
>
> I do performance studies and optimization for a living. One of the
> biggest problems people have porting applications from big iron
> SMP servers to X86 SMP servers is memory foot print and working
> set locality problems which make X86 SMP scaling difficult at best.
>
> Big Iron SMP servers typically have larger L1/L2 caches with
> a much faster memory subsystem under them. The size of the
> working set directly predicts the performance of most
> applications. To help clients understand this I often use the following
> visual aid in my presentations, which is the output of a tool
> I use to measure the performance of their system as the working
> set size is increased:
>
> Counts are thousands of MemOps/second.
> SunOS svr20 5.5.1 Generic sun4m sparc SUNW,SPARCstation-20
>
> Set Sequential Random
> Size Cnt Pct Cnt Pct
> ----- --------- --------- 0% 25% 50% 75% 100
> 2K 29685 100 21271 100 | | | *| @
> 3K 29657 100 21244 100 | * @
> 4K 29652 100 21231 100 | | | * | @
> 6K 29644 100 21264 100 | * @
> 8K 29652 100 21203 100 | | | * | @
> 12K 29644 100 21245 100 | * @
> 16K 29625 100 21221 100 | | | * | @
> 24K 10996 37 18120 85 | @ *
> 32K 7943 27 16190 76 | |@ | * | |
> 48K 7941 27 13716 64 | @ *
> 64K 7939 27 12067 57 | |@ * | | |
> 96K 7943 27 10802 51 | @ *
> 128K 7947 27 9877 46 | |@ * | | |
> 192K 7946 27 9837 46 | @ *
> 256K 7909 27 9828 46 | |@ * | | |
> 384K 7773 26 9806 46 | @ *
> 512K 7652 26 9766 46 | @ * | | |
> 768K 7619 26 9765 46 | @ *
> 1024K 7580 26 9755 46 | @ * | | |
> 1536K 2164 7 9642 45 | @ *
> 2M 2045 7 9634 45 | @ | * | | |
> 3M 2044 7 9602 45 | @ *
> 4M 2041 7 9595 45 | @ | * | | |
> 6M 2038 7 9592 45 | @ *
> 8M 2042 7 8823 41 | @ | * | | |
> 12M 2035 7 8720 41 | @ *
> 16M 1863 6 8723 41 | @ | * | | |
> 24M 2023 7 8596 40 | @ *
> 32M 1657 6 9590 45 | @ | * | | |
> 48M 10 0 8040 38 @ *
> 64M 40 0 6552 31 @ *| | | |
>
> The graph is plotted with all values relative to the first sequential
> value. The test reflects the performance losses due to the working
> set size impact on the VM/Cache/Memory subsystems. This includes
> TLB misses, cache misses and memory latency. Cache design and memory
> allocation coloring present very different responses to this test.
> Poorly colored memory with direct mapped caches shows up with early
> degradation slopes, while good coloring produces sharp fall-offs at
> each cache boundry.
>
> This particular machine didn't have a lot of
> memory and started paging above 32M, with 32K L1 and 1024K L2 cache
> sizes. Increasing the working set by a single cache line
> often reduces the performance to the next larger (and slower)
> memory object.
>
> In a real system, there are many sources that scale into the working
> set size(s). The size of the active interrupt service routines and
> OS scheduler are often near the size of L1/L2 caches on many X86
> systems, thus each interrupt flushes the cache and effectively runs
> at memory or L2 cache speeds. In an SMP system, both CPU's have to
> share the memory performance. If the L1/L2 caches are too small, then
> two processors are worse than one, because they will flush each other
> with distributed interrupts. The cost of flushing the cache by context
> switches and interrupts is two 2X ... memory cycles required to bring
> in the new context/interrupt plus the memory cycles required to replace
> the active process memory on exit. One reason that X86 SMP servers
> may scale, is that network interrupt loads that flush a uniprocessor,
> only impact one processor in a multiprocessor system ... especially
> if the interrupts are bound to a single processor. Ditto for the disk
> subsystems. SCSI controllers that have high interrupt loading can
> kill an SMP server if the interrupts are distributed. NCR825's are
> a very good example when used with very poor SCSI scripts and drivers.
>
> Understanding the locality and working set sizes, some X86 vendors
> have post processed their kernel builds to improve locality and
> placement. The work done by the SCO Unixware team on the object code
> segments has produced remarkable results. These vendors often have
> large kernels and feature sets, with same/better overall performance.
>
> Celron's with their 128K L2 cache can easily produce worse performance
> under modest to heavy load than a single processor in an SMP system.
> In many server systems, even dual PII's with 512K L2 caches fail to
> scale or produce negative results under modest to heavy work loads.
> In some applications, even Xenon's large caches fail to scale or
> produce negative results in comparision to uniprocessors of the same
> architecture. Simply put, it's not uncommon to find applications where
> two processors trashing the caches with SMP interrupts or shared memory
> produce much worse performance than the same system with only a single
> processor enabled.
>
> Linux is not well multi-threaded, and has a pretty large foot print
> with very little locality in either the OS or it's primary applications.
> I would expect that for many users, dual Celeron's may have a negative
> performance impact much of the time.
>
> To observe that Dual Celron's produce an observed improvement under
> certain lightly loading applications may be true. To assert that
> they scale under modest to heavy work loads is probably a huge mistake.
> To expect that they will scale well under Linux with heavy loads is
> almost certainly folly.
>
> John Bass
> UNIX Systems Consultant
>
> --== Sent via Deja.com http://www.deja.com/ ==--
> ---Share what you know. Learn what you don't.---
-----------== Posted via Newsfeeds.Com, Uncensored Usenet News ==----------
http://www.newsfeeds.com The Largest Usenet Servers in the World!
======== Over 73,000 Newsgroups = Including Dedicated Binaries Servers =======
------------------------------
From: "Heffels" <[EMAIL PROTECTED]>
Subject: Re: XWindows and Mouse
Date: Sat, 29 May 1999 21:20:17 +0200
I have had the same thing.
I bought a new mouse so I had to change the mousedriver.
I did this with mouseconfig, but in Xwindows it was there but didn't work.
I tried and tried but it didn't work.
When I reinstalled Linux it DID work !
I guess I first had to delete the active mousedriver and then install the
proper one.
So try finding out how to uninstall a mouse driver and install the right
one.
P.S. I have a Logitech Pilot Wheel
Rachid Heffels
The Netherlands
>Hi,
>
>I'm having a bizzarre problem with my mouse in XWindows. I've installed
SuSE
>6.1 and I can only see my mouse cursor flitting around the top of the
screen.
>After I start the X Server and start KDE, I can't see the mouse at
>all...although it's there and working. For example, I can move my mouse
and
>see the buttons highlight, I can right-click on my desktop and get the
pop-up
>menu, and I can select things. It's just like it should be except that I
can't
>see the mouse cursor at all!
>
>I've tried different mouse settings to no avail. Any ideas?
>
>Thanks,
>Doug
------------------------------
** 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
******************************