On Tue, 19 Aug 2008, J Silverman wrote:
Hi Finn, Actually, I have not tested the Debian kernel.
Right ... you mentioned that it doesn't fit on a floppy. For testing purposes, I generally download kernels with MacOS over ethernet and boot them with Penguin (though I guess floppies are more convenient sometimes). This is reasonably efficient, because MacOS has time to reboot while the next kernel is being built.
Both kernels are my own build; the only difference between them is that I set a boot_delay on the kernel command line which stops it from shutting down. If you'd like a copy of my config, let me know.
The kernel binary you sent to me works reasonably well on my PB190. If it escapes the scsi bug, it boots into the emile initrd. (See below for kernel messages.) It's a suprisingly functional initramfs -- given it is a mere 1,176,753 byte vmlinux.gz. (And from looking at the .config, the kernel could be made smaller too. I'll send you a better config.) Finn
Thanks, J Silverman
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: 85 Penguin bootinfo data: Video: addr 0x60000000 row 0x280 depth 8 dimensions 640 x 480 Videological 0xf0000000 phys. 0x60000000, SCC at 0x50f04000 Boottime: 0x83e24b4c 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 (root@ParallelsDebian) (gcc version 3.4.5) #33 Mon Aug 18 00:04:52 EDT 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: 0x83e24b4c 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: 13928k/13928k available (1196k kernel code, 900k 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 27 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: 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 0x157d00() Modules linked in: Call Trace: [<0001ee24>] warn_on_slowpath+0x44/0x60 [<00002700>] thread_saved_pc+0x1a/0x2c [<00129354>] wait_for_common+0x78/0x12a [<0001b438>] default_wake_function+0x0/0x1c [<00100100>] ide_intr+0x1c0/0x1da [<0002aa46>] call_usermodehelper_freeinfo+0x22/0x28 [<0002abfc>] call_usermodehelper_exec+0x6a/0x7e [<0005b774>] kfree+0x0/0xc4 [<000c7b80>] kobject_uevent_env+0x1d6/0x266 [<000c70b4>] kobject_get+0x14/0x1e [<000f1058>] get_device+0x14/0x1e [<000f1070>] klist_children_get+0xe/0x12 [<001285d0>] klist_node_init+0x40/0x48 [<000c70dc>] kobject_put+0x1e/0x4e [<000c73a4>] kobject_release+0x0/0x72 [<000f1074>] put_device+0x0/0x18 [<000f1086>] put_device+0x12/0x18 [<000f16d0>] device_add+0x49a/0x4a4 [<00003e5c>] enable_irq+0x78/0x82 [<000090da>] baboon_irq_enable+0xa/0xe [<00007c2a>] mac_enable_irq+0x7a/0x98 [<00003ce2>] setup_irq+0xa6/0xb4 [<00003d22>] request_irq+0x32/0x3e [<00103d1e>] init_irq+0x228/0x32c [<000fff40>] ide_intr+0x0/0x1da [<00103af6>] init_irq+0x0/0x32c [<001043da>] ide_device_add_all+0xf6/0x584 [<00001000>] kernel_pg_dir+0x0/0x1000 [<001d11e2>] __alloc_bootmem+0x0/0x3e [<0010489e>] ide_device_add+0x36/0x40 [<001d7ac4>] macide_init+0x106/0x1ea [<001d79be>] macide_init+0x0/0x1ea [<001d00ff>] boot_override_clocksource+0x1/0x2e [<001c7f94>] kernel_init+0x6c/0x292 [<00001000>] kernel_pg_dir+0x0/0x1000 [<001c7f28>] kernel_init+0x0/0x292 [<001d11e2>] __alloc_bootmem+0x0/0x3e [<001c7f28>] kernel_init+0x0/0x292 [<0001b026>] schedule_tail+0x10/0x32 [<000023ac>] ret_from_fork+0x8/0xe [<00001000>] kernel_pg_dir+0x0/0x1000 [<00002846>] kernel_thread+0x3c/0x50 ---[ end trace 14d9838307553957 ]--- ide0 at 0x50f1a000 on irq 65 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 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