Misc -

My ppc based Mac G4 (Digital Audio) boots and functions properly 24x7
in its role as fileserver in my home network.  The machine has two IDE
hard drives (wd0(wdc0:0:0) and wd1(wdc0:0:1)) attached.  It boots from
wd0 and mounts wd0a as / with wd0b as swap. These partitions are
specified by DUID in /etc/fstab.  I have successfully installed a
supported SATA PCI card which adds 2 SATA ports and one IDE port to
this machine and it continues to function.  When I add one drive to the
SATA controller, the new drive is identified as wd0.  The root drive is
identified then as wd1.  Though the root drive is specified by DUID in
/etc/fstab the kernel reports it is attempting mount root as wd0a with
wd0b as swap before failing and dropping to ddb>

What should I do next to troubleshoot and solve this problem?  I'll
give detail below in sequential order of what happened:

1. The machine first was installed and operated with no additional
drives:

Original dmesg with no cards:
http://justinhaynes.com/wiki/index.php?title=Power_Mac_G4_Digital_Audio_dmesgs#nocards

$ cat /etc/fstab
009339b689499a74.b none swap sw
009339b689499a74.a / ffs rw 1 1
009339b689499a74.l /home ffs rw,nodev,nosuid 1 2
009339b689499a74.d /tmp ffs rw,nodev,nosuid 1 2
009339b689499a74.f /usr ffs rw,nodev 1 2
009339b689499a74.g /usr/X11R6 ffs rw,nodev 1 2
009339b689499a74.h /usr/local ffs rw,nodev 1 2
009339b689499a74.k /usr/obj ffs rw,nodev,nosuid 1 2
009339b689499a74.j /usr/src ffs rw,nodev,nosuid 1 2
009339b689499a74.e /var ffs rw,nodev,nosuid 1 2
cf2accc79e4b7bfc.i /home/bs ffs rw,nodev,nosuid 1 2

2. A card was added, which did not prevent it from booting and
operating normally:

$ diff nocards.dmesg rosewill_rc-215.dmesg
27a28,29
> pciide0 at pci1 dev 20 function 0 "VIA VT6421 SATA" rev 0x50: DMA
> pciide0: using irq 54 for native-PCI interrupt

3. I attached one ~1 terrabyte drive to pciide0 mentioned above, booted
up and got the error I described.  The last few lines of the dmesg and
the first few of the ddb> output appear here.  I do not have a way to
capture output from the serial console at this time, so I typed out the
lines.  The previous lines are identical to the original dmesg + the
extra card:

http://justinhaynes.com/wiki/index.php?title=Power_Mac_G4_Digital_Audio_dmesgs#dmesg_with_rosewill_rc-215_VIA_VT6421_SATA


4. I booted up with bsd.rd, used fdisk to create an OpenBSD partition
taking all of the last partition, partition #3.  I then created a
disklabel with only one slice, i, and ran a newfs.  I did generate a
DUID on this disk.  I confirmed it was mountable and that files could
be written to and read from the drive.

5. I rebooted the machine and got the same result as in #3.


Thanks!

Reply via email to