John Klos | 5 Nov 00:05 2003

newfs problems with large drive?

Hi,

newfs from release, 10-July-2003, seems to have problems with a large
drive. I have a 233 gig drive connected to the SCSI bus of my Amiga:

cbiiisc0: target 1 now wide 1
cbiiisc0: target 1 now synchronous, period=50ns, offset=14
siopng sync: siop_sxfr 2e, siop_scntl3 95
sd1 at scsibus0 target 1 lun 0: <ATA, Maxtor   6Y250P0, YAR4> SCSI3 0/direct fixed
sd1: mode sense (4) returned nonsense; using fictitious geometry
sd1: 233 GB, 239372 cyl, 64 head, 32 sec, 512 bytes/sect x 490234752 sectors

It's a Maxtor 250 gig (stupid numbering) IDE drive on an ACARD SCSI to
IDE adapter. The adapter supports 48 bit addressing, so that shouldn't be
an issue.

But when I try to newfs a filesystem which is the whole size of the drive
minus 130 megs or so, I get this:

reva# newfs /dev/sd1d
With 139264 sectors per cylinder, minimum cylinders per group is 1
This requires the block size to be changed from 8192 to 16384
        and the fragment size to be changed from 1024 to 2048

Then this:

reva# newfs -b 16384 -f 2048 /dev/sd1d
inode blocks/cyl group (32) >= data blocks (-317440)
number of cylinders per cylinder group (61608) must be increased.

(Continue reading)

Gunther Nikl | 5 Nov 15:06 2003
Picon

Re: newfs problems with large drive?

On Tue, Nov 04, 2003 at 06:05:05PM -0500, John Klos wrote:
> It's a Maxtor 250 gig (stupid numbering) IDE drive on an ACARD SCSI to
> IDE adapter. The adapter supports 48 bit addressing, so that shouldn't be
> an issue.

  Which firmware revision are you using? Does it work from the AmigaOS side?
  I do have an 60GB (=55GB) drive only.

> But when I try to newfs a filesystem which is the whole size of the drive
> minus 130 megs or so, I get this:
> 
> reva# newfs /dev/sd1d
> With 139264 sectors per cylinder, minimum cylinders per group is 1
> This requires the block size to be changed from 8192 to 16384
>         and the fragment size to be changed from 1024 to 2048
> 
> Then this:
> 
> reva# newfs -b 16384 -f 2048 /dev/sd1d
> inode blocks/cyl group (32) >= data blocks (-317440)
> number of cylinders per cylinder group (61608) must be increased.

  You should probably try another list eg. tech-kern.

> Relatedly, does anyone have any ideas about how it would be possible to
> mount partitions from a macppc NetBSD machine on the Amiga, and vice
> versa? Moving 150 gigs via 10-base-T is something I really would rather
> not do...

  How about using the raw disk with eg. tar or pax?
(Continue reading)

Pascal MARCELIN | 25 Nov 10:40 2003
Picon

New subscriber

Hello All,

I decided to try installing NetBSD 1.6.1 this morning for the first time
using a burnt ISO image. Here is my config :

  A3000 D
  MKII A3060
  128 MB
  CyberVision 3D
  Ariadne II
  Repulse II
  MultiFace II

I installed all packages, had the installer copy the kernel from the
installation miniroot (the doc was not clear to me on this point).

Having to use this Amiga for work, I was afraid of installing the bootblock
code on the root disk so I didn't.

All the installation process seemed successful but I'm unable to boot NetBSD
with selecting the root partition from the Amiga boot menu.

Any suggestion?

Cordially,
Pascal MARCELIN

Martin Bertelsmann | 25 Nov 10:49 2003
Picon

Re: New subscriber


Hi Pascal,

On Tue, 25 Nov 2003, Pascal MARCELIN wrote:

> Hello All,
> I decided to try installing NetBSD 1.6.1 this morning for the first time
> using a burnt ISO image. Here is my config :
>   A3000 D
>   MKII A3060
>   128 MB
>   CyberVision 3D
>   Ariadne II
>   Repulse II
>   MultiFace II
> I installed all packages, had the installer copy the kernel from the
> installation miniroot (the doc was not clear to me on this point).

well, you should install the kernel package and not the installation
kernel, IMHO.

> Having to use this Amiga for work, I was afraid of installing the bootblock
> code on the root disk so I didn't.

Well, the bootblock on an amiga system is limited to the partition you
install it on (unlike the MBR on D*S systems). It is needed to be able to
boot from the partition.

> All the installation process seemed successful but I'm unable to boot NetBSD
> with selecting the root partition from the Amiga boot menu.
(Continue reading)

Gunther Nikl | 25 Nov 11:02 2003
Picon

Re: New subscriber

On Tue, Nov 25, 2003 at 10:40:55AM +0100, Pascal MARCELIN wrote:
> Having to use this Amiga for work, I was afraid of installing the
> bootblock code on the root disk so I didn't.

  Without installing the bootblocks you can't boot NetBSD from the boot
  menu.

> All the installation process seemed successful but I'm unable to boot
> NetBSD with selecting the root partition from the Amiga boot menu.

  The bootblocks are installed into the NetBSD partition.

> Any suggestion?

  Install the bootblocks or get a recent loadbsd that can load ELF kernels.
  Its somewhere in the amiga part of ftp.netbsd.org.

  Gunther

Emm Vasilakis | 25 Nov 11:13 2003
Picon

Re: New subscriber

Hi,

> > All the installation process seemed successful but I'm unable to boot NetBSD
> > with selecting the root partition from the Amiga boot menu.

Had the exact same problem when I first installed NetBSD on my 3k.
Anyway, here's what people told me back then:

1. install the miniroot on the swap partition again.
2. boot the miniroot, but adding the "-bs" flag.

you will be asked for the root partition. tell it "sd0a" (or wherever your
NetBSD root is...)

voila, you're on your system, although in single user mode.

Now you can do:

# mount /usr
# /usr/mdec/installboot /usr/mdec/xxboot /dev/rsd0a

(still assuming sd0 is your root disk)

After that, you should be able to directly boot via the boot menu (if you
marked the partition as bootable as described in "installboot(8)".

You must also copy the /usr/mdec/boot.amiga to / .

--

-- 
Emm Vasilakis <evas <at> agn.forthnet.gr>
(Continue reading)

Pascal MARCELIN | 25 Nov 11:25 2003
Picon

Re: New subscriber

Hello again,

Thanks for answering that fast! I have to go for a few hours but should be
playing around again this evening.

Regards,
Pascal MARCELIN

Pascal MARCELIN | 25 Nov 16:03 2003
Picon

Partition sizing

Hello all,

How would you divide a 4.2 GB HD to use NetBSD on a 128MB RAM A3060?
I plan to use this config in 4 computer LAN as a learning system before
switching the whole LAN to NetBSD.

Cordially,
Pascal MARCELIN

Pascal MARCELIN | 25 Nov 17:08 2003
Picon

Boot options

Hello all,

Installation doc says:

  Once the installer is done, halt the system with the halt command (wait 
  for halted to be displayed) and reboot.

No problem here since the boot bloc is now installed.

  Then again boot NetBSD this time selecting the root partition (/) from the
  boot menu, and tell it to boot

    netbsd -s

I can't figure out where the bootblock prompt is.

Cordially,
Pascal MARCELIN

Pascal MARCELIN | 25 Nov 17:40 2003
Picon

Re: New subscriber

Hello Martin,

On 25/11/2003 at 09h49 (GMT), you wrote:

> well, you should install the kernel package and not the installation
> kernel, IMHO.

Do you mean I should install "/amiga/binary/set/kern-GENERIC.tgz" and answer
"n" when I'm offered to install the miniroot kernel?

Cordially,
Pascal MARCELIN


Gmane