Re: pre-2.3.4..

Piete Brooks (Piete.Brooks@cl.cam.ac.uk)
Sat, 29 May 1999 22:43:50 +0100


I have taken
linux-2.3.3.tar.bz2
patch-2.3.3.bz2
devfs v105
raid0145 relative to 2.3.4-1 from mikeg@weiden.de
and with a bit of HACKing I have a working kernel.
USB modules won't build, and /dev/loop* doesn't seem to work.
[ Also, devfs complains a bit at boot time :-( ] Any clues?

[ It would be really nice if 2.3.4 could have all these rolled in ! ]

make -C usb modules
make[2]: Entering directory `/usr/src/linux/drivers/usb'
/usr/src/linux/Rules.make:263: target `usb.o' given more than once in the same rule.
/usr/src/linux/Rules.make:263: target `hub.o' given more than once in the same rule.
/usr/src/linux/Rules.make:263: target `usb-debug.o' given more than once in the same rule.
/usr/src/linux/Rules.make:263: target `mouse.o' given more than once in the same rule.
/usr/src/linux/Rules.make:263: target `keyboard.o' given more than once in the same rule.
/usr/src/linux/Rules.make:263: target `keymap.o' given more than once in the same rule.
/usr/src/linux/Rules.make:263: target `audio.o' given more than once in the same rule.
/usr/src/linux/Rules.make:263: target `printer.o' given more than once in the same rule.
/usr/src/linux/Rules.make:263: target `usb.o' given more than once in the same rule.
/usr/src/linux/Rules.make:263: target `hub.o' given more than once in the same rule.
/usr/src/linux/Rules.make:263: target `usb-debug.o' given more than once in the same rule.
/usr/src/linux/Rules.make:263: target `mouse.o' given more than once in the same rule.
/usr/src/linux/Rules.make:263: target `keyboard.o' given more than once in the same rule.
/usr/src/linux/Rules.make:263: target `keymap.o' given more than once in the same rule.
/usr/src/linux/Rules.make:263: target `audio.o' given more than once in the same rule.
/usr/src/linux/Rules.make:263: target `printer.o' given more than once in the same rule.
ld -m elf_i386 -r -o usb-uhci.o uhci.o uhci-debug.o usb.o hub.o usb-debug.o mouse.o keyboard.o keymap.o audio.o printer.o
printer.o(.modinfo+0x0): multiple definition of `__module_kernel_version'
uhci.o(.modinfo+0x0): first defined here
printer.o(.modinfo+0x17): multiple definition of `__module_using_checksums'
uhci.o(.modinfo+0x17): first defined here
printer.o: In function `cleanup_module':
printer.o(.text+0x73c): multiple definition of `cleanup_module'
uhci.o(.text+0x1c84): first defined here
ld: Warning: size of symbol `cleanup_module' changed from 14 to 30 in printer.o
make[2]: *** [usb-uhci.o] Error 1
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -D__SMP__ -pipe -fno-strength-reduce -m386 -DCPU=386 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h -c -o ohci.o ohci.c
ohci.c:635: macro `usb_maxpacket' used with just one arg
ohci.c:735: macro `usb_maxpacket' used with just one arg
ohci.c: In function `ohci_request_irq':
ohci.c:635: invalid type argument of `->'
ohci.c:635: parse error before `)'
ohci.c: In function `ohci_control_msg':
ohci.c:735: invalid type argument of `->'
ohci.c:735: parse error before `)'
ohci.c: In function `ohci_control_thread':
ohci.c:1688: `MegaDebug' undeclared (first use this function)
ohci.c:1688: (Each undeclared identifier is reported only once
ohci.c:1688: for each function it appears in.)
ohci.c: At top level:
ohci.c:393: warning: `ohci_remove_td_from_ed' defined but not used
make[2]: *** [ohci.o] Error 1
ld -m elf_i386 -r -o usb-ohci-hcd.o ohci-hcd.o ohci-root-hub.o usb.o hub.o usb-debug.o mouse.o keyboard.o keymap.o audio.o printer.o
printer.o(.modinfo+0x0): multiple definition of `__module_kernel_version'
ohci-hcd.o(.modinfo+0x0): first defined here
printer.o(.modinfo+0x17): multiple definition of `__module_using_checksums'
ohci-hcd.o(.modinfo+0x17): first defined here
printer.o: In function `init_module':
printer.o(.text+0x734): multiple definition of `init_module'
ohci-hcd.o(.text+0x1d34): first defined here
ld: Warning: size of symbol `init_module' changed from 64 to 6 in printer.o
printer.o: In function `cleanup_module':
printer.o(.text+0x73c): multiple definition of `cleanup_module'
ohci-hcd.o(.text+0x1d24): first defined here
ld: Warning: size of symbol `cleanup_module' changed from 14 to 30 in printer.o
make[2]: *** [usb-ohci-hcd.o] Error 1
make[2]: Target `modules' not remade because of errors.
make[2]: Leaving directory `/usr/src/linux/drivers/usb'
make[1]: *** [_modsubdir_usb] Error 2

Partition check:
devfs: devfs_register(): existing non-device/file entry
devfs: devfs_register(): existing non-device/file entry
devfs: devfs_register(): could not create entry: "md/"
devfs: devfs_register(): could not create entry: "md/"
/dev/ide/hd/c0b0t0u0: p1 p2 < p5 p6 > p3
/dev/ide/hd/c0b1t1u0: [PTBL] [1757/255/63] p1 p2 < p5 > p3

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