Re: Known working 2.6 kernel config for m68k Mac

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

 





On Mon, 25 Aug 2008, Brad Boyer wrote:

On Mon, Aug 25, 2008 at 05:11:55AM +0200, Michael Schmitz wrote:

... please check whether they support the common battery state 
response formats as well, and perhaps sleep messages? :-) I'd even add 
support for m68k powerbooks to pmud if possible ...

I'll try it out on the PB190 when I get a chance, but I'm much more 
worried about the older models for this sort of thing. Does anyone have 
anything old enough for the driver to claim it has a "V1" PMU? That 
would be any PB1xx other than the PB190.

Yes, I have some. I've revived a 170 (which is one of the earliest 
models), a 145 and a 150. What do you want me to test for?

J's kernel works OK with the PMU chip in my PB 150 (see log below). I also 
tried it on a Duo 280c, but it usually shuts the screen down when the PMU 
driver loads but not always (see log below). That doesn't stop ADB from 
working correctly however. I can also test a Duo 230 if need be.

BTW, to revive these things I had to remove the PRAM battery. It appears 
that a worn out battery will prevent them powering up. Some of the 
batteries were leaking (as were some of the main batteries). So, a word of 
advice: remove them or leaking battery acid will eventually destroy the 
circuitry. I've seen it happen to a Mac IIsi motherboard.

Finn



Linux version 2.6.26 (root@ParallelsDebian) (gcc version 3.4.5) #33 Mon Aug 18 00:04:52 EDT 2008
console [debug0] enabled
Detected Macintosh model: 115 
 Penguin bootinfo data:
 Video: addr 0x60000000 row 0x50 depth 1 dimensions 640 x 480
 Videological 0xf0000000 phys. 0x60000000, SCC at 0x50f04000 
 Boottime: 0x83da8ae5 GMTBias: 0x0 
 Machine ID: 115 CPUid: 0x1 memory size: 0x4 
VIA1 at 50f00000 is a 6522 or clone
VIA2 at 50f26000 is an RBV
Apple Macintosh PowerBook 150
On node 0 totalpages: 1024
  DMA zone: 9 pages used for memmap
  DMA zone: 0 pages reserved
  DMA zone: 1015 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: 1015
Kernel command line: debug debug=ser2 console=tty0 console=ttyS1,9600n8
Killing onboard sonic... Done.
PID hash table entries: 16 (order: 4, 64 bytes)
Console: colour dummy device 80x25
console [tty0] enabled
Linux version 2.6.26 (root@ParallelsDebian) (gcc version 3.4.5) #33 Mon Aug 18 00:04:52 EDT 2008
console [debug0] enabled
Detected Macintosh model: 115 
 Penguin bootinfo data:
 Video: addr 0x60000000 row 0x50 depth 1 dimensions 640 x 480
 Videological 0xf0000000 phys. 0x60000000, SCC at 0x50f04000 
 Boottime: 0x83da8ae5 GMTBias: 0x0 
 Machine ID: 115 CPUid: 0x1 memory size: 0x4 
VIA1 at 50f00000 is a 6522 or clone
VIA2 at 50f26000 is an RBV
Apple Macintosh PowerBook 150
On node 0 totalpages: 1024
  DMA zone: 9 pages used for memmap
  DMA zone: 0 pages reserved
  DMA zone: 1015 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: 1015
Kernel command line: debug debug=ser2 console=tty0 console=ttyS1,9600n8
Killing onboard sonic... Done.
PID hash table entries: 16 (order: 4, 64 bytes)
Console: colour dummy device 80x25
console [tty0] enabled
Dentry cache hash table entries: 1024 (order: 0, 4096 bytes)
Inode-cache hash table entries: 1024 (order: 0, 4096 bytes)
Memory: 1852k/1852k available (1196k kernel code, 688k data, 360k init)
Calibrating delay loop... 8.03 BogoMIPS (lpj=40192)
Mount-cache hash table entries: 512
Initializing cgroup subsys ns
Initializing cgroup subsys cpuacct
NuBus: Scanning NuBus slots.
SCSI subsystem initialized
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
msgmni has been set to 16
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
macfb: framebuffer at 0x60000000, mapped to 0xd0000000, size 37k
macfb: mode is 640x480x1, linelength=80
macfb: scrolling: redraw
fbcon_startup: No VBL detected, using timer based cursor.
free_irq: Removing probably wrong IRQ 9
Console: switching to mono frame buffer device 80x30
fb0: Macintosh GSC built-in frame buffer device
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...
ide: Macintosh Powerbook IDE controller
Probing IDE interface ide0...
adb devices: [2]: 2 c [3]: 3 2
ADB keyboard at 2, handler 1
Detected ADB keyboard, type ANSI.
input: ADB keyboard as /class/input/input1
hda: QUANTUM GLS127A, ATA DISK drive
ADB mouse at 3, handler set to 2
input: ADB mouse as /class/input/input2
adb: finished probe task...
ide0 at 0x50f1a000 on irq 59
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
Driver 'sd' needs updating - please use bus_type methods
Driver 'sr' needs updating - please use bus_type methods
mice: PS/2 mouse device common for all mice





Linux version 2.6.26 (root@ParallelsDebian) (gcc version 3.4.5) #33 Mon Aug 18 00:04:52 EDT 2008
console [debug0] enabled
Detected Macintosh model: 103 
 Penguin bootinfo data:
 Video: addr 0x60000000 row 0x280 depth 8 dimensions 640 x 480
 Videological 0xf0000000 phys. 0x60000000, SCC at 0x50f04000 
 Boottime: 0x83daba49 GMTBias: 0x0 
 Machine ID: 103 CPUid: 0x2 memory size: 0x24 
VIA1 at 50f00000 is a 6522 or clone
VIA2 at 50f26000 is an RBV
Apple Macintosh PowerBook Duo 280c
On node 0 totalpages: 9216
  DMA zone: 81 pages used for memmap
  DMA zone: 0 pages reserved
  DMA zone: 9135 pages, LIFO batch:1
  Normal zone: 0 pages used for memmap
  Movable zone: 0 pages used for memmap
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 9135
Kernel command line: debug debug=ser console=tty0 console=ttyS0,9600n8
Killing onboard sonic... Done.
PID hash table entries: 256 (order: 8, 1024 bytes)
Console: colour dummy device 80x25
console [tty0] enabled
Linux version 2.6.26 (root@ParallelsDebian) (gcc version 3.4.5) #33 Mon Aug 18 00:04:52 EDT 2008
console [debug0] enabled
Detected Macintosh model: 103 
 Penguin bootinfo data:
 Video: addr 0x60000000 row 0x280 depth 8 dimensions 640 x 480
 Videological 0xf0000000 phys. 0x60000000, SCC at 0x50f04000 
 Boottime: 0x83daba49 GMTBias: 0x0 
 Machine ID: 103 CPUid: 0x2 memory size: 0x24 
VIA1 at 50f00000 is a 6522 or clone
VIA2 at 50f26000 is an RBV
Apple Macintosh PowerBook Duo 280c
On node 0 totalpages: 9216
  DMA zone: 81 pages used for memmap
  DMA zone: 0 pages reserved
  DMA zone: 9135 pages, LIFO batch:1
  Normal zone: 0 pages used for memmap
  Movable zone: 0 pages used for memmap
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 9135
Kernel command line: debug debug=ser console=tty0 console=ttyS0,9600n8
Killing onboard sonic... Done.
PID hash table entries: 256 (order: 8, 1024 bytes)
Console: colour dummy device 80x25
console [tty0] enabled
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 34152k/34172k available (1196k kernel code, 1136k data, 360k init)
Calibrating delay loop... 22.01 BogoMIPS (lpj=110080)
Mount-cache hash table entries: 512
Initializing cgroup subsys ns
Initializing cgroup subsys cpuacct
NuBus: Scanning NuBus slots.
SCSI subsystem initialized
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
msgmni has been set to 66
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq 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
brd: module loaded
loop: module loaded
input: Macintosh mouse button emulation as /class/input/input0
pmu intr 00
pmu: nvram returned bright: 0
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      DHAS-2344        S640 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
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
sd 0:0:0:0: [sda] 672525 512-byte hardware sectors (344 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 9f 00 00 08
Bus error in macscsi_pread
sd 0:0:0:0: switching to slow handshake
sd 0:0:0:0: [sda] Got wrong page
sd 0:0:0:0: [sda] Assuming drive cache: write through
sd 0:0:0:0: [sda] 672525 512-byte hardware sectors (344 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 9f 00 00 08
sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't
support DPO or FUA
 sda: [mac] sda1 sda2 sda3 sda4
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

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