Re: [CUWiN] Soekris images not quite right?
[email protected] Tue, 7 Feb 2006 13:52:53 -0500 (EST)
| Newsgroups | gmane.network.wireless.cu-wireless |
|---|---|
| Message-ID | <[email protected]> |
After running "dd if=/dev/zero of=/dev/rwd0d bs=64k count=1", disklabel wd0 says: type: ESDI disk: net4526 bytes/sector: 512 sectors/track: 32 tracks/cylinder: 4 sectors/cylinder: 128 cylinders: 977 total sectors: 125056 I wrote the image to the flash using the following after netbooting: wget http://192.168.200.1/cuwin-20060205-r3818.net4526.img -O - | dd of=/dev/hda bs=16k Cheers, Simon On Wed, 1 Feb 2006, David Young wrote: > On Wed, Feb 01, 2006 at 01:00:20AM -0500, [email protected] wrote: > > Hi, > > > > I decided to re-image a soekris node that was misbehaving (my first; > > someone else had done all the previous configs), and I've run into a bit > > of a problem... > > Maybe you have a geometry mismatch between the CF card and the image > you wrote to it. > > > # df -k > > Filesystem 1K-blocks Used Avail Capacity Mounted on > > /dev/wd0a 22615 22010 -525 102% / > > mfs:8 47 40 4 90% /dev > > mfs:1242 7223 1456 5406 21% /mfs > > /etc 22615 22010 -525 102% /permanent/etc > > /home 22615 22010 -525 102% /permanent/home > > /tmp 22615 22010 -525 102% /permanent/tmp > > /var 22615 22010 -525 102% /permanent/var > > /mfs/etc 7223 1456 5406 21% /etc > > /mfs/home 7223 1456 5406 21% /home > > /mfs/tmp 7223 1456 5406 21% /tmp > > /mfs/var 7223 1456 5406 21% /var > > For comparison, I see this on a net4526 running 0.6.0+: > > # df -k > Filesystem 1K-blocks Used Avail Capacity Mounted on > /dev/wd0e 30239 23748 4980 82% / > tmpfs 400 192 208 48% /dev > tmpfs 31640 2792 28848 8% /mfs > /etc 30239 23748 4980 82% /permanent/etc > /home 30239 23748 4980 82% /permanent/home > /tmp 30239 23748 4980 82% /permanent/tmp > /var 30239 23748 4980 82% /permanent/var > /mfs/etc 31640 2792 28848 8% /etc > /mfs/home 31640 2792 28848 8% /home > /mfs/tmp 31640 2792 28848 8% /tmp > /mfs/var 31640 2792 28848 8% /var > > > Disklabel shows that I should have more like 31248 blocks available: > > > > 5 partitions: > > # size offset fstype [fsize bsize cpg/sgs] > > a: 62497 63 4.2BSD 0 0 0 # (Cyl. 0*- 488*) > > c: 62497 63 unused 0 0 # (Cyl. 0*- 488*) > > d: 125056 0 unused 0 0 # (Cyl. 0 - 976) > > e: 62496 62560 4.2BSD 0 0 0 # (Cyl. 488*- 976) > > This definitely looks like one of our net4526 images. Suppose you dd > if=/dev/zero of=/dev/rwd0d bs=64k count=1 (careful, that *will* wreck the > boot record) and then run 'disklabel wd0'. What numbers does disklabel > print for these fields? > > bytes/sector: 512 > sectors/track: 32 > tracks/cylinder: 4 > sectors/cylinder: 128 > cylinders: 977 > total sectors: 125056 > > Dave > > -- > David Young OJC Technologies > [email protected] Urbana, IL * (217) 278-3933 > _______________________________________________ > CU-Wireless mailing list > [email protected] > http://lists.chambana.net/cgi-bin/listinfo/cu-wireless > Project Page: http://cuwireless.ucimc.org > _______________________________________________ CU-Wireless mailing list [email protected] http://lists.chambana.net/cgi-bin/listinfo/cu-wireless Project Page: http://cuwireless.ucimc.org