NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: port-i386/46783: Boot hang on install CD



The following reply was made to PR port-i386/46783; it has been noted by GNATS.

From: Roger Brooks <R.S.Brooks%liverpool.ac.uk@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: phil%netbsd.org@localhost, port-i386-maintainer%netbsd.org@localhost, 
 gnats-admin%netbsd.org@localhost, netbsd-bugs%netbsd.org@localhost
Subject: Re: port-i386/46783: Boot hang on install CD
Date: Wed, 08 Aug 2012 00:54:39 +0100

 On 08/07/12 23:35, phil%netbsd.org@localhost wrote:
 >> Number:         46783
 >> Category:       port-i386
 >> Synopsis:       Boot hang on install CD
 >> Confidential:   no
 >> Severity:       serious
 >> Priority:       high
 >> Responsible:    port-i386-maintainer
 >> State:          open
 >> Class:          sw-bug
 >> Submitter-Id:   net
 >> Arrival-Date:   Tue Aug 07 22:35:00 +0000 2012
 >> Originator:     Phil Nelson
 >> Release:        NetBSD 6.0_BETA2
 >> Organization:
 >>      
 >      NetBSD
 >    
 >> Environment:
 >>      
 > Dell Optiplex 755 and Dell Optiplex 990
 > System: NetBSD 6.0_BETA2 NetBSD 6.0_BETA2 (GENERIC) i386
 > Architecture: i386
 > Machine: i386
 >    
 >> Description:
 >>      
 > Boot on i386 install CD causes a hang when the CD can not be mounted
 > as root.   It appears to allow one to continue by typing in the cd0d
 > but there is no console input working.   It is totally hung.  This
 > happens on both a Dell Optiplex 755 and Dell Optiplex 990.   The
 > amd64 version boots sucessfully on both machines.   The following is
 > the dmesg from the amd64 since I was not abe to collect the i386
 > version.
 >
 > ---- amd64 dmesg after install on boot CD ---
 >
 > Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
 >      2006, 2007, 2008, 2009, 2010, 2011, 2012
 >      The NetBSD Foundation, Inc.  All rights reserved.
 > Copyright (c) 1982, 1986, 1989, 1991, 1993
 >      The Regents of the University of California.  All rights reserved.
 >
 > NetBSD 6.0_BETA2 (GENERIC)
 > total memory = 3952 MB
 > avail memory = 3822 MB
 > timecounter: Timecounters tick every 10.000 msec
 > RTC BIOS diagnostic error 0x11<memory_size>
 > timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
 > Dell Inc. OptiPlex 755
 > mainbus0 (root)
 > cpu0 at mainbus0 apid 0: Intel(R) Core(TM)2 Duo CPU     E8200  @ 2.66GHz, id 
 > 0x10676
 > cpu1 at mainbus0 apid 1: Intel(R) Core(TM)2 Duo CPU     E8200  @ 2.66GHz, id 
 > 0x10676
 > ioapic0 at mainbus0 apid 8: pa 0xfec00000, version 20, 24 pins
 > acpi0 at mainbus0: Intel ACPICA 20110623
 > acpi0: X/RSDT: OemId<DELL  , B9K    ,00000015>, AslId<ASL ,00000061>
 > ACPI Warning: For \_SB_.PCI0.PCI3._PRT: Return Package has no elements 
 > (empty) (20110623/nspredef-507)
 > ACPI Warning: For \_SB_.PCI0.PCI5._PRT: Return Package has no elements 
 > (empty) (20110623/nspredef-507)
 > ACPI Warning: For \_SB_.PCI0.PCI6._PRT: Return Package has no elements 
 > (empty) (20110623/nspredef-507)
 > acpi0: SCI interrupting at int 9
 > timecounter: Timecounter "ACPI-Fast" frequency 3579545 Hz quality 1000
 > hpet0 at acpi0: high precision event timer (mem 0xfed00000-0xfed00400)
 > timecounter: Timecounter "hpet0" frequency 14318180 Hz quality 2000
 > acpibut0 at acpi0 (VBTN, PNP0C0C): ACPI Power Button
 > MBIO (PNP0C01) at acpi0 not configured
 > pcppi1 at acpi0 (SPK, PNP0800): io 0x61
 > midi0 at pcppi1: PC speaker
 > sysbeep0 at pcppi1
 > attimer1 at acpi0 (TMR, PNP0100): io 0x40-0x5f irq 0
 > pckbc1 at acpi0 (KBD, PNP0303) (kbd port): io 0x60,0x64 irq 1
 > pckbc2 at acpi0 (MOU, PNP0F13) (aux port): irq 12
 > PRT (PNP0401) at acpi0 not configured
 > COMA (PNP0501) at acpi0 not configured
 > COMB (PNP0501) at acpi0 not configured
 > IEIT (INT5400) at acpi0 not configured
 > attimer1: attached to pcppi1
 > pckbd0 at pckbc1 (kbd slot)
 > pckbc1: using irq 1 for kbd slot
 > wskbd0 at pckbd0: console keyboard
 > pms0 at pckbc1 (aux slot)
 > pckbc1: using irq 12 for aux slot
 > wsmouse0 at pms0 mux 0
 > pci0 at mainbus0 bus 0: configuration mode 1
 > pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
 > pchb0 at pci0 dev 0 function 0: vendor 0x8086 product 0x29b0 (rev. 0x02)
 > agp0 at pchb0: detected 6140k stolen memory
 > agp0: aperture at 0xd0000000, size 0x10000000
 > ppb0 at pci0 dev 1 function 0: vendor 0x8086 product 0x29b1 (rev. 0x02)
 > ppb0: PCI Express 1.0<Root Port of PCI-E Root Complex>
 > pci1 at ppb0 bus 1
 > pci1: i/o space, memory space enabled, rd/line, wr/inv ok
 > vga0 at pci0 dev 2 function 0: vendor 0x8086 product 0x29b2 (rev. 0x02)
 > wsdisplay0 at vga0 kbdmux 1: console (80x25, vt100 emulation), using wskbd0
 > wsmux1: connecting to wsdisplay0
 > i915drm0 at vga0: Intel Q35
 > i915drm0: AGP at 0xd0000000 256MB
 > i915drm0: Initialized i915 1.6.0 20080730
 > vendor 0x8086 product 0x29b3 (miscellaneous display, revision 0x02) at pci0 
 > dev 2 function 1 not configured
 > vendor 0x8086 product 0x29b4 (miscellaneous communications, revision 0x02) 
 > at pci0 dev 3 function 0 not configured
 > pciide0 at pci0 dev 3 function 2: vendor 0x8086 product 0x29b6 (rev. 0x02)
 > pciide0: bus-master DMA support present, but unused (no driver support)
 > pciide0: primary channel wired to native-PCI mode
 > pciide0: using ioapic0 pin 18 for native-PCI interrupt
 > atabus0 at pciide0 channel 0
 > pciide0: secondary channel wired to native-PCI mode
 > atabus1 at pciide0 channel 1
 > vendor 0x8086 product 0x29b7 (serial communications, interface 0x02, 
 > revision 0x02) at pci0 dev 3 function 3 not configured
 > wm0 at pci0 dev 25 function 0: 82801I (AMT) LAN Controller (rev. 0x02)
 > wm0: interrupting at ioapic0 pin 21
 > wm0: PCI-Express bus
 > wm0: FLASH
 > wm0: Ethernet address 00:21:9b:2f:e6:03
 > igphy0 at wm0 phy 1: i82566 10/100/1000 media interface, rev. 0
 > igphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 
 > 1000baseT-FDX, auto
 > uhci0 at pci0 dev 26 function 0: vendor 0x8086 product 0x2937 (rev. 0x02)
 > uhci0: interrupting at ioapic0 pin 16
 > usb0 at uhci0: USB revision 1.0
 > uhci1 at pci0 dev 26 function 1: vendor 0x8086 product 0x2938 (rev. 0x02)
 > uhci1: interrupting at ioapic0 pin 17
 > usb1 at uhci1: USB revision 1.0
 > ehci0 at pci0 dev 26 function 7: vendor 0x8086 product 0x293c (rev. 0x02)
 > ehci0: interrupting at ioapic0 pin 22
 > ehci0: EHCI version 1.0
 > ehci0: wrong number of companions (3 != 2)
 > ehci0: companion controllers, 2 ports each: uhci0 uhci1
 > usb2 at ehci0: USB revision 2.0
 > hdaudio0 at pci0 dev 27 function 0: HD Audio Controller
 > hdaudio0: interrupting at ioapic0 pin 16
 > hdafg0 at hdaudio0: ADI AD1984
 > hdafg0: DAC00 2ch: Speaker [Jack]
 > hdafg0: ADC01 2ch: Mic In [Jack]
 > hdafg0: ADC02 2ch: Line In [Jack]
 > hdafg0: DAC03 2ch: HP Out [Jack]
 > hdafg0: 2ch/2ch 8000Hz 11025Hz 16000Hz 22050Hz 32000Hz 44100Hz 48000Hz 
 > 88200Hz 96000Hz 192000Hz PCM16 PCM20 PCM24 AC3
 > audio0 at hdafg0: full duplex, playback, capture, independent
 > ppb1 at pci0 dev 28 function 0: vendor 0x8086 product 0x2940 (rev. 0x02)
 > ppb1: PCI Express 1.0<Root Port of PCI-E Root Complex>
 > pci2 at ppb1 bus 2
 > pci2: i/o space, memory space enabled, rd/line, wr/inv ok
 > uhci2 at pci0 dev 29 function 0: vendor 0x8086 product 0x2934 (rev. 0x02)
 > uhci2: interrupting at ioapic0 pin 23
 > usb3 at uhci2: USB revision 1.0
 > uhci3 at pci0 dev 29 function 1: vendor 0x8086 product 0x2935 (rev. 0x02)
 > uhci3: interrupting at ioapic0 pin 17
 > usb4 at uhci3: USB revision 1.0
 > uhci4 at pci0 dev 29 function 2: vendor 0x8086 product 0x2936 (rev. 0x02)
 > uhci4: interrupting at ioapic0 pin 18
 > usb5 at uhci4: USB revision 1.0
 > ehci1 at pci0 dev 29 function 7: vendor 0x8086 product 0x293a (rev. 0x02)
 > ehci1: interrupting at ioapic0 pin 23
 > ehci1: EHCI version 1.0
 > ehci1: companion controllers, 2 ports each: uhci2 uhci3 uhci4
 > usb6 at ehci1: USB revision 2.0
 > ppb2 at pci0 dev 30 function 0: vendor 0x8086 product 0x244e (rev. 0x92)
 > pci3 at ppb2 bus 3
 > pci3: i/o space, memory space enabled
 > tlp0 at pci3 dev 0 function 0: Lite-On 82C169 Ethernet, pass 2.0
 > tlp0: interrupting at ioapic0 pin 16
 > tlp0: Ethernet address 00:a0:cc:d6:dd:68
 > bmtphy0 at tlp0 phy 1: BCM5201 10/100 media interface, rev. 2
 > bmtphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
 > ichlpcib0 at pci0 dev 31 function 0: vendor 0x8086 product 0x2914 (rev. 0x02)
 > timecounter: Timecounter "ichlpcib0" frequency 3579545 Hz quality 1000
 > ichlpcib0: 24-bit timer
 > ichlpcib0: TCO timer reboot disabled by hardware; hope SMBIOS properly 
 > handles it.
 > ichlpcib0: TCO (watchdog) timer configured.
 > ahcisata0 at pci0 dev 31 function 2: vendor 0x8086 product 0x2922 (rev. 0x02)
 > ahcisata0: interrupting at ioapic0 pin 18
 > ahcisata0: 64-bit DMA
 > ahcisata0: AHCI revision 1.20, 6 ports, 32 slots, CAP 
 > 0xe722ffe5<SXS,EMS,CCCS,PSC,SSC,PMD,SPM,ISS=0x2=Gen2,SCLO,SAL,SALP,SSNTF,SNCQ,S64A>
 > atabus2 at ahcisata0 channel 0
 > atabus3 at ahcisata0 channel 1
 > atabus4 at ahcisata0 channel 2
 > atabus5 at ahcisata0 channel 3
 > atabus6 at ahcisata0 channel 5
 > ichsmb0 at pci0 dev 31 function 3: vendor 0x8086 product 0x2930 (rev. 0x02)
 > ichsmb0: interrupting at ioapic0 pin 18
 > iic0 at ichsmb0: I2C bus
 > isa0 at ichlpcib0
 > lpt0 at isa0 port 0x378-0x37b irq 7
 > tpm0 at isa0 iomem 0xfed40000-0xfed44fff irq 7: device 0x4a100000 rev 0x4e
 > com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
 > com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
 > acpicpu0 at cpu0: ACPI CPU
 > acpicpu0: C1: HLT, lat   0 us, pow     0 mW
 > acpicpu1 at cpu1: ACPI CPU
 > timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
 > uhub0 at usb0: vendor 0x8086 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
 > uhub0: 2 ports with 2 removable, self powered
 > uhub1 at usb1: vendor 0x8086 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
 > uhub1: 2 ports with 2 removable, self powered
 > uhub2 at usb2: vendor 0x8086 EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
 > uhub2: 6 ports with 6 removable, self powered
 > uhub3 at usb3: vendor 0x8086 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
 > uhub3: 2 ports with 2 removable, self powered
 > uhub4 at usb4: vendor 0x8086 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
 > uhub4: 2 ports with 2 removable, self powered
 > uhub5 at usb5: vendor 0x8086 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
 > uhub5: 2 ports with 2 removable, self powered
 > uhub6 at usb6: vendor 0x8086 EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
 > uhub6: 6 ports with 6 removable, self powered
 > ahcisata0 port 0: device present, speed: 1.5Gb/s
 > ahcisata0 port 1: device present, speed: 1.5Gb/s
 > ahcisata0 port 2: PHY offline
 > ahcisata0 port 3: PHY offline
 > ahcisata0 port 5: PHY offline
 > wd0 at atabus2 drive 0
 > wd0:<WDC WD2500SD-01KCB0>
 > wd0: drive supports 16-sector PIO transfers, LBA48 addressing
 > wd0: 232 GB, 484521 cyl, 16 head, 63 sec, 512 bytes/sect x 488397168 sectors
 > wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133)
 > wd0(ahcisata0:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 6 
 > (Ultra/133) (using DMA)
 > atapibus0 at atabus3: 1 targets
 > cd0 at atapibus0 drive 0:<PLDS DVD+/-RW DH-16A6S, , YD11>  cdrom removable
 > cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
 > cd0(ahcisata0:1:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 5 
 > (Ultra/100) (using DMA)
 > Kernelized RAIDframe activated
 > pad0: outputs: 44100Hz, 16-bit, stereo
 > audio1 at pad0: half duplex, playback, capture
 > boot device: cd0
 > root on cd0a dumps on cd0b
 > root on cd0a dumps on cd0b
 > root file system type: cd9660
 > warning: no /dev/console
 >
 >    
 >> How-To-Repeat:
 >>      
 >      Try to boot BETA2 CD on a (my) Dell Optiplex 755 or 990.
 >    
 >> Fix:
 >>      
 >      
 >
 >    
 
 I experienced a similar problem a few years ago with an old Compaq 
 Proliant.  The problem turned out to be that the install kernel 
 autoconfigured cd0 to a UDMA mode which the drive (or possibly the 
 internal ribbon cable) didn't actually support.  Looking at your dmesg, 
 the same thing may be happening.  I got round the problem by building a 
 custom install cd (or possibly floppies) with an install kernel which 
 had the DMA modes restricted.  e.g.
 
 cd* at atapibus? drive ? flags 0x0fac  # PIO mode 4,  DMA mode 2,  
 disable UDMA
 
 or possibly
 
 cd* at atapibus? drive ? flags 0x0ffc  # PIO mode 4,  disable DMA,  
 disable UDMA
 
 Or you could try replacing the internal ribbon cable with an Ultra/100 
 cable - I think the problem arises because Windoze doesn't enable UDMA 
 modes on cdroms by default.
 
 
 Roger
 


Home | Main Index | Thread Index | Old Index