Linux-Hardware Digest #292, Volume #10           Fri, 21 May 99 15:13:52 EDT

Contents:
  Re: New cable modem means I have a lot to learn (ByteMe)
  Compaq ProSignia and ProLiant (Rob Walsh)
  Is emachine's 400i good for Linux (Dean Pan)
  Re: Compaq ProSignia and ProLiant ("Tony")
  Re: how's this for a cheap webserver? (Jeff McWilliams)
  Re: WinPrinter OKI Page 4W ("Lee Sharp")
  Problems using CD-RW with cdwrite (Mark Janssen)
  bttv+realserver+broadcasting (Christian Hahn)
  UDMA DOESN'T WORK !!! ([EMAIL PROTECTED])

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

From: ByteMe <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.misc,comp.os.linux.networking
Subject: Re: New cable modem means I have a lot to learn
Date: Fri, 21 May 1999 00:48:46 -0700

Steve Snyder wrote:

> The good news: after years of dithering my cable TV provider is providing
> Internet access.  The bad news: I need to quickly get up to speed on
> everything needed to provide Internet access to my whole LAN via the cable
> modem.
>
> My simple LAN consists of a server running RedHat v5.2 (updated to kernel
> v2.2.x and glibc v2.1) and 10 clients (running Win95, Win98 and OS/2) all
> running on the same subnet.  Name resolution is done via an identical hosts
> file on each system.  The server does not provide Internet access to the
> clients.
>
> I do not intend to run any additional local services (mail, Web, news, etc.)
> at this time.  I just want my LANs server to pass packets between the client
> machines and the cable modem.
>
> With the imminent arrival of my cable modem I quickly need info on:
>
> 0. My ISP will provide a dynamically-allocated IP address.  Does that mean I
> need to configure my server for DHCP?  All the client system will continue
> to have static addresses.
>
> 1.  Supporting a 2nd NIC in my server.  Having Linux recognize both NICs is
> a no-brainer, but how do I configure it to communicate only with the cable
> modem?  (The 1st NIC will remain connected to the hub, of course.)
>
> 2. IP Masquerading?
>
> 3. Firewall?  Up to now I haven't had to think much about security, since
> the LAN doesn't have direct Internet access.  Now that we'll be constantly
> connected, I'm wondering if I need a firewall.  I have an older machine that
> I could use solely as a firewall if needed.
>
> Any information, or pointers to info, on these topics would be gratefully
> received.
>
> Thank you.
>
> ***** Steve Snyder *****

  Be extremely concerned about security when connected via a cable modem.

do not run telnetd if you don't need it.

set up a dedicated firewal/GW and or Proxy machine and use ip_masq.

strip the machine down to as few services as posible to start ( it's called
bastion host )

no ftp, http ,telnet, tty , finger , netstat, whois or ping services.
( crond even has a hole )

some important files to pay attention too are /etc/hosts.deny, hosts.allow,
hosts
take complete control over these files and others , such as chmod , su , chgrp,
chown , login ,
passwd , etc.

if you strip the services (and know how to maintain the box manualy ) you can
take control of the /bin  , /etc dir's  so that no one else can see or execute
them ( the machine will still run just fine ) to do this    ( chmod -R
o-rwx,g-rwx /bin /etc ) check your documentation befor you do this for the
correct syntax for your machine & MAKE A BACKUP first on these directories
somewhere else on the hard drive , if you screw it up you'll be locked
completely out of the machine ( hense the security aspect of doing this ) and
you will probably have to rebuild you system.

do some reading befor you go nuts on your machine , But I promise you , you
will be hacked through the cable modem if you don't pay attention to security
!!!





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

From: [EMAIL PROTECTED] (Rob Walsh)
Subject: Compaq ProSignia and ProLiant
Reply-To: [EMAIL PROTECTED]
Date: 21 May 99 04:08:18 GMT

The shop I work in has been using SCO Unix and Compaq server class
hardware for several years.  I would like to try and convince my boss
to switch to Linux where we can.  (I have been using Debian Linux on
my workstation for the last 2.5 years, and have gotten rather
spoiled. :-)

In all my digging through FAQs, HOWTOs, source code, and web sites, I
have not been able to find any reference to using Compaq server
hardware with Linux.  Specifically whether any of the Compaq SCSI
controllers or Ethernet cards (NetFlex) are supported.  I am
completely puzzled that there is no mention of them, one way or the
other.

Has anyone had any success running Linux on Compaq ProLiant (2000,
2500, and 4500, I think) or ProSignia (300) hardware?  If so, where
can I find info on what drivers to use?

Thanks,
  Rob.

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

From: Dean Pan <[EMAIL PROTECTED]>
Subject: Is emachine's 400i good for Linux
Date: Fri, 21 May 1999 04:14:43 GMT

I consider buying a emachine's 400i (intel celeron 400MHz) to run linux.
It seems to be a good deal.  I plan to add a NIC and some more RAM on it.
I am wondering if its integrated SVGA and sound card works under linux.
Anyone has a successful experience on emachine?  Thanks!

Dean



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

From: "Tony" <[EMAIL PROTECTED]>
Subject: Re: Compaq ProSignia and ProLiant
Date: Fri, 21 May 1999 18:45:04 +1000

Rehat 6 will install directly onto your Raid disks !!!

Not all the Netflex cards are tlan's some are Intel chipset


Rob Walsh wrote in message ...
>The shop I work in has been using SCO Unix and Compaq server class
>hardware for several years.  I would like to try and convince my boss
>to switch to Linux where we can.  (I have been using Debian Linux on
>my workstation for the last 2.5 years, and have gotten rather
>spoiled. :-)
>
>In all my digging through FAQs, HOWTOs, source code, and web sites, I
>have not been able to find any reference to using Compaq server
>hardware with Linux.  Specifically whether any of the Compaq SCSI
>controllers or Ethernet cards (NetFlex) are supported.  I am
>completely puzzled that there is no mention of them, one way or the
>other.
>
>Has anyone had any success running Linux on Compaq ProLiant (2000,
>2500, and 4500, I think) or ProSignia (300) hardware?  If so, where
>can I find info on what drivers to use?
>
>Thanks,
>  Rob.



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

From: [EMAIL PROTECTED] (Jeff McWilliams)
Subject: Re: how's this for a cheap webserver?
Reply-To: [EMAIL PROTECTED]
Date: Fri, 21 May 1999 09:06:44 GMT

In article <7i2dto$l8s$[EMAIL PROTECTED]>, chris pitzel wrote:
>
>>ethernet card ($45)
>>INTEL:PRO100 100MBPS ETHER EXPRESS PRO 100+ PCI
>
>Not a great board -- look for either a 3com 3c905 board, or one based on
>the DEC Tulip chipset.
>

Hmmm, VA Linux Systems sells the Intel EEpro 10/100 with their 
Quad PIII-Xeon systems - so I think it's okay for an experimental 
budget web server.  "TRUE" DEC Tulip based cards are almost impossible
to find now.  The DEC 2114x and 2104x chips are, to my understanding,
out of production and so many card manufacturers are using the Lite-On
PNIC chipset, a Macronix chipset, or one of several other possible
Tulip clones in their cards.  Or they're moving to other cheap 
chips like the Realtek or the Via-Rhine.  

I'd stick with 3COM 3C905 or an Intel 10/100.  I currently like the 
Intel. 

-- 
Jeff McWilliams - Advanced Development Engineer, ACE Technologies
[EMAIL PROTECTED]



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

From: "Lee Sharp" <[EMAIL PROTECTED]>
Subject: Re: WinPrinter OKI Page 4W
Date: Fri, 21 May 1999 17:00:45 GMT

Jean-Yves Pignier <[EMAIL PROTECTED]> wrote in article
<[EMAIL PROTECTED]>...
> Is there a way to use a OKI Page 4W under linux ?

   http://www.picante.com/~gtaylor/pht/printer_list.cgi is the printer
compatability guid.  It has pointers to a driver.

                        Lee
-- 
SCSI is *NOT* magic. There are *fundamental technical reasons* why it is
necessary to sacrifice a young goat to your SCSI chain now and then. *
Black holes are where God divided by zero. - I am speaking as an
individual, not as a representative of any company, organization or other
entity.  I am solely responsible for my words.




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

From: Mark Janssen <[EMAIL PROTECTED]>
Subject: Problems using CD-RW with cdwrite
Date: Fri, 21 May 1999 20:25:59 +0200

Hi there,

while trying to write a cd using my Philips cdd 3600 on an tekram DC-390
series
SCSI adapter I' am encountering some serious troubles.
If I try to eject the cd with cdwrite:     cdwrite --eject --device
/dev/sga

I get the following errors:

load_unload result 0, pack_id 9 sense F0 00 05 00 00 00 00 28 00 06 F1
37 20 00 00 00
18 of 18 load_unload reply bytes: 05 80 02 02 33 00 00 10 50 48 49 4C 49
50 53 20 43 44

These same errors are appearing when I try to burm a cd.

I am however able to mount cd's in the CD-Rw as /dev/scd0

I would really enjoy it if I could burn my cd's using linux (yet another
reason
to get rid of Winblows)

greets Mark Janssen
(I would appriciate it if you als answered via e-mail
([EMAIL PROTECTED])

___________________________
some info on my config:

I am using the am53c974 driver which came with RedHat 5.2.

My CD-RW is the only device connected to the SCSI adapter

/proc/scsi

/proc/pci

Attached devices:
Host: scsi0 Channel: 00 Id: 01 Lun: 00
  Vendor: PHILIPS  Model: CDD3600 CD-R/RW  Rev: 2.00
  Type:   CD-ROM                           ANSI SCSI revision: 02

PCI devices found:
  Bus  0, device  11, function  0:
    SCSI storage controller: AMD 53C974 (rev 16).
      Medium devsel.  IRQ 11.  Master Capable.  Latency=32.  Min
Gnt=4.Max Lat=4 0.
      I/O at 0xb400.

<SNIP>

output of dmesg (partial):

md driver 0.36.3 MAX_MD_DEV=4, MAX_REAL=8
scsi0: WARNING: unusual hostadapter SCSI id 0; please verify!
scsi0 : AM53/79C974 PCscsi driver rev. 0.5; host I/O address: 0xb400;
irq: 11

scsi : 1 host.
  Vendor: PHILIPS   Model: CDD3600 CD-R/RW   Rev: 2.00
  Type:   CD-ROM                             ANSI SCSI revision: 02
Detected scsi CD-ROM sr0 at scsi0, channel 0, id 1, lun 0
scsi : detected 1 SCSI cdrom total.



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

From: Christian Hahn <[EMAIL PROTECTED]>
Subject: bttv+realserver+broadcasting
Date: Fri, 21 May 1999 20:02:52 +0200

Hi,
sorry my last posting was in german.

Does anyone know how to setup a G2 RealServer with broadcast ability? I
already installed the RealServer successfully, but i don't know how to
link the video signal ( i have a bttv compatbile card) with the server.
Please help,
Christian

--
Christian Hahn  ---  [EMAIL PROTECTED]
ICQ: 34545212
http://www.medianetz.de/ch




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

From: [EMAIL PROTECTED]
Subject: UDMA DOESN'T WORK !!!
Date: Fri, 21 May 1999 18:04:44 GMT

Hello!

I will describe my problem briefly and give you info as much
as I can give (possibly you can help me better - and not to
take much of your valuable time):

Mainboard:      S1562D (Tyan Tomcat II)
BIOS rev.:      V4.02 (from 7/9/1998)
Chipset:        Intel 430 HX
CPU:            2 x P166
RAM:            64 MB EDO
GraKa.:         V7 Mirage P64 2MB     (SLOT1)
eth2:           NE2000 (Realtek 8029) (SLOT2)
eth1:           3c905b-TX             (SLOT3)
eth0:           3c900Combo            (SLOT4)
HD:             Maxtor 91000D8 (10,1GB, 7200rpm, UDMA cap.)


BIOS setup is:

INTEGRATED PERIPHERALS:
IDE HDD Block MODE:        Disabled
PCI Slot IDE 2nd Channel:  Enabled
On-Chip Primary PCI IDE:   Enabled
On-Chip Secondary PCI IDE: Enabled
IDE Primay Master PIO:     Auto
IDE Primay Slave PIO:      Auto
IDE Secondary Master PIO:  Auto
IDE Secondary Slave PIO:   Auto
IDE Primary Master UDMA:   Auto
IDE Primary Slave UDMA:    Auto
IDE Secondary Master UDMA: Auto
IDE Secondary Slave UDMA:  Auto

PCI/PNP CONFIGURATION:
Recources Controlled By:   Auto
Reset Configuration Data:  Disabled
PCI IRQ Activated By:  Level
PCI IDE IRQ Map To:    PCI-AUTO
  Primay IDE INT#:     A
  Secondary IDE INT#:  B


BIOS report is for IDE devices:
Pri. Master Disk: LBA, UDMA2, 10007MB
Pri. Slave  Disk: None
Sec. Master Disk: CDROM, Mode 4
Sec. Slave  Disk: None

==================================================================

So far my hardware config,... and this is my software config:

RedHat V5.2

dmesg reports this:

Linux version 2.3.2 (root@cyberstorm) (gcc version 2.7.2.3) #6 SMP Fre
Mai 21 03:33:59 CEST 1999
Intel MultiProcessor Specification v1.1
    Virtual Wire compatibility mode.
OEM ID: OEM00000 Product ID: PROD00000000 APIC at: 0xFEE00000
Processor #0 Pentium(tm) APIC version 17
Processor #1 Pentium(tm) APIC version 17
I/O APIC #2 Version 17 at 0xFEC00000.
Processors: 2
mapped APIC to ffffe000 (fee00000)
mapped IOAPIC to ffffd000 (fec00000)
Detected 166195741 Hz processor.
Console: colour VGA+ 80x25
Calibrating delay loop... 66.36 BogoMIPS
Memory: 63096k/65536k available (808k kernel code, 416k reserved,
1168k data, 48k init)
VFS: Diskquotas version dquot_6.4.0 initialized
Checking 386/387 coupling... OK, FPU using exception 16 error
reporting.
Checking 'hlt' instruction... OK.
Intel Pentium with F0 0F bug - workaround enabled.
POSIX conformance testing by UNIFIX
per-CPU timeslice cutoff: 1.56 usecs.
CPU0: Intel Pentium 75 - 200 stepping 0c
calibrating APIC timer ... 
..... CPU clock speed is 166.1949 MHz.
..... system bus clock speed is 66.4777 MHz.
Booting processor 1 eip 2000
Calibrating delay loop... 66.36 BogoMIPS
OK.
CPU1: Intel Pentium 75 - 200 stepping 0c
Total of 2 processors activated (132.71 BogoMIPS).
enabling symmetric IO mode... ...done.
ENABLING IO-APIC IRQs
init IO_APIC IRQs
 IO-APIC pin 0, 10, 11, 12, 16, 20, 21, 22, 23 not connected.
..MP-BIOS bug: 8254 timer not connected to IO-APIC
...trying to set up timer as ExtINT... .. (found pin 0) ... works.
number of MP IRQ sources: 16.
number of IO-APIC registers: 24.
testing the IO APIC.......................
.... register #00: 02000000
.......    : physical APIC id: 02
.... register #01: 00170011
.......     : max redirection entries: 0017
.......     : IO APIC version: 0011
.... register #02: 00000000
.......     : arbitration: 00
.... IRQ redirection table:
 NR Log Phy Mask Trig IRR Pol Stat Dest Deli Vect:   
 00 000 00  0    0    0   0   0    0    7    51
 01 000 00  0    0    0   0   0    1    1    59
 02 000 00  0    0    0   0   0    1    1    51
 03 000 00  0    0    0   0   0    1    1    61
 04 000 00  0    0    0   0   0    1    1    69
 05 000 00  0    0    0   0   0    1    1    71
 06 000 00  0    0    0   0   0    1    1    79
 07 000 00  0    0    0   0   0    1    1    81
 08 000 00  0    0    0   0   0    1    1    89
 09 000 00  0    0    0   0   0    1    1    91
 0a 000 00  1    0    0   0   0    0    0    00
 0b 000 00  1    0    0   0   0    0    0    00
 0c 000 00  1    0    0   0   0    0    0    00
 0d 000 00  1    0    0   0   0    0    0    00
 0e 000 00  0    0    0   0   0    1    1    99
 0f 000 00  0    0    0   0   0    1    1    A1
 10 000 00  1    0    0   0   0    0    0    00
 11 0FF 0F  1    1    0   1   0    1    1    A9
 12 0FF 0F  1    1    0   1   0    1    1    B1
 13 0FF 0F  1    1    0   1   0    1    1    B9
 14 000 00  1    0    0   0   0    0    0    00
 15 000 00  1    0    0   0   0    0    0    00
 16 000 00  1    0    0   0   0    0    0    00
 17 000 00  1    0    0   0   0    0    0    00
IRQ to pin mappings:
IRQ0 -> 2
IRQ1 -> 1
IRQ3 -> 3
IRQ4 -> 4
IRQ5 -> 5
IRQ6 -> 6
IRQ7 -> 7
IRQ8 -> 8
IRQ9 -> 9
IRQ10 -> 18
IRQ11 -> 17
IRQ12 -> 19
IRQ13 -> 13
IRQ14 -> 14
IRQ15 -> 15
.................................... done.
PCI: PCI BIOS revision 2.10 entry at 0xfb360
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: Unix domain sockets 1.0 for Linux NET4.0.
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
Linux IP multicast router 0.06 plus PIM-SM
Initializing RT netlink socket
Starting kswapd v 1.5 
Serial driver version 4.27 with no serial options enabled
ttyS01 at 0x02f8 (irq = 3) is a 16550A
pty: 256 Unix98 ptys configured
Real Time Clock Driver v1.09
RAM disk driver initialized:  16 RAM disks of 4096K size
Uniform Multi-Platform E-IDE driver Revision: 6.19
PIIX3: IDE controller on PCI bus 00 dev 39
PIIX3: not 100% native mode: will probe irqs later
    ide0: BM-DMA at 0xf000-0xf007, BIOS settings: hda:pio, hdb:pio
    ide1: BM-DMA at 0xf008-0xf00f, BIOS settings: hdc:pio, hdd:pio
hda: Maxtor 91000D8, ATA DISK drive
hdc: no response (status = 0xd0), resetting drive
hdc: , ATAPI CDROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: Maxtor 91000D8, 9543MB w/512kB Cache, CHS=1216/255/63, UDMA(33)
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
Partition check:
 hda:hda: dma_intr: status=0x51 { DriveReady SeekComplete Error }
hda: dma_intr: error=0x84 { DriveStatusError BadCRC }
hda: dma_intr: status=0x51 { DriveReady SeekComplete Error }
hda: dma_intr: error=0x84 { DriveStatusError BadCRC }
hda: dma_intr: status=0x51 { DriveReady SeekComplete Error }
hda: dma_intr: error=0x84 { DriveStatusError BadCRC }
hda: dma_intr: status=0x51 { DriveReady SeekComplete Error }
hda: dma_intr: error=0x84 { DriveStatusError BadCRC }
hda: DMA disabled
ide0: reset: success
 hda1 hda2 < hda5 hda6 >
VFS: Mounted root (ext2 filesystem) readonly.
Freeing unused kernel memory: 48k freed
Adding Swap: 72256k swap-space (priority -1)

Can you see that a few lines above????
I have tried nearly everything in menuconfig... but the state never
changed so far!

===================================================================

hdparm V3.3

hdparm /dev/hda report to me this:

/dev/hda:
 multcount    =  0 (off)
 I/O support  =  0 (default 16-bit)
 unmaskirq    =  0 (off)
 using_dma    =  0 (off)
 keepsettings =  0 (off)
 nowerr       =  0 (off)
 readonly     =  0 (off)
 readahead    =  8 (on)
 geometry     = 1216/255/63, sectors = 19545120, start = 0


And when I type hdparm -I /dev/hda this is showed me:

/dev/hda:

 Model=aMtxro9 01008D                          , FwRev=ASXSB181,
SerialNo=8Y30S4AY
 Config={ Fixed }
 RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=29
 BuffType=3(DualPortCache), BuffSize=512kB, MaxMultSect=16,
MultSect=off
 DblWordIO=no, maxPIO=2(fast), DMA=yes, maxDMA=2(fast)
 CurCHS=19390/16/63, CurSects=16514064, LBA=yes, LBAsects=19545120
 tDMA={min:120,rec:120}, DMA modes: mword0 mword1 mword2 
 IORDY=on/off, tPIO={min:120,w/IORDY:120}, PIO modes: mode3 mode4

Changing parameters for UDMA with command

hdparm -d 1 /dev/hda

/dev/hda:
 setting using_dma to 1 (on)
 using_dma    =   1 (on)

After few seconds the drive LED lights up, the console hangs up
and prints:

hda: irq timeout: status=0x58 { DriveReady SeekComplete DataRequest }
hda: DMA disabled
ide0: rest : success

hda: irq timeout: status=0xd0 { Busy }   ...

And so on. Even if you hard-reset your machine the the machine does
not boot. It hangs when it wants to detect the drive... it's enough
to drive you up the wall!!!

So.
I hope that I gave you enough information (hopefully not too much -
SORRY).

NOTE: if Win95/98/NT4 is installed, there is no problem with UDMA
      setup. It works fine...

PLEASE (and again PLEASE) help me!!! I'm very glad about every
information given to me.

Thanx in advance!
Sincerely
 Erkan Aksit

PS: If you want some other information too, then let me know...

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


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