Re: Known working 2.6 kernel config for m68k Mac

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

 





On Sat, 16 Aug 2008, Brad Boyer wrote:

On Sat, Aug 16, 2008 at 06:05:03PM -0700, J Silverman wrote:
Here's the video of the boot up sequence:

http://www.vimeo.com/1541660

You can see the odd PMU errors that pop up during the boot.

I watched the video, and it looks like the ADB stuff is working fine. If 
I'm reading via-pmu68k.c correctly, those other pmu messages mean that 
it's gotten a message from the PMU chip that it doesn't know how to 
handle.

I think the "pmu intr 00" messages might be significant. My PB 190cs 
prints that only once (see below) but ADB works (I was able to use the 
keyboard to log in and I tested the trackpad with gpm). I noticed that 
pmu_restart() works but pmu_read_pram() does not.

This kernel is kernel.org version 2.6.26.2. It has the macscsi lockup bug, 
of course, but that bug somehow failed to manifest in both J's video and 
the bootup in the log below.

Finn

The driver only looks like it handles the keyboard, trackpad, the extra 
buttons outside the keyboard, and the regular heartbeat. For anything 
else, it just prints out the data from the message. It looks like 
nothing went wrong at all with the PMU. I see there's an error from the 
SCSI port and obviously the lack of a root filesystem. Things actually 
look fine, although I can imagine that the PMU driver is very sensitive 
to exact timing.

	Brad Boyer
	flar@xxxxxxxxxxxxx


Linux version 2.6.26.2-mac (fthain@nippy) (gcc version 4.1.2 20061115 
(prerelease) (Debian 4.1.1-21)) #3 Sun Aug 17 14:11:34 EST 2008
console [debug0] enabled
Detected Macintosh model: 85 
 Penguin bootinfo data:
 Video: addr 0x60000000 row 0x280 depth 8 dimensions 640 x 480
 Videological 0xf0000000 phys. 0x60000000, SCC at 0x50f04000 
 Boottime: 0x83dd0307 GMTBias: 0x0 
 Machine ID: 85 CPUid: 0x2 memory size: 0x10 
VIA1 at 50f00000 is a 6522 or clone
VIA2 at 50f02000 is a 6522 or clone
Baboon detected at 50f1a000
Apple Macintosh PowerBook 190
On node 0 totalpages: 4096
  DMA zone: 36 pages used for memmap
  DMA zone: 0 pages reserved
  DMA zone: 4060 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: 4060
Kernel command line: ro root=/dev/sda4 init=/boot.sh console=tty0 
console=ttyS0,9600n8 debug debug=ser
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.2-mac (fthain@nippy) (gcc version 4.1.2 20061115 
(prerelease) (Debian 4.1.1-21)) #3 Sun Aug 17 14:11:34 EST 2008
console [debug0] enabled
Detected Macintosh model: 85 
 Penguin bootinfo data:
 Video: addr 0x60000000 row 0x280 depth 8 dimensions 640 x 480
 Videological 0xf0000000 phys. 0x60000000, SCC at 0x50f04000 
 Boottime: 0x83dd0307 GMTBias: 0x0 
 Machine ID: 85 CPUid: 0x2 memory size: 0x10 
VIA1 at 50f00000 is a 6522 or clone
VIA2 at 50f02000 is a 6522 or clone
Baboon detected at 50f1a000
Apple Macintosh PowerBook 190
On node 0 totalpages: 4096
  DMA zone: 36 pages used for memmap
  DMA zone: 0 pages reserved
  DMA zone: 4060 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: 4060
Kernel command line: ro root=/dev/sda4 init=/boot.sh console=tty0 
console=ttyS0,9600n8 debug debug=ser
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: 13224k/13224k available (2012k kernel code, 1020k data, 128k init)
Calibrating delay loop... 22.01 BogoMIPS (lpj=110080)
Mount-cache hash table entries: 512
net_namespace: 192 bytes
NET: Registered protocol family 16
NuBus: Scanning NuBus slots.
SCSI subsystem initialized
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 512 (order: 0, 4096 bytes)
TCP bind hash table entries: 512 (order: -1, 2048 bytes)
TCP: Hash tables configured (established 512 bind 512)
TCP reno registered
NET: Registered protocol family 1
msgmni has been set to 25
io scheduler noop registered
io scheduler anticipatory registered (default)
macfb: framebuffer at 0x60000000, mapped to 0xd0000000, size 300k
macfb: mode is 640x480x8, linelength=640
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 80x30
fb0: Macintosh CSC 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: 2
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...
ide: Macintosh Powerbook Baboon IDE controller
Probing IDE interface ide0...
adb devices: [2]: 2 18 [3]: 3 1
ADB keyboard at 2, handler 1
Detected ADB keyboard, type ANSI.
input: ADB keyboard as /class/input/input1
ADB mouse at 3, handler set to 4 (trackpad)
input: ADB mouse as /class/input/input2
adb: finished probe task...
hda: IBM-DBOA-2540, ATA DISK drive
------------[ cut here ]------------
WARNING: at arch/m68k/kernel/ints.c:302 0x236df3()
Modules linked in:
Call Trace: [<0001d3c2>] warn_on_slowpath+0x44/0x5e
 [<00002700>] copy_thread+0x3e/0xaa
 [<001f3ff4>] wait_for_common+0x7c/0x12c
 [<00019c1e>] default_wake_function+0x0/0x1c
 [<00100100>] encode_lookup+0x14/0x58
 [<00029290>] call_usermodehelper_freeinfo+0x22/0x28
 [<00029302>] call_usermodehelper_exec+0x6c/0x86
 [<00055110>] kfree+0x0/0xbc
 [<00127f30>] kobject_uevent_env+0x2bc/0x2f6
 [<0012754e>] kobject_get+0x14/0x1e
 [<0014ef32>] get_device+0x12/0x1c
 [<0014f0ea>] klist_children_get+0xe/0x12
 [<001f2d06>] klist_node_init+0x3e/0x46
 [<00127418>] kobject_put+0x1e/0x4c
 [<001274ca>] kobject_release+0x0/0x70
 [<0014eef6>] put_device+0x0/0x18
 [<0014ef08>] put_device+0x12/0x18
 [<0014f8f6>] device_add+0x47e/0x488
 [<00003f34>] enable_irq+0x72/0x7a
 [<00009778>] baboon_irq_enable+0xa/0xe
 [<0000855c>] mac_enable_irq+0x7a/0x9a
 [<00002010>] run_init_process+0x8/0x22
 [<00003eb8>] setup_irq+0xa4/0xae
 [<00003faa>] request_irq+0x30/0x40
 [<00166130>] init_irq+0x264/0x35a
 [<00161f42>] ide_intr+0x0/0x1bc
 [<00165ecc>] init_irq+0x0/0x35a
 [<00166708>] ide_device_add_all+0x41c/0x616
 [<002baf48>] __alloc_bootmem+0x0/0x3e
 [<0016692e>] ide_device_add+0x2c/0x32
 [<002c3ef0>] macide_init+0x100/0x1da
 [<002c3df0>] macide_init+0x0/0x1da
 [<002b192a>] kernel_init+0x5c/0x25c
 [<00001000>] _stext+0x0/0x1000
 [<002b18ce>] kernel_init+0x0/0x25c
 [<002baf48>] __alloc_bootmem+0x0/0x3e
 [<002b18ce>] kernel_init+0x0/0x25c
 [<0001b0ae>] schedule_tail+0x12/0x34
 [<00002348>] ret_from_fork+0x8/0xe
 [<00001000>] _stext+0x0/0x1000
 [<00002966>] kernel_thread+0x3a/0x4e

---[ end trace a758373cb96c7502 ]---
ide0 at 0x50f1a000 on irq 65
hda: max request size: 128KiB
hda: 1055376 sectors (540 MB) w/64KiB Cache, CHS=1047/16/63
hda: cache flushes not supported
 hda: [mac] hda1 hda2 hda3 hda4 hda5 hda6 hda7 hda8
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
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
blk_queue_max_hw_segments: set to minimum 1
scsi 0:0:6:0: Direct-Access     QUANTUM  LPS540S          590S PQ: 0 ANSI: 
2 CCS
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:6:0: switching to slow handshake
sd 0:0:6:0: [sda] Sector size 0 reported, assuming 512.
sd 0:0:6:0: [sda] 1057616 512-byte hardware sectors (541 MB)
sd 0:0:6:0: [sda] Write Protect is off
sd 0:0:6:0: [sda] Mode Sense: 93 00 00 08
sd 0:0:6:0: [sda] Write cache: enabled, read cache: enabled, doesn't 
support DPO or FUA
sd 0:0:6:0: [sda] 1057616 512-byte hardware sectors (541 MB)
sd 0:0:6:0: [sda] Write Protect is off
sd 0:0:6:0: [sda] Mode Sense: 93 00 00 08
sd 0:0:6:0: [sda] Write cache: enabled, read cache: enabled, doesn't 
support DPO or FUA
 sda: [mac] sda1 sda2 sda3 sda4 sda5 sda6
 sda: p6 exceeds device capacity
sd 0:0:6:0: [sda] Attached SCSI disk
aoe: AoE v47 initialised.
mice: PS/2 mouse device common for all mice
TCP cubic registered
NET: Registered protocol family 17
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
VFS: Mounted root (ext2 filesystem) readonly.


--
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