[Bug 15589] New: Badness in ioctl() and/or networking in kernel

bugzilla-daemon at bugzilla.ubuntu.com bugzilla-daemon at bugzilla.ubuntu.com
Fri Sep 16 14:04:33 UTC 2005


Please do not reply to this email.  You can add comments at
http://bugzilla.ubuntu.com/show_bug.cgi?id=15589
Ubuntu | kernel-package

           Summary: Badness in ioctl() and/or networking in kernel
           Product: Ubuntu
           Version: unspecified
          Platform: i386
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: kernel-package
        AssignedTo: ben.collins at ubuntu.com
        ReportedBy: forgue at oakland.edu
         QAContact: kernel-bugs at lists.ubuntu.com


I'm guessing this is a kernel problem....

I'm using brezzy (as of this morning, 9/16) and I'm having wierd network issues.  

My hardware is an IBM x41 and I'm using the wired network connection (although
this happens with both wired/wireless).  I can't sudo (same problem, i'd
imagine).  Here's a list of my hardware:

forgue at spica:~$ lspci -v
0000:00:00.0 Host bridge: Intel Corp. Mobile Memory Controller Hub (rev 03)
        Subsystem: IBM: Unknown device 0575
        Flags: bus master, fast devsel, latency 0
        Capabilities: <available only to root>

0000:00:02.0 VGA compatible controller: Intel Corp. Mobile Graphics Controller
(rev 03) (prog-if 00 [VGA])
        Subsystem: IBM: Unknown device 0582
        Flags: bus master, fast devsel, latency 0, IRQ 16
        Memory at a0080000 (32-bit, non-prefetchable) [size=512K]
        I/O ports at 1800 [size=8]
        Memory at c0000000 (32-bit, prefetchable) [size=256M]
        Memory at a0000000 (32-bit, non-prefetchable) [size=256K]
        Capabilities: <available only to root>

0000:00:02.1 Display controller: Intel Corp. Mobile Graphics Controller (rev 03)
        Subsystem: IBM: Unknown device 0582
        Flags: fast devsel
        Memory at 20000000 (32-bit, non-prefetchable) [disabled] [size=512K]
        Capabilities: <available only to root>

0000:00:1c.0 PCI bridge: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI
Express Port 1 (rev 03) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0
        Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
        Memory behind bridge: a0100000-a01fffff
        Capabilities: <available only to root>

0000:00:1d.0 USB Controller: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB
UHCI #1 (rev 03) (prog-if 00 [UHCI])
        Subsystem: IBM: Unknown device 0565
        Flags: bus master, medium devsel, latency 0, IRQ 16
        I/O ports at 1820 [size=32]

0000:00:1d.1 USB Controller: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB
UHCI #2 (rev 03) (prog-if 00 [UHCI])
        Subsystem: IBM: Unknown device 0565
        Flags: bus master, medium devsel, latency 0, IRQ 17
        I/O ports at 1840 [size=32]

0000:00:1d.2 USB Controller: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB
UHCI #3 (rev 03) (prog-if 00 [UHCI])
        Subsystem: IBM: Unknown device 0565
        Flags: bus master, medium devsel, latency 0, IRQ 18
        I/O ports at 1860 [size=32]

0000:00:1d.3 USB Controller: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB
UHCI #4 (rev 03) (prog-if 00 [UHCI])
        Subsystem: IBM: Unknown device 0565
        Flags: bus master, medium devsel, latency 0, IRQ 19
        I/O ports at 1880 [size=32]

0000:00:1d.7 USB Controller: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family)
USB2 EHCI Controller (rev 03) (prog-if 20 [EHCI])
        Subsystem: IBM: Unknown device 0566
        Flags: bus master, medium devsel, latency 0, IRQ 19
        Memory at a0040000 (32-bit, non-prefetchable) [size=1K]
        Capabilities: <available only to root>

0000:00:1e.0 PCI bridge: Intel Corp. 82801 PCI Bridge (rev d3) (prog-if 01
[Subtractive decode])
        Flags: bus master, fast devsel, latency 0
        Bus: primary=00, secondary=04, subordinate=07, sec-latency=64
        I/O behind bridge: 00003000-00006fff
        Memory behind bridge: a0200000-afffffff
        Prefetchable memory behind bridge: 00000000d0000000-00000000d7f00000
        Capabilities: <available only to root>

0000:00:1e.2 Multimedia audio controller: Intel Corp. 82801FB/FBM/FR/FW/FRW
(ICH6 Family) AC'97 Audio Controller (rev 03)
        Subsystem: IBM: Unknown device 0581
        Flags: bus master, medium devsel, latency 0, IRQ 22
        I/O ports at 1c00 [size=256]
        I/O ports at 18c0 [size=64]
        Memory at a0040800 (32-bit, non-prefetchable) [size=512]
        Memory at a0040400 (32-bit, non-prefetchable) [size=256]
        Capabilities: <available only to root>

0000:00:1e.3 Modem: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Modem
Controller (rev 03) (prog-if 00 [Generic])
        Subsystem: IBM: Unknown device 0576
        Flags: medium devsel, IRQ 23
        I/O ports at 2400 [size=256]
        I/O ports at 2000 [size=128]
        Capabilities: <available only to root>

0000:00:1f.0 ISA bridge: Intel Corp. 82801FBM (ICH6M) LPC Interface Bridge (rev 03)
        Subsystem: IBM: Unknown device 0568
        Flags: bus master, medium devsel, latency 0

0000:00:1f.2 IDE interface: Intel Corp. 82801FBM (ICH6M) SATA Controller (rev
03) (prog-if 80 [Master])
        Subsystem: IBM: Unknown device 056a
        Flags: bus master, 66MHz, medium devsel, latency 0
        I/O ports at <unassigned>
        I/O ports at <unassigned>
        I/O ports at <unassigned>
        I/O ports at <unassigned>
        I/O ports at 1810 [size=16]
        Capabilities: <available only to root>

0000:00:1f.3 SMBus: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) SMBus
Controller (rev 03)
        Subsystem: IBM: Unknown device 056b
        Flags: medium devsel, IRQ 11
        I/O ports at 18a0 [size=32]

0000:02:00.0 Ethernet controller: Broadcom Corporation: Unknown device 167d (rev 11)
        Subsystem: IBM: Unknown device 0577
        Flags: bus master, fast devsel, latency 0, IRQ 16
        Memory at a0100000 (64-bit, non-prefetchable) [size=64K]
        Capabilities: <available only to root>

0000:04:00.0 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev 8d)
        Subsystem: IBM: Unknown device 0555
        Flags: bus master, medium devsel, latency 168, IRQ 16
        Memory at a0200000 (32-bit, non-prefetchable) [size=4K]
        Bus: primary=04, secondary=05, subordinate=08, sec-latency=176
        Memory window 0: 20400000-207ff000 (prefetchable)
        Memory window 1: 20800000-20bff000
        I/O window 0: 00004000-000040ff
        I/O window 1: 00004400-000044ff
        16-bit legacy interface ports at 0001

0000:04:00.1 0805: Ricoh Co Ltd: Unknown device 0822 (rev 13)
        Subsystem: IBM: Unknown device 0556
        Flags: bus master, medium devsel, latency 64, IRQ 11
        Memory at a0201000 (32-bit, non-prefetchable) [size=256]
        Capabilities: <available only to root>

0000:04:02.0 Network controller: Intel Corp.: Unknown device 4224 (rev 05)
        Subsystem: Intel Corp.: Unknown device 1010
        Flags: bus master, medium devsel, latency 64, IRQ 21
        Memory at a0202000 (32-bit, non-prefetchable) [size=4K]
        Capabilities: <available only to root>

And here's an strace of the ifconfig program:

forgue at spica:~$ strace ifconfig
execve("/sbin/ifconfig", ["ifconfig"], [/* 30 vars */]) = 0
uname({sys="Linux", node="spica", ...}) = 0
brk(0)                                  = 0x8057000
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0xb7f3c000
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
old_mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0xb7f3a000
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=51700, ...}) = 0
old_mmap(NULL, 51700, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7f2d000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/tls/i686/cmov/libc.so.6", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\220O\1"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=1226096, ...}) = 0
old_mmap(NULL, 1236380, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) =
0xb7dff000
old_mmap(0xb7f27000, 16384, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x127000) = 0xb7f27000
old_mmap(0xb7f2b000, 7580, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7f2b000
close(3)                                = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0xb7dfe000
set_thread_area({entry_number:-1 -> 6, base_addr:0xb7dfe8e0, limit:1048575,
seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0,
useable:1}) = 0
munmap(0xb7f2d000, 51700)               = 0
brk(0)                                  = 0x8057000
brk(0x8078000)                          = 0x8078000
open("/usr/lib/locale/locale-archive", O_RDONLY|O_LARGEFILE) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=1181168, ...}) = 0
mmap2(NULL, 1181168, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7cdd000
close(3)                                = 0
uname({sys="Linux", node="spica", ...}) = 0
access("/proc/net", R_OK)               = 0
access("/proc/net/unix", R_OK)          = 0
socket(PF_FILE, SOCK_DGRAM, 0)          = 3
socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 4
access("/proc/net/if_inet6", R_OK)      = 0
socket(PF_INET6, SOCK_DGRAM, IPPROTO_IP) = 5
access("/proc/net/ax25", R_OK)          = -1 ENOENT (No such file or directory)
access("/proc/net/nr", R_OK)            = -1 ENOENT (No such file or directory)
access("/proc/net/rose", R_OK)          = -1 ENOENT (No such file or directory)
access("/proc/net/ipx", R_OK)           = -1 ENOENT (No such file or directory)
access("/proc/net/appletalk", R_OK)     = -1 ENOENT (No such file or directory)
access("/proc/sys/net/econet", R_OK)    = -1 ENOENT (No such file or directory)
access("/proc/sys/net/ash", R_OK)       = -1 ENOENT (No such file or directory)
access("/proc/net/x25", R_OK)           = -1 ENOENT (No such file or directory)
open("/proc/net/dev", O_RDONLY)         = 6
fstat64(6, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0xb7cdc000
read(6, "Inter-|   Receive               "..., 1024) = 692
read(6, "", 1024)                       = 0
close(6)                                = 0
munmap(0xb7cdc000, 4096)                = 0
open("/usr/share/locale/locale.alias", O_RDONLY) = 6
fstat64(6, {st_mode=S_IFREG|0644, st_size=2582, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0xb7cdc000
read(6, "# Locale name alias data base.\n#"..., 4096) = 2582
read(6, "", 4096)                       = 0
close(6)                                = 0
munmap(0xb7cdc000, 4096)                = 0
open("/usr/share/locale/en/LC_MESSAGES/net-tools.mo", O_RDONLY) = -1 ENOENT (No
such file or directory)
open("/usr/share/locale-langpack/en/LC_MESSAGES/net-tools.mo", O_RDONLY) = -1
ENOENT (No such file or directory)
ioctl(4, SIOCGIFCONF, {

Where it hangs forever.  I first saw this problem yesterday, but thought it was
something else.  When it kept happening this morning, I knew it was something on
my end.  I was able to reboot into single user/recovery mode and do apt-get
update/dist-upgrade and upgrade to the latest breezy, but it still happens.  

Here's a list of programs that I believe are also affected by this bug (so far):

sudo (can't strace it, needs to run setuid)
evolution (hangs on poll() connecting to a UNIX socket)
The network tools (ifconfig, netstat)

I filed this as kernel-package because I don't know where else it would go.

-- 
Configure bugmail: http://bugzilla.ubuntu.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.




More information about the kernel-bugs mailing list