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

Problems Upgrading to i386 19990816 Snapshot from 2.5 vanilla



Howdy.

I'm trying to upgrade my vanilla i386 2.5 system to a snapshot from
19990816 (or 19990810, the previous one).  I've done other snapshot
upgrades on other systems, but non on a SCSI-only system.  The problem
is that when the kernel finishes loading (which seems to be error-free)
and attempts to load the root filesystem, and fails.

The reason appears to be that under the newer kernel, the BIOS value 80
gets assigned to the second SCSI drive, and not the first, where is
should be (and is under 2.5 vanilla).

At the boot> prompt, a 'machine diskinfo' tells me that sd0 is at BIOS 80,
where it should be.  It appears to change downstream from the boot loader.

How do I convince the new kernel to behave?

If I can get the system booted, then I can upgrade to the snapshot and
then to -current, which is my goal.  I'd rather not go through the egcs
upgrade manually. :)


The system has three SCSI disks, but BSD is only on the first one,
which is the first ID in the SCSI chain.  The SCSI controller is an
AIC7880 (Adaptec 2940U).   There is an ATAPI Zip in the box, but I
haven't attempted to muck with it yet; no other IDE devices.


When booted with the stock 2.5 bsd kernel, the relevant dmesg output is:

...
ahc1 at pci0 dev 14 function 0 "Adaptec AHA-2940U" rev 0x01: irq 9
ahc1: aic7880 Wide Channel, SCSI Id=7, 16 SCBs   
scsibus0 at ahc1: 16 targets
ahc1: target 1 using 16Bit transfers
ahc1: target 1 synchronous at 20.0MHz, offset = 0x8
sd0 at scsibus0 targ 1 lun 0: <SEAGATE, ST34520W,1487> SCSI2 0/direct fixed
sd0: 4340MB, 9006 cyl, 4 head, 246 sec, 512 bytes/sec, 8888924 sec total
ahc1: target 3 using 16Bit transfers
ahc1: target 3 synchronous at 20.0MHz, offset = 0x8
sd1 at scsibus0 targ 3 lun 0: <WDIGTL, ENTERPRISE, 1.91> SCSI2 0/direct fixed
sd1: 4157MB, 5720 cyl, 8 head, 186 sec, 512 bytes/sec, 8515173 sec total
ahc1: target 6 synchronous at 20.0MHz, offset = 0xf
cd0 at scsibus0 targ 6 lun 0: <PLEXTOR, CD-ROM PX-32TS, 1.03> SCSI2 5/cdrom removable
ahc1: target 8 using 16Bit transfers
ahc1: target 8 synchronous at 20.0MHz, offset = 0x8
sd2 at scsibus0 targ 8 lun 0: <WDIGTL, ENTERPRISE, 1.91> SCSI2 0/direct fixed
sd2: 4157MB, 5720 cyl, 8 head, 186 sec, 512 bytes/sec, 8515173 sec total
...
root on sd0a
pctr: 686-class user-level performance counters enabled
dkcsum: sd0 matched BIOS disk 80
dkcsum: sd1 matched BIOS disk 81
dkcsum: sd2 matched BIOS disk 82
rootdev=0x400 rrootdev=0xd00 rawdev=0xd02
IP Filter: initialized.  Default = pass all, Logging = enabled


When booted with the snapshot 19990816 bsd kernel, the output is
(hand-copied):

...
root on sd0a
pctr: 686-class user-level performance counters enabled
dkcsum: sd0 had no matching BIOS disk
dkcsum: sd1 matched BIOS disk 80
dkcsum: sd2 matched BIOS disk 81
dkcsum: sd3 matched BIOS disk 82
rootdev=0x400 rrootdev=0xd00 rawdev=0xd02
panic: root filesystem has size 0


fdisk sd0 output:
Disk: sd0	geometry: 553/255/63 [8883945 sectors]
Offset: 0	Signatures: 0xAA55,0x0
         Starting        Ending
 #: id  cyl  hd sec -  cyl  hd sec [     start -       size]
-------------------------------------------------------------------------
 0: 00    0   0   0 -    0   0   0 [         0 -          0] unused      
 1: 00    0   0   0 -    0   0   0 [         0 -          0] unused      
 2: 00    0   0   0 -    0   0   0 [         0 -          0] unused      
*3: A6    0   1   1 -  552 254  63 [        63 -    8883882] OpenBSD     


disklabel sd0 output:
# using MBR partition 3: type A6 off 63 (0x3f) size 8883882 (0x878eaa)
# /dev/rsd0c:
type: SCSI
disk: SCSI disk
label: ST34520W       
flags:
bytes/sector: 512
sectors/track: 246
tracks/cylinder: 4
sectors/cylinder: 984
cylinders: 9006
total sectors: 8888924
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0		# milliseconds
track-to-track seek: 0	# milliseconds
drivedata: 0 

16 partitions:
#        size   offset    fstype   [fsize bsize   cpg]
  a:   164265       63    4.2BSD     1024  8192    16 	# (Cyl.    0*- 166)
  b:   261744   164328      swap                      	# (Cyl.  167 - 432)
  c:  8888924        0    unused        0     0       	# (Cyl.    0 - 9033*)
  d:  1024344   426072    4.2BSD     1024  8192    16 	# (Cyl.  433 - 1473)
  e:  1024344  1450416    4.2BSD     1024  8192    16 	# (Cyl. 1474 - 2514)
  f:  2047704  2474760    4.2BSD     1024  8192    16 	# (Cyl. 2515 - 4595)
  g:   409344  4522464    4.2BSD     1024  8192    16 	# (Cyl. 4596 - 5011)
  h:   614016  4931808    4.2BSD     1024  8192    16 	# (Cyl. 5012 - 5635)
  i:   130872  5545824    4.2BSD     1024  8192    16 	# (Cyl. 5636 - 5768)
  j:   130872  5676696    4.2BSD     1024  8192    16 	# (Cyl. 5769 - 5901)
  k:  2057512  5807568    4.2BSD     1024  8192    16 	# (Cyl. 5902 - 7992*)


-- 
------------------------------------------------------------------------
Joshua Krage, Network Engineer              krage_(_at_)_guisarme_(_dot_)_gsfc_(_dot_)_nasa_(_dot_)_gov
Raytheon ITSS   PGP Key: <http://guisarme.gsfc.nasa.gov/~krage/pgp.html>
R&D Center for Advanced Technology      NASA Goddard Space Flight Center



Visit your host, monkey.org