NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
WARNING: couldn't open /var/db/entropy-file
Hi,
I'm observing odd behaviour when booting 6.1.3/i386 (GENERIC) on an ALIX 2d13
(http://pcengines.ch/alix2d13.htm)
The board has no VGA output so the bootloader is configured to use the serial
console.
Furthermore, since there is neither SMP nor ACPI, the bootloader is configured
to boot -12 by default.
On a normal, unattended boot, i get the following warnings, right before the
Copyright message (full boot log below):
| 11257552+564156+464544 [600160+589606]=0xcdc114
| WARNING: couldn't open /var/db/entropy-file
| WARNING: 1 module failed to load
| Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
| [...]
although later:
| Loaded entropy from disk.
which I don't understand.
The odd thing now is, the warnings disappear by merely dropping into the
bootloader prompt, and typing ``boot -12'', i.e. just what it would normally do
after the timeout expires; that leaves me completely puzzled.
Any input on how to further debug this is appreciated.
BTW, GNATS problem report #47111, although being unrelated from the 'actual'
issue discussed, is observing the same symnptoms (although apparently without
realizing it).
Best,
Timo Buhrmester
PS: For reference, two complete boot logs. First is completely unattended,
second boots the same, with the same kernel flags, just manually from the boot
prompt instead of automatically:
first boot log:
---------8<--------------------------------------------------------
rebooting...
PC Engines ALIX.2 v0.99m
640 KB Base Memory
261120 KB Extended Memory
01F0 Master 848A TS8GCF133
Phys C/H/S 15538/16/63 Log C/H/S 974/255/63 LBA
a: disk
1: NetBSD
NetBSD/x86 ffsv2 Primary Bootstrap
>> NetBSD/x86 BIOS Boot, Revision 5.9 (from NetBSD 6.1.3)
>> Memory: 640/261120 k
1. Boot normally
2. Boot single user
3. Disable ACPI
4. Disable ACPI and SMP
5. Drop to boot prompt
Choose an option; RETURN for default; SPACE to stop countdown.
Option 4 will be chosen in 0 seconds.
11257552+564156+464544 [600160+589606]=0xcdc114
WARNING: couldn't open /var/db/entropy-file
WARNING: 1 module failed to load
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.1.3 (GENERIC)
total memory = 255 MB
avail memory = 238 MB
mainbus0 (root)
cpu0 at mainbus0: Geode(TM) Integrated Processor by AMD PCS, id 0x5a2
pci0 at mainbus0 bus 0: configuration mode 1
pchb0 at pci0 dev 1 function 0: vendor 0x1022 product 0x2080 (rev. 0x33)
glxsb0 at pci0 dev 1 function 2: RNG AES
vr0 at pci0 dev 9 function 0: vendor 0x1106 product 0x3053 (rev. 0x96)
vr0: interrupting at irq 10
vr0: Ethernet address: 00:0d:b9:31:6a:60
ukphy0 at vr0 phy 1: OUI 0x0002c6, model 0x0034, rev. 3
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
vr1 at pci0 dev 10 function 0: vendor 0x1106 product 0x3053 (rev. 0x96)
vr1: interrupting at irq 11
vr1: Ethernet address: 00:0d:b9:31:6a:61
ukphy1 at vr1 phy 1: OUI 0x0002c6, model 0x0034, rev. 3
ukphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
vr2 at pci0 dev 11 function 0: vendor 0x1106 product 0x3053 (rev. 0x96)
vr2: interrupting at irq 15
vr2: Ethernet address: 00:0d:b9:31:6a:62
ukphy2 at vr2 phy 1: OUI 0x0002c6, model 0x0034, rev. 3
ukphy2: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
gcscpcib0 at pci0 dev 15 function 0: vendor 0x1022 product 0x2090 (rev. 0x03)
gcscpcib0: Watchdog Timer via MFGPT0, GPIO
gpio0 at gcscpcib0: 32 pins
viaide0 at pci0 dev 15 function 2: AMD CS5536 IDE Controller (rev. 0x01)
viaide0: primary channel interrupting at irq 14
atabus0 at viaide0 channel 0
viaide0: secondary channel ignored (disabled)
ohci0 at pci0 dev 15 function 4: vendor 0x1022 product 0x2094 (rev. 0x02)
ohci0: interrupting at irq 12
ohci0: OHCI version 1.0, legacy support
usb0 at ohci0: USB revision 1.0
gcscehci0 at pci0 dev 15 function 5: vendor 0x1022 product 0x2095 (rev. 0x02)
gcscehci0: interrupting at irq 12
gcscehci0: companion controller, 4 ports each: ohci0
usb1 at gcscehci0: USB revision 2.0
isa0 at gcscpcib0
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com0: console
com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
attimer0 at isa0 port 0x40-0x43
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
sysbeep0 at pcppi0
isapnp0 at isa0 port 0x279
npx0 at isa0 port 0xf0-0xff
attimer0: attached to pcppi0
uhub0 at usb1: vendor 0x1022 EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub1 at usb0: vendor 0x1022 OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
umass0 at uhub0 port 1 configuration 1 interface 0
umass0: USB 2.0 USB Flash Drive, rev 2.00/11.00, addr 2
scsibus0 at umass0: 2 targets, 1 lun per target
sd0 at scsibus0 target 0 lun 0: <USB 2.0, USB Flash Drive, 1100> disk removable
sd0: 3894 MB, 7872 cyl, 16 head, 63 sec, 512 bytes/sect x 7975296 sectors
wd0 at atabus0 drive 0
wd0: <TS8GCF133>
wd0: 7647 MB, 15538 cyl, 16 head, 63 sec, 512 bytes/sect x 15662304 sectors
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
Sat Mar 22 20:40:41 GMT 2014
Starting root file system check:
/dev/rwd0a: file system is clean; not checking
swapctl: setting dump device to /dev/wd0b
swapctl: adding /dev/wd0b as swap device at priority 0
Starting file system checks:
/dev/rwd0e: file system is clean; not checking
/dev/rwd0f: file system is clean; not checking
Setting tty flags.
Setting sysctl variables:
ddb.onpanic: 1 -> 0
Starting network.
Hostname: alix.localdomain
IPv6 mode: host
Configuring network interfaces: vr0.
Adding interface aliases:.
add net default: gateway 192.168.0.1
Building databases: dev, utmp, utmpx.
Starting syslogd.
Mounting all filesystems...
Clearing temporary files.
Creating a.out runtime link editor directory cache.
Checking quotas: done.
Loaded entropy from disk.
swapctl: setting dump device to /dev/wd0b
Starting virecover.
Checking for core dump...
savecore: no core dump
Starting local daemons:.
Updating motd.
Starting ntpd.
Starting sshd.
Starting inetd.
Starting cron.
Sat Mar 22 21:40:58 CET 2014
NetBSD/i386 (alix.localdomain) (constty)
login: Mar 22 21:41:26 alix shutdown: reboot by toor:
Mar 22 21:41:40 alix syslogd[155]: Exiting on signal 15
syncing disks... done
sd0: detached
scsibus0: detached
sysbeep0: detached
midi0: detached
npx0: detached
pcppi0: detached
com1: detached
gpio0: detached
ukphy2: detached
ukphy1: detached
ukphy0: detached
pchb0: detached
wd0: detached
atabus0: detached
rebooting...
--------->8--------------------------------------------------------
second boot log:
---------8<--------------------------------------------------------
PC Engines ALIX.2 v0.99m
640 KB Base Memory
261120 KB Extended Memory
01F0 Master 848A TS8GCF133
Phys C/H/S 15538/16/63 Log C/H/S 974/255/63 LBA
a: disk
1: NetBSD
NetBSD/x86 ffsv2 Primary Bootstrap
>> NetBSD/x86 BIOS Boot, Revision 5.9 (from NetBSD 6.1.3)
>> Memory: 640/261120 k
1. Boot normally
2. Boot single user
3. Disable ACPI
4. Disable ACPI and SMP
5. Drop to boot prompt
Choose an option; RETURN for default; SPACE to stop countdown.
Option 4 will be chosen in 0 seconds.
type "?" or "help" for help.
> boot -12
11257552+564156+464544 [600160+589606]=0xcdc114
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.1.3 (GENERIC)
total memory = 255 MB
avail memory = 238 MB
mainbus0 (root)
cpu0 at mainbus0: Geode(TM) Integrated Processor by AMD PCS, id 0x5a2
pci0 at mainbus0 bus 0: configuration mode 1
pchb0 at pci0 dev 1 function 0: vendor 0x1022 product 0x2080 (rev. 0x33)
glxsb0 at pci0 dev 1 function 2: RNG AES
vr0 at pci0 dev 9 function 0: vendor 0x1106 product 0x3053 (rev. 0x96)
vr0: interrupting at irq 10
vr0: Ethernet address: 00:0d:b9:31:6a:60
ukphy0 at vr0 phy 1: OUI 0x0002c6, model 0x0034, rev. 3
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
vr1 at pci0 dev 10 function 0: vendor 0x1106 product 0x3053 (rev. 0x96)
vr1: interrupting at irq 11
vr1: Ethernet address: 00:0d:b9:31:6a:61
ukphy1 at vr1 phy 1: OUI 0x0002c6, model 0x0034, rev. 3
ukphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
vr2 at pci0 dev 11 function 0: vendor 0x1106 product 0x3053 (rev. 0x96)
vr2: interrupting at irq 15
vr2: Ethernet address: 00:0d:b9:31:6a:62
ukphy2 at vr2 phy 1: OUI 0x0002c6, model 0x0034, rev. 3
ukphy2: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
gcscpcib0 at pci0 dev 15 function 0: vendor 0x1022 product 0x2090 (rev. 0x03)
gcscpcib0: Watchdog Timer via MFGPT0, GPIO
gpio0 at gcscpcib0: 32 pins
viaide0 at pci0 dev 15 function 2: AMD CS5536 IDE Controller (rev. 0x01)
viaide0: primary channel interrupting at irq 14
atabus0 at viaide0 channel 0
viaide0: secondary channel ignored (disabled)
ohci0 at pci0 dev 15 function 4: vendor 0x1022 product 0x2094 (rev. 0x02)
ohci0: interrupting at irq 12
ohci0: OHCI version 1.0, legacy support
usb0 at ohci0: USB revision 1.0
gcscehci0 at pci0 dev 15 function 5: vendor 0x1022 product 0x2095 (rev. 0x02)
gcscehci0: interrupting at irq 12
gcscehci0: companion controller, 4 ports each: ohci0
usb1 at gcscehci0: USB revision 2.0
isa0 at gcscpcib0
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com0: console
com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
attimer0 at isa0 port 0x40-0x43
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
sysbeep0 at pcppi0
isapnp0 at isa0 port 0x279
npx0 at isa0 port 0xf0-0xff
attimer0: attached to pcppi0
uhub0 at usb0: vendor 0x1022 OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1 at usb1: vendor 0x1022 EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
umass0 at uhub1 port 1 configuration 1 interface 0
umass0: USB 2.0 USB Flash Drive, rev 2.00/11.00, addr 2
scsibus0 at umass0: 2 targets, 1 lun per target
sd0 at scsibus0 target 0 lun 0: <USB 2.0, USB Flash Drive, 1100> disk removable
sd0: 3894 MB, 7872 cyl, 16 head, 63 sec, 512 bytes/sect x 7975296 sectors
wd0 at atabus0 drive 0
wd0: <TS8GCF133>
wd0: 7647 MB, 15538 cyl, 16 head, 63 sec, 512 bytes/sect x 15662304 sectors
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
Sat Mar 22 20:42:37 GMT 2014
Starting root file system check:
/dev/rwd0a: file system is clean; not checking
swapctl: setting dump device to /dev/wd0b
swapctl: adding /dev/wd0b as swap device at priority 0
Starting file system checks:
/dev/rwd0e: file system is clean; not checking
/dev/rwd0f: file system is clean; not checking
Setting tty flags.
Setting sysctl variables:
ddb.onpanic: 1 -> 0
Starting network.
Hostname: alix.localdomain
IPv6 mode: host
Configuring network interfaces: vr0.
Adding interface aliases:.
add net default: gateway 192.168.0.1
Building databases: dev, utmp, utmpx.
Starting syslogd.
Mounting all filesystems...
Clearing temporary files.
Creating a.out runtime link editor directory cache.
Checking quotas: done.
Loaded entropy from disk.
swapctl: setting dump device to /dev/wd0b
Starting virecover.
Checking for core dump...
savecore: no core dump
Starting local daemons:.
Updating motd.
Starting ntpd.
Starting sshd.
Starting inetd.
Starting cron.
Sat Mar 22 21:42:55 CET 2014
NetBSD/i386 (alix.localdomain) (constty)
login:
--------->8--------------------------------------------------------
Home |
Main Index |
Thread Index |
Old Index