* freeze when mounting fs
@ 2005-02-18 15:42 Konstantin Kletschke
2005-02-18 15:48 ` Artem B. Bityuckiy
` (2 more replies)
0 siblings, 3 replies; 9+ messages in thread
From: Konstantin Kletschke @ 2005-02-18 15:42 UTC (permalink / raw)
To: linux-mtd
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
--
GPG KeyID EF62FCEF
Fingerprint: 13C9 B16B 9844 EC15 CC2E A080 1E69 3FDA EF62 FCEF
^ permalink raw reply [flat|nested] 9+ messages in thread* Re: freeze when mounting fs
2005-02-18 15:42 freeze when mounting fs Konstantin Kletschke
@ 2005-02-18 15:48 ` Artem B. Bityuckiy
2005-02-18 16:01 ` Konstantin Kletschke
2005-02-18 15:48 ` Konstantin Kletschke
2005-02-21 8:21 ` Konstantin Kletschke
2 siblings, 1 reply; 9+ messages in thread
From: Artem B. Bityuckiy @ 2005-02-18 15:48 UTC (permalink / raw)
To: Konstantin Kletschke; +Cc: linux-mtd
On Fri, 2005-02-18 at 16:42 +0100, Konstantin Kletschke wrote:
> But got no info.
Because you just mesages. You need to use synchronous output to capture
messages.
--
Best Regards,
Artem B. Bityuckiy,
St.-Petersburg, Russia.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: freeze when mounting fs
2005-02-18 15:48 ` Artem B. Bityuckiy
@ 2005-02-18 16:01 ` Konstantin Kletschke
2005-02-18 16:12 ` Thomas Gleixner
2005-02-18 16:15 ` Artem B. Bityuckiy
0 siblings, 2 replies; 9+ messages in thread
From: Konstantin Kletschke @ 2005-02-18 16:01 UTC (permalink / raw)
To: linux-mtd
Am 2005-02-18 18:48 +0300 schrieb Artem B. Bityuckiy:
> On Fri, 2005-02-18 at 16:42 +0100, Konstantin Kletschke wrote:
> > 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
--
GPG KeyID EF62FCEF
Fingerprint: 13C9 B16B 9844 EC15 CC2E A080 1E69 3FDA EF62 FCEF
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: freeze when mounting fs
2005-02-18 16:01 ` Konstantin Kletschke
@ 2005-02-18 16:12 ` Thomas Gleixner
2005-02-18 16:15 ` Artem B. Bityuckiy
1 sibling, 0 replies; 9+ messages in thread
From: Thomas Gleixner @ 2005-02-18 16:12 UTC (permalink / raw)
To: Konstantin Kletschke; +Cc: linux-mtd
On Fri, 2005-02-18 at 17:01 +0100, Konstantin Kletschke wrote:
> Am 2005-02-18 18:48 +0300 schrieb Artem B. Bityuckiy:
> > On Fri, 2005-02-18 at 16:42 +0100, Konstantin Kletschke wrote:
> > > 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
> 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
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: freeze when mounting fs
2005-02-18 16:01 ` Konstantin Kletschke
2005-02-18 16:12 ` Thomas Gleixner
@ 2005-02-18 16:15 ` Artem B. Bityuckiy
1 sibling, 0 replies; 9+ messages in thread
From: Artem B. Bityuckiy @ 2005-02-18 16:15 UTC (permalink / raw)
To: Konstantin Kletschke; +Cc: linux-mtd
On Fri, 2005-02-18 at 17:01 +0100, Konstantin Kletschke wrote:
> 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.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: freeze when mounting fs
2005-02-18 15:42 freeze when mounting fs Konstantin Kletschke
2005-02-18 15:48 ` Artem B. Bityuckiy
@ 2005-02-18 15:48 ` Konstantin Kletschke
2005-02-18 16:09 ` Thomas Gleixner
2005-02-21 8:21 ` Konstantin Kletschke
2 siblings, 1 reply; 9+ messages in thread
From: Konstantin Kletschke @ 2005-02-18 15:48 UTC (permalink / raw)
To: linux-mtd
Am 2005-02-18 16:42 +0100 schrieb Konstantin Kletschke:
I did
CONFIG_JFFS2_FS=y
CONFIG_JFFS2_FS_DEBUG=2
# CONFIG_JFFS2_FS_NAND is not set
CONFIG_JFFS2_COMPRESSION_OPTIONS=y
CONFIG_JFFS2_ZLIB=y
CONFIG_JFFS2_RTIME=y
CONFIG_JFFS2_RUBIN=y
# CONFIG_JFFS2_CMODE_NONE is not set
CONFIG_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
--
GPG KeyID EF62FCEF
Fingerprint: 13C9 B16B 9844 EC15 CC2E A080 1E69 3FDA EF62 FCEF
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: freeze when mounting fs
2005-02-18 15:48 ` Konstantin Kletschke
@ 2005-02-18 16:09 ` Thomas Gleixner
2005-02-18 16:36 ` Konstantin Kletschke
0 siblings, 1 reply; 9+ messages in thread
From: Thomas Gleixner @ 2005-02-18 16:09 UTC (permalink / raw)
To: Konstantin Kletschke; +Cc: linux-mtd
On Fri, 2005-02-18 at 16:48 +0100, Konstantin Kletschke wrote:
> CONFIG_JFFS2_FS_DEBUG=2
Please use level 1
> 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.
> 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
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: freeze when mounting fs
2005-02-18 16:09 ` Thomas Gleixner
@ 2005-02-18 16:36 ` Konstantin Kletschke
0 siblings, 0 replies; 9+ messages in thread
From: Konstantin Kletschke @ 2005-02-18 16:36 UTC (permalink / raw)
To: linux-mtd
Am 2005-02-18 17:09 +0100 schrieb Thomas Gleixner:
> On Fri, 2005-02-18 at 16:48 +0100, Konstantin Kletschke wrote:
>
> > CONFIG_JFFS2_FS_DEBUG=2
>
> Please use level 1
>
> > And when mounting functional rootfs it speaks a lot, but:
>
> What happens when you mount the non-functional one ? Can you please
Nothing.
> provide logs via serial console. klogd does not work for logging of that
> stuff.
Even with level 3 _nothing_ happens.
> > 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
--
GPG KeyID EF62FCEF
Fingerprint: 13C9 B16B 9844 EC15 CC2E A080 1E69 3FDA EF62 FCEF
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: freeze when mounting fs
2005-02-18 15:42 freeze when mounting fs Konstantin Kletschke
2005-02-18 15:48 ` Artem B. Bityuckiy
2005-02-18 15:48 ` Konstantin Kletschke
@ 2005-02-21 8:21 ` Konstantin Kletschke
2 siblings, 0 replies; 9+ messages in thread
From: Konstantin Kletschke @ 2005-02-21 8:21 UTC (permalink / raw)
To: linux-mtd
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
--
GPG KeyID EF62FCEF
Fingerprint: 13C9 B16B 9844 EC15 CC2E A080 1E69 3FDA EF62 FCEF
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2005-02-21 8:21 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-18 15:42 freeze when mounting fs Konstantin Kletschke
2005-02-18 15:48 ` Artem B. Bityuckiy
2005-02-18 16:01 ` Konstantin Kletschke
2005-02-18 16:12 ` Thomas Gleixner
2005-02-18 16:15 ` Artem B. Bityuckiy
2005-02-18 15:48 ` Konstantin Kletschke
2005-02-18 16:09 ` Thomas Gleixner
2005-02-18 16:36 ` Konstantin Kletschke
2005-02-21 8:21 ` Konstantin Kletschke
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox