Re: Broadcom 43121 wlan issue

2015-10-04 Thread Himanshu Shekhar
thanks dude ! i upgraded my driver. But can you tell why some packages
break after updating to newer version and still debian stable version is
named so.
infact after updating java.. libreoffice4 failed and i had to install
libreoffice5 from jessie backports.
Is this normal or and issue?
Thanks for the help!

On Sun, Oct 4, 2015 at 3:35 PM, Eduard Bloch  wrote:

> Hallo,
> * Himanshu Shekhar [Sun, Oct 04 2015, 03:06:34PM]:
> > I have no idea of what has happened to my system. My sources.list is
> > attached along with make.log. If I need to downgrade my kernel, please
> > provide a fix.
> > Thanks for replying... I was waiting!
>
> Downgrade the kernel or upgrade the driver, your choice.
>
> https://packages.debian.org/sid/broadcom-sta-dkms
> https://packages.debian.org/sid/broadcom-sta-common
> https://packages.debian.org/sid/broadcom-sta-source
>
> Regards,
> Eduard.
>



-- 
Himanshu Shekhar
IIIT-Allahabad
IRM2015006


Re: Broadcom 43121 wlan issue

2015-10-04 Thread Himanshu Shekhar
I have no idea of what has happened to my system. My sources.list is
attached along with make.log. If I need to downgrade my kernel, please
provide a fix.
Thanks for replying... I was waiting!

I would appreciate any help!

On Sun, Oct 4, 2015 at 2:53 PM, Petter Adsen  wrote:

> On Sun, 4 Oct 2015 13:22:44 +0530
> Himanshu Shekhar  wrote:
>
> > I updated my system last night after which I was not able to use network
> on
> > my laptop. I tried to install ethernet driver as I had it locally but
> could
> > not make the wifi work.
> > Earlier the /lib/modules folder had 3.16* directory only, now I could see
> > some 4.1* alongside. Also, the driver in use was *wl* which was working
> > fine, but now I couldn't install wl. The installation reports are in the
> > attachments.
> > The first time I installed Debian 8.1, I had the same issue, traversed
> > Synaptic and installed broadcom-sta-dkms which fixed the issue.
>
> Your 'wl' issue is a red herring, that package is a mail client for
> Emacs, not a driver. broadcom-sta-dkms failed to build, if you read the
> final line of output it advises you on your next course of action:
>
> "Consult /var/lib/dkms/broadcom-sta/6.30.223.248/build/make.log for
> more information."
>
> My guess is that it has problems with the newer kernel, but without
> that file it's impossible to say why it failed to build. Another guess
> would be that you haven't installed the kernel headers, which are
> required to build that package.
>
> AFAICT a 4.1 kernel isn't (and shouldn't be, AIUI) in the Jessie repos,
> you might be better off running a supported one.
>
> Petter
>
> --
> "I'm ionized"
> "Are you sure?"
> "I'm positive."
>
>


-- 
Himanshu Shekhar
IIIT-Allahabad
IRM2015006
DKMS make.log for broadcom-sta-6.30.223.248 for kernel 4.1.0-0.bpo.2-amd64 (x86_64)
Sun Oct  4 12:46:39 IST 2015
/bin/sh: 1: [: Illegal number: 
/bin/sh: 1: [: Illegal number: 
Wireless Extension is the only possible API for this kernel version
Using Wireless Extension API
KBUILD_NOPEDANTIC=1 make -C /lib/modules/4.1.0-0.bpo.2-amd64/build M=`pwd`
make[1]: Entering directory '/usr/src/linux-headers-4.1.0-0.bpo.2-amd64'
CFG80211 API is prefered for this kernel version
Using CFG80211 API
Kernel architecture is X86_64
  LD  /var/lib/dkms/broadcom-sta/6.30.223.248/build/built-in.o
  CC [M]  /var/lib/dkms/broadcom-sta/6.30.223.248/build/src/shared/linux_osl.o
  CC [M]  /var/lib/dkms/broadcom-sta/6.30.223.248/build/src/wl/sys/wl_linux.o
  CC [M]  /var/lib/dkms/broadcom-sta/6.30.223.248/build/src/wl/sys/wl_iw.o
  CC [M]  /var/lib/dkms/broadcom-sta/6.30.223.248/build/src/wl/sys/wl_cfg80211_hybrid.o
/var/lib/dkms/broadcom-sta/6.30.223.248/build/src/wl/sys/wl_cfg80211_hybrid.c: In function ‘wl_cfg80211_get_key’:
/var/lib/dkms/broadcom-sta/6.30.223.248/build/src/wl/sys/wl_cfg80211_hybrid.c:1390:9: warning: passing argument 1 of ‘memcpy’ discards ‘const’ qualifier from pointer target type
  memcpy(params.key, key.data, params.key_len);
 ^
In file included from /usr/src/linux-headers-4.1.0-0.bpo.2-common/arch/x86/include/asm/string.h:4:0,
 from /usr/src/linux-headers-4.1.0-0.bpo.2-common/include/linux/string.h:17,
 from /usr/src/linux-headers-4.1.0-0.bpo.2-common/include/linux/bitmap.h:8,
 from /usr/src/linux-headers-4.1.0-0.bpo.2-common/include/linux/cpumask.h:11,
 from /usr/src/linux-headers-4.1.0-0.bpo.2-common/arch/x86/include/asm/cpumask.h:4,
 from /usr/src/linux-headers-4.1.0-0.bpo.2-common/arch/x86/include/asm/msr.h:10,
 from /usr/src/linux-headers-4.1.0-0.bpo.2-common/arch/x86/include/asm/processor.h:20,
 from /usr/src/linux-headers-4.1.0-0.bpo.2-common/arch/x86/include/asm/thread_info.h:49,
 from /usr/src/linux-headers-4.1.0-0.bpo.2-common/include/linux/thread_info.h:54,
 from /usr/src/linux-headers-4.1.0-0.bpo.2-common/arch/x86/include/asm/preempt.h:6,
 from /usr/src/linux-headers-4.1.0-0.bpo.2-common/include/linux/preempt.h:18,
 from /usr/src/linux-headers-4.1.0-0.bpo.2-common/include/linux/spinlock.h:50,
 from /usr/src/linux-headers-4.1.0-0.bpo.2-common/include/linux/seqlock.h:35,
 from /usr/src/linux-headers-4.1.0-0.bpo.2-common/include/linux/time.h:5,
 from /usr/src/linux-headers-4.1.0-0.bpo.2-common/include/linux/stat.h:18,
 from /usr/src/linux-headers-4.1.0-0.bpo.2-common/include/linux/module.h:10,
 from /var/lib/dkms/broadcom-sta/6.30.223.248/build/src/include/linuxver.h:40,
 from /var/lib/dkms/broadcom-sta/6.30.223.248/build/src/wl/sys/wl_cfg80211_hybrid.c:26:
/usr/src/linux-headers-4.1.0-0.bpo.2-common/arch/x86/include/asm/string_64.h:34:14: note: expected ‘void *’ but argument is of type ‘const u8 *’
 extern void *memcpy(void *to, const void *from, size_t len);
  ^

Re: Broadcom 43121 wlan issue

2015-10-04 Thread Himanshu Shekhar
Yup! got it. I attached my sources.list file in the very first message of
the thread. I would like to have suggestions on the same.
Also, I have installed few packages from tarballs, as my realtek r8101
ethernet driver, skype.
That's all!

On Sun, Oct 4, 2015 at 5:14 PM, Lisi Reisz  wrote:

> On Sunday 04 October 2015 11:39:55 Himanshu Shekhar wrote:
> > thanks dude ! i upgraded my driver. But can you tell why some packages
> > break after updating to newer version and still debian stable version is
> > named so.
> > infact after updating java.. libreoffice4 failed and i had to install
> > libreoffice5 from jessie backports.
> > Is this normal or and issue?
> > Thanks for the help!
>
> There is not enough detail here, but it is probably something to do with
> the
> fact that you have jessie backports in your sources list.  If you stick to
> Jessie, and only Jessie, things won't break after updating to a newer
> version.  In fact, things normally won't update to a newer version.
> Basically, Stabel only gets security updates.
>
> I personally have never had a problem with backports, but you don't say how
> you are using backpprts or how you have got them pinned.  And have you any
> packages installed from tarballs, or otherwise not in Debian's repos?
>
> You might want to sort out your security repos.
>
> Lisi
>
>


-- 
Himanshu Shekhar
IIIT-Allahabad
IRM2015006


Re: Broadcom 43121 wlan issue

2015-10-04 Thread Petter Adsen
On Sun, 4 Oct 2015 13:22:44 +0530
Himanshu Shekhar  wrote:

> I updated my system last night after which I was not able to use network on
> my laptop. I tried to install ethernet driver as I had it locally but could
> not make the wifi work.
> Earlier the /lib/modules folder had 3.16* directory only, now I could see
> some 4.1* alongside. Also, the driver in use was *wl* which was working
> fine, but now I couldn't install wl. The installation reports are in the
> attachments.
> The first time I installed Debian 8.1, I had the same issue, traversed
> Synaptic and installed broadcom-sta-dkms which fixed the issue.

Your 'wl' issue is a red herring, that package is a mail client for
Emacs, not a driver. broadcom-sta-dkms failed to build, if you read the
final line of output it advises you on your next course of action:

"Consult /var/lib/dkms/broadcom-sta/6.30.223.248/build/make.log for
more information."

My guess is that it has problems with the newer kernel, but without
that file it's impossible to say why it failed to build. Another guess
would be that you haven't installed the kernel headers, which are
required to build that package.

AFAICT a 4.1 kernel isn't (and shouldn't be, AIUI) in the Jessie repos,
you might be better off running a supported one.

Petter

-- 
"I'm ionized"
"Are you sure?"
"I'm positive."



Re: Broadcom 43121 wlan issue

2015-10-04 Thread Eduard Bloch
Hallo,
* Himanshu Shekhar [Sun, Oct 04 2015, 03:06:34PM]:
> I have no idea of what has happened to my system. My sources.list is
> attached along with make.log. If I need to downgrade my kernel, please
> provide a fix.
> Thanks for replying... I was waiting!

Downgrade the kernel or upgrade the driver, your choice.

https://packages.debian.org/sid/broadcom-sta-dkms
https://packages.debian.org/sid/broadcom-sta-common
https://packages.debian.org/sid/broadcom-sta-source

Regards,
Eduard.



Re: Broadcom 43121 wlan issue

2015-10-04 Thread Lisi Reisz
On Sunday 04 October 2015 11:39:55 Himanshu Shekhar wrote:
> thanks dude ! i upgraded my driver. But can you tell why some packages
> break after updating to newer version and still debian stable version is
> named so.
> infact after updating java.. libreoffice4 failed and i had to install
> libreoffice5 from jessie backports.
> Is this normal or and issue?
> Thanks for the help!

There is not enough detail here, but it is probably something to do with the 
fact that you have jessie backports in your sources list.  If you stick to 
Jessie, and only Jessie, things won't break after updating to a newer 
version.  In fact, things normally won't update to a newer version.  
Basically, Stabel only gets security updates.

I personally have never had a problem with backports, but you don't say how 
you are using backpprts or how you have got them pinned.  And have you any 
packages installed from tarballs, or otherwise not in Debian's repos?

You might want to sort out your security repos.

Lisi



Re: Broadcom 43121 wlan issue

2015-10-04 Thread Himanshu Shekhar
here's the sources.list file


On Sun, Oct 4, 2015 at 5:59 PM, Himanshu Shekhar 
wrote:

> Yup! got it. I attached my sources.list file in the very first message of
> the thread. I would like to have suggestions on the same.
> Also, I have installed few packages from tarballs, as my realtek r8101
> ethernet driver, skype.
> That's all!
>
> On Sun, Oct 4, 2015 at 5:14 PM, Lisi Reisz  wrote:
>
>> On Sunday 04 October 2015 11:39:55 Himanshu Shekhar wrote:
>> > thanks dude ! i upgraded my driver. But can you tell why some packages
>> > break after updating to newer version and still debian stable version is
>> > named so.
>> > infact after updating java.. libreoffice4 failed and i had to install
>> > libreoffice5 from jessie backports.
>> > Is this normal or and issue?
>> > Thanks for the help!
>>
>> There is not enough detail here, but it is probably something to do with
>> the
>> fact that you have jessie backports in your sources list.  If you stick to
>> Jessie, and only Jessie, things won't break after updating to a newer
>> version.  In fact, things normally won't update to a newer version.
>> Basically, Stabel only gets security updates.
>>
>> I personally have never had a problem with backports, but you don't say
>> how
>> you are using backpprts or how you have got them pinned.  And have you any
>> packages installed from tarballs, or otherwise not in Debian's repos?
>>
>> You might want to sort out your security repos.
>>
>> Lisi
>>
>>
>
>
> --
> Himanshu Shekhar
> IIIT-Allahabad
> IRM2015006
>



-- 
Himanshu Shekhar
IIIT-Allahabad
IRM2015006


sources.list
Description: Binary data


Re: Broadcom 43121 wlan issue

2015-10-04 Thread Eduard Bloch
Hallo,
* Himanshu Shekhar [Sun, Oct 04 2015, 04:09:55PM]:
> thanks dude ! i upgraded my driver. But can you tell why some packages
> break after updating to newer version and still debian stable version is
> named so.
> infact after updating java.. libreoffice4 failed and i had to install
> libreoffice5 from jessie backports.
> Is this normal or and issue?

This is not the whole truth. You DELIBERATELY installed a kernel from
backports, now you have to deal with consequences.

Regards,
Eduard.

-- 
Fällt der Pfarrer in den Mist, lacht der Bauer, bis er pißt.



Re: Broadcom 43121 wlan issue

2015-10-04 Thread Lisi Reisz
On Sunday 04 October 2015 13:29:32 Himanshu Shekhar wrote:
> Yup! got it. I attached my sources.list file in the very first message of
> the thread. I would like to have suggestions on the same.
Read:
https://wiki.debian.org/SourcesList

Then the following might be helpful - but beware, they are not official.  But 
neither is the mess you have at the moment!

(http://www.debianadmin.com/debian-sources-list-generator.html)
This looks great, but didn't work for me.

http://debgen.simplylinux.ch/
Out of date, but works fine if used carefully.

Here is my wheezy sources.list:
---
deb http://ftp.uk.debian.org/debian wheezy main contrib non-free
deb-src http://ftp.uk.debian.org/debian wheezy main contrib non-free

deb http://ftp.debian.org/debian/ wheezy-updates main contrib non-free
deb-src http://ftp.debian.org/debian/ wheezy-updates main contrib non-free

deb http://security.debian.org/ wheezy/updates main contrib non-free
deb-src http://security.debian.org/ wheezy/updates main contrib non-free

deb http://ftp.at.debian.org/debian wheezy-backports main contrib non-free

deb http://mozilla.debian.net/ wheezy-backports iceweasel-release

deb http://www.deb-multimedia.org wheezy main non-free


You need the first, third and fifth (having changed wheezy to jessie).  src is 
up to you.  Use anything else with caution and having researched the caveats.

Lisi

> Also, I have installed few packages from tarballs, as my realtek r8101
> ethernet driver, skype.
> That's all!
>
> On Sun, Oct 4, 2015 at 5:14 PM, Lisi Reisz  wrote:
> > On Sunday 04 October 2015 11:39:55 Himanshu Shekhar wrote:
> > > thanks dude ! i upgraded my driver. But can you tell why some packages
> > > break after updating to newer version and still debian stable version
> > > is named so.
> > > infact after updating java.. libreoffice4 failed and i had to install
> > > libreoffice5 from jessie backports.
> > > Is this normal or and issue?
> > > Thanks for the help!
> >
> > There is not enough detail here, but it is probably something to do with
> > the
> > fact that you have jessie backports in your sources list.  If you stick
> > to Jessie, and only Jessie, things won't break after updating to a newer
> > version.  In fact, things normally won't update to a newer version.
> > Basically, Stabel only gets security updates.
> >
> > I personally have never had a problem with backports, but you don't say
> > how you are using backpprts or how you have got them pinned.  And have
> > you any packages installed from tarballs, or otherwise not in Debian's
> > repos?
> >
> > You might want to sort out your security repos.
> >
> > Lisi



Re: Broadcom 43121 wlan issue

2015-10-04 Thread Himanshu Shekhar
apt-get upgrade possible upgraded openjdk 6 to openjdk7 (possibly because
backports are included in my sources, I don't know precisely), after which
libreoffice didn't start even from terminal.
After much guess work, I tried installing libreoffice5, which was available
in backports.
Now, libreoffice is working fine, without any issue.

Also, please clarify about *using backports safely*

On Sun, Oct 4, 2015 at 8:10 PM, Lisi Reisz  wrote:

> On Sunday 04 October 2015 11:39:55 Himanshu Shekhar wrote:
> > infact after updating java..
>
> How?  You need to give a lot more detail.
>
> > libreoffice4 failed and i had to install
> > libreoffice5 from jessie backports.
>
> Lisi
>
>


-- 
Himanshu Shekhar
IIIT-Allahabad
IRM2015006


Re: Broadcom 43121 wlan issue

2015-10-04 Thread Lisi Reisz
On Sunday 04 October 2015 15:46:36 Himanshu Shekhar wrote:
> apt-get upgrade possible upgraded openjdk 6 to openjdk7 (possibly because
> backports are included in my sources, I don't know precisely), after which
> libreoffice didn't start even from terminal.
> After much guess work, I tried installing libreoffice5, which was available
> in backports.
> Now, libreoffice is working fine, without any issue.
>
> Also, please clarify about *using backports safely*

http://backports.debian.org/Instructions/

Lisi
>
> On Sun, Oct 4, 2015 at 8:10 PM, Lisi Reisz  wrote:
> > On Sunday 04 October 2015 11:39:55 Himanshu Shekhar wrote:
> > > infact after updating java..
> >
> > How?  You need to give a lot more detail.
> >
> > > libreoffice4 failed and i had to install
> > > libreoffice5 from jessie backports.
> >
> > Lisi



Re: Broadcom 43121 wlan issue

2015-10-04 Thread Lisi Reisz
On Sunday 04 October 2015 11:39:55 Himanshu Shekhar wrote:
> infact after updating java..

How?  You need to give a lot more detail.

> libreoffice4 failed and i had to install 
> libreoffice5 from jessie backports.

Lisi



Re: Broadcom 43121 wlan issue

2015-10-04 Thread Stephen Allen
On Sun, Oct 04, 2015 at 11:23:29AM +0200, Petter Adsen wrote:
> 
> My guess is that it has problems with the newer kernel, but without
> that file it's impossible to say why it failed to build. Another guess
> would be that you haven't installed the kernel headers, which are
> required to build that package.
> 
> AFAICT a 4.1 kernel isn't (and shouldn't be, AIUI) in the Jessie repos,
> you might be better off running a supported one.

It's in Jessie backports.