Re: XFS is unsafe (Was: Re: d-i does not show jfs in partition tool)

2008-08-28 Thread Gaudenz Steinlin
On Wed, Aug 27, 2008 at 06:08:24PM +0300, Martin Michlmayr wrote:
 * Gaudenz Steinlin [EMAIL PROTECTED] [2008-08-27 17:05]:
   The ARM XFS fix that got into 2.6.27 is also in our 2.6.26 kernel.
   However, if you want to try 2.6.27-rc4, I can build it for arm.
  
  I tested with 2.6.26-3 from unstable. I also get the corruption with 
  this kernel. Are you sure that everything that went into 2.6.27 is also in
  the Debian kernel?
 
 Not everything, only the ARM fix.
 
  If not, could you build an image for arm?
 
 http://newpeople.debian.org/~tbm/arm/kernel/r12144/

OK, I tested with this kernel as well and still got the fs corruption. This is
what I did:

- mkfs.xfs (on a 100GB LV)
- mount it
- download and unpack the kernel sources - no error
- cp -ar linux-2.6.27-rc4 linux - errors from cp
- rm -r linux - no errors from rm
- umount
- mount again - unable to mount the partition
- xfs_repair -L - lots of errors 

This is with 2.6.27-rc4 and xfsprogs 2.8.11 on arm oldabi.

This is part of the relevant dmesg output (there are a ton more similar errors):
[ 1188.45] : 58 46 53 42 00 00 10 00 00 00 00 00 01 90 00 00  
XFSB
[ 1188.46] Filesystem dm-6: XFS internal error xfs_da_do_buf(2) at line 
2107 of file fs/xfs/xfs_da_btree.c.  Caller 0xbf246590
[ 1188.48] [c0029d9c] (dump_stack+0x0/0x14) from [bf2525ec] 
(xfs_error_report+0x4c/0x5c [xfs])
[ 1188.48] [bf2525a0] (xfs_error_report+0x0/0x5c [xfs]) from [bf252658] 
(xfs_corruption_error+0x5c/0x68 [xfs])
[ 1188.49]  r4:df2fdc00
[ 1188.50] [bf2525fc] (xfs_corruption_error+0x0/0x68 [xfs]) from 
[bf2463f4] (xfs_da_do_buf+0x5e8/0x6ec [xfs])
[ 1188.51]  r6:bf246590 r5: r4:c5875438
[ 1188.51] [bf245e0c] (xfs_da_do_buf+0x0/0x6ec [xfs]) from [bf246590] 
(xfs_da_read_buf+0x3c/0x44 [xfs])
[ 1188.52] [bf246558] (xfs_da_read_buf+0x4/0x44 [xfs]) from [bf24c8e4] 
(xfs_dir2_leaf_getdents+0x498/0x898 [xfs])
[ 1188.54] [bf24c44c] (xfs_dir2_leaf_getdents+0x0/0x898 [xfs]) from 
[bf248aec] (xfs_readdir+0xcc/0xe0 [xfs])
[ 1188.55] [bf248a20] (xfs_readdir+0x0/0xe0 [xfs]) from [bf27fe54] 
(xfs_file_readdir+0x164/0x1c8 [xfs])
[ 1188.56] [bf27fcf0] (xfs_file_readdir+0x0/0x1c8 [xfs]) from 
[c009f2a0] (vfs_readdir+0x84/0xb8)
[ 1188.57] [c009f21c] (vfs_readdir+0x0/0xb8) from [c009f340] 
(sys_getdents64+0x6c/0xc0)
[ 1188.58] [c009f2d4] (sys_getdents64+0x0/0xc0) from [c0025be0] 
(ret_fast_syscall+0x0/0x3c)
[ 1188.59]  r7:00d9 r6:4015806c r5:0001 r4:0003fad0
[ 3466.94] Filesystem dm-6: Disabling barriers, trial barrier write failed
[ 3466.97] XFS mounting filesystem dm-6
[ 3467.22] Starting XFS recovery on filesystem: dm-6 (logdev: internal)
[ 3467.23] XFS: xlog_recover_process_data: bad clientid
[ 3467.24] XFS: log mount/recovery failed: error 5
[ 3467.24] XFS: log mount failed

Please tell me if you want me to do more testing or if you need additional 
debugging output. If you need it, I can also upload an image of the corrpted
filesystem somewhere.

Tobi: Are you going to take this upstream to the XFS devels or linux-kernel? 

Gaudenz

-- 
Ever tried. Ever failed. No matter.
Try again. Fail again. Fail better.
~ Samuel Beckett ~


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: ext3/ext2 kernel bug with umlauts?

2008-08-28 Thread Michelle Konzack
Hi Kai,

Am 2008-08-16 22:03:50, schrieb Kai Weber:
 Hello,
 
 I have an Debian/NSLU2, kernel 2.6.18-6-ixp4xx.
 
 Following interesting problem. Could this be a kernel bug? If I attach 
 the USB disk to my laptop it works flawless whether mounted as ext3 or ext2.
 
 $ uname -a
 Linux foobar 2.6.18-6-ixp4xx #1 Wed Jun 18 23:27:34 UTC 2008 armv5tel 
 GNU/Linux
 $ mount | grep /share
 /dev/sdb6 on /share type ext3 (rw)
 $ ls /share/erlend*
 ls: /share/erlend Øye - dj kicks: No such file or directory

Meines erachtens sieht das wie ein Problem mit SPACE aus.

 $ sudo umount /share
 $ sudo mount -t ext2 /dev/sdb6 /share
 $ ls /share/erlend*
 total 76892
 01-jürgen_paape-so_weit_wie_noch_nie.mp3
 03-erlend_øye-sheltered_life_(rmx)+fine_night_(acapella).mp3
 [...]

Thanks, Greetings and nice Day/Evening
Michelle Konzack
Systemadministrator
24V Electronic Engineer
Tamay Dogan Network
Debian GNU/Linux Consultant


-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
# Debian GNU/Linux Consultant #
Michelle Konzack   Apt. 917  ICQ #328449886
+49/177/935194750, rue de Soultz MSN LinuxMichi
+33/6/61925193 67100 Strasbourg/France   IRC #Debian (irc.icq.com)


signature.pgp
Description: Digital signature


Re: XFS is unsafe (Was: Re: d-i does not show jfs in partition tool)

2008-08-28 Thread Tobias Frost
On Thu, 2008-08-28 at 10:24 +0200, Gaudenz Steinlin wrote:

 Tobi: Are you going to take this upstream to the XFS devels or linux-kernel? 
 
 Gaudenz

Yes, but not before the weekend... 
(I plan to do some tests with 2.6.27 by my own.)




signature.asc
Description: This is a digitally signed message part


web site

2008-08-28 Thread Lily Zey




Dear:Debian-arm

Are you interested in boosting your online business? Because your web site is 
strong but your web site
visibility could be greatly improved.  We would love to give you a free site 
review and show you how
you could get more targeted web traffic to your site.  Email us today at [EMAIL 
PROTECTED] and we will
give you a free analysis.  Be sure to include your URL(s) and where you would 
like us to reach you with
results.

Sincerely,
Traffic Hounds



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: ext3/ext2 kernel bug with umlauts?

2008-08-28 Thread Michael Glockenstein
Michelle Konzack schrieb am Donnerstag, 28. August 2008 15:30:

 Hi Kai,
 
 Am 2008-08-16 22:03:50, schrieb Kai Weber:
 Hello,
 
 I have an Debian/NSLU2, kernel 2.6.18-6-ixp4xx.
 
 Following interesting problem. Could this be a kernel bug? If I attach 
 the USB disk to my laptop it works flawless whether mounted as ext3 or
ext2.
 
 $ uname -a
 Linux foobar 2.6.18-6-ixp4xx #1 Wed Jun 18 23:27:34 UTC 2008 armv5tel 
 GNU/Linux
 $ mount | grep /share
 /dev/sdb6 on /share type ext3 (rw)
 $ ls /share/erlend*
 ls: /share/erlend Øye - dj kicks: No such file or directory
 
 Meines erachtens sieht das wie ein Problem mit SPACE aus.

No. Only an ü (and other umlauts in other files) in my filename here.
There are other effects with these files too. They seem to have TB size.
Or zero. But they have real size if I mount with ext2-option.

See my posting from 25.8.:

The good backup is not to be seen anymore:
#ls -l 
/mnt/snapshot/full-2008-08-24T20\:46\:25+0200/home/glockenstein/daten/Word/post/KündigungCt.doc
ls: 
/mnt/snapshot/full-2008-08-24T20:46:25+0200/home/glockenstein/daten/Word/post/KündigungCt.doc:
No such file or directory


 
 $ sudo umount /share
 $ sudo mount -t ext2 /dev/sdb6 /share
 $ ls /share/erlend*
 total 76892
 01-jürgen_paape-so_weit_wie_noch_nie.mp3
 03-erlend_øye-sheltered_life_(rmx)+fine_night_(acapella).mp3
 [...]
 
 Thanks, Greetings and nice Day/Evening
 Michelle Konzack
 Systemadministrator
 24V Electronic Engineer
 Tamay Dogan Network
 Debian GNU/Linux Consultant
 
 



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: thecus n2100 armel lenny upgrade, won't boot

2008-08-28 Thread Joost Yervante Damad
On Monday 18 August 2008 09:57:16 you wrote:
 I guess, that you'll need a serial console.
 Without, you can only guess, where it stuck, like did it access the
 disks and so...

 If it gets that far, you probably could check the logs, as it might
 logged something of interest.

in attachment you can find the console log. It seems to fail to find a 
rootfs...

Joost

-- 
homepage: http://damad.be/joost
photo/blog: http://damad.be/joost/blog
RST=No
Transfer to factory test Mode : No
Reset default set:Normal
Thecus: Found PCI device Vendor ID=0x10EC
Vendor0x10ec
Device0x8169
 Allocate cyg_pci_io_base=0x9100
 Allocate cyg_pci_memory_base=0x4100
Thecus: Found PCI device Vendor ID=0x10EC
Vendor0x10ec
Device0x8169
 Allocate cyg_pci_io_base=0x9200
 Allocate cyg_pci_memory_base=0x4200
Thecus: Found PCI device Vendor ID=0x1095
Vendor0x1095
Device0x3512
 Allocate cyg_pci_io_base=0x9208
 Allocate cyg_pci_io_base=0x920c
 Allocate cyg_pci_io_base=0x9218
 Allocate cyg_pci_io_base=0x921c
 Allocate cyg_pci_io_base=0x9230
 Allocate cyg_pci_memory_base=0x4400
Thecus: Found PCI device Vendor ID=0x1106
Thecus: Found PCI device Vendor ID=0x1106
Thecus: Found PCI device Vendor ID=0x1106
Vendor0x1106
Device0x3104
 Allocate cyg_pci_memory_base=0x4500
PCI: device already configured
rtl-eth0: RTL8169s/8110s Gigabit Ethernet driver 2.2 at 0xb000, 
00:14:fd:30:2d:9a
rtl-eth0: Auto-negotiation Enabled.
PCI: device already configured
eth1 found: bus[0] dev[2] base[b100]
rtl-eth1: RTL8169s/8110s Gigabit Ethernet driver 2.2 at 0xb100, 
00:14:fd:30:2d:9b
Ethernet rtl-eth0: MAC address 00:14:fd:30:2d:9a
IP: 192.168.1.100/255.255.255.0, Gateway: 0.0.0.0
Default server: 0.0.0.0, DNS server IP: 0.0.0.0

RedBoot(tm) bootstrap and debug environment [ROM]
Red Hat certified release, version 1.93 - built 17:25:00, Feb  6 2007

Platform: THECUS N2100 (IOP80219)
Copyright (C) 2000, 2001, 2002, Red Hat, Inc.

RAM: 0x-0x2000, 0x0004b890-0x1ffd1000 available, total: 512 MB
FLASH: 0xf000 - 0xf100, 128 blocks of 0x0002 bytes each.
== Executing boot script in 3.000 seconds - enter ^C to abort

== Executing boot script in 3.000 seconds - enter ^C to abort

== Executing boot script in 3.000 seconds - enter ^C to abort

== Executing boot script in 3.000 seconds - enter ^C to abort

== Executing boot script in 3.000 seconds - enter ^C to abort

== Executing boot script in 3.000 seconds - enter ^C to abort

== Executing boot script in 2.710 seconds - enter ^C to abort

== Executing boot script in 2.380 seconds - enter ^C to abort
^C
RedBoot thecus_setip
RedBoot fis load ramdisk
RedBoot fis load kernel
RedBoot exec -c console=ttyS0,115200 root=/dev/ram0 initrd=0xa080,42M 
[EMAIL PROTECTED]
Build ATAG
ATAG_MEM: Overwrite ram_end with real_region_top=0x2000, memsize=512 M
[EMAIL PROTECTED], MACH_TYPE=1101
Using base address 0x0020 and length 0x0016
Uncompressing 
Linux
[0.00] Linux version 2.6.25-2-iop32x (Debian 2.6.25-7) ([EMAIL 
PROTECTED]) (gcc version 4.1.3 208
[0.00] CPU: XScale-80219 [69052e30] revision 0 (ARMv5TE), cr=397f
[0.00] Machine: Thecus N2100
[0.00] Memory policy: ECC disabled, Data cache writeback
[0.00] CPU0: D VIVT undefined 5 cache
[0.00] CPU0: I cache: 32768 bytes, associativity 32, 32 byte lines, 32 
sets
[0.00] CPU0: D cache: 32768 bytes, associativity 32, 32 byte lines, 32 
sets
[0.01] Built 1 zonelists in Zone order, mobility grouping on.  Total 
pages: 65024
[0.01] Kernel command line: console=ttyS0,115200 root=/dev/ram0 
initrd=0xa080,42M mem=256M0
[0.01] PID hash table entries: 1024 (order: 10, 4096 bytes)
[0.01] Console: colour dummy device 80x30
[0.01] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[0.01] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[0.02] Memory: 256MB = 256MB total
[0.02] Memory: 213760KB available (2584K code, 268K data, 104K init)
[0.25] Security Framework initialized
[0.25] SELinux:  Disabled at boot.
[0.25] Capability LSM initialized
[0.25] Mount-cache hash table entries: 512
[0.25] Initializing cgroup subsys ns
[0.25] Initializing cgroup subsys cpuacct
[0.25] CPU: Testing write buffer coherency: ok
[0.25] net_namespace: 540 bytes
[0.25] NET: Registered protocol family 16
[0.26] PCI: bus0: Fast back to back transfers disabled
[0.30] NET: Registered protocol family 2
[0.39] IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
[0.39] TCP established hash table entries: 8192 (order: 4, 65536 bytes)
[0.39] TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
[0.39] TCP: Hash tables configured 

Re: thecus n2100 armel lenny upgrade, won't boot

2008-08-28 Thread Joost Yervante Damad
On Thursday 28 August 2008 19:39:03 Joost Yervante Damad wrote:
 On Monday 18 August 2008 09:57:16 you wrote:
  I guess, that you'll need a serial console.
  Without, you can only guess, where it stuck, like did it access the
  disks and so...
 
  If it gets that far, you probably could check the logs, as it might
  logged something of interest.

 in attachment you can find the console log. It seems to fail to find a
 rootfs...

 Joost

Update: if I break into the initramfs, and manually modprobe the correct sata, 
scsi and filesystem modules, I can mount the root filesystem.

I guess the initramfs is somehow broken?

Joost

(initramfs) mount -t ext3 /dev/sda1 /root
[  521.86] kjournald starting.  Commit interval 5 seconds
[  521.87] EXT3 FS on sda1, internal journal
[  521.87] EXT3-fs: mounted filesystem with ordered data mode.
(initramfs) ls -l /root/
drwxr-xr-x2 004096 Aug 17 10:50 bin
...
...

-- 
homepage: http://damad.be/joost
photo/blog: http://damad.be/joost/blog


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Not so slow Slug

2008-08-28 Thread old . codger


I have a standard NSLU2 on which I have removed the under clocking to  
give me 266.26 BogoMIPS

However, occasionally it boots up as a quicker machine (~1 in 10)

I'm using Armel.
Linux version 2.6.26-1-ixp4xx (Debian 2.6.26-3) ([EMAIL PROTECTED])
CPU: XScale-IXP42x Family [690541f1] revision 1 (ARMv5TE), cr=397f
Calibrating delay loop... 532.48 BogoMIPS (lpj=2662400)

Slug:~# cat /proc/cpuinfo
Processor   : XScale-IXP42x Family rev 1 (v5l)
BogoMIPS: 532.48
Features: swp half thumb fastmult edsp
CPU implementer : 0x69
CPU architecture: 5TE
CPU variant : 0x0
CPU part: 0x41f
CPU revision: 1
Cache type  : undefined 5
Cache clean : undefined 5
Cache lockdown  : undefined 5
Cache format: Harvard
I size  : 32768
I assoc : 32
I line length   : 32
I sets  : 32
D size  : 32768
D assoc : 32
D line length   : 32
D sets  : 32

Hardware: Linksys NSLU2
Revision: 
Serial  : 

I don't think this a reporting error

Mplayer playing Real Audio from the BBC gives
A:218269.7 (60:37:49.7) of 0.0 (unknown) 32.3%  against 65% CPU on a  
slow boot
Whilst the BBC is playing I can also run aptitude and the audio is  
unaffected.

top also shows half the normal CPU usage for most applications.

mpd playing .m4a files use 25%, .mp3 files use less than 1%

rsync pulling a .avi  from the remote rsync daemon on the Slug gives:
   368027292 100%3.73MB/s0:01:34 (xfer#1, to-check=0/1)
sent 50 bytes  received 368072356 bytes  3894946.10 bytes/sec
total size is 368027292  speedup is 1.00

scp   tv.avi100%  351MB   1.9MB/s   03:09
(sshd took 90% CPU)

Are these stats normal for a Slug?
Is there a reliable way to get it to boot fast?

Alan







--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Montazh vinilovogo, cokol'nogo sajdinga

2008-08-28 Thread Grazyna Borio

ПР0ДАЖА И М0НТАЖ САЙДИНГА И В0Д0СТ0К0В..

_

Наша компания продает высококачественный виниловый и цокольный сайдинг
производства Канады, Соединенных Штатов Америки, а также России..

ЦЕНЫ на материалы - значительно НИЖЕ рыночных, за счет прямых закупок
у экспортеров и специальных скидок..

Выполняем доставку и монтаж сайдинга в кратчайшие сроки#.
Выезжаем на замеры без выходных..
Принимаем звонки круглосуточно..
Цены на услуги монтажа Вас приятно удивят..

Работаем по схеме: Замер. Расчет. Доставка. Монтаж ..

# . . . .

Для более подробной информации, позвоните нашим менеджерам..

Телефоны менеджеров: 
 8 (926) 56-69-000

 8 926 021 0847


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]