From owner-freebsd-mobile@FreeBSD.ORG Fri Aug 26 06:02:53 2011 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A21C1106566B for ; Fri, 26 Aug 2011 06:02:53 +0000 (UTC) (envelope-from peterjeremy@acm.org) Received: from fallbackmx06.syd.optusnet.com.au (fallbackmx06.syd.optusnet.com.au [211.29.132.8]) by mx1.freebsd.org (Postfix) with ESMTP id 327358FC21 for ; Fri, 26 Aug 2011 06:02:52 +0000 (UTC) Received: from mail16.syd.optusnet.com.au (mail16.syd.optusnet.com.au [211.29.132.197]) by fallbackmx06.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id p7Q3Fnrd017043 for ; Fri, 26 Aug 2011 13:15:50 +1000 Received: from server.vk2pj.dyndns.org (c220-239-116-103.belrs4.nsw.optusnet.com.au [220.239.116.103]) by mail16.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id p7Q3FkZK023209 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 26 Aug 2011 13:15:47 +1000 X-Bogosity: Ham, spamicity=0.000000 Received: from server.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1]) by server.vk2pj.dyndns.org (8.14.4/8.14.4) with ESMTP id p7Q3Fj8M065089 for ; Fri, 26 Aug 2011 13:15:45 +1000 (EST) (envelope-from peter@server.vk2pj.dyndns.org) Received: (from peter@localhost) by server.vk2pj.dyndns.org (8.14.4/8.14.4/Submit) id p7Q3Fj9A065088 for freebsd-mobile@freebsd.org; Fri, 26 Aug 2011 13:15:45 +1000 (EST) (envelope-from peter) Date: Fri, 26 Aug 2011 13:15:45 +1000 From: Peter Jeremy To: freebsd-mobile@freebsd.org Message-ID: <20110826031545.GA64576@server.vk2pj.dyndns.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Qxx1br4bt0+wmkIi" Content-Disposition: inline X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.21 (2010-09-15) Subject: Lenovo T400 reboot issues X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Aug 2011 06:02:53 -0000 --Qxx1br4bt0+wmkIi Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable I am experimenting with dual-booting a T400 between XP and FreeBSD and have run into problems with reboots. I'm currently running 9.0-BETA1 but 8.2-RELEASE behaves the same. I can reboot XP into either XP or FreeBSD with no issues. Rebooting =66rom FreeBSD to FreeBSD or XP sort-of works but the CD drive is not found. XP also takes much longer to boot and there is far more disk activity than normal and the problem remains when XP is then rebooted. The CD is attached to: ahci0: port 0x1c48-0x1c4f,0x183c-0x183f,= 0x1c40-0x1c47,0x1838-0x183b,0x1c20-0x1c3f mem 0xfc226000-0xfc2267ff irq 16 = at device 31.2 on pci0 ahci0: attempting to allocate 1 MSI vectors (16 supported) msi: routing MSI IRQ 259 to local APIC 0 vector 60 ahci0: using IRQ 259 for MSI ahci0: AHCI v1.20 with 4 3Gbps ports, Port Multiplier not supported ahci0: Caps: 64bit NCQ SNTF SS ALP AL CLO 3Gbps PMD SSC PSC 32cmd CCC eSATA= 4ports ahci0: Caps2: ahcich0: at channel 0 on ahci0 ahcich0: Caps: ahcich1: at channel 1 on ahci0 ahcich1: Caps: HPCP ESP On a clean boot, I see: ahcich1: AHCI reset: device ready after 100ms (aprobe1:ahcich1:0:0:0): SIGNATURE: eb14 =2E.. pass1 at ahcich1 bus 0 scbus1 target 0 lun 0 pass1: Removable CD-ROM SCSI-0 device=20 pass1: 150.000MB/s transfers (SATA 1.x, UDMA2, ATAPI 12bytes, PIO 8192bytes) [various CAM errors because the drive is empty] cd0 at ahcich1 bus 0 scbus1 target 0 lun 0 cd0: Removable CD-ROM SCSI-0 device=20 cd0: 150.000MB/s transfers (SATA 1.x, UDMA2, ATAPI 12bytes, PIO 8192bytes) cd0: Attempt to query device size failed: NOT READY, Medium not present GEOM: new disk cd0 After a reboot, I see: ahcich1: AHCI reset: device not ready after 31000ms (tfd =3D 00000080) ahcich1: Poll timeout on slot 0 port 0 ahcich1: is 00000000 cs 00000001 ss 00000000 rs 00000001 tfd 80 serr 000000= 00 cmd 0024c017 (aprobe1:ahcich1:0:0:0): Command timed out (aprobe1:ahcich1:0:0:0): Error 5, Retries exhausted It looks like FreeBSD is changing some system state and the BIOS is not properly reinitialising the system. Does anyone have any ideas? --=20 Peter Jeremy --Qxx1br4bt0+wmkIi Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (FreeBSD) iEYEARECAAYFAk5XD+EACgkQ/opHv/APuId1kQCgpza11wqdyAnwaUm6GY+3i51r hQsAnAv/W/xbE5FQChNlOuc/dG01Zr4D =g8JR -----END PGP SIGNATURE----- --Qxx1br4bt0+wmkIi--