[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Softupdates Hangs 2.8... well, not for me :)



On Tue, Feb 13, 2001 at 09:25:27AM +0100, Saad Kadhi wrote:
> Hi there Kevin,
> 
> Kevin Sindhu wrote:
> 
> > Hello,
> > 
> > I am runnning 2.8-current(cvs'd on Jan 13) and have softupdates enabled
> > in the kernel and have tunefs'd my disk. Everytime I try to untar a big
> > file(in this case qt-2.2.x), the system completely hangs. However the
> > machine still replies to pings, but X/console are frozen. There is a lot
> > of Disk activity and I did try to leave it like that for around 5 hours,
> > which resulted in nothing fruitful, so I had no choice but to
> > hard-reset, and then fsck in single user mode..
> > 
> > I have been to able to workaround this by disabling softupdates...
> > 
> > I would appreciate any hi.nts/advice and would be happy to provide
> > dmesg/kernel options/test patches etc. Please let me know for the same
> 
> I've had a lot of troubles with my boxes after I enabled softupdates: 
> hangups, crashes, ddb ...etc. And I couldn't track down the pb.

I have a box running -current (well, -current as sometimes in january)
with one partition (yes, I know...) and softupdates on it, and it's
running *rock solid*. In fact I had softupdates since pre-2.7 and I
never had any crash on this box. Not 2, not 1, none.

This box is our firewall, it's running IPFilter / NAT, Squid, Apache,
named, isakmpd, vtun, an rsync server etc...

The box is a Dell something, Celeron 500, 64 MB, a 4 GB IDE disk and
three el-cheapo RealTek 100 bits cards. You see, nothing fancy.

I've launched many times tasks requiring a large amount of I/O (tar
xzf {ports,src}.tar.gz, building large ports, etc...) on this
softupdate-enabled partition and it never seemed to have a problem
with that.

Note that I'm running a custom kernel and I pushed BUFFERS to 40. The
secret is perhaps there :)


Just for reference, here's it's dmesg :
(since upgrading to 2.8 the CDRom seems to have some problems, but
I don't really care)

OpenBSD 2.8-current (SATANAS) #0: Tue Feb  6 00:00:13 CET 2001
    root@satanas:/usr/src/sys/arch/i386/compile/SATANAS
cpu0: Intel Celeron (Mendocino) ("GenuineIntel" 686-class, 128KB L2 cache) 499 MHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SYS,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR
real mem  = 65314816 (63784K)
avail mem = 34062336 (33264K)
using 5689 buffers containing 26963968 bytes (26332K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(00) BIOS, date 01/28/00, BIOS32 rev. 0 @ 0xffe90
apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "Intel 82810-DC100" rev 0x03: rng active, 7Kb/sec
"Intel 82810-DC100 Graphics" rev 0x03 at pci0 dev 1 function 0 not configured
ppb0 at pci0 dev 30 function 0 "Intel 82801AA Hub-to-PCI" rev 0x02
pci1 at ppb0 bus 1
rl0 at pci1 dev 7 function 0 "Accton Technology MPX 5030/5038" rev 0x10: irq 9 address 00:10:b5:40:0c:af
rlphy0 at rl0 phy 0: RTL internal phy
rl1 at pci1 dev 8 function 0 "Accton Technology MPX 5030/5038" rev 0x10: irq 10 address 00:10:b5:40:0c:ac
rlphy1 at rl1 phy 0: RTL internal phy
rl2 at pci1 dev 9 function 0 "Accton Technology MPX 5030/5038" rev 0x10: irq 5 address 00:10:b5:40:0c:a7
rlphy2 at rl2 phy 0: RTL internal phy
pcib0 at pci0 dev 31 function 0 "Intel 82801AA LPC Interface" rev 0x02
pciide0 at pci0 dev 31 function 1 "Intel 82801AA IDE" rev 0x02: DMA, channel 0 wired to compatibility, channel 1 wired to compatibility
wd0 at pciide0 channel 0 drive 0: <WDC AC14300R>
wd0: can use 32-bit, PIO mode 4, DMA mode 2, Ultra-DMA mode 4
wd0: 16-sector PIO, LBA, 4112MB, 8912 cyl, 15 head, 63 sec, 8421840 sectors
pciide0: channel 0 interrupting at irq 14
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 4 (using DMA data transfers)
atapiscsi0 at pciide0 channel 1
scsibus0 at atapiscsi0: 2 targets
probe(atapiscsi0:0:0): Check Condition on opcode 0
    SENSE KEY: No Additional Sense
               EOM Detected
     ASC/ASCQ: Power On, Reset, or Bus Device Reset Occurred
     FRU CODE: 0x9
cd0 at scsibus0 targ 0 lun 0: <SA_SUNU, CDOROMOSC-s48F8, F0f7> SCSI5 5/cdrom removable
cd0: can use 16-bit, PIO mode 0
pciide0: channel 1 interrupting at irq 15
cd0(pciide0:1:0): using PIO mode 3
"Intel 82801AA USB" rev 0x02 at pci0 dev 31 function 2 not configured
"Intel 82801AA SMBus" rev 0x02 at pci0 dev 31 function 3 not configured
isa0 at pcib0
isadma0 at isa0
pcppi0 at isa0 port 0x61
sysbeep0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
npx0 at isa0 port 0xf0/16: using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
vt0 at isa0 port 0x60/16 irq 1: vga 80 col, color, 8 scr, mf2-kbd
pms0 at vt0 irq 12
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
biomask c040 netmask c660 ttymask d6e2
pctr: 686-class user-level performance counters enabled
mtrr: Pentium Pro MTRR support
altq: major number is 67
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302


-- 
Rémi