[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Mac 7200 (PPC) sees Promise controller.. BUT NO DRIVES



On Fri, 11 Apr 2003, Benjamin Herrenschmidt wrote:

> On Fri, 2003-04-11 at 16:24, Jessica Blank wrote:
> > I am having a big problem here.
> >
> > My nice little "CD burning server", under my bed, is crippled because the
> > large (40GB) IDE drive in it simply does not detect.
> >
> > This is a KNOWN WORKING drive. I just pulled it out of a working system.
> >
> > I've tried compiling IDE Disk Support and the Promise controller driver
> > (the two necessary modules, of course) as modules, and I've tried
> > compiling them straight into the kernel. NEITHER WORKS.
> >
> > When I insert ide-mod and ide-disk, I get:
> >
> > Apr 11 10:19:28 gandalf kernel: Uniform Multi-Platform E-IDE driver
> > Revision: 6.31
> > Apr 11 10:19:28 gandalf kernel: ide: Assuming 33MHz system bus speed for
> > PIO modes; override with idebus=xx
> > Apr 11 10:19:28 gandalf kernel: PDC20246: IDE controller on PCI bus 00 dev
> > 70
> > Apr 11 10:19:28 gandalf kernel: PDC20246: chipset revision 1
> > Apr 11 10:19:28 gandalf kernel: PDC20246: not 100%% native mode: will
> > probe irqs later
> > Apr 11 10:19:28 gandalf kernel: PDC20246: ROM enabled at 0x80810000
> > Apr 11 10:19:28 gandalf kernel: PDC20246: (U)DMA Burst Bit DISABLED
> > Primary PCI Mode Secondary PCI Mode.
> > Apr 11 10:19:28 gandalf kernel:     ide2: BM-DMA at 0x0800-0x0807, BIOS
> > settings: hde:DMA, hdf:DMA
> > Apr 11 10:19:28 gandalf kernel:     ide3: BM-DMA at 0x0808-0x080f, BIOS
> > settings: hdg:DMA, hdh:DMA
> >
> > .......however, as you can see, it does not detect the disk itself!
>
> Actually, I can't see as the disk probing happens later during boot...
>

These messages weren't FROM the boot. I already tried compiling the
ide-disk and ide-mod modules into the kernel... they did not work. So,
getting sick and tired of rebooting the machine around 50 times, I decided
to compile them as modules, so I could quickly work on them, insmod them
and rmmod them.

> > This is very frustrating.
> >
> > And yes, I have already checked the connections to the disk. They are
> > fine. :)
>
> Can you send me the complete dmesg log along with the version of the
> kernel you are using ?
>

2.4.20 and... the dmesg is attached. Also, below (in case y'all wanna read
it inline). NOTE: Again, I compiled ide-mod and ide-disk AS MODULES after
getting SICK AND TIRED OF REBOOTING since compiling them into the kernel
itself didn't work either... at the end of this log, you can see the
output generated by me insmodding ide-mod and then ide-disk, twice. As you
can see, ide-mod seems to see the controller (it's a Promise Ultra
DMA/33) but no disks, and ide-disk doesn't seem to do anything useful at
all...

HEeeeeeeeeeeeeeeeeeeeeeelpp!!!

Many thanks in advance, Ben ^_^

> Ben.
>

J e s s i c a    L e a h    B l a n k


LOG FOLLOWS:

Memory BAT mapping: BAT2=8Mb, BAT3=8Mb, residual: 64Mb
Total memory = 80MB; using 256kB for hash table (at c02c0000)
Linux version 2.4.20 (root@gandalf) (gcc version 2.95.4 20011002 (Debian prerelease)) #4 Fri Apr 11 00:00:25 EDT 2003
Found a Grand Central mac-io controller, rev: 2, mapped at 0xfdf00000
PowerMac motherboard: Unknown PowerSurge
Cache coherency enabled for bandit/PSX
Found Bandit PCI host bridge at 0xf2000000. Firmware bus number: 0->0
On node 0 totalpages: 20480
zone(0): 20480 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: root=/dev/sda6 rw
System has 32 possible interrupts
GMT Delta read from XPRAM: 0 minutes, DST: off
Console: colour dummy device 80x25
Calibrating delay loop... 89.49 BogoMIPS
Memory: 78076k available (1516k kernel code, 960k data, 116k init, 0k highmem)
Dentry cache hash table entries: 16384 (order: 5, 131072 bytes)
Inode cache hash table entries: 8192 (order: 4, 65536 bytes)
Mount-cache hash table entries: 2048 (order: 2, 16384 bytes)
Buffer-cache hash table entries: 4096 (order: 2, 16384 bytes)
Page-cache hash table entries: 32768 (order: 5, 131072 bytes)
POSIX conformance testing by UNIFIX
PCI: Probing PCI hardware
Macintosh CUDA driver v0.5 for Unified ADB.
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
NTFS driver v1.1.22 [Flags: R/O]
i2c-core.o: i2c core module
Total VRAM = 1MB 0001
Monitor sense value = 0x62b, using video mode 12 and color mode 1.
Console: switching to colour frame buffer device 100x37
fb0: platinum frame buffer device
input0: Macintosh mouse button emulation
pty: 256 Unix98 ptys configured
fd0: SWIM3 floppy controller
loop: loaded (max 8 devices)
Linux Tulip driver version 0.9.15-pre12 (Aug 9, 2002)
PCI: Enabling device 00:0d.0 (0084 -> 0087)
tulip0: no phy info, aborting mtable build
eth0: Macronix 98715 PMAC rev 37 at 0x400, 00:20:78:E1:58:0C, IRQ 23.
Universal TUN/TAP device driver 1.5 (C)1999-2002 Maxim Krasnyansky
SCSI subsystem driver Revision: 1.00
mesh: configured for synchronous 5 MB/s
scsi0 : 53C94
  Vendor: SEAGATE   Model: ST32171N          Rev: 0484
  Type:   Direct-Access                      ANSI SCSI revision: 02
  Vendor: YAMAHA    Model: CRW4416S          Rev: 1.0f
  Type:   CD-ROM                             ANSI SCSI revision: 02
Attached scsi disk sda at scsi0, channel 0, id 1, lun 0
SCSI device sda: 4223444 512-byte hdwr sectors (2162 MB)
Partition check:
 sda: [mac] sda1 sda2 sda3 sda4 sda5 sda6
Attached scsi CD-ROM sr0 at scsi0, channel 0, id 2, lun 0
sr0: scsi3-mmc drive: 16x/16x writer cd/rw xa/form2 cdda tray
Uniform CD-ROM driver Revision: 3.12
dmasound_pmac: Awacs/Screamer Codec Mfct: 1 Rev 2
PowerMac AWACS rev 2  DMA sound driver rev 016 installed
Core driver edition 01.06 : PowerMac Built-in Sound driver edition 00.07
Write will use    4 fragments of   32768 bytes as default
Read  will use    4 fragments of   32768 bytes as default
Macintosh non-volatile memory driver v1.0
mice: PS/2 mouse device common for all mice
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 8192 bind 8192)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
NET4: AppleTalk 0.18a for Linux NET4.0
adb: starting probe task...
EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended
VFS: Mounted root (ext2 filesystem).
Freeing unused kernel memory: 116k init 8k chrp 8k prep
adb devices: [2]: 2 8 [3]: 3 32 [15]: 3 1
ADB keyboard at 2, handler 1
Detected ADB keyboard, type ANSI.
input1: ADB HID on ID 2:2.08
ADB mouse at 3, handler 1
input2: ADB HID on ID 3:3.32
ADB mouse at 15, handler set to 4 (TurboMouse 5)
input3: ADB HID on ID 15:3.01
adb: finished probe task...
Uniform Multi-Platform E-IDE driver Revision: 6.31
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
PDC20246: IDE controller on PCI bus 00 dev 70
PCI: Enabling device 00:0e.0 (0004 -> 0005)
PDC20246: chipset revision 1
PDC20246: not 100% native mode: will probe irqs later
PDC20246: ROM enabled at 0x80810000
PDC20246: (U)DMA Burst Bit DISABLED Primary PCI Mode Secondary PCI Mode.
    ide2: BM-DMA at 0x0800-0x0807, BIOS settings: hde:DMA, hdf:DMA
    ide3: BM-DMA at 0x0808-0x080f, BIOS settings: hdg:DMA, hdh:DMA
Uniform Multi-Platform E-IDE driver Revision: 6.31
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
PDC20246: IDE controller on PCI bus 00 dev 70
PDC20246: chipset revision 1
PDC20246: not 100% native mode: will probe irqs later
PDC20246: ROM enabled at 0x80810000
PDC20246: (U)DMA Burst Bit DISABLED Primary PCI Mode Secondary PCI Mode.
    ide2: BM-DMA at 0x0800-0x0807, BIOS settings: hde:DMA, hdf:DMA
    ide3: BM-DMA at 0x0808-0x080f, BIOS settings: hdg:DMA, hdh:DMA
Memory BAT mapping: BAT2=8Mb, BAT3=8Mb, residual: 64Mb
Total memory = 80MB; using 256kB for hash table (at c02c0000)
Linux version 2.4.20 (root@gandalf) (gcc version 2.95.4 20011002 (Debian prerelease)) #4 Fri Apr 11 00:00:25 EDT 2003
Found a Grand Central mac-io controller, rev: 2, mapped at 0xfdf00000
PowerMac motherboard: Unknown PowerSurge
Cache coherency enabled for bandit/PSX
Found Bandit PCI host bridge at 0xf2000000. Firmware bus number: 0->0
On node 0 totalpages: 20480
zone(0): 20480 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: root=/dev/sda6 rw
System has 32 possible interrupts
GMT Delta read from XPRAM: 0 minutes, DST: off
Console: colour dummy device 80x25
Calibrating delay loop... 89.49 BogoMIPS
Memory: 78076k available (1516k kernel code, 960k data, 116k init, 0k highmem)
Dentry cache hash table entries: 16384 (order: 5, 131072 bytes)
Inode cache hash table entries: 8192 (order: 4, 65536 bytes)
Mount-cache hash table entries: 2048 (order: 2, 16384 bytes)
Buffer-cache hash table entries: 4096 (order: 2, 16384 bytes)
Page-cache hash table entries: 32768 (order: 5, 131072 bytes)
POSIX conformance testing by UNIFIX
PCI: Probing PCI hardware
Macintosh CUDA driver v0.5 for Unified ADB.
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
NTFS driver v1.1.22 [Flags: R/O]
i2c-core.o: i2c core module
Total VRAM = 1MB 0001
Monitor sense value = 0x62b, using video mode 12 and color mode 1.
Console: switching to colour frame buffer device 100x37
fb0: platinum frame buffer device
input0: Macintosh mouse button emulation
pty: 256 Unix98 ptys configured
fd0: SWIM3 floppy controller 
loop: loaded (max 8 devices)
Linux Tulip driver version 0.9.15-pre12 (Aug 9, 2002)
PCI: Enabling device 00:0d.0 (0084 -> 0087)
tulip0: no phy info, aborting mtable build
eth0: Macronix 98715 PMAC rev 37 at 0x400, 00:20:78:E1:58:0C, IRQ 23.
Universal TUN/TAP device driver 1.5 (C)1999-2002 Maxim Krasnyansky
SCSI subsystem driver Revision: 1.00
mesh: configured for synchronous 5 MB/s
scsi0 : 53C94
  Vendor: SEAGATE   Model: ST32171N          Rev: 0484
  Type:   Direct-Access                      ANSI SCSI revision: 02
  Vendor: YAMAHA    Model: CRW4416S          Rev: 1.0f
  Type:   CD-ROM                             ANSI SCSI revision: 02
Attached scsi disk sda at scsi0, channel 0, id 1, lun 0
SCSI device sda: 4223444 512-byte hdwr sectors (2162 MB)
Partition check:
 sda: [mac] sda1 sda2 sda3 sda4 sda5 sda6
Attached scsi CD-ROM sr0 at scsi0, channel 0, id 2, lun 0
sr0: scsi3-mmc drive: 16x/16x writer cd/rw xa/form2 cdda tray
Uniform CD-ROM driver Revision: 3.12
dmasound_pmac: Awacs/Screamer Codec Mfct: 1 Rev 2
PowerMac AWACS rev 2  DMA sound driver rev 016 installed
Core driver edition 01.06 : PowerMac Built-in Sound driver edition 00.07
Write will use    4 fragments of   32768 bytes as default
Read  will use    4 fragments of   32768 bytes as default
Macintosh non-volatile memory driver v1.0
mice: PS/2 mouse device common for all mice
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 8192 bind 8192)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
NET4: AppleTalk 0.18a for Linux NET4.0
adb: starting probe task...
EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended
VFS: Mounted root (ext2 filesystem).
Freeing unused kernel memory: 116k init 8k chrp 8k prep
adb devices: [2]: 2 8 [3]: 3 32 [15]: 3 1
ADB keyboard at 2, handler 1
Detected ADB keyboard, type ANSI.
input1: ADB HID on ID 2:2.08
ADB mouse at 3, handler 1
input2: ADB HID on ID 3:3.32
ADB mouse at 15, handler set to 4 (TurboMouse 5)
input3: ADB HID on ID 15:3.01
adb: finished probe task...
Uniform Multi-Platform E-IDE driver Revision: 6.31
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
PDC20246: IDE controller on PCI bus 00 dev 70
PCI: Enabling device 00:0e.0 (0004 -> 0005)
PDC20246: chipset revision 1
PDC20246: not 100% native mode: will probe irqs later
PDC20246: ROM enabled at 0x80810000
PDC20246: (U)DMA Burst Bit DISABLED Primary PCI Mode Secondary PCI Mode.
    ide2: BM-DMA at 0x0800-0x0807, BIOS settings: hde:DMA, hdf:DMA
    ide3: BM-DMA at 0x0808-0x080f, BIOS settings: hdg:DMA, hdh:DMA
Uniform Multi-Platform E-IDE driver Revision: 6.31
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
PDC20246: IDE controller on PCI bus 00 dev 70
PDC20246: chipset revision 1
PDC20246: not 100% native mode: will probe irqs later
PDC20246: ROM enabled at 0x80810000
PDC20246: (U)DMA Burst Bit DISABLED Primary PCI Mode Secondary PCI Mode.
    ide2: BM-DMA at 0x0800-0x0807, BIOS settings: hde:DMA, hdf:DMA
    ide3: BM-DMA at 0x0808-0x080f, BIOS settings: hdg:DMA, hdh:DMA

Reply to: