Port-macppc archive

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

Re: disk devices vs. wedges and wrong FS type



In article <Pine.NEB.4.64.1501220040270.10039%david.technoskunk.fur@localhost>,
John D. Baker <jdbaker%mylinuxisp.com@localhost> wrote:
>So after some hiatus, I have one of my PowerMacs back online.  It's a
>PowerMac G4 (AGP Graphics), a.k.a. "Sawtooth" IIRC.
>
>I built a recent -current (7.99.4) but kept the toolchain rolled back to
>gcc45, just in case.  I updated the machine's NFS root filesystem and it
>proceeded to boot just fine over the network.
>
>I set about also updating the installation on the machine's local disk.
>The previous install was a 6.99.41 vintage.  I set about updating just
>the modules and the kernel (boot from HFS partition) and figured to
>reboot and update the rest.
>
>When the machine wasn't reachable via SSH after a reasonable period of
>time, I went to inspect the console.  I found messages like the
>following:
>
>  mount: no match for `wd0a': No such process
>
>and
>
>  fsck: exec /usr/sbin/fsck_sysv for /dev/rdk1: No such file or directory
>
>So, first it appears that -current insists on using wedges and can't
>cope with my existing "/etc/fstab" that uses device paths and partitions.
>Second, it gets the filesystem on the wedges wrong.  Looking through
>'dmesg' revealed:
>
>[...]
>wd0 at atabus0 drive 0
>wd0: <Hitachi HDS721680PLAT80>
>wd0: drive supports 16-sector PIO transfers, LBA48 addressing
>wd0: 76319 MB, 155061 cyl, 16 head, 63 sec, 512 bytes/sect x 156301488 sectors
>dk0 at wd0: Boot
>dk0: 21105 blocks at 64, type: hfs
>dk1 at wd0: Root
>dk1: 20972448 blocks at 21169, type: sysv
>dk2 at wd0: Swap
>dk2: 4195296 blocks at 20993617, type: sysv
>dk3 at wd0: tmp
>dk3: 2097648 blocks at 25188913, type: sysv
>dk4 at wd0: var
>dk4: 8389584 blocks at 27286561, type: sysv
>dk5 at wd0: d0
>dk5: 120625343 blocks at 35676145, type: sysv
>wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133)
>wd0(wdc0:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 4
>(Ultra/66) (using DMA)
>[...]
>
>So, the wedges think the filesysem type is "sysv" instead of "ffs".
>I can check and mount the disk partitions if I add "-t ffs" to the
>'fsck' and 'mount' command lines, respectively.

ln -s /sbin/fsck_{ffs,sysv} :-)
ln -s /sbin/mount_{ffs,sysv} :-)

Does that work?

christos



Home | Main Index | Thread Index | Old Index