Skip to contentSkip to conversation

devfs breakage in 2.4.0 release

DISCUSSION Adam J. Richter 2 participants 2 messages Jan 7, 2001 – Jan 8, 2001

lore
Share & tools
lore
#0 lore raw

On my Sony PictureBook PCG-C1VN, 2.4.0 hangs in the boot
process while 2.4.0-prerelease boots just fine. At first I thought the problem was devfs-related, but skipping devfsd just caused the hang to occur a little later, this time in ifconfig. The kernel call trace looked something like this:

neigh_ifdown
sys_ioctl
sock_ioctl
[some addresses in modules]
stext_lock
__down_failed
__down

What surprised me more was that attempting to remount the
root filesystem for writing just before this (to record the module kernel symbols) caused a kenel BUG() in slab.c:1542 becuase kmalloc was being called with a huge negative number.

I know I could run ksymoops to get this trace, but I now
think the cause of the problem probably happens much earlier than the symptoms. So, I trying backing out different 2.4.0 changes. So far, I can tell you that reverting the linux/mm subdirectory to its 2.4.0-prerelease contents had no effect. I will let you know if I diagnose or fix the problem, as I think you may be experiencing the same problem.

Adam J. Richter     __     ______________   4880 Stevens Creek Blvd, Suite 104
[email protected]     \ /                  San Jose, California 95129-1034
+1 408 261-6630         | g g d r a s i l   United States of America

fax +1 408 261-6631 "Free Software For The Rest Of Us."
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/

#1 lore raw
Quoted 19 lines · Adam J. Richter

On my Sony PictureBook PCG-C1VN, 2.4.0 hangs in the boot
process while 2.4.0-prerelease boots just fine. At first I thought the problem was devfs-related, but skipping devfsd just caused the hang to occur a little later, this time in ifconfig. The kernel call trace looked something like this:

neigh_ifdown
sys_ioctl
sock_ioctl
[some addresses in modules]
stext_lock
__down_failed
__down

What surprised me more was that attempting to remount the
root filesystem for writing just before this (to record the module kernel symbols) caused a kenel BUG() in slab.c:1542 becuase kmalloc was being called with a huge negative number.

Quoted 7 lines

I know I could run ksymoops to get this trace, but I now
think the cause of the problem probably happens much earlier than the symptoms. So, I trying backing out different 2.4.0 changes. So far, I can tell you that reverting the linux/mm subdirectory to its 2.4.0-prerelease contents had no effect. I will let you know if I diagnose or fix the problem, as I think you may be experiencing the same problem.

I think it's a different problem. I reproduced the same with 2.4.0-test12 but not 2.4.0-test10.

There are changes (not very large) in fs/devfs/base.c between these versions. I tried to take 2.4.0 and change back these updates and saw that it doesn't fix the problem. Trying all prerelaeses between 2.4.0-test10 and 2.4.0-test12 perhaps would take too much time ...

There is no hanging (or crashes) at all for me. All these versions boots Ok for me, but what I have is devfsd quitting with error message that it cannot state /dev/vcc/[1-6] after some relooging from the same terminal.

Andris

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/