Bug#380272: kernel-image-2.6-686-smp: cpqarray module fails to detect arrays

2006-08-19 Thread maximilian attems
On Fri, Aug 18, 2006 at 04:18:58PM -0700, James Bottomley wrote:
 On Fri, 2006-08-18 at 12:39 -0400, Kyle McMartin wrote:
  The problem is because they both claim support for the same PCI Ids:
 
 That's this fix, isn't it?
 
 http://www.kernel.org/git/?p=linux/kernel/git/jejb/scsi-rc-fixes-2.6.git;a=commit;h=b2b3c121076961333977f485f0d54c22121df920
 
 James

added the stable Maintainers to cc,
please consider this patch for the next revision.

thanks

-- 
maks


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#380272: kernel-image-2.6-686-smp: cpqarray module fails to detect arrays

2006-08-18 Thread Joshua Rubin
Hi Maks,

I can confirm that removing floppy from /etc/initramfs-tools/modules (which 
still causes a non-bootable system) and inserting cpqarray (which is the only 
uncommented module in /etc/initramfs-tools/modules) does in fact allow the 
system to boot.

I have attached the dmesg and lsmod.

Thanks again,
Joshua Rubin

Begin dmesg:

Linux version 2.6.16-2-686-smp (Debian 2.6.16-17) ([EMAIL PROTECTED]) (gcc 
version 4.0.4 20060630 (prerelease) (Debian 4.0.3-4)) #1 SMP Sat Jul 15 
22:33:00 UTC 2006
BIOS-provided physical RAM map:
 BIOS-e820:  - 0009f800 (usable)
 BIOS-e820: 0009f800 - 000a (reserved)
 BIOS-e820: 000f - 0010 (reserved)
 BIOS-e820: 0010 - 0fffc000 (usable)
 BIOS-e820: 0fffc000 - 1000 (ACPI data)
 BIOS-e820: fec0 - fec1 (reserved)
 BIOS-e820: fee0 - fee1 (reserved)
 BIOS-e820: fff8 - 0001 (reserved)
0MB HIGHMEM available.
255MB LOWMEM available.
found SMP MP-table at 000f4ff0
On node 0 totalpages: 65532
  DMA zone: 4096 pages, LIFO batch:0
  DMA32 zone: 0 pages, LIFO batch:0
  Normal zone: 61436 pages, LIFO batch:15
  HighMem zone: 0 pages, LIFO batch:0
DMI 2.3 present.
ACPI: RSDP (v000 COMPAQ) @ 0x000f4f90
ACPI: RSDT (v001 COMPAQ MICRO0x0002 � 0x162e) @ 0x0fffc000
ACPI: FADT (v001 COMPAQ MICRO0x0002 � 0x162e) @ 0x0fffc040
ACPI: MADT (v001 COMPAQ 0083 0x0002  0x) @ 0x0fffc100
ACPI: SSDT (v001 COMPAQ SSDT 0x0001 MSFT 0x010b) @ 0x0800
ACPI: DSDT (v001 COMPAQ DSDT 0x0001 MSFT 0x010b) @ 0x
ACPI: PM-Timer IO Port: 0x240
ACPI: Local APIC address 0xfee0
ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
Processor #0 6:8 APIC version 17
ACPI: LAPIC (acpi_id[0x01] lapic_id[0x01] disabled)
ACPI: LAPIC (acpi_id[0x02] lapic_id[0x02] disabled)
ACPI: LAPIC (acpi_id[0x03] lapic_id[0x03] enabled)
Processor #3 6:8 APIC version 17
ACPI: LAPIC_NMI (acpi_id[0x03] dfl dfl lint[0x1])
ACPI: IOAPIC (id[0x08] address[0xfec0] gsi_base[0])
IOAPIC[0]: apic_id 8, version 17, address 0xfec0, GSI 0-34
ACPI: IRQ9 used by override.
Enabling APIC mode:  Flat.  Using 1 I/O APICs
Using ACPI (MADT) for SMP configuration information
Allocating PCI resources starting at 2000 (gap: 1000:eec0)
Built 1 zonelists
Kernel command line: root=/dev/ida/c0d0p1 ro 
mapped APIC to d000 (fee0)
mapped IOAPIC to c000 (fec0)
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Initializing CPU#0
PID hash table entries: 1024 (order: 10, 16384 bytes)
Detected 997.113 MHz processor.
Using pmtmr for high-res timesource
Console: colour VGA+ 80x25
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
Memory: 251936k/262128k available (1505k kernel code, 9532k reserved, 545k 
data, 176k init, 0k highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay using timer specific routine.. 2003.87 BogoMIPS 
(lpj=4007752)
Security Framework v1.0.0 initialized
SELinux:  Disabled at boot.
Capability LSM initialized
Mount-cache hash table entries: 512
CPU: After generic identify, caps: 0383fbff    
  
CPU: After vendor identify, caps: 0383fbff     
 
CPU: L1 I cache: 16K, L1 D cache: 16K
CPU: L2 cache: 256K
CPU: After all inits, caps: 0383fbff   0040  
 
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
Checking 'hlt' instruction... OK.
CPU0: Intel Pentium III (Coppermine) stepping 06
Booting processor 1/0 eip 3000
Initializing CPU#1
Calibrating delay using timer specific routine.. 1993.85 BogoMIPS 
(lpj=3987713)
CPU: After generic identify, caps: 0383fbff    
  
CPU: After vendor identify, caps: 0383fbff     
 
CPU: L1 I cache: 16K, L1 D cache: 16K
CPU: L2 cache: 256K
CPU: After all inits, caps: 0383fbff   0040  
 
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#1.
CPU1: Intel Pentium III (Coppermine) stepping 06
Total of 2 processors activated (3997.73 BogoMIPS).
ENABLING IO-APIC IRQs
..TIMER: vector=0x31 apic1=0 pin1=0 apic2=-1 pin2=-1
checking TSC synchronization across 2 CPUs: passed.
Brought up 2 CPUs
migration_cost=4000
checking if image is initramfs... it is
Freeing initrd memory: 4287k freed
NET: Registered protocol family 16
ACPI: bus type pci registered
PCI: PCI BIOS revision 2.10 entry at 0xf0094, last bus=3
PCI: Using configuration type 1
mtrr: your CPUs had inconsistent 

Bug#380272: kernel-image-2.6-686-smp: cpqarray module fails to detect arrays

2006-08-18 Thread Joshua Rubin
Hi Maks,

I have confirmed that loading cpqarray first fixes the problem on several 
systems now. I have also realized that when this is the case, the sym53c8xx 
driver is not needed or loaded. I thought this was noteworthy. It appears 
that your presumption was correct that the sym53c8xx and cpqarray modules do 
not play nicely.

Is this something that can be handled in the initramfs automatically instead 
of forcing everyone running these systems to update 
their /etc/initramfs-tools/modules file?

Thanks again!!!
Joshua


pgpqbsD1AICDA.pgp
Description: PGP signature


Bug#380272: kernel-image-2.6-686-smp: cpqarray module fails to detect arrays

2006-08-18 Thread maximilian attems
On Fri, Aug 18, 2006 at 09:05:53AM -0600, Joshua Rubin wrote:
 
 I can confirm that removing floppy from /etc/initramfs-tools/modules (which 
 still causes a non-bootable system) and inserting cpqarray (which is the only 
 uncommented module in /etc/initramfs-tools/modules) does in fact allow the 
 system to boot.

ok, that pinpoints the coupable

quickly scanning 
http://bugs.debian.org/380272
i noticed that i forgot to ask you:
please test 2.6.17 from unstable.

is it reporducible there?
 
-- 
maks


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#380272: kernel-image-2.6-686-smp: cpqarray module fails to detect arrays

2006-08-18 Thread Kyle McMartin
Hello Joshua,

On Fri, Aug 18, 2006 at 09:59:16AM -0600, Joshua Rubin wrote:
 I have confirmed that loading cpqarray first fixes the problem on several 
 systems now. I have also realized that when this is the case, the sym53c8xx 
 driver is not needed or loaded. I thought this was noteworthy. It appears 
 that your presumption was correct that the sym53c8xx and cpqarray modules do 
 not play nicely.
 

The problem is because they both claim support for the same PCI Ids:

cpqarray.c,
static const struct pci_device_id cpqarray_pci_device_id[] =
{

{ PCI_VENDOR_ID_NCR, PCI_DEVICE_ID_NCR_53C1510,
0x0E11, 0x4048, 0, 0, 0},   /* LC2 */
{ PCI_VENDOR_ID_NCR, PCI_DEVICE_ID_NCR_53C1510,
0x0E11, 0x4040, 0, 0, 0},  /* Integrated Array */

};

and sym53c8xx_2/sym_glue.c,
static struct pci_device_id sym2_id_table[] __devinitdata = {

{ PCI_VENDOR_ID_LSI_LOGIC, PCI_DEVICE_ID_LSI_53C1510,
  PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0UL },

{ PCI_VENDOR_ID_LSI_LOGIC, PCI_DEVICE_ID_NCR_53C1510,
  PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0UL }, /* new */

};

More correctly, the problem is because sym2 is claiming support
for all devices with these PCI device/vendor id.

Can we get the output of lspci -v output from your machine?

If LSI was kind, the PCI class might be different between the two,
or some other clue might be there to differentiate them.

 Is this something that can be handled in the initramfs automatically instead 
 of forcing everyone running these systems to update 
 their /etc/initramfs-tools/modules file?

The easiest thing to do from the initramfs point of view is to simply
load cpqarray in preference to sym53c8xx.

Regards,
Kyle M.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#380272: kernel-image-2.6-686-smp: cpqarray module fails to detect arrays

2006-08-18 Thread maximilian attems
hmm kyle pointed out, i forgot to ask you vital info:
lspci info is missing in your bug info, please post
lscpi -vv
lspci -n

thanks

-- 
maks


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#380272: kernel-image-2.6-686-smp: cpqarray module fails to detect arrays

2006-08-18 Thread Joshua Rubin
Hi Maks,

I tried linux-image-2.6.17-2-686_2.6.17-6_i386.deb from unstable and the 
problem still exists there.

I have attached the outputs of lspci -vv and lspci -n.

Thanks,
Joshua Rubin

# lspci -vv
00:00.0 Host bridge: Broadcom CNB20LE Host Bridge (rev 05)
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR+ FastB2B-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium TAbort- 
TAbort- MAbort+ SERR- PERR-
Latency: 64, Cache Line Size: 32 bytes

00:00.1 Host bridge: Broadcom CNB20LE Host Bridge (rev 05)
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR+ FastB2B-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium TAbort- 
TAbort- MAbort- SERR- PERR-
Latency: 64, Cache Line Size: 32 bytes

00:01.0 RAID bus controller: LSI Logic / Symbios Logic 53C1510 (rev 02)
Subsystem: Compaq Computer Corporation Integrated Array Controller
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr+ 
Stepping- SERR+ FastB2B-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium TAbort- 
TAbort- MAbort- SERR- PERR-
Latency: 192 (7500ns min, 2000ns max), Cache Line Size: 32 bytes
Interrupt: pin A routed to IRQ 177
Region 0: I/O ports at 2000 [size=256]
Region 1: Memory at c500 (32-bit, non-prefetchable) [size=16M]
Region 2: Memory at c400 (32-bit, non-prefetchable) [size=16M]
[virtual] Expansion ROM at 2000 [disabled] [size=512K]
Capabilities: [40] Power Management version 2
Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA 
PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-

00:03.0 VGA compatible controller: ATI Technologies Inc 3D Rage IIC 215IIC 
[Mach64 GT IIC] (rev 7a) (prog-if 00 [VGA])
Subsystem: ATI Technologies Inc Rage IIC
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping+ SERR- FastB2B-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium TAbort- 
TAbort- MAbort- SERR- PERR-
Latency: 64 (2000ns min), Cache Line Size: 32 bytes
Region 0: Memory at c200 (32-bit, prefetchable) [size=16M]
Region 1: I/O ports at 2400 [size=256]
Region 2: Memory at c3fff000 (32-bit, non-prefetchable) [size=4K]
[virtual] Expansion ROM at 2008 [disabled] [size=128K]
Capabilities: [5c] Power Management version 1
Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA 
PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-

00:04.0 System peripheral: Compaq Computer Corporation Advanced System 
Management Controller
Subsystem: Compaq Computer Corporation Unknown device b0f3
Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr+ 
Stepping- SERR+ FastB2B-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium TAbort- 
TAbort- MAbort- SERR- PERR-
Interrupt: pin A routed to IRQ 255
Region 0: I/O ports at 1800 [size=256]
Region 1: Memory at c3ffef00 (32-bit, non-prefetchable) [size=256]

00:0f.0 ISA bridge: Broadcom OSB4 South Bridge (rev 4f)
Subsystem: Broadcom OSB4 South Bridge
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium TAbort- 
TAbort- MAbort- SERR- PERR-
Latency: 0

00:0f.1 IDE interface: Broadcom OSB4 IDE Controller (prog-if 8a [Master SecP 
PriP])
Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr+ 
Stepping- SERR+ FastB2B-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium TAbort- 
TAbort- MAbort- SERR- PERR-
Latency: 64
Region 4: I/O ports at 2800 [size=16]

03:04.0 Ethernet controller: Intel Corporation 82557/8/9 [Ethernet Pro 100] 
(rev 08)
Subsystem: Compaq Computer Corporation NC3163 Fast Ethernet NIC 
(embedded, WOL)
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr+ 
Stepping- SERR+ FastB2B-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium TAbort- 
TAbort- MAbort- SERR- PERR-
Latency: 64 (2000ns min, 14000ns max), Cache Line Size: 32 bytes
Interrupt: pin A routed to IRQ 185
Region 0: Memory at c6fff000 (32-bit, non-prefetchable) [size=4K]
Region 1: I/O ports at 3000 [size=64]
Region 2: Memory at c6e0 (32-bit, non-prefetchable) [size=1M]
[virtual] Expansion ROM at 2010 [disabled] [size=1M]
Capabilities: [dc] Power Management version 2
Flags: PMEClk- DSI+ D1+ D2+ AuxCurrent=0mA 
PME(D0+,D1+,D2+,D3hot+,D3cold+)
Status: D0 PME-Enable- DSel=0 DScale=2 PME-

03:05.0 Ethernet controller: Intel Corporation 82557/8/9 [Ethernet Pro 100] 
(rev 08)
Subsystem: Compaq Computer Corporation NC3163 Fast Ethernet NIC 
(embedded, 

Bug#380272: kernel-image-2.6-686-smp: cpqarray module fails to detect arrays

2006-08-18 Thread Kyle McMartin
On Fri, Aug 18, 2006 at 04:18:58PM -0700, James Bottomley wrote:
 That's this fix, isn't it?
 
 http://www.kernel.org/git/?p=linux/kernel/git/jejb/scsi-rc-fixes-2.6.git;a=commit;h=b2b3c121076961333977f485f0d54c22121df920
 

Yup.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#380272: kernel-image-2.6-686-smp: cpqarray module fails to detect arrays

2006-08-18 Thread James Bottomley
On Fri, 2006-08-18 at 12:39 -0400, Kyle McMartin wrote:
 The problem is because they both claim support for the same PCI Ids:

That's this fix, isn't it?

http://www.kernel.org/git/?p=linux/kernel/git/jejb/scsi-rc-fixes-2.6.git;a=commit;h=b2b3c121076961333977f485f0d54c22121df920

James




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#380272: kernel-image-2.6-686-smp: cpqarray module fails to detect arrays

2006-08-17 Thread Joshua Rubin
Hi Max,

I just realized that I never tried your last suggestions. I will try them 
first thing when I get in to work tomorrow.

I have received some more info about this bug. It appears to be a timing 
issue. Here is the link to the bug at kernel.org with an interesting 
suggestion (that I have not tried): 
http://bugzilla.kernel.org/show_bug.cgi?id=6921.

My company has inherited 5 racks of these compaq servers and it is very 
important that debian etch work well on them :)

Thanks for all the help,
Joshua Rubin


pgpn5CcBtGYfx.pgp
Description: PGP signature


Bug#380272: kernel-image-2.6-686-smp: cpqarray module fails to detect arrays

2006-08-04 Thread maximilian attems
hello joshua,

thanks for your followups,
had time again to look at your bug report.

the trouble is quite shown in the troublesome dmesg and
in the working cat /proc/modules.

On Sun, 30 Jul 2006, Joshua Rubin wrote:

 I just tried installing etch with the beta2 installer. This system loaded the 
 floppy module before the cpqarray module, yet could not find the arrays 
 either. Still, the sarge system upgraded to etch works fine with the floppy 
 module loaded in the initramfs.

adding the floppy seems to kick sym53c8xx at loading later:

 ACPI: PCI Interrupt :00:01.0[A] - GSI 19 (level, low) - IRQ 177
 sym53c8xx :00:01.0: device not supported
 ACPI: PCI interrupt for device :00:01.0 disabled
 Compaq SMART2 Driver (v 2.6.0)
 cpqarray: Device 0x10 has been found at bus 0 dev 1 func 0
 ACPI: PCI Interrupt :00:01.0[A] - GSI 19 (level, low) - IRQ 177
 cpqarray: Finding drives on ida04cpqarray ida0: idaSendPciCmd Timeout out,

see sym53c8xx disables your interrupt for cpqarray.
try my theory and use instead of floppy:
echo cpqarray  /etc/initramfs-tools/modules
regenerate initramfs with update-initramfs -u.
plese post the resulting dmesg.

adding linux-scsi and Matthew Wilcox to cc.


best regards

-- 
maks


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#380272: kernel-image-2.6-686-smp: cpqarray module fails to detect arrays

2006-07-30 Thread maximilian attems
hello joshua,

thanks for your repsonse.

On Fri, 28 Jul 2006, Joshua Rubin wrote:

 I installed this system with a sarge cd (2.6.8-386-2 kernel) and that has 
 cpqarray compiled as a module and works fine. As far as I can tell, the 
 problem only occurs with very recent 2.6 kernels = 2.6.15.

we have success reports for ida, so basically initramfs-tools should do
it's job.
 
 /proc/cmdline:
 root=/dev/ida/c0d0p1 ro
 (I have tried booting with all combinations of noprobe, noapic and noacpi too)

ok
 
 lsmod (no lsmod in the initramfs, so this is from the system running 2.6.8):

hmm forgot, the output of cat /proc/modules is more usefull to see
if ida is loaded and which other modules.
 
 ls -l /dev/ida:
 total 0
 brw-rw 1 0 0 72, 0  Jul 28 18:03 c0d0

that's really bad so udev only created the device for the controller,
but not for the partitions. if we don't get the root device, we can't
mount it.

could you check from the rescue console dmesg, if anything at the ida
registration hangs out? if you have a console full dmesg would be great.
 
so grub, initramfs-tools and udev seem up to date on your box.

-- 
maks


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#380272: kernel-image-2.6-686-smp: cpqarray module fails to detect arrays

2006-07-30 Thread maximilian attems
hello joshua,

On Sun, Jul 30, 2006 at 11:13:04AM -0600, Joshua Rubin wrote:
 
 So I am open to any tips as to how to write to non volatile media in the 
 initramfs. I can not mount my HDDs, there is no floppy device or modules, no 
 useful network programs (that I could find) to send a file to another 
 computer.

netcat is your friend, aren't cats always cute? :)
host A:
netcat -l -p   dmesg

host B - initramfs trouble:
dmesg | netcat hostA 
 
 Anyway, I will try to type out anything I find relevant.
 
 cat /proc/modules (in initramfs):
 ide_generic
 ide_cd
 cdrom
 serverworks
 cpqarray
 sym53c8xx
 scsi_transport_spi
 scsi_mod
 generic
 e100
 mii
 ide_core
 thermal
 processor
 fan

that looks fine.
 
 As far as dmesg errors related to ida, here is what I found:
 dmesg | grep -i ida
 Kernel command line: root=/dev/ida/c0d0p1 ro
 cpqarray: Finding drives on ida04cpqarray ida0: idaSendPciCmd Timeout out, 
 No command list address returned!
 cpqarray ida0: idaSendPciCmd Timeout out, No command list address returned!

hmm ok that explains why udev doesn't come up with partitions.
 
 Again, I would love to send you the full dmesg if you can give any 
 suggestions 
 how it can be done.

see above, please do so.

best regards

--
maks


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#380272: kernel-image-2.6-686-smp: cpqarray module fails to detect arrays

2006-07-30 Thread Joshua Rubin
Hi maks,

There has been a _VERY_ interesting twist here. Before I got your netcat 
suggestion, I figured I would rebuild the initramfs with the floppy module.

_When the floppy module is loaded, the system finds the partitions and boots 
fine._

Please let me know what you would like from me. I can still remove the floppy 
module from the initramfs (this is my only modification from the standard 
initramfs settings in /etc) and get you the full dmesg if you like. Or I can 
try to figure out why the floppy module would change anything... strange.

Thanks again,
Joshua


pgpSLzubSrmpW.pgp
Description: PGP signature


Bug#380272: kernel-image-2.6-686-smp: cpqarray module fails to detect arrays

2006-07-30 Thread Joshua Rubin
Since your netcat suggestion was so useful, I here is the complete (broken) 
dmesg from the initramfs. This is without the floppy module loaded (which 
resulted in a bootable system, see previous email).

dmesg:
[0x03] enabled)
Processor #3 6:8 APIC version 17
ACPI: LAPIC_NMI (acpi_id[0xff] dfl dfl lint[0x1])
ACPI: IOAPIC (id[0x08] address[0xfec0] gsi_base[0])
IOAPIC[0]: apic_id 8, version 17, address 0xfec0, GSI 0-34
ACPI: IRQ9 used by override.
Enabling APIC mode:  Flat.  Using 1 I/O APICs
Using ACPI (MADT) for SMP configuration information
Allocating PCI resources starting at 3000 (gap: 2000:dec0)
Built 1 zonelists
Kernel command line: root=/dev/ida/c0d0p1 ro 
mapped APIC to d000 (fee0)
mapped IOAPIC to c000 (fec0)
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Initializing CPU#0
PID hash table entries: 2048 (order: 11, 32768 bytes)
Detected 797.686 MHz processor.
Using pmtmr for high-res timesource
Console: colour VGA+ 80x25
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Memory: 511648k/524272k available (1505k kernel code, 11980k reserved, 545k 
data, 176k init, 0k highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay using timer specific routine.. 1603.26 BogoMIPS 
(lpj=3206528)
Security Framework v1.0.0 initialized
SELinux:  Disabled at boot.
Capability LSM initialized
Mount-cache hash table entries: 512
CPU: After generic identify, caps: 0383fbff    
  
CPU: After vendor identify, caps: 0383fbff     
 
CPU: L1 I cache: 16K, L1 D cache: 16K
CPU: L2 cache: 256K
CPU: After all inits, caps: 0383fbff   0040  
 
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
Checking 'hlt' instruction... OK.
CPU0: Intel Pentium III (Coppermine) stepping 03
Booting processor 1/0 eip 3000
Initializing CPU#1
Calibrating delay using timer specific routine.. 1595.09 BogoMIPS 
(lpj=3190195)
CPU: After generic identify, caps: 0383fbff    
  
CPU: After vendor identify, caps: 0383fbff     
 
CPU: L1 I cache: 16K, L1 D cache: 16K
CPU: L2 cache: 256K
CPU: After all inits, caps: 0383fbff   0040  
 
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#1.
CPU1: Intel Pentium III (Coppermine) stepping 03
Total of 2 processors activated (3198.36 BogoMIPS).
ENABLING IO-APIC IRQs
..TIMER: vector=0x31 apic1=0 pin1=0 apic2=-1 pin2=-1
checking TSC synchronization across 2 CPUs: passed.
Brought up 2 CPUs
migration_cost=8000
checking if image is initramfs... it is
Freeing initrd memory: 4281k freed
NET: Registered protocol family 16
ACPI: bus type pci registered
PCI: PCI BIOS revision 2.10 entry at 0xf0094, last bus=3
PCI: Using configuration type 1
mtrr: your CPUs had inconsistent fixed MTRR settings
mtrr: probably your BIOS does not setup all CPUs.
mtrr: corrected configuration.
ACPI: Subsystem revision 20060127
ACPI: Interpreter enabled
ACPI: Using IOAPIC for interrupt routing
ACPI: PCI Root Bridge [PCI0] (:00)
PCI: Probing PCI hardware (bus 00)
Boot video device is :00:03.0
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Root Bridge [PCI1] (:03)
PCI: Probing PCI hardware (bus 03)
ACPI: PCI Interrupt Routing Table [\_SB_.PCI1._PRT]
ACPI: PCI Interrupt Link [FAKE] (IRQs) *0, disabled.
ACPI: PCI Interrupt Link [INA0] (IRQs 5 10 11 15) *3
ACPI: PCI Interrupt Link [INA1] (IRQs 5 10 11 15) *0, disabled.
ACPI: PCI Interrupt Link [ITR0] (IRQs 5 10 11 15) *0, disabled.
ACPI: PCI Interrupt Link [ITR1] (IRQs 5 *10 11 15)
ACPI: PCI Interrupt Link [ITR2] (IRQs 5 10 11 15) *0, disabled.
ACPI: PCI Interrupt Link [ITR3] (IRQs 5 10 11 15) *7
ACPI: PCI Interrupt Link [ITR4] (IRQs 5 10 *11 15)
ACPI: PCI Interrupt Link [INB0] (IRQs 5 10 11 15) *0, disabled.
ACPI: PCI Interrupt Link [INB1] (IRQs 5 10 11 15) *0, disabled.
Linux Plug and Play Support v0.97 (c) Adam Belay
pnp: PnP ACPI init
pnp: PnP ACPI: found 10 devices
PnPBIOS: Disabled by ACPI PNP
PCI: Using ACPI for IRQ routing
PCI: If a device doesn't work, try pci=routeirq.  If it helps, post a report
PCI: Device :00:00.0 not found by BIOS
PCI: Device :00:00.1 not found by BIOS
PCI: Device :00:0f.0 not found by BIOS
pnp: 00:01: ioport range 0xf50-0xf58 has been reserved
audit: initializing netlink socket (disabled)
audit(1154281037.824:1): initialized
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
Initializing Cryptographic API
io scheduler noop registered
io scheduler anticipatory registered (default)
io scheduler deadline registered
io scheduler cfq 

Bug#380272: kernel-image-2.6-686-smp: cpqarray module fails to detect arrays

2006-07-30 Thread maximilian attems
hello Joshua,

On Sun, Jul 30, 2006 at 11:40:24AM -0600, Joshua Rubin wrote:

 There has been a _VERY_ interesting twist here. Before I got your netcat 
 suggestion, I figured I would rebuild the initramfs with the floppy module.
 
 _When the floppy module is loaded, the system finds the partitions and boots 
 fine._

ok, interesting indeed.
could you rebuild such an initramfs pass  break=bottom as boot param
and show the output of
cat /proc/modules
also working dmesg might be interesting.
 
thank you!

-- 
maks


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#380272: kernel-image-2.6-686-smp: cpqarray module fails to detect arrays

2006-07-30 Thread Joshua Rubin
Hi maks,

I just tried installing etch with the beta2 installer. This system loaded the 
floppy module before the cpqarray module, yet could not find the arrays 
either. Still, the sarge system upgraded to etch works fine with the floppy 
module loaded in the initramfs.

Here is the info you requested from the initramfs of the working system with 
the floppy module loaded first:

cat /proc/modules:
ext3 118152 1 - Live 0xd093e000
jbd 51412 1 ext3, Live 0xd090d000
mbcache 8292 1 ext3, Live 0xd08e
dm_mirror 18676 0 - Live 0xd0891000
dm_snapshot 15584 0 - Live 0xd088c000
dm_mod 49204 4 dm_mirror,dm_snapshot, Live 0xd08ee000
ide_generic 1344 0 [permanent], Live 0xd0842000
ide_cd 35936 0 - Live 0xd08d4000
cdrom 32304 1 ide_cd, Live 0xd0897000
serverworks 8264 0 [permanent], Live 0xd085d000
sym53c8xx 68340 0 - Live 0xd08a2000
scsi_transport_spi 21024 1 sym53c8xx, Live 0xd0861000
scsi_mod 124236 2 sym53c8xx,scsi_transport_spi, Live 0xd08b4000
generic 4388 0 [permanent], Live 0xd0845000
cpqarray 20868 2 - Live 0xd0852000
ide_core 113868 4 ide_generic,ide_cd,serverworks,generic, Live 0xd086f000
e100 32356 0 - Live 0xd0849000
mii 5280 1 e100, Live 0xd081b000
thermal 13288 0 - Live 0xd0821000
processor 25896 1 thermal, Live 0xd0836000
fan 4676 0 - Live 0xd0818000
floppy 57200 0 - Live 0xd0827000

dmesg:
dress[0xfec0] gsi_base[0])
IOAPIC[0]: apic_id 8, version 17, address 0xfec0, GSI 0-34
ACPI: IRQ9 used by override.
Enabling APIC mode:  Flat.  Using 1 I/O APICs
Using ACPI (MADT) for SMP configuration information
Allocating PCI resources starting at 3000 (gap: 2000:dec0)
Built 1 zonelists
Kernel command line: root=/dev/mapper/Debian-root ro break=bottom
mapped APIC to d000 (fee0)
mapped IOAPIC to c000 (fec0)
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Initializing CPU#0
PID hash table entries: 2048 (order: 11, 32768 bytes)
Detected 797.686 MHz processor.
Using pmtmr for high-res timesource
Console: colour VGA+ 80x25
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Memory: 511136k/524272k available (1505k kernel code, 12608k reserved, 545k 
data, 176k init, 0k highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay using timer specific routine.. 1603.31 BogoMIPS 
(lpj=3206638)
Security Framework v1.0.0 initialized
SELinux:  Disabled at boot.
Capability LSM initialized
Mount-cache hash table entries: 512
CPU: After generic identify, caps: 0383fbff    
  
CPU: After vendor identify, caps: 0383fbff     
 
CPU: L1 I cache: 16K, L1 D cache: 16K
CPU: L2 cache: 256K
CPU: After all inits, caps: 0383fbff   0040  
 
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
Checking 'hlt' instruction... OK.
CPU0: Intel Pentium III (Coppermine) stepping 03
Booting processor 1/0 eip 3000
Initializing CPU#1
Calibrating delay using timer specific routine.. 1595.08 BogoMIPS 
(lpj=3190176)
CPU: After generic identify, caps: 0383fbff    
  
CPU: After vendor identify, caps: 0383fbff     
 
CPU: L1 I cache: 16K, L1 D cache: 16K
CPU: L2 cache: 256K
CPU: After all inits, caps: 0383fbff   0040  
 
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#1.
CPU1: Intel Pentium III (Coppermine) stepping 03
Total of 2 processors activated (3198.40 BogoMIPS).
ENABLING IO-APIC IRQs
..TIMER: vector=0x31 apic1=0 pin1=0 apic2=-1 pin2=-1
checking TSC synchronization across 2 CPUs: passed.
Brought up 2 CPUs
migration_cost=8000
checking if image is initramfs... it is
Freeing initrd memory: 4910k freed
NET: Registered protocol family 16
ACPI: bus type pci registered
PCI: PCI BIOS revision 2.10 entry at 0xf0094, last bus=3
PCI: Using configuration type 1
mtrr: your CPUs had inconsistent fixed MTRR settings
mtrr: probably your BIOS does not setup all CPUs.
mtrr: corrected configuration.
ACPI: Subsystem revision 20060127
ACPI: Interpreter enabled
ACPI: Using IOAPIC for interrupt routing
ACPI: PCI Root Bridge [PCI0] (:00)
PCI: Probing PCI hardware (bus 00)
Boot video device is :00:03.0
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Root Bridge [PCI1] (:03)
PCI: Probing PCI hardware (bus 03)
ACPI: PCI Interrupt Routing Table [\_SB_.PCI1._PRT]
ACPI: PCI Interrupt Link [FAKE] (IRQs) *0, disabled.
ACPI: PCI Interrupt Link [INA0] (IRQs 5 10 11 15) *3
ACPI: PCI Interrupt Link [INA1] (IRQs 5 10 11 15) *0, disabled.
ACPI: PCI Interrupt Link [ITR0] (IRQs 5 10 11 15) *0, disabled.
ACPI: PCI Interrupt Link [ITR1] (IRQs 5 *10 11 15)
ACPI: PCI Interrupt Link [ITR2] (IRQs 5 10 11 15) 

Bug#380272: kernel-image-2.6-686-smp: cpqarray module fails to detect arrays

2006-07-28 Thread Joshua Rubin
Package: kernel-image-2.6-686-smp
Severity: normal

I am trying to upgrade the kernel on an older Compaq DL360 server. When
I upgraded the kernel to 2.6.16, the system would no longer boot. The
last message on console is:
Begin: Waiting for root file system
After this times out, I get dropped into a shell in the initrd.

The errors relating to the cpqarray module are as follows:
cpqarray: Finding drives on ida0
cpqarray: ida0: idaSendPciCmd Timeout out, No command list address
returned!
cpqarray: error sending ID Controller

Though I have not yet tested this, I found at
http://www.mcnabbs.org/andrew/linux/proliant/ a possible fix that
requires cpqarray to be built into the kernel instead of as a module. I
am in the process of rebuilding the kernel and will report on the
success of this fix.

Thank you,
Joshua Rubin

-- System Information:
Debian Release: testing
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-2-386
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)


pgpxMvHEHMWR6.pgp
Description: PGP signature


Bug#380272: kernel-image-2.6-686-smp: cpqarray module fails to detect arrays

2006-07-28 Thread maximilian attems
tags 380272 moreinfo
stop

On Fri, Jul 28, 2006 at 02:43:00PM -0600, Joshua Rubin wrote:
 I am trying to upgrade the kernel on an older Compaq DL360 server. When
 I upgraded the kernel to 2.6.16, the system would no longer boot. The
 last message on console is:
 Begin: Waiting for root file system
 After this times out, I get dropped into a shell in the initrd.

please post from that shell:
cat /proc/cmdline

lsmod

ls -l /dev/ida
 
 The errors relating to the cpqarray module are as follows:
 cpqarray: Finding drives on ida0
 cpqarray: ida0: idaSendPciCmd Timeout out, No command list address
 returned!
 cpqarray: error sending ID Controller

can you please also send the
cat /etc/fstab
dpkg -l grub
dpkg -l udev
dpkg -l initramfs-tools
 
 Though I have not yet tested this, I found at
 http://www.mcnabbs.org/andrew/linux/proliant/ a possible fix that
 requires cpqarray to be built into the kernel instead of as a module. I
 am in the process of rebuilding the kernel and will report on the
 success of this fix.

we have success records of ida boots with initramfs-tools,
without further infos i have no idea what your boot trouble might be.
 
 Thank you,
 Joshua Rubin

good luck + thanks for feedback.

--
maks


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Processed: Re: Bug#380272: kernel-image-2.6-686-smp: cpqarray module fails to detect arrays

2006-07-28 Thread Debian Bug Tracking System
Processing commands for [EMAIL PROTECTED]:

 tags 380272 moreinfo
Bug#380272: kernel-image-2.6-686-smp: cpqarray module fails to detect arrays
There were no tags set.
Tags added: moreinfo

 stop
Stopping processing here.

Please contact me if you need assistance.

Debian bug tracking system administrator
(administrator, Debian Bugs database)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#380272: kernel-image-2.6-686-smp: cpqarray module fails to detect arrays

2006-07-28 Thread Joshua Rubin
Hi maks,

I installed this system with a sarge cd (2.6.8-386-2 kernel) and that has 
cpqarray compiled as a module and works fine. As far as I can tell, the 
problem only occurs with very recent 2.6 kernels = 2.6.15.

I still have not tested the modified kernel package I made with 
CONFIG_BLK_CPQ_DA=y. I will report on this as soon as I have an answer.

/proc/cmdline:
root=/dev/ida/c0d0p1 ro
(I have tried booting with all combinations of noprobe, noapic and noacpi too)

lsmod (no lsmod in the initramfs, so this is from the system running 2.6.8):
Module  Size  Used by
ipv6  229892  8
af_packet  20872  2
ide_scsi   15492  0
scsi_mod  115148  1 ide_scsi
serverworks12308  1
e100   30080  0
mii 4864  1 e100
dm_mod 51068  0
capability  4872  0
commoncap   7168  1 capability
psmouse17800  0
ide_generic 1664  0
ide_disk   16768  0
ide_cd 38176  0
ide_core  125028  5 
ide_scsi,serverworks,ide_generic,ide_disk,ide_cd
cdrom  35740  1 ide_cd
rtc12088  0
ext3  109544  5
jbd54552  1 ext3
cpqarray   22756  7
unix   26036  14
font8576  0
vesafb  6688  0
cfbcopyarea 3840  1 vesafb
cfbimgblt   3200  1 vesafb
cfbfillrect 3712  1 vesafb

ls -l /dev/ida:
total 0
brw-rw 1 0 0 72, 0  Jul 28 18:03 c0d0

/etc/fstab:
# /etc/fstab: static file system information.
#
# file system mount point   type  options   dump  pass
proc/proc   procdefaults0   0
/dev/ida/c0d0p1 /   ext3defaults,errors=remount-ro 0   1
/dev/ida/c0d0p9 /home   ext3defaults0   2
/dev/ida/c0d0p8 /tmpext3defaults0   2
/dev/ida/c0d0p5 /usrext3defaults0   2
/dev/ida/c0d0p6 /varext3defaults0   2
/dev/ida/c0d0p7 noneswapsw  0   0
/dev/hdc/media/cdrom0   iso9660 ro,user,noauto  0   0
/dev/fd0/media/floppy0  autorw,user,noauto  0   0

dpkg -l grub:
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: 
uppercase=bad)
||/ Name   VersionDescription
+++-==-==-
ii  grub   0.97-12GRand Unified Bootloader

dpkg -l udev:
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: 
uppercase=bad)
||/ Name   VersionDescription
+++-==-==-
ii  udev   0.093-1/dev/ and hotplug management daemon

dpkg -l initramfs-tools:
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: 
uppercase=bad)
||/ NameVersionDescription
+++-===-==-
ii  initramfs-tools 0.69b  tools for generating an initramfs

Thank you for the quick response,
Joshua Rubin


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]