Port-i386 archive

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

NetBSD v4.0 and v5.0 will not boot



Dear list readers.

The last days I have been trying to upgrade my NetBSD v3/i386
installation to both v4.0.1 and v5.0, so far without any luck.
The problem seems to be that the system is hanging during boot.

To avoid destroying my current v3.0 system I have created directories
/NetBSD40 and /NetBSD50 and unpacked v4.0 and v50 binaries to the
respective directories. My intention was to boot on a v4 or v5 kernel,
chroot to the /NetBSDxx directory and verify, that I could run X, a
browser and sending and receiving mail before I made a permanent
upgrade (i.e. switching the current /usr, /var, .., etc. with the
/NetBSD50/usr, /NetBSD50/var, ... in single user mode).

Unfortunately I am unable to get a command prompt when booting on a v4
or v5 kernel. I have tried all available v4.0 kernels and the GENERIC
v5.0 kernel, they all behave the same. The behaviour is also the same
regardless of I boot in single or multi user mode (allthough
rc.conf=YES has not yet been defined).

I am unsure of the root cause to this problem:
Could it have something to do with my usage of a raid file system or
of a newly added USB PCI-card and additional wireless Logitech MX5000
keyboard and mouse (used in parallel with a standard PS/2 keyboard
and mouse)? Or is it something else?



The following is a log from booting the v5.0 kernel:


>> NetBSD/i386 BIOS Boot, Revision 3.1
>> (builds@build, Wed Dec  1 10:39:14 UTC 2004)
>> Memory: 639/523147 k
> 
> boot hd0a:netbsd50 -s
booting hd0a:netbsd50 (howto 0x2)
9810988+423844+615984 [505728+489276]=0xb4e124
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007, 2008
    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.0 (GENERIC) #0: Sun Apr 26 18:50:08 UTC 2009
        
builds%b6.netbsd.org@localhost:/home/builds/ab/netbsd-5-0-RELEASE/i386/200904260229Z-obj/home/builds/ab/netbsd-5-0-RELEASE/src/sys/arch/i386/compile/GENERIC
total memory = 511 MB
avail memory = 491 MB
IBM 2178840
mainbus0 (root)
cpu0 at mainbus0: Intel 686-class, 728MHz, id 0x683
acpi0 at mainbus0: Intel ACPICA 20080321
FDC0 (PNP0700) at acpi0 not configured
ECP (PNP0401) at acpi0 not configured
pckbc1 at acpi0 (PS2K, PNP0303): kbd port
pckbc1: io 0x60,0x64 irq 1
pckbc2 at acpi0 (PS2M, PNP0F13): aux port
pckbc2: irq 12
UAR1 (PNP0501) at acpi0 not configured
UAR2 (PNP0501) at acpi0 not configured
attimer1 at acpi0 (TMR, PNP0100): AT Timer
attimer1: io 0x40-0x43 irq 0
pcppi1 at acpi0 (SPKR, PNP0800)
pcppi1: io 0x61
midi0 at pcppi1: PC speaker (CPU-intensive output)
sysbeep0 at pcppi1
npx1 at acpi0 (COPR, PNP0C04)
npx1: io 0xf0-0xff irq 13
apm0 at acpi0: Power Management spec V1.2
pckbd0 at pckbc1 (kbd slot)
pckbc1: using irq 1 for kbd slot
wskbd0 at pckbd0 mux 1
pms0 at pckbc1 (aux slot)
pckbc1: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
attimer1: attached to pcppi1
pci0 at mainbus0 bus 0: configuration mode 1
pchb0 at pci0 dev 0 function 0
pchb0: vendor 0x1106 product 0x0691 (rev. 0xc4)
agp0 at pchb0 (v2): aperture at 0xd0000000, size 0x10000000
ppb0 at pci0 dev 1 function 0: vendor 0x1106 product 0x8598 (rev. 0x00)
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0: vendor 0x10de product 0x0221 (rev. 0xa1)
wsdisplay0 at vga1 kbdmux 1
drm at vga1 not configured
pcib0 at pci0 dev 2 function 0
pcib0: vendor 0x1106 product 0x0596 (rev. 0x12)
viaide0 at pci0 dev 2 function 1
viaide0: VIA Technologies VT82C596A (Apollo Pro) ATA66 controller
viaide0: primary channel interrupting at irq 14
atabus0 at viaide0 channel 0
viaide0: secondary channel interrupting at irq 15
atabus1 at viaide0 channel 1
uhci0 at pci0 dev 2 function 2: vendor 0x1106 product 0x3038 (rev. 0x08)
uhci0: can't map i/o space
pchb1 at pci0 dev 2 function 3
pchb1: vendor 0x1106 product 0x3050 (rev. 0x20)
rtk0 at pci0 dev 14 function 0: Realtek 8139 10/100BaseTX (rev. 0x10)
rtk0: interrupting at irq 5
rtk0: Ethernet address 00:40:f4:cc:d8:8f
rlphy0 at rtk0 phy 7: Realtek internal PHY
rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
ohci0 at pci0 dev 15 function 0: vendor 0x1033 product 0x0035 (rev. 0x43)
ohci0: interrupting at irq 9
ohci0: OHCI version 1.0
usb0 at ohci0: USB revision 1.0
ohci1 at pci0 dev 15 function 1: vendor 0x1033 product 0x0035 (rev. 0x43)
ohci1: interrupting at irq 10
ohci1: OHCI version 1.0
usb1 at ohci1: USB revision 1.0
ehci0 at pci0 dev 15 function 2: vendor 0x1033 product 0x00e0 (rev. 0x04)
ehci0: interrupting at irq 11
ehci0: companion controllers, 3 ports each: ohci0 ohci1
usb2 at ehci0: USB revision 2.0
ahc1 at pci0 dev 16 function 0: Adaptec 2902/04/10/15/20/30C SCSI adapter
ahc1: interrupting at irq 10
ahc1: Host Adapter BIOS disabled. Using default SCSI host and target device 
parameters
ahc1: aic7850: Single Channel A, SCSI Id=7, 3/253 SCBs
scsibus0 at ahc1: 8 targets, 8 luns per target
esa0 at pci0 dev 18 function 0: vendor 0x125d product 0x1988 (rev. 0x10)
esa0: interrupting at irq 5
esa0: ac97: ESS Technology ES1921 codec; 20 bit DAC, 20 bit ADC, ESS Technology
esa0: ac97: ext id 2<DRA>
audio0 at esa0: full duplex, mmap, independent
isa0 at pcib0
lpt0 at isa0 port 0x378-0x37b irq 7
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
com1: console
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
scsibus0: waiting 2 seconds for devices to settle...
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
uhub0 at usb0: vendor 0x1033 OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1 at usb1: vendor 0x1033 OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2 at usb2: vendor 0x1033 EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
st0 at scsibus0 target 0 lun 0: <SONY, SDT-7000, 0300> tape removable
st0: drive empty
st0: sync (100.00ns offset 15), 8-bit (10.000MB/s) transfers
cd0 at scsibus0 target 1 lun 0: <PLEXTOR, CD-R   PX-W8220T, 1.01> cdrom 
removable
cd0: sync (100.00ns offset 8), 8-bit (10.000MB/s) transfers
uhub3 at uhub0 port 1: Logitech Logitech BT Mini-Receiver, class 9/0, rev 
2.00/40.02, addr 2
wd0 at atabus0 drive 0: <Maxtor 6Y080L0>
wd0: 78167 MB, 158816 cyl, 16 head, 63 sec, 512 bytes/sect x 160086528 sectors
atapibus0 at atabus1: 2 targets
cd1 at atapibus0 drive 1: <TSSTcorpCD/DVDW SH-S182M, , SB03> cdrom removable
wd1 at atabus1 drive 0: <Maxtor 6Y080L0>
wd1: 78167 MB, 158816 cyl, 16 head, 63 sec, 512 bytes/sect x 160086528 sectors
uhidev0 at uhub3 port 2 configuration 1 interface 0
uhidev0: Logitech Logitech BT Mini-Receiver, rev 2.00/40.02, addr 3, iclass 3/1
ukbd0 at uhidev0
wskbd1 at ukbd0 mux 1
uhidev1 at uhub3 port 3 configuration 1 interface 0
uhidev1: Logitech Logitech BT Mini-Receiver, rev 2.00/40.02, addr 4, iclass 3/1
uhidev1: 18 report ids
ums0 at uhidev1 reportid 2: 12 buttons and Z dir.
wsmouse1 at ums0 mux 0
uhid0 at uhidev1 reportid 3: input=4, output=0, feature=0
uhid1 at uhidev1 reportid 4: input=1, output=0, feature=0
uhid2 at uhidev1 reportid 16: input=6, output=6, feature=0
uhid3 at uhidev1 reportid 17: input=19, output=19, feature=0
uhid4 at uhidev1 reportid 18: input=45, output=45, feature=0



At this point the system is no longer reacting to my keyboard(s) although
it is not completely dead. If I disconnect the wireless receiver for
the Logitech keyboard and mouse, I get messages like these

uhub3: at uhub0 port 1 (addr 2) disconnected
uhidev0: at uhub3 port 2 (addr 3) disconnected
wskbd1: disconnecting from wsdisplay0
wskbd1 detached
ukbd0 detached
uhidev0 detached
uhidev1: at uhub3 port 3 (addr 4) disconnected
wsmouse1 detached
ums0 detached
uhid0 detached
uhid1 detached
uhid2 detached
uhid3 detached
uhid4 detached
uhidev1 detached
uhub3 detached

and similar messages if I reconnect the receiver, this time just
stating attachments of various devices. However I am completely unable
to continue further customization and usage of the system. The only
key the computer is reacting to is the power key :-(

Does anybody has an idea why this "hangup" occurs and what I have to
do to avoid it?




I suspect it could be related to the kernel(s). Booting on a v3.0
kernel works without any problem:

>> NetBSD/i386 BIOS Boot, Revision 3.1
>> (builds@build, Wed Dec  1 10:39:14 UTC 2004)
>> Memory: 639/523147 k
> 
> boot hd0a:netbsd
booting hd0a:netbsd
7009492+298276+362896 [392704+356932]=0x808f04
BIOS CFG: Model-SubM-Rev: fc-01-00, 0x5874<EBDA,KBDINT,RTC,IC2,CPUF,MMF,KBDF>
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
    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 3.0 (GENERIC) #0: Mon Dec 19 01:04:02 UTC 2005
        
builds%works.netbsd.org@localhost:/home/builds/ab/netbsd-3-0-RELEASE/i386/200512182024Z-obj/home/builds/ab/netbsd-3-0-RELEASE/src/sys/arch/i386/compile/GENERIC
total memory = 511 MB
avail memory = 492 MB
BIOS32 rev. 0 found at 0xfd7b1
mainbus0 (root)
cpu0 at mainbus0: (uniprocessor)
cpu0: Intel Pentium III (686-class), 728.51 MHz, id 0x683
cpu0: features 383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
cpu0: features 383fbff<PGE,MCA,CMOV,PAT,PSE36,MMX>
cpu0: features 383fbff<FXSR,SSE>
cpu0: I-cache 16 KB 32B/line 4-way, D-cache 16 KB 32B/line 4-way
cpu0: L2 cache 256 KB 32B/line 8-way
cpu0: ITLB 32 4 KB entries 4-way, 2 4 MB entries fully associative
cpu0: DTLB 64 4 KB entries 4-way, 8 4 MB entries 4-way
cpu0: 8 page colors
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
pchb0: VIA Technologies VT82C691 (Apollo Pro) Host-PCI (rev. 0xc4)
agp0 at pchb0: aperture at 0xd0000000, size 0x10000000
ppb0 at pci0 dev 1 function 0: VIA Technologies VT82C598 (Apollo MVP3) CPU-AGP 
Bridge (rev. 0x00)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled
vga1 at pci1 dev 0 function 0: Nvidia product 0x0221 (rev. 0xa1)
wsdisplay0 at vga1 kbdmux 1
wsmux1: connecting to wsdisplay0
pcib0 at pci0 dev 2 function 0
pcib0: VIA Technologies VT82C596A PCI-ISA Bridge (rev. 0x12)
viaide0 at pci0 dev 2 function 1
viaide0: VIA Technologies VT82C596A (Apollo Pro) ATA66 controller
viaide0: bus-master DMA support present
viaide0: primary channel configured to compatibility mode
viaide0: primary channel interrupting at irq 14
atabus0 at viaide0 channel 0
viaide0: secondary channel configured to compatibility mode
viaide0: secondary channel interrupting at irq 15
atabus1 at viaide0 channel 1
uhci0 at pci0 dev 2 function 2: VIA Technologies VT83C572 USB Controller (rev. 
0x08)
uhci0: can't map i/o space
pchb1 at pci0 dev 2 function 3
pchb1: VIA Technologies product 0x3050 (rev. 0x20)
rtk0 at pci0 dev 14 function 0: Realtek 8139 10/100BaseTX
rtk0: interrupting at irq 5
rtk0: Ethernet address 00:40:f4:cc:d8:8f
ukphy0 at rtk0 phy 7: Generic IEEE 802.3u media interface
ukphy0: OUI 0x000000, model 0x0000, rev. 0
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
ohci0 at pci0 dev 15 function 0: NEC USB Host Controller (rev. 0x43)
ohci0: interrupting at irq 9
ohci0: OHCI version 1.0
usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: NEC OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 3 ports with 3 removable, self powered
ohci1 at pci0 dev 15 function 1: NEC USB Host Controller (rev. 0x43)
ohci1: interrupting at irq 10
ohci1: OHCI version 1.0
usb1 at ohci1: USB revision 1.0
uhub1 at usb1
uhub1: NEC OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
ehci0 at pci0 dev 15 function 2: NEC USB Host Controller (rev. 0x04)
ehci0: interrupting at irq 11
ehci0: BIOS has given up ownership
ehci0: EHCI version 1.0
ehci0: companion controllers, 3 ports each: ohci0 ohci1
usb2 at ehci0: USB revision 2.0
uhub2 at usb2
uhub2: NEC EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub2: single transaction translator
uhub2: 5 ports with 5 removable, self powered
ahc1 at pci0 dev 16 function 0: Adaptec 2902/04/10/15/20/30C SCSI adapter
ahc1: interrupting at irq 10
ahc1: Host Adapter Bios disabled.  Using default SCSI device parameters
ahc1: aic7850: Single Channel A, SCSI Id=7, 3/253 SCBs
scsibus0 at ahc1: 8 targets, 8 luns per target
esa0 at pci0 dev 18 function 0: ESS Technology Allegro-1 PCI Audio Accelerator 
(rev. 0x10)
esa0: interrupting at irq 5
esa0: ac97: ESS Technology ES1921 codec; 20 bit DAC, 20 bit ADC, ESS Technology
esa0: ac97: ext id 2<DRA>
audio0 at esa0: full duplex, mmap, independent
isa0 at pcib0
lpt0 at isa0 port 0x378-0x37b irq 7
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
com1: console
pckbc0 at isa0 port 0x60-0x64
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0 mux 1
wskbd0: connecting to wsdisplay0
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
sysbeep0 at pcppi0
isapnp0 at isa0 port 0x279: ISA Plug 'n Play device support
npx0 at isa0 port 0xf0-0xff: using exception 16
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
isapnp0: no ISA Plug 'n Play devices found
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
Kernelized RAIDframe activated
scsibus0: waiting 2 seconds for devices to settle...
uhub3 at uhub0 port 1st0 at scsibus0 target 0 lun 0: <SONY, SDT-7000, 0300> 
tape removable
st0: 
uhub3: Logitech Logitech BT Mini-Receiver, class 9/0, rev 2.00/40.02, addr 2
drive emptyuhub3: 3 ports with 1 removable, bus powered
st0: sync (100.00ns offset 15), 8-bit (10.000MB/s) transfers
cd0 at scsibus0 target 1 lun 0: <PLEXTOR, CD-R   PX-W8220T, 1.01> cdrom 
removable
cd0: sync (100.00ns offset 8), 8-bit (10.000MB/s) transfers
wd0 at atabus0 drive 0: <Maxtor 6Y080L0>
wd0: drive supports 16-sector PIO transfers, LBA addressing
wd0: 78167 MB, 158816 cyl, 16 head, 63 sec, 512 bytes/sect x 160086528 sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133)
wd0(viaide0:0:0): using PIO mode 4, Ultra-DMA mode 4 (Ultra/66) (using DMA)
atapibus0 at atabus1: 2 targets
cd1 at atapibus0 drive 1: <TSSTcorpCD/DVDW SH-S182M, , SB03> cdrom removable
cd1: 32-bit data port
cd1: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
wd1 at atabus1 drive 0: <Maxtor 6Y080L0>
wd1: drive supports 16-sector PIO transfers, LBA addressing
wd1: 78167 MB, 158816 cyl, 16 head, 63 sec, 512 bytes/sect x 160086528 sectors
wd1: 32-bit data port
wd1: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133)uhidev0 
at uhub3 port 2 configuration 1 interface 0
wd1(viaide0:1:0): using PIO mode 4, Ultra-DMA mode 4 (Ultra/66) (using DMA)
cd1(viaide0:1:1): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA)

uhidev0: Logitech Logitech BT Mini-Receiver, rev 2.00/40.02, addr 3, iclass 3/1
ukbd0 at uhidev0
raid0: RAID Level 1
raid0: Components: /dev/wd0a /dev/wd1a
raid0: Total Sectors: 160086400 (78167 MB)
boot device: raid0
root on raid0a dumps on raid0b
root file system type: ffs
wskbd1 at ukbd0 mux 1
wskbd1: connecting to wsdisplay0
Thu Apr 30 12:16:27 CEST 2009
raid0: Device already configured!
raidctl: ioctl (RAIDFRAME_CONFIGURE) failed: Invalid argument
swapctl: adding /dev/raid0b as swap device at priority 0
Checking for botched superblock upgrades: done.
Startinguhidev1 at uhub3 port 3 configuration 1 interface 0 file system che
uhidev1: Logitech Logitech BT Mini-Receiver, rev 2.00/40.02, addr 4, iclass 3/1
cks:
/dev/rraid0a: fiuhidev1: 18 report ids
ums0 at uhidev1 reportid 2: 7 buttons and Z dir.
wsmouse1 at ums0 mux 0
uhid0 at uhidev1 reportid 3: input=4, output=0, feature=0
uhid1 at uhidev1 reportid 4: input=1, output=0, feature=0
uhid2 at uhidev1 reportid 16: input=6, output=6, feature=0
uhid3 at uhidev1 reportid 17: input=19, output=19, feature=0
uhid4 at uhidev1 reportid 18: input=45, output=45, feature=0
le system is clean; not checking
Setting tty flags.
Setting sysctl variables:
Starting network.
Hostname: aptiva.immnet.dk
IPv6 mode: host
Configuring network interfaces: rtk0.
add net default: gateway fvs318.immnet.dk
Adding interface aliases:
Building databases...
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)
encoding -> dk
Starting syslogd.
Checking for core dump...
ohci0: 1 scheduling overruns
savecore: no core dump
Starting named.
Mounting all filesystems...
Creating a.out runtime link editor directory cache.
Checking quotas: done.
Starting virecover.
Starting local daemons:.
Starting lpd.
Updating motd.
Starting ntpd.
Starting sshd.
Starting sendmail.
Starting inetd.
/dev/rraid0d: Parity status: clean
/etc/rc: WARNING: $fetchmail is not set properly - see rc.conf(5).
Starting cron.
Thu Apr 30 12:16:34 CEST 2009

NetBSD/i386 (aptiva.immnet.dk) (console)

login:



Kind regards
  Ib-Michael Martinsen
-- 
Email at home: i.m.martinsen(at)gmail.com
Running NetBSD/i386 v3.0


Home | Main Index | Thread Index | Old Index