* kicking non-fresh hde1 from array!
From: root @ 2002-12-17 2:29 UTC (permalink / raw)
To: linux-raid
Last night I heard a ping from my server and then the output on the screen
said it was dropping /dev/hdg from the array. No nice University
Education for me so I was wondering if I could draw on yours. Here is my
array raidtab file. If anyone can help can you cc back to arden underscore
wiebe at hotmail dot com. Also I have posted the entire message for comments
at http://www.linuxguru.ca if that helps. I don't have any of the kernel
tools installed on the server yet...
raiddev /dev/md2
raid-level 1
nr-raid-disks 2
chunk-size 64k
persistent-superblock 1
nr-spare-disks 0
device /dev/hda1
raid-disk 0
device /dev/hdc2
raid-disk 1
raiddev /dev/md1
raid-level 0
nr-raid-disks 2
chunk-size 64k
persistent-superblock 1
nr-spare-disks 0
device /dev/hde3
raid-disk 0
device /dev/hdg3
raid-disk 1
raiddev /dev/md0
raid-level 1
nr-raid-disks 2
chunk-size 64k
persistent-superblock 1
nr-spare-disks 0
device /dev/hde1
raid-disk 0
device /dev/hdg1
raid-disk 1
The failing device:
[root@inquisitive root]# cat /proc/mdstat
Personalities : [raid0] [raid1]
read_ahead 1024 sectors
md1 : active raid0 hde3[0] hdg3[1]
38562816 blocks 64k chunks
md0 : active raid1 hdg1[1]
19282944 blocks [2/1] [_U]
md2 : active raid1 hda1[0] hdc2[1]
19541440 blocks [2/2] [UU]
unused devices: <none>
[root@inquisitive root]#
Various hdparm settings:
[root@inquisitive root]# hdparm -iv /dev/hda
/dev/hda:
multcount = 16 (on)
I/O support = 1 (32-bit)
unmaskirq = 1 (on)
using_dma = 1 (on)
keepsettings = 0 (off)
nowerr = 0 (off)
readonly = 0 (off)
readahead = 8 (on)
geometry = 39813/16/63, sectors = 40132503, start = 0
Model=MAXTOR 6L020J1, FwRev=AR1.0500, SerialNo=661247741929
Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs }
RawCHS=16383/16/63, TrkSize=32256, SectSize=21298, ECCbytes=4
BuffType=DualPortCache, BuffSize=1818kB, MaxMultSect=16, MultSect=16
CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=40132503
IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
PIO modes: pio0 pio1 pio2 pio3 pio4
DMA modes: mdma0 mdma1 mdma2 udma0 udma1 udma2
AdvancedPM=no WriteCache=enabled
Drive Supports : ATA/ATAPI-5 T13 1321D revision 1 : ATA-1 ATA-2 ATA-3 ATA-4
ATA-5
busstate = 1 (on)
[root@inquisitive root]#
[root@inquisitive root]# hdparm -iv /dev/hdc
/dev/hdc:
multcount = 16 (on)
I/O support = 1 (32-bit)
unmaskirq = 1 (on)
using_dma = 1 (on)
keepsettings = 0 (off)
nowerr = 0 (off)
readonly = 0 (off)
readahead = 8 (on)
geometry = 39813/16/63, sectors = 40132503, start = 0
Model=MAXTOR 6L020J1, FwRev=AR1.0500, SerialNo=661207748035
Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs }
RawCHS=16383/16/63, TrkSize=32256, SectSize=21298, ECCbytes=4
BuffType=DualPortCache, BuffSize=1818kB, MaxMultSect=16, MultSect=16
CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=40132503
IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
PIO modes: pio0 pio1 pio2 pio3 pio4
DMA modes: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 udma5 *udma6
AdvancedPM=no WriteCache=enabled
Drive Supports : ATA/ATAPI-5 T13 1321D revision 1 : ATA-1 ATA-2 ATA-3 ATA-4
ATA-5
busstate = 1 (on)
[root@inquisitive root]#
[root@inquisitive root]# hdparm -iv /dev/hde
/dev/hde:
multcount = 16 (on)
I/O support = 0 (default 16-bit)
unmaskirq = 0 (off)
using_dma = 1 (on)
keepsettings = 0 (off)
nowerr = 0 (off)
readonly = 0 (off)
readahead = 8 (on)
geometry = 77557/16/63, sectors = 78177792, start = 0
Model=MAXTOR 6L040L2, FwRev=A93.0500, SerialNo=662210271602
Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs }
RawCHS=16383/16/63, TrkSize=32256, SectSize=21298, ECCbytes=4
BuffType=DualPortCache, BuffSize=1819kB, MaxMultSect=16, MultSect=16
CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=78177792
IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
PIO modes: pio0 pio1 pio2 pio3 pio4
DMA modes: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 *udma5 udma6
AdvancedPM=no WriteCache=enabled
Drive Supports : ATA/ATAPI-5 T13 1321D revision 1 : ATA-1 ATA-2 ATA-3 ATA-4
ATA-5
busstate = 1 (on)
[root@inquisitive root]#
[root@inquisitive root]# hdparm -iv /dev/hdg
/dev/hdg:
multcount = 16 (on)
I/O support = 0 (default 16-bit)
unmaskirq = 0 (off)
using_dma = 1 (on)
keepsettings = 0 (off)
nowerr = 0 (off)
readonly = 0 (off)
readahead = 8 (on)
geometry = 77557/16/63, sectors = 78177792, start = 0
Model=MAXTOR 6L040L2, FwRev=A93.0500, SerialNo=662210371352
Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs }
RawCHS=16383/16/63, TrkSize=32256, SectSize=21298, ECCbytes=4
BuffType=DualPortCache, BuffSize=1819kB, MaxMultSect=16, MultSect=16
CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=78177792
IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
PIO modes: pio0 pio1 pio2 pio3 pio4
DMA modes: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 *udma5 udma6
AdvancedPM=no WriteCache=enabled
Drive Supports : ATA/ATAPI-5 T13 1321D revision 1 : ATA-1 ATA-2 ATA-3 ATA-4
ATA-5
busstate = 1 (on)
[root@inquisitive root]#
Now if you compare that to my original settings which I tweaked to get the
disk reads matching the rest of the disks for /dev/hde and /dev/hdg at
http://www.linuxguru.ca/article6.html to what they are now they seem faster.
[root@inquisitive root]# hdparm -Tt /dev/hda
/dev/hda:
Timing buffer-cache reads: 128 MB in 0.59 seconds =218.47 MB/sec
Timing buffered disk reads: 64 MB in 1.61 seconds = 39.72 MB/sec
[root@inquisitive root]# hdparm -Tt /dev/hdc
/dev/hdc:
Timing buffer-cache reads: 128 MB in 0.60 seconds =214.89 MB/sec
Timing buffered disk reads: 64 MB in 1.60 seconds = 39.96 MB/sec
[root@inquisitive root]# hdparm -Tt /dev/hde
/dev/hde:
Timing buffer-cache reads: 128 MB in 0.58 seconds =219.93 MB/sec
Timing buffered disk reads: 64 MB in 1.61 seconds = 39.77 MB/sec
[root@inquisitive root]# hdparm -Tt /dev/hdg
/dev/hdg:
Timing buffer-cache reads: 128 MB in 0.58 seconds =220.67 MB/sec
Timing buffered disk reads: 64 MB in 1.61 seconds = 39.86 MB/sec
[root@inquisitive root]#
I can recall the first time I heard the head drop it said something about lost
DMA channel. Here is the syslog:
Dec 16 02:06:40 inquisitive modprobe: modprobe: Can't locate module
char-major-81
Dec 16 02:06:52 inquisitive insmod:
/lib/modules/2.4.18-17.7.x/kernel/drivers/sound/via82cxxx_audio.o:
init_module: No such device
Dec 16 02:06:52 inquisitive insmod:
/lib/modules/2.4.18-17.7.x/kernel/drivers/sound/via82cxxx_audio.o: insmod
sound-slot-0 failed
Dec 16 02:06:52 inquisitive modprobe: modprobe: Can't locate module
sound-service-0-3
Dec 16 03:48:04 inquisitive xinetd[1169]: Exiting...
Dec 16 03:50:35 inquisitive kernel: Linux version 2.4.18-17.7.x
(bhcompile@porky.devel.redhat.com) (gcc version 2.96 20000731 (Red Hat Linux
7.3 2.96-112)) #1 Tue Oct 8 11:49:30 EDT 2002
Dec 16 03:50:35 inquisitive kernel: BIOS-e820: 0000000000000000 -
000000000009fc00 (usable)
Dec 16 03:50:35 inquisitive kernel: BIOS-e820: 000000000009fc00 -
00000000000a0000 (reserved)
Dec 16 03:50:35 inquisitive kernel: BIOS-e820: 00000000000f0000 -
0000000000100000 (reserved)
Dec 16 03:50:35 inquisitive kernel: BIOS-e820: 0000000000100000 -
0000000050000000 (usable)
Dec 16 03:50:35 inquisitive kernel: BIOS-e820: 00000000ffff0000 -
0000000100000000 (reserved)
Dec 16 03:50:35 inquisitive kernel: On node 0 totalpages: 327680
Dec 16 03:50:35 inquisitive kernel: zone(0): 4096 pages.
Dec 16 03:50:35 inquisitive kernel: zone(1): 225280 pages.
Dec 16 03:50:35 inquisitive kernel: zone(2): 98304 pages.
Dec 16 03:50:35 inquisitive kernel: Kernel command line: ro root=/dev/md2
Dec 16 03:50:35 inquisitive kernel: Detected 1005.437 MHz processor.
Dec 16 03:50:35 inquisitive kernel: Speakup v-1.00 CVS: Tue Jun 11 14:22:53
EDT 2002 : initialized
Dec 16 03:50:35 inquisitive kernel: Console: colour VGA+ 80x25
Dec 16 03:50:35 inquisitive kernel: Calibrating delay loop... 1993.77 BogoMIPS
Dec 16 03:50:35 inquisitive kernel: Page-cache hash table entries: 524288
(order: 9, 2097152 bytes)
Dec 16 03:50:35 inquisitive kernel: CPU: AMD Duron(tm) processor stepping 01
Dec 16 03:50:35 inquisitive kernel: POSIX conformance testing by UNIFIX
Dec 16 03:50:35 inquisitive kernel: mtrr: v1.40 (20010327) Richard Gooch
(rgooch@atnf.csiro.au)
Dec 16 03:50:35 inquisitive kernel: mtrr: detected mtrr type: Intel
Dec 16 03:50:35 inquisitive kernel: speakup: initialized device: /dev/synth,
node (MAJOR 10, MINOR 25)
Dec 16 03:50:35 inquisitive kernel: Initializing RT netlink socket
Dec 16 03:50:35 inquisitive kernel: Starting kswapd
Dec 16 03:50:35 inquisitive kernel: allocated 64 pages and 64 bhs reserved for
the highmem bounces
Dec 16 03:50:35 inquisitive kernel: pty: 2048 Unix98 ptys configured
Dec 16 03:50:35 inquisitive kernel: block: 1024 slots per queue, batch=256
Dec 16 03:50:35 inquisitive kernel: ide: Assuming 33MHz system bus speed for
PIO modes; override with idebus=xx
Dec 16 03:50:35 inquisitive kernel: HPT372: IDE controller on PCI bus 00 dev
70
Dec 16 03:50:35 inquisitive kernel: HPT372: chipset revision 5
Dec 16 03:50:35 inquisitive kernel: HPT372: not 100%% native mode: will probe
irqs later
Dec 16 03:50:35 inquisitive kernel: HPT37X: using 33MHz PCI clock
Dec 16 03:50:35 inquisitive kernel: ide2: BM-DMA at 0xd400-0xd407, BIOS
settings: hde:DMA, hdf:pio
Dec 16 03:50:35 inquisitive kernel: ide3: BM-DMA at 0xd408-0xd40f, BIOS
settings: hdg:DMA, hdh:pio
Dec 16 03:50:35 inquisitive kernel: VP_IDE: IDE controller on PCI bus 00 dev
89
Dec 16 03:50:35 inquisitive kernel: PCI: No IRQ known for interrupt pin A of
device 00:11.1. Please try using pci=biosirq.
Dec 16 03:50:35 inquisitive kernel: VP_IDE: chipset revision 6
Dec 16 03:50:35 inquisitive kernel: VP_IDE: not 100%% native mode: will probe
irqs later
Dec 16 03:50:35 inquisitive kernel: ide: Assuming 33MHz system bus speed for
PIO modes; override with idebus=xx
Dec 16 03:50:35 inquisitive kernel: ide0: BM-DMA at 0xd800-0xd807, BIOS
settings: hda:DMA, hdb:DMA
Dec 16 03:50:35 inquisitive kernel: ide1: BM-DMA at 0xd808-0xd80f, BIOS
settings: hdc:DMA, hdd:pio
Dec 16 03:50:35 inquisitive kernel: hda: MAXTOR 6L020J1, ATA DISK drive
Dec 16 03:50:35 inquisitive kernel: hdb: IDE/ATAPI CD-ROM 36X, ATAPI
CD/DVD-ROM drive
Dec 16 03:50:35 inquisitive kernel: hdc: MAXTOR 6L020J1, ATA DISK drive
Dec 16 03:50:35 inquisitive kernel: hde: MAXTOR 6L040L2, ATA DISK drive
Dec 16 03:50:35 inquisitive kernel: hdg: MAXTOR 6L040L2, ATA DISK drive
Dec 16 03:50:35 inquisitive kernel: ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Dec 16 03:50:35 inquisitive kernel: ide1 at 0x170-0x177,0x376 on irq 15
Dec 16 03:50:35 inquisitive kernel: ide2 at 0xc400-0xc407,0xc802 on irq 10
Dec 16 03:50:35 inquisitive kernel: ide3 at 0xcc00-0xcc07,0xd002 on irq 10
Dec 16 03:50:35 inquisitive kernel: ide-floppy driver 0.99.newide
Dec 16 03:50:35 inquisitive kernel: RAMDISK driver initialized: 16 RAM disks
of 4096K size 1024 blocksize
Dec 16 03:50:35 inquisitive kernel: ide-floppy driver 0.99.newide
Dec 16 03:50:35 inquisitive kernel: kmod: failed to exec /sbin/modprobe -s -k
md-personality-2, errno = 2
Dec 16 03:50:35 inquisitive kernel: md: personality 2 is not loaded!
Dec 16 03:50:35 inquisitive kernel: md :do_md_run() returned -22
Dec 16 03:50:36 inquisitive kernel: kmod: failed to exec /sbin/modprobe -s -k
md-personality-3, errno = 2
Dec 16 03:50:36 inquisitive kernel: md: personality 3 is not loaded!
Dec 16 03:50:36 inquisitive kernel: md :do_md_run() returned -22
Dec 16 03:50:36 inquisitive kernel: kmod: failed to exec /sbin/modprobe -s -k
md-personality-3, errno = 2
Dec 16 03:50:36 inquisitive kernel: md: personality 3 is not loaded!
Dec 16 03:50:36 inquisitive kernel: md :do_md_run() returned -22
Dec 16 03:50:36 inquisitive kernel: VFS: Mounted root (ext2 filesystem).
Dec 16 03:50:37 inquisitive kernel: raid0: looking at hde3
Dec 16 03:50:37 inquisitive kernel: raid0: comparing hde3(19281408) with
hde3(19281408)
Dec 16 03:50:37 inquisitive kernel: raid0: END
Dec 16 03:50:37 inquisitive kernel: raid0: ==> UNIQUE
Dec 16 03:50:37 inquisitive kernel: raid0: 1 zones
Dec 16 03:50:37 inquisitive kernel: raid0: looking at hdg3
Dec 16 03:50:37 inquisitive kernel: raid0: comparing hdg3(19281408) with
hde3(19281408)
Dec 16 03:50:37 inquisitive kernel: raid0: EQUAL
Dec 16 03:50:37 inquisitive kernel: raid0: FINAL 1 zones
Dec 16 03:50:37 inquisitive kernel: raid0: zone 0
Dec 16 03:50:37 inquisitive kernel: raid0: checking hde3 ... contained as
device 0
Dec 16 03:50:37 inquisitive kernel: (19281408) is smallest!.
Dec 16 03:50:37 inquisitive kernel: raid0: checking hdg3 ... contained as
device 1
Dec 16 03:50:37 inquisitive kernel: raid0: zone->nb_dev: 2, size: 38562816
Dec 16 03:50:37 inquisitive kernel: raid0: current zone offset: 19281408
Dec 16 03:50:37 inquisitive kernel: raid0: done.
Dec 16 03:50:37 inquisitive kernel: raid0 : md_size is 38562816 blocks.
Dec 16 03:50:37 inquisitive kernel: raid0 : conf->smallest->size is 38562816
blocks.
Dec 16 03:50:37 inquisitive kernel: raid0 : nb_zone is 1.
Dec 16 03:50:37 inquisitive kernel: raid0 : Allocating 8 bytes for hash.
Dec 16 03:50:37 inquisitive kernel: usb-uhci.c: Detected 2 ports
Dec 16 03:50:37 inquisitive kernel: usb-uhci.c: Detected 2 ports
Dec 16 03:50:37 inquisitive kernel: ide-floppy driver 0.99.newide
Dec 16 03:50:37 inquisitive kernel: hdb: ATAPI 16X CD-ROM drive, 128kB Cache
Dec 16 03:50:37 inquisitive kernel: ip_tables: (C) 2000-2002 Netfilter core
team
Dec 16 03:50:37 inquisitive kernel: ip_conntrack (8192 buckets, 65536 max)
Dec 16 03:50:37 inquisitive xinetd[1168]: Server /usr/sbin/in.rexecd is not
executable [line=13]
Dec 16 03:50:37 inquisitive xinetd[1168]: Error parsing attribute server -
DISABLING SERVICE [line=13]
Dec 16 03:50:37 inquisitive xinetd[1168]: Server /usr/sbin/in.rlogind is not
executable [line=13]
Dec 16 03:50:37 inquisitive xinetd[1168]: Error parsing attribute server -
DISABLING SERVICE [line=13]
Dec 16 03:50:37 inquisitive xinetd[1168]: Server /usr/sbin/in.rshd is not
executable [line=14]
Dec 16 03:50:37 inquisitive xinetd[1168]: Error parsing attribute server -
DISABLING SERVICE [line=14]
Dec 16 03:50:53 inquisitive postfix/postfix-script: warning:
/var/spool/postfix/etc/resolv.conf and /etc/resolv.conf differ
Dec 16 06:02:03 inquisitive kernel: hde: dma_intr: status=0x7f { DriveReady
DeviceFault SeekComplete DataRequest CorrectedError Index Error }
Dec 16 06:02:03 inquisitive kernel: hde: dma_intr: error=0x7f {
DriveStatusError UncorrectableError SectorIdNotFound TrackZeroNotFound
AddrMarkNotFound }, LBAsect=260013951, sector=274616
Dec 16 06:02:03 inquisitive kernel: hde: DMA disabled
Dec 16 06:02:03 inquisitive kernel: ide2: reset: master: error (0x7f?)
Dec 16 06:02:03 inquisitive kernel: hde: status error: status=0x7f {
DriveReady DeviceFault SeekComplete DataRequest CorrectedError Index Error }
Dec 16 06:02:03 inquisitive kernel: hde: status error: error=0x7f {
DriveStatusError UncorrectableError SectorIdNotFound TrackZeroNotFound
AddrMarkNotFound }, LBAsect=260013951, sector=274616
Dec 16 06:02:03 inquisitive kernel: hde: drive not ready for command
Dec 16 06:02:03 inquisitive kernel: ide2: reset: master: error (0x7f?)
Dec 16 06:02:03 inquisitive kernel: end_request: I/O error, dev 21:01 (hde),
sector 274616
Dec 16 06:02:03 inquisitive kernel: raid1: Disk failure on hde1, disabling
device.
Dec 16 06:02:03 inquisitive kernel: ^IOperation continuing on 1 devices
Dec 16 06:02:03 inquisitive kernel: raid1: hde1: rescheduling block 274616
Dec 16 06:02:03 inquisitive kernel: end_request: I/O error, dev 21:01 (hde),
sector 145496
Dec 16 06:02:13 inquisitive kernel: md0: no spare disk to reconstruct array!
-- continuing in degraded mode
Dec 16 06:02:13 inquisitive kernel: hdg: timeout waiting for DMA
Dec 16 06:02:13 inquisitive kernel: ide_dmaproc: chipset supported
ide_dma_timeout func only: 14
Dec 16 06:02:13 inquisitive kernel: hdg: status error: status=0x58 {
DriveReady SeekComplete DataRequest }
Dec 16 06:02:13 inquisitive kernel: hdg: drive not ready for command
Dec 16 06:02:13 inquisitive kernel: raid1: hdg1: redirecting sector 274616 to
another mirror
Dec 16 06:06:11 inquisitive xinetd[1168]: Exiting...
Dec 16 06:15:06 inquisitive kernel: Linux version 2.4.18-17.7.x
(bhcompile@porky.devel.redhat.com) (gcc version 2.96 20000731 (Red Hat Linux
7.3 2.96-112)) #1 Tue Oct 8 11:49:30 EDT 2002
Dec 16 06:15:06 inquisitive kernel: BIOS-e820: 0000000000000000 -
000000000009fc00 (usable)
Dec 16 06:15:06 inquisitive kernel: BIOS-e820: 000000000009fc00 -
00000000000a0000 (reserved)
Dec 16 06:15:06 inquisitive kernel: BIOS-e820: 00000000000f0000 -
0000000000100000 (reserved)
Dec 16 06:15:06 inquisitive kernel: BIOS-e820: 0000000000100000 -
0000000050000000 (usable)
Dec 16 06:15:06 inquisitive kernel: BIOS-e820: 00000000ffff0000 -
0000000100000000 (reserved)
Dec 16 06:15:06 inquisitive kernel: On node 0 totalpages: 327680
Dec 16 06:15:06 inquisitive kernel: zone(0): 4096 pages.
Dec 16 06:15:06 inquisitive kernel: zone(1): 225280 pages.
Dec 16 06:15:07 inquisitive kernel: zone(2): 98304 pages.
Dec 16 06:15:07 inquisitive kernel: Kernel command line: ro root=/dev/md2
Dec 16 06:15:07 inquisitive kernel: Detected 1005.588 MHz processor.
Dec 16 06:15:07 inquisitive kernel: Speakup v-1.00 CVS: Tue Jun 11 14:22:53
EDT 2002 : initialized
Dec 16 06:15:07 inquisitive kernel: Console: colour VGA+ 80x25
Dec 16 06:15:07 inquisitive kernel: Calibrating delay loop... 1993.77 BogoMIPS
Dec 16 06:15:07 inquisitive kernel: Page-cache hash table entries: 524288
(order: 9, 2097152 bytes)
Dec 16 06:15:07 inquisitive kernel: CPU: AMD Duron(tm) processor stepping 01
Dec 16 06:15:07 inquisitive kernel: POSIX conformance testing by UNIFIX
Dec 16 06:15:07 inquisitive kernel: mtrr: v1.40 (20010327) Richard Gooch
(rgooch@atnf.csiro.au)
Dec 16 06:15:07 inquisitive kernel: mtrr: detected mtrr type: Intel
Dec 16 06:15:07 inquisitive kernel: speakup: initialized device: /dev/synth,
node (MAJOR 10, MINOR 25)
Dec 16 06:15:07 inquisitive kernel: Initializing RT netlink socket
Dec 16 06:15:07 inquisitive kernel: Starting kswapd
Dec 16 06:15:07 inquisitive kernel: allocated 64 pages and 64 bhs reserved for
the highmem bounces
Dec 16 06:15:07 inquisitive kernel: pty: 2048 Unix98 ptys configured
Dec 16 06:15:07 inquisitive kernel: block: 1024 slots per queue, batch=256
Dec 16 06:15:07 inquisitive kernel: ide: Assuming 33MHz system bus speed for
PIO modes; override with idebus=xx
Dec 16 06:15:07 inquisitive kernel: HPT372: IDE controller on PCI bus 00 dev
70
Dec 16 06:15:07 inquisitive kernel: HPT372: chipset revision 5
Dec 16 06:15:07 inquisitive kernel: HPT372: not 100%% native mode: will probe
irqs later
Dec 16 06:15:07 inquisitive kernel: HPT37X: using 33MHz PCI clock
Dec 16 06:15:07 inquisitive kernel: ide2: BM-DMA at 0xd400-0xd407, BIOS
settings: hde:DMA, hdf:pio
Dec 16 06:15:07 inquisitive kernel: ide3: BM-DMA at 0xd408-0xd40f, BIOS
settings: hdg:DMA, hdh:pio
Dec 16 06:15:07 inquisitive kernel: VP_IDE: IDE controller on PCI bus 00 dev
89
Dec 16 06:15:07 inquisitive kernel: PCI: No IRQ known for interrupt pin A of
device 00:11.1. Please try using pci=biosirq.
Dec 16 06:15:07 inquisitive kernel: VP_IDE: chipset revision 6
Dec 16 06:15:07 inquisitive kernel: VP_IDE: not 100%% native mode: will probe
irqs later
Dec 16 06:15:07 inquisitive kernel: ide: Assuming 33MHz system bus speed for
PIO modes; override with idebus=xx
Dec 16 06:15:07 inquisitive kernel: ide0: BM-DMA at 0xd800-0xd807, BIOS
settings: hda:DMA, hdb:DMA
Dec 16 06:15:07 inquisitive kernel: ide1: BM-DMA at 0xd808-0xd80f, BIOS
settings: hdc:DMA, hdd:pio
Dec 16 06:15:07 inquisitive kernel: hda: MAXTOR 6L020J1, ATA DISK drive
Dec 16 06:15:07 inquisitive kernel: hdb: IDE/ATAPI CD-ROM 36X, ATAPI
CD/DVD-ROM drive
Dec 16 06:15:07 inquisitive kernel: hdc: MAXTOR 6L020J1, ATA DISK drive
Dec 16 06:15:07 inquisitive kernel: hde: MAXTOR 6L040L2, ATA DISK drive
Dec 16 06:15:07 inquisitive kernel: hdg: MAXTOR 6L040L2, ATA DISK drive
Dec 16 06:15:07 inquisitive kernel: ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Dec 16 06:15:07 inquisitive kernel: ide1 at 0x170-0x177,0x376 on irq 15
Dec 16 06:15:07 inquisitive kernel: ide2 at 0xc400-0xc407,0xc802 on irq 10
Dec 16 06:15:07 inquisitive kernel: ide3 at 0xcc00-0xcc07,0xd002 on irq 10
Dec 16 06:15:07 inquisitive kernel: ide-floppy driver 0.99.newide
Dec 16 06:15:07 inquisitive kernel: RAMDISK driver initialized: 16 RAM disks
of 4096K size 1024 blocksize
Dec 16 06:15:07 inquisitive kernel: ide-floppy driver 0.99.newide
Dec 16 06:15:07 inquisitive kernel: md: superblock update time inconsistency
-- using the most recent one
Dec 16 06:15:07 inquisitive kernel: kmod: failed to exec /sbin/modprobe -s -k
md-personality-2, errno = 2
Dec 16 06:15:07 inquisitive kernel: md: personality 2 is not loaded!
Dec 16 06:15:07 inquisitive kernel: md :do_md_run() returned -22
Dec 16 06:15:07 inquisitive kernel: md: superblock update time inconsistency
-- using the most recent one
Dec 16 06:15:07 inquisitive kernel: md: kicking non-fresh hde1 from array!
Dec 16 06:15:07 inquisitive kernel: md0: removing former faulty hde1!
Dec 16 06:15:07 inquisitive kernel: kmod: failed to exec /sbin/modprobe -s -k
md-personality-3, errno = 2
Dec 16 06:15:07 inquisitive kernel: md: personality 3 is not loaded!
Dec 16 06:15:07 inquisitive kernel: md :do_md_run() returned -22
Dec 16 06:15:07 inquisitive kernel: kmod: failed to exec /sbin/modprobe -s -k
md-personality-3, errno = 2
Dec 16 06:15:07 inquisitive kernel: md: personality 3 is not loaded!
Dec 16 06:15:07 inquisitive kernel: md :do_md_run() returned -22
Dec 16 06:15:07 inquisitive kernel: VFS: Mounted root (ext2 filesystem).
Dec 16 06:15:08 inquisitive kernel: md: superblock update time inconsistency
-- using the most recent one
Dec 16 06:15:08 inquisitive kernel: md: kicking non-fresh hde1 from array!
Dec 16 06:15:08 inquisitive kernel: md0: removing former faulty hde1!
Dec 16 06:15:08 inquisitive kernel: raid1: md0, not all disks are operational
-- trying to recover array
Dec 16 06:15:08 inquisitive kernel: md0: no spare disk to reconstruct array!
-- continuing in degraded mode
Dec 16 06:15:08 inquisitive kernel: md: superblock update time inconsistency
-- using the most recent one
Dec 16 06:15:08 inquisitive kernel: raid0: looking at hde3
Dec 16 06:15:08 inquisitive kernel: raid0: comparing hde3(19281408) with
hde3(19281408)
Dec 16 06:15:08 inquisitive kernel: raid0: END
Dec 16 06:15:08 inquisitive kernel: raid0: ==> UNIQUE
Dec 16 06:15:08 inquisitive kernel: raid0: 1 zones
Dec 16 06:15:08 inquisitive kernel: raid0: looking at hdg3
Dec 16 06:15:08 inquisitive kernel: raid0: comparing hdg3(19281408) with
hde3(19281408)
Dec 16 06:15:08 inquisitive kernel: raid0: EQUAL
Dec 16 06:15:08 inquisitive kernel: raid0: FINAL 1 zones
Dec 16 06:15:08 inquisitive kernel: raid0: zone 0
Dec 16 06:15:08 inquisitive kernel: raid0: checking hde3 ... contained as
device 0
Dec 16 06:15:08 inquisitive kernel: (19281408) is smallest!.
Dec 16 06:15:08 inquisitive kernel: raid0: checking hdg3 ... contained as
device 1
Dec 16 06:15:08 inquisitive kernel: raid0: zone->nb_dev: 2, size: 38562816
Dec 16 06:15:08 inquisitive kernel: raid0: current zone offset: 19281408
Dec 16 06:15:08 inquisitive kernel: raid0: done.
Dec 16 06:15:08 inquisitive kernel: raid0 : md_size is 38562816 blocks.
Dec 16 06:15:08 inquisitive kernel: raid0 : conf->smallest->size is 38562816
blocks.
Dec 16 06:15:08 inquisitive kernel: raid0 : nb_zone is 1.
Dec 16 06:15:08 inquisitive kernel: raid0 : Allocating 8 bytes for hash.
Dec 16 06:15:08 inquisitive kernel: usb-uhci.c: Detected 2 ports
Dec 16 06:15:08 inquisitive kernel: usb-uhci.c: Detected 2 ports
Dec 16 06:15:08 inquisitive kernel: ide-floppy driver 0.99.newide
Dec 16 06:15:08 inquisitive kernel: hdb: ATAPI 16X CD-ROM drive, 128kB Cache
Dec 16 06:15:08 inquisitive kernel: ip_tables: (C) 2000-2002 Netfilter core
team
Dec 16 06:15:08 inquisitive kernel: ip_conntrack (8192 buckets, 65536 max)
Dec 16 06:15:09 inquisitive xinetd[1168]: Server /usr/sbin/in.rexecd is not
executable [line=13]
Dec 16 06:15:09 inquisitive xinetd[1168]: Error parsing attribute server -
DISABLING SERVICE [line=13]
Dec 16 06:15:09 inquisitive xinetd[1168]: Server /usr/sbin/in.rlogind is not
executable [line=13]
Dec 16 06:15:09 inquisitive xinetd[1168]: Error parsing attribute server -
DISABLING SERVICE [line=13]
Dec 16 06:15:09 inquisitive xinetd[1168]: Server /usr/sbin/in.rshd is not
executable [line=14]
Dec 16 06:15:09 inquisitive xinetd[1168]: Error parsing attribute server -
DISABLING SERVICE [line=14]
Dec 16 06:15:27 inquisitive postfix/postfix-script: warning:
/var/spool/postfix/etc/resolv.conf and /etc/resolv.conf differ
Dec 16 06:23:37 localhost kernel: Linux version 2.4.18-17.7.x
(bhcompile@porky.devel.redhat.com) (gcc version 2.96 20000731 (Red Hat Linux
7.3 2.96-112)) #1 Tue Oct 8 11:49:30 EDT 2002
Dec 16 06:23:37 localhost kernel: BIOS-e820: 0000000000000000 -
000000000009fc00 (usable)
Dec 16 06:23:37 localhost kernel: BIOS-e820: 000000000009fc00 -
00000000000a0000 (reserved)
Dec 16 06:23:37 localhost kernel: BIOS-e820: 00000000000f0000 -
0000000000100000 (reserved)
Dec 16 06:23:37 localhost kernel: BIOS-e820: 0000000000100000 -
0000000050000000 (usable)
Dec 16 06:23:37 localhost kernel: BIOS-e820: 00000000ffff0000 -
0000000100000000 (reserved)
Dec 16 06:23:37 localhost kernel: On node 0 totalpages: 327680
Dec 16 06:23:37 localhost kernel: zone(0): 4096 pages.
Dec 16 06:23:37 localhost kernel: zone(1): 225280 pages.
Dec 16 06:23:37 localhost kernel: zone(2): 98304 pages.
Dec 16 06:23:37 localhost kernel: Kernel command line: ro root=/dev/md2
Dec 16 06:23:37 localhost kernel: Detected 1005.588 MHz processor.
Dec 16 06:23:37 localhost kernel: Speakup v-1.00 CVS: Tue Jun 11 14:22:53 EDT
2002 : initialized
Dec 16 06:23:37 localhost kernel: Console: colour VGA+ 80x25
Dec 16 06:23:37 localhost kernel: Calibrating delay loop... 1993.77 BogoMIPS
Dec 16 06:23:38 localhost kernel: Page-cache hash table entries: 524288
(order: 9, 2097152 bytes)
Dec 16 06:23:38 localhost kernel: CPU: AMD Duron(tm) processor stepping 01
Dec 16 06:23:38 localhost kernel: POSIX conformance testing by UNIFIX
Dec 16 06:23:38 localhost kernel: mtrr: v1.40 (20010327) Richard Gooch
(rgooch@atnf.csiro.au)
Dec 16 06:23:38 localhost kernel: mtrr: detected mtrr type: Intel
Dec 16 06:23:38 localhost kernel: speakup: initialized device: /dev/synth,
node (MAJOR 10, MINOR 25)
Dec 16 06:23:38 localhost kernel: Initializing RT netlink socket
Dec 16 06:23:38 localhost kernel: Starting kswapd
Dec 16 06:23:38 localhost kernel: allocated 64 pages and 64 bhs reserved for
the highmem bounces
Dec 16 06:23:38 localhost kernel: pty: 2048 Unix98 ptys configured
Dec 16 06:23:38 localhost kernel: block: 1024 slots per queue, batch=256
Dec 16 06:23:38 localhost kernel: ide: Assuming 33MHz system bus speed for PIO
modes; override with idebus=xx
Dec 16 06:23:38 localhost kernel: HPT372: IDE controller on PCI bus 00 dev 70
Dec 16 06:23:38 localhost kernel: HPT372: chipset revision 5
Dec 16 06:23:38 localhost kernel: HPT372: not 100%% native mode: will probe
irqs later
Dec 16 06:23:38 localhost kernel: HPT37X: using 33MHz PCI clock
Dec 16 06:23:38 localhost kernel: ide2: BM-DMA at 0xd400-0xd407, BIOS
settings: hde:DMA, hdf:pio
Dec 16 06:23:38 localhost kernel: ide3: BM-DMA at 0xd408-0xd40f, BIOS
settings: hdg:DMA, hdh:pio
Dec 16 06:23:38 localhost kernel: VP_IDE: IDE controller on PCI bus 00 dev 89
Dec 16 06:23:38 localhost kernel: PCI: No IRQ known for interrupt pin A of
device 00:11.1. Please try using pci=biosirq.
Dec 16 06:23:38 localhost kernel: VP_IDE: chipset revision 6
Dec 16 06:23:38 localhost kernel: VP_IDE: not 100%% native mode: will probe
irqs later
Dec 16 06:23:38 localhost kernel: ide: Assuming 33MHz system bus speed for PIO
modes; override with idebus=xx
Dec 16 06:23:38 localhost kernel: ide0: BM-DMA at 0xd800-0xd807, BIOS
settings: hda:DMA, hdb:DMA
Dec 16 06:23:38 localhost kernel: ide1: BM-DMA at 0xd808-0xd80f, BIOS
settings: hdc:DMA, hdd:pio
Dec 16 06:23:38 localhost kernel: hda: MAXTOR 6L020J1, ATA DISK drive
Dec 16 06:23:38 localhost kernel: hdb: IDE/ATAPI CD-ROM 36X, ATAPI CD/DVD-ROM
drive
Dec 16 06:23:38 localhost kernel: hdc: MAXTOR 6L020J1, ATA DISK drive
Dec 16 06:23:38 localhost kernel: hde: MAXTOR 6L040L2, ATA DISK drive
Dec 16 06:23:38 localhost kernel: hdg: MAXTOR 6L040L2, ATA DISK drive
Dec 16 06:23:38 localhost kernel: ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Dec 16 06:23:38 localhost kernel: ide1 at 0x170-0x177,0x376 on irq 15
Dec 16 06:23:38 localhost kernel: ide2 at 0xc400-0xc407,0xc802 on irq 10
Dec 16 06:23:38 localhost kernel: ide3 at 0xcc00-0xcc07,0xd002 on irq 10
Dec 16 06:23:38 localhost kernel: ide-floppy driver 0.99.newide
Dec 16 06:23:38 localhost kernel: RAMDISK driver initialized: 16 RAM disks of
4096K size 1024 blocksize
Dec 16 06:23:38 localhost kernel: ide-floppy driver 0.99.newide
Dec 16 06:23:38 localhost kernel: kmod: failed to exec /sbin/modprobe -s -k
md-personality-2, errno = 2
Dec 16 06:23:38 localhost kernel: md: personality 2 is not loaded!
Dec 16 06:23:38 localhost kernel: md :do_md_run() returned -22
Dec 16 06:23:38 localhost kernel: md: superblock update time inconsistency --
using the most recent one
Dec 16 06:23:38 localhost kernel: md: kicking non-fresh hde1 from array!
Dec 16 06:23:38 localhost kernel: md: md0: raid array is not clean -- starting
background reconstruction
Dec 16 06:23:38 localhost kernel: kmod: failed to exec /sbin/modprobe -s -k
md-personality-3, errno = 2
Dec 16 06:23:38 localhost kernel: md: personality 3 is not loaded!
Dec 16 06:23:38 localhost kernel: md :do_md_run() returned -22
Dec 16 06:23:38 localhost kernel: md: md2: raid array is not clean -- starting
background reconstruction
Dec 16 06:23:38 localhost kernel: kmod: failed to exec /sbin/modprobe -s -k
md-personality-3, errno = 2
Dec 16 06:23:38 localhost kernel: md: personality 3 is not loaded!
Dec 16 06:23:38 localhost kernel: md :do_md_run() returned -22
Dec 16 06:23:38 localhost kernel: VFS: Mounted root (ext2 filesystem).
Dec 16 06:23:38 localhost kernel: md: md2: raid array is not clean -- starting
background reconstruction
Dec 16 06:23:38 localhost kernel: raid1: raid set md2 not clean;
reconstructing mirrors
Dec 16 06:23:38 localhost sshd[932]: error: Bind to port 22 on 192.168.0.2
failed: Cannot assign requested address.
Dec 16 06:23:38 localhost sshd[932]: fatal: Cannot bind any address.
Dec 16 06:23:39 localhost kernel: md: superblock update time inconsistency --
using the most recent one
Dec 16 06:23:39 localhost kernel: md: kicking non-fresh hde1 from array!
Dec 16 06:23:39 localhost kernel: md: md0: raid array is not clean -- starting
background reconstruction
Dec 16 06:23:39 localhost kernel: raid1: md0, not all disks are operational --
trying to recover array
Dec 16 06:23:39 localhost kernel: md0: no spare disk to reconstruct array! --
continuing in degraded mode
Dec 16 06:23:39 localhost kernel: raid0: looking at hde3
Dec 16 06:23:39 localhost kernel: raid0: comparing hde3(19281408) with
hde3(19281408)
Dec 16 06:23:39 localhost kernel: raid0: END
Dec 16 06:23:39 localhost kernel: raid0: ==> UNIQUE
Dec 16 06:23:39 localhost kernel: raid0: 1 zones
Dec 16 06:23:39 localhost kernel: raid0: looking at hdg3
Dec 16 06:23:39 localhost kernel: raid0: comparing hdg3(19281408) with
hde3(19281408)
Dec 16 06:23:39 localhost kernel: raid0: EQUAL
Dec 16 06:23:39 localhost kernel: raid0: FINAL 1 zones
Dec 16 06:23:39 localhost kernel: raid0: zone 0
Dec 16 06:23:39 localhost kernel: raid0: checking hde3 ... contained as device
0
Dec 16 06:23:39 localhost kernel: (19281408) is smallest!.
Dec 16 06:23:39 localhost kernel: raid0: checking hdg3 ... contained as device
1
Dec 16 06:23:39 localhost kernel: raid0: zone->nb_dev: 2, size: 38562816
Dec 16 06:23:39 localhost kernel: raid0: current zone offset: 19281408
Dec 16 06:23:39 localhost kernel: raid0: done.
Dec 16 06:23:39 localhost kernel: raid0 : md_size is 38562816 blocks.
Dec 16 06:23:39 localhost kernel: raid0 : conf->smallest->size is 38562816
blocks.
Dec 16 06:23:39 localhost kernel: raid0 : nb_zone is 1.
Dec 16 06:23:39 localhost kernel: raid0 : Allocating 8 bytes for hash.
Dec 16 06:23:39 localhost kernel: usb-uhci.c: Detected 2 ports
Dec 16 06:23:39 localhost kernel: usb-uhci.c: Detected 2 ports
Dec 16 06:23:39 localhost kernel: ide-floppy driver 0.99.newide
Dec 16 06:23:39 localhost kernel: hdb: ATAPI 16X CD-ROM drive, 128kB Cache
Dec 16 06:23:39 localhost kernel: ip_tables: (C) 2000-2002 Netfilter core team
Dec 16 06:23:39 localhost kernel: ip_conntrack (8192 buckets, 65536 max)
Dec 16 06:23:39 localhost xinetd[964]: Server /usr/sbin/in.rexecd is not
executable [line=13]
Dec 16 06:23:39 localhost xinetd[964]: Error parsing attribute server -
DISABLING SERVICE [line=13]
Dec 16 06:23:39 localhost xinetd[964]: Server /usr/sbin/in.rlogind is not
executable [line=13]
Dec 16 06:23:39 localhost xinetd[964]: Error parsing attribute server -
DISABLING SERVICE [line=13]
Dec 16 06:23:39 localhost xinetd[964]: Server /usr/sbin/in.rshd is not
executable [line=14]
Dec 16 06:23:39 localhost xinetd[964]: Error parsing attribute server -
DISABLING SERVICE [line=14]
Dec 16 06:23:37 localhost dhcpcd[735]: timed out waiting for a valid DHCP
server response
Dec 16 06:23:57 localhost postfix/postfix-script: warning:
/var/spool/postfix/etc/resolv.conf and /etc/resolv.conf differ
Dec 16 06:24:03 localhost snort: WARNING: OpenPcap() device eth0 network
lookup: ^Ieth0: no IPv4 address assigned
Dec 16 06:24:27 localhost xinetd[964]: Exiting...
Dec 16 06:25:51 inquisitive kernel: Linux version 2.4.18-17.7.x
(bhcompile@porky.devel.redhat.com) (gcc version 2.96 20000731 (Red Hat Linux
7.3 2.96-112)) #1 Tue Oct 8 11:49:30 EDT 2002
Dec 16 06:25:51 inquisitive kernel: BIOS-e820: 0000000000000000 -
000000000009fc00 (usable)
Dec 16 06:25:51 inquisitive kernel: BIOS-e820: 000000000009fc00 -
00000000000a0000 (reserved)
Dec 16 06:25:51 inquisitive kernel: BIOS-e820: 00000000000f0000 -
0000000000100000 (reserved)
Dec 16 06:25:51 inquisitive kernel: BIOS-e820: 0000000000100000 -
0000000050000000 (usable)
Dec 16 06:25:51 inquisitive kernel: BIOS-e820: 00000000ffff0000 -
0000000100000000 (reserved)
Dec 16 06:25:51 inquisitive kernel: On node 0 totalpages: 327680
Dec 16 06:25:51 inquisitive kernel: zone(0): 4096 pages.
Dec 16 06:25:51 inquisitive kernel: zone(1): 225280 pages.
Dec 16 06:25:51 inquisitive kernel: zone(2): 98304 pages.
Dec 16 06:25:51 inquisitive kernel: Kernel command line: ro root=/dev/md2
Dec 16 06:25:51 inquisitive kernel: Detected 1005.588 MHz processor.
Dec 16 06:25:51 inquisitive kernel: Speakup v-1.00 CVS: Tue Jun 11 14:22:53
EDT 2002 : initialized
Dec 16 06:25:51 inquisitive kernel: Console: colour VGA+ 80x25
Dec 16 06:25:51 inquisitive kernel: Calibrating delay loop... 1993.77 BogoMIPS
Dec 16 06:25:51 inquisitive kernel: Page-cache hash table entries: 524288
(order: 9, 2097152 bytes)
Dec 16 06:25:51 inquisitive kernel: CPU: AMD Duron(tm) processor stepping 01
Dec 16 06:25:51 inquisitive kernel: POSIX conformance testing by UNIFIX
Dec 16 06:25:51 inquisitive kernel: mtrr: v1.40 (20010327) Richard Gooch
(rgooch@atnf.csiro.au)
Dec 16 06:25:51 inquisitive kernel: mtrr: detected mtrr type: Intel
Dec 16 06:25:51 inquisitive kernel: speakup: initialized device: /dev/synth,
node (MAJOR 10, MINOR 25)
Dec 16 06:25:51 inquisitive kernel: Initializing RT netlink socket
Dec 16 06:25:51 inquisitive kernel: Starting kswapd
Dec 16 06:25:51 inquisitive kernel: allocated 64 pages and 64 bhs reserved for
the highmem bounces
Dec 16 06:25:51 inquisitive kernel: pty: 2048 Unix98 ptys configured
Dec 16 06:25:51 inquisitive kernel: block: 1024 slots per queue, batch=256
Dec 16 06:25:51 inquisitive kernel: ide: Assuming 33MHz system bus speed for
PIO modes; override with idebus=xx
Dec 16 06:25:51 inquisitive kernel: HPT372: IDE controller on PCI bus 00 dev
70
Dec 16 06:25:51 inquisitive kernel: HPT372: chipset revision 5
Dec 16 06:25:52 inquisitive kernel: HPT372: not 100%% native mode: will probe
irqs later
Dec 16 06:25:52 inquisitive kernel: HPT37X: using 33MHz PCI clock
Dec 16 06:25:52 inquisitive kernel: ide2: BM-DMA at 0xd400-0xd407, BIOS
settings: hde:DMA, hdf:pio
Dec 16 06:25:52 inquisitive kernel: ide3: BM-DMA at 0xd408-0xd40f, BIOS
settings: hdg:DMA, hdh:pio
Dec 16 06:25:52 inquisitive kernel: VP_IDE: IDE controller on PCI bus 00 dev
89
Dec 16 06:25:52 inquisitive kernel: PCI: No IRQ known for interrupt pin A of
device 00:11.1. Please try using pci=biosirq.
Dec 16 06:25:52 inquisitive kernel: VP_IDE: chipset revision 6
Dec 16 06:25:52 inquisitive kernel: VP_IDE: not 100%% native mode: will probe
irqs later
Dec 16 06:25:52 inquisitive kernel: ide: Assuming 33MHz system bus speed for
PIO modes; override with idebus=xx
Dec 16 06:25:52 inquisitive kernel: ide0: BM-DMA at 0xd800-0xd807, BIOS
settings: hda:DMA, hdb:DMA
Dec 16 06:25:52 inquisitive kernel: ide1: BM-DMA at 0xd808-0xd80f, BIOS
settings: hdc:DMA, hdd:pio
Dec 16 06:25:52 inquisitive kernel: hda: MAXTOR 6L020J1, ATA DISK drive
Dec 16 06:25:52 inquisitive kernel: hdb: IDE/ATAPI CD-ROM 36X, ATAPI
CD/DVD-ROM drive
Dec 16 06:25:52 inquisitive kernel: hdc: MAXTOR 6L020J1, ATA DISK drive
Dec 16 06:25:52 inquisitive kernel: hde: MAXTOR 6L040L2, ATA DISK drive
Dec 16 06:25:52 inquisitive kernel: hdg: MAXTOR 6L040L2, ATA DISK drive
Dec 16 06:25:52 inquisitive kernel: ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Dec 16 06:25:52 inquisitive kernel: ide1 at 0x170-0x177,0x376 on irq 15
Dec 16 06:25:52 inquisitive kernel: ide2 at 0xc400-0xc407,0xc802 on irq 10
Dec 16 06:25:52 inquisitive kernel: ide3 at 0xcc00-0xcc07,0xd002 on irq 10
Dec 16 06:25:52 inquisitive kernel: ide-floppy driver 0.99.newide
Dec 16 06:25:52 inquisitive kernel: RAMDISK driver initialized: 16 RAM disks
of 4096K size 1024 blocksize
Dec 16 06:25:52 inquisitive kernel: ide-floppy driver 0.99.newide
Dec 16 06:25:52 inquisitive kernel: kmod: failed to exec /sbin/modprobe -s -k
md-personality-2, errno = 2
Dec 16 06:25:52 inquisitive kernel: md: personality 2 is not loaded!
Dec 16 06:25:52 inquisitive kernel: md :do_md_run() returned -22
Dec 16 06:25:52 inquisitive kernel: md: superblock update time inconsistency
-- using the most recent one
Dec 16 06:25:52 inquisitive kernel: md: kicking non-fresh hde1 from array!
Dec 16 06:25:52 inquisitive kernel: kmod: failed to exec /sbin/modprobe -s -k
md-personality-3, errno = 2
Dec 16 06:25:52 inquisitive kernel: md: personality 3 is not loaded!
Dec 16 06:25:52 inquisitive kernel: md :do_md_run() returned -22
Dec 16 06:25:52 inquisitive kernel: md: md2: raid array is not clean --
starting background reconstruction
Dec 16 06:25:52 inquisitive kernel: kmod: failed to exec /sbin/modprobe -s -k
md-personality-3, errno = 2
Dec 16 06:25:52 inquisitive kernel: md: personality 3 is not loaded!
Dec 16 06:25:52 inquisitive kernel: md :do_md_run() returned -22
Dec 16 06:25:52 inquisitive kernel: VFS: Mounted root (ext2 filesystem).
Dec 16 06:25:52 inquisitive kernel: md: md2: raid array is not clean --
starting background reconstruction
Dec 16 06:25:52 inquisitive kernel: raid1: raid set md2 not clean;
reconstructing mirrors
Dec 16 06:25:53 inquisitive kernel: md: superblock update time inconsistency
-- using the most recent one
Dec 16 06:25:53 inquisitive kernel: md: kicking non-fresh hde1 from array!
Dec 16 06:25:53 inquisitive kernel: raid1: md0, not all disks are operational
-- trying to recover array
Dec 16 06:25:53 inquisitive kernel: md0: no spare disk to reconstruct array!
-- continuing in degraded mode
Dec 16 06:25:53 inquisitive kernel: raid0: looking at hde3
Dec 16 06:25:53 inquisitive kernel: raid0: comparing hde3(19281408) with
hde3(19281408)
Dec 16 06:25:53 inquisitive kernel: raid0: END
Dec 16 06:25:53 inquisitive kernel: raid0: ==> UNIQUE
Dec 16 06:25:53 inquisitive kernel: raid0: 1 zones
Dec 16 06:25:53 inquisitive kernel: raid0: looking at hdg3
Dec 16 06:25:53 inquisitive kernel: raid0: comparing hdg3(19281408) with
hde3(19281408)
Dec 16 06:25:53 inquisitive kernel: raid0: EQUAL
Dec 16 06:25:53 inquisitive kernel: raid0: FINAL 1 zones
Dec 16 06:25:53 inquisitive kernel: raid0: zone 0
Dec 16 06:25:53 inquisitive kernel: raid0: checking hde3 ... contained as
device 0
Dec 16 06:25:53 inquisitive kernel: (19281408) is smallest!.
Dec 16 06:25:53 inquisitive kernel: raid0: checking hdg3 ... contained as
device 1
Dec 16 06:25:53 inquisitive kernel: raid0: zone->nb_dev: 2, size: 38562816
Dec 16 06:25:53 inquisitive kernel: raid0: current zone offset: 19281408
Dec 16 06:25:53 inquisitive kernel: raid0: done.
Dec 16 06:25:53 inquisitive kernel: raid0 : md_size is 38562816 blocks.
Dec 16 06:25:53 inquisitive kernel: raid0 : conf->smallest->size is 38562816
blocks.
Dec 16 06:25:53 inquisitive kernel: raid0 : nb_zone is 1.
Dec 16 06:25:53 inquisitive kernel: raid0 : Allocating 8 bytes for hash.
Dec 16 06:25:53 inquisitive kernel: usb-uhci.c: Detected 2 ports
Dec 16 06:25:53 inquisitive kernel: usb-uhci.c: Detected 2 ports
Dec 16 06:25:53 inquisitive kernel: ide-floppy driver 0.99.newide
Dec 16 06:25:53 inquisitive kernel: hdb: ATAPI 16X CD-ROM drive, 128kB Cache
Dec 16 06:25:53 inquisitive kernel: ip_tables: (C) 2000-2002 Netfilter core
team
Dec 16 06:25:53 inquisitive kernel: ip_conntrack (8192 buckets, 65536 max)
Dec 16 06:25:53 inquisitive xinetd[1169]: Server /usr/sbin/in.rexecd is not
executable [line=13]
Dec 16 06:25:53 inquisitive xinetd[1169]: Error parsing attribute server -
DISABLING SERVICE [line=13]
Dec 16 06:25:53 inquisitive xinetd[1169]: Server /usr/sbin/in.rlogind is not
executable [line=13]
Dec 16 06:25:53 inquisitive xinetd[1169]: Error parsing attribute server -
DISABLING SERVICE [line=13]
Dec 16 06:25:53 inquisitive xinetd[1169]: Server /usr/sbin/in.rshd is not
executable [line=14]
Dec 16 06:25:53 inquisitive xinetd[1169]: Error parsing attribute server -
DISABLING SERVICE [line=14]
Dec 16 06:26:13 inquisitive postfix/postfix-script: warning:
/var/spool/postfix/etc/resolv.conf and /etc/resolv.conf differ
Dec 16 15:51:06 inquisitive mc: /dev/gpmctl: No such file or directory
Dec 16 15:56:50 inquisitive modprobe: modprobe: Can't locate module
char-major-81
Dec 16 15:57:11 inquisitive modprobe: modprobe: Can't locate module
sound-slot-0
Dec 16 15:57:11 inquisitive modprobe: modprobe: Can't locate module
sound-service-0-3
Dec 16 16:03:19 inquisitive xinetd[1169]: Exiting...
Dec 16 16:04:40 inquisitive kernel: Linux version 2.4.18-17.7.x
(bhcompile@porky.devel.redhat.com) (gcc version 2.96 20000731 (Red Hat Linux
7.3 2.96-112)) #1 Tue Oct 8 11:49:30 EDT 2002
Dec 16 16:04:40 inquisitive kernel: BIOS-e820: 0000000000000000 -
000000000009fc00 (usable)
Dec 16 16:04:40 inquisitive kernel: BIOS-e820: 000000000009fc00 -
00000000000a0000 (reserved)
Dec 16 16:04:40 inquisitive kernel: BIOS-e820: 00000000000f0000 -
0000000000100000 (reserved)
Dec 16 16:04:40 inquisitive kernel: BIOS-e820: 0000000000100000 -
0000000050000000 (usable)
Dec 16 16:04:40 inquisitive kernel: BIOS-e820: 00000000ffff0000 -
0000000100000000 (reserved)
Dec 16 16:04:40 inquisitive kernel: On node 0 totalpages: 327680
Dec 16 16:04:40 inquisitive kernel: zone(0): 4096 pages.
Dec 16 16:04:40 inquisitive kernel: zone(1): 225280 pages.
Dec 16 16:04:40 inquisitive kernel: zone(2): 98304 pages.
Dec 16 16:04:40 inquisitive kernel: Kernel command line: ro root=/dev/md2
Dec 16 16:04:40 inquisitive kernel: Detected 1005.588 MHz processor.
Dec 16 16:04:40 inquisitive kernel: Speakup v-1.00 CVS: Tue Jun 11 14:22:53
EDT 2002 : initialized
Dec 16 16:04:40 inquisitive kernel: Console: colour VGA+ 80x25
Dec 16 16:04:40 inquisitive kernel: Calibrating delay loop... 1993.77 BogoMIPS
Dec 16 16:04:40 inquisitive kernel: Page-cache hash table entries: 524288
(order: 9, 2097152 bytes)
Dec 16 16:04:40 inquisitive kernel: CPU: AMD Duron(tm) processor stepping 01
Dec 16 16:04:40 inquisitive kernel: POSIX conformance testing by UNIFIX
Dec 16 16:04:40 inquisitive kernel: mtrr: v1.40 (20010327) Richard Gooch
(rgooch@atnf.csiro.au)
Dec 16 16:04:40 inquisitive kernel: mtrr: detected mtrr type: Intel
Dec 16 16:04:40 inquisitive kernel: speakup: initialized device: /dev/synth,
node (MAJOR 10, MINOR 25)
Dec 16 16:04:40 inquisitive kernel: Initializing RT netlink socket
Dec 16 16:04:40 inquisitive kernel: Starting kswapd
Dec 16 16:04:40 inquisitive kernel: allocated 64 pages and 64 bhs reserved for
the highmem bounces
Dec 16 16:04:40 inquisitive kernel: pty: 2048 Unix98 ptys configured
Dec 16 16:04:40 inquisitive kernel: block: 1024 slots per queue, batch=256
Dec 16 16:04:40 inquisitive kernel: ide: Assuming 33MHz system bus speed for
PIO modes; override with idebus=xx
Dec 16 16:04:40 inquisitive kernel: HPT372: IDE controller on PCI bus 00 dev
70
Dec 16 16:04:40 inquisitive kernel: HPT372: chipset revision 5
Dec 16 16:04:40 inquisitive kernel: HPT372: not 100%% native mode: will probe
irqs later
Dec 16 16:04:40 inquisitive kernel: HPT37X: using 33MHz PCI clock
Dec 16 16:04:40 inquisitive kernel: ide2: BM-DMA at 0xd400-0xd407, BIOS
settings: hde:DMA, hdf:pio
Dec 16 16:04:40 inquisitive kernel: ide3: BM-DMA at 0xd408-0xd40f, BIOS
settings: hdg:DMA, hdh:pio
Dec 16 16:04:41 inquisitive kernel: VP_IDE: IDE controller on PCI bus 00 dev
89
Dec 16 16:04:41 inquisitive kernel: PCI: No IRQ known for interrupt pin A of
device 00:11.1. Please try using pci=biosirq.
Dec 16 16:04:41 inquisitive kernel: VP_IDE: chipset revision 6
Dec 16 16:04:41 inquisitive kernel: VP_IDE: not 100%% native mode: will probe
irqs later
Dec 16 16:04:41 inquisitive kernel: ide: Assuming 33MHz system bus speed for
PIO modes; override with idebus=xx
Dec 16 16:04:41 inquisitive kernel: ide0: BM-DMA at 0xd800-0xd807, BIOS
settings: hda:DMA, hdb:DMA
Dec 16 16:04:41 inquisitive kernel: ide1: BM-DMA at 0xd808-0xd80f, BIOS
settings: hdc:DMA, hdd:pio
Dec 16 16:04:41 inquisitive kernel: hda: MAXTOR 6L020J1, ATA DISK drive
Dec 16 16:04:41 inquisitive kernel: hdb: IDE/ATAPI CD-ROM 36X, ATAPI
CD/DVD-ROM drive
Dec 16 16:04:41 inquisitive kernel: hdc: MAXTOR 6L020J1, ATA DISK drive
Dec 16 16:04:41 inquisitive kernel: hde: MAXTOR 6L040L2, ATA DISK drive
Dec 16 16:04:41 inquisitive kernel: hdg: MAXTOR 6L040L2, ATA DISK drive
Dec 16 16:04:41 inquisitive kernel: ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Dec 16 16:04:41 inquisitive kernel: ide1 at 0x170-0x177,0x376 on irq 15
Dec 16 16:04:41 inquisitive kernel: ide2 at 0xc400-0xc407,0xc802 on irq 10
Dec 16 16:04:41 inquisitive kernel: ide3 at 0xcc00-0xcc07,0xd002 on irq 10
Dec 16 16:04:41 inquisitive kernel: ide-floppy driver 0.99.newide
Dec 16 16:04:41 inquisitive kernel: RAMDISK driver initialized: 16 RAM disks
of 4096K size 1024 blocksize
Dec 16 16:04:41 inquisitive kernel: ide-floppy driver 0.99.newide
Dec 16 16:04:41 inquisitive kernel: kmod: failed to exec /sbin/modprobe -s -k
md-personality-2, errno = 2
Dec 16 16:04:41 inquisitive kernel: md: personality 2 is not loaded!
Dec 16 16:04:41 inquisitive kernel: md :do_md_run() returned -22
Dec 16 16:04:41 inquisitive kernel: md: superblock update time inconsistency
-- using the most recent one
Dec 16 16:04:41 inquisitive kernel: md: kicking non-fresh hde1 from array!
Dec 16 16:04:41 inquisitive kernel: kmod: failed to exec /sbin/modprobe -s -k
md-personality-3, errno = 2
Dec 16 16:04:41 inquisitive kernel: md: personality 3 is not loaded!
Dec 16 16:04:41 inquisitive kernel: md :do_md_run() returned -22
Dec 16 16:04:41 inquisitive kernel: kmod: failed to exec /sbin/modprobe -s -k
md-personality-3, errno = 2
Dec 16 16:04:41 inquisitive kernel: md: personality 3 is not loaded!
Dec 16 16:04:41 inquisitive kernel: md :do_md_run() returned -22
Dec 16 16:04:41 inquisitive kernel: VFS: Mounted root (ext2 filesystem).
Dec 16 16:04:41 inquisitive kernel: md: superblock update time inconsistency
-- using the most recent one
Dec 16 16:04:41 inquisitive kernel: md: kicking non-fresh hde1 from array!
Dec 16 16:04:41 inquisitive kernel: raid1: md0, not all disks are operational
-- trying to recover array
Dec 16 16:04:41 inquisitive kernel: md0: no spare disk to reconstruct array!
-- continuing in degraded mode
Dec 16 16:04:41 inquisitive kernel: raid0: looking at hde3
Dec 16 16:04:41 inquisitive kernel: raid0: comparing hde3(19281408) with
hde3(19281408)
Dec 16 16:04:41 inquisitive kernel: raid0: END
Dec 16 16:04:41 inquisitive kernel: raid0: ==> UNIQUE
Dec 16 16:04:41 inquisitive kernel: raid0: 1 zones
Dec 16 16:04:41 inquisitive kernel: raid0: looking at hdg3
Dec 16 16:04:41 inquisitive kernel: raid0: comparing hdg3(19281408) with
hde3(19281408)
Dec 16 16:04:41 inquisitive kernel: raid0: EQUAL
Dec 16 16:04:41 inquisitive kernel: raid0: FINAL 1 zones
Dec 16 16:04:41 inquisitive kernel: raid0: zone 0
Dec 16 16:04:41 inquisitive kernel: raid0: checking hde3 ... contained as
device 0
Dec 16 16:04:41 inquisitive kernel: (19281408) is smallest!.
Dec 16 16:04:41 inquisitive kernel: raid0: checking hdg3 ... contained as
device 1
Dec 16 16:04:41 inquisitive kernel: raid0: zone->nb_dev: 2, size: 38562816
Dec 16 16:04:41 inquisitive kernel: raid0: current zone offset: 19281408
Dec 16 16:04:41 inquisitive kernel: raid0: done.
Dec 16 16:04:41 inquisitive kernel: raid0 : md_size is 38562816 blocks.
Dec 16 16:04:41 inquisitive kernel: raid0 : conf->smallest->size is 38562816
blocks.
Dec 16 16:04:41 inquisitive kernel: raid0 : nb_zone is 1.
Dec 16 16:04:41 inquisitive kernel: raid0 : Allocating 8 bytes for hash.
Dec 16 16:04:42 inquisitive kernel: usb-uhci.c: Detected 2 ports
Dec 16 16:04:42 inquisitive kernel: usb-uhci.c: Detected 2 ports
Dec 16 16:04:42 inquisitive kernel: ide-floppy driver 0.99.newide
Dec 16 16:04:42 inquisitive kernel: hdb: ATAPI 16X CD-ROM drive, 128kB Cache
Dec 16 16:04:42 inquisitive kernel: ip_tables: (C) 2000-2002 Netfilter core
team
Dec 16 16:04:42 inquisitive kernel: ip_conntrack (8192 buckets, 65536 max)
Dec 16 16:04:42 inquisitive xinetd[1168]: Server /usr/sbin/in.rexecd is not
executable [line=13]
Dec 16 16:04:42 inquisitive xinetd[1168]: Error parsing attribute server -
DISABLING SERVICE [line=13]
Dec 16 16:04:42 inquisitive xinetd[1168]: Server /usr/sbin/in.rlogind is not
executable [line=13]
Dec 16 16:04:42 inquisitive xinetd[1168]: Error parsing attribute server -
DISABLING SERVICE [line=13]
Dec 16 16:04:42 inquisitive xinetd[1168]: Server /usr/sbin/in.rshd is not
executable [line=14]
Dec 16 16:04:42 inquisitive xinetd[1168]: Error parsing attribute server -
DISABLING SERVICE [line=14]
Dec 16 16:05:00 inquisitive postfix/postfix-script: warning:
/var/spool/postfix/etc/resolv.conf and /etc/resolv.conf differ
Dec 16 16:07:10 inquisitive modprobe: modprobe: Can't locate module
char-major-81
Dec 16 16:07:30 inquisitive modprobe: modprobe: Can't locate module
sound-slot-0
Dec 16 16:07:30 inquisitive modprobe: modprobe: Can't locate module
sound-service-0-3
Dec 16 16:36:35 inquisitive kernel: Linux version 2.4.18-17.7.x
(bhcompile@porky.devel.redhat.com) (gcc version 2.96 20000731 (Red Hat Linux
7.3 2.96-112)) #1 Tue Oct 8 11:49:30 EDT 2002
Dec 16 16:36:35 inquisitive kernel: BIOS-e820: 0000000000000000 -
000000000009fc00 (usable)
Dec 16 16:36:35 inquisitive kernel: BIOS-e820: 000000000009fc00 -
00000000000a0000 (reserved)
Dec 16 16:36:35 inquisitive kernel: BIOS-e820: 00000000000f0000 -
0000000000100000 (reserved)
Dec 16 16:36:35 inquisitive kernel: BIOS-e820: 0000000000100000 -
0000000050000000 (usable)
Dec 16 16:36:35 inquisitive kernel: BIOS-e820: 00000000ffff0000 -
0000000100000000 (reserved)
Dec 16 16:36:35 inquisitive kernel: On node 0 totalpages: 327680
Dec 16 16:36:35 inquisitive kernel: zone(0): 4096 pages.
Dec 16 16:36:35 inquisitive kernel: zone(1): 225280 pages.
Dec 16 16:36:35 inquisitive kernel: zone(2): 98304 pages.
Dec 16 16:36:35 inquisitive kernel: Kernel command line: ro root=/dev/md2
Dec 16 16:36:35 inquisitive kernel: Detected 1005.588 MHz processor.
Dec 16 16:36:35 inquisitive kernel: Speakup v-1.00 CVS: Tue Jun 11 14:22:53
EDT 2002 : initialized
Dec 16 16:36:35 inquisitive kernel: Console: colour VGA+ 80x25
Dec 16 16:36:35 inquisitive kernel: Calibrating delay loop... 1993.77 BogoMIPS
Dec 16 16:36:35 inquisitive kernel: Page-cache hash table entries: 524288
(order: 9, 2097152 bytes)
Dec 16 16:36:35 inquisitive kernel: CPU: AMD Duron(tm) processor stepping 01
Dec 16 16:36:35 inquisitive kernel: POSIX conformance testing by UNIFIX
Dec 16 16:36:35 inquisitive kernel: mtrr: v1.40 (20010327) Richard Gooch
(rgooch@atnf.csiro.au)
Dec 16 16:36:35 inquisitive kernel: mtrr: detected mtrr type: Intel
Dec 16 16:36:35 inquisitive kernel: speakup: initialized device: /dev/synth,
node (MAJOR 10, MINOR 25)
Dec 16 16:36:35 inquisitive kernel: Initializing RT netlink socket
Dec 16 16:36:35 inquisitive kernel: Starting kswapd
Dec 16 16:36:35 inquisitive kernel: allocated 64 pages and 64 bhs reserved for
the highmem bounces
Dec 16 16:36:35 inquisitive kernel: pty: 2048 Unix98 ptys configured
Dec 16 16:36:35 inquisitive kernel: block: 1024 slots per queue, batch=256
Dec 16 16:36:35 inquisitive kernel: ide: Assuming 33MHz system bus speed for
PIO modes; override with idebus=xx
Dec 16 16:36:35 inquisitive kernel: HPT372: IDE controller on PCI bus 00 dev
70
Dec 16 16:36:35 inquisitive kernel: HPT372: chipset revision 5
Dec 16 16:36:35 inquisitive kernel: HPT372: not 100%% native mode: will probe
irqs later
Dec 16 16:36:35 inquisitive kernel: HPT37X: using 33MHz PCI clock
Dec 16 16:36:35 inquisitive kernel: ide2: BM-DMA at 0xd400-0xd407, BIOS
settings: hde:DMA, hdf:pio
Dec 16 16:36:35 inquisitive kernel: ide3: BM-DMA at 0xd408-0xd40f, BIOS
settings: hdg:DMA, hdh:pio
Dec 16 16:36:35 inquisitive kernel: VP_IDE: IDE controller on PCI bus 00 dev
89
Dec 16 16:36:35 inquisitive kernel: PCI: No IRQ known for interrupt pin A of
device 00:11.1. Please try using pci=biosirq.
Dec 16 16:36:35 inquisitive kernel: VP_IDE: chipset revision 6
Dec 16 16:36:35 inquisitive kernel: VP_IDE: not 100%% native mode: will probe
irqs later
Dec 16 16:36:35 inquisitive kernel: ide: Assuming 33MHz system bus speed for
PIO modes; override with idebus=xx
Dec 16 16:36:35 inquisitive kernel: ide0: BM-DMA at 0xd800-0xd807, BIOS
settings: hda:DMA, hdb:DMA
Dec 16 16:36:35 inquisitive kernel: ide1: BM-DMA at 0xd808-0xd80f, BIOS
settings: hdc:DMA, hdd:pio
Dec 16 16:36:35 inquisitive kernel: hda: MAXTOR 6L020J1, ATA DISK drive
Dec 16 16:36:35 inquisitive kernel: hdb: IDE/ATAPI CD-ROM 36X, ATAPI
CD/DVD-ROM drive
Dec 16 16:36:35 inquisitive kernel: hdc: MAXTOR 6L020J1, ATA DISK drive
Dec 16 16:36:35 inquisitive kernel: hde: MAXTOR 6L040L2, ATA DISK drive
Dec 16 16:36:35 inquisitive kernel: hdg: MAXTOR 6L040L2, ATA DISK drive
Dec 16 16:36:35 inquisitive kernel: ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Dec 16 16:36:35 inquisitive kernel: ide1 at 0x170-0x177,0x376 on irq 15
Dec 16 16:36:35 inquisitive kernel: ide2 at 0xc400-0xc407,0xc802 on irq 10
Dec 16 16:36:35 inquisitive kernel: ide3 at 0xcc00-0xcc07,0xd002 on irq 10
Dec 16 16:36:35 inquisitive kernel: ide-floppy driver 0.99.newide
Dec 16 16:36:35 inquisitive kernel: RAMDISK driver initialized: 16 RAM disks
of 4096K size 1024 blocksize
Dec 16 16:36:35 inquisitive kernel: ide-floppy driver 0.99.newide
Dec 16 16:36:35 inquisitive kernel: kmod: failed to exec /sbin/modprobe -s -k
md-personality-2, errno = 2
Dec 16 16:36:35 inquisitive kernel: md: personality 2 is not loaded!
Dec 16 16:36:35 inquisitive kernel: md :do_md_run() returned -22
Dec 16 16:36:35 inquisitive kernel: md: superblock update time inconsistency
-- using the most recent one
Dec 16 16:36:35 inquisitive kernel: md: kicking non-fresh hde1 from array!
Dec 16 16:36:35 inquisitive kernel: md: md0: raid array is not clean --
starting background reconstruction
Dec 16 16:36:35 inquisitive kernel: kmod: failed to exec /sbin/modprobe -s -k
md-personality-3, errno = 2
Dec 16 16:36:35 inquisitive kernel: md: personality 3 is not loaded!
Dec 16 16:36:35 inquisitive kernel: md :do_md_run() returned -22
Dec 16 16:36:36 inquisitive kernel: md: md2: raid array is not clean --
starting background reconstruction
Dec 16 16:36:36 inquisitive kernel: kmod: failed to exec /sbin/modprobe -s -k
md-personality-3, errno = 2
Dec 16 16:36:36 inquisitive kernel: md: personality 3 is not loaded!
Dec 16 16:36:36 inquisitive kernel: md :do_md_run() returned -22
Dec 16 16:36:36 inquisitive kernel: VFS: Mounted root (ext2 filesystem).
Dec 16 16:36:36 inquisitive kernel: md: md2: raid array is not clean --
starting background reconstruction
Dec 16 16:36:36 inquisitive kernel: raid1: raid set md2 not clean;
reconstructing mirrors
Dec 16 16:36:36 inquisitive kernel: md: superblock update time inconsistency
-- using the most recent one
Dec 16 16:36:36 inquisitive kernel: md: kicking non-fresh hde1 from array!
Dec 16 16:36:36 inquisitive kernel: md: md0: raid array is not clean --
starting background reconstruction
Dec 16 16:36:36 inquisitive kernel: raid1: md0, not all disks are operational
-- trying to recover array
Dec 16 16:36:36 inquisitive kernel: md0: no spare disk to reconstruct array!
-- continuing in degraded mode
Dec 16 16:36:36 inquisitive kernel: raid0: looking at hde3
Dec 16 16:36:36 inquisitive kernel: raid0: comparing hde3(19281408) with
hde3(19281408)
Dec 16 16:36:36 inquisitive kernel: raid0: END
Dec 16 16:36:36 inquisitive kernel: raid0: ==> UNIQUE
Dec 16 16:36:36 inquisitive kernel: raid0: 1 zones
Dec 16 16:36:36 inquisitive kernel: raid0: looking at hdg3
Dec 16 16:36:36 inquisitive kernel: raid0: comparing hdg3(19281408) with
hde3(19281408)
Dec 16 16:36:36 inquisitive kernel: raid0: EQUAL
Dec 16 16:36:36 inquisitive kernel: raid0: FINAL 1 zones
Dec 16 16:36:36 inquisitive kernel: raid0: zone 0
Dec 16 16:36:36 inquisitive kernel: raid0: checking hde3 ... contained as
device 0
Dec 16 16:36:36 inquisitive kernel: (19281408) is smallest!.
Dec 16 16:36:36 inquisitive kernel: raid0: checking hdg3 ... contained as
device 1
Dec 16 16:36:36 inquisitive kernel: raid0: zone->nb_dev: 2, size: 38562816
Dec 16 16:36:36 inquisitive kernel: raid0: current zone offset: 19281408
Dec 16 16:36:36 inquisitive kernel: raid0: done.
Dec 16 16:36:36 inquisitive kernel: raid0 : md_size is 38562816 blocks.
Dec 16 16:36:36 inquisitive kernel: raid0 : conf->smallest->size is 38562816
blocks.
Dec 16 16:36:36 inquisitive kernel: raid0 : nb_zone is 1.
Dec 16 16:36:36 inquisitive kernel: raid0 : Allocating 8 bytes for hash.
Dec 16 16:36:37 inquisitive kernel: usb-uhci.c: Detected 2 ports
Dec 16 16:36:37 inquisitive kernel: usb-uhci.c: Detected 2 ports
Dec 16 16:36:37 inquisitive kernel: ide-floppy driver 0.99.newide
Dec 16 16:36:37 inquisitive kernel: hdb: ATAPI 16X CD-ROM drive, 128kB Cache
Dec 16 16:36:37 inquisitive kernel: ip_tables: (C) 2000-2002 Netfilter core
team
Dec 16 16:36:37 inquisitive kernel: ip_conntrack (8192 buckets, 65536 max)
Dec 16 16:36:38 inquisitive xinetd[1184]: Server /usr/sbin/in.rexecd is not
executable [line=13]
Dec 16 16:36:38 inquisitive xinetd[1184]: Error parsing attribute server -
DISABLING SERVICE [line=13]
Dec 16 16:36:38 inquisitive xinetd[1184]: Server /usr/sbin/in.rlogind is not
executable [line=13]
Dec 16 16:36:38 inquisitive xinetd[1184]: Error parsing attribute server -
DISABLING SERVICE [line=13]
Dec 16 16:36:38 inquisitive xinetd[1184]: Server /usr/sbin/in.rshd is not
executable [line=14]
Dec 16 16:36:38 inquisitive xinetd[1184]: Error parsing attribute server -
DISABLING SERVICE [line=14]
Dec 16 16:36:56 inquisitive postfix/postfix-script: warning:
/var/spool/postfix/etc/resolv.conf and /etc/resolv.conf differ
Dec 16 16:39:42 inquisitive login(pam_unix)[2388]: bad username [ root]
Dec 16 16:39:46 inquisitive login(pam_unix)[2388]: check pass; user unknown
Dec 16 16:41:59 inquisitive modprobe: modprobe: Can't locate module
char-major-81
Dec 16 16:42:23 inquisitive insmod:
/lib/modules/2.4.18-17.7.x/kernel/drivers/sound/via82cxxx_audio.o:
init_module: No such device
Dec 16 16:42:23 inquisitive insmod:
/lib/modules/2.4.18-17.7.x/kernel/drivers/sound/via82cxxx_audio.o: insmod
sound-slot-0 failed
Dec 16 16:42:23 inquisitive modprobe: modprobe: Can't locate module
sound-service-0-3
Dec 16 17:43:44 inquisitive kernel: Linux version 2.4.18-17.7.x
(bhcompile@porky.devel.redhat.com) (gcc version 2.96 20000731 (Red Hat Linux
7.3 2.96-112)) #1 Tue Oct 8 11:49:30 EDT 2002
Dec 16 17:43:44 inquisitive kernel: BIOS-e820: 0000000000000000 -
000000000009fc00 (usable)
Dec 16 17:43:44 inquisitive kernel: BIOS-e820: 000000000009fc00 -
00000000000a0000 (reserved)
Dec 16 17:43:44 inquisitive kernel: BIOS-e820: 00000000000f0000 -
0000000000100000 (reserved)
Dec 16 17:43:44 inquisitive kernel: BIOS-e820: 0000000000100000 -
0000000050000000 (usable)
Dec 16 17:43:44 inquisitive kernel: BIOS-e820: 00000000ffff0000 -
0000000100000000 (reserved)
Dec 16 17:43:44 inquisitive kernel: On node 0 totalpages: 327680
Dec 16 17:43:44 inquisitive kernel: zone(0): 4096 pages.
Dec 16 17:43:44 inquisitive kernel: zone(1): 225280 pages.
Dec 16 17:43:44 inquisitive kernel: zone(2): 98304 pages.
Dec 16 17:43:44 inquisitive kernel: Kernel command line: ro root=/dev/md2
Dec 16 17:43:44 inquisitive kernel: Detected 1005.588 MHz processor.
Dec 16 17:43:44 inquisitive kernel: Speakup v-1.00 CVS: Tue Jun 11 14:22:53
EDT 2002 : initialized
Dec 16 17:43:44 inquisitive kernel: Console: colour VGA+ 80x25
Dec 16 17:43:44 inquisitive kernel: Calibrating delay loop... 1993.77 BogoMIPS
Dec 16 17:43:44 inquisitive kernel: Page-cache hash table entries: 524288
(order: 9, 2097152 bytes)
Dec 16 17:43:44 inquisitive kernel: CPU: AMD Duron(tm) processor stepping 01
Dec 16 17:43:44 inquisitive kernel: POSIX conformance testing by UNIFIX
Dec 16 17:43:44 inquisitive kernel: mtrr: v1.40 (20010327) Richard Gooch
(rgooch@atnf.csiro.au)
Dec 16 17:43:44 inquisitive kernel: mtrr: detected mtrr type: Intel
Dec 16 17:43:44 inquisitive kernel: speakup: initialized device: /dev/synth,
node (MAJOR 10, MINOR 25)
Dec 16 17:43:44 inquisitive kernel: Initializing RT netlink socket
Dec 16 17:43:44 inquisitive kernel: Starting kswapd
Dec 16 17:43:44 inquisitive kernel: allocated 64 pages and 64 bhs reserved for
the highmem bounces
Dec 16 17:43:44 inquisitive kernel: pty: 2048 Unix98 ptys configured
Dec 16 17:43:44 inquisitive kernel: block: 1024 slots per queue, batch=256
Dec 16 17:43:44 inquisitive kernel: ide: Assuming 33MHz system bus speed for
PIO modes; override with idebus=xx
Dec 16 17:43:44 inquisitive kernel: HPT372: IDE controller on PCI bus 00 dev
70
Dec 16 17:43:44 inquisitive kernel: HPT372: chipset revision 5
Dec 16 17:43:44 inquisitive kernel: HPT372: not 100%% native mode: will probe
irqs later
Dec 16 17:43:44 inquisitive kernel: HPT37X: using 33MHz PCI clock
Dec 16 17:43:44 inquisitive kernel: ide2: BM-DMA at 0xd400-0xd407, BIOS
settings: hde:DMA, hdf:pio
Dec 16 17:43:44 inquisitive kernel: ide3: BM-DMA at 0xd408-0xd40f, BIOS
settings: hdg:DMA, hdh:pio
Dec 16 17:43:44 inquisitive kernel: VP_IDE: IDE controller on PCI bus 00 dev
89
Dec 16 17:43:44 inquisitive kernel: PCI: No IRQ known for interrupt pin A of
device 00:11.1. Please try using pci=biosirq.
Dec 16 17:43:44 inquisitive kernel: VP_IDE: chipset revision 6
Dec 16 17:43:44 inquisitive kernel: VP_IDE: not 100%% native mode: will probe
irqs later
Dec 16 17:43:44 inquisitive kernel: ide: Assuming 33MHz system bus speed for
PIO modes; override with idebus=xx
Dec 16 17:43:44 inquisitive kernel: ide0: BM-DMA at 0xd800-0xd807, BIOS
settings: hda:DMA, hdb:DMA
Dec 16 17:43:44 inquisitive kernel: ide1: BM-DMA at 0xd808-0xd80f, BIOS
settings: hdc:DMA, hdd:pio
Dec 16 17:43:44 inquisitive kernel: hda: MAXTOR 6L020J1, ATA DISK drive
Dec 16 17:43:44 inquisitive kernel: hdb: IDE/ATAPI CD-ROM 36X, ATAPI
CD/DVD-ROM drive
Dec 16 17:43:44 inquisitive kernel: hdc: MAXTOR 6L020J1, ATA DISK drive
Dec 16 17:43:44 inquisitive kernel: hde: MAXTOR 6L040L2, ATA DISK drive
Dec 16 17:43:44 inquisitive kernel: hdg: MAXTOR 6L040L2, ATA DISK drive
Dec 16 17:43:44 inquisitive kernel: ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Dec 16 17:43:44 inquisitive kernel: ide1 at 0x170-0x177,0x376 on irq 15
Dec 16 17:43:44 inquisitive kernel: ide2 at 0xc400-0xc407,0xc802 on irq 10
Dec 16 17:43:44 inquisitive kernel: ide3 at 0xcc00-0xcc07,0xd002 on irq 10
Dec 16 17:43:44 inquisitive kernel: ide-floppy driver 0.99.newide
Dec 16 17:43:44 inquisitive kernel: RAMDISK driver initialized: 16 RAM disks
of 4096K size 1024 blocksize
Dec 16 17:43:44 inquisitive kernel: ide-floppy driver 0.99.newide
Dec 16 17:43:44 inquisitive kernel: kmod: failed to exec /sbin/modprobe -s -k
md-personality-2, errno = 2
Dec 16 17:43:44 inquisitive kernel: md: personality 2 is not loaded!
Dec 16 17:43:44 inquisitive kernel: md :do_md_run() returned -22
Dec 16 17:43:44 inquisitive kernel: md: superblock update time inconsistency
-- using the most recent one
Dec 16 17:43:44 inquisitive kernel: md: kicking non-fresh hde1 from array!
Dec 16 17:43:44 inquisitive kernel: md: md0: raid array is not clean --
starting background reconstruction
Dec 16 17:43:44 inquisitive kernel: kmod: failed to exec /sbin/modprobe -s -k
md-personality-3, errno = 2
Dec 16 17:43:44 inquisitive kernel: md: personality 3 is not loaded!
Dec 16 17:43:44 inquisitive kernel: md :do_md_run() returned -22
Dec 16 17:43:45 inquisitive kernel: md: md2: raid array is not clean --
starting background reconstruction
Dec 16 17:43:45 inquisitive kernel: kmod: failed to exec /sbin/modprobe -s -k
md-personality-3, errno = 2
Dec 16 17:43:45 inquisitive kernel: md: personality 3 is not loaded!
Dec 16 17:43:45 inquisitive kernel: md :do_md_run() returned -22
Dec 16 17:43:45 inquisitive kernel: VFS: Mounted root (ext2 filesystem).
Dec 16 17:43:45 inquisitive kernel: md: md2: raid array is not clean --
starting background reconstruction
Dec 16 17:43:45 inquisitive kernel: raid1: raid set md2 not clean;
reconstructing mirrors
Dec 16 17:43:45 inquisitive kernel: md: superblock update time inconsistency
-- using the most recent one
Dec 16 17:43:45 inquisitive kernel: md: kicking non-fresh hde1 from array!
Dec 16 17:43:45 inquisitive kernel: md: md0: raid array is not clean --
starting background reconstruction
Dec 16 17:43:45 inquisitive kernel: raid1: md0, not all disks are operational
-- trying to recover array
Dec 16 17:43:45 inquisitive kernel: md0: no spare disk to reconstruct array!
-- continuing in degraded mode
Dec 16 17:43:45 inquisitive kernel: raid0: looking at hde3
Dec 16 17:43:45 inquisitive kernel: raid0: comparing hde3(19281408) with
hde3(19281408)
Dec 16 17:43:45 inquisitive kernel: raid0: END
Dec 16 17:43:45 inquisitive kernel: raid0: ==> UNIQUE
Dec 16 17:43:45 inquisitive kernel: raid0: 1 zones
Dec 16 17:43:45 inquisitive kernel: raid0: looking at hdg3
Dec 16 17:43:45 inquisitive kernel: raid0: comparing hdg3(19281408) with
hde3(19281408)
Dec 16 17:43:45 inquisitive kernel: raid0: EQUAL
Dec 16 17:43:45 inquisitive kernel: raid0: FINAL 1 zones
Dec 16 17:43:45 inquisitive kernel: raid0: zone 0
Dec 16 17:43:45 inquisitive kernel: raid0: checking hde3 ... contained as
device 0
Dec 16 17:43:45 inquisitive kernel: (19281408) is smallest!.
Dec 16 17:43:45 inquisitive kernel: raid0: checking hdg3 ... contained as
device 1
Dec 16 17:43:45 inquisitive kernel: raid0: zone->nb_dev: 2, size: 38562816
Dec 16 17:43:45 inquisitive kernel: raid0: current zone offset: 19281408
Dec 16 17:43:45 inquisitive kernel: raid0: done.
Dec 16 17:43:45 inquisitive kernel: raid0 : md_size is 38562816 blocks.
Dec 16 17:43:45 inquisitive kernel: raid0 : conf->smallest->size is 38562816
blocks.
Dec 16 17:43:45 inquisitive kernel: raid0 : nb_zone is 1.
Dec 16 17:43:45 inquisitive kernel: raid0 : Allocating 8 bytes for hash.
Dec 16 17:43:45 inquisitive kernel: usb-uhci.c: Detected 2 ports
Dec 16 17:43:45 inquisitive kernel: usb-uhci.c: Detected 2 ports
Dec 16 17:43:45 inquisitive kernel: ide-floppy driver 0.99.newide
Dec 16 17:43:45 inquisitive kernel: hdb: ATAPI 16X CD-ROM drive, 128kB Cache
Dec 16 17:43:45 inquisitive kernel: ip_tables: (C) 2000-2002 Netfilter core
team
Dec 16 17:43:45 inquisitive kernel: ip_conntrack (8192 buckets, 65536 max)
Dec 16 17:43:46 inquisitive xinetd[1184]: Server /usr/sbin/in.rexecd is not
executable [line=13]
Dec 16 17:43:46 inquisitive xinetd[1184]: Error parsing attribute server -
DISABLING SERVICE [line=13]
Dec 16 17:43:46 inquisitive xinetd[1184]: Server /usr/sbin/in.rlogind is not
executable [line=13]
Dec 16 17:43:46 inquisitive xinetd[1184]: Error parsing attribute server -
DISABLING SERVICE [line=13]
Dec 16 17:43:46 inquisitive xinetd[1184]: Server /usr/sbin/in.rshd is not
executable [line=14]
Dec 16 17:43:46 inquisitive xinetd[1184]: Error parsing attribute server -
DISABLING SERVICE [line=14]
Dec 16 17:44:05 inquisitive postfix/postfix-script: warning:
/var/spool/postfix/etc/resolv.conf and /etc/resolv.conf differ
Dec 16 17:45:59 inquisitive modprobe: modprobe: Can't locate module
char-major-81
Dec 16 17:46:23 inquisitive insmod:
/lib/modules/2.4.18-17.7.x/kernel/drivers/sound/via82cxxx_audio.o:
init_module: No such device
Dec 16 17:46:23 inquisitive insmod:
/lib/modules/2.4.18-17.7.x/kernel/drivers/sound/via82cxxx_audio.o: insmod
sound-slot-0 failed
Dec 16 17:46:23 inquisitive modprobe: modprobe: Can't locate module
sound-service-0-3
Now the only thing I did previous to this was to enter the bios and shut down
the onboard sound. Then after the reboot about five hours latter the drive
drops complaining about no DMA. I have since turned the onboard audio back
on! There was widespread power outages in the area that night.
When I do
raidstop /dev/md0
I get
Segmentation fault.
then I issue:
mdadm --assemble --force /dev/md0 /dev/hdg /dev/hde
And my system is very effectively rendered useless.
Ardently;
Arden A. Wiebe
^ permalink raw reply
* Re: [PATCH] updated scheduler tunables
From: Hanna Linder @ 2002-12-17 2:44 UTC (permalink / raw)
To: Robert Love, linux-kernel; +Cc: anton, hannal
In-Reply-To: <1040091321.854.8.camel@phantasy>
--On Monday, December 16, 2002 09:15:22 PM -0500 Robert Love <rml@tech9.net> wrote:
> The sched-tune patch is now in 2.5-mm, but I have had a couple requests
> for a version for stock 2.5. What is the interest, if any, of seeing
> this in 2.5? The idea was just to facilitate tuning, but the scheduler
One vote for including this in 2.5. (as if this were a democracy... ;)
Hanna
^ permalink raw reply
* Re: Intel P6 vs P7 system call performance
From: Linus Torvalds @ 2002-12-17 2:36 UTC (permalink / raw)
To: Dave Jones; +Cc: Ingo Molnar, linux-kernel
In-Reply-To: <20021217010321.GD31294@suse.de>
On Tue, 17 Dec 2002, Dave Jones wrote:
>
> I'm sure I recall seeing errata on at least 1 CPU re sysenter.
> If we do decide to go this route, we'll need to blacklist ones
> with any really icky problems.
The errata is something like "all P6's report SEP, but it doesn't
actually _work_ on anything before the third stepping".
However, that should _not_ be handled by magic sysenter-specific code.
That's what the per-vendor cpu feature fixups are there for, so that these
kinds of bugs get fixed in _one_ place (initialization) and not in all the
users of the feature flags.
In fact, we already have that code in the proper place, namely
arch/i386/kernel/cpu/intel.c:
/* SEP CPUID bug: Pentium Pro reports SEP but doesn't have it */
if ( c->x86 == 6 && c->x86_model < 3 && c->x86_mask < 3 )
clear_bit(X86_FEATURE_SEP, c->x86_capability);
so the stuff I sent out should work on everything.
(Modulo the missing syscall page I already mentioned and potential bugs
in the code itself, of course ;)
Linus
^ permalink raw reply
* Re: IDE module problem
From: Keith Owens @ 2002-12-17 2:25 UTC (permalink / raw)
To: Jun Sun; +Cc: Maciej W. Rozycki, linux-mips
In-Reply-To: <20021216182050.D11575@mvista.com>
On Mon, 16 Dec 2002 18:20:50 -0800,
Jun Sun <jsun@mvista.com> wrote:
>On Thu, Dec 12, 2002 at 01:56:37PM +1100, Keith Owens wrote:
>> obj-$(subst m,y,$(CONFIG_IDE)) += ide-std.o ide-no.o
>
>This is the most clean solution so far. Anybody would object
>this change?
>
>See the attached patch.
Add a comment to the end of the line, any nonstandard build entries
should have comments :)
obj-$(subst m,y,$(CONFIG_IDE)) += ide-std.o ide-no.o # must be builtin if ide is builtin or a module
^ permalink raw reply
* Re: mouse grabbing gotcha (was: dosemu 1.1.3.9 user report)
From: Stas Sergeev @ 2002-12-17 2:25 UTC (permalink / raw)
To: linux-msdos
[-- Attachment #1: Type: text/plain, Size: 1005 bytes --]
Hello.
Bart Oldeman wrote:
>> default "Home" should be changed.
> Pause is already taken as being a force pause (freeze).
But it doesn't actually work, it
just lock up dosemu in a non-TSC
mode unless the attached patch is
applied.
> One problem is that you can define just about any keycombo in some of
> these window managers, so there is nothing that works everywhere;
Well, there are either the combos
that are always reserved by some
WMs, and those can and should be
avoided.
> however some combinations are used more often than others.
User-defined combos is not something
we have to care about, that was not
what I mean.
> ctrl+alt+scroll_lock might be something that makes sense though, since
> you're locking the mouse.
The only disadvantage of it is that
it switches a scroll-lock led:)
> For KDE I have ctrl+alt+esc (kill), ctrl+alt+del (logout).
And you'll probably never know what
other combos it already reserved
without you even asking it about:)
I think dosemu can avoid using those.
[-- Attachment #2: cputime.diff --]
[-- Type: text/plain, Size: 1406 bytes --]
--- src/emu-i386/cputime.c Mon Dec 16 00:45:12 2002
+++ src/emu-i386/cputime.c Tue Dec 17 04:54:30 2002
@@ -181,7 +181,6 @@
* but only flags processing (& other features) */
RAWcpuTIME = rawP5time; /* in usecs */
GETcpuTIME = getP5time; /* in usecs */
- ZeroTimeBase.td = GETTSC(); /* in CPU cycles */
g_printf("TIMER: using pentium timing\n");
}
else {
@@ -189,7 +188,6 @@
* 'rdtsc off' into config file */
RAWcpuTIME = rawC4time; /* in usecs */
GETcpuTIME = getC4time; /* in usecs */
- ZeroTimeBase.td = rawC4time(); /* in usecs */
if (config.realcpu) {
if (kernel_version_code < 0x2017e)
g_printf("TIMER: using gettimeofday\n");
@@ -197,6 +195,7 @@
g_printf("TIMER: using new gettimeofday with microsecond resolution\n");
}
}
+ ZeroTimeBase.td = RAWcpuTIME();
}
@@ -208,7 +207,7 @@
if (cpu_time_stop) return 1;
if (!quiet) dbug_printf("STOP TIME\n");
StopTimeBase = RAWcpuTIME();
- LastTimeRead = StopTimeBase - TSCtoUS(ZeroTimeBase.td);
+ LastTimeRead = StopTimeBase - ZeroTimeBase.td;
cpu_time_stop = 1;
return 0;
}
@@ -218,7 +217,7 @@
{
if (!cpu_time_stop) return 1;
if (!quiet) dbug_printf("RESTART TIME\n");
- ZeroTimeBase.td += ((RAWcpuTIME() - StopTimeBase) * config.CPUSpeedInMhz);
+ ZeroTimeBase.td += RAWcpuTIME() - StopTimeBase;
cpu_time_stop = 0;
return 0;
}
^ permalink raw reply
* Re: mouse grabbing gotcha (was: dosemu 1.1.3.9 user report)
From: Bart Oldeman @ 2002-12-17 2:25 UTC (permalink / raw)
To: Peter Jay Salzman; +Cc: linux-msdos
In-Reply-To: <20021217013915.GA24456@dirac.org>
On Mon, 16 Dec 2002, Peter Jay Salzman wrote:
> btw, for gaming purposes (and i guess this is general, but is more
> appropriate for gamers), placing the line:
>
> exec xdosemu
>
> in .xinitrc, restarting X, and using ctl-alt-+ to cycle through video
> modes till xdosemu fills the entire screen gives the illusion of
> fullscreen.
right, well you don't even have to edit .xinitrc to do this but you can do
xinit /usr/local/bin/xdosemu -- :1
or the following which can be faster if you usually use 24bpp in
the main X:
xinit /usr/local/bin/xdosemu -- :1 -depth 8
instead. For me this even works in an xterm. Maybe in some situations
you'll need to ctrl-alt-f1, log in, and then do this (if you normally
use X, that is). Using this command, xdosemu runs in VC 8.
"exitemu" even brings me back to my normal X -- nice :-)
Bart
^ permalink raw reply
* RE: [PATCH][2.5][RFC] Using xAPIC apic address space on !Summit
From: Nakajima, Jun @ 2002-12-17 2:30 UTC (permalink / raw)
To: jamesclv, Nakajima, Jun, Zwane Mwaikambo
Cc: Martin Bligh, John Stultz, Linux Kernel
> I've never worked on a system that tries to use MSIs. Do they use lowest
> priority delivery?
They should provide lowest priority delivery as well as direct.
Jun
> -----Original Message-----
> From: James Cleverdon [mailto:jamesclv@us.ibm.com]
> Sent: Friday, December 13, 2002 11:40 AM
> To: Nakajima, Jun; Zwane Mwaikambo
> Cc: Martin Bligh; John Stultz; Linux Kernel
> Subject: Re: [PATCH][2.5][RFC] Using xAPIC apic address space on !Summit
>
> On Friday 13 December 2002 07:43 am, Nakajima, Jun wrote:
> > I/O APIC? I'm talking about xAPIC, i.e. local APIC which is part of the
> > chip. Also note that I/O subsystem can generate interrupts (e.g. MSI,
> > Message Signaled Interrupt), bypassing I/O APICs.
> >
> > Jun
>
> Part of the "x" in xAPIC is that it can communicate over the classic 2
> data /
> 1 clock serial bus or send interrupts over the system bus. If operating
> in
> serial mode, the old priority arbitration protocol works just fine. It's
> parallel mode where we have problems. All the I/O interrupts tend to hit
> CPU
> 0, thanks to the XTPR HW's tie-breaker logic.
>
> Intel has added a new register to I/O APICs that tells whether they're
> operating in serial or parallel mode. It may be useful to read that bit
> before activating some of the code in my patches.
>
> I've never worked on a system that tries to use MSIs. Do they use lowest
> priority delivery?
>
> (FYI, Summit boxes are hardwired into parallel mode. There's no provision
> for
> a serial APIC bus connecting the PCI expansion box to the CPUs.)
>
> > > -----Original Message-----
> > > From: James Cleverdon [mailto:jamesclv@us.ibm.com]
> > > Sent: Thursday, December 12, 2002 7:22 PM
> > > To: Nakajima, Jun; Zwane Mwaikambo
> > > Cc: Martin Bligh; John Stultz; Linux Kernel
> > > Subject: Re: [PATCH][2.5][RFC] Using xAPIC apic address space on
> !Summit
> > >
> > > On Thursday 12 December 2002 07:05 pm, Nakajima, Jun wrote:
> > > > BTW, we are working on a xAPIC patch that supports more than 8 CPUs
> in
> > > > a generic fashion (don't use hardcode OEM checking). We already
> tested
> > > > it
> > >
> > > on
> > >
> > > > two OEM systems with 16 CPUs.
> > > > - It uses clustered mode. We don't want to use physical mode because
> it
> > > > does not support lowest priority delivery mode.
> > > > - We also check the version of the local APIC if it's xAPIC or not.
> > > > It's possible that some other x86 architecture (other than P4P) uses
> > > > xAPIC.
> > > >
> > > > Stay tuned.
> > > >
> > > > Jun
> > >
> > > See my 2.5 summit patch for one that uses logical mode and lowest
> > > priority delivery. I haven't submitted that for 2.4 because the
> physical
> > > patch has the most run time on it, both in Alan's tree and SuSE 8.0+.
> > >
> > > The hardcoded OEM checking was necessary because the Summit I/O APICs
> > > were still using the older version number. (The HW folks claim that
> > > Intel didn't
> > > specify the new number soon enough for them.)
> > >
> > > I'm hesitant to key xAPIC vs. flat off the local APIC version number
> > > because
> > > it's possible to build a flat system out of P4 CPUs. I/O APIC version
> > > numbers combined with the parallel vs. serial bit would be safer
> (except
> > > for
> > > the Summit problem above). I've also tried checking all the CPU's
> > > physical
> > > APIC IDs to see if they use multiple APIC clusters.
> > >
> > > > > -----Original Message-----
> > > > > From: James Cleverdon [mailto:jamesclv@us.ibm.com]
> > > > > Sent: Thursday, December 12, 2002 6:42 PM
> > > > > To: Zwane Mwaikambo
> > > > > Cc: Martin Bligh; John Stultz; Linux Kernel
> > > > > Subject: Re: [PATCH][2.5][RFC] Using xAPIC apic address space on
> > >
> > > !Summit
> > >
> > > > > On Thursday 12 December 2002 06:21 pm, Zwane Mwaikambo wrote:
> > > > > > On Thu, 12 Dec 2002, James Cleverdon wrote:
> > > > > > > On Thursday 12 December 2002 05:44 pm, Zwane Mwaikambo wrote:
> > > > > > > > Hi,
> > > > > > > > I've got an 32x SMP system which has an xAPIC but
> utilises
> > > > >
> > > > > flat
> > > > >
> > > > > > > > addressing. This patch is to rename what was formerly
> > > > > > > > x86_summit
> > >
> > > to
> > >
> > > > > > > > x86_xapic (just to avoid confusion) and then select mask
> > >
> > > depending
> > >
> > > > > on
> > > > >
> > > > > > > > that.
> > > > > > > >
> > > > > > > > Untested/uncompiled patch
> > > > > > >
> > > > > > > Hi Zwane,
> > > > > > >
> > > > > > > How can you have a 32-way SMP system with flat addressing?
> There
> > >
> > > are
> > >
> > > > > > > only 8 bits in the destination address field. Even if you
> work
> > > > > > > around that by assigning a set of CPUs to each dest addr bit,
> > >
> > > there
> > >
> > > > > > > can only
> > > > >
> > > > > be
> > > > >
> > > > > > > 15 physical APIC IDs in flat mode. To get to 32 you must
> switch
> > >
> > > into
> > >
> > > > > > > clustered mode.
> > > > > > >
> > > > > > > Please tell me more. I'm intrigued how this can be done.
> > > > > >
> > > > > > Hi James,
> > > > > > with the xAPIC we can use the 8bit address space everywhere
> >
> > in
> >
> > > > > > physical destination mode. For example the ICR now has an 8bit
> > > > > > space for destination.
> > > > > >
> > > > > > "Specifies the target processor or processors. This field is
> only
> > >
> > > used
> > >
> > > > > > when the destination shorthand field is set to 00B. If the
> > >
> > > destination
> > >
> > > > > > mode is set to physical, then bits 56 through 59 contain the
> APIC
> > > > > > ID
> > >
> > > of
> > >
> > > > > > the target processor for Pentium and P6 family processors and
> bits
> > >
> > > 56
> > >
> > > > > > through 63 contain the APIC ID of the target processor the for
> > >
> > > Pentium
> > >
> > > > > > 4 and Intel Xeon processors. If the destination mode is set to
> > >
> > > logical,
> > >
> > > > > the
> > > > >
> > > > > > interpretation of the 8-bit destination field depends on the
> > >
> > > settings
> > >
> > > > > > of the DFR and LDR registers of the local APICs in all the
> > >
> > > processors
> > >
> > > > > > in
> > > > >
> > > > > the
> > > > >
> > > > > > system (see Section 8.6.2., Determining IPI Destination )."
> > > > > > - System Developer's Manual vol3 p291
> > > > > >
> > > > > > Regards,
> > > > > > Zwane
> > > > >
> > > > > Sure you can physically address them, if you assign IDs using
> Intel's
> > > > > official
> > > > > xAPIC numbering scheme (which must be clustered for more than 7
> > > > > CPUs). But,
> > > > > you still don't have enough destination address bits to go around.
> > > > > In flat
> > > > > mode, the kernel assumes you have one bit per CPU and phys IDs
> will
> > > > > be
> > >
> > > <
> > >
> > > > > 0xF.
> > > > >
> > > > > Bill tells me that you may be doing this for an emulator. Why not
> > > > > emulate clusered APIC mode, like the real hardware uses?
> > > > >
> > > > > I know the name x86_summit doesn't really fit. The summit patch
> > >
> > > should
> > >
> > > > > work
> > > > > for any xAPIC box that uses the system bus for interrupt delivery
> and
> > >
> > > has
> > >
> > > > > multiple APIC clusters. Is that what you're working towards?
> > > > >
> > > > > --
> > > > > James Cleverdon
> > > > > IBM xSeries Linux Solutions
> > > > > {jamesclv(Unix, preferred), cleverdj(Notes)} at us dot ibm dot com
> > >
> > > --
> > > James Cleverdon
> > > IBM xSeries Linux Solutions
> > > {jamesclv(Unix, preferred), cleverdj(Notes)} at us dot ibm dot com
>
> --
> James Cleverdon
> IBM xSeries Linux Solutions
> {jamesclv(Unix, preferred), cleverdj(Notes)} at us dot ibm dot com
^ permalink raw reply
* Re: IDE module problem
From: Jun Sun @ 2002-12-17 2:20 UTC (permalink / raw)
To: Keith Owens; +Cc: Maciej W. Rozycki, linux-mips, jsun
In-Reply-To: <25550.1039661797@kao2.melbourne.sgi.com>
[-- Attachment #1: Type: text/plain, Size: 1140 bytes --]
On Thu, Dec 12, 2002 at 01:56:37PM +1100, Keith Owens wrote:
> On Wed, 11 Dec 2002 18:20:30 +0100 (MET),
> "Maciej W. Rozycki" <macro@ds2.pg.gda.pl> wrote:
> >On Wed, 11 Dec 2002, Jun Sun wrote:
> >
> >> > > This is because arch/mips/lib/Makefile says:
> >> > >
> >> > > obj-$(CONFIG_IDE) += ide-std.o ide-no.o
> >> > [...]
> >> > > 3) use some smart trick in Makefile so that we include those
> >> > > two files only if CONFIG_IDE is 'y' or 'm'. (How?)
> >> >
> >> > obj-$(CONFIG_IDE_MODULE)
> >>
> >> This does not work. Apparently, CONFIG_IDE_MODULE is not created
> >> for makefile part.
> >
> > Indeed -- my fault. Variables such as $(CONFIG_IDE) are four-state and
> >for the module case they are simply set to "m". But then you can use
> >"ifeq ($(CONFIG_IDE),m)". Another approach is to invent an additional
> >variable automatically set to "y" whenever CONFIG_IDE is enabled.
>
> obj-$(subst m,y,$(CONFIG_IDE)) += ide-std.o ide-no.o
>
> ide-std.o ide-no.o are built in if CONFIG_IDE is m or y.
>
This is the most clean solution so far. Anybody would object
this change?
See the attached patch.
Jun
[-- Attachment #2: 021216-ide-module-obj.patch --]
[-- Type: text/plain, Size: 926 bytes --]
diff -Nru linux/arch/mips/lib/Makefile.orig linux/arch/mips/lib/Makefile
--- linux/arch/mips/lib/Makefile.orig Sat Sep 28 15:28:38 2002
+++ linux/arch/mips/lib/Makefile Mon Dec 16 18:13:43 2002
@@ -18,7 +18,7 @@
endif
obj-$(CONFIG_BLK_DEV_FD) += floppy-no.o floppy-std.o
-obj-$(CONFIG_IDE) += ide-std.o ide-no.o
+obj-$(subst m,y,$(CONFIG_IDE)) += ide-std.o ide-no.o
obj-$(CONFIG_PC_KEYB) += kbd-std.o kbd-no.o
include $(TOPDIR)/Rules.make
diff -Nru linux/arch/mips64/lib/Makefile.orig linux/arch/mips64/lib/Makefile
--- linux/arch/mips64/lib/Makefile.orig Sat Sep 28 15:28:38 2002
+++ linux/arch/mips64/lib/Makefile Mon Dec 16 18:17:20 2002
@@ -11,7 +11,7 @@
strnlen_user.o watch.o
obj-$(CONFIG_BLK_DEV_FD) += floppy-no.o floppy-std.o
-obj-$(CONFIG_IDE) += ide-std.o ide-no.o
+obj-$(subst m,y,$(CONFIG_IDE)) += ide-std.o ide-no.o
obj-$(CONFIG_PC_KEYB) += kbd-std.o kbd-no.o
include $(TOPDIR)/Rules.make
^ permalink raw reply
* Re: "iptables: Invalid argument" with kernel 2.4.20
From: Anders Fugmann @ 2002-12-17 2:19 UTC (permalink / raw)
To: Rob Sterenborg; +Cc: netfilter
In-Reply-To: <GOEDLKDBKHLHGAKAGFGKEEJJLLAA.rsterenborg@xs4all.nl>
Rob Sterenborg wrote:
> Could someone tell me when I would want to use "-m udp" ? I searched a
> bit and found a lot of scripts using it but didn't find anything that
> explains it.
The '-m' flag means match extentions. '--protocol udp' implicit loads
the match extentions for the udp protocol, and thus:
'iptables -p udp', is the same as iptables -p udp -m udp'. See 'match
extentions' in the iptables manpage for more information.
Regards
Anders Fugmann
--
Author of FIAIF
FIAIF is an intelligent firewall
http://fiaif.fugmann.dhs.org
^ permalink raw reply
* [Linux-ia64] Re: ia64 cache flushing?
From: David Mosberger @ 2002-12-17 2:15 UTC (permalink / raw)
To: linux-ia64
In-Reply-To: <marc-linux-ia64-105590709805582@msgid-missing>
>>>>> On Tue, 17 Dec 2002 13:11:46 +1100, Rusty Russell <rusty@rustcorp.com.au> said:
Rusty> if (owner = me) should do this.
Rusty> On top of your patch and my previous, this works!
Good to see that.
For someone who cares about modules and ia64 performance: you might
want to consider to use "brl" in the PLT stub instead of the
standardized code sequence. That would avoid an indirect branch and
associated mis-prediction penalties. (Of course, this would be for
McKinley and later CPUs only as Merced doesn't implement "brl" in
hardware).
--david
^ permalink raw reply
* [Linux-ia64] Re: ia64 cache flushing?
From: Rusty Russell @ 2002-12-17 2:11 UTC (permalink / raw)
To: linux-ia64
In-Reply-To: <marc-linux-ia64-105590709805582@msgid-missing>
In message <20021216173238.A13794@twiddle.net> you write:
> On Tue, Dec 17, 2002 at 12:14:43PM +1100, Rusty Russell wrote:
> > Well, yes, something is wrong with the relocations. The asm there
> > looks OK (assuming I'm reading it correctly, which is not guaranteed),
> > and I thought I put everything in the right place, but obviously not
> > 8( After two days on and off of trying to get ia64 to work, I passed
> > the buck. 8(
>
> Found it. First, some general fixes, attached.
>
> The remaining problem is that you're confusing the code address of a
> symbol as seen via the module's local symbol table, and the descriptor
> address as seen via EXPORT_SYMBOL from another module.
>
> This makes
>
> + fixup_plt(location, value);
>
> incorrect for local symbols. Which can be seen when the call to
> function() crashes.
>
> You're going to have to distinguish between symbols retrieved from
> the local symbol table and symbols retrieved from EXPORT_SYMBOL, and
> treat them differently in the IPLT case.
if (owner = me) should do this.
On top of your patch and my previous, this works!
Thanks!
Rusty.
diff -ur --exclude '*~' module-test-framework-ia64/arch-ia64/module.c module-test-framework/arch-ia64/module.c
--- module-test-framework-ia64/arch-ia64/module.c 2002-12-17 12:58:43.000000000 +1100
+++ module-test-framework/arch-ia64/module.c 2002-12-17 13:08:58.000000000 +1100
@@ -72,7 +73,7 @@
unsigned long *extra)
{
void *ptr;
- Elf32_Phdr *phdr = (void *)hdr + hdr->e_phoff;
+ Elf64_Phdr *phdr = (void *)hdr + hdr->e_phoff;
/* Ensure we stay aligned to requirements of first segment:
(assume it's sane, so vmalloc just works). */
@@ -117,19 +118,7 @@
return NULL;
}
-static u64 calculate_got(struct module *owner)
-{
- u64 got;
- if (!owner) {
- /* Kernel's GOT value = our current gp. */
- asm("mov %0 = gp" : "=r" (got));
- DEBUGP("GOT = %lu\n", got);
- } else
- got = owner->arch.got;
- return got;
-}
-
-static inline void fixup_plt(void *xplt, u64 value)
+static inline void copy_plt(void *xplt, u64 value)
{
struct ia64_fdesc *plt = xplt;
struct ia64_fdesc *fdesc = (void *)value;
@@ -137,6 +126,13 @@
*plt = *fdesc;
}
+static inline void create_plt(void *xplt, u64 value, u64 got)
+{
+ struct ia64_fdesc *plt = xplt;
+ plt->entry = value;
+ plt->gp = got;
+}
+
int apply_relocate(Elf_Rel *rel,
unsigned int num_rel,
Elf_Dyn *dyn,
@@ -204,7 +200,10 @@
case R_IA64_IPLTLSB:
printk("PLT location %p -> %p\n", location,
(void *)value);
- fixup_plt(location, value);
+ if (owner = me) /* Local symbol */
+ create_plt(location, value, me->arch.got);
+ else
+ copy_plt(location, value);
break;
default:
--
Anyone who quotes me in their sig is an idiot. -- Rusty Russell.
^ permalink raw reply
* PATCH - knfsd - Reorganise sock init in rpcsvc to avoid races.
From: Neil Brown @ 2002-12-17 2:11 UTC (permalink / raw)
To: Linus Torvalds; +Cc: nfs
If one of the callbacks (e.g. data ready) is called
before socket setup is complete, an oops may occur.
With this patch, socket is kept SK_BUSY until all is
ready to avoid this.
Also some code is moved around to make it cleaner.
----------- Diffstat output ------------
./net/sunrpc/svcsock.c | 55 ++++++++++++++++++++++---------------------------
1 files changed, 25 insertions(+), 30 deletions(-)
diff ./net/sunrpc/svcsock.c~current~ ./net/sunrpc/svcsock.c
--- ./net/sunrpc/svcsock.c~current~ 2002-12-09 15:48:09.000000000 +1100
+++ ./net/sunrpc/svcsock.c 2002-12-09 15:48:09.000000000 +1100
@@ -627,7 +627,7 @@ svc_udp_sendto(struct svc_rqst *rqstp)
return error;
}
-static int
+static void
svc_udp_init(struct svc_sock *svsk)
{
svsk->sk_sk->data_ready = svc_udp_data_ready;
@@ -643,9 +643,8 @@ svc_udp_init(struct svc_sock *svsk)
3 * svsk->sk_server->sv_bufsz,
3 * svsk->sk_server->sv_bufsz);
+ set_bit(SK_DATA, &svsk->sk_flags); /* might have come in before data_ready set up */
set_bit(SK_CHNGBUF, &svsk->sk_flags);
-
- return 0;
}
/*
@@ -773,19 +772,14 @@ svc_tcp_accept(struct svc_sock *svsk)
dprintk("%s: connect from %u.%u.%u.%u:%04x\n", serv->sv_name,
NIPQUAD(sin.sin_addr.s_addr), ntohs(sin.sin_port));
- if (!(newsvsk = svc_setup_socket(serv, newsock, &err, 0)))
- goto failed;
-
/* make sure that a write doesn't block forever when
* low on memory
*/
newsock->sk->sndtimeo = HZ*30;
- /* Precharge. Data may have arrived on the socket before we
- * installed the data_ready callback.
- */
- set_bit(SK_DATA, &newsvsk->sk_flags);
- svc_sock_enqueue(newsvsk);
+ if (!(newsvsk = svc_setup_socket(serv, newsock, &err, 0)))
+ goto failed;
+
/* make sure that we don't have too many active connections.
* If we have, something must be dropped.
@@ -1006,7 +1000,7 @@ svc_tcp_sendto(struct svc_rqst *rqstp)
return sent;
}
-static int
+static void
svc_tcp_init(struct svc_sock *svsk)
{
struct sock *sk = svsk->sk_sk;
@@ -1017,6 +1011,7 @@ svc_tcp_init(struct svc_sock *svsk)
if (sk->state == TCP_LISTEN) {
dprintk("setting up TCP socket for listening\n");
sk->data_ready = svc_tcp_listen_data_ready;
+ set_bit(SK_CONN, &svsk->sk_flags);
} else {
dprintk("setting up TCP socket for reading\n");
sk->state_change = svc_tcp_state_change;
@@ -1035,9 +1030,8 @@ svc_tcp_init(struct svc_sock *svsk)
3 * svsk->sk_server->sv_bufsz);
set_bit(SK_CHNGBUF, &svsk->sk_flags);
+ set_bit(SK_DATA, &svsk->sk_flags);
}
-
- return 0;
}
void
@@ -1258,6 +1252,18 @@ svc_setup_socket(struct svc_serv *serv,
memset(svsk, 0, sizeof(*svsk));
inet = sock->sk;
+
+ /* Register socket with portmapper */
+ if (*errp >= 0 && pmap_register)
+ *errp = svc_register(serv, inet->protocol,
+ ntohs(inet_sk(inet)->sport));
+
+ if (*errp < 0) {
+ kfree(svsk);
+ return NULL;
+ }
+
+ set_bit(SK_BUSY, &svsk->sk_flags);
inet->user_data = svsk;
svsk->sk_sock = sock;
svsk->sk_sk = inet;
@@ -1271,23 +1277,9 @@ svc_setup_socket(struct svc_serv *serv,
/* Initialize the socket */
if (sock->type == SOCK_DGRAM)
- *errp = svc_udp_init(svsk);
+ svc_udp_init(svsk);
else
- *errp = svc_tcp_init(svsk);
-if (svsk->sk_sk == NULL)
- printk(KERN_WARNING "svsk->sk_sk == NULL after svc_prot_init!\n");
-
- /* Register socket with portmapper */
- if (*errp >= 0 && pmap_register)
- *errp = svc_register(serv, inet->protocol,
- ntohs(inet_sk(inet)->sport));
-
- if (*errp < 0) {
- inet->user_data = NULL;
- kfree(svsk);
- return NULL;
- }
-
+ svc_tcp_init(svsk);
spin_lock_bh(&serv->sv_lock);
if (!pmap_register) {
@@ -1302,6 +1294,9 @@ if (svsk->sk_sk == NULL)
dprintk("svc: svc_setup_socket created %p (inet %p)\n",
svsk, svsk->sk_sk);
+
+ clear_bit(SK_BUSY, &svsk->sk_flags);
+ svc_sock_enqueue(svsk);
return svsk;
}
-------------------------------------------------------
This sf.net email is sponsored by:
With Great Power, Comes Great Responsibility
Learn to use your power at OSDN's High Performance Computing Channel
http://hpc.devchannel.org/
_______________________________________________
NFS maillist - NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs
^ permalink raw reply
* PATCH - knfsd - Reduce stack usage in some nfs syscall functions.
From: Neil Brown @ 2002-12-17 2:09 UTC (permalink / raw)
To: Linus Torvalds; +Cc: nfs
Some of the 'data' structures for receiving syscall
arguments are quite large. This patch converts to
larger one to be kmalloced instead of automatic.
(Patch against 2.5.current)
----------- Diffstat output ------------
./fs/nfsd/nfsctl.c | 92 +++++++++++++++++++++++++++++++++--------------------
1 files changed, 59 insertions(+), 33 deletions(-)
diff ./fs/nfsd/nfsctl.c~current~ ./fs/nfsd/nfsctl.c
--- ./fs/nfsd/nfsctl.c~current~ 2002-12-09 15:47:56.000000000 +1100
+++ ./fs/nfsd/nfsctl.c 2002-12-09 15:47:56.000000000 +1100
@@ -205,27 +205,37 @@ static ssize_t write_del(struct file *fi
static ssize_t write_export(struct file *file, const char *buf, size_t size)
{
- struct nfsctl_export data;
- if (size < sizeof(data))
+ struct nfsctl_export *data;
+ ssize_t rv;
+ if (size < sizeof(*data))
return -EINVAL;
- if (copy_from_user(&data, buf, size))
- return -EFAULT;
- return exp_export(&data);
+ if (!(data = kmalloc(sizeof(*data), GFP_KERNEL)))
+ return -ENOMEM;
+ rv = -EFAULT;
+ if (copy_from_user(data, buf, size) == 0)
+ rv = exp_export(data);
+ kfree(data);
+ return rv;
}
static ssize_t write_unexport(struct file *file, const char *buf, size_t size)
{
- struct nfsctl_export data;
- if (size < sizeof(data))
+ struct nfsctl_export *data;
+ ssize_t rv;
+ if (size < sizeof(*data))
return -EINVAL;
- if (copy_from_user(&data, buf, size))
- return -EFAULT;
- return exp_unexport(&data);
+ if (!(data = kmalloc(sizeof(*data), GFP_KERNEL)))
+ return -ENOMEM;
+ rv = -EFAULT;
+ if (copy_from_user(data, buf, size) == 0)
+ rv = exp_unexport(data);
+ kfree(data);
+ return rv;
}
static ssize_t write_getfs(struct file *file, const char *buf, size_t size)
{
- struct nfsctl_fsparm data;
+ struct nfsctl_fsparm *data;
struct sockaddr_in *sin;
struct auth_domain *clp;
int err = 0;
@@ -233,24 +243,30 @@ static ssize_t write_getfs(struct file *
if (file->private_data)
return -EINVAL;
- if (size < sizeof(data))
+ if (size < sizeof(*data))
return -EINVAL;
- if (copy_from_user(&data, buf, size))
- return -EFAULT;
- if (data.gd_addr.sa_family != AF_INET)
- return -EPROTONOSUPPORT;
- sin = (struct sockaddr_in *)&data.gd_addr;
- if (data.gd_maxlen > NFS3_FHSIZE)
- data.gd_maxlen = NFS3_FHSIZE;
+ data = kmalloc(sizeof(*data), GFP_KERNEL);
+ if (!data)
+ return -ENOMEM;
+ err = -EFAULT;
+ if (copy_from_user(data, buf, size))
+ goto out;
+ err = -EPROTONOSUPPORT;
+ if (data->gd_addr.sa_family != AF_INET)
+ goto out;
+ sin = (struct sockaddr_in *)&data->gd_addr;
+ if (data->gd_maxlen > NFS3_FHSIZE)
+ data->gd_maxlen = NFS3_FHSIZE;
+ err = -ENOMEM;
res = kmalloc(sizeof(struct knfsd_fh), GFP_KERNEL);
if (!res)
- return -ENOMEM;
+ goto out;
memset(res, 0, sizeof(struct knfsd_fh));
exp_readlock();
if (!(clp = auth_unix_lookup(sin->sin_addr)))
err = -EPERM;
else {
- err = exp_rootfh(clp, data.gd_path, res, data.gd_maxlen);
+ err = exp_rootfh(clp, data->gd_path, res, data->gd_maxlen);
auth_domain_put(clp);
}
exp_readunlock();
@@ -263,16 +279,18 @@ static ssize_t write_getfs(struct file *
else {
file->f_dentry->d_inode->i_size = res->fh_size + (int)&((struct knfsd_fh*)0)->fh_base;
file->private_data = res;
- err = sizeof(data);
+ err = sizeof(*data);
}
up(&file->f_dentry->d_inode->i_sem);
+ out:
+ kfree(data);
return err;
}
static ssize_t write_getfd(struct file *file, const char *buf, size_t size)
{
- struct nfsctl_fdparm data;
+ struct nfsctl_fdparm *data;
struct sockaddr_in *sin;
struct auth_domain *clp;
int err = 0;
@@ -281,23 +299,29 @@ static ssize_t write_getfd(struct file *
if (file->private_data)
return -EINVAL;
- if (size < sizeof(data))
- return -EINVAL;
- if (copy_from_user(&data, buf, size))
- return -EFAULT;
- if (data.gd_addr.sa_family != AF_INET)
- return -EPROTONOSUPPORT;
- if (data.gd_version < 2 || data.gd_version > NFSSVC_MAXVERS)
+ if (size < sizeof(*data))
return -EINVAL;
+ if (!(data = kmalloc(sizeof(*data), GFP_KERNEL)))
+ return -ENOMEM;
+ err = -EFAULT;
+ if (copy_from_user(data, buf, size))
+ goto out;
+ err = -EPROTONOSUPPORT;
+ if (data->gd_addr.sa_family != AF_INET)
+ goto out;
+ err = -EINVAL;
+ if (data->gd_version < 2 || data->gd_version > NFSSVC_MAXVERS)
+ goto out;
+ err = -ENOMEM;
res = kmalloc(NFS_FHSIZE, GFP_KERNEL);
if (!res)
- return -ENOMEM;
- sin = (struct sockaddr_in *)&data.gd_addr;
+ goto out;
+ sin = (struct sockaddr_in *)&data->gd_addr;
exp_readlock();
if (!(clp = auth_unix_lookup(sin->sin_addr)))
err = -EPERM;
else {
- err = exp_rootfh(clp, data.gd_path, &fh, NFS_FHSIZE);
+ err = exp_rootfh(clp, data->gd_path, &fh, NFS_FHSIZE);
auth_domain_put(clp);
}
exp_readunlock();
@@ -318,6 +342,8 @@ static ssize_t write_getfd(struct file *
}
up(&file->f_dentry->d_inode->i_sem);
+ out:
+ kfree(data);
return err;
}
-------------------------------------------------------
This sf.net email is sponsored by:
With Great Power, Comes Great Responsibility
Learn to use your power at OSDN's High Performance Computing Channel
http://hpc.devchannel.org/
_______________________________________________
NFS maillist - NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs
^ permalink raw reply
* PATCH - md - Make sure yielding thread actually yields cpu when waiting for turn at reconstruct.
From: Neil Brown @ 2002-12-17 2:07 UTC (permalink / raw)
To: Linus Torvalds; +Cc: linux-raid
When two md arrays on the same physical devices want to resync, they
must take turns, and currently the one that chooses to yield may end
up stealing all the CPU (on a uni-processor) and not give the other a
chance to get started.
This patches adds an explicit 'yield()' to avoid the problem.
----------- Diffstat output ------------
./drivers/md/md.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletion(-)
diff ./drivers/md/md.c~current~ ./drivers/md/md.c
--- ./drivers/md/md.c~current~ 2002-12-09 15:47:05.000000000 +1100
+++ ./drivers/md/md.c 2002-12-09 15:47:05.000000000 +1100
@@ -2815,8 +2815,10 @@ static void md_do_sync(void *data)
printk(KERN_INFO "md: delaying resync of md%d until md%d "
"has finished resync (they share one or more physical units)\n",
mdidx(mddev), mdidx(mddev2));
- if (mddev < mddev2) /* arbitrarily yield */
+ if (mddev < mddev2) {/* arbitrarily yield */
mddev->curr_resync = 1;
+ yield();
+ }
if (wait_event_interruptible(resync_wait,
mddev2->curr_resync < 2)) {
flush_curr_signals();
^ permalink raw reply
* [PATCH] updated scheduler tunables
From: Robert Love @ 2002-12-17 2:15 UTC (permalink / raw)
To: linux-kernel; +Cc: anton
The sched-tune patch is now in 2.5-mm, but I have had a couple requests
for a version for stock 2.5. What is the interest, if any, of seeing
this in 2.5? The idea was just to facilitate tuning, but the scheduler
could use some exported knobs... Anton mentioned the need to fiddle with
max_timeslice on some workloads.
Anyhow, this patch implements the following tuning knobs for the
scheduler:
[21:10:18]rml@phantasy:~$ pef /proc/sys/sched/
child_penalty=95
exit_weight=3
interactive_delta=2
max_sleep_avg=2000
max_timeslice=300
min_timeslice=10
parent_penalty=100
prio_bonus_ratio=25
starvation_limit=2000
with documentation in Documentation/filesystems/proc.txt
Patch is against 2.5.52.
Robert Love
Documentation/filesystems/proc.txt | 87 +++++++++++++++++++++++++++++++++++++
include/linux/sysctl.h | 15 +++++-
kernel/sched.c | 57 ++++++++++++------------
kernel/sysctl.c | 35 ++++++++++++++
4 files changed, 165 insertions(+), 29 deletions(-)
diff -urN linux-2.5.52/Documentation/filesystems/proc.txt linux/Documentation/filesystems/proc.txt
--- linux-2.5.52/Documentation/filesystems/proc.txt 2002-12-15 21:07:51.000000000 -0500
+++ linux/Documentation/filesystems/proc.txt 2002-12-15 22:51:09.000000000 -0500
@@ -37,6 +37,7 @@
2.8 /proc/sys/net/ipv4 - IPV4 settings
2.9 Appletalk
2.10 IPX
+ 2.11 /proc/sys/sched - scheduler tunables
------------------------------------------------------------------------------
Preface
@@ -1659,6 +1660,92 @@
gives the destination network, the router node (or Directly) and the network
address of the router (or Connected) for internal networks.
+2.11 /proc/sys/sched - scheduler tunables
+-----------------------------------------
+
+Useful knobs for tuning the scheduler live in /proc/sys/sched.
+
+child_penalty
+-------------
+
+Percentage of the parent's sleep_avg that children inherit. sleep_avg is
+a running average of the time a process spends sleeping. Tasks with high
+sleep_avg values are considered interactive and given a higher dynamic
+priority and a larger timeslice. You typically want this some value just
+under 100.
+
+exit_weight
+-----------
+
+When a CPU hog task exits, its parent's sleep_avg is reduced by a factor of
+exit_weight against the exiting task's sleep_avg.
+
+interactive_delta
+-----------------
+
+If a task is "interactive" it is reinserted into the active array after it
+has expired its timeslice, instead of being inserted into the expired array.
+How "interactive" a task must be in order to be deemed interactive is a
+function of its nice value. This interactive limit is scaled linearly by nice
+value and is offset by the interactive_delta.
+
+max_sleep_avg
+-------------
+
+max_sleep_avg is the largest value (in ms) stored for a task's running sleep
+average. The larger this value, the longer a task needs to sleep to be
+considered interactive (maximum interactive bonus is a function of
+max_sleep_avg).
+
+max_timeslice
+-------------
+
+Maximum timeslice, in milliseconds. This is the value given to tasks of the
+highest dynamic priority.
+
+min_timeslice
+-------------
+
+Minimum timeslice, in milliseconds. This is the value given to tasks of the
+lowest dynamic priority. Every task gets at least this slice of the processor
+per array switch.
+
+parent_penalty
+--------------
+
+Percentage of the parent's sleep_avg that it retains across a fork().
+sleep_avg is a running average of the time a process spends sleeping. Tasks
+with high sleep_avg values are considered interactive and given a higher
+dynamic priority and a larger timeslice. Normally, this value is 100 and thus
+task's retain their sleep_avg on fork. If you want to punish interactive
+tasks for forking, set this below 100.
+
+prio_bonus_ratio
+----------------
+
+Middle percentage of the priority range that tasks can receive as a dynamic
+priority. The default value of 25% ensures that nice values at the
+extremes are still enforced. For example, nice +19 interactive tasks will
+never be able to preempt a nice 0 CPU hog. Setting this higher will increase
+the size of the priority range the tasks can receive as a bonus. Setting
+this lower will decrease this range, making the interactivity bonus less
+apparent and user nice values more applicable.
+
+starvation_limit
+----------------
+
+Sufficiently interactive tasks are reinserted into the active array when they
+run out of timeslice. Normally, tasks are inserted into the expired array.
+Reinserting interactive tasks into the active array allows them to remain
+runnable, which is important to interactive performance. This could starve
+expired tasks, however, since the interactive task could prevent the array
+switch. To prevent starving the tasks on the expired array for too long. the
+starvation_limit is the longest (in ms) we will let the expired array starve
+at the expense of reinserting interactive tasks back into active. Higher
+values here give more preferance to running interactive tasks, at the expense
+of expired tasks. Lower values provide more fair scheduling behavior, at the
+expense of interactivity. The units are in milliseconds.
+
------------------------------------------------------------------------------
Summary
------------------------------------------------------------------------------
diff -urN linux-2.5.52/include/linux/sysctl.h linux/include/linux/sysctl.h
--- linux-2.5.52/include/linux/sysctl.h 2002-12-15 21:08:09.000000000 -0500
+++ linux/include/linux/sysctl.h 2002-12-15 22:51:09.000000000 -0500
@@ -66,7 +66,8 @@
CTL_DEV=7, /* Devices */
CTL_BUS=8, /* Busses */
CTL_ABI=9, /* Binary emulation */
- CTL_CPU=10 /* CPU stuff (speed scaling, etc) */
+ CTL_CPU=10, /* CPU stuff (speed scaling, etc) */
+ CTL_SCHED=11, /* scheduler tunables */
};
/* CTL_BUS names: */
@@ -157,6 +158,18 @@
VM_LOWER_ZONE_PROTECTION=20,/* Amount of protection of lower zones */
};
+/* Tunable scheduler parameters in /proc/sys/sched/ */
+enum {
+ SCHED_MIN_TIMESLICE=1, /* minimum process timeslice */
+ SCHED_MAX_TIMESLICE=2, /* maximum process timeslice */
+ SCHED_CHILD_PENALTY=3, /* penalty on fork to child */
+ SCHED_PARENT_PENALTY=4, /* penalty on fork to parent */
+ SCHED_EXIT_WEIGHT=5, /* penalty to parent of CPU hog child */
+ SCHED_PRIO_BONUS_RATIO=6, /* percent of max prio given as bonus */
+ SCHED_INTERACTIVE_DELTA=7, /* delta used to scale interactivity */
+ SCHED_MAX_SLEEP_AVG=8, /* maximum sleep avg attainable */
+ SCHED_STARVATION_LIMIT=9, /* no re-active if expired is starved */
+};
/* CTL_NET names: */
enum
diff -urN linux-2.5.52/kernel/sched.c linux/kernel/sched.c
--- linux-2.5.52/kernel/sched.c 2002-12-15 21:08:14.000000000 -0500
+++ linux/kernel/sched.c 2002-12-15 22:55:14.000000000 -0500
@@ -57,16 +57,19 @@
* Minimum timeslice is 10 msecs, default timeslice is 150 msecs,
* maximum timeslice is 300 msecs. Timeslices get refilled after
* they expire.
+ *
+ * They are configurable via /proc/sys/sched
+ * See Documentation/filesystems/proc.txt for descriptions
*/
-#define MIN_TIMESLICE ( 10 * HZ / 1000)
-#define MAX_TIMESLICE (300 * HZ / 1000)
-#define CHILD_PENALTY 95
-#define PARENT_PENALTY 100
-#define EXIT_WEIGHT 3
-#define PRIO_BONUS_RATIO 25
-#define INTERACTIVE_DELTA 2
-#define MAX_SLEEP_AVG (2*HZ)
-#define STARVATION_LIMIT (2*HZ)
+int min_timeslice = (10 * HZ) / 1000;
+int max_timeslice = (300 * HZ) / 1000;
+int child_penalty = 95;
+int parent_penalty = 100;
+int exit_weight = 3;
+int prio_bonus_ratio = 25;
+int interactive_delta = 2;
+int max_sleep_avg = 2 * HZ;
+int starvation_limit = 2 * HZ;
/*
* If a task is 'interactive' then we reinsert it in the active
@@ -76,7 +79,7 @@
*
* This part scales the interactivity limit depending on niceness.
*
- * We scale it linearly, offset by the INTERACTIVE_DELTA delta.
+ * We scale it linearly, offset by the interactive_delta delta.
* Here are a few examples of different nice levels:
*
* TASK_INTERACTIVE(-20): [1,1,1,1,1,1,1,1,1,0,0]
@@ -100,8 +103,8 @@
(v1) * (v2_max) / (v1_max)
#define DELTA(p) \
- (SCALE(TASK_NICE(p), 40, MAX_USER_PRIO*PRIO_BONUS_RATIO/100) + \
- INTERACTIVE_DELTA)
+ (SCALE(TASK_NICE(p), 40, MAX_USER_PRIO*prio_bonus_ratio/100) + \
+ interactive_delta)
#define TASK_INTERACTIVE(p) \
((p)->prio <= (p)->static_prio - DELTA(p))
@@ -112,13 +115,13 @@
*
* The higher a thread's priority, the bigger timeslices
* it gets during one round of execution. But even the lowest
- * priority thread gets MIN_TIMESLICE worth of execution time.
+ * priority thread gets min_timeslice worth of execution time.
*
* task_timeslice() is the interface that is used by the scheduler.
*/
-#define BASE_TIMESLICE(p) (MIN_TIMESLICE + \
- ((MAX_TIMESLICE - MIN_TIMESLICE) * (MAX_PRIO-1-(p)->static_prio)/(MAX_USER_PRIO - 1)))
+#define BASE_TIMESLICE(p) (min_timeslice + \
+ ((max_timeslice - min_timeslice) * (MAX_PRIO-1-(p)->static_prio)/(MAX_USER_PRIO - 1)))
static inline unsigned int task_timeslice(task_t *p)
{
@@ -244,7 +247,7 @@
* effective_prio - return the priority that is based on the static
* priority but is modified by bonuses/penalties.
*
- * We scale the actual sleep average [0 .... MAX_SLEEP_AVG]
+ * We scale the actual sleep average [0 .... max_sleep_avg]
* into the -5 ... 0 ... +5 bonus/penalty range.
*
* We use 25% of the full 0...39 priority range so that:
@@ -258,8 +261,8 @@
{
int bonus, prio;
- bonus = MAX_USER_PRIO*PRIO_BONUS_RATIO*p->sleep_avg/MAX_SLEEP_AVG/100 -
- MAX_USER_PRIO*PRIO_BONUS_RATIO/100/2;
+ bonus = MAX_USER_PRIO*prio_bonus_ratio*p->sleep_avg/max_sleep_avg/100 -
+ MAX_USER_PRIO*prio_bonus_ratio/100/2;
prio = p->static_prio - bonus;
if (prio < MAX_RT_PRIO)
@@ -289,8 +292,8 @@
* boost gets as well.
*/
p->sleep_avg += sleep_time;
- if (p->sleep_avg > MAX_SLEEP_AVG)
- p->sleep_avg = MAX_SLEEP_AVG;
+ if (p->sleep_avg > max_sleep_avg)
+ p->sleep_avg = max_sleep_avg;
p->prio = effective_prio(p);
}
enqueue_task(p, array);
@@ -460,8 +463,8 @@
* and children as well, to keep max-interactive tasks
* from forking tasks that are max-interactive.
*/
- current->sleep_avg = current->sleep_avg * PARENT_PENALTY / 100;
- p->sleep_avg = p->sleep_avg * CHILD_PENALTY / 100;
+ current->sleep_avg = current->sleep_avg * parent_penalty / 100;
+ p->sleep_avg = p->sleep_avg * child_penalty / 100;
p->prio = effective_prio(p);
}
set_task_cpu(p, smp_processor_id());
@@ -486,8 +489,8 @@
local_irq_save(flags);
if (p->first_time_slice) {
p->parent->time_slice += p->time_slice;
- if (unlikely(p->parent->time_slice > MAX_TIMESLICE))
- p->parent->time_slice = MAX_TIMESLICE;
+ if (unlikely(p->parent->time_slice > max_timeslice))
+ p->parent->time_slice = max_timeslice;
}
local_irq_restore(flags);
/*
@@ -495,8 +498,8 @@
* the sleep_avg of the parent as well.
*/
if (p->sleep_avg < p->parent->sleep_avg)
- p->parent->sleep_avg = (p->parent->sleep_avg * EXIT_WEIGHT +
- p->sleep_avg) / (EXIT_WEIGHT + 1);
+ p->parent->sleep_avg = (p->parent->sleep_avg * exit_weight +
+ p->sleep_avg) / (exit_weight + 1);
}
/**
@@ -870,7 +873,7 @@
#define EXPIRED_STARVING(rq) \
((rq)->expired_timestamp && \
(jiffies - (rq)->expired_timestamp >= \
- STARVATION_LIMIT * ((rq)->nr_running) + 1))
+ starvation_limit * ((rq)->nr_running) + 1))
/*
* This function gets called by the timer code, with HZ frequency.
diff -urN linux-2.5.52/kernel/sysctl.c linux/kernel/sysctl.c
--- linux-2.5.52/kernel/sysctl.c 2002-12-15 21:07:44.000000000 -0500
+++ linux/kernel/sysctl.c 2002-12-15 22:51:09.000000000 -0500
@@ -55,6 +55,15 @@
extern int cad_pid;
extern int pid_max;
extern int sysctl_lower_zone_protection;
+extern int min_timeslice;
+extern int max_timeslice;
+extern int child_penalty;
+extern int parent_penalty;
+extern int exit_weight;
+extern int prio_bonus_ratio;
+extern int interactive_delta;
+extern int max_sleep_avg;
+extern int starvation_limit;
/* this is needed for the proc_dointvec_minmax for [fs_]overflow UID and GID */
static int maxolduid = 65535;
@@ -112,6 +121,7 @@
static ctl_table kern_table[];
static ctl_table vm_table[];
+static ctl_table sched_table[];
#ifdef CONFIG_NET
extern ctl_table net_table[];
#endif
@@ -156,6 +166,7 @@
{CTL_FS, "fs", NULL, 0, 0555, fs_table},
{CTL_DEBUG, "debug", NULL, 0, 0555, debug_table},
{CTL_DEV, "dev", NULL, 0, 0555, dev_table},
+ {CTL_SCHED, "sched", NULL, 0, 0555, sched_table},
{0}
};
@@ -358,7 +369,29 @@
static ctl_table dev_table[] = {
{0}
-};
+};
+
+static ctl_table sched_table[] = {
+ {SCHED_MAX_TIMESLICE, "max_timeslice",
+ &max_timeslice, sizeof(int), 0644, NULL, &proc_dointvec},
+ {SCHED_MIN_TIMESLICE, "min_timeslice",
+ &min_timeslice, sizeof(int), 0644, NULL, &proc_dointvec},
+ {SCHED_CHILD_PENALTY, "child_penalty",
+ &child_penalty, sizeof(int), 0644, NULL, &proc_dointvec},
+ {SCHED_PARENT_PENALTY, "parent_penalty",
+ &parent_penalty, sizeof(int), 0644, NULL, &proc_dointvec},
+ {SCHED_EXIT_WEIGHT, "exit_weight",
+ &exit_weight, sizeof(int), 0644, NULL, &proc_dointvec},
+ {SCHED_PRIO_BONUS_RATIO, "prio_bonus_ratio",
+ &prio_bonus_ratio, sizeof(int), 0644, NULL, &proc_dointvec},
+ {SCHED_INTERACTIVE_DELTA, "interactive_delta",
+ &interactive_delta, sizeof(int), 0644, NULL, &proc_dointvec},
+ {SCHED_MAX_SLEEP_AVG, "max_sleep_avg",
+ &max_sleep_avg, sizeof(int), 0644, NULL, &proc_dointvec},
+ {SCHED_STARVATION_LIMIT, "starvation_limit",
+ &starvation_limit, sizeof(int), 0644, NULL, &proc_dointvec},
+ {0}
+};
extern void init_irq_proc (void);
^ permalink raw reply
* Re: USB PCI
From: dashielljt @ 2002-12-17 2:04 UTC (permalink / raw)
To: Korosi Akos; +Cc: Newbie
In-Reply-To: <20021216094400.15813.qmail@web2.mailbox.hu>
Here's your problem. You must have a bios on that computer that has a
date on or after July 1, 1989. If you don't have or can't get such a bios
on that machine working happily it doesn't matter what you do with any usb
technology it's simply not going to work for you. Many unethical computer
vendors were installing usb equipment before July 1999 and if the owners
of that equipment didn't manage to get their bios upgraded they still
haven't got their usb equipment working to date.
Jude <dashielljt(at)gmpexpress-dot-net>
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
^ permalink raw reply
* [PATCH] md - 3 of 3 - Avoid races by never no releasing rdev->sb for faulty devices.
From: NeilBrown @ 2002-12-17 2:00 UTC (permalink / raw)
To: Marcelo Tosatti; +Cc: linux-raid
There are races relating to the superblocks being written out
just as a device has failed, and the rdev->sb getting freeing while
it is being written out. This patch tries to avoid one of the
races by testing the faulty bit in the superblock (which gets set
early) as well as rdev->faulty (which gets set late), and does not
free rdev->sb until the rdev is fully removed, thus making the races
less critical.
----------- Diffstat output ------------
./drivers/md/md.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff ./drivers/md/md.c~current~ ./drivers/md/md.c
--- ./drivers/md/md.c~current~ 2002-12-16 16:29:52.000000000 +1100
+++ ./drivers/md/md.c 2002-12-16 16:30:42.000000000 +1100
@@ -1048,7 +1048,11 @@ repeat:
printk("(skipping faulty ");
if (rdev->alias_device)
printk("(skipping alias ");
-
+ if (disk_faulty(&rdev->sb->this_disk)) {
+ printk("(skipping new-faulty %s )\n",
+ partition_name(rdev->dev));
+ continue;
+ }
printk("%s ", partition_name(rdev->dev));
if (!rdev->faulty && !rdev->alias_device) {
printk("[events: %08lx]",
@@ -1075,7 +1079,6 @@ repeat:
* - the device is nonexistent (zero size)
* - the device has no valid superblock
*
- * a faulty rdev _never_ has rdev->sb set.
*/
static int md_import_device(kdev_t newdev, int on_disk)
{
@@ -1147,8 +1150,6 @@ static int md_import_device(kdev_t newde
md_list_add(&rdev->all, &all_raid_disks);
MD_INIT_LIST_HEAD(&rdev->pending);
- if (rdev->faulty && rdev->sb)
- free_disk_sb(rdev);
return 0;
abort_free:
@@ -3062,7 +3063,6 @@ int md_error(mddev_t *mddev, kdev_t rdev
return 0;
if (!mddev->pers->error_handler
|| mddev->pers->error_handler(mddev,rdev) <= 0) {
- free_disk_sb(rrdev);
rrdev->faulty = 1;
} else
return 1;
^ permalink raw reply
* [PATCH] md - 1 of 3 - Remove some inappropriate MD_BUG calls when hot_removing
From: NeilBrown @ 2002-12-17 2:00 UTC (permalink / raw)
To: Marcelo Tosatti; +Cc: linux-raid
Marcelo,
This is the first of three patches for 2.4.21-pre that make smallish
improvements to md/raid.
Thanks, NeilBrown
If you try to hot-remove an active device, md will currently
print an MD_BUG message which is inappropriate and confusing.
This patch removes these.
----------- Diffstat output ------------
./drivers/md/md.c | 14 +++++---------
1 files changed, 5 insertions(+), 9 deletions(-)
diff ./drivers/md/md.c~current~ ./drivers/md/md.c
--- ./drivers/md/md.c~current~ 2002-12-16 16:28:35.000000000 +1100
+++ ./drivers/md/md.c 2002-12-16 16:28:35.000000000 +1100
@@ -2337,20 +2337,16 @@ static int hot_remove_disk(mddev_t * mdd
return -EINVAL;
}
disk = &mddev->sb->disks[rdev->desc_nr];
- if (disk_active(disk)) {
- MD_BUG();
+ if (disk_active(disk))
goto busy;
- }
- if (disk_removed(disk)) {
- MD_BUG();
+
+ if (disk_removed(disk))
return -EINVAL;
- }
err = mddev->pers->diskop(mddev, &disk, DISKOP_HOT_REMOVE_DISK);
- if (err == -EBUSY) {
- MD_BUG();
+ if (err == -EBUSY)
goto busy;
- }
+
if (err) {
MD_BUG();
return -EINVAL;
^ permalink raw reply
* [PATCH] md - 2 of 3 - Avoid buffer cache when doing IO of RAID superblock.
From: NeilBrown @ 2002-12-17 2:00 UTC (permalink / raw)
To: Marcelo Tosatti; +Cc: linux-raid
superblock IO sometimes happens when memory might be tight,
and can lead to a deadlock if raid1d or raid5d initiate it.
With this patch, superblock IO happens without any memory
allocation.
----------- Diffstat output ------------
./drivers/md/md.c | 82 ++++++++++++++++++++++++--------------------
./include/linux/raid/md_k.h | 1
2 files changed, 47 insertions(+), 36 deletions(-)
diff ./drivers/md/md.c~current~ ./drivers/md/md.c
--- ./drivers/md/md.c~current~ 2002-12-16 16:29:19.000000000 +1100
+++ ./drivers/md/md.c 2002-12-16 16:29:27.000000000 +1100
@@ -445,21 +445,22 @@ static int alloc_disk_sb(mdk_rdev_t * rd
if (rdev->sb)
MD_BUG();
- rdev->sb = (mdp_super_t *) __get_free_page(GFP_KERNEL);
- if (!rdev->sb) {
+ rdev->sb_page = alloc_page(GFP_KERNEL);
+ if (!rdev->sb_page) {
printk(OUT_OF_MEM);
return -EINVAL;
}
- md_clear_page(rdev->sb);
+ rdev->sb = (mdp_super_t *) page_address(rdev->sb_page);
return 0;
}
static void free_disk_sb(mdk_rdev_t * rdev)
{
- if (rdev->sb) {
- free_page((unsigned long) rdev->sb);
+ if (rdev->sb_page) {
+ page_cache_release(rdev->sb_page);
rdev->sb = NULL;
+ rdev->sb_page = NULL;
rdev->sb_offset = 0;
rdev->size = 0;
} else {
@@ -468,12 +469,43 @@ static void free_disk_sb(mdk_rdev_t * rd
}
}
+
+static void bh_complete(struct buffer_head *bh, int uptodate)
+{
+
+ if (uptodate)
+ set_bit(BH_Uptodate, &bh->b_state);
+
+ complete((struct completion*)bh->b_private);
+}
+
+static int sync_page_io(kdev_t dev, unsigned long sector, int size,
+ struct page *page, int rw)
+{
+ struct buffer_head bh;
+ struct completion event;
+
+ init_completion(&event);
+ init_buffer(&bh, bh_complete, &event);
+ bh.b_rdev = dev;
+ bh.b_rsector = sector;
+ bh.b_state = (1 << BH_Req) | (1 << BH_Mapped);
+ bh.b_size = size;
+ bh.b_page = page;
+ bh.b_reqnext = NULL;
+ bh.b_data = page_address(page);
+ generic_make_request(rw, &bh);
+
+ run_task_queue(&tq_disk);
+ wait_for_completion(&event);
+
+ return test_bit(BH_Uptodate, &bh.b_state);
+}
+
static int read_disk_sb(mdk_rdev_t * rdev)
{
int ret = -EINVAL;
- struct buffer_head *bh = NULL;
kdev_t dev = rdev->dev;
- mdp_super_t *sb;
unsigned long sb_offset;
if (!rdev->sb) {
@@ -487,22 +519,14 @@ static int read_disk_sb(mdk_rdev_t * rde
*/
sb_offset = calc_dev_sboffset(rdev->dev, rdev->mddev, 1);
rdev->sb_offset = sb_offset;
- fsync_dev(dev);
- set_blocksize (dev, MD_SB_BYTES);
- bh = bread (dev, sb_offset / MD_SB_BLOCKS, MD_SB_BYTES);
-
- if (bh) {
- sb = (mdp_super_t *) bh->b_data;
- memcpy (rdev->sb, sb, MD_SB_BYTES);
- } else {
- printk(NO_SB,partition_name(rdev->dev));
- goto abort;
+
+ if (!sync_page_io(dev, sb_offset<<1, MD_SB_BYTES, rdev->sb_page, READ)) {
+ printk(NO_SB,partition_name(dev));
+ return -EINVAL;
}
printk(KERN_INFO " [events: %08lx]\n", (unsigned long)rdev->sb->events_lo);
ret = 0;
abort:
- if (bh)
- brelse (bh);
return ret;
}
@@ -890,10 +914,8 @@ static mdk_rdev_t * find_rdev_all(kdev_t
static int write_disk_sb(mdk_rdev_t * rdev)
{
- struct buffer_head *bh;
kdev_t dev;
unsigned long sb_offset, size;
- mdp_super_t *sb;
if (!rdev->sb) {
MD_BUG();
@@ -928,23 +950,11 @@ static int write_disk_sb(mdk_rdev_t * rd
}
printk(KERN_INFO "(write) %s's sb offset: %ld\n", partition_name(dev), sb_offset);
- fsync_dev(dev);
- set_blocksize(dev, MD_SB_BYTES);
- bh = getblk(dev, sb_offset / MD_SB_BLOCKS, MD_SB_BYTES);
- if (!bh) {
- printk(GETBLK_FAILED, partition_name(dev));
+
+ if (!sync_page_io(dev, sb_offset<<1, MD_SB_BYTES, rdev->sb_page, WRITE)) {
+ printk("md: write_disk_sb failed for device %s\n", partition_name(dev));
return 1;
}
- memset(bh->b_data,0,bh->b_size);
- sb = (mdp_super_t *) bh->b_data;
- memcpy(sb, rdev->sb, MD_SB_BYTES);
-
- mark_buffer_uptodate(bh, 1);
- mark_buffer_dirty(bh);
- ll_rw_block(WRITE, 1, &bh);
- wait_on_buffer(bh);
- brelse(bh);
- fsync_dev(dev);
skip:
return 0;
}
diff ./include/linux/raid/md_k.h~current~ ./include/linux/raid/md_k.h
--- ./include/linux/raid/md_k.h~current~ 2002-12-16 16:29:27.000000000 +1100
+++ ./include/linux/raid/md_k.h 2002-12-16 16:29:27.000000000 +1100
@@ -171,6 +171,7 @@ struct mdk_rdev_s
struct block_device *bdev; /* block device handle */
mdp_super_t *sb;
+ struct page *sb_page;
unsigned long sb_offset;
int alias_device; /* device alias to the same disk */
^ permalink raw reply
* [PATCH] kNFSd - 3 of 7 - Use correct value for max size for readlink response.
From: NeilBrown @ 2002-12-17 1:59 UTC (permalink / raw)
To: Marcelo Tosatti; +Cc: nfs
----------- Diffstat output ------------
./fs/nfsd/nfs3proc.c | 2 +-
./fs/nfsd/nfsproc.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff ./fs/nfsd/nfs3proc.c~current~ ./fs/nfsd/nfs3proc.c
--- ./fs/nfsd/nfs3proc.c~current~ 2002-12-16 16:29:23.000000000 +1100
+++ ./fs/nfsd/nfs3proc.c 2002-12-16 16:29:23.000000000 +1100
@@ -672,7 +672,7 @@ struct svc_procedure nfsd_procedures3[2
PROC(setattr, sattr, wccstat, fhandle, RC_REPLBUFF, ST+WC),
PROC(lookup, dirop, dirop, fhandle2, RC_NOCACHE, ST+FH+pAT+pAT),
PROC(access, access, access, fhandle, RC_NOCACHE, ST+pAT+1),
- PROC(readlink, fhandle, readlink, fhandle, RC_NOCACHE, ST+pAT+1+256),
+ PROC(readlink, fhandle, readlink, fhandle, RC_NOCACHE, ST+pAT+1+NFS3_MAXPATHLEN/4),
PROC(read, read, read, fhandle, RC_NOCACHE, ST+pAT+4+NFSSVC_MAXBLKSIZE),
PROC(write, write, write, fhandle, RC_REPLBUFF, ST+WC+4),
PROC(create, create, create, fhandle2, RC_REPLBUFF, ST+(1+FH+pAT)+WC),
diff ./fs/nfsd/nfsproc.c~current~ ./fs/nfsd/nfsproc.c
--- ./fs/nfsd/nfsproc.c~current~ 2002-12-16 16:29:23.000000000 +1100
+++ ./fs/nfsd/nfsproc.c 2002-12-16 16:29:23.000000000 +1100
@@ -545,7 +545,7 @@ struct svc_procedure nfsd_procedures2[1
PROC(setattr, sattrargs, attrstat, fhandle, RC_REPLBUFF, ST+AT),
PROC(none, void, void, none, RC_NOCACHE, ST),
PROC(lookup, diropargs, diropres, fhandle, RC_NOCACHE, ST+FH+AT),
- PROC(readlink, fhandle, readlinkres, none, RC_NOCACHE, ST+1+256),
+ PROC(readlink, fhandle, readlinkres, none, RC_NOCACHE, ST+1+NFS_MAXPATHLEN/4),
PROC(read, readargs, readres, fhandle, RC_NOCACHE, ST+AT+1+NFSSVC_MAXBLKSIZE),
PROC(none, void, void, none, RC_NOCACHE, ST),
PROC(write, writeargs, attrstat, fhandle, RC_REPLBUFF, ST+AT),
-------------------------------------------------------
This sf.net email is sponsored by:
With Great Power, Comes Great Responsibility
Learn to use your power at OSDN's High Performance Computing Channel
http://hpc.devchannel.org/
_______________________________________________
NFS maillist - NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs
^ permalink raw reply
* [PATCH] kNFSd - 7 of 7 - Ease increasing the max block size for NFS replies.
From: NeilBrown @ 2002-12-17 1:59 UTC (permalink / raw)
To: Marcelo Tosatti; +Cc: nfs
This requires making NFSv2 return the right number in statfs
requests. NFSv3 already does.
The size should really be boot/module option.
----------- Diffstat output ------------
./fs/nfsd/nfsxdr.c | 2 +-
./include/linux/nfsd/const.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff ./fs/nfsd/nfsxdr.c~current~ ./fs/nfsd/nfsxdr.c
--- ./fs/nfsd/nfsxdr.c~current~ 2002-12-17 09:50:41.000000000 +1100
+++ ./fs/nfsd/nfsxdr.c 2002-12-17 09:50:41.000000000 +1100
@@ -385,7 +385,7 @@ nfssvc_encode_statfsres(struct svc_rqst
{
struct statfs *stat = &resp->stats;
- *p++ = htonl(8 * 1024); /* max transfer size */
+ *p++ = htonl(NFSSVC_MAXBLKSIZE); /* max transfer size */
*p++ = htonl(stat->f_bsize);
*p++ = htonl(stat->f_blocks);
*p++ = htonl(stat->f_bfree);
diff ./include/linux/nfsd/const.h~current~ ./include/linux/nfsd/const.h
--- ./include/linux/nfsd/const.h~current~ 2002-12-17 09:50:41.000000000 +1100
+++ ./include/linux/nfsd/const.h 2002-12-17 09:50:41.000000000 +1100
@@ -21,7 +21,7 @@
/*
* Maximum blocksize supported by daemon currently at 8K
*/
-#define NFSSVC_MAXBLKSIZE 8192
+#define NFSSVC_MAXBLKSIZE (8*1024)
#ifdef __KERNEL__
-------------------------------------------------------
This sf.net email is sponsored by:
With Great Power, Comes Great Responsibility
Learn to use your power at OSDN's High Performance Computing Channel
http://hpc.devchannel.org/
_______________________________________________
NFS maillist - NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs
^ permalink raw reply
* [PATCH] kNFSd - 6 of 7 - Correct some error codes reutrned in nfsfh.c
From: NeilBrown @ 2002-12-17 1:59 UTC (permalink / raw)
To: Marcelo Tosatti; +Cc: nfs
These error spotted by "Kendrick M. Smith" <kmsmith@umich.edu>
They aren't very significant as a well-behaved client is
unlikely to make a request that would result in these errors.
----------- Diffstat output ------------
./fs/nfsd/nfsfh.c | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
diff ./fs/nfsd/nfsfh.c~current~ ./fs/nfsd/nfsfh.c
--- ./fs/nfsd/nfsfh.c~current~ 2002-12-16 16:30:07.000000000 +1100
+++ ./fs/nfsd/nfsfh.c 2002-12-17 09:50:09.000000000 +1100
@@ -678,11 +678,16 @@ fh_verify(struct svc_rqst *rqstp, struct
/* Type can be negative to e.g. exclude directories from linking */
if (type > 0 && (inode->i_mode & S_IFMT) != type) {
- error = (type == S_IFDIR)? nfserr_notdir : nfserr_isdir;
+ if (type == S_IFDIR)
+ error = nfserr_notdir;
+ else if ((inode->i_mode & S_IFMT) == S_IFDIR)
+ error = nfserr_isdir;
+ else
+ error = nfserr_inval;
goto out;
}
if (type < 0 && (inode->i_mode & S_IFMT) == -type) {
- error = (type == -S_IFDIR)? nfserr_notdir : nfserr_isdir;
+ error = (type == -S_IFDIR)? nfserr_isdir : nfserr_notdir;
goto out;
}
-------------------------------------------------------
This sf.net email is sponsored by:
With Great Power, Comes Great Responsibility
Learn to use your power at OSDN's High Performance Computing Channel
http://hpc.devchannel.org/
_______________________________________________
NFS maillist - NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs
^ permalink raw reply
* [PATCH] kNFSd - 1 of 7 - Release rpc response when dropping request.
From: NeilBrown @ 2002-12-17 1:59 UTC (permalink / raw)
To: Marcelo Tosatti; +Cc: nfs
Marcelo,
This is the first of 7 smallish nfsd related patches for 2.4.21-pre.
Thanks, NeilBrown
If a kmalloc failure causes us to have to drop an nfs request,
the ->pc_release function currently isn't called, so
dentries can leak. This fixes it.
----------- Diffstat output ------------
./net/sunrpc/svc.c | 6 +++++-
1 files changed, 5 insertions(+), 1 deletion(-)
diff ./net/sunrpc/svc.c~current~ ./net/sunrpc/svc.c
--- ./net/sunrpc/svc.c~current~ 2002-12-16 16:28:08.000000000 +1100
+++ ./net/sunrpc/svc.c 2002-12-16 16:28:09.000000000 +1100
@@ -333,8 +333,12 @@ svc_process(struct svc_serv *serv, struc
}
} else {
dprintk("svc: calling dispatcher\n");
- if (!versp->vs_dispatch(rqstp, statp))
+ if (!versp->vs_dispatch(rqstp, statp)) {
+ /* Release reply info */
+ if (procp->pc_release)
+ procp->pc_release(rqstp, NULL, rqstp->rq_resp);
goto dropit;
+ }
}
/* Check RPC status result */
-------------------------------------------------------
This sf.net email is sponsored by:
With Great Power, Comes Great Responsibility
Learn to use your power at OSDN's High Performance Computing Channel
http://hpc.devchannel.org/
_______________________________________________
NFS maillist - NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs
^ permalink raw reply
* [PATCH] kNFSd - 5 of 7 - Fix problem with lockd grace period checking.
From: NeilBrown @ 2002-12-17 1:59 UTC (permalink / raw)
To: Marcelo Tosatti; +Cc: nfs
We need to do the clear/grace period here and not before
svc_recv() because svc_recv() may sleep longer than the
grace period and the first request may be falsely processed
as if the server was in the grace period when it was not
causing unnecessary delays for the first request received.
* Juan C. Gomez j_carlos_gome@yahoo.com
Also opencode trivial clear_grace_period function.
----------- Diffstat output ------------
./fs/lockd/svc.c | 12 ++++--------
1 files changed, 4 insertions(+), 8 deletions(-)
diff ./fs/lockd/svc.c~current~ ./fs/lockd/svc.c
--- ./fs/lockd/svc.c~current~ 2002-12-16 16:29:58.000000000 +1100
+++ ./fs/lockd/svc.c 2002-12-16 16:29:59.000000000 +1100
@@ -72,11 +72,6 @@ static unsigned long set_grace_period(vo
return grace_period + jiffies;
}
-static inline void clear_grace_period(void)
-{
- nlmsvc_grace_period = 0;
-}
-
/*
* This is the lockd kernel thread
*/
@@ -142,10 +137,8 @@ lockd(struct svc_rqst *rqstp)
* (Theoretically, there shouldn't even be blocked locks
* during grace period).
*/
- if (!nlmsvc_grace_period) {
+ if (!nlmsvc_grace_period)
timeout = nlmsvc_retry_blocked();
- } else if (time_before(grace_period_expire, jiffies))
- clear_grace_period();
/*
* Find a socket with data available and call its
@@ -175,6 +168,9 @@ lockd(struct svc_rqst *rqstp)
nlmsvc_ops->exp_getclient(&rqstp->rq_addr);
}
+ if (nlmsvc_grace_period &&
+ time_before(grace_period_expire, jiffies))
+ nlmsvc_grace_period = 0;
svc_process(serv, rqstp);
/* Unlock export hash tables */
-------------------------------------------------------
This sf.net email is sponsored by:
With Great Power, Comes Great Responsibility
Learn to use your power at OSDN's High Performance Computing Channel
http://hpc.devchannel.org/
_______________________________________________
NFS maillist - NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs
^ permalink raw reply
* [PATCH] kNFSd - 2 of 7 - Revlaidate inodes after filehandle and name lookup in nfsd
From: NeilBrown @ 2002-12-17 1:59 UTC (permalink / raw)
To: Marcelo Tosatti; +Cc: nfs
The patch was written by Marc Eshel and Frank Schmuck.
It was received from "Brian Dixon" <dixonbp@us.ibm.com>
though I changed it slightly.
----------- Diffstat output ------------
./fs/nfsd/nfsfh.c | 7 +++++++
./fs/nfsd/vfs.c | 12 +++++++-----
2 files changed, 14 insertions(+), 5 deletions(-)
diff ./fs/nfsd/nfsfh.c~current~ ./fs/nfsd/nfsfh.c
--- ./fs/nfsd/nfsfh.c~current~ 2002-12-16 16:28:47.000000000 +1100
+++ ./fs/nfsd/nfsfh.c 2002-12-16 16:28:47.000000000 +1100
@@ -620,6 +620,13 @@ fh_verify(struct svc_rqst *rqstp, struct
switch (fh->fh_fileid_type) {
case 0:
dentry = dget(exp->ex_dentry);
+ /* need to revalidate the inode */
+ inode = dentry->d_inode;
+ if (inode->i_op && inode->i_op->revalidate)
+ if (inode->i_op->revalidate(dentry)) {
+ dput(dentry);
+ dentry = ERR_PTR(-ESTALE);
+ }
break;
default:
dentry = find_fh_dentry(exp->ex_dentry->d_inode->i_sb,
diff ./fs/nfsd/vfs.c~current~ ./fs/nfsd/vfs.c
--- ./fs/nfsd/vfs.c~current~ 2002-12-16 16:28:47.000000000 +1100
+++ ./fs/nfsd/vfs.c 2002-12-16 16:28:47.000000000 +1100
@@ -168,11 +168,13 @@ nfsd_lookup(struct svc_rqst *rqstp, stru
mntput(mnt);
}
}
- /*
- * Note: we compose the file handle now, but as the
- * dentry may be negative, it may need to be updated.
- */
- err = fh_compose(resfh, exp, dentry, fhp);
+
+ if (dentry->d_inode && dentry->d_inode->i_op &&
+ dentry->d_inode->i_op->revalidate &&
+ dentry->d_inode->i_op->revalidate(dentry))
+ err = nfserr_noent;
+ else
+ err = fh_compose(resfh, exp, dentry, fhp);
if (!err && !dentry->d_inode)
err = nfserr_noent;
out:
-------------------------------------------------------
This sf.net email is sponsored by:
With Great Power, Comes Great Responsibility
Learn to use your power at OSDN's High Performance Computing Channel
http://hpc.devchannel.org/
_______________________________________________
NFS maillist - NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs
^ permalink raw reply
page: next (older) | prev (newer) | latest
- recent:[subjects (threaded)|topics (new)|topics (active)]
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.