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

ipv6-disallow-RH0-by-default.patch causes a paging request error on the NSLU2



Hi Dann

The backported patch bugfix/ipv6-disallow-RH0-by-default.patch you
checked into the etch branch of the kernel causes the kernel to issue
the message, "Unable to handle kernel paging request at virtual
address 6261746d" (see boot log below) on the Linksys NSLU2 (arm). The
system boots successfully with all of the rest of the patches in
series 13 applied. I can still ssh to the system, but the system is
not stable. For instance, ifconfig never finishes running. Below the
boot log, I have included the active process list after running
ifconfig.

It looks like the first version of the original patch in 2.6.20 and
2.6.21 was broken [1], The fix for the broken patch in 2.6.21 was
committed after 2.6.21 was released [2] and is included in 2.6.21.1. I
haven't looked at your backported version enough to see if the problem
is the same as the problem described in the original patch.

Gordon

[1] http://lkml.org/lkml/2007/4/26/351
[2] http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=ebbd90a730711280142017e482f27ec3fbb4f227;hp=49e9f70f8e7a4df00a5185e7f5c91e3c583847db

--- boot log ---

Uncompressing Linux...............................................................................
done, booting the kernel.
Linux version 2.6.18-5-ixp4xx (Debian 2.6.18.dfsg.1-13) (dannf@debian.org) (gcc
version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)) #1 Thu May 10
22:15:42 MDT 2007
CPU: XScale-IXP42x Family [690541f1] revision 1 (ARMv5TE), cr=0000397f
Machine: Linksys NSLU2
Memory policy: ECC disabled, Data cache writeback
CPU0: D VIVT undefined 5 cache
CPU0: I cache: 32768 bytes, associativity 32, 32 byte lines, 32 sets
CPU0: D cache: 32768 bytes, associativity 32, 32 byte lines, 32 sets
Built 1 zonelists.  Total pages: 8192
Kernel command line: console=ttyS0,115200 rtc-x1205.probe=0,0x6f noirqdebug
IRQ lockup detection disabled
PID hash table entries: 256 (order: 8, 1024 bytes)
Console: colour dummy device 80x30
Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
Memory: 32MB = 32MB total
Memory: 25780KB available (1948K code, 496K data, 92K init)
Security Framework v1.0.0 initialized
SELinux:  Disabled at boot.
Capability LSM initialized
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
checking if image is initramfs... it is
Freeing initrd memory: 4096K
NET: Registered protocol family 16
IXP4xx: Using 16MiB expansion bus window size
PCI: IXP4xx is host
PCI: IXP4xx Using direct access for memory space
PCI: bus0: Fast back to back transfers disabled
dmabounce: registered device 0000:00:01.0 on pci bus
dmabounce: registered device 0000:00:01.1 on pci bus
dmabounce: registered device 0000:00:01.2 on pci bus
NET: Registered protocol family 2
IP route cache hash table entries: 256 (order: -2, 1024 bytes)
TCP established hash table entries: 1024 (order: 0, 4096 bytes)
TCP bind hash table entries: 512 (order: -1, 2048 bytes)
TCP: Hash tables configured (established 1024 bind 512)
TCP reno registered
NetWinder Floating Point Emulator V0.97 (double precision)
audit: initializing netlink socket (disabled)
audit(4.120:1): initialized
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
JFFS2 version 2.2. (NAND) (C) 2001-2006 Red Hat, Inc.
Initializing Cryptographic API
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
IXP4xx Watchdog Timer: heartbeat 60 sec
Serial: 8250/16550 driver $Revision: 1.90 $ 2 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO 0xc8000000 (irq = 15) is a XScale
serial8250.0: ttyS1 at MMIO 0xc8001000 (irq = 13) is a XScale
RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
IXP4XX-Flash.0: Found 1 x16 devices at 0x0 in 16-bit bank
Intel/Sharp Extended Query Table at 0x0031
Using buffer write method
cfi_cmdset_0001: Erase suspend on write enabled
Searching for RedBoot partition table in IXP4XX-Flash.0 at offset 0x7e0000
6 RedBoot partitions found on MTD device IXP4XX-Flash.0
Creating 6 MTD partitions on "IXP4XX-Flash.0":
0x00000000-0x00040000 : "RedBoot"
NSLU2 MAC: 00:14:bf:71:02:d7
0x00040000-0x00060000 : "SysConf"
0x00060000-0x00080000 : "Loader"
0x00080000-0x001e0000 : "Kernel"
0x001e0000-0x007e0000 : "Ramdisk"
0x007e0000-0x00800000 : "FIS directory"
mice: PS/2 mouse device common for all mice
i2c /dev entries driver
x1205 0-006f: chip found, driver version 1.0.7
x1205 0-006f: rtc core: registered x1205 as rtc0
Registered led device: ready
Registered led device: status
Registered led device: disk-1
Registered led device: disk-2
NET: Registered protocol family 26
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
x1205 0-006f: setting the system clock to 2007-05-11 04:45:55 (1178858755)
Time: OSTS clocksource has been installed.
Freeing init memory: 92K
Loading, please wait...
Begin: Loading essential drivers... ...
Done.
Begin: Running /scripts/init-premount ...
usbcore: registered new driver usbfs
usbcore: registered new driver hub
PCI: enabling device 0000:00:01.0 (0140 -> 0142)
ohci_hcd 0000:00:01.0: OHCI Host Controller
ohci_hcd 0000:00:01.0: new USB bus registered, assigned bus number 1
ohci_hcd 0000:00:01.0: irq 28, io mem 0x48000000
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 3 ports detected
PCI: enabling device 0000:00:01.1 (0140 -> 0142)
ohci_hcd 0000:00:01.1: OHCI Host Controller
ohci_hcd 0000:00:01.1: new USB bus registered, assigned bus number 2
ohci_hcd 0000:00:01.1: irq 27, io mem 0x48001000
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
PCI: enabling device 0000:00:01.2 (0140 -> 0142)
ehci_hcd 0000:00:01.2: EHCI Host Controller
ehci_hcd 0000:00:01.2: new USB bus registered, assigned bus number 3
ehci_hcd 0000:00:01.2: irq 26, io mem 0x48002000
ehci_hcd 0000:00:01.2: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
usb usb3: configuration #1 chosen from 1 choice
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 5 ports detected
usb 3-1: new high speed USB device using ehci_hcd and address 2
Done.
usb 3-1: configuration #1 chosen from 1 choice
Begin: Mounting root file system... ...
SCSI subsystem initialized
Initializing USB Mass Storage driver...
scsi0 : SCSI emulation for USB Mass Storage devices
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
Begin: Running /scripts/local-top ...
Loading Intel IXP400 ethernet driver
FATAL: Module ixp400_eth not found.
Failed to load Intel IXP400 ethernet driver
Done.
Begin: Waiting for root file system... ...
 Vendor: ST340014  Model: A                 Rev: 0000
 Type:   Direct-Access                      ANSI SCSI revision: 00
SCSI device sda: 78165360 512-byte hdwr sectors (40021 MB)
sda: Write Protect is off
sda: assuming drive cache: write through
SCSI device sda: 78165360 512-byte hdwr sectors (40021 MB)
sda: Write Protect is off
sda: assuming drive cache: write through
sda: sda1 sda2 < sda5 >
sd 0:0:0:0: Attached scsi disk sda
Done.
Begin: Running /scripts/local-premount ...
Done.
EXT3-fs: INFO: recovery required on readonly filesystem.
EXT3-fs: write access will be enabled during recovery.
kjournald starting.  Commit interval 5 seconds
EXT3-fs: recovery complete.
EXT3-fs: mounted filesystem with ordered data mode.
Begin: Running /scripts/local-bottom ...
Done.
Done.
Begin: Running /scripts/init-bottom ...
Done.
INIT: version 2.86 booting
Starting the hotplug events dispatcher: udevd.
Synthesizing the initial hotplug events...done.
Waiting for /dev to be fully populated...swapped image found
Image loaded to NPE-B Func:0, Rel: 2:1, Status: 82c00000
IXP4XX NPE driver Version 0.3.0 initialized
IXP4XX Q Manager 0.2.1 initialized.
input: ixp4xx beeper as /class/input/input0
ixp4xx_mac driver 0.3.1: eth0 on NPE-B with PHY[1] initialized
done.
Activating swap...Adding 88316k swap on /dev/sda5.  Priority:-1
extents:1 across:88316k
done.
Checking root file system...fsck 1.40-WIP (14-Nov-2006)
/dev/sda1: clean, 22594/4882432 files, 319857/9747430 blocks
done.
EXT3 FS on sda1, internal journal
x1205 0-006f: rtc intf: dev (254:0)
Setting the system clock..
Cleaning up ifupdown....
Loading kernel modules...done.
Loading device-mapper supportdevice-mapper: ioctl: 4.7.0-ioctl
(2006-06-24) initialised: dm-devel@redhat.com
.
Checking file systems...fsck 1.40-WIP (14-Nov-2006)
done.
Setting kernel variables...done.
Mounting local filesystems...done.
Activating swapfile swap...done.
Setting up networking....
Configuring network interfaces...eth0: link up, 100Mbps, full-duplex,
lpa 0x45E1done.
Starting portmap daemon....
INIT: Entering runlevel: 2
Starting system log daemon: syslogd.
Starting kernel log daemon: klogd.
Starting portmap daemon...Already running..
Starting MTA: exim4.
Starting internet superserver: inetd.
Starting OpenBSD Secure Shell server: sshdNET: Registered protocol family 10
lo: Disabled Privacy Extensions
Unable to handle kernel paging request at virtual address 6261746d
pgd = c0d50000
[6261746d] *pgd=00000000
Internal error: Oops: f5 [#1]
Modules linked in: ipv6 dm_snapshot dm_mirror dm_mod rtc_dev evdev
ixp4xx_mac ixp4xx_beeper ixp4xx_qmgr ixp4xx_npe firmware_class ext3
jbd mbcache sd_mod usb_storage scsi_mod ehci_hcd ohci_hcd usbcore
CPU: 0
PC is at proc_create+0x30/0xd4
LR is at 0xc166fe14
pc : [<c00b0580>]    lr : [<c166fe14>]    Not tainted
sp : c166fdec  ip : 6261746d  fp : c166fe10
r10: c02e3c60  r9 : 0000001e  r8 : 00000001
r7 : 0000f663  r6 : 0000016d  r5 : c0db2584  r4 : 0000f663
r3 : 00010000  r2 : f6630000  r1 : 6261746d  r0 : c166fe14
Flags: nzCv  IRQs on  FIQs on  Mode SVC_32  Segment user
Control: 397F  Table: 00D50000  DAC: 00000015
Process modprobe (pid: 1805, stack limit = 0xc166e250)
Stack: (0xc166fdec to 0xc1670000)
fde0:                            6261746d 0000f663 c0db2584 0000016d 00000003
fe00: c036bec0 c166fe2c c166fe14 c00b0694 c00b055c c02e3c60 c0db1a20 c0db2584
fe20: c166fe54 c166fe30 c003ce8c c00b0630 c036bec0 00000000 c0db252c c135c668
fe40: 00000000 c287c000 c166fe70 c166fe58 c003cf8c c003ce0c c0db2000 c036bee0
fe60: c021c2b8 c166fe90 c166fe74 bf0de474 c003cf08 00000000 c135c5e0 c021c2b8
fe80: c135c5e0 c166fed0 c166fe94 bf0e1490 bf0de398 bf1026c8 bf0ed56c 00000000
fea0: 0000023e 00008124 c0db4860 c166fed4 c021c2b8 c0e45800 bf118bc0 c0e45c88
fec0: c0e45c48 c166fee4 c166fed4 bf0262f4 bf0e1294 00000000 c166fef8 c166fee8
fee0: bf026188 bf0262e4 c0e45c68 c166ffa4 c166fefc c00522cc bf02600c 00000000
ff00: 00017dd0 00000000 00000000 00000000 00000000 00000000 00000000 0000000b
ff20: 00000010 0000000d 00000000 00000012 00000000 00000000 c28c1cc8 c036b340
ff40: c28b1988 c28b18c0 c28b19b0 00000000 000007b3 000007b3 bf118bcc 00000014
ff60: bf118c08 c28b142c 0000001e c28b19d8 0000001c 00000000 bf01e9e0 00000000
ff80: 00009804 00000000 00000080 c001ff24 c166e000 00017d94 00000000 c166ffa8
ffa0: c001fd80 c0050ed0 00000000 00009804 40132000 0004aec0 00017dd0 00000000
ffc0: 00000000 00009804 00000000 0001a4e0 00017d88 00000000 00017d94 00016098
ffe0: 400d4180 bed2ebd8 0000b250 400d418c 60000010 40132000 7373656d 20656761
Backtrace:
[<c00b0550>] (proc_create+0x0/0xd4) from [<c00b0694>]
(create_proc_entry+0x70/0xc0)
r8 = C036BEC0  r7 = 00000003  r6 = 0000016D  r5 = C0DB2584
r4 = 0000F663
[<c00b0624>] (create_proc_entry+0x0/0xc0) from [<c003ce8c>]
(register_proc_table+0x8c/0xfc)
r5 = C0DB2584  r4 = C0DB1A20
[<c003ce00>] (register_proc_table+0x0/0xfc) from [<c003cf8c>]
(register_sysctl_table+0x90/0xa4)
[<c003cefc>] (register_sysctl_table+0x0/0xa4) from [<bf0de474>]
(addrconf_sysctl_register+0xe8/0x124 [ipv6])
r6 = C021C2B8  r5 = C036BEE0  r4 = C0DB2000
[<bf0de38c>] (addrconf_sysctl_register+0x0/0x124 [ipv6]) from
[<bf0e1490>] (ipv6_add_dev+0x208/0x280 [ipv6])
r7 = C135C5E0  r6 = C021C2B8  r5 = C135C5E0  r4 = 00000000
[<bf0e1288>] (ipv6_add_dev+0x0/0x280 [ipv6]) from [<bf0262f4>]
(addrconf_init+0x1c/0xc8 [ipv6])
r8 = C0E45C48  r7 = C0E45C88  r6 = BF118BC0  r5 = C0E45800
r4 = C021C2B8
[<bf0262d8>] (addrconf_init+0x0/0xc8 [ipv6]) from [<bf026188>]
(inet6_init+0x188/0x248 [ipv6])
r4 = 00000000
[<bf026000>] (inet6_init+0x0/0x248 [ipv6]) from [<c00522cc>]
(sys_init_module+0x1408/0x1564)
r4 = C0E45C68
[<c0050ec4>] (sys_init_module+0x0/0x1564) from [<c001fd80>]
(ret_fast_syscall+0x0/0x2c)
Code: e1a07822 e1a08823 0a000026 e50bc024 (e5dc3000)
.
Starting NFS common utilities: statd

--- end boot log ---

--- active process list ---

gordon@LKG7102D7:~$ ps fax
 PID TTY      STAT   TIME COMMAND
   1 ?        Ss     0:04 init [2]
   2 ?        SN     0:00 [ksoftirqd/0]
   3 ?        S<     0:00 [events/0]
   4 ?        S<     0:00 [khelper]
   5 ?        S<     0:00 [kthread]
  21 ?        S<     0:00  \_ [kblockd/0]
  23 ?        S<     0:00  \_ [kseriod]
  60 ?        S      0:00  \_ [pdflush]
  61 ?        S      0:00  \_ [pdflush]
  62 ?        S<     0:00  \_ [kswapd0]
  63 ?        S<     0:00  \_ [aio/0]
 214 ?        S<     0:00  \_ [kpsmoused]
 528 ?        S<     0:00  \_ [khubd]
 603 ?        S<     0:00  \_ [scsi_eh_0]
 606 ?        S<     0:00  \_ [usb-storage]
 917 ?        S<     0:00  \_ [kjournald]
1523 ?        S<     0:00  \_ [kmirrord]
 192 ?        S      0:00 [mtdblockd]
1096 ?        S<s    0:00 udevd --daemon
1621 ?        Ss     0:00 /sbin/portmap
1706 ?        Ss     0:00 /bin/sh /etc/init.d/rc 2
1828 ?        S      0:00  \_ /bin/sh /etc/rc2.d/S21nfs-common start
1830 ?        S      0:00      \_ /sbin/rpc.statd
1831 ?        Ds     0:00          \_ /sbin/rpc.statd
1721 ?        Ss     0:00 /sbin/syslogd
1727 ?        Ss     0:00 /sbin/klogd -x
1782 ?        Ss     0:00 /usr/sbin/exim4 -bd -q30m
1794 ?        Ss     0:00 /usr/sbin/inetd
1811 ?        Ss     0:00 /usr/sbin/sshd
1832 ?        Ss     0:01  \_ sshd: gordon [priv]
1838 ?        S      0:00  |   \_ sshd: gordon@pts/0
1839 pts/0    Ss     0:01  |       \_ -bash
1859 pts/0    D+     0:00  |           \_ /sbin/ifconfig
1864 ?        Ss     0:01  \_ sshd: gordon [priv]
1870 ?        S      0:00      \_ sshd: gordon@pts/1
1871 pts/1    Ss     0:01          \_ -bash
1890 pts/1    R+     0:00              \_ ps fax

--- end active process list ---

Gordon

--
Gordon Farquharson



Reply to: