what does your ffs() look like? I added this patch to our kernels, but
it may not be in Dan's kernels (hm, I need to update the 1.3.3 packages
we have on oss...)
--- linux/include/asm-x86_64/bitops.h.orig 2004-07-26
12:33:54.000000000 -0500
+++ linux/include/asm-x86_64/bitops.h 2004-07-26 12:35:23.000000000 -0500
@@ -473,7 +473,7 @@ static __inline__ int ffs(int x)
__asm__("bsfl %1,%0\n\t"
"cmovzl %2,%0"
- : "=r" (r) : "g" (x), "r" (32));
+ : "=r" (r) : "rm" (x), "r" (-1));
return r+1;
}
Tru Huynh wrote:
On Thu, Aug 05, 2004 at 04:35:00PM -0500, Dan Yocum wrote:
Hi all,
I thought you might be interested that I've incorporated Eric's RHEL kernel
into the Scientific Linux distrobution. This is the same kernel found in
ftp://oss.sgi.com/projects/xfs/testing/release-1.3.3-pre2/kernels/RHEL/RPMS.
I took the liberty of merging the xfs bits back into the kernel so there's
no more xfs-modules rpm package. Other than that, it's the same kernel as
Eric's (with devfs compiled in, but disabled at boot time).
Thanks for the work,
I have rebuild the kernel-smp from the src.rpm on a x86_64 machine.
I have a IDE-SCSI external attachement with 2 LUNs (1.2/1.6TB) XFS
formatted partitions from a IA32 machine through an Adaptec 29160 card.
The LUNs are properly discovered, xfs is properly loaded but
the machine hard locks upon 'mount /dev/sdc1 /mnt': nothing
on remote syslog/console.
Aug 9 12:01:46 cybot kernel: scsi : 2 hosts left.
Aug 9 12:01:48 cybot kernel: PCI: Enabling device 01:03.0 (0115 -> 0117)
Aug 9 12:01:48 cybot kernel: ahc_pci:1:3:0: Reading SEEPROM...done.
Aug 9 12:01:48 cybot kernel: ahc_pci:1:3:0: BIOS eeprom is present
Aug 9 12:01:48 cybot kernel: ahc_pci:1:3:0: Secondary High byte termination
Enabled
Aug 9 12:01:48 cybot kernel: ahc_pci:1:3:0: Secondary Low byte termination
Enabled
Aug 9 12:01:48 cybot kernel: ahc_pci:1:3:0: Primary Low Byte termination
Enabled
Aug 9 12:01:48 cybot kernel: ahc_pci:1:3:0: Primary High Byte termination
Enabled
Aug 9 12:01:48 cybot kernel: ahc_pci:1:3:0: Downloading Sequencer Program...
422 instructions downloaded
Aug 9 12:01:48 cybot kernel: ahc_pci:1:3:0: Features 0x1def6, Bugs 0x40, Flags
0x20405540
Aug 9 12:01:48 cybot kernel: scsi2 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA
DRIVER, Rev 6.2.36
Aug 9 12:01:48 cybot kernel: <Adaptec 29160 Ultra160 SCSI adapter>
Aug 9 12:01:48 cybot kernel: aic7892: Ultra160 Wide Channel A, SCSI
Id=7, 32/253 SCBs
Aug 9 12:01:48 cybot kernel:
Aug 9 12:02:03 cybot kernel: scsi2:A:0:0: DV failed to configure device.
Please file a bug report against this driver.
Aug 9 12:02:06 cybot kernel: (scsi2:A:0:0): Sending PPR bus_width 1, period 9,
offset 7f, ppr_options 2
Aug 9 12:02:06 cybot kernel: (scsi2:A:0:0): Received PPR width 1, period 9,
offset 1f,options 2
Aug 9 12:02:06 cybot kernel: ^IFiltered to width 1, period 9, offset 1f,
options 2
Aug 9 12:02:06 cybot kernel: (scsi2:A:0): 6.600MB/s transfers (16bit)
Aug 9 12:02:06 cybot kernel: scsi2: target 0 using 16bit transfers
Aug 9 12:02:06 cybot kernel: (scsi2:A:0): 160.000MB/s transfers (80.000MHz DT,
offset 31, 16bit)
Aug 9 12:02:06 cybot kernel: scsi2: target 0 synchronous at 80.0MHz DT, offset
= 0x1f
Aug 9 12:02:06 cybot kernel: Vendor: FX-1600U Model: 3-R Rev:
0001
Aug 9 12:02:06 cybot kernel: Type: Direct-Access ANSI
SCSI revision: 03
Aug 9 12:02:06 cybot kernel: Vendor: FX-1600U Model: 3-R Rev:
0001
Aug 9 12:02:07 cybot kernel: Type: Direct-Access ANSI
SCSI revision: 03
Aug 9 12:02:10 cybot kernel: (scsi2:A:0): 160.000MB/s transfers (80.000MHz DT,
offset 31, 16bit)
Aug 9 12:02:10 cybot kernel: scsi2:A:0:0: Tagged Queuing enabled. Depth 32
Aug 9 12:02:10 cybot kernel: (scsi2:A:0): 160.000MB/s transfers (80.000MHz DT,
offset 31, 16bit)
Aug 9 12:02:10 cybot kernel: scsi2:A:0:1: Tagged Queuing enabled. Depth 32
Aug 9 12:02:10 cybot kernel: Attached scsi disk sdc at scsi2, channel 0, id 0,
lun 0
Aug 9 12:02:10 cybot kernel: Attached scsi disk sdd at scsi2, channel 0, id 0,
lun 1
Aug 9 12:02:10 cybot kernel: SCSI device sdc: 3418718208 512-byte hdwr sectors
(1750384 MB)
Aug 9 12:02:10 cybot kernel: /dev/scsi/host2/bus0/target0/lun0: p1
Aug 9 12:02:10 cybot kernel: (scsi2:A:0:1): Sending PPR bus_width 1, period 9,
offset 1f, ppr_options 2
Aug 9 12:02:10 cybot kernel: (scsi2:A:0:1): Received PPR width 1, period 9,
offset 1f,options 2
Aug 9 12:02:10 cybot kernel: ^IFiltered to width 1, period 9, offset 1f,
options 2
Aug 9 12:02:10 cybot kernel: SCSI device sdd: 2441936896 512-byte hdwr sectors
(1250272 MB)
Aug 9 12:02:10 cybot kernel: /dev/scsi/host2/bus0/target0/lun1: p1
Aug 9 12:03:18 cybot kernel: SGI XFS 1.3.3 with ACLs, large block/inode
numbers, no debug enabled
Tru
|