Subject: Help - Probs with 2.4 kernel and IDE controller
From: John L Grantham (john@grantham.com)
Date: Thu Jun 22 2000 - 06:57:49 MDT
Hi all,
Since my Linux server was getting very full, I got an Ultra DMA-66
controller and IBM 30 GB hard drive. The controller is an Acard
AEC6260M, and the computer is a PowerMac 9500 with LinuxPPC 2000.
I got the kernel source via rsync from linuxcare.com.au for 2.4
(linux-pmac-devel) and compiled in the driver for that controller (it
appears the driver doesn't exist in the stable tree).
Side note: for some reason the tdfx driver didn't want to compile,
giving a parse error.
I turned off tdfx and compiled (see attached config), and booted with
the new kernel. But it hangs when it tries to access the new drive,
with this error:
Uniform Multi-Platform E-IDE Driver Revision: 6.31
ide: assuming 33MHz system bus speed for PIO nodes; override with idebus=xx
AEC6260R: IDE controller on PCI bus 00 dev 70
AEC6260R: chipset revision 1
AEC6260R: not 100% native mode: will probe irqs later
AEC6260R: ROM enabled at 0x80820000
ide2: BM-DMA at 0x0c00-0x0c07, BIOS settings: hde:pio, hdf:pio
ide3: BM-DMA at 0x0c08-0x0c0f, BIOS settings: hdg:pio, hdh:pio
hde: IBM-DTLA-307030, ATA DISK drive
ide2 at 0xc40-0xc47,0x000 on irq 24
hde: 60036480 sectors (30739 MB) w/1916KiB Cache, CHS=59560/16/63, UDMA(66)
Partition check:
hde:Machine check in kernel mode.
Caused by (from SRR1=c1030): Unknown values in msr
NIP: C00E5640 XER: 00000000 LR: C00E55D8 REGS: c022fd10 TRAP: 0200
MSR: 000c1030 EE: 0 PR: 0 FP: 0 ME: 1 IR/DR: 11
TASK = c022e000[0] 'swapper' Last syscall: 120
last math 00000000 last altivec 00000000
GPR00: 00000000 C022FDC0 C022E000 00000001 00001032 C02305C8 01000000 C02C81F8
GPR08: 00000000 00000000 C0250000 C02D533C 24888024 002F90A8 00000000 00000000
GPR16: 00000000 00000000 00000000 00000000 00001032 C01C5190 C02B1730 C0230000
GPR24: C02B0000 C02A0000 C02CA9A0 C0757278 C02D533C C02D53A4 C0757260 C00F03E8
The above was generated with the parameter "ide2=noprobe". I also
tried "ide2=noautotune", with no luck. A look in
/usr/src/linux/Documentation/ide.txt didn't shed any light on it for
me.
I also tried running the shell script
/usr/src/linux/scripts/MAKEDEV.ide, to no avail.
The drive itself works fine under MacOS 7.5.3, and is already
partitioned and formatted for ext2fs using Drive Setup from OS 9 and
checked with pdisk under 7.5.3.
Here is the partition map:
Partition map (with 512 byte blocks) on '/dev/scsi2.0' (/dev/sdb)
#: type name length base ( size )
1: Apple_partition_map Apple 63 @ 1
2: Apple_Driver43*Macintosh 54 @ 64
3: Apple_Driver43*Macintosh 74 @ 118
4: Apple_Driver_IOKit Macintosh 512 @ 192
5: Apple_Patches Patch Partition 512 @ 704
6: Apple_HFS untitled 409600 @ 1216 (200.0M)
7: Apple_UNIX_SVR2 A/UX Root 2048000 @ 410816 (1000.0M)
8: Apple_UNIX_SVR2 Swap 524288 @ 2458816 (256.0M)
9: Apple_UNIX_SVR2 Usr file system 10240000 @ 2983104 ( 4.9G)
10: Apple_UNIX_SVR2 Home file system 40960000 @ 13223104 ( 19.5G)
11: Apple_UNIX_SVR2 Usr file system 2048000 @ 54183104 (1000.0M)
12: Apple_UNIX_SVR2 Usr file system 1757366 @ 56231104 (858.1M)
13: Apple_UNIX_SVR2 Home file system 2048000 @ 57988470 (1000.0M)
14: Apple_Free Extra 10 @ 60036470
Device block size=512, Number of Blocks=60036479 (28.6G)
DeviceType=0x0, DeviceId=0x0
Drivers-
1: @ 64 for 22, type=0x1
2: @ 118 for 36, type=0xffff
Note that the controller does SCSI emulation under MacOS, but under
Linux appears as an IDE bus.
Linux is booting fine from /dev/sda, which is a SCSI disk on the
internal bus. (I replaced the other internal SCSI disk with the new
IDE drive -- the old drive had my /home partition.)
Any ideas?
cya
John
--John Grantham | Dipl.-Designer (FH) | Homepage http://surf.to/multimedia | Linux for Macs: http://www.maclinux.de/
This archive was generated by hypermail 2a24 : Thu Jun 22 2000 - 07:00:37 MDT