Date: Sat, 27 Jun 2009 01:32:54 -0300 From: Vinicius Abrahao <vinnix.bsd@gmail.com> To: Alex Keda <admin@lissyara.su>, Scott Long <scottl@samsco.org>, marcus@blazingdot.com, freebsd-current@freebsd.org Cc: rbgarga@freebsd.org, Greg 'groggy' Lehey <grog@freebsd.org> Subject: Re: new usb stack - boot problem from usb hdd Message-ID: <1e31c7980906262132k7571c4b8ucfde94ec94cb1d8@mail.gmail.com> In-Reply-To: <20090418023632.GJ13564@dereel.lemis.com> References: <49E895CB.2040407@lissyara.su> <20090417213125.GI13564@dereel.lemis.com> <49E9015D.9000404@samsco.org> <20090418023632.GJ13564@dereel.lemis.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi Guys, 0) First sorry for this annoying and long email... I'm probably having the same problem here: 1) FreeBSD 8.0-CURRENT #6: Tue Jun 23 02:37:12 BRT 2009 2) When I boot from my external usb hard disk[1] :p I had this problem with boot[2]: "Trying to mount root from ufs:/dev/da0s1a ROOT MOUNT ERROR: " 3) If I, at the "mountroot>" prompt, try to mount the root filesystem with mountroot> ufs:da0 The error occurs again, but I don't know why, doing this It's make possible now trying boot from da0s1a 4) mountroot> ufs:da0s1a Now the system boot normally! 5) It's my first time for these "boot from usb" occasions, so I'm thinking that I made something wrong at the installation of disk. Anyway here is my lsusb -v result[3]. 6) umass is on KERNELFILE, I put these lines at /boot/loader.conf: umass_load="YES" kern.cam.scsi_delay=1000 but this not affect the problem. 7) Marcus, this patch is off (404) http://people.freebsd.org/~thompsa/root_wait.diff 8) fdisk and bsdlabel results: ******* Working on device /dev/da0 ******* parameters extracted from in-core disklabel are: cylinders=9729 heads=255 sectors/track=63 (16065 blks/cyl) Figures below won't work with BIOS for partitions not in cyl 1 parameters to be used for BIOS calculations are: cylinders=9729 heads=255 sectors/track=63 (16065 blks/cyl) Media sector size is 512 Warning: BIOS sector numbering starts with sector 1 Information from DOS bootblock is: The data for partition 1 is: sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) start 63, size 62910477 (30718 Meg), flag 80 (active) beg: cyl 0/ head 1/ sector 1; end: cyl 1023/ head 254/ sector 63 The data for partition 2 is: sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) start 62910540, size 93385845 (45598 Meg), flag 0 beg: cyl 1023/ head 255/ sector 63; end: cyl 1023/ head 254/ sector 63 The data for partition 3 is: <UNUSED> The data for partition 4 is: <UNUSED> # /dev/da0s1: 8 partitions: # size offset fstype [fsize bsize bps/cpg] a: 62910461 79 4.2BSD 0 0 0 c: 62910477 63 unused 0 0 # "raw" part, don't edit partition a: partition extends past end of unit partition c: partition extends past end of unit bsdlabel: partition c doesn't start at 0! bsdlabel: An incorrect partition c may cause problems for standard system utilities [1]: http://www.triarius.com.br/vinicius/bsd/hd_note_usb.jpg [2]: http://www.triarius.com.br/vinicius/bsd/dmesg.txt [3]: http://www.triarius.com.br/vinicius/bsd/lsusb.txt 9) What I'm doing wrong? Thanks for your attention, Best regards, Vinicius
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1e31c7980906262132k7571c4b8ucfde94ec94cb1d8>