Modify

Opened 7 years ago

Closed 5 years ago

Last modified 4 years ago

#8945 closed defect (obsolete)

trunk r25747 with kernel 2.6.37.1 crashed on Atheros PB44

Reported by: yjdofc@… Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: packages Version: Trunk
Keywords: Cc:

Description

I compiled trunk r25747 with kernel 2.6.37.1, but this version can't run on Atheros PB44, PB44 onley works with kernel 2.6.32.29.

Attachments (1)

pb44_boot_lerror_log (189.1 KB) - added by anonymous 7 years ago.

Download all attachments as: .zip

Change History (6)

comment:1 Changed 7 years ago by Hero Huang <hero18688@…>

You can set compile using 2.6.32 by editing makefile.

Changed 7 years ago by anonymous

comment:2 Changed 7 years ago by anonymous

I know, it was something about sleep, in kernel 2.6.36, there is a patch:
211-gpio_wr_fix

--- a/drivers/gpio/gpiolib.c
+++ b/drivers/gpio/gpiolib.c
@@ -1564,7 +1564,7 @@ void __gpio_set_value(unsigned gpio, int
 	struct gpio_chip	*chip;
 
 	chip = gpio_to_chip(gpio);
-	WARN_ON(chip->can_sleep);
+//	WARN_ON(chip->can_sleep);
 	chip->set(chip, gpio - chip->base, value);
 }
 EXPORT_SYMBOL_GPL(__gpio_set_value);

comment:3 Changed 7 years ago by anonymous

Yes, I modifyed the 211-gpio_wr_fix.patch for kernel 2.6.37.4, and now works fine.

--- a/drivers/gpio/gpiolib.c
+++ b/drivers/gpio/gpiolib.c
@@ -1567,7 +1567,7 @@ void __gpio_set_value(unsigned gpio, int
 	struct gpio_chip	*chip;
 
 	chip = gpio_to_chip(gpio);
-	WARN_ON(chip->can_sleep);
+//	WARN_ON(chip->can_sleep);
 	chip->set(chip, gpio - chip->base, value);
 }
 EXPORT_SYMBOL_GPL(__gpio_set_value);


comment:4 Changed 5 years ago by nbd

  • Resolution set to obsolete
  • Status changed from new to closed

comment:5 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.