Re: New 2.0.31 pre patch is out

Philippe Strauss (philou@sicel-home-1-4.urbanet.ch)
Tue, 3 Jun 1997 18:36:12 +0200


On Jun 2, David S. Miller wrote

[snip]

> 4) Fix one of the remaining buffer cache bugs, there appears to be
> one small one left but more information from people who can trigger
> it is needed.

I'm part of the peoples that can easely trigger this problem with
badblocks -w /dev/sd<empty_partition> num_o_blocks.

The empty partition is 860MB on a 4-5 MB/s Seagate ST31200N.
Scsi adapter is a cheap ncr810. Driver is Gerard's latest
(1.18i, not in 2.0.30-pre2). Got also the neat non-exec-stack patch.
That's all for the non-standard patches.

Well, pre-2 doesn't change anything over pre-1. Starting badblocks, swap
trash like crazy. Machine become useless, until a Ctrl-C in sent to badblocks.
After that, my ps aux looks like that:

USER PID %CPU %MEM VSZ RSS TT STAT START TIME COMMAND
daemon 126 0.0 0.0 828 0 ? SW 18:12 0:00 rpc.portmap
daemon 198 0.0 0.0 856 0 ? SW 18:12 0:00 atd
philou 207 0.1 1.5 1644 488 1 S 18:12 0:00 -bash
philou 221 0.0 1.3 972 420 1 R 18:14 0:00 ps aux
proxy 163 1.1 1.3 2468 416 ? S 18:12 0:01 squid -D -s -f /etc
proxy 164 0.0 0.0 840 0 ? SW 18:12 0:00 dnsserver
proxy 165 0.0 0.0 840 0 ? SW 18:12 0:00 dnsserver
proxy 166 0.0 0.0 840 0 ? SW 18:12 0:00 dnsserver
proxy 167 0.0 0.0 840 0 ? SW 18:12 0:00 dnsserver
proxy 168 0.0 0.0 840 0 ? SW 18:12 0:00 dnsserver
proxy 169 0.0 0.0 928 0 ? SW 18:12 0:00 ftpget
proxy 170 0.0 0.0 792 0 ? SW 18:12 0:00 unlinkd
qmaill 194 0.0 0.0 816 0 ? SW 18:12 0:00 splogger
qmailq 197 0.0 0.0 808 0 ? SW 18:12 0:00 qmail-clean
qmailr 196 0.0 0.0 812 0 ? SW 18:12 0:00 qmail-rspawn
qmails 191 0.0 0.0 852 0 ? SW 18:12 0:00 qmail-send
root 1 1.1 0.0 816 0 ? SW 18:12 0:01 init
root 2 0.9 0.0 0 0 ? SW 18:12 0:01 kflushd
root 3 0.0 0.0 0 0 ? SW< 18:12 0:00 kswapd
root 9 0.0 0.1 792 44 ? S 18:12 0:00 update
root 29 0.0 0.0 804 0 ? SW 18:12 0:00 kerneld
root 112 0.1 0.0 836 0 ? SW 18:12 0:00 syslogd
root 114 0.2 0.0 948 0 ? SW 18:12 0:00 klogd
root 128 0.0 0.0 812 0 ? SW 18:12 0:00 inetd
root 131 0.0 0.0 1392 0 ? SW 18:12 0:00 named
root 134 0.1 0.6 1468 208 ? S 18:12 0:00 /usr/sbin/apache
root 142 0.0 0.0 820 0 ? SW 18:12 0:00 gpm
root 145 0.0 0.0 812 0 ? SW 18:12 0:00 tcplogd
root 147 0.0 0.0 804 0 ? SW 18:12 0:00 icmplogd
root 152 0.0 0.0 832 0 ? SW 18:12 0:00 lpd
root 158 0.0 0.0 1552 0 ? SW 18:12 0:00 RunCache
root 171 0.0 0.1 876 32 ? S 18:12 0:00 (pinger)
root 174 1.5 0.0 1032 0 ? SW 18:12 0:01 sshd
root 180 0.3 0.6 1048 204 ? S < 18:12 0:00 /usr/sbin/xntpd
root 184 0.1 0.2 880 72 ? S 18:12 0:00 /usr/sbin/rpc.nfsd
root 187 0.1 0.2 848 68 ? S 18:12 0:00 /usr/sbin/rpc.mount
root 195 0.0 0.0 812 0 ? SW 18:12 0:00 qmail-lspawn
root 201 0.0 0.0 832 0 ? SW 18:12 0:00 cron
root 208 0.0 0.0 808 0 2 SW 18:12 0:00 getty
root 209 0.0 0.0 808 0 3 SW 18:12 0:00 getty
root 210 0.0 0.0 808 0 4 SW 18:12 0:00 getty
root 211 0.1 1.1 1644 356 5 S 18:12 0:00 -bash
root 212 0.0 0.0 808 0 6 SW 18:12 0:00 getty
root 217 0.3 0.6 996 204 ? S 18:13 0:00 nmbd
www-data 137 0.0 0.5 1468 168 ? S 18:12 0:00 apache
www-data 138 0.0 0.5 1468 168 ? S 18:12 0:00 apache
www-data 139 0.0 0.5 1468 168 ? S 18:12 0:00 apache
www-data 140 0.0 0.5 1468 168 ? S 18:12 0:00 apache
www-data 141 0.0 0.5 1468 168 ? S 18:12 0:00 apache

Nothing much stay resident after just 10 sec. of badblocks abuse.

Got 32MB physical, 68MB swap. P5 166, 430FX chipset.

E2fsprogs is 1.10-2 (Debian second release). System is otherwise latest
bleeding-edge Debian (hamm, future Debian 2.0).

If I could be of any help, that's with pleasure.

Cheers.

-- 
Philippe Strauss <philou@lili.urbanet.ch>
Urbanet SA, Vallombreuse 51, 1004 Lausanne -- 021 / 625.28.14

Homepage & PGP key: http://lili.urbanet.ch

Never insult an alligator until you've crossed the river.

--