Linux-Hardware Digest #454, Volume #14 Thu, 8 Mar 01 08:13:03 EST
Contents:
raid 0 question (jazbo)
Re: Yet another Newbe Question: defrag? ("Bob 'n' Tina")
Re: PCI IRQ Steering under Linux? (Nader)
Re: What's a good AGP 1x video card? (Harri Haataja)
PCI driver for Alcatel SpeedTouch PC (DSL) ? (Walter Pircali)
Re: wireless keyboard? ("stephen")
Fasttrack 100 - compilling new kernel ("Jan Kov��")
Re: PCI IRQ Steering under Linux? (M. Buchenrieder)
Dynalink 10BC PCMCIA ("C.")
Re: ATI Rage Fury (Edward Valencia)
Re: laser printer for Linux (De Roeck Software)
Re: Question: setup cable modem, Linux and Windows (A. J. Clark)
Re: Obtaining the MAC address (Klaus Stysch)
Re: Question: setup cable modem, Linux and Windows (De Roeck Software)
Re: Processor ID (Rolf Magnus)
e2fsck -fy /dev/... does not correct an error (Massimo Pinto)
Re: Obtaining the MAC address (Ernst Sexauer)
Quad Xeon sc450nx and Linux? (Kiira Triea)
----------------------------------------------------------------------------
From: jazbo <[EMAIL PROTECTED]>
Subject: raid 0 question
Date: Thu, 08 Mar 2001 00:55:11 -0500
I have a Promise ata100 controller that I am trying to do IDE Raid
with.
The system that preexists the RAID is a fic 503+ via mvp3 based ata33
motherboard. Other IDE devices include: western digital 5400
rpm drive on IDE0 (hda) and a ATAPI zip on ide0 as well. CDROM on
IDE1, (there used to be a second hard drive on ide1 but for now now cdrom
is alone).
There is a Mandrake7.2 installation on /dev/hda5 - hda9. I am using
Reiserfs on all partitions except swap. There is also an Advansys fast
SCSI card for my scanner - no drives are connected to it.
I can't get the new hardware completely installed and recognized by the
system.
So, I have read through some basic instructions on RAID device creation
and I have had the card in the PC and have trying to hook up the new IDE
drives. I have two virgin ata/100 Quantum fireball plus AS 30gig drives
for this purpose. But I can't seem to get more than one attached!
The BIOS initializes the Promise card no problem.
There is no problem attaching the first Quantum drive to the card on its
first channel (using Promise supplied cable). The Promise card detects
while the system is in BIOS booting. The Mandrake system on /dev/hda5
boots up with one drive attached as hde on the Promise card and the
drive is seen in dmesg and looks accessible to hdparm, fdisk, etc.
Then I attached a second cable to the second Quantum drive and hook it
up to the Promise ata100 on its second IDE channel. Everything seems
fine in the BIOS sequence the card detects the second drive on IDE3 -
but when Linux boots from hda5, the bootup halts.
it comes to a halt after reporting the c/h/s of hda - right where it
would report hde's cylinders heads and sectors.
I have copied what I see in the console at the point booting fails.
Hopefully this will mean something to someone.
---
VT82C597 Apollo VP3
Chipset Core ATA-33
Split fifo Configuration: 8 Primary buffers, threshold=1/2
8 Second. buffers, threshold=1/2
ide0: BM-DMA at 0xa00-0xa007, BIOS settings:hda: DMA, hdb:DMA
ide0: Via Bus-Master (U)DMA Timing Config Success
ide1: BM-DMA at 0xa008-0xa00f, BIOS settings: hdc:DMA, hdd:DMA
ide1: Via-Bus-Master (U)DMA Timing Config Success
PDC 20267: IDE Controller on PCI bus 00 dev 48
PDC 20267: Chipset revision 2
PDC 20267: Not 100% native mode; will probe irqs later
PDC 20267: ROM enabled at 0xec000000
PDC 20267: (U)DMA Burst Bit ENABLED Primary PCI mode Secondary PCI mode
PDC 20267: Forcing Primary mode Bit 0x00-> 0x01 Master
PDC 20267: Forcing Secondary mode Bit 0x00-> 0x01 Master
ide2:BM-DMA at 0xbc00-0xbc07, BIOS settings: hde: Pio, hdf: Pio
ide3: BM-DMA at 0xbc08-oxbc0f, BIOS settings: hdg:Pio, hdh: DMA
hda WDC 26400B, ATA DISK drive
hdb IOMEGA ZIP 100 ATAPI FLOPPY, ATAPI FLOPPY drive
hdc ATAPI CD-ROM DRIVE 32X MAXIMUM, ATAPI CDROM drive
hde QUANTUM FIREBALLP AS30.0, ATA DISK drive
hdg QUANTUM FIREBALLP AS30.0, ATA DISK drive
ide0 at 0x1f0-0x1f7, 0x3fb on irq14
ide1 at 0x170-0x177, 0x376 on irq15
ide2 at 0xac00-0xac07, 0xb002 on irq 11
ide3 at 0xb400-0xb407, 0xb802 on irq 11
hda:WDC AC26400B, 6149 MB w/512kb Cache, CHS=784/255/63
-
and that's where the bootup halts everytime.
Is there an IRQ conflict going on with both IDE2 and IDE3 claiming IRQ11
? If so why did they bother selling people this crap? I have tried
swapping master/slave jumper settings starting with IDE2's quantum being
set for master and IDE3's quantum set for master also. I have tried
putting IDE3's drive in slave mode (without making it a second device on
IDE2) There is no change - the boot always fails at the same place even
though the Promise BIOS detects the drive however it is set. I have
verified both the cables i need to use to connect the ata100 drives.
They are both 3 plug 80 conductor IDE cables of the same length, and if
used alone, they both work. (I haven't tried connecting both drives to
one cable since that would defeat the purpose of IDE RAID)
Can anybody who knows how this is done and especially someone who's done
software RAID on IDE help me figure out what is wrong with what I'm
doing?
------------------------------
From: "Bob 'n' Tina" <[EMAIL PROTECTED]>
Subject: Re: Yet another Newbe Question: defrag?
Date: Thu, 8 Mar 2001 01:39:03 -0500
Hoo, boy! Lew, you bring a point home well. Thanks! You see: as I rummage
through all the tools provided freely by dedicated Linux software
programmers, I've noticed a distinct lack of familiar MS-DOS/Windows-style
tools (like Norton's Utilities...after all, what's Windows without Norton?).
So I figured I'd ask.
I thank you for your well-thought-out answer. I'm very much at home on the
PC in MS products. But I got there (as did many others) with a little help
from my friends. Thanks for not throwing RTMs at me. Much of my manual
reading time has been spent with MS products.
Now it's off to new challenges and new discoveries: Linux!
"Lew Pitcher" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> On Fri, 2 Mar 2001 09:42:39 -0700, "Steve Wolfe" <[EMAIL PROTECTED]> wrote:
>
> >> >I'm used to Norton's utilities and defragmenting. Do such things occur
in
> >> >the Linux world?
> >>
> >> <grin> What makes you think that fragmentation is a bad thing?
> >
> > Useless seek time?
>
> Seek time is seek time. Since file access is multiplexed from the
> point of view of the device (multiple file accesses from multiple,
> unrelated processes, with no order imposed on the sequence of blocks
> requested), the device driver reorders the requests into something
> sensible for the device (i.e elevator algorithm).
>
> In other words, fragmentation is a concern when one (and only one)
> process access data from one (and only one) file. When more than one
> file is involved, the disk addresses being requested are 'fragmented'
> wrt the sequence that the driver has to service them, and thus it
> doesn't matter to the device driver whether or not a file was
> fragmented.
>
> To illustrate:
>
> I have two programs executing simultaneously, each reading two
> different files.
>
> Program 1 reads file 1, block 1
> file 1, block 2
> file 2, block 1
> file 2, block 2
> file 2, block 3
> file 1, block 3
>
> Program 2 reads file 3, block 1
> file 4, block 1
> file 3, block 2
> file 4, block 2
> file 3, block 3
> file 4, block 4
>
> The OS scheduler causes the programs to be scheduled and executed such
> that the device driver receives requests
> file 3, block 1
> file 1, block 1
> file 4, block 1
> file 1, block 2
> file 3, block 2
> file 2, block 1
> file 4, block 2
> file 2, block 2
> file 3, block 3
> file 2, block 3
> file 4, block 4
> file 1, block 3
>
> As you can see, the accesses are already 'fragmented' and we haven't
> even reached the disk yet. I have to stress this, the above situation
> is _no different_ from an MSDOS single file access against a
> fragmented file.
>
> So, how do we minimize the effect seen above? If you are MSDOS, you
> reorder the blocks on disk to match the (presumed) order in which they
> will be requested. OTOH, if you are Linux, you reorder the _requests_
> into a regular sequence that minimizes disk access. You also buffer
> most of the data in memory, and you only write dirty blocks. In other
> words, you minimize the effect of 'disk file fragmentation' as part of
> the other optimizations you perform on the _access requests_ before
> you execute them.
>
> Now, this is not to say that 'disk file fragmentation' is a good
> thing. It's just that 'disk file fragmentation' doesn't have the
> *impact* here that it would have in MSDOS-based systems. The
> performance difference between a 'disk file fragmented' Linux file
> system and a 'disk file unfragmented' Linux file system is minimal to
> none, where the same performance difference under MSDOS would be huge.
>
> So, you see why I ask "What makes you think that fragmentation is a
> bad thing"? Under the right circumstances, fragmentation is a neutral
> thing, neither bad nor good.
>
> As to defraging a Linux filesystem (ext2fs), there are tools
> available, but (because of the design of the system) these tools are
> rarely (if ever) needed or used. That's the impact of designing up
> front the multi-processing/multi-tasking multi-user capacity of the OS
> into it's facilities, rather than tacking
> multi-processing/multi-tasking multi-user support on to an inherently
> single-processing/single-tasking single-user system.
>
>
>
> Lew Pitcher
> Information Technology Consultant
> Toronto Dominion Bank Financial Group
>
> ([EMAIL PROTECTED])
>
>
> (Opinions expressed are my own, not my employer's.)
------------------------------
From: Nader <[EMAIL PROTECTED]>
Subject: Re: PCI IRQ Steering under Linux?
Date: Wed, 07 Mar 2001 22:45:42 -0800
It depends on the kernel version, the devices in conflict and the kernel
configuration.
I had a problem with a USR hardware modem sharing an IRQ with my HPT366
controller. After a lot of work and research (and help from Usenet
contributors), I corrected the problem without changing the hardware
configuration and both share an IRQ successfully. Unless you hear
information from someone who has been through it, you may get conflicting
information and misdirection based on assumptions and theories.
My configuration was:
ABIT BE6-II, HPT366 Controller, USR 56k 2977 hardware modem, kernel
2.2.10, Caldera 2.3
All worked fine except that the modem was reported as "busy" and could
not get dialtone. I had to manually pass ide parameters (e.g.,
ide0=0xb400,0xb802) to boot the kernel.
Then, I updated the kernel so that it could support the HPT366 and
upgraded my serial device driver to support IRQ sharing.
My configuration now:
Same as OLD but kernel 2.2.16 + hpt366 patch
(http://linux.nf/ultra66.htm) + serial 5.05
(http://serial.sourceforge.net). I boot the kernel without passing ide
parameters.
Newer kernels such as 2,4.x may already include support for your devices.
Let me know if I can provide anymore info.
Trevor wrote:
> Does Linux support PCI IRQ steering (as in Windoze)? I can't get a
> clear answer from the Red Hat support site, the LDP site, or the Web
> in general. I don't even know if it's a stupid question :-(
>
> The reason I need to know is that my Asus A7V mobo shares the IRQ for
> each PCI slot with things such as the ATA100 controller (and this
> feature seems to be non-negotiable). This means in particular that
> my Netgear FA310 network card and its IRQ (10) is recognised by the
> Linux kernel on boot-up, but the card won't work because of a conflict
> with the ATA100 controller's use of IRQ 10. The only way of getting
> an unshared IRQ for the card is to disable the ATA100 controller, and
> I don't really want to do that. A similar problem would occur on the
> other PCI slots, so there seems to be no point in shuffling the card
> around.
>
> I'm warm-booting to Red Hat 7.0 (kernel 2.2.16) via LOADLIN from DOS
> (don't know if this is relevant). The "PnP OS" BIOS value is set to
> "no".
>
> Any info gratefully received.
> Trevor
------------------------------
From: [EMAIL PROTECTED] (Harri Haataja)
Subject: Re: What's a good AGP 1x video card?
Date: Thu, 08 Mar 2001 08:08:40 GMT
Hugh Gibson wrote:
>Rob Komar <[EMAIL PROTECTED]> wrote:
>
>>> I'm wondering what's a decent AGP *1x* video card that will work well with
>>> XFree86 4...
>
>> My Matrox G400 works fine with my DK440LX motherboard.
>
>Same here.. I normally run 1280x1024 and it looks good.y
>I tried 1600x1200 and it works on my 20" fancy HP monitor, but it's pushing
>the resolution of the monitor, and the small text gets a little too small.
Too small text = too small font.
Nothing to do with relsolution.
I'm using G200 myself, the 8M is no good for dri but otherwise it's very nice.
--
Life -- Story by Kafka, illustration by Dali
------------------------------
From: Walter Pircali <[EMAIL PROTECTED]>
Subject: PCI driver for Alcatel SpeedTouch PC (DSL) ?
Date: Thu, 08 Mar 2001 09:33:44 GMT
Hi folks,
I (unfortunately) have an internal PCI DSL modem (Alcatel SpeedTouch PC)
...
Does anybody know if someone has developed kernel modules for this modem
card ?
( I think alcatel seems not to be interested) ....
Thanks to all
bye
------------------------------
From: "stephen" <[EMAIL PROTECTED]>
Subject: Re: wireless keyboard?
Date: Thu, 8 Mar 2001 17:54:32 +0800
"John Culleton" <[EMAIL PROTECTED]> ?????
news:[EMAIL PROTECTED]...
> Anyone have experience (good or bad) with a wireless keyboard for Linux?
> How about the built in touch pad "mouse" device? Any recommendations?
>
> John Culleton
------------------------------
From: "Jan Kov��" <[EMAIL PROTECTED]>
Subject: Fasttrack 100 - compilling new kernel
Date: Thu, 8 Mar 2001 10:51:33 +0100
Hello.
I have Fasttrack 100 working on a Redhat7. I need to kompile 2.4.2 kernel. I
have not the source code for the Fasttrack100 and Promise is not willing to
send it. So I have only the compiled drivers that are available from promise
home page. How can I compile the new kernel? I have tried it. It started to
boot, but it has ended with Kernel panic
Last free rows are:
request_module[block-major-8]: Root fs not mounted
VFS: Cannot open root device "801" or 08: 01
Please append a correct "root=" boot option
I am sure that I have correct boot option in Lilo.
How can I compile the kernel with the Fasttrack enabled?
Thanks
Jan Kovar
------------------------------
From: [EMAIL PROTECTED] (M. Buchenrieder)
Subject: Re: PCI IRQ Steering under Linux?
Date: Thu, 8 Mar 2001 07:21:22 GMT
[EMAIL PROTECTED] (Trevor) writes:
>Does Linux support PCI IRQ steering (as in Windoze)? I can't get a
>clear answer from the Red Hat support site, the LDP site, or the Web
>in general. I don't even know if it's a stupid question :-(
See "man lspci" and "man setpci" for these tasks.
>The reason I need to know is that my Asus A7V mobo shares the IRQ for
>each PCI slot with things such as the ATA100 controller (and this
>feature seems to be non-negotiable).
Basically, PCI devices _can_ share interrupts, assuming that both
the hardware and the drivers for the various devices support it.
However, with the ATA100 controllers (Promise etc.), this does not
work - at all. The Promise controller as built into most of today's ATA-
100 compatible motherboards, does not like IRQ sharing, and you'll
have to make sure that the controller receives an IRQ of its own.
>This means in particular that
>my Netgear FA310 network card and its IRQ (10) is recognised by the
>Linux kernel on boot-up, but the card won't work because of a conflict
>with the ATA100 controller's use of IRQ 10.
See relevant comments on the doubtable quality of the Netgear FA310
controller. A PCI NIC can and will share IRQs, even with devices
that issue or receivce lots of IRQ requests on the same line.
My USD $ 20.-- RTL8029 card does happily coexist with my Dawi
SCSI controller. Try a different slot, or use a different NIC.
Michael
--
Michael Buchenrieder * [EMAIL PROTECTED] * http://www.muc.de/~mibu
Lumber Cartel Unit #456 (TINLC) & Official Netscum
Note: If you want me to send you email, don't munge your address.
------------------------------
From: "C." <[EMAIL PROTECTED]>
Subject: Dynalink 10BC PCMCIA
Date: Thu, 08 Mar 2001 11:58:01 GMT
Hey,
Has somebody here succesfully installed a Dynalink 10BC PCMCIA ethernet on
linux (this not the same as the Dynalink 10C PCMCIA ethernet wich is linux
compatible)?
It is a very cheap pcmcia card (45$) and it works fine on windows on my
toshiba 2100cds. I want to get rid of my windows partiition and concentrate
on linux (it works fine on the laptop). But before doing so I need the
ethernet card fixed (what the fun without it?).
Greets,
C
PS: please also mail yor answer to [EMAIL PROTECTED]
------------------------------
From: Edward Valencia <[EMAIL PROTECTED]>
Crossposted-To: be.comp.os.linux,nl.comp.os.linux,alt.os.linux
Subject: Re: ATI Rage Fury
Date: Thu, 08 Mar 2001 06:16:52 -0600
Reply-To: [EMAIL PROTECTED]
YOu may want to get the lastest version of you Xserver, also you may
want to update XF86free to 4.0. Also found a Util that is rather useful
for the ATI cards:
http://avis.lightband.com/david/rage128-howto.html
edwardv-
Studenten FR wrote:
>
> Hello,
>
> I'm having trouble getting a
>
> ATI Rage Fury Pro/Xpert 2000 Pro
>
> videocard up and running on a linux (RH6.0) system of a friend of mine.
> I think it's a rather new videocard, so it is highly likely that it's
> not supported yet by XFree86. Does anyone have any suggestions or does
> anyone know of a Xserver for this card ???
>
> Thanks,
>
> bino
------------------------------
Date: Thu, 08 Mar 2001 13:17:26 +0100
Subject: Re: laser printer for Linux
From: De Roeck Software <[EMAIL PROTECTED]>
Our HP4050TN works great with linux,
regards,
nick.
------------------------------
From: A. J. Clark <[EMAIL PROTECTED]>
Subject: Re: Question: setup cable modem, Linux and Windows
Crossposted-To: comp.os.linux.networking,comp.os.linux.misc
Date: Thu, 08 Mar 2001 12:18:14 GMT
It's amazing the difference a non-proportional font makes in such diagrams.
The diagram says,
cable modem into NIC on Linux router/firewall/NAT, Hub connected to another
NIC on Linux router/firewall/NAT, connect up whatever you like to the hub.
On March 7, 2001 01:55 pm, bmeson wrote:
> Erh.. Does the Linux[1] box down there need 4 NIC then? one to cable
> modem, one to hub and other two for two boxes.
>
> "Greg Yantz" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]...
> > > [EMAIL PROTECTED] (Grant Edwards) writes:
> > > Indeed. If it doesn't (many don't, mine certainly doesn't) you
> > > might want something like:
> >>
> > >
> > ----- box (Linux)
> > |> |
> > > cable ------ Linux[1] ------ Hub --- box (Win)
> > > modem |
> > >
> > ----- box (Win)
> >>
> > [> [1] - NAT + firewall of some kind (doesn't have to be Linux, could be
> > > *BSD); hardware requirements are minimal
> >>
> > > -Greg
>
>
>
--
Does Humour Belong in Technology?
http://humour.bccs.net
(Remove -nospam-to email)
------------------------------
From: Klaus Stysch <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.development.apps,comp.os.linux.networking
Subject: Re: Obtaining the MAC address
Date: Thu, 08 Mar 2001 13:23:43 +0100
Reply-To: [EMAIL PROTECTED]
>
> > strcpy(devea.ifr_name,"eth0\x0");
> ^^^
> What's that ||| all about?
>
You do not have to put a NULL at the end, but this is my way to terminate
a string
bye,
klaus
------------------------------
Date: Thu, 08 Mar 2001 13:25:40 +0100
Subject: Re: Question: setup cable modem, Linux and Windows
From: De Roeck Software <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking,comp.os.linux.misc
What about:
cablemodem -- Linux -(crossed cable)- Windows
saves you the purchase of a hub ;-)
Add some decent ipchains on your linux box you're all set.
regards,
nick.
> Hi, I have a Linux and a Windows PC. I need to connect them together and to
> the cable modem. I also want the outside world be able see my Linux machine
> (I want to setup Linux as webserver, ftp and telnet, etc.) I'm thinking
> buying a hub for this task.
>
> So what is the proper connection? is it
>
> cable modem --- Linux --- Hub --- Windows
>
> or
>
> cable modem --- Hub --- Linux
> |
> ------ Windows
>
> Or should I use something other than hub?
>
> Thanks.
>
>
>
------------------------------
From: Rolf Magnus <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.development.apps,comp.os.linux.development.system
Subject: Re: Processor ID
Date: Thu, 8 Mar 2001 13:30:05 +0100
Dave Blake wrote:
>> Why doesn't it disable access to the your ethernet MAC then also?
>
> Don't know.
>
> Presumably because things like flex license manager work
> by querying the MAC address. Making the MAC address
> inaccessible by default would disable lots of functionality.
So those programs need an ethernet card to function properly?
------------------------------
From: Massimo Pinto <[EMAIL PROTECTED]>
Subject: e2fsck -fy /dev/... does not correct an error
Date: Thu, 8 Mar 2001 12:40:42 +0000
I have lost access to a file on a ext2fs partition. I thought it would
have been a good idea to umount the partition and run e2fsck as follows:
[root@pc2990 pinto]# /sbin/e2fsck -fy /dev/hdb6
e2fsck 1.18, 11-Nov-1999 for EXT2 FS 0.5b, 95/08/09
Pass 1: Checking inodes, blocks, and sizes
Error reading block 114724 (Attempt to read block from filesystem resulted in short
read) while doing inode scan. Ignore error? yes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
/dev/hdb6: 13360/94576 files (0.8% non-contiguous), 244623/376833 blocks
Running interactively and choosing not to ignore the error at block
114724. What am I doing wrong? Should I use a more specific block size
with the -B option?
Thanks
Massimo
--
Massimo Pinto
Ph.D. student
Gray Laboratory Cancer Research Trust
http://www.graylab.ac.uk/usr/pinto
------------------------------
From: Ernst Sexauer <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.development.apps,comp.os.linux.networking
Subject: Re: Obtaining the MAC address
Date: Thu, 08 Mar 2001 13:39:15 +0100
"Bruce E. Varney" schrieb:
> All,
>
> ifconfig and dhcp are obviously able to pull the MAC address from the
> NIC, but I
> can't seem to isolate the appropriate system call to do this in my own
> program. How
> do I obtain the MAC address from the ethernet card?
There is a real simple way, to do this. Just install arpwatch. It scans
your network permanently for IP- and MAC-adresses and sents you a meil, if
changes are detected. In var/lib/arpwatch you will find a file with all
your current ip/mac-adresses.
Best regards
E.R. Sexauer
------------------------------
From: Kiira Triea <[EMAIL PROTECTED]>
Subject: Quad Xeon sc450nx and Linux?
Date: Thu, 08 Mar 2001 13:05:18 GMT
Hi,
I'm going to be running 2.4.x on a four Xeon sc450nx board and am
wondering if anyone else has had any experiences with this platform?
I'm mainly wondering about matching the stepping - are there any
problems with mismatches? I've never had problems with that when
running mismatched PPros.
thanks,
Kiira
------------------------------
** 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
******************************