Please note: This is not a critical problem for me. I can just manually assemble the array after booting. I just get nervous when I can't get something simple like this to work.



RAID worked fine under TSL2.1, including auto detect on boot.

After upgrading to TSL2.2, running kernel 2.4.29, I don't get an "md: autorun ..." after it's just found a controller card that might (in fact, does) contain a valid RAID. The partitions are still type "0xfd".

I can then use mdadm to assemble the array and everything works fine.

The controller card is a bit odd and the drivers aren't in the kernel yet, but it does get detected on boot and has been very reliable. I've tried both the latest driver version and the version I used with TSL2.1 - no change. I had to add "-fno-stack-protector" to get them to compile under TSL2.2.

Anyway, the problem is not that the kernel "tries and fails" to detect the RAID - it just doesn't even try?

I can't find anything via google, or Usenet, or the kernel list about this. I can't find anything which turns this on/off in the kernel.

Is it just me or is it a Trustix thing?

Is this sort of thing working for anyone else?

I just don't know what else to try?


========== Example from Messages. Working under TSL 2.1 ==========
Nov 23 15:10:34 harris kernel: md: raid1 personality registered as nr 3
Nov 23 15:10:34 harris kernel: md: raid0 personality registered as nr 2
Nov 23 15:10:34 harris kernel: Found Controller: IT8212 UDMA/ATA133 RAID Controller
Nov 23 15:10:34 harris kernel: FindDevices: device 0 is IDE
Nov 23 15:10:34 harris kernel: Channel[0] BM-DMA at 0xE400-0xE407
Nov 23 15:10:34 harris kernel: FindDevices: device 2 is IDE
Nov 23 15:10:34 harris kernel: Channel[1] BM-DMA at 0xE408-0xE40F
Nov 23 15:10:34 harris kernel: scsi1 : RAIDExpress133
Nov 23 15:10:34 harris kernel: Vendor: ITE Model: IT8212F Rev: 1.3
Nov 23 15:10:34 harris xinetd[510]: Started working: 1 available service
Nov 23 15:10:34 harris kernel: Type: Direct-Access ANSI SCSI revision: 00
Nov 23 15:10:34 harris kernel: Vendor: ITE Model: IT8212F Rev: 1.3
Nov 23 15:10:34 harris kernel: Type: Direct-Access ANSI SCSI revision: 00
Nov 23 15:10:34 harris kernel: BAD TARGET
Nov 23 15:10:34 harris last message repeated 3 times
Nov 23 15:10:34 harris kernel: Attached scsi disk sda at scsi1, channel 0, id 0, lun 0
Nov 23 15:10:34 harris kernel: Attached scsi disk sdb at scsi1, channel 0, id 2, lun 0
Nov 23 15:10:34 harris kernel: SCSI device sda: 160836480 512-byte hdwr sectors (82348 MB)
Nov 23 15:10:34 harris kernel: sda: sda1 sda2
Nov 23 15:10:34 harris kernel: SCSI device sdb: 160836480 512-byte hdwr sectors (82348 MB)
Nov 23 15:10:34 harris kernel: sdb: sdb1 sdb2
Nov 23 15:10:34 harris kernel: md: Autodetecting RAID arrays.
Nov 23 15:10:34 harris kernel: [events: 00000018]
Nov 23 15:10:34 harris smb: smbd startup succeeded
Nov 23 15:10:34 harris kernel: [events: 00000018]
Nov 23 15:10:34 harris kernel: md: autorun ...
Nov 23 15:10:34 harris kernel: md: considering sdb1 ...
Nov 23 15:10:34 harris kernel: md: adding sdb1 ...
Nov 23 15:10:34 harris kernel: md: adding sda1 ...
Nov 23 15:10:34 harris kernel: md: created md1
Nov 23 15:10:34 harris kernel: md: bind<sda1,1>
Nov 23 15:10:34 harris kernel: md: bind<sdb1,2>
Nov 23 15:10:34 harris kernel: md: running: <sdb1><sda1>
Nov 23 15:10:34 harris kernel: md: sdb1's event counter: 00000018
Nov 23 15:10:34 harris kernel: md: sda1's event counter: 00000018
Nov 23 15:10:34 harris kernel: md1: max total readahead window set to 124k
Nov 23 15:10:34 harris kernel: md1: 1 data-disks, max readahead per data-disk: 124k
Nov 23 15:10:34 harris kernel: raid1: device sdb1 operational as mirror 1
Nov 23 15:10:34 harris kernel: raid1: device sda1 operational as mirror 0
Nov 23 15:10:34 harris kernel: raid1: raid set md1 active with 2 out of 2 mirrors
Nov 23 15:10:34 harris kernel: md: updating md1 RAID superblock on device
Nov 23 15:10:34 harris kernel: md: sdb1 [events: 00000019]<6>(write) sdb1's sb offset: 79417216
Nov 23 15:10:34 harris kernel: md: sda1 [events: 00000019]<6>(write) sda1's sb offset: 79417216
Nov 23 15:10:34 harris kernel: md: ... autorun DONE.
======================================================================




========== Example from Messages NOT Working under TSL 2.2 ==========
Feb 12 17:00:14 harris kernel: md: raid0 personality registered as nr 2
Feb 12 17:00:14 harris kernel: md: raid1 personality registered as nr 3
Feb 12 17:00:14 harris kernel: SCSI subsystem driver Revision: 1.00
Feb 12 17:00:14 harris kernel: Found Controller: IT8212 UDMA/ATA133 RAID Controller
Feb 12 17:00:14 harris kernel: FindDevices: device 0 is IDE
Feb 12 17:00:14 harris kernel: Channel[0] BM-DMA at 0xE400-0xE407
Feb 12 17:00:14 harris kernel: FindDevices: device 2 is IDE
Feb 12 17:00:14 harris xinetd[505]: xinetd Version 2.3.13 started with libwrap options compiled in.
Feb 12 17:00:14 harris kernel: Channel[1] BM-DMA at 0xE408-0xE40F
Feb 12 17:00:14 harris xinetd[505]: Started working: 1 available service
Feb 12 17:00:14 harris kernel: scsi0 : RAIDExpress133
Feb 12 17:00:14 harris kernel: Vendor: ITE Model: IT8212F Rev: 1.3
Feb 12 17:00:14 harris kernel: Type: Direct-Access ANSI SCSI revision: 00
Feb 12 17:00:14 harris kernel: Vendor: ITE Model: IT8212F Rev: 1.3
Feb 12 17:00:14 harris kernel: Type: Direct-Access ANSI SCSI revision: 00
Feb 12 17:00:14 harris kernel: Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
Feb 12 17:00:14 harris kernel: Attached scsi disk sdb at scsi0, channel 0, id 2, lun 0
Feb 12 17:00:14 harris kernel: SCSI device sda: 160836480 512-byte hdwr sectors (82348 MB)
Feb 12 17:00:14 harris kernel: sda: sda1 sda2
Feb 12 17:00:14 harris kernel: SCSI device sdb: 160836480 512-byte hdwr sectors (82348 MB)
Feb 12 17:00:14 harris kernel: sdb: sdb1 sdb2
======================================================================


                No further progress till I manually
                "mdadm --assemble /dev/md1 /dev/sda1 /dev/sdb1"
                messages then show this;

======================================================================
Feb 12 17:05:07 harris kernel: md: bind<sdb1,1>
Feb 12 17:05:07 harris kernel: [events: 00000002]
Feb 12 17:05:07 harris kernel: md: bind<sda1,2>
Feb 12 17:05:07 harris kernel: md: sda1's event counter: 00000002
Feb 12 17:05:07 harris kernel: md: sdb1's event counter: 00000002
Feb 12 17:05:07 harris kernel: md1: max total readahead window set to 124k
Feb 12 17:05:07 harris kernel: md1: 1 data-disks, max readahead per data-disk: 124k
Feb 12 17:05:07 harris kernel: raid1: device sda1 operational as mirror 0
Feb 12 17:05:07 harris kernel: raid1: device sdb1 operational as mirror 1
Feb 12 17:05:07 harris kernel: raid1: raid set md1 active with 2 out of 2 mirrors
Feb 12 17:05:07 harris kernel: md: updating md1 RAID superblock on device
Feb 12 17:05:07 harris kernel: md: sda1 [events: 00000003]<6>(write) sda1's sb offset: 79417216
Feb 12 17:05:07 harris kernel: md: sdb1 [events: 00000003]<6>(write) sdb1's sb offset: 79417216


======================================================================

--
Many thanks
TonyC


_______________________________________________ tsl-discuss mailing list [email protected] http://lists.trustix.org/mailman/listinfo/tsl-discuss

Reply via email to