From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Wed, 21 Aug 2002 19:20:12 -0400 From: Bill Fink To: Benjamin Herrenschmidt Cc: rwaldrop@sbcglobal.net, linuxppc-dev@lists.linuxppc.org, Bill Fink Subject: Re: aic7xxx breakage Message-Id: <20020821192012.7704ccf2.billfink@mindspring.com> In-Reply-To: <20020821101216.4855@192.168.4.1> References: <20020811084124.10190@192.168.4.1> <20020821101216.4855@192.168.4.1> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: owner-linuxppc-dev@lists.linuxppc.org List-Id: On Wed, 21 Aug 2002, Benjamin Herrenschmidt wrote: > Is it any better with my current tree ? > > If it boots, please send me lspci -vv & dmesg output. > > Ben. Hi Ben, Yes it boots and now sees my SCSI devices (no more PCI resource allocation error)! -Thanks -Bill lspci -vv: -------------------------------------------------------------------------------- 00:0b.0 Host bridge: Apple Computer Inc.: Unknown device 0020 Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap+ 66Mhz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- SERR- 00:10.0 VGA compatible controller: ATI Technologies Inc Rage 128 PF (prog-if 00 [VGA]) Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping+ SERR- FastB2B- Status: Cap+ 66Mhz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- SERR- 10:0b.0 Host bridge: Apple Computer Inc.: Unknown device 001f Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap- 66Mhz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- SERR- TAbort- SERR- Reset- FastB2B- Capabilities: 11:04.0 SCSI storage controller: Adaptec AHA-7850 (rev 03) Subsystem: Adaptec AHA-2904/Integrated AIC-7850 Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- SERR- 11:07.0 Class ff00: Apple Computer Inc.: Unknown device 0022 (rev 03) Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap- 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- 21:0b.0 Host bridge: Apple Computer Inc.: Unknown device 001e Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap- 66Mhz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- SERR- TAbort- SERR- 0 hose pci, pci_mem_offset: 00000000, start0: f1000000 io_base_virt: fd6b8000, io_base_phys: f0000000, isa_mem_base: 00000000 Found UniNorth PCI host bridge at 0xf2000000. Firmware bus number: 0->1 hose pci, pci_mem_offset: 00000000, start0: f3000000 io_base_virt: fceb6000, io_base_phys: f2000000, isa_mem_base: 00000000 Found UniNorth PCI host bridge at 0xf4000000. Firmware bus number: 0->0 hose pci, pci_mem_offset: 00000000, start0: f5000000 io_base_virt: fc6b4000, io_base_phys: f4000000, isa_mem_base: 00000000 PMU driver 2 initialized for Core99, firmware: 0c On node 0 totalpages: 196608 zone(0): 196608 pages. zone(1): 0 pages. zone(2): 0 pages. Kernel command line: root=/dev/hda14 PowerMac using OpenPIC irq controller OpenPIC Version 1.2 (4 CPUs and 64 IRQ sources) at fc66d000 OpenPIC timer frequency is 4.166666 MHz GMT Delta read from XPRAM: -240 minutes, DST: on via_calibrate_decr: ticks per jiffy = 249079 (1494474 ticks) Console: colour dummy device 80x25 Calibrating delay loop... 996.14 BogoMIPS Memory: 770524k available (2448k kernel code, 1164k data, 164k init, 0k highmem) AGP special page: 0xeffff000 Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes) Inode cache hash table entries: 65536 (order: 7, 524288 bytes) Mount-cache hash table entries: 16384 (order: 5, 131072 bytes) Buffer-cache hash table entries: 65536 (order: 6, 262144 bytes) Page-cache hash table entries: 262144 (order: 8, 1048576 bytes) POSIX conformance testing by UNIFIX PCI: Probing PCI hardware Scanning bus 00 Found 00:58 [106b/0020] 000600 00 Found 00:80 [1002/5046] 000300 00 Fixup res 1 (101) of dev 00:10.0: 400 -> 802400 Fixups for bus 00 Bus scan for 00 returning with max=00 Scanning bus 10 Found 10:58 [106b/001f] 000600 00 Found 10:68 [1011/0026] 000604 01 Fixups for bus 10 Scanning behind PCI bridge 10:0d.0, config 010100, pass 0 Scanning behind PCI bridge 10:0d.0, config 010100, pass 1 Scanning bus 11 Found 11:20 [9004/5078] 000100 00 Found 11:38 [106b/0022] 00ff00 00 Found 11:40 [106b/0019] 000c03 00 Found 11:48 [106b/0019] 000c03 00 Found 11:50 [104c/8020] 000c00 00 Fixups for bus 11 bridge resource 0, base: 1000, limit: 0 bridge resource 1, base: 80000000, limit: 80000000 bridge resource 2, base: 80000000, limit: 7ff00000 Bus scan for 11 returning with max=11 Bus scan for 10 returning with max=11 Scanning bus 21 Found 21:58 [106b/001e] 000600 00 Found 21:78 [106b/0021] 000200 00 Fixups for bus 21 Bus scan for 21 returning with max=21 PCI->OF bus map: 0 -> 0 16 -> 0 17 -> 1 33 -> 0 PCI:00:10.0: Resource 0: 94000000-97ffffff (f=1208), vd: 1002, dev: 5046 PCI:00:10.0: Resource 2: 90000000-90003fff (f=200), vd: 1002, dev: 5046 PCI:11:07.0: Resource 0: 80000000-8007ffff (f=200), vd: 106b, dev: 0022 PCI:21:0f.0: Resource 0: f5200000-f53fffff (f=200), vd: 106b, dev: 0021 PCI:00:10.0: Resource 1: 00802400-008024ff (f=101), vd: 1002, dev: 5046 PCI:11:04.0: Resource 1: 80083000-80083fff (f=200), vd: 9004, dev: 5078 PCI:11:08.0: Resource 0: 80082000-80082fff (f=200), vd: 106b, dev: 0019 PCI:11:09.0: Resource 0: 80081000-80081fff (f=200), vd: 106b, dev: 0019 PCI:11:0a.0: Resource 0: 80080000-800807ff (f=200), vd: 104c, dev: 8020 PCI:11:0a.0: Resource 1: 80084000-80087fff (f=200), vd: 104c, dev: 8020 Fixing up IO bus PCI Bus #11 Trying to allocate from 00001000, size 00000fff from parent res 0: 00000000 -> 007fffff Remapping Bus 17, bridge: Digital Equipment Corporation DECchip 21154 IO window: 00001000-00001fff PCI: Enabling device 11:04.0 (0014 -> 0017) Linux NET4.0 for Linux 2.4 Based upon Swansea University Computer Society NET3.039 Initializing RT netlink socket Starting kswapd VFS: Diskquotas version dquot_6.4.0 initialized Journalled Block Device driver loaded devfs: v1.12c (20020818) Richard Gooch (rgooch@atnf.csiro.au) devfs: boot_options: 0x0 Installing knfsd (copyright (C) 1996 okir@monad.swb.de). udf: registering filesystem i2c-core.o: i2c core module PCI: Enabling device 00:10.0 (0086 -> 0087) aty128fb: Rage128 Pro PF (AGP) [chip rev 0x1] 16M 128-bit SDR SGRAM (1:1) Console: switching to colour frame buffer device 128x48 fb0: ATY Rage128 frame buffer device on PCI input0: Macintosh mouse button emulation pty: 256 Unix98 ptys configured Uniform Multi-Platform E-IDE driver Revision: 6.31 ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx pmac_ide: enabling IDE bus ID 2 pmac_ide: enabling IDE bus ID 0 pmac_ide: enabling IDE bus ID 1 Probing IDE interface ide0... Waiting busy 0... wait_busy: last stat: 50, timeout: 59999 -> 1, selecting... Waiting busy 1... wait_busy: last stat: 50, timeout: 9999 -> 1, selecting... Waiting busy 2... wait_busy: last stat: 50, timeout: 9999 -> 1, ready for probe. hda: WDC WD800JB-00CRA1, ATA DISK drive hdb: IBM-DTLA-307045, ATA DISK drive Probing IDE interface ide1... Waiting busy 0... wait_busy: last stat: 00, timeout: 59999 -> 1, selecting... Waiting busy 1... wait_busy: last stat: 00, timeout: 9999 -> 1, selecting... Waiting busy 2... wait_busy: last stat: 00, timeout: 9999 -> 1, ready for probe. hdc: MATSHITADVD-RAM LF-D211A, ATAPI CD/DVD-ROM drive Probing IDE interface ide2... Waiting busy 0... wait_busy: last stat: 00, timeout: 59999 -> 1, selecting... Waiting busy 1... wait_busy: last stat: 00, timeout: 9999 -> 1, selecting... Waiting busy 2... wait_busy: last stat: 00, timeout: 9999 -> 1, ready for probe. ide0 at 0xf520f000-0xf520f007,0xf520f160 on irq 19 ide1 at 0xf5213000-0xf5213007,0xf5213160 on irq 20 hda: Enabling Ultra DMA 4 ide_pmac: Set UDMA timing for mode 4, reg: 0x0c50038c hda: 156301488 sectors (80026 MB) w/8192KiB Cache, CHS=155061/16/63, UDMA(66) hdb: Enabling Ultra DMA 4 ide_pmac: Set UDMA timing for mode 4, reg: 0x0c50038c hdb: 80041248 sectors (40981 MB) w/1916KiB Cache, CHS=79406/16/63, UDMA(66) hdc: Enabling MultiWord DMA 2 ide_pmac: MDMA, cycleTime: 120, accessTime: 90, recTime: 30 ide_pmac: Set MDMA timing for mode 2, reg: 0x00011d26 hdc: ATAPI DVD-ROM DVD-RAM drive, 1024kB Cache, (U)DMA Uniform CD-ROM driver Revision: 3.12 ide-floppy driver 0.99.newide Partition check: /dev/ide/host0/bus0/target0/lun0: [mac] p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p12 p13 p14 p15 p16 p17 p18 /dev/ide/host0/bus0/target1/lun0: [mac] p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p12 p13 p14 p15 p16 p17 RAMDISK driver initialized: 16 RAM disks of 16384K size 1024 blocksize loop: loaded (max 8 devices) PPP generic driver version 2.4.2 PPP Deflate Compression module registered Linux agpgart interface v0.99 (c) Jeff Hartmann agpgart: Maximum main memory to use for agp memory: 691M agpgart: Detected Apple UniNorth chipset agp: configuring for size idx: 4 agpgart: AGP aperture is 16M @ 0x0 [drm] AGP 0.99 on Unknown @ 0x00000000 16MB [drm] Initialized r128 2.2.0 20010917 on minor 0 ide-floppy driver 0.99.newide SCSI subsystem driver Revision: 1.00 scsi0 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 6.2.8 aic7850: Ultra Single Channel A, SCSI Id=7, 3/253 SCBs blk: queue efcf2e18, I/O limit 4095Mb (mask 0xffffffff) Vendor: QUANTUM Model: XP34550S Rev: LYK8 Type: Direct-Access ANSI SCSI revision: 02 blk: queue efcc6218, I/O limit 4095Mb (mask 0xffffffff) Vendor: UMAX Model: Astra 1220S Rev: V1.2 Type: Scanner ANSI SCSI revision: 02 blk: queue efcc6a18, I/O limit 4095Mb (mask 0xffffffff) Vendor: IOMEGA Model: ZIP 100 Rev: J.02 Type: Direct-Access ANSI SCSI revision: 02 blk: queue efcc6e18, I/O limit 4095Mb (mask 0xffffffff) Vendor: iomega Model: jaz 1GB Rev: J.86 Type: Direct-Access ANSI SCSI revision: 02 blk: queue efcbe218, I/O limit 4095Mb (mask 0xffffffff) scsi0:A:1:0: Tagged Queuing enabled. Depth 8 mesh: configured for synchronous 5 MB/s Attached scsi disk sda at scsi0, channel 0, id 1, lun 0 Attached scsi removable disk sdb at scsi0, channel 0, id 5, lun 0 Attached scsi removable disk sdc at scsi0, channel 0, id 6, lun 0 (scsi0:A:1): 20.000MB/s transfers (20.000MHz, offset 15) SCSI device sda: 8890760 512-byte hdwr sectors (4552 MB) /dev/scsi/host0/bus0/target1/lun0: [mac] p1 p2 p3 p4 p5 sdb : READ CAPACITY failed. sdb : status = 1, message = 00, host = 0, driver = 08 Current sd00:00: sns = 70 2 ASC=3a ASCQ= 0 Raw sense data:0x70 0x00 0x02 0x00 0x00 0x00 0x00 0x11 0x00 0x00 0x00 0x00 0x3a 0x00 0x00 0x00 0x00 0x00 0xff 0xfe 0x01 0x00 0x00 0x00 0x00 sdb : block size assumed to be 512 bytes, disk size 1GB. /dev/scsi/host0/bus0/target5/lun0: I/O error: dev 08:10, sector 0 I/O error: dev 08:10, sector 0 unable to read partition table (scsi0:A:6): 10.000MB/s transfers (10.000MHz, offset 15) sdc : READ CAPACITY failed. sdc : status = 1, message = 00, host = 0, driver = 08 Current sd00:00: sns = 70 2 ASC=3a ASCQ= 0 Raw sense data:0x70 0x00 0x02 0x00 0x00 0x00 0x00 0x11 0x00 0x00 0x00 0x00 0x3a 0x00 0x00 0x00 0x00 0x00 0xff 0xfe 0x01 0xff 0xfe 0x00 0x00 sdc : block size assumed to be 512 bytes, disk size 1GB. /dev/scsi/host0/bus0/target6/lun0: I/O error: dev 08:20, sector 0 I/O error: dev 08:20, sector 0 unable to read partition table Attached scsi generic sg1 at scsi0, channel 0, id 4, lun 0, type 6 dmasound_pmac: Awacs/Screamer Codec Mfct: 1 Rev 3 PowerMac Screamer 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 Linux Kernel Card Services 3.1.22 options: [pci] [cardbus] [pm] Intel PCIC probe: not found. macserial: i2c-modem detected, id: 1 PowerMac Z8530 serial driver version 2.0 tty00 at 0xf20e2020 (irq = 22) is a Z8530 ESCC (internal modem) tty01 at 0xf20e9000 (irq = 50) is a Z8530 ESCC Macintosh non-volatile memory driver v1.0 usb.c: registered new driver usbdevfs usb.c: registered new driver hub PCI: Enabling device 11:08.0 (0000 -> 0002) PCI: Enabling bus mastering for device 11:08.0 usb-ohci.c: USB OHCI at membase 0xf20ef000, IRQ 27 usb-ohci.c: usb-11:08.0, Apple Computer Inc. KeyLargo USB adb: starting probe task... adb: finished probe task... usb.c: new USB bus registered, assigned bus number 1 hub.c: USB hub found hub.c: 2 ports detected PCI: Enabling device 11:09.0 (0000 -> 0002) PCI: Enabling bus mastering for device 11:09.0 usb-ohci.c: USB OHCI at membase 0xf20f1000, IRQ 28 usb-ohci.c: usb-11:09.0, Apple Computer Inc. KeyLargo USB (#2) usb.c: new USB bus registered, assigned bus number 2 hub.c: USB hub found hub.c: 2 ports detected usb.c: registered new driver hid hid-core.c: v1.8.1 Andreas Gal, Vojtech Pavlik hid-core.c: USB HID support drivers usb.c: registered new driver usblp printer.c: v0.11: USB Printer Device Class driver usb.c: registered new driver serial usbserial.c: USB Serial Driver core v1.4 usbserial.c: USB Serial support registered for Belkin F5U120-PC USB Serial Adapter usbserial.c: USB Serial support registered for Belkin F5U103 USB Serial Adapter usbserial.c: USB Serial support registered for Belkin USB Serial Adapter usbserial.c: USB Serial support registered for Peracom single port USB Serial Adapter usbserial.c: USB Serial support registered for GO-COM232 USB Serial Converter belkin_sa.c: USB Belkin Serial converter driver v1.1 mice: PS/2 mouse device common for all mice i2c-core.o: adapter uni-n 0 registered as adapter 0. i2c-core.o: adapter uni-n 1 registered as adapter 1. Found KeyWest i2c on "uni-n", 2 channels, stepping: 4 bits i2c-core.o: adapter mac-io 0 registered as adapter 2. Found KeyWest i2c on "mac-io", 1 channel, stepping: 4 bits NET4: Linux TCP/IP 1.0 for NET4.0 IP Protocols: ICMP, UDP, TCP, IGMP IP: routing cache hash table of 8192 buckets, 64Kbytes TCP: Hash tables configured (established 262144 bind 65536) NET4: Unix domain sockets 1.0/SMP for Linux NET4.0. NET4: AppleTalk 0.18a for Linux NET4.0 lec.c: Aug 21 2002 18:41:24 initialized ds: no socket drivers loaded! kjournald starting. Commit interval 5 seconds EXT3-fs: mounted filesystem with ordered data mode. VFS: Mounted root (ext3 filesystem) readonly. Freeing unused kernel memory: 164k init 8k chrp 8k prep hub.c: USB new device connect on bus1/1, assigned device number 2 hub.c: USB hub found hub.c: 3 ports detected hub.c: USB new device connect on bus1/1/1, assigned device number 3 input1,hiddev0: USB HID v0.01 Keyboard [ALCOR macally Kbd Hub] on usb1:3.0 hub.c: USB new device connect on bus1/1/2, assigned device number 4 input2,hiddev0: USB HID v0.01 Mouse [Kensington MIAB Optical ] on usb1:4.0 hub.c: USB new device connect on bus1/1/3, assigned device number 5 printer.c: usblp0: USB Bidirectional printer dev 5 if 0 alt 1 proto 2 vid 0x1293 pid 0x0002 hub.c: USB new device connect on bus2/1, assigned device number 2 usbserial.c: Belkin F5U103 USB Serial Adapter converter detected belkin_sa.c: bcdDevice: 0202, bfc: 1 usbserial.c: Belkin F5U103 USB Serial Adapter converter now attached to ttyUSB0 (or usb/tts/0 for devfs) Adding Swap: 2097136k swap-space (priority -1) EXT3 FS 2.4-0.9.17, 10 Jan 2002 on ide0(3,14), internal journal kjournald starting. Commit interval 5 seconds EXT3 FS 2.4-0.9.17, 10 Jan 2002 on ide0(3,17), internal journal EXT3-fs: mounted filesystem with ordered data mode. sungem.c:v0.97 3/20/02 David S. Miller (davem@redhat.com) eth%d: MII PHY ID: 206040 BCM 5400 eth0: Sun GEM (PCI) 10/100/1000BaseT Ethernet 00:30:65:eb:32:4a eth0: Link is up at 100 Mbps, full-duplex. eth0: Pause is enabled (rxfifo: 10240 off: 7168 on: 5632) ohci1394: $Rev: 530 $ Ben Collins PCI: Enabling device 11:0a.0 (0010 -> 0012) PCI: Enabling bus mastering for device 11:0a.0 ohci1394_0: OHCI-1394 1.0 (PCI): IRQ=[63] MMIO=[80080000-80080800] Max Packet=[2048] ieee1394: NodeMgr: hotplug policy returned -2 ieee1394: Device added: Node[00:1023] GUID[00000000204027a1] [LaCie Group SA ] ieee1394: Host added: Node[01:1023] GUID[00000000feeb324a] [Linux OHCI-1394] raw1394: /dev/raw1394 device initialized ieee1394: sbp2: Logged into SBP-2 device ieee1394: sbp2: Node[00:1023]: Max speed [S400] - Max payload [2048] scsi1 : IEEE-1394 SBP-2 protocol driver (host: ohci1394) $Rev: 530 $ James Goodwin SBP-2 module load options: - Max speed supported: S400 - Max sectors per I/O supported: 255 - Max outstanding commands supported: 8 - Max outstanding commands per lun supported: 1 - Serialized I/O (debug): no - Exclusive login: yes Vendor: ST380021 Model: A Rev: 3.05 Type: Direct-Access ANSI SCSI revision: 06 Attached scsi disk sdd at scsi1, channel 0, id 0, lun 0 SCSI device sdd: 156301488 512-byte hdwr sectors (80026 MB) /dev/scsi/host1/bus0/target0/lun0: [mac] p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 video1394: Installed video1394 module SCSI device sdb: 196608 512-byte hdwr sectors (101 MB) sdb: Write Protect is off /dev/scsi/host0/bus0/target5/lun0: [mac] p1 p2 p3 p4 p5 p6 ** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/