LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 11-30-2004, 12:57 PM   #1
poliweb
LQ Newbie
 
Registered: Nov 2004
Posts: 3

Rep: Reputation: 0
modprobe/pci issues


I am running Mandrake 10.0.

When I first installed the OS I had a PCI scsi card installed. I
never had any devices on the scsi bus. I recently removed the scsi
card to put it into another box. Now I get an Oops during boot - and
I am unable to use any of the other PCI cards.

Putting the scsi card back in removes the problem.

The Oops occurs at the same point that the USB PCI card is initialized
during a successful boot with the scsi card installed. Here is a
fragment of the dmesg from a succesful boot:

...
RAMDISK: Compressed image found at block 0
VFS: Mounted root (ext2 filesystem).
SCSI subsystem initialized
PCI: Enabling device 0000:00:0b.0 (0014 -> 0017)
PCI: IRQ 0 for device 0000:00:0b.0 doesn't match PIRQ mask - try
pci=usepirqmask
PCI: Assigned IRQ 5 for device 0000:00:0b.0
ahc_pci:0:11:0: Host Adapter Bios disabled. Using default SCSI device
parameters
scsi0 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 6.2.36
<Adaptec aic7850 SCSI adapter>
aic7850: Single Channel A, SCSI Id=7, 3/253 SCBs

EXT2-fs warning (device hdb1): ext2_fill_super: mounting ext3
filesystem as ext2

VFS: Mounted root (ext2 filesystem) readonly.
Trying to move old root to /initrd ... okay
Freeing unused kernel memory: 288k freed
Real Time Clock Driver v1.12
drivers/usb/core/usb.c: registered new driver usbfs
drivers/usb/core/usb.c: registered new driver hub
drivers/usb/host/uhci-hcd.c: USB Universal Host Controller Interface
driver v2.1
PCI: Enabling device 0000:00:07.2 (0000 -> 0001)
PCI: Found IRQ 11 for device 0000:00:07.2
PCI: Sharing IRQ 11 with 0000:00:09.0
uhci_hcd 0000:00:07.2: UHCI Host Controller
uhci_hcd 0000:00:07.2: irq 11, io base 0000dc60
uhci_hcd 0000:00:07.2: new USB bus registered, assigned bus number 1
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
...

Now here's the same section of dmesg from a boot without the scsi card
installed:

...
RAMDISK: Compressed image found at block 0
VFS: Mounted root (ext2 filesystem).
SCSI subsystem initialized
EXT2-fs warning (device hdb1): ext2_fill_super: mounting ext3
filesystem as ext2

VFS: Mounted root (ext2 filesystem) readonly.
Trying to move old root to /initrd ... okay
Freeing unused kernel memory: 288k freed
Real Time Clock Driver v1.12
drivers/usb/core/usb.c: registered new driver usbfs
drivers/usb/core/usb.c: registered new driver hub
drivers/usb/host/uhci-hcd.c: USB Universal Host Controller Interface
driver v2.1
Unable to handle kernel paging request at virtual address d88ae6fc
printing eip:
c01e06dc
*pde = 17fc0067
*pte = 00000000
Oops: 0002 [#1]
CPU: 0
EIP: 0060:[<c01e06dc>] Not tainted VLI
EFLAGS: 00010296
EIP is at kobject_add+0x6c/0xf0
eax: c03878e4 ebx: d885b6a0 ecx: d88ae6fc edx: d885b6bc
esi: c03878ec edi: d885b684 ebp: c1521f44 esp: c1521f38
ds: 007b es: 007b ss: 0068
Process modprobe (pid: 170, threadinfo=c1520000 task=c1523940)
Stack: d885b6a0 ffffffea d885b684 c1521f5c c01e077d d885b6a0 d885b6a0
d885b6a0
c0387880 c1521f80 c02291f9 d885b6a0 d885b6a0 d88589ac 00000000
d885b660
00000000 d885b700 c1521f98 c01e6db0 d885b684 fffffff4 d885b700
c0352ef0
Call Trace:
[<c01e077d>] kobject_register+0x1d/0x50
[<c02291f9>] bus_add_driver+0x39/0x90
[<c01e6db0>] pci_register_driver+0x60/0x90
[<d880009b>] 0xd880009b
[<c013c947>] sys_init_module+0xe7/0x1f0
[<c010b1b9>] sysenter_past_esp+0x52/0x79

Code: 00 ff ff 8d 41 48 f0 0f c1 10 85 d2 0f 85 78 05 00 00 85 f6 74
78 8b 43 28 8d 53 1c 83 c0 08 89 43 1c 8b 48 04 89 50 04 89 4a 04 <89>
11 8b 43 28 8b 38 8d 4f 48 89 c8 ba ff ff 00 00 f0 0f c1 10
<6>
...

Note that the scsi card is not enabled (of course) and the Oops occurs
where it was presumably trying to enable the USB.

I'm assuming that there is a config file somewhere that I need to
change to tell the kernel that there is no longer a scsi card
installed. I tried removing the scsi_hostadapter line from
/etc/modprobe.preload but that didn't help.

Any advice would be greatly appreciated.

Thanks

Richard
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Modprobe Issues nistelrooy Linux - Laptop and Netbook 1 07-12-2005 12:33 PM
PCI Hotswap Issues komeisa Slackware 4 08-28-2003 01:27 PM
Slackware 9.0 modprobe issues GreatHornDragon Slackware 8 07-22-2003 02:59 PM
SCSI and PCI->PCMCIA adapter issues salmo Linux - Hardware 1 05-05-2003 05:01 PM
modprobe: can't locate module ne2k-pci Jen Slackware 2 12-02-2002 09:15 PM


All times are GMT -5. The time now is 09:12 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration