Bug 7856 - (net b44) WOL problem
(net b44) WOL problem
Status: CLOSED CODE_FIX
Product: Drivers
Classification: Unclassified
Component: Network
i386 Linux
: P2 normal
Assigned To: drivers_network@kernel-bugs.osdl.org
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-01-21 04:25 UTC by bubulak
Modified: 2012-05-14 17:04 UTC (History)
5 users (show)

See Also:
Kernel Version: 2.6.19.2
Tree: Mainline
Regression: No


Attachments
kernel config (42.23 KB, text/plain)
2007-01-21 04:27 UTC, bubulak
Details
dmesg (17.65 KB, text/plain)
2007-01-21 04:28 UTC, bubulak
Details
lspci (1.62 KB, text/plain)
2007-01-21 04:28 UTC, bubulak
Details
lspci -v (5.72 KB, text/plain)
2007-01-21 04:29 UTC, bubulak
Details
syslog (2.56 KB, text/plain)
2007-01-21 04:30 UTC, bubulak
Details

Description bubulak 2007-01-21 04:25:45 UTC
Most recent kernel where this bug did *NOT* occur: 
Distribution: Slackware 11.0

Hardware Environment: 
00:00.0 Host bridge: Intel Corporation 82875P/E7210 Memory Controller Hub (rev 02)
00:01.0 PCI bridge: Intel Corporation 82875P Processor to AGP Controller (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI
Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI
Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI
Controller #3 (rev 02)
00:1d.3 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI
Controller #4 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB2 EHCI
Controller (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev c2)
00:1f.0 ISA bridge: Intel Corporation 82801EB/ER (ICH5/ICH5R) LPC Interface
Bridge (rev 02)
00:1f.1 IDE interface: Intel Corporation 82801EB/ER (ICH5/ICH5R) IDE Controller
(rev 02)
00:1f.2 IDE interface: Intel Corporation 82801EB (ICH5) SATA Controller (rev 02)
00:1f.3 SMBus: Intel Corporation 82801EB/ER (ICH5/ICH5R) SMBus Controller (rev 02)
00:1f.5 Multimedia audio controller: Intel Corporation 82801EB/ER (ICH5/ICH5R)
AC'97 Audio Controller (rev 02)
01:00.0 VGA compatible controller: nVidia Corporation NV40 [GeForce 6800 GT]
(rev a1)
02:01.0 Ethernet controller: Broadcom Corporation BCM4401 100Base-T (rev 01)
02:06.0 Multimedia video controller: Conexant CX23880/1/2/3 PCI Video and Audio
Decoder (rev 05)
02:07.0 Multimedia audio controller: Creative Labs SB Audigy (rev 04)
02:07.1 Input device controller: Creative Labs SB Audigy Game Port (rev 04)
02:07.2 FireWire (IEEE 1394): Creative Labs SB Audigy FireWire Port (rev 04)

02:01.0 Ethernet controller: Broadcom Corporation BCM4401 100Base-T (rev 01)
        Subsystem: EPoX Computer Co., Ltd. Unknown device 9012
        Flags: bus master, fast devsel, latency 32, IRQ 17
        Memory at fc004000 (32-bit, non-prefetchable) [size=8K]
        Capabilities: [40] Power Management version 2
Its OnBoard Network Card on MotherBoard EPOX 4pca3

Problem Description:
I just try setup Wake On Lan on my BCM4401 ... 
I have b44 compiled native in kernel ("NOT MODULE")
and after "ethtool -s eth0 wol g" and "halt" system crash whit error

Jan 21 12:51:55 vladko kernel: BUG: unable to handle kernel paging request at
virtual address 00f89158
Jan 21 12:51:55 vladko kernel:  printing eip:
Jan 21 12:51:55 vladko kernel: c0334c52
Jan 21 12:51:55 vladko kernel: *pde = 00000000
Jan 21 12:51:55 vladko kernel: Oops: 0000 [#1]
Jan 21 12:51:55 vladko kernel: PREEMPT SMP 
Jan 21 12:51:55 vladko kernel: Modules linked in: snd_seq_oss snd_seq_midi_event
snd_seq snd_seq_device snd_pcm_oss snd_mixer_oss w83627hf hwmon_vid i2c_isa
intel_agp i2c_i801 agpgart snd_intel8x0
Jan 21 12:51:55 vladko kernel: CPU:    0
Jan 21 12:51:55 vladko kernel: EIP:    0060:[<c0334c52>]    Tainted: P      VLI
Jan 21 12:51:55 vladko kernel: EFLAGS: 00010286   (2.6.19.2 #1)
Jan 21 12:51:55 vladko kernel: EIP is at b44_setup_wol+0xa9/0x116
Jan 21 12:51:55 vladko kernel: eax: 00000480   ebx: c1a42401   ecx: 00000010  
edx: 00f881c0
Jan 21 12:51:55 vladko kernel: esi: c1a42400   edi: 00001023   ebp: 00000000  
esp: f705be50
Jan 21 12:51:55 vladko kernel: ds: 007b   es: 007b   ss: 0068
Jan 21 12:51:55 vladko kernel: Process dhcpcd (pid: 2286, ti=f705a000
task=c1b91030 task.ti=f705a000)
Jan 21 12:51:55 vladko kernel: Stack: c1a42400 00000000 c0334704 c1a42000
c1a42000 c1a42000 c0334d51 c1a42400 
Jan 21 12:51:55 vladko kernel:        00000000 c1a42000 c1a42000 c0416f2d
c1a42000 00000009 c1a42000 00001002 
Jan 21 12:51:55 vladko kernel:        c041858c c1a42000 c1b91030 0000000c
00000000 00000001 ffffff9d f743ecc0 
Jan 21 12:51:55 vladko kernel: Call Trace:
Jan 21 12:51:55 vladko kernel:  [<c0334704>] b44_init_hw+0x55/0x13b
Jan 21 12:51:55 vladko kernel:  [<c0334d51>] b44_close+0x92/0xa1
Jan 21 12:51:55 vladko kernel:  [<c0416f2d>] dev_close+0x58/0x7b
Jan 21 12:51:55 vladko kernel:  [<c041858c>] dev_change_flags+0x50/0x10a
Jan 21 12:51:55 vladko kernel:  [<c04517e3>] devinet_ioctl+0x284/0x525
Jan 21 12:51:55 vladko kernel:  [<c045365b>] inet_ioctl+0x8e/0xb2
Jan 21 12:51:55 vladko kernel:  [<c040dc5b>] sock_ioctl+0x1b1/0x1d1
Jan 21 12:51:55 vladko kernel:  [<c016481f>] do_ioctl+0x33/0x79
Jan 21 12:51:55 vladko kernel:  [<c0164b16>] vfs_ioctl+0x19b/0x1a7
Jan 21 12:51:55 vladko kernel:  [<c0164b7d>] sys_ioctl+0x5b/0x76
Jan 21 12:51:55 vladko kernel:  [<c0102ccb>] syscall_call+0x7/0xb
Jan 21 12:51:55 vladko kernel:  =======================
Jan 21 12:51:55 vladko kernel: Code: 08 09 d0 8b 93 70 01 00 00 89 82 8c 00 00
00 8b 93 70 01 00 00 8b 02 0c c0 89 02 eb 08 89 1c 24 e8 48 fd ff ff 8b 93 70 01
00 00 <8b> 82 98 0f 00 00 0d 00 00 00 40 89 82 98 0f 00 00 8d 44 24 12 
Jan 21 12:51:55 vladko kernel: EIP: [<c0334c52>] b44_setup_wol+0xa9/0x116 SS:ESP
0068:f705be50

First i seen this problem on kernel version 2.6.18.1

Steps to reproduce:
compile b44 as not module
boot :)
ethtool -s eth0 wol g
halt


thanks folks
bubulak
Comment 1 bubulak 2007-01-21 04:27:21 UTC
Created attachment 10132 [details]
kernel config
Comment 2 bubulak 2007-01-21 04:28:06 UTC
Created attachment 10133 [details]
dmesg
Comment 3 bubulak 2007-01-21 04:28:56 UTC
Created attachment 10134 [details]
lspci
Comment 4 bubulak 2007-01-21 04:29:42 UTC
Created attachment 10135 [details]
lspci -v
Comment 5 bubulak 2007-01-21 04:30:32 UTC
Created attachment 10136 [details]
syslog
Comment 6 Francois Romieu 2007-01-22 14:18:50 UTC
Can you reproduce the problem if you boot in text mode and the nvidia module is
not loaded ? Please do a cold boot, simply unloading the module does not help.

-- 
Ueimor
Comment 7 bubulak 2007-01-23 08:17:19 UTC
No ... 
I treyd that and the result was same ... 
nvidia drivers have no efect on this problem ... 
Comment 8 Natalie Protasevich 2007-07-19 23:17:31 UTC
Any update on this problem?
Thanks.
Comment 9 bubulak 2007-07-19 23:25:08 UTC
no its same i test it on 2.6.20 and have same problem







Comment 10 Natalie Protasevich 2007-07-20 00:14:30 UTC
Bubulak,
Can you please provide the oops when you have no nvidia loaded? 
Comment 11 bubulak 2007-07-22 11:57:05 UTC
the oops is same with or without nviadia 
Comment 12 Andrew Morton 2007-07-24 13:17:08 UTC
bubulak, if this is still reproducible under 2.6.21 could you please
help us work out which code line is oopsing?

- Set CONFIG_B44=y
- Set CONFIG_DEBUG_INFO=y
- reproduce the oops
- note the "EIP" address
- Use gdb:

gdb vmlinux
(gdb) l *0xc0334c52

(where "0xc0334c52" gets replaced by the reasl EIP address for that kernel)

Please keep a copy of that vmlinux file too - additional work might
be needed on it.

Thanks.
Comment 13 bubulak 2007-07-27 07:23:58 UTC
i do maybe something bad ...

root@vladko:/boot# gdb vmlinuz-26216 
GNU gdb 6.5
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i486-slackware-linux"..."/boot/vmlinuz-26216": not in executable format: File format not recognized

(gdb) l 0xc030095d
No symbol table is loaded.  Use the "file" command.
-------------------------------------------------------------------------------
in kernel 2.6.21.6 is the same problem 
after ethtool -s eth0 wol g and halt 

Jul 27 16:09:11 vladko kernel: BUG: unable to handle kernel paging request at virtual address 00f89198
Jul 27 16:09:11 vladko kernel:  printing eip: 
Jul 27 16:09:11 vladko kernel: c03009d5
Jul 27 16:09:11 vladko kernel: *pde = 00000000
Jul 27 16:09:11 vladko kernel: Oops: 0000 [#1]
Jul 27 16:09:11 vladko kernel: PREEMPT SMP 
Jul 27 16:09:11 vladko kernel: Modules linked in: snd_seq_oss snd_seq_midi_event snd_seq snd_seq_device snd_pcm_oss snd_mixer_oss w83627hf hwmon_vid i2c_isa intel_agp agpgart i2c_i801 snd_intel8x0
Jul 27 16:09:11 vladko kernel: CPU:    0
Jul 27 16:09:11 vladko kernel: EIP:    0060:[<c03009d5>]    Not tainted VLI
Jul 27 16:09:11 vladko kernel: EFLAGS: 00010292   (2.6.21.6 #2) 
Jul 27 16:09:11 vladko kernel: EIP is at b44_setup_wol+0xa9/0xfb
Jul 27 16:09:11 vladko kernel: eax: 00000480   ebx: f7b02c81   ecx: f726deae   edx: 00f88200
Jul 27 16:09:11 vladko kernel: esi: f7b02c80   edi: 00001003   ebp: 00000000   esp: f726dea8
Jul 27 16:09:11 vladko kernel: ds: 007b   es: 007b   fs: 00d8  gs: 0033  ss: 0068
Jul 27 16:09:11 vladko kernel: Process ifconfig (pid: 3260, ti=f726c000 task=f783da50 task.ti=f726c000)
Jul 27 16:09:11 vladko kernel: Stack: 00000064 00000064 f7b02800 c0300aa3 f7b02800 00001042 c03cd461 f7b02800
Jul 27 16:09:11 vladko kernel:        c03ce8aa f6c3c580 f726df0d ffffff9d c1a63280 c0403027 00000000 00000000
Jul 27 16:09:11 vladko kernel:        f7b02800 c1a6328c bfa5ae40 00008914 08051042 0805200a bfa5ae78 0804ba32
Jul 27 16:09:11 vladko kernel: Call Trace:
Jul 27 16:09:11 vladko kernel:  [<c0300aa3>] b44_close+0x7c/0x88
Jul 27 16:09:11 vladko kernel:  [<c03cd461>] dev_close+0x48/0x61
Jul 27 16:09:11 vladko kernel:  [<c03ce8aa>] dev_change_flags+0x47/0xe6
Jul 27 16:09:11 vladko kernel:  [<c0403027>] devinet_ioctl+0x261/0x4c5
Jul 27 16:09:11 vladko kernel:  [<c0404be8>] inet_ioctl+0x70/0x8d
Jul 27 16:09:11 vladko kernel:  [<c03c4efc>] sock_ioctl+0x18a/0x1a6
Jul 27 16:09:11 vladko kernel:  [<c03c4d72>] sock_ioctl+0x0/0x1a6
Jul 27 16:09:11 vladko kernel:  [<c03c4d72>] sock_ioctl+0x0/0x1a6
Jul 27 16:09:11 vladko kernel:  [<c015b751>] do_ioctl+0x25/0x64
Jul 27 16:09:11 vladko kernel:  [<c015b9fd>] vfs_ioctl+0x187/0x195
Jul 27 16:09:11 vladko kernel:  [<c015ba56>] sys_ioctl+0x4b/0x65
Jul 27 16:09:11 vladko kernel:  [<c0102698>] syscall_call+0x7/0xb
Jul 27 16:09:11 vladko kernel:  [<c0450000>] svc_age_temp_sockets+0xfa/0x185
Jul 27 16:09:11 vladko kernel:  =======================
Jul 27 16:09:11 vladko kernel: Code: 8b 93 70 01 00 00 89 82 8c 00 00 00 8b 93 70 01 00 00 8b 02 0c c0 89 02 eb 07 89 d8 e8 9f fd ff ff 8b 93 70 01 00 00 8d 4c 24 06 <8b> 82 98 0f 00 00 0d 00 00 00 40 89 82 98 0f 00 00 8b 83 74 01
Jul 27 16:09:11 vladko kernel: EIP: [<c03009d5>] b44_setup_wol+0xa9/0xfb SS:ESP 0068:f726dea8
Jul 27 16:09:12 vladko dhcpcd[2377]: terminating on signal 1

i am little lame with debugger sorry :) 
Comment 14 Oswald Buddenhagen 2010-01-01 11:34:04 UTC
it seems likely that this was fixed by e0188829.

Note You need to log in before you can comment on or make changes to this bug.