Re: Good Proxy Server

2005-01-12 Thread Jan Houstek
On Wed, 12 Jan 2005, David Demland wrote:

> What would be a good proxy server to run on my Sparc 5 firewall? The
> main goal is to filter websites by URL and by content. I am not as
> concern about the caching.
>
> Any ideas?

apache + mod_proxy

It runs surprisingly well on several my routers. If you are familiar with
apache httpd, consider giving mod_proxy a try.

-- Jan Houstek


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: How to use 200 GB Disk on Ultra10?

2005-01-03 Thread Jan Houstek
On Mon, 3 Jan 2005, Steve Pacenka wrote:

> I understand that there are limits on the three values in a U10, I
> believe 255 heads, 63 sectors, and 16383 cyl.
>
> 120G and 80G drives work okay in my U10, with OBP 3.19.4 1999/04/28.
> Geometries are 14593 cyl, 255 heads, 63 sectors, and 9729/255/63
> respectively.

Yes, exactly. This is fdisk -l run on my 120GB ST3120026A disk.
It is used in my Ultra10 as the boot disk. 14593 is the highest possible
cylinder count for this drive.

Disk /dev/hde (Sun disk label): 255 heads, 63 sectors, 7200 rpm
14593 cylinders, 0 alternate cylinders, 14593 physical cylinders
0 extra sects/cyl, interleave 1:1
Linux custom cyl 14593 alt 0 hd 255 sec 63
Units = cylinders of 16065 * 512 bytes

   Device FlagStart   EndBlocks   Id  System
/dev/hde1 012 96390   83  Linux native
/dev/hde212   139   1020127+  82  Linux swap
/dev/hde3 0 14593 117218272+   5  Whole disk
/dev/hde4   139   776   5116702+  83  Linux native
/dev/hde5   776 14593 110985052+  8e  Linux LVM

-- Jan Houstek



RE: How to use 200 GB Disk on Ultra10?

2005-01-02 Thread Jan Houstek
On Sun, 2 Jan 2005, Roland Rick wrote:

> May someone suggest, from which alternetively PCI controller may also be
> booted? I have enough free PCI slots.

Such device would have to be supported by OpenPROM and I doubt it would be
available for a reasobable price (if it even exists).

Why not using CDROM or net as the boot device (if booting is the only
problem left)? Or use some small old disk entirely for booting, there is a
plenty of free space in an Ultra 10 chassis :)

-- Jan Houstek



Re: SunPCI under Linux

2005-01-02 Thread Jan Houstek
On Sun, 2 Jan 2005 [EMAIL PROTECTED] wrote:

> I've got a SunPCI card in my U10 and I wondering if it is possible to
> use it under linux? If so, can anyone give me a lead (or howto)?

What do you mean? Running Linux on the SunPCI card (with Solaris on
the host system) or using this card with Linux on the host system? In
the former case, look at
http://www.vdberg.org/~richard/Linux-on-SunPCi-mini-Howto/

-- Jan Houstek



Re: How to use 200 GB Disk on Ultra10?

2005-01-02 Thread Jan Houstek
On Sun, 2 Jan 2005, Admar Schoonen wrote:

> As far as I know, the Ultra5 and Ultra10 onboard ide controllers don't
> support disks that large. I don't know what the maximum size is, but a
> Blade 100 has an UDMA66 (or is it UDMA100?) controller, and that
> specification supports disks up to 137 GB.

[...]

> The upper limit of an Ultra 5 is at least 20 GB, as I have one running with a 
> 20
> GB disk, and I can use it's full capacity.

I can confirm that 120 GB disk works well in both Ultra 5 and Ultra 10.
Disks larger than 137 GB are most likely not supported (because of ATA-66
limitations). On the other hand, extern controllers (like SIL0680 in my
case) works quite well, the only limitation is that OpenProm cannot boot
from disks at this controllers.

-- Jan Houstek



Re: Using ReiserFS on raid1 devices (except /boot) advise anyone ??

2004-10-28 Thread Jan Houstek
On Thu, 28 Oct 2004, Tom Vier wrote:

> make /boot ext2 and you can have a raid1 root. the debian installer has
> problems setting up persistent superblocks, though. i recommend
> installing to a sparce drive, then making the arrays, copy everything
> other, and install silo.
>
> i've used reiserfs on sparc for a while. never had any problems. i
> didn't stress it much, though. i haven't tried raid on sparc, but it
> should be endian clean (i think i've run it on ppc).

Can confirm that. I use reiserfs on top of LVM1 under which there is
software raid1 :) It's an Ultra 10 running Woody with custom 2.4.27
kernel. It serves mainly as a FTP server with load of about 250 GB a day.

-- Jan Houstek



Re: X on SS20

2004-07-15 Thread Jan Houstek
On Thu, 15 Jul 2004, Torbjörn Olander wrote:

> > Why are you using 2.6? Perhaps you will have more luck with 2.4?
>
> The 2.6 kernel at least feels a lot faster than 2.4, and for the fun of
> testing the latest kernel.  :)

For 32bit Sparc, 2.2 is recommended and you may try to play with 2.6.
Do NOT use 2.4, it's a nightmare, and with 2.6 out there, noone is going
to fix it.

-- Jan Houstek



Re: 2.4 kernel for SUNstation 20

2004-04-29 Thread Jan Houstek
On Fri, 29 Apr 2004, Martin wrote:

> > I've got woody running fine but want to use iptables before I put my machine
> > on the web, hence the query.

> You could just use ipchains.  Syntax is a little different IIRC but the
> core functionality is the same.

He he, one of our largest firewalls separating a network of more than 1000
IP devices from the internet runs 2.0.40 kernel with ipchains support. So
if your concern is just a single machine, ipchains will surely do fine :)

> If you have time to play around then I'm sure the testing team would
> love another report that
> http://packages.debian.org/testing/debian-installer/kernel-image-2.4.24-sparc32-di
> works fine :-)

OK, if that is so appreciated, I must report, that 2.4.24-sparc32 and
2.4.26-sparc37 (from unstable) runs with no problems on my pizzaboxes
(several SparcStations and SparcServers).

:-)

-- Jan Houstek



Re: A tiring recipe to install sarge!

2004-04-27 Thread Jan Houstek
On Tue, 27 Apr 2004, Antonio Luiz Pacifico wrote:

> I spent 3 hours doing this process.

Haven't you heart about apt-get dist-upgrade?

(from man apt-get)

   dist-upgrade
  dist-upgrade, in addition to performing  the  func­
  tion  of upgrade, also intelligently handles chang­
  ing dependencies with  new  versions  of  packages;
  apt-get  has  a "smart" conflict resolution system,
  and it will attempt to upgrade the  most  important
  packages  at  the expense of less important ones if
  necessary.  The /etc/apt/sources.list file contains
  a  list of locations from which to retrieve desired
  package files.

-- Jan Houstek



Re: Sarge on a Sparc5

2004-04-21 Thread Jan Houstek
On Wed, 21 Apr 2004, Admar Schoonen wrote:

> Couldn't you try a net install?

I'd also recommend net install. The most easy way is IMHO via RARP+TFTP.
All you need to do is

1) install rarpd on some machine in the network
2) edit /etc/ethers (format si   at one line).
3) start rarpd
4) install tftpd (and enable it in /etc/inetd.conf)
5) get proper image and rename (or symlink) it, you find the proper
   name in tftpd log (the name is clients IP adress in in hex, e.g.
   C0A80101).

For more info see
http://www.debian.org/releases/stable/sparc/ch-install-methods.html#s-install-tftp

-- Jan Houstek



Re: Sarge on a Sparc5

2004-04-21 Thread Jan Houstek
On Wed, 21 Apr 2004, Eric Nichols wrote:

> Needless to say I'm stuck.  Is there a parameter I need to put in before
> boot or will this work at all on this old box?

I use Woody with no problems on SS 5. Try it! (Moreover, it's not
difficult to switch a running woody system to sarge.)

-- Jan Houstek



Re: Debian + HardDrive 250GB

2004-04-15 Thread Jan Houstek
On Thu, 15 Apr 2004, Lorenzo wrote:

> My problem is that it only recognise a maximum of 30GB (glurps !! :-) after
> setting up with fdisk utilities.
> I tried different specifications in fdisk but no success, i'm stuck with the
> number of Cylinders : the drive specifies 266305 and fdisk don't let me
> specify more than 65535.
>
> Does anyone have an idea/suggestion/tips to help me ?

You have to increase the number of heads or sectors. Alternatively, if it
is not going to be a boot disk, you can make a DOS partition table (maybe
in a x86 PC). Linux/Sparc handles it with no problems (see "Advanced
Patition Selection" in the linux kernel).

-- Jan Houstek



Re: where and how to get the latest kernel ?

2004-03-31 Thread Jan Houstek
On Tue, 30 Mar 2004, Rakotomandimby Mihamina wrote:

> Hi all, i just installed a woody on my sun Ultra 5 i'm looking for a way
> to make it a bit up to date, to get at least GTK 2 and run a recent gcc
> (3.3.x)

Not sure about the GTK, byt it will certainly be difficult to make gcc-3.3
work properly on Woody. Switch to testing/unstable if you need it.

> I try to find a way to get the latest available kernel, would you know?

Look for debian source packages for kernel-image-sparc-2.4 package. I
highly recommend this way instead of trying to build plain vanilla kernel
on sparc, there is a log of work done by debian developers.

-- Honza Houstek



Re: broken eth on a ultra 5

2004-03-04 Thread Jan Houstek
> work a 3c905 in the ultra 5 pci-bus und can I use the 3c95x module ?
> have someone experience with this - which eth-card works ?

Yes, it works.

$ lspci
00:00.0 Host bridge: Sun Microsystems Computer Corp. Ultra IIi
00:01.0 PCI bridge: Sun Microsystems Computer Corp. Simba Advanced PCI Bridge 
(rev 13)
00:01.1 PCI bridge: Sun Microsystems Computer Corp. Simba Advanced PCI Bridge 
(rev 13)
01:01.0 Bridge: Sun Microsystems Computer Corp. EBUS (rev 01)
01:01.1 Ethernet controller: Sun Microsystems Computer Corp. Happy Meal (rev 01)
01:02.0 VGA compatible controller: ATI Technologies Inc 3D Rage Pro 215GP (rev 
5c)
01:03.0 IDE interface: CMD Technology Inc PCI0646 (rev 03)
02:01.0 Ethernet controller: 3Com Corporation 3c905B 100BaseTX [Cyclone] (rev 
24)
02:04.0 RAID bus controller: CMD Technology Inc PCI0680 (rev 02)

$ lsmod
Module  Size  Used byNot tainted
3c59x  29144   1

$ cat /proc/interrupts
  6:  833127017  eth0:7d0

$ dmesg
3c59x: Donald Becker and others. www.scyld.com/network/vortex.html
02:01.0: 3Com PCI 3c905B Cyclone 100baseTx at 0x1fe02000400. Vers LK1.1.16


Notice the Sil0680 IDE controller, it works as well. :-)

Regards,

-- Jan Houstek



Install debian on a diskless SparcStation (nfsroot)

2003-12-04 Thread Jan Houstek
Hi all!

I found some old pizzaboxes (mostly SparcStation 5) in our department. I'd
like to use them as public X-terminals. I installed woody on one of the
machines.

Now I'd like to move the instalation to a NFS server because disks in the
boxes are rather noisy. But I have no idea how to setup booting from
NFSroot. Is there something in the debian-sparc distribution which I can
use or do I have to compile a new kernel?

Thanks for your help, I'm quite e newbie in this NFS stuff.

-- Honza Houstek



Re: Several problems with 2.6.0-test9

2003-10-28 Thread Jan Houstek
Oops, I attached dmesg_2.6 twice. So here is dmesg_2.4. As you can see,
2.4.22 kernel runs well on my hardware.

-- Honza HoustekPROMLIB: Sun IEEE Boot Prom 3.19.4 1999/04/28 15:05
Linux version 2.4.22-hh ([EMAIL PROTECTED]) (gcc version 3.2.3 (Debian)) #1 Sun 
Sep 21 17:25:20 CEST 2003
ARCH: SUN4U
Ethernet address: 08:00:20:b0:db:9d
On node 0 totalpages: 32248
zone(0): 49059 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Found CPU 0 (node=f006d428,mid=0)
Found 1 CPU prom device tree node(s).
Kernel command line: root=/dev/hde4
Console: mono PROM 80x34
Calibrating delay loop... 539.03 BogoMIPS
Memory: 253328k available (2040k kernel code, 312k data, 344k init) 
[f800,17f46000]
Dentry cache hash table entries: 32768 (order: 6, 524288 bytes)
Inode cache hash table entries: 16384 (order: 5, 262144 bytes)
Mount cache hash table entries: 512 (order: 0, 8192 bytes)
Buffer cache hash table entries: 8192 (order: 3, 65536 bytes)
Page-cache hash table entries: 32768 (order: 5, 262144 bytes)
POSIX conformance testing by UNIFIX
PCI: Probing for controllers.
PCI: Found SABRE, main regs at 01fe, wsync at 01fe1c20
SABRE: Shared PCI config space at 01fe0100
SABRE: DVMA at c000 [2000]
PCI-IRQ: Routing bus[ 2] slot[ 2] map[0] to INO[14]
PCI-IRQ: Routing bus[ 2] slot[ 3] map[0] to INO[18]
PCI0(PBMA): Bus running at 33MHz
PCI-IRQ: Routing bus[ 1] slot[ 1] map[0] to INO[21]
PCI-IRQ: Routing bus[ 1] slot[ 2] map[0] to INO[0f]
PCI-IRQ: Routing bus[ 1] slot[ 3] map[0] to INO[20]
PCI0(PBMB): Bus running at 33MHz
ebus0: [auxio] [power] [SUNW,pll] [se] [su] [su] [ecpp] [fdthree] [eeprom] 
[flashprom] [SUNW,CS4231]
PCIO serial driver version 1.54
su(mouse) at 0x1fff13062f8 (irq = 4,7ea) is a 16550A
Sun Mouse-Systems mouse driver version 1.00
su(kbd) at 0x1fff13083f8 (irq = 9,7e9) is a 16550A
Sun TYPE 5 keyboard detected without keyclick
SAB82532 serial driver version 1.65
ttyS00 at 0x1fff140 (irq = 12,7eb) is a SAB82532 V3.2
ttyS01 at 0x1fff1400040 (irq = 12,7eb) is a SAB82532 V3.2
power: Control reg at 01fff1724000 ... powerd running.
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
pty: 256 Unix98 ptys configured
rtc_init: no PC rtc found
Floppy drive(s): fd0 is 1.44M
FDC 0 is a National Semiconductor PC87306
loop: loaded (max 8 devices)
sunhme.c:v2.01 26/Mar/2002 David S. Miller (davem@redhat.com)
eth0: HAPPY MEAL (PCI/CheerIO) 10/100BaseT Ethernet 08:00:20:b0:db:9d 
3c59x: Donald Becker and others. www.scyld.com/network/vortex.html
02:03.0: 3Com PCI 3c905B Cyclone 100baseTx at 0x1fe02000480. Vers LK1.1.16
Uniform Multi-Platform E-IDE driver Revision: 7.00beta4-2.4
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
SiI680: IDE controller at PCI slot 02:02.0
SiI680: chipset revision 2
SiI680: not 100% native mode: will probe irqs later
SiI680: BASE CLOCK == 133 
ide0: MMIO-DMA , BIOS settings: hda:pio, hdb:pio
ide1: MMIO-DMA , BIOS settings: hdc:pio, hdd:pio
CMD646: IDE controller at PCI slot 01:03.0
CMD646: chipset revision 3
CMD646: chipset revision 0x03, MultiWord DMA Force Limited
CMD646: 100% native mode on irq 4,7e0
ide2: BM-DMA at 0x1fe02c00020-0x1fe02c00027, BIOS settings: hde:pio, hdf:pio
ide3: BM-DMA at 0x1fe02c00028-0x1fe02c0002f, BIOS settings: hdg:pio, hdh:pio
hda: ST3160023A, ATA DISK drive
hdc: ST3160023A, ATA DISK drive
hde: ST3120026A, ATA DISK drive
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
ide0 at 0x1ff2080-0x1ff2087,0x1ff208a on irq 4,7d4
ide1 at 0x1ff20c0-0x1ff20c7,0x1ff20ca on irq 4,7d4
ide2 at 0x1fe02c0-0x1fe02c7,0x1fe02ca on irq 4,7e0
hda: attached ide-disk driver.
hda: host protected area => 1
hda: 312581808 sectors (160042 MB) w/8192KiB Cache, CHS=19457/255/63, UDMA(100)
hdc: attached ide-disk driver.
hdc: host protected area => 1
hdc: 312581808 sectors (160042 MB) w/8192KiB Cache, CHS=19457/255/63, UDMA(100)
hde: attached ide-disk driver.
hde: host protected area => 1
hde: 234441648 sectors (120034 MB) w/8192KiB Cache, CHS=14593/255/63, (U)DMA
Partition check:
 hda: hda1 hda2
 hdc: hdc1 hdc2
 hde: hde1 hde2 hde3 hde4 hde5
md: linear personality registered as nr 1
md: raid1 personality registered as nr 3
md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
Initializing Cryptographic API
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
IP: routing cache hash table of 4096 buckets, 32Kbytes
TCP: Hash tables configured (established 32768 bind 32768)
ip_conntrack version 2.1 (989 buckets, 7912 max) - 416 bytes per conntrack
ip_tables: (C) 2000-2002 Netfilter core team
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
802.1Q VLAN Support v1.8 Ben Greear <[EMAIL PROTECTED]>
All bugs added by David S. Miller 
reiserfs: found format "3.6" with standard journal
reiserfs: checking tran

Several problems with 2.6.0-test9

2003-10-28 Thread Jan Houstek
Hi.

I succeeded in building 2.6.0-test9 kernel. I used gcc-3.3.2. I noticed
that egcs64 is no longer supported (I used to build 2.5.67+ kernels with
it), but it doesn't matter, gcc 3.2.3 and 3.3.x seem fine.

The new kernel boots well, but there are some problems:

1) DMA on integrated CMD0646 controller seems fine after boot (hdparm -Tt
etc.) but after writing some data an error appears and after successful
reset DMA is off (see end of dmesg_2.6)

2) CMD0680 IDE card is detected with some errors (see dmesg_2.6), if there
is a disks present in one of its IDE slots, the card panics the kernel

3) 3com 905C card panics the kernel

If you have any ideas about what's wrong or what should I try please let
me know.

-- Honza Houstek

\|/  \|/
"@'/ ,. \`@"
/_| \__/ |_\
   \__U_/

(this picture appears on the console just before the kernel panics)00:00.0 Host bridge: Sun Microsystems Computer Corp. Ultra IIi
00:01.0 PCI bridge: Sun Microsystems Computer Corp. Simba Advanced PCI Bridge 
(rev 13)
00:01.1 PCI bridge: Sun Microsystems Computer Corp. Simba Advanced PCI Bridge 
(rev 13)
01:01.0 Bridge: Sun Microsystems Computer Corp. EBUS (rev 01)
01:01.1 Ethernet controller: Sun Microsystems Computer Corp. Happy Meal (rev 01)
01:02.0 VGA compatible controller: ATI Technologies Inc 3D Rage Pro 215GP (rev 
5c)
01:03.0 IDE interface: CMD Technology Inc PCI0646 (rev 03)
02:02.0 RAID bus controller: CMD Technology Inc PCI0680 (rev 02)
02:03.0 Ethernet controller: 3Com Corporation 3c905B 100BaseTX [Cyclone] (rev 
24)
  0: 301502  timer:dead
  4: 486320  ide2:7e0
  5: 163099  eth0:7e1
  8:  0  parport0:7e2
 12:  0  serial(sab82532):7eb
 15:  1  SABRE UE:7ee, SABRE CE:7ef, SABRE PCIERR:7f0, power:7e5
  0:  90854  timer:dead
  4:   5448  su(mouse):7ea, ide0:7d4, ide1:7d4, ide2:7e0
  6:   8012  eth1:7d8
  9:387  su(kbd):7e9
 12: 11  serial(sab82532):7eb
 15:  0  SABRE UE:7ee, SABRE CE:7ef, SABRE PCIERR:7f0, power:7e5
PROMLIB: Sun IEEE Boot Prom 3.19.4 1999/04/28 15:05
Linux version 2.6.0 ([EMAIL PROTECTED]) (gcc version 3.2.3 (Debian)) #2 Tue Oct 
28 01:49:19 CET 2003
ARCH: SUN4U
Ethernet address: 08:00:20:b0:db:9d
On node 0 totalpages: 32289
  DMA zone: 32289 pages, LIFO batch:7
  Normal zone: 0 pages, LIFO batch:1
  HighMem zone: 0 pages, LIFO batch:1
Building zonelist for node : 0
Kernel command line: root=/dev/hde4 ro
PID hash table entries: 2048 (order 11: 32768 bytes)
Console: colour dummy device 80x25
Memory: 253624k available (2152k kernel code, 536k data, 120k init) 
[f800,17f46000]
Calibrating delay loop... 539.03 BogoMIPS
Dentry cache hash table entries: 32768 (order: 5, 262144 bytes)
Inode-cache hash table entries: 16384 (order: 4, 131072 bytes)
Mount-cache hash table entries: 512 (order: 0, 8192 bytes)
POSIX conformance testing by UNIFIX
NET: Registered protocol family 16
PCI: Probing for controllers.
PCI: Found SABRE, main regs at 01fe, wsync at 01fe1c20
SABRE: Shared PCI config space at 01fe0100
SABRE: DVMA at c000 [2000]
PCI-IRQ: Routing bus[ 2] slot[ 2] map[0] to INO[14]
PCI0(PBMA): Bus running at 33MHz
PCI-IRQ: Routing bus[ 1] slot[ 1] map[0] to INO[21]
PCI-IRQ: Routing bus[ 1] slot[ 2] map[0] to INO[0f]
PCI-IRQ: Routing bus[ 1] slot[ 3] map[0] to INO[20]
PCI0(PBMB): Bus running at 33MHz
ebus0: [auxio] [power] [SUNW,pll] [se] [su] [su] [ecpp] [fdthree] [eeprom] 
[flashprom] [SUNW,CS4231]
power: Control reg at 01fff1724000 ... powerd running.
ikconfig 0.7 with /proc/config*
SGI XFS for Linux with ACLs, large block/inode numbers, no debug enabled
SGI XFS Quota Management subsystem
Console: switching to mono PROM 80x34
pty: 256 Unix98 ptys configured
rtc_init: no PC rtc found
sunhme.c:v2.02 24/Aug/2003 David S. Miller (davem@redhat.com)
eth0: HAPPY MEAL (PCI/CheerIO) 10/100BaseT Ethernet 08:00:20:b0:db:9d 
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
SiI680: IDE controller at PCI slot :02:02.0
SiI680: chipset revision 2
SiI680: BASE CLOCK == 133 
SiI680: 100% native mode on irq 4,7d4
ide0: MMIO-DMA at 0x1ff2000-0x1ff2007 -- Error, MMIO ports already 
in use.
ide1: MMIO-DMA at 0x1ff2008-0x1ff200f -- Error, MMIO ports already 
in use.
CMD646: IDE controller at PCI slot :01:03.0
CMD646: chipset revision 3
CMD646: chipset revision 0x03, MultiWord DMA Force Limited
CMD646: 100% native mode on irq 4,7e0
ide2: BM-DMA at 0x1fe02c00020-0x1fe02c00027, BIOS settings: hde:pio, hdf:pio
ide3: BM-DMA at 0x1fe02c00028-0x1fe02c0002f, BIOS settings: hdg:pio, hdh:pio
hde: ST3120026A, ATA DISK drive
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
Using anticipatory io scheduler
ide2 at 0x1fe02c0-0x1fe02c7,0x1fe02ca on irq 4,7e0
hde: max request size: 1024KiB
hde: 234441648 sectors (120034 MB) w/8192KiB 

Re: Create a raid on sparc guide

2003-08-24 Thread Jan Houstek
> > I use several PCI-based UltraSparc machines in roles like FTP, SAMBA,
> > CVS, IMAP or similar file-servers. I've had very good experience with
> > 2-port ATA-133 PCI cards based on SI680 chipset. The card is quite
> > cheap and together with 2 large IDE drives connected to SW RAID-1 it's
> > optimal storage solution for my company's needs.
>
> That's helpful.  Manufacturers of these cards?

I suppose mainufacturer of the card is not important. I use several
different cards with Sil 0680 w/o any problems.

http://www.siliconimage.com/products/sii0680.asp

I tried some other IDE-card with CMD 649 chip and it didn't work at all. I
guess that was caused by sharing the same driver with the integrated CMD
646.

-- Honza Houstek



Re: Create a raid on sparc guide

2003-08-18 Thread Jan Houstek
> As someone else noted, soft RAID should not be much different on SPARC
> vs any other platform, given similar kernel vintages and the CPU
> capacity to take advantage of RAID 0 speed or RAID 1 redundancy.

That was me. The only differences could be in booting from the raid disks.
I solved this with booting via tftp.

I use several PCI-based UltraSparc machines in roles like FTP, SAMBA, CVS,
IMAP or similar file-servers. I've had very good experience with 2-port
ATA-133 PCI cards based on SI680 chipset. The card is quite cheap and
together with 2 large IDE drives connected to SW RAID-1 it's optimal
storage solution for my company's needs.

-- Honza Houstek



Re: Create a raid on sparc guide

2003-08-17 Thread Jan Houstek
On Sun, 17 Aug 2003, Steve Pacenka wrote:

> On Fri, 2003-08-15 at 07:42, Rob Wultsch wrote:
> > I just fought my way through most of setting up raid on a SS20 and was
> > wondering if ther was any interest in me creating a guide? Also, would
> > anyone be interested in helping me make a guide.

I'm using SW raid1 and raid0 on some of my Ultras, so maybe I could help
with the guide. But I believe there isn't much difference in using raid on
sparc and other platforms.

-- Honza Houstek



Re: Happy Meal lockups on Ultra 5

2003-08-15 Thread Jan Houstek
> This patch is in Debian's 2.4.21 sparc32/sparc64 kernel images.

OK. But I cannot find it in debian kernel-source package (at least not in
kernel-source-2.4.21_2.4.21-4 which is the newest I found on mirrors).
Where can I find the sources which official sparc images are made from.

And do you have any idea why the patch is not in vanilla?

-- Honza Houstek



Happy Meal lockups on Ultra 5

2003-08-15 Thread Jan Houstek
Hi all.

I turned one Ultra 5 machine from a terminal into a FTP server. But after
about 20s of downloading a large file eth0 locks for about 30s and kernel
says 'NETDEV WATCHDOG: eth0 transmit timed out' and than resets the NIC.

Similar problems were havily discussed in lists (this one too) and the
only solution was an one-liner patch from Jorge Rivas <[EMAIL PROTECTED]>.

//-
--- drivers/net/sunhme.c.orig
+++ drivers/net/sunhme.c
@@ -1983,6 +1983,7 @@
}
hp->tx_old = elem;
TXD((">"));
+ udelay(1);

if (netif_queue_stopped(dev) &&
TX_BUFFS_AVAIL(hp) > (MAX_SKB_FRAGS + 1))

//-

I applied it (against 2.4.21 vanilla) and the problems disappeared.
Moreover, the throughput raised by about 10%. So I just want to report
that this is not only Ultra1 issue.

-- Honza Houstek



egcs64 x gcc-3.2.3 and kernel

2003-08-03 Thread Jan Houstek
I know that kernel (2.4 series) can be compiled with old egcs64 or with
the latest gcc-3.2 or gcc-3.3.

I just wonder if there is (or should/could be) any difference (in size,
performance, stability etc.)

-- Honza Houstek



Re: PCI Ultra ATA/133 card for Sun Ultra10 (possible?) (Sil0680)

2003-07-29 Thread Jan Houstek
Yes. It works quite well with SI680 chipset. You need (at least) 2.4.21.
I'm not sure if it is possible to use both the integrated CMD648 and the
PCI IDE card. Booting from the card is IMHO not possible.

-- Honza Houstek



Re: Cross-compiling kernel for sparc64 on i386

2003-07-26 Thread Jan Houstek
Would you advice me how to do $SUBJ? My Ultras compile kernels for more
than 45 minutes while new PCs are 10 times faster.

I understand the theory (a bit) but I'm not sure what all should I do to
succeed. The machine on which I want to compile runs debian testing.

-- Honza Houstek



Re: Ultra 5

2003-04-24 Thread Jan Houstek
> > I didn't manage to get the serial ports working on Ultra 5 and Ultra 10. I
> > have the sab82532 module loaded. /proc/interrupts seems like this
> >
> >   0:8778067  timer:dead
> >   3:  51441  ide0:7e0
> >   4:  0  su(mouse):7ea
> >   5: 950161  HAPPY MEAL:7e1
> >   8:607  parport0:7e2
> >   9:  0  su(kbd):7e9
> >  12:  0  serial(sab82532):7eb
> >  13:  0  cs4231:7e3
> >  14:  0  cs4231:7e4
> >  15:  0  SABRE UE:7ee, SABRE CE:7ef, SABRE PCIERR:7f0, power:7e5
> >
> > But when I connect serial mouse to the port, move it, push the buttons
> > etc., there are no interrupts.
>
> I've never heard of anyone using serial mouse on a ultrasparc. Maybe you
> should try a null modem cable with a terminal on it (minicom from Linux
> or hyper-terminal from windows) and see if even that works.

I succeeded in connecting APC SmartUPS 600 to the Ultra, so it seems that
everything is fine. I don't know why the mouse didn't generate interrupts
when i tried it.

-- Honza Houstek



Re: Ultra 5

2003-04-23 Thread Jan Houstek
> >   0:8778067  timer:dead
> >   3:  51441  ide0:7e0
> >   4:  0  su(mouse):7ea
> >   5: 950161  HAPPY MEAL:7e1
> >   8:607  parport0:7e2
> >   9:  0  su(kbd):7e9
> >  12:  0  serial(sab82532):7eb
> >  13:  0  cs4231:7e3
> >  14:  0  cs4231:7e4
> >  15:  0  SABRE UE:7ee, SABRE CE:7ef, SABRE PCIERR:7f0, power:7e5
> >
> > But when I connect serial mouse to the port, move it, push the buttons
> > etc., there are no interrupts.
>
> I've never heard of anyone using serial mouse on a ultrasparc. Maybe you
> should try a null modem cable with a terminal on it (minicom from Linux
> or hyper-terminal from windows) and see if even that works.

I did not want to use the mouse, that was just the only way how to test
the port. I wanted to connect APC BackUPC 350 with a custom serial cable
and it didn't work out. Because I couldn't be sure the built cable is OK,
I tried the mouse. I have no other serial device.

Do you know any better way how to ensure that the port works?

-- Honza Houstek



Re: Ultra 5

2003-04-23 Thread Jan Houstek
On Wed, 23 Apr 2003, Patrick Morris wrote:

> Any old external modem will work just fine.  As far as configuring it,
> it's no different on Sparc hardware than any other Debian box.

I didn't manage to get the serial ports working on Ultra 5 and Ultra 10. I
have the sab82532 module loaded. /proc/interrupts seems like this

  0:8778067  timer:dead
  3:  51441  ide0:7e0
  4:  0  su(mouse):7ea
  5: 950161  HAPPY MEAL:7e1
  8:607  parport0:7e2
  9:  0  su(kbd):7e9
 12:  0  serial(sab82532):7eb
 13:  0  cs4231:7e3
 14:  0  cs4231:7e4
 15:  0  SABRE UE:7ee, SABRE CE:7ef, SABRE PCIERR:7f0, power:7e5

But when I connect serial mouse to the port, move it, push the buttons
etc., there are no interrupts.

-- Honza Houstek