Bug 68900

Summary: 5.x install CDs fail to boot on Toshiba Satellite 5205 s503
Product: Base System Reporter: Alejandro Valenzuela <lanjoe9>
Component: i386Assignee: John Baldwin <jhb>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   

Description Alejandro Valenzuela 2004-07-11 01:00:40 UTC
      I've been unable to install FreeBSD since FreeBSD 5.0, I've tried the 5.0, 5.1, 5.2, 5.2.1 and today's -CURRENT (10th july) install CD.
When I try installing any 5.x install CD, it starts alright (although quite slower than the 4.X series, including the "spinner") and gets to the ascii daemon screen.

I have tried enabling and disablinc ACPI, with/without verbose, safe mode, unloading all modules/unloading usb module and setting the "allow unsupported hw" flag (in several ways: with/without quotes around the 1 and such), but after that screen, the computer only gets to these four lines:

pci1 <ACPI PCI bus> on pcib2
ohci0: <NEC uPD 9210 USB controller> mem 0xfceff000-oxfcefffff irq 6 at device 6.0 on pci2
ohci: [GIANT-LOCKED]
usb0: OHCI version 1.0

And then it freezes completely ( caps-lock does not respond, and I have waited more than 2 hours but the computer doesn't do anything else).

Fix: 

doh
How-To-Repeat:       Attempt to install any 5.x FreeBSD system.
Comment 1 Alejandro Valenzuela 2004-07-11 01:27:45 UTC
4.10-RC2 dmesg of this machine (I wanted to send it with the PR but 
couldn't, so here it goes)
-----
Copyright (c) 1992-2004 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
        The Regents of the University of California. All rights reserved.
FreeBSD 4.10-RC2 #12: Sat Jul 10 16:37:05 CDT 2004
    lanjoe9@citlalmina.earthshakers:/usr/src/sys/compile/CITLALMINA
Timecounter "i8254"  frequency 1193182 Hz
CPU: Intel(R) Pentium(R) 4 Mobile CPU 2.00GHz (1993.55-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0xf24  Stepping = 4
  
Features=0x3febf9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM>
real memory  = 536657920 (524080K bytes)
avail memory = 516071424 (503976K bytes)
Preloaded elf kernel "kernel" at 0xc05ed000.
Preloaded elf module "linux.ko" at 0xc05ed09c.
Preloaded elf module "nvidia.ko" at 0xc05ed13c.
Warning: Pentium 4 CPU: PSE disabled
Pentium Pro MTRR support enabled
md0: Malloc disk
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Intel 82845 Host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
agp0: <Intel 82845 host to AGP bridge> mem 0xe0000000-0xefffffff at 
device 0.0 on pci0
pcib1: <Intel 82845 PCI-PCI (AGP) bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
nvidia0: <GeForce4 460 Go> mem 
0xd7f80000-0xd7ffffff,0xd8000000-0xdfffffff,0xfd000000-0xfdffffff irq 5 
at device 0.0 on pci1
pcib2: <PCI to PCI bridge (vendor=8086 device=2448)> at device 30.0 on pci0
pci2: <PCI bus> on pcib2
ohci0: <NEC uPD 9210 USB controller> mem 0xfceff000-0xfcefffff irq 6 at 
device 6.0 on pci2
usb0: OHCI version 1.0
usb0: SMM does not respond, resetting
usb0: <NEC uPD 9210 USB controller> on ohci0
usb0: USB revision 1.0
uhub0: NEC OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 3 ports with 3 removable, self powered
ums0: Cypress Sem PS2/USB Browser Combo Mouse, rev 1.00/0.00, addr 2, 
iclass 3/1ums0: 5 buttons and Z dir.
ums1: Synaptics Inc. Synaptics WheelPad, rev 1.10/0.10, addr 3, iclass 3/1
ums1: 3 buttons and Z dir.
ohci1: <NEC uPD 9210 USB controller> mem 0xfcefe000-0xfcefefff irq 4 at 
device 6.1 on pci2
usb1: OHCI version 1.0
usb1: SMM does not respond, resetting
usb1: <NEC uPD 9210 USB controller> on ohci1
usb1: USB revision 1.0
uhub1: NEC OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
pci2: <USB controller> at 6.2
fwohci0: <Texas Instruments TSB43AB22/A> at device 7.0 on pci2
fwohci0: Invalid irq 255
fwohci0: Please switch PNP-OS to 'No' in BIOS
fwohci0: Could not map memory
device_probe_and_attach: fwohci0 attach returned 6
fxp0: <Intel 82801CAM (ICH3) Pro/100 VE Ethernet> port 0xdf40-0xdf7f mem 
0xfcefd000-0xfcefdfff irq 4 at device 8.0 on pci2
fxp0: Ethernet address 00:00:39:18:a5:dd
inphy0: <i82562ET 10/100 media interface> on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
pci2: <unknown card> (vendor=0x168c, dev=0x0013) at 10.0
pcic0: chip is in D3 power mode -- setting to D0
pci_cfgintr: can't route an interrupt to 2:11 INTA
pcic0: <Toshiba ToPIC100 PCI-CardBus Bridge> at device 11.0 on pci2
pcic0: PCI Memory allocated: 0x88000000
pci_cfgintr: can't route an interrupt to 2:11 INTA
pcic0: No PCI interrupt routed, trying ISA.
pcic0: Polling mode
pccard0: <PC Card 16-bit bus (classic)> on pcic0
pci2: <unknown card> (vendor=0x1179, dev=0x0805) at 13.0
isab0: <PCI to ISA bridge (vendor=8086 device=248c)> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel ICH3 ATA100 controller> port 
0xcfa0-0xcfaf,0xcfe4-0xcfe7,0xcfe8-0xcfef,0xcff4-0xcff7,0xcff8-0xcfff 
irq 11 at device 31.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
pci0: <unknown card> (vendor=0x8086, dev=0x2485) at 31.5
pci0: <unknown card> (vendor=0x8086, dev=0x2486) at 31.6
orm0: <Option ROMs> at iomem 0xc0000-0xcffff,0xe0000-0xeffff on isa0
pmtimer0 on isa0
fdc0: cannot reserve interrupt line
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model IntelliMouse, device ID 3
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0: configured irq 4 not in bitmap of probed irqs 0
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 8250
sio1: configured irq 3 not in bitmap of probed irqs 0
ppc0: parallel port not found.
ad0: 38154MB <TOSHIBA MK4018GAS> [77520/16/63] at ata0-master UDMA100
acd0: CD-RW <DW-224E> at ata0-slave PIO4
Mounting root from ufs:/dev/ad0s4a
cd0 at ata0 bus 0 target 1 lun 0
cd0: <TEAC DW-224E 7.0A> Removable CD-ROM SCSI-0 device
cd0: 16.000MB/s transfers
cd0: Attempt to query device size failed: NOT READY, Medium not present
---- end of 4.10-RC2 dmesg---
Comment 2 Alejandro Valenzuela 2004-08-24 03:44:01 UTC
It still fails when trying to install 5=2E3-Beta1=2C but I have seen two =
new messages=2C something like =


acpi=5Flink=3A empty IRQ=2E

I will look up the exact message and post again=2E
A few other PR=27s have given me an idea=2C I will try warm-booting with =
windoze to see if it helps=2E=2E=2E=2E=2E=2E=2E =

After much reading=2C I have come to suspect this is an acpi-related prob=
lem=2C because it stops in the usb0=3A ohci line=2E I think fwohci is doi=
ng something really nasty because it must be configured v=EDa acpi (as we=
ll as the sound card)=2E
fsckng MS =22open=22 standards=2E=2E=2E

I really hope 5=2E3-R works=2C I don=27t want to wait until february 2005=


Alejandro
Comment 3 Alejandro Valenzuela 2004-08-25 05:01:58 UTC
Warm-booting does not work.. Does anyone know what else can I try?
Alejandro
Comment 4 John Baldwin freebsd_committer freebsd_triage 2005-05-31 22:31:29 UTC
Try setting 'hw.pci.enable_io_modes=0' in the loader.

-- 
John Baldwin <jhb@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve"  =  http://www.FreeBSD.org
Comment 5 John Baldwin freebsd_committer freebsd_triage 2005-06-29 16:28:25 UTC
I believe this should be fixed in HEAD and RELENG_5 now.  Can anyone confirm 
that?

-- 
John Baldwin <jhb@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve"  =  http://www.FreeBSD.org
Comment 6 John Baldwin freebsd_committer freebsd_triage 2005-06-29 16:31:07 UTC
State Changed
From-To: open->feedback

Should be fixed now, waiting for confirmation. 


Comment 7 John Baldwin freebsd_committer freebsd_triage 2005-06-29 16:31:07 UTC
Responsible Changed
From-To: freebsd-i386->jhb

Should be fixed now, waiting for confirmation.
Comment 8 John Baldwin freebsd_committer freebsd_triage 2005-07-06 20:11:58 UTC
State Changed
From-To: feedback->closed

Submitter reports that the problem was fixed in the July 5.4 snapshot (SNAP005).