Re: powerbook power-off and 2.6.13-rc[3,4]

2005-08-02 Thread Rafael J. Wysocki
On Monday, 1 of August 2005 16:38, Stelian Pop wrote:
> Le lundi 01 août 2005 à 16:07 +0200, Johannes Berg a écrit :
> > On Mon, 2005-08-01 at 15:54 +0200, Antonio-M. Corbi Bellot wrote:
> > 
> > > Has anyone observed this behaviour (O.S. halt ok but _no_ power-off at
> > > the end) with these new '-rc' kernels?
> > 
> > Yes. I haven't looked for the cause yet though.

I have observed this too, but only on an SMP (dual-core) machine,
using 2.6.13-rc4 or 2.6.13-rc4-mm1.

If the USB controller drivers (ohci_hcd, ehci_hcd) are not loaded, the
machine is powered off normally.  Otherwise, it is not.

Greets,
Rafael
 

-- 
- Would you tell me, please, which way I ought to go from here?
- That depends a good deal on where you want to get to.
-- Lewis Carroll "Alice's Adventures in Wonderland"
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: powerbook power-off and 2.6.13-rc[3,4]

2005-08-02 Thread Stelian Pop
Le mardi 02 août 2005 à 14:54 +0200, Pavel Machek a écrit :
> Hi!
> 
> > > > Pavel Machek wrote:
> > > > 
> > > > >Can you try without USB?
> > > > >
> > > > Not really. The keyboard is USB, and there's no PS/2 connector. I guess 
> > > > I maybe could do it via a timer, unload the modules and then have it 
> > > > shut down afterwards...
> > > 
> > > I'll build a kernel without USB and drive the laptop over the net and
> > > see what happens.
> > 
> > Without CONFIG_USB the poweroff still hangs, and this time the panel
> > goes completly white with dark spots appearing all over it (kinda scary
> > btw). A 5 seconds press on the power button force it to power off.
> 
> Yep, looks like screen burning, right?

Exactly.

>  So it is different kind of hang
> => USB has some problem but there's another one, too?

Seems that this is the case, yes.

> > This is on a 2.6.13-rc4, and I'm attaching the .config in case it
> > matters.
> 
> Could you try inserting printks to see where it hangs? Aha, with
> display turned off that is not going to be funny.

Unfortunately I won't have time to debug this right now (I leave on
vacation tomorrow), so somebody else will have to do it (and no, it is
not going to be funny to do this without display, serial port, buzzer
etc)

Stelian.
-- 
Stelian Pop <[EMAIL PROTECTED]>

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: powerbook power-off and 2.6.13-rc[3,4]

2005-08-02 Thread Pavel Machek
Hi!

> > > Pavel Machek wrote:
> > > 
> > > >Can you try without USB?
> > > >
> > > Not really. The keyboard is USB, and there's no PS/2 connector. I guess 
> > > I maybe could do it via a timer, unload the modules and then have it 
> > > shut down afterwards...
> > 
> > I'll build a kernel without USB and drive the laptop over the net and
> > see what happens.
> 
> Without CONFIG_USB the poweroff still hangs, and this time the panel
> goes completly white with dark spots appearing all over it (kinda scary
> btw). A 5 seconds press on the power button force it to power off.

Yep, looks like screen burning, right? So it is different kind of hang
=> USB has some problem but there's another one, too?

> This is on a 2.6.13-rc4, and I'm attaching the .config in case it
> matters.

Could you try inserting printks to see where it hangs? Aha, with
display turned off that is not going to be funny.
Pavel
-- 
Boycott Kodak -- for their patent abuse against Java.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: powerbook power-off and 2.6.13-rc[3,4]

2005-08-02 Thread Stelian Pop
Le mardi 02 août 2005 à 13:43 +0200, Stelian Pop a écrit :

> > Pavel Machek wrote:
> > 
> > >Can you try without USB?
> > >
> > Not really. The keyboard is USB, and there's no PS/2 connector. I guess 
> > I maybe could do it via a timer, unload the modules and then have it 
> > shut down afterwards...
> 
> I'll build a kernel without USB and drive the laptop over the net and
> see what happens.

Without CONFIG_USB the poweroff still hangs, and this time the panel
goes completly white with dark spots appearing all over it (kinda scary
btw). A 5 seconds press on the power button force it to power off.

This is on a 2.6.13-rc4, and I'm attaching the .config in case it
matters.

Stelian.
-- 
Stelian Pop <[EMAIL PROTECTED]>
CONFIG_MMU=y
CONFIG_GENERIC_HARDIRQS=y
CONFIG_RWSEM_XCHGADD_ALGORITHM=y
CONFIG_GENERIC_CALIBRATE_DELAY=y
CONFIG_HAVE_DEC_LOCK=y
CONFIG_PPC=y
CONFIG_PPC32=y
CONFIG_GENERIC_NVRAM=y
CONFIG_SCHED_NO_NO_OMIT_FRAME_POINTER=y
CONFIG_EXPERIMENTAL=y
CONFIG_CLEAN_COMPILE=y
CONFIG_BROKEN_ON_SMP=y
CONFIG_INIT_ENV_ARG_LIMIT=32
CONFIG_LOCALVERSION=""
CONFIG_SWAP=y
CONFIG_SYSVIPC=y
CONFIG_SYSCTL=y
CONFIG_HOTPLUG=y
CONFIG_KOBJECT_UEVENT=y
CONFIG_KALLSYMS=y
CONFIG_PRINTK=y
CONFIG_BUG=y
CONFIG_BASE_FULL=y
CONFIG_FUTEX=y
CONFIG_EPOLL=y
CONFIG_SHMEM=y
CONFIG_CC_ALIGN_FUNCTIONS=0
CONFIG_CC_ALIGN_LABELS=0
CONFIG_CC_ALIGN_LOOPS=0
CONFIG_CC_ALIGN_JUMPS=0
CONFIG_BASE_SMALL=0
CONFIG_MODULES=y
CONFIG_MODULE_UNLOAD=y
CONFIG_OBSOLETE_MODPARM=y
CONFIG_MODVERSIONS=y
CONFIG_MODULE_SRCVERSION_ALL=y
CONFIG_KMOD=y
CONFIG_6xx=y
CONFIG_PPC_FPU=y
CONFIG_ALTIVEC=y
CONFIG_TAU=y
CONFIG_CPU_FREQ=y
CONFIG_CPU_FREQ_TABLE=y
CONFIG_CPU_FREQ_STAT=y
CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE=y
CONFIG_CPU_FREQ_GOV_PERFORMANCE=y
CONFIG_CPU_FREQ_GOV_POWERSAVE=y
CONFIG_CPU_FREQ_GOV_USERSPACE=y
CONFIG_CPU_FREQ_GOV_ONDEMAND=y
CONFIG_CPU_FREQ_GOV_CONSERVATIVE=y
CONFIG_CPU_FREQ_PMAC=y
CONFIG_PM=y
CONFIG_PPC_STD_MMU=y
CONFIG_PPC_MULTIPLATFORM=y
CONFIG_PPC_CHRP=y
CONFIG_PPC_PMAC=y
CONFIG_PPC_PREP=y
CONFIG_PPC_OF=y
CONFIG_PPCBUG_NVRAM=y
CONFIG_HIGHMEM=y
CONFIG_HZ_250=y
CONFIG_HZ=250
CONFIG_PREEMPT_NONE=y
CONFIG_SELECT_MEMORY_MODEL=y
CONFIG_FLATMEM_MANUAL=y
CONFIG_FLATMEM=y
CONFIG_FLAT_NODE_MEM_MAP=y
CONFIG_BINFMT_ELF=y
CONFIG_PROC_DEVICETREE=y
CONFIG_PREP_RESIDUAL=y
CONFIG_PROC_PREPRESIDUAL=y
CONFIG_CMDLINE_BOOL=y
CONFIG_CMDLINE="console=ttyS0,9600 console=tty0 root=/dev/sda2"
CONFIG_SOFTWARE_SUSPEND=y
CONFIG_PM_STD_PARTITION=""
CONFIG_SECCOMP=y
CONFIG_ISA_DMA_API=y
CONFIG_GENERIC_ISA_DMA=y
CONFIG_PCI=y
CONFIG_PCI_DOMAINS=y
CONFIG_PCI_LEGACY_PROC=y
CONFIG_PCCARD=y
CONFIG_PCMCIA=y
CONFIG_PCMCIA_LOAD_CIS=y
CONFIG_PCMCIA_IOCTL=y
CONFIG_CARDBUS=y
CONFIG_YENTA=y
CONFIG_PCCARD_NONSTATIC=y
CONFIG_HIGHMEM_START=0xfe00
CONFIG_LOWMEM_SIZE=0x3000
CONFIG_KERNEL_START=0xc000
CONFIG_TASK_SIZE=0x8000
CONFIG_BOOT_LOAD=0x0080
CONFIG_NET=y
CONFIG_PACKET=y
CONFIG_UNIX=y
CONFIG_INET=y
CONFIG_IP_MULTICAST=y
CONFIG_IP_FIB_HASH=y
CONFIG_TCP_CONG_BIC=y
CONFIG_NETFILTER=y
CONFIG_IP_NF_CONNTRACK=y
CONFIG_IP_NF_FTP=y
CONFIG_IP_NF_IRC=y
CONFIG_IP_NF_IPTABLES=y
CONFIG_IP_NF_MATCH_LIMIT=y
CONFIG_IP_NF_MATCH_IPRANGE=y
CONFIG_IP_NF_MATCH_MAC=y
CONFIG_IP_NF_MATCH_PKTTYPE=y
CONFIG_IP_NF_MATCH_MARK=y
CONFIG_IP_NF_MATCH_MULTIPORT=y
CONFIG_IP_NF_MATCH_TOS=y
CONFIG_IP_NF_MATCH_RECENT=y
CONFIG_IP_NF_MATCH_ECN=y
CONFIG_IP_NF_MATCH_DSCP=y
CONFIG_IP_NF_MATCH_AH_ESP=y
CONFIG_IP_NF_MATCH_LENGTH=y
CONFIG_IP_NF_MATCH_TTL=y
CONFIG_IP_NF_MATCH_TCPMSS=y
CONFIG_IP_NF_MATCH_HELPER=y
CONFIG_IP_NF_MATCH_STATE=y
CONFIG_IP_NF_MATCH_OWNER=y
CONFIG_IP_NF_MATCH_ADDRTYPE=y
CONFIG_IP_NF_MATCH_REALM=y
CONFIG_IP_NF_MATCH_SCTP=y
CONFIG_IP_NF_MATCH_COMMENT=y
CONFIG_IP_NF_MATCH_HASHLIMIT=y
CONFIG_IP_NF_FILTER=y
CONFIG_IP_NF_TARGET_REJECT=y
CONFIG_IP_NF_TARGET_LOG=y
CONFIG_IP_NF_NAT=y
CONFIG_IP_NF_NAT_NEEDED=y
CONFIG_IP_NF_TARGET_MASQUERADE=y
CONFIG_IP_NF_TARGET_REDIRECT=y
CONFIG_IP_NF_NAT_IRC=y
CONFIG_IP_NF_NAT_FTP=y
CONFIG_IP_NF_MANGLE=y
CONFIG_IP_NF_ARPTABLES=y
CONFIG_IP_NF_ARPFILTER=y
CONFIG_NET_CLS_ROUTE=y
CONFIG_BT=y
CONFIG_BT_L2CAP=y
CONFIG_BT_RFCOMM=y
CONFIG_BT_RFCOMM_TTY=y
CONFIG_BT_HIDP=y
CONFIG_STANDALONE=y
CONFIG_PREVENT_FIRMWARE_BUILD=y
CONFIG_FW_LOADER=y
CONFIG_BLK_DEV_LOOP=y
CONFIG_BLK_DEV_RAM=y
CONFIG_BLK_DEV_RAM_COUNT=16
CONFIG_BLK_DEV_RAM_SIZE=8192
CONFIG_BLK_DEV_INITRD=y
CONFIG_INITRAMFS_SOURCE=""
CONFIG_CDROM_PKTCDVD=m
CONFIG_CDROM_PKTCDVD_BUFFERS=8
CONFIG_IOSCHED_NOOP=y
CONFIG_IOSCHED_AS=y
CONFIG_IDE=y
CONFIG_BLK_DEV_IDE=y
CONFIG_BLK_DEV_IDEDISK=y
CONFIG_BLK_DEV_IDECD=y
CONFIG_BLK_DEV_IDEPCI=y
CONFIG_IDEPCI_SHARE_IRQ=y
CONFIG_BLK_DEV_GENERIC=y
CONFIG_BLK_DEV_IDEDMA_PCI=y
CONFIG_IDEDMA_PCI_AUTO=y
CONFIG_BLK_DEV_IDE_PMAC=y
CONFIG_BLK_DEV_IDE_PMAC_ATA100FIRST=y
CONFIG_BLK_DEV_IDEDMA_PMAC=y
CONFIG_BLK_DEV_IDEDMA=y
CONFIG_IDEDMA_AUTO=y
CONFIG_SCSI=y
CONFIG_SCSI_PROC_FS=y
CONFIG_BLK_DEV_SD=y
CONFIG_CHR_DEV_SG=y
CONFIG_SCSI_MULTI_LUN=y
CONFIG_SCSI_CONSTANTS=y
CONFIG_SCSI_FC_ATTRS=y
CONFIG_SCSI_QLA2XXX=y
CONFIG_IEEE1394=y
CONFIG_IEEE1394_OUI_DB=y
CONFIG_IEEE1394_EXTRA_CONFIG_ROMS=y

Re: powerbook power-off and 2.6.13-rc[3,4]

2005-08-02 Thread Stelian Pop
Le mardi 02 août 2005 à 13:38 +0200, Johannes Berg a écrit :
> Pavel Machek wrote:
> 
> >Can you try without USB?
> >
> Not really. The keyboard is USB, and there's no PS/2 connector. I guess 
> I maybe could do it via a timer, unload the modules and then have it 
> shut down afterwards...

I'll build a kernel without USB and drive the laptop over the net and
see what happens.

> > With USB but without experimental
> >CONFIG_USB_SUSPEND?
> >  
> >
> I don't have USB_SUSPEND enabled, IIRC (don't have the PB with me, but 
> I'm pretty sure I checked this yesterday. If you don't hear back, assume 
> it wasn't enabled)

I don't have USB_SUSPEND enabled.

Stelian.
-- 
Stelian Pop <[EMAIL PROTECTED]>

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: powerbook power-off and 2.6.13-rc[3,4]

2005-08-02 Thread Johannes Berg

Pavel Machek wrote:


Can you try without USB?

Not really. The keyboard is USB, and there's no PS/2 connector. I guess 
I maybe could do it via a timer, unload the modules and then have it 
shut down afterwards...



With USB but without experimental
CONFIG_USB_SUSPEND?
 

I don't have USB_SUSPEND enabled, IIRC (don't have the PB with me, but 
I'm pretty sure I checked this yesterday. If you don't hear back, assume 
it wasn't enabled)


johannes
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: powerbook power-off and 2.6.13-rc[3,4]

2005-08-02 Thread Pavel Machek
Hi!

> > On Mon, 2005-08-01 at 15:54 +0200, Antonio-M. Corbi Bellot wrote:
> > 
> > > Has anyone observed this behaviour (O.S. halt ok but _no_ power-off at
> > > the end) with these new '-rc' kernels?
> > 
> > Yes. I haven't looked for the cause yet though.
> 
> I found that if you comment the 
>   device_suspend(PMSG_SUSPEND);
> line in kernel/sys.c, in the kernel_power_off() function, then it works
> again, but I haven't had the time to look further.
> 
> I've put LKML in CC: in case this rings someone's bell.

Can you try without USB? With USB but without experimental
CONFIG_USB_SUSPEND?

Pavel
-- 
teflon -- maybe it is a trademark, but it should not be.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: powerbook power-off and 2.6.13-rc[3,4]

2005-08-02 Thread Pavel Machek
Hi!

  On Mon, 2005-08-01 at 15:54 +0200, Antonio-M. Corbi Bellot wrote:
  
   Has anyone observed this behaviour (O.S. halt ok but _no_ power-off at
   the end) with these new '-rc' kernels?
  
  Yes. I haven't looked for the cause yet though.
 
 I found that if you comment the 
   device_suspend(PMSG_SUSPEND);
 line in kernel/sys.c, in the kernel_power_off() function, then it works
 again, but I haven't had the time to look further.
 
 I've put LKML in CC: in case this rings someone's bell.

Can you try without USB? With USB but without experimental
CONFIG_USB_SUSPEND?

Pavel
-- 
teflon -- maybe it is a trademark, but it should not be.
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: powerbook power-off and 2.6.13-rc[3,4]

2005-08-02 Thread Johannes Berg

Pavel Machek wrote:


Can you try without USB?

Not really. The keyboard is USB, and there's no PS/2 connector. I guess 
I maybe could do it via a timer, unload the modules and then have it 
shut down afterwards...



With USB but without experimental
CONFIG_USB_SUSPEND?
 

I don't have USB_SUSPEND enabled, IIRC (don't have the PB with me, but 
I'm pretty sure I checked this yesterday. If you don't hear back, assume 
it wasn't enabled)


johannes
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: powerbook power-off and 2.6.13-rc[3,4]

2005-08-02 Thread Stelian Pop
Le mardi 02 août 2005 à 13:38 +0200, Johannes Berg a écrit :
 Pavel Machek wrote:
 
 Can you try without USB?
 
 Not really. The keyboard is USB, and there's no PS/2 connector. I guess 
 I maybe could do it via a timer, unload the modules and then have it 
 shut down afterwards...

I'll build a kernel without USB and drive the laptop over the net and
see what happens.

  With USB but without experimental
 CONFIG_USB_SUSPEND?
   
 
 I don't have USB_SUSPEND enabled, IIRC (don't have the PB with me, but 
 I'm pretty sure I checked this yesterday. If you don't hear back, assume 
 it wasn't enabled)

I don't have USB_SUSPEND enabled.

Stelian.
-- 
Stelian Pop [EMAIL PROTECTED]

-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: powerbook power-off and 2.6.13-rc[3,4]

2005-08-02 Thread Stelian Pop
Le mardi 02 août 2005 à 13:43 +0200, Stelian Pop a écrit :

  Pavel Machek wrote:
  
  Can you try without USB?
  
  Not really. The keyboard is USB, and there's no PS/2 connector. I guess 
  I maybe could do it via a timer, unload the modules and then have it 
  shut down afterwards...
 
 I'll build a kernel without USB and drive the laptop over the net and
 see what happens.

Without CONFIG_USB the poweroff still hangs, and this time the panel
goes completly white with dark spots appearing all over it (kinda scary
btw). A 5 seconds press on the power button force it to power off.

This is on a 2.6.13-rc4, and I'm attaching the .config in case it
matters.

Stelian.
-- 
Stelian Pop [EMAIL PROTECTED]
CONFIG_MMU=y
CONFIG_GENERIC_HARDIRQS=y
CONFIG_RWSEM_XCHGADD_ALGORITHM=y
CONFIG_GENERIC_CALIBRATE_DELAY=y
CONFIG_HAVE_DEC_LOCK=y
CONFIG_PPC=y
CONFIG_PPC32=y
CONFIG_GENERIC_NVRAM=y
CONFIG_SCHED_NO_NO_OMIT_FRAME_POINTER=y
CONFIG_EXPERIMENTAL=y
CONFIG_CLEAN_COMPILE=y
CONFIG_BROKEN_ON_SMP=y
CONFIG_INIT_ENV_ARG_LIMIT=32
CONFIG_LOCALVERSION=
CONFIG_SWAP=y
CONFIG_SYSVIPC=y
CONFIG_SYSCTL=y
CONFIG_HOTPLUG=y
CONFIG_KOBJECT_UEVENT=y
CONFIG_KALLSYMS=y
CONFIG_PRINTK=y
CONFIG_BUG=y
CONFIG_BASE_FULL=y
CONFIG_FUTEX=y
CONFIG_EPOLL=y
CONFIG_SHMEM=y
CONFIG_CC_ALIGN_FUNCTIONS=0
CONFIG_CC_ALIGN_LABELS=0
CONFIG_CC_ALIGN_LOOPS=0
CONFIG_CC_ALIGN_JUMPS=0
CONFIG_BASE_SMALL=0
CONFIG_MODULES=y
CONFIG_MODULE_UNLOAD=y
CONFIG_OBSOLETE_MODPARM=y
CONFIG_MODVERSIONS=y
CONFIG_MODULE_SRCVERSION_ALL=y
CONFIG_KMOD=y
CONFIG_6xx=y
CONFIG_PPC_FPU=y
CONFIG_ALTIVEC=y
CONFIG_TAU=y
CONFIG_CPU_FREQ=y
CONFIG_CPU_FREQ_TABLE=y
CONFIG_CPU_FREQ_STAT=y
CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE=y
CONFIG_CPU_FREQ_GOV_PERFORMANCE=y
CONFIG_CPU_FREQ_GOV_POWERSAVE=y
CONFIG_CPU_FREQ_GOV_USERSPACE=y
CONFIG_CPU_FREQ_GOV_ONDEMAND=y
CONFIG_CPU_FREQ_GOV_CONSERVATIVE=y
CONFIG_CPU_FREQ_PMAC=y
CONFIG_PM=y
CONFIG_PPC_STD_MMU=y
CONFIG_PPC_MULTIPLATFORM=y
CONFIG_PPC_CHRP=y
CONFIG_PPC_PMAC=y
CONFIG_PPC_PREP=y
CONFIG_PPC_OF=y
CONFIG_PPCBUG_NVRAM=y
CONFIG_HIGHMEM=y
CONFIG_HZ_250=y
CONFIG_HZ=250
CONFIG_PREEMPT_NONE=y
CONFIG_SELECT_MEMORY_MODEL=y
CONFIG_FLATMEM_MANUAL=y
CONFIG_FLATMEM=y
CONFIG_FLAT_NODE_MEM_MAP=y
CONFIG_BINFMT_ELF=y
CONFIG_PROC_DEVICETREE=y
CONFIG_PREP_RESIDUAL=y
CONFIG_PROC_PREPRESIDUAL=y
CONFIG_CMDLINE_BOOL=y
CONFIG_CMDLINE=console=ttyS0,9600 console=tty0 root=/dev/sda2
CONFIG_SOFTWARE_SUSPEND=y
CONFIG_PM_STD_PARTITION=
CONFIG_SECCOMP=y
CONFIG_ISA_DMA_API=y
CONFIG_GENERIC_ISA_DMA=y
CONFIG_PCI=y
CONFIG_PCI_DOMAINS=y
CONFIG_PCI_LEGACY_PROC=y
CONFIG_PCCARD=y
CONFIG_PCMCIA=y
CONFIG_PCMCIA_LOAD_CIS=y
CONFIG_PCMCIA_IOCTL=y
CONFIG_CARDBUS=y
CONFIG_YENTA=y
CONFIG_PCCARD_NONSTATIC=y
CONFIG_HIGHMEM_START=0xfe00
CONFIG_LOWMEM_SIZE=0x3000
CONFIG_KERNEL_START=0xc000
CONFIG_TASK_SIZE=0x8000
CONFIG_BOOT_LOAD=0x0080
CONFIG_NET=y
CONFIG_PACKET=y
CONFIG_UNIX=y
CONFIG_INET=y
CONFIG_IP_MULTICAST=y
CONFIG_IP_FIB_HASH=y
CONFIG_TCP_CONG_BIC=y
CONFIG_NETFILTER=y
CONFIG_IP_NF_CONNTRACK=y
CONFIG_IP_NF_FTP=y
CONFIG_IP_NF_IRC=y
CONFIG_IP_NF_IPTABLES=y
CONFIG_IP_NF_MATCH_LIMIT=y
CONFIG_IP_NF_MATCH_IPRANGE=y
CONFIG_IP_NF_MATCH_MAC=y
CONFIG_IP_NF_MATCH_PKTTYPE=y
CONFIG_IP_NF_MATCH_MARK=y
CONFIG_IP_NF_MATCH_MULTIPORT=y
CONFIG_IP_NF_MATCH_TOS=y
CONFIG_IP_NF_MATCH_RECENT=y
CONFIG_IP_NF_MATCH_ECN=y
CONFIG_IP_NF_MATCH_DSCP=y
CONFIG_IP_NF_MATCH_AH_ESP=y
CONFIG_IP_NF_MATCH_LENGTH=y
CONFIG_IP_NF_MATCH_TTL=y
CONFIG_IP_NF_MATCH_TCPMSS=y
CONFIG_IP_NF_MATCH_HELPER=y
CONFIG_IP_NF_MATCH_STATE=y
CONFIG_IP_NF_MATCH_OWNER=y
CONFIG_IP_NF_MATCH_ADDRTYPE=y
CONFIG_IP_NF_MATCH_REALM=y
CONFIG_IP_NF_MATCH_SCTP=y
CONFIG_IP_NF_MATCH_COMMENT=y
CONFIG_IP_NF_MATCH_HASHLIMIT=y
CONFIG_IP_NF_FILTER=y
CONFIG_IP_NF_TARGET_REJECT=y
CONFIG_IP_NF_TARGET_LOG=y
CONFIG_IP_NF_NAT=y
CONFIG_IP_NF_NAT_NEEDED=y
CONFIG_IP_NF_TARGET_MASQUERADE=y
CONFIG_IP_NF_TARGET_REDIRECT=y
CONFIG_IP_NF_NAT_IRC=y
CONFIG_IP_NF_NAT_FTP=y
CONFIG_IP_NF_MANGLE=y
CONFIG_IP_NF_ARPTABLES=y
CONFIG_IP_NF_ARPFILTER=y
CONFIG_NET_CLS_ROUTE=y
CONFIG_BT=y
CONFIG_BT_L2CAP=y
CONFIG_BT_RFCOMM=y
CONFIG_BT_RFCOMM_TTY=y
CONFIG_BT_HIDP=y
CONFIG_STANDALONE=y
CONFIG_PREVENT_FIRMWARE_BUILD=y
CONFIG_FW_LOADER=y
CONFIG_BLK_DEV_LOOP=y
CONFIG_BLK_DEV_RAM=y
CONFIG_BLK_DEV_RAM_COUNT=16
CONFIG_BLK_DEV_RAM_SIZE=8192
CONFIG_BLK_DEV_INITRD=y
CONFIG_INITRAMFS_SOURCE=
CONFIG_CDROM_PKTCDVD=m
CONFIG_CDROM_PKTCDVD_BUFFERS=8
CONFIG_IOSCHED_NOOP=y
CONFIG_IOSCHED_AS=y
CONFIG_IDE=y
CONFIG_BLK_DEV_IDE=y
CONFIG_BLK_DEV_IDEDISK=y
CONFIG_BLK_DEV_IDECD=y
CONFIG_BLK_DEV_IDEPCI=y
CONFIG_IDEPCI_SHARE_IRQ=y
CONFIG_BLK_DEV_GENERIC=y
CONFIG_BLK_DEV_IDEDMA_PCI=y
CONFIG_IDEDMA_PCI_AUTO=y
CONFIG_BLK_DEV_IDE_PMAC=y
CONFIG_BLK_DEV_IDE_PMAC_ATA100FIRST=y
CONFIG_BLK_DEV_IDEDMA_PMAC=y
CONFIG_BLK_DEV_IDEDMA=y
CONFIG_IDEDMA_AUTO=y
CONFIG_SCSI=y
CONFIG_SCSI_PROC_FS=y
CONFIG_BLK_DEV_SD=y
CONFIG_CHR_DEV_SG=y
CONFIG_SCSI_MULTI_LUN=y
CONFIG_SCSI_CONSTANTS=y
CONFIG_SCSI_FC_ATTRS=y
CONFIG_SCSI_QLA2XXX=y
CONFIG_IEEE1394=y
CONFIG_IEEE1394_OUI_DB=y
CONFIG_IEEE1394_EXTRA_CONFIG_ROMS=y

Re: powerbook power-off and 2.6.13-rc[3,4]

2005-08-02 Thread Pavel Machek
Hi!

   Pavel Machek wrote:
   
   Can you try without USB?
   
   Not really. The keyboard is USB, and there's no PS/2 connector. I guess 
   I maybe could do it via a timer, unload the modules and then have it 
   shut down afterwards...
  
  I'll build a kernel without USB and drive the laptop over the net and
  see what happens.
 
 Without CONFIG_USB the poweroff still hangs, and this time the panel
 goes completly white with dark spots appearing all over it (kinda scary
 btw). A 5 seconds press on the power button force it to power off.

Yep, looks like screen burning, right? So it is different kind of hang
= USB has some problem but there's another one, too?

 This is on a 2.6.13-rc4, and I'm attaching the .config in case it
 matters.

Could you try inserting printks to see where it hangs? Aha, with
display turned off that is not going to be funny.
Pavel
-- 
Boycott Kodak -- for their patent abuse against Java.
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: powerbook power-off and 2.6.13-rc[3,4]

2005-08-02 Thread Stelian Pop
Le mardi 02 août 2005 à 14:54 +0200, Pavel Machek a écrit :
 Hi!
 
Pavel Machek wrote:

Can you try without USB?

Not really. The keyboard is USB, and there's no PS/2 connector. I guess 
I maybe could do it via a timer, unload the modules and then have it 
shut down afterwards...
   
   I'll build a kernel without USB and drive the laptop over the net and
   see what happens.
  
  Without CONFIG_USB the poweroff still hangs, and this time the panel
  goes completly white with dark spots appearing all over it (kinda scary
  btw). A 5 seconds press on the power button force it to power off.
 
 Yep, looks like screen burning, right?

Exactly.

  So it is different kind of hang
 = USB has some problem but there's another one, too?

Seems that this is the case, yes.

  This is on a 2.6.13-rc4, and I'm attaching the .config in case it
  matters.
 
 Could you try inserting printks to see where it hangs? Aha, with
 display turned off that is not going to be funny.

Unfortunately I won't have time to debug this right now (I leave on
vacation tomorrow), so somebody else will have to do it (and no, it is
not going to be funny to do this without display, serial port, buzzer
etc)

Stelian.
-- 
Stelian Pop [EMAIL PROTECTED]

-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: powerbook power-off and 2.6.13-rc[3,4]

2005-08-02 Thread Rafael J. Wysocki
On Monday, 1 of August 2005 16:38, Stelian Pop wrote:
 Le lundi 01 août 2005 à 16:07 +0200, Johannes Berg a écrit :
  On Mon, 2005-08-01 at 15:54 +0200, Antonio-M. Corbi Bellot wrote:
  
   Has anyone observed this behaviour (O.S. halt ok but _no_ power-off at
   the end) with these new '-rc' kernels?
  
  Yes. I haven't looked for the cause yet though.

I have observed this too, but only on an SMP (dual-core) machine,
using 2.6.13-rc4 or 2.6.13-rc4-mm1.

If the USB controller drivers (ohci_hcd, ehci_hcd) are not loaded, the
machine is powered off normally.  Otherwise, it is not.

Greets,
Rafael
 

-- 
- Would you tell me, please, which way I ought to go from here?
- That depends a good deal on where you want to get to.
-- Lewis Carroll Alice's Adventures in Wonderland
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: powerbook power-off and 2.6.13-rc[3,4]

2005-08-01 Thread Stelian Pop
Le lundi 01 août 2005 à 16:07 +0200, Johannes Berg a écrit :
> On Mon, 2005-08-01 at 15:54 +0200, Antonio-M. Corbi Bellot wrote:
> 
> > Has anyone observed this behaviour (O.S. halt ok but _no_ power-off at
> > the end) with these new '-rc' kernels?
> 
> Yes. I haven't looked for the cause yet though.

I found that if you comment the 
device_suspend(PMSG_SUSPEND);
line in kernel/sys.c, in the kernel_power_off() function, then it works
again, but I haven't had the time to look further.

I've put LKML in CC: in case this rings someone's bell.
 
Stelian.
-- 
Stelian Pop <[EMAIL PROTECTED]>

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: powerbook power-off and 2.6.13-rc[3,4]

2005-08-01 Thread Stelian Pop
Le lundi 01 août 2005 à 16:07 +0200, Johannes Berg a écrit :
 On Mon, 2005-08-01 at 15:54 +0200, Antonio-M. Corbi Bellot wrote:
 
  Has anyone observed this behaviour (O.S. halt ok but _no_ power-off at
  the end) with these new '-rc' kernels?
 
 Yes. I haven't looked for the cause yet though.

I found that if you comment the 
device_suspend(PMSG_SUSPEND);
line in kernel/sys.c, in the kernel_power_off() function, then it works
again, but I haven't had the time to look further.

I've put LKML in CC: in case this rings someone's bell.
 
Stelian.
-- 
Stelian Pop [EMAIL PROTECTED]

-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/