[OpenAFS] 1.3.77 Brokenness

Jack Neely jjneely@pams.ncsu.edu
Wed, 12 Jan 2005 16:24:23 -0500


--5G06lTa6Jq83wMTw
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Derrick,

No joy...no printk()s either...attached is dmesg where afs was "started"
on boot, and afterwards I tryied to start it again.

Jack

On Tue, Jan 11, 2005 at 05:15:09PM -0500, Derrick J Brashear wrote:
> No clue if it will help, but it's worth a try. if you get an oops, check 
> your messages file, you should have 2 kernel printfs (blkno, and 
> maxMemBlocks or somesuch)

> ? diff
> ? ppc_darwin_70
> ? src/libafs/afs.ppc_darwin_70.plist
> Index: src/afs/afs.h
> ===================================================================
> RCS file: /cvs/openafs/src/afs/afs.h,v
> retrieving revision 1.52
> diff -u -r1.52 afs.h
> --- src/afs/afs.h	13 Oct 2004 14:46:29 -0000	1.52
> +++ src/afs/afs.h	18 Oct 2004 10:24:47 -0000
> @@ -943,6 +943,7 @@
>      char mflags;		/* Meta flags */
>      struct fcache f;		/* disk image */
>      afs_int32 stamp;		/* used with vtodc struct for hints */
> +    afs_int32 bucket;           /* which bucket these dcache entries are in */
>  
>      /*
>       * Locking rules:
> Index: src/afs/afs_dcache.c
> ===================================================================
> RCS file: /cvs/openafs/src/afs/afs_dcache.c,v
> retrieving revision 1.44
> diff -u -r1.44 afs_dcache.c
> --- src/afs/afs_dcache.c	13 Oct 2004 00:51:00 -0000	1.44
> +++ src/afs/afs_dcache.c	18 Oct 2004 10:24:52 -0000
> @@ -23,14 +23,24 @@
>  #include "afs/afs_osidnlc.h"
>  
>  /* Forward declarations. */
> -static void afs_GetDownD(int anumber, int *aneedSpace);
> +static void afs_GetDownD(int anumber, int *aneedSpace, afs_int32 buckethint);
>  static void afs_FreeDiscardedDCache(void);
>  static void afs_DiscardDCache(struct dcache *);
>  static void afs_FreeDCache(struct dcache *);
> +/* For split cache */
> +static afs_int32 afs_DCGetBucket(struct vcache *);
> +static void afs_DCAdjustSize(struct dcache *, afs_int32, afs_int32);
> +static void afs_DCSizeInit(void);
> +static afs_int32 afs_DCWhichBucket(afs_int32, afs_int32);
>  
>  /*
>   * --------------------- Exported definitions ---------------------
>   */
> +/* For split cache */
> +afs_int32 afs_blocksUsed_0;	/*1K blocks in cache - in theory is zero */
> +afs_int32 afs_blocksUsed_1;	/*1K blocks in cache */
> +afs_int32 afs_blocksUsed_2;	/*1K blocks in cache */
> +
>  afs_lock_t afs_xdcache;		/*Lock: alloc new disk cache entries */
>  afs_int32 afs_freeDCList;	/*Free list for disk cache entries */
>  afs_int32 afs_freeDCCount;	/*Count of elts in freeDCList */
> @@ -120,6 +130,80 @@
>  struct afs_cacheOps *afs_cacheType;
>  
>  
> +static afs_int32
> +afs_DCGetBucket(struct vcache *avc) 
> +{
> +    if (!avc->states & CStatd) 
> +	printf("getbucket fid %d %d %d state %x\n", avc->fid.Fid.Volume, 
> +	       avc->fid.Fid.Vnode, avc->fid.Fid.Unique, avc->states);
> +
> +    /* This should be replaced with some sort of user configurable function */
> +    if (avc->states & CRO) {
> +	return 2;
> +    } else if (avc->states & CBackup) {
> +	return 1;
> +    } else {
> +	/* RW */
> +    }
> +
> +    /* main bucket */
> +    return 1;
> +}
> +
> +static void 
> +afs_DCAdjustSize(struct dcache *adc, afs_int32 oldSize, afs_int32 newSize)
> +{
> +    switch (adc->bucket) 
> +    {
> +    case 0:
> +	afs_blocksUsed_0 += (newSize - oldSize);
> +	break;
> +    case 1:
> +	afs_blocksUsed_1 += (newSize - oldSize);
> +	break;
> +    case 2:
> +	afs_blocksUsed_2 += (newSize - oldSize);
> +	break;
> +    }
> +    
> +    return;
> +}
> +
> +static void 
> +afs_DCSizeInit(void) 
> +{
> +    afs_blocksUsed_0 = afs_blocksUsed_1 = afs_blocksUsed_2 = 0;
> +}
> +
> +static afs_int32
> +afs_DCWhichBucket(afs_int32 phase, afs_int32 bucket) 
> +{
> +    /* Short cut: if we don't know about it, try to kill it */
> +    if (afs_blocksUsed_0) 
> +	return 0;
> +    
> +    if (bucket == 1) {
> +	/* RW/BK */
> +
> +	/* 25% RW/BK */
> +	if (((afs_blocksUsed_1/afs_cacheBlocks)*100) > 25) 
> +	    return 1;
> +	/* 75% RO */
> +	if (((afs_blocksUsed_2/afs_cacheBlocks)*100) > 75) 
> +	    return 2;
> +    } else if (bucket == 2) {
> +	/* RO */
> +
> +	/* 25% RW/BK */
> +	if (((afs_blocksUsed_1/afs_cacheBlocks)*100) > 25) 
> +	    return 1;
> +	/* 75% RO */
> +	if (((afs_blocksUsed_2/afs_cacheBlocks)*100) > 75) 
> +	    return 2;
> +    }
> +
> +    return 0;
> +}
>  
>  
>  /*
> @@ -245,7 +329,7 @@
>  		    afs_blocksUsed - afs_blocksDiscarded - cb_lowat;
>  		slots_needed =
>  		    dc_hiwat - afs_freeDCCount - afs_discardDCCount;
> -		afs_GetDownD(slots_needed, &space_needed);
> +		afs_GetDownD(slots_needed, &space_needed, 0);
>  		if ((space_needed <= 0) && (slots_needed <= 0)) {
>  		    break;
>  		}
> @@ -340,6 +424,7 @@
>      if (!newSize)
>  	adc->validPos = 0;
>      newSize = ((newSize + afs_fsfragsize) ^ afs_fsfragsize) >> 10;	/* round up */
> +    afs_DCAdjustSize(adc, oldSize, newSize);
>      if (newSize > oldSize) {
>  	/* We're growing the file, wakeup the daemon */
>  	afs_MaybeWakeupTruncateDaemon();
> @@ -376,7 +461,7 @@
>  
>  #define	MAXATONCE   16		/* max we can obtain at once */
>  static void
> -afs_GetDownD(int anumber, int *aneedSpace)
> +afs_GetDownD(int anumber, int *aneedSpace, afs_int32 buckethint)
>  {
>  
>      struct dcache *tdc;
> @@ -408,10 +493,13 @@
>      if (anumber > MAXATONCE)
>  	anumber = MAXATONCE;	/* all we can do */
>  
> +    /* rewrite so phases include a better eligiblity for gc test*/
>      /*
>       * The phase variable manages reclaims.  Set to 0, the first pass,
> -     * we don't reclaim active entries.  Set to 1, we reclaim even active
> -     * ones.
> +     * we don't reclaim active entries, or other than target bucket.  
> +     * Set to 1, we reclaim even active ones in target bucket.
> +     * Set to 2, we reclaim any inactive one.
> +     * Set to 3, we reclaim even active ones.
>       */
>      phase = 0;
>      for (i = 0; i < afs_cacheFiles; i++)
> @@ -433,6 +521,12 @@
>  		/* Referenced; can't use it! */
>  		continue;
>  	    }
> +	    if (phase < 2 && (tdc->bucket != 
> +			       afs_DCWhichBucket(phase, buckethint))) 
> +	    {
> +		/* Wrong bucket; can't use it! */
> +		continue;
> +	    }
>  	    hset(vtime, afs_indexTimes[i]);
>  
>  	    /* if we've already looked at this one, skip it */
> @@ -510,9 +604,9 @@
>  		if (tvc) {
>  		    tchunkoffset = AFS_CHUNKTOBASE(tdc->f.chunk);
>  		    chunkFlags = afs_indexFlags[tdc->index];
> -		    if (phase == 0 && osi_Active(tvc))
> +		    if ((((phase / 2) & 1) == 0) && osi_Active(tvc))
>  			skip = 1;
> -		    if (phase > 0 && osi_Active(tvc)
> +		    if ((((phase / 2) & 1) == 1) && osi_Active(tvc)
>  			&& (tvc->states & CDCLock)
>  			&& (chunkFlags & IFAnyPages))
>  			skip = 1;
> @@ -649,17 +743,15 @@
>  	    afs_PutDCache(tdc);
>  	}
>  
> -	if (phase == 0) {
> -	    /* Phase is 0 and no one was found, so try phase 1 (ignore
> -	     * osi_Active flag) */
> +	if (phase < 2) {
>  	    if (j == 0) {
> -		phase = 1;
> +		phase++;
>  		for (i = 0; i < afs_cacheFiles; i++)
>  		    /* turn off all flags */
>  		    afs_indexFlags[i] &= ~IFFlag;
>  	    }
>  	} else {
> -	    /* found no one in phase 1, we're hosed */
> +	    /* found no one in phases 0-3, we're hosed */
>  	    if (victimPtr == 0)
>  		break;
>  	}
> @@ -814,6 +906,7 @@
>      afs_freeDCCount++;
>      afs_indexFlags[adc->index] |= IFFree;
>      adc->dflags |= DFEntryMod;
> +    adc->bucket = 0;
>  
>      if (afs_WaitForCacheDrain) {
>  	if ((afs_blocksUsed - afs_blocksDiscarded) <=
> @@ -862,6 +955,7 @@
>      afs_discardDCCount++;
>  
>      adc->f.fid.Fid.Volume = 0;
> +    adc->bucket = 0;
>      adc->dflags |= DFEntryMod;
>      afs_indexFlags[adc->index] |= IFDiscarded;
>  
> @@ -1637,7 +1731,7 @@
>  	}
>  
>  	if (!shortcut)
> -	    tdc = 0;
> +	    tdc = NULL;
>      }
>  
>      /* Locks held:
> @@ -1686,7 +1780,7 @@
>  		    break;	/* leaving refCount high for caller */
>  		}
>  		afs_PutDCache(tdc);
> -		tdc = 0;
> +		tdc = NULL;
>  	    }
>  	    us = index;
>  	    index = afs_dcnextTbl[index];
> @@ -1710,7 +1804,8 @@
>  		while (1) {
>  		    if (!setLocks)
>  			avc->states |= CDCLock;
> -		    afs_GetDownD(5, (int *)0);	/* just need slots */
> +		    /* just need slots */
> +		    afs_GetDownD(5, (int *)0, afs_DCGetBucket(avc));
>  		    if (!setLocks)
>  			avc->states &= ~CDCLock;
>  		    if (afs_discardDCList != NULLIDX
> @@ -1775,6 +1870,7 @@
>  	     */
>  	    afs_indexFlags[tdc->index] &= ~(IFDirtyPages | IFAnyPages);
>  	    tdc->f.fid = avc->fid;
> +	    tdc->bucket = afs_DCGetBucket(avc);
>  	    afs_indexUnique[tdc->index] = tdc->f.fid.Fid.Unique;
>  	    hones(tdc->f.versionNo);	/* invalid value */
>  	    tdc->f.chunk = chunk;
> @@ -2364,9 +2460,10 @@
>  			afs_CFileClose(file);
>  			osi_FreeLargeSpace(tsmall);
>  			tsmall = 0;
> +			tdc->bucket = 0;
>  			ReleaseWriteLock(&tdc->lock);
>  			afs_PutDCache(tdc);
> -			tdc = 0;
> +			tdc = NULL;
>  			ReleaseReadLock(&avc->lock);
>  			slowPass = 1;
>  			goto RetryGetDCache;
> @@ -2417,6 +2514,7 @@
>  	    if (vType(avc) == VDIR) {
>  		DZap(&tdc->f);
>  	    }
> +	    tdc->bucket = 0;
>  	    ReleaseWriteLock(&tdc->lock);
>  	    afs_PutDCache(tdc);
>  	    ObtainWriteLock(&afs_xcbhash, 454);
> @@ -2726,6 +2824,7 @@
>      tdc->dflags |= DFEntryMod;
>      tdc->refCount = 1;
>      tdc->index = aslot;
> +    tdc->bucket = 0;
>      afs_indexUnique[aslot] = tdc->f.fid.Fid.Unique;
>  
>      if (existing) {
> @@ -2840,6 +2939,17 @@
>  #endif
>  	lasterrtime = osi_Time();
>  	afs_indexUnique[aslot] = tdc->f.fid.Fid.Unique;
> +	tdc->bucket = 0;
> +    } else {
> +	/* XXXX this should be functionalized better. GetVCache on fid? */
> +	struct volume *tv = afs_FindVolume(&tdc->f.fid, READ_LOCK);
> +	if (tv->states & VRO) {
> +	    tdc->bucket = 2;
> +	} else if (tv->states & VBackup) {
> +	    tdc->bucket = 1;
> +	} else {
> +	    tdc->bucket = 1;
> +	}
>      }
>      tdc->refCount = 1;
>      tdc->index = aslot;
> @@ -3235,6 +3345,7 @@
>  
>      afs_dcentries = aDentries;
>      afs_blocksUsed = 0;
> +    afs_DCSizeInit();
>      QInit(&afs_DLRU);
>  }
>  
> Index: src/afs/afs_vcache.c
> ===================================================================
> RCS file: /cvs/openafs/src/afs/afs_vcache.c,v
> retrieving revision 1.69
> diff -u -r1.69 afs_vcache.c
> --- src/afs/afs_vcache.c	13 Oct 2004 00:36:59 -0000	1.69
> +++ src/afs/afs_vcache.c	18 Oct 2004 10:24:55 -0000
> @@ -1096,7 +1096,7 @@
>      tvc->vmh = tvc->segid = NULL;
>      tvc->credp = NULL;
>  #endif
> -#if defined(AFS_SUN_ENV) || defined(AFS_ALPHA_ENV) || defined(AFS_SUN5_ENV)
> +#if defined(AFS_DARWIN_ENV) || defined(AFS_ALPHA_ENV) || defined(AFS_SUN5_ENV)
>  #if	defined(AFS_SUN5_ENV)
>      rw_init(&tvc->rwlock, "vcache rwlock", RW_DEFAULT, NULL);
>  
> Index: src/lwp/lwp.h
> ===================================================================
> RCS file: /cvs/openafs/src/lwp/lwp.h,v
> retrieving revision 1.14
> diff -u -r1.14 lwp.h
> --- src/lwp/lwp.h	15 Jul 2003 23:15:45 -0000	1.14
> +++ src/lwp/lwp.h	18 Oct 2004 10:25:00 -0000
> @@ -299,7 +299,7 @@
>  #if defined(USE_UCONTEXT) && defined(HAVE_UCONTEXT_H)
>  #define AFS_LWP_MINSTACKSIZE  (288 * 1024)
>  #else
> -#if defined(AFS_LINUX22_ENV)
> +#if defined(AFS_LINUX22_ENV) || defined(AFS_SUN5_ENV)
>  #define AFS_LWP_MINSTACKSIZE	(192 * 1024)
>  #else
>  #define AFS_LWP_MINSTACKSIZE	(48 * 1024)
> Index: src/rx/rx.c
> ===================================================================
> RCS file: /cvs/openafs/src/rx/rx.c,v
> retrieving revision 1.65
> diff -u -r1.65 rx.c
> --- src/rx/rx.c	15 Oct 2004 06:01:35 -0000	1.65
> +++ src/rx/rx.c	18 Oct 2004 10:25:10 -0000
> @@ -5742,7 +5742,7 @@
>  		    rx_interface_stat_p rpc_stat, nrpc_stat;
>  		    size_t space;
>  		    MUTEX_EXIT(&peer->peer_lock);
> -		    MUTEX_DESTROY(&peer->peer_lock);
> +		    /*MUTEX_DESTROY(&peer->peer_lock);*/
>  		    for (queue_Scan
>  			 (&peer->rpcStats, rpc_stat, nrpc_stat,
>  			  rx_interface_stat)) {


-- 
Jack Neely <slack@quackmaster.net>
Realm Linux Administration and Development
PAMS Computer Operations at NC State University
GPG Fingerprint: 1917 5AC1 E828 9337 7AA4  EA6B 213B 765F 3B6A 5B89

--5G06lTa6Jq83wMTw
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=out2

g ACPI for IRQ routing
ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 11
ACPI: PCI interrupt 0000:00:07.0[A] -> GSI 11 (level, low) -> IRQ 11
ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 5
ACPI: PCI interrupt 0000:00:08.0[A] -> GSI 5 (level, low) -> IRQ 5
ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 10
ACPI: PCI interrupt 0000:00:0a.0[A] -> GSI 10 (level, low) -> IRQ 10
ACPI: PCI interrupt 0000:00:0b.0[A] -> GSI 11 (level, low) -> IRQ 11
ACPI: PCI interrupt 0000:00:0f.0[B] -> GSI 10 (level, low) -> IRQ 10
ACPI: PCI interrupt 0000:00:0f.1[A] -> GSI 11 (level, low) -> IRQ 11
ACPI: PCI interrupt 0000:00:10.0[A] -> GSI 11 (level, low) -> IRQ 11
ACPI: PCI interrupt 0000:00:10.1[A] -> GSI 11 (level, low) -> IRQ 11
ACPI: PCI interrupt 0000:00:10.2[B] -> GSI 10 (level, low) -> IRQ 10
ACPI: PCI interrupt 0000:00:10.3[B] -> GSI 10 (level, low) -> IRQ 10
ACPI: PCI interrupt 0000:00:10.4[C] -> GSI 5 (level, low) -> IRQ 5
ACPI: PCI interrupt 0000:00:11.5[C] -> GSI 5 (level, low) -> IRQ 5
ACPI: PCI interrupt 0000:01:00.0[A] -> GSI 11 (level, low) -> IRQ 11
apm: BIOS version 1.2 Flags 0x03 (Driver version 1.16ac)
apm: overridden by ACPI.
audit: initializing netlink socket (disabled)
audit(1105546100.521:0): initialized
highmem bounce pool size: 64 pages
Total HugeTLB memory allocated, 0
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
SELinux:  Registering netfilter hooks
Initializing Cryptographic API
ksign: Installing public key data
Loading keyring
- Added public key E07BC3E85BE30CFD
- User ID: Red Hat, Inc. (Kernel Module GPG key)
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
vesafb: probe of vesafb0 failed with error -6
ACPI: Processor [CPU1] (supports C1)
Real Time Clock Driver v1.12
Linux agpgart interface v0.100 (c) Dave Jones
agpgart: Detected AGP bridge 0
agpgart: Maximum main memory to use for agp memory: 941M
agpgart: AGP aperture is 64M @ 0xf8000000
serio: i8042 AUX port at 0x60,0x64 irq 12
serio: i8042 KBD port at 0x60,0x64 irq 1
Serial: 8250/16550 driver $Revision: 1.90 $ 8 ports, IRQ sharing enabled
ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
RAMDISK driver initialized: 16 RAM disks of 16384K size 1024 blocksize
divert: not allocating divert_blk for non-ethernet device lo
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
VP_IDE: IDE controller at PCI slot 0000:00:0f.1
ACPI: PCI interrupt 0000:00:0f.1[A] -> GSI 11 (level, low) -> IRQ 11
VP_IDE: chipset revision 6
VP_IDE: not 100% native mode: will probe irqs later
VP_IDE: VIA vt8237 (rev 00) IDE UDMA133 controller on pci0000:00:0f.1
    ide0: BM-DMA at 0xfc00-0xfc07, BIOS settings: hda:DMA, hdb:pio
    ide1: BM-DMA at 0xfc08-0xfc0f, BIOS settings: hdc:DMA, hdd:pio
Probing IDE interface ide0...
hda: WDC WD1200JB-00FUA0, ATA DISK drive
Using cfq io scheduler
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Probing IDE interface ide1...
hdc: SONY CD-RW CRX320E, ATAPI CD/DVD-ROM drive
ide1 at 0x170-0x177,0x376 on irq 15
Probing IDE interface ide2...
ide2: Wait for ready failed before probe !
Probing IDE interface ide3...
ide3: Wait for ready failed before probe !
Probing IDE interface ide4...
ide4: Wait for ready failed before probe !
Probing IDE interface ide5...
ide5: Wait for ready failed before probe !
hda: max request size: 1024KiB
hda: 234441648 sectors (120034 MB) w/8192KiB Cache, CHS=16383/255/63, UDMA(100)
hda: cache flushes supported
 hda: hda1 hda2 hda3 hda4 < hda5 hda6 hda7 >
hdc: ATAPI 52X DVD-ROM CD-R/RW drive, 2048kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.20
ide-floppy driver 0.99.newide
usbcore: registered new driver hiddev
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.0:USB HID core driver
mice: PS/2 mouse device common for all mice
input: AT Translated Set 2 keyboard on isa0060/serio0
input: ImPS/2 Generic Wheel Mouse on isa0060/serio1
md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
NET: Registered protocol family 2
IP: routing cache hash table of 2048 buckets, 64Kbytes
TCP: Hash tables configured (established 262144 bind 37449)
Initializing IPsec netlink socket
NET: Registered protocol family 1
NET: Registered protocol family 17
ACPI: (supports S0 S1 S3 S4 S5)
ACPI wakeup devices: 
PCI0 PS2K PS2M UAR2 UAR1 AC97 USB1 USB2 USB3 USB4 EHCI PWRB SLPB 
Freeing unused kernel memory: 140k freed
SCSI subsystem initialized
libata version 1.02 loaded.
sata_via version 0.20
ACPI: PCI interrupt 0000:00:0f.0[B] -> GSI 10 (level, low) -> IRQ 10
sata_via(0000:00:0f.0): routed to hard irq line 10
ata1: SATA max UDMA/133 cmd 0xE800 ctl 0xE402 bmdma 0xD400 irq 10
ata2: SATA max UDMA/133 cmd 0xE000 ctl 0xD802 bmdma 0xD408 irq 10
ata1: no device found (phy stat 00000000)
scsi0 : sata_via
ata2: no device found (phy stat 00000000)
scsi1 : sata_via
sata_promise version 1.00
ACPI: PCI interrupt 0000:00:08.0[A] -> GSI 5 (level, low) -> IRQ 5
ata3: SATA max UDMA/133 cmd 0xF8836200 ctl 0xF8836238 bmdma 0x0 irq 5
ata4: SATA max UDMA/133 cmd 0xF8836280 ctl 0xF88362B8 bmdma 0x0 irq 5
ata3: no device found (phy stat 00000000)
scsi2 : sata_promise
ata4: no device found (phy stat 00000000)
scsi3 : sata_promise
EXT3-fs: INFO: recovery required on readonly filesystem.
EXT3-fs: write access will be enabled during recovery.
kjournald starting.  Commit interval 5 seconds
EXT3-fs: hda2: orphan cleanup on readonly fs
ext3_orphan_cleanup: deleting unreferenced inode 552823
ext3_orphan_cleanup: deleting unreferenced inode 496163
ext3_orphan_cleanup: deleting unreferenced inode 496094
ext3_orphan_cleanup: deleting unreferenced inode 528104
ext3_orphan_cleanup: deleting unreferenced inode 528062
ext3_orphan_cleanup: deleting unreferenced inode 528070
ext3_orphan_cleanup: deleting unreferenced inode 528015
EXT3-fs: hda2: 7 orphan inodes deleted
EXT3-fs: recovery complete.
EXT3-fs: mounted filesystem with ordered data mode.
security:  3 users, 4 roles, 280 types, 16 bools
security:  53 classes, 5345 rules
SELinux:  Completing initialization.
SELinux:  Setting up existing superblocks.
SELinux: initialized (dev hda2, type ext3), uses xattr
SELinux: initialized (dev tmpfs, type tmpfs), uses transition SIDs
SELinux: initialized (dev selinuxfs, type selinuxfs), uses genfs_contexts
SELinux: initialized (dev mqueue, type mqueue), not configured for labeling
SELinux: initialized (dev hugetlbfs, type hugetlbfs), not configured for labeling
SELinux: initialized (dev devpts, type devpts), uses transition SIDs
SELinux: initialized (dev eventpollfs, type eventpollfs), uses genfs_contexts
SELinux: initialized (dev pipefs, type pipefs), uses task SIDs
SELinux: initialized (dev tmpfs, type tmpfs), uses transition SIDs
SELinux: initialized (dev futexfs, type futexfs), uses genfs_contexts
SELinux: initialized (dev sockfs, type sockfs), uses task SIDs
SELinux: initialized (dev proc, type proc), uses genfs_contexts
SELinux: initialized (dev bdev, type bdev), uses genfs_contexts
SELinux: initialized (dev rootfs, type rootfs), uses genfs_contexts
SELinux: initialized (dev sysfs, type sysfs), uses genfs_contexts
SELinux: initialized (dev usbfs, type usbfs), uses genfs_contexts
inserting floppy driver for 2.6.9-5.EL
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
ACPI: PCI interrupt 0000:00:0b.0[A] -> GSI 11 (level, low) -> IRQ 11
3c59x: Donald Becker and others. www.scyld.com/network/vortex.html
0000:00:0b.0: 3Com PCI 3c905C Tornado at 0xb000. Vers LK1.1.19
divert: allocating divert_blk for eth0
ACPI: PCI interrupt 0000:00:0a.0[A] -> GSI 10 (level, low) -> IRQ 10
ACPI: PCI interrupt 0000:00:0a.0[A] -> GSI 10 (level, low) -> IRQ 10
divert: allocating divert_blk for eth1
eth1: 3Com Gigabit LOM (3C940)
      PrefPort:A  RlmtMode:Check Link State
via82xx: Assuming DXS channels with 48k fixed sample rate.
         Please try dxs_support=1 or dxs_support=4 option
         and report if it works on your machine.
ACPI: PCI interrupt 0000:00:11.5[C] -> GSI 5 (level, low) -> IRQ 5
PCI: Setting latency timer of device 0000:00:11.5 to 64
codec_read: codec 0 is not valid [0xfe0000]
codec_read: codec 0 is not valid [0xfe0000]
codec_read: codec 0 is not valid [0xfe0000]
codec_read: codec 0 is not valid [0xfe0000]
ACPI: PCI interrupt 0000:00:10.4[C] -> GSI 5 (level, low) -> IRQ 5
ehci_hcd 0000:00:10.4: EHCI Host Controller
ehci_hcd 0000:00:10.4: irq 5, pci mem f883e000
SELinux: initialized (dev usbdevfs, type usbdevfs), uses genfs_contexts
ehci_hcd 0000:00:10.4: new USB bus registered, assigned bus number 1
ehci_hcd 0000:00:10.4: USB 2.0 enabled, EHCI 1.00, driver 2004-May-10
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 8 ports detected
USB Universal Host Controller Interface driver v2.2
ACPI: PCI interrupt 0000:00:10.0[A] -> GSI 11 (level, low) -> IRQ 11
uhci_hcd 0000:00:10.0: UHCI Host Controller
uhci_hcd 0000:00:10.0: irq 11, io base 0000b400
uhci_hcd 0000:00:10.0: new USB bus registered, assigned bus number 2
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
ACPI: PCI interrupt 0000:00:10.1[A] -> GSI 11 (level, low) -> IRQ 11
uhci_hcd 0000:00:10.1: UHCI Host Controller
uhci_hcd 0000:00:10.1: irq 11, io base 0000b800
uhci_hcd 0000:00:10.1: new USB bus registered, assigned bus number 3
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 2 ports detected
ACPI: PCI interrupt 0000:00:10.2[B] -> GSI 10 (level, low) -> IRQ 10
uhci_hcd 0000:00:10.2: UHCI Host Controller
uhci_hcd 0000:00:10.2: irq 10, io base 0000c000
uhci_hcd 0000:00:10.2: new USB bus registered, assigned bus number 4
hub 4-0:1.0: USB hub found
hub 4-0:1.0: 2 ports detected
ACPI: PCI interrupt 0000:00:10.3[B] -> GSI 10 (level, low) -> IRQ 10
uhci_hcd 0000:00:10.3: UHCI Host Controller
uhci_hcd 0000:00:10.3: irq 10, io base 0000c400
uhci_hcd 0000:00:10.3: new USB bus registered, assigned bus number 5
hub 5-0:1.0: USB hub found
hub 5-0:1.0: 2 ports detected
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
SELinux: initialized (dev ramfs, type ramfs), uses genfs_contexts
NET: Registered protocol family 10
Disabled Privacy Extensions on device c0366c20(lo)
IPv6 over IPv4 tunneling driver
divert: not allocating divert_blk for non-ethernet device sit0
ACPI: Power Button (FF) [PWRF]
ACPI: Sleep Button (CM) [SLPB]
EXT3 FS on hda2, internal journal
device-mapper: 4.1.0-ioctl (2003-12-10) initialised: dm@uk.sistina.com
cdrom: open failed.
kjournald starting.  Commit interval 5 seconds
EXT3 FS on hda1, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
SELinux: initialized (dev hda1, type ext3), uses xattr
SELinux: initialized (dev tmpfs, type tmpfs), uses transition SIDs
kjournald starting.  Commit interval 5 seconds
EXT3 FS on hda7, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
SELinux: initialized (dev hda7, type ext3), uses xattr
kjournald starting.  Commit interval 5 seconds
EXT3 FS on hda5, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
SELinux: initialized (dev hda5, type ext3), uses xattr
kjournald starting.  Commit interval 5 seconds
EXT3 FS on hda3, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
SELinux: initialized (dev hda3, type ext3), uses xattr
Adding 2040212k swap on /dev/hda6.  Priority:-1 extents:1
SELinux: initialized (dev binfmt_misc, type binfmt_misc), uses genfs_contexts
parport0: PC-style at 0x378 [PCSPP]
ip_tables: (C) 2000-2002 Netfilter core team
ip_conntrack version 2.1 (8185 buckets, 65480 max) - 356 bytes per conntrack
SELinux: initialized (dev rpc_pipefs, type rpc_pipefs), uses genfs_contexts
libafs: module license 'unspecified' taints kernel.
Failed to find address of sys_call_table
Starting AFS cache scan...Memory cache: Allocating 800 dcache entries...afs_MemCacheOpen: invalid block #<1>Unable to handle kernel paging request at virtual address ffffffff
 printing eip:
f94776f4
*pde = 00002067
Oops: 0002 [#1]
Modules linked in: libafs(U) sunrpc ipt_REJECT ipt_state ip_conntrack iptable_filter ip_tables dm_mod button battery ac md5 ipv6 uhci_hcd ehci_hcd snd_via82xx snd_ac97_codec snd_pcm_oss snd_mixer_oss snd_pcm snd_timer snd_page_alloc snd_mpu401_uart snd_rawmidi snd_seq_device snd soundcore sk98lin 3c59x floppy ext3 jbd sata_promise sata_via libata sd_mod scsi_mod
CPU:    0
EIP:    0060:[<f94776f4>]    Tainted: P      VLI
EFLAGS: 00010246   (2.6.9-5.EL) 
EIP is at osi_Panic+0x17/0x23 [libafs]
eax: 00000021   ebx: f94925eb   ecx: f9490341   edx: f635ee40
esi: 000156c3   edi: c196129f   ebp: 00000000   esp: f635ee3c
ds: 007b   es: 007b   ss: 0068
Process afsd (pid: 2296, threadinfo=f635e000 task=f5c092a0)
Stack: f9490341 f94a4380 00000000 00000008 00000008 f9450b2e 00000008 c1961280 
       f944fc9c 00000008 f9486565 f5353100 f5353100 c019fdee f635ee94 f536d748 
       f635eecc f53e4f40 c01bfe2b 00000006 00000000 bff06b48 0806c560 f6355280 
Call Trace:
 [<f9450b2e>] afs_MemCacheOpen+0x1a/0x51 [libafs]
 [<f944fc9c>] afs_InitVolumeInfo+0x24/0x40 [libafs]
 [<f9486565>] afs_syscall_call+0x49f/0x8c7 [libafs]
 [<c019fdee>] proc_lookup+0x1a0/0x1aa
 [<c01bfe2b>] inode_has_perm+0x4c/0x54
 [<f9486bad>] afs_syscall+0x169/0x2cf [libafs]
 [<f948156b>] afs_ioctl+0x82/0x8b [libafs]
 [<c0175cad>] file_ioctl+0x16d/0x17e
 [<c0175f36>] sys_ioctl+0x278/0x336
 [<c0301bfb>] syscall_call+0x7/0xb
Code: e8 42 ff ff ff 89 d8 5b 5e c3 0f b7 d0 31 c0 e9 d3 ff ff ff 53 85 c0 bb eb 25 49 f9 ff 74 24 08 0f 44 c3 51 52 50 e8 41 89 ca c6 <c6> 05 ff ff ff ff 2a 83 c4 10 5b c3 57 89 c7 83 c8 ff 56 89 d6 
 <6>i2c /dev entries driver
SELinux: initialized (dev autofs, type autofs), uses genfs_contexts
parport0: PC-style at 0x378 [PCSPP]
lp0: using parport0 (polling).
lp0: console ready
process `zhm' is using obsolete setsockopt SO_BSDCOMPAT
afs_MemCacheOpen: invalid block #<1>Unable to handle kernel paging request at virtual address ffffffff
 printing eip:
f94776f4
*pde = 00002067
Oops: 0002 [#2]
Modules linked in: parport_pc lp parport autofs4 i2c_dev i2c_core libafs(U) sunrpc ipt_REJECT ipt_state ip_conntrack iptable_filter ip_tables dm_mod button battery ac md5 ipv6 uhci_hcd ehci_hcd snd_via82xx snd_ac97_codec snd_pcm_oss snd_mixer_oss snd_pcm snd_timer snd_page_alloc snd_mpu401_uart snd_rawmidi snd_seq_device snd soundcore sk98lin 3c59x floppy ext3 jbd sata_promise sata_via libata sd_mod scsi_mod
CPU:    0
EIP:    0060:[<f94776f4>]    Tainted: P      VLI
EFLAGS: 00010216   (2.6.9-5.EL) 
EIP is at osi_Panic+0x17/0x23 [libafs]
eax: 00000021   ebx: f94925eb   ecx: f9490341   edx: f301ae40
esi: 000156c3   edi: f7fe91df   ebp: 00000000   esp: f301ae3c
ds: 007b   es: 007b   ss: 0068
Process afsd (pid: 3605, threadinfo=f301a000 task=f4746c90)
Stack: f9490341 f94a4380 00000000 00000008 00000008 f9450b2e 00000008 f7fe91c0 
       f944fc9c 00000008 f9486565 00000000 00000000 f6355280 f301ae94 f536d748 
       f301aecc f5930ee0 c01bfe2b 00000006 00000000 bfe6d548 0806c560 f6355280 
Call Trace:
 [<f9450b2e>] afs_MemCacheOpen+0x1a/0x51 [libafs]
 [<f944fc9c>] afs_InitVolumeInfo+0x24/0x40 [libafs]
 [<f9486565>] afs_syscall_call+0x49f/0x8c7 [libafs]
 [<c01bfe2b>] inode_has_perm+0x4c/0x54
 [<f9486bad>] afs_syscall+0x169/0x2cf [libafs]
 [<f948156b>] afs_ioctl+0x82/0x8b [libafs]
 [<c0175cad>] file_ioctl+0x16d/0x17e
 [<c0175f36>] sys_ioctl+0x278/0x336
 [<c0301bfb>] syscall_call+0x7/0xb
Code: e8 42 ff ff ff 89 d8 5b 5e c3 0f b7 d0 31 c0 e9 d3 ff ff ff 53 85 c0 bb eb 25 49 f9 ff 74 24 08 0f 44 c3 51 52 50 e8 41 89 ca c6 <c6> 05 ff ff ff ff 2a 83 c4 10 5b c3 57 89 c7 83 c8 ff 56 89 d6 
 

--5G06lTa6Jq83wMTw--