Skip to contentSkip to conversation

2.6.12-rc4+ & udev kobject problem

DISCUSSION Vassilis Virvilis 4 participants 11 messages May 24, 2005 – May 27, 2005

lore
Share & tools
lore
#0 lore raw

I am not sure it is really kobject related but...

My setup:
custom made initramfs
kernel 2.6.12.rc4 git version
udev git version
module-init-tools-3.2-pre5

for /sbin/hotplug I use

#!/bin/sh

if [ ! -L /sys/$DEVPATH/driver ]; then
modprobe $MODALIAS;
# I want to send the event only after mounting the system

   # otherwise the sytem takes forever to boot
   [ -d /sys/class ] && /sbin/udevsend $1;
fi

and for /sbin/coldplug right after start_udev in my init script #!/bin/sh

BUSSES="pci usb";

for bus in $BUSSES; do
for DEV in /sys/bus/$bus/devices/*; do

     [ -L "$DEV" ] && modprobe `cat $DEV/modalias`;

done;
done;

Now for hardware I have two setups.
a) qemu: everything works. I need more testing with more modules instead of builtin but looks promising

b) a VIA board with VIA processor: There I have big problems to boot. At first I thought it was the IDE stuff so I remove it (no good), and since this is not an option make it builtin. backtraces with modules were giving errors in ide_setup_pci_device. The atttached backtrace is with builtin IDE, USB and SCSI.

c) I also tried this to one normal PC with also erratic behavior (but I can't tell if it is the same)

I am not even sure it's kobject related but I thought I should mention it because it is hard to take this backtraces if you don't have a machine to spare for netconsole logging...

.bill

Linux version 2.6.12-rc4 (bill@doddo) (������ gcc 3.3.5 (Debian 1:3.3.5-12)) #1 Tue May 24 12:22:55 EEST 2005
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 000000000e000000 (usable)
BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved)
224MB LOWMEM available.
On node 0 totalpages: 57344
DMA zone: 4096 pages, LIFO batch:1
Normal zone: 53248 pages, LIFO batch:31
HighMem zone: 0 pages, LIFO batch:1
DMI not present.
ACPI: Unable to locate RSDP
Allocating PCI resources starting at 0e000000 (gap: 0e000000:f1ff0000) Built 1 zonelists
Kernel command line: vga=extended rw root=/dev/hda4 break [email protected]/,@192.168.15.1/
netconsole: local port 6665
netconsole: local IP 192.168.15.7
netconsole: interface eth0
netconsole: remote port 6666
netconsole: remote IP 192.168.15.1
netconsole: remote ethernet address ff:ff:ff:ff:ff:ff
No local APIC present or hardware disabled
mapped APIC to ffffd000 (011c1000)
Initializing CPU#0
PID hash table entries: 1024 (order: 10, 16384 bytes)
Detected 733.674 MHz processor.
Using tsc for high-res timesource
Console: colour VGA+ 80x50
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes) Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Memory: 199000k/229376k available (1841k kernel code, 29808k reserved, 909k data, 180k init, 0k highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok. Calibrating delay loop... 1441.79 BogoMIPS (lpj=720896) Mount-cache hash table entries: 512
CPU: After generic identify, caps: 0381b83f 00000000 00000000 00000000 00000000 00000000 00000000
CPU: L1 I Cache: 64K (32 bytes/line), D cache 64K (32 bytes/line)
CPU: L2 Cache: 64K (32 bytes/line)
CPU: After all inits, caps: 0381b93f 00000000 00000000 00000000 00000000 000000dd 00000000
CPU: Centaur VIA Nehemiah stepping 08
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
checking if image is initramfs... it is
Freeing initrd memory: 24700k freed
NET: Registered protocol family 16
PCI: PCI BIOS revision 2.10 entry at 0xfb0c0, last bus=1
PCI: Using configuration type 1
mtrr: v2.0 (20020519)
ACPI: Subsystem revision 20050309
ACPI: Interpreter disabled.
SCSI subsystem initialized
usbcore: registered new driver usbfs
usbcore: registered new driver hub
PCI: Probing PCI hardware
PCI: Probing PCI hardware (bus 00)
PCI: Via IRQ fixup
Boot video device is 0000:01:00.0
Badness in kref_get at lib/kref.c:32

 [<c0103e37>] dump_stack+0x17/0x20
 [<c01a81b1>] kref_get+0x31/0x40
 [<c01a77c4>] kobject_get+0x14/0x20
 [<c01a74dc>] kobject_init+0x2c/0x50
 [<c01a7627>] kobject_register+0x17/0x60
 [<c012f3af>] mod_sysfs_setup+0x3f/0xb0
 [<c0130473>] load_module+0x733/0x9c0
 [<c013078f>] sys_init_module+0x5f/0x1f0
 [<c0102999>] syscall_call+0x7/0xb
Unable to handle kernel NULL pointer dereference at virtual address 00000000
 printing eip:
c01a75a9
*pde = 00000000
Oops: 0002 [#1]
PREEMPT
Modules linked in:
CPU:    0
EIP:    0060:[<c01a75a9>]    Not tainted VLI
EFLAGS: 00010282   (2.6.12-rc4)

EIP is at kobject_add+0x59/0xc0
eax: c032cb08 ebx: ce893ac8 ecx: 00000000 edx: ce893ae4
esi: cdf42000 edi: c032cb10 ebp: cdf43ed8 esp: cdf43ecc
ds: 007b es: 007b ss: 0068
Process modprobe (pid: 22, threadinfo=cdf42000 task=cdfd1a40)

Stack: ce893ac8 ffffffea 00000000 cdf43ef0 c01a762d ce893ac8 ce893ac8
ce893ac8
       ce893a80 cdf43f08 c012f3af ce893ac8 ce800000 00000000 ce893a80
cdf43f94
       c0130473 ce893a80 00000000 00000000 00000030 00000780 00000780
00000758
Call Trace:
 [<c0103e05>] show_stack+0x75/0x90
 [<c0103f59>] show_registers+0x119/0x180
 [<c0104145>] die+0xd5/0x160
 [<c0111438>] do_page_fault+0x2f8/0x682
 [<c01039ff>] error_code+0x4f/0x60
 [<c01a762d>] kobject_register+0x1d/0x60
 [<c012f3af>] mod_sysfs_setup+0x3f/0xb0
 [<c0130473>] load_module+0x733/0x9c0
 [<c013078f>] sys_init_module+0x5f/0x1f0
 [<c0102999>] syscall_call+0x7/0xb
Code: 00 89 c7 58 8b 43 28 85 c0 74 2f be 00 e0 ff ff 21 e6 ff 46 14 85 ff

74 64 8b 43 28 83 c0 08 8d 53 1c 8b 48 04 89 43 1c 89 50 04 <89> 11 89 4a 04 8b 46 08 ff 4e 14 a8 08 75 3c 89 7b 24 53 e8 af
<6>note: modprobe[22] exited with preempt_count 1
PCI: Using IRQ router VIA [1106/0686] at 0000:00:07.0 Initializing Cryptographic API
PCI: Disabling Via external APIC routing
serio: i8042 AUX port at 0x60,0x64 irq 12
serio: i8042 KBD port at 0x60,0x64 irq 1
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
e100: Intel(R) PRO/100 Network Driver, 3.3.6-k2-NAPI
e100: Copyright(c) 1999-2004 Intel Corporation
8139cp: 10/100 PCI Ethernet driver v1.2 (Mar 22, 2004)
8139cp: pci dev 0000:00:0f.0 (id 10ec:8139 rev 10) is not an 8139C+ compatible chip
8139cp: Try the "8139too" driver instead.
8139too Fast Ethernet driver 0.9.27
PCI: Found IRQ 11 for device 0000:00:0f.0
PCI: Sharing IRQ 11 with 0000:00:07.5
eth0: RealTek RTL8139 at 0xce898000, 00:05:8a:00:82:4b, IRQ 11
eth0: Identified 8139 chip type 'RTL-8139C'
netconsole: device eth0 not up yet, forcing it
eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
netconsole: carrier detect appears untrustworthy, waiting 4 seconds
netconsole: network logging started
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
VP_IDE: IDE controller at PCI slot 0000:00:07.1
VP_IDE: chipset revision 6
VP_IDE: not 100% native mode: will probe irqs later
VP_IDE: VIA vt82c686b (rev 40) IDE UDMA100 controller on pci0000:00:07.1

    ide0: BM-DMA at 0xe000-0xe007, BIOS settings: hda:pio, hdb:pio
    ide1: BM-DMA at 0xe008-0xe00f, BIOS settings: hdc:pio, hdd:pio

Probing IDE interface ide0...
Probing IDE interface ide1...
Probing IDE interface ide0...
Probing IDE interface ide1...
Probing IDE interface ide2...
Probing IDE interface ide3...
Probing IDE interface ide4...
Probing IDE interface ide5...
libata version 1.10 loaded.
usbmon: debugs is not available
ohci_hcd: 2004 Nov 08 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI) USB Universal Host Controller Interface driver v2.2
PCI: Found IRQ 11 for device 0000:00:07.2
PCI: Sharing IRQ 11 with 0000:00:07.3
uhci_hcd 0000:00:07.2: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller
uhci_hcd 0000:00:07.2: new USB bus registered, assigned bus number 1 uhci_hcd 0000:00:07.2: irq 11, io base 0x0000e100
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
PCI: Found IRQ 11 for device 0000:00:07.3
PCI: Sharing IRQ 11 with 0000:00:07.2
uhci_hcd 0000:00:07.3: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (#2)
uhci_hcd 0000:00:07.3: new USB bus registered, assigned bus number 2 uhci_hcd 0000:00:07.3: irq 11, io base 0x0000e200
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
Initializing USB Mass Storage driver...
usb 1-1: new full speed USB device using uhci_hcd and address 2 scsi0 : SCSI emulation for USB Mass Storage devices
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
mice: PS/2 mouse device common for all mice
NET: Registered protocol family 2
usb-storage: device found at 2
usb-storage: waiting for device to settle before scanning
IP: routing cache hash table of 2048 buckets, 16Kbytes
TCP established hash table entries: 8192 (order: 4, 65536 bytes) TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
NET: Registered protocol family 1
Freeing unused kernel memory: 180k freed
input: AT Translated Set 2 keyboard on isa0060/serio0
Vendor: Generic Model: Rev:
Type: Direct-Access ANSI SCSI revision: 02
SCSI device sda: 125952 512-byte hdwr sectors (64 MB)
sda: Write Protect is off
sda: Mode Sense: 03 00 00 00
sda: assuming drive cache: write through
SCSI device sda: 125952 512-byte hdwr sectors (64 MB)
sda: Write Protect is off
sda: Mode Sense: 03 00 00 00
sda: assuming drive cache: write through
sda: sda4
Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0 Attached scsi generic sg0 at scsi0, channel 0, id 0, lun 0, type 0
usb-storage: device scan complete
usb 1-1: USB disconnect, address 2
modprobe: FATAL: Module usb:v08ECp0834d0100dc00dsc00dp00ic08isc06ip50 not found.

#1 lore raw
Quoted 7 lines · Vassilis Virvilis

usbcore: registered new driver usbfs
usbcore: registered new driver hub
PCI: Probing PCI hardware
PCI: Probing PCI hardware (bus 00)
PCI: Via IRQ fixup
Boot video device is 0000:01:00.0 Badness in kref_get at lib/kref.c:32

Quoted 9 lines
 [<c0103e37>] dump_stack+0x17/0x20
 [<c01a81b1>] kref_get+0x31/0x40
 [<c01a77c4>] kobject_get+0x14/0x20
 [<c01a74dc>] kobject_init+0x2c/0x50
 [<c01a7627>] kobject_register+0x17/0x60
 [<c012f3af>] mod_sysfs_setup+0x3f/0xb0
 [<c0130473>] load_module+0x733/0x9c0
 [<c013078f>] sys_init_module+0x5f/0x1f0
 [<c0102999>] syscall_call+0x7/0xb

Oh, that's not good at all. What module were you loading at this point in time?

thanks,

greg k-h

-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

#2 lore raw
In reply to Vassilis Virvilis
Quoted 10 lines · Greg KH
Quoted 3 lines · Vassilis Virvilis
[<c0130473>] load_module+0x733/0x9c0
[<c013078f>] sys_init_module+0x5f/0x1f0
[<c0102999>] syscall_call+0x7/0xb

Oh, that's not good at all. What module were you loading at this point in time?

That's the point I don't know...

I tried to enable modules-init-tools logging facilities but they use syslog. I put descriptive printf instead but I still didn't get any info at all. Is vsysolg output visible before syslog runs? How can I persuade modrpobe to be more verbose?

The modprobe is a custom port of mine to klibc (the porting was quite straight forward patches available to klibc mailing list). I don't expect problems because of that but you never know...

In the mean time I disabled udev and the crash still happens.

The crash also happens in qemu now although not with the same freequncy. It is crashing 30-50% of the times and not always.

At first I thought it was IDE related. Then I saw the crash happen without IDE at all. Now I have build the kernel so many times I can't tell the configuration anymore...

So give me a hint how to trace it and I will try to hunt it down...

.bill

-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

#3 lore raw
In reply to Vassilis Virvilis
Quoted 12 lines · Vassilis Virvilis
Quoted 10 lines · Greg KH
Quoted 3 lines · Vassilis Virvilis
[<c0130473>] load_module+0x733/0x9c0
[<c013078f>] sys_init_module+0x5f/0x1f0
[<c0102999>] syscall_call+0x7/0xb

Oh, that's not good at all. What module were you loading at this point in time?

Quoted 6 lines

That's the point I don't know...

I tried to enable modules-init-tools logging facilities but they use syslog. I put descriptive printf instead but I still didn't get any info at all. Is vsysolg output visible before syslog runs? How can I persuade modrpobe to be more verbose?

You can modify it to do so.

Quoted 3 lines

The modprobe is a custom port of mine to klibc (the porting was quite straight forward patches available to klibc mailing list). I don't expect problems because of that but you never know...

Hm, at this point in time, I'd suspect your modprobe as I haven't seen this error reported before. But you never know...

Good luck,

greg k-h

-------------------------------------------------------
SF.Net email is sponsored by: GoToMeeting - the easiest way to collaborate online with coworkers and clients while avoiding the high cost of travel and communications. There is no equipment to buy and you can meet as often as you want. Try it free.http://ads.osdn.com/?ad_idt02&alloc_id135&op=click
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

#4 lore raw
In reply to Vassilis Virvilis
Quoted 18 lines · Greg KH
Quoted 16 lines · Vassilis Virvilis
Quoted 11 lines · Greg KH
Quoted 3 lines · Vassilis Virvilis
[<c0130473>] load_module+0x733/0x9c0
[<c013078f>] sys_init_module+0x5f/0x1f0
[<c0102999>] syscall_call+0x7/0xb

Oh, that's not good at all. What module were you loading at this point in time?

That's the point I don't know...

Quoted 7 lines
Quoted 4 lines

I tried to enable modules-init-tools logging facilities but they use syslog. I put descriptive printf instead but I still didn't get any info at all. Is vsysolg output visible before syslog runs? How can I persuade modrpobe to be more verbose?

You can modify it to do so.

Well early in boot process (initramfs) I can't seem to manage to echo anything. Is something like this supposed to work? My /sbin/hotplug:

#!/bin/sh
if [ ! -L /sys/$DEVPATH/driver ]; then

    echo "**** modprobe $MODALIAS";
    echo "**** modprobe $MODALIAS" >&2; #maybe we have stderr
    modprobe $MODALIAS;

fi

Quoted 4 lines

Hm, at this point in time, I'd suspect your modprobe as I haven't seen this error reported before. But you never know...

Well modulo the --long-arguments it passes the portion of test suite I tested against... Anyway I am running it from an initiramfs image before real root setup. Maybe this setup is not very common yet...

If I manage to narrow it down I will post again.

.bill

-------------------------------------------------------
SF.Net email is sponsored by: GoToMeeting - the easiest way to collaborate online with coworkers and clients while avoiding the high cost of travel and communications. There is no equipment to buy and you can meet as often as you want. Try it free.http://ads.osdn.com/?ad_idt02&alloc_id135&op=click
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

#5 lore raw
In reply to Vassilis Virvilis
Quoted 30 lines · Vassilis Virvilis
Quoted 18 lines · Greg KH
Quoted 16 lines · Vassilis Virvilis
Quoted 11 lines · Greg KH
Quoted 3 lines · Vassilis Virvilis
[<c0130473>] load_module+0x733/0x9c0
[<c013078f>] sys_init_module+0x5f/0x1f0
[<c0102999>] syscall_call+0x7/0xb

Oh, that's not good at all. What module were you loading at this point in time?

That's the point I don't know...

Quoted 7 lines
Quoted 4 lines

I tried to enable modules-init-tools logging facilities but they use syslog. I put descriptive printf instead but I still didn't get any info at all. Is vsysolg output visible before syslog runs? How can I persuade modrpobe to be more verbose?

You can modify it to do so.

Well early in boot process (initramfs) I can't seem to manage to echo anything. Is something like this supposed to work? My /sbin/hotplug:

Quoted 6 lines

#!/bin/sh
if [ ! -L /sys/$DEVPATH/driver ]; then
echo "**** modprobe $MODALIAS";
echo "**** modprobe $MODALIAS" >&2; #maybe we have stderr modprobe $MODALIAS;
fi

Try /dev/kmsg?

Kay

-------------------------------------------------------
SF.Net email is sponsored by: GoToMeeting - the easiest way to collaborate online with coworkers and clients while avoiding the high cost of travel and communications. There is no equipment to buy and you can meet as often as you want. Try it free.http://ads.osdn.com/?ad_idt02&alloc_id135&op=click
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

#6 lore raw
In reply to Vassilis Virvilis
Quoted 3 lines · Kay Sievers

Try /dev/kmsg?

Kay,

thanks for the tip. My /sbin/hotplug now is like this:
#!/bin/sh
if [ ! -L /sys/$DEVPATH/driver ]; then
echo "*** modprobing '$MODALIAS' **" > /dev/kmsg; modprobe $MODALIAS;
fi
and I can see a lot of empty modprobe calls like this:

sounds familiar?

.bill

odule: runaway loop modprobe char-major-1-11
request_module: runaway loop modprobe char-major-1-11
request_module: runaway loop modprobe char-major-1-11
request_module: runaway loop modprobe char-major-1-11
request_module: runaway loop modprobe char-major-1-11
PCI: Using IRQ router PIIX/ICH [8086/7000] at 0000:00:01.0
*** modprobing 'pci:v000010ECd00008029sv00000000sd00000000bc02sc00i00
' **
*** modprobing '' **
*** modprobing '' **
*** modprobing 'pci:v00001013d000000B8sv00000000sd00000000bc03sc00i00
' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
Initializing Cryptographic API
PCI: PIIX3: Enabling Passive Release on 0000:00:01.0
Limiting direct PCI/PCI transfers.
Activating ISA DMA hang workarounds.
modprobe: FATAL: Module pci:v000010ECd00008029sv00000000sd00000000bc02sc00i00 not found.
serio: i8042 AUX port at 0x60,0x64 irq 12
serio: i8042 KBD port at 0x60,0x64 irq 1
io scheduler noop registered
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize ne2k-pci.c:v1.03 9/22/2003 D. Becker/P. Gortmaker
http://www.scyld.com/network/ne2k-pci.html
PCI: Found IRQ 11 for device 0000:00:03.0
eth0: RealTek RTL-8029 found at 0xc100, IRQ 11, 52:54:00:12:34:56.
netconsole: device eth0 not up yet, forcing it
netconsole: carrier detect appears untrustworthy, waiting 4 seconds
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
netconsole: network logging started
*** modprobing 'pci:v00008086d00007000sv00000000sd00000000bc06sc01i00
' **
*** modprobing 'pci:v00008086d00001237sv00000000sd00000000bc06sc00i00
' **
*** modprobing '' **
*** modprobing '' **
mice: PS/2 mouse device common for all mice
NET: Registered protocol family 2
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
IP: routing cache hash table of 1024 buckets, 8Kbytes
TCP established hash table entries: 8192 (order: 4, 65536 bytes)
TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
NET: Registered protocol family 1
Freeing unused kernel memory: 156k freed
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
RAM (4096 kB) at 0xxf0000000, Cirrus Logic chipset on PCI bus
cirrusfb: Driver for Cirrus Logic based graphic boards, v2.0-pre2
*** modprobing '' **
input: AT Translated Set 2 keyboard on isa0060/serio0
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
modprobe: FATAL: Module pci:v00008086d00007000sv00000000sd00000000bc06sc01i00 not found.
modprobe: FATAL: Module pci:v00008086d00001237sv00000000sd00000000bc06sc00i00 not found. *** modprobing '' **
*** modprobing 'pci:v00008086d00007010sv00000000sd00000000bc01sc01i00
' **
*** modprobing '' **
*** modprobing '' **
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx *** modprobing '' **
*** modprobing '' **
PIIX3: IDE controller at PCI slot 0000:00:01.1
PIIX3: chipset revision 0
PIIX3: not 100% native mode: will probe irqs later

    ide0: BM-DMA at 0xc000-0xc007, BIOS settings: hda:pio, hdb:pio
    ide1: BM-DMA at 0xc008-0xc00f, BIOS settings: hdc:pio, hdd:pio

hda: QEMU HARDDISK, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
*** modprobing '' **
hdc: QEMU CD-ROM, ATAPI CD/DVD-ROM drive
ide1 at 0x170-0x177,0x376 on irq 15
*** modprobing '' **
*** modprobing '' **
*** modprobing '' **
hda: max request size: 128KiB
hda: 125952 sectors (64 MB) w/256KiB Cache, CHS=1015/2/62
hda: cache flushes not supported
*** modprobing '' **
hda: hda4
*** modprobing '' **
*** modprobing '' **
EXT3-fs: mounted filesystem with ordered data mode. kjournald starting. Commit interval 5 seconds

#7 lore raw
In reply to Vassilis Virvilis

Vassilis Virvilis wrote:

OK false alarm. Sorry everyone...

Quoted 6 lines

Kay Sievers wrote:
and I can see a lot of empty modprobe calls like this:

*** modprobing '' **
*** modprobing '' **
*** modprobing '' **

is in fact something like this
*** modprobing '' for /sys//class/tty/ttyp4/driver ** *** modprobing '' for /sys//class/tty/ttyp5/driver ** *** modprobing '' for /sys//class/tty/ttyp6/driver **

I echoed DEVPATH after Prarit Bhargava suggestion.
But shouldn't modprobe not beeing called if is MODALIAS is null string

.bill

-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

#8 lore raw
In reply to Vassilis Virvilis
Quoted 9 lines · Vassilis Virvilis
Quoted 3 lines · Kay Sievers

Try /dev/kmsg?

Kay,

thanks for the tip. My /sbin/hotplug now is like this:
#!/bin/sh
if [ ! -L /sys/$DEVPATH/driver ]; then

Quoted 6 lines
   echo "*** modprobing '$MODALIAS' **" > /dev/kmsg;
   modprobe $MODALIAS;

fi
and I can see a lot of empty modprobe calls like this:

sounds familiar?

You should only call modprobe if you actually have a MODALIAS env variable, right? Otherwise it doesn't make much sense :)

And care to modify your modprobe binary to print out exactly which module it is loading?

thanks,

greg k-h

-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

#9 lore raw
In reply to Vassilis Virvilis
Quoted 3 lines · Vassilis Virvilis

I echoed DEVPATH after Prarit Bhargava suggestion.
But shouldn't modprobe not beeing called if is MODALIAS is null string

linux-hotplug-devel Colleagues,

I've privately emailed Bill with a quick-and-dirty solution for the problems he was experiencing with the system boot. I wasn't sure if he was having the same problems I've had with 2.6.12 and old packages but it looks like he was.

I'm surprised we haven't had more people on this list wondering about the strange behaviour of their initrd/initramfs :).

When I looked at the original output Bill had posted I noticed that it looked like drivers were attempting to load at the same time and because of this he eventually hit an oops. I (and an engineer from another company working on another arch) have hit the same problem due to the requirements of our current work.

(Unfortunately, I'm more familiar with RedHat than I am with other distro's -- please bear with me.)

The issue is that David Howells posted a patch that changed the behaviour of kallsyms/insmod/rmmod sometime ago. The patch is correct in what it does, however, the patch requires that /sbin/sh must be aware of pid returns by wait().

	http://lkml.org/lkml/2005/1/17/132

There are two fixes that I'm aware of, and depending on what you're doing they are both "correct" (although in the case of developing in 2.6.12, IMO, you _must_ do the latter).

The first fix is for the situation where you're developing for a specific distribution. If this is the case, then you should back out the patch above and continue moving forward.

The second fix, and again you must do this if you're developing 2.6.12, is to *update the mkinitrd package* which has a new version of /bin/sh.

P.

-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

#10 lore raw
In reply to Vassilis Virvilis
Quoted 2 lines · Greg KH

You should only call modprobe if you actually have a MODALIAS env variable, right? Otherwise it doesn't make much sense :)

Well I know that now. At first I believed the kernel will not invoke the hotplug script if MODALIAS is empty.

Quoted 3 lines

And care to modify your modprobe binary to print out exactly which module it is loading?

Sure,

Unscientific observation: Echoes, printf and messages are helping it not to crash. Also in qemu that the rate of execution is slower crashes are rare although I suspect qemu just sits there eating all the cpu cycles in case of a crash.

I put a printf just before recursion. Normally modprobe calls insmod (routine not program) if the list of modules to load has only one module left other wise it extracts and call insmod recursively.

That means module a that depends on module b that depends on module c goes like this a:b:c

loading a no
loading b no
loading c yes
insmod c
insmod b
insmod a

that is if another modprobe process does not interrupt the sequence with
its own set of depedencies...

and finally here is the log:

.bill

Linux version 2.6.12-rc5 (bill@doddo) (������ gcc 3.3.5 (Debian 1:3.3.5-12)) #19 Fri May 27 11:05:29 EEST 2005 BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 000000000e000000 (usable)
BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved)
224MB LOWMEM available.
On node 0 totalpages: 57344
DMA zone: 4096 pages, LIFO batch:1
Normal zone: 53248 pages, LIFO batch:31
HighMem zone: 0 pages, LIFO batch:1
DMI not present.
ACPI: Unable to locate RSDP
Allocating PCI resources starting at 0e000000 (gap: 0e000000:f1ff0000)
Built 1 zonelists
Kernel command line: root=/dev/sda4 [email protected]/,@192.168.15.1/ vga=0xf07
netconsole: local port 6665
netconsole: local IP 192.168.15.7
netconsole: interface eth0
netconsole: remote port 6666
netconsole: remote IP 192.168.15.1
netconsole: remote ethernet address ff:ff:ff:ff:ff:ff
No local APIC present or hardware disabled
mapped APIC to ffffd000 (011c1000)
Initializing CPU#0
PID hash table entries: 1024 (order: 10, 16384 bytes)
Detected 733.397 MHz processor.
Using tsc for high-res timesource
Console: colour VGA+ 80x60
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Memory: 222032k/229376k available (1341k kernel code, 6800k reserved, 696k data, 156k init, 0k highmem) Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay loop... 490.49 BogoMIPS (lpj=245248)
Mount-cache hash table entries: 512
CPU: After generic identify, caps: 0381b83f 00000000 00000000 00000000 00000000 00000000 00000000
CPU: L1 I Cache: 64K (32 bytes/line), D cache 64K (32 bytes/line)
CPU: L2 Cache: 64K (32 bytes/line)
CPU: After all inits, caps: 0381b93f 00000000 00000000 00000000 00000000 000000dd 00000000
CPU: Centaur VIA Nehemiah stepping 08
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
checking if image is initramfs... it is
Freeing initrd memory: 2454k freed
NET: Registered protocol family 16
PCI: PCI BIOS revision 2.10 entry at 0xfb0c0, last bus=1
PCI: Using configuration type 1
mtrr: v2.0 (20020519)
ACPI: Subsystem revision 20050309
ACPI: Interpreter disabled.
PCI: Probing PCI hardware
PCI: Probing PCI hardware (bus 00)
PCI: Via IRQ fixup
Boot video device is 0000:01:00.0
request_module: runaway loop modprobe char-major-1-11
request_module: runaway loop modprobe char-major-1-11
request_module: runaway loop modprobe char-major-1-11
request_module: runaway loop modprobe char-major-1-11
request_module: runaway loop modprobe char-major-1-11
PCI: Using IRQ router VIA [1106/0686] at 0000:00:07.0
loading /lib/modules/2.6.12-rc5/kernel/drivers/video/savage/savagefb.ko? no
loading /lib/modules/2.6.12-rc5/kernel/drivers/video/cfbcopyarea.ko? no
loading /lib/modules/2.6.12-rc5/kernel/drivers/video/cfbimgblt.ko? no
loading /lib/modules/2.6.12-rc5/kernel/drivers/video/cfbfillrect.ko? no
loading /lib/modules/2.6.12-rc5/kernel/drivers/video/softcursor.ko? no
loading /lib/modules/2.6.12-rc5/kernel/drivers/video/fb.ko? yes
insmod /lib/modules/2.6.12-rc5/kernel/drivers/video/fb.ko
Badness in kref_get at lib/kref.c:32

 [<c01a64ca>] kref_get+0x2a/0x30
 [<c01a5b32>] kobject_get+0x12/0x20
 [<c01a587a>] kobject_init+0x2a/0x40
 [<c01a59a5>] kobject_register+0x15/0x60
 [<c012e87d>] mod_sysfs_setup+0x3d/0xb0
 [<c012f9eb>] load_module+0x7db/0xaa0
 [<c012fd32>] sys_init_module+0x52/0x1f0
 [<c0102929>] syscall_call+0x7/0xb
Unable to handle kernel NULL pointer dereference at virtual address 00000000
 printing eip:
c01a5937
*pde = 00000000
Oops: 0002 [#1]
PREEMPT 
Modules linked in:
CPU:    0
EIP:    0060:[<c01a5937>]    Not tainted VLI
EFLAGS: 00010282   (2.6.12-rc5) 

EIP is at kobject_add+0x57/0xb0
eax: c028dac8 ebx: ce819148 ecx: 00000000 edx: ce819164
esi: cd768000 edi: c028dad0 ebp: ce81b000 esp: cd769ee0
ds: 007b es: 007b ss: 0068
Process modprobe (pid: 285, threadinfo=cd768000 task=cd75b5d0)

Stack: ce819148 ffffffea 00000000 c01a59ab ce819148 ce819148 ce819148 ce819100 
       c012e87d ce819148 ce800000 00000000 ce819100 c012f9eb ce819100 00000000 
       00000000 0000001e 000004b0 000004b0 00000488 ce8170f0 cd6e11e0 ce819100 
Call Trace:
 [<c01a59ab>] kobject_register+0x1b/0x60
 [<c012e87d>] mod_sysfs_setup+0x3d/0xb0
 [<c012f9eb>] load_module+0x7db/0xaa0
 [<c012fd32>] sys_init_module+0x52/0x1f0
 [<c0102929>] syscall_call+0x7/0xb
Code: 00 89 c7 58 8b 43 28 85 c0 74 2f be 00 e0 ff ff 21 e6 ff 46 14 85 ff 74 56 8b 43 28 83 c0 08 8d 53 1c 8b 48 04 89 43 1c 89 50 04 <89> 11 89 4a 04 8b 46 08 ff 4e 14 a8 08 75 2e 89 7b 24 53 e8 c1 
 <6>note: modprobe[285] exited with preempt_count 1
*** hotplug 'subsystem=pci' 'MODALIAS=pci:v00001106d00003058sv00001106sd00003058bc04sc01i00

' 'DEVPATH=/devices/pci0000:00/0000:00:07.5' ***
*** hotplug 'subsystem=pci' 'MODALIAS=pci:v00001106d00003038sv00000925sd00001234bc0Csc03i00 ' 'DEVPATH=/devices/pci0000:00/0000:00:07.3' ***
loading /lib/modules/2.6.12-rc5/kernel/drivers/i2c/chips/via686a.ko? no loading /lib/modules/2.6.12-rc5/kernel/drivers/i2c/i2c-sensor.ko? no
loading /lib/modules/2.6.12-rc5/kernel/drivers/i2c/i2c-core.ko? yes
insmod /lib/modules/2.6.12-rc5/kernel/drivers/i2c/i2c-core.ko
loading /lib/modules/2.6.12-rc5/kernel/drivers/usb/host/uhci-hcd.ko? no loading /lib/modules/2.6.12-rc5/kernel/drivers/usb/core/usbcore.ko? yes insmod /lib/modules/2.6.12-rc5/kernel/drivers/usb/core/usbcore.ko
loading /lib/modules/2.6.12-rc5/kernel/sound/pci/snd-via82xx.ko? no
loading /lib/modules/2.6.12-rc5/kernel/sound/pci/ac97/snd-ac97-codec.ko? no loading /lib/modules/2.6.12-rc5/kernel/sound/core/snd-pcm.ko? no
loading /lib/modules/2.6.12-rc5/kernel/sound/core/snd-timer.ko? no
loading /lib/modules/2.6.12-rc5/kernel/sound/core/snd-page-alloc.ko? no loading /lib/modules/2.6.12-rc5/kernel/sound/drivers/mpu401/snd-mpu401-uart.ko? no loading /lib/modules/2.6.12-rc5/kernel/sound/core/snd-rawmidi.ko? no
loading /lib/modules/2.6.12-rc5/kernel/sound/core/seq/snd-seq-device.ko? no loading /lib/modules/2.6.12-rc5/kernel/sound/core/snd.ko? no
loading /lib/modules/2.6.12-rc5/kernel/sound/soundcore.ko? yes
insmod /lib/modules/2.6.12-rc5/kernel/sound/soundcore.ko
Initializing Cryptographic API
PCI: Disabling Via external APIC routing
*** hotplug 'subsystem=pci' 'MODALIAS=pci:v00001106d00000571sv00001106sd00000571bc01sc01i8a ' 'DEVPATH=/devices/pci0000:00/0000:00:07.1' ***
loading /lib/modules/2.6.12-rc5/kernel/drivers/ide/pci/via82cxxx.ko? no loading /lib/modules/2.6.12-rc5/kernel/drivers/ide/ide-core.ko? yes
insmod /lib/modules/2.6.12-rc5/kernel/drivers/ide/ide-core.ko
*** hotplug 'subsystem=pci' 'MODALIAS=pci:v00001106d00000686sv00001106sd00000000bc06sc01i00 ' 'DEVPATH=/devices/pci0000:00/0000:00:07.0' ***
serio: i8042 AUX port at 0x60,0x64 irq 12
serio: i8042 KBD port at 0x60,0x64 irq 1
io scheduler noop registered
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize 8139too Fast Ethernet driver 0.9.27
PCI: Found IRQ 11 for device 0000:00:0f.0
PCI: Sharing IRQ 11 with 0000:00:07.5
loading /lib/modules/2.6.12-rc5/kernel/drivers/parport/parport_pc.ko? no loading /lib/modules/2.6.12-rc5/kernel/drivers/parport/parport.ko? yes insmod /lib/modules/2.6.12-rc5/kernel/drivers/parport/parport.ko
eth0: RealTek RTL8139 at 0xce81e000, 00:05:8a:00:82:4b, IRQ 11
eth0: Identified 8139 chip type 'RTL-8139C'
mice: PS/2 mouse device common for all mice
NET: Registered protocol family 2
IP: routing cache hash table of 2048 buckets, 16Kbytes
TCP established hash table entries: 8192 (order: 4, 65536 bytes)
TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
NET: Registered protocol family 1
Freeing unused kernel memory: 156k freed
input: AT Translated Set 2 keyboard on isa0060/serio0