XRAID support in 2.6.10-1

All kernel questions! 2.4 or new 2.6 kernel, compiling, modules, panics, etc.

XRAID support in 2.6.10-1

Postby tiborg » 27 Apr 2005, 08:50

I have a rev2 XServe Dual G4 1.33GHz with a 2TB XRAID attached. I've tried applying the setting mentioned in http://www.yellowdoglinux.com/support/solutions/ydl_4.0/fibrechannel.shtml using kernel-2.6.10-ppc-smp.config as my base config file. When I reboot the machine and point it towards my new kernel, the boot process hangs after the following is displayed:

PCI: Cannot allocate resource region 0 of device 0001:12:03.1
PCI: Cannot allocate resource region 0 of device 0002:22:0d.0
mac serial: can't request IO resource !
ide-pmac: cannot find MacIO node for Kauai ATA interface
hda: MDMA, cycleTime: 120, accessTime:75, recTime:45
hda: Set MDMA timing for mode 2, reg: 0x0001978c

Those same lines are displayed when the original working kernel boots also. It's normally followed by a crc error and then the system continues to boot.

I've tried compiling the kernel using just the kernel-2.6.10-ppc-smp.config without modification and it boots fine, but adding the RAID support seems to be a no-go.

Has anyone successfully built a 2.6.10-1.smp kernel that works on a Xserve G4 with XRAID?

Update:
I've rebuilt the kernel with the mptbase and mptscsih drivers as modules instead of inside the kernel as the original instructions suggest. If I add the lines:

alias scsi_hostadapter mptbase
alias scsi_hostadapter1 mptscsih

to the /etc/modprobe.conf file, the system will freeze when trying to discover new hardware at boot. I commented out the two lines, rebooted and then tried to manually load the modules. The mptbase module loaded with the following output to the syslog:

Apr 28 11:39:46 nx-01a kernel: Fusion MPT base driver 3.01.18
Apr 28 11:39:46 nx-01a kernel: Copyright (c) 1999-2004 LSI Logic Corporation
Apr 28 11:39:46 nx-01a kernel: PCI: Enabling device 0001:12:03.0 (0004 -> 0007)
Apr 28 11:39:46 nx-01a kernel: mptbase: Initiating ioc0 bringup
Apr 28 11:39:46 nx-01a kernel: ioc0: FC929: Capabilities={Initiator,Target,LAN}
Apr 28 11:39:47 nx-01a kernel: PCI: Enabling device 0001:12:03.1 (0004 -> 0007)
Apr 28 11:39:47 nx-01a kernel: mptbase: Initiating ioc1 bringup
Apr 28 11:39:47 nx-01a kernel: ioc1: FC929: Capabilities={Initiator,Target,LAN}

Then when trying to load mptscsih:
Apr 28 11:43:39 nx-01a kernel: Fusion MPT SCSI Host driver 3.01.18
Apr 28 11:43:39 nx-01a kernel: scsi0 : ioc0: LSIFC929, FwRev=01000600h, Ports=1, MaxQ=1023, IRQ=53
Apr 28 11:43:39 nx-01a kernel: mptbase: ioc0: LogInfo(0x27002712): SubCl={State Change Info}
Apr 28 11:43:39 nx-01a kernel: mptbase: ioc1: LogInfo(0x27002712): SubCl={State Change Info}
Apr 28 11:43:45 nx-01a kernel: mptscsih: ioc0: >> Attempting task abort! (sc=ee400cc0)
Apr 28 11:43:45 nx-01a kernel: mptscsih: ioc0: WARNING - Error issuing abort task! (sc=ee400cc0)
Apr 28 11:43:45 nx-01a kernel: mptscsih: ioc0: >> Attempting target reset! (sc=ee400cc0)
Apr 28 11:43:45 nx-01a kernel: mptscsih: ioc0: WARNING - Error processing TaskMgmt request (sc=ee400cc0)
Apr 28 11:43:45 nx-01a kernel: mptscsih: ioc0: >> Attempting bus reset! (sc=ee400cc0)
Apr 28 11:43:45 nx-01a kernel: mptbase: Initiating ioc0 recovery
Apr 28 11:43:45 nx-01a kernel: mptbase: ioc0: WARNING - IOC is in FAULT state!!!
Apr 28 11:43:45 nx-01a kernel: FAULT code = 2712h
Apr 28 11:43:46 nx-01a kernel: mptbase: ioc0: Recovered from IOC FAULT
Apr 28 11:43:57 nx-01a kernel: mptscsih: ioc0: >> Attempting host reset! (sc=ee400cc0)
Apr 28 11:43:57 nx-01a kernel: mptbase: Initiating ioc0 recovery
Apr 28 11:44:09 nx-01a kernel: scsi: Device offlined - not ready after error recovery: host 0 channel 0 id 0 lun 0
Apr 28 11:44:09 nx-01a kernel: scsi1 : ioc1: LSIFC929, FwRev=01000600h, Ports=1, MaxQ=1023, IRQ=53
Apr 28 11:44:09 nx-01a kernel: mptbase: ioc0: LogInfo(0x27002712): SubCl={State Change Info}
Apr 28 11:44:09 nx-01a kernel: mptbase: ioc1: LogInfo(0x27002712): SubCl={State Change Info}
Apr 28 11:44:15 nx-01a kernel: mptscsih: ioc1: >> Attempting task abort! (sc=ee400060)
Apr 28 11:44:15 nx-01a kernel: mptscsih: ioc1: WARNING - Error issuing abort task! (sc=ee400060)
Apr 28 11:44:15 nx-01a kernel: mptscsih: ioc1: >> Attempting target reset! (sc=ee400060)
Apr 28 11:44:15 nx-01a kernel: mptscsih: ioc1: WARNING - Error processing TaskMgmt request (sc=ee400060)
Apr 28 11:44:15 nx-01a kernel: mptscsih: ioc1: >> Attempting bus reset! (sc=ee400060)
Apr 28 11:44:15 nx-01a kernel: mptbase: Initiating ioc1 recovery
Apr 28 11:44:15 nx-01a kernel: mptbase: ioc1: WARNING - IOC is in FAULT state!!!
Apr 28 11:44:15 nx-01a kernel: FAULT code = 2712h
Apr 28 11:44:16 nx-01a kernel: mptbase: ioc1: Recovered from IOC FAULT

After that the system freezes and has to be reset.

Next Update:
Tried compiling the 2.8.6-1.ydl kernel with Fusion support built into the kernel and that worked. If anyone has succeeded with 2.8.10, please respond to this thread.
tiborg
ydl newbie
ydl newbie
 
Posts: 1
Joined: 26 Apr 2005, 07:47

Return to Kernel

Who is online

Users browsing this forum: No registered users and 2 guests