Port-i386 archive

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

Re: Installing NetBSD on Intel US15W SCH



On Jan 8, 2010, at 17:48 , Christophe Marchal wrote:

> On 01/08/2010 09:23 PM, Christophe Marchal wrote:
>> On 01/04/2010 03:58 PM, John R. Shannon wrote:
>>> On 01/03/10 10:16, Christophe Marchal wrote:
>>>> On 01/03/2010 03:05 PM, John R. Shannon wrote:
>>>>> On 01/02/10 16:07, Pjoter wrote:
>>>>>> 
>>>>>> Hi,
>>>>>> 
>>>>>> did you try current maybe? Which version of NetBSD do you use?
>>>>>> 
>>>>>> Pjoter.
>>>>>> 
>>>>> 
>>>>> It was not in current when I tried it a few weeks ago.
>>>>> 
>>>>> Support is in Linux and FreeBSD.
>>>>> 
>>>> Thank you John. Is the support in NetBSD planned for the next release ?
>>> 
>>> I was able to install OpenBSD 4.6. Apparently, the solid state disk (SSD) I 
>>> purchased for this project was bad; this install is on a normal laptop 
>>> drive.
>>> 
>>> Now, I'm unsure whether my problem with NetBSD current was due to the 
>>> driver or SSD.
>>> 
>> I updated NetBSD and compiled it but it stops during the boot at the same 
>> step as before. I will compile NetBSD with verbose options to have more 
>> information.
>> Thanks for your help.
>> 
>> Christophe
>> 
>> PS: Here is a screenshot of the monitor 
>> http://farm3.static.flickr.com/2682/4257661202_2e4fe252da_b_d.jpg
> Last lines displayed are:
> 
> Intel product 0x811a (IDE mass storage, interface 0x80, revision 0x07) at ? 
> dev 31 function 1 (tag 0x8000f900, intrtag 0x8000f900, intrswiz 0, intrpin 0, 
> i/o on, mem off, no quirks): Intel product 0x811a (rev. 0x07)
> pciide0: primary channel interrupting at ioapic0 pin 14
> atabus0 at pciide0 channel 0
> pciide0: secondary channel ignored (not responding: disabled or no drives?)
> isa0 at pcib0
> pckbc0 at isa0 port 0x60-0x64
> 
> If I understand well those line, NetBSD doesn't manage to access the hard 
> drive.

The stop is at the probe for the keyboard.  AFAICT, the fit-pc2 BIOS provides a 
PS/2 style kbd emulation for a USB keyboard. Unfortunately this appears to 
break when accessed from the NetBSD kernel.  I got past this point by building 
a custom kernel without pckbc and its decedents. Note that booting the kernel 
with -c to invoke userconf does not work, I guess it's related to the kbd 
emulation.

Patch for GENERIC and dmesg attached:

Index: GENERIC
===================================================================
RCS file: /cvsroot/src/sys/arch/i386/conf/GENERIC,v
retrieving revision 1.958
diff -u -r1.958 GENERIC
--- GENERIC     7 Jan 2010 00:18:47 -0000       1.958
+++ GENERIC     9 Jan 2010 00:11:16 -0000
@@ -374,7 +374,7 @@
 #lpt*          at acpi?                # Parallel port
 mpu*           at acpi?                # Roland MPU-401 MIDI UART
 npx*           at acpi?                # Math coprocessor
-pckbc*         at acpi?                # PC keyboard controller
+#pckbc*                at acpi?                # PC keyboard controller
 pcppi*         at acpi?                # AT-style speaker sound
 thinkpad*      at acpi?                # IBM/Lenovo Thinkpad hotkeys
 ug*            at acpi?                # Abit uGuru Hardware monitor
@@ -530,9 +530,9 @@
 # Console Devices
 
 # wscons
-pckbc0         at isa?                 # PC keyboard controller
-pckbd*         at pckbc?               # PC keyboard
-pms*           at pckbc?               # PS/2 mouse for wsmouse
+#pckbc0                at isa?                 # PC keyboard controller
+#pckbd*                at pckbc?               # PC keyboard
+#pms*          at pckbc?               # PS/2 mouse for wsmouse
 #options       PMS_DISABLE_POWERHOOK   # Disable PS/2 reset on resume
 options        PMS_SYNAPTICS_TOUCHPAD  # Enable support for Synaptics Touchpads
 options        PMS_ELANTECH_TOUCHPAD   # Enable support for Elantech Touchpads
@@ -545,8 +545,8 @@
 wsdisplay*     at pcdisplay? console ?
 wsdisplay*     at wsemuldisplaydev?
 #wsdisplay*    at machfb? console ?
-wskbd*         at pckbd? console ?
-wsmouse*       at pms? mux 0
+#wskbd*                at pckbd? console ?
+#wsmouse*      at pms? mux 0
 
 # VIA Unichrome framebuffer console
 #unichromefb*  at pci? dev ? function ?

Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007, 2008, 2009, 2010
    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 5.99.23 (GENERIC-NOKB) #2: Mon Jan  4 16:25:12 EST 2010
        
root%wotan.wrede.pvt@localhost:/u2/netbsd-current/obj.i386/sys/arch/i386/compile/WAPANA2
total memory = 1014 MB
avail memory = 985 MB
timecounter: Timecounters tick every 10.000 msec
timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
CompuLab SBC-FITPC2 (1.1)
mainbus0 (root)
cpu0 at mainbus0 apid 0: Intel 686-class, 1596MHz, id 0x106c2
cpu1 at mainbus0 apid 1: Intel 686-class, 1596MHz, id 0x106c2
ioapic0 at mainbus0 apid 2: pa 0xfec00000, version 20, 24 pins
acpi0 at mainbus0: Intel ACPICA 20090730
acpi0: X/RSDT: OemId <PTLTD ,    XSDT  ,06040000>, AslId < LTP,00000000>
acpi0: SCI interrupting at int 9
acpi0: fixed-feature power button present
ACPI Error: Could not enable PowerButton event (20090730/evxfevnt-298)
ACPI Warning: Could not enable fixed event 2 (20090730/evxface-235)
acpi0: unable to install handler for fixed power button: AE_NO_HARDWARE_RESPONSE
timecounter: Timecounter "ACPI-Fast" frequency 3579545 Hz quality 1000
ACPI-Fast 24-bit timer
acpiacad0 at acpi0 (ADP1, ACPI0003): ACPI AC Adapter
acpibat0 at acpi0 (BAT0, PNP0C0A-0): ACPI Battery (Control Method)
acpibat0: battery info: -Virtual Battery 0-, Fake, CRB Battery 0 Battery 0
acpibat1 at acpi0 (BAT1, PNP0C0A-1): ACPI Battery (Control Method)
acpibat2 at acpi0 (BAT2, PNP0C0A-2): ACPI Battery (Control Method)
acpilid0 at acpi0 (LID0, PNP0C0D): ACPI Lid Switch
acpibut0 at acpi0 (PWRB, PNP0C0C): ACPI Power Button
acpiec0 at acpi0 (H_EC, PNP0C09-1): io 0x62,0x66
npx1 at acpi0 (MATH, PNP0C04): io 0xf0 irq 13
npx1: reported by CPUID; using exception 16
attimer1 at acpi0 (TIMR, PNP0100): io 0x40-0x43
PS2K (PNP0303) [IBM Enhanced (101/102-key, PS/2 mouse support)] at acpi0 not 
configured
PS2M (PNP0F13) [PS/2 Port for PS/2-style Mice] at acpi0 not configured
FAN0 (PNP0C0B) [ACPI Fan] at acpi0 not configured
acpitz0 at acpi0 (TZ00): critical 127.0C, passive cooling
acpitz1 at acpi0 (TZ01): active cooling level 0: 55.0C critical 95.0C passive 
0.0C
apm0 at acpi0: Power Management spec V1.2
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: Intel product 0x8100 (rev. 0x07)
vga1 at pci0 dev 2 function 0: Intel product 0x8108 (rev. 0x07)
wsdisplay0 at vga1 kbdmux 1: console (80x25, vt100 emulation)
wsmux1: connecting to wsdisplay0
drm at vga1 not configured
hdaudio0 at pci0 dev 27 function 0: HD Audio Controller
hdaudio0: interrupting at ioapic0 pin 22
hdafg0 at hdaudio0 vendor 0x10EC product 0x0260 nid 0x01 (firmware 
configuration)
hdafg0: DAC0:02, Analog HP Out: Jack (Green, 10)
hdafg0: ADC1:04, Analog Mic In: Jack (Pink, 12)
hdafg0: ADC1:04, Analog Line In: Jack (Blue, 14)
hdafg0: 2ch/2ch 44100Hz-192000Hz 16/16 20/32 24/32
audio0 at hdafg0: full duplex, playback, capture, independent
ppb0 at pci0 dev 28 function 0: Intel product 0x8110 (rev. 0x07)
ppb0: disabling notification events
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled, rd/line, wr/inv ok
re0 at pci1 dev 0 function 0: RealTek 8168/8111 PCIe Gigabit Ethernet (rev. 
0x02)
re0: interrupting at ioapic0 pin 16
re0: Ethernet address 00:01:c0:05:b1:36
re0: using 256 tx descriptors
rgephy0 at re0 phy 7: RTL8169S/8110S/8211 1000BASE-T media interface, rev. 2
rgephy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 
1000baseT-FDX, auto
ppb1 at pci0 dev 28 function 1: Intel product 0x8112 (rev. 0x07)
ppb1: disabling notification events
pci2 at ppb1 bus 2
pci2: i/o space, memory space enabled, rd/line, wr/inv ok
Ralink Technologies product 0x3090 (miscellaneous network) at pci2 dev 0 
function 0 not configured
uhci0 at pci0 dev 29 function 0: Intel product 0x8114 (rev. 0x07)
uhci0: interrupting at ioapic0 pin 23
usb0 at uhci0: USB revision 1.0
uhci1 at pci0 dev 29 function 1: Intel product 0x8115 (rev. 0x07)
uhci1: interrupting at ioapic0 pin 19
usb1 at uhci1: USB revision 1.0
uhci2 at pci0 dev 29 function 2: Intel product 0x8116 (rev. 0x07)
uhci2: interrupting at ioapic0 pin 18
usb2 at uhci2: USB revision 1.0
ehci0 at pci0 dev 29 function 7: Intel product 0x8117 (rev. 0x07)
ehci0: interrupting at ioapic0 pin 21
ehci0: EHCI version 1.0
ehci0: companion controllers, 2 ports each: uhci0 uhci1 uhci2
usb3 at ehci0: USB revision 2.0
sdhc0 at pci0 dev 30 function 0: Intel product 0x811c (rev. 0x07)
sdhc0: interrupting at ioapic0 pin 22
sdmmc0 at sdhc0
sdhc1 at pci0 dev 30 function 1: Intel product 0x811d (rev. 0x07)
sdhc1: interrupting at ioapic0 pin 20
sdmmc1 at sdhc1
pcib0 at pci0 dev 31 function 0: Intel product 0x8119 (rev. 0x07)
pciide0 at pci0 dev 31 function 1: Intel product 0x811a (rev. 0x07)
pciide0: bus-master DMA support present, but unused (no driver support)
pciide0: primary channel wired to compatibility mode
pciide0: primary channel interrupting at ioapic0 pin 14
atabus0 at pciide0 channel 0
pciide0: secondary channel wired to compatibility mode
pciide0: secondary channel ignored (not responding; disabled or no drives?)
isa0 at pcib0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
sysbeep0 at pcppi0
attimer1: attached to pcppi0
timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
acpiacad0: AC adapter online.
uhub0 at usb0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhub1 at usb1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhub2 at usb2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
uhub3 at usb3: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub3: 8 ports with 8 removable, self powered
umass0 at uhub3 port 2 configuration 1 interface 0
umass0: USB USB, rev 2.00/1.00, addr 2
umass0: using SCSI over Bulk-Only
scsibus0 at umass0: 2 targets, 1 lun per target
sd0 at scsibus0 target 0 lun 0: <silicon, -power, 0.00> disk removable
sd0: 15424 MB, 500 cyl, 8 head, 32 sec, 512 bytes/sect x 31588352 sectors
uvideo0 at uhub3 port 4 configuration 1 interface 0: PixArt Imaging Inc. USB2.0 
UVC VGA, rev 2.00/1.00, addr 3
video0 at uvideo0: PixArt Imaging Inc. USB2.0 UVC VGA, rev 2.00/1.00, addr 3
uaudio0 at uhub3 port 4 configuration 1 interface 2
uaudio0: PixArt Imaging Inc. USB2.0 UVC VGA, rev 2.00/1.00, addr 3
uaudio0: audio rev 1.00
audio1 at uaudio0: full duplex, playback, capture, independent
wd0 at atabus0 drive 0: <SAMSUNG HM160HI>
wd0: drive supports 16-sector PIO transfers, LBA48 addressing
wd0: 149 GB, 310101 cyl, 16 head, 63 sec, 512 bytes/sect x 312581808 sectors
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 7
Kernelized RAIDframe activated
pad0: outputs: 44100Hz, 16-bit, stereo
audio2 at pad0: half duplex, playback, capture
uhub4 at uhub2 port 1: Mitsumi Electric Hub in Apple Extended USB Keyboard, 
class 9/0, rev 1.10/3.95, addr 2
uhub4: 3 ports with 2 removable, bus powered
boot device: sd0
root on sd0a dumps on sd0b
uhidev0 at uhub4 port 1 configuration 1 interface 0
uhidev0: Logitech M4848, rev 1.00/5.02, addr 3, iclass 3/1
ums0 at uhidev0: 1 button
wsmouse0 at ums0 mux 0
root file system type: ffs
WARNING: clock gained 4 days
uhidev1 at uhub4 port 3 configuration 1 interface 0
uhidev1: Mitsumi Electric Apple Extended USB Keyboard, rev 1.10/3.95, addr 4, 
iclass 3/1
ukbd0 at uhidev1
wskbd0 at ukbd0: console keyboard, using wsdisplay0
uhidev2 at uhub4 port 3 configuration 1 interface 1
uhidev2: Mitsumi Electric Apple Extended USB Keyboard, rev 1.10/3.95, addr 4, 
iclass 3/0
uhidev2: 3 report ids
uhid0 at uhidev2 reportid 2: input=1, output=0, feature=0
uhid1 at uhidev2 reportid 3: input=3, output=0, feature=0
ugen0 at uhub2 port 2
ugen0: Cesko AVR309:USB to UART protocol converter (simple), rev 1.00/0.01, 
addr 5
wsdisplay0: screen 1 added (80x25, vt100 emulation)
wsdisplay0: screen 2 added (80x25, vt100 emulation)
wsdisplay0: screen 3 added (80x25, vt100 emulation)
wsdisplay0: screen 4 added (80x25, vt100 emulation)

-- 
    aew



Home | Main Index | Thread Index | Old Index