Re: 3.2.x/drivers/staging/rtl8712 driver regression

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

 



Hi Robert,

I didn't understand totally what was going on.  It seems like there
were 2 problems.

1) There was a NULL dereference bug, which locked up the system and
   made the LEDs blink.

2) That somehow got fixed but the "wicd" wireless management program
   still didn't work.  You were able to fix this by forward porting
   the driver from 3.1 to 3.2.

It wasn't clear to me how you fixed the NULL deref.

It turns out that it's really easy to fix NULL derference bugs.
If you compiled the kernel with CONFIG_DEBUG_INFO=y you can run gdb
on the .ko file.  Here the instructions:
http://wiki.samba.org/index.php/LinuxCIFS_troubleshooting#Oopses

I think another option maybe is to use the `addr2line` with the RIP
value?
addr2line -e drivers/staging/rtl8712/r8712u.ko -i ffffffff8104f740

Once you know the line which crashed, it's normally easy for us to
debug.

regards,
dan carpenter

Attachment: signature.asc
Description: Digital signature

_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/devel

[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux