I try to get promise raid work. I have two ibm 60gxp 60GB and msi raid mainboard. I tryed 2.4.13 (vanilla) kernel (+2.4.10, 2.4,13, 2.4.9 etc...) But can't get kernel to find array. Litle debugging and found that driver can't find disks in calc_pdcblock_offset function, when it calls ideinfo = get_info_ptr (dev); (get_info_ptr come somewhere else...) Any Ideas why it can't get information pointer from disk? Disks are both masters (see dmesg). In dos they work and boot in raid0 or raid1 mode. Linux don't work... 2.4.9 see independed disks (don't have ataraid code), installing 2.4.9 linux, run lilo (boot=hde), boot and find dos,.. (test installed before...) Newer kernels don't see anymore disks and don't find array... below part of code (I added litle printk() noise) and dmesg.. kdev_t dev; ide_drive_t *ideinfo; dev = MKDEV(major,minor); ideinfo = get_info_ptr (dev); if (ideinfo==NULL) return 0; printk("calc_pdcblock_offset: capacity %i , head %i , sect %i\n",ideinfo->capacity,ideinfo->head,ideinfo->sect); --- dmesg ---- 00000020000000 (ACPI data) BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved) On node 0 totalpages: 131056 zone(0): 4096 pages. zone(1): 126960 pages. zone(2): 0 pages. Local APIC disabled by BIOS -- reenabling. Found and enabled local APIC! Kernel command line: vga=normal noinitrd load_ramdisk=1 prompt_ramdisk=1 ramdisk_size=16384 root=/dev/fd0 disksize=1.44 flavor=reiserfs BOOT_IMAGE=linux Initializing CPU#0 Detected 996.022 MHz processor. Console: colour VGA+ 80x25 Calibrating delay loop... 1985.74 BogoMIPS Memory: 513416k/524224k available (1342k kernel code, 10420k reserved, 362k data, 224k init, 0k highmem) Dentry-cache hash table entries: 65536 (order: 7, 524288 bytes) Inode-cache hash table entries: 32768 (order: 6, 262144 bytes) Mount-cache hash table entries: 8192 (order: 4, 65536 bytes) Buffer-cache hash table entries: 32768 (order: 5, 131072 bytes) Page-cache hash table entries: 131072 (order: 7, 524288 bytes) CPU: Before vendor init, caps: 0183fbff c1c7fbff 00000000, vendor = 2 Intel machine check architecture supported. Intel machine check reporting enabled on CPU#0. CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line) CPU: L2 Cache: 256K (64 bytes/line) CPU: After vendor init, caps: 0183fbff c1c7fbff 00000000 00000000 CPU: After generic, caps: 0183fbff c1c7fbff 00000000 00000000 CPU: Common caps: 0183fbff c1c7fbff 00000000 00000000 CPU: AMD Athlon(tm) processor stepping 02 Enabling fast FPU save and restore... done. Checking 'hlt' instruction... OK. POSIX conformance testing by UNIFIX enabled ExtINT on CPU#0 ESR value before enabling vector: 00000000 ESR value after enabling vector: 00000000 Using local APIC timer interrupts. calibrating APIC timer ... ..... CPU clock speed is 995.9867 MHz. ..... host bus clock speed is 265.5964 MHz. cpu: 0, clocks: 2655964, slice: 1327982 CPU0<T0:2655952,T1:1327968,D:2,S:1327982,C:2655964> mtrr: v1.40 (20010327) Richard Gooch (rgooch@xxxxxxxxxxxxx) mtrr: detected mtrr type: Intel PCI: PCI BIOS revision 2.10 entry at 0xfb160, last bus=1 PCI: Using configuration type 1 PCI: Probing PCI hardware Trying to stomp on Athlon bug... Unknown bridge resource 2: assuming transparent PCI: Using IRQ router VIA [1106/0686] at 00:07.0 Applying VIA southbridge workaround. Linux NET4.0 for Linux 2.4 Based upon Swansea University Computer Society NET3.039 Initializing RT netlink socket apm: BIOS version 1.2 Flags 0x07 (Driver version 1.15) Starting kswapd devfs: v0.119 (20011009) Richard Gooch (rgooch@xxxxxxxxxxxxx) devfs: boot_options: 0x0 pty: 256 Unix98 ptys configured Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI enabled ttyS00 at 0x03f8 (irq = 4) is a 16550A ttyS01 at 0x02f8 (irq = 3) is a 16550A Real Time Clock Driver v1.10e block: 128 slots per queue, batch=16 RAMDISK driver initialized: 16 RAM disks of 16384K size 1024 blocksize Uniform Multi-Platform E-IDE driver Revision: 6.31 ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx VP_IDE: IDE controller on PCI bus 00 dev 39 VP_IDE: chipset revision 6 VP_IDE: not 100% native mode: will probe irqs later ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx VP_IDE: VIA vt82c686b (rev 40) IDE UDMA100 controller on pci00:07.1 VP_IDE: neither IDE port enabled (BIOS) PDC20265: IDE controller on PCI bus 00 dev 78 PCI: Found IRQ 11 for device 00:0f.0 IRQ routing conflict for 00:07.5, have irq 15, want irq 11 PDC20265: chipset revision 2 ide: Found promise 20265 in RAID mode. PDC20265: not 100% native mode: will probe irqs later spurious 8259A interrupt: IRQ7. PDC20265: (U)DMA Burst Bit ENABLED Primary MASTER Mode Secondary MASTER Mode. ide2: BM-DMA at 0xcc00-0xcc07, BIOS settings: hde:pio, hdf:pio ide3: BM-DMA at 0xcc08-0xcc0f, BIOS settings: hdg:pio, hdh:pio hde: IC35L060AVER07-0, ATA DISK drive hdg: IC35L060AVER07-0, ATA DISK drive ide2 at 0xbc00-0xbc07,0xc002 on irq 11 ide3 at 0xc400-0xc407,0xc802 on irq 11 Floppy drive(s): fd0 is 1.44M FDC 0 is a post-1991 82077 loop: loaded (max 8 devices) eepro100.c:v1.09j-t 9/29/99 Donald Becker http://cesdis.gsfc.nasa.gov/linux/drivers/eepro100.html eepro100.c: $Revision: 1.36 $ 2000/11/17 Modified by Andrey V. Savochkin <saw@xxxxxxxxxxxxx> and others PCI: Found IRQ 15 for device 00:0a.0 IRQ routing conflict for 00:07.2, have irq 9, want irq 15 IRQ routing conflict for 00:07.3, have irq 9, want irq 15 eth0: Intel Corporation 82557 [Ethernet Pro 100], 00:90:27:12:A7:FC, IRQ 15. Receiver lock-up bug exists -- enabling work-around. Board assembly 689661-004, Physical connectors present: RJ45 Primary interface chip i82555 PHY #1. General self-test: passed. Serial sub-system self-test: passed. Internal registers self-test: passed. ROM checksum self-test: passed (0x24c9f043). Receiver lock-up workaround activated. pdc:0 ataraid_get_device before: ð?À <- stripe mode init starts bit: 0 pdc:0 ataraid_get_device in: ð?À out:0 device: 0 raidlevel 0 probedisk: major: 3 minor 0 read_disk_sb: device dosn't exist, return probedisk returned early probedisk: major: 3 minor 64 read_disk_sb: device dosn't exist, return probedisk returned early probedisk: major: 22 minor 0 read_disk_sb: device dosn't exist, return probedisk returned early probedisk: major: 22 minor 64 read_disk_sb: device dosn't exist, return probedisk returned early probedisk: major: 33 minor 0 calc_pdcblock_offset: capacity 0 , head 0 , sect 0 <- hde I think read_disk_sb: offsett 0 probedisk returned early probedisk: major: 33 minor 64 read_disk_sb: offsett 0 probedisk returned early probedisk: major: 34 minor 0 calc_pdcblock_offset: capacity 0 , head 0 , sect 0 <- hdg ? read_disk_sb: offsett 0 probedisk returned early probedisk: major: 34 minor 64 read_disk_sb: offsett 0 probedisk returned early pdc:1 ataraid_get_device before: ð?À <- raid1 mode init start bit: 0 pdc:1 ataraid_get_device in: ð?À out:0 pdc:1 try init device: 0 raidlevel 1 probedisk: major: 3 minor 0 read_disk_sb: device dosn't exist, return probedisk returned early probedisk: major: 3 minor 64 read_disk_sb: device dosn't exist, return probedisk returned early probedisk: major: 22 minor 0 read_disk_sb: device dosn't exist, return probedisk returned early probedisk: major: 22 minor 64 read_disk_sb: device dosn't exist, return probedisk returned early probedisk: major: 33 minor 0 calc_pdcblock_offset: capacity 0 , head 0 , sect 0 read_disk_sb: offsett 0 probedisk returned early probedisk: major: 33 minor 64 read_disk_sb: offsett 0 probedisk returned early probedisk: major: 34 minor 0 calc_pdcblock_offset: capacity 0 , head 0 , sect 0 read_disk_sb: offsett 0 probedisk returned early probedisk: major: 34 minor 64 read_disk_sb: offsett 0 probedisk returned early pdc:1 after init -19 Promise Fasttrak(tm) Softwareraid driver 0.03beta: No raid array found LVM version 0.9.1_beta2 by Heinz Mauelshagen (18/01/2001) lvm -- Driver successfully initialized NET4: Linux TCP/IP 1.0 for NET4.0 IP Protocols: ICMP, UDP, TCP, IGMP IP: routing cache hash table of 4096 buckets, 32Kbytes TCP: Hash tables configured (established 32768 bind 32768) ip_conntrack (4095 buckets, 32760 max) ip_tables: (c)2000 Netfilter core team NET4: Unix domain sockets 1.0/SMP for Linux NET4.0. IPv6 v0.8 for NET4.0 IPv6 over IPv4 tunneling driver ip6_tables: (c)2000 Netfilter core team VFS: Insert root floppy disk to be loaded into RAM disk and press ENTER VFS: Disk change detected on device fd(2,0) RAMDISK: Compressed image found at block 0 VFS: Mounted root (ext2 filesystem) readonly. Freeing unused kernel memory: 224k freed VFS: Disk change detected on device fd(2,0) -*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* **** Eerin Rosenström **** ** Servinmaijantie 12 F 77 ** ** 02150 Espoo ** ** p. +358 9 4682997 ** **** p.040-5205030/050-5472631 **** -*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*