Port-arm archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[Fwd: NSLU2 not reading real-time clock on bootup]
Sorry, I don't know why the text was messed up, but hopefully this will
be easier to read.
Don
-------- Original Message --------
Subject: NSLU2 not reading real-time clock on bootup
Date: Tue, 03 Jun 2008 16:45:05 -0400
From: Donald T Hayford <don%donhayford.com@localhost>
To: port-arm%netbsd.org@localhost
I built a kerrnel to add usb audio. Source was retrieved June 2, 1800
EDT. The startup messages on the console and an attempt to set the
clock from the command line indicate that the I2C driver isn't talking
to the clock again.
!!!!KERNEL CONFIG FILE IS:
include "arch/evbarm/conf/NSLU2"
uaudio* at uhub? port ? configuration ?
audio* at uaudio?
config netbsd-aud-npe0 root on npe0 type nfs
!!!!STARTUP MESSAGES ARE:
NetBSD 4.99.64 (NSLU2_AUDIO) #0: Mon Jun 2 08:07:31 EDT 2008
hayford@mythtv:/home/hayford/net1/src/sys/arch/evbarm/compile/obj/NSLU2_AUDIO
total memory = 32768 KB
avail memory = 26840 KB
mainbus0 (root)
cpu0 at mainbus0: IXP425 266MHz rev 1 (XScale core)
cpu0: DC enabled IC enabled WB enabled LABT branch prediction enabled
cpu0: 32KB/32B 32-way Instruction cache
cpu0: 32KB/32B 32-way write-back-locking Data cache
ixpsip0 at mainbus0
com0 at ixpsip0 addr 0xc8000000-0xc8000fff: ns16550a, working fifo
com0: console
ixp425_intr_establish(irq=15, ipl=3, func=c027d858, arg=c10b7200)
ixpclk0 at ixpsip0 addr 0xc8005000-0xc800502f
ixpclk0: IXP425 Interval Timer
ixpdog0 at ixpsip0: Watchdog Timer
slugiic0 at ixpsip0: I2C bus
slugbutt0 at ixpsip0: Power and Reset buttons
slugled0 at ixpsip0: LED support
ixpio0 at mainbus0
ixpio0: configuring PCI bus
pci0 at ixpio0 bus 0
ohci0 at pci0 dev 1 function 0: vendor 0x1033 product 0x0035 (rev. 0x43)
ixp425_intr_establish(irq=28, ipl=1, func=c0284b68, arg=c110a000)
ohci0: interrupting at INTA
ohci0: OHCI version 1.0
usb0 at ohci0: USB revision 1.0
ohci1 at pci0 dev 1 function 1: vendor 0x1033 product 0x0035 (rev. 0x43)
ixp425_intr_establish(irq=27, ipl=1, func=c0284b68, arg=c110b000)
ohci1: interrupting at INTB
ohci1: OHCI version 1.0
usb1 at ohci1: USB revision 1.0
ehci0 at pci0 dev 1 function 2: vendor 0x1033 product 0x00e0 (rev. 0x04)
ixp425_intr_establish(irq=26, ipl=1, func=c0285ac4, arg=c10ef800)
ehci0: interrupting at INTC
ehci0: companion controllers, 3 ports each: ohci0 ohci1
usb2 at ehci0: USB revision 2.0
ixme0 at mainbus0: IXP4xx MicroEngine Support
ixp425_intr_establish(irq=3, ipl=1, func=c03e95d0, arg=c10f1000)
ixp425_intr_establish(irq=4, ipl=1, func=c03e95d0, arg=c10f1000)
ixpnpe0 at ixme0 NPE-B
ixp425_intr_establish(irq=1, ipl=1, func=c03eb330, arg=c1103300)
npe0 at ixpnpe0: Ethernet co-processor
npe0: remember to fix rx q setup
npe0: Ethernet address 00:18:39:a2:26:7c
rlphy0 at npe0 phy 1: RTL8201L 10/100 media interface, rev. 1
rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
clock: hz=100 stathz=0 profhz=0
ixp425_intr_establish(irq=5, ipl=2, func=c03e8814, arg=00000000)
iic0 at slugiic0: I2C bus
xrtc0 at iic0 addr 0x6f: Xicor X1226 Real-time Clock/NVRAM
ixp425_intr_establish(irq=22, ipl=1, func=c03ee2c0, arg=c1103c00)
ixp425_intr_establish(irq=29, ipl=1, func=c03ee254, arg=c1103c00)
ixp425_intr_establish(irq=28, ipl=1, func=c03ee648, arg=c10b7000)
ixp425_intr_establish(irq=27, ipl=1, func=c03ee5a0, arg=c10b7000)
ixp425_intr_establish(irq=26, ipl=1, func=c03ee4f8, arg=c10b7000)
ixp425_intr_establish(irq=5, ipl=2, func=c03ee420, arg=00000000)
uhub0 at usb1: vendor 0x1033 OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1 at usb2: vendor 0x1033 EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub2 at usb0: vendor 0x1033 OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
ehci0: handing over full speed device on port 1 to ohci0
uaudio0 at uhub2 port 1 configuration 1 interface 0: C-Media INC. USB Sound Device, rev 1.10/0.10, addr 2
uaudio0: audio rev 1.00
audio0 at uaudio0: full duplex, independent
uhub3 at uhub1 port 2: vendor 0x0409 product 0x005a, class 9/0, rev 2.00/1.00, addr 2
uhub3: single transaction translator
umass0 at uhub3 port 1 configuration 1 interface 0
umass0: Generic USB TO IDE Bridge, rev 2.00/1.00, addr 3
umass0: using SCSI over Bulk-Only
scsibus0 at umass0: 2 targets, 1 lun per target
sd0 at scsibus0 target 0 lun 0: <Generic, USB Disk, 9.02> disk fixed
sd0: fabricating a geometry
sd0: 298 GB, 305245 cyl, 64 head, 32 sec, 512 bytes/sect x 625142448 sectors
umass1 at uhub3 port 3 configuration 1 interface 0
umass1: Maxtor OneTouch III, rev 2.00/0.01, addr 4
umass1: using SCSI over Bulk-Only
scsibus1 at umass1: 2 targets, 1 lun per target
sd1 at scsibus1 target 0 lun 0: <Maxtor, OneTouch III, 035f> disk fixed
sd1: fabricating a geometry
sd1: 298 GB, 305245 cyl, 64 head, 32 sec, 512 bytes/sect x 625142448 sectors
boot device: <unknown>
root on npe0
nfs_boot: trying DHCP/BOOTP
nfs_boot: DHCP next-server: 192.168.1.102
nfs_boot: my_addr=192.168.1.240
nfs_boot: my_mask=255.255.255.0
nfs_boot: gateway=192.168.1.1
root on 192.168.1.102:/export/aud_client/root
root time: 0x48459f74
slugiic_read_bits: Read in output mode
slugiic_read_bits: Read in output mode
slugiic_read_bits: Read in output mode
slugiic_read_bits: Read in output mode
slugiic_read_bits: Read in output mode
slugiic_read_bits: Read in output mode
slugiic_read_bits: Read in output mode
slugiic_read_bits: Read in output mode
slugiic_read_bits: Read in output mode
slugiic_set_bits: SDA low in input mode!
slugiic_set_bits: SDA low in input mode!
xrtc0: xrtc_clock_read: failed to read rtc at 0x0
slugiic_read_bits: Read in output mode
slugiic_read_bits: Read in output mode
slugiic_read_bits: Read in output mode
slugiic_read_bits: Read in output mode
slugiic_read_bits: Read in output mode
slugiic_read_bits: Read in output mode
slugiic_read_bits: Read in output mode
slugiic_read_bits: Read in output mode
slugiic_read_bits: Read in output mode
slugiic_set_bits: SDA low in input mode!
slugiic_set_bits: SDA low in input mode!
xrtc0: xrtc_clock_read: failed to read rtc at 0x0
WARNING: preposterous TOD clock time
WARNING: using filesystem time
WARNING: CHECK AND RESET THE DATE!
init: copying out path `/sbin/init' 11
Tue Jun 3 19:45:56 UTC 2008
Starting file system checks:
Setting tty flags.
Setting sysctl variables:
Starting network.
Hostname: slug1
IPv6 mode: host
Configuring network interfaces:.
add net default: gateway 192.168.1.1
Adding interface aliases:
Building databases: dev, utmp192.168.1.102:/export/aud_client/root: inaccurate wcc data (ctime) detected, disabling wcc (ctime1212522364.000000000 1) , utmpx, services done
Starting syslogd.
Checking for core dump...
savecore: /netbsd: kvm_openfiles: /netbsd: No such file or directory
Jun 3 19:46:56 slug1 savecore: /netbsd: kvm_openfiles: /netbsd: No such file or directory
Mounting all filesystems...
Clearing temporary files.
Checking quotas: done.
Setting securelevel: kern.securelevel: 0 -> 1
swapctl: adding nfsserver:/export/aud_client/swap as swap device at priority 0
Starting virecover.
Starting local daemons:.
Updating motd.
Generating public/private rsa1 key pair.
Your identification has been saved in /etc/ssh/ssh_host_key.
Your public key has been saved in /etc/ssh/ssh_host_key.pub.
The key fingerprint is:
Generating public/private dsa key pair.
Your identification has been saved in /etc/ssh/ssh_host_dsa_key.
Your public key has been saved in /etc/ssh/ssh_host_dsa_key.pub.
The key fingerprint is:
Generating public/private rsa key pair.
Your identification has been saved in /etc/ssh/ssh_host_rsa_key.
Your public key has been saved in /etc/ssh/ssh_host_rsa_key.pub.
The key fingerprint is:
Starting sshd.
Postfix: rebuilding /etc/mail/aliases (missing /etc/mail/aliases.db)
postfix/postfix-script: starting the Postfix mail system
Starting inetd.
Starting cron.
Tue Jun 3 19:47:53 UTC 2008
NetBSD/evbarm (slug1) (console)
login:
!!!!OUTPUT WHEN TRYING TO SET THE CLOCK:
slug1# date 200806031627
slugiic_read_bits: Read in output mode
slugiic_read_bits: Read in output mode
slugiic_read_bits: Read in output mode
slugiic_read_bits: Read in output mode
slugiic_read_bits: Read in output mode
slugiic_read_bits: Read in output mode
slugiic_read_bits: Read in output mode
slugiic_read_bits: Read in output mode
slugiic_read_bits: Read in output mode
slugiic_set_bits: SDA low in input mode!
slugiic_set_bits: SDA low in input mode!
xrtc0: xrtc_clock_write: failed to write-unlock status register(WEL=1)
Cannot set TOD clock time
Tue Jun 3 16:27:00 UTC 2008
Thanks - Don
Home |
Main Index |
Thread Index |
Old Index