linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* 2.6.0test 1 fails on eth0 up (arjanv RPM's - all needed rpms installed)
@ 2003-07-14 18:56 Trever L. Adams
  2003-07-14 19:06 ` Jeff Garzik
  2003-07-16 18:59 ` Zwane Mwaikambo
  0 siblings, 2 replies; 14+ messages in thread
From: Trever L. Adams @ 2003-07-14 18:56 UTC (permalink / raw)
  To: Linux Kernel Mailing List

OK, I now get past the initialization of the 3c920.  However, now it
hangs (sak enabled, sak doesn't work... completely dead) when eth0 tries
to come up.  I have IPv6 enabled (the router does 6to4, this isn't the
router), I don't believe I have any firewall stuff on this box, it does
dhcp for IPv4 address and ntp time.

There was an oops earlier in the boot process.  It seems the sound card
(irq 3) did an irq and the kernel wasn't ready to accept so it barfed. 
There may have been more to it than that, I will check later today.  I
have to get back to my studies for now.

Trever
--
"My spelling is Wobbly. It's good spelling but it Wobbles, and the
letters get in the wrong places." -- A. A. Milne (1882-1958)


^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: 2.6.0test 1 fails on eth0 up (arjanv RPM's - all needed rpms installed)
  2003-07-14 18:56 2.6.0test 1 fails on eth0 up (arjanv RPM's - all needed rpms installed) Trever L. Adams
@ 2003-07-14 19:06 ` Jeff Garzik
  2003-07-14 19:15   ` Arjan van de Ven
  2003-07-16 18:59 ` Zwane Mwaikambo
  1 sibling, 1 reply; 14+ messages in thread
From: Jeff Garzik @ 2003-07-14 19:06 UTC (permalink / raw)
  To: Trever L. Adams; +Cc: Linux Kernel Mailing List

Trever L. Adams wrote:
> OK, I now get past the initialization of the 3c920.  However, now it
> hangs (sak enabled, sak doesn't work... completely dead) when eth0 tries
> to come up.  I have IPv6 enabled (the router does 6to4, this isn't the
> router), I don't believe I have any firewall stuff on this box, it does
> dhcp for IPv4 address and ntp time.


hmmm... do you have the latest modutils installed?


^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: 2.6.0test 1 fails on eth0 up (arjanv RPM's - all needed rpms installed)
  2003-07-14 19:06 ` Jeff Garzik
@ 2003-07-14 19:15   ` Arjan van de Ven
  2003-07-14 21:20     ` Trever L. Adams
  0 siblings, 1 reply; 14+ messages in thread
From: Arjan van de Ven @ 2003-07-14 19:15 UTC (permalink / raw)
  To: Jeff Garzik; +Cc: Trever L. Adams, Linux Kernel Mailing List

[-- Attachment #1: Type: text/plain, Size: 545 bytes --]

On Mon, 2003-07-14 at 21:06, Jeff Garzik wrote:
> Trever L. Adams wrote:
> > OK, I now get past the initialization of the 3c920.  However, now it
> > hangs (sak enabled, sak doesn't work... completely dead) when eth0 tries
> > to come up.  I have IPv6 enabled (the router does 6to4, this isn't the
> > router), I don't believe I have any firewall stuff on this box, it does
> > dhcp for IPv4 address and ntp time.
> 
> 
> hmmm... do you have the latest modutils installed?

of course he has; the kernel rpm requires: a good version.

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: 2.6.0test 1 fails on eth0 up (arjanv RPM's - all needed rpms installed)
  2003-07-14 19:15   ` Arjan van de Ven
@ 2003-07-14 21:20     ` Trever L. Adams
  2003-07-15 20:10       ` [More Info] " Trever L. Adams
  0 siblings, 1 reply; 14+ messages in thread
From: Trever L. Adams @ 2003-07-14 21:20 UTC (permalink / raw)
  To: arjanv; +Cc: Jeff Garzik, Linux Kernel Mailing List

On Mon, 2003-07-14 at 15:15, Arjan van de Ven wrote:
> On Mon, 2003-07-14 at 21:06, Jeff Garzik wrote:
> > Trever L. Adams wrote:
> > > OK, I now get past the initialization of the 3c920.  However, now it
> > > hangs (sak enabled, sak doesn't work... completely dead) when eth0 tries
> > > to come up.  I have IPv6 enabled (the router does 6to4, this isn't the
> > > router), I don't believe I have any firewall stuff on this box, it does
> > > dhcp for IPv4 address and ntp time.
> > 
> > 
> > hmmm... do you have the latest modutils installed?
> 
> of course he has; the kernel rpm requires: a good version.

More than that, I have been updating against rawhide and your stuff
since I started messing with your kernel rpms.  So, if you have it
uploaded to either of those and my system is using that functionality
(which modutils is obviously one of those), then I am running that
software.

I did get a version of 2.5.x to work, but I think that was back around
2.5.46 or something like that.  I had too many problems with Gnome back
then and so went back to 2.4.x.  Those have been fixed, so now I am
trying to help with testing.

Trever
--
"Love is friendship set on fire." -- French Proverb


^ permalink raw reply	[flat|nested] 14+ messages in thread

* [More Info] Re: 2.6.0test 1 fails on eth0 up (arjanv RPM's - all needed rpms installed)
  2003-07-14 21:20     ` Trever L. Adams
@ 2003-07-15 20:10       ` Trever L. Adams
  2003-07-15 21:02         ` Greg KH
  0 siblings, 1 reply; 14+ messages in thread
From: Trever L. Adams @ 2003-07-15 20:10 UTC (permalink / raw)
  To: arjanv; +Cc: Jeff Garzik, Linux Kernel Mailing List

Ok, I finally went into interactive boot (taking a moment from my
studies).  I made sure not to let it bring eth0 up, everything worked
fine.  I still got this USB oops.  I hope it means something more to
people.

If I do pci=noacpi and acpi=off then I can boot.  However, I can't use
my mouse with is an MS InteliMouse Explorer 3 on a PS/2 port.  The PS/2
driver did initiate, so did gpm.  However, no mouse in console or X. 
This board is supposed to be fine with Linux acpi, or so I have read
somewhere.  Anyway, USB oops.

kernel: ehci_hcd 0000:00:02.2: PCI device 10de:0068 (nVidia Corporation)
kernel: irq 3: nobody cared!
kernel: Call Trace:
kernel:  [<c010c12a>] __report_bad_irq+0x2a/0x90
kernel:  [<c010c21c>] note_interrupt+0x6c/0xb0
kernel:  [<c010c42d>] do_IRQ+0xed/0x110
kernel:  [<c010a9f8>] common_interrupt+0x18/0x20
kernel:  [<c011f700>] do_softirq+0x40/0xa0
kernel:  [<c010c414>] do_IRQ+0xd4/0x110
kernel:  [<c010a9f8>] common_interrupt+0x18/0x20
kernel:  [<c010c84e>] setup_irq+0x6e/0xb0
kernel:  [<e087e310>] usb_hcd_irq+0x0/0x60 [usbcore]
kernel:  [<c010c4d0>] request_irq+0x80/0xd0
kernel:  [<e08813f6>] usb_hcd_pci_probe+0x1d6/0x440 [usbcore]
kernel:  [<e087e310>] usb_hcd_irq+0x0/0x60 [usbcore]
kernel:  [<c0180033>] t_start+0x43/0x50
kernel:  [<c01a92f2>] pci_device_probe_static+0x52/0x70
kernel:  [<c01a940c>] __pci_device_probe+0x3c/0x50
kernel:  [<c01a944f>] pci_device_probe+0x2f/0x50
kernel:  [<c01ea715>] bus_match+0x45/0x80
kernel:  [<c01ea82c>] driver_attach+0x5c/0x60
kernel:  [<c01eab17>] bus_add_driver+0xa7/0xc0
kernel:  [<c01eaf9f>] driver_register+0x2f/0x40
kernel:  [<c01a9700>] pci_register_driver+0x70/0xa0
kernel:  [<e0824021>] init+0x21/0x4f [ehci_hcd]
kernel:  [<c01303bb>] sys_init_module+0x10b/0x1e0
kernel:  [<c010a839>] sysenter_past_esp+0x52/0x71
kernel: handlers:
kernel: [<e087e310>] (usb_hcd_irq+0x0/0x60 [usbcore])
kernel: Disabling IRQ #3
kernel: ehci_hcd 0000:00:02.2: irq 3, pci mem e0815000
kernel: ehci_hcd 0000:00:02.2: new USB bus registered, assigned bus
number 1
--
"History is nothing but a collection of fables and useless trifles,
cluttered up with a mass of unnecessary figures and proper names." --
Leo Tolstoy


^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [More Info] Re: 2.6.0test 1 fails on eth0 up (arjanv RPM's - all needed rpms installed)
  2003-07-15 21:02         ` Greg KH
@ 2003-07-15 20:55           ` jds
  2003-07-15 23:15           ` David Brownell
  2003-07-26  0:06           ` David Brownell
  2 siblings, 0 replies; 14+ messages in thread
From: jds @ 2003-07-15 20:55 UTC (permalink / raw)
  To: Greg KH, Trever L. Adams, David Brownell
  Cc: arjanv, Jeff Garzik, Linux Kernel Mailing List


Hi Arjanv:

   I run test kernel 2.6.0-test1 rpms the problems is the mouse not working, i
have symboles modules Unknown, ACPI not working, anex the messages:



Jul 14 20:03:40 toshiba kernel: Linux version 2.6.0-0.test1.1.24
(bhcompile@porky.devel.redhat.com) (gcc version 3.3 20030623 (Red Hat Linux
3.3-12)) #1 Mon Jul 14 10:32:51 EDT 2003
Jul 14 20:03:40 toshiba kernel: Video mode to be used for restore is f00
Jul 14 20:03:40 toshiba kernel: BIOS-provided physical RAM map:
Jul 14 20:03:40 toshiba kernel:  BIOS-e820: 0000000000000000 -
000000000009fc00 (usable)
Jul 14 20:03:40 toshiba kernel:  BIOS-e820: 000000000009fc00 -
00000000000a0000 (reserved)
Jul 14 20:03:40 toshiba kernel:  BIOS-e820: 00000000000e8000 -
00000000000e8640 (reserved)
Jul 14 20:03:40 toshiba kernel:  BIOS-e820: 00000000000e8640 -
00000000000e8840 (ACPI NVS)
Jul 14 20:03:40 toshiba kernel:  BIOS-e820: 00000000000e8840 -
00000000000ec000 (reserved)
Jul 14 20:03:40 toshiba kernel:  BIOS-e820: 00000000000f0000 -
0000000000100000 (reserved)
Jul 14 20:03:40 toshiba kernel:  BIOS-e820: 0000000000100000 -
000000001ffe0000 (usable)
Jul 14 20:03:40 toshiba keytable: Loading keymap:
Jul 14 20:03:40 toshiba kernel:  BIOS-e820: 000000001ffe0000 -
000000001fff0000 (ACPI data)
Jul 14 20:03:40 toshiba keytable:
Jul 14 20:03:40 toshiba kernel:  BIOS-e820: 000000001fff0000 -
0000000020000000 (reserved)
Jul 14 20:03:41 toshiba keytable: Loading system font:
Jul 14 20:03:41 toshiba kernel:  BIOS-e820: 00000000fff80000 -
0000000100000000 (reserved)
Jul 14 20:03:41 toshiba keytable:
Jul 14 20:03:41 toshiba kernel: 0MB HIGHMEM available.
Jul 14 20:03:41 toshiba rc: Starting keytable:  succeeded
Jul 14 20:03:41 toshiba kernel: 511MB LOWMEM available.
Jul 14 20:03:41 toshiba kernel: On node 0 totalpages: 131040
Jul 14 20:03:41 toshiba random: Initializing random number generator:  succeeded
Jul 14 20:03:41 toshiba kernel:   DMA zone: 4096 pages, LIFO batch:1
Jul 14 20:03:41 toshiba kernel:   Normal zone: 126944 pages, LIFO batch:16
Jul 14 20:03:41 toshiba pcmcia: Starting PCMCIA services:
Jul 14 20:03:41 toshiba kernel:   HighMem zone: 0 pages, LIFO batch:1
Jul 14 20:03:41 toshiba kernel: ACPI: RSDP (v000 TOSHIB                     )
@ 0x000f4fd0
Jul 14 20:03:41 toshiba kernel: ACPI: RSDT (v001 TOSHIB 750      00151.02068)
@ 0x1ffe0000
Jul 14 20:03:41 toshiba kernel: ACPI: FADT (v001 TOSHIB 750      00151.02068)
@ 0x1ffe0054
Jul 14 20:03:41 toshiba kernel: ACPI: DSDT (v001 TOSHIB 8100     08192.01556)
@ 0x00000000
Jul 14 20:03:41 toshiba kernel: ACPI: BIOS passes blacklist
Jul 14 20:03:41 toshiba kernel: Building zonelist for node : 0
Jul 14 20:03:41 toshiba kernel: Kernel command line: ro root=LABEL=/
Jul 14 20:03:41 toshiba kernel: Initializing CPU#0
Jul 14 20:03:41 toshiba /sbin/hotplug: no runnable
/etc/hotplug/pcmcia_socket.agent is installed
Jul 14 20:03:41 toshiba /sbin/hotplug: no runnable
/etc/hotplug/pcmcia_socket.agent is installed
Jul 14 20:03:41 toshiba kernel: PID hash table entries: 2048 (order 11: 16384
bytes)
Jul 14 20:03:41 toshiba kernel: Detected 846.923 MHz processor.
Jul 14 20:03:41 toshiba kernel: Console: colour VGA+ 80x25
Jul 14 20:03:41 toshiba kernel: Calibrating delay loop... 1675.26 BogoMIPS
Jul 14 20:03:41 toshiba kernel: Memory: 515292k/524160k available (1656k
kernel code, 8100k reserved, 694k data, 160k init, 0k highmem)
Jul 14 20:03:41 toshiba kernel: Security Scaffold v1.0.0 initialized
Jul 14 20:03:41 toshiba kernel: Capability LSM initialized
Jul 14 20:03:41 toshiba kernel: Dentry cache hash table entries: 65536 (order:
6, 262144 bytes)
Jul 14 20:03:41 toshiba kernel: Inode-cache hash table entries: 32768 (order:
5, 131072 bytes)
Jul 14 20:03:41 toshiba kernel: Mount-cache hash table entries: 512 (order: 0,
4096 bytes)
Jul 14 20:03:41 toshiba kernel: -> /dev
Jul 14 20:03:41 toshiba kernel: -> /dev/console
Jul 14 20:03:41 toshiba kernel: -> /root
Jul 14 20:03:42 toshiba kernel: CPU: L1 I cache: 16K, L1 D cache: 16K
Jul 14 20:03:42 toshiba kernel: CPU: L2 cache: 256K
Jul 14 20:03:42 toshiba kernel: Intel machine check architecture supported.
Jul 14 20:03:42 toshiba kernel: Intel machine check reporting enabled on CPU#0.
Jul 14 20:03:42 toshiba kernel: CPU: Intel Pentium III (Coppermine) stepping 06
Jul 14 20:03:42 toshiba kernel: Enabling fast FPU save and restore... done.
Jul 14 20:03:42 toshiba kernel: Enabling unmasked SIMD FPU exception
support... done.
Jul 14 20:03:42 toshiba kernel: Checking 'hlt' instruction... OK.
Jul 14 20:03:42 toshiba kernel: POSIX conformance testing by UNIFIX
Jul 14 20:03:42 toshiba kernel: Initializing RT netlink socket
Jul 14 20:03:42 toshiba kernel: PCI: PCI BIOS revision 2.10 entry at 0xfee03,
last bus=21
Jul 14 20:03:42 toshiba kernel: PCI: Using configuration type 1
Jul 14 20:03:42 toshiba kernel: mtrr: v2.0 (20020519)
Jul 14 20:03:42 toshiba kernel: BIO: pool of 256 setup, 15Kb (60 bytes/bio)
Jul 14 20:03:42 toshiba kernel: biovec pool[0]:   1 bvecs: 256 entries (12 bytes)
Jul 14 20:03:42 toshiba kernel: biovec pool[1]:   4 bvecs: 256 entries (48 bytes)
Jul 14 20:03:42 toshiba kernel: biovec pool[2]:  16 bvecs: 256 entries (192 bytes)
Jul 14 20:03:42 toshiba kernel: biovec pool[3]:  64 bvecs: 256 entries (768 bytes)
Jul 14 20:03:42 toshiba pcmcia:  cardmgr.
Jul 14 20:03:39 toshiba network: Setting network parameters:  succeeded
Jul 14 20:03:42 toshiba cardmgr[964]: starting, version is 3.1.31
Jul 14 20:03:42 toshiba /etc/hotplug/net.agent: NET add event not supported
Jul 14 20:03:42 toshiba kernel: biovec pool[4]: 128 bvecs: 256 entries (1536
bytes)
Jul 14 20:03:42 toshiba /etc/hotplug/pci.agent: ... no modules for PCI slot
0000:02:00.1
Jul 14 20:03:42 toshiba /etc/hotplug/pci.agent: Setup xircom_cb for PCI slot
0000:02:00.0
Jul 14 20:03:42 toshiba rc: Starting pcmcia:  succeeded
Jul 14 20:03:39 toshiba network: Bringing up loopback interface:  succeeded
Jul 14 20:03:42 toshiba cardmgr[964]: watching 2 sockets
Jul 14 20:03:42 toshiba kernel: biovec pool[5]: 256 bvecs: 256 entries (3072
bytes)
Jul 14 20:03:43 toshiba kernel: ACPI: Subsystem revision 20030619
Jul 14 20:03:43 toshiba kernel:     ACPI-0109: *** Error: No object was
returned from [\_SB_.LNKA._STA] (Node dffd1578),
AE_NOT_EXIST
Jul 14 20:03:43 toshiba kernel:     ACPI-0109: *** Error: No object was
returned from [\_SB_.LNKB._STA] (Node dffd1418),
AE_NOT_EXIST
Jul 14 20:03:43 toshiba cardmgr[964]: Card Services release does not match
Jul 14 20:03:43 toshiba devlabel: devlabel service started/restarted
Jul 14 20:03:43 toshiba kernel:     ACPI-0109: *** Error: No object was
returned from [\_SB_.LNKC._STA] (Node dffd12b8),
AE_NOT_EXIST
Jul 14 20:03:43 toshiba netfs: Mounting other filesystems:  succeeded
Jul 14 20:03:43 toshiba cardmgr[964]: socket 0: CardBus hotplug device
Jul 14 20:03:43 toshiba kernel:     ACPI-0109: *** Error: No object was
returned from [\_SB_.LNKD._STA] (Node dffd1b7c),
AE_NOT_EXIST
Jul 14 20:03:43 toshiba kernel:     ACPI-0109: *** Error: No object was
returned from [\_SB_.PCI0.FNC0.FDD_._STA] (Node c15689c4), AE_NOT_EXIST
Jul 14 20:03:43 toshiba kernel:     ACPI-0109: *** Error: No object was
returned from [\_SB_.PCI0.FNC0.COM_._STA] (Node c1568d8c), AE_NOT_EXIST
Jul 14 20:03:43 toshiba kernel:     ACPI-0109: *** Error: No object was
returned from [\_SB_.PCI0.FNC0.PRT_._STA] (Node c15673ec), AE_NOT_EXIST
Jul 14 20:03:43 toshiba kernel:     ACPI-0109: *** Error: No object was
returned from [\_SB_.PCI0.FNC0.PRT1._STA] (Node c15672b8), AE_NOT_EXIST
Jul 14 20:03:43 toshiba kernel:     ACPI-0109: *** Error: No object was
returned from [\_SB_.PCI0.FNC0.PCC0._STA] (Node c15676d8), AE_NOT_EXIST
Jul 14 20:03:43 toshiba kernel: ACPI: Interpreter enabled
Jul 14 20:03:43 toshiba kernel: ACPI: Using PIC for interrupt routing
Jul 14 20:03:44 toshiba kernel:     ACPI-0109: *** Error: No object was
returned from [\_SB_.LNKE._PRS] (Node dffd19f0),
AE_NOT_EXIST
Jul 14 20:03:44 toshiba kernel: ACPI: PCI Root Bridge [PCI0] (00:00)
Jul 14 20:03:44 toshiba kernel: PCI: Probing PCI hardware (bus 00)
Jul 14 20:03:44 toshiba kernel: ACPI: Power Resource [PIHD] (on)
Jul 14 20:03:44 toshiba kernel: ACPI: Power Resource [PMHD] (on)
Jul 14 20:03:44 toshiba kernel: ACPI: Power Resource [PFAN] (off)
Jul 14 20:03:44 toshiba kernel: Linux Plug and Play Support v0.96 (c) Adam Belay
Jul 14 20:03:44 toshiba kernel: ACPI: No IRQ known for interrupt pin D of
device 0000:00:05.2
Jul 14 20:03:44 toshiba kernel: ACPI: No IRQ known for interrupt pin A of
device 0000:00:07.0
Jul 14 20:03:44 toshiba kernel: ACPI: No IRQ known for interrupt pin A of
device 0000:00:09.0
Jul 14 20:03:44 toshiba kernel: ACPI: No IRQ known for interrupt pin A of
device 0000:00:0b.0 - using IRQ 255
Jul 14 20:03:44 toshiba kernel: ACPI: No IRQ known for interrupt pin B of
device 0000:00:0b.1 - using IRQ 255
Jul 14 20:03:44 toshiba kernel: ACPI: No IRQ known for interrupt pin A of
device 0000:00:0c.0
Jul 14 20:03:44 toshiba kernel: ACPI: No IRQ known for interrupt pin A of
device 0000:01:00.0
Jul 14 20:03:44 toshiba kernel: PCI: Using ACPI for IRQ routing
Jul 14 20:03:44 toshiba kernel: PCI: if you experience problems, try using
option 'pci=noacpi' or even 'acpi=off'
Jul 14 20:03:44 toshiba kernel: pty: 2048 Unix98 ptys configured
Jul 14 20:03:44 toshiba kernel: apm: BIOS version 1.2 Flags 0x02 (Driver
version 1.16ac)
Jul 14 20:03:44 toshiba kernel: apm: overridden by ACPI.
Jul 14 20:03:44 toshiba kernel: Enabling SEP on CPU 0
Jul 14 20:03:44 toshiba autofs: automount startup succeeded
Jul 14 20:03:44 toshiba kernel: Total HugeTLB memory allocated, 0
Jul 14 20:03:44 toshiba kernel: VFS: Disk quotas dquot_6.5.1
Jul 14 20:03:44 toshiba kernel: Initializing Cryptographic API
Jul 14 20:03:44 toshiba kernel: Limiting direct PCI/PCI transfers.
Jul 14 20:03:44 toshiba kernel: isapnp: Scanning for PnP cards...
Jul 14 20:03:44 toshiba kernel: isapnp: No Plug & Play device found
Jul 14 20:03:44 toshiba kernel: Real Time Clock Driver v1.11
Jul 14 20:03:44 toshiba kernel: Serial: 8250/16550 driver $Revision: 1.90 $
IRQ sharing enabled
Jul 14 20:03:45 toshiba kernel: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
Jul 14 20:03:45 toshiba kernel: RAMDISK driver initialized: 16 RAM disks of
8192K size 1024 blocksize
Jul 14 20:03:45 toshiba sshd:  succeeded
Jul 14 20:03:45 toshiba kernel: Uniform Multi-Platform E-IDE driver Revision:
7.00alpha2
Jul 14 20:03:45 toshiba kernel: ide: Assuming 33MHz system bus speed for PIO
modes; override with idebus=xx
Jul 14 20:03:45 toshiba kernel: PIIX4: IDE controller at PCI slot 0000:00:05.1
Jul 14 20:03:45 toshiba kernel: PIIX4: chipset revision 1
Jul 14 20:03:45 toshiba kernel: PIIX4: not 100%% native mode: will probe irqs
later
Jul 14 20:03:45 toshiba kernel:     ide0: BM-DMA at 0xfff0-0xfff7, BIOS
settings: hda:DMA, hdb:pio
Jul 14 20:03:45 toshiba kernel:     ide1: BM-DMA at 0xfff8-0xffff, BIOS
settings: hdc:DMA, hdd:pio
Jul 14 20:03:46 toshiba kernel: hda: TOSHIBA MK2016GAP, ATA DISK drive
Jul 14 20:03:46 toshiba kernel: anticipatory scheduling elevator
Jul 14 20:03:46 toshiba kernel: ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Jul 14 20:03:46 toshiba kernel: hdc: TOSHIBA DVD-ROM SD-C2402, ATAPI
CD/DVD-ROM drive
Jul 14 20:03:46 toshiba kernel: ide1 at 0x170-0x177,0x376 on irq 15
Jul 14 20:03:46 toshiba kernel: hda: max request size: 128KiB
Jul 14 20:03:46 toshiba kernel: hda: host protected area => 1
Jul 14 20:03:46 toshiba kernel: hda: 39070080 sectors (20004 MB),
CHS=38760/16/63, UDMA(33)
Jul 14 20:03:46 toshiba kernel:  hda: hda1 hda2 hda3
Jul 14 20:03:46 toshiba kernel: ide-floppy driver 0.99.newide
Jul 14 20:03:46 toshiba kernel: serio: i8042 AUX port at 0x60,0x64 irq 12
Jul 14 20:03:46 toshiba kernel: input: AT Set 2 keyboard on isa0060/serio0
Jul 14 20:03:46 toshiba kernel: serio: i8042 KBD port at 0x60,0x64 irq 1
Jul 14 20:03:46 toshiba kernel: md: md driver 0.90.0 MAX_MD_DEVS=256,
MD_SB_DISKS=27
Jul 14 20:03:46 toshiba kernel: NET4: Frame Diverter 0.46
Jul 14 20:03:47 toshiba kernel: NET4: Linux TCP/IP 1.0 for NET4.0
Jul 14 20:03:47 toshiba kernel: IP: routing cache hash table of 4096 buckets,
32Kbytes
Jul 14 20:03:47 toshiba kernel: TCP: Hash tables configured (established 32768
bind 65536)
Jul 14 20:03:47 toshiba kernel: Linux IP multicast router 0.06 plus PIM-SM
Jul 14 20:03:47 toshiba kernel: Initializing IPsec netlink socket
Jul 14 20:03:47 toshiba kernel: NET4: Unix domain sockets 1.0/SMP for Linux
NET4.0.
Jul 14 20:03:47 toshiba kernel: md: Autodetecting RAID arrays.
Jul 14 20:03:47 toshiba kernel: md: autorun ...
Jul 14 20:03:47 toshiba kernel: md: ... autorun DONE.
Jul 14 20:03:47 toshiba kernel: RAMDISK: Compressed image found at block 0
Jul 14 20:03:47 toshiba kernel: Freeing initrd memory: 168k freed
Jul 14 20:03:47 toshiba kernel: VFS: Mounted root (ext2 filesystem).
Jul 14 20:03:47 toshiba kernel: Journalled Block Device driver loaded
Jul 14 20:03:47 toshiba kernel: kjournald starting.  Commit interval 5 seconds
Jul 14 20:03:47 toshiba kernel: EXT3-fs: mounted filesystem with ordered data
mode.
Jul 14 20:03:47 toshiba kernel: Freeing unused kernel memory: 160k freed
Jul 14 20:03:47 toshiba kernel: drivers/usb/core/usb.c: registered new driver
usbfs
Jul 14 20:03:47 toshiba kernel: drivers/usb/core/usb.c: registered new driver hub
Jul 14 20:03:47 toshiba kernel: drivers/usb/core/usb.c: registered new driver
hiddev
Jul 14 20:03:47 toshiba kernel: drivers/usb/core/usb.c: registered new driver hid
Jul 14 20:03:47 toshiba kernel: drivers/usb/input/hid-core.c: v2.0:USB HID
core driver
Jul 14 20:03:47 toshiba kernel: mice: PS/2 mouse device common for all mice
Jul 14 20:03:47 toshiba kernel: EXT3 FS on hda2, internal journal
Jul 14 20:03:47 toshiba kernel: Adding 538168k swap on /dev/hda3.  Priority:-1
extents:1
Jul 14 20:03:47 toshiba kernel: kudzu: numerical sysctl 1 23 is obsolete.
Jul 14 20:03:47 toshiba kernel: parport0: PC-style at 0x378 (0x778)
[PCSPP,TRISTATE]
Jul 14 20:03:47 toshiba kernel: parport0: irq 7 detected
Jul 14 20:03:47 toshiba kernel: inserting floppy driver for 2.6.0-0.test1.1.24
Jul 14 20:03:47 toshiba kernel: Floppy drive(s): fd0 is 1.44M
Jul 14 20:03:47 toshiba kernel: FDC 0 is a post-1991 82077
Jul 14 20:03:47 toshiba kernel: ip_tables: (C) 2000-2002 Netfilter core team
Jul 14 20:03:47 toshiba kernel: Linux Kernel Card Services 3.1.22
Jul 14 20:03:47 toshiba kernel:   options:  [pci] [cardbus] [pm]
Jul 14 20:03:47 toshiba kernel: PCI: Enabling device 0000:00:0b.0 (0000 -> 0002)
Jul 14 20:03:47 toshiba kernel: ACPI: No IRQ known for interrupt pin A of
device 0000:00:0b.0 - using IRQ 255
Jul 14 20:03:47 toshiba kernel: Yenta IRQ list 04b0, PCI irq0
Jul 14 20:03:47 toshiba kernel: Socket status: 30000020
Jul 14 20:03:47 toshiba kernel: PCI: Enabling device 0000:00:0b.1 (0000 -> 0002)
Jul 14 20:03:47 toshiba kernel: ACPI: No IRQ known for interrupt pin B of
device 0000:00:0b.1 - using IRQ 255
Jul 14 20:03:47 toshiba kernel: Yenta IRQ list 04b0, PCI irq0
Jul 14 20:03:47 toshiba kernel: Socket status: 30000007
Jul 14 20:03:47 toshiba kernel: PCI: Enabling device 0000:02:00.0 (0000 -> 0003)
Jul 14 20:03:47 toshiba kernel: ACPI: No IRQ known for interrupt pin A of
device 0000:02:00.0
Jul 14 20:03:47 toshiba kernel: eth0: Xircom cardbus revision 3 at irq 0
Jul 14 20:03:47 toshiba kernel: PCI: Enabling device 0000:02:00.1 (0000 -> 0003)
Jul 14 20:03:48 toshiba kernel: ACPI: No IRQ known for interrupt pin A of
device 0000:02:00.1
Jul 14 20:03:48 toshiba kernel: ttyS1 at I/O 0x1080 (irq = 0) is a 16550A
Jul 14 20:03:48 toshiba xinetd[1568]: xinetd Version 2.3.11 started with
libwrap loadavg options compiled in.
Jul 14 20:03:48 toshiba xinetd[1568]: Started working: 0 available services
Jul 14 20:03:49 toshiba xinetd: xinetd startup succeeded
Jul 14 20:03:49 toshiba vsftpd: true startup succeeded
Jul 14 20:03:51 toshiba sendmail: sendmail startup succeeded
Jul 14 20:03:51 toshiba sendmail: sm-client startup succeeded
Jul 14 20:03:51 toshiba gpm: gpm startup succeeded
Jul 14 20:03:52 toshiba crond: crond startup succeeded
Jul 14 20:03:56 toshiba kernel: lp0: using parport0 (polling).
Jul 14 20:03:56 toshiba kernel: lp0: console ready
Jul 14 20:03:56 toshiba modprobe: FATAL: Module serial not found.
Jul 14 20:03:57 toshiba last message repeated 27 times
Jul 14 20:03:57 toshiba modprobe: FATAL: Module char_major_188 not found.
Jul 14 20:03:57 toshiba last message repeated 15 times
Jul 14 20:03:58 toshiba cups: cupsd startup succeeded
Jul 14 20:03:59 toshiba xfs: xfs startup succeeded
Jul 14 20:03:59 toshiba atd: atd startup succeeded
Jul 14 20:03:59 toshiba rcd: rcd startup succeeded
Jul 14 20:03:59 toshiba xfs: ignoring font path element
/usr/X11R6/lib/X11/fonts/cyrillic (unreadable)
Jul 14 20:04:00 toshiba rcd[1792]: Red Carpet Daemon 1.4.4
Jul 14 20:04:00 toshiba rcd[1792]: Copyright (C) 2000-2003 Ximian Inc.
Jul 14 20:04:00 toshiba rcd[1792]: Start time: Mon Jul 14 20:04:00 2003
Jul 14 20:04:00 toshiba rcd[1792]: Loading system packages
Jul 14 20:04:02 toshiba gdm[1845]: gdm_server_spawn: Could not open logfile
for display :0!
Jul 14 20:04:02 toshiba modprobe: FATAL: Module char_major_10_134 not found.


Jul 14 20:40:23 toshiba kernel: generic_serial: Unknown symbol cli
Jul 14 20:40:23 toshiba kernel: generic_serial: Unknown symbol restore_flags
Jul 14 20:40:23 toshiba kernel: generic_serial: Unknown symbol save_flags
Jul 14 20:40:23 toshiba kernel: generic_serial: Unknown symbol sti
Jul 14 20:40:41 toshiba kernel: generic_serial: Unknown symbol cli
Jul 14 20:40:41 toshiba kernel: generic_serial: Unknown symbol restore_flags
Jul 14 20:40:41 toshiba kernel: generic_serial: Unknown symbol save_flags
Jul 14 20:40:41 toshiba kernel: generic_serial: Unknown symbol sti
Jul 14 20:42:11 toshiba modprobe: FATAL: Module char_major_10_134 not found.

The kernel 2.5.75-mm1 working good, put modules into the kernel

Helpme please

 Regards.

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [More Info] Re: 2.6.0test 1 fails on eth0 up (arjanv RPM's - all needed rpms installed)
  2003-07-15 20:10       ` [More Info] " Trever L. Adams
@ 2003-07-15 21:02         ` Greg KH
  2003-07-15 20:55           ` jds
                             ` (2 more replies)
  0 siblings, 3 replies; 14+ messages in thread
From: Greg KH @ 2003-07-15 21:02 UTC (permalink / raw)
  To: Trever L. Adams, David Brownell
  Cc: arjanv, Jeff Garzik, Linux Kernel Mailing List

On Tue, Jul 15, 2003 at 04:10:38PM -0400, Trever L. Adams wrote:
> kernel: ehci_hcd 0000:00:02.2: PCI device 10de:0068 (nVidia Corporation)
> kernel: irq 3: nobody cared!
> kernel: Call Trace:
> kernel:  [<c010c12a>] __report_bad_irq+0x2a/0x90
> kernel:  [<c010c21c>] note_interrupt+0x6c/0xb0
> kernel:  [<c010c42d>] do_IRQ+0xed/0x110
> kernel:  [<c010a9f8>] common_interrupt+0x18/0x20
> kernel:  [<c011f700>] do_softirq+0x40/0xa0
> kernel:  [<c010c414>] do_IRQ+0xd4/0x110
> kernel:  [<c010a9f8>] common_interrupt+0x18/0x20
> kernel:  [<c010c84e>] setup_irq+0x6e/0xb0
> kernel:  [<e087e310>] usb_hcd_irq+0x0/0x60 [usbcore]

Hm, but usb_hcd_irq() reports back the proper interrupt return value.  I
don't see how this could happen, unless the ehci driver was somehow
halted...

David, any ideas?

thanks,

greg k-h

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [More Info] Re: 2.6.0test 1 fails on eth0 up (arjanv RPM's - all needed rpms installed)
  2003-07-15 21:02         ` Greg KH
  2003-07-15 20:55           ` jds
@ 2003-07-15 23:15           ` David Brownell
  2003-07-26  0:06           ` David Brownell
  2 siblings, 0 replies; 14+ messages in thread
From: David Brownell @ 2003-07-15 23:15 UTC (permalink / raw)
  To: Greg KH; +Cc: Trever L. Adams, arjanv, Jeff Garzik, Linux Kernel Mailing List

Greg KH wrote:

> Hm, but usb_hcd_irq() reports back the proper interrupt return value.  I
> don't see how this could happen, unless the ehci driver was somehow
> halted...
> 
> David, any ideas?

It's getting an IRQ before the driver expects them,
I suspect.  I think the HCD glue needs a new entry,
forcing hardware reset before the rest of hcd init.
Easy/simple to do; and IMO reasonable too.

Of course, it's also strange that leaving ACPI on
causes problems at this level.  And that it only
happens for EHCI.

- Dave



^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: 2.6.0test 1 fails on eth0 up (arjanv RPM's - all needed rpms installed)
  2003-07-14 18:56 2.6.0test 1 fails on eth0 up (arjanv RPM's - all needed rpms installed) Trever L. Adams
  2003-07-14 19:06 ` Jeff Garzik
@ 2003-07-16 18:59 ` Zwane Mwaikambo
  2003-07-17  3:11   ` Trever L. Adams
  1 sibling, 1 reply; 14+ messages in thread
From: Zwane Mwaikambo @ 2003-07-16 18:59 UTC (permalink / raw)
  To: Trever L. Adams; +Cc: Linux Kernel Mailing List

On Mon, 14 Jul 2003, Trever L. Adams wrote:

> OK, I now get past the initialization of the 3c920.  However, now it
> hangs (sak enabled, sak doesn't work... completely dead) when eth0 tries
> to come up.  I have IPv6 enabled (the router does 6to4, this isn't the
> router), I don't believe I have any firewall stuff on this box, it does
> dhcp for IPv4 address and ntp time.
> 
> There was an oops earlier in the boot process.  It seems the sound card
> (irq 3) did an irq and the kernel wasn't ready to accept so it barfed. 
> There may have been more to it than that, I will check later today.  I
> have to get back to my studies for now.

Can you capture that message? Perhaps your network card and sound card 
share an interrupt?

	Zwane
-- 
function.linuxpower.ca

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: 2.6.0test 1 fails on eth0 up (arjanv RPM's - all needed rpms installed)
  2003-07-16 18:59 ` Zwane Mwaikambo
@ 2003-07-17  3:11   ` Trever L. Adams
       [not found]     ` <Pine.LNX.4.53.0307170254500.32541@montezuma.mastecende.com>
  0 siblings, 1 reply; 14+ messages in thread
From: Trever L. Adams @ 2003-07-17  3:11 UTC (permalink / raw)
  To: Zwane Mwaikambo; +Cc: Linux Kernel Mailing List

On Wed, 2003-07-16 at 14:59, Zwane Mwaikambo wrote:
> Can you capture that message? Perhaps your network card and sound card 
> share an interrupt?
> 
> 	Zwane

Sure, I sent it to the list already, here it is again.  This is some
time before the ethernet card driver gets loaded, etc.  Hopefully this
helps clear things up.

kernel: ehci_hcd 0000:00:02.2: PCI device 10de:0068 (nVidia Corporation)
kernel: irq 3: nobody cared!
kernel: Call Trace:
kernel:  [<c010c12a>] __report_bad_irq+0x2a/0x90
kernel:  [<c010c21c>] note_interrupt+0x6c/0xb0
kernel:  [<c010c42d>] do_IRQ+0xed/0x110
kernel:  [<c010a9f8>] common_interrupt+0x18/0x20
kernel:  [<c011f700>] do_softirq+0x40/0xa0
kernel:  [<c010c414>] do_IRQ+0xd4/0x110
kernel:  [<c010a9f8>] common_interrupt+0x18/0x20
kernel:  [<c010c84e>] setup_irq+0x6e/0xb0
kernel:  [<e087e310>] usb_hcd_irq+0x0/0x60 [usbcore]
kernel:  [<c010c4d0>] request_irq+0x80/0xd0
kernel:  [<e08813f6>] usb_hcd_pci_probe+0x1d6/0x440 [usbcore]
kernel:  [<e087e310>] usb_hcd_irq+0x0/0x60 [usbcore]
kernel:  [<c0180033>] t_start+0x43/0x50
kernel:  [<c01a92f2>] pci_device_probe_static+0x52/0x70
kernel:  [<c01a940c>] __pci_device_probe+0x3c/0x50
kernel:  [<c01a944f>] pci_device_probe+0x2f/0x50
kernel:  [<c01ea715>] bus_match+0x45/0x80
kernel:  [<c01ea82c>] driver_attach+0x5c/0x60
kernel:  [<c01eab17>] bus_add_driver+0xa7/0xc0
kernel:  [<c01eaf9f>] driver_register+0x2f/0x40
kernel:  [<c01a9700>] pci_register_driver+0x70/0xa0
kernel:  [<e0824021>] init+0x21/0x4f [ehci_hcd]
kernel:  [<c01303bb>] sys_init_module+0x10b/0x1e0
kernel:  [<c010a839>] sysenter_past_esp+0x52/0x71
kernel: handlers:
kernel: [<e087e310>] (usb_hcd_irq+0x0/0x60 [usbcore])
kernel: Disabling IRQ #3
kernel: ehci_hcd 0000:00:02.2: irq 3, pci mem e0815000
kernel: ehci_hcd 0000:00:02.2: new USB bus registered, assigned bus
number 1

           CPU0
  0:    4758778          XT-PIC  timer
  1:      56138          XT-PIC  keyboard
  2:          0          XT-PIC  cascade
  3:       6726          XT-PIC  ehci-hcd, NVIDIA nForce Audio
  5:          0          XT-PIC  ohci1394
  8:          1          XT-PIC  rtc
 11:     179558          XT-PIC  usb-ohci, usb-ohci, eth0
 12:     509617          XT-PIC  PS/2 Mouse
 14:     378329          XT-PIC  ide0
 15:     657852          XT-PIC  ide1

Trever
--
"I conceive that a great part of the miseries of mankind are brought
upon them by the false estimates they have made of the value of things."
-- Benjamin Franklin


^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: 2.6.0test 1 fails on eth0 up (arjanv RPM's - all needed rpms installed)
       [not found]     ` <Pine.LNX.4.53.0307170254500.32541@montezuma.mastecende.com>
@ 2003-07-17 14:46       ` Trever L. Adams
  0 siblings, 0 replies; 14+ messages in thread
From: Trever L. Adams @ 2003-07-17 14:46 UTC (permalink / raw)
  To: Zwane Mwaikambo; +Cc: Linux Kernel Mailing List

On Thu, 2003-07-17 at 02:55, Zwane Mwaikambo wrote:
> On Wed, 16 Jul 2003, Trever L. Adams wrote:
> > Sure, I sent it to the list already, here it is again.  This is some
> > time before the ethernet card driver gets loaded, etc.  Hopefully this
> > helps clear things up.
> 
> Ok it's not what i had suspected, incidentally, do you get that 'disabling 
> irq3' message every boot? Can you randomly get it to boot without that 
> occuring?

I believe it goes away completely if I turn of ACPI.   I will have to
check that later today to be sure, but I am 99% there.

Trever
--
"It was as true as taxes is. And nothing's truer than them." -- Charles
Dickens (1812-70)


^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [More Info] Re: 2.6.0test 1 fails on eth0 up (arjanv RPM's - all needed rpms installed)
  2003-07-15 21:02         ` Greg KH
  2003-07-15 20:55           ` jds
  2003-07-15 23:15           ` David Brownell
@ 2003-07-26  0:06           ` David Brownell
  2003-07-31  6:42             ` Trever L. Adams
  2 siblings, 1 reply; 14+ messages in thread
From: David Brownell @ 2003-07-26  0:06 UTC (permalink / raw)
  To: Greg KH, Trever L. Adams; +Cc: arjanv, Jeff Garzik, Linux Kernel Mailing List

[-- Attachment #1: Type: text/plain, Size: 905 bytes --]

Greg KH wrote:
> On Tue, Jul 15, 2003 at 04:10:38PM -0400, Trever L. Adams wrote:
> 
>>kernel: ehci_hcd 0000:00:02.2: PCI device 10de:0068 (nVidia Corporation)
>>kernel: irq 3: nobody cared!
>>kernel: Call Trace:
>>...
> 
> 
> Hm, but usb_hcd_irq() reports back the proper interrupt return value.  I
> don't see how this could happen, unless the ehci driver was somehow
> halted...
> 
> David, any ideas?

See if this patch resolves it.

The patch adds an explicit reset to HCD initialization, and then makes
EHCI use it.  (OHCI could do so even more easily ... but nobody's reported
firmware acting that type of strange with OHCI.)   It should prevent IRQs
being enabled while the HC is still in an indeterminate state.

This also fixes a missing local_irq_restore() that was generating some
annoying might_sleep() messages, and a missing readb() that affects some
ARM (and other) PCI systems.

- Dave



[-- Attachment #2: hcd-reset.patch --]
[-- Type: text/plain, Size: 4243 bytes --]

--- 1.29/drivers/usb/core/hcd.h	Tue Jul  1 06:25:37 2003
+++ edited/drivers/usb/core/hcd.h	Thu Jul 24 11:20:45 2003
@@ -173,6 +173,7 @@
 #define	HCD_USB2	0x0020		/* USB 2.0 */
 
 	/* called to init HCD and root hub */
+	int	(*reset) (struct usb_hcd *hcd);
 	int	(*start) (struct usb_hcd *hcd);
 
 	/* called after all devices were suspended */
--- 1.17/drivers/usb/core/hcd-pci.c	Tue Jul 15 07:08:20 2003
+++ edited/drivers/usb/core/hcd-pci.c	Fri Jul 25 16:30:27 2003
@@ -122,10 +122,9 @@
 		base = (void *) resource;
 	}
 
-	// driver->start(), later on, will transfer device from
+	// driver->reset(), later on, will transfer device from
 	// control by SMM/BIOS to control by Linux (if needed)
 
-	pci_set_master (dev);
 	hcd = driver->hcd_alloc ();
 	if (hcd == NULL){
 		dbg ("hcd alloc fail");
@@ -140,6 +139,9 @@
 			return retval;
 		}
 	}
+	hcd->regs = base;
+	hcd->region = region;
+
 	pci_set_drvdata (dev, hcd);
 	hcd->driver = driver;
 	hcd->description = driver->description;
@@ -157,22 +159,27 @@
 
 	dev_info (hcd->controller, "%s\n", hcd->product_desc);
 
+	/* till now HC has been in an indeterminate state ... */
+	if (driver->reset && (retval = driver->reset (hcd)) < 0) {
+		dev_err (hcd->controller, "can't reset\n");
+		goto clean_3;
+	}
+
+	pci_set_master (dev);
 #ifndef __sparc__
 	sprintf (buf, "%d", dev->irq);
 #else
 	bufp = __irq_itoa(dev->irq);
 #endif
-	if (request_irq (dev->irq, usb_hcd_irq, SA_SHIRQ, hcd->description, hcd)
-			!= 0) {
+	retval = request_irq (dev->irq, usb_hcd_irq, SA_SHIRQ,
+				hcd->description, hcd);
+	if (retval != 0) {
 		dev_err (hcd->controller,
 				"request interrupt %s failed\n", bufp);
-		retval = -EBUSY;
 		goto clean_3;
 	}
 	hcd->irq = dev->irq;
 
-	hcd->regs = base;
-	hcd->region = region;
 	dev_info (hcd->controller, "irq %s, %s %p\n", bufp,
 		(driver->flags & HCD_MEMORY) ? "pci mem" : "io base",
 		base);
--- 1.68/drivers/usb/core/hcd.c	Tue Jul 15 09:47:16 2003
+++ edited/drivers/usb/core/hcd.c	Thu Jul 24 23:34:01 2003
@@ -1319,6 +1319,7 @@
 		if (tmp == -EINPROGRESS)
 			urb->status = -ESHUTDOWN;
 		spin_unlock (&urb->lock);
+		local_irq_restore (flags);
 
 		/* kick hcd unless it's already returning this */
 		if (tmp == -EINPROGRESS) {
--- 1.53/drivers/usb/host/ehci-hcd.c	Wed Jun 18 21:50:06 2003
+++ edited/drivers/usb/host/ehci-hcd.c	Fri Jul 25 16:35:10 2003
@@ -318,27 +318,21 @@
 
 /* called by khubd or root hub init threads */
 
-static int ehci_start (struct usb_hcd *hcd)
+static int ehci_hc_reset (struct usb_hcd *hcd)
 {
 	struct ehci_hcd		*ehci = hcd_to_ehci (hcd);
 	u32			temp;
-	struct usb_device	*udev;
-	struct usb_bus		*bus;
-	int			retval;
-	u32			hcc_params;
-	u8                      tempbyte;
 
 	spin_lock_init (&ehci->lock);
 
 	ehci->caps = (struct ehci_caps *) hcd->regs;
-	ehci->regs = (struct ehci_regs *) (hcd->regs + ehci->caps->length);
-	dbg_hcs_params (ehci, "ehci_start");
-	dbg_hcc_params (ehci, "ehci_start");
-
-	hcc_params = readl (&ehci->caps->hcc_params);
+	ehci->regs = (struct ehci_regs *) (hcd->regs +
+					readb (&ehci->caps->length));
+	dbg_hcs_params (ehci, "reset");
+	dbg_hcc_params (ehci, "reset");
 
 	/* EHCI 0.96 and later may have "extended capabilities" */
-	temp = HCC_EXT_CAPS (hcc_params);
+	temp = HCC_EXT_CAPS (readl (&ehci->caps->hcc_params));
 	while (temp) {
 		u32		cap;
 
@@ -363,8 +357,18 @@
 	ehci->hcs_params = readl (&ehci->caps->hcs_params);
 
 	/* force HC to halt state */
-	if ((retval = ehci_halt (ehci)) != 0)
-		return retval;
+	return ehci_halt (ehci);
+}
+
+static int ehci_start (struct usb_hcd *hcd)
+{
+	struct ehci_hcd		*ehci = hcd_to_ehci (hcd);
+	u32			temp;
+	struct usb_device	*udev;
+	struct usb_bus		*bus;
+	int			retval;
+	u32			hcc_params;
+	u8                      tempbyte;
 
 	/*
 	 * hw default: 1K periodic list heads, one per frame.
@@ -375,6 +379,7 @@
 		return retval;
 
 	/* controllers may cache some of the periodic schedule ... */
+	hcc_params = readl (&ehci->caps->hcc_params);
 	if (HCC_ISOC_CACHE (hcc_params)) 	// full frame cache
 		ehci->i_thresh = 8;
 	else					// N microframes cached
@@ -937,6 +942,7 @@
 	/*
 	 * basic lifecycle operations
 	 */
+	.reset =		ehci_hc_reset,
 	.start =		ehci_start,
 #ifdef	CONFIG_PM
 	.suspend =		ehci_suspend,

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [More Info] Re: 2.6.0test 1 fails on eth0 up (arjanv RPM's - all needed rpms installed)
  2003-07-26  0:06           ` David Brownell
@ 2003-07-31  6:42             ` Trever L. Adams
  2003-07-31 17:15               ` David Brownell
  0 siblings, 1 reply; 14+ messages in thread
From: Trever L. Adams @ 2003-07-31  6:42 UTC (permalink / raw)
  To: David Brownell; +Cc: Greg KH, arjanv, Jeff Garzik, Linux Kernel Mailing List

On Fri, 2003-07-25 at 20:06, David Brownell wrote:

> See if this patch resolves it.
> 
> The patch adds an explicit reset to HCD initialization, and then makes
> EHCI use it.  (OHCI could do so even more easily ... but nobody's reported
> firmware acting that type of strange with OHCI.)   It should prevent IRQs
> being enabled while the HC is still in an indeterminate state.
> 
> This also fixes a missing local_irq_restore() that was generating some
> annoying might_sleep() messages, and a missing readb() that affects some
> ARM (and other) PCI systems.
> 
> - Dave

Applied it against test2.  I think the problem is indeed ACPI handling
PCI irqs.  This is an nVidia nForce2 board, I should check to see if the
patch someone posted fixes this (Did it get folded into test2?).

Anyway, the first oops only happens if I have the mouse plugged in as
USB (Intellimouse USB... I usually use the dumb little PS/2 adapter). 
The second happens now, but didn't before.  It is 1394 related. 
Interrupts are at 100k+ on both usb and 1394 ohci almost instantly with
ACPI on.

irq 11: nobody cared!
Call Trace:
[<c010c12a>] __report_bad_irq+0x2a/0x90
[<c010c21c>] note_interrupt+0x6c/0xb0
[<c010c42d>] do_IRQ+0xed/0x110
[<c010a9f8>] common_interrupt+0x18/0x20
[<c011f780>] do_softirq+0x40/0xa0
[<c010c414>] do_IRQ+0xd4/0x110
[<c010a9f8>] common_interrupt+0x18/0x20
[<c010c84e>] setup_irq+0x6e/0xb0
[<e087f350>] usb_hcd_irq+0x0/0x60 [usbcore]
[<c010c4d0>] request_irq+0x80/0xd0
[<e08824e0>] usb_hcd_pci_probe+0x200/0x4a0 [usbcore]
[<e087f350>] usb_hcd_irq+0x0/0x60
[<c01aa1f2>] pci_device_probe_static+0x52/0x70
[<c01aa30c>] __pci_device_probe+0x3c/0x50
[<c01aa34f>] pci_device_probe+0x2f/0x50
[<c01eb695>] bus_match+0x45/0x80
[<c01eb7ac>] driver_attach+0x5c/0x60
[<c01eba97>] bus_add_driver+0xa7/0xc0
[<c01ebf1f>] driver_register+0x2f/0x40
[<c01aa600>] pci_register_driver+0x70/0xa0
[<e0824021>] init+0x21/0x4f [ehci_hcd]
[<c0130afb>] sys_init_module+0x10b/0x200
[<c010a839>] sysenter_past_esp+0x52/0x71

handlers:
[<e087f350>] (usb_hcd_irq+0x0/0x60 [usbcore])
Disabling IRQ #11
ehci_hcd 0000:00:02.2: irq 11, pci mem e0815000
ehci_hcd 0000:00:02.2: new USB bus registered, assigned bus number 1


irq 4: nobody cared!
Call Trace:
[<c010c12a>] __report_bad_irq+0x2a/0x90
[<c010c21c>] note_interrupt+0x6c/0xb0
[<c010c42d>] do_IRQ+0xed/0x110
[<c010a9f8>] common_interrupt+0x18/0x20
[<c011f780>] do_softirq+0x40/0xa0
[<c010c414>] do_IRQ+0xd4/0x110
[<c010a9f8>] common_interrupt+0x18/0x20
[<c010c84e>] setup_irq+0x6e/0xb0
[<e08536d0>] ohci_irq_handler+0x0/0x720 [ohci1394]
[<c010c4d0>] request_irq+0x80/0xd0
[<e0855603>] ohci1394_pci_probe+0x3d3/0x580 [ohci1394]
[<e08536d0>] ohci_irq_handler+0x0/0x720 [ohci1394]
[<c01aa1f2>] pci_device_probe_static+0x52/0x70
[<c01aa30c>] __pci_device_probe+0x3c/0x50
[<c01aa34f>] pci_device_probe+0x2f/0x50
[<c01eb695>] bus_match+0x45/0x80
[<c01eb7ac>] driver_attach+0x5c/0x60
[<c01eba97>] bus_add_driver+0xa7/0xc0
[<c01ebf1f>] driver_register+0x2f/0x40
[<c01aa600>] pci_register_driver+0x70/0xa0
[<e0817013>] ohci1394_init+0x13/0x3d [ohci1394]
[<c0130afb>] sys_init_module+0x10b/0x200
[<c010a839>] sysenter_past_esp+0x52/0x71

handlers:
[<e08536d0>] (ohci_irq_handler+0x0/0x720 [ohci1394])
Disabling IRQ #4

Anyway, so either it is ACPI and fixable, or I just forget pci routing
with ACPI.

Trever Adams
--
"If a revolution destroys a systematic government, but the systematic
patterns of thought that produced that government are left intact, then
those patterns will repeat themselves in the succeding government." --
Robert M. Pirsig


^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [More Info] Re: 2.6.0test 1 fails on eth0 up (arjanv RPM's - all needed rpms installed)
  2003-07-31  6:42             ` Trever L. Adams
@ 2003-07-31 17:15               ` David Brownell
  0 siblings, 0 replies; 14+ messages in thread
From: David Brownell @ 2003-07-31 17:15 UTC (permalink / raw)
  To: Trever L. Adams; +Cc: Greg KH, arjanv, Jeff Garzik, Linux Kernel Mailing List

Trever L. Adams wrote:
> On Fri, 2003-07-25 at 20:06, David Brownell wrote:
> 
> 
>>See if this patch resolves it.
>>
>>The patch adds an explicit reset to HCD initialization, and then makes
>>EHCI use it.  (OHCI could do so even more easily ... but nobody's reported
>>firmware acting that type of strange with OHCI.)   It should prevent IRQs
>>being enabled while the HC is still in an indeterminate state.
>>
>>This also fixes a missing local_irq_restore() that was generating some
>>annoying might_sleep() messages, and a missing readb() that affects some
>>ARM (and other) PCI systems.
>>
>>- Dave
> 
> 
> Applied it against test2.  I think the problem is indeed ACPI handling
> PCI irqs.  This is an nVidia nForce2 board, I should check to see if the
> patch someone posted fixes this (Did it get folded into test2?).

I think it got posted after test2 finalized; and the patches I
saw were line-wrapped so I couldn't even read them.


> Anyway, the first oops only happens if I have the mouse plugged in as
> USB (Intellimouse USB... I usually use the dumb little PS/2 adapter). 
> The second happens now, but didn't before.  It is 1394 related. 
> Interrupts are at 100k+ on both usb and 1394 ohci almost instantly with
> ACPI on.

That's the symptom I saw when I tried ACPI + NForce2 (by accident)
a while back ... except that in your case it happens for IRQs
below 16 (which might be just an accident).  "pci=noacpi" was a
workaround.

If this appears with that patch of mine applied, then I'd certainly
agree with you that this is something other than a USB problem.

- Dave


> irq 11: nobody cared!
> Call Trace:
> [<c010c12a>] __report_bad_irq+0x2a/0x90
> [<c010c21c>] note_interrupt+0x6c/0xb0
> ...
> [<c010a839>] sysenter_past_esp+0x52/0x71
> 
> handlers:
> [<e087f350>] (usb_hcd_irq+0x0/0x60 [usbcore])
> Disabling IRQ #11
> ehci_hcd 0000:00:02.2: irq 11, pci mem e0815000
> ehci_hcd 0000:00:02.2: new USB bus registered, assigned bus number 1
> 
> 
> irq 4: nobody cared!
> Call Trace:
> [<c010c12a>] __report_bad_irq+0x2a/0x90
> [<c010c21c>] note_interrupt+0x6c/0xb0
> ...
> [<c010a839>] sysenter_past_esp+0x52/0x71
> 
> handlers:
> [<e08536d0>] (ohci_irq_handler+0x0/0x720 [ohci1394])
> Disabling IRQ #4
> 
> Anyway, so either it is ACPI and fixable, or I just forget pci routing
> with ACPI.
> 
> Trever Adams


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2003-07-31 17:14 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-14 18:56 2.6.0test 1 fails on eth0 up (arjanv RPM's - all needed rpms installed) Trever L. Adams
2003-07-14 19:06 ` Jeff Garzik
2003-07-14 19:15   ` Arjan van de Ven
2003-07-14 21:20     ` Trever L. Adams
2003-07-15 20:10       ` [More Info] " Trever L. Adams
2003-07-15 21:02         ` Greg KH
2003-07-15 20:55           ` jds
2003-07-15 23:15           ` David Brownell
2003-07-26  0:06           ` David Brownell
2003-07-31  6:42             ` Trever L. Adams
2003-07-31 17:15               ` David Brownell
2003-07-16 18:59 ` Zwane Mwaikambo
2003-07-17  3:11   ` Trever L. Adams
     [not found]     ` <Pine.LNX.4.53.0307170254500.32541@montezuma.mastecende.com>
2003-07-17 14:46       ` Trever L. Adams

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).