Linux-Hardware Digest #549, Volume #14 Fri, 30 Mar 01 16:13:09 EST
Contents:
EPP/ECP parallel ports (Peter Christy)
Re: Memory pb : 384M real, 64M effective (ai4a)
USR VSP+ cable modem ("drollins")
Re: ATI Radeon graphics cards (Craig Kelley)
Hard drive is *really* slow (mwr4722)
re. Help! CDRecord - mp3-to-wav Conversion Problem! (Doug Mitton)
keyboard lockups ("Vlad")
Newbie- SN 2000 P NIC config ("M.K.Venkatesh")
GDI or windows driven printers in Linix (willy)
Re: ATI Radeon graphics cards (Perry Pip)
Adaptec 7896 and 2.4.3? (Konstantinos Agouros)
Re: BogoMips? (Eric P. McCoy)
Access kernel memory in my driver of Linux 2.2.12/2.4? (Gu Weining)
Re: Memory pb : 384M real, 64M effective (root)
New LINUX Hardware Site (Kris Kersey)
fiber optic network card (Bastian Kruse)
Re: Fun With Parallel Ports. (Roy Culley)
please help me installed sound card for creaive vibra 128 in rad hat 7.0
("news.seed.net")
----------------------------------------------------------------------------
From: Peter Christy <[EMAIL PROTECTED]>
Subject: EPP/ECP parallel ports
Date: Fri, 30 Mar 2001 19:05:16 +0100
Reply-To: [EMAIL PROTECTED]
My mobo has the usual options of EPP and ECP, but also has an EPP + ECP
option. Some of the "extras" I occasionally use on my port need ecp, and
some work better with epp (notably a parallel zip drive). The mobo settings
imply that the port can be switched from one mode to the other in software
if EPP+ECP is selected, and indeed windoze does seem to do this (Hurrah!
Bill got *ONE* thing right!). However, under Linux, it always seems to
default to ecp with the ensuing dismal zip drive performance.
Is there a way of "persuading" these ports to adopt one mode or the other,
or do I really have to go into the bios and reset it everytime I switch
from using the zip drive to the other devices. (The other problem is that
Win2000 only recognizes the port as ecp+epp! If I set it to epp only, it
refuses to acknowledge the port exists at all! Take away Bill's brownie
points :-(
--
Pete
[EMAIL PROTECTED]
------------------------------
From: ai4a <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.misc,comp.os.linux.setup
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
------------------------------
Reply-To: "drollins" <[EMAIL PROTECTED]>
From: "drollins" <[EMAIL PROTECTED]>
Subject: USR VSP+ cable modem
Date: Fri, 30 Mar 2001 18:20:51 GMT
Has anyone been able to get the USR VSP+ cable modem working under linux? I
know the built in modem is a winmodem, but was wondering if anyone had found
a way around it yet.
Thanks
Dave Rollins
--
------------------------------
From: Craig Kelley <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup
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: [EMAIL PROTECTED] (mwr4722)
Subject: Hard drive is *really* slow
Date: 30 Mar 2001 18:29:54 GMT
I have a Maxtor Diamondmax 20G (92041U4) hard drive which is incredibly
slow on my Linux system. To wit:
% hdparm -t /dev/hda
/dev/hda:
Timing buffered disk reads: 64 MB in 147.96 seconds =442.93 kB/sec
I'm running the "unified" UDMA patch (from Andre Hedrick) on 2.2.18pre21.
I've tried just about everything -- played around with the settings using
hdparm, rearranged the master/slave configurations (there is another, older
hard drive), and even booted kernel 2.4.2 in the hope that it would better
configure my hardware. No luck.
Incidentally, tweaks with hdparm had absolutely no noticeable effect. That
is, when I set 32 bit I/O (hdparm -c3) and multi-sector (hdparm -m16) options
I did not notice a difference on the thouroughput. Yes, I've got a "double"
UDMA cable.
Details on the drive and my dmesg are below.
Thanks,
Matt
% hdparm -i /dev/hda
/dev/hda:
Model=Maxtor 92041U4, FwRev=FA520S60, SerialNo=G40NMVXC
Config={ Fixed }
RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=57
BuffType=3(DualPortCache), BuffSize=512kB, MaxMultSect=16, MultSect=off
DblWordIO=no, OldPIO=2, DMA=yes, OldDMA=0
CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=40020624
tDMA={min:120,rec:120}, DMA modes: mword0 mword1 mword2
IORDY=on/off, tPIO={min:120,w/IORDY:120}, PIO modes: mode3 mode4
UDMA modes: mode0 mode1 mode2 mode3 *mode4
==== BEGIN DMESG =====
Linux version 2.2.18pre21-ide (root@arnor) (gcc version 2.7.2.3) #1 Sat Nov 18
19:41:46 EST 2000
Detected 500021 kHz processor.
Console: colour VGA+ 80x25
Calibrating delay loop... 996.14 BogoMIPS
Memory: 123920k/126912k available (1016k kernel code, 416k reserved, 1488k data, 72k
init)
Dentry hash table entries: 16384 (order 5, 128k)
Buffer cache hash table entries: 131072 (order 7, 512k)
Page cache hash table entries: 32768 (order 5, 128k)
VFS: Diskquotas version dquot_6.4.0 initialized
CPU: L1 I Cache: 32K L1 D Cache: 32K
CPU: AMD-K6(tm) 3D processor stepping 0c
Checking 386/387 coupling... OK, FPU using exception 16 error reporting.
Checking 'hlt' instruction... OK.
Checking for popad bug... OK.
POSIX conformance testing by UNIFIX
mtrr: v1.35a (19990819) Richard Gooch ([EMAIL PROTECTED])
PCI: PCI BIOS revision 2.10 entry at 0xf05a0
PCI: Using configuration type 1
PCI: Probing PCI hardware
Linux NET4.0 for Linux 2.2
Based upon Swansea University Computer Society NET3.039
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
TCP: Hash tables configured (ehash 131072 bhash 65536)
Starting kswapd v 1.5
Detected PS/2 Mouse Port.
pty: 256 Unix98 ptys configured
Real Time Clock Driver v1.09
RAM disk driver initialized: 16 RAM disks of 4096K size
loop: registered device at major 7
Uniform Multi-Platform E-IDE driver Revision: 6.30
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
SIS5513: IDE controller on PCI bus 00 dev 01
SIS5513: chipset revision 208
SIS5513: not 100% native mode: will probe irqs later
SiS530
ide0: BM-DMA at 0xd000-0xd007, BIOS settings: hda:DMA, hdb:pio
ide1: BM-DMA at 0xd008-0xd00f, BIOS settings: hdc:DMA, hdd:DMA
hda: Maxtor 92041U4, ATA DISK drive
hdc: WDC AC36400L, ATA DISK drive
hdd: ATAPI CDROM, ATAPI CDROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: Maxtor 92041U4, 19541MB w/512kB Cache, CHS=2491/255/63, UDMA(66)
hdc: WDC AC36400L, 6149MB w/256kB Cache, CHS=13328/15/63, UDMA(33)
hdd: ATAPI 48X CD-ROM drive, 128kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.11
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
md driver 0.36.6 MAX_MD_DEV=4, MAX_REAL=8
Partition check:
hda: hda1 hda2 hda3 hda4 < hda5 hda6 hda7 hda8 hda9 >
hdc: [PTBL] [784/255/63] hdc1 hdc2 < hdc5 hdc6 hdc7 hdc8 hdc9 hdc10 hdc11 hdc12 hdc13
hdc14 > hdc3 hdc4
apm: BIOS version 1.2 Flags 0x0b (Driver version 1.13)
apm: disabled on user request.
VFS: Mounted root (ext2 filesystem) readonly.
Freeing unused kernel memory: 72k freed
NET4: Unix domain sockets 1.0 for Linux NET4.0.
Adding Swap: 96384k swap-space (priority -1)
tulip.c:v0.91g-ppc 7/16/99 [EMAIL PROTECTED]
eth0: Lite-On 82c168 PNIC rev 17 at 0xa800, 00:A0:FF:FF:04:F5, IRQ 10.
eth0: MII transceiver #1 config 3100 status 7829 advertising 01e1.
Serial driver version 4.27 with no serial options enabled
ttyS00 at 0x03f8 (irq = 4) is a 16550A
ttyS01 at 0x02f8 (irq = 3) is a 16550A
------------------------------
From: [EMAIL PROTECTED] (Doug Mitton)
Crossposted-To: alt.os.linux,comp.os.linux.misc
Subject: re. Help! CDRecord - mp3-to-wav Conversion Problem!
Date: Fri, 30 Mar 2001 18:37:43 GMT
Thanks to all who responded, the -pad option to the cdrecord command
was what I was missing.
=================================================================
Hello All;
I'm using some instructions I found in an earlier post to try to
convert some mp3's to wav and burn them to a CD using cdrecord. I
have come across a problem that was not addressed.
I convert the mp3 files to wave with:
splay -t 1000 -d - file.mp3 | sox -t raw -r 44100 -s -w -c 2 -
file.wav
I issue this command to burn the data:
cdrecord -v speed=4 dev=0,0,0 -audio *.wav
But, cdrecord responds with:
cdrecord: Bad audio track size 31707648 for track 01.
cdrecord: Audio tracks must be at least 705600 bytes and a multiple of
2352.
I can burn audio CD's normally if I get the data using the cdda2wav
utility.
Any pointer would be appreciated as to how I should change the size of
the resulting wav file, I didn't see an obvious switch in the splay or
sox commands.
Thanks in advance.
PS. I realize I can probably install some other utilities to do this
BUT this solution is supposed to work and until I understand what is
wrong here I'd like to try and make this approach work. Also, using
this method I can batch process files a lot easier.
================================================
The FACTS are my Employers, OPINIONS are my own!
Sorry: SPAM reduction project in progress:
Remove the "x." from my domain to reply!
================================================
------------------------------
From: "Vlad" <[EMAIL PROTECTED]>
Subject: keyboard lockups
Date: Fri, 30 Mar 2001 20:41:42 +0200
Hi,
having trouble with my new cordless logitech desktop. In windows works just
fine. In linux as well, but locks up from time to time, the only thing that
helps is pulling out the ps/2 cable and plugging it in again. After that i
can type, but the key-repeat rate drops by 2 or so. Is that an interrupt
thingy? Can anyone help? thanks!
------------------------------
From: "M.K.Venkatesh" <[EMAIL PROTECTED]>
Subject: Newbie- SN 2000 P NIC config
Date: Fri, 30 Mar 2001 18:02:17 -0600
Reply-To: "M.K.Venkatesh" <[EMAIL PROTECTED]>
Hi,
I am trying to get networking started with RH Linux 7.1. The Network Adapter
I have is SN 2000 P (PNP ISA version). The IO is 240 and the IRQ is 5. These
details I found from Win 95 running as a dual boot on the same box.
This is a summary of the things I tried.
. I ran Linuxconf and tried to add the IP address, Host Name IO port and IRQ
in the Basic Host configuration. This did not work. I get delaying eth0
initialization.
. I ran pnpisa and added it as a module in Linuxconf. I found that the
pnpisa wrongly puts the IRQ as 3. I edited the pnpisa.conf and changed IRQ
to 5. I then rebooted the machine. The pnpisa module at boot time shows
OK( actually this shows OK if the IRQ is 3 or 5). However eth0 is still not
successfully initialized.
. I again ran Linuxconf and this time I added the module name as detected by
pnpisa as AXE 2010 and added IO port and IRQ in the Basic Host Information.
The same settings have been added in modules.conf with Alias AXE 2010 and
setting. Upon reboot the same error is displayed delaying eth0
initialization.
. On checking the linuxdocs, the advise is to run modconf and add a module.
The utility apparently seems to have been removed in RH Linux 7.1
Any advise would be appreciated.
Thanks,
Venkat
------------------------------
From: willy <[EMAIL PROTECTED]>
Subject: GDI or windows driven printers in Linix
Date: Fri, 30 Mar 2001 19:30:04 -0000
Hello all:
What is the latest word for installing windows driven printers in a Unix
or Linix install. In other words, are GDI capable printers even able to be
installed? Under a windows enviroments, the driver will install a GDI
capable printer but outside of windows OS, no luck. If there has been
success, please post what printer or vendor supplied a solution. If some
programmer is reading, is it really that difficult to do? I get asked this
question all the time, so far, no go. TIA ------Willy
--
Posted via CNET Help.com
http://www.help.com/
------------------------------
From: [EMAIL PROTECTED] (Perry Pip)
Crossposted-To: comp.os.linux.setup
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: [EMAIL PROTECTED] (Konstantinos Agouros)
Subject: Adaptec 7896 and 2.4.3?
Date: 30 Mar 2001 21:40:54 +0200
Hi,
since someone once answered me, that 2.4.3 should contain a Adaptec Driver
that works on this controller I tried this today with no luck. When the
Kernel boots it keeps looping in SCSI-Resets. 2.2.X work just fine.
Will I have to wait for 2.4.4? I hate to run Kernels with external patches
unless absolutely neccassary.
Konstantin
--
Dipl-Inf. Konstantin Agouros aka Elwood Blues. Internet: [EMAIL PROTECTED]
Otkerstr. 28, 81547 Muenchen, Germany. Tel +49 89 69370185
============================================================================
"Captain, this ship will not sustain the forming of the cosmos." B'Elana Torres
------------------------------
Subject: Re: BogoMips?
From: [EMAIL PROTECTED] (Eric P. McCoy)
Date: 30 Mar 2001 14:53:58 -0500
Eric SIBERT <[EMAIL PROTECTED]> writes:
> So, how many bogomips for your computer?
> 750 Mhz for me:)))
MHz? What kind of a BogoMips reading is that?
But in the interests of starting a meaningless CPU speed dickwaving
contest, 792.48 for dual PPro-200/256s.
--
Eric McCoy <[EMAIL PROTECTED]>
"Knowing that a lot of people across the world with Geocities sites
absolutely despise me is about the only thing that can add a positive
spin to this situation." - Something Awful, 1/11/2001
------------------------------
From: Gu Weining <[EMAIL PROTECTED]>
Subject: Access kernel memory in my driver of Linux 2.2.12/2.4?
Date: Fri, 30 Mar 2001 14:05:06 -0600
I try to read/write to kernel memory by 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;
}
------------------------------
From: root <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.misc,comp.os.linux.setup
Subject: Re: Memory pb : 384M real, 64M effective
Date: Fri, 30 Mar 2001 22:18:51 +0200
I found that if i specify the exact amount of ram in MB my system crashes in an
ugly way. I had
no problems when I used the KB figure the BIOS counted to. "mem=262144k"
worked for my 256mb.
Mack
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
------------------------------
From: Kris Kersey <[EMAIL PROTECTED]>
Subject: New LINUX Hardware Site
Date: Fri, 30 Mar 2001 15:19:07 -0500
All,
I just wanted to let this group know about a new Linux dedicated
hardware site, LinuxHardware.org. This site has been up apr. 3 weeks
and we are working on developing a totally non-profit website based on
community support. Please come by and give us a look over. Check out
our Features section (http://www.linuxhardware.org/features/) for the
articles you will only find on our site.
Latest Articles:
Agenda VR3 Developer Edition Preview -
http://www.linuxhardware.org/features/01/03/30/1215241.shtml
GeForce 2 vs Radeon 32 DDR -
http://www.linuxhardware.org/features/01/03/19/0357219.shtml
ALSA vs OSS -
http://www.linuxhardware.org/features/01/03/06/179255.shtml
Linux For Those Into Hardware -
http://www.linuxhardware.org/features/01/02/28/145228.shtml
The site features an interface provided by Slashcode
(http://slashcode.com/) which allows users to submit stories and comment
on existing stories.
Also, we are currently looking for some good writers that are interested
in reviewing the latest hardware under Linux and write Linux
hardware-centric editorials. If you're interested email me with a
resume of relavent info and why you would like to work for the site.
([EMAIL PROTECTED]) Remember that this is a community effort
and non-profit. We're just here to have fun. :-)
--
Kris Kersey
LinuxHardware.org Site Manager
[EMAIL PROTECTED]
------------------------------
From: [EMAIL PROTECTED] (Bastian Kruse)
Subject: fiber optic network card
Date: 30 Mar 2001 20:47:21 GMT
Hello,
I�m looking for a list of fiber optic network cards.
else, Which one could you recommend?
TIA!
Bastian
------------------------------
From: [EMAIL PROTECTED] (Roy Culley)
Crossposted-To: comp.os.linux.advocacy,alt.destroy.microsoft
Subject: Re: Fun With Parallel Ports.
Date: Fri, 30 Mar 2001 21:42:31 +0200
Reply-To: [EMAIL PROTECTED]
In article <9a0tcv$4kb$[EMAIL PROTECTED]>,
[EMAIL PROTECTED] (Bloody Viking) writes:
<snip>
Why did you cross post this to comp.os.linux.advocacy and alt.destroy.microsoft?
------------------------------
From: "news.seed.net" <[EMAIL PROTECTED]>
Subject: please help me installed sound card for creaive vibra 128 in rad hat 7.0
Date: Sat, 31 Mar 2001 04:52:35 +0800
I can't not installed it propery , I have tried sndconfig , but he can't
detected it correctly.
any suggestion will be approciated.
--
------------------------------
** 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.hardware.
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
******************************