Linux-Hardware Digest #448, Volume #13 Sat, 19 Aug 00 19:13:04 EDT
Contents:
Re: Not all memory detected under linux (Justin Hamm)
Suse6.4 PCMCIA Networkcard-Problem (Sammy)
Unified IDE patch for kernel2.2.14 (Sueng-Yong Park)
Re: Correct value for "idebus=xxxx"? (Marcus Lauer)
Re: Whiich ids better Mandrake 7.1 or Slackware 7.1 ("Greg H.")
Re: can't read contents of floppy disk (Henrik Carlqvist)
Re: Correct value for "idebus=xxxx"? (J Bland)
Installing 2nd hard disk ("Hiawatha Bray")
Re: Installing 2nd hard disk ("Peter T. Breuer")
Re: Installing 2nd hard disk ("Hiawatha Bray")
ati tv wonder and bttv (Nebu John Mathai)
Re: Yamaha DS-XG and ALSA (Bart Oldeman)
Re: Installing 2nd hard disk (Dances With Crows)
Re: A7V and Linux? (Alain VALLETON)
CDRecord snafu (root)
----------------------------------------------------------------------------
From: Justin Hamm <[EMAIL PROTECTED]>
Subject: Re: Not all memory detected under linux
Date: Sat, 19 Aug 2000 16:19:29 GMT
Read the man pages, everything is there. This works if you're using
LILO. Just put this line into your lilo.conf file
append="mem=128m"
Or if you're not using 128 megs, however much you are using.
BTW: That is the exact line i have in my lilo.conf file so.. If it doesn't
work for you, rtfm. ;)
On Sat, 19 Aug 2000, Mark irvine wrote:
> Hi,
> I'm having a similar problem as described by Kai below. I've just
> upgraded from 64MB to 128 MB (2x64MB pci100). My system (kernel 2.2.16,
> RH6.0, AMDk62-500) still only detects 64MB:
> -----8<---------------------------------------------------
> mark@localhost mark]$ cat /proc/meminfo
> total: used: free: shared: buffers: cached:
> Mem: 65916928 63983616 1933312 44060672 1359872 18808832
> Swap: 271392768 25141248 246251520
> MemTotal: 64372 kB
> MemFree: 1888 kB
> MemShared: 43028 kB
> Buffers: 1328 kB
> Cached: 18368 kB
> SwapTotal: 265032 kB
> SwapFree: 240480 kB
> -----8<---------------------------------------------------
> I tried passing the parameter'mem=128M' at the lilo prompt, but I also
> get the same kernel panic error.
> The bootup sequence shows only 64MB are detected, even though the BIOS
> detect the extra memory.
> ----8<----------------------------------------------------
> [mark@localhost mark]$ dmesg
> Linux version 2.2.16 ([EMAIL PROTECTED]) (gcc version
> egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)) #8 Sun Jul 30 01:31:31
> EDT 2000
> Detected 501143 kHz processor.
> Console: colour VGA+ 80x25
> Calibrating delay loop... 999.42 BogoMIPS
> Memory: 64396k/66496k available (788k kernel code, 416k reserved, 856k
> data, 40k init)
> ...
> -----8<---------------------------------------------------
> If I boot into windows it detects the memory without problems, so I think
> the memory is fine.
>
> Any help would be appreciated, I'd hate to think I wasted my money,
> memory is so expensive these days...
>
> Regards
> Mark irvine
>
> [EMAIL PROTECTED] wrote:
>
> > I seem to be having the same RAM problem where Linux only detects a
> > very small amount (14M). I tried the Linux mem=128M and I get
> > "Kernal panic: Attempted to kill the idle task!
> > In Swapper task - not syncing"
> >
> >
>
>
------------------------------
From: Sammy <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.portable,comp.os.linux.networking
Subject: Suse6.4 PCMCIA Networkcard-Problem
Date: Sat, 19 Aug 2000 18:59:10 +0200
Hi!
I have problems installing an AllNet0142+ (www.allthis.com, should be
NE2000 = 10BASE-T compatible ) card under Suse-Linux 6.4. I inserted
the following in /etc/pcmcia/config:
card "myCard"
version "PCMCIA", "Fast-Ethernet", "", ""
bind "pcnet_cs"
I read to use pcnet_cs for ne2000-comp.-cards somewhere.
Now I get some messages from cardmgr[67]: get dev info on socket 0
failed: No such device
With ALT+F10 I can see the error pcnet_cs: unable to read hardware
address.
Anybody who can help me?
Thanks a lot,
Sammy
------------------------------
From: [EMAIL PROTECTED] (Sueng-Yong Park)
Subject: Unified IDE patch for kernel2.2.14
Date: Sat, 19 Aug 2000 18:32:26 GMT
Hello,
I am trying to make my kernel patched with unified IDE patch
so that my Promise UDMA66 can be recognized.
The problem is, I don't know which patch file I should use.
I have checked Hendrick's homepage at
http://www.kernel.org/pub/linux/kernel/people/hedrick/
and found so many versions of patch files. And I don't have
any idea which are right for me. I am using Redhat 6.2,
kernel 2.2.14-5. Does anybody know which versions of
patch I try?
I will appreciate any comments!
regards,
SY
------------------------------
From: Marcus Lauer <[EMAIL PROTECTED]>
Subject: Re: Correct value for "idebus=xxxx"?
Date: Sun, 20 Aug 2000 11:27:39 +0200
The IDE bus for your motherboard runs at the PCI clock speed (it is,
basically, just another PCI interface). It should be 33 for most people
Having said that, I wonder if this parameter actually does anything. I
set it to 33 for a while, before remembering that I was running at a 95Mhz bus
speed and thus has a PCI bus speed of ~31.5Mhz.
Marcus
On Sat, 19 Aug 2000, Chris Rankin wrote:
>Hi,
>I have been trying to optimise Linux 2.4 on my motherboard, and I
>stumbled across the idebus boot-parameter. Now I understand that this is
>the PCI bus speed and nothing to do with ATA66 on IDE drives, but on the
>otherhand I ran successfully with idebus=66 for several weeks before I
>discovered this ... ;-). The board supports 4 33MHz 32 bit PCI slots and
>2 66MHz 64 bit slots, but I couldn't recognise anything that would tell
>me the optimal "idebus" value. The best candidate is this output from
>lspci:
>
>00:1f.1 IDE interface: Intel Corporation 82801AA IDE (rev 02) (prog-if
>80 [Master])
> Subsystem: Intel Corporation 82801AA IDE
> Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop-
>ParErr- Stepping- SERR- F
>astB2B-
> Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
><TAbort- <MAbort- >S
>ERR- <PERR-
> Latency: 0
> Region 4: I/O ports at ffa0 [size=16]
>00: 86 80 11 24 05 00 80 02 02 80 01 01 00 00 00 00
>10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
>20: a1 ff 00 00 00 00 00 00 00 00 00 00 86 80 11 24
>30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
>
>Is this enough to justify setting idebus to 66MHz? I am currently using
>the default value of 33MHz:
>
>ide: Assuming 33MHz system bus speed for PIO modes; override with
>idebus=xx
>
>Cheers,
>Chris
------------------------------
From: "Greg H." <[EMAIL PROTECTED]>
Subject: Re: Whiich ids better Mandrake 7.1 or Slackware 7.1
Date: Sat, 19 Aug 2000 18:46:02 GMT
Karen Cheer <[EMAIL PROTECTED]> wrote:
> Which is better,
> i am a new user and would like to see what linux is about
Slackware, of course!
------------------------------
From: Henrik Carlqvist <[EMAIL PROTECTED]>
Subject: Re: can't read contents of floppy disk
Date: Thu, 17 Aug 2000 20:11:40 +0200
[EMAIL PROTECTED] wrote:
> I have made a boot floppy rather than booting from the hard drive.
> All my attempts to read the contents of the drive in order to insert
> boot parameters has failed. When the floppy is mounted the dialog
> returned is "/dev/fd0 is not a valid block device."
> Also while I am asking for help, I know how to format a floppy and
> put a file system on it; but how do i put a boot.img on it and still
> be able to read the disk contents? I use fdformat /dev/fd0H1440 to
> format and /mkfs -t ext2 /dev/fd0.
There is a difference between a boot image and a file system. A boot
image is one single file which is copied straight to the floppy with
something like "cp boot.img /dev/fd0". That file will not contain any
file system so you will not be able to mount it, the file is only a
kernel. Of course you will still be able to read it with something like
"cp /dev/fd0 file.tmp". However, what you relly need is the rdev command
to change things like root file system. See the man page for rdev for
more info.
regards Henrik
--
spammer strikeback:
root@localhost
[EMAIL PROTECTED]
------------------------------
From: [EMAIL PROTECTED] (J Bland)
Subject: Re: Correct value for "idebus=xxxx"?
Date: 19 Aug 2000 18:47:48 GMT
> The IDE bus for your motherboard runs at the PCI clock speed (it is,
>basically, just another PCI interface). It should be 33 for most people
>
> Having said that, I wonder if this parameter actually does anything. I
>set it to 33 for a while, before remembering that I was running at a 95Mhz bus
>speed and thus has a PCI bus speed of ~31.5Mhz.
I've been told it sets at which speed data is sent to the interface. If you
send it at the same rate as it wants it everything's hunky dory. If you're a
bit off then data's gonna be missed and cycles wasted, so your IDE transfers
will be slower. Apparently.
Frinky
--
John Bland MPhys(Hons) GradInstP Webmaster and Sys Admin.
http://ringtail.cmp.liv.ac.uk/ Condensed Matter Group
Email: j.bland at liv.ac.uk Liverpool University
"And it can suck a monkey through 30ft of garden hose!!"
------------------------------
From: "Hiawatha Bray" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.help,comp.os.linux.misc
Subject: Installing 2nd hard disk
Date: 19 Aug 2000 19:01:00 GMT
The drive on my Linux box is full. I have an old HD I can put in, but I
don't know how to configure Linux to recognize it and partition it
correctly. How is this done? Thanks.
------------------------------
From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.help,comp.os.linux.misc
Subject: Re: Installing 2nd hard disk
Date: 19 Aug 2000 19:25:35 GMT
In comp.os.linux.help Hiawatha Bray <[EMAIL PROTECTED]> wrote:
: The drive on my Linux box is full. I have an old HD I can put in, but I
: don't know how to configure Linux to recognize it and partition it
: correctly. How is this done? Thanks.
Put drive in box. Boot system. Type fdisk /dev/hdb (or whatever) to
partition it. Run mke2fs on the partitions after one reboot.
You have to reboot unless someone has worked out a way to get the
kernel to rescan the table ...
Peter
------------------------------
From: "Hiawatha Bray" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.help,comp.os.linux.misc
Subject: Re: Installing 2nd hard disk
Date: 19 Aug 2000 19:45:46 GMT
Ohhhh...is that all? Sounds simple enough.
do I just set up the exact same partitions as on the present disk? I assume
the OS will then just treat each partition as one big one, regardless of
which disk it's on, right?
Thanks!
"Peter T. Breuer" <[EMAIL PROTECTED]> wrote in message
news:8nmmvf$nus$[EMAIL PROTECTED]...
> In comp.os.linux.help Hiawatha Bray <[EMAIL PROTECTED]> wrote:
> : The drive on my Linux box is full. I have an old HD I can put in, but I
> : don't know how to configure Linux to recognize it and partition it
> : correctly. How is this done? Thanks.
>
> Put drive in box. Boot system. Type fdisk /dev/hdb (or whatever) to
> partition it. Run mke2fs on the partitions after one reboot.
> You have to reboot unless someone has worked out a way to get the
> kernel to rescan the table ...
>
> Peter
------------------------------
From: Nebu John Mathai <[EMAIL PROTECTED]>
Subject: ati tv wonder and bttv
Date: Sat, 19 Aug 2000 19:20:17 GMT
Hi,
I'm trying to get my ATI TV Wonder card to work under Debian 2.2 using
kernel 2.2.17. I compile support, make the req'd devices under /dev,
reboot, and run xawtv. Xawtv is able to show me TV channels off the cable
input, however, it is unable to do anything other than display a blue
screen for composite1 input. I have a good connection between a composite
source (video out from a camcorder, and a VCR were tried) ... but I still
get the blue screen.
Any advice on what's wrong?
Thanks for your help,
Nebu
------------------------------
From: Bart Oldeman <[EMAIL PROTECTED]>
Subject: Re: Yamaha DS-XG and ALSA
Reply-To: [EMAIL PROTECTED]
Date: Sat, 19 Aug 2000 20:29:46 GMT
On Sat, 19 Aug 2000, alien8 wrote:
> and the second came up with:
> nm: /lib/modules/2.2.12.misc/snd.o: No such file or directory
sorry, made a typo (one key to the left of / is .)
try
nm /lib/modules/2.2.12/misc/snd.o | grep printk
> Anyways, I feel that I'm much to much of a newbie to yet attempt recompiling
> the kernel, and want to do some more research into what this all entails, as
> well as Linux in general (and especially some of the Console commands).
You're always free to attempt. After all, you already did compile the alsa
modules, didn't you. Compiling the kernel does not have to be necessary,
but you can see it as a learning thing; 'make menuconfig' or 'make
xconfig' show you what kind of stuff is in the kernel and usually give
help about it ("press N if not sure").
I don't know too much about the soundblaster cards. My father has one in
his computer (AWE32 I guess) and it worked straight out of the box with
RedHat 5.2 at the time.
Bart
------------------------------
From: [EMAIL PROTECTED] (Dances With Crows)
Crossposted-To: comp.os.linux.help,comp.os.linux.misc
Subject: Re: Installing 2nd hard disk
Date: 19 Aug 2000 22:06:55 GMT
Reply-To: [EMAIL PROTECTED]
>"Peter T. Breuer" <[EMAIL PROTECTED]> wrote in message
>news:8nmmvf$nus$[EMAIL PROTECTED]...
>> In comp.os.linux.help Hiawatha Bray <[EMAIL PROTECTED]> wrote:
>> : The drive on my Linux box is full. I have an old HD I can put in, but I
>> : don't know how to configure Linux to recognize it and partition it
>> : correctly. How is this done? Thanks.
>>
>> Put drive in box. Boot system. Type fdisk /dev/hdb (or whatever) to
>> partition it. Run mke2fs on the partitions after one reboot.
>> You have to reboot unless someone has worked out a way to get the
>> kernel to rescan the table ...
>Ohhhh...is that all? Sounds simple enough.
>
>do I just set up the exact same partitions as on the present disk? I assume
>the OS will then just treat each partition as one big one, regardless of
>which disk it's on, right?
Nope, not quite. They're trying to add that sort of capability to Linux
atm; it's called "Logical Volume Management" or LVM for short. It's in
beta right now--don't mess with it unless you know what you're doing!
Once you've fdisked the new disk and created partitions, you mke2fs
those partitions, then you decide what you want to go where. If I was
in your situation, this is what I'd do: First, take a look at the
output of "df":
/dev/hda1 995115 541478 402231 57% /
/dev/hda5 1011928 507072 453452 53% /home
/dev/hda6 396623 11888 364254 3% /var
/dev/hda8 3811374 3125326 686047 82% /usr
Just an example, but you can see that /usr is almost full. So, what I'd
do is mount one of those new partitions somewhere, like so:
mkdir /mnt/other && mount /dev/hdb1 /mnt/other
and then
cp -a /usr /mnt/other . Of course, this new partition should be larger
than your old /usr partition, to allow for expansion. You should also
change /etc/fstab so that /dev/hdb1 is mounted under /usr instead of
having /dev/hda8 mounted under /usr.
There's a useful document linked at the URL below:
http://linuxdoc.org/HOWTO/mini/Hard-Disk-Upgrade.html
BTW, Peter, I've done "fdisk /dev/hdb", "mke2fs /dev/hdb{1,5,6,7,9}",
"mount /dev/hdb1 /mnt/somewhere", and "cp -a /usr/local /mnt/somewhere"
without rebooting or anything. Everything worked. This was with kernel
2.2.10....
--
Matt G|There is no Darkness in Eternity/But only Light too dim for us to see
Brainbench MVP for Linux Admin / Those who do not understand Unix are
http://www.brainbench.com / condemned to reinvent it, poorly.
=============================/ ==Henry Spencer
------------------------------
From: Alain VALLETON <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Subject: Re: A7V and Linux?
Date: Sat, 19 Aug 2000 22:23:38 GMT
St�phane Gauchet wrote:
>
> Hello,
> jut bought the ASUS AV7 with Duron 650 MHz,
> unfortunately my linux doesn't boot anymore.
>
> any Idea??
Nope.
This afternoon, I bought the Asus A7V with a Duron 600 MHz, and my Linux flies :o)
(the Duron is already o/c at 630 MHz :o)
Really.
What kind of processor was installed before upgrading (might be important if the
kernel was compiled with something special in)?
Before I had a K6-2 450.
Have a nice day,
--
Curiosity *may* have killed Schrodinger's cat.
------------------------------
From: root <[EMAIL PROTECTED]>
Subject: CDRecord snafu
Date: Sat, 19 Aug 2000 23:07:06 GMT
This is a multi-part message in MIME format.
==============1FF02700281DA3C9A5F7EEB7
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
All,
I've been trying to use CDRecord on Mandrake 7.0 with my Ricoh 6200A. I
got CDRecord to recognize the Ricoh by mounting it as a SCSI-emulated
device (with the ide-scsi module). I finally got to the point where I
was able to record an image, and after writing all the data I get a
couple of SCSI errors. Something about invalid commands. None of the
commands reported by CDRecord were configurable ones. One was 'flush
cache' with a 'logical unit communication failure', another was 'close
track/session' with a 'decompression exception long algorithm id', and
yet another was 'mode select g1' with a 'invalid field in parameter
list'. Has anybody out there gotten this drive to work with CDRecord? I
know it works with Adaptec EasyCD. A complete session log is attached
for anyone interested in helping. Thanks in advance.
==============1FF02700281DA3C9A5F7EEB7
Content-Type: text/plain; charset=iso-8859-1;
name="oplog.txt"
Content-Transfer-Encoding: 8bit
Content-Disposition: inline;
filename="oplog.txt"
Cdrecord 1.8.1 (i586-mandrake-linux-gnu) Copyright (C) 1995-2000 J�rg Schilling TOC
Type: 1 = CD-ROM
scsidev: '0,0,0'
scsibus: 0 target: 0 lun: 0
Using libscg version 'schily-0.1'
atapi: 1
Device type : Removable CD-ROM
Version : 0
Response Format: 1
Vendor_info : 'RICOH '
Identifikation : 'MP6200A '
Revision : '2.20'
Device seems to be: Generic mmc CD-RW.
Using generic SCSI-3/mmc CD-R driver (mmc_cdr).
Driver flags : SWABAUDIO
Drive buf size : 786432 = 768 KB
FIFO size : 4194304 = 4096 KB
Track 01: data 698 MB
Total size: 802 MB (79:28.82) = 357662 sectors
Lout start: 802 MB (79:30/62) = 357662 sectors
Current Secsize: 2048
ATIP info from disk:
Indicated writing power: 6
Is not unrestricted
Is not erasable
ATIP start of lead in: -11231 (97:32/19)
ATIP start of lead out: 359849 (79:59/74)
Disk type: Short strategy type (Phthalocyanine or similar)
Manuf. index: 27
Manufacturer: Prodisc Technology Inc.
Blocks total: 359849 Blocks current: 359849 Blocks remaining: 2187
Starting to write CD/DVD at speed 2 in write mode for single session.
Last chance to quit, starting real write in 1 seconds.
Waiting for reader process to fill input buffer ... input buffer ready.
Performing OPC...
Starting new track at sector: 0
Track 01: 698 of 698 MB written (fifo 100%).\h
Track 01: Total bytes read/written: 732487680/732487680 (357660 sectors).
cdrecord: Input/output error. flush cache: scsi sendcmd: retryable error
CDB: 35 00 00 00 00 00 00 00 00 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: F0 00 03 00 05 74 8B 0A 00 00 00 00 08 00 00 00
Sense Key: 0x3 Medium Error, Segment 0
Sense Code: 0x08 Qual 0x00 (logical unit communication failure) Fru 0x0
Sense flags: Blk 357515 (valid)
cmd finished after 12.410s timeout 120s
Trouble flushing the cache
Writing time: 2401.841s
Fixating...
cdrecord: Input/output error. close track/session: scsi sendcmd: retryable errorCDB:
5B 00 02 00 00 00 00 00 00 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 05 00 00 00 00 0A 00 00 00 00 71 04 00 00
Sense Key: 0x5 Illegal Request, Segment 0
Sense Code: 0x71 Qual 0x04 (decompression exception long algorithm id) [No matching
qualifier] Fru 0x0
Sense flags: Blk 0 (not valid)
cmd finished after 0.012s timeout 480s
Fixating time: 0.017s
cdrecord: Input/output error. mode select g1: scsi sendcmd: retryable error
CDB: 55 10 00 00 00 00 00 00 10 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 05 00 00 00 00 0A 00 00 00 00 26 00 00 00
Sense Key: 0x5 Illegal Request, Segment 0
Sense Code: 0x26 Qual 0x00 (invalid field in parameter list) Fru 0x0
Sense flags: Blk 0 (not valid)
cmd finished after 0.003s timeout 40s
cdrecord: fifo had 22354 puts and 22354 gets.
cdrecord: fifo was 0 times empty and 22204 times full, min fill was 94%.
[root@rolando /root]# mount /mnt/cdrw
mount: block device /dev/sr0 is write-protected, mounting read-only
mount: wrong fs type, bad option, bad superblock on /dev/sr0,
or too many mounted file systems
==============1FF02700281DA3C9A5F7EEB7==
------------------------------
** 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
******************************