2.6.22 + sym53c8xx + mdadm

2008-02-21 Thread Andrzej 'The Undefined' Dopierała
[EMAIL PROTECTED] ~]# uname -a
Linux pldmachine 2.6.22.18-2 #1 SMP Tue Feb 19 01:53:02 UTC 2008 alpha EV67 PLD 
Linux

two discs (/dev/sda and /dev/sdb) in software raid. Disc are on
0001:01:07.0 SCSI storage controller: LSI Logic / Symbios Logic 53c895 (rev 02)
controller (sym53c8xx module).

geninitrd load sym53c8xx module, raid modules.. and say that discs are't
available.
They appear after 2-5 seconds.

Is there other way from MODULE_sym53c8xx_USLEEP=500 to wait for
disc before mdassemble it?

-- 
Andrzej 'The Undefined' Dopierała
Linux  Unix  Network administrator
PLD Linux Developer  HomePage: http://andrzej.dopierala.name/
JID: [EMAIL PROTECTED] e-mail: [EMAIL PROTECTED]
___
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en


Re: 2.6.22 + sym53c8xx + mdadm

2008-02-21 Thread Arkadiusz Miskiewicz
On Thursday 21 of February 2008, Andrzej 'The Undefined' Dopierała wrote:
 [EMAIL PROTECTED] ~]# uname -a
 Linux pldmachine 2.6.22.18-2 #1 SMP Tue Feb 19 01:53:02 UTC 2008 alpha EV67
 PLD Linux

 two discs (/dev/sda and /dev/sdb) in software raid. Disc are on
 0001:01:07.0 SCSI storage controller: LSI Logic / Symbios Logic 53c895 (rev
 02) controller (sym53c8xx module).

 geninitrd load sym53c8xx module, raid modules.. and say that discs are't
 available.
 They appear after 2-5 seconds.

 Is there other way from MODULE_sym53c8xx_USLEEP=500 to wait for
 disc before mdassemble it?

Is scsi_wait_scan loaded by geninitrd? It makes kernel wait until 
everything appears.

-- 
Arkadiusz MiśkiewiczPLD/Linux Team
arekm / maven.plhttp://ftp.pld-linux.org/
___
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en


Re: Any works on kernels = 2.6.24?

2008-02-21 Thread Arkadiusz Miskiewicz
On Thursday 21 of February 2008, Patryk Zawadzki wrote:
 2008/2/21 Michał Łukaszek [EMAIL PROTECTED]:
  Hi,
   just wanted to know if someone is working on that version.
   Can't wait to test the b43 wireless driver and finally get rid of
   ndiswrapper... (can't make it to use WPA2, so I'm stick to WPA)

 Already available as kernel-vanilla. Regular kernels have to wait for
 grsec and vserver patches.

+ apparmor which now conflicts with vserver (2.2 patch) badly :-/

-- 
Arkadiusz MiśkiewiczPLD/Linux Team
arekm / maven.plhttp://ftp.pld-linux.org/
___
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en


Re: --as-needed

2008-02-21 Thread Elan Ruusamäe
On Wednesday 20 February 2008 23:33:12 Jakub Bogusz wrote:
 On Wed, Feb 20, 2008 at 11:24:56PM +0200, Elan Ruusamäe wrote:
  here's build log one sample program  libtunepimp:
  http://glen.alkohol.ee/pld/libtunepimp.2008-02-20_23-17-35.bz2

 It looks like Ac. And which libtool version (patches) are you using?

better now! :)

$ rpm -qpi --requires ../RPMS/libtunepimp-0.5.3-4.1.i686.rpm |egrep 'curl|ssh'
curl-libs
libcurl.so.4


-- 
glen
___
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en


Re: --as-needed

2008-02-21 Thread Jakub Bogusz
On Thu, Feb 21, 2008 at 01:30:38AM +0200, Elan Ruusamäe wrote:
 On Wednesday 20 February 2008 23:33, Jakub Bogusz wrote:
  It looks like Ac. And which libtool version (patches) are you using?
 thx. it is ac unpatched libtool.
 
  [1] still not perfect, as it's not possible to do
  -Wl,-no-as-needed -lsome-lib -Wl,-as-needed -lother-lib
  - but with unpatched libtool it doesn't work either)
 
 i've seen this when compiled one kernel module, gcc (i think) did it 
 internally. other question is, did it work. i guess not if you say so.

With plain gcc calls it works; IIRC glibc build uses it.
Only libtool's arguments reordering messes such linking.


-- 
Jakub Boguszhttp://qboosh.pl/
___
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en


Re: --as-needed

2008-02-21 Thread Michael Shigorin
On Thu, Feb 21, 2008 at 05:42:02PM +0200, Elan Ruusam?e wrote:
   here's build log one sample program  libtunepimp:
   http://glen.alkohol.ee/pld/libtunepimp.2008-02-20_23-17-35.bz2
  It looks like Ac. And which libtool version (patches) are you using?
 better now! :)
 
 $ rpm -qpi --requires ../RPMS/libtunepimp-0.5.3-4.1.i686.rpm |egrep 'curl|ssh'
 curl-libs
 libcurl.so.4

Just in case, --as-needed (makefile, linking) patches are often
available in ALT Linux packages -- we have -Wl,--as-needed by
default for a year or so now:

http://sisyphus.ru/srpm/%name/patches (in Russian),
http://git.altlinux.org/people (in English but hard to search),
or just google for the alt makefile %name patch.

-- 
  WBR, Michael Shigorin [EMAIL PROTECTED]
  -- Linux.Kiev http://www.linux.kiev.ua/
___
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en