Re: rootfs goes full during installation of 5.0.1 on NWS-1460
David Brownlee <[email protected]> Sun, 1 Nov 2009 16:01:11 -0100
| Newsgroups | gmane.os.netbsd.ports.news68k |
|---|---|
| Message-ID | <[email protected]> |
2009/10/31 TOMARI Hisanobu <[email protected]>: >> If you can rebuild a kernel on other host, you can disable >> SCSI DMA as mentioned in sys/arch/news68k/conf/GENERIC: > I tried following config: > =C2=A0 =C2=A0 =C2=A0 =C2=A0si0 =C2=A0 =C2=A0 at hb0 addr 0xe0cc0000 ipl 4= flags 0x20000 > and it did the trick! I partitioned the original 240MB disk on the machin= e > then put NetBSD on it, all went really smoothly. > However, when the firmware tries to load the bootloader, it seems to use > DMA transfers, and therefore cannot boot. So I ended up creating a > "Startup Floppy" containing bootloader and kernel. So the NetBSD/news68k bootloader does not use DMA & works, but the firmware does use DMA and does not :/ Hmm, theoretically it shouldn't be too difficult to have code on attach read the first sector twice: once with DMA enabled and once without, and then warn and disable DMA if they differ. I think there are still some sun3 & mac68k machine/disk combinations where the DMA hardware is not 'just broken', which might benefit from that, though I don't know if its really generally useful :) [... very lean dmesg...] excellent stuff! Whats next? Playing with X on it or maybe trying to write the news rd remote disk netboot support? :) :) :)