Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 Aug 2002 13:43:36 -0700 (PDT)
From:      Pete Carah <pete@ns.altadena.net>
To:        current@freebsd.org, mobile@freebsd.org
Subject:   Problem booting current on VAIO R505ES
Message-ID:  <200208032043.g73KhaUR065207@ns.altadena.net>

next in thread | raw e-mail | index | archive | help
I got around the lack of IRQ on pcic1 by means of a trick involving
hw.... sets in loader.conf (thanks to the mobile contributors); now it
won't mount root.

I know what the problem is but not why; the loader brings the kernel in 
fine, and probes work fine; I'd presume if the partition were too high this
would be where the failure would lie.  However, the layout is (LBA):
----------------------------
The data for partition 1 is:
sysid 7,(OS/2 HPFS, NTFS, QNX-2 (16 bit) or Advanced UNIX)
    start 63, size 33543657 (16378 Meg), flag 0
	beg: cyl 0/ head 1/ sector 1;
	end: cyl 1023/ head 254/ sector 63
The data for partition 2 is:
sysid 165,(FreeBSD/NetBSD/386BSD)
    start 33543720, size 8177085 (3992 Meg), flag 80 (active)
	beg: cyl 1023/ head 255/ sector 63;
	end: cyl 1023/ head 254/ sector 63
The data for partition 3 is:
sysid 165,(FreeBSD/NetBSD/386BSD)
    start 41720805, size 8177085 (3992 Meg), flag 0
	beg: cyl 1023/ head 255/ sector 63;
	end: cyl 1023/ head 254/ sector 63
The data for partition 4 is:
sysid 165,(FreeBSD/NetBSD/386BSD)
    start 49897890, size 28242270 (13790 Meg), flag 0
	beg: cyl 1023/ head 255/ sector 63;
	end: cyl 1023/ head 254/ sector 63
-------------------------------------------
%disklabel -r ad0s2
# /dev/ad0s2c:
type: ESDI
disk: ad0s2
label: 
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 255
sectors/cylinder: 16065
cylinders: 509
sectors/unit: 8177085
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0		# milliseconds
track-to-track seek: 0	# milliseconds
drivedata: 0 

8 partitions:
#        size   offset    fstype   [fsize bsize bps/cpg]
  a:  1048576        0    4.2BSD     2048 16384    89 	# (Cyl.    0 - 65*)
  b:  1048576  2097152      swap                    	# (Cyl.  130*- 195*)
  c:  8177085        0    unused        0     0       	# (Cyl.    0 - 508)
  e:  1048576  1048576    4.2BSD     2048 16384    89 	# (Cyl.   65*- 130*)
  f:  5031357  3145728    4.2BSD     2048 16384    89 	# (Cyl.  195*- 508*)
%disklabel -r ad0s3
# /dev/ad0s3c:
type: ESDI
disk: ad0s3
label: 
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 255
sectors/cylinder: 16065
cylinders: 509
sectors/unit: 8177085
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0		# milliseconds
track-to-track seek: 0	# milliseconds
drivedata: 0 

8 partitions:
#        size   offset    fstype   [fsize bsize bps/cpg]
  a:  1048576        0    4.2BSD     2048 16384    89 	# (Cyl.    0 - 65*)
  b:  1048576  2097152      swap                    	# (Cyl.  130*- 195*)
  c:  8177085        0    unused        0     0       	# (Cyl.    0 - 508)
  e:  1048576  1048576    4.2BSD     2048 16384    89 	# (Cyl.   65*- 130*)
  f:  5031357  3145728    4.2BSD     2048 16384    89 	# (Cyl.  195*- 508*)
---------------------------------------------------------------------
Note that slice 2 begins JUST below a power of 2 (33554432), and boots
fine.  Slice 2 has stable on it, slice 3 current, slice 4 == "/d" and
contains home dirs etc.

Yes I know, I could make slice 1 smaller.  However, I don't know an NTFS
version of partition magic.  Sony's reinstaller does allow me to make
the partition smaller and I suspect I'll have to do this, with a complete
reinstall of everything.  However, especially on a new system where I
might have to deal with the warranty, I like to leave the windoze system
alone :-(

Now, why is there a mount-root problem at 16mb where the bios limit
should end up at 8mb.  The "bad" line is at 2**25?????

Note that stable (once it is up) gets to all the slices just fine (that 
is how I've been installing, cross-compiling from -stable).

-- Pete

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-mobile" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200208032043.g73KhaUR065207>