Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Aug 2011 13:15:45 +1000
From:      Peter Jeremy <peterjeremy@acm.org>
To:        freebsd-mobile@freebsd.org
Subject:   Lenovo T400 reboot issues
Message-ID:  <20110826031545.GA64576@server.vk2pj.dyndns.org>

next in thread | raw e-mail | index | archive | help

--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: <Intel ICH9M AHCI SATA controller> 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: <AHCI channel> at channel 0 on ahci0
ahcich0: Caps:
ahcich1: <AHCI channel> 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: <HL-DT-ST RW/DVD MU10N 1.05> 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: <HL-DT-ST RW/DVD MU10N 1.05> 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--



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