bus error, address error on '030 (FPU emulation?)

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

 




I've run across what appears to be an old bug. Of the two '030 machines 
that I tested only the Duo 230 (no FPU) is affected. The Mac IIci (68882) 
is not, and neither are the 68040 or 68LC040 machines I tried.

What happens is that busybox (mount) segfaults and the kernel spits it. 
cat segfaults too, but some other commands seem to be fine.

The log below is from 2.6.26. Two mount commands caused the oopses. 2.6.8 
has the same problem. Is this a known bug?

Finn



Linux version 2.6.26.5 (fthain@xxxxxxxxxx) (gcc version 3.3.6 (Debian 1:3.3.6-15)) #4 Thu Sep 11 14:30:17 EST 2008
console [debug0] enabled
Detected Macintosh model: 32 
 Penguin bootinfo data:
 Video: addr 0x60000000 row 0x140 depth 4 dimensions 640 x 400
 Videological 0xf0000000 phys. 0x60000000, SCC at 0x50f04000 
 Boottime: 0x83db5418 GMTBias: 0x0 
 Machine ID: 32 CPUid: 0x1 memory size: 0xc 
VIA1 at 50f00000 is a 6522 or clone
VIA2 at 50f26000 is an RBV
Apple Macintosh PowerBook Duo 230
On node 0 totalpages: 3072
  DMA zone: 27 pages used for memmap
  DMA zone: 0 pages reserved
  DMA zone: 3045 pages, LIFO batch:0
  Normal zone: 0 pages used for memmap
  Movable zone: 0 pages used for memmap
Built 1 zonelists in Zone order, mobility grouping off.  Total pages: 3045
Kernel command line: debug debug=ser console=ttyS0,9600n8 console=tty0
Killing onboard sonic... Done.
PID hash table entries: 64 (order: 6, 256 bytes)
Console: colour dummy device 80x25
console [tty0] enabled
Linux version 2.6.26.5 (fthain@xxxxxxxxxx) (gcc version 3.3.6 (Debian 1:3.3.6-15)) #4 Thu Sep 11 14:30:17 EST 2008
console [debug0] enabled
Detected Macintosh model: 32 
 Penguin bootinfo data:
 Video: addr 0x60000000 row 0x140 depth 4 dimensions 640 x 400
 Videological 0xf0000000 phys. 0x60000000, SCC at 0x50f04000 
 Boottime: 0x83db5418 GMTBias: 0x0 
 Machine ID: 32 CPUid: 0x1 memory size: 0xc 
VIA1 at 50f00000 is a 6522 or clone
VIA2 at 50f26000 is an RBV
Apple Macintosh PowerBook Duo 230
On node 0 totalpages: 3072
  DMA zone: 27 pages used for memmap
  DMA zone: 0 pages reserved
  DMA zone: 3045 pages, LIFO batch:0
  Normal zone: 0 pages used for memmap
  Movable zone: 0 pages used for memmap
Built 1 zonelists in Zone order, mobility grouping off.  Total pages: 3045
Kernel command line: debug debug=ser console=ttyS0,9600n8 console=tty0
Killing onboard sonic... Done.
PID hash table entries: 64 (order: 6, 256 bytes)
Console: colour dummy device 80x25
console [tty0] enabled
Dentry cache hash table entries: 2048 (order: 1, 8192 bytes)
Inode-cache hash table entries: 1024 (order: 0, 4096 bytes)
Memory: 10032k/10032k available (1156k kernel code, 752k data, 348k init)
SLUB: Genslabs=12, HWalign=16, Order=0-3, MinObjects=0, CPUs=1, Nodes=8
Calibrating delay loop... 8.03 BogoMIPS (lpj=40192)
Mount-cache hash table entries: 512
NuBus: Scanning NuBus slots.
SCSI subsystem initialized
msgmni has been set to 19
io scheduler noop registered
io scheduler anticipatory registered (default)
macfb: framebuffer at 0x60000000, mapped to 0xd0000000, size 125k
macfb: mode is 640x400x4, linelength=320
macfb: scrolling: redraw
fbcon_startup: No VBL detected, using timer based cursor.
free_irq: Removing probably wrong IRQ 9
Console: switching to colour frame buffer device 80x25
fb0: Macintosh GSC built-in frame buffer device
Generic RTC Driver v1.07
brd: module loaded
loop: module loaded
input: Macintosh mouse button emulation as /class/input/input0
pmu intr 00
pmu: nvram returned bright: 14
adb: PMU 68K driver v0.5 for Unified ADB.
Uniform Multi-Platform E-IDE driver
ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx
adb: starting probe task...
Macintosh SCSI: resetting the SCSI bus...<6> done
scsi0: generic 5380 at port 50F10000 irq<6> 19<6> options CAN_QUEUE=16
CMD_PER_LUN=2 release=2<6>
scsi0: generic options AUTOSENSE PSEUDO DMA USLEEP, USLEEP_POLL=20
USLEEP_SLEEP=2 generic release=7
scsi0 : 
blk_queue_max_hw_segments: set to minimum 1
scsi 0:0:0:0: Direct-Access     IBM      WDS2120          S140 PQ: 0
ANSI: 1 CCS
blk_queue_max_hw_segments: set to minimum 1
scsi scan: INQUIRY result too short (5), using 36
blk_queue_max_hw_segments: set to minimum 1
adb devices: [2]: 2 c [3]: 3 2
ADB keyboard at 2, handler 1
ADB HID on ID 2 not yet registered, packet 0x2c, 0x1e, 0x9e, 0x0
Detected ADB keyboard, type ANSI.
input: ADB keyboard as /class/input/input1
ADB mouse at 3, handler set to 4
input: ADB mouse as /class/input/input2
adb: finished probe task...
blk_queue_max_hw_segments: set to minimum 1
blk_queue_max_hw_segments: set to minimum 1
blk_queue_max_hw_segments: set to minimum 1
blk_queue_max_hw_segments: set to minimum 1
blk_queue_max_hw_segments: set to minimum 1
Driver 'sd' needs updating - please use bus_type methods
Bus error in macscsi_pread
sd 0:0:0:0: switching to slow handshake
sd 0:0:0:0: [sda] Sector size 0 reported, assuming 512.
sd 0:0:0:0: [sda] 1 512-byte hardware sectors (0 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 87 00 00 08
sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
sd 0:0:0:0: [sda] 245760 512-byte hardware sectors (126 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 87 00 00 08
sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
 sda: unknown partition table
sd 0:0:0:0: [sda] Attached SCSI disk
Driver 'sr' needs updating - please use bus_type methods
mice: PS/2 mouse device common for all mice
Instruction fault at 0x80012ffe
BAD KERNEL BUSERR
Oops: 00000000
Modules linked in:
PC: [<80012ffe>] 0x80012ffe
SR: 2008  SP: 003f1f70  a2: efe67f28
d0: 00000000    d1: 00000000    d2: 00000005    d3: 00000015
d4: 00000005    d5: 00000000    a0: efe67f18    a1: efe67f14
Process mount (pid: 775, task=00365180)
Frame format=B ssw=564d isc=0004 isb=0000 daddr=efe67fc4 dobuf=80012ff6
baddr=efe67fc6 dibuf=00002328 ver=f
Stack from 003f1ff8:
        00080000 efe67f28
Call Trace: [<00080000>] show_smap+0xe0/0x106

Code:Data read fault at 0x80012fee in Super Data (pc=0x33f2)
BAD KERNEL BUSERR
Oops: 00000000
Modules linked in:
PC: [<000033f2>] show_registers+0x27e/0x2ca
SR: 2004  SP: 003f1e80  a2: 00365180
d0: 00000000    d1: 00001301    d2: 00000001    d3: 00000015
d4: 0000564d    d5: 00000000    a0: 001850c8    a1: 001850c4
Process mount (pid: 775, task=00365180)
Frame format=B ssw=076d isc=4a80 isb=6704 daddr=80012fee dobuf=00000005
baddr=000033fa dibuf=80010000 ver=f
Stack from 003f1f08:
        00000001 003f1f70 003f1f70 efe67c70 0000384c 003f1f70 0015641e 001560c0
        00000000 efe67f28 00003020 001560c0 003f1f70 00000000 00000005 00000015
        00000005 00000000 00000000 efe67f28 efe67f14 efe67c70 efe67f14 efe67c70
        00002322 003f1f70 00000000 00000005 00000015 00000005 00000000 efe67f18
        efe67f14 efe67f28 00000000 ffffffff 00000000 20088001 2ffeb008 0eee564d
        00040000 efe67fc4 003f1ffe 80012ff6 66f652ae efe67fc8 efe67fc6 80013002
Call Trace: [<0000384c>] die_if_kernel+0x3e/0x56
 [<00003020>] buserr_c+0x44c/0x52c
 [<00002322>] buserr+0x1e/0x24
 [<00040000>] shrink_zones+0xa2/0xc2
 [<00002328>] trap+0x0/0x24
 [<0000588a>] do_gettimeofday+0x8a/0x96
 [<000ff30e>] ide_raw_taskfile+0x26/0x76
 [<000ff07c>] task_end_request+0x62/0x76
 [<00080000>] show_smap+0xe0/0x106

Code: 0000 4e7b 0001 286b 002e 367c fff8 4280 <0e74> 1000 ba00 4a80 6704
4a8b 6ca4 3f01 4267 203c 0016 7303 4a8b 6606 203c 0015
*** ADDRESS ERROR ***   FORMAT=B
SSW=0x164d  Pipe stage B instruction fault at 0xefad8fc5
Current process id is 776
BAD KERNEL TRAP: 00000000
Modules linked in:
PC: [<80012ffe>] 0x80012ffe
SR: 2008  SP: 003f1f70  a2: efad8f28
d0: 00000000    d1: 00000000    d2: 00000005    d3: 00000015
d4: 00000005    d5: 00000000    a0: efad8f18    a1: efad8f14
Process mount (pid: 776, task=00365180)
Frame format=B ssw=164d isc=0004 isb=48e7 daddr=00184444 dobuf=80012ff6
baddr=efad8fc5 dibuf=00002328 ver=f
Stack from 003f1ff8:
        00080000 efad8f28
Call Trace: [<00080000>] show_smap+0xe0/0x106

Code:Data read fault at 0x80012fee in Super Data (pc=0x33f2)
BAD KERNEL BUSERR
Oops: 00000000
Modules linked in:
PC: [<000033f2>] show_registers+0x27e/0x2ca
SR: 2004  SP: 003f1e00  a2: 00365180
d0: 00000000    d1: 00001b6d    d2: 00000001    d3: 0000164d
d4: 00000005    d5: 00000000    a0: 001850c8    a1: 001850c4
Process mount (pid: 776, task=00365180)
Frame format=B ssw=076d isc=4a80 isb=6704 daddr=80012fee dobuf=00000005
baddr=000033fa dibuf=80010000 ver=f
Stack from 003f1e88:
        0000164d 003f1f70 0001cc64 efad8c70 0000384c 003f1f70 0015641e 0015640e
        00000000 003f1f70 00003652 0015640e 003f1f70 00000000 001563f4 00000308
        00000005 00000015 efad8f28 efad8f14 00003694 003f1f70 00000005 00000000
        80012fc0 00000000 0011fca8 003f624c 003e3170 80012fc0 003f624c 003e3170
        0002d36e 003e31a8 0000653e 003e31a8 00000403 00000403 0000b209 00000000
        80012fc0 003f1f78 efad8c70 efad8ca0 0000308e 003f1f78 80012fc0 00000000
Call Trace: [<0000164d>] _stext+0x64d/0x1000
 [<0001cc64>] printk+0x0/0x18
 [<0000384c>] die_if_kernel+0x3e/0x56
 [<00003652>] bad_super_trap+0x156/0x160
 [<00003694>] trap_c+0x38/0x1b2
 [<0011fca8>] down_read+0x0/0xe
 [<0002d36e>] up_read+0xa/0xe
 [<0000653e>] do_page_fault+0x11e/0x1d0
 [<0000b209>] PTENRP+0x85/0x9c
 [<0000308e>] buserr_c+0x4ba/0x52c
 [<00002346>] trap+0x1e/0x24
 [<000448e7>] __do_fault+0x55/0x2d6
 [<00002328>] trap+0x0/0x24
 [<0000588a>] do_gettimeofday+0x8a/0x96
 [<000ff30e>] ide_raw_taskfile+0x26/0x76
 [<000ff07c>] task_end_request+0x62/0x76
 [<00080000>] show_smap+0xe0/0x106

Code: 0000 4e7b 0001 286b 002e 367c fff8 4280 <0e74> 1000 ba00 4a80 6704
4a8b 6ca4 3f01 4267 203c 0016 7303 4a8b 6606 203c 0015

--
To unsubscribe from this list: send the line "unsubscribe linux-m68k" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Video for Linux]     [Yosemite News]     [Linux S/390]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux