|
List Info
Thread: Re: port-mac68k/37474: After installing a system, booting into it, and mounting /, I get a message
|
|
| Re: port-mac68k/37474: After installing
a system, booting into it, and mounting
/, I get a message |
  Germany |
2007-12-12 04:47:26 |
At 2:07 Uhr +0000 12.12.2007, John Klos wrote:
>>> Interesting... yours is the first report of
somebody trying to
>>>install NetBSD/mac68k on such a drive. While
there may be
>>>incompatibilities on the SCSI level... how big
is your root
>>>partition? I dimly recall some of the old MacOS
based tools having
>>>issues with accessing partitions beyond 1 GB.
That's why I usually
>>>put the NetBSD partitions first.
>
>What makes the drive special? mac68k has been installed
on just
>about every kind of drive I can think of.
The SCSI-to-IDE adapters may or may not map all of the SCSI
disk
command set in a reasonable manner, and they may or may not
take into
account peculiar implementations on ~twenty-year-old
machines. Thomas
is the first to report a NetBSD/mac68k installation on a
bridged IDE
drive, for all I know.
>> Just for the fun of it I formated the root
partition (906 MB) and
>>installed NetBSD 1.5.3 using the GENERIC kernel.
Everything went
>>fine. I was able to boot into multi-user mode... no
problem. It's
>>not some of the old MacOS based tools that have a
problem.
Thanks for testing that!
> My
>>guess is that something has happened to NetBSD
between version
>>1.5.3 and 4.0R5, which is plenty, I'm sure. Again,
thanks for
>>bearing with me on this little dilemma.
I see that you reported similar issues in
<http://mail-index.netbsd.org/port-mac68k/2007/
05/25/0000.html>. Have
the patches in netbsd-3 fixed that for you, i.e. is your
current
problem netbsd-4 specific?
>Was your 4.0 install done on a partition which was
formatted with
>mkfs under MacOS, or newfs under the NetBSD installer
kernel? mkfs
>is woefully out of date.
Mkfs and the MacOS Installer worked for me on a Macintosh
IIvx (see PR 37474).
hauke
--
The ASCII Ribbon Campaign Hauke
Fath
() No HTML/RTF in email Institut für
Nachrichtentechnik
/ No Word docs in email TU
Darmstadt
Respect for open standards Ruf
+49-6151-16-3281
|
|
| Re: port-mac68k/37474: After installing
a system, booting into it, and mounting
/, I get a message |
  United States |
2007-12-12 07:10:09 |
On Dec 12, 2007, at 3:47 AM, Hauke Fath wrote:
>
> I see that you reported similar issues in
> <http://mail-index.netbsd.org/port-mac68k/2007/
05/25/0000.html>. Have
> the patches in netbsd-3 fixed that for you, i.e. is
your current
> problem netbsd-4 specific?
Yes, I have had trouble with netbsd-3 as well. Even with
the patched
3.1.1 version, I can boot from the GERERIC kernel on the Mac
partition
OK, but when I install the system and try to boot into that
I get a
"panic, no init" message. NetBSD 4.0R5 was the
first version since
2.1, I think, where I could boot into single-user mode
successfully,
but, when I mount / and reboot... magic numbers don't
match.
Tom
|
|
| Re: port-mac68k/37474: After installing
a system, booting into it, and mounting
/, I get a message s |
  United States |
2007-12-12 11:20:09 |
>> What makes the drive special? mac68k has been
installed on just
>> about every kind of drive I can think of.
>
> The SCSI-to-IDE adapters may or may not map all of the
SCSI disk command set
> in a reasonable manner, and they may or may not take
into account peculiar
> implementations on ~twenty-year-old machines. Thomas is
the first to report a
> NetBSD/mac68k installation on a bridged IDE drive, for
all I know.
But how could that explain improper magic numbers?
Also, I've been using SCSI-IDE adapters for years in many
machines,
including production machines, VAXen, mac68k, SPARC, Amigas,
et cetera. If
any code did strange SCSI stuff, it'd be the code in MacOS
because Apple
knew the hardware much more intimately than anyone else.
I have three mac68k machines using them, two of which are
colocated -
Quadra 605s make for very tidy 1U servers. Here's a low
power 160 gig
drive in one of them:
sd0 at scsibus0 target 0 lun 0: <Hitachi,
HDS721616PLAT80, P22O> disk fixed
sd0: 149 GB, 77525 cyl, 64 head, 63 sec, 512 bytes/sect x
312581808 sectors
sd0: sync (248.00ns offset 15), 8-bit (4.032MB/s) transfers,
tagged queueing
My adapters are Acard. What kind are yours?
> To me this all sounds like MacOS and NetBSD disagree
about your
> partitions.
This is possible, and has happened on many kinds of drives
for me, be they
500 meg SCSI or 500 gig IDE on SCSI-IDE bridges. What I have
found that
works well (if a bit slowly) is using the Apple HD SC
utility to
auto-partition a drive (just select any of the defaults),
then making
changes. For some reason, Apple HD SC and Drive Setup both
leave little
spaces between the driver sections and partitions. When
didn't leave
spaces, strage things would happen; I'd mount a partition,
then see no
files in it (including . and ..), or I'd start to use it,
then panic the
machine because of filesystem corruption.
The spaces created by Apple HD SC appear to be only 16k or
so, so you're
not losing much by trying.
John Klos
|
|
[1-3]
|
|