Re: Memory allocation failed during fsck of large EXT4 filesystem

2021-07-05 Thread Thomas D. Dean

On 7/5/21 1:54 PM, Michael Stone wrote:

On Mon, Jul 05, 2021 at 12:53:39PM +0300, IL Ka wrote:

7TB seems like too much for one partition imho.
Consider splitting it into the parts


That's silly. It's 2021; 7TB isn't particularly large and there's no 
value in breaking things into multiple partitions for no reason.




Maybe to have the ability to restore or reinstall the system without 
bothering /home?




Re: How do I permanently disable unattended downloads of software/security updates?

2021-06-04 Thread Thomas D. Dean

On 6/3/21 11:15 PM, Stella Ashburne wrote:

Hi Thomas

Thank you for your help and time. I really appreciate it.


Sent: Friday, June 04, 2021 at 10:23 AM
From: "Thomas D. Dean" 
To: debian-user@lists.debian.org
Subject: Re: How do I permanently disable unattended downloads of 
software/security updates?

I have the same problem.


OK, but do you use Ubuntu or Debian or both?


I saw this in: https://askubuntu.com/questions/1038923

sudo systemctl disable apt-daily.service
sudo systemctl disable apt-daily.timer

sudo systemctl disable apt-daily-upgrade.timer
sudo systemctl disable apt-daily-upgrade.service


A poster named l0f...@tuta.io replied to me via this mailing list yesterday and 
below is what he wrote (verbatim):

"Cannot remember if you have Gnome installed but you should have a look at 
https://unix.stackexchange.com/a/594287, especially ALL the associated comments (click on 
"Show 7 more comments")."

When I did a *fresh* minimal install of Debian about two years ago, I didn't 
install the whole Gnome DE. Instead, I installed the following packages: xorg 
gnome-core gnome-tweak-tool synaptic file-roller gedit

A few days ago, after reading replies from some posters, I purged the package 
called unattended-upgrades. I don't know how and when it was installed in the 
first place. You see, about two years I chose the option Expert Install 
(without GUI) and during the installation process, I chose the option to not 
install updates automatically.

After reading what was written in the page 
(https://unix.stackexchange.com/a/594287), I disabled the package called 
PackageKit today. Only time will tell if said step works.

By the way, does Ubuntu use the full or stripped-down version of Gnome Desktop 
Environment?

*fresh* = not upgraded from Debian Stretch



I use Ubuntu.  I removed the ubuntu desktop and installed vanilla gnome. 
Google:

'Converting Ubuntu 20.04 LTS to Vanilla Gnome3'

After I disabled timers, I rebooted.  apt-update && apt-upgrade.  After 
that I had one popup  that said I had upgrades pending.  The apt timer 
was set to expire in 3 hours...




Re: How do I permanently disable unattended downloads of software/security updates?

2021-06-03 Thread Thomas D. Dean

On 6/3/21 5:15 PM, Stella Ashburne wrote:

Hi Greg


Sent: Thursday, June 03, 2021 at 9:55 AM
From: "Greg Wooledge" 
To: debian-user@lists.debian.org
Subject: Re: How do I permanently disable unattended downloads of 
software/security updates?


I gave some alternatives that will reveal more information.  Replies to
my reply elaborated further still.


Output of systemctl list-timers | grep apt

Thu  2021-06-03 20:29:30 GMT  9h leftThu 2021-06-03 09:18:00 GMT  1h 17min 
ago apt-daily.timer  apt-daily.service
Fri  2021-06-04 06:51:16 GMT  20h left   Thu 2021-06-03 09:18:00 GMT  1h 17min 
ago apt-daily-upgrade.timer  apt-daily-upgrade.service



I have the same problem.

I saw this in: https://askubuntu.com/questions/1038923

sudo systemctl disable apt-daily.service
sudo systemctl disable apt-daily.timer

sudo systemctl disable apt-daily-upgrade.timer
sudo systemctl disable apt-daily-upgrade.service



Re: hp 3762

2019-10-12 Thread Thomas D. Dean

On 10/12/19 8:34 AM, steef wrote:

Hi folks,

my pixma 280 canonprinter gave it up after years, so I need another.

Is HPDeskjet 3762 a good (simple) replacement? Is somebody out there who 
has some experience with HP-printers??


Thank you and a good day to you all,

Steef

groningen, holland

ps i am using buster 10.1




Check Cups.  I have an HP Officejet Pro 8620 that works fine with Cups.

Tom Dean



Re: Suspicious post [was: Problème d'installation]

2019-09-03 Thread Thomas D. Dean

On 9/3/19 1:55 PM, Reco wrote:

Hi.

On Tue, Sep 03, 2019 at 09:18:43AM +0200, to...@tuxteam.de wrote:

On Mon, Sep 02, 2019 at 11:50:12PM +0200, Siard wrote:

[...]


Suspicious post, nevertheless.  Strange e-mail address, strange name,
and... the .tar.xz file appears to contain an executable??


Yikes. You're right:

   cv2019s: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV) [...]

So kids, don't double-click on that (unless your architecture is
different from x86-64 and you haven't installed binfmt-support,
that is ;-)

I haven't put much time into it, but running "strings" on it suggests
that it's trying to do strange stuff:


This picked my interest, so I ran a decompiler on a thing.
Seems harmless enough - it downloads Debian libc.deb, prints OK and
tries to install it via dpkg.

Reco



Where does it download libc from?  You said Debian, but, does that mean 
from an official site?


Tom Dean



Re: Can't install Debian - USB keyboard doesn't turn on until Windows loads

2014-06-28 Thread Thomas D. Dean

On 06/27/14 22:11, Kitty Cat wrote:

Yes. I have previously searched and found such things like this:


Bios may access the keyboard without turning on any leds.

Look at

http://www.computerhope.com/issues/ch000192.htm

Turn on power to the computer.  As soon as you do this, start pressing 
the F1 key, like tap-tap-tap... and continue until you see something on 
the monitor.


If you get to windows, shut down and try again with the F2 key.

One of the keys in the  sequence should do it.

Tom Dean


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: https://lists.debian.org/53ae6e15.7030...@wavecable.com



Re: Can't install Debian - USB keyboard doesn't turn on until Windows loads

2014-06-28 Thread Thomas D. Dean
When you try to access BIOS from thekeyboard, make sure the keyboard is 
connected directly to the computer, not through a hub.


Tom Dean


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: https://lists.debian.org/53ae6ee8.5000...@wavecable.com



Re: Can't install Debian - USB keyboard doesn't turn on until Windows loads

2014-06-28 Thread Thomas D. Dean

There is sometimes a very short window to access the BIOS.

On my (different) system, as soon as I power up, I start tapping the F2 
key, about 2 times per second.  After several seconds, I get into BIOS.


There may be some exact moment to press F2 one time, but, I have not 
found it.


I can not hold the F2 down because BIOS will determine there is a 
keyboard problem, I think.  I have not done that recently.


Maybe you need to clear the BIOS settings?  I have never had to do that.

Tom Dean


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: https://lists.debian.org/53af0203.1060...@wavecable.com



Re: USB 3.0 support

2014-06-27 Thread Thomas D. Dean

On 06/27/14 14:47, Gary Dale wrote:

This may not be revelant, but,

I had a problem with USB 3.0 devices under Ubuntu.  I traced that to a 
linux USB bug.


I think I still see artifacts of USB problems in both Ubuntu and Debian.

[Bug 1151622] Re: 050d:0237 [ASUS P9X79 PRO] The usb driver appears to fail

on launchpad.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: https://lists.debian.org/53ae35ba.60...@wavecable.com



Re: ESC[4m does not produce underline

2013-03-04 Thread Thomas D. Dean

On 03/04/13 10:12, Doug wrote:

On 03/04/2013 11:59 AM, Chris Davies wrote:

Thomas D. Dean tomd...@speakeasy.org wrote:

The ANSI standard lists ESC[4m as the code to produce an underline

export TERM=ansi80x25
printf \033[4masdfasdfasdf

produces green text, not underline text as stated in the standard.

Please can you try this (before you do an export TERM):

 tput smul; echo perhaps this is underlined; tput rmul

This uses the proper characteristics for the terminal you've declared
(which may - or may not - be ESC [ 4m).

Chris



I've been looking at this thread for a while, and decided to try
the tput stuff, and it works on the Konsole-terminal in pclos.
Just in case anyone cares.

--doug



I tried so many things, the terminal is tired!

tput...   does the same as ESC[4m...

Also, ncurses A_UNDERLILNE does the same

Changes color to blue

Ansi says exc[xxxm should change the color to blue if I use xxx=34
and exc[34;1m bold blue.

This is a color display attached to a Raspberry Pi.  If I startx, I can 
produce underlined text with printf \033[4This is underlined\033[0m


But, this is a low powered CPU and I want a form on the screen.
ncurses will give me most of what I want.

Tom Dean


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/51350927.9010...@speakeasy.org



ESC[4m does not produce underline

2013-03-01 Thread Thomas D. Dean

The ANSI standard lists ESC[4m as the code to produce an underline

 export TERM=ansi80x25
 printf \033[4masdfasdfasdf

produces green text, not underline text as stated in the standard.

If I put the same in c code, it works

#include stdio.h
int main() {
fputs(\033[4masdfasdf,stdout);
return 0;
}

I get underlined text.

Why?

Tom Dean


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/51310305.1000...@speakeasy.org



Re: ESC[4m does not produce underline OOPS

2013-03-01 Thread Thomas D. Dean

On 03/01/13 11:35, Thomas D. Dean wrote:

The ANSI standard lists ESC[4m as the code to produce an underline

  export TERM=ansi80x25
  printf \033[4masdfasdfasdf

produces green text, not underline text as stated in the standard.

If I put the same in c code, it works

#include stdio.h
int main() {
fputs(\033[4masdfasdf,stdout);
return 0;
}

I get underlined text.



I ran the C example in an xterm on Ubuntu!

The question remains.

Why does this produce color rather than underlined text?

The standard says ESC[32m should produce green text and ESC[4m should 
produce underlined text.


Tom Dean


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/513105a2.8000...@speakeasy.org



Re: ESC[4m does not produce underline OOPS

2013-03-01 Thread Thomas D. Dean

On 03/01/13 16:56, Glenn English wrote:

The linux console is a HDMI display attached to a RaspberryPi.

I changed to ncurses5.  Looks like the display does not support underline.

Thanks,

Tom Dean


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/513174f0.6030...@speakeasy.org



Re: Moving from a proprietary OS - unnecessarily inful experience -- was [Re: I wish to advocate linux]

2013-02-28 Thread Thomas D. Dean

On 02/28/13 11:31, Richard Owlett wrote:

Lisi Reisz wrote:

On Thursday 28 February 2013 16:01:03 Richard Owlett wrote:

  as a senior citizen moving from Windows(tm) to
Debian(tm?),


Why is your seniority relevant?



Just trying to convey that I've enough real-world experience  to have a
valid point of reference without heavy handily touting that my intro to
computers was when the common input device was an 026 and core memory
involved literal iron. I've been chided before ;)




112737 deposit??


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/512fc3b2.8070...@speakeasy.org



Re: Moving from a proprietary OS - unnecessarily inful experience -- was [Re: I wish to advocate linux]

2013-02-28 Thread Thomas D. Dean

On 02/28/13 13:09, Miles Fidelman wrote:



On 02/28/13 11:31, Richard Owlett wrote:

Lisi Reisz wrote:

On Thursday 28 February 2013 16:01:03 Richard Owlett wrote:

  as a senior citizen moving from Windows(tm) to
Debian(tm?),


Why is your seniority relevant?



Just trying to convey that I've enough real-world experience  to have a
valid point of reference without heavy handily touting that my intro to
computers was when the common input device was an 026 and core memory
involved literal iron. I've been chided before ;)


Pardon me for asking, but what's an 026?

I go pretty far back myself, to the days of front panel toggle switches,
paper tape, and ASR33 teletypes (and Frieden Flexowriter's for that
matter) - but 026 is a new one on me.

Miles




KSR Model 26?


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/512fca52.1070...@speakeasy.org



Re: Commands in /etc/rc.local Fail

2013-02-24 Thread Thomas D. Dean

On 02/23/13 23:29, Roman V.Leon. wrote:

On 24.02.2013 11:19, Thomas D. Dean wrote:

On 02/23/13 23:12, Roman V.Leon. wrote:

On 23.02.2013 13:42, Thomas D. Dean wrote:

On boot, wlan0 fails to come up. After login,
 sudo ifup wlan0
works.

 uname -a
Linux zd7000 2.6.32-5-686 #1 SMP Sun Sep 23 09:49:36 UTC 2012 i686
GNU/Linux

 cat /etc/rc.local
/sbin/modprobe -r b43
/sbin/modprobe b43
/sbin/ifup wlan0
exit 0

But, the b43-pci-bridge driver is still in use.

Why do these commands not work?

 lspci -vnn
snip
02:03.0 Network controller [0280]: Broadcom Corporation BCM4306
802.11b/g Wireless LAN Controller [14e4:4320] (rev 03)
Subsystem: Hewlett-Packard Company Broadcom 802.11b/g WLAN [103c:12f4]
Flags: bus master, fast devsel, latency 32, IRQ 21
Memory at d2004000 (32-bit, non-prefetchable) [size=8K]
Kernel driver in use: b43-pci-bridge

After boot, wlan0 is not up.

However, from the command line,
 sudo ifup wlan0
 sudo ifconfig
snip
wlan0 Link encap:Ethernet HWaddr 00:90:4b:52:82:8a
inet addr:192.168.2.10 Bcast:192.168.2.255 \
Mask:255.255.255.0
inet6 addr: fe80::290:4bff:fe52:828a/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:505 errors:0 dropped:0 overruns:0 frame:0
TX packets:239 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:54845 (53.5 KiB) TX bytes:67723 (66.1 KiB)

and, networking works.

I enabled verbose in /etc/init.d/rc.local and see the proper message on
the console.
... Running local boot scripts (/etc/rc.local)
followed by lots of ioctl[SIOC...] messages

And, there are lots of failure messages in /var/log/kern.log

Feb 23 01:07:16 zd7000 kernel: [ 10.219719] b43: disagrees about
version
of symbol ssb_device_is_enabled
etc.

at Feb 23 01:30:40 unloaded b43-pci-bridge and then loaded b43
 sudo modprobe -r b43
and, the b43-pci-bridge driver is gone
 sudo modprobe b43
 sudo ifup wlan0

and, there are no error messages in /var/log/kern.log and networking
works.

 sudo tail -40 /var/log/kern.log
Feb 23 01:07:37 zd7000 kernel: [ 37.591944] synaptics: using relaxed
packet validation
Feb 23 01:08:22 zd7000 kernel: [ 83.220024] b43-phy0: dc775de4
Feb 23 01:08:22 zd7000 kernel: [ 83.285726] ADDRCONF(NETDEV_UP): wlan0:
link is not ready
Feb 23 01:08:25 zd7000 kernel: [ 85.524678] wlan0: authenticate with
08:86:3b:d6:f5:c8
Feb 23 01:08:25 zd7000 kernel: [ 85.537165] wlan0: send auth to
08:86:3b:d6:f5:c8 (try 1/3)
Feb 23 01:08:25 zd7000 kernel: [ 85.538698] wlan0: authenticated
Feb 23 01:08:25 zd7000 kernel: [ 85.541025] wlan0: associate with
08:86:3b:d6:f5:c8 (try 1/3)
Feb 23 01:08:25 zd7000 kernel: [ 85.543648] wlan0: RX AssocResp from
08:86:3b:d6:f5:c8 (capab=0x411 status=0 aid=2)
Feb 23 01:08:25 zd7000 kernel: [ 85.544215] wlan0: associated
Feb 23 01:08:25 zd7000 kernel: [ 85.544267] ADDRCONF(NETDEV_CHANGE):
wlan0: link becomes ready
Feb 23 01:08:25 zd7000 kernel: [ 85.886507] padlock: VIA PadLock not
detected.
Feb 23 01:08:26 zd7000 kernel: [ 86.426030] wlan0: IPv6 duplicate
address fe80::290:4bff:fe52:828a detected!
Feb 23 01:30:27 zd7000 kernel: [ 1407.875138] wlan0: deauthenticating
from 08:86:3b:d6:f5:c8 by local choice (reason=3)
Feb 23 01:30:27 zd7000 kernel: [ 1407.909054] cfg80211: Calling CRDA
for
country: TW
Feb 23 01:30:40 zd7000 kernel: [ 1420.841198] b43-pci-bridge
:02:03.0: PCI INT A disabled
Feb 23 01:30:51 zd7000 kernel: [ 1431.655150] Compat-drivers backport
release: compat-drivers-v3.7.6-1
Feb 23 01:30:51 zd7000 kernel: [ 1431.655156] Backport based on
linux.git v3.7.6
Feb 23 01:30:51 zd7000 kernel: [ 1431.655159] compat.git: linux.git
Feb 23 01:30:51 zd7000 kernel: [ 1431.927850] b43-pci-bridge
:02:03.0: PCI INT A - GSI 21 (level, low) - IRQ 21
Feb 23 01:30:51 zd7000 kernel: [ 1431.927910] ssb: Found chip with id
0x4306, rev 0x03 and package 0x00
Feb 23 01:30:51 zd7000 kernel: [ 1431.927919] ssb: Core 0 found:
ChipCommon (cc 0x800, rev 0x04, vendor 0x4243)
Feb 23 01:30:51 zd7000 kernel: [ 1431.927930] ssb: Core 1 found: IEEE
802.11 (cc 0x812, rev 0x05, vendor 0x4243)
Feb 23 01:30:51 zd7000 kernel: [ 1431.927940] ssb: Core 2 found: PCMCIA
(cc 0x80D, rev 0x02, vendor 0x4243)
Feb 23 01:30:51 zd7000 kernel: [ 1431.927949] ssb: Core 3 found: V90
(cc
0x807, rev 0x02, vendor 0x4243)
Feb 23 01:30:51 zd7000 kernel: [ 1431.927959] ssb: Core 4 found: PCI
(cc
0x804, rev 0x09, vendor 0x4243)
Feb 23 01:30:51 zd7000 kernel: [ 1431.931928] ssb: Sonics Silicon
Backplane found on PCI device :02:03.0
Feb 23 01:30:51 zd7000 kernel: [ 1431.960576] cfg80211: Calling CRDA to
update world regulatory domain
Feb 23 01:30:51 zd7000 kernel: [ 1431.999205] b43-phy0: dc4b9ea4
Feb 23 01:30:51 zd7000 kernel: [ 1432.021018] b43-phy0: dc4b9e50
Feb 23 01:30:51 zd7000 kernel: [ 1432.045117] Broadcom 43xx driver
loaded [ Features: PMNLS ]
Feb 23 01:30:51 zd7000 kernel: [ 1432.059967] ieee80211 phy0: Selected
rate control algorithm 'minstrel_ht'
Feb 23 01:30:51 zd7000 kernel: [ 1432.061916] Registered led device:
b43-phy0::tx
Feb 23 01:30:51

Re: Commands in /etc/rc.local Fail

2013-02-24 Thread Thomas D. Dean

On 02/24/13 00:23, Thomas D. Dean wrote:

After more investigation, it appears that some time is needed between 
loading the driver and ifup.


# ifdown wlan0  modprobe -v -r b43  modprobe -v b43  ifup wlan0

fails.

# ifdown wlan0  modprobe -v -r b43  modprobe -v b43  sleep 1  
ifup wlan0


works.

Tom Dean


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/5129d655.6060...@speakeasy.org



Re: Commands in /etc/rc.local Fail SOLVED

2013-02-24 Thread Thomas D. Dean

On 02/24/13 00:59, Thomas D. Dean wrote:

On 02/24/13 00:23, Thomas D. Dean wrote:



sudo update-initramfs -u

Fixed the problem.

Tom Dean



--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/5129d853.5040...@speakeasy.org



Re: Commands in /etc/rc.local Fail

2013-02-24 Thread Thomas D. Dean

On 02/24/13 01:10, Roman V.Leon. wrote:

On 24.02.2013 12:59, Thomas D. Dean wrote:

On 02/24/13 00:23, Thomas D. Dean wrote:

After more investigation, it appears that some time is needed between
loading the driver and ifup.

# ifdown wlan0  modprobe -v -r b43  modprobe -v b43  ifup wlan0

fails.

# ifdown wlan0  modprobe -v -r b43  modprobe -v b43  sleep 1 
ifup wlan0

works.

Tom Dean



Right, but i cannot understand why the module is still loading if you
added it in your blacklists, didn't you forget to rebuild your initrd ?


My problem was wlan0 not up after boot.

blacklisting the module did not fix this problem, it just made it 
necessary to manually bring up wlan0.


Thanks,
Tom Dean


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/5129d9e9.4050...@speakeasy.org



Cross Compile X86_64 host arm_32 target

2013-02-24 Thread Thomas D. Dean

Host uname -a
Linux P9X79 3.2.0-38-generic #60-Ubuntu SMP Wed Feb 13 13:22:43 UTC 2013 
x86_64 x86_64 x86_64 GNU/Linux


Target uname -a
Linux raspberrypi 3.2.27+ #250 PREEMPT Thu Oct 18 19:03:02 BST 2012 
armv6l GNU/Linux


I installed
Host sudo apt-get install gcc-4.6-arm-linux-gnueabi
Host arm-linux-gnueabi-gcc-4.6 -march=armv6 hello.c -o hello
Host file hello
hello: ELF 32-bit LSB executable, ARM, version 1 (SYSV), dynamically 
linked (uses shared libs), for GNU/Linux 2.6.31, 
BuildID[sha1]=0xc5b264ec41508eb93e511cbc7d03b05f20a28d3e, not stripped


Target gcc --version
gcc (Debian 4.6.3-12+rpi1) 4.6.3
Target gcc hello.c -o hello
Target  file hello
hello: ELF 32-bit LSB executable, ARM, version 1 (SYSV), dynamically 
linked (uses shared libs), for GNU/Linux 2.6.26, 
BuildID[sha1]=0xa4c1a3f0a13668d2bc0c11f0f70e55eb00d2215e, not stripped


If I build a static executable on host,
Host arm-linux-gnueabi-gcc-4.6 -v -march=armv6 -static hello.c -o hello
Using built-in specs.
COLLECT_GCC=arm-linux-gnueabi-gcc-4.6
COLLECT_LTO_WRAPPER=/usr/lib/gcc/arm-linux-gnueabi/4.6/lto-wrapper
Target: arm-linux-gnueabi
Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 
4.6.3-1ubuntu5' --with-bugurl=file:///usr/share/doc/gcc-4.6/README.Bugs 
--enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr 
--program-suffix=-4.6 --enable-shared --enable-linker-build-id 
--with-system-zlib --libexecdir=/usr/lib --without-included-gettext 
--enable-threads=posix 
--with-gxx-include-dir=/usr/arm-linux-gnueabi/include/c++/4.6.3 
--libdir=/usr/lib --enable-nls --enable-clocale=gnu 
--enable-libstdcxx-debug --enable-libstdcxx-time=yes 
--enable-gnu-unique-object --enable-plugin --enable-objc-gc 
--enable-multilib --disable-sjlj-exceptions --with-arch=armv7-a 
--with-float=softfp --with-fpu=vfpv3-d16 --with-mode=thumb 
--disable-werror --enable-checking=release --build=x86_64-linux-gnu 
--host=x86_64-linux-gnu --target=arm-linux-gnueabi 
--program-prefix=arm-linux-gnueabi- 
--includedir=/usr/arm-linux-gnueabi/include 
--with-headers=/usr/arm-linux-gnueabi/include 
--with-libs=/usr/arm-linux-gnueabi/lib

Thread model: posix
gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5)
COLLECT_GCC_OPTIONS='-v' '-march=armv6' '-static' '-o' 'hello' 
'-mfloat-abi=softfp' '-mfpu=vfpv3-d16' '-mthumb'
 /usr/lib/gcc/arm-linux-gnueabi/4.6/cc1 -quiet -v -imultilib . 
-imultiarch arm-linux-gnueabi hello.c -quiet -dumpbase hello.c 
-march=armv6 -mfloat-abi=softfp -mfpu=vfpv3-d16 -mthumb -auxbase hello 
-version -fstack-protector -o /tmp//cc033goN.s

GNU C (Ubuntu/Linaro 4.6.3-1ubuntu5) version 4.6.3 (arm-linux-gnueabi)
compiled by GNU C version 4.6.3, GMP version 5.0.2, MPFR 
version 3.1.0-p3, MPC version 0.9

warning: GMP header version 5.0.2 differs from library version 5.0.5.
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
ignoring duplicate directory 
/usr/lib/gcc/arm-linux-gnueabi/4.6/../../../../arm-linux-gnueabi/include

ignoring nonexistent directory /usr/include/arm-linux-gnueabi
#include ... search starts here:
#include ... search starts here:
 /usr/lib/gcc/arm-linux-gnueabi/4.6/include
 /usr/lib/gcc/arm-linux-gnueabi/4.6/include-fixed
 /usr/arm-linux-gnueabi/include
 /usr/include
End of search list.
GNU C (Ubuntu/Linaro 4.6.3-1ubuntu5) version 4.6.3 (arm-linux-gnueabi)
compiled by GNU C version 4.6.3, GMP version 5.0.2, MPFR 
version 3.1.0-p3, MPC version 0.9

warning: GMP header version 5.0.2 differs from library version 5.0.5.
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: c2a3eee802c1f4bc82a4d015bd8c8d6f
COLLECT_GCC_OPTIONS='-v' '-march=armv6' '-static' '-o' 'hello' 
'-mfloat-abi=softfp' '-mfpu=vfpv3-d16' '-mthumb'


/usr/lib/gcc/arm-linux-gnueabi/4.6/../../../../arm-linux-gnueabi/bin/as 
-march=armv6 -mfloat-abi=softfp -mfpu=vfpv3-d16 -meabi=5 -o 
/tmp//cct7ZQLo.o /tmp//cc033goN.s

COMPILER_PATH=/usr/lib/gcc/arm-linux-gnueabi/4.6/:/usr/lib/gcc/arm-linux-gnueabi/4.6/:/usr/lib/gcc/arm-linux-gnueabi/:/usr/lib/gcc/arm-linux-gnueabi/4.6/:/usr/lib/gcc/arm-linux-gnueabi/:/usr/lib/gcc/arm-linux-gnueabi/4.6/../../../../arm-linux-gnueabi/bin/
LIBRARY_PATH=/usr/lib/gcc/arm-linux-gnueabi/4.6/:/usr/lib/gcc/arm-linux-gnueabi/4.6/../../../../arm-linux-gnueabi/lib/../lib/:/usr/lib/gcc/arm-linux-gnueabi/4.6/../../../../arm-linux-gnueabi/lib/
COLLECT_GCC_OPTIONS='-v' '-march=armv6' '-static' '-o' 'hello' 
'-mfloat-abi=softfp' '-mfpu=vfpv3-d16' '-mthumb'
 /usr/lib/gcc/arm-linux-gnueabi/4.6/collect2 --build-id --no-add-needed 
--as-needed -Bstatic -dynamic-linker /lib/ld-linux.so.3 -X 
--hash-style=gnu -m armelf_linux_eabi -z relro -o hello 
/usr/lib/gcc/arm-linux-gnueabi/4.6/../../../../arm-linux-gnueabi/lib/../lib/crt1.o 
/usr/lib/gcc/arm-linux-gnueabi/4.6/../../../../arm-linux-gnueabi/lib/../lib/crti.o 
/usr/lib/gcc/arm-linux-gnueabi/4.6/crtbeginT.o 
-L/usr/lib/gcc/arm-linux-gnueabi/4.6 

Commands in /etc/rc.local Fail

2013-02-23 Thread Thomas D. Dean

On boot, wlan0 fails to come up.  After login,
 sudo ifup wlan0
works.

 uname -a
Linux zd7000 2.6.32-5-686 #1 SMP Sun Sep 23 09:49:36 UTC 2012 i686 GNU/Linux

 cat  /etc/rc.local
/sbin/modprobe -r b43
/sbin/modprobe b43
/sbin/ifup wlan0
exit 0

But, the b43-pci-bridge driver is still in use.

Why do these commands not work?

 lspci -vnn
snip
02:03.0 Network controller [0280]: Broadcom Corporation BCM4306 
802.11b/g Wireless LAN Controller [14e4:4320] (rev 03)
Subsystem: Hewlett-Packard Company Broadcom 802.11b/g WLAN 
[103c:12f4]

Flags: bus master, fast devsel, latency 32, IRQ 21
Memory at d2004000 (32-bit, non-prefetchable) [size=8K]
Kernel driver in use: b43-pci-bridge

After boot, wlan0 is not up.

However, from the command line,
 sudo ifup wlan0
 sudo ifconfig
snip
wlan0 Link encap:Ethernet  HWaddr 00:90:4b:52:82:8a
  inet addr:192.168.2.10  Bcast:192.168.2.255  \
  Mask:255.255.255.0
  inet6 addr: fe80::290:4bff:fe52:828a/64 Scope:Link
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:505 errors:0 dropped:0 overruns:0 frame:0
  TX packets:239 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:1000
  RX bytes:54845 (53.5 KiB)  TX bytes:67723 (66.1 KiB)

and, networking works.

I enabled verbose in /etc/init.d/rc.local and see the proper message on 
the console.

... Running local boot scripts (/etc/rc.local)
followed by lots of ioctl[SIOC...] messages

And, there are lots of failure messages in /var/log/kern.log

Feb 23 01:07:16 zd7000 kernel: [   10.219719] b43: disagrees about 
version of symbol ssb_device_is_enabled

etc.

at Feb 23 01:30:40 unloaded b43-pci-bridge and then loaded b43
 sudo modprobe -r b43
and, the b43-pci-bridge driver is gone
 sudo modprobe b43
 sudo ifup wlan0

and, there are no error messages in /var/log/kern.log and networking works.

 sudo tail -40 /var/log/kern.log
Feb 23 01:07:37 zd7000 kernel: [   37.591944] synaptics: using relaxed 
packet validation

Feb 23 01:08:22 zd7000 kernel: [   83.220024] b43-phy0: dc775de4
Feb 23 01:08:22 zd7000 kernel: [   83.285726] ADDRCONF(NETDEV_UP): 
wlan0: link is not ready
Feb 23 01:08:25 zd7000 kernel: [   85.524678] wlan0: authenticate with 
08:86:3b:d6:f5:c8
Feb 23 01:08:25 zd7000 kernel: [   85.537165] wlan0: send auth to 
08:86:3b:d6:f5:c8 (try 1/3)

Feb 23 01:08:25 zd7000 kernel: [   85.538698] wlan0: authenticated
Feb 23 01:08:25 zd7000 kernel: [   85.541025] wlan0: associate with 
08:86:3b:d6:f5:c8 (try 1/3)
Feb 23 01:08:25 zd7000 kernel: [   85.543648] wlan0: RX AssocResp from 
08:86:3b:d6:f5:c8 (capab=0x411 status=0 aid=2)

Feb 23 01:08:25 zd7000 kernel: [   85.544215] wlan0: associated
Feb 23 01:08:25 zd7000 kernel: [   85.544267] ADDRCONF(NETDEV_CHANGE): 
wlan0: link becomes ready
Feb 23 01:08:25 zd7000 kernel: [   85.886507] padlock: VIA PadLock not 
detected.
Feb 23 01:08:26 zd7000 kernel: [   86.426030] wlan0: IPv6 duplicate 
address fe80::290:4bff:fe52:828a detected!
Feb 23 01:30:27 zd7000 kernel: [ 1407.875138] wlan0: deauthenticating 
from 08:86:3b:d6:f5:c8 by local choice (reason=3)
Feb 23 01:30:27 zd7000 kernel: [ 1407.909054] cfg80211: Calling CRDA for 
country: TW
Feb 23 01:30:40 zd7000 kernel: [ 1420.841198] b43-pci-bridge 
:02:03.0: PCI INT A disabled
Feb 23 01:30:51 zd7000 kernel: [ 1431.655150] Compat-drivers backport 
release: compat-drivers-v3.7.6-1
Feb 23 01:30:51 zd7000 kernel: [ 1431.655156] Backport based on 
linux.git v3.7.6

Feb 23 01:30:51 zd7000 kernel: [ 1431.655159] compat.git: linux.git
Feb 23 01:30:51 zd7000 kernel: [ 1431.927850] b43-pci-bridge 
:02:03.0: PCI INT A - GSI 21 (level, low) - IRQ 21
Feb 23 01:30:51 zd7000 kernel: [ 1431.927910] ssb: Found chip with id 
0x4306, rev 0x03 and package 0x00
Feb 23 01:30:51 zd7000 kernel: [ 1431.927919] ssb: Core 0 found: 
ChipCommon (cc 0x800, rev 0x04, vendor 0x4243)
Feb 23 01:30:51 zd7000 kernel: [ 1431.927930] ssb: Core 1 found: IEEE 
802.11 (cc 0x812, rev 0x05, vendor 0x4243)
Feb 23 01:30:51 zd7000 kernel: [ 1431.927940] ssb: Core 2 found: PCMCIA 
(cc 0x80D, rev 0x02, vendor 0x4243)
Feb 23 01:30:51 zd7000 kernel: [ 1431.927949] ssb: Core 3 found: V90 (cc 
0x807, rev 0x02, vendor 0x4243)
Feb 23 01:30:51 zd7000 kernel: [ 1431.927959] ssb: Core 4 found: PCI (cc 
0x804, rev 0x09, vendor 0x4243)
Feb 23 01:30:51 zd7000 kernel: [ 1431.931928] ssb: Sonics Silicon 
Backplane found on PCI device :02:03.0
Feb 23 01:30:51 zd7000 kernel: [ 1431.960576] cfg80211: Calling CRDA to 
update world regulatory domain

Feb 23 01:30:51 zd7000 kernel: [ 1431.999205] b43-phy0: dc4b9ea4
Feb 23 01:30:51 zd7000 kernel: [ 1432.021018] b43-phy0: dc4b9e50
Feb 23 01:30:51 zd7000 kernel: [ 1432.045117] Broadcom 43xx driver 
loaded [ Features: PMNLS ]
Feb 23 01:30:51 zd7000 kernel: [ 1432.059967] ieee80211 phy0: Selected 
rate control algorithm 'minstrel_ht'
Feb 23 01:30:51 zd7000 kernel: [ 1432.061916] Registered led device: 
b43-phy0::tx

Re: Commands in /etc/rc.local Fail

2013-02-23 Thread Thomas D. Dean

On 02/23/13 23:12, Roman V.Leon. wrote:

On 23.02.2013 13:42, Thomas D. Dean wrote:

On boot, wlan0 fails to come up. After login,
  sudo ifup wlan0
works.

  uname -a
Linux zd7000 2.6.32-5-686 #1 SMP Sun Sep 23 09:49:36 UTC 2012 i686
GNU/Linux

  cat /etc/rc.local
/sbin/modprobe -r b43
/sbin/modprobe b43
/sbin/ifup wlan0
exit 0

But, the b43-pci-bridge driver is still in use.

Why do these commands not work?

  lspci -vnn
snip
02:03.0 Network controller [0280]: Broadcom Corporation BCM4306
802.11b/g Wireless LAN Controller [14e4:4320] (rev 03)
Subsystem: Hewlett-Packard Company Broadcom 802.11b/g WLAN [103c:12f4]
Flags: bus master, fast devsel, latency 32, IRQ 21
Memory at d2004000 (32-bit, non-prefetchable) [size=8K]
Kernel driver in use: b43-pci-bridge

After boot, wlan0 is not up.

However, from the command line,
  sudo ifup wlan0
  sudo ifconfig
snip
wlan0 Link encap:Ethernet HWaddr 00:90:4b:52:82:8a
inet addr:192.168.2.10 Bcast:192.168.2.255 \
Mask:255.255.255.0
inet6 addr: fe80::290:4bff:fe52:828a/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:505 errors:0 dropped:0 overruns:0 frame:0
TX packets:239 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:54845 (53.5 KiB) TX bytes:67723 (66.1 KiB)

and, networking works.

I enabled verbose in /etc/init.d/rc.local and see the proper message on
the console.
... Running local boot scripts (/etc/rc.local)
followed by lots of ioctl[SIOC...] messages

And, there are lots of failure messages in /var/log/kern.log

Feb 23 01:07:16 zd7000 kernel: [ 10.219719] b43: disagrees about version
of symbol ssb_device_is_enabled
etc.

at Feb 23 01:30:40 unloaded b43-pci-bridge and then loaded b43
  sudo modprobe -r b43
and, the b43-pci-bridge driver is gone
  sudo modprobe b43
  sudo ifup wlan0

and, there are no error messages in /var/log/kern.log and networking
works.

  sudo tail -40 /var/log/kern.log
Feb 23 01:07:37 zd7000 kernel: [ 37.591944] synaptics: using relaxed
packet validation
Feb 23 01:08:22 zd7000 kernel: [ 83.220024] b43-phy0: dc775de4
Feb 23 01:08:22 zd7000 kernel: [ 83.285726] ADDRCONF(NETDEV_UP): wlan0:
link is not ready
Feb 23 01:08:25 zd7000 kernel: [ 85.524678] wlan0: authenticate with
08:86:3b:d6:f5:c8
Feb 23 01:08:25 zd7000 kernel: [ 85.537165] wlan0: send auth to
08:86:3b:d6:f5:c8 (try 1/3)
Feb 23 01:08:25 zd7000 kernel: [ 85.538698] wlan0: authenticated
Feb 23 01:08:25 zd7000 kernel: [ 85.541025] wlan0: associate with
08:86:3b:d6:f5:c8 (try 1/3)
Feb 23 01:08:25 zd7000 kernel: [ 85.543648] wlan0: RX AssocResp from
08:86:3b:d6:f5:c8 (capab=0x411 status=0 aid=2)
Feb 23 01:08:25 zd7000 kernel: [ 85.544215] wlan0: associated
Feb 23 01:08:25 zd7000 kernel: [ 85.544267] ADDRCONF(NETDEV_CHANGE):
wlan0: link becomes ready
Feb 23 01:08:25 zd7000 kernel: [ 85.886507] padlock: VIA PadLock not
detected.
Feb 23 01:08:26 zd7000 kernel: [ 86.426030] wlan0: IPv6 duplicate
address fe80::290:4bff:fe52:828a detected!
Feb 23 01:30:27 zd7000 kernel: [ 1407.875138] wlan0: deauthenticating
from 08:86:3b:d6:f5:c8 by local choice (reason=3)
Feb 23 01:30:27 zd7000 kernel: [ 1407.909054] cfg80211: Calling CRDA for
country: TW
Feb 23 01:30:40 zd7000 kernel: [ 1420.841198] b43-pci-bridge
:02:03.0: PCI INT A disabled
Feb 23 01:30:51 zd7000 kernel: [ 1431.655150] Compat-drivers backport
release: compat-drivers-v3.7.6-1
Feb 23 01:30:51 zd7000 kernel: [ 1431.655156] Backport based on
linux.git v3.7.6
Feb 23 01:30:51 zd7000 kernel: [ 1431.655159] compat.git: linux.git
Feb 23 01:30:51 zd7000 kernel: [ 1431.927850] b43-pci-bridge
:02:03.0: PCI INT A - GSI 21 (level, low) - IRQ 21
Feb 23 01:30:51 zd7000 kernel: [ 1431.927910] ssb: Found chip with id
0x4306, rev 0x03 and package 0x00
Feb 23 01:30:51 zd7000 kernel: [ 1431.927919] ssb: Core 0 found:
ChipCommon (cc 0x800, rev 0x04, vendor 0x4243)
Feb 23 01:30:51 zd7000 kernel: [ 1431.927930] ssb: Core 1 found: IEEE
802.11 (cc 0x812, rev 0x05, vendor 0x4243)
Feb 23 01:30:51 zd7000 kernel: [ 1431.927940] ssb: Core 2 found: PCMCIA
(cc 0x80D, rev 0x02, vendor 0x4243)
Feb 23 01:30:51 zd7000 kernel: [ 1431.927949] ssb: Core 3 found: V90 (cc
0x807, rev 0x02, vendor 0x4243)
Feb 23 01:30:51 zd7000 kernel: [ 1431.927959] ssb: Core 4 found: PCI (cc
0x804, rev 0x09, vendor 0x4243)
Feb 23 01:30:51 zd7000 kernel: [ 1431.931928] ssb: Sonics Silicon
Backplane found on PCI device :02:03.0
Feb 23 01:30:51 zd7000 kernel: [ 1431.960576] cfg80211: Calling CRDA to
update world regulatory domain
Feb 23 01:30:51 zd7000 kernel: [ 1431.999205] b43-phy0: dc4b9ea4
Feb 23 01:30:51 zd7000 kernel: [ 1432.021018] b43-phy0: dc4b9e50
Feb 23 01:30:51 zd7000 kernel: [ 1432.045117] Broadcom 43xx driver
loaded [ Features: PMNLS ]
Feb 23 01:30:51 zd7000 kernel: [ 1432.059967] ieee80211 phy0: Selected
rate control algorithm 'minstrel_ht'
Feb 23 01:30:51 zd7000 kernel: [ 1432.061916] Registered led device:
b43-phy0::tx
Feb 23 01:30:51 zd7000 kernel: [ 1432.062031] Registered led device:
b43-phy0::rx
Feb 23 01:30