freeze when mounting fs
I have also 2.6.10-rc2 kernel here with nodemgmnt.c from actual cvs. I have a weird constellation here where adding file to /home makes mount freeze when attepting to mount, regardeless if extra partition or root partition. What the fuck can that be?
I go it mounted ro once though:
root@scb9328 ~ # mount -t jffs2 -o,ro /dev/mtdblock4 /mnt Inode #170 was a directory with children - removing those too... root@scb9328 ~ # Jan 1 02:00:55 scb9328 kern.notice klogd: Inode #170 was a directory with children - removing those too...
I did
root@scb9328 ~ # echo 9 >/proc/sys/kernel/printk
root@scb9328 ~ #
root@scb9328 ~ # klogd
root@scb9328 ~ # syslogd
root@scb9328 ~ # tail -f /var/log/messages &
But got no info.
:-( !!!!
Konsti
Signature · 2 lines
GPG KeyID EF62FCEF Fingerprint: 13C9 B16B 9844 EC15 CC2E A080 1E69 3FDA EF62 FCEF
Am 2005-02-18 16:42 +0100 schrieb Konstantin Kletschke:
I did
CONFIG_JFFS2_FS=yCONFIG_JFFS2_FS_DEBUG=2
# CONFIG_JFFS2_FS_NAND is not setCONFIG_JFFS2_COMPRESSION_OPTIONS=yCONFIG_JFFS2_ZLIB=yCONFIG_JFFS2_RTIME=yCONFIG_JFFS2_RUBIN=y
# CONFIG_JFFS2_CMODE_NONE is not setCONFIG_JFFS2_CMODE_PRIORITY=y
And when mounting functional rootfs it speaks a lot, but:
root@scb9328 ~ # mount -t jffs2 /dev/mtdblock4 /mnt
[ ... silence ... ]
Rootfs is at http://ludenkalle.de/mtd/52
created with
mkfs.jffs2 -q --eraseblock=128KiB -o /tftpboot/52 -D /home/konsti/svn/ptxdist-0.5.2-trunk/src/device_table.txt --root=/home/konsti/svn/ptxdist-0.5.2-trunk/root
Konsti
Signature · 2 lines
GPG KeyID EF62FCEF Fingerprint: 13C9 B16B 9844 EC15 CC2E A080 1E69 3FDA EF62 FCEF
Quoted 1 line · Konstantin Kletschke
But got no info.
Because you just mesages. You need to use synchronous output to capture messages.
Signature · 3 lines
Best Regards, Artem B. Bityuckiy, St.-Petersburg, Russia.
Am 2005-02-18 18:48 +0300 schrieb Artem B. Bityuckiy:
Quoted 4 lines · Konstantin Kletschke
Quoted 1 line
But got no info.
Because you just mesages. You need to use synchronous output to capture messages.
You mean synchronous logging of syslogd/klogd?
Busybox's can't.
It seems adding some scripts to /home into the rootfs breaks things. I removed /home before mkfs.jffs2, left the other stuff like it was, voily, mounts, runs, works with no error.
Konsti
Signature · 2 lines
GPG KeyID EF62FCEF Fingerprint: 13C9 B16B 9844 EC15 CC2E A080 1E69 3FDA EF62 FCEF
Quoted 1 line · Konstantin Kletschke
CONFIG_JFFS2_FS_DEBUG=2
Please use level 1
Quoted 1 line
And when mounting functional rootfs it speaks a lot, but:
What happens when you mount the non-functional one ? Can you please provide logs via serial console. klogd does not work for logging of that stuff.
Quoted 1 line
Rootfs is at http://ludenkalle.de/mtd/52
The image is clean. There is no problem to see.
It would be interesting to have a binary image after you programmed it to FLASH. cat /dev/mtdX >flash.img
tglx
Quoted 7 lines · Konstantin Kletschke
Am 2005-02-18 18:48 +0300 schrieb Artem B. Bityuckiy:
Quoted 4 lines · Konstantin Kletschke
Quoted 1 line
But got no info.
Because you just mesages. You need to use synchronous output to capture messages.
You mean synchronous logging of syslogd/klogd?
No, serial log without syslogd/klogd
Quoted 4 lines
Busybox's can't.
It seems adding some scripts to /home into the rootfs breaks things. I removed /home before mkfs.jffs2, left the other stuff like it was, voily, mounts, runs, works with no error.
Hmm, can you provide such a broken image and the serial log from mount ?
tglx
Quoted 7 lines · Konstantin Kletschke
You mean synchronous logging of syslogd/klogd?
Busybox's can't.
It seems adding some scripts to /home into the rootfs breaks things. I removed /home before mkfs.jffs2, left the other stuff like it was, voily, mounts, runs, works with no error.Konsti
I mean via serial line. It is synchronous. In your case it is not, meaning that first output goes to the circular buffer, then user space daemons fetch it etc etc. Your system may die before the messages have been conveyed to syslogd.
Am 2005-02-18 17:09 +0100 schrieb Thomas Gleixner:
Quoted 9 lines · Konstantin Kletschke
Quoted 2 lines
CONFIG_JFFS2_FS_DEBUG=2Please use level 1
Quoted 1 line
And when mounting functional rootfs it speaks a lot, but:
What happens when you mount the non-functional one ? Can you please
Nothing.
Quoted 2 lines
provide logs via serial console. klogd does not work for logging of that stuff.
Even with level 3 _nothing_ happens.
Quoted 6 lines
Quoted 1 line
Rootfs is at http://ludenkalle.de/mtd/52
The image is clean. There is no problem to see.
It would be interesting to have a binary image after you programmed it to FLASH. cat
/dev/mtdX>flash.img
I will try what I can do or reproduce it later, I am sure my device table triggered a bug or some sort of that:
I removed 3 lines mungling up some access permissions of subdirectories under /home and now the image gets mounted.
I am fighting with svn ATM to get the actual change...
Konsti
Signature · 2 lines
GPG KeyID EF62FCEF Fingerprint: 13C9 B16B 9844 EC15 CC2E A080 1E69 3FDA EF62 FCEF
I wan' to inform you I can send/commit debug output next wee, not now, because we leave to the fair embedded world in Nurnberg now and all other tasks sleep for a week now, sorry guys!
Regards, Konsti
Signature · 2 lines
GPG KeyID EF62FCEF Fingerprint: 13C9 B16B 9844 EC15 CC2E A080 1E69 3FDA EF62 FCEF