Subject: restorecd, fdisk problems on cobalt
To: None <port-cobalt@netbsd.org>
From: Eric Auge <eau@phear.org>
List: port-cobalt
Date: 12/29/2007 18:31:13
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig3F0C556A5BF8D13637A40DC2
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Hello,
As I was not happy with the partitioning of the default netbsd cobalt
restore cd, I just planned to change the partitioning scripts and wanted
to rebuild the restore CD.
I tested twice and both tests did not work.
>>> TRIAL #1
I found this post :
http://mail-index.netbsd.org/port-cobalt/2006/04/01/0000.html
I took the ISO and I wanted to duplicate the ISO, change the script and
recreate the ISO.
but first surprise :
# mount
[...]
/dev/vnd0a on /mnt type cd9660 (read-only, local)
# df -h
[...]
/dev/vnd0a 256M 256M 0B 100% /mnt
# du -h /mnt
1.7G /mnt
so you imagine that recreating the CD was not possible, I must have
missed something here, but I don't know what (hard links does not exists
in iso9660 ?)
>>> TRIAL #2
I took the restore cd scripts from here :
ftp://ftp.netbsd.org/pub/NetBSD/misc/tsutsui/cobalt/
I've built the following using build.sh :
tools for i386 in /usr/crosstools-i386
tools for cobalt in /usr/crosstools-cobalt
release for i386 in /usr/rel-i386
release for cobalt in /usr/rel-cobalt
then I ran the restorecd script using the parameters provided
and ends with a bootable cd that init the boot server successfully,
I replaced the nfsroot/install/scripts/install* scripts by modified ones
in order to change the partitioning.
the cobalt boot nicely but I keep getting this error from fdisk
at the time it takes information from the hard drive (fdisk -S /dev/wd0)
and on each call to fdisk.
# fdisk -S /dev/wd0
[1] Trace/BPT trap fdisk -S /dev/wd0
So the scripts fails because fdisk fails for some reasons i m not yet
able to catch..
any ideas where it could comes from ?!
the cobalt is a RaQ 2
uname -a as the following :
# uname -a
NetBSD client 4.0_STABLE NetBSD 4.0_STABLE (GENERIC) #0: Fri Dec 28
13:23:05 CET 2007
root@bearcave.no.phear.org:/usr/obj/sys/arch/cobalt/compile/GENERIC cobal=
t
and here is the dmesg :
# dmesg
nfs_boot: gateway=3D10.0.0.254
root on 10.0.0.254:/nfsroot
root file system type: nfs
WARNING: clock lost 5 days
WARNING: using filesystem time
WARNING: CHECK AND RESET THE DATE!
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,=
2006, 2007
The NetBSD Foundation, Inc. All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California. All rights reserved.
NetBSD 4.0_STABLE (GENERIC) #0: Fri Dec 28 13:23:05 CET 2007
root@bearcave.no.phear.org:/usr/obj/sys/arch/cobalt/compile/GENER=
IC
Cobalt RaQ 2
total memory =3D 144 MB
avail memory =3D 136 MB
timecounter: Timecounters tick every 10.000 msec
mainbus0 (root)
com0 at mainbus0 addr 0x1c800000 level 3: st16650a, working fifo
com0: console
cpu0 at mainbus0: QED RM5200 CPU (0x28a0) Rev. 10.0 with built-in FPU
Rev. 10.0
cpu0: 32KB/32B 2-way set-associative L1 Instruction cache, 48 TLB entries=
cpu0: 32KB/32B 2-way set-associative write-back L1 Data cache
mcclock0 at mainbus0 addr 0x10000070: mc146818 compatible time-of-day clo=
ck
panel0 at mainbus0 addr 0x1f000000
gt0 at mainbus0 addr 0x14000000
pci0 at gt0
pci0: i/o space, memory space enabled, rd/line, wr/inv ok
pchb0 at pci0 dev 0 function 0: Galileo GT-64111 System Controller, rev 1=
tlp0 at pci0 dev 7 function 0: DECchip 21143 Ethernet, pass 4.1
tlp0: interrupting at level 1
tlp0: Ethernet address 00:10:e0:00:a2:07
lxtphy0 at tlp0 phy 1: LXT970 10/100 media interface, rev. 3
lxtphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
siop0 at pci0 dev 8 function 0: Symbios Logic 53c860 (ultra scsi)
siop0: interrupting at irq 4
scsibus0 at siop0: 8 targets, 8 luns per target
pcib0 at pci0 dev 9 function 0
pcib0: VIA Technologies VT82C586 PCI-ISA Bridge, rev 39
viaide0 at pci0 dev 9 function 1
viaide0: VIA Technologies VT82C586 (Apollo VP) ATA33 controller
viaide0: bus-master DMA support present
viaide0: primary channel configured to compatibility mode
viaide0: primary channel interrupting at irq 14
atabus0 at viaide0 channel 0
viaide0: secondary channel configured to compatibility mode
viaide0: secondary channel interrupting at irq 15
atabus1 at viaide0 channel 1
VIA Technologies VT83C572 USB Controller (USB serial bus, revision 0x02)
at pci0 dev 9 function 2 not configured
tlp1 at pci0 dev 12 function 0: DECchip 21143 Ethernet, pass 4.1
tlp1: interrupting at level 2
tlp1: Ethernet address 00:10:e0:00:a1:f3
lxtphy1 at tlp1 phy 1: LXT970 10/100 media interface, rev. 3
lxtphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
timecounter: Timecounter "mips3_cp0_counter" frequency 125000000 Hz
quality 100
Kernelized RAIDframe activated
scsibus0: waiting 2 seconds for devices to settle...
wd0 at atabus0 drive 0: <ST3200822A>
wd0: quirks 2<FORCE_LBA48>
wd0: drive supports 16-sector PIO transfers, LBA48 addressing
wd0: 186 GB, 387621 cyl, 16 head, 63 sec, 512 bytes/sect x 390721968 sect=
ors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
wd0(viaide0:0:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DM=
A)
boot device: tlp0
root on tlp0
nfs_boot: trying DHCP/BOOTP
nfs_boot: DHCP next-server: 10.0.0.254
nfs_boot: my_domain=3Dnetbsd.org
nfs_boot: my_addr=3D10.0.0.160
nfs_boot: my_mask=3D255.0.0.0
nfs_boot: gateway=3D10.0.0.254
root on 10.0.0.254:/nfsroot
root file system type: nfs
WARNING: clock lost 5 days
WARNING: using filesystem time
WARNING: CHECK AND RESET THE DATE!
Thanks,
Regards,
Eric.
--------------enig3F0C556A5BF8D13637A40DC2
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (NetBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFHdoRmSdZNA80H8MYRAqU1AKCxpr39v3t9MpOU3zC4zBZzIp1QpwCdHE1+
6i/R/AAGN5IRXSUhqulEIVI=
=7J9i
-----END PGP SIGNATURE-----
--------------enig3F0C556A5BF8D13637A40DC2--