NULL pointer dereference when trying to mount nfs-root using 2.4.19-pre8

John Bäckstrand (sandos@home.se)
Wed, 8 May 2002 13:58:01 +0200


This is a multi-part message in MIME format.

------=_NextPart_000_0005_01C1F698.5DC380C0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 8bit

I have been playing around with nfs-root the last
couple of days, using 2.2.x kernels on the bootfloppy.
I only have 16mb ram in the diskless box, so I had to
compile a kernel with NBD to use for swap. I didnt get
this to work with 2.2 kernels, so I tried building
2.4.19-pre8. (Which I btw had to patch in nfsroot.c to
get compiled, I know this is known though)

I am _not_ using bootp/rarp/dhcp, but rather an ip on
the commandline to the kernel using lilo. I tried
configuring the kernel both with rarp support and
without.

Anyway, right after printing the line "NET4: Unix
domain sockets ..." it Oopses, saying "cant handle NULL
pointer dereference at " and "process swapper (pid 1,
stackpage=c000b000)

Then I also get "Kernel panic: Trying to kill init"

My 3c509 is up, the kernel prints "short UDP packet
recevied" every now and then if I let the box be up, I
can even ping the box after this Oops.

Any ideas about this?

---
John Bäckstrand

------=_NextPart_000_0005_01C1F698.5DC380C0 Content-Type: application/octet-stream; name=".config" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename=".config"

#=0A= # Automatically generated by make menuconfig: don't edit=0A= #=0A= CONFIG_X86=3Dy=0A= CONFIG_ISA=3Dy=0A= # CONFIG_SBUS is not set=0A= CONFIG_UID16=3Dy=0A= =0A= #=0A= # Code maturity level options=0A= #=0A= # CONFIG_EXPERIMENTAL is not set=0A= =0A= #=0A= # Loadable module support=0A= #=0A= CONFIG_MODULES=3Dy=0A= CONFIG_MODVERSIONS=3Dy=0A= CONFIG_KMOD=3Dy=0A= =0A= #=0A= # Processor type and features=0A= #=0A= # CONFIG_M386 is not set=0A= CONFIG_M486=3Dy=0A= # CONFIG_M586 is not set=0A= # CONFIG_M586TSC is not set=0A= # CONFIG_M586MMX is not set=0A= # CONFIG_M686 is not set=0A= # CONFIG_MPENTIUMIII is not set=0A= # CONFIG_MPENTIUM4 is not set=0A= # CONFIG_MK6 is not set=0A= # CONFIG_MK7 is not set=0A= # CONFIG_MELAN is not set=0A= # CONFIG_MCRUSOE is not set=0A= # CONFIG_MWINCHIPC6 is not set=0A= # CONFIG_MWINCHIP2 is not set=0A= # CONFIG_MWINCHIP3D is not set=0A= # CONFIG_MCYRIXIII is not set=0A= CONFIG_X86_WP_WORKS_OK=3Dy=0A= CONFIG_X86_INVLPG=3Dy=0A= CONFIG_X86_CMPXCHG=3Dy=0A= CONFIG_X86_XADD=3Dy=0A= CONFIG_X86_BSWAP=3Dy=0A= CONFIG_X86_POPAD_OK=3Dy=0A= # CONFIG_RWSEM_GENERIC_SPINLOCK is not set=0A= CONFIG_RWSEM_XCHGADD_ALGORITHM=3Dy=0A= CONFIG_X86_L1_CACHE_SHIFT=3D4=0A= CONFIG_X86_USE_STRING_486=3Dy=0A= CONFIG_X86_ALIGNMENT_16=3Dy=0A= CONFIG_X86_PPRO_FENCE=3Dy=0A= # CONFIG_X86_MCE is not set=0A= # CONFIG_TOSHIBA is not set=0A= # CONFIG_I8K is not set=0A= # CONFIG_MICROCODE is not set=0A= # CONFIG_X86_MSR is not set=0A= # CONFIG_X86_CPUID is not set=0A= CONFIG_NOHIGHMEM=3Dy=0A= # CONFIG_HIGHMEM4G is not set=0A= # CONFIG_HIGHMEM64G is not set=0A= # CONFIG_MATH_EMULATION is not set=0A= # CONFIG_MTRR is not set=0A= # CONFIG_SMP is not set=0A= # CONFIG_X86_UP_APIC is not set=0A= # CONFIG_X86_UP_IOAPIC is not set=0A= =0A= #=0A= # General setup=0A= #=0A= CONFIG_NET=3Dy=0A= # CONFIG_PCI is not set=0A= CONFIG_EISA=3Dy=0A= # CONFIG_MCA is not set=0A= # CONFIG_HOTPLUG is not set=0A= # CONFIG_PCMCIA is not set=0A= # CONFIG_HOTPLUG_PCI is not set=0A= CONFIG_SYSVIPC=3Dy=0A= # CONFIG_BSD_PROCESS_ACCT is not set=0A= CONFIG_SYSCTL=3Dy=0A= CONFIG_KCORE_ELF=3Dy=0A= # CONFIG_KCORE_AOUT is not set=0A= CONFIG_BINFMT_AOUT=3Dm=0A= CONFIG_BINFMT_ELF=3Dy=0A= CONFIG_BINFMT_MISC=3Dm=0A= # CONFIG_PM is not set=0A= # CONFIG_APM is not set=0A= =0A= #=0A= # Memory Technology Devices (MTD)=0A= #=0A= # CONFIG_MTD is not set=0A= =0A= #=0A= # Parallel port support=0A= #=0A= # CONFIG_PARPORT is not set=0A= =0A= #=0A= # Plug and Play configuration=0A= #=0A= CONFIG_PNP=3Dm=0A= CONFIG_ISAPNP=3Dm=0A= =0A= #=0A= # Block devices=0A= #=0A= CONFIG_BLK_DEV_FD=3Dy=0A= # CONFIG_BLK_DEV_XD is not set=0A= # CONFIG_PARIDE is not set=0A= # CONFIG_BLK_CPQ_DA is not set=0A= # CONFIG_BLK_CPQ_CISS_DA is not set=0A= # CONFIG_CISS_SCSI_TAPE is not set=0A= # CONFIG_BLK_DEV_DAC960 is not set=0A= # CONFIG_BLK_DEV_UMEM is not set=0A= CONFIG_BLK_DEV_LOOP=3Dy=0A= CONFIG_BLK_DEV_NBD=3Dm=0A= CONFIG_BLK_DEV_RAM=3Dm=0A= CONFIG_BLK_DEV_RAM_SIZE=3D4096=0A= # CONFIG_BLK_DEV_INITRD is not set=0A= =0A= #=0A= # Multi-device support (RAID and LVM)=0A= #=0A= # CONFIG_MD is not set=0A= # CONFIG_BLK_DEV_MD is not set=0A= # CONFIG_MD_LINEAR is not set=0A= # CONFIG_MD_RAID0 is not set=0A= # CONFIG_MD_RAID1 is not set=0A= # CONFIG_MD_RAID5 is not set=0A= # CONFIG_MD_MULTIPATH is not set=0A= # CONFIG_BLK_DEV_LVM is not set=0A= =0A= #=0A= # Networking options=0A= #=0A= CONFIG_PACKET=3Dy=0A= # CONFIG_PACKET_MMAP is not set=0A= # CONFIG_NETLINK_DEV is not set=0A= # CONFIG_NETFILTER is not set=0A= # CONFIG_FILTER is not set=0A= CONFIG_UNIX=3Dy=0A= CONFIG_INET=3Dy=0A= # CONFIG_IP_MULTICAST is not set=0A= # CONFIG_IP_ADVANCED_ROUTER is not set=0A= CONFIG_IP_PNP=3Dy=0A= # CONFIG_IP_PNP_DHCP is not set=0A= # CONFIG_IP_PNP_BOOTP is not set=0A= # CONFIG_IP_PNP_RARP is not set=0A= # CONFIG_NET_IPIP is not set=0A= # CONFIG_NET_IPGRE is not set=0A= # CONFIG_INET_ECN is not set=0A= # CONFIG_SYN_COOKIES is not set=0A= # CONFIG_VLAN_8021Q is not set=0A= # CONFIG_IPX is not set=0A= # CONFIG_ATALK is not set=0A= =0A= #=0A= # Appletalk devices=0A= #=0A= # CONFIG_DEV_APPLETALK is not set=0A= # CONFIG_DECNET is not set=0A= # CONFIG_BRIDGE is not set=0A= =0A= #=0A= # QoS and/or fair queueing=0A= #=0A= # CONFIG_NET_SCHED is not set=0A= =0A= #=0A= # Network testing=0A= #=0A= # CONFIG_NET_PKTGEN is not set=0A= =0A= #=0A= # Telephony Support=0A= #=0A= # CONFIG_PHONE is not set=0A= # CONFIG_PHONE_IXJ is not set=0A= # CONFIG_PHONE_IXJ_PCMCIA is not set=0A= =0A= #=0A= # ATA/IDE/MFM/RLL support=0A= #=0A= # CONFIG_IDE is not set=0A= # CONFIG_BLK_DEV_IDE_MODES is not set=0A= # CONFIG_BLK_DEV_HD is not set=0A= =0A= #=0A= # SCSI support=0A= #=0A= # CONFIG_SCSI is not set=0A= =0A= #=0A= # Fusion MPT device support=0A= #=0A= # CONFIG_FUSION is not set=0A= # CONFIG_FUSION_BOOT is not set=0A= # CONFIG_FUSION_ISENSE is not set=0A= # CONFIG_FUSION_CTL is not set=0A= # CONFIG_FUSION_LAN is not set=0A= =0A= #=0A= # I2O device support=0A= #=0A= # CONFIG_I2O is not set=0A= # CONFIG_I2O_BLOCK is not set=0A= # CONFIG_I2O_LAN is not set=0A= # CONFIG_I2O_SCSI is not set=0A= # CONFIG_I2O_PROC is not set=0A= =0A= #=0A= # Network device support=0A= #=0A= CONFIG_NETDEVICES=3Dy=0A= =0A= #=0A= # ARCnet devices=0A= #=0A= # CONFIG_ARCNET is not set=0A= CONFIG_DUMMY=3Dm=0A= # CONFIG_BONDING is not set=0A= # CONFIG_EQUALIZER is not set=0A= # CONFIG_TUN is not set=0A= # CONFIG_NET_SB1000 is not set=0A= =0A= #=0A= # Ethernet (10 or 100Mbit)=0A= #=0A= CONFIG_NET_ETHERNET=3Dy=0A= # CONFIG_SUNLANCE is not set=0A= # CONFIG_SUNBMAC is not set=0A= # CONFIG_SUNQE is not set=0A= # CONFIG_SUNGEM is not set=0A= CONFIG_NET_VENDOR_3COM=3Dy=0A= # CONFIG_EL1 is not set=0A= # CONFIG_EL2 is not set=0A= # CONFIG_ELPLUS is not set=0A= # CONFIG_EL16 is not set=0A= CONFIG_EL3=3Dy=0A= # CONFIG_3C515 is not set=0A= # CONFIG_ELMC is not set=0A= # CONFIG_ELMC_II is not set=0A= # CONFIG_VORTEX is not set=0A= # CONFIG_LANCE is not set=0A= # CONFIG_NET_VENDOR_SMC is not set=0A= # CONFIG_NET_VENDOR_RACAL is not set=0A= # CONFIG_AT1700 is not set=0A= # CONFIG_DEPCA is not set=0A= # CONFIG_HP100 is not set=0A= # CONFIG_NET_ISA is not set=0A= # CONFIG_NET_PCI is not set=0A= # CONFIG_NET_POCKET is not set=0A= =0A= #=0A= # Ethernet (1000 Mbit)=0A= #=0A= # CONFIG_ACENIC is not set=0A= # CONFIG_DL2K is not set=0A= # CONFIG_MYRI_SBUS is not set=0A= # CONFIG_NS83820 is not set=0A= # CONFIG_HAMACHI is not set=0A= # CONFIG_YELLOWFIN is not set=0A= # CONFIG_SK98LIN is not set=0A= # CONFIG_TIGON3 is not set=0A= # CONFIG_FDDI is not set=0A= # CONFIG_PLIP is not set=0A= # CONFIG_PPP is not set=0A= # CONFIG_SLIP is not set=0A= =0A= #=0A= # Wireless LAN (non-hamradio)=0A= #=0A= # CONFIG_NET_RADIO is not set=0A= =0A= #=0A= # Token Ring devices=0A= #=0A= # CONFIG_TR is not set=0A= # CONFIG_NET_FC is not set=0A= =0A= #=0A= # Wan interfaces=0A= #=0A= # CONFIG_WAN is not set=0A= =0A= #=0A= # Amateur Radio support=0A= #=0A= # CONFIG_HAMRADIO is not set=0A= =0A= #=0A= # IrDA (infrared) support=0A= #=0A= # CONFIG_IRDA is not set=0A= =0A= #=0A= # ISDN subsystem=0A= #=0A= # CONFIG_ISDN is not set=0A= =0A= #=0A= # Old CD-ROM drivers (not SCSI, not IDE)=0A= #=0A= # CONFIG_CD_NO_IDESCSI is not set=0A= =0A= #=0A= # Input core support=0A= #=0A= # CONFIG_INPUT is not set=0A= # CONFIG_INPUT_KEYBDEV is not set=0A= # CONFIG_INPUT_MOUSEDEV is not set=0A= # CONFIG_INPUT_JOYDEV is not set=0A= # CONFIG_INPUT_EVDEV is not set=0A= =0A= #=0A= # Character devices=0A= #=0A= CONFIG_VT=3Dy=0A= CONFIG_VT_CONSOLE=3Dy=0A= CONFIG_SERIAL=3Dy=0A= # CONFIG_SERIAL_CONSOLE is not set=0A= # CONFIG_SERIAL_EXTENDED is not set=0A= # CONFIG_SERIAL_NONSTANDARD is not set=0A= CONFIG_UNIX98_PTYS=3Dy=0A= CONFIG_UNIX98_PTY_COUNT=3D256=0A= =0A= #=0A= # I2C support=0A= #=0A= # CONFIG_I2C is not set=0A= =0A= #=0A= # Mice=0A= #=0A= # CONFIG_BUSMOUSE is not set=0A= # CONFIG_MOUSE is not set=0A= =0A= #=0A= # Joysticks=0A= #=0A= # CONFIG_INPUT_GAMEPORT is not set=0A= # CONFIG_QIC02_TAPE is not set=0A= =0A= #=0A= # Watchdog Cards=0A= #=0A= # CONFIG_WATCHDOG is not set=0A= # CONFIG_AMD_RNG is not set=0A= # CONFIG_INTEL_RNG is not set=0A= # CONFIG_NVRAM is not set=0A= # CONFIG_RTC is not set=0A= # CONFIG_DTLK is not set=0A= # CONFIG_R3964 is not set=0A= # CONFIG_APPLICOM is not set=0A= =0A= #=0A= # Ftape, the floppy tape device driver=0A= #=0A= # CONFIG_FTAPE is not set=0A= # CONFIG_AGP is not set=0A= # CONFIG_DRM is not set=0A= # CONFIG_MWAVE is not set=0A= =0A= #=0A= # Multimedia devices=0A= #=0A= # CONFIG_VIDEO_DEV is not set=0A= =0A= #=0A= # File systems=0A= #=0A= # CONFIG_QUOTA is not set=0A= # CONFIG_AUTOFS_FS is not set=0A= # CONFIG_AUTOFS4_FS is not set=0A= CONFIG_REISERFS_FS=3Dm=0A= # CONFIG_REISERFS_CHECK is not set=0A= # CONFIG_REISERFS_PROC_INFO is not set=0A= # CONFIG_ADFS_FS is not set=0A= # CONFIG_ADFS_FS_RW is not set=0A= # CONFIG_AFFS_FS is not set=0A= # CONFIG_HFS_FS is not set=0A= # CONFIG_BFS_FS is not set=0A= CONFIG_EXT3_FS=3Dm=0A= CONFIG_JBD=3Dm=0A= # CONFIG_JBD_DEBUG is not set=0A= # CONFIG_FAT_FS is not set=0A= # CONFIG_MSDOS_FS is not set=0A= # CONFIG_UMSDOS_FS is not set=0A= # CONFIG_VFAT_FS is not set=0A= # CONFIG_EFS_FS is not set=0A= # CONFIG_JFFS_FS is not set=0A= # CONFIG_JFFS2_FS is not set=0A= # CONFIG_CRAMFS is not set=0A= # CONFIG_TMPFS is not set=0A= CONFIG_RAMFS=3Dy=0A= # CONFIG_ISO9660_FS is not set=0A= # CONFIG_JOLIET is not set=0A= # CONFIG_ZISOFS is not set=0A= CONFIG_MINIX_FS=3Dm=0A= # CONFIG_VXFS_FS is not set=0A= # CONFIG_NTFS_FS is not set=0A= # CONFIG_NTFS_RW is not set=0A= # CONFIG_HPFS_FS is not set=0A= CONFIG_PROC_FS=3Dy=0A= # CONFIG_DEVFS_FS is not set=0A= # CONFIG_DEVFS_MOUNT is not set=0A= # CONFIG_DEVFS_DEBUG is not set=0A= CONFIG_DEVPTS_FS=3Dy=0A= # CONFIG_QNX4FS_FS is not set=0A= # CONFIG_QNX4FS_RW is not set=0A= # CONFIG_ROMFS_FS is not set=0A= CONFIG_EXT2_FS=3Dy=0A= # CONFIG_SYSV_FS is not set=0A= # CONFIG_UDF_FS is not set=0A= # CONFIG_UDF_RW is not set=0A= # CONFIG_UFS_FS is not set=0A= # CONFIG_UFS_FS_WRITE is not set=0A= =0A= #=0A= # Network File Systems=0A= #=0A= # CONFIG_CODA_FS is not set=0A= # CONFIG_INTERMEZZO_FS is not set=0A= CONFIG_NFS_FS=3Dy=0A= CONFIG_NFS_V3=3Dy=0A= CONFIG_ROOT_NFS=3Dy=0A= # CONFIG_NFSD is not set=0A= # CONFIG_NFSD_V3 is not set=0A= CONFIG_SUNRPC=3Dy=0A= CONFIG_LOCKD=3Dy=0A= CONFIG_LOCKD_V4=3Dy=0A= # CONFIG_SMB_FS is not set=0A= # CONFIG_NCP_FS is not set=0A= # CONFIG_NCPFS_PACKET_SIGNING is not set=0A= # CONFIG_NCPFS_IOCTL_LOCKING is not set=0A= # CONFIG_NCPFS_STRONG is not set=0A= # CONFIG_NCPFS_NFS_NS is not set=0A= # CONFIG_NCPFS_OS2_NS is not set=0A= # CONFIG_NCPFS_SMALLDOS is not set=0A= # CONFIG_NCPFS_NLS is not set=0A= # CONFIG_NCPFS_EXTRAS is not set=0A= # CONFIG_ZISOFS_FS is not set=0A= # CONFIG_ZLIB_FS_INFLATE is not set=0A= =0A= #=0A= # Partition Types=0A= #=0A= # CONFIG_PARTITION_ADVANCED is not set=0A= CONFIG_MSDOS_PARTITION=3Dy=0A= # CONFIG_SMB_NLS is not set=0A= # CONFIG_NLS is not set=0A= =0A= #=0A= # Console drivers=0A= #=0A= CONFIG_VGA_CONSOLE=3Dy=0A= # CONFIG_VIDEO_SELECT is not set=0A= =0A= #=0A= # Sound=0A= #=0A= CONFIG_SOUND=3Dy=0A= # CONFIG_SOUND_BT878 is not set=0A= # CONFIG_SOUND_CMPCI is not set=0A= # CONFIG_SOUND_EMU10K1 is not set=0A= # CONFIG_MIDI_EMU10K1 is not set=0A= # CONFIG_SOUND_FUSION is not set=0A= # CONFIG_SOUND_CS4281 is not set=0A= # CONFIG_SOUND_ES1370 is not set=0A= # CONFIG_SOUND_ES1371 is not set=0A= # CONFIG_SOUND_ESSSOLO1 is not set=0A= # CONFIG_SOUND_MAESTRO is not set=0A= # CONFIG_SOUND_MAESTRO3 is not set=0A= # CONFIG_SOUND_ICH is not set=0A= # CONFIG_SOUND_RME96XX is not set=0A= # CONFIG_SOUND_SONICVIBES is not set=0A= # CONFIG_SOUND_TRIDENT is not set=0A= # CONFIG_SOUND_MSNDCLAS is not set=0A= # CONFIG_SOUND_MSNDPIN is not set=0A= # CONFIG_SOUND_VIA82CXXX is not set=0A= # CONFIG_MIDI_VIA82CXXX is not set=0A= CONFIG_SOUND_OSS=3Dy=0A= # CONFIG_SOUND_TRACEINIT is not set=0A= # CONFIG_SOUND_DMAP is not set=0A= # CONFIG_SOUND_SGALAXY is not set=0A= # CONFIG_SOUND_ADLIB is not set=0A= # CONFIG_SOUND_ACI_MIXER is not set=0A= # CONFIG_SOUND_CS4232 is not set=0A= # CONFIG_SOUND_SSCAPE is not set=0A= # CONFIG_SOUND_GUS is not set=0A= # CONFIG_SOUND_VMIDI is not set=0A= # CONFIG_SOUND_TRIX is not set=0A= # CONFIG_SOUND_MSS is not set=0A= # CONFIG_SOUND_MPU401 is not set=0A= # CONFIG_SOUND_NM256 is not set=0A= # CONFIG_SOUND_MAD16 is not set=0A= # CONFIG_SOUND_PAS is not set=0A= # CONFIG_PAS_JOYSTICK is not set=0A= # CONFIG_SOUND_PSS is not set=0A= CONFIG_SOUND_SB=3Dm=0A= # CONFIG_SOUND_AWE32_SYNTH is not set=0A= # CONFIG_SOUND_WAVEFRONT is not set=0A= # CONFIG_SOUND_MAUI is not set=0A= # CONFIG_SOUND_YM3812 is not set=0A= # CONFIG_SOUND_OPL3SA1 is not set=0A= # CONFIG_SOUND_OPL3SA2 is not set=0A= # CONFIG_SOUND_YMFPCI is not set=0A= # CONFIG_SOUND_YMFPCI_LEGACY is not set=0A= # CONFIG_SOUND_UART6850 is not set=0A= # CONFIG_SOUND_AEDSP16 is not set=0A= # CONFIG_SOUND_TVMIXER is not set=0A= =0A= #=0A= # USB support=0A= #=0A= # CONFIG_USB is not set=0A= =0A= #=0A= # Bluetooth support=0A= #=0A= # CONFIG_BLUEZ is not set=0A= =0A= #=0A= # Kernel hacking=0A= #=0A= # CONFIG_DEBUG_KERNEL is not set=0A=

------=_NextPart_000_0005_01C1F698.5DC380C0--

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/