Re: usb-scanner-cameras kernel-2.6.22 and udev-095 problem
greg with CONFIG_USB_DEVICE_CLASS=y scanner /dev/scanner- show up xsane is working now SCANNER PROBLEM SOLVED thanx xboom - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: usb-scanner-cameras kernel-2.6.22 and udev-095 problem
greg this is part of my config (we are talking now 2.6.22-rc4-200706042030-cfq7 #160 SMP PREEMPT Mon Jun 4 20:55:02 CDT 2007 x86_64 x86_64 x86_64 GNU/Linux) CONFIG_USB_DEVICEFS=y # CONFIG_USB_DEVICE_CLASS is not set - # CONFIG_USB_DYNAMIC_MINORS is not set CONFIG_USB_SUSPEND=y # CONFIG_USB_OTG is not set i disabled libusual in my config # CONFIG_USB_LIBUSUAL is not set with libusual=y my usb-harddrives doesn't show up on desktop after boot until i cycle one off/on and from this moment all of them start showing up with libusual not set -usb-harddrives shows up but this doesn't affect scanners btw scanners are working with standard fc7 86-x64 kernel xboom - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: usb-scanner-cameras kernel-2.6.22 and udev-095 problem
sorry for not responding i was busy (i updated my sys to fc7) on fc7-i386 and on fc-x86-64(2.6.22-rc4-cfq7 SMP PREEMPT x86_64 GNU/Linux) i can't see usb scanner i test this with hp-6300 and aqfa snapscan-1212u non of them triger creation /dev/scanner-x device xsane cannot see this scanner without this i assume. (btw for fc7 guys scons is not signed and test-mpeg2 is not working with raw1394) xboom - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: usb-scanner-cameras kernel-2.6.22 and udev-095 problem
greg and part of /etc/udev/rules.d/60-libsane.rules ... ACTION!="add", GOTO="libsane_rules_end" SUBSYSTEM!="usb_device", GOTO="libsane_rules_end" # Hewlett-Packard ScanJet 4100C SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="0101", SYMLINK+="scanner-%k" # Hewlett-Packard Photosmart S20 (C5101A) | Hewlett-Packard Photosmart S20xi (C7150A) SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="0102", SYMLINK+="scanner-%k" # Hewlett-Packard ScanJet 4200C | Hewlett-Packard ScanJet 4200Cxi | Hewlett-Packard ScanJet 4200Cse SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="0105", SYMLINK+="scanner-%k" # Hewlett-Packard ScanJet 6200C | Hewlett-Packard ScanJet 6250C SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="0201", SYMLINK+="scanner-%k" # Hewlett-Packard ScanJet 3300c SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="0205", SYMLINK+="scanner-%k" # Hewlett-Packard ScanJet 4300c SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="0305", SYMLINK+="scanner-%k" # Hewlett-Packard ScanJet 5200C SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="0401", SYMLINK+="scanner-%k" # Hewlett-Packard ScanJet 3400c SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="0405", SYMLINK+="scanner-%k" # Hewlett-Packard ScanJet 2100C SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="0505", SYMLINK+="scanner-%k" # Hewlett-Packard ScanJet 6300C | Hewlett-Packard ScanJet 6350C | Hewlett-Packard ScanJet 6390C SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="0601", SYMLINK+="scanner-%k" # Hewlett-Packard ScanJet 2200C SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="0605", SYMLINK+="scanner-%k" ... # Dell 1600n SYSFS{idVendor}=="413c", SYSFS{idProduct}=="5250", SYMLINK+="scanner-%k" LABEL="libsane_rules_end" xboom - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: usb-scanner-cameras kernel-2.6.22 and udev-095 problem
greg You didn't answer my, "what distro are you using" question. Also, what package created the udev rule that creates the above symlink? distro fc6 Linux xxx.xxx 2.6.22-rc1-200705170855cfq6-g0479ea0e #134 SMP PREEMPT Thu May 17 09:13:26 CDT 2007 x86_64 x86_64 x86_64 GNU/Linux 2.6.20 $ udevtest /class/usb_device/usbdev2.10 main: looking at device '/class/usb_device/usbdev2.10' from subsystem 'usb_device' run_program: '/bin/sh -c 'K=usbdev2.10; K=${K#usbdev}; printf bus/usb/%03i/%03i ${K%%.*} ${K#*.}'' run_program: '/bin/sh' (stdout) 'bus/usb/002/010' run_program: '/bin/sh' returned with status 0 udev_rules_get_name: rule applied, 'usbdev2.10' becomes 'bus/usb/002/010' udev_rules_get_name: add symlink 'scanner-usbdev2.10' udev_device_event: device '/class/usb_device/usbdev2.10' already in database, validate currently present symlinks udev_node_add: creating device node '/dev/bus/usb/002/010', major = '189', minor = '137', mode = '0644', uid = '0', gid = '0' udev_node_add: creating symlink '/dev/scanner-usbdev2.10' to 'bus/usb/002/010' main: run: 'socket:/org/kernel/udev/monitor' main: run: '/lib/udev/udev_run_devd' main: run: 'socket:/org/freedesktop/hal/udev_event' main: run: '/sbin/pam_console_apply /dev/bus/usb/002/010 /dev/scanner-usbdev2.10' xboom - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: usb-scanner-cameras kernel-2.6.22 and udev-095 problem
greg CONFIG_SYSFS_DEPRECATED=Y check that we have rwxrwxrwx 1 root root 15 May 16 13:43 scanner-usbdev2.12 -> bus/usb/002/012 in /dev directory after usb-scanner connection for kernel-2.6.20 we don't have this for kernel-2.6.22 2.6.20 usb-scanner connect # /usr/sbin/udevmonitor UEVENT[1179340996.886805] add@/devices/pci:00/:00:0b.1/usb2/2-2/2-2.2 UEVENT[1179340996.886864] add@/class/usb_endpoint/usbdev2.12_ep00 UEVENT[1179340996.887438] add@/devices/pci:00/:00:0b.1/usb2/2-2/2-2.2/2-2.2:1.0 UEVENT[1179340996.887467] add@/class/usb_endpoint/usbdev2.12_ep81 UEVENT[1179340996.887484] add@/class/usb_endpoint/usbdev2.12_ep02 UEVENT[1179340996.887499] add@/class/usb_endpoint/usbdev2.12_ep83 UEVENT[1179340996.887514] add@/class/usb_device/usbdev2.12 UDEV [1179340996.921506] add@/devices/pci:00/:00:0b.1/usb2/2-2/2-2.2 UDEV [1179340996.936005] add@/class/usb_endpoint/usbdev2.12_ep00 UDEV [1179340996.960144] add@/class/usb_endpoint/usbdev2.12_ep81 UDEV [1179340996.963672] add@/class/usb_endpoint/usbdev2.12_ep02 UDEV [1179340996.967439] add@/class/usb_endpoint/usbdev2.12_ep83 UDEV [1179340997.240934] add@/devices/pci:00/:00:0b.1/usb2/2-2/2-2.2/2-2.2:1.0 UDEV [1179340997.473142] add@/class/usb_device/usbdev2.12 --- /dev $ ls -l total 0 crw--- 1 test root 14, 12 May 16 13:39 adsp crw--- 1 test root 14, 4 May 16 13:39 audio drwxr-xr-x 3 root root 60 May 16 13:39 bus lrwxrwxrwx 1 root root3 May 16 13:39 cdrom -> hdc lrwxrwxrwx 1 root root3 May 16 13:39 cdrom-hdc -> hdc lrwxrwxrwx 1 root root3 May 16 13:39 cdrw -> hdc lrwxrwxrwx 1 root root3 May 16 13:39 cdrw-hdc -> hdc lrwxrwxrwx 1 root root3 May 16 13:39 cdwriter -> hdc lrwxrwxrwx 1 root root3 May 16 13:39 cdwriter-hdc -> hdc crw--- 1 test root 5, 1 May 16 13:40 console lrwxrwxrwx 1 root root 11 May 16 13:39 core -> /proc/kcore drwxr-xr-x 4 root root 80 May 16 13:39 cpu drwxr-xr-x 6 root root 120 May 16 13:39 disk drwxr-xr-x 2 root root 60 May 16 13:39 dri crw--- 1 test root 14, 3 May 16 13:39 dsp lrwxrwxrwx 1 root root3 May 16 13:39 dvd -> hdc lrwxrwxrwx 1 root root3 May 16 13:39 dvd-hdc -> hdc lrwxrwxrwx 1 root root3 May 16 13:39 dvdrw -> hdc lrwxrwxrwx 1 root root3 May 16 13:39 dvdrw-hdc -> hdc lrwxrwxrwx 1 root root3 May 16 13:39 dvdwriter -> hdc lrwxrwxrwx 1 root root3 May 16 13:39 dvdwriter-hdc -> hdc lrwxrwxrwx 1 root root 13 May 16 13:39 fd -> /proc/self/fd crw-rw-rw- 1 root root 1, 7 May 16 13:39 full srwx-- 1 test root0 May 16 13:40 gpmctl brw--- 1 test disk 22, 0 May 16 13:39 hdc crw--- 1 root root 10, 228 May 16 13:39 hpet prw--- 1 root root0 May 16 13:40 initctl drwxr-xr-x 2 root root 220 May 16 13:40 input crw--- 1 root root 1, 11 May 16 13:39 kmsg srw-rw-rw- 1 root root0 May 16 13:40 log brw-r- 1 root disk 7, 0 May 16 13:39 loop0 brw-r- 1 root disk 7, 1 May 16 13:39 loop1 brw-r- 1 root disk 7, 2 May 16 13:39 loop2 brw-r- 1 root disk 7, 3 May 16 13:39 loop3 brw-r- 1 root disk 7, 4 May 16 13:39 loop4 brw-r- 1 root disk 7, 5 May 16 13:39 loop5 brw-r- 1 root disk 7, 6 May 16 13:39 loop6 brw-r- 1 root disk 7, 7 May 16 13:39 loop7 lrwxrwxrwx 1 root root 13 May 16 13:39 MAKEDEV -> /sbin/MAKEDEV drwxr-xr-x 2 root root 100 May 16 08:39 mapper crw--- 1 root root 10, 227 May 16 13:39 mcelog brw-r- 1 root disk 9, 0 May 16 13:40 md0 crw-r- 1 root kmem 1, 1 May 16 13:39 mem crw--- 1 test root 14, 0 May 16 13:39 mixer drwxr-xr-x 2 root root 60 May 16 13:39 net crw-rw-rw- 1 root root 1, 3 May 16 13:39 null crw-rw 1 root root 10, 144 May 16 13:39 nvram crw-rw 1 root lp99, 0 May 16 13:39 parport0 crw-rw 1 root lp99, 1 May 16 13:39 parport1 crw-rw 1 root lp99, 2 May 16 13:39 parport2 crw-rw 1 root lp99, 3 May 16 13:39 parport3 crw-r- 1 root kmem 1, 4 May 16 13:39 port crw--- 1 root root 108, 0 May 16 13:39 ppp crw-rw-rw- 1 root tty5, 2 May 16 13:46 ptmx drwxr-xr-x 2 root root0 May 16 08:39 pts lrwxrwxrwx 1 root root4 May 16 13:39 ram -> ram1 brw-r- 1 root disk 1, 0 May 16 08:39 ram0 brw-r- 1 root disk 1, 1 May 16 08:39 ram1 brw-r- 1 root disk 1, 10 May 16 08:39 ram10 brw-r- 1 root disk 1, 11 May 16 08:39 ram11 brw-r- 1 root disk 1, 12 May 16 08:39 ram12 brw-r- 1 root disk 1, 13 May 16 08:39 ram13 brw-r- 1 root disk 1, 14 May 16 08:39 ram14 brw-r- 1 root disk 1, 15 May 16 08:39 ram15 brw-r- 1 root disk 1, 2 May 16 08:39 ram2 brw-r- 1 root disk 1, 3 May 16 08:39 ram3 brw-r- 1 root disk 1, 4 May 16 08:39 ram4 brw-r- 1 root disk 1, 5 May 16 08:39 ram5 brw-r- 1 root dis
usb-scanner-cameras kernel-2.6.22 and udev-095 problem
Linux 2.6.22-rc1-gfaa8b6c3 #130 SMP PREEMPT Tue May 15 08:45:16 CDT 2007 x86_64 x86_64 x86_64 GNU/Linux udev.x86_64 095 usb hotplug/udev cannot correctly register usb/scanners, usb/cameras udev doesn't create devices in /dev like /dev/scanner etc but we can see devices in /proc/bus/usb/devices ... T: Bus=02 Lev=02 Prnt=03 Port=01 Cnt=02 Dev#= 10 Spd=12 MxCh= 0 D: Ver= 1.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 P: Vendor=03f0 ProdID=0601 Rev= 1.00 S: Manufacturer=Hewlett-Packard S: Product=HP ScanJet 6300C S: SerialNumber=xx C:* #Ifs= 1 Cfg#= 1 Atr=60 MxPwr= 0mA I:* If#= 0 Alt= 0 #EPs= 3 Cls=00(>ifc ) Sub=00 Prot=00 Driver=(none) E: Ad=81(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms E: Ad=02(O) Atr=02(Bulk) MxPS= 16 Ivl=0ms E: Ad=83(I) Atr=03(Int.) MxPS= 1 Ivl=250ms ... it works OK with kernel-2.6.20 can update udev to version 111 help solve this problem ??? xboom - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
git-tree compilation error "pci_module_init" [drivers/scsi/tmscsim.ko] undefined!
pull 20070505 0830 UTC-06 ... scripts/kconfig/gconf arch/x86_64/Kconfig drivers/net/Kconfig:2279:warning: 'select' used by config symbol 'UCC_GETH' refer to undefined symbol 'UCC_FAST' drivers/input/keyboard/Kconfig:170:warning: 'select' used by config symbol 'KEYBOARD_ATARI' refer to undefined symbol 'ATARI_KBD_CORE' drivers/input/mouse/Kconfig:161:warning: 'select' used by config symbol 'MOUSE_ATARI' refer to undefined symbol 'ATARI_KBD_CORE' CHK include/linux/version.h CHK include/linux/utsrelease.h CHK include/linux/compile.h MODPOST vmlinux Building modules, stage 2. Kernel: arch/x86_64/boot/bzImage is ready (#113) MODPOST 1234 modules WARNING: "pci_module_init" [drivers/scsi/tmscsim.ko] undefined! make[1]: *** [__modpost] Error 1 make: *** [modules] Error 2 xboom [EMAIL PROTECTED] - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: [patch] CFS scheduler, -v6
Hi. Just wanted to chime and and say that my build of 2.6.21 + CFS-v6 + PI patch by Thomas Gleixner has been running exceptionally well on my single processor PII machine (Debian unstable) and my SMP PII machine (Fedora Rawhide). On both systems no automatic 'renice'-ing happens, and I've not noticed any performance issues on the Debian box while in X. The Fedora machine currently runs X only occasionally as most of the time I use it for building and testing various non-graphical things. Art Haas -- Man once surrendering his reason, has no remaining guard against absurdities the most monstrous, and like a ship without rudder, is the sport of every wind. -Thomas Jefferson to James Smith, 1822 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
2.6.20-rc1-git compilation error drivers/connector/connector.c:138: error: ?struct work_struct? has no member named ?management?
to: linux-kernel@vger.kernel.org cc: [EMAIL PROTECTED] 2.6.20-rc1-git compilation error drivers/connector/connector.c:138: error: ?struct work_struct? has no member named ?management? $ date Tue Dec 19 10:12:17 CST 2006 $ git pull Already up-to-date. $ make -j 8 CHK include/linux/version.h CHK include/linux/utsrelease.h CHK include/linux/compile.h CC drivers/connector/connector.o drivers/connector/connector.c: In function ?cn_call_callback?: drivers/connector/connector.c:138: error: ?struct work_struct? has no member named ?management? drivers/connector/connector.c:138: error: ?struct work_struct? has no member named ?management? make[2]: *** [drivers/connector/connector.o] Error 1 make[1]: *** [drivers/connector] Error 2 make[1]: *** Waiting for unfinished jobs make: *** [drivers] Error 2 make: *** Waiting for unfinished jobs xboom - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
2.6.19-git problem - dvd+rw-usb - :-( not an MMC unit!
to: linux-kernel@vger.kernel.org cc: [EMAIL PROTECTED] 2.6.19-git problem - dvd+rw-usb - :-( not an MMC unit! same pc $ uname -r 2.6.18-1.2849.fc6 $ dvd+rw-mediainfo /dev/dvd-sr0 INQUIRY:[SONY][DVD RW DRU-820A ][2.0b] GET [CURRENT] CONFIGURATION: :-( no media mounted, exiting... $ $uname -a Linux xxx.xxx 2.6.19-200612110945-g9202f325 #21 SMP PREEMPT Mon Dec 11 09:48:52 CST 2006 x86_64 x86_64 x86_64 GNU/Linux $ dvd+rw-mediainfo /dev/dvd-sr0 :-( not an MMC unit! $ any clue? xboom - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: 2.6.19-git libusual: modprobe for usb-storage succeeded, but module is not present
to: linux-kernel@vger.kernel.org cc: [EMAIL PROTECTED], [EMAIL PROTECTED] Re: 2.6.19-git libusual: modprobe for usb-storage succeeded, but module is not present usb 2-2: new high speed USB device using ehci_hcd and address 3 > usb 2-2: configuration #1 chosen from 1 choice > libusual: modprobe for usb-storage succeeded, but module is not present > usb 2-4: new high speed USB device using ehci_hcd and address 5 > usb 2-4: configuration #1 chosen from 1 choice > libusual: modprobe for usb-storage succeeded, but module is not present > usb 2-5: new high speed USB device using ehci_hcd and address 6 > usb 2-5: configuration #1 chosen from 1 choice > libusual: modprobe for usb-storage succeeded, but module is not present I don't know what you've done to accomplish it, but either your modules got separated (e.g. libusual built statically while usb-storage is dynamic), or your modprobe is toast, or 100 other reasons. Just deconfigure CONFIG_BLK_DEV_UB and CONFIG_USB_LIBUSUAL and forget about it all. I know, I have to think of a workaround for this, but nothing is readily apparent. -- Pete was CONFIG_BLK_DEV_UB=m CONFIG_USB_LIBUSUAL=y now # CONFIG_BLK_DEV_UB is not set # CONFIG_USB_LIBUSUAL is not set works ok thanx xboom - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
2.6.19-git libusual: modprobe for usb-storage succeeded, but module is not present
to: linux-kernel@vger.kernel.org cc: [EMAIL PROTECTED] 2.6.19-git libusual: modprobe for usb-storage succeeded, but module is not present Linux version 2.6.19-200612081830-g17097758 ([EMAIL PROTECTED]) (gcc version 4.1.1 20061011 ) #16 SMP PREEMPT Fri Dec 8 18:37:41 CST 2006 Command line: ro root=/dev/VolGroup00/LogVol00 rhgb mem=3583M ... AMD Athlon(tm) 64 X2 Dual Core Processor 4200+ stepping 01 ... usbcore: registered new interface driver usbfs usbcore: registered new interface driver hub usbcore: registered new device driver usb ... usbcore: registered new interface driver libusual usbcore: registered new interface driver hiddev usbcore: registered new interface driver usbhid drivers/usb/input/hid-core.c: v2.6:USB HID core driver ... ohci_hcd: 2006 August 04 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI) ACPI: PCI Interrupt Link [APCF] enabled at IRQ 23 ACPI: PCI Interrupt :00:0b.0[A] -> Link [APCF] -> GSI 23 (level, low) -> IRQ 23 PCI: Setting latency timer of device :00:0b.0 to 64 ohci_hcd :00:0b.0: OHCI Host Controller ohci_hcd :00:0b.0: new USB bus registered, assigned bus number 1 ohci_hcd :00:0b.0: irq 23, io mem 0xfe02f000 usb usb1: configuration #1 chosen from 1 choice hub 1-0:1.0: USB hub found hub 1-0:1.0: 8 ports detected ACPI: PCI Interrupt Link [APCL] enabled at IRQ 22 ACPI: PCI Interrupt :00:0b.1[B] -> Link [APCL] -> GSI 22 (level, low) -> IRQ 22 PCI: Setting latency timer of device :00:0b.1 to 64 ehci_hcd :00:0b.1: EHCI Host Controller ehci_hcd :00:0b.1: new USB bus registered, assigned bus number 2 ehci_hcd :00:0b.1: debug port 1 PCI: cache line size of 64 is not supported by device :00:0b.1 ehci_hcd :00:0b.1: irq 22, io mem 0xfe02e000 ehci_hcd :00:0b.1: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004 usb usb2: configuration #1 chosen from 1 choice hub 2-0:1.0: USB hub found hub 2-0:1.0: 8 ports detected SCSI subsystem initialized ACPI: PCI Interrupt Link [APC2] enabled at IRQ 17 ACPI: PCI Interrupt :03:09.0[A] -> Link [APC2] -> GSI 17 (level, low) -> IRQ 17 usb 2-1: new high speed USB device using ehci_hcd and address 2 usb 2-1: configuration #1 chosen from 1 choice hub 2-1:1.0: USB hub found hub 2-1:1.0: 4 ports detected usb 2-2: new high speed USB device using ehci_hcd and address 3 usb 2-2: configuration #1 chosen from 1 choice libusual: modprobe for usb-storage succeeded, but module is not present usb 2-4: new high speed USB device using ehci_hcd and address 5 usb 2-4: configuration #1 chosen from 1 choice libusual: modprobe for usb-storage succeeded, but module is not present usb 2-5: new high speed USB device using ehci_hcd and address 6 usb 2-5: configuration #1 chosen from 1 choice libusual: modprobe for usb-storage succeeded, but module is not present ^^^ xboom - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[PATCH] Remove 'volatile' from spinlock_types
Hi. This is a resubmission of patches originally created by Ingo Molnar. The link below is the initial (?) posting of the patch. http://marc.theaimsgroup.com/?l=linux-kernel&m=115217423929806&w=2 Remove 'volatile' from spinlock_types as it causes GCC to generate bad code (see link) and locking should be used on kernel data. Signed-off-by: Art Haas <[EMAIL PROTECTED]> --- diff --git a/include/asm-i386/spinlock_types.h b/include/asm-i386/spinlock_types.h index 59efe84..4da9345 100644 --- a/include/asm-i386/spinlock_types.h +++ b/include/asm-i386/spinlock_types.h @@ -6,13 +6,13 @@ #endif typedef struct { - volatile unsigned int slock; + unsigned int slock; } raw_spinlock_t; #define __RAW_SPIN_LOCK_UNLOCKED { 1 } typedef struct { - volatile unsigned int lock; + unsigned int lock; } raw_rwlock_t; #define __RAW_RW_LOCK_UNLOCKED { RW_LOCK_BIAS } diff --git a/include/asm-x86_64/spinlock_types.h b/include/asm-x86_64/spinlock_types.h index 59efe84..4da9345 100644 --- a/include/asm-x86_64/spinlock_types.h +++ b/include/asm-x86_64/spinlock_types.h @@ -6,13 +6,13 @@ #endif typedef struct { - volatile unsigned int slock; + unsigned int slock; } raw_spinlock_t; #define __RAW_SPIN_LOCK_UNLOCKED { 1 } typedef struct { - volatile unsigned int lock; + unsigned int lock; } raw_rwlock_t; #define __RAW_RW_LOCK_UNLOCKED { RW_LOCK_BIAS } -- Man once surrendering his reason, has no remaining guard against absurdities the most monstrous, and like a ship without rudder, is the sport of every wind. -Thomas Jefferson to James Smith, 1822 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
2.6.19 git compile error - "current_is_keventd" [drivers/net/phy/libphy.ko] undefined
to: linux-kernel@vger.kernel.org cc: [EMAIL PROTECTED] 2006/12/04/18:00 CST Building modules, stage 2. Kernel: arch/x86_64/boot/bzImage is ready (#2) MODPOST 1256 modules WARNING: "current_is_keventd" [drivers/net/phy/libphy.ko] undefined! make[1]: *** [__modpost] Error 1 make: *** [modules] Error 2 xboom - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[PATCH] Remove 'volatile' from spinlocks
Hi. Months ago two patches were posted by Ingo Molnar that removed the 'volatile' keyword from the 'raw_spinlock_t' and 'raw_rwlock_t' structures in the i386 and x86-64 ports. The link below takes you to the initial (?) posting of the patches: http://marc.theaimsgroup.com/?l=linux-kernel&m=115217423929806&w=2 I've been build and running SMP kernels on a dual PIII machine with the i386 version of the patch since then and the kernels have worked well. Perhaps the patch(es) can make it into the 2.6.20 kernel? The i386 version of the patch is below, the x86-64 patch is identical. Art Haas diff --git a/include/asm-i386/spinlock_types.h b/include/asm-i386/spinlock_types.h index 59efe84..4da9345 100644 --- a/include/asm-i386/spinlock_types.h +++ b/include/asm-i386/spinlock_types.h @@ -6,13 +6,13 @@ # error "please don't include this file #endif typedef struct { - volatile unsigned int slock; + unsigned int slock; } raw_spinlock_t; #define __RAW_SPIN_LOCK_UNLOCKED { 1 } typedef struct { - volatile unsigned int lock; + unsigned int lock; } raw_rwlock_t; #define __RAW_RW_LOCK_UNLOCKED { RW_LOCK_BIAS } -- Man once surrendering his reason, has no remaining guard against absurdities the most monstrous, and like a ship without rudder, is the sport of every wind. -Thomas Jefferson to James Smith, 1822 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
kernel 2.6.13-rc6-git3 DVD directory/file names in upercase on usb-dvd in lowercase on ide-dvd
kernel 2.6.13-rc6-git3 DVD directory/file names in upercase on usb-dvd in lowercase on ide-dvd same dvd-media after automount 2.6.11 was ok this is not xserver problem plain console do this in < ls > command any clue ? [EMAIL PROTECTED] - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: Linux-2.6.13-rc6: aic7xxx testers please..-deadlock
kernel 2.6.13-rc1-git7 to 2.6.13-rc5 transfer 72MB/s on aha19160 with 15k rpm seagate with reiserfs3 but possible deadlock in heavy IO - rsync ~5-small files from /mnt/seagate15k/a to /mnt/seagate15k/b ends in middle with deadlock of rsync (3 instances), pdflush, and gam_server all of them in uninteruptible state -- root cannot kill this deadlocked uninterruptibles, so reboot by reset [EMAIL PROTECTED] - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
time-zone problem with kernel 2.6.13-rc4-git1..2
looks like new kernel move me into UTC -0hr zone from my UTC -5hr zone any clue why ? [EMAIL PROTECTED] - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
2.6.12.3 ompilation errors with linux1394.org rev.1315
2.6.12.3 ompilation errors with linux1394.org rev.1315 []$ make && make modules .. LD drivers/ieee1394/built-in.o CC [M] drivers/ieee1394/ieee1394_core.o drivers/ieee1394/ieee1394_core.c: In function hpsbpkt_thread: drivers/ieee1394/ieee1394_core.c:1035: error: too few arguments to function try_to_freeze drivers/ieee1394/ieee1394_core.c: In function ieee1394_init: drivers/ieee1394/ieee1394_core.c:1113: warning: implicit declaration of function class_create drivers/ieee1394/ieee1394_core.c:1113: warning: assignment makes pointer from integer without a cast drivers/ieee1394/ieee1394_core.c:1151: warning: implicit declaration of function class_destroy make[2]: *** [drivers/ieee1394/ieee1394_core.o] Error 1 make[1]: *** [drivers/ieee1394] Error 2 make: *** [drivers] Error 2 xboom - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: 2.6.13-rc2 compilation errors with linux1394.org rev.1296 -rev1308 OK THANX
Re: 2.6.13-rc2 compilation errors with linux1394.org rev.1296 -rev.1308 OK Thanx - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
2.6.13-rc2 compilation errors with linux1394.org rev.1296
2.6.13-rc2 compilation errors with linux1394.org rev.1 []$ make && make modules CHK include/linux/version.h make[1]: `arch/i386/kernel/asm-offsets.s' is up to date. CHK include/linux/compile.h CHK usr/initramfs_list CC [M] drivers/ieee1394/ieee1394_core.o drivers/ieee1394/ieee1394_core.c: In function hpsbpkt_thread: drivers/ieee1394/ieee1394_core.c:1048: error: too many arguments to function refrigerator drivers/ieee1394/ieee1394_core.c: In function ieee1394_init: drivers/ieee1394/ieee1394_core.c:1127: warning: implicit declaration of function class_simple_create drivers/ieee1394/ieee1394_core.c:1127: warning: assignment makes pointer from integer without a cast drivers/ieee1394/ieee1394_core.c:1165: warning: implicit declaration of function class_simple_destroy make[2]: *** [drivers/ieee1394/ieee1394_core.o] Error 1 make[1]: *** [drivers/ieee1394] Error 2 make: *** [drivers] Error 2 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
kernel 2.6.13-rc1-git7 and ieee1394 rev.1294 compilation errors
kernel 2.6.13-rc1-git7 and ieee1394 rev.1294 from ieee1394.org compilation errors []$ make && make modules CHK include/linux/version.h make[1]: `arch/i386/kernel/asm-offsets.s' is up to date. CHK include/linux/compile.h CHK usr/initramfs_list LD drivers/ieee1394/built-in.o CC [M] drivers/ieee1394/ieee1394_core.o drivers/ieee1394/ieee1394_core.c: In function hpsbpkt_thread: drivers/ieee1394/ieee1394_core.c:1048: error: too many arguments to function refrigerator drivers/ieee1394/ieee1394_core.c: In function ieee1394_init: drivers/ieee1394/ieee1394_core.c:1127: warning: implicit declaration of function class_simple_create drivers/ieee1394/ieee1394_core.c:1127: warning: assignment makes pointer from integer without a cast drivers/ieee1394/ieee1394_core.c:1165: warning: implicit declaration of function class_simple_destroy make[2]: *** [drivers/ieee1394/ieee1394_core.o] Error 1 make[1]: *** [drivers/ieee1394] Error 2 make: *** [drivers] Error 2 any clue??? thanx xboom - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: REGRESSION in 2.6.13-rc1: Massive slowdown with Adaptec SCSI
kernel 2.6.13-rc1-git7 after applaying patch transfer back to 72MB/s on aha19160 with 15k rpm seagate with reiserfs3 but possible deadlock in heavy IO - rsync ~5-files from /mnt/seagate15k/a to /mnt/seagate15k/b ended in middle with deadlock of rsync (3 instances), pdflush, and gam_server in uninteruptible state -- system cannot kill this deadlocked uninterruptibles any clue ??? thanx xboom patch- diff --git a/drivers/scsi/aic7xxx/aic7xxx_osm.c b/drivers/scsi/aic7xxx/aic7xxx_osm.c --- a/drivers/scsi/aic7xxx/aic7xxx_osm.c +++ b/drivers/scsi/aic7xxx/aic7xxx_osm.c @@ -2633,6 +2633,11 @@ static void ahc_linux_set_dt(struct scsi ahc_unlock(ahc, &flags); } +#if 0 +/* FIXME: This code claims to support IU and QAS. However, the actual + * sequencer code and aic7xxx_core have no support for these parameters and + * will get into a bad state if they're negotiated. Do not enable this + * unless you know what you're doing */ static void ahc_linux_set_qas(struct scsi_target *starget, int qas) { struct Scsi_Host *shost = dev_to_shost(starget->dev.parent); @@ -2688,6 +2693,7 @@ static void ahc_linux_set_iu(struct scsi ppr_options, AHC_TRANS_GOAL, FALSE); ahc_unlock(ahc, &flags); } +#endif static struct spi_function_template ahc_linux_transport_functions = { .set_offset = ahc_linux_set_offset, @@ -2698,10 +2704,12 @@ static struct spi_function_template ahc_ .show_width = 1, .set_dt = ahc_linux_set_dt, .show_dt= 1, +#if 0 .set_iu = ahc_linux_set_iu, .show_iu= 1, .set_qas= ahc_linux_set_qas, .show_qas = 1, +#endif }; - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[PATCH] Change fb.h to compile with GCC-4.0
Hi. The current GCC cvs code does not like the include/linux/fb.h file: In file included from drivers/video/aty/atyfb_base.c:63: include/linux/fb.h:865: error: array type has incomplete element type This error is due to recent changes in GCC. A thread discussing this change can be found by following the link below: http://gcc.gnu.org/ml/gcc/2005-02/msg00053.html The patch moves the array declaration after the definition of the fb_modelist structure, and with this small change GCC is happy once again. Maybe this can sneak in for 2.6.11? Art Haas = include/linux/fb.h 1.94 vs edited = --- 1.94/include/linux/fb.h 2005-01-20 23:01:17 -06:00 +++ edited/include/linux/fb.h 2005-02-15 11:38:28 -06:00 @@ -862,7 +862,6 @@ /* drivers/video/modedb.c */ #define VESA_MODEDB_SIZE 34 -extern const struct fb_videomode vesa_modes[]; extern void fb_var_to_videomode(struct fb_videomode *mode, struct fb_var_screeninfo *var); extern void fb_videomode_to_var(struct fb_var_screeninfo *var, @@ -906,6 +905,8 @@ u32 vmode; u32 flag; }; + +extern const struct fb_videomode vesa_modes[]; struct fb_modelist { struct list_head list; - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: 2.6.11-rc2 TCP ignores PMTU ICMP (Re: Linux 2.6.11-rc2)
On Fri, Jan 28, 2005 at 02:33:10AM +0100, Patrick McHardy wrote: > Here is the fix for everyone. Please report back if it doesn't > solve the problem. Thanks. > > [ ... snip ... ] Success!!! Art Haas -- Man once surrendering his reason, has no remaining guard against absurdities the most monstrous, and like a ship without rudder, is the sport of every wind. -Thomas Jefferson to James Smith, 1822 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[PATCH] #endif warnings cleanup
Here's a trivial patch that changes ... #endif BLAH to #endif /* BLAH */ gcc-3.0 will flag this. Patch is relative to 2.4.5-ac13. Thanks to everyone working on the kernel! Art Haas == --- linux-2.4.5-ac13/include/asm-mips/watch.h.orig Sat May 13 10:31:25 2000 +++ linux-2.4.5-ac13/include/asm-mips/watch.h Mon Jun 11 10:15:56 2001 @@ -35,4 +35,4 @@ if (watch_available)\ __watch_reenable() -#endif __ASM_WATCH_H +#endif /* __ASM_WATCH_H */ --- linux-2.4.5-ac13/include/asm-m68k/pgtable.h.origMon Nov 27 20:00:49 2000 +++ linux-2.4.5-ac13/include/asm-m68k/pgtable.h Mon Jun 11 10:15:56 2001 @@ -160,7 +160,7 @@ #define pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) }) #define swp_entry_to_pte(x)((pte_t) { (x).val }) -#endif CONFIG_SUN3 +#endif /* CONFIG_SUN3 */ #endif /* !__ASSEMBLY__ */ --- linux-2.4.5-ac13/include/asm-m68k/sun3-head.h.orig Sat Sep 4 15:06:41 1999 +++ linux-2.4.5-ac13/include/asm-m68k/sun3-head.h Mon Jun 11 10:15:56 2001 @@ -9,4 +9,4 @@ #define FC_SUPERD5 #define FC_CPU 7 -#endif __SUN3_HEAD_H +#endif /* __SUN3_HEAD_H */ --- linux-2.4.5-ac13/include/asm-arm/arch-sa1100/SA-1101.h.orig Tue Feb 13 16:13:44 2001 +++ linux-2.4.5-ac13/include/asm-arm/arch-sa1100/SA-1101.h Mon Jun 11 10:25:37 +2001 @@ -143,7 +143,7 @@ #define VMCCR_SDTCTest Fld(7,24) /* stale data timeout counter */ #define VMCCR_ForceSelfRef (1<<31) /* Force self refresh */ -#endif LANGUAGE == C +#endif /* LANGUAGE == C */ /* Update FIFO --- linux-2.4.5-ac13/include/asm-ia64/sn/hcl_util.h.origThu Jan 4 15:00:15 2001 +++ linux-2.4.5-ac13/include/asm-ia64/sn/hcl_util.h Mon Jun 11 10:16:03 2001 @@ -21,4 +21,4 @@ extern void *device_info_get(devfs_handle_t); -#endif _ASM_SN_HCL_UTIL_H +#endif /* _ASM_SN_HCL_UTIL_H */ --- linux-2.4.5-ac13/include/asm-ia64/sn/synergy.h.orig Thu Apr 12 14:16:36 2001 +++ linux-2.4.5-ac13/include/asm-ia64/sn/synergy.h Mon Jun 11 10:16:03 2001 @@ -165,4 +165,4 @@ /* Temporary defintions for testing: */ -#endif ASM_IA64_SN_SYNERGY_H +#endif /* ASM_IA64_SN_SYNERGY_H */ --- linux-2.4.5-ac13/include/asm-mips64/smp.h.orig Fri Mar 2 13:30:15 2001 +++ linux-2.4.5-ac13/include/asm-mips64/smp.h Mon Jun 11 10:15:56 2001 @@ -46,4 +46,4 @@ #define NO_PROC_ID (-1) -#endif __ASM_SMP_H +#endif /* __ASM_SMP_H */ --- linux-2.4.5-ac13/include/asm-s390/sigp.h.orig Wed Apr 11 21:02:28 2001 +++ linux-2.4.5-ac13/include/asm-s390/sigp.hMon Jun 11 10:15:56 2001 @@ -154,6 +154,6 @@ return ccode; } -#endif __SIGP__ +#endif /* __SIGP__ */ --- linux-2.4.5-ac13/include/asm-cris/eshlibld.h.orig Fri Apr 6 12:51:19 2001 +++ linux-2.4.5-ac13/include/asm-cris/eshlibld.hMon Jun 11 10:15:56 2001 @@ -109,6 +109,6 @@ # define shlibmod_fork(x) 1 #endif /* ! SHARE_LIB_CORE */ -#endif _cris_relocate_h +#endif /* _cris_relocate_h */ /** END OF FILE eshlibld.h */ --- linux-2.4.5-ac13/include/asm-s390x/sigp.h.orig Wed Apr 11 21:02:29 2001 +++ linux-2.4.5-ac13/include/asm-s390x/sigp.h Mon Jun 11 10:15:57 2001 @@ -153,6 +153,6 @@ return ccode; } -#endif __SIGP__ +#endif /* __SIGP__ */ --- linux-2.4.5-ac13/drivers/net/pcmcia/wavelan_cs.c.orig Wed Apr 25 16:36:23 2001 +++ linux-2.4.5-ac13/drivers/net/pcmcia/wavelan_cs.cMon Jun 11 10:16:04 2001 @@ -22,7 +22,7 @@ #ifdef WAVELAN_ROAMING * Roaming support added 07/22/98 by Justin Seger ([EMAIL PROTECTED]) * based on patch by Joe Finney from Lancaster University. -#endif :-) +#endif /* :-) */ * * Lucent (formerly AT&T GIS, formerly NCR) WaveLAN PCMCIA card: An * Ethernet-like radio transceiver controlled by an Intel 82593 coprocessor. --- linux-2.4.5-ac13/drivers/net/myri_code.h.orig Wed Apr 23 21:01:20 1997 +++ linux-2.4.5-ac13/drivers/net/myri_code.hMon Jun 11 10:15:58 2001 @@ -6284,4 +6284,4 @@ #define MYRI_NetReceiveBadCrcs 0xB8D4 #define MYRI_NetReceiveBytes 0xB8DC -#endif SYMBOL_DEFINES_COMPILED +#endif /* SYMBOL_DEFINES_COMPILED */ --- linux-2.4.5-ac13/drivers/char/pcxx.c.orig Tue May 22 12:23:16 2001 +++ linux-2.4.5-ac13/drivers/char/pcxx.cMon Jun 11 10:15:59 2001 @@ -122,7 +122,7 @@ MODULE_PARM(numports,"1-4i"); # endif -#endif MODULE +#endif /* MODULE */ static int numcards = 1; static int nbdevs = 0; --- linux-2.4.5-ac13/drivers/ide/pdc4030.h.orig Sat Feb 26 22:32:14 2000 +++ linux-2.4.5-ac13/drivers/ide/pdc4030.h Mon Jun 11 10:16:02 2001 @@ -41,4 +41,4 @@ u8 pad[SECTOR_WORDS*4 - 32]; }; -#endif IDE_PROMISE_H +#endif /* IDE_PROMISE_H */ --- linux-2.4.5-ac13/drivers/s390/char/tape.c.orig Wed Apr 11 21:02:28 2001 +++ linux-2.4.5-ac13/drivers/s390/char/tape.c Mon Jun 11 10:16:06 2001 @@ -637,7 +637,7 @@ #endi
Re: Linux support for Microsoft dynamic disks?
On Sunday 13 May 2001 02:46 pm, Guest section DW wrote: > On Sat, May 12, 2001 at 08:34:45PM -0600, Jeff V. Merkey wrote: > > What is your specific question? > > Well, my specific question would be: enough information to support > mounting filesystems that live on a dynamic disk. > > Andries Understanding the layout of a dynamic disk is just a part of the problem as far as I can see it. What if I have two (three,four) dynamic disks with volumes organized into a software stripe (raid0) under Windows? There must be an implementation of MS' software raid in the linux kernel in order to access that "striped filesystem" under linux, I'm I right? Art. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: Linux support for Microsoft dynamic disks?
On Sunday 13 May 2001 03:15 pm, mirabilos wrote: > > I had (on a 2G disk) a NTFS, a FAT and some Linux partitions. It even > refused > to convert to dynamic disk. When it finally did, my Linux partitions > vanished. > You need this support to even be able to use linux on that disk... btw > . It is actiually possible to have both Linux and Windows 2000/Windows XP with dynamic disk on the same hard drive for now. The thing is you have first to install Windows XP, leaving required space for the Linux install, and convert the drive to dynamic disk. When it is sucessfully converted you can reboot from linux floppy and "resize" the last partition on the disk to the place where the free space actually begins. Now it's possible to create some partitions here to install Linux. The point is Windows still thinks there is an unpartioned space there, where you just put your Linux distro :) But thats not the option anyway, and recognising dynamic disks would be a much better solution :). Art. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: 8139too.c and 2.4.4-pre1 kernel burp
Jeff; I am getting the same problem with 2.4.3-ac4. See the attached messages log and system Information. The problem seems to be traffic sensitive, with higher traffic between my system and the Cisco 675 DSL modem at 10.0.0.1. Please let me know if I can provide any further useful information. Art Wagner Jeff Garzik wrote: > > Frank Jacobberger wrote: > > > > Jeff, > > > > I noticed the following on boot with 2.4.4-pre1: > > > > kernel: eth0: Too much work at interrupt, IntrStatus=0x0001. > > > > What is this saying to me :) > > How often does this occur? A lot, or just once or twice? > > -- > Jeff Garzik | Sam: "Mind if I drive?" > Building 1024 | Max: "Not if you don't mind me clawing at the dash > MandrakeSoft | and shrieking like a cheerleader." > - > To unsubscribe from this list: send the line "unsubscribe linux-kernel" in > the body of a message to [EMAIL PROTECTED] > More majordomo info at http://vger.kernel.org/majordomo-info.html > Please read the FAQ at http://www.tux.org/lkml/ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
"device or resource busy" - why??
Hi, could you please help me figure out why is that happenning: After succesfull pivot_root & chroot from initrd, I *do* unmount /initrd, (no directories, no mapped files...), but I can *not* free the memory: "blockdev --flushbufs /dev/rd/0" returns "BLKFLSBUF: Device or resource busy". --- What is keeping it busy? I got really stuck with that. This is linux-2.4.3-pre6 SMP with devfs and blockdev from util-linux-2.11a and cramfs on initrd. I have the following processes running at that moment: - 1 0 /bin/bash 2 1 [keventd] 3 1 [kswapd] 4 1 [kreclaimd] 5 1 [bdflush] 6 1 [kupdated] 137 1 [mdrecoveryd] 160 1 [kreiserfsd] - And the following modules loaded: - reiserfs raid0 md sd_mod sym53c8xx scsi_mod - I thought I've checked everything I could, but with no luck. Could that be a cramfs issue? Thank you, Art. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
2.4.2-ac25 Compile error in es1370.c
Alan; I got the attached compile error in /drivers/sound/es1370.c. If any further information might be helpful please e-mail me or post to LKML. Art Wagner [EMAIL PROTECTED] make[2]: Leaving directory `/usr/src/linux-2.4.2-ac/drivers/scsi' make[2]: Entering directory `/usr/src/linux-2.4.2-ac/drivers/video' make -C aty modules make[3]: Entering directory `/usr/src/linux-2.4.2-ac/drivers/usb/storage' ld -m elf_i386 -r -o usb-storage.o scsiglue.o protocol.o transport.o usb.o initializers.o debug.o freecom.o make[3]: Leaving directory `/usr/src/linux-2.4.2-ac/drivers/usb/storage' make[2]: Leaving directory `/usr/src/linux-2.4.2-ac/drivers/usb' make[3]: Entering directory `/usr/src/linux-2.4.2-ac/drivers/video/aty' make[3]: Nothing to be done for `modules'. make[3]: Leaving directory `/usr/src/linux-2.4.2-ac/drivers/video/aty' make[2]: Leaving directory `/usr/src/linux-2.4.2-ac/drivers/video' es1370.c: In function `es1370_probe': es1370.c:2667: structure has no member named `trigger' es1370.c:2667: structure has no member named `read' make[2]: *** [es1370.o] Error 1 make[2]: Leaving directory `/usr/src/linux-2.4.2-ac/drivers/sound' make[1]: *** [_modsubdir_sound] Error 2 make[1]: Leaving directory `/usr/src/linux-2.4.2-ac/drivers' make: *** [_mod_drivers] Error 2
[2.4.3-pre4] comparing eepro100 & e100
Hi, I'm setting up a new server with Intel 82559 LOM (733470-066), this is ASUS CUR-DLS. While testing the NIC performance with eepro100 driver, I was getting those famous "card reports no resources" and "too much work in interrupt". The perfomance test was actually a "ping -f -s 65507" from another host (both hosts are in 100baseTX-FD IBM switch) and some other program doing basicly the same. I played around with module parameters but had no luck. So I've had to try the Intel supplied driver *e100-1.5.5a*. ftp://download.intel.com/df-support/2250/eng/e100-1.5.5a.tar.gz And it works just rock&solid - no problems at all. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
gcc-2.95.3 release
Hi, gcc-2.95.3 has just been released. Could it be used for kernel compilation, or still better stick with gcc-2.91.66 for "absolute stability"? Thanks, Art. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
union mounts WAS: pivot_root & linuxrc problem
Hi, One more thing I was wondering about, is the pivot_root call the *final* implementation of the "root filesystem changer" for kernle 2.4.*? I've read about a new VFS extension, that allows multiple filesystems to be stacked at a single mount point. As I have understood it allows to *just* mount a new filesystem over the old one and unmount the old one. Is it finally going to come instead of pivot_root? The reason I'm so interested is the opportunity to freely change root, for example, from initrd to harddrive, from harddrive to nfs-mount and so on.. For now I think (am I right?) I can modify sysV init with pivot_root and chroot calls, so that before going to runlevel 1 it will pivot_root & chroot to some ramdisk for example, and for runlevel 2 to nfs-mount. Just examples. But what if I want to change the other partitions like /usr? Like if workstation does not boot, because of harddrive messup, I don't make user wait until it get fixed, but mount all partitions over nfs (identical to those on harddrive), let the user do his work, and after localdrive fixup just mount the *real* partitions over the nfs-mounted, and unmount nfs, all *transparently* to user. In my understanding thats what a new VFS extension should offer. Am I right? If so, does anybody know when it is planned to implement that if its not yet? I've seen new options for "mount" like --bind, --over, but didn't really get how they work or are they implemented at all. Would be glad if anybody could help me with this question. Thanks, Art. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: pivot_root & linuxrc problem
Mike Galbraith wrote: > > Aha.. so that's it. I've never been able to get /linuxrc to execute > automagically. I wonder why /linuxrc executes on Art's system, but > not on mine. I can call it whatever I want and it doesn't run unless > I explicitly start it with init=whatever. > > If it does execute though, that explains init complaining.. pid is > going to be whatever comes after the last thread started (would be > 8 here). It looks like you're only supposed to do setup things in > magic filename /linuxrc and not exec /sbin/init from there. > > In any case, it looks like renaming linuxrc to whatever.sh and booting > with init=/whatever.sh instead will likely make init happy. > > -Mike > > Thank you for your answers, Mike and Russell. They made me sure something weird going on with my setup. And I think a have figured the problem. I was using etherboot to boot the kernel and initrd. I should have told you that before, and I'm sorry I did not. Bootin' localy, with lilo, seems to solve the "PID problem". I guess that's more of mknbi from etherboot question than kernel-related... I have to check more in depth the etherboot documenation/sources. Art. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
pivot_root & linuxrc problem
Hi, may be thats a bug, or I'm doing something really wrong :) from Documentation/initrd.txt: "# cd /new-root # mkdir initrd # pivot_root . initrd Now, the linuxrc process may still access the old root via its executable, shared libraries, standard input/output/error, and its current root directory. All these references are dropped by the following command: # exec chroot . what-follows dev/console 2>&1 Where what-follows is a program under the new root, e.g. /sbin/init" How can I "exec /sbin/init" from "/linuxrc", whatever it is, if "linuxrc" does not get PID=1? Actually, why does NOT "linuxrc" get PID=1? A task list after booting with "root=/dev/rd/0" and "init=/linuxurc", where "linuxrc" is simply "bash", shows that: "swapper" got PID=1, next come other kernel threads with a parent PID=1, and "linuxrc" got PID=7 and a parent PID=1. "init" sees it does not have PID=1 and simply bails out, next happens this: "Note: if linuxrc or any program exec'ed from it terminates for some reason, the old change_root mechanism is invoked (see section "Obsolete root change mechanism")." I probably misunderstand something here, but could you please help? In summary: What is "swapper" and why does it get PID=1 and "linuxrc" does not? If it is supposed to be that way, how do I "exec /sbin/init" from "linuxrc" then? Also why "/linuxrc" is hardcoded in init/main.c, so telling kernel "root=/dev/rd/0 init=/sbin/whatever" does still invoke "/linuxrc"? Thanks a lot, Art. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
filesystem for initrd
Hi, I'm in the process of creating a custom "system partition" for out Linux servers, which is actually an initial ramdisk, coming from hd or network on boot to load necessary drivers and perform important checks before the real filesystems get mounted, and I did not find any info on what filesystems can I use for initrd, are there any restrictions? Mostly interested in cramfs, due to it's compression. Could anybody help me work this out or point to the right place for more info? Thanks a lot, Art. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[2.4.1] "DEVFS+RAID" not working
Hi, as I've posted before in [SoftwareRAID in 2.4.1], I wasn't able to get RAID0 working with devfs enabled and mounted on /dev. The problem had gone after I passed devfs=nomount, and used old device names for configuring/starting raid: /dev/md0 instead of /dev/md/0 /dev/sda1 instead of /dev/scsi/host0/bus0/target0/lun0/part1 and so on. Why? Is that the way it is supposed to be with raid? Why can't I just use devfs naming scheme, and mount it on boot? For some reason I wouldn't want those old device files under /dev. Thanks in advance, Art. - 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/
[SoftwareRAID in 2.4.1] md_import_device() returned -22
Hi, Could anybody please help me to resolve why this error is returned? (md_import_device() returned -22) I'm trying to setup software RAID0 on Asus CUR-DLS (dual channel ULTRA2 SCSI - sym53c896). kernel is pure 2.4.1(SMP), with devfs, sym53c8xx and raid0 support linked in. raidtools are 19990824-0.90 from kernel.org. Here is /etc/raidtab: - raiddev /dev/md/0 raid-level 0 persistent-superblock 1 chunk-size 16 nr-raid-disks 2 device /dev/scsi/host0/bus0/target0/lun0/part1 raid-disk 0 device /dev/scsi/host0/bus0/target1/lun0/part1 raid-disk 1 #same bus because I have only one cable right now :) - And here is what I got with "mkraid /dev/md/0": - handling MD device /dev/md/0 analyzing super-block disk 0: /dev/scsi/host0/bus0/target0/lun0/part1, 17921008kB, raid superblock at 17920896kB disk 1: /dev/scsi/host0/bus0/target1/lun0/part1, 17921008kB, raid superblock at 17920896kB mkraid: aborted, see the syslog and /proc/mdstat for potential clues. -- And syslog says: modprobe: modprobe: Can't locate module block-major-8 kernel: md: could not lock scsi/host0/bus0/target0/lun0/part1, zero-size? Marking faulty. kernel: md: error, md_import_device() returned -22 --- Is that "modprobe" line causing problem? But I have compiled scsi driver in... Or is that a devfs issue or am I doing anything wrong? I would really be glad to get some pointers to the answer, since I can't figure that out myself. Thanks a lot, Art. - 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/
Re: Off-Topic (or maybe on-topic)
David Weinehall wrote: > > On Fri, Oct 27, 2000 at 04:05:50PM +0300, Petko Manolov wrote: > > David Weinehall wrote: > > > > > > You're VERY wrong here. St. Petersburg was the name before the Soviet > > > Union was formed and Russia marched into the Baltics. When the takeover > > > was made, the city was renamed Leningrad (after V.I. Lenin). When the > > > Soviet Union finally fell to pieces and the Baltics retained their freedom, > > > St. Petersburg retained its old name, which it got (if I'm not all wrong) > > > from Peter the Great. > > > > > > AFAIK Tigran is born in the Soviet Union and i thing he knows > > the history of his own country better ;-) > > Uhmmm. You known, being born in the Soviet Union (not a country in its > strictest sense), doesn't necessarily mean you know its history. And > considering that the span of the SSSR was quite enormous... > > Anyhow: > > The city was originally called Nyen and was formed by Swedes. 1703, > Peter the Great invaded the city, and 1712 the city became the capital > of Russia, named St. Petersburg. The name remained St. Petersburg until > 1914, when it was renamed Petrograd. 1918, Moscow was made the capital > of Russia, and 1924 the city got renamed again, this time to Leningrad. > > > Anyway, i am bulgarian and i also am used to call St. Petersburg > > Leningrad ;-)) > > Well, it's time for me, as a Swede, to begin calling it Nyen?! > > Oh, let's end this silly debate. I'm getting sorry I even brought it > up. Hi, but since you did, :) I will insist it is St. Petersburg :) Art. - 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/
Re: i815e related
Alan Cox wrote: > > Is AD1881A (AC'97 audio) codec supported? > > Sort of - it mostly works nowdays but mic recording is unsupported still. > Its solid in 2.2.18pre so should be solid in 2.4.0test9 Ok, thanks, One more thing I'm concerned about (which is not really kernel related), does the sound processing with AC'97 interface have any impact on overall system perfomance in comparison to PCI cards sound processing? Art. - 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/
i815e related
Hi, Our company is going to purchase some hardware to run Linux workstations. We're looking forward into getting i815e based ASUS motherboards, and I will be really glad if you could help me figure out the following hardware support questions I couldn't figure myself. I've searched the LKML archive and Intel and few other sites, but didn't find enough straightforward answers concerning the more/less complete Linux support of ASUS CUSL2-M (i815e) motherboard, (http://www.asus.com.tw/products/motherboard/pentiumpro/cusl2-m/spec.html) Here are the things: Is the 82801BA Contoller Hub (ICH2) supported (would I get ATA-100 working)? Searching through drivers/pci/pci.ids (test9-pre7), I found 82801AB (ICH0?) only. Is AD1881A (AC'97 audio) codec supported? There's also onboard 3C905C NIC ASIC, would that work with 3C905 driver? Thanks a lot, Art. - 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/
Re: 2.2.18pre4 won't boot on i686
Alan et all; I'm attaching a referenced oops of the problem. I can send anyone who is interested a System.map etc if it will help ?? It oops'ed on a ABIT BP6 2x500 Multiprocessor, NOT overclocked. Art Wagner Alan Cox wrote: > > > Both machines here (a desktop, P3/600 on an intel SR440BX motherboard, > > running Red Hat 6.9.5; kernel compiled with kgcc (egcs-1.1.2); a notebook, > > Toshiba Satellite pro 4280 XDVD or some such, mobile P3/500, running Red > > Hat 6.2) hang after "OK, now booting the kernel". > > Yep I've been chasing some other reports and duplicated them here. It blows up > in checksetup - We inherited a 2.4 bug where having zero setup or init > functions in the setup/init segment causes a jump to fishkill > > - > 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/ Unable to handle kernel null pointer dereference at virtual address Current->tss.cr3 = 00101000 %cr3 = 00101000 *pde = oops: cpu: 0 eip: 0010:[<>] E Flags: 00010286 eax: ebx: c023fd10 ecx: c0210e30 edx: c0210e44 __initcall_end +0x0 elf_format+ 0x0 elf_format +0x014 __initcall_start +0x0 __setup_end +0x0 __setup_start+0x0 esi: c0225fbcedi: c0106000 ebp: 01e0 esp: c7ff3fd0 dev_info +0x665cget_options +0x0 Stackpage +0xfd0 ds: 0018 es: oo18 ss:0018 Process swapper (pid:1 Process nr :2, Stackpage=c7ff3000 Stack: c0226dec c012510c 0e00c010609d 0f00 do_basic_setup +0x7c kswapd +0x0 init +0x29 c0225fbc c7ff2000c0107cc7 00090800 dev_info +0x665c kernel_thread +0x23 Call Trace [][][] kswapd +0x0 init+ 0x299 kernel_thread +0x0x23 Code: Bad EIP Value
Re: Linux 2.2.18pre4 make xconfig error
On "make xconfig" error on /fs/nls/Config.in, line 8 if error due to missing "" on n Art Wagner Alan Cox wrote: > > This cleans up a lot of the small bugs, some ext2 races and other smaller > items partly from 2.2.17 partly from the new code. Hopefully the changes > from now on through to 2.2.18 can be smaller as we shake stuff out of the > drivers and other stuff merged. > - > 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/ - 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/