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

Re: [linux-mac68k] Results of trying 2.6.7 and 2.6.8 on Macintosh Quadra 650



> This fix is not in yet. Since you appear to have a working serial
> console, and I'm the maintainer (sort of) of the NCR53C9x driver, it
> would be nice if you could work with me to get this fixed.

Kars, the serial console on the Q650 really is cactus in 2.4 and 2.6
(works in 2.2). However, "debug=ser" does work, which is what Erik used.
Following his example (thanks Erik), I get this,

Linux version 2.6.8.1 (fthain@iffy.intranet) (gcc version 3.4.1) #1 Thu
Aug 26 17:43:59 EST 2004
Detected Macintosh model: 36
VIA1 at 50f00000 is a 6522 or clone
VIA2 at 50f02000 is <6>a 6522 or clone
Apple Macintosh Quadra 650
Built 1 zonelists
Kernel command line: root=/dev/sdb4 ro debug=ser
Killing onboard sonic... Done.
PID hash table entries: 16 (order 4: 128 bytes)
Console: colour dummy device 80x25
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 38264k/40960k available (1648k kernel code, 916k data, 88k init)
Calibrating delay loop... 22.11 BogoMIPS
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
NET: Registered protocol family 16
NuBus: Scanning NuBus slots.
Slot C:
  Board resource:
    type: [cat 0x1 type 0x0 hw 0x0 sw 0x0]
    name: EtherPort IIN
    board id: 0x12a
    vendor info:
    ID: Kinetics, A Division of Excelan, Inc.
  Function 0x80:
    type: [cat 0x4 type 0x1 hw 0x103 sw 0x106]
    name: Network_EtherNet_KinEth_KinEth_IIN
    MAC address: 00:80:19:03:0b:77
    unknown resource 81, data 0xffff6c
    unknown resource 82, data 0x000093
SCSI subsystem initialized
macfb: framebuffer at 0xf9001000, mapped to 0xd0001000, size 960k
macfb: mode is 640x480x16, linelength=2048
macfb: scrolling: redraw
macfb: directcolor: size=1:5:5:5, shift=15:10:5:0
fb0: Macintosh DAFB built-in frame buffer device
devfs: 2004-01-31 Richard Gooch (rgooch@atnf.csiro.au)
devfs: boot_options: 0x0
fbcon_startup: No VBL detected, using timer based cursor.
mac_delete_irq: tried to remove invalid irq
Console: switching to colour frame buffer device 80x30
Generic RTC Driver v1.07
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
loop: loaded (max 8 devices)
mac8390.c: v0.4 2001-05-15 David Huggins-Daines <dhd@debian.org> and
others
eth0: EtherPort IIN in slot C (type kinetics)
MAC 00:80:19:03:0b:77 IRQ 59, shared memory at 0xfc000000-0xfc007fff,
16-bit ac
cess.
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 50MHz system bus speed for PIO modes; override with
idebus=xx
mac_esp: io base at 0x50f10000
esp: using quick version
esp: addr at 0x50f10000
SCSI ID 7 Clk 16MHz CCF=4 TOut 138 NCR53C9x(esp236)

mac_esp: 1 esp controllers found
scsi0 : ESP236 (NCR53C9x)
Using anticipatory io scheduler
  Vendor: QUANTUM   Model: LPS270S           Rev: 590A
  Type:   Direct-Access                      ANSI SCSI revision: 02
  Vendor: MATSHITA  Model: CD-ROM CR-8004    Rev: 1.0p
  Type:   CD-ROM                             ANSI SCSI revision: 02
  Vendor: CONNER    Model: CP30540  SUN0535  Rev: B0CD
  Type:   Direct-Access                      ANSI SCSI revision: 02
st: Version 20040403, fixed bufsize 32768, s/g segs 256
SCSI device sda: 528808 512-byte hdwr sectors (271 MB)
SCSI device sda: drive cache: write through
 /dev/scsi/host0/bus0/target0/lun0:esp0: Aborting command
esp0: dumping state
esp0: SW [sreg<07> sstep<04> ireg<0c>]
esp0: HW reread [sreg<01> sstep<c4> ireg<10>]
esp0: current command [tgt<00> lun<00> pphase<FREEING> cphase<CLUELESS>]
esp0: disconnected
esp0: Aborting command
esp0: dumping state
esp0: SW [sreg<07> sstep<04> ireg<0c>]
esp0: HW reread [sreg<01> sstep<c4> ireg<00>]
esp0: current command [tgt<00> lun<00> pphase<UNISSUED> cphase<UNISSUED>]
esp0: disconnected
esp0: Resetting scsi bus
esp0: SCSI bus reset interrupt


If I power up the external drive (containing the root filesystem) after
telling penguin to "boot now", I get this, which shows the ADB problem
immediately following the probe completion (panic occurs during probe if
any ADB devices are attached).


Linux version 2.6.8.1 (fthain@iffy.intranet) (gcc version 3.4.1) #1 Thu
Aug 26 1
7:43:59 EST 2004
Detected Macintosh model: 36
VIA1 at 50f00000 is a 6522 or clone
VIA2 at 50f02000 is <6>a 6522 or clone
Apple Macintosh Quadra 650
Built 1 zonelists
Kernel command line: root=/dev/sdb4 ro debug=ser
Killing onboard sonic... Done.
PID hash table entries: 16 (order 4: 128 bytes)
Console: colour dummy device 80x25
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 38264k/40960k available (1648k kernel code, 916k data, 88k init)
Calibrating delay loop... 22.11 BogoMIPS
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
NET: Registered protocol family 16
NuBus: Scanning NuBus slots.
Slot C:
  Board resource:
    type: [cat 0x1 type 0x0 hw 0x0 sw 0x0]
    name: EtherPort IIN
    board id: 0x12a
    vendor info:
    ID: Kinetics, A Division of Excelan, Inc.
  Function 0x80:
    type: [cat 0x4 type 0x1 hw 0x103 sw 0x106]
    name: Network_EtherNet_KinEth_KinEth_IIN
    MAC address: 00:80:19:03:0b:77
    unknown resource 81, data 0xffff6c
    unknown resource 82, data 0x000093
SCSI subsystem initialized
macfb: framebuffer at 0xf9001000, mapped to 0xd0001000, size 960k
macfb: mode is 640x480x16, linelength=2048
macfb: scrolling: redraw
macfb: directcolor: size=1:5:5:5, shift=15:10:5:0
fb0: Macintosh DAFB built-in frame buffer device
devfs: 2004-01-31 Richard Gooch (rgooch@atnf.csiro.au)
devfs: boot_options: 0x0
fbcon_startup: No VBL detected, using timer based cursor.
mac_delete_irq: tried to remove invalid irq
Console: switching to colour frame buffer device 80x30
Generic RTC Driver v1.07
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
loop: loaded (max 8 devices)
mac8390.c: v0.4 2001-05-15 David Huggins-Daines <dhd@debian.org> and
others
eth0: EtherPort IIN in slot C (type kinetics)
MAC 00:80:19:03:0b:77 IRQ 59, shared memory at 0xfc000000-0xfc007fff,
16-bit ac
cess.
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 50MHz system bus speed for PIO modes; override with
idebus=xx
mac_esp: io base at 0x50f10000
esp: using quick version
esp: addr at 0x50f10000
SCSI ID 7 Clk 16MHz CCF=4 TOut 138 NCR53C9x(esp236)

mac_esp: 1 esp controllers found
scsi0 : ESP236 (NCR53C9x)
Using anticipatory io scheduler
  Vendor: QUANTUM   Model: LPS270S           Rev: 590A
  Type:   Direct-Access                      ANSI SCSI revision: 02
  Vendor: MATSHITA  Model: CD-ROM CR-8004    Rev: 1.0p
  Type:   CD-ROM                             ANSI SCSI revision: 02
  Vendor: CONNER    Model: CP30540  SUN0535  Rev: B0CD
  Type:   Direct-Access                      ANSI SCSI revision: 02
st: Version 20040403, fixed bufsize 32768, s/g segs 256
SCSI device sda: 528808 512-byte hdwr sectors (271 MB)
SCSI device sda: drive cache: write through
 /dev/scsi/host0/bus0/target0/lun0: [mac] p1 p2 p3
Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
sdb: Spinning up disk.....ready
SCSI device sdb: 1059528 512-byte hdwr sectors (542 MB)
SCSI device sdb: drive cache: write through
 /dev/scsi/host0/bus0/target5/lun0: [mac] p1 p2 p3 p4 p5
Attached scsi disk sdb at scsi0, channel 0, id 5, lun 0
sr0: scsi-1 drive
Uniform CD-ROM driver Revision: 3.20
Attached scsi generic sg0 at scsi0, channel 0, id 0, lun 0,  type 0
Attached scsi generic sg1 at scsi0, channel 0, id 3, lun 0,  type 5
Attached scsi generic sg2 at scsi0, channel 0, id 5, lun 0,  type 0
input: Macintosh mouse button emulation
adb: Mac II ADB Driver v1.0 for Unified ADB
mice: PS/2 mouse device common for all mice
NET: Registered protocol family 2
adb: starting probe task...
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 4096 bind 8192)
NET: Registered protocol family 1
NET: Registered protocol family 17
VFS: Mounted root (ext2 filesystem) readonly.
Warning: unable to open an initial console.
adb: finished probe task...
Unable to handle kernel access at virtual address 6f630000
Oops: 00000000
Modules linked in:
PC: [<6f630000>] 0x6f630000

SR: 2710  SP: 0020debc  a2: 0019c8b0
d0: 0000002c    d1: 00000010    d2: 00002600    d3: 00000004
d4: 00000008    d5: 0020df9c    a0: 6f630000    a1: 00000006
Process swapper (pid: 0, stackpage=0019d8b0)
Stack from 0020debc:
        00000010 00002600 00000004 00000008 0020df9c 6f630000 00000006 0019c8b0
        0000002c ffffffff 00000000 27106f63 00007008 0020df40 05e60005 00000005
        6f630000 0020df9c 0001f120 00000000 0000000e 00000040 00000040 00002600
        0011c30c 02769fa5 0011c67c 02769f7c 0000000a 00000004 00000004 001def74
        0020df9c 02658980 00009912 0000000a 0011c250 0020df9c 00000004 00000002
        00002000 0000aa22 0000000a 0020df9c 0020e000 00000040 0207e0b0 00001000
Call Trace: [<00160ac6>] schedule+0x0/0x418
 [<00005910>] process_int+0x4c/0x62
 [<000040e4>] inthandler+0x2a/0x2c
 [<00001000>] _stext+0x0/0x1000
 [<00004250>] default_idle+0x0/0xe
 [<00004274>] cpu_idle+0x16/0x22
 [<000198a8>] printk+0x0/0x164
 [<00002022>] rest_init+0x1a/0x1c
 [<001f7e5c>] start_kernel+0x1c0/0x1d0
 [<00002800>] inflate_codes+0x146/0x424
 [<001f63d2>] __start+0x3d2/0xa48

Kernel panic: Aiee, killing interrupt handler!
In interrupt handler - not syncing


As I mentioned, the sonic driver was not configured in.

Let me know if you want me to test a patch or a build, Kars, or if I can
help out in any way.

-F



Reply to: